PageSourceSearch

https://testpilot-ai-app.vercel.app/assets/index-B40oqvDr.js

js testpilot-ai-app.vercel.app collected 2026-10-03 07:51:35 UTC 1,611,927 bytes, 565 lines download raw bytes

vendor: 4,132 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dagre-6UL2VRFP-C75UE2mL.js","assets/graph-CPWXpsOA.js","assets/_baseUniq-CZM6sX9A.js","assets/layout-CLkQIHVs.js","assets/_basePickBy-iOplrNrK.js","assets/clone-CqEI7Ruo.js","assets/cose-bilkent-S5V4N54A-BKrKdSXs.js","assets/cytoscape.esm-5J0xJHOV.js","assets/c4Diagram-YG6GDRKO-B4vqVUo0.js","assets/chunk-TZMSLE5B-Dz2c3nyq.js","assets/flowDiagram-NV44I4VS-5mZTTusJ.js","assets/chunk-FMBD7UC4-D83PC44H.js","assets/chunk-55IACEB6-Wj6QJRV0.js","assets/chunk-QN33PNHL-Ippsxwn2.js","assets/channel-NR6Lxvy9.js","assets/erDiagram-Q2GNP2WA-bGeS1xV0.js","assets/gitGraphDiagram-V2S2FVAM-CQdLTUIV.js","assets/chunk-4BX2VUAB-oTY_Hpn_.js","assets/chunk-QZHKN3VN-5VlIn4uv.js","assets/treemap-GDKQZRPO-Cy6B6nhc.js","assets/ganttDiagram-JELNMOA3-DKfPCdj4.js","assets/linear-CF49QCCk.js","assets/init-Gi6I4Gst.js","assets/defaultLocale-DX6XiGOO.js","assets/infoDiagram-HS3SLOUP-CqmRIGEu.js","assets/pieDiagram-ADFJNKIX-BN1-tL39.js","assets/arc-DVFY3Ptw.js","assets/ordinal-Cboi1Yqb.js","assets/quadrantDiagram-AYHSOK5B-B4LSB4ug.js","assets/xychartDiagram-PRI3JC2R-DK0ylZ9r.js","assets/requirementDiagram-UZGBJVZJ-Cm0nvS7e.js","assets/sequenceDiagram-WL72ISMW-DEc1GucF.js","assets/classDiagram-2ON5EDUG-DxZj4bvn.js","assets/chunk-B4BG7PRW-DqlT1eFQ.js","assets/classDiagram-v2-WZHVMYZB-DxZj4bvn.js","assets/stateDiagram-FKZM4ZOC-BXzK-tX1.js","assets/chunk-DI55MBZ5-B47RUUm7.js","assets/stateDiagram-v2-4FDKWEC3-CbiF0r9B.js","assets/journeyDiagram-XKPGCS4Q-HjVtkKDS.js","assets/timeline-definition-IT6M3QCI-CjOTPOGo.js","assets/mindmap-definition-VGOIOE7T-mOFER-dH.js","assets/kanban-definition-3W4ZIXB7-DemdGQJW.js","assets/sankeyDiagram-TZEHDZUN-Chk1CnBw.js","assets/diagram-S2PKOQOG-DHHJb78l.js","assets/diagram-QEK2KX5R-C0oeDYIr.js","assets/blockDiagram-VD42YOAC-CmcqS5gp.js","assets/architectureDiagram-VXUJARFQ-Bd78sqre.js","assets/diagram-PSM6KHXK-CkKS6ARe.js"])))=>i.map(i=>d[i]);
2function l9(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in t)){const a=Object.getOwnPropertyDescriptor(n,i);a&&Object.defineProperty(t,i,a.get?a:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();var Tft=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function VS(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Lft(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var r=function n(){var i=!1;try{i=this instanceof n}catch{}return i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var jv={exports:{}},Eg={};var Z4;function c9(){if(Z4)return Eg;Z4=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function r(n,i,a){var s=null;if(a!==void 0&&(s=""+a),i.key!==void 0&&(s=""+i.key),"key"in i){a={};for(var l in i)l!=="key"&&(a[l]=i[l])}else a=i;return i=a.ref,{$$typeof:t,type:n,key:s,ref:i!==void 0?i:null,props:a}}return Eg.Fragment=e,Eg.jsx=r,Eg.jsxs=r,Eg}var Q4;
vendor: 4,332 bytes, line 2
2function u9(){return Q4||(Q4=1,jv.exports=c9()),jv.exports}var w=u9(),Dv={exports:{}},Yr={};var J4;function h9(){if(J4)return Yr;J4=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),y=Symbol.iterator;function g(K){return K===null||typeof K!="object"?null:(K=y&&K[y]||K["@@iterator"],typeof K=="function"?K:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,C={};function k(K,P,X){this.props=K,this.context=P,this.refs=C,this.updater=X||b}k.prototype.isReactComponent={},k.prototype.setState=function(K,P){if(typeof K!="object"&&typeof K!="function"&&K!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,K,P,"setState")},k.prototype.forceUpdate=function(K){this.updater.enqueueForceUpdate(this,K,"forceUpdate")};function T(){}T.prototype=k.prototype;function E(K,P,X){this.props=K,this.context=P,this.refs=C,this.updater=X||b}var L=E.prototype=new T;L.constructor=E,v(L,k.prototype),L.isPureReactComponent=!0;var O=Array.isArray;function W(){}var q={H:null,A:null,T:null,S:null},U=Object.prototype.hasOwnProperty;function j(K,P,X){var et=X.ref;return{$$typeof:t,type:K,key:P,ref:et!==void 0?et:null,props:X}}function M(K,P){return j(K.type,P,K.props)}function N(K){return typeof K=="object"&&K!==null&&K.$$typeof===t}function I(K){var P={"=":"=0",":":"=2"};return"$"+K.replace(/[=:]/g,function(X){return P[X]})}var V=/\/+/g;function z(K,P){return typeof K=="object"&&K!==null&&K.key!=null?I(""+K.key):P.toString(36)}function Y(K){switch(K.status){case"fulfilled":return K.value;case"rejected":throw K.reason;default:switch(typeof K.status=="string"?K.then(W,W):(K.status="pending",K.then(function(P){K.status==="pending"&&(K.status="fulfilled",K.value=P)},function(P){K.status==="pending"&&(K.status="rejected",K.reason=P)})),K.status){case"fulfilled":return K.value;case"rejected":throw K.reason}}throw K}function D(K,P,X,et,rt){var lt=typeof K;(lt==="undefined"||lt==="boolean")&&(K=null);var ht=!1;if(K===null)ht=!0;else switch(lt){case"bigint":case"string":case"number":ht=!0;break;case"object":switch(K.$$typeof){case t:case e:ht=!0;break;case f:return ht=K._init,D(ht(K._payload),P,X,et,rt)}}if(ht)return rt=rt(K),ht=et===""?"."+z(K,0):et,O(rt)?(X="",ht!=null&&(X=ht.replace(V,"$&/")+"/"),D(rt,P,X,"",function(kt){return kt})):rt!=null&&(N(rt)&&(rt=M(rt,X+(rt.key==null||K&&K.key===rt.key?"":(""+rt.key).replace(V,"$&/")+"/")+ht)),P.push(rt)),1;ht=0;var bt=et===""?".":et+":";if(O(K))for(var yt=0;yt<K.length;yt++)et=K[yt],lt=bt+z(et,yt),ht+=D(et,P,X,lt,rt);else if(yt=g(K),typeof yt=="function")for(K=yt.call(K),yt=0;!(et=K.next()).done;)et=et.value,lt=bt+z(et,yt++),ht+=D(et,P,X,lt,rt);else if(lt==="object"){if(typeof K.then=="function")return D(Y(K),P,X,et,rt);throw P=String(K),Error("Objects are not valid as a React child (found: "+(P==="[object Object]"?"object with keys {"+Object.keys(K).join(", ")+"}":P)+"). If you meant to render a collection of children, use an array instead.")}return ht}function Z(K,P,X){if(K==null)return K;var et=[],rt=0;return D(K,et,"","",function(lt){return P.call(X,lt,rt++)}),et}function Q(K){if(K._status===-1){var P=K._result;P=P(),P.then(function(X){(K._status===0||K._status===-1)&&(K._status=1,K._result=X)},function(X){(K._status===0||K._status===-1)&&(K._status=2,K._result=X)}),K._status===-1&&(K._status=0,K._result=P)}if(K._status===1)return K._result.default;throw K._result}var it=typeof reportError=="function"?reportError:function(K){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var P=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof K=="object"&&K!==null&&typeof K.message=="string"?String(K.message):String(K),error:K});if(!window.dispatchEvent(P))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",K);return}console.error(K)}
vendor: 3,933 bytes, line 2
2,mt={map:Z,forEach:function(K,P,X){Z(K,function(){P.apply(this,arguments)},X)},count:function(K){var P=0;return Z(K,function(){P++}),P},toArray:function(K){return Z(K,function(P){return P})||[]},only:function(K){if(!N(K))throw Error("React.Children.only expected to receive a single React element child.");return K}};return Yr.Activity=p,Yr.Children=mt,Yr.Component=k,Yr.Fragment=r,Yr.Profiler=i,Yr.PureComponent=E,Yr.StrictMode=n,Yr.Suspense=u,Yr.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=q,Yr.__COMPILER_RUNTIME={__proto__:null,c:function(K){return q.H.useMemoCache(K)}},Yr.cache=function(K){return function(){return K.apply(null,arguments)}},Yr.cacheSignal=function(){return null},Yr.cloneElement=function(K,P,X){if(K==null)throw Error("The argument must be a React element, but you passed "+K+".");var et=v({},K.props),rt=K.key;if(P!=null)for(lt in P.key!==void 0&&(rt=""+P.key),P)!U.call(P,lt)||lt==="key"||lt==="__self"||lt==="__source"||lt==="ref"&&P.ref===void 0||(et[lt]=P[lt]);var lt=arguments.length-2;if(lt===1)et.children=X;else if(1<lt){for(var ht=Array(lt),bt=0;bt<lt;bt++)ht[bt]=arguments[bt+2];et.children=ht}return j(K.type,rt,et)},Yr.createContext=function(K){return K={$$typeof:s,_currentValue:K,_currentValue2:K,_threadCount:0,Provider:null,Consumer:null},K.Provider=K,K.Consumer={$$typeof:a,_context:K},K},Yr.createElement=function(K,P,X){var et,rt={},lt=null;if(P!=null)for(et in P.key!==void 0&&(lt=""+P.key),P)U.call(P,et)&&et!=="key"&&et!=="__self"&&et!=="__source"&&(rt[et]=P[et]);var ht=arguments.length-2;if(ht===1)rt.children=X;else if(1<ht){for(var bt=Array(ht),yt=0;yt<ht;yt++)bt[yt]=arguments[yt+2];rt.children=bt}if(K&&K.defaultProps)for(et in ht=K.defaultProps,ht)rt[et]===void 0&&(rt[et]=ht[et]);return j(K,lt,rt)},Yr.createRef=function(){return{current:null}},Yr.forwardRef=function(K){return{$$typeof:l,render:K}},Yr.isValidElement=N,Yr.lazy=function(K){return{$$typeof:f,_payload:{_status:-1,_result:K},_init:Q}},Yr.memo=function(K,P){return{$$typeof:h,type:K,compare:P===void 0?null:P}},Yr.startTransition=function(K){var P=q.T,X={};q.T=X;try{var et=K(),rt=q.S;rt!==null&&rt(X,et),typeof et=="object"&&et!==null&&typeof et.then=="function"&&et.then(W,it)}catch(lt){it(lt)}finally{P!==null&&X.types!==null&&(P.types=X.types),q.T=P}},Yr.unstable_useCacheRefresh=function(){return q.H.useCacheRefresh()},Yr.use=function(K){return q.H.use(K)},Yr.useActionState=function(K,P,X){return q.H.useActionState(K,P,X)},Yr.useCallback=function(K,P){return q.H.useCallback(K,P)},Yr.useContext=function(K){return q.H.useContext(K)},Yr.useDebugValue=function(){},Yr.useDeferredValue=function(K,P){return q.H.useDeferredValue(K,P)},Yr.useEffect=function(K,P){return q.H.useEffect(K,P)},Yr.useEffectEvent=function(K){return q.H.useEffectEvent(K)},Yr.useId=function(){return q.H.useId()},Yr.useImperativeHandle=function(K,P,X){return q.H.useImperativeHandle(K,P,X)},Yr.useInsertionEffect=function(K,P){return q.H.useInsertionEffect(K,P)},Yr.useLayoutEffect=function(K,P){return q.H.useLayoutEffect(K,P)},Yr.useMemo=function(K,P){return q.H.useMemo(K,P)},Yr.useOptimistic=function(K,P){return q.H.useOptimistic(K,P)},Yr.useReducer=function(K,P,X){return q.H.useReducer(K,P,X)},Yr.useRef=function(K){return q.H.useRef(K)},Yr.useState=function(K){return q.H.useState(K)},Yr.useSyncExternalStore=function(K,P,X){return q.H.useSyncExternalStore(K,P,X)},Yr.useTransition=function(){return q.H.useTransition()},Yr.version="19.2.4",Yr}var tk;function YS(){return tk||(tk=1,Dv.exports=h9()),Dv.exports}var H=YS();const Ec=VS(H),k2=l9({__proto__:null,default:Ec},[H]);var Iv={exports:{}},Mg={},zv={exports:{}},Fv={};var ek;function f9(){return ek||(ek=1,(function(t){function e(D,Z){var Q=D.length;D.push(Z);t:for(;0<Q;){var it=Q-1>>>1,mt=D[it];if(0<i(mt,Z))D[it]=Z,D[Q]=mt,Q=it;else break t}}function r(D){return D.length===0?null:D[0]}function n(D){if(D.length===0)return null;var Z=D[0],Q=D.pop();
vendor: 9,652 bytes, line 2
2if(Q!==Z){D[0]=Q;t:for(var it=0,mt=D.length,K=mt>>>1;it<K;){var P=2*(it+1)-1,X=D[P],et=P+1,rt=D[et];if(0>i(X,Q))et<mt&&0>i(rt,X)?(D[it]=rt,D[et]=Q,it=et):(D[it]=X,D[P]=Q,it=P);else if(et<mt&&0>i(rt,Q))D[it]=rt,D[et]=Q,it=et;else break t}}return Z}function i(D,Z){var Q=D.sortIndex-Z.sortIndex;return Q!==0?Q:D.id-Z.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],h=[],f=1,p=null,y=3,g=!1,b=!1,v=!1,C=!1,k=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,E=typeof setImmediate<"u"?setImmediate:null;function L(D){for(var Z=r(h);Z!==null;){if(Z.callback===null)n(h);else if(Z.startTime<=D)n(h),Z.sortIndex=Z.expirationTime,e(u,Z);else break;Z=r(h)}}function O(D){if(v=!1,L(D),!b)if(r(u)!==null)b=!0,W||(W=!0,I());else{var Z=r(h);Z!==null&&Y(O,Z.startTime-D)}}var W=!1,q=-1,U=5,j=-1;function M(){return C?!0:!(t.unstable_now()-j<U)}function N(){if(C=!1,W){var D=t.unstable_now();j=D;var Z=!0;try{t:{b=!1,v&&(v=!1,T(q),q=-1),g=!0;var Q=y;try{e:{for(L(D),p=r(u);p!==null&&!(p.expirationTime>D&&M());){var it=p.callback;if(typeof it=="function"){p.callback=null,y=p.priorityLevel;var mt=it(p.expirationTime<=D);if(D=t.unstable_now(),typeof mt=="function"){p.callback=mt,L(D),Z=!0;break e}p===r(u)&&n(u),L(D)}else n(u);p=r(u)}if(p!==null)Z=!0;else{var K=r(h);K!==null&&Y(O,K.startTime-D),Z=!1}}break t}finally{p=null,y=Q,g=!1}Z=void 0}}finally{Z?I():W=!1}}}var I;if(typeof E=="function")I=function(){E(N)};else if(typeof MessageChannel<"u"){var V=new MessageChannel,z=V.port2;V.port1.onmessage=N,I=function(){z.postMessage(null)}}else I=function(){k(N,0)};function Y(D,Z){q=k(function(){D(t.unstable_now())},Z)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(D){D.callback=null},t.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<D?Math.floor(1e3/D):5},t.unstable_getCurrentPriorityLevel=function(){return y},t.unstable_next=function(D){switch(y){case 1:case 2:case 3:var Z=3;break;default:Z=y}var Q=y;y=Z;try{return D()}finally{y=Q}},t.unstable_requestPaint=function(){C=!0},t.unstable_runWithPriority=function(D,Z){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var Q=y;y=D;try{return Z()}finally{y=Q}},t.unstable_scheduleCallback=function(D,Z,Q){var it=t.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?it+Q:it):Q=it,D){case 1:var mt=-1;break;case 2:mt=250;break;case 5:mt=1073741823;break;case 4:mt=1e4;break;default:mt=5e3}return mt=Q+mt,D={id:f++,callback:Z,priorityLevel:D,startTime:Q,expirationTime:mt,sortIndex:-1},Q>it?(D.sortIndex=Q,e(h,D),r(u)===null&&D===r(h)&&(v?(T(q),q=-1):v=!0,Y(O,Q-it))):(D.sortIndex=mt,e(u,D),b||g||(b=!0,W||(W=!0,I()))),D},t.unstable_shouldYield=M,t.unstable_wrapCallback=function(D){var Z=y;return function(){var Q=y;y=Z;try{return D.apply(this,arguments)}finally{y=Q}}}})(Fv)),Fv}var rk;function d9(){return rk||(rk=1,zv.exports=f9()),zv.exports}var qv={exports:{}},Ja={};var nk;function p9(){if(nk)return Ja;nk=1;var t=YS();function e(u){var h="https://react.dev/errors/"+u;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var f=2;f<arguments.length;f++)h+="&args[]="+encodeURIComponent(arguments[f])}return"Minified React error #"+u+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var n={d:{f:r,r:function(){throw Error(e(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},i=Symbol.for("react.portal");function a(u,h,f){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i,key:p==null?null:""+p,children:u,containerInfo:h,implementation:f}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(u,h){if(u==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return Ja.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,Ja.createPortal=function(u,h){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(e(299));return a(u,h,null,f)},Ja.flushSync=function(u){var h=s.T,f=n.p;try{if(s.T=null,n.p=2,u)return u()}finally{s.T=h,n.p=f,n.d.f()}},Ja.preconnect=function(u,h){typeof u=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,n.d.C(u,h))},Ja.prefetchDNS=function(u){typeof u=="string"&&n.d.D(u)},Ja.preinit=function(u,h){if(typeof u=="string"&&h&&typeof h.as=="string"){var f=h.as,p=l(f,h.crossOrigin),y=typeof h.integrity=="string"?h.integrity:void 0,g=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;f==="style"?n.d.S(u,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:p,integrity:y,fetchPriority:g}):f==="script"&&n.d.X(u,{crossOrigin:p,integrity:y,fetchPriority:g,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Ja.preinitModule=function(u,h){if(typeof u=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var f=l(h.as,h.crossOrigin);n.d.M(u,{crossOrigin:f,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&n.d.M(u)},Ja.preload=function(u,h){if(typeof u=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var f=h.as,p=l(f,h.crossOrigin);n.d.L(u,f,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Ja.preloadModule=function(u,h){if(typeof u=="string")if(h){var f=l(h.as,h.crossOrigin);n.d.m(u,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:f,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else n.d.m(u)},Ja.requestFormReset=function(u){n.d.r(u)},Ja.unstable_batchedUpdates=function(u,h){return u(h)},Ja.useFormState=function(u,h,f){return s.H.useFormState(u,h,f)},Ja.useFormStatus=function(){return s.H.useHostTransitionStatus()},Ja.version="19.2.4",Ja}var ik;function t8(){if(ik)return qv.exports;ik=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),qv.exports=p9(),qv.exports}var ak;function g9(){if(ak)return Mg;ak=1;var t=d9(),e=YS(),r=t8();function n(o){var c="https://react.dev/errors/"+o;if(1<arguments.length){c+="?args[]="+encodeURIComponent(arguments[1]);for(var d=2;d<arguments.length;d++)c+="&args[]="+encodeURIComponent(arguments[d])}return"Minified React error #"+o+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)}function a(o){var c=o,d=o;if(o.alternate)for(;c.return;)c=c.return;else{o=c;do c=o,(c.flags&4098)!==0&&(d=c.return),o=c.return;while(o)}return c.tag===3?d:null}function s(o){if(o.tag===13){var c=o.memoizedState;if(c===null&&(o=o.alternate,o!==null&&(c=o.memoizedState)),c!==null)return c.dehydrated}return null}function l(o){if(o.tag===31){var c=o.memoizedState;if(c===null&&(o=o.alternate,o!==null&&(c=o.memoizedState)),c!==null)return c.dehydrated}return null}function u(o){if(a(o)!==o)throw Error(n(188))}function h(o){var c=o.alternate;if(!c){if(c=a(o),c===null)throw Error(n(188));return c!==o?null:o}for(var d=o,m=c;;){var S=d.return;if(S===null)break;var A=S.alternate;if(A===null){if(m=S.return,m!==null){d=m;continue}break}if(S.child===A.child){for(A=S.child;A;){if(A===d)return u(S),o;if(A===m)return u(S),c;A=A.sibling}throw Error(n(188))}if(d.return!==m.return)d=S,m=A;else{for(var G=!1,st=S.child;st;){if(st===d){G=!0,d=S,m=A;break}if(st===m){G=!0,m=S,d=A;break}st=st.sibling}if(!G){for(st=A.child;st;){if(st===d){G=!0,d=A,m=S;break}if(st===m){G=!0,m=A,d=S;break}st=st.sibling}if(!G)throw Error(n(189))}}if(d.alternate!==m)throw Error(n(190))}if(d.tag!==3)throw Error(n(188));return d.stateNode.current===d?o:c}function f(o){var c=o.tag;if(c===5||c===26||c===27||c===6)return o;for(o=o.child;o!==null;){if(c=f(o),c!==null)return c;o=o.sibling}return null}var p=Object.assign,y=Symbol.for("react.element"),g=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),T=Symbol.for("react.consumer"),E=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),W=Symbol.for("react.suspense_list"),q=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),j=Symbol.for("react.activity"),M=Symbol.for("react.memo_cache_sentinel"),N=Symbol.iterator;function I(o){return o===null||typeof o!="object"?null:(o=N&&o[N]||o["@@iterator"],typeof o=="function"?o:null)}var V=Symbol.for("react.client.reference");function z(o){if(o==null)return null;if(typeof o=="function")return o.$$typeof===V?null:o.displayName||o.name||null;
vendor: 10,746 bytes, lines 2-9
2if(typeof o=="string")return o;switch(o){case v:return"Fragment";case k:return"Profiler";case C:return"StrictMode";case O:return"Suspense";case W:return"SuspenseList";case j:return"Activity"}if(typeof o=="object")switch(o.$$typeof){case b:return"Portal";case E:return o.displayName||"Context";case T:return(o._context.displayName||"Context")+".Consumer";case L:var c=o.render;return o=o.displayName,o||(o=c.displayName||c.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case q:return c=o.displayName||null,c!==null?c:z(o.type)||"Memo";case U:c=o._payload,o=o._init;try{return z(o(c))}catch{}}return null}var Y=Array.isArray,D=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q={pending:!1,data:null,method:null,action:null},it=[],mt=-1;function K(o){return{current:o}}function P(o){0>mt||(o.current=it[mt],it[mt]=null,mt--)}function X(o,c){mt++,it[mt]=o.current,o.current=c}var et=K(null),rt=K(null),lt=K(null),ht=K(null);function bt(o,c){switch(X(lt,c),X(rt,o),X(et,null),c.nodeType){case 9:case 11:o=(o=c.documentElement)&&(o=o.namespaceURI)?x4(o):0;break;default:if(o=c.tagName,c=c.namespaceURI)c=x4(c),o=S4(c,o);else switch(o){case"svg":o=1;break;case"math":o=2;break;default:o=0}}P(et),X(et,o)}function yt(){P(et),P(rt),P(lt)}function kt(o){o.memoizedState!==null&&X(ht,o);var c=et.current,d=S4(c,o.type);c!==d&&(X(rt,o),X(et,d))}function Rt(o){rt.current===o&&(P(et),P(rt)),ht.current===o&&(P(ht),_g._currentValue=Q)}var wt,qt;function Ht(o){if(wt===void 0)try{throw Error()}catch(d){var c=d.stack.trim().match(/\n( *(at )?)/);wt=c&&c[1]||"",qt=-1<d.stack.indexOf(`
3    at`)?" (<anonymous>)":-1<d.stack.indexOf("@")?"@unknown:0:0":""}return`
4`+wt+o+qt}var at=!1;function ae(o,c){if(!o||at)return"";at=!0;var d=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var m={DetermineComponentFrameRoot:function(){try{if(c){var ye=function(){throw Error()};if(Object.defineProperty(ye.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ye,[])}catch(Yt){var Ut=Yt}Reflect.construct(o,[],ye)}else{try{ye.call()}catch(Yt){Ut=Yt}o.call(ye.prototype)}}else{try{throw Error()}catch(Yt){Ut=Yt}(ye=o())&&typeof ye.catch=="function"&&ye.catch(function(){})}}catch(Yt){if(Yt&&Ut&&typeof Yt.stack=="string")return[Yt.stack,Ut.stack]}return[null,null]}};m.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var S=Object.getOwnPropertyDescriptor(m.DetermineComponentFrameRoot,"name");S&&S.configurable&&Object.defineProperty(m.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var A=m.DetermineComponentFrameRoot(),G=A[0],st=A[1];if(G&&st){var Ct=G.split(`
5`),Ft=st.split(`
6`);for(S=m=0;m<Ct.length&&!Ct[m].includes("DetermineComponentFrameRoot");)m++;for(;S<Ft.length&&!Ft[S].includes("DetermineComponentFrameRoot");)S++;if(m===Ct.length||S===Ft.length)for(m=Ct.length-1,S=Ft.length-1;1<=m&&0<=S&&Ct[m]!==Ft[S];)S--;for(;1<=m&&0<=S;m--,S--)if(Ct[m]!==Ft[S]){if(m!==1||S!==1)do if(m--,S--,0>S||Ct[m]!==Ft[S]){var oe=`
7`+Ct[m].replace(" at new "," at ");return o.displayName&&oe.includes("<anonymous>")&&(oe=oe.replace("<anonymous>",o.displayName)),oe}while(1<=m&&0<=S);break}}}finally{at=!1,Error.prepareStackTrace=d}return(d=o?o.displayName||o.name:"")?Ht(d):""}function Kt(o,c){switch(o.tag){case 26:case 27:case 5:return Ht(o.type);case 16:return Ht("Lazy");case 13:return o.child!==c&&c!==null?Ht("Suspense Fallback"):Ht("Suspense");case 19:return Ht("SuspenseList");case 0:case 15:return ae(o.type,!1);case 11:return ae(o.type.render,!1);case 1:return ae(o.type,!0);case 31:return Ht("Activity");default:return""}}function le(o){try{var c="",d=null;do c+=Kt(o,d),d=o,o=o.return;while(o);return c}catch(m){return`
8Error generating stack: `+m.message+`
9`+m.stack}}var Ot=Object.prototype.hasOwnProperty,be=t.unstable_scheduleCallback,Nt=t.unstable_cancelCallback,Dt=t.unstable_shouldYield,Vt=t.unstable_requestPaint,de=t.unstable_now,Be=t.unstable_getCurrentPriorityLevel,_e=t.unstable_ImmediatePriority,Ne=t.unstable_UserBlockingPriority,Oe=t.unstable_NormalPriority,we=t.unstable_LowPriority,Ae=t.unstable_IdlePriority,ce=t.log,Er=t.unstable_setDisableYieldValue,He=null,Jt=null;function Se(o){if(typeof ce=="function"&&Er(o),Jt&&typeof Jt.setStrictMode=="function")try{Jt.setStrictMode(He,o)}catch{}}var Pe=Math.clz32?Math.clz32:fe,je=Math.log,Et=Math.LN2;function fe(o){return o>>>=0,o===0?32:31-(je(o)/Et|0)|0}var te=256,Ze=262144,Ge=4194304;function Me(o){var c=o&42;if(c!==0)return c;switch(o&-o){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return o&261888;case 262144:case 524288:case 1048576:case 2097152:return o&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return o&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return o}}function lr(o,c,d){var m=o.pendingLanes;if(m===0)return 0;var S=0,A=o.suspendedLanes,G=o.pingedLanes;o=o.warmLanes;var st=m&134217727;return st!==0?(m=st&~A,m!==0?S=Me(m):(G&=st,G!==0?S=Me(G):d||(d=st&~o,d!==0&&(S=Me(d))))):(st=m&~A,st!==0?S=Me(st):G!==0?S=Me(G):d||(d=m&~o,d!==0&&(S=Me(d)))),S===0?0:c!==0&&c!==S&&(c&A)===0&&(A=S&-S,d=c&-c,A>=d||A===32&&(d&4194048)!==0)?c:S}function Sn(o,c){return(o.pendingLanes&~(o.suspendedLanes&~o.pingedLanes)&c)===0}function Xt(o,c){switch(o){case 1:case 2:case 4:case 8:case 64:return c+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return c+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function me(){var o=Ge;return Ge<<=1,(Ge&62914560)===0&&(Ge=4194304),o}function Br(o){for(var c=[],d=0;31>d;d++)c.push(o);return c}function ee(o,c){o.pendingLanes|=c,c!==268435456&&(o.suspendedLanes=0,o.pingedLanes=0,o.warmLanes=0)}function ze(o,c,d,m,S,A){var G=o.pendingLanes;o.pendingLanes=d,o.suspendedLanes=0,o.pingedLanes=0,o.warmLanes=0,o.expiredLanes&=d,o.entangledLanes&=d,o.errorRecoveryDisabledLanes&=d,o.shellSuspendCounter=0;var st=o.entanglements,Ct=o.expirationTimes,Ft=o.hiddenUpdates;for(d=G&~d;0<d;){var oe=31-Pe(d),ye=1<<oe;st[oe]=0,Ct[oe]=-1;var Ut=Ft[oe];if(Ut!==null)for(Ft[oe]=null,oe=0;oe<Ut.length;oe++){var Yt=Ut[oe];Yt!==null&&(Yt.lane&=-536870913)}d&=~ye}m!==0&&br(o,m,0),A!==0&&S===0&&o.tag!==0&&(o.suspendedLanes|=A&~(G&~c))}function br(o,c,d){o.pendingLanes|=c,o.suspendedLanes&=~c;var m=31-Pe(c);o.entangledLanes|=c,o.entanglements[m]=o.entanglements[m]|1073741824|d&261930}function rr(o,c){var d=o.entangledLanes|=c;for(o=o.entanglements;d;){var m=31-Pe(d),S=1<<m;S&c|o[m]&c&&(o[m]|=c),d&=~S}}function jr(o,c){var d=c&-c;return d=(d&42)!==0?1:vr(d),(d&(o.suspendedLanes|c))!==0?0:d}function vr(o){switch(o){case 2:o=1;break;case 8:o=4;break;case 32:o=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:o=128;break;case 268435456:o=134217728;break;default:o=0}return o}function Fr(o){return o&=-o,2<o?8<o?(o&134217727)!==0?32:268435456:8:2}function Or(){var o=Z.p;return o!==0?o:(o=window.event,o===void 0?32:U4(o.type))}function dn(o,c){var d=Z.p;try{return Z.p=o,c()}finally{Z.p=d}}var Dr=Math.random().toString(36).slice(2),mr="__reactFiber$"+Dr,Cr="__reactProps$"+Dr,Rr="__reactContainer$"+Dr,Wt="__reactEvents$"+Dr,Gt="__reactListeners$"+Dr,Re="__reactHandles$"+Dr,Ke="__reactResources$"+Dr,ge="__reactMarker$"+Dr;function vt(o){delete o[mr],delete o[Cr],delete o[Wt],delete o[Gt],delete o[Re]}function Zt(o){var c=o[mr];if(c)return c;for(var d=o.parentNode;d;){if(c=d[Rr]||d[mr]){if(d=c.alternate,c.child!==null||d!==null&&d.child!==null)for(o=L4(o);o!==null;){if(d=o[mr])return d;o=L4(o)}return c}o=d,d=o.parentNode}return null}function St(o){if(o=o[mr]||o[Rr]){var c=o.tag;if(c===5||c===6||c===13||c===31||c===26||c===27||c===3)return o}return null}function ke(o){var c=o.tag;if(c===5||c===26||c===27||c===6)return o.stateNode;throw Error(n(33))}function zr(o){var c=o[Ke];return c||(c=o[Ke]={hoistableStyles:new Map,hoistableScripts:new Map}),c}function Je(o){o[ge]=!0}var an=new Set,Wr={};function tr(o,c){wn(o,c),wn(o+"Capture",c)}function wn(o,c){for(Wr[o]=c,o=0;o<c.length;o++)an.add(c[o])}var pn=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Li={},Lo={};function Ns(o){return Ot.call(Lo,o)?!0:Ot.call(Li,o)?!1:pn.test(o)?Lo[o]=!0:(Li[o]=!0,!1)}function Ba(o,c,d){if(Ns(c))if(d===null)o.removeAttribute(c);else{switch(typeof d){case"undefined":case"function":case"symbol":o.removeAttribute(c);return;case"boolean":var m=c.toLowerCase().slice(0,5);if(m!=="data-"&&m!=="aria-"){o.removeAttribute(c);return}}o.setAttribute(c,""+d)}}function Eo(o,c,d){if(d===null)o.removeAttribute(c);else{switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":o.removeAttribute(c);return}o.setAttribute(c,""+d)}}function fo(o,c,d,m){if(m===null)o.removeAttribute(d);else{switch(typeof m){case"undefined":case"function":case"symbol":case"boolean":o.removeAttribute(d);return}o.setAttributeNS(c,d,""+m)}}function gn(o){switch(typeof o){case"bigint":case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function Bs(o){var c=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function Wa(o,c,d){var m=Object.getOwnPropertyDescriptor(o.constructor.prototype,c);if(!o.hasOwnProperty(c)&&typeof m<"u"&&typeof m.get=="function"&&typeof m.set=="function"){var S=m.get,A=m.set;return Object.defineProperty(o,c,{configurable:!0,get:function(){return S.call(this)},set:function(G){d=""+G,A.call(this,G)}}),Object.defineProperty(o,c,{enumerable:m.enumerable}),{getValue:function(){return d},setValue:function(G){d=""+G},stopTracking:function(){o._valueTracker=null,delete o[c]}}}}function Ga(o){if(!o._valueTracker){var c=Bs(o)?"checked":"value";
vendor: 4,861 bytes, line 9
9o._valueTracker=Wa(o,c,""+o[c])}}function hl(o){if(!o)return!1;var c=o._valueTracker;if(!c)return!0;var d=c.getValue(),m="";return o&&(m=Bs(o)?o.checked?"true":"false":o.value),o=m,o!==d?(c.setValue(o),!0):!1}function Ei(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}var fi=/[\n"\\]/g;function Xn(o){return o.replace(fi,function(c){return"\\"+c.charCodeAt(0).toString(16)+" "})}function Wl(o,c,d,m,S,A,G,st){o.name="",G!=null&&typeof G!="function"&&typeof G!="symbol"&&typeof G!="boolean"?o.type=G:o.removeAttribute("type"),c!=null?G==="number"?(c===0&&o.value===""||o.value!=c)&&(o.value=""+gn(c)):o.value!==""+gn(c)&&(o.value=""+gn(c)):G!=="submit"&&G!=="reset"||o.removeAttribute("value"),c!=null?Vl(o,G,gn(c)):d!=null?Vl(o,G,gn(d)):m!=null&&o.removeAttribute("value"),S==null&&A!=null&&(o.defaultChecked=!!A),S!=null&&(o.checked=S&&typeof S!="function"&&typeof S!="symbol"),st!=null&&typeof st!="function"&&typeof st!="symbol"&&typeof st!="boolean"?o.name=""+gn(st):o.removeAttribute("name")}function Gl(o,c,d,m,S,A,G,st){if(A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"&&(o.type=A),c!=null||d!=null){if(!(A!=="submit"&&A!=="reset"||c!=null)){Ga(o);return}d=d!=null?""+gn(d):"",c=c!=null?""+gn(c):d,st||c===o.value||(o.value=c),o.defaultValue=c}m=m??S,m=typeof m!="function"&&typeof m!="symbol"&&!!m,o.checked=st?o.checked:!!m,o.defaultChecked=!!m,G!=null&&typeof G!="function"&&typeof G!="symbol"&&typeof G!="boolean"&&(o.name=G),Ga(o)}function Vl(o,c,d){c==="number"&&Ei(o.ownerDocument)===o||o.defaultValue===""+d||(o.defaultValue=""+d)}function la(o,c,d,m){if(o=o.options,c){c={};for(var S=0;S<d.length;S++)c["$"+d[S]]=!0;for(d=0;d<o.length;d++)S=c.hasOwnProperty("$"+o[d].value),o[d].selected!==S&&(o[d].selected=S),S&&m&&(o[d].defaultSelected=!0)}else{for(d=""+gn(d),c=null,S=0;S<o.length;S++){if(o[S].value===d){o[S].selected=!0,m&&(o[S].defaultSelected=!0);return}c!==null||o[S].disabled||(c=o[S])}c!==null&&(c.selected=!0)}}function Yl(o,c,d){if(c!=null&&(c=""+gn(c),c!==o.value&&(o.value=c),d==null)){o.defaultValue!==c&&(o.defaultValue=c);return}o.defaultValue=d!=null?""+gn(d):""}function Pu(o,c,d,m){if(c==null){if(m!=null){if(d!=null)throw Error(n(92));if(Y(m)){if(1<m.length)throw Error(n(93));m=m[0]}d=m}d==null&&(d=""),c=d}d=gn(c),o.defaultValue=d,m=o.textContent,m===d&&m!==""&&m!==null&&(o.value=m),Ga(o)}function Mo(o,c){if(c){var d=o.firstChild;if(d&&d===o.lastChild&&d.nodeType===3){d.nodeValue=c;return}}o.textContent=c}var Va=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function qc(o,c,d){var m=c.indexOf("--")===0;d==null||typeof d=="boolean"||d===""?m?o.setProperty(c,""):c==="float"?o.cssFloat="":o[c]="":m?o.setProperty(c,d):typeof d!="number"||d===0||Va.has(c)?c==="float"?o.cssFloat=d:o[c]=(""+d).trim():o[c]=d+"px"}function fl(o,c,d){if(c!=null&&typeof c!="object")throw Error(n(62));if(o=o.style,d!=null){for(var m in d)!d.hasOwnProperty(m)||c!=null&&c.hasOwnProperty(m)||(m.indexOf("--")===0?o.setProperty(m,""):m==="float"?o.cssFloat="":o[m]="");for(var S in c)m=c[S],c.hasOwnProperty(S)&&d[S]!==m&&qc(o,S,m)}else for(var A in c)c.hasOwnProperty(A)&&qc(o,A,c[A])}function Xl(o){if(o.indexOf("-")===-1)return!1;switch(o){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Kl=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRen
9dering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),$u=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ca(o){return $u.test(""+o)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":o}function po(){}var Ya=null;function Os(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Ps=null,_r=null;function ju(o){var c=St(o);if(c&&(o=c.stateNode)){var d=o[Cr]||null;t:switch(o=c.stateNode,c.type){case"input":if(Wl(o,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name),c=d.name,d.type==="radio"&&c!=null){for(d=o;d.parentNode;)d=d.parentNode;for(d=d.querySelectorAll('input[name="'+Xn(""+c)+'"][type="radio"]'),c=0;c<d.length;c++){var m=d[c];if(m!==o&&m.form===o.form){var S=m[Cr]||null;if(!S)throw Error(n(90));Wl(m,S.value,S.defaultValue,S.defaultValue,S.checked,S.defaultChecked,S.type,S.name)}}for(c=0;c<d.length;c++)m=d[c],m.form===o.form&&hl(m)}break t;
vendor: 9,408 bytes, line 9
9case"textarea":Yl(o,d.value,d.defaultValue);break t;case"select":c=d.value,c!=null&&la(o,!!d.multiple,c,!1)}}}var Xa=!1;function Du(o,c,d){if(Xa)return o(c,d);Xa=!0;try{var m=o(c);return m}finally{if(Xa=!1,(Ps!==null||_r!==null)&&(Fm(),Ps&&(c=Ps,o=_r,_r=Ps=null,ju(c),o)))for(c=0;c<o.length;c++)ju(o[c])}}function ua(o,c){var d=o.stateNode;if(d===null)return null;var m=d[Cr]||null;if(m===null)return null;d=m[c];t:switch(c){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(m=!m.disabled)||(o=o.type,m=!(o==="button"||o==="input"||o==="select"||o==="textarea")),o=!m;break t;default:o=!1}if(o)return null;if(d&&typeof d!="function")throw Error(n(231,c,typeof d));return d}var Oi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Zl=!1;if(Oi)try{var $s={};Object.defineProperty($s,"passive",{get:function(){Zl=!0}}),window.addEventListener("test",$s,$s),window.removeEventListener("test",$s,$s)}catch{Zl=!1}var Oa=null,dl=null,Ca=null;function os(){if(Ca)return Ca;var o,c=dl,d=c.length,m,S="value"in Oa?Oa.value:Oa.textContent,A=S.length;for(o=0;o<d&&c[o]===S[o];o++);var G=d-o;for(m=1;m<=G&&c[d-m]===S[A-m];m++);return Ca=S.slice(o,1<m?1-m:void 0)}function Wi(o){var c=o.keyCode;return"charCode"in o?(o=o.charCode,o===0&&c===13&&(o=13)):o=c,o===10&&(o=13),32<=o||o===13?o:0}function ha(){return!0}function go(){return!1}function di(o){function c(d,m,S,A,G){this._reactName=d,this._targetInst=S,this.type=m,this.nativeEvent=A,this.target=G,this.currentTarget=null;for(var st in o)o.hasOwnProperty(st)&&(d=o[st],this[st]=d?d(A):A[st]);return this.isDefaultPrevented=(A.defaultPrevented!=null?A.defaultPrevented:A.returnValue===!1)?ha:go,this.isPropagationStopped=go,this}return p(c.prototype,{preventDefault:function(){this.defaultPrevented=!0;var d=this.nativeEvent;d&&(d.preventDefault?d.preventDefault():typeof d.returnValue!="unknown"&&(d.returnValue=!1),this.isDefaultPrevented=ha)},stopPropagation:function(){var d=this.nativeEvent;d&&(d.stopPropagation?d.stopPropagation():typeof d.cancelBubble!="unknown"&&(d.cancelBubble=!0),this.isPropagationStopped=ha)},persist:function(){},isPersistent:ha}),c}var hi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(o){return o.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},On=di(hi),ka=p({},hi,{view:0,detail:0}),Ql=di(ka),js,ss,ls,pl=p({},ka,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$e,button:0,buttons:0,relatedTarget:function(o){return o.relatedTarget===void 0?o.fromElement===o.srcElement?o.toElement:o.fromElement:o.relatedTarget},movementX:function(o){return"movementX"in o?o.movementX:(o!==ls&&(ls&&o.type==="mousemove"?(js=o.screenX-ls.screenX,ss=o.screenY-ls.screenY):ss=js=0,ls=o),js)},movementY:function(o){return"movementY"in o?o.movementY:ss}}),Hc=di(pl),cs=p({},pl,{dataTransfer:0}),Ka=di(cs),Iu=p({},ka,{relatedTarget:0}),us=di(Iu),zu=p({},hi,{animationName:0,elapsedTime:0,pseudoElement:0}),R=di(zu),J=p({},hi,{clipboardData:function(o){return"clipboardData"in o?o.clipboardData:window.clipboardData}}),pt=di(J),_t=p({},hi,{data:0}),gt=di(_t),xt={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Tt={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ue={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Le(o){var c=this.nativeEvent;return c.getModifierState?c.getModifierState(o):(o=ue[o])?!!c[o]:!1}function $e(){return Le}var De=p({},ka,{key:function(o){if(o.key){var c=xt[o.key]||o.key;if(c!=="Unidentified")return c}return o.type==="keypress"?(o=Wi(o),o===13?"Enter":String.fromCharCode(o)):o.type==="keydown"||o.type==="keyup"?Tt[o.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$e,charCode:function(o){return o.type==="keypress"?Wi(o):0},keyCode:function(o){return o.type==="keydown"||o.type==="keyup"?o.keyCode:0},which:function(o){return o.type==="keypress"?Wi(o):o.type==="keydown"||o.type==="keyup"?o.keyCode:0}}),Gr=di(De),zn=p({},pl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Kn=di(zn),Cn=p({},ka,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$e}),ni=di(Cn),xi=p({},hi,{propertyName:0,elapsedTime:0,pseudoElement:0}),Gi=di(xi),gl=p({},pl,{deltaX:function(o){return"deltaX"in o?o.deltaX:"wheelDeltaX"in o?-o.wheelDeltaX:0},deltaY:function(o){return"deltaY"in o?o.deltaY:"wheelDeltaY"in o?-o.wheelDeltaY:"wheelDelta"in o?-o.wheelDelta:0},deltaZ:0,deltaMode:0}),hs=di(gl),ml=p({},hi,{newState:0,oldState:0}),Vh=di(ml),Fu=[9,13,27,32],Ds=Oi&&"CompositionEvent"in window,fs=null;Oi&&"documentMode"in document&&(fs=document.documentMode);var Uc=Oi&&"TextEvent"in window&&!fs,yl=Oi&&(!Ds||fs&&8<fs&&11>=fs),ra=" ",Jl=!1;function tc(o,c){switch(o){case"keyup":return Fu.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qu(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var Is=!1;function Pa(o,c){switch(o){case"compositionend":return qu(c);case"keypress":return c.which!==32?null:(Jl=!0,ra);case"textInput":return o=c.data,o===ra&&Jl?null:o;default:return null}}function bl(o,c){if(Is)return o==="compositionend"||!Ds&&tc(o,c)?(o=os(),Ca=dl=Oa=null,Is=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1<c.char.length)return c.char;if(c.which)return String.fromCharCode(c.which)}return null;case"compositionend":return yl&&c.locale!=="ko"?null:c.data;default:return null}}var Hu={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Yh(o){var c=o&&o.nodeName&&o.nodeName.toLowerCase();return c==="input"?!!Hu[o.type]:c==="textarea"}function mo(o,c,d,m){Ps?_r?_r.push(m):_r=[m]:Ps=m,c=Ym(c,"onChange"),0<c.length&&(d=new On("onChange","change",null,d,m),o.push({event:d,listeners:c}))}var ds=null,vl=null;function Xh(o){p4(o,0)}function ps(o){var c=ke(o);if(hl(c))return o}function ec(o,c){if(o==="change")return c}var Za=!1;if(Oi){var $a;if(Oi){var zs="oninput"in document;if(!zs){var Fs=document.createElement("div");Fs.setAttribute("oninput","return;"),zs=typeof Fs.oninput=="function"}$a=zs}else $a=!1;Za=$a&&(!document.documentMode||9<document.documentMode)}function xl(){ds&&(ds.detachEvent("onpropertychange",Uu),vl=ds=null)}function Uu(o){if(o.propertyName==="value"&&ps(vl)){var c=[];mo(c,vl,o,Os(o)),Du(Xh,c)}}function Wu(o,c,d){o==="focusin"?(xl(),ds=c,vl=d,ds.attachEvent("onpropertychange",Uu)):o==="focusout"&&xl()}function Mi(o){if(o==="selectionchange"||o==="keyup"||o==="keydown")return ps(vl)}function sd(o,c){if(o==="click")return ps(c)}function qs(o,c){if(o==="input"||o==="change")return ps(c)}function Hs(o,c){return o===c&&(o!==0||1/o===1/c)||o!==o&&c!==c}var fa=typeof Object.is=="function"?Object.is:Hs;function Sl(o,c){if(fa(o,c))return!0;if(typeof o!="object"||o===null||typeof c!="object"||c===null)return!1;var d=Object.keys(o),m=Object.keys(c);if(d.length!==m.length)return!1;for(m=0;m<d.length;m++){var S=d[m];if(!Ot.call(c,S)||!fa(o[S],c[S]))return!1}return!0}function Gu(o){for(;o&&o.firstChild;)o=o.firstChild;return o}function Vu(o,c){var d=Gu(o);o=0;for(var m;d;){if(d.nodeType===3){if(m=o+d.textContent.length,o<=c&&m>=c)return{node:d,offset:c-o};o=m}t:{for(;d;){if(d.nextSibling){d=d.nextSibling;break t}d=d.parentNode}d=void 0}d=Gu(d)}}function wl(o,c){return o&&c?o===c?!0:o&&o.nodeType===3?!1:c&&c.nodeType===3?wl(o,c.parentNode):"contains"in o?o.contains(c):o.compareDocumentPosition?!!(o.compareDocumentPosition(c)&16):!1:!1}function Cl(o){o=o!=null&&o.ownerDocument!=null&&o.ownerDocument.defaultView!=null?o.ownerDocument.defaultView:window;for(var c=Ei(o.document);c instanceof o.HTMLIFrameElement;){try{var d=typeof c.contentWindow.location.href=="string"}catch{d=!1}if(d)o=c.contentWindow;else break;c=Ei(o.document)}return c}function Us(o){var c=o&&o.nodeName&&o.nodeName.toLowerCase();return c&&(c==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||c==="textarea"||o.contentEditable==="true")}var Wc=Oi&&"documentMode"in document&&11>=document.documentMode,yo=null,kl=null,_a=null,Ro=!1;function Ln(o,c,d){var m=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;Ro||yo==null||yo!==Ei(m)||(m=yo,"selectionStart"in m&&Us(m)?m={start:m.selectionStart,end:m.selectionEnd}:(m=(m.ownerDocument&&m.ownerDocument.defaultView||window).getSelection(),m={anchorNode:m.anchorNode,anchorOffset:m.anchorOffset,focu
vendor: 16,060 bytes, line 9
9sNode:m.focusNode,focusOffset:m.focusOffset}),_a&&Sl(_a,m)||(_a=m,m=Ym(kl,"onSelect"),0<m.length&&(c=new On("onSelect","select",null,c,d),o.push({event:c,listeners:m}),c.target=yo)))}function bn(o,c){var d={};return d[o.toLowerCase()]=c.toLowerCase(),d["Webkit"+o]="webkit"+c,d["Moz"+o]="moz"+c,d}var Zn={animationend:bn("Animation","AnimationEnd"),animationiteration:bn("Animation","AnimationIteration"),animationstart:bn("Animation","AnimationStart"),transitionrun:bn("Transition","TransitionRun"),transitionstart:bn("Transition","TransitionStart"),transitioncancel:bn("Transition","TransitionCancel"),transitionend:bn("Transition","TransitionEnd")},Ri={},Ws={};Oi&&(Ws=document.createElement("div").style,"AnimationEvent"in window||(delete Zn.animationend.animation,delete Zn.animationiteration.animation,delete Zn.animationstart.animation),"TransitionEvent"in window||delete Zn.transitionend.transition);function gs(o){if(Ri[o])return Ri[o];if(!Zn[o])return o;var c=Zn[o],d;for(d in c)if(c.hasOwnProperty(d)&&d in Ws)return Ri[o]=c[d];return o}var Gc=gs("animationend"),Kh=gs("animationiteration"),Yp=gs("animationstart"),ym=gs("transitionrun"),bm=gs("transitionstart"),vm=gs("transitioncancel"),Xp=gs("transitionend"),Kp=new Map,Vc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Vc.push("scrollEnd");function No(o,c){Kp.set(o,c),tr(c,[o])}var Zh=typeof reportError=="function"?reportError:function(o){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var c=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof o=="object"&&o!==null&&typeof o.message=="string"?String(o.message):String(o),error:o});if(!window.dispatchEvent(c))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",o);return}console.error(o)},bo=[],Yc=0,ld=0;function Qh(){for(var o=Yc,c=ld=Yc=0;c<o;){var d=bo[c];bo[c++]=null;var m=bo[c];bo[c++]=null;var S=bo[c];bo[c++]=null;var A=bo[c];if(bo[c++]=null,m!==null&&S!==null){var G=m.pending;G===null?S.next=S:(S.next=G.next,G.next=S),m.pending=S}A!==0&&tf(d,S,A)}}function Jh(o,c,d,m){bo[Yc++]=o,bo[Yc++]=c,bo[Yc++]=d,bo[Yc++]=m,ld|=m,o.lanes|=m,o=o.alternate,o!==null&&(o.lanes|=m)}function cd(o,c,d,m){return Jh(o,c,d,m),Aa(o)}function _l(o,c){return Jh(o,null,null,c),Aa(o)}function tf(o,c,d){o.lanes|=d;var m=o.alternate;m!==null&&(m.lanes|=d);for(var S=!1,A=o.return;A!==null;)A.childLanes|=d,m=A.alternate,m!==null&&(m.childLanes|=d),A.tag===22&&(o=A.stateNode,o===null||o._visibility&1||(S=!0)),o=A,A=A.return;return o.tag===3?(A=o.stateNode,S&&c!==null&&(S=31-Pe(d),o=A.hiddenUpdates,m=o[S],m===null?o[S]=[c]:m.push(c),c.lane=d|536870912),A):null}function Aa(o){if(50<bg)throw bg=0,sv=null,Error(n(185));for(var c=o.return;c!==null;)o=c,c=o.return;return o.tag===3?o.stateNode:null}var da={};function ud(o,c,d,m){this.tag=o,this.key=d,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=c,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=m,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ta(o,c,d,m){return new ud(o,c,d,m)}function hd(o){return o=o.prototype,!(!o||!o.isReactComponent)}function Bo(o,c){var d=o.alternate;return d===null?(d=Ta(o.tag,c,o.key,o.mode),d.elementType=o.elementType,d.type=o.type,d.stateNode=o.stateNode,d.alternate=o,o.alternate=d):(d.pendingProps=c,d.type=o.type,d.flags=0,d.subtreeFlags=0,d.deletions=null),d.flags=o.flags&65011712,d.childLanes=o.childLanes,d.lanes=o.lanes,d.child=o.child,d.memoizedProps=o.memoizedProps,d.memoizedState=o.memoizedState,d.updateQueue=o.updateQueue,c=o.dependencies,d.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},d.sibling=o.sibling,d.index=o.index,d.ref=o.ref,d.refCleanup=o.refCleanup,d}function ef(o,c){o.flags&=65011714;var d=o.alternate;return d===null?(o.childLanes=0,o.lanes=c,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=d.childLanes,o.lanes=d.lanes,o.child=d.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=d.memoizedProps,o.memoizedState=d.memoizedState,o.updateQueue=d.updateQueue,o.type=d.type,c=d.dependencies,o.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext}),o}function Yu(o,c,d,m,S,A){var G=0;if(m=o,typeof o=="function")hd(o)&&(G=1);else if(typeof o=="string")G=KP(o,d,et.current)?26:o==="html"||o==="head"||o==="body"?27:5;else t:switch(o){case j:return o=Ta(31,d,c,S),o.elementType=j,o.lanes=A,o;case v:return rc(d.children,S,A,c);case C:G=8,S|=24;break;case k:return o=Ta(12,d,c,S|2),o.elementType=k,o.lanes=A,o;case O:return o=Ta(13,d,c,S),o.elementType=O,o.lanes=A,o;case W:return o=Ta(19,d,c,S),o.elementType=W,o.lanes=A,o;default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case E:G=10;break t;case T:G=9;break t;case L:G=11;break t;case q:G=14;break t;case U:G=16,m=null;break t}G=29,d=Error(n(130,o===null?"null":typeof o,"")),m=null}return c=Ta(G,d,c,S),c.elementType=o,c.type=m,c.lanes=A,c}function rc(o,c,d,m){return o=Ta(7,o,m,c),o.lanes=d,o}function rf(o,c,d){return o=Ta(6,o,null,c),o.lanes=d,o}function fd(o){var c=Ta(18,null,null,0);return c.stateNode=o,c}function Xu(o,c,d){return c=Ta(4,o.children!==null?o.children:[],o.key,c),c.lanes=d,c.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},c}var dd=new WeakMap;function Oo(o,c){if(typeof o=="object"&&o!==null){var d=dd.get(o);return d!==void 0?d:(c={value:o,source:c,stack:le(c)},dd.set(o,c),c)}return{value:o,source:c,stack:le(c)}}var Ku=[],Xc=0,pd=null,nf=0,Po=[],$o=0,nc=null,jo=1,Do="";function vo(o,c){Ku[Xc++]=nf,Ku[Xc++]=pd,pd=o,nf=c}function xm(o,c,d){Po[$o++]=jo,Po[$o++]=Do,Po[$o++]=nc,nc=o;var m=jo;o=Do;var S=32-Pe(m)-1;m&=~(1<<S),d+=1;var A=32-Pe(c)+S;if(30<A){var G=S-S%5;A=(m&(1<<G)-1).toString(32),m>>=G,S-=G,jo=1<<32-Pe(c)+S|d<<S|m,Do=A+o}else jo=1<<A|d<<S|m,Do=o}function Zp(o){o.return!==null&&(vo(o,1),xm(o,1,0))}function gd(o){for(;o===pd;)pd=Ku[--Xc],Ku[Xc]=null,nf=Ku[--Xc],Ku[Xc]=null;for(;o===nc;)nc=Po[--$o],Po[$o]=null,Do=Po[--$o],Po[$o]=null,jo=Po[--$o],Po[$o]=null}function Sm(o,c){Po[$o++]=jo,Po[$o++]=Do,Po[$o++]=nc,jo=c.id,Do=c.overflow,nc=o}var pa=null,ii=null,ln=!1,ja=null,Si=!1,ms=Error(n(519));function ic(o){var c=Error(n(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Zu(Oo(c,o)),ms}function Qp(o){var c=o.stateNode,d=o.type,m=o.memoizedProps;switch(c[mr]=o,c[Cr]=m,d){case"dialog":un("cancel",c),un("close",c);break;case"iframe":case"object":case"embed":un("load",c);break;case"video":case"audio":for(d=0;d<xg.length;d++)un(xg[d],c);break;case"source":un("error",c);break;case"img":case"image":case"link":un("error",c),un("load",c);break;case"details":un("toggle",c);break;case"input":un("invalid",c),Gl(c,m.value,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name,!0);break;case"select":un("invalid",c);break;case"textarea":un("invalid",c),Pu(c,m.value,m.defaultValue,m.children)}d=m.children,typeof d!="string"&&typeof d!="number"&&typeof d!="bigint"||c.textContent===""+d||m.suppressHydrationWarning===!0||b4(c.textContent,d)?(m.popover!=null&&(un("beforetoggle",c),un("toggle",c)),m.onScroll!=null&&un("scroll",c),m.onScrollEnd!=null&&un("scrollend",c),m.onClick!=null&&(c.onclick=po),c=!0):c=!1,c||ic(o,!0)}function Al(o){for(pa=o.return;pa;)switch(pa.tag){case 5:case 31:case 13:Si=!1;return;case 27:case 3:Si=!0;return;default:pa=pa.return}}function ga(o){if(o!==pa)return!1;if(!ln)return Al(o),ln=!0,!1;var c=o.tag,d;if((d=c!==3&&c!==27)&&((d=c===5)&&(d=o.type,d=!(d!=="form"&&d!=="button")||wv(o.type,o.memoizedProps)),d=!d),d&&ii&&ic(o),Al(o),c===13){if(o=o.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(n(317));ii=T4(o)}else if(c===31){if(o=o.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(n(317));ii=T4(o)}else c===27?(c=ii,hh(o.type)?(o=Tv,Tv=null,ii=o):ii=c):ii=pa?Xs(o.stateNode.nextSibling):null;return!0}function Kc(){ii=pa=null,ln=!1}function Jp(){var o=ja;return o!==null&&(Uo===null?Uo=o:Uo.push.apply(Uo,o),ja=null),o}function Zu(o){ja===null?ja=[o]:ja.push(o)}var md=K(null),ac=null,Gs=null;function oc(o,c,d){X(md,c._currentValue),c._currentValue=d}function Io(o){o._currentValue=md.current,P(md)}function Qu(o,c,d){for(;o!==null;){var m=o.alternate;if((o.childLanes&c)!==c?(o.childLanes|=c,m!==null&&(m.childLanes|=c)):m!==null&&(m.childLanes&c)!==c&&(m.childLanes|=c),o===d)break;o=o.return}}function Zc(o,c,d,m){var S=o.child;for(S!==null&&(S.return=o);S!==null;){var A=S.dependencies;if(A!==null){var G=S.child;A=A.firstContext;t:for(;A!==null;){var st=A;A=S;for(var Ct=0;Ct<c.length;Ct++)if(st.context===c[Ct]){A.lanes|=d,st=A.alternate,st!==null&&(st.lanes|=d),Qu(A.return,d,o),m||(G=null);break t}A=st.next}}else if(S.tag===18){if(G=S.return,G===null)throw Error(n(341));G.lanes|=d,A=G.alternate,A!==null&&(A.lanes|=d),Qu(G,d,o),G=null}else G=S.child;if(G!==null)G.return=S;else for(G=S;G!==null;){if(G===o){G=null;break}if(S=G.sibling,S!==null){S.return=G.return,G=S;break}G=G.return}S=G}}function sc(o,c,d,m){o=null;for(var S=c,A=!1;S!==null;){if(!A){if((S.flags&524288)!==0)A=!0;else if((S.flags&262144)!==0)break}if(S.tag===10){var G=S.alternate;if(G===null)throw Error(n(387));if(G=G.memoizedProps,G!==null){var st=S.type;fa(S.pendingProps.value,G.value)||(o!==null?o.push(st):o=[st])}}else if(S===ht.current){if(G=S.alternate,G===null)throw Error(n(387));G.memoizedState.memoizedState!==S.memoizedState.memoizedState&&(o!==null?o.push(_g):o=[_g])}S=S.return}o!==null&&Zc(c,o,d,m),c.flags|=262144}function yd(o){for(o=o.firstContext;o!==null;){if(!fa(o.context._currentValue,o.memoizedValue))return!0;o=o.next}return!1}function lc(o){ac=o,Gs=null,o=o.dependencies,o!==null&&(o.firstContext=null)}function ma(o){return wm(ac,o)}function bd(o,c){return ac===null&&lc(o),wm(o,c)}function wm(o,c){var d=c._currentValue;if(c={context:c,memoizedValue:d,next:null},Gs===null){if(o===null)throw Error(n(308));Gs=c,o.dependencies={lanes:0,firstContext:c},o.flags|=524288}else Gs=Gs.next=c;return d}var Ab=typeof AbortController<"u"?AbortController:function(){var o=[],c=this.signal={aborted:!1,addEventListener:function(d,m){o.push(m)}};this.abort=function(){c.aborted=!0,o.forEach(function(d){return d()})}},Tb=t.unstable_scheduleCallback,Lb=t.unstable_NormalPriority,Ni={$$typeof:E,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ju(){return{controller:new Ab,data:new Map,refCount:0}}function af(o){o.refCount--,o.refCount===0&&Tb(Lb,function(){o.controller.abort()})}var of=null,vd=0,x=0,_=null;function B(o,c){if(of===null){var d=of=[];vd=0,x=dv(),_={status:"pending",value:void 0,then:function(m){d.push(m)}}}return vd++,c.then(F,F),c}function F(){if(--vd===0&&of!==null){_!==null&&(_.status="fulfilled");var o=of;of=null,x=0,_=null;for(var c=0;c<o.length;c++)(0,o[c])()}}function tt(o,c){var d=[],m={status:"pending",value:null,reason:null,then:function(S){d.push(S)}};return o.then(function(){m.status="fulfilled",m.value=c;for(var S=0;S<d.length;S++)(0,d[S])(c)},function(S){for(m.status="rejected",m.reason=S,S=0;S<d.length;S++)(0,d[S])(void 0)}),m}var nt=D.S;D.S=function(o,c){q3=de(),typeof c=="object"&&c!==null&&typeof c.then=="function"&&B(o,c),nt!==null&&nt(o,c)};var ot=K(null);function ct(){var o=ot.current;return o!==null?o:oi.pooledCache}function ut(o,c){c===null?X(ot,ot.current):X(ot,c.pool)}function dt(){var o=ct();return o===null?null:{parent:Ni._currentValue,pool:o}}var At=Error(n(460)),It=Error(n(474)),ft=Error(n(542)),Mt={then:function(){}};function Pt(o){return o=o.status,o==="fulfilled"||o==="rejected"}function ie(o,c,d){switch(d=o[d],d===void 0?o.push(c):d!==c&&(c.then(po,po),c=d),c.status){case"fulfilled":return c.value;case"rejected":throw o=c.reason,Ce(o),o;default:if(typeof c.status=="string")c.then(po,po);else{if(o=oi,o!==null&&100<o.shellSuspendCounter)throw Error(n(482));o=c,o.status="pending",o.then(function(m){if(c.status==="pending"){var S=c;S.status="fulfilled",S.value=m}},function(m){if(c.status==="pending"){var S=c;S.status="rejected",S.reason=m}})}switch(c.status){case"fulfilled":return c.value;case"rejected":throw o=c.reason,Ce(o),o}throw re=c,At}}function jt(o){try{var c=o._init;return c(o._payload)}catch(d){throw d!==null&&typeof d=="object"&&typeof d.then=="function"?(re=d,At):d}}var re=null;function he(){if(re===null)throw Error(n(459));var o=re;return re=null,o}function Ce(o){if(o===At||o===ft)throw Error(n(483))}var ve=null,nr=0;function Ve(o){var c=nr;return nr+=1,ve===null&&(ve=[]),ie(ve,o,c)}function qr(o,c){c=c.props.ref,o.ref=c!==void 0?c:null}function Qe(o,c){throw c.$$typeof===y?Error(n(525)):(o=Object.prototype.toString.call(c),Error(n(31,o==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":o)))}function on(o){function c(Bt,Lt){if(o){var zt=Bt.deletions;zt===null?(Bt.deletions=[Lt],Bt.flags|=16):zt.push(Lt)}}function d(Bt,Lt){if(!o)return null;for(;Lt!==null;)c(Bt,Lt),Lt=Lt.sibling;return null}function m(Bt){for(var Lt=new Map;Bt!==null;)Bt.key!==null?Lt.set(Bt.key,Bt):Lt.set(Bt.index,Bt),Bt=Bt.sibling;return Lt}function S(Bt,Lt){return Bt=Bo(Bt,Lt),Bt.index=0,Bt.sibling=null,Bt}function A(Bt,Lt,zt){return Bt.index=zt,o?(zt=Bt.alternate,zt!==null?(zt=zt.index,zt<Lt?(Bt.flags|=67108866,Lt):zt):(Bt.flags|=67108866,Lt)):(Bt.flags|=1048576,Lt)}function G(Bt){return o&&Bt.alternate===null&&(Bt.flags|=67108866),Bt}function st(Bt,Lt,zt,pe){return Lt===null||Lt.tag!==6?(Lt=rf(zt,Bt.mode,pe),Lt.return=Bt,Lt):(Lt=S(Lt,zt),Lt.return=Bt,Lt)}function Ct(Bt,Lt,zt,pe){var Tr=zt.type;return Tr===v?oe(Bt,Lt,zt.props.children,pe,zt.key):Lt!==null&&(Lt.elementType===Tr||typeof Tr=="object"&&Tr!==null&&Tr.$$typeof===U&&jt(Tr)===Lt.type)?(Lt=S(Lt,zt.props),qr(Lt,zt),Lt.return=Bt,Lt):(Lt=Yu(zt.type,zt.key,zt.props,null,Bt.mode,pe),qr(Lt,zt),Lt.return=Bt,Lt)}function Ft(Bt,Lt,zt,pe){return Lt===null||Lt.tag!==4||Lt.stateNode.containerInfo!==zt.containerInfo||Lt.stateNode.implementation!==zt.implementation?(Lt=Xu(zt,Bt.mode,pe),Lt.return=Bt,Lt):(Lt=S(Lt,zt.children||[]),Lt.return=Bt,Lt)}function oe(Bt,Lt,zt,pe,Tr){return Lt===null||Lt.tag!==7?(Lt=rc(zt,Bt.mode,pe,Tr),Lt.return=Bt,Lt):(Lt=S(Lt,zt),Lt.return=Bt,Lt)}function ye(Bt,Lt,zt){if(typeof Lt=="string"&&Lt!==""||typeof Lt=="number"||typeof Lt=="bigint")return Lt=rf(""+Lt,Bt.mode,zt),Lt.return=Bt,Lt;if(typeof Lt=="object"&&Lt!==null){switch(Lt.$$typeof){case g:return zt=Yu(Lt.type,Lt.key,Lt.props,null,Bt.mode,zt),qr(zt,Lt),zt.return=Bt,zt;case b:return Lt=Xu(Lt,Bt.mode,zt),Lt.return=Bt,Lt;case U:return Lt=jt(Lt),ye(Bt,Lt,zt)}if(Y(Lt)||I(Lt))return Lt=rc(Lt,Bt.mode,zt,null),Lt.return=Bt,Lt;if(typeof Lt.then=="function")return ye(Bt,Ve(Lt),zt);if(Lt.$$typeof===E)return ye(Bt,bd(Bt,Lt),zt);Qe(Bt,Lt)}return null}function Ut(Bt,Lt,zt,pe){var Tr=Lt!==null?Lt.key:null;if(typeof zt=="string"&&zt!==""||typeof zt=="number"||typeof zt=="bigint")return Tr!==null?null:st(Bt,Lt,""+zt,pe);if(typeof zt=="object"&&zt!==null){switch(zt.$$typeof){case g:return zt.key===Tr?Ct(Bt,Lt,zt,pe):null;case b:return zt.key===Tr?Ft(Bt,Lt,zt,pe):null;case U:return zt=jt(zt),Ut(Bt,Lt,zt,pe)}if(Y(zt)||I(zt))return Tr!==null?null:oe(Bt,Lt,zt,pe,null);if(typeof zt.then=="function")return Ut(Bt,Lt,Ve(zt),pe);if(zt.$$typeof===E)return Ut(Bt,Lt,bd(Bt,zt),pe);Qe(Bt,zt)}return null}
vendor: 6,794 bytes, line 9
9function Yt(Bt,Lt,zt,pe,Tr){if(typeof pe=="string"&&pe!==""||typeof pe=="number"||typeof pe=="bigint")return Bt=Bt.get(zt)||null,st(Lt,Bt,""+pe,Tr);if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case g:return Bt=Bt.get(pe.key===null?zt:pe.key)||null,Ct(Lt,Bt,pe,Tr);case b:return Bt=Bt.get(pe.key===null?zt:pe.key)||null,Ft(Lt,Bt,pe,Tr);case U:return pe=jt(pe),Yt(Bt,Lt,zt,pe,Tr)}if(Y(pe)||I(pe))return Bt=Bt.get(zt)||null,oe(Lt,Bt,pe,Tr,null);if(typeof pe.then=="function")return Yt(Bt,Lt,zt,Ve(pe),Tr);if(pe.$$typeof===E)return Yt(Bt,Lt,zt,bd(Lt,pe),Tr);Qe(Lt,pe)}return null}function er(Bt,Lt,zt,pe){for(var Tr=null,Rn=null,yr=Lt,en=Lt=0,yn=null;yr!==null&&en<zt.length;en++){yr.index>en?(yn=yr,yr=null):yn=yr.sibling;var Nn=Ut(Bt,yr,zt[en],pe);if(Nn===null){yr===null&&(yr=yn);break}o&&yr&&Nn.alternate===null&&c(Bt,yr),Lt=A(Nn,Lt,en),Rn===null?Tr=Nn:Rn.sibling=Nn,Rn=Nn,yr=yn}if(en===zt.length)return d(Bt,yr),ln&&vo(Bt,en),Tr;if(yr===null){for(;en<zt.length;en++)yr=ye(Bt,zt[en],pe),yr!==null&&(Lt=A(yr,Lt,en),Rn===null?Tr=yr:Rn.sibling=yr,Rn=yr);return ln&&vo(Bt,en),Tr}for(yr=m(yr);en<zt.length;en++)yn=Yt(yr,Bt,en,zt[en],pe),yn!==null&&(o&&yn.alternate!==null&&yr.delete(yn.key===null?en:yn.key),Lt=A(yn,Lt,en),Rn===null?Tr=yn:Rn.sibling=yn,Rn=yn);return o&&yr.forEach(function(mh){return c(Bt,mh)}),ln&&vo(Bt,en),Tr}function Pr(Bt,Lt,zt,pe){if(zt==null)throw Error(n(151));for(var Tr=null,Rn=null,yr=Lt,en=Lt=0,yn=null,Nn=zt.next();yr!==null&&!Nn.done;en++,Nn=zt.next()){yr.index>en?(yn=yr,yr=null):yn=yr.sibling;var mh=Ut(Bt,yr,Nn.value,pe);if(mh===null){yr===null&&(yr=yn);break}o&&yr&&mh.alternate===null&&c(Bt,yr),Lt=A(mh,Lt,en),Rn===null?Tr=mh:Rn.sibling=mh,Rn=mh,yr=yn}if(Nn.done)return d(Bt,yr),ln&&vo(Bt,en),Tr;if(yr===null){for(;!Nn.done;en++,Nn=zt.next())Nn=ye(Bt,Nn.value,pe),Nn!==null&&(Lt=A(Nn,Lt,en),Rn===null?Tr=Nn:Rn.sibling=Nn,Rn=Nn);return ln&&vo(Bt,en),Tr}for(yr=m(yr);!Nn.done;en++,Nn=zt.next())Nn=Yt(yr,Bt,en,Nn.value,pe),Nn!==null&&(o&&Nn.alternate!==null&&yr.delete(Nn.key===null?en:Nn.key),Lt=A(Nn,Lt,en),Rn===null?Tr=Nn:Rn.sibling=Nn,Rn=Nn);return o&&yr.forEach(function(s9){return c(Bt,s9)}),ln&&vo(Bt,en),Tr}function ei(Bt,Lt,zt,pe){if(typeof zt=="object"&&zt!==null&&zt.type===v&&zt.key===null&&(zt=zt.props.children),typeof zt=="object"&&zt!==null){switch(zt.$$typeof){case g:t:{for(var Tr=zt.key;Lt!==null;){if(Lt.key===Tr){if(Tr=zt.type,Tr===v){if(Lt.tag===7){d(Bt,Lt.sibling),pe=S(Lt,zt.props.children),pe.return=Bt,Bt=pe;break t}}else if(Lt.elementType===Tr||typeof Tr=="object"&&Tr!==null&&Tr.$$typeof===U&&jt(Tr)===Lt.type){d(Bt,Lt.sibling),pe=S(Lt,zt.props),qr(pe,zt),pe.return=Bt,Bt=pe;break t}d(Bt,Lt);break}else c(Bt,Lt);Lt=Lt.sibling}zt.type===v?(pe=rc(zt.props.children,Bt.mode,pe,zt.key),pe.return=Bt,Bt=pe):(pe=Yu(zt.type,zt.key,zt.props,null,Bt.mode,pe),qr(pe,zt),pe.return=Bt,Bt=pe)}return G(Bt);case b:t:{for(Tr=zt.key;Lt!==null;){if(Lt.key===Tr)if(Lt.tag===4&&Lt.stateNode.containerInfo===zt.containerInfo&&Lt.stateNode.implementation===zt.implementation){d(Bt,Lt.sibling),pe=S(Lt,zt.children||[]),pe.return=Bt,Bt=pe;break t}else{d(Bt,Lt);break}else c(Bt,Lt);Lt=Lt.sibling}pe=Xu(zt,Bt.mode,pe),pe.return=Bt,Bt=pe}return G(Bt);case U:return zt=jt(zt),ei(Bt,Lt,zt,pe)}if(Y(zt))return er(Bt,Lt,zt,pe);if(I(zt)){if(Tr=I(zt),typeof Tr!="function")throw Error(n(150));return zt=Tr.call(zt),Pr(Bt,Lt,zt,pe)}if(typeof zt.then=="function")return ei(Bt,Lt,Ve(zt),pe);if(zt.$$typeof===E)return ei(Bt,Lt,bd(Bt,zt),pe);Qe(Bt,zt)}return typeof zt=="string"&&zt!==""||typeof zt=="number"||typeof zt=="bigint"?(zt=""+zt,Lt!==null&&Lt.tag===6?(d(Bt,Lt.sibling),pe=S(Lt,zt),pe.return=Bt,Bt=pe):(d(Bt,Lt),pe=rf(zt,Bt.mode,pe),pe.return=Bt,Bt=pe),G(Bt)):d(Bt,Lt)}return function(Bt,Lt,zt,pe){try{nr=0;var Tr=ei(Bt,Lt,zt,pe);return ve=null,Tr}catch(yr){if(yr===At||yr===ft)throw yr;var Rn=Ta(29,yr,null,Bt.mode);return Rn.lanes=pe,Rn.return=Bt,Rn}}}var ai=on(!0),Vr=on(!1),Ye=!1;function Fe(o){o.updateQueue={baseState:o.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function pi(o,c){o=o.updateQueue,c.updateQueue===o&&(c.updateQueue={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,callbacks:null})}function Nr(o){return{lane:o,tag:0,payload:null,callback:null,next:null}}function Qr(o,c,d){var m=o.updateQueue;if(m===null)return null;if(m=m.shared,(jn&2)!==0){var S=m.pending;return S===null?c.next=c:(c.next=S.next,S.next=c),m.pending=c,c=Aa(o),tf(o,null,d),c}return Jh(o,m,c,d),Aa(o)}function Pn(o,c,d){if(c=c.updateQueue,c!==null&&(c=c.shared,(d&4194048)!==0)){var m=c.lanes;m&=o.pendingLanes,d|=m,c.lanes=d,rr(o,d)}}function Vi(o,c){var d=o.updateQueue,m=o.alternate;if(m!==null&&(m=m.updateQueue,d===m)){var S=null,A=null;if(d=d.firstBaseUpdate,d!==null){do{var G={lane:d.lane,tag:d.tag,payload:d.payload,callback:null,next:null};A===null?S=A=G:A=A.next=G,d=d.next}while(d!==null);A===null?S=A=c:A=A.next=c}else S=A=c;d={baseState:m.baseState,firstBaseUpdate:S,lastBaseUpdate:A,shared:m.shared,callbacks:m.callbacks},o.updateQueue=d;return}o=d.lastBaseUpdate,o===null?d.firstBaseUpdate=c:o.next=c,d.lastBaseUpdate=c}var ya=!1;function Qn(){if(ya){var o=_;if(o!==null)throw o}}function Pi(o,c,d,m){ya=!1;var S=o.updateQueue;Ye=!1;var A=S.firstBaseUpdate,G=S.lastBaseUpdate,st=S.shared.pending;if(st!==null){S.shared.pending=null;var Ct=st,Ft=Ct.next;Ct.next=null,G===null?A=Ft:G.next=Ft,G=Ct;var oe=o.alternate;oe!==null&&(oe=oe.updateQueue,st=oe.lastBaseUpdate,st!==G&&(st===null?oe.firstBaseUpdate=Ft:st.next=Ft,oe.lastBaseUpdate=Ct))}if(A!==null){var ye=S.baseState;G=0,oe=Ft=Ct=null,st=A;do{var Ut=st.lane&-536870913,Yt=Ut!==st.lane;if(Yt?(mn&Ut)===Ut:(m&Ut)===Ut){Ut!==0&&Ut===x&&(ya=!0),oe!==null&&(oe=oe.next={lane:0,tag:st.tag,payload:st.payload,callback:null,next:null});t:{var er=o,Pr=st;Ut=c;var ei=d;switch(Pr.tag){case 1:if(er=Pr.payload,typeof er=="function"){ye=er.call(ei,ye,Ut);break t}ye=er;break t;case 3:er.flags=er.flags&-65537|128;case 0:if(er=Pr.payload,Ut=typeof er=="function"?er.call(ei,ye,Ut):er,Ut==null)break t;ye=p({},ye,Ut);break t;case 2:Ye=!0}}Ut=st.callback,Ut!==null&&(o.flags|=64,Yt&&(o.flags|=8192),Yt=S.callbacks,Yt===null?S.callbacks=[Ut]:Yt.push(Ut))}else Yt={lane:Ut,tag:st.tag,payload:st.payload,callback:st.callback,next:null},oe===null?(Ft=oe=Yt,Ct=ye):oe=oe.next=Yt,G|=Ut;if(st=st.next,st===null){if(st=S.shared.pending,st===null)break;Yt=st,st=Yt.next,Yt.next=null,S.lastBaseUpdate=Yt,S.shared.pending=null}}while(!0);oe===null&&(Ct=ye),S.baseState=Ct,S.firstBaseUpdate=Ft,S.lastBaseUpdate=oe,A===null&&(S.shared.lanes=0),oh|=G,o.lanes=G,o.memoizedState=ye}}function La(o,c){if(typeof o!="function")throw Error(n(191,o));o.call(c)}function $i(o,c){var d=o.callbacks;
vendor: 5,027 bytes, line 9
9if(d!==null)for(o.callbacks=null,o=0;o<d.length;o++)La(d[o],c)}var rn=K(null),kn=K(0);function gi(o,c){o=su,X(kn,o),X(rn,c),su=o|c.baseLanes}function En(){X(kn,su),X(rn,rn.current)}function Yi(){su=kn.current,P(rn),P(kn)}var mi=K(null),_n=null;function Bi(o){var c=o.alternate;X(vn,vn.current&1),X(mi,o),_n===null&&(c===null||rn.current!==null||c.memoizedState!==null)&&(_n=o)}function $n(o){X(vn,vn.current),X(mi,o),_n===null&&(_n=o)}function ji(o){o.tag===22?(X(vn,vn.current),X(mi,o),_n===null&&(_n=o)):Di()}function Di(){X(vn,vn.current),X(mi,mi.current)}function Un(o){P(mi),_n===o&&(_n=null),P(vn)}var vn=K(0);function Ea(o){for(var c=o;c!==null;){if(c.tag===13){var d=c.memoizedState;if(d!==null&&(d=d.dehydrated,d===null||_v(d)||Av(d)))return c}else if(c.tag===19&&(c.memoizedProps.revealOrder==="forwards"||c.memoizedProps.revealOrder==="backwards"||c.memoizedProps.revealOrder==="unstable_legacy-backwards"||c.memoizedProps.revealOrder==="together")){if((c.flags&128)!==0)return c}else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===o)break;for(;c.sibling===null;){if(c.return===null||c.return===o)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}return null}var wi=0,kr=null,Ar=null,An=null,Qa=!1,zo=!1,Da=!1,Ii=0,cc=0,uc=null,xd=0;function Jn(){throw Error(n(321))}function tg(o,c){if(c===null)return!1;for(var d=0;d<c.length&&d<o.length;d++)if(!fa(o[d],c[d]))return!1;return!0}function eg(o,c,d,m,S,A){return wi=A,kr=c,c.memoizedState=null,c.updateQueue=null,c.lanes=0,D.H=o===null||o.memoizedState===null?JC:$b,Da=!1,A=d(m,S),Da=!1,zo&&(A=Tl(c,d,m,S)),Sd(o),A}function Sd(o){D.H=cg;var c=Ar!==null&&Ar.next!==null;if(wi=0,An=Ar=kr=null,Qa=!1,cc=0,uc=null,c)throw Error(n(300));o===null||ia||(o=o.dependencies,o!==null&&yd(o)&&(ia=!0))}function Tl(o,c,d,m){kr=o;var S=0;do{if(zo&&(uc=null),cc=0,zo=!1,25<=S)throw Error(n(301));if(S+=1,An=Ar=null,o.updateQueue!=null){var A=o.updateQueue;A.lastEffect=null,A.events=null,A.stores=null,A.memoCache!=null&&(A.memoCache.index=0)}D.H=t3,A=c(d,m)}while(zo);return A}function Eb(){var o=D.H,c=o.useState()[0];return c=typeof c.then=="function"?hc(c):c,o=o.useState()[0],(Ar!==null?Ar.memoizedState:null)!==o&&(kr.flags|=1024),c}function rg(){var o=Ii!==0;return Ii=0,o}function ng(o,c,d){c.updateQueue=o.updateQueue,c.flags&=-2053,o.lanes&=~d}function wd(o){if(Qa){for(o=o.memoizedState;o!==null;){var c=o.queue;c!==null&&(c.pending=null),o=o.next}Qa=!1}wi=0,An=Ar=kr=null,zo=!1,cc=Ii=0,uc=null}function na(){var o={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return An===null?kr.memoizedState=An=o:An=An.next=o,An}function Ci(){if(Ar===null){var o=kr.alternate;o=o!==null?o.memoizedState:null}else o=Ar.next;var c=An===null?kr.memoizedState:An.next;if(c!==null)An=c,Ar=o;else{if(o===null)throw kr.alternate===null?Error(n(467)):Error(n(310));Ar=o,o={memoizedState:Ar.memoizedState,baseState:Ar.baseState,baseQueue:Ar.baseQueue,queue:Ar.queue,next:null},An===null?kr.memoizedState=An=o:An=An.next=o}return An}function sf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function hc(o){var c=cc;return cc+=1,uc===null&&(uc=[]),o=ie(uc,o,c),c=kr,(An===null?c.memoizedState:An.next)===null&&(c=c.alternate,D.H=c===null||c.memoizedState===null?JC:$b),o}function th(o){if(o!==null&&typeof o=="object"){if(typeof o.then=="function")return hc(o);if(o.$$typeof===E)return ma(o)}throw Error(n(438,String(o)))}function Qc(o){var c=null,d=kr.updateQueue;if(d!==null&&(c=d.memoCache),c==null){var m=kr.alternate;m!==null&&(m=m.updateQueue,m!==null&&(m=m.memoCache,m!=null&&(c={data:m.data.map(function(S){return S.slice()}),index:0})))}if(c==null&&(c={data:[],index:0}),d===null&&(d=sf(),kr.updateQueue=d),d.memoCache=c,d=c.data[c.index],d===void 0)for(d=c.data[c.index]=Array(o),m=0;m<o;m++)d[m]=M;return c.index++,d}function Vs(o,c){return typeof c=="function"?c(o):c}function Cd(o){var c=Ci();return eh(c,Ar,o)}function eh(o,c,d){var m=o.queue;if(m===null)throw Error(n(311));m.lastRenderedReducer=d;var S=o.baseQueue,A=m.pending;if(A!==null){if(S!==null){var G=S.next;S.next=A.next,A.next=G}c.baseQueue=S=A,m.pending=null}if(A=o.baseState,S===null)o.memoizedState=A;else{c=S.next;var st=G=null,Ct=null,Ft=c,oe=!1;do{var ye=Ft.lane&-536870913;if(ye!==Ft.lane?(mn&ye)===ye:(wi&ye)===ye){var Ut=Ft.revertLane;if(Ut===0)Ct!==null&&(Ct=Ct.next={lane:0,revertLane:0,gesture:null,action:Ft.action,hasEagerState:Ft.hasEagerState,eagerState:Ft.eagerState,next:null}),ye===x&&(oe=!0);else if((wi&Ut)===Ut){Ft=Ft.next,Ut===x&&(oe=!0);continue}else ye={lane:0,revertLane:Ft.revertLane,gesture:null,action:Ft.action,hasEagerState:Ft.hasEagerState,eagerState:Ft.eagerState,next:null},Ct===null?(st=Ct=ye,G=A):Ct=Ct.next=ye,kr.lanes|=Ut,oh|=Ut;ye=Ft.action,Da&&d(A,ye),A=Ft.hasEagerState?Ft.eagerState:d(A,ye)}else Ut={lane:ye,revertLane:Ft.revertLane,gesture:Ft.gesture,action:Ft.action,hasEagerState:Ft.hasEagerState,eagerState:Ft.eagerState,next:null},Ct===null?(st=Ct=Ut,G=A):Ct=Ct.next=Ut,kr.lanes|=ye,oh|=ye;Ft=Ft.next}
vendor: 4,949 bytes, line 9
9while(Ft!==null&&Ft!==c);if(Ct===null?G=A:Ct.next=st,!fa(A,o.memoizedState)&&(ia=!0,oe&&(d=_,d!==null)))throw d;o.memoizedState=A,o.baseState=G,o.baseQueue=Ct,m.lastRenderedState=A}return S===null&&(m.lanes=0),[o.memoizedState,m.dispatch]}function kd(o){var c=Ci(),d=c.queue;if(d===null)throw Error(n(311));d.lastRenderedReducer=o;var m=d.dispatch,S=d.pending,A=c.memoizedState;if(S!==null){d.pending=null;var G=S=S.next;do A=o(A,G.action),G=G.next;while(G!==S);fa(A,c.memoizedState)||(ia=!0),c.memoizedState=A,c.baseQueue===null&&(c.baseState=A),d.lastRenderedState=A}return[A,m]}function _d(o,c,d){var m=kr,S=Ci(),A=ln;if(A){if(d===void 0)throw Error(n(407));d=d()}else d=c();var G=!fa((Ar||S).memoizedState,d);if(G&&(S.memoizedState=d,ia=!0),S=S.queue,Mb(ag.bind(null,m,S,o),[o]),S.getSnapshot!==c||G||An!==null&&An.memoizedState.tag&1){if(m.flags|=2048,tu(9,{destroy:void 0},ig.bind(null,m,S,d,c),null),oi===null)throw Error(n(349));A||(wi&127)!==0||Ll(m,c,d)}return d}function Ll(o,c,d){o.flags|=16384,o={getSnapshot:c,value:d},c=kr.updateQueue,c===null?(c=sf(),kr.updateQueue=c,c.stores=[o]):(d=c.stores,d===null?c.stores=[o]:d.push(o))}function ig(o,c,d,m){c.value=d,c.getSnapshot=m,Cm(c)&&og(o)}function ag(o,c,d){return d(function(){Cm(c)&&og(o)})}function Cm(o){var c=o.getSnapshot;o=o.value;try{var d=c();return!fa(o,d)}catch{return!0}}function og(o){var c=_l(o,2);c!==null&&Wo(c,o,2)}function fc(o){var c=na();if(typeof o=="function"){var d=o;if(o=d(),Da){Se(!0);try{d()}finally{Se(!1)}}}return c.memoizedState=c.baseState=o,c.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vs,lastRenderedState:o},c}function km(o,c,d,m){return o.baseState=d,eh(o,Ar,typeof m=="function"?m:Vs)}function _m(o,c,d,m,S){if(Em(o))throw Error(n(485));if(o=c.action,o!==null){var A={payload:S,action:o,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(G){A.listeners.push(G)}};D.T!==null?d(!0):A.isTransition=!1,m(A),d=c.pending,d===null?(A.next=c.pending=A,Am(c,A)):(A.next=d.next,c.pending=d.next=A)}}function Am(o,c){var d=c.action,m=c.payload,S=o.state;if(c.isTransition){var A=D.T,G={};D.T=G;try{var st=d(S,m),Ct=D.S;Ct!==null&&Ct(G,st),sg(o,c,st)}catch(Ft){Jc(o,c,Ft)}finally{A!==null&&G.types!==null&&(A.types=G.types),D.T=A}}else try{A=d(S,m),sg(o,c,A)}catch(Ft){Jc(o,c,Ft)}}function sg(o,c,d){d!==null&&typeof d=="object"&&typeof d.then=="function"?d.then(function(m){Tm(o,c,m)},function(m){return Jc(o,c,m)}):Tm(o,c,d)}function Tm(o,c,d){c.status="fulfilled",c.value=d,Ad(c),o.state=d,c=o.pending,c!==null&&(d=c.next,d===c?o.pending=null:(d=d.next,c.next=d,Am(o,d)))}function Jc(o,c,d){var m=o.pending;if(o.pending=null,m!==null){m=m.next;do c.status="rejected",c.reason=d,Ad(c),c=c.next;while(c!==m)}o.action=null}function Ad(o){o=o.listeners;for(var c=0;c<o.length;c++)(0,o[c])()}function lf(o,c){return c}function Ys(o,c){if(ln){var d=oi.formState;if(d!==null){t:{var m=kr;if(ln){if(ii){e:{for(var S=ii,A=Si;S.nodeType!==8;){if(!A){S=null;break e}if(S=Xs(S.nextSibling),S===null){S=null;break e}}A=S.data,S=A==="F!"||A==="F"?S:null}if(S){ii=Xs(S.nextSibling),m=S.data==="F!";break t}}ic(m)}m=!1}m&&(c=d[0])}}return d=na(),d.memoizedState=d.baseState=c,m={pending:null,lanes:0,dispatch:null,lastRenderedReducer:lf,lastRenderedState:c},d.queue=m,d=KC.bind(null,kr,m),m.dispatch=d,m=fc(!1),A=Pb.bind(null,kr,!1,m.queue),m=na(),S={state:c,dispatch:null,action:o,pending:null},m.queue=S,d=_m.bind(null,kr,S,A,d),S.dispatch=d,m.memoizedState=o,[c,d,!1]}function El(o){var c=Ci();return Ml(c,Ar,o)}function Ml(o,c,d){if(c=eh(o,c,lf)[0],o=Cd(Vs)[0],typeof c=="object"&&c!==null&&typeof c.then=="function")try{var m=hc(c)}catch(G){throw G===At?ft:G}else m=c;c=Ci();var S=c.queue,A=S.dispatch;return d!==c.memoizedState&&(kr.flags|=2048,tu(9,{destroy:void 0},Td.bind(null,S,d),null)),[m,A,o]}function Td(o,c){o.action=c}function Ld(o){var c=Ci(),d=Ar;if(d!==null)return Ml(c,d,o);Ci(),c=c.memoizedState,d=Ci();var m=d.queue.dispatch;return d.memoizedState=o,[c,m,!1]}function tu(o,c,d,m){return o={tag:o,create:d,deps:m,inst:c,next:null},c=kr.updateQueue,c===null&&(c=sf(),kr.updateQueue=c),d=c.lastEffect,d===null?c.lastEffect=o.next=o:(m=d.next,d.next=o,o.next=m,c.lastEffect=o),o}function Lm(){return Ci().memoizedState}function rh(o,c,d,m){var S=na();kr.flags|=o,S.memoizedState=tu(1|c,{destroy:void 0},d,m===void 0?null:m)}function nh(o,c,d,m){var S=Ci();m=m===void 0?null:m;var A=S.memoizedState.inst;Ar!==null&&m!==null&&tg(m,Ar.memoizedState.deps)?S.memoizedState=tu(c,A,d,m):(kr.flags|=o,S.memoizedState=tu(1|c,A,d,m))}function $C(o,c){rh(8390656,8,o,c)}function Mb(o,c){nh(2048,8,o,c)}function eP(o){kr.flags|=4;var c=kr.updateQueue;if(c===null)c=sf(),kr.updateQueue=c,c.events=[o];else{var d=c.events;d===null?c.events=[o]:d.push(o)}}function jC(o){var c=Ci().memoizedState;return eP({ref:c,nextImpl:o}),function(){if((jn&2)!==0)throw Error(n(440));return c.impl.apply(void 0,arguments)}}
vendor: 4,592 bytes, line 9
9function DC(o,c){return nh(4,2,o,c)}function IC(o,c){return nh(4,4,o,c)}function zC(o,c){if(typeof c=="function"){o=o();var d=c(o);return function(){typeof d=="function"?d():c(null)}}if(c!=null)return o=o(),c.current=o,function(){c.current=null}}function FC(o,c,d){d=d!=null?d.concat([o]):null,nh(4,4,zC.bind(null,c,o),d)}function Rb(){}function qC(o,c){var d=Ci();c=c===void 0?null:c;var m=d.memoizedState;return c!==null&&tg(c,m[1])?m[0]:(d.memoizedState=[o,c],o)}function HC(o,c){var d=Ci();c=c===void 0?null:c;var m=d.memoizedState;if(c!==null&&tg(c,m[1]))return m[0];if(m=o(),Da){Se(!0);try{o()}finally{Se(!1)}}return d.memoizedState=[m,c],m}function Nb(o,c,d){return d===void 0||(wi&1073741824)!==0&&(mn&261930)===0?o.memoizedState=c:(o.memoizedState=d,o=U3(),kr.lanes|=o,oh|=o,d)}function UC(o,c,d,m){return fa(d,c)?d:rn.current!==null?(o=Nb(o,d,m),fa(o,c)||(ia=!0),o):(wi&42)===0||(wi&1073741824)!==0&&(mn&261930)===0?(ia=!0,o.memoizedState=d):(o=U3(),kr.lanes|=o,oh|=o,c)}function WC(o,c,d,m,S){var A=Z.p;Z.p=A!==0&&8>A?A:8;var G=D.T,st={};D.T=st,Pb(o,!1,c,d);try{var Ct=S(),Ft=D.S;if(Ft!==null&&Ft(st,Ct),Ct!==null&&typeof Ct=="object"&&typeof Ct.then=="function"){var oe=tt(Ct,m);lg(o,c,oe,vs(o))}else lg(o,c,m,vs(o))}catch(ye){lg(o,c,{then:function(){},status:"rejected",reason:ye},vs())}finally{Z.p=A,G!==null&&st.types!==null&&(G.types=st.types),D.T=G}}function rP(){}function Bb(o,c,d,m){if(o.tag!==5)throw Error(n(476));var S=GC(o).queue;WC(o,S,c,Q,d===null?rP:function(){return VC(o),d(m)})}function GC(o){var c=o.memoizedState;if(c!==null)return c;c={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vs,lastRenderedState:Q},next:null};var d={};return c.next={memoizedState:d,baseState:d,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vs,lastRenderedState:d},next:null},o.memoizedState=c,o=o.alternate,o!==null&&(o.memoizedState=c),c}function VC(o){var c=GC(o);c.next===null&&(c=o.alternate.memoizedState),lg(o,c.next.queue,{},vs())}function Ob(){return ma(_g)}function YC(){return Ci().memoizedState}function XC(){return Ci().memoizedState}function nP(o){for(var c=o.return;c!==null;){switch(c.tag){case 24:case 3:var d=vs();o=Nr(d);var m=Qr(c,o,d);m!==null&&(Wo(m,c,d),Pn(m,c,d)),c={cache:Ju()},o.payload=c;return}c=c.return}}function iP(o,c,d){var m=vs();d={lane:m,revertLane:0,gesture:null,action:d,hasEagerState:!1,eagerState:null,next:null},Em(o)?ZC(c,d):(d=cd(o,c,d,m),d!==null&&(Wo(d,o,m),QC(d,c,m)))}function KC(o,c,d){var m=vs();lg(o,c,d,m)}function lg(o,c,d,m){var S={lane:m,revertLane:0,gesture:null,action:d,hasEagerState:!1,eagerState:null,next:null};if(Em(o))ZC(c,S);else{var A=o.alternate;if(o.lanes===0&&(A===null||A.lanes===0)&&(A=c.lastRenderedReducer,A!==null))try{var G=c.lastRenderedState,st=A(G,d);if(S.hasEagerState=!0,S.eagerState=st,fa(st,G))return Jh(o,c,S,0),oi===null&&Qh(),!1}catch{}if(d=cd(o,c,S,m),d!==null)return Wo(d,o,m),QC(d,c,m),!0}return!1}function Pb(o,c,d,m){if(m={lane:2,revertLane:dv(),gesture:null,action:m,hasEagerState:!1,eagerState:null,next:null},Em(o)){if(c)throw Error(n(479))}else c=cd(o,d,m,2),c!==null&&Wo(c,o,2)}function Em(o){var c=o.alternate;return o===kr||c!==null&&c===kr}function ZC(o,c){zo=Qa=!0;var d=o.pending;d===null?c.next=c:(c.next=d.next,d.next=c),o.pending=c}function QC(o,c,d){if((d&4194048)!==0){var m=c.lanes;m&=o.pendingLanes,d|=m,c.lanes=d,rr(o,d)}}var cg={readContext:ma,use:th,useCallback:Jn,useContext:Jn,useEffect:Jn,useImperativeHandle:Jn,useLayoutEffect:Jn,useInsertionEffect:Jn,useMemo:Jn,useReducer:Jn,useRef:Jn,useState:Jn,useDebugValue:Jn,useDeferredValue:Jn,useTransition:Jn,useSyncExternalStore:Jn,useId:Jn,useHostTransitionStatus:Jn,useFormState:Jn,useActionState:Jn,useOptimistic:Jn,useMemoCache:Jn,useCacheRefresh:Jn};cg.useEffectEvent=Jn;var JC={readContext:ma,use:th,useCallback:function(o,c){return na().memoizedState=[o,c===void 0?null:c],o},useContext:ma,useEffect:$C,useImperativeHandle:function(o,c,d){d=d!=null?d.concat([o]):null,rh(4194308,4,zC.bind(null,c,o),d)},useLayoutEffect:function(o,c){return rh(4194308,4,o,c)},useInsertionEffect:function(o,c){rh(4,2,o,c)},useMemo:function(o,c){var d=na();c=c===void 0?null:c;var m=o();if(Da){Se(!0);try{o()}finally{Se(!1)}}return d.memoizedState=[m,c],m},useReducer:function(o,c,d){var m=na();if(d!==void 0){var S=d(c);if(Da){Se(!0);try{d(c)}finally{Se(!1)}}}else S=c;return m.memoizedState=m.baseState=S,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:S},m.queue=o,o=o.dispatch=iP.bind(null,kr,o),[m.memoizedState,o]}
vendor: 4,879 bytes, line 9
9,useRef:function(o){var c=na();return o={current:o},c.memoizedState=o},useState:function(o){o=fc(o);var c=o.queue,d=KC.bind(null,kr,c);return c.dispatch=d,[o.memoizedState,d]},useDebugValue:Rb,useDeferredValue:function(o,c){var d=na();return Nb(d,o,c)},useTransition:function(){var o=fc(!1);return o=WC.bind(null,kr,o.queue,!0,!1),na().memoizedState=o,[!1,o]},useSyncExternalStore:function(o,c,d){var m=kr,S=na();if(ln){if(d===void 0)throw Error(n(407));d=d()}else{if(d=c(),oi===null)throw Error(n(349));(mn&127)!==0||Ll(m,c,d)}S.memoizedState=d;var A={value:d,getSnapshot:c};return S.queue=A,$C(ag.bind(null,m,A,o),[o]),m.flags|=2048,tu(9,{destroy:void 0},ig.bind(null,m,A,d,c),null),d},useId:function(){var o=na(),c=oi.identifierPrefix;if(ln){var d=Do,m=jo;d=(m&~(1<<32-Pe(m)-1)).toString(32)+d,c="_"+c+"R_"+d,d=Ii++,0<d&&(c+="H"+d.toString(32)),c+="_"}else d=xd++,c="_"+c+"r_"+d.toString(32)+"_";return o.memoizedState=c},useHostTransitionStatus:Ob,useFormState:Ys,useActionState:Ys,useOptimistic:function(o){var c=na();c.memoizedState=c.baseState=o;var d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return c.queue=d,c=Pb.bind(null,kr,!0,d),d.dispatch=c,[o,c]},useMemoCache:Qc,useCacheRefresh:function(){return na().memoizedState=nP.bind(null,kr)},useEffectEvent:function(o){var c=na(),d={impl:o};return c.memoizedState=d,function(){if((jn&2)!==0)throw Error(n(440));return d.impl.apply(void 0,arguments)}}},$b={readContext:ma,use:th,useCallback:qC,useContext:ma,useEffect:Mb,useImperativeHandle:FC,useInsertionEffect:DC,useLayoutEffect:IC,useMemo:HC,useReducer:Cd,useRef:Lm,useState:function(){return Cd(Vs)},useDebugValue:Rb,useDeferredValue:function(o,c){var d=Ci();return UC(d,Ar.memoizedState,o,c)},useTransition:function(){var o=Cd(Vs)[0],c=Ci().memoizedState;return[typeof o=="boolean"?o:hc(o),c]},useSyncExternalStore:_d,useId:YC,useHostTransitionStatus:Ob,useFormState:El,useActionState:El,useOptimistic:function(o,c){var d=Ci();return km(d,Ar,o,c)},useMemoCache:Qc,useCacheRefresh:XC};$b.useEffectEvent=jC;var t3={readContext:ma,use:th,useCallback:qC,useContext:ma,useEffect:Mb,useImperativeHandle:FC,useInsertionEffect:DC,useLayoutEffect:IC,useMemo:HC,useReducer:kd,useRef:Lm,useState:function(){return kd(Vs)},useDebugValue:Rb,useDeferredValue:function(o,c){var d=Ci();return Ar===null?Nb(d,o,c):UC(d,Ar.memoizedState,o,c)},useTransition:function(){var o=kd(Vs)[0],c=Ci().memoizedState;return[typeof o=="boolean"?o:hc(o),c]},useSyncExternalStore:_d,useId:YC,useHostTransitionStatus:Ob,useFormState:Ld,useActionState:Ld,useOptimistic:function(o,c){var d=Ci();return Ar!==null?km(d,Ar,o,c):(d.baseState=o,[o,d.queue.dispatch])},useMemoCache:Qc,useCacheRefresh:XC};t3.useEffectEvent=jC;function jb(o,c,d,m){c=o.memoizedState,d=d(m,c),d=d==null?c:p({},c,d),o.memoizedState=d,o.lanes===0&&(o.updateQueue.baseState=d)}var Db={enqueueSetState:function(o,c,d){o=o._reactInternals;var m=vs(),S=Nr(m);S.payload=c,d!=null&&(S.callback=d),c=Qr(o,S,m),c!==null&&(Wo(c,o,m),Pn(c,o,m))},enqueueReplaceState:function(o,c,d){o=o._reactInternals;var m=vs(),S=Nr(m);S.tag=1,S.payload=c,d!=null&&(S.callback=d),c=Qr(o,S,m),c!==null&&(Wo(c,o,m),Pn(c,o,m))},enqueueForceUpdate:function(o,c){o=o._reactInternals;var d=vs(),m=Nr(d);m.tag=2,c!=null&&(m.callback=c),c=Qr(o,m,d),c!==null&&(Wo(c,o,d),Pn(c,o,d))}};function e3(o,c,d,m,S,A,G){return o=o.stateNode,typeof o.shouldComponentUpdate=="function"?o.shouldComponentUpdate(m,A,G):c.prototype&&c.prototype.isPureReactComponent?!Sl(d,m)||!Sl(S,A):!0}function r3(o,c,d,m){o=c.state,typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps(d,m),typeof c.UNSAFE_componentWillReceiveProps=="function"&&c.UNSAFE_componentWillReceiveProps(d,m),c.state!==o&&Db.enqueueReplaceState(c,c.state,null)}function cf(o,c){var d=c;if("ref"in c){d={};for(var m in c)m!=="ref"&&(d[m]=c[m])}if(o=o.defaultProps){d===c&&(d=p({},d));for(var S in o)d[S]===void 0&&(d[S]=o[S])}return d}function n3(o){Zh(o)}function i3(o){console.error(o)}function a3(o){Zh(o)}function Mm(o,c){try{var d=o.onUncaughtError;d(c.value,{componentStack:c.stack})}catch(m){setTimeout(function(){throw m})}}function o3(o,c,d){try{var m=o.onCaughtError;m(d.value,{componentStack:d.stack,errorBoundary:c.tag===1?c.stateNode:null})}catch(S){setTimeout(function(){throw S})}}function Ib(o,c,d){return d=Nr(d),d.tag=3,d.payload={element:null},d.callback=function(){Mm(o,c)},d}function s3(o){return o=Nr(o),o.tag=3,o}function l3(o,c,d,m){var S=d.type.getDerivedStateFromError;if(typeof S=="function"){var A=m.value;o.payload=function(){return S(A)},o.callback=function(){o3(c,d,m)}}var G=d.stateNode;G!==null&&typeof G.componentDidCatch=="function"&&(o.callback=function(){o3(c,d,m),typeof S!="function"&&(sh===null?sh=new Set([this]):sh.add(this));var st=m.stack;this.componentDidCatch(m.value,{componentStack:st!==null?st:""})})}
vendor: 12,659 bytes, line 9
9function aP(o,c,d,m,S){if(d.flags|=32768,m!==null&&typeof m=="object"&&typeof m.then=="function"){if(c=d.alternate,c!==null&&sc(c,d,S,!0),d=mi.current,d!==null){switch(d.tag){case 31:case 13:return _n===null?qm():d.alternate===null&&zi===0&&(zi=3),d.flags&=-257,d.flags|=65536,d.lanes=S,m===Mt?d.flags|=16384:(c=d.updateQueue,c===null?d.updateQueue=new Set([m]):c.add(m),uv(o,m,S)),!1;case 22:return d.flags|=65536,m===Mt?d.flags|=16384:(c=d.updateQueue,c===null?(c={transitions:null,markerInstances:null,retryQueue:new Set([m])},d.updateQueue=c):(d=c.retryQueue,d===null?c.retryQueue=new Set([m]):d.add(m)),uv(o,m,S)),!1}throw Error(n(435,d.tag))}return uv(o,m,S),qm(),!1}if(ln)return c=mi.current,c!==null?((c.flags&65536)===0&&(c.flags|=256),c.flags|=65536,c.lanes=S,m!==ms&&(o=Error(n(422),{cause:m}),Zu(Oo(o,d)))):(m!==ms&&(c=Error(n(423),{cause:m}),Zu(Oo(c,d))),o=o.current.alternate,o.flags|=65536,S&=-S,o.lanes|=S,m=Oo(m,d),S=Ib(o.stateNode,m,S),Vi(o,S),zi!==4&&(zi=2)),!1;var A=Error(n(520),{cause:m});if(A=Oo(A,d),yg===null?yg=[A]:yg.push(A),zi!==4&&(zi=2),c===null)return!0;m=Oo(m,d),d=c;do{switch(d.tag){case 3:return d.flags|=65536,o=S&-S,d.lanes|=o,o=Ib(d.stateNode,m,o),Vi(d,o),!1;case 1:if(c=d.type,A=d.stateNode,(d.flags&128)===0&&(typeof c.getDerivedStateFromError=="function"||A!==null&&typeof A.componentDidCatch=="function"&&(sh===null||!sh.has(A))))return d.flags|=65536,S&=-S,d.lanes|=S,S=s3(S),l3(S,o,d,m),Vi(d,S),!1}d=d.return}while(d!==null);return!1}var zb=Error(n(461)),ia=!1;function Ia(o,c,d,m){c.child=o===null?Vr(c,null,d,m):ai(c,o.child,d,m)}function c3(o,c,d,m,S){d=d.render;var A=c.ref;if("ref"in m){var G={};for(var st in m)st!=="ref"&&(G[st]=m[st])}else G=m;return lc(c),m=eg(o,c,d,G,A,S),st=rg(),o!==null&&!ia?(ng(o,c,S),eu(o,c,S)):(ln&&st&&Zp(c),c.flags|=1,Ia(o,c,m,S),c.child)}function u3(o,c,d,m,S){if(o===null){var A=d.type;return typeof A=="function"&&!hd(A)&&A.defaultProps===void 0&&d.compare===null?(c.tag=15,c.type=A,h3(o,c,A,m,S)):(o=Yu(d.type,null,m,c,c.mode,S),o.ref=c.ref,o.return=c,c.child=o)}if(A=o.child,!Yb(o,S)){var G=A.memoizedProps;if(d=d.compare,d=d!==null?d:Sl,d(G,m)&&o.ref===c.ref)return eu(o,c,S)}return c.flags|=1,o=Bo(A,m),o.ref=c.ref,o.return=c,c.child=o}function h3(o,c,d,m,S){if(o!==null){var A=o.memoizedProps;if(Sl(A,m)&&o.ref===c.ref)if(ia=!1,c.pendingProps=m=A,Yb(o,S))(o.flags&131072)!==0&&(ia=!0);else return c.lanes=o.lanes,eu(o,c,S)}return Fb(o,c,d,m,S)}function f3(o,c,d,m){var S=m.children,A=o!==null?o.memoizedState:null;if(o===null&&c.stateNode===null&&(c.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),m.mode==="hidden"){if((c.flags&128)!==0){if(A=A!==null?A.baseLanes|d:d,o!==null){for(m=c.child=o.child,S=0;m!==null;)S=S|m.lanes|m.childLanes,m=m.sibling;m=S&~A}else m=0,c.child=null;return d3(o,c,A,d,m)}if((d&536870912)!==0)c.memoizedState={baseLanes:0,cachePool:null},o!==null&&ut(c,A!==null?A.cachePool:null),A!==null?gi(c,A):En(),ji(c);else return m=c.lanes=536870912,d3(o,c,A!==null?A.baseLanes|d:d,d,m)}else A!==null?(ut(c,A.cachePool),gi(c,A),Di(),c.memoizedState=null):(o!==null&&ut(c,null),En(),Di());return Ia(o,c,S,d),c.child}function ug(o,c){return o!==null&&o.tag===22||c.stateNode!==null||(c.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.sibling}function d3(o,c,d,m,S){var A=ct();return A=A===null?null:{parent:Ni._currentValue,pool:A},c.memoizedState={baseLanes:d,cachePool:A},o!==null&&ut(c,null),En(),ji(c),o!==null&&sc(o,c,m,!0),c.childLanes=S,null}function Rm(o,c){return c=Bm({mode:c.mode,children:c.children},o.mode),c.ref=o.ref,o.child=c,c.return=o,c}function p3(o,c,d){return ai(c,o.child,null,d),o=Rm(c,c.pendingProps),o.flags|=2,Un(c),c.memoizedState=null,o}function oP(o,c,d){var m=c.pendingProps,S=(c.flags&128)!==0;if(c.flags&=-129,o===null){if(ln){if(m.mode==="hidden")return o=Rm(c,m),c.lanes=536870912,ug(null,o);if($n(c),(o=ii)?(o=A4(o,Si),o=o!==null&&o.data==="&"?o:null,o!==null&&(c.memoizedState={dehydrated:o,treeContext:nc!==null?{id:jo,overflow:Do}:null,retryLane:536870912,hydrationErrors:null},d=fd(o),d.return=c,c.child=d,pa=c,ii=null)):o=null,o===null)throw ic(c);return c.lanes=536870912,null}return Rm(c,m)}var A=o.memoizedState;if(A!==null){var G=A.dehydrated;if($n(c),S)if(c.flags&256)c.flags&=-257,c=p3(o,c,d);else if(c.memoizedState!==null)c.child=o.child,c.flags|=128,c=null;else throw Error(n(558));else if(ia||sc(o,c,d,!1),S=(d&o.childLanes)!==0,ia||S){if(m=oi,m!==null&&(G=jr(m,d),G!==0&&G!==A.retryLane))throw A.retryLane=G,_l(o,G),Wo(m,o,G),zb;qm(),c=p3(o,c,d)}else o=A.treeContext,ii=Xs(G.nextSibling),pa=c,ln=!0,ja=null,Si=!1,o!==null&&Sm(c,o),c=Rm(c,m),c.flags|=4096;return c}return o=Bo(o.child,{mode:m.mode,children:m.children}),o.ref=c.ref,c.child=o,o.return=c,o}function Nm(o,c){var d=c.ref;if(d===null)o!==null&&o.ref!==null&&(c.flags|=4194816);else{if(typeof d!="function"&&typeof d!="object")throw Error(n(284));(o===null||o.ref!==d)&&(c.flags|=4194816)}}function Fb(o,c,d,m,S){return lc(c),d=eg(o,c,d,m,void 0,S),m=rg(),o!==null&&!ia?(ng(o,c,S),eu(o,c,S)):(ln&&m&&Zp(c),c.flags|=1,Ia(o,c,d,S),c.child)}function g3(o,c,d,m,S,A){return lc(c),c.updateQueue=null,d=Tl(c,m,d,S),Sd(o),m=rg(),o!==null&&!ia?(ng(o,c,A),eu(o,c,A)):(ln&&m&&Zp(c),c.flags|=1,Ia(o,c,d,A),c.child)}function m3(o,c,d,m,S){if(lc(c),c.stateNode===null){var A=da,G=d.contextType;typeof G=="object"&&G!==null&&(A=ma(G)),A=new d(m,A),c.memoizedState=A.state!==null&&A.state!==void 0?A.state:null,A.updater=Db,c.stateNode=A,A._reactInternals=c,A=c.stateNode,A.props=m,A.state=c.memoizedState,A.refs={},Fe(c),G=d.contextType,A.context=typeof G=="object"&&G!==null?ma(G):da,A.state=c.memoizedState,G=d.getDerivedStateFromProps,typeof G=="function"&&(jb(c,d,G,m),A.state=c.memoizedState),typeof d.getDerivedStateFromProps=="function"||typeof A.getSnapshotBeforeUpdate=="function"||typeof A.UNSAFE_componentWillMount!="function"&&typeof A.componentWillMount!="function"||(G=A.state,typeof A.componentWillMount=="function"&&A.componentWillMount(),typeof A.UNSAFE_componentWillMount=="function"&&A.UNSAFE_componentWillMount(),G!==A.state&&Db.enqueueReplaceState(A,A.state,null),Pi(c,m,A,S),Qn(),A.state=c.memoizedState),typeof A.componentDidMount=="function"&&(c.flags|=4194308),m=!0}else if(o===null){A=c.stateNode;var st=c.memoizedProps,Ct=cf(d,st);A.props=Ct;var Ft=A.context,oe=d.contextType;G=da,typeof oe=="object"&&oe!==null&&(G=ma(oe));var ye=d.getDerivedStateFromProps;oe=typeof ye=="function"||typeof A.getSnapshotBeforeUpdate=="function",st=c.pendingProps!==st,oe||typeof A.UNSAFE_componentWillReceiveProps!="function"&&typeof A.componentWillReceiveProps!="function"||(st||Ft!==G)&&r3(c,A,m,G),Ye=!1;var Ut=c.memoizedState;A.state=Ut,Pi(c,m,A,S),Qn(),Ft=c.memoizedState,st||Ut!==Ft||Ye?(typeof ye=="function"&&(jb(c,d,ye,m),Ft=c.memoizedState),(Ct=Ye||e3(c,d,Ct,m,Ut,Ft,G))?(oe||typeof A.UNSAFE_componentWillMount!="function"&&typeof A.componentWillMount!="function"||(typeof A.componentWillMount=="function"&&A.componentWillMount(),typeof A.UNSAFE_componentWillMount=="function"&&A.UNSAFE_componentWillMount()),typeof A.componentDidMount=="function"&&(c.flags|=4194308)):(typeof A.componentDidMount=="function"&&(c.flags|=4194308),c.memoizedProps=m,c.memoizedState=Ft),A.props=m,A.state=Ft,A.context=G,m=Ct):(typeof A.componentDidMount=="function"&&(c.flags|=4194308),m=!1)}else{A=c.stateNode,pi(o,c),G=c.memoizedProps,oe=cf(d,G),A.props=oe,ye=c.pendingProps,Ut=A.context,Ft=d.contextType,Ct=da,typeof Ft=="object"&&Ft!==null&&(Ct=ma(Ft)),st=d.getDerivedStateFromProps,(Ft=typeof st=="function"||typeof A.getSnapshotBeforeUpdate=="function")||typeof A.UNSAFE_componentWillReceiveProps!="function"&&typeof A.componentWillReceiveProps!="function"||(G!==ye||Ut!==Ct)&&r3(c,A,m,Ct),Ye=!1,Ut=c.memoizedState,A.state=Ut,Pi(c,m,A,S),Qn();var Yt=c.memoizedState;G!==ye||Ut!==Yt||Ye||o!==null&&o.dependencies!==null&&yd(o.dependencies)?(typeof st=="function"&&(jb(c,d,st,m),Yt=c.memoizedState),(oe=Ye||e3(c,d,oe,m,Ut,Yt,Ct)||o!==null&&o.dependencies!==null&&yd(o.dependencies))?(Ft||typeof A.UNSAFE_componentWillUpdate!="function"&&typeof A.componentWillUpdate!="function"||(typeof A.componentWillUpdate=="function"&&A.componentWillUpdate(m,Yt,Ct),typeof A.UNSAFE_componentWillUpdate=="function"&&A.UNSAFE_componentWillUpdate(m,Yt,Ct)),typeof A.componentDidUpdate=="function"&&(c.flags|=4),typeof A.getSnapshotBeforeUpdate=="function"&&(c.flags|=1024)):(typeof A.componentDidUpdate!="function"||G===o.memoizedProps&&Ut===o.memoizedState||(c.flags|=4),typeof A.getSnapshotBeforeUpdate!="function"||G===o.memoizedProps&&Ut===o.memoizedState||(c.flags|=1024),c.memoizedProps=m,c.memoizedState=Yt),A.props=m,A.state=Yt,A.context=Ct,m=oe):(typeof A.componentDidUpdate!="function"||G===o.memoizedProps&&Ut===o.memoizedState||(c.flags|=4),typeof A.getSnapshotBeforeUpdate!="function"||G===o.memoizedProps&&Ut===o.memoizedState||(c.flags|=1024),m=!1)}return A=m,Nm(o,c),m=(c.flags&128)!==0,A||m?(A=c.stateNode,d=m&&typeof d.getDerivedStateFromError!="function"?null:A.render(),c.flags|=1,o!==null&&m?(c.child=ai(c,o.child,null,S),c.child=ai(c,null,d,S)):Ia(o,c,d,S),c.memoizedState=A.state,o=c.child):o=eu(o,c,S),o}function y3(o,c,d,m){return Kc(),c.flags|=256,Ia(o,c,d,m),c.child}var qb={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Hb(o){return{baseLanes:o,cachePool:dt()}}function Ub(o,c,d){return o=o!==null?o.childLanes&~d:0,c&&(o|=bs),o}function b3(o,c,d){var m=c.pendingProps,S=!1,A=(c.flags&128)!==0,G;if((G=A)||(G=o!==null&&o.memoizedState===null?!1:(vn.current&2)!==0),G&&(S=!0,c.flags&=-129),G=(c.flags&32)!==0,c.flags&=-33,o===null){if(ln){if(S?Bi(c):Di(),(o=ii)?(o=A4(o,Si),o=o!==null&&o.data!=="&"?o:null,o!==null&&(c.memoizedState={dehydrated:o,treeContext:nc!==null?{id:jo,overflow:Do}:null,retryLane:536870912,hydrationErrors:null},d=fd(o),d.return=c,c.child=d,pa=c,ii=null)):o=null,o===null)throw ic(c);return Av(o)?c.lanes=32:c.lanes=536870912,null}var st=m.children;return m=m.fallback,S?(Di(),S=c.mode,st=Bm({mode:"hidden",children:st},S),m=rc(m,S,d,null),st.return=c,m.return=c,st.sibling=m,c.child=st,m=c.child,m.memoizedState=Hb(d),m.childLanes=Ub(o,G,d),c.memoizedState=qb,ug(null,m)):(Bi(c),Wb(c,st))}var Ct=o.memoizedState;if(Ct!==null&&(st=Ct.dehydrated,st!==null)){if(A)c.flags&256?(Bi(c),c.flags&=-257,c=Gb(o,c,d)):c.memoizedState!==null?(Di(),c.child=o.child,c.flags|=128,c=null):(Di(),st=m.fallback,S=c.mode,m=Bm({mode:"visible",children:m.children},S),st=rc(st,S,d,null),st.flags|=2,m.return=c,st.return=c,m.sibling=st,c.child=m,ai(c,o.child,null,d),m=c.child,m.memoizedState=Hb(d),m.childLanes=Ub(o,G,d),c.memoizedState=qb,c=ug(null,m));else if(Bi(c),Av(st)){if(G=st.nextSibling&&st.nextSibling.dataset,G)var Ft=G.dgst;G=Ft,m=Error(n(419)),m.stack="",m.digest=G,Zu({value:m,source:null,stack:null}),c=Gb(o,c,d)}else if(ia||sc(o,c,d,!1),G=(d&o.childLanes)!==0,ia||G){if(G=oi,G!==null&&(m=jr(G,d),m!==0&&m!==Ct.retryLane))throw Ct.retryLane=m,_l(o,m),Wo(G,o,m),zb;_v(st)||qm(),c=Gb(o,c,d)}else _v(st)?(c.flags|=192,c.child=o.child,c=null):(o=Ct.treeContext,ii=Xs(st.nextSibling),pa=c,ln=!0,ja=null,Si=!1,o!==null&&Sm(c,o),c=Wb(c,m.children),c.flags|=4096);return c}return S?(Di(),st=m.fallback,S=c.mode,Ct=o.child,Ft=Ct.sibling,m=Bo(Ct,{mode:"hidden",children:m.children}),m.subtreeFlags=Ct.subtreeFlags&65011712,Ft!==null?st=Bo(Ft,st):(st=rc(st,S,d,null),st.flags|=2),st.return=c,m.return=c,m.sibling=st,c.child=m,ug(null,m),m=c.child,st=o.child.memoizedState,st===null?st=Hb(d):(S=st.cachePool,S!==null?(Ct=Ni._currentValue,S=S.parent!==Ct?{parent:Ct,pool:Ct}:S):S=dt(),st={baseLanes:st.baseLanes|d,cachePool:S}),m.memoizedState=st,m.childLanes=Ub(o,G,d),c.memoizedState=qb,ug(o.child,m)):(Bi(c),d=o.child,o=d.sibling,d=Bo(d,{mode:"visible",children:m.children}),d.return=c,d.sibling=null,o!==null&&(G=c.deletions,G===null?(c.deletions=[o],c.flags|=16):G.push(o)),c.child=d,c.memoizedState=null,d)}function Wb(o,c){return c=Bm({mode:"visible",children:c},o.mode),c.return=o,o.child=c}function Bm(o,c){return o=Ta(22,o,null,c),o.lanes=0,o}function Gb(o,c,d){return ai(c,o.child,null,d),o=Wb(c,c.pendingProps.children),o.flags|=2,c.memoizedState=null,o}function v3(o,c,d){o.lanes|=c;var m=o.alternate;m!==null&&(m.lanes|=c),Qu(o.return,c,d)}function Vb(o,c,d,m,S,A){var G=o.memoizedState;G===null?o.memoizedState={isBackwards:c,rendering:null,renderingStartTime:0,last:m,tail:d,tailMode:S,treeForkCount:A}:(G.isBackwards=c,G.rendering=null,G.renderingStartTime=0,G.last=m,G.tail=d,G.tailMode=S,G.treeForkCount=A)}function x3(o,c,d){var m=c.pendingProps,S=m.revealOrder,A=m.tail;m=m.children;var G=vn.current,st=(G&2)!==0;
vendor: 5,554 bytes, line 9
9if(st?(G=G&1|2,c.flags|=128):G&=1,X(vn,G),Ia(o,c,m,d),m=ln?nf:0,!st&&o!==null&&(o.flags&128)!==0)t:for(o=c.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&v3(o,d,c);else if(o.tag===19)v3(o,d,c);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===c)break t;for(;o.sibling===null;){if(o.return===null||o.return===c)break t;o=o.return}o.sibling.return=o.return,o=o.sibling}switch(S){case"forwards":for(d=c.child,S=null;d!==null;)o=d.alternate,o!==null&&Ea(o)===null&&(S=d),d=d.sibling;d=S,d===null?(S=c.child,c.child=null):(S=d.sibling,d.sibling=null),Vb(c,!1,S,d,A,m);break;case"backwards":case"unstable_legacy-backwards":for(d=null,S=c.child,c.child=null;S!==null;){if(o=S.alternate,o!==null&&Ea(o)===null){c.child=S;break}o=S.sibling,S.sibling=d,d=S,S=o}Vb(c,!0,d,null,A,m);break;case"together":Vb(c,!1,null,null,void 0,m);break;default:c.memoizedState=null}return c.child}function eu(o,c,d){if(o!==null&&(c.dependencies=o.dependencies),oh|=c.lanes,(d&c.childLanes)===0)if(o!==null){if(sc(o,c,d,!1),(d&c.childLanes)===0)return null}else return null;if(o!==null&&c.child!==o.child)throw Error(n(153));if(c.child!==null){for(o=c.child,d=Bo(o,o.pendingProps),c.child=d,d.return=c;o.sibling!==null;)o=o.sibling,d=d.sibling=Bo(o,o.pendingProps),d.return=c;d.sibling=null}return c.child}function Yb(o,c){return(o.lanes&c)!==0?!0:(o=o.dependencies,!!(o!==null&&yd(o)))}function sP(o,c,d){switch(c.tag){case 3:bt(c,c.stateNode.containerInfo),oc(c,Ni,o.memoizedState.cache),Kc();break;case 27:case 5:kt(c);break;case 4:bt(c,c.stateNode.containerInfo);break;case 10:oc(c,c.type,c.memoizedProps.value);break;case 31:if(c.memoizedState!==null)return c.flags|=128,$n(c),null;break;case 13:var m=c.memoizedState;if(m!==null)return m.dehydrated!==null?(Bi(c),c.flags|=128,null):(d&c.child.childLanes)!==0?b3(o,c,d):(Bi(c),o=eu(o,c,d),o!==null?o.sibling:null);Bi(c);break;case 19:var S=(o.flags&128)!==0;if(m=(d&c.childLanes)!==0,m||(sc(o,c,d,!1),m=(d&c.childLanes)!==0),S){if(m)return x3(o,c,d);c.flags|=128}if(S=c.memoizedState,S!==null&&(S.rendering=null,S.tail=null,S.lastEffect=null),X(vn,vn.current),m)break;return null;case 22:return c.lanes=0,f3(o,c,d,c.pendingProps);case 24:oc(c,Ni,o.memoizedState.cache)}return eu(o,c,d)}function S3(o,c,d){if(o!==null)if(o.memoizedProps!==c.pendingProps)ia=!0;else{if(!Yb(o,d)&&(c.flags&128)===0)return ia=!1,sP(o,c,d);ia=(o.flags&131072)!==0}else ia=!1,ln&&(c.flags&1048576)!==0&&xm(c,nf,c.index);switch(c.lanes=0,c.tag){case 16:t:{var m=c.pendingProps;if(o=jt(c.elementType),c.type=o,typeof o=="function")hd(o)?(m=cf(o,m),c.tag=1,c=m3(null,c,o,m,d)):(c.tag=0,c=Fb(null,c,o,m,d));else{if(o!=null){var S=o.$$typeof;if(S===L){c.tag=11,c=c3(null,c,o,m,d);break t}else if(S===q){c.tag=14,c=u3(null,c,o,m,d);break t}}throw c=z(o)||o,Error(n(306,c,""))}}return c;case 0:return Fb(o,c,c.type,c.pendingProps,d);case 1:return m=c.type,S=cf(m,c.pendingProps),m3(o,c,m,S,d);case 3:t:{if(bt(c,c.stateNode.containerInfo),o===null)throw Error(n(387));m=c.pendingProps;var A=c.memoizedState;S=A.element,pi(o,c),Pi(c,m,null,d);var G=c.memoizedState;if(m=G.cache,oc(c,Ni,m),m!==A.cache&&Zc(c,[Ni],d,!0),Qn(),m=G.element,A.isDehydrated)if(A={element:m,isDehydrated:!1,cache:G.cache},c.updateQueue.baseState=A,c.memoizedState=A,c.flags&256){c=y3(o,c,m,d);break t}else if(m!==S){S=Oo(Error(n(424)),c),Zu(S),c=y3(o,c,m,d);break t}else for(o=c.stateNode.containerInfo,o.nodeType===9?o=o.body:o=o.nodeName==="HTML"?o.ownerDocument.body:o,ii=Xs(o.firstChild),pa=c,ln=!0,ja=null,Si=!0,d=Vr(c,null,m,d),c.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling;else{if(Kc(),m===S){c=eu(o,c,d);break t}Ia(o,c,m,d)}c=c.child}return c;case 26:return Nm(o,c),o===null?(d=N4(c.type,null,c.pendingProps,null))?c.memoizedState=d:ln||(d=c.type,o=c.pendingProps,m=Xm(lt.current).createElement(d),m[mr]=c,m[Cr]=o,za(m,d,o),Je(m),c.stateNode=m):c.memoizedState=N4(c.type,o.memoizedProps,c.pendingProps,o.memoizedState),null;case 27:return kt(c),o===null&&ln&&(m=c.stateNode=E4(c.type,c.pendingProps,lt.current),pa=c,Si=!0,S=ii,hh(c.type)?(Tv=S,ii=Xs(m.firstChild)):ii=S),Ia(o,c,c.pendingProps.children,d),Nm(o,c),o===null&&(c.flags|=4194304),c.child;case 5:return o===null&&ln&&((S=m=ii)&&(m=jP(m,c.type,c.pendingProps,Si),m!==null?(c.stateNode=m,pa=c,ii=Xs(m.firstChild),Si=!1,S=!0):S=!1),S||ic(c)),kt(c),S=c.type,A=c.pendingProps,G=o!==null?o.memoizedProps:null,m=A.children,wv(S,A)?m=null:G!==null&&wv(S,G)&&(c.flags|=32),c.memoizedState!==null&&(S=eg(o,c,Eb,null,null,d),_g._currentValue=S),Nm(o,c),Ia(o,c,m,d),c.child;case 6:return o===null&&ln&&((o=d=ii)&&(d=DP(d,c.pendingProps,Si),d!==null?(c.stateNode=d,pa=c,ii=null,o=!0):o=!1),o||ic(c)),null;case 13:return b3(o,c,d);case 4:return bt(c,c.stateNode.containerInfo),m=c.pendingProps,o===null?c.child=ai(c,null,m,d):Ia(o,c,m,d),c.child;case 11:return c3(o,c,c.type,c.pendingProps,d);case 7:return Ia(o,c,c.pendingProps,d),c.child;case 8:return Ia(o,c,c.pendingProps.children,d),c.child;case 12:return Ia(o,c,c.pendingProps.children,d),c.child;case 10:return m=c.pendingProps,oc(c,c.type,m.value),Ia(o,c,m.children,d),c.child;case 9:return S=c.type._context,m=c.pendingProps.children,lc(c),S=ma(S),m=m(S),c.flags|=1,Ia(o,c,m,d),c.child;case 14:return u3(o,c,c.type,c.pendingProps,d);case 15:return h3(o,c,c.type,c.pendingProps,d);case 19:return x3(o,c,d);case 31:return oP(o,c,d);case 22:return f3(o,c,d,c.pendingProps);case 24:return lc(c),m=ma(Ni),o===null?(S=ct(),S===null&&(S=oi,A=Ju(),S.pooledCache=A,A.refCount++,A!==null&&(S.pooledCacheLanes|=d),S=A),c.memoizedState={parent:m,cache:S}
vendor: 4,563 bytes, line 9
9,Fe(c),oc(c,Ni,S)):((o.lanes&d)!==0&&(pi(o,c),Pi(c,null,null,d),Qn()),S=o.memoizedState,A=c.memoizedState,S.parent!==m?(S={parent:m,cache:m},c.memoizedState=S,c.lanes===0&&(c.memoizedState=c.updateQueue.baseState=S),oc(c,Ni,m)):(m=A.cache,oc(c,Ni,m),m!==S.cache&&Zc(c,[Ni],d,!0))),Ia(o,c,c.pendingProps.children,d),c.child;case 29:throw c.pendingProps}throw Error(n(156,c.tag))}function ru(o){o.flags|=4}function Xb(o,c,d,m,S){if((c=(o.mode&32)!==0)&&(c=!1),c){if(o.flags|=16777216,(S&335544128)===S)if(o.stateNode.complete)o.flags|=8192;else if(Y3())o.flags|=8192;else throw re=Mt,It}else o.flags&=-16777217}function w3(o,c){if(c.type!=="stylesheet"||(c.state.loading&4)!==0)o.flags&=-16777217;else if(o.flags|=16777216,!j4(c))if(Y3())o.flags|=8192;else throw re=Mt,It}function Om(o,c){c!==null&&(o.flags|=4),o.flags&16384&&(c=o.tag!==22?me():536870912,o.lanes|=c,Nd|=c)}function hg(o,c){if(!ln)switch(o.tailMode){case"hidden":c=o.tail;for(var d=null;c!==null;)c.alternate!==null&&(d=c),c=c.sibling;d===null?o.tail=null:d.sibling=null;break;case"collapsed":d=o.tail;for(var m=null;d!==null;)d.alternate!==null&&(m=d),d=d.sibling;m===null?c||o.tail===null?o.tail=null:o.tail.sibling=null:m.sibling=null}}function yi(o){var c=o.alternate!==null&&o.alternate.child===o.child,d=0,m=0;if(c)for(var S=o.child;S!==null;)d|=S.lanes|S.childLanes,m|=S.subtreeFlags&65011712,m|=S.flags&65011712,S.return=o,S=S.sibling;else for(S=o.child;S!==null;)d|=S.lanes|S.childLanes,m|=S.subtreeFlags,m|=S.flags,S.return=o,S=S.sibling;return o.subtreeFlags|=m,o.childLanes=d,c}function lP(o,c,d){var m=c.pendingProps;switch(gd(c),c.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return yi(c),null;case 1:return yi(c),null;case 3:return d=c.stateNode,m=null,o!==null&&(m=o.memoizedState.cache),c.memoizedState.cache!==m&&(c.flags|=2048),Io(Ni),yt(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(o===null||o.child===null)&&(ga(c)?ru(c):o===null||o.memoizedState.isDehydrated&&(c.flags&256)===0||(c.flags|=1024,Jp())),yi(c),null;case 26:var S=c.type,A=c.memoizedState;return o===null?(ru(c),A!==null?(yi(c),w3(c,A)):(yi(c),Xb(c,S,null,m,d))):A?A!==o.memoizedState?(ru(c),yi(c),w3(c,A)):(yi(c),c.flags&=-16777217):(o=o.memoizedProps,o!==m&&ru(c),yi(c),Xb(c,S,o,m,d)),null;case 27:if(Rt(c),d=lt.current,S=c.type,o!==null&&c.stateNode!=null)o.memoizedProps!==m&&ru(c);else{if(!m){if(c.stateNode===null)throw Error(n(166));return yi(c),null}o=et.current,ga(c)?Qp(c):(o=E4(S,m,d),c.stateNode=o,ru(c))}return yi(c),null;case 5:if(Rt(c),S=c.type,o!==null&&c.stateNode!=null)o.memoizedProps!==m&&ru(c);else{if(!m){if(c.stateNode===null)throw Error(n(166));return yi(c),null}if(A=et.current,ga(c))Qp(c);else{var G=Xm(lt.current);switch(A){case 1:A=G.createElementNS("http://www.w3.org/2000/svg",S);break;case 2:A=G.createElementNS("http://www.w3.org/1998/Math/MathML",S);break;default:switch(S){case"svg":A=G.createElementNS("http://www.w3.org/2000/svg",S);break;case"math":A=G.createElementNS("http://www.w3.org/1998/Math/MathML",S);break;case"script":A=G.createElement("div"),A.innerHTML="<script><\/script>",A=A.removeChild(A.firstChild);break;case"select":A=typeof m.is=="string"?G.createElement("select",{is:m.is}):G.createElement("select"),m.multiple?A.multiple=!0:m.size&&(A.size=m.size);break;default:A=typeof m.is=="string"?G.createElement(S,{is:m.is}):G.createElement(S)}}A[mr]=c,A[Cr]=m;t:for(G=c.child;G!==null;){if(G.tag===5||G.tag===6)A.appendChild(G.stateNode);else if(G.tag!==4&&G.tag!==27&&G.child!==null){G.child.return=G,G=G.child;continue}if(G===c)break t;for(;G.sibling===null;){if(G.return===null||G.return===c)break t;G=G.return}G.sibling.return=G.return,G=G.sibling}c.stateNode=A;t:switch(za(A,S,m),S){case"button":case"input":case"select":case"textarea":m=!!m.autoFocus;break t;case"img":m=!0;break t;default:m=!1}m&&ru(c)}}return yi(c),Xb(c,c.type,o===null?null:o.memoizedProps,c.pendingProps,d),null;case 6:if(o&&c.stateNode!=null)o.memoizedProps!==m&&ru(c);else{if(typeof m!="string"&&c.stateNode===null)throw Error(n(166));if(o=lt.current,ga(c)){if(o=c.stateNode,d=c.memoizedProps,m=null,S=pa,S!==null)switch(S.tag){case 27:case 5:m=S.memoizedProps}o[mr]=c,o=!!(o.nodeValue===d||m!==null&&m.suppressHydrationWarning===!0||b4(o.nodeValue,d)),o||ic(c,!0)}else o=Xm(o).createTextNode(m),o[mr]=c,c.stateNode=o}return yi(c),null;case 31:if(d=c.memoizedState,o===null||o.memoizedState!==null){if(m=ga(c),d!==null){if(o===null){if(!m)throw Error(n(318));if(o=c.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(n(557)
vendor: 24,753 bytes, line 9
9);o[mr]=c}else Kc(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;yi(c),o=!1}else d=Jp(),o!==null&&o.memoizedState!==null&&(o.memoizedState.hydrationErrors=d),o=!0;if(!o)return c.flags&256?(Un(c),c):(Un(c),null);if((c.flags&128)!==0)throw Error(n(558))}return yi(c),null;case 13:if(m=c.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(S=ga(c),m!==null&&m.dehydrated!==null){if(o===null){if(!S)throw Error(n(318));if(S=c.memoizedState,S=S!==null?S.dehydrated:null,!S)throw Error(n(317));S[mr]=c}else Kc(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;yi(c),S=!1}else S=Jp(),o!==null&&o.memoizedState!==null&&(o.memoizedState.hydrationErrors=S),S=!0;if(!S)return c.flags&256?(Un(c),c):(Un(c),null)}return Un(c),(c.flags&128)!==0?(c.lanes=d,c):(d=m!==null,o=o!==null&&o.memoizedState!==null,d&&(m=c.child,S=null,m.alternate!==null&&m.alternate.memoizedState!==null&&m.alternate.memoizedState.cachePool!==null&&(S=m.alternate.memoizedState.cachePool.pool),A=null,m.memoizedState!==null&&m.memoizedState.cachePool!==null&&(A=m.memoizedState.cachePool.pool),A!==S&&(m.flags|=2048)),d!==o&&d&&(c.child.flags|=8192),Om(c,c.updateQueue),yi(c),null);case 4:return yt(),o===null&&yv(c.stateNode.containerInfo),yi(c),null;case 10:return Io(c.type),yi(c),null;case 19:if(P(vn),m=c.memoizedState,m===null)return yi(c),null;if(S=(c.flags&128)!==0,A=m.rendering,A===null)if(S)hg(m,!1);else{if(zi!==0||o!==null&&(o.flags&128)!==0)for(o=c.child;o!==null;){if(A=Ea(o),A!==null){for(c.flags|=128,hg(m,!1),o=A.updateQueue,c.updateQueue=o,Om(c,o),c.subtreeFlags=0,o=d,d=c.child;d!==null;)ef(d,o),d=d.sibling;return X(vn,vn.current&1|2),ln&&vo(c,m.treeForkCount),c.child}o=o.sibling}m.tail!==null&&de()>Im&&(c.flags|=128,S=!0,hg(m,!1),c.lanes=4194304)}else{if(!S)if(o=Ea(A),o!==null){if(c.flags|=128,S=!0,o=o.updateQueue,c.updateQueue=o,Om(c,o),hg(m,!0),m.tail===null&&m.tailMode==="hidden"&&!A.alternate&&!ln)return yi(c),null}else 2*de()-m.renderingStartTime>Im&&d!==536870912&&(c.flags|=128,S=!0,hg(m,!1),c.lanes=4194304);m.isBackwards?(A.sibling=c.child,c.child=A):(o=m.last,o!==null?o.sibling=A:c.child=A,m.last=A)}return m.tail!==null?(o=m.tail,m.rendering=o,m.tail=o.sibling,m.renderingStartTime=de(),o.sibling=null,d=vn.current,X(vn,S?d&1|2:d&1),ln&&vo(c,m.treeForkCount),o):(yi(c),null);case 22:case 23:return Un(c),Yi(),m=c.memoizedState!==null,o!==null?o.memoizedState!==null!==m&&(c.flags|=8192):m&&(c.flags|=8192),m?(d&536870912)!==0&&(c.flags&128)===0&&(yi(c),c.subtreeFlags&6&&(c.flags|=8192)):yi(c),d=c.updateQueue,d!==null&&Om(c,d.retryQueue),d=null,o!==null&&o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(d=o.memoizedState.cachePool.pool),m=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(m=c.memoizedState.cachePool.pool),m!==d&&(c.flags|=2048),o!==null&&P(ot),null;case 24:return d=null,o!==null&&(d=o.memoizedState.cache),c.memoizedState.cache!==d&&(c.flags|=2048),Io(Ni),yi(c),null;case 25:return null;case 30:return null}throw Error(n(156,c.tag))}function cP(o,c){switch(gd(c),c.tag){case 1:return o=c.flags,o&65536?(c.flags=o&-65537|128,c):null;case 3:return Io(Ni),yt(),o=c.flags,(o&65536)!==0&&(o&128)===0?(c.flags=o&-65537|128,c):null;case 26:case 27:case 5:return Rt(c),null;case 31:if(c.memoizedState!==null){if(Un(c),c.alternate===null)throw Error(n(340));Kc()}return o=c.flags,o&65536?(c.flags=o&-65537|128,c):null;case 13:if(Un(c),o=c.memoizedState,o!==null&&o.dehydrated!==null){if(c.alternate===null)throw Error(n(340));Kc()}return o=c.flags,o&65536?(c.flags=o&-65537|128,c):null;case 19:return P(vn),null;case 4:return yt(),null;case 10:return Io(c.type),null;case 22:case 23:return Un(c),Yi(),o!==null&&P(ot),o=c.flags,o&65536?(c.flags=o&-65537|128,c):null;case 24:return Io(Ni),null;case 25:return null;default:return null}}function C3(o,c){switch(gd(c),c.tag){case 3:Io(Ni),yt();break;case 26:case 27:case 5:Rt(c);break;case 4:yt();break;case 31:c.memoizedState!==null&&Un(c);break;case 13:Un(c);break;case 19:P(vn);break;case 10:Io(c.type);break;case 22:case 23:Un(c),Yi(),o!==null&&P(ot);break;case 24:Io(Ni)}}function fg(o,c){try{var d=c.updateQueue,m=d!==null?d.lastEffect:null;if(m!==null){var S=m.next;d=S;do{if((d.tag&o)===o){m=void 0;var A=d.create,G=d.inst;m=A(),G.destroy=m}d=d.next}while(d!==S)}}catch(st){Gn(c,c.return,st)}}function ih(o,c,d){try{var m=c.updateQueue,S=m!==null?m.lastEffect:null;if(S!==null){var A=S.next;m=A;do{if((m.tag&o)===o){var G=m.inst,st=G.destroy;if(st!==void 0){G.destroy=void 0,S=c;var Ct=d,Ft=st;try{Ft()}catch(oe){Gn(S,Ct,oe)}}}m=m.next}while(m!==A)}}catch(oe){Gn(c,c.return,oe)}}function k3(o){var c=o.updateQueue;if(c!==null){var d=o.stateNode;try{$i(c,d)}catch(m){Gn(o,o.return,m)}}}function _3(o,c,d){d.props=cf(o.type,o.memoizedProps),d.state=o.memoizedState;try{d.componentWillUnmount()}catch(m){Gn(o,c,m)}}function dg(o,c){try{var d=o.ref;if(d!==null){switch(o.tag){case 26:case 27:case 5:var m=o.stateNode;break;case 30:m=o.stateNode;break;default:m=o.stateNode}typeof d=="function"?o.refCleanup=d(m):d.current=m}}catch(S){Gn(o,c,S)}}function dc(o,c){var d=o.ref,m=o.refCleanup;if(d!==null)if(typeof m=="function")try{m()}catch(S){Gn(o,c,S)}finally{o.refCleanup=null,o=o.alternate,o!=null&&(o.refCleanup=null)}else if(typeof d=="function")try{d(null)}catch(S){Gn(o,c,S)}else d.current=null}function A3(o){var c=o.type,d=o.memoizedProps,m=o.stateNode;try{t:switch(c){case"button":case"input":case"select":case"textarea":d.autoFocus&&m.focus();break t;case"img":d.src?m.src=d.src:d.srcSet&&(m.srcset=d.srcSet)}}catch(S){Gn(o,o.return,S)}}function Kb(o,c,d){try{var m=o.stateNode;RP(m,o.type,d,c),m[Cr]=c}catch(S){Gn(o,o.return,S)}}function T3(o){return o.tag===5||o.tag===3||o.tag===26||o.tag===27&&hh(o.type)||o.tag===4}function Zb(o){t:for(;;){for(;o.sibling===null;){if(o.return===null||T3(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.tag===27&&hh(o.type)||o.flags&2||o.child===null||o.tag===4)continue t;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function Qb(o,c,d){var m=o.tag;if(m===5||m===6)o=o.stateNode,c?(d.nodeType===9?d.body:d.nodeName==="HTML"?d.ownerDocument.body:d).insertBefore(o,c):(c=d.nodeType===9?d.body:d.nodeName==="HTML"?d.ownerDocument.body:d,c.appendChild(o),d=d._reactRootContainer,d!=null||c.onclick!==null||(c.onclick=po));else if(m!==4&&(m===27&&hh(o.type)&&(d=o.stateNode,c=null),o=o.child,o!==null))for(Qb(o,c,d),o=o.sibling;o!==null;)Qb(o,c,d),o=o.sibling}function Pm(o,c,d){var m=o.tag;if(m===5||m===6)o=o.stateNode,c?d.insertBefore(o,c):d.appendChild(o);else if(m!==4&&(m===27&&hh(o.type)&&(d=o.stateNode),o=o.child,o!==null))for(Pm(o,c,d),o=o.sibling;o!==null;)Pm(o,c,d),o=o.sibling}function L3(o){var c=o.stateNode,d=o.memoizedProps;try{for(var m=o.type,S=c.attributes;S.length;)c.removeAttributeNode(S[0]);za(c,m,d),c[mr]=o,c[Cr]=d}catch(A){Gn(o,o.return,A)}}var nu=!1,aa=!1,Jb=!1,E3=typeof WeakSet=="function"?WeakSet:Set,Ma=null;function uP(o,c){if(o=o.containerInfo,xv=r1,o=Cl(o),Us(o)){if("selectionStart"in o)var d={start:o.selectionStart,end:o.selectionEnd};else t:{d=(d=o.ownerDocument)&&d.defaultView||window;var m=d.getSelection&&d.getSelection();if(m&&m.rangeCount!==0){d=m.anchorNode;var S=m.anchorOffset,A=m.focusNode;m=m.focusOffset;try{d.nodeType,A.nodeType}catch{d=null;break t}var G=0,st=-1,Ct=-1,Ft=0,oe=0,ye=o,Ut=null;e:for(;;){for(var Yt;ye!==d||S!==0&&ye.nodeType!==3||(st=G+S),ye!==A||m!==0&&ye.nodeType!==3||(Ct=G+m),ye.nodeType===3&&(G+=ye.nodeValue.length),(Yt=ye.firstChild)!==null;)Ut=ye,ye=Yt;for(;;){if(ye===o)break e;if(Ut===d&&++Ft===S&&(st=G),Ut===A&&++oe===m&&(Ct=G),(Yt=ye.nextSibling)!==null)break;ye=Ut,Ut=ye.parentNode}ye=Yt}d=st===-1||Ct===-1?null:{start:st,end:Ct}}else d=null}d=d||{start:0,end:0}}else d=null;for(Sv={focusedElem:o,selectionRange:d},r1=!1,Ma=c;Ma!==null;)if(c=Ma,o=c.child,(c.subtreeFlags&1028)!==0&&o!==null)o.return=c,Ma=o;else for(;Ma!==null;){switch(c=Ma,A=c.alternate,o=c.flags,c.tag){case 0:if((o&4)!==0&&(o=c.updateQueue,o=o!==null?o.events:null,o!==null))for(d=0;d<o.length;d++)S=o[d],S.ref.impl=S.nextImpl;break;case 11:case 15:break;case 1:if((o&1024)!==0&&A!==null){o=void 0,d=c,S=A.memoizedProps,A=A.memoizedState,m=d.stateNode;try{var er=cf(d.type,S);o=m.getSnapshotBeforeUpdate(er,A),m.__reactInternalSnapshotBeforeUpdate=o}catch(Pr){Gn(d,d.return,Pr)}}break;case 3:if((o&1024)!==0){if(o=c.stateNode.containerInfo,d=o.nodeType,d===9)kv(o);else if(d===1)switch(o.nodeName){case"HEAD":case"HTML":case"BODY":kv(o);break;default:o.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((o&1024)!==0)throw Error(n(163))}if(o=c.sibling,o!==null){o.return=c.return,Ma=o;break}Ma=c.return}}function M3(o,c,d){var m=d.flags;switch(d.tag){case 0:case 11:case 15:au(o,d),m&4&&fg(5,d);break;case 1:if(au(o,d),m&4)if(o=d.stateNode,c===null)try{o.componentDidMount()}catch(G){Gn(d,d.return,G)}else{var S=cf(d.type,c.memoizedProps);c=c.memoizedState;try{o.componentDidUpdate(S,c,o.__reactInternalSnapshotBeforeUpdate)}catch(G){Gn(d,d.return,G)}}m&64&&k3(d),m&512&&dg(d,d.return);break;case 3:if(au(o,d),m&64&&(o=d.updateQueue,o!==null)){if(c=null,d.child!==null)switch(d.child.tag){case 27:case 5:c=d.child.stateNode;break;case 1:c=d.child.stateNode}try{$i(o,c)}catch(G){Gn(d,d.return,G)}}break;case 27:c===null&&m&4&&L3(d);case 26:case 5:au(o,d),c===null&&m&4&&A3(d),m&512&&dg(d,d.return);break;case 12:au(o,d);break;case 31:au(o,d),m&4&&B3(o,d);break;case 13:au(o,d),m&4&&O3(o,d),m&64&&(o=d.memoizedState,o!==null&&(o=o.dehydrated,o!==null&&(d=vP.bind(null,d),IP(o,d))));break;case 22:if(m=d.memoizedState!==null||nu,!m){c=c!==null&&c.memoizedState!==null||aa,S=nu;var A=aa;nu=m,(aa=c)&&!A?ou(o,d,(d.subtreeFlags&8772)!==0):au(o,d),nu=S,aa=A}break;case 30:break;default:au(o,d)}}function R3(o){var c=o.alternate;c!==null&&(o.alternate=null,R3(c)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(c=o.stateNode,c!==null&&vt(c)),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}var ki=null,Fo=!1;function iu(o,c,d){for(d=d.child;d!==null;)N3(o,c,d),d=d.sibling}function N3(o,c,d){if(Jt&&typeof Jt.onCommitFiberUnmount=="function")try{Jt.onCommitFiberUnmount(He,d)}catch{}switch(d.tag){case 26:aa||dc(d,c),iu(o,c,d),d.memoizedState?d.memoizedState.count--:d.stateNode&&(d=d.stateNode,d.parentNode.removeChild(d));break;case 27:aa||dc(d,c);var m=ki,S=Fo;hh(d.type)&&(ki=d.stateNode,Fo=!1),iu(o,c,d),wg(d.stateNode),ki=m,Fo=S;break;case 5:aa||dc(d,c);case 6:if(m=ki,S=Fo,ki=null,iu(o,c,d),ki=m,Fo=S,ki!==null)if(Fo)try{(ki.nodeType===9?ki.body:ki.nodeName==="HTML"?ki.ownerDocument.body:ki).removeChild(d.stateNode)}catch(A){Gn(d,c,A)}else try{ki.removeChild(d.stateNode)}catch(A){Gn(d,c,A)}break;case 18:ki!==null&&(Fo?(o=ki,k4(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,d.stateNode),zd(o)):k4(ki,d.stateNode));break;case 4:m=ki,S=Fo,ki=d.stateNode.containerInfo,Fo=!0,iu(o,c,d),ki=m,Fo=S;break;case 0:case 11:case 14:case 15:ih(2,d,c),aa||ih(4,d,c),iu(o,c,d);break;case 1:aa||(dc(d,c),m=d.stateNode,typeof m.componentWillUnmount=="function"&&_3(d,c,m)),iu(o,c,d);break;case 21:iu(o,c,d);break;case 22:aa=(m=aa)||d.memoizedState!==null,iu(o,c,d),aa=m;break;default:iu(o,c,d)}}function B3(o,c){if(c.memoizedState===null&&(o=c.alternate,o!==null&&(o=o.memoizedState,o!==null))){o=o.dehydrated;try{zd(o)}catch(d){Gn(c,c.return,d)}}}function O3(o,c){if(c.memoizedState===null&&(o=c.alternate,o!==null&&(o=o.memoizedState,o!==null&&(o=o.dehydrated,o!==null))))try{zd(o)}catch(d){Gn(c,c.return,d)}}function hP(o){switch(o.tag){case 31:case 13:case 19:var c=o.stateNode;return c===null&&(c=o.stateNode=new E3),c;case 22:return o=o.stateNode,c=o._retryCache,c===null&&(c=o._retryCache=new E3),c;default:throw Error(n(435,o.tag))}}function $m(o,c){var d=hP(o);c.forEach(function(m){if(!d.has(m)){d.add(m);var S=xP.bind(null,o,m);m.then(S,S)}})}function qo(o,c){var d=c.deletions;if(d!==null)for(var m=0;m<d.length;m++){var S=d[m],A=o,G=c,st=G;t:for(;st!==null;){switch(st.tag){case 27:if(hh(st.type)){ki=st.stateNode,Fo=!1;break t}break;case 5:ki=st.stateNode,Fo=!1;break t;case 3:case 4:ki=st.stateNode.containerInfo,Fo=!0;break t}st=st.return}if(ki===null)throw Error(n(160));N3(A,G,S),ki=null,Fo=!1,A=S.alternate,A!==null&&(A.return=null),S.return=null}if(c.subtreeFlags&13886)for(c=c.child;c!==null;)P3(c,o),c=c.sibling}var Rl=null;function P3(o,c){var d=o.alternate,m=o.flags;switch(o.tag){case 0:case 11:case 14:case 15:qo(c,o),Ho(o),m&4&&(ih(3,o,o.return),fg(3,o),ih(5,o,o.return));break;case 1:qo(c,o),Ho(o),m&512&&(aa||d===null||dc(d,d.return)),m&64&&nu&&(o=o.updateQueue,o!==null&&(m=o.callbacks,m!==null&&(d=o.shared.hiddenCallbacks,o.shared.hiddenCallbacks=d===null?m:d.concat(m))));break;case 26:var S=Rl;if(qo(c,o),Ho(o),m&512&&(aa||d===null||dc(d,d.return)),m&4){var A=d!==null?d.memoizedState:null;if(m=o.memoizedState,d===null)if(m===null)if(o.stateNode===null){t:{m=o.type,d=o.memoizedProps,S=S.ownerDocument||S;e:switch(m){case"title":A=S.getElementsByTagName("title")[0],(!A||A[ge]||A[mr]||A.namespaceURI==="http://www.w3.org/2000/svg"||A.hasAttribute("itemprop"))&&(A=S.createElement(m),S.head.insertBefore(A,S.querySelector("head > title"))),za(A,m,d),A[mr]=o,Je(A),m=A;break t;case"link":var G=P4("link","href",S).get(m+(d.href||""));if(G){for(var st=0;st<G.length;st++)if(A=G[st],A.getAttribute("href")===(d.href==null||d.href===""?null:d.href)&&A.getAttribute("rel")===(d.rel==null?null:d.rel)&&A.getAttribute("title")===(d.title==null?null:d.title)&&A.getAttribute("crossorigin")===(d.crossOrigin==null?null:d.crossOrigin)){G.splice(st,1);break e}}A=S.createElement(m),za(A,m,d),S.head.appendChild(A);break;case"meta":if(G=P4("meta","content",S).get(m+(d.content||""))){for(st=0;st<G.length;st++)if(A=G[st],A.getAttribute("content")===(d.content==null?null:""+d.content)&&A.getAttribute("name")===(d.name==null?null:d.name)&&A.getAttribute("property")===(d.property==null?null:d.property)&&A.getAttribute("http-equiv")===(d.httpEquiv==null?null:d.httpEquiv)&&A.getAttribute("charset")===(d.charSet==null?null:d.charSet)){G.splice(st,1);break e}}A=S.createElement(m),za(A,m,d),S.head.appendChild(A);break;default:throw Error(n(468,m))}A[mr]=o,Je(A),m=A}o.stateNode=m}else $4(S,o.type,o.stateNode);else o.stateNode=O4(S,m,o.memoizedProps);else A!==m?(A===null?d.stateNode!==null&&(d=d.stateNode,d.parentNode.removeChild(d)):A.count--,m===null?$4(S,o.type,o.stateNode):O4(S,m,o.memoizedProps)):m===null&&o.stateNode!==null&&Kb(o,o.memoizedProps,d.memoizedProps)}break;case 27:qo(c,o),Ho(o),m&512&&(aa||d===null||dc(d,d.return)),d!==null&&m&4&&Kb(o,o.memoizedProps,d.memoizedProps);break;case 5:if(qo(c,o),Ho(o),m&512&&(aa||d===null||dc(d,d.return)),o.flags&32){S=o.stateNode;try{Mo(S,"")}catch(er){Gn(o,o.return,er)}}m&4&&o.stateNode!=null&&(S=o.memoizedProps,Kb(o,S,d!==null?d.memoizedProps:S)),m&1024&&(Jb=!0);break;case 6:if(qo(c,o),Ho(o),m&4){if(o.stateNode===null)throw Error(n(162));m=o.memoizedProps,d=o.stateNode;try{d.nodeValue=m}catch(er){Gn(o,o.return,er)}}break;case 3:if(Qm=null,S=Rl,Rl=Km(c.containerInfo),qo(c,o),Rl=S,Ho(o),m&4&&d!==null&&d.memoizedState.isDehydrated)try{zd(c.containerInfo)}catch(er){Gn(o,o.return,er)}Jb&&(Jb=!1,$3(o));break;case 4:m=Rl,Rl=Km(o.stateNode.containerInfo),qo(c,o),Ho(o),Rl=m;break;case 12:qo(c,o),Ho(o);break;case 31:qo(c,o),Ho(o),m&4&&(m=o.updateQueue,m!==null&&(o.updateQueue=null,$m(o,m)));break;case 13:qo(c,o),Ho(o),o.child.flags&8192&&o.memoizedState!==null!=(d!==null&&d.memoizedState!==null)&&(Dm=de()),m&4&&(m=o.updateQueue,m!==null&&(o.updateQueue=null,$m(o,m)));break;case 22:S=o.memoizedState!==null;var Ct=d!==null&&d.memoizedState!==null,Ft=nu,oe=aa;if(nu=Ft||S,aa=oe||Ct,qo(c,o),aa=oe,nu=Ft,Ho(o),m&8192)t:for(c=o.stateNode,c._visibility=S?c._visibility&-2:c._visibility|1,S&&(d===null||Ct||nu||aa||uf(o)),d=null,c=o;;){if(c.tag===5||c.tag===26){if(d===null){Ct=d=c;try{if(A=Ct.stateNode,S)G=A.style,typeof G.setProperty=="function"?G.setProperty("display","none","important"):G.display="none";else{st=Ct.stateNode;var ye=Ct.memoizedProps.style,Ut=ye!=null&&ye.hasOwnProperty("display")?ye.display:null;st.style.display=Ut==null||typeof Ut=="boolean"?"":(""+Ut).trim()}}catch(er){Gn(Ct,Ct.return,er)}}}else if(c.tag===6){if(d===null){Ct=c;try{Ct.stateNode.nodeValue=S?"":Ct.memoizedProps}catch(er){Gn(Ct,Ct.return,er)}}}else if(c.tag===18){if(d===null){Ct=c;try{var Yt=Ct.stateNode;S?_4(Yt,!0):_4(Ct.stateNode,!1)}catch(er){Gn(Ct,Ct.return,er)}}}else if((c.tag!==22&&c.tag!==23||c.memoizedState===null||c===o)&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===o)break t;for(;c.sibling===null;){if(c.return===null||c.return===o)break t;d===c&&(d=null),c=c.return}d===c&&(d=null),c.sibling.return=c.return,c=c.sibling}m&4&&(m=o.updateQueue,m!==null&&(d=m.retryQueue,d!==null&&(m.retryQueue=null,$m(o,d))));break;case 19:qo(c,o),Ho(o),m&4&&(m=o.updateQueue,m!==null&&(o.updateQueue=null,$m(o,m)));break;case 30:break;case 21:break;default:qo(c,o),Ho(o)}}function Ho(o){var c=o.flags;if(c&2){try{for(var d,m=o.return;m!==null;){if(T3(m)){d=m;break}m=m.return}if(d==null)throw Error(n(160));switch(d.tag){case 27:var S=d.stateNode,A=Zb(o);Pm(o,A,S);break;case 5:var G=d.stateNode;d.flags&32&&(Mo(G,""),d.flags&=-33);var st=Zb(o);Pm(o,st,G);break;case 3:case 4:var Ct=d.stateNode.containerInfo,Ft=Zb(o);Qb(o,Ft,Ct);break;default:throw Error(n(161))}}catch(oe){Gn(o,o.return,oe)}o.flags&=-3}c&4096&&(o.flags&=-4097)}function $3(o){if(o.subtreeFlags&1024)for(o=o.child;o!==null;){var c=o;$3(c),c.tag===5&&c.flags&1024&&c.stateNode.reset(),o=o.sibling}}function au(o,c){if(c.subtreeFlags&8772)for(c=c.child;c!==null;)M3(o,c.alternate,c),c=c.sibling}function uf(o){for(o=o.child;o!==null;){var c=o;switch(c.tag){case 0:case 11:case 14:case 15:ih(4,c,c.return),uf(c);break;case 1:dc(c,c.return);var d=c.stateNode;typeof d.componentWillUnmount=="function"&&_3(c,c.return,d),uf(c);break;case 27:wg(c.stateNode);case 26:case 5:dc(c,c.return),uf(c);break;case 22:c.memoizedState===null&&uf(c);break;case 30:uf(c);break;default:uf(c)}o=o.sibling}}function ou(o,c,d){for(d=d&&(c.subtreeFlags&8772)!==0,c=c.child;c!==null;){var m=c.alternate,S=o,A=c,G=A.flags;switch(A.tag){case 0:case 11:case 15:ou(S,A,d),fg(4,A);break;case 1:if(ou(S,A,d),m=A,S=m.stateNode,typeof S.componentDidMount=="function")try{S.componentDidMount()}catch(Ft){Gn(m,m.return,Ft)}if(m=A,S=m.updateQueue,S!==null){var st=m.stateNode;try{var Ct=S.shared.hiddenCallbacks;if(Ct!==null)for(S.shared.hiddenCallbacks=null,S=0;S<Ct.length;S++)La(Ct[S],st)}catch(Ft){Gn(m,m.return,Ft)}}d&&G&64&&k3(A),dg(A,A.return);break;case 27:L3(A);case 26:case 5:ou(S,A,d),d&&m===null&&G&4&&A3(A),dg(A,A.return);break;case 12:ou(S,A,d);break;case 31:ou(S,A,d),d&&G&4&&B3(S,A);break;case 13:ou(S,A,d),d&&G&4&&O3(S,A);break;case 22:A.memoizedState===null&&ou(S,A,d),dg(A,A.return);break;case 30:break;default:ou(S,A,d)}c=c.sibling}}function tv(o,c){var d=null;o!==null&&o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(d=o.memoizedState.cachePool.pool),o=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(o=c.memoizedState.cachePool.pool),o!==d&&(o!=null&&o.refCount++,d!=null&&af(d))}function ev(o,c){o=null,c.alternate!==null&&(o=c.alternate.memoizedState.cache),c=c.memoizedState.cache,c!==o&&(c.refCount++,o!=null&&af(o))}function Nl(o,c,d,m){if(c.subtreeFlags&10256)for(c=c.child;c!==null;)j3(o,c,d,m),c=c.sibling}function j3(o,c,d,m){var S=c.flags;switch(c.tag){case 0:case 11:case 15:Nl(o,c,d,m),S&2048&&fg(9,c);break;case 1:Nl(o,c,d,m);break;case 3:Nl(o,c,d,m),S&2048&&(o=null,c.alternate!==null&&(o=c.alternate.memoizedState.cache),c=c.memoizedState.cache,c!==o&&(c.refCount++,o!=null&&af(o)));break;case 12:if(S&2048){Nl(o,c,d,m),o=c.stateNode;try{var A=c.memoizedProps,G=A.id,st=A.onPostCommit;typeof st=="function"&&st(G,c.alternate===null?"mount":"update",o.passiveEffectDuration,-0)}catch(Ct){Gn(c,c.return,Ct)}}else Nl(o,c,d,m);break;case 31:Nl(o,c,d,m);break;case 13:Nl(o,c,d,m);break;case 23:break;case 22:A=c.stateNode,G=c.alternate,c.memoizedState!==null?A._visibility&2?Nl(o,c,d,m):pg(o,c):A._visibility&2?Nl(o,c,d,m):(A._visibility|=2,Ed(o,c,d,m,(c.subtreeFlags&10256)!==0||!1)),S&2048&&tv(G,c);break;case 24:Nl(o,c,d,m),S&2048&&ev(c.alternate,c);break;default:Nl(o,c,d,m)}}function Ed(o,c,d,m,S){for(S=S&&((c.subtreeFlags&10256)!==0||!1),c=c.child;c!==null;){var A=o,G=c,st=d,Ct=m,Ft=G.flags;switch(G.tag){case 0:case 11:case 15:Ed(A,G,st,Ct,S),fg(8,G);break;case 23:break;case 22:var oe=G.stateNode;G.memoizedState!==null?oe._visibility&2?Ed(A,G,st,Ct,S):pg(A,G):(oe._visibility|=2,Ed(A,G,st,Ct,S)),S&&Ft&2048&&tv(G.alternate,G);break;case 24:Ed(A,G,st,Ct,S),S&&Ft&2048&&ev(G.alternate,G);break;default:Ed(A,G,st,Ct,S)}c=c.sibling}}function pg(o,c){if(c.subtreeFlags&10256)for(c=c.child;c!==null;){var d=o,m=c,S=m.flags;switch(m.tag){case 22:pg(d,m),S&2048&&tv(m.alternate,m);break;case 24:pg(d,m),S&2048&&ev(m.alternate,m);break;default:pg(d,m)}c=c.sibling}}var gg=8192;function Md(o,c,d){if(o.subtreeFlags&gg)for(o=o.child;o!==null;)D3(o,c,d),o=o.sibling}function D3(o,c,d){switch(o.tag){case 26:Md(o,c,d),o.flags&gg&&o.memoizedState!==null&&ZP(d,Rl,o.memoizedState,o.memoizedProps);break;case 5:Md(o,c,d);break;case 3:case 4:var m=Rl;Rl=Km(o.stateNode.containerInfo),Md(o,c,d),Rl=m;break;case 22:o.memoizedState===null&&(m=o.alternate,m!==null&&m.memoizedState!==null?(m=gg,gg=16777216,Md(o,c,d),gg=m):Md(o,c,d));break;default:Md(o,c,d)}}function I3(o){var c=o.alternate;if(c!==null&&(o=c.child,o!==null)){c.child=null;do c=o.sibling,o.sibling=null,o=c;while(o!==null)}}function mg(o){var c=o.deletions;if((o.flags&16)!==0){if(c!==null)for(var d=0;d<c.length;d++){var m=c[d];Ma=m,F3(m,o)}I3(o)}if(o.subtreeFlags&10256)for(o=o.child;o!==null;)z3(o),o=o.sibling}function z3(o){switch(o.tag){case 0:case 11:case 15:mg(o),o.flags&2048&&ih(9,o,o.return);break;case 3:mg(o);break;case 12:mg(o);break;case 22:var c=o.stateNode;o.memoizedState!==null&&c._visibility&2&&(o.return===null||o.return.tag!==13)?(c._visibility&=-3,jm(o)):mg(o);break;default:mg(o)}}function jm(o){var c=o.deletions;if((o.flags&16)!==0){if(c!==null)for(var d=0;d<c.length;d++){var m=c[d];Ma=m,F3(m,o)}I3(o)}for(o=o.child;o!==null;){switch(c=o,c.tag){case 0:case 11:case 15:ih(8,c,c.return),jm(c);break;case 22:d=c.stateNode,d._visibility&2&&(d._visibility&=-3,jm(c));break;default:jm(c)}o=o.sibling}}function F3(o,c){for(;Ma!==null;){var d=Ma;switch(d.tag){case 0:case 11:case 15:ih(8,d,c);break;case 23:case 22:if(d.memoizedState!==null&&d.memoizedState.cachePool!==null){var m=d.memoizedState.cachePool.pool;m!=null&&m.refCount++}break;case 24:af(d.memoizedState.cache)}if(m=d.child,m!==null)m.return=d,Ma=m;else t:for(d=o;Ma!==null;){m=Ma;var S=m.sibling,A=m.return;if(R3(m),m===d){Ma=null;break t}if(S!==null){S.return=A,Ma=S;break t}Ma=A}}}var fP={getCacheForType:function(o){var c=ma(Ni),d=c.data.get(o);return d===void 0&&(d=o(),c.data.set(o,d)),d},cacheSignal:function(){return ma(Ni).controller.signal}},dP=typeof WeakMap=="function"?WeakMap:Map,jn=0,oi=null,cn=null,mn=0,Wn=0,ys=null,ah=!1,Rd=!1,rv=!1,su=0,zi=0,oh=0,hf=0,nv=0,bs=0,Nd=0,yg=null,Uo=null,iv=!1,Dm=0,q3=0,Im=1/0,zm=null,sh=null,ba=0,lh=null,Bd=null,lu=0,av=0,ov=null,H3=null,bg=0,sv=null;function vs(){return(jn&2)!==0&&mn!==0?mn&-mn:D.T!==null?dv():Or()}function U3(){if(bs===0)if((mn&536870912)===0||ln){var o=Ze;Ze<<=1,(Ze&3932160)===0&&(Ze=262144),bs=o}else bs=536870912;return o=mi.current,o!==null&&(o.flags|=32),bs}function Wo(o,c,d){(o===oi&&(Wn===2||Wn===9)||o.cancelPendingCommit!==null)&&(Od(o,0),ch(o,mn,bs,!1)),ee(o,d),((jn&2)===0||o!==oi)&&(o===oi&&((jn&2)===0&&(hf|=d),zi===4&&ch(o,mn,bs,!1)),pc(o))}function W3(o,c,d){if((jn&6)!==0)throw Error(n(327));var m=!d&&(c&127)===0&&(c&o.expiredLanes)===0||Sn(o,c),S=m?mP(o,c):cv(o,c,!0),A=m;do{if(S===0){Rd&&!m&&ch(o,c,0,!1);break}else{if(d=o.current.alternate,A&&!pP(d)){S=cv(o,c,!1),A=!1;continue}if(S===2){if(A=c,o.errorRecoveryDisabledLanes&A)var G=0;else G=o.pendingLanes&-536870913,G=G!==0?G:G&536870912?536870912:0;if(G!==0){c=G;t:{var st=o;S=yg;var Ct=st.current.memoizedState.isDehydrated;if(Ct&&(Od(st,G).flags|=256),G=cv(st,G,!1),G!==2){if(rv&&!Ct){st.errorRecoveryDisabledLanes|=A,hf|=A,S=4;break t}A=Uo,Uo=S,A!==null&&(Uo===null?Uo=A:Uo.push.apply(Uo,A))}S=G}if(A=!1,S!==2)continue}}if(S===1){Od(o,0),ch(o,c,0,!0);break}t:{switch(m=o,A=S,A){case 0:case 1:throw Error(n(345));case 4:if((c&4194048)!==c)break;case 6:ch(m,c,bs,!ah);break t;case 2:Uo=null;break;case 3:case 5:break;default:throw Error(n(329))}if((c&62914560)===c&&(S=Dm+300-de(),10<S)){if(ch(m,c,bs,!ah),lr(m,0,!0)!==0)break t;
vendor: 13,385 bytes, line 9
9lu=c,m.timeoutHandle=w4(G3.bind(null,m,d,Uo,zm,iv,c,bs,hf,Nd,ah,A,"Throttled",-0,0),S);break t}G3(m,d,Uo,zm,iv,c,bs,hf,Nd,ah,A,null,-0,0)}}break}while(!0);pc(o)}function G3(o,c,d,m,S,A,G,st,Ct,Ft,oe,ye,Ut,Yt){if(o.timeoutHandle=-1,ye=c.subtreeFlags,ye&8192||(ye&16785408)===16785408){ye={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:po},D3(c,A,ye);var er=(A&62914560)===A?Dm-de():(A&4194048)===A?q3-de():0;if(er=QP(ye,er),er!==null){lu=A,o.cancelPendingCommit=er(t4.bind(null,o,c,A,d,m,S,G,st,Ct,oe,ye,null,Ut,Yt)),ch(o,A,G,!Ft);return}}t4(o,c,A,d,m,S,G,st,Ct)}function pP(o){for(var c=o;;){var d=c.tag;if((d===0||d===11||d===15)&&c.flags&16384&&(d=c.updateQueue,d!==null&&(d=d.stores,d!==null)))for(var m=0;m<d.length;m++){var S=d[m],A=S.getSnapshot;S=S.value;try{if(!fa(A(),S))return!1}catch{return!1}}if(d=c.child,c.subtreeFlags&16384&&d!==null)d.return=c,c=d;else{if(c===o)break;for(;c.sibling===null;){if(c.return===null||c.return===o)return!0;c=c.return}c.sibling.return=c.return,c=c.sibling}}return!0}function ch(o,c,d,m){c&=~nv,c&=~hf,o.suspendedLanes|=c,o.pingedLanes&=~c,m&&(o.warmLanes|=c),m=o.expirationTimes;for(var S=c;0<S;){var A=31-Pe(S),G=1<<A;m[A]=-1,S&=~G}d!==0&&br(o,d,c)}function Fm(){return(jn&6)===0?(vg(0),!1):!0}function lv(){if(cn!==null){if(Wn===0)var o=cn.return;else o=cn,Gs=ac=null,wd(o),ve=null,nr=0,o=cn;for(;o!==null;)C3(o.alternate,o),o=o.return;cn=null}}function Od(o,c){var d=o.timeoutHandle;d!==-1&&(o.timeoutHandle=-1,OP(d)),d=o.cancelPendingCommit,d!==null&&(o.cancelPendingCommit=null,d()),lu=0,lv(),oi=o,cn=d=Bo(o.current,null),mn=c,Wn=0,ys=null,ah=!1,Rd=Sn(o,c),rv=!1,Nd=bs=nv=hf=oh=zi=0,Uo=yg=null,iv=!1,(c&8)!==0&&(c|=c&32);var m=o.entangledLanes;if(m!==0)for(o=o.entanglements,m&=c;0<m;){var S=31-Pe(m),A=1<<S;c|=o[S],m&=~A}return su=c,Qh(),d}function V3(o,c){kr=null,D.H=cg,c===At||c===ft?(c=he(),Wn=3):c===It?(c=he(),Wn=4):Wn=c===zb?8:c!==null&&typeof c=="object"&&typeof c.then=="function"?6:1,ys=c,cn===null&&(zi=1,Mm(o,Oo(c,o.current)))}function Y3(){var o=mi.current;return o===null?!0:(mn&4194048)===mn?_n===null:(mn&62914560)===mn||(mn&536870912)!==0?o===_n:!1}function X3(){var o=D.H;return D.H=cg,o===null?cg:o}function K3(){var o=D.A;return D.A=fP,o}function qm(){zi=4,ah||(mn&4194048)!==mn&&mi.current!==null||(Rd=!0),(oh&134217727)===0&&(hf&134217727)===0||oi===null||ch(oi,mn,bs,!1)}function cv(o,c,d){var m=jn;jn|=2;var S=X3(),A=K3();(oi!==o||mn!==c)&&(zm=null,Od(o,c)),c=!1;var G=zi;t:do try{if(Wn!==0&&cn!==null){var st=cn,Ct=ys;switch(Wn){case 8:lv(),G=6;break t;case 3:case 2:case 9:case 6:mi.current===null&&(c=!0);var Ft=Wn;if(Wn=0,ys=null,Pd(o,st,Ct,Ft),d&&Rd){G=0;break t}break;default:Ft=Wn,Wn=0,ys=null,Pd(o,st,Ct,Ft)}}gP(),G=zi;break}catch(oe){V3(o,oe)}while(!0);return c&&o.shellSuspendCounter++,Gs=ac=null,jn=m,D.H=S,D.A=A,cn===null&&(oi=null,mn=0,Qh()),G}function gP(){for(;cn!==null;)Z3(cn)}function mP(o,c){var d=jn;jn|=2;var m=X3(),S=K3();oi!==o||mn!==c?(zm=null,Im=de()+500,Od(o,c)):Rd=Sn(o,c);t:do try{if(Wn!==0&&cn!==null){c=cn;var A=ys;e:switch(Wn){case 1:Wn=0,ys=null,Pd(o,c,A,1);break;case 2:case 9:if(Pt(A)){Wn=0,ys=null,Q3(c);break}c=function(){Wn!==2&&Wn!==9||oi!==o||(Wn=7),pc(o)},A.then(c,c);break t;case 3:Wn=7;break t;case 4:Wn=5;break t;case 7:Pt(A)?(Wn=0,ys=null,Q3(c)):(Wn=0,ys=null,Pd(o,c,A,7));break;case 5:var G=null;switch(cn.tag){case 26:G=cn.memoizedState;case 5:case 27:var st=cn;if(G?j4(G):st.stateNode.complete){Wn=0,ys=null;var Ct=st.sibling;if(Ct!==null)cn=Ct;else{var Ft=st.return;Ft!==null?(cn=Ft,Hm(Ft)):cn=null}break e}}Wn=0,ys=null,Pd(o,c,A,5);break;case 6:Wn=0,ys=null,Pd(o,c,A,6);break;case 8:lv(),zi=6;break t;default:throw Error(n(462))}}yP();break}catch(oe){V3(o,oe)}while(!0);return Gs=ac=null,D.H=m,D.A=S,jn=d,cn!==null?0:(oi=null,mn=0,Qh(),zi)}function yP(){for(;cn!==null&&!Dt();)Z3(cn)}function Z3(o){var c=S3(o.alternate,o,su);o.memoizedProps=o.pendingProps,c===null?Hm(o):cn=c}function Q3(o){var c=o,d=c.alternate;switch(c.tag){case 15:case 0:c=g3(d,c,c.pendingProps,c.type,void 0,mn);break;case 11:c=g3(d,c,c.pendingProps,c.type.render,c.ref,mn);break;case 5:wd(c);default:C3(d,c),c=cn=ef(c,su),c=S3(d,c,su)}o.memoizedProps=o.pendingProps,c===null?Hm(o):cn=c}function Pd(o,c,d,m){Gs=ac=null,wd(c),ve=null,nr=0;var S=c.return;try{if(aP(o,S,c,d,mn)){zi=1,Mm(o,Oo(d,o.current)),cn=null;return}}catch(A){if(S!==null)throw cn=S,A;zi=1,Mm(o,Oo(d,o.current)),cn=null;return}c.flags&32768?(ln||m===1?o=!0:Rd||(mn&536870912)!==0?o=!1:(ah=o=!0,(m===2||m===9||m===3||m===6)&&(m=mi.current,m!==null&&m.tag===13&&(m.flags|=16384))),J3(c,o)):Hm(c)}function Hm(o){var c=o;do{if((c.flags&32768)!==0){J3(c,ah);return}o=c.return;var d=lP(c.alternate,c,su);if(d!==null){cn=d;return}if(c=c.sibling,c!==null){cn=c;return}cn=c=o}while(c!==null);zi===0&&(zi=5)}function J3(o,c){do{var d=cP(o.alternate,o);if(d!==null){d.flags&=32767,cn=d;return}if(d=o.return,d!==null&&(d.flags|=32768,d.subtreeFlags=0,d.deletions=null),!c&&(o=o.sibling,o!==null)){cn=o;return}cn=o=d}while(o!==null);zi=6,cn=null}function t4(o,c,d,m,S,A,G,st,Ct){o.cancelPendingCommit=null;do Um();while(ba!==0);if((jn&6)!==0)throw Error(n(327));if(c!==null){if(c===o.current)throw Error(n(177));if(A=c.lanes|c.childLanes,A|=ld,ze(o,d,A,G,st,Ct),o===oi&&(cn=oi=null,mn=0),Bd=c,lh=o,lu=d,av=A,ov=S,H3=m,(c.subtreeFlags&10256)!==0||(c.flags&10256)!==0?(o.callbackNode=null,o.callbackPriority=0,SP(Oe,function(){return a4(),null})):(o.callbackNode=null,o.callbackPriority=0),m=(c.flags&13878)!==0,(c.subtreeFlags&13878)!==0||m){m=D.T,D.T=null,S=Z.p,Z.p=2,G=jn,jn|=4;try{uP(o,c,d)}finally{jn=G,Z.p=S,D.T=m}}ba=1,e4(),r4(),n4()}}function e4(){if(ba===1){ba=0;var o=lh,c=Bd,d=(c.flags&13878)!==0;if((c.subtreeFlags&13878)!==0||d){d=D.T,D.T=null;var m=Z.p;Z.p=2;var S=jn;jn|=4;try{P3(c,o);var A=Sv,G=Cl(o.containerInfo),st=A.focusedElem,Ct=A.selectionRange;if(G!==st&&st&&st.ownerDocument&&wl(st.ownerDocument.documentElement,st)){if(Ct!==null&&Us(st)){var Ft=Ct.start,oe=Ct.end;if(oe===void 0&&(oe=Ft),"selectionStart"in st)st.selectionStart=Ft,st.selectionEnd=Math.min(oe,st.value.length);else{var ye=st.ownerDocument||document,Ut=ye&&ye.defaultView||window;if(Ut.getSelection){var Yt=Ut.getSelection(),er=st.textContent.length,Pr=Math.min(Ct.start,er),ei=Ct.end===void 0?Pr:Math.min(Ct.end,er);!Yt.extend&&Pr>ei&&(G=ei,ei=Pr,Pr=G);var Bt=Vu(st,Pr),Lt=Vu(st,ei);if(Bt&&Lt&&(Yt.rangeCount!==1||Yt.anchorNode!==Bt.node||Yt.anchorOffset!==Bt.offset||Yt.focusNode!==Lt.node||Yt.focusOffset!==Lt.offset)){var zt=ye.createRange();zt.setStart(Bt.node,Bt.offset),Yt.removeAllRanges(),Pr>ei?(Yt.addRange(zt),Yt.extend(Lt.node,Lt.offset)):(zt.setEnd(Lt.node,Lt.offset),Yt.addRange(zt))}}}}for(ye=[],Yt=st;Yt=Yt.parentNode;)Yt.nodeType===1&&ye.push({element:Yt,left:Yt.scrollLeft,top:Yt.scrollTop});for(typeof st.focus=="function"&&st.focus(),st=0;st<ye.length;st++){var pe=ye[st];pe.element.scrollLeft=pe.left,pe.element.scrollTop=pe.top}}r1=!!xv,Sv=xv=null}finally{jn=S,Z.p=m,D.T=d}}o.current=c,ba=2}}function r4(){if(ba===2){ba=0;var o=lh,c=Bd,d=(c.flags&8772)!==0;if((c.subtreeFlags&8772)!==0||d){d=D.T,D.T=null;var m=Z.p;Z.p=2;var S=jn;jn|=4;try{M3(o,c.alternate,c)}finally{jn=S,Z.p=m,D.T=d}}ba=3}}function n4(){if(ba===4||ba===3){ba=0,Vt();var o=lh,c=Bd,d=lu,m=H3;(c.subtreeFlags&10256)!==0||(c.flags&10256)!==0?ba=5:(ba=0,Bd=lh=null,i4(o,o.pendingLanes));var S=o.pendingLanes;if(S===0&&(sh=null),Fr(d),c=c.stateNode,Jt&&typeof Jt.onCommitFiberRoot=="function")try{Jt.onCommitFiberRoot(He,c,void 0,(c.current.flags&128)===128)}catch{}if(m!==null){c=D.T,S=Z.p,Z.p=2,D.T=null;try{for(var A=o.onRecoverableError,G=0;G<m.length;G++){var st=m[G];A(st.value,{componentStack:st.stack})}}finally{D.T=c,Z.p=S}}(lu&3)!==0&&Um(),pc(o),S=o.pendingLanes,(d&261930)!==0&&(S&42)!==0?o===sv?bg++:(bg=0,sv=o):bg=0,vg(0)}}function i4(o,c){(o.pooledCacheLanes&=c)===0&&(c=o.pooledCache,c!=null&&(o.pooledCache=null,af(c)))}function Um(){return e4(),r4(),n4(),a4()}function a4(){if(ba!==5)return!1;var o=lh,c=av;av=0;var d=Fr(lu),m=D.T,S=Z.p;try{Z.p=32>d?32:d,D.T=null,d=ov,ov=null;var A=lh,G=lu;if(ba=0,Bd=lh=null,lu=0,(jn&6)!==0)throw Error(n(331));var st=jn;if(jn|=4,z3(A.current),j3(A,A.current,G,d),jn=st,vg(0,!1),Jt&&typeof Jt.onPostCommitFiberRoot=="function")try{Jt.onPostCommitFiberRoot(He,A)}catch{}return!0}finally{Z.p=S,D.T=m,i4(o,c)}}function o4(o,c,d){c=Oo(d,c),c=Ib(o.stateNode,c,2),o=Qr(o,c,2),o!==null&&(ee(o,2),pc(o))}function Gn(o,c,d){if(o.tag===3)o4(o,o,d);else for(;c!==null;){if(c.tag===3){o4(c,o,d);break}else if(c.tag===1){var m=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(sh===null||!sh.has(m))){o=Oo(d,o),d=s3(2),m=Qr(c,d,2),m!==null&&(l3(d,m,c,o),ee(m,2),pc(m));break}}c=c.return}}function uv(o,c,d){var m=o.pingCache;if(m===null){m=o.pingCache=new dP;var S=new Set;m.set(c,S)}else S=m.get(c),S===void 0&&(S=new Set,m.set(c,S));S.has(d)||(rv=!0,S.add(d),o=bP.bind(null,o,c,d),c.then(o,o))}function bP(o,c,d){var m=o.pingCache;m!==null&&m.delete(c),o.pingedLanes|=o.suspendedLanes&d,o.warmLanes&=~d,oi===o&&(mn&d)===d&&(zi===4||zi===3&&(mn&62914560)===mn&&300>de()-Dm?(jn&2)===0&&Od(o,0):nv|=d,Nd===mn&&(Nd=0)),pc(o)}function s4(o,c){c===0&&(c=me()),o=_l(o,c),o!==null&&(ee(o,c),pc(o))}function vP(o){var c=o.memoizedState,d=0;c!==null&&(d=c.retryLane),s4(o,d)}function xP(o,c){var d=0;switch(o.tag){case 31:case 13:var m=o.stateNode,S=o.memoizedState;S!==null&&(d=S.retryLane);break;case 19:m=o.stateNode;break;case 22:m=o.stateNode._retryCache;break;default:throw Error(n(314))}m!==null&&m.delete(c),s4(o,d)}function SP(o,c){return be(o,c)}var Wm=null,$d=null,hv=!1,Gm=!1,fv=!1,uh=0;function pc(o){o!==$d&&o.next===null&&($d===null?Wm=$d=o:$d=$d.next=o),Gm=!0,hv||(hv=!0,CP())}function vg(o,c){if(!fv&&Gm){fv=!0;do for(var d=!1,m=Wm;m!==null;){if(o!==0){var S=m.pendingLanes;if(S===0)var A=0;else{var G=m.suspendedLanes,st=m.pingedLanes;A=(1<<31-Pe(42|o)+1)-1,A&=S&~(G&~st),A=A&201326741?A&201326741|1:A?A|2:0}A!==0&&(d=!0,h4(m,A))}else A=mn,A=lr(m,m===oi?A:0,m.cancelPendingCommit!==null||m.timeoutHandle!==-1),(A&3)===0||Sn(m,A)||(d=!0,h4(m,A));m=m.next}while(d);fv=!1}}function wP(){l4()}function l4(){Gm=hv=!1;var o=0;uh!==0&&BP()&&(o=uh);for(var c=de(),d=null,m=Wm;m!==null;){var S=m.next,A=c4(m,c);A===0?(m.next=null,d===null?Wm=S:d.next=S,S===null&&($d=d)):(d=m,(o!==0||(A&3)!==0)&&(Gm=!0)),m=S}ba!==0&&ba!==5||vg(o),uh!==0&&(uh=0)}function c4(o,c){for(var d=o.suspendedLanes,m=o.pingedLanes,S=o.expirationTimes,A=o.pendingLanes&-62914561;0<A;){var G=31-Pe(A),st=1<<G,Ct=S[G];Ct===-1?((st&d)===0||(st&m)!==0)&&(S[G]=Xt(st,c)):Ct<=c&&(o.expiredLanes|=st),A&=~st}if(c=oi,d=mn,d=lr(o,o===c?d:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),m=o.callbackNode,d===0||o===c&&(Wn===2||Wn===9)||o.cancelPendingCommit!==null)return m!==null&&m!==null&&Nt(m),o.callbackNode=null,o.callbackPriority=0;if((d&3)===0||Sn(o,d)){if(c=d&-d,c===o.callbackPriority)return c;switch(m!==null&&Nt(m),Fr(d)){case 2:case 8:d=Ne;break;case 32:d=Oe;break;case 268435456:d=Ae;break;default:d=Oe}return m=u4.bind(null,o),d=be(d,m),o.callbackPriority=c,o.callbackNode=d,c}return m!==null&&m!==null&&Nt(m),o.callbackPriority=2,o.callbackNode=null,2}function u4(o,c){if(ba!==0&&ba!==5)return o.callbackNode=null,o.callbackPriority=0,null;var d=o.callbackNode;if(Um()&&o.callbackNode!==d)return null;var m=mn;return m=lr(o,o===oi?m:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),m===0?null:(W3(o,m,c),c4(o,de()),o.callbackNode!=null&&o.callbackNode===d?u4.bind(null,o):null)}function h4(o,c){if(Um())return null;W3(o,c,!0)}function CP(){PP(function(){(jn&6)!==0?be(_e,wP):l4()})}function dv(){if(uh===0){var o=x;o===0&&(o=te,te<<=1,(te&261888)===0&&(te=256)),uh=o}return uh}function f4(o){return o==null||typeof o=="symbol"||typeof o=="boolean"?null:typeof o=="function"?o:ca(""+o)}function d4(o,c){var d=c.ownerDocument.createElement("input");return d.name=c.name,d.value=c.value,o.id&&d.setAttribute("form",o.id),c.parentNode.insertBefore(d,c),o=new FormData(o),d.parentNode.removeChild(d),o}function kP(o,c,d,m,S){if(c==="submit"&&d&&d.stateNode===S){var A=f4((S[Cr]||null).action),G=m.submitter;G&&(c=(c=G[Cr]||null)?f4(c.formAction):G.getAttribute("formAction"),c!==null&&(A=c,G=null));var st=new On("action","action",null,m,S);o.push({event:st,listeners:[{instance:null,listener:function(){if(m.defaultPrevented){if(uh!==0){var Ct=G?d4(S,G):new FormData(S);Bb(d,{pending:!0,data:Ct,method:S.method,action:A},null,Ct)}}else typeof A=="function"&&(st.preventDefault(),Ct=G?d4(S,G):new FormData(S),Bb(d,{pending:!0,data:Ct,method:S.method,action:A},A,Ct))},currentTarget:S}]})}}for(var pv=0;pv<Vc.length;pv++){var gv=Vc[pv],_P=gv.toLowerCase(),AP=gv[0].toUpperCase()+gv.slice(1);No(_P,"on"+AP)}No(Gc,"onAnimationEnd"),No(Kh,"onAnimationIteration"),No(Yp,"onAnimationStart"),No("dblclick","onDoubleClick"),No("focusin","onFocus"),No("focusout","onBlur"),No(ym,"onTransitionRun"),No(bm,"onTransitionStart"),No(vm,"onTransitionCancel"),No(Xp,"onTransitionEnd"),wn("onMouseEnter",["mouseout","mouseover"]),wn("onMouseLeave",["mouseout","mouseover"]),wn("onPointerEnter",["pointerout","pointerover"]),wn("onPointerLeave",["pointerout","pointerover"]),tr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),tr("onSelect","focusout contextmenu dragend focu
9sin keydown keyup mousedown mouseup selectionchange".split(" ")),tr("onBeforeInput",["compositionend","keypress","textInput","paste"]),tr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),tr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),tr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xg="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),TP=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(xg));function p4(o,c){c=(c&4)!==0;for(var d=0;d<o.length;d++){var m=o[d],S=m.event;m=m.listeners;t:{var A=void 0;if(c)for(var G=m.length-1;0<=G;G--){var st=m[G],Ct=st.instance,Ft=st.currentTarget;if(st=st.listener,Ct!==A&&S.isPropagationStopped())break t;A=st,S.currentTarget=Ft;try{A(S)}catch(oe){Zh(oe)}S.currentTarget=null,A=Ct}else for(G=0;G<m.length;G++){if(st=m[G],Ct=st.instance,Ft=st.currentTarget,st=st.listener,Ct!==A&&S.isPropagationStopped())break t;A=st,S.currentTarget=Ft;try{A(S)}catch(oe){Zh(oe)}S.currentTarget=null,A=Ct}}}}function un(o,c){var d=c[Wt];d===void 0&&(d=c[Wt]=new Set);var m=o+"__bubble";d.has(m)||(g4(c,o,2,!1),d.add(m))}function mv(o,c,d){var m=0;c&&(m|=4),g4(d,o,m,c)}var Vm="_reactListening"+Math.random().toString(36).slice(2);function yv(o){if(!o[Vm]){o[Vm]=!0,an.forEach(function(d){d!=="selectionchange"&&(TP.has(d)||mv(d,!1,o),mv(d,!0,o))});var c=o.nodeType===9?o:o.ownerDocument;c===null||c[Vm]||(c[Vm]=!0,mv("selectionchange",!1,c))}}function g4(o,c,d,m){switch(U4(c)){case 2:var S=e9;break;case 8:S=r9;break;default:S=Nv}d=S.bind(null,c,d,o),S=void 0,!Zl||c!=="touchstart"&&c!=="touchmove"&&c!=="wheel"||(S=!0),m?S!==void 0?o.addEventListener(c,d,{capture:!0,passive:S}):o.addEventListener(c,d,!0):S!==void 0?o.addEventListener(c,d,{passive:S}):o.addEventListener(c,d,!1)}function bv(o,c,d,m,S){var A=m;if((c&1)===0&&(c&2)===0&&m!==null)t:for(;;){if(m===null)return;var G=m.tag;if(G===3||G===4){var st=m.stateNode.containerInfo;if(st===S)break;if(G===4)for(G=m.return;G!==null;){var Ct=G.tag;if((Ct===3||Ct===4)&&G.stateNode.containerInfo===S)return;G=G.return}for(;st!==null;){if(G=Zt(st),G===null)return;if(Ct=G.tag,Ct===5||Ct===6||Ct===26||Ct===27){m=A=G;continue t}st=st.parentNode}}m=m.return}Du(function(){var Ft=A,oe=Os(d),ye=[];t:{var Ut=Kp.get(o);if(Ut!==void 0){var Yt=On,er=o;switch(o){case"keypress":if(Wi(d)===0)break t;case"keydown":case"keyup":Yt=Gr;break;case"focusin":er="focus",Yt=us;break;case"focusout":er="blur",Yt=us;break;case"beforeblur":case"afterblur":Yt=us;break;case"click":if(d.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Yt=Hc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Yt=Ka;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Yt=ni;break;case Gc:case Kh:case Yp:Yt=R;break;case Xp:Yt=Gi;break;case"scroll":case"scrollend":Yt=Ql;break;case"wheel":Yt=hs;break;case"copy":case"cut":case"paste":Yt=pt;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Yt=Kn;break;case"toggle":case"beforetoggle":Yt=Vh}var Pr=(c&4)!==0,ei=!Pr&&(o==="scroll"||o==="scrollend"),Bt=Pr?Ut!==null?Ut+"Capture":null:Ut;Pr=[];for(var Lt=Ft,zt;Lt!==null;){var pe=Lt;if(zt=pe.stateNode,pe=pe.tag,pe!==5&&pe!==26&&pe!==27||zt===null||Bt===null||(pe=ua(Lt,Bt),pe!=null&&Pr.push(Sg(Lt,pe,zt))),ei)break;Lt=Lt.return}0<Pr.length&&(Ut=new Yt(Ut,er,null,d,oe),ye.push({event:Ut,listeners:Pr}))}}if((c&7)===0){t:{if(Ut=o==="mouseover"||o==="pointerover",Yt=o==="mouseout"||o==="pointerout",Ut&&d!==Ya&&(er=d.relatedTarget||d.fromElement)&&(Zt(er)||er[Rr]))break t;if((Yt||Ut)&&(Ut=oe.window===oe?oe:(Ut=oe.ownerDocument)?Ut.defaultView||Ut.parentWindow:window,Yt?(er=d.relatedTarget||d.toElement,Yt=Ft,er=er?Zt(er):null,er!==null&&(ei=a(er),Pr=er.tag,er!==ei||Pr!==5&&Pr!==27&&Pr!==6)&&(er=null)):(Yt=null,er=Ft),Yt!==er)){if(Pr=Hc,pe="onMouseLeave",Bt="onMouseEnter",Lt="mouse",(o==="pointerout"||o==="pointerover")&&(Pr=Kn,pe="onPointerLeave",Bt="onPointerEnter",Lt="pointer"),ei=Yt==null?Ut:ke(Yt),zt=er==null?Ut:ke(er),Ut=new Pr(pe,Lt+"leave",Yt,d,oe),Ut.target=ei,Ut.relatedTarget=zt,pe=null,Zt(oe)===Ft&&(Pr=new Pr(Bt,Lt+"enter",er,d,oe),Pr.target=zt,Pr.relatedTarget=ei,pe=Pr),ei=pe,Yt&&er)e:{for(Pr=LP,Bt=Yt,Lt=er,zt=0,pe=Bt;pe;pe=Pr(pe))zt++;pe=0;for(var Tr=Lt;Tr;Tr=Pr(Tr))pe++;for(;0<zt-pe;)Bt=Pr(Bt),zt--;for(;0<pe-zt;)Lt=Pr(Lt),pe--;for(;zt--;){if(Bt===Lt||Lt!==null&&Bt===Lt.alternate){Pr=Bt;break e}
vendor: 5,371 bytes, lines 9-10
9Bt=Pr(Bt),Lt=Pr(Lt)}Pr=null}else Pr=null;Yt!==null&&m4(ye,Ut,Yt,Pr,!1),er!==null&&ei!==null&&m4(ye,ei,er,Pr,!0)}}t:{if(Ut=Ft?ke(Ft):window,Yt=Ut.nodeName&&Ut.nodeName.toLowerCase(),Yt==="select"||Yt==="input"&&Ut.type==="file")var Rn=ec;else if(Yh(Ut))if(Za)Rn=qs;else{Rn=Mi;var yr=Wu}else Yt=Ut.nodeName,!Yt||Yt.toLowerCase()!=="input"||Ut.type!=="checkbox"&&Ut.type!=="radio"?Ft&&Xl(Ft.elementType)&&(Rn=ec):Rn=sd;if(Rn&&(Rn=Rn(o,Ft))){mo(ye,Rn,d,oe);break t}yr&&yr(o,Ut,Ft),o==="focusout"&&Ft&&Ut.type==="number"&&Ft.memoizedProps.value!=null&&Vl(Ut,"number",Ut.value)}switch(yr=Ft?ke(Ft):window,o){case"focusin":(Yh(yr)||yr.contentEditable==="true")&&(yo=yr,kl=Ft,_a=null);break;case"focusout":_a=kl=yo=null;break;case"mousedown":Ro=!0;break;case"contextmenu":case"mouseup":case"dragend":Ro=!1,Ln(ye,d,oe);break;case"selectionchange":if(Wc)break;case"keydown":case"keyup":Ln(ye,d,oe)}var en;if(Ds)t:{switch(o){case"compositionstart":var yn="onCompositionStart";break t;case"compositionend":yn="onCompositionEnd";break t;case"compositionupdate":yn="onCompositionUpdate";break t}yn=void 0}else Is?tc(o,d)&&(yn="onCompositionEnd"):o==="keydown"&&d.keyCode===229&&(yn="onCompositionStart");yn&&(yl&&d.locale!=="ko"&&(Is||yn!=="onCompositionStart"?yn==="onCompositionEnd"&&Is&&(en=os()):(Oa=oe,dl="value"in Oa?Oa.value:Oa.textContent,Is=!0)),yr=Ym(Ft,yn),0<yr.length&&(yn=new gt(yn,o,null,d,oe),ye.push({event:yn,listeners:yr}),en?yn.data=en:(en=qu(d),en!==null&&(yn.data=en)))),(en=Uc?Pa(o,d):bl(o,d))&&(yn=Ym(Ft,"onBeforeInput"),0<yn.length&&(yr=new gt("onBeforeInput","beforeinput",null,d,oe),ye.push({event:yr,listeners:yn}),yr.data=en)),kP(ye,o,Ft,d,oe)}p4(ye,c)})}function Sg(o,c,d){return{instance:o,listener:c,currentTarget:d}}function Ym(o,c){for(var d=c+"Capture",m=[];o!==null;){var S=o,A=S.stateNode;if(S=S.tag,S!==5&&S!==26&&S!==27||A===null||(S=ua(o,d),S!=null&&m.unshift(Sg(o,S,A)),S=ua(o,c),S!=null&&m.push(Sg(o,S,A))),o.tag===3)return m;o=o.return}return[]}function LP(o){if(o===null)return null;do o=o.return;while(o&&o.tag!==5&&o.tag!==27);return o||null}function m4(o,c,d,m,S){for(var A=c._reactName,G=[];d!==null&&d!==m;){var st=d,Ct=st.alternate,Ft=st.stateNode;if(st=st.tag,Ct!==null&&Ct===m)break;st!==5&&st!==26&&st!==27||Ft===null||(Ct=Ft,S?(Ft=ua(d,A),Ft!=null&&G.unshift(Sg(d,Ft,Ct))):S||(Ft=ua(d,A),Ft!=null&&G.push(Sg(d,Ft,Ct)))),d=d.return}G.length!==0&&o.push({event:c,listeners:G})}var EP=/\r\n?/g,MP=/\u0000|\uFFFD/g;function y4(o){return(typeof o=="string"?o:""+o).replace(EP,`
10`).replace(MP,"")}function b4(o,c){return c=y4(c),y4(o)===c}function ti(o,c,d,m,S,A){switch(d){case"children":typeof m=="string"?c==="body"||c==="textarea"&&m===""||Mo(o,m):(typeof m=="number"||typeof m=="bigint")&&c!=="body"&&Mo(o,""+m);break;case"className":Eo(o,"class",m);break;case"tabIndex":Eo(o,"tabindex",m);break;case"dir":case"role":case"viewBox":case"width":case"height":Eo(o,d,m);break;case"style":fl(o,m,A);break;case"data":if(c!=="object"){Eo(o,"data",m);break}case"src":case"href":if(m===""&&(c!=="a"||d!=="href")){o.removeAttribute(d);break}if(m==null||typeof m=="function"||typeof m=="symbol"||typeof m=="boolean"){o.removeAttribute(d);break}m=ca(""+m),o.setAttribute(d,m);break;case"action":case"formAction":if(typeof m=="function"){o.setAttribute(d,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof A=="function"&&(d==="formAction"?(c!=="input"&&ti(o,c,"name",S.name,S,null),ti(o,c,"formEncType",S.formEncType,S,null),ti(o,c,"formMethod",S.formMethod,S,null),ti(o,c,"formTarget",S.formTarget,S,null)):(ti(o,c,"encType",S.encType,S,null),ti(o,c,"method",S.method,S,null),ti(o,c,"target",S.target,S,null)));if(m==null||typeof m=="symbol"||typeof m=="boolean"){o.removeAttribute(d);break}m=ca(""+m),o.setAttribute(d,m);break;case"onClick":m!=null&&(o.onclick=po);break;case"onScroll":m!=null&&un("scroll",o);break;case"onScrollEnd":m!=null&&un("scrollend",o);break;case"dangerouslySetInnerHTML":if(m!=null){if(typeof m!="object"||!("__html"in m))throw Error(n(61));if(d=m.__html,d!=null){if(S.children!=null)throw Error(n(60));o.innerHTML=d}}break;case"multiple":o.multiple=m&&typeof m!="function"&&typeof m!="symbol";break;case"muted":o.muted=m&&typeof m!="function"&&typeof m!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(m==null||typeof m=="function"||typeof m=="boolean"||typeof m=="symbol"){o.removeAttribute("xlink:href");break}d=ca(""+m),o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",d);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":m!=null&&typeof m!="function"&&typeof m!="symbol"?o.setAttribute(d,""+m):o.removeAttribute(d);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
10ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":m&&typeof m!="function"&&typeof m!="symbol"?o.setAttribute(d,""):o.removeAttribute(d);break;case"capture":case"download":m===!0?o.setAttribute(d,""):m!==!1&&m!=null&&typeof m!="function"&&typeof m!="symbol"?o.setAttribute(d,m):o.removeAttribute(d);break;case"cols":case"rows":case"size":case"span":m!=null&&typeof m!="function"&&typeof m!="symbol"&&!isNaN(m)&&1<=m?o.setAttribute(d,m):o.removeAttribute(d);break;case"rowSpan":case"start":m==null||typeof m=="function"||typeof m=="symbol"||isNaN(m)?o.removeAttribute(d):o.setAttribute(d,m);break;case"popover":un("beforetoggle",o),un("toggle",o),Ba(o,"popover",m);break;case"xlinkActuate":fo(o,"http://www.w3.org/1999/xlink","xlink:actuate",m);break;case"xlinkArcrole":fo(o,"http://www.w3.org/1999/xlink","xlink:arcrole",m);break;case"xlinkRole":fo(o,"http://www.w3.org/1999/xlink","xlink:role",m);break;case"xlinkShow":fo(o,"http://www.w3.org/1999/xlink","xlink:show",m);break;case"xlinkTitle":fo(o,"http://www.w3.org/1999/xlink","xlink:title",m);break;case"xlinkType":fo(o,"http://www.w3.org/1999/xlink","xlink:type",m);break;case"xmlBase":fo(o,"http://www.w3.org/XML/1998/namespace","xml:base",m);break;case"xmlLang":fo(o,"http://www.w3.org/XML/1998/namespace","xml:lang",m);break;case"xmlSpace":fo(o,"http://www.w3.org/XML/1998/namespace","xml:space",m);break;case"is":Ba(o,"is",m);break;case"innerText":case"textContent":break;default:(!(2<d.length)||d[0]!=="o"&&d[0]!=="O"||d[1]!=="n"&&d[1]!=="N")&&(d=Kl.get(d)||d,Ba(o,d,m))}}function vv(o,c,d,m,S,A){switch(d){case"style":fl(o,m,A);break;case"dangerouslySetInnerHTML":if(m!=null){if(typeof m!="object"||!("__html"in m))throw Error(n(61));if(d=m.__html,d!=null){if(S.children!=null)throw Error(n(60));o.innerHTML=d}}break;case"children":typeof m=="string"?Mo(o,m):(typeof m=="number"||typeof m=="bigint")&&Mo(o,""+m);break;case"onScroll":m!=null&&un("scroll",o);break;case"onScrollEnd":m!=null&&un("scrollend",o);break;case"onClick":m!=null&&(o.onclick=po);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Wr.hasOwnProperty(d))t:{if(d[0]==="o"&&d[1]==="n"&&(S=d.endsWith("Capture"),c=d.slice(2,S?d.length-7:void 0),A=o[Cr]||null,A=A!=null?A[d]:null,typeof A=="function"&&o.removeEventListener(c,A,S),typeof m=="function")){typeof A!="function"&&A!==null&&(d in o?o[d]=null:o.hasAttribute(d)&&o.removeAttribute(d)),o.addEventListener(c,m,S);break t}d in o?o[d]=m:m===!0?o.setAttribute(d,""):Ba(o,d,m)}}}function za(o,c,d){switch(c){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":un("error",o),un("load",o);var m=!1,S=!1,A;for(A in d)if(d.hasOwnProperty(A)){var G=d[A];if(G!=null)switch(A){case"src":m=!0;break;case"srcSet":S=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(n(137,c));default:ti(o,c,A,G,d,null)}}S&&ti(o,c,"srcSet",d.srcSet,d,null),m&&ti(o,c,"src",d.src,d,null);return;case"input":un("invalid",o);var st=A=G=S=null,Ct=null,Ft=null;for(m in d)if(d.hasOwnProperty(m)){var oe=d[m];if(oe!=null)switch(m){case"name":S=oe;break;case"type":G=oe;break;case"checked":Ct=oe;break;case"defaultChecked":Ft=oe;break;case"value":A=oe;break;case"defaultValue":st=oe;break;case"children":case"dangerouslySetInnerHTML":if(oe!=null)throw Error(n(137,c));break;default:ti(o,c,m,oe,d,null)}}Gl(o,A,st,Ct,Ft,G,S,!1);return;case"select":un("invalid",o),m=G=A=null;for(S in d)if(d.hasOwnProperty(S)&&(st=d[S],st!=null))switch(S){case"value":A=st;break;case"defaultValue":G=st;break;case"multiple":m=st;default:ti(o,c,S,st,d,null)}c=A,d=G,o.multiple=!!m,c!=null?la(o,!!m,c,!1):d!=null&&la(o,!!m,d,!0);return;case"textarea":un("invalid",o),A=S=m=null;for(G in d)if(d.hasOwnProperty(G)&&(st=d[G],st!=null))switch(G){case"value":m=st;break;case"defaultValue":S=st;break;case"children":A=st;break;case"dangerouslySetInnerHTML":if(st!=null)throw Error(n(91));break;default:ti(o,c,G,st,d,null)}Pu(o,m,S,A);return;case"option":for(Ct in d)d.hasOwnProperty(Ct)&&(m=d[Ct],m!=null)&&(Ct==="selected"?o.selected=m&&typeof m!="function"&&typeof m!="symbol":ti(o,c,Ct,m,d,null));return;case"dialog":un("beforetoggle",o),un("toggle",o),un("cancel",o),un("close",o);break;case"iframe":case"object":un("load",o);break;case"video":case"audio":for(m=0;m<xg.length;m++)un(xg[m],o);break;case"image":un("error",o),un("load",o);break;case"details":un("toggle",o);break;case"embed":case"source":case"link":un("error",o),un("load",o);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Ft in d)if(d.hasOwnProperty(Ft)&&(m=d[Ft],m!=null))switch(Ft){case"children":case"dangerouslySetInnerHTML":throw Error(n(137,c));default:ti(o,c,Ft,m,d,null)}return;default:if(Xl(c)){for(oe in d)d.hasOwnProperty(oe)&&(m=d[oe],m!==void 0&&vv(o,c,oe,m,d,void 0));return}}for(st in d)d.hasOwnProperty(st)&&(m=d[st],m!=null&&ti(o,c,st,m,d,null))}function RP(o,c,d,m){switch(c){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var S=null,A=null,G=null,st=null,Ct=null,Ft=null,oe=null;for(Yt in d){var ye=d[Yt];if(d.hasOwnProperty(Yt)&&ye!=null)switch(Yt){case"checked":break;case"value":break;case"defaultValue":Ct=ye;default:m.hasOwnProperty(Yt)||ti(o,c,Yt,null,m,ye)}}for(var Ut in m){var Yt=m[Ut];if(ye=d[Ut],m.hasOwnProperty(Ut)&&(Yt!=null||ye!=null))switch(Ut){case"type":A=Yt;break;case"name":S=Yt;break;case"checked":Ft=Yt;break;case"defaultChecked":oe=Yt;break;case"value":G=Yt;break;case"defaultValue":st=Yt;break;case"children":case"dangerouslySetInnerHTML":if(Yt!=null)throw Error(n(137,c));break;default:Yt!==ye&&ti(o,c,Ut,Yt,m,ye)}}Wl(o,G,st,Ct,Ft,oe,A,S);return;case"select":Yt=G=st=Ut=null;for(A in d)if(Ct=d[A],d.hasOwnProperty(A)&&Ct!=null)switch(A){case"value":break;case"multiple":Yt=Ct;
vendor: 4,983 bytes, line 10
10default:m.hasOwnProperty(A)||ti(o,c,A,null,m,Ct)}for(S in m)if(A=m[S],Ct=d[S],m.hasOwnProperty(S)&&(A!=null||Ct!=null))switch(S){case"value":Ut=A;break;case"defaultValue":st=A;break;case"multiple":G=A;default:A!==Ct&&ti(o,c,S,A,m,Ct)}c=st,d=G,m=Yt,Ut!=null?la(o,!!d,Ut,!1):!!m!=!!d&&(c!=null?la(o,!!d,c,!0):la(o,!!d,d?[]:"",!1));return;case"textarea":Yt=Ut=null;for(st in d)if(S=d[st],d.hasOwnProperty(st)&&S!=null&&!m.hasOwnProperty(st))switch(st){case"value":break;case"children":break;default:ti(o,c,st,null,m,S)}for(G in m)if(S=m[G],A=d[G],m.hasOwnProperty(G)&&(S!=null||A!=null))switch(G){case"value":Ut=S;break;case"defaultValue":Yt=S;break;case"children":break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(n(91));break;default:S!==A&&ti(o,c,G,S,m,A)}Yl(o,Ut,Yt);return;case"option":for(var er in d)Ut=d[er],d.hasOwnProperty(er)&&Ut!=null&&!m.hasOwnProperty(er)&&(er==="selected"?o.selected=!1:ti(o,c,er,null,m,Ut));for(Ct in m)Ut=m[Ct],Yt=d[Ct],m.hasOwnProperty(Ct)&&Ut!==Yt&&(Ut!=null||Yt!=null)&&(Ct==="selected"?o.selected=Ut&&typeof Ut!="function"&&typeof Ut!="symbol":ti(o,c,Ct,Ut,m,Yt));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Pr in d)Ut=d[Pr],d.hasOwnProperty(Pr)&&Ut!=null&&!m.hasOwnProperty(Pr)&&ti(o,c,Pr,null,m,Ut);for(Ft in m)if(Ut=m[Ft],Yt=d[Ft],m.hasOwnProperty(Ft)&&Ut!==Yt&&(Ut!=null||Yt!=null))switch(Ft){case"children":case"dangerouslySetInnerHTML":if(Ut!=null)throw Error(n(137,c));break;default:ti(o,c,Ft,Ut,m,Yt)}return;default:if(Xl(c)){for(var ei in d)Ut=d[ei],d.hasOwnProperty(ei)&&Ut!==void 0&&!m.hasOwnProperty(ei)&&vv(o,c,ei,void 0,m,Ut);for(oe in m)Ut=m[oe],Yt=d[oe],!m.hasOwnProperty(oe)||Ut===Yt||Ut===void 0&&Yt===void 0||vv(o,c,oe,Ut,m,Yt);return}}for(var Bt in d)Ut=d[Bt],d.hasOwnProperty(Bt)&&Ut!=null&&!m.hasOwnProperty(Bt)&&ti(o,c,Bt,null,m,Ut);for(ye in m)Ut=m[ye],Yt=d[ye],!m.hasOwnProperty(ye)||Ut===Yt||Ut==null&&Yt==null||ti(o,c,ye,Ut,m,Yt)}function v4(o){switch(o){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function NP(){if(typeof performance.getEntriesByType=="function"){for(var o=0,c=0,d=performance.getEntriesByType("resource"),m=0;m<d.length;m++){var S=d[m],A=S.transferSize,G=S.initiatorType,st=S.duration;if(A&&st&&v4(G)){for(G=0,st=S.responseEnd,m+=1;m<d.length;m++){var Ct=d[m],Ft=Ct.startTime;if(Ft>st)break;var oe=Ct.transferSize,ye=Ct.initiatorType;oe&&v4(ye)&&(Ct=Ct.responseEnd,G+=oe*(Ct<st?1:(st-Ft)/(Ct-Ft)))}if(--m,c+=8*(A+G)/(S.duration/1e3),o++,10<o)break}}if(0<o)return c/o/1e6}return navigator.connection&&(o=navigator.connection.downlink,typeof o=="number")?o:5}var xv=null,Sv=null;function Xm(o){return o.nodeType===9?o:o.ownerDocument}function x4(o){switch(o){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function S4(o,c){if(o===0)switch(c){case"svg":return 1;case"math":return 2;default:return 0}return o===1&&c==="foreignObject"?0:o}function wv(o,c){return o==="textarea"||o==="noscript"||typeof c.children=="string"||typeof c.children=="number"||typeof c.children=="bigint"||typeof c.dangerouslySetInnerHTML=="object"&&c.dangerouslySetInnerHTML!==null&&c.dangerouslySetInnerHTML.__html!=null}var Cv=null;function BP(){var o=window.event;return o&&o.type==="popstate"?o===Cv?!1:(Cv=o,!0):(Cv=null,!1)}var w4=typeof setTimeout=="function"?setTimeout:void 0,OP=typeof clearTimeout=="function"?clearTimeout:void 0,C4=typeof Promise=="function"?Promise:void 0,PP=typeof queueMicrotask=="function"?queueMicrotask:typeof C4<"u"?function(o){return C4.resolve(null).then(o).catch($P)}:w4;function $P(o){setTimeout(function(){throw o})}function hh(o){return o==="head"}function k4(o,c){var d=c,m=0;do{var S=d.nextSibling;if(o.removeChild(d),S&&S.nodeType===8)if(d=S.data,d==="/$"||d==="/&"){if(m===0){o.removeChild(S),zd(c);return}m--}else if(d==="$"||d==="$?"||d==="$~"||d==="$!"||d==="&")m++;else if(d==="html")wg(o.ownerDocument.documentElement);else if(d==="head"){d=o.ownerDocument.head,wg(d);for(var A=d.firstChild;A;){var G=A.nextSibling,st=A.nodeName;A[ge]||st==="SCRIPT"||st==="STYLE"||st==="LINK"&&A.rel.toLowerCase()==="stylesheet"||d.removeChild(A),A=G}}else d==="body"&&wg(o.ownerDocument.body);d=S}while(d);zd(c)}function _4(o,c){var d=o;o=0;do{var m=d.nextSibling;if(d.nodeType===1?c?(d._stashedDisplay=d.style.display,d.style.display="none"):(d.style.display=d._stashedDisplay||"",d.getAttribute("style")===""&&d.removeAttribute("style")):d.nodeType===3&&(c?(d._stashedText=d.nodeValue,d.nodeValue=""):d.nodeValue=d._stashedText||""),m&&m.nodeType===8)if(d=m.data,d==="/$"){if(o===0)break;o--}else d!=="$"&&d!=="$?"&&d!=="$~"&&d!=="$!"||o++;d=m}while(d)}function kv(o){var c=o.firstChild;for(c&&c.nodeType===10&&(c=c.nextSibling);c;){var d=c;switch(c=c.nextSibling,d.nodeName){case"HTML":case"HEAD":case"BODY":kv(d),vt(d
vendor: 4,363 bytes, line 10
10);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(d.rel.toLowerCase()==="stylesheet")continue}o.removeChild(d)}}function jP(o,c,d,m){for(;o.nodeType===1;){var S=d;if(o.nodeName.toLowerCase()!==c.toLowerCase()){if(!m&&(o.nodeName!=="INPUT"||o.type!=="hidden"))break}else if(m){if(!o[ge])switch(c){case"meta":if(!o.hasAttribute("itemprop"))break;return o;case"link":if(A=o.getAttribute("rel"),A==="stylesheet"&&o.hasAttribute("data-precedence"))break;if(A!==S.rel||o.getAttribute("href")!==(S.href==null||S.href===""?null:S.href)||o.getAttribute("crossorigin")!==(S.crossOrigin==null?null:S.crossOrigin)||o.getAttribute("title")!==(S.title==null?null:S.title))break;return o;case"style":if(o.hasAttribute("data-precedence"))break;return o;case"script":if(A=o.getAttribute("src"),(A!==(S.src==null?null:S.src)||o.getAttribute("type")!==(S.type==null?null:S.type)||o.getAttribute("crossorigin")!==(S.crossOrigin==null?null:S.crossOrigin))&&A&&o.hasAttribute("async")&&!o.hasAttribute("itemprop"))break;return o;default:return o}}else if(c==="input"&&o.type==="hidden"){var A=S.name==null?null:""+S.name;if(S.type==="hidden"&&o.getAttribute("name")===A)return o}else return o;if(o=Xs(o.nextSibling),o===null)break}return null}function DP(o,c,d){if(c==="")return null;for(;o.nodeType!==3;)if((o.nodeType!==1||o.nodeName!=="INPUT"||o.type!=="hidden")&&!d||(o=Xs(o.nextSibling),o===null))return null;return o}function A4(o,c){for(;o.nodeType!==8;)if((o.nodeType!==1||o.nodeName!=="INPUT"||o.type!=="hidden")&&!c||(o=Xs(o.nextSibling),o===null))return null;return o}function _v(o){return o.data==="$?"||o.data==="$~"}function Av(o){return o.data==="$!"||o.data==="$?"&&o.ownerDocument.readyState!=="loading"}function IP(o,c){var d=o.ownerDocument;if(o.data==="$~")o._reactRetry=c;else if(o.data!=="$?"||d.readyState!=="loading")c();else{var m=function(){c(),d.removeEventListener("DOMContentLoaded",m)};d.addEventListener("DOMContentLoaded",m),o._reactRetry=m}}function Xs(o){for(;o!=null;o=o.nextSibling){var c=o.nodeType;if(c===1||c===3)break;if(c===8){if(c=o.data,c==="$"||c==="$!"||c==="$?"||c==="$~"||c==="&"||c==="F!"||c==="F")break;if(c==="/$"||c==="/&")return null}}return o}var Tv=null;function T4(o){o=o.nextSibling;for(var c=0;o;){if(o.nodeType===8){var d=o.data;if(d==="/$"||d==="/&"){if(c===0)return Xs(o.nextSibling);c--}else d!=="$"&&d!=="$!"&&d!=="$?"&&d!=="$~"&&d!=="&"||c++}o=o.nextSibling}return null}function L4(o){o=o.previousSibling;for(var c=0;o;){if(o.nodeType===8){var d=o.data;if(d==="$"||d==="$!"||d==="$?"||d==="$~"||d==="&"){if(c===0)return o;c--}else d!=="/$"&&d!=="/&"||c++}o=o.previousSibling}return null}function E4(o,c,d){switch(c=Xm(d),o){case"html":if(o=c.documentElement,!o)throw Error(n(452));return o;case"head":if(o=c.head,!o)throw Error(n(453));return o;case"body":if(o=c.body,!o)throw Error(n(454));return o;default:throw Error(n(451))}}function wg(o){for(var c=o.attributes;c.length;)o.removeAttributeNode(c[0]);vt(o)}var Ks=new Map,M4=new Set;function Km(o){return typeof o.getRootNode=="function"?o.getRootNode():o.nodeType===9?o:o.ownerDocument}var cu=Z.d;Z.d={f:zP,r:FP,D:qP,C:HP,L:UP,m:WP,X:VP,S:GP,M:YP};function zP(){var o=cu.f(),c=Fm();return o||c}function FP(o){var c=St(o);c!==null&&c.tag===5&&c.type==="form"?VC(c):cu.r(o)}var jd=typeof document>"u"?null:document;function R4(o,c,d){var m=jd;if(m&&typeof c=="string"&&c){var S=Xn(c);S='link[rel="'+o+'"][href="'+S+'"]',typeof d=="string"&&(S+='[crossorigin="'+d+'"]'),M4.has(S)||(M4.add(S),o={rel:o,crossOrigin:d,href:c},m.querySelector(S)===null&&(c=m.createElement("link"),za(c,"link",o),Je(c),m.head.appendChild(c)))}}function qP(o){cu.D(o),R4("dns-prefetch",o,null)}function HP(o,c){cu.C(o,c),R4("preconnect",o,c)}function UP(o,c,d){cu.L(o,c,d);var m=jd;if(m&&o&&c){var S='link[rel="preload"][as="'+Xn(c)+'"]';c==="image"&&d&&d.imageSrcSet?(S+='[imagesrcset="'+Xn(d.imageSrcSet)+'"]',typeof d.imageSizes=="string"&&(S+='[imagesizes="'+Xn(d.imageSizes)+'"]')):S+='[href="'+Xn(o)+'"]';var A=S;switch(c){case"style":A=Dd(o);break;case"script":A=Id(o)}Ks.has(A)||(o=p({rel:"preload",href:c==="image"&&d&&d.imageSrcSet?void 0:o,as:c},d),Ks.set(A,o),m.querySelector(S)!==null||c==="style"&&m.querySelector(Cg(A))||c==="script"&&m.querySelector(kg(A))||(c=m.createElement("link"),za(c,"link",o),Je(c),m.head.appendChild(c)))}}function WP(o,c){cu.m(o,c);var d=jd;
vendor: 6,600 bytes, line 10
10if(d&&o){var m=c&&typeof c.as=="string"?c.as:"script",S='link[rel="modulepreload"][as="'+Xn(m)+'"][href="'+Xn(o)+'"]',A=S;switch(m){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":A=Id(o)}if(!Ks.has(A)&&(o=p({rel:"modulepreload",href:o},c),Ks.set(A,o),d.querySelector(S)===null)){switch(m){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(d.querySelector(kg(A)))return}m=d.createElement("link"),za(m,"link",o),Je(m),d.head.appendChild(m)}}}function GP(o,c,d){cu.S(o,c,d);var m=jd;if(m&&o){var S=zr(m).hoistableStyles,A=Dd(o);c=c||"default";var G=S.get(A);if(!G){var st={loading:0,preload:null};if(G=m.querySelector(Cg(A)))st.loading=5;else{o=p({rel:"stylesheet",href:o,"data-precedence":c},d),(d=Ks.get(A))&&Lv(o,d);var Ct=G=m.createElement("link");Je(Ct),za(Ct,"link",o),Ct._p=new Promise(function(Ft,oe){Ct.onload=Ft,Ct.onerror=oe}),Ct.addEventListener("load",function(){st.loading|=1}),Ct.addEventListener("error",function(){st.loading|=2}),st.loading|=4,Zm(G,c,m)}G={type:"stylesheet",instance:G,count:1,state:st},S.set(A,G)}}}function VP(o,c){cu.X(o,c);var d=jd;if(d&&o){var m=zr(d).hoistableScripts,S=Id(o),A=m.get(S);A||(A=d.querySelector(kg(S)),A||(o=p({src:o,async:!0},c),(c=Ks.get(S))&&Ev(o,c),A=d.createElement("script"),Je(A),za(A,"link",o),d.head.appendChild(A)),A={type:"script",instance:A,count:1,state:null},m.set(S,A))}}function YP(o,c){cu.M(o,c);var d=jd;if(d&&o){var m=zr(d).hoistableScripts,S=Id(o),A=m.get(S);A||(A=d.querySelector(kg(S)),A||(o=p({src:o,async:!0,type:"module"},c),(c=Ks.get(S))&&Ev(o,c),A=d.createElement("script"),Je(A),za(A,"link",o),d.head.appendChild(A)),A={type:"script",instance:A,count:1,state:null},m.set(S,A))}}function N4(o,c,d,m){var S=(S=lt.current)?Km(S):null;if(!S)throw Error(n(446));switch(o){case"meta":case"title":return null;case"style":return typeof d.precedence=="string"&&typeof d.href=="string"?(c=Dd(d.href),d=zr(S).hoistableStyles,m=d.get(c),m||(m={type:"style",instance:null,count:0,state:null},d.set(c,m)),m):{type:"void",instance:null,count:0,state:null};case"link":if(d.rel==="stylesheet"&&typeof d.href=="string"&&typeof d.precedence=="string"){o=Dd(d.href);var A=zr(S).hoistableStyles,G=A.get(o);if(G||(S=S.ownerDocument||S,G={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},A.set(o,G),(A=S.querySelector(Cg(o)))&&!A._p&&(G.instance=A,G.state.loading=5),Ks.has(o)||(d={rel:"preload",as:"style",href:d.href,crossOrigin:d.crossOrigin,integrity:d.integrity,media:d.media,hrefLang:d.hrefLang,referrerPolicy:d.referrerPolicy},Ks.set(o,d),A||XP(S,o,d,G.state))),c&&m===null)throw Error(n(528,""));return G}if(c&&m!==null)throw Error(n(529,""));return null;case"script":return c=d.async,d=d.src,typeof d=="string"&&c&&typeof c!="function"&&typeof c!="symbol"?(c=Id(d),d=zr(S).hoistableScripts,m=d.get(c),m||(m={type:"script",instance:null,count:0,state:null},d.set(c,m)),m):{type:"void",instance:null,count:0,state:null};default:throw Error(n(444,o))}}function Dd(o){return'href="'+Xn(o)+'"'}function Cg(o){return'link[rel="stylesheet"]['+o+"]"}function B4(o){return p({},o,{"data-precedence":o.precedence,precedence:null})}function XP(o,c,d,m){o.querySelector('link[rel="preload"][as="style"]['+c+"]")?m.loading=1:(c=o.createElement("link"),m.preload=c,c.addEventListener("load",function(){return m.loading|=1}),c.addEventListener("error",function(){return m.loading|=2}),za(c,"link",d),Je(c),o.head.appendChild(c))}function Id(o){return'[src="'+Xn(o)+'"]'}function kg(o){return"script[async]"+o}function O4(o,c,d){if(c.count++,c.instance===null)switch(c.type){case"style":var m=o.querySelector('style[data-href~="'+Xn(d.href)+'"]');if(m)return c.instance=m,Je(m),m;var S=p({},d,{"data-href":d.href,"data-precedence":d.precedence,href:null,precedence:null});return m=(o.ownerDocument||o).createElement("style"),Je(m),za(m,"style",S),Zm(m,d.precedence,o),c.instance=m;case"stylesheet":S=Dd(d.href);var A=o.querySelector(Cg(S));if(A)return c.state.loading|=4,c.instance=A,Je(A),A;m=B4(d),(S=Ks.get(S))&&Lv(m,S),A=(o.ownerDocument||o).createElement("link"),Je(A);var G=A;return G._p=new Promise(function(st,Ct){G.onload=st,G.onerror=Ct}),za(A,"link",m),c.state.loading|=4,Zm(A,d.precedence,o),c.instance=A;case"script":return A=Id(d.src),(S=o.querySelector(kg(A)))?(c.instance=S,Je(S),S):(m=d,(S=Ks.get(A))&&(m=p({},d),Ev(m,S)),o=o.ownerDocument||o,S=o.createElement("script"),Je(S),za(S,"link",m),o.head.appendChild(S),c.instance=S);case"void":return null;default:throw Error(n(443,c.type))}else c.type==="stylesheet"&&(c.state.loading&4)===0&&(m=c.instance,c.state.loading|=4,Zm(m,d.precedence,o));return c.instance}function Zm(o,c,d){for(var m=d.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),S=m.length?m[m.length-1]:null,A=S,G=0;G<m.length;G++){var st=m[G];if(st.dataset.precedence===c)A=st;else if(A!==S)break}A?A.parentNode.insertBefore(o,A.nextSibling):(c=d.nodeType===9?d.head:d,c.insertBefore(o,c.firstChild))}function Lv(o,c){o.crossOrigin==null&&(o.crossOrigin=c.crossOrigin),o.referrerPolicy==null&&(o.referrerPolicy=c.referrerPolicy),o.title==null&&(o.title=c.title)}function Ev(o,c){o.crossOrigin==null&&(o.crossOrigin=c.crossOrigin),o.referrerPolicy==null&&(o.referrerPolicy=c.referrerPolicy),o.integrity==null&&(o.integrity=c.integrity)}var Qm=null;function P4(o,c,d){if(Qm===null){var m=new Map,S=Qm=new Map;S.set(d,m)}else S=Qm,m=S.get(d),m||(m=new Map,S.set(d,m));if(m.has(o))return m;for(m.set(o,null),d=d.getElementsByTagName(o),S=0;S<d.length;S++){var A=d[S];if(!(A[ge]||A[mr]||o==="link"&&A.getAttribute("rel")==="stylesheet")&&A.namespaceURI!=="http://www.w3.org/2000/svg"){var G=A.getAttribute(c)||"";G=o+G;var st=m.get(G);st?st.push(A):m.set(G,[A])}}return m}function $4(o,c,d){o=o.ownerDocument||o,o.head.insertBefore(d,c==="title"?o.querySelector("head > title"):null)}function KP(o,c,d){if(d===1||c.itemProp!=null)return!1;switch(o){case"meta":case"title":return!0;case"style":if(typeof c.precedence!="string"||typeof c.href!="string"||c.href==="")break;return!0;case"link":if(typeof c.rel!="string"||typeof c.href!="string"||c.href===""||c.onLoad||c.onError)break;return c.rel==="stylesheet"?(o=c.disabled,typeof c.precedence=="string"&&o==null):!0;case"script":if(c.async&&typeof c.async!="function"&&typeof c.async!="symbol"&&!c.onLoad&&!c.onError&&c.src&&typeof c.src=="string")return!0}return!1}function j4(o){return!(o.type==="stylesheet"&&(o.state.loading&3)===0)}function ZP(o,c,d,m){if(d.type==="stylesheet"&&(typeof m.media!="str
10ing"||matchMedia(m.media).matches!==!1)&&(d.state.loading&4)===0){if(d.instance===null){var S=Dd(m.href),A=c.querySelector(Cg(S));if(A){c=A._p,c!==null&&typeof c=="object"&&typeof c.then=="function"&&(o.count++,o=Jm.bind(o),c.then(o,o)),d.state.loading|=4,d.instance=A,Je(A);return}A=c.ownerDocument||c,m=B4(m),(S=Ks.get(S))&&Lv(m,S),A=A.createElement("link"),Je(A);var G=A;G._p=new Promise(function(st,Ct){G.onload=st,G.onerror=Ct}),za(A,"link",m),d.instance=A}o.stylesheets===null&&(o.stylesheets=new Map),o.stylesheets.set(d,c),(c=d.state.preload)&&(d.state.loading&3)===0&&(o.count++,d=Jm.bind(o),c.addEventListener("load",d),c.addEventListener("error",d))}}var Mv=0;function QP(o,c){return o.stylesheets&&o.count===0&&e1(o,o.stylesheets),0<o.count||0<o.imgCount?function(d){var m=setTimeout(function(){if(o.stylesheets&&e1(o,o.stylesheets),o.unsuspend){var A=o.unsuspend;o.unsuspend=null,A()}},6e4+c);0<o.imgBytes&&Mv===0&&(Mv=62500*NP());var S=setTimeout(function(){if(o.waitingForImages=!1,o.count===0&&(o.stylesheets&&e1(o,o.stylesheets),o.unsuspend)){var A=o.unsuspend;o.unsuspend=null,A()}},(o.imgBytes>Mv?50:800)+c);return o.unsuspend=d,function(){o.unsuspend=null,clearTimeout(m),clearTimeout(S)}}:null}function Jm(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)e1(this,this.stylesheets);else if(this.unsuspend){var o=this.unsuspend;this.unsuspend=null,o()}}}var t1=null;function e1(o,c){o.stylesheets=null,o.unsuspend!==null&&(o.count++,t1=new Map,c.forEach(JP,o),t1=null,Jm.call(o))}function JP(o,c){if(!(c.state.loading&4)){var d=t1.get(o);if(d)var m=d.get(null);else{d=new Map,t1.set(o,d);for(var S=o.querySelectorAll("link[data-precedence],style[data-precedence]"),A=0;A<S.length;A++){var G=S[A];(G.nodeName==="LINK"||G.getAttribute("media")!=="not all")&&(d.set(G.dataset.precedence,G),m=G)}m&&d.set(null,m)}S=c.instance,G=S.getAttribute("data-precedence"),A=d.get(G)||m,A===m&&d.set(null,S),d.set(G,S),this.count++,m=Jm.bind(this),S.addEventListener("load",m),S.addEventListener("error",m),A?A.parentNode.insertBefore(S,A.nextSibling):(o=o.nodeType===9?o.head:o,o.insertBefore(S,o.firstChild)),c.state.loading|=4}}var _g={$$typeof:E,Provider:null,Consumer:null,_currentValue:Q,_currentValue2:Q,_threadCount:0};function t9(o,c,d,m,S,A,G,st,Ct){this.tag=1,this.containerInfo=o,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Br(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Br(0),this.hiddenUpdates=Br(null),this.identifierPrefix=m,this.onUncaughtError=S,this.onCaughtError=A,this.onRecoverableError=G,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=Ct,this.incompleteTransitions=new Map}function D4(o,c,d,m,S,A,G,st,Ct,Ft,oe,ye){return o=new t9(o,c,d,G,Ct,Ft,oe,ye,st),c=1,A===!0&&(c|=24),A=Ta(3,null,null,c),o.current=A,A.stateNode=o,c=Ju(),c.refCount++,o.pooledCache=c,c.refCount++,A.memoizedState={element:m,isDehydrated:d,cache:c},Fe(A),o}function I4(o){return o?(o=da,o):da}function z4(o,c,d,m,S,A){S=I4(S),m.context===null?m.context=S:m.pendingContext=S,m=Nr(c),m.payload={element:d},A=A===void 0?null:A,A!==null&&(m.callback=A),d=Qr(o,m,c),d!==null&&(Wo(d,o,c),Pn(d,o,c))}function F4(o,c){if(o=o.memoizedState,o!==null&&o.dehydrated!==null){var d=o.retryLane;o.retryLane=d!==0&&d<c?d:c}}function Rv(o,c){F4(o,c),(o=o.alternate)&&F4(o,c)}function q4(o){if(o.tag===13||o.tag===31){var c=_l(o,67108864);c!==null&&Wo(c,o,67108864),Rv(o,67108864)}}function H4(o){if(o.tag===13||o.tag===31){var c=vs();c=vr(c);var d=_l(o,c);d!==null&&Wo(d,o,c),Rv(o,c)}}var r1=!0;function e9(o,c,d,m){var S=D.T;D.T=null;var A=Z.p;try{Z.p=2,Nv(o,c,d,m)}finally{Z.p=A,D.T=S}}function r9(o,c,d,m){var S=D.T;D.T=null;var A=Z.p;try{Z.p=8,Nv(o,c,d,m)}finally{Z.p=A,D.T=S}}function Nv(o,c,d,m){if(r1){var S=Bv(m);if(S===null)bv(o,c,m,n1,d),W4(o,m);else if(i9(S,o,c,d,m))m.stopPropagation();else if(W4(o,m),c&4&&-1<n9.indexOf(o)){for(;S!==null;){var A=St(S);if(A!==null)switch(A.tag){case 3:if(A=A.stateNode,A.current.memoizedState.isDehydrated){var G=Me(A.pendingLanes);if(G!==0){var st=A;for(st.pendingLanes|=2,st.entangledLanes|=2;G;){var Ct=1<<31-Pe(G);st.entanglements[1]|=Ct,G&=~Ct}pc(A),(jn&6)===0&&(Im=de()+500,vg(0))}}break;
vendor: 4,407 bytes, line 10
10case 31:case 13:st=_l(A,2),st!==null&&Wo(st,A,2),Fm(),Rv(A,2)}if(A=Bv(m),A===null&&bv(o,c,m,n1,d),A===S)break;S=A}S!==null&&m.stopPropagation()}else bv(o,c,m,null,d)}}function Bv(o){return o=Os(o),Ov(o)}var n1=null;function Ov(o){if(n1=null,o=Zt(o),o!==null){var c=a(o);if(c===null)o=null;else{var d=c.tag;if(d===13){if(o=s(c),o!==null)return o;o=null}else if(d===31){if(o=l(c),o!==null)return o;o=null}else if(d===3){if(c.stateNode.current.memoizedState.isDehydrated)return c.tag===3?c.stateNode.containerInfo:null;o=null}else c!==o&&(o=null)}}return n1=o,null}function U4(o){switch(o){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Be()){case _e:return 2;case Ne:return 8;case Oe:case we:return 32;case Ae:return 268435456;default:return 32}default:return 32}}var Pv=!1,fh=null,dh=null,ph=null,Ag=new Map,Tg=new Map,gh=[],n9="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function W4(o,c){switch(o){case"focusin":case"focusout":fh=null;break;case"dragenter":case"dragleave":dh=null;break;case"mouseover":case"mouseout":ph=null;break;case"pointerover":case"pointerout":Ag.delete(c.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tg.delete(c.pointerId)}}function Lg(o,c,d,m,S,A){return o===null||o.nativeEvent!==A?(o={blockedOn:c,domEventName:d,eventSystemFlags:m,nativeEvent:A,targetContainers:[S]},c!==null&&(c=St(c),c!==null&&q4(c)),o):(o.eventSystemFlags|=m,c=o.targetContainers,S!==null&&c.indexOf(S)===-1&&c.push(S),o)}function i9(o,c,d,m,S){switch(c){case"focusin":return fh=Lg(fh,o,c,d,m,S),!0;case"dragenter":return dh=Lg(dh,o,c,d,m,S),!0;case"mouseover":return ph=Lg(ph,o,c,d,m,S),!0;case"pointerover":var A=S.pointerId;return Ag.set(A,Lg(Ag.get(A)||null,o,c,d,m,S)),!0;case"gotpointercapture":return A=S.pointerId,Tg.set(A,Lg(Tg.get(A)||null,o,c,d,m,S)),!0}return!1}function G4(o){var c=Zt(o.target);if(c!==null){var d=a(c);if(d!==null){if(c=d.tag,c===13){if(c=s(d),c!==null){o.blockedOn=c,dn(o.priority,function(){H4(d)});return}}else if(c===31){if(c=l(d),c!==null){o.blockedOn=c,dn(o.priority,function(){H4(d)});return}}else if(c===3&&d.stateNode.current.memoizedState.isDehydrated){o.blockedOn=d.tag===3?d.stateNode.containerInfo:null;return}}}o.blockedOn=null}function i1(o){if(o.blockedOn!==null)return!1;for(var c=o.targetContainers;0<c.length;){var d=Bv(o.nativeEvent);if(d===null){d=o.nativeEvent;var m=new d.constructor(d.type,d);Ya=m,d.target.dispatchEvent(m),Ya=null}else return c=St(d),c!==null&&q4(c),o.blockedOn=d,!1;c.shift()}return!0}function V4(o,c,d){i1(o)&&d.delete(c)}function a9(){Pv=!1,fh!==null&&i1(fh)&&(fh=null),dh!==null&&i1(dh)&&(dh=null),ph!==null&&i1(ph)&&(ph=null),Ag.forEach(V4),Tg.forEach(V4)}function a1(o,c){o.blockedOn===c&&(o.blockedOn=null,Pv||(Pv=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,a9)))}var o1=null;function Y4(o){o1!==o&&(o1=o,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){o1===o&&(o1=null);for(var c=0;c<o.length;c+=3){var d=o[c],m=o[c+1],S=o[c+2];if(typeof m!="function"){if(Ov(m||d)===null)continue;break}var A=St(d);A!==null&&(o.splice(c,3),c-=3,Bb(A,{pending:!0,data:S,method:d.method,action:m}
vendor: 4,696 bytes, line 10
10,m,S))}}))}function zd(o){function c(Ct){return a1(Ct,o)}fh!==null&&a1(fh,o),dh!==null&&a1(dh,o),ph!==null&&a1(ph,o),Ag.forEach(c),Tg.forEach(c);for(var d=0;d<gh.length;d++){var m=gh[d];m.blockedOn===o&&(m.blockedOn=null)}for(;0<gh.length&&(d=gh[0],d.blockedOn===null);)G4(d),d.blockedOn===null&&gh.shift();if(d=(o.ownerDocument||o).$$reactFormReplay,d!=null)for(m=0;m<d.length;m+=3){var S=d[m],A=d[m+1],G=S[Cr]||null;if(typeof A=="function")G||Y4(d);else if(G){var st=null;if(A&&A.hasAttribute("formAction")){if(S=A,G=A[Cr]||null)st=G.formAction;else if(Ov(S)!==null)continue}else st=G.action;typeof st=="function"?d[m+1]=st:(d.splice(m,3),m-=3),Y4(d)}}}function X4(){function o(A){A.canIntercept&&A.info==="react-transition"&&A.intercept({handler:function(){return new Promise(function(G){return S=G})},focusReset:"manual",scroll:"manual"})}function c(){S!==null&&(S(),S=null),m||setTimeout(d,20)}function d(){if(!m&&!navigation.transition){var A=navigation.currentEntry;A&&A.url!=null&&navigation.navigate(A.url,{state:A.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var m=!1,S=null;return navigation.addEventListener("navigate",o),navigation.addEventListener("navigatesuccess",c),navigation.addEventListener("navigateerror",c),setTimeout(d,100),function(){m=!0,navigation.removeEventListener("navigate",o),navigation.removeEventListener("navigatesuccess",c),navigation.removeEventListener("navigateerror",c),S!==null&&(S(),S=null)}}}function $v(o){this._internalRoot=o}s1.prototype.render=$v.prototype.render=function(o){var c=this._internalRoot;if(c===null)throw Error(n(409));var d=c.current,m=vs();z4(d,m,o,c,null,null)},s1.prototype.unmount=$v.prototype.unmount=function(){var o=this._internalRoot;if(o!==null){this._internalRoot=null;var c=o.containerInfo;z4(o.current,2,null,o,null,null),Fm(),c[Rr]=null}};function s1(o){this._internalRoot=o}s1.prototype.unstable_scheduleHydration=function(o){if(o){var c=Or();o={blockedOn:null,target:o,priority:c};for(var d=0;d<gh.length&&c!==0&&c<gh[d].priority;d++);gh.splice(d,0,o),d===0&&G4(o)}};var K4=e.version;if(K4!=="19.2.4")throw Error(n(527,K4,"19.2.4"));Z.findDOMNode=function(o){var c=o._reactInternals;if(c===void 0)throw typeof o.render=="function"?Error(n(188)):(o=Object.keys(o).join(","),Error(n(268,o)));return o=h(c),o=o!==null?f(o):null,o=o===null?null:o.stateNode,o};var o9={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var l1=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!l1.isDisabled&&l1.supportsFiber)try{He=l1.inject(o9),Jt=l1}catch{}}return Mg.createRoot=function(o,c){if(!i(o))throw Error(n(299));var d=!1,m="",S=n3,A=i3,G=a3;return c!=null&&(c.unstable_strictMode===!0&&(d=!0),c.identifierPrefix!==void 0&&(m=c.identifierPrefix),c.onUncaughtError!==void 0&&(S=c.onUncaughtError),c.onCaughtError!==void 0&&(A=c.onCaughtError),c.onRecoverableError!==void 0&&(G=c.onRecoverableError)),c=D4(o,1,!1,null,null,d,m,null,S,A,G,X4),o[Rr]=c.current,yv(o),new $v(c)},Mg.hydrateRoot=function(o,c,d){if(!i(o))throw Error(n(299));var m=!1,S="",A=n3,G=i3,st=a3,Ct=null;return d!=null&&(d.unstable_strictMode===!0&&(m=!0),d.identifierPrefix!==void 0&&(S=d.identifierPrefix),d.onUncaughtError!==void 0&&(A=d.onUncaughtError),d.onCaughtError!==void 0&&(G=d.onCaughtError),d.onRecoverableError!==void 0&&(st=d.onRecoverableError),d.formState!==void 0&&(Ct=d.formState)),c=D4(o,1,!0,c,d??null,m,S,Ct,A,G,st,X4),c.context=I4(null),d=c.current,m=vs(),m=vr(m),S=Nr(m),S.callback=null,Qr(d,S,m),d=m,c.current.lanes=d,ee(c,d),pc(c),o[Rr]=c.current,yv(o),new s1(c)},Mg.version="19.2.4",Mg}var ok;function m9(){if(ok)return Iv.exports;ok=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),Iv.exports=g9(),Iv.exports}var y9=m9();const T0={black:"#000",white:"#fff"},Fd={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},qd={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Hd={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Ud={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Wd={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Rg={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},b9={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};
10function _u(t,...e){const r=new URL(`https://mui.com/production-error/?code=${t}`);return e.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${t}; visit ${r} for the full message.`}const Dl="$$material";function _2(){return _2=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},_2.apply(null,arguments)}function v9(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function x9(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var S9=(function(){function t(r){var n=this;this._insertTag=function(i){var a;n.tags.length===0?n.insertionPoint?a=n.insertionPoint.nextSibling:n.prepend?a=n.container.firstChild:a=n.before:a=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,a),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(n){n.forEach(this._insertTag)},e.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(x9(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var a=v9(i);try{a.insertRule(n,a.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++}
vendor: 7,389 bytes, line 10
10,e.flush=function(){this.tags.forEach(function(n){var i;return(i=n.parentNode)==null?void 0:i.removeChild(n)}),this.tags=[],this.ctr=0},t})(),io="-ms-",A2="-moz-",Dn="-webkit-",e8="comm",XS="rule",KS="decl",w9="@import",r8="@keyframes",C9="@layer",k9=Math.abs,_y=String.fromCharCode,_9=Object.assign;function A9(t,e){return Ua(t,0)^45?(((e<<2^Ua(t,0))<<2^Ua(t,1))<<2^Ua(t,2))<<2^Ua(t,3):0}function n8(t){return t.trim()}function T9(t,e){return(t=e.exec(t))?t[0]:t}function In(t,e,r){return t.replace(e,r)}function i5(t,e){return t.indexOf(e)}function Ua(t,e){return t.charCodeAt(e)|0}function L0(t,e,r){return t.slice(e,r)}function kc(t){return t.length}function ZS(t){return t.length}function c1(t,e){return e.push(t),t}function L9(t,e){return t.map(e).join("")}var Ay=1,_p=1,i8=0,ts=0,oa=0,Ip="";function Ty(t,e,r,n,i,a,s){return{value:t,root:e,parent:r,type:n,props:i,children:a,line:Ay,column:_p,length:s,return:""}}function Ng(t,e){return _9(Ty("",null,null,"",null,null,0),t,{length:-t.length},e)}function E9(){return oa}function M9(){return oa=ts>0?Ua(Ip,--ts):0,_p--,oa===10&&(_p=1,Ay--),oa}function Ls(){return oa=ts<i8?Ua(Ip,ts++):0,_p++,oa===10&&(_p=1,Ay++),oa}function Nc(){return Ua(Ip,ts)}function K1(){return ts}function Z0(t,e){return L0(Ip,t,e)}function E0(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function a8(t){return Ay=_p=1,i8=kc(Ip=t),ts=0,[]}function o8(t){return Ip="",t}function Z1(t){return n8(Z0(ts-1,a5(t===91?t+2:t===40?t+1:t)))}function R9(t){for(;(oa=Nc())&&oa<33;)Ls();return E0(t)>2||E0(oa)>3?"":" "}function N9(t,e){for(;--e&&Ls()&&!(oa<48||oa>102||oa>57&&oa<65||oa>70&&oa<97););return Z0(t,K1()+(e<6&&Nc()==32&&Ls()==32))}function a5(t){for(;Ls();)switch(oa){case t:return ts;case 34:case 39:t!==34&&t!==39&&a5(oa);break;case 40:t===41&&a5(t);break;case 92:Ls();break}return ts}function B9(t,e){for(;Ls()&&t+oa!==57;)if(t+oa===84&&Nc()===47)break;return"/*"+Z0(e,ts-1)+"*"+_y(t===47?t:Ls())}function O9(t){for(;!E0(Nc());)Ls();return Z0(t,ts)}function P9(t){return o8(Q1("",null,null,null,[""],t=a8(t),0,[0],t))}function Q1(t,e,r,n,i,a,s,l,u){for(var h=0,f=0,p=s,y=0,g=0,b=0,v=1,C=1,k=1,T=0,E="",L=i,O=a,W=n,q=E;C;)switch(b=T,T=Ls()){case 40:if(b!=108&&Ua(q,p-1)==58){i5(q+=In(Z1(T),"&","&\f"),"&\f")!=-1&&(k=-1);break}case 34:case 39:case 91:q+=Z1(T);break;case 9:case 10:case 13:case 32:q+=R9(b);break;case 92:q+=N9(K1()-1,7);continue;case 47:switch(Nc()){case 42:case 47:c1($9(B9(Ls(),K1()),e,r),u);break;default:q+="/"}break;case 123*v:l[h++]=kc(q)*k;case 125*v:case 59:case 0:switch(T){case 0:case 125:C=0;case 59+f:k==-1&&(q=In(q,/\f/g,"")),g>0&&kc(q)-p&&c1(g>32?lk(q+";",n,r,p-1):lk(In(q," ","")+";",n,r,p-2),u);break;case 59:q+=";";default:if(c1(W=sk(q,e,r,h,f,i,l,E,L=[],O=[],p),a),T===123)if(f===0)Q1(q,e,W,W,L,a,p,l,O);else switch(y===99&&Ua(q,3)===110?100:y){case 100:case 108:case 109:case 115:Q1(t,W,W,n&&c1(sk(t,W,W,0,0,i,l,E,i,L=[],p),O),i,O,p,l,n?L:O);break;default:Q1(q,W,W,W,[""],O,0,l,O)}}h=f=g=0,v=k=1,E=q="",p=s;break;case 58:p=1+kc(q),g=b;default:if(v<1){if(T==123)--v;else if(T==125&&v++==0&&M9()==125)continue}switch(q+=_y(T),T*v){case 38:k=f>0?1:(q+="\f",-1);break;case 44:l[h++]=(kc(q)-1)*k,k=1;break;case 64:Nc()===45&&(q+=Z1(Ls())),y=Nc(),f=p=kc(E=q+=O9(K1())),T++;break;case 45:b===45&&kc(q)==2&&(v=0)}}return a}function sk(t,e,r,n,i,a,s,l,u,h,f){for(var p=i-1,y=i===0?a:[""],g=ZS(y),b=0,v=0,C=0;b<n;++b)for(var k=0,T=L0(t,p+1,p=k9(v=s[b])),E=t;k<g;++k)(E=n8(v>0?y[k]+" "+T:In(T,/&\f/g,y[k])))&&(u[C++]=E);return Ty(t,e,r,i===0?XS:l,u,h,f)}function $9(t,e,r){return Ty(t,e,r,e8,_y(E9()),L0(t,2,-2),0)}function lk(t,e,r,n){return Ty(t,e,r,KS,L0(t,0,n),L0(t,n+1,-1),n)}function sp(t,e){for(var r="",n=ZS(t),i=0;i<n;i++)r+=e(t[i],i,t,e)||"";return r}function j9(t,e,r,n){switch(t.type){case C9:if(t.children.length)break;case w9:case KS:return t.return=t.return||t.value;case e8:return"";case r8:return t.return=t.value+"{"+sp(t.children,n)+"}";case XS:t.value=t.props.join(",")}return kc(r=sp(t.children,n))?t.return=t.value+"{"+r+"}":""}function D9(t){var e=ZS(t);return function(r,n,i,a){for(var s="",l=0;l<e;l++)s+=t[l](r,n,i,a)||"";return s}}function I9(t){return function(e){e.root||(e=e.return)&&t(e)}}function s8(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var z9=function(e,r,n){for(var i=0,a=0;i=a,a=Nc(),i===38&&a===12&&(r[n]=1),!E0(a);)Ls();return Z0(e,ts)},F9=function(e,r){var n=-1,i=44;do switch(E0(i)){case 0:i===38&&Nc()===12&&(r[n]=1),e[n]+=z9(ts-1,r,n);break;case 2:e[n]+=Z1(i);break;case 4:if(i===44){e[++n]=Nc()===58?"&\f":"",r[n]=e[n].length;break}default:e[n]+=_y(i)}while(i=Ls());return e},q9=function(e,r){return o8(F9(a8(e),r))},ck=new WeakMap,H9=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var r=e.value,n=e.parent,i=e.column===n.column&&e.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(e.props.length===1&&r.charCodeAt(0)!==58&&!ck.get(n))&&!i){ck.set(e,!0);for(var a=[],s=q9(r,a),l=n.props,u=0,h=0;u<s.length;u++)for(var f=0;f<l.length;f++,h++)e.props[h]=a[u]?s[u].replace(/&\f/g,l[f]):l[f]+" "+s[u]}}},U9=function(e){if(e.type==="decl"){var r=e.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(e.return="",e.value="")}};function l8(t,e){switch(A9(t,e)){case 5103:return Dn+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Dn+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return Dn+t+A2+t+io+t+t;case 6828:case 4268:return Dn+t+io+t+t;case 6165:return Dn+t+io+"flex-"+t+t;case 5187:return Dn+t+In(t,/(\w+).+(:[^]+)/,Dn+"box-$1$2"+io+"flex-$1$2")+t;case 5443:return Dn+t+io+"flex-item-"+In(t,/flex-|-self/,"")+t;case 4675:return Dn+t+io+"flex-line-pack"+In(t,/align-content|flex-|-self/,"")+t;case 5548:return Dn+t+io+In(t,"shrink","negative")+t;case 5292:return Dn+t+io+In(t,"basis","preferred-size")+t;case 6060:return Dn+"box-"+In(t,"-grow","")+Dn+t+io+In(t,"grow","positive")+t;case 4554:return Dn+In(t,/([^-])(transform)/g,"$1"+Dn+"$2")+t;case 6187:return In(In(In(t,/(zoom-|grab)/,Dn+"$1"),/(image-set)/,Dn+"$1"),t,"")+t;case 5495:case 3959:return In(t,/(image-set\([^]*)/,Dn+"$1$`$1");case 4968:return In(In(t,/(.+:)(flex-)?(.*)/,Dn+"box-pack:$3"+io+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Dn+t+t;case 4095:case 3583:case 4068:case 2532:return In(t,/(.+)-inline(.+)/,Dn+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(kc(t)-1-e>6)switch(Ua(t,e+1)){case 109:if(Ua(t,e+4)!==45)break;case 102:return In(t,/(.+:)(.+)-([^]+)/,"$1"+Dn+"$2-$3$1"+A2+(Ua(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~i5(t,"stretch")?l8(In(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(Ua(t,e+1)!==115)break;case 6444:switch(Ua(t,kc(t)-3-(~i5(t,"!important")&&10))){case 107:return In(t,":",":"+Dn)+t;case 101:return In(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Dn+(Ua(t,14)===45?"inline-":"")+"box$3$1"+Dn+"$2$3$1"+io+"$2box$3")+t}break;case 5936:switch(Ua(t,e+11)){case 114:return Dn+t+io+In(t,/[svh]\w+-[tblr]{2}/,"tb")+t;
10case 108:return Dn+t+io+In(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Dn+t+io+In(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Dn+t+io+t+t}return t}var W9=function(e,r,n,i){if(e.length>-1&&!e.return)switch(e.type){case KS:e.return=l8(e.value,e.length);break;case r8:return sp([Ng(e,{value:In(e.value,"@","@"+Dn)})],i);case XS:if(e.length)return L9(e.props,function(a){switch(T9(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return sp([Ng(e,{props:[In(a,/:(read-\w+)/,":"+A2+"$1")]})],i);case"::placeholder":return sp([Ng(e,{props:[In(a,/:(plac\w+)/,":"+Dn+"input-$1")]}),Ng(e,{props:[In(a,/:(plac\w+)/,":"+A2+"$1")]}),Ng(e,{props:[In(a,/:(plac\w+)/,io+"input-$1")]})],i)}return""})}},G9=[W9],V9=function(e){var r=e.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(v){var C=v.getAttribute("data-emotion");C.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var i=e.stylisPlugins||G9,a={},s,l=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(v){for(var C=v.getAttribute("data-emotion").split(" "),k=1;k<C.length;k++)a[C[k]]=!0;l.push(v)});var u,h=[H9,U9];{var f,p=[j9,I9(function(v){f.insert(v)})],y=D9(h.concat(i,p)),g=function(C){return sp(P9(C),y)};u=function(C,k,T,E){f=T,g(C?C+"{"+k.styles+"}":k.styles),E&&(b.inserted[k.name]=!0)}}var b={key:r,sheet:new S9({key:r,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:u};return b.sheet.hydrate(l),b},Hv={exports:{}},Fn={};var uk;function Y9(){if(uk)return Fn;uk=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,n=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,a=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,h=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,p=t?Symbol.for("react.suspense"):60113,y=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,b=t?Symbol.for("react.lazy"):60116,v=t?Symbol.for("react.block"):60121,C=t?Symbol.for("react.fundamental"):60117,k=t?Symbol.for("react.responder"):60118,T=t?Symbol.for("react.scope"):60119;function E(O){if(typeof O=="object"&&O!==null){var W=O.$$typeof;switch(W){case e:switch(O=O.type,O){case u:case h:case n:case a:case i:case p:return O;default:switch(O=O&&O.$$typeof,O){case l:case f:case b:case g:case s:return O;default:return W}}case r:return W}}}function L(O){return E(O)===h}return Fn.AsyncMode=u,Fn.ConcurrentMode=h,Fn.ContextConsumer=l,Fn.ContextProvider=s,Fn.Element=e,Fn.ForwardRef=f,Fn.Fragment=n,Fn.Lazy=b,Fn.Memo=g,Fn.Portal=r,Fn.Profiler=a,Fn.StrictMode=i,Fn.Suspense=p,Fn.isAsyncMode=function(O){return L(O)||E(O)===u},Fn.isConcurrentMode=L,Fn.isContextConsumer=function(O){return E(O)===l},Fn.isContextProvider=function(O){return E(O)===s},Fn.isElement=function(O){return typeof O=="object"&&O!==null&&O.$$typeof===e},Fn.isForwardRef=function(O){return E(O)===f},Fn.isFragment=function(O){return E(O)===n},Fn.isLazy=function(O){return E(O)===b},Fn.isMemo=function(O){return E(O)===g},Fn.isPortal=function(O){return E(O)===r},Fn.isProfiler=function(O){return E(O)===a},Fn.isStrictMode=function(O){return E(O)===i},Fn.isSuspense=function(O){return E(O)===p},Fn.isValidElementType=function(O){return typeof O=="string"||typeof O=="function"||O===n||O===h||O===a||O===i||O===p||O===y||typeof O=="object"&&O!==null&&(O.$$typeof===b||O.$$typeof===g||O.$$typeof===s||O.$$typeof===l||O.$$typeof===f||O.$$typeof===C||O.$$typeof===k||O.$$typeof===T||O.$$typeof===v)},Fn.typeOf=E,Fn}var hk;function X9(){return hk||(hk=1,Hv.exports=Y9()),Hv.exports}var Uv,fk;function K9(){if(fk)return Uv;fk=1;var t=X9(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0}
vendor: 4,726 bytes, line 10
10,r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[t.ForwardRef]=n,a[t.Memo]=i;function s(b){return t.isMemo(b)?i:a[b.$$typeof]||e}var l=Object.defineProperty,u=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,y=Object.prototype;function g(b,v,C){if(typeof v!="string"){if(y){var k=p(v);k&&k!==y&&g(b,k,C)}var T=u(v);h&&(T=T.concat(h(v)));for(var E=s(b),L=s(v),O=0;O<T.length;++O){var W=T[O];if(!r[W]&&!(C&&C[W])&&!(L&&L[W])&&!(E&&E[W])){var q=f(v,W);try{l(b,W,q)}catch{}}}}return b}return Uv=g,Uv}K9();var Z9=!0;function c8(t,e,r){var n="";return r.split(" ").forEach(function(i){t[i]!==void 0?e.push(t[i]+";"):i&&(n+=i+" ")}),n}var QS=function(e,r,n){var i=e.key+"-"+r.name;(n===!1||Z9===!1)&&e.registered[i]===void 0&&(e.registered[i]=r.styles)},JS=function(e,r,n){QS(e,r,n);var i=e.key+"-"+r.name;if(e.inserted[r.name]===void 0){var a=r;do e.insert(r===a?"."+i:"",a,e.sheet,!0),a=a.next;while(a!==void 0)}};function Q9(t){for(var e=0,r,n=0,i=t.length;i>=4;++n,i-=4)r=t.charCodeAt(n)&255|(t.charCodeAt(++n)&255)<<8|(t.charCodeAt(++n)&255)<<16|(t.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,e=(r&65535)*1540483477+((r>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(n+2)&255)<<16;case 2:e^=(t.charCodeAt(n+1)&255)<<8;case 1:e^=t.charCodeAt(n)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var J9={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},t$=/[A-Z]|^ms/g,e$=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u8=function(e){return e.charCodeAt(1)===45},dk=function(e){return e!=null&&typeof e!="boolean"},Wv=s8(function(t){return u8(t)?t:t.replace(t$,"-$&").toLowerCase()}),pk=function(e,r){switch(e){case"animation":case"animationName":if(typeof r=="string")return r.replace(e$,function(n,i,a){return _c={name:i,styles:a,next:_c},i})}return J9[e]!==1&&!u8(e)&&typeof r=="number"&&r!==0?r+"px":r};function M0(t,e,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return _c={name:i.name,styles:i.styles,next:_c},i.name;var a=r;if(a.styles!==void 0){var s=a.next;if(s!==void 0)for(;s!==void 0;)_c={name:s.name,styles:s.styles,next:_c},s=s.next;var l=a.styles+";";return l}return r$(t,e,r)}case"function":{if(t!==void 0){var u=_c,h=r(t);return _c=u,M0(t,e,h)}break}}var f=r;if(e==null)return f;var p=e[f];return p!==void 0?p:f}function r$(t,e,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=M0(t,e,r[i])+";";else for(var a in r){var s=r[a];if(typeof s!="object"){var l=s;e!=null&&e[l]!==void 0?n+=a+"{"+e[l]+"}":dk(l)&&(n+=Wv(a)+":"+pk(a,l)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&(e==null||e[s[0]]===void 0))for(var u=0;u<s.length;u++)dk(s[u])&&(n+=Wv(a)+":"+pk(a,s[u])+";");else{var h=M0(t,e,s);switch(a){case"animation":case"animationName":{n+=Wv(a)+":"+h+";";break}default:n+=a+"{"+h+"}"}}}return n}var gk=/label:\s*([^\s;{]+)\s*(;|$)/g,_c;function Q0(t,e,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var n=!0,i="";_c=void 0;var a=t[0];if(a==null||a.raw===void 0)n=!1,i+=M0(r,e,a);else{var s=a;i+=s[0]}for(var l=1;l<t.length;l++)if(i+=M0(r,e,t[l]),n){var u=a;i+=u[l]}gk.lastIndex=0;for(var h="",f;(f=gk.exec(i))!==null;)h+="-"+f[1];var p=Q9(i)+h;return{name:p,styles:i,next:_c}}var n$=function(e){return e()},h8=k2.useInsertionEffect?k2.useInsertionEffect:!1,f8=h8||n$,mk=h8||H.useLayoutEffect,d8=H.createContext(typeof HTMLElement<"u"?V9({key:"css"}):null);d8.Provider;var tw=function(e){return H.forwardRef(function(r,n){var i=H.useContext(d8);return e(r,i,n)})},J0=H.createContext({}),ew={}.hasOwnProperty,o5="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",i$=function(e,r){var n={};for(var i in r)ew.call(r,i)&&(n[i]=r[i]);return n[o5]=e,n}
10,a$=function(e){var r=e.cache,n=e.serialized,i=e.isStringTag;return QS(r,n,i),f8(function(){return JS(r,n,i)}),null},o$=tw(function(t,e,r){var n=t.css;typeof n=="string"&&e.registered[n]!==void 0&&(n=e.registered[n]);var i=t[o5],a=[n],s="";typeof t.className=="string"?s=c8(e.registered,a,t.className):t.className!=null&&(s=t.className+" ");var l=Q0(a,void 0,H.useContext(J0));s+=e.key+"-"+l.name;var u={};for(var h in t)ew.call(t,h)&&h!=="css"&&h!==o5&&(u[h]=t[h]);return u.className=s,r&&(u.ref=r),H.createElement(H.Fragment,null,H.createElement(a$,{cache:e,serialized:l,isStringTag:typeof i=="string"}),H.createElement(i,u))}),s$=o$,yk=function(e,r){var n=arguments;if(r==null||!ew.call(r,"css"))return H.createElement.apply(void 0,n);var i=n.length,a=new Array(i);a[0]=s$,a[1]=i$(e,r);for(var s=2;s<i;s++)a[s]=n[s];return H.createElement.apply(null,a)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(yk||(yk={}));var l$=tw(function(t,e){var r=t.styles,n=Q0([r],void 0,H.useContext(J0)),i=H.useRef();return mk(function(){var a=e.key+"-global",s=new e.sheet.constructor({key:a,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),l=!1,u=document.querySelector('style[data-emotion="'+a+" "+n.name+'"]');return e.sheet.tags.length&&(s.before=e.sheet.tags[0]),u!==null&&(l=!0,u.setAttribute("data-emotion",a),s.hydrate([u])),i.current=[s,l],function(){s.flush()}},[e]),mk(function(){var a=i.current,s=a[0],l=a[1];if(l){a[1]=!1;return}if(n.next!==void 0&&JS(e,n.next,!0),s.tags.length){var u=s.tags[s.tags.length-1].nextElementSibling;s.before=u,s.flush()}e.insert("",n,s,!1)},[e,n.name]),null});function zp(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return Q0(e)}function zh(){var t=zp.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var c$=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focu
10sable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,u$=s8(function(t){return c$.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),h$=u$,f$=function(e){return e!=="theme"},bk=function(e){return typeof e=="string"&&e.charCodeAt(0)>96?h$:f$},vk=function(e,r,n){var i;if(r){var a=r.shouldForwardProp;i=e.__emotion_forwardProp&&a?function(s){return e.__emotion_forwardProp(s)&&a(s)}:a}return typeof i!="function"&&n&&(i=e.__emotion_forwardProp),i},d$=function(e){var r=e.cache,n=e.serialized,i=e.isStringTag;return QS(r,n,i),f8(function(){return JS(r,n,i)}),null},p$=function t(e,r){var n=e.__emotion_real===e,i=n&&e.__emotion_base||e,a,s;r!==void 0&&(a=r.label,s=r.target);var l=vk(e,r,n),u=l||bk(i),h=!u("as");return function(){var f=arguments,p=n&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(a!==void 0&&p.push("label:"+a+";"),f[0]==null||f[0].raw===void 0)p.push.apply(p,f);else{var y=f[0];p.push(y[0]);for(var g=f.length,b=1;b<g;b++)p.push(f[b],y[b])}var v=tw(function(C,k,T){var E=h&&C.as||i,L="",O=[],W=C;if(C.theme==null){W={};for(var q in C)W[q]=C[q];W.theme=H.useContext(J0)}typeof C.className=="string"?L=c8(k.registered,O,C.className):C.className!=null&&(L=C.className+" ");var U=Q0(p.concat(O),k.registered,W);L+=k.key+"-"+U.name,s!==void 0&&(L+=" "+s);var j=h&&l===void 0?bk(E):u,M={};for(var N in C)h&&N==="as"||j(N)&&(M[N]=C[N]);return M.className=L,T&&(M.ref=T),H.createElement(H.Fragment,null,H.createElement(d$,{cache:k,serialized:U,isStringTag:typeof E=="string"}),H.createElement(E,M))});return v.displayName=a!==void 0?a:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",v.defaultProps=e.defaultProps,v.__emotion_real=v,v.__emotion_base=i,v.__emotion_styles=p,v.__emotion_forwardProp=l,Object.defineProperty(v,"toString",{value:function(){return"."+s}}),v.withComponent=function(C,k){var T=t(C,_2({},r,k,{shouldForwardProp:vk(v,k,!0)}));return T.apply(void 0,p)},v}},g$=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],s5=p$.bind(null);g$.forEach(function(t){s5[t]=s5(t)});function m$(t){return t==null||Object.keys(t).length===0}function p8(t){const{styles:e,defaultTheme:r={}}=t,n=typeof e=="function"?i=>e(m$(i)?r:i):e;return w.jsx(l$,{styles:n})}function g8(t,e){return s5(t,e)}function y$(t,e){Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))}const xk=[];function Th(t){return xk[0]=t,Q0(xk)}var Gv={exports:{}},ri={};var Sk;function b$(){if(Sk)return ri;Sk=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");function b(v){if(typeof v=="object"&&v!==null){var C=v.$$typeof;switch(C){case t:switch(v=v.type,v){case r:case i:case n:case u:case h:case y:return v;default:switch(v=v&&v.$$typeof,v){case s:case l:case p:case f:return v;case a:return v;default:return C}}case e:return C}}}return ri.ContextConsumer=a,ri.ContextProvider=s,ri.Element=t,ri.ForwardRef=l,ri.Fragment=r,ri.Lazy=p,ri.Memo=f,ri.Portal=e,ri.Profiler=i,ri.StrictMode=n,ri.Suspense=u,ri.SuspenseList=h,ri.isContextConsumer=function(v){return b(v)===a},ri.isContextProvider=function(v){return b(v)===s},ri.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===t},ri.isForwardRef=function(v){return b(v)===l},ri.isFragment=function(v){return b(v)===r},ri.isLazy=function(v){return b(v)===p},ri.isMemo=function(v){return b(v)===f},ri.isPortal=function(v){return b(v)===e},ri.isProfiler=function(v){return b(v)===i},ri.isStrictMode=function(v){return b(v)===n},ri.isSuspense=function(v){return b(v)===u},ri.isSuspenseList=function(v){return b(v)===h},ri.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===r||v===i||v===n||v===u||v===h||typeof v=="object"&&v!==null&&(v.$$typeof===p||v.$$typeof===f||v.$$typeof===s||v.$$typeof===a||v.$$typeof===l||v.$$typeof===g||v.getModuleId!==void 0)},ri.typeOf=b,ri}var wk;function v$(){return wk||(wk=1,Gv.exports=b$()),Gv.exports}var m8=v$();function Tc(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);
10return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function y8(t){if(H.isValidElement(t)||m8.isValidElementType(t)||!Tc(t))return t;const e={};return Object.keys(t).forEach(r=>{e[r]=y8(t[r])}),e}function Na(t,e,r={clone:!0}){const n=r.clone?{...t}:t;return Tc(t)&&Tc(e)&&Object.keys(e).forEach(i=>{H.isValidElement(e[i])||m8.isValidElementType(e[i])?n[i]=e[i]:Tc(e[i])&&Object.prototype.hasOwnProperty.call(t,i)&&Tc(t[i])?n[i]=Na(t[i],e[i],r):r.clone?n[i]=Tc(e[i])?y8(e[i]):e[i]:n[i]=e[i]}),n}const x$=t=>{const e=Object.keys(t).map(r=>({key:r,val:t[r]}))||[];return e.sort((r,n)=>r.val-n.val),e.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function S$(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...i}=t,a=x$(e),s=Object.keys(a);function l(y){return`@media (min-width:${typeof e[y]=="number"?e[y]:y}${r})`}function u(y){return`@media (max-width:${(typeof e[y]=="number"?e[y]:y)-n/100}${r})`}function h(y,g){const b=s.indexOf(g);return`@media (min-width:${typeof e[y]=="number"?e[y]:y}${r}) and (max-width:${(b!==-1&&typeof e[s[b]]=="number"?e[s[b]]:g)-n/100}${r})`}function f(y){return s.indexOf(y)+1<s.length?h(y,s[s.indexOf(y)+1]):l(y)}function p(y){const g=s.indexOf(y);return g===0?l(s[1]):g===s.length-1?u(s[g]):h(y,s[s.indexOf(y)+1]).replace("@media","@media not all and")}return{keys:s,values:a,up:l,down:u,between:h,only:f,not:p,unit:r,...i}}function Ck(t,e){if(!t.containerQueries)return e;const r=Object.keys(e).filter(n=>n.startsWith("@container")).sort((n,i)=>{const a=/min-width:\s*([0-9.]+)/;return+(n.match(a)?.[1]||0)-+(i.match(a)?.[1]||0)});return r.length?r.reduce((n,i)=>{const a=e[i];return delete n[i],n[i]=a,n},{...e}):e}function w$(t,e){return e==="@"||e.startsWith("@")&&(t.some(r=>e.startsWith(`@${r}`))||!!e.match(/^@\d/))}function C$(t,e){const r=e.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,n,i]=r,a=Number.isNaN(+n)?n||0:+n;return t.containerQueries(i).up(a)}function k$(t){const e=(a,s)=>a.replace("@media",s?`@container ${s}`:"@container");function r(a,s){a.up=(...l)=>e(t.breakpoints.up(...l),s),a.down=(...l)=>e(t.breakpoints.down(...l),s),a.between=(...l)=>e(t.breakpoints.between(...l),s),a.only=(...l)=>e(t.breakpoints.only(...l),s),a.not=(...l)=>{const u=e(t.breakpoints.not(...l),s);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const n={},i=a=>(r(n,a),n);return r(i),{...t,containerQueries:i}}const _$={borderRadius:4};function h0(t,e){return e?Na(t,e,{clone:!1}):t}const Ly={xs:0,sm:600,md:900,lg:1200,xl:1536},kk={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${Ly[t]}px)`},A$={containerQueries:t=>({up:e=>{let r=typeof e=="number"?e:Ly[e]||e;return typeof r=="number"&&(r=`${r}px`),t?`@container ${t} (min-width:${r})`:`@container (min-width:${r})`}})};function es(t,e,r){const n=t.theme||{};if(Array.isArray(e)){const a=n.breakpoints||kk;return e.reduce((s,l,u)=>(s[a.up(a.keys[u])]=r(e[u]),s),{})}if(typeof e=="object"){const a=n.breakpoints||kk;return Object.keys(e).reduce((s,l)=>{if(w$(a.keys,l)){const u=C$(n.containerQueries?n:A$,l);u&&(s[u]=r(e[l],l))}else if(Object.keys(a.values||Ly).includes(l)){const u=a.up(l);s[u]=r(e[l],l)}else{const u=l;s[u]=e[u]}return s},{})}return r(e)}function b8(t={}){return t.keys?.reduce((r,n)=>{const i=t.up(n);return r[i]={},r},{})||{}}function l5(t,e){return t.reduce((r,n)=>{const i=r[n];return(!i||Object.keys(i).length===0)&&delete r[n],r},e)}function T$(t,...e){const r=b8(t),n=[r,...e].reduce((i,a)=>Na(i,a),{});return l5(Object.keys(r),n)}function L$(t,e){if(typeof t!="object")return{};const r={},n=Object.keys(e);return Array.isArray(t)?n.forEach((i,a)=>{a<t.length&&(r[i]=!0)}):n.forEach(i=>{t[i]!=null&&(r[i]=!0)}),r}function Mf({values:t,breakpoints:e,base:r}){const n=r||L$(t,e),i=Object.keys(n);if(i.length===0)return t;let a;return i.reduce((s,l,u)=>(Array.isArray(t)?(s[l]=t[u]!=null?t[u]:t[a],a=u):typeof t=="object"?(s[l]=t[l]!=null?t[l]:t[a],a=l):s[l]=t,s),{})}function Qt(t){if(typeof t!="string")throw new Error(_u(7));return t.charAt(0).toUpperCase()+t.slice(1)}function Ey(t,e,r=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&r){const n=`vars.${e}`.split(".").reduce((i,a)=>i&&i[a]?i[a]:null,t);if(n!=null)return n}return e.split(".").reduce((n,i)=>n&&n[i]!=null?n[i]:null,t)}function T2(t,e,r,n=r){let i;return typeof t=="function"?i=t(r):Array.isArray(t)?i=t[r]||n:i=Ey(t,r)||n,e&&(i=e(i,n,t)),i}function ea(t){const{prop:e,cssProperty:r=t.prop,themeKey:n,transform:i}=t,a=s=>{if(s[e]==null)return null;const l=s[e],u=s.theme,h=Ey(u,n)||{};return es(s,l,p=>{let y=T2(h,i,p);
10return p===y&&typeof p=="string"&&(y=T2(h,i,`${e}${p==="default"?"":Qt(p)}`,p)),r===!1?y:{[r]:y}})};return a.propTypes={},a.filterProps=[e],a}function E$(t){const e={};return r=>(e[r]===void 0&&(e[r]=t(r)),e[r])}const M$={m:"margin",p:"padding"},R$={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},_k={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},N$=E$(t=>{if(t.length>2)if(_k[t])t=_k[t];else return[t];const[e,r]=t.split(""),n=M$[e],i=R$[r]||"";return Array.isArray(i)?i.map(a=>n+a):[n+i]}),rw=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],nw=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...rw,...nw];function tm(t,e,r,n){const i=Ey(t,e,!0)??r;return typeof i=="number"||typeof i=="string"?a=>typeof a=="string"?a:typeof i=="string"?`calc(${a} * ${i})`:i*a:Array.isArray(i)?a=>{if(typeof a=="string")return a;const s=Math.abs(a),l=i[s];return a>=0?l:typeof l=="number"?-l:`-${l}`}:typeof i=="function"?i:()=>{}}function My(t){return tm(t,"spacing",8)}function jf(t,e){return typeof e=="string"||e==null?e:t(e)}function B$(t,e){return r=>t.reduce((n,i)=>(n[i]=jf(e,r),n),{})}function O$(t,e,r,n){if(!e.includes(r))return null;const i=N$(r),a=B$(i,n),s=t[r];return es(t,s,a)}function v8(t,e){const r=My(t.theme);return Object.keys(t).map(n=>O$(t,e,n,r)).reduce(h0,{})}function Fi(t){return v8(t,rw)}Fi.propTypes={};Fi.filterProps=rw;function qi(t){return v8(t,nw)}qi.propTypes={};qi.filterProps=nw;function x8(t=8,e=My({spacing:t})){if(t.mui)return t;const r=(...n)=>(n.length===0?[1]:n).map(a=>{const s=e(a);return typeof s=="number"?`${s}px`:s}).join(" ");return r.mui=!0,r}function Ry(...t){const e=t.reduce((n,i)=>(i.filterProps.forEach(a=>{n[a]=i}),n),{}),r=n=>Object.keys(n).reduce((i,a)=>e[a]?h0(i,e[a](n)):i,{});return r.propTypes={},r.filterProps=t.reduce((n,i)=>n.concat(i.filterProps),[]),r}function el(t){return typeof t!="number"?t:`${t}px solid`}function cl(t,e){return ea({prop:t,themeKey:"borders",transform:e})}const P$=cl("border",el),$$=cl("borderTop",el),j$=cl("borderRight",el),D$=cl("borderBottom",el),I$=cl("borderLeft",el),z$=cl("borderColor"),F$=cl("borderTopColor"),q$=cl("borderRightColor"),H$=cl("borderBottomColor"),U$=cl("borderLeftColor"),W$=cl("outline",el),G$=cl("outlineColor"),Ny=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=tm(t.theme,"shape.borderRadius",4),r=n=>({borderRadius:jf(e,n)});return es(t,t.borderRadius,r)}return null};Ny.propTypes={};Ny.filterProps=["borderRadius"];Ry(P$,$$,j$,D$,I$,z$,F$,q$,H$,U$,Ny,W$,G$);const By=t=>{if(t.gap!==void 0&&t.gap!==null){const e=tm(t.theme,"spacing",8),r=n=>({gap:jf(e,n)});return es(t,t.gap,r)}return null};By.propTypes={};By.filterProps=["gap"];const Oy=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=tm(t.theme,"spacing",8),r=n=>({columnGap:jf(e,n)});return es(t,t.columnGap,r)}return null};Oy.propTypes={};Oy.filterProps=["columnGap"];const Py=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=tm(t.theme,"spacing",8),r=n=>({rowGap:jf(e,n)});return es(t,t.rowGap,r)}return null};Py.propTypes={};Py.filterProps=["rowGap"];const V$=ea({prop:"gridColumn"}),Y$=ea({prop:"gridRow"}),X$=ea({prop:"gridAutoFlow"}),K$=ea({prop:"gridAutoColumns"}),Z$=ea({prop:"gridAutoRows"}),Q$=ea({prop:"gridTemplateColumns"}),J$=ea({prop:"gridTemplateRows"}),tj=ea({prop:"gridTemplateAreas"}),ej=ea({prop:"gridArea"});
10Ry(By,Oy,Py,V$,Y$,X$,K$,Z$,Q$,J$,tj,ej);function lp(t,e){return e==="grey"?e:t}const rj=ea({prop:"color",themeKey:"palette",transform:lp}),nj=ea({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:lp}),ij=ea({prop:"backgroundColor",themeKey:"palette",transform:lp});Ry(rj,nj,ij);function As(t){return t<=1&&t!==0?`${t*100}%`:t}const aj=ea({prop:"width",transform:As}),iw=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=r=>{const n=t.theme?.breakpoints?.values?.[r]||Ly[r];return n?t.theme?.breakpoints?.unit!=="px"?{maxWidth:`${n}${t.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:As(r)}};return es(t,t.maxWidth,e)}return null};iw.filterProps=["maxWidth"];const oj=ea({prop:"minWidth",transform:As}),sj=ea({prop:"height",transform:As}),lj=ea({prop:"maxHeight",transform:As}),cj=ea({prop:"minHeight",transform:As});ea({prop:"size",cssProperty:"width",transform:As});ea({prop:"size",cssProperty:"height",transform:As});const uj=ea({prop:"boxSizing"});Ry(aj,iw,oj,sj,lj,cj,uj);const em={border:{themeKey:"borders",transform:el},borderTop:{themeKey:"borders",transform:el},borderRight:{themeKey:"borders",transform:el},borderBottom:{themeKey:"borders",transform:el},borderLeft:{themeKey:"borders",transform:el},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:el},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ny},color:{themeKey:"palette",transform:lp},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:lp},backgroundColor:{themeKey:"palette",transform:lp},p:{style:qi},pt:{style:qi},pr:{style:qi},pb:{style:qi},pl:{style:qi},px:{style:qi},py:{style:qi},padding:{style:qi},paddingTop:{style:qi},paddingRight:{style:qi},paddingBottom:{style:qi},paddingLeft:{style:qi},paddingX:{style:qi},paddingY:{style:qi},paddingInline:{style:qi},paddingInlineStart:{style:qi},paddingInlineEnd:{style:qi},paddingBlock:{style:qi},paddingBlockStart:{style:qi},paddingBlockEnd:{style:qi},m:{style:Fi},mt:{style:Fi},mr:{style:Fi},mb:{style:Fi},ml:{style:Fi},mx:{style:Fi},my:{style:Fi},margin:{style:Fi},marginTop:{style:Fi},marginRight:{style:Fi},marginBottom:{style:Fi},marginLeft:{style:Fi},marginX:{style:Fi},marginY:{style:Fi},marginInline:{style:Fi},marginInlineStart:{style:Fi},marginInlineEnd:{style:Fi},marginBlock:{style:Fi},marginBlockStart:{style:Fi},marginBlockEnd:{style:Fi},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:By},rowGap:{style:Py},columnGap:{style:Oy},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:As},maxWidth:{style:iw},minWidth:{transform:As},height:{transform:As},maxHeight:{transform:As},minHeight:{transform:As},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function hj(...t){const e=t.reduce((n,i)=>n.concat(Object.keys(i)),[]),r=new Set(e);return t.every(n=>r.size===Object.keys(n).length)}function fj(t,e){return typeof t=="function"?t(e):t}function dj(){function t(r,n,i,a){const s={[r]:n,theme:i},l=a[r];if(!l)return{[r]:n};const{cssProperty:u=r,themeKey:h,transform:f,style:p}=l;if(n==null)return null;if(h==="typography"&&n==="inherit")return{[r]:n};const y=Ey(i,h)||{};return p?p(s):es(s,n,b=>{let v=T2(y,f,b);return b===v&&typeof b=="string"&&(v=T2(y,f,`${r}${b==="default"?"":Qt(b)}`,b)),u===!1?v:{[u]:v}})}function e(r){const{sx:n,theme:i={},nested:a}=r||{};if(!n)return null;const s=i.unstable_sxConfig??em;function l(u){let h=u;if(typeof u=="function")h=u(i);else if(typeof u!="object")return u;if(!h)return null;const f=b8(i.breakpoints),p=Object.keys(f);let y=f;
10return Object.keys(h).forEach(g=>{const b=fj(h[g],i);if(b!=null)if(typeof b=="object")if(s[g])y=h0(y,t(g,b,i,s));else{const v=es({theme:i},b,C=>({[g]:C}));hj(v,b)?y[g]=e({sx:b,theme:i,nested:!0}):y=h0(y,v)}else y=h0(y,t(g,b,i,s))}),!a&&i.modularCssLayers?{"@layer sx":Ck(i,l5(p,y))}:Ck(i,l5(p,y))}return Array.isArray(n)?n.map(l):l(n)}return e}const Mh=dj();Mh.filterProps=["sx"];function pj(t,e){const r=this;if(r.vars){if(!r.colorSchemes?.[t]||typeof r.getColorSchemeSelector!="function")return{};let n=r.getColorSchemeSelector(t);return n==="&"?e:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:e})}return r.palette.mode===t?e:{}}function rm(t={},...e){const{breakpoints:r={},palette:n={},spacing:i,shape:a={},...s}=t,l=S$(r),u=x8(i);let h=Na({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{..._$,...a}},s);return h=k$(h),h.applyStyles=pj,h=e.reduce((f,p)=>Na(f,p),h),h.unstable_sxConfig={...em,...s?.unstable_sxConfig},h.unstable_sx=function(p){return Mh({sx:p,theme:this})},h}function gj(t){return Object.keys(t).length===0}function $y(t=null){const e=H.useContext(J0);return!e||gj(e)?t:e}const mj=rm();function jy(t=mj){return $y(t)}function Vv(t){const e=Th(t);return t!==e&&e.styles?(e.styles.match(/^@layer\s+[^{]*$/)||(e.styles=`@layer global{${e.styles}}`),e):t}function S8({styles:t,themeId:e,defaultTheme:r={}}){const n=jy(r),i=e&&n[e]||n;let a=typeof t=="function"?t(i):t;return i.modularCssLayers&&(Array.isArray(a)?a=a.map(s=>Vv(typeof s=="function"?s(i):s)):a=Vv(a)),w.jsx(p8,{styles:a})}const yj=t=>{const e={systemProps:{},otherProps:{}},r=t?.theme?.unstable_sxConfig??em;return Object.keys(t).forEach(n=>{r[n]?e.systemProps[n]=t[n]:e.otherProps[n]=t[n]}),e};function Dy(t){const{sx:e,...r}=t,{systemProps:n,otherProps:i}=yj(r);let a;return Array.isArray(e)?a=[n,...e]:typeof e=="function"?a=(...s)=>{const l=e(...s);return Tc(l)?{...n,...l}:n}:a={...n,...e},{...i,sx:a}}const Ak=t=>t,bj=()=>{let t=Ak;return{configure(e){t=e},generate(e){return t(e)},reset(){t=Ak}}},w8=bj();function C8(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(r=C8(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function Te(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=C8(t))&&(n&&(n+=" "),n+=e);return n}function vj(t={}){const{themeId:e,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:i}=t,a=g8("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(Mh);return H.forwardRef(function(u,h){const f=jy(r),{className:p,component:y="div",...g}=Dy(u);return w.jsx(a,{as:y,ref:h,className:Te(p,i?i(n):n),theme:e&&f[e]||f,...g})})}const xj={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function hr(t,e,r="Mui"){const n=xj[e];return n?`${r}-${n}`:`${w8.generate(t)}-${e}`}function or(t,e,r="Mui"){const n={};return e.forEach(i=>{n[i]=hr(t,i,r)}),n}function k8(t){const{variants:e,...r}=t,n={variants:e,style:Th(r),isProcessed:!0};return n.style===r||e&&e.forEach(i=>{typeof i.style!="function"&&(i.style=Th(i.style))}),n}const Sj=rm();function Yv(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}function wf(t,e){return e&&t&&typeof t=="object"&&t.styles&&!t.styles.startsWith("@layer")&&(t.styles=`@layer ${e}{${String(t.styles)}}`),t}function wj(t){return t?(e,r)=>r[t]:null}function Cj(t,e,r){t.theme=_j(t.theme)?r:t.theme[e]||t.theme}function J1(t,e,r){const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(i=>J1(t,i,r));if(Array.isArray(n?.variants)){let i;if(n.isProcessed)i=r?wf(n.style,r):n.style;else{const{variants:a,...s}=n;i=r?wf(Th(s),r):s}return _8(t,n.variants,[i],r)}return n?.isProcessed?r?wf(Th(n.style),r):n.style:r?wf(Th(n),r):n}function _8(t,e,r=[],n=void 0){let i;t:for(let a=0;a<e.length;a+=1){const s=e[a];if(typeof s.props=="function"){if(i??={...t,...t.ownerState,ownerState:t.ownerState},!s.props(i))continue}else for(const l in s.props)if(t[l]!==s.props[l]&&t.ownerState?.[l]!==s.props[l])continue t;typeof s.style=="function"?(i??={...t,...t.ownerState,ownerState:t.ownerState},r.push(n?wf(Th(s.style(i)),n):s.style(i))):r.push(n?wf(Th(s.style),n):s.style)}return r}function A8(t={}){const{themeId:e,defaultTheme:r=Sj,rootShouldForwardProp:n=Yv,slotShouldForwardProp:i=Yv}=t;function a(l){Cj(l,e,r)}return(l,u={})=>{y$(l,W=>W.filter(q=>q!==Mh));const{name:h,slot:f,skipVariantsResolver:p,skipSx:y,overridesResolver:g=wj(Tj(f)),...b}=u,v=h&&h.startsWith("Mui")||f?"components":"custom",C=p!==void 0?p:f&&f!=="Root"&&f!=="root"||!1,k=y||!1;let T=Yv;f==="Root"||f==="root"?T=n:f?T=i:Aj(l)&&(T=void 0);const E=g8(l,{shouldForwardProp:T,label:kj(),...b}),L=W=>{if(W.__emotion_real===W)return W;if(typeof W=="function")return function(U){return J1(U,W,U.theme.modularCssLayers?v:void 0)};if(Tc(W)){const q=k8(W);return function(j){return q.variants?J1(j,q,j.theme.modularCssLayers?v:void 0):j.theme.modularCssLayers?wf(q.style,v):q.style}}return W},O=(...W)=>{const q=[],U=W.map(L),j=[];if(q.push(a),h&&g&&j.push(function(V){const Y=V.theme.components?.[h]?.styleOverrides;if(!Y)return null;const D={};for(const Z in Y)D[Z]=J1(V,Y[Z],V.theme.modularCssLayers?"theme":void 0);return g(V,D)}),h&&!C&&j.push(function(V){const Y=V.theme?.components?.[h]?.variants;return Y?_8(V,Y,[],V.theme.modularCssLayers?"theme":void 0):null}),k||j.push(Mh),Array.isArray(U[0])){const I=U.shift(),V=new Array(q.length).fill(""),z=new Array(j.length).fill("");let Y;Y=[...V,...I,...z],Y.raw=[...V,...I.raw,...z],q.unshift(Y)}const M=[...q,...U,...j],N=E(...M);return l.muiName&&(N.muiName=l.muiName),N};return E.withConfig&&(O.withConfig=E.withConfig),O}}function kj(t,e){return void 0}function _j(t){for(const e in t)return!1;return!0}function Aj(t){return typeof t=="string"&&t.charCodeAt(0)>96}function Tj(t){return t&&t.charAt(0).toLowerCase()+t.slice(1)}const T8=A8();function R0(t,e){const r={...e};for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)){const i=n;
10if(i==="components"||i==="slots")r[i]={...t[i],...r[i]};else if(i==="componentsProps"||i==="slotProps"){const a=t[i],s=e[i];if(!s)r[i]=a||{};else if(!a)r[i]=s;else{r[i]={...s};for(const l in a)if(Object.prototype.hasOwnProperty.call(a,l)){const u=l;r[i][u]=R0(a[u],s[u])}}}else r[i]===void 0&&(r[i]=t[i])}return r}function L8(t){const{theme:e,name:r,props:n}=t;return!e||!e.components||!e.components[r]||!e.components[r].defaultProps?n:R0(e.components[r].defaultProps,n)}function E8({props:t,name:e,defaultTheme:r,themeId:n}){let i=jy(r);return n&&(i=i[n]||i),L8({theme:i,name:e,props:t})}const rs=typeof window<"u"?H.useLayoutEffect:H.useEffect;function Lj(t,e,r,n,i){const[a,s]=H.useState(()=>i&&r?r(t).matches:n?n(t).matches:e);return rs(()=>{if(!r)return;const l=r(t),u=()=>{s(l.matches)};return u(),l.addEventListener("change",u),()=>{l.removeEventListener("change",u)}},[t,r]),a}const Ej={...k2},M8=Ej.useSyncExternalStore;function Mj(t,e,r,n,i){const a=H.useCallback(()=>e,[e]),s=H.useMemo(()=>{if(i&&r)return()=>r(t).matches;if(n!==null){const{matches:f}=n(t);return()=>f}return a},[a,t,n,i,r]),[l,u]=H.useMemo(()=>{if(r===null)return[a,()=>()=>{}];const f=r(t);return[()=>f.matches,p=>(f.addEventListener("change",p),()=>{f.removeEventListener("change",p)})]},[a,r,t]);return M8(u,l,s)}function R8(t={}){const{themeId:e}=t;return function(n,i={}){let a=$y();a&&e&&(a=a[e]||a);const s=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:l=!1,matchMedia:u=s?window.matchMedia:null,ssrMatchMedia:h=null,noSsr:f=!1}=L8({name:"MuiUseMediaQuery",props:i,theme:a});let p=typeof n=="function"?n(a):n;return p=p.replace(/^@media( ?)/m,""),p.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
11`)),(M8!==void 0?Mj:Lj)(p,l,u,h,f)}}R8();function Rj(t,e=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,r))}function aw(t,e=0,r=1){return Rj(t,e,r)}function Nj(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let r=t.match(e);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,i)=>i<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Rh(t){if(t.type)return t;if(t.charAt(0)==="#")return Rh(Nj(t));const e=t.indexOf("("),r=t.substring(0,e);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(_u(9,t));let n=t.substring(e+1,t.length-1),i;if(r==="color"){if(n=n.split(" "),i=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(i))throw new Error(_u(10,i))}else n=n.split(",");return n=n.map(a=>parseFloat(a)),{type:r,values:n,colorSpace:i}}const Bj=t=>{const e=Rh(t);return e.values.slice(0,3).map((r,n)=>e.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Qg=(t,e)=>{try{return Bj(t)}catch{return t}};function Iy(t){const{type:e,colorSpace:r}=t;let{values:n}=t;return e.includes("rgb")?n=n.map((i,a)=>a<3?parseInt(i,10):i):e.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),e.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${e}(${n})`}function N8(t){t=Rh(t);const{values:e}=t,r=e[0],n=e[1]/100,i=e[2]/100,a=n*Math.min(i,1-i),s=(h,f=(h+r/30)%12)=>i-a*Math.max(Math.min(f-3,9-f,1),-1);let l="rgb";const u=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return t.type==="hsla"&&(l+="a",u.push(e[3])),Iy({type:l,values:u})}function c5(t){t=Rh(t);let e=t.type==="hsl"||t.type==="hsla"?Rh(N8(t)).values:t.values;return e=e.map(r=>(t.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function Oj(t,e){const r=c5(t),n=c5(e);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Zr(t,e){return t=Rh(t),e=aw(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,Iy(t)}function u1(t,e,r){try{return Zr(t,e)}catch{return t}}function Nh(t,e){if(t=Rh(t),e=aw(e),t.type.includes("hsl"))t.values[2]*=1-e;else if(t.type.includes("rgb")||t.type.includes("color"))for(let r=0;r<3;r+=1)t.values[r]*=1-e;return Iy(t)}function si(t,e,r){try{return Nh(t,e)}catch{return t}}function Bh(t,e){if(t=Rh(t),e=aw(e),t.type.includes("hsl"))t.values[2]+=(100-t.values[2])*e;else if(t.type.includes("rgb"))for(let r=0;r<3;r+=1)t.values[r]+=(255-t.values[r])*e;else if(t.type.includes("color"))for(let r=0;r<3;r+=1)t.values[r]+=(1-t.values[r])*e;return Iy(t)}function li(t,e,r){try{return Bh(t,e)}catch{return t}}function Pj(t,e=.15){return c5(t)>.5?Nh(t,e):Bh(t,e)}function h1(t,e,r){try{return Pj(t,e)}catch{return t}}function Tk(...t){return t.reduce((e,r)=>r==null?e:function(...i){e.apply(this,i),r.apply(this,i)},()=>{})}function nm(t,e=166){let r;function n(...i){const a=()=>{t.apply(this,i)};clearTimeout(r),r=setTimeout(a,e)}return n.clear=()=>{clearTimeout(r)},n}function Xv(t,e){return H.isValidElement(t)&&e.indexOf(t.type.muiName??t.type?._payload?.value?.muiName)!==-1}function ns(t){return t&&t.ownerDocument||document}function Es(t){return ns(t).defaultView||window}function u5(t,e){typeof t=="function"?t(e):t&&(t.current=e)}let Lk=0;function $j(t){const[e,r]=H.useState(t),n=t||e;return H.useEffect(()=>{e==null&&(Lk+=1,r(`mui-${Lk}`))},[e]),n}const jj={...k2},Ek=jj.useId;function Fh(t){if(Ek!==void 0){const e=Ek();return t??e}return $j(t)}function wu({controlled:t,default:e,name:r,state:n="value"}){const{current:i}=H.useRef(t!==void 0),[a,s]=H.useState(e),l=i?t:a,u=H.useCallback(h=>{i||s(h)},[]);return[l,u]}function so(t){const e=H.useRef(t);return rs(()=>{e.current=t}),H.useRef((...r)=>(0,e.current)(...r)).current}function ta(...t){const e=H.useRef(void 0),r=H.useCallback(n=>{const i=t.map(a=>{if(a==null)return null;if(typeof a=="function"){const s=a,l=s(n);return typeof l=="function"?l:()=>{s(null)}}return a.current=n,()=>{a.current=null}});return()=>
11{i.forEach(a=>a?.())}},t);return H.useMemo(()=>t.every(n=>n==null)?null:n=>{e.current&&(e.current(),e.current=void 0),n!=null&&(e.current=r(n))},t)}const Mk={};function B8(t,e){const r=H.useRef(Mk);return r.current===Mk&&(r.current=t(e)),r}const Dj=[];function Ij(t){H.useEffect(t,Dj)}class zy{static create(){return new zy}currentId=null;start(e,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},e)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Cf(){const t=B8(zy.create).current;return Ij(t.disposeEffect),t}function L2(t){try{return t.matches(":focus-visible")}catch{}return!1}function O8(t=window){const e=t.document.documentElement.clientWidth;return t.innerWidth-e}const zj=t=>{const e=H.useRef({});return H.useEffect(()=>{e.current=t}),e.current};function fr(t,e,r=void 0){const n={};for(const i in t){const a=t[i];let s="",l=!0;for(let u=0;u<a.length;u+=1){const h=a[u];h&&(s+=(l===!0?"":" ")+e(h),l=!1,r&&r[h]&&(s+=" "+r[h]))}n[i]=s}return n}function Fj(t){return typeof t=="string"}function P8(t,e,r){return t===void 0||Fj(t)?e:{...e,ownerState:{...e.ownerState,...r}}}function $8(t,e=[]){if(t===void 0)return{};const r={};return Object.keys(t).filter(n=>n.match(/^on[A-Z]/)&&typeof t[n]=="function"&&!e.includes(n)).forEach(n=>{r[n]=t[n]}),r}function Rk(t){if(t===void 0)return{};const e={};return Object.keys(t).filter(r=>!(r.match(/^on[A-Z]/)&&typeof t[r]=="function")).forEach(r=>{e[r]=t[r]}),e}function j8(t){const{getSlotProps:e,additionalProps:r,externalSlotProps:n,externalForwardedProps:i,className:a}=t;if(!e){const g=Te(r?.className,a,i?.className,n?.className),b={...r?.style,...i?.style,...n?.style},v={...r,...i,...n};return g.length>0&&(v.className=g),Object.keys(b).length>0&&(v.style=b),{props:v,internalRef:void 0}}const s=$8({...i,...n}),l=Rk(n),u=Rk(i),h=e(s),f=Te(h?.className,r?.className,a,i?.className,n?.className),p={...h?.style,...r?.style,...i?.style,...n?.style},y={...h,...r,...u,...l};return f.length>0&&(y.className=f),Object.keys(p).length>0&&(y.style=p),{props:y,internalRef:h.ref}}function D8(t,e,r){return typeof t=="function"?t(e,r):t}function Ap(t){const{elementType:e,externalSlotProps:r,ownerState:n,skipResolvingSlotProps:i=!1,...a}=t,s=i?{}:D8(r,n),{props:l,internalRef:u}=j8({...a,externalSlotProps:s}),h=ta(u,s?.ref,t.additionalProps?.ref);return P8(e,{...l,ref:h},n)}function Zf(t){return parseInt(H.version,10)>=19?t?.props?.ref||null:t?.ref||null}const I8=H.createContext(null);function ow(){return H.useContext(I8)}const qj=typeof Symbol=="function"&&Symbol.for,Hj=qj?Symbol.for("mui.nested"):"__THEME_NESTED__";function Uj(t,e){return typeof e=="function"?e(t):{...t,...e}}function Wj(t){const{children:e,theme:r}=t,n=ow(),i=H.useMemo(()=>{const a=n===null?{...r}:Uj(n,r);return a!=null&&(a[Hj]=n!==null),a},[r,n]);return w.jsx(I8.Provider,{value:i,children:e})}const z8=H.createContext();function Gj({value:t,...e}){return w.jsx(z8.Provider,{value:t??!0,...e})}const Qf=()=>H.useContext(z8)??!1,F8=H.createContext(void 0);function Vj({value:t,children:e}){return w.jsx(F8.Provider,{value:t,children:e})}function Yj(t){const{theme:e,name:r,props:n}=t;if(!e||!e.components||!e.components[r])return n;const i=e.components[r];return i.defaultProps?R0(i.defaultProps,n):!i.styleOverrides&&!i.variants?R0(i,n):n}function Xj({props:t,name:e}){const r=H.useContext(F8);return Yj({props:t,name:e,theme:{components:r}})}function Kj(t){const e=$y(),r=Fh()||"",{modularCssLayers:n}=t;let i="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!n||e!==null?i="":typeof n=="string"?i=n.replace(/mui(?!\.)/g,i):i=`@layer ${i};`,rs(()=>{const a=document.querySelector("head");if(!a)return;const s=a.firstChild;if(i){if(s&&s.hasAttribute?.("data-mui-layer-order")&&s.getAttribute("data-mui-layer-order")===r)return;const l=document.createElement("style");l.setAttribute("data-mui-layer-order",r),l.textContent=i,a.prepend(l)}else a.querySelector(`style[data-mui-layer-order="${r}"]`)?.remove()},[i,r]),i?w.jsx(S8,{styles:i}):null}const Nk={};function Bk(t,e,r,n=!1){return H.useMemo(()=>{const i=t&&e[t]||e;if(typeof r=="function"){const a=r(i),s=t?{...e,[t]:a}:a;return n?()=>s:s}return t?{...e,[t]:r}:{...e,...r}},[t,e,r,n])}function q8(t){const{children:e,theme:r,themeId:n}=t,i=$y(Nk),a=ow()||Nk,s=Bk(n,i,r),l=Bk(n,a,r,!0),u=(n?s[n]:s).direction==="rtl",h=Kj(s);return w.jsx(Wj,{theme:l,children:w.jsx(J0.Provider,{value:s,children:w.jsx(Gj,{value:u,children:w.jsxs(Vj,{value:n?s[n].components:s.components,children:[h,e]})})})})}const Ok={theme:void 0};function Zj(t){let e,r;return function(i){let a=e;return(a===void 0||i.theme!==r)&&(Ok.theme=i.theme,a=k8(t(Ok)),e=a,r=i.theme),a}}const sw="mode",lw="color-scheme",Qj="data-color-scheme";function Jj(t){const{defaultMode:e="system",defaultLightColorScheme:r="light",defaultDar
11kColorScheme:n="dark",modeStorageKey:i=sw,colorSchemeStorageKey:a=lw,attribute:s=Qj,colorSchemeNode:l="document.documentElement",nonce:u}=t||{};let h="",f=s;if(s==="class"&&(f=".%s"),s==="data"&&(f="[data-%s]"),f.startsWith(".")){const y=f.substring(1);h+=`${l}.classList.remove('${y}'.replace('%s', light), '${y}'.replace('%s', dark));
12      ${l}.classList.add('${y}'.replace('%s', colorScheme));`}const p=f.match(/\[([^\]]+)\]/);if(p){const[y,g]=p[1].split("=");g||(h+=`${l}.removeAttribute('${y}'.replace('%s', light));
13      ${l}.removeAttribute('${y}'.replace('%s', dark));`),h+=`
14      ${l}.setAttribute('${y}'.replace('%s', colorScheme), ${g?`${g}.replace('%s', colorScheme)`:'""'});`}else h+=`${l}.setAttribute('${f}', colorScheme);`;return w.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?u:"",dangerouslySetInnerHTML:{__html:`(function() {
15try {
16  let colorScheme = '';
17  const mode = localStorage.getItem('${i}') || '${e}';
18  const dark = localStorage.getItem('${a}-dark') || '${n}';
19  const light = localStorage.getItem('${a}-light') || '${r}';
20  if (mode === 'system') {
21    // handle system mode
22    const mql = window.matchMedia('(prefers-color-scheme: dark)');
23    if (mql.matches) {
24      colorScheme = dark
25    } else {
26      colorScheme = light
27    }
28  }
29  if (mode === 'light') {
30    colorScheme = light;
31  }
32  if (mode === 'dark') {
33    colorScheme = dark;
34  }
35  if (colorScheme) {
36    ${h}
37  }
38} catch(e){}})();`}},"mui-color-scheme-init")}function tD(){}const eD=({key:t,storageWindow:e})=>(!e&&typeof window<"u"&&(e=window),{get(r){if(typeof window>"u")return;if(!e)return r;let n;try{n=e.localStorage.getItem(t)}catch{}return n||r},set:r=>{if(e)try{e.localStorage.setItem(t,r)}catch{}},subscribe:r=>{if(!e)return tD;const n=i=>{const a=i.newValue;i.key===t&&r(a)};return e.addEventListener("storage",n),()=>{e.removeEventListener("storage",n)}}});function Kv(){}function Pk(t){if(typeof window<"u"&&typeof window.matchMedia=="function"&&t==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function H8(t,e){if(t.mode==="light"||t.mode==="system"&&t.systemMode==="light")return e("light");if(t.mode==="dark"||t.mode==="system"&&t.systemMode==="dark")return e("dark")}function rD(t){return H8(t,e=>{if(e==="light")return t.lightColorScheme;if(e==="dark")return t.darkColorScheme})}function nD(t){const{defaultMode:e="light",defaultLightColorScheme:r,defaultDarkColorScheme:n,supportedColorSchemes:i=[],modeStorageKey:a=sw,colorSchemeStorageKey:s=lw,storageWindow:l=typeof window>"u"?void 0:window,storageManager:u=eD,noSsr:h=!1}=t,f=i.join(","),p=i.length>1,y=H.useMemo(()=>u?.({key:a,storageWindow:l}),[u,a,l]),g=H.useMemo(()=>u?.({key:`${s}-light`,storageWindow:l}),[u,s,l]),b=H.useMemo(()=>u?.({key:`${s}-dark`,storageWindow:l}),[u,s,l]),[v,C]=H.useState(()=>{const U=y?.get(e)||e,j=g?.get(r)||r,M=b?.get(n)||n;return{mode:U,systemMode:Pk(U),lightColorScheme:j,darkColorScheme:M}}),[k,T]=H.useState(h||!p);H.useEffect(()=>{T(!0)},[]);const E=rD(v),L=H.useCallback(U=>{C(j=>{if(U===j.mode)return j;const M=U??e;return y?.set(M),{...j,mode:M,systemMode:Pk(M)}})},[y,e]),O=H.useCallback(U=>{U?typeof U=="string"?U&&!f.includes(U)?console.error(`\`${U}\` does not exist in \`theme.colorSchemes\`.`):C(j=>{const M={...j};return H8(j,N=>{N==="light"&&(g?.set(U),M.lightColorScheme=U),N==="dark"&&(b?.set(U),M.darkColorScheme=U)}),M}):C(j=>{const M={...j},N=U.light===null?r:U.light,I=U.dark===null?n:U.dark;return N&&(f.includes(N)?(M.lightColorScheme=N,g?.set(N)):console.error(`\`${N}\` does not exist in \`theme.colorSchemes\`.`)),I&&(f.includes(I)?(M.darkColorScheme=I,b?.set(I)):console.error(`\`${I}\` does not exist in \`theme.colorSchemes\`.`)),M}):C(j=>(g?.set(r),b?.set(n),{...j,lightColorScheme:r,darkColorScheme:n}))},[f,g,b,r,n]),W=H.useCallback(U=>{v.mode==="system"&&C(j=>{const M=U?.matches?"dark":"light";return j.systemMode===M?j:{...j,systemMode:M}})},[v.mode]),q=H.useRef(W);return q.current=W,H.useEffect(()=>{if(typeof window.matchMedia!="function"||!p)return;const U=(...M)=>q.current(...M),j=window.matchMedia("(prefers-color-scheme: dark)");return j.addListener(U),U(j),()=>{j.removeListener(U)}},[p]),H.useEffect(()=>{if(p){const U=y?.subscribe(N=>{(!N||["light","dark","system"].includes(N))&&L(N||e)})||Kv,j=g?.subscribe(N=>{(!N||f.match(N))&&O({light:N})})||Kv,M=b?.subscribe(N=>{(!N||f.match(N))&&O({dark:N})})||Kv;return()=>{U(),j(),M()}}},[O,L,f,e,l,p,y,g,b]),{...v,mode:k?v.mode:void 0,systemMode:k?v.systemMode:void 0,colorScheme:k?E:void 0,setMode:L,setColorScheme:O}}const iD="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function aD(t){const{themeId:e,theme:r={},modeStorageKey:n=sw,colorSchemeStorageKey:i=lw,disableTransitionOnChange:a=!1,defaultColorScheme:s,resolveTheme:l}=t,u={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},h=H.createContext(void 0),f=()=>H.useContext(h)||u,p={},y={};function g(k){const{children:T,theme:E,modeStorageKey:L=n,colorSchemeStorageKey:O=i,disableTransitionOnChange:W=a,storageManager:q,storageWindow:U=typeof window>"u"?void 0:window,documentNode:j=typeof document>"u"?void 0:document,colorSchemeNode:M=typeof document>"u"?void 0:document.documentElement,disableNestedContext:N=!1,disableStyleSheetGeneration:I=!1,defaultMode:V="system",noSsr:z}=k,Y=H.useRef(!1),D=ow(),Z=H.useContext(h),Q=!!Z&&!N,it=H.useMemo(()=>E||(typeof r=="function"?r():r),[E]),mt=it[e],K=mt||it,{colorSchemes:P=p,components:X=y,cssVarPrefix:et}=K,rt=Object.keys(P).filter(de=>!!P[de]).join(","),lt=H.useMemo(()=>rt.split(","),[rt]),ht=typeof s=="string"?s:s.light,bt=typeof s=="string"?s:s.dark,yt=P[ht]&&P[bt]?V:P[K.defaultColorScheme]?.palette?.mode||K.palette?.mode,{mode:kt,setMode:Rt,systemMode:wt,lightColorScheme:qt,darkColorScheme:Ht,colorScheme:at,setColorScheme:ae}=nD({supportedColorSchemes:lt,defaultLightColorScheme:ht,defaultDar
38kColorScheme:bt,modeStorageKey:L,colorSchemeStorageKey:O,defaultMode:yt,storageManager:q,storageWindow:U,noSsr:z});let Kt=kt,le=at;Q&&(Kt=Z.mode,le=Z.colorScheme);const Ot=H.useMemo(()=>{const de=le||K.defaultColorScheme,Be=K.generateThemeVars?.()||K.vars,_e={...K,components:X,colorSchemes:P,cssVarPrefix:et,vars:Be};if(typeof _e.generateSpacing=="function"&&(_e.spacing=_e.generateSpacing()),de){const Ne=P[de];Ne&&typeof Ne=="object"&&Object.keys(Ne).forEach(Oe=>{Ne[Oe]&&typeof Ne[Oe]=="object"?_e[Oe]={..._e[Oe],...Ne[Oe]}:_e[Oe]=Ne[Oe]})}return l?l(_e):_e},[K,le,X,P,et]),be=K.colorSchemeSelector;rs(()=>{if(le&&M&&be&&be!=="media"){const de=be;let Be=be;if(de==="class"&&(Be=".%s"),de==="data"&&(Be="[data-%s]"),de?.startsWith("data-")&&!de.includes("%s")&&(Be=`[${de}="%s"]`),Be.startsWith("."))M.classList.remove(...lt.map(_e=>Be.substring(1).replace("%s",_e))),M.classList.add(Be.substring(1).replace("%s",le));else{const _e=Be.replace("%s",le).match(/\[([^\]]+)\]/);if(_e){const[Ne,Oe]=_e[1].split("=");Oe||lt.forEach(we=>{M.removeAttribute(Ne.replace(le,we))}),M.setAttribute(Ne,Oe?Oe.replace(/"|'/g,""):"")}else M.setAttribute(Be,le)}}},[le,be,M,lt]),H.useEffect(()=>{let de;if(W&&Y.current&&j){const Be=j.createElement("style");Be.appendChild(j.createTextNode(iD)),j.head.appendChild(Be),window.getComputedStyle(j.body),de=setTimeout(()=>{j.head.removeChild(Be)},1)}return()=>{clearTimeout(de)}},[le,W,j]),H.useEffect(()=>(Y.current=!0,()=>{Y.current=!1}),[]);const Nt=H.useMemo(()=>({allColorSchemes:lt,colorScheme:le,darkColorScheme:Ht,lightColorScheme:qt,mode:Kt,setColorScheme:ae,setMode:Rt,systemMode:wt}),[lt,le,Ht,qt,Kt,ae,Rt,wt,Ot.colorSchemeSelector]);let Dt=!0;(I||K.cssVariables===!1||Q&&D?.cssVarPrefix===et)&&(Dt=!1);const Vt=w.jsxs(H.Fragment,{children:[w.jsx(q8,{themeId:mt?e:void 0,theme:Ot,children:T}),Dt&&w.jsx(p8,{styles:Ot.generateStyleSheets?.()||[]})]});return Q?Vt:w.jsx(h.Provider,{value:Nt,children:Vt})}const b=typeof s=="string"?s:s.light,v=typeof s=="string"?s:s.dark;return{CssVarsProvider:g,useColorScheme:f,getInitColorSchemeScript:k=>Jj({colorSchemeStorageKey:i,defaultLightColorScheme:b,defaultDarkColorScheme:v,modeStorageKey:n,...k})}}function oD(t=""){function e(...n){if(!n.length)return"";const i=n[0];return typeof i=="string"&&!i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${t?`${t}-`:""}${i}${e(...n.slice(1))})`:`, ${i}`}return(n,...i)=>`var(--${t?`${t}-`:""}${n}${e(...i)})`}const $k=(t,e,r,n=[])=>{let i=t;e.forEach((a,s)=>{s===e.length-1?Array.isArray(i)?i[Number(a)]=r:i&&typeof i=="object"&&(i[a]=r):i&&typeof i=="object"&&(i[a]||(i[a]=n.includes(a)?[]:{}),i=i[a])})},sD=(t,e,r)=>{function n(i,a=[],s=[]){Object.entries(i).forEach(([l,u])=>{(!r||r&&!r([...a,l]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...a,l],Array.isArray(u)?[...s,l]:s):e([...a,l],u,s))})}n(t)},lD=(t,e)=>typeof e=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>t.includes(n))||t[t.length-1].toLowerCase().includes("opacity")?e:`${e}px`:e;function Zv(t,e){const{prefix:r,shouldSkipGeneratingVar:n}=e||{},i={},a={},s={};return sD(t,(l,u,h)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(l,u))){const f=`--${r?`${r}-`:""}${l.join("-")}`,p=lD(l,u);Object.assign(i,{[f]:p}),$k(a,l,`var(${f})`,h),$k(s,l,`var(${f}, ${p})`,h)}},l=>l[0]==="vars"),{css:i,vars:a,varsWithDefaults:s}}function cD(t,e={}){const{getSelector:r=C,disableCssColorScheme:n,colorSchemeSelector:i}=e,{colorSchemes:a={},components:s,defaultColorScheme:l="light",...u}=t,{vars:h,css:f,varsWithDefaults:p}=Zv(u,e);let y=p;const g={},{[l]:b,...v}=a;if(Object.entries(v||{}).forEach(([E,L])=>{const{vars:O,css:W,varsWithDefaults:q}=Zv(L,e);y=Na(y,q),g[E]={css:W,vars:O}}),b){const{css:E,vars:L,varsWithDefaults:O}=Zv(b,e);y=Na(y,O),g[l]={css:E,vars:L}}function C(E,L){let O=i;if(i==="class"&&(O=".%s"),i==="data"&&(O="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(O=`[${i}="%s"]`),E){if(O==="media")return t.defaultColorScheme===E?":root":{[`@media (prefers-color-scheme: ${a[E]?.palette?.mode||E})`]:{":root":L}};if(O)return t.defaultColorScheme===E?`:root, ${O.replace("%s",String(E))}`:O.replace("%s",String(E))}return":root"}
38return{vars:y,generateThemeVars:()=>{let E={...h};return Object.entries(g).forEach(([,{vars:L}])=>{E=Na(E,L)}),E},generateStyleSheets:()=>{const E=[],L=t.defaultColorScheme||"light";function O(U,j){Object.keys(j).length&&E.push(typeof U=="string"?{[U]:{...j}}:U)}O(r(void 0,{...f}),f);const{[L]:W,...q}=g;if(W){const{css:U}=W,j=a[L]?.palette?.mode,M=!n&&j?{colorScheme:j,...U}:{...U};O(r(L,{...M}),M)}return Object.entries(q).forEach(([U,{css:j}])=>{const M=a[U]?.palette?.mode,N=!n&&M?{colorScheme:M,...j}:{...j};O(r(U,{...N}),N)}),E}}}function uD(t){return function(r){return t==="media"?`@media (prefers-color-scheme: ${r})`:t?t.startsWith("data-")&&!t.includes("%s")?`[${t}="${r}"] &`:t==="class"?`.${r} &`:t==="data"?`[data-${r}] &`:`${t.replace("%s",r)} &`:"&"}}const hD=rm(),fD=T8("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`maxWidth${Qt(String(r.maxWidth))}`],r.fixed&&e.fixed,r.disableGutters&&e.disableGutters]}}),dD=t=>E8({props:t,name:"MuiContainer",defaultTheme:hD}),pD=(t,e)=>{const r=u=>hr(e,u),{classes:n,fixed:i,disableGutters:a,maxWidth:s}=t,l={root:["root",s&&`maxWidth${Qt(String(s))}`,i&&"fixed",a&&"disableGutters"]};return fr(l,r,n)};function gD(t={}){const{createStyledComponent:e=fD,useThemeProps:r=dD,componentName:n="MuiContainer"}=t,i=e(({theme:s,ownerState:l})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!l.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}}}),({theme:s,ownerState:l})=>l.fixed&&Object.keys(s.breakpoints.values).reduce((u,h)=>{const f=h,p=s.breakpoints.values[f];return p!==0&&(u[s.breakpoints.up(f)]={maxWidth:`${p}${s.breakpoints.unit}`}),u},{}),({theme:s,ownerState:l})=>({...l.maxWidth==="xs"&&{[s.breakpoints.up("xs")]:{maxWidth:Math.max(s.breakpoints.values.xs,444)}},...l.maxWidth&&l.maxWidth!=="xs"&&{[s.breakpoints.up(l.maxWidth)]:{maxWidth:`${s.breakpoints.values[l.maxWidth]}${s.breakpoints.unit}`}}}));return H.forwardRef(function(l,u){const h=r(l),{className:f,component:p="div",disableGutters:y=!1,fixed:g=!1,maxWidth:b="lg",classes:v,...C}=h,k={...h,component:p,disableGutters:y,fixed:g,maxWidth:b},T=pD(k,n);return w.jsx(i,{as:p,ownerState:k,className:Te(T.root,f),ref:u,...C})})}const mD=rm(),yD=T8("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root});function bD(t){return E8({props:t,name:"MuiStack",defaultTheme:mD})}function vD(t,e){const r=H.Children.toArray(t).filter(Boolean);return r.reduce((n,i,a)=>(n.push(i),a<r.length-1&&n.push(H.cloneElement(e,{key:`separator-${a}`})),n),[])}const xD=t=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[t],SD=({ownerState:t,theme:e})=>{let r={display:"flex",flexDirection:"column",...es({theme:e},Mf({values:t.direction,breakpoints:e.breakpoints.values}),n=>({flexDirection:n}))};if(t.spacing){const n=My(e),i=Object.keys(e.breakpoints.values).reduce((u,h)=>((typeof t.spacing=="object"&&t.spacing[h]!=null||typeof t.direction=="object"&&t.direction[h]!=null)&&(u[h]=!0),u),{}),a=Mf({values:t.direction,base:i}),s=Mf({values:t.spacing,base:i});typeof a=="object"&&Object.keys(a).forEach((u,h,f)=>{if(!a[u]){const y=h>0?a[f[h-1]]:"column";a[u]=y}}),r=Na(r,es({theme:e},s,(u,h)=>t.useFlexGap?{gap:jf(n,u)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${xD(h?a[h]:t.direction)}`]:jf(n,u)}}))}return r=T$(e.breakpoints,r),r};function wD(t={}){const{createStyledComponent:e=yD,useThemeProps:r=bD,componentName:n="MuiStack"}=t,i=()=>fr({root:["root"]},u=>hr(n,u),{}),a=e(SD);return H.forwardRef(function(u,h){const f=r(u),p=Dy(f),{component:y="div",direction:g="column",spacing:b=0,divider:v,children:C,className:k,useFlexGap:T=!1,...E}=p,L={direction:g,spacing:b,useFlexGap:T},O=i();return w.jsx(a,{as:y,ownerState:L,ref:h,className:Te(O.root,k),...E,children:v?vD(C,v):C})})}function U8(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:T0.white,default:T0.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackgroun
38d:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const CD=U8();function W8(){return{text:{primary:T0.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:T0.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const jk=W8();function Dk(t,e,r,n){const i=n.light||n,a=n.dark||n*1.5;t[e]||(t.hasOwnProperty(r)?t[e]=t[r]:e==="light"?t.light=Bh(t.main,i):e==="dark"&&(t.dark=Nh(t.main,a)))}function kD(t="light"){return t==="dark"?{main:Hd[200],light:Hd[50],dark:Hd[400]}:{main:Hd[700],light:Hd[400],dark:Hd[800]}}function _D(t="light"){return t==="dark"?{main:qd[200],light:qd[50],dark:qd[400]}:{main:qd[500],light:qd[300],dark:qd[700]}}function AD(t="light"){return t==="dark"?{main:Fd[500],light:Fd[300],dark:Fd[700]}:{main:Fd[700],light:Fd[400],dark:Fd[800]}}function TD(t="light"){return t==="dark"?{main:Ud[400],light:Ud[300],dark:Ud[700]}:{main:Ud[700],light:Ud[500],dark:Ud[900]}}function LD(t="light"){return t==="dark"?{main:Wd[400],light:Wd[300],dark:Wd[700]}:{main:Wd[800],light:Wd[500],dark:Wd[900]}}function ED(t="light"){return t==="dark"?{main:Rg[400],light:Rg[300],dark:Rg[700]}:{main:"#ed6c02",light:Rg[500],dark:Rg[900]}}function cw(t){const{mode:e="light",contrastThreshold:r=3,tonalOffset:n=.2,...i}=t,a=t.primary||kD(e),s=t.secondary||_D(e),l=t.error||AD(e),u=t.info||TD(e),h=t.success||LD(e),f=t.warning||ED(e);function p(v){return Oj(v,jk.text.primary)>=r?jk.text.primary:CD.text.primary}const y=({color:v,name:C,mainShade:k=500,lightShade:T=300,darkShade:E=700})=>{if(v={...v},!v.main&&v[k]&&(v.main=v[k]),!v.hasOwnProperty("main"))throw new Error(_u(11,C?` (${C})`:"",k));if(typeof v.main!="string")throw new Error(_u(12,C?` (${C})`:"",JSON.stringify(v.main)));return Dk(v,"light",T,n),Dk(v,"dark",E,n),v.contrastText||(v.contrastText=p(v.main)),v};let g;return e==="light"?g=U8():e==="dark"&&(g=W8()),Na({common:{...T0},mode:e,primary:y({color:a,name:"primary"}),secondary:y({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:l,name:"error"}),warning:y({color:f,name:"warning"}),info:y({color:u,name:"info"}),success:y({color:h,name:"success"}),grey:b9,contrastThreshold:r,getContrastText:p,augmentColor:y,tonalOffset:n,...g},i)}function MD(t){const e={};return Object.entries(t).forEach(n=>{const[i,a]=n;typeof a=="object"&&(e[i]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),e}function RD(t,e){return{toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}},...e}}function ND(t){return Math.round(t*1e5)/1e5}const Ik={textTransform:"uppercase"},zk='"Roboto", "Helvetica", "Arial", sans-serif';function G8(t,e){const{fontFamily:r=zk,fontSize:n=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:h,pxToRem:f,...p}=typeof e=="function"?e(t):e,y=n/14,g=f||(C=>`${C/u*y}rem`),b=(C,k,T,E,L)=>({fontFamily:r,fontWeight:C,fontSize:g(k),lineHeight:T,...r===zk?{letterSpacing:`${ND(E/k)}em`}:{},...L,...h}),v={h1:b(i,96,1.167,-1.5),h2:b(i,60,1.2,-.5),h3:b(a,48,1.167,0),h4:b(a,34,1.235,.25),h5:b(a,24,1.334,0),h6:b(s,20,1.6,.15),subtitle1:b(a,16,1.75,.15),subtitle2:b(s,14,1.57,.1),body1:b(a,16,1.5,.15),body2:b(a,14,1.43,.15),button:b(s,14,1.75,.4,Ik),caption:b(a,12,1.66,.4),overline:b(a,12,2.66,1,Ik),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Na({htmlFontSize:u,pxToRem:g,fontFamily:r,fontSize:n,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l,...v},p,{clone:!1})}const BD=.2,OD=.14,PD=.12;function _i(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${BD})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${OD})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}
38px rgba(0,0,0,${PD})`].join(",")}const $D=["none",_i(0,2,1,-1,0,1,1,0,0,1,3,0),_i(0,3,1,-2,0,2,2,0,0,1,5,0),_i(0,3,3,-2,0,3,4,0,0,1,8,0),_i(0,2,4,-1,0,4,5,0,0,1,10,0),_i(0,3,5,-1,0,5,8,0,0,1,14,0),_i(0,3,5,-1,0,6,10,0,0,1,18,0),_i(0,4,5,-2,0,7,10,1,0,2,16,1),_i(0,5,5,-3,0,8,10,1,0,3,14,2),_i(0,5,6,-3,0,9,12,1,0,3,16,2),_i(0,6,6,-3,0,10,14,1,0,4,18,3),_i(0,6,7,-4,0,11,15,1,0,4,20,3),_i(0,7,8,-4,0,12,17,2,0,5,22,4),_i(0,7,8,-4,0,13,19,2,0,5,24,4),_i(0,7,9,-4,0,14,21,2,0,5,26,4),_i(0,8,9,-5,0,15,22,2,0,6,28,5),_i(0,8,10,-5,0,16,24,2,0,6,30,5),_i(0,8,11,-5,0,17,26,2,0,6,32,5),_i(0,9,11,-5,0,18,28,2,0,7,34,6),_i(0,9,12,-6,0,19,29,2,0,7,36,6),_i(0,10,13,-6,0,20,31,3,0,8,38,7),_i(0,10,13,-6,0,21,33,3,0,8,40,7),_i(0,10,14,-6,0,22,35,3,0,8,42,7),_i(0,11,14,-7,0,23,36,3,0,9,44,8),_i(0,11,15,-7,0,24,38,3,0,9,46,8)],jD={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},V8={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Fk(t){return`${Math.round(t)}ms`}function DD(t){if(!t)return 0;const e=t/36;return Math.min(Math.round((4+15*e**.25+e/5)*10),3e3)}function ID(t){const e={...jD,...t.easing},r={...V8,...t.duration};return{getAutoHeightDuration:DD,create:(i=["all"],a={})=>{const{duration:s=r.standard,easing:l=e.easeInOut,delay:u=0,...h}=a;return(Array.isArray(i)?i:[i]).map(f=>`${f} ${typeof s=="string"?s:Fk(s)} ${l} ${typeof u=="string"?u:Fk(u)}`).join(",")},...t,easing:e,duration:r}}const zD={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function FD(t){return Tc(t)||typeof t>"u"||typeof t=="string"||typeof t=="boolean"||typeof t=="number"||Array.isArray(t)}function Y8(t={}){const e={...t};function r(n){const i=Object.entries(n);for(let a=0;a<i.length;a++){const[s,l]=i[a];!FD(l)||s.startsWith("unstable_")?delete n[s]:Tc(l)&&(n[s]={...l},r(n[s]))}}return r(e),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
39
40const theme = ${JSON.stringify(e,null,2)};
41
42theme.breakpoints = createBreakpoints(theme.breakpoints || {});
43theme.transitions = createTransitions(theme.transitions || {});
44
45export default theme;`}function h5(t={},...e){const{breakpoints:r,mixins:n={},spacing:i,palette:a={},transitions:s={},typography:l={},shape:u,...h}=t;if(t.vars&&t.generateThemeVars===void 0)throw new Error(_u(20));const f=cw(a),p=rm(t);let y=Na(p,{mixins:RD(p.breakpoints,n),palette:f,shadows:$D.slice(),typography:G8(f,l),transitions:ID(s),zIndex:{...zD}});return y=Na(y,h),y=e.reduce((g,b)=>Na(g,b),y),y.unstable_sxConfig={...em,...h?.unstable_sxConfig},y.unstable_sx=function(b){return Mh({sx:b,theme:this})},y.toRuntimeSource=Y8,y}function f5(t){let e;return t<1?e=5.11916*t**2:e=4.5*Math.log(t+1)+2,Math.round(e*10)/1e3}const qD=[...Array(25)].map((t,e)=>{if(e===0)return"none";const r=f5(e);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function X8(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function K8(t){return t==="dark"?qD:[]}function HD(t){const{palette:e={mode:"light"},opacity:r,overlays:n,...i}=t,a=cw(e);return{palette:a,opacity:{...X8(a.mode),...r},overlays:n||K8(a.mode),...i}}function UD(t){return!!t[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||t[0]==="palette"&&!!t[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const WD=t=>[...[...Array(25)].map((e,r)=>`--${t?`${t}-`:""}overlays-${r}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],GD=t=>(e,r)=>{const n=t.rootSelector||":root",i=t.colorSchemeSelector;let a=i;if(i==="class"&&(a=".%s"),i==="data"&&(a="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(a=`[${i}="%s"]`),t.defaultColorScheme===e){if(e==="dark"){const s={};
45return WD(t.cssVarPrefix).forEach(l=>{s[l]=r[l],delete r[l]}),a==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:s}}:a?{[a.replace("%s",e)]:s,[`${n}, ${a.replace("%s",e)}`]:r}:{[n]:{...r,...s}}}if(a&&a!=="media")return`${n}, ${a.replace("%s",String(e))}`}else if(e){if(a==="media")return{[`@media (prefers-color-scheme: ${String(e)})`]:{[n]:r}};if(a)return a.replace("%s",String(e))}return n};function VD(t,e){e.forEach(r=>{t[r]||(t[r]={})})}function se(t,e,r){!t[e]&&r&&(t[e]=r)}function Jg(t){return typeof t!="string"||!t.startsWith("hsl")?t:N8(t)}function uu(t,e){`${e}Channel`in t||(t[`${e}Channel`]=Qg(Jg(t[e])))}function YD(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const gc=t=>{try{return t()}catch{}},XD=(t="mui")=>oD(t);function Qv(t,e,r,n){if(!e)return;e=e===!0?{}:e;const i=n==="dark"?"dark":"light";if(!r){t[n]=HD({...e,palette:{mode:i,...e?.palette}});return}const{palette:a,...s}=h5({...r,palette:{mode:i,...e?.palette}});return t[n]={...e,palette:a,opacity:{...X8(i),...e?.opacity},overlays:e?.overlays||K8(i)},s}function KD(t={},...e){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:i=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:s=UD,colorSchemeSelector:l=r.light&&r.dark?"media":void 0,rootSelector:u=":root",...h}=t,f=Object.keys(r)[0],p=n||(r.light&&f!=="light"?"light":f),y=XD(a),{[p]:g,light:b,dark:v,...C}=r,k={...C};let T=g;if((p==="dark"&&!("dark"in r)||p==="light"&&!("light"in r))&&(T=!0),!T)throw new Error(_u(21,p));const E=Qv(k,T,h,p);b&&!k.light&&Qv(k,b,void 0,"light"),v&&!k.dark&&Qv(k,v,void 0,"dark");let L={defaultColorScheme:p,...E,cssVarPrefix:a,colorSchemeSelector:l,rootSelector:u,getCssVar:y,colorSchemes:k,font:{...MD(E.typography),...E.font},spacing:YD(h.spacing)};Object.keys(L.colorSchemes).forEach(j=>{const M=L.colorSchemes[j].palette,N=I=>{const V=I.split("-"),z=V[1],Y=V[2];return y(I,M[z][Y])};if(M.mode==="light"&&(se(M.common,"background","#fff"),se(M.common,"onBackground","#000")),M.mode==="dark"&&(se(M.common,"background","#000"),se(M.common,"onBackground","#fff")),VD(M,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),M.mode==="light"){se(M.Alert,"errorColor",si(M.error.light,.6)),se(M.Alert,"infoColor",si(M.info.light,.6)),se(M.Alert,"successColor",si(M.success.light,.6)),se(M.Alert,"warningColor",si(M.warning.light,.6)),se(M.Alert,"errorFilledBg",N("palette-error-main")),se(M.Alert,"infoFilledBg",N("palette-info-main")),se(M.Alert,"successFilledBg",N("palette-success-main")),se(M.Alert,"warningFilledBg",N("palette-warning-main")),se(M.Alert,"errorFilledColor",gc(()=>M.getContrastText(M.error.main))),se(M.Alert,"infoFilledColor",gc(()=>M.getContrastText(M.info.main))),se(M.Alert,"successFilledColor",gc(()=>M.getContrastText(M.success.main))),se(M.Alert,"warningFilledColor",gc(()=>M.getContrastText(M.warning.main))),se(M.Alert,"errorStandardBg",li(M.error.light,.9)),se(M.Alert,"infoStandardBg",li(M.info.light,.9)),se(M.Alert,"successStandardBg",li(M.success.light,.9)),se(M.Alert,"warningStandardBg",li(M.warning.light,.9)),se(M.Alert,"errorIconColor",N("palette-error-main")),se(M.Alert,"infoIconColor",N("palette-info-main")),se(M.Alert,"successIconColor",N("palette-success-main")),se(M.Alert,"warningIconColor",N("palette-warning-main")),se(M.AppBar,"defaultBg",N("palette-grey-100")),se(M.Avatar,"defaultBg",N("palette-grey-400")),se(M.Button,"inheritContainedBg",N("palette-grey-300")),se(M.Button,"inheritContainedHoverBg",N("palette-grey-A100")),se(M.Chip,"defaultBorder",N("palette-grey-400")),se(M.Chip,"defaultAvatarColor",N("palette-grey-700")),se(M.Chip,"defaultIconColor",N("palette-grey-700")),se(M.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),se(M.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),se(M.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),se(M.LinearProgress,"primaryBg",li(M.primary.main,.62)),se(M.LinearProgress,"secondaryBg",li(M.secondary.main,.62)),se(M.LinearProgress,"errorBg",li(M.error.main,.62)),se(M.LinearProgress,"infoBg",li(M.info.main,.62)),se(M.LinearProgress,"successBg",li(M.success.main,.62)),se(M.LinearProgress,"warningBg",li(M.warning.main,.62)),se(M.Skeleton,"bg",`rgba(${N("palette-text-primaryChannel")} / 0.11)`),se(M.Slider,"primaryTrack",li(M.primary.main,.62)),se(M.Slider,"secondaryTrack",li(M.secondary.main,.62)),se(M.Slider,"errorTrack",li(M.error.main,.62)),se(M.Slider,"infoTrack",li(M.info.main,.62)),se(M.Slider,"successTrack",li(M.success.main,.62)),se(M.Slider,"warningTrack",li(M.warning.main,.62));const I=h1(M.background.default,.8);se(M.SnackbarContent,"bg",I),se(M.SnackbarContent,"color",gc(()=>M.getContrastText(I))),se(M.SpeedDialAction,"fabHoverBg",h1(M.background.paper,.15)),se(M.StepConnector,"border",N("palette-grey-400")),se(M.StepContent,"border",N("palette-grey-400")),se(M.Switch,"defaultColor",N("palette-common-white")),se(M.Switch,"defaultDisabledColor",N("palette-grey-100")),se(M.Switch,"primaryDisabledColor",li(M.primary.main,.62)),se(M.Switch,"secondary
45DisabledColor",li(M.secondary.main,.62)),se(M.Switch,"errorDisabledColor",li(M.error.main,.62)),se(M.Switch,"infoDisabledColor",li(M.info.main,.62)),se(M.Switch,"successDisabledColor",li(M.success.main,.62)),se(M.Switch,"warningDisabledColor",li(M.warning.main,.62)),se(M.TableCell,"border",li(u1(M.divider,1),.88)),se(M.Tooltip,"bg",u1(M.grey[700],.92))}if(M.mode==="dark"){se(M.Alert,"errorColor",li(M.error.light,.6)),se(M.Alert,"infoColor",li(M.info.light,.6)),se(M.Alert,"successColor",li(M.success.light,.6)),se(M.Alert,"warningColor",li(M.warning.light,.6)),se(M.Alert,"errorFilledBg",N("palette-error-dark")),se(M.Alert,"infoFilledBg",N("palette-info-dark")),se(M.Alert,"successFilledBg",N("palette-success-dark")),se(M.Alert,"warningFilledBg",N("palette-warning-dark")),se(M.Alert,"errorFilledColor",gc(()=>M.getContrastText(M.error.dark))),se(M.Alert,"infoFilledColor",gc(()=>M.getContrastText(M.info.dark))),se(M.Alert,"successFilledColor",gc(()=>M.getContrastText(M.success.dark))),se(M.Alert,"warningFilledColor",gc(()=>M.getContrastText(M.warning.dark))),se(M.Alert,"errorStandardBg",si(M.error.light,.9)),se(M.Alert,"infoStandardBg",si(M.info.light,.9)),se(M.Alert,"successStandardBg",si(M.success.light,.9)),se(M.Alert,"warningStandardBg",si(M.warning.light,.9)),se(M.Alert,"errorIconColor",N("palette-error-main")),se(M.Alert,"infoIconColor",N("palette-info-main")),se(M.Alert,"successIconColor",N("palette-success-main")),se(M.Alert,"warningIconColor",N("palette-warning-main")),se(M.AppBar,"defaultBg",N("palette-grey-900")),se(M.AppBar,"darkBg",N("palette-background-paper")),se(M.AppBar,"darkColor",N("palette-text-primary")),se(M.Avatar,"defaultBg",N("palette-grey-600")),se(M.Button,"inheritContainedBg",N("palette-grey-800")),se(M.Button,"inheritContainedHoverBg",N("palette-grey-700")),se(M.Chip,"defaultBorder",N("palette-grey-700")),se(M.Chip,"defaultAvatarColor",N("palette-grey-300")),se(M.Chip,"defaultIconColor",N("palette-grey-300")),se(M.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),se(M.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),se(M.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),se(M.LinearProgress,"primaryBg",si(M.primary.main,.5)),se(M.LinearProgress,"secondaryBg",si(M.secondary.main,.5)),se(M.LinearProgress,"errorBg",si(M.error.main,.5)),se(M.LinearProgress,"infoBg",si(M.info.main,.5)),se(M.LinearProgress,"successBg",si(M.success.main,.5)),se(M.LinearProgress,"warningBg",si(M.warning.main,.5)),se(M.Skeleton,"bg",`rgba(${N("palette-text-primaryChannel")} / 0.13)`),se(M.Slider,"primaryTrack",si(M.primary.main,.5)),se(M.Slider,"secondaryTrack",si(M.secondary.main,.5)),se(M.Slider,"errorTrack",si(M.error.main,.5)),se(M.Slider,"infoTrack",si(M.info.main,.5)),se(M.Slider,"successTrack",si(M.success.main,.5)),se(M.Slider,"warningTrack",si(M.warning.main,.5));const I=h1(M.background.default,.98);se(M.SnackbarContent,"bg",I),se(M.SnackbarContent,"color",gc(()=>M.getContrastText(I))),se(M.SpeedDialAction,"fabHoverBg",h1(M.background.paper,.15)),se(M.StepConnector,"border",N("palette-grey-600")),se(M.StepContent,"border",N("palette-grey-600")),se(M.Switch,"defaultColor",N("palette-grey-300")),se(M.Switch,"defaultDisabledColor",N("palette-grey-600")),se(M.Switch,"primaryDisabledColor",si(M.primary.main,.55)),se(M.Switch,"secondaryDisabledColor",si(M.secondary.main,.55)),se(M.Switch,"errorDisabledColor",si(M.error.main,.55)),se(M.Switch,"infoDisabledColor",si(M.info.main,.55)),se(M.Switch,"successDisabledColor",si(M.success.main,.55)),se(M.Switch,"warningDisabledColor",si(M.warning.main,.55)),se(M.TableCell,"border",si(u1(M.divider,1),.68)),se(M.Tooltip,"bg",u1(M.grey[700],.92))}uu(M.background,"default"),uu(M.background,"paper"),uu(M.common,"background"),uu(M.common,"onBackground"),uu(M,"divider"),Object.keys(M).forEach(I=>{const V=M[I];I!=="tonalOffset"&&V&&typeof V=="object"&&(V.main&&se(M[I],"mainChannel",Qg(Jg(V.main))),V.light&&se(M[I],"lightChannel",Qg(Jg(V.light))),V.dark&&se(M[I],"darkChannel",Qg(Jg(V.dark))),V.contrastText&&se(M[I],"contrastTextChannel",Qg(Jg(V.contrastText))),I==="text"&&(uu(M[I],"primary"),uu(M[I],"secondary")),I==="action"&&(V.active&&uu(M[I],"active"),V.selected&&uu(M[I],"selected")))})}),L=e.reduce((j,M)=>Na(j,M),L);const O={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:GD(L)}
45,{vars:W,generateThemeVars:q,generateStyleSheets:U}=cD(L,O);return L.vars=W,Object.entries(L.colorSchemes[L.defaultColorScheme]).forEach(([j,M])=>{L[j]=M}),L.generateThemeVars=q,L.generateStyleSheets=U,L.generateSpacing=function(){return x8(h.spacing,My(this))},L.getColorSchemeSelector=uD(l),L.spacing=L.generateSpacing(),L.shouldSkipGeneratingVar=s,L.unstable_sxConfig={...em,...h?.unstable_sxConfig},L.unstable_sx=function(M){return Mh({sx:M,theme:this})},L.toRuntimeSource=Y8,L}function qk(t,e,r){t.colorSchemes&&r&&(t.colorSchemes[e]={...r!==!0&&r,palette:cw({...r===!0?{}:r.palette,mode:e})})}function Fy(t={},...e){const{palette:r,cssVariables:n=!1,colorSchemes:i=r?void 0:{light:!0},defaultColorScheme:a=r?.mode,...s}=t,l=a||"light",u=i?.[l],h={...i,...r?{[l]:{...typeof u!="boolean"&&u,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in t))return h5(t,...e);let f=r;"palette"in t||h[l]&&(h[l]!==!0?f=h[l].palette:l==="dark"&&(f={mode:"dark"}));const p=h5({...t,palette:f},...e);return p.defaultColorScheme=l,p.colorSchemes=h,p.palette.mode==="light"&&(p.colorSchemes.light={...h.light!==!0&&h.light,palette:p.palette},qk(p,"dark",h.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...h.dark!==!0&&h.dark,palette:p.palette},qk(p,"light",h.light)),p}return!r&&!("light"in h)&&l==="light"&&(h.light=!0),KD({...s,colorSchemes:h,defaultColorScheme:l,...typeof n!="boolean"&&n},...e)}const uw=Fy();function Ru(){const t=jy(uw);return t[Dl]||t}function Z8(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const is=t=>Z8(t)&&t!=="classes",ne=A8({themeId:Dl,defaultTheme:uw,rootShouldForwardProp:is});function ZD({theme:t,...e}){const r=Dl in t?t[Dl]:void 0;return w.jsx(q8,{...e,themeId:r?Dl:void 0,theme:r||t})}const f1={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:QD}=aD({themeId:Dl,theme:()=>Fy({cssVariables:!0}),colorSchemeStorageKey:f1.colorSchemeStorageKey,modeStorageKey:f1.modeStorageKey,defaultColorScheme:{light:f1.defaultLightColorScheme,dark:f1.defaultDarkColorScheme},resolveTheme:t=>{const e={...t,typography:G8(t.palette,t.typography)};return e.unstable_sx=function(n){return Mh({sx:n,theme:this})},e}}),JD=QD;function tI({theme:t,...e}){const r=H.useMemo(()=>{if(typeof t=="function")return t;const n=Dl in t?t[Dl]:t;return"colorSchemes"in n?null:"vars"in n?t:{...t,vars:null}},[t]);return r?w.jsx(ZD,{theme:r,...e}):w.jsx(JD,{theme:t,...e})}function eI(t){return w.jsx(S8,{...t,defaultTheme:uw,themeId:Dl})}function hw(t){return function(r){return w.jsx(eI,{styles:typeof t=="function"?n=>t({theme:n,...r}):t})}}function rI(){return Dy}const Xe=Zj;function gr(t){return Xj(t)}function nI(t){return hr("MuiSvgIcon",t)}or("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const iI=t=>{const{color:e,fontSize:r,classes:n}=t,i={root:["root",e!=="inherit"&&`color${Qt(e)}`,`fontSize${Qt(r)}`]};return fr(i,nI,n)},aI=ne("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.color!=="inherit"&&e[`color${Qt(r.color)}`],e[`fontSize${Qt(r.fontSize)}`]]}})(Xe(({theme:t})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:t.transitions?.create?.("fill",{duration:(t.vars??t).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:t.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:t.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:t.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((t.vars??t).palette).filter(([,e])=>e&&e.main).map(([e])=>({props:{color:e},style:{color:(t.vars??t).palette?.[e]?.main}})),{props:{color:"action"},style:{color:(t.vars??t).palette?.action?.active}},{props:{color:"disabled"},style:{color:(t.vars??t).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),d5=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiSvgIcon"}),{children:i,className:a,color:s="inherit",component:l="svg",fontSize:u="medium",htmlColor:h,inheritViewBox:f=!1,titleAccess:p,viewBox:y="0 0 24 24",...g}=n,b=H.isValidElement(i)&&i.type==="svg",v={...n,color:s,component:l,fontSize:u,instanceFontSize:e.fontSize,inheritViewBox:f,viewBox:y,hasSvgAsChild:b},C={};f||(C.viewBox=y);const k=iI(v);return w.jsxs(aI,{as:l,className:Te(k.root,a),focusable:"false",color:h,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r,...C,...g,...b&&i.props,ownerState:v,children:[b?i.props.children:i,p?w.jsx("title",{children:p}):null]})});d5.muiName="SvgIcon";function Jr(t,e){function r(n,i){return w.jsx(d5,{"data-testid":`${e}Icon`,ref:i,...n,children:t})}return r.muiName=d5.muiName,H.memo(H.forwardRef(r))}function Q8(t,e){if(!t)return e;if(typeof t=="function"||typeof e=="function")return i=>{const a=typeof e=="function"?e(i):e,s=typeof t=="function"?t({...i,...a}
45):t,l=Te(i?.className,a?.className,s?.className);return{...a,...s,...!!l&&{className:l},...a?.style&&s?.style&&{style:{...a.style,...s.style}},...a?.sx&&s?.sx&&{sx:[...Array.isArray(a.sx)?a.sx:[a.sx],...Array.isArray(s.sx)?s.sx:[s.sx]]}}};const r=e,n=Te(r?.className,t?.className);return{...e,...t,...!!n&&{className:n},...r?.style&&t?.style&&{style:{...r.style,...t.style}},...r?.sx&&t?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(t.sx)?t.sx:[t.sx]]}}}function J8(t,e){if(t==null)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(e.indexOf(n)!==-1)continue;r[n]=t[n]}return r}function p5(t,e){return p5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},p5(t,e)}function tL(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,p5(t,e)}var eL=t8();const d1=VS(eL),Hk={disabled:!1},E2=Ec.createContext(null);var oI=function(e){return e.scrollTop},t0="unmounted",gf="exited",mf="entering",Jd="entered",g5="exiting",ul=(function(t){tL(e,t);function e(n,i){var a;a=t.call(this,n,i)||this;var s=i,l=s&&!s.isMounting?n.enter:n.appear,u;return a.appearStatus=null,n.in?l?(u=gf,a.appearStatus=mf):u=Jd:n.unmountOnExit||n.mountOnEnter?u=t0:u=gf,a.state={status:u},a.nextCallback=null,a}e.getDerivedStateFromProps=function(i,a){var s=i.in;return s&&a.status===t0?{status:gf}:null};var r=e.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var a=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==mf&&s!==Jd&&(a=mf):(s===mf||s===Jd)&&(a=g5)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,s,l;return a=s=l=i,i!=null&&typeof i!="number"&&(a=i.exit,s=i.enter,l=i.appear!==void 0?i.appear:s),{exit:a,enter:s,appear:l}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===mf){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:d1.findDOMNode(this);s&&oI(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===gf&&this.setState({status:t0})},r.performEnter=function(i){var a=this,s=this.props.enter,l=this.context?this.context.isMounting:i,u=this.props.nodeRef?[l]:[d1.findDOMNode(this),l],h=u[0],f=u[1],p=this.getTimeouts(),y=l?p.appear:p.enter;if(!i&&!s||Hk.disabled){this.safeSetState({status:Jd},function(){a.props.onEntered(h)});return}this.props.onEnter(h,f),this.safeSetState({status:mf},function(){a.props.onEntering(h,f),a.onTransitionEnd(y,function(){a.safeSetState({status:Jd},function(){a.props.onEntered(h,f)})})})},r.performExit=function(){var i=this,a=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:d1.findDOMNode(this);if(!a||Hk.disabled){this.safeSetState({status:gf},function(){i.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:g5},function(){i.props.onExiting(l),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:gf},function(){i.props.onExited(l)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},r.setNextCallback=function(i){var a=this,s=!0;return this.nextCallback=function(l){s&&(s=!1,a.nextCallback=null,i(l))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},r.onTransitionEnd=function(i,a){this.setNextCallback(a);var s=this.props.nodeRef?this.props.nodeRef.current:d1.findDOMNode(this),l=i==null&&!this.props.addEndListener;if(!s||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],h=u[0],f=u[1];this.props.addEndListener(h,f)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===t0)return null;var a=this.props,s=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var l=J8(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ec.createElement(E2.Provider,{value:null},typeof s=="function"?s(i,l):Ec.cloneElement(Ec.Children.only(s),l))},e})(Ec.Component);ul.contextType=E2;ul.propTypes={};function Gd(){}ul.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter
vendor: 1,051 bytes, line 45
45:!0,exit:!0,onEnter:Gd,onEntering:Gd,onEntered:Gd,onExit:Gd,onExiting:Gd,onExited:Gd};ul.UNMOUNTED=t0;ul.EXITED=gf;ul.ENTERING=mf;ul.ENTERED=Jd;ul.EXITING=g5;function sI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fw(t,e){var r=function(a){return e&&H.isValidElement(a)?e(a):a},n=Object.create(null);return t&&H.Children.map(t,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function lI(t,e){t=t||{},e=e||{};function r(f){return f in e?e[f]:t[f]}var n=Object.create(null),i=[];for(var a in t)a in e?i.length&&(n[a]=i,i=[]):i.push(a);var s,l={};for(var u in e){if(n[u])for(s=0;s<n[u].length;s++){var h=n[u][s];l[n[u][s]]=r(h)}l[u]=r(u)}for(s=0;s<i.length;s++)l[i[s]]=r(i[s]);return l}function kf(t,e,r){return r[e]!=null?r[e]:t.props[e]}function cI(t,e){return fw(t.children,function(r){return H.cloneElement(r,{onExited:e.bind(null,r),in:!0,appear:kf(r,"appear",t),enter:kf(r,"enter",t),exit:kf(r,"exit",t)})})}function uI(t,e,r){var n=fw(t.children),i=lI(e,n);
45return Object.keys(i).forEach(function(a){var s=i[a];if(H.isValidElement(s)){var l=a in e,u=a in n,h=e[a],f=H.isValidElement(h)&&!h.props.in;u&&(!l||f)?i[a]=H.cloneElement(s,{onExited:r.bind(null,s),in:!0,exit:kf(s,"exit",t),enter:kf(s,"enter",t)}):!u&&l&&!f?i[a]=H.cloneElement(s,{in:!1}):u&&l&&H.isValidElement(h)&&(i[a]=H.cloneElement(s,{onExited:r.bind(null,s),in:h.props.in,exit:kf(s,"exit",t),enter:kf(s,"enter",t)}))}}),i}var hI=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},fI={component:"div",childFactory:function(e){return e}},dw=(function(t){tL(e,t);function e(n,i){var a;a=t.call(this,n,i)||this;var s=a.handleExited.bind(sI(a));return a.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},a}var r=e.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(i,a){var s=a.children,l=a.handleExited,u=a.firstRender;return{children:u?cI(i,l):uI(i,s,l),firstRender:!1}},r.handleExited=function(i,a){var s=fw(this.props.children);i.key in s||(i.props.onExited&&i.props.onExited(a),this.mounted&&this.setState(function(l){var u=_2({},l.children);return delete u[i.key],{children:u}}))},r.render=function(){var i=this.props,a=i.component,s=i.childFactory,l=J8(i,["component","childFactory"]),u=this.state.contextValue,h=hI(this.state.children).map(s);return delete l.appear,delete l.enter,delete l.exit,a===null?Ec.createElement(E2.Provider,{value:u},h):Ec.createElement(E2.Provider,{value:u},Ec.createElement(a,l,h))},e})(Ec.Component);dw.propTypes={};dw.defaultProps=fI;const pw=t=>t.scrollTop;function Oh(t,e){const{timeout:r,easing:n,style:i={}}=t;return{duration:i.transitionDuration??(typeof r=="number"?r:r[e.mode]||0),easing:i.transitionTimingFunction??(typeof n=="object"?n[e.mode]:n),delay:i.transitionDelay}}function dI(t){return hr("MuiCollapse",t)}or("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const pI=t=>{const{orientation:e,classes:r}=t,n={root:["root",`${e}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${e}`],wrapperInner:["wrapperInner",`${e}`]};return fr(n,dI,r)},gI=ne("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.orientation],r.state==="entered"&&e.entered,r.state==="exited"&&!r.in&&r.collapsedSize==="0px"&&e.hidden]}})(Xe(({theme:t})=>({height:0,overflow:"hidden",transition:t.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:t.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:e})=>e.state==="exited"&&!e.in&&e.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),mI=ne("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,e)=>e.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),yI=ne("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,e)=>e.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Df=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiCollapse"}),{addEndListener:i,children:a,className:s,collapsedSize:l="0px",component:u,easing:h,in:f,onEnter:p,onEntered:y,onEntering:g,onExit:b,onExited:v,onExiting:C,orientation:k="vertical",style:T,timeout:E=V8.standard,TransitionComponent:L=ul,...O}=n,W={...n,orientation:k,collapsedSize:l},q=pI(W),U=Ru(),j=Cf(),M=H.useRef(null),N=H.useRef(),I=typeof l=="number"?`${l}px`:l,V=k==="horizontal",z=V?"width":"height",Y=H.useRef(null),D=ta(r,Y),Z=lt=>ht=>{if(lt){const bt=Y.current;ht===void 0?lt(bt):lt(bt,ht)}},Q=()=>M.current?M.current[V?"clientWidth":"clientHeight"]:0,it=Z((lt,ht)=>{M.current&&V&&(M.current.style.position="absolute"),lt.style[z]=I,p&&p(lt,ht)}),mt=Z((lt,ht)=>{const bt=Q();M.current&&V&&(M.current.style.position="");const{duration:yt,easing:kt}=Oh({style:T,timeout:E,easing:h},{mode:"enter"});if(E==="auto"){const Rt=U.transitions.getAutoHeightDuration(bt);lt.style.transitionDuration=`${Rt}ms`,N.current=Rt}else lt.style.transitionDuration=typeof yt=="string"?yt:`${yt}ms`;lt.style[z]=`${bt}px`,lt.style.transitionTimingFunction=kt,g&&g(lt,ht)}),K=Z((lt,ht)=>{lt.style[z]="auto",y&&y(lt,ht)}),P=Z(lt=>{lt.style[z]=`${Q()}px`,b&&b(lt)}),X=Z(v),et=Z(lt=>{const ht=Q(),{duration:bt,easing:yt}=Oh({style:T,timeout:E,easing:h},{mode:"exit"});if(E==="auto"){const kt=U.transitions.getAutoHeightDuration(ht);lt.style.transitionDuration=`${kt}ms`,N.current=kt}else lt.style.transitionDuration=typeof bt=="string"?bt:`${bt}ms`;lt.style[z]=I,lt.style.transitionTimingFunction=yt,C&&C(lt)}),rt=lt=>{E==="auto"&&j.start(N.current||0,lt),i&&i(Y.current,lt)};return w.jsx(L,{in:f,onEnter:it,onEntered:K,onEntering:mt,onExit:P,onExited:X,onExiting:et,addEndListener:rt,nodeRef:Y,timeout:E==="auto"?null:E,...O,children:(lt,{ownerState:ht,...bt})=>w.jsx(gI,{as:u,className:Te(q.root,s,{entered:q.entered,exited:!f&&I==="0px"&&q.hidden}[lt]),style:{[V?"minWidth":"minHeight"]:I,...T},ref:D,ownerState:{...W,state:lt},...bt,children:w.jsx(mI,{ownerState:{...W,state:lt},className:q.wrapper,ref:M,children:w.jsx(yI,{ownerState:{...W,state:lt},className:q.wrapperInner,children:a})})})})});Df&&(Df.muiSupportAuto=!0);function bI(t){return hr("MuiPaper",t)}or("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const vI=t=>{const{square:e,elevation:r,variant:n,classes:i}=t,a={root:["root",n,!e&&"rounded",n==="elevation"&&`elevation${r}`]}
45;return fr(a,bI,i)},xI=ne("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],!r.square&&e.rounded,r.variant==="elevation"&&e[`elevation${r.elevation}`]]}})(Xe(({theme:t})=>({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:t.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(t.vars||t).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Nu=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiPaper"}),i=Ru(),{className:a,component:s="div",elevation:l=1,square:u=!1,variant:h="elevation",...f}=n,p={...n,component:s,elevation:l,square:u,variant:h},y=vI(p);return w.jsx(xI,{as:s,ownerState:p,className:Te(y.root,a),ref:r,...f,style:{...h==="elevation"&&{"--Paper-shadow":(i.vars||i).shadows[l],...i.vars&&{"--Paper-overlay":i.vars.overlays?.[l]},...!i.vars&&i.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Zr("#fff",f5(l))}, ${Zr("#fff",f5(l))})`}},...f.style}})}),rL=H.createContext({});function wr(t,e){const{className:r,elementType:n,ownerState:i,externalForwardedProps:a,internalForwardedProps:s,shouldForwardComponentProp:l=!1,...u}=e,{component:h,slots:f={[t]:void 0},slotProps:p={[t]:void 0},...y}=a,g=f[t]||n,b=D8(p[t],i),{props:{component:v,...C},internalRef:k}=j8({className:r,...u,externalForwardedProps:t==="root"?y:void 0,externalSlotProps:b}),T=ta(k,b?.ref,e.ref),E=t==="root"?v||h:v,L=P8(g,{...t==="root"&&!h&&!f[t]&&s,...t!=="root"&&!f[t]&&s,...C,...E&&!l&&{as:E},...E&&l&&{component:E},ref:T},i);return[g,L]}function SI(t){return hr("MuiAccordion",t)}const p1=or("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]),wI=t=>{const{classes:e,square:r,expanded:n,disabled:i,disableGutters:a}=t;return fr({root:["root",!r&&"rounded",n&&"expanded",i&&"disabled",!a&&"gutters"],heading:["heading"],region:["region"]},SI,e)},CI=ne(Nu,{name:"MuiAccordion",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`& .${p1.region}`]:e.region},e.root,!r.square&&e.rounded,!r.disableGutters&&e.gutters]}})(Xe(({theme:t})=>{const e={duration:t.transitions.duration.shortest};return{position:"relative",transition:t.transitions.create(["margin"],e),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(t.vars||t).palette.divider,transition:t.transitions.create(["opacity","background-color"],e)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${p1.expanded}`]:{"&::before":{opacity:0}
45,"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${p1.disabled}`]:{backgroundColor:(t.vars||t).palette.action.disabledBackground}}}),Xe(({theme:t})=>({variants:[{props:e=>!e.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(t.vars||t).shape.borderRadius,borderBottomRightRadius:(t.vars||t).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:e=>!e.disableGutters,style:{[`&.${p1.expanded}`]:{margin:"16px 0"}}}]}))),kI=ne("h3",{name:"MuiAccordion",slot:"Heading",overridesResolver:(t,e)=>e.heading})({all:"unset"}),g1=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiAccordion"}),{children:i,className:a,defaultExpanded:s=!1,disabled:l=!1,disableGutters:u=!1,expanded:h,onChange:f,square:p=!1,slots:y={},slotProps:g={},TransitionComponent:b,TransitionProps:v,...C}=n,[k,T]=wu({controlled:h,default:s,name:"Accordion",state:"expanded"}),E=H.useCallback(Q=>{T(!k),f&&f(Q,!k)},[k,f,T]),[L,...O]=H.Children.toArray(i),W=H.useMemo(()=>({expanded:k,disabled:l,disableGutters:u,toggle:E}),[k,l,u,E]),q={...n,square:p,disabled:l,disableGutters:u,expanded:k},U=wI(q),j={transition:b,...y},M={transition:v,...g},N={slots:j,slotProps:M},[I,V]=wr("root",{elementType:CI,externalForwardedProps:{...N,...C},className:Te(U.root,a),shouldForwardComponentProp:!0,ownerState:q,ref:r,additionalProps:{square:p}}),[z,Y]=wr("heading",{elementType:kI,externalForwardedProps:N,className:U.heading,ownerState:q}),[D,Z]=wr("transition",{elementType:Df,externalForwardedProps:N,ownerState:q});return w.jsxs(I,{...V,children:[w.jsx(z,{...Y,children:w.jsx(rL.Provider,{value:W,children:L})}),w.jsx(D,{in:k,timeout:"auto",...Z,children:w.jsx("div",{"aria-labelledby":L.props.id,id:L.props["aria-controls"],role:"region",className:U.region,children:O})})]})});function _I(t){return hr("MuiAccordionDetails",t)}or("MuiAccordionDetails",["root"]);const AI=t=>{const{classes:e}=t;return fr({root:["root"]},_I,e)},TI=ne("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(t,e)=>e.root})(Xe(({theme:t})=>({padding:t.spacing(1,2,2)}))),m1=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiAccordionDetails"}),{className:i,...a}=n,s=n,l=AI(s);return w.jsx(TI,{className:Te(l.root,i),ref:r,ownerState:s,...a})});class M2{static create(){return new M2}static use(){const e=B8(M2.create).current,[r,n]=H.useState(!1);return e.shouldMount=r,e.setShouldMount=n,H.useEffect(e.mountEffect,[r]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=EI(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}function LI(){return M2.use()}function EI(){let t,e;const r=new Promise((n,i)=>{t=n,e=i});return r.resolve=t,r.reject=e,r}function MI(t){const{className:e,classes:r,pulsate:n=!1,rippleX:i,rippleY:a,rippleSize:s,in:l,onExited:u,timeout:h}=t,[f,p]=H.useState(!1),y=Te(e,r.ripple,r.rippleVisible,n&&r.ripplePulsate),g={width:s,height:s,top:-(s/2)+a,left:-(s/2)+i},b=Te(r.child,f&&r.childLeaving,n&&r.childPulsate);return!l&&!f&&p(!0),H.useEffect(()=>{if(!l&&u!=null){const v=setTimeout(u,h);return()=>{clearTimeout(v)}}},[u,l,h]),w.jsx("span",{className:y,style:g,children:w.jsx("span",{className:b})})}const tl=or("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),m5=550,RI=80,NI=zh`
46  0% {
47    transform: scale(0);
48    opacity: 0.1;
49  }
50
51  100% {
52    transform: scale(1);
53    opacity: 0.3;
54  }
55`,BI=zh`
56  0% {
57    opacity: 1;
58  }
59
60  100% {
61    opacity: 0;
62  }
63`,OI=zh`
64  0% {
65    transform: scale(1);
66  }
67
68  50% {
69    transform: scale(0.92);
70  }
71
72  100% {
73    transform: scale(1);
74  }
75`,PI=ne("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),$I=ne(MI,{name:"MuiTouchRipple",slot:"Ripple"})`
76  opacity: 0;
77  position: absolute;
78
79  &.${tl.rippleVisible} {
80    opacity: 0.3;
81    transform: scale(1);
82    animation-name: ${NI};
83    animation-duration: ${m5}ms;
84    animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
85  }
86
87  &.${tl.ripplePulsate} {
88    animation-duration: ${({theme:t})=>t.transitions.duration.shorter}ms;
89  }
90
91  & .${tl.child} {
92    opacity: 1;
93    display: block;
94    width: 100%;
95    height: 100%;
96    border-radius: 50%;
97    background-color: currentColor;
98  }
99
100  & .${tl.childLeaving} {
101    opacity: 0;
102    animation-name: ${BI};
103    animation-duration: ${m5}ms;
104    animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
105  }
106
107  & .${tl.childPulsate} {
108    position: absolute;
109    /* @noflip */
110    left: 0px;
111    top: 0;
112    animation-name: ${OI};
113    animation-duration: 2500ms;
114    animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
115    animation-iteration-count: infinite;
116    animation-delay: 200ms;
117  }
118`,jI=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiTouchRipple"}),{center:i=!1,classes:a={},className:s,...l}=n,[u,h]=H.useState([]),f=H.useRef(0),p=H.useRef(null);H.useEffect(()=>{p.current&&(p.current(),p.current=null)},[u]);const y=H.useRef(!1),g=Cf(),b=H.useRef(null),v=H.useRef(null),C=H.useCallback(L=>{const{pulsate:O,rippleX:W,rippleY:q,rippleSize:U,cb:j}=L;h(M=>[...M,w.jsx($I,{classes:{ripple:Te(a.ripple,tl.ripple),rippleVisible:Te(a.rippleVisible,tl.rippleVisible),ripplePulsate:Te(a.ripplePulsate,tl.ripplePulsate),
118child:Te(a.child,tl.child),childLeaving:Te(a.childLeaving,tl.childLeaving),childPulsate:Te(a.childPulsate,tl.childPulsate)},timeout:m5,pulsate:O,rippleX:W,rippleY:q,rippleSize:U},f.current)]),f.current+=1,p.current=j},[a]),k=H.useCallback((L={},O={},W=()=>{})=>{const{pulsate:q=!1,center:U=i||O.pulsate,fakeElement:j=!1}=O;if(L?.type==="mousedown"&&y.current){y.current=!1;return}L?.type==="touchstart"&&(y.current=!0);const M=j?null:v.current,N=M?M.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,V,z;if(U||L===void 0||L.clientX===0&&L.clientY===0||!L.clientX&&!L.touches)I=Math.round(N.width/2),V=Math.round(N.height/2);else{const{clientX:Y,clientY:D}=L.touches&&L.touches.length>0?L.touches[0]:L;I=Math.round(Y-N.left),V=Math.round(D-N.top)}if(U)z=Math.sqrt((2*N.width**2+N.height**2)/3),z%2===0&&(z+=1);else{const Y=Math.max(Math.abs((M?M.clientWidth:0)-I),I)*2+2,D=Math.max(Math.abs((M?M.clientHeight:0)-V),V)*2+2;z=Math.sqrt(Y**2+D**2)}L?.touches?b.current===null&&(b.current=()=>{C({pulsate:q,rippleX:I,rippleY:V,rippleSize:z,cb:W})},g.start(RI,()=>{b.current&&(b.current(),b.current=null)})):C({pulsate:q,rippleX:I,rippleY:V,rippleSize:z,cb:W})},[i,C,g]),T=H.useCallback(()=>{k({},{pulsate:!0})},[k]),E=H.useCallback((L,O)=>{if(g.clear(),L?.type==="touchend"&&b.current){b.current(),b.current=null,g.start(0,()=>{E(L,O)});return}b.current=null,h(W=>W.length>0?W.slice(1):W),p.current=O},[g]);return H.useImperativeHandle(r,()=>({pulsate:T,start:k,stop:E}),[T,k,E]),w.jsx(PI,{className:Te(tl.root,a.root,s),ref:v,...l,children:w.jsx(dw,{component:null,exit:!0,children:u})})});function DI(t){return hr("MuiButtonBase",t)}const II=or("MuiButtonBase",["root","disabled","focusVisible"]),zI=t=>{const{disabled:e,focusVisible:r,focusVisibleClassName:n,classes:i}=t,s=fr({root:["root",e&&"disabled",r&&"focusVisible"]},DI,i);return r&&n&&(s.root+=` ${n}`),s},FI=ne("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${II.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Pc=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiButtonBase"}),{action:i,centerRipple:a=!1,children:s,className:l,component:u="button",disabled:h=!1,disableRipple:f=!1,disableTouchRipple:p=!1,focusRipple:y=!1,focusVisibleClassName:g,LinkComponent:b="a",onBlur:v,onClick:C,onContextMenu:k,onDragLeave:T,onFocus:E,onFocusVisible:L,onKeyDown:O,onKeyUp:W,onMouseDown:q,onMouseLeave:U,onMouseUp:j,onTouchEnd:M,onTouchMove:N,onTouchStart:I,tabIndex:V=0,TouchRippleProps:z,touchRippleRef:Y,type:D,...Z}=n,Q=H.useRef(null),it=LI(),mt=ta(it.ref,Y),[K,P]=H.useState(!1);h&&K&&P(!1),H.useImperativeHandle(i,()=>({focusVisible:()=>{P(!0),Q.current.focus()}}),[]);const X=it.shouldMount&&!f&&!h;H.useEffect(()=>{K&&y&&!f&&it.pulsate()},[f,y,K,it]);const et=hu(it,"start",q,p),rt=hu(it,"stop",k,p),lt=hu(it,"stop",T,p),ht=hu(it,"stop",j,p),bt=hu(it,"stop",Dt=>{K&&Dt.preventDefault(),U&&U(Dt)},p),yt=hu(it,"start",I,p),kt=hu(it,"stop",M,p),Rt=hu(it,"stop",N,p),wt=hu(it,"stop",Dt=>{L2(Dt.target)||P(!1),v&&v(Dt)},!1),qt=so(Dt=>{Q.current||(Q.current=Dt.currentTarget),L2(Dt.target)&&(P(!0),L&&L(Dt)),E&&E(Dt)}),Ht=()=>{const Dt=Q.current;return u&&u!=="button"&&!(Dt.tagName==="A"&&Dt.href)},at=so(Dt=>{y&&!Dt.repeat&&K&&Dt.key===" "&&it.stop(Dt,()=>{it.start(Dt)}),Dt.target===Dt.currentTarget&&Ht()&&Dt.key===" "&&Dt.preventDefault(),O&&O(Dt),Dt.target===Dt.currentTarget&&Ht()&&Dt.key==="Enter"&&!h&&(Dt.preventDefault(),C&&C(Dt))}),ae=so(Dt=>{y&&Dt.key===" "&&K&&!Dt.defaultPrevented&&it.stop(Dt,()=>{it.pulsate(Dt)}),W&&W(Dt),C&&Dt.target===Dt.currentTarget&&Ht()&&Dt.key===" "&&!Dt.defaultPrevented&&C(Dt)});let Kt=u;Kt==="button"&&(Z.href||Z.to)&&(Kt=b);const le={};Kt==="button"?(le.type=D===void 0?"button":D,le.disabled=h):(!Z.href&&!Z.to&&(le.role="button"),h&&(le["aria-disabled"]=h));const Ot=ta(r,Q),be={...n,centerRipple:a,component:u,disabled:h,disableRipple:f,disableTouchRipple:p,focusRipple:y,tabIndex:V,focusVisible:K},Nt=zI(be);return w.jsxs(FI,{as:Kt,className:Te(Nt.root,l),ownerState:be,onBlur:wt,onClick:C,onContextMenu:rt,onFocus:qt,onKeyDown:at,onKeyUp:ae,onMouseDown:et,onMouseLeave:bt,onMouseUp:ht,onDragLeave:lt,onTouchEnd:kt,onTouchMove:Rt,onTouchStart:yt,ref:Ot,tabIndex:h?-1:V,type:D,...le,...Z,children:[s,X?w.jsx(jI,{ref:mt,center:a,...z}):null]})});function hu(t,e,r,n=!1){return so(i=>(r&&r(i),n||t[e](i),!0))}function qI(t){return hr("MuiAccordionSummary",t)}const ip=or("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),HI=t=>{const{classes:e,expanded:r,disabled:n,disableGutters:i}=t;return fr({root:["root",r&&"expanded",n&&"disabled",!i&&"gutters"],focusVisible:["focusVisible"],content:["content",r&&"expanded",!i&&"contentGutters"],expandIconWrapper:["expandIconWrapper",r&&"expanded"]},qI,e)},UI=ne(Pc,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(t,e)=>e.root})(Xe(({theme:t})=>{const e={duration:t.transitions.duration.shortest};return{display:"flex",width:"100%",minHeight:48,padding:t.spacing(0,2),transition:t.transitions.create(["min-height","background-color"],e),[`&.${ip.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${ip.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`&:hover:not(.${ip.disabled})`]:{cursor:"pointer"},variants:[{props:r=>!r.disableGutters,style:{[`&.${ip.expanded}`]:{minHeight:64}}}]}})),WI=ne("span",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(t,e)=>e.content})(Xe(({theme:t})=>({display:"flex",textAlign:"start",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:t.transitions.create(["margin"],{duration:t.transitions.duration.shortest}),[`&.${ip.expanded}`]:{margin:"20px 0"}}}]}))),GI=ne("span",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(t,e)=>e.expandIconWrapper})(Xe(({theme:t})=>({display:"flex",color:(t.vars||t).palette.action.active,transform:"rotate(0deg)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest}),[`&.${ip.expanded}`]:{transform:"rotate(180deg)"}}))),y1=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiAccordionSummary"}),{children:i,className:a,expandIcon:s,focusVisibleClassName:l,onClick:u,slots:h,slotProps:f,...p}=n,{disabled:y=!1,disableGutters:g,expanded:b,toggle:v}
118=H.useContext(rL),C=M=>{v&&v(M),u&&u(M)},k={...n,expanded:b,disabled:y,disableGutters:g},T=HI(k),E={slots:h,slotProps:f},[L,O]=wr("root",{ref:r,shouldForwardComponentProp:!0,className:Te(T.root,a),elementType:UI,externalForwardedProps:{...E,...p},ownerState:k,additionalProps:{focusRipple:!1,disableRipple:!0,disabled:y,"aria-expanded":b,focusVisibleClassName:Te(T.focusVisible,l)},getSlotProps:M=>({...M,onClick:N=>{M.onClick?.(N),C(N)}})}),[W,q]=wr("content",{className:T.content,elementType:WI,externalForwardedProps:E,ownerState:k}),[U,j]=wr("expandIconWrapper",{className:T.expandIconWrapper,elementType:GI,externalForwardedProps:E,ownerState:k});return w.jsxs(L,{...O,children:[w.jsx(W,{...q,children:i}),s&&w.jsx(U,{...j,children:s})]})});function VI(t){return typeof t.main=="string"}function YI(t,e=[]){if(!VI(t))return!1;for(const r of e)if(!t.hasOwnProperty(r)||typeof t[r]!="string")return!1;return!0}function ui(t=[]){return([,e])=>e&&YI(e,t)}function XI(t){return hr("MuiAlert",t)}const Uk=or("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function KI(t){return hr("MuiCircularProgress",t)}or("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const yh=44,y5=zh`
119  0% {
120    transform: rotate(0deg);
121  }
122
123  100% {
124    transform: rotate(360deg);
125  }
126`,b5=zh`
127  0% {
128    stroke-dasharray: 1px, 200px;
129    stroke-dashoffset: 0;
130  }
131
132  50% {
133    stroke-dasharray: 100px, 200px;
134    stroke-dashoffset: -15px;
135  }
136
137  100% {
138    stroke-dasharray: 1px, 200px;
139    stroke-dashoffset: -126px;
140  }
141`,ZI=typeof y5!="string"?zp`
142        animation: ${y5} 1.4s linear infinite;
143      `:null,QI=typeof b5!="string"?zp`
144        animation: ${b5} 1.4s ease-in-out infinite;
145      `:null,JI=t=>{const{classes:e,variant:r,color:n,disableShrink:i}=t,a={root:["root",r,`color${Qt(n)}`],svg:["svg"],circle:["circle",`circle${Qt(r)}`,i&&"circleDisableShrink"]};return fr(a,KI,e)},tz=ne("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],e[`color${Qt(r.color)}`]]}})(Xe(({theme:t})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("transform")}},{props:{variant:"indeterminate"},style:ZI||{animation:`${y5} 1.4s linear infinite`}},...Object.entries(t.palette).filter(ui()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}}))]}))),ez=ne("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(t,e)=>e.svg})({display:"block"}),rz=ne("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.circle,e[`circle${Qt(r.variant)}`],r.disableShrink&&e.circleDisableShrink]}})(Xe(({theme:t})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink,style:QI||{animation:`${b5} 1.4s ease-in-out infinite`}}]}))),f0=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiCircularProgress"}),{className:i,color:a="primary",disableShrink:s=!1,size:l=40,style:u,thickness:h=3.6,value:f=0,variant:p="indeterminate",...y}=n,g={...n,color:a,disableShrink:s,size:l,thickness:h,value:f,variant:p},b=JI(g),v={},C={},k={};if(p==="determinate"){const T=2*Math.PI*((yh-h)/2);v.strokeDasharray=T.toFixed(3),k["aria-valuenow"]=Math.round(f),v.strokeDashoffset=`${((100-f)/100*T).toFixed(3)}px`,C.transform="rotate(-90deg)"}return w.jsx(tz,{className:Te(b.root,i),style:{width:l,height:l,...C,...u},ownerState:g,ref:r,role:"progressbar",...k,...y,children:w.jsx(ez,{className:b.svg,ownerState:g,viewBox:`${yh/2} ${yh/2} ${yh} ${yh}
145`,children:w.jsx(rz,{className:b.circle,style:v,ownerState:g,cx:yh,cy:yh,r:(yh-h)/2,fill:"none",strokeWidth:h})})})});function nz(t){return hr("MuiIconButton",t)}const Wk=or("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),iz=t=>{const{classes:e,disabled:r,color:n,edge:i,size:a,loading:s}=t,l={root:["root",s&&"loading",r&&"disabled",n!=="default"&&`color${Qt(n)}`,i&&`edge${Qt(i)}`,`size${Qt(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return fr(l,nz,e)},az=ne(Pc,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.loading&&e.loading,r.color!=="default"&&e[`color${Qt(r.color)}`],r.edge&&e[`edge${Qt(r.edge)}`],e[`size${Qt(r.size)}`]]}})(Xe(({theme:t})=>({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Zr(t.palette.action.active,t.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Xe(({theme:t})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(t.palette).filter(ui()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}})),...Object.entries(t.palette).filter(ui()).map(([e])=>({props:{color:e},style:{"--IconButton-hoverBg":t.vars?`rgba(${(t.vars||t).palette[e].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Zr((t.vars||t).palette[e].main,t.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:t.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:t.typography.pxToRem(28)}}],[`&.${Wk.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled},[`&.${Wk.loading}`]:{color:"transparent"}}))),oz=ne("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(t,e)=>e.loadingIndicator})(({theme:t})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(t.vars||t).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Ko=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiIconButton"}),{edge:i=!1,children:a,className:s,color:l="default",disabled:u=!1,disableFocusRipple:h=!1,size:f="medium",id:p,loading:y=null,loadingIndicator:g,...b}=n,v=Fh(p),C=g??w.jsx(f0,{"aria-labelledby":v,color:"inherit",size:16}),k={...n,edge:i,color:l,disabled:u,disableFocusRipple:h,loading:y,loadingIndicator:C,size:f},T=iz(k);return w.jsxs(az,{id:y?v:p,className:Te(T.root,s),centerRipple:!0,focusRipple:!h,disabled:u||y,ref:r,...b,ownerState:k,children:[typeof y=="boolean"&&w.jsx("span",{className:T.loadingWrapper,style:{display:"contents"},children:w.jsx(oz,{className:T.loadingIndicator,ownerState:k,children:y&&C})}),a]})}),sz=Jr(w.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),lz=Jr(w.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),cz=Jr(w.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),uz=Jr(w.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),nL=Jr(w.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),hz=t=>{const{variant:e,color:r,severity:n,classes:i}=t,a={root:["root",`color${Qt(r||n)}`,`${e}${Qt(r||n)}`,`${e}`],icon:["icon"],message:["message"],action:["action"]};return fr(a,XI,i)},fz=ne(Nu,{name:"MuiAlert",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],e[`${r.variant}${Qt(r.color||r.severity)}`]]}})(Xe(({theme:t})=>{const e=t.palette.mode==="light"?Nh:Bh,r=t.palette.mode==="light"?Bh:Nh;return{...t.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter(ui(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"standard"},style:{color:t.vars?t.vars.palette.Alert[`${n}Color`]:e(t.palette[n].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${n}StandardBg`]:r(t.palette[n].light,.9),[`& .${Uk.icon}`]:t.vars?{color:t.vars.palette.Alert[`${n}IconColor`]}:{color:t.palette[n].main}}})),...Object.entries(t.palette).filter(ui(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:t.vars?t.vars.palette.Alert[`${n}Color`]:e(t.palette[n].light,.6),border:`1px solid ${(t.vars||t).palette[n].light}`,[`& .${Uk.icon}`]:t.vars?{color:t.vars.palette.Alert[`${n}IconColor`]}:{color:t.palette[n].main}}})),...Object.entries(t.palette).filter(ui(["dark"])).map(([n])=>({props:{colorSeverity:n,variant:"filled"},style:{fontWeight:t.typography.fontWeightMedium,...t.vars?{color:t.vars.palette.Alert[`${n}FilledColor`],backgroundColor:t.vars.palette.Alert[`${n}FilledBg`]}:{backgroundColor:t.palette.mode==="dark"?t.palette[n].dark:t.palette[n].main,color:t.palette.getContrastText(t.palette[n].main)}}}))]}})),dz=ne("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,e)=>e.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),pz=ne("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),gz=ne("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Gk={success:w.jsx(sz,{fontSize:"inherit"}),warning:w.jsx(lz,{fontSize:"inherit"}),error:w.jsx(cz,{fontSize:"inherit"}),info:w.jsx(uz,{fontSize:"inherit"})},Lc=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiAlert"}),{action:i,children:a,className:s,closeText:l="Close",color:u,components:h={},componentsProps:f={},icon:p,iconMapping:y=Gk,onClose:g,role:b="alert",severity:v="success",slotProps:C={},slots:k={},variant:T="standard",...E}=n,L={...n,color:u,severity:v,variant:T,colorSeverity:u||v},O=hz(L),W={slots:{closeButton:h.CloseButton,closeIcon:h.CloseIcon,...k},slotProps:{...f,...C}}
145,[q,U]=wr("root",{ref:r,shouldForwardComponentProp:!0,className:Te(O.root,s),elementType:fz,externalForwardedProps:{...W,...E},ownerState:L,additionalProps:{role:b,elevation:0}}),[j,M]=wr("icon",{className:O.icon,elementType:dz,externalForwardedProps:W,ownerState:L}),[N,I]=wr("message",{className:O.message,elementType:pz,externalForwardedProps:W,ownerState:L}),[V,z]=wr("action",{className:O.action,elementType:gz,externalForwardedProps:W,ownerState:L}),[Y,D]=wr("closeButton",{elementType:Ko,externalForwardedProps:W,ownerState:L}),[Z,Q]=wr("closeIcon",{elementType:nL,externalForwardedProps:W,ownerState:L});return w.jsxs(q,{...U,children:[p!==!1?w.jsx(j,{...M,children:p||y[v]||Gk[v]}):null,w.jsx(N,{...I,children:a}),i!=null?w.jsx(V,{...z,children:i}):null,i==null&&g?w.jsx(V,{...z,children:w.jsx(Y,{size:"small","aria-label":l,title:l,color:"inherit",onClick:g,...D,children:w.jsx(Z,{fontSize:"small",...Q})})}):null]})});function mz(t){return hr("MuiTypography",t)}or("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const yz={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},bz=rI(),vz=t=>{const{align:e,gutterBottom:r,noWrap:n,paragraph:i,variant:a,classes:s}=t,l={root:["root",a,t.align!=="inherit"&&`align${Qt(e)}`,r&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return fr(l,mz,s)},xz=ne("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.variant&&e[r.variant],r.align!=="inherit"&&e[`align${Qt(r.align)}`],r.noWrap&&e.noWrap,r.gutterBottom&&e.gutterBottom,r.paragraph&&e.paragraph]}})(Xe(({theme:t})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(t.typography).filter(([e,r])=>e!=="inherit"&&r&&typeof r=="object").map(([e,r])=>({props:{variant:e},style:r})),...Object.entries(t.palette).filter(ui()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}})),...Object.entries(t.palette?.text||{}).filter(([,e])=>typeof e=="string").map(([e])=>({props:{color:`text${Qt(e)}`},style:{color:(t.vars||t).palette.text[e]}})),{props:({ownerState:e})=>e.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),Vk={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Ie=H.forwardRef(function(e,r){const{color:n,...i}=gr({props:e,name:"MuiTypography"}),a=!yz[n],s=bz({...i,...a&&{color:n}}),{align:l="inherit",className:u,component:h,gutterBottom:f=!1,noWrap:p=!1,paragraph:y=!1,variant:g="body1",variantMapping:b=Vk,...v}=s,C={...s,align:l,color:n,className:u,component:h,gutterBottom:f,noWrap:p,paragraph:y,variant:g,variantMapping:b},k=h||(y?"p":b[g]||Vk[g])||"span",T=vz(C);return w.jsx(xz,{as:k,ref:r,className:Te(T.root,u),...v,ownerState:C,style:{...l!=="inherit"&&{"--Typography-textAlign":l},...v.style}})});function Sz(t){return hr("MuiAppBar",t)}or("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const wz=t=>{const{color:e,position:r,classes:n}=t,i={root:["root",`color${Qt(e)}`,`position${Qt(r)}`]};return fr(i,Sz,n)},Yk=(t,e)=>t?`${t?.replace(")","")}, ${e})`:e,Cz=ne(Nu,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`position${Qt(r.position)}`],e[`color${Qt(r.color)}`]]}})(Xe(({theme:t})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}}
145,{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":t.vars?t.vars.palette.AppBar.defaultBg:t.palette.grey[100],"--AppBar-color":t.vars?t.vars.palette.text.primary:t.palette.getContrastText(t.palette.grey[100]),...t.applyStyles("dark",{"--AppBar-background":t.vars?t.vars.palette.AppBar.defaultBg:t.palette.grey[900],"--AppBar-color":t.vars?t.vars.palette.text.primary:t.palette.getContrastText(t.palette.grey[900])})}},...Object.entries(t.palette).filter(ui(["contrastText"])).map(([e])=>({props:{color:e},style:{"--AppBar-background":(t.vars??t).palette[e].main,"--AppBar-color":(t.vars??t).palette[e].contrastText}})),{props:e=>e.enableColorOnDark===!0&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:e=>e.enableColorOnDark===!1&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...t.applyStyles("dark",{backgroundColor:t.vars?Yk(t.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:t.vars?Yk(t.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...t.applyStyles("dark",{backgroundImage:"none"})}}]}))),kz=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiAppBar"}),{className:i,color:a="primary",enableColorOnDark:s=!1,position:l="fixed",...u}=n,h={...n,color:a,position:l,enableColorOnDark:s},f=wz(h);return w.jsx(Cz,{square:!0,component:"header",ownerState:h,elevation:4,className:Te(f.root,i,l==="fixed"&&"mui-fixed"),ref:r,...u})});function Xk(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function _z(t={}){const{ignoreAccents:e=!0,ignoreCase:r=!0,limit:n,matchFrom:i="any",stringify:a,trim:s=!1}=t;return(l,{inputValue:u,getOptionLabel:h})=>{let f=s?u.trim():u;r&&(f=f.toLowerCase()),e&&(f=Xk(f));const p=f?l.filter(y=>{let g=(a||h)(y);return r&&(g=g.toLowerCase()),e&&(g=Xk(g)),i==="start"?g.startsWith(f):g.includes(f)}):l;return typeof n=="number"?p.slice(0,n):p}}const Az=_z(),Kk=5,Tz=t=>t.current!==null&&t.current.parentElement?.contains(document.activeElement),Lz=[];function Zk(t,e,r){if(e||t==null)return"";const n=r(t);return typeof n=="string"?n:""}function Ez(t){const{unstable_isActiveElementInListbox:e=Tz,unstable_classNamePrefix:r="Mui",autoComplete:n=!1,autoHighlight:i=!1,autoSelect:a=!1,blurOnSelect:s=!1,clearOnBlur:l=!t.freeSolo,clearOnEscape:u=!1,componentName:h="useAutocomplete",defaultValue:f=t.multiple?Lz:null,disableClearable:p=!1,disableCloseOnSelect:y=!1,disabled:g,disabledItemsFocusable:b=!1,disableListWrap:v=!1,filterOptions:C=Az,filterSelectedOptions:k=!1,freeSolo:T=!1,getOptionDisabled:E,getOptionKey:L,getOptionLabel:O=Wt=>Wt.label??Wt,groupBy:W,handleHomeEndKeys:q=!t.freeSolo,id:U,includeInputInList:j=!1,inputValue:M,isOptionEqualToValue:N=(Wt,Gt)=>Wt===Gt,multiple:I=!1,onChange:V,onClose:z,onHighlightChange:Y,onInputChange:D,onOpen:Z,open:Q,openOnFocus:it=!1,options:mt,readOnly:K=!1,selectOnFocus:P=!t.freeSolo,value:X}=t,et=Fh(U);let rt=O;rt=Wt=>{const Gt=O(Wt);return typeof Gt!="string"?String(Gt):Gt};const lt=H.useRef(!1),ht=H.useRef(!0),bt=H.useRef(null),yt=H.useRef(null),[kt,Rt]=H.useState(null),[wt,qt]=H.useState(-1),Ht=i?0:-1,at=H.useRef(Ht),ae=H.useRef(Zk(f??X,I,rt)).current,[Kt,le]=wu({controlled:X,default:f,name:h}),[Ot,be]=wu({controlled:M,default:ae,name:h,state:"inputValue"}),[Nt,Dt]=H.useState(!1),Vt=H.useCallback((Wt,Gt,Re)=>{if(!(I?Kt.length<Gt.length:Gt!==null)&&!l)return;const ge=Zk(Gt,I,rt);Ot!==ge&&(be(ge),D&&D(Wt,ge,Re))},[rt,Ot,I,D,be,l,Kt]),[de,Be]=wu({controlled:Q,default:!1,name:h,state:"open"}),[_e,Ne]=H.useState(!0),Oe=!I&&Kt!=null&&Ot===rt(Kt),we=de&&!K,Ae=we?C(mt.filter(Wt=>!(k&&(I?Kt:[Kt]).some(Gt=>Gt!==null&&N(Wt,Gt)))),{inputValue:Oe&&_e?"":Ot,getOptionLabel:rt}):[],ce=zj({filteredOptions:Ae,value:Kt,inputValue:Ot});H.useEffect(()=>{const Wt=Kt!==ce.value;Nt&&!Wt||T&&!Wt||Vt(null,Kt,"reset")},[Kt,Vt,Nt,ce.value,T]);const Er=de&&Ae.length>0&&!K,He=so(Wt=>{Wt===-1?bt.current.focus():kt.querySelector(`[data-tag-index="${Wt}"]`).focus()});H.useEffect(()=>{I&&wt>Kt.length-1&&(qt(-1),He(-1))},[Kt,I,wt,He]);function Jt(Wt,Gt){if(!yt.current||Wt<0||Wt>=Ae.length)return-1;let Re=Wt;for(;;){const Ke=yt.current.querySelector(`[data-option-index="${Re}"]`),ge=b?!1:!Ke||Ke.disabled||Ke.getAttribute("aria-disabled")==="true";if(Ke&&Ke.hasAttribute("tabindex")&&!ge)return Re;if(Gt==="next"?Re=(Re+1)%Ae.length:Re=(Re-1+Ae.length)%Ae.length,Re===Wt)return-1}}const Se=so(({event:Wt,index:Gt,reason:Re})=>
145{if(at.current=Gt,Gt===-1?bt.current.removeAttribute("aria-activedescendant"):bt.current.setAttribute("aria-activedescendant",`${et}-option-${Gt}`),Y&&["mouse","keyboard","touch"].includes(Re)&&Y(Wt,Gt===-1?null:Ae[Gt],Re),!yt.current)return;const Ke=yt.current.querySelector(`[role="option"].${r}-focused`);Ke&&(Ke.classList.remove(`${r}-focused`),Ke.classList.remove(`${r}-focusVisible`));let ge=yt.current;if(yt.current.getAttribute("role")!=="listbox"&&(ge=yt.current.parentElement.querySelector('[role="listbox"]')),!ge)return;if(Gt===-1){ge.scrollTop=0;return}const vt=yt.current.querySelector(`[data-option-index="${Gt}"]`);if(vt&&(vt.classList.add(`${r}-focused`),Re==="keyboard"&&vt.classList.add(`${r}-focusVisible`),ge.scrollHeight>ge.clientHeight&&Re!=="mouse"&&Re!=="touch")){const Zt=vt,St=ge.clientHeight+ge.scrollTop,ke=Zt.offsetTop+Zt.offsetHeight;ke>St?ge.scrollTop=ke-ge.clientHeight:Zt.offsetTop-Zt.offsetHeight*(W?1.3:0)<ge.scrollTop&&(ge.scrollTop=Zt.offsetTop-Zt.offsetHeight*(W?1.3:0))}}),Pe=so(({event:Wt,diff:Gt,direction:Re="next",reason:Ke})=>{if(!we)return;const vt=Jt((()=>{const Zt=Ae.length-1;if(Gt==="reset")return Ht;if(Gt==="start")return 0;if(Gt==="end")return Zt;const St=at.current+Gt;return St<0?St===-1&&j?-1:v&&at.current!==-1||Math.abs(Gt)>1?0:Zt:St>Zt?St===Zt+1&&j?-1:v||Math.abs(Gt)>1?Zt:0:St})(),Re);if(Se({index:vt,reason:Ke,event:Wt}),n&&Gt!=="reset")if(vt===-1)bt.current.value=Ot;else{const Zt=rt(Ae[vt]);bt.current.value=Zt,Zt.toLowerCase().indexOf(Ot.toLowerCase())===0&&Ot.length>0&&bt.current.setSelectionRange(Ot.length,Zt.length)}}),je=()=>{const Wt=(Gt,Re)=>{const Ke=Gt?rt(Gt):"",ge=Re?rt(Re):"";return Ke===ge};if(at.current!==-1&&ce.filteredOptions&&ce.filteredOptions.length!==Ae.length&&ce.inputValue===Ot&&(I?Kt.length===ce.value.length&&ce.value.every((Gt,Re)=>rt(Kt[Re])===rt(Gt)):Wt(ce.value,Kt))){const Gt=ce.filteredOptions[at.current];if(Gt)return Ae.findIndex(Re=>rt(Re)===rt(Gt))}return-1},Et=H.useCallback(()=>{if(!we)return;const Wt=je();if(Wt!==-1){at.current=Wt;return}const Gt=I?Kt[0]:Kt;if(Ae.length===0||Gt==null){Pe({diff:"reset"});return}if(yt.current){if(Gt!=null){const Re=Ae[at.current];if(I&&Re&&Kt.findIndex(ge=>N(Re,ge))!==-1)return;const Ke=Ae.findIndex(ge=>N(ge,Gt));Ke===-1?Pe({diff:"reset"}):Se({index:Ke});return}if(at.current>=Ae.length-1){Se({index:Ae.length-1});return}Se({index:at.current})}},[Ae.length,I?!1:Kt,k,Pe,Se,we,Ot,I]),fe=so(Wt=>{u5(yt,Wt),Wt&&Et()});H.useEffect(()=>{Et()},[Et]);const te=Wt=>{de||(Be(!0),Ne(!0),Z&&Z(Wt))},Ze=(Wt,Gt)=>{de&&(Be(!1),z&&z(Wt,Gt))},Ge=(Wt,Gt,Re,Ke)=>{if(I){if(Kt.length===Gt.length&&Kt.every((ge,vt)=>ge===Gt[vt]))return}else if(Kt===Gt)return;V&&V(Wt,Gt,Re,Ke),le(Gt)},Me=H.useRef(!1),lr=(Wt,Gt,Re="selectOption",Ke="options")=>{let ge=Re,vt=Gt;if(I){vt=Array.isArray(Kt)?Kt.slice():[];const Zt=vt.findIndex(St=>N(Gt,St));Zt===-1?vt.push(Gt):Ke!=="freeSolo"&&(vt.splice(Zt,1),ge="removeOption")}Vt(Wt,vt,ge),Ge(Wt,vt,ge,{option:Gt}),!y&&(!Wt||!Wt.ctrlKey&&!Wt.metaKey)&&Ze(Wt,ge),(s===!0||s==="touch"&&Me.current||s==="mouse"&&!Me.current)&&bt.current.blur()};function Sn(Wt,Gt){if(Wt===-1)return-1;let Re=Wt;for(;;){if(Gt==="next"&&Re===Kt.length||Gt==="previous"&&Re===-1)return-1;const Ke=kt.querySelector(`[data-tag-index="${Re}"]`);if(!Ke||!Ke.hasAttribute("tabindex")||Ke.disabled||Ke.getAttribute("aria-disabled")==="true")Re+=Gt==="next"?1:-1;else return Re}}const Xt=(Wt,Gt)=>{if(!I)return;Ot===""&&Ze(Wt,"toggleInput");let Re=wt;wt===-1?Ot===""&&Gt==="previous"&&(Re=Kt.length-1):(Re+=Gt==="next"?1:-1,Re<0&&(Re=0),Re===Kt.length&&(Re=-1)),Re=Sn(Re,Gt),qt(Re),He(Re)},me=Wt=>{lt.current=!0,be(""),D&&D(Wt,"","clear"),Ge(Wt,I?[]:null,"clear")},Br=Wt=>Gt=>{if(Wt.onKeyDown&&Wt.onKeyDown(Gt),!Gt.defaultMuiPrevented&&(wt!==-1&&!["ArrowLeft","ArrowRight"].includes(Gt.key)&&(qt(-1),He(-1)),Gt.which!==229))switch(Gt.key){case"Home":we&&q&&(Gt.preventDefault(),Pe({diff:"start",direction:"next",reason:"keyboard",event:Gt}));break;case"End":we&&q&&(Gt.preventDefault(),Pe({diff:"end",direction:"previous",reason:"keyboard",event:Gt}));break;case"PageUp":Gt.preventDefault(),Pe({diff:-Kk,direction:"previous",reason:"keyboard",event:Gt}),te(Gt);break;case"PageDown":Gt.preventDefault(),Pe({diff:Kk,direction:"next",reason:"keyboard",event:Gt}),te(Gt);break;case"ArrowDown":Gt.preventDefault(),Pe({diff:1,direction:"next",reason:"keyboard",event:Gt}),te(Gt);break;case"ArrowUp":Gt.preventDefault(),Pe({diff:-1,direction:"previous",reason:"keyboard",event:Gt}),te(Gt);break;case"ArrowLeft":Xt(Gt,"previous");break;case"ArrowRight":Xt(Gt,"next");break;case"Enter":if(at.current!==-1&&we){const Re=Ae[at.current],Ke=E?
145E(Re):!1;if(Gt.preventDefault(),Ke)return;lr(Gt,Re,"selectOption"),n&&bt.current.setSelectionRange(bt.current.value.length,bt.current.value.length)}else T&&Ot!==""&&Oe===!1&&(I&&Gt.preventDefault(),lr(Gt,Ot,"createOption","freeSolo"));break;case"Escape":we?(Gt.preventDefault(),Gt.stopPropagation(),Ze(Gt,"escape")):u&&(Ot!==""||I&&Kt.length>0)&&(Gt.preventDefault(),Gt.stopPropagation(),me(Gt));break;case"Backspace":if(I&&!K&&Ot===""&&Kt.length>0){const Re=wt===-1?Kt.length-1:wt,Ke=Kt.slice();Ke.splice(Re,1),Ge(Gt,Ke,"removeOption",{option:Kt[Re]})}break;case"Delete":if(I&&!K&&Ot===""&&Kt.length>0&&wt!==-1){const Re=wt,Ke=Kt.slice();Ke.splice(Re,1),Ge(Gt,Ke,"removeOption",{option:Kt[Re]})}break}},ee=Wt=>{Dt(!0),it&&!lt.current&&te(Wt)},ze=Wt=>{if(e(yt)){bt.current.focus();return}Dt(!1),ht.current=!0,lt.current=!1,a&&at.current!==-1&&we?lr(Wt,Ae[at.current],"blur"):a&&T&&Ot!==""?lr(Wt,Ot,"blur","freeSolo"):l&&Vt(Wt,Kt,"blur"),Ze(Wt,"blur")},br=Wt=>{const Gt=Wt.target.value;Ot!==Gt&&(be(Gt),Ne(!1),D&&D(Wt,Gt,"input")),Gt===""?!p&&!I&&Ge(Wt,null,"clear"):te(Wt)},rr=Wt=>{const Gt=Number(Wt.currentTarget.getAttribute("data-option-index"));at.current!==Gt&&Se({event:Wt,index:Gt,reason:"mouse"})},jr=Wt=>{Se({event:Wt,index:Number(Wt.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Me.current=!0},vr=Wt=>{const Gt=Number(Wt.currentTarget.getAttribute("data-option-index"));lr(Wt,Ae[Gt],"selectOption"),Me.current=!1},Fr=Wt=>Gt=>{const Re=Kt.slice();Re.splice(Wt,1),Ge(Gt,Re,"removeOption",{option:Kt[Wt]})},Or=Wt=>{de?Ze(Wt,"toggleInput"):te(Wt)},dn=Wt=>{Wt.currentTarget.contains(Wt.target)&&Wt.target.getAttribute("id")!==et&&Wt.preventDefault()},Dr=Wt=>{Wt.currentTarget.contains(Wt.target)&&(bt.current.focus(),P&&ht.current&&bt.current.selectionEnd-bt.current.selectionStart===0&&bt.current.select(),ht.current=!1)},mr=Wt=>{!g&&(Ot===""||!de)&&Or(Wt)};let Cr=T&&Ot.length>0;Cr=Cr||(I?Kt.length>0:Kt!==null);let Rr=Ae;return W&&(Rr=Ae.reduce((Wt,Gt,Re)=>{const Ke=W(Gt);return Wt.length>0&&Wt[Wt.length-1].group===Ke?Wt[Wt.length-1].options.push(Gt):Wt.push({key:Re,index:Re,group:Ke,options:[Gt]}),Wt},[])),g&&Nt&&ze(),{getRootProps:(Wt={})=>({...Wt,onKeyDown:Br(Wt),onMouseDown:dn,onClick:Dr}),getInputLabelProps:()=>({id:`${et}-label`,htmlFor:et}),getInputProps:()=>({id:et,value:Ot,onBlur:ze,onFocus:ee,onChange:br,onMouseDown:mr,"aria-activedescendant":we?"":null,"aria-autocomplete":n?"both":"list","aria-controls":Er?`${et}-listbox`:void 0,"aria-expanded":Er,autoComplete:"off",ref:bt,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:g}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:me}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Or}),getTagProps:({index:Wt})=>({key:Wt,"data-tag-index":Wt,tabIndex:-1,...!K&&{onDelete:Fr(Wt)}}),getListboxProps:()=>({role:"listbox",id:`${et}-listbox`,"aria-labelledby":`${et}-label`,ref:fe,onMouseDown:Wt=>{Wt.preventDefault()}}),getOptionProps:({index:Wt,option:Gt})=>{const Re=(I?Kt:[Kt]).some(ge=>ge!=null&&N(Gt,ge)),Ke=E?E(Gt):!1;return{key:L?.(Gt)??rt(Gt),tabIndex:-1,role:"option",id:`${et}-option-${Wt}`,onMouseMove:rr,onClick:vr,onTouchStart:jr,"data-option-index":Wt,"aria-disabled":Ke,"aria-selected":Re}},id:et,inputValue:Ot,value:Kt,dirty:Cr,expanded:we&&kt,popupOpen:we,focused:Nt||wt!==-1,anchorEl:kt,setAnchorEl:Rt,focusedTag:wt,groupedOptions:Rr}}var Qo="top",nl="bottom",il="right",Jo="left",gw="auto",im=[Qo,nl,il,Jo],Tp="start",N0="end",Mz="clippingParents",iL="viewport",Bg="popper",Rz="reference",Qk=im.reduce(function(t,e){return t.concat([e+"-"+Tp,e+"-"+N0])},[]),aL=[].concat(im,[gw]).reduce(function(t,e){return t.concat([e,e+"-"+Tp,e+"-"+N0])},[]),Nz="beforeRead",Bz="read",Oz="afterRead",Pz="beforeMain",$z="main",jz="afterMain",Dz="beforeWrite",Iz="write",zz="afterWrite",Fz=[Nz,Bz,Oz,Pz,$z,jz,Dz,Iz,zz];function $c(t){return t?(t.nodeName||"").toLowerCase():null}function Ms(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function If(t){var e=Ms(t).Element;return t instanceof e||t instanceof Element}function rl(t){var e=Ms(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function mw(t){if(typeof ShadowRoot>"u")return!1;var e=Ms(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function qz(t){var e=t.state;
vendor: 17,381 bytes, line 145
145Object.keys(e.elements).forEach(function(r){var n=e.styles[r]||{},i=e.attributes[r]||{},a=e.elements[r];!rl(a)||!$c(a)||(Object.assign(a.style,n),Object.keys(i).forEach(function(s){var l=i[s];l===!1?a.removeAttribute(s):a.setAttribute(s,l===!0?"":l)}))})}function Hz(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach(function(n){var i=e.elements[n],a=e.attributes[n]||{},s=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:r[n]),l=s.reduce(function(u,h){return u[h]="",u},{});!rl(i)||!$c(i)||(Object.assign(i.style,l),Object.keys(a).forEach(function(u){i.removeAttribute(u)}))})}}const Uz={name:"applyStyles",enabled:!0,phase:"write",fn:qz,effect:Hz,requires:["computeStyles"]};function Bc(t){return t.split("-")[0]}var Rf=Math.max,R2=Math.min,Lp=Math.round;function v5(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function oL(){return!/^((?!chrome|android).)*safari/i.test(v5())}function Ep(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var n=t.getBoundingClientRect(),i=1,a=1;e&&rl(t)&&(i=t.offsetWidth>0&&Lp(n.width)/t.offsetWidth||1,a=t.offsetHeight>0&&Lp(n.height)/t.offsetHeight||1);var s=If(t)?Ms(t):window,l=s.visualViewport,u=!oL()&&r,h=(n.left+(u&&l?l.offsetLeft:0))/i,f=(n.top+(u&&l?l.offsetTop:0))/a,p=n.width/i,y=n.height/a;return{width:p,height:y,top:f,right:h+p,bottom:f+y,left:h,x:h,y:f}}function yw(t){var e=Ep(t),r=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}function sL(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&mw(r)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Au(t){return Ms(t).getComputedStyle(t)}function Wz(t){return["table","td","th"].indexOf($c(t))>=0}function qh(t){return((If(t)?t.ownerDocument:t.document)||window.document).documentElement}function qy(t){return $c(t)==="html"?t:t.assignedSlot||t.parentNode||(mw(t)?t.host:null)||qh(t)}function Jk(t){return!rl(t)||Au(t).position==="fixed"?null:t.offsetParent}function Gz(t){var e=/firefox/i.test(v5()),r=/Trident/i.test(v5());if(r&&rl(t)){var n=Au(t);if(n.position==="fixed")return null}var i=qy(t);for(mw(i)&&(i=i.host);rl(i)&&["html","body"].indexOf($c(i))<0;){var a=Au(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||e&&a.willChange==="filter"||e&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function am(t){for(var e=Ms(t),r=Jk(t);r&&Wz(r)&&Au(r).position==="static";)r=Jk(r);return r&&($c(r)==="html"||$c(r)==="body"&&Au(r).position==="static")?e:r||Gz(t)||e}function bw(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function d0(t,e,r){return Rf(t,R2(e,r))}function Vz(t,e,r){var n=d0(t,e,r);return n>r?r:n}function lL(){return{top:0,right:0,bottom:0,left:0}}function cL(t){return Object.assign({},lL(),t)}function uL(t,e){return e.reduce(function(r,n){return r[n]=t,r},{})}var Yz=function(e,r){return e=typeof e=="function"?e(Object.assign({},r.rects,{placement:r.placement})):e,cL(typeof e!="number"?e:uL(e,im))};function Xz(t){var e,r=t.state,n=t.name,i=t.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,l=Bc(r.placement),u=bw(l),h=[Jo,il].indexOf(l)>=0,f=h?"height":"width";if(!(!a||!s)){var p=Yz(i.padding,r),y=yw(a),g=u==="y"?Qo:Jo,b=u==="y"?nl:il,v=r.rects.reference[f]+r.rects.reference[u]-s[u]-r.rects.popper[f],C=s[u]-r.rects.reference[u],k=am(a),T=k?u==="y"?k.clientHeight||0:k.clientWidth||0:0,E=v/2-C/2,L=p[g],O=T-y[f]-p[b],W=T/2-y[f]/2+E,q=d0(L,W,O),U=u;r.modifiersData[n]=(e={},e[U]=q,e.centerOffset=q-W,e)}}function Kz(t){var e=t.state,r=t.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||sL(e.elements.popper,i)&&(e.elements.arrow=i))}const Zz={name:"arrow",enabled:!0,phase:"main",fn:Xz,effect:Kz,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Mp(t){return t.split("-")[1]}var Qz={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Jz(t,e){var r=t.x,n=t.y,i=e.devicePixelRatio||1;return{x:Lp(r*i)/i||0,y:Lp(n*i)/i||0}}function t_(t){var e,r=t.popper,n=t.popperRect,i=t.placement,a=t.variation,s=t.offsets,l=t.position,u=t.gpuAcceleration,h=t.adaptive,f=t.roundOffsets,p=t.isFixed,y=s.x,g=y===void 0?0:y,b=s.y,v=b===void 0?0:b,C=typeof f=="function"?f({x:g,y:v}):{x:g,y:v};g=C.x,v=C.y;var k=s.hasOwnProperty("x"),T=s.hasOwnProperty("y"),E=Jo,L=Qo,O=window;if(h){var W=am(r),q="clientHeight",U="clientWidth";if(W===Ms(r)&&(W=qh(r),Au(W).position!=="static"&&l==="absolute"&&(q="scrollHeight",U="scrollWidth")),W=W,i===Qo||(i===Jo||i===il)&&a===N0){L=nl;var j=p&&W===O&&O.visualViewport?O.visualViewport.height:W[q];v-=j-n.height,v*=u?1:-1}if(i===Jo||(i===Qo||i===nl)&&a===N0){E=il;var M=p&&W===O&&O.visualViewport?O.visualViewport.width:W[U];g-=M-n.width,g*=u?1:-1}}var N=Object.assign({position:l},h&&Qz),I=f===!0?Jz({x:g,y:v},Ms(r)):{x:g,y:v};if(g=I.x,v=I.y,u){var V;return Object.assign({},N,(V={},V[L]=T?"0":"",V[E]=k?"0":"",V.transform=(O.devicePixelRatio||1)<=1?"translate("+g+"px, "+v+"px)":"translate3d("+g+"px, "+v+"px, 0)",V))}return Object.assign({},N,(e={},e[L]=T?v+"px":"",e[E]=k?g+"px":"",e.transform="",e))}function tF(t){var e=t.state,r=t.options,n=r.gpuAcceleration,i=n===void 0?!0:n,a=r.adaptive,s=a===void 0?!0:a,l=r.roundOffsets,u=l===void 0?!0:l,h={placement:Bc(e.placement),variation:Mp(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,t_(Object.assign({},h,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:u})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,t_(Object.assign({},h,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const eF={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:tF,data:{}};var b1={passive:!0};function rF(t){var e=t.state,r=t.instance,n=t.options,i=n.scroll,a=i===void 0?!0:i,s=n.resize,l=s===void 0?!0:s,u=Ms(e.elements.popper),h=[].concat(e.scrollParents.reference,e.scrollParents.popper);return a&&h.forEach(function(f){f.addEventListener("scroll",r.update,b1)}),l&&u.addEventListener("resize",r.update,b1),function(){a&&h.forEach(function(f){f.removeEventListener("scroll",r.update,b1)}),l&&u.removeEventListener("resize",r.update,b1)}}const nF={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:rF,data:{}};var iF={left:"right",right:"left",bottom:"top",top:"bottom"};function t2(t){return t.replace(/left|right|bottom|top/g,function(e){return iF[e]})}var aF={start:"end",end:"start"};function e_(t){return t.replace(/start|end/g,function(e){return aF[e]})}function vw(t){var e=Ms(t),r=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:r,scrollTop:n}}function xw(t){return Ep(qh(t)).left+vw(t).scrollLeft}function oF(t,e){var r=Ms(t),n=qh(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,u=0;if(i){a=i.width,s=i.height;var h=oL();(h||!h&&e==="fixed")&&(l=i.offsetLeft,u=i.offsetTop)}return{width:a,height:s,x:l+xw(t),y:u}}function sF(t){var e,r=qh(t),n=vw(t),i=(e=t.ownerDocument)==null?void 0:e.body,a=Rf(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Rf(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-n.scrollLeft+xw(t),u=-n.scrollTop;return Au(i||r).direction==="rtl"&&(l+=Rf(r.clientWidth,i?i.clientWidth:0)-a),{width:a,height:s,x:l,y:u}}function Sw(t){var e=Au(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function hL(t){return["html","body","#document"].indexOf($c(t))>=0?t.ownerDocument.body:rl(t)&&Sw(t)?t:hL(qy(t))}function p0(t,e){var r;e===void 0&&(e=[]);var n=hL(t),i=n===((r=t.ownerDocument)==null?void 0:r.body),a=Ms(n),s=i?[a].concat(a.visualViewport||[],Sw(n)?n:[]):n,l=e.concat(s);return i?l:l.concat(p0(qy(s)))}function x5(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function lF(t,e){var r=Ep(t,!1,e==="fixed");return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}function r_(t,e,r){return e===iL?x5(oF(t,r)):If(e)?lF(e,r):x5(sF(qh(t)))}function cF(t){var e=p0(qy(t)),r=["absolute","fixed"].indexOf(Au(t).position)>=0,n=r&&rl(t)?am(t):t;return If(n)?e.filter(function(i){return If(i)&&sL(i,n)&&$c(i)!=="body"}):[]}function uF(t,e,r,n){var i=e==="clippingParents"?cF(t):[].concat(e),a=[].concat(i,[r]),s=a[0],l=a.reduce(function(u,h){var f=r_(t,h,n);return u.top=Rf(f.top,u.top),u.right=R2(f.right,u.right),u.bottom=R2(f.bottom,u.bottom),u.left=Rf(f.left,u.left),u},r_(t,s,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function fL(t){var e=t.reference,r=t.element,n=t.placement,i=n?Bc(n):null,a=n?Mp(n):null,s=e.x+e.width/2-r.width/2,l=e.y+e.height/2-r.height/2,u;switch(i){case Qo:u={x:s,y:e.y-r.height};break;case nl:u={x:s,y:e.y+e.height};break;case il:u={x:e.x+e.width,y:l};break;case Jo:u={x:e.x-r.width,y:l};break;default:u={x:e.x,y:e.y}}var h=i?bw(i):null;if(h!=null){var f=h==="y"?"height":"width";switch(a){case Tp:u[h]=u[h]-(e[f]/2-r[f]/2);break;case N0:u[h]=u[h]+(e[f]/2-r[f]/2);break}}return u}function B0(t,e){e===void 0&&(e={});var r=e,n=r.placement,i=n===void 0?t.placement:n,a=r.strategy,s=a===void 0?t.strategy:a,l=r.boundary,u=l===void 0?Mz:l,h=r.rootBoundary,f=h===void 0?iL:h,p=r.elementContext,y=p===void 0?Bg:p,g=r.altBoundary,b=g===void 0?!1:g,v=r.padding,C=v===void 0?0:v,k=cL(typeof C!="number"?C:uL(C,im)),T=y===Bg?Rz:Bg,E=t.rects.popper,L=t.elements[b?T:y],O=uF(If(L)?L:L.contextElement||qh(t.elements.popper),u,f,s),W=Ep(t.elements.reference),q=fL({reference:W,element:E,placement:i}),U=x5(Object.assign({},E,q)),j=y===Bg?U:W,M={top:O.top-j.top+k.top,bottom:j.bottom-O.bottom+k.bottom,left:O.left-j.left+k.left,right:j.right-O.right+k.right},N=t.modifiersData.offset;if(y===Bg&&N){var I=N[i];Object.keys(M).forEach(function(V){var z=[il,nl].indexOf(V)>=0?1:-1,Y=[Qo,nl].indexOf(V)>=0?"y":"x";M[V]+=I[Y]*z})}return M}function hF(t,e){e===void 0&&(e={});var r=e,n=r.placement,i=r.boundary,a=r.rootBoundary,s=r.padding,l=r.flipVariations,u=r.allowedAutoPlacements,h=u===void 0?aL:u,f=Mp(n),p=f?l?Qk:Qk.filter(function(b){return Mp(b)===f}):im,y=p.filter(function(b){return h.indexOf(b)>=0});y.length===0&&(y=p);var g=y.reduce(function(b,v){return b[v]=B0(t,{placement:v,boundary:i,rootBoundary:a,padding:s})[Bc(v)],b},{});return Object.keys(g).sort(function(b,v){return g[b]-g[v]})}function fF(t){if(Bc(t)===gw)return[];var e=t2(t);return[e_(t),e,e_(e)]}function dF(t){var e=t.state,r=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var i=r.mainAxis,a=i===void 0?!0:i,s=r.altAxis,l=s===void 0?!0:s,u=r.fallbackPlacements,h=r.padding,f=r.boundary,p=r.rootBoundary,y=r.altBoundary,g=r.flipVariations,b=g===void 0?!0:g,v=r.allowedAutoPlacements,C=e.options.placement,k=Bc(C),T=k===C,E=u||(T||!b?[t2(C)]:fF(C)),L=[C].concat(E).reduce(function(et,rt){return et.concat(Bc(rt)===gw?hF(e,{placement:rt,boundary:f,rootBoundary:p,padding:h,flipVariations:b,allowedAutoPlacements:v}):rt)},[]),O=e.rects.reference,W=e.rects.popper,q=new Map,U=!0,j=L[0],M=0;M<L.length;M++){var N=L[M],I=Bc(N),V=Mp(N)===Tp,z=[Qo,nl].indexOf(I)>=0,Y=z?"width":"height",D=B0(e,{placement:N,boundary:f,rootBoundary:p,altBoundary:y,padding:h}),Z=z?V?il:Jo:V?nl:Qo;O[Y]>W[Y]&&(Z=t2(Z));var Q=t2(Z),it=[];if(a&&it.push(D[I]<=0),l&&it.push(D[Z]<=0,D[Q]<=0),it.every(function(et){return et})){j=N,U=!1;break}q.set(N,it)}if(U)for(var mt=b?3:1,K=function(rt){var lt=L.find(function(ht){var bt=q.get(ht);if(bt)return bt.slice(0,rt).every(function(yt){return yt})});if(lt)return j=lt,"break"},P=mt;P>0;P--){var X=K(P);if(X==="break")break}e.placement!==j&&(e.modifiersData[n]._skip=!0,e.placement=j,e.reset=!0)}}const pF={name:"flip",enabled:!0,phase:"main",fn:dF,requiresIfExists:["offset"],data:{_skip:!1}};function n_(t,e,r){return r===void 0&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function i_(t){return[Qo,il,nl,Jo].some(function(e){return t[e]>=0})}function gF(t){var e=t.state,r=t.name,n=e.rects.reference,i=e.rects.popper,a=e.modifiersData.preventOverflow,s=B0(e,{elementContext:"reference"}),l=B0(e,{altBoundary:!0}),u=n_(s,n),h=n_(l,i,a),f=i_(u),p=i_(h);e.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:h,isReferenceHidden:f,hasPopperEscaped:p},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":p})}const mF={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:gF};function yF(t,e,r){var n=Bc(t),i=[Jo,Qo].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},e,{placement:t})):r,s=a[0],l=a[1];return s=s||0,l=(l||0)*i,[Jo,il].indexOf(n)>=0?{x:l,y:s}:{x:s,y:l}}function bF(t){var e=t.state,r=t.options,n=t.name,i=r.offset,a=i===void 0?[0,0]:i,s=aL.reduce(function(f,p){return f[p]=yF(p,e.rects,a),f},{}),l=s[e.placement],u=l.x,h=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=h),e.modifiersData[n]=s}const vF={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:bF};function xF(t){var e=t.state,r=t.name;e.modifiersData[r]=fL({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const SF={name:"popperOffsets",enabled:!0,phase:"read",fn:xF,data:{}};function wF(t){return t==="x"?"y":"x"}function CF(t){var e=t.state,r=t.options,n=t.name,i=r.mainAxis,a=i===void 0?!0:i,s=r.altAxis,l=s===void 0?!1:s,u=r.boundary,h=r.rootBoundary,f=r.altBoundary,p=r.padding,y=r.tether,g=y===void 0?!0:y,b=r.tetherOffset,v=b===void 0?0:b,C=B0(e,{boundary:u,rootBoundary:h,padding:p,altBoundary:f}),k=Bc(e.placement),T=Mp(e.placement),E=!T,L=bw(k),O=wF(L),W=e.modifiersData.popperOffsets,q=e.rects.reference,U=e.rects.popper,j=typeof v=="function"?v(Object.assign({},e.rects,{placement:e.placement})):v,M=typeof j=="number"?{mainAxis:j,altAxis:j}:Object.assign({mainAxis:0,altAxis:0},j),N=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,I={x:0,y:0};if(W){if(a){var V,z=L==="y"?Qo:Jo,Y=L==="y"?nl:il,D=L==="y"?"height":"width",Z=W[L],Q=Z+C[z],it=Z-C[Y],mt=g?-U[D]/2:0,K=T===Tp?q[D]:U[D],P=T===Tp?-U[D]:-q[D],X=e.elements.arrow,et=g&&X?yw(X):{width:0,height:0},rt=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:lL(),lt=rt[z],ht=rt[Y],bt=d0(0,q[D],et[D]),yt=E?q[D]/2-mt-bt-lt-M.mainAxis:K-bt-lt-M.mainAxis,kt=E?-q[D]/2+mt+bt+ht+M.mainAxis:P+bt+ht+M.mainAxis,Rt=e.elements.arrow&&am(e.elements.arrow),wt=Rt?L==="y"?Rt.clientTop||0:Rt.clientLeft||0:0,qt=(V=N?.[L])!=null?V:0,Ht=Z+yt-qt-wt,at=Z+kt-qt,ae=d0(g?R2(Q,Ht):Q,Z,g?Rf(it,at):it);W[L]=ae,I[L]=ae-Z}if(l){var Kt,le=L==="x"?Qo:Jo,Ot=L==="x"?nl:il,be=W[O],Nt=O==="y"?"height":"width",Dt=be+C[le],Vt=be-C[Ot],de=[Qo,Jo].indexOf(k)!==-1,Be=(Kt=N?.[O])!=null?Kt:0,_e=de?Dt:be-q[Nt]-U[Nt]-Be+M.altAxis,Ne=de?be+q[Nt]+U[Nt]-Be-M.altAxis:Vt,Oe=g&&de?Vz(_e,be,Ne):d0(g?_e:Dt,be,g?Ne:Vt);W[O]=Oe,I[O]=Oe-be}e.modifiersData[n]=I}}const kF={name:"preventOverflow",enabled:!0,phase:"main",fn:CF,requiresIfExists:["offset"]};function _F(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function AF(t){return t===Ms(t)||!rl(t)?vw(t):_F(t)}function TF(t){var e=t.getBoundingClientRect(),r=Lp(e.width)/t.offsetWidth||1,n=Lp(e.height)/t.offsetHeight||1;return r!==1||n!==1}function LF(t,e,r){r===void 0&&(r=!1);var n=rl(e),i=rl(e)&&TF(e),a=qh(e),s=Ep(t,i,r),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&(($c(e)!=="body"||Sw(a))&&(l=AF(e)),rl(e)?(u=Ep(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):a&&(u.x=xw(a))),{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function EF(t){var e=new Map,r=new Set,n=[];t.forEach(function(a){e.set(a.name,a)});function i(a){r.add(a.name);var s=[].concat(a.requires||[],a.requiresIfExists||[]);s.forEach(function(l){if(!r.has(l)){var u=e.get(l);u&&i(u)}}),n.push(a)}return t.forEach(function(a){r.has(a.name)||i(a)}),n}function MF(t){var e=EF(t);return Fz.reduce(function(r,n){return r.concat(e.filter(function(i){return i.phase===n}))},[])}function RF(t){var e;return function(){return e||(e=new Promise(function(r){Promise.resolve().then(function(){e=void 0,r(t())})})),e}}function NF(t){var e=t.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(e).map(function(r){return e[r]})}var a_={placement:"bottom",modifiers:[],strategy:"absolute"};function o_(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];
145return!e.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function BF(t){t===void 0&&(t={});var e=t,r=e.defaultModifiers,n=r===void 0?[]:r,i=e.defaultOptions,a=i===void 0?a_:i;return function(l,u,h){h===void 0&&(h=a);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},a_,a),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},p=[],y=!1,g={state:f,setOptions:function(k){var T=typeof k=="function"?k(f.options):k;v(),f.options=Object.assign({},a,f.options,T),f.scrollParents={reference:If(l)?p0(l):l.contextElement?p0(l.contextElement):[],popper:p0(u)};var E=MF(NF([].concat(n,f.options.modifiers)));return f.orderedModifiers=E.filter(function(L){return L.enabled}),b(),g.update()},forceUpdate:function(){if(!y){var k=f.elements,T=k.reference,E=k.popper;if(o_(T,E)){f.rects={reference:LF(T,am(E),f.options.strategy==="fixed"),popper:yw(E)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(M){return f.modifiersData[M.name]=Object.assign({},M.data)});for(var L=0;L<f.orderedModifiers.length;L++){if(f.reset===!0){f.reset=!1,L=-1;continue}var O=f.orderedModifiers[L],W=O.fn,q=O.options,U=q===void 0?{}:q,j=O.name;typeof W=="function"&&(f=W({state:f,options:U,name:j,instance:g})||f)}}}},update:RF(function(){return new Promise(function(C){g.forceUpdate(),C(f)})}),destroy:function(){v(),y=!0}};if(!o_(l,u))return g;g.setOptions(h).then(function(C){!y&&h.onFirstUpdate&&h.onFirstUpdate(C)});function b(){f.orderedModifiers.forEach(function(C){var k=C.name,T=C.options,E=T===void 0?{}:T,L=C.effect;if(typeof L=="function"){var O=L({state:f,name:k,instance:g,options:E}),W=function(){};p.push(O||W)}})}function v(){p.forEach(function(C){return C()}),p=[]}return g}}var OF=[nF,SF,eF,Uz,vF,pF,kF,Zz,mF],PF=BF({defaultModifiers:OF});function $F(t){return typeof t=="function"?t():t}const dL=H.forwardRef(function(e,r){const{children:n,container:i,disablePortal:a=!1}=e,[s,l]=H.useState(null),u=ta(H.isValidElement(n)?Zf(n):null,r);if(rs(()=>{a||l($F(i)||document.body)},[i,a]),rs(()=>{if(s&&!a)return u5(r,s),()=>{u5(r,null)}},[r,s,a]),a){if(H.isValidElement(n)){const h={ref:u};return H.cloneElement(n,h)}return n}return s&&eL.createPortal(n,s)});function jF(t){return hr("MuiPopper",t)}or("MuiPopper",["root"]);function DF(t,e){if(e==="ltr")return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}function S5(t){return typeof t=="function"?t():t}function IF(t){return t.nodeType!==void 0}const zF=t=>{const{classes:e}=t;return fr({root:["root"]},jF,e)},FF={},qF=H.forwardRef(function(e,r){const{anchorEl:n,children:i,direction:a,disablePortal:s,modifiers:l,open:u,placement:h,popperOptions:f,popperRef:p,slotProps:y={},slots:g={},TransitionProps:b,ownerState:v,...C}=e,k=H.useRef(null),T=ta(k,r),E=H.useRef(null),L=ta(E,p),O=H.useRef(L);rs(()=>{O.current=L},[L]),H.useImperativeHandle(p,()=>E.current,[]);const W=DF(h,a),[q,U]=H.useState(W),[j,M]=H.useState(S5(n));H.useEffect(()=>{E.current&&E.current.forceUpdate()}),H.useEffect(()=>{n&&M(S5(n))},[n]),rs(()=>{if(!j||!u)return;const Y=Q=>{U(Q.placement)};let D=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:Q})=>{Y(Q)}}];l!=null&&(D=D.concat(l)),f&&f.modifiers!=null&&(D=D.concat(f.modifiers));const Z=PF(j,k.current,{placement:W,...f,modifiers:D});return O.current(Z),()=>{Z.destroy(),O.current(null)}},[j,s,l,u,f,W]);const N={placement:q};b!==null&&(N.TransitionProps=b);const I=zF(e),V=g.root??"div",z=Ap({elementType:V,externalSlotProps:y.root,externalForwardedProps:C,additionalProps:{role:"tooltip",ref:T},ownerState:e,className:I.root});return w.jsx(V,{...z,children:typeof i=="function"?i(N):i})}),HF=H.forwardRef(function(e,r){const{anchorEl:n,children:i,container:a,direction:s="ltr",disablePortal:l=!1,keepMounted:u=!1,modifiers:h,open:f,placement:p="bottom",popperOptions:y=FF,popperRef:g,style:b,transition:v=!1,slotProps:C={},slots:k={},...T}=e,[E,L]=H.useState(!0),O=()=>{L(!1)},W=()=>{L(!0)};if(!u&&!f&&(!v||E))return null;let q;if(a)q=a;else if(n){const M=S5(n);q=M&&IF(M)?ns(M).body:ns(null).body}
145const U=!f&&u&&(!v||E)?"none":void 0,j=v?{in:f,onEnter:O,onExited:W}:void 0;return w.jsx(dL,{disablePortal:l,container:q,children:w.jsx(qF,{anchorEl:n,direction:s,disablePortal:l,modifiers:h,ref:r,open:v?!E:f,placement:p,popperOptions:y,popperRef:g,slotProps:C,slots:k,...T,style:{position:"fixed",top:0,left:0,display:U,...b},TransitionProps:j,children:i})})}),UF=ne(HF,{name:"MuiPopper",slot:"Root",overridesResolver:(t,e)=>e.root})({}),Hy=H.forwardRef(function(e,r){const n=Qf(),i=gr({props:e,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:u,container:h,disablePortal:f,keepMounted:p,modifiers:y,open:g,placement:b,popperOptions:v,popperRef:C,transition:k,slots:T,slotProps:E,...L}=i,O=T?.root??l?.Root,W={anchorEl:a,container:h,disablePortal:f,keepMounted:p,modifiers:y,open:g,placement:b,popperOptions:v,popperRef:C,transition:k,...L};return w.jsx(UF,{as:s,direction:n?"rtl":"ltr",slots:{root:O},slotProps:E??u,...W,ref:r})});function WF(t){return hr("MuiListSubheader",t)}or("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const GF=t=>{const{classes:e,color:r,disableGutters:n,inset:i,disableSticky:a}=t,s={root:["root",r!=="default"&&`color${Qt(r)}`,!n&&"gutters",i&&"inset",!a&&"sticky"]};return fr(s,WF,e)},VF=ne("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.color!=="default"&&e[`color${Qt(r.color)}`],!r.disableGutters&&e.gutters,r.inset&&e.inset,!r.disableSticky&&e.sticky]}})(Xe(({theme:t})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(t.vars||t).palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(t.vars||t).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:72}},{props:({ownerState:e})=>!e.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(t.vars||t).palette.background.paper}}]}))),w5=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiListSubheader"}),{className:i,color:a="default",component:s="li",disableGutters:l=!1,disableSticky:u=!1,inset:h=!1,...f}=n,p={...n,color:a,component:s,disableGutters:l,disableSticky:u,inset:h},y=GF(p);return w.jsx(VF,{as:s,className:Te(y.root,i),ref:r,ownerState:p,...f})});w5&&(w5.muiSkipListHighlight=!0);const YF=Jr(w.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function XF(t){return hr("MuiChip",t)}const hn=or("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),KF=t=>{const{classes:e,disabled:r,size:n,color:i,iconColor:a,onDelete:s,clickable:l,variant:u}=t,h={root:["root",u,r&&"disabled",`size${Qt(n)}`,`color${Qt(i)}`,l&&"clickable",l&&`clickableColor${Qt(i)}`,s&&"deletable",s&&`deletableColor${Qt(i)}`,`${u}${Qt(i)}`],label:["label",`label${Qt(n)}`],avatar:["avatar",`avatar${Qt(n)}`,`avatarColor${Qt(i)}`],icon:["icon",`icon${Qt(n)}`,`iconColor${Qt(a)}`],deleteIcon:["deleteIcon",`deleteIcon${Qt(n)}`,`deleteIconColor${Qt(i)}`,`deleteIcon${Qt(u)}Color${Qt(i)}`]};return fr(h,XF,e)},ZF=ne("div",{name:"MuiChip",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}
vendor: 5,170 bytes, line 145
145=t,{color:n,iconColor:i,clickable:a,onDelete:s,size:l,variant:u}=r;return[{[`& .${hn.avatar}`]:e.avatar},{[`& .${hn.avatar}`]:e[`avatar${Qt(l)}`]},{[`& .${hn.avatar}`]:e[`avatarColor${Qt(n)}`]},{[`& .${hn.icon}`]:e.icon},{[`& .${hn.icon}`]:e[`icon${Qt(l)}`]},{[`& .${hn.icon}`]:e[`iconColor${Qt(i)}`]},{[`& .${hn.deleteIcon}`]:e.deleteIcon},{[`& .${hn.deleteIcon}`]:e[`deleteIcon${Qt(l)}`]},{[`& .${hn.deleteIcon}`]:e[`deleteIconColor${Qt(n)}`]},{[`& .${hn.deleteIcon}`]:e[`deleteIcon${Qt(u)}Color${Qt(n)}`]},e.root,e[`size${Qt(l)}`],e[`color${Qt(n)}`],a&&e.clickable,a&&n!=="default"&&e[`clickableColor${Qt(n)})`],s&&e.deletable,s&&n!=="default"&&e[`deletableColor${Qt(n)}`],e[u],e[`${u}${Qt(n)}`]]}})(Xe(({theme:t})=>{const e=t.palette.mode==="light"?t.palette.grey[700]:t.palette.grey[300];return{maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${hn.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${hn.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:e,fontSize:t.typography.pxToRem(12)},[`& .${hn.avatarColorPrimary}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},[`& .${hn.avatarColorSecondary}`]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},[`& .${hn.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},[`& .${hn.icon}`]:{marginLeft:5,marginRight:-6},[`& .${hn.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.26)`:Zr(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.4)`:Zr(t.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${hn.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${hn.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(t.palette).filter(ui(["contrastText"])).map(([r])=>({props:{color:r},style:{backgroundColor:(t.vars||t).palette[r].main,color:(t.vars||t).palette[r].contrastText,[`& .${hn.deleteIcon}`]:{color:t.vars?`rgba(${t.vars.palette[r].contrastTextChannel} / 0.7)`:Zr(t.palette[r].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[r].contrastText}}}})),{props:r=>r.iconColor===r.color,style:{[`& .${hn.icon}`]:{color:t.vars?t.vars.palette.Chip.defaultIconColor:e}}},{props:r=>r.iconColor===r.color&&r.color!=="default",style:{[`& .${hn.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${hn.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Zr(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}}},...Object.entries(t.palette).filter(ui(["dark"])).map(([r])=>({props:{color:r,onDelete:!0},style:{[`&.${hn.focusVisible}`]:{background:(t.vars||t).palette[r].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Zr(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},[`&.${hn.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Zr(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}}},...Object.entries(t.palette).filter(ui(["dark"])).map(([r])=>({props:{color:r,clickable:!0},style:{[`&:hover, &.${hn.focusVisible}`]:{backgroundColor:(t.vars||t).palette[r].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:t.vars?`1px solid ${t.vars.palette.Chip.defaultBorder}`:`1px solid ${t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[700]}`,[`&.${hn.clickable}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${hn.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`& .${hn.avatar}`]:{marginLeft:4},[`& .${hn.avatarSmall}`]:{marginLeft:2},[`& .${hn.icon}`]:{marginLeft:4},[`& .${hn.iconSmall}`]:{marginLeft:2},[`& .${hn.deleteIcon}`]:{marginRight:5},[`& .${hn.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(t.palette).filter(ui()).map(([r])=>({props:{variant:"outlined",color:r},style:{color:(t.vars||t).palette[r].main,border:`1px solid ${t.vars?`rgba(${t.vars.palette[r].mainCh
145annel} / 0.7)`:Zr(t.palette[r].main,.7)}`,[`&.${hn.clickable}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[r].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Zr(t.palette[r].main,t.palette.action.hoverOpacity)},[`&.${hn.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[r].mainChannel} / ${t.vars.palette.action.focusOpacity})`:Zr(t.palette[r].main,t.palette.action.focusOpacity)},[`& .${hn.deleteIcon}`]:{color:t.vars?`rgba(${t.vars.palette[r].mainChannel} / 0.7)`:Zr(t.palette[r].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[r].main}}}}))]}})),QF=ne("span",{name:"MuiChip",slot:"Label",overridesResolver:(t,e)=>{const{ownerState:r}=t,{size:n}=r;return[e.label,e[`label${Qt(n)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function s_(t){return t.key==="Backspace"||t.key==="Delete"}const xr=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiChip"}),{avatar:i,className:a,clickable:s,color:l="default",component:u,deleteIcon:h,disabled:f=!1,icon:p,label:y,onClick:g,onDelete:b,onKeyDown:v,onKeyUp:C,size:k="medium",variant:T="filled",tabIndex:E,skipFocusWhenDisabled:L=!1,...O}=n,W=H.useRef(null),q=ta(W,r),U=it=>{it.stopPropagation(),b&&b(it)},j=it=>{it.currentTarget===it.target&&s_(it)&&it.preventDefault(),v&&v(it)},M=it=>{it.currentTarget===it.target&&b&&s_(it)&&b(it),C&&C(it)},N=s!==!1&&g?!0:s,I=N||b?Pc:u||"div",V={...n,component:I,disabled:f,size:k,color:l,iconColor:H.isValidElement(p)&&p.props.color||l,onDelete:!!b,clickable:N,variant:T},z=KF(V),Y=I===Pc?{component:u||"div",focusVisibleClassName:z.focusVisible,...b&&{disableRipple:!0}}:{};let D=null;b&&(D=h&&H.isValidElement(h)?H.cloneElement(h,{className:Te(h.props.className,z.deleteIcon),onClick:U}):w.jsx(YF,{className:Te(z.deleteIcon),onClick:U}));let Z=null;i&&H.isValidElement(i)&&(Z=H.cloneElement(i,{className:Te(z.avatar,i.props.className)}));let Q=null;return p&&H.isValidElement(p)&&(Q=H.cloneElement(p,{className:Te(z.icon,p.props.className)})),w.jsxs(ZF,{as:I,className:Te(z.root,a),disabled:N&&f?!0:void 0,onClick:g,onKeyDown:j,onKeyUp:M,ref:q,tabIndex:L&&f?-1:E,ownerState:V,...Y,...O,children:[Z||Q,w.jsx(QF,{className:Te(z.label),ownerState:V,children:y}),D]})});function v1(t){return parseInt(t,10)||0}const JF={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function tq(t){for(const e in t)return!1;return!0}function l_(t){return tq(t)||t.outerHeightStyle===0&&!t.overflowing}const eq=H.forwardRef(function(e,r){const{onChange:n,maxRows:i,minRows:a=1,style:s,value:l,...u}=e,{current:h}=H.useRef(l!=null),f=H.useRef(null),p=ta(r,f),y=H.useRef(null),g=H.useRef(null),b=H.useCallback(()=>{const E=f.current,L=g.current;if(!E||!L)return;const W=Es(E).getComputedStyle(E);if(W.width==="0px")return{outerHeightStyle:0,overflowing:!1};L.style.width=W.width,L.value=E.value||e.placeholder||"x",L.value.slice(-1)===`
146`&&(L.value+=" ");const q=W.boxSizing,U=v1(W.paddingBottom)+v1(W.paddingTop),j=v1(W.borderBottomWidth)+v1(W.borderTopWidth),M=L.scrollHeight;L.value="x";const N=L.scrollHeight;let I=M;a&&(I=Math.max(Number(a)*N,I)),i&&(I=Math.min(Number(i)*N,I)),I=Math.max(I,N);const V=I+(q==="border-box"?U+j:0),z=Math.abs(I-M)<=1;return{outerHeightStyle:V,overflowing:z}},[i,a,e.placeholder]),v=so(()=>{const E=f.current,L=b();if(!E||!L||l_(L))return!1;const O=L.outerHeightStyle;return y.current!=null&&y.current!==O}),C=H.useCallback(()=>{const E=f.current,L=b();if(!E||!L||l_(L))return;const O=L.outerHeightStyle;y.current!==O&&(y.current=O,E.style.height=`${O}px`),E.style.overflow=L.overflowing?"hidden":""},[b]),k=H.useRef(-1);rs(()=>{const E=nm(C),L=f?.current;if(!L)return;const O=Es(L);O.addEventListener("resize",E);let W;return typeof ResizeObserver<"u"&&(W=new ResizeObserver(()=>{v()&&(W.unobserve(L),cancelAnimationFrame(k.current),C(),k.current=requestAnimationFrame(()=>{W.observe(L)}))}),W.observe(L)),()=>{E.clear(),cancelAnimationFrame(k.current),O.removeEventListener("resize",E),W&&W.disconnect()}},[b,C,v]),rs(()=>{C()});const T=E=>{h||C(),n&&n(E)};return w.jsxs(H.Fragment,{children:[w.jsx("textarea",{value:l,onCh
146ange:T,ref:p,rows:a,style:s,...u}),w.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:g,tabIndex:-1,style:{...JF.shadow,...s,paddingTop:0,paddingBottom:0}})]})});function C5(t){return typeof t=="string"}function Jf({props:t,states:e,muiFormControl:r}){return e.reduce((n,i)=>(n[i]=t[i],r&&typeof t[i]>"u"&&(n[i]=r[i]),n),{})}const Uy=H.createContext(void 0);function Bu(){return H.useContext(Uy)}function c_(t){return t!=null&&!(Array.isArray(t)&&t.length===0)}function N2(t,e=!1){return t&&(c_(t.value)&&t.value!==""||e&&c_(t.defaultValue)&&t.defaultValue!=="")}function rq(t){return t.startAdornment}function nq(t){return hr("MuiInputBase",t)}const Cs=or("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var u_;const Wy=(t,e)=>{const{ownerState:r}=t;return[e.root,r.formControl&&e.formControl,r.startAdornment&&e.adornedStart,r.endAdornment&&e.adornedEnd,r.error&&e.error,r.size==="small"&&e.sizeSmall,r.multiline&&e.multiline,r.color&&e[`color${Qt(r.color)}`],r.fullWidth&&e.fullWidth,r.hiddenLabel&&e.hiddenLabel]},Gy=(t,e)=>{const{ownerState:r}=t;return[e.input,r.size==="small"&&e.inputSizeSmall,r.multiline&&e.inputMultiline,r.type==="search"&&e.inputTypeSearch,r.startAdornment&&e.inputAdornedStart,r.endAdornment&&e.inputAdornedEnd,r.hiddenLabel&&e.inputHiddenLabel]},iq=t=>{const{classes:e,color:r,disabled:n,error:i,endAdornment:a,focused:s,formControl:l,fullWidth:u,hiddenLabel:h,multiline:f,readOnly:p,size:y,startAdornment:g,type:b}=t,v={root:["root",`color${Qt(r)}`,n&&"disabled",i&&"error",u&&"fullWidth",s&&"focused",l&&"formControl",y&&y!=="medium"&&`size${Qt(y)}`,f&&"multiline",g&&"adornedStart",a&&"adornedEnd",h&&"hiddenLabel",p&&"readOnly"],input:["input",n&&"disabled",b==="search"&&"inputTypeSearch",f&&"inputMultiline",y==="small"&&"inputSizeSmall",h&&"inputHiddenLabel",g&&"inputAdornedStart",a&&"inputAdornedEnd",p&&"readOnly"]};return fr(v,nq,e)},Vy=ne("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Wy})(Xe(({theme:t})=>({...t.typography.body1,color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Cs.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:r})=>e.multiline&&r==="small",style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]}))),Yy=ne("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Gy})(Xe(({theme:t})=>{const e=t.palette.mode==="light",r={color:"currentColor",...t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:e?.42:.5},transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})},n={opacity:"0 !important"},i=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:e?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Cs.formControl} &`]:{"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${Cs.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},variants:[{props:({ownerState:a})=>!a.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:a})=>a.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),h_=hw({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),ww=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:a,autoFocus:s,className:l,color:u,components:h={},componentsProps:f={},defaultValue:p,disabled:y,disableInjectingGlobalStyles:g,endAdornment:b,error:v,fullWidth:C=!1,id:k,inputComponent:T="input",inputProps:E={},inputRef:L,margin:O,maxRows:W,minRows:q,multiline:U=!1,name:j,onBlur:M,onChange:N,onClick:I,onFocus:V,onKeyDown:z,onKeyUp:Y,placeholder:D,readOnly:Z,renderSuffix:Q,rows:it,size:mt,slotProps:K={},slots:P={},startAdornment:X,type:et="text",value:rt,...lt}=n,ht=E.value!=null?E.value:rt,{current:bt}=H.useRef(ht!=null),yt=H.useRef(),kt=H.useCallback(ce=>{},[]),Rt=ta(yt,L,E.ref,kt),[wt,qt]=H.useState(!1),Ht=Bu(),at=Jf({props:n,muiFormControl:Ht,states:["color","disabled","error","hiddenLabel","size","required","filled"]});at.focused=Ht?Ht.focused:wt,H.useEffect(()=>{!Ht&&y&&wt&&(qt(!1),M&&M())},[Ht,y,wt,M]);const ae=Ht&&Ht.onFilled,Kt=Ht&&Ht.onEmpty,le=H.useCallback(ce=>{N2(ce)?ae&&ae():Kt&&Kt()},[ae,Kt]);rs(()=>{bt&&le({value:ht})},[ht,le,bt]);const Ot=ce=>{V&&V(ce),E.onFocus&&E.onFocus(ce),Ht&&Ht.onFocus?Ht.onFocus(ce):qt(!0)},be=ce=>{M&&M(ce),E.onBlur&&E.onBlur(ce),Ht&&Ht.onBlur?Ht.onBlur(ce):qt(!1)},Nt=(ce,...Er)=>{if(!bt){const He=ce.target||yt.current;if(He==null)throw new Error(_u(1));le({value:He.value})}E.onChange&&E.onChange(ce,...Er),N&&N(ce,...Er)};H.useEffect(()=>{le(yt.current)},[]);const Dt=ce=>{yt.current&&ce.currentTarget===ce.target&&yt.current.focus(),I&&I(ce)};let Vt=T,de=E;U&&Vt==="input"&&(it?de={type:void 0,minRows:it,maxRows:it,...de}:de={type:void 0,maxRows:W,minRows:q,...de},Vt=eq);const Be=ce=>{le(ce.animationName==="mui-auto-fill-cancel"?yt.current:{value:"x"})};H.useEffect(()=>{Ht&&Ht.setAdornedStart(!!X)},[Ht,X]);const _e={...n,color:at.color||"primary",disabled:at.disabled,endAdornment:b,error:at.error,focused:at.focused,formControl:Ht,fullWidth:C,hiddenLabel:at.hiddenLabel,multiline:U,size:at.size,startAdornment:X,type:et},Ne=iq(_e),Oe=P.root||h.Root||Vy,we=K.root||f.root||{},Ae=P.input||h.Input||Yy;return de={...de,...K.input??f.input},w.jsxs(H.Fragment,{children:[!g&&typeof h_=="function"&&(u_||(u_=w.jsx(h_,{}))),w.jsxs(Oe,{...we,ref:r,onClick:Dt,...lt,...!C5(Oe)&&{ownerState:{..._e,...we.ownerState}},className:Te(Ne.root,we.className,l,Z&&"MuiInputBase-readOnly"),children:[X,w.jsx(Uy.Provider,{value:null,children:w.jsx(Ae,{"aria-invalid":at.error,"aria-describedby":i,autoComplete:a,autoFocus:s,defaultValue:p,disabled:at.disabled,id:k,onAnimationStart:Be,name:j,placeholder:D,readOnly:Z,required:at.required,rows:it,value:ht,onKeyDown:z,onKeyUp:Y,type:et,...de,...!C5(Ae)&&{as:Vt,ownerState:{..._e,...de.ownerState}},ref:Rt,className:Te(Ne.input,de.className,Z&&"MuiInputBase-readOnly"),onBlur:be,onChange:Nt,onFocus:Ot})}),b,Q?Q({...at,startAdornment:X}
146):null]})]})});function aq(t){return hr("MuiInput",t)}const Ch={...Cs,...or("MuiInput",["root","underline","input"])};function oq(t){return hr("MuiOutlinedInput",t)}const Js={...Cs,...or("MuiOutlinedInput",["root","notchedOutline","input"])};function sq(t){return hr("MuiFilledInput",t)}const ks={...Cs,...or("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},pL=Jr(w.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function lq(t){return hr("MuiAutocomplete",t)}const nn=or("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var f_,d_;const cq=t=>{const{classes:e,disablePortal:r,expanded:n,focused:i,fullWidth:a,hasClearIcon:s,hasPopupIcon:l,inputFocused:u,popupOpen:h,size:f}=t,p={root:["root",n&&"expanded",i&&"focused",a&&"fullWidth",s&&"hasClearIcon",l&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",u&&"inputFocused"],tag:["tag",`tagSize${Qt(f)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",h&&"popupIndicatorOpen"],popper:["popper",r&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return fr(p,lq,e)},uq=ne("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t,{fullWidth:n,hasClearIcon:i,hasPopupIcon:a,inputFocused:s,size:l}=r;return[{[`& .${nn.tag}`]:e.tag},{[`& .${nn.tag}`]:e[`tagSize${Qt(l)}`]},{[`& .${nn.inputRoot}`]:e.inputRoot},{[`& .${nn.input}`]:e.input},{[`& .${nn.input}`]:s&&e.inputFocused},e.root,n&&e.fullWidth,a&&e.hasPopupIcon,i&&e.hasClearIcon]}})({[`&.${nn.focused} .${nn.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${nn.clearIndicator}`]:{visibility:"visible"}},[`& .${nn.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${nn.inputRoot}`]:{[`.${nn.hasPopupIcon}&, .${nn.hasClearIcon}&`]:{paddingRight:30},[`.${nn.hasPopupIcon}.${nn.hasClearIcon}&`]:{paddingRight:56},[`& .${nn.input}`]:{width:0,minWidth:30}},[`& .${Ch.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Ch.root}.${Cs.sizeSmall}`]:{[`& .${Ch.input}`]:{padding:"2px 4px 3px 0"}},[`& .${Js.root}`]:{padding:9,[`.${nn.hasPopupIcon}&, .${nn.hasClearIcon}&`]:{paddingRight:39},[`.${nn.hasPopupIcon}.${nn.hasClearIcon}&`]:{paddingRight:65},[`& .${nn.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${nn.endAdornment}`]:{right:9}},[`& .${Js.root}.${Cs.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${nn.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${ks.root}`]:{paddingTop:19,paddingLeft:8,[`.${nn.hasPopupIcon}&, .${nn.hasClearIcon}&`]:{paddingRight:39},[`.${nn.hasPopupIcon}.${nn.hasClearIcon}&`]:{paddingRight:65},[`& .${ks.input}`]:{padding:"7px 4px"},[`& .${nn.endAdornment}`]:{right:9}},[`& .${ks.root}.${Cs.sizeSmall}`]:{paddingBottom:1,[`& .${ks.input}`]:{padding:"2.5px 4px"}},[`& .${Cs.hiddenLabel}`]:{paddingTop:8},[`& .${ks.root}.${Cs.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${nn.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${ks.root}.${Cs.hiddenLabel}.${Cs.sizeSmall}`]:{[`& .${nn.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${nn.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0}
vendor: 5,777 bytes, line 146
146,variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${nn.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${nn.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${nn.inputRoot}`]:{flexWrap:"wrap"}}}]}),hq=ne("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(t,e)=>e.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),fq=ne(Ko,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(t,e)=>e.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),dq=ne(Ko,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.popupIndicator,r.popupOpen&&e.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),pq=ne(Hy,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`& .${nn.option}`]:e.option},e.popper,r.disablePortal&&e.popperDisablePortal]}})(Xe(({theme:t})=>({zIndex:(t.vars||t).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),gq=ne(Nu,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(t,e)=>e.paper})(Xe(({theme:t})=>({...t.typography.body1,overflow:"auto"}))),mq=ne("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(t,e)=>e.loading})(Xe(({theme:t})=>({color:(t.vars||t).palette.text.secondary,padding:"14px 16px"}))),yq=ne("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(t,e)=>e.noOptions})(Xe(({theme:t})=>({color:(t.vars||t).palette.text.secondary,padding:"14px 16px"}))),bq=ne("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(t,e)=>e.listbox})(Xe(({theme:t})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${nn.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[t.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${nn.focused}`]:{backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${nn.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Zr(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${nn.focused}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Zr(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(t.vars||t).palette.action.selected}},[`&.${nn.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Zr(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}}}}))),vq=ne(w5,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(t,e)=>e.groupLabel})(Xe(({theme:t})=>({backgroundColor:(t.vars||t).palette.background.paper,top:-8}))),xq=ne("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(t,e)=>e.groupUl})({padding:0,[`& .${nn.option}`]:{paddingLeft:24}}),Sq=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiAutocomplete"}),{autoComplete:i=!1,autoHighlight:a=!1,autoSelect:s=!1,blurOnSelect:l=!1,ChipProps:u,className:h,clearIcon:f=f_||(f_=w.jsx(nL,{fontSize:"small"})),clearOnBlur:p=!n.freeSolo,clearOnEscape:y=!1,clearText:g="Clear",closeText:b="Close",componentsProps:v,defaultValue:C=n.multiple?[]:null,disableClearable:k=!1,disableCloseOnSelect:T=!1,disabled:E=!1,disabledItemsFocusable:L=!1,disableListWrap:O=!1,disablePortal:W=!1,filterOptions:q,filterSelectedOptions:U=!1,forcePopupIcon:j="auto",freeSolo:M=!1,fullWidth:N=!1,getLimitTagsText:I=tr=>`+${tr}`,getOptionDisabled:V,getOptionKey:z,getOptionLabel:Y,isOptionEqualToValue:D,groupBy:Z,handleHomeEndKeys:Q=!n.freeSolo,id:it,includeInputInList:mt=!1,inputValue:K,limitTags:P=-1,ListboxComponent:X,ListboxProps:et,loading:rt=!1,loadingText:lt="Loading…",multiple:ht=!1,noOptionsText:bt="No options",onChange:yt,onClose:kt,onHighlightChange:Rt,onInputChange:wt,onOpen:qt,open:Ht,openOnFocus:at=!1,openText:ae="Open",options:Kt,PaperComponent:le,PopperComponent:Ot,popupIcon:be=d_||(d_=w.jsx(pL,{})),readOnly:Nt=!1,renderGroup:Dt,renderInput:Vt,renderOption:de,renderTags:Be,selectOnFocus:_e=!n.freeSolo,size:Ne="medium",slots:Oe={},slotProps:we={},value:Ae,...ce}=n,{getRootProps:Er,getInputProps:He,getInputLabelProps:Jt,getPopupIndicatorProps:Se,getClearProps:Pe,getTagProps:je,getListboxProps:Et,getOptionProps:fe,value:te,dirty:Ze,expanded:Ge,id:Me,popupOpen:lr,focused:Sn,focusedTag:Xt,anchorEl:me,setAnchorEl:Br,inputValue:ee,groupedOptions:ze}=Ez({...n,componentName:"Autocomplete"}),br=!k&&!E&&Ze&&!Nt,rr=(!M||j===!0)&&j!==!1,{onMouseDown:jr}=He(),{ref:vr,...Fr}=Et(),dn=Y||(tr=>tr.label??tr),Dr={...n,disablePortal:W,expanded:Ge,focused:Sn,fullWidth:N,getOptionLabel:dn,hasClearIcon:br,hasPopupIcon:rr,inputFocused:Xt===-1,popupOpen:lr,size:Ne},mr=cq(Dr),Cr={slots:{paper:le,popper:Ot,...Oe},slotProps:{chip:u,listbox:et,...v,...we}},[Rr,Wt]=wr("listbox",{elementType:bq,externalForwardedProps:Cr,ownerState:Dr,className:mr.listbox,additionalProps:Fr,ref:vr}),[Gt,Re]=wr("paper",{elementType:Nu,externalForwardedProps:Cr,ownerState:Dr,className:mr.paper}
146),[Ke,ge]=wr("popper",{elementType:Hy,externalForwardedProps:Cr,ownerState:Dr,className:mr.popper,additionalProps:{disablePortal:W,style:{width:me?me.clientWidth:null},role:"presentation",anchorEl:me,open:lr}});let vt;if(ht&&te.length>0){const tr=wn=>({className:mr.tag,disabled:E,...je(wn)});Be?vt=Be(te,tr,Dr):vt=te.map((wn,pn)=>{const{key:Li,...Lo}=tr({index:pn});return w.jsx(xr,{label:dn(wn),size:Ne,...Lo,...Cr.slotProps.chip},Li)})}if(P>-1&&Array.isArray(vt)){const tr=vt.length-P;!Sn&&tr>0&&(vt=vt.splice(0,P),vt.push(w.jsx("span",{className:mr.tag,children:I(tr)},vt.length)))}const St=Dt||(tr=>w.jsxs("li",{children:[w.jsx(vq,{className:mr.groupLabel,ownerState:Dr,component:"div",children:tr.group}),w.jsx(xq,{className:mr.groupUl,ownerState:Dr,children:tr.children})]},tr.key)),zr=de||((tr,wn)=>{const{key:pn,...Li}=tr;return w.jsx("li",{...Li,children:dn(wn)},pn)}),Je=(tr,wn)=>{const pn=fe({option:tr,index:wn});return zr({...pn,className:mr.option},tr,{selected:pn["aria-selected"],index:wn,inputValue:ee},Dr)},an=Cr.slotProps.clearIndicator,Wr=Cr.slotProps.popupIndicator;return w.jsxs(H.Fragment,{children:[w.jsx(uq,{ref:r,className:Te(mr.root,h),ownerState:Dr,...Er(ce),children:Vt({id:Me,disabled:E,fullWidth:!0,size:Ne==="small"?"small":void 0,InputLabelProps:Jt(),InputProps:{ref:Br,className:mr.inputRoot,startAdornment:vt,onMouseDown:tr=>{tr.target===tr.currentTarget&&jr(tr)},...(br||rr)&&{endAdornment:w.jsxs(hq,{className:mr.endAdornment,ownerState:Dr,children:[br?w.jsx(fq,{...Pe(),"aria-label":g,title:g,ownerState:Dr,...an,className:Te(mr.clearIndicator,an?.className),children:f}):null,rr?w.jsx(dq,{...Se(),disabled:E,"aria-label":lr?b:ae,title:lr?b:ae,ownerState:Dr,...Wr,className:Te(mr.popupIndicator,Wr?.className),children:be}):null]})}},inputProps:{className:mr.input,disabled:E,readOnly:Nt,...He()}})}),me?w.jsx(pq,{as:Ke,...ge,children:w.jsxs(gq,{as:Gt,...Re,children:[rt&&ze.length===0?w.jsx(mq,{className:mr.loading,ownerState:Dr,children:lt}):null,ze.length===0&&!M&&!rt?w.jsx(yq,{className:mr.noOptions,ownerState:Dr,role:"presentation",onMouseDown:tr=>{tr.preventDefault()},children:bt}):null,ze.length>0?w.jsx(Rr,{as:X,...Wt,children:ze.map((tr,wn)=>Z?St({key:tr.key,group:tr.group,children:tr.options.map((pn,Li)=>Je(pn,tr.index+Li))}):Je(tr,wn))}):null]})}):null]})}),wq={entering:{opacity:1},entered:{opacity:1}},B2=H.forwardRef(function(e,r){const n=Ru(),i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,easing:u,in:h,onEnter:f,onEntered:p,onEntering:y,onExit:g,onExited:b,onExiting:v,style:C,timeout:k=i,TransitionComponent:T=ul,...E}=e,L=H.useRef(null),O=ta(L,Zf(l),r),W=z=>Y=>{if(z){const D=L.current;Y===void 0?z(D):z(D,Y)}},q=W(y),U=W((z,Y)=>{pw(z);const D=Oh({style:C,timeout:k,easing:u},{mode:"enter"});z.style.webkitTransition=n.transitions.create("opacity",D),z.style.transition=n.transitions.create("opacity",D),f&&f(z,Y)}),j=W(p),M=W(v),N=W(z=>{const Y=Oh({style:C,timeout:k,easing:u},{mode:"exit"});z.style.webkitTransition=n.transitions.create("opacity",Y),z.style.transition=n.transitions.create("opacity",Y),g&&g(z)}),I=W(b),V=z=>{a&&a(L.current,z)};return w.jsx(T,{appear:s,in:h,nodeRef:L,onEnter:U,onEntered:j,onEntering:q,onExit:N,onExited:I,onExiting:M,addEndListener:V,timeout:k,...E,children:(z,{ownerState:Y,...D})=>H.cloneElement(l,{style:{opacity:0,visibility:z==="exited"&&!h?"hidden":void 0,...wq[z],...C,...l.props.style},ref:O,...D})})});function Cq(t){return hr("MuiBackdrop",t)}or("MuiBackdrop",["root","invisible"]);const kq=t=>{const{classes:e,invisible:r}=t;return fr({root:["root",r&&"invisible"]},Cq,e)},_q=ne("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.invisible&&e.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),gL=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiBackdrop"}),{children:i,className:a,component:s="div",invisible:l=!1,open:u,components:h={},componentsProps:f={},slotProps:p={},slots:y={},TransitionComponent:g,transitionDuration:b,...v}
146=n,C={...n,component:s,invisible:l},k=kq(C),T={transition:g,root:h.Root,...y},E={...f,...p},L={slots:T,slotProps:E},[O,W]=wr("root",{elementType:_q,externalForwardedProps:L,className:Te(k.root,a),ownerState:C}),[q,U]=wr("transition",{elementType:B2,externalForwardedProps:L,ownerState:C});return w.jsx(q,{in:u,timeout:b,...v,...U,children:w.jsx(O,{"aria-hidden":!0,...W,classes:k,ref:r,children:i})})}),Aq=or("MuiBox",["root"]),Tq=Fy(),Ee=vj({themeId:Dl,defaultTheme:Tq,defaultClassName:Aq.root,generateClassName:w8.generate});function Lq(t){return hr("MuiButton",t)}const ff=or("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),Eq=H.createContext({}),Mq=H.createContext(void 0),Rq=t=>{const{color:e,disableElevation:r,fullWidth:n,size:i,variant:a,loading:s,loadingPosition:l,classes:u}=t,h={root:["root",s&&"loading",a,`${a}${Qt(e)}`,`size${Qt(i)}`,`${a}Size${Qt(i)}`,`color${Qt(e)}`,r&&"disableElevation",n&&"fullWidth",s&&`loadingPosition${Qt(l)}`],startIcon:["icon","startIcon",`iconSize${Qt(i)}`],endIcon:["icon","endIcon",`iconSize${Qt(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},f=fr(h,Lq,u);return{...u,...f}},mL=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],Nq=ne(Pc,{shouldForwardProp:t=>is(t)||t==="classes",name:"MuiButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],e[`${r.variant}${Qt(r.color)}`],e[`size${Qt(r.size)}`],e[`${r.variant}Size${Qt(r.size)}`],r.color==="inherit"&&e.colorInherit,r.disableElevation&&e.disableElevation,r.fullWidth&&e.fullWidth,r.loading&&e.loading]}})(Xe(({theme:t})=>{const e=t.palette.mode==="light"?t.palette.grey[300]:t.palette.grey[800],r=t.palette.mode==="light"?t.palette.grey.A100:t.palette.grey[700];return{...t.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${ff.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(t.vars||t).shadows[2],"&:hover":{boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2]}},"&:active":{boxShadow:(t.vars||t).shadows[8]},[`&.${ff.focusVisible}`]:{boxShadow:(t.vars||t).shadows[6]},[`&.${ff.disabled}`]:{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${ff.disabled}`]:{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(t.palette).filter(ui()).map(([n])=>({props:{color:n},style:{"--variant-textColor":(t.vars||t).palette[n].main,"--variant-outlinedColor":(t.vars||t).palette[n].main,"--variant-outlinedBorder":t.vars?`rgba(${t.vars.palette[n].mainChannel} / 0.5)`:Zr(t.palette[n].main,.5),"--variant-containedColor":(t.vars||t).palette[n].contrastText,"--variant-containedBg":(t.vars||t).palette[n].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(t.vars||t).palette[n].dark,"--variant-textBg":t.vars?`rgba(${t.vars.palette[n].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Zr(t.palette[n].main,t.palette.action.hoverOpacity),"--variant-outlinedBorder":(t.vars||t).palette[n].main,"--variant-outlinedBg":t.vars?`rgba(${t.vars.palette[n].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Zr(t.palette[n].main,t.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedBg:e,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedHoverBg:r,"--variant-textBg":t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:Zr(t.palette.text.primary,t.palette.action.hoverOpacity),"--variant-outlinedBg":t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:Zr(t.palette.text.primary,t.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${ff.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ff.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),[`&.${ff.loading}`]:{color:"transparent"}}}]}})),Bq=ne("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.startIcon,r.loading&&e.startIconLoadingStart,e[`iconSize${Qt(r.size)}`]]}})(({theme:t})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}
146},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...mL]})),Oq=ne("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.endIcon,r.loading&&e.endIconLoadingEnd,e[`iconSize${Qt(r.size)}`]]}})(({theme:t})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...mL]})),Pq=ne("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(t,e)=>e.loadingIndicator})(({theme:t})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(t.vars||t).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),p_=ne("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(t,e)=>e.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),Vn=H.forwardRef(function(e,r){const n=H.useContext(Eq),i=H.useContext(Mq),a=R0(n,e),s=gr({props:a,name:"MuiButton"}),{children:l,color:u="primary",component:h="button",className:f,disabled:p=!1,disableElevation:y=!1,disableFocusRipple:g=!1,endIcon:b,focusVisibleClassName:v,fullWidth:C=!1,id:k,loading:T=null,loadingIndicator:E,loadingPosition:L="center",size:O="medium",startIcon:W,type:q,variant:U="text",...j}=s,M=Fh(k),N=E??w.jsx(f0,{"aria-labelledby":M,color:"inherit",size:16}),I={...s,color:u,component:h,disabled:p,disableElevation:y,disableFocusRipple:g,fullWidth:C,loading:T,loadingIndicator:N,loadingPosition:L,size:O,type:q,variant:U},V=Rq(I),z=(W||T&&L==="start")&&w.jsx(Bq,{className:V.startIcon,ownerState:I,children:W||w.jsx(p_,{className:V.loadingIconPlaceholder,ownerState:I})}),Y=(b||T&&L==="end")&&w.jsx(Oq,{className:V.endIcon,ownerState:I,children:b||w.jsx(p_,{className:V.loadingIconPlaceholder,ownerState:I})}),D=i||"",Z=typeof T=="boolean"?w.jsx("span",{className:V.loadingWrapper,style:{display:"contents"},children:T&&w.jsx(Pq,{className:V.loadingIndicator,ownerState:I,children:N})}):null;return w.jsxs(Nq,{ownerState:I,className:Te(n.className,V.root,f,D),component:h,disabled:p||T,focusRipple:!g,focusVisibleClassName:Te(V.focusVisible,v),ref:r,type:q,id:T?M:k,...j,classes:V,children:[z,L!=="end"&&Z,l,L==="end"&&Z,Y]})});function $q(t){return hr("MuiCard",t)}or("MuiCard",["root"]);const jq=t=>{const{classes:e}=t;return fr({root:["root"]},$q,e)},Dq=ne(Nu,{name:"MuiCard",slot:"Root",overridesResolver:(t,e)=>e.root})({overflow:"hidden"}),Nf=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiCard"}),{className:i,raised:a=!1,...s}=n,l={...n,raised:a},u=jq(l);return w.jsx(Dq,{className:Te(u.root,i),elevation:a?8:void 0,ref:r,ownerState:l,...s})});function Iq(t){return hr("MuiCardContent",t)}or("MuiCardContent",["root"]);const zq=t=>{const{classes:e}=t;return fr({root:["root"]},Iq,e)},Fq=ne("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(t,e)=>e.root})({padding:16,"&:last-child":{paddingBottom:24}}),Bf=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiCardContent"}),{className:i,component:a="div",...s}=n,l={...n,component:a},u=zq(l);return w.jsx(Fq,{as:a,className:Te(u.root,i),ownerState:l,ref:r,...s})});function qq(t){return hr("PrivateSwitchBase",t)}or("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Hq=t=>{const{classes:e,checked:r,disabled:n,edge:i}=t,a={root:["root",r&&"checked",n&&"disabled",i&&`edge${Qt(i)}`],input:["input"]};return fr(a,qq,e)},Uq=ne(Pc,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:t,ownerState:e})=>t==="start"&&e.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:t,ownerState:e})=>t==="end"&&e.size!=="small",style:{marginRight:-12}}]}),Wq=ne("input",{name:"MuiSwitchBase",shouldForwardProp:is}
146)({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),yL=H.forwardRef(function(e,r){const{autoFocus:n,checked:i,checkedIcon:a,defaultChecked:s,disabled:l,disableFocusRipple:u=!1,edge:h=!1,icon:f,id:p,inputProps:y,inputRef:g,name:b,onBlur:v,onChange:C,onFocus:k,readOnly:T,required:E=!1,tabIndex:L,type:O,value:W,slots:q={},slotProps:U={},...j}=e,[M,N]=wu({controlled:i,default:!!s,name:"SwitchBase",state:"checked"}),I=Bu(),V=rt=>{k&&k(rt),I&&I.onFocus&&I.onFocus(rt)},z=rt=>{v&&v(rt),I&&I.onBlur&&I.onBlur(rt)},Y=rt=>{if(rt.nativeEvent.defaultPrevented)return;const lt=rt.target.checked;N(lt),C&&C(rt,lt)};let D=l;I&&typeof D>"u"&&(D=I.disabled);const Z=O==="checkbox"||O==="radio",Q={...e,checked:M,disabled:D,disableFocusRipple:u,edge:h},it=Hq(Q),mt={slots:q,slotProps:{input:y,...U}},[K,P]=wr("root",{ref:r,elementType:Uq,className:it.root,shouldForwardComponentProp:!0,externalForwardedProps:{...mt,component:"span",...j},getSlotProps:rt=>({...rt,onFocus:lt=>{rt.onFocus?.(lt),V(lt)},onBlur:lt=>{rt.onBlur?.(lt),z(lt)}}),ownerState:Q,additionalProps:{centerRipple:!0,focusRipple:!u,disabled:D,role:void 0,tabIndex:null}}),[X,et]=wr("input",{ref:g,elementType:Wq,className:it.input,externalForwardedProps:mt,getSlotProps:rt=>({onChange:lt=>{rt.onChange?.(lt),Y(lt)}}),ownerState:Q,additionalProps:{autoFocus:n,checked:i,defaultChecked:s,disabled:D,id:Z?p:void 0,name:b,readOnly:T,required:E,tabIndex:L,type:O,...O==="checkbox"&&W===void 0?{}:{value:W}}});return w.jsxs(K,{...P,children:[w.jsx(X,{...et}),M?a:f]})}),Gq=Jr(w.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),Vq=Jr(w.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),Yq=Jr(w.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function Xq(t){return hr("MuiCheckbox",t)}const Jv=or("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Kq=t=>{const{classes:e,indeterminate:r,color:n,size:i}=t,a={root:["root",r&&"indeterminate",`color${Qt(n)}`,`size${Qt(i)}`]},s=fr(a,Xq,e);return{...e,...s}},Zq=ne(yL,{shouldForwardProp:t=>is(t)||t==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.indeterminate&&e.indeterminate,e[`size${Qt(r.size)}`],r.color!=="default"&&e[`color${Qt(r.color)}`]]}})(Xe(({theme:t})=>({color:(t.vars||t).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Zr(t.palette.action.active,t.palette.action.hoverOpacity)}}},...Object.entries(t.palette).filter(ui()).map(([e])=>({props:{color:e,disableRipple:!1},style:{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Zr(t.palette[e].main,t.palette.action.hoverOpacity)}}})),...Object.entries(t.palette).filter(ui()).map(([e])=>({props:{color:e},style:{[`&.${Jv.checked}, &.${Jv.indeterminate}`]:{color:(t.vars||t).palette[e].main},[`&.${Jv.disabled}`]:{color:(t.vars||t).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),Qq=w.jsx(Vq,{}),Jq=w.jsx(Gq,{}),tH=w.jsx(Yq,{}),g0=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiCheckbox"}),{checkedIcon:i=Qq,color:a="primary",icon:s=Jq,indeterminate:l=!1,indeterminateIcon:u=tH,inputProps:h,size:f="medium",disableRipple:p=!1,className:y,slots:g={},slotProps:b={},...v}=n,C=l?u:s,k=l?u:i,T={...n,disableRipple:p,color:a,indeterminate:l,size:f},E=Kq(T),L=b.input??h,[O,W]=wr("root",{ref:r,elementType:Zq,className:Te(E.root,y),shouldForwardComponentProp:!0,externalForwardedProps:{slots:g,slotProps:b,...v},ownerState:T,additionalProps:{type:"checkbox",icon:H.cloneElement(C,{fontSize:C.props.fontSize??f}),checkedIcon:H.cloneElement(k,{fontSize:k.props.fontSize??f}),disableRipple:p,slots:g,slotProps:{input:Q8(typeof L=="function"?L(T):L,{"data-indeterminate":l})}}});return w.jsx(O,{...W,classes:E})}),eH=gD({createStyledComponent:ne("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`maxWidth${Qt(String(r.maxWidth))}`],r.fixed&&e.fixed,r.disableGutters&&e.disableGutters]}}),useThemeProps:t=>gr({props:t,name:"MuiContainer"})}),k5=typeof hw({})=="function",rH=(t,e)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...e&&!t.vars&&{colorScheme:t.palette.mode}}),nH=t=>({color:(t.vars||t).palette.text.primary,...t.typography.body1,backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),bL=(t,e=!1)=>{const r={};e&&t.colorSchemes&&typeof t.getColorSchemeSelector=="function"&&Object.entries(t.colorSchemes).forEac
146h(([a,s])=>{const l=t.getColorSchemeSelector(a);l.startsWith("@")?r[l]={":root":{colorScheme:s.palette?.mode}}:r[l.replace(/\s*&/,"")]={colorScheme:s.palette?.mode}});let n={html:rH(t,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:{margin:0,...nH(t),"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}},...r};const i=t.components?.MuiCssBaseline?.styleOverrides;return i&&(n=[n,i]),n},e2="mui-ecs",iH=t=>{const e=bL(t,!1),r=Array.isArray(e)?e[0]:e;return!t.vars&&r&&(r.html[`:root:has(${e2})`]={colorScheme:t.palette.mode}),t.colorSchemes&&Object.entries(t.colorSchemes).forEach(([n,i])=>{const a=t.getColorSchemeSelector(n);a.startsWith("@")?r[a]={[`:root:not(:has(.${e2}))`]:{colorScheme:i.palette?.mode}}:r[a.replace(/\s*&/,"")]={[`&:not(:has(.${e2}))`]:{colorScheme:i.palette?.mode}}}),e},aH=hw(k5?({theme:t,enableColorScheme:e})=>bL(t,e):({theme:t})=>iH(t));function oH(t){const e=gr({props:t,name:"MuiCssBaseline"}),{children:r,enableColorScheme:n=!1}=e;return w.jsxs(H.Fragment,{children:[k5&&w.jsx(aH,{enableColorScheme:n}),!k5&&!n&&w.jsx("span",{className:e2,style:{display:"none"}}),r]})}function sH(t){const e=ns(t);return e.body===t?Es(t).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}function m0(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function g_(t){return parseInt(Es(t).getComputedStyle(t).paddingRight,10)||0}function lH(t){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(t.tagName),n=t.tagName==="INPUT"&&t.getAttribute("type")==="hidden";return r||n}function m_(t,e,r,n,i){const a=[e,r,...n];[].forEach.call(t.children,s=>{const l=!a.includes(s),u=!lH(s);l&&u&&m0(s,i)})}function tx(t,e){let r=-1;return t.some((n,i)=>e(n)?(r=i,!0):!1),r}function cH(t,e){const r=[],n=t.container;if(!e.disableScrollLock){if(sH(n)){const s=O8(Es(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${g_(n)+s}px`;const l=ns(n).querySelectorAll(".mui-fixed");[].forEach.call(l,u=>{r.push({value:u.style.paddingRight,property:"padding-right",el:u}),u.style.paddingRight=`${g_(u)+s}px`})}let a;if(n.parentNode instanceof DocumentFragment)a=ns(n).body;else{const s=n.parentElement,l=Es(n);a=s?.nodeName==="HTML"&&l.getComputedStyle(s).overflowY==="scroll"?s:n}r.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{r.forEach(({value:a,el:s,property:l})=>{a?s.style.setProperty(l,a):s.style.removeProperty(l)})}}function uH(t){const e=[];return[].forEach.call(t.children,r=>{r.getAttribute("aria-hidden")==="true"&&e.push(r)}),e}class hH{constructor(){this.modals=[],this.containers=[]}add(e,r){let n=this.modals.indexOf(e);if(n!==-1)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&m0(e.modalRef,!1);const i=uH(r);m_(r,e.mount,e.modalRef,i,!0);const a=tx(this.containers,s=>s.container===r);return a!==-1?(this.containers[a].modals.push(e),n):(this.containers.push({modals:[e],container:r,restore:null,hiddenSiblings:i}),n)}mount(e,r){const n=tx(this.containers,a=>a.modals.includes(e)),i=this.containers[n];i.restore||(i.restore=cH(i,r))}remove(e,r=!0){const n=this.modals.indexOf(e);if(n===-1)return n;const i=tx(this.containers,s=>s.modals.includes(e)),a=this.containers[i];if(a.modals.splice(a.modals.indexOf(e),1),this.modals.splice(n,1),a.modals.length===0)a.restore&&a.restore(),e.modalRef&&m0(e.modalRef,r),m_(a.container,e.mount,e.modalRef,a.hiddenSiblings,!1),this.containers.splice(i,1);else{const s=a.modals[a.modals.length-1];s.modalRef&&m0(s.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}const fH=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function dH(t){const e=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(e)?t.contentEditable==="true"||(t.nodeName==="AUDIO"||t.nodeName==="VIDEO"||t.nodeName==="DETAILS")&&t.getAttribute("tabindex")===null?0:t.tabIndex:e}function pH(t){if(t.tagName!=="INPUT"||t.type!=="radio"||!t.name)return!1;const e=n=>t.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=e(`[name="${t.name}"]:checked`);return r||(r=e(`[name="${t.name}"]`)),r!==t}function gH(t){return!(t.disabled||t.tagName==="INPUT"&&t.type==="hidden"||pH(t))}function mH(t){const e=[],r=[];
146return Array.from(t.querySelectorAll(fH)).forEach((n,i)=>{const a=dH(n);a===-1||!gH(n)||(a===0?e.push(n):r.push({documentOrder:i,tabIndex:a,node:n}))}),r.sort((n,i)=>n.tabIndex===i.tabIndex?n.documentOrder-i.documentOrder:n.tabIndex-i.tabIndex).map(n=>n.node).concat(e)}function yH(){return!0}function bH(t){const{children:e,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:i=!1,getTabbable:a=mH,isEnabled:s=yH,open:l}=t,u=H.useRef(!1),h=H.useRef(null),f=H.useRef(null),p=H.useRef(null),y=H.useRef(null),g=H.useRef(!1),b=H.useRef(null),v=ta(Zf(e),b),C=H.useRef(null);H.useEffect(()=>{!l||!b.current||(g.current=!r)},[r,l]),H.useEffect(()=>{if(!l||!b.current)return;const E=ns(b.current);return b.current.contains(E.activeElement)||(b.current.hasAttribute("tabIndex")||b.current.setAttribute("tabIndex","-1"),g.current&&b.current.focus()),()=>{i||(p.current&&p.current.focus&&(u.current=!0,p.current.focus()),p.current=null)}},[l]),H.useEffect(()=>{if(!l||!b.current)return;const E=ns(b.current),L=q=>{C.current=q,!(n||!s()||q.key!=="Tab")&&E.activeElement===b.current&&q.shiftKey&&(u.current=!0,f.current&&f.current.focus())},O=()=>{const q=b.current;if(q===null)return;if(!E.hasFocus()||!s()||u.current){u.current=!1;return}if(q.contains(E.activeElement)||n&&E.activeElement!==h.current&&E.activeElement!==f.current)return;if(E.activeElement!==y.current)y.current=null;else if(y.current!==null)return;if(!g.current)return;let U=[];if((E.activeElement===h.current||E.activeElement===f.current)&&(U=a(b.current)),U.length>0){const j=!!(C.current?.shiftKey&&C.current?.key==="Tab"),M=U[0],N=U[U.length-1];typeof M!="string"&&typeof N!="string"&&(j?N.focus():M.focus())}else q.focus()};E.addEventListener("focusin",O),E.addEventListener("keydown",L,!0);const W=setInterval(()=>{E.activeElement&&E.activeElement.tagName==="BODY"&&O()},50);return()=>{clearInterval(W),E.removeEventListener("focusin",O),E.removeEventListener("keydown",L,!0)}},[r,n,i,s,l,a]);const k=E=>{p.current===null&&(p.current=E.relatedTarget),g.current=!0,y.current=E.target;const L=e.props.onFocus;L&&L(E)},T=E=>{p.current===null&&(p.current=E.relatedTarget),g.current=!0};return w.jsxs(H.Fragment,{children:[w.jsx("div",{tabIndex:l?0:-1,onFocus:T,ref:h,"data-testid":"sentinelStart"}),H.cloneElement(e,{ref:v,onFocus:k}),w.jsx("div",{tabIndex:l?0:-1,onFocus:T,ref:f,"data-testid":"sentinelEnd"})]})}function vH(t){return typeof t=="function"?t():t}function xH(t){return t?t.props.hasOwnProperty("in"):!1}const y_=()=>{},x1=new hH;function SH(t){const{container:e,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:u,open:h,rootRef:f}=t,p=H.useRef({}),y=H.useRef(null),g=H.useRef(null),b=ta(g,f),[v,C]=H.useState(!h),k=xH(l);let T=!0;(t["aria-hidden"]==="false"||t["aria-hidden"]===!1)&&(T=!1);const E=()=>ns(y.current),L=()=>(p.current.modalRef=g.current,p.current.mount=y.current,p.current),O=()=>{x1.mount(L(),{disableScrollLock:n}),g.current&&(g.current.scrollTop=0)},W=so(()=>{const Y=vH(e)||E().body;x1.add(L(),Y),g.current&&O()}),q=()=>x1.isTopModal(L()),U=so(Y=>{y.current=Y,Y&&(h&&q()?O():g.current&&m0(g.current,T))}),j=H.useCallback(()=>{x1.remove(L(),T)},[T]);H.useEffect(()=>()=>{j()},[j]),H.useEffect(()=>{h?W():(!k||!i)&&j()},[h,j,k,i,W]);const M=Y=>D=>{Y.onKeyDown?.(D),!(D.key!=="Escape"||D.which===229||!q())&&(r||(D.stopPropagation(),u&&u(D,"escapeKeyDown")))},N=Y=>D=>{Y.onClick?.(D),D.target===D.currentTarget&&u&&u(D,"backdropClick")};return{getRootProps:(Y={})=>{const D=$8(t);delete D.onTransitionEnter,delete D.onTransitionExited;const Z={...D,...Y};return{role:"presentation",...Z,onKeyDown:M(Z),ref:b}},getBackdropProps:(Y={})=>{const D=Y;return{"aria-hidden":!0,...D,onClick:N(D),open:h}},getTransitionProps:()=>{const Y=()=>{C(!1),a&&a()},D=()=>{C(!0),s&&s(),i&&j()};return{onEnter:Tk(Y,l?.props.onEnter??y_),onExited:Tk(D,l?.props.onExited??y_)}},rootRef:b,portalRef:U,isTopModal:q,exited:v,hasTransition:k}}function wH(t){return hr("MuiModal",t)}or("MuiModal",["root","hidden","backdrop"]);const CH=t=>{const{open:e,exited:r,classes:n}=t;return fr({root:["root",!e&&r&&"hidden"],backdrop:["backdrop"]},wH,n)},kH=ne("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,!r.open&&r.exited&&e.hidden]}})(Xe(({theme:t})=>({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),_H=ne(gL,{name:"MuiModal",slot:"Backdrop",overridesResolver:(t,e)=>e.backdrop})({zIndex:-1}),vL=H.forwardRef(function(e,r){const n=gr({name:"MuiModal",props:e}),{BackdropComponent:i=_H,BackdropProps:a,classes:s,className:l,closeAfterTransition:u=!1,children:h,container:f,component:p,components:y={},componentsProps:g={},disableAutoFocus:b=!1,disableEnforceFocus:v=!1,disableEscapeKeyDown:C=!1,disablePortal:k=!1,disableRestoreFocus:T=!1,disableScrollLock:E=!1,hideBackdrop:L=!1,keepMounted:O=!1,onBackdropClick:W,onClose:q,onTransitionEnter:U,onTransitionExited:j,open:M,slotProps:N={},slots:I={},theme:V,...z}=n,Y={...n,closeAfterTransition:u,disableAutoFocus:b,disableEnforceFocus:v,disableEscapeKeyDown:C,disablePortal:k,disableRestoreFocus:T,disableScrollLock:E,hideBackdrop:L,keepMounted:O},{getRootProps:D,getBackdropProps:Z,getTransitionProps:Q,portalRef:it,isTopModal:mt,exited:K,hasTransition:P}=SH({...Y,rootRef:r}),X={...Y,exited:K}
146,et=CH(X),rt={};if(h.props.tabIndex===void 0&&(rt.tabIndex="-1"),P){const{onEnter:Rt,onExited:wt}=Q();rt.onEnter=Rt,rt.onExited=wt}const lt={slots:{root:y.Root,backdrop:y.Backdrop,...I},slotProps:{...g,...N}},[ht,bt]=wr("root",{ref:r,elementType:kH,externalForwardedProps:{...lt,...z,component:p},getSlotProps:D,ownerState:X,className:Te(l,et?.root,!X.open&&X.exited&&et?.hidden)}),[yt,kt]=wr("backdrop",{ref:a?.ref,elementType:i,externalForwardedProps:lt,shouldForwardComponentProp:!0,additionalProps:a,getSlotProps:Rt=>Z({...Rt,onClick:wt=>{W&&W(wt),Rt?.onClick&&Rt.onClick(wt)}}),className:Te(a?.className,et?.backdrop),ownerState:X});return!O&&!M&&(!P||K)?null:w.jsx(dL,{ref:it,container:f,disablePortal:k,children:w.jsxs(ht,{...bt,children:[!L&&i?w.jsx(yt,{...kt}):null,w.jsx(bH,{disableEnforceFocus:v,disableAutoFocus:b,disableRestoreFocus:T,isEnabled:mt,open:M,children:H.cloneElement(h,rt)})]})})});function AH(t){return hr("MuiDialog",t)}const ex=or("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),xL=H.createContext({}),TH=ne(gL,{name:"MuiDialog",slot:"Backdrop",overrides:(t,e)=>e.backdrop})({zIndex:-1}),LH=t=>{const{classes:e,scroll:r,maxWidth:n,fullWidth:i,fullScreen:a}=t,s={root:["root"],container:["container",`scroll${Qt(r)}`],paper:["paper",`paperScroll${Qt(r)}`,`paperWidth${Qt(String(n))}`,i&&"paperFullWidth",a&&"paperFullScreen"]};return fr(s,AH,e)},EH=ne(vL,{name:"MuiDialog",slot:"Root",overridesResolver:(t,e)=>e.root})({"@media print":{position:"absolute !important"}}),MH=ne("div",{name:"MuiDialog",slot:"Container",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.container,e[`scroll${Qt(r.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),RH=ne(Nu,{name:"MuiDialog",slot:"Paper",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.paper,e[`scrollPaper${Qt(r.scroll)}`],e[`paperWidth${Qt(String(r.maxWidth))}`],r.fullWidth&&e.paperFullWidth,r.fullScreen&&e.paperFullScreen]}})(Xe(({theme:t})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:t.breakpoints.unit==="px"?Math.max(t.breakpoints.values.xs,444):`max(${t.breakpoints.values.xs}${t.breakpoints.unit}, 444px)`,[`&.${ex.paperScrollBody}`]:{[t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(t.breakpoints.values).filter(e=>e!=="xs").map(e=>({props:{maxWidth:e},style:{maxWidth:`${t.breakpoints.values[e]}${t.breakpoints.unit}`,[`&.${ex.paperScrollBody}`]:{[t.breakpoints.down(t.breakpoints.values[e]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:e})=>e.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${ex.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),NH=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiDialog"}),i=Ru(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":s,"aria-labelledby":l,"aria-modal":u=!0,BackdropComponent:h,BackdropProps:f,children:p,className:y,disableEscapeKeyDown:g=!1,fullScreen:b=!1,fullWidth:v=!1,maxWidth:C="sm",onBackdropClick:k,onClick:T,onClose:E,open:L,PaperComponent:O=Nu,PaperProps:W={},scroll:q="paper",slots:U={},slotProps:j={},TransitionComponent:M=B2,transitionDuration:N=a,TransitionProps:I,...V}=n,z={...n,disableEscapeKeyDown:g,fullScreen:b,fullWidth:v,maxWidth:C,scroll:q},Y=LH(z),D=H.useRef(),Z=Ht=>{D.current=Ht.target===Ht.currentTarget},Q=Ht=>{T&&T(Ht),D.current&&(D.current=null,k&&k(Ht),E&&E(Ht,"backdropClick"))},it=Fh(l),mt=H.useMemo(()=>({titleId:it}),[it]),K={transition:M,...U},P={transition:I,paper:W,backdrop:f,...j},X={slots:K,slotProps:P},[et,rt]=wr("root",{elementType:EH,shouldForwardComponentProp:!0,externalForwardedProps:X,ownerState:z,className:Te(Y.root,y),ref:r}),[lt,ht]=wr("backdrop",{elementType:TH,shouldForwardComponentProp:!0,externalForwardedProps:X,ownerState:z}),[bt,yt]=wr("paper",{elementType:RH,shouldForwardComponentProp:!0,externalForwardedProps:X,ownerState:z,className:Te(Y.paper,W.className)}),[kt,Rt]=wr("container",{elementType:MH,externalForwardedProps:X,ownerState:z,className:Te(Y.container)}),[wt,qt]=wr("transition",{elementType:B2,externalForwardedProps:X,ownerState:z,additionalProps:{appear:!0,in:L,timeout:N,role:"presentation"}});return w.jsx(et,{closeAfterTransition:!0,slots:{backdrop:lt},slotProps:{backdrop:{transitionDuration:N,as:h,...ht}},disableEscapeKeyDown:g,onClose:E,open:L,onClick:Q,...rt,...V,children:w.jsx(wt,{...qt,children:w.jsx(kt,{onMouseDown:Z,...Rt,children:w.jsx(bt,{as:O,elevation:24,role:"dialog","aria-describedby":s,"aria-labelledby":it,"aria-modal":u,...yt,children:w.jsx(xL.Provider,{value:mt,children:p})})})})})});function BH(t){return hr("MuiDialogContent",t)}or("MuiDialogContent",["root","dividers"]);function OH(t){return hr("MuiDialogTitle",t)}const PH=or("MuiDialogTitle",["root"]),$H=t=>{const{classes:e,dividers:r}=t;
146return fr({root:["root",r&&"dividers"]},BH,e)},jH=ne("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.dividers&&e.dividers]}})(Xe(({theme:t})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:e})=>e.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(t.vars||t).palette.divider}`,borderBottom:`1px solid ${(t.vars||t).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${PH.root} + &`]:{paddingTop:0}}}]}))),DH=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiDialogContent"}),{className:i,dividers:a=!1,...s}=n,l={...n,dividers:a},u=$H(l);return w.jsx(jH,{className:Te(u.root,i),ownerState:l,ref:r,...s})}),IH=t=>{const{classes:e}=t;return fr({root:["root"]},OH,e)},zH=ne(Ie,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(t,e)=>e.root})({padding:"16px 24px",flex:"0 0 auto"}),FH=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiDialogTitle"}),{className:i,id:a,...s}=n,l=n,u=IH(l),{titleId:h=a}=H.useContext(xL);return w.jsx(zH,{component:"h2",className:Te(u.root,i),ownerState:l,ref:r,variant:"h6",id:a??h,...s})});function qH(t){return hr("MuiDivider",t)}const b_=or("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),HH=t=>{const{absolute:e,children:r,classes:n,flexItem:i,light:a,orientation:s,textAlign:l,variant:u}=t;return fr({root:["root",e&&"absolute",u,a&&"light",s==="vertical"&&"vertical",i&&"flexItem",r&&"withChildren",r&&s==="vertical"&&"withChildrenVertical",l==="right"&&s!=="vertical"&&"textAlignRight",l==="left"&&s!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",s==="vertical"&&"wrapperVertical"]},qH,n)},UH=ne("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.absolute&&e.absolute,e[r.variant],r.light&&e.light,r.orientation==="vertical"&&e.vertical,r.flexItem&&e.flexItem,r.children&&e.withChildren,r.children&&r.orientation==="vertical"&&e.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&e.textAlignRight,r.textAlign==="left"&&r.orientation!=="vertical"&&e.textAlignLeft]}})(Xe(({theme:t})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:Zr(t.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:t.spacing(2),marginRight:t.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:t.spacing(1),marginBottom:t.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:e})=>!!e.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:e})=>e.children&&e.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:e})=>e.orientation==="vertical"&&e.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:e})=>e.textAlign==="right"&&e.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:e})=>e.textAlign==="left"&&e.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),WH=ne("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.wrapper,r.orientation==="vertical"&&e.wrapperVertical]}})(Xe(({theme:t})=>({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`}}]}))),Mc=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiDivider"}),{absolute:i=!1,children:a,className:s,orientation:l="horizontal",component:u=a||l==="vertical"?"div":"hr",flexItem:h=!1,light:f=!1,role:p=u!=="hr"?"separator":void 0,textAlign:y="center",variant:g="fullWidth",...b}=n,v={...n,absolute:i,component:u,flexItem:h,light:f,orientation:l,role:p,textAlign:y,variant:g},C=HH(v);return w.jsx(UH,{as:u,className:Te(C.root,s),role:p,ref:r,ownerState:v,"aria-orientation":p==="separator"&&(u!=="hr"||l==="vertical")?l:void 0,...b,children:a?w.jsx(WH,{className:C.wrapper,ownerState:v,children:a}):null})});Mc&&(Mc.muiSkipListHighlight=!0);function GH(t,e,r){const n=e.getBoundingClientRect(),i=r&&r.getBoundingClientRect(),a=Es(e);let s;if(e.fakeTransform)s=e.fakeTransform;else{const h=a.getComputedStyle(e);s=h.getPropertyValue("-webkit-transform")||h.getPropertyValue("transform")}let l=0,u=0;if(s&&s!=="none"&&typeof s=="string"){const h=s.split("(")[1].split(")")[0].split(",");l=parseInt(h[4],10),u=parseInt(h[5],10)}return t==="left"?i?`translateX(${i.right+l-n.left}px)`:`translateX(${a.innerWidth+l-n.left}px)`:t==="right"?i?`translateX(-${n.right-i.left-l}px)`:`translateX(-${n.left+n.width-l}px)`:t==="up"?i?`translateY(${i.bottom+u-n.top}px)`:`translateY(${a.innerHeight+u-n.top}px)`:i?`translateY(-${n.top-i.top+n.height-u}px)`:`translateY(-${n.top+n.height-u}px)`}function VH(t){return typeof t=="function"?t():t}function S1(t,e,r){const n=VH(r),i=GH(t,e,n);i&&(e.style.webkitTransform=i,e.style.transform=i)}const YH=H.forwardRef(function(e,r){const n=Ru(),i={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},a={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:s,appear:l=!0,children:u,container:h,direction:f="down",easing:p=i,in:y,onEnter:g,onEntered:b,onEntering:v,onExit:C,onExited:k,onExiting:T,style:E,timeout:L=a,TransitionComponent:O=ul,...W}=e,q=H.useRef(null),U=ta(Zf(u),q,r),j=Q=>it=>{Q&&(it===void 0?Q(q.current):Q(q.current,it))},M=j((Q,it)=>{S1(f,Q,h),pw(Q),g&&g(Q,it)}),N=j((Q,it)=>{const mt=Oh({timeout:L,style:E,easing:p},{mode:"enter"});Q.style.webkitTransition=n.transitions.create("-webkit-transform",{...mt}),Q.style.transition=n.transitions.create("transform",{...mt}),Q.style.webkitTransform="none",Q.style.transform="none",v&&v(Q,it)}),I=j(b),V=j(T),z=j(Q=>{const it=Oh({timeout:L,style:E,easing:p},{mode:"exit"});Q.style.webkitTransition=n.transitions.create("-webkit-transform",it),Q.style.transition=n.transitions.create("transform",it),S1(f,Q,h),C&&C(Q)}),Y=j(Q=>{Q.style.webkitTransition="",Q.style.transition="",k&&k(Q)}),D=Q=>{s&&s(q.current,Q)},Z=H.useCallback(()=>{q.current&&S1(f,q.current,h)},[f,h]);return H.useEffect(()=>{if(y||f==="down"||f==="right")return;const Q=nm(()=>{q.current&&S1(f,q.current,h)}),it=Es(q.current);return it.addEventListener("resize",Q),()=>{Q.clear(),it.removeEventListener("resize",Q)}},[f,y,h]),H.useEffect(()=>{y||Z()},[y,Z]),w.jsx(O,{nodeRef:q,onEnter:M,onEntered:I,onEntering:N,onExit:z,onExited:Y,onExiting:V,addEndListener:D,appear:l,in:y,timeout:L,...W,children:(Q,{ownerState:it,...mt})=>H.cloneElement(u,{ref:U,style:{visibility:Q==="exited"&&!y?"hidden":void 0,...E,...u.props.style},...mt})})}),XH=t=>{const{classes:e,disableUnderline:r,startAdornment:n,endAdornment:i,size:a,hiddenLabel:s,multiline:l}=t,u={root:["root",!r&&"underline",n&&"adornedStart",i&&"adornedEnd",a==="small"&&`size${Qt(
146a)}`,s&&"hiddenLabel",l&&"multiline"],input:["input"]},h=fr(u,sq,e);return{...e,...h}},KH=ne(Vy,{shouldForwardProp:t=>is(t)||t==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[...Wy(t,e),!r.disableUnderline&&e.underline]}})(Xe(({theme:t})=>{const e=t.palette.mode==="light",r=e?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",n=e?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=e?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=e?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:n,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:n}},[`&.${ks.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:n},[`&.${ks.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:a},variants:[{props:({ownerState:s})=>!s.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${ks.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ks.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`:r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${ks.disabled}, .${ks.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${ks.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter(ui()).map(([s])=>({props:{disableUnderline:!1,color:s},style:{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[s]?.main}`}}})),{props:({ownerState:s})=>s.startAdornment,style:{paddingLeft:12}},{props:({ownerState:s})=>s.endAdornment,style:{paddingRight:12}},{props:({ownerState:s})=>s.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:s,size:l})=>s.multiline&&l==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel&&s.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),ZH=ne(Yy,{name:"MuiFilledInput",slot:"Input",overridesResolver:Gy})(Xe(({theme:t})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&e.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Cw=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiFilledInput"}),{disableUnderline:i=!1,components:a={},componentsProps:s,fullWidth:l=!1,hiddenLabel:u,inputComponent:h="input",multiline:f=!1,slotProps:p,slots:y={},type:g="text",...b}=n,v={...n,disableUnderline:i,fullWidth:l,inputComponent:h,multiline:f,type:g},C=XH(n),k={root:{ownerState:v},input:{ownerState:v}},T=p??s?Na(k,p??s):k,E=y.root??a.Root??KH,L=y.input??a.Input??ZH;return w.jsx(ww,{slots:{root:E,input:L},slotProps:T,fullWidth:l,inputComponent:h,multiline:f,ref:r,type:g,...b,classes:C})});Cw.muiName="Input";function QH(t){return hr("MuiFormControl",t)}or("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const JH=t=>{const{classes:e,margin:r,fullWidth:n}=t,i={root:["root",r!=="none"&&`margin${Qt(r)}`,n&&"fullWidth"]};return fr(i,QH,e)},tU=ne("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`margin${Qt(r.margin)}`],r.fullWidth&&e.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),bu=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiFormControl"}),{children:i,className:a,color:s="primary",component:l="div",disabled:u=!1,error:h=!1,focused:f,fullWidth:p=!1,hiddenLabel:y=!1,margin:g="none",required:b=!1,size:v="medium",variant:C="outlined",...k}=n,T={...n,color:s,component:l,disabled:u,error:h,fullWidth:p,hiddenLabel:y,margin:g,required:b,size:v,variant:C}
146,E=JH(T),[L,O]=H.useState(()=>{let Y=!1;return i&&H.Children.forEach(i,D=>{if(!Xv(D,["Input","Select"]))return;const Z=Xv(D,["Select"])?D.props.input:D;Z&&rq(Z.props)&&(Y=!0)}),Y}),[W,q]=H.useState(()=>{let Y=!1;return i&&H.Children.forEach(i,D=>{Xv(D,["Input","Select"])&&(N2(D.props,!0)||N2(D.props.inputProps,!0))&&(Y=!0)}),Y}),[U,j]=H.useState(!1);u&&U&&j(!1);const M=f!==void 0&&!u?f:U;let N;H.useRef(!1);const I=H.useCallback(()=>{q(!0)},[]),V=H.useCallback(()=>{q(!1)},[]),z=H.useMemo(()=>({adornedStart:L,setAdornedStart:O,color:s,disabled:u,error:h,filled:W,focused:M,fullWidth:p,hiddenLabel:y,size:v,onBlur:()=>{j(!1)},onFocus:()=>{j(!0)},onEmpty:V,onFilled:I,registerEffect:N,required:b,variant:C}),[L,s,u,h,W,M,p,y,N,V,I,b,v,C]);return w.jsx(Uy.Provider,{value:z,children:w.jsx(tU,{as:l,ownerState:T,className:Te(E.root,a),ref:r,...k,children:i})})});function eU(t){return hr("MuiFormControlLabel",t)}const e0=or("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),rU=t=>{const{classes:e,disabled:r,labelPlacement:n,error:i,required:a}=t,s={root:["root",r&&"disabled",`labelPlacement${Qt(n)}`,i&&"error",a&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",i&&"error"]};return fr(s,eU,e)},nU=ne("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`& .${e0.label}`]:e.label},e.root,e[`labelPlacement${Qt(r.labelPlacement)}`]]}})(Xe(({theme:t})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${e0.disabled}`]:{cursor:"default"},[`& .${e0.label}`]:{[`&.${e0.disabled}`]:{color:(t.vars||t).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:e})=>e==="start"||e==="top"||e==="bottom",style:{marginLeft:16}}]}))),iU=ne("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(t,e)=>e.asterisk})(Xe(({theme:t})=>({[`&.${e0.error}`]:{color:(t.vars||t).palette.error.main}}))),aU=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiFormControlLabel"}),{checked:i,className:a,componentsProps:s={},control:l,disabled:u,disableTypography:h,inputRef:f,label:p,labelPlacement:y="end",name:g,onChange:b,required:v,slots:C={},slotProps:k={},value:T,...E}=n,L=Bu(),O=u??l.props.disabled??L?.disabled,W=v??l.props.required,q={disabled:O,required:W};["checked","name","onChange","value","inputRef"].forEach(Y=>{typeof l.props[Y]>"u"&&typeof n[Y]<"u"&&(q[Y]=n[Y])});const U=Jf({props:n,muiFormControl:L,states:["error"]}),j={...n,disabled:O,labelPlacement:y,required:W,error:U.error},M=rU(j),N={slots:C,slotProps:{...s,...k}},[I,V]=wr("typography",{elementType:Ie,externalForwardedProps:N,ownerState:j});let z=p;return z!=null&&z.type!==Ie&&!h&&(z=w.jsx(I,{component:"span",...V,className:Te(M.label,V?.className),children:z})),w.jsxs(nU,{className:Te(M.root,a),ownerState:j,ref:r,...E,children:[H.cloneElement(l,q),W?w.jsxs("div",{children:[z,w.jsxs(iU,{ownerState:j,"aria-hidden":!0,className:M.asterisk,children:[" ","*"]})]}):z]})});function oU(t){return hr("MuiFormHelperText",t)}const v_=or("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var x_;const sU=t=>{const{classes:e,contained:r,size:n,disabled:i,error:a,filled:s,focused:l,required:u}=t,h={root:["root",i&&"disabled",a&&"error",n&&`size${Qt(n)}`,r&&"contained",l&&"focused",s&&"filled",u&&"required"]};return fr(h,oU,e)},lU=ne("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.size&&e[`size${Qt(r.size)}`],r.contained&&e.contained,r.filled&&e.filled]}})(Xe(({theme:t})=>({color:(t.vars||t).palette.text.secondary,...t.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${v_.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${v_.error}`]:{color:(t.vars||t).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),cU=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiFormHelperText"}),{children:i,className:a,component:s="p",disabled:l,error:u,filled:h,focused:f,margin:p,required:y,variant:g,...b}=n,v=Bu(),C=Jf({props:n,muiFormControl:v,states:["variant","size","disabled","error","filled","focused","required"]}),k={...n,component:s,contained:C.variant==="filled"||C.variant==="outlined",variant:C.variant,size:C.size,disabled:C.disabled,error:C.error,filled:C.filled,focused:C.focused,required:C.required};delete k.ownerState;const T=sU(k);return w.jsx(lU,{as:s,className:Te(T.root,a),ref:r,...b,ownerState:k,children:i===" "?x_||(x_=w.jsx("span",{className:"notranslate","aria-hidden":!0,
146children:"​"})):i})});function uU(t){return hr("MuiFormLabel",t)}const y0=or("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),hU=t=>{const{classes:e,color:r,focused:n,disabled:i,error:a,filled:s,required:l}=t,u={root:["root",`color${Qt(r)}`,i&&"disabled",a&&"error",s&&"filled",n&&"focused",l&&"required"],asterisk:["asterisk",a&&"error"]};return fr(u,uU,e)},fU=ne("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.color==="secondary"&&e.colorSecondary,r.filled&&e.filled]}})(Xe(({theme:t})=>({color:(t.vars||t).palette.text.secondary,...t.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(t.palette).filter(ui()).map(([e])=>({props:{color:e},style:{[`&.${y0.focused}`]:{color:(t.vars||t).palette[e].main}}})),{props:{},style:{[`&.${y0.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${y0.error}`]:{color:(t.vars||t).palette.error.main}}}]}))),dU=ne("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(t,e)=>e.asterisk})(Xe(({theme:t})=>({[`&.${y0.error}`]:{color:(t.vars||t).palette.error.main}}))),pU=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiFormLabel"}),{children:i,className:a,color:s,component:l="label",disabled:u,error:h,filled:f,focused:p,required:y,...g}=n,b=Bu(),v=Jf({props:n,muiFormControl:b,states:["color","required","focused","disabled","error","filled"]}),C={...n,color:v.color||"primary",component:l,disabled:v.disabled,error:v.error,filled:v.filled,focused:v.focused,required:v.required},k=hU(C);return w.jsxs(fU,{as:l,ownerState:C,className:Te(k.root,a),ref:r,...g,children:[i,v.required&&w.jsxs(dU,{ownerState:C,"aria-hidden":!0,className:k.asterisk,children:[" ","*"]})]})}),S_=H.createContext();function gU(t){return hr("MuiGrid",t)}const mU=[0,1,2,3,4,5,6,7,8,9,10],yU=["column-reverse","column","row-reverse","row"],bU=["nowrap","wrap-reverse","wrap"],Og=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],O0=or("MuiGrid",["root","container","item","zeroMinWidth",...mU.map(t=>`spacing-xs-${t}`),...yU.map(t=>`direction-xs-${t}`),...bU.map(t=>`wrap-xs-${t}`),...Og.map(t=>`grid-xs-${t}`),...Og.map(t=>`grid-sm-${t}`),...Og.map(t=>`grid-md-${t}`),...Og.map(t=>`grid-lg-${t}`),...Og.map(t=>`grid-xl-${t}`)]);function vU({theme:t,ownerState:e}){let r;return t.breakpoints.keys.reduce((n,i)=>{let a={};if(e[i]&&(r=e[i]),!r)return n;if(r===!0)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(r==="auto")a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const s=Mf({values:e.columns,breakpoints:t.breakpoints.values}),l=typeof s=="object"?s[i]:s;if(l==null)return n;const u=`${Math.round(r/l*1e8)/1e6}%`;let h={};if(e.container&&e.item&&e.columnSpacing!==0){const f=t.spacing(e.columnSpacing);if(f!=="0px"){const p=`calc(${u} + ${f})`;h={flexBasis:p,maxWidth:p}}}a={flexBasis:u,flexGrow:0,maxWidth:u,...h}}return t.breakpoints.values[i]===0?Object.assign(n,a):n[t.breakpoints.up(i)]=a,n},{})}function xU({theme:t,ownerState:e}){const r=Mf({values:e.direction,breakpoints:t.breakpoints.values});return es({theme:t},r,n=>{const i={flexDirection:n};return n.startsWith("column")&&(i[`& > .${O0.item}`]={maxWidth:"none"}),i})}function SL({breakpoints:t,values:e}){let r="";Object.keys(e).forEach(i=>{r===""&&e[i]!==0&&(r=i)});const n=Object.keys(t).sort((i,a)=>t[i]-t[a]);return n.slice(0,n.indexOf(r))}function SU({theme:t,ownerState:e}){const{container:r,rowSpacing:n}=e;let i={};if(r&&n!==0){const a=Mf({values:n,breakpoints:t.breakpoints.values});let s;typeof a=="object"&&(s=SL({breakpoints:t.breakpoints.values,values:a})),i=es({theme:t},a,(l,u)=>{const h=t.spacing(l);return h!=="0px"?{marginTop:`calc(-1 * ${h})`,[`& > .${O0.item}`]:{paddingTop:h}}:s?.includes(u)?{}:{marginTop:0,[`& > .${O0.item}`]:{paddingTop:0}}})}return i}function wU({theme:t,ownerState:e}){const{container:r,columnSpacing:n}=e;let i={};if(r&&n!==0){const a=Mf({values:n,breakpoints:t.breakpoints.values});let s;typeof a=="object"&&(s=SL({breakpoints:t.breakpoints.values,values:a})),i=es({theme:t},a,(l,u)=>{const h=t.spacing(l);if(h!=="0px"){const f=`calc(-1 * ${h})`;return{width:`calc(100% + ${h})`,marginLeft:f,[`& > .${O0.item}`]:{paddingLeft:h}}}return s?.includes(u)?{}:{width:"100%",marginLeft:0,[`& > .${O0.item}`]:{paddingLeft:0}}})}return i}function CU(t,e,r={}){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[r[`spacing-xs-${String(t)}`]];const n=[];return e.forEach(i=>
146{const a=t[i];Number(a)>0&&n.push(r[`spacing-${i}-${String(a)}`])}),n}const kU=ne("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t,{container:n,direction:i,item:a,spacing:s,wrap:l,zeroMinWidth:u,breakpoints:h}=r;let f=[];n&&(f=CU(s,h,e));const p=[];return h.forEach(y=>{const g=r[y];g&&p.push(e[`grid-${y}-${String(g)}`])}),[e.root,n&&e.container,a&&e.item,u&&e.zeroMinWidth,...f,i!=="row"&&e[`direction-xs-${String(i)}`],l!=="wrap"&&e[`wrap-xs-${String(l)}`],...p]}})(({ownerState:t})=>({boxSizing:"border-box",...t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...t.item&&{margin:0},...t.zeroMinWidth&&{minWidth:0},...t.wrap!=="wrap"&&{flexWrap:t.wrap}}),xU,SU,wU,vU);function _U(t,e){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[`spacing-xs-${String(t)}`];const r=[];return e.forEach(n=>{const i=t[n];if(Number(i)>0){const a=`spacing-${n}-${String(i)}`;r.push(a)}}),r}const AU=t=>{const{classes:e,container:r,direction:n,item:i,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:u}=t;let h=[];r&&(h=_U(a,u));const f=[];u.forEach(y=>{const g=t[y];g&&f.push(`grid-${y}-${String(g)}`)});const p={root:["root",r&&"container",i&&"item",l&&"zeroMinWidth",...h,n!=="row"&&`direction-xs-${String(n)}`,s!=="wrap"&&`wrap-xs-${String(s)}`,...f]};return fr(p,gU,e)},xn=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiGrid"}),{breakpoints:i}=Ru(),a=Dy(n),{className:s,columns:l,columnSpacing:u,component:h="div",container:f=!1,direction:p="row",item:y=!1,rowSpacing:g,spacing:b=0,wrap:v="wrap",zeroMinWidth:C=!1,...k}=a,T=g||b,E=u||b,L=H.useContext(S_),O=f?l||12:L,W={},q={...k};i.keys.forEach(M=>{k[M]!=null&&(W[M]=k[M],delete q[M])});const U={...a,columns:O,container:f,direction:p,item:y,rowSpacing:T,columnSpacing:E,wrap:v,zeroMinWidth:C,spacing:b,...W,breakpoints:i.keys},j=AU(U);return w.jsx(S_.Provider,{value:O,children:w.jsx(kU,{ownerState:U,className:Te(j.root,s),as:h,ref:r,...q})})});function _5(t){return`scale(${t}, ${t**2})`}const TU={entering:{opacity:1,transform:_5(1)},entered:{opacity:1,transform:"none"}},rx=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),O2=H.forwardRef(function(e,r){const{addEndListener:n,appear:i=!0,children:a,easing:s,in:l,onEnter:u,onEntered:h,onEntering:f,onExit:p,onExited:y,onExiting:g,style:b,timeout:v="auto",TransitionComponent:C=ul,...k}=e,T=Cf(),E=H.useRef(),L=Ru(),O=H.useRef(null),W=ta(O,Zf(a),r),q=Y=>D=>{if(Y){const Z=O.current;D===void 0?Y(Z):Y(Z,D)}},U=q(f),j=q((Y,D)=>{pw(Y);const{duration:Z,delay:Q,easing:it}=Oh({style:b,timeout:v,easing:s},{mode:"enter"});let mt;v==="auto"?(mt=L.transitions.getAutoHeightDuration(Y.clientHeight),E.current=mt):mt=Z,Y.style.transition=[L.transitions.create("opacity",{duration:mt,delay:Q}),L.transitions.create("transform",{duration:rx?mt:mt*.666,delay:Q,easing:it})].join(","),u&&u(Y,D)}),M=q(h),N=q(g),I=q(Y=>{const{duration:D,delay:Z,easing:Q}=Oh({style:b,timeout:v,easing:s},{mode:"exit"});let it;v==="auto"?(it=L.transitions.getAutoHeightDuration(Y.clientHeight),E.current=it):it=D,Y.style.transition=[L.transitions.create("opacity",{duration:it,delay:Z}),L.transitions.create("transform",{duration:rx?it:it*.666,delay:rx?Z:Z||it*.333,easing:Q})].join(","),Y.style.opacity=0,Y.style.transform=_5(.75),p&&p(Y)}),V=q(y),z=Y=>{v==="auto"&&T.start(E.current||0,Y),n&&n(O.current,Y)};return w.jsx(C,{appear:i,in:l,nodeRef:O,onEnter:j,onEntered:M,onEntering:U,onExit:I,onExited:V,onExiting:N,addEndListener:z,timeout:v==="auto"?null:v,...k,children:(Y,{ownerState:D,...Z})=>H.cloneElement(a,{style:{opacity:0,transform:_5(.75),visibility:Y==="exited"&&!l?"hidden":void 0,...TU[Y],...b,...a.props.style},ref:W,...Z})})});O2&&(O2.muiSupportAuto=!0);const LU=R8({themeId:Dl}),EU=t=>{const{classes:e,disableUnderline:r}=t,i=fr({root:["root",!r&&"underline"],input:["input"]},aq,e);return{...e,...i}},MU=ne(Vy,{shouldForwardProp:t=>is(t)||t==="classes",name:"MuiInput",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[...Wy(t,e),!r.disableUnderline&&e.underline]}})(Xe(({theme:t})=>{let r=t.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";
146return t.vars&&(r=`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:n})=>n.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:n})=>!n.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Ch.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ch.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Ch.disabled}, .${Ch.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Ch.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter(ui()).map(([n])=>({props:{color:n,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[n].main}`}}}))]}})),RU=ne(Yy,{name:"MuiInput",slot:"Input",overridesResolver:Gy})({}),kw=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiInput"}),{disableUnderline:i=!1,components:a={},componentsProps:s,fullWidth:l=!1,inputComponent:u="input",multiline:h=!1,slotProps:f,slots:p={},type:y="text",...g}=n,b=EU(n),C={root:{ownerState:{disableUnderline:i}}},k=f??s?Na(f??s,C):C,T=p.root??a.Root??MU,E=p.input??a.Input??RU;return w.jsx(ww,{slots:{root:T,input:E},slotProps:k,fullWidth:l,inputComponent:u,multiline:h,ref:r,type:y,...g,classes:b})});kw.muiName="Input";function NU(t){return hr("MuiInputAdornment",t)}const w_=or("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var C_;const BU=(t,e)=>{const{ownerState:r}=t;return[e.root,e[`position${Qt(r.position)}`],r.disablePointerEvents===!0&&e.disablePointerEvents,e[r.variant]]},OU=t=>{const{classes:e,disablePointerEvents:r,hiddenLabel:n,position:i,size:a,variant:s}=t,l={root:["root",r&&"disablePointerEvents",i&&`position${Qt(i)}`,s,n&&"hiddenLabel",a&&`size${Qt(a)}`]};return fr(l,NU,e)},PU=ne("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:BU})(Xe(({theme:t})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${w_.positionStart}&:not(.${w_.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),P2=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiInputAdornment"}),{children:i,className:a,component:s="div",disablePointerEvents:l=!1,disableTypography:u=!1,position:h,variant:f,...p}=n,y=Bu()||{};let g=f;f&&y.variant,y&&!g&&(g=y.variant);const b={...n,hiddenLabel:y.hiddenLabel,size:y.size,disablePointerEvents:l,position:h,variant:g},v=OU(b);return w.jsx(Uy.Provider,{value:null,children:w.jsx(PU,{as:s,ownerState:b,className:Te(v.root,a),ref:r,...p,children:typeof i=="string"&&!u?w.jsx(Ie,{color:"textSecondary",children:i}):w.jsxs(H.Fragment,{children:[h==="start"?C_||(C_=w.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,i]})})})});function $U(t){return hr("MuiInputLabel",t)}or("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const jU=t=>{const{classes:e,formControl:r,size:n,shrink:i,disableAnimation:a,variant:s,required:l}=t,u={root:["root",r&&"formControl",!a&&"animated",i&&"shrink",n&&n!=="normal"&&`size${Qt(n)}`,s],asterisk:[l&&"asterisk"]},h=fr(u,$U,e);return{...e,...h}},DU=ne(pU,{shouldForwardProp:t=>is(t)||t==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`& .${y0.asterisk}`]:e.asterisk},e.root,r.formControl&&e.formControl,r.size==="small"&&e.sizeSmall,r.shrink&&e.shrink,!r.disableAnimation&&e.animated,r.focused&&e.focused,e[r.variant]]}})(Xe(({theme:t})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:e})=>e.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:e})=>e.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:e,ownerState:r})=>e==="filled"&&r.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7
146px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:e,ownerState:r,size:n})=>e==="filled"&&r.shrink&&n==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:e,ownerState:r})=>e==="outlined"&&r.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),vu=H.forwardRef(function(e,r){const n=gr({name:"MuiInputLabel",props:e}),{disableAnimation:i=!1,margin:a,shrink:s,variant:l,className:u,...h}=n,f=Bu();let p=s;typeof p>"u"&&f&&(p=f.filled||f.focused||f.adornedStart);const y=Jf({props:n,muiFormControl:f,states:["size","variant","required","focused"]}),g={...n,disableAnimation:i,formControl:f,shrink:p,size:y.size,variant:y.variant,required:y.required,focused:y.focused},b=jU(g);return w.jsx(DU,{"data-shrink":p,ref:r,className:Te(b.root,u),...h,ownerState:g,classes:b})});function IU(t){return hr("MuiLinearProgress",t)}or("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const A5=4,T5=zh`
147  0% {
148    left: -35%;
149    right: 100%;
150  }
151
152  60% {
153    left: 100%;
154    right: -90%;
155  }
156
157  100% {
158    left: 100%;
159    right: -90%;
160  }
161`,zU=typeof T5!="string"?zp`
162        animation: ${T5} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
163      `:null,L5=zh`
164  0% {
165    left: -200%;
166    right: 100%;
167  }
168
169  60% {
170    left: 107%;
171    right: -8%;
172  }
173
174  100% {
175    left: 107%;
176    right: -8%;
177  }
178`,FU=typeof L5!="string"?zp`
179        animation: ${L5} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
180      `:null,E5=zh`
181  0% {
182    opacity: 1;
183    background-position: 0 -23px;
184  }
185
186  60% {
187    opacity: 0;
188    background-position: 0 -23px;
189  }
190
191  100% {
192    opacity: 1;
193    background-position: -200px -23px;
194  }
195`,qU=typeof E5!="string"?zp`
196        animation: ${E5} 3s infinite linear;
197      `:null,HU=t=>{const{classes:e,variant:r,color:n}=t,i={root:["root",`color${Qt(n)}`,r],dashed:["dashed",`dashedColor${Qt(n)}`],bar1:["bar","bar1",`barColor${Qt(n)}`,(r==="indeterminate"||r==="query")&&"bar1Indeterminate",r==="determinate"&&"bar1Determinate",r==="buffer"&&"bar1Buffer"],bar2:["bar","bar2",r!=="buffer"&&`barColor${Qt(n)}`,r==="buffer"&&`color${Qt(n)}`,(r==="indeterminate"||r==="query")&&"bar2Indeterminate",r==="buffer"&&"bar2Buffer"]};return fr(i,IU,e)},_w=(t,e)=>t.vars?t.vars.palette.LinearProgress[`${e}Bg`]:t.palette.mode==="light"?Bh(t.palette[e].main,.62):Nh(t.palette[e].main,.5),UU=ne("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`color${Qt(r.color)}`],e[r.variant]]}})(Xe(({theme:t})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(t.palette).filter(ui()).map(([e])=>({props:{color:e},style:{backgroundColor:_w(t,e)}})),{props:({ownerState:e})=>e.color==="inherit"&&e.variant!=="buffer",style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),WU=ne("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.dashed,e[`dashedColor${Qt(r.color)}`]]}})(Xe(({theme:t})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(t.palette).filter(ui()).map(([e])=>{const r=_w(t,e);return{props:{color:e},style:{backgroundImage:`radial-gradient(${r} 0%, ${r} 16%, transparent 42%)`}}})]})),qU||{animation:`${E5} 3s infinite linear`}),GU=ne("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.bar,e.bar1,e[`barColor${Qt(r.color)}`],(r.variant==="indeterminate"||r.variant==="query")&&e.bar1Indeterminate,r.variant==="determinate"&&e.bar1Determinate,r.variant==="buffer"&&e.bar1Buffer]}})(Xe(({theme:t})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(t.palette).filter(ui()).map(([e])=>({props:{color:e},style:{backgroundColor:(t.vars||t).palette[e].main}})),{props:{variant:"determinate"},style:{transition:`transform .${A5}s linear`}},{props:{variant:"buffer"},style:{zIndex:1,transition:`transform .${A5}s linear`}},{props:({ownerState:e})=>e.variant==="indeterminate"||e.variant==="query",style:{width:"auto"}},{props:({ownerState:e})=>e.variant==="indeterminate"||e.variant==="query",style:zU||{animation:`${T5} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),VU=ne("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.bar,e.bar2,e[`barColor${Qt(r.color)}`],(r.variant==="indeterminate"||r.variant==="query")&&e.bar2Indeterminate,r.variant==="buffer"&&e.bar2Buffer]}})(Xe(({theme:t})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(t.palette).filter(ui()).map(([e])=>({props:{color:e},style:{"--LinearProgressBar2-barColor":(t.vars||t).palette[e].main}})),{props:({ownerState:e})=>e.variant!=="buffer"&&e.color!=="inherit",style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:e})=>e.variant!=="buffer"&&e.color==="inherit",style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(t.palette).filter(ui()).map(([e])=>({props:{color:e,variant:"buffer"},style:{backgroundColor:_w(t,e),transition:`transform .${A5}s linear`}})),{props:({ownerState:e})=>e.variant==="indeterminate"||e.variant==="query",style:{width:"auto"}},{props:({ownerState:e})=>e.variant==="indeterminate"||e.variant==="query",style:FU||{animation:`${L5} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),k_=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiLinearProgress"}),{className:i,color:a="primary",value:s,valueBuffer:l,variant:u="indeterminate",...h}=n,f={...n,color:a,variant:u},p=HU(f),y=Qf(),g={},b={bar1:{},bar2:{}};if((u==="determinate"||u==="buffer")&&s!==void 0){g["aria-valuenow"]=Math.round(s),g["aria-valuemin"]=0,g["aria-valuemax"]=100;let v=s-100;y&&(v=-v),b.bar1.transform=`translateX(${v}%)`}if(u==="buffer"&&l!==void 0){let v=(l||0)-100;y&&(v=-v),b.bar2.transform=`translateX(${v}%)`}return w.jsxs(UU,{className:Te(p.root,i),ownerState:f,role:"progressbar",...g,ref:r,...h,children:[u==="buffer"?w.jsx(WU,{className:p.dashed,ownerState:f}):null,w.jsx(GU,{className:p.bar1,ownerState:f,style:b.bar1}),u==="determinate"?null:w.jsx(VU,{className:p.bar2,ownerState:f,style:b.bar2})]})}),M5=H.createContext({});function YU(t){return hr("MuiList",t)}or("MuiList",["root","padding","dense","subheader"]);const XU=t=>{const{classes:e,disablePadding:r,dense:n,subheader:i}=t;return fr({root:["root",!r&&"padding",n&&"dense",i&&"subheader"]},YU,e)},KU=ne("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,!r.disablePadding&&e.padding,r.dense&&e.dense,r.subheader&&e.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>t.subheader,style:{paddingTop:0}}]}),ZU=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiList"}),{children:i,className:a,component:s="ul",dense:l=!1,disablePadding:u=!1,subheader:h,...f}=n,p=H.useMemo(()=>({dense:l}),[l]),y={...n,component:s,dense:l,disablePadding:u},g=XU(y);return w.jsx(M5.Provider,{value:p,children:w.jsxs(KU,{as:s,className:Te(g.root,a),ref:r,ownerState:y,...f,children:[h,i]})})}),__=or("MuiListItemIcon",["root","alignItemsFlexStart"]),A_=or("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function nx(t,e,r){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:r?null:t.firstChild}function T_(t,e,r){return t===e?r?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:r?null:t.lastChild}function wL(t,e){if(e===void 0)return!0;let r=t.innerText;return r===void 0&&(r=t.textContent),r=r.trim().toLowerCase(),r.length===0?!1:e.repeating?r[0]===e.keys[0]:r.startsWith(e.keys.join(""))}function Pg(t,e,r,n,i,a){let s=!1,l=i(t,e,e?r:!1);for(;l;){if(l===t.firstChild){if(s)return!1;s=!0}const u=n?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!wL(l,a)||u)l=i(t,l,r);else return l.focus(),!0}return!1}const QU=H.forwardRef(function(e,r){const{actions:n,autoFocus:i=!1,autoFocusItem:a=!1,children:s,className:l,disabledItemsFocusable:u=!1,disableListWrap:h=!1,onKeyDown:f,variant:p="selectedMenu",...y}=e,g=H.useRef(null),b=H.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});rs(()=>{i&&g.current.focus()},[i]),H.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(E,{direction:L})=>{const O=!g.current.style.width;if(E.clientHeight<g.current.clientHeight&&O){const W=`${O8(Es(E))}px`;g.current.style[L==="rtl"?"paddingLeft":"paddingRight"]=W,g.current.style.width=`calc(100% + ${W})`}return g.current}}),[]);const v=E=>{const L=g.current,O=E.key;if(E.ctrlKey||E.metaKey||E.altKey){f&&f(E);return}const q=ns(L).activeElement;if(O==="ArrowDown")E.preventDefault(),Pg(L,q,h,u,nx);else if(O==="ArrowUp")E.preventDefault(),Pg(L,q,h,u,T_);else if(O==="Home")E.preventDefault(),Pg(L,null,h,u,nx);else if(O==="End")E.preventDefault(),Pg(L,null,h,u,T_);else if(O.length===1){const U=b.current,j=O.toLowerCase(),M=performance.now();U.keys.length>0&&(M-U.lastTime>500?(U.keys=[],U.repeating=!0,U.previousKeyMatched=!0):U.repeating&&j!==U.keys[0]&&(U.repeating=!1)),U.lastTime=M,U.keys.push(j);const N=q&&!U.repeating&&wL(q,U);U.previousKeyMatched&&(N||Pg(L,q,!1,u,nx,U))?E.preventDefault():U.previousKeyMatched=!1}f&&f(E)},C=ta(g,r);let k=-1;
197H.Children.forEach(s,(E,L)=>{if(!H.isValidElement(E)){k===L&&(k+=1,k>=s.length&&(k=-1));return}E.props.disabled||(p==="selectedMenu"&&E.props.selected||k===-1)&&(k=L),k===L&&(E.props.disabled||E.props.muiSkipListHighlight||E.type.muiSkipListHighlight)&&(k+=1,k>=s.length&&(k=-1))});const T=H.Children.map(s,(E,L)=>{if(L===k){const O={};return a&&(O.autoFocus=!0),E.props.tabIndex===void 0&&p==="selectedMenu"&&(O.tabIndex=0),H.cloneElement(E,O)}return E});return w.jsx(ZU,{role:"menu",ref:C,className:l,onKeyDown:v,tabIndex:i?0:-1,...y,children:T})});function JU(t){return hr("MuiPopover",t)}or("MuiPopover",["root","paper"]);function L_(t,e){let r=0;return typeof e=="number"?r=e:e==="center"?r=t.height/2:e==="bottom"&&(r=t.height),r}function E_(t,e){let r=0;return typeof e=="number"?r=e:e==="center"?r=t.width/2:e==="right"&&(r=t.width),r}function M_(t){return[t.horizontal,t.vertical].map(e=>typeof e=="number"?`${e}px`:e).join(" ")}function w1(t){return typeof t=="function"?t():t}const tW=t=>{const{classes:e}=t;return fr({root:["root"],paper:["paper"]},JU,e)},eW=ne(vL,{name:"MuiPopover",slot:"Root",overridesResolver:(t,e)=>e.root})({}),CL=ne(Nu,{name:"MuiPopover",slot:"Paper",overridesResolver:(t,e)=>e.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),rW=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiPopover"}),{action:i,anchorEl:a,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:u="anchorEl",children:h,className:f,container:p,elevation:y=8,marginThreshold:g=16,open:b,PaperProps:v={},slots:C={},slotProps:k={},transformOrigin:T={vertical:"top",horizontal:"left"},TransitionComponent:E,transitionDuration:L="auto",TransitionProps:O={},disableScrollLock:W=!1,...q}=n,U=H.useRef(),j={...n,anchorOrigin:s,anchorReference:u,elevation:y,marginThreshold:g,transformOrigin:T,TransitionComponent:E,transitionDuration:L,TransitionProps:O},M=tW(j),N=H.useCallback(()=>{if(u==="anchorPosition")return l;const kt=w1(a),wt=(kt&&kt.nodeType===1?kt:ns(U.current).body).getBoundingClientRect();return{top:wt.top+L_(wt,s.vertical),left:wt.left+E_(wt,s.horizontal)}},[a,s.horizontal,s.vertical,l,u]),I=H.useCallback(kt=>({vertical:L_(kt,T.vertical),horizontal:E_(kt,T.horizontal)}),[T.horizontal,T.vertical]),V=H.useCallback(kt=>{const Rt={width:kt.offsetWidth,height:kt.offsetHeight},wt=I(Rt);if(u==="none")return{top:null,left:null,transformOrigin:M_(wt)};const qt=N();let Ht=qt.top-wt.vertical,at=qt.left-wt.horizontal;const ae=Ht+Rt.height,Kt=at+Rt.width,le=Es(w1(a)),Ot=le.innerHeight-g,be=le.innerWidth-g;if(g!==null&&Ht<g){const Nt=Ht-g;Ht-=Nt,wt.vertical+=Nt}else if(g!==null&&ae>Ot){const Nt=ae-Ot;Ht-=Nt,wt.vertical+=Nt}if(g!==null&&at<g){const Nt=at-g;at-=Nt,wt.horizontal+=Nt}else if(Kt>be){const Nt=Kt-be;at-=Nt,wt.horizontal+=Nt}return{top:`${Math.round(Ht)}px`,left:`${Math.round(at)}px`,transformOrigin:M_(wt)}},[a,u,N,I,g]),[z,Y]=H.useState(b),D=H.useCallback(()=>{const kt=U.current;if(!kt)return;const Rt=V(kt);Rt.top!==null&&kt.style.setProperty("top",Rt.top),Rt.left!==null&&(kt.style.left=Rt.left),kt.style.transformOrigin=Rt.transformOrigin,Y(!0)},[V]);H.useEffect(()=>(W&&window.addEventListener("scroll",D),()=>window.removeEventListener("scroll",D)),[a,W,D]);const Z=()=>{D()},Q=()=>{Y(!1)};H.useEffect(()=>{b&&D()}),H.useImperativeHandle(i,()=>b?{updatePosition:()=>{D()}}:null,[b,D]),H.useEffect(()=>{if(!b)return;const kt=nm(()=>{D()}),Rt=Es(w1(a));return Rt.addEventListener("resize",kt),()=>{kt.clear(),Rt.removeEventListener("resize",kt)}},[a,b,D]);let it=L;const mt={slots:{transition:E,...C},slotProps:{transition:O,paper:v,...k}},[K,P]=wr("transition",{elementType:O2,externalForwardedProps:mt,ownerState:j,getSlotProps:kt=>({...kt,onEntering:(Rt,wt)=>{kt.onEntering?.(Rt,wt),Z()},onExited:Rt=>{kt.onExited?.(Rt),Q()}}),additionalProps:{appear:!0,in:b}});L==="auto"&&!K.muiSupportAuto&&(it=void 0);const X=p||(a?ns(w1(a)).body:void 0),[et,{slots:rt,slotProps:lt,...ht}]=wr("root",{ref:r,elementType:eW,externalForwardedProps:{...mt,...q},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:C.backdrop},slotProps:{backdrop:Q8(typeof k.backdrop=="function"?k.backdrop(j):k.backdrop,{invisible:!0})},container:X,open:b},ownerState:j,className:Te(M.root,f)}),[bt,yt]=wr("paper",{ref:U,className:M.paper,elementType:CL,externalForwardedProps:mt,shouldForwardComponentProp:!0,additionalProps:{elevation:y,style:z?void 0:{opacity:0}
197},ownerState:j});return w.jsx(et,{...ht,...!C5(et)&&{slots:rt,slotProps:lt,disableScrollLock:W},children:w.jsx(K,{...P,timeout:it,children:w.jsx(bt,{...yt,children:h})})})});function nW(t){return hr("MuiMenu",t)}or("MuiMenu",["root","paper","list"]);const iW={vertical:"top",horizontal:"right"},aW={vertical:"top",horizontal:"left"},oW=t=>{const{classes:e}=t;return fr({root:["root"],paper:["paper"],list:["list"]},nW,e)},sW=ne(rW,{shouldForwardProp:t=>is(t)||t==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(t,e)=>e.root})({}),lW=ne(CL,{name:"MuiMenu",slot:"Paper",overridesResolver:(t,e)=>e.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),cW=ne(QU,{name:"MuiMenu",slot:"List",overridesResolver:(t,e)=>e.list})({outline:0}),uW=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:s,disableAutoFocusItem:l=!1,MenuListProps:u={},onClose:h,open:f,PaperProps:p={},PopoverClasses:y,transitionDuration:g="auto",TransitionProps:{onEntering:b,...v}={},variant:C="selectedMenu",slots:k={},slotProps:T={},...E}=n,L=Qf(),O={...n,autoFocus:i,disableAutoFocusItem:l,MenuListProps:u,onEntering:b,PaperProps:p,transitionDuration:g,TransitionProps:v,variant:C},W=oW(O),q=i&&!l&&f,U=H.useRef(null),j=(it,mt)=>{U.current&&U.current.adjustStyleForScrollbar(it,{direction:L?"rtl":"ltr"}),b&&b(it,mt)},M=it=>{it.key==="Tab"&&(it.preventDefault(),h&&h(it,"tabKeyDown"))};let N=-1;H.Children.map(a,(it,mt)=>{H.isValidElement(it)&&(it.props.disabled||(C==="selectedMenu"&&it.props.selected||N===-1)&&(N=mt))});const I={slots:k,slotProps:{list:u,transition:v,paper:p,...T}},V=Ap({elementType:k.root,externalSlotProps:T.root,ownerState:O,className:[W.root,s]}),[z,Y]=wr("paper",{className:W.paper,elementType:lW,externalForwardedProps:I,shouldForwardComponentProp:!0,ownerState:O}),[D,Z]=wr("list",{className:Te(W.list,u.className),elementType:cW,shouldForwardComponentProp:!0,externalForwardedProps:I,getSlotProps:it=>({...it,onKeyDown:mt=>{M(mt),it.onKeyDown?.(mt)}}),ownerState:O}),Q=typeof I.slotProps.transition=="function"?I.slotProps.transition(O):I.slotProps.transition;return w.jsx(sW,{onClose:h,anchorOrigin:{vertical:"bottom",horizontal:L?"right":"left"},transformOrigin:L?iW:aW,slots:{root:k.root,paper:z,backdrop:k.backdrop,...k.transition&&{transition:k.transition}},slotProps:{root:V,paper:Y,backdrop:typeof T.backdrop=="function"?T.backdrop(O):T.backdrop,transition:{...Q,onEntering:(...it)=>{j(...it),Q?.onEntering?.(...it)}}},open:f,ref:r,transitionDuration:g,ownerState:O,...E,classes:y,children:w.jsx(D,{actions:U,autoFocus:i&&(N===-1||l),autoFocusItem:q,variant:C,...Z,children:a})})});function hW(t){return hr("MuiMenuItem",t)}const $g=or("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),fW=(t,e)=>{const{ownerState:r}=t;return[e.root,r.dense&&e.dense,r.divider&&e.divider,!r.disableGutters&&e.gutters]},dW=t=>{const{disabled:e,dense:r,divider:n,disableGutters:i,selected:a,classes:s}=t,u=fr({root:["root",r&&"dense",e&&"disabled",!i&&"gutters",n&&"divider",a&&"selected"]},hW,s);return{...s,...u}},pW=ne(Pc,{shouldForwardProp:t=>is(t)||t==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:fW})(Xe(({theme:t})=>({...t.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${$g.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Zr(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${$g.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Zr(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${$g.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Zr(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Zr(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${$g.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${$g.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`& + .${b_.root}`]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},[`& + .${b_.inset}`]:{marginLeft:52},[`& .${A_.root}`]:{marginTop:0,marginBottom:0},[`& .${A_.inset}`]:{paddingLeft:36},[`& .${__.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>!e.dense,style:{[t.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...t.typography.body2,[`& .${__.root} svg`]:{fontSize:"1.25rem"}}}]}))),qa=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiMenuItem"}),{autoFocus:i=!1,component:a="li",dense:s=!1,divider:l=!1,disableGutters:u=!1,focusVisibleClassName:h,role:f="menuitem",tabIndex:p,className:y,...g}=n,b=H.useContext(M5),v=H.useMemo(()=>({dense:s||b.dense||!1,disableGutters:u}),[b.dense,s,u]),C=H.useRef(null);rs(()=>{i&&C.current&&C.current.focus()},[i]);const k={...n,dense:v.dense,divider:l,disableGutters:u},T=dW(n),E=ta(C,r);let L;return n.disabled||(L=p!==void 0?p:-1),w.jsx(M5.Provider,{value:v,children:w.jsx(pW,{ref:E,role:f,tabIndex:L,component:a,focusVisibleClassName:Te(T.focu
197sVisible,h),className:Te(T.root,y),...g,ownerState:k,classes:T})})});function gW(t){return hr("MuiNativeSelect",t)}const Aw=or("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),mW=t=>{const{classes:e,variant:r,disabled:n,multiple:i,open:a,error:s}=t,l={select:["select",r,n&&"disabled",i&&"multiple",s&&"error"],icon:["icon",`icon${Qt(r)}`,a&&"iconOpen",n&&"disabled"]};return fr(l,gW,e)},kL=ne("select",{name:"MuiNativeSelect"})(({theme:t})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Aw.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},variants:[{props:({ownerState:e})=>e.variant!=="filled"&&e.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}}]})),yW=ne(kL,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:is,overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.select,e[r.variant],r.error&&e.error,{[`&.${Aw.multiple}`]:e.multiple}]}})({}),_L=ne("svg",{name:"MuiNativeSelect"})(({theme:t})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${Aw.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),bW=ne(_L,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.icon,r.variant&&e[`icon${Qt(r.variant)}`],r.open&&e.iconOpen]}})({}),vW=H.forwardRef(function(e,r){const{className:n,disabled:i,error:a,IconComponent:s,inputRef:l,variant:u="standard",...h}=e,f={...e,disabled:i,variant:u,error:a},p=mW(f);return w.jsxs(H.Fragment,{children:[w.jsx(yW,{ownerState:f,className:Te(p.select,n),disabled:i,ref:l||r,...h}),e.multiple?null:w.jsx(bW,{as:s,ownerState:f,className:p.icon})]})});var R_;const xW=ne("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:is})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),SW=ne("legend",{name:"MuiNotchedOutlined",shouldForwardProp:is})(Xe(({theme:t})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}}]})));function wW(t){const{children:e,classes:r,className:n,label:i,notched:a,...s}=t,l=i!=null&&i!=="",u={...t,notched:a,withLabel:l};return w.jsx(xW,{"aria-hidden":!0,className:n,ownerState:u,...s,children:w.jsx(SW,{ownerState:u,children:l?w.jsx("span",{children:i}):R_||(R_=w.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const CW=t=>{const{classes:e}=t,n=fr({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},oq,e);return{...e,...n}},kW=ne(Vy,{shouldForwardProp:t=>is(t)||t==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Wy})(Xe(({theme:t})=>{const e=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${Js.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${Js.notchedOutline}`]:{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroun
197dChannel} / 0.23)`:e}},[`&.${Js.focused} .${Js.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(t.palette).filter(ui()).map(([r])=>({props:{color:r},style:{[`&.${Js.focused} .${Js.notchedOutline}`]:{borderColor:(t.vars||t).palette[r].main}}})),{props:{},style:{[`&.${Js.error} .${Js.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${Js.disabled} .${Js.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled}}},{props:({ownerState:r})=>r.startAdornment,style:{paddingLeft:14}},{props:({ownerState:r})=>r.endAdornment,style:{paddingRight:14}},{props:({ownerState:r})=>r.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:r,size:n})=>r.multiline&&n==="small",style:{padding:"8.5px 14px"}}]}})),_W=ne(wW,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(t,e)=>e.notchedOutline})(Xe(({theme:t})=>{const e=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:e}})),AW=ne(Yy,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Gy})(Xe(({theme:t})=>({padding:"16.5px 14px",...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),Tw=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiOutlinedInput"}),{components:i={},fullWidth:a=!1,inputComponent:s="input",label:l,multiline:u=!1,notched:h,slots:f={},slotProps:p={},type:y="text",...g}=n,b=CW(n),v=Bu(),C=Jf({props:n,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),k={...n,color:C.color||"primary",disabled:C.disabled,error:C.error,focused:C.focused,formControl:v,fullWidth:a,hiddenLabel:C.hiddenLabel,multiline:u,size:C.size,type:y},T=f.root??i.Root??kW,E=f.input??i.Input??AW,[L,O]=wr("notchedOutline",{elementType:_W,className:b.notchedOutline,shouldForwardComponentProp:!0,ownerState:k,externalForwardedProps:{slots:f,slotProps:p},additionalProps:{label:l!=null&&l!==""&&C.required?w.jsxs(H.Fragment,{children:[l," ","*"]}):l}});return w.jsx(ww,{slots:{root:T,input:E},slotProps:p,renderSuffix:W=>w.jsx(L,{...O,notched:typeof h<"u"?h:!!(W.startAdornment||W.filled||W.focused)}),fullWidth:a,inputComponent:s,multiline:u,ref:r,type:y,...g,classes:{...b,notchedOutline:null}})});Tw.muiName="Input";function TW(t){return hr("MuiPagination",t)}or("MuiPagination",["root","ul","outlined","text"]);function LW(t={}){const{boundaryCount:e=1,componentName:r="usePagination",count:n=1,defaultPage:i=1,disabled:a=!1,hideNextButton:s=!1,hidePrevButton:l=!1,onChange:u,page:h,showFirstButton:f=!1,showLastButton:p=!1,siblingCount:y=1,...g}=t,[b,v]=wu({controlled:h,default:i,name:r,state:"page"}),C=(j,M)=>{h||v(M),u&&u(j,M)},k=(j,M)=>{const N=M-j+1;return Array.from({length:N},(I,V)=>j+V)},T=k(1,Math.min(e,n)),E=k(Math.max(n-e+1,e+1),n),L=Math.max(Math.min(b-y,n-e-y*2-1),e+2),O=Math.min(Math.max(b+y,e+y*2+2),n-e-1),W=[...f?["first"]:[],...l?[]:["previous"],...T,...L>e+2?["start-ellipsis"]:e+1<n-e?[e+1]:[],...k(L,O),...O<n-e-1?["end-ellipsis"]:n-e>e?[n-e]:[],...E,...s?[]:["next"],...p?["last"]:[]],q=j=>{switch(j){case"first":return 1;case"previous":return b-1;case"next":return b+1;case"last":return n;default:return null}};return{items:W.map(j=>typeof j=="number"?{onClick:M=>{C(M,j)},type:"page",page:j,selected:j===b,disabled:a,"aria-current":j===b?"page":void 0}:{onClick:M=>{C(M,q(j))},type:j,page:q(j),selected:!1,disabled:a||!j.includes("ellipsis")&&(j==="next"||j==="last"?b>=n:b<=1)}),...g}}function EW(t){return hr("MuiPaginationItem",t)}const So=or("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]),MW=Jr(w.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),RW=Jr(w.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),NW=Jr(w.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),BW=Jr(w.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),AL=(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],e[`size${Qt(r.size)}`],r.variant==="text"&&e[`text${Qt(r.color)}`],r.variant==="outlined"&&e[`outlined${Qt(r.color)}`],r.shape==="rounded"&&e.rounded,r.type==="page"&&e.page,(r.type==="start-ellipsis"||r.type==="end-ellipsis")&&e.ellipsis,(r.type==="previous"||r.type==="next")&&e.previousNext,(r.type==="first"||r.type==="last")&&e.firstLast]},OW=t=>{const{classes:e,color:r,disabled:n,selected:i,size:a,shape:s,type:l,variant:u}
197=t,h={root:["root",`size${Qt(a)}`,u,s,r!=="standard"&&`color${Qt(r)}`,r!=="standard"&&`${u}${Qt(r)}`,n&&"disabled",i&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[l]],icon:["icon"]};return fr(h,EW,e)},PW=ne("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:AL})(Xe(({theme:t})=>({...t.typography.body2,borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(t.vars||t).palette.text.primary,height:"auto",[`&.${So.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},variants:[{props:{size:"small"},style:{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:t.typography.pxToRem(15)}}]}))),$W=ne(Pc,{name:"MuiPaginationItem",slot:"Root",overridesResolver:AL})(Xe(({theme:t})=>({...t.typography.body2,borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(t.vars||t).palette.text.primary,[`&.${So.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${So.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},transition:t.transitions.create(["color","background-color"],{duration:t.transitions.duration.short}),"&:hover":{backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${So.selected}`]:{backgroundColor:(t.vars||t).palette.action.selected,"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Zr(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(t.vars||t).palette.action.selected}},[`&.${So.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Zr(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},[`&.${So.disabled}`]:{opacity:1,color:(t.vars||t).palette.action.disabled,backgroundColor:(t.vars||t).palette.action.selected}},variants:[{props:{size:"small"},style:{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:t.typography.pxToRem(15)}},{props:{shape:"rounded"},style:{borderRadius:(t.vars||t).shape.borderRadius}},{props:{variant:"outlined"},style:{border:t.vars?`1px solid rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${So.selected}`]:{[`&.${So.disabled}`]:{borderColor:(t.vars||t).palette.action.disabledBackground,color:(t.vars||t).palette.action.disabled}}}},{props:{variant:"text"},style:{[`&.${So.selected}`]:{[`&.${So.disabled}`]:{color:(t.vars||t).palette.action.disabled}}}},...Object.entries(t.palette).filter(ui(["dark","contrastText"])).map(([e])=>({props:{variant:"text",color:e},style:{[`&.${So.selected}`]:{color:(t.vars||t).palette[e].contrastText,backgroundColor:(t.vars||t).palette[e].main,"&:hover":{backgroundColor:(t.vars||t).palette[e].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[e].main}},[`&.${So.focusVisible}`]:{backgroundColor:(t.vars||t).palette[e].dark},[`&.${So.disabled}`]:{color:(t.vars||t).palette.action.disabled}}}})),...Object.entries(t.palette).filter(ui(["light"])).map(([e])=>({props:{variant:"outlined",color:e},style:{[`&.${So.selected}`]:{color:(t.vars||t).palette[e].main,border:`1px solid ${t.vars?`rgba(${t.vars.palette[e].mainChannel} / 0.5)`:Zr(t.palette[e].main,.5)}`,backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.activatedOpacity})`:Zr(t.palette[e].main,t.palette.action.activatedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainCh
197annel} / calc(${t.vars.palette.action.activatedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Zr(t.palette[e].main,t.palette.action.activatedOpacity+t.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${So.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / calc(${t.vars.palette.action.activatedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Zr(t.palette[e].main,t.palette.action.activatedOpacity+t.palette.action.focusOpacity)}}}}))]}))),jW=ne("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(t,e)=>e.icon})(Xe(({theme:t})=>({fontSize:t.typography.pxToRem(20),margin:"0 -8px",variants:[{props:{size:"small"},style:{fontSize:t.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:t.typography.pxToRem(22)}}]}))),DW=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiPaginationItem"}),{className:i,color:a="standard",component:s,components:l={},disabled:u=!1,page:h,selected:f=!1,shape:p="circular",size:y="medium",slots:g={},slotProps:b={},type:v="page",variant:C="text",...k}=n,T={...n,color:a,disabled:u,selected:f,shape:p,size:y,type:v,variant:C},E=Qf(),L=OW(T),O={slots:{previous:g.previous??l.previous,next:g.next??l.next,first:g.first??l.first,last:g.last??l.last},slotProps:b},[W,q]=wr("previous",{elementType:NW,externalForwardedProps:O,ownerState:T}),[U,j]=wr("next",{elementType:BW,externalForwardedProps:O,ownerState:T}),[M,N]=wr("first",{elementType:MW,externalForwardedProps:O,ownerState:T}),[I,V]=wr("last",{elementType:RW,externalForwardedProps:O,ownerState:T}),z=E?{previous:"next",next:"previous",first:"last",last:"first"}[v]:v,Y={previous:W,next:U,first:M,last:I}[z],D={previous:q,next:j,first:N,last:V}[z];return v==="start-ellipsis"||v==="end-ellipsis"?w.jsx(PW,{ref:r,ownerState:T,className:Te(L.root,i),children:"…"}):w.jsxs($W,{ref:r,ownerState:T,component:s,disabled:u,className:Te(L.root,i),...k,children:[v==="page"&&h,Y?w.jsx(jW,{...D,className:L.icon,as:Y}):null]})}),IW=t=>{const{classes:e,variant:r}=t;return fr({root:["root",r],ul:["ul"]},TW,e)},zW=ne("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant]]}})({}),FW=ne("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(t,e)=>e.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function qW(t,e,r){return t==="page"?`${r?"":"Go to "}page ${e}`:`Go to ${t} page`}const HW=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiPagination"}),{boundaryCount:i=1,className:a,color:s="standard",count:l=1,defaultPage:u=1,disabled:h=!1,getItemAriaLabel:f=qW,hideNextButton:p=!1,hidePrevButton:y=!1,onChange:g,page:b,renderItem:v=M=>w.jsx(DW,{...M}),shape:C="circular",showFirstButton:k=!1,showLastButton:T=!1,siblingCount:E=1,size:L="medium",variant:O="text",...W}=n,{items:q}=LW({...n,componentName:"Pagination"}),U={...n,boundaryCount:i,color:s,count:l,defaultPage:u,disabled:h,getItemAriaLabel:f,hideNextButton:p,hidePrevButton:y,renderItem:v,shape:C,showFirstButton:k,showLastButton:T,siblingCount:E,size:L,variant:O},j=IW(U);return w.jsx(zW,{"aria-label":"pagination navigation",className:Te(j.root,a),ownerState:U,ref:r,...W,children:w.jsx(FW,{className:j.ul,ownerState:U,children:q.map((M,N)=>w.jsx("li",{children:v({...M,color:s,"aria-label":f(M.type,M.page,M.selected),shape:C,size:L,variant:O})},N))})})});function TL(t){return hr("MuiSelect",t)}const jg=or("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var N_;const UW=ne(kL,{name:"MuiSelect",slot:"Select",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`&.${jg.select}`]:e.select},{[`&.${jg.select}`]:e[r.variant]},{[`&.${jg.error}`]:e.error},{[`&.${jg.multiple}`]:e.multiple}]}})({[`&.${jg.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),WW=ne(_L,{name:"MuiSelect",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.icon,r.variant&&e[`icon${Qt(r.variant)}`],r.open&&e.iconOpen]}})({}),GW=ne("input",{shouldForwardProp:t=>Z8(t)&&t!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(t,e)=>e.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function B_(t,e){return typeof e=="object"&&e!==null?t===e:String(t)===String(e)}function VW(t){return t==null||typeof t=="string"&&!t.trim()}const YW=t=>{const{classes:e,variant:r,disabled:n,multiple:i,open:a,error:s}=t,l={select:["select",r,n&&"disabled",i&&"multiple",s&&"error"],icon:["icon",`icon${Qt(r)}`,a&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return fr(l,TL,e)},XW=H.forwardRef(function(e,r){const{"aria-describedby":n,"aria-label":i,autoFocus:a,autoWidth:s,children:l,className:u,defaultOpen:h,defaultValue:f,disabled:p,displayEmpty:y,error:g=!1,IconComponent:b,inputRef:v,labelId:C,MenuProps:k={}
197,multiple:T,name:E,onBlur:L,onChange:O,onClose:W,onFocus:q,onOpen:U,open:j,readOnly:M,renderValue:N,required:I,SelectDisplayProps:V={},tabIndex:z,type:Y,value:D,variant:Z="standard",...Q}=e,[it,mt]=wu({controlled:D,default:f,name:"Select"}),[K,P]=wu({controlled:j,default:h,name:"Select"}),X=H.useRef(null),et=H.useRef(null),[rt,lt]=H.useState(null),{current:ht}=H.useRef(j!=null),[bt,yt]=H.useState(),kt=ta(r,v),Rt=H.useCallback(Jt=>{et.current=Jt,Jt&&lt(Jt)},[]),wt=rt?.parentNode;H.useImperativeHandle(kt,()=>({focus:()=>{et.current.focus()},node:X.current,value:it}),[it]),H.useEffect(()=>{h&&K&&rt&&!ht&&(yt(s?null:wt.clientWidth),et.current.focus())},[rt,s]),H.useEffect(()=>{a&&et.current.focus()},[a]),H.useEffect(()=>{if(!C)return;const Jt=ns(et.current).getElementById(C);if(Jt){const Se=()=>{getSelection().isCollapsed&&et.current.focus()};return Jt.addEventListener("click",Se),()=>{Jt.removeEventListener("click",Se)}}},[C]);const qt=(Jt,Se)=>{Jt?U&&U(Se):W&&W(Se),ht||(yt(s?null:wt.clientWidth),P(Jt))},Ht=Jt=>{Jt.button===0&&(Jt.preventDefault(),et.current.focus(),qt(!0,Jt))},at=Jt=>{qt(!1,Jt)},ae=H.Children.toArray(l),Kt=Jt=>{const Se=ae.find(Pe=>Pe.props.value===Jt.target.value);Se!==void 0&&(mt(Se.props.value),O&&O(Jt,Se))},le=Jt=>Se=>{let Pe;if(Se.currentTarget.hasAttribute("tabindex")){if(T){Pe=Array.isArray(it)?it.slice():[];const je=it.indexOf(Jt.props.value);je===-1?Pe.push(Jt.props.value):Pe.splice(je,1)}else Pe=Jt.props.value;if(Jt.props.onClick&&Jt.props.onClick(Se),it!==Pe&&(mt(Pe),O)){const je=Se.nativeEvent||Se,Et=new je.constructor(je.type,je);Object.defineProperty(Et,"target",{writable:!0,value:{value:Pe,name:E}}),O(Et,Jt)}T||qt(!1,Se)}},Ot=Jt=>{M||[" ","ArrowUp","ArrowDown","Enter"].includes(Jt.key)&&(Jt.preventDefault(),qt(!0,Jt))},be=rt!==null&&K,Nt=Jt=>{!be&&L&&(Object.defineProperty(Jt,"target",{writable:!0,value:{value:it,name:E}}),L(Jt))};delete Q["aria-invalid"];let Dt,Vt;const de=[];let Be=!1;(N2({value:it})||y)&&(N?Dt=N(it):Be=!0);const _e=ae.map(Jt=>{if(!H.isValidElement(Jt))return null;let Se;if(T){if(!Array.isArray(it))throw new Error(_u(2));Se=it.some(Pe=>B_(Pe,Jt.props.value)),Se&&Be&&de.push(Jt.props.children)}else Se=B_(it,Jt.props.value),Se&&Be&&(Vt=Jt.props.children);return H.cloneElement(Jt,{"aria-selected":Se?"true":"false",onClick:le(Jt),onKeyUp:Pe=>{Pe.key===" "&&Pe.preventDefault(),Jt.props.onKeyUp&&Jt.props.onKeyUp(Pe)},role:"option",selected:Se,value:void 0,"data-value":Jt.props.value})});Be&&(T?de.length===0?Dt=null:Dt=de.reduce((Jt,Se,Pe)=>(Jt.push(Se),Pe<de.length-1&&Jt.push(", "),Jt),[]):Dt=Vt);let Ne=bt;!s&&ht&&rt&&(Ne=wt.clientWidth);let Oe;typeof z<"u"?Oe=z:Oe=p?null:0;const we=V.id||(E?`mui-component-select-${E}`:void 0),Ae={...e,variant:Z,value:it,open:be,error:g},ce=YW(Ae),Er={...k.PaperProps,...k.slotProps?.paper},He=Fh();return w.jsxs(H.Fragment,{children:[w.jsx(UW,{as:"div",ref:Rt,tabIndex:Oe,role:"combobox","aria-controls":be?He:void 0,"aria-disabled":p?"true":void 0,"aria-expanded":be?"true":"false","aria-haspopup":"listbox","aria-label":i,"aria-labelledby":[C,we].filter(Boolean).join(" ")||void 0,"aria-describedby":n,"aria-required":I?"true":void 0,"aria-invalid":g?"true":void 0,onKeyDown:Ot,onMouseDown:p||M?null:Ht,onBlur:Nt,onFocus:q,...V,ownerState:Ae,className:Te(V.className,ce.select,u),id:we,children:VW(Dt)?N_||(N_=w.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):Dt}),w.jsx(GW,{"aria-invalid":g,value:Array.isArray(it)?it.join(","):it,name:E,ref:X,"aria-hidden":!0,onChange:Kt,tabIndex:-1,disabled:p,className:ce.nativeInput,autoFocus:a,required:I,...Q,ownerState:Ae}),w.jsx(WW,{as:b,className:ce.icon,ownerState:Ae}),w.jsx(uW,{id:`menu-${E||""}`,anchorEl:wt,open:be,onClose:at,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...k,slotProps:{...k.slotProps,list:{"aria-labelledby":C,role:"listbox","aria-multiselectable":T?"true":void 0,disableListWrap:!0,id:He,...k.MenuListProps},paper:{...Er,style:{minWidth:Ne,...Er!=null?Er.style:null}}},children:_e})]})}),KW=t=>{const{classes:e}=t,n=fr({root:["root"]},TL,e);return{...e,...n}},Lw={name:"MuiSelect",overridesResolver:(t,e)=>e.root,shouldForwardProp:t=>is(t)&&t!=="variant",slot:"Root"},ZW=ne(kw,Lw)(""),QW=ne(Tw,Lw)(""),JW=ne(Cw,Lw)(""),Ac=H.forwardRef(function(e,r){const n=gr({name:"MuiSelect",props:e}),{autoWidth:i=!1,children:a,classes:s={},className:l,defaultOpen:u=!1,displayEmpty:h=!1,IconComponent:f=pL,id:p,input
197:y,inputProps:g,label:b,labelId:v,MenuProps:C,multiple:k=!1,native:T=!1,onClose:E,onOpen:L,open:O,renderValue:W,SelectDisplayProps:q,variant:U="outlined",...j}=n,M=T?vW:XW,N=Bu(),I=Jf({props:n,muiFormControl:N,states:["variant","error"]}),V=I.variant||U,z={...n,variant:V,classes:s},Y=KW(z),{root:D,...Z}=Y,Q=y||{standard:w.jsx(ZW,{ownerState:z}),outlined:w.jsx(QW,{label:b,ownerState:z}),filled:w.jsx(JW,{ownerState:z})}[V],it=ta(r,Zf(Q));return w.jsx(H.Fragment,{children:H.cloneElement(Q,{inputComponent:M,inputProps:{children:a,error:I.error,IconComponent:f,variant:V,type:void 0,multiple:k,...T?{id:p}:{autoWidth:i,defaultOpen:u,displayEmpty:h,labelId:v,MenuProps:C,onClose:E,onOpen:L,open:O,renderValue:W,SelectDisplayProps:{id:p,...q}},...g,classes:g?Na(Z,g.classes):Z,...y?y.props.inputProps:{}},...(k&&T||h)&&V==="outlined"?{notched:!0}:{},ref:it,className:Te(Q.props.className,l,Y.root),...!y&&{variant:V},...j})})});Ac.muiName="Select";function tG(t){return hr("MuiTooltip",t)}const Hi=or("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function eG(t){return Math.round(t*1e5)/1e5}const rG=t=>{const{classes:e,disableInteractive:r,arrow:n,touch:i,placement:a}=t,s={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",i&&"touch",`tooltipPlacement${Qt(a.split("-")[0])}`],arrow:["arrow"]};return fr(s,tG,e)},nG=ne(Hy,{name:"MuiTooltip",slot:"Popper",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.popper,!r.disableInteractive&&e.popperInteractive,r.arrow&&e.popperArrow,!r.open&&e.popperClose]}})(Xe(({theme:t})=>({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${Hi.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Hi.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Hi.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Hi.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${Hi.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${Hi.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${Hi.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${Hi.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),iG=ne("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.tooltip,r.touch&&e.touch,r.arrow&&e.tooltipArrow,e[`tooltipPlacement${Qt(r.placement.split("-")[0])}`]]}})(Xe(({theme:t})=>({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:Zr(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium,[`.${Hi.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Hi.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Hi.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Hi.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:`${eG(16/14)}em`,fontWeight:t.typography.fontWeightRegular}},{props:({ownerState:e})=>
vendor: 1,027 bytes, line 197
197!e.isRtl,style:{[`.${Hi.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Hi.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${Hi.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Hi.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${Hi.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Hi.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${Hi.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Hi.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${Hi.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${Hi.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),aG=ne("span",{name:"MuiTooltip",slot:"Arrow",overri
197desResolver:(t,e)=>e.arrow})(Xe(({theme:t})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:Zr(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let C1=!1;const O_=new zy;let Dg={x:0,y:0};function k1(t,e){return(r,...n)=>{e&&e(r,...n),t(r,...n)}}const Lh=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiTooltip"}),{arrow:i=!1,children:a,classes:s,components:l={},componentsProps:u={},describeChild:h=!1,disableFocusListener:f=!1,disableHoverListener:p=!1,disableInteractive:y=!1,disableTouchListener:g=!1,enterDelay:b=100,enterNextDelay:v=0,enterTouchDelay:C=700,followCursor:k=!1,id:T,leaveDelay:E=0,leaveTouchDelay:L=1500,onClose:O,onOpen:W,open:q,placement:U="bottom",PopperComponent:j,PopperProps:M={},slotProps:N={},slots:I={},title:V,TransitionComponent:z,TransitionProps:Y,...D}=n,Z=H.isValidElement(a)?a:w.jsx("span",{children:a}),Q=Ru(),it=Qf(),[mt,K]=H.useState(),[P,X]=H.useState(null),et=H.useRef(!1),rt=y||k,lt=Cf(),ht=Cf(),bt=Cf(),yt=Cf(),[kt,Rt]=wu({controlled:q,default:!1,name:"Tooltip",state:"open"});let wt=kt;const qt=Fh(T),Ht=H.useRef(),at=so(()=>{Ht.current!==void 0&&(document.body.style.WebkitUserSelect=Ht.current,Ht.current=void 0),yt.clear()});H.useEffect(()=>at,[at]);const ae=me=>{O_.clear(),C1=!0,Rt(!0),W&&!wt&&W(me)},Kt=so(me=>{O_.start(800+E,()=>{C1=!1}),Rt(!1),O&&wt&&O(me),lt.start(Q.transitions.duration.shortest,()=>{et.current=!1})}),le=me=>{et.current&&me.type!=="touchstart"||(mt&&mt.removeAttribute("title"),ht.clear(),bt.clear(),b||C1&&v?ht.start(C1?v:b,()=>{ae(me)}):ae(me))},Ot=me=>{ht.clear(),bt.start(E,()=>{Kt(me)})},[,be]=H.useState(!1),Nt=me=>{L2(me.target)||(be(!1),Ot(me))},Dt=me=>{mt||K(me.currentTarget),L2(me.target)&&(be(!0),le(me))},Vt=me=>{et.current=!0;const Br=Z.props;Br.onTouchStart&&Br.onTouchStart(me)},de=me=>{Vt(me),bt.clear(),lt.clear(),at(),Ht.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",yt.start(C,()=>{document.body.style.WebkitUserSelect=Ht.current,le(me)})},Be=me=>{Z.props.onTouchEnd&&Z.props.onTouchEnd(me),at(),bt.start(L,()=>{Kt(me)})};H.useEffect(()=>{if(!wt)return;function me(Br){Br.key==="Escape"&&Kt(Br)}return document.addEventListener("keydown",me),()=>{document.removeEventListener("keydown",me)}},[Kt,wt]);const _e=ta(Zf(Z),K,r);!V&&V!==0&&(wt=!1);const Ne=H.useRef(),Oe=me=>{const Br=Z.props;Br.onMouseMove&&Br.onMouseMove(me),Dg={x:me.clientX,y:me.clientY},Ne.current&&Ne.current.update()},we={},Ae=typeof V=="string";h?(we.title=!wt&&Ae&&!p?V:null,we["aria-describedby"]=wt?qt:null):(we["aria-label"]=Ae?V:null,we["aria-labelledby"]=wt&&!Ae?qt:null);const ce={...we,...D,...Z.props,className:Te(D.className,Z.props.className),onTouchStart:Vt,ref:_e,...k?{onMouseMove:Oe}:{}},Er={};g||(ce.onTouchStart=de,ce.onTouchEnd=Be),p||(ce.onMouseOver=k1(le,ce.onMouseOver),ce.onMouseLeave=k1(Ot,ce.onMouseLeave),rt||(Er.onMouseOver=le,Er.onMouseLeave=Ot)),f||(ce.onFocus=k1(Dt,ce.onFocus),ce.onBlur=k1(Nt,ce.onBlur),rt||(Er.onFocus=Dt,Er.onBlur=Nt));const He={...n,isRtl:it,arrow:i,disableInteractive:rt,placement:U,PopperComponentProp:j,touch:et.current},Jt=typeof N.popper=="function"?N.popper(He):N.popper,Se=H.useMemo(()=>{let me=[{name:"arrow",enabled:!!P,options:{element:P,padding:4}}];return M.popperOptions?.modifiers&&(me=me.concat(M.popperOptions.modifiers)),Jt?.popperOptions?.modifiers&&(me=me.concat(Jt.popperOptions.modifiers)),{...M.popperOptions,...Jt?.popperOptions,modifiers:me}},[P,M.popperOptions,Jt?.popperOptions]),Pe=rG(He),je=typeof N.transition=="function"?N.transition(He):N.transition,Et={slots:{popper:l.Popper,transition:l.Transition??z,tooltip:l.Tooltip,arrow:l.Arrow,...I},slotProps:{arrow:N.arrow??u.arrow,popper:{...M,...Jt??u.popper},tooltip:N.tooltip??u.tooltip,transition:{...Y,...je??u.transition}}},[fe,te]=wr("popper",{elementType:nG,externalForwardedProps:Et,ownerState:He,className:Te(Pe.popper,M?.className)}),[Ze,Ge]=wr("transition",{elementType:O2,externalForwardedProps:Et,ownerState:He}),[Me,lr]=wr("tooltip",{elementType:iG,className:Pe.tooltip,externalForwardedProps:Et,ownerState:He}),[Sn,Xt]=wr("arrow",{elementType:aG,className:Pe.arrow,externalForwardedProps:Et,ownerState:He,ref:X});return w.jsxs(H.Fragment,{children:[H.cloneElement(Z,ce),w.jsx(fe,{as:j??Hy,placement:U,anchorEl:k?{getBoundingClientRect:()=>
197({top:Dg.y,left:Dg.x,right:Dg.x,bottom:Dg.y,width:0,height:0})}:mt,popperRef:Ne,open:mt?wt:!1,id:qt,transition:!0,...Er,...te,popperOptions:Se,children:({TransitionProps:me})=>w.jsx(Ze,{timeout:Q.transitions.duration.shorter,...me,...Ge,children:w.jsxs(Me,{...lr,children:[V,i?w.jsx(Sn,{...Xt}):null]})})})]})}),qe=wD({createStyledComponent:ne("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root}),useThemeProps:t=>gr({props:t,name:"MuiStack"})});function oG(t){return hr("MuiSwitch",t)}const wo=or("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),sG=t=>{const{classes:e,edge:r,size:n,color:i,checked:a,disabled:s}=t,l={root:["root",r&&`edge${Qt(r)}`,`size${Qt(n)}`],switchBase:["switchBase",`color${Qt(i)}`,a&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},u=fr(l,oG,e);return{...e,...u}},lG=ne("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.edge&&e[`edge${Qt(r.edge)}`],e[`size${Qt(r.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${wo.thumb}`]:{width:16,height:16},[`& .${wo.switchBase}`]:{padding:4,[`&.${wo.checked}`]:{transform:"translateX(16px)"}}}}]}),cG=ne(yL,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.switchBase,{[`& .${wo.input}`]:e.input},r.color!=="default"&&e[`color${Qt(r.color)}`]]}})(Xe(({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:`${t.palette.mode==="light"?t.palette.common.white:t.palette.grey[300]}`,transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),[`&.${wo.checked}`]:{transform:"translateX(20px)"},[`&.${wo.disabled}`]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:`${t.palette.mode==="light"?t.palette.grey[100]:t.palette.grey[600]}`},[`&.${wo.checked} + .${wo.track}`]:{opacity:.5},[`&.${wo.disabled} + .${wo.track}`]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:`${t.palette.mode==="light"?.12:.2}`},[`& .${wo.input}`]:{left:"-100%",width:"300%"}})),Xe(({theme:t})=>({"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Zr(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(t.palette).filter(ui(["light"])).map(([e])=>({props:{color:e},style:{[`&.${wo.checked}`]:{color:(t.vars||t).palette[e].main,"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Zr(t.palette[e].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${wo.disabled}`]:{color:t.vars?t.vars.palette.Switch[`${e}DisabledColor`]:`${t.palette.mode==="light"?Bh(t.palette[e].main,.62):Nh(t.palette[e].main,.55)}`}},[`&.${wo.checked} + .${wo.track}`]:{backgroundColor:(t.vars||t).palette[e].main}}}))]}))),uG=ne("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(t,e)=>e.track})(Xe(({theme:t})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:`${t.palette.mode==="light"?t.palette.common.black:t.palette.common.white}`,opacity:t.vars?t.vars.opacity.switchTrack:`${t.palette.mode==="light"?.38:.3}`}))),hG=ne("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(t,e)=>e.thumb})(Xe(({theme:t})=>({boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),fG=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiSwitch"}),{className:i,color:a="primary",edge:s=!1,size:l="medium",sx:u,slots:h={},slotProps:f={},...p}=n,y={...n,color:a,edge:s,size:l},g=sG(y),b={slots:h,slotProps:f}
197,[v,C]=wr("root",{className:Te(g.root,i),elementType:lG,externalForwardedProps:b,ownerState:y,additionalProps:{sx:u}}),[k,T]=wr("thumb",{className:g.thumb,elementType:hG,externalForwardedProps:b,ownerState:y}),E=w.jsx(k,{...T}),[L,O]=wr("track",{className:g.track,elementType:uG,externalForwardedProps:b,ownerState:y});return w.jsxs(v,{...C,children:[w.jsx(cG,{type:"checkbox",icon:E,checkedIcon:E,ref:r,ownerState:y,...p,classes:{...g,root:g.switchBase},slots:{...h.switchBase&&{root:h.switchBase},...h.input&&{input:h.input}},slotProps:{...f.switchBase&&{root:typeof f.switchBase=="function"?f.switchBase(y):f.switchBase},...f.input&&{input:typeof f.input=="function"?f.input(y):f.input}}}),w.jsx(L,{...O})]})});function dG(t){return hr("MuiTab",t)}const Zs=or("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),pG=t=>{const{classes:e,textColor:r,fullWidth:n,wrapped:i,icon:a,label:s,selected:l,disabled:u}=t,h={root:["root",a&&s&&"labelIcon",`textColor${Qt(r)}`,n&&"fullWidth",i&&"wrapped",l&&"selected",u&&"disabled"],icon:["iconWrapper","icon"]};return fr(h,dG,e)},gG=ne(Pc,{name:"MuiTab",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.label&&r.icon&&e.labelIcon,e[`textColor${Qt(r.textColor)}`],r.fullWidth&&e.fullWidth,r.wrapped&&e.wrapped,{[`& .${Zs.iconWrapper}`]:e.iconWrapper},{[`& .${Zs.icon}`]:e.icon}]}})(Xe(({theme:t})=>({...t.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:e})=>e.label&&(e.iconPosition==="top"||e.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:e})=>e.label&&e.iconPosition!=="top"&&e.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:e})=>e.icon&&e.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:e,iconPosition:r})=>e.icon&&e.label&&r==="top",style:{[`& > .${Zs.icon}`]:{marginBottom:6}}},{props:({ownerState:e,iconPosition:r})=>e.icon&&e.label&&r==="bottom",style:{[`& > .${Zs.icon}`]:{marginTop:6}}},{props:({ownerState:e,iconPosition:r})=>e.icon&&e.label&&r==="start",style:{[`& > .${Zs.icon}`]:{marginRight:t.spacing(1)}}},{props:({ownerState:e,iconPosition:r})=>e.icon&&e.label&&r==="end",style:{[`& > .${Zs.icon}`]:{marginLeft:t.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${Zs.selected}`]:{opacity:1},[`&.${Zs.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(t.vars||t).palette.text.secondary,[`&.${Zs.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${Zs.disabled}`]:{color:(t.vars||t).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(t.vars||t).palette.text.secondary,[`&.${Zs.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${Zs.disabled}`]:{color:(t.vars||t).palette.text.disabled}}},{props:({ownerState:e})=>e.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:e})=>e.wrapped,style:{fontSize:t.typography.pxToRem(12)}}]}))),_1=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiTab"}),{className:i,disabled:a=!1,disableFocusRipple:s=!1,fullWidth:l,icon:u,iconPosition:h="top",indicator:f,label:p,onChange:y,onClick:g,onFocus:b,selected:v,selectionFollowsFocus:C,textColor:k="inherit",value:T,wrapped:E=!1,...L}=n,O={...n,disabled:a,disableFocusRipple:s,selected:v,icon:!!u,iconPosition:h,label:!!p,fullWidth:l,textColor:k,wrapped:E},W=pG(O),q=u&&p&&H.isValidElement(u)?H.cloneElement(u,{className:Te(W.icon,u.props.className)}):u,U=M=>{!v&&y&&y(M,T),g&&g(M)},j=M=>{C&&!v&&y&&y(M,T),b&&b(M)};return w.jsxs(gG,{focusRipple:!s,className:Te(W.root,i),ref:r,role:"tab","aria-selected":v,disabled:a,onClick:U,onFocus:j,ownerState:O,tabIndex:v?0:-1,...L,children:[h==="top"||h==="start"?w.jsxs(H.Fragment,{children:[q,p]}):w.jsxs(H.Fragment,{children:[p,q]}),f]})}),LL=H.createContext();function mG(t){return hr("MuiTable",t)}or("MuiTable",["root","stickyHeader"]);const yG=t=>{const{classes:e,stickyHeader:r}=t;return fr({root:["root",r&&"stickyHeader"]},mG,e)}
197,bG=ne("table",{name:"MuiTable",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.stickyHeader&&e.stickyHeader]}})(Xe(({theme:t})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...t.typography.body2,padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:e})=>e.stickyHeader,style:{borderCollapse:"separate"}}]}))),P_="table",ix=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiTable"}),{className:i,component:a=P_,padding:s="normal",size:l="medium",stickyHeader:u=!1,...h}=n,f={...n,component:a,padding:s,size:l,stickyHeader:u},p=yG(f),y=H.useMemo(()=>({padding:s,size:l,stickyHeader:u}),[s,l,u]);return w.jsx(LL.Provider,{value:y,children:w.jsx(bG,{as:a,role:a===P_?null:"table",ref:r,className:Te(p.root,i),ownerState:f,...h})})}),Xy=H.createContext();function vG(t){return hr("MuiTableBody",t)}or("MuiTableBody",["root"]);const xG=t=>{const{classes:e}=t;return fr({root:["root"]},vG,e)},SG=ne("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-row-group"}),wG={variant:"body"},$_="tbody",ax=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiTableBody"}),{className:i,component:a=$_,...s}=n,l={...n,component:a},u=xG(l);return w.jsx(Xy.Provider,{value:wG,children:w.jsx(SG,{className:Te(u.root,i),as:a,ref:r,role:a===$_?null:"rowgroup",ownerState:l,...s})})});function CG(t){return hr("MuiTableCell",t)}const kG=or("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),_G=t=>{const{classes:e,variant:r,align:n,padding:i,size:a,stickyHeader:s}=t,l={root:["root",r,s&&"stickyHeader",n!=="inherit"&&`align${Qt(n)}`,i!=="normal"&&`padding${Qt(i)}`,`size${Qt(a)}`]};return fr(l,CG,e)},AG=ne("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],e[`size${Qt(r.size)}`],r.padding!=="normal"&&e[`padding${Qt(r.padding)}`],r.align!=="inherit"&&e[`align${Qt(r.align)}`],r.stickyHeader&&e.stickyHeader]}})(Xe(({theme:t})=>({...t.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?`1px solid ${t.vars.palette.TableCell.border}`:`1px solid
198    ${t.palette.mode==="light"?Bh(Zr(t.palette.divider,1),.88):Nh(Zr(t.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(t.vars||t).palette.text.primary}},{props:{variant:"footer"},style:{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${kG.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:e})=>e.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default}}]}))),tn=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiTableCell"}),{align:i="inherit",className:a,component:s,padding:l,scope:u,size:h,sortDirection:f,variant:p,...y}=n,g=H.useContext(LL),b=H.useContext(Xy),v=b&&b.variant==="head";let C;s?C=s:C=v?"th":"td";let k=u;C==="td"?k=void 0:!k&&v&&(k="col");const T=p||b&&b.variant,E={...n,align:i,component:C,padding:l||(g&&g.padding?g.padding:"normal"),size:h||(g&&g.size?g.size:"medium"),sortDirection:f,stickyHeader:T==="head"&&g&&g.stickyHeader,variant:T},L=_G(E);let O=null;return f&&(O=f==="asc"?"ascending":"descending"),w.jsx(AG,{as:C,ref:r,className:Te(L.root,a),"aria-sort":O,scope:k,ownerState:E,...y})});function TG(t){return hr("MuiTableContainer",t)}or("MuiTableContainer",["root"]);const LG=t=>{const{classes:e}=t;return fr({root:["root"]},TG,e)},EG=ne("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(t,e)=>e.root})({width:"100%",overflowX:"auto"}),ox=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiTableContainer"}),{className:i,component:a="div",...s}=n,l={...n,component:a},u=LG(l);return w.jsx(EG,{ref:r,as:a,className:Te(u.root,i),ownerState:l,...s})});function MG(t){return hr("MuiTableHead",t)}or("MuiTableHead",["root"]);const RG=t=>{const{classes:e}=t;return fr({root:["root"]},MG,e)},NG=ne("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-header-group"}),BG={variant:"head"},j_="thead",sx=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiTableHead"}),{className:i,component:a=j_,...s}=n,l={...n,component:a},u=RG(l);return w.jsx(Xy.Provider,{value:BG,children:w.jsx(NG,{as:a,className:Te(u.root,i),ref:r,role:a===j_?null:"rowgroup",ownerState:l,...s})})});function OG(t){return hr("MuiToolbar",t)}or("MuiToolbar",["root","gutters","regular","dense"]);const PG=t=>{const{classes:e,disableGutters:r,variant:n}=t;return fr({root:["root",!r&&"gutters",n]},OG,e)},$G=ne("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,!r.disableGutters&&e.gutters,e[r.variant]]}})(Xe(({theme:t})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:t.mixins.toolbar}]}))),jG=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiToolbar"}),{className:i,component:a="div",disableGutters:s=!1,variant:l="regular",...u}=n,h={...n,component:a,disableGutters:s,variant:l},f=PG(h);return w.jsx($G,{as:a,className:Te(f.root,i),ref:r,ownerState:h,...u})}),DG=Jr(w.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),IG=Jr(w.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function zG(t){return hr("MuiTableRow",t)}const D_=or("MuiTableRow",["root","selected","hover","head","footer"]),FG=t=>{const{classes:e,selected:r,hover:n,head:i,footer:a}=t;return fr({root:["root",r&&"selected",n&&"hover",i&&"head",a&&"footer"]},zG,e)},qG=ne("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.head&&e.head,r.footer&&e.footer]}})(Xe(({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${D_.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${D_.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Zr(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Zr(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}}))),I_="tr",Vd=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiTableRow"}),{className:i,component:a=I_,hover:s=!1,selected:l=!1,...u}=n,h=H.useContext(Xy),f={...n,component:a,hover:s,selected:l,head:h&&h.variant==="head",footer
198:h&&h.variant==="footer"},p=FG(f);return w.jsx(qG,{as:a,ref:r,className:Te(p.root,i),role:a===I_?null:"row",ownerState:f,...u})});function HG(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}function UG(t,e,r,n={},i=()=>{}){const{ease:a=HG,duration:s=300}=n;let l=null;const u=e[t];let h=!1;const f=()=>{h=!0},p=y=>{if(h){i(new Error("Animation cancelled"));return}l===null&&(l=y);const g=Math.min(1,(y-l)/s);if(e[t]=a(g)*(r-u)+u,g>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(p)};return u===r?(i(new Error("Element already at target position")),f):(requestAnimationFrame(p),f)}const WG={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function GG(t){const{onChange:e,...r}=t,n=H.useRef(),i=H.useRef(null),a=()=>{n.current=i.current.offsetHeight-i.current.clientHeight};return rs(()=>{const s=nm(()=>{const u=n.current;a(),u!==n.current&&e(n.current)}),l=Es(i.current);return l.addEventListener("resize",s),()=>{s.clear(),l.removeEventListener("resize",s)}},[e]),H.useEffect(()=>{a(),e(n.current)},[e]),w.jsx("div",{style:WG,...r,ref:i})}function VG(t){return hr("MuiTabScrollButton",t)}const YG=or("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),XG=t=>{const{classes:e,orientation:r,disabled:n}=t;return fr({root:["root",r,n&&"disabled"]},VG,e)},KG=ne(Pc,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.orientation&&e[r.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${YG.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),ZG=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiTabScrollButton"}),{className:i,slots:a={},slotProps:s={},direction:l,orientation:u,disabled:h,...f}=n,p=Qf(),y={isRtl:p,...n},g=XG(y),b=a.StartScrollButtonIcon??DG,v=a.EndScrollButtonIcon??IG,C=Ap({elementType:b,externalSlotProps:s.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:y}),k=Ap({elementType:v,externalSlotProps:s.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:y});return w.jsx(KG,{component:"div",className:Te(g.root,i),ref:r,role:null,ownerState:y,tabIndex:null,...f,style:{...f.style,...u==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${p?-90:90}deg)`}},children:l==="left"?w.jsx(b,{...C}):w.jsx(v,{...k})})});function QG(t){return hr("MuiTabs",t)}const lx=or("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","
198indicator"]),z_=(t,e)=>t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild,F_=(t,e)=>t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild,A1=(t,e,r)=>{let n=!1,i=r(t,e);for(;i;){if(i===t.firstChild){if(n)return;n=!0}const a=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||a)i=r(t,i);else{i.focus();return}}},JG=t=>{const{vertical:e,fixed:r,hideScrollbar:n,scrollableX:i,scrollableY:a,centered:s,scrollButtonsHideMobile:l,classes:u}=t;return fr({root:["root",e&&"vertical"],scroller:["scroller",r&&"fixed",n&&"hideScrollbar",i&&"scrollableX",a&&"scrollableY"],list:["list","flexContainer",e&&"flexContainerVertical",e&&"vertical",s&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},QG,u)},tV=ne("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`& .${lx.scrollButtons}`]:e.scrollButtons},{[`& .${lx.scrollButtons}`]:r.scrollButtonsHideMobile&&e.scrollButtonsHideMobile},e.root,r.vertical&&e.vertical]}})(Xe(({theme:t})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.scrollButtonsHideMobile,style:{[`& .${lx.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}}]}))),eV=ne("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.scroller,r.fixed&&e.fixed,r.hideScrollbar&&e.hideScrollbar,r.scrollableX&&e.scrollableX,r.scrollableY&&e.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:t})=>t.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:t})=>t.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:t})=>t.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:t})=>t.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),rV=ne("div",{name:"MuiTabs",slot:"List",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.list,e.flexContainer,r.vertical&&e.flexContainerVertical,r.centered&&e.centered]}})({display:"flex",variants:[{props:({ownerState:t})=>t.vertical,style:{flexDirection:"column"}},{props:({ownerState:t})=>t.centered,style:{justifyContent:"center"}}]}),nV=ne("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(t,e)=>e.indicator})(Xe(({theme:t})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(t.vars||t).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(t.vars||t).palette.secondary.main}},{props:({ownerState:e})=>e.vertical,style:{height:"100%",width:2,right:0}}]}))),iV=ne(GG)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),q_={},H_=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiTabs"}),i=Ru(),a=Qf(),{"aria-label":s,"aria-labelledby":l,action:u,centered:h=!1,children:f,className:p,component:y="div",allowScrollButtonsMobile:g=!1,indicatorColor:b="primary",onChange:v,orientation:C="horizontal",ScrollButtonComponent:k,scrollButtons:T="auto",selectionFollowsFocus:E,slots:L={},slotProps:O={},TabIndicatorProps:W={},TabScrollButtonProps:q={},textColor:U="primary",value:j,variant:M="standard",visibleScrollbar:N=!1,...I}=n,V=M==="scrollable",z=C==="vertical",Y=z?"scrollTop":"scrollLeft",D=z?"top":"left",Z=z?"bottom":"right",Q=z?"clientHeight":"clientWidth",it=z?"height":"width",mt={...n,component:y,allowScrollButtonsMobile:g,indicatorColor:b,orientation:C,vertical:z,scrollButtons:T,textColor:U,variant:M,visibleScrollbar:N,fixed:!V,hideScrollbar:V&&!N,scrollableX:V&&!z,scrollableY:V&&z,centered:h&&!V,scrollButtonsHideMobile:!g},K=JG(mt),P=Ap({elementType:L.StartScrollButtonIcon,externalSlotProps:O.startScrollButtonIcon,ownerState:mt}),X=Ap({elementType:L.EndScrollButtonIcon,externalSlotProps:O.endScrollButtonIcon,ownerState:mt}),[et,rt]=H.useState(!1),[lt,ht]=H.useState(q_),[bt,yt]=H.useState(!1),[kt,Rt]=H.useState(!1),[wt,qt]=H.useState(!1),[Ht,at]=H.useState({overflow:"hidden",scrollbarWidth:0}),ae=new Map,Kt=H.useRef(null),le=H.useRef(null),Ot={slots:L,slotProps:{indicator:W,scrollButton:q,...O}},be=()=>{const ee=Kt.current;let ze;if(ee){const rr=ee.getBoundingClientRect();ze={clientWidth:ee.clientWidth,scrollLeft:ee.scrollLeft,scrollTop:ee.scrollTop,scrollWidth:ee.scrollWidth,top:rr.top,bottom:rr.bottom,left:rr.left,right:rr.right}}let br;if(ee&&j!==!1){const rr=le.current.children;if(rr.length>0){const jr=rr[ae.get(j)];br=jr?jr.getBoundingClientRect():null}}return{tabsMeta:ze,tabMeta:br}},Nt=so(()=>{const{tabsMeta:ee,tabMeta:ze}=be();let br=0,rr;z?(rr="top",ze&&ee&&(br=ze.top-ee.top+ee.scrollTop)):(rr=a?"right":"left",ze&&ee&&(br=(a?-1:1)*(ze[rr]-ee[rr]+ee.scrollLeft)));const jr={[rr]:br,[it]:ze?ze[it]:0};if(typeof lt[rr]!="number"||typeof lt[it]!="number")ht(jr);
198else{const vr=Math.abs(lt[rr]-jr[rr]),Fr=Math.abs(lt[it]-jr[it]);(vr>=1||Fr>=1)&&ht(jr)}}),Dt=(ee,{animation:ze=!0}={})=>{ze?UG(Y,Kt.current,ee,{duration:i.transitions.duration.standard}):Kt.current[Y]=ee},Vt=ee=>{let ze=Kt.current[Y];z?ze+=ee:ze+=ee*(a?-1:1),Dt(ze)},de=()=>{const ee=Kt.current[Q];let ze=0;const br=Array.from(le.current.children);for(let rr=0;rr<br.length;rr+=1){const jr=br[rr];if(ze+jr[Q]>ee){rr===0&&(ze=ee);break}ze+=jr[Q]}return ze},Be=()=>{Vt(-1*de())},_e=()=>{Vt(de())},[Ne,{onChange:Oe,...we}]=wr("scrollbar",{className:Te(K.scrollableX,K.hideScrollbar),elementType:iV,shouldForwardComponentProp:!0,externalForwardedProps:Ot,ownerState:mt}),Ae=H.useCallback(ee=>{Oe?.(ee),at({overflow:null,scrollbarWidth:ee})},[Oe]),[ce,Er]=wr("scrollButtons",{className:Te(K.scrollButtons,q.className),elementType:ZG,externalForwardedProps:Ot,ownerState:mt,additionalProps:{orientation:C,slots:{StartScrollButtonIcon:L.startScrollButtonIcon||L.StartScrollButtonIcon,EndScrollButtonIcon:L.endScrollButtonIcon||L.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:P,endScrollButtonIcon:X}}}),He=()=>{const ee={};ee.scrollbarSizeListener=V?w.jsx(Ne,{...we,onChange:Ae}):null;const br=V&&(T==="auto"&&(bt||kt)||T===!0);return ee.scrollButtonStart=br?w.jsx(ce,{direction:a?"right":"left",onClick:Be,disabled:!bt,...Er}):null,ee.scrollButtonEnd=br?w.jsx(ce,{direction:a?"left":"right",onClick:_e,disabled:!kt,...Er}):null,ee},Jt=so(ee=>{const{tabsMeta:ze,tabMeta:br}=be();if(!(!br||!ze)){if(br[D]<ze[D]){const rr=ze[Y]+(br[D]-ze[D]);Dt(rr,{animation:ee})}else if(br[Z]>ze[Z]){const rr=ze[Y]+(br[Z]-ze[Z]);Dt(rr,{animation:ee})}}}),Se=so(()=>{V&&T!==!1&&qt(!wt)});H.useEffect(()=>{const ee=nm(()=>{Kt.current&&Nt()});let ze;const br=vr=>{vr.forEach(Fr=>{Fr.removedNodes.forEach(Or=>{ze?.unobserve(Or)}),Fr.addedNodes.forEach(Or=>{ze?.observe(Or)})}),ee(),Se()},rr=Es(Kt.current);rr.addEventListener("resize",ee);let jr;return typeof ResizeObserver<"u"&&(ze=new ResizeObserver(ee),Array.from(le.current.children).forEach(vr=>{ze.observe(vr)})),typeof MutationObserver<"u"&&(jr=new MutationObserver(br),jr.observe(le.current,{childList:!0})),()=>{ee.clear(),rr.removeEventListener("resize",ee),jr?.disconnect(),ze?.disconnect()}},[Nt,Se]),H.useEffect(()=>{const ee=Array.from(le.current.children),ze=ee.length;if(typeof IntersectionObserver<"u"&&ze>0&&V&&T!==!1){const br=ee[0],rr=ee[ze-1],jr={root:Kt.current,threshold:.99},vr=Dr=>{yt(!Dr[0].isIntersecting)},Fr=new IntersectionObserver(vr,jr);Fr.observe(br);const Or=Dr=>{Rt(!Dr[0].isIntersecting)},dn=new IntersectionObserver(Or,jr);return dn.observe(rr),()=>{Fr.disconnect(),dn.disconnect()}}},[V,T,wt,f?.length]),H.useEffect(()=>{rt(!0)},[]),H.useEffect(()=>{Nt()}),H.useEffect(()=>{Jt(q_!==lt)},[Jt,lt]),H.useImperativeHandle(u,()=>({updateIndicator:Nt,updateScrollButtons:Se}),[Nt,Se]);const[Pe,je]=wr("indicator",{className:Te(K.indicator,W.className),elementType:nV,externalForwardedProps:Ot,ownerState:mt,additionalProps:{style:lt}}),Et=w.jsx(Pe,{...je});let fe=0;const te=H.Children.map(f,ee=>{if(!H.isValidElement(ee))return null;const ze=ee.props.value===void 0?fe:ee.props.value;ae.set(ze,fe);const br=ze===j;return fe+=1,H.cloneElement(ee,{fullWidth:M==="fullWidth",indicator:br&&!et&&Et,selected:br,selectionFollowsFocus:E,onChange:v,textColor:U,value:ze,...fe===1&&j===!1&&!ee.props.tabIndex?{tabIndex:0}:{}})}),Ze=ee=>{if(ee.altKey||ee.shiftKey||ee.ctrlKey||ee.metaKey)return;const ze=le.current,br=ns(ze).activeElement;if(br.getAttribute("role")!=="tab")return;let jr=C==="horizontal"?"ArrowLeft":"ArrowUp",vr=C==="horizontal"?"ArrowRight":"ArrowDown";switch(C==="horizontal"&&a&&(jr="ArrowRight",vr="ArrowLeft"),ee.key){case jr:ee.preventDefault(),A1(ze,br,F_);break;case vr:ee.preventDefault(),A1(ze,br,z_);break;case"Home":ee.preventDefault(),A1(ze,null,z_);break;case"End":ee.preventDefault(),A1(ze,null,F_);break}},Ge=He(),[Me,lr]=wr("root",{ref:r,className:Te(K.root,p),elementType:tV,externalForwardedProps:{...Ot,...I,component:y},ownerState:mt}),[Sn,Xt]=wr("scroller",{ref:Kt,className:K.scroller,elementType:eV,externalForwardedProps:Ot,ownerState:mt,additionalProps:{style:{overflow:Ht.overflow,[z?`margin${a?"Left":"Right"}`:"marginBottom"]:N?void 0:-Ht.scrollbarWidth}}}),[me,Br]=wr("list",{ref:le,className:Te(K.list,K.flexContainer),elementType:rV,externalForwardedProps:Ot,ownerState:mt,getSlotProps:ee=>({...ee,onKeyDown:ze=>{Ze(ze),ee.onKeyDown?.(ze)}})});return w.jsxs(Me,{...lr,children:[Ge.scrollButtonStart,Ge.scrollbarSizeListener,w.jsxs(Sn,{...Xt,children:[w.jsx(me,{"aria-label":s,"aria-labelledby":l,"aria-orientation":C==="vertical"?"vertical":null,role:"tablist",...Br,children:te}),et&&Et]}),Ge.scrollButtonEnd]})});function aV(t){return hr("MuiTextField",t)}
198or("MuiTextField",["root"]);const oV={standard:kw,filled:Cw,outlined:Tw},sV=t=>{const{classes:e}=t;return fr({root:["root"]},aV,e)},lV=ne(bu,{name:"MuiTextField",slot:"Root",overridesResolver:(t,e)=>e.root})({}),Xi=H.forwardRef(function(e,r){const n=gr({props:e,name:"MuiTextField"}),{autoComplete:i,autoFocus:a=!1,children:s,className:l,color:u="primary",defaultValue:h,disabled:f=!1,error:p=!1,FormHelperTextProps:y,fullWidth:g=!1,helperText:b,id:v,InputLabelProps:C,inputProps:k,InputProps:T,inputRef:E,label:L,maxRows:O,minRows:W,multiline:q=!1,name:U,onBlur:j,onChange:M,onFocus:N,placeholder:I,required:V=!1,rows:z,select:Y=!1,SelectProps:D,slots:Z={},slotProps:Q={},type:it,value:mt,variant:K="outlined",...P}=n,X={...n,autoFocus:a,color:u,disabled:f,error:p,fullWidth:g,multiline:q,required:V,select:Y,variant:K},et=sV(X),rt=Fh(v),lt=b&&rt?`${rt}-helper-text`:void 0,ht=L&&rt?`${rt}-label`:void 0,bt=oV[K],yt={slots:Z,slotProps:{input:T,inputLabel:C,htmlInput:k,formHelperText:y,select:D,...Q}},kt={},Rt=yt.slotProps.inputLabel;K==="outlined"&&(Rt&&typeof Rt.shrink<"u"&&(kt.notched=Rt.shrink),kt.label=L),Y&&((!D||!D.native)&&(kt.id=void 0),kt["aria-describedby"]=void 0);const[wt,qt]=wr("root",{elementType:lV,shouldForwardComponentProp:!0,externalForwardedProps:{...yt,...P},ownerState:X,className:Te(et.root,l),ref:r,additionalProps:{disabled:f,error:p,fullWidth:g,required:V,color:u,variant:K}}),[Ht,at]=wr("input",{elementType:bt,externalForwardedProps:yt,additionalProps:kt,ownerState:X}),[ae,Kt]=wr("inputLabel",{elementType:vu,externalForwardedProps:yt,ownerState:X}),[le,Ot]=wr("htmlInput",{elementType:"input",externalForwardedProps:yt,ownerState:X}),[be,Nt]=wr("formHelperText",{elementType:cU,externalForwardedProps:yt,ownerState:X}),[Dt,Vt]=wr("select",{elementType:Ac,externalForwardedProps:yt,ownerState:X}),de=w.jsx(Ht,{"aria-describedby":lt,autoComplete:i,autoFocus:a,defaultValue:h,fullWidth:g,multiline:q,name:U,rows:z,maxRows:O,minRows:W,type:it,value:mt,id:rt,inputRef:E,onBlur:j,onChange:M,onFocus:N,placeholder:I,inputProps:Ot,slots:{input:Z.htmlInput?le:void 0},...at});return w.jsxs(wt,{...qt,children:[L!=null&&L!==""&&w.jsx(ae,{htmlFor:rt,id:ht,...Kt,children:L}),Y?w.jsx(Dt,{"aria-describedby":lt,id:rt,labelId:ht,value:mt,input:de,...Vt,children:s}):de,b&&w.jsx(be,{id:lt,...Nt,children:b})]})}),cV=Jr(w.jsx("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward"),EL=Jr(w.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack"),uV=Jr(w.jsx("path",{d:"M12 5V2L8 6l4 4V7c3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93 0-4.42-3.58-8-8-8m-6 8c0-1.65.67-3.15 1.76-4.24L6.34 7.34C4.9 8.79 4 10.79 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91"}),"RestartAlt"),hV=Jr(w.jsx("path",{d:"M9.37 5.51c-.18.64-.27 1.31-.27 1.99 0 4.08 3.32 7.4 7.4 7.4.68 0 1.35-.09 1.99-.27C17.45 17.19 14.93 19 12 19c-3.86 0-7-3.14-7-7 0-2.93 1.81-5.45 4.37-6.49M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1"}),"DarkModeOutlined"),fV=Jr(w.jsx("path",{d:"M12 9c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3m0-2c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"}),"LightModeOutlined"),Kr={300:"#d8b4fe",400:"#c084fc",500:"#a78bfa",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6"},U_={500:"#22c55e",600:"#16a34a"},dV=H.createContext({mode:"dark",toggleColorMode:()=>{}}),ML="testpilot-theme-mode";function pV(){try{return localStorage.getItem(ML)||"dark"}catch{return"dark"}}function gV(t){try{localStorage.setItem(ML,t)}catch{}}const mV={fontFamily:'"Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif',fontFamilyMonospace:'"IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace',fontSize:13.5,h5:{fontSize:"1.35rem",fontWeight:600},h6:{fontSize:"1.05rem",fontWeight:600},subtitle1:{fontSize:"0.95rem"},body2:{fontSize:"0.88rem"},caption:{fontSize:"0.72rem"}};function yV(t){const e=t==="dark",r=e?"rgba(255,255,255,0.10)":"rgba(0,0,0,0.10)",n=e?"rgba(167, 139, 250, 0.45)":"rgba(124, 58, 237, 0.35)",i=e?"rgba(167, 139, 250, 0.16)":"rgba(124, 58, 237, 0.12)",a=e?"rgba(167, 139, 250, 0.70)":"rgba(124, 58, 237, 0.60)",s=e?"rgba(0,0,0,0.25)":"rgba(0,0,0,0.03)",l=e?"rgba(255,255,255,0.70)":"rgba(0,0,0,0.60)",u=e?Kr[500]:Kr[600],h=e?"rgba(255,255,255,0.05)":"rgba(255,255,255,0.82)",f=e?"rgba(255,255,255,0.10)":"rgba(255,255,255,0.90)",p=e?"0 4px 24px rgba(0,0,0,0.40), inset 0 1px 0 rgba(255,255,255,0.06)":"0 4px 24px rgba(124,58,237,0.07), inset 0 1px 0 rgba(255,255,255,1)",y=e?"rgba(255,255,255,0.50)":"rgba(0,0,0,0.45)",g=e?"rgba(255,255,255,0.92)":"rgba(0,0,0,0.87)",b=e?"rgba(255,255,255,0.70)":"rgba(0,0,0,0.60)",v=e?"rgba(15,15,15,0.82)":"rgba(255,255,255,0.82)",C=e?"rgba(255,255,255,0.12)":"rgba(0,0,0,0.10)",k=e?"0 0 0 1px rgba(167, 139, 250, 0.10), 0 24px 70px rgba(0,0,0,0.55)":"0 0 0 1px rgba(124, 58, 237, 0.06), 0 12px 40px rgba(0,0,0,0.10)";return{MuiCssBaseline:{styleOverrides:{"*":{boxSizing:"border-box"}}},MuiPaper:{styleOverrides:{root:{backgroundImage:"none"}}},MuiFormLabel:{styleOverrides:{root:{color:l,"&.Mui-focused":{color:u},"&.Mui-disabled":{color:e?"rgba(255,255,255,0.35)":"rgba(0,0,0,0.30)"}}}},MuiInputLabel:{styleOverrides:{root:{color:l,"&.Mui-focused":{color:e?"rgba(255,255,255,0.86)":"rgba(0,0,0,0.75)"}}}},MuiCard:{defaultProps:{elevation:0},styleOverrides:{root:{border:`1px solid ${f}`,backgroundImage:"none",backgroundColor:h,borderRadius:20,boxSh
198adow:p}}},MuiOutlinedInput:{styleOverrides:{root:{backgroundColor:s,borderRadius:14,transition:"box-shadow 160ms ease, border-color 160ms ease","& .MuiOutlinedInput-notchedOutline":{borderColor:r},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:n},"&.Mui-focused":{boxShadow:`0 0 0 4px ${i}`},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:a}}}},MuiSelect:{defaultProps:{MenuProps:{disableScrollLock:!0,PaperProps:{sx:{mt:1,borderRadius:"10px",border:`1px solid ${C}`,backgroundColor:v,backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",boxShadow:k}}}}},MuiPopover:{defaultProps:{disableScrollLock:!0}},MuiButton:{styleOverrides:{root:{textTransform:"none",borderRadius:99,fontWeight:600}}},MuiAlert:{styleOverrides:{root:{borderRadius:14}}},MuiChip:{styleOverrides:{root:{borderRadius:99}}},MuiAccordion:{styleOverrides:{root:{borderRadius:"16px !important","&:before":{display:"none"}}}},MuiStepLabel:{styleOverrides:{label:{color:y,transition:"all 0.3s ease","&.Mui-active":{color:g,fontWeight:700},"&.Mui-completed":{color:b}}}}}}function bV(t){const e=t==="dark";return Fy({palette:{mode:t,primary:{main:e?Kr[500]:Kr[600]},secondary:{main:e?Kr[300]:Kr[500]},background:{default:e?"#0a0a0a":"#faf8ff",paper:e?"#111111":"#ffffff"},text:{primary:e?"#f1f5f9":"#1e293b",secondary:e?"rgba(255,255,255,0.60)":"rgba(0,0,0,0.55)"},divider:e?"rgba(255,255,255,0.08)":"rgba(0,0,0,0.08)",success:{main:e?U_[500]:U_[600]}},shape:{borderRadius:14},typography:mV,components:yV(t)})}const kh={openai:[{value:"gpt-4.1",label:"GPT-4.1 (Best)"},{value:"gpt-4.1-mini",label:"GPT-4.1 Mini"},{value:"gpt-4.1-nano",label:"GPT-4.1 Nano"},{value:"gpt-4o",label:"GPT-4o"},{value:"gpt-4o-mini",label:"GPT-4o Mini"},{value:"o3-mini",label:"o3-mini"},{value:"o4-mini",label:"o4-mini"}],anthropic:[{value:"claude-sonnet-4-5-20250514",label:"Claude Sonnet 4.5 (Best)"},{value:"claude-3-5-sonnet-latest",label:"Claude 3.5 Sonnet"},{value:"claude-3-5-haiku-latest",label:"Claude 3.5 Haiku"},{value:"claude-3-haiku-20240307",label:"Claude 3 Haiku"}],gemini:[{value:"gemini-2.5-flash-preview-05-20",label:"Gemini 2.5 Flash (Best)"},{value:"gemini-2.0-flash",label:"Gemini 2.0 Flash"},{value:"gemini-1.5-pro",label:"Gemini 1.5 Pro"},{value:"gemini-1.5-flash",label:"Gemini 1.5 Flash"}]},cx=t=>(kh[t]||[])[0]?.value||"",W_={"state-transition":{label:"State Machine Diagram",type:"stateDiagram-v2"},"decision-tables":{label:"Decision Flow Diagram",type:"flowchart TD"},"equivalence-partitioning":{label:"Partition Range Diagram",type:"flowchart LR"},"boundary-value-analysis":{label:"Boundary Value Diagram",type:"flowchart LR"},"pairwise-combinatorial":{label:"Combination Matrix Diagram",type:"flowchart TD"},"feature-decomposition":{label:"Decomposition Mind Map",type:"mindmap"},"functional-core":{label:"Functional Flow Diagram",type:"flowchart TD"},"error-guessing-heuristics":{label:"Error Scenario Diagram",type:"flowchart TD"},"risk-based-prioritization":{label:"Risk Matrix Diagram",type:"flowchart TD"},"requirements-to-tests-traceability":{label:"Traceability Map",type:"flowchart LR"},"non-functional-baseline":{label:"NFR Coverage Diagram",type:"flowchart TD"},"general-fallback":{label:"General Test Flow",type:"flowchart TD"}},R5=Jr(w.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"}),"CloudUpload"),RL=Jr(w.jsx("path",{d:"M5 13h14v-2H5zm-2 4h14v-2H3zM7 7v2h14V7z"}),"ClearAll"),_s=Jr(w.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle"),N5=Jr(w.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility"),B5=Jr(w.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff"),$2=Jr(w.jsx("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"InfoOutlined"),G_=Jr(w.jsx("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"Link"),Sh=Jr(w.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),vV=Jr(w.jsx("path",{d:"M3 10h11v2H3zm0-2h11V6H3zm0 8h7v-2H3zm15.01-3.13.71-.71c.39-.39 1.02-.39 1.41 0l.71.71c.39.39.39 1.02 0 1.41l-.71.71zm-.71.71-5.3 5.3V21h2.12l5.3-5.3z"}),"EditNote"),T1="https://test-scenario-generator.onrender.com";function xV(t){const e=String(t||"");return e.startsWith("sk-ant-")?"anthropic":e.startsWith("sk-")?"openai":e.startsWith("AIza")?"gemini":null}const V_=t=>t==="openai"?"OpenAI":t==="anthropic"?"Anthropic":t==="gemini"?"Gemini":"";function SV({theme:t,isSmDown:e,provider:r,setProvider:n,model:i,setModel:a,artifactMode:s,setArtifactMode:l,documentType:u,setDocumentType:h,testPlanContext:f,setTestPlanContext:p,apiKey:y,setApiKey:g,apiKeyValidated:b,setApiKeyValidated:v,apiKeyModels:C,setApiKeyM
198odels:k,serverProviders:T,serverProvidersLoaded:E,requirementText:L,setRequirementText:O,requirementFile:W,setRequirementFile:q,fileInputRef:U,dragOver:j,setDragOver:M,reqInputTab:N,setReqInputTab:I,jiraConfigured:V,jiraProjects:z,jiraProject:Y,setJiraProject:D,jiraEpics:Z,jiraSprints:Q,jiraEpicFilter:it,setJiraEpicFilter:mt,jiraSprintFilter:K,setJiraSprintFilter:P,jiraStatusFilter:X,setJiraStatusFilter:et,jiraSearch:rt,setJiraSearch:lt,jiraStories:ht,setJiraStories:bt,jiraSelectedKeys:yt,setJiraSelectedKeys:kt,jiraLoading:Rt,jiraBaseUrl:wt,setJiraBaseUrl:qt,jiraEmail:Ht,setJiraEmail:at,jiraToken:ae,setJiraToken:Kt,checkJiraAndLoadProjects:le,fetchJiraStories:Ot,useSelectedJiraStories:be,acceptDroppedFile:Nt,cancelInFlight:Dt,setInfo:Vt,setError:de}){const[Be,_e]=H.useState(!1),[Ne,Oe]=H.useState(!1),[we,Ae]=H.useState(!1),[ce,Er]=H.useState(!1),[He,Jt]=H.useState(null),[Se,Pe]=H.useState(""),[je,Et]=H.useState(!0),fe=H.useRef(!1),te=t.palette.mode==="dark",Ze=T&&T.llm?T.llm:{},Me=E&&Ze[r]&&!y.trim(),lr=!!y.trim(),Sn=T&&T.jira;wt.trim()&&Ht.trim()&&ae.trim(),H.useEffect(()=>{Me&&b&&!fe.current&&(Et(!1),fe.current=!0)},[Me,b]);const Xt=[{value:"openai",label:"OpenAI"},{value:"anthropic",label:"Anthropic (Claude)"},{value:"gemini",label:"Google Gemini"}],me=lr?Xt:Xt.filter(St=>Ze[St.value]);async function Br(St,ke){if(!(!St||!ke)){Oe(!0),v(!1),k([]);try{const Je=await(await fetch(`${T1}/api/validate-key`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKey:St,provider:ke})})).json();if(!Je.valid){de(Je.error||"Invalid API key"),v(!1);return}const Wr=await(await fetch(`${T1}/api/models`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKey:St,provider:ke})})).json(),tr=Array.isArray(Wr.models)?Wr.models:[];v(!0),k(tr);const wn=(kh[ke]||[])[0];wn&&tr.includes(wn.value)?a(wn.value):tr.length>0&&a(tr[0]),Vt(`Key validated. ${tr.length} model(s) available.`)}catch(zr){de(zr.message||"Validation failed")}finally{Oe(!1)}}}function ee(St){const ke=St.target.value;g(ke),v(!1),k([]);const zr=xV(ke);if(zr&&zr!==r&&(n(zr),a(cx(zr))),!ke.trim()){const Je=Ze.openai?"openai":Ze.anthropic?"anthropic":Ze.gemini?"gemini":null;Je&&(n(Je),a(cx(Je)),fetch(`${T1}/api/models`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:Je})}).then(an=>an.json()).then(an=>{const Wr=Array.isArray(an.models)?an.models:[];k(Wr),v(!0);const tr=(kh[Je]||[])[0];tr&&Wr.includes(tr.value)?a(tr.value):Wr.length>0&&a(Wr[0])}).catch(()=>{}))}}async function ze(St){const ke=St.target.value;if(n(ke),a(cx(ke)),v(!1),k([]),!y.trim()&&Ze[ke])try{const Je=await(await fetch(`${T1}/api/models`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:ke})})).json(),an=Array.isArray(Je.models)?Je.models:[];k(an),v(!0);const Wr=(kh[ke]||[])[0];Wr&&an.includes(Wr.value)?a(Wr.value):an.length>0&&a(an[0])}catch{}}const br=C.length>0?C.map(St=>{const ke=(kh[r]||[]).find(zr=>zr.value===St);return{value:St,label:ke?ke.label:St}}):kh[r]||[],rr=L.trim()?L.trim().split(/\s+/).length:0,jr=br.find(St=>St.value===i),vr=jr?jr.label:i,Fr=b||Me,Or=te?Kr[500]:Kr[600],dn=te?"rgba(167, 139, 250, 0.08)":"rgba(124, 58, 237, 0.06)",Dr=te?"rgba(167, 139, 250, 0.03)":"rgba(124, 58, 237, 0.03)",mr=te?"rgba(167, 139, 250, 0.20)":"rgba(124, 58, 237, 0.18)",Cr=te?"rgba(167, 139, 250, 0.25)":"rgba(124, 58, 237, 0.22)",Rr="#4ade80",Wt=te?"rgba(255,255,255,0.72)":"rgba(0,0,0,0.65)",Gt=te?"rgba(167, 139, 250, 0.25)":"rgba(124, 58, 237, 0.20)",Re=te?"rgba(167, 139, 250, 0.04)":"rgba(124, 58, 237, 0.04)",Ke=te?"rgba(74, 222, 128, 0.25)":"rgba(22, 163, 74, 0.20)",ge=te?"rgba(74, 222, 128, 0.04)":"rgba(22, 163, 74, 0.04)",vt=te?"rgba(239, 68, 68, 0.30)":"rgba(220, 38, 38, 0.25)",Zt=te?"rgba(239, 68, 68, 0.04)":"rgba(220, 38, 38, 0.04)";return w.jsx(Nf,{sx:{overflow:"visible",borderColor:mr},children:w.jsxs(Bf,{sx:{p:"0 !important"},children:[w.jsx(Ee,{sx:{px:0,pt:0,pb:1},children:w.jsxs(qe,{spacing:0,children:[w.jsxs(H_,{value:s,onChange:(St,ke)=>l(ke),variant:"fullWidth",sx:{minHeight:42,borderRadius:"12px 12px 0 0",p:.5,backgroundColor:Dr,border:"1px solid",borderColor:mr,mb:s==="document"?4
198:2.5,"& .MuiTabs-indicator":{display:"none"},"& .MuiTab-root":{minHeight:38,borderRadius:2,textTransform:"none",fontSize:"0.86rem",fontWeight:600,color:"text.secondary",transition:"all 180ms ease"},"& .Mui-selected":{color:"#fff !important",background:`linear-gradient(135deg, ${Kr[500]}, ${Kr[700]})`,boxShadow:`0 6px 18px ${te?"rgba(0,0,0,0.28)":"rgba(124,58,237,0.18)"}`}},children:[w.jsx(_1,{value:"tests",label:"Test Scenarios"}),w.jsx(_1,{value:"document",label:"QA Document"})]}),s==="document"&&w.jsx(Ee,{sx:{px:3,mb:1.5},children:w.jsxs(bu,{size:"small",sx:{maxWidth:320,width:"100%"},children:[w.jsx(vu,{children:"Document Type"}),w.jsxs(Ac,{value:u,label:"Document Type",onChange:St=>h(St.target.value),children:[w.jsx(qa,{value:"rtm",children:"Requirements Traceability Matrix"}),w.jsx(qa,{value:"coverage-gap-analysis",children:"Coverage Gap Analysis"}),w.jsx(qa,{value:"acceptance-criteria-breakdown",children:"Acceptance Criteria Breakdown"}),w.jsx(qa,{value:"test-plan-draft",children:"Test Plan Draft"})]})]})}),s==="document"&&u==="test-plan-draft"&&w.jsx(Ee,{sx:{px:3,pb:1},children:w.jsxs(xn,{container:!0,spacing:1.5,children:[w.jsx(xn,{item:!0,xs:12,sm:6,children:w.jsx(Xi,{size:"small",fullWidth:!0,label:"Sprint Name",value:f.sprintName,onChange:St=>p(ke=>({...ke,sprintName:St.target.value}))})}),w.jsx(xn,{item:!0,xs:12,sm:6,children:w.jsx(Xi,{size:"small",fullWidth:!0,label:"Author",value:f.author,onChange:St=>p(ke=>({...ke,author:St.target.value}))})}),w.jsx(xn,{item:!0,xs:12,sm:6,children:w.jsx(Xi,{size:"small",fullWidth:!0,label:"Testers",placeholder:"Ramesh, Nimesha",value:f.testers,onChange:St=>p(ke=>({...ke,testers:St.target.value}))})}),w.jsx(xn,{item:!0,xs:12,sm:6,children:w.jsx(Xi,{size:"small",fullWidth:!0,label:"Developers",placeholder:"Greshan, Jayamini",value:f.developers,onChange:St=>p(ke=>({...ke,developers:St.target.value}))})}),w.jsx(xn,{item:!0,xs:12,children:w.jsx(Xi,{size:"small",fullWidth:!0,label:"Test Environment",value:f.testEnvironment,onChange:St=>p(ke=>({...ke,testEnvironment:St.target.value}))})}),w.jsx(xn,{item:!0,xs:12,children:w.jsx(Xi,{size:"small",fullWidth:!0,label:"Tools",placeholder:"Jira, Storybook, Postman",value:f.tools,onChange:St=>p(ke=>({...ke,tools:St.target.value}))})}),w.jsx(xn,{item:!0,xs:12,sm:6,children:w.jsx(Xi,{size:"small",fullWidth:!0,label:"Timescales",value:f.timescales,onChange:St=>p(ke=>({...ke,timescales:St.target.value}))})}),w.jsx(xn,{item:!0,xs:12,sm:6,children:w.jsx(Xi,{size:"small",fullWidth:!0,label:"Out of Scope Notes",value:f.outOfScopeNotes,onChange:St=>p(ke=>({...ke,outOfScopeNotes:St.target.value}))})})]})}),w.jsx(Ie,{variant:"body2",sx:{color:"text.secondary",fontSize:"0.82rem",px:3},children:s==="tests"?"Generate analyzed test scenarios using recommended QA techniques.":u==="rtm"?"Generate a requirements traceability matrix from the requirement and any clarifications you provide.":u==="coverage-gap-analysis"?"Generate a requirement-driven coverage gap analysis that highlights ambiguity, missing validation detail, weak testability, and likely blind spots.":u==="acceptance-criteria-breakdown"?"Generate an atomic acceptance criteria breakdown that converts broad requirements into clear, testable criteria.":"Generate a compact test plan draft using the uploaded requirement plus the sprint context you provide."})]})}),w.jsxs(Ee,{onClick:()=>Et(St=>!St),sx:{display:"flex",alignItems:"center",gap:1.5,mx:2.5,mt:2.5,mb:je?0:2.5,px:2,py:1.5,cursor:"pointer",userSelect:"none",borderRadius:3,border:"1px solid",borderColor:je?mr:"divider",backgroundColor:je?Dr:"transparent",transition:"all 200ms ease","&:hover":{backgroundColor:dn,borderColor:Cr}},children:[w.jsx(Sh,{sx:{color:"text.secondary",fontSize:20,transform:je?"rotate(180deg)":"rotate(0deg)",transition:"transform 250ms cubic-bezier(0.4,0,0.2,1)"}}),w.jsx(Ie,{variant:"subtitle1",sx:{fontWeight:700,fontSize:"0.95rem"},children:"AI Provider"}),!je&&Fr&&w.jsx(xr,{size:"small",icon:w.jsx(_s,{sx:{color:`${Rr} !important`,fontSize:14}}),label:`${V_(r)} · ${vr}`,sx:{height:26,fontSize:"0.76rem",fontFamily:t.typography.fontFamilyMonospace,borderColor:Ke,backgroundColor:ge,color:"text.secondary","& .MuiChip-icon":{ml:.5}},variant:"outlined"}
198),!je&&!Fr&&w.jsx(xr,{size:"small",label:"Not configured",sx:{height:26,fontSize:"0.76rem",borderColor:vt,backgroundColor:Zt,color:"rgba(239, 68, 68, 0.8)"},variant:"outlined"}),w.jsx(Ee,{sx:{flex:1}})]}),w.jsx(Df,{in:je,timeout:300,children:w.jsx(Ee,{sx:{px:3,pt:2,pb:3},children:w.jsxs(qe,{spacing:2,children:[w.jsx(Ie,{variant:"body2",sx:{color:"text.secondary",fontSize:"0.82rem",mt:-.5},children:me.length>0&&!lr?"Server-configured providers are ready to use. You can also enter your own API key to override.":"Enter your API key — the provider is auto-detected from the key prefix."}),Me&&w.jsxs(Lc,{severity:"success",variant:"outlined",icon:w.jsx(_s,{sx:{color:Rr}}),sx:{borderColor:Ke,backgroundColor:ge,"& .MuiAlert-message":{color:Wt,fontSize:"0.82rem"}},children:["Server has an API key configured for ",w.jsx("strong",{children:V_(r)}),". You can use it as-is or enter your own key below to override."]}),!Me&&w.jsxs(Lc,{severity:"info",variant:"outlined",icon:w.jsx($2,{sx:{color:Or,opacity:.8}}),sx:{borderColor:Gt,backgroundColor:Re,"& .MuiAlert-message":{color:Wt,fontSize:"0.82rem"}},children:["Your API key is sent directly to your chosen provider and is ",w.jsx("strong",{children:"never stored"})," on the server. It is kept only in your browser session and cleared when you close the tab."]}),w.jsx(Xi,{label:"API Key",placeholder:Me?"Using server-configured key (enter to override)":"sk-... or sk-ant-... or AIza...",type:Be?"text":"password",value:y,onChange:ee,fullWidth:!0,size:"small",InputProps:{endAdornment:w.jsxs(P2,{position:"end",children:[w.jsx(Ko,{size:"small",onClick:()=>_e(!Be),edge:"end",sx:{color:"text.secondary"},children:Be?w.jsx(B5,{fontSize:"small"}):w.jsx(N5,{fontSize:"small"})}),b&&w.jsx(Lh,{title:"Key validated",children:w.jsx(_s,{sx:{color:Rr,ml:.5,fontSize:20}})})]}),sx:{fontFamily:t.typography.fontFamilyMonospace,fontSize:"0.85rem"}}}),w.jsxs(xn,{container:!0,spacing:2,alignItems:"center",children:[w.jsx(xn,{item:!0,xs:12,sm:4,children:w.jsxs(bu,{fullWidth:!0,size:"small",children:[w.jsx(vu,{children:"Provider"}),w.jsxs(Ac,{value:me.some(St=>St.value===r)?r:"",label:"Provider",onChange:ze,children:[me.length===0&&w.jsx(qa,{value:"",disabled:!0,children:"No providers available"}),me.map(St=>w.jsx(qa,{value:St.value,children:w.jsxs(qe,{direction:"row",alignItems:"center",spacing:1,sx:{width:"100%"},children:[w.jsx("span",{children:St.label}),!lr&&Ze[St.value]&&w.jsx(_s,{sx:{color:Rr,fontSize:16,ml:"auto"}})]})},St.value))]})]})}),w.jsx(xn,{item:!0,xs:12,sm:4,children:w.jsx(Sq,{size:"small",disabled:br.length===0,options:br,getOptionLabel:St=>typeof St=="string"?St:St.label||St.value,value:br.find(St=>St.value===i)||null,onChange:(St,ke)=>{ke&&a(ke.value)},isOptionEqualToValue:(St,ke)=>St.value===ke.value,disableClearable:!0,renderInput:St=>w.jsx(Xi,{...St,label:"Model"}),ListboxProps:{sx:{maxHeight:200,"& .MuiAutocomplete-option":{fontSize:"0.85rem",py:.6,minHeight:"auto"}}},slotProps:{paper:{sx:{mt:.5,border:"1px solid",borderColor:"divider",backgroundColor:te?"rgba(15,15,15,0.98)":"rgba(255,255,255,0.98)",boxShadow:te?"0 0 0 1px rgba(167, 139, 250, 0.10), 0 24px 70px rgba(0,0,0,0.55)":"0 0 0 1px rgba(124, 58, 237, 0.06), 0 12px 40px rgba(0,0,0,0.10)"}}}})}),w.jsx(xn,{item:!0,xs:12,sm:4,children:w.jsx(Vn,{variant:"outlined",fullWidth:!0,disabled:!y.trim()&&!Me||Ne,onClick:()=>Br(y.trim(),r),startIcon:Ne?w.jsx(f0,{size:16,color:"inherit"}):null,sx:{height:40,borderColor:b?Ke:mr,color:b?Rr:"text.primary","&:hover":{borderColor:b?"rgba(74, 222, 128, 0.60)":Or,backgroundColor:b?ge:dn}},children:Ne?"Validating...":b?"Validated":"Validate Key"})})]})]})})}),w.jsx(Mc,{}),w.jsx(Ee,{sx:{px:3,pt:3,pb:3},children:w.jsxs(qe,{spacing:2,children:[w.jsxs(Ee,{children:[w.jsx(Ie,{variant:"subtitle1",sx:{fontWeight:700,fontSize:"0.95rem"},children:"Requirements"}),w.jsx(Ie,{variant:"body2",sx:{color:"text.secondary",fontSize:"0.82rem"},children:"Provide what you want to test — upload a file, write it out, or pull stories from Jira."})]}),w.jsxs(H_,{value:N,onChange:(St,ke)=>I(ke),sx:{minHeight:36,"& .MuiTab-root":{minHeight:36,textTransform:"none",fontWeight:600,fontSize:"0.85rem"},"& .MuiTabs-indicator":{backgroundColor:Or},"& .Mui-selected":{color:Or+" !important"}},children:[w.jsx(_1,{value:"manual",label:"Write or Upload",icon:w.jsx(vV,{sx:{fontSize:18}}),iconPosition:"start",sx:{"& .MuiTab-iconWrapper":{mr:.5}}}),w.jsx(_1,{value:"jira",label:"Import from Jira",icon:w.jsx(G_,{sx:{fontSize:16}}),iconPosition:"start",sx:{"& .MuiTab-iconWrapper":{mr:.5}}})]}),N==="jira"&&!V&&w.jsx(Ee,{sx:{pl:2,borderLeft:`2px solid ${mr}`},children:w.jsxs(qe,{spacing:2,children:[w.jsx(Lc,{severity:"info",variant:"outlined",icon:w.jsx($2,{sx:{color:Or,opacity:.8}}),sx:{borderColor:Gt,backgroundColor:Re,"& .MuiAlert-message":{color:Wt,fontSize:"0.82rem"}},children:Sn?"Jira is configured on the server. Connecting...":w.jsxs(w.Fragment,{children:["Enter your Jira Cloud credentials to import user stories. Credentials are ",w.jsx("strong",{children:"never stored"})," — they are sent only as request headers."]})}),w.jsx(Xi,{size:"small",label:"Jira Base URL",placeholder:"https://your-domain.atlassian.net",value:wt,onChange:St=>qt(St.target.value),fullWidth:!0,InputProps:{sx:{fontSize:"0.85rem"}}}),w.jsxs(xn,{container:!0,spacing:2,children:[w.jsx(xn,{item:!0,xs:12,sm:6,children:w.jsx(Xi,{size:"small",label:"Jira Email",placeholder:"[email protected]",value:Ht,onChange:St=>at(St.target.value),fullWidth:!0,InputProps:{sx:{fontSize:"0.85rem"}}})}),w.jsx(xn,{item:!0,xs:12,sm:6,children:w.jsx(Xi,{size:"small",label:"Jira API Token",placeholder:"Your Jira API token",type:ce?"text":"password",value:ae,onChange:St=>Kt(St.target.value),fullWidth:!0,InputProps:{sx:{fontSize:"0.85rem"},endAdornment:w.jsx(P2,{position:"end",children:w.jsx(Ko,{size:"small",onClick:()=>Er(!ce),edge:"end",sx:{color:"text.secondary"},children:ce?w.jsx(B5,{fontSize:"small"}):w.jsx(N5,{fontSize:"small"})})})}})})]}),w.jsx(Vn,{variant:"outlined",startIcon:we?w.jsx(f0,{size:16,color:"inherit"}):w.jsx(G_,{}),disabled:!wt.trim()||!Ht.trim()||!ae.trim()||we,onClick:async()=>{Ae(!0),Jt(null),Pe("");try{await le(!0),Jt("success"),Pe("Connected to Jira successfully."),Vt("Connected to Jira successfully.")}catch(St){const ke=St.message||"Failed to connect to Jira";Jt("error"),Pe(ke),de(ke)}finally{Ae(!1)}},sx:{alignSelf:"flex-start",borderColor:mr,color:"text.primary","&:hover":{borderColor:Or,backgroundColor:dn}},children:we?"Connecting...":"Connect to Jira"}),He==="success"&&w.jsx(Lc,{severity:"success",variant:"outlined",icon:w.jsx(_s,{sx:{color:Rr}}),sx:{borderColor:Ke,backgroundColor:ge,"& .MuiAlert-message":{color:Wt,fontSize:"0.82rem"}},children:Se}),He==="error"&&w.jsx(Lc,{severity:"error",variant:"outlined",sx:{borderColor:vt,backgroundColor:Zt,"& .MuiAlert-message":{color:Wt,fontSize:"0.82rem"}},children:Se})]})}),N==="manual"?w.jsxs(w.Fragment,{children:[w.jsx("input",{ref:U,type:"file",accept:".txt,.md,.pdf,.docx,.html,.htm,text/plain,text/markdown,application/pdf,application/vnd.openxmlformats-officedocument.wordprocessingml.document,text/html",style:{display:"none"},onChange:St=>{const ke=St.target.files&&St.target.files[0]?St.target.files[0]:null;ke&&Nt(ke)}}),w.jsxs(Ee,{onDragEnter:St=>{St.preventDefault(),St.stopPropagation(),M(!0)},onDragOver:St=>{St.preventDefault(),St.stopPropagation(),M(!0)},onDragLeave:St=>{St.preventDefault(),St.stopPropagation(),M(!1)},onDrop:St=>{St.preventDefault(),St.stopPropagation(),M(!1);const ke=St.dataTransfer&&St.dataTransfer.files&&St.dataTransfer.files[0]?St.dataTransfer.files[0]:null;ke&&Nt(ke)},sx:{position:"relative"},children:[j&&w.jsx(Ee,{sx:{position:"absolute",inset:0,zIndex:10,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:dn,borderRadius:2,border:`2px dashed ${Or}80`,backdropFilter:"blur(2px)"},children:w.jsxs(qe,{alignItems:"center",spacing:.5,children:[w.jsx(R5,{sx:{color:Or,fontSize:36}}),w.jsx(Ie,{variant:"body2",sx:{color:Or,fontWeight:600},children:"Drop file here"}),w.jsx(Ie,{variant:"caption",sx:{color:"text.secondary"},children:".txt, .md, .pdf, .docx, .html"})]})}),w.jsxs(qe,{direction:"row",spacing:1,alignItems:"center",sx:{mb:1,px:.5},children:[w.jsx(Vn,{size:"small",startIcon:w.jsx(R5,{sx:{fontSize:16}}),onClick:()=>U.current&&U.current.click(),sx:{textTransform:"none",color:W?Or:"text.secondary",fontSize:"0.8rem",fontWeight:W?600:400,px:1,borderRadius:1.5,backgroundColor:W?dn:"transparent","&:hover":{backgroundColor:dn}},children:W?W.name:"Upload file"}),W&&w.jsx(xr,{size:"small",label:(()=>{const St=W.name||"";return St.includes(".")?St.split(".").pop().toUpperCase():"?"})(),sx:{height:20,fontSize:"0.65rem",fontFamily:t.typography.fontFamilyMonospace,backgroundColor:dn,color:Or}}),w.jsx(Ee,{sx:{flex:1}}),w.jsxs(Ie,{variant:"caption",sx:{color:rr>0?"text.secondary":"text.disabled",fontFamily:t.typography.fontFamilyMonospace,fontSize:"0.72rem",transition:"color 200ms"},children:[rr," ",rr===1?"word":"words"]}),(W||L.trim())&&w.jsx(Lh,{title:"Clear all",children:w.jsx(Ko,{size:"small",onClick:()=>
198{Dt(),q(null),O(""),U.current&&(U.current.value=""),Vt("Cleared requirements.")},sx:{color:"text.secondary","&:hover":{color:"error.main",backgroundColor:Zt}},children:w.jsx(RL,{sx:{fontSize:18}})})})]}),w.jsx(Xi,{label:"Requirement text",placeholder:"Paste or type requirements here, or drag & drop a file...",value:L,onChange:St=>O(St.target.value),multiline:!0,minRows:e?6:8,fullWidth:!0})]})]}):V?w.jsxs(qe,{spacing:2,children:[w.jsxs(qe,{direction:"row",spacing:1,alignItems:"center",children:[w.jsx(_s,{sx:{color:Rr,fontSize:16}}),w.jsx(Ie,{variant:"caption",sx:{color:"text.secondary",fontSize:"0.78rem"},children:"Connected to Jira"}),Y&&w.jsx(xr,{size:"small",variant:"outlined",label:Y,sx:{height:20,fontSize:"0.70rem",fontFamily:t.typography.fontFamilyMonospace,borderColor:Ke,color:"text.secondary"}})]}),w.jsxs(bu,{fullWidth:!0,size:"small",children:[w.jsx(vu,{children:"Jira Project"}),w.jsx(Ac,{value:Y,label:"Jira Project",onChange:St=>{D(St.target.value),bt([]),kt(new Set)},children:z.map(St=>w.jsxs(qa,{value:St.key,children:[St.key," — ",St.name]},St.key))})]}),Y&&w.jsxs(xn,{container:!0,spacing:1.5,alignItems:"center",children:[w.jsx(xn,{item:!0,xs:12,sm:3,children:w.jsxs(bu,{fullWidth:!0,size:"small",children:[w.jsx(vu,{children:"Epic"}),w.jsxs(Ac,{value:it,label:"Epic",onChange:St=>mt(St.target.value),children:[w.jsx(qa,{value:"",children:"All epics"}),Z.map(St=>w.jsxs(qa,{value:St.key,children:[St.key," — ",St.summary]},St.key))]})]})}),w.jsx(xn,{item:!0,xs:12,sm:3,children:w.jsxs(bu,{fullWidth:!0,size:"small",children:[w.jsx(vu,{children:"Sprint"}),w.jsxs(Ac,{value:K,label:"Sprint",onChange:St=>P(St.target.value),children:[w.jsx(qa,{value:"",children:"All sprints"}),Q.map(St=>w.jsxs(qa,{value:St.name,children:[St.name,St.state==="active"?" (active)":""]},St.id))]})]})}),w.jsx(xn,{item:!0,xs:12,sm:3,children:w.jsxs(bu,{fullWidth:!0,size:"small",children:[w.jsx(vu,{children:"Status"}),w.jsxs(Ac,{value:X,label:"Status",onChange:St=>et(St.target.value),children:[w.jsx(qa,{value:"",children:"All statuses"}),["To Do","In Progress","In Review","Done"].map(St=>w.jsx(qa,{value:St,children:St},St))]})]})}),w.jsx(xn,{item:!0,xs:12,sm:3,children:w.jsx(Xi,{size:"small",label:"Search",placeholder:"Search summary...",value:rt,onChange:St=>lt(St.target.value),fullWidth:!0,onKeyDown:St=>{St.key==="Enter"&&Ot()}})})]}),Y&&w.jsx(Vn,{variant:"outlined",onClick:Ot,disabled:Rt,startIcon:Rt?w.jsx(f0,{size:16,color:"inherit"}):null,sx:{alignSelf:"flex-start",borderColor:mr,color:"text.primary","&:hover":{borderColor:Or,backgroundColor:dn}},children:Rt?"Loading...":"Fetch Stories"}),ht.length>0&&w.jsx(Nf,{sx:{backgroundColor:te?"rgba(0,0,0,0.18)":"rgba(0,0,0,0.02)"},children:w.jsx(Bf,{sx:{p:1.5,"&:last-child":{pb:1.5}},children:w.jsxs(qe,{spacing:1,children:[w.jsxs(qe,{direction:"row",spacing:1,alignItems:"center",children:[w.jsxs(Ie,{variant:"subtitle2",sx:{fontWeight:700},children:["User Stories (",ht.length,")"]}),w.jsx(Ee,{sx:{flex:1}}),w.jsx(Vn,{size:"small",variant:"text",onClick:()=>kt(new Set(ht.map(St=>St.key))),sx:{fontSize:"0.72rem",color:"text.secondary",textTransform:"none",minWidth:0},children:"Select all"}),w.jsx(Vn,{size:"small",variant:"text",onClick:()=>kt(new Set),sx:{fontSize:"0.72rem",color:"text.secondary",textTransform:"none",minWidth:0},children:"Deselect all"})]}),w.jsx(Mc,{}),w.jsx(Ee,{sx:{maxHeight:360,overflowY:"auto"},children:ht.map(St=>w.jsxs(qe,{direction:"row",spacing:1,alignItems:"center",sx:{py:.75,px:.5,borderRadius:1,"&:hover":{backgroundColor:te?"rgba(255,255,255,0.03)":"rgba(0,0,0,0.03)"}},children:[w.jsx(g0,{size:"small",checked:yt.has(St.key),onChange:ke=>{const zr=new Set(yt);ke.target.checked?zr.add(St.key):zr.delete(St.key),kt(zr)},sx:{p:.5,color:"text.disabled","&.Mui-checked":{color:Or}}}),w.jsx(xr,{size:"small",variant:"outlined",label:St.key,sx:{fontFamily:t.typography.fontFamilyMonospace,borderColor:"divider",color:"text.secondary",minWidth:72,justifyContent:"flex-start"}}),w.jsx(Ie,{variant:"body2",sx:{flex:1,color:"text.primary",minWidth:0},noWrap:!0,children:St.summary}),w.jsx(xr,{size:"small",label:St.status,sx:{fontSize:"0.68rem",height:20,backgroundColor:St.status==="Done"?"rgba(22,163,74,0.15)":St.status==="In Progress"?"rgba(59,130,246,0.15)":te?"rgba(255,255,255,0.06)":"rgba(0,0,0,0.06)",color:St.status==="Done"?"rgba(22,163,74,0.9)":St.status==="In Progress"?"rgba(59,130,246,0.9)":"text.secondary"}}),St.priority&&w.jsx(xr,{size:"small",variant:"outlined",label:St.priority,sx:{fontSize:"0.68rem",height:20,borderColor:"divider",color:"text.secondary"}})]},St.key))})]})})}),ht.length>0&&w.jsxs(qe,{direction:{xs:"column",sm:"row"},spacing:2,alignItems:{xs:"stretch",sm:"center"},children:[w.jsxs(Ie,{variant:"body2",sx:{color:"text.secondary"},children:[yt.size," ",yt.size===1?"story":"stories"," selected"]}),w.jsx(Ee,{sx:{flex:1}}
198),w.jsx(Vn,{variant:"contained",disabled:Rt||yt.size===0,onClick:be,sx:{backgroundColor:Kr[600],"&:hover":{backgroundColor:Kr[700]},textTransform:"none",fontWeight:600,color:"#fff"},children:"Use Selected"})]})]}):null]})})]})})}const Y_=Jr(w.jsx("path",{d:"M19.8 18.4 14 10.67V6.5l1.35-1.69c.26-.33.03-.81-.39-.81H9.04c-.42 0-.65.48-.39.81L10 6.5v4.17L4.2 18.4c-.49.66-.02 1.6.8 1.6h14c.82 0 1.29-.94.8-1.6"}),"Science"),P0=Jr(w.jsx("path",{d:"M22 11V3h-7v3H9V3H2v8h7V8h2v10h4v3h7v-8h-7v3h-2V8h2v3z"}),"AccountTree"),wV=Jr(w.jsx("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy"),CV=Jr(w.jsx("path",{d:"M8 5v14l11-7z"}),"PlayArrow"),X_=Jr(w.jsx("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutline"),K_=Jr(w.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh");function kV({theme:t,busy:e,hasAnyRequirements:r,artifactMode:n,documentType:i,preflight:a,answersByQuestion:s,setAnswersByQuestion:l,preflightSkills:u,callPreflight:h,analysis:f,analysisMeta:p,selectedTechniques:y,setSelectedTechniques:g,selectedDiagrams:b,setSelectedDiagrams:v,jiraImportedCount:C,callAnalyze:k,callGenerateFromAnalysis:T,callGenerateDocument:E,cancelInFlight:L,setInfo:O,setAnalysis:W,setAnalysisMeta:q}){const[U,j]=H.useState(!1),[M,N]=H.useState(!1),I=H.useRef(null),[V,z]=H.useState(null),Y=t.palette.mode==="dark",D=Y?Kr[500]:Kr[600],Z=Y?"rgba(167, 139, 250, 0.08)":"rgba(124, 58, 237, 0.06)",Q=Y?"rgba(167, 139, 250, 0.03)":"rgba(124, 58, 237, 0.03)",it=Y?"rgba(167, 139, 250, 0.20)":"rgba(124, 58, 237, 0.18)",mt=Y?"rgba(167, 139, 250, 0.25)":"rgba(124, 58, 237, 0.22)",K=Y?"rgba(255,255,255,0.04)":"rgba(0,0,0,0.03)",P=Y?"rgba(255,255,255,0.02)":"rgba(0,0,0,0.015)",X=Y?"rgba(255,255,255,0.03)":"rgba(0,0,0,0.02)",et=Y?"rgba(255,255,255,0.04)":"rgba(0,0,0,0.04)",rt=Y?"rgba(167, 139, 250, 0.15)":"rgba(124, 58, 237, 0.10)",lt=Y?"rgba(255,255,255,0.30)":"rgba(0,0,0,0.30)",ht=H.useMemo(()=>!a||!Array.isArray(a.missingInfoQuestions)?[]:a.missingInfoQuestions,[a]),bt=H.useMemo(()=>{let Nt=0;for(const Dt of ht)String(s[String(Dt)]||"").trim()&&Nt++;return Nt},[ht,s]),yt=H.useMemo(()=>Array.isArray(f&&f.techniqueRecommendations)?f.techniqueRecommendations:[],[f]),kt=H.useMemo(()=>Object.values(y).filter(Boolean).length,[y]),Rt=H.useMemo(()=>{let Nt=0;for(const Dt of yt)y[Dt.skillId]&&(Nt+=Dt.estimatedScenarios||0);return Nt},[yt,y]),wt=H.useMemo(()=>{const Nt=[],Dt=[],Vt=[];for(const de of yt)de.confidence==="high"?Nt.push(de):de.confidence==="medium"?Dt.push(de):Vt.push(de);return{high:Nt,medium:Dt,low:Vt}},[yt]),qt=H.useMemo(()=>Object.entries(y).filter(([,Nt])=>Nt).map(([Nt])=>Nt).filter(Nt=>W_[Nt]),[y]),Ht=H.useMemo(()=>qt.filter(Nt=>b[Nt]).length,[qt,b]);H.useEffect(()=>{if(N(!1),z(null),!I.current)return;const Nt=()=>{I.current&&z(I.current.offsetHeight)};Nt();const Dt=new ResizeObserver(Nt);return Dt.observe(I.current),()=>Dt.disconnect()},[f]);function at(){W(null),q(null),g({}),v({})}function ae(){l({}),O("Cleared answers.")}const le={high:{color:"#16a34a",bg:"rgba(22, 163, 74, 0.08)",border:"rgba(22, 163, 74, 0.20)",label:"High confidence"},medium:{color:"#d97706",bg:"rgba(217, 119, 6, 0.08)",border:"rgba(217, 119, 6, 0.20)",label:"Medium confidence"},low:{color:Y?"rgba(255,255,255,0.45)":"rgba(0,0,0,0.40)",bg:P,border:Y?"rgba(255,255,255,0.08)":"rgba(0,0,0,0.06)",label:"Low confidence"}};if(!f)return w.jsx(Nf,{sx:{overflow:"visible"},children:w.jsxs(Bf,{sx:{p:"0 !important"},children:[w.jsxs(Ee,{onClick:()=>j(Nt=>!Nt),sx:{display:"flex",alignItems:"center",gap:1.5,mx:2.5,mt:2.5,mb:U?0:2,px:1.5,py:1.25,cursor:"pointer",userSelect:"none",borderRadius:3,border:"1px solid",borderColor:U?it:"divider",backgroundColor:U?Q:"transparent",transition:"all 200ms ease","&:hover":{backgroundColor:Z,borderColor:mt}},children:[w.jsx(Sh,{sx:{color:"text.secondary",fontSize:20,transform:U?"rotate(180deg)":"rotate(0deg)",transition:"transform 250m
198s cubic-bezier(0.4,0,0.2,1)"}}),w.jsx(X_,{sx:{color:"text.disabled",fontSize:18}}),w.jsx(Ie,{variant:"subtitle1",sx:{fontWeight:700,fontSize:"0.95rem"},children:"Clarify Requirements"}),w.jsx(xr,{size:"small",label:"Optional",sx:{height:20,fontSize:"0.68rem",backgroundColor:K,color:"text.disabled",fontWeight:500}}),ht.length>0&&w.jsx(xr,{size:"small",label:`${bt}/${ht.length} answered`,sx:{height:20,fontSize:"0.68rem",fontFamily:t.typography.fontFamilyMonospace,backgroundColor:bt===ht.length?"rgba(74, 222, 128, 0.08)":Z,color:bt===ht.length?"#4ade80":D}}),w.jsx(Ee,{sx:{flex:1}})]}),w.jsx(Df,{in:U,timeout:300,children:w.jsx(Ee,{sx:{px:3,pb:3},children:w.jsxs(qe,{spacing:3,children:[w.jsx(Ie,{variant:"body2",sx:{color:"text.secondary",fontSize:"0.82rem"},children:"Let the AI identify ambiguities in your requirements before analysis. You can skip this step and go straight to Analyze below."}),!a&&w.jsxs(qe,{direction:"row",spacing:1.5,alignItems:"center",children:[w.jsx(Vn,{variant:"outlined",size:"small",startIcon:e&&!f?null:w.jsx(X_,{}),disabled:e||!r,onClick:Nt=>{Nt.stopPropagation(),h()},sx:{borderColor:"divider",color:"text.primary",textTransform:"none","&:hover":{borderColor:D,backgroundColor:Z}},children:e&&!f?"Analyzing...":"Find missing info"}),e&&!f&&w.jsx(Vn,{variant:"text",size:"small",onClick:L,sx:{color:"text.secondary",textTransform:"none"},children:"Cancel"})]}),ht.length>0&&w.jsxs(qe,{spacing:1.5,children:[ht.map((Nt,Dt)=>{const Vt=String(Nt),de=!!String(s[Vt]||"").trim();return w.jsxs(Ee,{sx:{pl:2,borderLeft:`2px solid ${de?"rgba(74, 222, 128, 0.30)":it}`,transition:"border-color 200ms"},children:[w.jsxs(qe,{direction:"row",spacing:.75,alignItems:"flex-start",sx:{mb:.75},children:[w.jsxs(Ie,{variant:"caption",sx:{fontFamily:t.typography.fontFamilyMonospace,fontSize:"0.68rem",color:"text.disabled",mt:.1,flexShrink:0},children:["Q",Dt+1]}),w.jsx(Ie,{variant:"body2",sx:{color:"text.primary",fontSize:"0.85rem",opacity:.85},children:Vt})]}),w.jsx(Xi,{placeholder:"Your answer (optional)",value:s[Vt]||"",onChange:Be=>l(_e=>({..._e,[Vt]:Be.target.value})),multiline:!0,minRows:1,maxRows:4,fullWidth:!0,size:"small",sx:{"& .MuiOutlinedInput-root":{fontSize:"0.85rem"}}})]},Vt)}),w.jsxs(qe,{direction:"row",spacing:1,alignItems:"center",sx:{pt:.5},children:[w.jsx(xr,{size:"small",variant:"outlined",label:`${bt}/${ht.length} answered`,sx:{fontFamily:t.typography.fontFamilyMonospace,fontSize:"0.72rem",borderColor:"divider",color:"text.secondary"}}),w.jsx(Ee,{sx:{flex:1}}),bt>0&&w.jsx(Vn,{variant:"text",size:"small",startIcon:w.jsx(RL,{sx:{fontSize:14}}),onClick:ae,sx:{color:"text.secondary",textTransform:"none",fontSize:"0.78rem"},children:"Clear answers"})]})]})]})})}),w.jsx(Mc,{}),w.jsx(Ee,{sx:{px:3,py:3},children:w.jsxs(qe,{spacing:2.5,alignItems:"center",children:[w.jsxs(qe,{alignItems:"center",spacing:1,children:[w.jsx(Ee,{sx:{width:52,height:52,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",background:e?`linear-gradient(135deg, ${Z}, ${Z})`:`linear-gradient(135deg, ${Q}, ${Z})`,transition:"all 300ms"},children:w.jsx(Y_,{sx:{color:D,fontSize:26}})}),w.jsx(Ie,{variant:"subtitle1",sx:{fontWeight:700,textAlign:"center"},children:n==="tests"?"Analyze & Recommend Techniques":i==="rtm"?"Generate RTM":i==="coverage-gap-analysis"?"Generate Coverage Gap Analysis":i==="acceptance-criteria-breakdown"?"Generate Acceptance Criteria Breakdown":"Generate Test Plan Draft"}),w.jsx(Ie,{variant:"body2",sx:{color:"text.secondary",textAlign:"center",maxWidth:420,fontSize:"0.84rem"},children:n==="tests"?"The AI will extract testable elements from your requirements and recommend the best testing techniques.":i==="rtm"?"The AI will convert your requirements and clarifications into a traceability matrix draft.":i==="coverage-gap-analysis"?"The AI will review your requirements for ambiguity, missing validations, weak testability, and likely coverage blind spots.":i==="acceptance-criteria-breakdown"?"The AI will break your requirements into atomic, testable acceptance criteria.":"The AI will combine your requirements with the provided sprint context to draft a compact test plan."})]}),w.jsxs(qe,{direction:"row",spacing:1.5,alignItems:"center",children:[w.jsx(Vn,{variant:"contained",startIcon:e?null:w.jsx(Y_,{}),disabled:e||!r,onClick:n==="tests"?k:E,sx:{px:3.5,py:1,backgroundImage:"none",backgroundColor:Kr[600],color:"#fff",fontWeight:600,fontSize:"0.9rem",textTransform:"none",borderRadius:3,boxShadow:`0 0 0 1px ${Kr[500]}33, 0 12px 40px ${Y?"rgba(0,0,0,0.35)":"rgba(124,58,237,0.18)"}`,"&:hover":{backgroundColor:Kr[700]},"&.Mui-disabled":{backgroundColor:rt,color:lt}},children:e?n==="tests"?"Analyzing...":"Generating...":n==="tests"?"Analyze requirements":i==="rtm"?"Generate RTM":i==="coverage-gap-analysis"?"Generate Coverage Gap Analysis":i==="acceptance-criteria-breakdown"?"Generate Acceptance Criteria Breakdown":"Generate Test Plan Draft"}),e&&w.jsx(Vn,{variant:"text",size:"small",onClick:L,sx:{color:"text.secondary",textTransform:"none"},children:"Cancel"})]}),e&&w.jsx(k_,{sx:{width:"100%",maxWidth:300,borderRadius:3,height:3,backgroundColor:K,"& .MuiLinearProgress-bar":{backgroundColor:D}}}),!r&&w.jsx(Ie,{variant:"caption",sx:{color:"error.main",opacity:.7,fontSize:"0.78rem"},children:"Go back to step 1 and add requirements first."})]})})]})});function Ot({rec:Nt}){const Dt=!!y[Nt.skillId];return le[Nt.confidence]||le.low,w.jsxs(qe,{direction:"row",alignItems:"center",spacing:1.5,onClick:()=>g(Vt=>({...Vt,[Nt.skillId]:!Vt[Nt.skillId]})),sx:{py:1,px:1.5,borderRadius:"6px",cursor:"pointer",backgroundColor:Dt?Q:"transparent",border:"1px solid",borderColor:Dt?it:et,transition:"all 120ms ease","&:hover":{backgroundColor:Z,borderColor:Y?"rgba(167, 139, 250, 0.15)":"rgba(124, 58, 237, 0.12)"}},children:[w.jsx(g0,{checked:Dt,size:"small",sx:{p:0,color:"text.disabled","&.Mui-checked":{color:D}},onChange:()=>g(Vt=>({...Vt,[Nt.skillId]:!Vt[Nt.skillId]})),onClick:Vt=>Vt.stopPropagation()}),w.jsxs(Ee,{sx:{flex:1,minWidth:0},children:[w.jsxs(qe,{direction:"row",spacing:.75,alignItems:"center",flexWrap:"wrap",useFlexGap:!0,children:[w.jsx(Ie,{variant:"body2",sx:{fontWeight:600,color:Dt?"text.primary":"text.secondary"},children:Nt.skillId}),w.jsxs(Ie,{variant:"caption",sx:{color:"text.disabled",fontFamily:t.typography.fontFamilyMonospace,fontSize:"0.70rem"},children:["~",Nt.estimatedScenarios," scenarios"]})]}),w.jsx(Ie,{variant:"caption",sx:{color:"text.secondary",display:"block",mt:.15,lineHeight:1.4},children:Nt.rationale})]})]})}
198function be({level:Nt,recs:Dt}){if(!Dt.length)return null;const Vt=le[Nt];return w.jsxs(Ee,{children:[w.jsxs(qe,{direction:"row",spacing:.75,alignItems:"center",sx:{mb:.75},children:[w.jsx(Ee,{sx:{width:8,height:8,borderRadius:"50%",backgroundColor:Vt.color,flexShrink:0}}),w.jsx(Ie,{variant:"caption",sx:{fontWeight:700,color:Vt.color,fontSize:"0.72rem",textTransform:"uppercase",letterSpacing:"0.06em"},children:Vt.label}),w.jsx(xr,{size:"small",label:Dt.length,sx:{height:18,fontSize:"0.64rem",fontFamily:t.typography.fontFamilyMonospace,backgroundColor:Vt.bg,color:Vt.color,minWidth:0}})]}),w.jsx(qe,{spacing:.75,children:Dt.map(de=>w.jsx(Ot,{rec:de},de.skillId))})]})}return w.jsx(Nf,{sx:{overflow:"visible",borderColor:it},children:w.jsxs(Bf,{sx:{p:"0 !important"},children:[w.jsx(Ee,{sx:{px:3,pt:3,pb:2},children:w.jsxs(qe,{direction:{xs:"column",sm:"row"},spacing:1,alignItems:{xs:"flex-start",sm:"center"},children:[w.jsxs(qe,{direction:"row",spacing:1,alignItems:"center",children:[w.jsx(_s,{sx:{color:"#4ade80",fontSize:18}}),w.jsx(Ie,{variant:"subtitle1",sx:{fontWeight:700,fontSize:"0.95rem"},children:"Requirement Analysis"})]}),w.jsxs(qe,{direction:"row",spacing:.75,flexWrap:"wrap",useFlexGap:!0,children:[p&&w.jsx(xr,{size:"small",variant:"outlined",label:`${p.provider}`,sx:{height:22,fontSize:"0.70rem",fontFamily:t.typography.fontFamilyMonospace,borderColor:"divider"}}),f.complexity&&w.jsx(xr,{size:"small",variant:"outlined",label:`${f.complexity} complexity`,sx:{height:22,fontSize:"0.70rem",fontFamily:t.typography.fontFamilyMonospace,borderColor:"divider"}}),C>0&&w.jsx(xr,{size:"small",label:`${C} Jira ${C===1?"story":"stories"}`,sx:{height:22,fontSize:"0.70rem",fontFamily:t.typography.fontFamilyMonospace,backgroundColor:"rgba(163, 230, 53, 0.10)",color:"#a3e635",borderColor:"rgba(163, 230, 53, 0.30)",border:"1px solid"}})]}),w.jsx(Ee,{sx:{flex:1}}),w.jsx(Lh,{title:"Re-analyze requirements",children:w.jsx(Ko,{size:"small",onClick:at,sx:{color:"text.disabled","&:hover":{color:D,backgroundColor:Z}},children:w.jsx(K_,{sx:{fontSize:18}})})})]})}),w.jsx(Mc,{}),w.jsx(Ee,{sx:{px:3,py:2},children:w.jsxs(xn,{container:!0,spacing:2,children:[w.jsx(xn,{item:!0,xs:12,md:Array.isArray(f.extractedElements)&&f.extractedElements.length>0?6:12,children:w.jsxs(Ee,{ref:I,children:[w.jsx(Ie,{variant:"caption",sx:{fontWeight:700,color:"text.disabled",fontSize:"0.68rem",textTransform:"uppercase",letterSpacing:"0.08em",display:"block",mb:.75},children:"Summary"}),w.jsx(Ie,{variant:"body2",sx:{color:"text.primary",opacity:.8,lineHeight:1.6,fontSize:"0.85rem"},children:f.summary||"(no summary)"})]})}),Array.isArray(f.extractedElements)&&f.extractedElements.length>0&&w.jsx(xn,{item:!0,xs:12,md:6,children:w.jsxs(Ee,{children:[w.jsxs(Ie,{variant:"caption",sx:{fontWeight:700,color:"text.disabled",fontSize:"0.68rem",textTransform:"uppercase",letterSpacing:"0.08em",display:"block",mb:.75},children:["Testable Elements (",f.extractedElements.length,")"]}),w.jsxs(Ee,{sx:{position:"relative"},children:[w.jsxs(Ee,{sx:{maxHeight:M||!V?"none":V,overflow:"hidden",position:"relative"},children:[w.jsx(qe,{spacing:1,children:f.extractedElements.map((Nt,Dt)=>w.jsxs(Ee,{sx:{display:"flex",flexDirection:"column",gap:.25,pl:1.5,borderLeft:`2px solid ${it}`,py:.5},children:[w.jsxs(qe,{direction:"row",spacing:.75,alignItems:"center",flexWrap:"wrap",useFlexGap:!0,children:[w.jsx(xr,{size:"small",label:Nt.type,sx:{fontFamily:t.typography.fontFamilyMonospace,fontSize:"0.64rem",height:20,backgroundColor:Z,color:D,flexShrink:0}}),w.jsx(Ie,{variant:"body2",sx:{fontWeight:600,color:"text.primary",opacity:.85,fontSize:"0.84rem"},children:Nt.name})]}),Nt.description&&w.jsx(Ie,{variant:"caption",sx:{color:"text.secondary",fontSize:"0.76rem",lineHeight:1.4},children:Nt.description})]},Dt))}),!M&&V&&w.jsx(Ee,{sx:{position:"absolute",bottom:0,left:0,right:0,height:48,background:Y?"linear-gradient(to bottom, transparent, rgba(10,10,10,0.85))":"linear-gradient(to bottom, transparent, rgba(255,255,255,0.90))",pointerEvents:"none"}})]}),V&&w.jsx(Vn,{size:"small",variant:"text",onClick:()=>N(Nt=>!Nt),sx:{mt:.5,fontSize:"0.76rem",color:D,textTransform:"none",px:0,minWidth:0,"&:hover":{backgroundColor:"transparent",textDecoration:"underline"}},children:M?"Show less":`View all ${f.extractedElements.length} elements`})]})]})})]})}),w.jsx(Mc,{}),w.jsx(Ee,{sx:{px:3,py:2},children:w.jsxs(qe,{spacing:2,children:[w.jsxs(qe,{direction:"row",spacing:1,alignItems:"center",children:[w.jsx(Ie,{variant:"subtitle1",sx:{fontWeight:700,fontSize:"0.95rem"},children:"Recommended Techniques"}),w.jsx(xr,{size:"small",label:`${kt} of ${yt.length} selected`,sx:{height:22,fontSize:"0.70rem",fontFamily:t.typography.fontFamilyMonospace,backgroundColor:kt>0?Z:K,color:kt>0?D:"text.disabled"}}),Rt>0&&w.jsx(Lh,{title:"Estimated scenario count from analysis. Actual test cases generated may be higher — each scenario can expand into multiple cases.",arrow:!0,children:w.jsxs(Ie,{variant:"caption",sx:{color:"text.disabled",fontFamily:t.typography.fontFamilyMonospace,fontSize:"0.72rem",cursor:"help",borderBottom:"1px dashed",borderColor:"text.disabled"},children:["~",Rt," scenarios"]})}),w.jsx(Ee,{sx:{flex:1}}),w.jsx(Vn,{size:"small",variant:"text",sx:{fontSize:"0.72rem",color:"text.disabled",textTransform:"none",minWidth:0,px:1},onClick:()=>{const Nt=yt.every(Vt=>y[Vt.skillId]),Dt={};for(const Vt of yt)Dt[Vt.skillId]=!Nt;g(Vt=>({...Vt,...Dt}))},children:yt.every(Nt=>
198y[Nt.skillId])?"Deselect all":"Select all"})]}),w.jsxs(qe,{spacing:2,children:[w.jsx(be,{level:"high",recs:wt.high}),w.jsx(be,{level:"medium",recs:wt.medium}),w.jsx(be,{level:"low",recs:wt.low})]}),qt.length>0&&w.jsxs(Ee,{sx:{p:1.5,borderRadius:"8px",backgroundColor:Y?"rgba(0,0,0,0.12)":"rgba(0,0,0,0.02)",border:`1px solid ${Y?"rgba(167, 139, 250, 0.08)":"rgba(124, 58, 237, 0.06)"}`},children:[w.jsxs(qe,{direction:"row",spacing:.75,alignItems:"center",sx:{mb:1},children:[w.jsx(P0,{sx:{color:D,fontSize:16}}),w.jsx(Ie,{variant:"caption",sx:{fontWeight:700,fontSize:"0.76rem",color:"text.secondary"},children:"Diagrams"}),w.jsx(xr,{size:"small",label:"optional",sx:{height:18,fontSize:"0.62rem",backgroundColor:K,color:"text.disabled"}}),Ht>0&&w.jsx(xr,{size:"small",variant:"outlined",label:`${Ht} selected`,sx:{height:18,fontSize:"0.62rem",fontFamily:t.typography.fontFamilyMonospace,borderColor:it,color:D,opacity:.7}}),w.jsx(Ee,{sx:{flex:1}}),w.jsx(Vn,{size:"small",variant:"text",sx:{fontSize:"0.68rem",color:"text.disabled",textTransform:"none",minWidth:0,px:.5},onClick:()=>{const Nt=qt.every(Vt=>b[Vt]),Dt={};for(const Vt of qt)Dt[Vt]=!Nt;v(Vt=>({...Vt,...Dt}))},children:qt.every(Nt=>b[Nt])?"None":"All"})]}),w.jsx(qe,{direction:"row",spacing:.75,flexWrap:"wrap",useFlexGap:!0,children:qt.map(Nt=>{const Dt=W_[Nt],Vt=!!b[Nt];return w.jsx(xr,{size:"small",label:Dt.label,clickable:!0,onClick:()=>v(de=>({...de,[Nt]:!de[Nt]})),icon:w.jsx(P0,{sx:{fontSize:"14px !important",color:Vt?`${D} !important`:`${Y?"rgba(255,255,255,0.25)":"rgba(0,0,0,0.25)"} !important`}}),sx:{height:26,fontSize:"0.74rem",backgroundColor:Vt?Z:X,color:Vt?"text.primary":"text.secondary",borderColor:Vt?it:et,border:"1px solid","&:hover":{backgroundColor:Z}}},Nt)})})]})]})}),w.jsx(Mc,{}),w.jsxs(Ee,{sx:{px:3,py:2,background:`linear-gradient(180deg, ${Q} 0%, ${Z} 100%)`},children:[w.jsxs(qe,{direction:{xs:"column",sm:"row"},spacing:1.5,alignItems:{xs:"stretch",sm:"center"},children:[w.jsxs(qe,{direction:"row",spacing:1,alignItems:"center",sx:{flex:1},children:[kt>0&&Rt>0&&w.jsxs(Ie,{variant:"caption",sx:{color:"text.secondary",fontSize:"0.78rem"},children:[kt," technique",kt!==1?"s":""," ·"," ",w.jsx(Lh,{title:"Estimated scenario count. Actual test cases generated may be higher — each scenario can expand into multiple cases.",arrow:!0,children:w.jsxs(Ee,{component:"span",sx:{cursor:"help",borderBottom:"1px dashed",borderColor:"text.secondary"},children:["~",Rt," scenarios (est.)"]})})]}),kt===0&&w.jsx(Ie,{variant:"caption",sx:{color:"error.main",opacity:.7,fontSize:"0.78rem"},children:"Select at least one technique to generate"})]}),w.jsxs(qe,{direction:"row",spacing:1,children:[w.jsx(Vn,{variant:"outlined",size:"small",startIcon:w.jsx(K_,{sx:{fontSize:16}}),onClick:at,sx:{borderColor:"divider",color:"text.secondary",textTransform:"none","&:hover":{borderColor:D,backgroundColor:Z}},children:"Re-analyze"}),w.jsx(Vn,{variant:"contained",startIcon:e?null:w.jsx(CV,{}),disabled:e||kt===0,onClick:T,sx:{px:3,backgroundImage:"none",backgroundColor:Kr[600],color:"#fff",fontWeight:600,textTransform:"none",boxShadow:`0 0 0 1px ${Kr[500]}33, 0 12px 40px ${Y?"rgba(0,0,0,0.35)":"rgba(124,58,237,0.18)"}`,"&:hover":{backgroundColor:Kr[700]},"&.Mui-disabled":{backgroundColor:rt,color:lt}},children:e?"Generating...":"Generate test scenarios"})]})]}),e&&w.jsx(k_,{sx:{mt:1.5,borderRadius:3,height:3,backgroundColor:K,"& .MuiLinearProgress-bar":{backgroundColor:D}}})]})]})})}const ux=Jr(w.jsx("path",{d:"M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"}),"Download"),_V=Jr(w.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search"),AV=Jr(w.jsx("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m2 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"}),"Assignment"),TV="modulepreload",LV=function(t){return"/"+t},Z_={},Mn=function(e,r,n){let i=Promise.resolve();if(r&&r.length>0){let u=function(h){return Promise.all(h.map(f=>Promise.resolve(f).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),l=s?.nonce||s?.getAttribute("nonce");i=u(r.map(h=>{if(h=LV(h),h in Z_)return;Z_[h]=!0;const f=h.endsWith(".css"),p=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${p}`))return;const y=document.createElement("link");if(y.rel=f?"stylesheet":TV,f||(y.as="script"),y.crossOrigin="",y.href=h,l&&y.setAttribute("nonce",l),document.head.appendChild(y),f)return new Promise((g,b)=>{y.addEventListener("load",g),y.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${h}`)))})}))}function a(s){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s}return i.then(s=>{for(const l of s||[])l.status==="rejected"&&a(l.reason);return e().catch(a)})};function Yn(t){"@babel/helpers - typeof";return Yn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yn(t)}var Fl=Uint8Array,Ts=Uint16Array,Ew=Int32Array,Mw=new Fl([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Rw=new Fl([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Q_=new Fl([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),NL=function(t,e){for(var r=new Ts(31),n=0;n<31;++n)r[n]=e+=1<<t[n-1];for(var i=new Ew(r[30]),n=1;n<30;++n)for(var a=r[n];a<r[n+1];++a)i[a]=a-r[n]<<5|n;return{b:r,r:i}},BL=NL(Mw,2),EV=BL.b,O5=BL.r;EV[28]=258,O5[258]=28;var MV=NL(Rw,0),J_=MV.r,P5=new Ts(32768);for(var vi=0;vi<32768;++vi){var bh=(vi&43690)>>1|(vi&21845)<<1;bh=(bh&52428)>>2|(bh&13107)<<2,bh=(bh&61680)>>4|(bh&3855)<<4,P5[vi]=((bh&65280)>>8|(bh&255)<<8)>>1}var b0=(function(t,e,r){for(var n=t.length,i=0,a=new Ts(e);i<n;++i)t[i]&&++a[t[i]-1];var s=new Ts(e);for(i=1;i<e;++i)s[i]=s[i-1]+a[i-1]<<1;var l;if(r){l=new Ts(1<<e);var u=15-e;for(i=0;i<n;++i)if(t[i])for(var h=i<<4|t[i],f=e-t[i],p=s[t[i]-1]++<<f,y=p|(1<<f)-1;p<=y;++p)l[P5[p]>>u]=h}else for(l=new Ts(n),i=0;i<n;++i)t[i]&&(l[i]=P5[s[t[i]-1]++]>>15-t[i]);return l}),zf=new Fl(288);for(var vi=0;vi<144;++vi)zf[vi]=8;for(var vi=144;vi<256;++vi)zf[vi]=9;for(var vi=256;vi<280;++vi)zf[vi]=7;for(var vi=280;vi<288;++vi)zf[vi]=8;
vendor: 12,156 bytes, lines 198-199
198var j2=new Fl(32);for(var vi=0;vi<32;++vi)j2[vi]=5;var RV=b0(zf,9,0),NV=b0(j2,5,0),OL=function(t){return(t+7)/8|0},BV=function(t,e,r){return(r==null||r>t.length)&&(r=t.length),new Fl(t.subarray(e,r))},fu=function(t,e,r){r<<=e&7;var n=e/8|0;t[n]|=r,t[n+1]|=r>>8},Ig=function(t,e,r){r<<=e&7;var n=e/8|0;t[n]|=r,t[n+1]|=r>>8,t[n+2]|=r>>16},hx=function(t,e){for(var r=[],n=0;n<t.length;++n)t[n]&&r.push({s:n,f:t[n]});var i=r.length,a=r.slice();if(!i)return{t:$L,l:0};if(i==1){var s=new Fl(r[0].s+1);return s[r[0].s]=1,{t:s,l:1}}r.sort(function(O,W){return O.f-W.f}),r.push({s:-1,f:25001});var l=r[0],u=r[1],h=0,f=1,p=2;for(r[0]={s:-1,f:l.f+u.f,l,r:u};f!=i-1;)l=r[r[h].f<r[p].f?h++:p++],u=r[h!=f&&r[h].f<r[p].f?h++:p++],r[f++]={s:-1,f:l.f+u.f,l,r:u};for(var y=a[0].s,n=1;n<i;++n)a[n].s>y&&(y=a[n].s);var g=new Ts(y+1),b=$5(r[f-1],g,0);if(b>e){var n=0,v=0,C=b-e,k=1<<C;for(a.sort(function(W,q){return g[q.s]-g[W.s]||W.f-q.f});n<i;++n){var T=a[n].s;if(g[T]>e)v+=k-(1<<b-g[T]),g[T]=e;else break}for(v>>=C;v>0;){var E=a[n].s;g[E]<e?v-=1<<e-g[E]++-1:++n}for(;n>=0&&v;--n){var L=a[n].s;g[L]==e&&(--g[L],++v)}b=e}return{t:new Fl(g),l:b}},$5=function(t,e,r){return t.s==-1?Math.max($5(t.l,e,r+1),$5(t.r,e,r+1)):e[t.s]=r},tA=function(t){for(var e=t.length;e&&!t[--e];);for(var r=new Ts(++e),n=0,i=t[0],a=1,s=function(u){r[n++]=u},l=1;l<=e;++l)if(t[l]==i&&l!=e)++a;else{if(!i&&a>2){for(;a>138;a-=138)s(32754);a>2&&(s(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(s(i),--a;a>6;a-=6)s(8304);a>2&&(s(a-3<<5|8208),a=0)}for(;a--;)s(i);a=1,i=t[l]}return{c:r.subarray(0,n),n:e}},zg=function(t,e){for(var r=0,n=0;n<e.length;++n)r+=t[n]*e[n];return r},PL=function(t,e,r){var n=r.length,i=OL(e+2);t[i]=n&255,t[i+1]=n>>8,t[i+2]=t[i]^255,t[i+3]=t[i+1]^255;for(var a=0;a<n;++a)t[i+a+4]=r[a];return(i+4+n)*8},eA=function(t,e,r,n,i,a,s,l,u,h,f){fu(e,f++,r),++i[256];for(var p=hx(i,15),y=p.t,g=p.l,b=hx(a,15),v=b.t,C=b.l,k=tA(y),T=k.c,E=k.n,L=tA(v),O=L.c,W=L.n,q=new Ts(19),U=0;U<T.length;++U)++q[T[U]&31];for(var U=0;U<O.length;++U)++q[O[U]&31];for(var j=hx(q,7),M=j.t,N=j.l,I=19;I>4&&!M[Q_[I-1]];--I);var V=h+5<<3,z=zg(i,zf)+zg(a,j2)+s,Y=zg(i,y)+zg(a,v)+s+14+3*I+zg(q,M)+2*q[16]+3*q[17]+7*q[18];if(u>=0&&V<=z&&V<=Y)return PL(e,f,t.subarray(u,u+h));var D,Z,Q,it;if(fu(e,f,1+(Y<z)),f+=2,Y<z){D=b0(y,g,0),Z=y,Q=b0(v,C,0),it=v;var mt=b0(M,N,0);fu(e,f,E-257),fu(e,f+5,W-1),fu(e,f+10,I-4),f+=14;for(var U=0;U<I;++U)fu(e,f+3*U,M[Q_[U]]);f+=3*I;for(var K=[T,O],P=0;P<2;++P)for(var X=K[P],U=0;U<X.length;++U){var et=X[U]&31;fu(e,f,mt[et]),f+=M[et],et>15&&(fu(e,f,X[U]>>5&127),f+=X[U]>>12)}}else D=RV,Z=zf,Q=NV,it=j2;for(var U=0;U<l;++U){var rt=n[U];if(rt>255){var et=rt>>18&31;Ig(e,f,D[et+257]),f+=Z[et+257],et>7&&(fu(e,f,rt>>23&31),f+=Mw[et]);var lt=rt&31;Ig(e,f,Q[lt]),f+=it[lt],lt>3&&(Ig(e,f,rt>>5&8191),f+=Rw[lt])}else Ig(e,f,D[rt]),f+=Z[rt]}return Ig(e,f,D[256]),f+Z[256]},OV=new Ew([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),$L=new Fl(0),PV=function(t,e,r,n,i,a){var s=a.z||t.length,l=new Fl(n+s+5*(1+Math.ceil(s/7e3))+i),u=l.subarray(n,l.length-i),h=a.l,f=(a.r||0)&7;if(e){f&&(u[0]=a.r>>3);for(var p=OV[e-1],y=p>>13,g=p&8191,b=(1<<r)-1,v=a.p||new Ts(32768),C=a.h||new Ts(b+1),k=Math.ceil(r/3),T=2*k,E=function(Ht){return(t[Ht]^t[Ht+1]<<k^t[Ht+2]<<T)&b},L=new Ew(25e3),O=new Ts(288),W=new Ts(32),q=0,U=0,j=a.i||0,M=0,N=a.w||0,I=0;j+2<s;++j){var V=E(j),z=j&32767,Y=C[V];if(v[z]=Y,C[V]=z,N<=j){var D=s-j;if((q>7e3||M>24576)&&(D>423||!h)){f=eA(t,u,0,L,O,W,U,M,I,j-I,f),M=q=U=0,I=j;for(var Z=0;Z<286;++Z)O[Z]=0;for(var Z=0;Z<30;++Z)W[Z]=0}var Q=2,it=0,mt=g,K=z-Y&32767;if(D>2&&V==E(j-K))for(var P=Math.min(y,D)-1,X=Math.min(32767,j),et=Math.min(258,D);K<=X&&--mt&&z!=Y;){if(t[j+Q]==t[j+Q-K]){for(var rt=0;rt<et&&t[j+rt]==t[j+rt-K];++rt);if(rt>Q){if(Q=rt,it=K,rt>P)break;for(var lt=Math.min(K,rt-2),ht=0,Z=0;Z<lt;++Z){var bt=j-K+Z&32767,yt=v[bt],kt=bt-yt&32767;kt>ht&&(ht=kt,Y=bt)}}}z=Y,Y=v[z],K+=z-Y&32767}if(it){L[M++]=268435456|O5[Q]<<18|J_[it];var Rt=O5[Q]&31,wt=J_[it]&31;U+=Mw[Rt]+Rw[wt],++O[257+Rt],++W[wt],N=j+Q,++q}else L[M++]=t[j],++O[t[j]]}}for(j=Math.max(j,N);j<s;++j)L[M++]=t[j],++O[t[j]];f=eA(t,u,h,L,O,W,U,M,I,j-I,f),h||(a.r=f&7|u[f/8|0]<<3,f-=7,a.h=C,a.p=v,a.i=j,a.w=N)}else{for(var j=a.w||0;j<s+h;j+=65535){var qt=j+65535;qt>=s&&(u[f/8|0]=h,qt=s),f=PL(u,f+1,t.subarray(j,qt))}a.i=s}return BV(l,0,n+OL(f)+i)},jL=function(){var t=1,e=0;return{p:function(r){for(var n=t,i=e,a=r.length|0,s=0;s!=a;){for(var l=Math.min(s+2655,a);s<l;++s)i+=n+=r[s];n=(n&65535)+15*(n>>16),i=(i&65535)+15*(i>>16)}t=n,e=i},d:function(){return t%=65521,e%=65521,(t&255)<<24|(t&65280)<<8|(e&255)<<8|e>>8}}},$V=function(t,e,r,n,i){if(!i&&(i={l:1},e.dictionary)){var a=e.dictionary.subarray(-32768),s=new Fl(a.length+t.length);s.set(a),s.set(t,a.length),t=s,i.w=a.length}return PV(t,e.level==null?6:e.level,e.mem==null?i.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+e.mem,r,n,i)},DL=function(t,e,r){for(;r;++e)t[e]=r,r>>>=8},jV=function(t,e){var r=e.level,n=r==0?0:r<6?1:r==9?3:2;if(t[0]=120,t[1]=n<<6|(e.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,e.dictionary){var i=jL();i.p(e.dictionary),DL(t,2,i.d())}};function j5(t,e){e||(e={});var r=jL();r.p(t);var n=$V(t,e,e.dictionary?6:2,4);return jV(n,e),DL(n,n.length-4,r.d()),n}var DV=typeof TextDecoder<"u"&&new TextDecoder,IV=0;try{DV.decode($L,{stream:!0}),IV=1}catch{}function zV(t){if(Array.isArray(t))return t}function FV(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,a,s,l=[],u=!0,h=!1;try{if(a=(r=r.call(t)).next,e!==0)for(;!(u=(n=a.call(r)).done)&&(l.push(n.value),l.length!==e);u=!0);}catch(f){h=!0,i=f}finally{try{if(!u&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(h)throw i}}return l}}function rA(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function qV(t,e){if(t){if(typeof t=="string")return rA(t,e);var r={}.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rA(t,e):void 0}}function HV(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
199In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nA(t,e){return zV(t)||FV(t,e)||qV(t,e)||HV()}function iA(t,e="utf8"){return new TextDecoder(e).decode(t)}const UV=new TextEncoder;function WV(t){return UV.encode(t)}const GV=1024*8,VV=(()=>{const t=new Uint8Array(4),e=new Uint32Array(t.buffer);return!((e[0]=1)&t[0])})(),fx={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class Nw{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(e=GV,r={}){let n=!1;typeof e=="number"?e=new ArrayBuffer(e):(n=!0,this.lastWrittenByte=e.byteLength);const i=r.offset?r.offset>>>0:0,a=e.byteLength-i;let s=i;(ArrayBuffer.isView(e)||e instanceof Nw)&&(e.byteLength!==e.buffer.byteLength&&(s=e.byteOffset+i),e=e.buffer),n?this.lastWrittenByte=a:this.lastWrittenByte=0,this.buffer=e,this.length=a,this.byteLength=a,this.byteOffset=s,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,s,a),this._mark=0,this._marks=[]}available(e=1){return this.offset+e<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(e=1){return this.offset+=e,this}back(e=1){return this.offset-=e,this}seek(e){return this.offset=e,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const e=this._marks.pop();if(e===void 0)throw new Error("Mark stack empty");return this.seek(e),this}rewind(){return this.offset=0,this}ensureAvailable(e=1){if(!this.available(e)){const n=(this.offset+e)*2,i=new Uint8Array(n);i.set(new Uint8Array(this.buffer)),this.buffer=i.buffer,this.length=n,this.byteLength=n,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(e=1){return this.readArray(e,"uint8")}readArray(e,r){const n=fx[r].BYTES_PER_ELEMENT*e,i=this.byteOffset+this.offset,a=this.buffer.slice(i,i+n);if(this.littleEndian===VV&&r!=="uint8"&&r!=="int8"){const l=new Uint8Array(this.buffer.slice(i,i+n));l.reverse();const u=new fx[r](l.buffer);return this.offset+=n,u.reverse(),u}const s=new fx[r](a);return this.offset+=n,s}readInt16(){const e=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,e}readUint16(){const e=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,e}readInt32(){const e=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,e}readUint32(){const e=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat32(){const e=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat64(){const e=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,e}readBigInt64(){const e=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,e}readBigUint64(){const e=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,e}readChar(){return String.fromCharCode(this.readInt8())}readChars(e=1){let r="";for(let n=0;n<e;n++)r+=this.readChar();return r}readUtf8(e=1){return iA(this.readBytes(e))}decodeText(e=1,r="utf8"){return iA(this.readBytes(e),r)}writeBoolean(e){return this.writeUint8(e?255:0),this}writeInt8(e){return this.ensureAvailable(1),this._data.setInt8(this.offset++,e),this._updateLastWrittenByte(),this}writeUint8(e){return this.ensureAvailable(1),this._data.setUint8(this.offset++,e),this._updateLastWrittenByte(),this}writeByte(e){return this.writeUint8(e)}writeBytes(e){this.ensureAvailable(e.length);for(let r=0;r<e.length;r++)this._data.setUint8(this.offset++,e[r]);return this._updateLastWrittenByte(),this}writeInt16(e){return this.ensureAvailable(2),this._data.setInt16(this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(e){return this.ensureAvailable(2),this._data.setUint16(this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(e){return this.ensureAvailable(4),this._data.setInt32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(e){return this.ensureAvailable(4),this._data.setUint32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(e){return this.ensureAvailable(4),this._data.setFloat32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(e){return this.ensureAvailable(8),this._data.setFloat64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(e){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(e){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(e){return this.writeUint8(e.charCodeAt(0))}writeChars(e){for(let r=0;r<e.length;r++)this.writeUint8(e.charCodeAt(r));return this}writeUtf8(e){return this.writeBytes(WV(e))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}function Fp(t){let e=t.length;for(;--e>=0;)t[e]=0}const YV=3,XV=258,IL=29,KV=256,ZV=KV+1+IL,zL=30,QV=512,JV=new Array((ZV+2)*2);Fp(JV);const tY=new Array(zL*2);Fp(tY);
vendor: 10,842 bytes, line 199
199const eY=new Array(QV);Fp(eY);const rY=new Array(XV-YV+1);Fp(rY);const nY=new Array(IL);Fp(nY);const iY=new Array(zL);Fp(iY);const aY=(t,e,r,n)=>{let i=t&65535|0,a=t>>>16&65535|0,s=0;for(;r!==0;){s=r>2e3?2e3:r,r-=s;do i=i+e[n++]|0,a=a+i|0;while(--s);i%=65521,a%=65521}return i|a<<16|0};var D5=aY;const oY=()=>{let t,e=[];for(var r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=t&1?3988292384^t>>>1:t>>>1;e[r]=t}return e},sY=new Uint32Array(oY()),lY=(t,e,r,n)=>{const i=sY,a=n+r;t^=-1;for(let s=n;s<a;s++)t=t>>>8^i[(t^e[s])&255];return t^-1};var mc=lY,I5={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},FL={Z_NO_FLUSH:0,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_DEFLATED:8};const cY=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var uY=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const r=e.shift();if(r){if(typeof r!="object")throw new TypeError(r+"must be non-object");for(const n in r)cY(r,n)&&(t[n]=r[n])}}return t},hY=t=>{let e=0;for(let n=0,i=t.length;n<i;n++)e+=t[n].length;const r=new Uint8Array(e);for(let n=0,i=0,a=t.length;n<a;n++){let s=t[n];r.set(s,i),i+=s.length}return r},qL={assign:uY,flattenChunks:hY};let HL=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{HL=!1}const $0=new Uint8Array(256);for(let t=0;t<256;t++)$0[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;$0[254]=$0[254]=1;var fY=t=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(t);let e,r,n,i,a,s=t.length,l=0;for(i=0;i<s;i++)r=t.charCodeAt(i),(r&64512)===55296&&i+1<s&&(n=t.charCodeAt(i+1),(n&64512)===56320&&(r=65536+(r-55296<<10)+(n-56320),i++)),l+=r<128?1:r<2048?2:r<65536?3:4;for(e=new Uint8Array(l),a=0,i=0;a<l;i++)r=t.charCodeAt(i),(r&64512)===55296&&i+1<s&&(n=t.charCodeAt(i+1),(n&64512)===56320&&(r=65536+(r-55296<<10)+(n-56320),i++)),r<128?e[a++]=r:r<2048?(e[a++]=192|r>>>6,e[a++]=128|r&63):r<65536?(e[a++]=224|r>>>12,e[a++]=128|r>>>6&63,e[a++]=128|r&63):(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63,e[a++]=128|r>>>6&63,e[a++]=128|r&63);return e};const dY=(t,e)=>{if(e<65534&&t.subarray&&HL)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let r="";for(let n=0;n<e;n++)r+=String.fromCharCode(t[n]);return r};var pY=(t,e)=>{const r=e||t.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(t.subarray(0,e));let n,i;const a=new Array(r*2);for(i=0,n=0;n<r;){let s=t[n++];if(s<128){a[i++]=s;continue}let l=$0[s];if(l>4){a[i++]=65533,n+=l-1;continue}for(s&=l===2?31:l===3?15:7;l>1&&n<r;)s=s<<6|t[n++]&63,l--;if(l>1){a[i++]=65533;continue}s<65536?a[i++]=s:(s-=65536,a[i++]=55296|s>>10&1023,a[i++]=56320|s&1023)}return dY(a,i)},gY=(t,e)=>{e=e||t.length,e>t.length&&(e=t.length);let r=e-1;for(;r>=0&&(t[r]&192)===128;)r--;return r<0||r===0?e:r+$0[t[r]]>e?r:e},z5={string2buf:fY,buf2string:pY,utf8border:gY};function mY(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var yY=mY;const L1=16209,bY=16191;var vY=function(e,r){let n,i,a,s,l,u,h,f,p,y,g,b,v,C,k,T,E,L,O,W,q,U,j,M;const N=e.state;n=e.next_in,j=e.input,i=n+(e.avail_in-5),a=e.next_out,M=e.output,s=a-(r-e.avail_out),l=a+(e.avail_out-257),u=N.dmax,h=N.wsize,f=N.whave,p=N.wnext,y=N.window,g=N.hold,b=N.bits,v=N.lencode,C=N.distcode,k=(1<<N.lenbits)-1,T=(1<<N.distbits)-1;t:do{b<15&&(g+=j[n++]<<b,b+=8,g+=j[n++]<<b,b+=8),E=v[g&k];e:for(;;){if(L=E>>>24,g>>>=L,b-=L,L=E>>>16&255,L===0)M[a++]=E&65535;else if(L&16){O=E&65535,L&=15,L&&(b<L&&(g+=j[n++]<<b,b+=8),O+=g&(1<<L)-1,g>>>=L,b-=L),b<15&&(g+=j[n++]<<b,b+=8,g+=j[n++]<<b,b+=8),E=C[g&T];r:for(;;){if(L=E>>>24,g>>>=L,b-=L,L=E>>>16&255,L&16){if(W=E&65535,L&=15,b<L&&(g+=j[n++]<<b,b+=8,b<L&&(g+=j[n++]<<b,b+=8)),W+=g&(1<<L)-1,W>u){e.msg="invalid distance too far back",N.mode=L1;break t}if(g>>>=L,b-=L,L=a-s,W>L){if(L=W-L,L>f&&N.sane){e.msg="invalid distance too far back",N.mode=L1;break t}if(q=0,U=y,p===0){if(q+=h-L,L<O){O-=L;do M[a++]=y[q++];while(--L);q=a-W,U=M}}else if(p<L){if(q+=h+p-L,L-=p,L<O){O-=L;do M[a++]=y[q++];while(--L);if(q=0,p<O){L=p,O-=L;do M[a++]=y[q++];while(--L);q=a-W,U=M}}}else if(q+=p-L,L<O){O-=L;do M[a++]=y[q++];while(--L);q=a-W,U=M}for(;O>2;)M[a++]=U[q++],M[a++]=U[q++],M[a++]=U[q++],O-=3;O&&(M[a++]=U[q++],O>1&&(M[a++]=U[q++]))}else{q=a-W;do M[a++]=M[q++],M[a++]=M[q++],M[a++]=M[q++],O-=3;while(O>2);O&&(M[a++]=M[q++],O>1&&(M[a++]=M[q++]))}}else if((L&64)===0){E=C[(E&65535)+(g&(1<<L)-1)];continue r}else{e.msg="invalid distance code",N.mode=L1;break t}break}}else if((L&64)===0){E=v[(E&65535)+(g&(1<<L)-1)];continue e}else if(L&32){N.mode=bY;break t}else{e.msg="invalid literal/length code",N.mode=L1;break t}break}}while(n<i&&a<l);O=b>>3,n-=O,b-=O<<3,g&=(1<<b)-1,e.next_in=n,e.next_out=a,e.avail_in=n<i?5+(i-n):5-(n-i),e.avail_out=a<l?257+(l-a):257-(a-l),N.hold=g,N.bits=b};const Yd=15,aA=852,oA=592,sA=0,dx=1,lA=2,xY=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),SY=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),wY=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),CY=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),kY=(t,e,r,n,i,a,s,l)=>{const u=l.bits;let h=0,f=0,p=0,y=0,g=0,b=0,v=0,C=0,k=0,T=0,E,L,O,W,q,U=null,j;const M=new Uint16Array(Yd+1),N=new Uint16Array(Yd+1);let I=null,V,z,Y;for(h=0;h<=Yd;h++)M[h]=0;for(f=0;f<n;f++)M[e[r+f]]++;for(g=u,y=Yd;y>=1&&M[y]===0;y--);if(g>y&&(g=y),y===0)return i[a++]=1<<24|64<<16|0,i[a++]=1<<24|64<<16|0,l.bits=1,0;for(p=1;p<y&&M[p]===0;p++);for(g<p&&(g=p),C=1,h=1;h<=Yd;h++)if(C<<=1,C-=M[h],C<0)return-1;if(C>0&&(t===sA||y!==1))return-1;for(N[1]=0,h=1;h<Yd;h++)N[h+1]=N[h]+M[h];for(f=0;f<n;f++)e[r+f]!==0&&(s[N[e[r+f]]++]=f);if(t===sA?(U=I=s,j=20):t===dx?(U=xY,I=SY,j=257):(U=wY,I=CY,j=0),T=0,f=0,h=p,q=a,b=g,v=0,O=-1,k=1<<g,W=k-1,t===dx&&k>aA||t===lA&&k>oA)return 1;for(;;){V=h-v,s[f]+1<j?(z=0,Y=s[f]):s[f]>=j?(z=I[s[f]-j],Y=U[s[f]-j]):(z=96,Y=0),E=1<<h-v,L=1<<b,p=L;do L-=E,i[q+(T>>v)+L]=V<<24|z<<16|Y|0;while(L!==0);for(E=1<<h-1;T&E;)E>>=1;if(E!==0?(T&=E-1,T+=E):T=0,f++,--M[h]===0){if(h===y)break;h=e[r+s[f]]}if(h>g&&(T&W)!==O){for(v===0&&(v=g),q+=p,b=h-v,C=1<<b;b+v<y&&(C-=M[b+v],!(C<=0));)b++,C<<=1;if(k+=1<<b,t===dx&&k>aA||t===lA&&k>oA)return 1;O=T&W,i[O]=g<<24|b<<16|q-a|0}}return T!==0&&(i[q+T]=h-v<<24|64<<16|0),l.bits=g,0};var v0=kY;const _Y=0,UL=1,WL=2,{Z_FINISH:cA,Z_BLOCK:AY,Z_TREES:E1,Z_OK:Ff,Z_STREAM_END:TY,Z_NEED_DICT:LY,Z_STREAM_ERROR:al,Z_DATA_ERROR:GL,Z_MEM_ERROR:VL,Z_BUF_ERROR:EY,Z_DEFLATED:uA}=FL,Ky=16180,hA=16181,fA=16182,dA=16183,pA=16184,gA=16185,mA=16186,yA=16187,bA=16188,vA=16189,D2=16190,du=16191,px=16192,xA=16193,gx=16194,SA=16195,wA=16196,CA=16197,kA=16198,M1=16199,R1=16200,_A=16201,AA=16202,TA=16203,LA=16204,EA=16205,mx=16206,MA=16207,RA=16208,Ai=16209,YL=16210,XL=16211,MY=852,RY=592,NY=15,BY=NY,NA=t=>(t>>>24&255)+(t>>>8&65280)+((t&65280)<<8)+((t&255)<<24);function OY(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const td=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode<Ky||e.mode>XL?1:0},KL=t=>{if(td(t))return al;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=e.wrap&1),e.mode=Ky,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(MY),e.distcode=e.distdyn=new Int32Array(RY),e.sane=1,e.back=-1,Ff},ZL=t=>{if(td(t))return al;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,KL(t)},QL=(t,e)=>{let r;if(td(t))return al;const n=t.state;return e<0?(r=0,e=-e):(r=(e>>4)+5,e<48&&(e&=15)),e&&(e<8||e>15)?al:(n.window!==null&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,ZL(t))},JL=(t,e)=>{if(!t)return al;const r=new OY;t.state=r,r.strm=t,r.window=null,r.mode=Ky;const n=QL(t,e);return n!==Ff&&(t.state=null),n},PY=t=>JL(t,BY);let BA=!0,yx,bx;const $Y=t=>{if(BA){yx=new Int32Array(512),bx=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(v0(UL,t.lens,0,288,yx,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;v0(WL,t.lens,0,32,bx,0,t.work,{bits:5}),BA=!1}t.lencode=yx,t.lenbits=9,t.distcode=bx,t.distbits=5},tE=(t,e,r,n)=>{let i;const a=t.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Uint8Array(a.wsize)),n>=a.wsize?(a.window.set(e.subarray(r-a.wsize,r),0),a.wnext=0,a.whave=a.wsize):(i=a.wsize-a.wnext,i>n&&(i=n),a.window.set(e.subarray(r-n,r-n+i),a.wnext),n-=i,n?(a.window.set(e.subarray(r-n,r),0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0},jY=(t,e)=>{let r,n,i,a,s,l,u,h,f,p,y,g,b,v,C=0,k,T,E,L,O,W,q,U;const j=new Uint8Array(4);let M,N;const I=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(td(t)||!t.output||!t.input&&t.avail_in!==0)return al;r=t.state,r.mode===du&&(r.mode=px),s=t.next_out,i=t.output,u=t.avail_out,a=t.next_in,n=t.input,l=t.avail_in,h=r.hold,f=r.bits,p=l,y=u,U=Ff;t:for(;;)switch(r.mode){case Ky:if(r.wrap===0){r.mode=px;break}for(;f<16;){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}if(r.wrap&2&&h===35615){r.wbits===0&&(r.wbits=15),r.check=0,j[0]=h&255,j[1]=h>>>8&255,r.check=mc(r.check,j,2,0),h=0,f=0,r.mode=hA;break}if(r.head&&(r.head.done=!1),!(r.wrap&1)||(((h&255)<<8)+(h>>8))%31){t.msg="incorrect header check",r.mode=Ai;break}if((h&15)!==uA){t.msg="unknown compression method",r.mode=Ai;break}if(h>>>=4,f-=4,q=(h&15)+8,r.wbits===0&&(r.wbits=q),q>15||q>r.wbits){t.msg="invalid window size",r.mode=Ai;break}r.dmax=1<<r.wbits,r.flags=0,t.adler=r.check=1,r.mode=h&512?vA:du,h=0,f=0;break;case hA:for(;f<16;){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}if(r.flags=h,(r.flags&255)!==uA){t.msg="unknown compression method",r.mode=Ai;break}if(r.flags&57344){t.msg="unknown header flags set",r.mode=Ai;break}r.head&&(r.head.text=h>>8&1),r.flags&512&&r.wrap&4&&(j[0]=h&255,j[1]=h>>>8&255,r.check=mc(r.check,j,2,0)),h=0,f=0,r.mode=fA;
vendor: 1,483 bytes, line 199
199case fA:for(;f<32;){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}r.head&&(r.head.time=h),r.flags&512&&r.wrap&4&&(j[0]=h&255,j[1]=h>>>8&255,j[2]=h>>>16&255,j[3]=h>>>24&255,r.check=mc(r.check,j,4,0)),h=0,f=0,r.mode=dA;case dA:for(;f<16;){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}r.head&&(r.head.xflags=h&255,r.head.os=h>>8),r.flags&512&&r.wrap&4&&(j[0]=h&255,j[1]=h>>>8&255,r.check=mc(r.check,j,2,0)),h=0,f=0,r.mode=pA;case pA:if(r.flags&1024){for(;f<16;){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}r.length=h,r.head&&(r.head.extra_len=h),r.flags&512&&r.wrap&4&&(j[0]=h&255,j[1]=h>>>8&255,r.check=mc(r.check,j,2,0)),h=0,f=0}else r.head&&(r.head.extra=null);r.mode=gA;case gA:if(r.flags&1024&&(g=r.length,g>l&&(g=l),g&&(r.head&&(q=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Uint8Array(r.head.extra_len)),r.head.extra.set(n.subarray(a,a+g),q)),r.flags&512&&r.wrap&4&&(r.check=mc(r.check,n,g,a)),l-=g,a+=g,r.length-=g),r.length))break t;r.length=0,r.mode=mA;case mA:if(r.flags&2048){if(l===0)break t;g=0;do q=n[a+g++],r.head&&q&&r.length<65536&&(r.head.name+=String.fromCharCode(q));while(q&&g<l);if(r.flags&512&&r.wrap&4&&(r.check=mc(r.check,n,g,a)),l-=g,a+=g,q)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=yA;case yA:if(r.flags&4096){if(l===0)break t;g=0;do q=n[a+g++],r.head&&q&&r.length<65536&&(r.head.comment+=String.fromCharCode(q));while(q&&g<l);if(r.flags&512&&r.wrap&4&&(r.check=mc(r.check,n,g,a)),l-=g,a+=g,q)break t}else r.head&&(r.head.comment=null);r.mode=bA;
vendor: 5,164 bytes, line 199
199case bA:if(r.flags&512){for(;f<16;){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}if(r.wrap&4&&h!==(r.check&65535)){t.msg="header crc mismatch",r.mode=Ai;break}h=0,f=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=du;break;case vA:for(;f<32;){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}t.adler=r.check=NA(h),h=0,f=0,r.mode=D2;case D2:if(r.havedict===0)return t.next_out=s,t.avail_out=u,t.next_in=a,t.avail_in=l,r.hold=h,r.bits=f,LY;t.adler=r.check=1,r.mode=du;case du:if(e===AY||e===E1)break t;case px:if(r.last){h>>>=f&7,f-=f&7,r.mode=mx;break}for(;f<3;){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}switch(r.last=h&1,h>>>=1,f-=1,h&3){case 0:r.mode=xA;break;case 1:if($Y(r),r.mode=M1,e===E1){h>>>=2,f-=2;break t}break;case 2:r.mode=wA;break;case 3:t.msg="invalid block type",r.mode=Ai}h>>>=2,f-=2;break;case xA:for(h>>>=f&7,f-=f&7;f<32;){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}if((h&65535)!==(h>>>16^65535)){t.msg="invalid stored block lengths",r.mode=Ai;break}if(r.length=h&65535,h=0,f=0,r.mode=gx,e===E1)break t;case gx:r.mode=SA;case SA:if(g=r.length,g){if(g>l&&(g=l),g>u&&(g=u),g===0)break t;i.set(n.subarray(a,a+g),s),l-=g,a+=g,u-=g,s+=g,r.length-=g;break}r.mode=du;break;case wA:for(;f<14;){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}if(r.nlen=(h&31)+257,h>>>=5,f-=5,r.ndist=(h&31)+1,h>>>=5,f-=5,r.ncode=(h&15)+4,h>>>=4,f-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=Ai;break}r.have=0,r.mode=CA;case CA:for(;r.have<r.ncode;){for(;f<3;){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}r.lens[I[r.have++]]=h&7,h>>>=3,f-=3}for(;r.have<19;)r.lens[I[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,M={bits:r.lenbits},U=v0(_Y,r.lens,0,19,r.lencode,0,r.work,M),r.lenbits=M.bits,U){t.msg="invalid code lengths set",r.mode=Ai;break}r.have=0,r.mode=kA;case kA:for(;r.have<r.nlen+r.ndist;){for(;C=r.lencode[h&(1<<r.lenbits)-1],k=C>>>24,T=C>>>16&255,E=C&65535,!(k<=f);){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}if(E<16)h>>>=k,f-=k,r.lens[r.have++]=E;else{if(E===16){for(N=k+2;f<N;){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}if(h>>>=k,f-=k,r.have===0){t.msg="invalid bit length repeat",r.mode=Ai;break}q=r.lens[r.have-1],g=3+(h&3),h>>>=2,f-=2}else if(E===17){for(N=k+3;f<N;){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}h>>>=k,f-=k,q=0,g=3+(h&7),h>>>=3,f-=3}else{for(N=k+7;f<N;){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}h>>>=k,f-=k,q=0,g=11+(h&127),h>>>=7,f-=7}if(r.have+g>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=Ai;break}for(;g--;)r.lens[r.have++]=q}}if(r.mode===Ai)break;if(r.lens[256]===0){t.msg="invalid code -- missing end-of-block",r.mode=Ai;break}if(r.lenbits=9,M={bits:r.lenbits},U=v0(UL,r.lens,0,r.nlen,r.lencode,0,r.work,M),r.lenbits=M.bits,U){t.msg="invalid literal/lengths set",r.mode=Ai;break}if(r.distbits=6,r.distcode=r.distdyn,M={bits:r.distbits},U=v0(WL,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,M),r.distbits=M.bits,U){t.msg="invalid distances set",r.mode=Ai;break}if(r.mode=M1,e===E1)break t;case M1:r.mode=R1;case R1:if(l>=6&&u>=258){t.next_out=s,t.avail_out=u,t.next_in=a,t.avail_in=l,r.hold=h,r.bits=f,vY(t,y),s=t.next_out,i=t.output,u=t.avail_out,a=t.next_in,n=t.input,l=t.avail_in,h=r.hold,f=r.bits,r.mode===du&&(r.back=-1);break}for(r.back=0;C=r.lencode[h&(1<<r.lenbits)-1],k=C>>>24,T=C>>>16&255,E=C&65535,!(k<=f);){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}if(T&&(T&240)===0){for(L=k,O=T,W=E;C=r.lencode[W+((h&(1<<L+O)-1)>>L)],k=C>>>24,T=C>>>16&255,E=C&65535,!(L+k<=f);){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}h>>>=L,f-=L,r.back+=L}if(h>>>=k,f-=k,r.back+=k,r.length=E,T===0){r.mode=EA;break}if(T&32){r.back=-1,r.mode=du;break}if(T&64){t.msg="invalid literal/length code",r.mode=Ai;break}r.extra=T&15,r.mode=_A;case _A:if(r.extra){for(N=r.extra;f<N;){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}r.length+=h&(1<<r.extra)-1,h>>>=r.extra,f-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=AA;case AA:for(;C=r.distcode[h&(1<<r.distbits)-1],k=C>>>24,T=C>>>16&255,E=C&65535,!(k<=f);){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}if((T&240)===0){for(L=k,O=T,W=E;C=r.distcode[W+((h&(1<<L+O)-1)>>L)],k=C>>>24,T=C>>>16&255,E=C&65535,!(L+k<=f);){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}h>>>=L,f-=L,r.back+=L}if(h>>>=k,f-=k,r.back+=k,T&64){t.msg="invalid distance code",r.mode=Ai;break}r.offset=E,r.extra=T&15,r.mode=TA;case TA:if(r.extra){for(N=r.extra;f<N;){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}r.offset+=h&(1<<r.extra)-1,h>>>=r.extra,f-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=Ai;break}r.mode=LA;case LA:if(u===0)break t;if(g=y-u,r.offset>g){if(g=r.offset-g,g>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=Ai;break}g>r.wnext?(g-=r.wnext,b=r.wsize-g):b=r.wnext-g,g>r.length&&(g=r.length),v=r.window}else v=i,b=s-r.offset,g=r.length;g>u&&(g=u),u-=g,r.length-=g;do i[s++]=v[b++];while(--g);r.length===0&&(r.mode=R1);break;case EA:if(u===0)break t;i[s++]=r.length,u--,r.mode=R1;break;case mx:if(r.wrap){for(;f<32;){if(l===0)break t;l--,h|=n[a++]<<f,f+=8}if(y-=u,t.total_out+=y,r.total+=y,r.wrap&4&&y&&(t.adler=r.check=r.flags?mc(r.check,i,y,s-y):D5(r.check,i,y,s-y)),y=u,r.wrap&4&&(r.flags?h:NA(h))!==r.check){t.msg="incorrect data check",r.mode=Ai;break}h=0,f=0}r.mode=MA;
vendor: 2,773 bytes, line 199
199case MA:if(r.wrap&&r.flags){for(;f<32;){if(l===0)break t;l--,h+=n[a++]<<f,f+=8}if(r.wrap&4&&h!==(r.total&4294967295)){t.msg="incorrect length check",r.mode=Ai;break}h=0,f=0}r.mode=RA;case RA:U=TY;break t;case Ai:U=GL;break t;case YL:return VL;case XL:default:return al}return t.next_out=s,t.avail_out=u,t.next_in=a,t.avail_in=l,r.hold=h,r.bits=f,(r.wsize||y!==t.avail_out&&r.mode<Ai&&(r.mode<mx||e!==cA))&&tE(t,t.output,t.next_out,y-t.avail_out),p-=t.avail_in,y-=t.avail_out,t.total_in+=p,t.total_out+=y,r.total+=y,r.wrap&4&&y&&(t.adler=r.check=r.flags?mc(r.check,i,y,t.next_out-y):D5(r.check,i,y,t.next_out-y)),t.data_type=r.bits+(r.last?64:0)+(r.mode===du?128:0)+(r.mode===M1||r.mode===gx?256:0),(p===0&&y===0||e===cA)&&U===Ff&&(U=EY),U},DY=t=>{if(td(t))return al;let e=t.state;return e.window&&(e.window=null),t.state=null,Ff},IY=(t,e)=>{if(td(t))return al;const r=t.state;return(r.wrap&2)===0?al:(r.head=e,e.done=!1,Ff)},zY=(t,e)=>{const r=e.length;let n,i,a;return td(t)||(n=t.state,n.wrap!==0&&n.mode!==D2)?al:n.mode===D2&&(i=1,i=D5(i,e,r,0),i!==n.check)?GL:(a=tE(t,e,r,r),a?(n.mode=YL,VL):(n.havedict=1,Ff))};var FY=ZL,qY=QL,HY=KL,UY=PY,WY=JL,GY=jY,VY=DY,YY=IY,XY=zY,KY="pako inflate (from Nodeca project)",xu={inflateReset:FY,inflateReset2:qY,inflateResetKeep:HY,inflateInit:UY,inflateInit2:WY,inflate:GY,inflateEnd:VY,inflateGetHeader:YY,inflateSetDictionary:XY,inflateInfo:KY};function ZY(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var QY=ZY;const eE=Object.prototype.toString,{Z_NO_FLUSH:JY,Z_FINISH:tX,Z_OK:j0,Z_STREAM_END:vx,Z_NEED_DICT:xx,Z_STREAM_ERROR:eX,Z_DATA_ERROR:OA,Z_MEM_ERROR:rX}=FL;function om(t){this.options=qL.assign({chunkSize:1024*64,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,e.windowBits===0&&(e.windowBits=-15)),e.windowBits>=0&&e.windowBits<16&&!(t&&t.windowBits)&&(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&(e.windowBits&15)===0&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new yY,this.strm.avail_out=0;let r=xu.inflateInit2(this.strm,e.windowBits);if(r!==j0)throw new Error(I5[r]);if(this.header=new QY,xu.inflateGetHeader(this.strm,this.header),e.dictionary&&(typeof e.dictionary=="string"?e.dictionary=z5.string2buf(e.dictionary):eE.call(e.dictionary)==="[object ArrayBuffer]"&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(r=xu.inflateSetDictionary(this.strm,e.dictionary),r!==j0)))throw new Error(I5[r])}om.prototype.push=function(t,e){const r=this.strm,n=this.options.chunkSize,i=this.options.dictionary;let a,s,l;if(this.ended)return!1;for(e===~~e?s=e:s=e===!0?tX:JY,eE.call(t)==="[object ArrayBuffer]"?r.input
vendor: 9,754 bytes, line 199
199=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;){for(r.avail_out===0&&(r.output=new Uint8Array(n),r.next_out=0,r.avail_out=n),a=xu.inflate(r,s),a===xx&&i&&(a=xu.inflateSetDictionary(r,i),a===j0?a=xu.inflate(r,s):a===OA&&(a=xx));r.avail_in>0&&a===vx&&r.state.wrap>0&&t[r.next_in]!==0;)xu.inflateReset(r),a=xu.inflate(r,s);switch(a){case eX:case OA:case xx:case rX:return this.onEnd(a),this.ended=!0,!1}if(l=r.avail_out,r.next_out&&(r.avail_out===0||a===vx))if(this.options.to==="string"){let u=z5.utf8border(r.output,r.next_out),h=r.next_out-u,f=z5.buf2string(r.output,u);r.next_out=h,r.avail_out=n-h,h&&r.output.set(r.output.subarray(u,u+h),0),this.onData(f)}else this.onData(r.output.length===r.next_out?r.output:r.output.subarray(0,r.next_out));if(!(a===j0&&l===0)){if(a===vx)return a=xu.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,!0;if(r.avail_in===0)break}}return!0};om.prototype.onData=function(t){this.chunks.push(t)};om.prototype.onEnd=function(t){t===j0&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=qL.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function nX(t,e){const r=new om(e);if(r.push(t),r.err)throw r.msg||I5[r.err];return r.result}var iX=om,aX=nX,oX={Inflate:iX,inflate:aX};const{Inflate:sX,inflate:lX}=oX;var PA=sX,cX=lX;const rE=[];for(let t=0;t<256;t++){let e=t;for(let r=0;r<8;r++)e&1?e=3988292384^e>>>1:e=e>>>1;rE[t]=e}const $A=4294967295;function uX(t,e,r){let n=t;for(let i=0;i<r;i++)n=rE[(n^e[i])&255]^n>>>8;return n}function hX(t,e){return(uX($A,t,e)^$A)>>>0}function jA(t,e,r){const n=t.readUint32(),i=hX(new Uint8Array(t.buffer,t.byteOffset+t.offset-e-4,e),e);if(i!==n)throw new Error(`CRC mismatch for chunk ${r}. Expected ${n}, found ${i}`)}function nE(t,e,r){for(let n=0;n<r;n++)e[n]=t[n]}function iE(t,e,r,n){let i=0;for(;i<n;i++)e[i]=t[i];for(;i<r;i++)e[i]=t[i]+e[i-n]&255}function aE(t,e,r,n){let i=0;if(r.length===0)for(;i<n;i++)e[i]=t[i];else for(;i<n;i++)e[i]=t[i]+r[i]&255}function oE(t,e,r,n,i){let a=0;if(r.length===0){for(;a<i;a++)e[a]=t[a];for(;a<n;a++)e[a]=t[a]+(e[a-i]>>1)&255}else{for(;a<i;a++)e[a]=t[a]+(r[a]>>1)&255;for(;a<n;a++)e[a]=t[a]+(e[a-i]+r[a]>>1)&255}}function sE(t,e,r,n,i){let a=0;if(r.length===0){for(;a<i;a++)e[a]=t[a];for(;a<n;a++)e[a]=t[a]+e[a-i]&255}else{for(;a<i;a++)e[a]=t[a]+r[a]&255;for(;a<n;a++)e[a]=t[a]+fX(e[a-i],r[a],r[a-i])&255}}function fX(t,e,r){const n=t+e-r,i=Math.abs(n-t),a=Math.abs(n-e),s=Math.abs(n-r);return i<=a&&i<=s?t:a<=s?e:r}function dX(t,e,r,n,i,a){switch(t){case 0:nE(e,r,i);break;case 1:iE(e,r,i,a);break;case 2:aE(e,r,n,i);break;case 3:oE(e,r,n,i,a);break;case 4:sE(e,r,n,i,a);break;default:throw new Error(`Unsupported filter: ${t}`)}}const pX=new Uint16Array([255]),gX=new Uint8Array(pX.buffer),mX=gX[0]===255;function yX(t){const{data:e,width:r,height:n,channels:i,depth:a}=t,s=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],l=Math.ceil(a/8)*i,u=new Uint8Array(n*r*l);let h=0;for(let f=0;f<7;f++){const p=s[f],y=Math.ceil((r-p.x)/p.xStep),g=Math.ceil((n-p.y)/p.yStep);if(y<=0||g<=0)continue;const b=y*l,v=new Uint8Array(b);for(let C=0;C<g;C++){const k=e[h++],T=e.subarray(h,h+b);h+=b;const E=new Uint8Array(b);dX(k,T,E,v,b,l),v.set(E);for(let L=0;L<y;L++){const O=p.x+L*p.xStep,W=p.y+C*p.yStep;if(!(O>=r||W>=n))for(let q=0;q<l;q++)u[(W*r+O)*l+q]=E[L*l+q]}}}if(a===16){const f=new Uint16Array(u.buffer);if(mX)for(let p=0;p<f.length;p++)f[p]=bX(f[p]);return f}else return u}function bX(t){return(t&255)<<8|t>>8&255}const vX=new Uint16Array([255]),xX=new Uint8Array(vX.buffer),SX=xX[0]===255,wX=new Uint8Array(0);function DA(t){const{data:e,width:r,height:n,channels:i,depth:a}=t,s=Math.ceil(a/8)*i,l=Math.ceil(a/8*i*r),u=new Uint8Array(n*l);let h=wX,f=0,p,y;for(let g=0;g<n;g++){switch(p=e.subarray(f+1,f+1+l),y=u.subarray(g*l,(g+1)*l),e[f]){case 0:nE(p,y,l);break;case 1:iE(p,y,l,s);break;case 2:aE(p,y,h,l);break;case 3:oE(p,y,h,l,s);break;case 4:sE(p,y,h,l,s);break;default:throw new Error(`Unsupported filter: ${e[f]}`)}h=y,f+=l+1}if(a===16){const g=new Uint16Array(u.buffer);if(SX)for(let b=0;b<g.length;b++)g[b]=CX(g[b]);return g}else return u}function CX(t){return(t&255)<<8|t>>8&255}const r2=Uint8Array.of(137,80,78,71,13,10,26,10);function IA(t){if(!kX(t.readBytes(r2.length)))throw new Error("wrong PNG signature")}function kX(t){if(t.length<r2.length)return!1;for(let e=0;e<r2.length;e++)if(t[e]!==r2[e])return!1;return!0}const _X="tEXt",AX=0,lE=new TextDecoder("latin1");function TX(t){if(EX(t),t.length===0||t.length>79)throw new Error("keyword length must be between 1 and 79")}const LX=/^[\u0000-\u00FF]*$/;function EX(t){if(!LX.test(t))throw new Error("invalid latin1 text")}function MX(t,e,r){const n=cE(e);t[n]=RX(e,r-n.length-1)}function cE(t){for(t.mark();t.readByte()!==AX;);const e=t.offset;t.reset();const r=lE.decode(t.readBytes(e-t.offset-1));return t.skip(1),TX(r),r}function RX(t,e){return lE.decode(t.readBytes(e))}const xs={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},Sx={UNKNOWN:-1,DEFLATE:0},zA={UNKNOWN:-1,ADAPTIVE:0},wx={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},N1={NONE:0,BACKGROUND:1,PREVIOUS:2},Cx={SOURCE:0,OVER:1};class NX extends Nw{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(e,r={}){super(e);const{checkCrc:n=!1}=r;this._checkCrc=n,this._inflator=new PA,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=Sx.UNKNOWN,this._filterMethod=zA.UNKNOWN,this._interlaceMethod=wx.UNKNOWN,this._colorType=xs.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(IA(this);!this._end;){const e=this.readUint32(),r=this.readChars(4);this.decodeChunk(e,r)}return this.decodeImage(),this._png}decodeApng(){for(IA(this);!this._end;){const e=this.readUint32(),r=this.readChars(4);this.decodeApngChunk(e,r)}return this.decodeApngImage(),this._apng}decodeChunk(e,r){const n=this.offset;switch(r){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(e);break;case"IDAT":this.decodeIDAT(e);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(e);break;case"iCCP":this.decodeiCCP(e);break;case _X:MX(this._png.text,this,e);break;case"pHYs":this.decodepHYs();break;default:this.skip(e);break}if(this.offset-n!==e)throw new Error(`Length mismatch while decoding chunk ${r}`);this._checkCrc?jA(this,e+4,r):this.skip(4)}decodeApngChunk(e,r){const n=this.offset;switch(r!=="fdAT"&&r!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),r){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(e);break;default:this.decodeChunk(e,r),this.offset=n+e;break}if(this.offset-n!==e)throw new Error(`Length mismatch while decoding chunk ${r}`);this._checkCrc?jA(this,e+4,r):this.skip(4)}decodeIHDR(){const e=this._png;e.width=this.readUint32(),e.height=this.readUint32(),e.depth=BX(this.readUint8());const r=this.readUint8();this._colorType=r;let n;switch(r){case xs.GREYSCALE:n=1;break;case xs.TRUECOLOUR:n=3;break;case xs.INDEXED_COLOUR:n=1;break;case xs.GREYSCALE_ALPHA:n=2;break;case xs.TRUECOLOUR_ALPHA:n=4;break;case xs.UNKNOWN:default:throw new Error(`Unknown color type: ${r}`)}if(this._png.channels=n,this._compressionMethod=this.readUint8(),this._compressionMethod!==Sx.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const e={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(e)}decodePLTE(e){if(e%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${e}`);const r=e/3;this._hasPalette=!0;const n=[];this._palette=n;for(let i=0;i<r;i++)n.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(e){this._writingDataChunks=!0;const r=e,n=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,n,r)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodeFDAT(e){this._writingDataChunks=!0;let r=e,n=this.offset+this.byteOffset;if(n+=4,r-=4,this._inflator.push(new Uint8Array(this.buffer,n,r)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodetRNS(e){switch(this._colorType){case xs.GREYSCALE:case xs.TRUECOLOUR:{if(e%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${e}`);if(e/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${e/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(e/2);for(let r=0;r<e/2;r++)this._transparency[r]=this.readUint16();break}case xs.INDEXED_COLOUR:{if(e>this._palette.length)throw new Error(`tRNS chunk contains more alph
199a values than there are palette colors (${e} vs ${this._palette.length})`);let r=0;for(;r<e;r++){const n=this.readByte();this._palette[r].push(n)}for(;r<this._palette.length;r++)this._palette[r].push(255);break}case xs.UNKNOWN:case xs.GREYSCALE_ALPHA:case xs.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(e){const r=cE(this),n=this.readUint8();if(n!==Sx.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${n}`);const i=this.readBytes(e-r.length-2);this._png.iccEmbeddedProfile={name:r,profile:cX(i)}}decodepHYs(){const e=this.readUint32(),r=this.readUint32(),n=this.readByte();this._png.resolution={x:e,y:r,unit:n}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let e=0;e<this._numberOfFrames;e++){const r={sequenceNumber:this._frames[e].sequenceNumber,delayNumber:this._frames[e].delayNumber,delayDenominator:this._frames[e].delayDenominator,data:this._apng.depth===8?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},n=this._frames.at(e);if(n){if(n.data=DA({data:n.data,width:n.width,height:n.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),e===0||n.xOffset===0&&n.yOffset===0&&n.width===this._png.width&&n.height===this._png.height)r.data=n.data;else{const i=this._apng.frames.at(e-1);this.disposeFrame(n,i,r),this.addFrameDataToCanvas(r,n)}this._apng.frames.push(r)}}return this._apng}disposeFrame(e,r,n){switch(e.disposeOp){case N1.NONE:break;case N1.BACKGROUND:for(let i=0;i<this._png.height;i++)for(let a=0;a<this._png.width;a++){const s=(i*e.width+a)*this._png.channels;for(let l=0;l<this._png.channels;l++)n.data[s+l]=0}break;case N1.PREVIOUS:n.data.set(r.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(e,r){const n=1<<this._png.depth,i=(a,s)=>{const l=((a+r.yOffset)*this._png.width+r.xOffset+s)*this._png.channels,u=(a*r.width+s)*this._png.channels;return{index:l,frameIndex:u}};switch(r.blendOp){case Cx.SOURCE:for(let a=0;a<r.height;a++)for(let s=0;s<r.width;s++){const{index:l,frameIndex:u}=i(a,s);for(let h=0;h<this._png.channels;h++)e.data[l+h]=r.data[u+h]}break;case Cx.OVER:for(let a=0;a<r.height;a++)for(let s=0;s<r.width;s++){const{index:l,frameIndex:u}=i(a,s);for(let h=0;h<this._png.channels;h++){const f=r.data[u+this._png.channels-1]/n,p=h%(this._png.channels-1)===0?1:r.data[u+h],y=Math.floor(f*p+(1-f)*e.data[l+h]);e.data[l+h]+=y}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const e=this._isAnimated?(this._frames?.at(0)).data:this._inflator.result;if(this._filterMethod!==zA.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===wx.NO_INTERLACE)this._png.data=DA({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===wx.ADAM7)this._png.data=yX({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const e=this._inflator.result,r=this._frames.at(-1);r?r.data=e:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:N1.NONE,blendOp:Cx.SOURCE,data:e}),this._inflator=new PA,this._writingDataChunks=!1}}function BX(t){if(t!==1&&t!==2&&t!==4&&t!==8&&t!==16)throw new Error(`invalid bit depth: ${t}`);return t}var FA;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.METRE=1]="METRE"})(FA||(FA={}));function OX(t,e){return new NX(t,e).decode()}var Hr=(function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this})();function kx(){Hr.console&&typeof Hr.console.log=="function"&&Hr.console.log.apply(Hr.console,arguments)}var ci={log:kx,warn:function(t){Hr.console&&(typeof Hr.console.warn=="function"?Hr.console.warn.apply(Hr.console,arguments):kx.call(null,arguments))},error:function(t){Hr.console&&(typeof Hr.console.error=="function"?Hr.console.error.apply(Hr.console,arguments):kx(t))}};function _x(t,e,r){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){yf(n.response,e,r)},n.onerror=function(){ci.error("could not download file")},n.send()}function qA(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch{}return e.status>=200&&e.status<=299}function B1(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{var e=document.createEvent("MouseEvents");
vendor: 3,223 bytes, line 199
199e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var yf=Hr.saveAs||((typeof window>"u"?"undefined":Yn(window))!=="object"||window!==Hr?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(t,e,r){var n=Hr.URL||Hr.webkitURL,i=document.createElement("a");e=e||t.name||"download",i.download=e,i.rel="noopener",typeof t=="string"?(i.href=t,i.origin!==location.origin?qA(i.href)?_x(t,e,r):B1(i,i.target="_blank"):B1(i)):(i.href=n.createObjectURL(t),setTimeout(function(){n.revokeObjectURL(i.href)},4e4),setTimeout(function(){B1(i)},0))}:"msSaveOrOpenBlob"in navigator?function(t,e,r){if(e=e||t.name||"download",typeof t=="string")if(qA(t))_x(t,e,r);else{var n=document.createElement("a");n.href=t,n.target="_blank",setTimeout(function(){B1(n)})}else navigator.msSaveOrOpenBlob((function(i,a){return a===void 0?a={autoBom:!1}:Yn(a)!=="object"&&(ci.warn("Deprecated: Expected third argument to be a object"),a={autoBom:!a}),a.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(i.type)?new Blob(["\uFEFF",i],{type:i.type}):i})(t,r),e)}:function(t,e,r,n){if((n=n||open("","_blank"))&&(n.document.title=n.document.body.innerText="downloading..."),typeof t=="string")return _x(t,e,r);var i=t.type==="application/octet-stream",a=/constructor/i.test(Hr.HTMLElement)||Hr.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||i&&a)&&(typeof FileReader>"u"?"undefined":Yn(FileReader))==="object"){var l=new FileReader;l.onloadend=function(){var f=l.result;f=s?f:f.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=f:location=f,n=null},l.readAsDataURL(t)}else{var u=Hr.URL||Hr.webkitURL,h=u.createObjectURL(t);n?n.location=h:location.href=h,n=null,setTimeout(function(){u.revokeObjectURL(h)},4e4)}});function uE(t){var e;t=t||"",this.ok=!1,t.charAt(0)=="#"&&(t=t.substr(1,6)),t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee9
1990",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(l){return[parseInt(l[1]),parseInt(l[2]),parseInt(l[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(l){return[parseInt(l[1],16),parseInt(l[2],16),parseInt(l[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(l){return[parseInt(l[1]+l[1],16),parseInt(l[2]+l[2],16),parseInt(l[3]+l[3],16)]}}],n=0;n<r.length;n++){var i=r[n].re,a=r[n].process,s=i.exec(t);
vendor: 9,592 bytes, line 199
199s&&(e=a(s),this.r=e[0],this.g=e[1],this.b=e[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var l=this.r.toString(16),u=this.g.toString(16),h=this.b.toString(16);return l.length==1&&(l="0"+l),u.length==1&&(u="0"+u),h.length==1&&(h="0"+h),"#"+l+u+h}}var n2=Hr.atob.bind(Hr),HA=Hr.btoa.bind(Hr);function Ax(t,e){var r=t[0],n=t[1],i=t[2],a=t[3];r=to(r,n,i,a,e[0],7,-680876936),a=to(a,r,n,i,e[1],12,-389564586),i=to(i,a,r,n,e[2],17,606105819),n=to(n,i,a,r,e[3],22,-1044525330),r=to(r,n,i,a,e[4],7,-176418897),a=to(a,r,n,i,e[5],12,1200080426),i=to(i,a,r,n,e[6],17,-1473231341),n=to(n,i,a,r,e[7],22,-45705983),r=to(r,n,i,a,e[8],7,1770035416),a=to(a,r,n,i,e[9],12,-1958414417),i=to(i,a,r,n,e[10],17,-42063),n=to(n,i,a,r,e[11],22,-1990404162),r=to(r,n,i,a,e[12],7,1804603682),a=to(a,r,n,i,e[13],12,-40341101),i=to(i,a,r,n,e[14],17,-1502002290),r=eo(r,n=to(n,i,a,r,e[15],22,1236535329),i,a,e[1],5,-165796510),a=eo(a,r,n,i,e[6],9,-1069501632),i=eo(i,a,r,n,e[11],14,643717713),n=eo(n,i,a,r,e[0],20,-373897302),r=eo(r,n,i,a,e[5],5,-701558691),a=eo(a,r,n,i,e[10],9,38016083),i=eo(i,a,r,n,e[15],14,-660478335),n=eo(n,i,a,r,e[4],20,-405537848),r=eo(r,n,i,a,e[9],5,568446438),a=eo(a,r,n,i,e[14],9,-1019803690),i=eo(i,a,r,n,e[3],14,-187363961),n=eo(n,i,a,r,e[8],20,1163531501),r=eo(r,n,i,a,e[13],5,-1444681467),a=eo(a,r,n,i,e[2],9,-51403784),i=eo(i,a,r,n,e[7],14,1735328473),r=ro(r,n=eo(n,i,a,r,e[12],20,-1926607734),i,a,e[5],4,-378558),a=ro(a,r,n,i,e[8],11,-2022574463),i=ro(i,a,r,n,e[11],16,1839030562),n=ro(n,i,a,r,e[14],23,-35309556),r=ro(r,n,i,a,e[1],4,-1530992060),a=ro(a,r,n,i,e[4],11,1272893353),i=ro(i,a,r,n,e[7],16,-155497632),n=ro(n,i,a,r,e[10],23,-1094730640),r=ro(r,n,i,a,e[13],4,681279174),a=ro(a,r,n,i,e[0],11,-358537222),i=ro(i,a,r,n,e[3],16,-722521979),n=ro(n,i,a,r,e[6],23,76029189),r=ro(r,n,i,a,e[9],4,-640364487),a=ro(a,r,n,i,e[12],11,-421815835),i=ro(i,a,r,n,e[15],16,530742520),r=no(r,n=ro(n,i,a,r,e[2],23,-995338651),i,a,e[0],6,-198630844),a=no(a,r,n,i,e[7],10,1126891415),i=no(i,a,r,n,e[14],15,-1416354905),n=no(n,i,a,r,e[5],21,-57434055),r=no(r,n,i,a,e[12],6,1700485571),a=no(a,r,n,i,e[3],10,-1894986606),i=no(i,a,r,n,e[10],15,-1051523),n=no(n,i,a,r,e[1],21,-2054922799),r=no(r,n,i,a,e[8],6,1873313359),a=no(a,r,n,i,e[15],10,-30611744),i=no(i,a,r,n,e[6],15,-1560198380),n=no(n,i,a,r,e[13],21,1309151649),r=no(r,n,i,a,e[4],6,-145523070),a=no(a,r,n,i,e[11],10,-1120210379),i=no(i,a,r,n,e[2],15,718787259),n=no(n,i,a,r,e[9],21,-343485551),t[0]=_h(r,t[0]),t[1]=_h(n,t[1]),t[2]=_h(i,t[2]),t[3]=_h(a,t[3])}function Zy(t,e,r,n,i,a){return e=_h(_h(e,t),_h(n,a)),_h(e<<i|e>>>32-i,r)}function to(t,e,r,n,i,a,s){return Zy(e&r|~e&n,t,e,i,a,s)}function eo(t,e,r,n,i,a,s){return Zy(e&n|r&~n,t,e,i,a,s)}function ro(t,e,r,n,i,a,s){return Zy(e^r^n,t,e,i,a,s)}function no(t,e,r,n,i,a,s){return Zy(r^(e|~n),t,e,i,a,s)}function hE(t){var e,r=t.length,n=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;e+=64)Ax(n,PX(t.substring(e-64,e)));t=t.substring(e-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<t.length;e++)i[e>>2]|=t.charCodeAt(e)<<(e%4<<3);if(i[e>>2]|=128<<(e%4<<3),e>55)for(Ax(n,i),e=0;e<16;e++)i[e]=0;return i[14]=8*r,Ax(n,i),n}function PX(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return r}var UA="0123456789abcdef".split("");function $X(t){for(var e="",r=0;r<4;r++)e+=UA[t>>8*r+4&15]+UA[t>>8*r&15];return e}function jX(t){return String.fromCharCode(255&t,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function F5(t){return hE(t).map(jX).join("")}var DX=(function(t){for(var e=0;e<t.length;e++)t[e]=$X(t[e]);return t.join("")})(hE("hello"))!="5d41402abc4b2a76b9719d911017c592";function _h(t,e){if(DX){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}return t+e&4294967295}function q5(t,e){var r,n,i,a;if(t!==r){for(var s=(i=t,a=1+(256/t.length|0),new Array(a+1).join(i)),l=[],u=0;u<256;u++)l[u]=u;var h=0;for(u=0;u<256;u++){var f=l[u];h=(h+f+s.charCodeAt(u))%256,l[u]=l[h],l[h]=f}r=t,n=l}else l=n;var p=e.length,y=0,g=0,b="";for(u=0;u<p;u++)g=(g+(f=l[y=(y+1)%256]))%256,l[y]=l[g],l[g]=f,s=l[(l[y]+l[g])%256],b+=String.fromCharCode(e.charCodeAt(u)^s);return b}var WA={print:4,modify:8,copy:16,"annot-forms":32};function tp(t,e,r,n){this.v=1,this.r=2;var i=192;t.forEach(function(l){if(WA.perm!==void 0)throw new Error("Invalid permission: "+l);i+=WA[l]}),this.padding="(¿N^NuŠAd\0NVÿú�\b..\0¶Ðh>€/\f©þdSiz";var a=(e+this.padding).substr(0,32),s=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(a,s),this.P=-(1+(255^i)),this.encryptionKey=F5(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=q5(this.encryptionKey,this.padding)}function ep(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var e="",r=t.length,n=0;n<r;n++){var i=t.charCodeAt(n);e+=i<33||i===35||i===37||i===40||i===41||i===47||i===60||i===62||i===91||i===93||i===123||i===125||i>126?"#"+("0"+i.toString(16)).slice(-2):t[n]}return e}function GA(t){if(Yn(t)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var e={};this.subscribe=function(r,n,i){if(i=i||!1,typeof r!="string"||typeof n!="function"||typeof i!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");e.hasOwnProperty(r)||(e[r]={});var a=Math.random().toString(35);return e[r][a]=[n,!!i],a},this.unsubscribe=function(r){for(var n in e)if(e[n][r])return delete e[n][r],Object.keys(e[n]).length===0&&delete e[n],!0;return!1},this.publish=function(r){if(e.hasOwnProperty(r)){var n=Array.prototype.slice.call(arguments,1),i=[];for(var a in e[r]){var s=e[r][a];try{s[0].apply(t,n)}catch(l){Hr.console&&ci.error("jsPDF PubSub Error",l.message,l)}s[1]&&i.push(a)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return e}}function I2(t){if(!(this instanceof I2))return new I2(t);var e="opacity,stroke-opacity".split(",");for(var r in t)t.hasOwnProperty(r)&&e.indexOf(r)>=0&&(this[r]=t[r]);this.id="",this.objectNumber=-1}function fE(t,e){this.gState=t,this.matrix=e,this.id="",this.objectNumber=-1}function Sf(t,e,r,n,i){if(!(this instanceof Sf))return new Sf(t,e,r,n,i);this.type=t==="axial"?2:3,this.coords=e,this.colors=r,fE.call(this,n,i)}function ap(t,e,r,n,i){if(!(this instanceof ap))return new ap(t,e,r,n,i);this.boundingBox=t,this.xStep=e,this.yStep=r,this.stream="",this.cloneIndex=0,fE.call(this,n,i)}function cr(t){var e,r=typeof arguments[0]=="string"?arguments[0]:"p",n=arguments[1],i=arguments[2],a=arguments[3],s=[],l=1,u=16,h="S",f=null;Yn(t=t||{})==="object"&&(r=t.orientation,n=t.unit||n,i=t.format||i,a=t.compress||t.compressPdf||a,(f=t.encryption||null)!==null&&(f.userPassword=f.userPassword||"",f.ownerPassword=f.ownerPassword||"",f.userPermissions=f.userPermissions||[]),l=typeof t.userUnit=="number"?Math.abs(t.userUnit):1,t.precision!==void 0&&(e=t.precision),t.floatPrecision!==void 0&&(u=t.floatPrecision),h=t.defaultPathOperation||"S"),s=t.filters||(a===!0?["FlateEncode"]:s),n=n||"mm",r=(""+(r||"P")).toLowerCase();var p=t.putOnlyUsedFonts||!1,y={},g={internal:{},__private__:{}};g.__private__.PubSub=GA;var b="1.3",v=g.__private__.getPdfVersion=function(){return b};g.__private__.setPdfVersion=function(R){b=R};var C={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};g.__private__.getPageFormats=function(){return C};var k=g.__private__.getPageFormat=function(R){return C[R]};i=i||"a4";var T="compat",E="advanced",L=T;function O(){this.saveGraphicsState(),at(new ee(Ae,0,0,-Ae,0,us()*Ae).toString()+" cm"),this.setFontSize(this.getFontSize()/Ae),h="n",L=E}function W(){this.restoreGraphicsState(),h="S",L=T}var q=g.__private__.combineFontStyleAndFontWeight=function(R,J){if(R=="bold"&&J=="normal"||R=="bold"&&J==400||R=="normal"&&J=="italic"||R=="bold"&&J=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return J&&(R=J==400||J==="normal"?R==="italic"?"italic":"normal":J!=700&&J!=="bold"||R!=="normal"?(J==700?"bold":J)+""+R:"bold"),R};g.advancedAPI=function(R){var J=L===T;return J&&O.call(this),typeof R!="function"||(R(this),J&&W.call(this)),this},g.compatAPI=function(R){var J=L===E;return J&&W.call(this),typeof R!="function"||(R(this),J&&O.call(this)),this},g.isAdvancedAPI=function(){return L===E};var U,j=function(R){if(L!==E)throw new Error(R+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},M=g.roundToPrecision=g.__private__.roundToPrecision=function(R,J){var pt=e||J;if(isNaN(R)||isNaN(pt))throw new Error("Invalid argument passed to 
199jsPDF.roundToPrecision");return R.toFixed(pt).replace(/0+$/,"")};U=g.hpf=g.__private__.hpf=typeof u=="number"?function(R){if(isNaN(R))throw new Error("Invalid argument passed to jsPDF.hpf");return M(R,u)}:u==="smart"?function(R){if(isNaN(R))throw new Error("Invalid argument passed to jsPDF.hpf");return M(R,R>-1&&R<1?16:5)}:function(R){if(isNaN(R))throw new Error("Invalid argument passed to jsPDF.hpf");return M(R,16)};var N=g.f2=g.__private__.f2=function(R){if(isNaN(R))throw new Error("Invalid argument passed to jsPDF.f2");return M(R,2)},I=g.__private__.f3=function(R){if(isNaN(R))throw new Error("Invalid argument passed to jsPDF.f3");return M(R,3)},V=g.scale=g.__private__.scale=function(R){if(isNaN(R))throw new Error("Invalid argument passed to jsPDF.scale");return L===T?R*Ae:L===E?R:void 0},z=function(R){return V((function(J){return L===T?us()-J:L===E?J:void 0})(R))};g.__private__.setPrecision=g.setPrecision=function(R){typeof parseInt(R,10)=="number"&&(e=parseInt(R,10))};var Y,D="00000000000000000000000000000000",Z=g.__private__.getFileId=function(){return D},Q=g.__private__.setFileId=function(R){return D=R!==void 0&&/^[a-fA-F0-9]{32}$/.test(R)?R.toUpperCase():D.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),f!==null&&(fi=new tp(f.userPermissions,f.userPassword,f.ownerPassword,D)),D};g.setFileId=function(R){return Q(R),this},g.getFileId=function(){return Z()};var it=g.__private__.convertDateToPDFDate=function(R){var J=R.getTimezoneOffset(),pt=J<0?"+":"-",_t=Math.floor(Math.abs(J/60)),gt=Math.abs(J%60),xt=[pt,et(_t),"'",et(gt),"'"].join("");return["D:",R.getFullYear(),et(R.getMonth()+1),et(R.getDate()),et(R.getHours()),et(R.getMinutes()),et(R.getSeconds()),xt].join("")},mt=g.__private__.convertPDFDateToDate=function(R){var J=parseInt(R.substr(2,4),10),pt=parseInt(R.substr(6,2),10)-1,_t=parseInt(R.substr(8,2),10),gt=parseInt(R.substr(10,2),10),xt=parseInt(R.substr(12,2),10),Tt=parseInt(R.substr(14,2),10);return new Date(J,pt,_t,gt,xt,Tt,0)},K=g.__private__.setCreationDate=function(R){var J;if(R===void 0&&(R=new Date),R instanceof Date)J=it(R);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(R))throw new Error("Invalid argument passed to jsPDF.setCreationDate");J=R}return Y=J},P=g.__private__.getCreationDate=function(R){var J=Y;return R==="jsDate"&&(J=mt(Y)),J};g.setCreationDate=function(R){return K(R),this},g.getCreationDate=function(R){return P(R)};var X,et=g.__private__.padd2=function(R){return("0"+parseInt(R)).slice(-2)},rt=g.__private__.padd2Hex=function(R){return("00"+(R=R.toString())).substr(R.length)},lt=0,ht=[],bt=[],yt=0,kt=[],Rt=[],wt=!1,qt=bt;g.__private__.setCustomOutputDestination=function(R){wt=!0,qt=R};var Ht=function(R){wt||(qt=R)};g.__private__.resetCustomOutputDestination=function(){wt=!1,qt=bt};var at=g.__private__.out=function(R){return R=R.toString(),yt+=R.length+1,qt.push(R),qt},ae=g.__private__.write=function(R){return at(arguments.length===1?R.toString():Array.prototype.join.call(arguments," "))},Kt=g.__private__.getArrayBuffer=function(R){for(var J=R.length,pt=new ArrayBuffer(J),_t=new Uint8Array(pt);J--;)_t[J]=R.charCodeAt(J);return pt},le=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];g.__private__.getStandardFonts=function(){return le};var Ot=t.fontSize||16;g.__private__.setFontSize=g.setFontSize=function(R){return Ot=L===E?R/Ae:R,this};var be,Nt=g.__private__.getFontSize=g.getFontSize=function(){return L===T?Ot:Ot*Ae},Dt=t.R2L||!1;g.__private__.setR2L=g.setR2L=function(R){return Dt=R,this},g.__private__.getR2L=g.getR2L=function(){return Dt};var Vt,de=g.__private__.setZoomMode=function(R){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(R))be=R;else if(isNaN(R)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(R)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+R+'" is not recognized.');be=R}else be=parseInt(R,10)};g.__private__.getZoomMode=function(){return be};var Be,_e=g.__private__.setPageMode=function(R){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(R)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+R+'" is not recognized.');Vt=R};g.__private__.getPageMode=function(){return Vt};var Ne=g.__private__.setLayoutMode=function(R){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(R)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+R+'" is not recognized.');Be=R};g.__private__.getLayoutMode=function(){return Be},g.__private__.setDisplayMode=g.setDisplayMode=function(R,J,pt){return de(R),Ne(J),_e(pt),this};var Oe={title:"",subject:"",author:"",keywords:"",creator:""};g.__private__.getDocumentProperty=function(R){if(Object.keys(Oe).indexOf(R)===-1)throw new Error("Invalid argument passed to 
199jsPDF.getDocumentProperty");return Oe[R]},g.__private__.getDocumentProperties=function(){return Oe},g.__private__.setDocumentProperties=g.setProperties=g.setDocumentProperties=function(R){for(var J in Oe)Oe.hasOwnProperty(J)&&R[J]&&(Oe[J]=R[J]);return this},g.__private__.setDocumentProperty=function(R,J){if(Object.keys(Oe).indexOf(R)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Oe[R]=J};var we,Ae,ce,Er,He,Jt={},Se={},Pe=[],je={},Et={},fe={},te={},Ze=null,Ge=0,Me=[],lr=new GA(g),Sn=t.hotfixes||[],Xt={},me={},Br=[],ee=function R(J,pt,_t,gt,xt,Tt){if(!(this instanceof R))return new R(J,pt,_t,gt,xt,Tt);isNaN(J)&&(J=1),isNaN(pt)&&(pt=0),isNaN(_t)&&(_t=0),isNaN(gt)&&(gt=1),isNaN(xt)&&(xt=0),isNaN(Tt)&&(Tt=0),this._matrix=[J,pt,_t,gt,xt,Tt]};Object.defineProperty(ee.prototype,"sx",{get:function(){return this._matrix[0]},set:function(R){this._matrix[0]=R}}),Object.defineProperty(ee.prototype,"shy",{get:function(){return this._matrix[1]},set:function(R){this._matrix[1]=R}}),Object.defineProperty(ee.prototype,"shx",{get:function(){return this._matrix[2]},set:function(R){this._matrix[2]=R}}),Object.defineProperty(ee.prototype,"sy",{get:function(){return this._matrix[3]},set:function(R){this._matrix[3]=R}}),Object.defineProperty(ee.prototype,"tx",{get:function(){return this._matrix[4]},set:function(R){this._matrix[4]=R}}),Object.defineProperty(ee.prototype,"ty",{get:function(){return this._matrix[5]},set:function(R){this._matrix[5]=R}}),Object.defineProperty(ee.prototype,"a",{get:function(){return this._matrix[0]},set:function(R){this._matrix[0]=R}}),Object.defineProperty(ee.prototype,"b",{get:function(){return this._matrix[1]},set:function(R){this._matrix[1]=R}}),Object.defineProperty(ee.prototype,"c",{get:function(){return this._matrix[2]},set:function(R){this._matrix[2]=R}}),Object.defineProperty(ee.prototype,"d",{get:function(){return this._matrix[3]},set:function(R){this._matrix[3]=R}}),Object.defineProperty(ee.prototype,"e",{get:function(){return this._matrix[4]},set:function(R){this._matrix[4]=R}}),Object.defineProperty(ee.prototype,"f",{get:function(){return this._matrix[5]},set:function(R){this._matrix[5]=R}}),Object.defineProperty(ee.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(ee.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(ee.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(ee.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),ee.prototype.join=function(R){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(U).join(R)},ee.prototype.multiply=function(R){var J=R.sx*this.sx+R.shy*this.shx,pt=R.sx*this.shy+R.shy*this.sy,_t=R.shx*this.sx+R.sy*this.shx,gt=R.shx*this.shy+R.sy*this.sy,xt=R.tx*this.sx+R.ty*this.shx+this.tx,Tt=R.tx*this.shy+R.ty*this.sy+this.ty;return new ee(J,pt,_t,gt,xt,Tt)},ee.prototype.decompose=function(){var R=this.sx,J=this.shy,pt=this.shx,_t=this.sy,gt=this.tx,xt=this.ty,Tt=Math.sqrt(R*R+J*J),ue=(R/=Tt)*pt+(J/=Tt)*_t;pt-=R*ue,_t-=J*ue;var Le=Math.sqrt(pt*pt+_t*_t);return ue/=Le,R*(_t/=Le)<J*(pt/=Le)&&(R=-R,J=-J,ue=-ue,Tt=-Tt),{scale:new ee(Tt,0,0,Le,0,0),translate:new ee(1,0,0,1,gt,xt),rotate:new ee(R,J,-J,R,0,0),skew:new ee(1,0,ue,1,0,0)}},ee.prototype.toString=function(R){return this.join(" ")},ee.prototype.inversed=function(){var R=this.sx,J=this.shy,pt=this.shx,_t=this.sy,gt=this.tx,xt=this.ty,Tt=1/(R*_t-J*pt),ue=_t*Tt,Le=-J*Tt,$e=-pt*Tt,De=R*Tt;return new ee(ue,Le,$e,De,-ue*gt-$e*xt,-Le*gt-De*xt)},ee.prototype.applyToPoint=function(R){var J=R.x*this.sx+R.y*this.shx+this.tx,pt=R.x*this.shy+R.y*this.sy+this.ty;return new On(J,pt)},ee.prototype.applyToRectangle=function(R){var J=this.applyToPoint(R),pt=this.applyToPoint(new On(R.x+R.w,R.y+R.h));return new ka(J.x,J.y,pt.x-J.x,pt.y-J.y)},ee.prototype.clone=function(){var R=this.sx,J=this.shy,pt=this.shx,_t=this.sy,gt=this.tx,xt=this.ty;return new ee(R,J,pt,_t,gt,xt)},g.Matrix=ee;var ze=g.matrixMult=function(R,J){return J.multiply(R)},br=new ee(1,0,0,1,0,0);g.unitMatrix=g.identityMatrix=br;var rr=function(R,J){if(!Et[R]){var pt=(J instanceof Sf?"Sh":"P")+(Object.keys(je).length+1).toString(10);J.id=pt,Et[R]=pt,je[pt]=J,lr.publish("addPattern",J)}};g.ShadingPattern=Sf,g.TilingPattern=ap,g.addShadingPattern=function(R,J){return j("addShadingPattern()"),rr(R,J),this},g.beginTilingPattern=function(R){j("beginTilingPattern()"),js(R.boundingBox[0],R.boundingBox[1],R.boundingBox[2]-R.boundingBox[0],R.boundingBox[3]-R.boundingBox[1],R.matrix
vendor: 20,176 bytes, lines 199-205
199)},g.endTilingPattern=function(R,J){j("endTilingPattern()"),J.stream=Rt[X].join(`
200`),rr(R,J),lr.publish("endTilingPattern",J),Br.pop().restore()};var jr,vr=g.__private__.newObject=function(){var R=Fr();return Or(R,!0),R},Fr=g.__private__.newObjectDeferred=function(){return lt++,ht[lt]=function(){return yt},lt},Or=function(R,J){return J=typeof J=="boolean"&&J,ht[R]=yt,J&&at(R+" 0 obj"),R},dn=g.__private__.newAdditionalObject=function(){var R={objId:Fr(),content:""};return kt.push(R),R},Dr=Fr(),mr=Fr(),Cr=g.__private__.decodeColorString=function(R){var J=R.split(" ");if(J.length!==2||J[1]!=="g"&&J[1]!=="G")J.length!==5||J[4]!=="k"&&J[4]!=="K"||(J=[(1-J[0])*(1-J[3]),(1-J[1])*(1-J[3]),(1-J[2])*(1-J[3]),"r"]);else{var pt=parseFloat(J[0]);J=[pt,pt,pt,"r"]}for(var _t="#",gt=0;gt<3;gt++)_t+=("0"+Math.floor(255*parseFloat(J[gt])).toString(16)).slice(-2);return _t},Rr=g.__private__.encodeColorString=function(R){var J;typeof R=="string"&&(R={ch1:R});var pt=R.ch1,_t=R.ch2,gt=R.ch3,xt=R.ch4,Tt=R.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof pt=="string"&&pt.charAt(0)!=="#"){var ue=new uE(pt);if(ue.ok)pt=ue.toHex();else if(!/^\d*\.?\d*$/.test(pt))throw new Error('Invalid color "'+pt+'" passed to jsPDF.encodeColorString.')}if(typeof pt=="string"&&/^#[0-9A-Fa-f]{3}$/.test(pt)&&(pt="#"+pt[1]+pt[1]+pt[2]+pt[2]+pt[3]+pt[3]),typeof pt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(pt)){var Le=parseInt(pt.substr(1),16);pt=Le>>16&255,_t=Le>>8&255,gt=255&Le}if(_t===void 0||xt===void 0&&pt===_t&&_t===gt)J=typeof pt=="string"?pt+" "+Tt[0]:R.precision===2?N(pt/255)+" "+Tt[0]:I(pt/255)+" "+Tt[0];else if(xt===void 0||Yn(xt)==="object"){if(xt&&!isNaN(xt.a)&&xt.a===0)return["1.","1.","1.",Tt[1]].join(" ");J=typeof pt=="string"?[pt,_t,gt,Tt[1]].join(" "):R.precision===2?[N(pt/255),N(_t/255),N(gt/255),Tt[1]].join(" "):[I(pt/255),I(_t/255),I(gt/255),Tt[1]].join(" ")}else J=typeof pt=="string"?[pt,_t,gt,xt,Tt[2]].join(" "):R.precision===2?[N(pt),N(_t),N(gt),N(xt),Tt[2]].join(" "):[I(pt),I(_t),I(gt),I(xt),Tt[2]].join(" ");return J},Wt=g.__private__.getFilters=function(){return s},Gt=g.__private__.putStream=function(R){var J=(R=R||{}).data||"",pt=R.filters||Wt(),_t=R.alreadyAppliedFilters||[],gt=R.addLength1||!1,xt=J.length,Tt=R.objectId,ue=function(ni){return ni};if(f!==null&&Tt===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");f!==null&&(ue=fi.encryptor(Tt,0));var Le={};pt===!0&&(pt=["FlateEncode"]);var $e=R.additionalKeyValues||[],De=(Le=cr.API.processDataByFilters!==void 0?cr.API.processDataByFilters(J,pt):{data:J,reverseChain:[]}).reverseChain+(Array.isArray(_t)?_t.join(" "):_t.toString());if(Le.data.length!==0&&($e.push({key:"Length",value:Le.data.length}),gt===!0&&$e.push({key:"Length1",value:xt})),De.length!=0)if(De.split("/").length-1==1)$e.push({key:"Filter",value:De});else{$e.push({key:"Filter",value:"["+De+"]"});for(var Gr=0;Gr<$e.length;Gr+=1)if($e[Gr].key==="DecodeParms"){for(var zn=[],Kn=0;Kn<Le.reverseChain.split("/").length-1;Kn+=1)zn.push("null");zn.push($e[Gr].value),$e[Gr].value="["+zn.join(" ")+"]"}}at("<<");for(var Cn=0;Cn<$e.length;Cn++)at("/"+$e[Cn].key+" "+$e[Cn].value);at(">>"),Le.data.length!==0&&(at("stream"),at(ue(Le.data)),at("endstream"))},Re=g.__private__.putPage=function(R){var J=R.number,pt=R.data,_t=R.objId,gt=R.contentsObjId;Or(_t,!0),at("<</Type /Page"),at("/Parent "+R.rootDictionaryObjId+" 0 R"),at("/Resources "+R.resourceDictionaryObjId+" 0 R"),at("/MediaBox ["+parseFloat(U(R.mediaBox.bottomLeftX))+" "+parseFloat(U(R.mediaBox.bottomLeftY))+" "+U(R.mediaBox.topRightX)+" "+U(R.mediaBox.topRightY)+"]"),R.cropBox!==null&&at("/CropBox ["+U(R.cropBox.bottomLeftX)+" "+U(R.cropBox.bottomLeftY)+" "+U(R.cropBox.topRightX)+" "+U(R.cropBox.topRightY)+"]"),R.bleedBox!==null&&at("/BleedBox ["+U(R.bleedBox.bottomLeftX)+" "+U(R.bleedBox.bottomLeftY)+" "+U(R.bleedBox.topRightX)+" "+U(R.bleedBox.topRightY)+"]"),R.trimBox!==null&&at("/TrimBox ["+U(R.trimBox.bottomLeftX)+" "+U(R.trimBox.bottomLeftY)+" "+U(R.trimBox.topRightX)+" "+U(R.trimBox.topRightY)+"]"),R.artBox!==null&&at("/ArtBox ["+U(R.artBox.bottomLeftX)+" "+U(R.artBox.bottomLeftY)+" "+U(R.artBox.topRightX)+" "+U(R.artBox.topRightY)+"]"),typeof R.userUnit=="number"&&R.userUnit!==1&&at("/UserUnit "+R.userUnit),lr.publish("putPage",{objId:_t,pageContext:Me[J],pageNumber:J,page:pt}),at("/Contents "+gt+" 0 R"),at(">>"),at("endobj");var xt=pt.join(`
201`);return L===E&&(xt+=`
202Q`),Or(gt,!0),Gt({data:xt,filters:Wt(),objectId:gt}),at("endobj"),_t},Ke=g.__private__.putPages=function(){var R,J,pt=[];for(R=1;R<=Ge;R++)Me[R].objId=Fr(),Me[R].contentsObjId=Fr();for(R=1;R<=Ge;R++)pt.push(Re({number:R,data:Rt[R],objId:Me[R].objId,contentsObjId:Me[R].contentsObjId,mediaBox:Me[R].mediaBox,cropBox:Me[R].cropBox,bleedBox:Me[R].bleedBox,trimBox:Me[R].trimBox,artBox:Me[R].artBox,userUnit:Me[R].userUnit,rootDictionaryObjId:Dr,resourceDictionaryObjId:mr}));Or(Dr,!0),at("<</Type /Pages");var _t="/Kids [";for(J=0;J<Ge;J++)_t+=pt[J]+" 0 R ";at(_t+"]"),at("/Count "+Ge),at(">>"),at("endobj"),lr.publish("postPutPages")},ge=function(R){lr.publish("putFont",{font:R,out:at,newObject:vr,putStream:Gt}),R.isAlreadyPutted!==!0&&(R.objectNumber=vr(),at("<<"),at("/Type /Font"),at("/BaseFont /"+ep(R.postScriptName)),at("/Subtype /Type1"),typeof R.encoding=="string"&&at("/Encoding /"+R.encoding),at("/FirstChar 32"),at("/LastChar 255"),at(">>"),at("endobj"))},vt=function(R){R.objectNumber=vr();var J=[];J.push({key:"Type",value:"/XObject"}),J.push({key:"Subtype",value:"/Form"}),J.push({key:"BBox",value:"["+[U(R.x),U(R.y),U(R.x+R.width),U(R.y+R.height)].join(" ")+"]"}),J.push({key:"Matrix",value:"["+R.matrix.toString()+"]"});var pt=R.pages[1].join(`
203`);Gt({data:pt,additionalKeyValues:J,objectId:R.objectNumber}),at("endobj")},Zt=function(R,J){J||(J=21);var pt=vr(),_t=(function(Tt,ue){var Le,$e=[],De=1/(ue-1);for(Le=0;Le<1;Le+=De)$e.push(Le);if($e.push(1),Tt[0].offset!=0){var Gr={offset:0,color:Tt[0].color};Tt.unshift(Gr)}if(Tt[Tt.length-1].offset!=1){var zn={offset:1,color:Tt[Tt.length-1].color};Tt.push(zn)}for(var Kn="",Cn=0,ni=0;ni<$e.length;ni++){for(Le=$e[ni];Le>Tt[Cn+1].offset;)Cn++;var xi=Tt[Cn].offset,Gi=(Le-xi)/(Tt[Cn+1].offset-xi),gl=Tt[Cn].color,hs=Tt[Cn+1].color;Kn+=rt(Math.round((1-Gi)*gl[0]+Gi*hs[0]).toString(16))+rt(Math.round((1-Gi)*gl[1]+Gi*hs[1]).toString(16))+rt(Math.round((1-Gi)*gl[2]+Gi*hs[2]).toString(16))}return Kn.trim()})(R.colors,J),gt=[];gt.push({key:"FunctionType",value:"0"}),gt.push({key:"Domain",value:"[0.0 1.0]"}),gt.push({key:"Size",value:"["+J+"]"}),gt.push({key:"BitsPerSample",value:"8"}),gt.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),gt.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Gt({data:_t,additionalKeyValues:gt,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:pt}),at("endobj"),R.objectNumber=vr(),at("<< /ShadingType "+R.type),at("/ColorSpace /DeviceRGB");var xt="/Coords ["+U(parseFloat(R.coords[0]))+" "+U(parseFloat(R.coords[1]))+" ";R.type===2?xt+=U(parseFloat(R.coords[2]))+" "+U(parseFloat(R.coords[3])):xt+=U(parseFloat(R.coords[2]))+" "+U(parseFloat(R.coords[3]))+" "+U(parseFloat(R.coords[4]))+" "+U(parseFloat(R.coords[5])),at(xt+="]"),R.matrix&&at("/Matrix ["+R.matrix.toString()+"]"),at("/Function "+pt+" 0 R"),at("/Extend [true true]"),at(">>"),at("endobj")},St=function(R,J){var pt=Fr(),_t=vr();J.push({resourcesOid:pt,objectOid:_t}),R.objectNumber=_t;var gt=[];gt.push({key:"Type",value:"/Pattern"}),gt.push({key:"PatternType",value:"1"}),gt.push({key:"PaintType",value:"1"}),gt.push({key:"TilingType",value:"1"}),gt.push({key:"BBox",value:"["+R.boundingBox.map(U).join(" ")+"]"}),gt.push({key:"XStep",value:U(R.xStep)}),gt.push({key:"YStep",value:U(R.yStep)}),gt.push({key:"Resources",value:pt+" 0 R"}),R.matrix&&gt.push({key:"Matrix",value:"["+R.matrix.toString()+"]"}),Gt({data:R.stream,additionalKeyValues:gt,objectId:R.objectNumber}),at("endobj")},ke=function(R){for(var J in R.objectNumber=vr(),at("<<"),R)switch(J){case"opacity":at("/ca "+N(R[J]));break;case"stroke-opacity":at("/CA "+N(R[J]))}at(">>"),at("endobj")},zr=function(R){Or(R.resourcesOid,!0),at("<<"),at("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),(function(){for(var J in at("/Font <<"),Jt)Jt.hasOwnProperty(J)&&(p===!1||p===!0&&y.hasOwnProperty(J))&&at("/"+J+" "+Jt[J].objectNumber+" 0 R");at(">>")})(),(function(){if(Object.keys(je).length>0){for(var J in at("/Shading <<"),je)je.hasOwnProperty(J)&&je[J]instanceof Sf&&je[J].objectNumber>=0&&at("/"+J+" "+je[J].objectNumber+" 0 R");lr.publish("putShadingPatternDict"),at(">>")}})(),(function(J){if(Object.keys(je).length>0){for(var pt in at("/Pattern <<"),je)je.hasOwnProperty(pt)&&je[pt]instanceof g.TilingPattern&&je[pt].objectNumber>=0&&je[pt].objectNumber<J&&at("/"+pt+" "+je[pt].objectNumber+" 0 R");lr.publish("putTilingPatternDict"),at(">>")}})(R.objectOid),(function(){if(Object.keys(fe).length>0){var J;for(J in at("/ExtGState <<"),fe)fe.hasOwnProperty(J)&&fe[J].objectNumber>=0&&at("/"+J+" "+fe[J].objectNumber+" 0 R");lr.publish("putGStateDict"),at(">>")}})(),(function(){for(var J in at("/XObject <<"),Xt)Xt.hasOwnProperty(J)&&Xt[J].objectNumber>=0&&at("/"+J+" "+Xt[J].objectNumber+" 0 R");lr.publish("putXobjectDict"),at(">>")})(),at(">>"),at("endobj")},Je=function(R){Se[R.fontName]=Se[R.fontName]||{},Se[R.fontName][R.fontStyle]=R.id},an=function(R,J,pt,_t,gt){var xt={id:"F"+(Object.keys(Jt).length+1).toString(10),postScriptName:R,fontName:J,fontStyle:pt,encoding:_t,isStandardFont:gt||!1,metadata:{}};return lr.publish("addFont",{font:xt,instance:this}),Jt[xt.id]=xt,Je(xt),xt.id},Wr=g.__private__.pdfEscape=g.pdfEscape=function(R,J){return(function(pt,_t){var gt,xt,Tt,ue,Le,$e,De,Gr,zn;if(Tt=(_t=_t||{}).sourceEncoding||"Unicode",Le=_t.outputEncoding,(_t.autoencode||Le)&&Jt[we].metadata&&Jt[we].metadata[Tt]&&Jt[we].metadata[Tt].encoding&&(ue=Jt[we].metadata[Tt].encoding,!Le&&Jt[we].encoding&&(Le=Jt[we].encoding),!Le&&ue.codePages&&(Le=ue.codePages[0]),typeof Le=="string"&&(Le=ue[Le]),Le)){for(De=!1,$e=[],gt=0,xt=pt.length;gt<xt;gt++)(Gr=Le[pt.charCodeAt(gt)])?$e.push(String.fromCharCode(Gr)):$e.push(pt[gt]),$e[gt].charCodeAt(0)>>8&&(De=!0);pt=$e.join("")}for(gt=pt.length;De===void 0&&gt!==0;)pt.charCodeAt(gt-1)>>8&&(De=!0),gt--;if(!De)return pt;for($e=_t.noBOM?[]:[254,255],gt=0,xt=pt.length;gt<xt;gt++){if((zn=(Gr=pt.charCodeAt(gt))>>8)>>8)throw new Error("Character at position "+gt+" of string '"+pt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");$e.push(zn),$e.push(Gr-(zn<<8))}return String.fromCharCode.apply(void 0,$e)})(R,J).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},tr=g.__private__.beginPage=function(R){Rt[++Ge]=[],Me[Ge]={objId:0,contentsObjId:0,userUnit:Number(l),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(R[0]),topRightY:Number(R[1])}},Li(Ge),Ht(Rt[X])},wn=function(R,J){var pt,_t,gt;switch(r=J||r,typeof R=="string"&&(pt=k(R.toLowerCase()),Array.isArray(pt)&&(_t=pt[0],gt=pt[1])),Array.isArray(R)&&(_t=R[0]*Ae,gt=R[1]*Ae),isNaN(_t)&&(_t=i[0],gt=i[1]),(_t>14400||gt>14400)&&(ci.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),_t=Math.min(14400,_t),gt=Math.min(14400,gt)),i=[_t,gt],r.substr(0,1)){case"l":gt>_t&&(i=[gt,_t]);break;case"p":_t>gt&&(i=[gt,_t])}tr(i),_r(Os),at(Oa),go!==0&&at(go+" J"),di!==0&&at(di+" j"),lr.publish("addPage",{pageNumber:Ge})},pn=function(R){R>0&&R<=Ge&&(Rt.splice(R,1),Me.splice(R,1),Ge--,X>Ge&&(X=Ge),this.setPage(X))},Li=function(R){R>0&&R<=Ge&&(X=R)},Lo=g.__private__.getNumberOfPages=g.getNumberOfPages=function(){return Rt.length-1},Ns=function(R,J,pt){var _t,gt=void 0;return pt=pt||{},R=R!==void 0?R:Jt[we].fontName,J=J!==void 0?J:Jt[we].fontStyle,_t=R.toLowerCase(),Se[_t]!==void 0&&Se[_t][J]!==void 0?gt=Se[_t][J]:Se[R]!==void 0&&Se[R][J]!==void 0?gt=Se[R][J]:pt.disableWarning===!1&&ci.warn("Unable to look up font label for font '"+R+"', '"+J+"'. Refer to getFontList() for available fonts."),gt||pt.noFallback||(gt=Se.times[J])==null&&(gt=Se.times.normal),gt},Ba=g.__private__.putInfo=function(){var R=vr(),J=function(_t){return _t};for(var pt in f!==null&&(J=fi.encryptor(R,0)),at("<<"),at("/Producer ("+Wr(J("jsPDF "+cr.version))+")"),Oe)Oe.hasOwnProperty(pt)&&Oe[pt]&&at("/"+pt.substr(0,1).toUpperCase()+pt.substr(1)+" ("+Wr(J(Oe[pt]))+")");at("/CreationDate ("+Wr(J(Y))+")"),at(">>"),at("endobj")},Eo=g.__private__.putCatalog=function(R){var J=(R=R||{}).rootDictionaryObjId||Dr;switch(vr(),at("<<"),at("/Type /Catalog"),at("/Pages "+J+" 0 R"),be||(be="fullwidth"),be){case"fullwidth":at("/OpenAction [3 0 R /FitH null]");break;case"fullheight":at("/OpenAction [3 0 R /FitV null]");break;case"fullpage":at("/OpenAction [3 0 R /Fit]");break;case"original":at("/OpenAction [3 0 R /XYZ null null 1]");break;default:var pt=""+be;pt.substr(pt.length-1)==="%"&&(be=parseInt(be)/100),typeof be=="number"&&at("/OpenAction [3 0 R /XYZ null null "+N(be)+"]")}switch(Be||(Be="continuous"),Be){case"continuous":at("/PageLayout /OneColumn");break;case"single":at("/PageLayout /SinglePage");break;case"two":case"twoleft":at("/PageLayout /TwoColumnLeft");break;case"tworight":at("/PageLayout /TwoColumnRight")}Vt&&at("/PageMode /"+Vt),lr.publish("putCatalog"),at(">>"),at("endobj")},fo=g.__private__.putTrailer=function(){at("trailer"),at("<<"),at("/Size "+(lt+1)),at("/Root "+lt+" 0 R"),at("/Info "+(lt-1)+" 0 R"),f!==null&&at("/Encrypt "+fi.oid+" 0 R"),at("/ID [ <"+D+"> <"+D+"> ]"),at(">>")},gn=g.__private__.putHeader=function(){at("%PDF-"+b),at("%ºß¬à")},Bs=g.__private__.putXRef=function(){var R="0000000000";at("xref"),at("0 "+(lt+1)),at("0000000000 65535 f ");for(var J=1;J<=lt;J++)typeof ht[J]=="function"?at((R+ht[J]()).slice(-10)+" 00000 n "):ht[J]!==void 0?at((R+ht[J]).slice(-10)+" 00000 n "):at("0000000000 00000 n ")},Wa=g.__private__.buildDocument=function(){var R;lt=0,yt=0,bt=[],ht=[],kt=[],Dr=Fr(),mr=Fr(),Ht(bt),lr.publish("buildDocument"),gn(),Ke(),(function(){lr.publish("putAdditionalObjects");for(var pt=0;pt<kt.length;pt++){var _t=kt[pt];Or(_t.objId,!0),at(_t.content),at("endobj")}lr.publish("postPutAdditionalObjects")})(),R=[],(function(){for(var pt in Jt)Jt.hasOwnProperty(pt)&&(p===!1||p===!0&&y.hasOwnProperty(pt))&&ge(Jt[pt])})(),(function(){var pt;for(pt in fe)fe.hasOwnProperty(pt)&&ke(fe[pt])})(),(function(){for(var pt in Xt)Xt.hasOwnProperty(pt)&&vt(Xt[pt])})(),(function(pt){var _t;for(_t in je)je.hasOwnProperty(_t)&&(je[_t]instanceof Sf?Zt(je[_t]):je[_t]instanceof ap&&St(je[_t],pt))})(R),lr.publish("putResources"),R.forEach(zr),zr({resourcesOid:mr,objectOid:Number.MAX_SAFE_INTEGER}),lr.publish("postPutResources"),f!==null&&(fi.oid=vr(),at("<<"),at("/Filter /Standard"),at("/V "+fi.v),at("/R "+fi.r),at("/U <"+fi.toHexString(fi.U)+">"),at("/O <"+fi.toHexString(fi.O)+">"),at("/P "+fi.P),at(">>"),at("endobj")),Ba(),Eo();var J=yt;return Bs(),fo(),at("startxref"),at(""+J),at("%%EOF"),Ht(Rt[X]),bt.join(`
204`)},Ga=g.__private__.getBlob=function(R){return new Blob([Kt(R)],{type:"application/pdf"})},hl=g.output=g.__private__.output=(jr=function(R,J){switch(typeof(J=J||{})=="string"?J={filename:J}:J.filename=J.filename||"generated.pdf",R){case void 0:return Wa();case"save":g.save(J.filename);break;case"arraybuffer":return Kt(Wa());case"blob":return Ga(Wa());case"bloburi":case"bloburl":if(Hr.URL!==void 0&&typeof Hr.URL.createObjectURL=="function")return Hr.URL&&Hr.URL.createObjectURL(Ga(Wa()))||void 0;ci.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var pt="",_t=Wa();try{pt=HA(_t)}catch{pt=HA(unescape(encodeURIComponent(_t)))}return"data:application/pdf;filename="+J.filename+";base64,"+pt;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Hr)==="[object Window]"){var gt="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",xt=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';J.pdfObjectUrl&&(gt=J.pdfObjectUrl,xt="");var Tt='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><script src="'+gt+'"'+xt+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(J)+");<\/script></body></html>",ue=Hr.open();return ue!==null&&ue.document.write(Tt),ue}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Hr)==="[object Window]"){var Le='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe id="pdfViewer" src="'+(J.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+J.filename+'" width="500px" height="400px" /></body></html>',$e=Hr.open();if($e!==null){$e.document.write(Le);var De=this;$e.document.documentElement.querySelector("#pdfViewer").onload=function(){$e.document.title=J.filename,$e.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(De.output("bloburl"))}}return $e}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Hr)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Gr='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe src="'+this.output("datauristring",J)+'"></iframe></body></html>',zn=Hr.open();if(zn!==null&&(zn.document.write(Gr),zn.document.title=J.filename),zn||typeof safari>"u")return zn;break;case"datauri":case"dataurl":return Hr.document.location.href=this.output("datauristring",J);default:return null}},jr.foo=function(){try{return jr.apply(this,arguments)}catch(pt){var R=pt.stack||"";~R.indexOf(" at ")&&(R=R.split(" at ")[1]);var J="Error in function "+R.split(`
205`)[0].split("<")[0]+": "+pt.message;if(!Hr.console)throw new Error(J);Hr.console.error(J,pt),Hr.alert&&alert(J)}},jr.foo.bar=jr,jr.foo),Ei=function(R){return Array.isArray(Sn)===!0&&Sn.indexOf(R)>-1};switch(n){case"pt":Ae=1;break;case"mm":Ae=72/25.4;break;case"cm":Ae=72/2.54;break;case"in":Ae=72;break;case"px":Ae=Ei("px_scaling")==1?.75:96/72;break;case"pc":case"em":Ae=12;break;case"ex":Ae=6;break;default:if(typeof n!="number")throw new Error("Invalid unit: "+n);Ae=n}var fi=null;K(),Q();var Xn=g.__private__.getPageInfo=g.getPageInfo=function(R){if(isNaN(R)||R%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Me[R].objId,pageNumber:R,pageContext:Me[R]}},Wl=g.__private__.getPageInfoByObjId=function(R){if(isNaN(R)||R%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var J in Me)if(Me[J].objId===R)break;return Xn(J)},Gl=g.__private__.getCurrentPageInfo=g.getCurrentPageInfo=function(){return{objId:Me[X].objId,pageNumber:X,pageContext:Me[X]}};g.addPage=function(){return wn.apply(this,arguments),this},g.setPage=function(){return Li.apply(this,arguments),Ht.call(this,Rt[X]),this},g.insertPage=function(R){return this.addPage(),this.movePage(X,R),this},g.movePage=function(R,J){var pt,_t;if(R>J){pt=Rt[R],_t=Me[R];for(var gt=R;gt>J;gt--)Rt[gt]=Rt[gt-1],Me[gt]=Me[gt-1];Rt[J]=pt,Me[J]=_t,this.setPage(J)}else if(R<J){pt=Rt[R],_t=Me[R];for(var xt=R;xt<J;xt++)Rt[xt]=Rt[xt+1],Me[xt]=Me[xt+1];Rt[J]=pt,Me[J]=_t,this.setPage(J)}return this},g.deletePage=function(){return pn.apply(this,arguments),this},g.__private__.text=g.text=function(R,J,pt,_t,gt){var xt,Tt,ue,Le,$e,De,Gr,zn,Kn,Cn=(_t=_t||{}).scope||this;if(typeof R=="number"&&typeof J=="number"&&(typeof pt=="string"||Array.isArray(pt))){var ni=pt;pt=J,J=R,R=ni}if(arguments[3]instanceof ee==0?(ue=arguments[4],Le=arguments[5],Yn(Gr=arguments[3])==="object"&&Gr!==null||(typeof ue=="string"&&(Le=ue,ue=null),typeof Gr=="string"&&(Le=Gr,Gr=null),typeof Gr=="number"&&(ue=Gr,Gr=null),_t={flags:Gr,angle:ue,align:Le})):(j("The transform parameter of text() with a Matrix value"),Kn=gt),isNaN(J)||isNaN(pt)||R==null)throw new Error("Invalid arguments passed to 
205jsPDF.text");if(R.length===0)return Cn;var xi,Gi="",gl=typeof _t.lineHeightFactor=="number"?_t.lineHeightFactor:Ya,hs=Cn.internal.scaleFactor;function ml(Ln){return Ln=Ln.split("	").join(Array(_t.TabLen||9).join(" ")),Wr(Ln,Gr)}function Vh(Ln){for(var bn,Zn=Ln.concat(),Ri=[],Ws=Zn.length;Ws--;)typeof(bn=Zn.shift())=="string"?Ri.push(bn):Array.isArray(Ln)&&(bn.length===1||bn[1]===void 0&&bn[2]===void 0)?Ri.push(bn[0]):Ri.push([bn[0],bn[1],bn[2]]);return Ri}function Fu(Ln,bn){var Zn;if(typeof Ln=="string")Zn=bn(Ln)[0];else if(Array.isArray(Ln)){for(var Ri,Ws,gs=Ln.concat(),Gc=[],Kh=gs.length;Kh--;)typeof(Ri=gs.shift())=="string"?Gc.push(bn(Ri)[0]):Array.isArray(Ri)&&typeof Ri[0]=="string"&&(Ws=bn(Ri[0],Ri[1],Ri[2]),Gc.push([Ws[0],Ws[1],Ws[2]]));Zn=Gc}return Zn}var Ds=!1,fs=!0;if(typeof R=="string")Ds=!0;else if(Array.isArray(R)){var Uc=R.concat();Tt=[];for(var yl,ra=Uc.length;ra--;)(typeof(yl=Uc.shift())!="string"||Array.isArray(yl)&&typeof yl[0]!="string")&&(fs=!1);Ds=fs}if(Ds===!1)throw new Error('Type of text must be string or Array. "'+R+'" is not recognized.');typeof R=="string"&&(R=R.match(/[\r?\n]/)?R.split(/\r\n|\r|\n/g):[R]);var Jl=Ot/Cn.internal.scaleFactor,tc=Jl*(gl-1);switch(_t.baseline){case"bottom":pt-=tc;break;case"top":pt+=Jl-tc;break;case"hanging":pt+=Jl-2*tc;break;case"middle":pt+=Jl/2-tc}if((De=_t.maxWidth||0)>0&&(typeof R=="string"?R=Cn.splitTextToSize(R,De):Object.prototype.toString.call(R)==="[object Array]"&&(R=R.reduce(function(Ln,bn){return Ln.concat(Cn.splitTextToSize(bn,De))},[]))),xt={text:R,x:J,y:pt,options:_t,mutex:{pdfEscape:Wr,activeFontKey:we,fonts:Jt,activeFontSize:Ot}},lr.publish("preProcessText",xt),R=xt.text,ue=(_t=xt.options).angle,Kn instanceof ee==0&&ue&&typeof ue=="number"){ue*=Math.PI/180,_t.rotationDirection===0&&(ue=-ue),L===E&&(ue=-ue);var qu=Math.cos(ue),Is=Math.sin(ue);Kn=new ee(qu,Is,-Is,qu,0,0)}else ue&&ue instanceof ee&&(Kn=ue);L!==E||Kn||(Kn=br),($e=_t.charSpace||Wi)!==void 0&&(Gi+=U(V($e))+` Tc
206`,this.setCharSpace(this.getCharSpace()||0)),(zn=_t.horizontalScale)!==void 0&&(Gi+=U(100*zn)+` Tz
207`),_t.lang;var Pa=-1,bl=_t.renderingMode!==void 0?_t.renderingMode:_t.stroke,Hu=Cn.internal.getCurrentPageInfo().pageContext;switch(bl){case 0:case!1:case"fill":Pa=0;break;case 1:case!0:case"stroke":Pa=1;break;case 2:case"fillThenStroke":Pa=2;break;case 3:case"invisible":Pa=3;break;case 4:case"fillAndAddForClipping":Pa=4;break;case 5:case"strokeAndAddPathForClipping":Pa=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Pa=6;break;case 7:case"addToPathForClipping":Pa=7}var Yh=Hu.usedRenderingMode!==void 0?Hu.usedRenderingMode:-1;Pa!==-1?Gi+=Pa+` Tr
208`:Yh!==-1&&(Gi+=`0 Tr
209`),Pa!==-1&&(Hu.usedRenderingMode=Pa),Le=_t.align||"left";var mo,ds=Ot*gl,vl=Cn.internal.pageSize.getWidth(),Xh=Jt[we];$e=_t.charSpace||Wi,De=_t.maxWidth||0,Gr=Object.assign({autoencode:!0,noBOM:!0},_t.flags);var ps=[],ec=function(Ln){return Cn.getStringUnitWidth(Ln,{font:Xh,charSpace:$e,fontSize:Ot,doKerning:!1})*Ot/hs};if(Object.prototype.toString.call(R)==="[object Array]"){var Za;Tt=Vh(R),Le!=="left"&&(mo=Tt.map(ec));var $a,zs=0;if(Le==="right"){J-=mo[0],R=[],ra=Tt.length;for(var Fs=0;Fs<ra;Fs++)Fs===0?($a=ua(J),Za=Oi(pt)):($a=V(zs-mo[Fs]),Za=-ds),R.push([Tt[Fs],$a,Za]),zs=mo[Fs]}else if(Le==="center"){J-=mo[0]/2,R=[],ra=Tt.length;for(var xl=0;xl<ra;xl++)xl===0?($a=ua(J),Za=Oi(pt)):($a=V((zs-mo[xl])/2),Za=-ds),R.push([Tt[xl],$a,Za]),zs=mo[xl]}else if(Le==="left"){R=[],ra=Tt.length;for(var Uu=0;Uu<ra;Uu++)R.push(Tt[Uu])}else if(Le==="justify"&&Xh.encoding==="Identity-H"){R=[],ra=Tt.length,De=De!==0?De:vl;for(var Wu=0,Mi=0;Mi<ra;Mi++)if(Za=Mi===0?Oi(pt):-ds,$a=Mi===0?ua(J):Wu,Mi<ra-1){var sd=V((De-mo[Mi])/(Tt[Mi].split(" ").length-1)),qs=Tt[Mi].split(" ");R.push([qs[0]+" ",$a,Za]),Wu=0;for(var Hs=1;Hs<qs.length;Hs++){var fa=(ec(qs[Hs-1]+" "+qs[Hs])-ec(qs[Hs]))*hs+sd;Hs==qs.length-1?R.push([qs[Hs],fa,0]):R.push([qs[Hs]+" ",fa,0]),Wu-=fa}}else R.push([Tt[Mi],$a,Za]);R.push(["",Wu,0])}else{if(Le!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(R=[],ra=Tt.length,De=De!==0?De:vl,Mi=0;Mi<ra;Mi++){Za=Mi===0?Oi(pt):-ds,$a=Mi===0?ua(J):0;var Sl=Tt[Mi].split(" ").length-1,Gu=Sl>0?(De-mo[Mi])/Sl:0;Mi<ra-1?ps.push(U(V(Gu))):ps.push(0),R.push([Tt[Mi],$a,Za])}}}(typeof _t.R2L=="boolean"?_t.R2L:Dt)===!0&&(R=Fu(R,function(Ln,bn,Zn){return[Ln.split("").reverse().join(""),bn,Zn]})),xt={text:R,x:J,y:pt,options:_t,mutex:{pdfEscape:Wr,activeFontKey:we,fonts:Jt,activeFontSize:Ot}},lr.publish("postProcessText",xt),R=xt.text,xi=xt.mutex.isHex||!1;var Vu=Jt[we].encoding;Vu!=="WinAnsiEncoding"&&Vu!=="StandardEncoding"||(R=Fu(R,function(Ln,bn,Zn){return[ml(Ln),bn,Zn]})),Tt=Vh(R),R=[];for(var wl,Cl,Us,Wc=Array.isArray(Tt[0])?1:0,yo="",kl=function(Ln,bn,Zn){var Ri="";return Zn instanceof ee?(Zn=typeof _t.angle=="number"?ze(Zn,new ee(1,0,0,1,Ln,bn)):ze(new ee(1,0,0,1,Ln,bn),Zn),L===E&&(Zn=ze(new ee(1,0,0,-1,0,0),Zn)),Ri=Zn.join(" ")+` Tm
210`):Ri=U(Ln)+" "+U(bn)+` Td
211`,Ri},_a=0;_a<Tt.length;_a++){switch(yo="",Wc){case 1:Us=(xi?"<":"(")+Tt[_a][0]+(xi?">":")"),wl=parseFloat(Tt[_a][1]),Cl=parseFloat(Tt[_a][2]);break;case 0:Us=(xi?"<":"(")+Tt[_a]+(xi?">":")"),wl=ua(J),Cl=Oi(pt)}ps!==void 0&&ps[_a]!==void 0&&(yo=ps[_a]+` Tw
212`),_a===0?R.push(yo+kl(wl,Cl,Kn)+Us):Wc===0?R.push(yo+Us):Wc===1&&R.push(yo+kl(wl,Cl,Kn)+Us)}R=Wc===0?R.join(` Tj
213T* `):R.join(` Tj
214`),R+=` Tj
215`;var Ro=`BT
216/`;return Ro+=we+" "+Ot+` Tf
217`,Ro+=U(Ot*gl)+` TL
218`,Ro+=Ca+`
219`,Ro+=Gi,Ro+=R,at(Ro+="ET"),y[we]=!0,Cn};var Vl=g.__private__.clip=g.clip=function(R){return at(R==="evenodd"?"W*":"W"),this};g.clipEvenOdd=function(){return Vl("evenodd")},g.__private__.discardPath=g.discardPath=function(){return at("n"),this};var la=g.__private__.isValidStyle=function(R){var J=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(R)!==-1&&(J=!0),J};g.__private__.setDefaultPathOperation=g.setDefaultPathOperation=function(R){return la(R)&&(h=R),this};var Yl=g.__private__.getStyle=g.getStyle=function(R){var J=h;switch(R){case"D":case"S":J="S";break;case"F":J="f";break;case"FD":case"DF":J="B";break;case"f":case"f*":case"B":case"B*":J=R}return J},Pu=g.close=function(){return at("h"),this};g.stroke=function(){return at("S"),this},g.fill=function(R){return Mo("f",R),this},g.fillEvenOdd=function(R){return Mo("f*",R),this},g.fillStroke=function(R){return Mo("B",R),this},g.fillStrokeEvenOdd=function(R){return Mo("B*",R),this};var Mo=function(R,J){Yn(J)==="object"?fl(J,R):at(R)},Va=function(R){R===null||L===E&&R===void 0||(R=Yl(R),at(R))};function qc(R,J,pt,_t,gt){var xt=new ap(J||this.boundingBox,pt||this.xStep,_t||this.yStep,this.gState,gt||this.matrix
vendor: 4,524 bytes, line 219
219);xt.stream=this.stream;var Tt=R+"$$"+this.cloneIndex+++"$$";return rr(Tt,xt),xt}var fl=function(R,J){var pt=Et[R.key],_t=je[pt];if(_t instanceof Sf)at("q"),at(Xl(J)),_t.gState&&g.setGState(_t.gState),at(R.matrix.toString()+" cm"),at("/"+pt+" sh"),at("Q");else if(_t instanceof ap){var gt=new ee(1,0,0,-1,0,us());R.matrix&&(gt=gt.multiply(R.matrix||br),pt=qc.call(_t,R.key,R.boundingBox,R.xStep,R.yStep,gt).id),at("q"),at("/Pattern cs"),at("/"+pt+" scn"),_t.gState&&g.setGState(_t.gState),at(J),at("Q")}},Xl=function(R){switch(R){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Kl=g.moveTo=function(R,J){return at(U(V(R))+" "+U(z(J))+" m"),this},$u=g.lineTo=function(R,J){return at(U(V(R))+" "+U(z(J))+" l"),this},ca=g.curveTo=function(R,J,pt,_t,gt,xt){return at([U(V(R)),U(z(J)),U(V(pt)),U(z(_t)),U(V(gt)),U(z(xt)),"c"].join(" ")),this};g.__private__.line=g.line=function(R,J,pt,_t,gt){if(isNaN(R)||isNaN(J)||isNaN(pt)||isNaN(_t)||!la(gt))throw new Error("Invalid arguments passed to jsPDF.line");return L===T?this.lines([[pt-R,_t-J]],R,J,[1,1],gt||"S"):this.lines([[pt-R,_t-J]],R,J,[1,1]).stroke()},g.__private__.lines=g.lines=function(R,J,pt,_t,gt,xt){var Tt,ue,Le,$e,De,Gr,zn,Kn,Cn,ni,xi,Gi;if(typeof R=="number"&&(Gi=pt,pt=J,J=R,R=Gi),_t=_t||[1,1],xt=xt||!1,isNaN(J)||isNaN(pt)||!Array.isArray(R)||!Array.isArray(_t)||!la(gt)||typeof xt!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Kl(J,pt),Tt=_t[0],ue=_t[1],$e=R.length,ni=J,xi=pt,Le=0;Le<$e;Le++)(De=R[Le]).length===2?(ni=De[0]*Tt+ni,xi=De[1]*ue+xi,$u(ni,xi)):(Gr=De[0]*Tt+ni,zn=De[1]*ue+xi,Kn=De[2]*Tt+ni,Cn=De[3]*ue+xi,ni=De[4]*Tt+ni,xi=De[5]*ue+xi,ca(Gr,zn,Kn,Cn,ni,xi));return xt&&Pu(),Va(gt),this},g.path=function(R){for(var J=0;J<R.length;J++){var pt=R[J],_t=pt.c;switch(pt.op){case"m":Kl(_t[0],_t[1]);break;case"l":$u(_t[0],_t[1]);break;case"c":ca.apply(this,_t);break;case"h":Pu()}}return this},g.__private__.rect=g.rect=function(R,J,pt,_t,gt){if(isNaN(R)||isNaN(J)||isNaN(pt)||isNaN(_t)||!la(gt))throw new Error("Invalid arguments passed to jsPDF.rect");return L===T&&(_t=-_t),at([U(V(R)),U(z(J)),U(V(pt)),U(V(_t)),"re"].join(" ")),Va(gt),this},g.__private__.triangle=g.triangle=function(R,J,pt,_t,gt,xt,Tt){if(isNaN(R)||isNaN(J)||isNaN(pt)||isNaN(_t)||isNaN(gt)||isNaN(xt)||!la(Tt))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[pt-R,_t-J],[gt-pt,xt-_t],[R-gt,J-xt]],R,J,[1,1],Tt,!0),this},g.__private__.roundedRect=g.roundedRect=function(R,J,pt,_t,gt,xt,Tt){if(isNaN(R)||isNaN(J)||isNaN(pt)||isNaN(_t)||isNaN(gt)||isNaN(xt)||!la(Tt))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var ue=4/3*(Math.SQRT2-1);return gt=Math.min(gt,.5*pt),xt=Math.min(xt,.5*_t),this.lines([[pt-2*gt,0],[gt*ue,0,gt,xt-xt*ue,gt,xt],[0,_t-2*xt],[0,xt*ue,-gt*ue,xt,-gt,xt],[2*gt-pt,0],[-gt*ue,0,-gt,-xt*ue,-gt,-xt],[0,2*xt-_t],[0,-xt*ue,gt*ue,-xt,gt,-xt]],R+gt,J,[1,1],Tt,!0),this},g.__private__.ellipse=g.ellipse=function(R,J,pt,_t,gt){if(isNaN(R)||isNaN(J)||isNaN(pt)||isNaN(_t)||!la(gt))throw new Error("Invalid arguments passed to jsPDF.ellipse");var xt=4/3*(Math.SQRT2-1)*pt,Tt=4/3*(Math.SQRT2-1)*_t;return Kl(R+pt,J),ca(R+pt,J-Tt,R+xt,J-_t,R,J-_t),ca(R-xt,J-_t,R-pt,J-Tt,R-pt,J),ca(R-pt,J+Tt,R-xt,J+_t,R,J+_t),ca(R+xt,J+_t,R+pt,J+Tt,R+pt,J),Va(gt),this},g.__private__.circle=g.circle=function(R,J,pt,_t){if(isNaN(R)||isNaN(J)||isNaN(pt)||!la(_t))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(R,J,pt,pt,_t)},g.setFont=function(R,J,pt){return pt&&(J=q(J,pt)),we=Ns(R,J,{disableWarning:!1}),this};var po=g.__private__.getFont=g.getFont=function(){return Jt[Ns.apply(g,arguments)]};g.__private__.getFontList=g.getFontList=function(){var R,J,pt={};for(R in Se)if(Se.hasOwnProperty(R))for(J in pt[R]=[],Se[R])Se[R].hasOwnProperty(J)&&pt[R].push(J);return pt},g.addFont=function(R,J,pt,_t,gt){var xt=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&xt.indexOf(arguments[3])!==-1?gt=arguments[3]:arguments[3]&&xt.indexOf(arguments[3])==-1&&(pt=q(pt,_t)),an.call(this,R,J,pt,gt=gt||"Identity-H")};var Ya,Os=t.lineWidth||.200025,Ps=g.__private__.getLineWidth=g.getLineWidth=function(){return Os},_r=g.__private__.setLineWidth=g.setLineWidth=function(R){return Os=R,at(U(V(R))+" w"),this};g.__private__.setLineDash=cr.API.setLineDash=cr.API.setLineDashPattern=function(R,J){if(R=R||[],J=J||0,isNaN(J)||!Array.isArray(R))throw new Error("Invalid arguments passed to 
219jsPDF.setLineDash");return R=R.map(function(pt){return U(V(pt))}).join(" "),J=U(V(J)),at("["+R+"] "+J+" d"),this};var ju=g.__private__.getLineHeight=g.getLineHeight=function(){return Ot*Ya};g.__private__.getLineHeight=g.getLineHeight=function(){return Ot*Ya};var Xa=g.__private__.setLineHeightFactor=g.setLineHeightFactor=function(R){return typeof(R=R||1.15)=="number"&&(Ya=R),this},Du=g.__private__.getLineHeightFactor=g.getLineHeightFactor=function(){return Ya};Xa(t.lineHeight);var ua=g.__private__.getHorizontalCoordinate=function(R){return V(R)},Oi=g.__private__.getVerticalCoordinate=function(R){return L===E?R:Me[X].mediaBox.topRightY-Me[X].mediaBox.bottomLeftY-V(R)},Zl=g.__private__.getHorizontalCoordinateString=g.getHorizontalCoordinateString=function(R){return U(ua(R))},$s=g.__private__.getVerticalCoordinateString=g.getVerticalCoordinateString=function(R){return U(Oi(R))},Oa=t.strokeColor||"0 G";g.__private__.getStrokeColor=g.getDrawColor=function(){return Cr(Oa)},g.__private__.setStrokeColor=g.setDrawColor=function(R,J,pt,_t){return Oa=Rr({ch1:R,ch2:J,ch3:pt,ch4:_t,pdfColorType:"draw",precision:2}),at(Oa),this};var dl=t.fillColor||"0 g";g.__private__.getFillColor=g.getFillColor=function(){return Cr(dl)},g.__private__.setFillColor=g.setFillColor=function(R,J,pt,_t){return dl=Rr({ch1:R,ch2:J,ch3:pt,ch4:_t,pdfColorType:"fill",precision:2}),at(dl),this};var Ca=t.textColor||"0 g",os=g.__private__.getTextColor=g.getTextColor=function(){return Cr(Ca)};g.__private__.setTextColor=g.setTextColor=function(R,J,pt,_t){return Ca=Rr({ch1:R,ch2:J,ch3:pt,ch4:_t,pdfColorType:"text",precision:3}),this};var Wi=t.charSpace,ha=g.__private__.getCharSpace=g.getCharSpace=function(){return parseFloat(Wi||0)};g.__private__.setCharSpace=g.setCharSpace=function(R){if(isNaN(R))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Wi=R,this};var go=0;g.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},g.__private__.setLineCap=g.setLineCap=function(R){var J=g.CapJoinStyles[R];if(J===void 0)throw new Error("Line cap style of '"+R+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return go=J,at(J+" J"),this};var di=0;g.__private__.setLineJoin=g.setLineJoin=function(R){var J=g.CapJoinStyles[R];if(J===void 0)throw new Error("Line join style of '"+R+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return di=J,at(J+" j"),this},g.__private__.setLineMiterLimit=g.__private__.setMiterLimit=g.setLineMiterLimit=g.setMiterLimit=function(R){if(R=R||0,isNaN(R))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return at(U(V(R))+" M"),this},g.GState=I2,g.setGState=function(R){(R=typeof R=="string"?fe[te[R]]:hi(null,R)).equals(Ze)||(at("/"+R.id+" gs"),Ze=R)};var hi=function(R,J){if(!R||!te[R]){var pt=!1;for(var _t in fe)if(fe.hasOwnProperty(_t)&&fe[_t].equals(J)){pt=!0;break}if(pt)J=fe[_t];else{var gt="GS"+(Object.keys(fe).length+1).toString(10);fe[gt]=J,J.id=gt}return R&&(te[R]=J.id),lr.publish("addGState",J),J}};g.addGState=function(R,J){return hi(R,J),this},g.saveGraphicsState=function(){return at("q"),Pe.push({key:we,size:Ot,color:Ca}),this},g.restoreGraphicsState=function(){at("Q");var R=Pe.pop();return we=R.key,Ot=R.size,Ca=R.color,Ze=null,this},g.setCurrentTransformationMatrix=function(R){return at(R.toString()+" cm"),this},g.comment=function(R){return at("#"+R),this};var On=function(R,J){var pt=R||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return pt},set:function(xt){isNaN(xt)||(pt=parseFloat(xt))}});var _t=J||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return _t},set:function(xt){isNaN(xt)||(_t=parseFloat(xt))}});var gt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return gt},set:function(xt){gt=xt.toString()}}),this},ka=function(R,J,pt,_t){On.call(this,R,J),this.type="rect";var gt=pt||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return gt},set:function(Tt){isNaN(Tt)||(gt=parseFloat(Tt))}});var xt=_t||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return xt},set:function(Tt){isNaN(Tt)||(xt=parseFloat(Tt))}}),this},Ql=function(){this.page=Ge,this.currentPage=X,this.pages=Rt.slice(0),this.pagesContext=Me.slice(0),this.x=ce,this.y=Er,this.matrix=He,this.width=ls(X),this.height=Hc(X),this.outputDestination=qt,this.id="",this.objectNumber=-1};Ql.prototype.restore=function(){Ge=this.page,X=this.currentPage,Me=this.pagesContext,Rt=this.pages,ce=this.x,Er=this.y,He=this.matrix,pl(X,this.width),cs(X,this.height),qt=this.outputDestination};var js=function(R,J,pt,_t,gt){Br.push(new Ql),Ge=X=0,Rt=[],ce=R,Er=J,He=gt,tr([pt,_t])};for(var ss in g.beginFormObject=function(R,J,pt,_t,gt){return js(R,J,pt,_t,gt),this},g.endFormObject=function(R){return(function(J){if(me[J])Br.pop().restore(
vendor: 4,761 bytes, line 219
219);else{var pt=new Ql,_t="Xo"+(Object.keys(Xt).length+1).toString(10);pt.id=_t,me[J]=_t,Xt[_t]=pt,lr.publish("addFormObject",pt),Br.pop().restore()}})(R),this},g.doFormObject=function(R,J){var pt=Xt[me[R]];return at("q"),at(J.toString()+" cm"),at("/"+pt.id+" Do"),at("Q"),this},g.getFormObject=function(R){var J=Xt[me[R]];return{x:J.x,y:J.y,width:J.width,height:J.height,matrix:J.matrix}},g.save=function(R,J){return R=R||"generated.pdf",(J=J||{}).returnPromise=J.returnPromise||!1,J.returnPromise===!1?(yf(Ga(Wa()),R),typeof yf.unload=="function"&&Hr.setTimeout&&setTimeout(yf.unload,911),this):new Promise(function(pt,_t){try{var gt=yf(Ga(Wa()),R);typeof yf.unload=="function"&&Hr.setTimeout&&setTimeout(yf.unload,911),pt(gt)}catch(xt){_t(xt.message)}})},cr.API)cr.API.hasOwnProperty(ss)&&(ss==="events"&&cr.API.events.length?(function(R,J){var pt,_t,gt;for(gt=J.length-1;gt!==-1;gt--)pt=J[gt][0],_t=J[gt][1],R.subscribe.apply(R,[pt].concat(typeof _t=="function"?[_t]:_t))})(lr,cr.API.events):g[ss]=cr.API[ss]);function ls(R){return Me[R].mediaBox.topRightX-Me[R].mediaBox.bottomLeftX}function pl(R,J){Me[R].mediaBox.topRightX=J+Me[R].mediaBox.bottomLeftX}function Hc(R){return Me[R].mediaBox.topRightY-Me[R].mediaBox.bottomLeftY}function cs(R,J){Me[R].mediaBox.topRightY=J+Me[R].mediaBox.bottomLeftY}var Ka=g.getPageWidth=function(R){return ls(R=R||X)/Ae},Iu=g.setPageWidth=function(R,J){pl(R,J*Ae)},us=g.getPageHeight=function(R){return Hc(R=R||X)/Ae},zu=g.setPageHeight=function(R,J){cs(R,J*Ae)};return g.internal={pdfEscape:Wr,getStyle:Yl,getFont:po,getFontSize:Nt,getCharSpace:ha,getTextColor:os,getLineHeight:ju,getLineHeightFactor:Du,getLineWidth:Ps,write:ae,getHorizontalCoordinate:ua,getVerticalCoordinate:Oi,getCoordinateString:Zl,getVerticalCoordinateString:$s,collections:{},newObject:vr,newAdditionalObject:dn,newObjectDeferred:Fr,newObjectDeferredBegin:Or,getFilters:Wt,putStream:Gt,events:lr,scaleFactor:Ae,pageSize:{getWidth:function(){return Ka(X)},setWidth:function(R){Iu(X,R)},getHeight:function(){return us(X)},setHeight:function(R){zu(X,R)}},encryptionOptions:f,encryption:fi,getEncryptor:function(R){return f!==null?fi.encryptor(R,0):function(J){return J}},output:hl,getNumberOfPages:Lo,get pages(){return Rt},out:at,f2:N,f3:I,getPageInfo:Xn,getPageInfoByObjId:Wl,getCurrentPageInfo:Gl,getPDFVersion:v,Point:On,Rectangle:ka,Matrix:ee,hasHotfix:Ei},Object.defineProperty(g.internal.pageSize,"width",{get:function(){return Ka(X)},set:function(R){Iu(X,R)},enumerable:!0,configurable:!0}),Object.defineProperty(g.internal.pageSize,"height",{get:function(){return us(X)},set:function(R){zu(X,R)},enumerable:!0,configurable:!0}),(function(R){for(var J=0,pt=le.length;J<pt;J++){var _t=an.call(this,R[J][0],R[J][1],R[J][2],le[J][3],!0);p===!1&&(y[_t]=!0);var gt=R[J][0].split("-");Je({id:_t,fontName:gt[0],fontStyle:gt[1]||""})}lr.publish("addFonts",{fonts:Jt,dictionary:Se})}).call(g,le),we="F1",wn(i,r),lr.publish("initialized"),g}tp.prototype.lsbFirstWord=function(t){return String.fromCharCode(255&t,t>>8&255,t>>16&255,t>>24&255)},tp.prototype.toHexString=function(t){return t.split("").map(function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)}).join("")},tp.prototype.hexToBytes=function(t){for(var e=[],r=0;r<t.length;r+=2)e.push(String.fromCharCode(parseInt(t.substr(r,2),16)));return e.join("")},tp.prototype.processOwnerPassword=function(t,e){return q5(F5(e).substr(0,5),t)},tp.prototype.encryptor=function(t,e){var r=F5(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&e,e>>8&255)).substr(0,10);return function(n){return q5(r,n)}},I2.prototype.equals=function(t){var e,r="id,objectNumber,equals";if(!t||Yn(t)!==Yn(this))return!1;var n=0;for(e in this)if(!(r.indexOf(e)>=0)){if(this.hasOwnProperty(e)&&!t.hasOwnProperty(e)||this[e]!==t[e])return!1;n++}for(e in t)t.hasOwnProperty(e)&&r.indexOf(e)<0&&n--;return n===0},cr.API={events:[]},cr.version="4.2.0";var Ui=cr.API,Bw=1,ed=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Xd=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},qf=function(t){return t.toString().replace(/#/g,"#23").replace(/[\s\n\r()<>[\]{}\/%]/g,function(e){var r=e.charCodeAt(0).toString(16).toUpperCase();return"#"+(r.length===1?"0"+r:r)})},Xr=function(t){return t.toFixed(2)},vh=function(t){return t.toFixed(5)};Ui.__acroform__={};var as=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t},VA=function(t){return t*Bw},vc=function(t){var e=new pE,r=ir.internal.getHeight(t)||0,n=ir.internal.getWidth(t)||0;return e.BBox=[0,0,Number(Xr(n)),Number(Xr(r))],e},IX=Ui.__acroform__.setBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to 
219jsPDF.API.__acroform__.setBit");return t|1<<e},zX=Ui.__acroform__.clearBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&~(1<<e)},FX=Ui.__acroform__.getBit=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return t&1<<e?1:0},Ki=Ui.__acroform__.getBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return FX(t,e-1)},Zi=Ui.__acroform__.setBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return IX(t,e-1)},Qi=Ui.__acroform__.clearBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return zX(t,e-1)},qX=Ui.__acroform__.calculateCoordinates=function(t,e){var r=e.internal.getHorizontalCoordinate,n=e.internal.getVerticalCoordinate,i=t[0],a=t[1],s=t[2],l=t[3],u={};return u.lowerLeft_X=r(i)||0,u.lowerLeft_Y=n(a+l)||0,u.upperRight_X=r(i+s)||0,u.upperRight_Y=n(a)||0,[Number(Xr(u.lowerLeft_X)),Number(Xr(u.lowerLeft_Y)),Number(Xr(u.upperRight_X)),Number(Xr(u.upperRight_Y))]},HX=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var e=[],r=t._V||t.DV,n=H5(t,r),i=t.scope.internal.getFont(t.fontName,t.fontStyle).id;e.push("/Tx BMC"),e.push("q"),e.push("BT"),e.push(t.scope.__private__.encodeColorString(t.color)),e.push("/"+i+" "+Xr(n.fontSize)+" Tf"),e.push("1 0 0 1 0 0 Tm"),e.push(n.text),e.push("ET"),e.push("Q"),e.push("EMC");var a=vc(t);return a.scope=t.scope,a.stream=e.join(`
220`),a}},H5=function(t,e){var r=t.fontSize===0?t.maxFontSize:t.fontSize,n={text:"",fontSize:""},i=(e=(e=e.substr(0,1)=="("?e.substr(1):e).substr(e.length-1)==")"?e.substr(0,e.length-1):e).split(" ");i=t.multiline?i.map(function(N){return N.split(`
221`)}):i.map(function(N){return[N]});var a=r,s=ir.internal.getHeight(t)||0;s=s<0?-s:s;var l=ir.internal.getWidth(t)||0;l=l<0?-l:l;var u=function(N,I,V){if(N+1<i.length){var z=I+" "+i[N+1][0];return O1(z,t,V).width<=l-4}return!1};a++;t:for(;a>0;){e="",a--;var h,f,p=O1("3",t,a).height,y=t.multiline?s-a:(s-p)/2,g=y+=2,b=0,v=0,C=0;if(a<=0){e=`(...) Tj
222`,e+="% Width of Text: "+O1(e,t,a=12).width+", FieldWidth:"+l+`
223`;break}for(var k="",T=0,E=0;E<i.length;E++)if(i.hasOwnProperty(E)){var L=!1;if(i[E].length!==1&&C!==i[E].length-1){if((p+2)*(T+2)+2>s)continue t;k+=i[E][C],L=!0,v=E,E--}else{k=(k+=i[E][C]+" ").substr(k.length-1)==" "?k.substr(0,k.length-1):k;var O=parseInt(E),W=u(O,k,a),q=E>=i.length-1;if(W&&!q){k+=" ",C=0;continue}if(W||q){if(q)v=O;else if(t.multiline&&(p+2)*(T+2)+2>s)continue t}else{if(!t.multiline||(p+2)*(T+2)+2>s)continue t;v=O}}for(var U="",j=b;j<=v;j++){var M=i[j];if(t.multiline){if(j===v){U+=M[C]+" ",C=(C+1)%M.length;continue}if(j===b){U+=M[M.length-1]+" ";continue}}U+=M[0]+" "}switch(U=U.substr(U.length-1)==" "?U.substr(0,U.length-1):U,f=O1(U,t,a).width,t.textAlign){case"right":h=l-f-2;break;case"center":h=(l-f)/2;break;default:h=2}e+=Xr(h)+" "+Xr(g)+` Td
224`,e+="("+ed(U)+`) Tj
225`,e+=-Xr(h)+` 0 Td
226`,g=-(a+2),f=0,b=L?v:v+1,T++,k=""}break}return n.text=e,n.fontSize=a,n},O1=function(t,e,r){var n=e.scope.internal.getFont(e.fontName,e.fontStyle),i=e.scope.getStringUnitWidth(t,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:e.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:i}},UX={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},WX=function(t,e){var r={type:"reference",object:t};e.internal.getPageInfo(t.page).pageContext.annotations.find(function(n){return n.type===r.type&&n.object===r.object})===void 0&&e.internal.getPageInfo(t.page).pageContext.annotations.push(r)},GX=function(t,e){if(e.scope=t,t.internal!==void 0&&(t.internal.acroformPlugin===void 0||t.internal.acroformPlugin.isInitialized===!1)){if(ql.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(UX)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Bw=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new g
vendor: 11,531 bytes, lines 226-227
226E,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",function(){(function(r){r.internal.events.unsubscribe(r.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete r.internal.acroformPlugin.acroFormDictionaryRoot._eventID,r.internal.acroformPlugin.printedOut=!0})(t)}),t.internal.events.subscribe("buildDocument",function(){(function(r){r.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var n=r.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var i in n)if(n.hasOwnProperty(i)){var a=n[i];a.objId=void 0,a.hasAnnotation&&WX(a,r)}})(t)}),t.internal.events.subscribe("putCatalog",function(){(function(r){if(r.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");r.internal.write("/AcroForm "+r.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(t)}),t.internal.events.subscribe("postPutPages",function(r){(function(n,i){var a=!n;for(var s in n||(i.internal.newObjectDeferredBegin(i.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),i.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),n=n||i.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(n.hasOwnProperty(s)){var l=n[s],u=[],h=l.Rect;if(l.Rect&&(l.Rect=qX(l.Rect,i)),i.internal.newObjectDeferredBegin(l.objId,!0),l.DA=ir.createDefaultAppearanceStream(l),Yn(l)==="object"&&typeof l.getKeyValueListForStream=="function"&&(u=l.getKeyValueListForStream()),l.Rect=h,l.hasAppearanceStream&&!l.appearanceStreamContent){var f=HX(l);u.push({key:"AP",value:"<</N "+f+">>"}),i.internal.acroformPlugin.xForms.push(f)}if(l.appearanceStreamContent){var p="";for(var y in l.appearanceStreamContent)if(l.appearanceStreamContent.hasOwnProperty(y)){var g=l.appearanceStreamContent[y];if(p+="/"+y+" ",p+="<<",Object.keys(g).length>=1||Array.isArray(g)){for(var s in g)if(g.hasOwnProperty(s)){var b=g[s];typeof b=="function"&&(b=b.call(i,l)),p+="/"+s+" "+b+" ",i.internal.acroformPlugin.xForms.indexOf(b)>=0||i.internal.acroformPlugin.xForms.push(b)}}else typeof(b=g)=="function"&&(b=b.call(i,l)),p+="/"+s+" "+b,i.internal.acroformPlugin.xForms.indexOf(b)>=0||i.internal.acroformPlugin.xForms.push(b);p+=">>"}u.push({key:"AP",value:`<<
227`+p+">>"})}i.internal.putStream({additionalKeyValues:u,objectId:l.objId}),i.internal.out("endobj")}a&&(function(v,C){for(var k in v)if(v.hasOwnProperty(k)){var T=k,E=v[k];C.internal.newObjectDeferredBegin(E.objId,!0),Yn(E)==="object"&&typeof E.putStream=="function"&&E.putStream(),delete v[T]}})(i.internal.acroformPlugin.xForms,i)})(r,t)}),t.internal.acroformPlugin.isInitialized=!0}},dE=Ui.__acroform__.arrayToPdfArray=function(t,e,r){var n=function(s){return s};if(Array.isArray(t)){for(var i="[",a=0;a<t.length;a++)switch(a!==0&&(i+=" "),Yn(t[a])){case"boolean":case"number":case"object":i+=t[a].toString();break;case"string":t[a].substr(0,1)==="/"?i+="/"+qf(t[a].substr(1)):(e!==void 0&&r&&(n=r.internal.getEncryptor(e)),i+="("+ed(n(t[a].toString()))+")")}return i+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Tx=function(t,e,r){var n=function(i){return i};return e!==void 0&&r&&(n=r.internal.getEncryptor(e)),(t=t||"").toString(),"("+ed(n(t))+")"},Rc=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(t){this._objId=t}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};Rc.prototype.toString=function(){return this.objId+" 0 R"},Rc.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},Rc.prototype.getKeyValueListForStream=function(){var t=[],e=Object.getOwnPropertyNames(this).filter(function(a){return a!="content"&&a!="appearanceStreamContent"&&a!="scope"&&a!="objId"&&a.substring(0,1)!="_"});for(var r in e)if(Object.getOwnPropertyDescriptor(this,e[r]).configurable===!1){var n=e[r],i=this[n];i&&(Array.isArray(i)?t.push({key:n,value:dE(i,this.objId,this.scope)}):i instanceof Rc?(i.scope=this.scope,t.push({key:n,value:i.objId+" 0 R"})):typeof i!="function"&&t.push({key:n,value:i}))}return t};var pE=function(){Rc.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var t,e=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return e},set:function(r){e=r}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(r){t=r.trim()},get:function(){return t||null}})};as(pE,Rc);var gE=function(){Rc.call(this);var t,e=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return e.length>0?e:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return e}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var r=function(n){return n};return this.scope&&(r=this.scope.internal.getEncryptor(this.objId)),"("+ed(r(t))+")"}},set:function(r){t=r}})};as(gE,Rc);var ql=function t(){Rc.call(this);var e=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return e},set:function(k){if(isNaN(k))throw new Error('Invalid value "'+k+'" for attribute F supplied.');e=k}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!Ki(e,3)},set:function(k){k?this.F=Zi(e,3):this.F=Qi(e,3)}});var r=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return r},set:function(k){if(isNaN(k))throw new Error('Invalid value "'+k+'" for attribute Ff supplied.');r=k}});var n=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(n.length!==0)return n},set:function(k){n=k!==void 0?k:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[0])?0:n[0]},set:function(k){n[0]=k}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[1])?0:n[1]},set:function(k){n[1]=k}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[2])?0:n[2]},set:function(k){n[2]=k}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[3])?0:n[3]},set:function(k){n[3]=k}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(k){switch(k){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=k;break;default:throw new Error('Invalid value "'+k+'" for attribute FT supplied.')}}});var a=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!a||a.length<1){if(this instanceof z2)return;a="FieldObject"+t.FieldNum++}var k=function(T){return T};return this.scope&&(k=this.scope.internal.getEncryptor(this.objId)),"("+ed(k(a))+")"},set:function(k){a=k.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return a},set:function(k){a=k}});var s="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return s},set:function(k){s=k}});var l="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return l},set:function(k){l=k}});var u=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return u},set:function(k){u=k}});var h=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return h===void 0?50/Bw:h},set:function(k){h=k}});var f="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return f},set:function(k){f=k}});var p="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!p||this instanceof z2||this instanceof Of))return Tx(p,this.objId,this.scope)},set:function(k){k=k.toString(),p=k}});var y=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(y)return this instanceof Ra==0?Tx(y,this.objId,this.scope):y},set:function(k){k=k.toString(),y=this instanceof Ra==0?k.substr(0,1)==="("?Xd(k.substr(1,k.length-2)):Xd(k):k}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Ra==1?Xd(y.substr(1,y.length-1)):y},set:function(k){k=k.toString(),y=this instanceof Ra==1?"/"+qf(k):k}});var g=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(g)return g},set:function(k){this.V=k}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(g)return this instanceof Ra==0?Tx(g,this.objId,this.scope):g},set:function(k){k=k.toString(),g=this instanceof Ra==0?k.substr(0,1)==="("?Xd(k.substr(1,k.length-2)):Xd(k):k}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Ra==1?Xd(g.substr(1,g.length-1)):g},set:function(k){k=k.toString(),g=this instanceof Ra==1?"/"+qf(k):k}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var b,v=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return v},set:function(k){k=!!k,v=k}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(b)return b},set:function(k){b=k}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,1)},set:function(k){k?this.Ff=Zi(this.Ff,1):this.Ff=Qi(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,2)},set:function(k){k?this.Ff=Zi(this.Ff,2):this.Ff=Qi(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,3)},set:function(k){k?this.Ff=Zi(this.Ff,3):this.Ff=Qi(this.Ff,3)}});var C=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(C!==null)return C},set:function(k){if([0,1,2].indexOf(k)===-1)throw new Error('Invalid value "'+k+'" for attribute Q supplied.');C=k}}),Object.defineProperty(this,"textAlign",{get:function(){var k;switch(C){case 0:default:k="left";break;case 1:k="center";break;case 2:k="right"}return k},configurable:!0,enumerable:!0,set:function(k){switch(k){case"right":case 2:C=2;break;case"center":case 1:C=1;break;default:C=0}}})};as(ql,Rc);var cp=function(){ql.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(r){t=r}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(r){t=r}});var e=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return dE(e,this.objId,this.scope)}
227,set:function(r){var n,i;i=[],typeof(n=r)=="string"&&(i=(function(a,s,l){l||(l=1);for(var u,h=[];u=s.exec(a);)h.push(u[l]);return h})(n,/\((.*?)\)/g)),e=i}}),this.getOptions=function(){return e},this.setOptions=function(r){e=r,this.sort&&e.sort()},this.addOption=function(r){r=(r=r||"").toString(),e.push(r),this.sort&&e.sort()},this.removeOption=function(r,n){for(n=n||!1,r=(r=r||"").toString();e.indexOf(r)!==-1&&(e.splice(e.indexOf(r),1),n!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,18)},set:function(r){r?this.Ff=Zi(this.Ff,18):this.Ff=Qi(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,19)},set:function(r){this.combo===!0&&(r?this.Ff=Zi(this.Ff,19):this.Ff=Qi(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,20)},set:function(r){r?(this.Ff=Zi(this.Ff,20),e.sort()):this.Ff=Qi(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,22)},set:function(r){r?this.Ff=Zi(this.Ff,22):this.Ff=Qi(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,23)},set:function(r){r?this.Ff=Zi(this.Ff,23):this.Ff=Qi(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,27)},set:function(r){r?this.Ff=Zi(this.Ff,27):this.Ff=Qi(this.Ff,27)}}),this.hasAppearanceStream=!1};as(cp,ql);var up=function(){cp.call(this),this.fontName="helvetica",this.combo=!1};as(up,cp);var hp=function(){up.call(this),this.combo=!0};as(hp,up);var i2=function(){hp.call(this),this.edit=!0};as(i2,hp);var Ra=function(){ql.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,15)},set:function(r){r?this.Ff=Zi(this.Ff,15):this.Ff=Qi(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,16)},set:function(r){r?this.Ff=Zi(this.Ff,16):this.Ff=Qi(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,17)},set:function(r){r?this.Ff=Zi(this.Ff,17):this.Ff=Qi(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,26)},set:function(r){r?this.Ff=Zi(this.Ff,26):this.Ff=Qi(this.Ff,26)}});var t,e={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var r=function(a){return a};if(this.scope&&(r=this.scope.internal.getEncryptor(this.objId)),Object.keys(e).length!==0){var n,i=[];for(n in i.push("<<"),e)i.push("/"+n+" ("+ed(r(e[n]))+")");return i.push(">>"),i.join(`
228`)}},set:function(r){Yn(r)==="object"&&(e=r)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(r){typeof r=="string"&&(e.CA=r)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(r){var n=r==null?"":r.toString();n.substr(0,1)==="/"&&(n=n.substr(1)),t="/"+qf(n)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(r){t="/"+qf(r)}})};as(Ra,ql);var a2=function(){Ra.call(this),this.pushButton=!0};as(a2,Ra);var fp=function(){Ra.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e!==void 0?e:[]}})};as(fp,Ra);var z2=function(){var t,e;ql.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(i){t=i}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(i){e=i}});var r,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var i=function(l){return l};this.scope&&(i=this.scope.internal.getEncryptor(this.objId));var a,s=[];for(a in s.push("<<"),n)s.push("/"+a+" ("+ed(i(n[a]))+")");return s.push(">>"),s.join(`
229`)}
vendor: 4,077 bytes, lines 229-230
229,set:function(i){Yn(i)==="object"&&(n=i)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(i){typeof i=="string"&&(n.CA=i)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(i){var a=i==null?"":i.toString();a.substr(0,1)==="/"&&(a=a.substr(1)),r="/"+qf(a)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(i){var a=i==null?"":i.toString();a.substr(0,1)==="/"&&(a=a.substr(1)),r="/"+qf(a)}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=ir.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};as(z2,ql),fp.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(e)){var r=this.Kids[e];r.appearanceStreamContent=t.createAppearanceStream(r.optionName),r.caption=t.getCA()}},fp.prototype.createOption=function(t){var e=new z2;return e.Parent=this,e.optionName=t,this.Kids.push(e),VX.call(this.scope,e),e};var o2=function(){Ra.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=ir.CheckBox.createAppearanceStream()};as(o2,Ra);var Of=function(){ql.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,13)},set:function(e){e?this.Ff=Zi(this.Ff,13):this.Ff=Qi(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,21)},set:function(e){e?this.Ff=Zi(this.Ff,21):this.Ff=Qi(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,23)},set:function(e){e?this.Ff=Zi(this.Ff,23):this.Ff=Qi(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,24)},set:function(e){e?this.Ff=Zi(this.Ff,24):this.Ff=Qi(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,25)},set:function(e){e?this.Ff=Zi(this.Ff,25):this.Ff=Qi(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,26)},set:function(e){e?this.Ff=Zi(this.Ff,26):this.Ff=Qi(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){Number.isInteger(e)&&(t=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};as(Of,ql);var s2=function(){Of.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!Ki(this.Ff,14)},set:function(t){t?this.Ff=Zi(this.Ff,14):this.Ff=Qi(this.Ff,14)}}),this.password=!0};as(s2,Of);var ir={CheckBox:{createAppearanceStream:function(){return{N:{On:ir.CheckBox.YesNormal},D:{On:ir.CheckBox.YesPushDown,Off:ir.CheckBox.OffPushDown}}},YesPushDown:function(t){var e=vc(t);e.scope=t.scope;var r=[],n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color),a=H5(t,t.caption);return r.push("0.749023 g"),r.push("0 0 "+Xr(ir.internal.getWidth(t))+" "+Xr(ir.internal.getHeight(t))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+Xr(a.fontSize)+" Tf "+i),r.push("BT"),r.push(a.text),r.push("ET"),r.push("Q"),r.push("EMC"),e.stream=r.join(`
230`),e},YesNormal:function(t){var e=vc(t);e.scope=t.scope;var r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,n=t.scope.__private__.encodeColorString(t.color),i=[],a=ir.internal.getHeight(t),s=ir.internal.getWidth(t),l=H5(t,t.caption);
vendor: 4,126 bytes, lines 230-236
230return i.push("1 g"),i.push("0 0 "+Xr(s)+" "+Xr(a)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+Xr(s-1)+" "+Xr(a-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+r+" "+Xr(l.fontSize)+" Tf "+n),i.push(l.text),i.push("ET"),i.push("Q"),e.stream=i.join(`
231`),e},OffPushDown:function(t){var e=vc(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+Xr(ir.internal.getWidth(t))+" "+Xr(ir.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join(`
232`),e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:ir.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=ir.RadioButton.Circle.YesNormal,e.D[t]=ir.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(t){var e=vc(t);e.scope=t.scope;var r=[],n=ir.internal.getWidth(t)<=ir.internal.getHeight(t)?ir.internal.getWidth(t)/4:ir.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=ir.internal.Bezier_C,a=Number((n*i).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+vh(ir.internal.getWidth(t)/2)+" "+vh(ir.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+a+" "+a+" "+n+" 0 "+n+" c"),r.push("-"+a+" "+n+" -"+n+" "+a+" -"+n+" 0 c"),r.push("-"+n+" -"+a+" -"+a+" -"+n+" 0 -"+n+" c"),r.push(a+" -"+n+" "+n+" -"+a+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join(`
233`),e},YesPushDown:function(t){var e=vc(t);e.scope=t.scope;var r=[],n=ir.internal.getWidth(t)<=ir.internal.getHeight(t)?ir.internal.getWidth(t)/4:ir.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),a=Number((i*ir.internal.Bezier_C).toFixed(5)),s=Number((n*ir.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+vh(ir.internal.getWidth(t)/2)+" "+vh(ir.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),r.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),r.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),r.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),r.push("f"),r.push("Q"),r.push("0 g"),r.push("q"),r.push("1 0 0 1 "+vh(ir.internal.getWidth(t)/2)+" "+vh(ir.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+s+" "+s+" "+n+" 0 "+n+" c"),r.push("-"+s+" "+n+" -"+n+" "+s+" -"+n+" 0 c"),r.push("-"+n+" -"+s+" -"+s+" -"+n+" 0 -"+n+" c"),r.push(s+" -"+n+" "+n+" -"+s+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join(`
234`),e},OffPushDown:function(t){var e=vc(t);e.scope=t.scope;var r=[],n=ir.internal.getWidth(t)<=ir.internal.getHeight(t)?ir.internal.getWidth(t)/4:ir.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),a=Number((i*ir.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+vh(ir.internal.getWidth(t)/2)+" "+vh(ir.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),r.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),r.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),r.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join(`
235`),e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:ir.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=ir.RadioButton.Cross.YesNormal,e.D[t]=ir.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(t){var e=vc(t);e.scope=t.scope;var r=[],n=ir.internal.calculateCross(t);return r.push("q"),r.push("1 1 "+Xr(ir.internal.getWidth(t)-2)+" "+Xr(ir.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(Xr(n.x1.x)+" "+Xr(n.x1.y)+" m"),r.push(Xr(n.x2.x)+" "+Xr(n.x2.y)+" l"),r.push(Xr(n.x4.x)+" "+Xr(n.x4.y)+" m"),r.push(Xr(n.x3.x)+" "+Xr(n.x3.y)+" l"),r.push("s"),r.push("Q"),e.stream=r.join(`
236`),e},YesPushDown:function(t){var e=vc(t);e.scope=t.scope;var r=ir.internal.calculateCross(t),n=[];return n.push("0.749023 g"),n.push("0 0 "+Xr(ir.internal.getWidth(t))+" "+Xr(ir.internal.getHeight(t))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+Xr(ir.internal.getWidth(t)-2)+" "+Xr(ir.internal.getHeight(t)-2)+" re"),n.push("W"),n.push("n"),n.push(Xr(r.x1.x)+" "+Xr(r.x1.y)+" m"),n.push(Xr(r.x2.x)+" "+Xr(r.x2.y)+" l"),n.push(Xr(r.x4.x)+" "+Xr(r.x4.y)+" m"),n.push(Xr(r.x3.x)+" "+Xr
vendor: 9,687 bytes, lines 236-238
236(r.x3.y)+" l"),n.push("s"),n.push("Q"),e.stream=n.join(`
237`),e},OffPushDown:function(t){var e=vc(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+Xr(ir.internal.getWidth(t))+" "+Xr(ir.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join(`
238`),e}}},createDefaultAppearanceStream:function(t){var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color);return"/"+e+" "+t.fontSize+" Tf "+r}};ir.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=ir.internal.getWidth(t),r=ir.internal.getHeight(t),n=Math.min(e,r);return{x1:{x:(e-n)/2,y:(r-n)/2+n},x2:{x:(e-n)/2+n,y:(r-n)/2},x3:{x:(e-n)/2,y:(r-n)/2},x4:{x:(e-n)/2+n,y:(r-n)/2+n}}}},ir.internal.getWidth=function(t){var e=0;return Yn(t)==="object"&&(e=VA(t.Rect[2])),e},ir.internal.getHeight=function(t){var e=0;return Yn(t)==="object"&&(e=VA(t.Rect[3])),e};var VX=Ui.addField=function(t){if(GX(this,t),!(t instanceof ql))throw new Error("Invalid argument passed to jsPDF.addField.");var e;return(e=t).scope.internal.acroformPlugin.printedOut&&(e.scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};Ui.AcroFormChoiceField=cp,Ui.AcroFormListBox=up,Ui.AcroFormComboBox=hp,Ui.AcroFormEditBox=i2,Ui.AcroFormButton=Ra,Ui.AcroFormPushButton=a2,Ui.AcroFormRadioButton=fp,Ui.AcroFormCheckBox=o2,Ui.AcroFormTextField=Of,Ui.AcroFormPasswordField=s2,Ui.AcroFormAppearance=ir,Ui.AcroForm={ChoiceField:cp,ListBox:up,ComboBox:hp,EditBox:i2,Button:Ra,PushButton:a2,RadioButton:fp,CheckBox:o2,TextField:Of,PasswordField:s2,Appearance:ir},cr.AcroForm={ChoiceField:cp,ListBox:up,ComboBox:hp,EditBox:i2,Button:Ra,PushButton:a2,RadioButton:fp,CheckBox:o2,TextField:Of,PasswordField:s2,Appearance:ir};cr.AcroForm;function mE(t){return t.reduce(function(e,r,n){return e[r]=n,e},{})}(function(t){var e="addImage_";t.__addimage__={};var r="UNKNOWN",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},i=t.__addimage__.getImageFileTypeByImageData=function(N,I){var V,z,Y,D,Z,Q=r;if((I=I||r)==="RGBA"||N.data!==void 0&&N.data instanceof Uint8ClampedArray&&"height"in N&&"width"in N)return"RGBA";if(W(N))for(Z in n)for(Y=n[Z],V=0;V<Y.length;V+=1){for(D=!0,z=0;z<Y[V].length;z+=1)if(Y[V][z]!==void 0&&Y[V][z]!==N[z]){D=!1;break}if(D===!0){Q=Z;break}}else for(Z in n)for(Y=n[Z],V=0;V<Y.length;V+=1){for(D=!0,z=0;z<Y[V].length;z+=1)if(Y[V][z]!==void 0&&Y[V][z]!==N.charCodeAt(z)){D=!1;break}if(D===!0){Q=Z;break}}return Q===r&&I!==r&&(Q=I),Q},a=function N(I){for(var V=this.internal.write,z=this.internal.putStream,Y=(0,this.internal.getFilters)();Y.indexOf("FlateEncode")!==-1;)Y.splice(Y.indexOf("FlateEncode"),1);I.objectId=this.internal.newObject();var D=[];if(D.push({key:"Type",value:"/XObject"}),D.push({key:"Subtype",value:"/Image"}),D.push({key:"Width",value:I.width}),D.push({key:"Height",value:I.height}),I.colorSpace===k.INDEXED?D.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(I.palette.length/3-1)+" "+("sMask"in I&&I.sMask!==void 0?I.objectId+2:I.objectId+1)+" 0 R]"}):(D.push({key:"ColorSpace",value:"/"+I.colorSpace}),I.colorSpace===k.DEVICE_CMYK&&D.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),D.push({key:"BitsPerComponent",value:I.bitsPerComponent}),"decodeParameters"in I&&I.decodeParameters!==void 0&&D.push({key:"DecodeParms",value:"<<"+I.decodeParameters+">>"}),"transparency"in I&&Array.isArray(I.transparency)&&I.transparency.length>0){for(var Z="",Q=0,it=I.transparency.length;Q<it;Q++)Z+=I.transparency[Q]+" "+I.transparency[Q]+" ";D.push({key:"Mask",value:"["+Z+"]"})}I.sMask!==void 0&&D.push({key:"SMask",value:I.objectId+1+" 0 R"});var mt=I.filter!==void 0?["/"+I.filter]:void 0;if(z({data:I.data,additionalKeyValues:D,alreadyAppliedFilters:mt,objectId:I.objectId}),V("endobj"),"sMask"in I&&I.sMask!==void 0){var K,P=(K=I.sMaskBitsPerComponent)!==null&&K!==void 0?K:I.bitsPerComponent,X={width:I.width,height:I.height,colorSpace:"DeviceGray",bitsPerComponent:P,data:I.sMask};"filter"in I&&(X.decodeParameters="/Predictor ".concat(I.predictor," /Colors 1 /BitsPerComponent ").concat(P," /Columns ").concat(I.width),X.filter=I.filter),N.call(this,X)}if(I.colorSpace===k.INDEXED){var et=this.internal.newObject();z({data:U(new Uint8Array(I.palette)),objectId:et}),V("endobj")}},s=function(){var N=this.internal.collections[e+"images"];for(var I in N)a.call(this,N[I])},l=function(){var N,I=this.internal.collections[e+"images"],V=this.internal.write;for(var z in I)V("/I"+(N=I[z]).index,N.objectId,"0","R")},u=function(){this.internal.collections[e+"images"]||(this.internal.collections[e+"images"]={},this.internal.events.subscribe("putResources",s),this.internal.events.subscribe("putXobjectDict",l))},h=function(){var N=this.internal.collections[e+"images"];return u.call(this),N},f=function(){return Object.keys(this.internal.collections[e+"images"]).length},p=function(N){return typeof t["process"+N.toUpperCase()]=="function"},y=function(N){return Yn(N)==="object"&&N.nodeType===1},g=function(N,I){if(N.nodeName==="IMG"&&N.hasAttribute("src")){var V=""+N.getAttribute("src");if(V.indexOf("data:image/")===0)return n2(unescape(V).split("base64,").pop());var z=t.loadFile(V,!0);if(z!==void 0)return z}if(N.nodeName==="CANVAS"){if(N.width===0||N.height===0)throw new Error("Given canvas must have data. Canvas width: "+N.width+", height: "+N.height);var Y;switch(I){case"PNG":Y="image/png";break;case"WEBP":Y="image/webp";break;default:Y="image/jpeg"}return n2(N.toDataURL(Y,1).split("base64,").pop())}},b=function(N){var I=this.internal.collections[e+"images"];if(I){for(var V in I)if(N===I[V].alias)return I[V]}},v=function(N,I,V){return N||I||(N=-96,I=-96),N<0&&(N=-1*V.width*72/N/this.internal.scaleFactor),I<0&&(I=-1*V.height*72/I/this.internal.scaleFactor),N===0&&(N=I*V.width/V.height),I===0&&(I=N*V.height/V.width),[N,I]},C=function(N,I,V,z,Y,D){var Z=v.call(this,V,z,Y),Q=this.internal.getCoordinateString,it=this.internal.getVerticalCoordinateString,mt=h.call(this);if(V=Z[0],z=Z[1],mt[Y.index]=Y,D){D*=Math.PI/180;var K=Math.cos(D),P=Math.sin(D),X=function(rt){return rt.toFixed(4)},et=[X(K),X(P),X(-1*P),X(K),0,0,"cm"]}this.internal.write("q"),D?(this.internal.write([1,"0","0",1,Q(N),it(I+z),"cm"].join(" ")),this.internal.write(et.join(" ")),this.internal.write([Q(V),"0","0",Q(z),"0","0","cm"].join(" "))):this.internal.write([Q(V),"0","0",Q(z),Q(N),it(I+z),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+Y.index+" Do"),this.internal.write("Q")},k=t.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};t.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var T=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},E=t.__addimage__.sHashCode=function(N){var I,V,z=0;if(typeof N=="string")for(V=N.length,I=0;I<V;I++)z=(z<<5)-z+N.charCodeAt(I),z|=0;else if(W(N))for(V=N.byteLength/2,I=0;I<V;I++)z=(z<<5)-z+N[I],z|=0;return z},L=t.__addimage__.validateStringAsBase64=function(N){(N=N||"").toString().trim();var I=!0;return N.length===0&&(I=!1),N.length%4!=0&&(I=!1),/^[A-Za-z0-9+/]+$/.test(N.substr(0,N.length-2))===!1&&(I=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(N.substr(-2))===!1&&(I=!1),I},O=t.__addimage__.extractImageFromDataUrl=function(N){if(N==null||!(N=N.trim()).startsWith("data:"))return null;var I=N.indexOf(",");return I<0?null:N.substring(0,I).trim().endsWith("base64")?N.substring(I+1):null};t.__addimage__.isArrayBuffer=function(N){return N instanceof ArrayBuffer};var W=t.__addimage__.isArrayBufferView=function(N){return N instanceof Int8Array||N instanceof Uint8Array||N instanceof Uint8ClampedArray||N instanceof Int16Array||N instanceof Uint16Array||N instanceof Int32Array||N instanceof Uint32Array||N instanceof Float32Array||N instanceof Float64Array},q=t.__addimage__.binaryStringToUint8Array=function(N){for(var I=N.length,V=new Uint8Array(I),z=0;z<I;z++)V[z]=N.charCodeAt(z);return V},U=t.__addimage__.arrayBufferToBinaryString=function(N){for(var I="",V=W(N)?N:new Uint8Array(N),z=0;z<V.length;z+=8192)I+=String.fromCharCode.apply(null,V.subarray(z,z+8192));return I};t.addImage=function(){var N,I,V,z,Y,D,Z,Q,it;if(typeof arguments[1]=="number"?(I=r,V=arguments[1],z=arguments[2],Y=arguments[3],D=arguments[4],Z=arguments[5],Q=arguments[6],it=arguments[7]):(I=arguments[1],V=arguments[2],z=arguments[3],Y=arguments[4],D=arguments[5],Z=arguments[6],Q=arguments[7],it=arguments[8]),Yn(N=arguments[0])==="object"&&!y(N)&&"imageData"in N){var mt=N;N=mt.imageData,I=mt.format||I||r,V=mt.x||V||0,z=mt.y||z||0,Y=mt.w||mt.width||Y,D=mt.h||mt.height||D,Z=mt.alias||Z,Q=mt.compression||Q,it=mt.rotation||mt.angle||it}var K=this.internal.getFilters();if(Q===void 0&&K.indexOf("FlateEncode")!==-1&&(Q="SLOW"),isNaN(V)||isNaN(z))throw new Error("Invalid coordinates passed to 
238jsPDF.addImage");u.call(this);var P=j.call(this,N,I,Z,Q);return C.call(this,V,z,Y,D,P,it),this};var j=function(N,I,V,z){var Y,D,Z;if(typeof N=="string"&&i(N)===r){N=unescape(N);var Q=M(N,!1);(Q!==""||(Q=t.loadFile(N,!0))!==void 0)&&(N=Q)}if(y(N)&&(N=g(N,I)),I=i(N,I),!p(I))throw new Error("addImage does not support files of type '"+I+"', please ensure that a plugin for '"+I+"' support is added.");if(((Z=V)==null||Z.length===0)&&(V=(function(it){return typeof it=="string"||W(it)?E(it):W(it.data)?E(it.data):null})(N)),(Y=b.call(this,V))||(N instanceof Uint8Array||I==="RGBA"||(D=N,N=q(N)),Y=this["process"+I.toUpperCase()](N,f.call(this),V,(function(it){return it&&typeof it=="string"&&(it=it.toUpperCase()),it in t.image_compression?it:T.NONE})(z),D)),!Y)throw new Error("An unknown error occurred whilst processing the image.");return Y},M=t.__addimage__.convertBase64ToBinaryString=function(N,I){I=typeof I!="boolean"||I;var V,z="";if(typeof N=="string"){var Y;V=(Y=O(N))!==null&&Y!==void 0?Y:N;try{z=n2(V)}catch(D){if(I)throw L(V)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+D.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return z};t.getImageProperties=function(N){var I,V,z="";if(y(N)&&(N=g(N)),typeof N=="string"&&i(N)===r&&((z=M(N,!1))===""&&(z=t.loadFile(N)||""),N=z),V=i(N),!p(V))throw new Error("addImage does not support files of type '"+V+"', please ensure that a plugin for '"+V+"' support is added.");if(N instanceof Uint8Array||(N=q(N)),!(I=this["process"+V.toUpperCase()](N)))throw new Error("An unknown error occurred whilst processing the image");return I.fileType=V,I}})(cr.API),(function(t){var e=function(r){if(r!==void 0&&r!="")return!0};cr.API.events.push(["addPage",function(r){this.internal.getPageInfo(r.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(r){for(var n,i,a,s=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,u=this.internal.getPageInfoByObjId(r.objId),h=r.pageContext.annotations,f=!1,p=0;p<h.length&&!f;p++)switch((n=h[p]).type){case"link":(e(n.options.url)||e(n.options.pageNumber))&&(f=!0);break;case"reference":case"text":case"freetext":f=!0}if(f!=0){this.internal.write("/Annots [");for(var y=0;y<h.length;y++){n=h[y];var g=this.internal.pdfEscape,b=this.internal.getEncryptor(r.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var v=this.internal.newAdditionalObject(),C=this.internal.newAdditionalObject(),k=this.internal.getEncryptor(v.objId),T=n.title||"Note";a="<</Type /Annot /Subtype /Text "+(i="/Rect ["+s(n.bounds.x)+" "+l(n.bounds.y+n.bounds.h)+" "+s(n.bounds.x+n.bounds.w)+" "+l(n.bounds.y)+"] ")+"/Contents ("+g(k(n.contents))+")",a+=" /Popup "+C.objId+" 0 R",a+=" /P "+u.objId+" 0 R",a+=" /T ("+g(k(T))+") >>",v.content=a;var E=v.objId+" 0 R";a="<</Type /Annot /Subtype /Popup "+(i="/Rect ["+s(n.bounds.x+30)+" "+l(n.bounds.y+n.bounds.h)+" "+s(n.bounds.x+n.bounds.w+30)+" "+l(n.bounds.y)+"] ")+" /Parent "+E,n.open&&(a+=" /Open true"),a+=" >>",C.content=a,this.internal.write(v.objId,"0 R",C.objId,"0 R");break;case"freetext":i="/Rect ["+s(n.bounds.x)+" "+l(n.bounds.y)+" "+s(n.bounds.x+n.bounds.w)+" "+l(n.bounds.y+n.bounds.h)+"] ";var L=n.color||"#000000";a="<</Type /Annot /Subtype /FreeText "+i+"/Contents ("+g(b(n.contents))+")",a+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+L+")",a+=" /Border [0 0 0]",a+=" >>",this.internal.write(a);break;case"link":if(n.options.name){var O=this.annotations._nameMap[n.options.name];n.options.pageNumber=O.page,n.options.top=O.y}else n.options.top||(n.options.top=0);if(i="/Rect ["+n.finalBounds.x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",a="",n.options.url)a="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /A <</S /URI /URI ("+g(b(n.options.url))+") >>";else if(n.options.pageNumber)switch(a="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(n.options.pageNumber).objId+" 0 R",n.options.magFactor=n.options.magFactor||"XYZ",n.options.magFactor){case"Fit":a+=" /Fit]";break;case"FitH":a+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,a+=" /FitV "+n.options.left+"]";break;default:var W=l(n.options.top);n.options.left=n.options.left||0,n.options.zoom===void 0&&(n.options.zoom=0),a+=" /XYZ "+n.options.left+" "+W+" "+n.options.zoom+"]"}a!=""&&(a+=" >>",this.internal.write(a))}}this.internal.write("]")}}]),t.createAnnotation=function(r){var n=this.internal.getCurrentPageInfo();
vendor: 23,780 bytes, line 238
238switch(r.type){case"link":this.link(r.bounds.x,r.bounds.y,r.bounds.w,r.bounds.h,r);break;case"text":case"freetext":n.pageContext.annotations.push(r)}},t.link=function(r,n,i,a,s){var l=this.internal.getCurrentPageInfo(),u=this.internal.getCoordinateString,h=this.internal.getVerticalCoordinateString;l.pageContext.annotations.push({finalBounds:{x:u(r),y:h(n),w:u(r+i),h:h(n+a)},options:s,type:"link"})},t.textWithLink=function(r,n,i,a){var s,l,u=this.getTextWidth(r),h=this.internal.getLineHeight()/this.internal.scaleFactor;if(a.maxWidth!==void 0){l=a.maxWidth;var f=this.splitTextToSize(r,l).length;s=Math.ceil(h*f)}else l=u,s=h;return this.text(r,n,i,a),i+=.2*h,a.align==="center"&&(n-=u/2),a.align==="right"&&(n-=u),this.link(n,i-h,l,s,a),u},t.getTextWidth=function(r){var n=this.internal.getFontSize();return this.getStringUnitWidth(r)*n/this.internal.scaleFactor}})(cr.API),(function(t){var e={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},r={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},n={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];t.__arabicParser__={};var a=t.__arabicParser__.isInArabicSubstitutionA=function(v){return e[v.charCodeAt(0)]!==void 0},s=t.__arabicParser__.isArabicLetter=function(v){return typeof v=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(v)},l=t.__arabicParser__.isArabicEndLetter=function(v){return s(v)&&a(v)&&e[v.charCodeAt(0)].length<=2},u=t.__arabicParser__.isArabicAlfLetter=function(v){return s(v)&&i.indexOf(v.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(v){return s(v)&&a(v)&&e[v.charCodeAt(0)].length>=1};var h=t.__arabicParser__.arabicLetterHasFinalForm=function(v){return s(v)&&a(v)&&e[v.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(v){return s(v)&&a(v)&&e[v.charCodeAt(0)].length>=3};var f=t.__arabicParser__.arabicLetterHasMedialForm=function(v){return s(v)&&a(v)&&e[v.charCodeAt(0)].length==4},p=t.__arabicParser__.resolveLigatures=function(v){var C=0,k=r,T="",E=0;for(C=0;C<v.length;C+=1)k[v.charCodeAt(C)]!==void 0?(E++,typeof(k=k[v.charCodeAt(C)])=="number"&&(T+=String.fromCharCode(k),k=r,E=0),C===v.length-1&&(k=r,T+=v.charAt(C-(E-1)),C-=E-1,E=0)):(k=r,T+=v.charAt(C-E),C-=E,E=0);return T};t.__arabicParser__.isArabicDiacritic=function(v){return v!==void 0&&n[v.charCodeAt(0)]!==void 0};var y=t.__arabicParser__.getCorrectForm=function(v,C,k){return s(v)?a(v)===!1?-1:!h(v)||!s(C)&&!s(k)||!s(k)&&l(C)||l(v)&&!s(C)||l(v)&&u(C)||l(v)&&l(C)?0:f(v)&&s(C)&&!l(C)&&s(k)&&h(k)?3:l(v)||!s(k)?1:2:-1},g=function(v){var C=0,k=0,T=0,E="",L="",O="",W=(v=v||"").split("\\s+"),q=[];for(C=0;C<W.length;C+=1){for(q.push(""),k=0;k<W[C].length;k+=1)E=W[C][k],L=W[C][k-1],O=W[C][k+1],s(E)?(T=y(E,L,O),q[C]+=T!==-1?String.fromCharCode(e[E.charCodeAt(0)][T]):E):q[C]+=E;q[C]=p(q[C])}return q.join(" ")},b=t.__arabicParser__.processArabic=t.processArabic=function(){var v,C=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,k=[];if(Array.isArray(C)){var T=0;for(k=[],T=0;T<C.length;T+=1)Array.isArray(C[T])?k.push([g(C[T][0]),C[T][1],C[T][2]]):k.push([g(C[T])]);v=k}else v=g(C);return typeof arguments[0]=="string"?v:(arguments[0].text=v,arguments[0])};t.events.push(["preProcessText",b])})(cr.API),cr.API.autoPrint=function(t){var e;return(t=t||{}).variant=t.variant||"non-conform",t.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+e+" 0 R")})),this},(function(t){var e=function(){var r=void 0;Object.defineProperty(this,"pdf",{get:function(){return r},set:function(l){r=l}});var n=150;Object.defineProperty(this,"width",{get:function(){return n},set:function(l){n=isNaN(l)||Number.isInteger(l)===!1||l<0?150:l,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=n+1)}});var i=300;Object.defineProperty(this,"height",{get:function(){return i},set:function(l){i=isNaN(l)||Number.isInteger(l)===!1||l<0?300:l,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=i+1)}});var a=[];Object.defineProperty(this,"childNodes",{get:function(){return a},set:function(l){a=l}});var s={};Object.defineProperty(this,"style",{get:function(){return s},set:function(l){s=l}}),Object.defineProperty(this,"parentNode",{})};e.prototype.getContext=function(r,n){var i;if((r=r||"2d")!=="2d")return null;for(i in n)this.pdf.context2d.hasOwnProperty(i)&&(this.pdf.context2d[i]=n[i]);return this.pdf.context2d._canvas=this,this.pdf.context2d},e.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new e,this.canvas.pdf=this}])})(cr.API),(function(t){var e={left:0,top:0,bottom:0,right:0},r=!1,n=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},e),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var u=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return u},set:function(v){u=v}});var h=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return h},set:function(v){h=v}});var f=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return f},set:function(v){f=v}});var p=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return p},set:function(v){p=v}});var y=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return y},set:function(v){y=v}});var g=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return g},set:function(v){g=v}});var b=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return b},set:function(v){b=v}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(u){return n.call(this),this.internal.__cell__.headerFunction=typeof u=="function"?u:void 0,this},t.getTextDimensions=function(u,h){n.call(this);var f=(h=h||{}).fontSize||this.getFontSize(),p=h.font||this.getFont(),y=h.scaleFactor||this.internal.scaleFactor,g=0,b=0,v=0,C=this;if(!Array.isArray(u)&&typeof u!="string"){if(typeof u!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");u=String(u)}var k=h.maxWidth;k>0?typeof u=="string"?u=this.splitTextToSize(u,k):Object.prototype.toString.call(u)==="[object Array]"&&(u=u.reduce(function(E,L){return E.concat(C.splitTextToSize(L,k))},[])):u=Array.isArray(u)?u:[u];for(var T=0;T<u.length;T++)g<(v=this.getStringUnitWidth(u[T],{font:p})*f)&&(g=v);return g!==0&&(b=u.length),{w:g/=y,h:Math.max((b*f*this.getLineHeightFactor()-f*(this.getLineHeightFactor()-1))/y,0)}},t.cellAddPage=function(){n.call(this),this.addPage();var u=this.internal.__cell__.margins||e;return this.internal.__cell__.lastCell=new a(u.left,u.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=t.cell=function(){var u;u=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),n.call(this);var h=this.internal.__cell__.lastCell,f=this.internal.__cell__.padding,p=this.internal.__cell__.margins||e,y=this.internal.__cell__.tableHeaderRow,g=this.internal.__cell__.printHeaders;return h.lineNumber!==void 0&&(h.lineNumber===u.lineNumber?(u.x=(h.x||0)+(h.width||0),u.y=h.y||0):h.y+h.height+u.height+p.bottom>this.getPageHeight()?(this.cellAddPage(),u.y=p.top,g&&y&&(this.printHeaderRow(u.lineNumber,!0),u.y+=y[0].height)):u.y=h.y+h.height||u.y),u.text[0]!==void 0&&(this.rect(u.x,u.y,u.width,u.height,r===!0?"FD":void 0),u.align==="right"?this.text(u.text,u.x+u.width-f,u.y+f,{align:"right",baseline:"top"}):u.align==="center"?this.text(u.text,u.x+u.width/2,u.y+f,{align:"center",baseline:"top",maxWidth:u.width-f-f}):this.text(u.text,u.x+f,u.y+f,{align:"left",baseline:"top",maxWidth:u.width-f-f})),this.internal.__cell__.lastCell=u,this};t.table=function(u,h,f,p,y){if(n.call(this),!f)throw new Error("No data for PDF table.");var g,b,v,C,k=[],T=[],E=[],L={},O={},W=[],q=[],U=(y=y||{}).autoSize||!1,j=y.printHeaders!==!1,M=y.css&&y.css["font-size"]!==void 0?16*y.css["font-size"]:y.fontSize||12,N=y.margins||Object.assign({width:this.getPageWidth()},e),I=typeof y.padding=="number"?y.padding:3,V=y.headerBackgroundColor||"#c8c8c8",z=y.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=j,this.internal.__cell__.margins=N,this.internal.__cell__.table_font_size=M,this.internal.__cell__.padding=I,this.internal.__cell__.headerBackgroundColor=V,this.internal.__cell__.headerTextColor=z,this.setFontSize(M),p==null)T=k=Object.keys(f[0]),E=k.map(function(){return"left"});else if(Array.isArray(p)&&Yn(p[0])==="object")for(k=p.map(function(mt){return mt.name}),T=p.map(function(mt){return mt.prompt||mt.name||""}),E=p.map(function(mt){return mt.align||"left"}),g=0;g<p.length;g+=1)O[p[g].name]=.7499990551181103*p[g].width;else Array.isArray(p)&&typeof p[0]=="string"&&(T=k=p,E=k.map(function(){return"left"}));if(U||Array.isArray(p)&&typeof p[0]=="string")for(g=0;g<k.length;g+=1){for(L[C=k[g]]=f.map(function(mt){return mt[C]}),this.setFont(void 0,"bold"),W.push(this.getTextDimensions(T[g],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),b=L[C],this.setFont(void 0,"normal"),v=0;v<b.length;v+=1)W.push(this.getTextDimensions(b[v],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);O[C]=Math.max.apply(null,W)+I+I,W=[]}if(j){var Y={};for(g=0;g<k.length;g+=1)Y[k[g]]={},Y[k[g]].text=T[g],Y[k[g]].align=E[g];var D=l.call(this,Y,O);q=k.map(function(mt){return new a(u,h,O[mt],D,Y[mt].text,void 0,Y[mt].align)}),this.setTableHeaderRow(q),this.printHeaderRow(1,!1)}var Z=p.reduce(function(mt,K){return mt[K.name]=K.align,mt},{});for(g=0;g<f.length;g+=1){"rowStart"in y&&y.rowStart instanceof Function&&y.rowStart({row:g,data:f[g]},this);var Q=l.call(this,f[g],O);for(v=0;v<k.length;v+=1){var it=f[g][k[v]];"cellStart"in y&&y.cellStart instanceof Function&&y.cellStart({row:g,col:v,data:it},this),s.call(this,new a(u,h,O[k[v]],Q,it,g+2,Z[k[v]]))}}return this.internal.__cell__.table_x=u,this.internal.__cell__.table_y=h,this};var l=function(u,h){var f=this.internal.__cell__.padding,p=this.internal.__cell__.table_font_size,y=this.internal.scaleFactor;return Object.keys(u).map(function(g){var b=u[g];return this.splitTextToSize(b.hasOwnProperty("text")?b.text:b,h[g]-f-f)},this).map(function(g){return this.getLineHeightFactor()*g.length*p/y+f+f},this).reduce(function(g,b){return Math.max(g,b)},0)};t.setTableHeaderRow=function(u){n.call(this),this.internal.__cell__.tableHeaderRow=u},t.printHeaderRow=function(u,h){if(n.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var f;if(r=!0,typeof this.internal.__cell__.headerFunction=="function"){var p=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(p[0],p[1],p[2],p[3],void 0,-1)}this.setFont(void 0,"bold");for(var y=[],g=0;g<this.internal.__cell__.tableHeaderRow.length;g+=1){f=this.internal.__cell__.tableHeaderRow[g].clone(),h&&(f.y=this.internal.__cell__.margins.top||0,y.push(f)),f.lineNumber=u;var b=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,f),this.setTextColor(b)}y.length>0&&this.setTableHeaderRow(y),this.setFont(void 0,"normal"),r=!1}})(cr.API);var yE={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},bE=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],U5=mE(bE),vE=[100,200,300,400,500,600,700,800,900],YX=mE(vE);function Lx(t){var e=t.family.replace(/"|'/g,"").toLowerCase(),r=(function(a){return yE[a=a||"normal"]?a:"normal"})(t.style),n=(function(a){return a?typeof a=="number"?a>=100&&a<=900&&a%100==0?a:400:/^\d00$/.test(a)?parseInt(a):a==="bold"?700:400:400})(t.weight),i=(function(a){return typeof U5[a=a||"normal"]=="number"?a:"normal"})(t.stretch);return{family:e,style:r,weight:n,stretch:i,src:t.src||[],ref:t.ref||{name:e,style:[i,r,n].join(" ")}}}function YA(t,e,r,n){var i;for(i=r;i>=0&&i<e.length;i+=n)if(t[e[i]])return t[e[i]];for(i=r;i>=0&&i<e.length;i-=n)if(t[e[i]])return t[e[i]]}var XX={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},XA={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function KA(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function ZA(t){return t.trimLeft()}function KX(t,e){for(var r=0;r<t.length;){if(t.charAt(r)===e)return[t.substring(0,r),t.substring(r+1)];r+=1}return null}function ZX(t){var e=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return e===null?null:[e[0],t.substring(e[0].length)]}var Kd,P1,QA,JA,t6,Ex=["times"];function e6(t,e,r,n,i){var a=4,s=n6;switch(i){case cr.API.image_compression.FAST:a=1,s=r6;break;case cr.API.image_compression.MEDIUM:a=6,s=i6;break;case cr.API.image_compression.SLOW:a=9,s=a6}t=(function(u,h,f,p){for(var y,g=u.length/h,b=new Uint8Array(u.length+g),v=[QX,r6,n6,i6,a6],C=0;C<g;C+=1){var k=C*h,T=u.subarray(k,k+h);if(p)b.set(p(T,f,y),k+C);else{for(var E=v.length,L=[],O=0;O<E;O+=1)L[O]=v[O](T,f,y);var W=tK(L.concat());b.set(L[W],k+C)}y=T}return b})(t,e,Math.ceil(r*n/8),s);var l=j5(t,{level:a});return cr.API.__addimage__.arrayBufferToBinaryString(l)}function QX(t){var e=Array.apply([],t);return e.unshift(0),e}function r6(t,e){var r=t.length,n=[];n[0]=1;for(var i=0;i<r;i+=1){var a=t[i-e]||0;n[i+1]=t[i]-a+256&255}return n}function n6(t,e,r){var n=t.length,i=[];i[0]=2;for(var a=0;a<n;a+=1){var s=r&&r[a]||0;i[a+1]=t[a]-s+256&255}return i}function i6(t,e,r){var n=t.length,i=[];i[0]=3;for(var a=0;a<n;a+=1){var s=t[a-e]||0,l=r&&r[a]||0;i[a+1]=t[a]+256-(s+l>>>1)&255}return i}function a6(t,e,r){var n=t.length,i=[];i[0]=4;for(var a=0;a<n;a+=1){var s=JX(t[a-e]||0,r&&r[a]||0,r&&r[a-e]||0);i[a+1]=t[a]-s+256&255}return i}function JX(t,e,r){if(t===e&&e===r)return t;var n=Math.abs(e-r),i=Math.abs(t-r),a=Math.abs(t+e-r-r);return n<=i&&n<=a?t:i<=a?e:r}function tK(t){var e=t.map(function(r){return r.reduce(function(n,i){return n+Math.abs(i)},0)});return e.indexOf(Math.min.apply(null,e))}function Mx(t,e,r){var n=e*r,i=Math.floor(n/8),a=16-(n-8*i+r),s=(1<<r)-1;return xE(t,i)>>a&s}function o6(t,e,r,n){var i=r*n,a=Math.floor(i/8),s=16-(i-8*a+n),l=(1<<n)-1,u=(e&l)<<s;(function(h,f,p){if(f+1<h.byteLength)h.setUint16(f,p,!1);else{var y=p>>8&255;h.setUint8(f,y)}})(t,a,xE(t,a)&~(l<<s)&65535|u)}function xE(t,e){return e+1<t.byteLength?t.getUint16(e,!1):t.getUint8(e)<<8}function eK(t){var e=0;if(t[e++]!==71||t[e++]!==73||t[e++]!==70||t[e++]!==56||(t[e++]+1&253)!=56||t[e++]!==97)throw new Error("Invalid GIF 87a/89a header.");var r=t[e++]|t[e++]<<8,n=t[e++]|t[e++]<<8,i=t[e++],a=i>>7,s=1<<1+(7&i);t[e++],t[e++];var l=null,u=null;a&&(l=e,u=s,e+=3*s);var h=!0,f=[],p=0,y=null,g=0,b=null;for(this.width=r,this.height=n;h&&e<t.length;)switch(t[e++]){case 33:switch(t[e++]){case 255:if(t[e]!==11||t[e+1]==78&&t[e+2]==69&&t[e+3]==84&&t[e+4]==83&&t[e+5]==67&&t[e+6]==65&&t[e+7]==80&&t[e+8]==69&&t[e+9]==50&&t[e+10]==46&&t[e+11]==48&&t[e+12]==3&&t[e+13]==1&&t[e+16]==0)e+=14,b=t[e++]|t[e++]<<8,e++;else for(e+=12;;){if(!((N=t[e++])>=0))throw Error("Invalid block size");if(N===0)break;e+=N}break;case 249:if(t[e++]!==4||t[e+4]!==0)throw new Error("Invalid graphics extension block.");var v=t[e++];p=t[e++]|t[e++]<<8,y=t[e++],1&v||(y=null),g=v>>2&7,e++;break;case 254:for(;;){if(!((N=t[e++])>=0))throw Error("Invalid block size");if(N===0)break;e+=N}break;default:throw new Error("Unknown graphic control label: 0x"+t[e-1].toString(16))}break;case 44:var C=t[e++]|t[e++]<<8,k=t[e++]|t[e++]<<8,T=t[e++]|t[e++]<<8,E=t[e++]|t[e++]<<8,L=t[e++],O=L>>6&1,W=1<<1+(7&L),q=l,U=u,j=!1;L>>7&&(j=!0,q=e,U=W,e+=3*W);var M=e;for(e++;;){var N;if(!((N=t[e++])>=0))throw Error("Invalid block size");if(N===0)break;e+=N}f.push({x:C,y:k,width:T,height:E,has_local_palette:j,palette_offset:q,palette_size:U,data_offset:M,data_length:e-M,transparent_index:y,interlaced:!!O,delay:p,disposal:g});break;case 59:h=!1;break;default:throw new Error("Unknown gif block: 0x"+t[e-1].toString(16))}this.numFrames=function(){return f.length},this.loopCount=function(){return b},this.frameInfo=function(I){if(I<0||I>=f.length)throw new Error("Frame index out of range.");return f[I]},this.decodeAndBlitFrameBGRA=function(I,V){var z=this.frameInfo(I),Y=z.width*z.height;if(Y>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var D=new Uint8Array(Y);s6(t,z.data_offset,D,Y);var Z=z.palette_offset,Q=z.transparent_index;Q===null&&(Q=256);var it=z.width,mt=r-it,K=it,P=4*(z.y*r+z.x),X=4*((z.y+z.height)*r+z.x),et=P,rt=4*mt;z.interlaced===!0&&(rt+=4*r*7);for(var lt=8,ht=0,bt=D.length;ht<bt;++ht){var yt=D[ht];if(K===0&&(K=it,(et+=rt)>=X&&(rt=4*mt+4*r*(lt-1),et=P+(it+mt)*(lt<<1),lt>>=1)),yt===Q)et+=4;else{var kt=t[Z+3*yt],Rt=t[Z+3*yt+1],wt=t[Z+3*yt+2];V[et++]=wt,V[et++]=Rt,V[et++]=kt,V[et++]=255}--K}},this.decodeAndBlitFrameRGBA=function(I,V){var z=this.frameInfo(I),Y=z.width*z.height;if(Y>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var D=new Uint8Array(Y);s6(t,z.data_offset,D,Y);var Z=z.palette_offset,Q=z.transparent_index;Q===null&&(Q=256);var it=z.width,mt=r-it,K=it,P=4*(z.y*r+z.x),X=4*((z.y+z.height)*r+z.x),et=P,rt=4*mt;z.interlaced===!0&&(rt+=4*r*7);for(var lt=8,ht=0,bt=D.length;ht<bt;++ht){var yt=D[ht];if(K===0&&(K=it,(et+=rt)>=X&&(rt=4*mt+4*r*(lt-1),et=P+(it+mt)*(lt<<1),lt>>=1)),yt===Q)et+=4;else{var kt=t[Z+3*yt],Rt=t[Z+3*yt+1],wt=t[Z+3*yt+2];V[et++]=kt,V[et++]=Rt,V[et++]=wt,V[et++]=255}--K}}}function s6(t,e,r,n){for(var i=t[e++],a=1<<i,s=a+1,l=s+1,u=i+1,h=(1<<u)-1,f=0,p=0,y=0,g=t[e++],b=new Int32Array(4096),v=null;;){for(;f<16&&g!==0;)p|=t[e++]<<f,f+=8,g===1?g=t[e++]:--g;if(f<u)break;var C=p&h;if(p>>=u,f-=u,C!==a){if(C===s)break;for(var k=C<l?C:v,T=0,E=k;E>a;)E=b[E]>>8,++T;var L=E;if(y+T+(k!==C?1:0)>n)return void ci.log("Warning, gif stream longer than expected.");r[y++]=L;var O=y+=T;for(k!==C&&(r[y++]=L),E=k;T--;)E=b[E],r[--O]=255&E,E>>=8;v!==null&&l<4096&&(b[l++]=v<<8|L,l>=h+1&&u<12&&(++u,h=h<<1|1)),v=C}else l=s+1,h=(1<<(u=i+1))-1,v=null}return y!==n&&ci.log("Warning, gif stream shorter than expected."),r}function Rx(t){var e,r,n,i,a,s=Math.floor,l=new Array(64),u=new Array(64),h=new Array(64),f=new Array(64),p=new Array(65535),y=new Array(65535),g=new Array(64),b=new Array(64),v=[],C=0,k=7,T=new Array(64),E=new Array(64),L=new Array(64),O=new Array(256),W=new Array(2048),q=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],U=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],j=[0,1,2,3,4,5,6,7,8,9,10,11],M=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],N=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],I=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],V=[0,1,2,3,4,5,6,7,8,9,10,11],z=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Y=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function D(P,X){for(var et=0,rt=0,lt=new Array,ht=1;ht<=16;ht++){for(var bt=1;bt<=P[ht];bt++)lt[X[rt]]=[],lt[X[rt]][0]=et,lt[X[rt]][1]=ht,rt++,et++;et*=2}return lt}function Z(P){for(var X=P[0],et=P[1]-1;et>=0;)X&1<<et&&(C|=1<<k),et--,--k<0&&(C==255?(Q(255),Q(0)):Q(C),k=7,C=0)}function Q(P){v.push(P)}function it(P){Q(P>>8&255),Q(255&P)}function mt(P,X,et,rt,lt){for(var ht,bt=lt[0],yt=lt[240],kt=(function(Ot,be){var Nt,Dt,Vt,de,Be,_e,Ne,Oe,we,Ae,ce=0;for(we=0;we<8;++we){Nt=Ot[ce],Dt=Ot[ce+1],Vt=Ot[ce+2],de=Ot[ce+3],Be=Ot[ce+4],_e=Ot[ce+5],Ne=Ot[ce+6];var Er=Nt+(Oe=Ot[ce+7]),He=Nt-Oe,Jt=Dt+Ne,Se=Dt-Ne,Pe=Vt+_e,je=Vt-_e,Et=de+
238Be,fe=de-Be,te=Er+Et,Ze=Er-Et,Ge=Jt+Pe,Me=Jt-Pe;Ot[ce]=te+Ge,Ot[ce+4]=te-Ge;var lr=.707106781*(Me+Ze);Ot[ce+2]=Ze+lr,Ot[ce+6]=Ze-lr;var Sn=.382683433*((te=fe+je)-(Me=Se+He)),Xt=.5411961*te+Sn,me=1.306562965*Me+Sn,Br=.707106781*(Ge=je+Se),ee=He+Br,ze=He-Br;Ot[ce+5]=ze+Xt,Ot[ce+3]=ze-Xt,Ot[ce+1]=ee+me,Ot[ce+7]=ee-me,ce+=8}for(ce=0,we=0;we<8;++we){Nt=Ot[ce],Dt=Ot[ce+8],Vt=Ot[ce+16],de=Ot[ce+24],Be=Ot[ce+32],_e=Ot[ce+40],Ne=Ot[ce+48];var br=Nt+(Oe=Ot[ce+56]),rr=Nt-Oe,jr=Dt+Ne,vr=Dt-Ne,Fr=Vt+_e,Or=Vt-_e,dn=de+Be,Dr=de-Be,mr=br+dn,Cr=br-dn,Rr=jr+Fr,Wt=jr-Fr;Ot[ce]=mr+Rr,Ot[ce+32]=mr-Rr;var Gt=.707106781*(Wt+Cr);Ot[ce+16]=Cr+Gt,Ot[ce+48]=Cr-Gt;var Re=.382683433*((mr=Dr+Or)-(Wt=vr+rr)),Ke=.5411961*mr+Re,ge=1.306562965*Wt+Re,vt=.707106781*(Rr=Or+vr),Zt=rr+vt,St=rr-vt;Ot[ce+40]=St+Ke,Ot[ce+24]=St-Ke,Ot[ce+8]=Zt+ge,Ot[ce+56]=Zt-ge,ce++}for(we=0;we<64;++we)Ae=Ot[we]*be[we],g[we]=Ae>0?Ae+.5|0:Ae-.5|0;return g})(P,X),Rt=0;Rt<64;++Rt)b[q[Rt]]=kt[Rt];var wt=b[0]-et;et=b[0],wt==0?Z(rt[0]):(Z(rt[y[ht=32767+wt]]),Z(p[ht]));for(var qt=63;qt>0&&b[qt]==0;)qt--;if(qt==0)return Z(bt),et;for(var Ht,at=1;at<=qt;){for(var ae=at;b[at]==0&&at<=qt;)++at;var Kt=at-ae;if(Kt>=16){Ht=Kt>>4;for(var le=1;le<=Ht;++le)Z(yt);Kt&=15}ht=32767+b[at],Z(lt[(Kt<<4)+y[ht]]),Z(p[ht]),at++}return qt!=63&&Z(bt),et}function K(P){P=Math.min(Math.max(P,1),100),a!=P&&((function(X){for(var et=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],rt=0;rt<64;rt++){var lt=s((et[rt]*X+50)/100);lt=Math.min(Math.max(lt,1),255),l[q[rt]]=lt}for(var ht=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],bt=0;bt<64;bt++){var yt=s((ht[bt]*X+50)/100);yt=Math.min(Math.max(yt,1),255),u[q[bt]]=yt}for(var kt=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Rt=0,wt=0;wt<8;wt++)for(var qt=0;qt<8;qt++)h[Rt]=1/(l[q[Rt]]*kt[wt]*kt[qt]*8),f[Rt]=1/(u[q[Rt]]*kt[wt]*kt[qt]*8),Rt++})(P<50?Math.floor(5e3/P):Math.floor(200-2*P)),a=P)}this.encode=function(P,X){X&&K(X),v=new Array,C=0,k=7,it(65496),it(65504),it(16),Q(74),Q(70),Q(73),Q(70),Q(0),Q(1),Q(1),Q(0),it(1),it(1),Q(0),Q(0),(function(){it(65499),it(132),Q(0);for(var Dt=0;Dt<64;Dt++)Q(l[Dt]);Q(1);for(var Vt=0;Vt<64;Vt++)Q(u[Vt])})(),(function(Dt,Vt){it(65472),it(17),Q(8),it(Vt),it(Dt),Q(3),Q(1),Q(17),Q(0),Q(2),Q(17),Q(1),Q(3),Q(17),Q(1)})(P.width,P.height),(function(){it(65476),it(418),Q(0);for(var Dt=0;Dt<16;Dt++)Q(U[Dt+1]);for(var Vt=0;Vt<=11;Vt++)Q(j[Vt]);Q(16);for(var de=0;de<16;de++)Q(M[de+1]);for(var Be=0;Be<=161;Be++)Q(N[Be]);Q(1);for(var _e=0;_e<16;_e++)Q(I[_e+1]);for(var Ne=0;Ne<=11;Ne++)Q(V[Ne]);Q(17);for(var Oe=0;Oe<16;Oe++)Q(z[Oe+1]);for(var we=0;we<=161;we++)Q(Y[we])})(),it(65498),it(12),Q(3),Q(1),Q(0),Q(2),Q(17),Q(3),Q(17),Q(0),Q(63),Q(0);var et=0,rt=0,lt=0;C=0,k=7,this.encode.displayName="_encode_";for(var ht,bt,yt,kt,Rt,wt,qt,Ht,at,ae=P.data,Kt=P.width,le=P.height,Ot=4*Kt,be=0;be<le;){for(ht=0;ht<Ot;){for(Rt=Ot*be+ht,qt=-1,Ht=0,at=0;at<64;at++)wt=Rt+(Ht=at>>3)*Ot+(qt=4*(7&at)),be+Ht>=le&&(wt-=Ot*(be+1+Ht-le)),ht+qt>=Ot&&(wt-=ht+qt-Ot+4),bt=ae[wt++],yt=ae[wt++],kt=ae[wt++],T[at]=(W[bt]+W[yt+256|0]+W[kt+512|0]>>16)-128,E[at]=(W[bt+768|0]+W[yt+1024|0]+W[kt+1280|0]>>16)-128,L[at]=(W[bt+1280|0]+W[yt+1536|0]+W[kt+1792|0]>>16)-128;et=mt(T,h,et,e,n),rt=mt(E,f,rt,r,i),lt=mt(L,f,lt,r,i),ht+=32}be+=8}if(k>=0){var Nt=[];Nt[1]=k+1,Nt[0]=(1<<k+1)-1,Z(Nt)}return it(65497),new Uint8Array(v)},t=t||50,(function(){for(var P=String.fromCharCode,X=0;X<256;X++)O[X]=P(X)})(),e=D(U,j),r=D(I,V),n=D(M,N),i=D(z,Y),(function(){for(var P=1,X=2,et=1;et<=15;et++){for(var rt=P;rt<X;rt++)y[32767+rt]=et,p[32767+rt]=[],p[32767+rt][1]=et,p[32767+rt][0]=rt;for(var lt=-(X-1);lt<=-P;lt++)y[32767+lt]=et,p[32767+lt]=[],p[32767+lt][1]=et,p[32767+lt][0]=X-1+lt;P<<=1,X<<=1}})(),(function(){for(var P=0;P<256;P++)W[P]=19595*P,W[P+256|0]=38470*P,W[P+512|0]=7471*P+32768,W[P+768|0]=-11059*P,W[P+1024|
vendor: 26,805 bytes, line 238
2380]=-21709*P,W[P+1280|0]=32768*P+8421375,W[P+1536|0]=-27439*P,W[P+1792|0]=-5329*P})(),K(t)}function Bl(t,e){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!e,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function l6(t){function e(j){if(!j)throw Error("assert :P")}function r(j,M,N){for(var I=0;4>I;I++)if(j[M+I]!=N.charCodeAt(I))return!0;return!1}function n(j,M,N,I,V){for(var z=0;z<V;z++)j[M+z]=N[I+z]}function i(j,M,N,I){for(var V=0;V<I;V++)j[M+V]=N}function a(j){return new Int32Array(j)}function s(j,M){for(var N=[],I=0;I<j;I++)N.push(new M);return N}function l(j,M){var N=[];return(function I(V,z,Y){for(var D=Y[z],Z=0;Z<D&&(V.push(Y.length>z+1?[]:new M),!(Y.length<z+1));Z++)I(V[Z],z+1,Y)})(N,0,j),N}var u=function(){var j=this;function M(x,_){for(var B=1<<_-1>>>0;x&B;)B>>>=1;return B?(x&B-1)+B:x}function N(x,_,B,F,tt){e(!(F%B));do x[_+(F-=B)]=tt;while(0<F)}function I(x,_,B,F,tt){if(e(2328>=tt),512>=tt)var nt=a(512);else if((nt=a(tt))==null)return 0;return(function(ot,ct,ut,dt,At,It){var ft,Mt,Pt=ct,ie=1<<ut,jt=a(16),re=a(16);for(e(At!=0),e(dt!=null),e(ot!=null),e(0<ut),Mt=0;Mt<At;++Mt){if(15<dt[Mt])return 0;++jt[dt[Mt]]}if(jt[0]==At)return 0;for(re[1]=0,ft=1;15>ft;++ft){if(jt[ft]>1<<ft)return 0;re[ft+1]=re[ft]+jt[ft]}for(Mt=0;Mt<At;++Mt)ft=dt[Mt],0<dt[Mt]&&(It[re[ft]++]=Mt);if(re[15]==1)return(dt=new V).g=0,dt.value=It[0],N(ot,Pt,1,ie,dt),ie;var he,Ce=-1,ve=ie-1,nr=0,Ve=1,qr=1,Qe=1<<ut;for(Mt=0,ft=1,At=2;ft<=ut;++ft,At<<=1){if(Ve+=qr<<=1,0>(qr-=jt[ft]))return 0;for(;0<jt[ft];--jt[ft])(dt=new V).g=ft,dt.value=It[Mt++],N(ot,Pt+nr,At,Qe,dt),nr=M(nr,ft)}for(ft=ut+1,At=2;15>=ft;++ft,At<<=1){if(Ve+=qr<<=1,0>(qr-=jt[ft]))return 0;for(;0<jt[ft];--jt[ft]){if(dt=new V,(nr&ve)!=Ce){for(Pt+=Qe,he=1<<(Ce=ft)-ut;15>Ce&&!(0>=(he-=jt[Ce]));)++Ce,he<<=1;ie+=Qe=1<<(he=Ce-ut),ot[ct+(Ce=nr&ve)].g=he+ut,ot[ct+Ce].value=Pt-ct-Ce}dt.g=ft-ut,dt.value=It[Mt++],N(ot,Pt+(nr>>ut),At,Qe,dt),nr=M(nr,ft)}}return Ve!=2*re[15]-1?0:ie})(x,_,B,F,tt,nt)}function V(){this.value=this.g=0}function z(){this.value=this.g=0}function Y(){this.G=s(5,V),this.H=a(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(ec,z)}function D(x,_,B,F){e(x!=null),e(_!=null),e(2147483648>F),x.Ca=254,x.I=0,x.b=-8,x.Ka=0,x.oa=_,x.pa=B,x.Jd=_,x.Yc=B+F,x.Zc=4<=F?B+F-4+1:B,bt(x)}function Z(x,_){for(var B=0;0<_--;)B|=kt(x,128)<<_;return B}function Q(x,_){var B=Z(x,_);return yt(x)?-B:B}function it(x,_,B,F){var tt,nt=0;for(e(x!=null),e(_!=null),e(4294967288>F),x.Sb=F,x.Ra=0,x.u=0,x.h=0,4<F&&(F=4),tt=0;tt<F;++tt)nt+=_[B+tt]<<8*tt;x.Ra=nt,x.bb=F,x.oa=_,x.pa=B}function mt(x){for(;8<=x.u&&x.bb<x.Sb;)x.Ra>>>=8,x.Ra+=x.oa[x.pa+x.bb]<<zs-8>>>0,++x.bb,x.u-=8;rt(x)&&(x.h=1,x.u=0)}function K(x,_){if(e(0<=_),!x.h&&_<=$a){var B=et(x)&Za[_];return x.u+=_,mt(x),B}return x.h=1,x.u=0}function P(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function X(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function et(x){return x.Ra>>>(x.u&zs-1)>>>0}function rt(x){return e(x.bb<=x.Sb),x.h||x.bb==x.Sb&&x.u>zs}function lt(x,_){x.u=_,x.h=rt(x)}function ht(x){x.u>=Fs&&(e(x.u>=Fs),mt(x))}function bt(x){e(x!=null&&x.oa!=null),x.pa<x.Zc?(x.I=(x.oa[x.pa++]|x.I<<8)>>>0,x.b+=8):(e(x!=null&&x.oa!=null),x.pa<x.Yc?(x.b+=8,x.I=x.oa[x.pa++]|x.I<<8):x.Ka?x.b=0:(x.I<<=8,x.b+=8,x.Ka=1))}function yt(x){return Z(x,1)}function kt(x,_){var B=x.Ca;0>x.b&&bt(x);var F=x.b,tt=B*_>>>8,nt=(x.I>>>F>tt)+0;for(nt?(B-=tt,x.I-=tt+1<<F>>>0):B=tt+1,F=B,tt=0;256<=F;)tt+=8,F>>=8;return F=7^tt+xl[F],x.b-=F,x.Ca=(B<<F)-1,nt}function Rt(x,_,B){x[_+0]=B>>24&255,x[_+1]=B>>16&255,x[_+2]=B>>8&255,x[_+3]=255&B}function wt(x,_){return x[_+0]|x[_+1]<<8}function qt(x,_){return wt(x,_)|x[_+2]<<16}function Ht(x,_){return wt(x,_)|wt(x,_+2)<<16}function at(x,_){var B=1<<_;return e(x!=null),e(0<_),x.X=a(B),x.X==null?0:(x.Mb=32-_,x.Xa=_,1)}function ae(x,_){e(x!=null),e(_!=null),e(x.Xa==_.Xa),n(_.X,0,x.X,0,1<<_.Xa)}function Kt(){this.X=[],this.Xa=this.Mb=0}function le(x,_,B,F){e(B!=null),e(F!=null);var tt=B[0],nt=F[0];return tt==0&&(tt=(x*nt+_/2)/_),nt==0&&(nt=(_*tt+x/2)/x),0>=tt||0>=nt?0:(B[0]=tt,F[0]=nt,1)}function Ot(x,_){return x+(1<<_)-1>>>_}function be(x,_){return((4278255360&x)+(4278255360&_)>>>0&4278255360)+((16711935&x)+(16711935&_)>>>0&16711935)>>>0}function Nt(x,_){j[_]=function(B,F,tt,nt,ot,ct,ut){var dt;for(dt=0;dt<ot;++dt){var At=j[x](ct[ut+dt-1],tt,nt+dt);ct[ut+dt]=be(B[F+dt],At)}}}function Dt(){this.ud=this.hd=this.jd=0}function Vt(x,_){return((4278124286&(x^_))>>>1)+(x&_)>>>0}function de(x){return 0<=x&&256>x?x:0>x?0:255<x?255:void 0}function Be(x,_){return de(x+(x-_+.5>>1))}function _e(x,_,B){return Math.abs(_-B)-Math.abs(x-B)}function Ne(x,_,B,F,tt,nt,ot){for(F=nt[ot-1],B=0;B<tt;++B)nt[ot+B]=F=be(x[_+B],F)}function Oe(x,_,B,F,tt){var nt;for(nt=0;nt<B;++nt){var ot=x[_+nt],ct=ot>>8&255,ut=16711935&(ut=(ut=16711935&ot)+((ct<<16)+ct));F[tt+nt]=(4278255360&ot)+ut>>>0}}function we(x,_){_.jd=255&x,_.hd=x>>8&255,_.ud=x>>16&255}function Ae(x,_,B,F,tt,nt){var ot;for(ot=0;ot<F;++ot){var ct=_[B+ot],ut=ct>>>8,dt=ct,At=255&(At=(At=ct>>>16)+((x.jd<<24>>24)*(ut<<24>>24)>>>5));dt=255&(dt=(dt+=(x.hd<<24>>24)*(ut<<24>>24)>>>5)+((x.ud<<24>>24)*(At<<24>>24)>>>5)),tt[nt+ot]=(4278255360&ct)+(At<<16)+dt}}function ce(x,_,B,F,tt){j[_]=function(nt,ot,ct,ut,dt,At,It,ft,Mt){for(ut=It;ut<ft;++ut)for(It=0;It<Mt;++It)dt[At++]=tt(ct[F(nt[ot++])])},j[x]=function(nt,ot,ct,ut,dt,At,It){var ft=8>>nt.b,Mt=nt.Ea,Pt=nt.K[0],ie=nt.w;if(8>ft)for(nt=(1<<nt.b)-1,ie=(1<<ft)-1;ot<ct;++ot){var jt,re=0;for(jt=0;jt<Mt;++jt)jt&nt||(re=F(ut[dt++])),At[It++]=tt(Pt[re&ie]),re>>=ft}else j["VP8LMapColor"+B](ut,dt,Pt,ie,At,It,ot,ct,Mt)}}function Er(x,_,B,F,tt){for(B=_+B;_<B;){var nt=x[_++];F[tt++]=nt>>16&255,F[tt++]=nt>>8&255,F[tt++]=255&nt}}function He(x,_,B,F,tt){for(B=_+B;_<B;){var nt=x[_++];F[tt++]=nt>>16&255,F[tt++]=nt>>8&255,F[tt++]=255&nt,F[tt++]=nt>>24&255}}function Jt(x,_,B,F,tt){for(B=_+B;_<B;){var nt=(ot=x[_++])>>16&240|ot>>12&15,ot=240&ot|ot>>28&15;F[tt++]=nt,F[tt++]=ot}}function Se(x,_,B,F,tt){for(B=_+B;_<B;){var nt=(ot=x[_++])>>16&248|ot>>13&7,ot=ot>>5&224|ot>>3&31;F[tt++]=nt,F[tt++]=ot}}function Pe(x,_,B,F,tt){for(B=_+B;_<B;){var nt=x[_++];F[tt++]=255&nt,F[tt++]=nt>>8&255,F[tt++]=nt>>16&255}}function je(x,_,B,F,tt,nt){if(nt==0)for(B=_+B;_<B;)Rt(F,((nt=x[_++])[0]>>24|nt[1]>>8&65280|nt[2]<<8&16711680|nt[3]<<24)>>>0),tt+=32;else n(F,tt,x,_,B)}function Et(x,_){j[_][0]=j[x+"0"],j[_][1]=j[x+"1"],j[_][2]=j[x+"2"],j[_][3]=j[x+"3"],j[_][4]=j[x+"4"],j[_][5]=j[x+"5"],j[_][6]=j[x+"6"],j[_][7]=j[x+"7"],j[_][8]=j[x+"8"],j[_][9]=j[x+"9"],j[_][10]=j[x+"10"],j[_][11]=j[x+"11"],j[_][12]=j[x+"12"],j[_][13]=j[x+"13"],j[_][14]=j[x+"0"],j[_][15]=j[x+"0"]}function fe(x){return x==rf||x==fd||x==Xu||x==dd}function te(){this.eb=[],this.size=this.A=this.fb=0}function Ze(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Ge(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new te,this.f.kb=new Ze,this.sd=null}function Me(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function lr(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Sn(x){return alert("todo:WebPSamplerProcessPlane"),x.T}function Xt(x,_){var B=x.T,F=_.ba.f.RGBA,tt=F.eb,nt=F.fb+x.ka*F.A,ot=ga[_.ba.S],ct=x.y,ut=x.O,dt=x.f,At=x.N,It=x.ea,ft=x.W,Mt=_.cc,Pt=_.dc,ie=_.Mc,jt=_.Nc,re=x.ka,he=x.ka+x.T,Ce=x.U,ve=Ce+1>>1;for(re==0?ot(ct,ut,null,null,dt,At,It,ft,dt,At,It,ft,tt,nt,null,null,Ce):(ot(_.ec,_.fc,ct,ut,Mt,Pt,ie,jt,dt,At,It,ft,tt,nt-F.A,tt,nt,Ce),++B);re+2<he;re+=2)Mt=dt,Pt=At,ie=It,jt=ft,At+=x.Rc,ft+=x.Rc,nt+=2*F.A,ot(ct,(ut+=2*x.fa)-x.fa,ct,ut,Mt,Pt,ie,jt,dt,At,It,ft,tt,nt-F.A,tt,nt,Ce);return ut+=x.fa,x.j+he<x.o?(n(_.ec,_.fc,ct,ut,Ce),n(_.cc,_.dc,dt,At,ve),n(_.Mc,_.Nc,It,ft,ve),B--):1&he||ot(ct,ut,null,null,dt,At,It,ft,dt,At,It,ft,tt,nt+F.A,null,null,Ce),B}function me(x,_,B){var F=x.F,tt=[x.J];if(F!=null){var nt=x.U,ot=_.ba.S,ct=ot==ef||ot==Xu;_=_.ba.f.RGBA;var ut=[0],dt=x.ka;ut[0]=x.T,x.Kb&&(dt==0?--ut[0]:(--dt,tt[0]-=x.width),x.j+x.ka+x.T==x.o&&(ut[0]=x.o-x.j-dt));var At=_.eb;dt=_.fb+dt*_.A,x=Zh(F,tt[0],x.width,nt,ut,At,dt+(ct?0:3),_.A),e(B==ut),x&&fe(ot)&&Vc(At,dt,ct,nt,ut,_.A)}return 0}function Br(x){var _=x.ma,B=_.ba.S,F=11>B,tt=B==Ta||B==Bo||B==ef||B==Yu||B==12||fe(B);if(_.memory=null,_.Ib=null,_.Jb=null,_.Nd=null,!vl(_.Oa,x,tt?11:12))return 0;if(tt&&fe(B)&&Vh(),x.da)alert("todo:use_scaling");else{if(F){if(_.Ib=Sn,x.Kb){if(B=x.U+1>>1,_.memory=a(x.U+2*B),_.memory==null)return 0;_.ec=_.memory,_.fc=0,_.cc=_.ec,_.dc=_.fc+x.U,_.Mc=_.cc,_.Nc=_.dc+B,_.Ib=Xt,Vh()}}else alert("todo:EmitYUV");tt&&(_.Jb=me,F&&hs())}if(F&&!lc){for(x=0;256>x;++x)ma[x]=89858*(x-128)+Qu>>Io,Ab[x]=-22014*(x-128)+Qu,wm[x]=-45773*(x-128),bd[x]=113618*(x-128)+Qu>>Io;for(x=Zc;x<sc;++x)_=76283*(x-16)+Qu>>Io,Tb[x-Zc]=Ba(_,255),Lb[x-Zc]=Ba(_+8>>4,15);lc=1}return 1}function ee(x){var _=x.ma,B=x.U,F=x.T;return e(!(1&x.ka)),0>=B||0>=F?0:(B=_.Ib(x,_),_.Jb!=null&&_.Jb(x,_,B),_.Dc+=B,1)}function ze(x){x.ma.memory=null}function br(x,_,B,F){return K(x,8)!=47?0:(_[0]=K(x,14)+1,B[0]=K(x,14)+1,F[0]=K(x,1),K(x,3)!=0?0:!x.h)}function rr(x,_){if(4>x)return x+1;var B=x-2>>1;return(2+(1&x)<<B)+K(_,B)+1}function jr(x,_){return 120<_?_-120:1<=(B=((B=Po[_-1])>>4)*x+(8-(15&B)))?B:1;var B}function vr(x,_,B){var F=et(B),tt=x[_+=255&F].g-8;return 0<tt&&(lt(B,B.u+8),F=et(B),_+=x[_].value,_+=F&(1<<tt)-1),lt(B,B.u+x[_].g),x[_].value}function Fr(x,_,B){return B.g+=x.g,B.value+=x.value<<_>>>0,e(8>=B.g),x.g}function Or(x,_,B){var F=x.xc;return e((_=F==0?0:x.vc[x.md*(B>>F)+(_>>F)])<x.Wb),x.Ya[_]}function dn(x,_,B,F){var tt=x.ab,nt=x.c*_,ot=x.C;_=ot+_;var ct=B,ut=F;for(F=x.Ta,B=x.Ua;0<tt--;){var dt=x.gc[tt],At=ot,It=_,ft=ct,Mt=ut,Pt=(ut=F,ct=B,dt.Ea);switch(e(At<It),e(It<=dt.nc),dt.hc){case 2:Mi(ft,Mt,(It-At)*Pt,ut,ct);break;case 0:var ie=At,jt=It,re=ut,he=ct,Ce=(Qe=dt).Ea;ie==0&&(Uu(ft,Mt,null,null,1,re,he),Ne(ft,Mt+1,0,0,Ce-1,re,he+1),Mt+=Ce,he+=Ce,++ie);for(var ve=1<<Qe.b,nr=ve-1,Ve=Ot(Ce,Qe.b),qr=Qe.K,Qe=Qe.w+(ie>>Qe.b)*Ve;ie<jt;){var on=qr,ai=Qe,Vr=1;for(Wu(ft,Mt,re,he-Ce,1,re,he);Vr<Ce;){var Ye=(Vr&~nr)+ve;Ye>Ce&&(Ye=Ce),(0,Sl[on[ai++]>>8&15])(ft,Mt+ +Vr,re,he+Vr-Ce,Ye-Vr,re,he+Vr),Vr=Ye}Mt+=Ce,he+=Ce,++ie&nr||(Qe+=Ve)}It!=dt.nc&&n(ut,ct-Pt,ut,ct+(It-At-1)*Pt,Pt);break;case 1:for(Pt=ft,jt=Mt,Ce=(ft=dt.Ea)-(he=ft&~(re=(Mt=1<<dt.b)-1)),ie=Ot(ft,dt.b),ve=dt.K,dt=dt.w+(At>>dt.b)*ie;At<It;){for(nr=ve,Ve=dt,qr=new Dt,Qe=jt+he,on=jt+ft;jt<Qe;)we(nr[Ve++],qr),Gu(qr,Pt,jt,Mt,ut,ct),jt+=Mt,ct+=Mt;jt<on&&(we(nr[Ve++],qr),Gu(qr,Pt,jt,Ce,ut,ct),jt+=Ce,ct+=Ce),++At&re||(dt+=ie)}break;case 3:if(ft==ut&&Mt==ct&&0<dt.b){for(jt=ut,ft=Pt=ct+(It-At)*Pt-(he=(It-At)*Ot(dt.Ea,dt.b)),Mt=ut,re=ct,ie=[],he=(Ce=he)-1;0<=he;--he)ie[he]=Mt[re+he];for(he=Ce-1;0<=he;--he)jt[ft+he]=ie[he];sd(dt,At,It,ut,Pt,ut,ct)}else sd(dt,At,It,ft,Mt,ut,ct)}ct=F,ut=B}ut!=B&&n(F,B,ct,ut,nt)}function Dr(x,_){var B=x.V,F=x.Ba+x.c*x.C,tt=_-x.C;if(e(_<=x.l.o),e(16>=tt),0<tt){var nt=x.l,ot=x.Ta,ct=x.Ua,ut=nt.width;if(dn(x,tt,B,F),tt=ct=[ct],e((B=x.C)<(F=_)),e(nt.v<nt.va),F>nt.o&&(F=nt.o),B<nt.j){var dt=nt.j-B;B=nt.j,tt[0]+=dt*ut}if(B>=F?B=0:(tt[0]+=4*nt.v,nt.ka=B-nt.j,nt.U=nt.va-nt.v,nt.T=F-B,B=1),B){if(ct=ct[0],11>(B=x.ca).S){var At=B.f.RGBA,It=(F=B.S,tt=nt.U,nt=nt.T,dt=At.eb,At.A),ft=nt;for(At=At.fb+x.Ma*At.A;0<ft--;){var Mt=ot,Pt=ct,ie=tt,jt=dt,re=At;switch(F){case ud:Vu(Mt,Pt,ie,jt,re);break;case Ta:wl(Mt,Pt,ie,jt,re);break;case rf:wl(Mt,Pt,ie,jt,re),Vc(jt,re,0,ie,1,0);break;case hd:Wc(Mt,Pt,ie,jt,re);break;case Bo:je(Mt,Pt,ie,jt,re,1);break;case fd:je(Mt,Pt,ie,jt,re,1),Vc(jt,re,0,ie,1,0);break;case ef:je(Mt,Pt,ie,jt,re,0);break;case Xu:je(Mt,Pt,ie,jt,re,0),Vc(jt,re,1,ie,1,0);break;case Yu:Cl(Mt,Pt,ie,jt,re);break;case dd:Cl(Mt,Pt,ie,jt,re),No(jt,re,ie,1,0);break;case rc:Us(Mt,Pt,ie,jt,re);break;default:e(0)}ct+=ut,At+=It}x.Ma+=nt}else alert("todo:EmitRescaledRowsYUVA");e(x.Ma<=B.height)}}x.C=_,e(x.C<=x.i)}function mr(x){var _;if(0<x.ua)return 0;for(_=0;_<x.Wb;++_){var B=x.Ya[_].G,F=x.Ya[_].H;if(0<B[1][F[1]+0].g||0<B[2][F[2]+0].g||0<B[3][F[3]+0].g)return 0}return 1}function Cr(x,_,B,F,tt,nt){if(x.Z!=0){var ot=x.qd,ct=x.rd;for(e(Al[x.Z]!=null);_<B;++_)Al[x.Z](ot,ct,F,tt,F,tt,nt),ot=F,ct=tt,tt+=nt;x.qd=ot,x.rd=ct}}function Rr(x,_){var B=x.l.ma,F=B.Z==0||B.Z==1?x.l.j:x.C;if(F=x.C<F?F:x.C,e(_<=x.l.o),_>F){var tt=x.l.width,nt=B.ca,ot=B.tb+tt*F,ct=x.V,ut=x.Ba+x.c*F,dt=x.gc;e(x.ab==1),e(dt[0].hc==3),Hs(dt[0],F,_,ct,ut,nt,ot),Cr(B,F,_,nt,ot,tt)}x.C=x.Ma=_}function Wt(x,_,B,F,tt,nt,ot){var ct=x.$/F,ut=x.$%F,dt=x.m,At=x.s,It=B+x.$,ft=It;tt=B+F*tt;var Mt=B+F*nt,Pt=280+At.ua,ie=x.Pb?ct:16777216,jt=0<At.ua?At.Wa:null,re=At.wc,he=It<Mt?Or(At,ut,ct):null;e(x.C<nt),e(Mt<=tt);var Ce=!1;t:for(;;){for(;Ce||It<Mt;){var ve=0;if(ct>=ie){var nr=It-B;e((ie=x).Pb),ie.wd=ie.m,ie.xd=nr,0<ie.s.ua&&ae(ie.s.Wa,ie.s.vb),ie=ct+nc}if(ut&re||(he=Or(At,ut,ct)),e(he!=null),he.Qb&&(_[It]=he.qb,Ce=!0),!Ce)if(ht(dt),he.jc){ve=dt,nr=_;var Ve=It,qr=he.pd[et(ve)&ec-1];e(he.jc),256>qr.g?(lt(ve,ve.u+qr.g),nr[Ve]=qr.value,ve=0):(lt(ve,ve.u+qr.g-256),e(256<=qr.value),ve=qr.value),ve==0&&(Ce=!0)}else ve=vr(he.G[0],he.H[0],dt);if(dt.h)break;if(Ce||256>ve){if(!Ce)if(he.nd)_[It]=(he.qb|ve<<8)>>>0;else{if(ht(dt),Ce=vr(he.G[1],he.H[1],dt),ht(dt),nr=vr(he.G[2],he.H[2],dt),Ve=vr(he.G[3],he.H[3],dt),dt.h)break;_[It]=(Ve<<24|Ce<<16|ve<<8|nr)>>>0}if(Ce=!1,++It,++ut>=F&&(ut=0,++ct,ot!=null&&ct<=nt&&!(ct%16)&&ot(x,ct),jt!=null))for(;ft<It;)ve=_[ft++],jt.X[(506832829*ve&4294967295)>>>jt.Mb]=ve}else if(280>ve){if(ve=rr(ve-256,dt),nr=vr(he.G[4],he.H[4],dt),ht(dt),nr=jr(F,nr=rr(nr,dt)),dt.h)break;if(It-B<nr||tt-It<ve)break t;for(Ve=0;Ve<ve;++Ve)_[It+Ve]=_[It+Ve-nr];for(It+=ve,ut+=ve;ut>=F;)ut-=F,++ct,ot!=null&&ct<=nt&&!(ct%16)&&ot(x,ct);if(e(It<=tt),ut&re&&(he=Or(At,ut,ct)),jt!=null)for(;ft<It;)ve=_[ft++],jt.X[(506832829*ve&4294967295)>>>jt.Mb]=ve}else{if(!(ve<Pt))break t;for(Ce=ve-280,e(jt!=null);ft<It;)ve=_[ft++],jt.X[(506832829*ve&4294967295)>>>jt.Mb]=ve;ve=It,e(!(Ce>>>(nr=jt).Xa)),_[ve]=nr.X[Ce],Ce=!0}Ce||e(dt.h==rt(dt))}if(x.Pb&&dt.h&&It<tt)e(x.m.h),x.a=5,x.m=x.wd,x.$=x.xd,0<x.s.ua&&ae(x.s.vb,x.s.Wa);else{if(dt.h)break t;ot?.(x,ct>nt?nt:ct),x.a=0,x.$=It-B}return 1}return x.a=3,0}function Gt(x){e(x!=null),x.vc=null,x.yc=null,x.Ya=null;var _=x.Wa;_!=null&&(_.X=null),x.vb=null,e(x!=null)}function Re(){var x=new $e;return x==null?null:(x.a=0,x.xb=Qp,Et("Predictor","VP8LPredictors"),Et("Predictor","VP8LPredictors_C"),Et("PredictorAdd","VP8LPredictorsAdd"),Et("PredictorAdd","VP8LPredictorsAdd_C"),Mi=Oe,Gu=Ae,Vu=Er,wl=He,Cl=Jt,Us=Se,Wc=Pe,j.VP8LMapColor32b=qs,j.VP8LMapColor8b=fa,x)}function Ke(x,_,B,F,tt){var nt=1,ot=[x],ct=[_],ut=F.m,dt=F.s,At=null,It=0;t:for(;;){if(B)for(;nt&&K(ut,1);){var ft=ot,Mt=ct,Pt=F,ie=1,jt=Pt.m,re=Pt.gc[Pt.ab],he=K(jt,2);if(Pt.Oc&1<<he)nt=0;else{switch(Pt.Oc|=1<<he,re.hc=he,re.Ea=ft[0],re.nc=Mt[0],re.K=[null],++Pt.ab,e(4>=Pt.ab),he){case 0:case 1:re.b=K(jt,3)+2,ie=Ke(Ot(re.Ea,re.b),Ot(re.nc,re.b),0,Pt,re.K),re.K=re.K[0];break;case 3:var Ce,ve=K(jt,8)+1,nr=16<ve?0:4<ve?1:2<ve?2:3;if(ft[0]=Ot(re.Ea,nr),re.b=nr,Ce=ie=Ke(ve,1,0,Pt,re.K)){var Ve,qr=ve,Qe=re,on=1<<(8>>Qe.b),ai=a(on);if(ai==null)Ce=0;else{var Vr=Qe.K[0],Ye=Qe.w;for(ai[0]=Qe.K[0][0],Ve=1;Ve<1*qr;++Ve)ai[Ve]=be(Vr[Ye+Ve],ai[Ve-1]);for(;Ve<4*on;++Ve)ai[Ve]=0;Qe.K[0]=null,Qe.K[0]=ai,Ce=1}}ie=Ce;break;case 2:break;default:e(0)}nt=ie}}if(ot=ot[0],ct=ct[0],nt&&K(ut,1)&&!(nt=1<=(It=K(ut,4))&&11>=It)){F.a=3;break t}var Fe;if(Fe=nt)e:{var pi,Nr,Qr,Pn=F,Vi=ot,ya=ct,Qn=It,Pi=B,La=Pn.m,$i=Pn.s,rn=[null],kn=1,gi=0,En=$o[Qn];r:for(;;){if(Pi&&K(La,1)){var Yi=K(La,3)+2,mi=Ot(Vi,Yi),_n=Ot(ya,Yi),Bi=mi*_n;if(!Ke(mi,_n,0,Pn,rn))break r;for(rn=rn[0],$i.xc=Yi,pi=0;pi<Bi;++pi){var $n=rn[pi]>>8&65535;rn[pi]=$n,$n>=kn&&(kn=$n+1)}}if(La.h)break r;for(Nr=0;5>Nr;++Nr){var ji=Xc[Nr];!Nr&&0<Qn&&(ji+=1<<Qn),gi<ji&&(gi=ji)}var Di=s(kn*En,V),Un=kn,vn=s(Un,Y);if(vn==null)var Ea=null;else e(65536>=Un),Ea=vn;var wi=a(gi);if(Ea==null||wi==null||Di==null){Pn.a=1;break r}var kr=Di;for(pi=Qr=0;pi<kn;++pi){var Ar=Ea[pi],An=Ar.G,Qa=Ar.H,zo=0,Da=1,Ii=0;for(Nr=0;5>Nr;++Nr){ji=Xc[Nr],An[Nr]=kr,Qa[Nr]=Qr,!Nr&&0<Qn&&(ji+=1<<Qn);i:{var cc,uc=ji,xd=Pn,Jn=wi,tg=kr,eg=Qr,Sd=0,Tl=xd.m,Eb=K(Tl,1);if(i(Jn,0,0,uc),Eb){var rg=K(Tl,1)+1,ng=K(Tl,1),wd=K(Tl,ng==0?1:8);Jn[wd]=1,rg==2&&(Jn[wd=K(Tl,8)]=1);var na=1}else{var Ci=a(19),sf=K(Tl,4)+4;if(19<sf){xd.a=3;var hc=0;break i}for(cc=0;cc<sf;++cc)Ci[nf[cc]]=K(Tl,3);var th=void 0,Qc=void 0,Vs=xd,Cd=Ci,eh=uc,kd=Jn,_d=0,Ll=Vs.m,ig=8,ag=s(128,V);n:for(;I(ag,0,7,Cd,19);){if(K(Ll,1)){var Cm=2+2*K(Ll,3);if((th=2+K(Ll,Cm))>eh)break n}else th=eh;for(Qc=0;Qc<eh&&th--;){ht(Ll);var og=ag[0+(127&et(Ll))];lt(Ll,Ll.u+og.g);var fc=og.value;if(16>fc)kd[Qc++]=fc,fc!=0&&(ig=fc);else{var km=fc==16,_m=fc-16,Am=Ku[_m],sg=K(Ll,Oo[_m])+Am;if(Qc+sg>eh)break n;for(var Tm=km?ig:0;0<sg--;)kd[Qc++]=Tm}}_d=1;break n}_d||(Vs.a=3),na=_d}(na=na&&!Tl.h)&&(Sd=I(tg,eg,8,Jn,uc)),na&&Sd!=0?hc=Sd:(xd.a=3,hc=0)}if(hc==0)break r;if(Da&&pd[Nr]==1&&(Da=kr[Qr].g==0),zo+=kr[Qr].g,Qr+=hc,3>=Nr){var Jc,Ad=wi[0];for(Jc=1;Jc<ji;++Jc)wi[Jc]>Ad&&(Ad=wi[Jc]);Ii+=Ad}}if(Ar.nd=Da,Ar.Qb=0,Da&&(Ar.qb=(An[3][Qa[3]+0].value<<24|An[1][Qa[1]+0].value<<16|An[2][Qa[2]+0].value)>>>0,zo==0&&256>An[0][Qa[0]+0].value&&(Ar.Qb=1,Ar.qb+=An[0][Qa[0]+0].value<<8)),Ar.jc=!Ar.Qb&&6>Ii,Ar.jc){var lf,Ys=Ar;for(lf=0;lf<ec;++lf){var El=lf,Ml=Ys.pd[El],Td=Ys.G[0][Ys.H[0]+El];256<=Td.value?(Ml.g=Td.g+256,Ml.value=Td.value):(Ml.g=0,Ml.value=0,El>>=Fr(Td,8,Ml),El>>=Fr(Ys.G[1][Ys.H[1]+El],16,Ml),El>>=Fr(Ys.G[2][Ys.H[2]+El],0,Ml),Fr(Ys.G[3][Ys.H[3]+El],24,Ml))}}}$i.vc=rn,$i.Wb=kn,$i.Ya=Ea,$i.yc=Di,Fe=1;break e}Fe=0}if(!(nt=Fe)){F.a=3;break t}if(0<It){if(dt.ua=1<<It,!at(dt.Wa,It)){F.a=1,nt=0;break t}}else dt.ua=0;var Ld=F,tu=ot,Lm=ct,rh=Ld.s,nh=rh.xc;if(Ld.c=tu,Ld.i=Lm,rh.md=Ot(tu,nh),rh.wc=nh==0?-1:(1<<nh)-1,B){F.xb=ic;break t}if((At=a(ot*ct))==null){F.a=1,nt=0;break t}nt=(nt=Wt(F,At,0,ot,ct,ct,null))&&!ut.h;break t}return nt?(tt!=null?tt[0]=At:(e(At==null),e(B)),F.$=0,B||Gt(dt)):Gt(dt),nt}function ge(x,_){var B=x.c*x.i,F=B+_+16*_;return e(x.c<=_),x.V=a(F),x.V==null?(x.Ta=null,x.Ua=0,x.a=1,0):(x.Ta=x.V,x.Ua=x.Ba+B+_,1)}function vt(x,_){var B=x.C,F=_-B,tt=x.V,nt=x.Ba+x.c*B;for(e(_<=x.l.o);0<F;){var ot=16<F?16:F,ct=x.l.ma,ut=x.l.width,dt=ut*ot,At=ct.ca,It=ct.tb+ut*B,ft=x.Ta,Mt=x.Ua;dn(x,ot,tt,nt),bo(ft,Mt,At,It,dt),Cr(ct,B,B+ot,At,It,ut),F-=ot,tt+=ot*x.c,B+=ot}e(B==_),x.C=x.Ma=_}function Zt(){this.ub=this.yd=this.td=this.Rb=0}function St(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function ke(){this.Fb=this.Bb=this.Cb=0,this.Zb=a(4),this.Lb=a(4)}function zr(){this.Yb=(function(){var x=[];return(function _(B,F,tt){for(var nt=tt[F],ot=0;ot<nt&&(B.push(tt.length>F+1?[]:0),!(tt.length<F+1));ot++)_(B[ot],F+1,tt)})(x,0,[3,11]),x})()}function Je(){this.jb=a(3),this.Wc=l([4,8],zr),this.Xc=l([4,17],zr)}function an(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new a(4),this.od=new a(4)}function Wr(){this.ld=this.La=this.dd=this.tc=0}function tr(){this.Na=this.la=0}function wn(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function pn(){this.ad=a(384),this.Za=0,this.Ob=a(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Li(){this.uc=this.M=this.Nb=0,this.wa=Array(new Wr),this.Y=0,this.ya=Array(new pn),this.aa=0,this.l=new Eo}function Lo(){this.y=a(16),this.f=a(8),this.ea=a(8)}function Ns(){this.cb=this.a=0,this.sc="",this.m=new P,this.Od=new Zt,this.Kc=new St,this.ed=new an,this.Qa=new ke,this.Ic=this.$c=this.Aa=0,this.D=new Li,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,P),this.ia=0,this.pb=s(4,wn),this.Pa=new Je,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Lo),this.Hd=0,this.rb=Array(new tr),this.sb=0,this.wa=Array(new Wr),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new pn),this.L=this.aa=0,this.gd=l([4,2],Wr),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Ba(x,_){return 0>x?0:x>_?_:x}function Eo(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function fo(){var x=new Ns;return x!=null&&(x.a=0,x.sc="OK",x.cb=0,x.Xb=0,vo||(vo=Ga)),x}function gn(x,_,B){return x.a==0&&(x.a=_,x.sc=B,x.cb=0),0}function Bs(x,_,B){return 3<=B&&x[_+0]==157&&x[_+1]==1&&x[_+2]==42}function Wa(x,_){if(x==null)return 0;if(x.a=0,x.sc="OK",_==null)return gn(x,2,"null VP8Io passed to VP8GetHeaders()");var B=_.data,F=_.w,tt=_.ha;if(4>tt)return gn(x,7,"Truncated header.");var nt=B[F+0]|B[F+1]<<8|B[F+2]<<16,ot=x.Od;if(ot.Rb=!(1&nt),ot.td=nt>>1&7,ot.yd=nt>>4&1,ot.ub=nt>>5,3<ot.td)return gn(x,3,"Incorrect keyframe parameters.");if(!ot.yd)return gn(x,4,"Frame not displayable.");F+=3,tt-=3;var ct=x.Kc;if(ot.Rb){if(7>tt)return gn(x,7,"cannot parse picture header");if(!Bs(B,F,tt))return gn(x,3,"Bad code word");ct.c=16383&(B[F+4]<<8|B[F+3]),ct.Td=B[F+4]>>6,ct.i=16383&(B[F+6]<<8|B[F+5]),ct.Ud=B[F+6]>>6,F+=7,tt-=7,x.za=ct.c+15>>4,x.Ub=ct.i+15>>4,_.width=ct.c,_.height=ct.i,_.Da=0,_.j=0,_.v=0,_.va=_.width,_.o=_.height,_.da=0,_.ib=_.width,_.hb=_.height,_.U=_.width,_.T=_.height,i((nt=x.Pa).jb,0,255,nt.jb.length),e((nt=x.Qa)!=null),nt.Cb=0,nt.Bb=0,nt.Fb=1,i(nt.Zb,0,0,nt.Zb.length),i(nt.Lb,0,0,nt.Lb)}if(ot.ub>tt)return gn(x,7,"bad partition length");D(nt=x.m,B,F,ot.ub),F+=ot.ub,tt-=ot.ub,ot.Rb&&(ct.Ld=yt(nt),ct.Kd=yt(nt)),ct=x.Qa;var ut,dt=x.Pa;if(e(nt!=null),e(ct!=null),ct.Cb=yt(nt),ct.Cb){if(ct.Bb=yt(nt),yt(nt)){for(ct.Fb=yt(nt),ut=0;4>ut;++ut)ct.Zb[ut]=yt(nt)?Q(nt,7):0;for(ut=0;4>ut;++ut)ct.Lb[ut]=yt(nt)?Q(nt,6):0}if(ct.Bb)for(ut=0;3>ut;++ut)dt.jb[ut]=yt(nt)?Z(nt,8):255}else ct.Bb=0;if(nt.Ka)return gn(x,3,"cannot parse segment header");if((ct=x.ed).zd=yt(nt),ct.Tb=Z(nt,6),ct.wb=Z(nt,3),ct.Pc=yt(nt),ct.Pc&&yt(nt)){for(dt=0;4>dt;++dt)yt(nt)&&(ct.vd[dt]=Q(nt,6));for(dt=0;4>dt;++dt)yt(nt)&&(ct.od[dt]=Q(nt,6))}if(x.L=ct.Tb==0?0:ct.zd?1:2,nt.Ka)return gn(x,3,"cannot parse filter header");var At=tt;if(tt=ut=F,F=ut+At,ct=At,x.Xb=(1<<Z(x.m,2))-1,At<3*(dt=x.Xb))B=7;else{for(ut+=3*dt,ct-=3*dt,At=0;At<dt;++At){var It=B[tt+0]|B[tt+1]<<8|B[tt+2]<<16;It>ct&&(It=ct),D(x.Jc[+At],B,ut,It),ut+=It,ct-=It,tt+=3}D(x.Jc[+dt],B,ut,ct),B=ut<F?0:5}if(B!=0)return gn(x,B,"cannot parse partitions");for(B=Z(ut=x.m,7),tt=yt(ut)?Q(ut,4):0,F=yt(ut)?Q(ut,4):0,ct=yt(ut)?Q(ut,4):0,dt=yt(ut)?Q(ut,4):0,ut=yt(ut)?Q(ut,4):0,At=x.Qa,It=0;4>It;++It){if(At.Cb){var ft=At.Zb[It];At.Fb||(ft+=B)}else{if(0<It){x.pb[It]=x.pb[0];continue}ft=B}var Mt=x.pb[It];Mt.Sc[0]=jo[Ba(ft+tt,127)],Mt.Sc[1]=Do[Ba(ft+0,127)],Mt.Eb[0]=2*jo[Ba(ft+F,127)],Mt.Eb[1]=101581*Do[Ba(ft+ct,127)]>>16,8>Mt.Eb[1]&&(Mt.Eb[1]=8),Mt.Qc[0]=jo[Ba(ft+dt,117)],Mt.Qc[1]=Do[Ba(ft+ut,127)],Mt.lc=ft+ut}if(!ot.Rb)return gn(x,4,"Not a key frame.");for(yt(nt),ot=x.Pa,B=0;4>B;++B){for(tt=0;8>tt;++tt)for(F=0;3>F;++F)for(ct=0;11>ct;++ct)dt=kt(nt,ii[B][tt][F][ct])?Z(nt,8):Sm[B][tt][F][ct],ot.Wc[B][tt].Yb[F][ct]=dt;for(tt=0;17>tt;++tt)ot.Xc[B][tt]=ot.Wc[B][ln[tt]]}return x.kc=yt(nt),x.kc&&(x.Bd=Z(nt,8)),x.cb=1}function Ga(x,_,B,F,tt,nt,ot){var ct=_[tt].Yb[B];for(B=0;16>tt;++tt){if(!kt(x,ct[B+0]))return tt;for(;!kt(x,ct[B+1]);)if(ct=_[++tt].Yb[0],B=0,tt==16)return 16;var ut=_[tt+1].Yb;if(kt(x,ct[B+2])){var dt=x,At=0;if(kt(dt,(ft=ct)[(It=B)+3]))if(kt(dt,ft[It+6])){for(ct=0,It=2*(At=kt(dt,ft[It+8]))+(ft=kt(dt,ft[It+9+At])),At=0,ft=xm[It];ft[ct];++ct)At+=At+kt(dt,ft[ct]);At+=3+(8<<It)}else kt(dt,ft[It+7])?(At=7+2*kt(dt,165),At+=kt(dt,145)):At=5+kt(dt,159);else At=kt(dt,ft[It+4])?3+kt(dt,ft[It+5]):2;ct=ut[2]}else At=1,ct=ut[1];ut=ot+Zp[tt],0>(dt=x).b&&bt(dt);var It,ft=dt.b,Mt=(It=dt.Ca>>1)-(dt.I>>ft)>>31;--dt.b,dt.Ca+=Mt,dt.Ca|=1,dt.I-=(It+1&Mt)<<ft,nt[ut]=((At^Mt)-Mt)*F[(0<tt)+0]}return 16}function hl(x){var _=x.rb[x.sb-1];_.la=0,_.Na=0,i(x.zc,0,0,x.zc.length),x.ja=0}function Ei(x,_,B,F,tt){tt=x[_+B+32*F]+(tt>>3),x[_+B+32*F]=-256&tt?0>tt?0:255:tt}function fi(x,_,B,F,tt,nt){Ei(x,_,0,B,F+tt),Ei(x,_,1,B,F+nt),Ei(x,_,2,B,F-nt),Ei(x,_,3,B,F-tt)}function Xn(x){return(20091*x>>16)+x}function Wl(x,_,B,F){var tt,nt=0,ot=a(16);for(tt=0;4>tt;++tt){var ct=x[_+0]+x[_+8],ut=x[_+0]-x[_+8],dt=(35468*x[_+4]>>16)-Xn(x[_+12]),At=Xn(x[_+4])+(35468*x[_+12]>>16);ot[nt+0]=ct+At,ot[nt+1]=ut+dt,ot[nt+2]=ut-dt,ot[nt+3]=ct-At,nt+=4,_++}for(tt=nt=0;4>tt;++tt)ct=(x=ot[nt+0]+4)+ot[nt+8],ut=x-ot[nt+8],dt=(35468*ot[nt+4]>>16)-Xn(ot[nt+12]),Ei(B,F,0,0,ct+(At=Xn(ot[nt+4])+(35468*ot[nt+12]>>16))),Ei(B,F,1,0,ut+dt),Ei(B,F,2,0,ut-dt),Ei(B,F,3,0,ct-At),nt++,F+=32}function Gl(x,_,B,F){var tt=x[_+0]+4,nt=35468*x[_+4]>>16,ot=Xn(x[_+4]),ct=35468*x[_+1]>>16;fi(B,F,0,tt+ot,x=Xn(x[_+1]),ct),fi(B,F,1,tt+nt,x,ct),fi(B,F,2,tt-nt,x,ct),fi(B,F,3,tt-ot,x,ct)}function Vl(x,_,B,F,tt){Wl(x,_,B,F),tt&&Wl(x,_+16,B,F+4)}function la(x,_,B,F){kl(x,_+0,B,F,1),kl(x,_+32,B,F+128,1)}function Yl(x,_,B,F){var tt;for(x=x[_+0]+4,tt=0;4>tt;++tt)for(_=0;4>_;++_)Ei(B,F,_,tt,x)}function Pu(x,_,B,F){x[_+0]&&Ln(x,_+0,B,F),x[_+16]&&Ln(x,_+16,B,F+4),x[_+32]&&Ln(x,_+32,B,F+128),x[_+48]&&Ln(x,_+48,B,F+128+4)}function Mo(x,_,B,F){var tt,nt=a(16);for(tt=0;4>tt;++tt){var ot=x[_+0+tt]+x[_+12+tt],ct=x[_+4+tt]+x[_+8+tt],ut=x[_+4+tt]-x[_+8+tt],dt=x[_+0+tt]-x[_+12+tt];nt[0+tt]=ot+ct,nt[8+tt]=ot-ct,nt[4+tt]=dt+ut,nt[12+tt]=dt-ut}for(tt=0;4>tt;++tt)ot=(x=nt[0+4*tt]+3)+nt[3+4*tt],ct=nt[1+4*tt]+nt[2+4*tt],ut=nt[1+4*tt]-nt[2+4*tt],dt=x-nt[3+4*tt],B[F+0]=ot+ct>>3,B[F+16]=dt+ut>>3,B[F+32]=ot-ct>>3,B[F+48]=dt-ut>>3,F+=64}function Va(x,_,B){var F,tt=_-32,nt=Aa,ot=255-x[tt-1];for(F=0;F<B;++F){var ct,ut=nt,dt=ot+x[_-1];for(ct=0;ct<B;++ct)x[_+ct]=ut[dt+x[tt+ct]];_+=32}}function qc(x,_){Va(x,_,4)}function fl(x,_){Va(x,_,8)}function Xl(x,_){Va(x,_,16)}function Kl(x,_){var B;for(B=0;16>B;++B)n(x,_+32*B,x,_-32,16)}function $u(x,_){var B;for(B=16;0<B;--B)i(x,_,x[_-1],16),_+=32}function ca(x,_,B){var F;for(F=0;16>F;++F)i(_,B+32*F,x,16)}function po(x,_){var B,F=16;for(B=0;16>B;++B)F+=x[_-1+32*B]+x[_+B-32];ca(F>>5,x,_)}function Ya(x,_){var B,F=8;for(B=0;16>B;++B)F+=x[_-1+32*B];ca(F>>4,x,_)}function Os(x,_){var B,F=8;for(B=0;16>B;++B)F+=x[_+B-32];ca(F>>4,x,_)}function Ps(x,_){ca(128,x,_)}function _r(x,_,B){return x+2*_+B+2>>2}function ju(x,_){var B,F=_-32;for(F=new Uint8Array([_r(x[F-1],x[F+0],x[F+1]),_r(x[F+0],x[F+1],x[F+2]),_r(x[F+1],x[F+2],x[F+3]),_r(x[F+2],x[F+3],x[F+4])]),B=0;4>B;++B)n(x,_+32*B,F,0,F.length)}
vendor: 4,859 bytes, line 238
238function Xa(x,_){var B=x[_-1],F=x[_-1+32],tt=x[_-1+64],nt=x[_-1+96];Rt(x,_+0,16843009*_r(x[_-1-32],B,F)),Rt(x,_+32,16843009*_r(B,F,tt)),Rt(x,_+64,16843009*_r(F,tt,nt)),Rt(x,_+96,16843009*_r(tt,nt,nt))}function Du(x,_){var B,F=4;for(B=0;4>B;++B)F+=x[_+B-32]+x[_-1+32*B];for(F>>=3,B=0;4>B;++B)i(x,_+32*B,F,4)}function ua(x,_){var B=x[_-1+0],F=x[_-1+32],tt=x[_-1+64],nt=x[_-1-32],ot=x[_+0-32],ct=x[_+1-32],ut=x[_+2-32],dt=x[_+3-32];x[_+0+96]=_r(F,tt,x[_-1+96]),x[_+1+96]=x[_+0+64]=_r(B,F,tt),x[_+2+96]=x[_+1+64]=x[_+0+32]=_r(nt,B,F),x[_+3+96]=x[_+2+64]=x[_+1+32]=x[_+0+0]=_r(ot,nt,B),x[_+3+64]=x[_+2+32]=x[_+1+0]=_r(ct,ot,nt),x[_+3+32]=x[_+2+0]=_r(ut,ct,ot),x[_+3+0]=_r(dt,ut,ct)}function Oi(x,_){var B=x[_+1-32],F=x[_+2-32],tt=x[_+3-32],nt=x[_+4-32],ot=x[_+5-32],ct=x[_+6-32],ut=x[_+7-32];x[_+0+0]=_r(x[_+0-32],B,F),x[_+1+0]=x[_+0+32]=_r(B,F,tt),x[_+2+0]=x[_+1+32]=x[_+0+64]=_r(F,tt,nt),x[_+3+0]=x[_+2+32]=x[_+1+64]=x[_+0+96]=_r(tt,nt,ot),x[_+3+32]=x[_+2+64]=x[_+1+96]=_r(nt,ot,ct),x[_+3+64]=x[_+2+96]=_r(ot,ct,ut),x[_+3+96]=_r(ct,ut,ut)}function Zl(x,_){var B=x[_-1+0],F=x[_-1+32],tt=x[_-1+64],nt=x[_-1-32],ot=x[_+0-32],ct=x[_+1-32],ut=x[_+2-32],dt=x[_+3-32];x[_+0+0]=x[_+1+64]=nt+ot+1>>1,x[_+1+0]=x[_+2+64]=ot+ct+1>>1,x[_+2+0]=x[_+3+64]=ct+ut+1>>1,x[_+3+0]=ut+dt+1>>1,x[_+0+96]=_r(tt,F,B),x[_+0+64]=_r(F,B,nt),x[_+0+32]=x[_+1+96]=_r(B,nt,ot),x[_+1+32]=x[_+2+96]=_r(nt,ot,ct),x[_+2+32]=x[_+3+96]=_r(ot,ct,ut),x[_+3+32]=_r(ct,ut,dt)}function $s(x,_){var B=x[_+0-32],F=x[_+1-32],tt=x[_+2-32],nt=x[_+3-32],ot=x[_+4-32],ct=x[_+5-32],ut=x[_+6-32],dt=x[_+7-32];x[_+0+0]=B+F+1>>1,x[_+1+0]=x[_+0+64]=F+tt+1>>1,x[_+2+0]=x[_+1+64]=tt+nt+1>>1,x[_+3+0]=x[_+2+64]=nt+ot+1>>1,x[_+0+32]=_r(B,F,tt),x[_+1+32]=x[_+0+96]=_r(F,tt,nt),x[_+2+32]=x[_+1+96]=_r(tt,nt,ot),x[_+3+32]=x[_+2+96]=_r(nt,ot,ct),x[_+3+64]=_r(ot,ct,ut),x[_+3+96]=_r(ct,ut,dt)}function Oa(x,_){var B=x[_-1+0],F=x[_-1+32],tt=x[_-1+64],nt=x[_-1+96];x[_+0+0]=B+F+1>>1,x[_+2+0]=x[_+0+32]=F+tt+1>>1,x[_+2+32]=x[_+0+64]=tt+nt+1>>1,x[_+1+0]=_r(B,F,tt),x[_+3+0]=x[_+1+32]=_r(F,tt,nt),x[_+3+32]=x[_+1+64]=_r(tt,nt,nt),x[_+3+64]=x[_+2+64]=x[_+0+96]=x[_+1+96]=x[_+2+96]=x[_+3+96]=nt}function dl(x,_){var B=x[_-1+0],F=x[_-1+32],tt=x[_-1+64],nt=x[_-1+96],ot=x[_-1-32],ct=x[_+0-32],ut=x[_+1-32],dt=x[_+2-32];x[_+0+0]=x[_+2+32]=B+ot+1>>1,x[_+0+32]=x[_+2+64]=F+B+1>>1,x[_+0+64]=x[_+2+96]=tt+F+1>>1,x[_+0+96]=nt+tt+1>>1,x[_+3+0]=_r(ct,ut,dt),x[_+2+0]=_r(ot,ct,ut),x[_+1+0]=x[_+3+32]=_r(B,ot,ct),x[_+1+32]=x[_+3+64]=_r(F,B,ot),x[_+1+64]=x[_+3+96]=_r(tt,F,B),x[_+1+96]=_r(nt,tt,F)}function Ca(x,_){var B;for(B=0;8>B;++B)n(x,_+32*B,x,_-32,8)}function os(x,_){var B;for(B=0;8>B;++B)i(x,_,x[_-1],8),_+=32}function Wi(x,_,B){var F;for(F=0;8>F;++F)i(_,B+32*F,x,8)}function ha(x,_){var B,F=8;for(B=0;8>B;++B)F+=x[_+B-32]+x[_-1+32*B];Wi(F>>4,x,_)}function go(x,_){var B,F=4;for(B=0;8>B;++B)F+=x[_+B-32];Wi(F>>3,x,_)}function di(x,_){var B,F=4;for(B=0;8>B;++B)F+=x[_-1+32*B];Wi(F>>3,x,_)}function hi(x,_){Wi(128,x,_)}function On(x,_,B){var F=x[_-B],tt=x[_+0],nt=3*(tt-F)+_l[1020+x[_-2*B]-x[_+B]],ot=tf[112+(nt+4>>3)];x[_-B]=Aa[255+F+tf[112+(nt+3>>3)]],x[_+0]=Aa[255+tt-ot]}function ka(x,_,B,F){var tt=x[_+0],nt=x[_+B];return da[255+x[_-2*B]-x[_-B]]>F||da[255+nt-tt]>F}function Ql(x,_,B,F){return 4*da[255+x[_-B]-x[_+0]]+da[255+x[_-2*B]-x[_+B]]<=F}function js(x,_,B,F,tt){var nt=x[_-3*B],ot=x[_-2*B],ct=x[_-B],ut=x[_+0],dt=x[_+B],At=x[_+2*B],It=x[_+3*B];return 4*da[255+ct-ut]+da[255+ot-dt]>F?0:da[255+x[_-4*B]-nt]<=tt&&da[255+nt-ot]<=tt&&da[255+ot-ct]<=tt&&da[255+It-At]<=tt&&da[255+At-dt]<=tt&&da[255+dt-ut]<=tt}function ss(x,_,B,F){var tt=2*F+1;for(F=0;16>F;++F)Ql(x,_+F,B,tt)&&On(x,_+F,B)}function ls(x,_,B,F){var tt=2*F+1;for(F=0;16>F;++F)Ql(x,_+F*B,1,tt)&&On(x,_+F*B,1)}function pl(x,_,B,F){var tt;for(tt=3;0<tt;--tt)ss(x,_+=4*B,B,F)}function Hc(x,_,B,F){var tt;for(tt=3;0<tt;--tt)ls(x,_+=4,B,F)}function cs(x,_,B,F,tt,nt,ot,ct){for(nt=2*nt+1;0<tt--;){if(js(x,_,B,nt,ot))if(ka(x,_,B,ct))On(x,_,B);else{var ut=x,dt=_,At=B,It=ut[dt-2*At],ft=ut[dt-At],Mt=ut[dt+0],Pt=ut[dt+At],ie=ut[dt+2*At],jt=27*(he=_l[1020+3*(Mt-ft)+_l[1020+It-Pt]])+63>>7,re=18*he+63>>7,he=9*he+63>>7;ut[dt-3*At]=Aa[255+ut[dt-3*At]+he],ut[dt-2*At]=Aa[255+It+re],ut[dt-At]=Aa[255+ft+jt],ut[dt+0]=Aa[255+Mt-jt],ut[dt+At]=Aa[255+Pt-re],ut[dt+2*At]=Aa[255+ie-he]}_+=F}}function Ka(x,_,B,F,tt,nt,ot,ct){for(nt=2*nt+1;0<tt--;){if(js(x,_,B,nt,ot))if(ka(x,_,B,ct))On(x,_,B);else{var ut=x,dt=_,At=B,It=ut[dt-At],ft=ut[dt+0],Mt=ut[dt+At],Pt=tf[112+(4+(ie=3*(ft-It))>>3)],ie=tf[112+(ie+3>>3)],jt=Pt+1>>1;ut[dt-2*At]=Aa[255+ut[dt-2*At]+jt],ut[dt-At]=Aa[255+It+ie],ut[dt+0]=Aa[255+ft-Pt],ut[dt+At]=Aa[255+Mt-jt]}_+=F}}function Iu(x,_,B,F,tt,nt){cs(x,_,B,1,16,F,tt,nt)}function us(x,_,B,F,tt,nt){cs(x,_,1,B,16,F,tt,nt)}function zu(x,_,B,F,tt,nt){var ot;for(ot=3;0<ot;--ot)Ka(x,_+=4*B,B,1,16,F,tt,nt)}function R(x,_,B,F,tt,nt){var ot;for(ot=3;0<ot;--ot)Ka(x,_+=4,1,B,16,F,tt,nt)}
vendor: 13,661 bytes, line 238
238function J(x,_,B,F,tt,nt,ot,ct){cs(x,_,tt,1,8,nt,ot,ct),cs(B,F,tt,1,8,nt,ot,ct)}function pt(x,_,B,F,tt,nt,ot,ct){cs(x,_,1,tt,8,nt,ot,ct),cs(B,F,1,tt,8,nt,ot,ct)}function _t(x,_,B,F,tt,nt,ot,ct){Ka(x,_+4*tt,tt,1,8,nt,ot,ct),Ka(B,F+4*tt,tt,1,8,nt,ot,ct)}function gt(x,_,B,F,tt,nt,ot,ct){Ka(x,_+4,1,tt,8,nt,ot,ct),Ka(B,F+4,1,tt,8,nt,ot,ct)}function xt(){this.ba=new Ge,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new lr,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Tt(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function ue(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Le(){this.ua=0,this.Wa=new Kt,this.vb=new Kt,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new Y,this.yc=new V}function $e(){this.xb=this.a=0,this.l=new Eo,this.ca=new Ge,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new X,this.Pb=0,this.wd=new X,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Le,this.ab=0,this.gc=s(4,ue),this.Oc=0}function De(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Eo,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Gr(x,_,B,F,tt,nt,ot){for(x=x==null?0:x[_+0],_=0;_<ot;++_)tt[nt+_]=x+B[F+_]&255,x=tt[nt+_]}function zn(x,_,B,F,tt,nt,ot){var ct;if(x==null)Gr(null,null,B,F,tt,nt,ot);else for(ct=0;ct<ot;++ct)tt[nt+ct]=x[_+ct]+B[F+ct]&255}function Kn(x,_,B,F,tt,nt,ot){if(x==null)Gr(null,null,B,F,tt,nt,ot);else{var ct,ut=x[_+0],dt=ut,At=ut;for(ct=0;ct<ot;++ct)dt=At+(ut=x[_+ct])-dt,At=B[F+ct]+(-256&dt?0>dt?0:255:dt)&255,dt=ut,tt[nt+ct]=At}}function Cn(x,_,B,F){var tt=_.width,nt=_.o;if(e(x!=null&&_!=null),0>B||0>=F||B+F>nt)return null;if(!x.Cc){if(x.ga==null){var ot;if(x.ga=new De,(ot=x.ga==null)||(ot=_.width*_.o,e(x.Gb.length==0),x.Gb=a(ot),x.Uc=0,x.Gb==null?ot=0:(x.mb=x.Gb,x.nb=x.Uc,x.rc=null,ot=1),ot=!ot),!ot){ot=x.ga;var ct=x.Fa,ut=x.P,dt=x.qc,At=x.mb,It=x.nb,ft=ut+1,Mt=dt-1,Pt=ot.l;if(e(ct!=null&&At!=null&&_!=null),Al[0]=null,Al[1]=Gr,Al[2]=zn,Al[3]=Kn,ot.ca=At,ot.tb=It,ot.c=_.width,ot.i=_.height,e(0<ot.c&&0<ot.i),1>=dt)_=0;else if(ot.$a=3&ct[ut+0],ot.Z=ct[ut+0]>>2&3,ot.Lc=ct[ut+0]>>4&3,ut=ct[ut+0]>>6&3,0>ot.$a||1<ot.$a||4<=ot.Z||1<ot.Lc||ut)_=0;else if(Pt.put=ee,Pt.ac=Br,Pt.bc=ze,Pt.ma=ot,Pt.width=_.width,Pt.height=_.height,Pt.Da=_.Da,Pt.v=_.v,Pt.va=_.va,Pt.j=_.j,Pt.o=_.o,ot.$a)t:{e(ot.$a==1),_=Re();e:for(;;){if(_==null){_=0;break t}if(e(ot!=null),ot.mc=_,_.c=ot.c,_.i=ot.i,_.l=ot.l,_.l.ma=ot,_.l.width=ot.c,_.l.height=ot.i,_.a=0,it(_.m,ct,ft,Mt),!Ke(ot.c,ot.i,1,_,null)||(_.ab==1&&_.gc[0].hc==3&&mr(_.s)?(ot.ic=1,ct=_.c*_.i,_.Ta=null,_.Ua=0,_.V=a(ct),_.Ba=0,_.V==null?(_.a=1,_=0):_=1):(ot.ic=0,_=ge(_,ot.c)),!_))break e;_=1;break t}ot.mc=null,_=0}else _=Mt>=ot.c*ot.i;ot=!_}if(ot)return null;x.ga.Lc!=1?x.Ga=0:F=nt-B}e(x.ga!=null),e(B+F<=nt);t:{if(_=(ct=x.ga).c,nt=ct.l.o,ct.$a==0){if(ft=x.rc,Mt=x.Vc,Pt=x.Fa,ut=x.P+1+B*_,dt=x.mb,At=x.nb+B*_,e(ut<=x.P+x.qc),ct.Z!=0)for(e(Al[ct.Z]!=null),ot=0;ot<F;++ot)Al[ct.Z](ft,Mt,Pt,ut,dt,At,_),ft=dt,Mt=At,At+=_,ut+=_;else for(ot=0;ot<F;++ot)n(dt,At,Pt,ut,_),ft=dt,Mt=At,At+=_,ut+=_;x.rc=ft,x.Vc=Mt}else{if(e(ct.mc!=null),_=B+F,e((ot=ct.mc)!=null),e(_<=ot.i),ot.C>=_)_=1;else if(ct.ic||hs(),ct.ic){ct=ot.V,ft=ot.Ba,Mt=ot.c;var ie=ot.i,jt=(Pt=1,ut=ot.$/Mt,dt=ot.$%Mt,At=ot.m,It=ot.s,ot.$),re=Mt*ie,he=Mt*_,Ce=It.wc,ve=jt<he?Or(It,dt,ut):null;e(jt<=re),e(_<=ie),e(mr(It));e:for(;;){for(;!At.h&&jt<he;){if(dt&Ce||(ve=Or(It,dt,ut)),e(ve!=null),ht(At),256>(ie=vr(ve.G[0],ve.H[0],At)))ct[ft+jt]=ie,++jt,++dt>=Mt&&(dt=0,++ut<=_&&!(ut%16)&&Rr(ot,ut));else{if(!(280>ie)){Pt=0;break e}ie=rr(ie-256,At);var nr,Ve=vr(ve.G[4],ve.H[4],At);if(ht(At),!(jt>=(Ve=jr(Mt,Ve=rr(Ve,At)))&&re-jt>=ie)){Pt=0;break e}for(nr=0;nr<ie;++nr)ct[ft+jt+nr]=ct[ft+jt+nr-Ve];for(jt+=ie,dt+=ie;dt>=Mt;)dt-=Mt,++ut<=_&&!(ut%16)&&Rr(ot,ut);jt<he&&dt&Ce&&(ve=Or(It,dt,ut))}e(At.h==rt(At))}Rr(ot,ut>_?_:ut);break e}!Pt||At.h&&jt<re?(Pt=0,ot.a=At.h?5:3):ot.$=jt,_=Pt}else _=Wt(ot,ot.V,ot.Ba,ot.c,ot.i,_,vt);if(!_){F=0;break t}}B+F>=nt&&(x.Cc=1),F=1}if(!F)return null;if(x.Cc&&((F=x.ga)!=null&&(F.mc=null),x.ga=null,0<x.Ga))return alert("todo:WebPDequantizeLevels"),null}return x.nb+B*tt}function ni(x,_,B,F,tt,nt){for(;0<tt--;){var ot,ct=x,ut=_+(B?1:0),dt=x,At=_+(B?0:3);for(ot=0;ot<F;++ot){var It=dt[At+4*ot];It!=255&&(It*=32897,ct[ut+4*ot+0]=ct[ut+4*ot+0]*It>>23,ct[ut+4*ot+1]=ct[ut+4*ot+1]*It>>23,ct[ut+4*ot+2]=ct[ut+4*ot+2]*It>>23)}_+=nt}}function xi(x,_,B,F,tt){for(;0<F--;){var nt;for(nt=0;nt<B;++nt){var ot=x[_+2*nt+0],ct=15&(dt=x[_+2*nt+1]),ut=4369*ct,dt=(240&dt|dt>>4)*ut>>16;x[_+2*nt+0]=(240&ot|ot>>4)*ut>>16&240|(15&ot|ot<<4)*ut>>16>>4&15,x[_+2*nt+1]=240&dt|ct}_+=tt}}function Gi(x,_,B,F,tt,nt,ot,ct){var ut,dt,At=255;for(dt=0;dt<tt;++dt){for(ut=0;ut<F;++ut){var It=x[_+ut];nt[ot+4*ut]=It,At&=It}_+=B,ot+=ct}return At!=255}function gl(x,_,B,F,tt){var nt;for(nt=0;nt<tt;++nt)B[F+nt]=x[_+nt]>>8}function hs(){Vc=ni,No=xi,Zh=Gi,bo=gl}function ml(x,_,B){j[x]=function(F,tt,nt,ot,ct,ut,dt,At,It,ft,Mt,Pt,ie,jt,re,he,Ce){var ve,nr=Ce-1>>1,Ve=ct[ut+0]|dt[At+0]<<16,qr=It[ft+0]|Mt[Pt+0]<<16;e(F!=null);var Qe=3*Ve+qr+131074>>2;for(_(F[tt+0],255&Qe,Qe>>16,ie,jt),nt!=null&&(Qe=3*qr+Ve+131074>>2,_(nt[ot+0],255&Qe,Qe>>16,re,he)),ve=1;ve<=nr;++ve){var on=ct[ut+ve]|dt[At+ve]<<16,ai=It[ft+ve]|Mt[Pt+ve]<<16,Vr=Ve+on+qr+ai+524296,Ye=Vr+2*(on+qr)>>3;Qe=Ye+Ve>>1,Ve=(Vr=Vr+2*(Ve+ai)>>3)+on>>1,_(F[tt+2*ve-1],255&Qe,Qe>>16,ie,jt+(2*ve-1)*B),_(F[tt+2*ve-0],255&Ve,Ve>>16,ie,jt+(2*ve-0)*B),nt!=null&&(Qe=Vr+qr>>1,Ve=Ye+ai>>1,_(nt[ot+2*ve-1],255&Qe,Qe>>16,re,he+(2*ve-1)*B),_(nt[ot+2*ve+0],255&Ve,Ve>>16,re,he+(2*ve+0)*B)),Ve=on,qr=ai}1&Ce||(Qe=3*Ve+qr+131074>>2,_(F[tt+Ce-1],255&Qe,Qe>>16,ie,jt+(Ce-1)*B),nt!=null&&(Qe=3*qr+Ve+131074>>2,_(nt[ot+Ce-1],255&Qe,Qe>>16,re,he+(Ce-1)*B)))}}function Vh(){ga[ud]=Kc,ga[Ta]=Zu,ga[hd]=Jp,ga[Bo]=md,ga[ef]=ac,ga[Yu]=Gs,ga[rc]=oc,ga[rf]=Zu,ga[fd]=md,ga[Xu]=ac,ga[dd]=Gs}function Fu(x){return x&-16384?0>x?0:255:x>>yd}function Ds(x,_){return Fu((19077*x>>8)+(26149*_>>8)-14234)}function fs(x,_,B){return Fu((19077*x>>8)-(6419*_>>8)-(13320*B>>8)+8708)}function Uc(x,_){return Fu((19077*x>>8)+(33050*_>>8)-17685)}function yl(x,_,B,F,tt){F[tt+0]=Ds(x,B),F[tt+1]=fs(x,_,B),F[tt+2]=Uc(x,_)}function ra(x,_,B,F,tt){F[tt+0]=Uc(x,_),F[tt+1]=fs(x,_,B),F[tt+2]=Ds(x,B)}function Jl(x,_,B,F,tt){var nt=fs(x,_,B);_=nt<<3&224|Uc(x,_)>>3,F[tt+0]=248&Ds(x,B)|nt>>5,F[tt+1]=_}function tc(x,_,B,F,tt){var nt=240&Uc(x,_)|15;F[tt+0]=240&Ds(x,B)|fs(x,_,B)>>4,F[tt+1]=nt}function qu(x,_,B,F,tt){F[tt+0]=255,yl(x,_,B,F,tt+1)}function Is(x,_,B,F,tt){ra(x,_,B,F,tt),F[tt+3]=255}function Pa(x,_,B,F,tt){yl(x,_,B,F,tt),F[tt+3]=255}function bl(x,_,B){j[x]=function(F,tt,nt,ot,ct,ut,dt,At,It){for(var ft=At+(-2&It)*B;At!=ft;)_(F[tt+0],nt[ot+0],ct[ut+0],dt,At),_(F[tt+1],nt[ot+0],ct[ut+0],dt,At+B),tt+=2,++ot,++ut,At+=2*B;1&It&&_(F[tt+0],nt[ot+0],ct[ut+0],dt,At)}}function Hu(x,_,B){return B==0?x==0?_==0?6:5:_==0?4:0:B}function Yh(x,_,B,F,tt){switch(x>>>30){case 3:kl(_,B,F,tt,0);break;case 2:_a(_,B,F,tt);break;case 1:Ln(_,B,F,tt)}}function mo(x,_){var B,F,tt=_.M,nt=_.Nb,ot=x.oc,ct=x.pc+40,ut=x.oc,dt=x.pc+584,At=x.oc,It=x.pc+600;for(B=0;16>B;++B)ot[ct+32*B-1]=129;for(B=0;8>B;++B)ut[dt+32*B-1]=129,At[It+32*B-1]=129;for(0<tt?ot[ct-1-32]=ut[dt-1-32]=At[It-1-32]=129:(i(ot,ct-32-1,127,21),i(ut,dt-32-1,127,9),i(At,It-32-1,127,9)),F=0;F<x.za;++F){var ft=_.ya[_.aa+F];if(0<F){for(B=-1;16>B;++B)n(ot,ct+32*B-4,ot,ct+32*B+12,4);for(B=-1;8>B;++B)n(ut,dt+32*B-4,ut,dt+32*B+4,4),n(At,It+32*B-4,At,It+32*B+4,4)}var Mt=x.Gd,Pt=x.Hd+F,ie=ft.ad,jt=ft.Hc;if(0<tt&&(n(ot,ct-32,Mt[Pt].y,0,16),n(ut,dt-32,Mt[Pt].f,0,8),n(At,It-32,Mt[Pt].ea,0,8)),ft.Za){var re=ot,he=ct-32+16;for(0<tt&&(F>=x.za-1?i(re,he,Mt[Pt].y[15],4):n(re,he,Mt[Pt+1].y,0,4)),B=0;4>B;B++)re[he+128+B]=re[he+256+B]=re[he+384+B]=re[he+0+B];for(B=0;16>B;++B,jt<<=2)re=ot,he=ct+Ni[B],Si[ft.Ob[B]](re,he),Yh(jt,ie,16*+B,re,he)}else if(re=Hu(F,tt,ft.Ob[0]),ja[re](ot,ct),jt!=0)for(B=0;16>B;++B,jt<<=2)Yh(jt,ie,16*+B,ot,ct+Ni[B]);for(B=ft.Gc,re=Hu(F,tt,ft.Dd),ms[re](ut,dt),ms[re](At,It),jt=ie,re=ut,he=dt,255&(ft=0|B)&&(170&ft?Ro(jt,256,re,he):bn(jt,256,re,he)),ft=At,jt=It,255&(B>>=8)&&(170&B?Ro(ie,320,ft,jt):bn(ie,320,ft,jt)),tt<x.Ub-1&&(n(Mt[Pt].y,0,ot,ct+480,16),n(Mt[Pt].f,0,ut,dt+224,8),n(Mt[Pt].ea,0,At,It+224,8)),B=8*nt*x.B,Mt=x.sa,Pt=x.ta+16*F+16*nt*x.R,ie=x.qa,ft=x.ra+8*F+B,jt=x.Ha,re=x.Ia+8*F+B,B=0;16>B;++B)n(Mt,Pt+B*x.R,ot,ct+32*B,16);for(B=0;8>B;++B)n(ie,ft+B*x.B,ut,dt+32*B,8),n(jt,re+B*x.B,At,It+32*B,8)}}function ds(x,_,B,F,tt,nt,ot,ct,ut){var dt=[0],At=[0],It=0,ft=ut!=null?ut.kd:0,Mt=ut??new Tt;if(x==null||12>B)return 7;Mt.data=x,Mt.w=_,Mt.ha=B,_=[_],B=[B],Mt.gb=[Mt.gb];t:{var Pt=_,ie=B,jt=Mt.gb;if(e(x!=null),e(ie!=null),e(jt!=null),jt[0]=0,12<=ie[0]&&!r(x,Pt[0],"RIFF")){if(r(x,Pt[0]+8,"WEBP")){jt=3;break t}var re=Ht(x,Pt[0]+4);if(12>re||4294967286<re){jt=3;break t}if(ft&&re>ie[0]-8){jt=7;break t}jt[0]=re,Pt[0]+=12,ie[0]-=12}jt=0}if(jt!=0)return jt;for(re=0<Mt.gb[0],B=B[0];;){t:{var he=x;ie=_,jt=B;var Ce=dt,ve=At,nr=Pt=[0];if((Qe=It=[It])[0]=0,8>jt[0])jt=7;else{if(!r(he,ie[0],"VP8X")){if(Ht(he,ie[0]+4)!=10){jt=3;break t}if(18>jt[0]){jt=7;break t}var Ve=Ht(he,ie[0]+8),qr=1+qt(he,ie[0]+12);if(2147483648<=qr*(he=1+qt(he,ie[0]+15))){jt=3;break t}nr!=null&&(nr[0]=Ve),Ce!=null&&(Ce[0]=qr),ve!=null&&(ve[0]=he),ie[0]+=18,jt[0]-=18,Qe[0]=1}jt=0}}if(It=It[0],Pt=Pt[0],jt!=0)return jt;if(ie=!!(2&Pt),!re&&It)return 3;if(nt!=null&&(nt[0]=!!(16&Pt)),ot!=null&&(ot[0]=ie),ct!=null&&(ct[0]=0),ot=dt[0],Pt=At[0],It&&ie&&ut==null){jt=0;break}if(4>B){jt=7;break}if(re&&It||!re&&!It&&!r(x,_[0],"ALPH")){B=[B],Mt.na=[Mt.na],Mt.P=[Mt.P],Mt.Sa=[Mt.Sa];t:{Ve=x,jt=_,re=B;var Qe=Mt.gb;Ce=Mt.na,ve=Mt.P,nr=Mt.Sa,qr=22,e(Ve!=null),e(re!=null),he=jt[0];var on=re[0];for(e(Ce!=null),e(nr!=null),Ce[0]=null,ve[0]=null,nr[0]=0;;){if(jt[0]=he,re[0]=on,8>on){jt=7;break t}var ai=Ht(Ve,he+4);if(4294967286<ai){jt=3;break t}var Vr=8+ai+1&-2;if(qr+=Vr,0<Qe&&qr>Qe){jt=3;break t}if(!r(Ve,he,"VP8 ")||!r(Ve,he,"VP8L")){jt=0;break t}if(on[0]<Vr){jt=7;break t}r(Ve,he,"ALPH")||(Ce[0]=Ve,ve[0]=he+8,nr[0]=ai),he+=Vr,on-=Vr}}if(B=B[0],Mt.na=Mt.na[0],Mt.P=Mt.P[0],Mt.Sa=Mt.Sa[0],jt!=0)break}B=[B],Mt.Ja=[Mt.Ja],Mt.xa=[Mt.xa];t:if(Qe=x,jt=_,re=B,Ce=Mt.gb[0],ve=Mt.Ja,nr=Mt.xa,Ve=jt[0],he=!r(Qe,Ve,"VP8 "),qr=!r(Qe,Ve,"VP8L"),e(Qe!=null),e(re!=null),e(ve!=null),e(nr!=null),8>re[0])jt=7;else{if(he||qr){if(Qe=Ht(Qe,Ve+4),12<=Ce&&Qe>Ce-12){jt=3;break t}if(ft&&Qe>re[0]-8){jt=7;break t}ve[0]=Qe,jt[0]+=8,re[0]-=8,nr[0]=qr}else nr[0]=5<=re[0]&&Qe[Ve+0]==47&&!(Qe[Ve+4]>>5),ve[0]=re[0];jt=0}if(B=B[0],Mt.Ja=Mt.Ja[0],Mt.xa=Mt.xa[0],_=_[0],jt!=0)break;if(4294967286<Mt.Ja)return 3;if(ct==null||ie||(ct[0]=Mt.xa?2:1),ot=[ot],Pt=[Pt],Mt.xa){if(5>B){jt=7;break}ct=ot,ft=Pt,ie=nt,x==null||5>B?x=0:5<=B&&x[_+0]==47&&!(x[_+4]>>5)?(re=[0],Qe=[0],Ce=[0],it(ve=new X,x,_,B),br(ve,re,Qe,Ce)?(ct!=null&&(ct[0]=re[0]),ft!=null&&(ft[0]=Qe[0]),ie!=null&&(ie[0]=Ce[0]),x=1):x=0):x=0}else{if(10>B){jt=7;break}ct=Pt,x==null||10>B||!Bs(x,_+3,B-3)?x=0:(ft=x[_+0]|x[_+1]<<8|x[_+2]<<16,ie=16383&(x[_+7]<<8|x[_+6]),x=16383&(x[_+9]<<8|x[_+8]),1&ft||3<(ft>>1&7)||!(ft>>4&1)||ft>>5>=Mt.Ja||!ie||!x?x=0:(ot&&(ot[0]=ie),ct&&(ct[0]=x),x=1))}if(!x||(ot=ot[0],Pt=Pt[0],It&&(dt[0]!=ot||At[0]!=Pt)))return 3;ut!=null&&(ut[0]=Mt,ut.offset=_-ut.w,e(4294967286>_-ut.w),e(ut.offset==ut.ha-B));break}return jt==0||jt==7&&It&&ut==null?(nt!=null&&(nt[0]|=Mt.na!=null&&0<Mt.na.length),F!=null&&(F[0]=ot),tt!=null&&(tt[0]=Pt),0):jt}function vl(x,_,B){var F=_.width,tt=_.height,nt=0,ot=0,ct=F,ut=tt;if(_.Da=x!=null&&0<x.Da,_.Da&&(ct=x.cd,ut=x.bd,nt=x.v,ot=x.j,11>B||(nt&=-2,ot&=-2),0>nt||0>ot||0>=ct||0>=ut||nt+ct>F||ot+ut>tt))return 0;if(_.v=nt,_.j=ot,_.va=nt+ct,_.o=ot+ut,_.U=ct,_.T=ut,_.da=x!=null&&0<x.da,_.da){if(!le(ct,ut,B=[x.ib],nt=[x.hb]))return 0;_.ib=B[0],_.hb=nt[0]}return _.ob=x!=null&&x.ob,_.Kb=x==null||!x.Sd,_.da&&(_.ob=_.ib<3*F/4&&_.hb<3*tt/4,_.Kb=0),1}function Xh(x){if(x==null)return 2;if(11>x.S){var _=x.f.RGBA;_.fb+=(x.height-1)*_.A,_.A=-_.A}else _=x.f.kb,x=x.height,_.O+=(x-1)*_.fa,_.fa=-_.fa,_.N+=(x-1>>1)*_.Ab,_.Ab=-_.Ab,_.W+=(x-1>>1)*_.Db,_.Db=-_.Db,_.F!=null&&(_.J+=(x-1)*_.lb,_.lb=-_.lb);return 0}function ps(x,_,B,F){if(F==null||0>=x||0>=_)return 2;if(B!=null){if(B.Da){var tt=B.cd,nt=B.bd,ot=-2&B.v,ct=-2&B.j;if(0>ot||0>ct||0>=tt||0>=nt||ot+tt>x||ct+nt>_)return 2;x=tt,_=nt}if(B.da){if(!le(x,_,tt=[B.ib],nt=[B.hb]))return 2;x=tt[0],_=nt[0]}}F.width=x,F.height=_;t:{var ut=F.width,dt=F.height;if(x=F.S,0>=ut||0>=dt||!(x>=ud&&13>x))x=2;else{if(0>=F.Rd&&F.sd==null){ot=nt=tt=_=0;var At=(ct=ut*vd[x])*dt;if(11>x||(nt=(dt+1)/2*(_=(ut+1)/2),x==12&&(ot=(tt=ut)*dt)),(dt=a(At+2*nt+ot))==null){x=1;break t}F.sd=dt,11>x?((ut=F.f.RGBA).eb=dt,ut.fb=0,ut.A=ct,ut.size=At):((ut=F.f.kb).y=dt,ut.O=0,ut.fa=ct,ut.Fd=At,ut.f=dt,ut.N=0+At,ut.Ab=_,ut.Cd=nt,ut.ea=dt,ut.W=0+At+nt,ut.Db=_,ut.Ed=nt,x==12&&(ut.F=dt,ut.J=0+At+2*nt),ut.Tc=ot,ut.lb=tt)}if(_=1,tt=F.S,nt=F.width,ot=F.height,tt>=ud&&13>tt)if(11>tt)x=F.f.RGBA,_&=(ct=Math.abs(x.A))*(ot-1)+nt<=x.size,_&=ct>=nt*vd[tt],_&=x.eb!=null;else{x=F.f.kb,ct=(nt+1)/2,At=(ot+1)/2,ut=Math.abs(x.fa),dt=Math.abs(x.Ab);var It=Math.abs(x.Db),ft=Math.abs(x.lb),Mt=ft*(ot-1)+nt;_&=ut*(ot-1)+nt<=x.Fd,_&=dt*(At-1)+ct<=x.Cd,_=(_&=It*(At-1)+ct<=x.Ed)&ut>=nt&dt>=ct&It>=ct,_&=x.y!=null,_&=x.f!=null,_&=x.ea!=null,tt==12&&(_&=ft>=nt,_&=Mt<=x.Tc,_&=x.F!=null)}else _=0;x=_?0:2}}return x!=0||B!=null&&B.fd&&(x=Xh(F)),x}var ec=64,Za=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],$a=24,zs=32,Fs=8,xl=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,
vendor: 4,755 bytes, line 238
2386,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Nt("Predictor0","PredictorAdd0"),j.Predictor0=function(){return 4278190080},j.Predictor1=function(x){return x},j.Predictor2=function(x,_,B){return _[B+0]},j.Predictor3=function(x,_,B){return _[B+1]},j.Predictor4=function(x,_,B){return _[B-1]},j.Predictor5=function(x,_,B){return Vt(Vt(x,_[B+1]),_[B+0])},j.Predictor6=function(x,_,B){return Vt(x,_[B-1])},j.Predictor7=function(x,_,B){return Vt(x,_[B+0])},j.Predictor8=function(x,_,B){return Vt(_[B-1],_[B+0])},j.Predictor9=function(x,_,B){return Vt(_[B+0],_[B+1])},j.Predictor10=function(x,_,B){return Vt(Vt(x,_[B-1]),Vt(_[B+0],_[B+1]))},j.Predictor11=function(x,_,B){var F=_[B+0];return 0>=_e(F>>24&255,x>>24&255,(_=_[B-1])>>24&255)+_e(F>>16&255,x>>16&255,_>>16&255)+_e(F>>8&255,x>>8&255,_>>8&255)+_e(255&F,255&x,255&_)?F:x},j.Predictor12=function(x,_,B){var F=_[B+0];return(de((x>>24&255)+(F>>24&255)-((_=_[B-1])>>24&255))<<24|de((x>>16&255)+(F>>16&255)-(_>>16&255))<<16|de((x>>8&255)+(F>>8&255)-(_>>8&255))<<8|de((255&x)+(255&F)-(255&_)))>>>0},j.Predictor13=function(x,_,B){var F=_[B-1];return(Be((x=Vt(x,_[B+0]))>>24&255,F>>24&255)<<24|Be(x>>16&255,F>>16&255)<<16|Be(x>>8&255,F>>8&255)<<8|Be(255&x,255&F))>>>0};var Uu=j.PredictorAdd0;j.PredictorAdd1=Ne,Nt("Predictor2","PredictorAdd2"),Nt("Predictor3","PredictorAdd3"),Nt("Predictor4","PredictorAdd4"),Nt("Predictor5","PredictorAdd5"),Nt("Predictor6","PredictorAdd6"),Nt("Predictor7","PredictorAdd7"),Nt("Predictor8","PredictorAdd8"),Nt("Predictor9","PredictorAdd9"),Nt("Predictor10","PredictorAdd10"),Nt("Predictor11","PredictorAdd11"),Nt("Predictor12","PredictorAdd12"),Nt("Predictor13","PredictorAdd13");var Wu=j.PredictorAdd2;ce("ColorIndexInverseTransform","MapARGB","32b",function(x){return x>>8&255},function(x){return x}),ce("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(x){return x},function(x){return x>>8&255});var Mi,sd=j.ColorIndexInverseTransform,qs=j.MapARGB,Hs=j.VP8LColorIndexInverseTransformAlpha,fa=j.MapAlpha,Sl=j.VP8LPredictorsAdd=[];Sl.length=16,(j.VP8LPredictors=[]).length=16,(j.VP8LPredictorsAdd_C=[]).length=16,(j.VP8LPredictors_C=[]).length=16;var Gu,Vu,wl,Cl,Us,Wc,yo,kl,_a,Ro,Ln,bn,Zn,Ri,Ws,gs,Gc,Kh,Yp,ym,bm,vm,Xp,Kp,Vc,No,Zh,bo,Yc=a(511),ld=a(2041),Qh=a(225),Jh=a(767),cd=0,_l=ld,tf=Qh,Aa=Jh,da=Yc,ud=0,Ta=1,hd=2,Bo=3,ef=4,Yu=5,rc=6,rf=7,fd=8,Xu=9,dd=10,Oo=[2,3,7],Ku=[3,3,11],Xc=[280,256,256,256,40],pd=[0,1,1,1,0],nf=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Po=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],$o=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],nc=8,jo=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],Do=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],vo=null,xm=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Zp=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],gd=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Sm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,25
2385,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],pa=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,25
2385,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],ii=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,25
vendor: 10,562 bytes, line 238
2385,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],ln=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],ja=[],Si=[],ms=[],ic=1,Qp=2,Al=[],ga=[];ml("UpsampleRgbLinePair",yl,3),ml("UpsampleBgrLinePair",ra,3),ml("UpsampleRgbaLinePair",Pa,4),ml("UpsampleBgraLinePair",Is,4),ml("UpsampleArgbLinePair",qu,4),ml("UpsampleRgba4444LinePair",tc,2),ml("UpsampleRgb565LinePair",Jl,2);var Kc=j.UpsampleRgbLinePair,Jp=j.UpsampleBgrLinePair,Zu=j.UpsampleRgbaLinePair,md=j.UpsampleBgraLinePair,ac=j.UpsampleArgbLinePair,Gs=j.UpsampleRgba4444LinePair,oc=j.UpsampleRgb565LinePair,Io=16,Qu=1<<Io-1,Zc=-227,sc=482,yd=6,lc=0,ma=a(256),bd=a(256),wm=a(256),Ab=a(256),Tb=a(sc-Zc),Lb=a(sc-Zc);bl("YuvToRgbRow",yl,3),bl("YuvToBgrRow",ra,3),bl("YuvToRgbaRow",Pa,4),bl("YuvToBgraRow",Is,4),bl("YuvToArgbRow",qu,4),bl("YuvToRgba4444Row",tc,2),bl("YuvToRgb565Row",Jl,2);var Ni=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Ju=[0,2,8],af=[8,7,6,4,4,2,2,2,1,1,1,1],of=1;this.WebPDecodeRGBA=function(x,_,B,F,tt){var nt=Ta,ot=new xt,ct=new Ge;ot.ba=ct,ct.S=nt,ct.width=[ct.width],ct.height=[ct.height];var ut=ct.width,dt=ct.height,At=new Me;if(At==null||x==null)var It=2;else e(At!=null),It=ds(x,_,B,At.width,At.height,At.Pd,At.Qd,At.format,null);if(It!=0?ut=0:(ut!=null&&(ut[0]=At.width[0]),dt!=null&&(dt[0]=At.height[0]),ut=1),ut){ct.width=ct.width[0],ct.height=ct.height[0],F!=null&&(F[0]=ct.width),tt!=null&&(tt[0]=ct.height);t:{if(F=new Eo,(tt=new Tt).data=x,tt.w=_,tt.ha=B,tt.kd=1,_=[0],e(tt!=null),((x=ds(tt.data,tt.w,tt.ha,null,null,null,_,null,tt))==0||x==7)&&_[0]&&(x=4),(_=x)==0){if(e(ot!=null),F.data=tt.data,F.w=tt.w+tt.offset,F.ha=tt.ha-tt.offset,F.put=ee,F.ac=Br,F.bc=ze,F.ma=ot,tt.xa){if((x=Re())==null){ot=1;break t}if((function(ft,Mt){var Pt=[0],ie=[0],jt=[0];e:for(;;){if(ft==null)return 0;if(Mt==null)return ft.a=2,0;if(ft.l=Mt,ft.a=0,it(ft.m,Mt.data,Mt.w,Mt.ha),!br(ft.m,Pt,ie,jt)){ft.a=3;break e}if(ft.xb=Qp,Mt.width=Pt[0],Mt.height=ie[0],!Ke(Pt[0],ie[0],1,ft,null))break e;return 1}return e(ft.a!=0),0})(x,F)){if(F=(_=ps(F.width,F.height,ot.Oa,ot.ba))==0){e:{F=x;r:for(;;){if(F==null){F=0;break e}if(e(F.s.yc!=null),e(F.s.Ya!=null),e(0<F.s.Wb),e((B=F.l)!=null),e((tt=B.ma)!=null),F.xb!=0){if(F.ca=tt.ba,F.tb=tt.tb,e(F.ca!=null),!vl(tt.Oa,B,Bo)){F.a=2;break r}if(!ge(F,B.width)||B.da)break r;if((B.da||fe(F.ca.S))&&hs(),11>F.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),F.ca.f.kb.F!=null&&hs()),F.Pb&&0<F.s.ua&&F.s.vb.X==null&&!at(F.s.vb,F.s.Wa.Xa)){F.a=1;break r}F.xb=0}if(!Wt(F,F.V,F.Ba,F.c,F.i,B.o,Dr))break r;tt.Dc=F.Ma,F=1;break e}e(F.a!=0),F=0}F=!F}F&&(_=x.a)}else _=x.a}else{if((x=new fo)==null){ot=1;break t}if(x.Fa=tt.na,x.P=tt.P,x.qc=tt.Sa,Wa(x,F)){if((_=ps(F.width,F.height,ot.Oa,ot.ba))==0){if(x.Aa=0,B=ot.Oa,e((tt=x)!=null),B!=null){if(0<(ut=0>(ut=B.Md)?0:100<ut?255:255*ut/100)){for(dt=At=0;4>dt;++dt)12>(It=tt.pb[dt]).lc&&(It.ia=ut*af[0>It.lc?0:It.lc]>>3),At|=It.ia;At&&(alert("todo:VP8InitRandom"),tt.ia=1)}tt.Ga=B.Id,100<tt.Ga?tt.Ga=100:0>tt.Ga&&(tt.Ga=0)}(function(ft,Mt){if(ft==null)return 0;if(Mt==null)return gn(ft,2,"NULL VP8Io parameter in VP8Decode().");if(!ft.cb&&!Wa(ft,Mt))return 0;if(e(ft.cb),Mt.ac==null||Mt.ac(Mt)){Mt.ob&&(ft.L=0);var Pt=Ju[ft.L];if(ft.L==2?(ft.yb=0,ft.zb=0):(ft.yb=Mt.v-Pt>>4,ft.zb=Mt.j-Pt>>4,0>ft.yb&&(ft.yb=0),0>ft.zb&&(ft.zb=0)),ft.Va=Mt.o+15+Pt>>4,ft.Hb=Mt.va+15+Pt>>4,ft.Hb>ft.za&&(ft.Hb=ft.za),ft.Va>ft.Ub&&(ft.Va=ft.Ub),0<ft.L){var ie=ft.ed;for(Pt=0;4>Pt;++Pt){var jt;if(ft.Qa.Cb){var re=ft.Qa.Lb[Pt];ft.Qa.Fb||(re+=ie.Tb)}else re=ie.Tb;for(jt=0;1>=jt;++jt){var he=ft.gd[Pt][jt],Ce=re;if(ie.Pc&&(Ce+=ie.vd[0],jt&&(Ce+=ie.od[0])),0<(Ce=0>Ce?0:63<Ce?63:Ce)){var ve=Ce;0<ie.wb&&(ve=4<ie.wb?ve>>2:ve>>1)>9-ie.wb&&(ve=9-ie.wb),1>ve&&(ve=1),he.dd=ve,he.tc=2*Ce+ve,he.ld=40<=Ce?2:15<=Ce?1:0}else he.tc=0;he.La=jt}}}Pt=0}else gn(ft,6,"Frame setup failed"),Pt=ft.a;if(Pt=Pt==0){if(Pt){ft.$c=0,0<ft.Aa||(ft.Ic=of);e:{Pt=ft.Ic,ie=4*(ve=ft.za);var nr=32*ve,Ve=ve+1,qr=0<ft.L?ve*(0<ft.Aa?2:1):0,Qe=(ft.Aa==2?2:1)*ve;if((he=ie+832+(jt=3*(16*Pt+Ju[ft.L])/2*nr)+(re=ft.Fa!=null&&0<ft.Fa.length?ft.Kc.c*ft.Kc.i:0))!=he)Pt=0;else{if(he>ft.Vb){if(ft.Vb=0,ft.Ec=a(he),ft.Fc=0,ft.Ec==null){Pt=gn(ft,1,"no memory during frame initialization.");break e}ft.Vb=he}he=ft.Ec,Ce=ft.Fc,ft.Ac=he,ft.Bc=Ce,Ce+=ie,ft.Gd=s(nr,Lo),ft.Hd=0,ft.rb=s(Ve+1,tr),ft.sb=1,ft.wa=qr?s(qr,Wr):null,ft.Y=0,ft.D.Nb=0,ft.D.wa=ft.wa,ft.D.Y=ft.Y,0<ft.Aa&&(ft.D.Y+=ve),e(!0),ft.oc=he,ft.pc=Ce,Ce+=832,ft.ya=s(Qe,pn),ft.aa=0,ft.D.ya=ft.ya,ft.D.aa=ft.aa,ft.Aa==2&&(ft.D.aa+=ve),ft.R=16*ve,ft.B=8*ve,ve=(nr=Ju[ft.L])*ft.R,nr=nr/2*ft.B,ft.sa=he,ft.ta=Ce+ve,ft.qa=ft.sa,ft.ra=ft.ta+16*Pt*ft.R+nr,ft.Ha=ft.qa,ft.Ia=ft.ra+8*Pt*ft.B+nr,ft.$c=0,Ce+=jt,ft.mb=re?he:null,ft.nb=re?Ce:null,e(Ce+re<=ft.Fc+ft.Vb),hl(ft),i(ft.Ac,ft.Bc,0,ie),Pt=1}}if(Pt){if(Mt.ka=0,Mt.y=ft.sa,Mt.O=ft.ta,Mt.f=ft.qa,Mt.N=ft.ra,Mt.ea=ft.Ha,Mt.Vd=ft.Ia,Mt.fa=ft.R,Mt.Rc=ft.B,Mt.F=null,Mt.J=0,!cd){for(Pt=-255;255>=Pt;++Pt)Yc[255+Pt]=0>Pt?-Pt:Pt;for(Pt=-1020;1020>=Pt;++Pt)ld[1020+Pt]=-128>Pt?-128:127<Pt?127:Pt;for(Pt=-112;112>=Pt;++Pt)Qh[112+Pt]=-16>Pt?-16:15<Pt?15:Pt;for(Pt=-255;510>=Pt;++Pt)Jh[255+Pt]=0>Pt?0:255<Pt?255:Pt;cd=1}yo=Mo,kl=Vl,Ro=la,Ln=Yl,bn=Pu,_a=Gl,Zn=Iu,Ri=us,Ws=J,gs=pt,Gc=zu,Kh=R,Yp=_t,ym=gt,bm=ss,vm=ls,Xp=pl,Kp=Hc,Si[0]=Du,Si[1]=qc,Si[2]=ju,Si[3]=Xa,Si[4]=ua,Si[5]=Zl,Si[6]=Oi,Si[7]=$s,Si[8]=dl,Si[9]=Oa,ja[0]=po,ja[1]=Xl,ja[2]=Kl,ja[3]=$u,ja[4]=Ya,ja[5]=Os,ja[6]=Ps,ms[0]=ha,ms[1]=fl,ms[2]=Ca,ms[3]=os,ms[4]=di,ms[5]=go,ms[6]=hi,Pt=1}else Pt=0}Pt&&(Pt=(function(on,ai){for(on.M=0;on.M<on.Va;++on.M){var Vr,Ye=on.Jc[on.M&on.Xb],Fe=on.m,pi=on;for(Vr=0;Vr<pi.za;++Vr){var Nr=Fe,Qr=pi,Pn=Qr.Ac,Vi=Qr.Bc+4*Vr,ya=Qr.zc,Qn=Qr.ya[Qr.aa+Vr];if(Qr.Qa.Bb?Qn.$b=kt(Nr,Qr.Pa.jb[0])?2+kt(Nr,Qr.Pa.jb[2]):kt(Nr,Qr.Pa.jb[1]):Qn.$b=0,Qr.kc&&(Qn.Ad=kt(Nr,Qr.Bd)),Qn.Za=!kt(Nr,145)+0,Qn.Za){var Pi=Qn.Ob,La=0;for(Qr=0;4>Qr;++Qr){var $i,rn=ya[0+Qr];for($i=0;4>$i;++$i){rn=pa[Pn[Vi+$i]][rn];for(var kn=gd[kt(Nr,rn[0])];0<kn;)kn=gd[2*kn+kt(Nr,rn[kn])];rn=-kn,Pn[Vi+$i]=rn}n(Pi,La,Pn,Vi,4),La+=4,ya[0+Qr]=rn}}else rn=kt(Nr,156)?kt(Nr,128)?1:3:kt(Nr,163)?2:0,Qn.Ob[0]=rn,i(Pn,Vi,rn,4),i(ya,0,rn,4);Qn.Dd=kt(Nr,142)?kt(Nr,114)?kt(Nr,183)?1:3:2:0}if(pi.m.Ka)return gn(on,7,"Premature end-of-partition0 encountered.");for(;on.ja<on.za;++on.ja){if(pi=Ye,Nr=(Fe=on).rb[Fe.sb-1],Pn=Fe.rb[Fe.sb+Fe.ja],Vr=Fe.ya[Fe.aa+Fe.ja],Vi=Fe.kc?Vr.Ad:0)Nr.la=Pn.la=0,Vr.Za||(Nr.Na=Pn.Na=0),Vr.Hc=0,Vr.Gc=0,Vr.ia=0;else{var gi,En;if(Nr=Pn,Pn=pi,Vi=Fe.Pa.Xc,ya=Fe.ya[Fe.aa+Fe.ja],Qn=Fe.pb[ya.$b],Qr=ya.ad,Pi=0,La=Fe.rb[Fe.sb-1],rn=$i=0,i(Qr,Pi,0,384),ya.Za)var Yi=0,mi=Vi[3];else{kn=a(16);var _n=Nr.Na+La.Na;if(_n=vo(Pn,Vi[1],_n,Qn.Eb,0,kn,0),Nr.Na=La.Na=(0<_n)+0,1<_n)yo(kn,0,Qr,Pi);else{var Bi=kn[0]+3>>3;for(kn=0;256>kn;kn+=16)Qr[Pi+kn]=Bi}Yi=1,mi=Vi[0]}var $n=15&Nr.la,ji=15&La.la;for(kn=0;4>kn;++kn){var Di=1&ji;for(Bi=En=0;4>Bi;++Bi)$n=$n>>1|(Di=(_n=vo(Pn,mi,_n=Di+(1&$n),Qn.Sc,Yi,Qr,Pi))>Yi)<<7,En=En<<2|(3<_n?3:1<_n?2:Qr[Pi+0]!=0),Pi+=16;$n>>=4,ji=ji>>1|Di<<7,$i=($i<<8|En)>>>0}for(mi=$n,Yi=ji>>4,gi=0;4>gi;gi+=2){for(En=0,$n=Nr.la>>4+gi,ji=La.la>>4+gi,kn=0;2>kn;++kn){for(Di=1&ji,Bi=0;2>Bi;++Bi)_n=Di+(1&$n),$n=$n>>1|(Di=0<(_n=vo(Pn,Vi[2],_n,Qn.Qc,0,Qr,Pi)))<<3,En=En<<2|(3<_n?3:1<_n?2:Qr[Pi+0]!=0),Pi+=16;$n>>=2,ji=ji>>1|Di<<5}rn|=En<<4*gi,mi|=$n<<4<<gi,Yi|=(240&ji)<<gi}Nr.la=mi,La.la=Yi,ya.Hc=$i,ya.Gc=rn,ya.ia=43690&rn?0:Qn.ia,Vi=!($i|rn)}if(0<Fe.L&&(Fe.wa[Fe.Y+Fe.ja]=Fe.gd[Vr.$b][Vr.Za],Fe.wa[Fe.Y+Fe.ja].La|=!Vi),pi.Ka)return gn(on,7,"Premature end-of-file encountered.")}if(hl(on),Fe=ai,pi=1,Vr=(Ye=on).D,Nr=0<Ye.L&&Ye.M>=Ye.zb&&Ye.M<=Ye.Va,Ye.Aa==0)e:{if(Vr.M=Ye.M,Vr.uc=Nr,mo(Ye,Vr),pi=1,Vr=(En=Ye.D).Nb,Nr=(rn=Ju[Ye.L])*Ye.R,Pn=rn/2*Ye.B,kn=16*Vr*Ye.R,Bi=8*Vr*Ye.B,Vi=Ye.sa,ya=Ye.ta-Nr+kn,Qn=Ye.qa,Qr=Ye.ra-Pn+Bi,Pi=Ye.Ha,La=Ye.Ia-Pn+Bi,ji=($n=En.M)==0,$i=$n>=Ye.Va-1,Ye.Aa==2&&mo(Ye,En),En.uc)for(Di=(_n=Ye).D.M,e(_n.D.uc),En=_n.yb;En<_n.Hb;++En){Yi=En,mi=Di;var Un=(vn=(Ii=_n).D).Nb;gi=Ii.R;var vn=vn.wa[vn.Y+Yi],Ea=Ii.sa,wi=Ii.ta+16*Un*gi+16*Yi,kr=vn.dd,Ar=vn.tc;if(Ar!=0)if(e(3<=Ar),Ii.L==1)0<Yi&&vm(Ea,wi,gi,Ar+4),vn.La&&Kp(Ea,wi,gi,Ar),0<mi&&bm(Ea,wi,gi,Ar+4),vn.La&&Xp(Ea,wi,gi,Ar);else{var An=Ii.B,Qa=Ii.qa,zo=Ii.ra+8*Un*An+8*Yi,Da=Ii.Ha,Ii=Ii.Ia+8*Un*An+8*Yi;Un=vn.ld,0<Yi&&(Ri(Ea,wi,gi,Ar+4,kr,Un),gs(Qa,zo,Da,Ii,An,Ar+4,kr,Un)),vn.La&&(Kh(Ea,wi,gi,Ar,kr,Un),ym(Qa,zo,Da,Ii,An,Ar,kr,Un)),0<mi&&(Zn(Ea,wi,gi,Ar+4,kr,Un),Ws(Qa,zo,Da,Ii,An,Ar+4,kr,Un)),vn.La&&(Gc(Ea,wi,gi,Ar,kr,Un),Yp(Qa,zo,Da,Ii,An,Ar,kr,Un))}}if(Ye.ia&&alert("todo:DitherRow"),Fe.put!=null){if(En=16*$n,$n=16*($n+1),ji?(Fe.y=Ye.sa,Fe.O=Ye.ta+kn,Fe.f=Ye.qa,Fe.N=Ye.ra+Bi,Fe.ea=Ye.Ha,Fe.W=Ye.Ia+Bi):(En-=rn,Fe.y=Vi,Fe.O=ya,Fe.f=Qn,Fe.N=Qr,Fe.ea=Pi,Fe.W=La),$i||($n-=rn),$n>Fe.o&&($n=Fe.o),Fe.F=null,Fe.J=null,Ye.Fa!=null&&0<Ye.Fa.length&&En<$n&&(Fe.J=Cn(Ye,Fe,En,$n-En),Fe.F=Ye.mb,Fe.F==null&&Fe.F.length==0)){pi=gn(Ye,3,"Could not decode alpha data.");break e}En<Fe.j&&(rn=Fe.j-En,En=Fe.j,e(!(1&rn)),Fe.O+=Ye.R*rn,Fe.N+=Ye.B*(rn>>1),Fe.W+=Ye.B*(rn>>1),Fe.F!=null&&(Fe.J+=Fe.width*rn)),En<$n&&(Fe.O+=Fe.v,Fe.N+=Fe.v>>1,Fe.W+=Fe.v>>1,Fe.F!=null&&(Fe.J+=Fe.v),Fe.ka=En-Fe.j,Fe.U=Fe.va-Fe.v,Fe.T=$n-En,pi=Fe.put(Fe))}Vr+1!=Ye.Ic||$i||(n(Ye.sa,Ye.ta-Nr,Vi,ya+16*Ye.R,Nr),n(Ye.qa,Ye.ra-Pn,Qn,Qr+8*Ye.B,Pn),n(Ye.Ha,Ye.Ia-Pn,Pi,La+8*Ye.B,Pn))}if(!pi)return gn(on,6,"Output aborted.")}return 1})(ft,Mt)),Mt.bc!=null&&Mt.bc(Mt),Pt&=1}return Pt?(ft.cb=0,Pt):0})(x,F)||(_=x.a)}}else _=x.a}_==0&&ot.Oa!=null&&ot.Oa.fd&&(_=Xh(ot.ba))}ot=_}nt=ot!=0?null:11>nt?ct.f.RGBA.eb:ct.f.kb.y}else nt=null;return nt};var vd=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function h(j,M){for(var N="",I=0;I<4;I++)N+=String.fromCharCode(j[M++]);return N}function f(j,M){return j[M+0]|j[M+1]<<8}function p(j,M){return(j[M+0]|j[M+1]<<8|j[M+2]<<16)>>>0}function y(j,M){return(j[M+0]|j[M+1]<<8|j[M+2]<<16|j[M+3]<<24)>>>0}new u;var g=[0],b=[0],v=[],C=new u,k=t,T=(function(j,M){var N={},I=0,V=!1,z=0,Y=0;
238if(N.frames=[],!(function(P,X){for(var et=0;et<4;et++)if(P[X+et]!="RIFF".charCodeAt(et))return!0;return!1})(j,M)){for(y(j,M+=4),M+=8;M<j.length;){var D=h(j,M),Z=y(j,M+=4);M+=4;var Q=Z+(1&Z);switch(D){case"VP8 ":case"VP8L":N.frames[I]===void 0&&(N.frames[I]={}),(K=N.frames[I]).src_off=V?Y:M-8,K.src_size=z+Z+8,I++,V&&(V=!1,z=0,Y=0);break;case"VP8X":(K=N.header={}).feature_flags=j[M];var it=M+4;K.canvas_width=1+p(j,it),it+=3,K.canvas_height=1+p(j,it),it+=3;break;case"ALPH":V=!0,z=Q+8,Y=M-8;break;case"ANIM":(K=N.header).bgcolor=y(j,M),it=M+4,K.loop_count=f(j,it),it+=2;break;case"ANMF":var mt,K;(K=N.frames[I]={}).offset_x=2*p(j,M),M+=3,K.offset_y=2*p(j,M),M+=3,K.width=1+p(j,M),M+=3,K.height=1+p(j,M),M+=3,K.duration=p(j,M),M+=3,mt=j[M++],K.dispose=1&mt,K.blend=mt>>1&1}D!="ANMF"&&(M+=Q)}return N}})(k,0);T.response=k,T.rgbaoutput=!0,T.dataurl=!1;var E=T.header?T.header:null,L=T.frames?T.frames:null;if(E){E.loop_counter=E.loop_count,g=[E.canvas_height],b=[E.canvas_width];for(var O=0;O<L.length&&L[O].blend!=0;O++);}var W=L[0],q=C.WebPDecodeRGBA(k,W.src_off,W.src_size,b,g);W.rgba=q,W.imgwidth=b[0],W.imgheight=g[0];for(var U=0;U<b[0]*g[0]*4;U++)v[U]=q[U];return this.width=b,this.height=g,this.data=v,this}function rK(){var t,e=this.internal.__metadata__.metadata,r=unescape(encodeURIComponent(e));t=this.internal.__metadata__.rawXml?r:'<x:xmpmeta xmlns:x="adobe:ns:meta/"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceUri+'"><jspdf:metadata>'+r.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")+"</jspdf:metadata></rdf:Description></rdf:RDF></x:xmpmeta>",this.internal.__metadata__.metadataObjectNumber=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+t.length+" >>"),this.internal.write("stream"),this.internal.write(t),this.internal.write("endstream"),this.internal.write("endobj")}function nK(){this.internal.__metadata__.metadataObjectNumber&&this.internal.write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}(function(t){var e,r,n,i,a,s,l,u,h,f=function(P){return P=P||{},this.isStrokeTransparent=P.isStrokeTransparent||!1,this.strokeOpacity=P.strokeOpacity||1,this.strokeStyle=P.strokeStyle||"#000000",this.fillStyle=P.fillStyle||"#000000",this.isFillTransparent=P.isFillTransparent||!1,this.fillOpacity=P.fillOpacity||1,this.font=P.font||"10px sans-serif",this.textBaseline=P.textBaseline||"alphabetic",this.textAlign=P.textAlign||"left",this.lineWidth=P.lineWidth||1,this.lineJoin=P.lineJoin||"miter",this.lineCap=P.lineCap||"butt",this.path=P.path||[],this.transform=P.transform!==void 0?P.transform.clone():new u,this.globalCompositeOperation=P.globalCompositeOperation||"normal",this.globalAlpha=P.globalAlpha||1,this.clip_path=P.clip_path||[],this.currentPoint=P.currentPoint||new s,this.miterLimit=P.miterLimit||10,this.lastPoint=P.lastPoint||new s,this.lineDashOffset=P.lineDashOffset||0,this.lineDash=P.lineDash||[],this.margin=P.margin||[0,0,0,0],this.prevPageLastElemOffset=P.prevPageLastElemOffset||0,this.ignoreClearRect=typeof P.ignoreClearRect!="boolean"||P.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new p(this),e=this.internal.f2,r=this.internal.getCoordinateString,n=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,s=this.internal.Point,l=this.internal.Rectangle,u=this.internal.Matrix,h=new f}]);var p=function(P){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var X=P;Object.defineProperty(this,"pdf",{get:function(){return X}});var et=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return et},set:function(at){et=!!at}});var rt=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return rt},set:function(at){rt=!!at}});var lt=0;Object.defineProperty(this,"posX",{get:function(){return lt},set:function(at){isNaN(at)||(lt=at)}});var ht=0;Object.defineProperty(this,"posY",{get:function(){return ht},set:function(at){isNaN(at)||(ht=at)}}),Object.defineProperty(this,"margin",{get:function(){return h.margin},set:function(at){var ae;typeof at=="number"?ae=[at,at,at,at]:((ae=new Array(4))[0]=at[0],ae[1]=at.length>=2?at[1]:ae[0],ae[2]=at.length>=3?at[2]:ae[0],ae[3]=at.length>=4?at[3]:ae[1]),h.margin=ae}});var bt=!1;Object.defineProperty(this,"autoPaging",{get:function(){return bt},set:function(at){bt=at}});var yt=0;Object.defineProperty(this,"lastBreak",{get:function(){return yt},set:function(at){yt=at}});var kt=[];Object.defineProperty(this,"pageBreaks",{get:function(){return kt},set:function(at){kt=at}}),Object.defineProperty(this,"ctx",{get:function(){return h},set:function(at){at instanceof f&&(h=at)}}),Object.defineProperty(this,"path",{get:function(){return h.path}
238,set:function(at){h.path=at}});var Rt=[];Object.defineProperty(this,"ctxStack",{get:function(){return Rt},set:function(at){Rt=at}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(at){var ae;ae=y(at),this.ctx.fillStyle=ae.style,this.ctx.isFillTransparent=ae.a===0,this.ctx.fillOpacity=ae.a,this.pdf.setFillColor(ae.r,ae.g,ae.b,{a:ae.a}),this.pdf.setTextColor(ae.r,ae.g,ae.b,{a:ae.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(at){var ae=y(at);this.ctx.strokeStyle=ae.style,this.ctx.isStrokeTransparent=ae.a===0,this.ctx.strokeOpacity=ae.a,ae.a===0?this.pdf.setDrawColor(255,255,255):(ae.a,this.pdf.setDrawColor(ae.r,ae.g,ae.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(at){["butt","round","square"].indexOf(at)!==-1&&(this.ctx.lineCap=at,this.pdf.setLineCap(at))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(at){isNaN(at)||(this.ctx.lineWidth=at,this.pdf.setLineWidth(at))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(at){["bevel","round","miter"].indexOf(at)!==-1&&(this.ctx.lineJoin=at,this.pdf.setLineJoin(at))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(at){isNaN(at)||(this.ctx.miterLimit=at,this.pdf.setMiterLimit(at))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(at){this.ctx.textBaseline=at}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(at){["right","end","center","left","start"].indexOf(at)!==-1&&(this.ctx.textAlign=at)}});var wt=null,qt=null,Ht=null;Object.defineProperty(this,"fontFaces",{get:function(){return Ht},set:function(at){wt=null,qt=null,Ht=at}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(at){var ae;if(this.ctx.font=at,(ae=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(at))!==null){var Kt=ae[1];ae[2];var le=ae[3],Ot=ae[4];ae[5];var be=ae[6],Nt=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Ot)[2];Ot=Math.floor(Nt==="px"?parseFloat(Ot)*this.pdf.internal.scaleFactor:Nt==="em"?parseFloat(Ot)*this.pdf.getFontSize():parseFloat(Ot)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Ot);var Dt=(function(ce){var Er,He,Jt=[],Se=ce.trim();if(Se==="")return Ex;if(Se in XA)return[XA[Se]];for(;Se!=="";){switch(He=null,Er=(Se=ZA(Se)).charAt(0)){case'"':case"'":He=KX(Se.substring(1),Er);break;default:He=ZX(Se)}if(He===null||(Jt.push(He[0]),(Se=ZA(He[1]))!==""&&Se.charAt(0)!==","))return Ex;Se=Se.replace(/^,/,"")}return Jt})(be);if(this.fontFaces){var Vt=(function(ce,Er){var He=ce.getFontList(),Jt=JSON.stringify(He);
238if(wt===null||qt!==Jt){var Se=(function(Pe){var je=[];return Object.keys(Pe).forEach(function(Et){Pe[Et].forEach(function(fe){var te=null;switch(fe){case"bold":te={family:Et,weight:"bold"};break;case"italic":te={family:Et,style:"italic"};break;case"bolditalic":te={family:Et,weight:"bold",style:"italic"};break;case"":case"normal":te={family:Et}}te!==null&&(te.ref={name:Et,style:fe},je.push(te))})}),je})(He);wt=(function(Pe){for(var je={},Et=0;Et<Pe.length;++Et){var fe=Lx(Pe[Et]),te=fe.family,Ze=fe.stretch,Ge=fe.style,Me=fe.weight;je[te]=je[te]||{},je[te][Ze]=je[te][Ze]||{},je[te][Ze][Ge]=je[te][Ze][Ge]||{},je[te][Ze][Ge][Me]=fe}return je})(Se.concat(Er)),qt=Jt}return wt})(this.pdf,this.fontFaces),de=Dt.map(function(ce){return{family:ce,stretch:"normal",weight:le,style:Kt}}),Be=(function(ce,Er,He){for(var Jt=(He=He||{}).defaultFontFamily||"times",Se=Object.assign({},XX,He.genericFontFamilies||{}),Pe=null,je=null,Et=0;Et<Er.length;++Et)if(Se[(Pe=Lx(Er[Et])).family]&&(Pe.family=Se[Pe.family]),ce.hasOwnProperty(Pe.family)){je=ce[Pe.family];break}if(!(je=je||ce[Jt]))throw new Error("Could not find a font-family for the rule '"+KA(Pe)+"' and default family '"+Jt+"'.");if(je=(function(fe,te){if(te[fe])return te[fe];var Ze=U5[fe],Ge=Ze<=U5.normal?-1:1,Me=YA(te,bE,Ze,Ge);if(!Me)throw new Error("Could not find a matching font-stretch value for "+fe);return Me})(Pe.stretch,je),je=(function(fe,te){if(te[fe])return te[fe];for(var Ze=yE[fe],Ge=0;Ge<Ze.length;++Ge)if(te[Ze[Ge]])return te[Ze[Ge]];throw new Error("Could not find a matching font-style for "+fe)})(Pe.style,je),!(je=(function(fe,te){if(te[fe])return te[fe];if(fe===400&&te[500])return te[500];if(fe===500&&te[400])return te[400];var Ze=YX[fe],Ge=YA(te,vE,Ze,fe<400?-1:1);if(!Ge)throw new Error("Could not find a matching font-weight for value "+fe);return Ge})(Pe.weight,je)))throw new Error("Failed to resolve a font for the rule '"+KA(Pe)+"'.");return je})(Vt,de);this.pdf.setFont(Be.ref.name,Be.ref.style)}else{var _e="";(le==="bold"||parseInt(le,10)>=700||Kt==="bold")&&(_e="bold"),Kt==="italic"&&(_e+="italic"),_e.length===0&&(_e="normal");for(var Ne="",Oe={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},we=0;we<Dt.length;we++){if(this.pdf.internal.getFont(Dt[we],_e,{noFallback:!0,disableWarning:!0})!==void 0){Ne=Dt[we];break}if(_e==="bolditalic"&&this.pdf.internal.getFont(Dt[we],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Ne=Dt[we],_e="bold";else if(this.pdf.internal.getFont(Dt[we],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Ne=Dt[we],_e="normal";break}}if(Ne===""){for(var Ae=0;Ae<Dt.length;Ae++)if(Oe[Dt[Ae]]){Ne=Oe[Dt[Ae]];break}}Ne=Ne===""?"Times":Ne,this.pdf.setFont(Ne,_e)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(at){this.ctx.globalCompositeOperation=at}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(at){this.ctx.globalAlpha=at}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(at){this.ctx.lineDashOffset=at,K.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(at){this.ctx.lineDash=at,K.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(at){this.ctx.ignoreClearRect=!!at}})};p.prototype.setLineDash=function(P){this.lineDash=P},p.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},p.prototype.fill=function(){L.call(this,"fill",!1)},p.prototype.stroke=function(){L.call(this,"stroke",!1)},p.prototype.beginPath=function(){this.path=[{type:"begin"}]},p.prototype.moveTo=function(P,X){if(isNaN(P)||isNaN(X))throw ci.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to 
238jsPDF.context2d.moveTo");var et=this.ctx.transform.applyToPoint(new s(P,X));this.path.push({type:"mt",x:et.x,y:et.y}),this.ctx.lastPoint=new s(P,X)},p.prototype.closePath=function(){var P=new s(0,0),X=0;for(X=this.path.length-1;X!==-1;X--)if(this.path[X].type==="begin"&&Yn(this.path[X+1])==="object"&&typeof this.path[X+1].x=="number"){P=new s(this.path[X+1].x,this.path[X+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(P.x,P.y)},p.prototype.lineTo=function(P,X){if(isNaN(P)||isNaN(X))throw ci.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var et=this.ctx.transform.applyToPoint(new s(P,X));this.path.push({type:"lt",x:et.x,y:et.y}),this.ctx.lastPoint=new s(et.x,et.y)},p.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),L.call(this,null,!0)},p.prototype.quadraticCurveTo=function(P,X,et,rt){if(isNaN(et)||isNaN(rt)||isNaN(P)||isNaN(X))throw ci.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var lt=this.ctx.transform.applyToPoint(new s(et,rt)),ht=this.ctx.transform.applyToPoint(new s(P,X));this.path.push({type:"qct",x1:ht.x,y1:ht.y,x:lt.x,y:lt.y}),this.ctx.lastPoint=new s(lt.x,lt.y)},p.prototype.bezierCurveTo=function(P,X,et,rt,lt,ht){if(isNaN(lt)||isNaN(ht)||isNaN(P)||isNaN(X)||isNaN(et)||isNaN(rt))throw ci.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var bt=this.ctx.transform.applyToPoint(new s(lt,ht)),yt=this.ctx.transform.applyToPoint(new s(P,X)),kt=this.ctx.transform.applyToPoint(new s(et,rt));this.path.push({type:"bct",x1:yt.x,y1:yt.y,x2:kt.x,y2:kt.y,x:bt.x,y:bt.y}),this.ctx.lastPoint=new s(bt.x,bt.y)},p.prototype.arc=function(P,X,et,rt,lt,ht){if(isNaN(P)||isNaN(X)||isNaN(et)||isNaN(rt)||isNaN(lt))throw ci.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(ht=!!ht,!this.ctx.transform.isIdentity){var bt=this.ctx.transform.applyToPoint(new s(P,X));P=bt.x,X=bt.y;var yt=this.ctx.transform.applyToPoint(new s(0,et)),kt=this.ctx.transform.applyToPoint(new s(0,0));et=Math.sqrt(Math.pow(yt.x-kt.x,2)+Math.pow(yt.y-kt.y,2))}Math.abs(lt-rt)>=2*Math.PI&&(rt=0,lt=2*Math.PI),this.path.push({type:"arc",x:P,y:X,radius:et,startAngle:rt,endAngle:lt,counterclockwise:ht})},p.prototype.arcTo=function(P,X,et,rt,lt){throw new Error("arcTo not implemented.")},p.prototype.rect=function(P,X,et,rt){if(isNaN(P)||isNaN(X)||isNaN(et)||isNaN(rt))throw ci.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(P,X),this.lineTo(P+et,X),this.lineTo(P+et,X+rt),this.lineTo(P,X+rt),this.lineTo(P,X),this.lineTo(P+et,X),this.lineTo(P,X)},p.prototype.fillRect=function(P,X,et,rt){if(isNaN(P)||isNaN(X)||isNaN(et)||isNaN(rt))throw ci.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!g.call(this)){var lt={};this.lineCap!=="butt"&&(lt.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(lt.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(P,X,et,rt),this.fill(),lt.hasOwnProperty("lineCap")&&(this.lineCap=lt.lineCap),lt.hasOwnProperty("lineJoin")&&(this.lineJoin=lt.lineJoin)}},p.prototype.strokeRect=function(P,X,et,rt){if(isNaN(P)||isNaN(X)||isNaN(et)||isNaN(rt))throw ci.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");b.call(this)||(this.beginPath(),this.rect(P,X,et,rt),this.stroke())},p.prototype.clearRect=function(P,X,et,rt){if(isNaN(P)||isNaN(X)||isNaN(et)||isNaN(rt))throw ci.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(P,X,et,rt))},p.prototype.save=function(P){P=typeof P!="boolean"||P;for(var X=this.pdf.internal.getCurrentPageInfo().pageNumber,et=0;et<this.pdf.internal.getNumberOfPages();et++)this.pdf.setPage(et+1),this.pdf.internal.out("q");
vendor: 4,219 bytes, line 238
238if(this.pdf.setPage(X),P){this.ctx.fontSize=this.pdf.internal.getFontSize();var rt=new f(this.ctx);this.ctxStack.push(this.ctx),this.ctx=rt}},p.prototype.restore=function(P){P=typeof P!="boolean"||P;for(var X=this.pdf.internal.getCurrentPageInfo().pageNumber,et=0;et<this.pdf.internal.getNumberOfPages();et++)this.pdf.setPage(et+1),this.pdf.internal.out("Q");this.pdf.setPage(X),P&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},p.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var y=function(P){var X,et,rt,lt;if(P.isCanvasGradient===!0&&(P=P.getColor()),!P)return{r:0,g:0,b:0,a:0,style:P};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(P))X=0,et=0,rt=0,lt=0;else{var ht=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(P);if(ht!==null)X=parseInt(ht[1]),et=parseInt(ht[2]),rt=parseInt(ht[3]),lt=1;else if((ht=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(P))!==null)X=parseInt(ht[1]),et=parseInt(ht[2]),rt=parseInt(ht[3]),lt=parseFloat(ht[4]);else{if(lt=1,typeof P=="string"&&P.charAt(0)!=="#"){var bt=new uE(P);P=bt.ok?bt.toHex():"#000000"}P.length===4?(X=P.substring(1,2),X+=X,et=P.substring(2,3),et+=et,rt=P.substring(3,4),rt+=rt):(X=P.substring(1,3),et=P.substring(3,5),rt=P.substring(5,7)),X=parseInt(X,16),et=parseInt(et,16),rt=parseInt(rt,16)}}return{r:X,g:et,b:rt,a:lt,style:P}},g=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},b=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};p.prototype.fillText=function(P,X,et,rt){if(isNaN(X)||isNaN(et)||typeof P!="string")throw ci.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(rt=isNaN(rt)?void 0:rt,!g.call(this)){var lt=Q(this.ctx.transform.rotation),ht=this.ctx.transform.scaleX;I.call(this,{text:P,x:X,y:et,scale:ht,angle:lt,align:this.textAlign,maxWidth:rt})}},p.prototype.strokeText=function(P,X,et,rt){if(isNaN(X)||isNaN(et)||typeof P!="string")throw ci.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!b.call(this)){rt=isNaN(rt)?void 0:rt;var lt=Q(this.ctx.transform.rotation),ht=this.ctx.transform.scaleX;I.call(this,{text:P,x:X,y:et,scale:ht,renderingMode:"stroke",angle:lt,align:this.textAlign,maxWidth:rt})}},p.prototype.measureText=function(P){if(typeof P!="string")throw ci.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var X=this.pdf,et=this.pdf.internal.scaleFactor,rt=X.internal.getFontSize(),lt=X.getStringUnitWidth(P)*rt/X.internal.scaleFactor;return new function(ht){var bt=(ht=ht||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return bt}}),this}({width:lt*=Math.round(96*et/72*1e4)/1e4})},p.prototype.scale=function(P,X){if(isNaN(P)||isNaN(X))throw ci.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var et=new u(P,0,0,X,0,0);this.ctx.transform=this.ctx.transform.multiply(et)},p.prototype.rotate=function(P){if(isNaN(P))throw ci.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var X=new u(Math.cos(P),Math.sin(P),-Math.sin(P),Math.cos(P),0,0);this.ctx.transform=this.ctx.transform.multiply(X)},p.prototype.translate=function(P,X){if(isNaN(P)||isNaN(X))throw ci.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var et=new u(1,0,0,1,P,X);this.ctx.transform=this.ctx.transform.multiply(et)},p.prototype.transform=function(P,X,et,rt,lt,ht){if(isNaN(P)||isNaN(X)||isNaN(et)||isNaN(rt)||isNaN(lt)||isNaN(ht))throw ci.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to 
238jsPDF.context2d.transform");var bt=new u(P,X,et,rt,lt,ht);this.ctx.transform=this.ctx.transform.multiply(bt)},p.prototype.setTransform=function(P,X,et,rt,lt,ht){P=isNaN(P)?1:P,X=isNaN(X)?0:X,et=isNaN(et)?0:et,rt=isNaN(rt)?1:rt,lt=isNaN(lt)?0:lt,ht=isNaN(ht)?0:ht,this.ctx.transform=new u(P,X,et,rt,lt,ht)};var v=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};p.prototype.drawImage=function(P,X,et,rt,lt,ht,bt,yt,kt){var Rt=this.pdf.getImageProperties(P),wt=1,qt=1,Ht=1,at=1;rt!==void 0&&yt!==void 0&&(Ht=yt/rt,at=kt/lt,wt=Rt.width/rt*yt/rt,qt=Rt.height/lt*kt/lt),ht===void 0&&(ht=X,bt=et,X=0,et=0),rt!==void 0&&yt===void 0&&(yt=rt,kt=lt),rt===void 0&&yt===void 0&&(yt=Rt.width,kt=Rt.height);var ae=this.ctx.transform.decompose(),Kt=Q(ae.rotate.shx),le=new u,Ot=(le=(le=(le=le.multiply(ae.translate)).multiply(ae.skew)).multiply(ae.scale)).applyToRectangle(new l(ht-X*Ht,bt-et*at,rt*wt,lt*qt));if(this.autoPaging){for(var be,Nt=C.call(this,Ot),Dt=[],Vt=0;Vt<Nt.length;Vt+=1)Dt.indexOf(Nt[Vt])===-1&&Dt.push(Nt[Vt]);E(Dt);for(var de=Dt[0],Be=Dt[Dt.length-1],_e=de;_e<Be+1;_e++){this.pdf.setPage(_e);var Ne=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Oe=_e===1?this.posY+this.margin[0]:this.margin[0],we=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ae=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],ce=_e===1?0:we+(_e-2)*Ae;if(this.ctx.clip_path.length!==0){var Er=this.path;be=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=T(be,this.posX+this.margin[3],-ce+Oe+this.ctx.prevPageLastElemOffset),O.call(this,"fill",!0),this.path=Er}var He=JSON.parse(JSON.stringify(Ot));He=T([He],this.posX+this.margin[3],-ce+Oe+this.ctx.prevPageLastElemOffset)[0];var Jt=(_e>de||_e<Be)&&v.call(this);Jt&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Ne,Ae,null).clip().discardPath()),this.pdf.addImage(P,"JPEG",He.x,He.y,He.w,He.h,null,null,Kt),Jt&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(P,"JPEG",Ot.x,Ot.y,Ot.w,Ot.h,null,null,Kt)};var C=function(P,X,et){var rt=[];X=X||this.pdf.internal.pageSize.width,et=et||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var lt=this.posY+this.ctx.prevPageLastElemOffset;switch(P.type){default:case"mt":case"lt":rt.push(Math.floor((P.y+lt)/et)+1);break;case"arc":rt.push(Math.floor((P.y+lt-P.radius)/et)+1),rt.push(Math.floor((P.y+lt+P.radius)/et)+1);break;case"qct":var ht=it(this.ctx.lastPoint.x,this.ctx.lastPoint.y,P.x1,P.y1,P.x,P.y);rt.push(Math.floor((ht.y+lt)/et)+1),rt.push(Math.floor((ht.y+ht.h+lt)/et)+1);break;case"bct":var bt=mt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,P.x1,P.y1,P.x2,P.y2,P.x,P.y);rt.push(Math.floor((bt.y+lt)/et)+1),rt.push(Math.floor((bt.y+bt.h+lt)/et)+1);break;case"rect":rt.push(Math.floor((P.y+lt)/et)+1),rt.push(Math.floor((P.y+P.h+lt)/et)+1)}for(var yt=0;yt<rt.length;yt+=1)for(;this.pdf.internal.getNumberOfPages()<rt[yt];)k.call(this);return rt},k=function(){var P=this.fillStyle,X=this.strokeStyle,et=this.font,rt=this.lineCap,lt=this.lineWidth,ht=this.lineJoin;this.pdf.addPage(),this.fillStyle=P,this.strokeStyle=X,this.font=et,this.lineCap=rt,this.lineWidth=lt,this.lineJoin=ht},T=function(P,X,et){for(var rt=0;rt<P.length;rt++)switch(P[rt].type){case"bct":P[rt].x2+=X,P[rt].y2+=et;case"qct":P[rt].x1+=X,P[rt].y1+=et;default:P[rt].x+=X,P[rt].y+=et}return P},E=function(P){return P.sort(function(X,et){return X-et})},L=function(P,X){var et=this.fillStyle,rt=this.strokeStyle,lt=this.lineCap,ht=this.lineWidth,bt=Math.abs(ht*this.ctx.transform.scaleX),yt=this.lineJoin;if(this.autoPaging){for(var kt,Rt,wt=JSON.parse(JSON.stringify(this.path)),qt=JSON.parse(JSON.stringify(this.path)),Ht=[],at=0;at<qt.length;at++)if(qt[at].x!==void 0)for(var ae=C.call(this,qt[at]),Kt=0;Kt<ae.length;Kt+=1)Ht.indexOf(ae[Kt])===-1&&Ht.push(ae[Kt]);for(var le=0;le<Ht.length;le++)for(;this.pdf.internal.getNumberOfPages()<Ht[le];)k.call(this);E(Ht);for(var Ot=Ht[0],be=Ht[Ht.length-1],Nt=Ot;Nt<be+1;Nt++){this.pdf.setPage(Nt),this.fillStyle=et,this.strokeStyle=rt,this.lineCap=lt,this.lineWidth=bt,this.lineJoin=yt;var Dt=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Vt=Nt===1?this.posY+this.margin[0]:this.margin[0],de=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Be=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],_e=Nt===1?0:de+(Nt-2)*Be;if(this.ctx.clip_path.length!==0){var Ne=this.path;kt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=T(kt,this.posX+this.margin[3],-_e+Vt+this.ctx.prevPageLastElemOffset),O.call(this,P,!0),this.path=Ne}if(Rt=JSON.parse(JSON.stringify(wt)),this.path=T(Rt,this.posX+this.margin[3],-_e+Vt+this.ctx.prevPageLastElemOffset),X===!1||Nt===0){var Oe=(Nt>Ot||Nt<be)&&v.call(this);Oe&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Dt,Be,null).clip().discardPath()),O.call(this,P,X),Oe&&this.pdf.restoreGraphicsState()}this.lineWidth=ht}this.path=wt}else this.lineWidth=bt,O.call(this,P,X),this.lineWidth=ht},O=function(P,X){if((P!=="stroke"||X||!b.call(this))&&(P==="stroke"||X||!g.call(this))){for(var et,rt,lt=[],ht=this.path,bt=0;bt<ht.length;bt++){var yt=ht[bt];switch(yt.type){case"begin":lt.push({begin:!0}
vendor: 7,179 bytes, line 238
238);break;case"close":lt.push({close:!0});break;case"mt":lt.push({start:yt,deltas:[],abs:[]});break;case"lt":var kt=lt.length;if(ht[bt-1]&&!isNaN(ht[bt-1].x)&&(et=[yt.x-ht[bt-1].x,yt.y-ht[bt-1].y],kt>0)){for(;kt>=0;kt--)if(lt[kt-1].close!==!0&&lt[kt-1].begin!==!0){lt[kt-1].deltas.push(et),lt[kt-1].abs.push(yt);break}}break;case"bct":et=[yt.x1-ht[bt-1].x,yt.y1-ht[bt-1].y,yt.x2-ht[bt-1].x,yt.y2-ht[bt-1].y,yt.x-ht[bt-1].x,yt.y-ht[bt-1].y],lt[lt.length-1].deltas.push(et);break;case"qct":var Rt=ht[bt-1].x+2/3*(yt.x1-ht[bt-1].x),wt=ht[bt-1].y+2/3*(yt.y1-ht[bt-1].y),qt=yt.x+2/3*(yt.x1-yt.x),Ht=yt.y+2/3*(yt.y1-yt.y),at=yt.x,ae=yt.y;et=[Rt-ht[bt-1].x,wt-ht[bt-1].y,qt-ht[bt-1].x,Ht-ht[bt-1].y,at-ht[bt-1].x,ae-ht[bt-1].y],lt[lt.length-1].deltas.push(et);break;case"arc":lt.push({deltas:[],abs:[],arc:!0}),Array.isArray(lt[lt.length-1].abs)&&lt[lt.length-1].abs.push(yt)}}rt=X?null:P==="stroke"?"stroke":"fill";for(var Kt=!1,le=0;le<lt.length;le++)if(lt[le].arc)for(var Ot=lt[le].abs,be=0;be<Ot.length;be++){var Nt=Ot[be];Nt.type==="arc"?U.call(this,Nt.x,Nt.y,Nt.radius,Nt.startAngle,Nt.endAngle,Nt.counterclockwise,void 0,X,!Kt):V.call(this,Nt.x,Nt.y),Kt=!0}else if(lt[le].close===!0)this.pdf.internal.out("h"),Kt=!1;else if(lt[le].begin!==!0){var Dt=lt[le].start.x,Vt=lt[le].start.y;z.call(this,lt[le].deltas,Dt,Vt),Kt=!0}rt&&j.call(this,rt),X&&M.call(this)}},W=function(P){var X=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,et=X*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return P-et;case"top":return P+X-et;case"hanging":return P+X-2*et;case"middle":return P+X/2-et;default:return P}},q=function(P){return P+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};p.prototype.createLinearGradient=function(){var P=function(){};return P.colorStops=[],P.addColorStop=function(X,et){this.colorStops.push([X,et])},P.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},P.isCanvasGradient=!0,P},p.prototype.createPattern=function(){return this.createLinearGradient()},p.prototype.createRadialGradient=function(){return this.createLinearGradient()};var U=function(P,X,et,rt,lt,ht,bt,yt,kt){for(var Rt=D.call(this,et,rt,lt,ht),wt=0;wt<Rt.length;wt++){var qt=Rt[wt];wt===0&&(kt?N.call(this,qt.x1+P,qt.y1+X):V.call(this,qt.x1+P,qt.y1+X)),Y.call(this,P,X,qt.x2,qt.y2,qt.x3,qt.y3,qt.x4,qt.y4)}yt?M.call(this):j.call(this,bt)},j=function(P){switch(P){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},M=function(){this.pdf.clip(),this.pdf.discardPath()},N=function(P,X){this.pdf.internal.out(r(P)+" "+n(X)+" m")},I=function(P){var X;switch(P.align){case"right":case"end":X="right";break;case"center":X="center";break;default:X="left"}var et,rt,lt,ht=this.pdf.getTextDimensions(P.text),bt=W.call(this,P.y),yt=q.call(this,bt)-ht.h,kt=this.ctx.transform.applyToPoint(new s(P.x,bt));if(this.autoPaging){var Rt=this.ctx.transform.decompose(),wt=new u;wt=(wt=(wt=wt.multiply(Rt.translate)).multiply(Rt.skew)).multiply(Rt.scale);for(var qt=this.ctx.transform.applyToRectangle(new l(P.x,bt,ht.w,ht.h)),Ht=wt.applyToRectangle(new l(P.x,yt,ht.w,ht.h)),at=C.call(this,Ht),ae=[],Kt=0;Kt<at.length;Kt+=1)ae.indexOf(at[Kt])===-1&&ae.push(at[Kt]);E(ae);for(var le=ae[0],Ot=ae[ae.length-1],be=le;be<Ot+1;be++){this.pdf.setPage(be);var Nt=be===1?this.posY+this.margin[0]:this.margin[0],Dt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Vt=this.pdf.internal.pageSize.height-this.margin[2],de=Vt-this.margin[0],Be=this.pdf.internal.pageSize.width-this.margin[1],_e=Be-this.margin[3],Ne=be===1?0:Dt+(be-2)*de;if(this.ctx.clip_path.length!==0){var Oe=this.path;et=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=T(et,this.posX+this.margin[3],-1*Ne+Nt),O.call(this,"fill",!0),this.path=Oe}var we=T([JSON.parse(JSON.stringify(Ht))],this.posX+this.margin[3],-Ne+Nt+this.ctx.prevPageLastElemOffset)[0];P.scale>=.01&&(rt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(rt*P.scale),lt=this.lineWidth,this.lineWidth=lt*P.scale);var Ae=this.autoPaging!=="text";if(Ae||we.y+we.h<=Vt){if(Ae||we.y>=Nt&&we.x<=Be){var ce=Ae?P.text:this.pdf.splitTextToSize(P.text,P.maxWidth||Be-we.x)[0],Er=T([JSON.parse(JSON.stringify(qt))],this.posX+this.margin[3],-Ne+Nt+this.ctx.prevPageLastElemOffset)[0],He=Ae&&(be>le||be<Ot)&&v.call(this);He&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],_e,de,null).clip().discardPath()),this.pdf.text(ce,Er.x,Er.y,{angle:P.angle,align:X,renderingMode:P.renderingMode}),He&&this.pdf.restoreGraphicsState()}}else we.y<Vt&&(this.ctx.prevPageLastElemOffset+=Vt-we.y);P.scale>=.01&&(this.pdf.setFontSize(rt),this.lineWidth=lt)}}else P.scale>=.01&&(rt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(rt*P.scale),lt=this.lineWidth,this.lineWidth=lt*P.scale),this.pdf.text(P.text,kt.x+this.posX,kt.y+this.posY,{angle:P.angle,align:X,renderingMode:P.renderingMode,maxWidth:P.maxWidth}),P.scale>=.01&&(this.pdf.setFontSize(rt),this.lineWidth=lt)},V=function(P,X,et,rt){et=et||0,rt=rt||0,this.pdf.internal.out(r(P+et)+" "+n(X+rt)+" l")},z=function(P,X,et){return this.pdf.lines(P,X,et,null,null)},Y=function(P,X,et,rt,lt,ht,bt,yt){this.pdf.internal.out([e(i(et+P)),e(a(rt+X)),e(i(lt+P)),e(a(ht+X)),e(i(bt+P)),e(a(yt+X)),"c"].join(" "))},D=function(P,X,et,rt){for(var lt=2*Math.PI,ht=Math.PI/2;X>et;)X-=lt;var bt=Math.abs(et-X);bt<lt&&rt&&(bt=lt-bt);for(var yt=[],kt=rt?-1:1,Rt=X;bt>1e-5;){var wt=Rt+kt*Math.min(bt,ht);yt.push(Z.call(this,P,Rt,wt)),bt-=Math.abs(wt-Rt),Rt=wt}return yt},Z=function(P,X,et){var rt=(et-X)/2,lt=P*Math.cos(rt),ht=P*Math.sin(rt),bt=lt,yt=-ht,kt=bt*bt+yt*yt,Rt=kt+bt*lt+yt*ht,wt=4/3*(Math.sqrt(2*kt*Rt)-Rt)/(bt*ht-yt*lt),qt=bt-wt*yt,Ht=yt+wt*bt,at=qt,ae=-Ht,Kt=rt+X,le=Math.cos(Kt),Ot=Math.sin(Kt);return{x1:P*Math.cos(X),y1:P*Math.sin(X),x2:qt*le-Ht*Ot,y2:qt*Ot+Ht*le,x3:at*le-ae*Ot,y3:at*Ot+ae*le,x4:P*Math.cos(et),y4:P*Math.sin(et)}},Q=function(P){return 180*P/Math.PI},it=function(P,X,et,rt,lt,ht){var bt=P+.5*(et-P),yt=X+.5*(rt-X),kt=lt+.5*(et-lt),Rt=ht+.5*(rt-ht),wt=Math.min(P,lt,bt,kt),qt=Math.max(P,lt,bt,kt),Ht=Math.min(X,ht,yt,Rt),at=Math.max(X,ht,yt,Rt);return new l(wt,Ht,qt-wt,at-Ht)},mt=function(P,X,et,rt,lt,ht,bt,yt){var kt,Rt,wt,qt,Ht,at,ae,Kt,le,Ot,be,Nt,Dt,Vt,de=et-P,Be=rt-X,_e=lt-et,Ne=ht-rt,Oe=bt-lt,we=yt-ht;for(Rt=0;Rt<41;Rt++)le=(ae=(wt=P+(kt=Rt/40)*de)+kt*((Ht=et+kt*_e)-wt))+kt*(Ht+kt*(lt+kt*Oe-Ht)-ae),Ot=(Kt=(qt=X+kt*Be)+kt*((at=rt+kt*Ne)-qt))+kt*(at+kt*(ht+kt*we-at)-Kt),Rt==0?(be=le,Nt=Ot,Dt=le,Vt=Ot):(be=Math.min(be,le),Nt=Math.min(Nt,Ot),Dt=Math.max(Dt,le),Vt=Math.max(Vt,Ot));return new l(Math.round(be),Math.round(Nt),Math.round(Dt-be),Math.round(Vt-Nt))},K=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var P,X,et=(P=this.ctx.lineDash,X=this.ctx.lineDashOffset,JSON.stringify({lineDash:P,lineDashOffset:X}));this.prevLineDash!==et&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=et)}}})(cr.API),(function(t){var e=function(s){var l,u,h,f,p,y,g,b,v,C;for(u=[],h=0,f=(s+=l="\0\0\0\0".slice(s.length%4||4)).length;f>h;
238h+=4)(p=(s.charCodeAt(h)<<24)+(s.charCodeAt(h+1)<<16)+(s.charCodeAt(h+2)<<8)+s.charCodeAt(h+3))!==0?(y=(p=((p=((p=((p=(p-(C=p%85))/85)-(v=p%85))/85)-(b=p%85))/85)-(g=p%85))/85)%85,u.push(y+33,g+33,b+33,v+33,C+33)):u.push(122);return(function(k,T){for(var E=T;E>0;E--)k.pop()})(u,l.length),String.fromCharCode.apply(String,u)+"~>"},r=function(s){var l,u,h,f,p,y=String,g="length",b=255,v="charCodeAt",C="slice",k="replace";for(s[C](-2),s=s[C](0,-2)[k](/\s/g,"")[k]("z","!!!!!"),h=[],f=0,p=(s+=l="uuuuu"[C](s[g]%5||5))[g];p>f;f+=5)u=52200625*(s[v](f)-33)+614125*(s[v](f+1)-33)+7225*(s[v](f+2)-33)+85*(s[v](f+3)-33)+(s[v](f+4)-33),h.push(b&u>>24,b&u>>16,b&u>>8,b&u);return(function(T,E){for(var L=E;L>0;L--)T.pop()})(h,l[g]),y.fromCharCode.apply(y,h)},n=function(s){return s.split("").map(function(l){return("0"+l.charCodeAt().toString(16)).slice(-2)}).join("")+">"},i=function(s){var l=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((s=s.replace(/\s/g,"")).indexOf(">")!==-1&&(s=s.substr(0,s.indexOf(">"))),s.length%2&&(s+="0"),l.test(s)===!1)return"";for(var u="",h=0;h<s.length;h+=2)u+=String.fromCharCode("0x"+(s[h]+s[h+1]));return u},a=function(s){for(var l=new Uint8Array(s.length),u=s.length;u--;)l[u]=s.charCodeAt(u);return(l=j5(l)).reduce(function(h,f){return h+String.fromCharCode(f)},"")};t.processDataByFilters=function(s,l){var u=0,h=s||"",f=[];for(typeof(l=l||[])=="string"&&(l=[l]),u=0;u<l.length;u+=1)switch(l[u]){case"ASCII85Decode":case"/ASCII85Decode":h=r(h),f.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":h=e(h),f.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":h=i(h),f.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":h=n(h),f.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":h=a(h),f.push("/FlateDecode");break;default:throw new Error('The filter: "'+l[u]+'" is not implemented')}return{data:h,reverseChain:f.reverse().join(" ")}}})(cr.API),(function(t){t.loadFile=function(e,r,n){return(function(i,a,s){a=a!==!1,s=typeof s=="function"?s:function(){};var l=void 0;try{l=(function(u,h,f){var p=new XMLHttpRequest,y=0,g=function(b){var v=b.length,C=[],k=String.fromCharCode;for(y=0;y<v;y+=1)C.push(k(255&b.charCodeAt(y)));return C.join("")};if(p.open("GET",u,!h),p.overrideMimeType("text/plain; charset=x-user-defined"),h===!1&&(p.onload=function(){p.status===200?f(g(this.responseText)):f(void 0)}),p.send(null),h&&p.status===200)return g(p.responseText)})(i,a,s)}catch{}return l})(e,r,n)},t.allowFsRead=void 0,t.loadImageFile=t.loadFile})(cr.API),(function(t){function e(){return(Hr.html2canvas?Promise.resolve(Hr.html2canvas):Mn(()=>import("./html2canvas.esm-DXEQVQnt.js"),[])).catch(function(l){return Promise.reject(new Error("Could not load html2canvas: "+l))}).then(function(l){return l.default?l.default:l})}function r(){return(Hr.DOMPurify?Promise.resolve(Hr.DOMPurify):Mn(()=>Promise.resolve().then(()=>QZ),void 0)).catch(function(l){return Promise.reject(new Error("Could not load dompurify: "+l))}).then(function(l){return l.default?l.default:l})}var n=function(l){var u=Yn(l);return u==="undefined"?"undefined":u==="string"||l instanceof String?"string":u==="number"||l instanceof Number?"number":u==="function"||l instanceof Function?"function":l&&l.constructor===Array?"array":l&&l.nodeType===1?"element":u==="object"?"object":"unknown"},i=function(l,u){var h=document.createElement(l);for(var f in u.className&&(h.className=u.className),u.innerHTML&&u.dompurify&&(h.innerHTML=u.dompurify.sanitize(u.innerHTML)),u.style)h.style[f]=u.style[f];return h},a=function l(u,h){for(var f=u.nodeType===3?document.createTextNode(u.nodeValue):u.cloneNode(!1),p=u.firstChild;p;p=p.nextSibling)h!==!0&&p.nodeType===1&&p.nodeName==="SCRIPT"||f.appendChild(l(p,h));return u.nodeType===1&&(u.nodeName==="CANVAS"?(f.width=u.width,f.height=u.height,f.getContext("2d").drawImage(u,0,0)):u.nodeName!=="TEXTAREA"&&u.nodeName!=="SELECT"||(f.value=u.value),f.addEventListener("load",function(){f.scrollTop=u.scrollTop,f.scrollLeft=u.scrollLeft},!0)),f},s=function l(u){var h=Object.assign(l.convert(Promise.resolve()),JSON.parse(JSON.stringify(l.template))),f=l.convert(Promise.resolve(),h);return(f=f.setProgress(1,l,1,[l])).set(u)};(s.prototype=Object.create(Promise.prototype)).constructor=s,s.convert=function(l,u){return l.__proto__=u||s.prototype,l},s.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},s.prototype.from=function(l,u){return this.then(function(){switch(u=u||(function(h){switch(n(h)){case"string":return"string";case"element":return h.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}})(l),u){case"string":return this.then(r).then(function(h){return this.set({src:i("div",{innerHTML:l,dompurify:h})})});case"element":return this.set({src:l});case"canvas":return this.set({canvas:l});case"img":return this.set({img:l});default:return this.error("Unknown source type.")}})},s.prototype.to=function(l){switch(l){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();
vendor: 11,065 bytes, line 238
238case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},s.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var l={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},u=a(this.prop.src,this.opt.html2canvas.javascriptEnabled);u.tagName==="BODY"&&(l.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:l}),this.prop.container.appendChild(u),this.prop.container.firstChild.appendChild(i("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},s.prototype.toCanvas=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(e).then(function(u){var h=Object.assign({},this.opt.html2canvas);return delete h.onrendered,u(this.prop.container,h)}).then(function(u){(this.opt.html2canvas.onrendered||function(){})(u),this.prop.canvas=u,document.body.removeChild(this.prop.overlay)})},s.prototype.toContext2d=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(e).then(function(u){var h=this.opt.jsPDF,f=this.opt.fontFaces,p=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,y=Object.assign({async:!0,allowTaint:!0,scale:p,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete y.onrendered,h.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,h.context2d.posX=this.opt.x,h.context2d.posY=this.opt.y,h.context2d.margin=this.opt.margin,h.context2d.fontFaces=f,f)for(var g=0;g<f.length;++g){var b=f[g],v=b.src.find(function(C){return C.format==="truetype"});v&&h.addFont(v.url,b.ref.name,b.ref.style)}return y.windowHeight=y.windowHeight||0,y.windowHeight=y.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):y.windowHeight,h.context2d.save(!0),u(this.prop.container,y)}).then(function(u){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(u),this.prop.canvas=u,document.body.removeChild(this.prop.overlay)})},s.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var l=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=l})},s.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},s.prototype.output=function(l,u,h){return(h=h||"pdf").toLowerCase()==="img"||h.toLowerCase()==="image"?this.outputImg(l,u):this.outputPdf(l,u)},s.prototype.outputPdf=function(l,u){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(l,u)})},s.prototype.outputImg=function(l){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(l){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+l+'" is not supported.'}})},s.prototype.save=function(l){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(l?{filename:l}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},s.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},s.prototype.set=function(l){if(n(l)!=="object")return this;var u=Object.keys(l||{}).map(function(h){if(h in s.template.prop)return function(){this.prop[h]=l[h]};switch(h){case"margin":return this.setMargin.bind(this,l.margin);case"jsPDF":return function(){return this.opt.jsPDF=l.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,l.pageSize);default:return function(){this.opt[h]=l[h]}}},this);return this.then(function(){return this.thenList(u)})},s.prototype.get=function(l,u){return this.then(function(){var h=l in s.template.prop?this.prop[l]:this.opt[l];return u?u(h):h})},s.prototype.setMargin=function(l){return this.then(function(){switch(n(l)){case"number":l=[l,l,l,l];case"array":if(l.length===2&&(l=[l[0],l[1],l[0],l[1]]),l.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=l}).then(this.setPageSize)},s.prototype.setPageSize=function(l){function u(h,f){return Math.floor(h*f/72*96)}return this.then(function(){(l=l||cr.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(l.inner={width:l.width-this.opt.margin[1]-this.opt.margin[3],height:l.height-this.opt.margin[0]-this.opt.margin[2]},l.inner.px={width:u(l.inner.width,l.k),height:u(l.inner.height,l.k)},l.inner.ratio=l.inner.height/l.inner.width),this.prop.pageSize=l})},s.prototype.setProgress=function(l,u,h,f){return l!=null&&(this.progress.val=l),u!=null&&(this.progress.state=u),h!=null&&(this.progress.n=h),f!=null&&(this.progress.stack=f),this.progress.ratio=this.progress.val/this.progress.state,this},s.prototype.updateProgress=function(l,u,h,f){return this.setProgress(l?this.progress.val+l:null,u||null,h?this.progress.n+h:null,f?this.progress.stack.concat(f):null)},s.prototype.then=function(l,u){var h=this;return this.thenCore(l,u,function(f,p){return h.updateProgress(null,null,1,[f]),Promise.prototype.then.call(this,function(y){return h.updateProgress(null,f),y}).then(f,p).then(function(y){return h.updateProgress(1),y})})},s.prototype.thenCore=function(l,u,h){h=h||Promise.prototype.then;var f=this;l&&(l=l.bind(f)),u&&(u=u.bind(f));var p=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?f:s.convert(Object.assign({},f),Promise.prototype),y=h.call(p,l,u);return s.convert(y,f.__proto__)},s.prototype.thenExternal=function(l,u){return Promise.prototype.then.call(this,l,u)},s.prototype.thenList=function(l){var u=this;return l.forEach(function(h){u=u.thenCore(h)}),u},s.prototype.catch=function(l){l&&(l=l.bind(this));var u=Promise.prototype.catch.call(this,l);return s.convert(u,this)},s.prototype.catchExternal=function(l){return Promise.prototype.catch.call(this,l)},s.prototype.error=function(l){return this.then(function(){throw new Error(l)})},s.prototype.using=s.prototype.set,s.prototype.saveAs=s.prototype.save,s.prototype.export=s.prototype.output,s.prototype.run=s.prototype.then,cr.getPageSize=function(l,u,h){if(Yn(l)==="object"){var f=l;l=f.orientation,u=f.unit||u,h=f.format||h}u=u||"mm",h=h||"a4",l=(""+(l||"P")).toLowerCase();var p,y=(""+h).toLowerCase(),g={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(u){case"pt":p=1;break;case"mm":p=72/25.4;break;case"cm":p=72/2.54;break;case"in":p=72;break;case"px":p=.75;break;case"pc":case"em":p=12;break;case"ex":p=6;break;default:throw"Invalid unit: "+u}var b,v=0,C=0;if(g.hasOwnProperty(y))v=g[y][1]/p,C=g[y][0]/p;else try{v=h[1],C=h[0]}catch{throw new Error("Invalid format: "+h)}if(l==="p"||l==="portrait")l="p",C>v&&(b=C,C=v,v=b);else{if(l!=="l"&&l!=="landscape")throw"Invalid orientation: "+l;l="l",v>C&&(b=C,C=v,v=b)}return{width:C,height:v,unit:u,k:p,orientation:l}},t.html=function(l,u){(u=u||{}).callback=u.callback||function(){},u.html2canvas=u.html2canvas||{},u.html2canvas.canvas=u.html2canvas.canvas||this.canvas,u.jsPDF=u.jsPDF||this,u.fontFaces=u.fontFaces?u.fontFaces.map(Lx):null;var h=new s(u);return u.worker?h:h.from(l).doCallback()}})(cr.API),cr.API.addJS=function(t){var e,r,n=(function(i){for(var a="",s=0;s<i.length;s++){var l=i[s];if(l==="("||l===")"){for(var u=0,h=s-1;h>=0&&i[h]==="\\";h--)u++;a+=u%2==0?"\\"+l:l}else a+=l}return a})(t);return this.internal.events.subscribe("postPutResources",function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(e+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+n+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){e!==void 0&&r!==void 0&&this.internal.out("/Names <</JavaScript "+e+" 0 R>>")}),this},(function(t){var e;t.events.push(["postPutResources",function(){var r=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var i=r.outline.render().split(/\r\n/),a=0;a<i.length;a++){var s=i[a],l=n.exec(s);if(l!=null){var u=l[1];r.internal.newObjectDeferredBegin(u,!1)}r.internal.write(s)}if(this.outline.createNamedDestinations){var h=this.internal.pages.length,f=[];for(a=0;a<h;a++){var p=r.internal.newObject();f.push(p);var y=r.internal.getPageInfo(a+1);r.internal.write("<< /D["+y.objId+" 0 R /XYZ null null null]>> endobj")}var g=r.internal.newObject();for(r.internal.write("<< /Names [ "),a=0;a<f.length;a++)r.internal.write("(page_"+(a+1)+")"+f[a]+" 0 R");r.internal.write(" ] >>
238","endobj"),e=r.internal.newObject(),r.internal.write("<< /Dests "+g+" 0 R"),r.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){var r=this;r.outline.root.children.length>0&&(r.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&r.internal.write("/Names "+e+" 0 R"))}]),t.events.push(["initialized",function(){var r=this;r.outline={createNamedDestinations:!1,root:{children:[]}},r.outline.add=function(n,i,a){var s={title:i,options:a,children:[]};return n==null&&(n=this.root),n.children.push(s),s},r.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=r,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},r.outline.genIds_r=function(n){n.id=r.internal.newObjectDeferred();for(var i=0;i<n.children.length;i++)this.genIds_r(n.children[i])},r.outline.renderRoot=function(n){this.objStart(n),this.line("/Type /Outlines"),n.children.length>0&&(this.line("/First "+this.makeRef(n.children[0])),this.line("/Last "+this.makeRef(n.children[n.children.length-1]))),this.line("/Count "+this.count_r({count:0},n)),this.objEnd()},r.outline.renderItems=function(n){for(var i=this.ctx.pdf.internal.getVerticalCoordinateString,a=0;a<n.children.length;a++){var s=n.children[a];this.objStart(s),this.line("/Title "+this.makeString(s.title)),this.line("/Parent "+this.makeRef(n)),a>0&&this.line("/Prev "+this.makeRef(n.children[a-1])),a<n.children.length-1&&this.line("/Next "+this.makeRef(n.children[a+1])),s.children.length>0&&(this.line("/First "+this.makeRef(s.children[0])),this.line("/Last "+this.makeRef(s.children[s.children.length-1])));var l=this.count=this.count_r({count:0},s);if(l>0&&this.line("/Count "+l),s.options&&s.options.pageNumber){var u=r.internal.getPageInfo(s.options.pageNumber);this.line("/Dest ["+u.objId+" 0 R /XYZ 0 "+i(0)+" 0]")}this.objEnd()}for(var h=0;h<n.children.length;h++)this.renderItems(n.children[h])},r.outline.line=function(n){this.ctx.val+=n+`\r
239`},r.outline.makeRef=function(n){return n.id+" 0 R"},r.outline.makeString=function(n){return"("+r.internal.pdfEscape(n)+")"},r.outline.objStart=function(n){this.ctx.val+=`\r
240`+n.id+` 0 obj\r
241<<\r
242`},r.outline.objEnd=function(){this.ctx.val+=`>> \r
243endobj\r
244`},r.outline.count_r=function(n,i){for(var a=0;a<i.children.length;a++)n.count++,this.count_r(n,i.children[a]);return n.count}}])})(cr.API),(function(t){var e=[192,193,194,195,196,197,198,199];t.processJPEG=function(r,n,i,a,s,l){var u,h=this.decode.DCT_DECODE,f=null;if(typeof r=="string"||this.__addimage__.isArrayBuffer(r)||this.__addimage__.isArrayBufferView(r)){switch(r=s||r,r=this.__addimage__.isArrayBuffer(r)?new Uint8Array(r):r,u=(function(p){for(var y,g=256*p.charCodeAt(4)+p.charCodeAt(5),b=p.length,v={width:0,height:0,numcomponents:1},C=4;C<b;C+=2){if(C+=g,e.indexOf(p.charCodeAt(C+1))!==-1){y=256*p.charCodeAt(C+5)+p.charCo
vendor: 12,470 bytes, line 244
244deAt(C+6),v={width:256*p.charCodeAt(C+7)+p.charCodeAt(C+8),height:y,numcomponents:p.charCodeAt(C+9)};break}g=256*p.charCodeAt(C+2)+p.charCodeAt(C+3)}return v})(r=this.__addimage__.isArrayBufferView(r)?this.__addimage__.arrayBufferToBinaryString(r):r),u.numcomponents){case 1:l=this.color_spaces.DEVICE_GRAY;break;case 4:l=this.color_spaces.DEVICE_CMYK;break;case 3:l=this.color_spaces.DEVICE_RGB}f={data:r,width:u.width,height:u.height,colorSpace:l,bitsPerComponent:8,filter:h,index:n,alias:i}}return f}})(cr.API),cr.API.processPNG=function(t,e,r,n){if(this.__addimage__.isArrayBuffer(t)&&(t=new Uint8Array(t)),this.__addimage__.isArrayBufferView(t)){var i,a=OX(t,{checkCrc:!0}),s=a.width,l=a.height,u=a.channels,h=a.palette,f=a.depth;i=h&&u===1?(function(U){for(var j=U.width,M=U.height,N=U.data,I=U.palette,V=U.depth,z=!1,Y=[],D=[],Z=void 0,Q=!1,it=0,mt=0;mt<I.length;mt++){var K=nA(I[mt],4),P=K[0],X=K[1],et=K[2],rt=K[3];Y.push(P,X,et),rt!=null&&(rt===0?(it++,D.length<1&&D.push(mt)):rt<255&&(Q=!0))}if(Q||it>1){z=!0,D=void 0;var lt=j*M;Z=new Uint8Array(lt);for(var ht=new DataView(N.buffer),bt=0;bt<lt;bt++){var yt=Mx(ht,bt,V),kt=nA(I[yt],4)[3];Z[bt]=kt}}else it===0&&(D=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:z?8:void 0,colorBytes:N,alphaBytes:Z,needSMask:z,palette:Y,mask:D}})(a):u===2||u===4?(function(U){for(var j=U.data,M=U.width,N=U.height,I=U.channels,V=U.depth,z=I===2?"DeviceGray":"DeviceRGB",Y=I-1,D=M*N,Z=Y,Q=D*Z,it=1*D,mt=Math.ceil(Q*V/8),K=Math.ceil(it*V/8),P=new Uint8Array(mt),X=new Uint8Array(K),et=new DataView(j.buffer),rt=new DataView(P.buffer),lt=new DataView(X.buffer),ht=!1,bt=0;bt<D;bt++){for(var yt=bt*I,kt=0;kt<Z;kt++)o6(rt,Mx(et,yt+kt,V),bt*Z+kt,V);var Rt=Mx(et,yt+Z,V);Rt<(1<<V)-1&&(ht=!0),o6(lt,Rt,1*bt,V)}return{colorSpace:z,colorsPerPixel:Y,sMaskBitsPerComponent:ht?V:void 0,colorBytes:P,alphaBytes:X,needSMask:ht}})(a):(function(U){var j=U.data,M=U.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:M,colorsPerPixel:M==="DeviceGray"?1:3,colorBytes:j instanceof Uint16Array?(function(N){for(var I=N.length,V=new Uint8Array(2*I),z=new DataView(V.buffer,V.byteOffset,V.byteLength),Y=0;Y<I;Y++)z.setUint16(2*Y,N[Y],!1);return V})(j):j,needSMask:!1}})(a);var p,y,g,b=i,v=b.colorSpace,C=b.colorsPerPixel,k=b.sMaskBitsPerComponent,T=b.colorBytes,E=b.alphaBytes,L=b.needSMask,O=b.palette,W=b.mask,q=null;return n!==cr.API.image_compression.NONE&&typeof j5=="function"?(q=(function(U){var j;switch(U){case cr.API.image_compression.FAST:j=11;break;case cr.API.image_compression.MEDIUM:j=13;break;case cr.API.image_compression.SLOW:j=14;break;default:j=12}return j})(n),p=this.decode.FLATE_DECODE,y="/Predictor ".concat(q," /Colors ").concat(C," /BitsPerComponent ").concat(f," /Columns ").concat(s),t=e6(T,Math.ceil(s*C*f/8),C,f,n),L&&(g=e6(E,Math.ceil(s*k/8),1,k,n))):(p=void 0,y=void 0,t=T,L&&(g=E)),(this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t))&&(t=this.__addimage__.arrayBufferToBinaryString(t)),(g&&this.__addimage__.isArrayBuffer(g)||this.__addimage__.isArrayBufferView(g))&&(g=this.__addimage__.arrayBufferToBinaryString(g)),{alias:r,data:t,index:e,filter:p,decodeParameters:y,transparency:W,palette:O,sMask:g,predictor:q,width:s,height:l,bitsPerComponent:f,sMaskBitsPerComponent:k,colorSpace:v}}},(function(t){t.processGIF89A=function(e,r,n,i){var a=new eK(e),s=a.width,l=a.height,u=[];a.decodeAndBlitFrameRGBA(0,u);var h={data:u,width:s,height:l},f=new Rx(100).encode(h,100);return t.processJPEG.call(this,f,r,n,i)},t.processGIF87A=t.processGIF89A})(cr.API),Bl.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var e=0;e<t;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0);this.palette[e]={red:i,green:n,blue:r,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Bl.prototype.parseBGR=function(){this.pos=this.offset;var t="bit"+this.bitPP,e=this.width*this.height*4;if(e>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");this.data=new Uint8Array(e);try{this[t]()}catch(r){ci.log("bit decode error:"+r)}},Bl.prototype.bit1=function(){var t,e=Math.ceil(this.width/8),r=e%4;for(t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,i=0;i<e;i++)for(var a=this.datav.getUint8(this.pos++,!0),s=n*this.width*4+8*i*4,l=0;l<8&&8*i+l<this.width;l++){var u=this.palette[a>>7-l&1];this.data[s+4*l]=u.blue,this.data[s+4*l+1]=u.green,this.data[s+4*l+2]=u.red,this.data[s+4*l+3]=255}r!==0&&(this.pos+=4-r)}},Bl.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),e=t%4,r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<t;i++){var a=this.datav.getUint8(this.pos++,!0),s=n*this.width*4+2*i*4,l=a>>4,u=15&a,h=this.palette[l];if(this.data[s]=h.blue,this.data[s+1]=h.green,this.data[s+2]=h.red,this.data[s+3]=255,2*i+1>=this.width)break;h=this.palette[u],this.data[s+4]=h.blue,this.data[s+4+1]=h.green,this.data[s+4+2]=h.red,this.data[s+4+3]=255}e!==0&&(this.pos+=4-e)}},Bl.prototype.bit8=function(){for(var t=this.width%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+4*n;if(i<this.palette.length){var s=this.palette[i];this.data[a]=s.red,this.data[a+1]=s.green,this.data[a+2]=s.blue,this.data[a+3]=255}else this.data[a]=255,this.data[a+1]=255,this.data[a+2]=255,this.data[a+3]=255}t!==0&&(this.pos+=4-t)}},Bl.prototype.bit15=function(){for(var t=this.width%3,e=parseInt("11111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&e)/e*255|0,l=(a>>5&e)/e*255|0,u=(a>>10&e)/e*255|0,h=a>>15?255:0,f=n*this.width*4+4*i;this.data[f]=u,this.data[f+1]=l,this.data[f+2]=s,this.data[f+3]=h}this.pos+=t}},Bl.prototype.bit16=function(){for(var t=this.width%3,e=parseInt("11111",2),r=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,a=0;a<this.width;a++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var l=(s&e)/e*255|0,u=(s>>5&r)/r*255|0,h=(s>>11)/e*255|0,f=i*this.width*4+4*a;this.data[f]=h,this.data[f+1]=u,this.data[f+2]=l,this.data[f+3]=255}this.pos+=t}},Bl.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=e*this.width*4+4*r;this.data[s]=a,this.data[s+1]=i,this.data[s+2]=n,this.data[s+3]=255}this.pos+=this.width%4}},Bl.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),l=e*this.width*4+4*r;this.data[l]=a,this.data[l+1]=i,this.data[l+2]=n,this.data[l+3]=s}},Bl.prototype.getData=function(){return this.data},(function(t){t.processBMP=function(e,r,n,i){var a=new Bl(e,!1),s=a.width,l=a.height,u={data:a.getData(),width:s,height:l},h=new Rx(100).encode(u,100);return t.processJPEG.call(this,h,r,n,i)}})(cr.API),l6.prototype.getData=function(){return this.data},(function(t){t.processWEBP=function(e,r,n,i){var a=new l6(e),s=a.width,l=a.height,u={data:a.getData(),width:s,height:l},h=new Rx(100).encode(u,100);return t.processJPEG.call(this,h,r,n,i)}})(cr.API),cr.API.processRGBA=function(t,e,r){for(var n=t.data,i=n.length,a=new Uint8Array(i/4*3),s=new Uint8Array(i/4),l=0,u=0,h=0;h<i;h+=4){var f=n[h],p=n[h+1],y=n[h+2],g=n[h+3];a[l++]=f,a[l++]=p,a[l++]=y,s[u++]=g}var b=this.__addimage__.arrayBufferToBinaryString(a);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:b,index:e,alias:r,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},cr.API.setLanguage=function(t){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Sp
244ain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]!==void 0&&(this.internal.languageSettings.languageCode=t,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Kd=cr.API,P1=Kd.getCharWidthsArray=function(t,e){var r,n,i=(e=e||{}).font||this.internal.getFont(),a=e.fontSize||this.internal.getFontSize(),s=e.charSpace||this.internal.getCharSpace(),l=e.widths?e.widths:i.metadata.Unicode.widths,u=l.fof?l.fof:1,h=e.kerning?e.kerning:i.metadata.Unicode.kerning,f=h.fof?h.fof:1,p=e.doKerning!==!1,y=0,g=t.length,b=0,v=l[0]||u,C=[];for(r=0;r<g;r++)n=t.charCodeAt(r),typeof i.metadata.widthOfString=="function"?C.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(n))+s*(1e3/a)||0)/1e3):(y=p&&Yn(h[n])==="object"&&!isNaN(parseInt(h[n][b],10))?h[n][b]/f:0,C.push((l[n]||v)/u+y)),b=n;return C},QA=Kd.getStringUnitWidth=function(t,e){var r=(e=e||{}).fontSize||this.internal.getFontSize(),n=e.font||this.internal.getFont(),i=e.charSpace||this.internal.getCharSpace();return Kd.processArabic&&(t=Kd.processArabic(t)),typeof n.metadata.widthOfString=="function"?n.metadata.widthOfString(t,r,i)/r:P1.apply(this,arguments).reduce(function(a,s){return a+s},0)},JA=function(t,e,r,n){for(var i=[],a=0,s=t.length,l=0;a!==s&&l+e[a]<r;)l+=e[a],a++;i.push(t.slice(0,a));var u=a;for(l=0;a!==s;)l+e[a]>n&&(i.push(t.slice(u,a)),l=0,u=a),l+=e[a],a++;return u!==a&&i.push(t.slice(u,a)),i},t6=function(t,e,r){r||(r={});var n,i,a,s,l,u,h,f=[],p=[f],y=r.textIndent||0,g=0,b=0,v=t.split(" "),C=P1.apply(this,[" ",r])[0];if(u=r.lineIndent===-1?v[0].length+2:r.lineIndent||0){var k=Array(u).join(" "),T=[];v.map(function(L){(L=L.split(/\s*\n/)).length>1?T=T.concat(L.map(function(O,W){return(W&&O.length?`
245`:"")+O})):T.push(L[0])}),v=T,u=QA.apply(this,[k,r])}for(a=0,s=v.length;a<s;a++){var E=0;if(n=v[a],u&&n[0]==`
246`&&(n=n.substr(1),E=1),y+g+(b=(i=P1.apply(this,[n,r])).reduce(function(L,O){return L+O},0))>e||E){if(b>e){for(l=JA.apply(this,[n,i,e-(y+g),e]),f.push(l.shift()),f=[l.pop()];l.length;)p.push([l.shift()]);b=i.slice(n.length-(f[0]?f[0].length:0)).reduce(function(L,O){return L+O},0)}else f=[n];p.push(f),y=b+u,g=C}else f.push(n),y+=g+b,g=C}return h=u?function(L,O){return(O?k:"")+L.join(" ")}:function(L){return L.join(" ")},p.map(h)},Kd.splitTextToSize=function(t,e,r){var n,i=(r=r||{}).fontSize||this.internal.getFontSize(),a=(function(f){if(f.widths&&f.kerning)return{widths:f.widths,kerning:f.kerning};var p=this.internal.getFont(f.fontName,f.fontStyle),y="Unicode";return p.metadata[y]?{widths:p.metadata[y].widths||{0:1},kerning:p.metadata[y].kerning||{}}:{font:p.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,r);
vendor: 1,862 bytes, line 246
246n=Array.isArray(t)?t:String(t).split(/\r?\n/);var s=1*this.internal.scaleFactor*e/i;a.textIndent=r.textIndent?1*r.textIndent*this.internal.scaleFactor/i:0,a.lineIndent=r.lineIndent;var l,u,h=[];for(l=0,u=n.length;l<u;l++)h=h.concat(t6.apply(this,[n[l],s,a]));return h},(function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var e="0123456789abcdef",r="klmnopqrstuvwxyz",n={},i={},a=0;a<16;a++)n[r[a]]=e[a],i[e[a]]=r[a];var s=function(y){return"0x"+parseInt(y,10).toString(16)},l=t.__fontmetrics__.compress=function(y){var g,b,v,C,k=["{"];for(var T in y){if(g=y[T],isNaN(parseInt(T,10))?b="'"+T+"'":(T=parseInt(T,10),b=(b=s(T).slice(2)).slice(0,-1)+i[b.slice(-1)]),typeof g=="number")g<0?(v=s(g).slice(3),C="-"):(v=s(g).slice(2),C=""),v=C+v.slice(0,-1)+i[v.slice(-1)];else{if(Yn(g)!=="object")throw new Error("Don't know what to do with value type "+Yn(g)+".");v=l(g)}k.push(b+v)}return k.push("}"),k.join("")},u=t.__fontmetrics__.uncompress=function(y){if(typeof y!="string")throw new Error("Invalid argument passed to uncompress.");for(var g,b,v,C,k={},T=1,E=k,L=[],O="",W="",q=y.length-1,U=1;U<q;U+=1)(C=y[U])=="'"?g?(v=g.join(""),g=void 0):g=[]:g?g.push(C):C=="{"?(L.push([E,v]),E={},v=void 0):C=="}"?((b=L.pop())[0][b[1]]=E,v=void 0,E=b[0]):C=="-"?T=-1:v===void 0?n.hasOwnProperty(C)?(O+=n[C],v=parseInt(O,16)*T,T=1,O=""):O+=C:n.hasOwnProperty(C)?(W+=n[C],E[v]=parseInt(W,16)*T,T=1,v=void 0,W=""):W+=C;return k},h={codePages:["WinAnsiEncoding"],WinAnsiEncoding:u("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},f={Unicode:{Courier:h,"Courier-Bold":h,"Courier-BoldOblique":h,"Courier-Oblique":h,Helvetica:h,"Helvetica-Bold":h,"Helvetica-BoldOblique":h,"Helvetica-Oblique":h,"Times-Roman":h,"Times-Bold":h,"Times-BoldItalic":h,"Times-Italic":h}},p
vendor: 14,693 bytes, line 246
246={Unicode:{"Courier-Oblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":u("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":u("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":u("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:u("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:u("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":u("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:u("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":u("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":u("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":u("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};
vendor: 8,465 bytes, lines 246-274
246t.events.push(["addFont",function(y){var g=y.font,b=p.Unicode[g.postScriptName];b&&(g.metadata.Unicode={},g.metadata.Unicode.widths=b.widths,g.metadata.Unicode.kerning=b.kerning);var v=f.Unicode[g.postScriptName];v&&(g.metadata.Unicode.encoding=v,g.encoding=v.codePages[0])}])})(cr.API),(function(t){var e=function(r){for(var n=r.length,i=new Uint8Array(n),a=0;a<n;a++)i[a]=r.charCodeAt(a);return i};t.API.events.push(["addFont",function(r){var n=void 0,i=r.font,a=r.instance;if(!i.isStandardFont){if(a===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if(typeof(n=a.existsFileInVFS(i.postScriptName)===!1?a.loadFile(i.postScriptName):a.getFileFromVFS(i.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");(function(s,l){l=/^\x00\x01\x00\x00/.test(l)?e(l):e(n2(l)),s.metadata=t.API.TTFFont.open(l),s.metadata.Unicode=s.metadata.Unicode||{encoding:{},kerning:{},widths:[]},s.metadata.glyIdsUsed=[0]})(i,n)}}])})(cr),cr.API.addSvgAsImage=function(t,e,r,n,i,a,s,l){if(isNaN(e)||isNaN(r))throw ci.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(n)||isNaN(i))throw ci.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=n,u.height=i;var h=u.getContext("2d");h.fillStyle="#fff",h.fillRect(0,0,u.width,u.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},p=this;return(Hr.canvg?Promise.resolve(Hr.canvg):Mn(()=>import("./index.es-CzEV97Kl.js"),[])).catch(function(y){return Promise.reject(new Error("Could not load canvg: "+y))}).then(function(y){return y.default?y.default:y}).then(function(y){return y.fromString(h,t,f)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(y){return y.render(f)}).then(function(){p.addImage(u.toDataURL("image/jpeg",1),e,r,n,i,s,l)})},cr.API.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this},cr.API.viewerPreferences=function(t,e){var r;t=t||{},e=e||!1;var n,i,a,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},l=Object.keys(s),u=[],h=0,f=0,p=0;function y(b,v){var C,k=!1;for(C=0;C<b.length;C+=1)b[C]===v&&(k=!0);return k}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,t==="reset"||e===!0){var g=l.length;for(p=0;p<g;p+=1)r[l[p]].value=r[l[p]].defaultValue,r[l[p]].explicitSet=!1}if(Yn(t)==="object"){for(i in t)if(a=t[i],y(l,i)&&a!==void 0){if(r[i].type==="boolean"&&typeof a=="boolean")r[i].value=a;else if(r[i].type==="name"&&y(r[i].valueSet,a))r[i].value=a;else if(r[i].type==="integer"&&Number.isInteger(a))r[i].value=a;else if(r[i].type==="array"){for(h=0;h<a.length;h+=1)if(n=!0,a[h].length===1&&typeof a[h][0]=="number")u.push(String(a[h]-1));else if(a[h].length>1){for(f=0;f<a[h].length;f+=1)typeof a[h][f]!="number"&&(n=!1);n===!0&&u.push([a[h][0]-1,a[h][1]-1].join(" "))}r[i].value="["+u.join(" ")+"]"}else r[i].value=r[i].defaultValue;r[i].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var b,v=[];for(b in r)r[b].explicitSet===!0&&(r[b].type==="name"?v.push("/"+b+" /"+r[b].value):v.push("/"+b+" "+r[b].value));v.length!==0&&this.internal.write(`/ViewerPreferences
247<<
248`+v.join(`
249`)+`
250>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this},cr.API.addMetadata=function(t,e){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:t,namespaceUri:e??"http://jspdf.default.namespaceuri/",rawXml:typeof e=="boolean"&&e},this.internal.events.subscribe("putCatalog",nK),this.internal.events.subscribe("postPutResources",rK)),this},(function(t){var e=t.API,r=e.pdfEscape16=function(a,s){for(var l,u=s.metadata.Unicode.widths,h=["","0","00","000","0000"],f=[""],p=0,y=a.length;p<y;++p){if(l=s.metadata.characterToGlyph(a.charCodeAt(p)),s.metadata.glyIdsUsed.push(l),s.metadata.toUnicode[l]=a.charCodeAt(p),u.indexOf(l)==-1&&(u.push(l),u.push([parseInt(s.metadata.widthOfGlyph(l),10)])),l=="0")return f.join("");l=l.toString(16),f.push(h[4-l.length],l)}return f.join("")},n=function(a){var s,l,u,h,f,p,y;for(f=`/CIDInit /ProcSet findresource begin
25112 dict begin
252begincmap
253/CIDSystemInfo <<
254  /Registry (Adobe)
255  /Ordering (UCS)
256  /Supplement 0
257>> def
258/CMapName /Adobe-Identity-UCS def
259/CMapType 2 def
2601 begincodespacerange
261<0000><ffff>
262endcodespacerange`,u=[],p=0,y=(l=Object.keys(a).sort(function(g,b){return g-b})).length;p<y;p++)s=l[p],u.length>=100&&(f+=`
263`+u.length+` beginbfchar
264`+u.join(`
265`)+`
266endbfchar`,u=[]),a[s]!==void 0&&a[s]!==null&&typeof a[s].toString=="function"&&(h=("0000"+a[s].toString(16)).slice(-4),s=("0000"+(+s).toString(16)).slice(-4),u.push("<"+s+"><"+h+">"));return u.length&&(f+=`
267`+u.length+` beginbfchar
268`+u.join(`
269`)+`
270endbfchar
271`),f+`endcmap
272CMapName currentdict /CMap defineresource pop
273end
274end`};e.events.push(["putFont",function(a){(function(s){var l=s.font,u=s.out,h=s.newObject,f=s.putStream;if(l.metadata instanceof t.API.TTFFont&&l.encoding==="Identity-H"){for(var p=l.metadata.Unicode.widths,y=l.metadata.subset.encode(l.metadata.glyIdsUsed,1),g="",b=0;b<y.length;b++)g+=String.fromCharCode(y[b]);var v=h();f({data:g,addLength1:!0,objectId:v}),u("endobj");var C=h();f({data:n(l.metadata.toUnicode),addLength1:!0,objectId:C}),u("endobj");var k=h();u("<<"),u("/Type /FontDescriptor"),u("/FontName /"+ep(l.fontName)),u("/FontFile2 "+v+" 0 R"),u("/FontBBox "+t.API.PDFObject.convert(l.metadata.bbox)),u("/Flags "+l.metadata.flags),u("/StemV "+l.metadata.stemV),u("/ItalicAngle "+l.metadata.italicAngle),u("/Asce
274nt "+l.metadata.ascender),u("/Descent "+l.metadata.decender),u("/CapHeight "+l.metadata.capHeight),u(">>"),u("endobj");var T=h();u("<<"),u("/Type /Font"),u("/BaseFont /"+ep(l.fontName)),u("/FontDescriptor "+k+" 0 R"),u("/W "+t.API.PDFObject.convert(p)),u("/CIDToGIDMap /Identity"),u("/DW 1000"),u("/Subtype /CIDFontType2"),u("/CIDSystemInfo"),u("<<"),u("/Supplement 0"),u("/Registry (Adobe)"),u("/Ordering ("+l.encoding+")"),u(">>"),u(">>"),u("endobj"),l.objectNumber=h(),u("<<"),u("/Type /Font"),u("/Subtype /Type0"),u("/ToUnicode "+C+" 0 R"),u("/BaseFont /"+ep(l.fontName)),u("/Encoding /"+l.encoding),u("/DescendantFonts ["+T+" 0 R]"),u(">>"),u("endobj"),l.isAlreadyPutted=!0}})(a)}]),e.events.push(["putFont",function(a){(function(s){var l=s.font,u=s.out,h=s.newObject,f=s.putStream;if(l.metadata instanceof t.API.TTFFont&&l.encoding==="WinAnsiEncoding"){for(var p=l.metadata.rawData,y="",g=0;g<p.length;g++)y+=String.fromCharCode(p[g]);var b=h();f({data:y,addLength1:!0,objectId:b}),u("endobj");var v=h();f({data:n(l.metadata.toUnicode),addLength1:!0,objectId:v}),u("endobj");var C=h();u("<<"),u("/Descent "+l.metadata.decender),u("/CapHeight "+l.metadata.capHeight),u("/StemV "+l.metadata.stemV),u("/Type /FontDescriptor"),u("/FontFile2 "+b+" 0 R"),u("/Flags 96"),u("/FontBBox "+t.API.PDFObject.convert(l.metadata.bbox)),u("/FontName /"+ep(l.fontName)),u("/ItalicAngle "+l.metadata.italicAngle),u("/Asce
274nt "+l.metadata.ascender),u(">>"),u("endobj"),l.objectNumber=h();for(var k=0;k<l.metadata.hmtx.widths.length;k++)l.metadata.hmtx.widths[k]=parseInt(l.metadata.hmtx.widths[k]*(1e3/l.metadata.head.unitsPerEm));u("<</Subtype/TrueType/Type/Font/ToUnicode "+v+" 0 R/BaseFont/"+ep(l.fontName)+"/FontDescriptor "+C+" 0 R/Encoding/"+l.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(l.metadata.hmtx.widths)+">>"),u("endobj"),l.isAlreadyPutted=!0}})(a)}]);var i=function(a){var s,l=a.text||"",u=a.x,h=a.y,f=a.options||{},p=a.mutex||{},y=p.pdfEscape,g=p.activeFontKey,b=p.fonts,v=g,C="",k=0,T="",E=b[v].encoding;if(b[v].encoding!=="Identity-H")return{text:l,x:u,y:h,options:f,mutex:p};for(T=l,v=g,Array.isArray(l)&&(T=l[0]),k=0;k<T.length;k+=1)b[v].metadata.hasOwnProperty("cmap")&&(s=b[v].metadata.cmap.unicode.codeMap[T[k].charCodeAt(0)]),s||T[k].charCodeAt(0)<256&&b[v].metadata.hasOwnProperty("Unicode")?C+=T[k]:C+="";var L="";return parseInt(v.slice(1))<14||E==="WinAnsiEncoding"?L=y(C,v).split("").map(function(O){return O.charCodeAt(0).toString(16)}).join(""):E==="Identity-H"&&(L=r(C,b[v])),p.isHex=!0,{text:L,x:u,y:h,options:f,mutex:p}};e.events.push(["postProcessText",function(a){var s=a.text||"",l=[],u={text:s,x:a.x,y:a.y,options:a.options,mutex:a.mutex};if(Array.isArray(s)){var h=0;for(h=0;h<s.length;h+=1)Array.isArray(s[h])&&s[h].length===3?l.push([i(Object.assign({},u,{text:s[h][0]})).text,s[h][1],s[h][2]]):l.push(i(Object.assign({},u,{text:s[h]})).text);a.text=l}else a.text=i(Object.assign({},u,{text:s})).text}])})(cr),(function(t){var e=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(r){return e.call(this),this.internal.vFS[r]!==void 0},t.addFileToVFS=function(r,n){return e.call(this),this.internal.vFS[r]=n,this},t.getFileFromVFS=function(r){return e.call(this),this.internal.vFS[r]!==void 0?this.internal.vFS[r]:null}})(cr.API),(function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(n){var i,a,s,l,u,h,f,p=e,y=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],g=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],b={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},v={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},C=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],k=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),T=!1,E=0;this.__bidiEngine__={};var L=function(N){var I=N.charCodeAt(),V=I>>8,z=v[V];return z!==void 0?p[256*z+(255&I)]:V===252||V===253?"AL":k.test(V)?"L":V===8?"R":"N"},O=function(N){for(var I,V=0;V<N.length;V++){if((I=L(N.charAt(V)))==="L")return!1;if(I==="R")return!0}return!1},W=function(N,I,V,z){var Y,D,Z,Q,it=I[z];switch(it){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":T=!1;break;case"N":case"AN":break;case"EN":T&&(it="AN");break;case"AL":T=!0,it="R";break;case"WS":case"BN":it="N";break;case"CS":z<1||z+1>=I.length||(Y=V[z-1])!=="EN"&&Y!=="AN"||(D=I[z+1])!=="EN"&&D!=="AN"?it="N":T&&(D="AN"),it=D===Y?D:"N";break;case"ES":it=(Y=z>0?V[z-1]:"B")==="EN"&&z+1<I.length&&I[z+1]==="EN"?"EN":"N";break;case"ET":if(z>0&&V[z-1]==="EN"){it="EN";break}if(T){it="N";break}for(Z=z+1,Q=I.length;Z<Q&&I[Z]==="ET";)Z++;it=Z<Q&&I[Z]==="EN"?"EN":"N";break;case"NSM":if(s&&!l){for(Q=I.length,Z=z+1;Z<Q&&I[Z]==="NSM";)Z++;if(Z<Q){var mt=N[z],K=mt>=1425&&mt<=2303||mt===64286;if(Y=I[Z],K&&(Y==="R"||Y==="AL")){it="R";break}}}it=z<1||(Y=I[z-1])==="B"?"N":V[z-1];break;case"B":T=!1,i=!0,it=E;break;case"S":a=!0,it="N"}return it},q=function(N,I,V){var z=N.split("");return V&&U(z,V,{hiLevel:E}),z.reverse(),I&&I.reverse(),z.join("")},U=function(N,I,V){var z,Y,D,Z,Q,it=-1,mt=N.length,K=0,P=[],X=E?g:y,et=[];for(T=!1,i=!1,a=!1,Y=0;Y<mt;Y++)et[Y]=L(N[Y]);for(D=0;D<mt;D++){if(Q=K,P[D]=W(N,et,P,D),z=240&(K=X[Q][b[P[D]]]),K&=15,I[D]=Z=X[K][5],z>0)if(z===16){for(Y=it;Y<D;Y++)I[Y]=1;it=-1}else it=-1;if(X[K][6])it===-1&&(it=D);else if(it>-1){for(Y=it;Y<D;Y++)I[Y]=Z;it=-1}et[D]==="B"&&(I[D]=0),V.hiLevel|=Z}a&&(function(rt,lt,ht){for(var bt=0;bt<ht;bt++)if(rt[bt]==="S"){lt[bt]=E;for(var yt=bt-1;yt>=0&&rt[yt]==="WS";yt--)lt[yt]=E}})(et,I,mt)},j=function(N,I,V,z,Y){if(!(Y.hiLevel<N)){if(N===1&&E===1&&!i)return I.reverse(),void(V&&V.reverse());for(var D,Z,Q,it,mt=I.length,K=0;K<mt;){if(z[K]>=N){for(Q=K+1;Q<mt&&z[Q]>=N;)Q++;for(it=K,Z=Q-1;it<Z;it++,Z--)D=I[it],I[it]=I[Z],I[Z]=D,V&&(D=V[it],V[it]=V[Z],V[Z]=D);
vendor: 15,399 bytes, line 274
274K=Q}K++}}},M=function(N,I,V){var z=N.split(""),Y={hiLevel:E};return V||(V=[]),U(z,V,Y),(function(D,Z,Q){if(Q.hiLevel!==0&&f)for(var it,mt=0;mt<D.length;mt++)Z[mt]===1&&(it=C.indexOf(D[mt]))>=0&&(D[mt]=C[it+1])})(z,V,Y),j(2,z,I,V,Y),j(1,z,I,V,Y),z.join("")};return this.__bidiEngine__.doBidiReorder=function(N,I,V){if((function(Y,D){if(D)for(var Z=0;Z<Y.length;Z++)D[Z]=Z;l===void 0&&(l=O(Y)),h===void 0&&(h=O(Y))})(N,I),s||!u||h)if(s&&u&&l^h)E=l?1:0,N=q(N,I,V);else if(!s&&u&&h)E=l?1:0,N=M(N,I,V),N=q(N,I);else if(!s||l||u||h){if(s&&!u&&l^h)N=q(N,I),l?(E=0,N=M(N,I,V)):(E=1,N=M(N,I,V),N=q(N,I));else if(s&&l&&!u&&h)E=1,N=M(N,I,V),N=q(N,I);else if(!s&&!u&&l^h){var z=f;l?(E=1,N=M(N,I,V),E=0,f=!1,N=M(N,I,V),f=z):(E=0,N=M(N,I,V),N=q(N,I),E=1,f=!1,N=M(N,I,V),f=z,N=q(N,I))}}else E=0,N=M(N,I,V);else E=l?1:0,N=M(N,I,V);return N},this.__bidiEngine__.setOptions=function(N){N&&(s=N.isInputVisual,u=N.isOutputVisual,l=N.isInputRtl,h=N.isOutputRtl,f=N.isSymmetricSwapping)},this.__bidiEngine__.setOptions(n),this.__bidiEngine__};var e=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],r=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(n){var i=n.text;n.x,n.y;var a=n.options||{};n.mutex,a.lang;var s=[];if(a.isInputVisual=typeof a.isInputVisual!="boolean"||a.isInputVisual,r.setOptions(a),Object.prototype.toString.call(i)==="[object Array]"){var l=0;for(s=[],l=0;l<i.length;l+=1)Object.prototype.toString.call(i[l])==="[object Array]"?s.push([r.doBidiReorder(i[l][0]),i[l][1],i[l][2]]):s.push([r.doBidiReorder(i[l])]);n.text=s}else n.text=r.doBidiReorder(i);r.setOptions({isInputVisual:!0})}])})(cr),cr.API.TTFFont=(function(){function t(e){var r;if(this.rawData=e,r=this.contents=new Ph(e),this.contents.pos=4,r.readString(4)==="ttcf")throw new Error("TTCF not supported.");r.pos=0,this.parse(),this.subset=new bK(this),this.registerTTF()}return t.open=function(e){return new t(e)},t.prototype.parse=function(){return this.directory=new iK(this.contents),this.head=new oK(this),this.name=new hK(this),this.cmap=new SE(this),this.toUnicode={},this.hhea=new sK(this),this.maxp=new fK(this),this.hmtx=new dK(this),this.post=new cK(this),this.os2=new lK(this),this.loca=new yK(this),this.glyf=new pK(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},t.prototype.registerTTF=function(){var e,r,n,i,a;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var s,l,u,h;for(h=[],s=0,l=(u=this.bbox).length;s<l;s++)e=u[s],h.push(Math.round(e*this.scaleFactor));return h}).call(this),this.stemV=0,this.post.exists?(n=255&(i=this.post.italic_angle),32768&(r=i>>16)&&(r=-(1+(65535^r))),this.italicAngle=+(r+"."+n)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(a=this.familyClass)===1||a===2||a===3||a===4||a===5||a===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(e){var r;return((r=this.cmap.unicode)!=null?r.codeMap[e]:void 0)||0},t.prototype.widthOfGlyph=function(e){var r;return r=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*r},t.prototype.widthOfString=function(e,r,n){var i,a,s,l;for(s=0,a=0,l=(e=""+e).length;0<=l?a<l:a>l;a=0<=l?++a:--a)i=e.charCodeAt(a),s+=this.widthOfGlyph(this.characterToGlyph(i))+n*(1e3/r)||0;return s*(r/1e3)},t.prototype.lineHeight=function(e,r){var n;return r==null&&(r=!1),n=r?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},t})();var Hl,Ph=(function(){function t(e){this.data=e??[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(e){return this.data[this.pos++]=e},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},t.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},t.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},t.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},t.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},t.prototype.readString=function(e){var r,n;for(n=[],r=0;0<=e?r<e:r>e;r=0<=e?++r:--r)n[r]=String.fromCharCode(this.readByte());return n.join("")},t.prototype.writeString=function(e){var r,n,i;for(i=[],r=0,n=e.length;0<=n?r<n:r>n;r=0<=n?++r:--r)i.push(this.writeByte(e.charCodeAt(r)));return i},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(e){return this.writeInt16(e)},t.prototype.readLongLong=function(){var e,r,n,i,a,s,l,u;return e=this.readByte(),r=this.readByte(),n=this.readByte(),i=this.readByte(),a=this.readByte(),s=this.readByte(),l=this.readByte(),u=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^r)+1099511627776*(255^n)+4294967296*(255^i)+16777216*(255^a)+65536*(255^s)+256*(255^l)+(255^u)+1):72057594037927940*e+281474976710656*r
274+1099511627776*n+4294967296*i+16777216*a+65536*s+256*l+u},t.prototype.writeLongLong=function(e){var r,n;return r=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(e){return this.writeInt32(e)},t.prototype.read=function(e){var r,n;for(r=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)r.push(this.readByte());return r},t.prototype.write=function(e){var r,n,i,a;for(a=[],n=0,i=e.length;n<i;n++)r=e[n],a.push(this.writeByte(r));return a},t})(),iK=(function(){var t;function e(r){var n,i,a;for(this.scalarType=r.readInt(),this.tableCount=r.readShort(),this.searchRange=r.readShort(),this.entrySelector=r.readShort(),this.rangeShift=r.readShort(),this.tables={},i=0,a=this.tableCount;0<=a?i<a:i>a;i=0<=a?++i:--i)n={tag:r.readString(4),checksum:r.readInt(),offset:r.readInt(),length:r.readInt()},this.tables[n.tag]=n}return e.prototype.encode=function(r){var n,i,a,s,l,u,h,f,p,y,g,b,v;for(v in g=Object.keys(r).length,u=Math.log(2),p=16*Math.floor(Math.log(g)/u),s=Math.floor(p/u),f=16*g-p,(i=new Ph).writeInt(this.scalarType),i.writeShort(g),i.writeShort(p),i.writeShort(s),i.writeShort(f),a=16*g,h=i.pos+a,l=null,b=[],r)for(y=r[v],i.writeString(v),i.writeInt(t(y)),i.writeInt(h),i.writeInt(y.length),b=b.concat(y),v==="head"&&(l=h),h+=y.length;h%4;)b.push(0),h++;return i.write(b),n=2981146554-t(i.data),i.pos=l+8,i.writeUInt32(n),i.data},t=function(r){var n,i,a,s;for(r=wE.call(r);r.length%4;)r.push(0);for(a=new Ph(r),i=0,n=0,s=r.length;n<s;n=n+=4)i+=a.readUInt32();return 4294967295&i},e})(),aK={}.hasOwnProperty,Ic=function(t,e){for(var r in e)aK.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t};Hl=(function(){function t(e){var r;this.file=e,r=this.file.directory.tables[this.tag],this.exists=!!r,r&&(this.offset=r.offset,this.length=r.length,this.parse(this.file.contents))}return t.prototype.parse=function(){},t.prototype.encode=function(){},t.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},t})();var oK=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ic(t,Hl),t.prototype.tag="head",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},t.prototype.encode=function(e){var r;
274return(r=new Ph).writeInt(this.version),r.writeInt(this.revision),r.writeInt(this.checkSumAdjustment),r.writeInt(this.magicNumber),r.writeShort(this.flags),r.writeShort(this.unitsPerEm),r.writeLongLong(this.created),r.writeLongLong(this.modified),r.writeShort(this.xMin),r.writeShort(this.yMin),r.writeShort(this.xMax),r.writeShort(this.yMax),r.writeShort(this.macStyle),r.writeShort(this.lowestRecPPEM),r.writeShort(this.fontDirectionHint),r.writeShort(e),r.writeShort(this.glyphDataFormat),r.data},t})(),c6=(function(){function t(e,r){var n,i,a,s,l,u,h,f,p,y,g,b,v,C,k,T,E;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=r+e.readInt(),p=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(u=0;u<256;++u)this.codeMap[u]=e.readByte();break;case 4:for(g=e.readUInt16(),y=g/2,e.pos+=6,a=(function(){var L,O;for(O=[],u=L=0;0<=y?L<y:L>y;u=0<=y?++L:--L)O.push(e.readUInt16());return O})(),e.pos+=2,v=(function(){var L,O;for(O=[],u=L=0;0<=y?L<y:L>y;u=0<=y?++L:--L)O.push(e.readUInt16());return O})(),h=(function(){var L,O;for(O=[],u=L=0;0<=y?L<y:L>y;u=0<=y?++L:--L)O.push(e.readUInt16());return O})(),f=(function(){var L,O;for(O=[],u=L=0;0<=y?L<y:L>y;u=0<=y?++L:--L)O.push(e.readUInt16());return O})(),i=(this.length-e.pos+this.offset)/2,l=(function(){var L,O;for(O=[],u=L=0;0<=i?L<i:L>i;u=0<=i?++L:--L)O.push(e.readUInt16());return O})(),u=k=0,E=a.length;k<E;u=++k)for(C=a[u],n=T=b=v[u];b<=C?T<=C:T>=C;n=b<=C?++T:--T)f[u]===0?s=n+h[u]:(s=l[f[u]/2+(n-b)-(y-u)]||0)!==0&&(s+=h[u]),this.codeMap[n]=65535&s}e.pos=p}return t.encode=function(e,r){var n,i,a,s,l,u,h,f,p,y,g,b,v,C,k,T,E,L,O,W,q,U,j,M,N,I,V,z,Y,D,Z,Q,it,mt,K,P,X,et,rt,lt,ht,bt,yt,kt,Rt,wt;switch(z=new Ph,s=Object.keys(e).sort(function(qt,Ht){return qt-Ht}),r){case"macroman":for(v=0,C=(function(){var qt=[];for(b=0;b<256;++b)qt.push(0);return qt})(),T={0:0},a={},Y=0,it=s.length;Y<it;Y++)T[yt=e[i=s[Y]]]==null&&(T[yt]=++v),a[i]={old:e[i],new:T[e[i]]},C[i]=T[e[i]];return z.writeUInt16(1),z.writeUInt16(0),z.writeUInt32(12),z.writeUInt16(0),z.writeUInt16(262),z.writeUInt16(0),z.write(C),{charMap:a,subtable:z.data,maxGlyphID:v+1};case"unicode":for(I=[],p=[],E=0,T={},n={},k=h=null,D=0,mt=s.length;D<mt;D++)T[O=e[i=s[D]]]==null&&(T[O]=++E),n[i]={old:O,new:T[O]},l=T[O]-i,k!=null&&l===h||(k&&p.push(k),I.push(i),h=l),k=i;for(k&&p.push(k),p.push(65535),I.push(65535),M=2*(j=I.length),U=2*Math.pow(Math.log(j)/Math.LN2,2),y=Math.log(U/2)/Math.LN2,q=2*j-U,u=[],W=[],g=[],b=Z=0,K=I.length;Z<K;b=++Z){if(N=I[b],f=p[b],N===65535){u.push(0),W.push(0);break}if(N-(V=n[N].new)>=32768)for(u.push(0),W.push(2*(g.length+j-b)),i=Q=N;N<=f?Q<=f:Q>=f;i=N<=f?++Q:--Q)g.push(n[i].new);else u.push(V-N),W.push(0)}for(z.writeUInt16(3),z.writeUInt16(1),z.writeUInt32(12),z.writeUInt16(4),z.writeUInt16(16+8*j+2*g.length),z.writeUInt16(0),z.writeUInt16(M),z.writeUInt16(U),z.writeUInt16(y),z.writeUInt16(q),ht=0,P=p.length;ht<P;ht++)i=p[ht],z.writeUInt16(i);for(z.writeUInt16(0),bt=0,X=I.length;bt<X;bt++)i=I[bt],z.writeUInt16(i);for(kt=0,et=u.length;kt<et;kt++)l=u[kt],z.writeUInt16(l);for(Rt=0,rt=W.length;Rt<rt;Rt++)L=W[Rt],z.writeUInt16(L);for(wt=0,lt=g.length;wt<lt;wt++)v=g[wt],z.writeUInt16(v);return{charMap:n,subtable:z.data,maxGlyphID:E+1}}},t})(),SE=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ic(t,Hl),t.prototype.tag="cmap",t.prototype.parse=function(e){var r,n,i;for(e.pos=this.offset,this.version=e.readUInt16(),i=e.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=i?n<i:n>i;n=0<=i?++n:--n)r=new c6(e,this.offset),this.tables.push(r),r.isUnicode&&this.unicode==null&&(this.unicode=r);return!0},t.encode=function(e,r){var n,i;return r==null&&(r="macroman"),n=c6.encode(e,r),(i=new Ph).writeUInt16(0),i.writeUInt16(1),n.table=i.data.concat(n.subtable),n},t})(),sK=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ic(t,Hl),t.prototype.tag="hhea",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},t})(),lK=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ic(t,Hl),t.prototype.tag="OS/2",t.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=(function(){var r,n;for(n=[],r=0;r<10;++r)n.push(e.readByte());return n})(),this.charRange=(function(){var r,n;for(n=[],r=0;r<4;++r)n.push(e.readInt());return n})(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=(function(){var r,n;for(n=[],r=0;r<2;
274r=++r)n.push(e.readInt());return n})(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},t})(),cK=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ic(t,Hl),t.prototype.tag="post",t.prototype.parse=function(e){var r,n,i;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var a;for(n=e.readUInt16(),this.glyphNameIndex=[],a=0;0<=n?a<n:a>n;a=0<=n?++a:--a)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],i=[];e.pos<this.offset+this.length;)r=e.readByte(),i.push(this.names.push(e.readString(r)));return i;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 262144:return this.map=(function(){var s,l,u;for(u=[],a=s=0,l=this.file.maxp.numGlyphs;0<=l?s<l:s>l;a=0<=l?++s:--s)u.push(e.readUInt32());return u}).call(this)}},t})(),uK=function(t,e){this.raw=t,this.length=t.length,this.platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},hK=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ic(t,Hl),t.prototype.tag="name",t.prototype.parse=function(e){var r,n,i,a,s,l,u,h,f,p,y;for(e.pos=this.offset,e.readShort(),r=e.readShort(),l=e.readShort(),n=[],a=0;0<=r?a<r:a>r;a=0<=r?++a:--a)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+l+e.readShort()});for(u={},a=f=0,p=n.length;f<p;a=++f)i=n[a],e.pos=i.offset,h=e.readString(i.length),s=new uK(h,i),u[y=i.nameID]==null&&(u[y]=[]),u[i.nameID].push(s);this.strings=u,this.copyright=u[0],this.fontFamily=u[1],this.fontSubfamily=u[2],this.uniqueSubfamily=u[3],this.fontName=u[4],this.version=u[5];try{this.postscriptName=u[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=u[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=u[7],this.manufacturer=u[8],this.designer=u[9],this.description=u[10],this.vendorUrl=u[11],this.designerUrl=u[12],this.license=u[13],this.licenseUrl=u[14],this.preferredFamily=u[15],this.preferredSubfamily=u[17],this.compatibleFull=u[18],this.sampleText=u[19]},t})(),fK=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ic(t,Hl),t.prototype.tag="maxp",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},t})(),dK=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ic(t,Hl),t.prototype.tag="hmtx",t.prototype.parse=function(e){var r,n,i,a,s,l,u;for(e.pos=this.offset,this.metrics=[],r=0,l=this.file.hhea.numberOfMetrics;0<=l?r<l:r>l;r=0<=l?++r:--r)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(i=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=(function(){var h,f;for(f=[],r=h=0;0<=i?h<i:h>i;r=0<=i?++h:--h)f.push(e.readInt16());return f})(),this.widths=(function(){var h,f,p,y;for(y=[],h=0,f=(p=this.metrics).length;h<f;h++)a=p[h],y.push(a.advance);return y}).call(this),n=this.widths[this.widths.length-1],u=[],r=s=0;0<=i?s<i:s>i;r=0<=i?++s:--s)u.push(this.widths.push(n));return u},t.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},t})(),wE=[].slice,pK=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ic(t,Hl),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(e){var r,n,i,a,s,l,u,h,f,p;return e in this.cache?this.cache[e]:(a=this.file.loca,r=this.file.contents,n=a.indexOf(e),(i=a.lengthOf(e))===0?this.cache[e]=null:(r.pos=this.offset+n,s=(l=new Ph(r.read(i))).readShort(),h=l.readShort(),p=l.readShort(),u=l.readShort(),f=l.readShort(),this.cache[e]=s===-1?new mK(l,h,p,u,f):new gK(l,s,h,p,u,f),this.cache[e]))},t.prototype.encode=function(e,r,n){var i,a,s,l,u;for(s=[],a=[],l=0,u=r.length;l<u;l++)i=e[r[l]],a.push(s.length),i&&(s=s.concat(i.encode(n)));return a.push(s.length),{table:s,offsets:a}},t})(),gK=(function(){function t(e,r,n,i,a,s){this.raw=e,this.numberOfContours=r,this.xMin=n,this.yMin=i,this.xMax=a,this.yMax=s,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t})(),mK=(function(){function t(e,r,n,i,a){var s,l;for(this.raw=e,this.xMin=r,this.yMin=n,this.xMax=i,this.yMax=a,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],s=this.raw;l=s.readShort(),this.glyphOffsets.push(s.pos),this.glyphIDs.push(s.readUInt16()),32&l;)s.pos+=1&l?4:2,128&l?s.pos+=8:64&l?s.pos+=4:8&l&&(s.pos+=2)}return t.prototype.encode=function(){var e,r,n;for(r=new Ph(wE.call(this.raw.data)),e=0,n=this.glyphIDs.length;e<n;++e)r.pos=this.glyphOffsets[e];return r.data},t})(),yK=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ic(t,Hl),t.prototype.tag="loca",t.prototype.parse=function(e){var r,n;return e.pos=this.offset,r=this.file.head.indexToLocFormat,this.offsets=r===0?(function(){var i,a;for(a=[],n=0,i=this.length;n<i;n+=2)a.push(2*e.readUInt16());return a}).call(this):(function(){var i,a;for(a=[],n=0,i=this.length;n<i;n+=4)a.push(e.readUInt32());return a}).call(this)},t.prototype.indexOf=function(e){return this.offsets[e]},t.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},t.prototype.encode=function(e,r){for(var n=new Uint32Array(this.offsets.length),i=0,a=0,s=0;s<n.length;++s)if(n[s]=i,a<r.length&&r[a]==s){++a,n[s]=i;var l=this.offsets[s],u=this.offsets[s+1]-l;u>0&&(i+=u)}for(var h=new Array(4*n.length),f=0;f<n.length;++f)h[4*f+3]=255&n[f],h[4*f+2]=(65280&n[f])>>8,h[4*f+1]=(16711680&n[f])>>16,h[4*f]=(4278190080&n[f])>>24;return h},t})(),bK=(function(){function t(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var e,r,n,i,a;for(r in i=this.font.cmap.tables[0].codeMap,e={},a=this.subset)n=a[r],e[r]=i[n];return e},t.prototype.glyphsFor=function(e){var r,n,i,a,s,l,u;for(i={},s=0,l=e.length;s<l;s++)i[a=e[s]]=this.font.glyf.glyphFor(a);for(a in r=[],i)(n=i[a])!=null&&n.compound&&r.push.apply(r,n.glyphIDs);if(r.length>0)for(a in u=this.glyphsFor(r))n=u[a],i[a]=n;return i},t.prototype.encode=function(e,r){var n,i,a,s,l,u,h,f,p,y,g,b,v,C,k;for(i in n=SE.encode(this.generateCmap(),"unicode"),s=this.glyphsFor(e),g={0:0},k=n.charMap)g[(u=k[i]).old]=u.new;for(b in y=n.maxGlyphID,s)b in g||(g[b]=y++);return f=(function(T){var E,L;for(E in L={},T)L[T[E]]=E;return L})(g),p=Object.keys(f).sort(function(T,E){return T-E}),v=(function(){var T,E,L;for(L=[],T=0,E=p.length;T<E;T++)l=p[T],L.push(f[l]);return L})(),a=this.font.glyf.encode(s,v,g),h=this.font.loca.encode(a.offsets,v),C={cmap:this.font.cmap.raw(),glyf:a.table,loca:h,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(r)},this.font.os2.exists&&(C["OS/2"]=this.font.os2.raw()),this.font.directory.encode(C)},t})();cr.API.PDFObject=(function(){var t;function e(){}return t=function(r,n){return(Array(n+1).join("0")+r).slice(-n)},e.convert=function(r){var n,i,a,s;if(Array.isArray(r))return"["+(function(){var l,u,h;for(h=[],l=0,u=r.length;l<u;l++)n=r[l],h.push(e.convert(n));return h})().join(" ")+"]";if(typeof r=="string")return"/"+r;if(r?.isString)return"("+r+")";if(r instanceof Date)return"(D:"+t(r.getUTCFullYear(),4)+t(r.getUTCMonth(),2)+t(r.getUTCDate(),2)+t(r.getUTCHours(),2)+t(r.getUTCMinutes(),2)+t(r.getUTCSeconds(),2)+"Z)";if({}.toString.call(r)==="[object Object]"){for(i in a=["<<"],r)s=r[i],a.push("/"+i+" "+e.convert(s));return a.push(">>"),a.join(`
275`)}return""+r},e})();function CE(t,e,r,n,i){n=n||{};var a=1.15,s=i.internal.scaleFactor,l=i.internal.getFontSize()/s,u=i.getLineHeightFactor?i.getLineHeightFactor():a,h=l*u,f=/\r\n|\r|\n/g,p="",y=1;if((n.valign==="middle"||n.valign==="bottom"||n.halign==="center"||n.halign==="right")&&(p=typeof t=="string"?t.split(f):t,y=p.length||1),r+=l*(2-a),n.val
275ign==="middle"?r-=y/2*h:n.valign==="bottom"&&(r-=y*h),n.halign==="center"||n.halign==="right"){var g=l;if(n.halign==="center"&&(g*=.5),p&&y>=1){for(var b=0;b<p.length;b++)i.text(p[b],e-i.getStringUnitWidth(p[b])*g,r),r+=h;return i}e-=i.getStringUnitWidth(t)*g}return n.halign==="justify"?i.text(t,e,r,{maxWidth:n.maxWidth||100,align:"justify"}):i.text(t,e,r),i}var u6={},dp=(function(){function t(e){this.jsPDFDocument=e,this.userStyles={textColor:e.getTextColor?this.jsPDFDocument.getTextColor():0,fontSize:e.internal.getFontSize(),fontStyle:e.internal.getFont().fontStyle,font:e.internal.getFont().fontName,lineWidth:e.getLineWidth?this.jsPDFDocument.getLineWidth():0,lineColor:e.getDrawColor?this.jsPDFDocument.getDrawColor():0}}return t.setDefaults=function(e,r){r===void 0&&(r=null),r?r.__autoTableDocumentDefaults=e:u6=e},t.unifyColor=function(e){return Array.isArray(e)?e:typeof e=="number"?[e,e,e]:typeof e=="string"?[e]:null},t.prototype.applyStyles=function(e,r){var n,i,a;r===void 0&&(r=!1),e.fontStyle&&this.jsPDFDocument.setFontStyle&&this.jsPDFDocument.setFontStyle(e.fontStyle);var s=this.jsPDFDocument.internal.getFont(),l=s.fontStyle,u=s.fontName;if(e.font&&(u=e.font),e.fontStyle){l=e.fontStyle;var h=this.getFontList()[u];h&&h.indexOf(l)===-1&&this.jsPDFDocument.setFontStyle&&(this.jsPDFDocument.setFontStyle(h[0]),l=h[0])}if(this.jsPDFDocument.setFont(u,l),e.fontSize&&this.jsPDFDocument.setFontSize(e.fontSize),!r){var f=t.unifyColor(e.fillColor);f&&(n=this.jsPDFDocument).setFillColor.apply(n,f),f=t.unifyColor(e.textColor),f&&(i=this.jsPDFDocument).setTextColor.apply(i,f),f=t.unifyColor(e.lineColor),f&&(a=this.jsPDFDocument).setDrawColor.apply(a,f),typeof e.lineWidth=="number"&&this.jsPDFDocument.setLineWidth(e.lineWidth)}},t.prototype.splitTextToSize=function(e,r,n){return this.jsPDFDocument.splitTextToSize(e,r,n)},t.prototype.rect=function(e,r,n,i,a){return this.jsPDFDocument.rect(e,r,n,i,a)},t.prototype.getLastAutoTable=function(){return this.jsPDFDocument.lastAutoTable||null},t.prototype.getTextWidth=function(e){return this.jsPDFDocument.getTextWidth(e)},t.prototype.getDocument=function(){return this.jsPDFDocument},t.prototype.setPage=function(e){this.jsPDFDocument.setPage(e)},t.prototype.addPage=function(){return this.jsPDFDocument.addPage()},t.prototype.getFontList=function(){return this.jsPDFDocument.getFontList()},t.prototype.getGlobalOptions=function(){return u6||{}},t.prototype.getDocumentOptions=function(){return this.jsPDFDocument.__autoTableDocumentDefaults||{}},t.prototype.pageSize=function(){var e=this.jsPDFDocument.internal.pageSize;return e.width==null&&(e={width:e.getWidth(),height:e.getHeight()}),e},t.prototype.scaleFactor=function(){return this.jsPDFDocument.internal.scaleFactor},t.prototype.getLineHeightFactor=function(){var e=this.jsPDFDocument;return e.getLineHeightFactor?e.getLineHeightFactor():1.15},t.prototype.getLineHeight=function(e){return e/this.scaleFactor()*this.getLineHeightFactor()},t.prototype.pageNumber=function(){var e=this.jsPDFDocument.internal.getCurrentPageInfo();return e?e.pageNumber:this.jsPDFDocument.internal.getNumberOfPages()},t})(),W5=function(t,e){return W5=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},W5(t,e)};function kE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");W5(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var _E=(function(t){kE(e,t);function e(r){var n=t.call(this)||this;return n._element=r,n}return e})(Array);function vK(t){return{font:"helvetica",fontStyle:"normal",overflow:"linebreak",fillColor:!1,textColor:20,halign:"left",valign:"top",fontSize:10,cellPadding:5/t,lineColor:200,lineWidth:0,cellWidth:"auto",minCellHeight:0,minCellWidth:0}}function xK(t){var e={striped:{table:{fillColor:255,textColor:80,fontStyle:"normal"},head:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},body:{},foot:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1},head:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},body:{},foot:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},alternateRow:{}},plain:{head:{fontStyle:"bold"},foot:{fontStyle:"bold"}}};return e[t]}function F2(t,e,r){r.applyStyles(e,!0);var n=Array.isArray(t)?t:[t],i=n.map(function(a){return r.getTextWidth(a)}).reduce(function(a,s){return Math.max(a,s)},0);return i}function AE(t,e,r,n){var i=e.settings.tableLineWidth,a=e.settings.tableLineColor;t.applyStyles({lineWidth:i,lineColor:a});var s=TE(i,!1);s&&t.rect(r.x,r.y,e.getWidth(t.pageSize().width),n.y-r.y,s)}function TE(t,e){var r=t>0,n=e||e===0;return r&&n?"DF":r?"S":n?"F":null}function Qy(t,e){var r,n,i,a;if(t=t||e,Array.isArray(t)){if(t.length>=4)return{top:t[0],right:t[1],bottom:t[2],left:t[3]};if(t.length===3)return{top:t[0],right:t[1],bottom:t[2],left:t[1]};if(t.length===2)return{top:t[0],right:t[1],bottom:t[0],left:t[1]};t.length===1?t=t[0]:t=e}return typeof t=="object"?(typeof t.vertical=="number"&&(t.top=t.vertical,t.bottom=t.vertical),typeof t.horizontal=="number"&&(t.right=t.horizontal,t.left=t.horizontal),{left:(r=t.left)!==null&&r!==void 0?r:e,top:(n=t.top)!==null&&n!==void 0?n:e,right:(i=t.right)!==null&&i!==void 0?i:e,bottom:(a=t.bottom)!==null&&a!==void 0?a:e}):(typeof t!="number"&&(t=e),{top:t,right:t,bottom:t,left:t})}
275function LE(t,e){var r=Qy(e.settings.margin,0);return t.pageSize().width-(r.left+r.right)}function SK(t,e,r,n,i){var a={},s=1.3333333333333333,l=Nx(e,function(E){return i.getComputedStyle(E).backgroundColor});l!=null&&(a.fillColor=l);var u=Nx(e,function(E){return i.getComputedStyle(E).color});u!=null&&(a.textColor=u);var h=CK(n,r);h&&(a.cellPadding=h);var f="borderTopColor",p=s*r,y=n.borderTopWidth;if(n.borderBottomWidth===y&&n.borderRightWidth===y&&n.borderLeftWidth===y){var g=(parseFloat(y)||0)/p;g&&(a.lineWidth=g)}else a.lineWidth={top:(parseFloat(n.borderTopWidth)||0)/p,right:(parseFloat(n.borderRightWidth)||0)/p,bottom:(parseFloat(n.borderBottomWidth)||0)/p,left:(parseFloat(n.borderLeftWidth)||0)/p},a.lineWidth.top||(a.lineWidth.right?f="borderRightColor":a.lineWidth.bottom?f="borderBottomColor":a.lineWidth.left&&(f="borderLeftColor"));var b=Nx(e,function(E){return i.getComputedStyle(E)[f]});b!=null&&(a.lineColor=b);var v=["left","right","center","justify"];v.indexOf(n.textAlign)!==-1&&(a.halign=n.textAlign),v=["middle","bottom","top"],v.indexOf(n.verticalAlign)!==-1&&(a.valign=n.verticalAlign);var C=parseInt(n.fontSize||"");isNaN(C)||(a.fontSize=C/s);var k=wK(n);k&&(a.fontStyle=k);var T=(n.fontFamily||"").toLowerCase();return t.indexOf(T)!==-1&&(a.font=T),a}function wK(t){var e="";return(t.fontWeight==="bold"||t.fontWeight==="bolder"||parseInt(t.fontWeight)>=700)&&(e="bold"),(t.fontStyle==="italic"||t.fontStyle==="oblique")&&(e+="italic"),e}function Nx(t,e){var r=EE(t,e);if(!r)return null;var n=r.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d*\.?\d*))?\)$/);if(!n||!Array.isArray(n))return null;var i=[parseInt(n[1]),parseInt(n[2]),parseInt(n[3])],a=parseInt(n[4]);return a===0||isNaN(i[0])||isNaN(i[1])||isNaN(i[2])?null:i}function EE(t,e){var r=e(t);return r==="rgba(0, 0, 0, 0)"||r==="transparent"||r==="initial"||r==="inherit"?t.parentElement==null?null:EE(t.parentElement,e):r}function CK(t,e){var r=[t.paddingTop,t.paddingRight,t.paddingBottom,t.paddingLeft],n=96/(72/e),i=(parseInt(t.lineHeight)-parseInt(t.fontSize))/e/2,a=r.map(function(l){return parseInt(l||"0")/n}),s=Qy(a,0);return i>s.top&&(s.top=i),i>s.bottom&&(s.bottom=i),s}function ME(t,e,r,n,i){var a,s;n===void 0&&(n=!1),i===void 0&&(i=!1);var l;typeof e=="string"?l=r.document.querySelector(e):l=e;var u=Object.keys(t.getFontList()),h=t.scaleFactor(),f=[],p=[],y=[];if(!l)return console.error("Html table could not be found with input: ",e),{head:f,body:p,foot:y};for(var g=0;g<l.rows.length;g++){var b=l.rows[g],v=(s=(a=b?.parentElement)===null||a===void 0?void 0:a.tagName)===null||s===void 0?void 0:s.toLowerCase(),C=kK(u,h,r,b,n,i);C&&(v==="thead"?f.push(C):v==="tfoot"?y.push(C):p.push(C))}return{head:f,body:p,foot:y}}function kK(t,e,r,n,i,a){for(var s=new _E(n),l=0;l<n.cells.length;l++){var u=n.cells[l],h=r.getComputedStyle(u);if(i||h.display!=="none"){var f=void 0;a&&(f=SK(t,u,e,h,r)),s.push({rowSpan:u.rowSpan,colSpan:u.colSpan,styles:f,_element:u,content:_K(u)})}}var p=r.getComputedStyle(n);if(s.length>0&&(i||p.display!=="none"))return s}function _K(t){var e=t.cloneNode(!0);return e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/ +/g," "),e.innerHTML=e.innerHTML.split(/<br.*?>/).map(function(r){return r.trim()}).join(`
276`),e.innerText||e.textContent||""}function AK(t,e,r){for(var n=0,i=[t,e,r];n<i.length;n++){var a=i[n];a&&typeof a!="object"&&console.error("The options parameter should be of type object, is: "+typeof a),a.startY&&typeof a.startY!="number"&&(console.error("Invalid value for startY option",a.startY),delete a.startY)}}function Su(t,e,r,n,i){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(var a=Object(t),s=1;s<arguments.length;s++){var l=arguments[s];if(l!=null)for(var u in l)Object.prototype.hasOwnProperty.call(l,u)&&(a[u]=l[u])}return a}function TK(t,e){var r=new dp(t),n=r.getDocumentOptions(),i=r.getGlobalOptions();AK(i,n,e);var a=Su({},i,n,e),s;typeof window<"u"&&(s=window);var l=LK(i,n,e),u=EK(i,n,e),h=MK(r,a),f=NK(r,a,s);return{id:e.tableId,content:f,hooks:u,styles:l,settings:h}}function LK(t,e,r){for(var n={styles:{},headStyles:{},bodyStyles:{},footStyles:{},alternateRowStyles:{},columnStyles:{}},i=function(u){if(u==="columnStyles"){var h=t[u],f=e[u],p=r[u];n.columnStyles=Su({},h,f,p)}else{var y=[t,e,r],g=y.map(function(b){return b[u]||{}});n[u]=Su({},g[0],g[1],g[2])}},a=0,s=Object.keys(n);a<s.length;a++){var l=s[a];i(l)}return n}function EK(t,e,r){for(var n=[t,e,r],i={didParseCell:[],willDrawCell:[],didDrawCell:[],willDrawPage:[],didDrawPage:[]},a=0,s=n;a<s.length;a++){var l=s[a];l.didParseCell&&i.didParseCell.push(l.didParseCell),l.willDrawCell&&i.willDrawCell.push(l.willDrawCell),l.didDrawCell&&i.didDrawCell.push(l.didDrawCell),l.willDrawPage&&i.willDrawPage.push(l.willDrawPage),l.didDrawPage&&i.didDrawPage.push(l.didDrawPage)}return i}function MK(t,e){var r,n,i,a,s,l,u,h,f,p,y,g,b=Qy(e.margin,40/t.scaleFactor()),v=(r=RK(t,e.startY))!==null&&r!==void 0?r:b.top,C;
276e.showFoot===!0?C="everyPage":e.showFoot===!1?C="never":C=(n=e.showFoot)!==null&&n!==void 0?n:"everyPage";var k;e.showHead===!0?k="everyPage":e.showHead===!1?k="never":k=(i=e.showHead)!==null&&i!==void 0?i:"everyPage";var T=(a=e.useCss)!==null&&a!==void 0?a:!1,E=e.theme||(T?"plain":"striped"),L=!!e.horizontalPageBreak,O=(s=e.horizontalPageBreakRepeat)!==null&&s!==void 0?s:null;return{includeHiddenHtml:(l=e.includeHiddenHtml)!==null&&l!==void 0?l:!1,useCss:T,theme:E,startY:v,margin:b,pageBreak:(u=e.pageBreak)!==null&&u!==void 0?u:"auto",rowPageBreak:(h=e.rowPageBreak)!==null&&h!==void 0?h:"auto",tableWidth:(f=e.tableWidth)!==null&&f!==void 0?f:"auto",showHead:k,showFoot:C,tableLineWidth:(p=e.tableLineWidth)!==null&&p!==void 0?p:0,tableLineColor:(y=e.tableLineColor)!==null&&y!==void 0?y:200,horizontalPageBreak:L,horizontalPageBreakRepeat:O,horizontalPageBreakBehaviour:(g=e.horizontalPageBreakBehaviour)!==null&&g!==void 0?g:"afterAllRows"}}function RK(t,e){var r=t.getLastAutoTable(),n=t.scaleFactor(),i=t.pageNumber(),a=!1;if(r&&r.startPageNumber){var s=r.startPageNumber+r.pageNumber-1;a=s===i}return typeof e=="number"?e:(e==null||e===!1)&&a&&r?.finalY!=null?r.finalY+20/n:null}function NK(t,e,r){var n=e.head||[],i=e.body||[],a=e.foot||[];if(e.html){var s=e.includeHiddenHtml;if(r){var l=ME(t,e.html,r,s,e.useCss)||{};n=l.head||n,i=l.body||n,a=l.foot||n}else console.error("Cannot parse html in non browser environment")}var u=e.columns||BK(n,i,a);return{columns:u,head:n,body:i,foot:a}}function BK(t,e,r){var n=t[0]||e[0]||r[0]||[],i=[];return Object.keys(n).filter(function(a){return a!=="_element"}).forEach(function(a){var s=1,l;Array.isArray(n)?l=n[parseInt(a)]:l=n[a],typeof l=="object"&&!Array.isArray(l)&&(s=l?.colSpan||1);for(var u=0;u<s;u++){var h=void 0;Array.isArray(n)?h=i.length:h=a+(u>0?"_".concat(u):"");var f={dataKey:h};i.push(f)}}),i}var G5=(function(){function t(e,r,n){this.table=r,this.pageNumber=r.pageNumber,this.settings=r.settings,this.cursor=n,this.doc=e.getDocument()}return t})(),OK=(function(t){kE(e,t);function e(r,n,i,a,s,l){var u=t.call(this,r,n,l)||this;return u.cell=i,u.row=a,u.column=s,u.section=a.section,u}return e})(G5),PK=(function(){function t(e,r){this.pageNumber=1,this.id=e.id,this.settings=e.settings,this.styles=e.styles,this.hooks=e.hooks,this.columns=r.columns,this.head=r.head,this.body=r.body,this.foot=r.foot}return t.prototype.getHeadHeight=function(e){return this.head.reduce(function(r,n){return r+n.getMaxCellHeight(e)},0)},t.prototype.getFootHeight=function(e){return this.foot.reduce(function(r,n){return r+n.getMaxCellHeight(e)},0)},t.prototype.allRows=function(){return this.head.concat(this.body).concat(this.foot)},t.prototype.callCellHooks=function(e,r,n,i,a,s){for(var l=0,u=r;l<u.length;l++){var h=u[l],f=new OK(e,this,n,i,a,s),p=h(f)===!1;if(n.text=Array.isArray(n.text)?n.text:[n.text],p)return!1}return!0},t.prototype.callEndPageHooks=function(e,r){e.applyStyles(e.userStyles);for(var n=0,i=this.hooks.didDrawPage;n<i.length;n++){var a=i[n];a(new G5(e,this,r))}},t.prototype.callWillDrawPageHooks=function(e,r){for(var n=0,i=this.hooks.willDrawPage;n<i.length;n++){var a=i[n];a(new G5(e,this,r))}},t.prototype.getWidth=function(e){if(typeof this.settings.tableWidth=="number")return this.settings.tableWidth;if(this.settings.tableWidth==="wrap"){var r=this.columns.reduce(function(i,a){return i+a.wrappedWidth},0);return r}else{var n=this.settings.margin;return e-n.left-n.right}},t})(),RE=(function(){function t(e,r,n,i,a){a===void 0&&(a=!1),this.height=0,this.raw=e,e instanceof _E&&(this.raw=e._element,this.element=e._element),this.index=r,this.section=n,this.cells=i,this.spansMultiplePages=a}return t.prototype.getMaxCellHeight=function(e){var r=this;return e.reduce(function(n,i){var a;return Math.max(n,((a=r.cells[i.index])===null||a===void 0?void 0:a.height)||0)},0)},t.prototype.hasRowSpan=function(e){var r=this;return e.filter(function(n){var i=r.cells[n.index];return i?i.rowSpan>1:!1}).length>0},t.prototype.canEntireRowFit=function(e,r){return this.getMaxCellHeight(r)<=e},t.prototype.getMinimumRowHeight=function(e,r){var n=this;return e.reduce(function(i,a){var s=n.cells[a.index];if(!s)return 0;var l=r.getLineHeight(s.styles.fontSize),u=s.padding("vertical"),h=u+l;return h>i?h:i},0)},t})(),NE=(function(){function t(e,r,n){var i;this.contentHeight=0,this.contentWidth=0,this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.height=0,this.x=0,this.y=0,this.styles=r,this.section=n,this.raw=e;var a=e;e!=null&&typeof e=="object"&&!Array.isArray(e)?(this.rowSpan=e.rowSpan||1,this.colSpan=e.colSpan||1,a=(i=e.content)!==null&&i!==void 0?i:e,e._element&&(this.raw=e._element)):(this.rowSpan=1,this.colSpan=1);var s=a!=null?""+a:"",l=/\r\n|\r|\n/g;this.text=s.split(l)}return t.prototype.getTextPos=function(){var e;if(this.styles.valign==="top")e=this.y+this.padding("top");else if(this.styles.valign==="bottom")e=this.y+this.height-this.padding("bottom");else{var r=this.height-this.padding("vertical");e=this.y+r/2+this.padding("top")}var n;if(this.styles.halign==="right")n=this.x+this.width-this.padding("right");else if(this.styles.halign==="center"){var i=this.width-this.padding("horizontal");n=this.x+i/2+this.padding("left")}else n=this.x+this.padding("left");return{x:n,y:e}},t.prototype.getContentHeight=function(e,r){r===void 0&&(r=1.15);var n=Array.isArray(this.text)?this.text.length:1,i=this.styles.fontSize/e*r,a=n*i+this.padding("vertical");return Math.max(a,this.styles.minCellHeight)},t.prototype.padding=function(e){var r=Qy(this.styles.cellPadding,0);return e==="vertical"?r.top+r.bottom:e==="horizontal"?r.left+r.right:r[e]},t})(),$K=(function(){function t(e,r,n){this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.dataKey=e,this.raw=r,this.index=n}return t.prototype.getMaxCustomCellWidth=function(e){for(var r=0,n=0,i=e.allRows();n<i.length;n++){var a=i[n],s=a.cells[this.index];
276s&&typeof s.styles.cellWidth=="number"&&(r=Math.max(r,s.styles.cellWidth))}return r},t})();function jK(t,e){DK(t,e);var r=[],n=0;e.columns.forEach(function(a){var s=a.getMaxCustomCellWidth(e);s?a.width=s:(a.width=a.wrappedWidth,r.push(a)),n+=a.width});var i=e.getWidth(t.pageSize().width)-n;i&&(i=V5(r,i,function(a){return Math.max(a.minReadableWidth,a.minWidth)})),i&&(i=V5(r,i,function(a){return a.minWidth})),i=Math.abs(i),!e.settings.horizontalPageBreak&&i>.1/t.scaleFactor()&&(i=i<1?i:Math.round(i),console.log("Of the table content, ".concat(i," units width could not fit page"))),zK(e),FK(e,t),IK(e)}function DK(t,e){var r=t.scaleFactor(),n=e.settings.horizontalPageBreak,i=LE(t,e);e.allRows().forEach(function(a){for(var s=0,l=e.columns;s<l.length;s++){var u=l[s],h=a.cells[u.index];if(h){var f=e.hooks.didParseCell;e.callCellHooks(t,f,h,a,u,null);var p=h.padding("horizontal");h.contentWidth=F2(h.text,h.styles,t)+p;var y=F2(h.text.join(" ").split(/[^\S\u00A0]+/),h.styles,t);if(h.minReadableWidth=y+h.padding("horizontal"),typeof h.styles.cellWidth=="number")h.minWidth=h.styles.cellWidth,h.wrappedWidth=h.styles.cellWidth;else if(h.styles.cellWidth==="wrap"||n===!0)h.contentWidth>i?(h.minWidth=i,h.wrappedWidth=i):(h.minWidth=h.contentWidth,h.wrappedWidth=h.contentWidth);else{var g=10/r;h.minWidth=h.styles.minCellWidth||g,h.wrappedWidth=h.contentWidth,h.minWidth>h.wrappedWidth&&(h.wrappedWidth=h.minWidth)}}}}),e.allRows().forEach(function(a){for(var s=0,l=e.columns;s<l.length;s++){var u=l[s],h=a.cells[u.index];if(h&&h.colSpan===1)u.wrappedWidth=Math.max(u.wrappedWidth,h.wrappedWidth),u.minWidth=Math.max(u.minWidth,h.minWidth),u.minReadableWidth=Math.max(u.minReadableWidth,h.minReadableWidth);else{var f=e.styles.columnStyles[u.dataKey]||e.styles.columnStyles[u.index]||{},p=f.cellWidth||f.minCellWidth;p&&typeof p=="number"&&(u.minWidth=p,u.wrappedWidth=p)}h&&(h.colSpan>1&&!u.minWidth&&(u.minWidth=h.minWidth),h.colSpan>1&&!u.wrappedWidth&&(u.wrappedWidth=h.minWidth))}})}function V5(t,e,r){for(var n=e,i=t.reduce(function(g,b){return g+b.wrappedWidth},0),a=0;a<t.length;a++){var s=t[a],l=s.wrappedWidth/i,u=n*l,h=s.width+u,f=r(s),p=h<f?f:h;e-=p-s.width,s.width=p}if(e=Math.round(e*1e10)/1e10,e){var y=t.filter(function(g){return e<0?g.width>r(g):!0});y.length&&(e=V5(y,e,r))}return e}function IK(t){for(var e={},r=1,n=t.allRows(),i=0;i<n.length;i++)for(var a=n[i],s=0,l=t.columns;s<l.length;s++){var u=l[s],h=e[u.index];if(r>1)r--,delete a.cells[u.index];else if(h)h.cell.height+=a.height,r=h.cell.colSpan,delete a.cells[u.index],h.left--,h.left<=1&&delete e[u.index];else{var f=a.cells[u.index];if(!f)continue;if(f.height=a.height,f.rowSpan>1){var p=n.length-i,y=f.rowSpan>p?p:f.rowSpan;e[u.index]={cell:f,left:y,row:a}}}}}function zK(t){for(var e=t.allRows(),r=0;r<e.length;r++)for(var n=e[r],i=null,a=0,s=0,l=0;l<t.columns.length;l++){var u=t.columns[l];if(s-=1,s>1&&t.columns[l+1])a+=u.width,delete n.cells[u.index];else if(i){var h=i;delete n.cells[u.index],i=null,h.width=u.width+a}else{var h=n.cells[u.index];if(!h)continue;if(s=h.colSpan,a=0,h.colSpan>1){i=h,a+=u.width;continue}h.width=u.width+a}}}function FK(t,e){for(var r={count:0,height:0},n=0,i=t.allRows();n<i.length;n++){for(var a=i[n],s=0,l=t.columns;s<l.length;s++){var u=l[s],h=a.cells[u.index];if(h){e.applyStyles(h.styles,!0);var f=h.width-h.padding("horizontal");if(h.styles.overflow==="linebreak")h.text=e.splitTextToSize(h.text,f+1/e.scaleFactor(),{fontSize:h.styles.fontSize});else if(h.styles.overflow==="ellipsize")h.text=h6(h.text,f,h.styles,e,"...");else if(h.styles.overflow==="hidden")h.text=h6(h.text,f,h.styles,e,"");else if(typeof h.styles.overflow=="function"){var p=h.styles.overflow(h.text,f);typeof p=="string"?h.text=[p]:h.text=p}h.contentHeight=h.getContentHeight(e.scaleFactor(),e.getLineHeightFactor());var y=h.contentHeight/h.rowSpan;h.rowSpan>1&&r.count*r.height<y*h.rowSpan?r={height:y,count:h.rowSpan}:r&&r.count>0&&r.height>y&&(y=r.height),y>a.height&&(a.height=y)}}r.count--}}function h6(t,e,r,n,i){return t.map(function(a){return qK(a,e,r,n,i)})}function qK(t,e,r,n,i){var a=1e4*n.scaleFactor();if(e=Math.ceil(e*a)/a,e>=F2(t,r,n))return t;for(;e<F2(t+i,r,n)&&!(t.length<=1);)t=t.substring(0,t.length-1);return t.trim()+i}function HK(t,e){var r=new dp(t),n=UK(e,r.scaleFactor()),i=new PK(e,n);return jK(r,i),r.applyStyles(r.userStyles),i}function UK(t,e){var r=t.content,n=GK(r.columns);if(r.head.length===0){var i=f6(n,"head");i&&r.head.push(i)}if(r.foot.length===0){var i=f6(n,"foot");i&&r.foot.push(i)}var a=t.settings.theme,s=t.styles;return{columns:n,head:Bx("head",r.head,n,s,a,e),body:Bx("body",r.body,n,s,a,e),foot:Bx("foot",r.foot,n,s,a,e)}}function Bx(t,e,r,n,i,a){var s={},l=e.map(function(u,h){for(var f=0,p={},y=0,g=0,b=0,v=r;b<v.length;b++){var C=v[b];if(s[C.index]==null||s[C.index].left===0)if(g===0){var k=void 0;Array.isArray(u)?k=u[C.index-y-f]:k=u[C.dataKey];var T={};typeof k=="object"&&!Array.isArray(k)&&(T=k?.styles||{});var E=VK(t,C,h,i,n,a,T),L=new NE(k,E,t);p[C.dataKey]=L,p[C.index]=L,g=L.colSpan-1,s[C.index]={left:L.rowSpan-1,times:g}}else g--,y++;else s[C.index].left--,g=s[C.index].times,f++}return new RE(u,h,t,p)});return l}function f6(t,e){var r={};return t.forEach(function(n){if(n.raw!=null){var i=WK(e,n.raw);i!=null&&(r[n.dataKey]=i)}}),Object.keys(r).length>0?r:null}function WK(t,e){if(t==="head"){if(typeof e=="object")return e.header||null;if(typeof e=="string"||typeof e=="number")return e}else if(t==="foot"&&typeof e=="object")return e.footer;return null}function GK(t){return t.map(function(e,r){var n,i;return typeof e=="object"?i=(n=e.dataKey)!==null&&n!==void 0?n:r:i=r,new $K(i,e,r)}
276)}function VK(t,e,r,n,i,a,s){var l=xK(n),u;t==="head"?u=i.headStyles:t==="body"?u=i.bodyStyles:t==="foot"&&(u=i.footStyles);var h=Su({},l.table,l[t],i.styles,u),f=i.columnStyles[e.dataKey]||i.columnStyles[e.index]||{},p=t==="body"?f:{},y=t==="body"&&r%2===0?Su({},l.alternateRow,i.alternateRowStyles):{},g=vK(a),b=Su({},g,h,y,p);return Su(b,s)}function YK(t,e,r){var n;r===void 0&&(r={});var i=LE(t,e),a=new Map,s=[],l=[],u=[];Array.isArray(e.settings.horizontalPageBreakRepeat)?u=e.settings.horizontalPageBreakRepeat:(typeof e.settings.horizontalPageBreakRepeat=="string"||typeof e.settings.horizontalPageBreakRepeat=="number")&&(u=[e.settings.horizontalPageBreakRepeat]),u.forEach(function(y){var g=e.columns.find(function(b){return b.dataKey===y||b.index===y});g&&!a.has(g.index)&&(a.set(g.index,!0),s.push(g.index),l.push(e.columns[g.index]),i-=g.wrappedWidth)});for(var h=!0,f=(n=r?.start)!==null&&n!==void 0?n:0;f<e.columns.length;){if(a.has(f)){f++;continue}var p=e.columns[f].wrappedWidth;if(h||i>=p)h=!1,s.push(f),l.push(e.columns[f]),i-=p;else break;f++}return{colIndexes:s,columns:l,lastIndex:f-1}}function XK(t,e){for(var r=[],n=0;n<e.columns.length;n++){var i=YK(t,e,{start:n});i.columns.length&&(r.push(i),n=i.lastIndex)}return r}function KK(t,e){var r=e.settings,n=r.startY,i=r.margin,a={x:i.left,y:n},s=e.getHeadHeight(e.columns)+e.getFootHeight(e.columns),l=n+i.bottom+s;if(r.pageBreak==="avoid"){var u=e.body,h=u.reduce(function(y,g){return y+g.height},0);l+=h}var f=new dp(t);(r.pageBreak==="always"||r.startY!=null&&l>f.pageSize().height)&&(OE(f),a.y=i.top),e.callWillDrawPageHooks(f,a);var p=Su({},a);e.startPageNumber=f.pageNumber(),r.horizontalPageBreak?ZK(f,e,p,a):(f.applyStyles(f.userStyles),(r.showHead==="firstPage"||r.showHead==="everyPage")&&e.head.forEac
276h(function(y){return Tu(f,e,y,a,e.columns)}),f.applyStyles(f.userStyles),e.body.forEach(function(y,g){var b=g===e.body.length-1;q2(f,e,y,b,p,a,e.columns)}),f.applyStyles(f.userStyles),(r.showFoot==="lastPage"||r.showFoot==="everyPage")&&e.foot.forEach(function(y){return Tu(f,e,y,a,e.columns)})),AE(f,e,p,a),e.callEndPageHooks(f,a),e.finalY=a.y,t.lastAutoTable=e,f.applyStyles(f.userStyles)}function ZK(t,e,r,n){var i=XK(t,e),a=e.settings;if(a.horizontalPageBreakBehaviour==="afterAllRows")i.forEach(function(h,f){t.applyStyles(t.userStyles),f>0?x0(t,e,r,n,h.columns,!0):d6(t,e,n,h.columns),QK(t,e,r,n,h.columns),Ox(t,e,n,h.columns)});else for(var s=-1,l=i[0],u=function(){var h=s;if(l){t.applyStyles(t.userStyles);var f=l.columns;s>=0?x0(t,e,r,n,f,!0):d6(t,e,n,f),h=p6(t,e,s+1,n,f),Ox(t,e,n,f)}var p=h-s;i.slice(1).forEach(function(y){t.applyStyles(t.userStyles),x0(t,e,r,n,y.columns,!0),p6(t,e,s+1,n,y.columns,p),Ox(t,e,n,y.columns)}),s=h};s<e.body.length-1;)u()}function d6(t,e,r,n){var i=e.settings;t.applyStyles(t.userStyles),(i.showHead==="firstPage"||i.showHead==="everyPage")&&e.head.forEac
276h(function(a){return Tu(t,e,a,r,n)})}function QK(t,e,r,n,i){t.applyStyles(t.userStyles),e.body.forEach(function(a,s){var l=s===e.body.length-1;q2(t,e,a,l,r,n,i)})}function p6(t,e,r,n,i,a){t.applyStyles(t.userStyles),a=a??e.body.length;var s=Math.min(r+a,e.body.length),l=-1;return e.body.slice(r,s).forEach(function(u,h){var f=r+h===e.body.length-1,p=BE(t,e,f,n);u.canEntireRowFit(p,i)&&(Tu(t,e,u,n,i),l=r+h)}),l}function Ox(t,e,r,n){var i=e.settings;t.applyStyles(t.userStyles),(i.showFoot==="lastPage"||i.showFoot==="everyPage")&&e.foot.forEach(function(a){return Tu(t,e,a,r,n)})}function JK(t,e,r){var n=r.getLineHeight(t.styles.fontSize),i=t.padding("vertical"),a=Math.floor((e-i)/n);return Math.max(0,a)}function tZ(t,e,r,n){var i={};t.spansMultiplePages=!0,t.height=0;for(var a=0,s=0,l=r.columns;s<l.length;s++){var u=l[s],h=t.cells[u.index];if(h){Array.isArray(h.text)||(h.text=[h.text]);var f=new NE(h.raw,h.styles,h.section);f=Su(f,h),f.text=[];var p=JK(h,e,n);h.text.length>p&&(f.text=h.text.splice(p,h.text.length));var y=n.scaleFactor(),g=n.getLineHeightFactor();h.contentHeight=h.getContentHeight(y,g),h.contentHeight>=e&&(h.contentHeight=e,f.styles.minCellHeight-=e),h.contentHeight>t.height&&(t.height=h.contentHeight),f.contentHeight=f.getContentHeight(y,g),f.contentHeight>a&&(a=f.contentHeight),i[u.index]=f}}var b=new RE(t.raw,-1,t.section,i,!0);b.height=a;for(var v=0,C=r.columns;v<C.length;v++){var u=C[v],f=b.cells[u.index];f&&(f.height=b.height);var h=t.cells[u.index];h&&(h.height=t.height)}return b}function eZ(t,e,r,n){var i=t.pageSize().height,a=n.settings.margin,s=a.top+a.bottom,l=i-s;e.section==="body"&&(l-=n.getHeadHeight(n.columns)+n.getFootHeight(n.columns));var u=e.getMinimumRowHeight(n.columns,t),h=u<r;if(u>l)return console.log("Will not be able to print row ".concat(e.index," correctly since it's minimum height is larger than page height")),!0;if(!h)return!1;var f=e.hasRowSpan(n.columns),p=e.getMaxCellHeight(n.columns)>l;return p?(f&&console.log("The content of row ".concat(e.index," will not be drawn correctly since drawing rows with a height larger than the page height and has cells with rowspans is not supported.")),!0):!(f||n.settings.rowPageBreak==="avoid")}function q2(t,e,r,n,i,a,s){var l=BE(t,e,n,a);if(r.canEntireRowFit(l,s))Tu(t,e,r,a,s);else if(eZ(t,r,l,e)){var u=tZ(r,l,e,t);Tu(t,e,r,a,s),x0(t,e,i,a,s),q2(t,e,u,n,i,a,s)}else x0(t,e,i,a,s),q2(t,e,r,n,i,a,s)}function Tu(t,e,r,n,i){n.x=e.settings.margin.left;for(var a=0,s=i;a<s.length;a++){var l=s[a],u=r.cells[l.index];if(!u){n.x+=l.width;continue}t.applyStyles(u.styles),u.x=n.x,u.y=n.y;var h=e.callCellHooks(t,e.hooks.willDrawCell,u,r,l,n);if(h===!1){n.x+=l.width;continue}rZ(t,u,n);var f=u.getTextPos();CE(u.text,f.x,f.y,{halign:u.styles.halign,valign:u.styles.valign,maxWidth:Math.ceil(u.width-u.padding("left")-u.padding("right"))},t.getDocument()),e.callCellHooks(t,e.hooks.didDrawCell,u,r,l,n),n.x+=l.width}n.y+=r.height}function rZ(t,e,r){var n=e.styles;if(t.getDocument().setFillColor(t.getDocument().getFillColor()),typeof n.lineWidth=="number"){var i=TE(n.lineWidth,n.fillColor);i&&t.rect(e.x,r.y,e.width,e.height,i)}else typeof n.lineWidth=="object"&&(n.fillColor&&t.rect(e.x,r.y,e.width,e.height,"F"),nZ(t,e,r,n.lineWidth))}function nZ(t,e,r,n){var i,a,s,l;n.top&&(i=r.x,a=r.y,s=r.x+e.width,l=r.y,n.right&&(s+=.5*n.right),n.left&&(i-=.5*n.left),u(n.top,i,a,s,l)),n.bottom&&(i=r.x,a=r.y+e.height,s=r.x+e.width,l=r.y+e.height,n.right&&(s+=.5*n.right),n.left&&(i-=.5*n.left),u(n.bottom,i,a,s,l)),n.left&&(i=r.x,a=r.y,s=r.x,l=r.y+e.height,n.top&&(a-=.5*n.top),n.bottom&&(l+=.5*n.bottom),u(n.left,i,a,s,l)),n.right&&(i=r.x+e.width,a=r.y,s=r.x+e.width,l=r.y+e.height,n.top&&(a-=.5*n.top),n.bottom&&(l+=.5*n.bottom),u(n.right,i,a,s,l));function u(h,f,p,y,g){t.getDocument().setLineWidth(h),t.getDocument().line(f,p,y,g,"S")}}function BE(t,e,r,n){var i=e.settings.margin.bottom,a=e.settings.showFoot;return(a==="everyPage"||a==="lastPage"&&r)&&(i+=e.getFootHeight(e.columns)),t.pageSize().height-n.y-i}function x0(t,e,r,n,i,a){i===void 0&&(i=[]),a===void 0&&(a=!1),t.applyStyles(t.userStyles),e.settings.showFoot==="everyPage"&&!a&&e.foot.forEach(function(l){return Tu(t,e,l,n,i)}),e.callEndPageHooks(t,n);var s=e.settings.margin;AE(t,e,r,n),OE(t),e.pageNumber++,n.x=s.left,n.y=s.top,r.y=s.top,e.callWillDrawPageHooks(t,n),e.settings.showHead==="everyPage"&&(e.head.forEac
276h(function(l){return Tu(t,e,l,n,i)}),t.applyStyles(t.userStyles))}function OE(t){var e=t.pageNumber();t.setPage(e+1);var r=t.pageNumber();return r===e?(t.addPage(),!0):!1}function PE(t){t.API.autoTable=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=e[0],i=TK(this,n),a=HK(this,i);return KK(this,a),this},t.API.lastAutoTable=!1,t.API.autoTableText=function(e,r,n,i){CE(e,r,n,i,this)},t.API.autoTableSetDefaults=function(e){return dp.setDefaults(e,this),this},t.autoTableSetDefaults=function(e,r){dp.setDefaults(e,r)},t.API.autoTableHtmlToJson=function(e,r){var n;if(r===void 0&&(r=!1),typeof window>"u")return console.error("Cannot run autoTableHtmlToJson in non browser environment"),null;var i=new dp(this),a=ME(i,e,window,r,!1),s=a.head,l=a.body,u=((n=s[0])===null||n===void 0?void 0:n.map(function(h){return h.content}))||[];return{columns:u,rows:l,data:l}}}var Px;try{if(typeof window<"u"&&window){var g6=window,m6=g6.jsPDF||((Px=g6.jspdf)===null||Px===void 0?void 0:Px.jsPDF);m6&&PE(m6)}}catch(t){console.error("Could not apply autoTable plugin",t)}PE(cr);function iZ(t,e,r){const n=new Blob([e],{type:r}),i=URL.createObjectURL(n),a=document.createElement("a");a.href=i,a.download=t,document.body.appendChild(a),a.click(),a.remove(),URL.revokeObjectURL(i)}const aZ={P0:"Critical",P1:"High",P2:"Medium",P3:"Low"};function oZ(t){const e=t&&Array.isArray(t.testCases)?t.testCases:[],r=t&&t.suiteTitle||"Test Suite",n=new cr({orientation:"landscape",unit:"pt",format:"a4"}),i=n.internal.pageSize.getWidth();n.setFontSize(18),n.setFont("helvetica","bold"),n.text(r,i/2,38,{align:"center"}),n.setFontSize(9),n.setFont("helvetica","normal"),n.setTextColor(100);const a={};for(const f of e){const p=String(f.priority||"P2");a[p]=(a[p]||0)+1}const s=[`${e.length} test case${e.length===1?"":"s"}`];for(const f of["P0","P1","P2","P3"])a[f]&&s.push(`${a[f]} ${aZ[f]||f}`);n.text(s.join("  |  "),i/2,54,{align:"center"}),n.setTextColor(0);const l={P0:[220,38,38],P1:[234,88,12],P2:[37,99,235],P3:[107,114,128]},u=e.map(f=>{const p=Array.isArray(f.steps)?f.steps.map((v,C)=>`${C+1}. ${v}`).join(`
277`):"",y=Array.isArray(f.expected)?f.expected.map((v,C)=>`${C+1}. ${v}`).join(`
278`):"",g=Array.isArray(f.preconditions)?f.preconditions.join(`
279`):"",b=Array.isArray(f.coverageTags)?f.coverageTags.join(", "):"";return[f.id,f.title,String(f.priority||"P2"),f.type||"",g,p,y,b]});n.autoTable({startY:66,head:[["ID","Title","Priority","Type","Preconditions","Steps","Expected Result","Tags"]],body:u,styles:{fontSize:7,cellPadding:4,overflow:"linebreak",lineWidth:.5,lineColor:[200,200,200]},headStyles:{fillColor:[88,28,135],textColor:255,fontStyle:"bold",fontSize:7.5},alternateRowStyles:{fillColor:[245,243,255]},columnStyles:{0:{cellWidth:42,fontStyle:"bold"},1:{cellWidth:120},2:{cellWidth:42,halign:"center"},3:{cellWidth:52,halign:"center"},4:{cellWidth:80},5:{cellWidth:160},6:{cellWidth:140},7:{cellWidth:80,fontStyle:"italic",fontSize:6.5}},didParseCell(f){if(f.section==="body"&&f.column.index===2){const p=String(f.cell.raw||""),y=l[p];y&&(f.cell.styles.textColor=y,f.cell.styles.fontStyle="bold")}},didDrawPage(f){const p=n.internal.getCurrentPageInfo().pageNumber;n.setFontSize(7),n.setTextColor(160),n.text(`${r}  —  Page ${p}`,i/2,n.internal.pageSize.getHeight()-14,{align:"center"}),n.setTextColor(0)},margin:{top:38,bottom:30,left:28,right:28}});const h=r.replace(/[^a-zA-Z0-9 _-]/g,"").trim().slice(0,40).replace(/\s+/g,"_")||"test-suite";n.save(`${h}.pdf`)}function sZ(t){const e=t&&Array.isArray(t.requirementItems)?t.requirementItems:[],r=t&&Array.isArray(t.traceRows)?t.traceRows:[],n=t&&t.documentTitle||"Requirements Traceability Matrix",i=t&&t.projectName||"Unspecified Project",a=new Map(e.map(f=>[f.requirementId,f])),s=new cr({orientation:"landscape",unit:"pt",format:"a4"}),l=s.internal.pageSize.getWidth();s.setFontSize(18),s.setFont("helvetica","bold"),s.text(n,l/2,34,{align:"center"}),s.setFontSize(9),s.setFont("helvetica","normal"),s.setTextColor(100),s.text(`${i}  |  ${e.length} requirements  |  ${r.length} trace rows`,l/2,50,{align:"center"}),s.setTextColor(0);const u=r.map(f=>{const p=a.get(f.requirementId);return[f.traceId,f.requirementId,p?p.requirementText:"",f.coverageStatus,Array.isArray(f.testCaseRefs)?f.testCaseRefs.join(`
280`):"",Array.isArray(f.proposedTestConditions)?f.proposedTestConditions.map((y,g)=>`${g+1}. ${y}`).join(`
281`):"",f.testLevel||"",f.owner||"",Array.isArray(f.notes)?f.notes.join(`
282`):""]});s.autoTable({startY:62,head:[["Trace ID","Req ID","Requirement","Coverage","Test Ref(s)","Proposed Conditions","Level","Owner","Notes"]],body:u,styles:{fontSize:7,cellPadding:4,overflow:"linebreak",lineWidth:.5,lineColor:[200,200,200]},headStyles:{fillColor:[88,28,135],textColor:255,fontStyle:"bold",fontSize:7.5},alternateRowStyles:{fillColor:[245,243,255]},columnStyles:{0:{cellWidth:48,fontStyle:"bold"},1:{cellWidth:48,fontStyle:"bold"},2:{cellWidth:160},3:{cellWidth:58,halign:"center"},4:{cellWidth:70},5:{cellWidth:150},6:{cellWidth:52,halign:"center"},7:{cellWidth:45,halign:"center"},8:{cellWidth:80}},didDrawPage(){const f=s.internal.getCurrentPageInfo().pageNumber;s.setFontSize(7),s.setTextColor(160),s.text(`${n}  |  Page ${f}
282`,l/2,s.internal.pageSize.getHeight()-14,{align:"center"}),s.setTextColor(0)},margin:{top:38,bottom:30,left:22,right:22}});const h=n.replace(/[^a-zA-Z0-9 _-]/g,"").trim().slice(0,50).replace(/\s+/g,"_")||"rtm";s.save(`${h}.pdf`)}function lZ(t){const e=t&&Array.isArray(t.requirementItems)?t.requirementItems:[],r=t&&Array.isArray(t.gapRows)?t.gapRows:[],n=t&&t.documentTitle||"Coverage Gap Analysis",i=t&&t.projectName||"Unspecified Project",a=new Map(e.map(M=>[M.requirementId,M])),s=new cr({orientation:"portrait",unit:"pt",format:"a4"}),l=s.internal.pageSize.getWidth(),u=s.internal.pageSize.getHeight(),h=28,f=l-h*2,p=u-16;let y=34;const g=10,b=10,v=12,C=6,k={"major-gap":{label:"Major Gaps",color:[220,38,38],fill:[254,242,242]},"partial-gap":{label:"Partial Gaps",color:[217,119,6],fill:[255,251,235]},clear:{label:"Clear Items",color:[22,163,74],fill:[240,253,244]},"not-testable":{label:"Not Testable",color:[107,114,128],fill:[243,244,246]}},T=["major-gap","partial-gap","clear","not-testable"].map(M=>({status:M,...k[M],rows:r.filter(N=>String(N.gapStatus||"")===M)})).filter(M=>M.rows.length>0);function E(){const M=s.internal.getCurrentPageInfo().pageNumber;s.setFontSize(7),s.setTextColor(160),s.text(`${n}  |  Page ${M}`,l/2,p,{align:"center"}),s.setTextColor(0)}function L(M){y+M<=u-28||(E(),s.addPage(),y=32)}function O(M,N,I,V,z,Y={}){const D=s.splitTextToSize(String(M||""),V);return Y.bold?s.setFont("helvetica","bold"):s.setFont("helvetica","normal"),s.text(D,N,I),I+Math.max(D.length,1)*z}s.setFontSize(18),s.setFont("helvetica","bold"),s.text(n,l/2,y,{align:"center"}),y+=16,s.setFontSize(9),s.setFont("helvetica","normal"),s.setTextColor(100),s.text(`${i}  |  ${e.length} requirements  |  ${r.length} gap rows`,l/2,y,{align:"center"}),s.setTextColor(0),y+=22;const W=(f-18)/2,q=48;T.forEach((M,N)=>{N%2===0&&L(q+8);const I=N%2,V=Math.floor(N/2),z=h+I*(W+18),Y=y+V*(q+10);s.setDrawColor(...M.color),s.setFillColor(...M.fill),s.roundedRect(z,Y,W,q,8,8,"FD"),s.setFont("helvetica","bold"),s.setFontSize(9),s.setTextColor(...M.color),s.text(M.label,z+12,Y+16),s.setFontSize(16),s.text(String(M.rows.length),z+12,Y+36),s.setTextColor(0)}),y+=Math.ceil(T.length/2)*(q+10)+10;for(const M of T){L(34),s.setFillColor(...M.fill),s.roundedRect(h,y,f,24,6,6,"F"),s.setFont("helvetica","bold"),s.setFontSize(11),s.setTextColor(...M.color),s.text(`${M.label} (${M.rows.length})`,h+12,y+16),s.setTextColor(0),y+=34;for(const N of M.rows){const I=a.get(N.requirementId),V=I?I.requirementText:"(missing requirement text)",z=Array.isArray(N.recommendedActions)?N.recommendedActions.map((X,et)=>`${et+1}. ${X}`).join(`
283`):"",Y=Array.isArray(N.notes)?N.notes.join(`
284`):"",D=s.splitTextToSize(V,f-24),Z=s.splitTextToSize(String(N.observation||""),f-24),Q=s.splitTextToSize(String(N.impact||""),f-24),it=s.splitTextToSize(z,f-24),mt=s.splitTextToSize(Y,f-24),K=54+v+Math.max(D.length,1)*g+C+v+Math.max(Z.length,1)*g+(N.impact?C+v+Math.max(Q.length,1)*g:0)+(z?C+v+Math.max(it.length,1)*g:0)+(Y?C+v+Math.max(mt.length,1)*g:0)+18;L(K+10),s.setDrawColor(220,223,228),s.setFillColor(255,255,255),s.roundedRect(h,y,f,K,8,8,"FD"),s.setFont("helvetica","bold"),s.setFontSize(9),s.text(`${N.gapId||""}  |  ${N.requirementId||""}`,h+12,y+16),s.setFont("helvetica","normal"),s.setTextColor(90),s.text(`${N.gapCategory||"other"}  |  ${N.severity||"medium"}${I&&I.priority?`  |  ${I.priority}`:""}`,h+12,y+30),s.setTextColor(0);let P=y+48;s.setFontSize(8),s.setFont("helvetica","bold"),s.text("Requirement",h+12,P),P=O(V,h+12,P+v,f-24,g),s.setFont("helvetica","bold"),s.text("Observation",h+12,P+C),P=O(String(N.observation||""),h+12,P+C+v,f-24,g),N.impact&&(s.setFont("helvetica","bold"),s.text("Impact",h+12,P+C),P=O(String(N.impact),h+12,P+C+v,f-24,g)),z&&(s.setFont("helvetica","bold"),s.text("Recommended Actions",h+12,P+C),P=O(z,h+12,P+C+v,f-24,g)),Y&&(s.setFont("helvetica","bold"),s.text("Notes",h+12,P+C),P=O(Y,h+12,P+C+v,f-24,g)),y+=K+b}}const U=[{title:"Missing Info Questions",items:Array.isArray(t?.missingInfoQuestions)?t.missingInfoQuestions:[]},{title:"Assumptions",items:Array.isArray(t?.assumptions)?t.assumptions:[]},{title:"Risks",items:Array.isArray(t?.risks)?t.risks:[]}].filter(M=>M.items.length>0);for(const M of U){L(34),s.setFont("helvetica","bold"),s.setFontSize(11),s.text(M.title,h,y),y+=14,s.setFont("helvetica","normal"),s.setFontSize(8);for(const N of M.items){const I=`• ${N}`,V=s.splitTextToSize(I,f-8);L(V.length*12+4),s.text(V,h+4,y),y+=V.length*12+2}y+=8}E();const j=n.replace(/[^a-zA-Z0-9 _-]/g,"").trim().slice(0,50).replace(/\s+/g,"_")||"coverage-gap-analysis";s.save(`${j}.pdf`)}function cZ(t){const e=t&&Array.isArray(t.requirementItems)?t.requirementItems:[],r=t&&Array.isArray(t.criteriaRows)?t.criteriaRows:[],n=t&&t.documentTitle||"Acceptance Criteria Breakdown",i=t&&t.projectName||"Unspecified Project",a=new Map(e.map(f=>[f.requirementId,f])),s=new cr({orientation:"portrait",unit:"pt",format:"a4"}),l=s.internal.pageSize.getWidth();s.setFontSize(18),s.setFont("helvetica","bold"),s.text(n,l/2,34,{align:"center"}),s.setFontSize(9),s.setFont("helvetica","normal"),s.setTextColor(100),s.text(`${i}  |  ${e.length} requirements  |  ${r.length} criteria rows`,l/2,50,{align:"center"}),s.setTextColor(0);const u=r.map(f=>{const p=a.get(f.requirementId);return[f.criteriaId,f.requirementId,p?p.requirementText:"",f.criterion||"",f.criteriaType||"",f.clarityStatus||"",Array.isArray(f.notes)?f.notes.join(`
285`):""]});s.autoTable({startY:62,head:[["AC ID","Req ID","Requirement","Acceptance Criterion","Type","Clarity","Notes"]],body:u,styles:{fontSize:7,cellPadding:4,overflow:"linebreak",lineWidth:.5,lineColor:[200,200,200]},headStyles:{fillColor:[88,28,135],textColor:255,fontStyle:"bold",fontSize:7.5},alternateRowStyles:{fillColor:[245,243,255]},columnStyles:{0:{cellWidth:44,fontStyle:"bold"},1:{cellWidth:44,fontStyle:"bold"},2:{cellWidth:130},3:{cellWidth:160},4:{cellWidth:64},5:{cellWidth:68},6:{cellWidth:70}},didDrawPage(){const f=s.internal.getCurrentPageInfo().pageNumber;s.setFontSize(7),s.setTextColor(160),s.text(`${n}  |  Page ${f}
285`,l/2,s.internal.pageSize.getHeight()-14,{align:"center"}),s.setTextColor(0)},margin:{top:38,bottom:30,left:22,right:22}});const h=n.replace(/[^a-zA-Z0-9 _-]/g,"").trim().slice(0,50).replace(/\s+/g,"_")||"acceptance-criteria-breakdown";s.save(`${h}.pdf`)}function uZ(t){const e=t&&t.documentTitle||"Test Plan Draft",r=t&&t.sprintName||"Current Sprint",n=t&&t.author||"Unspecified Author",i=new cr({orientation:"landscape",unit:"pt",format:"a4"}),a=i.internal.pageSize.getWidth();i.setFontSize(16),i.setFont("helvetica","bold"),i.text(`${e} - ${r}`,24,28),i.text(`Author - ${n}`,a-24,28,{align:"right"});const s=[[{title:"Introduction",body:[String(t?.introduction||"")],fill:[222,235,247]},{title:"In Scope",body:Array.isArray(t?.inScope)?t.inScope:[],fill:[252,228,214]},{title:"Out of Scope",body:Array.isArray(t?.outOfScope)?t.outOfScope:[],fill:[226,239,218]}],[{title:"Risks",body:Array.isArray(t?.risks)?t.risks:[],fill:[234,209,220]},{title:"Resources",body:[`Testers - ${Array.isArray(t?.resources?.testers)?t.resources.testers.join(", "):""}`,`Developers - ${Array.isArray(t?.resources?.developers)?t.resources.developers.join(", "):""}`],fill:[235,241,221]},{title:"Environment and Tools",body:[`Test Environment - ${String(t?.environmentAndTools?.testEnvironment||"")}`,`Tools - ${Array.isArray(t?.environmentAndTools?.tools)?t.environmentAndTools.tools.join(", "):""}`],fill:[217,217,243]}],[{title:"Assumptions",body:Array.isArray(t?.assumptions)?t.assumptions:[],fill:[234,209,220]},{title:"Timescales",body:Array.isArray(t?.timescales)?t.timescales:[],fill:[235,241,221]},{title:"Missing Info Questions",body:Array.isArray(t?.missingInfoQuestions)?t.missingInfoQuestions:[],fill:[217,217,243]}]],l=(a-48)/3;let u=40;for(const p of s){let y=u;for(let g=0;g<p.length;g++){const b=p[g],v=24+g*l,C=(Array.isArray(b.body)&&b.body.length?b.body:[""]).map(E=>`• ${E}`.replace(/^• $/,"")).join(`
286`),k=i.splitTextToSize(C,l-16),T=Math.max(84,28+k.length*11+12);i.setFillColor(...b.fill),i.setDrawColor(120,120,120),i.rect(v,u,l,T,"FD"),i.setFont("helvetica","bold"),i.setFontSize(10),i.text(b.title,v+l/2,u+16,{align:"center"}),i.setFont("helvetica","normal"),i.setFontSize(8),i.text(k,v+8,u+34),y=Math.max(y,u+T)}u=y}const h=(Array.isArray(t?.featureRows)?t.featureRows:[]).map(p=>[p.feature||"",p.jiraTicket||"",p.testObjective||"",p.priority||"",p.testStatus||"",p.testCases||"",p.defectIds||""]);i.autoTable({startY:u+10,head:[["Features to be Tested","Jira Ticket","Test Objective","Priority","Test Status","Test Cases","Defect IDs"]],body:h,styles:{fontSize:7,cellPadding:4,overflow:"linebreak",lineWidth:.5,lineColor:[200,200,200]},headStyles:{fillColor:[242,242,242],textColor:20,fontStyle:"bold",fontSize:7.5},columnStyles:{0:{cellWidth:150},1:{cellWidth:100},2:{cellWidth:100},3:{cellWidth:50},4:{cellWidth:60},5:{cellWidth:60},6:{cellWidth:55}},margin:{left:24,right:24,bottom:24},didDrawPage(){const p=i.internal.getCurrentPageInfo().pageNumber;i.setFontSize(7),i.setTextColor(160),i.text(`${e}  |  ${r}  |  Page ${p}`,a/2,i.internal.pageSize.getHeight()-12,{align:"center"}),i.setTextColor(0)}});const f=e.replace(/[^a-zA-Z0-9 _-]/g,"").trim().slice(0,50).replace(/\s+/g,"_")||"test-plan-draft";i.save(`${f}.pdf`)}function hZ(t,e){return t==="coverage-gap-analysis"?lZ(e):t==="acceptance-criteria-breakdown"?cZ(e):t==="test-plan-draft"?uZ(e):sZ(e)}function fZ(t){const e=[];e.push(["Test Id","Summary","Priority","TestSteps","ExpectedResults","Story","Test Type","Component","Release","Status","Creator"]);const r={P0:"Highest",P1:"High",P2:"Med",P3:"Low"},n=t&&Array.isArray(t.testCases)?t.testCases:[];for(const a of n){const s=Array.isArray(a.steps)?a.steps.map(String).join(`
287`):"",l=Array.isArray(a.expected)?a.expected.map(String).join(`
288`):"",u=Array.isArray(a.requirementRefs)?a.requirementRefs.map(String).join("; "):"",h=r[String(a.priority)]||String(a.priority||"");e.push([a.id,a.title,h,s,l,u,"Manual","","","",""])}const i=a=>{const s=String(a??"");return/[",\n]/.test(s)?`"${s.replace(/"/g,'""')}"`:s};return e.map(a=>a.map(i).join(",")).join(`
289`)}function $1(t){return(Array.isArray(t)?t:[]).map((r,n)=>`${n+1}. ${String(r)}`).join(`
290`)}function df(t){const e=Array.isArray(t)?t:[];return e.length?e:["(none)"]}function yc({items:t,renderItem:e,sx:r}){const n=Array.isArray(t)?t:[];
290return w.jsx(Ee,{component:"ul",sx:{m:0,pl:2.5,pr:.5,width:"100%",color:"text.primary","& li":{marginBlock:"6px"},...r},children:n.map((i,a)=>w.jsx(Ee,{component:"li",children:e?e(i):w.jsx(Ie,{variant:"body2",children:String(i)})},(i&&i.id?String(i.id):String(i))+":"+a))})}function dZ({items:t,sx:e}){const r=Array.isArray(t)?t:[];return w.jsx(Ee,{component:"ol",sx:{m:0,pl:2.75,color:"text.primary","& li":{marginBlock:"6px"},...e},children:(r.length?r:["(none)"]).map((n,i)=>w.jsx(Ee,{component:"li",children:w.jsx(Ie,{variant:"body2",children:String(n)})},String(n)+":"+i))})}const $x={P0:{color:"#ef4444",bg:"rgba(239, 68, 68, 0.12)",border:"rgba(239, 68, 68, 0.25)",label:"Critical"},P1:{color:"#f59e0b",bg:"rgba(245, 158, 11, 0.12)",border:"rgba(245, 158, 11, 0.25)",label:"High"},P2:{color:"#3b82f6",bg:"rgba(59, 130, 246, 0.12)",border:"rgba(59, 130, 246, 0.25)",label:"Medium"},P3:{color:"#6b7280",bg:"rgba(107, 114, 128, 0.12)",border:"rgba(107, 114, 128, 0.25)",label:"Low"}};function pZ({theme:t,isSmDown:e,artifactMode:r,documentType:n,suite:i,suiteMeta:a,selectedSkills:s,documentResult:l,documentMeta:u,duplicateGroups:h,skillDiagrams:f,search:p,setSearch:y,filterType:g,setFilterType:b,filterPriority:v,setFilterPriority:C,filteredCases:k,paginatedCases:T,page:E,setPage:L,totalPages:O,rowsPerPage:W,setRowsPerPage:q,selectedCaseIds:U,setSelectedCaseIds:j,aioProject:M,setAioProject:N,aioFolder:I,setAioFolder:V,aioBaseUrl:z,setAioBaseUrl:Y,aioToken:D,setAioToken:Z,aioIncludeTags:Q,setAioIncludeTags:it,aioServerConfigured:mt,aioBusy:K,aioResult:P,aioStatus:X,pushToAio:et,setDiagramDialogOpen:rt,setActiveDiagram:lt,setDiagramZoom:ht,goToStep:bt,cancelInFlight:yt,setInfo:kt,setError:Rt}){const wt=t.palette.mode==="dark",qt=wt?Kr[500]:Kr[600],Ht=wt?"rgba(167, 139, 250, 0.08)":"rgba(124, 58, 237, 0.06)",at=wt?"rgba(167, 139, 250, 0.03)":"rgba(124, 58, 237, 0.03)",ae=wt?"rgba(167, 139, 250, 0.20)":"rgba(124, 58, 237, 0.18)",Kt=wt?"rgba(167, 139, 250, 0.25)":"rgba(124, 58, 237, 0.22)",le=wt?"rgba(255,255,255,0.04)":"rgba(0,0,0,0.03)",Ot=wt?"rgba(255,255,255,0.72)":"rgba(0,0,0,0.65)",be=wt?"rgba(167, 139, 250, 0.25)":"rgba(124, 58, 237, 0.20)",Nt=wt?"rgba(167, 139, 250, 0.04)":"rgba(124, 58, 237, 0.04)",Dt=wt?"rgba(74, 222, 128, 0.25)":"rgba(22, 163, 74, 0.20)",Vt=wt?"rgba(74, 222, 128, 0.04)":"rgba(22, 163, 74, 0.04)",de=wt?"rgba(239, 68, 68, 0.30)":"rgba(220, 38, 38, 0.25)",Be=wt?"rgba(239, 68, 68, 0.04)":"rgba(220, 38, 38, 0.04)",[_e,Ne]=H.useState(!1),[Oe,we]=H.useState(!1),[Ae,ce]=H.useState(!1),Er={"major-gap":{label:"Major Gaps",color:"#ef4444",bg:"rgba(239, 68, 68, 0.10)",border:"rgba(239, 68, 68, 0.20)"},"partial-gap":{label:"Partial Gaps",color:"#f59e0b",bg:"rgba(245, 158, 11, 0.10)",border:"rgba(245, 158, 11, 0.20)"},clear:{label:"Clear Items",color:"#22c55e",bg:"rgba(34, 197, 94, 0.10)",border:"rgba(34, 197, 94, 0.20)"},"not-testable":{label:"Not Testable",color:"#6b7280",bg:"rgba(107, 114, 128, 0.10)",border:"rgba(107, 114, 128, 0.20)"}},He=H.useMemo(()=>{const Et=Array.isArray(s)?s.slice():[];return Et.sort((fe,te)=>{const Ze=fe&&Number.isFinite(fe.score)?fe.score:0;return(te&&Number.isFinite(te.score)?te.score:0)-Ze}),Et},[s]),Jt=i&&Array.isArray(i.testCases)?i.testCases.length:0,Se=H.useMemo(()=>{const Et={P0:0,P1:0,P2:0,P3:0};if(i&&Array.isArray(i.testCases))for(const fe of i.testCases){const te=String(fe.priority||"P2");Et[te]!==void 0?Et[te]++:Et.P2++}return Et},[i]),Pe=H.useMemo(()=>{const Et={};if(i&&Array.isArray(i.testCases))for(const fe of i.testCases){const te=String(fe.type||"functional");Et[te]=(Et[te]||0)+1}return Et},[i]),je=H.useMemo(()=>{let Et=0;return Array.isArray(i&&i.missingInfoQuestions)&&i.missingInfoQuestions.length&&Et++,Array.isArray(i&&i.assumptions)&&i.assumptions.length&&Et++,Array.isArray(i&&i.risks)&&i.risks.length&&Et++,He.length&&Et++,f.length&&Et++,Et},[i,He,f]);if(!i&&!l)return w.jsx(Nf,{sx:{overflow:"visible"},children:w.jsx(Bf,{children:w.jsxs(qe,{spacing:2,alignItems:"center",sx:{py:5},children:[w.jsx(Ee,{sx:{width:56,height:56,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",background:Ht},children:w.jsx(AV,{sx:{color:"text.disabled",fontSize:28}})}),w.jsx(Ie,{variant:"h6",sx:{color:"text.secondary",fontWeight:600},children:"No results yet"}),w.jsx(Ie,{variant:"body2",sx:{color:"text.disabled",textAlign:"center",maxWidth:320},children:"Go back to the Analyze step to generate results from your requirements."}),w.jsx(Vn,{variant:"outlined",startIcon:w.jsx(EL,{}),onClick:()=>bt(1),sx:{mt:1,borderColor:"divider",color:"text.primary",textTransform:"none","&:hover":{borderColor:wt?"rgba(167, 139, 250, 0.40)":"rgba(124, 58, 237, 0.30)",backgroundColor:Ht}},children:"Go to Analyze"})]})})});if(r==="document"&&l){const Et=Array.isArray(l.requirementItems)?l.requirementItems:[],fe=n==="rtm"?Array.isArray(l.traceRows)?l.traceRows:[]:n==="coverage-gap-analysis"?Array.isArray(l.gapRows)?l.gapRows:[]:n==="acceptance-criteria-breakdown"?Array.isArray(l.criteriaRows)?l.criteriaRows:[]:Array.isArray(l.featureRows)?l.featureRows:[],te=new Map(Et.map(Xt=>[Xt.requirementId,Xt])),Ze=fe.reduce((Xt,me)=>{const Br=String(n==="rtm"?me.coverageStatus||"missing":n==="coverage-gap-analysis"?me.gapStatus||"major-gap":n==="acceptance-criteria-breakdown"?me.clarityStatus||"clear":me.testStatus||"Not Started");return Xt[Br]=(Xt[Br]||0)+1,Xt},{}),Ge=n==="rtm"?"RTM Results":n==="coverage-gap-analysis"?"Coverage Gap Results":n==="acceptance-criteria-breakdown"?"Acceptance Criteria Results":"Test Plan Draft",Me=n==="rtm"?"trace rows":n==="coverage-gap-analysis"?"gap rows":n==="acceptance-criteria-breakdown"?"criteria rows":"feature rows",lr=n==="rtm"?"Traceability Matrix":n==="coverage-gap-analysis"?"Coverage Gaps":n==="acceptance-criteria-breakdown"?"Acceptance Criteria":"Sprint Test Plan",Sn=n==="coverage-gap-analysis"?["major-gap","partial-gap","clear","not-testable"].map(Xt=>({status:Xt,config:Er[Xt],items:fe.filter(me=>String(me.gapStatus||"")===Xt)})).filter(Xt=>Xt.items.length>0):[];return w.jsx(Nf,{sx:{overflow:"visible",borderColor:ae},children:w.jsxs(Bf,{sx:{p:"0 !important"},children:[w.jsx(Ee,{sx:{px:3,pt:3,pb:2},children:w.jsxs(qe,{spacing:2,children:[w.jsxs(qe,{direction:{xs:"column",sm:"row"},spacing:1.5,alignItems:{xs:"flex-start",sm:"center"},children:[w.jsxs(qe,{direction:"row",spacing:1,alignItems:"center",children:[w.jsx(_s,{sx:{color:"#4ade80",fontSize:20}}),w.jsx(Ie,{variant:"subtitle1",sx:{fontWeight:700,fontSize:"1rem"},children:Ge}),w.jsx(xr,{size:"small",label:`${Et.length} requirements`,sx:{height:24,fontWeight:700,fontSize:"0.78rem",fontFamily:t.typography.fontFamilyMonospace,backgroundColor:wt?"rgba(74, 222, 128, 0.08)":"rgba(22, 163, 74, 0.08)",color:wt?"#4ade80":"#16a34a"}}
290),w.jsx(xr,{size:"small",label:`${fe.length} ${Me}`,sx:{height:24,fontWeight:700,fontSize:"0.78rem",fontFamily:t.typography.fontFamilyMonospace,backgroundColor:Ht,color:qt}})]}),w.jsx(Ee,{sx:{flex:1}}),w.jsx(Vn,{size:"small",variant:"outlined",startIcon:w.jsx(ux,{sx:{fontSize:16}}),onClick:()=>hZ(n,l),sx:{borderColor:"divider",color:"text.secondary",textTransform:"none",fontSize:"0.80rem","&:hover":{borderColor:wt?"rgba(167, 139, 250, 0.40)":"rgba(124, 58, 237, 0.30)",backgroundColor:Ht}},children:"PDF"})]}),w.jsx(Ie,{variant:"h6",sx:{fontWeight:700},children:l.documentTitle||(n==="rtm"?"Requirements Traceability Matrix":n==="coverage-gap-analysis"?"Coverage Gap Analysis":n==="acceptance-criteria-breakdown"?"Acceptance Criteria Breakdown":"Test Plan Draft")}),w.jsxs(Ie,{variant:"body2",sx:{color:"text.secondary"},children:[l.projectName||"Unspecified Project",l.sourceSummary?` · ${l.sourceSummary}`:""]}),u&&w.jsxs(qe,{direction:"row",spacing:.5,flexWrap:"wrap",useFlexGap:!0,children:[w.jsx(xr,{size:"small",variant:"outlined",label:u.provider,sx:{height:20,fontSize:"0.64rem",fontFamily:t.typography.fontFamilyMonospace,borderColor:"divider",color:"text.disabled"}}),w.jsx(xr,{size:"small",variant:"outlined",label:u.model,sx:{height:20,fontSize:"0.64rem",fontFamily:t.typography.fontFamilyMonospace,borderColor:"divider",color:"text.disabled"}}),u.repaired&&w.jsx(xr,{size:"small",variant:"outlined",label:"schema repaired",sx:{height:20,fontSize:"0.64rem",fontFamily:t.typography.fontFamilyMonospace,borderColor:"rgba(217, 119, 6, 0.15)",color:"rgba(217, 119, 6, 0.50)"}})]}),w.jsx(qe,{direction:"row",spacing:.75,flexWrap:"wrap",useFlexGap:!0,children:Object.entries(Ze).map(([Xt,me])=>w.jsx(xr,{size:"small",label:`${Xt}: ${me}`,sx:{height:22,fontSize:"0.70rem",fontFamily:t.typography.fontFamilyMonospace,backgroundColor:Ht,color:qt}},Xt))})]})}),w.jsx(Mc,{sx:{borderColor:"divider"}}),w.jsxs(Ee,{sx:{px:3,py:2},children:[w.jsx(Ie,{variant:"subtitle2",sx:{fontWeight:700,mb:1.25},children:lr}),n==="rtm"?w.jsx(ox,{sx:{border:"1px solid",borderColor:"divider",borderRadius:2},children:w.jsxs(ix,{size:"small",children:[w.jsx(sx,{children:w.jsxs(Vd,{children:[w.jsx(tn,{children:"Trace ID"}),w.jsx(tn,{children:"Req ID"}),w.jsx(tn,{children:"Requirement"}),w.jsx(tn,{children:"Coverage"}),w.jsx(tn,{children:"Test Ref(s)"}),w.jsx(tn,{children:"Conditions"}),w.jsx(tn,{children:"Level"}),w.jsx(tn,{children:"Owner"})]})}),w.jsx(ax,{children:fe.map(Xt=>{const me=te.get(Xt.requirementId);return w.jsxs(Vd,{children:[w.jsx(tn,{sx:{fontFamily:t.typography.fontFamilyMonospace,fontSize:"0.78rem"},children:Xt.traceId}),w.jsx(tn,{sx:{fontFamily:t.typography.fontFamilyMonospace,fontSize:"0.78rem"},children:Xt.requirementId}),w.jsx(tn,{sx:{fontSize:"0.80rem"},children:me?me.requirementText:""}),w.jsx(tn,{sx:{fontSize:"0.78rem"},children:Xt.coverageStatus}),w.jsx(tn,{sx:{fontSize:"0.76rem",whiteSpace:"pre-line"},children:Array.isArray(Xt.testCaseRefs)?Xt.testCaseRefs.join(`
291`):""}),w.jsx(tn,{sx:{fontSize:"0.76rem",whiteSpace:"pre-line"},children:$1(Xt.proposedTestConditions)}),w.jsx(tn,{sx:{fontSize:"0.78rem"},children:Xt.testLevel}),w.jsx(tn,{sx:{fontSize:"0.78rem"},children:Xt.owner||"QA"})]},Xt.traceId)})})]})}):n==="coverage-gap-analysis"?w.jsxs(qe,{spacing:2,children:[w.jsx(xn,{container:!0,spacing:1.25,children:Sn.map(Xt=>w.jsx(xn,{item:!0,xs:6,sm:3,children:w.jsxs(Ee,{sx:{px:1.5,py:1.25,borderRadius:2,border:"1px solid",borderColor:Xt.config.border,backgroundColor:Xt.config.bg},children:[w.jsx(Ie,{variant:"caption",sx:{display:"block",color:Xt.config.color,fontWeight:700,textTransform:"uppercase",letterSpacing:"0.05em"},children:Xt.config.label}),w.jsx(Ie,{variant:"h6",sx:{mt:.25,fontWeight:700,color:"text.primary"},children:Xt.items.length})]})},Xt.status))}),Sn.map(Xt=>w.jsxs(g1,{defaultExpanded:Xt.status==="major-gap"||Xt.status==="partial-gap",disableGutters:!0,sx:{backgroundColor:wt?"rgba(0,0,0,0.12)":"rgba(0,0,0,0.02)",border:"1px solid",borderColor:Xt.config.border,borderRadius:"10px !important","&:before":{display:"none"}}
291,children:[w.jsx(y1,{expandIcon:w.jsx(Sh,{sx:{color:"text.disabled"}}),sx:{px:2},children:w.jsxs(qe,{direction:"row",spacing:1,alignItems:"center",flexWrap:"wrap",useFlexGap:!0,children:[w.jsx(Ie,{variant:"body2",sx:{fontWeight:700,color:Xt.config.color},children:Xt.config.label}),w.jsx(xr,{size:"small",label:`${Xt.items.length} item${Xt.items.length===1?"":"s"}`,sx:{height:20,fontSize:"0.68rem",fontFamily:t.typography.fontFamilyMonospace,backgroundColor:Xt.config.bg,color:Xt.config.color,border:"1px solid",borderColor:Xt.config.border}})]})}),w.jsx(m1,{sx:{px:2,pb:2},children:w.jsx(qe,{spacing:1.25,children:Xt.items.map(me=>{const Br=te.get(me.requirementId);return w.jsx(Ee,{sx:{p:1.5,borderRadius:2,border:"1px solid",borderColor:wt?"rgba(255,255,255,0.06)":"rgba(0,0,0,0.08)",backgroundColor:wt?"rgba(255,255,255,0.02)":"#fff"},children:w.jsxs(qe,{spacing:1,children:[w.jsxs(qe,{direction:"row",spacing:.75,flexWrap:"wrap",useFlexGap:!0,alignItems:"center",children:[w.jsx(xr,{size:"small",label:me.gapId,sx:{height:22,fontSize:"0.68rem",fontFamily:t.typography.fontFamilyMonospace}}),w.jsx(xr,{size:"small",label:me.requirementId,sx:{height:22,fontSize:"0.68rem",fontFamily:t.typography.fontFamilyMonospace}}),w.jsx(xr,{size:"small",label:me.gapCategory,sx:{height:22,fontSize:"0.68rem",backgroundColor:Ht,color:qt}}),w.jsx(xr,{size:"small",label:me.severity,sx:{height:22,fontSize:"0.68rem",backgroundColor:Xt.config.bg,color:Xt.config.color}}),Br&&Br.priority&&w.jsx(xr,{size:"small",label:Br.priority,sx:{height:22,fontSize:"0.68rem"}})]}),w.jsxs(Ee,{children:[w.jsx(Ie,{variant:"caption",sx:{color:"text.disabled",textTransform:"uppercase",letterSpacing:"0.05em"},children:"Requirement"}),w.jsx(Ie,{variant:"body2",sx:{mt:.35,color:"text.primary"},children:Br?Br.requirementText:"(missing requirement text)"})]}),w.jsxs(Ee,{children:[w.jsx(Ie,{variant:"caption",sx:{color:"text.disabled",textTransform:"uppercase",letterSpacing:"0.05em"},children:"Observation"}),w.jsx(Ie,{variant:"body2",sx:{mt:.35,color:"text.primary"},children:me.observation})]}),me.impact&&w.jsxs(Ee,{children:[w.jsx(Ie,{variant:"caption",sx:{color:"text.disabled",textTransform:"uppercase",letterSpacing:"0.05em"},children:"Impact"}),w.jsx(Ie,{variant:"body2",sx:{mt:.35,color:"text.secondary"},children:me.impact})]}),w.jsxs(Ee,{children:[w.jsx(Ie,{variant:"caption",sx:{color:"text.disabled",textTransform:"uppercase",letterSpacing:"0.05em"},children:"Recommended Actions"}),w.jsx(yc,{items:me.recommendedActions,sx:{mt:.25}})]}),Array.isArray(me.notes)&&me.notes.length>0&&w.jsxs(Ee,{children:[w.jsx(Ie,{variant:"caption",sx:{color:"text.disabled",textTransform:"uppercase",letterSpacing:"0.05em"},children:"Notes"}),w.jsx(yc,{items:me.notes,sx:{mt:.25}})]})]})},me.gapId)})})})]},Xt.status))]}):n==="acceptance-criteria-breakdown"?w.jsx(qe,{spacing:1.25,children:fe.map(Xt=>{const me=te.get(Xt.requirementId);return w.jsx(Ee,{sx:{p:1.5,borderRadius:2,border:"1px solid",borderColor:wt?"rgba(255,255,255,0.06)":"rgba(0,0,0,0.08)",backgroundColor:wt?"rgba(255,255,255,0.02)":"#fff"},children:w.jsxs(qe,{spacing:1,children:[w.jsxs(qe,{direction:"row",spacing:.75,flexWrap:"wrap",useFlexGap:!0,alignItems:"center",children:[w.jsx(xr,{size:"small",label:Xt.criteriaId,sx:{height:22,fontSize:"0.68rem",fontFamily:t.typography.fontFamilyMonospace}}),w.jsx(xr,{size:"small",label:Xt.requirementId,sx:{height:22,fontSize:"0.68rem",fontFamily:t.typography.fontFamilyMonospace}}),w.jsx(xr,{size:"small",label:Xt.criteriaType,sx:{height:22,fontSize:"0.68rem",backgroundColor:Ht,color:qt}}),w.jsx(xr,{size:"small",label:Xt.clarityStatus,sx:{height:22,fontSize:"0.68rem"}}),me&&me.priority&&w.jsx(xr,{size:"small",label:me.priority,sx:{height:22,fontSize:"0.68rem"}})]}),w.jsxs(Ee,{children:[w.jsx(Ie,{variant:"caption",sx:{color:"text.disabled",textTransform:"uppercase",letterSpacing:"0.05em"},children:"Requirement"}),w.jsx(Ie,{variant:"body2",sx:{mt:.35,color:"text.primary"},children:me?me.requirementText:"(missing requirement text)"})]}),w.jsxs(Ee,{children:[w.jsx(Ie,{variant:"caption",sx:{color:"text.disabled",textTransform:"uppercase",letterSpacing:"0.05em"},children:"Acceptance Criterion"}),w.jsx(Ie,{variant:"body2",sx:{mt:.35,color:"text.primary"},children:Xt.criterion})]}),Array.isArray(Xt.notes)&&Xt.notes.length>0&&w.jsxs(Ee,{children:[w.jsx(Ie,{variant:"caption",sx:{color:"text.disabled",textTransform:"uppercase",letterSpacing:"0.05em"},children:"Notes"}),w.jsx(yc,{items:Xt.notes,sx:{mt:.25}})]})]})},Xt.criteriaId)})}):w.jsxs(qe,{spacing:2,children:[w.jsx(xn,{container:!0,spacing:1.5,children:[{title:"Introduction",body:l.introduction,bg:wt?"rgba(222, 235, 247, 0.10)":"rgba(222, 235, 247, 0.85)"},{title:"In Scope",body:Array.isArray(l.inScope)?l.inScope.join(`
292`):"",bg:wt?"rgba(252, 228, 214, 0.10)":"rgba(252, 228, 214, 0.85)"},{title:"Out of Scope",body:Array.isArray(l.outOfScope)?l.outOfScope.join(`
293`):"",bg:wt?"rgba(226, 239, 218, 0.10)":"rgba(226, 239, 218, 0.85)"},{title:"Risks",body:Array.isArray(l.risks)?l.risks.join(`
294`):"",bg:wt?"rgba(234, 209, 220, 0.10)":"rgba(234, 209, 220, 0.85)"},{title:"Resources",body:`Testers - ${(l.resources?.testers||[]).join(", ")}
295Developers - ${(l.resources?.developers||[]).join(", ")}`,bg:wt?"rgba(235, 241, 221, 0.10)":"rgba(235, 241, 221, 0.85)"},{title:"Environment and Tools",body:`Test Environment - ${l.environmentAndTools?.testEnvironment||""}
296Tools - ${(l.environmentAndTools?.tools||[]).join(", ")}`,bg:wt?"rgba(217, 217, 243, 0.10)":"rgba(217, 217, 243, 0.85)"},{title:"Assumptions",body:Array.isArray(l.assumptions)?l.assumptions.join(`
297`):"",bg:wt?"rgba(234, 209, 220, 0.10)":"rgba(234, 209, 220, 0.85)"},{title:"Timescales",body:Array.isArray(l.timescales)?l.timescales.join(`
298`):"",bg:wt?"rgba(235, 241, 221, 0.10)":"rgba(235, 241, 221, 0.85)"},{title:"Missing Info Questions",body:Array.isArray(l.missingInfoQuestions)?l.missingInfoQuestions.join(`
299`):"",bg:wt?"rgba(217, 217, 243, 0.10)":"rgba(217, 217, 243, 0.85)"}].map(Xt=>w.jsx(xn,{item:!0,xs:12,md:4,children:w.jsxs(Ee,{sx:{p:1.5,borderRadius:2,border:"1px solid",borderColor:"divider",backgroundColor:Xt.bg,minHeight:120},children:[w.jsx(Ie,{variant:"subtitle2",sx:{fontWeight:700,mb:1},children:Xt.title}),w.jsx(Ie,{variant:"body2",sx:{whiteSpace:"pre-line",color:"text.primary"},children:Xt.body||"(none)"})]})},Xt.title))}),w.jsx(ox,{sx:{border:"1px solid",borderColor:"divider",borderRadius:2},children:w.jsxs(ix,{size:"small",children:[w.jsx(sx,{children:w.jsxs(Vd,{children:[w.jsx(tn,{children:"Features to be Tested"}),w.jsx(tn,{children:"Jira Ticket"}),w.jsx(tn,{children:"Test Objective"}),w.jsx(tn,{children:"Priority"}),w.jsx(tn,{children:"Test Status"}),w.jsx(tn,{children:"Test Cases"}),w.jsx(tn,{children:"Defect IDs"})]})}),w.jsx(ax,{children:fe.map((Xt,me)=>w.jsxs(Vd,{children:[w.jsx(tn,{sx:{fontSize:"0.80rem"},children:Xt.feature}),w.jsx(tn,{sx:{fontSize:"0.78rem"},children:Xt.jiraTicket}),w.jsx(tn,{sx:{fontSize:"0.78rem"},children:Xt.testObjective}),w.jsx(tn,{sx:{fontSize:"0.78rem"},children:Xt.priority}),w.jsx(tn,{sx:{fontSize:"0.78rem"},children:Xt.testStatus}),w.jsx(tn,{sx:{fontSize:"0.78rem"},children:Xt.testCases}),w.jsx(tn,{sx:{fontSize:"0.78rem"},children:Xt.defectIds})]},`${Xt.feature}-${me}`))})]})})]})]}),w.jsx(Ee,{sx:{px:3,pb:3},children:w.jsx(qe,{spacing:1.5,children:[{key:"missing",label:"Missing Info Questions",content:w.jsx(yc,{items:df(l.missingInfoQuestions)})},{key:"assumptions",label:"Assumptions",content:w.jsx(yc,{items:df(l.assumptions)})},{key:"risks",label:"Risks",content:w.jsx(yc,{items:df(l.risks)})}].map(Xt=>w.jsxs(g1,{disableGutters:!0,sx:{backgroundColor:wt?"rgba(0,0,0,0.12)":"rgba(0,0,0,0.02)",border:"1px solid",borderColor:wt?"rgba(255,255,255,0.05)":"rgba(0,0,0,0.06)",borderRadius:"8px !important","&:before":{display:"none"}}
299,children:[w.jsx(y1,{expandIcon:w.jsx(Sh,{sx:{color:"text.disabled"}}),sx:{px:2,"& .MuiAccordionSummary-content":{my:.75}},children:w.jsx(Ie,{variant:"body2",sx:{fontWeight:600,fontSize:"0.85rem",color:"text.secondary"},children:Xt.label})}),w.jsx(m1,{sx:{px:2,pb:1.5},children:Xt.content})]},Xt.key))})})]})})}return w.jsx(Nf,{sx:{overflow:"visible",borderColor:ae},children:w.jsxs(Bf,{sx:{p:"0 !important"},children:[w.jsx(Ee,{sx:{px:3,pt:3,pb:2},children:w.jsxs(qe,{spacing:2,children:[w.jsxs(qe,{direction:{xs:"column",sm:"row"},spacing:1.5,alignItems:{xs:"flex-start",sm:"center"},children:[w.jsxs(qe,{direction:"row",spacing:1,alignItems:"center",children:[w.jsx(_s,{sx:{color:"#4ade80",fontSize:20}}),w.jsx(Ie,{variant:"subtitle1",sx:{fontWeight:700,fontSize:"1rem"},children:"Test Results"}),w.jsx(xr,{size:"small",label:`${Jt} test case${Jt!==1?"s":""}`,sx:{height:24,fontWeight:700,fontSize:"0.78rem",fontFamily:t.typography.fontFamilyMonospace,backgroundColor:wt?"rgba(74, 222, 128, 0.08)":"rgba(22, 163, 74, 0.08)",color:wt?"#4ade80":"#16a34a"}}),h.length>0&&w.jsx(xr,{size:"small",label:`${h.length} deduped`,sx:{height:22,fontSize:"0.70rem",fontFamily:t.typography.fontFamilyMonospace,backgroundColor:"rgba(217, 119, 6, 0.08)",color:"rgba(217, 119, 6, 0.85)"}})]}),w.jsx(Ee,{sx:{flex:1}}),w.jsxs(qe,{direction:"row",spacing:.75,children:[w.jsx(Lh,{title:"Export as PDF",children:w.jsx(Vn,{size:"small",variant:"outlined",startIcon:w.jsx(ux,{sx:{fontSize:16}}),onClick:()=>oZ(i),sx:{borderColor:"divider",color:"text.secondary",textTransform:"none",fontSize:"0.80rem","&:hover":{borderColor:wt?"rgba(167, 139, 250, 0.40)":"rgba(124, 58, 237, 0.30)",backgroundColor:Ht}},children:"PDF"})}),w.jsx(Lh,{title:"Export as CSV",children:w.jsx(Vn,{size:"small",variant:"outlined",startIcon:w.jsx(ux,{sx:{fontSize:16}}),onClick:()=>iZ("test-cases.csv",fZ(i),"text/csv"),sx:{borderColor:"divider",color:"text.secondary",textTransform:"none",fontSize:"0.80rem","&:hover":{borderColor:wt?"rgba(167, 139, 250, 0.40)":"rgba(124, 58, 237, 0.30)",backgroundColor:Ht}},children:"CSV"})})]})]}),w.jsxs(qe,{direction:"row",spacing:.75,flexWrap:"wrap",useFlexGap:!0,children:[["P0","P1","P2","P3"].map(Et=>{const fe=Se[Et];if(!fe)return null;const te=$x[Et];return w.jsx(xr,{size:"small",label:`${Et} ${te.label}: ${fe}`,sx:{height:22,fontSize:"0.70rem",fontFamily:t.typography.fontFamilyMonospace,backgroundColor:te.bg,color:te.color,border:"1px solid",borderColor:te.border}},Et)}),w.jsx(Ee,{sx:{width:4}}),Object.entries(Pe).sort((Et,fe)=>fe[1]-Et[1]).slice(0,6).map(([Et,fe])=>w.jsx(xr,{size:"small",label:`${Et}: ${fe}`,sx:{height:22,fontSize:"0.70rem",fontFamily:t.typography.fontFamilyMonospace,backgroundColor:Ht,color:wt?"rgba(167, 139, 250, 0.80)":"rgba(124, 58, 237, 0.80)"}},Et))]}),a&&w.jsxs(qe,{direction:"row",spacing:.5,flexWrap:"wrap",useFlexGap:!0,children:[w.jsx(xr,{size:"small",variant:"outlined",label:a.provider,sx:{height:20,fontSize:"0.64rem",fontFamily:t.typography.fontFamilyMonospace,borderColor:"divider",color:"text.disabled"}}),w.jsx(xr,{size:"small",variant:"outlined",label:a.model,sx:{height:20,fontSize:"0.64rem",fontFamily:t.typography.fontFamilyMonospace,borderColor:"divider",color:"text.disabled"}}),a.mode&&w.jsx(xr,{size:"small",variant:"outlined",label:a.mode,sx:{height:20,fontSize:"0.64rem",fontFamily:t.typography.fontFamilyMonospace,borderColor:a.mode==="per-skill"?wt?"rgba(22, 163, 74, 0.20)":"rgba(22, 163, 74, 0.25)":"divider",color:a.mode==="per-skill"?wt?"rgba(22, 163, 74, 0.60)":"rgba(22, 163, 74, 0.70)":"text.disabled"}}),a.repaired&&w.jsx(xr,{size:"small",variant:"outlined",label:"schema repaired",sx:{height:20,fontSize:"0.64rem",fontFamily:t.typography.fontFamilyMonospace,borderColor:"rgba(217, 119, 6, 0.15)",color:"rgba(217, 119, 6, 0.50)"}})]})]})}),w.jsx(Mc,{sx:{borderColor:"divider"}}),w.jsxs(Ee,{sx:{px:3,py:1.5},children:[w.jsxs(qe,{direction:{xs:"column",md:"row"},spacing:1,alignItems:{xs:"stretch",md:"center"},children:[w.jsx(Xi,{size:"small",placeholder:"Search title, id, or tag...",value:p,onChange:Et=>y(Et.target.value),InputProps:{startAdornment:w.jsx(P2,{position:"start",children:w.jsx(_V,{sx:{color:"text.disabled",fontSize:18}})}),sx:{fontSize:"0.85rem"}},sx:{minWidth:200,flex:{xs:1,md:"unset"}}}),w.jsxs(bu,{size:"small",sx:{minWidth:140},children:[w.jsx(vu,{children:"Type"}),w.jsxs(Ac,{value:g,label:"Type",onChange:Et=>b(Et.target.value),children:[w.jsx(qa,{value:"",children:"All types"}),["functional","negative","boundary","security","accessibility","performance","usability","compatibility","resilience"].map(Et=>w.jsx(qa,{value:Et,children:Et},Et))]})]}),w.jsxs(bu,{size:"small",sx:{minWidth:140},children:[w.jsx(vu,{children:"Priority"}),w.jsxs(Ac,{value:v,label:"Priority",onChange:Et=>C(Et.target.value),children:[w.jsx(qa,{value:"",children:"All priorities"}),["P0","P1","P2","P3"].map(Et=>w.jsx(qa,{value:Et,children:Et},Et))]})]}),w.jsx(Ee,{sx:{flex:1}}),w.jsxs(qe,{direction:"row",spacing:.5,alignItems:"center",children:[w.jsxs(Ie,{variant:"caption",sx:{color:"text.disabled",fontSize:"0.72rem",whiteSpace:"nowrap"},children:[Math.min((E-1)*W+1,k.length),"–",Math.min(E*W,k.length)," of ",k.length,k.length<Jt?` (${Jt})`:""]}),w.jsx(Ee,{sx:{width:8}}),[10,50,100].map(Et=>w.jsx(xr,{size:"small",label:Et,clickable:!0,onClick:()=>{q(Et),L(1)},sx:{fontFamily:t.typography.fontFamilyMonospace,fontSize:"0.68rem",height:22,backgroundColor:W===Et?wt?"rgba(167, 139, 250, 0.15)":"rgba(124, 58, 237, 0.10)":le,color:W===Et?qt:"text.disabled",borderColor:W===Et?wt?"rgba(167, 139, 250, 0.30)":"rgba(124, 58, 237, 0.25)":"transparent",border:"1px solid"}},Et))]})]}),w.jsxs(qe,{direction:"row",spacing:1,alignItems:"center",sx:{mt:1},children:[w.jsxs(Ie,{variant:"caption",sx:{color:"text.disabled",fontSize:"0.75rem"}
299,children:[w.jsx(Ee,{component:"span",sx:{color:U.size>0?qt:"text.disabled",fontWeight:U.size>0?600:400},children:U.size})," ","selected"]}),w.jsx(Vn,{size:"small",variant:"text",onClick:()=>{i&&Array.isArray(i.testCases)&&j(new Set(i.testCases.map(Et=>String(Et.id))))},sx:{fontSize:"0.68rem",color:"text.disabled",textTransform:"none",minWidth:0,px:.5},children:"All"}),w.jsx(Vn,{size:"small",variant:"text",onClick:()=>j(new Set),sx:{fontSize:"0.68rem",color:"text.disabled",textTransform:"none",minWidth:0,px:.5},children:"None"})]})]}),w.jsxs(Ee,{sx:{px:3,pb:2},children:[e?w.jsx(qe,{spacing:1,children:T.map(Et=>w.jsxs(qe,{direction:"row",spacing:0,alignItems:"flex-start",children:[w.jsx(g0,{size:"small",checked:U.has(String(Et.id)),onChange:fe=>{const te=new Set(U);fe.target.checked?te.add(String(Et.id)):te.delete(String(Et.id)),j(te)},sx:{mt:.75,color:"text.disabled","&.Mui-checked":{color:qt}}}),w.jsxs(g1,{disableGutters:!0,sx:{flex:1,borderRadius:"12px",border:"1px solid",borderColor:"divider",backgroundColor:wt?"rgba(0,0,0,0.16)":"rgba(0,0,0,0.02)",overflow:"hidden","&:before":{display:"none"}},children:[w.jsx(y1,{expandIcon:w.jsx(Sh,{sx:{color:"text.secondary"}}),sx:{px:1.5,"& .MuiAccordionSummary-content":{my:1}},children:w.jsxs(qe,{spacing:.5,sx:{minWidth:0},children:[w.jsxs(qe,{direction:"row",spacing:.5,alignItems:"center",flexWrap:"wrap",useFlexGap:!0,children:[w.jsx(xr,{size:"small",variant:"outlined",label:String(Et.id||""),sx:{fontFamily:t.typography.fontFamilyMonospace,fontSize:"0.68rem",height:20,borderColor:"divider",color:"text.secondary"}}),w.jsx(xr,{size:"small",label:String(Et.type||""),sx:{fontFamily:t.typography.fontFamilyMonospace,fontSize:"0.68rem",height:20,backgroundColor:wt?"rgba(167, 139, 250, 0.10)":"rgba(124, 58, 237, 0.08)",color:wt?"rgba(167, 139, 250, 0.85)":"rgba(124, 58, 237, 0.85)"}}),Et.priority&&(()=>{const fe=$x[Et.priority];return fe?w.jsx(xr,{size:"small",label:Et.priority,sx:{fontFamily:t.typography.fontFamilyMonospace,fontSize:"0.68rem",height:20,backgroundColor:fe.bg,color:fe.color}}):null})()]}),w.jsx(Ie,{variant:"body2",sx:{color:"text.primary",fontSize:"0.85rem",display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:2},children:String(Et.title||"")})]})}),w.jsx(m1,{sx:{px:1.5,pb:1.5},children:w.jsxs(qe,{spacing:1,children:[[{label:"PRECONDITIONS",items:Et.preconditions},{label:"STEPS",items:Et.steps},{label:"EXPECTED",items:Et.expected}].map(fe=>w.jsxs(Ee,{children:[w.jsx(Ie,{variant:"caption",sx:{color:wt?"rgba(167, 139, 250, 0.85)":"rgba(124, 58, 237, 0.85)",fontFamily:t.typography.fontFamilyMonospace,fontSize:"0.65rem",letterSpacing:"0.06em"},children:fe.label}),w.jsx(dZ,{items:fe.items,sx:{mt:.25}})]},fe.label)),Array.isArray(Et.coverageTags)&&Et.coverageTags.length||Array.isArray(Et.requirementRefs)&&Et.requirementRefs.length?w.jsxs(qe,{direction:"row",spacing:.5,flexWrap:"wrap",useFlexGap:!0,children:[Array.isArray(Et.coverageTags)&&Et.coverageTags.slice(0,12).map(fe=>w.jsx(xr,{size:"small",label:String(fe),sx:{height:20,fontSize:"0.64rem",backgroundColor:Ht,color:"text.secondary"}},String(fe))),Array.isArray(Et.requirementRefs)&&Et.requirementRefs.slice(0,6).map(fe=>w.jsx(xr,{size:"small",variant:"outlined",label:String(fe),sx:{height:20,fontSize:"0.64rem",borderColor:"divider",color:"text.secondary"}},String(fe)))]}):null]})})]})]},String(Et.id)))}):w.jsx(ox,{sx:{borderRadius:2,border:"1px solid",borderColor:"divider",overflow:"auto",background:wt?"rgba(0,0,0,0.12)":"rgba(0,0,0,0.01)"},children:w.jsxs(ix,{size:"small",sx:{minWidth:1100},stickyHeader:!0,children:[w.jsx(sx,{children:w.jsxs(Vd,{children:[w.jsx(tn,{padding:"checkbox",sx:{backgroundColor:wt?"rgba(8, 8, 8, 0.96)":"rgba(245, 243, 255, 0.96)",borderBottomColor:"divider"},children:w.jsx(g0,{size:"small",checked:T.length>0&&T.every(Et=>U.has(String(Et.id))),indeterminate:T.some(Et=>U.has(String(Et.id)))&&!T.every(Et=>U.has(String(Et.id))),onChange:Et=>{const fe=new Set(U);T.forEach(te=>{Et.target.checked?fe.add(String(te.id)):fe.delete(String(te.id))}),j(fe)},sx:{color:"text.disabled","&.Mui-checked, &.MuiCheckbox-indeterminate":{color:qt}}})}),["ID","Title","Type","Priority","Preconditions","Steps","Expected","Tags","Req refs"].map(Et=>w.jsx(tn,{sx:{fontWeight:700,backgroundColor:wt?"rgba(8, 8, 8, 0.96)":"rgba(245, 243, 255, 0.96)",borderBottomColor:"divider"},children:w.jsx(Ie,{variant:"caption",sx:{fontFamily:["ID","Type","Priority"].includes(Et)?t.typography.fontFamilyMonospace:void 0,fontSize:"0.70rem",color:"text.secondary",textTransform:"uppercase",letterSpacing:"0.04em"},children:Et})},Et))]})}),w.jsx(ax,{children:T.map(Et=>{const fe=U.has(String(Et.id));return w.jsxs(Vd,{hover:!0,sx:{backgroundColor:fe?at:"transparent","&:hover":{backgroundColor:wt?"rgba(255,255,255,0.03)":"rgba(0,0,0,0.03)"}},children:[w.jsx(tn,{padding:"checkbox",children:w.jsx(g0,{size:"small",checked:fe,onChange:te=>{const Ze=new Set(U);te.target.checked?Ze.add(String(Et.id)):Ze.delete(String(Et.id)),j(Ze)},sx:{color:"text.disabled","&.Mui-checked":{color:qt}}})}),w.jsx(tn,{sx:{fontFamily:t.typography.fontFamilyMonospace,color:"text.secondary",fontSize:"0.80rem"},children:String(Et.id||"")}),w.jsx(tn,{sx:{color:"text.primary",fontSize:"0.82rem"},children:String(Et.title||"")}),w.jsx(tn,{sx:{fontFamily:t.typography.fontFamilyMonospace,color:wt?"rgba(167, 139, 250, 0.85)":"rgba(124, 58, 237, 0.85)",fontSize:"0.80rem"},children:String(Et.type||"")}),w.jsx(tn,{children:Et.priority&&(()=>{const te=$x[Et.priority];return te?w.jsx(xr,{size:"small",label:Et.priority,sx:{height:20,fontSize:"0.68rem",fontFamily:t.typography.fontFamilyMonospace,fontWeight:700,backgroundColor:te.bg,color:te.color,minWidth:30}}):w.jsx(Ie,{variant:"caption",sx:{fontFamily:t.typography.fontFamilyMonospace,color:"text.secondary"},children:String(Et.priority)})})()}),w.jsx(tn,{sx:{whiteSpace:"pre-line",color:"text.secondary",fontSize:"0.78rem"},children:$1(Et.preconditions)}),w.jsx(tn,{sx:{whiteSpace:"pre-line",color:"text.secondary",fontSize:"0.78rem"},children:$1(Et.steps)}),w.jsx(tn,{sx:{whiteSpace:"pre-line",color:"text.secondary",fontSize:"0.78rem"},children:$1(Et.expected)}),w.jsx(tn,{sx:{color:"text.secondary",fontSize:"0.76rem"},children:Array.isArray(Et.coverageTags)?Et.coverageTags.join(", "):""}),w.jsx(tn,{sx:{color:"text.secondary",fontSize:"0.76rem"},children:Array.isArray(Et.requirementRefs)?Et.requirementRefs.join(", "):""})]},String(Et.id))})})]})}),O>1&&w.jsx(qe,{direction:"row",justifyContent:"center",sx:{pt:1.5},children:w.jsx(HW,{count:O,page:E,onChange:(Et,fe)=>L(fe),size:"small",sx:{"& .MuiPaginationItem-root":{color:"text.secondary",borderColor:"divider","&.Mui-selected":{backgroundColor:wt?"rgba(167, 139, 250, 0.18)":"rgba(124, 58, 237, 0.12)",color:qt,borderColor:wt?"rgba(167, 139, 250, 0.30)":"rgba(124, 58, 237, 0.25)"},"&:hover":{backgroundColor:Ht}}}})})]}),w.jsxs(Ee,{onClick:()=>we(Et=>!Et),sx:{display:"flex",alignItems:"center",gap:1,mx:2.5,my:1.5,px:1.5,py:1.25,cursor:"pointer",userSelect:"none",borderRadius:2,border:"1px solid",borderColor:Oe?ae:"divider",backgroundColor:Oe?at:le,transition:"all 200ms ease","&:hover":{backgroundColor:Ht,borderColor:Kt}},children:[w.jsx(Sh,{sx:{color:"text.disabled",fontSize:20,transform:Oe?"rotate(180deg)":"rotate(0deg)",transition:"transform 250m
299s cubic-bezier(0.4,0,0.2,1)"}}),w.jsx($2,{sx:{color:"text.disabled",fontSize:18}}),w.jsx(Ie,{variant:"subtitle2",sx:{fontWeight:700,fontSize:"0.88rem",color:"text.secondary"},children:"Insights & Details"}),!Oe&&je>0&&w.jsx(xr,{size:"small",label:`${je} sections`,sx:{height:20,fontSize:"0.64rem",backgroundColor:le,color:"text.disabled"}}),w.jsx(Ee,{sx:{flex:1}})]}),w.jsx(Df,{in:Oe,timeout:300,children:w.jsxs(Ee,{sx:{px:3,pb:2},children:[w.jsx(qe,{spacing:1.5,children:[{key:"skills",label:`Selected Skills (${He.length})`,content:w.jsx(yc,{items:df(He),renderItem:Et=>{if(typeof Et=="string")return w.jsx(Ie,{variant:"body2",children:Et});const fe=Number.isFinite(Et.score)?Et.score:null,te=Et.reason&&typeof Et.reason=="object"?Et.reason:null,Ze=!!(te&&te.alwaysInclude),Ge=Array.isArray(te&&te.matched)?te.matched:[],Me=Array.isArray(te&&te.boosts)?te.boosts:[],lr=fe!==null?`match score: ${fe}`:"",Sn=Ze?["baseline (always included)",lr].filter(Boolean).join(" | "):[lr,Ge.length?`matched: ${Ge.join(", ")}`:"",Me.length?`boosts: ${Me.map(Xt=>Xt&&Xt.tag?`${Xt.hint}->${Xt.tag}`:String(Xt)).join(", ")}`:""].filter(Boolean).join(" | ");return w.jsxs(Ee,{children:[w.jsxs(Ie,{variant:"body2",sx:{color:"text.primary"}
299,children:[w.jsx(Ee,{component:"span",sx:{fontFamily:t.typography.fontFamilyMonospace,color:"text.secondary"},children:String(Et.id)})," — ",String(Et.title)]}),Sn&&w.jsx(Ie,{variant:"caption",sx:{display:"block",mt:.2,color:"text.disabled",fontFamily:t.typography.fontFamilyMonospace,fontSize:"0.72rem"},children:Sn})]})}})},{key:"missing",label:"Missing Info Questions",content:w.jsx(yc,{items:df(i.missingInfoQuestions)})},{key:"assumptions",label:"Assumptions",content:w.jsx(yc,{items:df(i.assumptions)})},{key:"risks",label:"Risks",content:w.jsx(yc,{items:df(i.risks)})}].map(Et=>w.jsxs(g1,{disableGutters:!0,sx:{backgroundColor:wt?"rgba(0,0,0,0.12)":"rgba(0,0,0,0.02)",border:"1px solid",borderColor:wt?"rgba(255,255,255,0.05)":"rgba(0,0,0,0.06)",borderRadius:"8px !important","&:before":{display:"none"}},children:[w.jsx(y1,{expandIcon:w.jsx(Sh,{sx:{color:"text.disabled"}}),sx:{px:2,"& .MuiAccordionSummary-content":{my:.75}},children:w.jsx(Ie,{variant:"body2",sx:{fontWeight:600,fontSize:"0.85rem",color:"text.secondary"},children:Et.label})}),w.jsx(m1,{sx:{px:2,pb:1.5},children:Et.content})]},Et.key))}),f.length>0&&w.jsxs(Ee,{sx:{mt:1.5,p:1.5,borderRadius:"8px",backgroundColor:wt?"rgba(0,0,0,0.12)":"rgba(0,0,0,0.02)",border:"1px solid",borderColor:wt?"rgba(167, 139, 250, 0.08)":"rgba(124, 58, 237, 0.08)"},children:[w.jsxs(qe,{direction:"row",spacing:.75,alignItems:"center",sx:{mb:1},children:[w.jsx(P0,{sx:{color:qt,fontSize:16}}),w.jsx(Ie,{variant:"body2",sx:{fontWeight:600,fontSize:"0.85rem",color:"text.secondary"},children:"Technique Diagrams"}),w.jsx(xr,{size:"small",label:`${f.length}`,sx:{height:18,fontSize:"0.62rem",fontFamily:t.typography.fontFamilyMonospace,backgroundColor:wt?"rgba(167, 139, 250, 0.10)":"rgba(124, 58, 237, 0.08)",color:qt}})]}),w.jsx(qe,{direction:"row",spacing:.75,flexWrap:"wrap",useFlexGap:!0,children:f.map(Et=>w.jsx(xr,{size:"small",clickable:!0,icon:w.jsx(P0,{sx:{fontSize:"14px !important",color:`${qt} !important`}}),label:Et.skillTitle,onClick:()=>{lt(Et),ht(1),rt(!0)},sx:{height:28,fontSize:"0.76rem",backgroundColor:Ht,color:"text.primary",border:"1px solid",borderColor:ae,"&:hover":{backgroundColor:wt?"rgba(167, 139, 250, 0.14)":"rgba(124, 58, 237, 0.10)",borderColor:wt?"rgba(167, 139, 250, 0.35)":"rgba(124, 58, 237, 0.30)"}}},Et.skillId))})]})]})}),w.jsxs(Ee,{onClick:()=>Ne(Et=>!Et),sx:{display:"flex",alignItems:"center",gap:1,mx:2.5,mt:0,mb:2,px:1.5,py:1.25,cursor:"pointer",userSelect:"none",borderRadius:2,border:"1px solid",borderColor:_e?ae:"divider",backgroundColor:_e?at:le,transition:"all 200ms ease","&:hover":{backgroundColor:Ht,borderColor:Kt}},children:[w.jsx(Sh,{sx:{color:"text.disabled",fontSize:20,transform:_e?"rotate(180deg)":"rotate(0deg)",transition:"transform 250ms cubic-bezier(0.4,0,0.2,1)"}}),w.jsx(R5,{sx:{color:"text.disabled",fontSize:18}}),w.jsx(Ie,{variant:"subtitle2",sx:{fontWeight:700,fontSize:"0.88rem",color:"text.secondary"},children:"Push to AIO Tests"}),mt&&!_e&&w.jsx(xr,{size:"small",icon:w.jsx(_s,{sx:{color:"#4ade80 !important",fontSize:12}}),label:"configured",sx:{height:20,fontSize:"0.62rem",backgroundColor:wt?"rgba(74, 222, 128, 0.06)":"rgba(22, 163, 74, 0.06)",color:wt?"rgba(74, 222, 128, 0.70)":"rgba(22, 163, 74, 0.70)","& .MuiChip-icon":{ml:.5}},variant:"outlined"}),X==="success"&&!_e&&w.jsx(xr,{size:"small",icon:w.jsx(_s,{sx:{color:"#4ade80 !important",fontSize:12}}),label:"pushed",sx:{height:20,fontSize:"0.62rem",backgroundColor:wt?"rgba(74, 222, 128, 0.06)":"rgba(22, 163, 74, 0.06)",color:wt?"rgba(74, 222, 128, 0.70)":"rgba(22, 163, 74, 0.70)","& .MuiChip-icon":{ml:.5}},variant:"outlined"}),w.jsx(Ee,{sx:{flex:1}})]}),w.jsx(Df,{in:_e,timeout:300,children:w.jsx(Ee,{sx:{px:3,pb:3},children:w.jsxs(qe,{spacing:1.5,children:[w.jsxs(qe,{direction:{xs:"column",sm:"row"},alignItems:{xs:"flex-start",sm:"center"},spacing:1,children:[w.jsx(Ie,{variant:"body2",sx:{color:"text.secondary",fontSize:"0.82rem"},children:"Create a folder (if needed) and push test cases to AIO."}),w.jsx(Ee,{sx:{flex:1}}),w.jsx(aU,{control:w.jsx(fG,{checked:Q,onChange:Et=>it(Et.target.checked),size:"small",sx:{"& .MuiSwitch-switchBase.Mui-checked":{color:qt},"& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track":{backgroundColor:qt}}}),label:w.jsx(Ie,{variant:"caption",sx:{fontSize:"0.78rem"},children:"Include tags"}),sx:{mr:0}})]}),mt?w.jsx(Lc,{severity:"success",variant:"outlined",icon:w.jsx(_s,{sx:{color:"#4ade80"}}),sx:{borderColor:Dt,backgroundColor:Vt,"& .MuiAlert-message":{color:Ot,fontSize:"0.80rem"}},children:"AIO is configured on the server. You can push test cases directly."}):w.jsxs(w.Fragment,{children:[w.jsx(Lc,{severity:"info",variant:"outlined",icon:w.jsx($2,{sx:{color:wt?"rgba(167, 139, 250, 0.7)":"rgba(124, 58, 237, 0.7)"}}),sx:{borderColor:be,backgroundColor:Nt,"& .MuiAlert-message":{color:Ot,fontSize:"0.80rem"}},children:"Enter your AIO base URL and API token to push test cases."}),w.jsxs(xn,{container:!0,spacing:1.5,children:[w.jsx(xn,{item:!0,xs:12,md:6,children:w.jsx(Xi,{size:"small",label:"AIO Base URL",placeholder:"https://tcms.aiojiraapps.com/aio-tcms",value:z,onChange:Et=>Y(Et.target.value),fullWidth:!0,InputProps:{sx:{fontSize:"0.85rem"}}})}),w.jsx(xn,{item:!0,xs:12,md:6,children:w.jsx(Xi,{size:"small",label:"AIO API Token",placeholder:"Your AIO API token",type:Ae?"text":"password",value:D,onChange:Et=>Z(Et.target.value),fullWidth:!0,InputProps:{sx:{fontSize:"0.85rem"},endAdornment:w.jsx(P2,{position:"end",children:w.jsx(Ko,{size:"small",onClick:()=>ce(!Ae),edge:"end",sx:{color:"text.disabled"},children:Ae?w.jsx(B5,{fontSize:"small"}):w.jsx(N5,{fontSize:"small"})})})}})})]})]}),w.jsxs(xn,{container:!0,spacing:1.5,alignItems:"center",children:[w.jsx(xn,{item:!0,xs:12,md:3,children:w.jsx(Xi,{size:"small",label:"Jira project key/id",placeholder:"e.g., AT",value:M,onChange:Et=>N(Et.target.value),fullWidth:!0})}),w.jsx(xn,{item:!0,xs:12,md:6,children:w.jsx(Xi,{size:"small",label:"Folder path (optional)",placeholder:"Release 1.0 / Regression / Checkout",value:I,onChange:Et=>V(Et.target.value),fullWidth:!0})}),w.jsx(xn,{item:!0,xs:12,md:3,children:w.jsxs(qe,{direction:"row",spacing:1,alignItems:"center",children:[w.jsx(Vn,{variant:"contained",disabled:K||!mt&&(!z.trim()||!D.trim()),onClick:et,fullWidth:!0,sx:{backgroundColor:Kr[600],color:"#fff","&:hover":{backgroundColor:Kr[700]},textTransform:"none",fontWeight:600,fontSize:"0.85rem"},children:K?"Pushing...":"Push to AIO"}),K&&w.jsx(Vn,{variant:"text",size:"small",onClick:()=>{yt(),kt("Cancelling...")},sx:{color:"text.secondary",textTransform:"none",whiteSpace:"nowrap"},children:"Cancel"})]})})]}),X==="success"&&P&&w.jsx(Lc,{severity:"success",variant:"outlined",icon:w.jsx(_s,{sx:{color:"#4ade80"}}),action:w.jsx(Ko,{size:"small",onClick:async()=>{try{await navigator.clipboard.writeText(P),kt("Copied.")}catch{Rt("Copy failed.")}},sx:{color:"text.secondary"},children:w.jsx(wV,{sx:{fontSize:16}})}),sx:{borderColor:Dt,backgroundColor:Vt,"& .MuiAlert-message":{color:Ot,fontSize:"0.82rem"}},children:P}),X==="error"&&P&&w.jsx(Lc,{severity:"error",variant:"outlined",sx:{borderColor:de,backgroundColor:Be,"& .MuiAlert-message":{color:Ot,fontSize:"0.82rem"}},children:P})]})})})]})})}const gZ=Jr(w.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),mZ=Jr([w.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"},"0"),w.jsx("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2z"},"1")],"ZoomIn"),yZ=Jr(w.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14M7 9h5v1H7z"}),"ZoomOut"),bZ=Jr(w.jsx("path",{d:"M17 4h3c1.1 0 2 .9 2 2v2h-2V6h-3zM4 8V6h3V4H4c-1.1 0-2 .9-2 2v2zm16 8v2h-3v2h3c1.1 0 2-.9 2-2v-2zM7 18H4v-2H2v2c0 1.1.9 2 2 2h3zM18 8H6v8h12z"}),"FitScreen");var y6={name:"mermaid",version:"11.12.3",description:"Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.",type:"module",module:"./dist/mermaid.core.mjs",types:"./dist/mermaid.d.ts",exports:{".":{types:"./dist/mermaid.d.ts",import:"./dist/mermaid.core.mjs",default:"./dist/mermaid.core.mjs"},"./*":"./*"},keywords:["diagram","markdown","flowchart","sequence diagram","gantt","class diagram","git graph","mindmap","packet diagram","c4 diagram","er diagram","pie chart","pie diagram","quadrant chart","requirement diagram","graph"],scripts:{clean:"rimraf dist",dev:"pnpm -w dev","docs:code":"typedoc src/defaultConfig.ts src/config.ts src/mermaid.ts && prettier --write ./src/docs/config/setup","docs:build":"rimraf ../../docs && pnpm docs:code && pnpm docs:spellcheck && tsx scripts/docs.cli.mts","docs:verify":"pnpm docs:code && pnpm docs:spellcheck && tsx scripts/docs.cli.mts --verify","docs:pre:vitepress":"pnpm --filter ./src/docs prefetch && rimraf src/vitepress && pn
299pm docs:code && tsx scripts/docs.cli.mts --vitepress && pnpm --filter ./src/vitepress install --no-frozen-lockfile --ignore-scripts","docs:build:vitepress":"pnpm docs:pre:vitepress && (cd src/vitepress && pnpm run build) && cpy --flat src/docs/landing/ ./src/vitepress/.vitepress/dist/landing","docs:dev":'pnpm docs:pre:vitepress && concurrently "pnpm --filter ./src/vitepress dev" "tsx scripts/docs.cli.mts --watch --vitepress"',"docs:dev:docker":'pnpm docs:pre:vitepress && concurrently "pnpm --filter ./src/vitepress dev:docker" "tsx scripts/docs.cli.mts --watch --vitepress"',"docs:serve":"pnpm docs:build:vitepress && vitepress serve src/vitepress","docs:spellcheck":'cspell "src/docs/**/*.md"',"docs:release-version":"tsx scripts/update-release-version.mts","docs:verify-version":"tsx scripts/update-release-version.mts --verify","types:build-config":"tsx scripts/create-types-from-json-schema.mts","types:verify-config":"tsx scripts/create-types-from-json-schema.mts --verify",checkCircle:"npx madge --circular ./src",prepublishOnly:"pnpm docs:verify-version"},repository:{type:"git",url:"https://github.com/mermaid-js/mermaid"},author:"Knut Sveidqvist",license:"MIT",standard:{ignore:["**/parser/*.js","dist/**/*.js","cypress/**/*.js"],globals:["page"]},dependencies:{"@braintree/sanitize-url":"^7.1.1","@iconify/utils":"^3.0.1","@mermaid-js/parser":"workspace:^","@types/d3":"^7.4.3",cytoscape:"^3.29.3","cytoscape-cose-bilkent":"^4.1.0","cytoscape-fcose":"^2.2.0",d3:"^7.9.0","d3-sankey":"^0.12.3","dagre-d3-es":"7.0.13",dayjs:"^1.11.18",dompurify:"^3.2.5",katex:"^0.16.22",khroma:"^2.1.0","lodash-es":"^4.17.23",marked:"^16.2.1",roughjs:"^4.6.6",stylis:"^4.3.6","ts-dedent":"^2.2.0",uuid:"^11.1.0"},devDependencies:{"@adobe/jsonschema2md":"^8.0.5","@iconify/types":"^2.0.0","@types/cytoscape":"^3.21.9","@types/cytoscape-fcose":"^2.2.4","@types/d3-sankey":"^0.12.4","@types/d3-scale":"^4.0.9","@types/d3-scale-chromatic":"^3.1.0","@types/d3-selection":"^3.0.11","@types/d3-shape":"^3.1.7","@types/jsdom":"^21.1.7","@types/katex":"^0.16.7","@types/lodash-es":"^4.17.12","@types/micromatch":"^4.0.9","@types/stylis":"^4.2.7","@types/uuid":"^10.0.0",ajv:"^8.17.1",canvas:"^3.1.2",chokidar:"3.6.0",concurrently:"^9.1.2","csstree-validator":"^4.0.1",globby:"^14.1.0",jison:"^0.4.18","js-base64":"^3.7.8",jsdom:"^26.1.0","json-schema-to-typescript":"^15.0.4",micromatch:"^4.0.8","path-browserify":"^1.0.1",prettier:"^3.5.3",remark:"^15.0.1","remark-frontmatter":"^5.0.0","remark-gfm":"^4.0.1",rimraf:"^6.0.1","start-server-and-test":"^2.0.13","type-fest":"^4.35.0",typedoc:"^0.28.12","typedoc-plugin-markdown":"^4.8.1",typescript:"~5.7.3","unist-util-flatmap":"^1.0.0","unist-util-visit":"^5.0.0",vitepress:"^1.6.4","vitepress-plugin-search":"1.0.4-alpha.22"},files:["dist/","README.md"],publishConfig:{access:"public"}},l2={exports:{}},vZ=l2.exports,b6;function xZ(){return b6||(b6=1,(function(t,e){(function(r,n){t.exports=n()})(vZ,(function(){var r=1e3,n=6e4,i=36e5,a="millisecond",s="second",l="minute",u="hour",h="day",f="week",p="month",y="quarter",g="year",b="date",v="Invalid Date",C=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,k=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,T={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(z){var Y=["th","st","nd","rd"],D=z%100;return"["+z+(Y[(D-20)%10]||Y[D]||Y[0])+"]"}},E=function(z,Y,D){var Z=String(z);return!Z||Z.length>=Y?z:""+Array(Y+1-Z.length).join(D)+z},L={s:E,z:function(z){var Y=-z.utcOffset(),D=Math.abs(Y),Z=Math.floor(D/60),Q=D%60;return(Y<=0?"+":"-")+E(Z,2,"0")+":"+E(Q,2,"0")},m:function z(Y,D){if(Y.date()<D.date())return-z(D,Y);var Z=12*(D.year()-Y.year())+(D.month()-Y.month()),Q=Y.clone().add(Z,p),it=D-Q<0,mt=Y.clone().add(Z+(it?-1:1),p);return+(-(Z+(D-Q)/(it?Q-mt:mt-Q))||0)},a:function(z){return z<0?Math.ceil(z)||0:Math.floor(z)},p:function(z){return{M:p,y:g,w:f,d:h,D:b,h:u,m:l,s,ms:a,Q:y}[z]||String(z||"").toLowerCase().replace(/s$/,"")},u:function(z){return z===void 0}},O="en",W={};W[O]=T;var q="$isDayjsObject",U=function(z){return z instanceof I||!(!z||!z[q])},j=function z(Y,D,Z){var Q;if(!Y)return O;if(typeof Y=="string"){var it=Y.toLowerCase();W[it]&&(Q=it),D&&(W[it]=D,Q=it);var mt=Y.split("-");if(!Q&&mt.length>1)return z(mt[0])}else{var K=Y.name;W[K]=Y,Q=K}return!Z&&Q&&(O=Q),Q||!Z&&O},M=function(z,Y){if(U(z))return z.clone();var D=typeof Y=="object"?Y:{};return D.date=z,D.args=arguments,new I(D)},N=L;N.l=j,N.i=U,N.w=function(z,Y){return M(z,{locale:Y.$L,utc:Y.$u,x:Y.$x,$offset:Y.$offset})};var I=(function(){function z(D){this.$L=j(D.locale,null,!0),this.parse(D),this.$x=this.$x||D.x||{},this[q]=!0}var Y=z.prototype;return Y.parse=function(D){this.$d=(function(Z){var Q=Z.date,it=Z.utc;if(Q===null)return new Date(NaN);if(N.u(Q))return new Date;if(Q instanceof Date)return new Date(Q);if(typeof Q=="string"&&!/Z$/i.test(Q)){var mt=Q.match(C);if(mt){var K=mt[2]-1||0,P=(mt[7]||"0").substring(0,3);return it?new Date(Date.UTC(mt[1],K,mt[3]||1,mt[4]||0,mt[5]||0,mt[6]||0,P)):new Date(mt[1],K,mt[3]||1,mt[4]||0,mt[5]||0,mt[6]||0,P)}}return new Date(Q)})(D),this.init()},Y.init=function(){var D=this.$d;this.$y=D.getFullYear(),this.$M=D.getMonth(),this.$D=D.getDate(),this.$W=D.getDay(),this.$H=D.getHours(),this.$m=D.getMinutes(),this.$s=D.getSeconds(),this.$ms=D.getMilliseconds()},Y.$utils=function(){return N},Y.isValid=function(){return this.$d.toString()!==v},Y.isSame=function(D,Z){var Q=M(D);return this.startOf(Z)<=Q&&Q<=this.endOf(Z)},Y.isAfter=function(D,Z){return M(D)<this.startOf(Z)},Y.isBefore=function(D,Z){return this.endOf(Z)<M(D)},Y.$g=function(D,Z,Q){return N.u(D)?this[Z]:this.set(Q,D)},Y.unix=function(){return Math.floor(this.valueOf()/1e3)},Y.valueOf=function(){return this.$d.getTime()},Y.startOf=function(D,Z){var Q=this,it=!!N.u(Z)||Z,mt=N.p(D),K=function(yt,kt){var Rt=N.w(Q.$u?Date.UTC(Q.$y,kt,yt):new Date(Q.$y,kt,yt),Q);return it?Rt:Rt.endOf(h)},P=function(yt,kt){return N.w(Q.toDate()[yt].apply(Q.toDate("s"),(it?[0,0,0,0]:[23,59,59,999]).slice(kt)),Q)},X=this.$W,et=this.$M,rt=this.$D,lt="set"+(this.$u?"UTC":"");switch(mt){case g:return it?K(1,0):K(31,11);case p:return it?K(1,et):K(0,et+1);case f:var ht=this.$locale().weekStart||0,bt=(X<ht?X+7:X)-ht;return K(it?rt-bt:rt+(6-bt),et);case h:case b:return P(lt+"Hours",0);case u:return P(lt+"Minutes",1);case l:return P(lt+"Seconds",2);case s:return P(lt+"Milliseconds",3);default:return this.clone()}},Y.endOf=function(D){return this.startOf(D,!1)},Y.$set=function(D,Z){var Q,it=N.p(D),mt="set"+(this.$u?"UTC":""),K=(Q={},Q[h]=mt+"Date",Q[b]=mt+"Date",Q[p]=mt+"Month",Q[g]=mt+"FullYear",Q[u]=mt+"Hours",Q[l]=mt+"Minutes",Q[s]=mt+"Seconds",Q[a]=mt+"Milliseconds",Q)[it],P=it===h?this.$D+(Z-this.$W):Z;if(it===p||it===g){var X=this.clone().set(b,1);X.$d[K](P),X.init(),this.$d=X.set(b,Math.min(this.$D,X.daysInMonth())).$d}else K&&this.$d[K](P);return this.init(),this},Y.set=function(D,Z){return this.clone().$set(D,Z)},Y.get=function(D){return this[N.p(D)]()},Y.add=function(D,Z){var Q,it=this;D=Number(D);var mt=N.p(Z),K=function(et){var rt=M(it);return N.w(rt.date(rt.date()+Math.round(et*D)),it)};if(mt===p)return this.set(p,this.$M+D);if(mt===g)return this.set(g,this.$y+D);if(mt===h)return K(1);
vendor: 11,566 bytes, line 299
299if(mt===f)return K(7);var P=(Q={},Q[l]=n,Q[u]=i,Q[s]=r,Q)[mt]||1,X=this.$d.getTime()+D*P;return N.w(X,this)},Y.subtract=function(D,Z){return this.add(-1*D,Z)},Y.format=function(D){var Z=this,Q=this.$locale();if(!this.isValid())return Q.invalidDate||v;var it=D||"YYYY-MM-DDTHH:mm:ssZ",mt=N.z(this),K=this.$H,P=this.$m,X=this.$M,et=Q.weekdays,rt=Q.months,lt=Q.meridiem,ht=function(kt,Rt,wt,qt){return kt&&(kt[Rt]||kt(Z,it))||wt[Rt].slice(0,qt)},bt=function(kt){return N.s(K%12||12,kt,"0")},yt=lt||function(kt,Rt,wt){var qt=kt<12?"AM":"PM";return wt?qt.toLowerCase():qt};return it.replace(k,(function(kt,Rt){return Rt||(function(wt){switch(wt){case"YY":return String(Z.$y).slice(-2);case"YYYY":return N.s(Z.$y,4,"0");case"M":return X+1;case"MM":return N.s(X+1,2,"0");case"MMM":return ht(Q.monthsShort,X,rt,3);case"MMMM":return ht(rt,X);case"D":return Z.$D;case"DD":return N.s(Z.$D,2,"0");case"d":return String(Z.$W);case"dd":return ht(Q.weekdaysMin,Z.$W,et,2);case"ddd":return ht(Q.weekdaysShort,Z.$W,et,3);case"dddd":return et[Z.$W];case"H":return String(K);case"HH":return N.s(K,2,"0");case"h":return bt(1);case"hh":return bt(2);case"a":return yt(K,P,!0);case"A":return yt(K,P,!1);case"m":return String(P);case"mm":return N.s(P,2,"0");case"s":return String(Z.$s);case"ss":return N.s(Z.$s,2,"0");case"SSS":return N.s(Z.$ms,3,"0");case"Z":return mt}return null})(kt)||mt.replace(":","")}))},Y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Y.diff=function(D,Z,Q){var it,mt=this,K=N.p(Z),P=M(D),X=(P.utcOffset()-this.utcOffset())*n,et=this-P,rt=function(){return N.m(mt,P)};switch(K){case g:it=rt()/12;break;case p:it=rt();break;case y:it=rt()/3;break;case f:it=(et-X)/6048e5;break;case h:it=(et-X)/864e5;break;case u:it=et/i;break;case l:it=et/n;break;case s:it=et/r;break;default:it=et}return Q?it:N.a(it)},Y.daysInMonth=function(){return this.endOf(p).$D},Y.$locale=function(){return W[this.$L]},Y.locale=function(D,Z){if(!D)return this.$L;var Q=this.clone(),it=j(D,Z,!0);return it&&(Q.$L=it),Q},Y.clone=function(){return N.w(this.$d,this)},Y.toDate=function(){return new Date(this.valueOf())},Y.toJSON=function(){return this.isValid()?this.toISOString():null},Y.toISOString=function(){return this.$d.toISOString()},Y.toString=function(){return this.$d.toUTCString()},z})(),V=I.prototype;return M.prototype=V,[["$ms",a],["$s",s],["$m",l],["$H",u],["$W",h],["$M",p],["$y",g],["$D",b]].forEach((function(z){V[z[1]]=function(Y){return this.$g(Y,z[0],z[1])}})),M.extend=function(z,Y){return z.$i||(z(Y,I,M),z.$i=!0),M},M.locale=j,M.isDayjs=U,M.unix=function(z){return M(1e3*z)},M.en=W[O],M.Ls=W,M.p={},M}))})(l2)),l2.exports}var SZ=xZ();const wZ=VS(SZ);var $E=Object.defineProperty,$=(t,e)=>$E(t,"name",{value:e,configurable:!0}),CZ=(t,e)=>{for(var r in e)$E(t,r,{get:e[r],enumerable:!0})},pu={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},xe={trace:$((...t)=>{},"trace"),debug:$((...t)=>{},"debug"),info:$((...t)=>{},"info"),warn:$((...t)=>{},"warn"),error:$((...t)=>{},"error"),fatal:$((...t)=>{},"fatal")},Ow=$(function(t="fatal"){let e=pu.fatal;typeof t=="string"?t.toLowerCase()in pu&&(e=pu[t]):typeof t=="number"&&(e=t),xe.trace=()=>{},xe.debug=()=>{},xe.info=()=>{},xe.warn=()=>{},xe.error=()=>{},xe.fatal=()=>{},e<=pu.fatal&&(xe.fatal=console.error?console.error.bind(console,Qs("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",Qs("FATAL"))),e<=pu.error&&(xe.error=console.error?console.error.bind(console,Qs("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",Qs("ERROR"))),e<=pu.warn&&(xe.warn=console.warn?console.warn.bind(console,Qs("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",Qs("WARN"))),e<=pu.info&&(xe.info=console.info?console.info.bind(console,Qs("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",Qs("INFO"))),e<=pu.debug&&(xe.debug=console.debug?console.debug.bind(console,Qs("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Qs("DEBUG"))),e<=pu.trace&&(xe.trace=console.debug?console.debug.bind(console,Qs("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Qs("TRACE")))},"setLogLevel"),Qs=$(t=>`%c${wZ().format("ss.SSS")} : ${t} : `,"format");const c2={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{const e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t),hsl2rgb:({h:t,s:e,l:r},n)=>{if(!e)return r*2.55;t/=360,e/=100,r/=100;const i=r<.5?r*(1+e):r+e-r*e,a=2*r-i;switch(n){case"r":return c2.hue2rgb(a,i,t+1/3)*255;case"g":return c2.hue2rgb(a,i,t)*255;case"b":return c2.hue2rgb(a,i,t-1/3)*255}},rgb2hsl:({r:t,g:e,b:r},n)=>{t/=255,e/=255,r/=255;const i=Math.max(t,e,r),a=Math.min(t,e,r),s=(i+a)/2;if(n==="l")return s*100;if(i===a)return 0;const l=i-a,u=s>.5?l/(2-i-a):l/(i+a);if(n==="s")return u*100;switch(i){case t:return((e-r)/l+(e<r?6:0))*60;case e:return((r-t)/l+2)*60;case r:return((t-e)/l+4)*60;default:return-1}}},kZ={clamp:(t,e,r)=>e>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),round:t=>Math.round(t*1e10)/1e10},_Z={dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}},Ur={channel:c2,lang:kZ,unit:_Z},xh={};for(let t=0;t<=255;t++)xh[t]=Ur.unit.dec2hex(t);const ao={ALL:0,RGB:1,HSL:2};class AZ{constructor(){this.type=ao.ALL}get(){return this.type}set(e){if(this.type&&this.type!==e)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=e}reset(){this.type=ao.ALL}is(e){return this.type===e}}class TZ{constructor(e,r){this.color=r,this.changed=!1,this.data=e,this.type=new AZ}set(e,r){return this.color=r,this.changed=!1,this.data=e,this.type.type=ao.ALL,this}_ensureHSL(){const e=this.data,{h:r,s:n,l:i}=e;r===void 0&&(e.h=Ur.channel.rgb2hsl(e,"h")),n===void 0&&(e.s=Ur.channel.rgb2hsl(e,"s")),i===void 0&&(e.l=Ur.channel.rgb2hsl(e,"l"))}_ensureRGB(){const e=this.data,{r,g:n,b:i}=e;r===void 0&&(e.r=Ur.channel.hsl2rgb(e,"r")),n===void 0&&(e.g=Ur.channel.hsl2rgb(e,"g")),i===void 0&&(e.b=Ur.channel.hsl2rgb(e,"b"))}get r(){const e=this.data,r=e.r;return!this.type.is(ao.HSL)&&r!==void 0?r:(this._ensureHSL(),Ur.channel.hsl2rgb(e,"r"))}get g(){const e=this.data,r=e.g;return!this.type.is(ao.HSL)&&r!==void 0?r:(this._ensureHSL(),Ur.channel.hsl2rgb(e,"g"))}get b(){const e=this.data,r=e.b;return!this.type.is(ao.HSL)&&r!==void 0?r:(this._ensureHSL(),Ur.channel.hsl2rgb(e,"b"))}get h(){const e=this.data,r=e.h;return!this.type.is(ao.RGB)&&r!==void 0?r:(this._ensureRGB(),Ur.channel.rgb2hsl(e,"h"))}get s(){const e=this.data,r=e.s;return!this.type.is(ao.RGB)&&r!==void 0?r:(this._ensureRGB(),Ur.channel.rgb2hsl(e,"s"))}get l(){const e=this.data,r=e.l;return!this.type.is(ao.RGB)&&r!==void 0?r:(this._ensureRGB(),Ur.channel.rgb2hsl(e,"l"))}get a(){return this.data.a}set r(e){this.type.set(ao.RGB),this.changed=!0,this.data.r=e}set g(e){this.type.set(ao.RGB),this.changed=!0,this.data.g=e}set b(e){this.type.set(ao.RGB),this.changed=!0,this.data.b=e}set h(e){this.type.set(ao.HSL),this.changed=!0,this.data.h=e}set s(e){this.type.set(ao.HSL),this.changed=!0,this.data.s=e}set l(e){this.type.set(ao.HSL),this.changed=!0,this.data.l=e}set a(e){this.changed=!0,this.data.a=e}}const Jy=new TZ({r:0,g:0,b:0,a:0},"transparent"),pp={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(t.charCodeAt(0)!==35)return;const e=t.match(pp.re);if(!e)return;const r=e[1],n=parseInt(r,16),i=r.length,a=i%4===0,s=i>4,l=s?1:17,u=s?8:4,h=a?0:-1,f=s?255:15;return Jy.set({r:(n>>u*(h+3)&f)*l,g:(n>>u*(h+2)&f)*l,b:(n>>u*(h+1)&f)*l,a:a?(n&f)*l/255:1},t)},stringify:t=>{const{r:e,g:r,b:n,a:i}=t;return i<1?`#${xh[Math.round(e)]}${xh[Math.round(r)]}${xh[Math.round(n)]}${xh[Math.round(i*255)]}`:`#${xh[Math.round(e)]}${xh[Math.round(r)]}${xh[Math.round(n)]}`}},_f={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{const e=t.match(_f.hueRe);if(e){const[,r,n]=e;switch(n){case"grad":return Ur.channel.clamp.h(parseFloat(r)*.9);case"rad":return Ur.channel.clamp.h(parseFloat(r)*180/Math.PI);case"turn":return Ur.channel.clamp.h(parseFloat(r)*360)}}return Ur.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(e!==104&&e!==72)return;const r=t.match(_f.re);if(!r)return;const[,n,i,a,s,l]=r;return Jy.set({h:_f._hue2deg(n),s:Ur.channel.clamp.s(parseFloat(i)),l:Ur.channel.clamp.l(parseFloat(a)),a:s?Ur.channel.clamp.a(l?parseFloat(s)/100:parseFloat(s)):1},t)},stringify:t=>{const{h:e,s:r,l:n,a:i}=t;return i<1?`hsla(${Ur.lang.round(e)}, ${Ur.lang.round(r)}%, ${Ur.lang.round(n)}%, ${i})`:`hsl(${Ur.lang.round(e)}, ${Ur.lang.round(r)}%, ${Ur.lang.round(n)}%)`}},S0={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",s
vendor: 8,167 bytes, line 299
299almon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();const e=S0.colors[t];if(e)return pp.parse(e)},stringify:t=>{const e=pp.stringify(t);for(const r in S0.colors)if(S0.colors[r]===e)return r}},r0={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{const e=t.charCodeAt(0);if(e!==114&&e!==82)return;const r=t.match(r0.re);if(!r)return;const[,n,i,a,s,l,u,h,f]=r;return Jy.set({r:Ur.channel.clamp.r(i?parseFloat(n)*2.55:parseFloat(n)),g:Ur.channel.clamp.g(s?parseFloat(a)*2.55:parseFloat(a)),b:Ur.channel.clamp.b(u?parseFloat(l)*2.55:parseFloat(l)),a:h?Ur.channel.clamp.a(f?parseFloat(h)/100:parseFloat(h)):1},t)},stringify:t=>{const{r:e,g:r,b:n,a:i}=t;return i<1?`rgba(${Ur.lang.round(e)}, ${Ur.lang.round(r)}, ${Ur.lang.round(n)}, ${Ur.lang.round(i)})`:`rgb(${Ur.lang.round(e)}, ${Ur.lang.round(r)}, ${Ur.lang.round(n)})`}},jc={format:{keyword:S0,hex:pp,rgb:r0,rgba:r0,hsl:_f,hsla:_f},parse:t=>{if(typeof t!="string")return t;const e=pp.parse(t)||r0.parse(t)||_f.parse(t)||S0.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(ao.HSL)||t.data.r===void 0?_f.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?r0.stringify(t):pp.stringify(t)},jE=(t,e)=>{const r=jc.parse(t);for(const n in e)r[n]=Ur.channel.clamp[n](e[n]);return jc.stringify(r)},w0=(t,e,r=0,n=1)=>{if(typeof t!="number")return jE(t,{a:e});const i=Jy.set({r:Ur.channel.clamp.r(t),g:Ur.channel.clamp.g(e),b:Ur.channel.clamp.b(r),a:Ur.channel.clamp.a(n)});return jc.stringify(i)},LZ=t=>{const{r:e,g:r,b:n}=jc.parse(t),i=.2126*Ur.channel.toLinear(e)+.7152*Ur.channel.toLinear(r)+.0722*Ur.channel.toLinear(n);return Ur.lang.round(i)},EZ=t=>LZ(t)>=.5,sm=t=>!EZ(t),DE=(t,e,r)=>{const n=jc.parse(t),i=n[e],a=Ur.channel.clamp[e](i+r);return i!==a&&(n[e]=a),jc.stringify(n)},ar=(t,e)=>DE(t,"l",e),Lr=(t,e)=>DE(t,"l",-e),$t=(t,e)=>{const r=jc.parse(t),n={};for(const i in e)e[i]&&(n[i]=r[i]+e[i]);return jE(t,n)},MZ=(t,e,r=50)=>{const{r:n,g:i,b:a,a:s}=jc.parse(t),{r:l,g:u,b:h,a:f}=jc.parse(e),p=r/100,y=p*2-1,g=s-f,v=((y*g===-1?y:(y+g)/(1+y*g))+1)/2,C=1-v,k=n*v+l*C,T=i*v+u*C,E=a*v+h*C,L=s*p+f*(1-p);return w0(k,T,E,L)},Ue=(t,e=100)=>{const r=jc.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,MZ(r,t,e)};const{entries:IE,setPrototypeOf:v6,isFrozen:RZ,getPrototypeOf:NZ,getOwnPropertyDescriptor:BZ}=Object;let{freeze:Ao,seal:ol,create:u2}=Object,{apply:Y5,construct:X5}=typeof Reflect<"u"&&Reflect;Ao||(Ao=function(e){return e});ol||(ol=function(e){return e});Y5||(Y5=function(e,r){for(var n=arguments.length,i=new Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];return e.apply(r,i)});X5||(X5=function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return new e(...n)});const j1=To(Array.prototype.forEach),OZ=To(Array.prototype.lastIndexOf),x6=To(Array.prototype.pop),Fg=To(Array.prototype.push),PZ=To(Array.prototype.splice),h2=To(String.prototype.toLowerCase),jx=To(String.prototype.toString),Dx=To(String.prototype.match),qg=To(String.prototype.replace),$Z=To(String.prototype.indexOf),jZ=To(String.prototype.trim),ws=To(Object.prototype.hasOwnProperty),xo=To(RegExp.prototype.test),Hg=DZ(TypeError);function To(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return Y5(t,e,n)}}function DZ(t){return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return X5(t,r)}}function sn(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:h2;v6&&v6(t,null);let n=e.length;for(;n--;){let i=e[n];if(typeof i=="string"){const a=r(i);a!==i&&(RZ(e)||(e[n]=a),i=a)}t[i]=!0}return t}function IZ(t){for(let e=0;e<t.length;e++)ws(t,e)||(t[e]=null);return t}function xc(t){const e=u2(null);for(const[r,n]of IE(t))ws(t,r)&&(Array.isArray(n)?e[r]=IZ(n):n&&typeof n=="object"&&n.constructor===Object?e[r]=xc(n):e[r]=n);return e}function Ug(t,e){for(;t!==null;){const n=BZ(t,e);if(n){if(n.get)return To(n.get);if(typeof n.value=="function")return To(n.value)}t=NZ(t)}function r(){return null}return r}const S6=Ao(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ix=Ao(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),zx=Ao(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),zZ=Ao(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Fx=Ao(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),FZ=Ao(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),w6=Ao(["#text"]),C6=Ao(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
299spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),qx=Ao(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),k6=Ao(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),D1=Ao(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),qZ=ol(/\{\{[\w\W]*|[\w\W]*\}\}/gm),HZ=ol(/<%[\w\W]*|[\w\W]*%>/gm),UZ=ol(/\$\{[\w\W]*/gm),WZ=ol(/^data-[\-\w.\u00B7-\uFFFF]+$/),GZ=ol(/^aria-[\-\w]+$/),zE=ol(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),VZ=ol(/^(?:\w+script|data):/i),YZ=ol(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),FE=ol(/^html$/i),XZ=ol(/^[a-z][.\w]*(-[.\w]+)+$/i);var _6=Object.freeze({__proto__:null,ARIA_ATTR:GZ,ATTR_WHITESPACE:YZ,CUSTOM_ELEMENT:XZ,DATA_ATTR:WZ,DOCTYPE_NAME:FE,ERB_EXPR:HZ,IS_ALLOWED_URI:zE,IS_SCRIPT_OR_DATA:VZ,MUSTACHE_EXPR:qZ,TMPLIT_EXPR:UZ});const Wg={element:1,text:3,progressingInstruction:7,comment:8,document:9},KZ=function(){return typeof window>"u"?null:window},ZZ=function(e,r){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null;
vendor: 14,346 bytes, lines 299-300
299const i="data-tt-policy-suffix";r&&r.hasAttribute(i)&&(n=r.getAttribute(i));const a="dompurify"+(n?"#"+n:"");try{return e.createPolicy(a,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}},A6=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function qE(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:KZ();const e=ge=>qE(ge);if(e.version="3.3.2",e.removed=[],!t||!t.document||t.document.nodeType!==Wg.document||!t.Element)return e.isSupported=!1,e;let{document:r}=t;const n=r,i=n.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:u,NodeFilter:h,NamedNodeMap:f=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:p,DOMParser:y,trustedTypes:g}=t,b=u.prototype,v=Ug(b,"cloneNode"),C=Ug(b,"remove"),k=Ug(b,"nextSibling"),T=Ug(b,"childNodes"),E=Ug(b,"parentNode");if(typeof s=="function"){const ge=r.createElement("template");ge.content&&ge.content.ownerDocument&&(r=ge.content.ownerDocument)}let L,O="";const{implementation:W,createNodeIterator:q,createDocumentFragment:U,getElementsByTagName:j}=r,{importNode:M}=n;let N=A6();e.isSupported=typeof IE=="function"&&typeof E=="function"&&W&&W.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:I,ERB_EXPR:V,TMPLIT_EXPR:z,DATA_ATTR:Y,ARIA_ATTR:D,IS_SCRIPT_OR_DATA:Z,ATTR_WHITESPACE:Q,CUSTOM_ELEMENT:it}=_6;let{IS_ALLOWED_URI:mt}=_6,K=null;const P=sn({},[...S6,...Ix,...zx,...Fx,...w6]);let X=null;const et=sn({},[...C6,...qx,...k6,...D1]);let rt=Object.seal(u2(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),lt=null,ht=null;const bt=Object.seal(u2(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let yt=!0,kt=!0,Rt=!1,wt=!0,qt=!1,Ht=!0,at=!1,ae=!1,Kt=!1,le=!1,Ot=!1,be=!1,Nt=!0,Dt=!1;const Vt="user-content-";let de=!0,Be=!1,_e={},Ne=null;const Oe=sn({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let we=null;const Ae=sn({},["audio","video","img","source","image","track"]);let ce=null;const Er=sn({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),He="http://www.w3.org/1998/Math/MathML",Jt="http://www.w3.org/2000/svg",Se="http://www.w3.org/1999/xhtml";let Pe=Se,je=!1,Et=null;const fe=sn({},[He,Jt,Se],jx);let te=sn({},["mi","mo","mn","ms","mtext"]),Ze=sn({},["annotation-xml"]);const Ge=sn({},["title","style","font","a","script"]);let Me=null;const lr=["application/xhtml+xml","text/html"],Sn="text/html";let Xt=null,me=null;const Br=r.createElement("form"),ee=function(vt){return vt instanceof RegExp||vt instanceof Function},ze=function(){let vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(me&&me===vt)){if((!vt||typeof vt!="object")&&(vt={}),vt=xc(vt),Me=lr.indexOf(vt.PARSER_MEDIA_TYPE)===-1?Sn:vt.PARSER_MEDIA_TYPE,Xt=Me==="application/xhtml+xml"?jx:h2,K=ws(vt,"ALLOWED_TAGS")?sn({},vt.ALLOWED_TAGS,Xt):P,X=ws(vt,"ALLOWED_ATTR")?sn({},vt.ALLOWED_ATTR,Xt):et,Et=ws(vt,"ALLOWED_NAMESPACES")?sn({},vt.ALLOWED_NAMESPACES,jx):fe,ce=ws(vt,"ADD_URI_SAFE_ATTR")?sn(xc(Er),vt.ADD_URI_SAFE_ATTR,Xt):Er,we=ws(vt,"ADD_DATA_URI_TAGS")?sn(xc(Ae),vt.ADD_DATA_URI_TAGS,Xt):Ae,Ne=ws(vt,"FORBID_CONTENTS")?sn({},vt.FORBID_CONTENTS,Xt):Oe,lt=ws(vt,"FORBID_TAGS")?sn({},vt.FORBID_TAGS,Xt):xc({}),ht=ws(vt,"FORBID_ATTR")?sn({},vt.FORBID_ATTR,Xt):xc({}),_e=ws(vt,"USE_PROFILES")?vt.USE_PROFILES:!1,yt=vt.ALLOW_ARIA_ATTR!==!1,kt=vt.ALLOW_DATA_ATTR!==!1,Rt=vt.ALLOW_UNKNOWN_PROTOCOLS||!1,wt=vt.ALLOW_SELF_CLOSE_IN_ATTR!==!1,qt=vt.SAFE_FOR_TEMPLATES||!1,Ht=vt.SAFE_FOR_XML!==!1,at=vt.WHOLE_DOCUMENT||!1,le=vt.RETURN_DOM||!1,Ot=vt.RETURN_DOM_FRAGMENT||!1,be=vt.RETURN_TRUSTED_TYPE||!1,Kt=vt.FORCE_BODY||!1,Nt=vt.SANITIZE_DOM!==!1,Dt=vt.SANITIZE_NAMED_PROPS||!1,de=vt.KEEP_CONTENT!==!1,Be=vt.IN_PLACE||!1,mt=vt.ALLOWED_URI_REGEXP||zE,Pe=vt.NAMESPACE||Se,te=vt.MATHML_TEXT_INTEGRATION_POINTS||te,Ze=vt.HTML_INTEGRATION_POINTS||Ze,rt=vt.CUSTOM_ELEMENT_HANDLING||{},vt.CUSTOM_ELEMENT_HANDLING&&ee(vt.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(rt.tagNameCheck=vt.CUSTOM_ELEMENT_HANDLING.tagNameCheck),vt.CUSTOM_ELEMENT_HANDLING&&ee(vt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(rt.attributeNameCheck=vt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),vt.CUSTOM_ELEMENT_HANDLING&&typeof vt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(rt.allowCustomizedBuiltInElements=vt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),qt&&(kt=!1),Ot&&(le=!0),_e&&(K=sn({},w6),X=u2(null),_e.html===!0&&(sn(K,S6),sn(X,C6)),_e.svg===!0&&(sn(K,Ix),sn(X,qx),sn(X,D1)),_e.svgFilters===!0&&(sn(K,zx),sn(X,qx),sn(X,D1)),_e.mathMl===!0&&(sn(K,Fx),sn(X,k6),sn(X,D1))),ws(vt,"ADD_TAGS")||(bt.tagCheck=null),ws(vt,"ADD_ATTR")||(bt.attributeCheck=null),vt.ADD_TAGS&&(typeof vt.ADD_TAGS=="function"?bt.tagCheck=vt.ADD_TAGS:(K===P&&(K=xc(K)),sn(K,vt.ADD_TAGS,Xt))),vt.ADD_ATTR&&(typeof vt.ADD_ATTR=="function"?bt.attributeCheck=vt.ADD_ATTR:(X===et&&(X=xc(X)),sn(X,vt.ADD_ATTR,Xt))),vt.ADD_URI_SAFE_ATTR&&sn(ce,vt.ADD_URI_SAFE_ATTR,Xt),vt.FORBID_CONTENTS&&(Ne===Oe&&(Ne=xc(Ne)),sn(Ne,vt.FORBID_CONTENTS,Xt)),vt.ADD_FORBID_CONTENTS&&(Ne===Oe&&(Ne=xc(Ne)),sn(Ne,vt.ADD_FORBID_CONTENTS,Xt)),de&&(K["#text"]=!0),at&&sn(K,["html","head","body"]),K.table&&(sn(K,["tbody"]),delete lt.tbody),vt.TRUSTED_TYPES_POLICY){if(typeof vt.TRUSTED_TYPES_POLICY.createHTML!="function")throw Hg('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof vt.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Hg('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');L=vt.TRUSTED_TYPES_POLICY,O=L.createHTML("")}else L===void 0&&(L=ZZ(g,i)),L!==null&&typeof O=="string"&&(O=L.createHTML(""));Ao&&Ao(vt),me=vt}},br=sn({},[...Ix,...zx,...zZ]),rr=sn({},[...Fx,...FZ]),jr=function(vt){let Zt=E(vt);(!Zt||!Zt.tagName)&&(Zt={namespaceURI:Pe,tagName:"template"});const St=h2(vt.tagName),ke=h2(Zt.tagName);return Et[vt.namespaceURI]?vt.namespaceURI===Jt?Zt.namespaceURI===Se?St==="svg":Zt.namespaceURI===He?St==="svg"&&(ke==="annotation-xml"||te[ke]):!!br[St]:vt.namespaceURI===He?Zt.namespaceURI===Se?St==="math":Zt.namespaceURI===Jt?St==="math"&&Ze[ke]:!!rr[St]:vt.namespaceURI===Se?Zt.namespaceURI===Jt&&!Ze[ke]||Zt.namespaceURI===He&&!te[ke]?!1:!rr[St]&&(Ge[St]||!br[St]):!!(Me==="application/xhtml+xml"&&Et[vt.namespaceURI]):!1},vr=function(vt){Fg(e.removed,{element:vt});try{E(vt).removeChild(vt)}catch{C(vt)}},Fr=function(vt,Zt){try{Fg(e.removed,{attribute:Zt.getAttributeNode(vt),from:Zt})}catch{Fg(e.removed,{attribute:null,from:Zt})}if(Zt.removeAttribute(vt),vt==="is")if(le||Ot)try{vr(Zt)}catch{}else try{Zt.setAttribute(vt,"")}catch{}},Or=function(vt){let Zt=null,St=null;if(Kt)vt="<remove></remove>"+vt;else{const Je=Dx(vt,/^[\r\n\t ]+/);St=Je&&Je[0]}Me==="application/xhtml+xml"&&Pe===Se&&(vt='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+vt+"</body></html>");const ke=L?L.createHTML(vt):vt;if(Pe===Se)try{Zt=new y().parseFromString(ke,Me)}catch{}if(!Zt||!Zt.documentElement){Zt=W.createDocument(Pe,"template",null);try{Zt.documentElement.innerHTML=je?O:ke}catch{}}const zr=Zt.body||Zt.documentElement;return vt&&St&&zr.insertBefore(r.createTextNode(St),zr.childNodes[0]||null),Pe===Se?j.call(Zt,at?"html":"body")[0]:at?Zt.documentElement:zr},dn=function(vt){return q.call(vt.ownerDocument||vt,vt,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},Dr=function(vt){return vt instanceof p&&(typeof vt.nodeName!="string"||typeof vt.textContent!="string"||typeof vt.removeChild!="function"||!(vt.attributes instanceof f)||typeof vt.removeAttribute!="function"||typeof vt.setAttribute!="function"||typeof vt.namespaceURI!="string"||typeof vt.insertBefore!="function"||typeof vt.hasChildNodes!="function")},mr=function(vt){return typeof l=="function"&&vt instanceof l};function Cr(ge,vt,Zt){j1(ge,St=>{St.call(e,vt,Zt,me)})}const Rr=function(vt){let Zt=null;if(Cr(N.beforeSanitizeElements,vt,null),Dr(vt))return vr(vt),!0;const St=Xt(vt.nodeName);if(Cr(N.uponSanitizeElement,vt,{tagName:St,allowedTags:K}),Ht&&vt.hasChildNodes()&&!mr(vt.firstElementChild)&&xo(/<[/\w!]/g,vt.innerHTML)&&xo(/<[/\w!]/g,vt.textContent)||vt.nodeType===Wg.progressingInstruction||Ht&&vt.nodeType===Wg.comment&&xo(/<[/\w]/g,vt.data))return vr(vt),!0;if(!(bt.tagCheck instanceof Function&&bt.tagCheck(St))&&(!K[St]||lt[St])){if(!lt[St]&&Gt(St)&&(rt.tagNameCheck instanceof RegExp&&xo(rt.tagNameCheck,St)||rt.tagNameCheck instanceof Function&&rt.tagNameCheck(St)))return!1;if(de&&!Ne[St]){const ke=E(vt)||vt.parentNode,zr=T(vt)||vt.childNodes;if(zr&&ke){const Je=zr.length;for(let an=Je-1;an>=0;--an){const Wr=v(zr[an],!0);Wr.__removalCount=(vt.__removalCount||0)+1,ke.insertBefore(Wr,k(vt))}}}return vr(vt),!0}return vt instanceof u&&!jr(vt)||(St==="noscript"||St==="noembed"||St==="noframes")&&xo(/<\/no(script|embed|frames)/i,vt.innerHTML)?(vr(vt),!0):(qt&&vt.nodeType===Wg.text&&(Zt=vt.textContent,j1([I,V,z],ke=>{Zt=qg(Zt,ke," ")}),vt.textContent!==Zt&&(Fg(e.removed,{element:vt.cloneNode()}),vt.textContent=Zt)),Cr(N.afterSanitizeElements,vt,null),!1)},Wt=function(vt,Zt,St){if(ht[Zt]||Nt&&(Zt==="id"||Zt==="name")&&(St in r||St in Br))return!1;if(!(kt&&!ht[Zt]&&xo(Y,Zt))){if(!(yt&&xo(D,Zt))){if(!(bt.attributeCheck instanceof Function&&bt.attributeCheck(Zt,vt))){if(!X[Zt]||ht[Zt]){if(!(Gt(vt)&&(rt.tagNameCheck instanceof RegExp&&xo(rt.tagNameCheck,vt)||rt.tagNameCheck instanceof Function&&rt.tagNameCheck(vt))&&(rt.attributeNameCheck instanceof RegExp&&xo(rt.attributeNameCheck,Zt)||rt.attributeNameCheck instanceof Function&&rt.attributeNameCheck(Zt,vt))||Zt==="is"&&rt.allowCustomizedBuiltInElements&&(rt.tagNameCheck instanceof RegExp&&xo(rt.tagNameCheck,St)||rt.tagNameCheck instanceof Function&&rt.tagNameCheck(St))))return!1}else if(!ce[Zt]){if(!xo(mt,qg(St,Q,""))){if(!((Zt==="src"||Zt==="xlink:href"||Zt==="href")&&vt!=="script"&&$Z(St,"data:")===0&&we[vt])){if(!(Rt&&!xo(Z,qg(St,Q,"")))){if(St)return!1}}}}}}}return!0},Gt=function(vt){return vt!=="annotation-xml"&&Dx(vt,it)},Re=function(vt){Cr(N.beforeSanitizeAttributes,vt,null);const{attributes:Zt}=vt;if(!Zt||Dr(vt))return;const St={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:X,forceKeepAttr:void 0};let ke=Zt.length;for(;ke--;){const zr=Zt[ke],{name:Je,namespaceURI:an,value:Wr}=zr,tr=Xt(Je),wn=Wr;let pn=Je==="value"?wn:jZ(wn);if(St.attrName=tr,St.attrValue=pn,St.keepAttr=!0,St.forceKeepAttr=void 0,Cr(N.uponSanitizeAttribute,vt,St),pn=St.attrValue,Dt&&(tr==="id"||tr==="name")&&(Fr(Je,vt),pn=Vt+pn),Ht&&xo(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,pn)){Fr(Je,vt);continue}if(tr==="attributename"&&Dx(pn,"href")){Fr(Je,vt);continue}if(St.forceKeepAttr)continue;if(!St.keepAttr){Fr(Je,vt);continue}if(!wt&&xo(/\/>/i,pn)){Fr(Je,vt);continue}qt&&j1([I,V,z],Lo=>{pn=qg(pn,Lo," ")});const Li=Xt(vt.nodeName);if(!Wt(Li,tr,pn)){Fr(Je,vt);continue}if(L&&typeof g=="object"&&typeof g.getAttributeType=="function"&&!an)switch(g.getAttributeType(Li,tr)){case"TrustedHTML":{pn=L.createHTML(pn);break}case"TrustedScriptURL":{pn=L.createScriptURL(pn);break}}if(pn!==wn)try{an?vt.setAttributeNS(an,Je,pn):vt.setAttribute(Je,pn),Dr(vt)?vr(vt):x6(e.removed)}catch{Fr(Je,vt)}}Cr(N.afterSanitizeAttributes,vt,null)},Ke=function ge(vt){let Zt=null;const St=dn(vt);for(Cr(N.beforeSanitizeShadowDOM,vt,null);Zt=St.nextNode();)Cr(N.uponSanitizeShadowNode,Zt,null),Rr(Zt),Re(Zt),Zt.content instanceof a&&ge(Zt.content);Cr(N.afterSanitizeShadowDOM,vt,null)};return e.sanitize=function(ge){let vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Zt=null,St=null,ke=null,zr=null;if(je=!ge,je&&(ge="<!-->"),typeof ge!="string"&&!mr(ge))if(typeof ge.toString=="function"){if(ge=ge.toString(),typeof ge!="string")throw Hg("dirty is not a string, aborting")}else throw Hg("toString is not a function");if(!e.isSupported)return ge;if(ae||ze(vt),e.removed=[],typeof ge=="string"&&(Be=!1),Be){if(ge.nodeName){const Wr=Xt(ge.nodeName);if(!K[Wr]||lt[Wr])throw Hg("root node is forbidden and cannot be sanitized in-place")}}else if(ge instanceof l)Zt=Or("<!---->"),St=Zt.ownerDocument.importNode(ge,!0),St.nodeType===Wg.element&&St.nodeName==="BODY"||St.nodeName==="HTML"?Zt=St:Zt.appendChild(St);else{if(!le&&!qt&&!at&&ge.indexOf("<")===-1)return L&&be?L.createHTML(ge):ge;if(Zt=Or(ge),!Zt)return le?null:be?O:""}Zt&&Kt&&vr(Zt.firstChild);const Je=dn(Be?ge:Zt);for(;ke=Je.nextNode();)Rr(ke),Re(ke),ke.content instanceof a&&Ke(ke.content);if(Be)return ge;if(le){if(Ot)for(zr=U.call(Zt.ownerDocument);Zt.firstChild;)zr.appendChild(Zt.firstChild);else zr=Zt;return(X.shadowroot||X.shadowrootmode)&&(zr=M.call(n,zr,!0)),zr}let an=at?Zt.outerHTML:Zt.innerHTML;return at&&K["!doctype"]&&Zt.ownerDocument&&Zt.ownerDocument.doctype&&Zt.ownerDocument.doctype.name&&xo(FE,Zt.ownerDocument.doctype.name)&&(an="<!DOCTYPE "+Zt.ownerDocument.doctype.name+`>
300`+an),qt&&j1([I,V,z],Wr=>{an=qg(an,Wr," ")}),L&&be?L.createHTML(an):an},e.setConfig=function(){let ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ze(ge),ae=!0},e.clearConfig=function(){me=null,ae=!1},e.isValidAttribute=function(ge,vt,Zt){me||ze({});const St=Xt(ge),ke=Xt(vt);return Wt(St,ke,Zt)},e.addHook=function(ge,vt){typeof vt=="function"&&Fg(N[ge],vt)},e.removeHook=function(ge,vt){if(vt!==void 0){const Zt=OZ(N[ge],vt);return Zt===-1?void 0:PZ(N[ge],Zt,1)[0]}return x6(N[ge])},e.removeHooks=function(ge){N[ge]=[]},e.removeAllHooks=function(){N=A6()},e}var Hf=qE();const QZ=Object.freeze(Object.defineProperty({__proto__:null,default:Hf},Symbol.toStringTag,{value:"Module"}));var HE=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,C0=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2}
vendor: 5,952 bytes, lines 300-301
300)?/gi,JZ=/\s*%%.*\n/gm,yp,UE=(yp=class extends Error{constructor(e){super(e),this.name="UnknownDiagramError"}},$(yp,"UnknownDiagramError"),yp),Uf={},Pw=$(function(t,e){t=t.replace(HE,"").replace(C0,"").replace(JZ,`
301`);for(const[r,{detector:n}]of Object.entries(Uf))if(n(t,e))return r;throw new UE(`No diagram type detected matching given configuration for text: ${t}`)},"detectType"),K5=$((...t)=>{for(const{id:e,detector:r,loader:n}of t)WE(e,r,n)},"registerLazyLoadedDiagrams"),WE=$((t,e,r)=>{Uf[t]&&xe.warn(`Detector with key ${t} already exists. Overwriting.`),Uf[t]={detector:e,loader:r},xe.debug(`Detector with key ${t} added${r?" with loader":""}`)},"addDetector"),tQ=$(t=>Uf[t].loader,"getDiagramLoader"),Z5=$((t,e,{depth:r=2,clobber:n=!1}={})=>{const i={depth:r,clobber:n};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach(a=>Z5(t,a,i)),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach(a=>{t.includes(a)||t.push(a)}),t):t===void 0||r<=0?t!=null&&typeof t=="object"&&typeof e=="object"?Object.assign(t,e):e:(e!==void 0&&typeof t=="object"&&typeof e=="object"&&Object.keys(e).forEach(a=>{typeof e[a]=="object"&&(t[a]===void 0||typeof t[a]=="object")?(t[a]===void 0&&(t[a]=Array.isArray(e[a])?[]:{}),t[a]=Z5(t[a],e[a],{depth:r-1,clobber:n})):(n||typeof t[a]!="object"&&typeof e[a]!="object")&&(t[a]=e[a])}),t)},"assignWithDepth"),xa=Z5,tb="#ffffff",eb="#f2f2f2",Co=$((t,e)=>e?$t(t,{s:-40,l:10}):$t(t,{s:-40,l:-10}),"mkBorder"),bp,eQ=(bp=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||$t(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||$t(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||Co(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||Co(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||Co(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||Co(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||Ue(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Ue(this.tertiaryColor),this.lineColor=this.lineColor||Ue(this.background),this.arrowheadColor=this.arrowheadColor||Ue(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Lr(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||Lr(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Ue(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||ar(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.vertLineColor=this.vertLineColor||"navy",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.darkMode?(this.rowOdd=this.rowOdd||Lr(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||Lr(this.mainBkg,10)):(this.rowOdd=this.rowOdd||ar(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||ar(this.mainBkg,5)),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroun
vendor: 5,724 bytes, line 301
301dColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||$t(this.primaryColor,{h:30}),this.cScale4=this.cScale4||$t(this.primaryColor,{h:60}),this.cScale5=this.cScale5||$t(this.primaryColor,{h:90}),this.cScale6=this.cScale6||$t(this.primaryColor,{h:120}),this.cScale7=this.cScale7||$t(this.primaryColor,{h:150}),this.cScale8=this.cScale8||$t(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||$t(this.primaryColor,{h:270}),this.cScale10=this.cScale10||$t(this.primaryColor,{h:300}),this.cScale11=this.cScale11||$t(this.primaryColor,{h:330}),this.darkMode)for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=Lr(this["cScale"+r],75);else for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=Lr(this["cScale"+r],25);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleInv"+r]=this["cScaleInv"+r]||Ue(this["cScale"+r]);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this.darkMode?this["cScalePeer"+r]=this["cScalePeer"+r]||ar(this["cScale"+r],10):this["cScalePeer"+r]=this["cScalePeer"+r]||Lr(this["cScale"+r],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleLabel"+r]=this["cScaleLabel"+r]||this.scaleLabelColor;const e=this.darkMode?-4:-1;for(let r=0;r<5;r++)this["surface"+r]=this["surface"+r]||$t(this.mainBkg,{h:180,s:-15,l:e*(5+r*3)}),this["surfacePeer"+r]=this["surfacePeer"+r]||$t(this.mainBkg,{h:180,s:-15,l:e*(8+r*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||$t(this.primaryColor,{h:64}),this.fillType3=this.fillType3||$t(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||$t(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||$t(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||$t(this.primaryColor,{h:128}),this.fillType7=this.fillType7||$t(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||$t(this.primaryColor,{l:-10}),this.pie5=this.pie5||$t(this.secondaryColor,{l:-10}),this.pie6=this.pie6||$t(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||$t(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||$t(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||$t(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||$t(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||$t(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||$t(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.archEdgeColor=this.archEdgeColor||"#777",this.archEdgeArrowColor=this.archEdgeArrowColor||"#777",this.archEdgeWidth=this.archEdgeWidth||"3",this.archGroupBorderColor=this.archGroupBorderColor||"#000",this.archGroupBorderWidth=this.archGroupBorderWidth||"2px",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||$t(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||$t(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||$t(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||$t(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||$t(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||$t(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||sm(this.quadrant1Fill)?ar(this.quadrant1Fill):Lr(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExter
vendor: 4,991 bytes, line 301
301nalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?Lr(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||$t(this.primaryColor,{h:-30}),this.git4=this.git4||$t(this.primaryColor,{h:-60}),this.git5=this.git5||$t(this.primaryColor,{h:-90}),this.git6=this.git6||$t(this.primaryColor,{h:60}),this.git7=this.git7||$t(this.primaryColor,{h:120}),this.darkMode?(this.git0=ar(this.git0,25),this.git1=ar(this.git1,25),this.git2=ar(this.git2,25),this.git3=ar(this.git3,25),this.git4=ar(this.git4,25),this.git5=ar(this.git5,25),this.git6=ar(this.git6,25),this.git7=ar(this.git7,25)):(this.git0=Lr(this.git0,25),this.git1=Lr(this.git1,25),this.git2=Lr(this.git2,25),this.git3=Lr(this.git3,25),this.git4=Lr(this.git4,25),this.git5=Lr(this.git5,25),this.git6=Lr(this.git6,25),this.git7=Lr(this.git7,25)),this.gitInv0=this.gitInv0||Ue(this.git0),this.gitInv1=this.gitInv1||Ue(this.git1),this.gitInv2=this.gitInv2||Ue(this.git2),this.gitInv3=this.gitInv3||Ue(this.git3),this.gitInv4=this.gitInv4||Ue(this.git4),this.gitInv5=this.gitInv5||Ue(this.git5),this.gitInv6=this.gitInv6||Ue(this.git6),this.gitInv7=this.gitInv7||Ue(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||tb,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||eb}calculate(e){if(typeof e!="object"){this.updateColors();return}const r=Object.keys(e);r.forEach(n=>{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}},$(bp,"Theme"),bp),rQ=$(t=>{const e=new eQ;return e.calculate(t),e},"getThemeVariables"),vp,nQ=(vp=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ar(this.primaryColor,16),this.tertiaryColor=$t(this.primaryColor,{h:-160}),this.primaryBorderColor=Ue(this.background),this.secondaryBorderColor=Co(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Co(this.tertiaryColor,this.darkMode),this.primaryTextColor=Ue(this.primaryColor),this.secondaryTextColor=Ue(this.secondaryColor),this.tertiaryTextColor=Ue(this.tertiaryColor),this.lineColor=Ue(this.background),this.textColor=Ue(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ar(Ue("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=w0(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackgroun
vendor: 9,978 bytes, line 301
301d="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=Lr("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=Lr(this.sectionBkgColor,10),this.taskBorderColor=w0(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=w0(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||ar(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||Lr(this.mainBkg,10),this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=ar(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=ar(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=ar(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=$t(this.primaryColor,{h:64}),this.fillType3=$t(this.secondaryColor,{h:64}),this.fillType4=$t(this.primaryColor,{h:-64}),this.fillType5=$t(this.secondaryColor,{h:-64}),this.fillType6=$t(this.primaryColor,{h:128}),this.fillType7=$t(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||$t(this.primaryColor,{h:30}),this.cScale4=this.cScale4||$t(this.primaryColor,{h:60}),this.cScale5=this.cScale5||$t(this.primaryColor,{h:90}),this.cScale6=this.cScale6||$t(this.primaryColor,{h:120}),this.cScale7=this.cScale7||$t(this.primaryColor,{h:150}),this.cScale8=this.cScale8||$t(this.primaryColor,{h:210}),this.cScale9=this.cScale9||$t(this.primaryColor,{h:270}),this.cScale10=this.cScale10||$t(this.primaryColor,{h:300}),this.cScale11=this.cScale11||$t(this.primaryColor,{h:330});for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleInv"+e]=this["cScaleInv"+e]||Ue(this["cScale"+e]);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScalePeer"+e]=this["cScalePeer"+e]||ar(this["cScale"+e],10);for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||$t(this.mainBkg,{h:30,s:-30,l:-(-10+e*4)}),this["surfacePeer"+e]=this["surfacePeer"+e]||$t(this.mainBkg,{h:30,s:-30,l:-(-7+e*4)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleLabel"+e]=this["cScaleLabel"+e]||this.scaleLabelColor;for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["pie"+e]=this["cScale"+e];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||$t(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||$t(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||$t(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||$t(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||$t(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||$t(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||sm(this.quadrant1Fill)?ar(this.quadrant1Fill):Lr(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"},this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.background},this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackgroun
vendor: 7,571 bytes, line 301
301d=this.relationLabelBackground||(this.darkMode?Lr(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=ar(this.secondaryColor,20),this.git1=ar(this.pie2||this.secondaryColor,20),this.git2=ar(this.pie3||this.tertiaryColor,20),this.git3=ar(this.pie4||$t(this.primaryColor,{h:-30}),20),this.git4=ar(this.pie5||$t(this.primaryColor,{h:-60}),20),this.git5=ar(this.pie6||$t(this.primaryColor,{h:-90}),10),this.git6=ar(this.pie7||$t(this.primaryColor,{h:60}),10),this.git7=ar(this.pie8||$t(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||Ue(this.git0),this.gitInv1=this.gitInv1||Ue(this.git1),this.gitInv2=this.gitInv2||Ue(this.git2),this.gitInv3=this.gitInv3||Ue(this.git3),this.gitInv4=this.gitInv4||Ue(this.git4),this.gitInv5=this.gitInv5||Ue(this.git5),this.gitInv6=this.gitInv6||Ue(this.git6),this.gitInv7=this.gitInv7||Ue(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||Ue(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||Ue(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||ar(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ar(this.background,2),this.nodeBorder=this.nodeBorder||"#999"}calculate(e){if(typeof e!="object"){this.updateColors();return}const r=Object.keys(e);r.forEach(n=>{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}},$(vp,"Theme"),vp),iQ=$(t=>{const e=new nQ;return e.calculate(t),e},"getThemeVariables"),xp,aQ=(xp=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=$t(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=$t(this.primaryColor,{h:-160}),this.primaryBorderColor=Co(this.primaryColor,this.darkMode),this.secondaryBorderColor=Co(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Co(this.tertiaryColor,this.darkMode),this.primaryTextColor=Ue(this.primaryColor),this.secondaryTextColor=Ue(this.secondaryColor),this.tertiaryTextColor=Ue(this.tertiaryColor),this.lineColor=Ue(this.background),this.textColor=Ue(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="rgba(232,232,232, 0.8)",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.sectionBkgColor=w0(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="navy",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd="calculated",this.rowEven="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||$t(this.primaryColor,{h:30}),this.cScale4=this.cScale4||$t(this.primaryColor,{h:60}),this.cScale5=this.cScale5||$t(this.primaryColor,{h:90}),this.cScale6=this.cScale6||$t(this.primaryColor,{h:120}),this.cScale7=this.cScale7||$t(this.primaryColor,{h:150}),this.cScale8=this.cScale8||$t(this.primaryColor,{h:210}),this.cScale9=this.cScale9||$t(this.primaryColor,{h:270}),this.cScale10=this.cScale10||$t(this.primaryColor,{h:300}),this.cScale11=this.cScale11||$t(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Lr(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Lr(this.tertiaryColor,40);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScale"+e]=Lr(this["cScale"+e],10),this["cScalePeer"+e]=this["cScalePeer"+e]||Lr(this["cScale"+e],25);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleInv"+e]=this["cScaleInv"+e]||$t(this["cScale"+e],{h:180});for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||$t(this.mainBkg,{h:30,l:-(5+e*5)}),this["surfacePeer"+e]=this["surfacePeer"+e]||$t(this.mainBkg,{h:30,l:-(7+e*5)});if(this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,this.labelTextColor!=="calculated"){this.cScaleLabel0=this.cScaleLabel0||Ue(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||Ue(this.labelTextColor);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleLabel"+e]=this["cScaleLabel"+e]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackgroun
vendor: 8,399 bytes, line 301
301d=this.labelBackground,this.actorBorder=ar(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.rowOdd=this.rowOdd||ar(this.primaryColor,75)||"#ffffff",this.rowEven=this.rowEven||ar(this.primaryColor,1),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=$t(this.primaryColor,{h:64}),this.fillType3=$t(this.secondaryColor,{h:64}),this.fillType4=$t(this.primaryColor,{h:-64}),this.fillType5=$t(this.secondaryColor,{h:-64}),this.fillType6=$t(this.primaryColor,{h:128}),this.fillType7=$t(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||$t(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||$t(this.primaryColor,{l:-10}),this.pie5=this.pie5||$t(this.secondaryColor,{l:-30}),this.pie6=this.pie6||$t(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||$t(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||$t(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||$t(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||$t(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||$t(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||$t(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||$t(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||$t(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||$t(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||$t(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||$t(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||$t(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||sm(this.quadrant1Fill)?ar(this.quadrant1Fill):Lr(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||$t(this.primaryColor,{h:-30}),this.git4=this.git4||$t(this.primaryColor,{h:-60}),this.git5=this.git5||$t(this.primaryColor,{h:-90}),this.git6=this.git6||$t(this.primaryColor,{h:60}),this.git7=this.git7||$t(this.primaryColor,{h:120}),this.darkMode?(this.git0=ar(this.git0,25),this.git1=ar(this.git1,25),this.git2=ar(this.git2,25),this.git3=ar(this.git3,25),this.git4=ar(this.git4,25),this.git5=ar(this.git5,25),this.git6=ar(this.git6,25),this.git7=ar(this.git7,25)):(this.git0=Lr(this.git0,25),this.git1=Lr(this.git1,25),this.git2=Lr(this.git2,25),this.git3=Lr(this.git3,25),this.git4=Lr(this.git4,25),this.git5=Lr(this.git5,25),this.git6=Lr(this.git6,25),this.git7=Lr(this.git7,25)),this.gitInv0=this.gitInv0||Lr(Ue(this.git0),25),this.gitInv1=this.gitInv1||Ue(this.git1),this.gitInv2=this.gitInv2||Ue(this.git2),this.gitInv3=this.gitInv3||Ue(this.git3),this.gitInv4=this.gitInv4||Ue(this.git4),this.gitInv5=this.gitInv5||Ue(this.git5),this.gitInv6=this.gitInv6||Ue(this.git6),this.gitInv7=this.gitInv7||Ue(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||Ue(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||Ue(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroun
vendor: 5,468 bytes, line 301
301dColorOdd||tb,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||eb}calculate(e){if(Object.keys(this).forEach(n=>{this[n]==="calculated"&&(this[n]=void 0)}),typeof e!="object"){this.updateColors();return}const r=Object.keys(e);r.forEach(n=>{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}},$(xp,"Theme"),xp),oQ=$(t=>{const e=new aQ;return e.calculate(t),e},"getThemeVariables"),Sp,sQ=(Sp=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=ar("#cde498",10),this.primaryBorderColor=Co(this.primaryColor,this.darkMode),this.secondaryBorderColor=Co(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Co(this.tertiaryColor,this.darkMode),this.primaryTextColor=Ue(this.primaryColor),this.secondaryTextColor=Ue(this.secondaryColor),this.tertiaryTextColor=Ue(this.primaryColor),this.lineColor=Ue(this.background),this.textColor=Ue(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.actorBorder=Lr(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||$t(this.primaryColor,{h:30}),this.cScale4=this.cScale4||$t(this.primaryColor,{h:60}),this.cScale5=this.cScale5||$t(this.primaryColor,{h:90}),this.cScale6=this.cScale6||$t(this.primaryColor,{h:120}),this.cScale7=this.cScale7||$t(this.primaryColor,{h:150}),this.cScale8=this.cScale8||$t(this.primaryColor,{h:210}),this.cScale9=this.cScale9||$t(this.primaryColor,{h:270}),this.cScale10=this.cScale10||$t(this.primaryColor,{h:300}),this.cScale11=this.cScale11||$t(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Lr(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Lr(this.tertiaryColor,40);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScale"+e]=Lr(this["cScale"+e],10),this["cScalePeer"+e]=this["cScalePeer"+e]||Lr(this["cScale"+e],25);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleInv"+e]=this["cScaleInv"+e]||$t(this["cScale"+e],{h:180});this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleLabel"+e]=this["cScaleLabel"+e]||this.scaleLabelColor;for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||$t(this.mainBkg,{h:30,s:-30,l:-(5+e*5)}),this["surfacePeer"+e]=this["surfacePeer"+e]||$t(this.mainBkg,{h:30,s:-30,l:-(8+e*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.rowOdd=this.rowOdd||ar(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||ar(this.mainBkg,20),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroun
vendor: 4,990 bytes, line 301
301dColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=$t(this.primaryColor,{h:64}),this.fillType3=$t(this.secondaryColor,{h:64}),this.fillType4=$t(this.primaryColor,{h:-64}),this.fillType5=$t(this.secondaryColor,{h:-64}),this.fillType6=$t(this.primaryColor,{h:128}),this.fillType7=$t(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||$t(this.primaryColor,{l:-30}),this.pie5=this.pie5||$t(this.secondaryColor,{l:-30}),this.pie6=this.pie6||$t(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||$t(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||$t(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||$t(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||$t(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||$t(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||$t(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||$t(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||$t(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||$t(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||$t(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||$t(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||$t(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||sm(this.quadrant1Fill)?ar(this.quadrant1Fill):Lr(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.mainBkg},this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"}
vendor: 4,117 bytes, line 301
301,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||$t(this.primaryColor,{h:-30}),this.git4=this.git4||$t(this.primaryColor,{h:-60}),this.git5=this.git5||$t(this.primaryColor,{h:-90}),this.git6=this.git6||$t(this.primaryColor,{h:60}),this.git7=this.git7||$t(this.primaryColor,{h:120}),this.darkMode?(this.git0=ar(this.git0,25),this.git1=ar(this.git1,25),this.git2=ar(this.git2,25),this.git3=ar(this.git3,25),this.git4=ar(this.git4,25),this.git5=ar(this.git5,25),this.git6=ar(this.git6,25),this.git7=ar(this.git7,25)):(this.git0=Lr(this.git0,25),this.git1=Lr(this.git1,25),this.git2=Lr(this.git2,25),this.git3=Lr(this.git3,25),this.git4=Lr(this.git4,25),this.git5=Lr(this.git5,25),this.git6=Lr(this.git6,25),this.git7=Lr(this.git7,25)),this.gitInv0=this.gitInv0||Ue(this.git0),this.gitInv1=this.gitInv1||Ue(this.git1),this.gitInv2=this.gitInv2||Ue(this.git2),this.gitInv3=this.gitInv3||Ue(this.git3),this.gitInv4=this.gitInv4||Ue(this.git4),this.gitInv5=this.gitInv5||Ue(this.git5),this.gitInv6=this.gitInv6||Ue(this.git6),this.gitInv7=this.gitInv7||Ue(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||Ue(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||Ue(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||tb,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||eb}calculate(e){if(typeof e!="object"){this.updateColors();return}const r=Object.keys(e);r.forEach(n=>{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}},$(Sp,"Theme"),Sp),lQ=$(t=>{const e=new sQ;return e.calculate(t),e},"getThemeVariables"),wp,cQ=(wp=class{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=ar(this.contrast,55),this.background="#ffffff",this.tertiaryColor=$t(this.primaryColor,{h:-160}),this.primaryBorderColor=Co(this.primaryColor,this.darkMode),this.secondaryBorderColor=Co(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Co(this.tertiaryColor,this.darkMode),this.primaryTextColor=Ue(this.primaryColor),this.secondaryTextColor=Ue(this.secondaryColor),this.tertiaryTextColor=Ue(this.tertiaryColor),this.lineColor=Ue(this.background),this.textColor=Ue(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackgroun
vendor: 8,580 bytes, line 301
301d="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||ar(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||"#f4f4f4",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=ar(this.contrast,55),this.border2=this.contrast,this.actorBorder=ar(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleInv"+e]=this["cScaleInv"+e]||Ue(this["cScale"+e]);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this.darkMode?this["cScalePeer"+e]=this["cScalePeer"+e]||ar(this["cScale"+e],10):this["cScalePeer"+e]=this["cScalePeer"+e]||Lr(this["cScale"+e],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleLabel"+e]=this["cScaleLabel"+e]||this.scaleLabelColor;for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||$t(this.mainBkg,{l:-(5+e*5)}),this["surfacePeer"+e]=this["surfacePeer"+e]||$t(this.mainBkg,{l:-(8+e*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=ar(this.contrast,30),this.sectionBkgColor2=ar(this.contrast,30),this.taskBorderColor=Lr(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=ar(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=Lr(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.vertLineColor=this.critBkgColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=$t(this.primaryColor,{h:64}),this.fillType3=$t(this.secondaryColor,{h:64}),this.fillType4=$t(this.primaryColor,{h:-64}),this.fillType5=$t(this.secondaryColor,{h:-64}),this.fillType6=$t(this.primaryColor,{h:128}),this.fillType7=$t(this.secondaryColor,{h:128});for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["pie"+e]=this["cScale"+e];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||$t(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||$t(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||$t(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||$t(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||$t(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||$t(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||sm(this.quadrant1Fill)?ar(this.quadrant1Fill):Lr(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"},this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12}
vendor: 2,579 bytes, line 301
301,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=Lr(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||$t(this.primaryColor,{h:-30}),this.git4=this.pie5||$t(this.primaryColor,{h:-60}),this.git5=this.pie6||$t(this.primaryColor,{h:-90}),this.git6=this.pie7||$t(this.primaryColor,{h:60}),this.git7=this.pie8||$t(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||Ue(this.git0),this.gitInv1=this.gitInv1||Ue(this.git1),this.gitInv2=this.gitInv2||Ue(this.git2),this.gitInv3=this.gitInv3||Ue(this.git3),this.gitInv4=this.gitInv4||Ue(this.git4),this.gitInv5=this.gitInv5||Ue(this.git5),this.gitInv6=this.gitInv6||Ue(this.git6),this.gitInv7=this.gitInv7||Ue(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||tb,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||eb}calculate(e){if(typeof e!="object"){this.updateColors();return}const r=Object.keys(e);r.forEach(n=>{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}},$(wp,"Theme"),wp),uQ=$(t=>{const e=new cQ;return e.calculate(t),e},"getThemeVariables"),Cu={base:{getThemeVariables:rQ},dark:{getThemeVariables:iQ},default:{getThemeVariables:oQ},forest:{getThemeVariables:lQ},neutral:{getThemeVariables:uQ}},bc
vendor: 9,639 bytes, line 301
301={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200,inheritDir:!1},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,maxLabelWidth:360,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],titleColor:"",titleFontFamily:'"trebuchet ms", verdana, arial, sans-serif',titleFontSize:"4ex"},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,nodeSpacing:140,rankSpacing:80,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showDataLabel:!1,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200,layoutAlgorithm:"cose-bilkent"},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16},radar:{useMaxWidth:!0,width:600,height:600,marginTop:50,marginRight:50,marginBottom:50,marginLeft:50,axisScaleFactor:1,axisLabelFactor:1.05,curveTension:.17},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1},
vendor: 4,524 bytes, line 301
301GE={...bc,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF",forceNodeModelOrder:!1,considerModelOrder:"NODES_AND_EDGES"},themeCSS:void 0,themeVariables:Cu.default.getThemeVariables(),sequence:{...bc.sequence,messageFont:$(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:$(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:$(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...bc.gantt,tickInterval:void 0,useWidth:void 0},c4:{...bc.c4,useWidth:void 0,personFont:$(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),flowchart:{...bc.flowchart,inheritDir:!1},external_personFont:$(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:$(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:$(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:$(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:$(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:$(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:$(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:$(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:$(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:$(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:$(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:$(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:$(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:$(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:$(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:$(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:$(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:$(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:$(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}}
vendor: 1,850 bytes, line 301
301,"external_component_queueFont"),boundaryFont:$(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:$(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...bc.pie,useWidth:984},xyChart:{...bc.xyChart,useWidth:void 0},requirement:{...bc.requirement,useWidth:void 0},packet:{...bc.packet},radar:{...bc.radar},treemap:{useMaxWidth:!0,padding:10,diagramPadding:8,showValues:!0,nodeWidth:100,nodeHeight:40,borderWidth:1,valueFontSize:12,labelFontSize:14,valueFormat:","}},VE=$((t,e="")=>Object.keys(t).reduce((r,n)=>Array.isArray(t[n])?r:typeof t[n]=="object"&&t[n]!==null?[...r,e+n,...VE(t[n],"")]:[...r,e+n],[]),"keyify"),hQ=new Set(VE(GE,"")),YE=GE,H2=$(t=>{if(xe.debug("sanitizeDirective called with",t),!(typeof t!="object"||t==null)){if(Array.isArray(t)){t.forEach(e=>H2(e));return}for(const e of Object.keys(t)){if(xe.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!hQ.has(e)||t[e]==null){xe.debug("sanitize deleting key: ",e),delete t[e];continue}if(typeof t[e]=="object"){xe.debug("sanitizing object",e),H2(t[e]);continue}const r=["themeCSS","fontFamily","altFontFamily"];for(const n of r)e.includes(n)&&(xe.debug("sanitizing css option",e),t[e]=fQ(t[e]))}if(t.themeVariables)for(const e of Object.keys(t.themeVariables)){const r=t.themeVariables[e];r?.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}xe.debug("After sanitization",t)}},"sanitizeDirective"),fQ=$(t=>{let e=0,r=0;for(const n of t){if(e<r)return"{ /* ERROR: Unbalanced CSS */ }";n==="{"?e++:n==="}"&&r++}return e!==r?"{ /* ERROR: Unbalanced CSS */ }":t},"sanitizeCss"),Rp=Object.freeze(YE),Yo=xa({},Rp),U2,Wf=[],k0=xa({},Rp),rb=$((t,e)=>
vendor: 1,708 bytes, line 301
301{let r=xa({},t),n={};for(const i of e)ZE(i),n=xa(n,i);if(r=xa(r,n),n.theme&&n.theme in Cu){const i=xa({},U2),a=xa(i.themeVariables||{},n.themeVariables);r.theme&&r.theme in Cu&&(r.themeVariables=Cu[r.theme].getThemeVariables(a))}return k0=r,QE(k0),k0},"updateCurrentConfig"),dQ=$(t=>(Yo=xa({},Rp),Yo=xa(Yo,t),t.theme&&Cu[t.theme]&&(Yo.themeVariables=Cu[t.theme].getThemeVariables(t.themeVariables)),rb(Yo,Wf),Yo),"setSiteConfig"),pQ=$(t=>{U2=xa({},t)},"saveConfigFromInitialize"),gQ=$(t=>(Yo=xa(Yo,t),rb(Yo,Wf),Yo),"updateSiteConfig"),XE=$(()=>xa({},Yo),"getSiteConfig"),KE=$(t=>(QE(t),xa(k0,t),lo()),"setConfig"),lo=$(()=>xa({},k0),"getConfig"),ZE=$(t=>{t&&(["secure",...Yo.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(xe.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])}),Object.keys(t).forEach(e=>{e.startsWith("__")&&delete t[e]}),Object.keys(t).forEach(e=>{typeof t[e]=="string"&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],typeof t[e]=="object"&&ZE(t[e])}))},"sanitize"),mQ=$(t=>{H2(t),t.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables={...t.themeVariables,fontFamily:t.fontFamily}),Wf.push(t),rb(Yo,Wf)},"addDirective"),W2=$((t=Yo)=>{Wf=[],rb(t,Wf)},"reset"),yQ={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},T6={},bQ=$(t=>{T6[t]||(xe.warn(yQ[t]),T6[t]=!0)},"issueWarning"),QE=$(t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&bQ("LAZY_LOAD_DEPRECATED")},"checkConfig"),Eft=$(()=>{let t={};U2&&(t=xa(t,U2));for(const e of Wf)t=xa(t,e);return t},"getUserDefinedConfig"),lm=/<br\s*\/?>/gi,vQ=$(t=>
vendor: 5,967 bytes, lines 301-377
301t?eM(t).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),xQ=(()=>{let t=!1;return()=>{t||(JE(),t=!0)}})();function JE(){const t="data-temp-href-target";Hf.addHook("beforeSanitizeAttributes",e=>{e.tagName==="A"&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")??"")}),Hf.addHook("afterSanitizeAttributes",e=>{e.tagName==="A"&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)??""),e.removeAttribute(t),e.getAttribute("target")==="_blank"&&e.setAttribute("rel","noopener"))})}$(JE,"setupDompurifyHooks");var tM=$(t=>(xQ(),Hf.sanitize(t)),"removeScript"),L6=$((t,e)=>{if(e.flowchart?.htmlLabels!==!1){const r=e.securityLevel;r==="antiscript"||r==="strict"?t=tM(t):r!=="loose"&&(t=eM(t),t=t.replace(/</g,"&lt;").replace(/>/g,"&gt;"),t=t.replace(/=/g,"&equals;"),t=kQ(t))}return t},"sanitizeMore"),sl=$((t,e)=>t&&(e.dompurifyConfig?t=Hf.sanitize(L6(t,e),e.dompurifyConfig).toString():t=Hf.sanitize(L6(t,e),{FORBID_TAGS:["style"]}).toString(),t),"sanitizeText"),SQ=$((t,e)=>typeof t=="string"?sl(t,e):t.flat().map(r=>sl(r,e)),"sanitizeTextOrArray"),wQ=$(t=>lm.test(t),"hasBreaks"),CQ=$(t=>t.split(lm),"splitBreaks"),kQ=$(t=>t.replace(/#br#/g,"<br/>"),"placeholderToBreak"),eM=$(t=>t.replace(lm,"#br#"),"breakToPlaceholder"),_Q=$(t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=CSS.escape(e)),e},"getUrl"),wa=$(t=>!(t===!1||["false","null","0"].includes(String(t).trim().toLowerCase())),"evaluate"),AQ=$(function(...t){const e=t.filter(r=>!isNaN(r));return Math.max(...e)},"getMax"),TQ=$(function(...t){const e=t.filter(r=>!isNaN(r));return Math.min(...e)},"getMin"),E6=$(function(t){const e=t.split(/(,)/),r=[];for(let n=0;n<e.length;n++){let i=e[n];if(i===","&&n>0&&n+1<e.length){const a=e[n-1],s=e[n+1];LQ(a,s)&&(i=a+","+s,n++,r.pop())}r.push(EQ(i))}return r.join("")},"parseGenericTypes"),Q5=$((t,e)=>Math.max(0,t.split(e).length-1),"countOccurrence"),LQ=$((t,e)=>{const r=Q5(t,"~"),n=Q5(e,"~");return r===1&&n===1},"shouldCombineSets"),EQ=$(t=>{const e=Q5(t,"~");let r=!1;if(e<=1)return t;e%2!==0&&t.startsWith("~")&&(t=t.substring(1),r=!0);const n=[...t];let i=n.indexOf("~"),a=n.lastIndexOf("~");for(;i!==-1&&a!==-1&&i!==a;)n[i]="<",n[a]=">",i=n.indexOf("~"),a=n.lastIndexOf("~");return r&&n.unshift("~"),n.join("")},"processSet"),M6=$(()=>window.MathMLElement!==void 0,"isMathMLSupported"),J5=/\$\$(.*)\$\$/g,Np=$(t=>(t.match(J5)?.length??0)>0,"hasKatex"),Mft=$(async(t,e)=>{const r=document.createElement("div");r.innerHTML=await $w(t,e),r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0",document.querySelector("body")?.insertAdjacentElement("beforeend",r);const i={width:r.clientWidth,height:r.clientHeight};return r.remove(),i},"calculateMathMLDimensions"),MQ=$(async(t,e)=>{if(!Np(t))return t;if(!(M6()||e.legacyMathML||e.forceLegacyMathML))return t.replace(J5,"MathML is unsupported in this environment.");{const{default:r}=await Mn(async()=>{const{default:i}=await import("./katex-iVPqcnmf.js");return{default:i}},[]),n=e.forceLegacyMathML||!M6()&&e.legacyMathML?"htmlAndMathml":"mathml";return t.split(lm).map(i=>Np(i)?`<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${i}</div>`:`<div>${i}</div>`).join("").replace(J5,(i,a)=>r.renderToString(a,{throwOnError:!0,displayMode:!0,output:n}).replace(/\n/g," ").replace(/<annotation.*<\/annotation>/g,""))}},"renderKatexUnsanitized"),$w=$(async(t,e)=>sl(await MQ(t,e),e),"renderKatexSanitized"),qp={getRows:vQ,sanitizeText:sl,sanitizeTextOrArray:SQ,hasBreaks:wQ,splitBreaks:CQ,lineBreakRegex:lm,removeScript:tM,getUrl:_Q,evaluate:wa,getMax:AQ,getMin:TQ},RQ=$(function(t,e){for(let r of e)t.attr(r[0],r[1])},"d3Attrs"),NQ=$(function(t,e,r){let n=new Map;return r?(n.set("width","100%"),n.set("style",`max-width: ${e}px;`)):(n.set("height",t),n.set("width",e)),n},"calculateSvgSizeAttrs"),rM=$(function(t,e,r,n){const i=NQ(e,r,n);RQ(t,i)},"configureSvgSize"),BQ=$(function(t,e,r,n){const i=e.node().getBBox(),a=i.width,s=i.height;xe.info(`SVG bounds: ${a}x${s}`,i);let l=0,u=0;xe.info(`Graph bounds: ${l}x${u}`,t),l=a+r*2,u=s+r*2,xe.info(`Calculated bounds: ${l}x${u}`),rM(e,u,l,n);const h=`${i.x-r} ${i.y-r} ${i.width+2*r} ${i.height+2*r}`;e.attr("viewBox",h)},"setupGraphViewbox"),f2={},OQ=$((t,e,r)=>{let n="";return t in f2&&f2[t]?n=f2[t](r):xe.warn(`No theme found for ${t}`),` & {
302    font-family: ${r.fontFamily};
303    font-size: ${r.fontSize};
304    fill: ${r.textColor}
305  }
306  @keyframes edge-animation-frame {
307    from {
308      stroke-dashoffset: 0;
309    }
310  }
311  @keyframes dash {
312    to {
313      stroke-dashoffset: 0;
314    }
315  }
316  & .edge-animation-slow {
317    stroke-dasharray: 9,5 !important;
318    stroke-dashoffset: 900;
319    animation: dash 50s linear infinite;
320    stroke-linecap: round;
321  }
322  & .edge-animation-fast {
323    stroke-dasharray: 9,5 !important;
324    stroke-dashoffset: 900;
325    animation: dash 20s linear infinite;
326    stroke-linecap: round;
327  }
328  /* Classes common for multiple diagrams */
329
330  & .error-icon {
331    fill: ${r.errorBkgColor};
332  }
333  & .error-text {
334    fill: ${r.errorTextColor};
335    stroke: ${r.errorTextColor};
336  }
337
338  & .edge-thickness-normal {
339    stroke-width: 1px;
340  }
341  & .edge-thickness-thick {
342    stroke-width: 3.5px
343  }
344  & .edge-pattern-solid {
345    stroke-dasharray: 0;
346  }
347  & .edge-thickness-invisible {
348    stroke-width: 0;
349    fill: none;
350  }
351  & .edge-pattern-dashed{
352    stroke-dasharray: 3;
353  }
354  .edge-pattern-dotted {
355    stroke-dasharray: 2;
356  }
357
358  & .marker {
359    fill: ${r.lineColor};
360    stroke: ${r.lineColor};
361  }
362  & .marker.cross {
363    stroke: ${r.lineColor};
364  }
365
366  & svg {
367    font-family: ${r.fontFamily};
368    font-size: ${r.fontSize};
369  }
370   & p {
371    margin: 0
372   }
373
374  ${n}
375
376  ${e}
377`},"getStyles"),PQ=$((t,e)=>{e!==void 0&&(f2[t]=e)},"addStylesForDiagram"),$Q=OQ,nM={};CZ(nM,{clear:()=>jQ,getAccDescription:()=>FQ,getAccTitle:()=>IQ,getDiagramTitle:()=>
vendor: 7,426 bytes, lines 377-378
377HQ,setAccDescription:()=>zQ,setAccTitle:()=>DQ,setDiagramTitle:()=>qQ});var jw="",Dw="",Iw="",zw=$(t=>sl(t,lo()),"sanitizeText"),jQ=$(()=>{jw="",Iw="",Dw=""},"clear"),DQ=$(t=>{jw=zw(t).replace(/^\s+/g,"")},"setAccTitle"),IQ=$(()=>jw,"getAccTitle"),zQ=$(t=>{Iw=zw(t).replace(/\n\s+/g,`
378`)},"setAccDescription"),FQ=$(()=>Iw,"getAccDescription"),qQ=$(t=>{Dw=zw(t)},"setDiagramTitle"),HQ=$(()=>Dw,"getDiagramTitle"),R6=xe,UQ=Ow,qn=lo,Rft=KE,Nft=Rp,Fw=$(t=>sl(t,qn()),"sanitizeText"),WQ=BQ,GQ=$(()=>nM,"getCommonDb"),G2={},V2=$((t,e,r)=>{G2[t]&&R6.warn(`Diagram with id ${t} already registered. Overwriting.`),G2[t]=e,r&&WE(t,r),PQ(t,e.styles),e.injectUtils?.(R6,UQ,qn,Fw,WQ,GQ(),()=>{})},"registerDiagram"),tS=$(t=>{if(t in G2)return G2[t];throw new VQ(t)},"getDiagram"),Cp,VQ=(Cp=class extends Error{constructor(e){super(`Diagram ${e} not found.`)}},$(Cp,"DiagramNotFoundError"),Cp),YQ={value:()=>{}};function iM(){for(var t=0,e=arguments.length,r={},n;t<e;++t){if(!(n=arguments[t]+"")||n in r||/[\s.]/.test(n))throw new Error("illegal type: "+n);r[n]=[]}return new d2(r)}function d2(t){this._=t}function XQ(t,e){return t.trim().split(/^|\s+/).map(function(r){var n="",i=r.indexOf(".");if(i>=0&&(n=r.slice(i+1),r=r.slice(0,i)),r&&!e.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:n}})}d2.prototype=iM.prototype={constructor:d2,on:function(t,e){var r=this._,n=XQ(t+"",r),i,a=-1,s=n.length;if(arguments.length<2){for(;++a<s;)if((i=(t=n[a]).type)&&(i=KQ(r[i],t.name)))return i;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++a<s;)if(i=(t=n[a]).type)r[i]=N6(r[i],t.name,e);else if(e==null)for(i in r)r[i]=N6(r[i],t.name,null);return this},copy:function(){var t={},e=this._;for(var r in e)t[r]=e[r].slice();return new d2(t)},call:function(t,e){if((i=arguments.length-2)>0)for(var r=new Array(i),n=0,i,a;n<i;++n)r[n]=arguments[n+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(a=this._[t],n=0,i=a.length;n<i;++n)a[n].value.apply(e,r)},apply:function(t,e,r){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var n=this._[t],i=0,a=n.length;i<a;++i)n[i].value.apply(e,r)}};function KQ(t,e){for(var r=0,n=t.length,i;r<n;++r)if((i=t[r]).name===e)return i.value}function N6(t,e,r){for(var n=0,i=t.length;n<i;++n)if(t[n].name===e){t[n]=YQ,t=t.slice(0,n).concat(t.slice(n+1));break}return r!=null&&t.push({name:e,value:r}),t}var eS="http://www.w3.org/1999/xhtml";const B6={svg:"http://www.w3.org/2000/svg",xhtml:eS,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function nb(t){var e=t+="",r=e.indexOf(":");return r>=0&&(e=t.slice(0,r))!=="xmlns"&&(t=t.slice(r+1)),B6.hasOwnProperty(e)?{space:B6[e],local:t}:t}function ZQ(t){return function(){var e=this.ownerDocument,r=this.namespaceURI;return r===eS&&e.documentElement.namespaceURI===eS?e.createElement(t):e.createElementNS(r,t)}}function QQ(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function aM(t){var e=nb(t);return(e.local?QQ:ZQ)(e)}function JQ(){}function qw(t){return t==null?JQ:function(){return this.querySelector(t)}}function tJ(t){typeof t!="function"&&(t=qw(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i<r;++i)for(var a=e[i],s=a.length,l=n[i]=new Array(s),u,h,f=0;f<s;++f)(u=a[f])&&(h=t.call(u,u.__data__,f,a))&&("__data__"in u&&(h.__data__=u.__data__),l[f]=h);return new Rs(n,this._parents)}function eJ(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function rJ(){return[]}function oM(t){return t==null?rJ:function(){return this.querySelectorAll(t)}}function nJ(t){return function(){return eJ(t.apply(this,arguments))}}function iJ(t){typeof t=="function"?t=nJ(t):t=oM(t);for(var e=this._groups,r=e.length,n=[],i=[],a=0;a<r;++a)for(var s=e[a],l=s.length,u,h=0;h<l;++h)(u=s[h])&&(n.push(t.call(u,u.__data__,h,s)),i.push(u));return new Rs(n,i)}function sM(t){return function(){return this.matches(t)}}function lM(t){return function(e){return e.matches(t)}}var aJ=Array.prototype.find;function oJ(t){return function(){return aJ.call(this.children,t)}}function sJ(){return this.firstElementChild}function lJ(t){return this.select(t==null?sJ:oJ(typeof t=="function"?t:lM(t)))}var cJ=Array.prototype.filter;function uJ(){return Array.from(this.children)}function hJ(t){return function(){return cJ.call(this.children,t)}}function fJ(t){return this.selectAll(t==null?uJ:hJ(typeof t=="function"?t:lM(t)))}function dJ(t){typeof t!="function"&&(t=sM(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i<r;++i)for(var a=e[i],s=a.length,l=n[i]=[],u,h=0;h<s;++h)(u=a[h])&&t.call(u,u.__data__,h,a)&&l.push(u);return new Rs(n,this._parents)}function cM(t){return new Array(t.length)}function pJ(){return new Rs(this._enter||this._groups.map(cM),this._parents)}function Y2(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}Y2.prototype={constructor:Y2,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function gJ(t){return function(){return t}}function mJ(t,e,r,n,i,a){for(var s=0,l,u=e.length,h=a.length;s<h;++s)(l=e[s])?(l.__data__=a[s],n[s]=l):r[s]=new Y2(t,a[s]);for(;s<u;++s)(l=e[s])&&(i[s]=l)}function yJ(t,e,r,n,i,a,s){var l,u,h=new Map,f=e.length,p=a.length,y=new Array(f),g;for(l=0;l<f;++l)(u=e[l])&&(y[l]=g=s.call(u,u.__data__,l,e)+"",h.has(g)?i[l]=u:h.set(g,u));for(l=0;l<p;++l)g=s.call(t,a[l],l,a)+"",(u=h.get(g))?(n[l]=u,u.__data__=a[l],h.delete(g)):r[l]=new Y2(t,a[l]);for(l=0;l<f;++l)(u=e[l])&&h.get(y[l])===u&&(i[l]=u)}function bJ(t){return t.__data__}function vJ(t,e){if(!arguments.length)return Array.from(this,bJ);var r=e?yJ:mJ,n=this._parents,i=this._groups;typeof t!="function"&&(t=gJ(t));for(var a=i.length,s=new Array(a),l=new Array(a),u=new Array(a),h=0;h<a;++h){var f=n[h],p=i[h],y=p.length,g=xJ(t.call(f,f&&f.__data__,h,n)),b=g.length,v=l[h]=new Array(b),C=s[h]=new Array(b),k=u[h]=new Array(y);r(f,p,v,C,k,g,e);for(var T=0,E=0,L,O;T<b;++T)if(L=v[T]){for(T>=E&&(E=T+1);!(O=C[E])&&++E<b;);L._next=O||null}}return s=new Rs(s,n),s._enter=l,s._exit=u,s}function xJ(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function SJ(){return new Rs(this._exit||this._groups.map(cM),this._parents)}function wJ(t,e,r){var n=this.enter(),i=this,a=this.exit();return typeof t=="function"?(n=t(n),n&&(n=n.selection())):n=n.append(t+""),e!=null&&(i=e(i),i&&(i=i.selection())),r==null?a.remove():r(a),n&&i?n.merge(i).order():i}function CJ(t){for(var e=t.selection?t.selection():t,r=this._groups,n=e._groups,i=r.length,a=n.length,s=Math.min(i,a),l=new Array(i),u=0;u<s;++u)for(var h=r[u],f=n[u],p=h.length,y=l[u]=new Array(p),g,b=0;b<p;++b)(g=h[b]||f[b])&&(y[b]=g);for(;u<i;++u)l[u]=r[u];return new Rs(l,this._parents)}function kJ(){for(var t=this._groups,e=-1,r=t.length;++e<r;)for(var n=t[e],i=n.length-1,a=n[i],s;--i>=0;)(s=n[i])&&(a&&s.compareDocumentPosition(a)^4&&a.parentNode.insertBefore(s,a),a=s);return this}function _J(t){t||(t=AJ);function e(p,y){return p&&y?t(p.__data__,y.__data__):!p-!y}for(var r=this._groups,n=r.length,i=new Array(n),a=0;a<n;++a){for(var s=r[a],l=s.length,u=i[a]=new Array(l),h,f=0;f<l;++f)(h=s[f])&&(u[f]=h);
vendor: 6,240 bytes, line 378
378u.sort(e)}return new Rs(i,this._parents).order()}function AJ(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function TJ(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function LJ(){return Array.from(this)}function EJ(){for(var t=this._groups,e=0,r=t.length;e<r;++e)for(var n=t[e],i=0,a=n.length;i<a;++i){var s=n[i];if(s)return s}return null}function MJ(){let t=0;for(const e of this)++t;return t}function RJ(){return!this.node()}function NJ(t){for(var e=this._groups,r=0,n=e.length;r<n;++r)for(var i=e[r],a=0,s=i.length,l;a<s;++a)(l=i[a])&&t.call(l,l.__data__,a,i);return this}function BJ(t){return function(){this.removeAttribute(t)}}function OJ(t){return function(){this.removeAttributeNS(t.space,t.local)}}function PJ(t,e){return function(){this.setAttribute(t,e)}}function $J(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function jJ(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttribute(t):this.setAttribute(t,r)}}function DJ(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}function IJ(t,e){var r=nb(t);if(arguments.length<2){var n=this.node();return r.local?n.getAttributeNS(r.space,r.local):n.getAttribute(r)}return this.each((e==null?r.local?OJ:BJ:typeof e=="function"?r.local?DJ:jJ:r.local?$J:PJ)(r,e))}function uM(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function zJ(t){return function(){this.style.removeProperty(t)}}function FJ(t,e,r){return function(){this.style.setProperty(t,e,r)}}function qJ(t,e,r){return function(){var n=e.apply(this,arguments);n==null?this.style.removeProperty(t):this.style.setProperty(t,n,r)}}function HJ(t,e,r){return arguments.length>1?this.each((e==null?zJ:typeof e=="function"?qJ:FJ)(t,e,r??"")):Bp(this.node(),t)}function Bp(t,e){return t.style.getPropertyValue(e)||uM(t).getComputedStyle(t,null).getPropertyValue(e)}function UJ(t){return function(){delete this[t]}}function WJ(t,e){return function(){this[t]=e}}function GJ(t,e){return function(){var r=e.apply(this,arguments);r==null?delete this[t]:this[t]=r}}function VJ(t,e){return arguments.length>1?this.each((e==null?UJ:typeof e=="function"?GJ:WJ)(t,e)):this.node()[t]}function hM(t){return t.trim().split(/^|\s+/)}function Hw(t){return t.classList||new fM(t)}function fM(t){this._node=t,this._names=hM(t.getAttribute("class")||"")}fM.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function dM(t,e){for(var r=Hw(t),n=-1,i=e.length;++n<i;)r.add(e[n])}function pM(t,e){for(var r=Hw(t),n=-1,i=e.length;++n<i;)r.remove(e[n])}function YJ(t){return function(){dM(this,t)}}function XJ(t){return function(){pM(this,t)}}function KJ(t,e){return function(){(e.apply(this,arguments)?dM:pM)(this,t)}}function ZJ(t,e){var r=hM(t+"");if(arguments.length<2){for(var n=Hw(this.node()),i=-1,a=r.length;++i<a;)if(!n.contains(r[i]))return!1;return!0}return this.each((typeof e=="function"?KJ:e?YJ:XJ)(r,e))}function QJ(){this.textContent=""}function JJ(t){return function(){this.textContent=t}}function ttt(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function ett(t){return arguments.length?this.each(t==null?QJ:(typeof t=="function"?ttt:JJ)(t)):this.node().textContent}function rtt(){this.innerHTML=""}function ntt(t){return function(){this.innerHTML=t}}function itt(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function att(t){return arguments.length?this.each(t==null?rtt:(typeof t=="function"?itt:ntt)(t)):this.node().innerHTML}function ott(){this.nextSibling&&this.parentNode.appendChild(this)}function stt(){return this.each(ott)}function ltt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function ctt(){return this.each(ltt)}function utt(t){var e=typeof t=="function"?t:aM(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function htt(){return null}function ftt(t,e){var r=typeof t=="function"?t:aM(t),n=e==null?htt:typeof e=="function"?e:qw(e);return this.select(function(){return this.insertBefore(r.apply(this,arguments),n.apply(this,arguments)||null)})}function dtt(){var t=this.parentNode;t&&t.removeChild(this)}function ptt(){return this.each(dtt)}function gtt(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function mtt(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function ytt(t){return this.select(t?mtt:gtt)}function btt(t){return arguments.length?this.property("__data__",t):this.node().__data__}function vtt(t){return function(e){t.call(this,e,this.__data__)}}function xtt(t){return t.trim().split(/^|\s+/).map(function(e){var r="",n=e.indexOf(".");return n>=0&&(r=e.slice(n+1),e=e.slice(0,n)),{type:e,name:r}})}function Stt(t){return function(){var e=this.__on;if(e){for(var r=0,n=-1,i=e.length,a;r<i;++r)a=e[r],(!t.type||a.type===t.type)&&a.name===t.name?this.removeEventListener(a.type,a.listener,a.options):e[++n]=a;++n?e.length=n:delete this.__on}}}function wtt(t,e,r){return function(){var n=this.__on,i,a=vtt(e);if(n){for(var s=0,l=n.length;s<l;++s)if((i=n[s]).type===t.type&&i.name===t.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=a,i.options=r),i.value=e;return}}this.addEventListener(t.type,a,r),i={type:t.type,name:t.name,value:e,listener:a,options:r},n?n.push(i):this.__on=[i]}}function Ctt(t,e,r){var n=xtt(t+""),i,a=n.length,s;if(arguments.length<2){var l=this.node().__on;if(l){for(var u=0,h=l.length,f;u<h;++u)for(i=0,f=l[u];i<a;++i)if((s=n[i]).type===f.type&&s.name===f.name)return f.value}return}for(l=e?wtt:Stt,i=0;i<a;++i)this.each(l(n[i],e,r));return this}function gM(t,e,r){var n=uM(t),i=n.CustomEvent;typeof i=="function"?i=new i(e,r):(i=n.document.createEvent("Event"),r?(i.initEvent(e,r.bubbles,r.cancelable),i.detail=r.detail):i.initEvent(e,!1,!1)),t.dis
vendor: 47,369 bytes, lines 378-384
378patchEvent(i)}function ktt(t,e){return function(){return gM(this,t,e)}}function _tt(t,e){return function(){return gM(this,t,e.apply(this,arguments))}}function Att(t,e){return this.each((typeof e=="function"?_tt:ktt)(t,e))}function*Ttt(){for(var t=this._groups,e=0,r=t.length;e<r;++e)for(var n=t[e],i=0,a=n.length,s;i<a;++i)(s=n[i])&&(yield s)}var mM=[null];function Rs(t,e){this._groups=t,this._parents=e}function cm(){return new Rs([[document.documentElement]],mM)}function Ltt(){return this}Rs.prototype=cm.prototype={constructor:Rs,select:tJ,selectAll:iJ,selectChild:lJ,selectChildren:fJ,filter:dJ,data:vJ,enter:pJ,exit:SJ,join:wJ,merge:CJ,selection:Ltt,order:kJ,sort:_J,call:TJ,nodes:LJ,node:EJ,size:MJ,empty:RJ,each:NJ,attr:IJ,style:HJ,property:VJ,classed:ZJ,text:ett,html:att,raise:stt,lower:ctt,append:utt,insert:ftt,remove:ptt,clone:ytt,datum:btt,on:Ctt,dispatch:Att,[Symbol.iterator]:Ttt};function Tn(t){return typeof t=="string"?new Rs([[document.querySelector(t)]],[document.documentElement]):new Rs([[t]],mM)}function Uw(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function yM(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function um(){}var D0=.7,X2=1/D0,gp="\\s*([+-]?\\d+)\\s*",I0="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Oc="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Ett=/^#([0-9a-f]{3,8})$/,Mtt=new RegExp(`^rgb\\(${gp},${gp},${gp}\\)$`),Rtt=new RegExp(`^rgb\\(${Oc},${Oc},${Oc}\\)$`),Ntt=new RegExp(`^rgba\\(${gp},${gp},${gp},${I0}\\)$`),Btt=new RegExp(`^rgba\\(${Oc},${Oc},${Oc},${I0}\\)$`),Ott=new RegExp(`^hsl\\(${I0},${Oc},${Oc}\\)$`),Ptt=new RegExp(`^hsla\\(${I0},${Oc},${Oc},${I0}\\)$`),O6={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Uw(um,z0,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:P6,formatHex:P6,formatHex8:$tt,formatHsl:jtt,formatRgb:$6,toString:$6});function P6(){return this.rgb().formatHex()}function $tt(){return this.rgb().formatHex8()}function jtt(){return bM(this).formatHsl()}function $6(){return this.rgb().formatRgb()}function z0(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=Ett.exec(t))?(r=e[1].length,e=parseInt(e[1],16),r===6?j6(e):r===3?new Zo(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):r===8?I1(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):r===4?I1(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=Mtt.exec(t))?new Zo(e[1],e[2],e[3],1):(e=Rtt.exec(t))?new Zo(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=Ntt.exec(t))?I1(e[1],e[2],e[3],e[4]):(e=Btt.exec(t))?I1(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=Ott.exec(t))?z6(e[1],e[2]/100,e[3]/100,1):(e=Ptt.exec(t))?z6(e[1],e[2]/100,e[3]/100,e[4]):O6.hasOwnProperty(t)?j6(O6[t]):t==="transparent"?new Zo(NaN,NaN,NaN,0):null}function j6(t){return new Zo(t>>16&255,t>>8&255,t&255,1)}function I1(t,e,r,n){return n<=0&&(t=e=r=NaN),new Zo(t,e,r,n)}function Dtt(t){return t instanceof um||(t=z0(t)),t?(t=t.rgb(),new Zo(t.r,t.g,t.b,t.opacity)):new Zo}function rS(t,e,r,n){return arguments.length===1?Dtt(t):new Zo(t,e,r,n??1)}function Zo(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}Uw(Zo,rS,yM(um,{brighter(t){return t=t==null?X2:Math.pow(X2,t),new Zo(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?D0:Math.pow(D0,t),new Zo(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Zo(Pf(this.r),Pf(this.g),Pf(this.b),K2(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:D6,formatHex:D6,formatHex8:Itt,formatRgb:I6,toString:I6}));function D6(){return`#${Af(this.r)}${Af(this.g)}${Af(this.b)}`}function Itt(){return`#${Af(this.r)}${Af(this.g)}${Af(this.b)}${Af((isNaN(this.opacity)?1:this.opacity)*255)}`}function I6(){const t=K2(this.opacity);return`${t===1?"rgb(":"rgba("}${Pf(this.r)}, ${Pf(this.g)}, ${Pf(this.b)}${t===1?")":`, ${t})`}`}function K2(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Pf(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Af(t){return t=Pf(t),(t<16?"0":"")+t.toString(16)}function z6(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new $l(t,e,r,n)}function bM(t){if(t instanceof $l)return new $l(t.h,t.s,t.l,t.opacity);if(t instanceof um||(t=z0(t)),!t)return new $l;if(t instanceof $l)return t;t=t.rgb();var e=t.r/255,r=t.g/255,n=t.b/255,i=Math.min(e,r,n),a=Math.max(e,r,n),s=NaN,l=a-i,u=(a+i)/2;return l?(e===a?s=(r-n)/l+(r<n)*6:r===a?s=(n-e)/l+2:s=(e-r)/l+4,l/=u<.5?a+i:2-a-i,s*=60):l=u>0&&u<1?0:s,new $l(s,l,u,t.opacity)}function ztt(t,e,r,n){return arguments.length===1?bM(t):new $l(t,e,r,n??1)}function $l(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}Uw($l,ztt,yM(um,{brighter(t){return t=t==null?X2:Math.pow(X2,t),new $l(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?D0:Math.pow(D0,t),new $l(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,i=2*r-n;return new Zo(Hx(t>=240?t-240:t+120,i,n),Hx(t,i,n),Hx(t<120?t+240:t-120,i,n),this.opacity)},clamp(){return new $l(F6(this.h),z1(this.s),z1(this.l),K2(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=K2(this.opacity);return`${t===1?"hsl(":"hsla("}${F6(this.h)}, ${z1(this.s)*100}%, ${z1(this.l)*100}%${t===1?")":`, ${t})`}`}}));function F6(t){return t=(t||0)%360,t<0?t+360:t}function z1(t){return Math.max(0,Math.min(1,t||0))}function Hx(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}const Ww=t=>()=>t;function vM(t,e){return function(r){return t+r*e}}function Ftt(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}function Bft(t,e){var r=e-t;return r?vM(t,r>180||r<-180?r-360*Math.round(r/360):r):Ww(isNaN(t)?e:t)}function qtt(t){return(t=+t)==1?xM:function(e,r){return r-e?Ftt(e,r,t):Ww(isNaN(e)?r:e)}}function xM(t,e){var r=e-t;return r?vM(t,r):Ww(isNaN(t)?e:t)}const q6=(function t(e){var r=qtt(e);function n(i,a){var s=r((i=rS(i)).r,(a=rS(a)).r),l=r(i.g,a.g),u=r(i.b,a.b),h=xM(i.opacity,a.opacity);return function(f){return i.r=s(f),i.g=l(f),i.b=u(f),i.opacity=h(f),i+""}}return n.gamma=t,n})(1);function wh(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}var nS=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ux=new RegExp(nS.source,"g");function Htt(t){return function(){return t}}function Utt(t){return function(e){return t(e)+""}}function Wtt(t,e){var r=nS.lastIndex=Ux.lastIndex=0,n,i,a,s=-1,l=[],u=[];for(t=t+"",e=e+"";(n=nS.exec(t))&&(i=Ux.exec(e));)(a=i.index)>r&&(a=e.slice(r,a),l[s]?l[s]+=a:l[++s]=a),(n=n[0])===(i=i[0])?l[s]?l[s]+=i:l[++s]=i:(l[++s]=null,u.push({i:s,x:wh(n,i)})),r=Ux.lastIndex;return r<e.length&&(a=e.slice(r),l[s]?l[s]+=a:l[++s]=a),l.length<2?u[0]?Utt(u[0].x):Htt(e):(e=u.length,function(h){for(var f=0,p;f<e;++f)l[(p=u[f]).i]=p.x(h);return l.join("")})}var H6=180/Math.PI,iS={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function SM(t,e,r,n,i,a){var s,l,u;return(s=Math.sqrt(t*t+e*e))&&(t/=s,e/=s),(u=t*r+e*n)&&(r-=t*u,n-=e*u),(l=Math.sqrt(r*r+n*n))&&(r/=l,n/=l,u/=l),t*n<e*r&&(t=-t,e=-e,u=-u,s=-s),{translateX:i,translateY:a,rotate:Math.atan2(e,t)*H6,skewX:Math.atan(u)*H6,scaleX:s,scaleY:l}}var F1;function Gtt(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?iS:SM(e.a,e.b,e.c,e.d,e.e,e.f)}function Vtt(t){return t==null||(F1||(F1=document.createElementNS("http://www.w3.org/2000/svg","g")),F1.setAttribute("transform",t),!(t=F1.transform.baseVal.consolidate()))?iS:(t=t.matrix,SM(t.a,t.b,t.c,t.d,t.e,t.f))}function wM(t,e,r,n){function i(h){return h.length?h.pop()+" ":""}function a(h,f,p,y,g,b){if(h!==p||f!==y){var v=g.push("translate(",null,e,null,r);b.push({i:v-4,x:wh(h,p)},{i:v-2,x:wh(f,y)})}else(p||y)&&g.push("translate("+p+e+y+r)}function s(h,f,p,y){h!==f?(h-f>180?f+=360:f-h>180&&(h+=360),y.push({i:p.push(i(p)+"rotate(",null,n)-2,x:wh(h,f)})):f&&p.push(i(p)+"rotate("+f+n)}function l(h,f,p,y){h!==f?y.push({i:p.push(i(p)+"skewX(",null,n)-2,x:wh(h,f)}):f&&p.push(i(p)+"skewX("+f+n)}function u(h,f,p,y,g,b){if(h!==p||f!==y){var v=g.push(i(g)+"scale(",null,",",null,")");b.push({i:v-4,x:wh(h,p)},{i:v-2,x:wh(f,y)})}else(p!==1||y!==1)&&g.push(i(g)+"scale("+p+","+y+")")}return function(h,f){var p=[],y=[];return h=t(h),f=t(f),a(h.translateX,h.translateY,f.translateX,f.translateY,p,y),s(h.rotate,f.rotate,p,y),l(h.skewX,f.skewX,p,y),u(h.scaleX,h.scaleY,f.scaleX,f.scaleY,p,y),h=f=null,function(g){for(var b=-1,v=y.length,C;++b<v;)p[(C=y[b]).i]=C.x(g);return p.join("")}}}var Ytt=wM(Gtt,"px, ","px)","deg)"),Xtt=wM(Vtt,", ",")",")"),Op=0,n0=0,Gg=0,CM=1e3,Z2,i0,Q2=0,Gf=0,ib=0,F0=typeof performance=="object"&&performance.now?performance:Date,kM=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Gw(){return Gf||(kM(Ktt),Gf=F0.now()+ib)}function Ktt(){Gf=0}function J2(){this._call=this._time=this._next=null}J2.prototype=_M.prototype={constructor:J2,restart:function(t,e,r){if(typeof t!="function")throw new TypeError("callback is not a function");r=(r==null?Gw():+r)+(e==null?0:+e),!this._next&&i0!==this&&(i0?i0._next=this:Z2=this,i0=this),this._call=t,this._time=r,aS()},stop:function(){this._call&&(this._call=null,this._time=1/0,aS())}};function _M(t,e,r){var n=new J2;return n.restart(t,e,r),n}function Ztt(){Gw(),++Op;for(var t=Z2,e;t;)(e=Gf-t._time)>=0&&t._call.call(void 0,e),t=t._next;--Op}function U6(){Gf=(Q2=F0.now())+ib,Op=n0=0;try{Ztt()}finally{Op=0,Jtt(),Gf=0}}function Qtt(){var t=F0.now(),e=t-Q2;e>CM&&(ib-=e,Q2=t)}function Jtt(){for(var t,e=Z2,r,n=1/0;e;)e._call?(n>e._time&&(n=e._time),t=e,e=e._next):(r=e._next,e._next=null,e=t?t._next=r:Z2=r);i0=t,aS(n)}function aS(t){if(!Op){n0&&(n0=clearTimeout(n0));var e=t-Gf;e>24?(t<1/0&&(n0=setTimeout(U6,t-F0.now()-ib)),Gg&&(Gg=clearInterval(Gg))):(Gg||(Q2=F0.now(),Gg=setInterval(Qtt,CM)),Op=1,kM(U6))}}function W6(t,e,r){var n=new J2;return e=e==null?0:+e,n.restart(i=>{n.stop(),t(i+e)},e,r),n}var tet=iM("start","end","cancel","interrupt"),eet=[],AM=0,G6=1,oS=2,p2=3,V6=4,sS=5,g2=6;function ab(t,e,r,n,i,a){var s=t.__transition;if(!s)t.__transition={};else if(r in s)return;ret(t,r,{name:e,index:n,group:i,on:tet,tween:eet,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:AM})}function Vw(t,e){var r=Ul(t,e);if(r.state>AM)throw new Error("too late; already scheduled");return r}function zc(t,e){var r=Ul(t,e);if(r.state>p2)throw new Error("too late; already running");return r}function Ul(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}function ret(t,e,r){var n=t.__transition,i;n[e]=r,r.timer=_M(a,0,r.time);function a(h){r.state=G6,r.timer.restart(s,r.delay,r.time),r.delay<=h&&s(h-r.delay)}function s(h){var f,p,y,g;if(r.state!==G6)return u();for(f in n)if(g=n[f],g.name===r.name){if(g.state===p2)return W6(s);g.state===V6?(g.state=g2,g.timer.stop(),g.on.call("interrupt",t,t.__data__,g.index,g.group),delete n[f]):+f<e&&(g.state=g2,g.timer.stop(),g.on.call("cancel",t,t.__data__,g.index,g.group),delete n[f])}if(W6(function(){r.state===p2&&(r.state=V6,r.timer.restart(l,r.delay,r.time),l(h))}),r.state=oS,r.on.call("start",t,t.__data__,r.index,r.group),r.state===oS){for(r.state=p2,i=new Array(y=r.tween.length),f=0,p=-1;f<y;++f)(g=r.tween[f].value.call(t,t.__data__,r.index,r.group))&&(i[++p]=g);i.length=p+1}}function l(h){for(var f=h<r.duration?r.ease.call(null,h/r.duration):(r.timer.restart(u),r.state=sS,1),p=-1,y=i.length;++p<y;)i[p].call(t,f);r.state===sS&&(r.on.call("end",t,t.__data__,r.index,r.group),u())}function u(){r.state=g2,r.timer.stop(),delete n[e];for(var h in n)return;delete t.__transition}}function net(t,e){var r=t.__transition,n,i,a=!0,s;if(r){e=e==null?null:e+"";for(s in r){if((n=r[s]).name!==e){a=!1;continue}i=n.state>oS&&n.state<sS,n.state=g2,n.timer.stop(),n.on.call(i?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete r[s]}a&&delete t.__transition}}function iet(t){return this.each(function(){net(this,t)})}function aet(t,e){var r,n;return function(){var i=zc(this,t),a=i.tween;if(a!==r){n=r=a;for(var s=0,l=n.length;s<l;++s)if(n[s].name===e){n=n.slice(),n.splice(s,1);break}}i.tween=n}}function oet(t,e,r){var n,i;if(typeof r!="function")throw new Error;return function(){var a=zc(this,t),s=a.tween;if(s!==n){i=(n=s).slice();for(var l={name:e,value:r},u=0,h=i.length;u<h;++u)if(i[u].name===e){i[u]=l;break}u===h&&i.push(l)}a.tween=i}}function set(t,e){var r=this._id;if(t+="",arguments.length<2){for(var n=Ul(this.node(),r).tween,i=0,a=n.length,s;i<a;++i)if((s=n[i]).name===t)return s.value;return null}return this.each((e==null?aet:oet)(r,t,e))}function Yw(t,e,r){var n=t._id;return t.each(function(){var i=zc(this,n);(i.value||(i.value={}))[e]=r.apply(this,arguments)}),function(i){return Ul(i,n).value[e]}}function TM(t,e){var r;return(typeof e=="number"?wh:e instanceof z0?q6:(r=z0(e))?(e=r,q6):Wtt)(t,e)}function cet(t){return function(){this.removeAttribute(t)}}function uet(t){return function(){this.removeAttributeNS(t.space,t.local)}}function het(t,e,r){var n,i=r+"",a;return function(){var s=this.getAttribute(t);return s===i?null:s===n?a:a=e(n=s,r)}}function fet(t,e,r){var n,i=r+"",a;return function(){var s=this.getAttributeNS(t.space,t.local);return s===i?null:s===n?a:a=e(n=s,r)}}function det(t,e,r){var n,i,a;return function(){var s,l=r(this),u;return l==null?void this.removeAttribute(t):(s=this.getAttribute(t),u=l+"",s===u?null:s===n&&u===i?a:(i=u,a=e(n=s,l)))}}function pet(t,e,r){var n,i,a;return function(){var s,l=r(this),u;return l==null?void this.removeAttributeNS(t.space,t.local):(s=this.getAttributeNS(t.space,t.local),u=l+"",s===u?null:s===n&&u===i?a:(i=u,a=e(n=s,l)))}}function get(t,e){var r=nb(t),n=r==="transform"?Xtt:TM;return this.attrTween(t,typeof e=="function"?(r.local?pet:det)(r,n,Yw(this,"attr."+t,e)):e==null?(r.local?uet:cet)(r):(r.local?fet:het)(r,n,e))}function met(t,e){return function(r){this.setAttribute(t,e.call(this,r))}}function yet(t,e){return function(r){this.setAttributeNS(t.space,t.local,e.call(this,r))}}function bet(t,e){var r,n;function i(){var a=e.apply(this,arguments);return a!==n&&(r=(n=a)&&yet(t,a)),r}return i._value=e,i}function vet(t,e){var r,n;function i(){var a=e.apply(this,arguments);return a!==n&&(r=(n=a)&&met(t,a)),r}return i._value=e,i}function xet(t,e){var r="attr."+t;if(arguments.length<2)return(r=this.tween(r))&&r._value;if(e==null)return this.tween(r,null);if(typeof e!="function")throw new Error;var n=nb(t);return this.tween(r,(n.local?bet:vet)(n,e))}function wet(t,e){return function(){Vw(this,t).delay=+e.apply(this,arguments)}}function Cet(t,e){return e=+e,function(){Vw(this,t).delay=e}}function ket(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?wet:Cet)(e,t)):Ul(this.node(),e).delay}function _et(t,e){return function(){zc(this,t).duration=+e.apply(this,arguments)}}function Aet(t,e){return e=+e,function(){zc(this,t).duration=e}}function Tet(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?_et:Aet)(e,t)):Ul(this.node(),e).duration}function Let(t,e){if(typeof e!="function")throw new Error;return function(){zc(this,t).ease=e}}function Eet(t){var e=this._id;return arguments.length?this.each(Let(e,t)):Ul(this.node(),e).ease}function Met(t,e){return function(){var r=e.apply(this,arguments);if(typeof r!="function")throw new Error;zc(this,t).ease=r}}function Ret(t){if(typeof t!="function")throw new Error;return this.each(Met(this._id,t))}function Net(t){typeof t!="function"&&(t=sM(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i<r;++i)for(var a=e[i],s=a.length,l=n[i]=[],u,h=0;h<s;++h)(u=a[h])&&t.call(u,u.__data__,h,a)&&l.push(u);return new Lu(n,this._parents,this._name,this._id)}function Bet(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,r=t._groups,n=e.length,i=r.length,a=Math.min(n,i),s=new Array(n),l=0;l<a;++l)for(var u=e[l],h=r[l],f=u.length,p=s[l]=new Array(f),y,g=0;g<f;++g)(y=u[g]||h[g])&&(p[g]=y);for(;l<n;++l)s[l]=e[l];return new Lu(s,this._parents,this._name,this._id)}function Oet(t){return(t+"").trim().split(/^|\s+/).every(function(e){var r=e.indexOf(".");return r>=0&&(e=e.slice(0,r)),!e||e==="start"})}function Pet(t,e,r){var n,i,a=Oet(e)?Vw:zc;return function(){var s=a(this,t),l=s.on;l!==n&&(i=(n=l).copy()).on(e,r),s.on=i}}function $et(t,e){var r=this._id;return arguments.length<2?Ul(this.node(),r).on.on(t):this.each(Pet(r,t,e))}function jet(t){return function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}}function Det(){return this.on("end.remove",jet(this._id))}function Iet(t){var e=this._name,r=this._id;typeof t!="function"&&(t=qw(t));for(var n=this._groups,i=n.length,a=new Array(i),s=0;s<i;++s)for(var l=n[s],u=l.length,h=a[s]=new Array(u),f,p,y=0;y<u;++y)(f=l[y])&&(p=t.call(f,f.__data__,y,l))&&("__data__"in f&&(p.__data__=f.__data__),h[y]=p,ab(h[y],e,r,y,h,Ul(f,r)));return new Lu(a,this._parents,e,r)}function zet(t){var e=this._name,r=this._id;typeof t!="function"&&(t=oM(t));for(var n=this._groups,i=n.length,a=[],s=[],l=0;l<i;++l)for(var u=n[l],h=u.length,f,p=0;p<h;++p)if(f=u[p]){for(var y=t.call(f,f.__data__,p,u),g,b=Ul(f,r),v=0,C=y.length;v<C;++v)(g=y[v])&&ab(g,e,r,v,y,b);a.push(y),s.push(f)}return new Lu(a,s,e,r)}var Fet=cm.prototype.constructor;function qet(){return new Fet(this._groups,this._parents)}function Het(t,e){var r,n,i;return function(){var a=Bp(this,t),s=(this.style.removeProperty(t),Bp(this,t));return a===s?null:a===r&&s===n?i:i=e(r=a,n=s)}}function LM(t){return function(){this.style.removeProperty(t)}}function Uet(t,e,r){var n,i=r+"",a;return function(){var s=Bp(this,t);return s===i?null:s===n?a:a=e(n=s,r)}}function Wet(t,e,r){var n,i,a;return function(){var s=Bp(this,t),l=r(this),u=l+"";return l==null&&(u=l=(this.style.removeProperty(t),Bp(this,t))),s===u?null:s===n&&u===i?a:(i=u,a=e(n=s,l))}}function Get(t,e){var r,n,i,a="style."+e,s="end."+a,l;return function(){var u=zc(this,t),h=u.on,f=u.value[a]==null?l||(l=LM(e)):void 0;(h!==r||i!==f)&&(n=(r=h).copy()).on(s,i=f),u.on=n}}function Vet(t,e,r){var n=(t+="")=="transform"?Ytt:TM;return e==null?this.styleTween(t,Het(t,n)).on("end.style."+t,LM(t)):typeof e=="function"?this.styleTween(t,Wet(t,n,Yw(this,"style."+t,e))).each(Get(this._id,t)):this.styleTween(t,Uet(t,n,e),r).on("end.style."+t,null)}function Yet(t,e,r){return function(n){this.style.setProperty(t,e.call(this,n),r)}}function Xet(t,e,r){var n,i;function a(){var s=e.apply(this,arguments);return s!==i&&(n=(i=s)&&Yet(t,s,r)),n}return a._value=e,a}function Ket(t,e,r){var n="style."+(t+="");if(arguments.length<2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!="function")throw new Error;return this.tween(n,Xet(t,e,r??""))}function Zet(t){return function(){this.textContent=t}}function Qet(t){return function(){var e=t(this);this.textContent=e??""}}function Jet(t){return this.tween("text",typeof t=="function"?Qet(Yw(this,"text",t)):Zet(t==null?"":t+""))}function trt(t){return function(e){this.textContent=t.call(this,e)}}function ert(t){var e,r;function n(){var i=t.apply(this,arguments);return i!==r&&(e=(r=i)&&trt(i)),e}return n._value=t,n}function rrt(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(t==null)return this.tween(e,null);if(typeof t!="function")throw new Error;return this.tween(e,ert(t))}function nrt(){for(var t=this._name,e=this._id,r=EM(),n=this._groups,i=n.length,a=0;a<i;++a)for(var s=n[a],l=s.length,u,h=0;h<l;++h)if(u=s[h]){var f=Ul(u,e);ab(u,t,r,h,s,{time:f.time+f.delay+f.duration,delay:0,duration:f.duration,ease:f.ease})}return new Lu(n,this._parents,t,r)}function irt(){var t,e,r=this,n=r._id,i=r.size();return new Promise(function(a,s){var l={value:s},u={value:function(){--i===0&&a()}};r.each(function(){var h=zc(this,n),f=h.on;f!==t&&(e=(t=f).copy(),e._.cancel.push(l),e._.interrupt.push(l),e._.end.push(u)),h.on=e}),i===0&&a()})}var art=0;function Lu(t,e,r,n){this._groups=t,this._parents=e,this._name=r,this._id=n}function EM(){return++art}var gu=cm.prototype;Lu.prototype={constructor:Lu,select:Iet,selectAll:zet,selectChild:gu.selectChild,selectChildren:gu.selectChildren,filter:Net,merge:Bet,selection:qet,transition:nrt,call:gu.call,nodes:gu.nodes,node:gu.node,size:gu.size,empty:gu.empty,each:gu.each,on:$et,attr:get,attrTween:xet,style:Vet,styleTween:Ket,text:Jet,textTween:rrt,remove:Det,tween:set,delay:ket,duration:Tet,ease:Eet,easeVarying:Ret,end:irt,[Symbol.iterator]:gu[Symbol.iterator]};function ort(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var srt={time:null,delay:0,duration:250,ease:ort};function lrt(t,e){for(var r;!(r=t.__transition)||!(r=r[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return r}function crt(t){var e,r;t instanceof Lu?(e=t._id,t=t._name):(e=EM(),(r=srt).time=Gw(),t=t==null?null:t+"");for(var n=this._groups,i=n.length,a=0;a<i;++a)for(var s=n[a],l=s.length,u,h=0;h<l;++h)(u=s[h])&&ab(u,t,e,h,s,r||lrt(u,e));return new Lu(n,this._parents,t,e)}cm.prototype.interrupt=iet;cm.prototype.transition=crt;const lS=Math.PI,cS=2*lS,bf=1e-6,urt=cS-bf;function MM(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}function hrt(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return MM;const r=10**e;return function(n){this._+=n[0];for(let i=1,a=n.length;i<a;++i)this._+=Math.round(arguments[i]*r)/r+n[i]}}class frt{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?MM:hrt(e)}moveTo(e,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,r){this._append`L${this._x1=+e},${this._y1=+r}`}quadraticCurveTo(e,r,n,i){this._append`Q${+e},${+r},${this._x1=+n},${this._y1=+i}`}bezierCurveTo(e,r,n,i,a,s){this._append`C${+e},${+r},${+n},${+i},${this._x1=+a},${this._y1=+s}`}arcTo(e,r,n,i,a){if(e=+e,r=+r,n=+n,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let s=this._x1,l=this._y1,u=n-e,h=i-r,f=s-e,p=l-r,y=f*f+p*p;if(this._x1===null)this._append`M${this._x1=e},${this._y1=r}`;else if(y>bf)if(!(Math.abs(p*u-h*f)>bf)||!a)this._append`L${this._x1=e},${this._y1=r}`;else{let g=n-s,b=i-l,v=u*u+h*h,C=g*g+b*b,k=Math.sqrt(v),T=Math.sqrt(y),E=a*Math.tan((lS-Math.acos((v+y-C)/(2*k*T)))/2),L=E/T,O=E/k;Math.abs(L-1)>bf&&this._append`L${e+L*f},${r+L*p}`,this._append`A${a},${a},0,0,${+(p*g>f*b)},${this._x1=e+O*u},${this._y1=r+O*h}`}}arc(e,r,n,i,a,s){if(e=+e,r=+r,n=+n,s=!!s,n<0)throw new Error(`negative radius: ${n}`);let l=n*Math.cos(i),u=n*Math.sin(i),h=e+l,f=r+u,p=1^s,y=s?i-a:a-i;this._x1===null?this._append`M${h},${f}`:(Math.abs(this._x1-h)>bf||Math.abs(this._y1-f)>bf)&&this._append`L${h},${f}`,n&&(y<0&&(y=y%cS+cS),y>urt?this._append`A${n},${n},0,1,${p},${e-l},${r-u}A${n},${n},0,1,${p},${this._x1=h},${this._y1=f}`:y>bf&&this._append`A${n},${n},0,${+(y>=lS)},${p},${this._x1=e+n*Math.cos(a)},${this._y1=r+n*Math.sin(a)}`)}rect(e,r,n,i){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+r}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}}function Zd(t){return function(){return t}}const Oft=Math.abs,Pft=Math.atan2,$ft=Math.cos,jft=Math.max,Dft=Math.min,Ift=Math.sin,zft=Math.sqrt,Y6=1e-12,Xw=Math.PI,X6=Xw/2,Fft=2*Xw;function qft(t){return t>1?0:t<-1?Xw:Math.acos(t)}function Hft(t){return t>=1?X6:t<=-1?-X6:Math.asin(t)}function drt(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(r==null)e=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);e=n}return t},()=>new frt(e)}function prt(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function RM(t){this._context=t}RM.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function ty(t){return new RM(t)}function grt(t){return t[0]}function mrt(t){return t[1]}function yrt(t,e){var r=Zd(!0),n=null,i=ty,a=null,s=drt(l);t=typeof t=="function"?t:t===void 0?grt:Zd(t),e=typeof e=="function"?e:e===void 0?mrt:Zd(e);function l(u){var h,f=(u=prt(u)).length,p,y=!1,g;for(n==null&&(a=i(g=s())),h=0;h<=f;++h)!(h<f&&r(p=u[h],h,u))===y&&((y=!y)?a.lineStart():a.lineEnd()),y&&a.point(+t(p,h,u),+e(p,h,u));if(g)return a=null,g+""||null}return l.x=function(u){return arguments.length?(t=typeof u=="function"?u:Zd(+u),l):t},l.y=function(u){return arguments.length?(e=typeof u=="function"?u:Zd(+u),l):e},l.defined=function(u){return arguments.length?(r=typeof u=="function"?u:Zd(!!u),l):r},l.curve=function(u){return arguments.length?(i=u,n!=null&&(a=i(n)),l):i},l.context=function(u){return arguments.length?(u==null?n=a=null:a=i(n=u),l):n},l}class NM{constructor(e,r){this._context=e,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,r){switch(e=+e,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,r,e,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,e,this._y0,e,r);break}}this._x0=e,this._y0=r}}function BM(t){return new NM(t,!0)}function OM(t){return new NM(t,!1)}function $h(){}function ey(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function ob(t){this._context=t}ob.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:ey(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:ey(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function m2(t){return new ob(t)}function PM(t){this._context=t}PM.prototype={areaStart:$h,areaEnd:$h,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:ey(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function brt(t){return new PM(t)}function $M(t){this._context=t}$M.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:ey(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function vrt(t){return new $M(t)}function jM(t,e){this._basis=new ob(t),this._beta=e}jM.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,r=t.length-1;if(r>0)for(var n=t[0],i=e[0],a=t[r]-n,s=e[r]-i,l=-1,u;++l<=r;)u=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(n+u*a),this._beta*e[l]+(1-this._beta)*(i+u*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const xrt=(function t(e){function r(n){return e===1?new ob(n):new jM(n,e)}return r.beta=function(n){return t(+n)},r})(.85);function ry(t,e,r){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-r),t._x2,t._y2)}function Kw(t,e){this._context=t,this._k=(1-e)/6}Kw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:ry(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:ry(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const DM=(function t(e){function r(n){return new Kw(n,e)}return r.tension=function(n){return t(+n)},r})(0);function Zw(t,e){this._context=t,this._k=(1-e)/6}Zw.prototype={areaStart:$h,areaEnd:$h,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:ry(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Srt=(function t(e){function r(n){return new Zw(n,e)}return r.tension=function(n){return t(+n)},r})(0);function Qw(t,e){this._context=t,this._k=(1-e)/6}Qw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ry(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const wrt=(function t(e){function r(n){return new Qw(n,e)}return r.tension=function(n){return t(+n)},r})(0);function Jw(t,e,r){var n=t._x1,i=t._y1,a=t._x2,s=t._y2;if(t._l01_a>Y6){var l=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*l-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,i=(i*l-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>Y6){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*h+t._x1*t._l23_2a-e*t._l12_2a)/f,s=(s*h+t._y1*t._l23_2a-r*t._l12_2a)/f}t._context.bezierCurveTo(n,i,a,s,t._x2,t._y2)}function IM(t,e){this._context=t,this._alpha=e}IM.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Jw(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const zM=(function t(e){function r(n){return e?new IM(n,e):new Kw(n,0)}return r.alpha=function(n){return t(+n)},r})(.5);function FM(t,e){this._context=t,this._alpha=e}FM.prototype={areaStart:$h,areaEnd:$h,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Jw(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Crt=(function t(e){function r(n){return e?new FM(n,e):new Zw(n,0)}return r.alpha=function(n){return t(+n)},r})(.5);function qM(t,e){this._context=t,this._alpha=e}qM.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Jw(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const krt=(function t(e){function r(n){return e?new qM(n,e):new Qw(n,0)}return r.alpha=function(n){return t(+n)},r})(.5);function HM(t){this._context=t}HM.prototype={areaStart:$h,areaEnd:$h,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function _rt(t){return new HM(t)}function K6(t){return t<0?-1:1}function Z6(t,e,r){var n=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(n||i<0&&-0),s=(r-t._y1)/(i||n<0&&-0),l=(a*i+s*n)/(n+i);return(K6(a)+K6(s))*Math.min(Math.abs(a),Math.abs(s),.5*Math.abs(l))||0}function Q6(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function Wx(t,e,r){var n=t._x0,i=t._y0,a=t._x1,s=t._y1,l=(a-n)/3;t._context.bezierCurveTo(n+l,i+l*e,a-l,s-l*r,a,s)}function ny(t){this._context=t}ny.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Wx(this,this._t0,Q6(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Wx(this,Q6(this,r=Z6(this,t,e)),r);break;default:Wx(this,this._t0,r=Z6(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}};function UM(t){this._context=new WM(t)}(UM.prototype=Object.create(ny.prototype)).point=function(t,e){ny.prototype.point.call(this,e,t)};function WM(t){this._context=t}WM.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,i,a){this._context.bezierCurveTo(e,t,n,r,a,i)}};function GM(t){return new ny(t)}function VM(t){return new UM(t)}function YM(t){this._context=t}YM.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),r===2)this._context.lineTo(t[1],e[1]);else for(var n=J6(t),i=J6(e),a=0,s=1;s<r;++a,++s)this._context.bezierCurveTo(n[0][a],i[0][a],n[1][a],i[1][a],t[s],e[s]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function J6(t){var e,r=t.length-1,n,i=new Array(r),a=new Array(r),s=new Array(r);for(i[0]=0,a[0]=2,s[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,a[e]=4,s[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,a[r-1]=7,s[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/a[e-1],a[e]-=n,s[e]-=n*s[e-1];for(i[r-1]=s[r-1]/a[r-1],e=r-2;e>=0;--e)i[e]=(s[e]-i[e+1])/a[e];for(a[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)a[e]=2*t[e+1]-i[e+1];return[i,a]}function XM(t){return new YM(t)}function sb(t,e){this._context=t,this._t=e}sb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}break}}this._x=t,this._y=e}};function KM(t){return new sb(t,.5)}function ZM(t){return new sb(t,0)}function QM(t){return new sb(t,1)}function a0(t,e,r){this.k=t,this.x=e,this.y=r}a0.prototype={constructor:a0,scale:function(t){return t===1?this:new a0(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new a0(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};a0.prototype;var Art=$(t=>{const{securityLevel:e}=qn();let r=Tn("body");if(e==="sandbox"){const a=Tn(`#i${t}`).node()?.contentDocument??document;r=Tn(a.body)}return r.select(`#${t}`)},"selectSvgElement");function tC(t){return typeof t>"u"||t===null}$(tC,"isNothing");function JM(t){return typeof t=="object"&&t!==null}$(JM,"isObject");function t7(t){return Array.isArray(t)?t:tC(t)?[]:[t]}$(t7,"toArray");function e7(t,e){var r,n,i,a;if(e)for(a=Object.keys(e),r=0,n=a.length;r<n;r+=1)i=a[r],t[i]=e[i];return t}$(e7,"extend");function r7(t,e){var r="",n;for(n=0;n<e;n+=1)r+=t;return r}$(r7,"repeat");function n7(t){return t===0&&Number.NEGATIVE_INFINITY===1/t}$(n7,"isNegativeZero");var Trt=tC,Lrt=JM,Ert=t7,Mrt=r7,Rrt=n7,Nrt=e7,Sa={isNothing:Trt,isObject:Lrt,toArray:Ert,repeat:Mrt,isNegativeZero:Rrt,extend:Nrt};function eC(t,e){var r="",n=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(r+='in "'+t.mark.name+'" '),r+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(r+=`
379
380`+t.mark.snippet),n+" "+r):n}$(eC,"formatError");function Pp(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=eC(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}$(Pp,"YAMLException$1");Pp.prototype=Object.create(Error.prototype);Pp.prototype.constructor=Pp;Pp.prototype.toString=$(function(e){return this.name+": "+eC(this,e)},"toString");var Xo=Pp;function y2(t,e,r,n,i){var a="",s="",l=Math.floor(i/2)-1;return n-e>l&&(a=" ... ",e=n-l+a.length),r-n>l&&(s=" ...",r=n+l-s.length),{str:a+t.slice(e,r).replace(/\t/g,"→")+s,pos:n-e+a.length}}$(y2,"getLine");function b2(t,e){return Sa.repeat(" ",e-t.length)+t}$(b2,"padStart");function i7(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),typeof e.indent!="number"&&(e.indent=1),typeof e.linesBefore!="number"&&(e.linesBefore=3),typeof e.linesAfter!="number"&&(e.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],i=[],a,s=-1;a=r.exec(t.buffer);)i.push(a.index),n.push(a.index+a[0].length),t.position<=a.index&&s<0&&(s=n.length-2);s<0&&(s=n.length-1);var l="",u,h,f=Math.min(t.line+e.linesAfter,i.length).toString().length,p=e.maxLength-(e.indent+f+3);for(u=1;u<=e.linesBefore&&!(s-u<0);u++)h=y2(t.buffer,n[s-u],i[s-u],t.position-(n[s]-n[s-u]),p),l=Sa.repeat(" ",e.indent)+b2((t.line-u+1).toString(),f)+" | "+h.str+`
381`+l;for(h=y2(t.buffer,n[s],i[s],t.position,p),l+=Sa.repeat(" ",e.indent)+b2((t.line+1).toString(),f)+" | "+h.str+`
382`,l+=Sa.repeat("-",e.indent+f+3+h.pos)+`^
383`,u=1;u<=e.linesAfter&&!(s+u>=i.length);u++)h=y2(t.buffer,n[s+u],i[s+u],t.position-(n[s]-n[s+u]),p),l+=Sa.repeat(" ",e.indent)+b2((t.line+u+1).toString(),f)+" | "+h.str+`
384`;return l.replace(/\n$/,"")}$(i7,"makeSnippet");var Brt=i7,Ort=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Prt=["scalar","sequence","mapping"];function a7(t){var e={};return t!==null&&Object.keys(t).forEach(function(r){t[r].forEach(function(n){e[String(n)]=r})}),e}$(a7,"compileStyleAliases");function o7(t,e){if(e=e||{},Object.keys(e).forEach(function(r){if(Ort.indexOf(r)===-1)throw new Xo('Unknown option "'+r+'" is met in definition of "'+t+'" YAML type.')}),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(r){return r},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=a7(e.styleAliases||null),Prt.indexOf(this.kind)===-1)throw new Xo('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}$(o7,"Type$1");var co=o7;function uS(t,e){var r=[];return t[e].forEach(function(n){var i=r.length;r.forEach(function(a,s){a.tag===n.tag&&a.kind===n.kind&&a.multi===n.multi&&(i=s)}
vendor: 7,057 bytes, line 384
384),r[i]=n}),r}$(uS,"compileList");function s7(){var t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},e,r;function n(i){i.multi?(t.multi[i.kind].push(i),t.multi.fallback.push(i)):t[i.kind][i.tag]=t.fallback[i.tag]=i}for($(n,"collectType"),e=0,r=arguments.length;e<r;e+=1)arguments[e].forEach(n);return t}$(s7,"compileMap");function iy(t){return this.extend(t)}$(iy,"Schema$1");iy.prototype.extend=$(function(e){var r=[],n=[];if(e instanceof co)n.push(e);else if(Array.isArray(e))n=n.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(r=r.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit));else throw new Xo("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(a){if(!(a instanceof co))throw new Xo("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(a.loadKind&&a.loadKind!=="scalar")throw new Xo("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(a.multi)throw new Xo("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(a){if(!(a instanceof co))throw new Xo("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var i=Object.create(iy.prototype);return i.implicit=(this.implicit||[]).concat(r),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=uS(i,"implicit"),i.compiledExplicit=uS(i,"explicit"),i.compiledTypeMap=s7(i.compiledImplicit,i.compiledExplicit),i},"extend");var $rt=iy,jrt=new co("tag:yaml.org,2002:str",{kind:"scalar",construct:$(function(t){return t!==null?t:""},"construct")}),Drt=new co("tag:yaml.org,2002:seq",{kind:"sequence",construct:$(function(t){return t!==null?t:[]},"construct")}),Irt=new co("tag:yaml.org,2002:map",{kind:"mapping",construct:$(function(t){return t!==null?t:{}},"construct")}),zrt=new $rt({explicit:[jrt,Drt,Irt]});function l7(t){if(t===null)return!0;var e=t.length;return e===1&&t==="~"||e===4&&(t==="null"||t==="Null"||t==="NULL")}$(l7,"resolveYamlNull");function c7(){return null}$(c7,"constructYamlNull");function u7(t){return t===null}$(u7,"isNull");var Frt=new co("tag:yaml.org,2002:null",{kind:"scalar",resolve:l7,construct:c7,predicate:u7,represent:{canonical:$(function(){return"~"},"canonical"),lowercase:$(function(){return"null"},"lowercase"),uppercase:$(function(){return"NULL"},"uppercase"),camelcase:$(function(){return"Null"},"camelcase"),empty:$(function(){return""},"empty")},defaultStyle:"lowercase"});function h7(t){if(t===null)return!1;var e=t.length;return e===4&&(t==="true"||t==="True"||t==="TRUE")||e===5&&(t==="false"||t==="False"||t==="FALSE")}$(h7,"resolveYamlBoolean");function f7(t){return t==="true"||t==="True"||t==="TRUE"}$(f7,"constructYamlBoolean");function d7(t){return Object.prototype.toString.call(t)==="[object Boolean]"}$(d7,"isBoolean");var qrt=new co("tag:yaml.org,2002:bool",{kind:"scalar",resolve:h7,construct:f7,predicate:d7,represent:{lowercase:$(function(t){return t?"true":"false"},"lowercase"),uppercase:$(function(t){return t?"TRUE":"FALSE"},"uppercase"),camelcase:$(function(t){return t?"True":"False"},"camelcase")},defaultStyle:"lowercase"});function p7(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}$(p7,"isHexCode");function g7(t){return 48<=t&&t<=55}$(g7,"isOctCode");function m7(t){return 48<=t&&t<=57}$(m7,"isDecCode");function y7(t){if(t===null)return!1;var e=t.length,r=0,n=!1,i;if(!e)return!1;if(i=t[r],(i==="-"||i==="+")&&(i=t[++r]),i==="0"){if(r+1===e)return!0;if(i=t[++r],i==="b"){for(r++;r<e;r++)if(i=t[r],i!=="_"){if(i!=="0"&&i!=="1")return!1;n=!0}return n&&i!=="_"}if(i==="x"){for(r++;r<e;r++)if(i=t[r],i!=="_"){if(!p7(t.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}if(i==="o"){for(r++;r<e;r++)if(i=t[r],i!=="_"){if(!g7(t.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}}if(i==="_")return!1;for(;r<e;r++)if(i=t[r],i!=="_"){if(!m7(t.charCodeAt(r)))return!1;n=!0}return!(!n||i==="_")}$(y7,"resolveYamlInteger");function b7(t){var e=t,r=1,n;if(e.indexOf("_")!==-1&&(e=e.replace(/_/g,"")),n=e[0],(n==="-"||n==="+")&&(n==="-"&&(r=-1),e=e.slice(1),n=e[0]),e==="0")return 0;if(n==="0"){if(e[1]==="b")return r*parseInt(e.slice(2),2);if(e[1]==="x")return r*parseInt(e.slice(2),16);if(e[1]==="o")return r*parseInt(e.slice(2),8)}return r*parseInt(e,10)}$(b7,"constructYamlInteger");function v7(t){return Object.prototype.toString.call(t)==="[object Number]"&&t%1===0&&!Sa.isNegativeZero(t)}$(v7,"isInteger");var Hrt=new co("tag:yaml.org,2002:int",{kind:"scalar",resolve:y7,construct:b7,predicate:v7,represent:{binary:$(function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},"binary"),octal:$(function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},"octal"),decimal:$(function(t){return t.toString(10)},"decimal"),hexadecimal:$(function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Urt=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function x7(t){return!(t===null||!Urt.test(t)||t[t.length-1]==="_")}$(x7,"resolveYamlFloat");function S7(t){var e,r;return e=t.replace(/_/g,"").toLowerCase(),r=e[0]==="-"?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),e===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:e===".nan"?NaN:r*parseFloat(e,10)}$(S7,"constructYamlFloat");var Wrt=/^[-+]?[0-9]+e/;function w7(t,e){var r;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Sa.isNegativeZero(t))return"-0.0";return r=t.toString(10),Wrt.test(r)?r.replace("e",".e"):r}$(w7,"representYamlFloat");function C7(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1!==0||Sa.isNegativeZero(t))}$(C7,"isFloat");var Grt=new co("tag:yaml.org,2002:float",{kind:"scalar",resolve:x7,construct:S7,predicate:C7,represent:w7,defaultStyle:"lowercase"}),k7=zrt.extend({implicit:[Frt,qrt,Hrt,Grt]}),Vrt=k7,_7=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),A7=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function T7(t){return t===null?!1:_7.exec(t)!==null||A7.exec(t)!==null}$(T7,"resolveYamlTimestamp");function L7(t){var e,r,n,i,a,s,l,u=0,h=null,f,p,y;if(e=_7.exec(t),e===null&&(e=A7.exec(t)),e===null)throw new Error("Date resolve error");
vendor: 11,762 bytes, lines 384-387
384if(r=+e[1],n=+e[2]-1,i=+e[3],!e[4])return new Date(Date.UTC(r,n,i));if(a=+e[4],s=+e[5],l=+e[6],e[7]){for(u=e[7].slice(0,3);u.length<3;)u+="0";u=+u}return e[9]&&(f=+e[10],p=+(e[11]||0),h=(f*60+p)*6e4,e[9]==="-"&&(h=-h)),y=new Date(Date.UTC(r,n,i,a,s,l,u)),h&&y.setTime(y.getTime()-h),y}$(L7,"constructYamlTimestamp");function E7(t){return t.toISOString()}$(E7,"representYamlTimestamp");var Yrt=new co("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:T7,construct:L7,instanceOf:Date,represent:E7});function M7(t){return t==="<<"||t===null}$(M7,"resolveYamlMerge");var Xrt=new co("tag:yaml.org,2002:merge",{kind:"scalar",resolve:M7}),rC=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
385\r`;function R7(t){if(t===null)return!1;var e,r,n=0,i=t.length,a=rC;for(r=0;r<i;r++)if(e=a.indexOf(t.charAt(r)),!(e>64)){if(e<0)return!1;n+=6}return n%8===0}$(R7,"resolveYamlBinary");function N7(t){var e,r,n=t.replace(/[\r\n=]/g,""),i=n.length,a=rC,s=0,l=[];for(e=0;e<i;e++)e%4===0&&e&&(l.push(s>>16&255),l.push(s>>8&255),l.push(s&255)),s=s<<6|a.indexOf(n.charAt(e));return r=i%4*6,r===0?(l.push(s>>16&255),l.push(s>>8&255),l.push(s&255)):r===18?(l.push(s>>10&255),l.push(s>>2&255)):r===12&&l.push(s>>4&255),new Uint8Array(l)}$(N7,"constructYamlBinary");function B7(t){var e="",r=0,n,i,a=t.length,s=rC;for(n=0;n<a;n++)n%3===0&&n&&(e+=s[r>>18&63],e+=s[r>>12&63],e+=s[r>>6&63],e+=s[r&63]),r=(r<<8)+t[n];return i=a%3,i===0?(e+=s[r>>18&63],e+=s[r>>12&63],e+=s[r>>6&63],e+=s[r&63]):i===2?(e+=s[r>>10&63],e+=s[r>>4&63],e+=s[r<<2&63],e+=s[64]):i===1&&(e+=s[r>>2&63],e+=s[r<<4&63],e+=s[64],e+=s[64]),e}$(B7,"representYamlBinary");function O7(t){return Object.prototype.toString.call(t)==="[object Uint8Array]"}$(O7,"isBinary");var Krt=new co("tag:yaml.org,2002:binary",{kind:"scalar",resolve:R7,construct:N7,predicate:O7,represent:B7}),Zrt=Object.prototype.hasOwnProperty,Qrt=Object.prototype.toString;function P7(t){if(t===null)return!0;var e=[],r,n,i,a,s,l=t;for(r=0,n=l.length;r<n;r+=1){if(i=l[r],s=!1,Qrt.call(i)!=="[object Object]")return!1;for(a in i)if(Zrt.call(i,a))if(!s)s=!0;else return!1;if(!s)return!1;if(e.indexOf(a)===-1)e.push(a);else return!1}return!0}$(P7,"resolveYamlOmap");function $7(t){return t!==null?t:[]}$($7,"constructYamlOmap");var Jrt=new co("tag:yaml.org,2002:omap",{kind:"sequence",resolve:P7,construct:$7}),tnt=Object.prototype.toString;function j7(t){if(t===null)return!0;var e,r,n,i,a,s=t;for(a=new Array(s.length),e=0,r=s.length;e<r;e+=1){if(n=s[e],tnt.call(n)!=="[object Object]"||(i=Object.keys(n),i.length!==1))return!1;a[e]=[i[0],n[i[0]]]}return!0}$(j7,"resolveYamlPairs");function D7(t){if(t===null)return[];var e,r,n,i,a,s=t;for(a=new Array(s.length),e=0,r=s.length;e<r;e+=1)n=s[e],i=Object.keys(n),a[e]=[i[0],n[i[0]]];return a}$(D7,"constructYamlPairs");var ent=new co("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:j7,construct:D7}),rnt=Object.prototype.hasOwnProperty;function I7(t){if(t===null)return!0;var e,r=t;for(e in r)if(rnt.call(r,e)&&r[e]!==null)return!1;return!0}$(I7,"resolveYamlSet");function z7(t){return t!==null?t:{}}$(z7,"constructYamlSet");var nnt=new co("tag:yaml.org,2002:set",{kind:"mapping",resolve:I7,construct:z7}),F7=Vrt.extend({implicit:[Yrt,Xrt],explicit:[Krt,Jrt,ent,nnt]}),jh=Object.prototype.hasOwnProperty,ay=1,q7=2,H7=3,oy=4,Gx=1,int=2,tT=3,ant=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ont=/[\x85\u2028\u2029]/,snt=/[,\[\]\{\}]/,U7=/^(?:!|!!|![a-z\-]+!)$/i,W7=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function hS(t){return Object.prototype.toString.call(t)}$(hS,"_class");function Il(t){return t===10||t===13}$(Il,"is_EOL");function Eh(t){return t===9||t===32}$(Eh,"is_WHITE_SPACE");function ko(t){return t===9||t===32||t===10||t===13}$(ko,"is_WS_OR_EOL");function Tf(t){return t===44||t===91||t===93||t===123||t===125}$(Tf,"is_FLOW_INDICATOR");function G7(t){var e;return 48<=t&&t<=57?t-48:(e=t|32,97<=e&&e<=102?e-97+10:-1)}$(G7,"fromHexCode");function V7(t){return t===120?2:t===117?4:t===85?8:0}$(V7,"escapedHexLen");function Y7(t){return 48<=t&&t<=57?t-48:-1}$(Y7,"fromDecimalCode");function fS(t){return t===48?"\0":t===97?"\x07":t===98?"\b":t===116||t===9?"	":t===110?`
386`:t===118?"\v":t===102?"\f":t===114?"\r":t===101?"\x1B":t===32?" ":t===34?'"':t===47?"/":t===92?"\\":t===78?"…":t===95?" ":t===76?"\u2028":t===80?"\u2029":""}$(fS,"simpleEscapeSequence");function X7(t){return t<=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}$(X7,"charFromCodepoint");var K7=new Array(256),Z7=new Array(256);for(pf=0;pf<256;pf++)K7[pf]=fS(pf)?1:0,Z7[pf]=fS(pf);var pf;function Q7(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||F7,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}$(Q7,"State$1");function nC(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=Brt(r),new Xo(e,r)}$(nC,"generateError");function Sr(t,e){throw nC(t,e)}$(Sr,"throwError");function q0(t,e){t.onWarning&&t.onWarning.call(null,nC(t,e))}$(q0,"throwWarning");var eT={YAML:$(function(e,r,n){var i,a,s;e.version!==null&&Sr(e,"duplication of %YAML directive"),n.length!==1&&Sr(e,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),i===null&&Sr(e,"ill-formed argument of the YAML directive"),a=parseInt(i[1],10),s=parseInt(i[2],10),a!==1&&Sr(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=s<2,s!==1&&s!==2&&q0(e,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:$(function(e,r,n){var i,a;n.length!==2&&Sr(e,"TAG directive accepts exactly two arguments"),i=n[0],a=n[1],U7.test(i)||Sr(e,"ill-formed tag handle (first argument) of the TAG directive"),jh.call(e.tagMap,i)&&Sr(e,'there is a previously declared suffix for "'+i+'" tag handle'),W7.test(a)||Sr(e,"ill-formed tag prefix (second argument) of the TAG directive");try{a=decodeURIComponent(a)}catch{Sr(e,"tag prefix is malformed: "+a)}e.tagMap[i]=a},"handleTagDirective")};function ku(t,e,r,n){var i,a,s,l;if(e<r){if(l=t.input.slice(e,r),n)for(i=0,a=l.length;i<a;i+=1)s=l.charCodeAt(i),s===9||32<=s&&s<=1114111||Sr(t,"expected valid JSON character");else ant.test(l)&&Sr(t,"the stream contains non-printable characters");t.result+=l}}$(ku,"captureSegment");function dS(t,e,r,n){var i,a,s,l;for(Sa.isObject(r)||Sr(t,"cannot merge mappings; the provided source object is unacceptable"),i=Object.keys(r),s=0,l=i.length;s<l;s+=1)a=i[s],jh.call(e,a)||(e[a]=r[a],n[a]=!0)}$(dS,"mergeMappings");function Lf(t,e,r,n,i,a,s,l,u){var h,f;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),h=0,f=i.length;h<f;h+=1)Array.isArray(i[h])&&Sr(t,"nested arrays are not supported inside keys"),typeof i=="object"&&hS(i[h])==="[object Object]"&&(i[h]="[object Object]");if(typeof i=="object"&&hS(i)==="[object Object]"&&(i="[object Object]"),i=String(i),e===null&&(e={}),n==="tag:yaml.org,2002:merge")if(Array.isArray(a))for(h=0,f=a.length;h<f;h+=1)dS(t,e,a[h],r);else dS(t,e,a,r);else!t.json&&!jh.call(r,i)&&jh.call(e,i)&&(t.line=s||t.line,t.lineStart=l||t.lineStart,t.position=u||t.position,Sr(t,"duplicated mapping key")),i==="__proto__"?Object.defineProperty(e,i,{configurable:!0,enumerable:!0,writable:!0,value:a}):e[i]=a,delete r[i];return e}$(Lf,"storeMappingPair");function lb(t){var e;e=t.input.charCodeAt(t.position),e===10?t.position++:e===13?(t.position++,t.input.charCodeAt(t.position)===10&&t.position++):Sr(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}$(lb,"readLineBreak");function Ji(t,e,r){for(var n=0,i=t.input.charCodeAt(t.position);i!==0;){for(;Eh(i);)i===9&&t.firstTabInLine===-1&&(t.firstTabInLine=t.position),i=t.input.charCodeAt(++t.position);if(e&&i===35)do i=t.input.charCodeAt(++t.position);while(i!==10&&i!==13&&i!==0);if(Il(i))for(lb(t),i=t.input.charCodeAt(t.position),n++,t.lineIndent=0;i===32;)t.lineIndent++,i=t.input.charCodeAt(++t.position);else break}return r!==-1&&n!==0&&t.lineIndent<r&&q0(t,"deficient indentation"),n}$(Ji,"skipSeparationSpace");function hm(t){var e=t.position,r;return r=t.input.charCodeAt(e),!!((r===45||r===46)&&r===t.input.charCodeAt(e+1)&&r===t.input.charCodeAt(e+2)&&(e+=3,r=t.input.charCodeAt(e),r===0||ko(r)))}$(hm,"testDocumentSeparator");function cb(t,e){e===1?t.result+=" ":e>1&&(t.result+=Sa.repeat(`
387`,e-1))}$(cb,"writeFoldedLines");function J7(t,e,r){var n,i,a,s,l,u,h,f,p=t.kind,y=t.result,g;if(g=t.input.charCodeAt(t.position),ko(g)||Tf(g)||g===35||g===38||g===42||g===33||g===124||g===62||g===39||g===34||g===37||g===64||g===96||(g===63||g===45)&&(i=t.input.charCodeAt(t.position+1),ko(i)||r&&Tf(i)))return!1;for(t.kind="scalar",t.result="",a=s=t.position,l=!1;g!==0;){if(g===58){if(i=t.input.charCodeAt(t.position+1),ko(i)||r&&Tf(i))break}else if(g===35){if(n=t.input.charCodeAt(t.position-1),ko(n))break}else{if(t.position===t.lineStart&&hm(t)||r&&Tf(g))break;if(Il(g))if(u=t.line,h=t.lineStart,f=t.lineIndent,Ji(t,!1,-1),t.lineIndent>=e){l=!0,g=t.input.charCodeAt(t.position);continue}else{t.position=s,t.line=u,t.lineStart=h,t.lineIndent=f;break}}l&&(ku(t,a,s,!1),cb(t,t.line-u),a=s=t.position,l=!1),Eh(g)||(s=t.position+1),g=t.input.charCodeAt(++t.position)}return ku(t,a,s,!1),t.result?!0:(t.kind=p,t.result=y,!1)}$(J7,"readPlainScalar");function tR(t,e){var r,n,i;if(r=t.input.charCodeAt(t.position),r!==39)return!1;for(t.kind="scalar",t.result="",t.position++,n=i=t.position;(r=t.input.charCodeAt(t.position))!==0;)if(r===39)if(ku(t,n,t.position,!0),r=t.input.charCodeAt(++t.position),r===39)n=t.position,t.position++,i=t.position;else return!0;else Il(r)?(ku(t,n,i,!0),cb(t,Ji(t,!1,e)),n=i=t.position):t.position===t.lineStart&&hm(t)?Sr(t,"unexpected end of the document within a single quoted scalar"):(t.position++,i=t.position);Sr(t,"unexpected end of the stream within a single quoted scalar")}$(tR,"readSingleQuotedScalar");function eR(t,e){var r,n,i,a,s,l;if(l=t.input.charCodeAt(t.position),l!==34)return!1;for(t.kind="scalar",t.result="",t.position++,r=n=t.position;(l=t.input.charCodeAt(t.position))!==0;){if(l===34)return ku(t,r,t.position,!0),t.position++,!0;if(l===92){if(ku(t,r,t.position,!0),l=t.input.charCodeAt(++t.position),Il(l))Ji(t,!1,e);else if(l<256&&K7[l])t.result+=Z7[l],t.position++;else if((s=V7(l))>0){for(i=s,a=0;i>0;i--)l=t.input.charCodeAt(++t.position),(s=G7(l))>=0?a=(a<<4)+s:Sr(t,"expected hexadecimal character");t.result+=X7(a),t.position++}else Sr(t,"unknown escape sequence");r=n=t.position}else Il(l)?(ku(t,r,n,!0),cb(t,Ji(t,!1,e)),r=n=t.position):t.position===t.lineStart&&hm(t)?Sr(t,"unexpected end of the document within a double quoted scalar"):(t.position++,n=t.position)}Sr(t,"unexpected end of the stream within a double quoted scalar")}$(eR,"readDoubleQuotedScalar");function rR(t,e){var r=!0,n,i,a,s=t.tag,l,u=t.anchor,h,f,p,y,g,b=Object.create(null),v,C,k,T;if(T=t.input.charCodeAt(t.position),T===91)f=93,g=!1,l=[];else if(T===123)f=125,g=!0,l={};else return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=l),T=t.input.charCodeAt(++t.position);T!==0;){if(Ji(t,!0,e),T=t.input.charCodeAt(t.position),T===f)return t.position++,t.tag=s,t.anchor=u,t.kind=g?"mapping":"sequence",t.result=l,!0;r?T===44&&Sr(t,"expected the node content, but found ','"):Sr(t,"missed comma between flow collection entries"),C=v=k=null,p=y=!1,T===63&&(h=t.input.charCodeAt(t.position+1),ko(h)&&
vendor: 3,105 bytes, lines 387-393
387(p=y=!0,t.position++,Ji(t,!0,e))),n=t.line,i=t.lineStart,a=t.position,Vf(t,e,ay,!1,!0),C=t.tag,v=t.result,Ji(t,!0,e),T=t.input.charCodeAt(t.position),(y||t.line===n)&&T===58&&(p=!0,T=t.input.charCodeAt(++t.position),Ji(t,!0,e),Vf(t,e,ay,!1,!0),k=t.result),g?Lf(t,l,b,C,v,k,n,i,a):p?l.push(Lf(t,null,b,C,v,k,n,i,a)):l.push(v),Ji(t,!0,e),T=t.input.charCodeAt(t.position),T===44?(r=!0,T=t.input.charCodeAt(++t.position)):r=!1}Sr(t,"unexpected end of the stream within a flow collection")}$(rR,"readFlowCollection");function nR(t,e){var r,n,i=Gx,a=!1,s=!1,l=e,u=0,h=!1,f,p;if(p=t.input.charCodeAt(t.position),p===124)n=!1;else if(p===62)n=!0;else return!1;for(t.kind="scalar",t.result="";p!==0;)if(p=t.input.charCodeAt(++t.position),p===43||p===45)Gx===i?i=p===43?tT:int:Sr(t,"repeat of a chomping mode identifier");else if((f=Y7(p))>=0)f===0?Sr(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?Sr(t,"repeat of an indentation width identifier"):(l=e+f-1,s=!0);else break;if(Eh(p)){do p=t.input.charCodeAt(++t.position);while(Eh(p));if(p===35)do p=t.input.charCodeAt(++t.position);while(!Il(p)&&p!==0)}for(;p!==0;){for(lb(t),t.lineIndent=0,p=t.input.charCodeAt(t.position);(!s||t.lineIndent<l)&&p===32;)t.lineIndent++,p=t.input.charCodeAt(++t.position);if(!s&&t.lineIndent>l&&(l=t.lineIndent),Il(p)){u++;continue}if(t.lineIndent<l){i===tT?t.result+=Sa.repeat(`
388`,a?1+u:u):i===Gx&&a&&(t.result+=`
389`);break}for(n?Eh(p)?(h=!0,t.result+=Sa.repeat(`
390`,a?1+u:u)):h?(h=!1,t.result+=Sa.repeat(`
391`,u+1)):u===0?a&&(t.result+=" "):t.result+=Sa.repeat(`
392`,u):t.result+=Sa.repeat(`
393`,a?1+u:u),a=!0,s=!0,u=0,r=t.position;!Il(p)&&p!==0;)p=t.input.charCodeAt(++t.position);ku(t,r,t.position,!1)}return!0}$(nR,"readBlockScalar");function pS(t,e){var r,n=t.tag,i=t.anchor,a=[],s,l=!1,u;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=a),u=t.input.charCodeAt(t.position);u!==0&&(t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,Sr(t,"tab characters must not be used in indentation")),!(u!==45||(s=t.input.charCodeAt(t.position+1),!ko(s))));){if(l=!0,t.position++,Ji(t,!0,-1)&&t.lineIndent<=e){a.push(null),u=t.input.charCodeAt(t.position);continue}if(r=t.line,Vf(t,e,H7,!1,!0),a.push(t.result),Ji(t,!0,-1),u=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&u!==0)Sr(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break}return l?(t.tag=n,t.anchor=i,t.kind="sequence",t.result=a,!0):!1}$(pS,"readBlockSequence");function iR(t,e,r){var n,i,a,s,l,u,h=t.tag,f=t.anchor,p={},y=Object.create(null),g=null,b=null,v=null,C=!1,k=!1,T;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=p),T=t.input.charCodeAt(t.position);T!==0;){if(!C&&t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,Sr(t,"tab characters must not be used in indentation")),n=t.input.charCodeAt(t.position+1),a=t.line,(T===63||T===58)&&ko(n))T===63?(C&&(Lf(t,p,y,g,b,null,s,l,u),g=b=v=null),k=!0,C=!0,i=!0):C?(C=!1,i=!0):Sr(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,T=n;
vendor: 1,301 bytes, line 393
393else{if(s=t.line,l=t.lineStart,u=t.position,!Vf(t,r,q7,!1,!0))break;if(t.line===a){for(T=t.input.charCodeAt(t.position);Eh(T);)T=t.input.charCodeAt(++t.position);if(T===58)T=t.input.charCodeAt(++t.position),ko(T)||Sr(t,"a whitespace character is expected after the key-value separator within a block mapping"),C&&(Lf(t,p,y,g,b,null,s,l,u),g=b=v=null),k=!0,C=!1,i=!1,g=t.tag,b=t.result;else if(k)Sr(t,"can not read an implicit mapping pair; a colon is missed");else return t.tag=h,t.anchor=f,!0}else if(k)Sr(t,"can not read a block mapping entry; a multiline key may not be an implicit key");else return t.tag=h,t.anchor=f,!0}if((t.line===a||t.lineIndent>e)&&(C&&(s=t.line,l=t.lineStart,u=t.position),Vf(t,e,oy,!0,i)&&(C?b=t.result:v=t.result),C||(Lf(t,p,y,g,b,v,s,l,u),g=b=v=null),Ji(t,!0,-1),T=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>e)&&T!==0)Sr(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return C&&Lf(t,p,y,g,b,null,s,l,u),k&&(t.tag=h,t.anchor=f,t.kind="mapping",t.result=p),k}$(iR,"readBlockMapping");function aR(t){var e,r=!1,n=!1,i,a,s;if(s=t.input.charCodeAt(t.position),s!==33)return!1;if(t.tag!==null&&Sr(t,"duplication of a tag property"),s=t.input.charCodeAt(++t.position),s===60?(r=!0,s=t.input.charCodeAt(++t.position)):s===33?(n=!0,i="!!",s=t.
vendor: 12,483 bytes, lines 393-408
393input.charCodeAt(++t.position)):i="!",e=t.position,r){do s=t.input.charCodeAt(++t.position);while(s!==0&&s!==62);t.position<t.length?(a=t.input.slice(e,t.position),s=t.input.charCodeAt(++t.position)):Sr(t,"unexpected end of the stream within a verbatim tag")}else{for(;s!==0&&!ko(s);)s===33&&(n?Sr(t,"tag suffix cannot contain exclamation marks"):(i=t.input.slice(e-1,t.position+1),U7.test(i)||Sr(t,"named tag handle cannot contain such characters"),n=!0,e=t.position+1)),s=t.input.charCodeAt(++t.position);a=t.input.slice(e,t.position),snt.test(a)&&Sr(t,"tag suffix cannot contain flow indicator characters")}a&&!W7.test(a)&&Sr(t,"tag name cannot contain such characters: "+a);try{a=decodeURIComponent(a)}catch{Sr(t,"tag name is malformed: "+a)}return r?t.tag=a:jh.call(t.tagMap,i)?t.tag=t.tagMap[i]+a:i==="!"?t.tag="!"+a:i==="!!"?t.tag="tag:yaml.org,2002:"+a:Sr(t,'undeclared tag handle "'+i+'"'),!0}$(aR,"readTagProperty");function oR(t){var e,r;if(r=t.input.charCodeAt(t.position),r!==38)return!1;for(t.anchor!==null&&Sr(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;r!==0&&!ko(r)&&!Tf(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&Sr(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}$(oR,"readAnchorProperty");function sR(t){var e,r,n;if(n=t.input.charCodeAt(t.position),n!==42)return!1;for(n=t.input.charCodeAt(++t.position),e=t.position;n!==0&&!ko(n)&&!Tf(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&Sr(t,"name of an alias node must contain at least one character"),r=t.input.slice(e,t.position),jh.call(t.anchorMap,r)||Sr(t,'unidentified alias "'+r+'"'),t.result=t.anchorMap[r],Ji(t,!0,-1),!0}$(sR,"readAlias");function Vf(t,e,r,n,i){var a,s,l,u=1,h=!1,f=!1,p,y,g,b,v,C;if(t.listener!==null&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,a=s=l=oy===r||H7===r,n&&Ji(t,!0,-1)&&(h=!0,t.lineIndent>e?u=1:t.lineIndent===e?u=0:t.lineIndent<e&&(u=-1)),u===1)for(;aR(t)||oR(t);)Ji(t,!0,-1)?(h=!0,l=a,t.lineIndent>e?u=1:t.lineIndent===e?u=0:t.lineIndent<e&&(u=-1)):l=!1;if(l&&(l=h||i),(u===1||oy===r)&&(ay===r||q7===r?v=e:v=e+1,C=t.position-t.lineStart,u===1?l&&(pS(t,C)||iR(t,C,v))||rR(t,v)?f=!0:(s&&nR(t,v)||tR(t,v)||eR(t,v)?f=!0:sR(t)?(f=!0,(t.tag!==null||t.anchor!==null)&&Sr(t,"alias node should not have any properties")):J7(t,v,ay===r)&&(f=!0,t.tag===null&&(t.tag="?")),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):u===0&&(f=l&&pS(t,C))),t.tag===null)t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);else if(t.tag==="?"){for(t.result!==null&&t.kind!=="scalar"&&Sr(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),p=0,y=t.implicitTypes.length;p<y;p+=1)if(b=t.implicitTypes[p],b.resolve(t.result)){t.result=b.construct(t.result),t.tag=b.tag,t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);break}}else if(t.tag!=="!"){if(jh.call(t.typeMap[t.kind||"fallback"],t.tag))b=t.typeMap[t.kind||"fallback"][t.tag];else for(b=null,g=t.typeMap.multi[t.kind||"fallback"],p=0,y=g.length;p<y;p+=1)if(t.tag.slice(0,g[p].tag.length)===g[p].tag){b=g[p];break}b||Sr(t,"unknown tag !<"+t.tag+">"),t.result!==null&&b.kind!==t.kind&&Sr(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+b.kind+'", not "'+t.kind+'"'),b.resolve(t.result,t.tag)?(t.result=b.construct(t.result,t.tag),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):Sr(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return t.listener!==null&&t.listener("close",t),t.tag!==null||t.anchor!==null||f}$(Vf,"composeNode");function lR(t){var e=t.position,r,n,i,a=!1,s;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);(s=t.input.charCodeAt(t.position))!==0&&(Ji(t,!0,-1),s=t.input.charCodeAt(t.position),!(t.lineIndent>0||s!==37));){for(a=!0,s=t.input.charCodeAt(++t.position),r=t.position;s!==0&&!ko(s);)s=t.input.charCodeAt(++t.position);for(n=t.input.slice(r,t.position),i=[],n.length<1&&Sr(t,"directive name must not be less than one character in length");s!==0;){for(;Eh(s);)s=t.input.charCodeAt(++t.position);if(s===35){do s=t.input.charCodeAt(++t.position);while(s!==0&&!Il(s));break}if(Il(s))break;for(r=t.position;s!==0&&!ko(s);)s=t.input.charCodeAt(++t.position);i.push(t.input.slice(r,t.position))}s!==0&&lb(t),jh.call(eT,n)?eT[n](t,n,i):q0(t,'unknown document directive "'+n+'"')}if(Ji(t,!0,-1),t.lineIndent===0&&t.input.charCodeAt(t.position)===45&&t.input.charCodeAt(t.position+1)===45&&t.input.charCodeAt(t.position+2)===45?(t.position+=3,Ji(t,!0,-1)):a&&Sr(t,"directives end mark is expected"),Vf(t,t.lineIndent-1,oy,!1,!0),Ji(t,!0,-1),t.checkLineBreaks&&ont.test(t.input.slice(e,t.position))&&q0(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&hm(t)){t.input.charCodeAt(t.position)===46&&(t.position+=3,Ji(t,!0,-1));return}if(t.position<t.length-1)Sr(t,"end of the stream or a document separator is expected");else return}$(lR,"readDocument");function iC(t,e){t=String(t),e=e||{},t.length!==0&&(t.charCodeAt(t.length-1)!==10&&t.charCodeAt(t.length-1)!==13&&(t+=`
394`),t.charCodeAt(0)===65279&&(t=t.slice(1)));var r=new Q7(t,e),n=t.indexOf("\0");for(n!==-1&&(r.position=n,Sr(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)lR(r);return r.documents}$(iC,"loadDocuments");function lnt(t,e,r){e!==null&&typeof e=="object"&&typeof r>"u"&&(r=e,e=null);var n=iC(t,r);if(typeof e!="function")return n;for(var i=0,a=n.length;i<a;i+=1)e(n[i])}$(lnt,"loadAll$1");function cR(t,e){var r=iC(t,e);if(r.length!==0){if(r.length===1)return r[0];throw new Xo("expected a single document in the stream, but found more")}}$(cR,"load$1");var cnt=cR,unt={load:cnt},uR=Object.prototype.toString,hR=Object.prototype.hasOwnProperty,aC=65279,hnt=9,H0=10,fnt=13,dnt=32,pnt=33,gnt=34,gS=35,mnt=37,ynt=38,bnt=39,vnt=42,fR=44,xnt=45,sy=58,Snt=61,wnt=62,Cnt=63,knt=64,dR=91,pR=93,_nt=96,gR=123,Ant=124,mR=125,ho={};ho[0]="\\0";ho[7]="\\a";ho[8]="\\b";ho[9]="\\t";ho[10]="\\n";ho[11]="\\v";ho[12]="\\f";ho[13]="\\r";ho[27]="\\e";ho[34]='\\"';ho[92]="\\\\";ho[133]="\\N";ho[160]="\\_";ho[8232]="\\L";ho[8233]="\\P";var Tnt=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],Lnt=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function yR(t,e){var r,n,i,a,s,l,u;if(e===null)return{};for(r={},n=Object.keys(e),i=0,a=n.length;i<a;i+=1)s=n[i],l=String(e[s]),s.slice(0,2)==="!!"&&(s="tag:yaml.org,2002:"+s.slice(2)),u=t.compiledTypeMap.fallback[s],u&&hR.call(u.styleAliases,l)&&(l=u.styleAliases[l]),r[s]=l;return r}$(yR,"compileStyleMap");function bR(t){var e,r,n;if(e=t.toString(16).toUpperCase(),t<=255)r="x",n=2;else if(t<=65535)r="u",n=4;else if(t<=4294967295)r="U",n=8;else throw new Xo("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+Sa.repeat("0",n-e.length)+e}$(bR,"encodeHex");var Ent=1,U0=2;function vR(t){this.schema=t.schema||F7,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=Sa.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=yR(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType=t.quotingType==='"'?U0:Ent,this.forceQuotes=t.forceQuotes||!1,this.replacer=typeof t.replacer=="function"?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}$(vR,"State");function mS(t,e){for(var r=Sa.repeat(" ",e),n=0,i=-1,a="",s,l=t.length;n<l;)i=t.indexOf(`
395`,n),i===-1?(s=t.slice(n),n=l):(s=t.slice(n,i+1),n=i+1),s.length&&s!==`
396`&&(a+=r),a+=s;return a}$(mS,"indentString");function ly(t,e){return`
397`+Sa.repeat(" ",t.indent*e)}$(ly,"generateNextLine");function xR(t,e){var r,n,i;for(r=0,n=t.implicitTypes.length;r<n;r+=1)if(i=t.implicitTypes[r],i.resolve(e))return!0;return!1}$(xR,"testImplicitResolving");function W0(t){return t===dnt||t===hnt}$(W0,"isWhitespace");function $p(t){return 32<=t&&t<=126||161<=t&&t<=55295&&t!==8232&&t!==8233||57344<=t&&t<=65533&&t!==aC||65536<=t&&t<=1114111}$($p,"isPrintable");function yS(t){return $p(t)&&t!==aC&&t!==fnt&&t!==H0}$(yS,"isNsCharOrWhitespace");function bS(t,e,r){var n=yS(t),i=n&&!W0(t);return(r?n:n&&t!==fR&&t!==dR&&t!==pR&&t!==gR&&t!==mR)&&t!==gS&&!(e===sy&&!i)||yS(e)&&!W0(e)&&t===gS||e===sy&&i}$(bS,"isPlainSafe");function SR(t){return $p(t)&&t!==aC&&!W0(t)&&t!==xnt&&t!==Cnt&&t!==sy&&t!==fR&&t!==dR&&t!==pR&&t!==gR&&t!==mR&&t!==gS&&t!==ynt&&t!==vnt&&t!==pnt&&t!==Ant&&t!==Snt&&t!==wnt&&t!==bnt&&t!==gnt&&t!==mnt&&t!==knt&&t!==_nt}$(SR,"isPlainSafeFirst");function wR(t){return!W0(t)&&t!==sy}$(wR,"isPlainSafeLast");function op(t,e){var r=t.charCodeAt(e),n;return r>=55296&&r<=56319&&e+1<t.length&&(n=t.charCodeAt(e+1),n>=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}$(op,"codePointAt");function oC(t){var e=/^\n* /;return e.test(t)}$(oC,"needIndentIndicator");var CR=1,vS=2,kR=3,_R=4,rp=5;function AR(t,e,r,n,i,a,s,l){var u,h=0,f=null,p=!1,y=!1,g=n!==-1,b=-1,v=SR(op(t,0))&&wR(op(t,t.length-1));if(e||s)for(u=0;u<t.length;h>=65536?u+=2:u++){if(h=op(t,u),!$p(h))return rp;v=v&&bS(h,f,l),f=h}else{for(u=0;u<t.length;h>=65536?u+=2:u++){if(h=op(t,u),h===H0)p=!0,g&&(y=y||u-b-1>n&&t[b+1]!==" ",b=u);else if(!$p(h))return rp;v=v&&bS(h,f,l),f=h}y=y||g&&u-b-1>n&&t[b+1]!==" "}return!p&&!y?v&&!s&&!i(t)?CR:a===U0?rp:vS:r>9&&oC(t)?rp:s?a===U0?rp:vS:y?_R:kR}$(AR,"chooseScalarStyle");function TR(t,e,r,n,i){t.dump=(function(){if(e.length===0)return t.quotingType===U0?'""':"''";if(!t.noCompatMode&&(Tnt.indexOf(e)!==-1||Lnt.test(e)))return t.quotingType===U0?'"'+e+'"':"'"+e+"'";var a=t.indent*Math.max(1,r),s=t.lineWidth===-1?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-a),l=n||t.flowLevel>-1&&r>=t.flowLevel;function u(h){return xR(t,h)}switch($(u,"testAmbiguity"),AR(e,l,t.indent,s,u,t.quotingType,t.forceQuotes&&!n,i)){case CR:return e;case vS:return"'"+e.replace(/'/g,"''")+"'";case kR:return"|"+xS(e,t.indent)+SS(mS(e,a));case _R:return">"+xS(e,t.indent)+SS(mS(LR(e,s),a));case rp:return'"'+ER(e)+'"';default:throw new Xo("impossible error: invalid scalar style")}})()}$(TR,"writeScalar");function xS(t,e){var r=oC(t)?String(e):"",n=t[t.length-1]===`
398`,i=n&&(t[t.length-2]===`
399`||t===`
400`),a=i?"+":n?"":"-";return r+a+`
401`}$(xS,"blockHeader");function SS(t){return t[t.length-1]===`
402`?t.slice(0,-1):t}$(SS,"dropEndingNewline");function LR(t,e){for(var r=/(\n+)([^\n]*)/g,n=(function(){var h=t.indexOf(`
403`);return h=h!==-1?h:t.length,r.lastIndex=h,wS(t.slice(0,h),e)})(),i=t[0]===`
404`||t[0]===" ",a,s;s=r.exec(t);){var l=s[1],u=s[2];a=u[0]===" ",n+=l+(!i&&!a&&u!==""?`
405`:"")+wS(u,e),i=a}return n}$(LR,"foldString");function wS(t,e){if(t===""||t[0]===" ")return t;for(var r=/ [^ ]/g,n,i=0,a,s=0,l=0,u="";n=r.exec(t);)l=n.index,l-i>e&&(a=s>i?s:l,u+=`
406`+t.slice(i,a),i=a+1),s=l;return u+=`
407`,t.length-i>e&&s>i?u+=t.slice(i,s)+`
408`+t.slice(s+1):u+=t.slice(i),u.slice(1)}$(wS,"foldLine");function ER(t){for(var e="",r=0,n,i=0;i<t.length;r>=65536?i+=2:i++)r=op(t,i),n=ho[r],!n&&$p(r)?(e+=t[i],r>=65536&&(e+=t[i+1])):e+=n||bR(r);return e}$(ER,"escapeString");function MR(t,e,r){var n="",i=t.tag,a,s,l;for(a=0,s=r.length;a<s;a+=1)l=r[a],t.replacer&&(l=t.replacer.call(r,String(a),l)),(Dc(t,e,l,!1,!1)||typeof l>"u"&&Dc(t,e,null,!1,!1))&&(n!==""&&(n+=","+(t.condenseFlow?"":" ")),n+=t.dump);t.tag=i,t.dump="["+n+"]"}$(MR,"writeFlowSequence");function CS(t,e,r,n){var i="",a=t.tag,s,l,u;for(s=0,l=r.length;s<l;s+=1)u=r[s],t.replacer&&(u=t.replacer.call(r,String(s),u)),(Dc(t,e+1,u,!0,!0,!1,!0)||typeof u>"u"&&Dc(t,e+1,null,!0,!0,!1,!0))&&((!n||i!=="")&&(i+=ly(t,e)),t.dump&&H0===t.dump.charCodeAt(0)?i+="-":i+="- ",i+=t.dump);t.tag=a,t.dump=i||"[]"}$(CS,"writeBlockSequence");function RR(t,e,r){var n="",i=t.tag,a=Object.keys(r),s,l,u,h,f;for(s=0,l=a.length;s<l;s+=1)f="",n!==""&&(f+=", "),t.condenseFlow&&(f+='"'),u=a[s],h=r[u],t.replacer&&(h=t.replacer.call(r,u,h)),Dc(t,e,u,!1,!1)&&(t.dump.length>1024&&(f+="? "),f+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),Dc(t,e,h,!1,!1)&&(f+=t.dump,n+=f));t.tag=i,t.dump="{"+n+"}"}$(RR,"writeFlowMapping");function NR(t,e,r,n){var i="",a=t.tag,s=Object.keys(r),l,u,h,f,p,y;if(t.sortKeys===!0)s.sort();
vendor: 4,791 bytes, lines 408-409
408else if(typeof t.sortKeys=="function")s.sort(t.sortKeys);else if(t.sortKeys)throw new Xo("sortKeys must be a boolean or a function");for(l=0,u=s.length;l<u;l+=1)y="",(!n||i!=="")&&(y+=ly(t,e)),h=s[l],f=r[h],t.replacer&&(f=t.replacer.call(r,h,f)),Dc(t,e+1,h,!0,!0,!0)&&(p=t.tag!==null&&t.tag!=="?"||t.dump&&t.dump.length>1024,p&&(t.dump&&H0===t.dump.charCodeAt(0)?y+="?":y+="? "),y+=t.dump,p&&(y+=ly(t,e)),Dc(t,e+1,f,!0,p)&&(t.dump&&H0===t.dump.charCodeAt(0)?y+=":":y+=": ",y+=t.dump,i+=y));t.tag=a,t.dump=i||"{}"}$(NR,"writeBlockMapping");function kS(t,e,r){var n,i,a,s,l,u;for(i=r?t.explicitTypes:t.implicitTypes,a=0,s=i.length;a<s;a+=1)if(l=i[a],(l.instanceOf||l.predicate)&&(!l.instanceOf||typeof e=="object"&&e instanceof l.instanceOf)&&(!l.predicate||l.predicate(e))){if(r?l.multi&&l.representName?t.tag=l.representName(e):t.tag=l.tag:t.tag="?",l.represent){if(u=t.styleMap[l.tag]||l.defaultStyle,uR.call(l.represent)==="[object Function]")n=l.represent(e,u);else if(hR.call(l.represent,u))n=l.represent[u](e,u);else throw new Xo("!<"+l.tag+'> tag resolver accepts not "'+u+'" style');t.dump=n}return!0}return!1}$(kS,"detectType");function Dc(t,e,r,n,i,a,s){t.tag=null,t.dump=r,kS(t,r,!1)||kS(t,r,!0);var l=uR.call(t.dump),u=n,h;n&&(n=t.flowLevel<0||t.flowLevel>e);var f=l==="[object Object]"||l==="[object Array]",p,y;if(f&&(p=t.duplicates.indexOf(r),y=p!==-1),(t.tag!==null&&t.tag!=="?"||y||t.indent!==2&&e>0)&&(i=!1),y&&t.usedDuplicates[p])t.dump="*ref_"+p;else{if(f&&y&&!t.usedDuplicates[p]&&(t.usedDuplicates[p]=!0),l==="[object Object]")n&&Object.keys(t.dump).length!==0?(NR(t,e,t.dump,i),y&&(t.dump="&ref_"+p+t.dump)):(RR(t,e,t.dump),y&&(t.dump="&ref_"+p+" "+t.dump));else if(l==="[object Array]")n&&t.dump.length!==0?(t.noArrayIndent&&!s&&e>0?CS(t,e-1,t.dump,i):CS(t,e,t.dump,i),y&&(t.dump="&ref_"+p+t.dump)):(MR(t,e,t.dump),y&&(t.dump="&ref_"+p+" "+t.dump));else if(l==="[object String]")t.tag!=="?"&&TR(t,t.dump,e,a,u);else{if(l==="[object Undefined]")return!1;if(t.skipInvalid)return!1;throw new Xo("unacceptable kind of an object to dump "+l)}t.tag!==null&&t.tag!=="?"&&(h=encodeURI(t.tag[0]==="!"?t.tag.slice(1):t.tag).replace(/!/g,"%21"),t.tag[0]==="!"?h="!"+h:h.slice(0,18)==="tag:yaml.org,2002:"?h="!!"+h.slice(18):h="!<"+h+">",t.dump=h+" "+t.dump)}return!0}$(Dc,"writeNode");function BR(t,e){var r=[],n=[],i,a;for(cy(t,r,n),i=0,a=n.length;i<a;i+=1)e.duplicates.push(r[n[i]]);e.usedDuplicates=new Array(a)}$(BR,"getDuplicateReferences");function cy(t,e,r){var n,i,a;if(t!==null&&typeof t=="object")if(i=e.indexOf(t),i!==-1)r.indexOf(i)===-1&&r.push(i);else if(e.push(t),Array.isArray(t))for(i=0,a=t.length;i<a;i+=1)cy(t[i],e,r);else for(n=Object.keys(t),i=0,a=n.length;i<a;i+=1)cy(t[n[i]],e,r)}$(cy,"inspectNode");function Mnt(t,e){e=e||{};var r=new vR(e);r.noRefs||BR(t,r);var n=t;return r.replacer&&(n=r.replacer.call({"":n},"",n)),Dc(r,0,n,!0,!0)?r.dump+`
409`:""}$(Mnt,"dump$1");function Rnt(t,e){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}$(Rnt,"renamed");var Nnt=k7,Bnt=unt.load;var oo={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4},rT={arrow_point:9,arrow_cross:12.5,arrow_circle:12.5};function o0(t,e){if(t===void 0||e===void 0)return{angle:0,deltaX:0,deltaY:0};t=Ti(t),e=Ti(e);const[r,n]=[t.x,t.y],[i,a]=[e.x,e.y],s=i-r,l=a-n;return{angle:Math.atan(l/s),deltaX:s,deltaY:l}}$(o0,"calculateDeltaAndAngle");var Ti=$(t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,"pointTransformer"),Ont=$(t=>({x:$(function(e,r,n){let i=0;const a=Ti(n[0]).x<Ti(n[n.length-1]).x?"left":"right";if(r===0&&Object.hasOwn(oo,t.arrowTypeStart)){const{angle:g,deltaX:b}=o0(n[0],n[1]);i=oo[t.arrowTypeStart]*Math.cos(g)*(b>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(oo,t.arrowTypeEnd)){const{angle:g,deltaX:b}=o0(n[n.length-1],n[n.length-2]);i=oo[t.arrowTypeEnd]*Math.cos(g)*(b>=0?1:-1)}const s=Math.abs(Ti(e).x-Ti(n[n.length-1]).x),l=Math.abs(Ti(e).y-Ti(n[n.length-1]).y),u=Math.abs(Ti(e).x-Ti(n[0]).x),h=Math.abs(Ti(e).y-Ti(n[0]).y),f=oo[t.arrowTypeStart],p=oo[t.arrowTypeEnd],y=1;if(s<p&&s>0&&l<p){let g=p+y-s;g*=a==="right"?-1:1,i-=g}if(u<f&&u>0&&h<f){let g=f+y-u;g*=a==="right"?-1:1,i+=g}return Ti(e).x+i},"x"),y:$(function(e,r,n){let i=0;const a=Ti(n[0]).y<Ti(n[n.length-1]).y?"down":"up";if(r===0&&Object.hasOwn(oo,t.arrowTypeStart)){const{angle:g,deltaY:b}=o0(n[0],n[1]);i=oo[t.arrowTypeStart]*Math.abs(Math.sin(g))*(b>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(oo,t.arrowTypeEnd)){const{angle:g,deltaY:b}=o0(n[n.length-1],n[n.length-2]);i=oo[t.arrowTypeEnd]*Math.abs(Math.sin(g))*(b>=0?1:-1)}const s=Math.abs(Ti(e).y-Ti(n[n.length-1]).y),l=Math.abs(Ti(e).x-Ti(n[n.length-1]).x),u=Math.abs(Ti(e).y-Ti(n[0]).y),h=Math.abs(Ti(e).x-Ti(n[0]).x),f=
vendor: 8,748 bytes, line 409
409oo[t.arrowTypeStart],p=oo[t.arrowTypeEnd],y=1;if(s<p&&s>0&&l<p){let g=p+y-s;g*=a==="up"?-1:1,i-=g}if(u<f&&u>0&&h<f){let g=f+y-u;g*=a==="up"?-1:1,i+=g}return Ti(e).y+i},"y")}),"getLineFunctionsWithOffset"),sC=$(({flowchart:t})=>{const e=t?.subGraphTitleMargin?.top??0,r=t?.subGraphTitleMargin?.bottom??0,n=e+r;return{subGraphTitleTopMargin:e,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:n}},"getSubGraphTitleMargins"),Pnt=$(t=>{const{handDrawnSeed:e}=qn();return{fill:t,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:t,seed:e}},"solidStateFill"),Hp=$(t=>{const e=$nt([...t.cssCompiledStyles||[],...t.cssStyles||[],...t.labelStyle||[]]);return{stylesMap:e,stylesArray:[...e]}},"compileStyles"),$nt=$(t=>{const e=new Map;return t.forEach(r=>{const[n,i]=r.split(":");e.set(n.trim(),i?.trim())}),e},"styles2Map"),OR=$(t=>t==="color"||t==="font-size"||t==="font-family"||t==="font-weight"||t==="font-style"||t==="text-decoration"||t==="text-align"||t==="text-transform"||t==="line-height"||t==="letter-spacing"||t==="word-spacing"||t==="text-shadow"||t==="text-overflow"||t==="white-space"||t==="word-wrap"||t==="word-break"||t==="overflow-wrap"||t==="hyphens","isLabelStyle"),dr=$(t=>{const{stylesArray:e}=Hp(t),r=[],n=[],i=[],a=[];return e.forEach(s=>{const l=s[0];OR(l)?r.push(s.join(":")+" !important"):(n.push(s.join(":")+" !important"),l.includes("stroke")&&i.push(s.join(":")+" !important"),l==="fill"&&a.push(s.join(":")+" !important"))}),{labelStyles:r.join(";"),nodeStyles:n.join(";"),stylesArray:e,borderStyles:i,backgroundStyles:a}},"styles2String"),ur=$((t,e)=>{const{themeVariables:r,handDrawnSeed:n}=qn(),{nodeBorder:i,mainBkg:a}=r,{stylesMap:s}=Hp(t);return Object.assign({roughness:.7,fill:s.get("fill")||a,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:s.get("stroke")||i,seed:n,strokeWidth:s.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:jnt(s.get("stroke-dasharray"))},e)},"userNodeOverrides"),jnt=$(t=>{if(!t)return[0,0];const e=t.trim().split(/\s+/).map(Number);if(e.length===1){const i=isNaN(e[0])?0:e[0];return[i,i]}const r=isNaN(e[0])?0:e[0],n=isNaN(e[1])?0:e[1];return[r,n]},"getStrokeDashArray"),q1={},va={},nT;function Dnt(){return nT||(nT=1,Object.defineProperty(va,"__esModule",{value:!0}),va.BLANK_URL=va.relativeFirstCharacters=va.whitespaceEscapeCharsRegex=va.urlSchemeRegex=va.ctrlCharactersRegex=va.htmlCtrlEntityRegex=va.htmlEntitiesRegex=va.invalidProtocolRegex=void 0,va.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,va.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,va.htmlCtrlEntityRegex=/&(newline|tab);/gi,va.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,va.urlSchemeRegex=/^.+(:|&colon;)/gim,va.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,va.relativeFirstCharacters=[".","/"],va.BLANK_URL="about:blank"),va}var iT;function Int(){if(iT)return q1;iT=1,Object.defineProperty(q1,"__esModule",{value:!0}),q1.sanitizeUrl=a;var t=Dnt();function e(s){return t.relativeFirstCharacters.indexOf(s[0])>-1}function r(s){var l=s.replace(t.ctrlCharactersRegex,"");return l.replace(t.htmlEntitiesRegex,function(u,h){return String.fromCharCode(h)})}function n(s){return URL.canParse(s)}function i(s){try{return decodeURIComponent(s)}catch{return s}}function a(s){if(!s)return t.BLANK_URL;var l,u=i(s.trim());do u=r(u).replace(t.htmlCtrlEntityRegex,"").replace(t.ctrlCharactersRegex,"").replace(t.whitespaceEscapeCharsRegex,"").trim(),u=i(u),l=u.match(t.ctrlCharactersRegex)||u.match(t.htmlEntitiesRegex)||u.match(t.htmlCtrlEntityRegex)||u.match(t.whitespaceEscapeCharsRegex);while(l&&l.length>0);var h=u;if(!h)return t.BLANK_URL;if(e(h))return h;var f=h.trimStart(),p=f.match(t.urlSchemeRegex);if(!p)return h;var y=p[0].toLowerCase().trim();if(t.invalidProtocolRegex.test(y))return t.BLANK_URL;var g=f.replace(/\\/g,"/");if(y==="mailto:"||y.includes("://"))return g;if(y==="http:"||y==="https:"){if(!n(g))return t.BLANK_URL;var b=new URL(g);return b.protocol=b.protocol.toLowerCase(),b.hostname=b.hostname.toLowerCase(),b.toString()}return g}return q1}var znt=Int(),PR=typeof global=="object"&&global&&global.Object===Object&&global,Fnt=typeof self=="object"&&self&&self.Object===Object&&self,Fc=PR||Fnt||Function("return this")(),uy=Fc.Symbol,$R=Object.prototype,qnt=$R.hasOwnProperty,Hnt=$R.toString,Vg=uy?uy.toStringTag:void 0;function Unt(t){var e=qnt.call(t,Vg),r=t[Vg];try{t[Vg]=void 0;var n=!0}catch{}var i=Hnt.call(t);return n&&(e?t[Vg]=r:delete t[Vg]),i}var Wnt=Object.prototype,Gnt=Wnt.toString;function Vnt(t){return Gnt.call(t)}var Ynt="[object Null]",Xnt="[object Undefined]",aT=uy?uy.toStringTag:void 0;function Up(t){return t==null?t===void 0?Xnt:Ynt:aT&&aT in Object(t)?Unt(t):Vnt(t)}function rd(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Knt="[object AsyncFunction]",Znt="[object Function]",Qnt="[object GeneratorFunction]",Jnt="[object Proxy]";function lC(t){if(!rd(t))return!1;var e=Up(t);return e==Znt||e==Qnt||e==Knt||e==Jnt}var Vx=Fc["__core-js_shared__"],oT=(function(){var t=/[^.]+$/.exec(Vx&&Vx.keys&&Vx.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function tit(t){return!!oT&&oT in t}var eit=Function.prototype,rit=eit.toString;function nd(t){if(t!=null){try{return rit.call(t)}catch{}try{return t+""}catch{}}return""}var nit=/[\\^$.*+?()[\]{}|]/g,iit=/^\[object .+?Constructor\]$/,ait=Function.prototype,oit=Object.prototype,sit=ait.toString,lit=oit.hasOwnProperty,cit=RegExp("^"+sit.call(lit).replace(nit,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function uit(t){if(!rd(t)||tit(t))return!1;var e=lC(t)?cit:iit;return e.test(nd(t))}function hit(t,e){return t?.[e]}function id(t,e){var r=hit(t,e);return uit(r)?r:void 0}var G0=id(Object,"create");function fit(){this.__data__=G0?G0(null):{},this.size=0}function dit(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var pit="__lodash_hash_undefined__",git=Object.prototype,mit=git.hasOwnProperty;function yit(t){var e=this.__data__;if(G0){var r=e[t];return r===pit?void 0:r}return mit.call(e,t)?e[t]:void 0}var bit=Object.prototype,vit=bit.hasOwnProperty;function xit(t){var e=this.__data__;return G0?e[t]!==void 0:vit.call(e,t)}var Sit="__lodash_hash_undefined__";function wit(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=G0&&e===void 0?Sit:e,this}function Yf(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Yf.prototype.clear=fit;Yf.prototype.delete=dit;Yf.prototype.get=yit;Yf.prototype.has=xit;Yf.prototype.set=wit;function Cit(){this.__data__=[],this.size=0}function ub(t,e){return t===e||t!==t&&e!==e}function hb(t,e){for(var r=t.length;r--;)if(ub(t[r][0],e))return r;return-1}var kit=Array.prototype,_it=kit.splice;function Ait(t){var e=this.__data__,r=hb(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():_it.call(e,r,1),--this.size,!0}function Tit(t){var e=this.__data__,r=hb(e,t);return r<0?void 0:e[r][1]}function Lit(t){return hb(this.__data__,t)>-1}function Eit(t,e){var r=this.__data__,n=hb(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function Ou(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Ou.prototype.clear=Cit;Ou.prototype.delete=Ait;Ou.prototype.get=Tit;Ou.prototype.has=Lit;Ou.prototype.set=Eit;var V0=id(Fc,"Map");function Mit(){this.size=0,this.__data__={hash:new Yf,map:new(V0||Ou),string:new Yf}}function Rit(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function fb(t,e){var r=t.__data__;return Rit(e)?r[typeof e=="string"?"string":"hash"]:r.map}function Nit(t){var e=fb(this,t).delete(t);return this.size-=e?1:0,e}function Bit(t){return fb(this,t).get(t)}function Oit(t){return fb(this,t).has(t)}function Pit(t,e){var r=fb(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}function Hh(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Hh.prototype.clear=Mit;Hh.prototype.delete=Nit;Hh.prototype.get=Bit;Hh.prototype.has=Oit;Hh.prototype.set=Pit;var $it="Expected a function";function fm(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError($it);var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var s=t.apply(this,n);return r.cache=a.set(i,s)||a,s};return r.cache=new(fm.Cache||Hh),r}fm.Cache=Hh;function jit(){this.__data__=new Ou,this.size=0}function Dit(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}function Iit(t){return this.__data__.get(t)}function zit(t){return this.__data__.has(t)}var Fit=200;function qit(t,e){var r=this.__data__;if(r instanceof Ou){var n=r.__data__;
vendor: 5,050 bytes, line 409
409if(!V0||n.length<Fit-1)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new Hh(n)}return r.set(t,e),this.size=r.size,this}function Wp(t){var e=this.__data__=new Ou(t);this.size=e.size}Wp.prototype.clear=jit;Wp.prototype.delete=Dit;Wp.prototype.get=Iit;Wp.prototype.has=zit;Wp.prototype.set=qit;var hy=(function(){try{var t=id(Object,"defineProperty");return t({},"",{}),t}catch{}})();function cC(t,e,r){e=="__proto__"&&hy?hy(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}function _S(t,e,r){(r!==void 0&&!ub(t[e],r)||r===void 0&&!(e in t))&&cC(t,e,r)}function Hit(t){return function(e,r,n){for(var i=-1,a=Object(e),s=n(e),l=s.length;l--;){var u=s[++i];if(r(a[u],u,a)===!1)break}return e}}var Uit=Hit(),jR=typeof exports=="object"&&exports&&!exports.nodeType&&exports,sT=jR&&typeof module=="object"&&module&&!module.nodeType&&module,Wit=sT&&sT.exports===jR,lT=Wit?Fc.Buffer:void 0,cT=lT?lT.allocUnsafe:void 0;function Git(t,e){if(e)return t.slice();var r=t.length,n=cT?cT(r):new t.constructor(r);return t.copy(n),n}var uT=Fc.Uint8Array;function Vit(t){var e=new t.constructor(t.byteLength);return new uT(e).set(new uT(t)),e}function Yit(t,e){var r=e?Vit(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function Xit(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}var hT=Object.create,Kit=(function(){function t(){}return function(e){if(!rd(e))return{};if(hT)return hT(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}})();function DR(t,e){return function(r){return t(e(r))}}var IR=DR(Object.getPrototypeOf,Object),Zit=Object.prototype;function db(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||Zit;return t===r}function Qit(t){return typeof t.constructor=="function"&&!db(t)?Kit(IR(t)):{}}function dm(t){return t!=null&&typeof t=="object"}var Jit="[object Arguments]";function fT(t){return dm(t)&&Up(t)==Jit}var zR=Object.prototype,tat=zR.hasOwnProperty,eat=zR.propertyIsEnumerable,fy=fT((function(){return arguments})())?fT:function(t){return dm(t)&&tat.call(t,"callee")&&!eat.call(t,"callee")},dy=Array.isArray,rat=9007199254740991;function FR(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=rat}function pb(t){return t!=null&&FR(t.length)&&!lC(t)}function nat(t){return dm(t)&&pb(t)}function iat(){return!1}var qR=typeof exports=="object"&&exports&&!exports.nodeType&&exports,dT=qR&&typeof module=="object"&&module&&!module.nodeType&&module,aat=dT&&dT.exports===qR,pT=aat?Fc.Buffer:void 0,oat=pT?pT.isBuffer:void 0,uC=oat||iat,sat="[object Object]",lat=Function.prototype,cat=Object.prototype,HR=lat.toString,uat=cat.hasOwnProperty,hat=HR.call(Object);function fat(t){if(!dm(t)||Up(t)!=sat)return!1;var e=IR(t);if(e===null)return!0;var r=uat.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&HR.call(r)==hat}var dat="[object Arguments]",pat="[object Array]",gat="[object Boolean]",mat="[object Date]",yat="[object Error]",bat="[object Function]",vat="[object Map]",xat="[object Number]",Sat="[object Object]",wat="[object RegExp]",Cat="[object Set]",kat="[object String]",_at="[object WeakMap]",Aat="[object ArrayBuffer]",Tat="[object DataView]",Lat="[object Float32Array]",Eat="[object Float64Array]",Mat="[object Int8Array]",Rat="[object Int16Array]",Nat="[object Int32Array]",Bat="[object Uint8Array]",Oat="[object Uint8ClampedArray]",Pat="[object Uint16Array]",$at="[object Uint32Array]",bi={};bi[Lat]=bi[Eat]=bi[Mat]=bi[Rat]=bi[Nat]=bi[Bat]=bi[Oat]=bi[Pat]=bi[$at]=!0;bi[dat]=bi[pat]=bi[Aat]=bi[gat]=bi[Tat]=bi[mat]=bi[yat]=bi[bat]=bi[vat]=bi[xat]=bi[Sat]=bi[wat]=bi[Cat]=bi[kat]=bi[_at]=!1;function jat(t){return dm(t)&&FR(t.length)&&!!bi[Up(t)]}function Dat(t){return function(e){return t(e)}}var UR=typeof exports=="object"&&exports&&!exports.nodeType&&exports,_0=UR&&typeof module=="object"&&module&&!module.nodeType&&module,Iat=_0&&_0.exports===UR,Yx=Iat&&PR.process,gT=(function(){try{var t=_0&&_0.require&&_0.require("util").types;return t||Yx&&Yx.binding&&Yx.binding("util")}catch{}})(),mT=gT&&gT.isTypedArray,hC=mT?Dat(mT):jat;function AS(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var zat=Object.prototype,Fat=zat.hasOwnProperty;function qat(t,e,r){var n=t[e];(!(Fat.call(t,e)&&ub(n,r))||r===void 0&&!(e in t))&&cC(t,e,r)}function Hat(t,e,r,n){var i=!r;r||(r={});for(var a=-1,s=e.length;++a<s;){var l=e[a],u=void 0;u===void 0&&(u=t[l]),i?cC(r,l,u):qat(r,l,u)}return r}function Uat(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}var Wat=9007199254740991,Gat=/^(?:0|[1-9]\d*)$/;function WR(t,e){var r=typeof t;return e=e??Wat,!!e&&(r=="number"||r!="symbol"&&Gat.test(t))&&t>-1&&t%1==0&&t<e}var Vat=Object.prototype,Yat=Vat.hasOwnProperty;function Xat(t,e){var r=dy(t),n=!r&&fy(t),i=!r&&!n&&uC(t),a=!r&&!n&&!i&&hC(t),s=r||n||i||a,l=s?Uat(t.length,String):[],u=l.length;for(var h in t)(e||Yat.call(t,h))&&!(s&&(h=="length"||i&&(h=="offset"||h=="parent")||a&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||WR(h,u)))&&l.push(h);return l}function Kat(t){var e=[];
vendor: 12,214 bytes, lines 409-410
409if(t!=null)for(var r in Object(t))e.push(r);return e}var Zat=Object.prototype,Qat=Zat.hasOwnProperty;function Jat(t){if(!rd(t))return Kat(t);var e=db(t),r=[];for(var n in t)n=="constructor"&&(e||!Qat.call(t,n))||r.push(n);return r}function GR(t){return pb(t)?Xat(t,!0):Jat(t)}function tot(t){return Hat(t,GR(t))}function eot(t,e,r,n,i,a,s){var l=AS(t,r),u=AS(e,r),h=s.get(u);if(h){_S(t,r,h);return}var f=a?a(l,u,r+"",t,e,s):void 0,p=f===void 0;if(p){var y=dy(u),g=!y&&uC(u),b=!y&&!g&&hC(u);f=u,y||g||b?dy(l)?f=l:nat(l)?f=Xit(l):g?(p=!1,f=Git(u,!0)):b?(p=!1,f=Yit(u,!0)):f=[]:fat(u)||fy(u)?(f=l,fy(l)?f=tot(l):(!rd(l)||lC(l))&&(f=Qit(u))):p=!1}p&&(s.set(u,f),i(f,u,n,a,s),s.delete(u)),_S(t,r,f)}function VR(t,e,r,n,i){t!==e&&Uit(e,function(a,s){if(i||(i=new Wp),rd(a))eot(t,e,s,r,VR,n,i);else{var l=n?n(AS(t,s),a,s+"",t,e,i):void 0;l===void 0&&(l=a),_S(t,s,l)}},GR)}function YR(t){return t}function rot(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var yT=Math.max;function not(t,e,r){return e=yT(e===void 0?t.length-1:e,0),function(){for(var n=arguments,i=-1,a=yT(n.length-e,0),s=Array(a);++i<a;)s[i]=n[e+i];i=-1;for(var l=Array(e+1);++i<e;)l[i]=n[i];return l[e]=r(s),rot(t,this,l)}}function iot(t){return function(){return t}}var aot=hy?function(t,e){return hy(t,"toString",{configurable:!0,enumerable:!1,value:iot(e),writable:!0})}:YR,oot=800,sot=16,lot=Date.now;function cot(t){var e=0,r=0;return function(){var n=lot(),i=sot-(n-r);if(r=n,i>0){if(++e>=oot)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var uot=cot(aot);function hot(t,e){return uot(not(t,e,YR),t+"")}function fot(t,e,r){if(!rd(r))return!1;var n=typeof e;return(n=="number"?pb(r)&&WR(e,r.length):n=="string"&&e in r)?ub(r[e],t):!1}function dot(t){return hot(function(e,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,s=i>2?r[2]:void 0;for(a=t.length>3&&typeof a=="function"?(i--,a):void 0,s&&fot(r[0],r[1],s)&&(a=i<3?void 0:a,i=1),e=Object(e);++n<i;){var l=r[n];l&&t(e,l,n,a)}return e})}var pot=dot(function(t,e,r){VR(t,e,r)}),got="​",mot={curveBasis:m2,curveBasisClosed:brt,curveBasisOpen:vrt,curveBumpX:BM,curveBumpY:OM,curveBundle:xrt,curveCardinalClosed:Srt,curveCardinalOpen:wrt,curveCardinal:DM,curveCatmullRomClosed:Crt,curveCatmullRomOpen:krt,curveCatmullRom:zM,curveLinear:ty,curveLinearClosed:_rt,curveMonotoneX:GM,curveMonotoneY:VM,curveNatural:XM,curveStep:KM,curveStepAfter:QM,curveStepBefore:ZM},yot=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,bot=$(function(t,e){const r=XR(t,/(?:init\b)|(?:initialize\b)/);let n={};if(Array.isArray(r)){const s=r.map(l=>l.args);H2(s),n=xa(n,[...s])}else n=r.args;if(!n)return;let i=Pw(t,e);const a="config";return n[a]!==void 0&&(i==="flowchart-v2"&&(i="flowchart"),n[i]=n[a],delete n[a]),n},"detectInit"),XR=$(function(t,e=null){try{const r=new RegExp(`[%]{2}(?![{]${yot.source})(?=[}][%]{2}).*
410`,"ig");t=t.trim().replace(r,"").replace(/'/gm,'"'),xe.debug(`Detecting diagram directive${e!==null?" type:"+e:""} based on the text:${t}`);let n;const i=[];for(;(n=C0.exec(t))!==null;)if(n.index===C0.lastIndex&&C0.lastIndex++,n&&!e||e&&n[1]?.match(e)||e&&n[2]?.match(e)){const a=n[1]?n[1]:n[2],s=n[3]?n[3].trim():n[4]?JSON.parse(n[4].trim()):null;i.push({type:a,args:s})}return i.length===0?{type:t,args:null}:i.length===1?i[0]:i}catch(r){return xe.error(`ERROR: ${r.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},"detectDirective"),vot=$(function(t){return t.replace(C0,"")},"removeDirectives"),xot=$(function(t,e){for(const[r,n]of e.entries())if(n.match(t))return r;return-1},"isSubstringInArray");function fC(t,e){if(!t)return e;const r=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return mot[r]??e}$(fC,"interpolateToCurve");function KR(t,e){const r=t.trim();if(r)return e.securityLevel!=="loose"?znt.sanitizeUrl(r):r}$(KR,"formatUrl");var Sot=$((t,...e)=>{const r=t.split("."),n=r.length-1,i=r[n];let a=window;for(let s=0;s<n;s++)if(a=a[r[s]],!a){xe.error(`Function name: ${t} not found in window`);return}a[i](...e)},"runFunc");function dC(t,e){return!t||!e?0:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}$(dC,"distance");function ZR(t){let e,r=0;t.forEach(i=>{r+=dC(i,e),e=i});const n=r/2;return pC(t,n)}$(ZR,"traverseEdge");function QR(t){return t.length===1?t[0]:ZR(t)}$(QR,"calcLabelPosition");var bT=$((t,e=2)=>{const r=Math.pow(10,e);return Math.round(t*r)/r},"roundNumber"),pC=$((t,e)=>{let r,n=e;for(const i of t){if(r){const a=dC(i,r);if(a===0)return r;if(a<n)n-=a;else{const s=n/a;if(s<=0)return r;if(s>=1)return{x:i.x,y:i.y};if(s>0&&s<1)return{x:bT((1-s)*r.x+s*i.x,5),y:bT((1-s)*r.y+s*i.y,5)}}}r=i}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),wot=$((t,e,r)=>{xe.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());const i=pC(e,25),a=t?10:5,s=Math.atan2(e[0].y-i.y,e[0].x-i.x),l={x:0,y:0};return l.x=Math.sin(s)*a+(e[0].x+i.x)/2,l.y=-Math.cos(s)*a+(e[0].y+i.y)/2,l},"calcCardinalityPosition");function JR(t,e,r){const n=structuredClone(r);xe.info("our points",n),e!=="start_left"&&e!=="start_right"&&n.reverse();const i=25+t,a=pC(n,i),s=10+t*.5,l=Math.atan2(n[0].y-a.y,n[0].x-a.x),u={x:0,y:0};return e==="start_left"?(u.x=Math.sin(l+Math.PI)*s+(n[0].x+a.x)/2,u.y=-Math.cos(l+Math.PI)*s+(n[0].y+a.y)/2):e==="end_right"?(u.x=Math.sin(l-Math.PI)*s+(n[0].x+a.x)/2-5,u.y=-Math.cos(l-Math.PI)*s+(n[0].y+a.y)/2-5):e==="end_left"?(u.x=Math.sin(l)*s+(n[0].x+a.x)/2-5,u.y=-Math.cos(l)*s+(n[0].y+a.y)/2-5):(u.x=Math.sin(l)*s+(n[0].x+a.x)/2,u.y=-Math.cos(l)*s+(n[0].y+a.y)/2),u}$(JR,"calcTerminalLabelPosition");function tN(t){let e="",r="";for(const n of t)n!==void 0&&(n.startsWith("color:")||n.startsWith("text-align:")?r=r+n+";":e=e+n+";");return{style:e,labelStyle:r}}$(tN,"getStylesFromArray");var vT=0,Cot=$(()=>(vT++,"id-"+Math.random().toString(36).substr(2,12)+"-"+vT),"generateId");function eN(t){let e="";const r="0123456789abcdef",n=r.length;for(let i=0;i<t;i++)e+=r.charAt(Math.floor(Math.random()*n));return e}$(eN,"makeRandomHex");var kot=$(t=>eN(t.length),"random"),_ot=$(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),Aot=$(function(t,e){const r=e.text.replace(qp.lineBreakRegex," "),[,n]=gb(e.fontSize),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.style("text-anchor",e.anchor),i.style("font-family",e.fontFamily),i.style("font-size",n),i.style("font-weight",e.fontWeight),i.attr("fill",e.fill),e.class!==void 0&&i.attr("class",e.class);const a=i.append("tspan");return a.attr("x",e.x+e.textMargin*2),a.attr("fill",e.fill),a.text(r),i},"drawSimpleText"),Tot=fm((t,e,r)=>{if(!t||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},r),qp.lineBreakRegex.test(t)))return t;const n=t.split(" ").filter(Boolean),i=[];let a="";return n.forEach((s,l)=>{const u=Eu(`${s} `,r),h=Eu(a,r);if(u>e){const{hyphenatedStrings:y,remainingWord:g}=Lot(s,e,"-",r);i.push(a,...y),a=g}else h+u>=e?(i.push(a),a=s):a=[a,s].filter(Boolean).join(" ");l+1===n.length&&i.push(a)}),i.filter(s=>s!=="").join(r.joinWith)},(t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),Lot=fm((t,e,r="-",n)=>{n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},n);const i=[...t],a=[];let s="";return i.forEach((l,u)=>{const h=`${s}${l}`;if(Eu(h,n)>=e){const p=u+1,y=i.length===p,g=`${h}${r}`;a.push(y?h:g),s=""}else s=h}),{hyphenatedStrings:a,remainingWord:s}},(t,e,r="-",n)=>`${t}${e}${r}${n.fontSize}${n.fontWeight}${n.fontFamily}`);function rN(t,e){return gC(t,e).height}$(rN,"calculateTextHeight");function Eu(t,e){return gC(t,e).width}$(Eu,"calculateTextWidth");var gC=fm((t,e)=>{const{fontSize:r=12,fontFamily:n="Arial",fontWeight:i=400}=e;if(!t)return{width:0,height:0};const[,a]=gb(r),s=["sans-serif",n],l=t.split(qp.lineBreakRegex),u=[],h=Tn("body");if(!h.remove)return{width:0,height:0,lineHeight:0};const f=h.append("svg");for(const y of s){let g=0;const b={width:0,height:0,lineHeight:0};for(const v of l){const C=_ot();C.text=v||got;const k=Aot(f,C).style("font-size",a).style("font-weight",i).style("font-family",y),T=(k._groups||k)[0][0].getBBox();if(T.width===0&&T.height===0)throw new Error("svg element not in render tree");b.width=Math.round(Math.max(b.width,T.width)),g=Math.round(T.height),b.height+=g,b.lineHeight=Math.round(Math.max(b.lineHeight,g))}u.push(b)}f.remove();const p=isNaN(u[1].height)||isNaN(u[1].width)||isNaN(u[1].lineHeight)||u[0].height>u[1].height&&u[0].width>u[1].width&&u[0].lineHeight>u[1].lineHeight?0:1;return u[p]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),kp,Eot=(kp=class{constructor(e=!1,r){this.count=0,this.count=r?r.length:0,this.next=e?()=>this.count++:()=>Date.now()}},$(kp,"InitIDGenerator"),kp),H1,Mot=$(function(t){return H1=H1||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),H1.innerHTML=t,unescape(H1.textContent)},"entityDecode");function mC(t){return"str"in t}$(mC,"isDetailedError");var Rot=$((t,e,r,n)=>{if(!n)return;const i=t.node()?.getBBox();i&&t.append("text").text(n).attr("text-anchor","middle").attr("x",i.x+i.width/2).attr("y",-r).attr("class",e)},"insertTitle"),gb=$(t=>{if(typeof t=="number")return[t,t+"px"];const e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},"parseFontSize");function yC(t,e){return pot({},t,e)}$(yC,"cleanAndMerge");var jl={assignWithDepth:xa,wrapLabel:Tot,calculateTextHeight:rN,calculateTextWidth:Eu,calculateTextDimensions:gC,cleanAndMerge:yC,detectInit:bot,detectDirective:XR,isSubstringInArray:xot,interpolateToCurve:fC,calcLabelPosition:QR,calcCardinalityPosition:wot,calcTerminalLabelPosition:JR,formatUrl:KR,getStylesFromArray:tN,generateId:Cot,random:kot,runFunc:Sot,entityDecode:Mot,insertTitle:Rot,isLabelCoordinateInPath:nN,parseFontSize:gb,InitIDGenerator:Eot},Not=$(function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),e=e.replace(/classDef.*:\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),e=e.replace(/#\w+;/g,function(r){const n=r.substring(1,r.length-1);return/^\+?\d+$/.test(n)?"fl°°"+n+"¶ß":"fl°"+n+"¶ß"}),e},"encodeEntities"),ad=$(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),Uft=$((t,e,{counter:r=0,prefix:n,suffix:i},a)=>a||`${n?`${n}_`:""}${t}_${e}_${r}${i?`_${i}`:""}`,"getEdgeId");function uo(t){return t??null}$(uo,"handleUndefinedAttr");function nN(t,e){const r=Math.round(t.x),n=Math.round(t.y),i=e.replace(/(\d+\.\d+)/g,a=>Math.round(parseFloat(a)).toString());return i.includes(r.toString())||i.includes(n.toString())}$(nN,"isLabelCoordinateInPath");const Bot=Object.freeze({left:0,top:0,width:16,height:16}),py=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),iN=Object.freeze({...Bot,...py}),Oot=Object.freeze({...iN,body:"",hidden:!1}),Pot=Object.freeze({width:null,height:null}),$ot=Object.freeze({...Pot,...py}),jot=(t,e,r,n="")=>{const i=t.split(":");if(t.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;n=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const l=i.pop(),u=i.pop(),h={provider:i.length>0?i[0]:n,prefix:u,name:l};return Xx(h)?h:null}const a=i[0],s=a.split("-");if(s.length>1){const l={provider:n,prefix:s.shift(),name:s.join("-")};return Xx(l)?l:null}if(r&&n===""){const l={provider:n,prefix:"",name:a};return Xx(l,r)?l:null}return null},Xx=(t,e)=>t?!!((e&&t.prefix===""||t.prefix)&&t.name):!1;function Dot(t,e){const r={};!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0);const n=((t.rotate||0)+(e.rotate||0))%4;return n&&(r.rotate=n),r}function xT(t,e){const r=Dot(t,e);for(const n in Oot)n in py?n in t&&!(n in r)&&(r[n]=py[n]):n in e?r[n]=e[n]:n in t&&(r[n]=t[n]);return r}function Iot(t,e){const r=t.icons,n=t.aliases||Object.create(null),i=Object.create(null);function a(s){if(r[s])return i[s]=[];if(!(s in i)){i[s]=null;const l=n[s]&&n[s].parent,u=l&&a(l);u&&(i[s]=[l].concat(u))}return i[s]}
vendor: 4,232 bytes, line 410
410return(e||Object.keys(r).concat(Object.keys(n))).forEach(a),i}function ST(t,e,r){const n=t.icons,i=t.aliases||Object.create(null);let a={};function s(l){a=xT(n[l]||i[l],a)}return s(e),r.forEach(s),xT(t,a)}function zot(t,e){if(t.icons[e])return ST(t,e,[]);const r=Iot(t,[e])[e];return r?ST(t,e,r):null}const Fot=/(-?[0-9.]*[0-9]+[0-9.]*)/g,qot=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function wT(t,e,r){if(e===1)return t;if(r=r||100,typeof t=="number")return Math.ceil(t*e*r)/r;if(typeof t!="string")return t;const n=t.split(Fot);if(n===null||!n.length)return t;const i=[];let a=n.shift(),s=qot.test(a);for(;;){if(s){const l=parseFloat(a);isNaN(l)?i.push(a):i.push(Math.ceil(l*e*r)/r)}else i.push(a);if(a=n.shift(),a===void 0)return i.join("");s=!s}}function Hot(t,e="defs"){let r="";const n=t.indexOf("<"+e);for(;n>=0;){const i=t.indexOf(">",n),a=t.indexOf("</"+e);if(i===-1||a===-1)break;const s=t.indexOf(">",a);if(s===-1)break;r+=t.slice(i+1,a).trim(),t=t.slice(0,n).trim()+t.slice(s+1)}return{defs:r,content:t}}function Uot(t,e){return t?"<defs>"+t+"</defs>"+e:e}function Wot(t,e,r){const n=Hot(t);return Uot(n.defs,e+n.content+r)}const Got=t=>t==="unset"||t==="undefined"||t==="none";function Vot(t,e){const r={...iN,...t},n={...$ot,...e},i={left:r.left,top:r.top,width:r.width,height:r.height};let a=r.body;[r,n].forEach(v=>{const C=[],k=v.hFlip,T=v.vFlip;let E=v.rotate;k?T?E+=2:(C.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),C.push("scale(-1 1)"),i.top=i.left=0):T&&(C.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),C.push("scale(1 -1)"),i.top=i.left=0);let L;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:L=i.height/2+i.top,C.unshift("rotate(90 "+L.toString()+" "+L.toString()+")");break;case 2:C.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:L=i.width/2+i.left,C.unshift("rotate(-90 "+L.toString()+" "+L.toString()+")");break}E%2===1&&(i.left!==i.top&&(L=i.left,i.left=i.top,i.top=L),i.width!==i.height&&(L=i.width,i.width=i.height,i.height=L)),C.length&&(a=Wot(a,'<g transform="'+C.join(" ")+'">',"</g>"))});const s=n.width,l=n.height,u=i.width,h=i.height;let f,p;s===null?(p=l===null?"1em":l==="auto"?h:l,f=wT(p,u/h)):(f=s==="auto"?u:s,p=l===null?wT(f,h/u):l==="auto"?h:l);const y={},g=(v,C)=>{Got(C)||(y[v]=C.toString())};g("width",f),g("height",p);const b=[i.left,i.top,u,h];return y.viewBox=b.join(" "),{attributes:y,viewBox:b,body:a}}const Yot=/\sid="(\S+)"/g,CT=new Map;function Xot(t){t=t.replace(/[0-9]+$/,"")||"a";const e=CT.get(t)||0;return CT.set(t,e+1),e?`${t}${e}`:t}function Kot(t){const e=[];let r;for(;r=Yot.exec(t);)e.push(r[1]);if(!e.length)return t;const n="suffix"+(Math.random()*16777216|Date.now()).toString(16);return e.forEach(i=>{const a=Xot(i),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+n+"$3")}),t=t.replace(new RegExp(n,"g"),""),t}function Zot(t,e){let r=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in e)r+=" "+n+'="'+e[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+t+"</svg>"}function bC(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var od=bC();function aN(t){od=t}var A0={exec:()=>null};function Bn(t,e=""){let r=typeof t=="string"?t:t.source,n={replace:(i,a)=>{let s=typeof a=="string"?a:a.source;return s=s.replace(_o.caret,"$1"),r=r.replace(i,s),n},getRegex:()=>new RegExp(r,e)};return n}var Qot=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),_o={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine
vendor: 6,758 bytes, lines 410-411
410:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[	 ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},Jot=/^(?:[ \t]*(?:\n|$))+/,tst=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,est=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,pm=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,rst=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,vC=/(?:[*+-]|\d{1,9}[.)])/,oN=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,sN=Bn(oN).replace(/bull/g,vC).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),nst=Bn(oN).replace(/bull/g,vC).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),xC=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,ist=/^[^\n]+/,SC=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,ast=Bn(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",SC).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),ost=Bn(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,vC).getRegex(),mb="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",wC=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,sst=Bn("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$))","i").replace("comment",wC).replace("tag",mb).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),lN=Bn(xC).replace("hr",pm).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",mb).getRegex(),lst=Bn(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",lN).getRegex(),CC={blockquote:lst,code:tst,def:ast,fences:est,heading:rst,hr:pm,html:sst,lheading:sN,list:ost,newline:Jot,paragraph:lN,table:A0,text:ist},kT=Bn("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",pm).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}	)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",mb).getRegex(),cst={...CC,lheading:nst,table:kT,paragraph:Bn(xC).replace("hr",pm).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",kT).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",mb).getRegex()},ust={...CC,html:Bn(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",wC).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:A0,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Bn(xC).replace("hr",pm).replace("heading",` *#{1,6} *[^
411]`).replace("lheading",sN).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},hst=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,fst=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,cN=/^( {2,}|\\)\n(?!\s*$)/,dst=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,yb=/[\p{P}\p{S}]/u,kC=/[\s\p{P}\p{S}]/u,uN=/[^\s\p{P}\p{S}]/u,pst=Bn(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,kC).getRegex(),hN=/(?!~)[\p{P}\p{S}]/u,gst=/(?!~)[\s\p{P}\p{S}]/u,mst=/(?:[^\s\p{P}\p{S}]|~)/u,yst=Bn(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("prec
411ode-",Qot?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),fN=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,bst=Bn(fN,"u").replace(/punct/g,yb).getRegex(),vst=Bn(fN,"u").replace(/punct/g,hN).getRegex(),dN="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",xst=Bn(dN,"gu").replace(/notPunctSpace/g,uN).replace(/punctSpace/g,kC).replace(/punct/g,yb).getRegex(),Sst=Bn(dN,"gu").replace(/notPunctSpace/g,mst).replace(/punctSpace/g,gst).replace(/punct/g,hN).getRegex(),wst=Bn("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,uN).replace(/punctSpace/g,kC).replace(/punct/g,yb).getRegex(),Cst=Bn(/\\(punct)/,"gu").replace(/punct/g,yb).getRegex(),kst=Bn(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),_st=Bn(wC).replace("(?:-->|$)","-->").getRegex(),Ast=Bn("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",_st).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),gy=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Tst=Bn(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",gy).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),pN=Bn(/^!?\[(label)\]\[(ref)\]/).replace("label",gy).replace("ref",SC).getRegex(),gN=Bn(/^!?\[(ref)\](?:\[\])?/).replace("ref",SC).getRegex(),Lst=Bn("reflink|nolink(?!\\()","g").replace("reflink",pN).replace("nolink",gN).getRegex(),_T=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,_C={_backpedal:A0,anyPunctuation:Cst,autolink:kst,blockSkip:yst,br:cN,code:fst,del:A0,emStrongLDelim:bst,emStrongRDelimAst:xst,emStrongRDelimUnd:wst,escape:hst,link:Tst,nolink:gN,punctuation:pst,reflink:pN,reflinkSearch:Lst,tag:Ast,text:dst,url:A0},Est={..._C,link:Bn(/^!?\[(label)\]\((.*?)\)/).replace("label",gy).getRegex(),reflink:Bn(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",gy).getRegex()},TS={..._C,emStrongRDelimAst:Sst,emStrongLDelim:vst,url:Bn(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",_T).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:Bn(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",_T).getRegex()},Mst={...TS,br:Bn(cN).replace("{2,}","*").getRegex(),text:Bn(TS.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},U1={normal:CC,gfm:cst,pedantic:ust},Yg={normal:_C,gfm:TS,breaks:Mst,pedantic:Est},Rst={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},AT=t=>Rst[t];function Sc(t,e){if(e){if(_o.escapeTest.test(t))return t.replace(_o.escapeReplace,AT)}else if(_o.escapeTestNoEncode.test(t))return t.replace(_o.escapeReplaceNoEncode,AT);return t}function TT(t){try{t=encodeURI(t).replace(_o.percentDecode,"%")}catch{return null}return t}function LT(t,e){let r=t.replace(_o.findPipe,(a,s,l)=>{let u=!1,h=s;for(;--h>=0&&l[h]==="\\";)u=!u;return u?"|":" |"}),n=r.split(_o.splitPipe),i=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(_o.slashPipe,"|");return n}function Xg(t,e,r){let n=t.length;if(n===0)return"";let i=0;for(;i<n&&t.charAt(n-i-1)===e;)i++;return t.slice(0,n-i)}function Nst(t,e){if(t.indexOf(e[1])===-1)return-1;let r=0;for(let n=0;n<t.length;n++)if(t[n]==="\\")n++;else if(t[n]===e[0])r++;else if(t[n]===e[1]&&(r--,r<0))return n;return r>0?-2:-1}function ET(t,e,r,n,i){let a=e.href,s=e.title||null,l=t[1].replace(i.other.outputLinkReplace,"$1");n.state.inLink=!0;let u={type:t[0].charAt(0)==="!"?"image":"link",raw:r,href:a,title:s,text:l,tokens:n.inlineTokens(l)};return n.state.inLink=!1,u}function Bst(t,e,r){let n=t.match(r.other.indentCodeCompensation);if(n===null)return e;let i=n[1];return e.split(`
412`).map(a=>{let s=a.match(r.other.beginningSpace);if(s===null)return a;let[l]=s;return l.length>=i.length?a.slice(i.length):a}).join(`
413`)}var my=class{options;rules;lexer;constructor(e){this.options=e||od}space(e){let r=this.rules.block.newline.exec(e);if(r&&r[0].length>0)return{type:"space",raw:r[0]}}code(e){let r=this.rules.block.code.exec(e);if(r){let n=r[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Xg(n,`
414`)}}}fences(e){let r=this.rules.block.fences.exec(e);if(r){let n=r[0],i=Bst(n,r[3]||"",this.rules);return{type:"code",raw:n,lang:r[2]?r[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):r[2],text:i}}}heading(e){let r=this.rules.block.heading.exec(e);if(r){let n=r[2].trim();if(this.rules.other.endingHash.test(n)){let i=Xg(n,"#");(this.options.pedantic||!i||this.rules.other.endingSpaceChar.test(i))&&(n=i.trim())}return{type:"heading",raw:r[0],depth:r[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){let r=this.rules.block.hr.exec(e);if(r)return{type:"hr",raw:Xg(r[0],`
415`)}}blockquote(e){let r=this.rules.block.blockquote.exec(e);if(r){let n=Xg(r[0],`
416`).split(`
417`),i="",a="",s=[];for(;n.length>0;){let l=!1,u=[],h;for(h=0;h<n.length;
vendor: 5,755 bytes, lines 417-435
417h++)if(this.rules.other.blockquoteStart.test(n[h]))u.push(n[h]),l=!0;else if(!l)u.push(n[h]);else break;n=n.slice(h);let f=u.join(`
418`),p=f.replace(this.rules.other.blockquoteSetextReplace,`
419    $1`).replace(this.rules.other.blockquoteSetextReplace2,"");i=i?`${i}
420${f}`:f,a=a?`${a}
421${p}`:p;let y=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(p,s,!0),this.lexer.state.top=y,n.length===0)break;let g=s.at(-1);if(g?.type==="code")break;if(g?.type==="blockquote"){let b=g,v=b.raw+`
422`+n.join(`
423`),C=this.blockquote(v);s[s.length-1]=C,i=i.substring(0,i.length-b.raw.length)+C.raw,a=a.substring(0,a.length-b.text.length)+C.text;break}else if(g?.type==="list"){let b=g,v=b.raw+`
424`+n.join(`
425`),C=this.list(v);s[s.length-1]=C,i=i.substring(0,i.length-g.raw.length)+C.raw,a=a.substring(0,a.length-b.raw.length)+C.raw,n=v.substring(s.at(-1).raw.length).split(`
426`);continue}}return{type:"blockquote",raw:i,tokens:s,text:a}}}list(e){let r=this.rules.block.list.exec(e);if(r){let n=r[1].trim(),i=n.length>1,a={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");let s=this.rules.other.listItemRegex(n),l=!1;for(;e;){let h=!1,f="",p="";if(!(r=s.exec(e))||this.rules.block.hr.test(e))break;f=r[0],e=e.substring(f.length);let y=r[2].split(`
427`,1)[0].replace(this.rules.other.listReplaceTabs,T=>" ".repeat(3*T.length)),g=e.split(`
428`,1)[0],b=!y.trim(),v=0;if(this.options.pedantic?(v=2,p=y.trimStart()):b?v=r[1].length+1:(v=r[2].search(this.rules.other.nonSpaceChar),v=v>4?1:v,p=y.slice(v),v+=r[1].length),b&&this.rules.other.blankLine.test(g)&&(f+=g+`
429`,e=e.substring(g.length+1),h=!0),!h){let T=this.rules.other.nextBulletRegex(v),E=this.rules.other.hrRegex(v),L=this.rules.other.fencesBeginRegex(v),O=this.rules.other.headingBeginRegex(v),W=this.rules.other.htmlBeginRegex(v);for(;e;){let q=e.split(`
430`,1)[0],U;if(g=q,this.options.pedantic?(g=g.replace(this.rules.other.listReplaceNesting,"  "),U=g):U=g.replace(this.rules.other.tabCharGlobal,"    "),L.test(g)||O.test(g)||W.test(g)||T.test(g)||E.test(g))break;if(U.search(this.rules.other.nonSpaceChar)>=v||!g.trim())p+=`
431`+U.slice(v);else{if(b||y.replace(this.rules.other.tabCharGlobal,"    ").search(this.rules.other.nonSpaceChar)>=4||L.test(y)||O.test(y)||E.test(y))break;p+=`
432`+g}!b&&!g.trim()&&(b=!0),f+=q+`
433`,e=e.substring(q.length+1),y=U.slice(v)}}a.loose||(l?a.loose=!0:this.rules.other.doubleBlankLine.test(f)&&(l=!0));let C=null,k;this.options.gfm&&(C=this.rules.other.listIsTask.exec(p),C&&(k=C[0]!=="[ ] ",p=p.replace(this.rules.other.listReplaceTask,""))),a.items.push({type:"list_item",raw:f,task:!!C,checked:k,loose:!1,text:p,tokens:[]}),a.raw+=f}let u=a.items.at(-1);if(u)u.raw=u.raw.trimEnd(),u.text=u.text.trimEnd();else return;a.raw=a.raw.trimEnd();for(let h=0;h<a.items.length;h++)if(this.lexer.state.top=!1,a.items[h].tokens=this.lexer.blockTokens(a.items[h].text,[]),!a.loose){let f=a.items[h].tokens.filter(y=>y.type==="space"),p=f.length>0&&f.some(y=>this.rules.other.anyLine.test(y.raw));a.loose=p}if(a.loose)for(let h=0;h<a.items.length;h++)a.items[h].loose=!0;return a}}html(e){let r=this.rules.block.html.exec(e);if(r)return{type:"html",block:!0,raw:r[0],pre:r[1]==="pre"||r[1]==="script"||r[1]==="style",text:r[0]}}def(e){let r=this.rules.block.def.exec(e);if(r){let n=r[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),i=r[2]?r[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",a=r[3]?r[3].substring(1,r[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):r[3];return{type:"def",tag:n,raw:r[0],href:i,title:a}}}table(e){let r=this.rules.block.table.exec(e);if(!r||!this.rules.other.tableDelimiter.test(r[2]))return;let n=LT(r[1]),i=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),a=r[3]?.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split(`
434`):[],s={type:"table",raw:r[0],header:[],align:[],rows:[]};if(n.length===i.length){for(let l of i)this.rules.other.tableAlignRight.test(l)?s.align.push("right"):this.rules.other.tableAlignCenter.test(l)?s.align.push("center"):this.rules.other.tableAlignLeft.test(l)?s.align.push("left"):s.align.push(null);for(let l=0;l<n.length;l++)s.header.push({text:n[l],tokens:this.lexer.inline(n[l]),header:!0,align:s.align[l]});for(let l of a)s.rows.push(LT(l,s.header.length).map((u,h)=>({text:u,tokens:this.lexer.inline(u),header:!1,align:s.align[h]})));return s}}lheading(e){let r=this.rules.block.lheading.exec(e);if(r)return{type:"heading",raw:r[0],depth:r[2].charAt(0)==="="?1:2,text:r[1],tokens:this.lexer.inline(r[1])}}paragraph(e){let r=this.rules.block.paragraph.exec(e);if(r){let n=r[1].charAt(r[1].length-1)===`
435`?r[1].slice(0,-1):r[1];return{type:"paragraph",raw:r[0],text:n,tokens:this.lexer.inline(n)}}}text(e){let r=this.rules.block.text.exec(e);if(r)return{type:"text",raw:r[0],text:r[0],tokens:this.lexer.inline(r[0])}}escape(e){let r=this.rules.inline.escape.exec(e);if(r)return{type:"escape",raw:r[0],text:r[1]}}tag(e){let r=this.rules.inline.tag.exec(e);if(r)return!this.lexer.state.inLink&&this.rules.other.startATag.test(r[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:r[0]}}link(e){let r=this.rules.inline.link.exec(e);if(r){let n=r[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if
vendor: 15,769 bytes, lines 435-468
435(!this.rules.other.endAngleBracket.test(n))return;let s=Xg(n.slice(0,-1),"\\");if((n.length-s.length)%2===0)return}else{let s=Nst(r[2],"()");if(s===-2)return;if(s>-1){let l=(r[0].indexOf("!")===0?5:4)+r[1].length+s;r[2]=r[2].substring(0,s),r[0]=r[0].substring(0,l).trim(),r[3]=""}}let i=r[2],a="";if(this.options.pedantic){let s=this.rules.other.pedanticHrefTitle.exec(i);s&&(i=s[1],a=s[3])}else a=r[3]?r[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?i=i.slice(1):i=i.slice(1,-1)),ET(r,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:a&&a.replace(this.rules.inline.anyPunctuation,"$1")},r[0],this.lexer,this.rules)}}reflink(e,r){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let i=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),a=r[i.toLowerCase()];if(!a){let s=n[0].charAt(0);return{type:"text",raw:s,text:s}}return ET(n,a,n[0],this.lexer,this.rules)}}emStrong(e,r,n=""){let i=this.rules.inline.emStrongLDelim.exec(e);if(!(!i||i[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(i[1]||i[2])||!n||this.rules.inline.punctuation.exec(n))){let a=[...i[0]].length-1,s,l,u=a,h=0,f=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(f.lastIndex=0,r=r.slice(-1*e.length+a);(i=f.exec(r))!=null;){if(s=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!s)continue;if(l=[...s].length,i[3]||i[4]){u+=l;continue}else if((i[5]||i[6])&&a%3&&!((a+l)%3)){h+=l;continue}if(u-=l,u>0)continue;l=Math.min(l,l+u+h);let p=[...i[0]][0].length,y=e.slice(0,a+i.index+p+l);if(Math.min(a,l)%2){let b=y.slice(1,-1);return{type:"em",raw:y,text:b,tokens:this.lexer.inlineTokens(b)}}let g=y.slice(2,-2);return{type:"strong",raw:y,text:g,tokens:this.lexer.inlineTokens(g)}}}}codespan(e){let r=this.rules.inline.code.exec(e);if(r){let n=r[2].replace(this.rules.other.newLineCharGlobal," "),i=this.rules.other.nonSpaceChar.test(n),a=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return i&&a&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:r[0],text:n}}}br(e){let r=this.rules.inline.br.exec(e);if(r)return{type:"br",raw:r[0]}}del(e){let r=this.rules.inline.del.exec(e);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(e){let r=this.rules.inline.autolink.exec(e);if(r){let n,i;return r[2]==="@"?(n=r[1],i="mailto:"+n):(n=r[1],i=n),{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}}url(e){let r;if(r=this.rules.inline.url.exec(e)){let n,i;if(r[2]==="@")n=r[0],i="mailto:"+n;else{let a;do a=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])?.[0]??"";while(a!==r[0]);n=r[0],r[1]==="www."?i="http://"+r[0]:i=r[0]}return{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(e){let r=this.rules.inline.text.exec(e);if(r){let n=this.lexer.state.inRawBlock;return{type:"text",raw:r[0],text:r[0],escaped:n}}}},Ol=class LS{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||od,this.options.tokenizer=this.options.tokenizer||new my,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let r={other:_o,block:U1.normal,inline:Yg.normal};this.options.pedantic?(r.block=U1.pedantic,r.inline=Yg.pedantic):this.options.gfm&&(r.block=U1.gfm,this.options.breaks?r.inline=Yg.breaks:r.inline=Yg.gfm),this.tokenizer.rules=r}static get rules(){return{block:U1,inline:Yg}}static lex(e,r){return new LS(r).lex(e)}static lexInline(e,r){return new LS(r).inlineTokens(e)}lex(e){e=e.replace(_o.carriageReturn,`
436`),this.blockTokens(e,this.tokens);for(let r=0;r<this.inlineQueue.length;r++){let n=this.inlineQueue[r];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,r=[],n=!1){for(this.options.pedantic&&(e=e.replace(_o.tabCharGlobal,"    ").replace(_o.spaceLine,""));e;){let i;if(this.options.extensions?.block?.some(s=>(i=s.call({lexer:this},e,r))?(e=e.substring(i.raw.length),r.push(i),!0):!1))continue;if(i=this.tokenizer.space(e)){e=e.substring(i.raw.length);let s=r.at(-1);i.raw.length===1&&s!==void 0?s.raw+=`
437`:r.push(i);continue}if(i=this.tokenizer.code(e)){e=e.substring(i.raw.length);let s=r.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=(s.raw.endsWith(`
438`)?"":`
439`)+i.raw,s.text+=`
440`+i.text,this.inlineQueue.at(-1).src=s.text):r.push(i);continue}if(i=this.tokenizer.fences(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.heading(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.hr(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.blockquote(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.list(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.html(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.def(e)){e=e.substring(i.raw.length);let s=r.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=(s.raw.endsWith(`
441`)?"":`
442`)+i.raw,s.text+=`
443`+i.raw,this.inlineQueue.at(-1).src=s.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title},r.push(i));continue}if(i=this.tokenizer.table(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.lheading(e)){e=e.substring(i.raw.length),r.push(i);continue}let a=e;if(this.options.extensions?.startBlock){let s=1/0,l=e.slice(1),u;this.options.extensions.startBlock.forEach(h=>{u=h.call({lexer:this},l),typeof u=="number"&&u>=0&&(s=Math.min(s,u))}),s<1/0&&s>=0&&(a=e.substring(0,s+1))}if(this.state.top&&(i=this.tokenizer.paragraph(a))){let s=r.at(-1);n&&s?.type==="paragraph"?(s.raw+=(s.raw.endsWith(`
444`)?"":`
445`)+i.raw,s.text+=`
446`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):r.push(i),n=a.length!==e.length,e=e.substring(i.raw.length);continue}if(i=this.tokenizer.text(e)){e=e.substring(i.raw.length);let s=r.at(-1);s?.type==="text"?(s.raw+=(s.raw.endsWith(`
447`)?"":`
448`)+i.raw,s.text+=`
449`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):r.push(i);continue}if(e){let s="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,r}inline(e,r=[]){return this.inlineQueue.push({src:e,tokens:r}),r}inlineTokens(e,r=[]){let n=e,i=null;if(this.tokens.links){let u=Object.keys(this.tokens.links);if(u.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)u.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,i.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let a;for(;(i=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)a=i[2]?i[2].length:0,n=n.slice(0,i.index+a)+"["+"a".repeat(i[0].length-a-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let s=!1,l="";for(;e;){s||(l=""),s=!1;let u;if(this.options.extensions?.inline?.some(f=>(u=f.call({lexer:this},e,r))?(e=e.substring(u.raw.length),r.push(u),!0):!1))continue;if(u=this.tokenizer.escape(e)){e=e.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.tag(e)){e=e.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.link(e)){e=e.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(u.raw.length);let f=r.at(-1);u.type==="text"&&f?.type==="text"?(f.raw+=u.raw,f.text+=u.text):r.push(u);continue}if(u=this.tokenizer.emStrong(e,n,l)){e=e.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.codespan(e)){e=e.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.br(e)){e=e.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.del(e)){e=e.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.autolink(e)){e=e.substring(u.raw.length),r.push(u);continue}if(!this.state.inLink&&(u=this.tokenizer.url(e))){e=e.substring(u.raw.length),r.push(u);continue}let h=e;if(this.options.extensions?.startInline){let f=1/0,p=e.slice(1),y;this.options.extensions.startInline.forEach(g=>{y=g.call({lexer:this},p),typeof y=="number"&&y>=0&&(f=Math.min(f,y))}),f<1/0&&f>=0&&(h=e.substring(0,f+1))}if(u=this.tokenizer.inlineText(h)){e=e.substring(u.raw.length),u.raw.slice(-1)!=="_"&&(l=u.raw.slice(-1)),s=!0;let f=r.at(-1);f?.type==="text"?(f.raw+=u.raw,f.text+=u.text):r.push(u);continue}if(e){let f="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return r}},yy=class{options;parser;constructor(e){this.options=e||od}space(e){return""}code({text:e,lang:r,escaped:n}){let i=(r||"").match(_o.notSpaceStart)?.[0],a=e.replace(_o.endingNewline,"")+`
450`;return i?'<pre><code class="language-'+Sc(i)+'">'+(n?a:Sc(a,!0))+`</code></pre>
451`:"<pre><code>"+(n?a:Sc(a,!0))+`</code></pre>
452`}blockquote({tokens:e}){return`<blockquote>
453${this.parser.parse(e)}</blockquote>
454`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:r}){return`<h${r}>${this.parser.parseInline(e)}</h${r}>
455`}hr(e){return`<hr>
456`}list(e){let r=e.ordered,n=e.start,i="";for(let l=0;l<e.items.length;l++){let u=e.items[l];i+=this.listitem(u)}let a=r?"ol":"ul",s=r&&n!==1?' start="'+n+'"':"";return"<"+a+s+`>
457`+i+"</"+a+`>
458`}listitem(e){let r="";if(e.task){let n=this.checkbox({checked:!!e.checked});e.loose?e.tokens[0]?.type==="paragraph"?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&e.tokens[0].tokens[0].type==="text"&&(e.tokens[0].tokens[0].text=n+" "+Sc(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):r+=n+" "}return r+=this.parser.parse(e.tokens,!!e.loose),`<li>${r}</li>
459`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
460`}table(e){let r="",n="";for(let a=0;a<e.header.length;a++)n+=this.tablecell(e.header[a]);r+=this.tablerow({text:n});let i="";for(let a=0;a<e.rows.length;a++){let s=e.rows[a];n="";for(let l=0;l<s.length;l++)n+=this.tablecell(s[l]);i+=this.tablerow({text:n})}return i&&(i=`<tbody>${i}</tbody>`),`<table>
461<thead>
462`+r+`</thead>
463`+i+`</table>
464`}tablerow({text:e}){return`<tr>
465${e}</tr>
466`}tablecell(e){let r=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+r+`</${n}>
467`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${Sc(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:r,tokens:n}){let i=this.parser.parseInline(n),a=TT(e);if(a===null)return i;e=a;let s='<a href="'+e+'"';return r&&(s+=' title="'+Sc(r)+'"'),s+=">"+i+"</a>",s}image({href:e,title:r,text:n,tokens:i}){i&&(n=this.parser.parseInline(i,this.parser.textRenderer));let a=TT(e);if(a===null)return Sc(n);e=a;let s=`<img src="${e}" alt="${n}"`;return r&&(s+=` title="${Sc(r)}"`),s+=">",s}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:Sc(e.text)}},AC=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},Pl=class ES{options;renderer;textRenderer;constructor(e){this.options=e||od,this.options.renderer=this.options.renderer||new yy,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new AC}static parse(e,r){return new ES(r).parse(e)}static parseInline(e,r){return new ES(r).parseInline(e)}parse(e,r=!0){let n="";for(let i=0;i<e.length;i++){let a=e[i];if(this.options.extensions?.renderers?.[a.type]){let l=a,u=this.options.extensions.renderers[l.type].call({parser:this},l);if(u!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(l.type)){n+=u||"";continue}}let s=a;switch(s.type){case"space":{n+=this.renderer.space(s);continue}case"hr":{n+=this.renderer.hr(s);continue}case"heading":{n+=this.renderer.heading(s);continue}case"code":{n+=this.renderer.code(s);continue}case"table":{n+=this.renderer.table(s);continue}case"blockquote":{n+=this.renderer.blockquote(s);continue}case"list":{n+=this.renderer.list(s);continue}case"html":{n+=this.renderer.html(s);continue}case"def":{n+=this.renderer.def(s);continue}case"paragraph":{n+=this.renderer.paragraph(s);continue}case"text":{let l=s,u=this.renderer.text(l);for(;i+1<e.length&&e[i+1].type==="text";)l=e[++i],u+=`
468`+this.renderer.text(l);r?n+=this.renderer.paragraph({type:"paragraph",raw:u,text:u,tokens:[{type:"text",raw:u,text:u,escaped:!0}]}):n+=u;continue}default:{let l='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return n}parseInline(e,r=this.renderer){let n="";for(let i=0;i<e.length;i++){let a=e[i];if(this.options.extensions?.renderers?.[a.type]){let l=this.options.extensions.renderers[a.type].call({parser:this},a);if(l!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){n+=l||"";continue}}let s=a;switch(s.type){case"escape":{n+=r.text(s);break}case"html":{n+=r.html(s);break}case"link":{n+=r.link(s);break}case"image":{n+=r.image(s);break}case"strong":{n+=r.strong(s);break}case"em":{n+=r.em(s);break}case"codespan":{n+=r.codespan(s);break}case"br":{n+=r.br(s);break}case"del":{n+=r.del(s);break}case"text":{n+=r.text(s);break}default:{let l='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return n}},s0=class{options;block;constructor(e){this.options=e||od}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){return this.block?Ol.lex:Ol.lexInline}provideParser(){return this.block?Pl.parse:Pl.parseInline}},Ost=class{defaults=bC();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=Pl;Renderer=yy;TextRenderer=AC;Lexer=Ol;Tokenizer=my;Hooks=s0;constructor(...e){this.use(...e)}walkTokens(e,r){let n=[];for(let i of e)switch(n=n.concat(r.call(this,i)),i.type){case"table":{let a=i;for(let s of a.header)n=n.concat(this.walkTokens(s.tokens,r));for(let s of a.rows)for(let l of s)n=n.concat(this.walkTokens(l.tokens,r));break}case"list":{let a=i;n=n.concat(this.walkTokens(a.items,r));break}default:{let a=i;this.defaults.extensions?.childTokens?.[a.type]?this.defaults.extensions.childTokens[a.type].forEach(s=>{let l=a[s].flat(1/0);n=n.concat(this.walkTokens(l,r))}):a.tokens&&(n=n.concat(this.walkTokens(a.tokens,r)))}}return n}use(...e){let r=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{let i={...n};if(i.async=this.defaults.async||i.async||!1,n.extensions&&(n.extensions.forEach(a=>{if(!a.name)throw new Error("extension name required");if("renderer"in a){let s=r.renderers[a.name];s?r.renderers[a.name]=function(...l){let u=a.renderer.apply(this,l);return u===!1&&(u=s.apply(this,l)),u}:r.renderers[a.name]=a.renderer}
vendor: 5,350 bytes, lines 468-474
468if("tokenizer"in a){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let s=r[a.level];s?s.unshift(a.tokenizer):r[a.level]=[a.tokenizer],a.start&&(a.level==="block"?r.startBlock?r.startBlock.push(a.start):r.startBlock=[a.start]:a.level==="inline"&&(r.startInline?r.startInline.push(a.start):r.startInline=[a.start]))}"childTokens"in a&&a.childTokens&&(r.childTokens[a.name]=a.childTokens)}),i.extensions=r),n.renderer){let a=this.defaults.renderer||new yy(this.defaults);for(let s in n.renderer){if(!(s in a))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;let l=s,u=n.renderer[l],h=a[l];a[l]=(...f)=>{let p=u.apply(a,f);return p===!1&&(p=h.apply(a,f)),p||""}}i.renderer=a}if(n.tokenizer){let a=this.defaults.tokenizer||new my(this.defaults);for(let s in n.tokenizer){if(!(s in a))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;let l=s,u=n.tokenizer[l],h=a[l];a[l]=(...f)=>{let p=u.apply(a,f);return p===!1&&(p=h.apply(a,f)),p}}i.tokenizer=a}if(n.hooks){let a=this.defaults.hooks||new s0;for(let s in n.hooks){if(!(s in a))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;let l=s,u=n.hooks[l],h=a[l];s0.passThroughHooks.has(s)?a[l]=f=>{if(this.defaults.async&&s0.passThroughHooksRespectAsync.has(s))return(async()=>{let y=await u.call(a,f);return h.call(a,y)})();let p=u.call(a,f);return h.call(a,p)}:a[l]=(...f)=>{if(this.defaults.async)return(async()=>{let y=await u.apply(a,f);return y===!1&&(y=await h.apply(a,f)),y})();let p=u.apply(a,f);return p===!1&&(p=h.apply(a,f)),p}}i.hooks=a}if(n.walkTokens){let a=this.defaults.walkTokens,s=n.walkTokens;i.walkTokens=function(l){let u=[];return u.push(s.call(this,l)),a&&(u=u.concat(a.call(this,l))),u}}this.defaults={...this.defaults,...i}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,r){return Ol.lex(e,r??this.defaults)}parser(e,r){return Pl.parse(e,r??this.defaults)}parseMarkdown(e){return(r,n)=>{let i={...n},a={...this.defaults,...i},s=this.onError(!!a.silent,!!a.async);if(this.defaults.async===!0&&i.async===!1)return s(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof r>"u"||r===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(a.hooks&&(a.hooks.options=a,a.hooks.block=e),a.async)return(async()=>{let l=a.hooks?await a.hooks.preprocess(r):r,u=await(a.hooks?await a.hooks.provideLexer():e?Ol.lex:Ol.lexInline)(l,a),h=a.hooks?await a.hooks.processAllTokens(u):u;a.walkTokens&&await Promise.all(this.walkTokens(h,a.walkTokens));let f=await(a.hooks?await a.hooks.provideParser():e?Pl.parse:Pl.parseInline)(h,a);return a.hooks?await a.hooks.postprocess(f):f})().catch(s);try{a.hooks&&(r=a.hooks.preprocess(r));let l=(a.hooks?a.hooks.provideLexer():e?Ol.lex:Ol.lexInline)(r,a);a.hooks&&(l=a.hooks.processAllTokens(l)),a.walkTokens&&this.walkTokens(l,a.walkTokens);let u=(a.hooks?a.hooks.provideParser():e?Pl.parse:Pl.parseInline)(l,a);return a.hooks&&(u=a.hooks.postprocess(u)),u}catch(l){return s(l)}}}onError(e,r){return n=>{if(n.message+=`
469Please report this to https://github.com/markedjs/marked.`,e){let i="<p>An error occurred:</p><pre>"+Sc(n.message+"",!0)+"</pre>";return r?Promise.resolve(i):i}if(r)return Promise.reject(n);throw n}}},Xf=new Ost;function Hn(t,e){return Xf.parse(t,e)}Hn.options=Hn.setOptions=function(t){return Xf.setOptions(t),Hn.defaults=Xf.defaults,aN(Hn.defaults),Hn};Hn.getDefaults=bC;Hn.defaults=od;Hn.use=function(...t){return Xf.use(...t),Hn.defaults=Xf.defaults,aN(Hn.defaults),Hn};Hn.walkTokens=function(t,e){return Xf.walkTokens(t,e)};Hn.parseInline=Xf.parseInline;Hn.Parser=Pl;Hn.parser=Pl.parse;Hn.Renderer=yy;Hn.TextRenderer=AC;Hn.Lexer=Ol;Hn.lexer=Ol.lex;Hn.Tokenizer=my;Hn.Hooks=s0;Hn.parse=Hn;Hn.options;Hn.setOptions;Hn.use;Hn.walkTokens;Hn.parseInline;Pl.parse;Ol.lex;function mN(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=Array.from(typeof t=="string"?[t]:t);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var i=n.reduce(function(l,u){var h=u.match(/\n([\t ]+|(?!\s).)/g);return h?l.concat(h.map(function(f){var p,y;return(y=(p=f.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&y!==void 0?y:0})):l},[]);if(i.length){var a=new RegExp(`
470[	 ]{`+Math.min.apply(Math,i)+"}","g");n=n.map(function(l){return l.replace(a,`
471`)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return e.forEach(function(l,u){var h=s.match(/(?:^|\n)( *)$/),f=h?h[1]:"",p=l;typeof l=="string"&&l.includes(`
472`)&&(p=String(l).split(`
473`).map(function(y,g){return g===0?y:""+f+y}).join(`
474`)),s+=p+n[u+1]}),s}var Pst={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80},MS=new Map,yN=new Map,$st=$(t=>{for(const e of t){if(!e.name)throw new Error('Invalid icon loader. Must have a "name" property with non-empty string value.');
vendor: 6,106 bytes, lines 474-479
474if(xe.debug("Registering icon pack:",e.name),"loader"in e)yN.set(e.name,e.loader);else if("icons"in e)MS.set(e.name,e.icons);else throw xe.error("Invalid icon loader:",e),new Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),bN=$(async(t,e)=>{const r=jot(t,!0,e!==void 0);if(!r)throw new Error(`Invalid icon name: ${t}`);const n=r.prefix||e;if(!n)throw new Error(`Icon name must contain a prefix: ${t}`);let i=MS.get(n);if(!i){const s=yN.get(n);if(!s)throw new Error(`Icon set not found: ${r.prefix}`);try{i={...await s(),prefix:n},MS.set(n,i)}catch(l){throw xe.error(l),new Error(`Failed to load icon set: ${r.prefix}`)}}const a=zot(i,r.name);if(!a)throw new Error(`Icon not found: ${t}`);return a},"getRegisteredIconData"),jst=$(async t=>{try{return await bN(t),!0}catch{return!1}},"isIconAvailable"),gm=$(async(t,e,r)=>{let n;try{n=await bN(t,e?.fallbackPrefix)}catch(s){xe.error(s),n=Pst}const i=Vot(n,e),a=Zot(Kot(i.body),{...i.attributes,...r});return sl(a,lo())},"getIconSVG");function vN(t,{markdownAutoWrap:e}){const n=t.replace(/<br\/>/g,`
475`).replace(/\n{2,}/g,`
476`),i=mN(n);return e===!1?i.replace(/ /g,"&nbsp;"):i}$(vN,"preprocessMarkdown");function xN(t,e={}){const r=vN(t,e),n=Hn.lexer(r),i=[[]];let a=0;function s(l,u="normal"){l.type==="text"?l.text.split(`
477`).forEach((f,p)=>{p!==0&&(a++,i.push([])),f.split(" ").forEach(y=>{y=y.replace(/&#39;/g,"'"),y&&i[a].push({content:y,type:u})})}):l.type==="strong"||l.type==="em"?l.tokens.forEach(h=>{s(h,l.type)}):l.type==="html"&&i[a].push({content:l.text,type:"normal"})}return $(s,"processNode"),n.forEach(l=>{l.type==="paragraph"?l.tokens?.forEach(u=>{s(u)}):l.type==="html"?i[a].push({content:l.text,type:"normal"}):i[a].push({content:l.raw,type:"normal"})}),i}$(xN,"markdownToLines");function SN(t,{markdownAutoWrap:e}={}){const r=Hn.lexer(t);function n(i){return i.type==="text"?e===!1?i.text.replace(/\n */g,"<br/>").replace(/ /g,"&nbsp;"):i.text.replace(/\n */g,"<br/>"):i.type==="strong"?`<strong>${i.tokens?.map(n).join("")}</strong>`:i.type==="em"?`<em>${i.tokens?.map(n).join("")}</em>`:i.type==="paragraph"?`<p>${i.tokens?.map(n).join("")}</p>`:i.type==="space"?"":i.type==="html"?`${i.text}`:i.type==="escape"?i.text:(xe.warn(`Unsupported markdown: ${i.type}`),i.raw)}return $(n,"output"),r.map(n).join("")}$(SN,"markdownToHTML");function wN(t){return Intl.Segmenter?[...new Intl.Segmenter().segment(t)].map(e=>e.segment):[...t]}$(wN,"splitTextToChars");function CN(t,e){const r=wN(e.content);return TC(t,[],r,e.type)}$(CN,"splitWordToFitWidth");function TC(t,e,r,n){if(r.length===0)return[{content:e.join(""),type:n},{content:"",type:n}];const[i,...a]=r,s=[...e,i];return t([{content:s.join(""),type:n}])?TC(t,s,a,n):(e.length===0&&i&&(e.push(i),r.shift()),[{content:e.join(""),type:n},{content:r.join(""),type:n}])}$(TC,"splitWordToFitWidthRecursion");function kN(t,e){if(t.some(({content:r})=>r.includes(`
478`)))throw new Error("splitLineToFitWidth does not support newlines in the line");return by(t,e)}$(kN,"splitLineToFitWidth");function by(t,e,r=[],n=[]){if(t.length===0)return n.length>0&&r.push(n),r.length>0?r:[];let i="";t[0].content===" "&&(i=" ",t.shift());const a=t.shift()??{content:" ",type:"normal"},s=[...n];if(i!==""&&s.push({content:i,type:"normal"}),s.push(a),e(s))return by(t,e,r,s);if(n.length>0)r.push(n),t.unshift(a);else if(a.content){const[l,u]=CN(e,a);r.push([l]),u.content&&t.unshift(u)}return by(t,e,r)}$(by,"splitLineToFitWidthRecursion");function RS(t,e){e&&t.attr("style",e)}$(RS,"applyStyle");async function _N(t,e,r,n,i=!1,a=lo()){const s=t.append("foreignObject");s.attr("width",`${10*r}px`),s.attr("height",`${10*r}px`);const l=s.append("xhtml:div"),u=Np(e.label)?await $w(e.label.replace(qp.lineBreakRegex,`
479`),a):sl(e.label,a),h=e.isNode?"nodeLabel":"edgeLabel",f=l.append("span");f.html(u),RS(f,e.labelStyle),f.attr("class",`${h} ${n}`),RS(l,e.labelStyle),l.style("display","table-cell"),l.style("white-space","nowrap"),l.style("line-height","1.5"),l.style("max-width",r+"px"),l.style("text-align","center"),l.attr("xmlns","http://www.w3.org/1999/xhtml"),i&&l.attr("class","labelBkg");let p=l.node().getBoundingClientRect();return p.width===r&&(l.style("display","table"),l.style("white-space","break-spaces"),l.style("width",r+"px"),p=l.node().getBoundingClientRect()),s.node()}$(_N,"addHtmlSpan");function bb(t,e,r){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*r-.1+"em").attr("dy",r+"em")}$(bb,"createTspan");function AN(t,e,r){const n=t.append("text"),i=bb(n,1,e);vb(i,r);const a=i.node().getComputedTextLength();return n.remove(),a}$(AN,"computeWidthOfText");function Dst(t,e,r){const n=t.append("text"),i=bb(n,1,e);vb(i,[{content:r,type:"normal"}]);const a=i.node()?.getBoundingClientRect();return a&&n.remove(),a}$(Dst,"computeDimensionOfText");function TN(t,e,r,n=!1){const a=e.append("g"),s=a.insert("rect").attr("class","background").attr("style","stroke: none"),l=a.append("text").attr("y","-10.1");let u=0;for(const h of r){const f=$(y=>AN(a,1.1,y)<=t,"checkWidth"),p=f(h)?[h]:kN(h,f);for(const y of p){const g=bb(l,u,1.1);vb(g,y),u++}}if(n){const h=l.node().getBBox(),f=2;return s.attr("x",h.x-f).attr("y",h.y-f).attr("width",h.width+2*f).attr("height",h.height+2*f),a.node()}else return l.node()}$(TN,"createFormattedText");function vb(t,e){t.text(""),e.forEach((r,n)=>{const i=t.append("tspan").attr("font-style",r.type==="em"?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight",r.type==="strong"?"bold":"normal");n===0?i.text(r.content):i.text(" "+r.content)})}$(vb,"updateTextContentAndStyles");async function LN(t,e={}){const r=[];t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(i,a,s)=>(r.push((async()=>{const l=`${a}:${s}`;return await jst(l)?await gm(l,void 0,{class:"label-icon"}):`<i class='${sl(i,e).replace(":"," ")}'></i>`})()),i));const n=await Promise.all(r);return t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>n.shift()??"")}$(LN,"replaceIconSubstring");var Uh=$(async(t,e="",{style:r="",isTitle:n=!1,classes:i="",useHtmlLabels:a=!0,isNode:s=!0,width:l=200,addSvgBackgroun
vendor: 4,100 bytes, line 479
479d:u=!1}={},h)=>{if(xe.debug("XYZ createText",e,r,n,i,a,s,"addSvgBackground: ",u),a){const f=SN(e,h),p=await LN(ad(f),h),y=e.replace(/\\\\/g,"\\"),g={isNode:s,label:Np(e)?y:p,labelStyle:r.replace("fill:","color:")};return await _N(t,g,l,i,u,h)}else{const f=e.replace(/<br\s*\/?>/g,"<br/>"),p=xN(f.replace("<br>","<br/>"),h),y=TN(l,t,p,e?u:!1);if(s){/stroke:/.exec(r)&&(r=r.replace("stroke:","lineColor:"));const g=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");Tn(y).attr("style",g)}else{const g=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");Tn(y).select("rect").attr("style",g.replace(/background:/g,"fill:"));const b=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");Tn(y).select("text").attr("style",b)}return y}},"createText");function Kx(t,e,r){if(t&&t.length){const[n,i]=e,a=Math.PI/180*r,s=Math.cos(a),l=Math.sin(a);for(const u of t){const[h,f]=u;u[0]=(h-n)*s-(f-i)*l+n,u[1]=(h-n)*l+(f-i)*s+i}}}function Ist(t,e){return t[0]===e[0]&&t[1]===e[1]}function zst(t,e,r,n=1){const i=r,a=Math.max(e,.1),s=t[0]&&t[0][0]&&typeof t[0][0]=="number"?[t]:t,l=[0,0];if(i)for(const h of s)Kx(h,l,i);const u=(function(h,f,p){const y=[];for(const T of h){const E=[...T];Ist(E[0],E[E.length-1])||E.push([E[0][0],E[0][1]]),E.length>2&&y.push(E)}const g=[];f=Math.max(f,.1);const b=[];for(const T of y)for(let E=0;E<T.length-1;E++){const L=T[E],O=T[E+1];if(L[1]!==O[1]){const W=Math.min(L[1],O[1]);b.push({ymin:W,ymax:Math.max(L[1],O[1]),x:W===L[1]?L[0]:O[0],islope:(O[0]-L[0])/(O[1]-L[1])})}}if(b.sort(((T,E)=>T.ymin<E.ymin?-1:T.ymin>E.ymin?1:T.x<E.x?-1:T.x>E.x?1:T.ymax===E.ymax?0:(T.ymax-E.ymax)/Math.abs(T.ymax-E.ymax))),!b.length)return g;let v=[],C=b[0].ymin,k=0;for(;v.length||b.length;){if(b.length){let T=-1;for(let E=0;E<b.length&&!(b[E].ymin>C);E++)T=E;b.splice(0,T+1).forEach((E=>{v.push({s:C,edge:E})}))}if(v=v.filter((T=>!(T.edge.ymax<=C))),v.sort(((T,E)=>T.edge.x===E.edge.x?0:(T.edge.x-E.edge.x)/Math.abs(T.edge.x-E.edge.x))),(p!==1||k%f==0)&&v.length>1)for(let T=0;T<v.length;T+=2){const E=T+1;if(E>=v.length)break;const L=v[T].edge,O=v[E].edge;g.push([[Math.round(L.x),C],[Math.round(O.x),C]])}C+=p,v.forEach((T=>{T.edge.x=T.edge.x+p*T.edge.islope})),k++}return g})(s,a,n);if(i){for(const h of s)Kx(h,l,-i);(function(h,f,p){const y=[];h.forEach((g=>y.push(...g))),Kx(y,f,p)})(u,l,-i)}return u}function mm(t,e){var r;const n=e.hachureAngle+90;let i=e.hachureGap;i<0&&(i=4*e.strokeWidth),i=Math.round(Math.max(i,.1));let a=1;return e.roughness>=1&&(((r=e.randomizer)===null||r===void 0?void 0:r.next())||Math.random())>.7&&(a=i),zst(t,i,n,a||1)}class LC{constructor(e){this.helper=e}fillPolygons(e,r){return this._fillPolygons(e,r)}_fillPolygons(e,r){const n=mm(e,r);return{type:"fillSketch",ops:this.renderLines(n,r)}}renderLines(e,r){const n=[];for(const i of e)n.push(...this.helper.doubleLineOps(i[0][0],i[0][1],i[1][0],i[1][1],r));return n}}function xb(t){const e=t[0],r=t[1];return Math.sqrt(Math.pow(e[0]-r[0],2)+Math.pow(e[1]-r[1],2))}class Fst extends LC{fillPolygons(e,r){let n=r.hachureGap;n<0&&(n=4*r.strokeWidth),n=Math.max(n,.1);const i=mm(e,Object.assign({},r,{hachureGap:n})),a=Math.PI/180*r.hachureAngle,s=[],l=.5*n*Math.cos(a),u=.5*n*Math.sin(a);for(const[h,f]of i)xb([h,f])&&s.push([[h[0]-l,h[1]+u],[...f]],[[h[0]+l,h[1]-u],[...f]]);return{type:"fillSketch",ops:this.renderLines(s,r)}}}class qst extends LC{fillPolygons(e,r){const n=this._fillPolygons(e,r),i=Object.assign({},r,{hachureAngle:r.hachureAngle+90}),a=this._fillPolygons(e,i);return n.ops=n.ops.concat(a.ops),n}}class Hst{constructor(e){this.helper=e}fillPolygons(e,r){const n=mm(e,r=Object.assign({},r,{hachureAngle:0}));return this.dotsOnLines(n,r)}dotsOnLines(e,r){const n=[];let i=r.hachureGap;i<0&&(i=4*r.strokeWidth),i=Math.max(i,.1);let a=r.fillWeight;a<0&&(a=r.strokeWidth/2);const s=i/4;for(const l of e){const u=xb(l),h=u/i,f=Math.ceil(h)-1,p=u-f*i,y=(l[0][0]+l[1][0])/2-i/4,g
vendor: 17,500 bytes, line 479
479=Math.min(l[0][1],l[1][1]);for(let b=0;b<f;b++){const v=g+p+b*i,C=y-s+2*Math.random()*s,k=v-s+2*Math.random()*s,T=this.helper.ellipse(C,k,a,a,r);n.push(...T.ops)}}return{type:"fillSketch",ops:n}}}class Ust{constructor(e){this.helper=e}fillPolygons(e,r){const n=mm(e,r);return{type:"fillSketch",ops:this.dashedLine(n,r)}}dashedLine(e,r){const n=r.dashOffset<0?r.hachureGap<0?4*r.strokeWidth:r.hachureGap:r.dashOffset,i=r.dashGap<0?r.hachureGap<0?4*r.strokeWidth:r.hachureGap:r.dashGap,a=[];return e.forEach((s=>{const l=xb(s),u=Math.floor(l/(n+i)),h=(l+i-u*(n+i))/2;let f=s[0],p=s[1];f[0]>p[0]&&(f=s[1],p=s[0]);const y=Math.atan((p[1]-f[1])/(p[0]-f[0]));for(let g=0;g<u;g++){const b=g*(n+i),v=b+n,C=[f[0]+b*Math.cos(y)+h*Math.cos(y),f[1]+b*Math.sin(y)+h*Math.sin(y)],k=[f[0]+v*Math.cos(y)+h*Math.cos(y),f[1]+v*Math.sin(y)+h*Math.sin(y)];a.push(...this.helper.doubleLineOps(C[0],C[1],k[0],k[1],r))}})),a}}class Wst{constructor(e){this.helper=e}fillPolygons(e,r){const n=r.hachureGap<0?4*r.strokeWidth:r.hachureGap,i=r.zigzagOffset<0?n:r.zigzagOffset,a=mm(e,r=Object.assign({},r,{hachureGap:n+i}));return{type:"fillSketch",ops:this.zigzagLines(a,i,r)}}zigzagLines(e,r,n){const i=[];return e.forEach((a=>{const s=xb(a),l=Math.round(s/(2*r));let u=a[0],h=a[1];u[0]>h[0]&&(u=a[1],h=a[0]);const f=Math.atan((h[1]-u[1])/(h[0]-u[0]));for(let p=0;p<l;p++){const y=2*p*r,g=2*(p+1)*r,b=Math.sqrt(2*Math.pow(r,2)),v=[u[0]+y*Math.cos(f),u[1]+y*Math.sin(f)],C=[u[0]+g*Math.cos(f),u[1]+g*Math.sin(f)],k=[v[0]+b*Math.cos(f+Math.PI/4),v[1]+b*Math.sin(f+Math.PI/4)];i.push(...this.helper.doubleLineOps(v[0],v[1],k[0],k[1],n),...this.helper.doubleLineOps(k[0],k[1],C[0],C[1],n))}})),i}}const Go={};class Gst{constructor(e){this.seed=e}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}}const Vst=0,Zx=1,MT=2,W1={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function Qx(t,e){return t.type===e}function EC(t){const e=[],r=(function(s){const l=new Array;for(;s!=="";)if(s.match(/^([ \t\r\n,]+)/))s=s.substr(RegExp.$1.length);else if(s.match(/^([aAcChHlLmMqQsStTvVzZ])/))l[l.length]={type:Vst,text:RegExp.$1},s=s.substr(RegExp.$1.length);else{if(!s.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];l[l.length]={type:Zx,text:`${parseFloat(RegExp.$1)}`},s=s.substr(RegExp.$1.length)}return l[l.length]={type:MT,text:""},l})(t);let n="BOD",i=0,a=r[i];for(;!Qx(a,MT);){let s=0;const l=[];if(n==="BOD"){if(a.text!=="M"&&a.text!=="m")return EC("M0,0"+t);i++,s=W1[a.text],n=a.text}else Qx(a,Zx)?s=W1[n]:(i++,s=W1[a.text],n=a.text);if(!(i+s<r.length))throw new Error("Path data ended short");for(let u=i;u<i+s;u++){const h=r[u];if(!Qx(h,Zx))throw new Error("Param not a number: "+n+","+h.text);l[l.length]=+h.text}if(typeof W1[n]!="number")throw new Error("Bad segment: "+n);{const u={key:n,data:l};e.push(u),i+=s,a=r[i],n==="M"&&(n="L"),n==="m"&&(n="l")}}return e}function EN(t){let e=0,r=0,n=0,i=0;const a=[];for(const{key:s,data:l}of t)switch(s){case"M":a.push({key:"M",data:[...l]}),[e,r]=l,[n,i]=l;break;case"m":e+=l[0],r+=l[1],a.push({key:"M",data:[e,r]}),n=e,i=r;break;case"L":a.push({key:"L",data:[...l]}),[e,r]=l;break;case"l":e+=l[0],r+=l[1],a.push({key:"L",data:[e,r]});break;case"C":a.push({key:"C",data:[...l]}),e=l[4],r=l[5];break;case"c":{const u=l.map(((h,f)=>f%2?h+r:h+e));a.push({key:"C",data:u}),e=u[4],r=u[5];break}case"Q":a.push({key:"Q",data:[...l]}),e=l[2],r=l[3];break;case"q":{const u=l.map(((h,f)=>f%2?h+r:h+e));a.push({key:"Q",data:u}),e=u[2],r=u[3];break}case"A":a.push({key:"A",data:[...l]}),e=l[5],r=l[6];break;case"a":e+=l[5],r+=l[6],a.push({key:"A",data:[l[0],l[1],l[2],l[3],l[4],e,r]});break;case"H":a.push({key:"H",data:[...l]}),e=l[0];break;case"h":e+=l[0],a.push({key:"H",data:[e]});break;case"V":a.push({key:"V",data:[...l]}),r=l[0];break;case"v":r+=l[0],a.push({key:"V",data:[r]});break;case"S":a.push({key:"S",data:[...l]}),e=l[2],r=l[3];break;case"s":{const u=l.map(((h,f)=>f%2?h+r:h+e));a.push({key:"S",data:u}),e=u[2],r=u[3];break}case"T":a.push({key:"T",data:[...l]}),e=l[0],r=l[1];break;case"t":e+=l[0],r+=l[1],a.push({key:"T",data:[e,r]});break;case"Z":case"z":a.push({key:"Z",data:[]}),e=n,r=i}return a}function MN(t){const e=[];let r="",n=0,i=0,a=0,s=0,l=0,u=0;for(const{key:h,data:f}of t){switch(h){case"M":e.push({key:"M",data:[...f]}),[n,i]=f,[a,s]=f;break;case"C":e.push({key:"C",data:[...f]}),n=f[4],i=f[5],l=f[2],u=f[3];break;case"L":e.push({key:"L",data:[...f]}),[n,i]=f;break;case"H":n=f[0],e.push({key:"L",data:[n,i]});break;case"V":i=f[0],e.push({key:"L",data:[n,i]});break;case"S":{let p=0,y=0;r==="C"||r==="S"?(p=n+(n-l),y=i+(i-u)):(p=n,y=i),e.push({key:"C",data:[p,y,...f]}),l=f[0],u=f[1],n=f[2],i=f[3];break}case"T":{const[p,y]=f;let g=0,b=0;r==="Q"||r==="T"?(g=n+(n-l),b=i+(i-u)):(g=n,b=i);const v=n+2*(g-n)/3,C=i+2*(b-i)/3,k=p+2*(g-p)/3,T=y+2*(b-y)/3;e.push({key:"C",data:[v,C,k,T,p,y]}),l=g,u=b,n=p,i=y;break}case"Q":{const[p,y,g,b]=f,v=n+2*(p-n)/3,C=i+2*(y-i)/3,k=g+2*(p-g)/3,T=b+2*(y-b)/3;e.push({key:"C",data:[v,C,k,T,g,b]}),l=p,u=y,n=g,i=b;break}case"A":{const p=Math.abs(f[0]),y=Math.abs(f[1]),g=f[2],b=f[3],v=f[4],C=f[5],k=f[6];p===0||y===0?(e.push({key:"C",data:[n,i,C,k,C,k]}),n=C,i=k):(n!==C||i!==k)&&(RN(n,i,C,k,p,y,g,b,v).forEach((function(T){e.push({key:"C",data:T})})),n=C,i=k);break}case"Z":e.push({key:"Z",data:[]}),n=a,i=s}r=h}return e}function Kg(t,e,r){return[t*Math.cos(r)-e*Math.sin(r),t*Math.sin(r)+e*Math.cos(r)]}function RN(t,e,r,n,i,a,s,l,u,h){const f=(p=s,Math.PI*p/180);var p;let y=[],g=0,b=0,v=0,C=0;if(h)[g,b,v,C]=h;else{[t,e]=Kg(t,e,-f),[r,n]=Kg(r,n,-f);const V=(t-r)/2,z=(e-n)/2;let Y=V*V/(i*i)+z*z/(a*a);Y>1&&(Y=Math.sqrt(Y),i*=Y,a*=Y);const D=i*i,Z=a*a,Q=D*Z-D*z*z-Z*V*V,it=D*z*z+Z*V*V,mt=(l===u?-1:1)*Math.sqrt(Math.abs(Q/it));v=mt*i*z/a+(t+r)/2,C=mt*-a*V/i+(e+n)/2,g=Math.asin(parseFloat(((e-C)/a).toFixed(9))),b=Math.asin(parseFloat(((n-C)/a).toFixed(9))),t<v&&(g=Math.PI-g),r<v&&(b=Math.PI-b),g<0&&(g=2*Math.PI+g),b<0&&(b=2*Math.PI+b),u&&g>b&&(g-=2*Math.PI),!u&&b>g&&(b-=2*Math.PI)}let k=b-g;if(Math.abs(k)>120*Math.PI/180){const V=b,z=r,Y=n;b=u&&b>g?g+120*Math.PI/180*1:g+120*Math.PI/180*-1,y=RN(r=v+i*Math.cos(b),n=C+a*Math.sin(b),z,Y,i,a,s,0,u,[b,V,v,C])}k=b-g;const T=Math.cos(g),E=Math.sin(g),L=Math.cos(b),O=Math.sin(b),W=Math.tan(k/4),q=4/3*i*W,U=4/3*a*W,j=[t,e],M=[t+q*E,e-U*T],N=[r+q*O,n-U*L],I=[r,n];if(M[0]=2*j[0]-M[0],M[1]=2*j[1]-M[1],h)return[M,N,I].concat(y);{y=[M,N,I].concat(y);const V=[];for(let z=0;z<y.length;z+=3){const Y=Kg(y[z][0],y[z][1],f),D=Kg(y[z+1][0],y[z+1][1],f),Z=Kg(y[z+2][0],y[z+2][1],f);V.push([Y[0],Y[1],D[0],D[1],Z[0],Z[1]])}return V}}const Yst={randOffset:function(t,e){return Ir(t,e)},randOffsetWithRange:function(t,e,r){return vy(t,e,r)},ellipse:function(t,e,r,n,i){const a=BN(r,n,i);return NS(t,e,i,a).opset},doubleLineOps:function(t,e,r,n,i){return Dh(t,e,r,n,i,!0)}};function NN(t,e,r,n,i){return{type:"path",ops:Dh(t,e,r,n,i)}}function v2(t,e,r){const n=(t||[]).length;if(n>2){const i=[];for(let a=0;a<n-1;a++)i.push(...Dh(t[a][0],t[a][1],t[a+1][0],t[a+1][1],r));return e&&i.push(...Dh(t[n-1][0],t[n-1][1],t[0][0],t[0][1],r)),{type:"path",ops:i}}return n===2?NN(t[0][0],t[0][1],t[1][0],t[1][1],r):{type:"path",ops:[]}}function Xst(t,e,r,n,i){return(function(a,s){return v2(a,!0,s)})([[t,e],[t+r,e],[t+r,e+n],[t,e+n]],i)}function RT(t,e){if(t.length){const r=typeof t[0][0]=="number"?[t]:t,n=G1(r[0],1*(1+.2*e.roughness),e),i=e.disableMultiStroke?[]:G1(r[0],1.5*(1+.22*e.roughness),OT(e));for(let a=1;a<r.length;a++){const s=r[a];if(s.length){const l=G1(s,1*(1+.2*e.roughness),e),u=e.disableMultiStroke?[]:G1(s,1.5*(1+.22*e.roughness),OT(e));for(const h of l)h.op!=="move"&&n.push(h);for(const h of u)h.op!=="move"&&i.push(h)}}return{type:"path",ops:n.concat(i)}}return{type:"path",ops:[]}}function BN(t,e,r){const n=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(t/2,2)+Math.pow(e/2,2))/2)),i=Math.ceil(Math.max(r.curveStepCount,r.curveStepCount/Math.sqrt(200)*n)),a=2*Math.PI/i;let s=Math.abs(t/2),l=Math.abs(e/2);const u=1-r.curveFitting;return s+=Ir(s*u,r),l+=Ir(l*u,r),{increment:a,rx:s,ry:l}}function NS(t,e,r,n){const[i,a]=PT(n.increment,t,e,n.rx,n.ry,1,n.increment*vy(.1,vy(.4,1,r),r),r);let s=xy(i,null,r);if(!r.disableMultiStroke&&r.roughness!==0){const[l]=PT(n.increment,t,e,n.rx,n.ry,1.5,0,r),u=xy(l,null,r);s=s.concat(u)}return{estimatedPoints:a,opset:{type:"path",ops:s}}}function NT(t,e,r,n,i,a,s,l,u){const h=t,f=e;let p=Math.abs(r/2),y=Math.abs(n/2);p+=Ir(.01*p,u),y+=Ir(.01*y,u);let g=i,b=a;for(;g<0;)g+=2*Math.PI,b+=2*Math.PI;b-g>2*Math.PI&&(g=0,b=2*Math.PI);const v=2*Math.PI/u.curveStepCount,C=Math.min(v/2,(b-g)/2),k=$T(C,h,f,p,y,g,b,1,u);if(!u.disableMultiStroke){const T=$T(C,h,f,p,y,g,b,1.5,u);k.push(...T)}return s&&(l?k.push(...Dh(h,f,h+p*Math.cos(g),f+y*Math.sin(g),u),...Dh(h,f,h+p*Math.cos(b),f+y*Math.sin(b),u)):k.push({op:"lineTo",data:[h,f]},{op:"lineTo",data:[h+p*Math.cos(g),f+y*Math.sin(g)]})),{type:"path",ops:k}}function BT(t,e){const r=MN(EN(EC(t))),n=[];let i=[0,0],a=[0,0];for(const{key:s,data:l}of r)switch(s){case"M":a=[l[0],l[1]],i=[l[0],l[1]];break;case"L":n.push(...Dh(a[0],a[1],l[0],l[1],e)),a=[l[0],l[1]];break;case"C":{const[u,h,f,p,y,g]=l;n.push(...Kst(u,h,f,p,y,g,a,e)),a=[y,g];break}case"Z":n.push(...Dh(a[0],a[1],i[0],i[1],e)),a=[i[0],i[1]]}return{type:"path",ops:n}}function Jx(t,e){const r=[];for(const n of t)if(n.length){const i=e.maxRandomnessOffset||0,a=n.length;if(a>2){r.push({op:"move",data:[n[0][0]+Ir(i,e),n[0][1]+Ir(i,e)]});for(let s=1;s<a;s++)r.push({op:"lineTo",data:[n[s][0]+Ir(i,e),n[s][1]+Ir(i,e)]})}}return{type:"fillPath",ops:r}}function Qd(t,e){return(function(r,n){let i=r.fillStyle||"hachure";if(!Go[i])switch(i){case"zigzag":Go[i]||(Go[i]=new Fst(n));break;case"cross-hatch":Go[i]||(Go[i]=new qst(n));break;case"dots":Go[i]||(Go[i]=new Hst(n));break;case"dashed":Go[i]||(Go[i]=new Ust(n));break;case"zigzag-line":Go[i]||(Go[i]=new Wst(n));break;default:i="hachure",Go[i]||(Go[i]=new LC(n))}return Go[i]})(e,Yst).fillPolygons(t,e)}function OT(t){const e=Object.assign({},t);return e.randomizer=void 0,t.seed&&(e.seed=t.seed+1),e}function ON(t){return t.randomizer||(t.randomizer=new Gst(t.seed||0)),t.randomizer.next()}function vy(t,e,r,n=1){return r.roughness*n*(ON(r)*(e-t)+t)}function Ir(t,e,r=1){return vy(-t,t,e,r)}function Dh(t,e,r,n,i,a=!1){const s=a?i.disableMultiStrokeFill:i.disableMultiStroke,l=BS(t,e,r,n,i,!0,!1);if(s)return l;const u=BS(t,e,r,n,i,!0,!0);return l.concat(u)}function BS(t,e,r,n,i,a,s){const l=Math.pow(t-r,2)+Math.pow(e-n,2),u=Math.sqrt(l);let h=1;h=u<200?1:u>500?.4:-.0016668*u+1.233334;let f=i.maxRandomnessOffset||0;f*f*100>l&&(f=u/10);const p=f/2,y=.2+.2*ON(i);let g=i.bowing*i.maxRandomnessOffset*(n-e)/200,b=i.bowing*i.maxRandomnessOffset*(t-r)/200;g=Ir(g,i,h),b=Ir(b,i,h);const v=[],C=()=>Ir(p,i,h),k=()=>Ir(f,i,h),T=i.preserveVertices;return s?v.push({op:"move",data:[t+(T?0:C()),e+(T?0:C())]}):v.push({op:"move",data:[t+(T?0:Ir(f,i,h)),e+(T?0:Ir(f,i,h))]}),s?v.push({op:"bcurveTo",data:[g+t+(r-t)*y+C(),b+e+(n-e)*y+C(),g+t+2*(r-t)*y+C(),b+e+2*(n-e)*y+C(),r+(T?0:C()),n+(T?0:C())]}):v.push({op:"bcurveTo",data:[g+t+(r-t)*y+k(),b+e+(n-e)*y+k(),g+t+2*(r-t)*y+k(),b+e+2*(n-e)*y+k(),r+(T?0:k()),n+(T?0:k())]}),v}function G1(t,e,r){if(!t.length)return[];const n=[];n.push([t[0][0]+Ir(e,r),t[0][1]+Ir(e,r)]),n.push([t[0][0]+Ir(e,r),t[0][1]+Ir(e,r)]);for(let i=1;i<t.length;i++)n.push([t[i][0]+Ir(e,r),t[i][1]+Ir(e,r)]),i===t.length-1&&n.push([t[i][0]+Ir(e,r),t[i][1]+Ir(e,r)]);return xy(n,null,r)}function xy(t,e,r){const n=t.length,i=[];if(n>3){const a=[],s=1-r.curveTightness;i.push({op:"move",data:[t[1][0],t[1][1]]});for(let l=1;l+2<n;l++){const u=t[l];a[0]=[u[0],u[1]],a[1]=[u[0]+(s*t[l+1][0]-s*t[l-1][0])/6,u[1]+(s*t[l+1][1]-s*t[l-1][1])/6],a[2]=[t[l+1][0]+(s*t[l][0]-s*t[l+2][0])/6,t[l+1][1]+(s*t[l][1]-s*t[l+2][1])/6],a[3]=[t[l+1][0],t[l+1][1]],i.push({op:"bcurveTo",data:[a[1][0],a[1][1],a[2][0],a[2][1],a[3][0],a[3][1]]})}}else n===3?(i.push({op:"move",data:[t[1][0],t[1][1]]}),i.push({op:"bcurveTo",data:[t[1][0],t[1][1],t[2][0],t[2][1],t[2][0],t[2][1]]})):n===2&&i.push(...BS(t[0][0],t[0][1],t[1][0],t[1][1],r,!0,!0));return i}function PT(t,e,r,n,i,a,s,l){const u=[],h=[];if(l.roughness===0){t/=4,h.push([e+n*Math.cos(-t),r+i*Math.sin(-t)]);for(let f=0;f<=2*Math.PI;f+=t){const p=[e+n*Math.cos(f),r+i*Math.sin(f)];u.push(p),h.push(p)}h.push([e+n*Math.cos(0),r+i*Math.sin(0)]),h.push([e+n*Math.cos(t),r+i*Math.sin(t)])}else{const f=Ir(.5,l)-Math.PI/2;h.push([Ir(a,l)+e+.9*n*Math.cos(f-t),Ir(a,l)+r+.9*i*Math.sin(f-t)]);const p=2*Math.PI+f-.01;for(let y=f;y<p;y+=t){const g=[Ir(a,l)+e+n*Math.cos(y),Ir(a,l)+r+i*Math.sin(y)];u.push(g),h.push(g)}h.push([Ir(a,l)+e+n*Math.cos(f+2*Math.PI+.5*s),Ir(a,l)+r+i*Math.sin(f+2*Math.PI+.5*s)]),h.push([Ir(a,l)+e+.98*n*Math.cos(f+s),Ir(a,l)+r+.98*i*Math.sin(f+s)]),h.push([Ir(a,l)+e+.9*n*Math.cos(f+.5*s),Ir(a,l)+r+.9*i*Math.sin(f+.5*s)])}return[h,u]}function $T(t,e,r,n,i,a,s,l,u){const h=a+Ir(.1,u),f=[];f.push([Ir(l,u)+e+.9*n*Math.cos(h-t),Ir(l,u)+r+.9*i*Math.sin(h-t)]);for(let p=h;p<=s;p+=t)f.push([Ir(l,u)+e+n*Math.cos(p),Ir(l,u)+r+i*Math.sin(p)]);return f.push([e+n*Math.cos(s),r+i*Math.sin(s)]),f.push([e+n*Math.cos(s),r+i*Math.sin(s)]),xy(f,null,u)}function Kst(t,e,r,n,i,a,s,l){const u=[],h=[l.maxRandomnessOffset||1,(l.maxRandomnessOffset||1)+.3];let f=[0,0];const p=l.disableMultiStroke?1:2,y=l.preserveVertices;for(let g=0;g<p;g++)g===0?u.push({op:"move",data:[s[0],s[1]]}):u.push({op:"move",data:[s[0]+(y?0:Ir(h[0],l)),s[1]+(y?0:Ir(h[0],l))]}),f=y?[i,a]:[i+Ir(h[g],l),a+Ir(h[g],l)],u.push({op:"bcurveTo",data:[t+Ir(h[g],l),e+Ir(h[g],l),r+Ir(h[g],l),n+Ir(h[g],l),f[0],f[1]]});return u}function Zg(t){return[...t]}function jT(t,e=0){const r=t.length;if(r<3)throw new Error("A curve must have at least three points.");const n=[];if(r===3)n.push(Zg(t[0]),Zg(t[1]),Zg(t[2]),Zg(t[2]));else{const i=[];i.push(t[0],t[0]);for(let l=1;l<t.length;l++)i.push(t[l]),l===t.length-1&&i.push(t[l]);const a=[],s=1-e;n.push(Zg(i[0]));for(let l=1;l+2<i.length;l++){const u=i[l];a[0]=[u[0],u[1]],a[1]=[u[0]+(s*i[l+1][0]-s*i[l-1][0])/6,u[1]+(s*i[l+1][1]-s*i[l-1][1])/6],a[2]=[i[l+1][0]+(s*i[l][0]-s*i[l+2][0])/6,i[l+1][1]+(s*i[l][1]-s*i[l+2][1])/6],a[3]=[i[l+1][0],i[l+1][1]],n.push(a[1],a[2],a[3])}}return n}function x2(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)}function Zst(t,e,r){const n=x2(e,r);if(n===0)return x2(t,e);let i=((t[0]-e[0])*(r[0]-e[0])+(t[1]-e[1])*(r[1]-e[1]))/n;return i=Math.max(0,Math.min(1,i)),x2(t,vf(e,r,i))}function vf(t,e,r){return[t[0]+(e[0]-t[0])*r,t[1]+(e[1]-t[1])*r]}function OS(t,e,r,n){const i=n||[];if((function(l,u){const h=l[u+0],f=l[u+1],p=l[u+2],y=l[u+3];let g=3*f[0]-2*h[0]-y[0];g*=g;let b=3*f[1]-2*h[1]-y[1];b*=b;let v=3*p[0]-2*y[0]-h[0];v*=v;let C=3*p[1]-2*y[1]-h[1];return C*=C,g<v&&(g=v),b<C&&(b=C),g+b})(t,e)<r){const l=t[e+0];i.length?(a=i[i.length-1],s=l,Math.sqrt(x2(a,s))>1&&i.push(l)):i.push(l),i.push(t[e+3])}else{const u=t[e+0],h=t[e+1],f=t[e+2],p=t[e+3],y=vf(u,h,.5),g=vf(h,f,.5),b=vf(f,p,.5),v=vf(y,g,.5),C=vf(g,b,.5),k=vf(v,C,.5);OS([u,y,v,k],0,r,i),OS([k,C,b,p],0,r,i)}var a,s;return i}function Qst(t,e){return Sy(t,0,t.length,e)}function Sy(t,e,r,n,i){const a=i||[],s=t[e],l=t[r-1];let u=0,h=1;for(let f=e+1;f<r-1;++f){const p=Zst(t[f],s,l);p>u&&(u=p,h=f)}return Math.sqrt(u)>n?(Sy(t,e,h+1,n,a),Sy(t,h,r,n,a)):(a.length||a.push(s),a.push(l)),a}function t5(t,e=.15,r){const n=[],i=(t.length-1)/3;for(let a=0;a<i;a++)OS(t,3*a,e,n);return r&&r>0?Sy(n,0,n.length,r):n}const Ss="none";class wy{constructor(e){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=e||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(Math.random()*2**31)}_o(e){return e?Object.assign({},this.defaultOptions,e):this.defaultOptions}_d(e,r,n){return{shape:e,sets:r||[],options:n||this.defaultOptions}}line(e,r,n,i,a){const s=this._o(a);return this._d("line",[NN(e,r,n,i,s)],s)}rectangle(e,r,n,i,a){const s=this._o(a),l=[],u=Xst(e,r,n,i,s);if(s.fill){const h=[[e,r],[e+n,r],[e+n,r+i],[e,r+i]];s.fillStyle==="solid"?l.push(Jx([h],s)):l.push(Qd([h],s))}return s.stroke!==Ss&&l.push(u),this._d("rectangle",l,s)}ellipse(e,r,n,i,a){const s=this._o(a),l=[],u=BN(n,i,s),h=NS(e,r,s,u);if(s.fill)if(s.fillStyle==="solid"){const f=NS(e,r,s,u).opset;f.type="fillPath",l.push(f)}else l.push(Qd([h.estimatedPoints],s));return s.stroke!==Ss&&l.push(h.opset),this._d("ellipse",l,s)}circle(e,r,n,i){const a=this.ellipse(e,r,n,n,i);return a.shape="circle",a}linearPath(e,r){const n=this._o(r);return this._d("linearPath",[v2(e,!1,n)],n)}arc(e,r,n,i,a,s,l=!1,u){const h=this._o(u),f=[],p=NT(e,r,n,i,a,s,l,!0,h);if(l&&h.fill)if(h.fillStyle==="solid"){const y=Object.assign({},h);y.disableMultiStroke=!0;const g=NT(e,r,n,i,a,s,!0,!1,y);g.type="fillPath",f.push(g)}else f.push((function(y,g,b,v,C,k,T){const E=y,L=g;let O=Math.abs(b/2),W=Math.abs(v/2);O+=Ir(.01*O,T),W+=Ir(.01*W,T);let q=C,U=k;for(;q<0;)q+=2*Math.PI,U+=2*Math.PI;U-q>2*Math.PI&&(q=0,U=2*Math.PI);const j=(U-q)/T.curveStepCount,M=[];for(let N=q;N<=U;N+=j)M.push([E+O*Math.cos(N),L+W*Math.sin(N)]);return M.push([E+O*Math.cos(U),L+W*Math.sin(U)]),M.push([E,L]),Qd([M],T)})(e,r,n,i,a,s,h));
vendor: 7,677 bytes, line 479
479return h.stroke!==Ss&&f.push(p),this._d("arc",f,h)}curve(e,r){const n=this._o(r),i=[],a=RT(e,n);if(n.fill&&n.fill!==Ss)if(n.fillStyle==="solid"){const s=RT(e,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(s.ops)})}else{const s=[],l=e;if(l.length){const u=typeof l[0][0]=="number"?[l]:l;for(const h of u)h.length<3?s.push(...h):h.length===3?s.push(...t5(jT([h[0],h[0],h[1],h[2]]),10,(1+n.roughness)/2)):s.push(...t5(jT(h),10,(1+n.roughness)/2))}s.length&&i.push(Qd([s],n))}return n.stroke!==Ss&&i.push(a),this._d("curve",i,n)}polygon(e,r){const n=this._o(r),i=[],a=v2(e,!0,n);return n.fill&&(n.fillStyle==="solid"?i.push(Jx([e],n)):i.push(Qd([e],n))),n.stroke!==Ss&&i.push(a),this._d("polygon",i,n)}path(e,r){const n=this._o(r),i=[];if(!e)return this._d("path",i,n);e=(e||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const a=n.fill&&n.fill!=="transparent"&&n.fill!==Ss,s=n.stroke!==Ss,l=!!(n.simplification&&n.simplification<1),u=(function(f,p,y){const g=MN(EN(EC(f))),b=[];let v=[],C=[0,0],k=[];const T=()=>{k.length>=4&&v.push(...t5(k,p)),k=[]},E=()=>{T(),v.length&&(b.push(v),v=[])};for(const{key:O,data:W}of g)switch(O){case"M":E(),C=[W[0],W[1]],v.push(C);break;case"L":T(),v.push([W[0],W[1]]);break;case"C":if(!k.length){const q=v.length?v[v.length-1]:C;k.push([q[0],q[1]])}k.push([W[0],W[1]]),k.push([W[2],W[3]]),k.push([W[4],W[5]]);break;case"Z":T(),v.push([C[0],C[1]])}if(E(),!y)return b;const L=[];for(const O of b){const W=Qst(O,y);W.length&&L.push(W)}return L})(e,1,l?4-4*(n.simplification||1):(1+n.roughness)/2),h=BT(e,n);if(a)if(n.fillStyle==="solid")if(u.length===1){const f=BT(e,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(f.ops)})}else i.push(Jx(u,n));else i.push(Qd(u,n));return s&&(l?u.forEach((f=>{i.push(v2(f,!1,n))})):i.push(h)),this._d("path",i,n)}opsToPath(e,r){let n="";for(const i of e.ops){const a=typeof r=="number"&&r>=0?i.data.map((s=>+s.toFixed(r))):i.data;switch(i.op){case"move":n+=`M${a[0]} ${a[1]} `;break;case"bcurveTo":n+=`C${a[0]} ${a[1]}, ${a[2]} ${a[3]}, ${a[4]} ${a[5]} `;break;case"lineTo":n+=`L${a[0]} ${a[1]} `}}return n.trim()}toPaths(e){const r=e.sets||[],n=e.options||this.defaultOptions,i=[];for(const a of r){let s=null;switch(a.type){case"path":s={d:this.opsToPath(a),stroke:n.stroke,strokeWidth:n.strokeWidth,fill:Ss};break;case"fillPath":s={d:this.opsToPath(a),stroke:Ss,strokeWidth:0,fill:n.fill||Ss};break;case"fillSketch":s=this.fillSketch(a,n)}s&&i.push(s)}return i}fillSketch(e,r){let n=r.fillWeight;return n<0&&(n=r.strokeWidth/2),{d:this.opsToPath(e),stroke:r.fill||Ss,strokeWidth:n,fill:Ss}}_mergedShape(e){return e.filter(((r,n)=>n===0||r.op!=="move"))}}class Jst{constructor(e,r){this.canvas=e,this.ctx=this.canvas.getContext("2d"),this.gen=new wy(r)}draw(e){const r=e.sets||[],n=e.options||this.getDefaultOptions(),i=this.ctx,a=e.options.fixedDecimalPlaceDigits;for(const s of r)switch(s.type){case"path":i.save(),i.strokeStyle=n.stroke==="none"?"transparent":n.stroke,i.lineWidth=n.strokeWidth,n.strokeLineDash&&i.setLineDash(n.strokeLineDash),n.strokeLineDashOffset&&(i.lineDashOffset=n.strokeLineDashOffset),this._drawToContext(i,s,a),i.restore();break;case"fillPath":{i.save(),i.fillStyle=n.fill||"";const l=e.shape==="curve"||e.shape==="polygon"||e.shape==="path"?"evenodd":"nonzero";this._drawToContext(i,s,a,l),i.restore();break}case"fillSketch":this.fillSketch(i,s,n)}}fillSketch(e,r,n){let i=n.fillWeight;i<0&&(i=n.strokeWidth/2),e.save(),n.fillLineDash&&e.setLineDash(n.fillLineDash),n.fillLineDashOffset&&(e.lineDashOffset=n.fillLineDashOffset),e.strokeStyle=n.fill||"",e.lineWidth=i,this._drawToContext(e,r,n.fixedDecimalPlaceDigits),e.restore()}_drawToContext(e,r,n,i="nonzero"){e.beginPath();for(const a of r.ops){const s=typeof n=="number"&&n>=0?a.data.map((l=>+l.toFixed(n))):a.data;switch(a.op){case"move":e.moveTo(s[0],s[1]);break;case"bcurveTo":e.bezierCurveTo(s[0],s[1],s[2],s[3],s[4],s[5]);break;case"lineTo":e.lineTo(s[0],s[1])}}r.type==="fillPath"?e.fill(i):e.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(e,r,n,i,a){const s=this.gen.line(e,r,n,i,a);return this.draw(s),s}rectangle(e,r,n,i,a){const s=this.gen.rectangle(e,r,n,i,a);return this.draw(s),s}ellipse(e,r,n,i,a){const s=this.gen.ellipse(e,r,n,i,a);return this.draw(s),s}circle(e,r,n,i){const a=this.gen.circle(e,r,n,i);return this.draw(a),a}linearPath(e,r){const n=this.gen.linearPath(e,r);return this.draw(n),n}polygon(e,r){const n=this.gen.polygon(e,r);return this.draw(n),n}arc(e,r,n,i,a,s,l=!1,u){const h=this.gen.arc(e,r,n,i,a,s,l,u);return this.draw(h),h}curve(e,r){const n=this.gen.curve(e,r);return this.draw(n),n}path(e,r){const n=this.gen.path(e,r);return this.draw(n),n}}const V1="http://www.w3.org/2000/svg";class tlt{constructor(e,r){this.svg=e,this.gen=new wy(r)}draw(e){const r=e.sets||[],n=e.options||this.getDefaultOptions(),i=this.svg.ownerDocument||window.document,a=i.createElementNS(V1,"g"),s=e.options.fixedDecimalPlaceDigits;for(const l of r){let u=null;switch(l.type){case"path":u=i.createElementNS(V1,"path"),u.setAttribute("d",this.opsToPath(l,s)),u.setAttribute("stroke",n.stroke),u.setAttribute("stroke-width",n.strokeWidth+""),u.setAttribute("fill","none"),n.strokeLineDash&&u.setAttribute("stroke-dasharray",n.strokeLineDash.join(" ").trim()),n.strokeLineDashOffset&&u.setAttribute("stroke-dashoffset",`${n.strokeLineDashOffset}`);break;case"fillPath":u=i.createElementNS(V1,"path"),u.setAttribute("d",this.opsToPath(l,s)),u.setAttribute("stroke","none"),u.setAttribute("stroke-width","0"),u.setAttribute("fill",n.fill||""),e.shape!=="curve"&&e.shape!=="polygon"||u.setAttribute("fill-rule","evenodd");break;case"fillSketch":u=this.fillSketch(i,l,n)}u&&a.appendChild(u)}return a}fillSketch(e,r,n){let i=n.fillWeight;i<0&&(i=n.strokeWidth/2);const a=e.createElementNS(V1,"path");return a.setAttribute("d",this.opsToPath(r,n.fixedDecimalPlaceDigits)),a.setAttribute("stroke",n.fill||""),a.setAttribute("stroke-width",i+""),a.setAttribute("fill","none"),n.fillLineDash&&a.setAttribute("stroke-dasharray",n.fillLineDash.join(" ").trim()),n.fillLineDashOffset&&a.setAttribute("stroke-dashoffset",`${n.fillLineDashOffset}`),a}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(e,r){return this.gen.opsToPath(e,r)}line(e,r,n,i,a){const s=this.gen.line(e,r,n,i,a);return this.draw(s)}rectangle(e,r,n,i,a){const s=this.gen.rectangle(e,r,n,i,a);return this.draw(s)}ellipse(e,r,n,i,a){const s=this.gen.ellipse(e,r,n,i,a);return this.draw(s)}circle(e,r,n,i){const a=this.gen.circle(e,r,n,i);return this.draw(a)}linearPath(e,r){const n=this.gen.linearPath(e,r);return this.draw(n)}polygon(e,r){const n=this.gen.polygon(e,r);return this.draw(n)}arc(e,r,n,i,a,s,l=!1,u){const h=this.gen.arc(e,r,n,i,a,s,l,u);return this.draw(h)}curve(e,r){const n=this.gen.curve(e,r);return this.draw(n)}path(e,r){const n=this.gen.path(e,r);return this.draw(n)}}var sr={canvas:(t,e)=>new Jst(t,e),svg:(t,e)=>new tlt(t,e),generator:t=>new wy(t),newSeed:()=>wy.newSeed()},$r=$(async(t,e,r)=>{let n;const i=e.useHtmlLabels||wa(qn()?.htmlLabels);r?n=r:n="node default";const a=t.insert("g").attr("class",n).attr("id",e.domId||e.id),s=a.insert("g").attr("class","label").attr("style",uo(e.labelStyle));let l;e.label===void 0?l="":l=typeof e.label=="string"?e.label:e.label[0];const u=await Uh(s,sl(ad(l),qn()),{useHtmlLabels:i,width:e.width||qn().flowchart?.wrappingWidth,cssClasse
vendor: 10,772 bytes, lines 479-480
479s:"markdown-node-label",style:e.labelStyle,addSvgBackground:!!e.icon||!!e.img});let h=u.getBBox();const f=(e?.padding??0)/2;if(i){const p=u.children[0],y=Tn(u),g=p.getElementsByTagName("img");if(g){const b=l.replace(/<img[^>]*>/g,"").trim()==="";await Promise.all([...g].map(v=>new Promise(C=>{function k(){if(v.style.display="flex",v.style.flexDirection="column",b){const T=qn().fontSize?qn().fontSize:window.getComputedStyle(document.body).fontSize,E=5,[L=YE.fontSize]=gb(T),O=L*E+"px";v.style.minWidth=O,v.style.maxWidth=O}else v.style.width="100%";C(v)}$(k,"setupImage"),setTimeout(()=>{v.complete&&k()}),v.addEventListener("error",k),v.addEventListener("load",k)})))}h=p.getBoundingClientRect(),y.attr("width",h.width),y.attr("height",h.height)}return i?s.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"):s.attr("transform","translate(0, "+-h.height/2+")"),e.centerLabel&&s.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"),s.insert("rect",":first-child"),{shapeSvg:a,bbox:h,halfPadding:f,label:s}},"labelHelper"),e5=$(async(t,e,r)=>{const n=r.useHtmlLabels||wa(qn()?.flowchart?.htmlLabels),i=t.insert("g").attr("class","label").attr("style",r.labelStyle||""),a=await Uh(i,sl(ad(e),qn()),{useHtmlLabels:n,width:r.width||qn()?.flowchart?.wrappingWidth,style:r.labelStyle,addSvgBackground:!!r.icon||!!r.img});let s=a.getBBox();const l=r.padding/2;if(wa(qn()?.flowchart?.htmlLabels)){const u=a.children[0],h=Tn(a);s=u.getBoundingClientRect(),h.attr("width",s.width),h.attr("height",s.height)}return n?i.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"):i.attr("transform","translate(0, "+-s.height/2+")"),r.centerLabel&&i.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),i.insert("rect",":first-child"),{shapeSvg:t,bbox:s,halfPadding:l,label:i}},"insertLabel"),pr=$((t,e)=>{const r=e.node().getBBox();t.width=r.width,t.height=r.height},"updateNodeBounds"),Mr=$((t,e)=>(t.look==="handDrawn"?"rough-node":"node")+" "+t.cssClasses+" "+(e||""),"getNodeClasses");function fn(t){const e=t.map((r,n)=>`${n===0?"M":"L"}${r.x},${r.y}`);return e.push("Z"),e.join(" ")}$(fn,"createPathFromPoints");function Ih(t,e,r,n,i,a){const s=[],u=r-t,h=n-e,f=u/a,p=2*Math.PI/f,y=e+h/2;for(let g=0;g<=50;g++){const b=g/50,v=t+b*u,C=y+i*Math.sin(p*(v-t));s.push({x:v,y:C})}return s}$(Ih,"generateFullSineWavePoints");function Y0(t,e,r,n,i,a){const s=[],l=i*Math.PI/180,f=(a*Math.PI/180-l)/(n-1);for(let p=0;p<n;p++){const y=l+p*f,g=t+r*Math.cos(y),b=e+r*Math.sin(y);s.push({x:-g,y:-b})}return s}$(Y0,"generateCirclePoints");var elt=$((t,e)=>{var r=t.x,n=t.y,i=e.x-r,a=e.y-n,s=t.width/2,l=t.height/2,u,h;return Math.abs(a)*s>Math.abs(i)*l?(a<0&&(l=-l),u=a===0?0:l*i/a,h=l):(i<0&&(s=-s),u=s,h=i===0?0:s*a/i),{x:r+u,y:n+h}},"intersectRect"),Gp=elt;function PN(t,e){e&&t.attr("style",e)}$(PN,"applyStyle");async function $N(t){const e=Tn(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=e.append("xhtml:div"),n=qn();let i=t.label;t.label&&Np(t.label)&&(i=await $w(t.label.replace(qp.lineBreakRegex,`
480`),n));const s='<span class="'+(t.isNode?"nodeLabel":"edgeLabel")+'" '+(t.labelStyle?'style="'+t.labelStyle+'"':"")+">"+i+"</span>";return r.html(sl(s,n)),PN(r,t.labelStyle),r.style("display","inline-block"),r.style("padding-right","1px"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}$($N,"addHtmlLabel");var rlt=$(async(t,e,r,n)=>{let i=t||"";if(typeof i=="object"&&(i=i[0]),wa(qn().flowchart.htmlLabels)){i=i.replace(/\\n|\n/g,"<br />"),xe.info("vertexText"+i);const a={isNode:n,label:ad(i).replace(/fa[blrs]?:fa-[\w-]+/g,l=>`<i class='${l.replace(":"," ")}'></i>`),labelStyle:e&&e.replace("fill:","color:")};return await $N(a)}else{const a=document.createElementNS("http://www.w3.org/2000/svg","text");a.setAttribute("style",e.replace("color:","fill:"));let s=[];typeof i=="string"?s=i.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(i)?s=i:s=[];for(const l of s){const u=document.createElementNS("http://www.w3.org/2000/svg","tspan");u.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),u.setAttribute("dy","1em"),u.setAttribute("x","0"),r?u.setAttribute("class","title-row"):u.setAttribute("class","row"),u.textContent=l.trim(),a.appendChild(u)}return a}},"createLabel"),Ef=rlt,Wh=$((t,e,r,n,i)=>["M",t+i,e,"H",t+r-i,"A",i,i,0,0,1,t+r,e+i,"V",e+n-i,"A",i,i,0,0,1,t+r-i,e+n,"H",t+i,"A",i,i,0,0,1,t,e+n-i,"V",e+i,"A",i,i,0,0,1,t+i,e,"Z"].join(" "),"createRoundedRectPathD"),jN=$(async(t,e)=>{xe.info("Creating subgraph rect for ",e.id,e);const r=qn(),{themeVariables:n,handDrawnSeed:i}=r,{clusterBkg:a,clusterBorder:s}=n,{labelStyles:l,nodeStyles:u,borderStyles:h,backgroundStyles:f}=dr(e),p=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.id).attr("data-look",e.look),y=wa(r.flowchart.htmlLabels),g=p.insert("g").attr("class","cluster-label "),b=await Uh(g,e.label,{style:e.labelStyle,useHtmlLabels:y,isNode:!0});let v=b.getBBox();if(wa(r.flowchart.htmlLabels)){const q=b.children[0],U=Tn(b);v=q.getBoundingClientRect(),U.attr("width",v.width),U.attr("height",v.height)}const C=e.width<=v.width+e.padding?v.width+e.padding:e.width;e.width<=v.width+e.padding?e.diff=(C-e.width)/2-e.padding:e.diff=-e.padding;const k=e.height,T=e.x-C/2,E=e.y-k/2;xe.trace("Data ",e,JSON.stringify(e));let L;if(e.look==="handDrawn"){const q=sr.svg(p),U=ur(e,{roughness:.7,fill:a,stroke:s,fillWeight:3,seed:i}),j=q.path(Wh(T,E,C,k,0),U);L=p.insert(()=>(xe.debug("Rough node insert CXC",j),j),":first-child"),L.select("path:nth-child(2)").attr("style",h.join(";")),L.select("path").attr("style",f.join(";").replace("fill","stroke"))}else L=p.insert("rect",":first-child"),L.attr("style",u).attr("rx",e.rx).attr("ry",e.ry).attr("x",T).attr("y",E).attr("width",C).attr("height",k);const{subGraphTitleTopMargin:O}=sC(r);if(g.attr("transform",`translate(${e.x-v.width/2}, ${e.y-e.height/2+O})`),l){const q=g.select("span");q&&q.attr("style",l)}const W=L.node().getBBox();return e.offsetX=0,e.width=W.width,e.height=W.height,e.offsetY=v.height-e.padding/2,e.intersect=function(q){return Gp(e,q)},{cluster:p,labelBBox:v}},"rect"),nlt=$((t,e)=>{const r=t.insert("g").attr("class","note-cluster").attr("id",e.id),n=r.insert("rect",":first-child"),i=0*e.padding,a=i/2;n.attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-e.width/2-a).attr("y",e.y-e.height/2-a).attr("width",e.width+i).attr("height",e.height+i).attr("fill","none");const s=n.node().getBBox();return e.width=s.width,e.height=s.height,e.intersect=function(l){return Gp(e,l)},{cluster:r,labelBBox:{width:0,height:0}}},"noteGroup"),ilt=$(async(t,e)=>{const r=qn(),{themeVariables:n,handDrawnSeed:i}=r,{altBackground:a,compositeBackground:s,compositeTitleBackground:l,nodeBorder:u}=n,h=t.insert("g").attr("class",e.cssClasses).attr("id",e.id).attr("data-id",e.id).attr("data-look",e.look),f=h.insert("g",":first-child"),p=h.insert("g").attr("class","cluster-label");let y=h.append("rect");const g=p.node().appendChild(await Ef(e.label,e.labelStyle,void 0,!0));let b=g.getBBox();if(wa(r.flowchart.htmlLabels)){const j=g.children[0],M=Tn(g);b=j.getBoundingClientRect(),M.attr("width",b.width),M.attr("height",b.height)}const v=0*e.padding,C=v/2,k=(e.width<=b.width+e.padding?b.width+e.padding:e.width)+v;e.width<=b.width+e.padding?e.diff=(k-e.width)/2-e.padding:e.diff=-e.padding;const T=e.height+v,E=e.height+v-b.height-6,L=e.x-k/2,O=e.y-T/2;e.width=k;const W=e.y-e.height/2-C+b.height+2;let q;if(e.look==="handDrawn"){const j=e.cssClasses.includes("statediagram-cluster-alt"),M=sr.svg(h),N=e.rx||e.ry?M.path(Wh(L,O,k,T,10),{roughness:.7,fill:l,fillStyle:"solid",stroke:u,seed:i}):M.rectangle(L,O,k,T,{seed:i});q=h.insert(()=>N,":first-child");const I=M.rectangle(L,W,k,E,{fill:j?a:s,fillStyle:j?"hachure":"solid",stroke:u,seed:i});q=h.insert(()=>N,":first-child"),y=h.insert(()=>I)}else q=f.insert("rect",":first-child"),q.attr("class","outer").attr("x",L).attr("y",O).attr("width",k).attr("height",T).attr("data-look",e.look),y.attr("class","inner").attr("x",L).attr("y",W).attr("width",k).attr("height",E);p.attr("transform",`translate(${e.x-b.width/2}, ${O+1-(wa(r.flowchart.htmlLabels)?0:3)})`);const U=q.node().getBBox();return e.height=U.height,e.offsetX=0,e.offsetY=b.height-e.padding/2,e.labelBBox=b,e.intersect=function(j){return Gp(e,j)},{cluster:h,labelBBox:b}},"roundedWithTitle"),alt=$(async(t,e)=>{xe.info("Creating subgraph rect for ",e.id,e);const r=qn(),{themeVariables:n,handDrawnSeed:i}=r,{clusterBkg:a,clusterBorder:s}=n,{labelStyles:l,nodeStyles:u,borderStyles:h,backgroundStyles:f}=dr(e),p=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.id).attr("data-look",e.look),y=wa(r.flowchart.htmlLabels),g=p.insert("g").attr("class","cluster-label "),b=await Uh(g,e.label,{style:e.labelStyle,useHtmlLabels:y,isNode:!0,width:e.width});let v=b.getBBox();if(wa(r.flowchart.htmlLabels)){const q=b.children[0],U=Tn(b);v=q.getBoundingClientRect(),U.attr("width",v.width),U.attr("height",v.height)}const C=e.width<=v.width+e.padding?v.width+e.padding:e.width;e.width<=v.width+e.padding?e.diff=(C-e.width)/2-e.padding:e.diff=-e.padding;const k=e.height,T=e.x-C/2,E=e.y-k/2;xe.trace("Data ",e,JSON.stringify(e));let L;if(e.look==="handDrawn"){const q=sr.svg(p),U=ur(e,{roughness:.7,fill:a,stroke:s,fillWeight:4,seed:i}),j=q.path(Wh(T,E,C,k,e.rx),U);L=p.insert(()=>(xe.debug("Rough node insert CXC",j),j),":first-child"),L.select("path:nth-child(2)").attr("style",h.join(";")),L.select("path").attr("style",f.join(";").replace("fill","stroke"))}else L=p.insert("rect",":first-child"),L.attr("style",u).attr("rx",e.rx).attr("ry",e.ry).attr("x",T).attr("y",E).attr("width",C).attr("height",k);const{subGraphTitleTopMargin:O}=sC(r);if(g.attr("transform",`translate(${e.x-v.width/2}, ${e.y-e.height/2+O})`),l){const q=g.select("span");q&&q.attr("style",l)}const W=L.node().getBBox();return e.offsetX=0,e.width=W.width,e.height=W.height,e.offsetY=v.height-e.padding/2,e.intersect=function(q){return Gp(e,q)},{cluster:p,labelBBox:v}},"kanbanSection"),olt=$((t,e)=>{const r=qn(),{themeVariables:n,handDrawnSeed:i}=r,{nodeBorder:a}=n,s=t.insert("g").attr("class",e.cssClasses).attr("id",e.id).attr("data-look",e.look),l=s.insert("g",":first-child"),u=0*e.padding,h=e.width+u;e.diff=-e.padding;const f=e.height+u,p=e.x-h/2,y=e.y-f/2;e.width=h;let g;if(e.look==="handDrawn"){const C=sr.svg(s).rectangle(p,y,h,f,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:a,seed:i});g=s.insert(()=>C,":first-child")}else g=l.insert("rect",":first-child"),g.attr("class","divider").attr("x",p).attr("y",y).attr("width",h).attr("height",f).attr("data-look",e.look);const b=g.node().getBBox();return e.height=b.height,e.offsetX=0,e.offsetY=0,e.intersect=function(v){return Gp(e,v)},{cluster:s,labelBBox:{}}}
vendor: 4,436 bytes, line 480
480,"divider"),slt=jN,llt={rect:jN,squareRect:slt,roundedWithTitle:ilt,noteGroup:nlt,divider:olt,kanbanSection:alt},DN=new Map,clt=$(async(t,e)=>{const r=e.shape||"rect",n=await llt[r](t,e);return DN.set(e.id,n),n},"insertCluster"),Kft=$(()=>{DN=new Map},"clear");function IN(t,e){return t.intersect(e)}$(IN,"intersectNode");var ult=IN;function zN(t,e,r,n){var i=t.x,a=t.y,s=i-n.x,l=a-n.y,u=Math.sqrt(e*e*l*l+r*r*s*s),h=Math.abs(e*r*s/u);n.x<i&&(h=-h);var f=Math.abs(e*r*l/u);return n.y<a&&(f=-f),{x:i+h,y:a+f}}$(zN,"intersectEllipse");var FN=zN;function qN(t,e,r){return FN(t,e,e,r)}$(qN,"intersectCircle");var hlt=qN;function HN(t,e,r,n){{const i=e.y-t.y,a=t.x-e.x,s=e.x*t.y-t.x*e.y,l=i*r.x+a*r.y+s,u=i*n.x+a*n.y+s,h=1e-6;if(l!==0&&u!==0&&PS(l,u))return;const f=n.y-r.y,p=r.x-n.x,y=n.x*r.y-r.x*n.y,g=f*t.x+p*t.y+y,b=f*e.x+p*e.y+y;if(Math.abs(g)<h&&Math.abs(b)<h&&PS(g,b))return;const v=i*p-f*a;if(v===0)return;const C=Math.abs(v/2);let k=a*y-p*s;const T=k<0?(k-C)/v:(k+C)/v;k=f*s-i*y;const E=k<0?(k-C)/v:(k+C)/v;return{x:T,y:E}}}$(HN,"intersectLine");function PS(t,e){return t*e>0}$(PS,"sameSign");var flt=HN;function UN(t,e,r){let n=t.x,i=t.y,a=[],s=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;typeof e.forEach=="function"?e.forEach(function(f){s=Math.min(s,f.x),l=Math.min(l,f.y)}):(s=Math.min(s,e.x),l=Math.min(l,e.y));let u=n-t.width/2-s,h=i-t.height/2-l;for(let f=0;f<e.length;f++){let p=e[f],y=e[f<e.length-1?f+1:0],g=flt(t,r,{x:u+p.x,y:h+p.y},{x:u+y.x,y:h+y.y});g&&a.push(g)}return a.length?(a.length>1&&a.sort(function(f,p){let y=f.x-r.x,g=f.y-r.y,b=Math.sqrt(y*y+g*g),v=p.x-r.x,C=p.y-r.y,k=Math.sqrt(v*v+C*C);return b<k?-1:b===k?0:1}),a[0]):t}$(UN,"intersectPolygon");var dlt=UN,We={node:ult,circle:hlt,ellipse:FN,polygon:dlt,rect:Gp};function WN(t,e){const{labelStyles:r}=dr(e);e.labelStyle=r;const n=Mr(e);let i=n;n||(i="anchor");const a=t.insert("g").attr("class",i).attr("id",e.domId||e.id),s=1,{cssStyles:l}=e,u=sr.svg(a),h=ur(e,{fill:"black",stroke:"none",fillStyle:"solid"});e.look!=="handDrawn"&&(h.roughness=0);const f=u.circle(0,0,s*2,h),p=a.insert(()=>f,":first-child");return p.attr("class","anchor").attr("style",uo(l)),pr(e,p),e.intersect=function(y){return xe.info("Circle intersect",e,s,y),We.circle(e,s,y)},a}$(WN,"anchor");function $S(t,e,r,n,i,a,s){const u=(t+r)/2,h=(e+n)/2,f=Math.atan2(n-e,r-t),p=(r-t)/2,y=(n-e)/2,g=p/i,b=y/a,v=Math.sqrt(g**2+b**2);if(v>1)throw new Error("The given radii are too small to create an arc between the points.");const C=Math.sqrt(1-v**2),k=u+C*a*Math.sin(f)*(s?-1:1),T=h-C*i*Math.cos(f)*(s?-1:1),E=Math.atan2((e-T)/a,(t-k)/i);let O=Math.atan2((n-T)/a,(r-k)/i)-E;s&&O<0&&(O+=2*Math.PI),!s&&O>0&&(O-=2*Math.PI);const W=[];for(let q=0;q<20;q++){const U=q/19,j=E+U*O,M=k+i*Math.cos(j),N=T+a*Math.sin(j);W.push({x:M,y:N})}return W}$($S,"generateArcPoints");async function GN(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await $r(t,e,Mr(e)),s=a.width+e.padding+20,l=a.height+e.padding,u=l/2,h=u/(2.5+l/50),{cssStyles:f}=e,p=[{x:s/2,y:-l/2},{x:-s/2,y:-l/2},...$S(-s/2,-l/2,-s/2,l/2,h,u,!1),{x:s/2,y:l/2},...$S(s/2,l/2,s/2,-l/2,h,u,!0)],y=sr.svg(i),g=ur(e,{});e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");const b=fn(p),v=y.path(b,g),C=i.insert(()=>v,":first-child");return C.attr("class","basic label-container"),f&&e.look!=="handDrawn"&&C.selectAll("path").attr("style",f),n&&e.look!=="handDrawn"&&C.selectAll("path").attr("style",n),C.attr("transform",`translate(${h/2}, 0)`),pr(e,C),e.intersect=function(k){return We.polygon(e,p,k)},i}$(GN,"bowTieRect");function Gh(t,e,r,n){return t.insert("polygon",":first-child").attr("points",n.map(function(i){return i.x+","+i.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}$(Gh,"insertPolygonShape");async function VN(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await $r(t,e,Mr(e)),s=a.height+e.padding,l=12,u=a.width+e.padding+l,h=0,f=u,p=-s,y=0,g=[{x:h+l,y:p},{x:f,y:p},{x:f,y},{x:h,y},{x:h,y:p+l},{x:h+l,y:p}];let b;const{cssStyles:v}=e;if(e.look==="handDrawn"){const C=sr.svg(i),k=ur(e,{}),T=fn(g),E=C.path(T,k);b=i.insert(()=>E,":first-child").attr("transform",`translate(${-u/2}, ${s/2})`),v&&b.attr("style",v)}else b=Gh(i,u,s,g);return n&&b.attr("style",n),pr(e,b),e.intersect=function(C){return We.polygon(e,g,C)},i}$(VN,"card");function YN(t,e){const{nodeStyles:r}=dr(e);e.label="";
vendor: 2,746 bytes, lines 480-481
480const n=t.insert("g").attr("class",Mr(e)).attr("id",e.domId??e.id),{cssStyles:i}=e,a=Math.max(28,e.width??0),s=[{x:0,y:a/2},{x:a/2,y:0},{x:0,y:-a/2},{x:-a/2,y:0}],l=sr.svg(n),u=ur(e,{});e.look!=="handDrawn"&&(u.roughness=0,u.fillStyle="solid");const h=fn(s),f=l.path(h,u),p=n.insert(()=>f,":first-child");return i&&e.look!=="handDrawn"&&p.selectAll("path").attr("style",i),r&&e.look!=="handDrawn"&&p.selectAll("path").attr("style",r),e.width=28,e.height=28,e.intersect=function(y){return We.polygon(e,s,y)},n}$(YN,"choice");async function MC(t,e,r){const{labelStyles:n,nodeStyles:i}=dr(e);e.labelStyle=n;const{shapeSvg:a,bbox:s,halfPadding:l}=await $r(t,e,Mr(e)),u=r?.padding??l,h=s.width/2+u;let f;const{cssStyles:p}=e;if(e.look==="handDrawn"){const y=sr.svg(a),g=ur(e,{}),b=y.circle(0,0,h*2,g);f=a.insert(()=>b,":first-child"),f.attr("class","basic label-container").attr("style",uo(p))}else f=a.insert("circle",":first-child").attr("class","basic label-container").attr("style",i).attr("r",h).attr("cx",0).attr("cy",0);return pr(e,f),e.calcIntersect=function(y,g){const b=y.width/2;return We.circle(y,b,g)},e.intersect=function(y){return xe.info("Circle intersect",e,h,y),We.circle(e,h,y)},a}$(MC,"circle");function XN(t){const e=Math.cos(Math.PI/4),r=Math.sin(Math.PI/4),n=t*2,i={x:n/2*e,y:n/2*r},a={x:-(n/2)*e,y:n/2*r},s={x:-(n/2)*e,y:-(n/2)*r},l={x:n/2*e,y:-(n/2)*r};return`M ${a.x},${a.y} L ${l.x},${l.y}
481                   M ${i.x},${i.y} L ${s.x},${s.y}`}$(XN,"createLine");function KN(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r,e.label="";const i=t.insert("g").attr("class",Mr(e)).attr("id",e.domId??e.id),a=Math.max(30,e?.width??0),{cssStyles:s}=e,l=sr.svg(i),u=ur(e,{});e.look!=="handDrawn"&&(u.roughness=0,u.fillStyle="solid");const h=l.circle(0,0,a*2,u),f=XN(a),p=l.path(f,u),y=i.insert(()=>h,":first-child");return y.insert(()=>p),s&&e.look!=="handDrawn"&&y.selectAll("path").attr("style",s),n&&e.look!=="handDrawn"&&y.selectAll("path").attr("style",n),pr(e,y),e.intersect=function(g){return xe.info("crossedCircle intersect",e,{radius:a,point:g}),We.circle(e,a,g)},i}$(KN,"crossedCircle");function mu(t,e,r,n=100,i=0,a=180){const s=[],l=i*Math.PI/180,f=(a*Math.PI/180-l)/(n-1);for(let p=0;p<n;p++){const y=l+p*f,g=t+r*Math.cos(y),b=e+r*Math.sin(y);s.push({x:-g,y:-b})}return s}$(mu,"generateCirclePoints");async function ZN(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await $r(t,e,Mr(e)),l=a.width+(e.padding??0),u=a.height+(e.padding??0),h=Math.max(5,u*.1),{cssStyles:f}=e,p=[...mu(l/2,-u/2,h,30,-90,0),{x:-l/2-h,y:h},...mu(l/2+h*2,-h,h,20,-180,-270),...mu(l/2+h*2,h,h,20,-90,-180),{x:-l/2-h,y:-u/2},...mu(l/2,u/2,h,20,0,90)],y=[{x:l/2,y:-u/2-h},{x:-l/2,y:-u/2-h}
vendor: 3,118 bytes, line 481
481,...mu(l/2,-u/2,h,20,-90,0),{x:-l/2-h,y:-h},...mu(l/2+l*.1,-h,h,20,-180,-270),...mu(l/2+l*.1,h,h,20,-90,-180),{x:-l/2-h,y:u/2},...mu(l/2,u/2,h,20,0,90),{x:-l/2,y:u/2+h},{x:l/2,y:u/2+h}],g=sr.svg(i),b=ur(e,{fill:"none"});e.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const C=fn(p).replace("Z",""),k=g.path(C,b),T=fn(y),E=g.path(T,{...b}),L=i.insert("g",":first-child");return L.insert(()=>E,":first-child").attr("stroke-opacity",0),L.insert(()=>k,":first-child"),L.attr("class","text"),f&&e.look!=="handDrawn"&&L.selectAll("path").attr("style",f),n&&e.look!=="handDrawn"&&L.selectAll("path").attr("style",n),L.attr("transform",`translate(${h}, 0)`),s.attr("transform",`translate(${-l/2+h-(a.x-(a.left??0))},${-u/2+(e.padding??0)/2-(a.y-(a.top??0))})`),pr(e,L),e.intersect=function(O){return We.polygon(e,y,O)},i}$(ZN,"curlyBraceLeft");function yu(t,e,r,n=100,i=0,a=180){const s=[],l=i*Math.PI/180,f=(a*Math.PI/180-l)/(n-1);for(let p=0;p<n;p++){const y=l+p*f,g=t+r*Math.cos(y),b=e+r*Math.sin(y);s.push({x:g,y:b})}return s}$(yu,"generateCirclePoints");async function QN(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await $r(t,e,Mr(e)),l=a.width+(e.padding??0),u=a.height+(e.padding??0),h=Math.max(5,u*.1),{cssStyles:f}=e,p=[...yu(l/2,-u/2,h,20,-90,0),{x:l/2+h,y:-h},...yu(l/2+h*2,-h,h,20,-180,-270),...yu(l/2+h*2,h,h,20,-90,-180),{x:l/2+h,y:u/2},...yu(l/2,u/2,h,20,0,90)],y=[{x:-l/2,y:-u/2-h},{x:l/2,y:-u/2-h},...yu(l/2,-u/2,h,20,-90,0),{x:l/2+h,y:-h},...yu(l/2+h*2,-h,h,20,-180,-270),...yu(l/2+h*2,h,h,20,-90,-180),{x:l/2+h,y:u/2},...yu(l/2,u/2,h,20,0,90),{x:l/2,y:u/2+h},{x:-l/2,y:u/2+h}],g=sr.svg(i),b=ur(e,{fill:"none"});e.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const C=fn(p).replace("Z",""),k=g.path(C,b),T=fn(y),E=g.path(T,{...b}),L=i.insert("g",":first-child");return L.insert(()=>E,":first-child").attr("stroke-opacity",0),L.insert(()=>k,":first-child"),L.attr("class","text"),f&&e.look!=="handDrawn"&&L.selectAll("path").attr("style",f),n&&e.look!=="handDrawn"&&L.selectAll("path").attr("style",n),L.attr("transform",`translate(${-h}, 0)`),s.attr("transform",`translate(${-l/2+(e.padding??0)/2-(a.x-(a.left??0))},${-u/2+(e.padding??0)/2-(a.y-(a.top??0))})`),pr(e,L),e.intersect=function(O){return We.polygon(e,y,O)},i}$(QN,"curlyBraceRight");function Fa(t,e,r,n=100,i=0,a=180){const s=[],l=i*Math.PI/180,f=(a*Math.PI/180-l)/(n-1);for(let p=0;p<n;p++){const y=l+p*f,g=t+r*Math.cos(y),b=e+r*Math.sin(y);s.push({x:-g,y:-b})}return s}$(Fa,"generateCirclePoints");async function JN(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await $r(t,e,Mr(e)),l=a.width+(e.padding??0),u=a.height+(e.padding??0),h=Math.max(5,u*.1),{cssStyles:f}=e,p=[...Fa(l/2,-u/2,h,30,-90,0),{x:-l/2-h,y:h},...Fa(l/2+h*2,-h,h,20,-180,-270),...Fa(l/2+h*2,h,h,20,-90,-180),{x:-l/2-h,y:-u/2},...Fa(l/2,u/2,h,20,0,90)],y=[...Fa(-l/2+h+h/2,-u/2,h,20,-90,-180),{x:l/2-h/2,y:h},...Fa(-l/2-h/2,-h,h,20,0,90),...Fa(-l/2-h/2,h,h,20,-90,0),{x:l/2-h/2,y:-h},...Fa(-l/2+h+h/2,u/2,h,30,-180,-270)],g=[{x:l/2,y:-u/2-h},{x:-l/2,y:-u/2-h}
vendor: 4,218 bytes, line 481
481,...Fa(l/2,-u/2,h,20,-90,0),{x:-l/2-h,y:-h},...Fa(l/2+h*2,-h,h,20,-180,-270),...Fa(l/2+h*2,h,h,20,-90,-180),{x:-l/2-h,y:u/2},...Fa(l/2,u/2,h,20,0,90),{x:-l/2,y:u/2+h},{x:l/2-h-h/2,y:u/2+h},...Fa(-l/2+h+h/2,-u/2,h,20,-90,-180),{x:l/2-h/2,y:h},...Fa(-l/2-h/2,-h,h,20,0,90),...Fa(-l/2-h/2,h,h,20,-90,0),{x:l/2-h/2,y:-h},...Fa(-l/2+h+h/2,u/2,h,30,-180,-270)],b=sr.svg(i),v=ur(e,{fill:"none"});e.look!=="handDrawn"&&(v.roughness=0,v.fillStyle="solid");const k=fn(p).replace("Z",""),T=b.path(k,v),L=fn(y).replace("Z",""),O=b.path(L,v),W=fn(g),q=b.path(W,{...v}),U=i.insert("g",":first-child");return U.insert(()=>q,":first-child").attr("stroke-opacity",0),U.insert(()=>T,":first-child"),U.insert(()=>O,":first-child"),U.attr("class","text"),f&&e.look!=="handDrawn"&&U.selectAll("path").attr("style",f),n&&e.look!=="handDrawn"&&U.selectAll("path").attr("style",n),U.attr("transform",`translate(${h-h/4}, 0)`),s.attr("transform",`translate(${-l/2+(e.padding??0)/2-(a.x-(a.left??0))},${-u/2+(e.padding??0)/2-(a.y-(a.top??0))})`),pr(e,U),e.intersect=function(j){return We.polygon(e,g,j)},i}$(JN,"curlyBraces");async function tB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await $r(t,e,Mr(e)),s=80,l=20,u=Math.max(s,(a.width+(e.padding??0)*2)*1.25,e?.width??0),h=Math.max(l,a.height+(e.padding??0)*2,e?.height??0),f=h/2,{cssStyles:p}=e,y=sr.svg(i),g=ur(e,{});e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");const b=u,v=h,C=b-f,k=v/4,T=[{x:C,y:0},{x:k,y:0},{x:0,y:v/2},{x:k,y:v},{x:C,y:v},...Y0(-C,-v/2,f,50,270,90)],E=fn(T),L=y.path(E,g),O=i.insert(()=>L,":first-child");return O.attr("class","basic label-container"),p&&e.look!=="handDrawn"&&O.selectChildren("path").attr("style",p),n&&e.look!=="handDrawn"&&O.selectChildren("path").attr("style",n),O.attr("transform",`translate(${-u/2}, ${-h/2})`),pr(e,O),e.intersect=function(W){return We.polygon(e,T,W)},i}$(tB,"curvedTrapezoid");var plt=$((t,e,r,n,i,a)=>[`M${t},${e+a}`,`a${i},${a} 0,0,0 ${r},0`,`a${i},${a} 0,0,0 ${-r},0`,`l0,${n}`,`a${i},${a} 0,0,0 ${r},0`,`l0,${-n}`].join(" "),"createCylinderPathD"),glt=$((t,e,r,n,i,a)=>[`M${t},${e+a}`,`M${t+r},${e+a}`,`a${i},${a} 0,0,0 ${-r},0`,`l0,${n}`,`a${i},${a} 0,0,0 ${r},0`,`l0,${-n}`].join(" "),"createOuterCylinderPathD"),mlt=$((t,e,r,n,i,a)=>[`M${t-r/2},${-n/2}`,`a${i},${a} 0,0,0 ${r},0`].join(" "),"createInnerCylinderPathD");async function eB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await $r(t,e,Mr(e)),l=Math.max(a.width+e.padding,e.width??0),u=l/2,h=u/(2.5+l/50),f=Math.max(a.height+h+e.padding,e.height??0);let p;const{cssStyles:y}=e;if(e.look==="handDrawn"){const g=sr.svg(i),b=glt(0,0,l,f,u,h),v=mlt(0,h,l,f,u,h),C=g.path(b,ur(e,{})),k=g.path(v,ur(e,{fill:"none"}));p=i.insert(()=>k,":first-child"),p=i.insert(()=>C,":first-child"),p.attr("class","basic label-container"),y&&p.attr("style",y)}else{const g=plt(0,0,l,f,u,h);p=i.insert("path",":first-child").attr("d",g).attr("class","basic label-container").attr("style",uo(y)).attr("style",n)}return p.attr("label-offset-y",h),p.attr("transform",`translate(${-l/2}, ${-(f/2+h)})`),pr(e,p),s.attr("transform",`translate(${-(a.width/2)-(a.x-(a.left??0))}, ${-(a.height/2)+(e.padding??0)/1.5-(a.y-(a.top??0))})`),e.intersect=function(g){const b=We.rect(e,g),v=b.x-(e.x??0);if(u!=0&&(Math.abs(v)<(e.width??0)/2||Math.abs(v)==(e.width??0)/2&&Math.abs(b.y-(e.y??0))>(e.height??0)/2-h)){let C=h*h*(1-v*v/(u*u));C>0&&(C=Math.sqrt(C)),C=h-C,g.y-(e.y??0)>0&&(C=-C),b.y+=C}return b},i}$(eB,"cylinder");async function rB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await $r(t,e,Mr(e)),l=a.width+e.padding,u=a.height+e.padding,h=u*.2,f=-l/2,p=-u/2-h/2,{cssStyles:y}=e,g=sr.svg(i),b=ur(e,{});e.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const v=[{x:f,y:p+h},{x:-f,y:p+h},{x:-f,y:-p},{x:f,y:-p},{x:f,y:p},{x:-f,y:p},{x:-f,y:p+h}],C=g.polygon(v.map(T=>[T.x,T.y]),b),k=i.insert(()=>C,":first-child");return k.attr("class","basic label-container"),y&&e.look!=="handDrawn"&&k.selectAll("path").attr("style",y),n&&e.look!=="handDrawn"&&k.selectAll("path").attr("style",n),s.attr("transform",`translate(${f+(e.padding??0)
481/2-(a.x-(a.left??0))}, ${p+h+(e.padding??0)/2-(a.y-(a.top??0))})`),pr(e,k),e.intersect=function(T){return We.rect(e,T)},i}$(rB,"dividedRectangle");async function nB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,halfPadding:s}=await $r(t,e,Mr(e)),u=a.width/2+s+5,h=a.width/2+s;let f;const{cssStyles:p}=e;if(e.look==="handDrawn"){const y=sr.svg(i),g=ur(e,{roughness:.2,strokeWidth:2.5}),b=ur(e,{roughness:.2,strokeWidth:1.5}),v=y.circle(0,0,u*2,g),C=y.circle(0,0,h*2,b);f=i.insert("g",":first-child"),f.attr("class",uo(e.cssClasses)).attr("style",uo(p)),f.node()?.appendChild(v),f.node()?.appendChild(C)}else{f=i.insert("g",":first-child");const y=f.insert("circle",":first-child"),g=f.insert("circle");f.attr("class","basic label-container").attr("style",n),y.attr("class","outer-circle").attr("style",n).attr("r",u).attr("cx",0).attr("cy",0),g.attr("class","inner-circle").attr("style",n).attr("r",h).attr("cx",0).attr("cy",0)}return pr(e,f),e.intersect=function(y){return xe.info("DoubleCircle intersect",e,u,y),We.circle(e,u,y)},i}$(nB,"doublecircle");function iB(t,e,{config:{themeVariables:r}}){const{labelStyles:n,nodeStyles:i}=dr(e);e.label="",e.labelStyle=n;const a=t.insert("g").attr("class",Mr(e)).attr("id",e.domId??e.id),s=7,{cssStyles:l}=e,u=sr.svg(a),{nodeBorder:h}=r,f=ur(e,{fillStyle:"solid"});e.look!=="handDrawn"&&(f.roughness=0);const p=u.circle(0,0,s*2,f),y=a.insert(()=>p,":first-child");return y.selectAll("path").attr("style",`fill: ${h} !important;`),l&&l.length>0&&e.look!=="handDrawn"&&y.selectAll("path").attr("style",l),i&&e.look!=="handDrawn"&&y.selectAll("path").attr("style",i),pr(e,y),e.intersect=function(g){return xe.info("filledCircle intersect",e,{radius:s,point:g}),We.circle(e,s,g)},a}$(iB,"filledCircle");async function aB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await $r(t,e,Mr(e)),l=a.width+(e.padding??0),u=l+a.height,h=l+a.height,f=[{x:0,y:-u},{x:h,y:-u},{x:h/2,y:0}],{cssStyles:p}=e,y=sr.svg(i),g=ur(e,{});e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");const b=fn(f),v=y.path(b,g),C=i.insert(()=>v,":first-child").attr("transform",`translate(${-u/2}, ${u/2})`);return p&&e.look!=="handDrawn"&&C.selectChildren("path").attr("style",p),n&&e.look!=="handDrawn"&&C.selectChildren("path").attr("style",n),e.width=l,e.height=u,pr(e,C),s.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}, ${-u/2+(e.padding??0)/2+(a.y-(a.top??0))})`),e.intersect=function(k){return xe.info("Triangle intersect",e,f,k),We.polygon(e,f,k)},i}$(aB,"flippedTriangle");function oB(t,e,{dir:r,config:{state:n,themeVariables:i}}){const{nodeStyles:a}=dr(e);e.label="";const s=t.insert("g").attr("class",Mr(e)).attr("id",e.domId??e.id),{cssStyles:l}=e;let u=Math.max(70,e?.width??0),h=Math.max(10,e?.height??0);r==="LR"&&(u=Math.max(10,e?.width??0),h=Math.max(70,e?.height??0));const f=-1*u/2,p=-1*h/2,y=sr.svg(s),g=ur(e,{stroke:i.lineColor,fill:i.lineColor});e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");const b=y.rectangle(f,p,u,h,g),v=s.insert(()=>b,":first-child");l&&e.look!=="handDrawn"&&v.selectAll("path").attr("style",l),a&&e.look!=="handDrawn"&&v.selectAll("path").attr("style",a),pr(e,v);const C=n?.padding??0;return e.width&&e.height&&(e.width+=C/2||0,e.height+=C/2||0),e.intersect=function(k){return We.rect(e,k)},s}$(oB,"forkJoin");async function sB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const i=80,a=50,{shapeSvg:s,bbox:l}=await $r(t,e,Mr(e)),u=Math.max(i,l.width+(e.padding??0)*2,e?.width??0),h=Math.max(a,l.height+(e.padding??0)*2,e?.height??0),f=h/2,{cssStyles:p}=e,y=sr.svg(s),g=ur(e,{});e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");const b=[{x:-u/2,y:-h/2},{x:u/2-f,y:-h/2},...Y0(-u/2+f,0,f,50,90,270),{x:u/2-f,y:h/2},{x:-u/2,y:h/2}],v=fn(b),C=y.path(v,g),k=s.insert(()=>C,":first-child");return k.attr("class","basic label-container"),p&&e.look!=="handDrawn"&&k.selectChildren("path").attr("style",p),n&&e.look!=="handDrawn"&&k.selectChildren("path").attr("style",n),pr(e,k),e.intersect=function(T){return xe.info("Pill intersect",e,{radius:f,point:T}),We.polygon(e,b,T)},s}$(sB,"halfRoundedRectangle");async function lB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await $r(t,e,Mr(e)),s=a.height+(e.padding??0),l=a.width+(e.padding??0)*2.5,{cssStyles:u}=e,h=sr.svg(i),f=ur(e,{});e.look!=="handDrawn"&&(f.roughness=0,f.fillStyle="solid");let p=l/2;const y=p/6;p=p+y;const g=s/2,b=g/2,v=p-b,C=[{x:-v,y:-g},{x:0,y:-g},{x:v,y:-g},{x:p,y:0},{x:v,y:g},{x:0,y:g},{x:-v,y:g},{x:-p,y:0}],k=fn(C),T=h.path(k,f),E=i.insert(()=>T,":first-child");return E.attr("class","basic label-container"),u&&e.look!=="handDrawn"&&E.selectChildren("path").attr("style",u),n&&e.look!=="handDrawn"&&E.selectChildren("path").attr("style",n),e.width=l,e.height=s,pr(e,E),e.intersect=function(L){return We.polygon(e,C,L)},i}$(lB,"hexagon");async function cB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.label="",e.labelStyle=r;const{shapeSvg:i}=await $r(t,e,Mr(e)),a=Math.max(30,e?.width??0),s=Math.max(30,e?.height??0),{cssStyles:l}=e,u=sr.svg(i),h=ur(e,{});e.look!=="handDrawn"&&(h.roughness=0,h.fillStyle="solid");const f=[{x:0,y:0},{x:a,y:0},{x:0,y:s},{x:a,y:s}],p=fn(f),y=u.path(p,h),g=i.insert(()=>y,":first-child");return g.attr("class","basic label-container"),l&&e.look!=="handDrawn"&&g.selectChildren("path").attr("style",l),n&&e.look!=="handDrawn"&&g.selectChildren("path").attr("style",n),g.attr("transform",`translate(${-a/2}, ${-s/2})`),pr(e,g),e.intersect=function(b){return xe.info("Pill intersect",e,{points:f}),We.polygon(e,f,b)},i}$(cB,"hourglass");async function uB(t,e,{config:{themeVariables:r,flowchart:n}}){const{labelStyles:i}=dr(e);e.labelStyle=i;const a=e.assetHeight??48,s=e.assetWidth??48,l=Math.max(a,s),u=n?.wrappingWidth;e.width=Math.max(l,u??0);const{shapeSvg:h,bbox:f,label:p}=await $r(t,e,"icon-shape default"),y=e.pos==="t",g=l,b=l,{nodeBorder:v}=r,{stylesMap:C}=Hp(e),k=-b/2,T=-g/2,E=e.label?8:0,L=sr.svg(h),O=ur(e,{stroke:"none",fill:"none"});e.look!=="handDrawn"&&(O.roughness=0,O.fillStyle="solid");const W=L.rectangle(k,T,b,g,O),q=Math.max(b,f.width),U=g+f.height+E,j=L.rectangle(-q/2,-U/2,q,U,{...O,fill:"transparent",stroke:"none"}),M=h.insert(()=>W,":first-child"),N=h.insert(()=>j);if(e.icon){const I=h.append("g");I.html(`<g>${await gm(e.icon,{height:l,width:l,fallbackPrefix:""})}</g>`);const V=I.node().getBBox(),z=V.width,Y=V.height,D=V.x,Z=V.y;I.attr("transform",`translate(${-z/2-D},${y?f.height/2+E/2-Y/2-Z:-f.height/2-E/2-Y/2-Z})`),I.attr("style",`color: ${C.get("stroke")??v};`)}return p.attr("transform",`translate(${-f.width/2-(f.x-(f.left??0))},${y?-U/2:U/2-f.height})`),M.attr("transform",`translate(0,${y?f.height/2+E/2:-f.height/2-E/2})`),pr(e,N),e.intersect=function(I){if(xe.info("iconSquare intersect",e,I),!e.label)return We.rect(e,I);const V=e.x??0,z=e.y??0,Y=e.height??0;let D=[];return y?D=[{x:V-f.width/2,y:z-Y/2},{x:V+f.width/2,y:z-Y/2},{x:V+f.width/2,y:z-Y/2+f.height+E},{x:V+b/2,y:z-Y/2+f.height+E},{x:V+b/2,y:z+Y/2},{x:V-b/2,y:z+Y/2},{x:V-b/2,y:z-Y/2+f.height+E},{x:V-f.width/2,y:z-Y/2+f.height+E}]:D=[{x:V-b/2,y:z-Y/2},{x:V+b/2,y:z-Y/2},{x:V+b/2,y:z-Y/2+g},{x:V+f.width/2,y:z-Y/2+g},{x:V+f.width/2/2,y:z+Y/2},{x:V-f.width/2,y:z+Y/2},{x:V-f.width/2,y:z-Y/2+g},{x:V-b/2,y:z-Y/2+g}],We.polygon(e,D,I)},h}$(uB,"icon");async function hB(t,e,{config:{themeVariables:r,flowchart:n}}){const{labelStyles:i}=dr(e);e.labelStyle=i;const a=e.assetHeight??48,s=e.assetWidth??48,l=Math.max(a,s),u=n?.wrappingWidth;e.width=Math.max(l,u??0);const{shapeSvg:h,bbox:f,label:p}=await $r(t,e,"icon-shape default"),y=20,g=e.label?8:0,b=e.pos==="t",{nodeBorder:v,mainBkg:C}=r,{stylesMap:k}=Hp(e),T=sr.svg(h),E=ur(e,{});e.look!=="handDrawn"&&(E.roughness=0,E.fillStyle="solid");const L=k.get("fill");E.stroke=L??C;const O=h.append("g");e.icon&&O.html(`<g>${await gm(e.icon,{height:l,width:l,fallbackPrefix:""})}</g>`);const W=O.node().getBBox(),q=W.width,U=W.height,j=W.x,M=W.y,N=Math.max(q,U)*Math.SQRT2+y*2,I=T.circle(0,0,N,E),V=Math.max(N,f.width),z=N+f.height+g,Y=T.rectangle(-V/2,-z/2,V,z,{...E,fill:"transparent",stroke:"none"}),D=h.insert(()=>I,":first-child"),Z=h.insert(()=>Y);return O.attr("transform",`translate(${-q/2-j},${b?f.height/2+g/2-U/2-M:-f.height/2-g/2-U/2-M})`),O.attr("style",`color: ${k.get("stroke")??v};`),p.attr("transform",`translate(${-f.width/2-(f.x-(f.left??0))},${b?-z/2:z/2-f.height})`),D.attr("transform",`translate(0,${b?f.height/2+g/2:-f.height/2-g/2})`),pr(e,Z),e.intersect=function(Q){return xe.info("iconSquare intersect",e,Q),We.rect(e,Q)},h}$(hB,"iconCircle");async function fB(t,e,{config:{themeVariables:r,flowchart:n}}){const{labelStyles:i}=dr(e);e.labelStyle=i;const a=e.assetHeight??48,s=e.assetWidth??48,l=Math.max(a,s),u=n?.wrappingWidth;e.width=Math.max(l,u??0);const{shapeSvg:h,bbox:f,halfPadding:p,label:y}=await $r(t,e,"icon-shape default"),g=e.pos==="t",b=l+p*2,v=l+p*2,{nodeBorder:C,mainBkg:k}=r,{stylesMap:T}=Hp(e),E=-v/2,L=-b/2,O=e.label?8:0,W=sr.svg(h),q=ur(e,{});e.look!=="handDrawn"&&(q.roughness=0,q.fillStyle="solid");const U=T.get("fill");q.stroke=U??k;const j=W.path(Wh(E,L,v,b,5),q),M=Math.max(v,f.width),N=b+f.height+O,I=W.rectangle(-M/2,-N/2,M,N,{...q,fill:"transparent",stroke:"none"}),V=h.insert(()=>j,":first-child").attr("class","icon-shape2"),z=h.insert(()=>I);if(e.icon){const Y=h.append("g");Y.html(`<g>${await gm(e.icon,{height:l,width:l,fallbackPrefix:""})}</g>`);const D=Y.node().getBBox(),Z=D.width,Q=D.height,it=D.x,mt=D.y;Y.attr("transform",`translate(${-Z/2-it},${g?f.height/2+O/2-Q/2-mt:-f.height/2-O/2-Q/2-mt})`),Y.attr("style",`color: ${T.get("stroke")??C};`)}return y.attr("transform",`translate(${-f.width/2-(f.x-(f.left??0))},${g?-N/2:N/2-f.height})`),V.attr("transform",`translate(0,${g?f.height/2+O/2:-f.height/2-O/2})`),pr(e,z),e.intersect=function(Y){if(xe.info("iconSquare intersect",e,Y),!e.label)return We.rect(e,Y);const D=e.x??0,Z=e.y??0,Q=e.height??0;let it=[];return g?it=[{x:D-f.width/2,y:Z-Q/2},{x:D+f.width/2,y:Z-Q/2},{x:D+f.width/2,y:Z-Q/2+f.height+O},{x:D+v/2,y:Z-Q/2+f.height+O},{x:D+v/2,y:Z+Q/2},{x:D-v/2,y:Z+Q/2},{x:D-v/2,y:Z-Q/2+f.height+O},{x:D-f.width/2,y:Z-Q/2+f.height+O}]:it=[{x:D-v/2,y:Z-Q/2},{x:D+v/2,y:Z-Q/2},{x:D+v/2,y:Z-Q/2+b},{x:D+f.width/2,y:Z-Q/2+b},{x:D+f.width/2/2,y:Z+Q/2},{x:D-f.width/2,y:Z+Q/2},{x:D-f.width/2,y:Z-Q/2+b},{x:D-v/2,y:Z-Q/2+b}],We.polygon(e,it,Y)},h}$(fB,"iconRounded");async function dB(t,e,{config:{themeVariables:r,flowchart:n}}){const{labelStyles:i}=dr(e);e.labelStyle=i;const a=e.assetHeight??48,s=e.assetWidth??48,l=Math.max(a,s),u=n?.wrappingWidth;e.width=Math.max(l,u??0);const{shapeSvg:h,bbox:f,halfPadding:p,label:y}=await $r(t,e,"icon-shape default"),g=e.pos==="t",b=l+p*2,v=l+p*2,{nodeBorder:C,mainBkg:k}=r,{stylesMap:T}=Hp(e),E=-v/2,L=-b/2,O=e.label?8:0,W=sr.svg(h),q=ur(e,{});e.look!=="handDrawn"&&(q.roughness=0,q.fillStyle="solid");const U=T.get("fill");q.stroke=U??k;const j=W.path(Wh(E,L,v,b,.1),q),M=Math.max(v,f.width),N=b+f.height+O,I=W.rectangle(-M/2,-N/2,M,N,{...q,fill:"transparent",stroke:"none"}),V=h.insert(()=>j,":first-child"),z=h.insert(()=>I);if(e.icon){const Y=h.append("g");Y.html(`<g>${await gm(e.icon,{height:l,width:l,fallbackPrefix:""})}</g>`);const D=Y.node().getBBox(),Z=D.width,Q=D.height,it=D.x,mt=D.y;Y.attr("transform",`translate(${-Z/2-it},${g?f.height/2+O/2-Q/2-mt:-f.height/2-O/2-Q/2-mt})`),Y.attr("style",`color: ${T.get("stroke")??C};`)}return y.attr("transform",`translate(${-f.width/2-(f.x-(f.left??0))},${g?-N/2:N/2-f.height})`),V.attr("transform",`translate(0,${g?f.height/2+O/2:-f.height/2-O/2})`),pr(e,z),e.intersect=function(Y){if(xe.info("iconSquare intersect",e,Y),!e.label)return We.rect(e,Y);const D=e.x??0,Z=e.y??0,Q=e.height??0;let it=[];return g?it=[{x:D-f.width/2,y:Z-Q/2},{x:D+f.width/2,y:Z-Q/2},{x:D+f.width/2,y:Z-Q/2+f.height+O},{x:D+v/2,y:Z-Q/2+f.height+O},{x:D+v/2,y:Z+Q/2},{x:D-v/2,y:Z+Q/2},{x:D-v/2,y:Z-Q/2+f.height+O},{x:D-f.width/2,y:Z-Q/2+f.height+O}]:it=[{x:D-v/2,y:Z-Q/2},{x:D+v/2,y:Z-Q/2},{x:D+v/2,y:Z-Q/2+b},{x:D+f.width/2,y:Z-Q/2+b},{x:D+f.width/2/2,y:Z+Q/2},{x:D-f.width/2,y:Z+Q/2},{x:D-f.width/2,y:Z-Q/2+b},{x:D-v/2,y:Z-Q/2+b}],We.polygon(e,it,Y)},h}$(dB,"iconSquare");async function pB(t,e,{config:{flowchart:r}}){const n=new Image;n.src=e?.img??"",await n.decode();
vendor: 8,733 bytes, line 481
481const i=Number(n.naturalWidth.toString().replace("px","")),a=Number(n.naturalHeight.toString().replace("px",""));e.imageAspectRatio=i/a;const{labelStyles:s}=dr(e);e.labelStyle=s;const l=r?.wrappingWidth;e.defaultWidth=r?.wrappingWidth;const u=Math.max(e.label?l??0:0,e?.assetWidth??i),h=e.constraint==="on"&&e?.assetHeight?e.assetHeight*e.imageAspectRatio:u,f=e.constraint==="on"?h/e.imageAspectRatio:e?.assetHeight??a;e.width=Math.max(h,l??0);const{shapeSvg:p,bbox:y,label:g}=await $r(t,e,"image-shape default"),b=e.pos==="t",v=-h/2,C=-f/2,k=e.label?8:0,T=sr.svg(p),E=ur(e,{});e.look!=="handDrawn"&&(E.roughness=0,E.fillStyle="solid");const L=T.rectangle(v,C,h,f,E),O=Math.max(h,y.width),W=f+y.height+k,q=T.rectangle(-O/2,-W/2,O,W,{...E,fill:"none",stroke:"none"}),U=p.insert(()=>L,":first-child"),j=p.insert(()=>q);if(e.img){const M=p.append("image");M.attr("href",e.img),M.attr("width",h),M.attr("height",f),M.attr("preserveAspectRatio","none"),M.attr("transform",`translate(${-h/2},${b?W/2-f:-W/2})`)}return g.attr("transform",`translate(${-y.width/2-(y.x-(y.left??0))},${b?-f/2-y.height/2-k/2:f/2-y.height/2+k/2})`),U.attr("transform",`translate(0,${b?y.height/2+k/2:-y.height/2-k/2})`),pr(e,j),e.intersect=function(M){if(xe.info("iconSquare intersect",e,M),!e.label)return We.rect(e,M);const N=e.x??0,I=e.y??0,V=e.height??0;let z=[];return b?z=[{x:N-y.width/2,y:I-V/2},{x:N+y.width/2,y:I-V/2},{x:N+y.width/2,y:I-V/2+y.height+k},{x:N+h/2,y:I-V/2+y.height+k},{x:N+h/2,y:I+V/2},{x:N-h/2,y:I+V/2},{x:N-h/2,y:I-V/2+y.height+k},{x:N-y.width/2,y:I-V/2+y.height+k}]:z=[{x:N-h/2,y:I-V/2},{x:N+h/2,y:I-V/2},{x:N+h/2,y:I-V/2+f},{x:N+y.width/2,y:I-V/2+f},{x:N+y.width/2/2,y:I+V/2},{x:N-y.width/2,y:I+V/2},{x:N-y.width/2,y:I-V/2+f},{x:N-h/2,y:I-V/2+f}],We.polygon(e,z,M)},p}$(pB,"imageSquare");async function gB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await $r(t,e,Mr(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=[{x:0,y:0},{x:s,y:0},{x:s+3*l/6,y:-l},{x:-3*l/6,y:-l}];let h;const{cssStyles:f}=e;if(e.look==="handDrawn"){const p=sr.svg(i),y=ur(e,{}),g=fn(u),b=p.path(g,y);h=i.insert(()=>b,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),f&&h.attr("style",f)}else h=Gh(i,s,l,u);return n&&h.attr("style",n),e.width=s,e.height=l,pr(e,h),e.intersect=function(p){return We.polygon(e,u,p)},i}$(gB,"inv_trapezoid");async function Sb(t,e,r){const{labelStyles:n,nodeStyles:i}=dr(e);e.labelStyle=n;const{shapeSvg:a,bbox:s}=await $r(t,e,Mr(e)),l=Math.max(s.width+r.labelPaddingX*2,e?.width||0),u=Math.max(s.height+r.labelPaddingY*2,e?.height||0),h=-l/2,f=-u/2;let p,{rx:y,ry:g}=e;const{cssStyles:b}=e;if(r?.rx&&r.ry&&(y=r.rx,g=r.ry),e.look==="handDrawn"){const v=sr.svg(a),C=ur(e,{}),k=y||g?v.path(Wh(h,f,l,u,y||0),C):v.rectangle(h,f,l,u,C);p=a.insert(()=>k,":first-child"),p.attr("class","basic label-container").attr("style",uo(b))}else p=a.insert("rect",":first-child"),p.attr("class","basic label-container").attr("style",i).attr("rx",uo(y)).attr("ry",uo(g)).attr("x",h).attr("y",f).attr("width",l).attr("height",u);return pr(e,p),e.calcIntersect=function(v,C){return We.rect(v,C)},e.intersect=function(v){return We.rect(e,v)},a}$(Sb,"drawRect");async function mB(t,e){const{shapeSvg:r,bbox:n,label:i}=await $r(t,e,"label"),a=r.insert("rect",":first-child");return a.attr("width",.1).attr("height",.1),r.attr("class","label edgeLabel"),i.attr("transform",`translate(${-(n.width/2)-(n.x-(n.left??0))}, ${-(n.height/2)-(n.y-(n.top??0))})`),pr(e,a),e.intersect=function(u){return We.rect(e,u)},r}$(mB,"labelRect");async function yB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await $r(t,e,Mr(e)),s=Math.max(a.width+(e.padding??0),e?.width??0),l=Math.max(a.height+(e.padding??0),e?.height??0),u=[{x:0,y:0},{x:s+3*l/6,y:0},{x:s,y:-l},{x:-(3*l)/6,y:-l}];let h;const{cssStyles:f}=e;if(e.look==="handDrawn"){const p=sr.svg(i),y=ur(e,{}),g=fn(u),b=p.path(g,y);h=i.insert(()=>b,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),f&&h.attr("style",f)}else h=Gh(i,s,l,u);return n&&h.attr("style",n),e.width=s,e.height=l,pr(e,h),e.intersect=function(p){return We.polygon(e,u,p)},i}$(yB,"lean_left");async function bB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await $r(t,e,Mr(e)),s=Math.max(a.width+(e.padding??0),e?.width??0),l=Math.max(a.height+(e.padding??0),e?.height??0),u=[{x:-3*l/6,y:0},{x:s,y:0},{x:s+3*l/6,y:-l},{x:0,y:-l}];let h;const{cssStyles:f}=e;if(e.look==="handDrawn"){const p=sr.svg(i),y=ur(e,{}),g=fn(u),b=p.path(g,y);h=i.insert(()=>b,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),f&&h.attr("style",f)}else h=Gh(i,s,l,u);return n&&h.attr("style",n),e.width=s,e.height=l,pr(e,h),e.intersect=function(p){return We.polygon(e,u,p)},i}$(bB,"lean_right");function vB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.label="",e.labelStyle=r;const i=t.insert("g").attr("class",Mr(e)).attr("id",e.domId??e.id),{cssStyles:a}=e,s=Math.max(35,e?.width??0),l=Math.max(35,e?.height??0),u=7,h=[{x:s,y:0},{x:0,y:l+u/2},{x:s-2*u,y:l+u/2},{x:0,y:2*l},{x:s,y:l-u/2},{x:2*u,y:l-u/2}],f=sr.svg(i),p=ur(e,{});e.look!=="handDrawn"&&(p.roughness=0,p.fillStyle="solid");const y=fn(h),g=f.path(y,p),b=i.insert(()=>g,":first-child");return a&&e.look!=="handDrawn"&&b.selectAll("path").attr("style",a),n&&e.look!=="handDrawn"&&b.selectAll("path").attr("style",n),b.attr("transform",`translate(-${s/2},${-l})`),pr(e,b),e.intersect=function(v){return xe.info("lightningBolt intersect",e,v),We.polygon(e,h,v)},i}$(vB,"lightningBolt");var ylt=$((t,e,r,n,i,a,s)=>[`M${t},${e+a}`,`a${i},${a} 0,0,0 ${r},0`,`a${i},${a} 0,0,0 ${-r},0`,`l0,${n}`,`a${i},${a} 0,0,0 ${r},0`,`l0,${-n}`,`M${t},${e+a+s}`,`a${i},${a} 0,0,0 ${r},0`].join(" "),"createCylinderPathD"),blt=$((t,e,r,n,i,a,s)=>[`M${t},${e+a}`,`M${t+r},${e+a}`,`a${i},${a} 0,0,0 ${-r},0`,`l0,${n}`,`a${i},${a} 0,0,0 ${r},0`,`l0,${-n}`,`M${t},${e+a+s}`,`a${i},${a} 0,0,0 ${r},0`].join(" "),"createOuterCylinderPathD"),vlt=$((t,e,r,n,i,a)=>[`M${t-r/2},${-n/2}`,`a${i},${a} 0,0,0 ${r},0`].join(" "),"createInnerCylinderPathD");async function xB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await $r(t,e,Mr(e)),l=Math.max(a.width+(e.padding??0),e.width??0),u=l/2,h=u/(2.5+l/50),f=Math.max(a.height+h+(e.padding??0),e.height??0),p=f*.1;let y;const{cssStyles:g}=e;if(e.look==="handDrawn"){const b=sr.svg(i),v=blt(0,0,l,f,u,h,p),C=vlt(0,h,l,f,u,h),k=ur(e,{}),T=b.path(v,k),E=b.path(C,k);i.insert(()=>E,":first-child").attr("class","line"),y=i.insert(()=>T,":first-child"),y.attr("class","basic label-container"),g&&y.attr("style",g)}else{const b=ylt(0,0,l,f,u,h,p);y=i.insert("path",":first-child").attr("d",b).attr("class","basic label-container").attr("style",uo(g)).attr("style",n)}return y.attr("label-offset-y",h),y.attr("transform",`translate(${-l/2}, ${-(f/2+h)})`),pr(e,y),s.attr("transform",`translate(${-(a.width/2)-(a.x-(a.left??0))}, ${-(a.height/2)+h-(a.y-(a.top??0))})`),e.intersect=function(b){const v=We.rect(e,b),C=v.x-(e.x??0);if(u!=0&&(Math.abs(C)<(e.width??0)/2||Math.abs(C)==(e.width??0)/2&&Math.abs(v.y-(e.y??0))>(e.height??0)/2-h)){let k=h*h*(1-C*C/(u*u));k>0&&(k=Math.sqrt(k)),k=h-k,b.y-(e.y??0)>0&&(k=-k),v.y+=k}return v},i}$(xB,"linedCylinder");async function SB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await $r(t,e,Mr(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=u/4,f=u+h,{cssStyles:p}=e,y=sr.svg(i),g=ur(e,{});e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");const b=[{x:-l/2-l/2*.1,y:-f/2},{x:-l/2-l/2*.1,y:f/2},...Ih(-l/2-l/2*.1,f/2,l/2+l/2*.1,f/2,h,.8),{x:l/2+l/2*.1,y:-f/2},{x:-l/2-l/2*.1,y:-f/2},{x:-l/2,y:-f/2},{x:-l/2,y:f/2*1.1},{x:-l/2,y:-f/2}],v=y.polygon(b.map(k=>[k.x,k.y]),g),C=i.insert(()=>v,":first-child");return C.attr("class","basic label-container"),p&&e.look!=="handDrawn"&&C.selectAll("path").attr("style",p),n&&e.look!=="handDrawn"&&C.selectAll("path").attr("style",n),C.attr("transform",`translate(0,${-h/2})`),s.attr("transform",`translate(${-l/2+(e.padding??0)+l/2*.1/2-(a.x-(a.left??0))},${-u/2+(e.padding??0)-h/2-(a.y-(a.top??0))})`),pr(e,C),e.intersect=function(k){return We.polygon(e,b,k)},i}$(SB,"linedWaveEdgedRect");async function wB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await $r(t,e,Mr(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=5,f=-l/2,p=-u/2,{cssStyles:y}=e,g=sr.svg(i),b=ur(e,{}),v=[{x:f-h,y:p+h},{x:f-h,y:p+u+h},{x:f+l-h,y:p+u+h},{x:f+l-h,y:p+u}
vendor: 4,483 bytes, line 481
481,{x:f+l,y:p+u},{x:f+l,y:p+u-h},{x:f+l+h,y:p+u-h},{x:f+l+h,y:p-h},{x:f+h,y:p-h},{x:f+h,y:p},{x:f,y:p},{x:f,y:p+h}],C=[{x:f,y:p+h},{x:f+l-h,y:p+h},{x:f+l-h,y:p+u},{x:f+l,y:p+u},{x:f+l,y:p},{x:f,y:p}];e.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const k=fn(v),T=g.path(k,b),E=fn(C),L=g.path(E,{...b,fill:"none"}),O=i.insert(()=>L,":first-child");return O.insert(()=>T,":first-child"),O.attr("class","basic label-container"),y&&e.look!=="handDrawn"&&O.selectAll("path").attr("style",y),n&&e.look!=="handDrawn"&&O.selectAll("path").attr("style",n),s.attr("transform",`translate(${-(a.width/2)-h-(a.x-(a.left??0))}, ${-(a.height/2)+h-(a.y-(a.top??0))})`),pr(e,O),e.intersect=function(W){return We.polygon(e,v,W)},i}$(wB,"multiRect");async function CB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await $r(t,e,Mr(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=u/4,f=u+h,p=-l/2,y=-f/2,g=5,{cssStyles:b}=e,v=Ih(p-g,y+f+g,p+l-g,y+f+g,h,.8),C=v?.[v.length-1],k=[{x:p-g,y:y+g},{x:p-g,y:y+f+g},...v,{x:p+l-g,y:C.y-g},{x:p+l,y:C.y-g},{x:p+l,y:C.y-2*g},{x:p+l+g,y:C.y-2*g},{x:p+l+g,y:y-g},{x:p+g,y:y-g},{x:p+g,y},{x:p,y},{x:p,y:y+g}],T=[{x:p,y:y+g},{x:p+l-g,y:y+g},{x:p+l-g,y:C.y-g},{x:p+l,y:C.y-g},{x:p+l,y},{x:p,y}],E=sr.svg(i),L=ur(e,{});e.look!=="handDrawn"&&(L.roughness=0,L.fillStyle="solid");const O=fn(k),W=E.path(O,L),q=fn(T),U=E.path(q,L),j=i.insert(()=>W,":first-child");return j.insert(()=>U),j.attr("class","basic label-container"),b&&e.look!=="handDrawn"&&j.selectAll("path").attr("style",b),n&&e.look!=="handDrawn"&&j.selectAll("path").attr("style",n),j.attr("transform",`translate(0,${-h/2})`),s.attr("transform",`translate(${-(a.width/2)-g-(a.x-(a.left??0))}, ${-(a.height/2)+g-h/2-(a.y-(a.top??0))})`),pr(e,j),e.intersect=function(M){return We.polygon(e,k,M)},i}$(CB,"multiWaveEdgedRectangle");async function kB(t,e,{config:{themeVariables:r}}){const{labelStyles:n,nodeStyles:i}=dr(e);e.labelStyle=n,e.useHtmlLabels||lo().flowchart?.htmlLabels!==!1||(e.centerLabel=!0);const{shapeSvg:s,bbox:l,label:u}=await $r(t,e,Mr(e)),h=Math.max(l.width+(e.padding??0)*2,e?.width??0),f=Math.max(l.height+(e.padding??0)*2,e?.height??0),p=-h/2,y=-f/2,{cssStyles:g}=e,b=sr.svg(s),v=ur(e,{fill:r.noteBkgColor,stroke:r.noteBorderColor});e.look!=="handDrawn"&&(v.roughness=0,v.fillStyle="solid");const C=b.rectangle(p,y,h,f,v),k=s.insert(()=>C,":first-child");return k.attr("class","basic label-container"),g&&e.look!=="handDrawn"&&k.selectAll("path").attr("style",g),i&&e.look!=="handDrawn"&&k.selectAll("path").attr("style",i),u.attr("transform",`translate(${-l.width/2-(l.x-(l.left??0))}, ${-(l.height/2)-(l.y-(l.top??0))})`),pr(e,k),e.intersect=function(T){return We.rect(e,T)},s}$(kB,"note");var xlt=$((t,e,r)=>[`M${t+r/2},${e}`,`L${t+r},${e-r/2}`,`L${t+r/2},${e-r}`,`L${t},${e-r/2}`,"Z"].join(" "),"createDecisionBoxPathD");async function _B(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await $r(t,e,Mr(e)),s=a.width+e.padding,l=a.height+e.padding,u=s+l,h=.5,f=[{x:u/2,y:0},{x:u,y:-u/2},{x:u/2,y:-u},{x:0,y:-u/2}];let p;const{cssStyles:y}=e;if(e.look==="handDrawn"){const g=sr.svg(i),b=ur(e,{}),v=xlt(0,0,u),C=g.path(v,b);p=i.insert(()=>C,":first-child").attr("transform",`translate(${-u/2+h}, ${u/2})`),y&&p.attr("style",y)}else p=Gh(i,u,u,f),p.attr("transform",`translate(${-u/2+h}, ${u/2})`);return n&&p.attr("style",n),pr(e,p),e.calcIntersect=function(g,b){const v=g.width,C=[{x:v/2,y:0},{x:v,y:-v/2},{x:v/2,y:-v},{x:0,y:-v/2}],k=We.polygon(g,C,b);return{x:k.x-.5,y:k.y-.5}},e.intersect=function(g){return this.calcIntersect(e,g)},i}$(_B,"question");async function AB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await $r(t,e,Mr(e)),l=Math.max(a.width+(e.padding??0),e?.width??0),u=Math.max(a.height+(e.padding??0),e?.height??0),h=-l/2,f=-u/2,p=f/2,y=[{x:h+p,y:f},{x:h,y:0},{x:h+p,y:-f},{x:-h,y:-f},{x:-h,y:f}],{cssStyles:g}=e,b=sr.svg(i),v=ur(e,{});e.look!=="handDrawn"&&(v.roughness=0,v.fillStyle="solid");const C=fn(y),k=b.path(C,v),T=i.insert(()=>k,":first-child");return T.attr("class","basic label-container"),g&&e.look!=="handDrawn"&&T.selectAll("path").attr("style",g),n&&e.look!=="handDrawn"&&T.selectAll("path").attr("style",n),T.attr("transform",`translate(${-p/2},0)`),s.attr("transform",`translate(${-p/2-a.width/2-(a.x-(a.left??0))}, ${-(a.height/2)-(a.y-(a.top??0))}
481)`),pr(e,T),e.intersect=function(E){return We.polygon(e,y,E)},i}$(AB,"rect_left_inv_arrow");async function TB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;let i;e.cssClasses?i="node "+e.cssClasses:i="node default";const a=t.insert("g").attr("class",i).attr("id",e.domId||e.id),s=a.insert("g"),l=a.insert("g").attr("class","label").attr("style",n),u=e.description,h=e.label,f=l.node().appendChild(await Ef(h,e.labelStyle,!0,!0));let p={width:0,height:0};if(wa(qn()?.flowchart?.htmlLabels)){const U=f.children[0],j=Tn(f);p=U.getBoundingClientRect(),j.attr("width",p.width),j.attr("height",p.height)}xe.info("Text 2",u);const y=u||[],g=f.getBBox(),b=l.node().appendChild(await Ef(y.join?y.join("<br/>"):y,e.labelStyle,!0,!0)),v=b.children[0],C=Tn(b);p=v.getBoundingClientRect(),C.attr("width",p.width),C.attr("height",p.height);const k=(e.padding||0)/2;Tn(b).attr("transform","translate( "+(p.width>g.width?0:(g.width-p.width)/2)+", "+(g.height+k+5)+")"),Tn(f).attr("transform","translate( "+(p.width<g.width?0:-(g.width-p.width)/2)+", 0)"),p=l.node().getBBox(),l.attr("transform","translate("+-p.width/2+", "+(-p.height/2-k+3)+")");const T=p.width+(e.padding||0),E=p.height+(e.padding||0),L=-p.width/2-k,O=-p.height/2-k;let W,q;if(e.look==="handDrawn"){const U=sr.svg(a),j=ur(e,{}),M=U.path(Wh(L,O,T,E,e.rx||0),j),N=U.line(-p.width/2-k,-p.height/2-k+g.height+k,p.width/2+k,-p.height/2-k+g.height+k,j);q=a.insert(()=>(xe.debug("Rough node insert CXC",M),N),":first-child"),W=a.insert(()=>(xe.debug("Rough node insert CXC",M),M),":first-child")}else W=s.insert("rect",":first-child"),q=s.insert("line"),W.attr("class","outer title-state").attr("style",n).attr("x",-p.width/2-k).attr("y",-p.height/2-k).attr("width",p.width+(e.padding||0)).attr("height",p.height+(e.padding||0)),q.attr("class","divider").attr("x1",-p.width/2-k).attr("x2",p.width/2+k).attr("y1",-p.height/2-k+g.height+k).attr("y2",-p.height/2-k+g.height+k);return pr(e,W),e.intersect=function(U){return We.rect(e,U)},a}$(TB,"rectWithTitle");function l0(t,e,r,n,i,a,s){const u=(t+r)/2,h=(e+n)/2,f=Math.atan2(n-e,r-t),p=(r-t)/2,y=(n-e)/2,g=p/i,b=y/a,v=Math.sqrt(g**2+b**2);if(v>1)throw new Error("The given radii are too small to create an arc between the points.");const C=Math.sqrt(1-v**2),k=u+C*a*Math.sin(f)*(s?-1:1),T=h-C*i*Math.cos(f)*(s?-1:1),E=Math.atan2((e-T)/a,(t-k)/i);let O=Math.atan2((n-T)/a,(r-k)/i)-E;s&&O<0&&(O+=2*Math.PI),!s&&O>0&&(O-=2*Math.PI);const W=[];for(let q=0;q<20;q++){const U=q/19,j=E+U*O,M=k+i*Math.cos(j),N=T+a*Math.sin(j);W.push({x:M,y:N})}return W}$(l0,"generateArcPoints");async function LB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await $r(t,e,Mr(e)),s=e?.padding??0,l=e?.padding??0,u=(e?.width?e?.width:a.width)+s*2,h=(e?.height?e?.height:a.height)+l*2,f=e.radius||5,p=e.taper||5,{cssStyles:y}=e,g=sr.svg(i),b=ur(e,{});e.stroke&&(b.stroke=e.stroke),e.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const v=[{x:-u/2+p,y:-h/2},{x:u/2-p,y:-h/2},...l0(u/2-p,-h/2,u/2,-h/2+p,f,f,!0),{x:u/2,y:-h/2+p},{x:u/2,y:h/2-p},...l0(u/2,h/2-p,u/2-p,h/2,f,f,!0),{x:u/2-p,y:h/2},{x:-u/2+p,y:h/2},...l0(-u/2+p,h/2,-u/2,h/2-p,f,f,!0),{x:-u/2,y:h/2-p},{x:-u/2,y:-h/2+p},...l0(-u/2,-h/2+p,-u/2+p,-h/2,f,f,!0)],C=fn(v),k=g.path(C,b),T=i.insert(()=>k,":first-child");return T.attr("class","basic label-container outer-path"),y&&e.look!=="handDrawn"&&T.selectChildren("path").attr("style",y),n&&e.look!=="handDrawn"&&T.selectChildren("path").attr("style",n),pr(e,T),e.intersect=function(E){return We.polygon(e,v,E)},i}$(LB,"roundedRect");async function EB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await $r(t,e,Mr(e)),l=e?.padding??0,u=Math.max(a.width+(e.padding??0)*2,e?.width??0),h=Math.max(a.height+(e.padding??0)*2,e?.height??0),f=-a.width/2-l,p=-a.height/2-l,{cssStyles:y}=e,g=sr.svg(i),b=ur(e,{});e.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const v=[{x:f,y:p},{x:f+u+8,y:p},{x:f+u+8,y:p+h},{x:f-8,y:p+h},{x:f-8,y:p},{x:f,y:p},{x:f,y:p+h}],C=g.polygon(v.map(T=>[T.x,T.y]),b),k=i.insert(()=>C,":first-child");return k.attr("class","basic label-container").attr("style",uo(y)),n&&e.look!=="handDrawn"&&k.selectAll("path").attr("style",n),y&&e.look!=="handDrawn"&&k.selectAll("path").attr("style",n),s.attr("transform",`translate(${-u/2+4+(e.padding??0)-(a.x-(a.left??0))},${-h/2+(e.padding??0)-(a.y-(a.top??0))}
481)`),pr(e,k),e.intersect=function(T){return We.rect(e,T)},i}$(EB,"shadedProcess");async function MB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await $r(t,e,Mr(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=-l/2,f=-u/2,{cssStyles:p}=e,y=sr.svg(i),g=ur(e,{});e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");const b=[{x:h,y:f},{x:h,y:f+u},{x:h+l,y:f+u},{x:h+l,y:f-u/2}],v=fn(b),C=y.path(v,g),k=i.insert(()=>C,":first-child");return k.attr("class","basic label-container"),p&&e.look!=="handDrawn"&&k.selectChildren("path").attr("style",p),n&&e.look!=="handDrawn"&&k.selectChildren("path").attr("style",n),k.attr("transform",`translate(0, ${u/4})`),s.attr("transform",`translate(${-l/2+(e.padding??0)-(a.x-(a.left??0))}, ${-u/4+(e.padding??0)-(a.y-(a.top??0))})`),pr(e,k),e.intersect=function(T){return We.polygon(e,b,T)},i}$(MB,"slopedRect");async function RB(t,e){const r={rx:0,ry:0,labelPaddingX:e.labelPaddingX??(e?.padding||0)*2,labelPaddingY:(e?.padding||0)*1};return Sb(t,e,r)}$(RB,"squareRect");async function NB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await $r(t,e,Mr(e)),s=a.height+e.padding,l=a.width+s/4+e.padding,u=s/2,{cssStyles:h}=e,f=sr.svg(i),p=ur(e,{});e.look!=="handDrawn"&&(p.roughness=0,p.fillStyle="solid");const y=[{x:-l/2+u,y:-s/2},{x:l/2-u,y:-s/2},...Y0(-l/2+u,0,u,50,90,270),{x:l/2-u,y:s/2},...Y0(l/2-u,0,u,50,270,450)],g=fn(y),b=f.path(g,p),v=i.insert(()=>b,":first-child");return v.attr("class","basic label-container outer-path"),h&&e.look!=="handDrawn"&&v.selectChildren("path").attr("style",h),n&&e.look!=="handDrawn"&&v.selectChildren("path").attr("style",n),pr(e,v),e.intersect=function(C){return We.polygon(e,y,C)},i}$(NB,"stadium");async function BB(t,e){return Sb(t,e,{rx:5,ry:5})}$(BB,"state");function OB(t,e,{config:{themeVariables:r}}){const{labelStyles:n,nodeStyles:i}=dr(e);e.labelStyle=n;const{cssStyles:a}=e,{lineColor:s,stateBorder:l,nodeBorder:u}=r,h=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),f=sr.svg(h),p=ur(e,{});e.look!=="handDrawn"&&(p.roughness=0,p.fillStyle="solid");const y=f.circle(0,0,14,{...p,stroke:s,strokeWidth:2}),g=l??u,b=f.circle(0,0,5,{...p,fill:g,stroke:g,strokeWidth:2,fillStyle:"solid"}),v=h.insert(()=>y,":first-child");return v.insert(()=>b),a&&v.selectAll("path").attr("style",a),i&&v.selectAll("path").attr("style",i),pr(e,v),e.intersect=function(C){return We.circle(e,7,C)},h}$(OB,"stateEnd");function PB(t,e,{config:{themeVariables:r}}){const{lineColor:n}=r,i=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let a;if(e.look==="handDrawn"){const l=sr.svg(i).circle(0,0,14,Pnt(n));a=i.insert(()=>l),a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14)}else a=i.insert("circle",":first-child"),a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14);return pr(e,a),e.intersect=function(s){return We.circle(e,7,s)},i}$(PB,"stateStart");async function $B(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await $r(t,e,Mr(e)),s=(e?.padding||0)/2,l=a.width+e.padding,u=a.height+e.padding,h=-a.width/2-s,f=-a.height/2-s,p=[{x:0,y:0},{x:l,y:0},{x:l,y:-u},{x:0,y:-u},{x:0,y:0},{x:-8,y:0},{x:l+8,y:0},{x:l+8,y:-u},{x:-8,y:-u},{x:-8,y:0}];if(e.look==="handDrawn"){const y=sr.svg(i),g=ur(e,{}),b=y.rectangle(h-8,f,l+16,u,g),v=y.line(h,f,h,f+u,g),C=y.line(h+l,f,h+l,f+u,g);i.insert(()=>v,":first-child"),i.insert(()=>C,":first-child");const k=i.insert(()=>b,":first-child"),{cssStyles:T}=e;k.attr("class","basic label-container").attr("style",uo(T)),pr(e,k)}else{const y=Gh(i,l,u,p);n&&y.attr("style",n),pr(e,y)}return e.intersect=function(y){return We.polygon(e,p,y)},i}$($B,"subroutine");async function jB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await $r(t,e,Mr(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=-s/2,h=-l/2,f=.2*l,p=.2*l,{cssStyles:y}=e,g=sr.svg(i),b=ur(e,{}),v=[{x:u-f/2,y:h},{x:u+s+f/2,y:h},{x:u+s+f/2,y:h+l},{x:u-f/2,y:h+l}],C=[{x:u+s-f/2,y:h+l},{x:u+s+f/2,y:h+l},{x:u+s+f/2,y:h+l-p}];e.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const k=fn(v),T=g.path(k,b),E=fn(C),L=g.path(E,{...b,fillStyle:"solid"}),O=i.insert(()=>L,":first-child");return O.insert(()=>T,":first-child"),O.attr("class","basic label-container"),y&&e.look!=="handDrawn"&&O.selectAll("path").attr("style",y),n&&e.look!=="handDrawn"&&O.selectAll("path").attr("style",n),pr(e,O),e.intersect=function(W){return We.polygon(e,v,W)},i}$(jB,"taggedRect");async function DB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await $r(t,e,Mr(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=u/4,f=.2*l,p=.2*u,y=u+h,{cssStyles:g}=e,b=sr.svg(i),v=ur(e,{});e.look!=="handDrawn"&&(v.roughness=0,v.fillStyle="solid");const C=[{x:-l/2-l/2*.1,y:y/2},...Ih(-l/2-l/2*.1,y/2,l/2+l/2*.1,y/2,h,.8),{x:l/2+l/2*.1,y:-y/2},{x:-l/2-l/2*.1,y:-y/2}],k=-l/2+l/2*.1,T=-y/2-p*.4,E=[{x:k+l-f,y:(T+u)*1.4},{x:k+l,y:T+u-p},{x:k+l,y:(T+u)*.9},...Ih(k+l,(T+u)*1.3,k+l-f,(T+u)*1.5,-u*.03,.5)],L=fn(C),O=b.path(L,v),W=fn(E),q=b.path(W,{...v,fillStyle:"solid"}),U=i.insert(()=>q,":first-child");return U.insert(()=>O,":first-child"),U.attr("class","basic label-container"),g&&e.look!=="handDrawn"&&U.selectAll("path").attr("style",g),n&&e.look!=="handDrawn"&&U.selectAll("path").attr("style",n),U.attr("transform",`translate(0,${-h/2})`),s.attr("transform",`translate(${-l/2+(e.padding??0)-(a.x-(a.left??0))},${-u/2+(e.padding??0)-h/2-(a.y-(a.top??0))}
481)`),pr(e,U),e.intersect=function(j){return We.polygon(e,C,j)},i}$(DB,"taggedWaveEdgedRectangle");async function IB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await $r(t,e,Mr(e)),s=Math.max(a.width+e.padding,e?.width||0),l=Math.max(a.height+e.padding,e?.height||0),u=-s/2,h=-l/2,f=i.insert("rect",":first-child");return f.attr("class","text").attr("style",n).attr("rx",0).attr("ry",0).attr("x",u).attr("y",h).attr("width",s).attr("height",l),pr(e,f),e.intersect=function(p){return We.rect(e,p)},i}$(IB,"text");var Slt=$((t,e,r,n,i,a)=>`M${t},${e}
482    a${i},${a} 0,0,1 0,${-n}
483    l${r},0
484    a${i},${a} 0,0,1 0,${n}
485    M${r},${-n}
486    a${i},${a} 0,0,0 0,${n}
487    l${-r},0`,"createCylinderPathD"),wlt=$((t,e,r,n,i,a)=>[`M${t},${e}`,`M${t+r},${e}`,`a${i},${a} 0,0,0 0,${-n}`,`l${-r},0`,`a${i},${a} 0,0,0 0,${n}`,`l${r},0`].join(" "),"createOuterCylinderPathD"),Clt=$((t,e,r,n,i,a)=>[`M${t+r/2},${-n/2}`,`a${i},${a} 0,0,0 0,${n}`].join(" "),"createInnerCylinderPathD");async function zB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s,halfPadding:l}=await $r(t,e,Mr(e)),u=e.look==="neo"?l*2:l,h=a.height+u,f=h/2,p=f/(2.5+h/50),y=a.width+p+u,{cssStyles:g}=e;let b;if(e.look==="handDrawn"){const v=sr.svg(i),C=wlt(0,0,y,h,p,f),k=Clt(0,0,y,h,p,f),T=v.path(C,ur(e,{})),E=v.path(k,ur(e,{fill:"none"}));b=i.insert(()=>E,":first-child"),b=i.insert(()=>T,":first-child"),b.attr("class","basic label-container"),g&&b.attr("style",g)}else{const v=Slt(0,0,y,h,p,f);b=i.insert("path",":first-child").attr("d",v).attr("class","basic label-container").attr("style",uo(g)).attr("style",n),b.attr("class","basic label-container"),g&&b.selectAll("path").attr("style",g),n&&b.selectAll("path").attr("style",n)}return b.attr("label-offset-x",p),b.attr("transform",`translate(${-y/2}, ${h/2} )`),s.attr("transform",`translate(${-(a.width/2)-p-(a.x-(a.left??0))}, ${-(a.height/2)-(a.y-(a.top??0))})`),pr(e,b),e.intersect=function(v){const C=We.rect(e,v),k=C.y-(e.y??0);if(f!=0&&(Math.abs(k)<(e.height??0)/2||Math.abs(k)==(e.height??0)/2&&Math.abs(C.x-(e.x??0))>(e.width??0)/2-p)){let T=p*p*(1-k*k/(f*f));T!=0&&(T=Math.sqrt(Math.abs(T))),T=p-T,v.x-(e.x??0)>0&&(T=-T),C.x+=T}return C},i}$(zB,"tiltedCylinder");async function FB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await $r(t,e,Mr(e)),s=a.width+e.padding,l=a.height+e.padding,u=[{x:-3*l/6,y:0},{x:s+3*l/6,y:0},{x:s,y:-l},{x:0,y:-l}];let h;const{cssStyles:f}=e;if(e.look==="handDrawn"){const p=sr.svg(i),y=ur(e,{}),g=fn(u),b=p.path(g,y);h=i.insert(()=>b,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),f&&h.attr("style",f)}else h=Gh(i,s,l,u);return n&&h.attr("style",n),e.width=s,e.height=l,pr(e,h),e.intersect=function(p){return We.polygon(e,u,p)},i}$(FB,"trapezoid");async function qB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await $r(t,e,Mr(e)),s=60,l=20,u=Math.max(s,a.width+(e.padding??0)*2,e?.width??0),h=Math.max(l,a.height+(e.padding??0)*2,e?.height??0),{cssStyles:f}=e,p=sr.svg(i),y=ur(e,{});e.look!=="handDrawn"&&(y.roughness=0,y.fillStyle="solid");const g=[{x:-u/2*.8,y:-h/2},{x:u/2*.8,y:-h/2},{x:u/2,y:-h/2*.6},{x:u/2,y:h/2},{x:-u/2,y:h/2},{x:-u/2,y:-h/2*.6}],b=fn(g),v=p.path(b,y),C=i.insert(()=>v,":first-child");return C.attr("class","basic label-container"),f&&e.look!=="handDrawn"&&C.selectChildren("path").attr("style",f),n&&e.look!=="handDrawn"&&C.selectChildren("path").attr("style",n),pr(e,C),e.intersect=function(k){return We.polygon(e,g,k)},i}$(qB,"trapezoidalPentagon");async function HB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await $r(t,e,Mr(e)),l=wa(qn().flowchart?.htmlLabels),u=a.width+(e.padding??0),h=u+a.height,f=u+a.height,p=[{x:0,y:0},{x:f,y:0},{x:f/2,y:-h}],{cssStyles:y}=e,g=sr.svg(i),b=ur(e,{});e.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const v=fn(p),C=g.path(v,b),k=i.insert(()=>C,":first-child").attr("transform",`translate(${-h/2}, ${h/2})`);return y&&e.look!=="handDrawn"&&k.selectChildren("path").attr("style",y),n&&e.look!=="handDrawn"&&k.selectChildren("path").attr("style",n),e.width=u,e.height=h,pr(e,k),s.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}
487, ${h/2-(a.height+(e.padding??0)/(l?2:1)-(a.y-(a.top??0)))})`),e.intersect=function(T){return xe.info("Triangle intersect",e,p,T),We.polygon(e,p,T)},i}$(HB,"triangle");async function UB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await $r(t,e,Mr(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=u/8,f=u+h,{cssStyles:p}=e,g=70-l,b=g>0?g/2:0,v=sr.svg(i),C=ur(e,{});e.look!=="handDrawn"&&(C.roughness=0,C.fillStyle="solid");const k=[{x:-l/2-b,y:f/2},...Ih(-l/2-b,f/2,l/2+b,f/2,h,.8),{x:l/2+b,y:-f/2},{x:-l/2-b,y:-f/2}],T=fn(k),E=v.path(T,C),L=i.insert(()=>E,":first-child");return L.attr("class","basic label-container"),p&&e.look!=="handDrawn"&&L.selectAll("path").attr("style",p),n&&e.look!=="handDrawn"&&L.selectAll("path").attr("style",n),L.attr("transform",`translate(0,${-h/2})`),s.attr("transform",`translate(${-l/2+(e.padding??0)-(a.x-(a.left??0))},${-u/2+(e.padding??0)-h-(a.y-(a.top??0))})`),pr(e,L),e.intersect=function(O){return We.polygon(e,k,O)},i}$(UB,"waveEdgedRectangle");async function WB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await $r(t,e,Mr(e)),s=100,l=50,u=Math.max(a.width+(e.padding??0)*2,e?.width??0),h=Math.max(a.height+(e.padding??0)*2,e?.height??0),f=u/h;let p=u,y=h;p>y*f?y=p/f:p=y*f,p=Math.max(p,s),y=Math.max(y,l);const g=Math.min(y*.2,y/4),b=y+g*2,{cssStyles:v}=e,C=sr.svg(i),k=ur(e,{});e.look!=="handDrawn"&&(k.roughness=0,k.fillStyle="solid");const T=[{x:-p/2,y:b/2},...Ih(-p/2,b/2,p/2,b/2,g,1),{x:p/2,y:-b/2},...Ih(p/2,-b/2,-p/2,-b/2,g,-1)],E=fn(T),L=C.path(E,k),O=i.insert(()=>L,":first-child");return O.attr("class","basic label-container"),v&&e.look!=="handDrawn"&&O.selectAll("path").attr("style",v),n&&e.look!=="handDrawn"&&O.selectAll("path").attr("style",n),pr(e,O),e.intersect=function(W){return We.polygon(e,T,W)},i}$(WB,"waveRectangle");async function GB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await $r(t,e,Mr(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=5,f=-l/2,p=-u/2,{cssStyles:y}=e,g=sr.svg(i),b=ur(e,{}),v=[{x:f-h,y:p-h},{x:f-h,y:p+u},{x:f+l,y:p+u},{x:f+l,y:p-h}],C=`M${f-h},${p-h} L${f+l},${p-h} L${f+l},${p+u} L${f-h},${p+u} L${f-h},${p-h}
488                M${f-h},${p} L${f+l},${p}
489                M${f},${p-h} L${f},${p+u}`;e.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const k=g.path(C,b),T=i.insert(()=>k,":first-child");return T.attr("transform",`translate(${h/2}, ${h/2})`),T.attr("class","basic label-container"),y&&e.look!=="handDrawn"&&T.selectAll("path").attr("style",y),n&&e.look!=="handDrawn"&&T.selectAll("path").attr("style",n),s.attr("transform",`translate(${-(a.width/2)+h/2-(a.x-(a.left??0))}, ${-(a.height/2)+h/2-(a.y-(a.top??0))})`),pr(e,T),e.intersect=function(E){return We.polygon(e,v,E)},i}$(GB,"windowPane");async function RC(t,e){const r=e;if(r.alias&&(e.label=r.alias),e.look==="handDrawn"){const{themeVariables:P}=lo(),{background:X}=P,et={...e,id:e.id+"-background",look:"default",cssStyles:["stroke: none",`fill: ${X}`]};await RC(t,et)}const n=lo();e.useHtmlLabels=n.htmlLabels;let i=n.er?.diagramPadding??10,a=n.er?.entityPadding??6;const{cssStyles:s}=e,{labelStyles:l,nodeStyles:u}=dr(e);if(r.attributes.length===0&&e.label){const P={rx:0,ry:0,labelPaddingX:i,labelPaddingY:i*1.5};Eu(e.label,n)+P.labelPaddingX*2<n.er.minEntityWidth&&(e.width=n.er.minEntityWidth);const X=await Sb(t,e,P);if(!wa(n.htmlLabels)){const et=X.select("text"),rt=et.node()?.getBBox();et.attr("transform",`translate(${-rt.width/2}, 0)`)}return X}n.htmlLabels||(i*=1.25,a*=1.25);let h=Mr(e);h||(h="node default");const f=t.insert("g").attr("class",h).attr("id",e.domId||e.id),p=await np(f,e.label??"",n,0,0,["name"],l);p.height+=a;let y=0;const g=[],b=[];let v=0,C=0,k=0,T=0,E=!0,L=!0;for(const P of r.attributes){const X=await np(f,P.type,n,0,y,["attribute-type"],l);v=Math.max(v,X.width+i);const et=await np(f,P.name,n,0,y,["attribute-name"],l);C=Math.max(C,et.width+i);const rt=await np(f,P.keys.join(),n,0,y,["attribute-keys"],l);k=Math.max(k,rt.width+i);const lt=await np(f,P.comment,n,0,y,["attribute-comment"],l);T=Math.max(T,lt.width+i);const ht=Math.max(X.height,et.height,rt.height,lt.height)+a;b.push({yOffset:y,rowHeight:ht}),y+=ht}let O=4;k<=i&&(E=!1,k=0,O--),T<=i&&(L=!1,T=0,O--);const W=f.node().getBBox();if(p.width+i*2-(v+C+k+T)>0){const P=p.width+i*2-(v+C+k+T);v+=P/O,C+=P/O,k>0&&(k+=P/O),T>0&&(T+=P/O)}const q=v+C+k+T,U=sr.svg(f),j=ur(e,{});e.look!=="handDrawn"&&(j.roughness=0,j.fillStyle="solid");let M=0;b.length>0&&(M=b.reduce((P,X)=>P+(X?.rowHeight??0),0));const N=Math.max(W.width+i*2,e?.width||0,q),I=Math.max((M??0)+p.height,e?.height||0),V=-N/2,z=-I/2;f.selectAll("g:not(:first-child)").each((P,X,et)=>{const rt=Tn(et[X]),lt=rt.attr("transform");let ht=0,bt=0;if(lt){const kt=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(lt);kt&&(ht=parseFloat(kt[1]),bt=parseFloat(kt[2]),rt.attr("class").includes("attribute-name")?ht+=v:rt.attr("class").includes("attribute-keys")?ht+=v+C:rt.attr("class").includes("attribute-comment")&&(ht+=v+C+k))}rt.attr("transform",`translate(${V+i/2+ht}, ${bt+z+p.height+a/2})`)}),f.select(".name").attr("transform","translate("+-p.width/2+", "+(z+a/2)+")");const Y=U.rectangle(V,z,N,I,j),D=f.insert(()=>Y,":first-child").attr("style",s.join("")),{themeVariables:Z}=lo(),{rowEven:Q,rowOdd:it,nodeBorder:mt}=Z;g.push(0);for(const[P,X]of b.entries()){const rt=(P+1)%2===0&&X.yOffset!==0,lt=U.rectangle(V,p.height+z+X?.yOffset,N,X?.rowHeight,{...j,fill:rt?Q:it,stroke:mt});f.insert(()=>lt,"g.label").attr("style",s.join("")).attr("class",`row-rect-${rt?"even":"odd"}`)}let K=U.line(V,p.height+z,N+V,p.height+z,j);f.insert(()=>K).attr("class","divider"),K=U.line(v+V,p.height+z,v+V,I+z,j),f.insert(()=>K).attr("class","divider"),E&&(K=U.line(v+C+V,p.height+z,v+C+V,I+z,j),f.insert(()=>K).attr("class","divider")),L&&(K=U.line(v+C+k+V,p.height+z,v+C+k+V,I+z,j),f.insert(()=>K).attr("class","divider"));for(const P of g)K=U.line(V,p.height+z+P,N+V,p.height+z+P,j),f.insert(()=>K).attr("class","divider");if(pr(e,D),u&&e.look!=="handDrawn"){const X=u.split(";")?.filter(et=>et.includes("stroke"))?.map(et=>`${et}`).join("; ");f.selectAll("path").attr("style",X??""),f.selectAll(".row-rect-even path").attr("style",u)}return e.intersect=function(P){return We.rect(e,P)},f}$(RC,"erBox");async function np(t,e,r,n=0,i=0,a=[],s=""){const l=t.insert("g").attr("class",`label ${a.join(" ")}`).attr("transform",`translate(${n}, ${i})`).attr("style",s);e!==E6(e)&&(e=E6(e),e=e.replaceAll("<","&lt;").replaceAll(">","&gt;"));const u=l.node().appendChild(await Uh(l,e,{width:Eu(e,r)+100,style:s,useHtmlLabels:r.htmlLabels},r));if(e.includes("&lt;")||e.includes("&gt;")){let f=u.children[0];for(f.textContent=f.textContent.replaceAll("&lt;","<").replaceAll("&gt;",">");f.childNodes[0];)f=f.childNodes[0],f.textContent=f.textContent.replaceAll("&lt;","<").replaceAll("&gt;",">")}let h=u.getBBox();
vendor: 6,783 bytes, line 489
489if(wa(r.htmlLabels)){const f=u.children[0];f.style.textAlign="start";const p=Tn(u);h=f.getBoundingClientRect(),p.attr("width",h.width),p.attr("height",h.height)}return h}$(np,"addText");async function VB(t,e,r,n,i=r.class.padding??12){const a=n?0:3,s=t.insert("g").attr("class",Mr(e)).attr("id",e.domId||e.id);let l=null,u=null,h=null,f=null,p=0,y=0,g=0;if(l=s.insert("g").attr("class","annotation-group text"),e.annotations.length>0){const T=e.annotations[0];await c0(l,{text:`«${T}»`},0),p=l.node().getBBox().height}u=s.insert("g").attr("class","label-group text"),await c0(u,e,0,["font-weight: bolder"]);const b=u.node().getBBox();y=b.height,h=s.insert("g").attr("class","members-group text");let v=0;for(const T of e.members){const E=await c0(h,T,v,[T.parseClassifier()]);v+=E+a}g=h.node().getBBox().height,g<=0&&(g=i/2),f=s.insert("g").attr("class","methods-group text");let C=0;for(const T of e.methods){const E=await c0(f,T,C,[T.parseClassifier()]);C+=E+a}let k=s.node().getBBox();if(l!==null){const T=l.node().getBBox();l.attr("transform",`translate(${-T.width/2})`)}return u.attr("transform",`translate(${-b.width/2}, ${p})`),k=s.node().getBBox(),h.attr("transform",`translate(0, ${p+y+i*2})`),k=s.node().getBBox(),f.attr("transform",`translate(0, ${p+y+(g?g+i*4:i*2)})`),k=s.node().getBBox(),{shapeSvg:s,bbox:k}}$(VB,"textHelper");async function c0(t,e,r,n=[]){const i=t.insert("g").attr("class","label").attr("style",n.join("; ")),a=lo();let s="useHtmlLabels"in e?e.useHtmlLabels:wa(a.htmlLabels)??!0,l="";"text"in e?l=e.text:l=e.label,!s&&l.startsWith("\\")&&(l=l.substring(1)),Np(l)&&(s=!0);const u=await Uh(i,Fw(ad(l)),{width:Eu(l,a)+50,classes:"markdown-node-label",useHtmlLabels:s},a);let h,f=1;if(s){const p=u.children[0],y=Tn(u);f=p.innerHTML.split("<br>").length,p.innerHTML.includes("</math>")&&(f+=p.innerHTML.split("<mrow>").length-1);const g=p.getElementsByTagName("img");if(g){const b=l.replace(/<img[^>]*>/g,"").trim()==="";await Promise.all([...g].map(v=>new Promise(C=>{function k(){if(v.style.display="flex",v.style.flexDirection="column",b){const T=a.fontSize?.toString()??window.getComputedStyle(document.body).fontSize,L=parseInt(T,10)*5+"px";v.style.minWidth=L,v.style.maxWidth=L}else v.style.width="100%";C(v)}$(k,"setupImage"),setTimeout(()=>{v.complete&&k()}),v.addEventListener("error",k),v.addEventListener("load",k)})))}h=p.getBoundingClientRect(),y.attr("width",h.width),y.attr("height",h.height)}else{n.includes("font-weight: bolder")&&Tn(u).selectAll("tspan").attr("font-weight",""),f=u.children.length;const p=u.children[0];(u.textContent===""||u.textContent.includes("&gt"))&&(p.textContent=l[0]+l.substring(1).replaceAll("&gt;",">").replaceAll("&lt;","<").trim(),l[1]===" "&&(p.textContent=p.textContent[0]+" "+p.textContent.substring(1))),p.textContent==="undefined"&&(p.textContent=""),h=u.getBBox()}return i.attr("transform","translate(0,"+(-h.height/(2*f)+r)+")"),h.height}$(c0,"addText");async function YB(t,e){const r=qn(),n=r.class.padding??12,i=n,a=e.useHtmlLabels??wa(r.htmlLabels)??!0,s=e;s.annotations=s.annotations??[],s.members=s.members??[],s.methods=s.methods??[];const{shapeSvg:l,bbox:u}=await VB(t,e,r,a,i),{labelStyles:h,nodeStyles:f}=dr(e);e.labelStyle=h,e.cssStyles=s.styles||"";const p=s.styles?.join(";")||f||"";e.cssStyles||(e.cssStyles=p.replaceAll("!important","").split(";"));const y=s.members.length===0&&s.methods.length===0&&!r.class?.hideEmptyMembersBox,g=sr.svg(l),b=ur(e,{});e.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const v=u.width;let C=u.height;s.members.length===0&&s.methods.length===0?C+=i:s.members.length>0&&s.methods.length===0&&(C+=i*2);const k=-v/2,T=-C/2,E=g.rectangle(k-n,T-n-(y?n:s.members.length===0&&s.methods.length===0?-n/2:0),v+2*n,C+2*n+(y?n*2:s.members.length===0&&s.methods.length===0?-n:0),b),L=l.insert(()=>E,":first-child");L.attr("class","basic label-container");const O=L.node().getBBox();l.selectAll(".text").each((j,M,N)=>{const I=Tn(N[M]),V=I.attr("transform");let z=0;if(V){const Q=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(V);Q&&(z=parseFloat(Q[2]))}let Y=z+T+n-(y?n:s.members.length===0&&s.methods.length===0?-n/2:0);a||(Y-=4);let D=k;(I.attr("class").includes("label-group")||I.attr("class").includes("annotation-group"))&&(D=-I.node()?.getBBox().width/2||0,l.selectAll("text").each(function(Z,Q,it){window.getComputedStyle(it[Q]).textAnchor==="middle"&&(D=0)})),I.attr("transform",`translate(${D}, ${Y})`)});const W=l.select(".annotation-group").node().getBBox().height-(y?n/2:0)||0,q=l.select(".label-group").node().getBBox().height-(y?n/2:0)||0,U=l.select(".members-group").node().getBBox().height-(y?n/2:0)||0;if(s.members.length>0||s.methods.length>0||y){const j=g.line(O.x,W+q+T+n,O.x+O.width,W+q+T+n,b);l.insert(()=>j).attr("class","divider").attr("style",p)}if(y||s.members.length>0||s.methods.length>0){const j=g.line(O.x,W+q+U+T+i*2+n,O.x+O.width,W+q+U+T+n+i*2,b);l.insert(()=>j).attr("class","divider").attr("style",p)}if(s.look!=="handDrawn"&&l.selectAll("path").attr("style",p),L.select(":nth-child(2)").attr("style",p),l.selectAll(".divider").select("path").attr("style",p),e.labelStyle?l.selectAll("span").attr("style",e.labelStyle):l.selectAll("span").attr("style",p),!a){const j=RegExp(/color\s*:\s*([^;]*)/),M=j.exec(p);if(M){const N=M[0].replace("color","fill");l.selectAll("tspan").attr("style",N)}else if(h){const N=j.exec(h);if(N){const I=N[0].replace("color","fill");l.selectAll("tspan").attr("style",I)}}}return pr(e,L),e.intersect=function(j){return We.rect(e,j)},l}$(YB,"classBox");async function XB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const i=e,a=e,s=20,l=20,u="verifyMethod"in e,h=Mr(e),f=t.insert("g").attr("class",h).attr("id",e.domId??e.id);let p;u?p=await wc(f,`&lt;&lt;${i.type}&gt;&gt;`,0,e.labelStyle):p=await wc(f,"&lt;&lt;Element&gt;&gt;",0,e.labelStyle);let y=p;const g=await wc(f,i.name,y,e.labelStyle+"; font-weight: bold;");if(y+=g+l,u){const W=await wc(f,`${i.requirementId?`ID: ${i.requirementId}`:""}`,y,e.labelStyle);y+=W;const q=await wc(f,`${i.text?`Text: ${i.text}`:""}`,y,e.labelStyle);y+=q;const U=await wc(f,`${i.risk?`Risk: ${i.risk}`:""}`,y,e.labelStyle);y+=U,await wc(f,`${i.verifyMethod?`Verification: ${i.verifyMethod}`:""}`,y,e.labelStyle)}else{const W=await wc(f,`${a.type?`Type: ${a.type}`:""}`,y,e.labelStyle);y+=W,await wc(f,`${a.docRef?`Doc Ref: ${a.docRef}`:""}`,y,e.labelStyle)}const b=(f.node()?.getBBox().width??200)+s,v=(f.node()?.getBBox().height??200)+s,C=-b/2,k=-v/2,T=sr.svg(f),E=ur(e,{});e.look!=="handDrawn"&&(E.roughness=0,E.fillStyle="solid");const L=T.rectangle(C,k,b,v,E),O=f.insert(()=>L,":first-child");if(O.attr("class","basic label-container").attr("style",n),f.selectAll(".label").each((W,q,U)=>{const j=Tn(U[q]),M=j.attr("transform");let N=0,I=0;
vendor: 4,595 bytes, lines 489-507
489if(M){const D=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(M);D&&(N=parseFloat(D[1]),I=parseFloat(D[2]))}const V=I-v/2;let z=C+s/2;(q===0||q===1)&&(z=N),j.attr("transform",`translate(${z}, ${V+s})`)}),y>p+g+l){const W=T.line(C,k+p+g+l,C+b,k+p+g+l,E);f.insert(()=>W).attr("style",n)}return pr(e,O),e.intersect=function(W){return We.rect(e,W)},f}$(XB,"requirementBox");async function wc(t,e,r,n=""){if(e==="")return 0;const i=t.insert("g").attr("class","label").attr("style",n),a=qn(),s=a.htmlLabels??!0,l=await Uh(i,Fw(ad(e)),{width:Eu(e,a)+50,classes:"markdown-node-label",useHtmlLabels:s,style:n},a);let u;if(s){const h=l.children[0],f=Tn(l);u=h.getBoundingClientRect(),f.attr("width",u.width),f.attr("height",u.height)}else{const h=l.children[0];for(const f of h.children)f.textContent=f.textContent.replaceAll("&gt;",">").replaceAll("&lt;","<"),n&&f.setAttribute("style",n);u=l.getBBox(),u.height+=6}return i.attr("transform",`translate(${-u.width/2},${-u.height/2+r})`),u.height}$(wc,"addText");var klt=$(t=>{switch(t){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}},"colorFromPriority");async function KB(t,e,{config:r}){const{labelStyles:n,nodeStyles:i}=dr(e);e.labelStyle=n||"";const a=10,s=e.width;e.width=(e.width??200)-10;const{shapeSvg:l,bbox:u,label:h}=await $r(t,e,Mr(e)),f=e.padding||10;let p="",y;"ticket"in e&&e.ticket&&r?.kanban?.ticketBaseUrl&&(p=r?.kanban?.ticketBaseUrl.replace("#TICKET#",e.ticket),y=l.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",p).attr("target","_blank"));const g={useHtmlLabels:e.useHtmlLabels,labelStyle:e.labelStyle||"",width:e.width,img:e.img,padding:e.padding||8,centerLabel:!1};let b,v;y?{label:b,bbox:v}=await e5(y,"ticket"in e&&e.ticket||"",g):{label:b,bbox:v}=await e5(l,"ticket"in e&&e.ticket||"",g);const{label:C,bbox:k}=await e5(l,"assigned"in e&&e.assigned||"",g);e.width=s;const T=10,E=e?.width||0,L=Math.max(v.height,k.height)/2,O=Math.max(u.height+T*2,e?.height||0)+L,W=-E/2,q=-O/2;h.attr("transform","translate("+(f-E/2)+", "+(-L-u.height/2)+")"),b.attr("transform","translate("+(f-E/2)+", "+(-L+u.height/2)+")"),C.attr("transform","translate("+(f+E/2-k.width-2*a)+", "+(-L+u.height/2)+")");let U;const{rx:j,ry:M}=e,{cssStyles:N}=e;if(e.look==="handDrawn"){const I=sr.svg(l),V=ur(e,{}),z=j||M?I.path(Wh(W,q,E,O,j||0),V):I.rectangle(W,q,E,O,V);U=l.insert(()=>z,":first-child"),U.attr("class","basic label-container").attr("style",N||null)}else{U=l.insert("rect",":first-child"),U.attr("class","basic label-container __APA__").attr("style",i).attr("rx",j??5).attr("ry",M??5).attr("x",W).attr("y",q).attr("width",E).attr("height",O);const I="priority"in e&&e.priority;if(I){const V=l.append("line"),z=W+2,Y=q+Math.floor((j??0)/2),D=q+O-Math.floor((j??0)/2);V.attr("x1",z).attr("y1",Y).attr("x2",z).attr("y2",D).attr("stroke-width","4").attr("stroke",klt(I))}}return pr(e,U),e.height=O,e.intersect=function(I){return We.rect(e,I)},l}$(KB,"kanbanItem");async function ZB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,halfPadding:s,label:l}=await $r(t,e,Mr(e)),u=a.width+10*s,h=a.height+8*s,f=.15*u,{cssStyles:p}=e,y=a.width+20,g=a.height+20,b=Math.max(u,y),v=Math.max(h,g);l.attr("transform",`translate(${-a.width/2}, ${-a.height/2})`);let C;const k=`M0 0 
490    a${f},${f} 1 0,0 ${b*.25},${-1*v*.1}
491    a${f},${f} 1 0,0 ${b*.25},0
492    a${f},${f} 1 0,0 ${b*.25},0
493    a${f},${f} 1 0,0 ${b*.25},${v*.1}
494
495    a${f},${f} 1 0,0 ${b*.15},${v*.33}
496    a${f*.8},${f*.8} 1 0,0 0,${v*.34}
497    a${f},${f} 1 0,0 ${-1*b*.15},${v*.33}
498
499    a${f},${f} 1 0,0 ${-1*b*.25},${v*.15}
500    a${f},${f} 1 0,0 ${-1*b*.25},0
501    a${f},${f} 1 0,0 ${-1*b*.25},0
502    a${f},${f} 1 0,0 ${-1*b*.25},${-1*v*.15}
503
504    a${f},${f} 1 0,0 ${-1*b*.1},${-1*v*.33}
505    a${f*.8},${f*.8} 1 0,0 0,${-1*v*.34}
506    a${f},${f} 1 0,0 ${b*.1},${-1*v*.33}
507  H0 V0 Z`;if(e.look==="handDrawn"){const T=sr.svg(i),E=ur(e,{}),L=T.path(k,E);C=i.insert(()=>L,":first-child"),C.attr("class","basic label-container").attr("style",uo(p))}else C=i.insert("path",":first-child").attr("class","basic label-container").attr("style",n).attr("d",k);return C.attr("transform",`translate(${-b/2}, ${-v/2})`),pr(e,C),e.calcIntersect=function(T,E){return We.rect(T,E)},e.intersect=function(T){return xe.info("Bang intersect",e,T),We.rect(e,T)},i}$(ZB,"bang");async function QB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,halfPadding:s,label:l}=await $r(t,e,Mr(e)),u=a.width+2*s,h=a.height+2*s,f=.15*u,p=.25*u,
vendor: 3,015 bytes, lines 507-532
507y=.35*u,g=.2*u,{cssStyles:b}=e;let v;const C=`M0 0 
508    a${f},${f} 0 0,1 ${u*.25},${-1*u*.1}
509    a${y},${y} 1 0,1 ${u*.4},${-1*u*.1}
510    a${p},${p} 1 0,1 ${u*.35},${u*.2}
511
512    a${f},${f} 1 0,1 ${u*.15},${h*.35}
513    a${g},${g} 1 0,1 ${-1*u*.15},${h*.65}
514
515    a${p},${f} 1 0,1 ${-1*u*.25},${u*.15}
516    a${y},${y} 1 0,1 ${-1*u*.5},0
517    a${f},${f} 1 0,1 ${-1*u*.25},${-1*u*.15}
518
519    a${f},${f} 1 0,1 ${-1*u*.1},${-1*h*.35}
520    a${g},${g} 1 0,1 ${u*.1},${-1*h*.65}
521  H0 V0 Z`;if(e.look==="handDrawn"){const k=sr.svg(i),T=ur(e,{}),E=k.path(C,T);v=i.insert(()=>E,":first-child"),v.attr("class","basic label-container").attr("style",uo(b))}else v=i.insert("path",":first-child").attr("class","basic label-container").attr("style",n).attr("d",C);return l.attr("transform",`translate(${-a.width/2}, ${-a.height/2})`),v.attr("transform",`translate(${-u/2}, ${-h/2})`),pr(e,v),e.calcIntersect=function(k,T){return We.rect(k,T)},e.intersect=function(k){return xe.info("Cloud intersect",e,k),We.rect(e,k)},i}$(QB,"cloud");async function JB(t,e){const{labelStyles:r,nodeStyles:n}=dr(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,halfPadding:s,label:l}=await $r(t,e,Mr(e)),u=a.width+8*s,h=a.height+2*s,f=5,p=`
522    M${-u/2} ${h/2-f}
523    v${-h+2*f}
524    q0,-${f} ${f},-${f}
525    h${u-2*f}
526    q${f},0 ${f},${f}
527    v${h-2*f}
528    q0,${f} -${f},${f}
529    h${-u+2*f}
530    q-${f},0 -${f},-${f}
531    Z
532  `,y=i.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("style",n).attr("d",p);return i.append("line").attr("class","node-line-").attr("x1",-u/2).attr("y1",h/2).attr("x2",u/2).attr("y2",h/2),l.attr("transform",`translate(${-a.width/2}, ${-a.height/2})`),i.append(()=>l.node()),pr(e,y),e.calcIntersect=function(g,b){return We.rect(g,b)},e.intersect=function(g){return We.rect(e,g)},i}$(JB,"defaultMindmapNode");async function tO(t,e){const r={padding:e.padding??0};return MC(t,e,r)}$(tO,"mindmapCircle");var _lt=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:RB},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:LB},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:NB},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:$B},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:eB},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:MC},{semanticName:"Bang",name:"Bang",shortName:"bang",description:"Bang",aliases:["bang"],handler:ZB},{semanticName:"Cloud",name:"Cloud",shortName:"cloud",description:"cloud",aliases:["cloud"],handler:QB}
532,{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:_B},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:lB},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:bB},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:yB},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:FB},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:gB},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:nB},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:IB}
532,{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:VN},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:EB},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:PB},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:OB},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:oB},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:cB},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:ZN},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:QN},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:JN},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:vB}
vendor: 4,282 bytes, line 532
532,{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:UB},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:sB},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:zB},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:xB},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:tB},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:rB},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:HB},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:GB},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:iB},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:qB},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:aB},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:MB},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:CB},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:wB},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:GN},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:KN},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:DB},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:jB},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:WB},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:AB},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:SB}],Alt=$(()=>{const e=[...Object.entries({state:BB,choice:YN,note:kB,rectWithTitle:TB,labelRect:mB,iconSquare:dB,iconCircle:hB,icon:uB,iconRounded:fB,imageSquare:pB,anchor:WN,kanbanItem:KB,mindmapCircle:tO,defaultMindmapNode:JB,classBox:YB,erBox:RC,requirementBox:XB}),..._lt.flatMap(r=>[r.shortName,..."aliases"in r?r.aliases:[],..."internalAliases"in r?r.internalAliases:[]].map(i=>[i,r.handler]))];return Object.fromEntries(e)},"generateShapeMap"),eO=Alt();function Tlt(t){return t in eO}$(Tlt,"isValidShape");var wb=new Map;async function rO(t,e,r){let n,i;e.shape==="rect"&&(e.rx&&e.ry?e.shape="roundedRect":e.shape="squareRect");const a=e.shape?eO[e.shape]:void 0;if(!a)throw new Error(`No such shape: ${e.shape}. Please check your syntax.`);if(e.link){let s;r.config.securityLevel==="sandbox"?s="_top":e.linkTarget&&(s=e.linkTarget||"_blank"),n=t.insert("svg:a").attr("xlink:href",e.link).attr("target",s??null),i=await a(n,e,r)}else i=await a(t,e,r),n=i;return e.tooltip&&i.attr("title",e.tooltip),wb.set(e.id,n),e.haveCallback&&n.attr("class",n.attr("class")+" clickable"),n}
vendor: 10,346 bytes, lines 532-535
532$(rO,"insertNode");var Zft=$((t,e)=>{wb.set(e.id,t)},"setNodeElem"),Qft=$(()=>{wb.clear()},"clear"),Jft=$(t=>{const e=wb.get(t.id);xe.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const r=8,n=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+n-t.width/2)+", "+(t.y-t.height/2-r)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),n},"positionNode"),Llt=$((t,e,r,n,i,a)=>{e.arrowTypeStart&&DT(t,"start",e.arrowTypeStart,r,n,i,a),e.arrowTypeEnd&&DT(t,"end",e.arrowTypeEnd,r,n,i,a)},"addEdgeMarkers"),Elt={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},DT=$((t,e,r,n,i,a,s)=>{const l=Elt[r];if(!l){xe.warn(`Unknown arrow type: ${r}`);return}const u=l.type,f=`${i}_${a}-${u}${e==="start"?"Start":"End"}`;if(s&&s.trim()!==""){const p=s.replace(/[^\dA-Za-z]/g,"_"),y=`${f}_${p}`;if(!document.getElementById(y)){const g=document.getElementById(f);if(g){const b=g.cloneNode(!0);b.id=y,b.querySelectorAll("path, circle, line").forEach(C=>{C.setAttribute("stroke",s),l.fill&&C.setAttribute("fill",s)}),g.parentNode?.appendChild(b)}}t.attr(`marker-${e}`,`url(${n}#${y})`)}else t.attr(`marker-${e}`,`url(${n}#${f})`)},"addEdgeMarker"),Cy=new Map,Ha=new Map,tdt=$(()=>{Cy.clear(),Ha.clear()},"clear"),Y1=$(t=>t?t.reduce((r,n)=>r+";"+n,""):"","getLabelStyles"),Mlt=$(async(t,e)=>{let r=wa(qn().flowchart.htmlLabels);const{labelStyles:n}=dr(e);e.labelStyle=n;const i=await Uh(t,e.label,{style:e.labelStyle,useHtmlLabels:r,addSvgBackground:!0,isNode:!1});xe.info("abc82",e,e.labelType);const a=t.insert("g").attr("class","edgeLabel"),s=a.insert("g").attr("class","label").attr("data-id",e.id);s.node().appendChild(i);let l=i.getBBox();if(r){const h=i.children[0],f=Tn(i);l=h.getBoundingClientRect(),f.attr("width",l.width),f.attr("height",l.height)}s.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"),Cy.set(e.id,a),e.width=l.width,e.height=l.height;let u;if(e.startLabelLeft){const h=await Ef(e.startLabelLeft,Y1(e.labelStyle)),f=t.insert("g").attr("class","edgeTerminals"),p=f.insert("g").attr("class","inner");u=p.node().appendChild(h);const y=h.getBBox();p.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),Ha.get(e.id)||Ha.set(e.id,{}),Ha.get(e.id).startLeft=f,u0(u,e.startLabelLeft)}if(e.startLabelRight){const h=await Ef(e.startLabelRight,Y1(e.labelStyle)),f=t.insert("g").attr("class","edgeTerminals"),p=f.insert("g").attr("class","inner");u=f.node().appendChild(h),p.node().appendChild(h);const y=h.getBBox();p.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),Ha.get(e.id)||Ha.set(e.id,{}),Ha.get(e.id).startRight=f,u0(u,e.startLabelRight)}if(e.endLabelLeft){const h=await Ef(e.endLabelLeft,Y1(e.labelStyle)),f=t.insert("g").attr("class","edgeTerminals"),p=f.insert("g").attr("class","inner");u=p.node().appendChild(h);const y=h.getBBox();p.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),f.node().appendChild(h),Ha.get(e.id)||Ha.set(e.id,{}),Ha.get(e.id).endLeft=f,u0(u,e.endLabelLeft)}if(e.endLabelRight){const h=await Ef(e.endLabelRight,Y1(e.labelStyle)),f=t.insert("g").attr("class","edgeTerminals"),p=f.insert("g").attr("class","inner");u=p.node().appendChild(h);const y=h.getBBox();p.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),f.node().appendChild(h),Ha.get(e.id)||Ha.set(e.id,{}),Ha.get(e.id).endRight=f,u0(u,e.endLabelRight)}return i},"insertEdgeLabel");function u0(t,e){qn().flowchart.htmlLabels&&t&&(t.style.width=e.length*9+"px",t.style.height="12px")}$(u0,"setTerminalWidth");var Rlt=$((t,e)=>{xe.debug("Moving label abc88 ",t.id,t.label,Cy.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath;const n=qn(),{subGraphTitleTotalMargin:i}=sC(n);if(t.label){const a=Cy.get(t.id);let s=t.x,l=t.y;if(r){const u=jl.calcLabelPosition(r);xe.debug("Moving label "+t.label+" from (",s,",",l,") to (",u.x,",",u.y,") abc88"),e.updatedPath&&(s=u.x,l=u.y)}a.attr("transform",`translate(${s}, ${l+i/2})`)}if(t.startLabelLeft){const a=Ha.get(t.id).startLeft;let s=t.x,l=t.y;if(r){const u=jl.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}if(t.startLabelRight){const a=Ha.get(t.id).startRight;let s=t.x,l=t.y;if(r){const u=jl.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}if(t.endLabelLeft){const a=Ha.get(t.id).endLeft;let s=t.x,l=t.y;if(r){const u=jl.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}if(t.endLabelRight){const a=Ha.get(t.id).endRight;let s=t.x,l=t.y;if(r){const u=jl.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}},"positionEdgeLabel"),Nlt=$((t,e)=>{const r=t.x,n=t.y,i=Math.abs(e.x-r),a=Math.abs(e.y-n),s=t.width/2,l=t.height/2;return i>=s||a>=l},"outsideNode"),Blt=$((t,e,r)=>{xe.debug(`intersection calc abc89:
533  outsidePoint: ${JSON.stringify(e)}
534  insidePoint : ${JSON.stringify(r)}
535  node        : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const n=t.x,i=t.y,a=Math.abs(n-r.x),s=t.width/2;let l=r.x<e.x?s-a:s+a;const u=t.height/2,h=Math.abs(e.y-r.y),f=Math.abs(e.x-r.x);if(Math.abs(i-e.y)*s>Math.abs(n-e.x)*u){let p=r.y<e.y?e.y-u-i:i-u-e.y;l=f*p/h;const y={x:r.x<e.x?r.x+l:r.x-f+l,y:r.y<e.y?r.y+h-p:r.y-h+p};return l===0&&(y.x=e.x,y.y=e.y),f===0&&(y.x=e.x),h===0&&(y.y=e.y),xe.debug(`abc89 top/bottom calc, Q ${h}, q ${p}, R ${f}, r ${l}`,y),y}else{r.x<e.x?l=e.x-s-n:l=n-s-e.x;let p=h*l/f,y=r.x<e.x?r.x+f-l:r.x-f+l,g=r.y<e.y?r.y+p:r.y-p;return xe.debug(`sides calc abc89, Q ${h}, q ${p}, R ${f}, r ${l}`,{_x:y,_y:g}),l===0&&(y=e.x,g=e.y),f===0&&(y=e.x),h===0&&(g=e.y),{x:y,y:g}}},"intersection"),IT=$((t,e)=>{xe.warn("abc88 cutPathAtIntersect",t,e);let r=[],n=t[0],i=!1;return t.forEach(a=>{if(xe.info("abc88 checking point",a,e),!Nlt(e,a)&&!i){const s=Blt(e,n,a);xe.debug("abc88 inside",a,n,s),xe.debug("abc88 intersection",s,e);let l=!1;r.forEach(u=>{l=l||u.x===s.x&&u.y===s.y}),r.some(u=>u.x===s.x&&u.y===s.y)?xe.warn("abc88 no intersect",s,r):r.push(s),i=!0}else xe.warn("abc88 outside",a,n),n=a,i||r.push(a)}),xe.debug("returning points",r),r},"cutPathAtIntersect");function nO(t){const e=[],r=[];for(let n=1;n<t.length-1;n++){const i=t[n-1],a=t[n],s=t[n+1];(i.x===a.x&&a.y===s.y&&Math.abs(a.x-s.x)>5&&Math.abs(a.y-i.y)>5||i.y===a.y&&a.x===s.x&&Math.abs(a.x-i.x)>5&&Math.abs(a.y-s.y)>5)&&(e.push(a),r.push(n))}return{cornerPoints:e,cornerPointPositions:r}}$(nO,"extractCornerPoints");var zT=$(function(t,e,r){const n=e.x-t.x,i=e.y-t.y,a=Math.sqrt(n*n+i*i),s=r/a;return{x:e.x-s*n,y:e.y-s*i}},"findAdjacentPoint"),Olt=$(function(t){const{cornerPointPositions:e}=nO(t),r=[];for(let n=0;n<t.length;n++)if(e.includes(n)){const i=t[n-1],a=t[n+1],s=t[n],l=zT(i,s,5),u=zT(a,s,5),h=u.x-l.x,f=u.y-l.y;r.push(l);const p=Math.sqrt(2)*2;let y={x:s.x,y:s.y};if(Math.abs(a.x-i.x)>10&&Math.abs(a.y-i.y)>=10){xe.debug("Corner point fixing",Math.abs(a.x-i.x),Math.abs(a.y-i.y));const g=5;s.x===l.x?y={x:h<0?l.x-g+p:l.x+g-p,y:f<0?l.y-p:l.y+p}:y={x:h<0?l.x-p:l.x+p,y:f<0?l.y-g+p:l.y+g-p}}else xe.debug("Corner point skipping fixing",Math.abs(a.x-i.x),Math.abs(a.y-i.y));r.push(y,u)}else r.push(t[n]);return r},"fixCorners"),Plt=$((t,e,r)=>{const n=t-e-r,i=2,a=2,s=i+a,l=Math.floor(n/s),u=Array(l).fill(`${i} ${a}`).join(" ");return`0 ${e} ${u} ${r}`},"generateDashArray"),$lt=$(function(t,e,r,n,i,a,s,l=!1){const{handDrawnSeed:u}=qn();let h=e.points,f=!1;const p=i;var y=a;const g=[];for(const z in e.cssCompiledStyles)OR(z)||g.push(e.cssCompiledStyles[z]);xe.debug("UIO intersect check",e.points,y.x,p.x),y.intersect&&p.intersect&&!l&&(h=h.slice(1,e.points.length-1),h.unshift(p.intersect(h[0])),xe.debug("Last point UIO",e.start,"-->",e.end,h[h.length-1],y,y.intersect(h[h.length-1])),h.push(y.intersect(h[h.length-1])));const b=btoa(JSON.stringify(h));e.toCluster&&(xe.info("to cluster abc88",r.get(e.toCluster)),h=IT(e.points,r.get(e.toCluster).node),f=!0),e.fromCluster&&(xe.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(h,null,2)),h=IT(h.reverse(),r.get(e.fromCluster).node).reverse(),f=!0);let v=h.filter(z=>!Number.isNaN(z.y));v=Olt(v);let C=m2;switch(C=ty,e.curve){case"linear":C=ty;break;case"basis":C=m2;break;case"cardinal":C=DM;break;case"bumpX":C=BM;break;case"bumpY":C=OM;break;case"catmullRom":C=zM;break;case"monotoneX":C=GM;break;case"monotoneY":C=VM;break;case"natural":C=XM;break;case"step":C=KM;break;case"stepAfter":C=QM;break;case"stepBefore":C=ZM;break;default:C=m2}const{x:k,y:T}=Ont(e),E=yrt().x(k).y(T).curve(C);let L;switch(e.thickness){case"normal":L="edge-thickness-normal";break;case"thick":L="edge-thickness-thick";break;case"invisible":L="edge-thickness-invisible";break;default:L="edge-thickness-normal"}switch(e.pattern){case"solid":L+=" edge-pattern-solid";break;case"dotted":L+=" edge-pattern-dotted";break;case"dashed":L+=" edge-pattern-dashed";break;default:L+=" edge-pattern-solid"}let O,W=e.curve==="rounded"?iO(aO(v,e),5):E(v);const q=Array.isArray(e.style)?e.style:[e.style];let U=q.find(z=>z?.startsWith("stroke:")),j=!1;if(e.look==="handDrawn"){const z=sr.svg(t);Object.assign([],v);const Y=z.path(W,{roughness:.3,seed:u});L+=" transition",O=Tn(Y).select("path").attr("id",e.id).attr("class"," "+L+(e.classes?" "+e.classes:"")).attr("style",q?q.reduce((Z,Q)=>Z+";"+Q,""):"");let D=O.attr("d");O.attr("d",D),t.node().appendChild(O.node())}else{const z=g.join(";"),Y=q?q.reduce((P,X)=>P+X+";",""):"";let D="";e.animate&&(D=" edge-animation-fast"),e.animation&&(D=" edge-animation-"+e.animation);const Z=(z?z+";"+Y+";":Y)+";"+(q?q.reduce((P,X)=>P+";"+X,""):"");O=t.append("path").attr("d",W).attr("id",e.id).attr("class"," "+L+(e.classes?" "+e.classes:"")+(D??"")).attr("style",Z),U=Z.match(/stroke:([^;
vendor: 10,895 bytes, lines 535-538
535]+)/)?.[1],j=e.animate===!0||!!e.animation||z.includes("animation");const Q=O.node(),it=typeof Q.getTotalLength=="function"?Q.getTotalLength():0,mt=rT[e.arrowTypeStart]||0,K=rT[e.arrowTypeEnd]||0;if(e.look==="neo"&&!j){const X=`stroke-dasharray: ${e.pattern==="dotted"||e.pattern==="dashed"?Plt(it,mt,K):`0 ${mt} ${it-mt-K} ${K}`}; stroke-dashoffset: 0;`;O.attr("style",X+O.attr("style"))}}O.attr("data-edge",!0),O.attr("data-et","edge"),O.attr("data-id",e.id),O.attr("data-points",b),e.showPoints&&v.forEach(z=>{t.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",z.x).attr("cy",z.y)});let M="";(qn().flowchart.arrowMarkerAbsolute||qn().state.arrowMarkerAbsolute)&&(M=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,M=M.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),xe.info("arrowTypeStart",e.arrowTypeStart),xe.info("arrowTypeEnd",e.arrowTypeEnd),Llt(O,e,M,s,n,U);const N=Math.floor(h.length/2),I=h[N];jl.isLabelCoordinateInPath(I,O.attr("d"))||(f=!0);let V={};return f&&(V.updatedPath=h),V.originalPath=e.points,V},"insertEdge");function iO(t,e){if(t.length<2)return"";let r="";const n=t.length,i=1e-5;for(let a=0;a<n;a++){const s=t[a],l=t[a-1],u=t[a+1];if(a===0)r+=`M${s.x},${s.y}`;else if(a===n-1)r+=`L${s.x},${s.y}`;else{const h=s.x-l.x,f=s.y-l.y,p=u.x-s.x,y=u.y-s.y,g=Math.hypot(h,f),b=Math.hypot(p,y);if(g<i||b<i){r+=`L${s.x},${s.y}`;continue}const v=h/g,C=f/g,k=p/b,T=y/b,E=v*k+C*T,L=Math.max(-1,Math.min(1,E)),O=Math.acos(L);if(O<i||Math.abs(Math.PI-O)<i){r+=`L${s.x},${s.y}`;continue}const W=Math.min(e/Math.sin(O/2),g/2,b/2),q=s.x-v*W,U=s.y-C*W,j=s.x+k*W,M=s.y+T*W;r+=`L${q},${U}`,r+=`Q${s.x},${s.y} ${j},${M}`}}return r}$(iO,"generateRoundedPath");function jS(t,e){if(!t||!e)return{angle:0,deltaX:0,deltaY:0};const r=e.x-t.x,n=e.y-t.y;return{angle:Math.atan2(n,r),deltaX:r,deltaY:n}}$(jS,"calculateDeltaAndAngle");function aO(t,e){const r=t.map(i=>({...i}));if(t.length>=2&&oo[e.arrowTypeStart]){const i=oo[e.arrowTypeStart],a=t[0],s=t[1],{angle:l}=jS(a,s),u=i*Math.cos(l),h=i*Math.sin(l);r[0].x=a.x+u,r[0].y=a.y+h}const n=t.length;if(n>=2&&oo[e.arrowTypeEnd]){const i=oo[e.arrowTypeEnd],a=t[n-1],s=t[n-2],{angle:l}=jS(s,a),u=i*Math.cos(l),h=i*Math.sin(l);r[n-1].x=a.x-u,r[n-1].y=a.y-h}return r}$(aO,"applyMarkerOffsetsToPoints");var jlt=$((t,e,r,n)=>{e.forEach(i=>{Jlt[i](t,r,n)})},"insertMarkers"),Dlt=$((t,e,r)=>{xe.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),Ilt=$((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),zlt=$((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),Flt=$((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),qlt=$((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),Hlt=$((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),Ult=$((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),Wlt=$((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),Glt=$((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),Vlt=$((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneStart").attr("class","marker onlyOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneEnd").attr("class","marker onlyOne "+e).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),Ylt=$((t,e,r)=>{const n=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneStart").attr("class","marker zeroOrOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");n.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),n.append("path").attr("d","M9,0 L9,18");const i=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+e).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),i.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),Xlt=$((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreStart").attr("class","marker oneOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreEnd").attr("class","marker oneOrMore "+e).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),Klt=$((t,e,r)=>{const n=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");n.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),n.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");const i=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+e).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),i.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),Zlt=$((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0
536      L20,10
537      M20,10
538      L0,20`)},"requirement_arrow"),Qlt=$((t,e,r)=>{const n=t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_c
538ontainsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");n.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),n.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),n.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),Jlt={extension:Dlt,composition:Ilt,aggregation:zlt,dependency:Flt,lollipop:qlt,point:Hlt,circle:Ult,cross:Wlt,barb:Glt,only_one:Vlt,zero_or_one:Ylt,one_or_more:Xlt,zero_or_more:Klt,requirement_arrow:Zlt,requirement_contains:Qlt},tct=jlt,ect={common:qp,getConfig:lo,insertCluster:clt,insertEdge:$lt,insertEdgeLabel:Mlt,insertMarkers:tct,insertNode:rO,interpolateToCurve:fC,labelHelper:$r,log:xe,positionEdgeLabel:Rlt},X0={},oO=$(t=>{for(const e of t)X0[e.name]=e},"registerLayoutLoaders"),rct=$(()=>{oO([{name:"dagre",loader:$(async()=>await Mn(()=>import("./dagre-6UL2VRFP-C75UE2mL.js"),__vite__mapDeps([0,1,2,3,4,5])),"loader")},{name:"cose-bilkent",loader:$(async()=>await Mn(()=>import("./cose-bilkent-S5V4N54A-BKrKdSXs.js"),__vite__mapDeps([6,7])),"loader")}])},"registerDefaultLayoutLoaders");rct();var edt=$(async(t,e)=>{if(!(t.layoutAlgorithm in X0))throw new Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);const r=X0[t.layoutAlgorithm];return(await r.loader()).render(t,e,ect,{algorithm:r.algorithm})},"render"),rdt=$((t="",{fallback:e="dagre"}={})=>{if(t in X0)return t;if(e in X0)return xe.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw new Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm"),sO="comm",lO="rule",cO="decl",nct="@import",ict="@namespace",act="@keyframes",oct="@layer",uO=Math.abs,NC=String.fromCharCode;function hO(t){return t.trim()}function S2(t,e,r){return t.replace(e,r)}function sct(t,e,r){return t.indexOf(e,r)}function mp(t,e){return t.charCodeAt(e)|0}function jp(t,e,r){return t.slice(e,r)}function Cc(t){return t.length}function lct(t){return t.length}function X1(t,e){return e.push(t),t}var Cb=1,Dp=1,fO=0,ll=0,sa=0,Vp="";function BC(t,e,r,n,i,a,s,l){return{value:t,root:e,parent:r,type:n,props:i,children:a,line:Cb,column:Dp,length:s,return:"",siblings:l}}function cct(){return sa}function uct(){return sa=ll>0?mp(Vp,--ll):0,Dp--,sa===10&&(Dp=1,Cb--),sa}function zl(){return sa=ll<fO?mp(Vp,ll++):0,Dp++,sa===10&&(Dp=1,Cb++),sa}function Ah(){return mp(Vp,ll)}function w2(){return ll}function kb(t,e){return jp(Vp,t,e)}function K0(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function hct(t){return Cb=Dp=1,fO=Cc(Vp=t),ll=0,[]}function fct(t){return Vp="",t}function r5(t){return hO(kb(ll-1,DS(t===91?t+2:t===40?t+1:t)))}function dct(t){for(;(sa=Ah())&&sa<33;)zl();return K0(t)>2||K0(sa)>3?"":" "}function pct(t,e){for(;--e&&zl()&&!(sa<48||sa>102||sa>57&&sa<65||sa>70&&sa<97););return kb(t,w2()+(e<6&&Ah()==32&&zl()==32))}function DS(t){for(;zl();)switch(sa){case t:return ll;case 34:case 39:t!==34&&t!==39&&DS(sa);break;case 40:t===41&&DS(t);break;case 92:zl();break}return ll}function gct(t,e){for(;zl()&&t+sa!==57;)if(t+sa===84&&Ah()===47)break;return"/*"+kb(e,ll-1)+"*"+NC(t===47?t:zl())}function mct(t){for(;!K0(Ah());)zl();return kb(t,ll)}function yct(t){return fct(C2("",null,null,null,[""],t=hct(t),0,[0],t))}function C2(t,e,r,n,i,a,s,l,u){for(var h=0,f=0,p=s,y=0,g=0,b=0,v=1,C=1,k=1,T=0,E="",L=i,O=a,W=n,q=E;C;)switch(b=T,T=zl()){case 40:if(b!=108&&mp(q,p-1)==58){sct(q+=S2(r5(T),"&","&\f"),"&\f",uO(h?l[h-1]:0))!=-1&&(k=-1);break}case 34:case 39:case 91:q+=r5(T);break;case 9:case 10:case 13:case 32:q+=dct(b);break;case 92:q+=pct(w2()-1,7);continue;case 47:switch(Ah()){case 42:case 47:X1(bct(gct(zl(),w2()),e,r,u),u),(K0(b||1)==5||K0(Ah()||1)==5)&&Cc(q)&&jp(q,-1,void 0)!==" "&&(q+=" ");break;default:q+="/"}break;case 123*v:l[h++]=Cc(q)*k;case 125*v:case 59:case 0:switch(T){case 0:case 125:C=0;case 59+f:k==-1&&(q=S2(q,/\f/g,"")),g>0&&(Cc(q)-p||v===0&&b===47)&&X1(g>32?qT(q+";",n,r,p-1,u):qT(S2(q," ","")+";",n,r,p-2,u),u);break;case 59:q+=";";default:if(X1(W=FT(q,e,r,h,f,i,l,E,L=[],O=[],p,a),a),T===123)if(f===0)C2(q,e,W,W,L,a,p,l,O);else{switch(y){case 99:if(mp(q,3)===110)break;case 108:if(mp(q,2)===97)break;default:f=0;case 100:case 109:case 115:}
vendor: 9,621 bytes, lines 538-539
538f?C2(t,W,W,n&&X1(FT(t,W,W,0,0,i,l,E,i,L=[],p,O),O),i,O,p,l,n?L:O):C2(q,W,W,W,[""],O,0,l,O)}}h=f=g=0,v=k=1,E=q="",p=s;break;case 58:p=1+Cc(q),g=b;default:if(v<1){if(T==123)--v;else if(T==125&&v++==0&&uct()==125)continue}switch(q+=NC(T),T*v){case 38:k=f>0?1:(q+="\f",-1);break;case 44:l[h++]=(Cc(q)-1)*k,k=1;break;case 64:Ah()===45&&(q+=r5(zl())),y=Ah(),f=p=Cc(E=q+=mct(w2())),T++;break;case 45:b===45&&Cc(q)==2&&(v=0)}}return a}function FT(t,e,r,n,i,a,s,l,u,h,f,p){for(var y=i-1,g=i===0?a:[""],b=lct(g),v=0,C=0,k=0;v<n;++v)for(var T=0,E=jp(t,y+1,y=uO(C=s[v])),L=t;T<b;++T)(L=hO(C>0?g[T]+" "+E:S2(E,/&\f/g,g[T])))&&(u[k++]=L);return BC(t,e,r,i===0?lO:l,u,h,f,p)}function bct(t,e,r,n){return BC(t,e,r,sO,NC(cct()),jp(t,2,-2),0,n)}function qT(t,e,r,n,i){return BC(t,e,r,cO,jp(t,0,n),jp(t,n+1,-1),n,i)}function IS(t,e){for(var r="",n=0;n<t.length;n++)r+=e(t[n],n,t,e)||"";return r}function vct(t,e,r,n){switch(t.type){case oct:if(t.children.length)break;case nct:case ict:case cO:return t.return=t.return||t.value;case sO:return"";case act:return t.return=t.value+"{"+IS(t.children,n)+"}";case lO:if(!Cc(t.value=t.props.join(",")))return""}return Cc(r=IS(t.children,n))?t.return=t.value+"{"+r+"}":""}var xct=DR(Object.keys,Object),Sct=Object.prototype,wct=Sct.hasOwnProperty;function Cct(t){if(!db(t))return xct(t);var e=[];for(var r in Object(t))wct.call(t,r)&&r!="constructor"&&e.push(r);return e}var zS=id(Fc,"DataView"),FS=id(Fc,"Promise"),qS=id(Fc,"Set"),HS=id(Fc,"WeakMap"),HT="[object Map]",kct="[object Object]",UT="[object Promise]",WT="[object Set]",GT="[object WeakMap]",VT="[object DataView]",_ct=nd(zS),Act=nd(V0),Tct=nd(FS),Lct=nd(qS),Ect=nd(HS),xf=Up;(zS&&xf(new zS(new ArrayBuffer(1)))!=VT||V0&&xf(new V0)!=HT||FS&&xf(FS.resolve())!=UT||qS&&xf(new qS)!=WT||HS&&xf(new HS)!=GT)&&(xf=function(t){var e=Up(t),r=e==kct?t.constructor:void 0,n=r?nd(r):"";if(n)switch(n){case _ct:return VT;case Act:return HT;case Tct:return UT;case Lct:return WT;case Ect:return GT}return e});var Mct="[object Map]",Rct="[object Set]",Nct=Object.prototype,Bct=Nct.hasOwnProperty;function YT(t){if(t==null)return!0;if(pb(t)&&(dy(t)||typeof t=="string"||typeof t.splice=="function"||uC(t)||hC(t)||fy(t)))return!t.length;var e=xf(t);if(e==Mct||e==Rct)return!t.size;if(db(t))return!Cct(t).length;for(var r in t)if(Bct.call(t,r))return!1;return!0}var dO="c4",Oct=$(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),Pct=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./c4Diagram-YG6GDRKO-B4vqVUo0.js");return{diagram:e}},__vite__mapDeps([8,9]));return{id:dO,diagram:t}},"loader"),$ct={id:dO,detector:Oct,loader:Pct},jct=$ct,pO="flowchart",Dct=$((t,e)=>e?.flowchart?.defaultRenderer==="dagre-wrapper"||e?.flowchart?.defaultRenderer==="elk"?!1:/^\s*graph/.test(t),"detector"),Ict=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./flowDiagram-NV44I4VS-5mZTTusJ.js");return{diagram:e}},__vite__mapDeps([10,11,12,13,14]));return{id:pO,diagram:t}},"loader"),zct={id:pO,detector:Dct,loader:Ict},Fct=zct,gO="flowchart-v2",qct=$((t,e)=>e?.flowchart?.defaultRenderer==="dagre-d3"?!1:(e?.flowchart?.defaultRenderer==="elk"&&(e.layout="elk"),/^\s*graph/.test(t)&&e?.flowchart?.defaultRenderer==="dagre-wrapper"?!0:/^\s*flowchart/.test(t)),"detector"),Hct=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./flowDiagram-NV44I4VS-5mZTTusJ.js");return{diagram:e}},__vite__mapDeps([10,11,12,13,14]));return{id:gO,diagram:t}},"loader"),Uct={id:gO,detector:qct,loader:Hct},Wct=Uct,mO="er",Gct=$(t=>/^\s*erDiagram/.test(t),"detector"),Vct=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./erDiagram-Q2GNP2WA-bGeS1xV0.js");return{diagram:e}},__vite__mapDeps([15,12,13,14]));return{id:mO,diagram:t}},"loader"),Yct={id:mO,detector:Gct,loader:Vct},Xct=Yct,yO="gitGraph",Kct=$(t=>/^\s*gitGraph/.test(t),"detector"),Zct=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./gitGraphDiagram-V2S2FVAM-CQdLTUIV.js");return{diagram:e}},__vite__mapDeps([16,17,18,19,2,4,5]));return{id:yO,diagram:t}},"loader"),Qct={id:yO,detector:Kct,loader:Zct},Jct=Qct,bO="gantt",tut=$(t=>/^\s*gantt/.test(t),"detector"),eut=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./ganttDiagram-JELNMOA3-DKfPCdj4.js");return{diagram:e}},__vite__mapDeps([20,21,22,23]));return{id:bO,diagram:t}},"loader"),rut={id:bO,detector:tut,loader:eut},nut=rut,vO="info",iut=$(t=>/^\s*info/.test(t),"detector"),aut=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./infoDiagram-HS3SLOUP-CqmRIGEu.js");return{diagram:e}},__vite__mapDeps([24,19,2,4,5]));return{id:vO,diagram:t}},"loader"),out={id:vO,detector:iut,loader:aut},xO="pie",sut=$(t=>/^\s*pie/.test(t),"detector"),lut=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./pieDiagram-ADFJNKIX-BN1-tL39.js");return{diagram:e}},__vite__mapDeps([25,17,19,2,4,5,26,27,22]));return{id:xO,diagram:t}},"loader"),cut={id:xO,detector:sut,loader:lut},SO="quadrantChart",uut=$(t=>/^\s*quadrantChart/.test(t),"detector"),hut=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./quadrantDiagram-AYHSOK5B-B4LSB4ug.js");return{diagram:e}},__vite__mapDeps([28,21,22,23]));return{id:SO,diagram:t}},"loader"),fut={id:SO,detector:uut,loader:hut},dut=fut,wO="xychart",put=$(t=>/^\s*xychart(-beta)?/.test(t),"detector"),gut=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./xychartDiagram-PRI3JC2R-DK0ylZ9r.js");return{diagram:e}},__vite__mapDeps([29,22,27,21,23]));return{id:wO,diagram:t}},"loader"),mut={id:wO,detector:put,loader:gut},yut=mut,CO="requirement",but=$(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),vut=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./requirementDiagram-UZGBJVZJ-Cm0nvS7e.js");return{diagram:e}},__vite__mapDeps([30,12,13]));return{id:CO,diagram:t}},"loader"),xut={id:CO,detector:but,loader:vut},Sut=xut,kO="sequence",wut=$(t=>/^\s*sequenceDiagram/.test(t),"detector"),Cut=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./sequenceDiagram-WL72ISMW-DEc1GucF.js");return{diagram:e}},__vite__mapDeps([31,9,18]));return{id:kO,diagram:t}},"loader"),kut={id:kO,detector:wut,loader:Cut},_ut=kut,_O="class",Aut=$((t,e)=>e?.class?.defaultRenderer==="dagre-wrapper"?!1:/^\s*classDiagram/.test(t),"detector"),Tut=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./classDiagram-2ON5EDUG-DxZj4bvn.js");return{diagram:e}},__vite__mapDeps([32,33,11,12,13]));return{id:_O,diagram:t}},"loader"),Lut={id:_O,detector:Aut,loader:Tut},Eut=Lut,AO="classDiagram",Mut=$((t,e)=>/^\s*classDiagram/.test(t)&&e?.class?.defaultRenderer==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(t),"detector"),Rut=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./classDiagram-v2-WZHVMYZB-DxZj4bvn.js");return{diagram:e}},__vite__mapDeps([34,33,11,12,13]));return{id:AO,diagram:t}},"loader"),Nut={id:AO,detector:Mut,loader:Rut},But=Nut,TO="state",Out=$((t,e)=>e?.state?.defaultRenderer==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(t),"detector"),Put=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./stateDiagram-FKZM4ZOC-BXzK-tX1.js");return{diagram:e}},__vite__mapDeps([35,36,12,13,1,2,3,4]));return{id:TO,diagram:t}},"loader"),$ut={id:TO,detector:Out,loader:Put},jut=$ut,LO="stateDiagram",Dut=$((t,e)=>!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&e?.state?.defaultRenderer==="dagre-wrapper"),"detector"),Iut=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./stateDiagram-v2-4FDKWEC3-CbiF0r9B.js");return{diagram:e}},__vite__mapDeps([37,36,12,13]));return{id:LO,diagram:t}},"loader"),zut={id:LO,detector:Dut,loader:Iut},Fut=zut,EO="journey",qut=$(t=>/^\s*journey/.test(t),"detector"),Hut=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./journeyDiagram-XKPGCS4Q-HjVtkKDS.js");return{diagram:e}},__vite__mapDeps([38,9,11,26]));return{id:EO,diagram:t}},"loader"),Uut={id:EO,detector:qut,loader:Hut},Wut=Uut,Gut=$((t,e,r)=>{xe.debug(`rendering svg for syntax error
539`);const n=Art(e),i=n.append("g");n.attr("viewBox","0 0 2412 512"),rM(n,100,512,!0),i.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),i.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),i.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),i.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.
539164-16,16v32c0,8.836 7.156,16 16,16z"),i.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),i.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),i.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),i.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},"draw"),MO={draw:Gut},Vut=MO,Yut={db:{},renderer:MO,parser:{parse:$(()=>{},"parse")}},Xut=Yut,RO="flowchart-elk",Kut=$((t,e={})=>/^\s*flowchart-elk/.test(t)||/^\s*(flowchart|graph)/.test(t)&&e?.flowchart?.defaultRenderer==="elk"?(e.layout="elk",!0):!1,"detector"),Zut=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./flowDiagram-NV44I4VS-5mZTTusJ.js");return{diagram:e}},__vite__mapDeps([10,11,12,13,14]));return{id:RO,diagram:t}},"loader"),Qut={id:RO,detector:Kut,loader:Zut},Jut=Qut,NO="timeline",tht=$(t=>/^\s*timeline/.test(t),"detector"),eht=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./timeline-definition-IT6M3QCI-CjOTPOGo.js");return{diagram:e}},__vite__mapDeps([39,26]));return{id:NO,diagram:t}},"loader"),rht={id:NO,detector:tht,loader:eht},nht=rht,BO="mindmap",iht=$(t=>/^\s*mindmap/.test(t),"detector"),aht=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./mindmap-definition-VGOIOE7T-mOFER-dH.js");return{diagram:e}},__vite__mapDeps([40,12,13]));return{id:BO,diagram:t}},"loader"),oht={id:BO,detector:iht,loader:aht},sht=oht,OO="kanban",lht=$(t=>/^\s*kanban/.test(t),"detector"),cht=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./kanban-definition-3W4ZIXB7-DemdGQJW.js");return{diagram:e}},__vite__mapDeps([41,11]));return{id:OO,diagram:t}},"loader"),uht={id:OO,detector:lht,loader:cht},hht=uht,PO="sankey",fht=$(t=>/^\s*sankey(-beta)?/.test(t),"detector"),dht=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./sankeyDiagram-TZEHDZUN-Chk1CnBw.js");return{diagram:e}},__vite__mapDeps([42,27,22]));return{id:PO,diagram:t}},"loader"),pht={id:PO,detector:fht,loader:dht},ght=pht,$O="packet",mht=$(t=>/^\s*packet(-beta)?/.test(t),"detector"),yht=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./diagram-S2PKOQOG-DHHJb78l.js");return{diagram:e}},__vite__mapDeps([43,17,19,2,4,5]));return{id:$O,diagram:t}},"loader"),bht={id:$O,detector:mht,loader:yht},jO="radar",vht=$(t=>/^\s*radar-beta/.test(t),"detector"),xht=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./diagram-QEK2KX5R-C0oeDYIr.js");return{diagram:e}},__vite__mapDeps([44,17,19,2,4,5]));return{id:jO,diagram:t}},"loader"),Sht={id:jO,detector:vht,loader:xht},DO="block",wht=$(t=>/^\s*block(-beta)?/.test(t),"detector"),Cht=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./blockDiagram-VD42YOAC-CmcqS5gp.js");return{diagram:e}},__vite__mapDeps([45,11,5,2,1,14]));return{id:DO,diagram:t}},"loader"),kht={id:DO,detector:wht,loader:Cht},_ht=kht,IO="architecture",Aht=$(t=>/^\s*architecture/.test(t),"detector"),Tht=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./architectureDiagram-VXUJARFQ-Bd78sqre.js");return{diagram:e}},__vite__mapDeps([46,17,19,2,4,5,7]));return{id:IO,diagram:t}},"loader"),Lht={id:IO,detector:Aht,loader:Tht},Eht=Lht,zO="treemap",Mht=$(t=>/^\s*treemap/.test(t),"detector"),Rht=$(async()=>{const{diagram:t}=await Mn(async()=>{const{diagram:e}=await import("./diagram-PSM6KHXK-CkKS6ARe.js");return{diagram:e}},__vite__mapDeps([47,13,17,19,2,4,5,23,27,22]));return{id:zO,diagram:t}},"loader"),Nht={id:zO,detector:Mht,loader:Rht},XT=!1,_b=$(()=>{XT||(XT=!0,V2("error",Xut,t=>t.toLowerCase().trim()==="error"),V2("---",{db:{clear:$(()=>{},"clear")},styles:{},renderer:{draw:$(()=>{},"draw")},parser:{parse:$(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:$(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),K5(Jut,sht,Eht),K5(jct,hht,But,Eut,Xct,nut,out,cut,Sut,_ut,Wct,Fct,nht,Jct,Fut,jut,Wut,dut,ght,bht,yut,_ht,Sht,Nht))},"addDiagrams"),Bht=$(async()=>{xe.debug("Loading registered diagrams");const e=(await Promise.allSettled(Object.entries(Uf).map(async([r,{detector:n,loader:i}])=>{if(i)try{tS(r)}catch{try{const{diagram:a,id:s}=await i();V2(s,a,n)}catch(a){throw xe.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete Uf[r],a}}}))).filter(r=>r.status==="rejected");if(e.length>0){xe.error(`Failed to load ${e.length} external diagrams`);for(const r of e)xe.error(r);throw new Error(`Failed to load ${e.length} external diagrams`)}},"loadRegisteredDiagrams"),Oht="graphics-document document";function FO(t,e){t.attr("role",Oht),e!==""&&t.attr("aria-roledescription",e)}$(FO,"setA11yDiagramInfo");
vendor: 3,462 bytes, lines 539-545
539function qO(t,e,r,n){if(t.insert!==void 0){if(r){const i=`chart-desc-${n}`;t.attr("aria-describedby",i),t.insert("desc",":first-child").attr("id",i).text(r)}if(e){const i=`chart-title-${n}`;t.attr("aria-labelledby",i),t.insert("title",":first-child").attr("id",i).text(e)}}}$(qO,"addSVGa11yTitleDescription");var $f,US=($f=class{constructor(e,r,n,i,a){this.type=e,this.text=r,this.db=n,this.parser=i,this.renderer=a}static async fromText(e,r={}){const n=lo(),i=Pw(e,n);e=Not(e)+`
540`;try{tS(i)}catch{const h=tQ(i);if(!h)throw new UE(`Diagram ${i} not found.`);const{id:f,diagram:p}=await h();V2(f,p)}const{db:a,parser:s,renderer:l,init:u}=tS(i);return s.parser&&(s.parser.yy=a),a.clear?.(),u?.(n),r.title&&a.setDiagramTitle?.(r.title),await s.parse(e),new $f(i,e,a,s,l)}async render(e,r){await this.renderer.draw(this.text,e,r,this)}getParser(){return this.parser}getType(){return this.type}},$($f,"Diagram"),$f),KT=[],Pht=$(()=>{KT.forEach(t=>{t()}),KT=[]},"attachFunctions"),$ht=$(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function HO(t){const e=t.match(HE);if(!e)return{text:t,metadata:{}};let r=Bnt(e[1],{schema:Nnt})??{};r=typeof r=="object"&&!Array.isArray(r)?r:{};const n={};return r.displayMode&&(n.displayMode=r.displayMode.toString()),r.title&&(n.title=r.title.toString()),r.config&&(n.config=r.config),{text:t.slice(e[0].length),metadata:n}}$(HO,"extractFrontMatter");var jht=$(t=>t.replace(/\r\n?/g,`
541`).replace(/<(\w+)([^>]*)>/g,(e,r,n)=>"<"+r+n.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),Dht=$(t=>{const{text:e,metadata:r}=HO(t),{displayMode:n,title:i,config:a={}}=r;return n&&(a.gantt||(a.gantt={}),a.gantt.displayMode=n),{title:i,config:a,text:e}},"processFrontmatter"),Iht=$(t=>{const e=jl.detectInit(t)??{},r=jl.detectDirective(t,"wrap");return Array.isArray(r)?e.wrap=r.some(({type:n})=>n==="wrap"):r?.type==="wrap"&&(e.wrap=!0),{text:vot(t),directive:e}},"processDirectives");function OC(t){const e=jht(t),r=Dht(e),n=Iht(r.text),i=yC(r.config,n.directive);return t=$ht(n.text),{code:t,title:r.title,config:i}}$(OC,"preprocessDiagram");function UO(t){const e=new TextEncoder().encode(t),r=Array.from(e,n=>String.fromCodePoint(n)).join("");return btoa(r)}$(UO,"toBase64");var zht=5e4,Fht="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",qht="sandbox",Hht="loose",Uht="http://www.w3.org/2000/svg",Wht="http://www.w3.org/1999/xlink",Ght="http://www.w3.org/1999/xhtml",Vht="100%",Yht="100%",Xht="border:0;margin:0;",Kht="margin:0",Zht="allow-top-navigation-by-user-activation allow-popups",Qht='The "iframe" tag is not supported by your browser.',Jht=["foreignobject"],tft=["dominant-baseline"];function PC(t){const e=OC(t);return W2(),mQ(e.config??{}),e}$(PC,"processAndSetConfigs");async function WO(t,e){_b();try{const{code:r,config:n}=PC(t);return{diagramType:(await VO(r)).type,config:n}}catch(r){if(e?.suppressErrors)return!1;throw r}}$(WO,"parse");var ZT=$((t,e,r=[])=>`
542.${t} ${e} { ${r.join(" !important; ")} !important; }`,"cssImportantStyles"),eft=$((t,e=new Map)=>{let r="";if(t.themeCSS!==void 0&&(r+=`
543${t.themeCSS}`),t.fontFamily!==void 0&&(r+=`
544:root { --mermaid-font-family: ${t.fontFamily}}`),t.altFontFamily!==void 0&&(r+=`
545:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),e instanceof Map){const s=t.htmlLabels??t.flowchart?.htmlLabels?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach(l=>{YT(l.styles)||s.forEach(u=>{r+=ZT(l.id,u,l.styles)}
vendor: 3,402 bytes, lines 545-547
545),YT(l.textStyles)||(r+=ZT(l.id,"tspan",(l?.textStyles||[]).map(u=>u.replace("color","fill"))))})}return r},"createCssStyles"),rft=$((t,e,r,n)=>{const i=eft(t,r),a=$Q(e,i,t.themeVariables);return IS(yct(`${n}{${a}}`),vct)},"createUserStyles"),nft=$((t="",e,r)=>{let n=t;return!r&&!e&&(n=n.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),n=ad(n),n=n.replace(/<br>/g,"<br/>"),n},"cleanUpSvgCode"),ift=$((t="",e)=>{const r=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":Yht,n=UO(`<body style="${Kht}">${t}</body>`);return`<iframe style="width:${Vht};height:${r};${Xht}" src="data:text/html;charset=UTF-8;base64,${n}" sandbox="${Zht}">
546  ${Qht}
547</iframe>`},"putIntoIFrame"),QT=$((t,e,r,n,i)=>{const a=t.append("div");a.attr("id",r),n&&a.attr("style",n);const s=a.append("svg").attr("id",e).attr("width","100%").attr("xmlns",Uht);return i&&s.attr("xmlns:xlink",i),s.append("g"),t},"appendDivSvgG");function WS(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}$(WS,"sandboxedIframe");var aft=$((t,e,r,n)=>{t.getElementById(e)?.remove(),t.getElementById(r)?.remove(),t.getElementById(n)?.remove()},"removeExistingElements"),oft=$(async function(t,e,r){_b();const n=PC(e);e=n.code;const i=lo();xe.debug(i),e.length>(i?.maxTextSize??zht)&&(e=Fht);const a="#"+t,s="i"+t,l="#"+s,u="d"+t,h="#"+u,f=$(()=>{const V=Tn(y?l:h).node();V&&"remove"in V&&V.remove()},"removeTempElements");let p=Tn("body");const y=i.securityLevel===qht,g=i.securityLevel===Hht,b=i.fontFamily;if(r!==void 0){if(r&&(r.innerHTML=""),y){const I=WS(Tn(r),s);p=Tn(I.nodes()[0].contentDocument.body),p.node().style.margin=0}else p=Tn(r);QT(p,t,u,`font-family: ${b}`,Wht)}else{if(aft(document,t,u,s),y){const I=WS(Tn("body"),s);p=Tn(I.nodes()[0].contentDocument.body),p.node().style.margin=0}else p=Tn("body");QT(p,t,u)}let v,C;try{v=await US.fromText(e,{title:n.title})}catch(I){if(i.suppressErrorRendering)throw f(),I;v=await US.fromText("error"),C=I}const k=p.select(h).node(),T=v.type,E=k.firstChild,L=E.firstChild,O=v.renderer.getClasses?.(e,v),W=rft(i,T,O,a),q=document.createElement("style");q.innerHTML=W,E.insertBefore(q,L);try{await v.renderer.draw(e,t,y6.version,v)}catch(I){throw i.suppressErrorRendering?f():Vut.draw(e,t,y6.version),I}const U=p.select(`${h} svg`),j=v.db.getAccTitle?.(),M=v.db.getAccDescription?.();YO(T,U,j,M),p.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",Ght);let N=p.select(h).node().innerHTML;if(xe.debug("config.arrowMarkerAbsolute",i.arrowMarkerAbsolute),N=nft(N,y,wa(i.arrowMarkerAbsolute)),y){const I=p.select(h+" svg").node();N=ift(N,I)}else g||(N=Hf.sanitize(N,{ADD_TAGS:Jht,ADD_ATTR:tft,HTML_INTEGRATION_POINTS:{foreignobject:!0}}));if(Pht(),C)throw C;return f(),{diagramType:T,svg:N,bindFunctions:v.db.bindFunctions}},"render");function GO(t={}){const e=xa({},t);e?.fontFamily&&!e.themeVariables?.fontFamily&&(e.themeVariables||(e.themeVariables={}),e.themeVariables.fontFamily=e.fontFamily),pQ(e),e?.theme&&e.theme in Cu?e.themeVariables=Cu[e.theme].getThemeVariables(e.themeVariables):e&&(e.themeVariables=Cu.default.getThemeVariables(e.themeVariables));const r=typeof e=="object"?dQ(e):XE();Ow(r.logLevel),_b()}$(GO,"initialize");var VO=$((t,e={})=>{const{code:r}=OC(t);return US.fromText(r,e)},"getDiagramFromText");function YO(t,e,r,n){FO(e,t),qO(e,r,n,e.attr("id"))}$(YO,"addA11yInfo");
547var Kf=Object.freeze({render:oft,parse:WO,getDiagramFromText:VO,initialize:GO,getConfig:lo,setConfig:KE,getSiteConfig:XE,updateSiteConfig:gQ,reset:$(()=>{W2()},"reset"),globalReset:$(()=>{W2(Rp)},"globalReset"),defaultConfig:Rp});Ow(lo().logLevel);W2(lo());var sft=$((t,e,r)=>{xe.warn(t),mC(t)?(r&&r(t.str,t.hash),e.push({...t,message:t.str,error:t})):(r&&r(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},"handleError"),XO=$(async function(t={querySelector:".mermaid"}){try{await lft(t)}catch(e){if(mC(e)&&xe.error(e.str),Mu.parseError&&Mu.parseError(e),!t.suppressErrors)throw xe.error("Use the suppressErrors option to suppress these errors"),e}},"run"),lft=$(async function({postRenderCallback:t,querySelector:e,nodes:r}={querySelector:".mermaid"}){const n=Kf.getConfig();xe.debug(`${t?"":"No "}Callback function found`);let i;if(r)i=r;else if(e)i=document.querySelectorAll(e);else throw new Error("Nodes and querySelector are both undefined");xe.debug(`Found ${i.length} diagrams`),n?.startOnLoad!==void 0&&(xe.debug("Start On Load: "+n?.startOnLoad),Kf.updateSiteConfig({startOnLoad:n?.startOnLoad}));const a=new jl.InitIDGenerator(n.deterministicIds,n.deterministicIDSeed);let s;const l=[];for(const u of Array.from(i)){if(xe.info("Rendering diagram: "+u.id),u.getAttribute("data-processed"))continue;u.setAttribute("data-processed","true");const h=`mermaid-${a.next()}`;s=u.innerHTML,s=mN(jl.entityDecode(s)).trim().replace(/<br\s*\/?>/gi,"<br/>");const f=jl.detectInit(s);f&&xe.debug("Detected early reinit: ",f);try{const{svg:p,bindFunctions:y}=await JO(h,s,u);u.innerHTML=p,t&&await t(h),y&&y(u)}catch(p){sft(p,l,Mu.parseError)}}if(l.length>0)throw l[0]},"runThrowsErrors"),KO=$(function(t){Kf.initialize(t)},"initialize"),cft=$(async function(t,e,r){xe.warn("mermaid.init is deprecated. Please use run instead."),t&&KO(t);const n={postRenderCallback:r,querySelector:".mermaid"};typeof e=="string"?n.querySelector=e:e&&(e instanceof HTMLElement?n.nodes=[e]:n.nodes=e),await XO(n)},"init"),uft=$(async(t,{lazyLoad:e=!0}={})=>{_b(),K5(...t),e===!1&&await Bht()},"registerExternalDiagrams"),ZO=$(function(){if(Mu.startOnLoad){const{startOnLoad:t}=Kf.getConfig();t&&Mu.run().catch(e=>xe.error("Mermaid failed to initialize",e))}},"contentLoaded");typeof document<"u"&&window.addEventListener("load",ZO,!1);var hft=$(function(t){Mu.parseError=t},"setParseErrorHandler"),ky=[],n5=!1,QO=$(async()=>{if(!n5){for(n5=!0;ky.length>0;){const t=ky.shift();if(t)try{await t()}catch(e){xe.error("Error executing queue",e)}}n5=!1}},"executeQueue"),fft=$(async(t,e)=>new Promise((r,n)=>{const i=$(()=>new Promise((a,s)=>{Kf.parse(t,e).then(l=>{a(l),r(l)},l=>{xe.error("Error parsing",l),Mu.parseError?.(l),s(l),n(l)})}),"performCall");ky.push(i),QO().catch(n)}),"parse"),JO=$((t,e,r)=>new Promise((n,i)=>{const a=$(()=>new Promise((s,l)=>{Kf.render(t,e,r).then(u=>{s(u),n(u)},u=>{xe.error("Error parsing",u),Mu.parseError?.(u),l(u),i(u)})}),"performCall");ky.push(a),QO().catch(i)}),"render"),dft=$(()=>Object.keys(Uf).map(t=>({id:t})),"getRegisteredDiagramsMetadata"),Mu={startOnLoad:!0,mermaidAPI:Kf,parse:fft,render:JO,init:cft,run:XO,registerExternalDiagrams:uft,registerLayoutLoaders:oO,initialize:KO,parseError:void 0,contentLoaded:ZO,setParseErrorHandler:hft,detectType:Pw,registerIconPacks:$st,getRegisteredDiagramsMetadata:dft},GS=Mu;let JT=!1;function pft(){JT||(GS.initialize({startOnLoad:!1,theme:"dark",themeVariables:{darkMode:!0,background:"#000000",primaryColor:"#7c3aed",primaryTextColor:"#f5f5f5",primaryBorderColor:"#a78bfa",lineColor:"#a1a1aa",secondaryColor:"#1a1a1a",tertiaryColor:"#7f1d1d",fontFamily:'"JetBrains Mono", "Fira Code", monospace',fontSize:"14px",nodeBorder:"#a78bfa",mainBkg:"#1a1a2e",clusterBkg:"#161616",titleColor:"#f5f5f5",edgeLabelBackground:"#161616",nodeTextColor:"#f5f5f5"},flowchart:{curve:"basis",padding:16,htmlLabels:!0},stateDiagram:{defaultRenderer:"dagre-wrapper"},securityLevel:"loose"}),JT=!0)}function gft(t){let e=t.trim();e.startsWith("```")&&(e=e.replace(/^```(?:mermaid)?\n?/,"").replace(/\n?```$/,""));const r=e.split(`
548`)[0].trim().toLowerCase(),n=r.startsWith("statediagram");if(r.startsWith("mindmap"))return e;const a=e.split(`
549`),s=[];for(let l=0;l<a.length;l++){let u=a[l];if(l===0&&/^(flowchart|graph|stateDiagram|sequenceDiagram|classDiagram|erDiagram|gantt|pie|mindmap)/i.test(u.trim())){s.push(u);continue}if(/^\s*(%%|$|style |classDef |class )/.test(u)){s.push(u);continue}n?u=yft(u):u=mft(u),s.push(u)}return s.join(`
550`)}function mft(t){return t=t.replace(/(\w+)\[([^\]]*[()][^\]]*)\]/g,function(e,r,n){return/^".*"$/.test(n.trim())?e:r
550+'["'+n.replace(/"/g,"'")+'"]'}),t=t.replace(/(\w+)\{([^}]*[()][^}]*)\}/g,function(e,r,n){return/^".*"$/.test(n.trim())?e:r+'{"'+n.replace(/"/g,"'")+'"}'}),t}function yft(t){return t.replace(/^(\s*\w+\s*:\s*)(.*[()].*)$/,(e,r,n)=>{const i=n.replace(/\(/g,"[").replace(/\)/g,"]");return r+i})}let bft=0;function vft({chart:t}){const e=H.useRef(null),[r,n]=H.useState(""),[i,a]=H.useState(null),[s,l]=H.useState(!1),u=H.useRef(`mermaid-${++bft}`);return H.useEffect(()=>{if(!t||!t.trim())return;pft();let h=!1;async function f(){try{const p=gft(t),y=u.current+"-"+Date.now(),{svg:g}=await GS.render(y,p);h||(n(g),a(null))}catch(p){if(!s)try{const y=xft(t),g=u.current+"-retry-"+Date.now(),{svg:b}=await GS.render(g,y);h||(n(b),a(null),l(!0));return}catch{}h||(a(p&&p.message?p.message:String(p)),n(""))}}return f(),()=>{h=!0}},[t]),i?w.jsxs("div",{style:{padding:"12px 16px",borderRadius:8,border:"1px solid rgba(239, 68, 68, 0.3)",backgroundColor:"rgba(239, 68, 68, 0.06)",color:"inherit",fontSize:12,fontFamily:"monospace",whiteSpace:"pre-wrap",wordBreak:"break-word"},children:[w.jsx("div",{style:{marginBottom:8,color:"rgba(239, 68, 68, 0.8)",fontWeight:600},children:"Diagram render error"}),i,w.jsxs("details",{style:{marginTop:8,opacity:.6},children:[w.jsx("summary",{style:{cursor:"pointer"},children:"Show raw diagram code"}),w.jsx("pre",{style:{marginTop:6,fontSize:11,whiteSpace:"pre-wrap"},children:t})]})]}):r?w.jsx("div",{ref:e,style:{width:"100%",overflow:"auto",padding:"16px 8px"},dangerouslySetInnerHTML:{__html:r}}):null}function xft(t){let e=t.trim();e.startsWith("```")&&(e=e.replace(/^```(?:mermaid)?\n?/,"").replace(/\n?```$/,""));const r=e.split(`
551`),n=[];for(let i=0;i<r.length;i++){let a=r[i];if(i===0){n.push(a);continue}a=a.replace(/\(([^)]*)\)/g,(s,l)=>/\s/.test(l)||l.length>15?"["+l+"]":s),a=a.replace(/(\w+)\[([^\]]*)\]/g,function(s,l,u){return/^".*"$/.test(u.trim())?s:/[(){}|#&<>]/.test(u)?l+'["'+u.replace(/"/g,"'")+'"]':s}),n.push(a)}return n.join(`
552`)}function Sft({theme:t,open:e,onClose:r,activeDiagram:n,diagramZoom:i,setDiagramZoom:a}){const s=t.palette.mode==="dark",l=s?Kr[500]:Kr[600];return w.jsx(NH,{open:e,onClose:r,maxWidth:"lg",fullWidth:!0,PaperProps:{sx:{backgroundColor:s?"#0f0f0f":"#ffffff",border:"1px solid",borderColor:s?"rgba(167, 139, 250, 0.25)":"rgba(124, 58, 237, 0.18)",borderRadius:3,backgroundImage:"none"}},children:n&&w.jsxs(w.Fragment,{children:[w.jsxs(FH,{sx:{display:"flex",alignItems:"center",gap:1.5,pr:6},children:[w.jsx(P0,{sx:{color:l,fontSize:22}}),w.jsxs(Ee,{sx:{flex:1,minWidth:0},children:[w.jsx(Ie,{variant:"subtitle1",sx:{fontWeight:700,lineHeight:1.2},children:n.skillTitle}),w.jsx(Ie,{variant:"caption",sx:{color:"text.secondary",fontFamily:t.typography.fontFamilyMonospace},children:n.skillId})]}),w.jsx(Ko,{onClick:r,sx:{position:"absolute",right:12,top:12,color:"text.secondary"},children:w.jsx(gZ,{})})]}),w.jsxs(DH,{sx:{pb:3},children:[w.jsxs(qe,{direction:"row",spacing:.5,alignItems:"center",justifyContent:"center",sx:{mb:1.5},children:[w.jsx(Ko,{size:"small",onClick:()=>a(u=>Math.max(.25,u-.25)),disabled:i<=.25,sx:{color:"text.secondary"},children:w.jsx(yZ,{fontSize:"small"})}),w.jsx(xr,{size:"small",label:`${Math.round(i*100)}%`,sx:{fontFamily:t.typography.fontFamilyMonospace,fontSize:"0.72rem",height:24,minWidth:52,backgroundColor:s?"rgba(255,255,255,0.06)":"rgba(0,0,0,0.04)",color:"text.secondary"}}),w.jsx(Ko,{size:"small",onClick:()=>a(u=>Math.min(3,u+.25)),disabled:i>=3,sx:{color:"text.secondary"},children:w.jsx(mZ,{fontSize:"small"})}),w.jsx(Ko,{size:"small",onClick:()=>a(1),sx:{color:"text.disabled",ml:.5},title:"Reset zoom",children:w.jsx(bZ,{fontSize:"small"})})]}),w.jsx(Ee,{sx:{borderRadius:3,border:"1px solid",borderColor:s?"rgba(167, 139, 250, 0.15)":"rgba(124, 58, 237, 0.10)",backgroundColor:s?"rgba(0, 0, 0, 0.30)":"rgba(0, 0, 0, 0.02)",overflow:"auto",minHeight:200,maxHeight:"70vh",cursor:i>1?"grab":"default"},children:w.jsx(Ee,{sx:{transform:`scale(${i})`,transformOrigin:"top left",transition:"transform 0.15s ease"},children:w.jsx(vft,{chart:n.diagram})})})]})]})})}const Vo="https://test-scenario-generator.onrender.com",tP="ai-test-gen:apikey";function wft(){try{const t=sessionStorage.getItem(tP);return t?JSON.parse(t):null}catch{return null}}function Cft(t){try{sessionStorage.setItem(tP,JSON.stringify(t))}catch{}}function kft(t){return async function(r,n={}){const i=t(),a={...n.headers||{}};return i&&(a["X-LLM-API-Key"]=i),fetch(r,{...n,headers:a})}}const _ft=["Requirements","Analyze","Results"];function Aft(){const t="/test-cases.png",[e,r]=H.useState(pV),n=H.useMemo(()=>({mode:e,toggleColorMode:()=>{r(gt=>{const xt=gt==="dark"?"light":"dark";return gV(xt),document.body.setAttribute("data-theme",xt),xt})}}),[e]);H.useEffect(()=>{document.body.setAttribute("data-theme",e)},[]);const i=wft(),[a,s]=H.useState(i&&i.apiKey||""),[l,u]=H.useState(!1),[h,f]=H.useState([]),p=H.useRef(a);H.useEffect(()=>{p.current=a},[a]);const[y,g]=H.useState({llm:{},jira:!1}),[b,v]=H.useState(!1),[C,k]=H.useState(""),[T,E]=H.useState(""),[L,O]=
552H.useState("");H.useEffect(()=>{a&&Cft({apiKey:a})},[a]);const W=H.useCallback(kft(()=>p.current),[]);function q(){const gt={};return p.current&&(gt["X-LLM-API-Key"]=p.current),C.trim()&&(gt["X-Jira-Base-URL"]=C.trim()),T.trim()&&(gt["X-Jira-Email"]=T.trim()),L.trim()&&(gt["X-Jira-Token"]=L.trim()),gt}H.useEffect(()=>{fetch(`${Vo}/api/providers`).then(gt=>gt.json()).then(gt=>{g(gt),v(!0);const xt=gt.llm||{},Tt=xt.openai?"openai":xt.anthropic?"anthropic":xt.gemini?"gemini":null;Tt&&!a&&(X(Tt),fetch(`${Vo}/api/models`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:Tt})}).then(ue=>ue.json()).then(ue=>{const Le=Array.isArray(ue.models)?ue.models:[];if(f(Le),u(!0),Le.length>0){const $e=(kh[Tt]||[])[0];lt($e&&Le.includes($e.value)?$e.value:Le[0])}}).catch(()=>{}))}).catch(()=>{v(!0)})},[]);const U=H.useMemo(()=>bV(e),[e]),j=e==="dark",M=H.useRef(null),[N,I]=H.useState(!1),V=LU(U.breakpoints.down("sm")),[z,Y]=H.useState(0),[D,Z]=H.useState("left"),[Q,it]=H.useState(!0),mt=H.useRef(null);function K(gt){if(gt===z)return;const xt=gt>z?"left":"right";it(!1),Z(xt),setTimeout(()=>{Y(gt),Z(xt==="left"?"right":"left"),setTimeout(()=>{Z(xt),it(!0)},30)},250)}const[P,X]=H.useState("openai"),et="deep",[rt,lt]=H.useState("gpt-4.1"),[ht,bt]=H.useState("tests"),[yt,kt]=H.useState("rtm"),[Rt,wt]=H.useState({sprintName:"",author:"",testers:"",developers:"",testEnvironment:"",tools:"",timescales:"",outOfScopeNotes:""}),[qt,Ht]=H.useState(""),[at,ae]=H.useState(null),[Kt,le]=H.useState("manual"),[Ot,be]=H.useState(!1),[Nt,Dt]=H.useState([]),[Vt,de]=H.useState(""),[Be,_e]=H.useState([]),[Ne,Oe]=H.useState([]),[we,Ae]=H.useState(""),[ce,Er]=H.useState(""),[He,Jt]=H.useState(""),[Se,Pe]=H.useState(""),[je,Et]=H.useState([]),[fe,te]=H.useState(new Set),[Ze,Ge]=H.useState(0),[Me,lr]=H.useState([]),[Sn,Xt]=H.useState(!1),[me,Br]=H.useState(!1),[ee,ze]=H.useState(""),[br,rr]=H.useState("info"),[jr,vr]=H.useState(null),[Fr,Or]=H.useState([]),[dn,Dr]=H.useState({}),[mr,Cr]=H.useState(null),[Rr,Wt]=H.useState(null),[Gt,Re]=H.useState([]),[Ke,ge]=H.useState(null),[vt,Zt]=H.useState(null),[St,ke]=H.useState(null),[zr,Je]=H.useState(null),[an,Wr]=H.useState({}),[tr,wn]=H.useState({}),[pn,Li]=H.useState([]),[Lo,Ns]=H.useState([]),[Ba,Eo]=H.useState(!1),[fo,gn]=H.useState(null),[Bs,Wa]=H.useState(""),[Ga,hl]=H.useState(""),[Ei,fi]=H.useState(""),[Xn,Wl]=H.useState(10),[Gl,Vl]=H.useState(1),[la,Yl]=H.useState(1),[Pu,Mo]=H.useState("skills"),[Va,qc]=H.useState(""),[fl,Xl]=H.useState(""),[Kl,$u]=H.useState(""),[ca,po]=H.useState(""),[Ya,Os]=H.useState(!1),[Ps,_r]=H.useState(!1),[ju,Xa]=H.useState(""),[Du,ua]=H.useState(null),[Oi,Zl]=H.useState(new Set);H.useEffect(()=>{Rr&&Array.isArray(Rr.testCases)&&Zl(new Set(Rr.testCases.map(gt=>String(gt.id))))},[Rr]);async function $s(gt){const xt=q(),ue=await(await fetch(`${Vo}/api/jira/status`,{headers:xt})).json();if(ue&&ue.configured){be(!0);try{const $e=await(await fetch(`${Vo}/api/jira/projects`,{headers:xt})).json();Array.isArray($e.projects)&&Dt($e.projects)}catch{}}else if(be(!1),gt)throw new Error(ue.error||"Jira connection failed — check your credentials")}H.useEffect(()=>{$s()},[]),H.useEffect(()=>{if(!Vt){_e([]),Oe([]);return}Ae(""),Er(""),Jt("");const gt=q();fetch(`${Vo}/api/jira/epics?project=${encodeURIComponent(Vt)}`,{headers:gt}).then(xt=>xt.json()).then(xt=>{Array.isArray(xt.epics)&&_e(xt.epics)}).catch(()=>{}),fetch(`${Vo}/api/jira/sprints?project=${encodeURIComponent(Vt)}`,{headers:gt}).then(xt=>xt.json()).then(xt=>{Array.isArray(xt.sprints)&&Oe(xt.sprints)}).catch(()=>{})},[Vt]);function Oa(){if(!Vt)return;Xt(!0);const gt=new URLSearchParams({project:Vt});we&&gt.set("epic",we),ce&&gt.set("sprint",ce),He&&gt.set("status",He),Se.trim()&&gt.set("search",Se.trim()),fetch(`${Vo}/api/jira/stories?${gt}`,{headers:q()}).then(xt=>xt.json()).then(xt=>{Array.isArray(xt.stories)&&(Et(xt.stories),te(new Set))}).catch(xt=>On(xt.message)).finally(()=>Xt(!1))}async function dl(){const gt=Array.from(fe);if(!gt.length){On("Select at least one story.");return}Xt(!0);try{const xt=await fetch(`${Vo}/api/jira/story-details`,{method:"POST",headers:{"Content-Type":"application/json",...q()},body:JSON.stringify({keys:gt})}),Tt=await xt.json();if(!xt.ok)throw new Error(Tt.error||"Failed to fetch stories");const ue=Array.isArray(Tt.stories)?Tt.stories:[];lr(ue),Ht(Tt.formatted||""),Ge(gt.length),hi(`Imported ${gt.length} user ${gt.length===1?"story":"stories"} from Jira.`),K(1)}catch(xt){On(xt.message)}finally{Xt(!1)}}H.useEffect(()=>{if(!Me.length)return;const gt=Me.filter(Tt=>fe.has(Tt.key)),xt=gt.map(Tt=>{const ue=[`USER STORY: ${Tt.key} — ${Tt.summary}`];return Tt.description&&Tt.description.trim()&&(ue.push("Description:"),ue.push(Tt.description.trim())),ue.join(`
553`)}).join(`
554
555---
556
557`);Ht(xt),Ge(gt.length)},[fe,Me]);const Ca=!!at||qt.trim().length>0,os=H.useRef(null),Wi=H.useRef(null),ha=H.useRef(null),go=H.useRef(null);function di(){try{os.current&&os.current.abort()}catch{}try{Wi.current&&Wi.current.abort()}catch{}try{ha.current&&ha.current.abort()}catch{}try{go.current&&go.current.abort()}catch{}}H.useEffect(()=>{const gt="ai-test-generator:v1";try{const xt=localStorage.getItem(gt);if(!xt)return;const Tt=JSON.parse(xt);Tt&&typeof Tt.provider=="string"&&X(Tt.provider),Tt&&(Tt.artifactMode==="tests"||Tt.artifactMode==="document")&&bt(Tt.artifactMode),Tt&&(Tt.documentType==="rtm"||Tt.documentType==="coverage-gap-analysis"||Tt.documentType==="acceptance-criteria-breakdown"||Tt.documentType==="test-plan-draft")&&kt(Tt.documentType),Tt&&Tt.testPlanContext&&typeof Tt.testPlanContext=="object"&&wt($e=>({...$e,...Tt.testPlanContext}));const ue=Tt&&Tt.provider||"openai",Le=(kh[ue]||[]).map($e=>$e.value);Tt&&typeof Tt.model=="string"&&Le.includes(Tt.model)?lt(Tt.model):lt(Le[0]||""),Tt&&typeof Tt.requirementText=="string"&&Ht(Tt.requirementText),Tt&&Tt.answersByQuestion&&typeof Tt.answersByQuestion=="object"&&Dr(Tt.answersByQuestion),Tt&&typeof Tt.aioProject=="string"&&qc(Tt.aioProject),Tt&&typeof Tt.aioFolder=="string"&&Xl(Tt.aioFolder),Tt&&typeof Tt.aioIncludeTags=="boolean"&&Os(Tt.aioIncludeTags)}catch{}},[]),H.useEffect(()=>{const gt="ai-test-generator:v1",xt={provider:P,model:rt,artifactMode:ht,documentType:yt,testPlanContext:Rt,requirementText:qt,answersByQuestion:dn,aioProject:Va,aioFolder:fl,aioIncludeTags:Ya};try{localStorage.setItem(gt,JSON.stringify(xt))}catch{}},[P,rt,ht,yt,Rt,qt,dn,Va,fl,Ya]),H.useEffect(()=>()=>di(),[]),H.useEffect(()=>{ze(""),ht==="document"?(ke(null),Je(null),Wr({}),wn({}),Wt(null),Cr(null),Re([]),Li([]),Ns([]),Wa(""),hl(""),fi("")):(ge(null),Zt(null))},[ht]);function hi(gt){ze(String(gt||"")),rr("info")}function On(gt){ze(String(gt||"")),rr("error")}function ka(gt){ze(String(gt||"")),rr("success")}function Ql(gt){gt&&(ae(gt),ka(`Selected: ${gt.name}`))}function js(){const gt=jr&&Array.isArray(jr.missingInfoQuestions)?jr.missingInfoQuestions:[],xt=[];for(const Tt of gt){const ue=String(Tt),Le=String(dn[ue]||"").trim();!ue||!Le||(xt.push(`Q: ${ue}`),xt.push(`A: ${Le}`),xt.push(""))}return xt.join(`
558`).trim()}async function ss(){if(!Ca){On("Add requirements first (file or text).");return}Br(!0),hi("Analyzing requirements and preparing questions..."),vr(null),Or([]),Dr({}),Wt(null),Re([]),Cr(null),Xa(""),ge(null),Zt(null);try{try{os.current&&os.current.abort()}catch{}const gt=new AbortController;os.current=gt;const xt=new FormData;xt.set("provider",P),xt.set("model",rt),xt.set("requirementText",qt),at&&xt.set("requirementFile",at);const Tt=await W(`${Vo}/api/preflight`,{method:"POST",body:xt,signal:gt.signal}),ue=await Tt.json();if(!Tt.ok)throw new Error(ue&&ue.error||`Request failed: ${Tt.status}`);vr(ue.preflight||null),Or(Array.isArray(ue.selectedSkills)?ue.selectedSkills:[]);const Le=ue.preflight&&Array.isArray(ue.preflight.missingInfoQuestions)?ue.preflight.missingInfoQuestions.length:0;ka(`Preflight done. ${Le} question(s) to answer.`)}catch(gt){gt&&(gt.name==="AbortError"||String(gt.message||"").toLowerCase().includes("aborted"))?hi("Cancelled."):On(gt&&gt.message?gt.message:String(gt))}finally{os.current=null,Br(!1)}}async function ls(){if(!Ca){On("Add requirements first (file or text).");return}Br(!0),hi("Analyzing requirement to recommend test techniques..."),ke(null),Je(null),Wr({}),Wt(null),Cr(null),Re([]),Li([]),Xa(""),ge(null),Zt(null);try{try{Wi.current&&Wi.current.abort()}catch{}const gt=new AbortController;Wi.current=gt;const xt=new FormData;xt.set("provider",P),xt.set("model",rt),xt.set("requirementText",qt),at&&xt.set("requirementFile",at);const Tt=await W(`${Vo}/api/analyze`,{method:"POST",body:xt,signal:gt.signal}),ue=await Tt.json();if(!Tt.ok)throw new Error(ue&&ue.error||`Request failed: ${Tt.status}`);const Le=ue.analysis||{};ke(Le),Je({provider:ue.provider,model:ue.model,repaired:!!ue.repaired});const $e=Array.isArray(Le.techniqueRecommendations)?Le.techniqueRecommendations:[],De={};for(const Gr of $e)De[Gr.skillId]=Gr.confidence==="high"||Gr.confidence==="medium";
558Wr(De),ka(`Analysis done. ${$e.length} technique(s) recommended. Review and generate.`)}catch(gt){gt&&(gt.name==="AbortError"||String(gt.message||"").toLowerCase().includes("aborted"))?hi("Cancelled."):On(gt&&gt.message?gt.message:String(gt))}finally{Wi.current=null,Br(!1)}}async function pl(){const gt=Object.entries(an).filter(([,xt])=>xt).map(([xt])=>xt);if(gt.length===0){On("Select at least one technique.");return}Br(!0),hi(`Generating test scenarios using ${gt.length} technique(s) in parallel...`),Wt(null),Cr(null),Re([]),Li([]),Ns([]),Xa("");try{try{ha.current&&ha.current.abort()}catch{}const xt=new AbortController;ha.current=xt;const Tt=new FormData;Tt.set("provider",P),Tt.set("model",rt),Tt.set("depth",et),Tt.set("requirementText",qt),at&&Tt.set("requirementFile",at),Tt.set("selectedSkills",JSON.stringify(gt));const ue=Object.entries(tr).filter(([,ni])=>ni).map(([ni])=>ni);ue.length>0&&Tt.set("diagramSkills",JSON.stringify(ue)),St&&Array.isArray(St.extractedElements)&&Tt.set("analysisContext",JSON.stringify(St.extractedElements));const Le=js();Le&&Tt.set("clarifications",Le);const $e=await W(`${Vo}/api/generate-tests`,{method:"POST",body:Tt,signal:xt.signal}),De=await $e.json();if(!$e.ok)throw new Error(De&&De.error||`Request failed: ${$e.status}`);Wt(De.suite||null),Re(Array.isArray(De.selectedSkills)?De.selectedSkills:[]),Cr({provider:De.provider,model:De.model,depth:De.depth,repaired:!!De.repaired,mode:De.mode||"per-skill"}),Li(Array.isArray(De.duplicateGroups)?De.duplicateGroups:[]),Ns(Array.isArray(De.skillDiagrams)?De.skillDiagrams:[]);const Gr=De.suite&&Array.isArray(De.suite.testCases)?De.suite.testCases.length:0,zn=Array.isArray(De.duplicateGroups)?De.duplicateGroups.length:0,Kn=Array.isArray(De.skillErrors)?De.skillErrors:[];let Cn=`Done. Generated ${Gr} test cases via ${gt.length} technique(s).`;zn>0&&(Cn+=` ${zn} duplicate(s) removed.`),Kn.length>0&&(Cn+=` ${Kn.length} skill(s) had errors.`),ka(Cn),K(2)}catch(xt){xt&&(xt.name==="AbortError"||String(xt.message||"").toLowerCase().includes("aborted"))?hi("Cancelled."):On(xt&&xt.message?xt.message:String(xt))}finally{ha.current=null,Br(!1)}}async function Hc(){if(!Ca){On("Add requirements first (file or text).");return}Br(!0),hi(`Generating ${yt==="rtm"?"requirements traceability matrix":yt==="coverage-gap-analysis"?"coverage gap analysis":yt==="acceptance-criteria-breakdown"?"acceptance criteria breakdown":"test plan draft"}...`),Wt(null),Cr(null),Re([]),Li([]),Ns([]),Xa(""),ge(null),Zt(null);try{try{ha.current&&ha.current.abort()}catch{}const xt=new AbortController;ha.current=xt;const Tt=new FormData;if(Tt.set("provider",P),Tt.set("model",rt),Tt.set("requirementText",qt),Tt.set("documentType",yt),yt==="test-plan-draft"){const Gi=[`Sprint Name: ${Rt.sprintName||"Current Sprint"}`,`Author: ${Rt.author||"Unspecified Author"}`,`Testers: ${Rt.testers||"TBD"}`,`Developers: ${Rt.developers||"TBD"}`,`Test Environment: ${Rt.testEnvironment||"TBD"}`,`Tools: ${Rt.tools||"TBD"}`,`Timescales: ${Rt.timescales||"TBD"}`,`Out of Scope Notes: ${Rt.outOfScopeNotes||"Not specified"}`].join(`
559`);Tt.set("documentContext",Gi)}at&&Tt.set("requirementFile",at);const ue=js();ue&&Tt.set("clarifications",ue);const Le=await W(`${Vo}/api/generate-document`,{method:"POST",body:Tt,signal:xt.signal}),$e=await Le.json();if(!Le.ok)throw new Error($e&&$e.error||`Request failed: ${Le.status}`);const De=$e.document||null;ge(De),Zt({provider:$e.provider,model:$e.model,repaired:!!$e.repaired,documentType:$e.documentType||yt});const Gr=Number($e.batchCount||1),zn=De&&Array.isArray(De.requirementItems)?De.requirementItems.length:0,Kn=$e.documentType==="rtm"?De&&Array.isArray(De.traceRows)?De.traceRows.length:0:$e.documentType==="coverage-gap-analysis"?De&&Array.isArray(De.gapRows)?De.gapRows.length:0:$e.documentType==="acceptance-criteria-breakdown"?De&&Array.isArray(De.criteriaRows)?De.criteriaRows.length:0:De&&Array.isArray(De.featureRows)?De.featureRows.length:0,Cn=$e.documentType==="rtm"?"trace row(s)":$e.documentType==="coverage-gap-analysis"?"gap row(s)":$e.documentType==="acceptance-criteria-breakdown"?"criteria row(s)":"feature row(s)",ni=$e.documentType==="rtm"?"RTM":$e.documentType==="coverage-gap-analysis"?"Coverage Gap Analysis":$e.documentType==="acceptance-criteria-breakdown"?"Acceptance Criteria Breakdown":"Test Plan Draft",xi=Gr>1?` Processed in ${Gr} batches.`:"";ka(`Done. Generated ${ni} with ${zn} requirement item(s) and ${Kn} ${Cn}.${xi}`),K(2)}catch(xt){xt&&(xt.name==="AbortError"||String(xt.message||"").toLowerCase().includes("aborted"))?hi("Cancelled."):On(xt&&xt.message?xt.message:String(xt))}finally{ha.current=null,Br(!1)}}async function cs(){if(!Rr||!Array.isArray(Rr.testCases)||Rr.testCases.length===0){On("No test suite to push.");return}if(!Va.trim()){On("Enter a Jira Project ID.");return}const gt=Rr.testCases.filter(xt=>Oi.has(String(xt.id)));if(gt.length===0){On("No test cases selected. Check at least one test case to push.");return}_r(!0),Xa(""),ua(null),hi("Pushing to AIO...");try{try{go.current&&go.current.abort()}catch{}const xt=new AbortController;go.current=xt;const Tt={jiraProjectId:Va.trim(),suite:{...Rr,testCases:gt},folderPath:fl.trim()||void 0,aioBaseUrl:Kl.trim()||void 0,aioToken:ca.trim()||void 0,includeCoverageTags:Ya},ue=await W(`${Vo}/api/push-to-aio`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Tt),signal:xt.signal}),Le=await ue.json();if(!ue.ok)throw new Error(Le&&Le.error||`Request failed: ${ue.status}`);const $e=Le.created||0;Xa(`Pushed ${$e} test case(s) to AIO project ${Va}.${Le.folderId?` Folder ID: ${Le.folderId}`:""}`),ua("success"),ka(`AIO push complete. ${$e} test case(s) created.`)}catch(xt){xt&&(xt.name==="AbortError"||String(xt.message||"").toLowerCase().includes("aborted"))?hi("Cancelled."):(On(xt&&xt.message?xt.message:String(xt)),Xa(`Error: ${xt.message}`),ua("error"))}finally{go.current=null,_r(!1)}}const Ka=H.useMemo(()=>{const gt=Rr&&Array.isArray(Rr.testCases)?Rr.testCases:[],xt=Bs.trim().toLowerCase();let Tt=gt.slice();return Ga&&(Tt=Tt.filter(ue=>String(ue.type||"")===Ga)),Ei&&(Tt=Tt.filter(ue=>
559String(ue.priority||"")===Ei)),xt&&(Tt=Tt.filter(ue=>[ue.id,ue.title,Array.isArray(ue.coverageTags)?ue.coverageTags.join(" "):"",Array.isArray(ue.requirementRefs)?ue.requirementRefs.join(" "):""].join(" ").toLowerCase().includes(xt))),Tt},[Rr,Bs,Ga,Ei]),Iu=Math.max(1,Math.ceil(Ka.length/Xn)),us=H.useMemo(()=>{const gt=(Gl-1)*Xn;return Ka.slice(gt,gt+Xn)},[Ka,Gl,Xn]);H.useEffect(()=>{Vl(1)},[Bs,Ga,Ei,Rr]);function zu(){di(),vr(null),Or([]),Dr({}),ke(null),Je(null),Wr({}),wn({}),Wt(null),Cr(null),Re([]),Li([]),Ns([]),ge(null),Zt(null),Xa(""),ze(""),Wa(""),hl(""),fi(""),K(0)}const R=y&&y.llm?y.llm:{},J=!!a.trim()||!!R[P],pt=()=>z===0?Ca&&!!(P&&rt)&&J:z===1?ht==="tests"?!!St||!!Rr:!!Ke:!1,_t=[()=>w.jsx(SV,{theme:U,isSmDown:V,provider:P,setProvider:X,model:rt,setModel:lt,artifactMode:ht,setArtifactMode:bt,documentType:yt,setDocumentType:kt,testPlanContext:Rt,setTestPlanContext:wt,apiKey:a,setApiKey:s,apiKeyValidated:l,setApiKeyValidated:u,apiKeyModels:h,setApiKeyModels:f,requirementText:qt,setRequirementText:Ht,requirementFile:at,setRequirementFile:ae,fileInputRef:M,dragOver:N,setDragOver:I,reqInputTab:Kt,setReqInputTab:le,serverProviders:y,serverProvidersLoaded:b,jiraConfigured:Ot,jiraProjects:Nt,jiraProject:Vt,setJiraProject:de,jiraEpics:Be,jiraSprints:Ne,jiraEpicFilter:we,setJiraEpicFilter:Ae,jiraSprintFilter:ce,setJiraSprintFilter:Er,jiraStatusFilter:He,setJiraStatusFilter:Jt,jiraSearch:Se,setJiraSearch:Pe,jiraStories:je,setJiraStories:Et,jiraSelectedKeys:fe,setJiraSelectedKeys:te,jiraLoading:Sn,jiraBaseUrl:C,setJiraBaseUrl:k,jiraEmail:T,setJiraEmail:E,jiraToken:L,setJiraToken:O,checkJiraAndLoadProjects:$s,fetchJiraStories:Oa,useSelectedJiraStories:dl,acceptDroppedFile:Ql,cancelInFlight:di,setInfo:hi,setError:On}),()=>w.jsx(kV,{theme:U,busy:me,hasAnyRequirements:Ca,artifactMode:ht,documentType:yt,preflight:jr,answersByQuestion:dn,setAnswersByQuestion:Dr,preflightSkills:Fr,callPreflight:ss,analysis:St,analysisMeta:zr,selectedTechniques:an,setSelectedTechniques:Wr,selectedDiagrams:tr,setSelectedDiagrams:wn,jiraImportedCount:Ze,callAnalyze:ls,callGenerateFromAnalysis:pl,callGenerateDocument:Hc,cancelInFlight:di,setInfo:hi,setAnalysis:ke,setAnalysisMeta:Je}),()=>w.jsx(pZ,{theme:U,isSmDown:V,artifactMode:ht,documentType:yt,suite:Rr,suiteMeta:mr,selectedSkills:Gt,documentResult:Ke,documentMeta:vt,duplicateGroups:pn,skillDiagrams:Lo,search:Bs,setSearch:Wa,filterType:Ga,setFilterType:hl,filterPriority:Ei,setFilterPriority:fi,filteredCases:Ka,paginatedCases:us,page:Gl,setPage:Vl,totalPages:Iu,rowsPerPage:Xn,setRowsPerPage:Wl,selectedCaseIds:Oi,setSelectedCaseIds:Zl,aioProject:Va,setAioProject:qc,aioFolder:fl,setAioFolder:Xl,aioBaseUrl:Kl,setAioBaseUrl:$u,aioToken:ca,setAioToken:po,aioIncludeTags:Ya,setAioIncludeTags:Os,aioServerConfigured:y&&y.aio,aioBusy:Ps,aioResult:ju,aioStatus:Du,pushToAio:cs,setDiagramDialogOpen:Eo,setActiveDiagram:gn,setDiagramZoom:Yl,goToStep:K})];return w.jsx(dV.Provider,{value:n,children:w.jsxs(tI,{theme:U,children:[w.jsx(oH,{}),w.jsxs(Ee,{sx:{minHeight:"100dvh",backgroundColor:"background.default",background:j?`radial-gradient(ellipse at 15% 15%, rgba(124,58,237,0.14) 0%, transparent 45%),
560             radial-gradient(ellipse at 85% 75%, rgba(167,139,250,0.09) 0%, transparent 45%),
561             radial-gradient(ellipse at 50% 100%, rgba(109,40,217,0.07) 0%, transparent 40%),
562             #0a0a0a`:`radial-gradient(ellipse at 15% 15%, rgba(124,58,237,0.08) 0%, transparent 45%),
563             radial-gradient(ellipse at 85% 75%, rgba(167,139,250,0.06) 0%, transparent 45%),
564             radial-gradient(ellipse at 50% 100%, rgba(109,40,217,0.04) 0%, transparent 40%),
565             #faf8ff`},children:[w.jsx(kz,{position:"fixed",elevation:0,sx:{top:12,left:16,right:16,width:"auto",borderRadius:4,border:"1px solid",borderColor:j?"rgba(255,255,255,0.08)":"rgba(0,0,0,0.06)",backgroundImage:"none",backgroundColor:j?"rgba(10,10,10,0.72)":"rgba(255,255,255,0.72)",backdropFilter:"blur(20px)",willChange:"transform",boxShadow:j?"0 4px 30px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04)":"0 4px 30px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.02)"},children:w.jsxs(jG,{sx:{minHeight:{xs:56,sm:64}},children:[w.jsxs(Ee,{sx:{display:"flex",alignItems:"center",gap:1.5,flex:1,minWidth:0}
565,children:[w.jsx(Ee,{component:"img",src:t,alt:"TestPilot AI",sx:{width:34,height:34,borderRadius:2,objectFit:"contain"}}),w.jsxs(Ee,{sx:{display:"flex",alignItems:"center",gap:1.5,minWidth:0},children:[w.jsx(Ie,{variant:"h6",sx:{lineHeight:1.1,color:"text.primary",fontWeight:700},noWrap:!0,children:"TestPilot AI"}),w.jsx(Ee,{sx:{px:1.2,py:.25,borderRadius:99,backgroundColor:j?"rgba(167, 139, 250, 0.12)":"rgba(124, 58, 237, 0.08)",border:"1px solid",borderColor:j?"rgba(167, 139, 250, 0.20)":"rgba(124, 58, 237, 0.15)",display:{xs:"none",sm:"block"}},children:w.jsx(Ie,{sx:{fontFamily:U.typography.fontFamilyMonospace,fontSize:"0.65rem",letterSpacing:"0.08em",textTransform:"uppercase",color:j?Kr[400]:Kr[600],fontWeight:600,lineHeight:1.6},children:"intelligent test design"})})]})]}),w.jsxs(qe,{direction:"row",spacing:1,alignItems:"center",children:[w.jsx(Vn,{component:"a",href:`${Vo}/api/skills`,target:"_blank",rel:"noreferrer",variant:"outlined",size:"small",sx:{borderRadius:99,borderColor:j?"rgba(255,255,255,0.10)":"rgba(0,0,0,0.10)",color:"text.primary",fontSize:"0.8rem",px:2,"&:hover":{borderColor:Kr[500],backgroundColor:j?"rgba(167, 139, 250, 0.08)":"rgba(124, 58, 237, 0.06)"}},children:"Loaded skills"}),w.jsx(Lh,{title:j?"Switch to light mode":"Switch to dark mode",children:w.jsx(Ko,{onClick:n.toggleColorMode,size:"small",sx:{color:"text.secondary",border:"1px solid",borderColor:j?"rgba(255,255,255,0.10)":"rgba(0,0,0,0.10)",borderRadius:99,width:36,height:36,transition:"all 0.25s ease","&:hover":{color:Kr[500],borderColor:Kr[500],backgroundColor:j?"rgba(167, 139, 250, 0.08)":"rgba(124, 58, 237, 0.06)"}},children:j?w.jsx(fV,{sx:{fontSize:18}}):w.jsx(hV,{sx:{fontSize:18}})})})]})]})}),w.jsx(eH,{maxWidth:!1,sx:{pt:{xs:12,sm:13},pb:3,px:{xs:2,sm:4,md:8}},children:w.jsxs(Ee,{sx:{maxWidth:1200,mx:"auto"},children:[w.jsx(Ee,{sx:{display:"flex",gap:.5,p:.5,borderRadius:3,backgroundColor:j?"rgba(255,255,255,0.05)":"rgba(255,255,255,0.62)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",willChange:"transform",border:"1px solid",borderColor:j?"rgba(255,255,255,0.07)":"rgba(0,0,0,0.06)",boxShadow:j?"0 2px 12px rgba(0,0,0,0.30)":"0 2px 12px rgba(124,58,237,0.06)",mb:4},children:_ft.map((gt,xt)=>w.jsxs(Ee,{onClick:()=>{me||K(xt)},sx:{flex:1,py:1,px:2,borderRadius:2.5,cursor:me?"default":"pointer",textAlign:"center",backgroundColor:xt<=z?xt===z?`linear-gradient(135deg, ${Kr[500]}, ${Kr[700]})`:Kr[500]:"transparent",background:xt===z?`linear-gradient(135deg, ${Kr[500]}, ${Kr[700]})`:xt<z?Kr[600]:"transparent",color:xt<=z?"#fff":"text.secondary",fontWeight:xt===z?700:500,fontSize:"0.85rem",transition:"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)",userSelect:"none","&:hover":me?{}:{backgroundColor:xt<=z?void 0:j?"rgba(255,255,255,0.06)":"rgba(0,0,0,0.06)"}},children:[xt+1,". ",gt]},gt))}),ee.trim().length>0?w.jsx(Lc,{severity:br,variant:"outlined",sx:{mb:2.5,borderRadius:3,"& .MuiAlert-icon":{fontSize:20}},children:ee}):null,w.jsx(Ee,{ref:mt,sx:{overflow:"hidden",position:"relative"},children:w.jsx(YH,{direction:D,in:Q,container:mt.current,timeout:250,easing:{enter:"cubic-bezier(0.25, 0.1, 0.25, 1)",exit:"cubic-bezier(0.25, 0.1, 0.25, 1)"},mountOnEnter:!0,unmountOnExit:!0,children:w.jsx(B2,{in:Q,timeout:200,children:w.jsx(Ee,{children:_t[z]()})})})}),w.jsxs(qe,{direction:"row",spacing:1.5,justifyContent:"space-between",alignItems:"center",sx:{mt:3,pt:2,borderTop:"1px solid",borderColor:"divider"},children:[w.jsx(qe,{direction:"row",spacing:1,children:z>0&&w.jsx(Vn,{variant:"text",startIcon:w.jsx(EL,{}),disabled:me,onClick:()=>K(Math.max(0,z-1)),sx:{borderRadius:99,color:"text.secondary",px:2.5,"&:hover":{backgroundColor:j?"rgba(255,255,255,0.06)":"rgba(0,0,0,0.04)",color:"text.primary"}},children:"Back"})}),w.jsxs(qe,{direction:"row",spacing:1,children:[z===2&&(Rr||Ke)&&w.jsx(Vn,{variant:"text",startIcon:w.jsx(uV,{}),onClick:zu,sx:{borderRadius:99,color:"text.secondary",px:2.5,"&:hover":{backgroundColor:j?"rgba(239,68,68,0.08)":"rgba(239,68,68,0.06)",color:"#ef4444"}},children:"Start Over"}),z<2&&w.jsx(Vn,{variant:"contained",endIcon:w.jsx(cV,{}),disabled:me||!pt(),onClick:()=>K(Math.min(2,z+1)),sx:{borderRadius:99,backgroundImage:`linear-gradient(135deg, ${Kr[500]}, ${Kr[700]})`,backgroundColor:Kr[600],color:"#fff",px:3,boxShadow:`0 0 0 1px ${Kr[500]}33, 0 8px 24px ${j?"rgba(0,0,0,0.45)":"rgba(124,58,237,0.20)"}`,"&:hover":{backgroundImage:`linear-gradient(135deg, ${Kr[600]}, ${Kr[800]})`,boxShadow:`0 0 0 1px ${Kr[500]}55, 0 12px 32px ${j?"rgba(0,0,0,0.55)":"rgba(124,58,237,0.30)"}`},"&.Mui-disabled":{backgroundImage:"none"}},children:z===1?"Skip to Results":"Next"})]})]})]})})]}),w.jsx(Sft,{theme:U,open:Ba,onClose:()=>{Eo(!1),gn(null)},activeDiagram:fo,diagramZoom:la,setDiagramZoom:Yl})]})})}y9.createRoot(document.getElementById("root")).render(w.jsx(H.StrictMode,{children:w.jsx(Aft,{})}));export{nM as $,w0 as A,CZ as B,WQ as C,yC as D,YE as E,lo as F,k
565ot as G,Art as H,y6 as I,Nnt as J,oQ as K,Np as L,Mft as M,gb as N,_Q as O,$w as P,E6 as Q,yrt as R,m2 as S,Cot as T,lm as U,BQ as V,sm as W,ar as X,Lr as Y,got as Z,$ as _,IQ as a,OR as a$,drt as a0,X6 as a1,Y6 as a2,Fft as a3,$ft as a4,Ift as a5,Dft as a6,Oft as a7,Xw as a8,zft as a9,hot as aA,nat as aB,iot as aC,lC as aD,YT as aE,Dst as aF,prt as aG,Eft as aH,VS as aI,gm as aJ,$st as aK,Pst as aL,Ww as aM,wh as aN,z0 as aO,q6 as aP,Wtt as aQ,rd as aR,fot as aS,GR as aT,ub as aU,pb as aV,dy as aW,YR as aX,WR as aY,qat as aZ,dr as a_,Pft as aa,Zd as ab,Hft as ac,qft as ad,jft as ae,clt as af,rO as ag,Jft as ah,Ont as ai,wa as aj,Uh as ak,sC as al,LN as am,ad as an,tN as ao,Ur as ap,jc as aq,tct as ar,Qft as as,tdt as at,Kft as au,pr as av,Zft as aw,$lt as ax,Rlt as ay,Mlt as az,DQ as b,Zo as b0,Dtt as b1,Uw as b2,yM as b3,um as b4,xM as b5,Bft as b6,wZ as b7,uot as b8,not as b9,qS as bA,Tft as bB,Yn as bC,dot as bD,db as bE,Lft as bF,Mn as bG,Uit as ba,cC as bb,Dat as bc,pot as bd,dm as be,Up as bf,uy as bg,Xat as bh,Cct as bi,fm as bj,fy as bk,Hat as bl,IR as bm,Vit as bn,Yit as bo,xf as bp,gT as bq,Xit as br,uC as bs,Git as bt,Qit as bu,Wp as bv,Hh as bw,uT as bx,hC as by,FR as bz,qn as c,Tn as d,rM as e,xa as f,FQ as g,Eu as h,sl as i,znt as j,qp as k,xe as l,rN as m,Rft as n,rdt as o,qQ as p,HQ as q,edt as r,zQ as s,Bnt as t,jl as u,Tlt as v,Tot as w,Uft as x,jQ as y,Nft as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.