From 8b9b30c3da6410675542b4444c434ea56117995e Mon Sep 17 00:00:00 2001 From: github-actions-bot Date: Sat, 2 May 2026 13:58:46 +0000 Subject: [PATCH] Updates --- README.md | 7 + assets/index-Bk_VbKFy.js | 824 ++++++++++++++++++ ...{index-CPYpbGHF.css => index-DKBwy6AA.css} | 2 +- assets/index-DsNtXj9M.js | 819 ----------------- ...ex.es-DBB1j9TD.js => index.es-DwbEwFpQ.js} | 2 +- ...n-DYRzNW_s.js => jspdf.es.min-BNcdNBFg.js} | 8 +- assets/purify.es-B5CD4DQe.js | 2 - assets/purify.es-dhnUglUx.js | 2 + index.html | 4 +- 9 files changed, 841 insertions(+), 829 deletions(-) create mode 100644 README.md create mode 100644 assets/index-Bk_VbKFy.js rename assets/{index-CPYpbGHF.css => index-DKBwy6AA.css} (99%) delete mode 100644 assets/index-DsNtXj9M.js rename assets/{index.es-DBB1j9TD.js => index.es-DwbEwFpQ.js} (99%) rename assets/{jspdf.es.min-DYRzNW_s.js => jspdf.es.min-BNcdNBFg.js} (99%) delete mode 100644 assets/purify.es-B5CD4DQe.js create mode 100644 assets/purify.es-dhnUglUx.js diff --git a/README.md b/README.md new file mode 100644 index 0000000..d5590d5 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Public Directory + +This directory contains static assets that are served directly by the web server. In this project, files in the `public` directory are served at the root path. + +## Files + +- [favicon.png](favicon.png): The icon displayed in the browser tab. diff --git a/assets/index-Bk_VbKFy.js b/assets/index-Bk_VbKFy.js new file mode 100644 index 0000000..a9b42d8 --- /dev/null +++ b/assets/index-Bk_VbKFy.js @@ -0,0 +1,824 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(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 r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();var Ra=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function jn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Zm(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var Ix={exports:{}},vh={},Nx={exports:{}},ht={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Q4;function qX(){if(Q4)return ht;Q4=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),f=Symbol.iterator;function d(W){return W===null||typeof W!="object"?null:(W=f&&W[f]||W["@@iterator"],typeof W=="function"?W:null)}var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,g={};function w(W,G,H){this.props=W,this.context=G,this.refs=g,this.updater=H||p}w.prototype.isReactComponent={},w.prototype.setState=function(W,G){if(typeof W!="object"&&typeof W!="function"&&W!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,W,G,"setState")},w.prototype.forceUpdate=function(W){this.updater.enqueueForceUpdate(this,W,"forceUpdate")};function _(){}_.prototype=w.prototype;function b(W,G,H){this.props=W,this.context=G,this.refs=g,this.updater=H||p}var E=b.prototype=new _;E.constructor=b,y(E,w.prototype),E.isPureReactComponent=!0;var S=Array.isArray,v=Object.prototype.hasOwnProperty,C={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function M(W,G,H){var ne,ce={},he=null,ve=null;if(G!=null)for(ne in G.ref!==void 0&&(ve=G.ref),G.key!==void 0&&(he=""+G.key),G)v.call(G,ne)&&!k.hasOwnProperty(ne)&&(ce[ne]=G[ne]);var Ee=arguments.length-2;if(Ee===1)ce.children=H;else if(1>>16,p[1]!==61&&(c[d++]=g>>>8),p[0]!==61&&(c[d++]=g),y=0));return c};t&&(o=new t([62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,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])),n&&(!r.toBlob||!r.toBlobHD)&&(r.toBlob||(r.toBlob=function(u,l){if(l||(l="image/png"),this.mozGetAsFile){u(this.mozGetAsFile("canvas",l));return}if(this.msToBlob&&/^\s*image\/png\s*(?:$|;)/i.test(l)){u(this.msToBlob());return}var c=Array.prototype.slice.call(arguments,1),f=this[a].apply(this,c),d=f.indexOf(","),p=f.substring(d+1),y=i.test(f.substring(0,d)),g;Blob.fake?(g=new Blob,y?g.encoding="base64":g.encoding="URI",g.data=p,g.size=p.length):t&&(y?g=new Blob([s(p)],{type:l}):g=new Blob([decodeURIComponent(p)],{type:l})),u(g)}),!r.toBlobHD&&r.toDataURLHD?r.toBlobHD=function(){a="toDataURLHD";var u=this.toBlob();return a="toDataURL",u}:r.toBlobHD=r.toBlob)}(typeof self<"u"&&self||typeof window<"u"&&window||X0.content||X0),X0}VX();var eN=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new ZX:typeof navigator<"u"?iZ(navigator.userAgent):oZ()}function rZ(e){return e!==""&&tZ.reduce(function(t,n){var r=n[0],i=n[1];if(t)return t;var a=i.exec(e);return!!a&&[r,a]},!1)}function iZ(e){var t=rZ(e);if(!t)return null;var n=t[0],r=t[1];if(n==="searchbot")return new XX;var i=r[1]&&r[1].split(".").join("_").split("_").slice(0,3);i?i.length>>1,G=K[W];if(0>>1;Wi(ce,L))hei(ve,ce)?(K[W]=ve,K[he]=L,W=he):(K[W]=ce,K[ne]=L,W=ne);else if(hei(ve,L))K[W]=ve,K[he]=L,W=he;else break e}}return j}function i(K,j){var L=K.sortIndex-j.sortIndex;return L!==0?L:K.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var u=[],l=[],c=1,f=null,d=3,p=!1,y=!1,g=!1,w=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(K){for(var j=n(l);j!==null;){if(j.callback===null)r(l);else if(j.startTime<=K)r(l),j.sortIndex=j.expirationTime,t(u,j);else break;j=n(l)}}function S(K){if(g=!1,E(K),!y)if(n(u)!==null)y=!0,z(v);else{var j=n(l);j!==null&&Q(S,j.startTime-K)}}function v(K,j){y=!1,g&&(g=!1,_(M),M=-1),p=!0;var L=d;try{for(E(j),f=n(u);f!==null&&(!(f.expirationTime>j)||K&&!P());){var W=f.callback;if(typeof W=="function"){f.callback=null,d=f.priorityLevel;var G=W(f.expirationTime<=j);j=e.unstable_now(),typeof G=="function"?f.callback=G:f===n(u)&&r(u),E(j)}else r(u);f=n(u)}if(f!==null)var H=!0;else{var ne=n(l);ne!==null&&Q(S,ne.startTime-j),H=!1}return H}finally{f=null,d=L,p=!1}}var C=!1,k=null,M=-1,R=5,N=-1;function P(){return!(e.unstable_now()-NK||125W?(K.sortIndex=L,t(l,K),n(u)===null&&K===n(l)&&(g?(_(M),M=-1):g=!0,Q(S,L-W))):(K.sortIndex=G,t(u,K),y||p||(y=!0,z(v))),K},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(K){var j=d;return function(){var L=d;d=j;try{return K.apply(this,arguments)}finally{d=L}}}}($x)),$x}var iN;function lZ(){return iN||(iN=1,Dx.exports=uZ()),Dx.exports}/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var aN;function cZ(){if(aN)return Pr;aN=1;var e=uu(),t=lZ();function n(h){for(var m="https://reactjs.org/docs/error-decoder.html?invariant="+h,x=1;x"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),u=Object.prototype.hasOwnProperty,l=/^[: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]*$/,c={},f={};function d(h){return u.call(f,h)?!0:u.call(c,h)?!1:l.test(h)?f[h]=!0:(c[h]=!0,!1)}function p(h,m,x,A){if(x!==null&&x.type===0)return!1;switch(typeof m){case"function":case"symbol":return!0;case"boolean":return A?!1:x!==null?!x.acceptsBooleans:(h=h.toLowerCase().slice(0,5),h!=="data-"&&h!=="aria-");default:return!1}}function y(h,m,x,A){if(m===null||typeof m>"u"||p(h,m,x,A))return!0;if(A)return!1;if(x!==null)switch(x.type){case 3:return!m;case 4:return m===!1;case 5:return isNaN(m);case 6:return isNaN(m)||1>m}return!1}function g(h,m,x,A,T,O,Y){this.acceptsBooleans=m===2||m===3||m===4,this.attributeName=A,this.attributeNamespace=T,this.mustUseProperty=x,this.propertyName=h,this.type=m,this.sanitizeURL=O,this.removeEmptyString=Y}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(h){w[h]=new g(h,0,!1,h,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(h){var m=h[0];w[m]=new g(m,1,!1,h[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(h){w[h]=new g(h,2,!1,h.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(h){w[h]=new g(h,2,!1,h,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(h){w[h]=new g(h,3,!1,h.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(h){w[h]=new g(h,3,!0,h,null,!1,!1)}),["capture","download"].forEach(function(h){w[h]=new g(h,4,!1,h,null,!1,!1)}),["cols","rows","size","span"].forEach(function(h){w[h]=new g(h,6,!1,h,null,!1,!1)}),["rowSpan","start"].forEach(function(h){w[h]=new g(h,5,!1,h.toLowerCase(),null,!1,!1)});var _=/[\-:]([a-z])/g;function b(h){return h[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(h){var m=h.replace(_,b);w[m]=new g(m,1,!1,h,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(h){var m=h.replace(_,b);w[m]=new g(m,1,!1,h,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(h){var m=h.replace(_,b);w[m]=new g(m,1,!1,h,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(h){w[h]=new g(h,1,!1,h.toLowerCase(),null,!1,!1)}),w.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(h){w[h]=new g(h,1,!1,h.toLowerCase(),null,!0,!0)});function E(h,m,x,A){var T=w.hasOwnProperty(m)?w[m]:null;(T!==null?T.type!==0:A||!(2Z||T[Y]!==O[Z]){var re=` +`+T[Y].replace(" at new "," at ");return h.displayName&&re.includes("")&&(re=re.replace("",h.displayName)),re}while(1<=Y&&0<=Z);break}}}finally{H=!1,Error.prepareStackTrace=x}return(h=h?h.displayName||h.name:"")?G(h):""}function ce(h){switch(h.tag){case 5:return G(h.type);case 16:return G("Lazy");case 13:return G("Suspense");case 19:return G("SuspenseList");case 0:case 2:case 15:return h=ne(h.type,!1),h;case 11:return h=ne(h.type.render,!1),h;case 1:return h=ne(h.type,!0),h;default:return""}}function he(h){if(h==null)return null;if(typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case k:return"Fragment";case C:return"Portal";case R:return"Profiler";case M:return"StrictMode";case V:return"Suspense";case $:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case P:return(h.displayName||"Context")+".Consumer";case N:return(h._context.displayName||"Context")+".Provider";case B:var m=h.render;return h=h.displayName,h||(h=m.displayName||m.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case F:return m=h.displayName||null,m!==null?m:he(h.type)||"Memo";case z:m=h._payload,h=h._init;try{return he(h(m))}catch{}}return null}function ve(h){var m=h.type;switch(h.tag){case 24:return"Cache";case 9:return(m.displayName||"Context")+".Consumer";case 10:return(m._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return h=m.render,h=h.displayName||h.name||"",m.displayName||(h!==""?"ForwardRef("+h+")":"ForwardRef");case 7:return"Fragment";case 5:return m;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return he(m);case 8:return m===M?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof m=="function")return m.displayName||m.name||null;if(typeof m=="string")return m}return null}function Ee(h){switch(typeof h){case"boolean":case"number":case"string":case"undefined":return h;case"object":return h;default:return""}}function pe(h){var m=h.type;return(h=h.nodeName)&&h.toLowerCase()==="input"&&(m==="checkbox"||m==="radio")}function be(h){var m=pe(h)?"checked":"value",x=Object.getOwnPropertyDescriptor(h.constructor.prototype,m),A=""+h[m];if(!h.hasOwnProperty(m)&&typeof x<"u"&&typeof x.get=="function"&&typeof x.set=="function"){var T=x.get,O=x.set;return Object.defineProperty(h,m,{configurable:!0,get:function(){return T.call(this)},set:function(Y){A=""+Y,O.call(this,Y)}}),Object.defineProperty(h,m,{enumerable:x.enumerable}),{getValue:function(){return A},setValue:function(Y){A=""+Y},stopTracking:function(){h._valueTracker=null,delete h[m]}}}}function Ne(h){h._valueTracker||(h._valueTracker=be(h))}function ge(h){if(!h)return!1;var m=h._valueTracker;if(!m)return!0;var x=m.getValue(),A="";return h&&(A=pe(h)?h.checked?"true":"false":h.value),h=A,h!==x?(m.setValue(h),!0):!1}function Le(h){if(h=h||(typeof document<"u"?document:void 0),typeof h>"u")return null;try{return h.activeElement||h.body}catch{return h.body}}function we(h,m){var x=m.checked;return L({},m,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:x??h._wrapperState.initialChecked})}function Ye(h,m){var x=m.defaultValue==null?"":m.defaultValue,A=m.checked!=null?m.checked:m.defaultChecked;x=Ee(m.value!=null?m.value:x),h._wrapperState={initialChecked:A,initialValue:x,controlled:m.type==="checkbox"||m.type==="radio"?m.checked!=null:m.value!=null}}function Ge(h,m){m=m.checked,m!=null&&E(h,"checked",m,!1)}function Me(h,m){Ge(h,m);var x=Ee(m.value),A=m.type;if(x!=null)A==="number"?(x===0&&h.value===""||h.value!=x)&&(h.value=""+x):h.value!==""+x&&(h.value=""+x);else if(A==="submit"||A==="reset"){h.removeAttribute("value");return}m.hasOwnProperty("value")?bt(h,m.type,x):m.hasOwnProperty("defaultValue")&&bt(h,m.type,Ee(m.defaultValue)),m.checked==null&&m.defaultChecked!=null&&(h.defaultChecked=!!m.defaultChecked)}function Ke(h,m,x){if(m.hasOwnProperty("value")||m.hasOwnProperty("defaultValue")){var A=m.type;if(!(A!=="submit"&&A!=="reset"||m.value!==void 0&&m.value!==null))return;m=""+h._wrapperState.initialValue,x||m===h.value||(h.value=m),h.defaultValue=m}x=h.name,x!==""&&(h.name=""),h.defaultChecked=!!h._wrapperState.initialChecked,x!==""&&(h.name=x)}function bt(h,m,x){(m!=="number"||Le(h.ownerDocument)!==h)&&(x==null?h.defaultValue=""+h._wrapperState.initialValue:h.defaultValue!==""+x&&(h.defaultValue=""+x))}var ft=Array.isArray;function xt(h,m,x,A){if(h=h.options,m){m={};for(var T=0;T"+m.valueOf().toString()+"",m=I.firstChild;h.firstChild;)h.removeChild(h.firstChild);for(;m.firstChild;)h.appendChild(m.firstChild)}});function X(h,m){if(m){var x=h.firstChild;if(x&&x===h.lastChild&&x.nodeType===3){x.nodeValue=m;return}}h.textContent=m}var ie={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},de=["Webkit","ms","Moz","O"];Object.keys(ie).forEach(function(h){de.forEach(function(m){m=m+h.charAt(0).toUpperCase()+h.substring(1),ie[m]=ie[h]})});function ye(h,m,x){return m==null||typeof m=="boolean"||m===""?"":x||typeof m!="number"||m===0||ie.hasOwnProperty(h)&&ie[h]?(""+m).trim():m+"px"}function et(h,m){h=h.style;for(var x in m)if(m.hasOwnProperty(x)){var A=x.indexOf("--")===0,T=ye(x,m[x],A);x==="float"&&(x="cssFloat"),A?h.setProperty(x,T):h[x]=T}}var mt=L({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function oe(h,m){if(m){if(mt[h]&&(m.children!=null||m.dangerouslySetInnerHTML!=null))throw Error(n(137,h));if(m.dangerouslySetInnerHTML!=null){if(m.children!=null)throw Error(n(60));if(typeof m.dangerouslySetInnerHTML!="object"||!("__html"in m.dangerouslySetInnerHTML))throw Error(n(61))}if(m.style!=null&&typeof m.style!="object")throw Error(n(62))}}function ue(h,m){if(h.indexOf("-")===-1)return typeof m.is=="string";switch(h){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 De=null;function Tt(h){return h=h.target||h.srcElement||window,h.correspondingUseElement&&(h=h.correspondingUseElement),h.nodeType===3?h.parentNode:h}var It=null,it=null,rr=null;function ca(h){if(h=nh(h)){if(typeof It!="function")throw Error(n(280));var m=h.stateNode;m&&(m=d0(m),It(h.stateNode,h.type,m))}}function qn(h){it?rr?rr.push(h):rr=[h]:it=h}function $i(){if(it){var h=it,m=rr;if(rr=it=null,ca(h),m)for(h=0;h>>=0,h===0?32:31-(oK(h)/sK|0)|0}var Yg=64,Qg=4194304;function Ld(h){switch(h&-h){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: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 h&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return h&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return h}}function Kg(h,m){var x=h.pendingLanes;if(x===0)return 0;var A=0,T=h.suspendedLanes,O=h.pingedLanes,Y=x&268435455;if(Y!==0){var Z=Y&~T;Z!==0?A=Ld(Z):(O&=Y,O!==0&&(A=Ld(O)))}else Y=x&~T,Y!==0?A=Ld(Y):O!==0&&(A=Ld(O));if(A===0)return 0;if(m!==0&&m!==A&&(m&T)===0&&(T=A&-A,O=m&-m,T>=O||T===16&&(O&4194240)!==0))return m;if((A&4)!==0&&(A|=x&16),m=h.entangledLanes,m!==0)for(h=h.entanglements,m&=A;0x;x++)m.push(h);return m}function Bd(h,m,x){h.pendingLanes|=m,m!==536870912&&(h.suspendedLanes=0,h.pingedLanes=0),h=h.eventTimes,m=31-Bi(m),h[m]=x}function fK(h,m){var x=h.pendingLanes&~m;h.pendingLanes=m,h.suspendedLanes=0,h.pingedLanes=0,h.expiredLanes&=m,h.mutableReadLanes&=m,h.entangledLanes&=m,m=h.entanglements;var A=h.eventTimes;for(h=h.expirationTimes;0=Vd),jR=" ",HR=!1;function qR(h,m){switch(h){case"keyup":return BK.indexOf(m.keyCode)!==-1;case"keydown":return m.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function GR(h){return h=h.detail,typeof h=="object"&&"data"in h?h.data:null}var rc=!1;function UK(h,m){switch(h){case"compositionend":return GR(m);case"keypress":return m.which!==32?null:(HR=!0,jR);case"textInput":return h=m.data,h===jR&&HR?null:h;default:return null}}function jK(h,m){if(rc)return h==="compositionend"||!db&&qR(h,m)?(h=$R(),t0=ob=ls=null,rc=!1,h):null;switch(h){case"paste":return null;case"keypress":if(!(m.ctrlKey||m.altKey||m.metaKey)||m.ctrlKey&&m.altKey){if(m.char&&1=m)return{node:x,offset:m-h};h=A}e:{for(;x;){if(x.nextSibling){x=x.nextSibling;break e}x=x.parentNode}x=void 0}x=ZR(x)}}function eI(h,m){return h&&m?h===m?!0:h&&h.nodeType===3?!1:m&&m.nodeType===3?eI(h,m.parentNode):"contains"in h?h.contains(m):h.compareDocumentPosition?!!(h.compareDocumentPosition(m)&16):!1:!1}function tI(){for(var h=window,m=Le();m instanceof h.HTMLIFrameElement;){try{var x=typeof m.contentWindow.location.href=="string"}catch{x=!1}if(x)h=m.contentWindow;else break;m=Le(h.document)}return m}function mb(h){var m=h&&h.nodeName&&h.nodeName.toLowerCase();return m&&(m==="input"&&(h.type==="text"||h.type==="search"||h.type==="tel"||h.type==="url"||h.type==="password")||m==="textarea"||h.contentEditable==="true")}function XK(h){var m=tI(),x=h.focusedElem,A=h.selectionRange;if(m!==x&&x&&x.ownerDocument&&eI(x.ownerDocument.documentElement,x)){if(A!==null&&mb(x)){if(m=A.start,h=A.end,h===void 0&&(h=m),"selectionStart"in x)x.selectionStart=m,x.selectionEnd=Math.min(h,x.value.length);else if(h=(m=x.ownerDocument||document)&&m.defaultView||window,h.getSelection){h=h.getSelection();var T=x.textContent.length,O=Math.min(A.start,T);A=A.end===void 0?O:Math.min(A.end,T),!h.extend&&O>A&&(T=A,A=O,O=T),T=JR(x,O);var Y=JR(x,A);T&&Y&&(h.rangeCount!==1||h.anchorNode!==T.node||h.anchorOffset!==T.offset||h.focusNode!==Y.node||h.focusOffset!==Y.offset)&&(m=m.createRange(),m.setStart(T.node,T.offset),h.removeAllRanges(),O>A?(h.addRange(m),h.extend(Y.node,Y.offset)):(m.setEnd(Y.node,Y.offset),h.addRange(m)))}}for(m=[],h=x;h=h.parentNode;)h.nodeType===1&&m.push({element:h,left:h.scrollLeft,top:h.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x=document.documentMode,ic=null,gb=null,Xd=null,vb=!1;function nI(h,m,x){var A=x.window===x?x.document:x.nodeType===9?x:x.ownerDocument;vb||ic==null||ic!==Le(A)||(A=ic,"selectionStart"in A&&mb(A)?A={start:A.selectionStart,end:A.selectionEnd}:(A=(A.ownerDocument&&A.ownerDocument.defaultView||window).getSelection(),A={anchorNode:A.anchorNode,anchorOffset:A.anchorOffset,focusNode:A.focusNode,focusOffset:A.focusOffset}),Xd&&Kd(Xd,A)||(Xd=A,A=l0(gb,"onSelect"),0lc||(h.current=Mb[lc],Mb[lc]=null,lc--)}function Ft(h,m){lc++,Mb[lc]=h.current,h.current=m}var hs={},Gn=ds(hs),Cr=ds(!1),Eu=hs;function cc(h,m){var x=h.type.contextTypes;if(!x)return hs;var A=h.stateNode;if(A&&A.__reactInternalMemoizedUnmaskedChildContext===m)return A.__reactInternalMemoizedMaskedChildContext;var T={},O;for(O in x)T[O]=m[O];return A&&(h=h.stateNode,h.__reactInternalMemoizedUnmaskedChildContext=m,h.__reactInternalMemoizedMaskedChildContext=T),T}function Ar(h){return h=h.childContextTypes,h!=null}function h0(){jt(Cr),jt(Gn)}function vI(h,m,x){if(Gn.current!==hs)throw Error(n(168));Ft(Gn,m),Ft(Cr,x)}function yI(h,m,x){var A=h.stateNode;if(m=m.childContextTypes,typeof A.getChildContext!="function")return x;A=A.getChildContext();for(var T in A)if(!(T in m))throw Error(n(108,ve(h)||"Unknown",T));return L({},x,A)}function p0(h){return h=(h=h.stateNode)&&h.__reactInternalMemoizedMergedChildContext||hs,Eu=Gn.current,Ft(Gn,h),Ft(Cr,Cr.current),!0}function wI(h,m,x){var A=h.stateNode;if(!A)throw Error(n(169));x?(h=yI(h,m,Eu),A.__reactInternalMemoizedMergedChildContext=h,jt(Cr),jt(Gn),Ft(Gn,h)):jt(Cr),Ft(Cr,x)}var lo=null,m0=!1,Pb=!1;function _I(h){lo===null?lo=[h]:lo.push(h)}function lX(h){m0=!0,_I(h)}function ps(){if(!Pb&&lo!==null){Pb=!0;var h=0,m=Nt;try{var x=lo;for(Nt=1;h>=Y,T-=Y,co=1<<32-Bi(m)+T|x<tt?(Tn=Je,Je=null):Tn=Je.sibling;var Et=xe(le,Je,fe[tt],Re);if(Et===null){Je===null&&(Je=Tn);break}h&&Je&&Et.alternate===null&&m(le,Je),se=O(Et,se,tt),Ze===null?We=Et:Ze.sibling=Et,Ze=Et,Je=Tn}if(tt===fe.length)return x(le,Je),Yt&&Cu(le,tt),We;if(Je===null){for(;tttt?(Tn=Je,Je=null):Tn=Je.sibling;var Es=xe(le,Je,Et.value,Re);if(Es===null){Je===null&&(Je=Tn);break}h&&Je&&Es.alternate===null&&m(le,Je),se=O(Es,se,tt),Ze===null?We=Es:Ze.sibling=Es,Ze=Es,Je=Tn}if(Et.done)return x(le,Je),Yt&&Cu(le,tt),We;if(Je===null){for(;!Et.done;tt++,Et=fe.next())Et=ke(le,Et.value,Re),Et!==null&&(se=O(Et,se,tt),Ze===null?We=Et:Ze.sibling=Et,Ze=Et);return Yt&&Cu(le,tt),We}for(Je=A(le,Je);!Et.done;tt++,Et=fe.next())Et=Fe(Je,le,tt,Et.value,Re),Et!==null&&(h&&Et.alternate!==null&&Je.delete(Et.key===null?tt:Et.key),se=O(Et,se,tt),Ze===null?We=Et:Ze.sibling=Et,Ze=Et);return h&&Je.forEach(function(HX){return m(le,HX)}),Yt&&Cu(le,tt),We}function on(le,se,fe,Re){if(typeof fe=="object"&&fe!==null&&fe.type===k&&fe.key===null&&(fe=fe.props.children),typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case v:e:{for(var We=fe.key,Ze=se;Ze!==null;){if(Ze.key===We){if(We=fe.type,We===k){if(Ze.tag===7){x(le,Ze.sibling),se=T(Ze,fe.props.children),se.return=le,le=se;break e}}else if(Ze.elementType===We||typeof We=="object"&&We!==null&&We.$$typeof===z&&AI(We)===Ze.type){x(le,Ze.sibling),se=T(Ze,fe.props),se.ref=rh(le,Ze,fe),se.return=le,le=se;break e}x(le,Ze);break}else m(le,Ze);Ze=Ze.sibling}fe.type===k?(se=Nu(fe.props.children,le.mode,Re,fe.key),se.return=le,le=se):(Re=H0(fe.type,fe.key,fe.props,null,le.mode,Re),Re.ref=rh(le,se,fe),Re.return=le,le=Re)}return Y(le);case C:e:{for(Ze=fe.key;se!==null;){if(se.key===Ze)if(se.tag===4&&se.stateNode.containerInfo===fe.containerInfo&&se.stateNode.implementation===fe.implementation){x(le,se.sibling),se=T(se,fe.children||[]),se.return=le,le=se;break e}else{x(le,se);break}else m(le,se);se=se.sibling}se=kx(fe,le.mode,Re),se.return=le,le=se}return Y(le);case z:return Ze=fe._init,on(le,se,Ze(fe._payload),Re)}if(ft(fe))return je(le,se,fe,Re);if(j(fe))return He(le,se,fe,Re);w0(le,fe)}return typeof fe=="string"&&fe!==""||typeof fe=="number"?(fe=""+fe,se!==null&&se.tag===6?(x(le,se.sibling),se=T(se,fe),se.return=le,le=se):(x(le,se),se=Ax(fe,le.mode,Re),se.return=le,le=se),Y(le)):x(le,se)}return on}var pc=kI(!0),TI=kI(!1),_0=ds(null),b0=null,mc=null,$b=null;function Fb(){$b=mc=b0=null}function Lb(h){var m=_0.current;jt(_0),h._currentValue=m}function Bb(h,m,x){for(;h!==null;){var A=h.alternate;if((h.childLanes&m)!==m?(h.childLanes|=m,A!==null&&(A.childLanes|=m)):A!==null&&(A.childLanes&m)!==m&&(A.childLanes|=m),h===x)break;h=h.return}}function gc(h,m){b0=h,$b=mc=null,h=h.dependencies,h!==null&&h.firstContext!==null&&((h.lanes&m)!==0&&(kr=!0),h.firstContext=null)}function di(h){var m=h._currentValue;if($b!==h)if(h={context:h,memoizedValue:m,next:null},mc===null){if(b0===null)throw Error(n(308));mc=h,b0.dependencies={lanes:0,firstContext:h}}else mc=mc.next=h;return m}var Au=null;function zb(h){Au===null?Au=[h]:Au.push(h)}function MI(h,m,x,A){var T=m.interleaved;return T===null?(x.next=x,zb(m)):(x.next=T.next,T.next=x),m.interleaved=x,ho(h,A)}function ho(h,m){h.lanes|=m;var x=h.alternate;for(x!==null&&(x.lanes|=m),x=h,h=h.return;h!==null;)h.childLanes|=m,x=h.alternate,x!==null&&(x.childLanes|=m),x=h,h=h.return;return x.tag===3?x.stateNode:null}var ms=!1;function Ub(h){h.updateQueue={baseState:h.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function PI(h,m){h=h.updateQueue,m.updateQueue===h&&(m.updateQueue={baseState:h.baseState,firstBaseUpdate:h.firstBaseUpdate,lastBaseUpdate:h.lastBaseUpdate,shared:h.shared,effects:h.effects})}function po(h,m){return{eventTime:h,lane:m,tag:0,payload:null,callback:null,next:null}}function gs(h,m,x){var A=h.updateQueue;if(A===null)return null;if(A=A.shared,(_t&2)!==0){var T=A.pending;return T===null?m.next=m:(m.next=T.next,T.next=m),A.pending=m,ho(h,x)}return T=A.interleaved,T===null?(m.next=m,zb(A)):(m.next=T.next,T.next=m),A.interleaved=m,ho(h,x)}function x0(h,m,x){if(m=m.updateQueue,m!==null&&(m=m.shared,(x&4194240)!==0)){var A=m.lanes;A&=h.pendingLanes,x|=A,m.lanes=x,tb(h,x)}}function RI(h,m){var x=h.updateQueue,A=h.alternate;if(A!==null&&(A=A.updateQueue,x===A)){var T=null,O=null;if(x=x.firstBaseUpdate,x!==null){do{var Y={eventTime:x.eventTime,lane:x.lane,tag:x.tag,payload:x.payload,callback:x.callback,next:null};O===null?T=O=Y:O=O.next=Y,x=x.next}while(x!==null);O===null?T=O=m:O=O.next=m}else T=O=m;x={baseState:A.baseState,firstBaseUpdate:T,lastBaseUpdate:O,shared:A.shared,effects:A.effects},h.updateQueue=x;return}h=x.lastBaseUpdate,h===null?x.firstBaseUpdate=m:h.next=m,x.lastBaseUpdate=m}function E0(h,m,x,A){var T=h.updateQueue;ms=!1;var O=T.firstBaseUpdate,Y=T.lastBaseUpdate,Z=T.shared.pending;if(Z!==null){T.shared.pending=null;var re=Z,me=re.next;re.next=null,Y===null?O=me:Y.next=me,Y=re;var Se=h.alternate;Se!==null&&(Se=Se.updateQueue,Z=Se.lastBaseUpdate,Z!==Y&&(Z===null?Se.firstBaseUpdate=me:Z.next=me,Se.lastBaseUpdate=re))}if(O!==null){var ke=T.baseState;Y=0,Se=me=re=null,Z=O;do{var xe=Z.lane,Fe=Z.eventTime;if((A&xe)===xe){Se!==null&&(Se=Se.next={eventTime:Fe,lane:0,tag:Z.tag,payload:Z.payload,callback:Z.callback,next:null});e:{var je=h,He=Z;switch(xe=m,Fe=x,He.tag){case 1:if(je=He.payload,typeof je=="function"){ke=je.call(Fe,ke,xe);break e}ke=je;break e;case 3:je.flags=je.flags&-65537|128;case 0:if(je=He.payload,xe=typeof je=="function"?je.call(Fe,ke,xe):je,xe==null)break e;ke=L({},ke,xe);break e;case 2:ms=!0}}Z.callback!==null&&Z.lane!==0&&(h.flags|=64,xe=T.effects,xe===null?T.effects=[Z]:xe.push(Z))}else Fe={eventTime:Fe,lane:xe,tag:Z.tag,payload:Z.payload,callback:Z.callback,next:null},Se===null?(me=Se=Fe,re=ke):Se=Se.next=Fe,Y|=xe;if(Z=Z.next,Z===null){if(Z=T.shared.pending,Z===null)break;xe=Z,Z=xe.next,xe.next=null,T.lastBaseUpdate=xe,T.shared.pending=null}}while(!0);if(Se===null&&(re=ke),T.baseState=re,T.firstBaseUpdate=me,T.lastBaseUpdate=Se,m=T.shared.interleaved,m!==null){T=m;do Y|=T.lane,T=T.next;while(T!==m)}else O===null&&(T.shared.lanes=0);Mu|=Y,h.lanes=Y,h.memoizedState=ke}}function II(h,m,x){if(h=m.effects,m.effects=null,h!==null)for(m=0;mx?x:4,h(!0);var A=Wb.transition;Wb.transition={};try{h(!1),m()}finally{Nt=x,Wb.transition=A}}function XI(){return hi().memoizedState}function hX(h,m,x){var A=_s(h);if(x={lane:A,action:x,hasEagerState:!1,eagerState:null,next:null},ZI(h))JI(m,x);else if(x=MI(h,m,x,A),x!==null){var T=or();Gi(x,h,A,T),e4(x,m,A)}}function pX(h,m,x){var A=_s(h),T={lane:A,action:x,hasEagerState:!1,eagerState:null,next:null};if(ZI(h))JI(m,T);else{var O=h.alternate;if(h.lanes===0&&(O===null||O.lanes===0)&&(O=m.lastRenderedReducer,O!==null))try{var Y=m.lastRenderedState,Z=O(Y,x);if(T.hasEagerState=!0,T.eagerState=Z,zi(Z,Y)){var re=m.interleaved;re===null?(T.next=T,zb(m)):(T.next=re.next,re.next=T),m.interleaved=T;return}}catch{}finally{}x=MI(h,m,T,A),x!==null&&(T=or(),Gi(x,h,A,T),e4(x,m,A))}}function ZI(h){var m=h.alternate;return h===Xt||m!==null&&m===Xt}function JI(h,m){sh=A0=!0;var x=h.pending;x===null?m.next=m:(m.next=x.next,x.next=m),h.pending=m}function e4(h,m,x){if((x&4194240)!==0){var A=m.lanes;A&=h.pendingLanes,x|=A,m.lanes=x,tb(h,x)}}var M0={readContext:di,useCallback:Wn,useContext:Wn,useEffect:Wn,useImperativeHandle:Wn,useInsertionEffect:Wn,useLayoutEffect:Wn,useMemo:Wn,useReducer:Wn,useRef:Wn,useState:Wn,useDebugValue:Wn,useDeferredValue:Wn,useTransition:Wn,useMutableSource:Wn,useSyncExternalStore:Wn,useId:Wn,unstable_isNewReconciler:!1},mX={readContext:di,useCallback:function(h,m){return ma().memoizedState=[h,m===void 0?null:m],h},useContext:di,useEffect:HI,useImperativeHandle:function(h,m,x){return x=x!=null?x.concat([h]):null,k0(4194308,4,WI.bind(null,m,h),x)},useLayoutEffect:function(h,m){return k0(4194308,4,h,m)},useInsertionEffect:function(h,m){return k0(4,2,h,m)},useMemo:function(h,m){var x=ma();return m=m===void 0?null:m,h=h(),x.memoizedState=[h,m],h},useReducer:function(h,m,x){var A=ma();return m=x!==void 0?x(m):m,A.memoizedState=A.baseState=m,h={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:h,lastRenderedState:m},A.queue=h,h=h.dispatch=hX.bind(null,Xt,h),[A.memoizedState,h]},useRef:function(h){var m=ma();return h={current:h},m.memoizedState=h},useState:UI,useDebugValue:Jb,useDeferredValue:function(h){return ma().memoizedState=h},useTransition:function(){var h=UI(!1),m=h[0];return h=dX.bind(null,h[1]),ma().memoizedState=h,[m,h]},useMutableSource:function(){},useSyncExternalStore:function(h,m,x){var A=Xt,T=ma();if(Yt){if(x===void 0)throw Error(n(407));x=x()}else{if(x=m(),kn===null)throw Error(n(349));(Tu&30)!==0||$I(A,m,x)}T.memoizedState=x;var O={value:x,getSnapshot:m};return T.queue=O,HI(LI.bind(null,A,O,h),[h]),A.flags|=2048,ch(9,FI.bind(null,A,O,x,m),void 0,null),x},useId:function(){var h=ma(),m=kn.identifierPrefix;if(Yt){var x=fo,A=co;x=(A&~(1<<32-Bi(A)-1)).toString(32)+x,m=":"+m+"R"+x,x=uh++,0<\/script>",h=h.removeChild(h.firstChild)):typeof A.is=="string"?h=Y.createElement(x,{is:A.is}):(h=Y.createElement(x),x==="select"&&(Y=h,A.multiple?Y.multiple=!0:A.size&&(Y.size=A.size))):h=Y.createElementNS(h,x),h[ha]=m,h[th]=A,_4(h,m,!1,!1),m.stateNode=h;e:{switch(Y=ue(x,A),x){case"dialog":Ut("cancel",h),Ut("close",h),T=A;break;case"iframe":case"object":case"embed":Ut("load",h),T=A;break;case"video":case"audio":for(T=0;Tbc&&(m.flags|=128,A=!0,fh(O,!1),m.lanes=4194304)}else{if(!A)if(h=S0(Y),h!==null){if(m.flags|=128,A=!0,x=h.updateQueue,x!==null&&(m.updateQueue=x,m.flags|=4),fh(O,!0),O.tail===null&&O.tailMode==="hidden"&&!Y.alternate&&!Yt)return Vn(m),null}else 2*an()-O.renderingStartTime>bc&&x!==1073741824&&(m.flags|=128,A=!0,fh(O,!1),m.lanes=4194304);O.isBackwards?(Y.sibling=m.child,m.child=Y):(x=O.last,x!==null?x.sibling=Y:m.child=Y,O.last=Y)}return O.tail!==null?(m=O.tail,O.rendering=m,O.tail=m.sibling,O.renderingStartTime=an(),m.sibling=null,x=Kt.current,Ft(Kt,A?x&1|2:x&1),m):(Vn(m),null);case 22:case 23:return Ex(),A=m.memoizedState!==null,h!==null&&h.memoizedState!==null!==A&&(m.flags|=8192),A&&(m.mode&1)!==0?(Yr&1073741824)!==0&&(Vn(m),m.subtreeFlags&6&&(m.flags|=8192)):Vn(m),null;case 24:return null;case 25:return null}throw Error(n(156,m.tag))}function EX(h,m){switch(Ib(m),m.tag){case 1:return Ar(m.type)&&h0(),h=m.flags,h&65536?(m.flags=h&-65537|128,m):null;case 3:return vc(),jt(Cr),jt(Gn),Gb(),h=m.flags,(h&65536)!==0&&(h&128)===0?(m.flags=h&-65537|128,m):null;case 5:return Hb(m),null;case 13:if(jt(Kt),h=m.memoizedState,h!==null&&h.dehydrated!==null){if(m.alternate===null)throw Error(n(340));hc()}return h=m.flags,h&65536?(m.flags=h&-65537|128,m):null;case 19:return jt(Kt),null;case 4:return vc(),null;case 10:return Lb(m.type._context),null;case 22:case 23:return Ex(),null;case 24:return null;default:return null}}var N0=!1,Yn=!1,SX=typeof WeakSet=="function"?WeakSet:Set,ze=null;function wc(h,m){var x=h.ref;if(x!==null)if(typeof x=="function")try{x(null)}catch(A){en(h,m,A)}else x.current=null}function fx(h,m,x){try{x()}catch(A){en(h,m,A)}}var E4=!1;function CX(h,m){if(Eb=Jg,h=tI(),mb(h)){if("selectionStart"in h)var x={start:h.selectionStart,end:h.selectionEnd};else e:{x=(x=h.ownerDocument)&&x.defaultView||window;var A=x.getSelection&&x.getSelection();if(A&&A.rangeCount!==0){x=A.anchorNode;var T=A.anchorOffset,O=A.focusNode;A=A.focusOffset;try{x.nodeType,O.nodeType}catch{x=null;break e}var Y=0,Z=-1,re=-1,me=0,Se=0,ke=h,xe=null;t:for(;;){for(var Fe;ke!==x||T!==0&&ke.nodeType!==3||(Z=Y+T),ke!==O||A!==0&&ke.nodeType!==3||(re=Y+A),ke.nodeType===3&&(Y+=ke.nodeValue.length),(Fe=ke.firstChild)!==null;)xe=ke,ke=Fe;for(;;){if(ke===h)break t;if(xe===x&&++me===T&&(Z=Y),xe===O&&++Se===A&&(re=Y),(Fe=ke.nextSibling)!==null)break;ke=xe,xe=ke.parentNode}ke=Fe}x=Z===-1||re===-1?null:{start:Z,end:re}}else x=null}x=x||{start:0,end:0}}else x=null;for(Sb={focusedElem:h,selectionRange:x},Jg=!1,ze=m;ze!==null;)if(m=ze,h=m.child,(m.subtreeFlags&1028)!==0&&h!==null)h.return=m,ze=h;else for(;ze!==null;){m=ze;try{var je=m.alternate;if((m.flags&1024)!==0)switch(m.tag){case 0:case 11:case 15:break;case 1:if(je!==null){var He=je.memoizedProps,on=je.memoizedState,le=m.stateNode,se=le.getSnapshotBeforeUpdate(m.elementType===m.type?He:ji(m.type,He),on);le.__reactInternalSnapshotBeforeUpdate=se}break;case 3:var fe=m.stateNode.containerInfo;fe.nodeType===1?fe.textContent="":fe.nodeType===9&&fe.documentElement&&fe.removeChild(fe.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Re){en(m,m.return,Re)}if(h=m.sibling,h!==null){h.return=m.return,ze=h;break}ze=m.return}return je=E4,E4=!1,je}function dh(h,m,x){var A=m.updateQueue;if(A=A!==null?A.lastEffect:null,A!==null){var T=A=A.next;do{if((T.tag&h)===h){var O=T.destroy;T.destroy=void 0,O!==void 0&&fx(m,x,O)}T=T.next}while(T!==A)}}function O0(h,m){if(m=m.updateQueue,m=m!==null?m.lastEffect:null,m!==null){var x=m=m.next;do{if((x.tag&h)===h){var A=x.create;x.destroy=A()}x=x.next}while(x!==m)}}function dx(h){var m=h.ref;if(m!==null){var x=h.stateNode;switch(h.tag){case 5:h=x;break;default:h=x}typeof m=="function"?m(h):m.current=h}}function S4(h){var m=h.alternate;m!==null&&(h.alternate=null,S4(m)),h.child=null,h.deletions=null,h.sibling=null,h.tag===5&&(m=h.stateNode,m!==null&&(delete m[ha],delete m[th],delete m[Tb],delete m[sX],delete m[uX])),h.stateNode=null,h.return=null,h.dependencies=null,h.memoizedProps=null,h.memoizedState=null,h.pendingProps=null,h.stateNode=null,h.updateQueue=null}function C4(h){return h.tag===5||h.tag===3||h.tag===4}function A4(h){e:for(;;){for(;h.sibling===null;){if(h.return===null||C4(h.return))return null;h=h.return}for(h.sibling.return=h.return,h=h.sibling;h.tag!==5&&h.tag!==6&&h.tag!==18;){if(h.flags&2||h.child===null||h.tag===4)continue e;h.child.return=h,h=h.child}if(!(h.flags&2))return h.stateNode}}function hx(h,m,x){var A=h.tag;if(A===5||A===6)h=h.stateNode,m?x.nodeType===8?x.parentNode.insertBefore(h,m):x.insertBefore(h,m):(x.nodeType===8?(m=x.parentNode,m.insertBefore(h,x)):(m=x,m.appendChild(h)),x=x._reactRootContainer,x!=null||m.onclick!==null||(m.onclick=f0));else if(A!==4&&(h=h.child,h!==null))for(hx(h,m,x),h=h.sibling;h!==null;)hx(h,m,x),h=h.sibling}function px(h,m,x){var A=h.tag;if(A===5||A===6)h=h.stateNode,m?x.insertBefore(h,m):x.appendChild(h);else if(A!==4&&(h=h.child,h!==null))for(px(h,m,x),h=h.sibling;h!==null;)px(h,m,x),h=h.sibling}var $n=null,Hi=!1;function vs(h,m,x){for(x=x.child;x!==null;)k4(h,m,x),x=x.sibling}function k4(h,m,x){if(da&&typeof da.onCommitFiberUnmount=="function")try{da.onCommitFiberUnmount(Vg,x)}catch{}switch(x.tag){case 5:Yn||wc(x,m);case 6:var A=$n,T=Hi;$n=null,vs(h,m,x),$n=A,Hi=T,$n!==null&&(Hi?(h=$n,x=x.stateNode,h.nodeType===8?h.parentNode.removeChild(x):h.removeChild(x)):$n.removeChild(x.stateNode));break;case 18:$n!==null&&(Hi?(h=$n,x=x.stateNode,h.nodeType===8?kb(h.parentNode,x):h.nodeType===1&&kb(h,x),qd(h)):kb($n,x.stateNode));break;case 4:A=$n,T=Hi,$n=x.stateNode.containerInfo,Hi=!0,vs(h,m,x),$n=A,Hi=T;break;case 0:case 11:case 14:case 15:if(!Yn&&(A=x.updateQueue,A!==null&&(A=A.lastEffect,A!==null))){T=A=A.next;do{var O=T,Y=O.destroy;O=O.tag,Y!==void 0&&((O&2)!==0||(O&4)!==0)&&fx(x,m,Y),T=T.next}while(T!==A)}vs(h,m,x);break;case 1:if(!Yn&&(wc(x,m),A=x.stateNode,typeof A.componentWillUnmount=="function"))try{A.props=x.memoizedProps,A.state=x.memoizedState,A.componentWillUnmount()}catch(Z){en(x,m,Z)}vs(h,m,x);break;case 21:vs(h,m,x);break;case 22:x.mode&1?(Yn=(A=Yn)||x.memoizedState!==null,vs(h,m,x),Yn=A):vs(h,m,x);break;default:vs(h,m,x)}}function T4(h){var m=h.updateQueue;if(m!==null){h.updateQueue=null;var x=h.stateNode;x===null&&(x=h.stateNode=new SX),m.forEach(function(A){var T=OX.bind(null,h,A);x.has(A)||(x.add(A),A.then(T,T))})}}function qi(h,m){var x=m.deletions;if(x!==null)for(var A=0;AT&&(T=Y),A&=~O}if(A=T,A=an()-A,A=(120>A?120:480>A?480:1080>A?1080:1920>A?1920:3e3>A?3e3:4320>A?4320:1960*kX(A/1960))-A,10h?16:h,ws===null)var A=!1;else{if(h=ws,ws=null,B0=0,(_t&6)!==0)throw Error(n(331));var T=_t;for(_t|=4,ze=h.current;ze!==null;){var O=ze,Y=O.child;if((ze.flags&16)!==0){var Z=O.deletions;if(Z!==null){for(var re=0;rean()-vx?Ru(h,0):gx|=x),Mr(h,m)}function U4(h,m){m===0&&((h.mode&1)===0?m=1:(m=Qg,Qg<<=1,(Qg&130023424)===0&&(Qg=4194304)));var x=or();h=ho(h,m),h!==null&&(Bd(h,m,x),Mr(h,x))}function NX(h){var m=h.memoizedState,x=0;m!==null&&(x=m.retryLane),U4(h,x)}function OX(h,m){var x=0;switch(h.tag){case 13:var A=h.stateNode,T=h.memoizedState;T!==null&&(x=T.retryLane);break;case 19:A=h.stateNode;break;default:throw Error(n(314))}A!==null&&A.delete(m),U4(h,x)}var j4;j4=function(h,m,x){if(h!==null)if(h.memoizedProps!==m.pendingProps||Cr.current)kr=!0;else{if((h.lanes&x)===0&&(m.flags&128)===0)return kr=!1,bX(h,m,x);kr=(h.flags&131072)!==0}else kr=!1,Yt&&(m.flags&1048576)!==0&&bI(m,v0,m.index);switch(m.lanes=0,m.tag){case 2:var A=m.type;I0(h,m),h=m.pendingProps;var T=cc(m,Gn.current);gc(m,x),T=Yb(null,m,A,h,T,x);var O=Qb();return m.flags|=1,typeof T=="object"&&T!==null&&typeof T.render=="function"&&T.$$typeof===void 0?(m.tag=1,m.memoizedState=null,m.updateQueue=null,Ar(A)?(O=!0,p0(m)):O=!1,m.memoizedState=T.state!==null&&T.state!==void 0?T.state:null,Ub(m),T.updater=P0,m.stateNode=T,T._reactInternals=m,tx(m,A,h,x),m=ax(null,m,A,!0,O,x)):(m.tag=0,Yt&&O&&Rb(m),ar(null,m,T,x),m=m.child),m;case 16:A=m.elementType;e:{switch(I0(h,m),h=m.pendingProps,T=A._init,A=T(A._payload),m.type=A,T=m.tag=$X(A),h=ji(A,h),T){case 0:m=ix(null,m,A,h,x);break e;case 1:m=p4(null,m,A,h,x);break e;case 11:m=l4(null,m,A,h,x);break e;case 14:m=c4(null,m,A,ji(A.type,h),x);break e}throw Error(n(306,A,""))}return m;case 0:return A=m.type,T=m.pendingProps,T=m.elementType===A?T:ji(A,T),ix(h,m,A,T,x);case 1:return A=m.type,T=m.pendingProps,T=m.elementType===A?T:ji(A,T),p4(h,m,A,T,x);case 3:e:{if(m4(m),h===null)throw Error(n(387));A=m.pendingProps,O=m.memoizedState,T=O.element,PI(h,m),E0(m,A,null,x);var Y=m.memoizedState;if(A=Y.element,O.isDehydrated)if(O={element:A,isDehydrated:!1,cache:Y.cache,pendingSuspenseBoundaries:Y.pendingSuspenseBoundaries,transitions:Y.transitions},m.updateQueue.baseState=O,m.memoizedState=O,m.flags&256){T=yc(Error(n(423)),m),m=g4(h,m,A,x,T);break e}else if(A!==T){T=yc(Error(n(424)),m),m=g4(h,m,A,x,T);break e}else for(Vr=fs(m.stateNode.containerInfo.firstChild),Wr=m,Yt=!0,Ui=null,x=TI(m,null,A,x),m.child=x;x;)x.flags=x.flags&-3|4096,x=x.sibling;else{if(hc(),A===T){m=mo(h,m,x);break e}ar(h,m,A,x)}m=m.child}return m;case 5:return NI(m),h===null&&Ob(m),A=m.type,T=m.pendingProps,O=h!==null?h.memoizedProps:null,Y=T.children,Cb(A,T)?Y=null:O!==null&&Cb(A,O)&&(m.flags|=32),h4(h,m),ar(h,m,Y,x),m.child;case 6:return h===null&&Ob(m),null;case 13:return v4(h,m,x);case 4:return jb(m,m.stateNode.containerInfo),A=m.pendingProps,h===null?m.child=pc(m,null,A,x):ar(h,m,A,x),m.child;case 11:return A=m.type,T=m.pendingProps,T=m.elementType===A?T:ji(A,T),l4(h,m,A,T,x);case 7:return ar(h,m,m.pendingProps,x),m.child;case 8:return ar(h,m,m.pendingProps.children,x),m.child;case 12:return ar(h,m,m.pendingProps.children,x),m.child;case 10:e:{if(A=m.type._context,T=m.pendingProps,O=m.memoizedProps,Y=T.value,Ft(_0,A._currentValue),A._currentValue=Y,O!==null)if(zi(O.value,Y)){if(O.children===T.children&&!Cr.current){m=mo(h,m,x);break e}}else for(O=m.child,O!==null&&(O.return=m);O!==null;){var Z=O.dependencies;if(Z!==null){Y=O.child;for(var re=Z.firstContext;re!==null;){if(re.context===A){if(O.tag===1){re=po(-1,x&-x),re.tag=2;var me=O.updateQueue;if(me!==null){me=me.shared;var Se=me.pending;Se===null?re.next=re:(re.next=Se.next,Se.next=re),me.pending=re}}O.lanes|=x,re=O.alternate,re!==null&&(re.lanes|=x),Bb(O.return,x,m),Z.lanes|=x;break}re=re.next}}else if(O.tag===10)Y=O.type===m.type?null:O.child;else if(O.tag===18){if(Y=O.return,Y===null)throw Error(n(341));Y.lanes|=x,Z=Y.alternate,Z!==null&&(Z.lanes|=x),Bb(Y,x,m),Y=O.sibling}else Y=O.child;if(Y!==null)Y.return=O;else for(Y=O;Y!==null;){if(Y===m){Y=null;break}if(O=Y.sibling,O!==null){O.return=Y.return,Y=O;break}Y=Y.return}O=Y}ar(h,m,T.children,x),m=m.child}return m;case 9:return T=m.type,A=m.pendingProps.children,gc(m,x),T=di(T),A=A(T),m.flags|=1,ar(h,m,A,x),m.child;case 14:return A=m.type,T=ji(A,m.pendingProps),T=ji(A.type,T),c4(h,m,A,T,x);case 15:return f4(h,m,m.type,m.pendingProps,x);case 17:return A=m.type,T=m.pendingProps,T=m.elementType===A?T:ji(A,T),I0(h,m),m.tag=1,Ar(A)?(h=!0,p0(m)):h=!1,gc(m,x),n4(m,A,T),tx(m,A,T,x),ax(null,m,A,!0,h,x);case 19:return w4(h,m,x);case 22:return d4(h,m,x)}throw Error(n(156,m.tag))};function H4(h,m){return Gg(h,m)}function DX(h,m,x,A){this.tag=h,this.key=x,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=m,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=A,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function mi(h,m,x,A){return new DX(h,m,x,A)}function Cx(h){return h=h.prototype,!(!h||!h.isReactComponent)}function $X(h){if(typeof h=="function")return Cx(h)?1:0;if(h!=null){if(h=h.$$typeof,h===B)return 11;if(h===F)return 14}return 2}function xs(h,m){var x=h.alternate;return x===null?(x=mi(h.tag,m,h.key,h.mode),x.elementType=h.elementType,x.type=h.type,x.stateNode=h.stateNode,x.alternate=h,h.alternate=x):(x.pendingProps=m,x.type=h.type,x.flags=0,x.subtreeFlags=0,x.deletions=null),x.flags=h.flags&14680064,x.childLanes=h.childLanes,x.lanes=h.lanes,x.child=h.child,x.memoizedProps=h.memoizedProps,x.memoizedState=h.memoizedState,x.updateQueue=h.updateQueue,m=h.dependencies,x.dependencies=m===null?null:{lanes:m.lanes,firstContext:m.firstContext},x.sibling=h.sibling,x.index=h.index,x.ref=h.ref,x}function H0(h,m,x,A,T,O){var Y=2;if(A=h,typeof h=="function")Cx(h)&&(Y=1);else if(typeof h=="string")Y=5;else e:switch(h){case k:return Nu(x.children,T,O,m);case M:Y=8,T|=8;break;case R:return h=mi(12,x,m,T|2),h.elementType=R,h.lanes=O,h;case V:return h=mi(13,x,m,T),h.elementType=V,h.lanes=O,h;case $:return h=mi(19,x,m,T),h.elementType=$,h.lanes=O,h;case Q:return q0(x,T,O,m);default:if(typeof h=="object"&&h!==null)switch(h.$$typeof){case N:Y=10;break e;case P:Y=9;break e;case B:Y=11;break e;case F:Y=14;break e;case z:Y=16,A=null;break e}throw Error(n(130,h==null?h:typeof h,""))}return m=mi(Y,x,m,T),m.elementType=h,m.type=A,m.lanes=O,m}function Nu(h,m,x,A){return h=mi(7,h,A,m),h.lanes=x,h}function q0(h,m,x,A){return h=mi(22,h,A,m),h.elementType=Q,h.lanes=x,h.stateNode={isHidden:!1},h}function Ax(h,m,x){return h=mi(6,h,null,m),h.lanes=x,h}function kx(h,m,x){return m=mi(4,h.children!==null?h.children:[],h.key,m),m.lanes=x,m.stateNode={containerInfo:h.containerInfo,pendingChildren:null,implementation:h.implementation},m}function FX(h,m,x,A,T){this.tag=m,this.containerInfo=h,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=eb(0),this.expirationTimes=eb(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eb(0),this.identifierPrefix=A,this.onRecoverableError=T,this.mutableSourceEagerHydrationData=null}function Tx(h,m,x,A,T,O,Y,Z,re){return h=new FX(h,m,x,Z,re),m===1?(m=1,O===!0&&(m|=8)):m=0,O=mi(3,null,null,m),h.current=O,O.stateNode=h,O.memoizedState={element:A,isDehydrated:x,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ub(O),h}function LX(h,m,x){var A=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Ox.exports=cZ(),Ox.exports}var sN;function fZ(){if(sN)return Z0;sN=1;var e=a9();return Z0.createRoot=e.createRoot,Z0.hydrateRoot=e.hydrateRoot,Z0}var dZ=fZ(),mA=function(e,t){return mA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},mA(e,t)};function Ri(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");mA(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var qe=function(){return qe=Object.assign||function(t){for(var n,r=1,i=arguments.length;r"u"&&(a=e.call(this,r),t.set(i,a)),a}function o9(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,r),t.set(i,a)),a}function s9(e,t,n,r,i){return n.bind(t,e,r,i)}function mZ(e,t){var n=e.length===1?pZ:o9;return s9(e,this,n,t.cache.create(),t.serializer)}function gZ(e,t){return s9(e,this,o9,t.cache.create(),t.serializer)}var vZ=function(){return JSON.stringify(arguments)};function jT(){this.cache=Object.create(null)}jT.prototype.get=function(e){return this.cache[e]};jT.prototype.set=function(e,t){this.cache[e]=t};var yZ={create:function(){return new jT}},eg={variadic:gZ};function u9(e,t,n){if(n===void 0&&(n=Error),!e)throw new n(t)}Jm(function(){for(var e,t=[],n=0;n"u"&&(a=e.call(this,r),t.set(i,a)),a}function l9(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,r),t.set(i,a)),a}function c9(e,t,n,r,i){return n.bind(t,e,r,i)}function bZ(e,t){var n=e.length===1?_Z:l9;return c9(e,this,n,t.cache.create(),t.serializer)}function xZ(e,t){return c9(e,this,l9,t.cache.create(),t.serializer)}var EZ=function(){return JSON.stringify(arguments)};function HT(){this.cache=Object.create(null)}HT.prototype.get=function(e){return this.cache[e]};HT.prototype.set=function(e,t){this.cache[e]=t};var SZ={create:function(){return new HT}},Lx={variadic:xZ},gt;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(gt||(gt={}));var Gt;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(Gt||(Gt={}));var sf;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(sf||(sf={}));function uN(e){return e.type===Gt.literal}function CZ(e){return e.type===Gt.argument}function f9(e){return e.type===Gt.number}function d9(e){return e.type===Gt.date}function h9(e){return e.type===Gt.time}function p9(e){return e.type===Gt.select}function m9(e){return e.type===Gt.plural}function AZ(e){return e.type===Gt.pound}function g9(e){return e.type===Gt.tag}function v9(e){return!!(e&&typeof e=="object"&&e.type===sf.number)}function gA(e){return!!(e&&typeof e=="object"&&e.type===sf.dateTime)}var y9=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,kZ=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function TZ(e){var t={};return e.replace(kZ,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var MZ=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function PZ(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(MZ).filter(function(d){return d.length>0}),n=[],r=0,i=t;r1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(IZ,function(u,l,c,f,d,p){if(l)t.minimumIntegerDigits=c.length;else{if(f&&d)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(_9.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(lN.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(lN,function(u,l,c,f,d,p){return c==="*"?t.minimumFractionDigits=l.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:d&&p?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+p.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var a=i.options[0];a==="w"?t=qe(qe({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=qe(qe({},t),cN(a)));continue}if(w9.test(i.stem)){t=qe(qe({},t),cN(i.stem));continue}var o=b9(i.stem);o&&(t=qe(qe({},t),o));var s=NZ(i.stem);s&&(t=qe(qe({},t),s))}return t}var J0={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function DZ(e,t){for(var n="",r=0;r>1),u="a",l=$Z(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)n+=u;for(;o-- >0;)n=l+n}else i==="J"?n+="H":n+=i}return n}function $Z(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=J0[r||""]||J0[n||""]||J0["".concat(n,"-001")]||J0["001"];return i[0]}var Bx,FZ=new RegExp("^".concat(y9.source,"*")),LZ=new RegExp("".concat(y9.source,"*$"));function wt(e,t){return{start:e,end:t}}var BZ=!!String.prototype.startsWith&&"_a".startsWith("a",1),zZ=!!String.fromCodePoint,UZ=!!Object.fromEntries,jZ=!!String.prototype.codePointAt,HZ=!!String.prototype.trimStart,qZ=!!String.prototype.trimEnd,GZ=!!Number.isSafeInteger,WZ=GZ?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},vA=!0;try{var VZ=E9("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");vA=((Bx=VZ.exec("a"))===null||Bx===void 0?void 0:Bx[0])==="a"}catch{vA=!1}var dN=BZ?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},yA=zZ?String.fromCodePoint:function(){for(var t=[],n=0;na;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");r+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return r},hN=UZ?Object.fromEntries:function(t){for(var n={},r=0,i=t;r=r)){var i=t.charCodeAt(n),a;return i<55296||i>56319||n+1===r||(a=t.charCodeAt(n+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},YZ=HZ?function(t){return t.trimStart()}:function(t){return t.replace(FZ,"")},QZ=qZ?function(t){return t.trimEnd()}:function(t){return t.replace(LZ,"")};function E9(e,t){return new RegExp(e,t)}var wA;if(vA){var pN=E9("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");wA=function(t,n){var r;pN.lastIndex=n;var i=pN.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else wA=function(t,n){for(var r=[];;){var i=x9(t,n);if(i===void 0||S9(i)||JZ(i))break;r.push(i),n+=i>=65536?2:1}return yA.apply(void 0,r)};var KZ=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,r);if(o.err)return o;i.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(n==="plural"||n==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:Gt.pound,location:wt(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(gt.UNMATCHED_CLOSING_TAG,wt(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&_A(this.peek()||0)){var o=this.parseTag(t,n);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,n);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Gt.literal,value:"<".concat(i,"/>"),location:wt(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,n,!0);if(a.err)return a;var o=a.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:Gt.tag,value:i,children:o,location:wt(r,this.clonePosition())},err:null}:this.error(gt.INVALID_TAG,wt(s,this.clonePosition())))}else return this.error(gt.UNCLOSED_TAG,wt(r,this.clonePosition()))}else return this.error(gt.INVALID_TAG,wt(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&ZZ(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var a=this.tryParseQuote(n);if(a){i+=a;continue}var o=this.tryParseUnquoted(t,n);if(o){i+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var u=wt(r,this.clonePosition());return{val:{type:Gt.literal,value:i,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!XZ(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return yA.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),yA(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(gt.EXPECT_ARGUMENT_CLOSING_BRACE,wt(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(gt.EMPTY_ARGUMENT,wt(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(gt.MALFORMED_ARGUMENT,wt(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(gt.EXPECT_ARGUMENT_CLOSING_BRACE,wt(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Gt.argument,value:i,location:wt(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(gt.EXPECT_ARGUMENT_CLOSING_BRACE,wt(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(gt.MALFORMED_ARGUMENT,wt(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=wA(this.message,n),i=n+r.length;this.bumpTo(i);var a=this.clonePosition(),o=wt(t,a);return{value:r,location:o}},e.prototype.parseArgumentOptions=function(t,n,r,i){var a,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(s){case"":return this.error(gt.EXPECT_ARGUMENT_TYPE,wt(o,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var d=QZ(f.val);if(d.length===0)return this.error(gt.EXPECT_ARGUMENT_STYLE,wt(this.clonePosition(),this.clonePosition()));var p=wt(c,this.clonePosition());l={style:d,styleLocation:p}}var y=this.tryParseArgumentClose(i);if(y.err)return y;var g=wt(i,this.clonePosition());if(l&&dN(l==null?void 0:l.style,"::",0)){var w=YZ(l.style.slice(2));if(s==="number"){var f=this.parseNumberSkeletonFromString(w,l.styleLocation);return f.err?f:{val:{type:Gt.number,value:r,location:g,style:f.val},err:null}}else{if(w.length===0)return this.error(gt.EXPECT_DATE_TIME_SKELETON,g);var _=w;this.locale&&(_=DZ(w,this.locale));var d={type:sf.dateTime,pattern:_,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?TZ(_):{}},b=s==="date"?Gt.date:Gt.time;return{val:{type:b,value:r,location:g,style:d},err:null}}}return{val:{type:s==="number"?Gt.number:s==="date"?Gt.date:Gt.time,value:r,location:g,style:(a=l==null?void 0:l.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(gt.EXPECT_SELECT_ARGUMENT_OPTIONS,wt(E,qe({},E)));this.bumpSpace();var S=this.parseIdentifierIfPossible(),v=0;if(s!=="select"&&S.value==="offset"){if(!this.bumpIf(":"))return this.error(gt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,wt(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(gt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,gt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),S=this.parseIdentifierIfPossible(),v=f.val}var C=this.tryParsePluralOrSelectOptions(t,s,n,S);if(C.err)return C;var y=this.tryParseArgumentClose(i);if(y.err)return y;var k=wt(i,this.clonePosition());return s==="select"?{val:{type:Gt.select,value:r,options:hN(C.val),location:k},err:null}:{val:{type:Gt.plural,value:r,options:hN(C.val),offset:v,pluralType:s==="plural"?"cardinal":"ordinal",location:k},err:null}}default:return this.error(gt.INVALID_ARGUMENT_TYPE,wt(o,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(gt.EXPECT_ARGUMENT_CLOSING_BRACE,wt(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(gt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,wt(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=PZ(t)}catch{return this.error(gt.INVALID_NUMBER_SKELETON,n)}return{val:{type:sf.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?OZ(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var a,o=!1,s=[],u=new Set,l=i.value,c=i.location;;){if(l.length===0){var f=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(gt.EXPECT_PLURAL_ARGUMENT_SELECTOR,gt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=wt(f,this.clonePosition()),l=this.message.slice(f.offset,this.offset())}else break}if(u.has(l))return this.error(n==="select"?gt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:gt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);l==="other"&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?gt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:gt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,wt(this.clonePosition(),this.clonePosition()));var y=this.parseMessage(t+1,n,r);if(y.err)return y;var g=this.tryParseArgumentClose(p);if(g.err)return g;s.push([l,{value:y.val,location:wt(p,this.clonePosition())}]),u.add(l),this.bumpSpace(),a=this.parseIdentifierIfPossible(),l=a.value,c=a.location}return s.length===0?this.error(n==="select"?gt.EXPECT_SELECT_ARGUMENT_SELECTOR:gt.EXPECT_PLURAL_ARGUMENT_SELECTOR,wt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(gt.MISSING_OTHER_CLAUSE,wt(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)a=!0,o=o*10+(s-48),this.bump();else break}var u=wt(i,this.clonePosition());return a?(o*=r,WZ(o)?{val:o,err:null}:this.error(n,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=x9(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(dN(this.message,t,this.offset())){for(var n=0;n=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&S9(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r??null},e}();function _A(e){return e>=97&&e<=122||e>=65&&e<=90}function XZ(e){return _A(e)||e===47}function ZZ(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function S9(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function JZ(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function bA(e){e.forEach(function(t){if(delete t.location,p9(t)||m9(t))for(var n in t.options)delete t.options[n].location,bA(t.options[n].value);else f9(t)&&v9(t.style)||(d9(t)||h9(t))&&gA(t.style)?delete t.style.location:g9(t)&&bA(t.children)})}function eJ(e,t){t===void 0&&(t={}),t=qe({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new KZ(e,t).parse();if(n.err){var r=SyntaxError(gt[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||bA(n.val),n.val}var ja;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(ja||(ja={}));var lu=function(e){Ri(t,e);function t(n,r,i){var a=e.call(this,n)||this;return a.code=r,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),mN=function(e){Ri(t,e);function t(n,r,i,a){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),ja.INVALID_VALUE,a)||this}return t}(lu),tJ=function(e){Ri(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),ja.INVALID_VALUE,i)||this}return t}(lu),nJ=function(e){Ri(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),ja.MISSING_VALUE,r)||this}return t}(lu),ur;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ur||(ur={}));function rJ(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==ur.literal||n.type!==ur.literal?t.push(n):r.value+=n.value,t},[])}function C9(e){return typeof e=="function"}function sy(e,t,n,r,i,a,o){if(e.length===1&&uN(e[0]))return[{type:ur.literal,value:e[0].value}];for(var s=[],u=0,l=e;u"u")){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=eJ,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Ou(e,t){var n=t&&t.cache?t.cache:dJ,r=t&&t.serializer?t.serializer:fJ,i=t&&t.strategy?t.strategy:lJ;return i(e,{cache:n,serializer:r})}function sJ(e){return e==null||typeof e=="number"||typeof e=="boolean"}function uJ(e,t,n,r){var i=sJ(r)?r:n(r),a=t.get(i);return typeof a>"u"&&(a=e.call(this,r),t.set(i,a)),a}function k9(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,r),t.set(i,a)),a}function T9(e,t,n,r,i){return n.bind(t,e,r,i)}function lJ(e,t){var n=e.length===1?uJ:k9;return T9(e,this,n,t.cache.create(),t.serializer)}function cJ(e,t){return T9(e,this,k9,t.cache.create(),t.serializer)}var fJ=function(){return JSON.stringify(arguments)};function qT(){this.cache=Object.create(null)}qT.prototype.get=function(e){return this.cache[e]};qT.prototype.set=function(e,t){this.cache[e]=t};var dJ={create:function(){return new qT}},Du={variadic:cJ},al;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(al||(al={}));var tg=function(e){Ri(t,e);function t(n,r,i){var a=this,o=i?i instanceof Error?i:new Error(String(i)):void 0;return a=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,` +`).concat(o?` +`.concat(o.message,` +`).concat(o.stack):""))||this,a.code=n,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(a,t),a}return t}(Error),hJ=function(e){Ri(t,e);function t(n,r){return e.call(this,al.UNSUPPORTED_FORMATTER,n,r)||this}return t}(tg),pJ=function(e){Ri(t,e);function t(n,r){return e.call(this,al.INVALID_CONFIG,n,r)||this}return t}(tg),gN=function(e){Ri(t,e);function t(n,r){return e.call(this,al.MISSING_DATA,n,r)||this}return t}(tg),Ii=function(e){Ri(t,e);function t(n,r,i){var a=e.call(this,al.FORMAT_ERROR,"".concat(n,` +Locale: `).concat(r,` +`),i)||this;return a.locale=r,a}return t}(tg),Ux=function(e){Ri(t,e);function t(n,r,i,a){var o=e.call(this,"".concat(n,` +MessageID: `).concat(i==null?void 0:i.id,` +Default Message: `).concat(i==null?void 0:i.defaultMessage,` +Description: `).concat(i==null?void 0:i.description,` +`),r,a)||this;return o.descriptor=i,o.locale=r,o}return t}(Ii),mJ=function(e){Ri(t,e);function t(n,r){var i=e.call(this,al.MISSING_TRANSLATION,'Missing message: "'.concat(n.id,'" for locale "').concat(r,'", using ').concat(n.defaultMessage?"default message (".concat(typeof n.defaultMessage=="string"?n.defaultMessage:n.defaultMessage.map(function(a){var o;return(o=a.value)!==null&&o!==void 0?o:JSON.stringify(a)}).join(),")"):"id"," as fallback."))||this;return i.descriptor=n,i}return t}(tg);function Nl(e,t,n){return n===void 0&&(n={}),t.reduce(function(r,i){return i in e?r[i]=e[i]:i in n&&(r[i]=n[i]),r},{})}var gJ=function(e){},vJ=function(e){},M9={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:gJ,onWarn:vJ};function P9(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function $u(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function yJ(e){e===void 0&&(e=P9());var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,i=Ou(function(){for(var s,u=[],l=0;l needs to exist in the component ancestry.")}var D9=qe(qe({},M9),{textComponent:J.Fragment});function zJ(e){return function(t){return e(J.Children.toArray(t))}}function EA(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var a=0;a"u")throw new Error(t)}function ti(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function KJ(){return Math.random().toString(36).substring(2,10)}function AN(e,t){return{usr:e.state,key:e.key,idx:t}}function AA(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Ol(t):t,state:n,key:t&&t.key||r||KJ()}}function $p({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Ol(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function XJ(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s="POP",u=null,l=c();l==null&&(l=0,o.replaceState({...o.state,idx:l},""));function c(){return(o.state||{idx:null}).idx}function f(){s="POP";let w=c(),_=w==null?null:w-l;l=w,u&&u({action:s,location:g.location,delta:_})}function d(w,_){s="PUSH";let b=AA(g.location,w,_);n&&n(b,w),l=c()+1;let E=AN(b,l),S=g.createHref(b);try{o.pushState(E,"",S)}catch(v){if(v instanceof DOMException&&v.name==="DataCloneError")throw v;i.location.assign(S)}a&&u&&u({action:s,location:g.location,delta:1})}function p(w,_){s="REPLACE";let b=AA(g.location,w,_);n&&n(b,w),l=c();let E=AN(b,l),S=g.createHref(b);o.replaceState(E,"",S),a&&u&&u({action:s,location:g.location,delta:0})}function y(w){return ZJ(w)}let g={get action(){return s},get location(){return e(i,o)},listen(w){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(CN,f),u=w,()=>{i.removeEventListener(CN,f),u=null}},createHref(w){return t(i,w)},createURL:y,encodeLocation(w){let _=y(w);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:d,replace:p,go(w){return o.go(w)}};return g}function ZJ(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),Qt(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:$p(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function B9(e,t,n="/"){return JJ(e,t,n,!1)}function JJ(e,t,n,r){let i=typeof t=="string"?Ol(t):t,a=Fo(i.pathname||"/",n);if(a==null)return null;let o=z9(e);eee(o);let s=null;for(let u=0;s==null&&u{let c={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};if(c.relativePath.startsWith("/")){if(!c.relativePath.startsWith(r)&&u)return;Qt(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let f=Do([r,c.relativePath]),d=n.concat(c);o.children&&o.children.length>0&&(Qt(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),z9(o.children,t,d,f,u)),!(o.path==null&&!o.index)&&t.push({path:f,score:see(f,o.index),routesMeta:d})};return e.forEach((o,s)=>{var u;if(o.path===""||!((u=o.path)!=null&&u.includes("?")))a(o,s);else for(let l of U9(o.path))a(o,s,!0,l)}),t}function U9(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let o=U9(r.join("/")),s=[];return s.push(...o.map(u=>u===""?a:[a,u].join("/"))),i&&s.push(...o),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function eee(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:uee(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var tee=/^:[\w-]+$/,nee=3,ree=2,iee=1,aee=10,oee=-2,kN=e=>e==="*";function see(e,t){let n=e.split("/"),r=n.length;return n.some(kN)&&(r+=oee),t&&(r+=ree),n.filter(i=>!kN(i)).reduce((i,a)=>i+(tee.test(a)?nee:a===""?iee:aee),r)}function uee(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function lee(e,t,n=!1){let{routesMeta:r}=e,i={},a="/",o=[];for(let s=0;s{if(c==="*"){let y=s[d]||"";o=a.slice(0,a.length-y.length).replace(/(.)\/+$/,"$1")}const p=s[d];return f&&!p?l[c]=void 0:l[c]=(p||"").replace(/%2F/g,"/"),l},{}),pathname:a,pathnameBase:o,pattern:e}}function cee(e,t=!1,n=!0){ti(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,u)=>(r.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function fee(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ti(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Fo(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}var j9=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,dee=e=>j9.test(e);function hee(e,t="/"){let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Ol(e):e,a;if(n)if(dee(n))a=n;else{if(n.includes("//")){let o=n;n=n.replace(/\/\/+/g,"/"),ti(!1,`Pathnames cannot have embedded double slashes - normalizing ${o} -> ${n}`)}n.startsWith("/")?a=TN(n.substring(1),"/"):a=TN(n,t)}else a=t;return{pathname:a,search:gee(r),hash:vee(i)}}function TN(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Gx(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function pee(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function VT(e){let t=pee(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function YT(e,t,n,r=!1){let i;typeof e=="string"?i=Ol(e):(i={...e},Qt(!i.pathname||!i.pathname.includes("?"),Gx("?","pathname","search",i)),Qt(!i.pathname||!i.pathname.includes("#"),Gx("#","pathname","hash",i)),Qt(!i.search||!i.search.includes("#"),Gx("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(o==null)s=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let d=o.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}s=f>=0?t[f]:"/"}let u=hee(i,s),l=o&&o!=="/"&&o.endsWith("/"),c=(a||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(l||c)&&(u.pathname+="/"),u}var Do=e=>e.join("/").replace(/\/\/+/g,"/"),mee=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),gee=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,vee=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,yee=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function wee(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function _ee(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var H9=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function q9(e,t){let n=e;if(typeof n!="string"||!j9.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(H9)try{let a=new URL(window.location.href),o=n.startsWith("//")?new URL(a.protocol+n):new URL(n),s=Fo(o.pathname,t);o.origin===a.origin&&s!=null?n=s+o.search+o.hash:i=!0}catch{ti(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var G9=["POST","PUT","PATCH","DELETE"];new Set(G9);var bee=["GET",...G9];new Set(bee);var dd=J.createContext(null);dd.displayName="DataRouter";var ww=J.createContext(null);ww.displayName="DataRouterState";var xee=J.createContext(!1),W9=J.createContext({isTransitioning:!1});W9.displayName="ViewTransition";var Eee=J.createContext(new Map);Eee.displayName="Fetchers";var See=J.createContext(null);See.displayName="Await";var oi=J.createContext(null);oi.displayName="Navigation";var rg=J.createContext(null);rg.displayName="Location";var Za=J.createContext({outlet:null,matches:[],isDataRoute:!1});Za.displayName="Route";var QT=J.createContext(null);QT.displayName="RouteError";var V9="REACT_ROUTER_ERROR",Cee="REDIRECT",Aee="ROUTE_ERROR_RESPONSE";function kee(e){if(e.startsWith(`${V9}:${Cee}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function Tee(e){if(e.startsWith(`${V9}:${Aee}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new yee(t.status,t.statusText,t.data)}catch{}}function Mee(e,{relative:t}={}){Qt(hd(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=J.useContext(oi),{hash:i,pathname:a,search:o}=ig(e,{relative:t}),s=a;return n!=="/"&&(s=a==="/"?n:Do([n,a])),r.createHref({pathname:s,search:o,hash:i})}function hd(){return J.useContext(rg)!=null}function si(){return Qt(hd(),"useLocation() may be used only in the context of a component."),J.useContext(rg).location}var Y9="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Q9(e){J.useContext(oi).static||J.useLayoutEffect(e)}function Dl(){let{isDataRoute:e}=J.useContext(Za);return e?jee():Pee()}function Pee(){Qt(hd(),"useNavigate() may be used only in the context of a component.");let e=J.useContext(dd),{basename:t,navigator:n}=J.useContext(oi),{matches:r}=J.useContext(Za),{pathname:i}=si(),a=JSON.stringify(VT(r)),o=J.useRef(!1);return Q9(()=>{o.current=!0}),J.useCallback((u,l={})=>{if(ti(o.current,Y9),!o.current)return;if(typeof u=="number"){n.go(u);return}let c=YT(u,JSON.parse(a),i,l.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:Do([t,c.pathname])),(l.replace?n.replace:n.push)(c,l.state,l)},[t,n,a,i,e])}J.createContext(null);function ig(e,{relative:t}={}){let{matches:n}=J.useContext(Za),{pathname:r}=si(),i=JSON.stringify(VT(n));return J.useMemo(()=>YT(e,JSON.parse(i),r,t==="path"),[e,i,r,t])}function Ree(e,t){return K9(e,t)}function K9(e,t,n,r,i){var b;Qt(hd(),"useRoutes() may be used only in the context of a component.");let{navigator:a}=J.useContext(oi),{matches:o}=J.useContext(Za),s=o[o.length-1],u=s?s.params:{},l=s?s.pathname:"/",c=s?s.pathnameBase:"/",f=s&&s.route;{let E=f&&f.path||"";Z9(l,!f||E.endsWith("*")||E.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${l}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. + +Please change the parent to .`)}let d=si(),p;if(t){let E=typeof t=="string"?Ol(t):t;Qt(c==="/"||((b=E.pathname)==null?void 0:b.startsWith(c)),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${c}" but pathname "${E.pathname}" was given in the \`location\` prop.`),p=E}else p=d;let y=p.pathname||"/",g=y;if(c!=="/"){let E=c.replace(/^\//,"").split("/");g="/"+y.replace(/^\//,"").split("/").slice(E.length).join("/")}let w=B9(e,{pathname:g});ti(f||w!=null,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),ti(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${p.pathname}${p.search}${p.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let _=$ee(w&&w.map(E=>Object.assign({},E,{params:Object.assign({},u,E.params),pathname:Do([c,a.encodeLocation?a.encodeLocation(E.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?c:Do([c,a.encodeLocation?a.encodeLocation(E.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathnameBase])})),o,n,r,i);return t&&_?J.createElement(rg.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...p},navigationType:"POP"}},_):_}function Iee(){let e=Uee(),t=wee(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=J.createElement(J.Fragment,null,J.createElement("p",null,"💿 Hey developer 👋"),J.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",J.createElement("code",{style:a},"ErrorBoundary")," or"," ",J.createElement("code",{style:a},"errorElement")," prop on your route.")),J.createElement(J.Fragment,null,J.createElement("h2",null,"Unexpected Application Error!"),J.createElement("h3",{style:{fontStyle:"italic"}},t),n?J.createElement("pre",{style:i},n):null,o)}var Nee=J.createElement(Iee,null),X9=class extends J.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=Tee(e.digest);n&&(e=n)}let t=e!==void 0?J.createElement(Za.Provider,{value:this.props.routeContext},J.createElement(QT.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?J.createElement(Oee,{error:e},t):t}};X9.contextType=xee;var Wx=new WeakMap;function Oee({children:e,error:t}){let{basename:n}=J.useContext(oi);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=kee(t.digest);if(r){let i=Wx.get(t);if(i)throw i;let a=q9(r.location,n);if(H9&&!Wx.get(t))if(a.isExternal||r.reloadDocument)window.location.href=a.absoluteURL||a.to;else{const o=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:r.replace}));throw Wx.set(t,o),o}return J.createElement("meta",{httpEquiv:"refresh",content:`0;url=${a.absoluteURL||a.to}`})}}return e}function Dee({routeContext:e,match:t,children:n}){let r=J.useContext(dd);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),J.createElement(Za.Provider,{value:e},n)}function $ee(e,t=[],n=null,r=null,i=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,o=n==null?void 0:n.errors;if(o!=null){let c=a.findIndex(f=>f.route.id&&(o==null?void 0:o[f.route.id])!==void 0);Qt(c>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),a=a.slice(0,Math.min(a.length,c+1))}let s=!1,u=-1;if(n)for(let c=0;c=0?a=a.slice(0,u+1):a=[a[0]];break}}}let l=n&&r?(c,f)=>{var d,p;r(c,{location:n.location,params:((p=(d=n.matches)==null?void 0:d[0])==null?void 0:p.params)??{},unstable_pattern:_ee(n.matches),errorInfo:f})}:void 0;return a.reduceRight((c,f,d)=>{let p,y=!1,g=null,w=null;n&&(p=o&&f.route.id?o[f.route.id]:void 0,g=f.route.errorElement||Nee,s&&(u<0&&d===0?(Z9("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),y=!0,w=null):u===d&&(y=!0,w=f.route.hydrateFallbackElement||null)));let _=t.concat(a.slice(0,d+1)),b=()=>{let E;return p?E=g:y?E=w:f.route.Component?E=J.createElement(f.route.Component,null):f.route.element?E=f.route.element:E=c,J.createElement(Dee,{match:f,routeContext:{outlet:c,matches:_,isDataRoute:n!=null},children:E})};return n&&(f.route.ErrorBoundary||f.route.errorElement||d===0)?J.createElement(X9,{location:n.location,revalidation:n.revalidation,component:g,error:p,children:b(),routeContext:{outlet:null,matches:_,isDataRoute:!0},onError:l}):b()},null)}function KT(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Fee(e){let t=J.useContext(dd);return Qt(t,KT(e)),t}function Lee(e){let t=J.useContext(ww);return Qt(t,KT(e)),t}function Bee(e){let t=J.useContext(Za);return Qt(t,KT(e)),t}function XT(e){let t=Bee(e),n=t.matches[t.matches.length-1];return Qt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function zee(){return XT("useRouteId")}function Uee(){var r;let e=J.useContext(QT),t=Lee("useRouteError"),n=XT("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function jee(){let{router:e}=Fee("useNavigate"),t=XT("useNavigate"),n=J.useRef(!1);return Q9(()=>{n.current=!0}),J.useCallback(async(i,a={})=>{ti(n.current,Y9),n.current&&(typeof i=="number"?await e.navigate(i):await e.navigate(i,{fromRouteId:t,...a}))},[e,t])}var MN={};function Z9(e,t,n){!t&&!MN[e]&&(MN[e]=!0,ti(!1,n))}J.memo(Hee);function Hee({routes:e,future:t,state:n,onError:r}){return K9(e,void 0,n,r,t)}function qee({to:e,replace:t,state:n,relative:r}){Qt(hd()," may be used only in the context of a component.");let{static:i}=J.useContext(oi);ti(!i," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:a}=J.useContext(Za),{pathname:o}=si(),s=Dl(),u=YT(e,VT(a),o,r==="path"),l=JSON.stringify(u);return J.useEffect(()=>{s(JSON.parse(l),{replace:t,state:n,relative:r})},[s,l,r,t,n]),null}function uy(e){Qt(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function Gee({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:i,static:a=!1,unstable_useTransitions:o}){Qt(!hd(),"You cannot render a inside another . You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),u=J.useMemo(()=>({basename:s,navigator:i,static:a,unstable_useTransitions:o,future:{}}),[s,i,a,o]);typeof n=="string"&&(n=Ol(n));let{pathname:l="/",search:c="",hash:f="",state:d=null,key:p="default"}=n,y=J.useMemo(()=>{let g=Fo(l,s);return g==null?null:{location:{pathname:g,search:c,hash:f,state:d,key:p},navigationType:r}},[s,l,c,f,d,p,r]);return ti(y!=null,` is not able to match the URL "${l}${c}${f}" because it does not start with the basename, so the won't render anything.`),y==null?null:J.createElement(oi.Provider,{value:u},J.createElement(rg.Provider,{children:t,value:y}))}function Wee({children:e,location:t}){return Ree(kA(e),t)}function kA(e,t=[]){let n=[];return J.Children.forEach(e,(r,i)=>{if(!J.isValidElement(r))return;let a=[...t,i];if(r.type===J.Fragment){n.push.apply(n,kA(r.props.children,a));return}Qt(r.type===uy,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),Qt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let o={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=kA(r.props.children,a)),n.push(o)}),n}var ly="get",cy="application/x-www-form-urlencoded";function _w(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Vee(e){return _w(e)&&e.tagName.toLowerCase()==="button"}function Yee(e){return _w(e)&&e.tagName.toLowerCase()==="form"}function Qee(e){return _w(e)&&e.tagName.toLowerCase()==="input"}function Kee(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Xee(e,t){return e.button===0&&(!t||t==="_self")&&!Kee(e)}var tv=null;function Zee(){if(tv===null)try{new FormData(document.createElement("form"),0),tv=!1}catch{tv=!0}return tv}var Jee=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Vx(e){return e!=null&&!Jee.has(e)?(ti(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${cy}"`),null):e}function ete(e,t){let n,r,i,a,o;if(Yee(e)){let s=e.getAttribute("action");r=s?Fo(s,t):null,n=e.getAttribute("method")||ly,i=Vx(e.getAttribute("enctype"))||cy,a=new FormData(e)}else if(Vee(e)||Qee(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a + + + + `;function t(){return` +
+ +
+ `}function n(){return` + + ${e.addRelativeActive?xY():bY()} + + `}function r(){return` + + ${e.editable?CY():SY()} + + `}function i(){return e.editable?` +
+ ${e.gender_field.options.map(l=>` + + `).join("")} +
+ `:""}function a(){if(!e.editable)return l();return e.fields.map(c=>` + ${c.type==="text"?` +
+ + +
+ `:c.type==="textarea"?` +
+ + +
+ `:""} + `).join("");function l(){return e.fields.map(c=>` +
+ ${c.label} + ${c.initial_value||""} +
+ `).join("")}}function o(){return` +
+ + +
+ `}function s(){return` + + × + + `}function u(){return'
'}}function cOe(e,t,n){let r=[],i=-1;return{changed:a,back:o,forward:s,canForward:u,canBack:l};function a(){i0}function c(f){e.updateMainId(f.main_id),e.updateData(f),n()}}function fOe(e,t,n=()=>{}){const r=$e.select(e).append("div").attr("class","f3-history-controls"),i=r.append("button").attr("class","f3-back-button").on("click",()=>{t.back(),o(),n()}),a=r.append("button").attr("class","f3-forward-button").on("click",()=>{t.forward(),o(),n()});return i.html(AY()),a.html(kY()),{back_btn:i.node(),forward_btn:a.node(),updateButtons:o,destroy:s};function o(){i.classed("disabled",!t.canBack()),a.classed("disabled",!t.canForward()),r.style("display",!t.canBack()&&!t.canForward()?"none":null)}function s(){t=null,$e.select(e).select(".f3-history-controls").remove()}}var dOe=Object.freeze({__proto__:null,manualZoom:UNe,isAllRelativeDisplayed:tY,cardChangeMain:X3,cardEdit:Z3,cardShowHideRels:uY,handleRelsOfNewDatum:XV,handleNewRel:ZV,createNewPerson:Vi,createNewPersonWithGenderFromRel:JV,addNewPerson:Q3,createTreeDataWithMainNode:eY,addNewPersonAndHandleRels:BNe,checkIfRelativesConnectedWithoutPerson:Y3,createForm:FNe,moveToAddToAdded:QV,removeToAdd:Km,deletePerson:Dg,cleanupDataJson:KV,removeToAddFromData:LNe,formInfoSetup:uOe,createHistory:cOe,createHistoryControls:fOe,treeFit:PT,calculateTreeFit:iY,cardToMiddle:aY});function hOe({d:e,card_dim:t,card_display:n}){return{template:` + + + ${pOe({d:e,card_dim:t,card_display:n}).template} + + `}}function pOe({d:e,card_dim:t,card_display:n}){return{template:` + + + + + ${Array.isArray(n)?n.map(r=>`${r(e.data)}`).join(` +`):n(e.data)} + + + + + + `}}function mOe({d:e,card_dim:t,card_add:n,label:r}){return{template:` + + + + ${r} + + + `}}function gOe({d:e,card_dim:t,is_new:n}){return{template:` + + `}}function vOe({d:e,card_dim:t,x:n,y:r}){return{template:` + + + + + `}}function yOe({d:e,card_dim:t}){return{template:` + + + + + + + + + + + `}}function wOe({d:e,card_dim:t,x:n,y:r}){return{template:` + + + + + + + + + + `}}function D$({x:e,y:t,rt:n,closed:r}){return{template:` + + + + + + + + + + + + + + + + + + + + + `}}function _Oe({d:e,card_dim:t}){let n="",r=e.data.rels,i=e.data._rels||{},a=e.data.hide_rels,o=u=>u.father||u.mother,s=u=>u.children&&u.children.length>0;if((e.is_ancestry||e.data.main)&&(o(r)||o(i))&&(n+=D$({x:t.w/2,y:0,rt:-45,closed:a}).template),!e.is_ancestry&&e.added){const u=e.spouse,l=u.data.rels,c=u.data._rels||{};(s(r)||s(i))&&(s(l)||s(c))&&(n+=D$({x:e.sx-e.x+t.w/2+24.4,y:(e.x!==e.sx?t.h/2:t.h)+1,rt:135,closed:a}).template)}return{template:n}}function bOe({d:e,image:t,card_dim:n,maleIcon:r,femaleIcon:i}){return{template:` + + ${t?``:(e.data.data.gender,e.data.data.gender,a())} + + `};function a(){return` + + + + + + + `}}function xOe(e,t,n){const r=document.createElementNS("http://www.w3.org/2000/svg","g");r.innerHTML=e,t.insertBefore(r,t.firstChild)}const Nc={miniTree:EOe,lineBreak:SOe,cardBody:COe,cardImage:AOe,cardEdit:kOe,cardAdd:TOe};function EOe(e,t){if(e.data.to_add)return;const n=t.card_dim;if(e.all_rels_displayed)return;const r=$e.create("svg:g").html(yOe({d:e,card_dim:n}).template);return r.on("click",function(i){i.stopPropagation(),t.onMiniTreeClick?t.onMiniTreeClick.call(this,i,e):X3(t.store,{d:e})}),r.node()}function SOe(e,t){if(e.data.to_add)return;const n=t.card_dim,r=$e.create("svg:g").html(_Oe({d:e,card_dim:n}).template);return r.on("click",i=>{i.stopPropagation(),uY(t.store,{d:e})}),r.node()}function COe(e,t){const n=t.cardEditForm?"ADD":"UNKNOWN",r=t.card_dim;let i;return e.data.to_add?(i=$e.create("svg:g").html(mOe({d:e,card_dim:r,card_add:t.cardEditForm,label:n}).template),i.on("click",a=>{a.stopPropagation(),Z3(t.store,{d:e,cardEditForm:t.cardEditForm})})):(i=$e.create("svg:g").html(hOe({d:e,card_dim:r,card_display:t.card_display}).template),i.on("click",function(a){a.stopPropagation(),t.onCardClick?t.onCardClick.call(this,a,e):X3(t.store,{d:e})})),i.node()}function AOe(e,t){if(e.data.to_add)return;const n=t.card_dim;return $e.create("svg:g").html(bOe({d:e,image:e.data.data.avatar||null,card_dim:n,maleIcon:null,femaleIcon:null}).template).node()}function kOe(e,t){if(e.data.to_add)return;const n=t.card_dim,r=$e.create("svg:g").html(vOe({card_dim:n,x:n.w-46,y:n.h-20}).template);return r.on("click",i=>{i.stopPropagation(),Z3(t.store,{d:e,cardEditForm:t.cardEditForm})}),r.node()}function TOe(e,t){if(e.data.to_add)return;const n=t.card_dim,r=$e.create("svg:g").html(wOe({card_dim:n,x:n.w-26,y:n.h-20}).template);return r.on("click",i=>{i.stopPropagation(),t.addRelative({d:e})}),r.node()}function Yu(e,t,n){e&&(n?t.insertBefore(e,t.firstChild):t.appendChild(e))}function PY(e,t){if(e.querySelector("defs#f3CardDef"))return;e.insertAdjacentHTML("afterbegin",` + + + + + + + + + + + + + `);function n(r,i,a){const{w:o,h:s}=r,u=i,l=a||[],c=g=>l.includes(g),f=c("lx")?"M0,0":`M0,${u} Q 0,0 5,0`,d=c("rx")?`H${o}`:`H${o-u} Q ${o},0 ${o},5`,p=c("ry")?`V${s}`:`V${s-u} Q ${o},${s} ${o-u},${s}`,y=c("ly")?"H0":`H${u} Q 0,${s} 0,${s-u}`;return`${f} ${d} ${p} ${y} z`}}function MOe(e,t){e.querySelector("defs#f3CardDef")&&e.querySelector("defs#f3CardDef").remove(),PY(e,t)}function POe(e){return e=t(e),PY(e.svg,e.card_dim),function(n){const r=n.data.data.gender==="M"?"card-male":n.data.data.gender==="F"?"card-female":"card-genderless",i=e.card_dim,a=$e.create("svg:g").attr("class",`card ${r}`).attr("transform",`translate(${[-i.w/2,-i.h/2]})`);a.append("g").attr("class","card-inner").attr("clip-path","url(#card_clip)"),this.innerHTML="",this.appendChild(a.node()),xOe(gOe({d:n,card_dim:i,is_new:n.data.to_add}).template,a.node()),Yu(Nc.cardBody(n,e),this.querySelector(".card-inner")),e.img&&Yu(Nc.cardImage(n,e),this.querySelector(".card")),e.mini_tree&&Yu(Nc.miniTree(n,e),this.querySelector(".card"),!0),e.link_break&&Yu(Nc.lineBreak(n,e),this.querySelector(".card")),e.cardEditForm&&(Yu(Nc.cardEdit(n,e),this.querySelector(".card-inner")),Yu(Nc.cardAdd(n,e),this.querySelector(".card-inner"))),e.onCardUpdates&&e.onCardUpdates.map(o=>o.call(this,n)),e.onCardUpdate&&e.onCardUpdate.call(this,n)};function t(n){const r={img:!0,mini_tree:!0,link_break:!1,card_dim:{w:220,h:70,text_x:75,text_y:15,img_w:60,img_h:60,img_x:5,img_y:5}};n||(n={});for(const i in r)typeof n[i]>"u"&&(n[i]=r[i]);return n}}function ROe(e){const t=e.style==="default"?l:e.style==="imageCircleRect"?u:e.style==="imageCircle"?c:e.style==="imageRect"?f:e.style==="rect"?d:l;return function(_){this.innerHTML=` +
+ ${e.mini_tree?s(_):""} + ${t(_)} +
+ `,this.querySelector(".card").addEventListener("click",b=>e.onCardClick(b,_)),e.onCardUpdate&&e.onCardUpdate.call(this,_),e.onCardMouseenter&&$e.select(this).select(".card").on("mouseenter",b=>e.onCardMouseenter(b,_)),e.onCardMouseleave&&$e.select(this).select(".card").on("mouseleave",b=>e.onCardMouseleave(b,_))};function n(_){return` +
+ ${_.data.data.avatar?``:w(_)} +
${a(_)}
+
+ `}function r(_){return` +
+ ${_.data.data.avatar?``:w(_)} +
${a(_)}
+
+ `}function i(_){return` +
+ ${a(_)} +
+ `}function a(_){return _.data._new_rel_data?o(_):_.data.to_add?`
${e.empty_card_label||"ADD"}
`:` + ${e.card_display.map(b=>`
${b(_.data)}
`).join("")} + `}function o(_){const b=[];return b.push(`data-rel-type="${_.data._new_rel_data.rel_type}"`),["son","daughter"].includes(_.data._new_rel_data.rel_type)&&b.push(`data-other-parent-id="${_.data._new_rel_data.other_parent_id}"`),`
${_.data._new_rel_data.label}
`}function s(_){return!e.mini_tree||_.data.to_add||_.data._new_rel_data||_.all_rels_displayed?"":`
${MY()}
`}function u(_){return _.data.data.avatar?c(_):d(_)}function l(_){return r(_)}function c(_){return n(_)}function f(_){return r(_)}function d(_){return i(_)}function p(_){const b=[];return _.data.data.gender==="M"?b.push("card-male"):_.data.data.gender==="F"?b.push("card-female"):b.push("card-genderless"),_.data.main&&b.push("card-main"),_.data._new_rel_data&&b.push("card-new-rel"),_.data.to_add&&b.push("card-to-add"),b}function y(){let _='style="';if(e.card_dim.w||e.card_dim.h)_+=`width: ${e.card_dim.w}px; min-height: ${e.card_dim.h}px;`,e.card_dim.height_auto?_+="height: auto;":_+=`height: ${e.card_dim.h}px;`;else return"";return _+='"',_}function g(){let _='style="position: relative;';if(e.card_dim.img_w||e.card_dim.img_h||e.card_dim.img_x||e.card_dim.img_y)_+=`width: ${e.card_dim.img_w}px; height: ${e.card_dim.img_h}px;`,_+=`left: ${e.card_dim.img_x}px; top: ${e.card_dim.img_y}px;`;else return"";return _+='"',_}function w(_){return _.data._new_rel_data?`
${EY()}
`:`
${TY()}
`}}var IOe=Object.freeze({__proto__:null,appendElement:Yu,Card:POe,CardHtml:ROe}),NOe=(...e)=>new $g(...e);function $g(e,t,n){return this.store=e,this.cancelCallback=t,this.onSubmitCallback=n,this.datum=null,this.onChange=null,this.onCancel=null,this.is_active=!1,this.store_data=null,this.addRelLabels=this.addRelLabelsDefault(),this}$g.prototype.activate=function(e){this.is_active&&this.onCancel(),this.is_active=!0;const t=this.store;this.store_data=t.getData(),this.datum=e,e=JSON.parse(JSON.stringify(this.datum));const n=OOe(e,this.getStoreData(),this.addRelLabels);t.updateData(n),t.updateTree({}),this.onChange=r.bind(this),this.onCancel=i.bind(this);function r(a){if(a!=null&&a._new_rel_data){const o=a;ZV({datum:this.datum,new_rel_datum:o,data_stash:this.getStoreData()}),this.onSubmitCallback(this.datum,o)}else a.id===this.datum.id?this.datum.data=a.data:console.error("Something went wrong")}function i(){this.is_active&&(this.is_active=!1,t.updateData(this.getStoreData()),this.cancelCallback(this.datum),this.store_data=null,this.datum=null,this.onChange=null,this.onCancel=null)}};$g.prototype.setAddRelLabels=function(e){if(typeof e!="object"){console.error("add_rel_labels must be an object");return}for(let t in e)this.addRelLabels[t]=e[t];return this};$g.prototype.addRelLabelsDefault=function(){return{father:"Add Father",mother:"Add Mother",spouse:"Add Spouse",son:"Add Son",daughter:"Add Daughter"}};$g.prototype.getStoreData=function(){return this.store_data};function OOe(e,t,n){const r=$Oe(e,t);if(!e.rels.father){const s=Vi({data:{gender:"M"},rels:{children:[e.id]}});s._new_rel_data={rel_type:"father",label:n.father},e.rels.father=s.id,r.push(s)}if(!e.rels.mother){const s=Vi({data:{gender:"F"},rels:{children:[e.id]}});s._new_rel_data={rel_type:"mother",label:n.mother},e.rels.mother=s.id,r.push(s)}const i=r.find(s=>s.id===e.rels.mother),a=r.find(s=>s.id===e.rels.father);if(i.rels.spouses=[a.id],a.rels.spouses=[i.id],i.rels.children=[e.id],a.rels.children=[e.id],e.rels.spouses||(e.rels.spouses=[]),e.rels.children){let s;e.rels.children.forEach(u=>{const l=r.find(c=>c.id===u);l.rels.mother||(s||(s=Vi({data:{gender:"F"},rels:{spouses:[e.id],children:[]}})),s._new_rel_data={rel_type:"spouse",label:n.spouse},s.rels.children.push(l.id),e.rels.spouses.push(s.id),l.rels.mother=s.id,r.push(s)),l.rels.father||(s||(s=Vi({data:{gender:"M"},rels:{spouses:[e.id],children:[]}})),s._new_rel_data={rel_type:"spouse",label:n.spouse},s.rels.children.push(l.id),e.rels.spouses.push(s.id),l.rels.father=s.id,r.push(s))})}const o=Vi({data:{gender:"F"},rels:{spouses:[e.id]}});return o._new_rel_data={rel_type:"spouse",label:n.spouse},e.rels.spouses.push(o.id),r.push(o),e.rels.children||(e.rels.children=[]),e.rels.spouses.forEach(s=>{const u=r.find(f=>f.id===s);u.rels.children||(u.rels.children=[]),u.rels.children=u.rels.children.filter(f=>e.rels.children.includes(f));const l=Vi({data:{gender:"M"},rels:{father:e.id,mother:u.id}});l._new_rel_data={rel_type:"son",label:n.son,other_parent_id:u.id},u.rels.children.push(l.id),e.rels.children.push(l.id),r.push(l);const c=Vi({data:{gender:"F"},rels:{mother:u.id,father:e.id}});c._new_rel_data={rel_type:"daughter",label:n.daughter,other_parent_id:u.id},u.rels.children.push(c.id),e.rels.children.push(c.id),r.push(c)}),r}function DOe(e,t){return JSON.parse(JSON.stringify(e.find(n=>n.id===t)))}function $Oe(e,t){const n=[e];return Object.keys(e.rels).forEach(i=>{const a=e.rels[i];Array.isArray(a)?a.forEach(o=>{r(i,o)}):r(i,a)}),n;function r(i,a){const o=DOe(t,a);(i==="father"||i==="mother")&&(delete o.rels.father,delete o.rels.mother),i==="children"&&(o.rels.children=[],o.rels.spouses=[]),n.push(o)}}function FOe(...e){return new Vt(...e)}function Vt(e,t){return this.cont=e,this.store=t,this.fields=[{type:"text",label:"first name",id:"first name"},{type:"text",label:"last name",id:"last name"},{type:"text",label:"birthday",id:"birthday"},{type:"text",label:"avatar",id:"avatar"}],this.form_cont=null,this.is_fixed=!0,this.history=null,this.no_edit=!1,this.onChange=null,this.editFirst=!1,this.init(),this}Vt.prototype.init=function(){this.form_cont=$e.select(this.cont).append("div").classed("f3-form-cont",!0).node(),this.addRelativeInstance=this.setupAddRelative(),this.createHistory()};Vt.prototype.open=function(e){e.data.data&&(e=e.data),this.addRelativeInstance.is_active&&!e._new_rel_data&&(this.addRelativeInstance.onCancel(),e=this.store.getDatum(e.id)),this.cardEditForm(e)};Vt.prototype.openWithoutRelCancel=function(e){e.data.data&&(e=e.data),this.cardEditForm(e)};Vt.prototype.cardEditForm=function(e){const t={};(e==null?void 0:e._new_rel_data)?t.onCancel=()=>this.addRelativeInstance.onCancel():(t.addRelative=this.addRelativeInstance,t.deletePerson=()=>{const o=this.store.getData();Dg(e,o),this.store.updateData(o),this.openFormWithId(this.store.getLastAvailableMainDatum().id),this.store.updateTree({})});const r=yn.handlers.createForm({store:this.store,datum:e,postSubmit:a.bind(this),fields:this.fields,card_display:this.card_display,addRelative:null,onCancel:()=>{},editFirst:this.editFirst,...t});r.no_edit=this.no_edit;const i=yn.handlers.formInfoSetup(r,this.closeForm.bind(this));this.form_cont.innerHTML="",this.form_cont.appendChild(i),this.openForm();function a(o){this.addRelativeInstance.is_active?this.addRelativeInstance.onChange(e):o!=null&&o.delete||this.openFormWithId(e.id),this.is_fixed||this.closeForm(),this.store.updateTree({}),this.updateHistory()}};Vt.prototype.openForm=function(){$e.select(this.form_cont).classed("opened",!0)};Vt.prototype.closeForm=function(){$e.select(this.form_cont).classed("opened",!1).html(""),this.store.updateTree({})};Vt.prototype.fixed=function(){return this.is_fixed=!0,$e.select(this.form_cont).style("position","relative"),this};Vt.prototype.absolute=function(){return this.is_fixed=!1,$e.select(this.form_cont).style("position","absolute"),this};Vt.prototype.setCardClickOpen=function(e){return e.setOnCardClick((t,n)=>{if(this.addRelativeInstance.is_active){this.open(n);return}this.open(n),this.store.updateMainId(n.data.id),this.store.updateTree({})}),this};Vt.prototype.openFormWithId=function(e){if(e){const t=this.store.getDatum(e);this.openWithoutRelCancel({data:t})}else{const t=this.store.getMainDatum();this.openWithoutRelCancel({data:t})}};Vt.prototype.createHistory=function(){return this.history=yn.handlers.createHistory(this.store,this.getStoreData.bind(this),e.bind(this)),this.history.controls=yn.handlers.createHistoryControls(this.cont,this.history),this.history.changed(),this.history.controls.updateButtons(),this;function e(){var t;this.addRelativeInstance.is_active&&this.addRelativeInstance.onCancel(),this.store.updateTree({initial:!1}),this.history.controls.updateButtons(),this.openFormWithId((t=this.store.getMainDatum())==null?void 0:t.id)}};Vt.prototype.setNoEdit=function(){return this.no_edit=!0,this};Vt.prototype.setEdit=function(){return this.no_edit=!1,this};Vt.prototype.setFields=function(e){const t=[];if(!Array.isArray(e))return console.error("fields must be an array"),this;for(const n of e)typeof n=="string"?t.push({type:"text",label:n,id:n}):typeof n=="object"?n.id?t.push(n):console.error("fields must be an array of objects with id property"):console.error("fields must be an array of strings or objects");return this.fields=t,this};Vt.prototype.setOnChange=function(e){return this.onChange=e,this};Vt.prototype.addRelative=function(e){return e||(e=this.store.getMainDatum()),this.addRelativeInstance.activate(e),this};Vt.prototype.setupAddRelative=function(){return NOe(this.store,t.bind(this),e.bind(this));function e(n,r){this.store.updateMainId(n.id),this.openFormWithId(n.id)}function t(n){this.store.updateMainId(n.id),this.store.updateTree({}),this.openFormWithId(n.id)}};Vt.prototype.setEditFirst=function(e){return this.editFirst=e,this};Vt.prototype.isAddingRelative=function(){return this.addRelativeInstance.is_active};Vt.prototype.setAddRelLabels=function(e){return this.addRelativeInstance.setAddRelLabels(e),this};Vt.prototype.getStoreData=function(){return this.addRelativeInstance.is_active?this.addRelativeInstance.getStoreData():this.store.getData()};Vt.prototype.getDataJson=function(e){const t=this.getStoreData();return yn.handlers.cleanupDataJson(JSON.stringify(t))};Vt.prototype.updateHistory=function(){this.history&&(this.history.changed(),this.history.controls.updateButtons()),this.onChange&&this.onChange()};Vt.prototype.destroy=function(){return this.history.controls.destroy(),this.history=null,$e.select(this.cont).select(".f3-form-cont").remove(),this.addRelativeInstance.onCancel&&this.addRelativeInstance.onCancel(),this.store.updateTree({}),this};function LOe(...e){return new En(...e)}function En(e,t){return this.cont=null,this.store=null,this.svg=null,this.getCard=null,this.node_separation=250,this.level_separation=150,this.is_horizontal=!1,this.single_parent_empty_card=!0,this.transition_time=2e3,this.is_card_html=!1,this.beforeUpdate=null,this.afterUpdate=null,this.init(e,t),this}En.prototype.init=function(e,t){this.cont=e=BOe(e);const n=()=>e.querySelector("svg .view"),r=()=>e.querySelector("#htmlSvg"),i=()=>e.querySelector("#htmlSvg .cards_view");this.svg=yn.createSvg(e,{onZoom:yn.htmlHandlers.onZoomSetup(n,i)}),yn.htmlHandlers.createHtmlSvg(e),this.store=yn.createStore({data:t,node_separation:this.node_separation,level_separation:this.level_separation,single_parent_empty_card:this.single_parent_empty_card,is_horizontal:this.is_horizontal}),this.setCard(yn.CardSvg),this.store.setOnUpdate(a=>{this.beforeUpdate&&this.beforeUpdate(a),a=Object.assign({transition_time:this.transition_time},a||{}),this.is_card_html&&(a=Object.assign({},a||{},{cardHtml:r()})),yn.view(this.store.getTree(),this.svg,this.getCard(),a||{}),this.afterUpdate&&this.afterUpdate(a)})};En.prototype.updateTree=function(e={initial:!1}){return this.store.updateTree(e),this};En.prototype.updateData=function(e){return this.store.updateData(e),this};En.prototype.setCardYSpacing=function(e){return typeof e!="number"?(console.error("card_y_spacing must be a number"),this):(this.level_separation=e,this.store.state.level_separation=e,this)};En.prototype.setCardXSpacing=function(e){return typeof e!="number"?(console.error("card_x_spacing must be a number"),this):(this.node_separation=e,this.store.state.node_separation=e,this)};En.prototype.setOrientationVertical=function(){return this.is_horizontal=!1,this.store.state.is_horizontal=!1,this};En.prototype.setOrientationHorizontal=function(){return this.is_horizontal=!0,this.store.state.is_horizontal=!0,this};En.prototype.setSingleParentEmptyCard=function(e,{label:t="Unknown"}={}){return this.single_parent_empty_card=e,this.store.state.single_parent_empty_card=e,this.store.state.single_parent_empty_card_label=t,this.editTreeInstance&&this.editTreeInstance.addRelativeInstance.is_active&&this.editTreeInstance.addRelativeInstance.onCancel(),yn.handlers.removeToAddFromData(this.store.getData()||[]),this};En.prototype.setCard=function(e){this.is_card_html=e.is_html,this.is_card_html?(this.svg.querySelector(".cards_view").innerHTML="",this.cont.querySelector("#htmlSvg").style.display="block"):(this.cont.querySelector("#htmlSvg .cards_view").innerHTML="",this.cont.querySelector("#htmlSvg").style.display="none");const t=e(this.cont,this.store);return this.getCard=()=>t.getCard(),t};En.prototype.setTransitionTime=function(e){return this.transition_time=e,this};En.prototype.editTree=function(){return this.editTreeInstance=FOe(this.cont,this.store)};En.prototype.updateMain=function(e){return this.store.updateMainId(e.data.id),this.store.updateTree({}),this};En.prototype.updateMainId=function(e){return this.store.updateMainId(e),this};En.prototype.getMainDatum=function(){return this.store.getMainDatum()};En.prototype.getDataJson=function(e){const t=this.store.getData();return yn.handlers.cleanupDataJson(JSON.stringify(t))};En.prototype.updateData=function(e){this.store.updateData(e)};En.prototype.setBeforeUpdate=function(e){return this.beforeUpdate=e,this};En.prototype.setAfterUpdate=function(e){return this.afterUpdate=e,this};function BOe(e){return typeof e=="string"&&(e=document.querySelector(e)),e}function RY(e){const t=[];return Array.isArray(e)?e.forEach(n=>{typeof n=="function"?t.push(n):typeof n=="string"?t.push(r=>r.data[n]):Array.isArray(n)&&t.push(r=>n.map(i=>r.data[i]).join(" "))}):typeof e=="function"?t.push(e):typeof e=="string"&&t.push(n=>n.data[e]),t}IY.is_html=!1;function IY(...e){return new es(...e)}function es(e,t){return this.cont=e,this.store=t,this.svg=null,this.getCard=null,this.card_dim={w:220,h:70,text_x:75,text_y:15,img_w:60,img_h:60,img_x:5,img_y:5},this.card_display=[n=>`${n.data["first name"]} ${n.data["last name"]}`],this.mini_tree=!0,this.link_break=!1,this.onCardClick=this.onCardClickDefault,this.onCardUpdate=null,this.onCardUpdates=null,this.init(),this}es.prototype.init=function(){this.svg=this.cont.querySelector("svg.main_svg"),this.getCard=()=>yn.elements.Card({store:this.store,svg:this.svg,card_dim:this.card_dim,card_display:this.card_display,mini_tree:this.mini_tree,link_break:this.link_break,onCardClick:this.onCardClick,onCardUpdate:this.onCardUpdate,onCardUpdates:this.onCardUpdates})};es.prototype.setCardDisplay=function(e){return this.card_display=RY(e),this};es.prototype.setCardDim=function(e){if(typeof e!="object")return console.error("card_dim must be an object"),this;for(let t in e){const n=e[t];if(typeof n!="number")return console.error(`card_dim.${t} must be a number`),this;t==="width"&&(t="w"),t==="height"&&(t="h"),this.card_dim[t]=n}return MOe(this.svg,this.card_dim),this};es.prototype.setMiniTree=function(e){return this.mini_tree=e,this};es.prototype.setLinkBreak=function(e){return this.link_break=e,this};es.prototype.setCardTextSvg=function(e){function t(n){const a=$e.select(this).select(".card-text text").node().parentNode;a.innerHTML=e(n.data)}return t.id="setCardTextSvg",this.onCardUpdates||(this.onCardUpdates=[]),this.onCardUpdates=this.onCardUpdates.filter(n=>n.id!=="setCardTextSvg"),this.onCardUpdates.push(t),this};es.prototype.onCardClickDefault=function(e,t){this.store.updateMainId(t.data.id),this.store.updateTree({})};es.prototype.setOnCardClick=function(e){return this.onCardClick=e,this};NY.is_html=!0;function NY(...e){return new Sr(...e)}Sr.prototype.is_html=!0;function Sr(e,t){return this.cont=e,this.store=t,this.getCard=null,this.card_display=[n=>`${n.data["first name"]} ${n.data["last name"]}`],this.onCardClick=this.onCardClickDefault,this.style="default",this.mini_tree=!1,this.onCardUpdate=null,this.card_dim={},this.init(),this}Sr.prototype.init=function(){this.svg=this.cont.querySelector("svg.main_svg"),this.getCard=()=>yn.elements.CardHtml({store:this.store,card_display:this.card_display,onCardClick:this.onCardClick,style:this.style,mini_tree:this.mini_tree,onCardUpdate:this.onCardUpdate,card_dim:this.card_dim,empty_card_label:this.store.state.single_parent_empty_card_label,onCardMouseenter:this.onCardMouseenter?this.onCardMouseenter.bind(this):null,onCardMouseleave:this.onCardMouseleave?this.onCardMouseleave.bind(this):null})};Sr.prototype.setCardDisplay=function(e){return this.card_display=RY(e),this};Sr.prototype.setOnCardClick=function(e){return this.onCardClick=e,this};Sr.prototype.onCardClickDefault=function(e,t){this.store.updateMainId(t.data.id),this.store.updateTree({})};Sr.prototype.setStyle=function(e){return this.style=e,this};Sr.prototype.setMiniTree=function(e){return this.mini_tree=e,this};Sr.prototype.setOnCardUpdate=function(e){return this.onCardUpdate=e,this};Sr.prototype.setCardDim=function(e){if(typeof e!="object")return console.error("card_dim must be an object"),this;for(let t in e){const n=e[t];if(typeof n!="number"&&typeof n!="boolean")return console.error(`card_dim.${t} must be a number or boolean`),this;t==="width"&&(t="w"),t==="height"&&(t="h"),t==="img_width"&&(t="img_w"),t==="img_height"&&(t="img_h"),t==="img_x"&&(t="img_x"),t==="img_y"&&(t="img_y"),this.card_dim[t]=n}return this};Sr.prototype.resetCardDim=function(){return this.card_dim={},this};Sr.prototype.setOnHoverPathToMain=function(){return this.onCardMouseenter=this.onEnterPathToMain.bind(this),this.onCardMouseleave=this.onLeavePathToMain.bind(this),this};Sr.prototype.unsetOnHoverPathToMain=function(){return this.onCardMouseenter=null,this.onCardMouseleave=null,this};Sr.prototype.onEnterPathToMain=function(e,t){this.to_transition=t.data.id;const n=this.store.getTreeMainDatum(),r=$e.select(this.cont).select("div.cards_view").selectAll(".card_cont"),i=$e.select(this.cont).select("svg.main_svg .links_view").selectAll(".link"),[a,o]=qNe(r,i,t,n);return a.forEach(s=>{const u=Math.abs(t.depth-s.card.depth)*200;$e.select(s.node.querySelector("div.card-inner")).transition().duration(0).delay(u).on("end",()=>this.to_transition===t.data.id&&$e.select(s.node.querySelector("div.card-inner")).classed("f3-path-to-main",!0))}),o.forEach(s=>{const u=Math.abs(t.depth-s.link.depth)*200;$e.select(s.node).transition().duration(0).delay(u).on("end",()=>this.to_transition===t.data.id&&$e.select(s.node).classed("f3-path-to-main",!0))}),this};Sr.prototype.onLeavePathToMain=function(e,t){return this.to_transition=!1,$e.select(this.cont).select("div.cards_view").selectAll("div.card-inner").classed("f3-path-to-main",!1),$e.select(this.cont).select("svg.main_svg .links_view").selectAll(".link").classed("f3-path-to-main",!1),this};var yn={CalculateTree:nY,createStore:jNe,view:tOe,createSvg:nOe,handlers:dOe,elements:IOe,htmlHandlers:JNe,icons:sOe,createChart:LOe,CardSvg:IY,CardHtml:NY};function zOe(e,t){return e.husb===t?e.wife:e.husb}function $$(e,t){const n=new Map;return e.fams.forEach(r=>n.set(r.id,r)),e.indis.map(r=>{var c,f;const i=n.get(r.famc),a=(r.fams||[]).map(d=>n.get(d)).filter(d=>d!==void 0),o=i==null?void 0:i.husb,s=i==null?void 0:i.wife,u=a.map(d=>zOe(d,r.id)).filter(d=>d!==void 0),l=a.flatMap(d=>d.children||[]);return{id:r.id,data:{"first name":r.firstName,"last name":r.lastName,birthday:qf(r.birth,t),avatar:(f=(c=r.images)==null?void 0:c[0])==null?void 0:f.url,gender:r.sex},rels:{father:o,mother:s,spouses:u,children:l}}})}class UOe{initializeChart(t,n){const r=$$(t.data,n);this.store=yn.createStore({data:r,main_id:t.selection.id});const i=yn.createSvg(document.querySelector("#dotatsoSvgContainer")),a=yn.elements.Card({store:this.store,svg:i,card_display:[o=>`${o.data["first name"]||""} ${o.data["last name"]||""}`,o=>`${o.data.birthday||""}`],mini_tree:!0,link_break:!1,onCardClick:(o,s)=>t.onSelection({id:s.data.id,generation:0})});this.store.setOnUpdate(o=>{yn.view(this.store.getTree(),i,a,o||{})}),this.store.updateTree({initial:!0})}updateChart(t,n){const r=$$(t.data,n);this.store.updateData(r),this.store.updateMainId(t.selection.id),this.store.updateTree()}}function jOe(e){const t=J.useRef(new UOe),n=pj(e),r=ai();return J.useEffect(()=>{n?t.current.updateChart(e,r):t.current.initializeChart(e,r)}),U.jsx("div",{id:"dotatsoSvgContainer"})}const HOe=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Fg{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Fg.prototype.property={};Fg.prototype.normal={};Fg.prototype.space=null;function OY(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&YOe.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(L$,ZOe);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!L$.test(a)){let o=a.replace(QOe,XOe);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=J3}return new i(r,t)}function XOe(e){return"-"+e.toLowerCase()}function ZOe(e){return e.charAt(1).toUpperCase()}const JOe=OY([FY,$Y,zY,UY,WOe],"html"),jY=OY([FY,$Y,zY,UY,VOe],"svg"),B$={}.hasOwnProperty;function e5e(e,t){const n=t||{};function r(i,...a){let o=r.invalid;const s=r.handlers;if(i&&B$.call(i,e)){const u=String(i[e]);o=B$.call(s,u)?s[u]:r.unknown}if(o)return o.call(this,i,...a)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const t5e=/["&'<>`]/g,n5e=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,r5e=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,i5e=/[|\\{}()[\]^$+*?.]/g,z$=new WeakMap;function a5e(e,t){if(e=e.replace(t.subset?o5e(t.subset):t5e,r),t.subset||t.escapeOnly)return e;return e.replace(n5e,n).replace(r5e,r);function n(i,a,o){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,o.charCodeAt(a+2),t)}function r(i,a,o){return t.format(i.charCodeAt(0),o.charCodeAt(a+1),t)}}function o5e(e){let t=z$.get(e);return t||(t=s5e(e),z$.set(e,t)),t}function s5e(e){const t=[];let n=-1;for(;++n",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},h5e=["cent","copy","divide","gt","lt","not","para","times"],HY={}.hasOwnProperty,NT={};let qv;for(qv in LE)HY.call(LE,qv)&&(NT[LE[qv]]=qv);const p5e=/[^\dA-Za-z]/;function m5e(e,t,n,r){const i=String.fromCharCode(e);if(HY.call(NT,i)){const a=NT[i],o="&"+a;return n&&d5e.includes(a)&&!h5e.includes(a)&&(!r||t&&t!==61&&p5e.test(String.fromCharCode(t)))?o:o+";"}return""}function g5e(e,t,n){let r=l5e(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=m5e(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const a=f5e(e,t,n.omitOptionalSemicolons);a.length|^->||--!>|"],w5e=["<",">"];function _5e(e,t,n,r){return r.settings.bogusComments?"":"";function i(a){return rf(a,Object.assign({},r.settings.characterReferences,{subset:w5e}))}}function b5e(e,t,n,r){return""}function U$(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function x5e(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function E5e(e){return e.join(" ").trim()}const S5e=/[ \t\n\f\r]/g;function eR(e){return typeof e=="object"?e.type==="text"?j$(e.value):!1:j$(e)}function j$(e){return e.replace(S5e,"")===""}const Sn=GY(1),qY=GY(-1),C5e=[];function GY(e){return t;function t(n,r,i){const a=n?n.children:C5e;let o=(r||0)+e,s=a[o];if(!i)for(;s&&eR(s);)o+=e,s=a[o];return s}}const A5e={}.hasOwnProperty;function WY(e){return t;function t(n,r,i){return A5e.call(e,n.tagName)&&e[n.tagName](n,r,i)}}const tR=WY({body:T5e,caption:BE,colgroup:BE,dd:I5e,dt:R5e,head:BE,html:k5e,li:P5e,optgroup:N5e,option:O5e,p:M5e,rp:H$,rt:H$,tbody:$5e,td:q$,tfoot:F5e,th:q$,thead:D5e,tr:L5e});function BE(e,t,n){const r=Sn(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&eR(r.value.charAt(0)))}function k5e(e,t,n){const r=Sn(n,t);return!r||r.type!=="comment"}function T5e(e,t,n){const r=Sn(n,t);return!r||r.type!=="comment"}function M5e(e,t,n){const r=Sn(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function P5e(e,t,n){const r=Sn(n,t);return!r||r.type==="element"&&r.tagName==="li"}function R5e(e,t,n){const r=Sn(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function I5e(e,t,n){const r=Sn(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function H$(e,t,n){const r=Sn(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function N5e(e,t,n){const r=Sn(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function O5e(e,t,n){const r=Sn(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function D5e(e,t,n){const r=Sn(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function $5e(e,t,n){const r=Sn(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function F5e(e,t,n){return!Sn(n,t)}function L5e(e,t,n){const r=Sn(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function q$(e,t,n){const r=Sn(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const B5e=WY({body:j5e,colgroup:H5e,head:U5e,html:z5e,tbody:q5e});function z5e(e){const t=Sn(e,-1);return!t||t.type!=="comment"}function U5e(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function j5e(e){const t=Sn(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&eR(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function H5e(e,t,n){const r=qY(n,t),i=Sn(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&tR(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function q5e(e,t,n){const r=qY(n,t),i=Sn(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&tR(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const Gv={name:[[` +\f\r &/=>`.split(""),` +\f\r "&'/=>\``.split("")],[`\0 +\f\r "&'/<=>`.split(""),`\0 +\f\r "&'/<=>\``.split("")]],unquoted:[[` +\f\r &>`.split(""),`\0 +\f\r "&'<=>\``.split("")],[`\0 +\f\r "&'<=>\``.split(""),`\0 +\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function G5e(e,t,n,r){const i=r.schema,a=i.space==="svg"?!1:r.settings.omitOptionalTags;let o=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const s=[];let u;i.space==="html"&&e.tagName==="svg"&&(r.schema=jY);const l=W5e(r,e.properties),c=r.all(i.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=i,c&&(o=!1),(l||!a||!B5e(e,t,n))&&(s.push("<",e.tagName,l?" "+l:""),o&&(i.space==="svg"||r.settings.closeSelfClosing)&&(u=l.charAt(l.length-1),(!r.settings.tightSelfClosing||u==="/"||u&&u!=='"'&&u!=="'")&&s.push(" "),s.push("/")),s.push(">")),s.push(c),!o&&(!a||!tR(e,t,n))&&s.push(""),s.join("")}function W5e(e,t){const n=[];let r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){const a=V5e(e,i,t[i]);a&&n.push(a)}}for(;++rU$(n,e.alternative)&&(o=e.alternative),s=o+rf(n,Object.assign({},e.settings.characterReferences,{subset:(o==="'"?Gv.single:Gv.double)[i][a],attribute:!0}))+o),u+(s&&"="+s))}const Y5e=["<","&"];function VY(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:rf(e.value,Object.assign({},r.settings.characterReferences,{subset:Y5e}))}function Q5e(e,t,n,r){return r.settings.allowDangerousHtml?e.value:VY(e,t,n,r)}function K5e(e,t,n,r){return r.all(e)}const X5e=e5e("type",{invalid:Z5e,unknown:J5e,handlers:{comment:_5e,doctype:b5e,element:G5e,raw:Q5e,root:K5e,text:VY}});function Z5e(e){throw new Error("Expected node, not `"+e+"`")}function J5e(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const eDe={},tDe={},nDe=[];function rDe(e,t){const n=t||eDe,r=n.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:iDe,all:aDe,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||HOe,characterReferences:n.characterReferences||tDe,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?jY:JOe,quote:r,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function iDe(e,t,n){return X5e(e,t,n,this)}function aDe(e){const t=[],n=e&&e.children||nDe;let r=-1;for(;++ri?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a0?(Xa(e,e.length,0,t),e):t}const V$={}.hasOwnProperty;function cDe(e){const t={};let n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function af(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ma=wu(/[A-Za-z]/),ei=wu(/[\dA-Za-z]/),hDe=wu(/[#-'*+\--9=?A-Z^-~]/);function OT(e){return e!==null&&(e<32||e===127)}const DT=wu(/\d/),pDe=wu(/[\dA-Fa-f]/),mDe=wu(/[!-/:-@[-`{-~]/);function rt(e){return e!==null&&e<-2}function zr(e){return e!==null&&(e<0||e===32)}function Ct(e){return e===-2||e===-1||e===32}const gDe=wu(new RegExp("\\p{P}|\\p{S}","u")),vDe=wu(/\s/);function wu(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Rd(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&a<57344){const s=e.charCodeAt(n+1);a<56320&&s>56319&&s<57344?(o=String.fromCharCode(a,s),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Bt(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return o;function o(u){return Ct(u)?(e.enter(n),s(u)):t(u)}function s(u){return Ct(u)&&a++o))return;const k=t.events.length;let M=k,R,N;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){if(R){N=t.events[M][1].end;break}R=!0}for(_(r),C=k;CE;){const v=n[S];t.containerState=v[1],v[0].exit.call(t,e)}n.length=E}function b(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function xDe(e,t,n){return Bt(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Q$(e){if(e===null||zr(e)||vDe(e))return 1;if(gDe(e))return 2}function rR(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},d={...e[n][1].start};K$(f,-u),K$(d,u),o={type:u>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},s={type:u>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:d},a={type:u>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:u>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=wi(l,[["enter",e[r][1],t],["exit",e[r][1],t]])),l=wi(l,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),l=wi(l,rR(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=wi(l,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,l=wi(l,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,Xa(e,r-1,n-r+3,l),n=r+l.length-c-2;break}}for(n=-1;++n0&&Ct(C)?Bt(e,b,"linePrefix",a+1)(C):b(C)}function b(C){return C===null||rt(C)?e.check(X$,g,S)(C):(e.enter("codeFlowValue"),E(C))}function E(C){return C===null||rt(C)?(e.exit("codeFlowValue"),b(C)):(e.consume(C),E)}function S(C){return e.exit("codeFenced"),t(C)}function v(C,k,M){let R=0;return N;function N(F){return C.enter("lineEnding"),C.consume(F),C.exit("lineEnding"),P}function P(F){return C.enter("codeFencedFence"),Ct(F)?Bt(C,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):B(F)}function B(F){return F===s?(C.enter("codeFencedFenceSequence"),V(F)):M(F)}function V(F){return F===s?(R++,C.consume(F),V):R>=o?(C.exit("codeFencedFenceSequence"),Ct(F)?Bt(C,$,"whitespace")(F):$(F)):M(F)}function $(F){return F===null||rt(F)?(C.exit("codeFencedFence"),k(F)):M(F)}}}function ODe(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const zE={name:"codeIndented",tokenize:$De},DDe={partial:!0,tokenize:FDe};function $De(e,t,n){const r=this;return i;function i(l){return e.enter("codeIndented"),Bt(e,a,"linePrefix",5)(l)}function a(l){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(l):n(l)}function o(l){return l===null?u(l):rt(l)?e.attempt(DDe,o,u)(l):(e.enter("codeFlowValue"),s(l))}function s(l){return l===null||rt(l)?(e.exit("codeFlowValue"),o(l)):(e.consume(l),s)}function u(l){return e.exit("codeIndented"),t(l)}}function FDe(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):rt(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Bt(e,a,"linePrefix",5)(o)}function a(o){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):rt(o)?i(o):n(o)}}const LDe={name:"codeText",previous:zDe,resolve:BDe,tokenize:UDe};function BDe(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return tthis.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&ep(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),ep(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),ep(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function eQ(e,t,n,r,i,a,o,s,u){const l=u||Number.POSITIVE_INFINITY;let c=0;return f;function f(_){return _===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(_),e.exit(a),d):_===null||_===32||_===41||OT(_)?n(_):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),g(_))}function d(_){return _===62?(e.enter(a),e.consume(_),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(_))}function p(_){return _===62?(e.exit("chunkString"),e.exit(s),d(_)):_===null||_===60||rt(_)?n(_):(e.consume(_),_===92?y:p)}function y(_){return _===60||_===62||_===92?(e.consume(_),p):p(_)}function g(_){return!c&&(_===null||_===41||zr(_))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(_)):c999||p===null||p===91||p===93&&!u||p===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?n(p):p===93?(e.exit(a),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):rt(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||rt(p)||s++>999?(e.exit("chunkString"),c(p)):(e.consume(p),u||(u=!Ct(p)),p===92?d:f)}function d(p){return p===91||p===92||p===93?(e.consume(p),s++,f):f(p)}}function nQ(e,t,n,r,i,a){let o;return s;function s(d){return d===34||d===39||d===40?(e.enter(r),e.enter(i),e.consume(d),e.exit(i),o=d===40?41:d,u):n(d)}function u(d){return d===o?(e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(e.enter(a),l(d))}function l(d){return d===o?(e.exit(a),u(o)):d===null?n(d):rt(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),Bt(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===o||d===null||rt(d)?(e.exit("chunkString"),l(d)):(e.consume(d),d===92?f:c)}function f(d){return d===o||d===92?(e.consume(d),c):c(d)}}function Np(e,t){let n;return r;function r(i){return rt(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Ct(i)?Bt(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const QDe={name:"definition",tokenize:XDe},KDe={partial:!0,tokenize:ZDe};function XDe(e,t,n){const r=this;let i;return a;function a(p){return e.enter("definition"),o(p)}function o(p){return tQ.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return i=af(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),u):n(p)}function u(p){return zr(p)?Np(e,l)(p):l(p)}function l(p){return eQ(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return e.attempt(KDe,f,f)(p)}function f(p){return Ct(p)?Bt(e,d,"whitespace")(p):d(p)}function d(p){return p===null||rt(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function ZDe(e,t,n){return r;function r(s){return zr(s)?Np(e,i)(s):n(s)}function i(s){return nQ(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return Ct(s)?Bt(e,o,"whitespace")(s):o(s)}function o(s){return s===null||rt(s)?t(s):n(s)}}const JDe={name:"hardBreakEscape",tokenize:e8e};function e8e(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return rt(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const t8e={name:"headingAtx",resolve:n8e,tokenize:r8e};function n8e(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Xa(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function r8e(e,t,n){let r=0;return i;function i(c){return e.enter("atxHeading"),a(c)}function a(c){return e.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&r++<6?(e.consume(c),o):c===null||zr(c)?(e.exit("atxHeadingSequence"),s(c)):n(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),u(c)):c===null||rt(c)?(e.exit("atxHeading"),t(c)):Ct(c)?Bt(e,s,"whitespace")(c):(e.enter("atxHeadingText"),l(c))}function u(c){return c===35?(e.consume(c),u):(e.exit("atxHeadingSequence"),s(c))}function l(c){return c===null||c===35||zr(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),l)}}const i8e=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],J$=["pre","script","style","textarea"],a8e={concrete:!0,name:"htmlFlow",resolveTo:u8e,tokenize:l8e},o8e={partial:!0,tokenize:f8e},s8e={partial:!0,tokenize:c8e};function u8e(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function l8e(e,t,n){const r=this;let i,a,o,s,u;return l;function l(H){return c(H)}function c(H){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(H),f}function f(H){return H===33?(e.consume(H),d):H===47?(e.consume(H),a=!0,g):H===63?(e.consume(H),i=3,r.interrupt?t:L):Ma(H)?(e.consume(H),o=String.fromCharCode(H),w):n(H)}function d(H){return H===45?(e.consume(H),i=2,p):H===91?(e.consume(H),i=5,s=0,y):Ma(H)?(e.consume(H),i=4,r.interrupt?t:L):n(H)}function p(H){return H===45?(e.consume(H),r.interrupt?t:L):n(H)}function y(H){const ne="CDATA[";return H===ne.charCodeAt(s++)?(e.consume(H),s===ne.length?r.interrupt?t:B:y):n(H)}function g(H){return Ma(H)?(e.consume(H),o=String.fromCharCode(H),w):n(H)}function w(H){if(H===null||H===47||H===62||zr(H)){const ne=H===47,ce=o.toLowerCase();return!ne&&!a&&J$.includes(ce)?(i=1,r.interrupt?t(H):B(H)):i8e.includes(o.toLowerCase())?(i=6,ne?(e.consume(H),_):r.interrupt?t(H):B(H)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(H):a?b(H):E(H))}return H===45||ei(H)?(e.consume(H),o+=String.fromCharCode(H),w):n(H)}function _(H){return H===62?(e.consume(H),r.interrupt?t:B):n(H)}function b(H){return Ct(H)?(e.consume(H),b):N(H)}function E(H){return H===47?(e.consume(H),N):H===58||H===95||Ma(H)?(e.consume(H),S):Ct(H)?(e.consume(H),E):N(H)}function S(H){return H===45||H===46||H===58||H===95||ei(H)?(e.consume(H),S):v(H)}function v(H){return H===61?(e.consume(H),C):Ct(H)?(e.consume(H),v):E(H)}function C(H){return H===null||H===60||H===61||H===62||H===96?n(H):H===34||H===39?(e.consume(H),u=H,k):Ct(H)?(e.consume(H),C):M(H)}function k(H){return H===u?(e.consume(H),u=null,R):H===null||rt(H)?n(H):(e.consume(H),k)}function M(H){return H===null||H===34||H===39||H===47||H===60||H===61||H===62||H===96||zr(H)?v(H):(e.consume(H),M)}function R(H){return H===47||H===62||Ct(H)?E(H):n(H)}function N(H){return H===62?(e.consume(H),P):n(H)}function P(H){return H===null||rt(H)?B(H):Ct(H)?(e.consume(H),P):n(H)}function B(H){return H===45&&i===2?(e.consume(H),z):H===60&&i===1?(e.consume(H),Q):H===62&&i===4?(e.consume(H),W):H===63&&i===3?(e.consume(H),L):H===93&&i===5?(e.consume(H),j):rt(H)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(o8e,G,V)(H)):H===null||rt(H)?(e.exit("htmlFlowData"),V(H)):(e.consume(H),B)}function V(H){return e.check(s8e,$,G)(H)}function $(H){return e.enter("lineEnding"),e.consume(H),e.exit("lineEnding"),F}function F(H){return H===null||rt(H)?V(H):(e.enter("htmlFlowData"),B(H))}function z(H){return H===45?(e.consume(H),L):B(H)}function Q(H){return H===47?(e.consume(H),o="",K):B(H)}function K(H){if(H===62){const ne=o.toLowerCase();return J$.includes(ne)?(e.consume(H),W):B(H)}return Ma(H)&&o.length<8?(e.consume(H),o+=String.fromCharCode(H),K):B(H)}function j(H){return H===93?(e.consume(H),L):B(H)}function L(H){return H===62?(e.consume(H),W):H===45&&i===2?(e.consume(H),L):B(H)}function W(H){return H===null||rt(H)?(e.exit("htmlFlowData"),G(H)):(e.consume(H),W)}function G(H){return e.exit("htmlFlow"),t(H)}}function c8e(e,t,n){const r=this;return i;function i(o){return rt(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):n(o)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function f8e(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(H_,t,n)}}const d8e={name:"htmlText",tokenize:h8e};function h8e(e,t,n){const r=this;let i,a,o;return s;function s(L){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(L),u}function u(L){return L===33?(e.consume(L),l):L===47?(e.consume(L),v):L===63?(e.consume(L),E):Ma(L)?(e.consume(L),M):n(L)}function l(L){return L===45?(e.consume(L),c):L===91?(e.consume(L),a=0,y):Ma(L)?(e.consume(L),b):n(L)}function c(L){return L===45?(e.consume(L),p):n(L)}function f(L){return L===null?n(L):L===45?(e.consume(L),d):rt(L)?(o=f,Q(L)):(e.consume(L),f)}function d(L){return L===45?(e.consume(L),p):f(L)}function p(L){return L===62?z(L):L===45?d(L):f(L)}function y(L){const W="CDATA[";return L===W.charCodeAt(a++)?(e.consume(L),a===W.length?g:y):n(L)}function g(L){return L===null?n(L):L===93?(e.consume(L),w):rt(L)?(o=g,Q(L)):(e.consume(L),g)}function w(L){return L===93?(e.consume(L),_):g(L)}function _(L){return L===62?z(L):L===93?(e.consume(L),_):g(L)}function b(L){return L===null||L===62?z(L):rt(L)?(o=b,Q(L)):(e.consume(L),b)}function E(L){return L===null?n(L):L===63?(e.consume(L),S):rt(L)?(o=E,Q(L)):(e.consume(L),E)}function S(L){return L===62?z(L):E(L)}function v(L){return Ma(L)?(e.consume(L),C):n(L)}function C(L){return L===45||ei(L)?(e.consume(L),C):k(L)}function k(L){return rt(L)?(o=k,Q(L)):Ct(L)?(e.consume(L),k):z(L)}function M(L){return L===45||ei(L)?(e.consume(L),M):L===47||L===62||zr(L)?R(L):n(L)}function R(L){return L===47?(e.consume(L),z):L===58||L===95||Ma(L)?(e.consume(L),N):rt(L)?(o=R,Q(L)):Ct(L)?(e.consume(L),R):z(L)}function N(L){return L===45||L===46||L===58||L===95||ei(L)?(e.consume(L),N):P(L)}function P(L){return L===61?(e.consume(L),B):rt(L)?(o=P,Q(L)):Ct(L)?(e.consume(L),P):R(L)}function B(L){return L===null||L===60||L===61||L===62||L===96?n(L):L===34||L===39?(e.consume(L),i=L,V):rt(L)?(o=B,Q(L)):Ct(L)?(e.consume(L),B):(e.consume(L),$)}function V(L){return L===i?(e.consume(L),i=void 0,F):L===null?n(L):rt(L)?(o=V,Q(L)):(e.consume(L),V)}function $(L){return L===null||L===34||L===39||L===60||L===61||L===96?n(L):L===47||L===62||zr(L)?R(L):(e.consume(L),$)}function F(L){return L===47||L===62||zr(L)?R(L):n(L)}function z(L){return L===62?(e.consume(L),e.exit("htmlTextData"),e.exit("htmlText"),t):n(L)}function Q(L){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),K}function K(L){return Ct(L)?Bt(e,j,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):j(L)}function j(L){return e.enter("htmlTextData"),o(L)}}const iR={name:"labelEnd",resolveAll:v8e,resolveTo:y8e,tokenize:w8e},p8e={tokenize:_8e},m8e={tokenize:b8e},g8e={tokenize:x8e};function v8e(e){let t=-1;const n=[];for(;++t=3&&(l===null||rt(l))?(e.exit("thematicBreak"),t(l)):n(l)}function u(l){return l===i?(e.consume(l),r++,u):(e.exit("thematicBreakSequence"),Ct(l)?Bt(e,s,"whitespace")(l):s(l))}}const Rr={continuation:{tokenize:I8e},exit:O8e,name:"list",tokenize:R8e},M8e={partial:!0,tokenize:D8e},P8e={partial:!0,tokenize:N8e};function R8e(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(p){const y=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:DT(p)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(jy,n,l)(p):l(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(p)}return n(p)}function u(p){return DT(p)&&++o<10?(e.consume(p),u):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),l(p)):n(p)}function l(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(H_,r.interrupt?n:c,e.attempt(M8e,d,f))}function c(p){return r.containerState.initialBlankLine=!0,a++,d(p)}function f(p){return Ct(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),d):n(p)}function d(p){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function I8e(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(H_,i,a);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Bt(e,t,"listItemIndent",r.containerState.size+1)(s)}function a(s){return r.containerState.furtherBlankLines||!Ct(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(P8e,t,o)(s))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,Bt(e,e.attempt(Rr,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function N8e(e,t,n){const r=this;return Bt(e,i,"listItemIndent",r.containerState.size+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(a):n(a)}}function O8e(e){e.exit(this.containerState.type)}function D8e(e,t,n){const r=this;return Bt(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const o=r.events[r.events.length-1];return!Ct(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const eF={name:"setextUnderline",resolveTo:$8e,tokenize:F8e};function $8e(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const o={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function F8e(e,t,n){const r=this;let i;return a;function a(l){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=l,o(l)):n(l)}function o(l){return e.enter("setextHeadingLineSequence"),s(l)}function s(l){return l===i?(e.consume(l),s):(e.exit("setextHeadingLineSequence"),Ct(l)?Bt(e,u,"lineSuffix")(l):u(l))}function u(l){return l===null||rt(l)?(e.exit("setextHeadingLine"),t(l)):n(l)}}const L8e={tokenize:B8e};function B8e(e){const t=this,n=e.attempt(H_,r,e.attempt(this.parser.constructs.flowInitial,i,Bt(e,e.attempt(this.parser.constructs.flow,i,e.attempt(qDe,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const z8e={resolveAll:iQ()},U8e=rQ("string"),j8e=rQ("text");function rQ(e){return{resolveAll:iQ(e==="text"?H8e:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,o,s);return o;function o(c){return l(c)?a(c):s(c)}function s(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),u}function u(c){return l(c)?(n.exit("data"),a(c)):(n.consume(c),u)}function l(c){if(c===null)return!0;const f=i[c];let d=-1;if(f)for(;++d-1){const s=o[0];typeof s=="string"?o[0]=s.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function n6e(e,t){let n=-1;const r=[];let i;for(;++n0){const ie=I.tokenStack[I.tokenStack.length-1];(ie[1]||iF).call(I,void 0,ie[0])}for(q.position={start:Is(_e.length>0?_e[0][1].start:{line:1,column:1,offset:0}),end:Is(_e.length>0?_e[_e.length-2][1].end:{line:1,column:1,offset:0})},X=-1;++X0&&(r.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function g6e(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function v6e(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function y6e(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Rd(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,u);const l={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,l),e.applyData(t,l)}function w6e(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function _6e(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function sQ(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function b6e(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return sQ(e,t);const i={src:Rd(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function x6e(e,t){const n={src:Rd(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function E6e(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function S6e(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return sQ(e,t);const i={href:Rd(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function C6e(e,t){const n={href:Rd(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function A6e(e,t,n){const r=e.all(t),i=n?k6e(n):uQ(t),a={},o=[];if(typeof t.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s1}function T6e(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function I6e(e){const t=cQ(e),n=lQ(e);if(t&&n)return{start:t,end:n}}function N6e(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),i.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=cQ(t.children[1]),u=lQ(t.children[t.children.length-1]);s&&u&&(o.position={start:s,end:u}),i.push(o)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function O6e(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,s=o?o.length:t.children.length;let u=-1;const l=[];for(;++u0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(sF(t.slice(i),i>0,!1)),a.join("")}function sF(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===aF||a===oF;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===aF||a===oF;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function F6e(e,t){const n={type:"text",value:$6e(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function L6e(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const B6e={blockquote:h6e,break:p6e,code:m6e,delete:g6e,emphasis:v6e,footnoteReference:y6e,heading:w6e,html:_6e,imageReference:b6e,image:x6e,inlineCode:E6e,linkReference:S6e,link:C6e,listItem:A6e,list:T6e,paragraph:M6e,root:P6e,strong:R6e,table:N6e,tableCell:D6e,tableRow:O6e,text:F6e,thematicBreak:L6e,toml:Wv,yaml:Wv,definition:Wv,footnoteDefinition:Wv};function Wv(){}const dQ=-1,q_=0,Dp=1,pw=2,aR=3,oR=4,sR=5,uR=6,hQ=7,pQ=8,uF=typeof self=="object"?self:globalThis,z6e=(e,t)=>{const n=(i,a)=>(e.set(a,i),i),r=i=>{if(e.has(i))return e.get(i);const[a,o]=t[i];switch(a){case q_:case dQ:return n(o,i);case Dp:{const s=n([],i);for(const u of o)s.push(r(u));return s}case pw:{const s=n({},i);for(const[u,l]of o)s[r(u)]=r(l);return s}case aR:return n(new Date(o),i);case oR:{const{source:s,flags:u}=o;return n(new RegExp(s,u),i)}case sR:{const s=n(new Map,i);for(const[u,l]of o)s.set(r(u),r(l));return s}case uR:{const s=n(new Set,i);for(const u of o)s.add(r(u));return s}case hQ:{const{name:s,message:u}=o;return n(new uF[s](u),i)}case pQ:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:s}=new Uint8Array(o);return n(new DataView(s),o)}}return n(new uF[a](o),i)};return r},lF=e=>z6e(new Map,e)(0),Oc="",{toString:U6e}={},{keys:j6e}=Object,tp=e=>{const t=typeof e;if(t!=="object"||!e)return[q_,t];const n=U6e.call(e).slice(8,-1);switch(n){case"Array":return[Dp,Oc];case"Object":return[pw,Oc];case"Date":return[aR,Oc];case"RegExp":return[oR,Oc];case"Map":return[sR,Oc];case"Set":return[uR,Oc];case"DataView":return[Dp,n]}return n.includes("Array")?[Dp,n]:n.includes("Error")?[hQ,n]:[pw,n]},Vv=([e,t])=>e===q_&&(t==="function"||t==="symbol"),H6e=(e,t,n,r)=>{const i=(o,s)=>{const u=r.push(o)-1;return n.set(s,u),u},a=o=>{if(n.has(o))return n.get(o);let[s,u]=tp(o);switch(s){case q_:{let c=o;switch(u){case"bigint":s=pQ,c=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);c=null;break;case"undefined":return i([dQ],o)}return i([s,c],o)}case Dp:{if(u){let d=o;return u==="DataView"?d=new Uint8Array(o.buffer):u==="ArrayBuffer"&&(d=new Uint8Array(o)),i([u,[...d]],o)}const c=[],f=i([s,c],o);for(const d of o)c.push(a(d));return f}case pw:{if(u)switch(u){case"BigInt":return i([u,o.toString()],o);case"Boolean":case"Number":case"String":return i([u,o.valueOf()],o)}if(t&&"toJSON"in o)return a(o.toJSON());const c=[],f=i([s,c],o);for(const d of j6e(o))(e||!Vv(tp(o[d])))&&c.push([a(d),a(o[d])]);return f}case aR:return i([s,o.toISOString()],o);case oR:{const{source:c,flags:f}=o;return i([s,{source:c,flags:f}],o)}case sR:{const c=[],f=i([s,c],o);for(const[d,p]of o)(e||!(Vv(tp(d))||Vv(tp(p))))&&c.push([a(d),a(p)]);return f}case uR:{const c=[],f=i([s,c],o);for(const d of o)(e||!Vv(tp(d)))&&c.push(a(d));return f}}const{message:l}=o;return i([s,{name:u,message:l}],o)};return a},cF=(e,{json:t,lossy:n}={})=>{const r=[];return H6e(!(t||n),!!t,new Map,r)(e),r},mw=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?lF(cF(e,t)):structuredClone(e):(e,t)=>lF(cF(e,t));function q6e(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function G6e(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function W6e(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||q6e,r=e.options.footnoteBackLabel||G6e,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let u=-1;for(;++u0&&y.push({type:"text",value:" "});let b=typeof n=="string"?n:n(u,p);typeof b=="string"&&(b={type:"text",value:b}),y.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+d+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(u,p),className:["data-footnote-backref"]},children:Array.isArray(b)?b:[b]})}const w=c[c.length-1];if(w&&w.type==="element"&&w.tagName==="p"){const b=w.children[w.children.length-1];b&&b.type==="text"?b.value+=" ":w.children.push({type:"text",value:" "}),w.children.push(...y)}else c.push(...y);const _={type:"element",tagName:"li",properties:{id:t+"fn-"+d},children:e.wrap(c,!0)};e.patch(l,_),s.push(_)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...mw(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` +`},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:` +`}]}}const mQ=function(e){if(e==null)return K6e;if(typeof e=="function")return G_(e);if(typeof e=="object")return Array.isArray(e)?V6e(e):Y6e(e);if(typeof e=="string")return Q6e(e);throw new Error("Expected function, string, or object as test")};function V6e(e){const t=[];let n=-1;for(;++n":""))+")"})}return d;function d(){let p=gQ,y,g,w;if((!t||a(u,l,c[c.length-1]||void 0))&&(p=t$e(n(u,c)),p[0]===fF))return p;if("children"in u&&u.children){const _=u;if(_.children&&p[0]!==J6e)for(g=(r?_.children.length:-1)+o,w=c.concat(_);g>-1&&g<_.children.length;){const b=_.children[g];if(y=s(b,g,w)(),y[0]===fF)return y;g=typeof y[1]=="number"?y[1]:g+o}}return p}}}function t$e(e){return Array.isArray(e)?e:typeof e=="number"?[Z6e,e]:e==null?gQ:[e]}function n$e(e,t,n,r){let i,a,o;typeof t=="function"&&typeof n!="function"?(a=void 0,o=t,i=n):(a=t,o=n,i=r),e$e(e,a,s,i);function s(u,l){const c=l[l.length-1],f=c?c.children.indexOf(u):void 0;return o(u,f,c)}}const LT={}.hasOwnProperty,r$e={};function i$e(e,t){const n=t||r$e,r=new Map,i=new Map,a=new Map,o={...B6e,...n.handlers},s={all:l,applyData:o$e,definitionById:r,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:o,one:u,options:n,patch:a$e,wrap:u$e};return n$e(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const f=c.type==="definition"?r:i,d=String(c.identifier).toUpperCase();f.has(d)||f.set(d,c)}}),s;function u(c,f){const d=c.type,p=s.handlers[d];if(LT.call(s.handlers,d)&&p)return p(s,c,f);if(s.options.passThrough&&s.options.passThrough.includes(d)){if("children"in c){const{children:g,...w}=c,_=mw(w);return _.children=s.all(c),_}return mw(c)}return(s.options.unknownHandler||s$e)(s,c,f)}function l(c){const f=[];if("children"in c){const d=c.children;let p=-1;for(;++p0&&n.push({type:"text",value:` +`}),n}function dF(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function hF(e,t){const n=i$e(e,t),r=n.one(e,void 0),i=W6e(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&a.children.push({type:"text",value:` +`},i),a}function l$e(e,t){return e&&"run"in e?async function(n,r){const i=hF(n,{file:r,...t});await e.run(i,r)}:function(n,r){return hF(n,{file:r,...e||t})}}function pF(e){if(e)throw e}var jE,mF;function c$e(){if(mF)return jE;mF=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(l){return typeof Array.isArray=="function"?Array.isArray(l):t.call(l)==="[object Array]"},a=function(l){if(!l||t.call(l)!=="[object Object]")return!1;var c=e.call(l,"constructor"),f=l.constructor&&l.constructor.prototype&&e.call(l.constructor.prototype,"isPrototypeOf");if(l.constructor&&!c&&!f)return!1;var d;for(d in l);return typeof d>"u"||e.call(l,d)},o=function(l,c){n&&c.name==="__proto__"?n(l,c.name,{enumerable:!0,configurable:!0,value:c.newValue,writable:!0}):l[c.name]=c.newValue},s=function(l,c){if(c==="__proto__")if(e.call(l,c)){if(r)return r(l,c).value}else return;return l[c]};return jE=function u(){var l,c,f,d,p,y,g=arguments[0],w=1,_=arguments.length,b=!1;for(typeof g=="boolean"&&(b=g,g=arguments[1]||{},w=2),(g==null||typeof g!="object"&&typeof g!="function")&&(g={});w<_;++w)if(l=arguments[w],l!=null)for(c in l)f=s(g,c),d=s(l,c),g!==d&&(b&&d&&(a(d)||(p=i(d)))?(p?(p=!1,y=f&&i(f)?f:[]):y=f&&a(f)?f:{},o(g,{name:c,newValue:u(b,y,d)})):typeof d<"u"&&o(g,{name:c,newValue:d}));return g},jE}var f$e=c$e();const HE=jn(f$e);function BT(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function d$e(){const e=[],t={run:n,use:r};return t;function n(...i){let a=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...i);function s(u,...l){const c=e[++a];let f=-1;if(u){o(u);return}for(;++fo.length;let u;s&&o.push(i);try{u=e.apply(this,o)}catch(l){const c=l;if(s&&n)throw c;return i(c)}s||(u&&u.then&&typeof u.then=="function"?u.then(a,i):u instanceof Error?i(u):a(u))}function i(o,...s){n||(n=!0,t(o,...s))}function a(o){i(null,o)}}class qr extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},o=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?a.ruleId=r:(a.source=r.slice(0,u),a.ruleId=r.slice(u+1))}if(!a.place&&a.ancestors&&a.ancestors){const u=a.ancestors[a.ancestors.length-1];u&&(a.place=u.position)}const s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=s?s.line:void 0,this.name=Op(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}qr.prototype.file="";qr.prototype.name="";qr.prototype.reason="";qr.prototype.message="";qr.prototype.stack="";qr.prototype.column=void 0;qr.prototype.line=void 0;qr.prototype.ancestors=void 0;qr.prototype.cause=void 0;qr.prototype.fatal=void 0;qr.prototype.place=void 0;qr.prototype.ruleId=void 0;qr.prototype.source=void 0;const ya={basename:p$e,dirname:m$e,extname:g$e,join:v$e,sep:"/"};function p$e(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Lg(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function m$e(e){if(Lg(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function g$e(e){Lg(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){const s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function v$e(...e){let t=-1,n;for(;++t0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function w$e(e,t){let n="",r=0,i=-1,a=0,o=-1,s,u;for(;++o<=e.length;){if(o2){if(u=n.lastIndexOf("/"),u!==n.length-1){u<0?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf("/")),i=o,a=0;continue}}else if(n.length>0){n="",r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function Lg(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const _$e={cwd:b$e};function b$e(){return"/"}function zT(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function x$e(e){if(typeof e=="string")e=new URL(e);else if(!zT(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return E$e(e)}function E$e(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n0){let[p,...y]=c;const g=r[d][1];BT(g)&&BT(p)&&(p=HE(!0,g,p)),r[d]=[l,p,...y]}}}}const T$e=new lR().freeze();function VE(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function YE(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function QE(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function vF(e){if(!BT(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function yF(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Yv(e){return M$e(e)?e:new S$e(e)}function M$e(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function P$e(e){return typeof e=="string"||R$e(e)}function R$e(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const I$e=`# Changelog + +## 2026-05-02 + +- Display search in mobile view (by marionikolov) + +## 2026-04-20 + +- Shift-click to show a person's details without rearranging the tree (by FrankBuchholz) + +## 2026-02-21 + +- Improved saving PDF files. Decreased file size and increased chart size that can be saved as PDF. + +## 2026-02-13 + +- Show header information of the gedcom file on the side panel (by FrankBuchholz) + +## 2026-01-19 + +- Changed info panel behavior on mobile (by marionikolov) + +## 2025-09-09 + +- Sidebar improvements (Collapse/Expand, Mobile view) (by czifumasa) + +## 2025-01-21 + +- Added new chart type based on [github.com/donatso/family-chart](https://github.com/donatso/family-chart) + +## 2023-08-25 + +- Added support for loading gedzip files + +## 2023-07-21 + +- Display images, notes, sources for events as collapsible tabs (by czifumasa) + +## 2023-07-20 + +- Fixed search for Hebrew names (by czifumasa) + +## 2023-02-01 + +- Added option to hide sex indicators (by Kent Grigo) +- Empty family boxes are now not shown (by Kent Grigo) + +## 2023-01-08 + +- Added option to hide profile identifiers by Kent Grigo + +## 2022-12-08 + +- French translation updated by Olivier Berten + +## 2022-08-30 + +- Added displaying name types in details panel + +## 2022-05-13 + +- Added displaying images in the details panel + +## 2022-04-06 + +- Fixed logging in to WikiTree + +## 2021-10-31 + +- Show changelog in intro page and when an upgraded version is loaded + +## 2021-10-27 + +- Show events in details panel for WikiTree profiles + +## 2021-10-26 + +- Added family events to details panel +- Improved details panel layout + +## 2021-10-25 + +- Added "Settings" tab in side panel +- Added color settings (none, by generation, by sex) +`,N$e="last_seen_version";async function O$e(e,t){const r=I$e.split("##").slice(1,e+1).map(a=>({date:Date.parse(a.split(` +`)[0].trim()),notes:"####"+a})).filter(a=>a.date>0).map(a=>a.notes).join(` +`)||"",i=await T$e().use(d6e).use(l$e).use(oDe).process(r);return String(i)}function D$e(){localStorage.setItem(N$e,"2026-05-02 15:45:19 +0200")}const wF=""+new URL("topola-DAj3jHeV.jpg",import.meta.url).href;function KE(e){return U.jsx(uf,{to:{pathname:"/view",search:Ur.stringify(e.params)},children:e.text})}function $$e(e){return(e==null?void 0:e.slice(0,16))||""}function _F(){const[e,t]=J.useState("");return J.useEffect(()=>{(async()=>(t(await O$e(1)),D$e()))()}),U.jsxs(U.Fragment,{children:[U.jsx("p",{children:U.jsx(Ue,{id:"intro.description",defaultMessage:"Topola Genealogy is a genealogy tree viewer that lets you browse the structure of the family."})}),U.jsx("p",{children:U.jsx(Ue,{id:"intro.instructions",defaultMessage:"Use the OPEN FILE or LOAD FROM URL buttons above to load a GEDCOM file. You can export a GEDCOM file from most of the existing genealogy programs and web sites."})}),U.jsx("h3",{children:U.jsx(Ue,{id:"intro.examples",defaultMessage:"Examples"})}),U.jsxs("ul",{children:[U.jsxs("li",{children:[U.jsx(KE,{params:{url:"https://chronoplexsoftware.com/myfamilytree/samples/The%20Kennedy%20Family.gdz"},text:"J. F. Kennedy"})," ","(",U.jsx(Ue,{id:"intro.from",defaultMessage:"from"})," ",U.jsx("a",{href:"https://chronoplexsoftware.com/myfamilytree/samples/",children:"chronoplexsoftware.com"}),")"]}),U.jsxs("li",{children:[U.jsx(KE,{params:{url:"https://webtreeprint.com/tp_downloader.php?path=famous_gedcoms/shakespeare.ged&file=shakespeare.ged"},text:"Shakespeare"})," ","(",U.jsx(Ue,{id:"intro.from",defaultMessage:"from"})," ",U.jsx("a",{href:"https://webtreeprint.com/tp_famous_gedcoms.php",children:"webtreeprint.com"}),")"]}),U.jsxs("li",{children:[U.jsx(KE,{params:{indi:"Skłodowska-2",source:"wikitree"},text:"Maria Skłodowska-Curie"})," ","(",U.jsx(Ue,{id:"intro.from",defaultMessage:"from"})," ",U.jsx("a",{href:"https://www.wikitree.com/wiki/Sk%C5%82odowska-2",children:"wikitree.com"}),")"]})]}),U.jsx("h3",{children:U.jsx(Ue,{id:"intro.whats_new",defaultMessage:"What's new"})}),U.jsx("span",{dangerouslySetInnerHTML:{__html:e}}),U.jsx("a",{href:"https://github.com/PeWu/topola-viewer/blob/master/CHANGELOG.md",children:U.jsx(Ue,{id:"intro.full_changelog",defaultMessage:"See full changelog"})}),U.jsx("h3",{children:U.jsx(Ue,{id:"intro.privacy",defaultMessage:"Privacy"})}),U.jsx(Ue,{id:"intro.privacy_note",defaultMessage:'When using the "load from file" option, this site does not send your data anywhere and files loaded from disk do not leave your computer. When using "load from URL", data is passed through the {link} service to deal with an issue with cross-site file loading in the browser (CORS).',values:{link:U.jsx("a",{href:"https://topolaproxy.bieda.it/",children:"cors-anywhere"})}}),U.jsxs("p",{className:"ui right aligned version",children:["version: ",$$e("2026-05-02 15:45:19 +0200")," (",U.jsx("a",{href:"https://github.com/PeWu/topola-viewer/commit/a2549eb",children:"a2549eb"}),")"]})]})}function F$e(){return U.jsxs("div",{id:"introContent",children:[U.jsx("div",{className:"backgroundImage"}),U.jsxs(xi,{className:"intro",children:[U.jsx(xi.Content,{as:Vc,greaterThanOrEqual:"large",children:U.jsx(xi.Header,{children:U.jsx(Ue,{id:"intro.title",defaultMessage:"Topola Genealogy Viewer"})})}),U.jsxs(xi.Content,{children:[U.jsx(ea,{as:Vc,greaterThanOrEqual:"large",children:U.jsxs(ea.Row,{children:[U.jsx(ea.Column,{width:5,children:U.jsx(bn,{src:wF,alt:"Topola logo"})}),U.jsx(ea.Column,{width:11,children:U.jsx(_F,{})})]})}),U.jsxs(Vc,{at:"small",children:[U.jsx(bn,{src:wF,alt:"Topola logo",centered:!0,size:"tiny",className:"blockImage"}),U.jsx(_F,{})]})]})]})]})}var sr=(e=>(e[e.Menu=0]="Menu",e[e.Dropdown=1]="Dropdown",e))(sr||{});function gw(e){const t={...e};return delete t.menuType,U.jsx(U.Fragment,{children:e.menuType===0?U.jsx(sn.Item,{...t,children:e.children}):U.jsx(at.Item,{...t,children:e.children})})}var Qv={exports:{}},bF;function L$e(){if(bF)return Qv.exports;bF=1;function e(t,n=100,r={}){if(typeof t!="function")throw new TypeError(`Expected the first parameter to be a function, got \`${typeof t}\`.`);if(n<0)throw new RangeError("`wait` must not be negative.");const{immediate:i}=typeof r=="boolean"?{immediate:r}:r;let a,o,s,u,l;function c(){const p=a,y=o;return a=void 0,o=void 0,l=t.apply(p,y),l}function f(){const p=Date.now()-u;p=0?s=setTimeout(f,n-p):(s=void 0,i||(l=c()))}const d=function(...p){if(a&&this!==a&&Object.getPrototypeOf(this)===Object.getPrototypeOf(a))throw new Error("Debounced method called with different contexts of the same prototype.");a=this,o=p,u=Date.now();const y=i&&!s;return s||(s=setTimeout(f,n)),y&&(l=c()),l};return Object.defineProperty(d,"isPending",{get(){return s!==void 0}}),d.clear=()=>{s&&(clearTimeout(s),s=void 0)},d.flush=()=>{s&&d.trigger()},d.trigger=()=>{l=c(),d.clear()},d}return Qv.exports.debounce=e,Qv.exports=e,Qv.exports}var B$e=L$e();const z$e=jn(B$e);var XE,xF;function U$e(){return xF||(xF=1,XE=function e(t,n){var r=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,i=/(^[ ]*|[ ]*$)/g,a=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,o=/^0x[0-9a-f]+$/i,s=/^0/,u=function(E){return e.insensitive&&(""+E).toLowerCase()||""+E},l=u(t).replace(i,"")||"",c=u(n).replace(i,"")||"",f=l.replace(r,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),d=c.replace(r,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),p=parseInt(l.match(o),16)||f.length!==1&&l.match(a)&&Date.parse(l),y=parseInt(c.match(o),16)||p&&c.match(a)&&Date.parse(c)||null,g,w;if(y){if(py)return 1}for(var _=0,b=Math.max(f.length,d.length);_w)return 1}return 0}),XE}var j$e=U$e();const H$e=jn(j$e);var ZE={exports:{}};/** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + */var EF;function q$e(){return EF||(EF=1,function(e,t){(function(){var n=function(r){var i=new n.Builder;return i.pipeline.add(n.trimmer,n.stopWordFilter,n.stemmer),i.searchPipeline.add(n.stemmer),r.call(i,i),i.build()};n.version="2.3.9";/*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + */n.utils={},n.utils.warn=function(r){return function(i){r.console&&console.warn&&console.warn(i)}}(this),n.utils.asString=function(r){return r==null?"":r.toString()},n.utils.clone=function(r){if(r==null)return r;for(var i=Object.create(null),a=Object.keys(r),o=0;o0){var d=n.utils.clone(i)||{};d.position=[l,f],d.index=s.length,s.push(new n.Token(a.slice(l,u),d))}l=u+1}}return s},n.tokenizer.separator=/[\s\-]+/;/*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + */n.Pipeline=function(){this._stack=[]},n.Pipeline.registeredFunctions=Object.create(null),n.Pipeline.registerFunction=function(r,i){i in this.registeredFunctions&&n.utils.warn("Overwriting existing registered function: "+i),r.label=i,n.Pipeline.registeredFunctions[r.label]=r},n.Pipeline.warnIfFunctionNotRegistered=function(r){var i=r.label&&r.label in this.registeredFunctions;i||n.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,r)},n.Pipeline.load=function(r){var i=new n.Pipeline;return r.forEach(function(a){var o=n.Pipeline.registeredFunctions[a];if(o)i.add(o);else throw new Error("Cannot load unregistered function: "+a)}),i},n.Pipeline.prototype.add=function(){var r=Array.prototype.slice.call(arguments);r.forEach(function(i){n.Pipeline.warnIfFunctionNotRegistered(i),this._stack.push(i)},this)},n.Pipeline.prototype.after=function(r,i){n.Pipeline.warnIfFunctionNotRegistered(i);var a=this._stack.indexOf(r);if(a==-1)throw new Error("Cannot find existingFn");a=a+1,this._stack.splice(a,0,i)},n.Pipeline.prototype.before=function(r,i){n.Pipeline.warnIfFunctionNotRegistered(i);var a=this._stack.indexOf(r);if(a==-1)throw new Error("Cannot find existingFn");this._stack.splice(a,0,i)},n.Pipeline.prototype.remove=function(r){var i=this._stack.indexOf(r);i!=-1&&this._stack.splice(i,1)},n.Pipeline.prototype.run=function(r){for(var i=this._stack.length,a=0;a1&&(ur&&(a=s),u!=r);)o=a-i,s=i+Math.floor(o/2),u=this.elements[s*2];if(u==r||u>r)return s*2;if(uc?d+=2:l==c&&(i+=a[f+1]*o[d+1],f+=2,d+=2);return i},n.Vector.prototype.similarity=function(r){return this.dot(r)/this.magnitude()||0},n.Vector.prototype.toArray=function(){for(var r=new Array(this.elements.length/2),i=1,a=0;i0){var u=s.str.charAt(0),l;u in s.node.edges?l=s.node.edges[u]:(l=new n.TokenSet,s.node.edges[u]=l),s.str.length==1&&(l.final=!0),o.push({node:l,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var c=s.node.edges["*"];else{var c=new n.TokenSet;s.node.edges["*"]=c}if(s.str.length==0&&(c.final=!0),o.push({node:c,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&o.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var f=s.node.edges["*"];else{var f=new n.TokenSet;s.node.edges["*"]=f}s.str.length==1&&(f.final=!0),o.push({node:f,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),p=s.str.charAt(1),y;p in s.node.edges?y=s.node.edges[p]:(y=new n.TokenSet,s.node.edges[p]=y),s.str.length==1&&(y.final=!0),o.push({node:y,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return a},n.TokenSet.fromString=function(r){for(var i=new n.TokenSet,a=i,o=0,s=r.length;o=r;i--){var a=this.uncheckedNodes[i],o=a.child.toString();o in this.minimizedNodes?a.parent.edges[a.char]=this.minimizedNodes[o]:(a.child._str=o,this.minimizedNodes[o]=a.child),this.uncheckedNodes.pop()}};/*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + */n.Index=function(r){this.invertedIndex=r.invertedIndex,this.fieldVectors=r.fieldVectors,this.tokenSet=r.tokenSet,this.fields=r.fields,this.pipeline=r.pipeline},n.Index.prototype.search=function(r){return this.query(function(i){var a=new n.QueryParser(r,i);a.parse()})},n.Index.prototype.query=function(r){for(var i=new n.Query(this.fields),a=Object.create(null),o=Object.create(null),s=Object.create(null),u=Object.create(null),l=Object.create(null),c=0;c1?this._b=1:this._b=r},n.Builder.prototype.k1=function(r){this._k1=r},n.Builder.prototype.add=function(r,i){var a=r[this._ref],o=Object.keys(this._fields);this._documents[a]=i||{},this.documentCount+=1;for(var s=0;s=this.length)return n.QueryLexer.EOS;var r=this.str.charAt(this.pos);return this.pos+=1,r},n.QueryLexer.prototype.width=function(){return this.pos-this.start},n.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},n.QueryLexer.prototype.backup=function(){this.pos-=1},n.QueryLexer.prototype.acceptDigitRun=function(){var r,i;do r=this.next(),i=r.charCodeAt(0);while(i>47&&i<58);r!=n.QueryLexer.EOS&&this.backup()},n.QueryLexer.prototype.more=function(){return this.pos1&&(r.backup(),r.emit(n.QueryLexer.TERM)),r.ignore(),r.more())return n.QueryLexer.lexText},n.QueryLexer.lexEditDistance=function(r){return r.ignore(),r.acceptDigitRun(),r.emit(n.QueryLexer.EDIT_DISTANCE),n.QueryLexer.lexText},n.QueryLexer.lexBoost=function(r){return r.ignore(),r.acceptDigitRun(),r.emit(n.QueryLexer.BOOST),n.QueryLexer.lexText},n.QueryLexer.lexEOS=function(r){r.width()>0&&r.emit(n.QueryLexer.TERM)},n.QueryLexer.termSeparator=n.tokenizer.separator,n.QueryLexer.lexText=function(r){for(;;){var i=r.next();if(i==n.QueryLexer.EOS)return n.QueryLexer.lexEOS;if(i.charCodeAt(0)==92){r.escapeCharacter();continue}if(i==":")return n.QueryLexer.lexField;if(i=="~")return r.backup(),r.width()>0&&r.emit(n.QueryLexer.TERM),n.QueryLexer.lexEditDistance;if(i=="^")return r.backup(),r.width()>0&&r.emit(n.QueryLexer.TERM),n.QueryLexer.lexBoost;if(i=="+"&&r.width()===1||i=="-"&&r.width()===1)return r.emit(n.QueryLexer.PRESENCE),n.QueryLexer.lexText;if(i.match(n.QueryLexer.termSeparator))return n.QueryLexer.lexTerm}},n.QueryParser=function(r,i){this.lexer=new n.QueryLexer(r),this.query=i,this.currentClause={},this.lexemeIdx=0},n.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var r=n.QueryParser.parseClause;r;)r=r(this);return this.query},n.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},n.QueryParser.prototype.consumeLexeme=function(){var r=this.peekLexeme();return this.lexemeIdx+=1,r},n.QueryParser.prototype.nextClause=function(){var r=this.currentClause;this.query.clause(r),this.currentClause={}},n.QueryParser.parseClause=function(r){var i=r.peekLexeme();if(i!=null)switch(i.type){case n.QueryLexer.PRESENCE:return n.QueryParser.parsePresence;case n.QueryLexer.FIELD:return n.QueryParser.parseField;case n.QueryLexer.TERM:return n.QueryParser.parseTerm;default:var a="expected either a field or a term, found "+i.type;throw i.str.length>=1&&(a+=" with value '"+i.str+"'"),new n.QueryParseError(a,i.start,i.end)}},n.QueryParser.parsePresence=function(r){var i=r.consumeLexeme();if(i!=null){switch(i.str){case"-":r.currentClause.presence=n.Query.presence.PROHIBITED;break;case"+":r.currentClause.presence=n.Query.presence.REQUIRED;break;default:var a="unrecognised presence operator'"+i.str+"'";throw new n.QueryParseError(a,i.start,i.end)}var o=r.peekLexeme();if(o==null){var a="expecting term or field, found nothing";throw new n.QueryParseError(a,i.start,i.end)}switch(o.type){case n.QueryLexer.FIELD:return n.QueryParser.parseField;case n.QueryLexer.TERM:return n.QueryParser.parseTerm;default:var a="expecting term or field, found '"+o.type+"'";throw new n.QueryParseError(a,o.start,o.end)}}},n.QueryParser.parseField=function(r){var i=r.consumeLexeme();if(i!=null){if(r.query.allFields.indexOf(i.str)==-1){var a=r.query.allFields.map(function(u){return"'"+u+"'"}).join(", "),o="unrecognised field '"+i.str+"', possible fields: "+a;throw new n.QueryParseError(o,i.start,i.end)}r.currentClause.fields=[i.str];var s=r.peekLexeme();if(s==null){var o="expecting term, found nothing";throw new n.QueryParseError(o,i.start,i.end)}switch(s.type){case n.QueryLexer.TERM:return n.QueryParser.parseTerm;default:var o="expecting term, found '"+s.type+"'";throw new n.QueryParseError(o,s.start,s.end)}}},n.QueryParser.parseTerm=function(r){var i=r.consumeLexeme();if(i!=null){r.currentClause.term=i.str.toLowerCase(),i.str.indexOf("*")!=-1&&(r.currentClause.usePipeline=!1);var a=r.peekLexeme();if(a==null){r.nextClause();return}switch(a.type){case n.QueryLexer.TERM:return r.nextClause(),n.QueryParser.parseTerm;case n.QueryLexer.FIELD:return r.nextClause(),n.QueryParser.parseField;case n.QueryLexer.EDIT_DISTANCE:return n.QueryParser.parseEditDistance;case n.QueryLexer.BOOST:return n.QueryParser.parseBoost;case n.QueryLexer.PRESENCE:return r.nextClause(),n.QueryParser.parsePresence;default:var o="Unexpected lexeme type '"+a.type+"'";throw new n.QueryParseError(o,a.start,a.end)}}},n.QueryParser.parseEditDistance=function(r){var i=r.consumeLexeme();if(i!=null){var a=parseInt(i.str,10);if(isNaN(a)){var o="edit distance must be numeric";throw new n.QueryParseError(o,i.start,i.end)}r.currentClause.editDistance=a;var s=r.peekLexeme();if(s==null){r.nextClause();return}switch(s.type){case n.QueryLexer.TERM:return r.nextClause(),n.QueryParser.parseTerm;case n.QueryLexer.FIELD:return r.nextClause(),n.QueryParser.parseField;case n.QueryLexer.EDIT_DISTANCE:return n.QueryParser.parseEditDistance;case n.QueryLexer.BOOST:return n.QueryParser.parseBoost;case n.QueryLexer.PRESENCE:return r.nextClause(),n.QueryParser.parsePresence;default:var o="Unexpected lexeme type '"+s.type+"'";throw new n.QueryParseError(o,s.start,s.end)}}},n.QueryParser.parseBoost=function(r){var i=r.consumeLexeme();if(i!=null){var a=parseInt(i.str,10);if(isNaN(a)){var o="boost must be numeric";throw new n.QueryParseError(o,i.start,i.end)}r.currentClause.boost=a;var s=r.peekLexeme();if(s==null){r.nextClause();return}switch(s.type){case n.QueryLexer.TERM:return r.nextClause(),n.QueryParser.parseTerm;case n.QueryLexer.FIELD:return r.nextClause(),n.QueryParser.parseField;case n.QueryLexer.EDIT_DISTANCE:return n.QueryParser.parseEditDistance;case n.QueryLexer.BOOST:return n.QueryParser.parseBoost;case n.QueryLexer.PRESENCE:return r.nextClause(),n.QueryParser.parsePresence;default:var o="Unexpected lexeme type '"+s.type+"'";throw new n.QueryParseError(o,s.start,s.end)}}},function(r,i){e.exports=i()}(this,function(){return n})})()}(ZE)),ZE.exports}var G$e=q$e();const Pa=jn(G$e);var Hy={exports:{}};/*! + * Lunr languages, `German` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Mihai Valentin + * http://www.mozilla.org/MPL/ + */var W$e=Hy.exports,SF;function V$e(){return SF||(SF=1,function(e,t){(function(n,r){e.exports=r()})(W$e,function(){return function(n){if(typeof n>"u")throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(typeof n.stemmerSupport>"u")throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");n.de=function(){this.pipeline.reset(),this.pipeline.add(n.de.trimmer,n.de.stopWordFilter,n.de.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(n.de.stemmer))},n.de.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",n.de.trimmer=n.trimmerSupport.generateTrimmer(n.de.wordCharacters),n.Pipeline.registerFunction(n.de.trimmer,"trimmer-de"),n.de.stemmer=function(){var r=n.stemmerSupport.Among,i=n.stemmerSupport.SnowballProgram,a=new function(){var s=[new r("",-1,6),new r("U",0,2),new r("Y",0,1),new r("ä",0,3),new r("ö",0,4),new r("ü",0,5)],u=[new r("e",-1,2),new r("em",-1,1),new r("en",-1,2),new r("ern",-1,1),new r("er",-1,1),new r("s",-1,3),new r("es",5,2)],l=[new r("en",-1,1),new r("er",-1,1),new r("st",-1,2),new r("est",2,1)],c=[new r("ig",-1,1),new r("lich",-1,1)],f=[new r("end",-1,1),new r("ig",-1,2),new r("ung",-1,1),new r("lich",-1,3),new r("isch",-1,2),new r("ik",-1,2),new r("heit",-1,3),new r("keit",-1,4)],d=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,8,0,32,8],p=[117,30,5],y=[117,30,4],g,w,_,b=new i;this.setCurrent=function(P){b.setCurrent(P)},this.getCurrent=function(){return b.getCurrent()};function E(P,B,V){return b.eq_s(1,P)&&(b.ket=b.cursor,b.in_grouping(d,97,252))?(b.slice_from(B),b.cursor=V,!0):!1}function S(){for(var P=b.cursor,B,V,$,F;;)if(B=b.cursor,b.bra=B,b.eq_s(1,"ß"))b.ket=b.cursor,b.slice_from("ss");else{if(B>=b.limit)break;b.cursor=B+1}for(b.cursor=P;;)for(V=b.cursor;$=b.cursor,!(b.in_grouping(d,97,252)&&(F=b.cursor,b.bra=F,E("u","U",$)||(b.cursor=F,E("y","Y",$))));){if($>=b.limit){b.cursor=V;return}b.cursor=$+1}}function v(){for(;!b.in_grouping(d,97,252);){if(b.cursor>=b.limit)return!0;b.cursor++}for(;!b.out_grouping(d,97,252);){if(b.cursor>=b.limit)return!0;b.cursor++}return!1}function C(){_=b.limit,w=_;var P=b.cursor+3;0<=P&&P<=b.limit&&(g=P,v()||(_=b.cursor,_=b.limit)return;b.cursor++;break}}}function M(){return _<=b.cursor}function R(){return w<=b.cursor}function N(){var P,B=b.limit-b.cursor,V,$,F;if(b.ket=b.cursor,P=b.find_among_b(u,7),P&&(b.bra=b.cursor,M()))switch(P){case 1:b.slice_del();break;case 2:b.slice_del(),b.ket=b.cursor,b.eq_s_b(1,"s")&&(b.bra=b.cursor,b.eq_s_b(3,"nis")&&b.slice_del());break;case 3:b.in_grouping_b(p,98,116)&&b.slice_del();break}if(b.cursor=b.limit-B,b.ket=b.cursor,P=b.find_among_b(l,4),P&&(b.bra=b.cursor,M()))switch(P){case 1:b.slice_del();break;case 2:if(b.in_grouping_b(y,98,116)){var z=b.cursor-3;b.limit_backward<=z&&z<=b.limit&&(b.cursor=z,b.slice_del())}break}if(b.cursor=b.limit-B,b.ket=b.cursor,P=b.find_among_b(f,8),P&&(b.bra=b.cursor,R()))switch(P){case 1:b.slice_del(),b.ket=b.cursor,b.eq_s_b(2,"ig")&&(b.bra=b.cursor,V=b.limit-b.cursor,b.eq_s_b(1,"e")||(b.cursor=b.limit-V,R()&&b.slice_del()));break;case 2:$=b.limit-b.cursor,b.eq_s_b(1,"e")||(b.cursor=b.limit-$,b.slice_del());break;case 3:if(b.slice_del(),b.ket=b.cursor,F=b.limit-b.cursor,!b.eq_s_b(2,"er")&&(b.cursor=b.limit-F,!b.eq_s_b(2,"en")))break;b.bra=b.cursor,M()&&b.slice_del();break;case 4:b.slice_del(),b.ket=b.cursor,P=b.find_among_b(c,2),P&&(b.bra=b.cursor,R()&&P==1&&b.slice_del());break}}this.stem=function(){var P=b.cursor;return S(),b.cursor=P,C(),b.limit_backward=P,b.cursor=b.limit,N(),b.cursor=b.limit_backward,k(),!0}};return function(o){return typeof o.update=="function"?o.update(function(s){return a.setCurrent(s),a.stem(),a.getCurrent()}):(a.setCurrent(o),a.stem(),a.getCurrent())}}(),n.Pipeline.registerFunction(n.de.stemmer,"stemmer-de"),n.de.stopWordFilter=n.generateStopWordFilter("aber alle allem allen aller alles als also am an ander andere anderem anderen anderer anderes anderm andern anderr anders auch auf aus bei bin bis bist da damit dann das dasselbe dazu daß dein deine deinem deinen deiner deines dem demselben den denn denselben der derer derselbe derselben des desselben dessen dich die dies diese dieselbe dieselben diesem diesen dieser dieses dir doch dort du durch ein eine einem einen einer eines einig einige einigem einigen einiger einiges einmal er es etwas euch euer eure eurem euren eurer eures für gegen gewesen hab habe haben hat hatte hatten hier hin hinter ich ihm ihn ihnen ihr ihre ihrem ihren ihrer ihres im in indem ins ist jede jedem jeden jeder jedes jene jenem jenen jener jenes jetzt kann kein keine keinem keinen keiner keines können könnte machen man manche manchem manchen mancher manches mein meine meinem meinen meiner meines mich mir mit muss musste nach nicht nichts noch nun nur ob oder ohne sehr sein seine seinem seinen seiner seines selbst sich sie sind so solche solchem solchen solcher solches soll sollte sondern sonst um und uns unse unsem unsen unser unses unter viel vom von vor war waren warst was weg weil weiter welche welchem welchen welcher welches wenn werde werden wie wieder will wir wird wirst wo wollen wollte während würde würden zu zum zur zwar zwischen über".split(" ")),n.Pipeline.registerFunction(n.de.stopWordFilter,"stopWordFilter-de")}})}(Hy)),Hy.exports}var Y$e=V$e();const Q$e=jn(Y$e);var qy={exports:{}};/*! + * Lunr languages, `French` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Mihai Valentin + * http://www.mozilla.org/MPL/ + */var K$e=qy.exports,CF;function X$e(){return CF||(CF=1,function(e,t){(function(n,r){e.exports=r()})(K$e,function(){return function(n){if(typeof n>"u")throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(typeof n.stemmerSupport>"u")throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");n.fr=function(){this.pipeline.reset(),this.pipeline.add(n.fr.trimmer,n.fr.stopWordFilter,n.fr.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(n.fr.stemmer))},n.fr.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",n.fr.trimmer=n.trimmerSupport.generateTrimmer(n.fr.wordCharacters),n.Pipeline.registerFunction(n.fr.trimmer,"trimmer-fr"),n.fr.stemmer=function(){var r=n.stemmerSupport.Among,i=n.stemmerSupport.SnowballProgram,a=new function(){var s=[new r("col",-1,-1),new r("par",-1,-1),new r("tap",-1,-1)],u=[new r("",-1,4),new r("I",0,1),new r("U",0,2),new r("Y",0,3)],l=[new r("iqU",-1,3),new r("abl",-1,3),new r("Ièr",-1,4),new r("ièr",-1,4),new r("eus",-1,2),new r("iv",-1,1)],c=[new r("ic",-1,2),new r("abil",-1,1),new r("iv",-1,3)],f=[new r("iqUe",-1,1),new r("atrice",-1,2),new r("ance",-1,1),new r("ence",-1,5),new r("logie",-1,3),new r("able",-1,1),new r("isme",-1,1),new r("euse",-1,11),new r("iste",-1,1),new r("ive",-1,8),new r("if",-1,8),new r("usion",-1,4),new r("ation",-1,2),new r("ution",-1,4),new r("ateur",-1,2),new r("iqUes",-1,1),new r("atrices",-1,2),new r("ances",-1,1),new r("ences",-1,5),new r("logies",-1,3),new r("ables",-1,1),new r("ismes",-1,1),new r("euses",-1,11),new r("istes",-1,1),new r("ives",-1,8),new r("ifs",-1,8),new r("usions",-1,4),new r("ations",-1,2),new r("utions",-1,4),new r("ateurs",-1,2),new r("ments",-1,15),new r("ements",30,6),new r("issements",31,12),new r("ités",-1,7),new r("ment",-1,15),new r("ement",34,6),new r("issement",35,12),new r("amment",34,13),new r("emment",34,14),new r("aux",-1,10),new r("eaux",39,9),new r("eux",-1,1),new r("ité",-1,7)],d=[new r("ira",-1,1),new r("ie",-1,1),new r("isse",-1,1),new r("issante",-1,1),new r("i",-1,1),new r("irai",4,1),new r("ir",-1,1),new r("iras",-1,1),new r("ies",-1,1),new r("îmes",-1,1),new r("isses",-1,1),new r("issantes",-1,1),new r("îtes",-1,1),new r("is",-1,1),new r("irais",13,1),new r("issais",13,1),new r("irions",-1,1),new r("issions",-1,1),new r("irons",-1,1),new r("issons",-1,1),new r("issants",-1,1),new r("it",-1,1),new r("irait",21,1),new r("issait",21,1),new r("issant",-1,1),new r("iraIent",-1,1),new r("issaIent",-1,1),new r("irent",-1,1),new r("issent",-1,1),new r("iront",-1,1),new r("ît",-1,1),new r("iriez",-1,1),new r("issiez",-1,1),new r("irez",-1,1),new r("issez",-1,1)],p=[new r("a",-1,3),new r("era",0,2),new r("asse",-1,3),new r("ante",-1,3),new r("ée",-1,2),new r("ai",-1,3),new r("erai",5,2),new r("er",-1,2),new r("as",-1,3),new r("eras",8,2),new r("âmes",-1,3),new r("asses",-1,3),new r("antes",-1,3),new r("âtes",-1,3),new r("ées",-1,2),new r("ais",-1,3),new r("erais",15,2),new r("ions",-1,1),new r("erions",17,2),new r("assions",17,3),new r("erons",-1,2),new r("ants",-1,3),new r("és",-1,2),new r("ait",-1,3),new r("erait",23,2),new r("ant",-1,3),new r("aIent",-1,3),new r("eraIent",26,2),new r("èrent",-1,2),new r("assent",-1,3),new r("eront",-1,2),new r("ât",-1,3),new r("ez",-1,2),new r("iez",32,2),new r("eriez",33,2),new r("assiez",33,3),new r("erez",32,2),new r("é",-1,2)],y=[new r("e",-1,3),new r("Ière",0,2),new r("ière",0,2),new r("ion",-1,1),new r("Ier",-1,2),new r("ier",-1,2),new r("ë",-1,4)],g=[new r("ell",-1,-1),new r("eill",-1,-1),new r("enn",-1,-1),new r("onn",-1,-1),new r("ett",-1,-1)],w=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,128,130,103,8,5],_=[1,65,20,0,0,0,0,0,0,0,0,0,0,0,0,0,128],b,E,S,v=new i;this.setCurrent=function(G){v.setCurrent(G)},this.getCurrent=function(){return v.getCurrent()};function C(G,H,ne){return v.eq_s(1,G)&&(v.ket=v.cursor,v.in_grouping(w,97,251))?(v.slice_from(H),v.cursor=ne,!0):!1}function k(G,H,ne){return v.eq_s(1,G)?(v.ket=v.cursor,v.slice_from(H),v.cursor=ne,!0):!1}function M(){for(var G,H;;)if(G=v.cursor,!(v.in_grouping(w,97,251)&&(v.bra=v.cursor,H=v.cursor,C("u","U",G)||(v.cursor=H,C("i","I",G))||(v.cursor=H,k("y","Y",G))))&&(v.cursor=G,v.bra=G,!C("y","Y",G))){if(v.cursor=G,v.eq_s(1,"q")&&(v.bra=v.cursor,k("u","U",G)))continue;if(v.cursor=G,G>=v.limit)return;v.cursor++}}function R(){for(;!v.in_grouping(w,97,251);){if(v.cursor>=v.limit)return!0;v.cursor++}for(;!v.out_grouping(w,97,251);){if(v.cursor>=v.limit)return!0;v.cursor++}return!1}function N(){var G=v.cursor;if(S=v.limit,E=S,b=S,v.in_grouping(w,97,251)&&v.in_grouping(w,97,251)&&v.cursor=v.limit){v.cursor=S;break}v.cursor++}while(!v.in_grouping(w,97,251))}S=v.cursor,v.cursor=G,R()||(E=v.cursor,R()||(b=v.cursor))}function P(){for(var G,H;H=v.cursor,v.bra=H,G=v.find_among(u,4),!!G;)switch(v.ket=v.cursor,G){case 1:v.slice_from("i");break;case 2:v.slice_from("u");break;case 3:v.slice_from("y");break;case 4:if(v.cursor>=v.limit)return;v.cursor++;break}}function B(){return S<=v.cursor}function V(){return E<=v.cursor}function $(){return b<=v.cursor}function F(){var G,H;if(v.ket=v.cursor,G=v.find_among_b(f,43),G){switch(v.bra=v.cursor,G){case 1:if(!$())return!1;v.slice_del();break;case 2:if(!$())return!1;v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"ic")&&(v.bra=v.cursor,$()?v.slice_del():v.slice_from("iqU"));break;case 3:if(!$())return!1;v.slice_from("log");break;case 4:if(!$())return!1;v.slice_from("u");break;case 5:if(!$())return!1;v.slice_from("ent");break;case 6:if(!B())return!1;if(v.slice_del(),v.ket=v.cursor,G=v.find_among_b(l,6),G)switch(v.bra=v.cursor,G){case 1:$()&&(v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"at")&&(v.bra=v.cursor,$()&&v.slice_del()));break;case 2:$()?v.slice_del():V()&&v.slice_from("eux");break;case 3:$()&&v.slice_del();break;case 4:B()&&v.slice_from("i");break}break;case 7:if(!$())return!1;if(v.slice_del(),v.ket=v.cursor,G=v.find_among_b(c,3),G)switch(v.bra=v.cursor,G){case 1:$()?v.slice_del():v.slice_from("abl");break;case 2:$()?v.slice_del():v.slice_from("iqU");break;case 3:$()&&v.slice_del();break}break;case 8:if(!$())return!1;if(v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"at")&&(v.bra=v.cursor,$()&&(v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"ic")))){v.bra=v.cursor,$()?v.slice_del():v.slice_from("iqU");break}break;case 9:v.slice_from("eau");break;case 10:if(!V())return!1;v.slice_from("al");break;case 11:if($())v.slice_del();else if(V())v.slice_from("eux");else return!1;break;case 12:if(!V()||!v.out_grouping_b(w,97,251))return!1;v.slice_del();break;case 13:return B()&&v.slice_from("ant"),!1;case 14:return B()&&v.slice_from("ent"),!1;case 15:return H=v.limit-v.cursor,v.in_grouping_b(w,97,251)&&B()&&(v.cursor=v.limit-H,v.slice_del()),!1}return!0}return!1}function z(){var G,H;if(v.cursor=S){if(ce=v.limit_backward,v.limit_backward=S,v.ket=v.cursor,G=v.find_among_b(y,7),G)switch(v.bra=v.cursor,G){case 1:if($()){if(he=v.limit-v.cursor,!v.eq_s_b(1,"s")&&(v.cursor=v.limit-he,!v.eq_s_b(1,"t")))break;v.slice_del()}break;case 2:v.slice_from("i");break;case 3:v.slice_del();break;case 4:v.eq_s_b(2,"gu")&&v.slice_del();break}v.limit_backward=ce}}function j(){var G=v.limit-v.cursor;v.find_among_b(g,5)&&(v.cursor=v.limit-G,v.ket=v.cursor,v.cursor>v.limit_backward&&(v.cursor--,v.bra=v.cursor,v.slice_del()))}function L(){for(var G,H=1;v.out_grouping_b(w,97,251);)H--;if(H<=0){if(v.ket=v.cursor,G=v.limit-v.cursor,!v.eq_s_b(1,"é")&&(v.cursor=v.limit-G,!v.eq_s_b(1,"è")))return;v.bra=v.cursor,v.slice_from("e")}}function W(){if(!F()&&(v.cursor=v.limit,!z()&&(v.cursor=v.limit,!Q()))){v.cursor=v.limit,K();return}v.cursor=v.limit,v.ket=v.cursor,v.eq_s_b(1,"Y")?(v.bra=v.cursor,v.slice_from("i")):(v.cursor=v.limit,v.eq_s_b(1,"ç")&&(v.bra=v.cursor,v.slice_from("c")))}this.stem=function(){var G=v.cursor;return M(),v.cursor=G,N(),v.limit_backward=G,v.cursor=v.limit,W(),v.cursor=v.limit,j(),v.cursor=v.limit,L(),v.cursor=v.limit_backward,P(),!0}};return function(o){return typeof o.update=="function"?o.update(function(s){return a.setCurrent(s),a.stem(),a.getCurrent()}):(a.setCurrent(o),a.stem(),a.getCurrent())}}(),n.Pipeline.registerFunction(n.fr.stemmer,"stemmer-fr"),n.fr.stopWordFilter=n.generateStopWordFilter("ai aie aient aies ait as au aura aurai auraient aurais aurait auras aurez auriez aurions aurons auront aux avaient avais avait avec avez aviez avions avons ayant ayez ayons c ce ceci celà ces cet cette d dans de des du elle en es est et eu eue eues eurent eus eusse eussent eusses eussiez eussions eut eux eûmes eût eûtes furent fus fusse fussent fusses fussiez fussions fut fûmes fût fûtes ici il ils j je l la le les leur leurs lui m ma mais me mes moi mon même n ne nos notre nous on ont ou par pas pour qu que quel quelle quelles quels qui s sa sans se sera serai seraient serais serait seras serez seriez serions serons seront ses soi soient sois soit sommes son sont soyez soyons suis sur t ta te tes toi ton tu un une vos votre vous y à étaient étais était étant étiez étions été étée étées étés êtes".split(" ")),n.Pipeline.registerFunction(n.fr.stopWordFilter,"stopWordFilter-fr")}})}(qy)),qy.exports}var Z$e=X$e();const J$e=jn(Z$e);var Gy={exports:{}};/*! + * Lunr languages, `Italian` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Mihai Valentin + * http://www.mozilla.org/MPL/ + */var eFe=Gy.exports,AF;function tFe(){return AF||(AF=1,function(e,t){(function(n,r){e.exports=r()})(eFe,function(){return function(n){if(typeof n>"u")throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(typeof n.stemmerSupport>"u")throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");n.it=function(){this.pipeline.reset(),this.pipeline.add(n.it.trimmer,n.it.stopWordFilter,n.it.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(n.it.stemmer))},n.it.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",n.it.trimmer=n.trimmerSupport.generateTrimmer(n.it.wordCharacters),n.Pipeline.registerFunction(n.it.trimmer,"trimmer-it"),n.it.stemmer=function(){var r=n.stemmerSupport.Among,i=n.stemmerSupport.SnowballProgram,a=new function(){var s=[new r("",-1,7),new r("qu",0,6),new r("á",0,1),new r("é",0,2),new r("í",0,3),new r("ó",0,4),new r("ú",0,5)],u=[new r("",-1,3),new r("I",0,1),new r("U",0,2)],l=[new r("la",-1,-1),new r("cela",0,-1),new r("gliela",0,-1),new r("mela",0,-1),new r("tela",0,-1),new r("vela",0,-1),new r("le",-1,-1),new r("cele",6,-1),new r("gliele",6,-1),new r("mele",6,-1),new r("tele",6,-1),new r("vele",6,-1),new r("ne",-1,-1),new r("cene",12,-1),new r("gliene",12,-1),new r("mene",12,-1),new r("sene",12,-1),new r("tene",12,-1),new r("vene",12,-1),new r("ci",-1,-1),new r("li",-1,-1),new r("celi",20,-1),new r("glieli",20,-1),new r("meli",20,-1),new r("teli",20,-1),new r("veli",20,-1),new r("gli",20,-1),new r("mi",-1,-1),new r("si",-1,-1),new r("ti",-1,-1),new r("vi",-1,-1),new r("lo",-1,-1),new r("celo",31,-1),new r("glielo",31,-1),new r("melo",31,-1),new r("telo",31,-1),new r("velo",31,-1)],c=[new r("ando",-1,1),new r("endo",-1,1),new r("ar",-1,2),new r("er",-1,2),new r("ir",-1,2)],f=[new r("ic",-1,-1),new r("abil",-1,-1),new r("os",-1,-1),new r("iv",-1,1)],d=[new r("ic",-1,1),new r("abil",-1,1),new r("iv",-1,1)],p=[new r("ica",-1,1),new r("logia",-1,3),new r("osa",-1,1),new r("ista",-1,1),new r("iva",-1,9),new r("anza",-1,1),new r("enza",-1,5),new r("ice",-1,1),new r("atrice",7,1),new r("iche",-1,1),new r("logie",-1,3),new r("abile",-1,1),new r("ibile",-1,1),new r("usione",-1,4),new r("azione",-1,2),new r("uzione",-1,4),new r("atore",-1,2),new r("ose",-1,1),new r("ante",-1,1),new r("mente",-1,1),new r("amente",19,7),new r("iste",-1,1),new r("ive",-1,9),new r("anze",-1,1),new r("enze",-1,5),new r("ici",-1,1),new r("atrici",25,1),new r("ichi",-1,1),new r("abili",-1,1),new r("ibili",-1,1),new r("ismi",-1,1),new r("usioni",-1,4),new r("azioni",-1,2),new r("uzioni",-1,4),new r("atori",-1,2),new r("osi",-1,1),new r("anti",-1,1),new r("amenti",-1,6),new r("imenti",-1,6),new r("isti",-1,1),new r("ivi",-1,9),new r("ico",-1,1),new r("ismo",-1,1),new r("oso",-1,1),new r("amento",-1,6),new r("imento",-1,6),new r("ivo",-1,9),new r("ità",-1,8),new r("istà",-1,1),new r("istè",-1,1),new r("istì",-1,1)],y=[new r("isca",-1,1),new r("enda",-1,1),new r("ata",-1,1),new r("ita",-1,1),new r("uta",-1,1),new r("ava",-1,1),new r("eva",-1,1),new r("iva",-1,1),new r("erebbe",-1,1),new r("irebbe",-1,1),new r("isce",-1,1),new r("ende",-1,1),new r("are",-1,1),new r("ere",-1,1),new r("ire",-1,1),new r("asse",-1,1),new r("ate",-1,1),new r("avate",16,1),new r("evate",16,1),new r("ivate",16,1),new r("ete",-1,1),new r("erete",20,1),new r("irete",20,1),new r("ite",-1,1),new r("ereste",-1,1),new r("ireste",-1,1),new r("ute",-1,1),new r("erai",-1,1),new r("irai",-1,1),new r("isci",-1,1),new r("endi",-1,1),new r("erei",-1,1),new r("irei",-1,1),new r("assi",-1,1),new r("ati",-1,1),new r("iti",-1,1),new r("eresti",-1,1),new r("iresti",-1,1),new r("uti",-1,1),new r("avi",-1,1),new r("evi",-1,1),new r("ivi",-1,1),new r("isco",-1,1),new r("ando",-1,1),new r("endo",-1,1),new r("Yamo",-1,1),new r("iamo",-1,1),new r("avamo",-1,1),new r("evamo",-1,1),new r("ivamo",-1,1),new r("eremo",-1,1),new r("iremo",-1,1),new r("assimo",-1,1),new r("ammo",-1,1),new r("emmo",-1,1),new r("eremmo",54,1),new r("iremmo",54,1),new r("immo",-1,1),new r("ano",-1,1),new r("iscano",58,1),new r("avano",58,1),new r("evano",58,1),new r("ivano",58,1),new r("eranno",-1,1),new r("iranno",-1,1),new r("ono",-1,1),new r("iscono",65,1),new r("arono",65,1),new r("erono",65,1),new r("irono",65,1),new r("erebbero",-1,1),new r("irebbero",-1,1),new r("assero",-1,1),new r("essero",-1,1),new r("issero",-1,1),new r("ato",-1,1),new r("ito",-1,1),new r("uto",-1,1),new r("avo",-1,1),new r("evo",-1,1),new r("ivo",-1,1),new r("ar",-1,1),new r("ir",-1,1),new r("erà",-1,1),new r("irà",-1,1),new r("erò",-1,1),new r("irò",-1,1)],g=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,128,128,8,2,1],w=[17,65,0,0,0,0,0,0,0,0,0,0,0,0,0,128,128,8,2],_=[17],b,E,S,v=new i;this.setCurrent=function(G){v.setCurrent(G)},this.getCurrent=function(){return v.getCurrent()};function C(G,H,ne){return v.eq_s(1,G)&&(v.ket=v.cursor,v.in_grouping(g,97,249))?(v.slice_from(H),v.cursor=ne,!0):!1}function k(){for(var G,H=v.cursor,ne,ce,he;;){if(v.bra=v.cursor,G=v.find_among(s,7),G)switch(v.ket=v.cursor,G){case 1:v.slice_from("à");continue;case 2:v.slice_from("è");continue;case 3:v.slice_from("ì");continue;case 4:v.slice_from("ò");continue;case 5:v.slice_from("ù");continue;case 6:v.slice_from("qU");continue;case 7:if(v.cursor>=v.limit)break;v.cursor++;continue}break}for(v.cursor=H;;)for(ne=v.cursor;ce=v.cursor,!(v.in_grouping(g,97,249)&&(v.bra=v.cursor,he=v.cursor,C("u","U",ce)||(v.cursor=he,C("i","I",ce))));){if(v.cursor=ce,v.cursor>=v.limit){v.cursor=ne;return}v.cursor++}}function M(G){if(v.cursor=G,!v.in_grouping(g,97,249))return!1;for(;!v.out_grouping(g,97,249);){if(v.cursor>=v.limit)return!1;v.cursor++}return!0}function R(){if(v.in_grouping(g,97,249)){var G=v.cursor;if(v.out_grouping(g,97,249)){for(;!v.in_grouping(g,97,249);){if(v.cursor>=v.limit)return M(G);v.cursor++}return!0}return M(G)}return!1}function N(){var G=v.cursor,H;if(!R()){if(v.cursor=G,!v.out_grouping(g,97,249))return;if(H=v.cursor,v.out_grouping(g,97,249)){for(;!v.in_grouping(g,97,249);){if(v.cursor>=v.limit){v.cursor=H,v.in_grouping(g,97,249)&&v.cursor=v.limit)return;v.cursor++}S=v.cursor}function P(){for(;!v.in_grouping(g,97,249);){if(v.cursor>=v.limit)return!1;v.cursor++}for(;!v.out_grouping(g,97,249);){if(v.cursor>=v.limit)return!1;v.cursor++}return!0}function B(){var G=v.cursor;S=v.limit,E=S,b=S,N(),v.cursor=G,P()&&(E=v.cursor,P()&&(b=v.cursor))}function V(){for(var G;v.bra=v.cursor,G=v.find_among(u,3),!!G;)switch(v.ket=v.cursor,G){case 1:v.slice_from("i");break;case 2:v.slice_from("u");break;case 3:if(v.cursor>=v.limit)return;v.cursor++;break}}function $(){return S<=v.cursor}function F(){return E<=v.cursor}function z(){return b<=v.cursor}function Q(){var G;if(v.ket=v.cursor,v.find_among_b(l,37)&&(v.bra=v.cursor,G=v.find_among_b(c,5),G&&$()))switch(G){case 1:v.slice_del();break;case 2:v.slice_from("e");break}}function K(){var G;if(v.ket=v.cursor,G=v.find_among_b(p,51),!G)return!1;switch(v.bra=v.cursor,G){case 1:if(!z())return!1;v.slice_del();break;case 2:if(!z())return!1;v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"ic")&&(v.bra=v.cursor,z()&&v.slice_del());break;case 3:if(!z())return!1;v.slice_from("log");break;case 4:if(!z())return!1;v.slice_from("u");break;case 5:if(!z())return!1;v.slice_from("ente");break;case 6:if(!$())return!1;v.slice_del();break;case 7:if(!F())return!1;v.slice_del(),v.ket=v.cursor,G=v.find_among_b(f,4),G&&(v.bra=v.cursor,z()&&(v.slice_del(),G==1&&(v.ket=v.cursor,v.eq_s_b(2,"at")&&(v.bra=v.cursor,z()&&v.slice_del()))));break;case 8:if(!z())return!1;v.slice_del(),v.ket=v.cursor,G=v.find_among_b(d,3),G&&(v.bra=v.cursor,G==1&&z()&&v.slice_del());break;case 9:if(!z())return!1;v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"at")&&(v.bra=v.cursor,z()&&(v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"ic")&&(v.bra=v.cursor,z()&&v.slice_del())));break}return!0}function j(){var G,H;v.cursor>=S&&(H=v.limit_backward,v.limit_backward=S,v.ket=v.cursor,G=v.find_among_b(y,87),G&&(v.bra=v.cursor,G==1&&v.slice_del()),v.limit_backward=H)}function L(){var G=v.limit-v.cursor;if(v.ket=v.cursor,v.in_grouping_b(w,97,242)&&(v.bra=v.cursor,$()&&(v.slice_del(),v.ket=v.cursor,v.eq_s_b(1,"i")&&(v.bra=v.cursor,$())))){v.slice_del();return}v.cursor=v.limit-G}function W(){L(),v.ket=v.cursor,v.eq_s_b(1,"h")&&(v.bra=v.cursor,v.in_grouping_b(_,99,103)&&$()&&v.slice_del())}this.stem=function(){var G=v.cursor;return k(),v.cursor=G,B(),v.limit_backward=G,v.cursor=v.limit,Q(),v.cursor=v.limit,K()||(v.cursor=v.limit,j()),v.cursor=v.limit,W(),v.cursor=v.limit_backward,V(),!0}};return function(o){return typeof o.update=="function"?o.update(function(s){return a.setCurrent(s),a.stem(),a.getCurrent()}):(a.setCurrent(o),a.stem(),a.getCurrent())}}(),n.Pipeline.registerFunction(n.it.stemmer,"stemmer-it"),n.it.stopWordFilter=n.generateStopWordFilter("a abbia abbiamo abbiano abbiate ad agl agli ai al all alla alle allo anche avemmo avendo avesse avessero avessi avessimo aveste avesti avete aveva avevamo avevano avevate avevi avevo avrai avranno avrebbe avrebbero avrei avremmo avremo avreste avresti avrete avrà avrò avuta avute avuti avuto c che chi ci coi col come con contro cui da dagl dagli dai dal dall dalla dalle dallo degl degli dei del dell della delle dello di dov dove e ebbe ebbero ebbi ed era erano eravamo eravate eri ero essendo faccia facciamo facciano facciate faccio facemmo facendo facesse facessero facessi facessimo faceste facesti faceva facevamo facevano facevate facevi facevo fai fanno farai faranno farebbe farebbero farei faremmo faremo fareste faresti farete farà farò fece fecero feci fosse fossero fossi fossimo foste fosti fu fui fummo furono gli ha hai hanno ho i il in io l la le lei li lo loro lui ma mi mia mie miei mio ne negl negli nei nel nell nella nelle nello noi non nostra nostre nostri nostro o per perché più quale quanta quante quanti quanto quella quelle quelli quello questa queste questi questo sarai saranno sarebbe sarebbero sarei saremmo saremo sareste saresti sarete sarà sarò se sei si sia siamo siano siate siete sono sta stai stando stanno starai staranno starebbe starebbero starei staremmo staremo stareste staresti starete starà starò stava stavamo stavano stavate stavi stavo stemmo stesse stessero stessi stessimo steste stesti stette stettero stetti stia stiamo stiano stiate sto su sua sue sugl sugli sui sul sull sulla sulle sullo suo suoi ti tra tu tua tue tuo tuoi tutti tutto un una uno vi voi vostra vostre vostri vostro è".split(" ")),n.Pipeline.registerFunction(n.it.stopWordFilter,"stopWordFilter-it")}})}(Gy)),Gy.exports}var nFe=tFe();const rFe=jn(nFe);var Wy={exports:{}};/*! + * Lunr languages, `Russian` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Mihai Valentin + * http://www.mozilla.org/MPL/ + */var iFe=Wy.exports,kF;function aFe(){return kF||(kF=1,function(e,t){(function(n,r){e.exports=r()})(iFe,function(){return function(n){if(typeof n>"u")throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(typeof n.stemmerSupport>"u")throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");n.ru=function(){this.pipeline.reset(),this.pipeline.add(n.ru.trimmer,n.ru.stopWordFilter,n.ru.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(n.ru.stemmer))},n.ru.wordCharacters="Ѐ-҄҇-ԯᴫᵸⷠ-ⷿꙀ-ꚟ︮︯",n.ru.trimmer=n.trimmerSupport.generateTrimmer(n.ru.wordCharacters),n.Pipeline.registerFunction(n.ru.trimmer,"trimmer-ru"),n.ru.stemmer=function(){var r=n.stemmerSupport.Among,i=n.stemmerSupport.SnowballProgram,a=new function(){var s=[new r("в",-1,1),new r("ив",0,2),new r("ыв",0,2),new r("вши",-1,1),new r("ивши",3,2),new r("ывши",3,2),new r("вшись",-1,1),new r("ившись",6,2),new r("ывшись",6,2)],u=[new r("ее",-1,1),new r("ие",-1,1),new r("ое",-1,1),new r("ые",-1,1),new r("ими",-1,1),new r("ыми",-1,1),new r("ей",-1,1),new r("ий",-1,1),new r("ой",-1,1),new r("ый",-1,1),new r("ем",-1,1),new r("им",-1,1),new r("ом",-1,1),new r("ым",-1,1),new r("его",-1,1),new r("ого",-1,1),new r("ему",-1,1),new r("ому",-1,1),new r("их",-1,1),new r("ых",-1,1),new r("ею",-1,1),new r("ою",-1,1),new r("ую",-1,1),new r("юю",-1,1),new r("ая",-1,1),new r("яя",-1,1)],l=[new r("ем",-1,1),new r("нн",-1,1),new r("вш",-1,1),new r("ивш",2,2),new r("ывш",2,2),new r("щ",-1,1),new r("ющ",5,1),new r("ующ",6,2)],c=[new r("сь",-1,1),new r("ся",-1,1)],f=[new r("ла",-1,1),new r("ила",0,2),new r("ыла",0,2),new r("на",-1,1),new r("ена",3,2),new r("ете",-1,1),new r("ите",-1,2),new r("йте",-1,1),new r("ейте",7,2),new r("уйте",7,2),new r("ли",-1,1),new r("или",10,2),new r("ыли",10,2),new r("й",-1,1),new r("ей",13,2),new r("уй",13,2),new r("л",-1,1),new r("ил",16,2),new r("ыл",16,2),new r("ем",-1,1),new r("им",-1,2),new r("ым",-1,2),new r("н",-1,1),new r("ен",22,2),new r("ло",-1,1),new r("ило",24,2),new r("ыло",24,2),new r("но",-1,1),new r("ено",27,2),new r("нно",27,1),new r("ет",-1,1),new r("ует",30,2),new r("ит",-1,2),new r("ыт",-1,2),new r("ют",-1,1),new r("уют",34,2),new r("ят",-1,2),new r("ны",-1,1),new r("ены",37,2),new r("ть",-1,1),new r("ить",39,2),new r("ыть",39,2),new r("ешь",-1,1),new r("ишь",-1,2),new r("ю",-1,2),new r("ую",44,2)],d=[new r("а",-1,1),new r("ев",-1,1),new r("ов",-1,1),new r("е",-1,1),new r("ие",3,1),new r("ье",3,1),new r("и",-1,1),new r("еи",6,1),new r("ии",6,1),new r("ами",6,1),new r("ями",6,1),new r("иями",10,1),new r("й",-1,1),new r("ей",12,1),new r("ией",13,1),new r("ий",12,1),new r("ой",12,1),new r("ам",-1,1),new r("ем",-1,1),new r("ием",18,1),new r("ом",-1,1),new r("ям",-1,1),new r("иям",21,1),new r("о",-1,1),new r("у",-1,1),new r("ах",-1,1),new r("ях",-1,1),new r("иях",26,1),new r("ы",-1,1),new r("ь",-1,1),new r("ю",-1,1),new r("ию",30,1),new r("ью",30,1),new r("я",-1,1),new r("ия",33,1),new r("ья",33,1)],p=[new r("ост",-1,1),new r("ость",-1,1)],y=[new r("ейше",-1,1),new r("н",-1,2),new r("ейш",-1,1),new r("ь",-1,3)],g=[33,65,8,232],w,_,b=new i;this.setCurrent=function(Q){b.setCurrent(Q)},this.getCurrent=function(){return b.getCurrent()};function E(){for(;!b.in_grouping(g,1072,1103);){if(b.cursor>=b.limit)return!1;b.cursor++}return!0}function S(){for(;!b.out_grouping(g,1072,1103);){if(b.cursor>=b.limit)return!1;b.cursor++}return!0}function v(){_=b.limit,w=_,E()&&(_=b.cursor,S()&&E()&&S()&&(w=b.cursor))}function C(){return w<=b.cursor}function k(Q,K){var j,L;if(b.ket=b.cursor,j=b.find_among_b(Q,K),j){switch(b.bra=b.cursor,j){case 1:if(L=b.limit-b.cursor,!b.eq_s_b(1,"а")&&(b.cursor=b.limit-L,!b.eq_s_b(1,"я")))return!1;case 2:b.slice_del();break}return!0}return!1}function M(){return k(s,9)}function R(Q,K){var j;return b.ket=b.cursor,j=b.find_among_b(Q,K),j?(b.bra=b.cursor,j==1&&b.slice_del(),!0):!1}function N(){return R(u,26)}function P(){return N()?(k(l,8),!0):!1}function B(){return R(c,2)}function V(){return k(f,46)}function $(){R(d,36)}function F(){var Q;b.ket=b.cursor,Q=b.find_among_b(p,2),Q&&(b.bra=b.cursor,C()&&Q==1&&b.slice_del())}function z(){var Q;if(b.ket=b.cursor,Q=b.find_among_b(y,4),Q)switch(b.bra=b.cursor,Q){case 1:if(b.slice_del(),b.ket=b.cursor,!b.eq_s_b(1,"н"))break;b.bra=b.cursor;case 2:if(!b.eq_s_b(1,"н"))break;case 3:b.slice_del();break}}this.stem=function(){return v(),b.cursor=b.limit,b.cursor<_?!1:(b.limit_backward=_,M()||(b.cursor=b.limit,B()||(b.cursor=b.limit),P()||(b.cursor=b.limit,V()||(b.cursor=b.limit,$()))),b.cursor=b.limit,b.ket=b.cursor,b.eq_s_b(1,"и")?(b.bra=b.cursor,b.slice_del()):b.cursor=b.limit,F(),b.cursor=b.limit,z(),!0)}};return function(o){return typeof o.update=="function"?o.update(function(s){return a.setCurrent(s),a.stem(),a.getCurrent()}):(a.setCurrent(o),a.stem(),a.getCurrent())}}(),n.Pipeline.registerFunction(n.ru.stemmer,"stemmer-ru"),n.ru.stopWordFilter=n.generateStopWordFilter("алло без близко более больше будем будет будете будешь будто буду будут будь бы бывает бывь был была были было быть в важная важное важные важный вам вами вас ваш ваша ваше ваши вверх вдали вдруг ведь везде весь вниз внизу во вокруг вон восемнадцатый восемнадцать восемь восьмой вот впрочем времени время все всегда всего всем всеми всему всех всею всю всюду вся всё второй вы г где говорил говорит год года году да давно даже далеко дальше даром два двадцатый двадцать две двенадцатый двенадцать двух девятнадцатый девятнадцать девятый девять действительно дел день десятый десять для до довольно долго должно другая другие других друго другое другой е его ее ей ему если есть еще ещё ею её ж же жизнь за занят занята занято заняты затем зато зачем здесь значит и из или им именно иметь ими имя иногда их к каждая каждое каждые каждый кажется как какая какой кем когда кого ком кому конечно которая которого которой которые который которых кроме кругом кто куда лет ли лишь лучше люди м мало между меля менее меньше меня миллионов мимо мира мне много многочисленная многочисленное многочисленные многочисленный мной мною мог могут мож может можно можхо мои мой мор мочь моя моё мы на наверху над надо назад наиболее наконец нам нами нас начала наш наша наше наши не него недавно недалеко нее ней нельзя нем немного нему непрерывно нередко несколько нет нею неё ни нибудь ниже низко никогда никуда ними них ничего но ну нужно нх о об оба обычно один одиннадцатый одиннадцать однажды однако одного одной около он она они оно опять особенно от отовсюду отсюда очень первый перед по под пожалуйста позже пока пор пора после посреди потом потому почему почти прекрасно при про просто против процентов пятнадцатый пятнадцать пятый пять раз разве рано раньше рядом с сам сама сами самим самими самих само самого самой самом самому саму свое своего своей свои своих свою сеаой себе себя сегодня седьмой сейчас семнадцатый семнадцать семь сих сказал сказала сказать сколько слишком сначала снова со собой собою совсем спасибо стал суть т та так такая также такие такое такой там твой твоя твоё те тебе тебя тем теми теперь тех то тобой тобою тогда того тоже только том тому тот тою третий три тринадцатый тринадцать ту туда тут ты тысяч у уж уже уметь хорошо хотеть хоть хотя хочешь часто чаще чего человек чем чему через четвертый четыре четырнадцатый четырнадцать что чтоб чтобы чуть шестнадцатый шестнадцать шестой шесть эта эти этим этими этих это этого этой этом этому этот эту я \uFEFFа".split(" ")),n.Pipeline.registerFunction(n.ru.stopWordFilter,"stopWordFilter-ru")}})}(Wy)),Wy.exports}var oFe=aFe();const sFe=jn(oFe);var Vy={exports:{}};/*! + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */var uFe=Vy.exports,TF;function lFe(){return TF||(TF=1,function(e,t){(function(n,r){e.exports=r()})(uFe,function(){return function(n){n.stemmerSupport={Among:function(r,i,a,o){if(this.toCharArray=function(s){for(var u=s.length,l=new Array(u),c=0;c=a&&(s-=a,i[s>>3]&1<<(s&7)))return this.cursor++,!0}return!1},in_grouping_b:function(i,a,o){if(this.cursor>this.limit_backward){var s=r.charCodeAt(this.cursor-1);if(s<=o&&s>=a&&(s-=a,i[s>>3]&1<<(s&7)))return this.cursor--,!0}return!1},out_grouping:function(i,a,o){if(this.cursoro||s>3]&1<<(s&7)))return this.cursor++,!0}return!1},out_grouping_b:function(i,a,o){if(this.cursor>this.limit_backward){var s=r.charCodeAt(this.cursor-1);if(s>o||s>3]&1<<(s&7)))return this.cursor--,!0}return!1},eq_s:function(i,a){if(this.limit-this.cursor>1),y=0,g=c0||s==o||d)break;d=!0}}for(;;){var w=i[o];if(c>=w.s_size){if(this.cursor=u+w.s_size,!w.method)return w.result;var b=w.method();if(this.cursor=u+w.s_size,b)return w.result}if(o=w.substring_i,o<0)return 0}},find_among_b:function(i,a){for(var o=0,s=a,u=this.cursor,l=this.limit_backward,c=0,f=0,d=!1;;){for(var p=o+(s-o>>1),y=0,g=c=0;_--){if(u-g==l){y=-1;break}if(y=r.charCodeAt(u-1-g)-w.s[_],y)break;g++}if(y<0?(s=p,f=g):(o=p,c=g),s-o<=1){if(o>0||s==o||d)break;d=!0}}for(;;){var w=i[o];if(c>=w.s_size){if(this.cursor=u-w.s_size,!w.method)return w.result;var b=w.method();if(this.cursor=u-w.s_size,b)return w.result}if(o=w.substring_i,o<0)return 0}},replace_s:function(i,a,o){var s=o.length-(a-i),u=r.substring(0,i),l=r.substring(a);return r=u+o+l,this.limit+=s,this.cursor>=a?this.cursor+=s:this.cursor>i&&(this.cursor=i),s},slice_check:function(){if(this.bra<0||this.bra>this.ket||this.ket>this.limit||this.limit>r.length)throw"faulty slice operation"},slice_from:function(i){this.slice_check(),this.replace_s(this.bra,this.ket,i)},slice_del:function(){this.slice_from("")},insert:function(i,a,o){var s=this.replace_s(i,a,o);i<=this.bra&&(this.bra+=s),i<=this.ket&&(this.ket+=s)},slice_to:function(){return this.slice_check(),r.substring(this.bra,this.ket)},eq_v_b:function(i){return this.eq_s_b(i.length,i)}}}},n.trimmerSupport={generateTrimmer:function(r){var i=new RegExp("^[^"+r+"]+"),a=new RegExp("[^"+r+"]+$");return function(o){return typeof o.update=="function"?o.update(function(s){return s.replace(i,"").replace(a,"")}):o.replace(i,"").replace(a,"")}}}}})}(Vy)),Vy.exports}var cFe=lFe();const fFe=jn(cFe);fFe(Pa);Q$e(Pa);J$e(Pa);rFe(Pa);sFe(Pa);const dFe=8;function MF(e){return e.toLocaleLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/\u0142/g,"l")}function hFe(e,t){return e.score!==t.score?t.score-e.score:H$e(e.ref,t.ref)}function pFe(e,t,n){return(e.fams||[]).map(r=>n.get(r)).map(r=>r&&r.husb).map(r=>r&&t.get(r)).map(r=>r&&r.lastName).join(" ")}class mFe{constructor(t){this.indiMap=nP(t),this.famMap=XU(t)}initialize(){const t=this;this.index=Pa(function(){t.initMultiLingualLunrWithoutTrimmer(this,["de","en","fr","it","ru"]),this.ref("id"),this.field("id"),this.field("name",{boost:10}),this.field("normalizedName",{boost:8}),this.field("spouseLastName",{boost:2}),this.field("normalizedSpouseLastName",{boost:2}),t.indiMap.forEach(n=>{const r=[n.firstName,n.lastName].join(" "),i=pFe(n,t.indiMap,t.famMap);this.add({id:n.id,name:r,normalizedName:MF(r),spouseLastName:i,normalizedSpouseLastName:MF(i)})})})}initMultiLingualLunrWithoutTrimmer(t,n){let r="";const i=[],a=[];n.forEach(o=>{const s=Pa[o];o==="en"?(r+="\\w",i.unshift(Pa.stopWordFilter),i.push(Pa.stemmer),a.push(Pa.stemmer)):(r+=s.wordCharacters,s.stopWordFilter&&i.unshift(s.stopWordFilter),s.stemmer&&(i.push(s.stemmer),a.push(s.stemmer)))}),t.pipeline.reset(),t.pipeline.add(...i),t.searchPipeline&&(t.searchPipeline.reset(),t.searchPipeline.add(...a))}search(t){const n=t.split(" ").filter(i=>!!i).map(i=>`${i} ${i}*`).join(" ");return this.index.search(n).sort(hFe).slice(0,dFe).map(i=>({id:i.ref,indi:this.indiMap.get(i.ref)}))}}function gFe(e){const t=new mFe(e);return t.initialize(),t}function vFe(e){const t=[e.indi.firstName,e.indi.lastName].join(" ").trim();return e.id.length>8?t:U.jsxs(U.Fragment,{children:[t," ",U.jsxs("i",{children:["(",e.id,")"]})]})}function PF(e){const[t,n]=J.useState([]),[r,i]=J.useState(""),a=J.useRef(void 0),o=ai();function s(p){const y=qf(p.birth,o),g=qf(p.death,o);return g?`${y} – ${g}`:y}function u(p){return{id:p.id,key:p.id,title:vFe(p),description:s(p.indi)}}function l(p){if(!p)return;const y=a.current.search(p).map(g=>u(g));n(y)}const c=J.useRef(z$e(l,200));function f(p){Ln("search_result_selected"),e.onSelection({id:p,generation:0}),i("")}function d(p){c.current(p),i(p)}return J.useEffect(()=>{a.current=gFe(e.data)},[e.data]),U.jsx(du,{onSearchChange:(p,y)=>d(y.value),onResultSelect:(p,y)=>f(y.result.id),results:t,noResultsMessage:o.formatMessage({id:"menu.search.no_results",defaultMessage:"No results found"}),placeholder:o.formatMessage({id:"menu.search.placeholder",defaultMessage:"Search for people"}),selectFirstResult:!0,value:r,id:"search"})}var JE={exports:{}},eS={exports:{}},RF;function yFe(){return RF||(RF=1,function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(n,r){return n<>>32-r},rotr:function(n,r){return n<<32-r|n>>>r},endian:function(n){if(n.constructor==Number)return t.rotl(n,8)&16711935|t.rotl(n,24)&4278255360;for(var r=0;r0;n--)r.push(Math.floor(Math.random()*256));return r},bytesToWords:function(n){for(var r=[],i=0,a=0;i>>5]|=n[i]<<24-a%32;return r},wordsToBytes:function(n){for(var r=[],i=0;i>>5]>>>24-i%32&255);return r},bytesToHex:function(n){for(var r=[],i=0;i>>4).toString(16)),r.push((n[i]&15).toString(16));return r.join("")},hexToBytes:function(n){for(var r=[],i=0;i>>6*(3-o)&63)):r.push("=");return r.join("")},base64ToBytes:function(n){n=n.replace(/[^A-Z0-9+\/]/ig,"");for(var r=[],i=0,a=0;i>>6-a*2);return r}};eS.exports=t}()),eS.exports}var tS,IF;function NF(){if(IF)return tS;IF=1;var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var n=[],r=0;r + * @license MIT + */var nS,OF;function wFe(){if(OF)return nS;OF=1,nS=function(n){return n!=null&&(e(n)||t(n)||!!n._isBuffer)};function e(n){return!!n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}function t(n){return typeof n.readFloatLE=="function"&&typeof n.slice=="function"&&e(n.slice(0,0))}return nS}var DF;function _Fe(){return DF||(DF=1,function(){var e=yFe(),t=NF().utf8,n=wFe(),r=NF().bin,i=function(a,o){a.constructor==String?o&&o.encoding==="binary"?a=r.stringToBytes(a):a=t.stringToBytes(a):n(a)?a=Array.prototype.slice.call(a,0):!Array.isArray(a)&&a.constructor!==Uint8Array&&(a=a.toString());for(var s=e.bytesToWords(a),u=a.length*8,l=1732584193,c=-271733879,f=-1732584194,d=271733878,p=0;p>>24)&16711935|(s[p]<<24|s[p]>>>8)&4278255360;s[u>>>5]|=128<>>9<<4)+14]=u;for(var y=i._ff,g=i._gg,w=i._hh,_=i._ii,p=0;p>>0,c=c+E>>>0,f=f+S>>>0,d=d+v>>>0}return e.endian([l,c,f,d])};i._ff=function(a,o,s,u,l,c,f){var d=a+(o&s|~o&u)+(l>>>0)+f;return(d<>>32-c)+o},i._gg=function(a,o,s,u,l,c,f){var d=a+(o&u|s&~u)+(l>>>0)+f;return(d<>>32-c)+o},i._hh=function(a,o,s,u,l,c,f){var d=a+(o^s^u)+(l>>>0)+f;return(d<>>32-c)+o},i._ii=function(a,o,s,u,l,c,f){var d=a+(s^(o|~u))+(l>>>0)+f;return(d<>>32-c)+o},i._blocksize=16,i._digestsize=16,JE.exports=function(a,o){if(a==null)throw new Error("Illegal argument "+a);var s=e.wordsToBytes(i(a,o));return o&&o.asBytes?s:o&&o.asString?r.bytesToString(s):e.bytesToHex(s)}}()),JE.exports}var bFe=_Fe();const $F=jn(bFe);function xFe(e){const t=e.toLowerCase();return t.endsWith(".jpg")||t.endsWith(".png")}function rS(e){const t=Dl(),n=si();async function r(a){const o=a.target.files;if(!o||!o.length)return;const s=Array.from(o);a.target.value="",Ln("upload_files_selected",{event_value:o.length});const u=s.length===1?s[0]:s.find(g=>g.name.toLowerCase().endsWith(".ged"))||s[0],{gedcom:l,images:c}=await Ij(u);s.filter(g=>g.name!==u.name&&xFe(g.name)).forEach(g=>c.set(g.name,URL.createObjectURL(g)));const f=Array.from(c.keys()).sort().join("|"),d=$F($F(l)+f),y=Ur.parse(n.search).file===d;t({pathname:"/view",search:Ur.stringify({file:d})},{replace:y,state:{data:l,images:c}})}const i=U.jsxs(U.Fragment,{children:[U.jsx(ut,{name:"folder open"}),U.jsx(Ue,{id:"menu.open_file",defaultMessage:"Open file"})]});return U.jsxs(U.Fragment,{children:[e.menuType===sr.Menu?U.jsx("label",{htmlFor:"fileInput",children:U.jsx(sn.Item,{as:"a",children:i})}):U.jsx(at.Item,{as:"label",htmlFor:"fileInput",children:i}),U.jsx("input",{className:"hidden",type:"file",accept:".ged,.gdz,.gedzip,.zip,image/*",id:"fileInput",multiple:!0,onChange:r})]})}function iS(e){const[t,n]=J.useState(!1),[r,i]=J.useState(""),a=J.useRef(null),o=Dl();J.useEffect(()=>{t&&(i(""),a.current.focus())},[t]);function s(){n(!1),r&&(Ln("url_selected"),o({pathname:"/view",search:Ur.stringify({url:r})}))}function u(){return U.jsxs(Rn,{open:t,onClose:()=>n(!1),centered:!1,children:[U.jsxs(un,{children:[U.jsx(ut,{name:"cloud download"}),U.jsx(Ue,{id:"load_from_url.title",defaultMessage:"Load from URL"})]}),U.jsx(Rn.Content,{children:U.jsxs(nn,{onSubmit:s,children:[U.jsx(Bo,{placeholder:"https://",fluid:!0,value:r,onChange:(l,c)=>i(c.value),ref:a}),U.jsx("p",{children:U.jsx(Ue,{id:"load_from_url.comment",defaultMessage:"Data from the URL will be loaded through {link} to avoid CORS issues.",values:{link:U.jsx("a",{href:"https://topolaproxy.bieda.it/",children:"topolaproxy.bieda.it (cors-anywhere proxy)"})}})})]})}),U.jsxs(Rn.Actions,{children:[U.jsx(Un,{secondary:!0,onClick:()=>n(!1),children:U.jsx(Ue,{id:"load_from_url.cancel",defaultMessage:"Cancel"})}),U.jsx(Un,{primary:!0,onClick:s,children:U.jsx(Ue,{id:"load_from_url.load",defaultMessage:"Load"})})]})]})}return U.jsxs(U.Fragment,{children:[U.jsxs(gw,{onClick:()=>n(!0),menuType:e.menuType,children:[U.jsx(ut,{name:"cloud download"}),U.jsx(Ue,{id:"menu.load_from_url",defaultMessage:"Load from URL"})]}),u()]})}const vw=""+new URL("wikitree-B3ZIaA3X.png",import.meta.url).href;function np(e){const[t,n]=J.useState(!1),[r,i]=J.useState(""),a=J.useRef(null),o=Dl(),s=si();J.useEffect(()=>{t&&(i(""),a.current.focus())},[t]);function u(){if(n(!1),!r)return;Ln("wikitree_id_selected");const f=Ur.parse(s.search),d=f.standalone!==void 0?f.standalone:!0;o({pathname:"/view",search:Ur.stringify({indi:r,source:"wikitree",standalone:d})})}function l(f,d){f.preventDefault(),i(d),a.current.focus()}function c(){return U.jsxs(Rn,{open:t,onClose:()=>n(!1),centered:!1,children:[U.jsxs(un,{children:[U.jsx("img",{src:vw,alt:"WikiTree logo",style:{width:"32px",height:"32px"}}),U.jsx(Ue,{id:"select_wikitree_id.title",defaultMessage:"Select WikiTree ID"})]}),U.jsx(Rn.Content,{children:U.jsxs(nn,{onSubmit:u,children:[U.jsx("p",{children:U.jsx(Ue,{id:"select_wikitree_id.comment",defaultMessage:"Enter a {wikiTreeLink} profile ID. Examples: {example1}, {example2}.",values:{wikiTreeLink:U.jsx("a",{href:"https://wikitree.com/",target:"_blank",rel:"noopener noreferrer",children:"WikiTree"}),example1:U.jsx("span",{onClick:f=>l(f,"Wojtyla-13"),className:"link-span",children:"Wojtyla-13"}),example2:U.jsx("span",{onClick:f=>l(f,"Skłodowska-2"),className:"link-span",children:"Skłodowska-2"})}})}),U.jsx(Bo,{fluid:!0,value:r,onChange:(f,d)=>i(d.value),ref:a})]})}),U.jsxs(Rn.Actions,{children:[U.jsx(Un,{secondary:!0,onClick:()=>n(!1),children:U.jsx(Ue,{id:"select_wikitree_id.cancel",defaultMessage:"Cancel"})}),U.jsx(Un,{primary:!0,onClick:u,children:U.jsx(Ue,{id:"select_wikitree_id.load",defaultMessage:"Load"})})]})]})}return U.jsxs(U.Fragment,{children:[U.jsxs(gw,{menuType:e.menuType,onClick:()=>n(!0),children:[U.jsx("img",{src:vw,alt:"WikiTree logo",className:"menu-icon"}),U.jsx(Ue,{id:"menu.select_wikitree_id",defaultMessage:"Select WikiTree ID"})]}),c()]})}function EFe(e){const t=ai();function n(){const o=`https://apps.wikitree.com/apps/wiech13/topola-viewer${window.location.hash}`;Gf.navigateToLoginPage(o)}const r=Gf.getLoggedInUserName();if(!r)return U.jsx(U.Fragment,{children:U.jsxs(gw,{menuType:e.menuType,onClick:n,children:[U.jsx("img",{src:vw,alt:"WikiTree logo",className:"menu-icon"}),U.jsx(Ue,{id:"menu.wikitree_login",defaultMessage:"Log in to WikiTree"})]})});const i=t.formatMessage({id:"menu.wikitree_popup_username",defaultMessage:"Logged in to WikiTree as {username}"},{username:r});return U.jsxs(gw,{menuType:e.menuType,title:i,children:[U.jsx("img",{src:vw,alt:"WikiTree logo",className:"menu-icon"}),U.jsx(Ue,{id:"menu.wikitree_logged_in",defaultMessage:"Logged in"})]})}function SFe(e){const t=Dl(),n=si();function r(c){const f=Ur.parse(n.search);f.view!==c&&(f.view=c,n.search=Ur.stringify(f),t(n))}function i(c){if(!e.showingChart)return null;const f=U.jsxs(U.Fragment,{children:[U.jsxs(at.Item,{onClick:()=>r("hourglass"),children:[U.jsx(ut,{name:"hourglass"}),U.jsx(Ue,{id:"menu.hourglass",defaultMessage:"Hourglass chart"})]}),e.allowAllRelativesChart?U.jsxs(at.Item,{onClick:()=>r("relatives"),children:[U.jsx(ut,{name:"users"}),U.jsx(Ue,{id:"menu.relatives",defaultMessage:"All relatives"})]}):null,U.jsxs(at.Item,{onClick:()=>r("donatso"),children:[U.jsx(ut,{name:"users"}),U.jsx(Ue,{id:"menu.donatso",defaultMessage:"Donatso family chart"})]}),U.jsxs(at.Item,{onClick:()=>r("fancy"),children:[U.jsx(ut,{name:"users"}),U.jsx(Ue,{id:"menu.fancy",defaultMessage:"Fancy tree (experimental)"})]})]});switch(c){case 0:return U.jsxs(U.Fragment,{children:[U.jsxs(sn.Item,{onClick:e.eventHandlers.onPrint,disabled:!e.allowPrintAndDownload,children:[U.jsx(ut,{name:"print"}),U.jsx(Ue,{id:"menu.print",defaultMessage:"Print"})]}),U.jsx(at,{trigger:U.jsxs("div",{children:[U.jsx(ut,{name:"download"}),U.jsx(Ue,{id:"menu.download",defaultMessage:"Download"})]}),className:"item",disabled:!e.allowPrintAndDownload,children:U.jsxs(at.Menu,{children:[U.jsx(at.Item,{onClick:e.eventHandlers.onDownloadPdf,children:U.jsx(Ue,{id:"menu.pdf_file",defaultMessage:"PDF file"})}),U.jsx(at.Item,{onClick:e.eventHandlers.onDownloadPng,children:U.jsx(Ue,{id:"menu.png_file",defaultMessage:"PNG file"})}),U.jsx(at.Item,{onClick:e.eventHandlers.onDownloadSvg,children:U.jsx(Ue,{id:"menu.svg_file",defaultMessage:"SVG file"})})]})}),U.jsx(at,{trigger:U.jsxs("div",{children:[U.jsx(ut,{name:"eye"}),U.jsx(Ue,{id:"menu.view",defaultMessage:"View"})]}),className:"item",children:U.jsx(at.Menu,{children:f})}),U.jsx(PF,{data:e.data,onSelection:e.eventHandlers.onSelection,...e})]});case 1:return U.jsxs(U.Fragment,{children:[U.jsxs(at.Item,{onClick:e.eventHandlers.onPrint,children:[U.jsx(ut,{name:"print"}),U.jsx(Ue,{id:"menu.print",defaultMessage:"Print"})]}),U.jsx(at.Divider,{}),U.jsxs(at.Item,{onClick:e.eventHandlers.onDownloadPdf,children:[U.jsx(ut,{name:"download"}),U.jsx(Ue,{id:"menu.download_pdf",defaultMessage:"Download PDF"})]}),U.jsxs(at.Item,{onClick:e.eventHandlers.onDownloadPng,children:[U.jsx(ut,{name:"download"}),U.jsx(Ue,{id:"menu.download_png",defaultMessage:"Download PNG"})]}),U.jsxs(at.Item,{onClick:e.eventHandlers.onDownloadSvg,children:[U.jsx(ut,{name:"download"}),U.jsx(Ue,{id:"menu.download_svg",defaultMessage:"Download SVG"})]}),U.jsx(at.Divider,{}),f,U.jsx(at.Divider,{})]})}}function a(){return U.jsx(sn.Item,{children:U.jsx("b",{children:"Topola Genealogy"})})}function o(c){if(!e.standalone&&e.showWikiTreeMenus)switch(c){case 0:return U.jsx(np,{menuType:sr.Menu,...e});case 1:return U.jsxs(U.Fragment,{children:[U.jsx(np,{menuType:sr.Dropdown,...e}),U.jsx(at.Divider,{})]})}if(!e.standalone)return null;switch(c){case 0:return e.showingChart?U.jsx(at,{trigger:U.jsxs("div",{children:[U.jsx(ut,{name:"folder open"}),U.jsx(Ue,{id:"menu.open",defaultMessage:"Open"})]}),className:"item",children:U.jsxs(at.Menu,{children:[U.jsx(rS,{menuType:sr.Dropdown,...e}),U.jsx(iS,{menuType:sr.Dropdown,...e}),U.jsx(np,{menuType:sr.Dropdown,...e})]})}):U.jsxs(U.Fragment,{children:[U.jsx(rS,{menuType:sr.Menu,...e}),U.jsx(iS,{menuType:sr.Menu,...e}),U.jsx(np,{menuType:sr.Menu,...e})]});case 1:return U.jsxs(U.Fragment,{children:[U.jsx(rS,{menuType:sr.Dropdown,...e}),U.jsx(iS,{menuType:sr.Dropdown,...e}),U.jsx(np,{menuType:sr.Dropdown,...e}),U.jsx(at.Divider,{})]})}}function s(c){return e.showWikiTreeMenus?U.jsxs(U.Fragment,{children:[U.jsx(EFe,{menuType:c===1?sr.Dropdown:sr.Menu,...e}),c===1?U.jsx(at.Divider,{}):null]}):null}function u(){return U.jsxs(U.Fragment,{children:[U.jsx(at,{trigger:U.jsx("div",{children:U.jsx(ut,{name:"sidebar"})}),className:"item",icon:null,children:U.jsxs(at.Menu,{children:[o(1),i(1),s(1),U.jsx(at.Item,{href:"https://github.com/PeWu/topola-viewer",target:"_blank",rel:"noopener noreferrer",children:U.jsx(Ue,{id:"menu.github",defaultMessage:"GitHub project"})})]})}),U.jsx("div",{className:"topbar--title",children:e.standalone?U.jsx(uf,{to:"/",children:a()}):a()}),e.showingChart&&U.jsx(PF,{data:e.data,onSelection:e.eventHandlers.onSelection,...e})]})}function l(){return U.jsxs(U.Fragment,{children:[e.standalone?U.jsx(uf,{to:"/",children:a()}):null,o(0),i(0),U.jsxs(sn.Menu,{position:"right",children:[s(0),U.jsx(sn.Item,{href:"https://github.com/PeWu/topola-viewer",target:"_blank",rel:"noopener noreferrer",children:U.jsx(Ue,{id:"menu.github",defaultMessage:"GitHub project"})})]})]})}return U.jsxs(U.Fragment,{children:[U.jsx(sn,{as:Vc,greaterThanOrEqual:"large",attached:"top",inverted:!0,color:"blue",size:"large",children:l()}),U.jsx(sn,{as:Vc,at:"small",attached:"top",inverted:!0,color:"blue",size:"large",children:u()})]})}function CFe(e){const n=e.gedcom.indis[e.indi].tree.find(i=>i.tag==="NAME"),r=(n==null?void 0:n.data.replaceAll("/",""))??"";return U.jsx("div",{className:"collapsed-details",children:r?U.jsx("span",{className:"vertical-name",children:r}):U.jsx("span",{className:"vertical-name",children:U.jsx(Ue,{id:"name.unknown_name",defaultMessage:"N.N."})})})}var aS,FF;function vQ(){if(FF)return aS;FF=1;var e=Object.prototype.toString;return aS=function(n){var r=e.call(n),i=r==="[object Arguments]";return i||(i=r!=="[object Array]"&&n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&e.call(n.callee)==="[object Function]"),i},aS}var oS,LF;function AFe(){if(LF)return oS;LF=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=vQ(),i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),o=i.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(d){var p=d.constructor;return p&&p.prototype===d},l={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},c=function(){if(typeof window>"u")return!1;for(var d in window)try{if(!l["$"+d]&&t.call(window,d)&&window[d]!==null&&typeof window[d]=="object")try{u(window[d])}catch{return!0}}catch{return!0}return!1}(),f=function(d){if(typeof window>"u"||!c)return u(d);try{return u(d)}catch{return!1}};e=function(p){var y=p!==null&&typeof p=="object",g=n.call(p)==="[object Function]",w=r(p),_=y&&n.call(p)==="[object String]",b=[];if(!y&&!g&&!w)throw new TypeError("Object.keys called on a non-object");var E=o&&g;if(_&&p.length>0&&!t.call(p,0))for(var S=0;S0)for(var v=0;v3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new n("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new n("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new n("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new n("`loose`, if provided, must be a boolean");var u=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,f=arguments.length>6?arguments[6]:!1,d=!!r&&r(a,o);if(e)e(a,o,{configurable:c===null&&d?d.configurable:!c,enumerable:u===null&&d?d.enumerable:!u,value:s,writable:l===null&&d?d.writable:!l});else if(f||!u&&!l&&!c)a[o]=s;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},hS}var pS,WF;function V_(){if(WF)return pS;WF=1;var e=Bg(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},pS=t,pS}var mS,VF;function fR(){if(VF)return mS;VF=1;var e=kFe(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",n=Object.prototype.toString,r=Array.prototype.concat,i=cR(),a=function(l){return typeof l=="function"&&n.call(l)==="[object Function]"},o=V_()(),s=function(l,c,f,d){if(c in l){if(d===!0){if(l[c]===f)return}else if(!a(d)||!d())return}o?i(l,c,f,!0):i(l,c,f)},u=function(l,c){var f=arguments.length>2?arguments[2]:{},d=e(c);t&&(d=r.call(d,Object.getOwnPropertySymbols(c)));for(var p=0;p"u"||!k?e:k(Uint8Array),$={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":C&&k?k([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":B,"%AsyncGenerator%":B,"%AsyncGeneratorFunction%":B,"%AsyncIteratorPrototype%":B,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":r,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":w,"%GeneratorFunction%":B,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":C&&k?k(k([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!C||!k?e:k(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":i,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!C||!k?e:k(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":C&&k?k(""[Symbol.iterator]()):e,"%Symbol%":C?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":v,"%TypedArray%":V,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":P,"%Function.prototype.apply%":N,"%Object.defineProperty%":E,"%Object.getPrototypeOf%":M,"%Math.abs%":l,"%Math.floor%":c,"%Math.max%":f,"%Math.min%":d,"%Math.pow%":p,"%Math.round%":y,"%Math.sign%":g,"%Reflect.getPrototypeOf%":R};if(k)try{null.error}catch(pe){var F=k(k(pe));$["%Error.prototype%"]=F}var z=function pe(be){var Ne;if(be==="%AsyncFunction%")Ne=_("async function () {}");else if(be==="%GeneratorFunction%")Ne=_("function* () {}");else if(be==="%AsyncGeneratorFunction%")Ne=_("async function* () {}");else if(be==="%AsyncGenerator%"){var ge=pe("%AsyncGeneratorFunction%");ge&&(Ne=ge.prototype)}else if(be==="%AsyncIteratorPrototype%"){var Le=pe("%AsyncGenerator%");Le&&k&&(Ne=k(Le.prototype))}return $[be]=Ne,Ne},Q={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},K=Ug(),j=Kl(),L=K.call(P,Array.prototype.concat),W=K.call(N,Array.prototype.splice),G=K.call(P,String.prototype.replace),H=K.call(P,String.prototype.slice),ne=K.call(P,RegExp.prototype.exec),ce=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,he=/\\(\\)?/g,ve=function(be){var Ne=H(be,0,1),ge=H(be,-1);if(Ne==="%"&&ge!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(ge==="%"&&Ne!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var Le=[];return G(be,ce,function(we,Ye,Ge,Me){Le[Le.length]=Ge?G(Me,he,"$1"):Ye||we}),Le},Ee=function(be,Ne){var ge=be,Le;if(j(Q,ge)&&(Le=Q[ge],ge="%"+Le[0]+"%"),j($,ge)){var we=$[ge];if(we===B&&(we=z(ge)),typeof we>"u"&&!Ne)throw new s("intrinsic "+be+" exists, but is not available. Please file an issue!");return{alias:Le,name:ge,value:we}}throw new o("intrinsic "+be+" does not exist!")};return GS=function(be,Ne){if(typeof be!="string"||be.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Ne!="boolean")throw new s('"allowMissing" argument must be a boolean');if(ne(/^%?[^%]*%?$/,be)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ge=ve(be),Le=ge.length>0?ge[0]:"",we=Ee("%"+Le+"%",Ne),Ye=we.name,Ge=we.value,Me=!1,Ke=we.alias;Ke&&(Le=Ke[0],W(ge,L([0,1],Ke)));for(var bt=1,ft=!0;bt=ge.length){var Dn=b(Ge,xt);ft=!!Dn,ft&&"get"in Dn&&!("originalValue"in Dn.get)?Ge=Dn.get:Ge=Ge[xt]}else ft=j(Ge,xt),Ge=Ge[xt];ft&&!Me&&($[Ye]=Ge)}}return Ge},GS}var WS,EL;function jFe(){if(EL)return WS;EL=1;var e=la(),t=cR(),n=V_()(),r=Ql(),i=Rt(),a=e("%Math.floor%");return WS=function(s,u){if(typeof s!="function")throw new i("`fn` is not a function");if(typeof u!="number"||u<0||u>4294967295||a(u)!==u)throw new i("`length` must be a positive 32-bit integer");var l=arguments.length>2&&!!arguments[2],c=!0,f=!0;if("length"in s&&r){var d=r(s,"length");d&&!d.configurable&&(c=!1),d&&!d.writable&&(f=!1)}return(c||f||!l)&&(n?t(s,"length",u,!0,!0):t(s,"length",u)),s},WS}var VS,SL;function HFe(){if(SL)return VS;SL=1;var e=Ug(),t=pR(),n=SQ();return VS=function(){return n(e,t,arguments)},VS}var CL;function CQ(){return CL||(CL=1,function(e){var t=jFe(),n=Bg(),r=Q_(),i=HFe();e.exports=function(o){var s=r(arguments),u=1+o.length-(arguments.length-1);return t(s,u>0?u:0,!0)},n?n(e.exports,"apply",{value:i}):e.exports.apply=i}(gS)),gS.exports}var YS,AL;function AQ(){if(AL)return YS;AL=1;var e=zg();return YS=function(n){return(typeof n=="number"||typeof n=="bigint")&&!e(n)&&n!==1/0&&n!==-1/0},YS}var QS,kL;function kQ(){if(kL)return QS;kL=1;var e=wQ(),t=dR(),n=zg(),r=AQ();return QS=function(a){if(typeof a!="number"||n(a)||!r(a))return!1;var o=e(a);return t(o)===o},QS}var KS,TL;function ao(){return TL||(TL=1,KS=function(t){return!!t&&(typeof t=="function"||typeof t=="object")}),KS}var XS,ML;function qFe(){return ML||(ML=1,XS=4294967295),XS}var ZS,PL;function GFe(){return PL||(PL=1,ZS=typeof Reflect<"u"&&Reflect.setPrototypeOf||null),ZS}var JS,RL;function WFe(){if(RL)return JS;RL=1;var e=Y_();return JS=e.setPrototypeOf||null,JS}var eC,IL;function VFe(){if(IL)return eC;IL=1;var e=Q_(),t=Ql(),n=Rt(),r={};try{r.__proto__=null}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var i=!("toString"in r),a=t&&t(Object.prototype,"__proto__");return eC=i&&(!!a&&typeof a.set=="function"&&e([a.set])||function(s,u){if(s==null)throw new n("set Object.prototype.__proto__ called on null or undefined");return s.__proto__=u,u}),eC}var tC,NL;function YFe(){if(NL)return tC;NL=1;var e=GFe(),t=WFe(),n=VFe(),r=Rt();return tC=e?function(a,o){if(e(a,o))return a;throw new r("Reflect.setPrototypeOf: failed to set [[Prototype]]")}:t||(n?function(a,o){return n(a,o),a}:null),tC}var nC,OL;function QFe(){if(OL)return nC;OL=1;var e=la(),t=e("%Array.prototype%"),n=yQ(),r=W_(),i=Rt(),a=kQ(),o=qFe(),s=YFe();return nC=function(l){if(!a(l)||l<0)throw new i("Assertion failed: `length` must be an integer Number >= 0");if(l>o)throw new n("length is greater than (2**32 - 1)");var c=arguments.length>1?arguments[1]:t,f=[];if(c!==t){if(!s)throw new r("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");s(f,c)}return l!==0&&(f.length=l),f},nC}const KFe={},XFe=Object.freeze(Object.defineProperty({__proto__:null,default:KFe},Symbol.toStringTag,{value:"Module"})),ZFe=Zm(XFe);var rC,DL;function JFe(){if(DL)return rC;DL=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=e&&t&&typeof t.get=="function"?t.get:null,r=e&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,a=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=i&&a&&typeof a.get=="function"?a.get:null,s=i&&Set.prototype.forEach,u=typeof WeakMap=="function"&&WeakMap.prototype,l=u?WeakMap.prototype.has:null,c=typeof WeakSet=="function"&&WeakSet.prototype,f=c?WeakSet.prototype.has:null,d=typeof WeakRef=="function"&&WeakRef.prototype,p=d?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,g=Object.prototype.toString,w=Function.prototype.toString,_=String.prototype.match,b=String.prototype.slice,E=String.prototype.replace,S=String.prototype.toUpperCase,v=String.prototype.toLowerCase,C=RegExp.prototype.test,k=Array.prototype.concat,M=Array.prototype.join,R=Array.prototype.slice,N=Math.floor,P=typeof BigInt=="function"?BigInt.prototype.valueOf:null,B=Object.getOwnPropertySymbols,V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,$=typeof Symbol=="function"&&typeof Symbol.iterator=="object",F=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===$||!0)?Symbol.toStringTag:null,z=Object.prototype.propertyIsEnumerable,Q=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(oe){return oe.__proto__}:null);function K(oe,ue){if(oe===1/0||oe===-1/0||oe!==oe||oe&&oe>-1e3&&oe<1e3||C.call(/e/,ue))return ue;var De=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof oe=="number"){var Tt=oe<0?-N(-oe):N(oe);if(Tt!==oe){var It=String(Tt),it=b.call(ue,It.length+1);return E.call(It,De,"$&_")+"."+E.call(E.call(it,/([0-9]{3})/g,"$&_"),/_$/,"")}}return E.call(ue,De,"$&_")}var j=ZFe,L=j.custom,W=we(L)?L:null,G={__proto__:null,double:'"',single:"'"},H={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};rC=function oe(ue,De,Tt,It){var it=De||{};if(Me(it,"quoteStyle")&&!Me(G,it.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Me(it,"maxStringLength")&&(typeof it.maxStringLength=="number"?it.maxStringLength<0&&it.maxStringLength!==1/0:it.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var rr=Me(it,"customInspect")?it.customInspect:!0;if(typeof rr!="boolean"&&rr!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Me(it,"indent")&&it.indent!==null&&it.indent!==" "&&!(parseInt(it.indent,10)===it.indent&&it.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Me(it,"numericSeparator")&&typeof it.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var ca=it.numericSeparator;if(typeof ue>"u")return"undefined";if(ue===null)return"null";if(typeof ue=="boolean")return ue?"true":"false";if(typeof ue=="string")return q(ue,it);if(typeof ue=="number"){if(ue===0)return 1/0/ue>0?"0":"-0";var qn=String(ue);return ca?K(ue,qn):qn}if(typeof ue=="bigint"){var $i=String(ue)+"n";return ca?K(ue,$i):$i}var Zl=typeof it.depth>"u"?5:it.depth;if(typeof Tt>"u"&&(Tt=0),Tt>=Zl&&Zl>0&&typeof ue=="object")return ve(ue)?"[Array]":"[Object]";var oo=ye(it,Tt);if(typeof It>"u")It=[];else if(ft(It,ue)>=0)return"[Circular]";function ir(so,bu,Gg){if(bu&&(It=R.call(It),It.push(bu)),Gg){var Fd={depth:it.depth};return Me(it,"quoteStyle")&&(Fd.quoteStyle=it.quoteStyle),oe(so,Fd,Tt+1,It)}return oe(so,it,Tt+1,It)}if(typeof ue=="function"&&!pe(ue)){var Id=bt(ue),ns=mt(ue,ir);return"[Function"+(Id?": "+Id:" (anonymous)")+"]"+(ns.length>0?" { "+M.call(ns,", ")+" }":"")}if(we(ue)){var Jl=$?E.call(String(ue),/^(Symbol\(.*\))_[^)]*$/,"$1"):V.call(ue);return typeof ue=="object"&&!$?D(Jl):Jl}if(_e(ue)){for(var Fi="<"+v.call(String(ue.nodeName)),Nd=ue.attributes||[],fa=0;fa",Fi}if(ve(ue)){if(ue.length===0)return"[]";var rs=mt(ue,ir);return oo&&!de(rs)?"["+et(rs,oo)+"]":"[ "+M.call(rs,", ")+" ]"}if(be(ue)){var is=mt(ue,ir);return!("cause"in Error.prototype)&&"cause"in ue&&!z.call(ue,"cause")?"{ ["+String(ue)+"] "+M.call(k.call("[cause]: "+ir(ue.cause),is),", ")+" }":is.length===0?"["+String(ue)+"]":"{ ["+String(ue)+"] "+M.call(is,", ")+" }"}if(typeof ue=="object"&&rr){if(W&&typeof ue[W]=="function"&&j)return j(ue,{depth:Zl-Tt});if(rr!=="symbol"&&typeof ue.inspect=="function")return ue.inspect()}if(xt(ue)){var ec=[];return r&&r.call(ue,function(so,bu){ec.push(ir(bu,ue,!0)+" => "+ir(so,ue))}),ie("Map",n.call(ue),ec,oo)}if(Dn(ue)){var jg=[];return s&&s.call(ue,function(so){jg.push(ir(so,ue))}),ie("Set",o.call(ue),jg,oo)}if(kt(ue))return X("WeakMap");if(Cn(ue))return X("WeakSet");if(mn(ue))return X("WeakRef");if(ge(ue))return D(ir(Number(ue)));if(Ye(ue))return D(ir(P.call(ue)));if(Le(ue))return D(y.call(ue));if(Ne(ue))return D(ir(String(ue)));if(typeof window<"u"&&ue===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ue===globalThis||typeof Ra<"u"&&ue===Ra)return"{ [object globalThis] }";if(!Ee(ue)&&!pe(ue)){var Od=mt(ue,ir),Hg=Q?Q(ue)===Object.prototype:ue instanceof Object||ue.constructor===Object,Li=ue instanceof Object?"":"null prototype",Dd=!Hg&&F&&Object(ue)===ue&&F in ue?b.call(Ke(ue),8,-1):Li?"Object":"",qg=Hg||typeof ue.constructor!="function"?"":ue.constructor.name?ue.constructor.name+" ":"",$d=qg+(Dd||Li?"["+M.call(k.call([],Dd||[],Li||[]),": ")+"] ":"");return Od.length===0?$d+"{}":oo?$d+"{"+et(Od,oo)+"}":$d+"{ "+M.call(Od,", ")+" }"}return String(ue)};function ne(oe,ue,De){var Tt=De.quoteStyle||ue,It=G[Tt];return It+oe+It}function ce(oe){return E.call(String(oe),/"/g,""")}function he(oe){return!F||!(typeof oe=="object"&&(F in oe||typeof oe[F]<"u"))}function ve(oe){return Ke(oe)==="[object Array]"&&he(oe)}function Ee(oe){return Ke(oe)==="[object Date]"&&he(oe)}function pe(oe){return Ke(oe)==="[object RegExp]"&&he(oe)}function be(oe){return Ke(oe)==="[object Error]"&&he(oe)}function Ne(oe){return Ke(oe)==="[object String]"&&he(oe)}function ge(oe){return Ke(oe)==="[object Number]"&&he(oe)}function Le(oe){return Ke(oe)==="[object Boolean]"&&he(oe)}function we(oe){if($)return oe&&typeof oe=="object"&&oe instanceof Symbol;if(typeof oe=="symbol")return!0;if(!oe||typeof oe!="object"||!V)return!1;try{return V.call(oe),!0}catch{}return!1}function Ye(oe){if(!oe||typeof oe!="object"||!P)return!1;try{return P.call(oe),!0}catch{}return!1}var Ge=Object.prototype.hasOwnProperty||function(oe){return oe in this};function Me(oe,ue){return Ge.call(oe,ue)}function Ke(oe){return g.call(oe)}function bt(oe){if(oe.name)return oe.name;var ue=_.call(w.call(oe),/^function\s*([\w$]+)/);return ue?ue[1]:null}function ft(oe,ue){if(oe.indexOf)return oe.indexOf(ue);for(var De=0,Tt=oe.length;Deue.maxStringLength){var De=oe.length-ue.maxStringLength,Tt="... "+De+" more character"+(De>1?"s":"");return q(b.call(oe,0,ue.maxStringLength),ue)+Tt}var It=H[ue.quoteStyle||"single"];It.lastIndex=0;var it=E.call(E.call(oe,It,"\\$1"),/[\x00-\x1f]/g,I);return ne(it,"single",ue)}function I(oe){var ue=oe.charCodeAt(0),De={8:"b",9:"t",10:"n",12:"f",13:"r"}[ue];return De?"\\"+De:"\\x"+(ue<16?"0":"")+S.call(ue.toString(16))}function D(oe){return"Object("+oe+")"}function X(oe){return oe+" { ? }"}function ie(oe,ue,De,Tt){var It=Tt?et(De,Tt):M.call(De,", ");return oe+" ("+ue+") {"+It+"}"}function de(oe){for(var ue=0;ue=0)return!1;return!0}function ye(oe,ue){var De;if(oe.indent===" ")De=" ";else if(typeof oe.indent=="number"&&oe.indent>0)De=M.call(Array(oe.indent+1)," ");else return null;return{base:De,prev:M.call(Array(ue+1),De)}}function et(oe,ue){if(oe.length===0)return"";var De=` +`+ue.prev+ue.base;return De+M.call(oe,","+De)+` +`+ue.prev}function mt(oe,ue){var De=ve(oe),Tt=[];if(De){Tt.length=oe.length;for(var It=0;It-1?t([o]):o},oC}var sC,BL;function TQ(){if(BL)return sC;BL=1;var e=la(),t=e("%Array%"),n=!t.isArray&&ts()("Object.prototype.toString");return sC=t.isArray||function(i){return n(i)==="[object Array]"},sC}var uC,zL;function mR(){return zL||(zL=1,uC=TQ()),uC}var Kv={exports:{}},lC,UL;function eLe(){return UL||(UL=1,lC=la()),lC}var cC,jL;function _u(){if(jL)return cC;jL=1;var e=Rt(),t=Kl(),n={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};return cC=function(i){if(!i||typeof i!="object")return!1;for(var a in i)if(t(i,a)&&!n[a])return!1;var o=t(i,"[[Value]]")||t(i,"[[Writable]]"),s=t(i,"[[Get]]")||t(i,"[[Set]]");if(o&&s)throw new e("Property Descriptors may not be both accessor and data descriptors");return!0},cC}var fC,HL;function MQ(){if(HL)return fC;HL=1;var e=V_(),t=Bg(),n=e.hasArrayLengthDefineBug(),r=n&&TQ(),i=ts(),a=i("Object.prototype.propertyIsEnumerable");return fC=function(s,u,l,c,f,d){if(!t){if(!s(d)||!d["[[Configurable]]"]||!d["[[Writable]]"]||f in c&&a(c,f)!==!!d["[[Enumerable]]"])return!1;var p=d["[[Value]]"];return c[f]=p,u(c[f],p)}return n&&f==="length"&&"[[Value]]"in d&&r(c)&&c.length!==d["[[Value]]"]?(c.length=d["[[Value]]"],c.length===d["[[Value]]"]):(t(c,f,l(d)),!0)},fC}var dC,qL;function tLe(){return qL||(qL=1,dC=function(t){if(typeof t>"u")return t;var n={};return"[[Value]]"in t&&(n.value=t["[[Value]]"]),"[[Writable]]"in t&&(n.writable=!!t["[[Writable]]"]),"[[Get]]"in t&&(n.get=t["[[Get]]"]),"[[Set]]"in t&&(n.set=t["[[Set]]"]),"[[Enumerable]]"in t&&(n.enumerable=!!t["[[Enumerable]]"]),"[[Configurable]]"in t&&(n.configurable=!!t["[[Configurable]]"]),n}),dC}var hC,GL;function PQ(){if(GL)return hC;GL=1;var e=Rt(),t=_u(),n=tLe();return hC=function(i){if(typeof i<"u"&&!t(i))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return n(i)},hC}var pC,WL;function gR(){if(WL)return pC;WL=1;var e=Rt(),t=Kl(),n=_u();return pC=function(i){if(typeof i>"u")return!1;if(!n(i))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!(!t(i,"[[Value]]")&&!t(i,"[[Writable]]"))},pC}var mC,VL;function vR(){if(VL)return mC;VL=1;var e=zg();return mC=function(n,r){return n===r?n===0?1/n===1/r:!0:e(n)&&e(r)},mC}var gC,YL;function RQ(){if(YL)return gC;YL=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,n,r;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{n=Object.defineProperty({},"length",{get:function(){throw r}}),r={},t(function(){throw 42},null,n)}catch(b){b!==r&&(t=null)}else t=null;var i=/^\s*class\b/,a=function(E){try{var S=e.call(E);return i.test(S)}catch{return!1}},o=function(E){try{return a(E)?!1:(e.call(E),!0)}catch{return!1}},s=Object.prototype.toString,u="[object Object]",l="[object Function]",c="[object GeneratorFunction]",f="[object HTMLAllCollection]",d="[object HTML document.all class]",p="[object HTMLCollection]",y=typeof Symbol=="function"&&!!Symbol.toStringTag,g=!(0 in[,]),w=function(){return!1};if(typeof document=="object"){var _=document.all;s.call(_)===s.call(document.all)&&(w=function(E){if((g||!E)&&(typeof E>"u"||typeof E=="object"))try{var S=s.call(E);return(S===f||S===d||S===p||S===u)&&E("")==null}catch{}return!1})}return gC=t?function(E){if(w(E))return!0;if(!E||typeof E!="function"&&typeof E!="object")return!1;try{t(E,null,n)}catch(S){if(S!==r)return!1}return!a(E)&&o(E)}:function(E){if(w(E))return!0;if(!E||typeof E!="function"&&typeof E!="object")return!1;if(y)return o(E);if(a(E))return!1;var S=s.call(E);return S!==l&&S!==c&&!/^\[object HTML/.test(S)?!1:o(E)},gC}var vC,QL;function IQ(){return QL||(QL=1,vC=RQ()),vC}var yC,KL;function nLe(){return KL||(KL=1,yC=function(t){return!!t}),yC}var wC,XL;function NQ(){if(XL)return wC;XL=1;var e=Kl(),t=Rt(),n=ao(),r=IQ(),i=nLe();return wC=function(o){if(!n(o))throw new t("ToPropertyDescriptor requires an object");var s={};if(e(o,"enumerable")&&(s["[[Enumerable]]"]=i(o.enumerable)),e(o,"configurable")&&(s["[[Configurable]]"]=i(o.configurable)),e(o,"value")&&(s["[[Value]]"]=o.value),e(o,"writable")&&(s["[[Writable]]"]=i(o.writable)),e(o,"get")){var u=o.get;if(typeof u<"u"&&!r(u))throw new t("getter must be a function");s["[[Get]]"]=u}if(e(o,"set")){var l=o.set;if(typeof l<"u"&&!r(l))throw new t("setter must be a function");s["[[Set]]"]=l}if((e(s,"[[Get]]")||e(s,"[[Set]]"))&&(e(s,"[[Value]]")||e(s,"[[Writable]]")))throw new t("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return s},wC}var _C,ZL;function rLe(){if(ZL)return _C;ZL=1;var e=Rt(),t=ao(),n=_u(),r=MQ(),i=PQ(),a=gR(),o=Xl(),s=vR(),u=NQ();return _C=function(c,f,d){if(!t(c))throw new e("Assertion failed: Type(O) is not Object");if(!o(f))throw new e("Assertion failed: P is not a Property Key");var p=n(d)?d:u(d);if(!n(p))throw new e("Assertion failed: Desc is not a valid Property Descriptor");return r(a,s,i,c,f,p)},_C}var JL;function iLe(){if(JL)return Kv.exports;JL=1;var e=eLe(),t=e("%Reflect.construct%",!0),n=rLe();try{n({},"",{"[[Get]]":function(){}})}catch{n=null}if(n&&t){var r={},i={};n(i,"length",{"[[Get]]":function(){throw r},"[[Enumerable]]":!0}),Kv.exports=function(o){try{t(o,i)}catch(s){return s===r}}}else Kv.exports=function(o){return typeof o=="function"&&!!o.prototype};return Kv.exports}var bC,e7;function aLe(){if(e7)return bC;e7=1;var e=la(),t=e("%Symbol.species%",!0),n=Rt(),r=kQ(),i=ao(),a=QFe(),o=K_(),s=mR(),u=iLe();return bC=function(c,f){if(!r(f)||f<0)throw new n("Assertion failed: length must be an integer >= 0");var d=s(c);if(!d)return a(f);var p=o(c,"constructor");if(t&&i(p)&&(p=o(p,t),p===null&&(p=void 0)),typeof p>"u")return a(f);if(!u(p))throw new n("C must be a constructor");return new p(f)},bC}var xC,t7;function OQ(){return t7||(t7=1,xC=Number.MAX_SAFE_INTEGER||9007199254740991),xC}var EC,n7;function oLe(){if(n7)return EC;n7=1;var e=la(),t=ts(),n=Rt(),r=mR(),i=e("%Reflect.apply%",!0)||t("Function.prototype.apply");return EC=function(o,s){var u=arguments.length>2?arguments[2]:[];if(!r(u))throw new n("Assertion failed: optional `argumentsList`, if provided, must be a List");return i(o,s,u)},EC}var SC,r7;function yR(){if(r7)return SC;r7=1;var e=Rt(),t=Kl(),n=_u();return SC=function(i){if(typeof i>"u")return!1;if(!n(i))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!(!t(i,"[[Get]]")&&!t(i,"[[Set]]"))},SC}var CC,i7;function DQ(){return i7||(i7=1,CC=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),CC}var AC,a7;function sLe(){if(a7)return AC;a7=1;var e=la(),t=e("%Object.preventExtensions%",!0),n=e("%Object.isExtensible%",!0),r=DQ();return AC=t?function(a){return!r(a)&&n(a)}:function(a){return!r(a)},AC}var kC,o7;function uLe(){if(o7)return kC;o7=1;var e=_u();return kC=function(n,r){return e(r)&&"[[Enumerable]]"in r&&"[[Configurable]]"in r&&(n.IsAccessorDescriptor(r)||n.IsDataDescriptor(r))},kC}var TC,s7;function lLe(){if(s7)return TC;s7=1;var e=Rt(),t=yR(),n=gR(),r=_u();return TC=function(a){if(typeof a>"u")return!1;if(!r(a))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!t(a)&&!n(a)},TC}var MC,u7;function cLe(){if(u7)return MC;u7=1;var e=Rt(),t=ao(),n=MQ(),r=uLe(),i=_u(),a=PQ(),o=yR(),s=gR(),u=lLe(),l=Xl(),c=vR();return MC=function(d,p,y,g,w){if(typeof d<"u"&&!t(d))throw new e("Assertion failed: O must be undefined or an Object");if(!l(p))throw new e("Assertion failed: P must be a Property Key");if(typeof y!="boolean")throw new e("Assertion failed: extensible must be a Boolean");if(!i(g))throw new e("Assertion failed: Desc must be a Property Descriptor");if(typeof w<"u"&&!i(w))throw new e("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof w>"u")return y?typeof d>"u"?!0:o(g)?n(s,c,a,d,p,g):n(s,c,a,d,p,{"[[Configurable]]":!!g["[[Configurable]]"],"[[Enumerable]]":!!g["[[Enumerable]]"],"[[Value]]":g["[[Value]]"],"[[Writable]]":!!g["[[Writable]]"]}):!1;if(!r({IsAccessorDescriptor:o,IsDataDescriptor:s},w))throw new e("`current`, when present, must be a fully populated and valid Property Descriptor");if(!w["[[Configurable]]"]){if("[[Configurable]]"in g&&g["[[Configurable]]"]||"[[Enumerable]]"in g&&!c(g["[[Enumerable]]"],w["[[Enumerable]]"])||!u(g)&&!c(o(g),o(w)))return!1;if(o(w)){if("[[Get]]"in g&&!c(g["[[Get]]"],w["[[Get]]"])||"[[Set]]"in g&&!c(g["[[Set]]"],w["[[Set]]"]))return!1}else if(!w["[[Writable]]"]&&("[[Writable]]"in g&&g["[[Writable]]"]||"[[Value]]"in g&&!c(g["[[Value]]"],w["[[Value]]"])))return!1}if(typeof d<"u"){var _,b;return s(w)&&o(g)?(_=("[[Configurable]]"in g?g:w)["[[Configurable]]"],b=("[[Enumerable]]"in g?g:w)["[[Enumerable]]"],n(s,c,a,d,p,{"[[Configurable]]":!!_,"[[Enumerable]]":!!b,"[[Get]]":("[[Get]]"in g?g:w)["[[Get]]"],"[[Set]]":("[[Set]]"in g?g:w)["[[Set]]"]})):o(w)&&s(g)?(_=("[[Configurable]]"in g?g:w)["[[Configurable]]"],b=("[[Enumerable]]"in g?g:w)["[[Enumerable]]"],n(s,c,a,d,p,{"[[Configurable]]":!!_,"[[Enumerable]]":!!b,"[[Value]]":("[[Value]]"in g?g:w)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in g?g:w)["[[Writable]]"]})):n(s,c,a,d,p,g)}return!0},MC}var PC,l7;function fLe(){if(l7)return PC;l7=1;var e=Ql(),t=W_(),n=Rt(),r=ao(),i=_u(),a=yR(),o=sLe(),s=Xl(),u=NQ(),l=vR(),c=cLe();return PC=function(d,p,y){if(!r(d))throw new n("Assertion failed: O must be an Object");if(!s(p))throw new n("Assertion failed: P must be a Property Key");if(!i(y))throw new n("Assertion failed: Desc must be a Property Descriptor");if(!e){if(a(y))throw new t("This environment does not support accessor property descriptors.");var g=!(p in d)&&y["[[Writable]]"]&&y["[[Enumerable]]"]&&y["[[Configurable]]"]&&"[[Value]]"in y,w=p in d&&(!("[[Configurable]]"in y)||y["[[Configurable]]"])&&(!("[[Enumerable]]"in y)||y["[[Enumerable]]"])&&(!("[[Writable]]"in y)||y["[[Writable]]"])&&"[[Value]]"in y;if(g||w)return d[p]=y["[[Value]]"],l(d[p],y["[[Value]]"]);throw new t("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var _=e(d,p),b=_&&u(_),E=o(d);return c(d,p,E,y,b)},PC}var RC,c7;function dLe(){if(c7)return RC;c7=1;var e=Rt(),t=ao(),n=Xl(),r=fLe();return RC=function(a,o,s){if(!t(a))throw new e("Assertion failed: Type(O) is not Object");if(!n(o))throw new e("Assertion failed: P is not a Property Key");var u={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":s,"[[Writable]]":!0};return r(a,o,u)},RC}var IC,f7;function hLe(){if(f7)return IC;f7=1;var e=Rt(),t=ao(),n=dLe(),r=Xl();return IC=function(a,o,s){if(!t(a))throw new e("Assertion failed: Type(O) is not Object");if(!r(o))throw new e("Assertion failed: P is not a Property Key");var u=n(a,o,s);if(!u)throw new e("unable to create data property")},IC}var NC,d7;function pLe(){if(d7)return NC;d7=1;var e=Rt(),t=ao(),n=Xl();return NC=function(i,a){if(!t(i))throw new e("Assertion failed: `O` must be an Object");if(!n(a))throw new e("Assertion failed: `P` must be a Property Key");return a in i},NC}var OC,h7;function mLe(){return h7||(h7=1,OC=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),OC}var DC,p7;function $Q(){if(p7)return DC;p7=1;var e=_Q();return DC=function(){return e()&&!!Symbol.toStringTag},DC}var $C,m7;function gLe(){if(m7)return $C;m7=1;var e=ts(),t=e("Date.prototype.getDay"),n=function(s){try{return t(s),!0}catch{return!1}},r=e("Object.prototype.toString"),i="[object Date]",a=$Q()();return $C=function(s){return typeof s!="object"||s===null?!1:a?n(s):r(s)===i},$C}var Xv={exports:{}},FC,g7;function vLe(){if(g7)return FC;g7=1;var e=ts(),t=$Q()(),n=Kl(),r=Ql(),i;if(t){var a=e("RegExp.prototype.exec"),o={},s=function(){throw o},u={toString:s,valueOf:s};typeof Symbol.toPrimitive=="symbol"&&(u[Symbol.toPrimitive]=s),i=function(d){if(!d||typeof d!="object")return!1;var p=r(d,"lastIndex"),y=p&&n(p,"value");if(!y)return!1;try{a(d,u)}catch(g){return g===o}}}else{var l=e("Object.prototype.toString"),c="[object RegExp]";i=function(d){return!d||typeof d!="object"&&typeof d!="function"?!1:l(d)===c}}return FC=i,FC}var LC,v7;function FQ(){if(v7)return LC;v7=1;var e=ts(),t=vLe(),n=e("RegExp.prototype.exec"),r=Rt();return LC=function(a){if(!t(a))throw new r("`regex` must be a RegExp");return function(s){return n(a,s)!==null}},LC}var y7;function yLe(){if(y7)return Xv.exports;y7=1;var e=ts(),t=e("Object.prototype.toString"),n=bQ()(),r=FQ();if(n){var i=e("Symbol.prototype.toString"),a=r(/^Symbol\(.*\)$/),o=function(u){return typeof u.valueOf()!="symbol"?!1:a(i(u))};Xv.exports=function(u){if(typeof u=="symbol")return!0;if(!u||typeof u!="object"||t(u)!=="[object Symbol]")return!1;try{return o(u)}catch{return!1}}}else Xv.exports=function(u){return!1};return Xv.exports}var BC,w7;function wLe(){if(w7)return BC;w7=1;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",t=mLe(),n=RQ(),r=gLe(),i=yLe(),a=function(u,l){if(typeof u>"u"||u===null)throw new TypeError("Cannot call method on "+u);if(typeof l!="string"||l!=="number"&&l!=="string")throw new TypeError('hint must be "string" or "number"');var c=l==="string"?["toString","valueOf"]:["valueOf","toString"],f,d,p;for(p=0;p1&&(arguments[1]===String?l="string":arguments[1]===Number&&(l="number"));var c;if(e&&(Symbol.toPrimitive?c=o(u,Symbol.toPrimitive):i(u)&&(c=Symbol.prototype.valueOf)),typeof c<"u"){var f=c.call(u,l);if(t(f))return f;throw new TypeError("unable to convert exotic object to primitive")}return l==="default"&&(r(u)||i(u))&&(l="string"),a(u,l==="default"?"number":l)},BC}var zC,_7;function _Le(){if(_7)return zC;_7=1;var e=wLe();return zC=function(n){return arguments.length>1?e(n,arguments[1]):e(n)},zC}var UC,b7;function wR(){if(b7)return UC;b7=1;var e=Rt();return UC=function(n){if(n==null)throw new e(arguments.length>0&&arguments[1]||"Cannot call method on "+n);return n},UC}var jC,x7;function LQ(){if(x7)return jC;x7=1;var e=la(),t=e("%String%"),n=Rt();return jC=function(i){if(typeof i=="symbol")throw new n("Cannot convert a Symbol value to a string");return t(i)},jC}var HC,E7;function BQ(){if(E7)return HC;E7=1;var e=wR(),t=LQ(),n=ts(),r=n("String.prototype.replace"),i=/^\s$/.test("᠎"),a=i?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,o=i?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;return HC=function(){var u=t(e(this));return r(r(u,a,""),o,"")},HC}var qC,S7;function zQ(){if(S7)return qC;S7=1;var e=BQ(),t="​",n="᠎";return qC=function(){return String.prototype.trim&&t.trim()===t&&n.trim()===n&&("_"+n).trim()==="_"+n&&(n+"_").trim()===n+"_"?String.prototype.trim:e},qC}var GC,C7;function bLe(){if(C7)return GC;C7=1;var e=V_()(),t=cR(),n=zQ();return GC=function(){var i=n();return String.prototype.trim!==i&&(e?t(String.prototype,"trim",i,!0):t(String.prototype,"trim",i)),i},GC}var WC,A7;function xLe(){if(A7)return WC;A7=1;var e=CQ(),t=fR(),n=wR(),r=BQ(),i=zQ(),a=bLe(),o=e(i()),s=function(l){return n(l),o(l)};return t(s,{getPolyfill:i,implementation:r,shim:a}),WC=s,WC}var VC,k7;function ELe(){if(k7)return VC;k7=1;var e=la(),t=e("%RegExp%"),n=Rt(),r=e("%parseInt%"),i=ts(),a=FQ(),o=i("String.prototype.slice"),s=a(/^0b[01]+$/i),u=a(/^0o[0-7]+$/i),l=a(/^[-+]0x[0-9a-f]+$/i),c=["…","​","￾"].join(""),f=new t("["+c+"]","g"),d=a(f),p=xLe();return VC=function y(g){if(typeof g!="string")throw new n("Assertion failed: `argument` is not a String");if(s(g))return+r(o(g,2),2);if(u(g))return+r(o(g,2),8);if(d(g)||l(g))return NaN;var w=p(g);return w!==g?y(w):+g},VC}var YC,T7;function SLe(){if(T7)return YC;T7=1;var e=la(),t=Rt(),n=e("%Number%"),r=DQ(),i=_Le(),a=ELe();return YC=function(s){var u=r(s)?s:i(s,n);if(typeof u=="symbol")throw new t("Cannot convert a Symbol value to a number");if(typeof u=="bigint")throw new t("Conversion from 'BigInt' to 'number' is not allowed.");return typeof u=="string"?a(u):+u},YC}var QC,M7;function CLe(){if(M7)return QC;M7=1;var e=dR();return QC=function(n){return typeof n=="bigint"?n:e(n)},QC}var KC,P7;function ALe(){if(P7)return KC;P7=1;var e=CLe(),t=Rt();return KC=function(r){if(typeof r!="number"&&typeof r!="bigint")throw new t("argument must be a Number or a BigInt");var i=r<0?-e(-r):e(r);return i===0?0:i},KC}var XC,R7;function kLe(){if(R7)return XC;R7=1;var e=SLe(),t=ALe(),n=zg(),r=AQ();return XC=function(a){var o=e(a);return n(o)||o===0?0:r(o)?t(o):o},XC}var ZC,I7;function UQ(){if(I7)return ZC;I7=1;var e=OQ(),t=kLe();return ZC=function(r){var i=t(r);return i<=0?0:i>e?e:i},ZC}var JC,N7;function TLe(){if(N7)return JC;N7=1;var e=Rt(),t=ao(),n=K_(),r=UQ();return JC=function(a){if(!t(a))throw new e("Assertion failed: `obj` must be an Object");return r(n(a,"length"))},JC}var eA,O7;function MLe(){if(O7)return eA;O7=1;var e=Rt(),t=OQ(),n=oLe(),r=hLe(),i=K_(),a=pLe(),o=mR(),s=TLe(),u=LQ();return eA=function l(c,f,d,p,y){var g;arguments.length>5&&(g=arguments[5]);for(var w=p,_=0;_0&&(v=o(S)),v){var C=s(S);w=l(c,S,C,w,y-1)}else{if(w>=t)throw new e("index too large");r(c,u(w),S),w+=1}}_+=1}return w},eA}var tA,D7;function PLe(){if(D7)return tA;D7=1;var e=Y_(),t=wR();return tA=function(r){return t(r),e(r)},tA}var nA,$7;function RLe(){return $7||($7=1,nA=PLe()),nA}var rA,F7;function jQ(){if(F7)return rA;F7=1;var e=aLe(),t=MLe(),n=K_(),r=IQ(),i=UQ(),a=RLe();return rA=function(s){var u=a(this),l=i(n(u,"length"));if(!r(s))throw new TypeError("mapperFunction must be a function");var c;arguments.length>1&&(c=arguments[1]);var f=e(u,0);return t(f,u,l,0,1,s,c),f},rA}var iA,L7;function HQ(){if(L7)return iA;L7=1;var e=jQ();return iA=function(){return Array.prototype.flatMap||e},iA}var aA,B7;function ILe(){if(B7)return aA;B7=1;var e=Kl(),t=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",n=t&&Array.prototype[Symbol.unscopables],r=TypeError;return aA=function(a){if(typeof a!="string"||!a)throw new r("method must be a non-empty string");if(!e(Array.prototype,a))throw new r("method must be on Array.prototype");t&&(n[a]=!0)},aA}var oA,z7;function NLe(){if(z7)return oA;z7=1;var e=fR(),t=ILe(),n=HQ();return oA=function(){var i=n();return e(Array.prototype,{flatMap:i},{flatMap:function(){return Array.prototype.flatMap!==i}}),t("flatMap"),i},oA}var sA,U7;function OLe(){if(U7)return sA;U7=1;var e=fR(),t=CQ(),n=jQ(),r=HQ(),i=r(),a=NLe(),o=t(i);return e(o,{getPolyfill:r,implementation:n,shim:a}),sA=o,sA}var DLe=OLe();const X_=jn(DLe);function qQ({files:e}){return e!=null&&e.length?U.jsx(nt,{children:e.map((t,n)=>U.jsxs(nt.Item,{children:[U.jsx(nt.Icon,{verticalAlign:"middle",name:"circle",size:"tiny"}),U.jsxs(nt.Content,{children:[U.jsx(nt.Header,{children:U.jsx("a",{target:"_blank",href:t.url,rel:"noopener noreferrer",children:t.filename||t.url.split("/").pop()||t.url})}),U.jsx(nt.Description,{children:t.titl&&U.jsx("div",{children:t.titl})})]})]},n))}):null}function $Le(e,t,n){const r=Xm(e,t),i=e.qualifier||t.qualifier,a=i&&KU(i,n)+" ";return n.formatMessage({id:"age.exact",defaultMessage:"{qualifier}{age, plural, =0 {Less than 1 year} one {1 year} other {# years}}"},{age:r,qualifier:a})}function Zv(e,t,n){const r=Xm(e,t);return n.formatMessage({id:"age.more",defaultMessage:"More than {age, plural, =0 {0 years} one {1 year} other {# years}}"},{age:r})}function Jv(e,t,n){const r=Xm(e,t);return n.formatMessage({id:"age.less",defaultMessage:"Less than {age, plural, =0 {1 year} one {1 year} other {# years}}"},{age:r})}function uA(e,t,n,r,i){const a=Xm(t,n),o=Xm(e,r);return i.formatMessage({id:"age.between",defaultMessage:"Between {ageFrom} and {ageTo, plural, =0 {0 years} one {1 year} other {# years}}"},{ageFrom:a,ageTo:o})}function FLe(e,t){return e&&t?!ok(e)||!ok(t)||Vw(e,t)>0?!1:e.dateRange&&t.dateRange&&sk(e==null?void 0:e.dateRange)&&sk(t==null?void 0:t.dateRange)?!R0e(e.dateRange,t.dateRange):!0:!1}function Xm(e,t){const n=uk(e),r=uk(t),i=n.getUTCFullYear();let a=r.getUTCFullYear()-i,o=r.getUTCMonth()-n.getUTCMonth();return o<0&&(a--,o+=12),r.getUTCDate()-n.getUTCDate()<0&&o<=0&&a--,Math.abs(a)}function LLe(e,t,n){var r,i,a,o,s,u,l,c,f,d,p,y,g,w,_,b,E,S,v,C,k,M,R,N,P,B,V,$,F,z,Q,K,j,L;if(e&&t){const W=Bn.getDate(e),G=Bn.getDate(t);if(FLe(W,G)){if(W!=null&&W.date){if(G!=null&&G.date)return $Le(W.date,G.date,n);if((r=G==null?void 0:G.dateRange)!=null&&r.from&&((i=G.dateRange)!=null&&i.to))return uA(W.date,W.date,(a=G==null?void 0:G.dateRange)==null?void 0:a.from,(o=G==null?void 0:G.dateRange)==null?void 0:o.to,n);if((s=G==null?void 0:G.dateRange)!=null&&s.from)return Zv(W.date,(u=G.dateRange)==null?void 0:u.from,n);if((l=G==null?void 0:G.dateRange)!=null&&l.to)return Jv(W.date,(c=G.dateRange)==null?void 0:c.to,n)}if((f=W==null?void 0:W.dateRange)!=null&&f.from&&((d=W==null?void 0:W.dateRange)!=null&&d.to)){if(G!=null&&G.date)return uA((p=W==null?void 0:W.dateRange)==null?void 0:p.from,(y=W==null?void 0:W.dateRange)==null?void 0:y.to,G==null?void 0:G.date,G==null?void 0:G.date,n);if((g=G==null?void 0:G.dateRange)!=null&&g.from&&((w=G.dateRange)!=null&&w.to))return uA((_=W==null?void 0:W.dateRange)==null?void 0:_.from,(b=W==null?void 0:W.dateRange)==null?void 0:b.to,(E=G==null?void 0:G.dateRange)==null?void 0:E.from,(S=G==null?void 0:G.dateRange)==null?void 0:S.to,n);if((v=G==null?void 0:G.dateRange)!=null&&v.from)return Zv((C=W.dateRange)==null?void 0:C.to,(k=G.dateRange)==null?void 0:k.from,n);if((M=G==null?void 0:G.dateRange)!=null&&M.to)return Jv((R=W.dateRange)==null?void 0:R.from,(N=G.dateRange)==null?void 0:N.to,n)}if((P=W==null?void 0:W.dateRange)!=null&&P.from){if(G!=null&&G.date)return Jv((B=W.dateRange)==null?void 0:B.from,G.date,n);if((V=G==null?void 0:G.dateRange)!=null&&V.to)return Jv(($=W.dateRange)==null?void 0:$.from,(F=G.dateRange)==null?void 0:F.to,n)}if((z=W==null?void 0:W.dateRange)!=null&&z.to){if(G!=null&&G.date)return Zv((Q=W==null?void 0:W.dateRange)==null?void 0:Q.to,G.date,n);if((K=G==null?void 0:G.dateRange)!=null&&K.from)return Zv((j=W==null?void 0:W.dateRange)==null?void 0:j.to,(L=G.dateRange)==null?void 0:L.from,n)}}}}var ey={},ty={},ny={},j7;function BLe(){if(j7)return ny;j7=1,Object.defineProperty(ny,"__esModule",{value:!0});var e=uu(),t=n(e);function n(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i[a]=r[a]);return i.default=r,i}return ny.default=function(r,i,a){return t.createElement("a",{href:r,key:a},i)},ny}var ry={},H7;function zLe(){return H7||(H7=1,Object.defineProperty(ry,"__esModule",{value:!0}),ry.default=function(e){return e}),ry}var iy={},lA,q7;function ULe(){return q7||(q7=1,lA=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),lA}var cA,G7;function jLe(){return G7||(G7=1,cA=/[\0-\x1F\x7F-\x9F]/),cA}var fA,W7;function HLe(){return W7||(W7=1,fA=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),fA}var dA,V7;function qLe(){return V7||(V7=1,dA=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/),dA}var hA,Y7;function GLe(){return Y7||(Y7=1,hA=function(e){var t={};t.src_Any=ULe().source,t.src_Cc=jLe().source,t.src_Z=HLe().source,t.src_P=qLe().source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),hA}var pA,Q7;function WLe(){if(Q7)return pA;Q7=1;function e(E){var S=Array.prototype.slice.call(arguments,1);return S.forEach(function(v){v&&Object.keys(v).forEach(function(C){E[C]=v[C]})}),E}function t(E){return Object.prototype.toString.call(E)}function n(E){return t(E)==="[object String]"}function r(E){return t(E)==="[object Object]"}function i(E){return t(E)==="[object RegExp]"}function a(E){return t(E)==="[object Function]"}function o(E){return E.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function u(E){return Object.keys(E||{}).reduce(function(S,v){return S||s.hasOwnProperty(v)},!1)}var l={"http:":{validate:function(E,S,v){var C=E.slice(S);return v.re.http||(v.re.http=new RegExp("^\\/\\/"+v.re.src_auth+v.re.src_host_port_strict+v.re.src_path,"i")),v.re.http.test(C)?C.match(v.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(E,S,v){var C=E.slice(S);return v.re.no_http||(v.re.no_http=new RegExp("^"+v.re.src_auth+"(?:localhost|(?:(?:"+v.re.src_domain+")\\.)+"+v.re.src_domain_root+")"+v.re.src_port+v.re.src_host_terminator+v.re.src_path,"i")),v.re.no_http.test(C)?S>=3&&E[S-3]===":"||S>=3&&E[S-3]==="/"?0:C.match(v.re.no_http)[0].length:0}},"mailto:":{validate:function(E,S,v){var C=E.slice(S);return v.re.mailto||(v.re.mailto=new RegExp("^"+v.re.src_email_name+"@"+v.re.src_host_strict,"i")),v.re.mailto.test(C)?C.match(v.re.mailto)[0].length:0}}},c="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",f="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function d(E){E.__index__=-1,E.__text_cache__=""}function p(E){return function(S,v){var C=S.slice(v);return E.test(C)?C.match(E)[0].length:0}}function y(){return function(E,S){S.normalize(E)}}function g(E){var S=E.re=GLe()(E.__opts__),v=E.__tlds__.slice();E.onCompile(),E.__tlds_replaced__||v.push(c),v.push(S.src_xn),S.src_tlds=v.join("|");function C(N){return N.replace("%TLDS%",S.src_tlds)}S.email_fuzzy=RegExp(C(S.tpl_email_fuzzy),"i"),S.link_fuzzy=RegExp(C(S.tpl_link_fuzzy),"i"),S.link_no_ip_fuzzy=RegExp(C(S.tpl_link_no_ip_fuzzy),"i"),S.host_fuzzy_test=RegExp(C(S.tpl_host_fuzzy_test),"i");var k=[];E.__compiled__={};function M(N,P){throw new Error('(LinkifyIt) Invalid schema "'+N+'": '+P)}Object.keys(E.__schemas__).forEach(function(N){var P=E.__schemas__[N];if(P!==null){var B={validate:null,link:null};if(E.__compiled__[N]=B,r(P)){i(P.validate)?B.validate=p(P.validate):a(P.validate)?B.validate=P.validate:M(N,P),a(P.normalize)?B.normalize=P.normalize:P.normalize?M(N,P):B.normalize=y();return}if(n(P)){k.push(N);return}M(N,P)}}),k.forEach(function(N){E.__compiled__[E.__schemas__[N]]&&(E.__compiled__[N].validate=E.__compiled__[E.__schemas__[N]].validate,E.__compiled__[N].normalize=E.__compiled__[E.__schemas__[N]].normalize)}),E.__compiled__[""]={validate:null,normalize:y()};var R=Object.keys(E.__compiled__).filter(function(N){return N.length>0&&E.__compiled__[N]}).map(o).join("|");E.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+S.src_ZPCc+"))("+R+")","i"),E.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+S.src_ZPCc+"))("+R+")","ig"),E.re.pretest=RegExp("("+E.re.schema_test.source+")|("+E.re.host_fuzzy_test.source+")|@","i"),d(E)}function w(E,S){var v=E.__index__,C=E.__last_index__,k=E.__text_cache__.slice(v,C);this.schema=E.__schema__.toLowerCase(),this.index=v+S,this.lastIndex=C+S,this.raw=k,this.text=k,this.url=k}function _(E,S){var v=new w(E,S);return E.__compiled__[v.schema].normalize(v,E),v}function b(E,S){if(!(this instanceof b))return new b(E,S);S||u(E)&&(S=E,E={}),this.__opts__=e({},s,S),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=e({},l,E),this.__compiled__={},this.__tlds__=f,this.__tlds_replaced__=!1,this.re={},g(this)}return b.prototype.add=function(S,v){return this.__schemas__[S]=v,g(this),this},b.prototype.set=function(S){return this.__opts__=e(this.__opts__,S),this},b.prototype.test=function(S){if(this.__text_cache__=S,this.__index__=-1,!S.length)return!1;var v,C,k,M,R,N,P,B,V;if(this.re.schema_test.test(S)){for(P=this.re.schema_search,P.lastIndex=0;(v=P.exec(S))!==null;)if(M=this.testSchemaAt(S,v[2],P.lastIndex),M){this.__schema__=v[2],this.__index__=v.index+v[1].length,this.__last_index__=v.index+v[0].length+M;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(B=S.search(this.re.host_fuzzy_test),B>=0&&(this.__index__<0||B=0&&(k=S.match(this.re.email_fuzzy))!==null&&(R=k.index+k[1].length,N=k.index+k[0].length,(this.__index__<0||Rthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=R,this.__last_index__=N))),this.__index__>=0},b.prototype.pretest=function(S){return this.re.pretest.test(S)},b.prototype.testSchemaAt=function(S,v,C){return this.__compiled__[v.toLowerCase()]?this.__compiled__[v.toLowerCase()].validate(S,C,this):0},b.prototype.match=function(S){var v=0,C=[];this.__index__>=0&&this.__text_cache__===S&&(C.push(_(this,v)),v=this.__last_index__);for(var k=v?S.slice(v):S;this.test(k);)C.push(_(this,v)),k=k.slice(this.__last_index__),v+=this.__last_index__;return C.length?C:null},b.prototype.tlds=function(S,v){return S=Array.isArray(S)?S:[S],v?(this.__tlds__=this.__tlds__.concat(S).sort().filter(function(C,k,M){return C!==M[k-1]}).reverse(),g(this),this):(this.__tlds__=S.slice(),this.__tlds_replaced__=!0,g(this),this)},b.prototype.normalize=function(S){S.schema||(S.url="http://"+S.url),S.schema==="mailto:"&&!/^mailto:/i.test(S.url)&&(S.url="mailto:"+S.url)},b.prototype.onCompile=function(){},pA=b,pA}const VLe=JSON.parse('["aaa","aarp","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","lancaster","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","link","lipsy","live","living","lk","llc","llp","loan","loans","locker","locus","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mv","mw","mx","my","mz","na","nab","nagoya","name","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shell","shia","shiksha","shoes","shop","shopping","shouji","show","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","vermögensberater","vermögensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volvo","vote","voting","voto","voyage","vu","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","ελ","ευ","бг","бел","дети","ею","католик","ком","мкд","мон","москва","онлайн","орг","рус","рф","сайт","срб","укр","қаз","հայ","ישראל","קום","ابوظبي","ارامكو","الاردن","البحرين","الجزائر","السعودية","العليان","المغرب","امارات","ایران","بارت","بازار","بيتك","بھارت","تونس","سودان","سورية","شبكة","عراق","عرب","عمان","فلسطين","قطر","كاثوليك","كوم","مصر","مليسيا","موريتانيا","موقع","همراه","پاکستان","ڀارت","कॉम","नेट","भारत","भारतम्","भारोत","संगठन","বাংলা","ভারত","ভাৰত","ਭਾਰਤ","ભારત","ଭାରତ","இந்தியா","இலங்கை","சிங்கப்பூர்","భారత్","ಭಾರತ","ഭാരതം","ලංකා","คอม","ไทย","ລາວ","გე","みんな","アマゾン","クラウド","グーグル","コム","ストア","セール","ファッション","ポイント","世界","中信","中国","中國","中文网","亚马逊","企业","佛山","信息","健康","八卦","公司","公益","台湾","台灣","商城","商店","商标","嘉里","嘉里大酒店","在线","大拿","天主教","娱乐","家電","广东","微博","慈善","我爱你","手机","招聘","政务","政府","新加坡","新闻","时尚","書籍","机构","淡马锡","游戏","澳門","点看","移动","组织机构","网址","网店","网站","网络","联通","谷歌","购物","通販","集团","電訊盈科","飞利浦","食品","餐厅","香格里拉","香港","닷넷","닷컴","삼성","한국"]');var K7;function YLe(){if(K7)return iy;K7=1,Object.defineProperty(iy,"__esModule",{value:!0});var e=WLe(),t=i(e),n=VLe,r=i(n);function i(o){return o&&o.__esModule?o:{default:o}}var a=new t.default;return a.tlds(r.default),iy.default=function(o){return a.match(o)},iy}var ay={},X7;function QLe(){return X7||(X7=1,Object.defineProperty(ay,"__esModule",{value:!0}),ay.default=function(e){return e}),ay}var Z7;function KLe(){if(Z7)return ty;Z7=1,Object.defineProperty(ty,"__esModule",{value:!0});var e=function(){function _(b,E){for(var S=0;SM&&k.push(S.substring(M,R.index));var P=v.props.hrefDecorator(R.url),B=v.props.textDecorator(R.text),V=v.props.componentDecorator(P,B,N);k.push(V),M=R.lastIndex}),S.length>M&&k.push(S.substring(M)),k.length===1?k[0]:k}},{key:"parse",value:function(S){var v=this,C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof S=="string"?this.parseString(S):n.isValidElement(S)&&S.type!=="a"&&S.type!=="button"?n.cloneElement(S,{key:C},this.parse(S.props.children)):Array.isArray(S)?S.map(function(k,M){return v.parse(k,M)}):S}},{key:"render",value:function(){return n.createElement(n.Fragment,null,this.parse(this.props.children))}}]),b}(n.Component);return w.defaultProps={componentDecorator:i.default,hrefDecorator:o.default,matchDecorator:u.default,textDecorator:c.default},ty.default=w,ty}var J7;function XLe(){if(J7)return ey;J7=1,Object.defineProperty(ey,"__esModule",{value:!0});var e=KLe(),t=n(e);function n(r){return r&&r.__esModule?r:{default:r}}return ey.default=t.default,ey}var ZLe=XLe();const JLe=jn(ZLe);function UT({children:e}){return U.jsx(JLe,{componentDecorator:(t,n,r)=>U.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:n},r),children:e})}function _R(e){return U.jsx(U.Fragment,{children:e.lines.map((t,n)=>U.jsxs("div",{children:[U.jsx(UT,{children:t}),U.jsx("br",{})]},n))})}function GQ({sources:e}){const t=ai();return e!=null&&e.length?U.jsx(nt,{children:e.map((n,r)=>U.jsxs(nt.Item,{children:[U.jsx(nt.Icon,{verticalAlign:"middle",name:"circle",size:"tiny"}),U.jsxs(nt.Content,{children:[U.jsx(nt.Header,{children:U.jsx(UT,{children:[n.author,n.title,n.publicationInfo].filter(i=>!!i).join(", ")})}),U.jsxs(nt.Description,{children:[U.jsx(UT,{children:n.page}),n.date&&` [${qf(n.date,t)}]`]})]})]},r))}):null}function WQ(e){const[t,n]=J.useState(!1),[r,i]=J.useState(!1),[a,o]=J.useState(!1),[s,u]=J.useState("");return r&&s!==e.url&&i(!1),U.jsxs(U.Fragment,{children:[U.jsx(bn,{className:r?"loaded-image-thumbnail":"hidden-image",onClick:()=>n(!0),onLoad:()=>{i(!0),u(e.url),o(!1)},onError:l=>{i(!0),u(e.url),o(!0),l.currentTarget.alt=""},src:e.url,alt:e.title||e.filename,centered:!0}),U.jsx(qa,{className:r?"hidden-image":"image-placeholder",children:U.jsx(qa.Image,{square:!0})}),a&&U.jsx(tm,{fluid:!0,textAlign:"center",children:U.jsx(Ti,{negative:!0,compact:!0,children:U.jsx(Ti.Header,{children:U.jsx(Ue,{id:"error.failed_to_load_image",defaultMessage:"Failed to load image file"})})})}),U.jsxs(Rn,{basic:!0,size:"large",closeIcon:U.jsx(ut,{name:"close",color:"red"}),open:t,onClose:()=>n(!1),onOpen:()=>n(!0),centered:!1,children:[U.jsx(Rn.Header,{children:e.title}),U.jsx(Rn.Content,{image:!0,children:U.jsx(bn,{className:"modal-image",src:e.url,alt:e.title||e.filename,label:U.jsx(ri,{attached:"bottom",content:e.filename}),wrapped:!0})})]})]})}function e7e(e){return!!e&&e.map((t,n)=>U.jsx(nt,{children:U.jsx(nt.Item,{children:U.jsx(WQ,{url:t.url,filename:t.filename,title:t.title})})},n))}function t7e(e){return!!(e!=null&&e.length)&&e.map((t,n)=>U.jsx("div",{children:U.jsx(_R,{lines:t.map((r,i)=>U.jsx("i",{children:r},i))})},n))}function n7e(e){var f,d,p,y;const[t,n]=J.useState(-1),[r,i]=J.useState("");(!r||r!==e.indi)&&(n(-1),i(e.indi));function a(g,w){w.index!==void 0&&t!==w.index?n(w.index):n(-1)}const o=((f=e.images)==null?void 0:f.length)&&{menuItem:U.jsx(sn.Item,{fitted:!0,onClick:a,children:U.jsx(Mo,{content:U.jsx(Ue,{id:"extras.images",defaultMessage:"Images"}),size:"mini",position:"bottom center",trigger:U.jsx(ut,{circular:!0,name:"camera"})})},"images"),render:()=>U.jsx(Ki.Pane,{children:e7e(e.images)})},s=((d=e.notes)==null?void 0:d.length)&&{menuItem:U.jsx(sn.Item,{fitted:!0,onClick:a,children:U.jsx(Mo,{content:U.jsx(Ue,{id:"extras.notes",defaultMessage:"Notes"}),size:"mini",position:"bottom center",trigger:U.jsx(ut,{circular:!0,name:"sticky note outline"})})},"notes"),render:()=>U.jsx(Ki.Pane,{children:t7e(e.notes)})},u=((p=e.sources)==null?void 0:p.length)&&{menuItem:U.jsx(sn.Item,{fitted:!0,onClick:a,children:U.jsx(Mo,{content:U.jsx(Ue,{id:"extras.sources",defaultMessage:"Sources"}),size:"mini",position:"bottom center",trigger:U.jsx(ut,{circular:!0,name:"quote right"})})},"sources"),render:()=>U.jsx(Ki.Pane,{children:U.jsx(GQ,{sources:e.sources})})},l=((y=e.files)==null?void 0:y.length)&&{menuItem:U.jsx(sn.Item,{fitted:!0,onClick:a,children:U.jsx(Mo,{content:U.jsx(Ue,{id:"extras.files",defaultMessage:"Additonal files"}),size:"mini",position:"bottom center",trigger:U.jsx(ut,{circular:!0,name:"file alternate outline"})})},"files"),render:()=>U.jsx(Ki.Pane,{children:U.jsx(qQ,{files:e.files})})},c=[o,s,u,l].flatMap(g=>g?[g]:[]);return c.length?U.jsx(vt.Description,{children:U.jsx(Ki,{className:"event-extras",activeIndex:t,renderActiveOnly:!0,menu:{tabular:!0,attached:!0,compact:!0,borderless:!0},panes:c})}):null}const r7e=new Map([["ADOP","Adoption"],["BAPM","Baptism"],["BARM","Bar Mitzvah"],["BASM","Bas Mitzvah"],["BIRT","Birth"],["BLES","Blessing"],["BURI","Burial"],["CENS","Census"],["CHR","Christening"],["CHRA","Adult christening"],["CONF","Confirmation"],["CREM","Cremation"],["DEAT","Death"],["DEG","Degree"],["DIV","Divorce"],["DIVF","Divorce filed"],["EDUC","Education"],["ELEC","Elected"],["EMAIL","E-mail"],["EMIG","Emigration"],["ENGA","Engagement"],["EVEN","Event"],["FACT","Fact"],["FCOM","First communion"],["GRAD","Graduation"],["IMMI","Immigration"],["MARB","Marriage bann"],["MARC","Marriage contract"],["MARL","Marriage license"],["MARR","Marriage"],["MARS","Marriage settlement"],["MDCL","Medical info"],["MILT","Military services"],["NATU","Naturalization"],["OBJE","Additional files"],["OCCU","Occupation"],["ORDN","Ordination"],["PROB","Probate"],["PROP","Property"],["RESI","Residence"],["RETI","Retirement"],["SOUR","Sources"],["TITL","Title"],["WILL","Will"],["WWW","WWW"],["birth","Birth name"],["married","Married name"],["maiden","Maiden name"],["immigrant","Immigrant name"],["aka","Also known as"]]);function Il(e){const t=e.tag.replace(/_/g,"");return U.jsx(Ue,{id:`gedcom.${t}`,defaultMessage:r7e.get(t)||t})}function i7e(e){const t=si(),n=q0e(e.person),r=Ur.parse(t.search);return r.indi=Ap(e.person.pointer),U.jsx(vt.Meta,{children:U.jsx(uf,{to:{pathname:"/view",search:Ur.stringify(r)},children:n||U.jsx(Ue,{id:"name.unknown_name",defaultMessage:"N.N."})})})}const bR=["BIRT"],a7e=["ADOP","BAPM","BARM","BASM","BLES","CENS","CHR","CHRA","CONF","EDUC","EMIG","EVEN","FAMS","FCOM","GRAD","IMMI","NATU","ORDN","OCCU","PROP","RESI","RETI","WILL","_DEG","_ELEC","_MDCL","_MILT"],VQ=["ANUL","CENS","DIV","DIVF","ENGA","EVEN","MARB","MARC","MARL","MARR","MARS"],YQ=[...a7e,...VQ],xR=["DEAT"],QQ=["BURI","CREM","PROB"],o7e=[bR,YQ,xR,QQ],s7e=[...bR,...YQ,...xR,...QQ];function u7e(e){const t=ai();return U.jsxs("div",{className:"item-header",children:[U.jsx(un,{as:"span",size:"small",children:U.jsx(Il,{tag:l7e(e.event)})}),e.event.date?U.jsx(un,{as:"span",textAlign:"right",sub:!0,children:qf(e.event.date,t)}):null]})}function l7e(e){return e.tag==="EVEN"&&e.type?e.type:e.tag}function c7e(e,t,n){const r=t.tree.filter(i=>["WIFE","HUSB"].includes(i.tag)).find(i=>!i.data.includes(e));if(r)return oa(r,n,i=>i.indis)}function f7e(e,t,n,r){if(!xR.includes(e.tag))return;const i=xm(e),a=n.indis[t].tree.filter(o=>bR.includes(o.tag)).map(o=>xm(o)).find(o=>o);if(!(!a||!i))return LLe(a==null?void 0:a.data,i==null?void 0:i.data,r)}function KQ(e){const t=e.tree.find(n=>n.tag==="PLAC");return t!=null&&t.data?wl(t):void 0}function XQ(e,t){return e.tree.filter(n=>n.tag==="OBJE").map(n=>oa(n,t,r=>r.other)).map(n=>nj(n)).flatMap(n=>n?[{url:(n==null?void 0:n.data)||"",filename:Yw(n)||""}]:[])}function ZQ(e,t){return e.tree.filter(n=>n.tag==="OBJE").map(n=>oa(n,t,r=>r.other)).map(n=>tj(n)).flatMap(n=>n?[{url:(n==null?void 0:n.data)||"",filename:Yw(n)||""}]:[])}function JQ(e,t){return e.tree.filter(n=>n.tag==="SOUR").map(n=>ij(n,t))}function eK(e,t){const n=e.tree.filter(i=>i.tag==="NOTE").map(i=>oa(i,t,a=>a.other)),r=e.tag!=="EVEN"?e.tree.filter(i=>i.tag==="TYPE"):[];return[e,...r,...n].filter(i=>!!i.data).filter(i=>i.data!=="Y").map(i=>wl(i))}function d7e(e,t,n,r){return e.tag==="FAMS"?p7e(e,t,n):h7e(e,t,n,r)}function h7e(e,t,n,r){const i=xm(e)||null;return[{tag:e.tag,date:i?Bn.getDate(i.data):void 0,type:rj(e),age:f7e(e,n,t,r),place:KQ(e),images:XQ(e,t),files:ZQ(e,t),notes:eK(e,t),sources:JQ(e,t),indi:n}]}function p7e(e,t,n){const r=oa(e,t,i=>i.fams);return X_(VQ,i=>r.tree.filter(a=>a.tag===i)).map(i=>{const a=xm(i)||null;return{tag:i.tag,date:a?Bn.getDate(a.data):void 0,type:rj(i),personLink:c7e(n,r,t),place:KQ(i),images:XQ(i,t),files:ZQ(i,t),notes:eK(i,t),sources:JQ(i,t),indi:n}})}function m7e(e){return U.jsx(vt,{children:U.jsxs(vt.Content,{children:[U.jsx(u7e,{event:e.event}),!!e.event.age&&U.jsx(vt.Meta,{children:e.event.age}),!!e.event.personLink&&U.jsx(i7e,{person:e.event.personLink}),!!e.event.place&&U.jsx(vt.Description,{children:e.event.place}),U.jsx(n7e,{images:e.event.images,notes:e.event.notes,sources:e.event.sources,indi:e.event.indi,files:e.event.files})]})})}function g7e(e){const t=ai(),n=X_(o7e,r=>e.entries.filter(i=>r.includes(i.tag)).map(i=>d7e(i,e.gedcom,e.indi,t)).flatMap(i=>i).sort((i,a)=>Vw(i.date,a.date)));return n.length?U.jsx(U.Fragment,{children:n.map((r,i)=>U.jsx(m7e,{event:r},i))}):null}const v7e=[...s7e,"NAME","SEX","FAMC","FAMS","NOTE","SOUR","FACT"];function y7e(e){const t=[];return e.data&&t.push(...wl(e)),e.tree.filter(n=>n.tag==="NOTE").forEach(n=>wl(n).forEach(r=>t.push(U.jsx("i",{children:r})))),t.length?U.jsxs(U.Fragment,{children:[U.jsx(un,{sub:!0,children:U.jsx(Il,{tag:e.tag})}),U.jsx("span",{children:U.jsx(_R,{lines:t})})]}):null}function w7e(e){if(!e.data)return null;const t=e.tree.filter(r=>r.tag==="TYPE").flatMap(r=>wl(r)).join().trim(),n=wl(e).join(" ").trim();return t?U.jsxs(U.Fragment,{children:[U.jsx(un,{sub:!0,children:U.jsx(Il,{tag:e.tag})}),U.jsxs("div",{children:[U.jsx("b",{children:t}),": ",n]})]}):U.jsxs(U.Fragment,{children:[U.jsx(un,{sub:!0,children:U.jsx(Il,{tag:e.tag})}),U.jsx("div",{children:n})]})}function _7e(e,t){const n=oa(e,t,i=>i.other),r=nj(n);return!r||!ER(n)?null:U.jsx("div",{className:"person-image",children:U.jsx(WQ,{url:r.data,filename:Yw(r)||""})})}function b7e(e,t){const n=e.map(r=>ij(r,t));return n.length?U.jsxs(U.Fragment,{children:[U.jsx("div",{className:"item-header",children:U.jsx(un,{as:"span",size:"small",children:U.jsx(Il,{tag:"SOUR"})})}),U.jsx(GQ,{sources:n})]}):null}function x7e(e,t){const n=[];return e.map(r=>oa(r,t,i=>i.other)).forEach(r=>{var a;const i=tj(r);i&&n.push({url:i.data,filename:Yw(i),titl:(a=r.tree.find(o=>o.tag==="TITL"))==null?void 0:a.data})}),n.length?U.jsxs(U.Fragment,{children:[U.jsx("div",{className:"item-header",children:U.jsx(un,{as:"span",size:"small",children:U.jsx(Il,{tag:"OBJE"})})}),U.jsx(qQ,{files:n})]}):null}function E7e(e,t){const n=oa(e,t,r=>r.other);return!n||!ER(n)?null:U.jsx(_R,{lines:wl(n).map((r,i)=>U.jsx("i",{children:r},i))})}function S7e(e){var f,d,p,y,g,w,_,b;const t=(f=e.tree.find(E=>E.tag==="NPFX"))==null?void 0:f.data;let n=(d=e.tree.find(E=>E.tag==="GIVN"))==null?void 0:d.data,r=(p=e.tree.find(E=>E.tag==="_RUFNAME"))==null?void 0:p.data;const i=(y=e.tree.find(E=>E.tag==="NICK"))==null?void 0:y.data,a=(g=e.tree.find(E=>E.tag==="SPFX"))==null?void 0:g.data,o=(w=e.tree.find(E=>E.tag==="SURN"))==null?void 0:w.data,s=(_=e.tree.find(E=>E.tag==="NSFX"))==null?void 0:_.data;n&&r&&n.includes(r)&&(n=n.replace(r,`"${r}"`),r=void 0);const l=[t,n,r&&`"${r}"`,i&&`(${i})`,a,o,s].filter(Boolean).join(" ").trim()||e.data.replaceAll("/","")||"",c=(b=e.tree.find(E=>E.tag==="TYPE"&&E.data!=="Unknown"))==null?void 0:b.data;return U.jsxs(U.Fragment,{children:[U.jsx(un,{as:"span",size:"large",children:l||U.jsx(Ue,{id:"name.unknown_name",defaultMessage:"N.N."})}),l&&c&&U.jsx(vt.Meta,{children:U.jsx(Il,{tag:c})})]})}function oy(e,t,n,r){return X_(n,i=>e.filter(a=>a.tag===i).map(a=>r(a,t))).filter(i=>i!==null).map((i,a)=>U.jsx(vt,{children:U.jsx(vt.Content,{children:i})},a))}function e9(e,t,n,r){const i=X_(n,o=>e.filter(s=>s.tag===o)).filter(o=>o!==null),a=i.length?r(i,t):null;return a?U.jsx(vt,{children:U.jsx(vt.Content,{children:a})}):null}function ER(e){return e.tree.length>0||e.data&&!e.data.startsWith("@")}function C7e(e,t){return e.filter(n=>!v7e.includes(n.tag)).map(n=>oa(n,t,r=>r.other)).filter(ER).map(n=>y7e(n)).filter(n=>n!==null).map((n,r)=>U.jsx(vt,{children:U.jsx(vt.Content,{children:n})},r))}function A7e(e){return U.jsx(vt,{children:U.jsxs(vt.Content,{children:[U.jsx(un,{sub:!0,children:U.jsx(Ue,{id:"config.ids",defaultMessage:"Identification"})}),U.jsx("div",{children:U.jsx("i",{children:e})})]})})}function k7e(e){const t=e.gedcom.indis[e.indi].tree;return U.jsx("div",{className:"details",children:U.jsxs(vt.Group,{divided:!0,children:[oy(t,e.gedcom,["NAME"],S7e),oy(t,e.gedcom,["OBJE"],_7e),U.jsx(g7e,{gedcom:e.gedcom,entries:t,indi:e.indi}),e.config.id===aP.SHOW?A7e(e.indi):null,oy(t,e.gedcom,["FACT"],w7e),C7e(t,e.gedcom),oy(t,e.gedcom,["NOTE"],E7e),e9(t,e.gedcom,["OBJE"],x7e),e9(t,e.gedcom,["SOUR"],b7e)]})})}function T7e({data:e,selectedIndiId:t,config:n,onConfigChange:r,expanded:i,onToggle:a}){const o=ai(),s=[{menuItem:o.formatMessage({id:"tab.info",defaultMessage:"Info"}),render:()=>U.jsx(k7e,{gedcom:e.gedcom,indi:t,config:n})},{menuItem:o.formatMessage({id:"tab.settings",defaultMessage:"Settings"}),render:()=>U.jsx(Y0e,{gedcom:e.gedcom,config:n,onChange:r})}];return U.jsxs(hu,{id:"sidebar",animation:"overlay",icon:"labeled",width:i?"wide":"very thin",direction:"right",visible:!0,children:[i?U.jsx(Ki,{id:"sideTabs",panes:s}):U.jsx(CFe,{gedcom:e.gedcom,indi:t}),U.jsx(Un,{id:"sideToggle",icon:!0,size:"mini",onClick:()=>a(),children:U.jsx(ut,{size:"large",name:i?"arrow right":"arrow left"})})]})}function M7e(e,t){return e instanceof xd?t.formatMessage({id:`error.${e.code}`,defaultMessage:e.message},e.args):e.message}function P7e(e){return U.jsxs(Ti,{negative:!0,className:"error",children:[U.jsx(Ti.Header,{children:U.jsx(Ue,{id:"error.failed_to_load_file",defaultMessage:"Failed to load file"})}),U.jsx("p",{children:e.message})]})}function R7e(e){return U.jsx(Ci,{open:e.open,onClose:e.onDismiss,children:U.jsxs(Ti,{negative:!0,className:"errorPopup",onDismiss:e.onDismiss,children:[U.jsx(Ti.Header,{children:U.jsx(Ue,{id:"error.error",defaultMessage:"Error"})}),U.jsx("p",{children:e.message})]})})}function t9(e,t){const n=t[e];return typeof n=="string"?n:void 0}function I7e(e){const t=Ur.parse(e.search),n=p=>t9(p,t),r=n("view"),i=new Map([["relatives",Ds.Relatives],["fancy",Ds.Fancy],["donatso",Ds.Donatso]]),a=n("file"),o=n("url"),s=n("embedded")==="true";let u;if(n("source")==="wikitree"){const p=Ur.parse(window.location.search);u={source:Jn.WIKITREE,authcode:n("authcode")||t9("authcode",p)}}else a?u={source:Jn.UPLOADED,hash:a,gedcom:e.state&&e.state.data,images:e.state&&e.state.images}:o?u={source:Jn.GEDCOM_URL,url:o,handleCors:n("handleCors")!=="false"}:s&&(u={source:Jn.EMBEDDED});const l=n("indi"),c=Number(n("gen")),f=l?{id:l,generation:isNaN(c)?0:c}:void 0;function d(){return window.matchMedia("(max-width: 767px)").matches?n("sidePanel")==="true":n("sidePanel")!=="false"}return{sourceSpec:u,selection:f,chartType:i.get(r)||Ds.Hourglass,showSidePanel:d(),standalone:n("standalone")!=="false"&&!s&&!0,showWikiTreeMenus:n("showWikiTreeMenus")!=="false",freezeAnimation:n("freeze")==="true",config:W0e(t)}}function N7e(){const[e,t]=J.useState(0),[n,r]=J.useState(),[i,a]=J.useState(),[o,s]=J.useState(),[u,l]=J.useState(),[c,f]=J.useState(!1),[d,p]=J.useState(!0),[y,g]=J.useState(!0),[w,_]=J.useState(Ds.Hourglass),[b,E]=J.useState(!1),[S,v]=J.useState(),[C,k]=J.useState(!1),[M,R]=J.useState(xy),N=ai(),P=Dl(),B=si();function V(we){(!i||i.id!==we.id||i.generation!==we.generation)&&(a(we),s(we.id))}function $(we,Ye){if(Ye===void 0)return;const Ge=we.id===aP.HIDE,Me=we.sex===aj.HIDE;nP(Ye.chartData).forEach(bt=>{bt.hideId=Ge,bt.hideSex=Me})}function F(){const we=!c;f(we),H({sidePanel:we?"true":"false"})}function z(we){l(we),t(2)}const Q=new Kve,K=new Xve,j=new Vye(N),L=new Zve;function W(we,Ye){if(!S||S.source!==we.source)return!0;const Ge={spec:we,selection:Ye},Me={spec:S,selection:i};switch(Ge.spec.source){case Jn.UPLOADED:return Q.isNewData(Ge,Me,n);case Jn.GEDCOM_URL:return K.isNewData(Ge,Me,n);case Jn.WIKITREE:return j.isNewData(Ge,Me,n);case Jn.EMBEDDED:return L.isNewData(Ge,Me,n)}}function G(we,Ye){switch(we.source){case Jn.UPLOADED:return Q.loadData({spec:we,selection:Ye});case Jn.GEDCOM_URL:return K.loadData({spec:we,selection:Ye});case Jn.WIKITREE:return j.loadData({spec:we,selection:Ye});case Jn.EMBEDDED:return L.loadData({spec:we,selection:Ye})}}J.useEffect(()=>{(async()=>{var Ye,Ge;if(B.pathname!=="/view"){e!==0&&t(0);return}const we=I7e(B);if(!we.sourceSpec){P({pathname:"/"},{replace:!0});return}if(e===0||W(we.sourceSpec,we.selection)){t(1),v(we.sourceSpec),a(we.selection),s((Ye=we.selection)==null?void 0:Ye.id),p(we.standalone),g(we.showWikiTreeMenus),_(we.chartType),k(we.freezeAnimation),R(we.config);try{const Me=await G(we.sourceSpec,we.selection);r(Me),$(we.config,Me),f(we.showSidePanel),t(3)}catch(Me){z(M7e(Me,N))}}else if(e===3||e===4){const Me=we.sourceSpec.source===Jn.WIKITREE&&(!i||i.id!==((Ge=we.selection)==null?void 0:Ge.id));if(_(we.chartType),t(Me?4:3),V(_2(n.chartData,we.selection)),Me)try{const Ke=await Uj(we.selection.id,N),bt=_2(Ke.chartData,we.selection);r(Ke),a(bt),s(bt.id),t(3)}catch(Ke){t(3),ve(N.formatMessage({id:"error.failed_wikitree_load_more",defaultMessage:"Failed to load data from WikiTree. {error}"},{error:Ke}))}}})()});function H(we){const Ye=Ur.parse(B.search);for(const Ge in we)Ye[Ge]=we[Ge];B.search=Ur.stringify(Ye),P(B)}function ne(we){we.id.startsWith(lP)||(Ln("selection_changed"),H({indi:we.id,gen:we.generation}))}function ce(we){s(we.id)}function he(){Ln("print"),hve()}function ve(we){E(!0),l(we)}async function Ee(){Ln("download_pdf");try{await vve()}catch{ve(N.formatMessage({id:"error.failed_pdf",defaultMessage:"Failed to generate PDF file. Please try with a smaller diagram or download an SVG file."}))}}async function pe(){Ln("download_png");try{await gve()}catch{ve(N.formatMessage({id:"error.failed_png",defaultMessage:"Failed to generate PNG file. Please try with a smaller diagram or download an SVG file."}))}}function be(){Ln("download_svg"),pve()}function Ne(){E(!1)}function ge(we){return w===Ds.Donatso?U.jsx(jOe,{data:n.chartData,selection:we,onSelection:ne}):U.jsx(Sve,{data:n.chartData,selection:we,chartType:w,onSelection:ne,onDetailSelection:ce,freezeAnimation:C,colors:M.color,hideIds:M.id,hideSex:M.sex})}function Le(){switch(e){case 3:case 4:{const we=_2(n.chartData,i);return U.jsxs("div",{id:"content",children:[U.jsx(R7e,{open:b,message:u,onDismiss:Ne}),e===4?U.jsx(Af,{active:!0,size:"small",className:"loading-more"}):null,U.jsxs(Of,{children:[U.jsx(T7e,{data:n,selectedIndiId:o||we.id,config:M,expanded:c,onToggle:F,onConfigChange:Ye=>{R(Ye),$(Ye,n),H(V0e(Ye))}}),U.jsx(Df,{children:ge(we)})]})]})}case 2:return U.jsx(P7e,{message:u});case 0:case 1:return U.jsx(Af,{active:!0,size:"large"})}}return U.jsxs(U.Fragment,{children:[U.jsx(SFe,{data:n==null?void 0:n.chartData,allowAllRelativesChart:(S==null?void 0:S.source)!==Jn.WIKITREE,allowPrintAndDownload:w!==Ds.Donatso,showingChart:B.pathname==="/view"&&(e===3||e===4),standalone:d,eventHandlers:{onSelection:ne,onPrint:he,onDownloadPdf:Ee,onDownloadPng:pe,onDownloadSvg:be},showWikiTreeMenus:(S==null?void 0:S.source)===Jn.WIKITREE&&y}),U.jsxs(Wee,{children:[U.jsx(uy,{path:"/",element:U.jsx(F$e,{})}),U.jsx(uy,{path:"/view",element:Le()}),U.jsx(uy,{path:"*",element:U.jsx(qee,{to:"/",replace:!0})})]})]})}const O7e={"menu.open":"Отваряне","menu.open_file":"Отваряне на файл","menu.load_from_url":"Зареждане от адрес","menu.select_wikitree_id":"Избор на WikiTree ID","menu.print":"Отпечатване","menu.download":"Изтегляне","menu.pdf_file":"PDF файл","menu.png_file":"PNG файл","menu.svg_file":"SVG файл","menu.download_pdf":"Изтегляне като PDF","menu.download_png":"Изтегляне като PNG","menu.download_svg":"Изтегляне като SVG","menu.view":"Изглед","menu.hourglass":"Пясъчен часовник","menu.relatives":"Всички роднини","menu.donatso":"Семейна диаграма на Донацо","menu.fancy":"Декоративно дърво (експериментално)","menu.wikitree_login":"Вход в WikiTree","menu.wikitree_logged_in":"Вписани","menu.wikitree_popup_username":"Вписани сте в WikiTree като {username}","menu.wikitree_popup":"Вписани в WikiTree","menu.github":"Проект в GitHub","menu.search.placeholder":"Търсене на лице","menu.search.no_results":"Няма резултати","intro.title":"Topola Genealogy","intro.description":"Topola Genealogy е приложение за преглед на родословни дървета, която дава възможност за разглеждане структурата на семейство.","intro.instructions":"Използвайте бутоните за отваряне на файл и зареждане от адрес, за да отворите GEDCOM файл. Повечето приложения и страници за генеалогия позволяват изнасяне на GEDCOM файлове.","intro.examples":"Примерни родословни дървета","intro.from":"от","intro.whats_new":"Последни промени","intro.full_changelog":"Списък с всички промени","whats_new.title":"Новото в това издание","intro.privacy":"Поверителност","intro.privacy_note":"При отваряне на файл тази страницата не изпраща никъде вашите данни - заредените файловете не напускат вашето устройство. При зареждане на файл от адрес, данните преминават през услугата {link}, за да бъдат избегнати проблеми при заявяването на файлове между различни сайтове (CORS).","load_from_url.title":"Зареждане от адрес","load_from_url.comment":"Данните от адреса ще преминат през услугата {link}, за да бъдат избегнати проблеми при заявяването на файлове между различни сайтове (CORS).","load_from_url.cancel":"Отказ","load_from_url.load":"Зареждане","select_wikitree_id.title":"Избиране на WikiTree ID","select_wikitree_id.comment":"Въведете идентификатор на профил в {wikiTreeLink}. Пример: {example1}, {example2}","select_wikitree_id.cancel":"Отказ","select_wikitree_id.load":"Зареждане","gedcom.ADOP":"Осиновяване","gedcom.BAPM":"Кръщене","gedcom.BARM":"Бар мицва","gedcom.BASM":"Бат мицва","gedcom.BIRT":"Раждане","gedcom.BLES":"Благословия","gedcom.BURI":"Погребение","gedcom.CENS":"Преброяване на населението","gedcom.CHR":"Кръщене","gedcom.CHRA":"Кръщение за възрастни","gedcom.CONF":"Потвърждение","gedcom.CREM":"Кремиране","gedcom.DEAT":"Смърт","gedcom.DEG":"Академична степен","gedcom.DIV":"Развод","gedcom.DIVF":"Подадено е заявление за развод","gedcom.DSCR":"Описание","gedcom.EDUC":"Образование","gedcom.ELEC":"Подбор за длъжността","gedcom.EMAIL":"Електронна поща","gedcom.EMIG":"Емигриране","gedcom.ENGA":"Годеж","gedcom.EVEN":"Събитие","gedcom.FACT":"Факт","gedcom.FCOM":"Първо причастие","gedcom.GRAD":"Завършване на обучението","gedcom.IMMI":"Имигриране","gedcom.MARB":"Забрана за брак","gedcom.MARC":"Брачен договор","gedcom.MARL":"Брачно свидетелство","gedcom.MARR":"Бракосъчетание","gedcom.MARS":"Предбрачен договор","gedcom.MDCL":"Медицинска информация","gedcom.MILT":"Военна служба","gedcom.NATU":"Натурализация","gedcom.OBJE":"Допълнителни файлове","gedcom.OCCU":"Професия","gedcom.ORDN":"Ръкополагане","gedcom.PROB":"Потвърждение на завещанието","gedcom.PROP":"Имот","gedcom.RESI":"Местожителство","gedcom.RETI":"Пенсиониране","gedcom.RELI":"Религия","gedcom.RIN":"ID","gedcom.SOUR":"Източници","gedcom.TITL":"Обръщение","gedcom.WILL":"Завещание","gedcom.WWW":"Препратка","gedcom._UPD":"Последно обновяване","gedcom.birth":"Рождено име","gedcom.married":"Име след брак","gedcom.maiden":"Моминско име","gedcom.immigrant":"Имигрантско име","gedcom.aka":"Също известни като","date.abt":"около","date.cal":"изчислено","date.est":"приблизително","date.between":"между {from} и {to}","date.after":"след {from}","date.before":"преди {to}","age.exact":"{age, plural, =0 {Под 1 година} one {{qualifier} 1 година} other {{qualifier} # години}}","age.less":"Под {age, plural, =0 {1 година} one {1 година} other {# години}}","age.more":"Над {age, plural, =0 {0 години} one {1 година} other {# години}}","age.between":"Между {ageFrom} {ageTo, plural, =0 {0 години} one {1 година} other {# години}}","error.error":"Грешка","error.failed_pdf":"Неуспешно създаване на PDF файл. Опитайте с по-малка диаграма или изтеглете SVG.","error.failed_png":"Неуспешно създаване на PNG файл. Опитайте с по-малка диаграма или изтеглете SVG.","error.failed_to_load_file":"Грешка при зареждане на файл","error.failed_wikitree_load_more":"Грешка при зареждане на данни от WikiTree. {error}}","error.GEDCOM_READ_FAILED":"Грешка при отваряне на GEDCOM файл","error.ERROR_LOADING_UPLOADED_FILE":"Грешка при зареждането на данни. Качете файла отново.","error.WIKITREE_ID_NOT_PROVIDED":"Не е указан идентификатор на профил в WikiTree","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Профилът {id} в WikiTree е недостъпен. Опитайте да се впишете.","error.WIKITREE_PROFILE_NOT_FOUND":"Профилът {id} в WikiTree не е намерен","error.failed_to_load_image":"Грешка при зареждане на изображение","wikitree.private":"Скрито","tab.info":"Информация","tab.settings":"Настройки","config.colors":"Цвят","config.colors.NO_COLOR":"Без цвят","config.colors.COLOR_BY_GENERATION":"По поколения","config.colors.COLOR_BY_SEX":"По пол","config.ids":"Идентификатори","config.ids.HIDE":"Скриване","config.ids.SHOW":"Показване","config.sex":"Пол","config.sex.HIDE":"Скриване","config.sex.SHOW":"Показване","head.source":"Източник на данни","name.unknown_name":"Неизвестно име","extras.images":"Изображение","extras.notes":"Бележки","extras.sources":"Източници","extras.files":"Допълнителни файлове"},D7e={"menu.open":"Otevřít","menu.open_file":"Otevřít soubor","menu.load_from_url":"Otevřít z URL","menu.select_wikitree_id":"Vybrat WikiTree ID","menu.print":"Tisknout","menu.download":"Stáhnout","menu.pdf_file":"Soubor PDF","menu.png_file":"Soubor PNG","menu.svg_file":"Soubor SVG","menu.download_pdf":"Stáhnout PDF","menu.download_png":"Stáhnout PNG","menu.download_svg":"Stáhnout SVG","menu.view":"Zobrazení","menu.hourglass":"Přesýpací hodiny","menu.relatives":"Všichni příbuzní","menu.donatso":"Donatso rodokmen","menu.fancy":"Rodinný strom (experimentální)","menu.wikitree_login":"Přihlášení na WikiTree","menu.wikitree_logged_in":"Přihlášeno","menu.wikitree_popup_username":"Přihlášeno do WikiTree jako {username}","menu.wikitree_popup":"Přihlášeno do WikiTree","menu.github":"GitHub projekt","menu.search.placeholder":"Hledej osobu","menu.search.no_results":"Žádné výsledky","intro.title":"Topola Genealogy","intro.description":"Topola Genealogy vám umožňuje interaktivní prohlížení rodokmenu.","intro.instructions":"Kliknutím na OTEVŘÍT SOUBOR nebo OTEVŘÍT Z URL načtete soubor GEDCOM. Většina genealogických programů má funkci exportu do formátu GEDCOM.","intro.examples":"Níže je uvedeno několik příkladů použití z internetu:","intro.from":"zdroj:","intro.whats_new":"Co je nového","intro.full_changelog":"Úplný seznam změn","whats_new.title":"Co je nového v této verzi?","intro.privacy":"Soukromí","intro.privacy_note":"Pomocí funkce „Otevřít soubor“ nejsou vaše data nikam odesílána a zůstávají ve vašem počítači. Při použití funkce „Otevřít z URL“ jsou data z dané adresy odeslána službou {link}, aby bylo možné data načíst (CORS).","load_from_url.title":"Otevřít z adresy URL","load_from_url.comment":"Data z dané adresy URL budou načtena prostřednictvím služby {link}, aby nedocházelo k problémům s CORS.","load_from_url.cancel":"Storno","load_from_url.load":"Otevřít","select_wikitree_id.title":"Zadejte WikiTree ID","select_wikitree_id.comment":"Zadejte ID profilu {wikiTreeLink}. Příklad: {example1}, {example2}","select_wikitree_id.cancel":"Storno","select_wikitree_id.load":"Otevřít","gedcom.ADOP":"Adopce","gedcom.BAPM":"Křest","gedcom.BARM":"Bar micva","gedcom.BASM":"Bas micva","gedcom.BIRT":"Narození","gedcom.BLES":"Požehnání","gedcom.BURI":"Pohřeb","gedcom.CENS":"Sčítání lidu","gedcom.CHR":"Křest","gedcom.CHRA":"Křest dospělých","gedcom.CONF":"Potvrzení","gedcom.CREM":"Kremace","gedcom.DEAT":"Úmrtí","gedcom.DEG":"Academic degree","gedcom.DIV":"Rozvod","gedcom.DIVF":"Potvrzení","gedcom.DSCR":"Popis","gedcom.EDUC":"Vzdělání","gedcom.ELEC":"Výběr na pozici","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Emigrace","gedcom.ENGA":"zasnoubení","gedcom.EVEN":"Událost","gedcom.FACT":"Údaj","gedcom.FCOM":"První přijímání","gedcom.GRAD":"Dokončení školení ","gedcom.IMMI":"Imigrace","gedcom.MARB":"Družstvo","gedcom.MARC":"Manželská smlouva ","gedcom.MARL":"Oddací list","gedcom.MARR":"Svatba","gedcom.MARS":"Předmanželská smlouva","gedcom.MDCL":"Lékařské informace","gedcom.MILT":"Vojenská služba","gedcom.NATU":"Získání občanství","gedcom.OBJE":"Další soubory","gedcom.OCCU":"Povolání","gedcom.ORDN":"Vysvěcení","gedcom.PROB":"Potvrzení závěti","gedcom.PROP":"Majetek","gedcom.RESI":"Bydliště","gedcom.RETI":"Odchod do důchodu ","gedcom.RELI":"Vyznání","gedcom.RIN":"ID","gedcom.SOUR":"Zdroje","gedcom.TITL":"Titul","gedcom.WILL":"Závěť","gedcom.WWW":"Stránka WWW","gedcom._UPD":"Poslední aktualizace","gedcom.birth":"Rodné jméno","gedcom.married":"Jméno po svatbě","gedcom.maiden":"Jméno za svobodna","gedcom.immigrant":"Jméno získané imigrací","gedcom.aka":"Také znám(a) jako","date.abt":"kolem","date.cal":"vypočteno","date.est":"asi","date.between":"mezi {from} a {to}","date.after":"po {from}","date.before":"před {to}","age.exact":"{qualifier}{age, plural, =0 {Méně než rok} one {1 rok} few {# roky} other {# let}}","age.less":"Méne než {age, plural, =0 {1 rok} one {1 rok} few {# roky} other {# let}}","age.more":"Více než {age, plural, =0 {0 let} one {1 rok} few {# roky} other {# let}}","age.between":"Mezi {ageFrom} a {ageTo, plural, =0 {0 lety} one {1 rokem} few {# roky} other {# lety}}","error.error":"Chyba","error.failed_pdf":"Soubor PDF nelze vytvořit. Zkuste to znovu s menším diagramem nebo stáhněte soubor SVG.","error.failed_png":"Soubor PNG nelze vytvořit. Zkuste to znovu s menším diagramem nebo stáhněte soubor SVG.","error.failed_to_load_file":"Chyba při načítání souboru","error.failed_wikitree_load_more":"Chyba při načítání dat z WikiTree. {chyba}","error.GEDCOM_READ_FAILED":"Chyba při načítání souboru GEDCOM","error.ERROR_LOADING_UPLOADED_FILE":"Chyba při načítání dat. Znovu otevřete soubor.","error.WIKITREE_ID_NOT_PROVIDED":"WikiTree ID nebylo získáno","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Profil WikiTree {id} není k dispozici","error.WIKITREE_PROFILE_NOT_FOUND":"Profil WikiTree {id} neexistuje","error.failed_to_load_image":"Nepodařilo se načíst obrázek","wikitree.private":"Soukromé","tab.info":"Informace","tab.settings":"Nastavení","config.colors":"Barvy","config.colors.NO_COLOR":"žádné","config.colors.COLOR_BY_GENERATION":"podle generace","config.colors.COLOR_BY_SEX":"podle pohlaví","config.ids":"Identifikátory","config.ids.HIDE":"skrýt","config.ids.SHOW":"zobrazit","config.sex":"Pohlaví","config.sex.HIDE":"skrýt","config.sex.SHOW":"zobrazit","head.source":"Zdroj dat","name.unknown_name":"N.N.","extras.images":"Obrázky","extras.notes":"Poznámky","extras.sources":"Zdroje","extras.files":"Další soubory"},$7e={"menu.open":"Öffnen","menu.open_file":"Datei öffnen","menu.load_from_url":"URL öffnen","menu.select_wikitree_id":"WikiTree ID auswählen","menu.print":"Drucken","menu.download":"Download","menu.pdf_file":"PDF-Datei","menu.png_file":"PNG-Datei","menu.svg_file":"SVG-Datei","menu.download_pdf":"PDF herunterladen","menu.download_png":"PNG herunterladen","menu.download_svg":"SVG herunterladen","menu.view":"Ansicht","menu.hourglass":"Sanduhrkarte","menu.relatives":"Alle Verwandten","menu.donatso":"Donatso-Stammbaum","menu.fancy":"Zierbaum (experimentell)","menu.wikitree_login":"Bei WikiTree anmelden","menu.wikitree_logged_in":"Eingeloggt","menu.wikitree_popup_username":"Bei WikiTree als {username} angemeldet","menu.wikitree_popup":"Bei WikiTree angemeldet","menu.github":"Projekt auf der GitHub-Website","menu.search.placeholder":"Person suchen","menu.search.no_results":"Keine Ergebnisse","intro.title":"Topola Genealogie","intro.description":"Mit der Topola Genealogie können Sie den Stammbaum auf interaktive Weise durchsuchen.","intro.instructions":"Klicken Sie auf Datei öffnen oder URL öffnen, um eine GEDCOM-Datei zu laden. Die meisten Genealogie-Programme verfügen über eine GEDCOM-Exportfunktion.","intro.examples":"Nachfolgend einige Beispiele aus dem Internet:","intro.from":"Quelle:","intro.whats_new":"Was ist neu","intro.full_changelog":"Siehe komplette Änderungshistorie","whats_new.title":"Was ist in dieser Version neu!","intro.privacy":"Datenschutz","intro.privacy_note":'Bei Verwendung der Funktion "Datei öffnen" werden Ihre Daten nirgendwo gesendet und verbleiben auf Ihrem Computer. Bei Verwendung der Funktion "URL öffnen" werden Daten von der angegebenen Adresse vom Dienst {link} an gesendet Ermöglichen des Ladens von Daten aus einer anderen Domäne (CORS).',"load_from_url.title":"Von URL öffnen","load_from_url.comment":"Die Daten der angegebenen URL werden über den {link} -Dienst geladen, um CORS-Probleme zu vermeiden.","load_from_url.cancel":"Abbrechen","load_from_url.load":"Öffnen","select_wikitree_id.title":"WikiTree ID eingeben","select_wikitree_id.comment":"Geben Sie die Profil-ID {wikiTreeLink} ein. Beispiele: {example1}, {example2}","select_wikitree_id.cancel":"Abbrechen","select_wikitree_id.load":"Öffnen","gedcom.ADOP":"Adoption","gedcom.BAPM":"Taufe","gedcom.BARM":"Bar-Mitzwah","gedcom.BASM":"Bas-Mitzwah","gedcom.BIRT":"Geburt","gedcom.BLES":"Segnung","gedcom.BURI":"Beerdigung","gedcom.CENS":"Volkszählung","gedcom.CHR":"Taufe","gedcom.CHRA":"Erwachsenentaufe","gedcom.CONF":"Konfirmation/Firmung","gedcom.CREM":"Feuerbestattung","gedcom.DEAT":"Tod","gedcom.DEG":"Akademischer Grad","gedcom.DIV":"Scheidung","gedcom.DIVF":"Scheidung eingereicht","gedcom.DSCR":"Beschreibung","gedcom.EDUC":"Ausbildung","gedcom.ELEC":"Auswahl für die Position","gedcom.EMAIL":"E-Mail","gedcom.EMIG":"Auswanderung","gedcom.ENGA":"Verlobung","gedcom.EVEN":"Ereignis","gedcom.FACT":"Merkmal","gedcom.FCOM":"Erstkommunion","gedcom.GRAD":"Ausbildungsabschluss","gedcom.IMMI":"Einwanderung","gedcom.MARB":"Aufgebot","gedcom.MARC":"Ehevertrag","gedcom.MARL":"Eheerlaubnis","gedcom.MARR":"Heirat","gedcom.MARS":"Ehevereinbarung","gedcom.MDCL":"Medizinische Informationen","gedcom.MILT":"Mititärdienst","gedcom.NATU":"Einbürgerung","gedcom.OBJE":"Zusätzliche Dateien","gedcom.OCCU":"Beruf","gedcom.ORDN":"Ordinierung","gedcom.PROB":"Testamentsbestätigung","gedcom.PROP":"Besitz","gedcom.RESI":"Wohnort","gedcom.RETI":"Ruhestand","gedcom.RELI":"Religion","gedcom.RIN":"ID","gedcom.SOUR":"Quellen","gedcom.TITL":"Titel","gedcom.WILL":"Testament","gedcom.WWW":"Website","gedcom._UPD":"Zuletzt aktualisiert","gedcom.birth":"Geburtsname","gedcom.married":"Ehenamen","gedcom.maiden":"Mädchenname","gedcom.immigrant":"Immigrant name","gedcom.aka":"Auch bekannt als","date.abt":"Über","date.cal":"berechnet","date.est":"geschätzt","date.between":"zwischen {from} und {to}","date.after":"nach {from}","date.before":"vor {to}","age.exact":"{qualifier}{age, plural, =0 {Weniger als 1 Jahr} one {1 Jahr} other {# Jahre}}","age.less":"Weniger als {age, plural, =0 {1 Jahr} one {1 Jahr} other {# Jahre}}","age.more":"Mehr als {age, plural, =0 {0 Jahre} one {1 Jahr} other {# Jahre}}","age.between":"Zwischen {ageFrom} und {ageTo, plural, =0 {0 Jahre} one {1 Jahr} other {# Jahre}}","error.error":"Fehler","error.failed_pdf":"PDF konnte nicht erstellt werden. Versuchen Sie es erneut mit einem kleineren Diagramm oder laden Sie die SVG-Datei herunter.","error.failed_png":"Fehler beim Erstellen der PNG-Datei. Versuchen Sie es erneut mit einem kleineren Diagramm oder laden Sie die SVG-Datei herunter.","error.failed_to_load_file":"Fehler beim Laden der Datei","error.failed_wikitree_load_more":"Fehler beim Abrufen der Daten aus WikiTree. {error}","error.GEDCOM_READ_FAILED":"Fehler beim Lesen der GEDCOM-Datei","error.ERROR_LOADING_UPLOADED_FILE":"Fehler beim Laden der Daten. Bitte laden Sie Ihre Datei erneut hoch.","error.WIKITREE_ID_NOT_PROVIDED":"WikiTree-ID muss angegeben werden","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Das WikiTree-Profil {id} ist nicht zugänglich. Versuchen Sie sich anzumelden.","error.WIKITREE_PROFILE_NOT_FOUND":"WikiTree-Profil {id} nicht gefunden","error.failed_to_load_image":"Bilddatei konnte nicht geladen werden","wikitree.private":"Privat","tab.info":"Informationen","tab.settings":"Einstellungen","config.colors":"Farben","config.colors.NO_COLOR":"keine","config.colors.COLOR_BY_GENERATION":"je Generation","config.colors.COLOR_BY_SEX":"nach Geschlecht","config.ids":"Identifikation","config.ids.HIDE":"verbergen","config.ids.SHOW":"anzeigen","config.sex":"Geschlecht","config.sex.HIDE":"verbergen","config.sex.SHOW":"anzeigen","head.source":"Datenquelle","name.unknown_name":"N.N.","extras.images":"Bilder","extras.notes":"Notizen","extras.sources":"Quellen","extras.files":"Weitere Dateien"},F7e={"menu.open":"Ouvrir","menu.open_file":"Ouvrir le fichier","menu.load_from_url":"Ouvrir l'URL","menu.select_wikitree_id":"Sélectionnez l'ID WikiTree","menu.print":"Imprimer","menu.download":"Télécharger","menu.pdf_file":"Fichier PDF","menu.png_file":"Fichier PNG","menu.svg_file":"Fichier SVG","menu.download_pdf":"Télécharger le PDF","menu.download_png":"Télécharger PNG","menu.download_svg":"Télécharger SVG","menu.view":"Afficher","menu.hourglass":"Graphique en sablier","menu.relatives":"Tous les parents","menu.donatso":"Donatso tableau généalogique","menu.fancy":"Arbre ornemental (expérimental)","menu.wikitree_login":"Connectez-vous à WikiTree","menu.wikitree_logged_in":"Connecté","menu.wikitree_popup_username":"Connecté à WikiTree en tant que {username}","menu.wikitree_popup":"Connecté à WikiTree","menu.github":"Projet sur le site Web GitHub","menu.search.placeholder":"Rechercher une personne","menu.search.no_results":"Aucun résultat","intro.title":"Topola Généalogie","intro.description":"La Topola Généalogie vous permet de parcourir l'arbre généalogique de manière interactive.","intro.instructions":"Cliquez sur OPEN FILE ou OPEN URL pour charger un fichier GEDCOM. La plupart des logiciels de généalogie ont une fonction d'exportation GEDCOM.","intro.examples":"Voici quelques exemples trouvés sur Internet:","intro.from":"source:","intro.whats_new":"Quoi de neuf","intro.full_changelog":"Voir toutes les modifications","whats_new.title":"Quoi de neuf dans cette version?","intro.privacy":"Confidentialité","intro.privacy_note":`Lorsque vous utilisez la fonction "Ouvrir un fichier", vos données ne sont envoyées nulle part et restent sur votre ordinateur. Lorsque vous utilisez la fonction "Ouvrir l'URL", les données de l'adresse indiquée sont envoyées par le service {link} pour permettre le chargement des données depuis un autre domaine (CORS).`,"load_from_url.title":"Ouvrir depuis l'URL","load_from_url.comment":"Les données de l'URL donnée seront chargées via le service {link} pour éviter les problèmes CORS.","load_from_url.cancel":"Annuler","load_from_url.load":"Ouvrir","select_wikitree_id.title":"Entrez l'ID de WikiTree","select_wikitree_id.comment":"Entrez l'ID de profil {wikiTreeLink}. Exemples: {example1}, {example2}","select_wikitree_id.cancel":"Annuler","select_wikitree_id.load":"Ouvrir","gedcom.ADOP":"Adoption","gedcom.BAPM":"Baptême","gedcom.BARM":"Bar Mitzvah","gedcom.BASM":"Bas Mitzvah","gedcom.BIRT":"Naissance","gedcom.BLES":"Bénédiction","gedcom.BURI":"Funérailles","gedcom.CENS":"Recensement","gedcom.CHR":"Baptême","gedcom.CHRA":"Baptême des adultes","gedcom.CONF":"Confirmation","gedcom.CREM":"Crémation","gedcom.DEAT":"Mort","gedcom.DEG":"Diplôme universitaire","gedcom.DIV":"Divorce","gedcom.DIVF":"Divorce déposé","gedcom.DSCR":"Description","gedcom.EDUC":"Études","gedcom.ELEC":"Nomination au poste","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Émigration","gedcom.ENGA":"Fiançailles","gedcom.EVEN":"EVEN","gedcom.FACT":"FACT","gedcom.FCOM":"Première communion","gedcom.GRAD":"Achèvement de la formation","gedcom.IMMI":"Immigration","gedcom.MARB":"Équipe","gedcom.MARC":"Contrat de mariage ","gedcom.MARL":"Licence de mariage","gedcom.MARR":"Mariage","gedcom.MARS":"Contrat prénuptial","gedcom.MDCL":"Informations médicales","gedcom.MILT":"Service militaire","gedcom.NATU":"Naturalisation","gedcom.OBJE":"Fichiers supplémentaires","gedcom.OCCU":"Profession","gedcom.ORDN":"Ordination","gedcom.PROB":"Confirmation de volonté","gedcom.PROP":"Possession","gedcom.RESI":"Lieu de résidence","gedcom.RETI":"Retraite","gedcom.RELI":"Religion","gedcom.RIN":"ID","gedcom.SOUR":"Sources","gedcom.TITL":"Titre","gedcom.WILL":"Testament","gedcom.WWW":"Site Web","gedcom._UPD":"Dernière mise à jour","gedcom.birth":"Nom de naissance","gedcom.married":"Nom marital","gedcom.maiden":"Nom de jeune fille","gedcom.immigrant":"Nom d'immigrant","gedcom.aka":"Alias","date.abt":"environ","date.cal":"calculé","date.est":"estimé","date.between":"entre {from} et {to}","date.after":"après {from}","date.before":"avant {to}","age.exact":"{qualifier}{age, plural, =0 {Moins d'1 an} one {1 an} other {# ans}}","age.less":"Moins de {age, plural, =0 {1 an} one {1 an} other {# ans}}","age.more":"Plus de {age, plural, =0 {0 an} one {1 an} other {# ans}}","age.between":"Entre {ageFrom} et {ageTo, plural, =0 {0 an} one {1 an} other {# ans}}","error.error":"Erreur","error.failed_pdf":"Échec de la création du PDF. Réessayez avec un diagramme plus petit ou téléchargez le fichier SVG.","error.failed_png":"Impossible de créer le fichier PNG. Réessayez avec un diagramme plus petit ou téléchargez le fichier SVG.","error.failed_to_load_file":"Erreur lors du chargement du fichier","error.failed_wikitree_load_more":"Erreur lors de l'obtention des données de WikiTree. {error}","error.GEDCOM_READ_FAILED":"Erreur de lecture du fichier GEDCOM","error.ERROR_LOADING_UPLOADED_FILE":"Erreur de chargement des données. Renvoyez votre fichier.","error.WIKITREE_ID_NOT_PROVIDED":"L'ID WikiTree est obligatoire","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Le profil WikiTree ${id} n'est pas accessible. Connectez-vous.","error.WIKITREE_PROFILE_NOT_FOUND":"Le profil WikiTree ${id} n'a pas été trouvé","error.failed_to_load_image":"Erreur de chargement de l'image","wikitree.private":"Privé","tab.info":"Informations","tab.settings":"Paramètres","config.colors":"Couleurs","config.colors.NO_COLOR":"aucune","config.colors.COLOR_BY_GENERATION":"par génération","config.colors.COLOR_BY_SEX":"par sexe","config.ids":"Identification","config.ids.HIDE":"cacher","config.ids.SHOW":"afficher","config.sex":"Sexe","config.sex.HIDE":"cacher","config.sex.SHOW":"afficher","head.source":"Source de données","name.unknown_name":"?","extras.images":"Images","extras.notes":"Notes","extras.sources":"Sources","extras.files":"Fichiers supplémentaires"},L7e={"menu.open":"Apri","menu.open_file":"Apri file","menu.load_from_url":"Apri URL","menu.select_wikitree_id":"Seleziona ID WikiTree","menu.print":"Stampa","menu.download":"Scarica","menu.pdf_file":"File PDF","menu.png_file":"File PNG","menu.svg_file":"File SVG","menu.download_pdf":"Scarica PDF","menu.download_png":"Scarica PNG","menu.download_svg":"Scarica SVG","menu.view":"Visualizza","menu.hourglass":"Grafico a clessidra","menu.relatives":"Tutti i parenti","menu.donatso":"Donatso albero genealogico","menu.fancy":"Albero ornamentale (sperimentale)","menu.wikitree_login":"Accedi a WikiTree","menu.wikitree_logged_in":"Accesso effettuato","menu.wikitree_popup_username":"Accesso a WikiTree come {username}","menu.wikitree_popup":"Accesso a WikiTree","menu.github":"Progetto sul sito web GitHub","menu.search.placeholder":"Cerca persona","menu.search.no_results":"Nessun risultato","intro.title":"Topola Genealogy","intro.description":"Topola Genealogy ti consente di esplorare l'albero genealogico in modo interattivo.","intro.instructions":"Fai clic su OPEN FILE o OPEN URL per caricare un file GEDCOM. La maggior parte dei software di genealogia ha una funzione di esportazione GEDCOM.","intro.examples":"Di seguito sono riportati alcuni esempi trovati su Internet:","intro.from":"fonte:","intro.whats_new":"Novità","intro.full_changelog":"Vedi il log delle modifiche completo","whats_new.title":"Cosa c'è di nuovo in questa versione?","intro.privacy":"Protezione dei dati","intro.privacy_note":`Quando si utilizza la funzione "Apri file", i dati non vengono inviati da nessuna parte e rimangono sul computer. Quando si utilizza la funzione "Apri URL", i dati dall'indirizzo specificato vengono inviati dal servizio {link} a consentire il caricamento dei dati da un altro dominio (CORS).`,"load_from_url.title":"Apri da URL","load_from_url.comment":"I dati dall'URL specificato verranno caricati tramite il servizio {link} per evitare problemi CORS.","load_from_url.cancel":"Annulla","load_from_url.load":"Apri","select_wikitree_id.title":"Inserisci ID WikiTree","select_wikitree_id.comment":"Inserisci l'ID profilo {wikiTreeLink}. Esempi: {example1}, {example2}","select_wikitree_id.cancel":"Annulla","select_wikitree_id.load":"Apri","gedcom.ADOP":"Adozione","gedcom.BAPM":"Battesimo","gedcom.BARM":"Bar Mitzvah","gedcom.BASM":"Bas Mitzvah","gedcom.BIRT":"Nascita","gedcom.BLES":"Benedizione","gedcom.BURI":"Funerale","gedcom.CENS":"Census","gedcom.CHR":"Battesimo","gedcom.CHRA":"Battesimo degli adulti","gedcom.CONF":"Conferma","gedcom.CREM":"Cremazione","gedcom.DEAT":"Morte","gedcom.DEG":"Titolo accademico","gedcom.DIV":"Divorzio","gedcom.DIVF":"Divorzio depositato","gedcom.DSCR":"Descrizione","gedcom.EDUC":"Formazione","gedcom.ELEC":"Selezione per la posizione","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Emigrazione","gedcom.ENGA":"Fidanzamento","gedcom.EVEN":"Evento","gedcom.FACT":"Caratteristica","gedcom.FCOM":"Prima Comunione","gedcom.GRAD":"Completamento della formazione","gedcom.IMMI":"Immigrazione","gedcom.MARB":"Squadra","gedcom.MARC":"Contratto di matrimonio","gedcom.MARL":"Licenza di matrimonio","gedcom.MARR":"Matrimonio","gedcom.MARS":"Contratto prematrimoniale","gedcom.MDCL":"Informazioni mediche","gedcom.MILT":"Servizio militare","gedcom.NATU":"Naturalizzazione","gedcom.OBJE":"File aggiuntivi","gedcom.OCCU":"Professione","gedcom.ORDN":"Ordinazione","gedcom.PROB":"Conferma di volontà","gedcom.PROP":"Possesso","gedcom.RESI":"Luogo di residenza","gedcom.RETI":"Pensione","gedcom.RELI":"Religione","gedcom.RIN":"ID","gedcom.SOUR":"Fonti","gedcom.TITL":"Titolo","gedcom.WILL":"Testamento","gedcom.WWW":"Sito web","gedcom._UPD":"Ultimo aggiornamento","gedcom.birth":"Nome alla nascita","gedcom.married":"Nome da coniugato/a","gedcom.maiden":"Nome da nubile","gedcom.immigrant":"Nome dell'immigrato","gedcom.aka":"Conosciuto anche come","date.abt":"circa","date.cal":"calcolato","date.est":"stimato","date.between":"tra il {from} e il {to}","date.after":"dopo il {from}","date.before":"prima del {to}","age.exact":"{qualifier}{age, plural, =0 {Meno di 1 anno} one {1 anno} other {# anni}}","age.less":"Meno di {age, plural, =0 {1 anno} one {1 anno} other {# anni}}","age.more":"Più di {age, plural, =0 {0 anni} one {1 anno} other {# anni}}","age.between":"Tra {ageFrom} e {ageTo, plural, =0 {0 anni} one {1 anno} other {# anni}}","error.error":"Errore","error.failed_pdf":"Impossibile creare PDF. Riprova con un diagramma più piccolo o scarica il file SVG.","error.failed_png":"Impossibile creare il file PNG. Riprova con un diagramma più piccolo o scarica il file SVG.","error.failed_to_load_file":"Errore durante il caricamento del file","error.failed_wikitree_load_more":"Errore durante il recupero dei dati da WikiTree. {error}","error.GEDCOM_READ_FAILED":"Impossibile leggere il file GEDCOM","error.ERROR_LOADING_UPLOADED_FILE":"Errore durante il caricamento dei dati. Carica nuovamente il file.","error.WIKITREE_ID_NOT_PROVIDED":"È necessario fornire l'ID WikiTree.","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Il profilo WikiTree {id} non è accessibile. Prova ad effettuare il login.","error.WIKITREE_PROFILE_NOT_FOUND":"Profilo WikiTree {id} non trovato","error.failed_to_load_image":"Impossibile caricare il file immagine","wikitree.private":"Privato","tab.info":"Informazioni","tab.settings":"Impostazioni","config.colors":"Colori","config.colors.NO_COLOR":"nessuno","config.colors.COLOR_BY_GENERATION":"per generazione","config.colors.COLOR_BY_SEX":"per sesso","config.ids":"Identificazione","config.ids.HIDE":"nascondere","config.ids.SHOW":"visualizzare","config.sex":"Sesso","config.sex.HIDE":"nascondere","config.sex.SHOW":"visualizzare","head.source":"Origine dati","name.unknown_name":"N.N.","extras.images":"Immagini","extras.notes":"Appunti","extras.sources":"Fonti","extras.files":"File aggiuntivi"},B7e={"menu.open":"Otwórz","menu.open_file":"Otwórz plik","menu.load_from_url":"Otwórz URL","menu.select_wikitree_id":"Wybierz WikiTree ID","menu.print":"Drukuj","menu.download":"Pobierz","menu.pdf_file":"Plik PDF","menu.png_file":"Plik PNG","menu.svg_file":"Plik SVG","menu.download_pdf":"Pobierz PDF","menu.download_png":"Pobierz PNG","menu.download_svg":"Pobierz SVG","menu.view":"Widok","menu.hourglass":"Wykres klepsydrowy","menu.relatives":"Wszyscy krewni","menu.donatso":"Donatso wykres rodzinny","menu.fancy":"Ozdobne drzewo (eksperymentalne)","menu.wikitree_login":"Zaloguj do WikiTree","menu.wikitree_logged_in":"Zalogowano","menu.wikitree_popup_username":"Zalogowano do WikiTree jako {username}","menu.wikitree_popup":"Zalogowano do WikiTree","menu.github":"Projekt na stronie GitHub","menu.search.placeholder":"Szukaj osoby","menu.search.no_results":"Brak wyników","intro.title":"Topola Genealogy","intro.description":"Topola Genealogy pozwala przeglądać drzewo genealogiczne w interaktywny sposób.","intro.instructions":"Kliknij OTWÓRZ PLIK lub OTWÓRZ URL, aby załadować plik GEDCOM. Większość programów genealogicznych posiada funkcję eksportu do pliku GEDCOM.","intro.examples":"Przykłady","intro.from":"źródło:","intro.whats_new":"Co nowego?","intro.full_changelog":"Zobacz pełną listę zmian","whats_new.title":"Co nowego w tej wersji?","intro.privacy":"Prywatność","intro.privacy_note":'Używając funkcji "Otwórz plik", Twoje dane nie są nigdzie wysyłane i pozostają na Twoim komputerze. Używając funkcji "Otwórz URL", dane z podanego adresu przesyłane są przez usługę {link} w celu umożliwienia załadowania danych z innej domeny (CORS).',"load_from_url.title":"Otwórz z adresu URL","load_from_url.comment":"Dane z podanego adresu URL zostaną załadowane poprzez usługę {link} w celu uniknięcia problemów z CORS.","load_from_url.cancel":"Anuluj","load_from_url.load":"Otwórz","select_wikitree_id.title":"Podaj WikiTree ID","select_wikitree_id.comment":"Wpisz identyfikator profilu {wikiTreeLink}. Przykłady: {example1}, {example2}","select_wikitree_id.cancel":"Anuluj","select_wikitree_id.load":"Otwórz","gedcom.ADOP":"Adopcja","gedcom.BAPM":"Chrzest","gedcom.BARM":"Bar Micwa","gedcom.BASM":"Bat Micwa","gedcom.BIRT":"Narodziny","gedcom.BLES":"Błogosławieństwo","gedcom.BURI":"Pogrzeb","gedcom.CENS":"Spis ludności","gedcom.CHR":"Chrzest","gedcom.CHRA":"Chrzest dorosłych","gedcom.CONF":"Bierzmowanie","gedcom.CREM":"Kremacja","gedcom.DEAT":"Śmierć","gedcom.DEG":"Stopień naukowy","gedcom.DIV":"Rozwód","gedcom.DIVF":"Wniesienie pozwu o rozwód","gedcom.DSCR":"Opis","gedcom.EDUC":"Wykształcenie","gedcom.ELEC":"Wybór na stanowisko","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Emigracja","gedcom.ENGA":"Zaręczyny","gedcom.EVEN":"Wydarzenie","gedcom.FACT":"Fakt","gedcom.FCOM":"Pierwsza komunia","gedcom.GRAD":"Ukończenie szkoły","gedcom.IMMI":"Imigracja","gedcom.MARB":"Zapowiedzi małżeńskie","gedcom.MARC":"Kontrakt małżeński","gedcom.MARL":"Licencja małżeńska","gedcom.MARR":"Małżeństwo","gedcom.MARS":"Ugoda małżeńska","gedcom.MDCL":"Informacje medyczne","gedcom.MILT":"Służba wojskowa","gedcom.NATU":"Nadanie obywatelstwa","gedcom.OBJE":"Dodatkowe pliki","gedcom.OCCU":"Zawód","gedcom.ORDN":"Święcenia","gedcom.PROB":"Postępowanie spadkowe","gedcom.PROP":"Nieruchomość","gedcom.RESI":"Miejsce zamieszkania","gedcom.RETI":"Emerytura","gedcom.RELI":"Religia","gedcom.RIN":"ID","gedcom.SOUR":"Źródła","gedcom.TITL":"Tytuł","gedcom.WILL":"Testament","gedcom.WWW":"Strona WWW","gedcom._UPD":"Ostatnia aktualizacja","gedcom.birth":"Nazwisko rodowe","gedcom.married":"Nazwisko po małżeństwie","gedcom.maiden":"Nazwisko panieńskie","gedcom.immigrant":"Nazwisko po imigracji","gedcom.aka":"Alias","date.abt":"około","date.cal":"wyliczone","date.est":"oszacowane","date.between":"między {from} a {to}","date.after":"po {from}","date.before":"przed {to}","age.exact":"{age, plural, =0 {Mniej niż 1 rok} one {{qualifier} 1 rok} many {{qualifier} # lat} other {{qualifier} # lata}}","age.less":"Mniej niż {age, plural, =0 {1 rok} one {1 rok} many {# lat} other {# lata}}","age.more":"Więcej niż {age, plural, =0 {0 lat} one {1 rok} many {# lat} other {# lata}}","age.between":"Między {ageFrom} a {ageTo, plural, =0 {0 lat} one {1 rok} many {# lat} other {# lata}}","error.error":"Błąd","error.failed_pdf":"Nie udało się utworzyć pliku PDF. Spróbuj jeszcze raz z mniejszym diagramem lub pobierz plik SVG.","error.failed_png":"Nie udało się utworzyć pliku PNG. Spróbuj jeszcze raz z mniejszym diagramem lub pobierz plik SVG.","error.failed_to_load_file":"Błąd wczytywania pliku","error.failed_wikitree_load_more":"Błąd podczas pobierania danych z WikiTree. {error}","error.GEDCOM_READ_FAILED":"Błąd wczytywania pliku GEDCOM","error.ERROR_LOADING_UPLOADED_FILE":"Błąd wczytywania danych. Otwórz ponownie plik.","error.WIKITREE_ID_NOT_PROVIDED":"Identyfikator WikiTree nie został podany","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Profil WikiTree {id} nie jest dostępny","error.WIKITREE_PROFILE_NOT_FOUND":"Profil WikiTree {id} nie istnieje","error.failed_to_load_image":"Błąd podczas pobierania pliku ze zdjęciem","wikitree.private":"Prywatne","tab.info":"Informacje","tab.settings":"Ustawienia","config.colors":"Kolory","config.colors.NO_COLOR":"brak","config.colors.COLOR_BY_GENERATION":"według pokolenia","config.colors.COLOR_BY_SEX":"według płci","config.ids":"Identyfikator","config.ids.HIDE":"ukryj","config.ids.SHOW":"pokaż","config.sex":"Płeć","config.sex.HIDE":"ukryj","config.sex.SHOW":"pokaż","head.source":"Źródło danych","name.unknown_name":"N.N.","extras.images":"Zdjęcia","extras.notes":"Notatki","extras.sources":"Źródła","extras.files":"Dodatkowe pliki"},z7e={"menu.open":"Открыть","menu.open_file":"Открыть файл","menu.load_from_url":"Открыть URL","menu.select_wikitree_id":"Выберите WikiTree ID","menu.print":"Печать","menu.download":"Скачать","menu.pdf_file":"Файл PDF","menu.png_file":"Файл PNG","menu.svg_file":"Файл SVG","menu.download_pdf":"Скачать PDF","menu.download_png":"Скачать PNG","menu.download_svg":"Скачать SVG","menu.view":"Вид","menu.hourglass":"График Песочные часы","menu.relatives":"Все родственники","menu.donatso":"Donatso семейная схема","menu.fancy":"Декоративное дерево (экспериментальное)","menu.wikitree_login":"Войти в WikiTree","menu.wikitree_logged_in":"Вход выполнен","menu.wikitree_popup_username":"Вы вошли в WikiTree как {username}","menu.wikitree_popup":"Вы вошли в WikiTree","menu.github":"Проект на сайте GitHub","menu.search.placeholder":"Искать человека","menu.search.no_results":"Нет результатов","intro.title":"Topola Genealogy","intro.description":"Topola Genealogy позволяет просматривать семейное древо в интерактивном режиме.","intro.instructions":'Щелкните "Открыть файл" или "Открыть URL", чтобы загрузить файл GEDCOM. Большинство программ для генеалогии имеют функцию экспорта GEDCOM.',"intro.examples":"Ниже приведены некоторые примеры, найденные в Интернете:","intro.from":"источник:","intro.whats_new":"Что нового?","intro.full_changelog":"Список изменений","whats_new.title":"Что нового в этой версии?","intro.privacy":"Конфиденциальность","intro.privacy_note":'При использовании функции "Открыть файл" Ваши данные никуда не отправляются и остаются на Вашем компьютере. При использовании функции "Открыть URL" данные с указанного адреса отправляются службой {link} на включение загрузки данных из другого домена (CORS).',"load_from_url.title":"Открыть с адреса URL","load_from_url.comment":"Данные с указанного адреса URL будут загружены через службу {link}, чтобы избежать проблем CORS.","load_from_url.cancel":"Отменить","load_from_url.load":"Открыть","select_wikitree_id.title":"Введите идентификатор WikiTree","select_wikitree_id.comment":"Введите идентификатор профиля {wikiTreeLink}. Примеры: {example1}, {example2}","select_wikitree_id.cancel":"Отмена","select_wikitree_id.load":"Открыть","gedcom.ADOP":"Усыновление","gedcom.BAPM":"Крещение","gedcom.BARM":"Бар-мицва","gedcom.BASM":"Бас Мицва","gedcom.BIRT":"Рождение","gedcom.BLES":"Благословение","gedcom.BURI":"Похороны","gedcom.CENS":"Перепись населения","gedcom.CHR":"Крещение","gedcom.CHRA":"Крещение взрослых","gedcom.CONF":"Подтверждение","gedcom.CREM":"Кремация","gedcom.DEAT":"Смерть","gedcom.DEG":"Ученая степень","gedcom.DIV":"Развод","gedcom.DIVF":"Подано заявление о разводе","gedcom.DSCR":"Описание","gedcom.EDUC":"Образование","gedcom.ELEC":"Выбор на должность","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Эмиграция","gedcom.ENGA":"Помолвка","gedcom.EVEN":"Событие","gedcom.FACT":"Факт","gedcom.FCOM":"Первое Причастие","gedcom.GRAD":"Завершение обучения","gedcom.IMMI":"Иммиграция","gedcom.MARB":"Отряд","gedcom.MARC":"Брачный контракт","gedcom.MARL":"Свидетельство о браке","gedcom.MARR":"Свадьба","gedcom.MARS":"Брачный договор","gedcom.MDCL":"Медицинская информация","gedcom.MILT":"Военная служба","gedcom.NATU":"Натурализация","gedcom.OBJE":"Дополнительные файлы","gedcom.OCCU":"Вид деятельности","gedcom.ORDN":"Рукоположение","gedcom.PROB":"Подтверждение завещания","gedcom.PROP":"Владение","gedcom.RESI":"Место жительства","gedcom.RETI":"Выход на пенсию","gedcom.RELI":"Религия","gedcom.RIN":"ID","gedcom.SOUR":"Источники","gedcom.TITL":"Титул","gedcom.WILL":"Завещание","gedcom.WWW":"Веб-сайт WWW","gedcom._UPD":"Последнее обновление","gedcom.birth":"Имя при рождении","gedcom.married":"Имя в браке","gedcom.maiden":"Девичья фамилия","gedcom.immigrant":"Имя в эмиграции","gedcom.aka":"Он(а) же","date.abt":"около","date.cal":"рассчитано","date.est":"приблизительно","date.between":"между {from} и {to}","date.after":"после {from}","date.before":"до {to}","age.exact":"{age, plural, =0 {Менее 1 года} one {{qualifier} 1 год} many {{qualifier} # лет} other {{qualifier} # года}}","age.less":"Менее {age, plural, =0 {1 года} one {1 год} many {# лет} other {# года}}","age.more":"Более {age, plural, =0 {0 лет} one {1 год} many {# лет} other {# года}}","age.between":"Между {ageFrom} {ageTo, plural, =0 {0 лет} one {1 год} many {# год} other {# лет}}","error.error":"Ошибка","error.failed_pdf":"Не удалось создать PDF-файл. Повторите попытку с меньшей диаграммой или загрузите файл SVG.","error.failed_png":"Не удалось создать файл PNG. Повторите попытку с меньшей схемой или загрузите файл SVG.","error.failed_to_load_file":"Ошибка загрузки файла","error.failed_wikitree_load_more":"Ошибка при получении данных из WikiTree. {error}","error.GEDCOM_READ_FAILED":"Ошибка чтения файла GEDCOM","error.ERROR_LOADING_UPLOADED_FILE":"Ошибка чтения данных. Повторите.","error.WIKITREE_ID_NOT_PROVIDED":"Не указан идентификатор WikiTree","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Профиль WikiTree {id} недоступен","error.WIKITREE_PROFILE_NOT_FOUND":"Профиль WikiTree {id} не найден","error.failed_to_load_image":"Ошибка при открытии картинки","wikitree.private":"Частный","tab.info":"Информация","tab.settings":"Настройки","config.colors":"Цвет","config.colors.NO_COLOR":"Без цвета","config.colors.COLOR_BY_GENERATION":"По поколениям","config.colors.COLOR_BY_SEX":"По полу","config.ids":"Идентификатор","config.ids.HIDE":"Скрыть","config.ids.SHOW":"Показать","config.sex":"Пол","config.sex.HIDE":"Скрыть","config.sex.SHOW":"Показать","head.source":"Источник данных","name.unknown_name":"Неизвестно","extras.images":"Картинки","extras.notes":"Примечание","extras.sources":"Источники","extras.files":"Дополнительные файлы"},U7e={bg:O7e,cs:D7e,de:$7e,fr:F7e,it:L7e,pl:B7e,ru:z7e},n9=navigator.language&&navigator.language.split(/[-_]/)[0],r9=nZ(),j7e=document.getElementById("root"),i9=dZ.createRoot(j7e);r9&&r9.name==="ie"?i9.render(U.jsx("p",{children:"Topola Genealogy Viewer does not support Internet Explorer. Please try a different (modern) browser."})):i9.render(U.jsx(VJ,{locale:n9,messages:U7e[n9],children:U.jsxs(nve,{children:[U.jsx("style",{children:tve}),U.jsx(gte,{children:U.jsx(N7e,{})})]})}));export{dm as _,Yce as a,Ra as c,jn as g,Ble as t,Y7e as z}; diff --git a/assets/index-CPYpbGHF.css b/assets/index-DKBwy6AA.css similarity index 99% rename from assets/index-CPYpbGHF.css rename to assets/index-DKBwy6AA.css index 571928b..8372cdf 100644 --- a/assets/index-CPYpbGHF.css +++ b/assets/index-DKBwy6AA.css @@ -343,4 +343,4 @@ * Released under the MIT license * http://opensource.org/licenses/MIT * -*/.transition{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:ease;animation-timing-function:ease;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animating.transition{-webkit-backface-visibility:hidden;backface-visibility:hidden;visibility:visible!important}.loading.transition{position:absolute;top:-99999px;left:-99999px}.hidden.transition{display:none;visibility:hidden}.visible.transition{display:block!important;visibility:visible!important}.disabled.transition{-webkit-animation-play-state:paused;animation-play-state:paused}.looping.transition{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.transition.browse{-webkit-animation-duration:.5s;animation-duration:.5s}.transition.browse.in{-webkit-animation-name:browseIn;animation-name:browseIn}.transition.browse.left.out,.transition.browse.out{-webkit-animation-name:browseOutLeft;animation-name:browseOutLeft}.transition.browse.right.out{-webkit-animation-name:browseOutRight;animation-name:browseOutRight}@-webkit-keyframes browseIn{0%{transform:scale(.8) translateZ(0);z-index:-1}10%{transform:scale(.8) translateZ(0);z-index:-1;opacity:.7}80%{transform:scale(1.05) translateZ(0);opacity:1;z-index:999}to{transform:scale(1) translateZ(0);z-index:999}}@keyframes browseIn{0%{transform:scale(.8) translateZ(0);z-index:-1}10%{transform:scale(.8) translateZ(0);z-index:-1;opacity:.7}80%{transform:scale(1.05) translateZ(0);opacity:1;z-index:999}to{transform:scale(1) translateZ(0);z-index:999}}@-webkit-keyframes browseOutLeft{0%{z-index:999;transform:translate(0) rotateY(0) rotateX(0)}50%{z-index:-1;transform:translate(-105%) rotateY(35deg) rotateX(10deg) translateZ(-10px)}80%{opacity:1}to{z-index:-1;transform:translate(0) rotateY(0) rotateX(0) translateZ(-10px);opacity:0}}@keyframes browseOutLeft{0%{z-index:999;transform:translate(0) rotateY(0) rotateX(0)}50%{z-index:-1;transform:translate(-105%) rotateY(35deg) rotateX(10deg) translateZ(-10px)}80%{opacity:1}to{z-index:-1;transform:translate(0) rotateY(0) rotateX(0) translateZ(-10px);opacity:0}}@-webkit-keyframes browseOutRight{0%{z-index:999;transform:translate(0) rotateY(0) rotateX(0)}50%{z-index:1;transform:translate(105%) rotateY(35deg) rotateX(10deg) translateZ(-10px)}80%{opacity:1}to{z-index:1;transform:translate(0) rotateY(0) rotateX(0) translateZ(-10px);opacity:0}}@keyframes browseOutRight{0%{z-index:999;transform:translate(0) rotateY(0) rotateX(0)}50%{z-index:1;transform:translate(105%) rotateY(35deg) rotateX(10deg) translateZ(-10px)}80%{opacity:1}to{z-index:1;transform:translate(0) rotateY(0) rotateX(0) translateZ(-10px);opacity:0}}.drop.transition{transform-origin:top center;-webkit-animation-duration:.4s;animation-duration:.4s;-webkit-animation-timing-function:cubic-bezier(.34,1.61,.7,1);animation-timing-function:cubic-bezier(.34,1.61,.7,1)}.drop.transition.in{-webkit-animation-name:dropIn;animation-name:dropIn}.drop.transition.out{-webkit-animation-name:dropOut;animation-name:dropOut}@-webkit-keyframes dropIn{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes dropIn{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@-webkit-keyframes dropOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes dropOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}.transition.fade.in{-webkit-animation-name:fadeIn;animation-name:fadeIn}.transition[class*="fade up"].in{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}.transition[class*="fade down"].in{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}.transition[class*="fade left"].in{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}.transition[class*="fade right"].in{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}.transition.fade.out{-webkit-animation-name:fadeOut;animation-name:fadeOut}.transition[class*="fade up"].out{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}.transition[class*="fade down"].out{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}.transition[class*="fade left"].out{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}.transition[class*="fade right"].out{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeInUp{0%{opacity:0;transform:translateY(10%)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(10%)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes fadeInDown{0%{opacity:0;transform:translateY(-10%)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-10%)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes fadeInLeft{0%{opacity:0;transform:translate(10%)}to{opacity:1;transform:translate(0)}}@keyframes fadeInLeft{0%{opacity:0;transform:translate(10%)}to{opacity:1;transform:translate(0)}}@-webkit-keyframes fadeInRight{0%{opacity:0;transform:translate(-10%)}to{opacity:1;transform:translate(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate(-10%)}to{opacity:1;transform:translate(0)}}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@-webkit-keyframes fadeOutUp{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(5%)}}@keyframes fadeOutUp{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(5%)}}@-webkit-keyframes fadeOutDown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-5%)}}@keyframes fadeOutDown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-5%)}}@-webkit-keyframes fadeOutLeft{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(5%)}}@keyframes fadeOutLeft{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(5%)}}@-webkit-keyframes fadeOutRight{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-5%)}}@keyframes fadeOutRight{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-5%)}}.flip.transition.in,.flip.transition.out{-webkit-animation-duration:.6s;animation-duration:.6s}.horizontal.flip.transition.in{-webkit-animation-name:horizontalFlipIn;animation-name:horizontalFlipIn}.horizontal.flip.transition.out{-webkit-animation-name:horizontalFlipOut;animation-name:horizontalFlipOut}.vertical.flip.transition.in{-webkit-animation-name:verticalFlipIn;animation-name:verticalFlipIn}.vertical.flip.transition.out{-webkit-animation-name:verticalFlipOut;animation-name:verticalFlipOut}@-webkit-keyframes horizontalFlipIn{0%{transform:perspective(2000px) rotateY(-90deg);opacity:0}to{transform:perspective(2000px) rotateY(0);opacity:1}}@keyframes horizontalFlipIn{0%{transform:perspective(2000px) rotateY(-90deg);opacity:0}to{transform:perspective(2000px) rotateY(0);opacity:1}}@-webkit-keyframes verticalFlipIn{0%{transform:perspective(2000px) rotateX(-90deg);opacity:0}to{transform:perspective(2000px) rotateX(0);opacity:1}}@keyframes verticalFlipIn{0%{transform:perspective(2000px) rotateX(-90deg);opacity:0}to{transform:perspective(2000px) rotateX(0);opacity:1}}@-webkit-keyframes horizontalFlipOut{0%{transform:perspective(2000px) rotateY(0);opacity:1}to{transform:perspective(2000px) rotateY(90deg);opacity:0}}@keyframes horizontalFlipOut{0%{transform:perspective(2000px) rotateY(0);opacity:1}to{transform:perspective(2000px) rotateY(90deg);opacity:0}}@-webkit-keyframes verticalFlipOut{0%{transform:perspective(2000px) rotateX(0);opacity:1}to{transform:perspective(2000px) rotateX(-90deg);opacity:0}}@keyframes verticalFlipOut{0%{transform:perspective(2000px) rotateX(0);opacity:1}to{transform:perspective(2000px) rotateX(-90deg);opacity:0}}.scale.transition.in{-webkit-animation-name:scaleIn;animation-name:scaleIn}.scale.transition.out{-webkit-animation-name:scaleOut;animation-name:scaleOut}@-webkit-keyframes scaleIn{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes scaleIn{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@-webkit-keyframes scaleOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.9)}}@keyframes scaleOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.9)}}.transition.fly{-webkit-animation-duration:.6s;animation-duration:.6s;transition-timing-function:cubic-bezier(.215,.61,.355,1)}.transition.fly.in{-webkit-animation-name:flyIn;animation-name:flyIn}.transition[class*="fly up"].in{-webkit-animation-name:flyInUp;animation-name:flyInUp}.transition[class*="fly down"].in{-webkit-animation-name:flyInDown;animation-name:flyInDown}.transition[class*="fly left"].in{-webkit-animation-name:flyInLeft;animation-name:flyInLeft}.transition[class*="fly right"].in{-webkit-animation-name:flyInRight;animation-name:flyInRight}.transition.fly.out{-webkit-animation-name:flyOut;animation-name:flyOut}.transition[class*="fly up"].out{-webkit-animation-name:flyOutUp;animation-name:flyOutUp}.transition[class*="fly down"].out{-webkit-animation-name:flyOutDown;animation-name:flyOutDown}.transition[class*="fly left"].out{-webkit-animation-name:flyOutLeft;animation-name:flyOutLeft}.transition[class*="fly right"].out{-webkit-animation-name:flyOutRight;animation-name:flyOutRight}@-webkit-keyframes flyIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes flyIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@-webkit-keyframes flyInUp{0%{opacity:0;transform:translate3d(0,1500px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes flyInUp{0%{opacity:0;transform:translate3d(0,1500px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@-webkit-keyframes flyInDown{0%{opacity:0;transform:translate3d(0,-1500px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes flyInDown{0%{opacity:0;transform:translate3d(0,-1500px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@-webkit-keyframes flyInLeft{0%{opacity:0;transform:translate3d(1500px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes flyInLeft{0%{opacity:0;transform:translate3d(1500px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@-webkit-keyframes flyInRight{0%{opacity:0;transform:translate3d(-1500px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes flyInRight{0%{opacity:0;transform:translate3d(-1500px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@-webkit-keyframes flyOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes flyOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@-webkit-keyframes flyOutUp{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes flyOutUp{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}@-webkit-keyframes flyOutDown{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes flyOutDown{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@-webkit-keyframes flyOutRight{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes flyOutRight{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@-webkit-keyframes flyOutLeft{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes flyOutLeft{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}.transition.slide.in,.transition[class*="slide down"].in{-webkit-animation-name:slideInY;animation-name:slideInY;transform-origin:top center}.transition[class*="slide up"].in{-webkit-animation-name:slideInY;animation-name:slideInY;transform-origin:bottom center}.transition[class*="slide left"].in{-webkit-animation-name:slideInX;animation-name:slideInX;transform-origin:center right}.transition[class*="slide right"].in{-webkit-animation-name:slideInX;animation-name:slideInX;transform-origin:center left}.transition.slide.out,.transition[class*="slide down"].out{-webkit-animation-name:slideOutY;animation-name:slideOutY;transform-origin:top center}.transition[class*="slide up"].out{-webkit-animation-name:slideOutY;animation-name:slideOutY;transform-origin:bottom center}.transition[class*="slide left"].out{-webkit-animation-name:slideOutX;animation-name:slideOutX;transform-origin:center right}.transition[class*="slide right"].out{-webkit-animation-name:slideOutX;animation-name:slideOutX;transform-origin:center left}@-webkit-keyframes slideInY{0%{opacity:0;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}@keyframes slideInY{0%{opacity:0;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}@-webkit-keyframes slideInX{0%{opacity:0;transform:scaleX(0)}to{opacity:1;transform:scaleX(1)}}@keyframes slideInX{0%{opacity:0;transform:scaleX(0)}to{opacity:1;transform:scaleX(1)}}@-webkit-keyframes slideOutY{0%{opacity:1;transform:scaleY(1)}to{opacity:0;transform:scaleY(0)}}@keyframes slideOutY{0%{opacity:1;transform:scaleY(1)}to{opacity:0;transform:scaleY(0)}}@-webkit-keyframes slideOutX{0%{opacity:1;transform:scaleX(1)}to{opacity:0;transform:scaleX(0)}}@keyframes slideOutX{0%{opacity:1;transform:scaleX(1)}to{opacity:0;transform:scaleX(0)}}.transition.swing{-webkit-animation-duration:.8s;animation-duration:.8s}.transition[class*="swing down"].in{-webkit-animation-name:swingInX;animation-name:swingInX;transform-origin:top center}.transition[class*="swing up"].in{-webkit-animation-name:swingInX;animation-name:swingInX;transform-origin:bottom center}.transition[class*="swing left"].in{-webkit-animation-name:swingInY;animation-name:swingInY;transform-origin:center right}.transition[class*="swing right"].in{-webkit-animation-name:swingInY;animation-name:swingInY;transform-origin:center left}.transition.swing.out,.transition[class*="swing down"].out{-webkit-animation-name:swingOutX;animation-name:swingOutX;transform-origin:top center}.transition[class*="swing up"].out{-webkit-animation-name:swingOutX;animation-name:swingOutX;transform-origin:bottom center}.transition[class*="swing left"].out{-webkit-animation-name:swingOutY;animation-name:swingOutY;transform-origin:center right}.transition[class*="swing right"].out{-webkit-animation-name:swingOutY;animation-name:swingOutY;transform-origin:center left}@-webkit-keyframes swingInX{0%{transform:perspective(1000px) rotateX(90deg);opacity:0}40%{transform:perspective(1000px) rotateX(-30deg);opacity:1}60%{transform:perspective(1000px) rotateX(15deg)}80%{transform:perspective(1000px) rotateX(-7.5deg)}to{transform:perspective(1000px) rotateX(0)}}@keyframes swingInX{0%{transform:perspective(1000px) rotateX(90deg);opacity:0}40%{transform:perspective(1000px) rotateX(-30deg);opacity:1}60%{transform:perspective(1000px) rotateX(15deg)}80%{transform:perspective(1000px) rotateX(-7.5deg)}to{transform:perspective(1000px) rotateX(0)}}@-webkit-keyframes swingInY{0%{transform:perspective(1000px) rotateY(-90deg);opacity:0}40%{transform:perspective(1000px) rotateY(30deg);opacity:1}60%{transform:perspective(1000px) rotateY(-17.5deg)}80%{transform:perspective(1000px) rotateY(7.5deg)}to{transform:perspective(1000px) rotateY(0)}}@keyframes swingInY{0%{transform:perspective(1000px) rotateY(-90deg);opacity:0}40%{transform:perspective(1000px) rotateY(30deg);opacity:1}60%{transform:perspective(1000px) rotateY(-17.5deg)}80%{transform:perspective(1000px) rotateY(7.5deg)}to{transform:perspective(1000px) rotateY(0)}}@-webkit-keyframes swingOutX{0%{transform:perspective(1000px) rotateX(0)}40%{transform:perspective(1000px) rotateX(-7.5deg)}60%{transform:perspective(1000px) rotateX(17.5deg)}80%{transform:perspective(1000px) rotateX(-30deg);opacity:1}to{transform:perspective(1000px) rotateX(90deg);opacity:0}}@keyframes swingOutX{0%{transform:perspective(1000px) rotateX(0)}40%{transform:perspective(1000px) rotateX(-7.5deg)}60%{transform:perspective(1000px) rotateX(17.5deg)}80%{transform:perspective(1000px) rotateX(-30deg);opacity:1}to{transform:perspective(1000px) rotateX(90deg);opacity:0}}@-webkit-keyframes swingOutY{0%{transform:perspective(1000px) rotateY(0)}40%{transform:perspective(1000px) rotateY(7.5deg)}60%{transform:perspective(1000px) rotateY(-10deg)}80%{transform:perspective(1000px) rotateY(30deg);opacity:1}to{transform:perspective(1000px) rotateY(-90deg);opacity:0}}@keyframes swingOutY{0%{transform:perspective(1000px) rotateY(0)}40%{transform:perspective(1000px) rotateY(7.5deg)}60%{transform:perspective(1000px) rotateY(-10deg)}80%{transform:perspective(1000px) rotateY(30deg);opacity:1}to{transform:perspective(1000px) rotateY(-90deg);opacity:0}}.transition.zoom.in{-webkit-animation-name:zoomIn;animation-name:zoomIn}.transition.zoom.out{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomIn{0%{opacity:1;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes zoomIn{0%{opacity:1;transform:scale(0)}to{opacity:1;transform:scale(1)}}@-webkit-keyframes zoomOut{0%{opacity:1;transform:scale(1)}to{opacity:1;transform:scale(0)}}@keyframes zoomOut{0%{opacity:1;transform:scale(1)}to{opacity:1;transform:scale(0)}}.flash.transition{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:flash;animation-name:flash}.shake.transition{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:shake;animation-name:shake}.bounce.transition{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:bounce;animation-name:bounce}.tada.transition{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:tada;animation-name:tada}.pulse.transition{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:pulse;animation-name:pulse}.jiggle.transition{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:jiggle;animation-name:jiggle}.transition.glow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:cubic-bezier(.19,1,.22,1);animation-timing-function:cubic-bezier(.19,1,.22,1)}.transition.glow{-webkit-animation-name:glow;animation-name:glow}@-webkit-keyframes flash{0%,to,50%{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,to,50%{opacity:1}25%,75%{opacity:0}}@-webkit-keyframes shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-10px)}20%,40%,60%,80%{transform:translate(10px)}}@keyframes shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-10px)}20%,40%,60%,80%{transform:translate(10px)}}@-webkit-keyframes bounce{0%,to,20%,50%,80%{transform:translateY(0)}40%{transform:translateY(-30px)}60%{transform:translateY(-15px)}}@keyframes bounce{0%,to,20%,50%,80%{transform:translateY(0)}40%{transform:translateY(-30px)}60%{transform:translateY(-15px)}}@-webkit-keyframes tada{0%{transform:scale(1)}10%,20%{transform:scale(.9) rotate(-3deg)}30%,50%,70%,90%{transform:scale(1.1) rotate(3deg)}40%,60%,80%{transform:scale(1.1) rotate(-3deg)}to{transform:scale(1) rotate(0)}}@keyframes tada{0%{transform:scale(1)}10%,20%{transform:scale(.9) rotate(-3deg)}30%,50%,70%,90%{transform:scale(1.1) rotate(3deg)}40%,60%,80%{transform:scale(1.1) rotate(-3deg)}to{transform:scale(1) rotate(0)}}@-webkit-keyframes pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(.9);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(.9);opacity:.7}to{transform:scale(1);opacity:1}}@-webkit-keyframes jiggle{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes jiggle{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@-webkit-keyframes glow{0%{background-color:#fcfcfd}30%{background-color:#fff6cd}to{background-color:#fcfcfd}}@keyframes glow{0%{background-color:#fcfcfd}30%{background-color:#fff6cd}to{background-color:#fcfcfd}}body,html{height:100%}.node{cursor:pointer}#root{height:100%;display:flex;flex-direction:column}#content{flex:1 1 auto;height:100%;overflow:hidden}#introContent{flex:1 1 auto;height:100%;overflow:hidden;display:flex}#svgContainer{flex:1 1 auto;overflow:auto}.hidden{display:none}p.comment{margin-top:16px}div.ui.error.message{margin:auto}div.ui.errorPopup.message{left:40px;bottom:40px;position:fixed}div.ui.card.intro{width:770px;margin:auto}.version{color:#888}.backgroundImage{width:100%;height:100%;background-image:url(./topola-DAj3jHeV.jpg);background-size:cover;background-position:0% 20%;position:fixed;z-index:-100;filter:blur(8px) opacity(30%);-webkit-filter:blur(8px) opacity(30%)}div.zoom{box-shadow:0 1px 5px #000000a6;border-radius:4px;position:fixed;margin:10px;z-index:10}.zoom button{font-family:monospace;font-weight:700;font-size:20px;text-decoration:none;color:#000;text-align:center;width:26px;height:26px;background-color:#fff;display:block;line-height:26px;box-sizing:content-box;cursor:pointer;padding:0}.zoom button:hover{background-color:#eee}.zoom button:focus{outline:0px}.zoom-in{border-top-left-radius:4px;border-top-right-radius:4px;border-top:0px;border-bottom:1px solid #ccc;border-left:0px;border-right:0px}.zoom-out{border:0px;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.ui.loader.loading-more{position:absolute;top:auto;bottom:0;left:25px}.content .ui.image.blockImage{display:block}.link-span{color:#4183c4;cursor:pointer}.ui.menu .item>img:not(.ui).menu-icon{width:24px;height:24px;margin-right:5px}.ui.top.attached.menu{margin-top:0}.details{padding:15px 0;border-bottom:1px solid rgba(34,36,38,.15);overflow-y:auto;height:calc(100% - 43px)}.details .ui.items .item .content{padding:0 15px 0 25px}.details .item-header{justify-content:space-between;display:flex;word-break:break-word}.details .item-header .header{text-transform:uppercase;margin:0;min-width:40%}.details .person-image{padding:0 10px}.ui.form .field.no-margin{margin:0}.ui.tabular.menu a{text-transform:uppercase}.ui.sub.header,.ui.list{margin-left:20px}.limit-height{height:300px;overflow-y:scroll}.loaded-image-thumbnail{cursor:zoom-in}.hidden-image{display:none!important}.modal-image{display:block;margin-left:auto;margin-right:auto}.modal-image .ui.attached.label{width:auto;min-width:100%}.image-placeholder{height:100%}.event-extras .ui.attached.menu{border:none;min-height:auto}.event-extras .ui.attached.segment.tab,.event-extras .ui.tabular.menu .item{border:none}.event-extras .ui.menu .active.item .icon{background-color:#1b1c1d;color:#fff}.event-extras .ui.attached.segment.active.tab{word-break:normal;overflow-wrap:anywhere;max-width:289px;padding:14px 0 0}#dotatsoSvgContainer{flex:1 1 auto;overflow:auto}#dotatsoSvgContainer svg.main_svg{width:100%;height:100%}#dotatsoSvgContainer rect.card-female,#dotatsoSvgContainer .card-female .card-body-rect,#dotatsoSvgContainer .card-female .text-overflow-mask{fill:#c48a92}#dotatsoSvgContainer rect.card-male,#dotatsoSvgContainer .card-male .card-body-rect,#dotatsoSvgContainer .card-male .text-overflow-mask{fill:#789fac}#dotatsoSvgContainer .card-genderless .card-body-rect,#dotatsoSvgContainer .card-genderless .text-overflow-mask{fill:#d3d3d3}#dotatsoSvgContainer g.card_add text{fill:#fff}#dotatsoSvgContainer .card-main-outline{stroke:#000;stroke-width:3px}#dotatsoSvgContainer .card_family_tree rect{transition:.3s}#dotatsoSvgContainer .card_family_tree:hover rect{transform:scale(1.1)}#dotatsoSvgContainer .card_family_tree line{stroke:#000}#dotatsoSvgContainer .link{stroke:#000}#content .pusher{height:100%;display:flex;overflow:hidden}#content #sidebar.wide~.pusher{width:calc(100% - 350px);transform:none}#content #sidebar.very.thin~.pusher{width:calc(100% - 60px)}#sidebar{overflow:hidden;height:100%}#sideTabs{height:100%}#sideTabs>.ui.tabular.menu{padding-left:60px}#sideToggle{position:absolute;background:inherit;top:0;height:42px;border-radius:0;width:60px}#sideToggle:hover{background-color:#ddd}.collapsed-details{width:100%;height:100%;display:grid;place-items:center}.collapsed-details .vertical-name{writing-mode:vertical-rl;transform:rotate(180deg);transform-origin:center;font-size:1.2rem;font-weight:700;white-space:pre}@media (max-width: 767px){#sidebar{background-color:#fff}#sidebar.wide{width:100%;top:50%;max-height:50%}#sidebar.very.thin{right:unset!important;left:unset!important;bottom:0;width:100%;height:42px!important;top:auto}.collapsed-details .vertical-name{writing-mode:unset;transform:none}#sidebar.wide i.icon.arrow.right:before{content:""}#sidebar.very.thin i.icon.arrow.left:before{content:""}#content #sidebar.wide~.pusher{width:100%;height:50%;min-height:unset}#content #sidebar.very.thin~.pusher{width:100%}} +*/.transition{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:ease;animation-timing-function:ease;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animating.transition{-webkit-backface-visibility:hidden;backface-visibility:hidden;visibility:visible!important}.loading.transition{position:absolute;top:-99999px;left:-99999px}.hidden.transition{display:none;visibility:hidden}.visible.transition{display:block!important;visibility:visible!important}.disabled.transition{-webkit-animation-play-state:paused;animation-play-state:paused}.looping.transition{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.transition.browse{-webkit-animation-duration:.5s;animation-duration:.5s}.transition.browse.in{-webkit-animation-name:browseIn;animation-name:browseIn}.transition.browse.left.out,.transition.browse.out{-webkit-animation-name:browseOutLeft;animation-name:browseOutLeft}.transition.browse.right.out{-webkit-animation-name:browseOutRight;animation-name:browseOutRight}@-webkit-keyframes browseIn{0%{transform:scale(.8) translateZ(0);z-index:-1}10%{transform:scale(.8) translateZ(0);z-index:-1;opacity:.7}80%{transform:scale(1.05) translateZ(0);opacity:1;z-index:999}to{transform:scale(1) translateZ(0);z-index:999}}@keyframes browseIn{0%{transform:scale(.8) translateZ(0);z-index:-1}10%{transform:scale(.8) translateZ(0);z-index:-1;opacity:.7}80%{transform:scale(1.05) translateZ(0);opacity:1;z-index:999}to{transform:scale(1) translateZ(0);z-index:999}}@-webkit-keyframes browseOutLeft{0%{z-index:999;transform:translate(0) rotateY(0) rotateX(0)}50%{z-index:-1;transform:translate(-105%) rotateY(35deg) rotateX(10deg) translateZ(-10px)}80%{opacity:1}to{z-index:-1;transform:translate(0) rotateY(0) rotateX(0) translateZ(-10px);opacity:0}}@keyframes browseOutLeft{0%{z-index:999;transform:translate(0) rotateY(0) rotateX(0)}50%{z-index:-1;transform:translate(-105%) rotateY(35deg) rotateX(10deg) translateZ(-10px)}80%{opacity:1}to{z-index:-1;transform:translate(0) rotateY(0) rotateX(0) translateZ(-10px);opacity:0}}@-webkit-keyframes browseOutRight{0%{z-index:999;transform:translate(0) rotateY(0) rotateX(0)}50%{z-index:1;transform:translate(105%) rotateY(35deg) rotateX(10deg) translateZ(-10px)}80%{opacity:1}to{z-index:1;transform:translate(0) rotateY(0) rotateX(0) translateZ(-10px);opacity:0}}@keyframes browseOutRight{0%{z-index:999;transform:translate(0) rotateY(0) rotateX(0)}50%{z-index:1;transform:translate(105%) rotateY(35deg) rotateX(10deg) translateZ(-10px)}80%{opacity:1}to{z-index:1;transform:translate(0) rotateY(0) rotateX(0) translateZ(-10px);opacity:0}}.drop.transition{transform-origin:top center;-webkit-animation-duration:.4s;animation-duration:.4s;-webkit-animation-timing-function:cubic-bezier(.34,1.61,.7,1);animation-timing-function:cubic-bezier(.34,1.61,.7,1)}.drop.transition.in{-webkit-animation-name:dropIn;animation-name:dropIn}.drop.transition.out{-webkit-animation-name:dropOut;animation-name:dropOut}@-webkit-keyframes dropIn{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes dropIn{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@-webkit-keyframes dropOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes dropOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}.transition.fade.in{-webkit-animation-name:fadeIn;animation-name:fadeIn}.transition[class*="fade up"].in{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}.transition[class*="fade down"].in{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}.transition[class*="fade left"].in{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}.transition[class*="fade right"].in{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}.transition.fade.out{-webkit-animation-name:fadeOut;animation-name:fadeOut}.transition[class*="fade up"].out{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}.transition[class*="fade down"].out{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}.transition[class*="fade left"].out{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}.transition[class*="fade right"].out{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeInUp{0%{opacity:0;transform:translateY(10%)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(10%)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes fadeInDown{0%{opacity:0;transform:translateY(-10%)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-10%)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes fadeInLeft{0%{opacity:0;transform:translate(10%)}to{opacity:1;transform:translate(0)}}@keyframes fadeInLeft{0%{opacity:0;transform:translate(10%)}to{opacity:1;transform:translate(0)}}@-webkit-keyframes fadeInRight{0%{opacity:0;transform:translate(-10%)}to{opacity:1;transform:translate(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate(-10%)}to{opacity:1;transform:translate(0)}}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@-webkit-keyframes fadeOutUp{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(5%)}}@keyframes fadeOutUp{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(5%)}}@-webkit-keyframes fadeOutDown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-5%)}}@keyframes fadeOutDown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-5%)}}@-webkit-keyframes fadeOutLeft{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(5%)}}@keyframes fadeOutLeft{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(5%)}}@-webkit-keyframes fadeOutRight{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-5%)}}@keyframes fadeOutRight{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-5%)}}.flip.transition.in,.flip.transition.out{-webkit-animation-duration:.6s;animation-duration:.6s}.horizontal.flip.transition.in{-webkit-animation-name:horizontalFlipIn;animation-name:horizontalFlipIn}.horizontal.flip.transition.out{-webkit-animation-name:horizontalFlipOut;animation-name:horizontalFlipOut}.vertical.flip.transition.in{-webkit-animation-name:verticalFlipIn;animation-name:verticalFlipIn}.vertical.flip.transition.out{-webkit-animation-name:verticalFlipOut;animation-name:verticalFlipOut}@-webkit-keyframes horizontalFlipIn{0%{transform:perspective(2000px) rotateY(-90deg);opacity:0}to{transform:perspective(2000px) rotateY(0);opacity:1}}@keyframes horizontalFlipIn{0%{transform:perspective(2000px) rotateY(-90deg);opacity:0}to{transform:perspective(2000px) rotateY(0);opacity:1}}@-webkit-keyframes verticalFlipIn{0%{transform:perspective(2000px) rotateX(-90deg);opacity:0}to{transform:perspective(2000px) rotateX(0);opacity:1}}@keyframes verticalFlipIn{0%{transform:perspective(2000px) rotateX(-90deg);opacity:0}to{transform:perspective(2000px) rotateX(0);opacity:1}}@-webkit-keyframes horizontalFlipOut{0%{transform:perspective(2000px) rotateY(0);opacity:1}to{transform:perspective(2000px) rotateY(90deg);opacity:0}}@keyframes horizontalFlipOut{0%{transform:perspective(2000px) rotateY(0);opacity:1}to{transform:perspective(2000px) rotateY(90deg);opacity:0}}@-webkit-keyframes verticalFlipOut{0%{transform:perspective(2000px) rotateX(0);opacity:1}to{transform:perspective(2000px) rotateX(-90deg);opacity:0}}@keyframes verticalFlipOut{0%{transform:perspective(2000px) rotateX(0);opacity:1}to{transform:perspective(2000px) rotateX(-90deg);opacity:0}}.scale.transition.in{-webkit-animation-name:scaleIn;animation-name:scaleIn}.scale.transition.out{-webkit-animation-name:scaleOut;animation-name:scaleOut}@-webkit-keyframes scaleIn{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes scaleIn{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@-webkit-keyframes scaleOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.9)}}@keyframes scaleOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.9)}}.transition.fly{-webkit-animation-duration:.6s;animation-duration:.6s;transition-timing-function:cubic-bezier(.215,.61,.355,1)}.transition.fly.in{-webkit-animation-name:flyIn;animation-name:flyIn}.transition[class*="fly up"].in{-webkit-animation-name:flyInUp;animation-name:flyInUp}.transition[class*="fly down"].in{-webkit-animation-name:flyInDown;animation-name:flyInDown}.transition[class*="fly left"].in{-webkit-animation-name:flyInLeft;animation-name:flyInLeft}.transition[class*="fly right"].in{-webkit-animation-name:flyInRight;animation-name:flyInRight}.transition.fly.out{-webkit-animation-name:flyOut;animation-name:flyOut}.transition[class*="fly up"].out{-webkit-animation-name:flyOutUp;animation-name:flyOutUp}.transition[class*="fly down"].out{-webkit-animation-name:flyOutDown;animation-name:flyOutDown}.transition[class*="fly left"].out{-webkit-animation-name:flyOutLeft;animation-name:flyOutLeft}.transition[class*="fly right"].out{-webkit-animation-name:flyOutRight;animation-name:flyOutRight}@-webkit-keyframes flyIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes flyIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@-webkit-keyframes flyInUp{0%{opacity:0;transform:translate3d(0,1500px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes flyInUp{0%{opacity:0;transform:translate3d(0,1500px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@-webkit-keyframes flyInDown{0%{opacity:0;transform:translate3d(0,-1500px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes flyInDown{0%{opacity:0;transform:translate3d(0,-1500px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@-webkit-keyframes flyInLeft{0%{opacity:0;transform:translate3d(1500px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes flyInLeft{0%{opacity:0;transform:translate3d(1500px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@-webkit-keyframes flyInRight{0%{opacity:0;transform:translate3d(-1500px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes flyInRight{0%{opacity:0;transform:translate3d(-1500px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@-webkit-keyframes flyOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes flyOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@-webkit-keyframes flyOutUp{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes flyOutUp{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}@-webkit-keyframes flyOutDown{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes flyOutDown{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@-webkit-keyframes flyOutRight{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes flyOutRight{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@-webkit-keyframes flyOutLeft{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes flyOutLeft{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}.transition.slide.in,.transition[class*="slide down"].in{-webkit-animation-name:slideInY;animation-name:slideInY;transform-origin:top center}.transition[class*="slide up"].in{-webkit-animation-name:slideInY;animation-name:slideInY;transform-origin:bottom center}.transition[class*="slide left"].in{-webkit-animation-name:slideInX;animation-name:slideInX;transform-origin:center right}.transition[class*="slide right"].in{-webkit-animation-name:slideInX;animation-name:slideInX;transform-origin:center left}.transition.slide.out,.transition[class*="slide down"].out{-webkit-animation-name:slideOutY;animation-name:slideOutY;transform-origin:top center}.transition[class*="slide up"].out{-webkit-animation-name:slideOutY;animation-name:slideOutY;transform-origin:bottom center}.transition[class*="slide left"].out{-webkit-animation-name:slideOutX;animation-name:slideOutX;transform-origin:center right}.transition[class*="slide right"].out{-webkit-animation-name:slideOutX;animation-name:slideOutX;transform-origin:center left}@-webkit-keyframes slideInY{0%{opacity:0;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}@keyframes slideInY{0%{opacity:0;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}@-webkit-keyframes slideInX{0%{opacity:0;transform:scaleX(0)}to{opacity:1;transform:scaleX(1)}}@keyframes slideInX{0%{opacity:0;transform:scaleX(0)}to{opacity:1;transform:scaleX(1)}}@-webkit-keyframes slideOutY{0%{opacity:1;transform:scaleY(1)}to{opacity:0;transform:scaleY(0)}}@keyframes slideOutY{0%{opacity:1;transform:scaleY(1)}to{opacity:0;transform:scaleY(0)}}@-webkit-keyframes slideOutX{0%{opacity:1;transform:scaleX(1)}to{opacity:0;transform:scaleX(0)}}@keyframes slideOutX{0%{opacity:1;transform:scaleX(1)}to{opacity:0;transform:scaleX(0)}}.transition.swing{-webkit-animation-duration:.8s;animation-duration:.8s}.transition[class*="swing down"].in{-webkit-animation-name:swingInX;animation-name:swingInX;transform-origin:top center}.transition[class*="swing up"].in{-webkit-animation-name:swingInX;animation-name:swingInX;transform-origin:bottom center}.transition[class*="swing left"].in{-webkit-animation-name:swingInY;animation-name:swingInY;transform-origin:center right}.transition[class*="swing right"].in{-webkit-animation-name:swingInY;animation-name:swingInY;transform-origin:center left}.transition.swing.out,.transition[class*="swing down"].out{-webkit-animation-name:swingOutX;animation-name:swingOutX;transform-origin:top center}.transition[class*="swing up"].out{-webkit-animation-name:swingOutX;animation-name:swingOutX;transform-origin:bottom center}.transition[class*="swing left"].out{-webkit-animation-name:swingOutY;animation-name:swingOutY;transform-origin:center right}.transition[class*="swing right"].out{-webkit-animation-name:swingOutY;animation-name:swingOutY;transform-origin:center left}@-webkit-keyframes swingInX{0%{transform:perspective(1000px) rotateX(90deg);opacity:0}40%{transform:perspective(1000px) rotateX(-30deg);opacity:1}60%{transform:perspective(1000px) rotateX(15deg)}80%{transform:perspective(1000px) rotateX(-7.5deg)}to{transform:perspective(1000px) rotateX(0)}}@keyframes swingInX{0%{transform:perspective(1000px) rotateX(90deg);opacity:0}40%{transform:perspective(1000px) rotateX(-30deg);opacity:1}60%{transform:perspective(1000px) rotateX(15deg)}80%{transform:perspective(1000px) rotateX(-7.5deg)}to{transform:perspective(1000px) rotateX(0)}}@-webkit-keyframes swingInY{0%{transform:perspective(1000px) rotateY(-90deg);opacity:0}40%{transform:perspective(1000px) rotateY(30deg);opacity:1}60%{transform:perspective(1000px) rotateY(-17.5deg)}80%{transform:perspective(1000px) rotateY(7.5deg)}to{transform:perspective(1000px) rotateY(0)}}@keyframes swingInY{0%{transform:perspective(1000px) rotateY(-90deg);opacity:0}40%{transform:perspective(1000px) rotateY(30deg);opacity:1}60%{transform:perspective(1000px) rotateY(-17.5deg)}80%{transform:perspective(1000px) rotateY(7.5deg)}to{transform:perspective(1000px) rotateY(0)}}@-webkit-keyframes swingOutX{0%{transform:perspective(1000px) rotateX(0)}40%{transform:perspective(1000px) rotateX(-7.5deg)}60%{transform:perspective(1000px) rotateX(17.5deg)}80%{transform:perspective(1000px) rotateX(-30deg);opacity:1}to{transform:perspective(1000px) rotateX(90deg);opacity:0}}@keyframes swingOutX{0%{transform:perspective(1000px) rotateX(0)}40%{transform:perspective(1000px) rotateX(-7.5deg)}60%{transform:perspective(1000px) rotateX(17.5deg)}80%{transform:perspective(1000px) rotateX(-30deg);opacity:1}to{transform:perspective(1000px) rotateX(90deg);opacity:0}}@-webkit-keyframes swingOutY{0%{transform:perspective(1000px) rotateY(0)}40%{transform:perspective(1000px) rotateY(7.5deg)}60%{transform:perspective(1000px) rotateY(-10deg)}80%{transform:perspective(1000px) rotateY(30deg);opacity:1}to{transform:perspective(1000px) rotateY(-90deg);opacity:0}}@keyframes swingOutY{0%{transform:perspective(1000px) rotateY(0)}40%{transform:perspective(1000px) rotateY(7.5deg)}60%{transform:perspective(1000px) rotateY(-10deg)}80%{transform:perspective(1000px) rotateY(30deg);opacity:1}to{transform:perspective(1000px) rotateY(-90deg);opacity:0}}.transition.zoom.in{-webkit-animation-name:zoomIn;animation-name:zoomIn}.transition.zoom.out{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomIn{0%{opacity:1;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes zoomIn{0%{opacity:1;transform:scale(0)}to{opacity:1;transform:scale(1)}}@-webkit-keyframes zoomOut{0%{opacity:1;transform:scale(1)}to{opacity:1;transform:scale(0)}}@keyframes zoomOut{0%{opacity:1;transform:scale(1)}to{opacity:1;transform:scale(0)}}.flash.transition{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:flash;animation-name:flash}.shake.transition{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:shake;animation-name:shake}.bounce.transition{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:bounce;animation-name:bounce}.tada.transition{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:tada;animation-name:tada}.pulse.transition{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:pulse;animation-name:pulse}.jiggle.transition{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:jiggle;animation-name:jiggle}.transition.glow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:cubic-bezier(.19,1,.22,1);animation-timing-function:cubic-bezier(.19,1,.22,1)}.transition.glow{-webkit-animation-name:glow;animation-name:glow}@-webkit-keyframes flash{0%,to,50%{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,to,50%{opacity:1}25%,75%{opacity:0}}@-webkit-keyframes shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-10px)}20%,40%,60%,80%{transform:translate(10px)}}@keyframes shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-10px)}20%,40%,60%,80%{transform:translate(10px)}}@-webkit-keyframes bounce{0%,to,20%,50%,80%{transform:translateY(0)}40%{transform:translateY(-30px)}60%{transform:translateY(-15px)}}@keyframes bounce{0%,to,20%,50%,80%{transform:translateY(0)}40%{transform:translateY(-30px)}60%{transform:translateY(-15px)}}@-webkit-keyframes tada{0%{transform:scale(1)}10%,20%{transform:scale(.9) rotate(-3deg)}30%,50%,70%,90%{transform:scale(1.1) rotate(3deg)}40%,60%,80%{transform:scale(1.1) rotate(-3deg)}to{transform:scale(1) rotate(0)}}@keyframes tada{0%{transform:scale(1)}10%,20%{transform:scale(.9) rotate(-3deg)}30%,50%,70%,90%{transform:scale(1.1) rotate(3deg)}40%,60%,80%{transform:scale(1.1) rotate(-3deg)}to{transform:scale(1) rotate(0)}}@-webkit-keyframes pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(.9);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(.9);opacity:.7}to{transform:scale(1);opacity:1}}@-webkit-keyframes jiggle{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes jiggle{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@-webkit-keyframes glow{0%{background-color:#fcfcfd}30%{background-color:#fff6cd}to{background-color:#fcfcfd}}@keyframes glow{0%{background-color:#fcfcfd}30%{background-color:#fff6cd}to{background-color:#fcfcfd}}body,html{height:100%}.node{cursor:pointer}#root{height:100%;display:flex;flex-direction:column}#content{flex:1 1 auto;height:100%;overflow:hidden}#introContent{flex:1 1 auto;height:100%;overflow:hidden;display:flex}#svgContainer{flex:1 1 auto;overflow:auto}.hidden{display:none}p.comment{margin-top:16px}div.ui.error.message{margin:auto}div.ui.errorPopup.message{left:40px;bottom:40px;position:fixed}div.ui.card.intro{width:770px;margin:auto}.version{color:#888}.backgroundImage{width:100%;height:100%;background-image:url(./topola-DAj3jHeV.jpg);background-size:cover;background-position:0% 20%;position:fixed;z-index:-100;filter:blur(8px) opacity(30%);-webkit-filter:blur(8px) opacity(30%)}div.zoom{box-shadow:0 1px 5px #000000a6;border-radius:4px;position:fixed;margin:10px;z-index:10}.zoom button{font-family:monospace;font-weight:700;font-size:20px;text-decoration:none;color:#000;text-align:center;width:26px;height:26px;background-color:#fff;display:block;line-height:26px;box-sizing:content-box;cursor:pointer;padding:0}.zoom button:hover{background-color:#eee}.zoom button:focus{outline:0px}.zoom-in{border-top-left-radius:4px;border-top-right-radius:4px;border-top:0px;border-bottom:1px solid #ccc;border-left:0px;border-right:0px}.zoom-out{border:0px;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.ui.loader.loading-more{position:absolute;top:auto;bottom:0;left:25px}.content .ui.image.blockImage{display:block}.link-span{color:#4183c4;cursor:pointer}.ui.menu .item>img:not(.ui).menu-icon{width:24px;height:24px;margin-right:5px}.ui.top.attached.menu{margin-top:0}.details{padding:15px 0;border-bottom:1px solid rgba(34,36,38,.15);overflow-y:auto;height:calc(100% - 43px)}.details .ui.items .item .content{padding:0 15px 0 25px}.details .item-header{justify-content:space-between;display:flex;word-break:break-word}.details .item-header .header{text-transform:uppercase;margin:0;min-width:40%}.details .person-image{padding:0 10px}.ui.form .field.no-margin{margin:0}.ui.tabular.menu a{text-transform:uppercase}.limit-height{height:300px;overflow-y:scroll}.loaded-image-thumbnail{cursor:zoom-in}.hidden-image{display:none!important}.modal-image{display:block;margin-left:auto;margin-right:auto}.modal-image .ui.attached.label{width:auto;min-width:100%}.image-placeholder{height:100%}.event-extras .ui.attached.menu{border:none;min-height:auto}.event-extras .ui.attached.segment.tab,.event-extras .ui.tabular.menu .item{border:none}.event-extras .ui.menu .active.item .icon{background-color:#1b1c1d;color:#fff}.event-extras .ui.attached.segment.active.tab{word-break:normal;overflow-wrap:anywhere;max-width:289px;padding:14px 0 0}#dotatsoSvgContainer{flex:1 1 auto;overflow:auto}#dotatsoSvgContainer svg.main_svg{width:100%;height:100%}#dotatsoSvgContainer rect.card-female,#dotatsoSvgContainer .card-female .card-body-rect,#dotatsoSvgContainer .card-female .text-overflow-mask{fill:#c48a92}#dotatsoSvgContainer rect.card-male,#dotatsoSvgContainer .card-male .card-body-rect,#dotatsoSvgContainer .card-male .text-overflow-mask{fill:#789fac}#dotatsoSvgContainer .card-genderless .card-body-rect,#dotatsoSvgContainer .card-genderless .text-overflow-mask{fill:#d3d3d3}#dotatsoSvgContainer g.card_add text{fill:#fff}#dotatsoSvgContainer .card-main-outline{stroke:#000;stroke-width:3px}#dotatsoSvgContainer .card_family_tree rect{transition:.3s}#dotatsoSvgContainer .card_family_tree:hover rect{transform:scale(1.1)}#dotatsoSvgContainer .card_family_tree line{stroke:#000}#dotatsoSvgContainer .link{stroke:#000}#content .pusher{height:100%;display:flex;overflow:hidden}#content #sidebar.wide~.pusher{width:calc(100% - 350px);transform:none}#content #sidebar.very.thin~.pusher{width:calc(100% - 60px)}#sidebar{overflow:hidden;height:100%}#sideTabs{height:100%}#sideTabs>.ui.tabular.menu{padding-left:60px}#sideToggle{position:absolute;background:inherit;top:0;height:42px;border-radius:0;width:60px}#sideToggle:hover{background-color:#ddd}.collapsed-details{width:100%;height:100%;display:grid;place-items:center}.collapsed-details .vertical-name{writing-mode:vertical-rl;transform:rotate(180deg);transform-origin:center;font-size:1.2rem;font-weight:700;white-space:pre}@media (max-width: 450px){.topbar--title{display:none}}@media (max-width: 767px){#sidebar{background-color:#fff}#sidebar.wide{width:100%;top:50%;max-height:50%}#sidebar.very.thin{right:unset!important;left:unset!important;bottom:0;width:100%;height:42px!important;top:auto}.collapsed-details .vertical-name{writing-mode:unset;transform:none}#sidebar.wide i.icon.arrow.right:before{content:""}#sidebar.very.thin i.icon.arrow.left:before{content:""}#content #sidebar.wide~.pusher{width:100%;height:50%;min-height:unset}#content #sidebar.very.thin~.pusher{width:100%}.ui.search{margin-left:auto;margin-right:1em}.ui.search>.results{left:initial;right:0}} diff --git a/assets/index-DsNtXj9M.js b/assets/index-DsNtXj9M.js deleted file mode 100644 index 3cbfcd1..0000000 --- a/assets/index-DsNtXj9M.js +++ /dev/null @@ -1,819 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(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 r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();var Ma=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Un(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Zm(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var Rx={exports:{}},vh={},Ix={exports:{}},pt={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var X4;function VX(){if(X4)return pt;X4=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),f=Symbol.iterator;function d(W){return W===null||typeof W!="object"?null:(W=f&&W[f]||W["@@iterator"],typeof W=="function"?W:null)}var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,g={};function y(W,G,H){this.props=W,this.context=G,this.refs=g,this.updater=H||p}y.prototype.isReactComponent={},y.prototype.setState=function(W,G){if(typeof W!="object"&&typeof W!="function"&&W!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,W,G,"setState")},y.prototype.forceUpdate=function(W){this.updater.enqueueForceUpdate(this,W,"forceUpdate")};function _(){}_.prototype=y.prototype;function b(W,G,H){this.props=W,this.context=G,this.refs=g,this.updater=H||p}var E=b.prototype=new _;E.constructor=b,w(E,y.prototype),E.isPureReactComponent=!0;var S=Array.isArray,v=Object.prototype.hasOwnProperty,C={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function M(W,G,H){var ne,ce={},me=null,we=null;if(G!=null)for(ne in G.ref!==void 0&&(we=G.ref),G.key!==void 0&&(me=""+G.key),G)v.call(G,ne)&&!A.hasOwnProperty(ne)&&(ce[ne]=G[ne]);var xe=arguments.length-2;if(xe===1)ce.children=H;else if(1>>16,p[1]!==61&&(c[d++]=g>>>8),p[0]!==61&&(c[d++]=g),w=0));return c};t&&(o=new t([62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,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])),n&&(!r.toBlob||!r.toBlobHD)&&(r.toBlob||(r.toBlob=function(u,l){if(l||(l="image/png"),this.mozGetAsFile){u(this.mozGetAsFile("canvas",l));return}if(this.msToBlob&&/^\s*image\/png\s*(?:$|;)/i.test(l)){u(this.msToBlob());return}var c=Array.prototype.slice.call(arguments,1),f=this[a].apply(this,c),d=f.indexOf(","),p=f.substring(d+1),w=i.test(f.substring(0,d)),g;Blob.fake?(g=new Blob,w?g.encoding="base64":g.encoding="URI",g.data=p,g.size=p.length):t&&(w?g=new Blob([s(p)],{type:l}):g=new Blob([decodeURIComponent(p)],{type:l})),u(g)}),!r.toBlobHD&&r.toDataURLHD?r.toBlobHD=function(){a="toDataURLHD";var u=this.toBlob();return a="toDataURL",u}:r.toBlobHD=r.toBlob)}(typeof self<"u"&&self||typeof window<"u"&&window||K0.content||K0),K0}KX();var nN=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new tZ:typeof navigator<"u"?sZ(navigator.userAgent):lZ()}function oZ(e){return e!==""&&iZ.reduce(function(t,n){var r=n[0],i=n[1];if(t)return t;var a=i.exec(e);return!!a&&[r,a]},!1)}function sZ(e){var t=oZ(e);if(!t)return null;var n=t[0],r=t[1];if(n==="searchbot")return new eZ;var i=r[1]&&r[1].split(".").join("_").split("_").slice(0,3);i?i.length>>1,G=K[W];if(0>>1;Wi(ce,L))mei(we,ce)?(K[W]=we,K[me]=L,W=me):(K[W]=ce,K[ne]=L,W=ne);else if(mei(we,L))K[W]=we,K[me]=L,W=me;else break e}}return j}function i(K,j){var L=K.sortIndex-j.sortIndex;return L!==0?L:K.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var u=[],l=[],c=1,f=null,d=3,p=!1,w=!1,g=!1,y=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(K){for(var j=n(l);j!==null;){if(j.callback===null)r(l);else if(j.startTime<=K)r(l),j.sortIndex=j.expirationTime,t(u,j);else break;j=n(l)}}function S(K){if(g=!1,E(K),!w)if(n(u)!==null)w=!0,z(v);else{var j=n(l);j!==null&&Q(S,j.startTime-K)}}function v(K,j){w=!1,g&&(g=!1,_(M),M=-1),p=!0;var L=d;try{for(E(j),f=n(u);f!==null&&(!(f.expirationTime>j)||K&&!P());){var W=f.callback;if(typeof W=="function"){f.callback=null,d=f.priorityLevel;var G=W(f.expirationTime<=j);j=e.unstable_now(),typeof G=="function"?f.callback=G:f===n(u)&&r(u),E(j)}else r(u);f=n(u)}if(f!==null)var H=!0;else{var ne=n(l);ne!==null&&Q(S,ne.startTime-j),H=!1}return H}finally{f=null,d=L,p=!1}}var C=!1,A=null,M=-1,R=5,N=-1;function P(){return!(e.unstable_now()-NK||125W?(K.sortIndex=L,t(l,K),n(u)===null&&K===n(l)&&(g?(_(M),M=-1):g=!0,Q(S,L-W))):(K.sortIndex=G,t(u,K),w||p||(w=!0,z(v))),K},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(K){var j=d;return function(){var L=d;d=j;try{return K.apply(this,arguments)}finally{d=L}}}}(Dx)),Dx}var oN;function dZ(){return oN||(oN=1,Ox.exports=fZ()),Ox.exports}/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var sN;function hZ(){if(sN)return Pr;sN=1;var e=su(),t=dZ();function n(h){for(var m="https://reactjs.org/docs/error-decoder.html?invariant="+h,x=1;x"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),u=Object.prototype.hasOwnProperty,l=/^[: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]*$/,c={},f={};function d(h){return u.call(f,h)?!0:u.call(c,h)?!1:l.test(h)?f[h]=!0:(c[h]=!0,!1)}function p(h,m,x,k){if(x!==null&&x.type===0)return!1;switch(typeof m){case"function":case"symbol":return!0;case"boolean":return k?!1:x!==null?!x.acceptsBooleans:(h=h.toLowerCase().slice(0,5),h!=="data-"&&h!=="aria-");default:return!1}}function w(h,m,x,k){if(m===null||typeof m>"u"||p(h,m,x,k))return!0;if(k)return!1;if(x!==null)switch(x.type){case 3:return!m;case 4:return m===!1;case 5:return isNaN(m);case 6:return isNaN(m)||1>m}return!1}function g(h,m,x,k,T,O,Y){this.acceptsBooleans=m===2||m===3||m===4,this.attributeName=k,this.attributeNamespace=T,this.mustUseProperty=x,this.propertyName=h,this.type=m,this.sanitizeURL=O,this.removeEmptyString=Y}var y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(h){y[h]=new g(h,0,!1,h,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(h){var m=h[0];y[m]=new g(m,1,!1,h[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(h){y[h]=new g(h,2,!1,h.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(h){y[h]=new g(h,2,!1,h,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(h){y[h]=new g(h,3,!1,h.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(h){y[h]=new g(h,3,!0,h,null,!1,!1)}),["capture","download"].forEach(function(h){y[h]=new g(h,4,!1,h,null,!1,!1)}),["cols","rows","size","span"].forEach(function(h){y[h]=new g(h,6,!1,h,null,!1,!1)}),["rowSpan","start"].forEach(function(h){y[h]=new g(h,5,!1,h.toLowerCase(),null,!1,!1)});var _=/[\-:]([a-z])/g;function b(h){return h[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(h){var m=h.replace(_,b);y[m]=new g(m,1,!1,h,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(h){var m=h.replace(_,b);y[m]=new g(m,1,!1,h,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(h){var m=h.replace(_,b);y[m]=new g(m,1,!1,h,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(h){y[h]=new g(h,1,!1,h.toLowerCase(),null,!1,!1)}),y.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(h){y[h]=new g(h,1,!1,h.toLowerCase(),null,!0,!0)});function E(h,m,x,k){var T=y.hasOwnProperty(m)?y[m]:null;(T!==null?T.type!==0:k||!(2Z||T[Y]!==O[Z]){var re=` -`+T[Y].replace(" at new "," at ");return h.displayName&&re.includes("")&&(re=re.replace("",h.displayName)),re}while(1<=Y&&0<=Z);break}}}finally{H=!1,Error.prepareStackTrace=x}return(h=h?h.displayName||h.name:"")?G(h):""}function ce(h){switch(h.tag){case 5:return G(h.type);case 16:return G("Lazy");case 13:return G("Suspense");case 19:return G("SuspenseList");case 0:case 2:case 15:return h=ne(h.type,!1),h;case 11:return h=ne(h.type.render,!1),h;case 1:return h=ne(h.type,!0),h;default:return""}}function me(h){if(h==null)return null;if(typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case A:return"Fragment";case C:return"Portal";case R:return"Profiler";case M:return"StrictMode";case V:return"Suspense";case F:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case P:return(h.displayName||"Context")+".Consumer";case N:return(h._context.displayName||"Context")+".Provider";case B:var m=h.render;return h=h.displayName,h||(h=m.displayName||m.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case $:return m=h.displayName||null,m!==null?m:me(h.type)||"Memo";case z:m=h._payload,h=h._init;try{return me(h(m))}catch{}}return null}function we(h){var m=h.type;switch(h.tag){case 24:return"Cache";case 9:return(m.displayName||"Context")+".Consumer";case 10:return(m._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return h=m.render,h=h.displayName||h.name||"",m.displayName||(h!==""?"ForwardRef("+h+")":"ForwardRef");case 7:return"Fragment";case 5:return m;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return me(m);case 8:return m===M?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof m=="function")return m.displayName||m.name||null;if(typeof m=="string")return m}return null}function xe(h){switch(typeof h){case"boolean":case"number":case"string":case"undefined":return h;case"object":return h;default:return""}}function pe(h){var m=h.type;return(h=h.nodeName)&&h.toLowerCase()==="input"&&(m==="checkbox"||m==="radio")}function be(h){var m=pe(h)?"checked":"value",x=Object.getOwnPropertyDescriptor(h.constructor.prototype,m),k=""+h[m];if(!h.hasOwnProperty(m)&&typeof x<"u"&&typeof x.get=="function"&&typeof x.set=="function"){var T=x.get,O=x.set;return Object.defineProperty(h,m,{configurable:!0,get:function(){return T.call(this)},set:function(Y){k=""+Y,O.call(this,Y)}}),Object.defineProperty(h,m,{enumerable:x.enumerable}),{getValue:function(){return k},setValue:function(Y){k=""+Y},stopTracking:function(){h._valueTracker=null,delete h[m]}}}}function Ne(h){h._valueTracker||(h._valueTracker=be(h))}function ge(h){if(!h)return!1;var m=h._valueTracker;if(!m)return!0;var x=m.getValue(),k="";return h&&(k=pe(h)?h.checked?"true":"false":h.value),h=k,h!==x?(m.setValue(h),!0):!1}function Fe(h){if(h=h||(typeof document<"u"?document:void 0),typeof h>"u")return null;try{return h.activeElement||h.body}catch{return h.body}}function _e(h,m){var x=m.checked;return L({},m,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:x??h._wrapperState.initialChecked})}function Qe(h,m){var x=m.defaultValue==null?"":m.defaultValue,k=m.checked!=null?m.checked:m.defaultChecked;x=xe(m.value!=null?m.value:x),h._wrapperState={initialChecked:k,initialValue:x,controlled:m.type==="checkbox"||m.type==="radio"?m.checked!=null:m.value!=null}}function Le(h,m){m=m.checked,m!=null&&E(h,"checked",m,!1)}function Me(h,m){Le(h,m);var x=xe(m.value),k=m.type;if(x!=null)k==="number"?(x===0&&h.value===""||h.value!=x)&&(h.value=""+x):h.value!==""+x&&(h.value=""+x);else if(k==="submit"||k==="reset"){h.removeAttribute("value");return}m.hasOwnProperty("value")?_t(h,m.type,x):m.hasOwnProperty("defaultValue")&&_t(h,m.type,xe(m.defaultValue)),m.checked==null&&m.defaultChecked!=null&&(h.defaultChecked=!!m.defaultChecked)}function it(h,m,x){if(m.hasOwnProperty("value")||m.hasOwnProperty("defaultValue")){var k=m.type;if(!(k!=="submit"&&k!=="reset"||m.value!==void 0&&m.value!==null))return;m=""+h._wrapperState.initialValue,x||m===h.value||(h.value=m),h.defaultValue=m}x=h.name,x!==""&&(h.name=""),h.defaultChecked=!!h._wrapperState.initialChecked,x!==""&&(h.name=x)}function _t(h,m,x){(m!=="number"||Fe(h.ownerDocument)!==h)&&(x==null?h.defaultValue=""+h._wrapperState.initialValue:h.defaultValue!==""+x&&(h.defaultValue=""+x))}var ht=Array.isArray;function xt(h,m,x,k){if(h=h.options,m){m={};for(var T=0;T"+m.valueOf().toString()+"",m=I.firstChild;h.firstChild;)h.removeChild(h.firstChild);for(;m.firstChild;)h.appendChild(m.firstChild)}});function X(h,m){if(m){var x=h.firstChild;if(x&&x===h.lastChild&&x.nodeType===3){x.nodeValue=m;return}}h.textContent=m}var ie={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},de=["Webkit","ms","Moz","O"];Object.keys(ie).forEach(function(h){de.forEach(function(m){m=m+h.charAt(0).toUpperCase()+h.substring(1),ie[m]=ie[h]})});function ve(h,m,x){return m==null||typeof m=="boolean"||m===""?"":x||typeof m!="number"||m===0||ie.hasOwnProperty(h)&&ie[h]?(""+m).trim():m+"px"}function et(h,m){h=h.style;for(var x in m)if(m.hasOwnProperty(x)){var k=x.indexOf("--")===0,T=ve(x,m[x],k);x==="float"&&(x="cssFloat"),k?h.setProperty(x,T):h[x]=T}}var se=L({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ue(h,m){if(m){if(se[h]&&(m.children!=null||m.dangerouslySetInnerHTML!=null))throw Error(n(137,h));if(m.dangerouslySetInnerHTML!=null){if(m.children!=null)throw Error(n(60));if(typeof m.dangerouslySetInnerHTML!="object"||!("__html"in m.dangerouslySetInnerHTML))throw Error(n(61))}if(m.style!=null&&typeof m.style!="object")throw Error(n(62))}}function je(h,m){if(h.indexOf("-")===-1)return typeof m.is=="string";switch(h){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 Be=null;function Rt(h){return h=h.target||h.srcElement||window,h.correspondingUseElement&&(h=h.correspondingUseElement),h.nodeType===3?h.parentNode:h}var ot=null,nr=null,Er=null;function Hn(h){if(h=nh(h)){if(typeof ot!="function")throw Error(n(280));var m=h.stateNode;m&&(m=f0(m),ot(h.stateNode,h.type,m))}}function $i(h){nr?Er?Er.push(h):Er=[h]:nr=h}function Zl(){if(nr){var h=nr,m=Er;if(Er=nr=null,Hn(h),m)for(h=0;h>>=0,h===0?32:31-(lK(h)/cK|0)|0}var Vg=64,Yg=4194304;function Ld(h){switch(h&-h){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: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 h&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return h&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return h}}function Qg(h,m){var x=h.pendingLanes;if(x===0)return 0;var k=0,T=h.suspendedLanes,O=h.pingedLanes,Y=x&268435455;if(Y!==0){var Z=Y&~T;Z!==0?k=Ld(Z):(O&=Y,O!==0&&(k=Ld(O)))}else Y=x&~T,Y!==0?k=Ld(Y):O!==0&&(k=Ld(O));if(k===0)return 0;if(m!==0&&m!==k&&(m&T)===0&&(T=k&-k,O=m&-m,T>=O||T===16&&(O&4194240)!==0))return m;if((k&4)!==0&&(k|=x&16),m=h.entangledLanes,m!==0)for(h=h.entanglements,m&=k;0x;x++)m.push(h);return m}function Bd(h,m,x){h.pendingLanes|=m,m!==536870912&&(h.suspendedLanes=0,h.pingedLanes=0),h=h.eventTimes,m=31-Fi(m),h[m]=x}function pK(h,m){var x=h.pendingLanes&~m;h.pendingLanes=m,h.suspendedLanes=0,h.pingedLanes=0,h.expiredLanes&=m,h.mutableReadLanes&=m,h.entangledLanes&=m,m=h.entanglements;var k=h.eventTimes;for(h=h.expirationTimes;0=Vd),qR=" ",GR=!1;function WR(h,m){switch(h){case"keyup":return jK.indexOf(m.keyCode)!==-1;case"keydown":return m.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function VR(h){return h=h.detail,typeof h=="object"&&"data"in h?h.data:null}var ac=!1;function qK(h,m){switch(h){case"compositionend":return VR(m);case"keypress":return m.which!==32?null:(GR=!0,qR);case"textInput":return h=m.data,h===qR&&GR?null:h;default:return null}}function GK(h,m){if(ac)return h==="compositionend"||!fb&&WR(h,m)?(h=LR(),e0=ab=us=null,ac=!1,h):null;switch(h){case"paste":return null;case"keypress":if(!(m.ctrlKey||m.altKey||m.metaKey)||m.ctrlKey&&m.altKey){if(m.char&&1=m)return{node:x,offset:m-h};h=k}e:{for(;x;){if(x.nextSibling){x=x.nextSibling;break e}x=x.parentNode}x=void 0}x=eI(x)}}function nI(h,m){return h&&m?h===m?!0:h&&h.nodeType===3?!1:m&&m.nodeType===3?nI(h,m.parentNode):"contains"in h?h.contains(m):h.compareDocumentPosition?!!(h.compareDocumentPosition(m)&16):!1:!1}function rI(){for(var h=window,m=Fe();m instanceof h.HTMLIFrameElement;){try{var x=typeof m.contentWindow.location.href=="string"}catch{x=!1}if(x)h=m.contentWindow;else break;m=Fe(h.document)}return m}function pb(h){var m=h&&h.nodeName&&h.nodeName.toLowerCase();return m&&(m==="input"&&(h.type==="text"||h.type==="search"||h.type==="tel"||h.type==="url"||h.type==="password")||m==="textarea"||h.contentEditable==="true")}function eX(h){var m=rI(),x=h.focusedElem,k=h.selectionRange;if(m!==x&&x&&x.ownerDocument&&nI(x.ownerDocument.documentElement,x)){if(k!==null&&pb(x)){if(m=k.start,h=k.end,h===void 0&&(h=m),"selectionStart"in x)x.selectionStart=m,x.selectionEnd=Math.min(h,x.value.length);else if(h=(m=x.ownerDocument||document)&&m.defaultView||window,h.getSelection){h=h.getSelection();var T=x.textContent.length,O=Math.min(k.start,T);k=k.end===void 0?O:Math.min(k.end,T),!h.extend&&O>k&&(T=k,k=O,O=T),T=tI(x,O);var Y=tI(x,k);T&&Y&&(h.rangeCount!==1||h.anchorNode!==T.node||h.anchorOffset!==T.offset||h.focusNode!==Y.node||h.focusOffset!==Y.offset)&&(m=m.createRange(),m.setStart(T.node,T.offset),h.removeAllRanges(),O>k?(h.addRange(m),h.extend(Y.node,Y.offset)):(m.setEnd(Y.node,Y.offset),h.addRange(m)))}}for(m=[],h=x;h=h.parentNode;)h.nodeType===1&&m.push({element:h,left:h.scrollLeft,top:h.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x=document.documentMode,oc=null,mb=null,Xd=null,gb=!1;function iI(h,m,x){var k=x.window===x?x.document:x.nodeType===9?x:x.ownerDocument;gb||oc==null||oc!==Fe(k)||(k=oc,"selectionStart"in k&&pb(k)?k={start:k.selectionStart,end:k.selectionEnd}:(k=(k.ownerDocument&&k.ownerDocument.defaultView||window).getSelection(),k={anchorNode:k.anchorNode,anchorOffset:k.anchorOffset,focusNode:k.focusNode,focusOffset:k.focusOffset}),Xd&&Kd(Xd,k)||(Xd=k,k=u0(mb,"onSelect"),0fc||(h.current=Tb[fc],Tb[fc]=null,fc--)}function $t(h,m){fc++,Tb[fc]=h.current,h.current=m}var ds={},qn=fs(ds),Cr=fs(!1),Eu=ds;function dc(h,m){var x=h.type.contextTypes;if(!x)return ds;var k=h.stateNode;if(k&&k.__reactInternalMemoizedUnmaskedChildContext===m)return k.__reactInternalMemoizedMaskedChildContext;var T={},O;for(O in x)T[O]=m[O];return k&&(h=h.stateNode,h.__reactInternalMemoizedUnmaskedChildContext=m,h.__reactInternalMemoizedMaskedChildContext=T),T}function kr(h){return h=h.childContextTypes,h!=null}function d0(){Ut(Cr),Ut(qn)}function wI(h,m,x){if(qn.current!==ds)throw Error(n(168));$t(qn,m),$t(Cr,x)}function _I(h,m,x){var k=h.stateNode;if(m=m.childContextTypes,typeof k.getChildContext!="function")return x;k=k.getChildContext();for(var T in k)if(!(T in m))throw Error(n(108,we(h)||"Unknown",T));return L({},x,k)}function h0(h){return h=(h=h.stateNode)&&h.__reactInternalMemoizedMergedChildContext||ds,Eu=qn.current,$t(qn,h),$t(Cr,Cr.current),!0}function bI(h,m,x){var k=h.stateNode;if(!k)throw Error(n(169));x?(h=_I(h,m,Eu),k.__reactInternalMemoizedMergedChildContext=h,Ut(Cr),Ut(qn),$t(qn,h)):Ut(Cr),$t(Cr,x)}var uo=null,p0=!1,Mb=!1;function xI(h){uo===null?uo=[h]:uo.push(h)}function dX(h){p0=!0,xI(h)}function hs(){if(!Mb&&uo!==null){Mb=!0;var h=0,m=It;try{var x=uo;for(It=1;h>=Y,T-=Y,lo=1<<32-Fi(m)+T|x<tt?(An=Je,Je=null):An=Je.sibling;var Et=Ee(le,Je,fe[tt],Re);if(Et===null){Je===null&&(Je=An);break}h&&Je&&Et.alternate===null&&m(le,Je),oe=O(Et,oe,tt),Ze===null?Ve=Et:Ze.sibling=Et,Ze=Et,Je=An}if(tt===fe.length)return x(le,Je),Vt&&Cu(le,tt),Ve;if(Je===null){for(;tttt?(An=Je,Je=null):An=Je.sibling;var xs=Ee(le,Je,Et.value,Re);if(xs===null){Je===null&&(Je=An);break}h&&Je&&xs.alternate===null&&m(le,Je),oe=O(xs,oe,tt),Ze===null?Ve=xs:Ze.sibling=xs,Ze=xs,Je=An}if(Et.done)return x(le,Je),Vt&&Cu(le,tt),Ve;if(Je===null){for(;!Et.done;tt++,Et=fe.next())Et=Ae(le,Et.value,Re),Et!==null&&(oe=O(Et,oe,tt),Ze===null?Ve=Et:Ze.sibling=Et,Ze=Et);return Vt&&Cu(le,tt),Ve}for(Je=k(le,Je);!Et.done;tt++,Et=fe.next())Et=$e(Je,le,tt,Et.value,Re),Et!==null&&(h&&Et.alternate!==null&&Je.delete(Et.key===null?tt:Et.key),oe=O(Et,oe,tt),Ze===null?Ve=Et:Ze.sibling=Et,Ze=Et);return h&&Je.forEach(function(WX){return m(le,WX)}),Vt&&Cu(le,tt),Ve}function an(le,oe,fe,Re){if(typeof fe=="object"&&fe!==null&&fe.type===A&&fe.key===null&&(fe=fe.props.children),typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case v:e:{for(var Ve=fe.key,Ze=oe;Ze!==null;){if(Ze.key===Ve){if(Ve=fe.type,Ve===A){if(Ze.tag===7){x(le,Ze.sibling),oe=T(Ze,fe.props.children),oe.return=le,le=oe;break e}}else if(Ze.elementType===Ve||typeof Ve=="object"&&Ve!==null&&Ve.$$typeof===z&&TI(Ve)===Ze.type){x(le,Ze.sibling),oe=T(Ze,fe.props),oe.ref=rh(le,Ze,fe),oe.return=le,le=oe;break e}x(le,Ze);break}else m(le,Ze);Ze=Ze.sibling}fe.type===A?(oe=Nu(fe.props.children,le.mode,Re,fe.key),oe.return=le,le=oe):(Re=j0(fe.type,fe.key,fe.props,null,le.mode,Re),Re.ref=rh(le,oe,fe),Re.return=le,le=Re)}return Y(le);case C:e:{for(Ze=fe.key;oe!==null;){if(oe.key===Ze)if(oe.tag===4&&oe.stateNode.containerInfo===fe.containerInfo&&oe.stateNode.implementation===fe.implementation){x(le,oe.sibling),oe=T(oe,fe.children||[]),oe.return=le,le=oe;break e}else{x(le,oe);break}else m(le,oe);oe=oe.sibling}oe=kx(fe,le.mode,Re),oe.return=le,le=oe}return Y(le);case z:return Ze=fe._init,an(le,oe,Ze(fe._payload),Re)}if(ht(fe))return qe(le,oe,fe,Re);if(j(fe))return Ge(le,oe,fe,Re);y0(le,fe)}return typeof fe=="string"&&fe!==""||typeof fe=="number"?(fe=""+fe,oe!==null&&oe.tag===6?(x(le,oe.sibling),oe=T(oe,fe),oe.return=le,le=oe):(x(le,oe),oe=Cx(fe,le.mode,Re),oe.return=le,le=oe),Y(le)):x(le,oe)}return an}var gc=MI(!0),PI=MI(!1),w0=fs(null),_0=null,vc=null,Db=null;function $b(){Db=vc=_0=null}function Fb(h){var m=w0.current;Ut(w0),h._currentValue=m}function Lb(h,m,x){for(;h!==null;){var k=h.alternate;if((h.childLanes&m)!==m?(h.childLanes|=m,k!==null&&(k.childLanes|=m)):k!==null&&(k.childLanes&m)!==m&&(k.childLanes|=m),h===x)break;h=h.return}}function yc(h,m){_0=h,Db=vc=null,h=h.dependencies,h!==null&&h.firstContext!==null&&((h.lanes&m)!==0&&(Ar=!0),h.firstContext=null)}function di(h){var m=h._currentValue;if(Db!==h)if(h={context:h,memoizedValue:m,next:null},vc===null){if(_0===null)throw Error(n(308));vc=h,_0.dependencies={lanes:0,firstContext:h}}else vc=vc.next=h;return m}var ku=null;function Bb(h){ku===null?ku=[h]:ku.push(h)}function RI(h,m,x,k){var T=m.interleaved;return T===null?(x.next=x,Bb(m)):(x.next=T.next,T.next=x),m.interleaved=x,fo(h,k)}function fo(h,m){h.lanes|=m;var x=h.alternate;for(x!==null&&(x.lanes|=m),x=h,h=h.return;h!==null;)h.childLanes|=m,x=h.alternate,x!==null&&(x.childLanes|=m),x=h,h=h.return;return x.tag===3?x.stateNode:null}var ps=!1;function zb(h){h.updateQueue={baseState:h.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function II(h,m){h=h.updateQueue,m.updateQueue===h&&(m.updateQueue={baseState:h.baseState,firstBaseUpdate:h.firstBaseUpdate,lastBaseUpdate:h.lastBaseUpdate,shared:h.shared,effects:h.effects})}function ho(h,m){return{eventTime:h,lane:m,tag:0,payload:null,callback:null,next:null}}function ms(h,m,x){var k=h.updateQueue;if(k===null)return null;if(k=k.shared,(bt&2)!==0){var T=k.pending;return T===null?m.next=m:(m.next=T.next,T.next=m),k.pending=m,fo(h,x)}return T=k.interleaved,T===null?(m.next=m,Bb(k)):(m.next=T.next,T.next=m),k.interleaved=m,fo(h,x)}function b0(h,m,x){if(m=m.updateQueue,m!==null&&(m=m.shared,(x&4194240)!==0)){var k=m.lanes;k&=h.pendingLanes,x|=k,m.lanes=x,eb(h,x)}}function NI(h,m){var x=h.updateQueue,k=h.alternate;if(k!==null&&(k=k.updateQueue,x===k)){var T=null,O=null;if(x=x.firstBaseUpdate,x!==null){do{var Y={eventTime:x.eventTime,lane:x.lane,tag:x.tag,payload:x.payload,callback:x.callback,next:null};O===null?T=O=Y:O=O.next=Y,x=x.next}while(x!==null);O===null?T=O=m:O=O.next=m}else T=O=m;x={baseState:k.baseState,firstBaseUpdate:T,lastBaseUpdate:O,shared:k.shared,effects:k.effects},h.updateQueue=x;return}h=x.lastBaseUpdate,h===null?x.firstBaseUpdate=m:h.next=m,x.lastBaseUpdate=m}function x0(h,m,x,k){var T=h.updateQueue;ps=!1;var O=T.firstBaseUpdate,Y=T.lastBaseUpdate,Z=T.shared.pending;if(Z!==null){T.shared.pending=null;var re=Z,he=re.next;re.next=null,Y===null?O=he:Y.next=he,Y=re;var Se=h.alternate;Se!==null&&(Se=Se.updateQueue,Z=Se.lastBaseUpdate,Z!==Y&&(Z===null?Se.firstBaseUpdate=he:Z.next=he,Se.lastBaseUpdate=re))}if(O!==null){var Ae=T.baseState;Y=0,Se=he=re=null,Z=O;do{var Ee=Z.lane,$e=Z.eventTime;if((k&Ee)===Ee){Se!==null&&(Se=Se.next={eventTime:$e,lane:0,tag:Z.tag,payload:Z.payload,callback:Z.callback,next:null});e:{var qe=h,Ge=Z;switch(Ee=m,$e=x,Ge.tag){case 1:if(qe=Ge.payload,typeof qe=="function"){Ae=qe.call($e,Ae,Ee);break e}Ae=qe;break e;case 3:qe.flags=qe.flags&-65537|128;case 0:if(qe=Ge.payload,Ee=typeof qe=="function"?qe.call($e,Ae,Ee):qe,Ee==null)break e;Ae=L({},Ae,Ee);break e;case 2:ps=!0}}Z.callback!==null&&Z.lane!==0&&(h.flags|=64,Ee=T.effects,Ee===null?T.effects=[Z]:Ee.push(Z))}else $e={eventTime:$e,lane:Ee,tag:Z.tag,payload:Z.payload,callback:Z.callback,next:null},Se===null?(he=Se=$e,re=Ae):Se=Se.next=$e,Y|=Ee;if(Z=Z.next,Z===null){if(Z=T.shared.pending,Z===null)break;Ee=Z,Z=Ee.next,Ee.next=null,T.lastBaseUpdate=Ee,T.shared.pending=null}}while(!0);if(Se===null&&(re=Ae),T.baseState=re,T.firstBaseUpdate=he,T.lastBaseUpdate=Se,m=T.shared.interleaved,m!==null){T=m;do Y|=T.lane,T=T.next;while(T!==m)}else O===null&&(T.shared.lanes=0);Mu|=Y,h.lanes=Y,h.memoizedState=Ae}}function OI(h,m,x){if(h=m.effects,m.effects=null,h!==null)for(m=0;mx?x:4,h(!0);var k=Gb.transition;Gb.transition={};try{h(!1),m()}finally{It=x,Gb.transition=k}}function JI(){return hi().memoizedState}function gX(h,m,x){var k=ws(h);if(x={lane:k,action:x,hasEagerState:!1,eagerState:null,next:null},e4(h))t4(m,x);else if(x=RI(h,m,x,k),x!==null){var T=ir();Hi(x,h,k,T),n4(x,m,k)}}function vX(h,m,x){var k=ws(h),T={lane:k,action:x,hasEagerState:!1,eagerState:null,next:null};if(e4(h))t4(m,T);else{var O=h.alternate;if(h.lanes===0&&(O===null||O.lanes===0)&&(O=m.lastRenderedReducer,O!==null))try{var Y=m.lastRenderedState,Z=O(Y,x);if(T.hasEagerState=!0,T.eagerState=Z,Li(Z,Y)){var re=m.interleaved;re===null?(T.next=T,Bb(m)):(T.next=re.next,re.next=T),m.interleaved=T;return}}catch{}finally{}x=RI(h,m,T,k),x!==null&&(T=ir(),Hi(x,h,k,T),n4(x,m,k))}}function e4(h){var m=h.alternate;return h===Kt||m!==null&&m===Kt}function t4(h,m){sh=C0=!0;var x=h.pending;x===null?m.next=m:(m.next=x.next,x.next=m),h.pending=m}function n4(h,m,x){if((x&4194240)!==0){var k=m.lanes;k&=h.pendingLanes,x|=k,m.lanes=x,eb(h,x)}}var T0={readContext:di,useCallback:Gn,useContext:Gn,useEffect:Gn,useImperativeHandle:Gn,useInsertionEffect:Gn,useLayoutEffect:Gn,useMemo:Gn,useReducer:Gn,useRef:Gn,useState:Gn,useDebugValue:Gn,useDeferredValue:Gn,useTransition:Gn,useMutableSource:Gn,useSyncExternalStore:Gn,useId:Gn,unstable_isNewReconciler:!1},yX={readContext:di,useCallback:function(h,m){return ha().memoizedState=[h,m===void 0?null:m],h},useContext:di,useEffect:GI,useImperativeHandle:function(h,m,x){return x=x!=null?x.concat([h]):null,k0(4194308,4,YI.bind(null,m,h),x)},useLayoutEffect:function(h,m){return k0(4194308,4,h,m)},useInsertionEffect:function(h,m){return k0(4,2,h,m)},useMemo:function(h,m){var x=ha();return m=m===void 0?null:m,h=h(),x.memoizedState=[h,m],h},useReducer:function(h,m,x){var k=ha();return m=x!==void 0?x(m):m,k.memoizedState=k.baseState=m,h={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:h,lastRenderedState:m},k.queue=h,h=h.dispatch=gX.bind(null,Kt,h),[k.memoizedState,h]},useRef:function(h){var m=ha();return h={current:h},m.memoizedState=h},useState:HI,useDebugValue:Zb,useDeferredValue:function(h){return ha().memoizedState=h},useTransition:function(){var h=HI(!1),m=h[0];return h=mX.bind(null,h[1]),ha().memoizedState=h,[m,h]},useMutableSource:function(){},useSyncExternalStore:function(h,m,x){var k=Kt,T=ha();if(Vt){if(x===void 0)throw Error(n(407));x=x()}else{if(x=m(),kn===null)throw Error(n(349));(Tu&30)!==0||LI(k,m,x)}T.memoizedState=x;var O={value:x,getSnapshot:m};return T.queue=O,GI(zI.bind(null,k,O,h),[h]),k.flags|=2048,ch(9,BI.bind(null,k,O,x,m),void 0,null),x},useId:function(){var h=ha(),m=kn.identifierPrefix;if(Vt){var x=co,k=lo;x=(k&~(1<<32-Fi(k)-1)).toString(32)+x,m=":"+m+"R"+x,x=uh++,0<\/script>",h=h.removeChild(h.firstChild)):typeof k.is=="string"?h=Y.createElement(x,{is:k.is}):(h=Y.createElement(x),x==="select"&&(Y=h,k.multiple?Y.multiple=!0:k.size&&(Y.size=k.size))):h=Y.createElementNS(h,x),h[fa]=m,h[th]=k,x4(h,m,!1,!1),m.stateNode=h;e:{switch(Y=je(x,k),x){case"dialog":zt("cancel",h),zt("close",h),T=k;break;case"iframe":case"object":case"embed":zt("load",h),T=k;break;case"video":case"audio":for(T=0;TEc&&(m.flags|=128,k=!0,fh(O,!1),m.lanes=4194304)}else{if(!k)if(h=E0(Y),h!==null){if(m.flags|=128,k=!0,x=h.updateQueue,x!==null&&(m.updateQueue=x,m.flags|=4),fh(O,!0),O.tail===null&&O.tailMode==="hidden"&&!Y.alternate&&!Vt)return Wn(m),null}else 2*rn()-O.renderingStartTime>Ec&&x!==1073741824&&(m.flags|=128,k=!0,fh(O,!1),m.lanes=4194304);O.isBackwards?(Y.sibling=m.child,m.child=Y):(x=O.last,x!==null?x.sibling=Y:m.child=Y,O.last=Y)}return O.tail!==null?(m=O.tail,O.rendering=m,O.tail=m.sibling,O.renderingStartTime=rn(),m.sibling=null,x=Qt.current,$t(Qt,k?x&1|2:x&1),m):(Wn(m),null);case 22:case 23:return xx(),k=m.memoizedState!==null,h!==null&&h.memoizedState!==null!==k&&(m.flags|=8192),k&&(m.mode&1)!==0?(Yr&1073741824)!==0&&(Wn(m),m.subtreeFlags&6&&(m.flags|=8192)):Wn(m),null;case 24:return null;case 25:return null}throw Error(n(156,m.tag))}function kX(h,m){switch(Rb(m),m.tag){case 1:return kr(m.type)&&d0(),h=m.flags,h&65536?(m.flags=h&-65537|128,m):null;case 3:return wc(),Ut(Cr),Ut(qn),qb(),h=m.flags,(h&65536)!==0&&(h&128)===0?(m.flags=h&-65537|128,m):null;case 5:return jb(m),null;case 13:if(Ut(Qt),h=m.memoizedState,h!==null&&h.dehydrated!==null){if(m.alternate===null)throw Error(n(340));mc()}return h=m.flags,h&65536?(m.flags=h&-65537|128,m):null;case 19:return Ut(Qt),null;case 4:return wc(),null;case 10:return Fb(m.type._context),null;case 22:case 23:return xx(),null;case 24:return null;default:return null}}var I0=!1,Vn=!1,AX=typeof WeakSet=="function"?WeakSet:Set,Ue=null;function bc(h,m){var x=h.ref;if(x!==null)if(typeof x=="function")try{x(null)}catch(k){Jt(h,m,k)}else x.current=null}function cx(h,m,x){try{x()}catch(k){Jt(h,m,k)}}var C4=!1;function TX(h,m){if(xb=Zg,h=rI(),pb(h)){if("selectionStart"in h)var x={start:h.selectionStart,end:h.selectionEnd};else e:{x=(x=h.ownerDocument)&&x.defaultView||window;var k=x.getSelection&&x.getSelection();if(k&&k.rangeCount!==0){x=k.anchorNode;var T=k.anchorOffset,O=k.focusNode;k=k.focusOffset;try{x.nodeType,O.nodeType}catch{x=null;break e}var Y=0,Z=-1,re=-1,he=0,Se=0,Ae=h,Ee=null;t:for(;;){for(var $e;Ae!==x||T!==0&&Ae.nodeType!==3||(Z=Y+T),Ae!==O||k!==0&&Ae.nodeType!==3||(re=Y+k),Ae.nodeType===3&&(Y+=Ae.nodeValue.length),($e=Ae.firstChild)!==null;)Ee=Ae,Ae=$e;for(;;){if(Ae===h)break t;if(Ee===x&&++he===T&&(Z=Y),Ee===O&&++Se===k&&(re=Y),($e=Ae.nextSibling)!==null)break;Ae=Ee,Ee=Ae.parentNode}Ae=$e}x=Z===-1||re===-1?null:{start:Z,end:re}}else x=null}x=x||{start:0,end:0}}else x=null;for(Eb={focusedElem:h,selectionRange:x},Zg=!1,Ue=m;Ue!==null;)if(m=Ue,h=m.child,(m.subtreeFlags&1028)!==0&&h!==null)h.return=m,Ue=h;else for(;Ue!==null;){m=Ue;try{var qe=m.alternate;if((m.flags&1024)!==0)switch(m.tag){case 0:case 11:case 15:break;case 1:if(qe!==null){var Ge=qe.memoizedProps,an=qe.memoizedState,le=m.stateNode,oe=le.getSnapshotBeforeUpdate(m.elementType===m.type?Ge:zi(m.type,Ge),an);le.__reactInternalSnapshotBeforeUpdate=oe}break;case 3:var fe=m.stateNode.containerInfo;fe.nodeType===1?fe.textContent="":fe.nodeType===9&&fe.documentElement&&fe.removeChild(fe.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Re){Jt(m,m.return,Re)}if(h=m.sibling,h!==null){h.return=m.return,Ue=h;break}Ue=m.return}return qe=C4,C4=!1,qe}function dh(h,m,x){var k=m.updateQueue;if(k=k!==null?k.lastEffect:null,k!==null){var T=k=k.next;do{if((T.tag&h)===h){var O=T.destroy;T.destroy=void 0,O!==void 0&&cx(m,x,O)}T=T.next}while(T!==k)}}function N0(h,m){if(m=m.updateQueue,m=m!==null?m.lastEffect:null,m!==null){var x=m=m.next;do{if((x.tag&h)===h){var k=x.create;x.destroy=k()}x=x.next}while(x!==m)}}function fx(h){var m=h.ref;if(m!==null){var x=h.stateNode;switch(h.tag){case 5:h=x;break;default:h=x}typeof m=="function"?m(h):m.current=h}}function k4(h){var m=h.alternate;m!==null&&(h.alternate=null,k4(m)),h.child=null,h.deletions=null,h.sibling=null,h.tag===5&&(m=h.stateNode,m!==null&&(delete m[fa],delete m[th],delete m[Ab],delete m[cX],delete m[fX])),h.stateNode=null,h.return=null,h.dependencies=null,h.memoizedProps=null,h.memoizedState=null,h.pendingProps=null,h.stateNode=null,h.updateQueue=null}function A4(h){return h.tag===5||h.tag===3||h.tag===4}function T4(h){e:for(;;){for(;h.sibling===null;){if(h.return===null||A4(h.return))return null;h=h.return}for(h.sibling.return=h.return,h=h.sibling;h.tag!==5&&h.tag!==6&&h.tag!==18;){if(h.flags&2||h.child===null||h.tag===4)continue e;h.child.return=h,h=h.child}if(!(h.flags&2))return h.stateNode}}function dx(h,m,x){var k=h.tag;if(k===5||k===6)h=h.stateNode,m?x.nodeType===8?x.parentNode.insertBefore(h,m):x.insertBefore(h,m):(x.nodeType===8?(m=x.parentNode,m.insertBefore(h,x)):(m=x,m.appendChild(h)),x=x._reactRootContainer,x!=null||m.onclick!==null||(m.onclick=c0));else if(k!==4&&(h=h.child,h!==null))for(dx(h,m,x),h=h.sibling;h!==null;)dx(h,m,x),h=h.sibling}function hx(h,m,x){var k=h.tag;if(k===5||k===6)h=h.stateNode,m?x.insertBefore(h,m):x.appendChild(h);else if(k!==4&&(h=h.child,h!==null))for(hx(h,m,x),h=h.sibling;h!==null;)hx(h,m,x),h=h.sibling}var Dn=null,Ui=!1;function gs(h,m,x){for(x=x.child;x!==null;)M4(h,m,x),x=x.sibling}function M4(h,m,x){if(ca&&typeof ca.onCommitFiberUnmount=="function")try{ca.onCommitFiberUnmount(Wg,x)}catch{}switch(x.tag){case 5:Vn||bc(x,m);case 6:var k=Dn,T=Ui;Dn=null,gs(h,m,x),Dn=k,Ui=T,Dn!==null&&(Ui?(h=Dn,x=x.stateNode,h.nodeType===8?h.parentNode.removeChild(x):h.removeChild(x)):Dn.removeChild(x.stateNode));break;case 18:Dn!==null&&(Ui?(h=Dn,x=x.stateNode,h.nodeType===8?kb(h.parentNode,x):h.nodeType===1&&kb(h,x),qd(h)):kb(Dn,x.stateNode));break;case 4:k=Dn,T=Ui,Dn=x.stateNode.containerInfo,Ui=!0,gs(h,m,x),Dn=k,Ui=T;break;case 0:case 11:case 14:case 15:if(!Vn&&(k=x.updateQueue,k!==null&&(k=k.lastEffect,k!==null))){T=k=k.next;do{var O=T,Y=O.destroy;O=O.tag,Y!==void 0&&((O&2)!==0||(O&4)!==0)&&cx(x,m,Y),T=T.next}while(T!==k)}gs(h,m,x);break;case 1:if(!Vn&&(bc(x,m),k=x.stateNode,typeof k.componentWillUnmount=="function"))try{k.props=x.memoizedProps,k.state=x.memoizedState,k.componentWillUnmount()}catch(Z){Jt(x,m,Z)}gs(h,m,x);break;case 21:gs(h,m,x);break;case 22:x.mode&1?(Vn=(k=Vn)||x.memoizedState!==null,gs(h,m,x),Vn=k):gs(h,m,x);break;default:gs(h,m,x)}}function P4(h){var m=h.updateQueue;if(m!==null){h.updateQueue=null;var x=h.stateNode;x===null&&(x=h.stateNode=new AX),m.forEach(function(k){var T=FX.bind(null,h,k);x.has(k)||(x.add(k),k.then(T,T))})}}function ji(h,m){var x=m.deletions;if(x!==null)for(var k=0;kT&&(T=Y),k&=~O}if(k=T,k=rn()-k,k=(120>k?120:480>k?480:1080>k?1080:1920>k?1920:3e3>k?3e3:4320>k?4320:1960*PX(k/1960))-k,10h?16:h,ys===null)var k=!1;else{if(h=ys,ys=null,L0=0,(bt&6)!==0)throw Error(n(331));var T=bt;for(bt|=4,Ue=h.current;Ue!==null;){var O=Ue,Y=O.child;if((Ue.flags&16)!==0){var Z=O.deletions;if(Z!==null){for(var re=0;rern()-gx?Ru(h,0):mx|=x),Mr(h,m)}function H4(h,m){m===0&&((h.mode&1)===0?m=1:(m=Yg,Yg<<=1,(Yg&130023424)===0&&(Yg=4194304)));var x=ir();h=fo(h,m),h!==null&&(Bd(h,m,x),Mr(h,x))}function $X(h){var m=h.memoizedState,x=0;m!==null&&(x=m.retryLane),H4(h,x)}function FX(h,m){var x=0;switch(h.tag){case 13:var k=h.stateNode,T=h.memoizedState;T!==null&&(x=T.retryLane);break;case 19:k=h.stateNode;break;default:throw Error(n(314))}k!==null&&k.delete(m),H4(h,x)}var q4;q4=function(h,m,x){if(h!==null)if(h.memoizedProps!==m.pendingProps||Cr.current)Ar=!0;else{if((h.lanes&x)===0&&(m.flags&128)===0)return Ar=!1,SX(h,m,x);Ar=(h.flags&131072)!==0}else Ar=!1,Vt&&(m.flags&1048576)!==0&&EI(m,g0,m.index);switch(m.lanes=0,m.tag){case 2:var k=m.type;R0(h,m),h=m.pendingProps;var T=dc(m,qn.current);yc(m,x),T=Vb(null,m,k,h,T,x);var O=Yb();return m.flags|=1,typeof T=="object"&&T!==null&&typeof T.render=="function"&&T.$$typeof===void 0?(m.tag=1,m.memoizedState=null,m.updateQueue=null,kr(k)?(O=!0,h0(m)):O=!1,m.memoizedState=T.state!==null&&T.state!==void 0?T.state:null,zb(m),T.updater=M0,m.stateNode=T,T._reactInternals=m,ex(m,k,h,x),m=ix(null,m,k,!0,O,x)):(m.tag=0,Vt&&O&&Pb(m),rr(null,m,T,x),m=m.child),m;case 16:k=m.elementType;e:{switch(R0(h,m),h=m.pendingProps,T=k._init,k=T(k._payload),m.type=k,T=m.tag=BX(k),h=zi(k,h),T){case 0:m=rx(null,m,k,h,x);break e;case 1:m=g4(null,m,k,h,x);break e;case 11:m=f4(null,m,k,h,x);break e;case 14:m=d4(null,m,k,zi(k.type,h),x);break e}throw Error(n(306,k,""))}return m;case 0:return k=m.type,T=m.pendingProps,T=m.elementType===k?T:zi(k,T),rx(h,m,k,T,x);case 1:return k=m.type,T=m.pendingProps,T=m.elementType===k?T:zi(k,T),g4(h,m,k,T,x);case 3:e:{if(v4(m),h===null)throw Error(n(387));k=m.pendingProps,O=m.memoizedState,T=O.element,II(h,m),x0(m,k,null,x);var Y=m.memoizedState;if(k=Y.element,O.isDehydrated)if(O={element:k,isDehydrated:!1,cache:Y.cache,pendingSuspenseBoundaries:Y.pendingSuspenseBoundaries,transitions:Y.transitions},m.updateQueue.baseState=O,m.memoizedState=O,m.flags&256){T=_c(Error(n(423)),m),m=y4(h,m,k,x,T);break e}else if(k!==T){T=_c(Error(n(424)),m),m=y4(h,m,k,x,T);break e}else for(Vr=cs(m.stateNode.containerInfo.firstChild),Wr=m,Vt=!0,Bi=null,x=PI(m,null,k,x),m.child=x;x;)x.flags=x.flags&-3|4096,x=x.sibling;else{if(mc(),k===T){m=po(h,m,x);break e}rr(h,m,k,x)}m=m.child}return m;case 5:return DI(m),h===null&&Nb(m),k=m.type,T=m.pendingProps,O=h!==null?h.memoizedProps:null,Y=T.children,Sb(k,T)?Y=null:O!==null&&Sb(k,O)&&(m.flags|=32),m4(h,m),rr(h,m,Y,x),m.child;case 6:return h===null&&Nb(m),null;case 13:return w4(h,m,x);case 4:return Ub(m,m.stateNode.containerInfo),k=m.pendingProps,h===null?m.child=gc(m,null,k,x):rr(h,m,k,x),m.child;case 11:return k=m.type,T=m.pendingProps,T=m.elementType===k?T:zi(k,T),f4(h,m,k,T,x);case 7:return rr(h,m,m.pendingProps,x),m.child;case 8:return rr(h,m,m.pendingProps.children,x),m.child;case 12:return rr(h,m,m.pendingProps.children,x),m.child;case 10:e:{if(k=m.type._context,T=m.pendingProps,O=m.memoizedProps,Y=T.value,$t(w0,k._currentValue),k._currentValue=Y,O!==null)if(Li(O.value,Y)){if(O.children===T.children&&!Cr.current){m=po(h,m,x);break e}}else for(O=m.child,O!==null&&(O.return=m);O!==null;){var Z=O.dependencies;if(Z!==null){Y=O.child;for(var re=Z.firstContext;re!==null;){if(re.context===k){if(O.tag===1){re=ho(-1,x&-x),re.tag=2;var he=O.updateQueue;if(he!==null){he=he.shared;var Se=he.pending;Se===null?re.next=re:(re.next=Se.next,Se.next=re),he.pending=re}}O.lanes|=x,re=O.alternate,re!==null&&(re.lanes|=x),Lb(O.return,x,m),Z.lanes|=x;break}re=re.next}}else if(O.tag===10)Y=O.type===m.type?null:O.child;else if(O.tag===18){if(Y=O.return,Y===null)throw Error(n(341));Y.lanes|=x,Z=Y.alternate,Z!==null&&(Z.lanes|=x),Lb(Y,x,m),Y=O.sibling}else Y=O.child;if(Y!==null)Y.return=O;else for(Y=O;Y!==null;){if(Y===m){Y=null;break}if(O=Y.sibling,O!==null){O.return=Y.return,Y=O;break}Y=Y.return}O=Y}rr(h,m,T.children,x),m=m.child}return m;case 9:return T=m.type,k=m.pendingProps.children,yc(m,x),T=di(T),k=k(T),m.flags|=1,rr(h,m,k,x),m.child;case 14:return k=m.type,T=zi(k,m.pendingProps),T=zi(k.type,T),d4(h,m,k,T,x);case 15:return h4(h,m,m.type,m.pendingProps,x);case 17:return k=m.type,T=m.pendingProps,T=m.elementType===k?T:zi(k,T),R0(h,m),m.tag=1,kr(k)?(h=!0,h0(m)):h=!1,yc(m,x),i4(m,k,T),ex(m,k,T,x),ix(null,m,k,!0,h,x);case 19:return b4(h,m,x);case 22:return p4(h,m,x)}throw Error(n(156,m.tag))};function G4(h,m){return Fd(h,m)}function LX(h,m,x,k){this.tag=h,this.key=x,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=m,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=k,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function mi(h,m,x,k){return new LX(h,m,x,k)}function Sx(h){return h=h.prototype,!(!h||!h.isReactComponent)}function BX(h){if(typeof h=="function")return Sx(h)?1:0;if(h!=null){if(h=h.$$typeof,h===B)return 11;if(h===$)return 14}return 2}function bs(h,m){var x=h.alternate;return x===null?(x=mi(h.tag,m,h.key,h.mode),x.elementType=h.elementType,x.type=h.type,x.stateNode=h.stateNode,x.alternate=h,h.alternate=x):(x.pendingProps=m,x.type=h.type,x.flags=0,x.subtreeFlags=0,x.deletions=null),x.flags=h.flags&14680064,x.childLanes=h.childLanes,x.lanes=h.lanes,x.child=h.child,x.memoizedProps=h.memoizedProps,x.memoizedState=h.memoizedState,x.updateQueue=h.updateQueue,m=h.dependencies,x.dependencies=m===null?null:{lanes:m.lanes,firstContext:m.firstContext},x.sibling=h.sibling,x.index=h.index,x.ref=h.ref,x}function j0(h,m,x,k,T,O){var Y=2;if(k=h,typeof h=="function")Sx(h)&&(Y=1);else if(typeof h=="string")Y=5;else e:switch(h){case A:return Nu(x.children,T,O,m);case M:Y=8,T|=8;break;case R:return h=mi(12,x,m,T|2),h.elementType=R,h.lanes=O,h;case V:return h=mi(13,x,m,T),h.elementType=V,h.lanes=O,h;case F:return h=mi(19,x,m,T),h.elementType=F,h.lanes=O,h;case Q:return H0(x,T,O,m);default:if(typeof h=="object"&&h!==null)switch(h.$$typeof){case N:Y=10;break e;case P:Y=9;break e;case B:Y=11;break e;case $:Y=14;break e;case z:Y=16,k=null;break e}throw Error(n(130,h==null?h:typeof h,""))}return m=mi(Y,x,m,T),m.elementType=h,m.type=k,m.lanes=O,m}function Nu(h,m,x,k){return h=mi(7,h,k,m),h.lanes=x,h}function H0(h,m,x,k){return h=mi(22,h,k,m),h.elementType=Q,h.lanes=x,h.stateNode={isHidden:!1},h}function Cx(h,m,x){return h=mi(6,h,null,m),h.lanes=x,h}function kx(h,m,x){return m=mi(4,h.children!==null?h.children:[],h.key,m),m.lanes=x,m.stateNode={containerInfo:h.containerInfo,pendingChildren:null,implementation:h.implementation},m}function zX(h,m,x,k,T){this.tag=m,this.containerInfo=h,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=J_(0),this.expirationTimes=J_(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=J_(0),this.identifierPrefix=k,this.onRecoverableError=T,this.mutableSourceEagerHydrationData=null}function Ax(h,m,x,k,T,O,Y,Z,re){return h=new zX(h,m,x,Z,re),m===1?(m=1,O===!0&&(m|=8)):m=0,O=mi(3,null,null,m),h.current=O,O.stateNode=h,O.memoizedState={element:k,isDehydrated:x,cache:null,transitions:null,pendingSuspenseBoundaries:null},zb(O),h}function UX(h,m,x){var k=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Nx.exports=hZ(),Nx.exports}var lN;function pZ(){if(lN)return X0;lN=1;var e=u9();return X0.createRoot=e.createRoot,X0.hydrateRoot=e.hydrateRoot,X0}var mZ=pZ(),gk=function(e,t){return gk=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},gk(e,t)};function Ri(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");gk(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var We=function(){return We=Object.assign||function(t){for(var n,r=1,i=arguments.length;r"u"&&(a=e.call(this,r),t.set(i,a)),a}function l9(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,r),t.set(i,a)),a}function c9(e,t,n,r,i){return n.bind(t,e,r,i)}function yZ(e,t){var n=e.length===1?vZ:l9;return c9(e,this,n,t.cache.create(),t.serializer)}function wZ(e,t){return c9(e,this,l9,t.cache.create(),t.serializer)}var _Z=function(){return JSON.stringify(arguments)};function HT(){this.cache=Object.create(null)}HT.prototype.get=function(e){return this.cache[e]};HT.prototype.set=function(e,t){this.cache[e]=t};var bZ={create:function(){return new HT}},eg={variadic:wZ};function f9(e,t,n){if(n===void 0&&(n=Error),!e)throw new n(t)}Jm(function(){for(var e,t=[],n=0;n"u"&&(a=e.call(this,r),t.set(i,a)),a}function d9(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,r),t.set(i,a)),a}function h9(e,t,n,r,i){return n.bind(t,e,r,i)}function SZ(e,t){var n=e.length===1?EZ:d9;return h9(e,this,n,t.cache.create(),t.serializer)}function CZ(e,t){return h9(e,this,d9,t.cache.create(),t.serializer)}var kZ=function(){return JSON.stringify(arguments)};function qT(){this.cache=Object.create(null)}qT.prototype.get=function(e){return this.cache[e]};qT.prototype.set=function(e,t){this.cache[e]=t};var AZ={create:function(){return new qT}},Fx={variadic:CZ},gt;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(gt||(gt={}));var qt;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(qt||(qt={}));var lf;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(lf||(lf={}));function cN(e){return e.type===qt.literal}function TZ(e){return e.type===qt.argument}function p9(e){return e.type===qt.number}function m9(e){return e.type===qt.date}function g9(e){return e.type===qt.time}function v9(e){return e.type===qt.select}function y9(e){return e.type===qt.plural}function MZ(e){return e.type===qt.pound}function w9(e){return e.type===qt.tag}function _9(e){return!!(e&&typeof e=="object"&&e.type===lf.number)}function vk(e){return!!(e&&typeof e=="object"&&e.type===lf.dateTime)}var b9=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,PZ=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function RZ(e){var t={};return e.replace(PZ,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var IZ=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function NZ(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(IZ).filter(function(d){return d.length>0}),n=[],r=0,i=t;r1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(DZ,function(u,l,c,f,d,p){if(l)t.minimumIntegerDigits=c.length;else{if(f&&d)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(E9.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(fN.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(fN,function(u,l,c,f,d,p){return c==="*"?t.minimumFractionDigits=l.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:d&&p?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+p.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var a=i.options[0];a==="w"?t=We(We({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=We(We({},t),dN(a)));continue}if(x9.test(i.stem)){t=We(We({},t),dN(i.stem));continue}var o=S9(i.stem);o&&(t=We(We({},t),o));var s=$Z(i.stem);s&&(t=We(We({},t),s))}return t}var Z0={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function LZ(e,t){for(var n="",r=0;r>1),u="a",l=BZ(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)n+=u;for(;o-- >0;)n=l+n}else i==="J"?n+="H":n+=i}return n}function BZ(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=Z0[r||""]||Z0[n||""]||Z0["".concat(n,"-001")]||Z0["001"];return i[0]}var Lx,zZ=new RegExp("^".concat(b9.source,"*")),UZ=new RegExp("".concat(b9.source,"*$"));function wt(e,t){return{start:e,end:t}}var jZ=!!String.prototype.startsWith&&"_a".startsWith("a",1),HZ=!!String.fromCodePoint,qZ=!!Object.fromEntries,GZ=!!String.prototype.codePointAt,WZ=!!String.prototype.trimStart,VZ=!!String.prototype.trimEnd,YZ=!!Number.isSafeInteger,QZ=YZ?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},yk=!0;try{var KZ=k9("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");yk=((Lx=KZ.exec("a"))===null||Lx===void 0?void 0:Lx[0])==="a"}catch{yk=!1}var pN=jZ?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},wk=HZ?String.fromCodePoint:function(){for(var t=[],n=0;na;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");r+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return r},mN=qZ?Object.fromEntries:function(t){for(var n={},r=0,i=t;r=r)){var i=t.charCodeAt(n),a;return i<55296||i>56319||n+1===r||(a=t.charCodeAt(n+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},XZ=WZ?function(t){return t.trimStart()}:function(t){return t.replace(zZ,"")},ZZ=VZ?function(t){return t.trimEnd()}:function(t){return t.replace(UZ,"")};function k9(e,t){return new RegExp(e,t)}var _k;if(yk){var gN=k9("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");_k=function(t,n){var r;gN.lastIndex=n;var i=gN.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else _k=function(t,n){for(var r=[];;){var i=C9(t,n);if(i===void 0||A9(i)||nJ(i))break;r.push(i),n+=i>=65536?2:1}return wk.apply(void 0,r)};var JZ=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,r);if(o.err)return o;i.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(n==="plural"||n==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:qt.pound,location:wt(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(gt.UNMATCHED_CLOSING_TAG,wt(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&bk(this.peek()||0)){var o=this.parseTag(t,n);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,n);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:qt.literal,value:"<".concat(i,"/>"),location:wt(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,n,!0);if(a.err)return a;var o=a.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:qt.tag,value:i,children:o,location:wt(r,this.clonePosition())},err:null}:this.error(gt.INVALID_TAG,wt(s,this.clonePosition())))}else return this.error(gt.UNCLOSED_TAG,wt(r,this.clonePosition()))}else return this.error(gt.INVALID_TAG,wt(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&tJ(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var a=this.tryParseQuote(n);if(a){i+=a;continue}var o=this.tryParseUnquoted(t,n);if(o){i+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var u=wt(r,this.clonePosition());return{val:{type:qt.literal,value:i,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!eJ(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return wk.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),wk(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(gt.EXPECT_ARGUMENT_CLOSING_BRACE,wt(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(gt.EMPTY_ARGUMENT,wt(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(gt.MALFORMED_ARGUMENT,wt(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(gt.EXPECT_ARGUMENT_CLOSING_BRACE,wt(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:qt.argument,value:i,location:wt(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(gt.EXPECT_ARGUMENT_CLOSING_BRACE,wt(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(gt.MALFORMED_ARGUMENT,wt(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=_k(this.message,n),i=n+r.length;this.bumpTo(i);var a=this.clonePosition(),o=wt(t,a);return{value:r,location:o}},e.prototype.parseArgumentOptions=function(t,n,r,i){var a,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(s){case"":return this.error(gt.EXPECT_ARGUMENT_TYPE,wt(o,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var d=ZZ(f.val);if(d.length===0)return this.error(gt.EXPECT_ARGUMENT_STYLE,wt(this.clonePosition(),this.clonePosition()));var p=wt(c,this.clonePosition());l={style:d,styleLocation:p}}var w=this.tryParseArgumentClose(i);if(w.err)return w;var g=wt(i,this.clonePosition());if(l&&pN(l==null?void 0:l.style,"::",0)){var y=XZ(l.style.slice(2));if(s==="number"){var f=this.parseNumberSkeletonFromString(y,l.styleLocation);return f.err?f:{val:{type:qt.number,value:r,location:g,style:f.val},err:null}}else{if(y.length===0)return this.error(gt.EXPECT_DATE_TIME_SKELETON,g);var _=y;this.locale&&(_=LZ(y,this.locale));var d={type:lf.dateTime,pattern:_,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?RZ(_):{}},b=s==="date"?qt.date:qt.time;return{val:{type:b,value:r,location:g,style:d},err:null}}}return{val:{type:s==="number"?qt.number:s==="date"?qt.date:qt.time,value:r,location:g,style:(a=l==null?void 0:l.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(gt.EXPECT_SELECT_ARGUMENT_OPTIONS,wt(E,We({},E)));this.bumpSpace();var S=this.parseIdentifierIfPossible(),v=0;if(s!=="select"&&S.value==="offset"){if(!this.bumpIf(":"))return this.error(gt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,wt(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(gt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,gt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),S=this.parseIdentifierIfPossible(),v=f.val}var C=this.tryParsePluralOrSelectOptions(t,s,n,S);if(C.err)return C;var w=this.tryParseArgumentClose(i);if(w.err)return w;var A=wt(i,this.clonePosition());return s==="select"?{val:{type:qt.select,value:r,options:mN(C.val),location:A},err:null}:{val:{type:qt.plural,value:r,options:mN(C.val),offset:v,pluralType:s==="plural"?"cardinal":"ordinal",location:A},err:null}}default:return this.error(gt.INVALID_ARGUMENT_TYPE,wt(o,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(gt.EXPECT_ARGUMENT_CLOSING_BRACE,wt(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(gt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,wt(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=NZ(t)}catch{return this.error(gt.INVALID_NUMBER_SKELETON,n)}return{val:{type:lf.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?FZ(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var a,o=!1,s=[],u=new Set,l=i.value,c=i.location;;){if(l.length===0){var f=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(gt.EXPECT_PLURAL_ARGUMENT_SELECTOR,gt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=wt(f,this.clonePosition()),l=this.message.slice(f.offset,this.offset())}else break}if(u.has(l))return this.error(n==="select"?gt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:gt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);l==="other"&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?gt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:gt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,wt(this.clonePosition(),this.clonePosition()));var w=this.parseMessage(t+1,n,r);if(w.err)return w;var g=this.tryParseArgumentClose(p);if(g.err)return g;s.push([l,{value:w.val,location:wt(p,this.clonePosition())}]),u.add(l),this.bumpSpace(),a=this.parseIdentifierIfPossible(),l=a.value,c=a.location}return s.length===0?this.error(n==="select"?gt.EXPECT_SELECT_ARGUMENT_SELECTOR:gt.EXPECT_PLURAL_ARGUMENT_SELECTOR,wt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(gt.MISSING_OTHER_CLAUSE,wt(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)a=!0,o=o*10+(s-48),this.bump();else break}var u=wt(i,this.clonePosition());return a?(o*=r,QZ(o)?{val:o,err:null}:this.error(n,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=C9(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(pN(this.message,t,this.offset())){for(var n=0;n=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&A9(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r??null},e}();function bk(e){return e>=97&&e<=122||e>=65&&e<=90}function eJ(e){return bk(e)||e===47}function tJ(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function A9(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function nJ(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function xk(e){e.forEach(function(t){if(delete t.location,v9(t)||y9(t))for(var n in t.options)delete t.options[n].location,xk(t.options[n].value);else p9(t)&&_9(t.style)||(m9(t)||g9(t))&&vk(t.style)?delete t.style.location:w9(t)&&xk(t.children)})}function rJ(e,t){t===void 0&&(t={}),t=We({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new JZ(e,t).parse();if(n.err){var r=SyntaxError(gt[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||xk(n.val),n.val}var za;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(za||(za={}));var uu=function(e){Ri(t,e);function t(n,r,i){var a=e.call(this,n)||this;return a.code=r,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),vN=function(e){Ri(t,e);function t(n,r,i,a){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),za.INVALID_VALUE,a)||this}return t}(uu),iJ=function(e){Ri(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),za.INVALID_VALUE,i)||this}return t}(uu),aJ=function(e){Ri(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),za.MISSING_VALUE,r)||this}return t}(uu),or;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(or||(or={}));function oJ(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==or.literal||n.type!==or.literal?t.push(n):r.value+=n.value,t},[])}function T9(e){return typeof e=="function"}function oy(e,t,n,r,i,a,o){if(e.length===1&&cN(e[0]))return[{type:or.literal,value:e[0].value}];for(var s=[],u=0,l=e;u"u")){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=rJ,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Ou(e,t){var n=t&&t.cache?t.cache:mJ,r=t&&t.serializer?t.serializer:pJ,i=t&&t.strategy?t.strategy:dJ;return i(e,{cache:n,serializer:r})}function cJ(e){return e==null||typeof e=="number"||typeof e=="boolean"}function fJ(e,t,n,r){var i=cJ(r)?r:n(r),a=t.get(i);return typeof a>"u"&&(a=e.call(this,r),t.set(i,a)),a}function P9(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,r),t.set(i,a)),a}function R9(e,t,n,r,i){return n.bind(t,e,r,i)}function dJ(e,t){var n=e.length===1?fJ:P9;return R9(e,this,n,t.cache.create(),t.serializer)}function hJ(e,t){return R9(e,this,P9,t.cache.create(),t.serializer)}var pJ=function(){return JSON.stringify(arguments)};function GT(){this.cache=Object.create(null)}GT.prototype.get=function(e){return this.cache[e]};GT.prototype.set=function(e,t){this.cache[e]=t};var mJ={create:function(){return new GT}},Du={variadic:hJ},al;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(al||(al={}));var tg=function(e){Ri(t,e);function t(n,r,i){var a=this,o=i?i instanceof Error?i:new Error(String(i)):void 0;return a=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,` -`).concat(o?` -`.concat(o.message,` -`).concat(o.stack):""))||this,a.code=n,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(a,t),a}return t}(Error),gJ=function(e){Ri(t,e);function t(n,r){return e.call(this,al.UNSUPPORTED_FORMATTER,n,r)||this}return t}(tg),vJ=function(e){Ri(t,e);function t(n,r){return e.call(this,al.INVALID_CONFIG,n,r)||this}return t}(tg),yN=function(e){Ri(t,e);function t(n,r){return e.call(this,al.MISSING_DATA,n,r)||this}return t}(tg),Ii=function(e){Ri(t,e);function t(n,r,i){var a=e.call(this,al.FORMAT_ERROR,"".concat(n,` -Locale: `).concat(r,` -`),i)||this;return a.locale=r,a}return t}(tg),zx=function(e){Ri(t,e);function t(n,r,i,a){var o=e.call(this,"".concat(n,` -MessageID: `).concat(i==null?void 0:i.id,` -Default Message: `).concat(i==null?void 0:i.defaultMessage,` -Description: `).concat(i==null?void 0:i.description,` -`),r,a)||this;return o.descriptor=i,o.locale=r,o}return t}(Ii),yJ=function(e){Ri(t,e);function t(n,r){var i=e.call(this,al.MISSING_TRANSLATION,'Missing message: "'.concat(n.id,'" for locale "').concat(r,'", using ').concat(n.defaultMessage?"default message (".concat(typeof n.defaultMessage=="string"?n.defaultMessage:n.defaultMessage.map(function(a){var o;return(o=a.value)!==null&&o!==void 0?o:JSON.stringify(a)}).join(),")"):"id"," as fallback."))||this;return i.descriptor=n,i}return t}(tg);function Nl(e,t,n){return n===void 0&&(n={}),t.reduce(function(r,i){return i in e?r[i]=e[i]:i in n&&(r[i]=n[i]),r},{})}var wJ=function(e){},_J=function(e){},I9={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:wJ,onWarn:_J};function N9(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function $u(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function bJ(e){e===void 0&&(e=N9());var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,i=Ou(function(){for(var s,u=[],l=0;l needs to exist in the component ancestry.")}var L9=We(We({},I9),{textComponent:J.Fragment});function HJ(e){return function(t){return e(J.Children.toArray(t))}}function Sk(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var a=0;a"u")throw new Error(t)}function ti(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function JJ(){return Math.random().toString(36).substring(2,10)}function TN(e,t){return{usr:e.state,key:e.key,idx:t}}function Ak(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Ol(t):t,state:n,key:t&&t.key||r||JJ()}}function $p({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Ol(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function eee(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s="POP",u=null,l=c();l==null&&(l=0,o.replaceState({...o.state,idx:l},""));function c(){return(o.state||{idx:null}).idx}function f(){s="POP";let y=c(),_=y==null?null:y-l;l=y,u&&u({action:s,location:g.location,delta:_})}function d(y,_){s="PUSH";let b=Ak(g.location,y,_);n&&n(b,y),l=c()+1;let E=TN(b,l),S=g.createHref(b);try{o.pushState(E,"",S)}catch(v){if(v instanceof DOMException&&v.name==="DataCloneError")throw v;i.location.assign(S)}a&&u&&u({action:s,location:g.location,delta:1})}function p(y,_){s="REPLACE";let b=Ak(g.location,y,_);n&&n(b,y),l=c();let E=TN(b,l),S=g.createHref(b);o.replaceState(E,"",S),a&&u&&u({action:s,location:g.location,delta:0})}function w(y){return tee(y)}let g={get action(){return s},get location(){return e(i,o)},listen(y){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(AN,f),u=y,()=>{i.removeEventListener(AN,f),u=null}},createHref(y){return t(i,y)},createURL:w,encodeLocation(y){let _=w(y);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:d,replace:p,go(y){return o.go(y)}};return g}function tee(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),Yt(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:$p(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function j9(e,t,n="/"){return nee(e,t,n,!1)}function nee(e,t,n,r){let i=typeof t=="string"?Ol(t):t,a=$o(i.pathname||"/",n);if(a==null)return null;let o=H9(e);ree(o);let s=null;for(let u=0;s==null&&u{let c={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};if(c.relativePath.startsWith("/")){if(!c.relativePath.startsWith(r)&&u)return;Yt(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let f=Oo([r,c.relativePath]),d=n.concat(c);o.children&&o.children.length>0&&(Yt(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),H9(o.children,t,d,f,u)),!(o.path==null&&!o.index)&&t.push({path:f,score:cee(f,o.index),routesMeta:d})};return e.forEach((o,s)=>{var u;if(o.path===""||!((u=o.path)!=null&&u.includes("?")))a(o,s);else for(let l of q9(o.path))a(o,s,!0,l)}),t}function q9(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let o=q9(r.join("/")),s=[];return s.push(...o.map(u=>u===""?a:[a,u].join("/"))),i&&s.push(...o),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function ree(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:fee(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var iee=/^:[\w-]+$/,aee=3,oee=2,see=1,uee=10,lee=-2,MN=e=>e==="*";function cee(e,t){let n=e.split("/"),r=n.length;return n.some(MN)&&(r+=lee),t&&(r+=oee),n.filter(i=>!MN(i)).reduce((i,a)=>i+(iee.test(a)?aee:a===""?see:uee),r)}function fee(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function dee(e,t,n=!1){let{routesMeta:r}=e,i={},a="/",o=[];for(let s=0;s{if(c==="*"){let w=s[d]||"";o=a.slice(0,a.length-w.length).replace(/(.)\/+$/,"$1")}const p=s[d];return f&&!p?l[c]=void 0:l[c]=(p||"").replace(/%2F/g,"/"),l},{}),pathname:a,pathnameBase:o,pattern:e}}function hee(e,t=!1,n=!0){ti(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,u)=>(r.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function pee(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ti(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function $o(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}var G9=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,mee=e=>G9.test(e);function gee(e,t="/"){let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Ol(e):e,a;if(n)if(mee(n))a=n;else{if(n.includes("//")){let o=n;n=n.replace(/\/\/+/g,"/"),ti(!1,`Pathnames cannot have embedded double slashes - normalizing ${o} -> ${n}`)}n.startsWith("/")?a=PN(n.substring(1),"/"):a=PN(n,t)}else a=t;return{pathname:a,search:wee(r),hash:_ee(i)}}function PN(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function qx(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function vee(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function YT(e){let t=vee(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function QT(e,t,n,r=!1){let i;typeof e=="string"?i=Ol(e):(i={...e},Yt(!i.pathname||!i.pathname.includes("?"),qx("?","pathname","search",i)),Yt(!i.pathname||!i.pathname.includes("#"),qx("#","pathname","hash",i)),Yt(!i.search||!i.search.includes("#"),qx("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(o==null)s=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let d=o.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}s=f>=0?t[f]:"/"}let u=gee(i,s),l=o&&o!=="/"&&o.endsWith("/"),c=(a||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(l||c)&&(u.pathname+="/"),u}var Oo=e=>e.join("/").replace(/\/\/+/g,"/"),yee=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),wee=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,_ee=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,bee=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function xee(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function Eee(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var W9=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function V9(e,t){let n=e;if(typeof n!="string"||!G9.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(W9)try{let a=new URL(window.location.href),o=n.startsWith("//")?new URL(a.protocol+n):new URL(n),s=$o(o.pathname,t);o.origin===a.origin&&s!=null?n=s+o.search+o.hash:i=!0}catch{ti(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Y9=["POST","PUT","PATCH","DELETE"];new Set(Y9);var See=["GET",...Y9];new Set(See);var pd=J.createContext(null);pd.displayName="DataRouter";var yw=J.createContext(null);yw.displayName="DataRouterState";var Cee=J.createContext(!1),Q9=J.createContext({isTransitioning:!1});Q9.displayName="ViewTransition";var kee=J.createContext(new Map);kee.displayName="Fetchers";var Aee=J.createContext(null);Aee.displayName="Await";var oi=J.createContext(null);oi.displayName="Navigation";var rg=J.createContext(null);rg.displayName="Location";var Ka=J.createContext({outlet:null,matches:[],isDataRoute:!1});Ka.displayName="Route";var KT=J.createContext(null);KT.displayName="RouteError";var K9="REACT_ROUTER_ERROR",Tee="REDIRECT",Mee="ROUTE_ERROR_RESPONSE";function Pee(e){if(e.startsWith(`${K9}:${Tee}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function Ree(e){if(e.startsWith(`${K9}:${Mee}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new bee(t.status,t.statusText,t.data)}catch{}}function Iee(e,{relative:t}={}){Yt(md(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=J.useContext(oi),{hash:i,pathname:a,search:o}=ig(e,{relative:t}),s=a;return n!=="/"&&(s=a==="/"?n:Oo([n,a])),r.createHref({pathname:s,search:o,hash:i})}function md(){return J.useContext(rg)!=null}function si(){return Yt(md(),"useLocation() may be used only in the context of a component."),J.useContext(rg).location}var X9="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Z9(e){J.useContext(oi).static||J.useLayoutEffect(e)}function Dl(){let{isDataRoute:e}=J.useContext(Ka);return e?Gee():Nee()}function Nee(){Yt(md(),"useNavigate() may be used only in the context of a component.");let e=J.useContext(pd),{basename:t,navigator:n}=J.useContext(oi),{matches:r}=J.useContext(Ka),{pathname:i}=si(),a=JSON.stringify(YT(r)),o=J.useRef(!1);return Z9(()=>{o.current=!0}),J.useCallback((u,l={})=>{if(ti(o.current,X9),!o.current)return;if(typeof u=="number"){n.go(u);return}let c=QT(u,JSON.parse(a),i,l.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:Oo([t,c.pathname])),(l.replace?n.replace:n.push)(c,l.state,l)},[t,n,a,i,e])}J.createContext(null);function ig(e,{relative:t}={}){let{matches:n}=J.useContext(Ka),{pathname:r}=si(),i=JSON.stringify(YT(n));return J.useMemo(()=>QT(e,JSON.parse(i),r,t==="path"),[e,i,r,t])}function Oee(e,t){return J9(e,t)}function J9(e,t,n,r,i){var b;Yt(md(),"useRoutes() may be used only in the context of a component.");let{navigator:a}=J.useContext(oi),{matches:o}=J.useContext(Ka),s=o[o.length-1],u=s?s.params:{},l=s?s.pathname:"/",c=s?s.pathnameBase:"/",f=s&&s.route;{let E=f&&f.path||"";tB(l,!f||E.endsWith("*")||E.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${l}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. - -Please change the parent to .`)}let d=si(),p;if(t){let E=typeof t=="string"?Ol(t):t;Yt(c==="/"||((b=E.pathname)==null?void 0:b.startsWith(c)),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${c}" but pathname "${E.pathname}" was given in the \`location\` prop.`),p=E}else p=d;let w=p.pathname||"/",g=w;if(c!=="/"){let E=c.replace(/^\//,"").split("/");g="/"+w.replace(/^\//,"").split("/").slice(E.length).join("/")}let y=j9(e,{pathname:g});ti(f||y!=null,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),ti(y==null||y[y.length-1].route.element!==void 0||y[y.length-1].route.Component!==void 0||y[y.length-1].route.lazy!==void 0,`Matched leaf route at location "${p.pathname}${p.search}${p.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let _=Bee(y&&y.map(E=>Object.assign({},E,{params:Object.assign({},u,E.params),pathname:Oo([c,a.encodeLocation?a.encodeLocation(E.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?c:Oo([c,a.encodeLocation?a.encodeLocation(E.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathnameBase])})),o,n,r,i);return t&&_?J.createElement(rg.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...p},navigationType:"POP"}},_):_}function Dee(){let e=qee(),t=xee(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=J.createElement(J.Fragment,null,J.createElement("p",null,"💿 Hey developer 👋"),J.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",J.createElement("code",{style:a},"ErrorBoundary")," or"," ",J.createElement("code",{style:a},"errorElement")," prop on your route.")),J.createElement(J.Fragment,null,J.createElement("h2",null,"Unexpected Application Error!"),J.createElement("h3",{style:{fontStyle:"italic"}},t),n?J.createElement("pre",{style:i},n):null,o)}var $ee=J.createElement(Dee,null),eB=class extends J.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=Ree(e.digest);n&&(e=n)}let t=e!==void 0?J.createElement(Ka.Provider,{value:this.props.routeContext},J.createElement(KT.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?J.createElement(Fee,{error:e},t):t}};eB.contextType=Cee;var Gx=new WeakMap;function Fee({children:e,error:t}){let{basename:n}=J.useContext(oi);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=Pee(t.digest);if(r){let i=Gx.get(t);if(i)throw i;let a=V9(r.location,n);if(W9&&!Gx.get(t))if(a.isExternal||r.reloadDocument)window.location.href=a.absoluteURL||a.to;else{const o=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:r.replace}));throw Gx.set(t,o),o}return J.createElement("meta",{httpEquiv:"refresh",content:`0;url=${a.absoluteURL||a.to}`})}}return e}function Lee({routeContext:e,match:t,children:n}){let r=J.useContext(pd);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),J.createElement(Ka.Provider,{value:e},n)}function Bee(e,t=[],n=null,r=null,i=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,o=n==null?void 0:n.errors;if(o!=null){let c=a.findIndex(f=>f.route.id&&(o==null?void 0:o[f.route.id])!==void 0);Yt(c>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),a=a.slice(0,Math.min(a.length,c+1))}let s=!1,u=-1;if(n)for(let c=0;c=0?a=a.slice(0,u+1):a=[a[0]];break}}}let l=n&&r?(c,f)=>{var d,p;r(c,{location:n.location,params:((p=(d=n.matches)==null?void 0:d[0])==null?void 0:p.params)??{},unstable_pattern:Eee(n.matches),errorInfo:f})}:void 0;return a.reduceRight((c,f,d)=>{let p,w=!1,g=null,y=null;n&&(p=o&&f.route.id?o[f.route.id]:void 0,g=f.route.errorElement||$ee,s&&(u<0&&d===0?(tB("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,y=null):u===d&&(w=!0,y=f.route.hydrateFallbackElement||null)));let _=t.concat(a.slice(0,d+1)),b=()=>{let E;return p?E=g:w?E=y:f.route.Component?E=J.createElement(f.route.Component,null):f.route.element?E=f.route.element:E=c,J.createElement(Lee,{match:f,routeContext:{outlet:c,matches:_,isDataRoute:n!=null},children:E})};return n&&(f.route.ErrorBoundary||f.route.errorElement||d===0)?J.createElement(eB,{location:n.location,revalidation:n.revalidation,component:g,error:p,children:b(),routeContext:{outlet:null,matches:_,isDataRoute:!0},onError:l}):b()},null)}function XT(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function zee(e){let t=J.useContext(pd);return Yt(t,XT(e)),t}function Uee(e){let t=J.useContext(yw);return Yt(t,XT(e)),t}function jee(e){let t=J.useContext(Ka);return Yt(t,XT(e)),t}function ZT(e){let t=jee(e),n=t.matches[t.matches.length-1];return Yt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Hee(){return ZT("useRouteId")}function qee(){var r;let e=J.useContext(KT),t=Uee("useRouteError"),n=ZT("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function Gee(){let{router:e}=zee("useNavigate"),t=ZT("useNavigate"),n=J.useRef(!1);return Z9(()=>{n.current=!0}),J.useCallback(async(i,a={})=>{ti(n.current,X9),n.current&&(typeof i=="number"?await e.navigate(i):await e.navigate(i,{fromRouteId:t,...a}))},[e,t])}var RN={};function tB(e,t,n){!t&&!RN[e]&&(RN[e]=!0,ti(!1,n))}J.memo(Wee);function Wee({routes:e,future:t,state:n,onError:r}){return J9(e,void 0,n,r,t)}function Vee({to:e,replace:t,state:n,relative:r}){Yt(md()," may be used only in the context of a component.");let{static:i}=J.useContext(oi);ti(!i," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:a}=J.useContext(Ka),{pathname:o}=si(),s=Dl(),u=QT(e,YT(a),o,r==="path"),l=JSON.stringify(u);return J.useEffect(()=>{s(JSON.parse(l),{replace:t,state:n,relative:r})},[s,l,r,t,n]),null}function sy(e){Yt(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function Yee({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:i,static:a=!1,unstable_useTransitions:o}){Yt(!md(),"You cannot render a inside another . You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),u=J.useMemo(()=>({basename:s,navigator:i,static:a,unstable_useTransitions:o,future:{}}),[s,i,a,o]);typeof n=="string"&&(n=Ol(n));let{pathname:l="/",search:c="",hash:f="",state:d=null,key:p="default"}=n,w=J.useMemo(()=>{let g=$o(l,s);return g==null?null:{location:{pathname:g,search:c,hash:f,state:d,key:p},navigationType:r}},[s,l,c,f,d,p,r]);return ti(w!=null,` is not able to match the URL "${l}${c}${f}" because it does not start with the basename, so the won't render anything.`),w==null?null:J.createElement(oi.Provider,{value:u},J.createElement(rg.Provider,{children:t,value:w}))}function Qee({children:e,location:t}){return Oee(Tk(e),t)}function Tk(e,t=[]){let n=[];return J.Children.forEach(e,(r,i)=>{if(!J.isValidElement(r))return;let a=[...t,i];if(r.type===J.Fragment){n.push.apply(n,Tk(r.props.children,a));return}Yt(r.type===sy,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),Yt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let o={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=Tk(r.props.children,a)),n.push(o)}),n}var uy="get",ly="application/x-www-form-urlencoded";function ww(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Kee(e){return ww(e)&&e.tagName.toLowerCase()==="button"}function Xee(e){return ww(e)&&e.tagName.toLowerCase()==="form"}function Zee(e){return ww(e)&&e.tagName.toLowerCase()==="input"}function Jee(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ete(e,t){return e.button===0&&(!t||t==="_self")&&!Jee(e)}var ev=null;function tte(){if(ev===null)try{new FormData(document.createElement("form"),0),ev=!1}catch{ev=!0}return ev}var nte=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Wx(e){return e!=null&&!nte.has(e)?(ti(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${ly}"`),null):e}function rte(e,t){let n,r,i,a,o;if(Xee(e)){let s=e.getAttribute("action");r=s?$o(s,t):null,n=e.getAttribute("method")||uy,i=Wx(e.getAttribute("enctype"))||ly,a=new FormData(e)}else if(Kee(e)||Zee(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a - - - - `;function t(){return` -
- -
- `}function n(){return` - - ${e.addRelativeActive?CY():SY()} - - `}function r(){return` - - ${e.editable?TY():AY()} - - `}function i(){return e.editable?` -
- ${e.gender_field.options.map(l=>` - - `).join("")} -
- `:""}function a(){if(!e.editable)return l();return e.fields.map(c=>` - ${c.type==="text"?` -
- - -
- `:c.type==="textarea"?` -
- - -
- `:""} - `).join("");function l(){return e.fields.map(c=>` -
- ${c.label} - ${c.initial_value||""} -
- `).join("")}}function o(){return` -
- - -
- `}function s(){return` - - × - - `}function u(){return'
'}}function oOe(e,t,n){let r=[],i=-1;return{changed:a,back:o,forward:s,canForward:u,canBack:l};function a(){i0}function c(f){e.updateMainId(f.main_id),e.updateData(f),n()}}function sOe(e,t,n=()=>{}){const r=De.select(e).append("div").attr("class","f3-history-controls"),i=r.append("button").attr("class","f3-back-button").on("click",()=>{t.back(),o(),n()}),a=r.append("button").attr("class","f3-forward-button").on("click",()=>{t.forward(),o(),n()});return i.html(MY()),a.html(PY()),{back_btn:i.node(),forward_btn:a.node(),updateButtons:o,destroy:s};function o(){i.classed("disabled",!t.canBack()),a.classed("disabled",!t.canForward()),r.style("display",!t.canBack()&&!t.canForward()?"none":null)}function s(){t=null,De.select(e).select(".f3-history-controls").remove()}}var uOe=Object.freeze({__proto__:null,manualZoom:FNe,isAllRelativeDisplayed:iY,cardChangeMain:Z3,cardEdit:J3,cardShowHideRels:fY,handleRelsOfNewDatum:eY,handleNewRel:tY,createNewPerson:Gi,createNewPersonWithGenderFromRel:nY,addNewPerson:K3,createTreeDataWithMainNode:rY,addNewPersonAndHandleRels:DNe,checkIfRelativesConnectedWithoutPerson:Q3,createForm:NNe,moveToAddToAdded:ZV,removeToAdd:Km,deletePerson:Dg,cleanupDataJson:JV,removeToAddFromData:ONe,formInfoSetup:iOe,createHistory:oOe,createHistoryControls:sOe,treeFit:RT,calculateTreeFit:sY,cardToMiddle:uY});function lOe({d:e,card_dim:t,card_display:n}){return{template:` - - - ${cOe({d:e,card_dim:t,card_display:n}).template} - - `}}function cOe({d:e,card_dim:t,card_display:n}){return{template:` - - - - - ${Array.isArray(n)?n.map(r=>`${r(e.data)}`).join(` -`):n(e.data)} - - - - - - `}}function fOe({d:e,card_dim:t,card_add:n,label:r}){return{template:` - - - - ${r} - - - `}}function dOe({d:e,card_dim:t,is_new:n}){return{template:` - - `}}function hOe({d:e,card_dim:t,x:n,y:r}){return{template:` - - - - - `}}function pOe({d:e,card_dim:t}){return{template:` - - - - - - - - - - - `}}function mOe({d:e,card_dim:t,x:n,y:r}){return{template:` - - - - - - - - - - `}}function F$({x:e,y:t,rt:n,closed:r}){return{template:` - - - - - - - - - - - - - - - - - - - - - `}}function gOe({d:e,card_dim:t}){let n="",r=e.data.rels,i=e.data._rels||{},a=e.data.hide_rels,o=u=>u.father||u.mother,s=u=>u.children&&u.children.length>0;if((e.is_ancestry||e.data.main)&&(o(r)||o(i))&&(n+=F$({x:t.w/2,y:0,rt:-45,closed:a}).template),!e.is_ancestry&&e.added){const u=e.spouse,l=u.data.rels,c=u.data._rels||{};(s(r)||s(i))&&(s(l)||s(c))&&(n+=F$({x:e.sx-e.x+t.w/2+24.4,y:(e.x!==e.sx?t.h/2:t.h)+1,rt:135,closed:a}).template)}return{template:n}}function vOe({d:e,image:t,card_dim:n,maleIcon:r,femaleIcon:i}){return{template:` - - ${t?``:(e.data.data.gender,e.data.data.gender,a())} - - `};function a(){return` - - - - - - - `}}function yOe(e,t,n){const r=document.createElementNS("http://www.w3.org/2000/svg","g");r.innerHTML=e,t.insertBefore(r,t.firstChild)}const Dc={miniTree:wOe,lineBreak:_Oe,cardBody:bOe,cardImage:xOe,cardEdit:EOe,cardAdd:SOe};function wOe(e,t){if(e.data.to_add)return;const n=t.card_dim;if(e.all_rels_displayed)return;const r=De.create("svg:g").html(pOe({d:e,card_dim:n}).template);return r.on("click",function(i){i.stopPropagation(),t.onMiniTreeClick?t.onMiniTreeClick.call(this,i,e):Z3(t.store,{d:e})}),r.node()}function _Oe(e,t){if(e.data.to_add)return;const n=t.card_dim,r=De.create("svg:g").html(gOe({d:e,card_dim:n}).template);return r.on("click",i=>{i.stopPropagation(),fY(t.store,{d:e})}),r.node()}function bOe(e,t){const n=t.cardEditForm?"ADD":"UNKNOWN",r=t.card_dim;let i;return e.data.to_add?(i=De.create("svg:g").html(fOe({d:e,card_dim:r,card_add:t.cardEditForm,label:n}).template),i.on("click",a=>{a.stopPropagation(),J3(t.store,{d:e,cardEditForm:t.cardEditForm})})):(i=De.create("svg:g").html(lOe({d:e,card_dim:r,card_display:t.card_display}).template),i.on("click",function(a){a.stopPropagation(),t.onCardClick?t.onCardClick.call(this,a,e):Z3(t.store,{d:e})})),i.node()}function xOe(e,t){if(e.data.to_add)return;const n=t.card_dim;return De.create("svg:g").html(vOe({d:e,image:e.data.data.avatar||null,card_dim:n,maleIcon:null,femaleIcon:null}).template).node()}function EOe(e,t){if(e.data.to_add)return;const n=t.card_dim,r=De.create("svg:g").html(hOe({card_dim:n,x:n.w-46,y:n.h-20}).template);return r.on("click",i=>{i.stopPropagation(),J3(t.store,{d:e,cardEditForm:t.cardEditForm})}),r.node()}function SOe(e,t){if(e.data.to_add)return;const n=t.card_dim,r=De.create("svg:g").html(mOe({card_dim:n,x:n.w-26,y:n.h-20}).template);return r.on("click",i=>{i.stopPropagation(),t.addRelative({d:e})}),r.node()}function Yu(e,t,n){e&&(n?t.insertBefore(e,t.firstChild):t.appendChild(e))}function NY(e,t){if(e.querySelector("defs#f3CardDef"))return;e.insertAdjacentHTML("afterbegin",` - - - - - - - - - - - - - `);function n(r,i,a){const{w:o,h:s}=r,u=i,l=a||[],c=g=>l.includes(g),f=c("lx")?"M0,0":`M0,${u} Q 0,0 5,0`,d=c("rx")?`H${o}`:`H${o-u} Q ${o},0 ${o},5`,p=c("ry")?`V${s}`:`V${s-u} Q ${o},${s} ${o-u},${s}`,w=c("ly")?"H0":`H${u} Q 0,${s} 0,${s-u}`;return`${f} ${d} ${p} ${w} z`}}function COe(e,t){e.querySelector("defs#f3CardDef")&&e.querySelector("defs#f3CardDef").remove(),NY(e,t)}function kOe(e){return e=t(e),NY(e.svg,e.card_dim),function(n){const r=n.data.data.gender==="M"?"card-male":n.data.data.gender==="F"?"card-female":"card-genderless",i=e.card_dim,a=De.create("svg:g").attr("class",`card ${r}`).attr("transform",`translate(${[-i.w/2,-i.h/2]})`);a.append("g").attr("class","card-inner").attr("clip-path","url(#card_clip)"),this.innerHTML="",this.appendChild(a.node()),yOe(dOe({d:n,card_dim:i,is_new:n.data.to_add}).template,a.node()),Yu(Dc.cardBody(n,e),this.querySelector(".card-inner")),e.img&&Yu(Dc.cardImage(n,e),this.querySelector(".card")),e.mini_tree&&Yu(Dc.miniTree(n,e),this.querySelector(".card"),!0),e.link_break&&Yu(Dc.lineBreak(n,e),this.querySelector(".card")),e.cardEditForm&&(Yu(Dc.cardEdit(n,e),this.querySelector(".card-inner")),Yu(Dc.cardAdd(n,e),this.querySelector(".card-inner"))),e.onCardUpdates&&e.onCardUpdates.map(o=>o.call(this,n)),e.onCardUpdate&&e.onCardUpdate.call(this,n)};function t(n){const r={img:!0,mini_tree:!0,link_break:!1,card_dim:{w:220,h:70,text_x:75,text_y:15,img_w:60,img_h:60,img_x:5,img_y:5}};n||(n={});for(const i in r)typeof n[i]>"u"&&(n[i]=r[i]);return n}}function AOe(e){const t=e.style==="default"?l:e.style==="imageCircleRect"?u:e.style==="imageCircle"?c:e.style==="imageRect"?f:e.style==="rect"?d:l;return function(_){this.innerHTML=` -
- ${e.mini_tree?s(_):""} - ${t(_)} -
- `,this.querySelector(".card").addEventListener("click",b=>e.onCardClick(b,_)),e.onCardUpdate&&e.onCardUpdate.call(this,_),e.onCardMouseenter&&De.select(this).select(".card").on("mouseenter",b=>e.onCardMouseenter(b,_)),e.onCardMouseleave&&De.select(this).select(".card").on("mouseleave",b=>e.onCardMouseleave(b,_))};function n(_){return` -
- ${_.data.data.avatar?``:y(_)} -
${a(_)}
-
- `}function r(_){return` -
- ${_.data.data.avatar?``:y(_)} -
${a(_)}
-
- `}function i(_){return` -
- ${a(_)} -
- `}function a(_){return _.data._new_rel_data?o(_):_.data.to_add?`
${e.empty_card_label||"ADD"}
`:` - ${e.card_display.map(b=>`
${b(_.data)}
`).join("")} - `}function o(_){const b=[];return b.push(`data-rel-type="${_.data._new_rel_data.rel_type}"`),["son","daughter"].includes(_.data._new_rel_data.rel_type)&&b.push(`data-other-parent-id="${_.data._new_rel_data.other_parent_id}"`),`
${_.data._new_rel_data.label}
`}function s(_){return!e.mini_tree||_.data.to_add||_.data._new_rel_data||_.all_rels_displayed?"":`
${IY()}
`}function u(_){return _.data.data.avatar?c(_):d(_)}function l(_){return r(_)}function c(_){return n(_)}function f(_){return r(_)}function d(_){return i(_)}function p(_){const b=[];return _.data.data.gender==="M"?b.push("card-male"):_.data.data.gender==="F"?b.push("card-female"):b.push("card-genderless"),_.data.main&&b.push("card-main"),_.data._new_rel_data&&b.push("card-new-rel"),_.data.to_add&&b.push("card-to-add"),b}function w(){let _='style="';if(e.card_dim.w||e.card_dim.h)_+=`width: ${e.card_dim.w}px; min-height: ${e.card_dim.h}px;`,e.card_dim.height_auto?_+="height: auto;":_+=`height: ${e.card_dim.h}px;`;else return"";return _+='"',_}function g(){let _='style="position: relative;';if(e.card_dim.img_w||e.card_dim.img_h||e.card_dim.img_x||e.card_dim.img_y)_+=`width: ${e.card_dim.img_w}px; height: ${e.card_dim.img_h}px;`,_+=`left: ${e.card_dim.img_x}px; top: ${e.card_dim.img_y}px;`;else return"";return _+='"',_}function y(_){return _.data._new_rel_data?`
${kY()}
`:`
${RY()}
`}}var TOe=Object.freeze({__proto__:null,appendElement:Yu,Card:kOe,CardHtml:AOe}),MOe=(...e)=>new $g(...e);function $g(e,t,n){return this.store=e,this.cancelCallback=t,this.onSubmitCallback=n,this.datum=null,this.onChange=null,this.onCancel=null,this.is_active=!1,this.store_data=null,this.addRelLabels=this.addRelLabelsDefault(),this}$g.prototype.activate=function(e){this.is_active&&this.onCancel(),this.is_active=!0;const t=this.store;this.store_data=t.getData(),this.datum=e,e=JSON.parse(JSON.stringify(this.datum));const n=POe(e,this.getStoreData(),this.addRelLabels);t.updateData(n),t.updateTree({}),this.onChange=r.bind(this),this.onCancel=i.bind(this);function r(a){if(a!=null&&a._new_rel_data){const o=a;tY({datum:this.datum,new_rel_datum:o,data_stash:this.getStoreData()}),this.onSubmitCallback(this.datum,o)}else a.id===this.datum.id?this.datum.data=a.data:console.error("Something went wrong")}function i(){this.is_active&&(this.is_active=!1,t.updateData(this.getStoreData()),this.cancelCallback(this.datum),this.store_data=null,this.datum=null,this.onChange=null,this.onCancel=null)}};$g.prototype.setAddRelLabels=function(e){if(typeof e!="object"){console.error("add_rel_labels must be an object");return}for(let t in e)this.addRelLabels[t]=e[t];return this};$g.prototype.addRelLabelsDefault=function(){return{father:"Add Father",mother:"Add Mother",spouse:"Add Spouse",son:"Add Son",daughter:"Add Daughter"}};$g.prototype.getStoreData=function(){return this.store_data};function POe(e,t,n){const r=IOe(e,t);if(!e.rels.father){const s=Gi({data:{gender:"M"},rels:{children:[e.id]}});s._new_rel_data={rel_type:"father",label:n.father},e.rels.father=s.id,r.push(s)}if(!e.rels.mother){const s=Gi({data:{gender:"F"},rels:{children:[e.id]}});s._new_rel_data={rel_type:"mother",label:n.mother},e.rels.mother=s.id,r.push(s)}const i=r.find(s=>s.id===e.rels.mother),a=r.find(s=>s.id===e.rels.father);if(i.rels.spouses=[a.id],a.rels.spouses=[i.id],i.rels.children=[e.id],a.rels.children=[e.id],e.rels.spouses||(e.rels.spouses=[]),e.rels.children){let s;e.rels.children.forEach(u=>{const l=r.find(c=>c.id===u);l.rels.mother||(s||(s=Gi({data:{gender:"F"},rels:{spouses:[e.id],children:[]}})),s._new_rel_data={rel_type:"spouse",label:n.spouse},s.rels.children.push(l.id),e.rels.spouses.push(s.id),l.rels.mother=s.id,r.push(s)),l.rels.father||(s||(s=Gi({data:{gender:"M"},rels:{spouses:[e.id],children:[]}})),s._new_rel_data={rel_type:"spouse",label:n.spouse},s.rels.children.push(l.id),e.rels.spouses.push(s.id),l.rels.father=s.id,r.push(s))})}const o=Gi({data:{gender:"F"},rels:{spouses:[e.id]}});return o._new_rel_data={rel_type:"spouse",label:n.spouse},e.rels.spouses.push(o.id),r.push(o),e.rels.children||(e.rels.children=[]),e.rels.spouses.forEach(s=>{const u=r.find(f=>f.id===s);u.rels.children||(u.rels.children=[]),u.rels.children=u.rels.children.filter(f=>e.rels.children.includes(f));const l=Gi({data:{gender:"M"},rels:{father:e.id,mother:u.id}});l._new_rel_data={rel_type:"son",label:n.son,other_parent_id:u.id},u.rels.children.push(l.id),e.rels.children.push(l.id),r.push(l);const c=Gi({data:{gender:"F"},rels:{mother:u.id,father:e.id}});c._new_rel_data={rel_type:"daughter",label:n.daughter,other_parent_id:u.id},u.rels.children.push(c.id),e.rels.children.push(c.id),r.push(c)}),r}function ROe(e,t){return JSON.parse(JSON.stringify(e.find(n=>n.id===t)))}function IOe(e,t){const n=[e];return Object.keys(e.rels).forEach(i=>{const a=e.rels[i];Array.isArray(a)?a.forEach(o=>{r(i,o)}):r(i,a)}),n;function r(i,a){const o=ROe(t,a);(i==="father"||i==="mother")&&(delete o.rels.father,delete o.rels.mother),i==="children"&&(o.rels.children=[],o.rels.spouses=[]),n.push(o)}}function NOe(...e){return new Wt(...e)}function Wt(e,t){return this.cont=e,this.store=t,this.fields=[{type:"text",label:"first name",id:"first name"},{type:"text",label:"last name",id:"last name"},{type:"text",label:"birthday",id:"birthday"},{type:"text",label:"avatar",id:"avatar"}],this.form_cont=null,this.is_fixed=!0,this.history=null,this.no_edit=!1,this.onChange=null,this.editFirst=!1,this.init(),this}Wt.prototype.init=function(){this.form_cont=De.select(this.cont).append("div").classed("f3-form-cont",!0).node(),this.addRelativeInstance=this.setupAddRelative(),this.createHistory()};Wt.prototype.open=function(e){e.data.data&&(e=e.data),this.addRelativeInstance.is_active&&!e._new_rel_data&&(this.addRelativeInstance.onCancel(),e=this.store.getDatum(e.id)),this.cardEditForm(e)};Wt.prototype.openWithoutRelCancel=function(e){e.data.data&&(e=e.data),this.cardEditForm(e)};Wt.prototype.cardEditForm=function(e){const t={};(e==null?void 0:e._new_rel_data)?t.onCancel=()=>this.addRelativeInstance.onCancel():(t.addRelative=this.addRelativeInstance,t.deletePerson=()=>{const o=this.store.getData();Dg(e,o),this.store.updateData(o),this.openFormWithId(this.store.getLastAvailableMainDatum().id),this.store.updateTree({})});const r=vn.handlers.createForm({store:this.store,datum:e,postSubmit:a.bind(this),fields:this.fields,card_display:this.card_display,addRelative:null,onCancel:()=>{},editFirst:this.editFirst,...t});r.no_edit=this.no_edit;const i=vn.handlers.formInfoSetup(r,this.closeForm.bind(this));this.form_cont.innerHTML="",this.form_cont.appendChild(i),this.openForm();function a(o){this.addRelativeInstance.is_active?this.addRelativeInstance.onChange(e):o!=null&&o.delete||this.openFormWithId(e.id),this.is_fixed||this.closeForm(),this.store.updateTree({}),this.updateHistory()}};Wt.prototype.openForm=function(){De.select(this.form_cont).classed("opened",!0)};Wt.prototype.closeForm=function(){De.select(this.form_cont).classed("opened",!1).html(""),this.store.updateTree({})};Wt.prototype.fixed=function(){return this.is_fixed=!0,De.select(this.form_cont).style("position","relative"),this};Wt.prototype.absolute=function(){return this.is_fixed=!1,De.select(this.form_cont).style("position","absolute"),this};Wt.prototype.setCardClickOpen=function(e){return e.setOnCardClick((t,n)=>{if(this.addRelativeInstance.is_active){this.open(n);return}this.open(n),this.store.updateMainId(n.data.id),this.store.updateTree({})}),this};Wt.prototype.openFormWithId=function(e){if(e){const t=this.store.getDatum(e);this.openWithoutRelCancel({data:t})}else{const t=this.store.getMainDatum();this.openWithoutRelCancel({data:t})}};Wt.prototype.createHistory=function(){return this.history=vn.handlers.createHistory(this.store,this.getStoreData.bind(this),e.bind(this)),this.history.controls=vn.handlers.createHistoryControls(this.cont,this.history),this.history.changed(),this.history.controls.updateButtons(),this;function e(){var t;this.addRelativeInstance.is_active&&this.addRelativeInstance.onCancel(),this.store.updateTree({initial:!1}),this.history.controls.updateButtons(),this.openFormWithId((t=this.store.getMainDatum())==null?void 0:t.id)}};Wt.prototype.setNoEdit=function(){return this.no_edit=!0,this};Wt.prototype.setEdit=function(){return this.no_edit=!1,this};Wt.prototype.setFields=function(e){const t=[];if(!Array.isArray(e))return console.error("fields must be an array"),this;for(const n of e)typeof n=="string"?t.push({type:"text",label:n,id:n}):typeof n=="object"?n.id?t.push(n):console.error("fields must be an array of objects with id property"):console.error("fields must be an array of strings or objects");return this.fields=t,this};Wt.prototype.setOnChange=function(e){return this.onChange=e,this};Wt.prototype.addRelative=function(e){return e||(e=this.store.getMainDatum()),this.addRelativeInstance.activate(e),this};Wt.prototype.setupAddRelative=function(){return MOe(this.store,t.bind(this),e.bind(this));function e(n,r){this.store.updateMainId(n.id),this.openFormWithId(n.id)}function t(n){this.store.updateMainId(n.id),this.store.updateTree({}),this.openFormWithId(n.id)}};Wt.prototype.setEditFirst=function(e){return this.editFirst=e,this};Wt.prototype.isAddingRelative=function(){return this.addRelativeInstance.is_active};Wt.prototype.setAddRelLabels=function(e){return this.addRelativeInstance.setAddRelLabels(e),this};Wt.prototype.getStoreData=function(){return this.addRelativeInstance.is_active?this.addRelativeInstance.getStoreData():this.store.getData()};Wt.prototype.getDataJson=function(e){const t=this.getStoreData();return vn.handlers.cleanupDataJson(JSON.stringify(t))};Wt.prototype.updateHistory=function(){this.history&&(this.history.changed(),this.history.controls.updateButtons()),this.onChange&&this.onChange()};Wt.prototype.destroy=function(){return this.history.controls.destroy(),this.history=null,De.select(this.cont).select(".f3-form-cont").remove(),this.addRelativeInstance.onCancel&&this.addRelativeInstance.onCancel(),this.store.updateTree({}),this};function OOe(...e){return new xn(...e)}function xn(e,t){return this.cont=null,this.store=null,this.svg=null,this.getCard=null,this.node_separation=250,this.level_separation=150,this.is_horizontal=!1,this.single_parent_empty_card=!0,this.transition_time=2e3,this.is_card_html=!1,this.beforeUpdate=null,this.afterUpdate=null,this.init(e,t),this}xn.prototype.init=function(e,t){this.cont=e=DOe(e);const n=()=>e.querySelector("svg .view"),r=()=>e.querySelector("#htmlSvg"),i=()=>e.querySelector("#htmlSvg .cards_view");this.svg=vn.createSvg(e,{onZoom:vn.htmlHandlers.onZoomSetup(n,i)}),vn.htmlHandlers.createHtmlSvg(e),this.store=vn.createStore({data:t,node_separation:this.node_separation,level_separation:this.level_separation,single_parent_empty_card:this.single_parent_empty_card,is_horizontal:this.is_horizontal}),this.setCard(vn.CardSvg),this.store.setOnUpdate(a=>{this.beforeUpdate&&this.beforeUpdate(a),a=Object.assign({transition_time:this.transition_time},a||{}),this.is_card_html&&(a=Object.assign({},a||{},{cardHtml:r()})),vn.view(this.store.getTree(),this.svg,this.getCard(),a||{}),this.afterUpdate&&this.afterUpdate(a)})};xn.prototype.updateTree=function(e={initial:!1}){return this.store.updateTree(e),this};xn.prototype.updateData=function(e){return this.store.updateData(e),this};xn.prototype.setCardYSpacing=function(e){return typeof e!="number"?(console.error("card_y_spacing must be a number"),this):(this.level_separation=e,this.store.state.level_separation=e,this)};xn.prototype.setCardXSpacing=function(e){return typeof e!="number"?(console.error("card_x_spacing must be a number"),this):(this.node_separation=e,this.store.state.node_separation=e,this)};xn.prototype.setOrientationVertical=function(){return this.is_horizontal=!1,this.store.state.is_horizontal=!1,this};xn.prototype.setOrientationHorizontal=function(){return this.is_horizontal=!0,this.store.state.is_horizontal=!0,this};xn.prototype.setSingleParentEmptyCard=function(e,{label:t="Unknown"}={}){return this.single_parent_empty_card=e,this.store.state.single_parent_empty_card=e,this.store.state.single_parent_empty_card_label=t,this.editTreeInstance&&this.editTreeInstance.addRelativeInstance.is_active&&this.editTreeInstance.addRelativeInstance.onCancel(),vn.handlers.removeToAddFromData(this.store.getData()||[]),this};xn.prototype.setCard=function(e){this.is_card_html=e.is_html,this.is_card_html?(this.svg.querySelector(".cards_view").innerHTML="",this.cont.querySelector("#htmlSvg").style.display="block"):(this.cont.querySelector("#htmlSvg .cards_view").innerHTML="",this.cont.querySelector("#htmlSvg").style.display="none");const t=e(this.cont,this.store);return this.getCard=()=>t.getCard(),t};xn.prototype.setTransitionTime=function(e){return this.transition_time=e,this};xn.prototype.editTree=function(){return this.editTreeInstance=NOe(this.cont,this.store)};xn.prototype.updateMain=function(e){return this.store.updateMainId(e.data.id),this.store.updateTree({}),this};xn.prototype.updateMainId=function(e){return this.store.updateMainId(e),this};xn.prototype.getMainDatum=function(){return this.store.getMainDatum()};xn.prototype.getDataJson=function(e){const t=this.store.getData();return vn.handlers.cleanupDataJson(JSON.stringify(t))};xn.prototype.updateData=function(e){this.store.updateData(e)};xn.prototype.setBeforeUpdate=function(e){return this.beforeUpdate=e,this};xn.prototype.setAfterUpdate=function(e){return this.afterUpdate=e,this};function DOe(e){return typeof e=="string"&&(e=document.querySelector(e)),e}function OY(e){const t=[];return Array.isArray(e)?e.forEach(n=>{typeof n=="function"?t.push(n):typeof n=="string"?t.push(r=>r.data[n]):Array.isArray(n)&&t.push(r=>n.map(i=>r.data[i]).join(" "))}):typeof e=="function"?t.push(e):typeof e=="string"&&t.push(n=>n.data[e]),t}DY.is_html=!1;function DY(...e){return new Jo(...e)}function Jo(e,t){return this.cont=e,this.store=t,this.svg=null,this.getCard=null,this.card_dim={w:220,h:70,text_x:75,text_y:15,img_w:60,img_h:60,img_x:5,img_y:5},this.card_display=[n=>`${n.data["first name"]} ${n.data["last name"]}`],this.mini_tree=!0,this.link_break=!1,this.onCardClick=this.onCardClickDefault,this.onCardUpdate=null,this.onCardUpdates=null,this.init(),this}Jo.prototype.init=function(){this.svg=this.cont.querySelector("svg.main_svg"),this.getCard=()=>vn.elements.Card({store:this.store,svg:this.svg,card_dim:this.card_dim,card_display:this.card_display,mini_tree:this.mini_tree,link_break:this.link_break,onCardClick:this.onCardClick,onCardUpdate:this.onCardUpdate,onCardUpdates:this.onCardUpdates})};Jo.prototype.setCardDisplay=function(e){return this.card_display=OY(e),this};Jo.prototype.setCardDim=function(e){if(typeof e!="object")return console.error("card_dim must be an object"),this;for(let t in e){const n=e[t];if(typeof n!="number")return console.error(`card_dim.${t} must be a number`),this;t==="width"&&(t="w"),t==="height"&&(t="h"),this.card_dim[t]=n}return COe(this.svg,this.card_dim),this};Jo.prototype.setMiniTree=function(e){return this.mini_tree=e,this};Jo.prototype.setLinkBreak=function(e){return this.link_break=e,this};Jo.prototype.setCardTextSvg=function(e){function t(n){const a=De.select(this).select(".card-text text").node().parentNode;a.innerHTML=e(n.data)}return t.id="setCardTextSvg",this.onCardUpdates||(this.onCardUpdates=[]),this.onCardUpdates=this.onCardUpdates.filter(n=>n.id!=="setCardTextSvg"),this.onCardUpdates.push(t),this};Jo.prototype.onCardClickDefault=function(e,t){this.store.updateMainId(t.data.id),this.store.updateTree({})};Jo.prototype.setOnCardClick=function(e){return this.onCardClick=e,this};$Y.is_html=!0;function $Y(...e){return new xr(...e)}xr.prototype.is_html=!0;function xr(e,t){return this.cont=e,this.store=t,this.getCard=null,this.card_display=[n=>`${n.data["first name"]} ${n.data["last name"]}`],this.onCardClick=this.onCardClickDefault,this.style="default",this.mini_tree=!1,this.onCardUpdate=null,this.card_dim={},this.init(),this}xr.prototype.init=function(){this.svg=this.cont.querySelector("svg.main_svg"),this.getCard=()=>vn.elements.CardHtml({store:this.store,card_display:this.card_display,onCardClick:this.onCardClick,style:this.style,mini_tree:this.mini_tree,onCardUpdate:this.onCardUpdate,card_dim:this.card_dim,empty_card_label:this.store.state.single_parent_empty_card_label,onCardMouseenter:this.onCardMouseenter?this.onCardMouseenter.bind(this):null,onCardMouseleave:this.onCardMouseleave?this.onCardMouseleave.bind(this):null})};xr.prototype.setCardDisplay=function(e){return this.card_display=OY(e),this};xr.prototype.setOnCardClick=function(e){return this.onCardClick=e,this};xr.prototype.onCardClickDefault=function(e,t){this.store.updateMainId(t.data.id),this.store.updateTree({})};xr.prototype.setStyle=function(e){return this.style=e,this};xr.prototype.setMiniTree=function(e){return this.mini_tree=e,this};xr.prototype.setOnCardUpdate=function(e){return this.onCardUpdate=e,this};xr.prototype.setCardDim=function(e){if(typeof e!="object")return console.error("card_dim must be an object"),this;for(let t in e){const n=e[t];if(typeof n!="number"&&typeof n!="boolean")return console.error(`card_dim.${t} must be a number or boolean`),this;t==="width"&&(t="w"),t==="height"&&(t="h"),t==="img_width"&&(t="img_w"),t==="img_height"&&(t="img_h"),t==="img_x"&&(t="img_x"),t==="img_y"&&(t="img_y"),this.card_dim[t]=n}return this};xr.prototype.resetCardDim=function(){return this.card_dim={},this};xr.prototype.setOnHoverPathToMain=function(){return this.onCardMouseenter=this.onEnterPathToMain.bind(this),this.onCardMouseleave=this.onLeavePathToMain.bind(this),this};xr.prototype.unsetOnHoverPathToMain=function(){return this.onCardMouseenter=null,this.onCardMouseleave=null,this};xr.prototype.onEnterPathToMain=function(e,t){this.to_transition=t.data.id;const n=this.store.getTreeMainDatum(),r=De.select(this.cont).select("div.cards_view").selectAll(".card_cont"),i=De.select(this.cont).select("svg.main_svg .links_view").selectAll(".link"),[a,o]=zNe(r,i,t,n);return a.forEach(s=>{const u=Math.abs(t.depth-s.card.depth)*200;De.select(s.node.querySelector("div.card-inner")).transition().duration(0).delay(u).on("end",()=>this.to_transition===t.data.id&&De.select(s.node.querySelector("div.card-inner")).classed("f3-path-to-main",!0))}),o.forEach(s=>{const u=Math.abs(t.depth-s.link.depth)*200;De.select(s.node).transition().duration(0).delay(u).on("end",()=>this.to_transition===t.data.id&&De.select(s.node).classed("f3-path-to-main",!0))}),this};xr.prototype.onLeavePathToMain=function(e,t){return this.to_transition=!1,De.select(this.cont).select("div.cards_view").selectAll("div.card-inner").classed("f3-path-to-main",!1),De.select(this.cont).select("svg.main_svg .links_view").selectAll(".link").classed("f3-path-to-main",!1),this};var vn={CalculateTree:aY,createStore:LNe,view:XNe,createSvg:ZNe,handlers:uOe,elements:TOe,htmlHandlers:QNe,icons:rOe,createChart:OOe,CardSvg:DY,CardHtml:$Y};function $Oe(e,t){return e.husb===t?e.wife:e.husb}function L$(e,t){const n=new Map;return e.fams.forEach(r=>n.set(r.id,r)),e.indis.map(r=>{var c,f;const i=n.get(r.famc),a=(r.fams||[]).map(d=>n.get(d)).filter(d=>d!==void 0),o=i==null?void 0:i.husb,s=i==null?void 0:i.wife,u=a.map(d=>$Oe(d,r.id)).filter(d=>d!==void 0),l=a.flatMap(d=>d.children||[]);return{id:r.id,data:{"first name":r.firstName,"last name":r.lastName,birthday:Wf(r.birth,t),avatar:(f=(c=r.images)==null?void 0:c[0])==null?void 0:f.url,gender:r.sex},rels:{father:o,mother:s,spouses:u,children:l}}})}class FOe{initializeChart(t,n){const r=L$(t.data,n);this.store=vn.createStore({data:r,main_id:t.selection.id});const i=vn.createSvg(document.querySelector("#dotatsoSvgContainer")),a=vn.elements.Card({store:this.store,svg:i,card_display:[o=>`${o.data["first name"]||""} ${o.data["last name"]||""}`,o=>`${o.data.birthday||""}`],mini_tree:!0,link_break:!1,onCardClick:(o,s)=>t.onSelection({id:s.data.id,generation:0})});this.store.setOnUpdate(o=>{vn.view(this.store.getTree(),i,a,o||{})}),this.store.updateTree({initial:!0})}updateChart(t,n){const r=L$(t.data,n);this.store.updateData(r),this.store.updateMainId(t.selection.id),this.store.updateTree()}}function LOe(e){const t=J.useRef(new FOe),n=vj(e),r=ai();return J.useEffect(()=>{n?t.current.updateChart(e,r):t.current.initializeChart(e,r)}),U.jsx("div",{id:"dotatsoSvgContainer"})}const BOe=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Fg{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Fg.prototype.property={};Fg.prototype.normal={};Fg.prototype.space=null;function FY(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&qOe.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(z$,YOe);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!z$.test(a)){let o=a.replace(GOe,VOe);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=eR}return new i(r,t)}function VOe(e){return"-"+e.toLowerCase()}function YOe(e){return e.charAt(1).toUpperCase()}const QOe=FY([zY,BY,HY,qY,jOe],"html"),GY=FY([zY,BY,HY,qY,HOe],"svg"),U$={}.hasOwnProperty;function KOe(e,t){const n=t||{};function r(i,...a){let o=r.invalid;const s=r.handlers;if(i&&U$.call(i,e)){const u=String(i[e]);o=U$.call(s,u)?s[u]:r.unknown}if(o)return o.call(this,i,...a)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const XOe=/["&'<>`]/g,ZOe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,JOe=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,e5e=/[|\\{}()[\]^$+*?.]/g,j$=new WeakMap;function t5e(e,t){if(e=e.replace(t.subset?n5e(t.subset):XOe,r),t.subset||t.escapeOnly)return e;return e.replace(ZOe,n).replace(JOe,r);function n(i,a,o){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,o.charCodeAt(a+2),t)}function r(i,a,o){return t.format(i.charCodeAt(0),o.charCodeAt(a+1),t)}}function n5e(e){let t=j$.get(e);return t||(t=r5e(e),j$.set(e,t)),t}function r5e(e){const t=[];let n=-1;for(;++n",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},l5e=["cent","copy","divide","gt","lt","not","para","times"],WY={}.hasOwnProperty,OT={};let Hv;for(Hv in FE)WY.call(FE,Hv)&&(OT[FE[Hv]]=Hv);const c5e=/[^\dA-Za-z]/;function f5e(e,t,n,r){const i=String.fromCharCode(e);if(WY.call(OT,i)){const a=OT[i],o="&"+a;return n&&u5e.includes(a)&&!l5e.includes(a)&&(!r||t&&t!==61&&c5e.test(String.fromCharCode(t)))?o:o+";"}return""}function d5e(e,t,n){let r=a5e(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=f5e(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const a=s5e(e,t,n.omitOptionalSemicolons);a.length|^->||--!>|"],m5e=["<",">"];function g5e(e,t,n,r){return r.settings.bogusComments?"":"";function i(a){return of(a,Object.assign({},r.settings.characterReferences,{subset:m5e}))}}function v5e(e,t,n,r){return""}function H$(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function y5e(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function w5e(e){return e.join(" ").trim()}const _5e=/[ \t\n\f\r]/g;function tR(e){return typeof e=="object"?e.type==="text"?q$(e.value):!1:q$(e)}function q$(e){return e.replace(_5e,"")===""}const En=YY(1),VY=YY(-1),b5e=[];function YY(e){return t;function t(n,r,i){const a=n?n.children:b5e;let o=(r||0)+e,s=a[o];if(!i)for(;s&&tR(s);)o+=e,s=a[o];return s}}const x5e={}.hasOwnProperty;function QY(e){return t;function t(n,r,i){return x5e.call(e,n.tagName)&&e[n.tagName](n,r,i)}}const nR=QY({body:S5e,caption:LE,colgroup:LE,dd:T5e,dt:A5e,head:LE,html:E5e,li:k5e,optgroup:M5e,option:P5e,p:C5e,rp:G$,rt:G$,tbody:I5e,td:W$,tfoot:N5e,th:W$,thead:R5e,tr:O5e});function LE(e,t,n){const r=En(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&tR(r.value.charAt(0)))}function E5e(e,t,n){const r=En(n,t);return!r||r.type!=="comment"}function S5e(e,t,n){const r=En(n,t);return!r||r.type!=="comment"}function C5e(e,t,n){const r=En(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function k5e(e,t,n){const r=En(n,t);return!r||r.type==="element"&&r.tagName==="li"}function A5e(e,t,n){const r=En(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function T5e(e,t,n){const r=En(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function G$(e,t,n){const r=En(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function M5e(e,t,n){const r=En(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function P5e(e,t,n){const r=En(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function R5e(e,t,n){const r=En(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function I5e(e,t,n){const r=En(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function N5e(e,t,n){return!En(n,t)}function O5e(e,t,n){const r=En(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function W$(e,t,n){const r=En(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const D5e=QY({body:L5e,colgroup:B5e,head:F5e,html:$5e,tbody:z5e});function $5e(e){const t=En(e,-1);return!t||t.type!=="comment"}function F5e(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function L5e(e){const t=En(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&tR(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function B5e(e,t,n){const r=VY(n,t),i=En(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&nR(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function z5e(e,t,n){const r=VY(n,t),i=En(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&nR(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const qv={name:[[` -\f\r &/=>`.split(""),` -\f\r "&'/=>\``.split("")],[`\0 -\f\r "&'/<=>`.split(""),`\0 -\f\r "&'/<=>\``.split("")]],unquoted:[[` -\f\r &>`.split(""),`\0 -\f\r "&'<=>\``.split("")],[`\0 -\f\r "&'<=>\``.split(""),`\0 -\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function U5e(e,t,n,r){const i=r.schema,a=i.space==="svg"?!1:r.settings.omitOptionalTags;let o=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const s=[];let u;i.space==="html"&&e.tagName==="svg"&&(r.schema=GY);const l=j5e(r,e.properties),c=r.all(i.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=i,c&&(o=!1),(l||!a||!D5e(e,t,n))&&(s.push("<",e.tagName,l?" "+l:""),o&&(i.space==="svg"||r.settings.closeSelfClosing)&&(u=l.charAt(l.length-1),(!r.settings.tightSelfClosing||u==="/"||u&&u!=='"'&&u!=="'")&&s.push(" "),s.push("/")),s.push(">")),s.push(c),!o&&(!a||!nR(e,t,n))&&s.push(""),s.join("")}function j5e(e,t){const n=[];let r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){const a=H5e(e,i,t[i]);a&&n.push(a)}}for(;++rH$(n,e.alternative)&&(o=e.alternative),s=o+of(n,Object.assign({},e.settings.characterReferences,{subset:(o==="'"?qv.single:qv.double)[i][a],attribute:!0}))+o),u+(s&&"="+s))}const q5e=["<","&"];function KY(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:of(e.value,Object.assign({},r.settings.characterReferences,{subset:q5e}))}function G5e(e,t,n,r){return r.settings.allowDangerousHtml?e.value:KY(e,t,n,r)}function W5e(e,t,n,r){return r.all(e)}const V5e=KOe("type",{invalid:Y5e,unknown:Q5e,handlers:{comment:g5e,doctype:v5e,element:U5e,raw:G5e,root:W5e,text:KY}});function Y5e(e){throw new Error("Expected node, not `"+e+"`")}function Q5e(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const K5e={},X5e={},Z5e=[];function J5e(e,t){const n=t||K5e,r=n.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:eDe,all:tDe,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||BOe,characterReferences:n.characterReferences||X5e,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?GY:QOe,quote:r,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function eDe(e,t,n){return V5e(e,t,n,this)}function tDe(e){const t=[],n=e&&e.children||Z5e;let r=-1;for(;++ri?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a0?(Qa(e,e.length,0,t),e):t}const Q$={}.hasOwnProperty;function oDe(e){const t={};let n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function sf(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Aa=yu(/[A-Za-z]/),ei=yu(/[\dA-Za-z]/),lDe=yu(/[#-'*+\--9=?A-Z^-~]/);function DT(e){return e!==null&&(e<32||e===127)}const $T=yu(/\d/),cDe=yu(/[\dA-Fa-f]/),fDe=yu(/[!-/:-@[-`{-~]/);function rt(e){return e!==null&&e<-2}function zr(e){return e!==null&&(e<0||e===32)}function Ct(e){return e===-2||e===-1||e===32}const dDe=yu(new RegExp("\\p{P}|\\p{S}","u")),hDe=yu(/\s/);function yu(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Nd(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&a<57344){const s=e.charCodeAt(n+1);a<56320&&s>56319&&s<57344?(o=String.fromCharCode(a,s),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Lt(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return o;function o(u){return Ct(u)?(e.enter(n),s(u)):t(u)}function s(u){return Ct(u)&&a++o))return;const A=t.events.length;let M=A,R,N;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){if(R){N=t.events[M][1].end;break}R=!0}for(_(r),C=A;CE;){const v=n[S];t.containerState=v[1],v[0].exit.call(t,e)}n.length=E}function b(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function yDe(e,t,n){return Lt(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function X$(e){if(e===null||zr(e)||hDe(e))return 1;if(dDe(e))return 2}function iR(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},d={...e[n][1].start};Z$(f,-u),Z$(d,u),o={type:u>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},s={type:u>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:d},a={type:u>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:u>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=wi(l,[["enter",e[r][1],t],["exit",e[r][1],t]])),l=wi(l,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),l=wi(l,iR(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=wi(l,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,l=wi(l,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,Qa(e,r-1,n-r+3,l),n=r+l.length-c-2;break}}for(n=-1;++n0&&Ct(C)?Lt(e,b,"linePrefix",a+1)(C):b(C)}function b(C){return C===null||rt(C)?e.check(J$,g,S)(C):(e.enter("codeFlowValue"),E(C))}function E(C){return C===null||rt(C)?(e.exit("codeFlowValue"),b(C)):(e.consume(C),E)}function S(C){return e.exit("codeFenced"),t(C)}function v(C,A,M){let R=0;return N;function N($){return C.enter("lineEnding"),C.consume($),C.exit("lineEnding"),P}function P($){return C.enter("codeFencedFence"),Ct($)?Lt(C,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):B($)}function B($){return $===s?(C.enter("codeFencedFenceSequence"),V($)):M($)}function V($){return $===s?(R++,C.consume($),V):R>=o?(C.exit("codeFencedFenceSequence"),Ct($)?Lt(C,F,"whitespace")($):F($)):M($)}function F($){return $===null||rt($)?(C.exit("codeFencedFence"),A($)):M($)}}}function PDe(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const BE={name:"codeIndented",tokenize:IDe},RDe={partial:!0,tokenize:NDe};function IDe(e,t,n){const r=this;return i;function i(l){return e.enter("codeIndented"),Lt(e,a,"linePrefix",5)(l)}function a(l){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(l):n(l)}function o(l){return l===null?u(l):rt(l)?e.attempt(RDe,o,u)(l):(e.enter("codeFlowValue"),s(l))}function s(l){return l===null||rt(l)?(e.exit("codeFlowValue"),o(l)):(e.consume(l),s)}function u(l){return e.exit("codeIndented"),t(l)}}function NDe(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):rt(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Lt(e,a,"linePrefix",5)(o)}function a(o){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):rt(o)?i(o):n(o)}}const ODe={name:"codeText",previous:$De,resolve:DDe,tokenize:FDe};function DDe(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return tthis.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&ep(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),ep(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),ep(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function rQ(e,t,n,r,i,a,o,s,u){const l=u||Number.POSITIVE_INFINITY;let c=0;return f;function f(_){return _===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(_),e.exit(a),d):_===null||_===32||_===41||DT(_)?n(_):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),g(_))}function d(_){return _===62?(e.enter(a),e.consume(_),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(_))}function p(_){return _===62?(e.exit("chunkString"),e.exit(s),d(_)):_===null||_===60||rt(_)?n(_):(e.consume(_),_===92?w:p)}function w(_){return _===60||_===62||_===92?(e.consume(_),p):p(_)}function g(_){return!c&&(_===null||_===41||zr(_))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(_)):c999||p===null||p===91||p===93&&!u||p===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?n(p):p===93?(e.exit(a),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):rt(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||rt(p)||s++>999?(e.exit("chunkString"),c(p)):(e.consume(p),u||(u=!Ct(p)),p===92?d:f)}function d(p){return p===91||p===92||p===93?(e.consume(p),s++,f):f(p)}}function aQ(e,t,n,r,i,a){let o;return s;function s(d){return d===34||d===39||d===40?(e.enter(r),e.enter(i),e.consume(d),e.exit(i),o=d===40?41:d,u):n(d)}function u(d){return d===o?(e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(e.enter(a),l(d))}function l(d){return d===o?(e.exit(a),u(o)):d===null?n(d):rt(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),Lt(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===o||d===null||rt(d)?(e.exit("chunkString"),l(d)):(e.consume(d),d===92?f:c)}function f(d){return d===o||d===92?(e.consume(d),c):c(d)}}function Np(e,t){let n;return r;function r(i){return rt(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Ct(i)?Lt(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const GDe={name:"definition",tokenize:VDe},WDe={partial:!0,tokenize:YDe};function VDe(e,t,n){const r=this;let i;return a;function a(p){return e.enter("definition"),o(p)}function o(p){return iQ.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return i=sf(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),u):n(p)}function u(p){return zr(p)?Np(e,l)(p):l(p)}function l(p){return rQ(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return e.attempt(WDe,f,f)(p)}function f(p){return Ct(p)?Lt(e,d,"whitespace")(p):d(p)}function d(p){return p===null||rt(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function YDe(e,t,n){return r;function r(s){return zr(s)?Np(e,i)(s):n(s)}function i(s){return aQ(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return Ct(s)?Lt(e,o,"whitespace")(s):o(s)}function o(s){return s===null||rt(s)?t(s):n(s)}}const QDe={name:"hardBreakEscape",tokenize:KDe};function KDe(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return rt(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const XDe={name:"headingAtx",resolve:ZDe,tokenize:JDe};function ZDe(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Qa(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function JDe(e,t,n){let r=0;return i;function i(c){return e.enter("atxHeading"),a(c)}function a(c){return e.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&r++<6?(e.consume(c),o):c===null||zr(c)?(e.exit("atxHeadingSequence"),s(c)):n(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),u(c)):c===null||rt(c)?(e.exit("atxHeading"),t(c)):Ct(c)?Lt(e,s,"whitespace")(c):(e.enter("atxHeadingText"),l(c))}function u(c){return c===35?(e.consume(c),u):(e.exit("atxHeadingSequence"),s(c))}function l(c){return c===null||c===35||zr(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),l)}}const e8e=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],tF=["pre","script","style","textarea"],t8e={concrete:!0,name:"htmlFlow",resolveTo:i8e,tokenize:a8e},n8e={partial:!0,tokenize:s8e},r8e={partial:!0,tokenize:o8e};function i8e(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function a8e(e,t,n){const r=this;let i,a,o,s,u;return l;function l(H){return c(H)}function c(H){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(H),f}function f(H){return H===33?(e.consume(H),d):H===47?(e.consume(H),a=!0,g):H===63?(e.consume(H),i=3,r.interrupt?t:L):Aa(H)?(e.consume(H),o=String.fromCharCode(H),y):n(H)}function d(H){return H===45?(e.consume(H),i=2,p):H===91?(e.consume(H),i=5,s=0,w):Aa(H)?(e.consume(H),i=4,r.interrupt?t:L):n(H)}function p(H){return H===45?(e.consume(H),r.interrupt?t:L):n(H)}function w(H){const ne="CDATA[";return H===ne.charCodeAt(s++)?(e.consume(H),s===ne.length?r.interrupt?t:B:w):n(H)}function g(H){return Aa(H)?(e.consume(H),o=String.fromCharCode(H),y):n(H)}function y(H){if(H===null||H===47||H===62||zr(H)){const ne=H===47,ce=o.toLowerCase();return!ne&&!a&&tF.includes(ce)?(i=1,r.interrupt?t(H):B(H)):e8e.includes(o.toLowerCase())?(i=6,ne?(e.consume(H),_):r.interrupt?t(H):B(H)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(H):a?b(H):E(H))}return H===45||ei(H)?(e.consume(H),o+=String.fromCharCode(H),y):n(H)}function _(H){return H===62?(e.consume(H),r.interrupt?t:B):n(H)}function b(H){return Ct(H)?(e.consume(H),b):N(H)}function E(H){return H===47?(e.consume(H),N):H===58||H===95||Aa(H)?(e.consume(H),S):Ct(H)?(e.consume(H),E):N(H)}function S(H){return H===45||H===46||H===58||H===95||ei(H)?(e.consume(H),S):v(H)}function v(H){return H===61?(e.consume(H),C):Ct(H)?(e.consume(H),v):E(H)}function C(H){return H===null||H===60||H===61||H===62||H===96?n(H):H===34||H===39?(e.consume(H),u=H,A):Ct(H)?(e.consume(H),C):M(H)}function A(H){return H===u?(e.consume(H),u=null,R):H===null||rt(H)?n(H):(e.consume(H),A)}function M(H){return H===null||H===34||H===39||H===47||H===60||H===61||H===62||H===96||zr(H)?v(H):(e.consume(H),M)}function R(H){return H===47||H===62||Ct(H)?E(H):n(H)}function N(H){return H===62?(e.consume(H),P):n(H)}function P(H){return H===null||rt(H)?B(H):Ct(H)?(e.consume(H),P):n(H)}function B(H){return H===45&&i===2?(e.consume(H),z):H===60&&i===1?(e.consume(H),Q):H===62&&i===4?(e.consume(H),W):H===63&&i===3?(e.consume(H),L):H===93&&i===5?(e.consume(H),j):rt(H)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(n8e,G,V)(H)):H===null||rt(H)?(e.exit("htmlFlowData"),V(H)):(e.consume(H),B)}function V(H){return e.check(r8e,F,G)(H)}function F(H){return e.enter("lineEnding"),e.consume(H),e.exit("lineEnding"),$}function $(H){return H===null||rt(H)?V(H):(e.enter("htmlFlowData"),B(H))}function z(H){return H===45?(e.consume(H),L):B(H)}function Q(H){return H===47?(e.consume(H),o="",K):B(H)}function K(H){if(H===62){const ne=o.toLowerCase();return tF.includes(ne)?(e.consume(H),W):B(H)}return Aa(H)&&o.length<8?(e.consume(H),o+=String.fromCharCode(H),K):B(H)}function j(H){return H===93?(e.consume(H),L):B(H)}function L(H){return H===62?(e.consume(H),W):H===45&&i===2?(e.consume(H),L):B(H)}function W(H){return H===null||rt(H)?(e.exit("htmlFlowData"),G(H)):(e.consume(H),W)}function G(H){return e.exit("htmlFlow"),t(H)}}function o8e(e,t,n){const r=this;return i;function i(o){return rt(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):n(o)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function s8e(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(j_,t,n)}}const u8e={name:"htmlText",tokenize:l8e};function l8e(e,t,n){const r=this;let i,a,o;return s;function s(L){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(L),u}function u(L){return L===33?(e.consume(L),l):L===47?(e.consume(L),v):L===63?(e.consume(L),E):Aa(L)?(e.consume(L),M):n(L)}function l(L){return L===45?(e.consume(L),c):L===91?(e.consume(L),a=0,w):Aa(L)?(e.consume(L),b):n(L)}function c(L){return L===45?(e.consume(L),p):n(L)}function f(L){return L===null?n(L):L===45?(e.consume(L),d):rt(L)?(o=f,Q(L)):(e.consume(L),f)}function d(L){return L===45?(e.consume(L),p):f(L)}function p(L){return L===62?z(L):L===45?d(L):f(L)}function w(L){const W="CDATA[";return L===W.charCodeAt(a++)?(e.consume(L),a===W.length?g:w):n(L)}function g(L){return L===null?n(L):L===93?(e.consume(L),y):rt(L)?(o=g,Q(L)):(e.consume(L),g)}function y(L){return L===93?(e.consume(L),_):g(L)}function _(L){return L===62?z(L):L===93?(e.consume(L),_):g(L)}function b(L){return L===null||L===62?z(L):rt(L)?(o=b,Q(L)):(e.consume(L),b)}function E(L){return L===null?n(L):L===63?(e.consume(L),S):rt(L)?(o=E,Q(L)):(e.consume(L),E)}function S(L){return L===62?z(L):E(L)}function v(L){return Aa(L)?(e.consume(L),C):n(L)}function C(L){return L===45||ei(L)?(e.consume(L),C):A(L)}function A(L){return rt(L)?(o=A,Q(L)):Ct(L)?(e.consume(L),A):z(L)}function M(L){return L===45||ei(L)?(e.consume(L),M):L===47||L===62||zr(L)?R(L):n(L)}function R(L){return L===47?(e.consume(L),z):L===58||L===95||Aa(L)?(e.consume(L),N):rt(L)?(o=R,Q(L)):Ct(L)?(e.consume(L),R):z(L)}function N(L){return L===45||L===46||L===58||L===95||ei(L)?(e.consume(L),N):P(L)}function P(L){return L===61?(e.consume(L),B):rt(L)?(o=P,Q(L)):Ct(L)?(e.consume(L),P):R(L)}function B(L){return L===null||L===60||L===61||L===62||L===96?n(L):L===34||L===39?(e.consume(L),i=L,V):rt(L)?(o=B,Q(L)):Ct(L)?(e.consume(L),B):(e.consume(L),F)}function V(L){return L===i?(e.consume(L),i=void 0,$):L===null?n(L):rt(L)?(o=V,Q(L)):(e.consume(L),V)}function F(L){return L===null||L===34||L===39||L===60||L===61||L===96?n(L):L===47||L===62||zr(L)?R(L):(e.consume(L),F)}function $(L){return L===47||L===62||zr(L)?R(L):n(L)}function z(L){return L===62?(e.consume(L),e.exit("htmlTextData"),e.exit("htmlText"),t):n(L)}function Q(L){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),K}function K(L){return Ct(L)?Lt(e,j,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):j(L)}function j(L){return e.enter("htmlTextData"),o(L)}}const aR={name:"labelEnd",resolveAll:h8e,resolveTo:p8e,tokenize:m8e},c8e={tokenize:g8e},f8e={tokenize:v8e},d8e={tokenize:y8e};function h8e(e){let t=-1;const n=[];for(;++t=3&&(l===null||rt(l))?(e.exit("thematicBreak"),t(l)):n(l)}function u(l){return l===i?(e.consume(l),r++,u):(e.exit("thematicBreakSequence"),Ct(l)?Lt(e,s,"whitespace")(l):s(l))}}const Rr={continuation:{tokenize:T8e},exit:P8e,name:"list",tokenize:A8e},C8e={partial:!0,tokenize:R8e},k8e={partial:!0,tokenize:M8e};function A8e(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(p){const w=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(w==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:$T(p)){if(r.containerState.type||(r.containerState.type=w,e.enter(w,{_container:!0})),w==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Uy,n,l)(p):l(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(p)}return n(p)}function u(p){return $T(p)&&++o<10?(e.consume(p),u):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),l(p)):n(p)}function l(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(j_,r.interrupt?n:c,e.attempt(C8e,d,f))}function c(p){return r.containerState.initialBlankLine=!0,a++,d(p)}function f(p){return Ct(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),d):n(p)}function d(p){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function T8e(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(j_,i,a);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Lt(e,t,"listItemIndent",r.containerState.size+1)(s)}function a(s){return r.containerState.furtherBlankLines||!Ct(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(k8e,t,o)(s))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,Lt(e,e.attempt(Rr,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function M8e(e,t,n){const r=this;return Lt(e,i,"listItemIndent",r.containerState.size+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(a):n(a)}}function P8e(e){e.exit(this.containerState.type)}function R8e(e,t,n){const r=this;return Lt(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const o=r.events[r.events.length-1];return!Ct(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const nF={name:"setextUnderline",resolveTo:I8e,tokenize:N8e};function I8e(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const o={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function N8e(e,t,n){const r=this;let i;return a;function a(l){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=l,o(l)):n(l)}function o(l){return e.enter("setextHeadingLineSequence"),s(l)}function s(l){return l===i?(e.consume(l),s):(e.exit("setextHeadingLineSequence"),Ct(l)?Lt(e,u,"lineSuffix")(l):u(l))}function u(l){return l===null||rt(l)?(e.exit("setextHeadingLine"),t(l)):n(l)}}const O8e={tokenize:D8e};function D8e(e){const t=this,n=e.attempt(j_,r,e.attempt(this.parser.constructs.flowInitial,i,Lt(e,e.attempt(this.parser.constructs.flow,i,e.attempt(zDe,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const $8e={resolveAll:sQ()},F8e=oQ("string"),L8e=oQ("text");function oQ(e){return{resolveAll:sQ(e==="text"?B8e:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,o,s);return o;function o(c){return l(c)?a(c):s(c)}function s(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),u}function u(c){return l(c)?(n.exit("data"),a(c)):(n.consume(c),u)}function l(c){if(c===null)return!0;const f=i[c];let d=-1;if(f)for(;++d-1){const s=o[0];typeof s=="string"?o[0]=s.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function Z8e(e,t){let n=-1;const r=[];let i;for(;++n0){const ie=I.tokenStack[I.tokenStack.length-1];(ie[1]||oF).call(I,void 0,ie[0])}for(q.position={start:Rs(ye.length>0?ye[0][1].start:{line:1,column:1,offset:0}),end:Rs(ye.length>0?ye[ye.length-2][1].end:{line:1,column:1,offset:0})},X=-1;++X0&&(r.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function d6e(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function h6e(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function p6e(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Nd(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,u);const l={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,l),e.applyData(t,l)}function m6e(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function g6e(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function cQ(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function v6e(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return cQ(e,t);const i={src:Nd(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function y6e(e,t){const n={src:Nd(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function w6e(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function _6e(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return cQ(e,t);const i={href:Nd(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function b6e(e,t){const n={href:Nd(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function x6e(e,t,n){const r=e.all(t),i=n?E6e(n):fQ(t),a={},o=[];if(typeof t.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s1}function S6e(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function T6e(e){const t=hQ(e),n=dQ(e);if(t&&n)return{start:t,end:n}}function M6e(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),i.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=hQ(t.children[1]),u=dQ(t.children[t.children.length-1]);s&&u&&(o.position={start:s,end:u}),i.push(o)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function P6e(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,s=o?o.length:t.children.length;let u=-1;const l=[];for(;++u0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(lF(t.slice(i),i>0,!1)),a.join("")}function lF(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===sF||a===uF;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===sF||a===uF;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function N6e(e,t){const n={type:"text",value:I6e(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function O6e(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const D6e={blockquote:l6e,break:c6e,code:f6e,delete:d6e,emphasis:h6e,footnoteReference:p6e,heading:m6e,html:g6e,imageReference:v6e,image:y6e,inlineCode:w6e,linkReference:_6e,link:b6e,listItem:x6e,list:S6e,paragraph:C6e,root:k6e,strong:A6e,table:M6e,tableCell:R6e,tableRow:P6e,text:N6e,thematicBreak:O6e,toml:Gv,yaml:Gv,definition:Gv,footnoteDefinition:Gv};function Gv(){}const mQ=-1,H_=0,Dp=1,hw=2,oR=3,sR=4,uR=5,lR=6,gQ=7,vQ=8,cF=typeof self=="object"?self:globalThis,$6e=(e,t)=>{const n=(i,a)=>(e.set(a,i),i),r=i=>{if(e.has(i))return e.get(i);const[a,o]=t[i];switch(a){case H_:case mQ:return n(o,i);case Dp:{const s=n([],i);for(const u of o)s.push(r(u));return s}case hw:{const s=n({},i);for(const[u,l]of o)s[r(u)]=r(l);return s}case oR:return n(new Date(o),i);case sR:{const{source:s,flags:u}=o;return n(new RegExp(s,u),i)}case uR:{const s=n(new Map,i);for(const[u,l]of o)s.set(r(u),r(l));return s}case lR:{const s=n(new Set,i);for(const u of o)s.add(r(u));return s}case gQ:{const{name:s,message:u}=o;return n(new cF[s](u),i)}case vQ:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:s}=new Uint8Array(o);return n(new DataView(s),o)}}return n(new cF[a](o),i)};return r},fF=e=>$6e(new Map,e)(0),$c="",{toString:F6e}={},{keys:L6e}=Object,tp=e=>{const t=typeof e;if(t!=="object"||!e)return[H_,t];const n=F6e.call(e).slice(8,-1);switch(n){case"Array":return[Dp,$c];case"Object":return[hw,$c];case"Date":return[oR,$c];case"RegExp":return[sR,$c];case"Map":return[uR,$c];case"Set":return[lR,$c];case"DataView":return[Dp,n]}return n.includes("Array")?[Dp,n]:n.includes("Error")?[gQ,n]:[hw,n]},Wv=([e,t])=>e===H_&&(t==="function"||t==="symbol"),B6e=(e,t,n,r)=>{const i=(o,s)=>{const u=r.push(o)-1;return n.set(s,u),u},a=o=>{if(n.has(o))return n.get(o);let[s,u]=tp(o);switch(s){case H_:{let c=o;switch(u){case"bigint":s=vQ,c=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);c=null;break;case"undefined":return i([mQ],o)}return i([s,c],o)}case Dp:{if(u){let d=o;return u==="DataView"?d=new Uint8Array(o.buffer):u==="ArrayBuffer"&&(d=new Uint8Array(o)),i([u,[...d]],o)}const c=[],f=i([s,c],o);for(const d of o)c.push(a(d));return f}case hw:{if(u)switch(u){case"BigInt":return i([u,o.toString()],o);case"Boolean":case"Number":case"String":return i([u,o.valueOf()],o)}if(t&&"toJSON"in o)return a(o.toJSON());const c=[],f=i([s,c],o);for(const d of L6e(o))(e||!Wv(tp(o[d])))&&c.push([a(d),a(o[d])]);return f}case oR:return i([s,o.toISOString()],o);case sR:{const{source:c,flags:f}=o;return i([s,{source:c,flags:f}],o)}case uR:{const c=[],f=i([s,c],o);for(const[d,p]of o)(e||!(Wv(tp(d))||Wv(tp(p))))&&c.push([a(d),a(p)]);return f}case lR:{const c=[],f=i([s,c],o);for(const d of o)(e||!Wv(tp(d)))&&c.push(a(d));return f}}const{message:l}=o;return i([s,{name:u,message:l}],o)};return a},dF=(e,{json:t,lossy:n}={})=>{const r=[];return B6e(!(t||n),!!t,new Map,r)(e),r},pw=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?fF(dF(e,t)):structuredClone(e):(e,t)=>fF(dF(e,t));function z6e(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function U6e(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function j6e(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||z6e,r=e.options.footnoteBackLabel||U6e,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let u=-1;for(;++u0&&w.push({type:"text",value:" "});let b=typeof n=="string"?n:n(u,p);typeof b=="string"&&(b={type:"text",value:b}),w.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+d+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(u,p),className:["data-footnote-backref"]},children:Array.isArray(b)?b:[b]})}const y=c[c.length-1];if(y&&y.type==="element"&&y.tagName==="p"){const b=y.children[y.children.length-1];b&&b.type==="text"?b.value+=" ":y.children.push({type:"text",value:" "}),y.children.push(...w)}else c.push(...w);const _={type:"element",tagName:"li",properties:{id:t+"fn-"+d},children:e.wrap(c,!0)};e.patch(l,_),s.push(_)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...pw(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` -`},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:` -`}]}}const yQ=function(e){if(e==null)return W6e;if(typeof e=="function")return q_(e);if(typeof e=="object")return Array.isArray(e)?H6e(e):q6e(e);if(typeof e=="string")return G6e(e);throw new Error("Expected function, string, or object as test")};function H6e(e){const t=[];let n=-1;for(;++n":""))+")"})}return d;function d(){let p=wQ,w,g,y;if((!t||a(u,l,c[c.length-1]||void 0))&&(p=X6e(n(u,c)),p[0]===hF))return p;if("children"in u&&u.children){const _=u;if(_.children&&p[0]!==Q6e)for(g=(r?_.children.length:-1)+o,y=c.concat(_);g>-1&&g<_.children.length;){const b=_.children[g];if(w=s(b,g,y)(),w[0]===hF)return w;g=typeof w[1]=="number"?w[1]:g+o}}return p}}}function X6e(e){return Array.isArray(e)?e:typeof e=="number"?[Y6e,e]:e==null?wQ:[e]}function Z6e(e,t,n,r){let i,a,o;typeof t=="function"&&typeof n!="function"?(a=void 0,o=t,i=n):(a=t,o=n,i=r),K6e(e,a,s,i);function s(u,l){const c=l[l.length-1],f=c?c.children.indexOf(u):void 0;return o(u,f,c)}}const BT={}.hasOwnProperty,J6e={};function e$e(e,t){const n=t||J6e,r=new Map,i=new Map,a=new Map,o={...D6e,...n.handlers},s={all:l,applyData:n$e,definitionById:r,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:o,one:u,options:n,patch:t$e,wrap:i$e};return Z6e(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const f=c.type==="definition"?r:i,d=String(c.identifier).toUpperCase();f.has(d)||f.set(d,c)}}),s;function u(c,f){const d=c.type,p=s.handlers[d];if(BT.call(s.handlers,d)&&p)return p(s,c,f);if(s.options.passThrough&&s.options.passThrough.includes(d)){if("children"in c){const{children:g,...y}=c,_=pw(y);return _.children=s.all(c),_}return pw(c)}return(s.options.unknownHandler||r$e)(s,c,f)}function l(c){const f=[];if("children"in c){const d=c.children;let p=-1;for(;++p0&&n.push({type:"text",value:` -`}),n}function pF(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function mF(e,t){const n=e$e(e,t),r=n.one(e,void 0),i=j6e(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&a.children.push({type:"text",value:` -`},i),a}function a$e(e,t){return e&&"run"in e?async function(n,r){const i=mF(n,{file:r,...t});await e.run(i,r)}:function(n,r){return mF(n,{file:r,...e||t})}}function gF(e){if(e)throw e}var UE,vF;function o$e(){if(vF)return UE;vF=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(l){return typeof Array.isArray=="function"?Array.isArray(l):t.call(l)==="[object Array]"},a=function(l){if(!l||t.call(l)!=="[object Object]")return!1;var c=e.call(l,"constructor"),f=l.constructor&&l.constructor.prototype&&e.call(l.constructor.prototype,"isPrototypeOf");if(l.constructor&&!c&&!f)return!1;var d;for(d in l);return typeof d>"u"||e.call(l,d)},o=function(l,c){n&&c.name==="__proto__"?n(l,c.name,{enumerable:!0,configurable:!0,value:c.newValue,writable:!0}):l[c.name]=c.newValue},s=function(l,c){if(c==="__proto__")if(e.call(l,c)){if(r)return r(l,c).value}else return;return l[c]};return UE=function u(){var l,c,f,d,p,w,g=arguments[0],y=1,_=arguments.length,b=!1;for(typeof g=="boolean"&&(b=g,g=arguments[1]||{},y=2),(g==null||typeof g!="object"&&typeof g!="function")&&(g={});y<_;++y)if(l=arguments[y],l!=null)for(c in l)f=s(g,c),d=s(l,c),g!==d&&(b&&d&&(a(d)||(p=i(d)))?(p?(p=!1,w=f&&i(f)?f:[]):w=f&&a(f)?f:{},o(g,{name:c,newValue:u(b,w,d)})):typeof d<"u"&&o(g,{name:c,newValue:d}));return g},UE}var s$e=o$e();const jE=Un(s$e);function zT(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function u$e(){const e=[],t={run:n,use:r};return t;function n(...i){let a=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...i);function s(u,...l){const c=e[++a];let f=-1;if(u){o(u);return}for(;++fo.length;let u;s&&o.push(i);try{u=e.apply(this,o)}catch(l){const c=l;if(s&&n)throw c;return i(c)}s||(u&&u.then&&typeof u.then=="function"?u.then(a,i):u instanceof Error?i(u):a(u))}function i(o,...s){n||(n=!0,t(o,...s))}function a(o){i(null,o)}}class qr extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},o=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?a.ruleId=r:(a.source=r.slice(0,u),a.ruleId=r.slice(u+1))}if(!a.place&&a.ancestors&&a.ancestors){const u=a.ancestors[a.ancestors.length-1];u&&(a.place=u.position)}const s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=s?s.line:void 0,this.name=Op(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}qr.prototype.file="";qr.prototype.name="";qr.prototype.reason="";qr.prototype.message="";qr.prototype.stack="";qr.prototype.column=void 0;qr.prototype.line=void 0;qr.prototype.ancestors=void 0;qr.prototype.cause=void 0;qr.prototype.fatal=void 0;qr.prototype.place=void 0;qr.prototype.ruleId=void 0;qr.prototype.source=void 0;const ga={basename:c$e,dirname:f$e,extname:d$e,join:h$e,sep:"/"};function c$e(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Lg(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function f$e(e){if(Lg(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function d$e(e){Lg(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){const s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function h$e(...e){let t=-1,n;for(;++t0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function m$e(e,t){let n="",r=0,i=-1,a=0,o=-1,s,u;for(;++o<=e.length;){if(o2){if(u=n.lastIndexOf("/"),u!==n.length-1){u<0?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf("/")),i=o,a=0;continue}}else if(n.length>0){n="",r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function Lg(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const g$e={cwd:v$e};function v$e(){return"/"}function UT(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function y$e(e){if(typeof e=="string")e=new URL(e);else if(!UT(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return w$e(e)}function w$e(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n0){let[p,...w]=c;const g=r[d][1];zT(g)&&zT(p)&&(p=jE(!0,g,p)),r[d]=[l,p,...w]}}}}const S$e=new cR().freeze();function WE(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function VE(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function YE(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function wF(e){if(!zT(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function _F(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Vv(e){return C$e(e)?e:new _$e(e)}function C$e(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function k$e(e){return typeof e=="string"||A$e(e)}function A$e(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const T$e="last_seen_version";async function M$e(e,t){const i=`# Changelog - -## 2026-04-20 - -- Shift-click to show a person's details without rearranging the tree (by FrankBuchholz) - -## 2026-02-21 - -- Improved saving PDF files. Decreased file size and increased chart size that can be saved as PDF. - -## 2026-02-13 - -- Show header information of the gedcom file on the side panel (by FrankBuchholz) - -## 2026-01-19 - -- Changed info panel behavior on mobile (by marionikolov) - -## 2025-09-09 - -- Sidebar improvements (Collapse/Expand, Mobile view) (by czifumasa) - -## 2025-01-21 - -- Added new chart type based on [github.com/donatso/family-chart](https://github.com/donatso/family-chart) - -## 2023-08-25 - -- Added support for loading gedzip files - -## 2023-07-21 - -- Display images, notes, sources for events as collapsible tabs (by czifumasa) - -## 2023-07-20 - -- Fixed search for Hebrew names (by czifumasa) - -## 2023-02-01 - -- Added option to hide sex indicators (by Kent Grigo) -- Empty family boxes are now not shown (by Kent Grigo) - -## 2023-01-08 - -- Added option to hide profile identifiers by Kent Grigo - -## 2022-12-08 - -- French translation updated by Olivier Berten - -## 2022-08-30 - -- Added displaying name types in details panel - -## 2022-05-13 - -- Added displaying images in the details panel - -## 2022-04-06 - -- Fixed logging in to WikiTree - -## 2021-10-31 - -- Show changelog in intro page and when an upgraded version is loaded - -## 2021-10-27 - -- Show events in details panel for WikiTree profiles - -## 2021-10-26 - -- Added family events to details panel -- Improved details panel layout - -## 2021-10-25 - -- Added "Settings" tab in side panel -- Added color settings (none, by generation, by sex)`.split("##").slice(1,e+1).map(o=>({date:Date.parse(o.split(` -`)[0].trim()),notes:"####"+o})).filter(o=>o.date>0).map(o=>o.notes).join(` -`)||"",a=await S$e().use(u6e).use(a$e).use(nDe).process(i);return String(a)}function P$e(){localStorage.setItem(T$e,"2026-04-20 17:42:20 +0200")}const bF=""+new URL("topola-DAj3jHeV.jpg",import.meta.url).href;function QE(e){return U.jsx(cf,{to:{pathname:"/view",search:Ur.stringify(e.params)},children:e.text})}function R$e(e){return(e==null?void 0:e.slice(0,16))||""}function xF(){const[e,t]=J.useState("");return J.useEffect(()=>{(async()=>(t(await M$e(1)),P$e()))()}),U.jsxs(U.Fragment,{children:[U.jsx("p",{children:U.jsx(He,{id:"intro.description",defaultMessage:"Topola Genealogy is a genealogy tree viewer that lets you browse the structure of the family."})}),U.jsx("p",{children:U.jsx(He,{id:"intro.instructions",defaultMessage:"Use the OPEN FILE or LOAD FROM URL buttons above to load a GEDCOM file. You can export a GEDCOM file from most of the existing genealogy programs and web sites."})}),U.jsx("h3",{children:U.jsx(He,{id:"intro.examples",defaultMessage:"Examples"})}),U.jsxs("ul",{children:[U.jsxs("li",{children:[U.jsx(QE,{params:{url:"https://chronoplexsoftware.com/myfamilytree/samples/The%20Kennedy%20Family.gdz"},text:"J. F. Kennedy"})," ","(",U.jsx(He,{id:"intro.from",defaultMessage:"from"})," ",U.jsx("a",{href:"https://chronoplexsoftware.com/myfamilytree/samples/",children:"chronoplexsoftware.com"}),")"]}),U.jsxs("li",{children:[U.jsx(QE,{params:{url:"https://webtreeprint.com/tp_downloader.php?path=famous_gedcoms/shakespeare.ged&file=shakespeare.ged"},text:"Shakespeare"})," ","(",U.jsx(He,{id:"intro.from",defaultMessage:"from"})," ",U.jsx("a",{href:"https://webtreeprint.com/tp_famous_gedcoms.php",children:"webtreeprint.com"}),")"]}),U.jsxs("li",{children:[U.jsx(QE,{params:{indi:"Skłodowska-2",source:"wikitree"},text:"Maria Skłodowska-Curie"})," ","(",U.jsx(He,{id:"intro.from",defaultMessage:"from"})," ",U.jsx("a",{href:"https://www.wikitree.com/wiki/Sk%C5%82odowska-2",children:"wikitree.com"}),")"]})]}),U.jsx("h3",{children:U.jsx(He,{id:"intro.whats_new",defaultMessage:"What's new"})}),U.jsx("span",{dangerouslySetInnerHTML:{__html:e}}),U.jsx("a",{href:"https://github.com/PeWu/topola-viewer/blob/master/CHANGELOG.md",children:U.jsx(He,{id:"intro.full_changelog",defaultMessage:"See full changelog"})}),U.jsx("h3",{children:U.jsx(He,{id:"intro.privacy",defaultMessage:"Privacy"})}),U.jsx(He,{id:"intro.privacy_note",defaultMessage:'When using the "load from file" option, this site does not send your data anywhere and files loaded from disk do not leave your computer. When using "load from URL", data is passed through the {link} service to deal with an issue with cross-site file loading in the browser (CORS).',values:{link:U.jsx("a",{href:"https://topolaproxy.bieda.it/",children:"cors-anywhere"})}}),U.jsxs("p",{className:"ui right aligned version",children:["version: ",R$e("2026-04-20 17:42:20 +0200")," (",U.jsx("a",{href:"https://github.com/PeWu/topola-viewer/commit/f8a1ee1",children:"f8a1ee1"}),")"]})]})}function I$e(){return U.jsxs("div",{id:"introContent",children:[U.jsx("div",{className:"backgroundImage"}),U.jsxs(xi,{className:"intro",children:[U.jsx(xi.Content,{as:Qc,greaterThanOrEqual:"large",children:U.jsx(xi.Header,{children:U.jsx(He,{id:"intro.title",defaultMessage:"Topola Genealogy Viewer"})})}),U.jsxs(xi.Content,{children:[U.jsx(Zi,{as:Qc,greaterThanOrEqual:"large",children:U.jsxs(Zi.Row,{children:[U.jsx(Zi.Column,{width:5,children:U.jsx(_n,{src:bF,alt:"Topola logo"})}),U.jsx(Zi.Column,{width:11,children:U.jsx(xF,{})})]})}),U.jsxs(Qc,{at:"small",children:[U.jsx(_n,{src:bF,alt:"Topola logo",centered:!0,size:"tiny",className:"blockImage"}),U.jsx(xF,{})]})]})]})]})}var ar=(e=>(e[e.Menu=0]="Menu",e[e.Dropdown=1]="Dropdown",e))(ar||{});function mw(e){const t={...e};return delete t.menuType,U.jsx(U.Fragment,{children:e.menuType===0?U.jsx(on.Item,{...t,children:e.children}):U.jsx(at.Item,{...t,children:e.children})})}var Yv={exports:{}},EF;function N$e(){if(EF)return Yv.exports;EF=1;function e(t,n=100,r={}){if(typeof t!="function")throw new TypeError(`Expected the first parameter to be a function, got \`${typeof t}\`.`);if(n<0)throw new RangeError("`wait` must not be negative.");const{immediate:i}=typeof r=="boolean"?{immediate:r}:r;let a,o,s,u,l;function c(){const p=a,w=o;return a=void 0,o=void 0,l=t.apply(p,w),l}function f(){const p=Date.now()-u;p=0?s=setTimeout(f,n-p):(s=void 0,i||(l=c()))}const d=function(...p){if(a&&this!==a&&Object.getPrototypeOf(this)===Object.getPrototypeOf(a))throw new Error("Debounced method called with different contexts of the same prototype.");a=this,o=p,u=Date.now();const w=i&&!s;return s||(s=setTimeout(f,n)),w&&(l=c()),l};return Object.defineProperty(d,"isPending",{get(){return s!==void 0}}),d.clear=()=>{s&&(clearTimeout(s),s=void 0)},d.flush=()=>{s&&d.trigger()},d.trigger=()=>{l=c(),d.clear()},d}return Yv.exports.debounce=e,Yv.exports=e,Yv.exports}var O$e=N$e();const D$e=Un(O$e);var KE,SF;function $$e(){return SF||(SF=1,KE=function e(t,n){var r=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,i=/(^[ ]*|[ ]*$)/g,a=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,o=/^0x[0-9a-f]+$/i,s=/^0/,u=function(E){return e.insensitive&&(""+E).toLowerCase()||""+E},l=u(t).replace(i,"")||"",c=u(n).replace(i,"")||"",f=l.replace(r,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),d=c.replace(r,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),p=parseInt(l.match(o),16)||f.length!==1&&l.match(a)&&Date.parse(l),w=parseInt(c.match(o),16)||p&&c.match(a)&&Date.parse(c)||null,g,y;if(w){if(pw)return 1}for(var _=0,b=Math.max(f.length,d.length);_y)return 1}return 0}),KE}var F$e=$$e();const L$e=Un(F$e);var XE={exports:{}};/** - * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 - * Copyright (C) 2020 Oliver Nightingale - * @license MIT - */var CF;function B$e(){return CF||(CF=1,function(e,t){(function(){var n=function(r){var i=new n.Builder;return i.pipeline.add(n.trimmer,n.stopWordFilter,n.stemmer),i.searchPipeline.add(n.stemmer),r.call(i,i),i.build()};n.version="2.3.9";/*! - * lunr.utils - * Copyright (C) 2020 Oliver Nightingale - */n.utils={},n.utils.warn=function(r){return function(i){r.console&&console.warn&&console.warn(i)}}(this),n.utils.asString=function(r){return r==null?"":r.toString()},n.utils.clone=function(r){if(r==null)return r;for(var i=Object.create(null),a=Object.keys(r),o=0;o0){var d=n.utils.clone(i)||{};d.position=[l,f],d.index=s.length,s.push(new n.Token(a.slice(l,u),d))}l=u+1}}return s},n.tokenizer.separator=/[\s\-]+/;/*! - * lunr.Pipeline - * Copyright (C) 2020 Oliver Nightingale - */n.Pipeline=function(){this._stack=[]},n.Pipeline.registeredFunctions=Object.create(null),n.Pipeline.registerFunction=function(r,i){i in this.registeredFunctions&&n.utils.warn("Overwriting existing registered function: "+i),r.label=i,n.Pipeline.registeredFunctions[r.label]=r},n.Pipeline.warnIfFunctionNotRegistered=function(r){var i=r.label&&r.label in this.registeredFunctions;i||n.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. -`,r)},n.Pipeline.load=function(r){var i=new n.Pipeline;return r.forEach(function(a){var o=n.Pipeline.registeredFunctions[a];if(o)i.add(o);else throw new Error("Cannot load unregistered function: "+a)}),i},n.Pipeline.prototype.add=function(){var r=Array.prototype.slice.call(arguments);r.forEach(function(i){n.Pipeline.warnIfFunctionNotRegistered(i),this._stack.push(i)},this)},n.Pipeline.prototype.after=function(r,i){n.Pipeline.warnIfFunctionNotRegistered(i);var a=this._stack.indexOf(r);if(a==-1)throw new Error("Cannot find existingFn");a=a+1,this._stack.splice(a,0,i)},n.Pipeline.prototype.before=function(r,i){n.Pipeline.warnIfFunctionNotRegistered(i);var a=this._stack.indexOf(r);if(a==-1)throw new Error("Cannot find existingFn");this._stack.splice(a,0,i)},n.Pipeline.prototype.remove=function(r){var i=this._stack.indexOf(r);i!=-1&&this._stack.splice(i,1)},n.Pipeline.prototype.run=function(r){for(var i=this._stack.length,a=0;a1&&(ur&&(a=s),u!=r);)o=a-i,s=i+Math.floor(o/2),u=this.elements[s*2];if(u==r||u>r)return s*2;if(uc?d+=2:l==c&&(i+=a[f+1]*o[d+1],f+=2,d+=2);return i},n.Vector.prototype.similarity=function(r){return this.dot(r)/this.magnitude()||0},n.Vector.prototype.toArray=function(){for(var r=new Array(this.elements.length/2),i=1,a=0;i0){var u=s.str.charAt(0),l;u in s.node.edges?l=s.node.edges[u]:(l=new n.TokenSet,s.node.edges[u]=l),s.str.length==1&&(l.final=!0),o.push({node:l,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var c=s.node.edges["*"];else{var c=new n.TokenSet;s.node.edges["*"]=c}if(s.str.length==0&&(c.final=!0),o.push({node:c,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&o.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var f=s.node.edges["*"];else{var f=new n.TokenSet;s.node.edges["*"]=f}s.str.length==1&&(f.final=!0),o.push({node:f,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),p=s.str.charAt(1),w;p in s.node.edges?w=s.node.edges[p]:(w=new n.TokenSet,s.node.edges[p]=w),s.str.length==1&&(w.final=!0),o.push({node:w,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return a},n.TokenSet.fromString=function(r){for(var i=new n.TokenSet,a=i,o=0,s=r.length;o=r;i--){var a=this.uncheckedNodes[i],o=a.child.toString();o in this.minimizedNodes?a.parent.edges[a.char]=this.minimizedNodes[o]:(a.child._str=o,this.minimizedNodes[o]=a.child),this.uncheckedNodes.pop()}};/*! - * lunr.Index - * Copyright (C) 2020 Oliver Nightingale - */n.Index=function(r){this.invertedIndex=r.invertedIndex,this.fieldVectors=r.fieldVectors,this.tokenSet=r.tokenSet,this.fields=r.fields,this.pipeline=r.pipeline},n.Index.prototype.search=function(r){return this.query(function(i){var a=new n.QueryParser(r,i);a.parse()})},n.Index.prototype.query=function(r){for(var i=new n.Query(this.fields),a=Object.create(null),o=Object.create(null),s=Object.create(null),u=Object.create(null),l=Object.create(null),c=0;c1?this._b=1:this._b=r},n.Builder.prototype.k1=function(r){this._k1=r},n.Builder.prototype.add=function(r,i){var a=r[this._ref],o=Object.keys(this._fields);this._documents[a]=i||{},this.documentCount+=1;for(var s=0;s=this.length)return n.QueryLexer.EOS;var r=this.str.charAt(this.pos);return this.pos+=1,r},n.QueryLexer.prototype.width=function(){return this.pos-this.start},n.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},n.QueryLexer.prototype.backup=function(){this.pos-=1},n.QueryLexer.prototype.acceptDigitRun=function(){var r,i;do r=this.next(),i=r.charCodeAt(0);while(i>47&&i<58);r!=n.QueryLexer.EOS&&this.backup()},n.QueryLexer.prototype.more=function(){return this.pos1&&(r.backup(),r.emit(n.QueryLexer.TERM)),r.ignore(),r.more())return n.QueryLexer.lexText},n.QueryLexer.lexEditDistance=function(r){return r.ignore(),r.acceptDigitRun(),r.emit(n.QueryLexer.EDIT_DISTANCE),n.QueryLexer.lexText},n.QueryLexer.lexBoost=function(r){return r.ignore(),r.acceptDigitRun(),r.emit(n.QueryLexer.BOOST),n.QueryLexer.lexText},n.QueryLexer.lexEOS=function(r){r.width()>0&&r.emit(n.QueryLexer.TERM)},n.QueryLexer.termSeparator=n.tokenizer.separator,n.QueryLexer.lexText=function(r){for(;;){var i=r.next();if(i==n.QueryLexer.EOS)return n.QueryLexer.lexEOS;if(i.charCodeAt(0)==92){r.escapeCharacter();continue}if(i==":")return n.QueryLexer.lexField;if(i=="~")return r.backup(),r.width()>0&&r.emit(n.QueryLexer.TERM),n.QueryLexer.lexEditDistance;if(i=="^")return r.backup(),r.width()>0&&r.emit(n.QueryLexer.TERM),n.QueryLexer.lexBoost;if(i=="+"&&r.width()===1||i=="-"&&r.width()===1)return r.emit(n.QueryLexer.PRESENCE),n.QueryLexer.lexText;if(i.match(n.QueryLexer.termSeparator))return n.QueryLexer.lexTerm}},n.QueryParser=function(r,i){this.lexer=new n.QueryLexer(r),this.query=i,this.currentClause={},this.lexemeIdx=0},n.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var r=n.QueryParser.parseClause;r;)r=r(this);return this.query},n.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},n.QueryParser.prototype.consumeLexeme=function(){var r=this.peekLexeme();return this.lexemeIdx+=1,r},n.QueryParser.prototype.nextClause=function(){var r=this.currentClause;this.query.clause(r),this.currentClause={}},n.QueryParser.parseClause=function(r){var i=r.peekLexeme();if(i!=null)switch(i.type){case n.QueryLexer.PRESENCE:return n.QueryParser.parsePresence;case n.QueryLexer.FIELD:return n.QueryParser.parseField;case n.QueryLexer.TERM:return n.QueryParser.parseTerm;default:var a="expected either a field or a term, found "+i.type;throw i.str.length>=1&&(a+=" with value '"+i.str+"'"),new n.QueryParseError(a,i.start,i.end)}},n.QueryParser.parsePresence=function(r){var i=r.consumeLexeme();if(i!=null){switch(i.str){case"-":r.currentClause.presence=n.Query.presence.PROHIBITED;break;case"+":r.currentClause.presence=n.Query.presence.REQUIRED;break;default:var a="unrecognised presence operator'"+i.str+"'";throw new n.QueryParseError(a,i.start,i.end)}var o=r.peekLexeme();if(o==null){var a="expecting term or field, found nothing";throw new n.QueryParseError(a,i.start,i.end)}switch(o.type){case n.QueryLexer.FIELD:return n.QueryParser.parseField;case n.QueryLexer.TERM:return n.QueryParser.parseTerm;default:var a="expecting term or field, found '"+o.type+"'";throw new n.QueryParseError(a,o.start,o.end)}}},n.QueryParser.parseField=function(r){var i=r.consumeLexeme();if(i!=null){if(r.query.allFields.indexOf(i.str)==-1){var a=r.query.allFields.map(function(u){return"'"+u+"'"}).join(", "),o="unrecognised field '"+i.str+"', possible fields: "+a;throw new n.QueryParseError(o,i.start,i.end)}r.currentClause.fields=[i.str];var s=r.peekLexeme();if(s==null){var o="expecting term, found nothing";throw new n.QueryParseError(o,i.start,i.end)}switch(s.type){case n.QueryLexer.TERM:return n.QueryParser.parseTerm;default:var o="expecting term, found '"+s.type+"'";throw new n.QueryParseError(o,s.start,s.end)}}},n.QueryParser.parseTerm=function(r){var i=r.consumeLexeme();if(i!=null){r.currentClause.term=i.str.toLowerCase(),i.str.indexOf("*")!=-1&&(r.currentClause.usePipeline=!1);var a=r.peekLexeme();if(a==null){r.nextClause();return}switch(a.type){case n.QueryLexer.TERM:return r.nextClause(),n.QueryParser.parseTerm;case n.QueryLexer.FIELD:return r.nextClause(),n.QueryParser.parseField;case n.QueryLexer.EDIT_DISTANCE:return n.QueryParser.parseEditDistance;case n.QueryLexer.BOOST:return n.QueryParser.parseBoost;case n.QueryLexer.PRESENCE:return r.nextClause(),n.QueryParser.parsePresence;default:var o="Unexpected lexeme type '"+a.type+"'";throw new n.QueryParseError(o,a.start,a.end)}}},n.QueryParser.parseEditDistance=function(r){var i=r.consumeLexeme();if(i!=null){var a=parseInt(i.str,10);if(isNaN(a)){var o="edit distance must be numeric";throw new n.QueryParseError(o,i.start,i.end)}r.currentClause.editDistance=a;var s=r.peekLexeme();if(s==null){r.nextClause();return}switch(s.type){case n.QueryLexer.TERM:return r.nextClause(),n.QueryParser.parseTerm;case n.QueryLexer.FIELD:return r.nextClause(),n.QueryParser.parseField;case n.QueryLexer.EDIT_DISTANCE:return n.QueryParser.parseEditDistance;case n.QueryLexer.BOOST:return n.QueryParser.parseBoost;case n.QueryLexer.PRESENCE:return r.nextClause(),n.QueryParser.parsePresence;default:var o="Unexpected lexeme type '"+s.type+"'";throw new n.QueryParseError(o,s.start,s.end)}}},n.QueryParser.parseBoost=function(r){var i=r.consumeLexeme();if(i!=null){var a=parseInt(i.str,10);if(isNaN(a)){var o="boost must be numeric";throw new n.QueryParseError(o,i.start,i.end)}r.currentClause.boost=a;var s=r.peekLexeme();if(s==null){r.nextClause();return}switch(s.type){case n.QueryLexer.TERM:return r.nextClause(),n.QueryParser.parseTerm;case n.QueryLexer.FIELD:return r.nextClause(),n.QueryParser.parseField;case n.QueryLexer.EDIT_DISTANCE:return n.QueryParser.parseEditDistance;case n.QueryLexer.BOOST:return n.QueryParser.parseBoost;case n.QueryLexer.PRESENCE:return r.nextClause(),n.QueryParser.parsePresence;default:var o="Unexpected lexeme type '"+s.type+"'";throw new n.QueryParseError(o,s.start,s.end)}}},function(r,i){e.exports=i()}(this,function(){return n})})()}(XE)),XE.exports}var z$e=B$e();const Ta=Un(z$e);var jy={exports:{}};/*! - * Lunr languages, `German` language - * https://github.com/MihaiValentin/lunr-languages - * - * Copyright 2014, Mihai Valentin - * http://www.mozilla.org/MPL/ - */var U$e=jy.exports,kF;function j$e(){return kF||(kF=1,function(e,t){(function(n,r){e.exports=r()})(U$e,function(){return function(n){if(typeof n>"u")throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(typeof n.stemmerSupport>"u")throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");n.de=function(){this.pipeline.reset(),this.pipeline.add(n.de.trimmer,n.de.stopWordFilter,n.de.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(n.de.stemmer))},n.de.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",n.de.trimmer=n.trimmerSupport.generateTrimmer(n.de.wordCharacters),n.Pipeline.registerFunction(n.de.trimmer,"trimmer-de"),n.de.stemmer=function(){var r=n.stemmerSupport.Among,i=n.stemmerSupport.SnowballProgram,a=new function(){var s=[new r("",-1,6),new r("U",0,2),new r("Y",0,1),new r("ä",0,3),new r("ö",0,4),new r("ü",0,5)],u=[new r("e",-1,2),new r("em",-1,1),new r("en",-1,2),new r("ern",-1,1),new r("er",-1,1),new r("s",-1,3),new r("es",5,2)],l=[new r("en",-1,1),new r("er",-1,1),new r("st",-1,2),new r("est",2,1)],c=[new r("ig",-1,1),new r("lich",-1,1)],f=[new r("end",-1,1),new r("ig",-1,2),new r("ung",-1,1),new r("lich",-1,3),new r("isch",-1,2),new r("ik",-1,2),new r("heit",-1,3),new r("keit",-1,4)],d=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,8,0,32,8],p=[117,30,5],w=[117,30,4],g,y,_,b=new i;this.setCurrent=function(P){b.setCurrent(P)},this.getCurrent=function(){return b.getCurrent()};function E(P,B,V){return b.eq_s(1,P)&&(b.ket=b.cursor,b.in_grouping(d,97,252))?(b.slice_from(B),b.cursor=V,!0):!1}function S(){for(var P=b.cursor,B,V,F,$;;)if(B=b.cursor,b.bra=B,b.eq_s(1,"ß"))b.ket=b.cursor,b.slice_from("ss");else{if(B>=b.limit)break;b.cursor=B+1}for(b.cursor=P;;)for(V=b.cursor;F=b.cursor,!(b.in_grouping(d,97,252)&&($=b.cursor,b.bra=$,E("u","U",F)||(b.cursor=$,E("y","Y",F))));){if(F>=b.limit){b.cursor=V;return}b.cursor=F+1}}function v(){for(;!b.in_grouping(d,97,252);){if(b.cursor>=b.limit)return!0;b.cursor++}for(;!b.out_grouping(d,97,252);){if(b.cursor>=b.limit)return!0;b.cursor++}return!1}function C(){_=b.limit,y=_;var P=b.cursor+3;0<=P&&P<=b.limit&&(g=P,v()||(_=b.cursor,_=b.limit)return;b.cursor++;break}}}function M(){return _<=b.cursor}function R(){return y<=b.cursor}function N(){var P,B=b.limit-b.cursor,V,F,$;if(b.ket=b.cursor,P=b.find_among_b(u,7),P&&(b.bra=b.cursor,M()))switch(P){case 1:b.slice_del();break;case 2:b.slice_del(),b.ket=b.cursor,b.eq_s_b(1,"s")&&(b.bra=b.cursor,b.eq_s_b(3,"nis")&&b.slice_del());break;case 3:b.in_grouping_b(p,98,116)&&b.slice_del();break}if(b.cursor=b.limit-B,b.ket=b.cursor,P=b.find_among_b(l,4),P&&(b.bra=b.cursor,M()))switch(P){case 1:b.slice_del();break;case 2:if(b.in_grouping_b(w,98,116)){var z=b.cursor-3;b.limit_backward<=z&&z<=b.limit&&(b.cursor=z,b.slice_del())}break}if(b.cursor=b.limit-B,b.ket=b.cursor,P=b.find_among_b(f,8),P&&(b.bra=b.cursor,R()))switch(P){case 1:b.slice_del(),b.ket=b.cursor,b.eq_s_b(2,"ig")&&(b.bra=b.cursor,V=b.limit-b.cursor,b.eq_s_b(1,"e")||(b.cursor=b.limit-V,R()&&b.slice_del()));break;case 2:F=b.limit-b.cursor,b.eq_s_b(1,"e")||(b.cursor=b.limit-F,b.slice_del());break;case 3:if(b.slice_del(),b.ket=b.cursor,$=b.limit-b.cursor,!b.eq_s_b(2,"er")&&(b.cursor=b.limit-$,!b.eq_s_b(2,"en")))break;b.bra=b.cursor,M()&&b.slice_del();break;case 4:b.slice_del(),b.ket=b.cursor,P=b.find_among_b(c,2),P&&(b.bra=b.cursor,R()&&P==1&&b.slice_del());break}}this.stem=function(){var P=b.cursor;return S(),b.cursor=P,C(),b.limit_backward=P,b.cursor=b.limit,N(),b.cursor=b.limit_backward,A(),!0}};return function(o){return typeof o.update=="function"?o.update(function(s){return a.setCurrent(s),a.stem(),a.getCurrent()}):(a.setCurrent(o),a.stem(),a.getCurrent())}}(),n.Pipeline.registerFunction(n.de.stemmer,"stemmer-de"),n.de.stopWordFilter=n.generateStopWordFilter("aber alle allem allen aller alles als also am an ander andere anderem anderen anderer anderes anderm andern anderr anders auch auf aus bei bin bis bist da damit dann das dasselbe dazu daß dein deine deinem deinen deiner deines dem demselben den denn denselben der derer derselbe derselben des desselben dessen dich die dies diese dieselbe dieselben diesem diesen dieser dieses dir doch dort du durch ein eine einem einen einer eines einig einige einigem einigen einiger einiges einmal er es etwas euch euer eure eurem euren eurer eures für gegen gewesen hab habe haben hat hatte hatten hier hin hinter ich ihm ihn ihnen ihr ihre ihrem ihren ihrer ihres im in indem ins ist jede jedem jeden jeder jedes jene jenem jenen jener jenes jetzt kann kein keine keinem keinen keiner keines können könnte machen man manche manchem manchen mancher manches mein meine meinem meinen meiner meines mich mir mit muss musste nach nicht nichts noch nun nur ob oder ohne sehr sein seine seinem seinen seiner seines selbst sich sie sind so solche solchem solchen solcher solches soll sollte sondern sonst um und uns unse unsem unsen unser unses unter viel vom von vor war waren warst was weg weil weiter welche welchem welchen welcher welches wenn werde werden wie wieder will wir wird wirst wo wollen wollte während würde würden zu zum zur zwar zwischen über".split(" ")),n.Pipeline.registerFunction(n.de.stopWordFilter,"stopWordFilter-de")}})}(jy)),jy.exports}var H$e=j$e();const q$e=Un(H$e);var Hy={exports:{}};/*! - * Lunr languages, `French` language - * https://github.com/MihaiValentin/lunr-languages - * - * Copyright 2014, Mihai Valentin - * http://www.mozilla.org/MPL/ - */var G$e=Hy.exports,AF;function W$e(){return AF||(AF=1,function(e,t){(function(n,r){e.exports=r()})(G$e,function(){return function(n){if(typeof n>"u")throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(typeof n.stemmerSupport>"u")throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");n.fr=function(){this.pipeline.reset(),this.pipeline.add(n.fr.trimmer,n.fr.stopWordFilter,n.fr.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(n.fr.stemmer))},n.fr.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",n.fr.trimmer=n.trimmerSupport.generateTrimmer(n.fr.wordCharacters),n.Pipeline.registerFunction(n.fr.trimmer,"trimmer-fr"),n.fr.stemmer=function(){var r=n.stemmerSupport.Among,i=n.stemmerSupport.SnowballProgram,a=new function(){var s=[new r("col",-1,-1),new r("par",-1,-1),new r("tap",-1,-1)],u=[new r("",-1,4),new r("I",0,1),new r("U",0,2),new r("Y",0,3)],l=[new r("iqU",-1,3),new r("abl",-1,3),new r("Ièr",-1,4),new r("ièr",-1,4),new r("eus",-1,2),new r("iv",-1,1)],c=[new r("ic",-1,2),new r("abil",-1,1),new r("iv",-1,3)],f=[new r("iqUe",-1,1),new r("atrice",-1,2),new r("ance",-1,1),new r("ence",-1,5),new r("logie",-1,3),new r("able",-1,1),new r("isme",-1,1),new r("euse",-1,11),new r("iste",-1,1),new r("ive",-1,8),new r("if",-1,8),new r("usion",-1,4),new r("ation",-1,2),new r("ution",-1,4),new r("ateur",-1,2),new r("iqUes",-1,1),new r("atrices",-1,2),new r("ances",-1,1),new r("ences",-1,5),new r("logies",-1,3),new r("ables",-1,1),new r("ismes",-1,1),new r("euses",-1,11),new r("istes",-1,1),new r("ives",-1,8),new r("ifs",-1,8),new r("usions",-1,4),new r("ations",-1,2),new r("utions",-1,4),new r("ateurs",-1,2),new r("ments",-1,15),new r("ements",30,6),new r("issements",31,12),new r("ités",-1,7),new r("ment",-1,15),new r("ement",34,6),new r("issement",35,12),new r("amment",34,13),new r("emment",34,14),new r("aux",-1,10),new r("eaux",39,9),new r("eux",-1,1),new r("ité",-1,7)],d=[new r("ira",-1,1),new r("ie",-1,1),new r("isse",-1,1),new r("issante",-1,1),new r("i",-1,1),new r("irai",4,1),new r("ir",-1,1),new r("iras",-1,1),new r("ies",-1,1),new r("îmes",-1,1),new r("isses",-1,1),new r("issantes",-1,1),new r("îtes",-1,1),new r("is",-1,1),new r("irais",13,1),new r("issais",13,1),new r("irions",-1,1),new r("issions",-1,1),new r("irons",-1,1),new r("issons",-1,1),new r("issants",-1,1),new r("it",-1,1),new r("irait",21,1),new r("issait",21,1),new r("issant",-1,1),new r("iraIent",-1,1),new r("issaIent",-1,1),new r("irent",-1,1),new r("issent",-1,1),new r("iront",-1,1),new r("ît",-1,1),new r("iriez",-1,1),new r("issiez",-1,1),new r("irez",-1,1),new r("issez",-1,1)],p=[new r("a",-1,3),new r("era",0,2),new r("asse",-1,3),new r("ante",-1,3),new r("ée",-1,2),new r("ai",-1,3),new r("erai",5,2),new r("er",-1,2),new r("as",-1,3),new r("eras",8,2),new r("âmes",-1,3),new r("asses",-1,3),new r("antes",-1,3),new r("âtes",-1,3),new r("ées",-1,2),new r("ais",-1,3),new r("erais",15,2),new r("ions",-1,1),new r("erions",17,2),new r("assions",17,3),new r("erons",-1,2),new r("ants",-1,3),new r("és",-1,2),new r("ait",-1,3),new r("erait",23,2),new r("ant",-1,3),new r("aIent",-1,3),new r("eraIent",26,2),new r("èrent",-1,2),new r("assent",-1,3),new r("eront",-1,2),new r("ât",-1,3),new r("ez",-1,2),new r("iez",32,2),new r("eriez",33,2),new r("assiez",33,3),new r("erez",32,2),new r("é",-1,2)],w=[new r("e",-1,3),new r("Ière",0,2),new r("ière",0,2),new r("ion",-1,1),new r("Ier",-1,2),new r("ier",-1,2),new r("ë",-1,4)],g=[new r("ell",-1,-1),new r("eill",-1,-1),new r("enn",-1,-1),new r("onn",-1,-1),new r("ett",-1,-1)],y=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,128,130,103,8,5],_=[1,65,20,0,0,0,0,0,0,0,0,0,0,0,0,0,128],b,E,S,v=new i;this.setCurrent=function(G){v.setCurrent(G)},this.getCurrent=function(){return v.getCurrent()};function C(G,H,ne){return v.eq_s(1,G)&&(v.ket=v.cursor,v.in_grouping(y,97,251))?(v.slice_from(H),v.cursor=ne,!0):!1}function A(G,H,ne){return v.eq_s(1,G)?(v.ket=v.cursor,v.slice_from(H),v.cursor=ne,!0):!1}function M(){for(var G,H;;)if(G=v.cursor,!(v.in_grouping(y,97,251)&&(v.bra=v.cursor,H=v.cursor,C("u","U",G)||(v.cursor=H,C("i","I",G))||(v.cursor=H,A("y","Y",G))))&&(v.cursor=G,v.bra=G,!C("y","Y",G))){if(v.cursor=G,v.eq_s(1,"q")&&(v.bra=v.cursor,A("u","U",G)))continue;if(v.cursor=G,G>=v.limit)return;v.cursor++}}function R(){for(;!v.in_grouping(y,97,251);){if(v.cursor>=v.limit)return!0;v.cursor++}for(;!v.out_grouping(y,97,251);){if(v.cursor>=v.limit)return!0;v.cursor++}return!1}function N(){var G=v.cursor;if(S=v.limit,E=S,b=S,v.in_grouping(y,97,251)&&v.in_grouping(y,97,251)&&v.cursor=v.limit){v.cursor=S;break}v.cursor++}while(!v.in_grouping(y,97,251))}S=v.cursor,v.cursor=G,R()||(E=v.cursor,R()||(b=v.cursor))}function P(){for(var G,H;H=v.cursor,v.bra=H,G=v.find_among(u,4),!!G;)switch(v.ket=v.cursor,G){case 1:v.slice_from("i");break;case 2:v.slice_from("u");break;case 3:v.slice_from("y");break;case 4:if(v.cursor>=v.limit)return;v.cursor++;break}}function B(){return S<=v.cursor}function V(){return E<=v.cursor}function F(){return b<=v.cursor}function $(){var G,H;if(v.ket=v.cursor,G=v.find_among_b(f,43),G){switch(v.bra=v.cursor,G){case 1:if(!F())return!1;v.slice_del();break;case 2:if(!F())return!1;v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"ic")&&(v.bra=v.cursor,F()?v.slice_del():v.slice_from("iqU"));break;case 3:if(!F())return!1;v.slice_from("log");break;case 4:if(!F())return!1;v.slice_from("u");break;case 5:if(!F())return!1;v.slice_from("ent");break;case 6:if(!B())return!1;if(v.slice_del(),v.ket=v.cursor,G=v.find_among_b(l,6),G)switch(v.bra=v.cursor,G){case 1:F()&&(v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"at")&&(v.bra=v.cursor,F()&&v.slice_del()));break;case 2:F()?v.slice_del():V()&&v.slice_from("eux");break;case 3:F()&&v.slice_del();break;case 4:B()&&v.slice_from("i");break}break;case 7:if(!F())return!1;if(v.slice_del(),v.ket=v.cursor,G=v.find_among_b(c,3),G)switch(v.bra=v.cursor,G){case 1:F()?v.slice_del():v.slice_from("abl");break;case 2:F()?v.slice_del():v.slice_from("iqU");break;case 3:F()&&v.slice_del();break}break;case 8:if(!F())return!1;if(v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"at")&&(v.bra=v.cursor,F()&&(v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"ic")))){v.bra=v.cursor,F()?v.slice_del():v.slice_from("iqU");break}break;case 9:v.slice_from("eau");break;case 10:if(!V())return!1;v.slice_from("al");break;case 11:if(F())v.slice_del();else if(V())v.slice_from("eux");else return!1;break;case 12:if(!V()||!v.out_grouping_b(y,97,251))return!1;v.slice_del();break;case 13:return B()&&v.slice_from("ant"),!1;case 14:return B()&&v.slice_from("ent"),!1;case 15:return H=v.limit-v.cursor,v.in_grouping_b(y,97,251)&&B()&&(v.cursor=v.limit-H,v.slice_del()),!1}return!0}return!1}function z(){var G,H;if(v.cursor=S){if(ce=v.limit_backward,v.limit_backward=S,v.ket=v.cursor,G=v.find_among_b(w,7),G)switch(v.bra=v.cursor,G){case 1:if(F()){if(me=v.limit-v.cursor,!v.eq_s_b(1,"s")&&(v.cursor=v.limit-me,!v.eq_s_b(1,"t")))break;v.slice_del()}break;case 2:v.slice_from("i");break;case 3:v.slice_del();break;case 4:v.eq_s_b(2,"gu")&&v.slice_del();break}v.limit_backward=ce}}function j(){var G=v.limit-v.cursor;v.find_among_b(g,5)&&(v.cursor=v.limit-G,v.ket=v.cursor,v.cursor>v.limit_backward&&(v.cursor--,v.bra=v.cursor,v.slice_del()))}function L(){for(var G,H=1;v.out_grouping_b(y,97,251);)H--;if(H<=0){if(v.ket=v.cursor,G=v.limit-v.cursor,!v.eq_s_b(1,"é")&&(v.cursor=v.limit-G,!v.eq_s_b(1,"è")))return;v.bra=v.cursor,v.slice_from("e")}}function W(){if(!$()&&(v.cursor=v.limit,!z()&&(v.cursor=v.limit,!Q()))){v.cursor=v.limit,K();return}v.cursor=v.limit,v.ket=v.cursor,v.eq_s_b(1,"Y")?(v.bra=v.cursor,v.slice_from("i")):(v.cursor=v.limit,v.eq_s_b(1,"ç")&&(v.bra=v.cursor,v.slice_from("c")))}this.stem=function(){var G=v.cursor;return M(),v.cursor=G,N(),v.limit_backward=G,v.cursor=v.limit,W(),v.cursor=v.limit,j(),v.cursor=v.limit,L(),v.cursor=v.limit_backward,P(),!0}};return function(o){return typeof o.update=="function"?o.update(function(s){return a.setCurrent(s),a.stem(),a.getCurrent()}):(a.setCurrent(o),a.stem(),a.getCurrent())}}(),n.Pipeline.registerFunction(n.fr.stemmer,"stemmer-fr"),n.fr.stopWordFilter=n.generateStopWordFilter("ai aie aient aies ait as au aura aurai auraient aurais aurait auras aurez auriez aurions aurons auront aux avaient avais avait avec avez aviez avions avons ayant ayez ayons c ce ceci celà ces cet cette d dans de des du elle en es est et eu eue eues eurent eus eusse eussent eusses eussiez eussions eut eux eûmes eût eûtes furent fus fusse fussent fusses fussiez fussions fut fûmes fût fûtes ici il ils j je l la le les leur leurs lui m ma mais me mes moi mon même n ne nos notre nous on ont ou par pas pour qu que quel quelle quelles quels qui s sa sans se sera serai seraient serais serait seras serez seriez serions serons seront ses soi soient sois soit sommes son sont soyez soyons suis sur t ta te tes toi ton tu un une vos votre vous y à étaient étais était étant étiez étions été étée étées étés êtes".split(" ")),n.Pipeline.registerFunction(n.fr.stopWordFilter,"stopWordFilter-fr")}})}(Hy)),Hy.exports}var V$e=W$e();const Y$e=Un(V$e);var qy={exports:{}};/*! - * Lunr languages, `Italian` language - * https://github.com/MihaiValentin/lunr-languages - * - * Copyright 2014, Mihai Valentin - * http://www.mozilla.org/MPL/ - */var Q$e=qy.exports,TF;function K$e(){return TF||(TF=1,function(e,t){(function(n,r){e.exports=r()})(Q$e,function(){return function(n){if(typeof n>"u")throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(typeof n.stemmerSupport>"u")throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");n.it=function(){this.pipeline.reset(),this.pipeline.add(n.it.trimmer,n.it.stopWordFilter,n.it.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(n.it.stemmer))},n.it.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",n.it.trimmer=n.trimmerSupport.generateTrimmer(n.it.wordCharacters),n.Pipeline.registerFunction(n.it.trimmer,"trimmer-it"),n.it.stemmer=function(){var r=n.stemmerSupport.Among,i=n.stemmerSupport.SnowballProgram,a=new function(){var s=[new r("",-1,7),new r("qu",0,6),new r("á",0,1),new r("é",0,2),new r("í",0,3),new r("ó",0,4),new r("ú",0,5)],u=[new r("",-1,3),new r("I",0,1),new r("U",0,2)],l=[new r("la",-1,-1),new r("cela",0,-1),new r("gliela",0,-1),new r("mela",0,-1),new r("tela",0,-1),new r("vela",0,-1),new r("le",-1,-1),new r("cele",6,-1),new r("gliele",6,-1),new r("mele",6,-1),new r("tele",6,-1),new r("vele",6,-1),new r("ne",-1,-1),new r("cene",12,-1),new r("gliene",12,-1),new r("mene",12,-1),new r("sene",12,-1),new r("tene",12,-1),new r("vene",12,-1),new r("ci",-1,-1),new r("li",-1,-1),new r("celi",20,-1),new r("glieli",20,-1),new r("meli",20,-1),new r("teli",20,-1),new r("veli",20,-1),new r("gli",20,-1),new r("mi",-1,-1),new r("si",-1,-1),new r("ti",-1,-1),new r("vi",-1,-1),new r("lo",-1,-1),new r("celo",31,-1),new r("glielo",31,-1),new r("melo",31,-1),new r("telo",31,-1),new r("velo",31,-1)],c=[new r("ando",-1,1),new r("endo",-1,1),new r("ar",-1,2),new r("er",-1,2),new r("ir",-1,2)],f=[new r("ic",-1,-1),new r("abil",-1,-1),new r("os",-1,-1),new r("iv",-1,1)],d=[new r("ic",-1,1),new r("abil",-1,1),new r("iv",-1,1)],p=[new r("ica",-1,1),new r("logia",-1,3),new r("osa",-1,1),new r("ista",-1,1),new r("iva",-1,9),new r("anza",-1,1),new r("enza",-1,5),new r("ice",-1,1),new r("atrice",7,1),new r("iche",-1,1),new r("logie",-1,3),new r("abile",-1,1),new r("ibile",-1,1),new r("usione",-1,4),new r("azione",-1,2),new r("uzione",-1,4),new r("atore",-1,2),new r("ose",-1,1),new r("ante",-1,1),new r("mente",-1,1),new r("amente",19,7),new r("iste",-1,1),new r("ive",-1,9),new r("anze",-1,1),new r("enze",-1,5),new r("ici",-1,1),new r("atrici",25,1),new r("ichi",-1,1),new r("abili",-1,1),new r("ibili",-1,1),new r("ismi",-1,1),new r("usioni",-1,4),new r("azioni",-1,2),new r("uzioni",-1,4),new r("atori",-1,2),new r("osi",-1,1),new r("anti",-1,1),new r("amenti",-1,6),new r("imenti",-1,6),new r("isti",-1,1),new r("ivi",-1,9),new r("ico",-1,1),new r("ismo",-1,1),new r("oso",-1,1),new r("amento",-1,6),new r("imento",-1,6),new r("ivo",-1,9),new r("ità",-1,8),new r("istà",-1,1),new r("istè",-1,1),new r("istì",-1,1)],w=[new r("isca",-1,1),new r("enda",-1,1),new r("ata",-1,1),new r("ita",-1,1),new r("uta",-1,1),new r("ava",-1,1),new r("eva",-1,1),new r("iva",-1,1),new r("erebbe",-1,1),new r("irebbe",-1,1),new r("isce",-1,1),new r("ende",-1,1),new r("are",-1,1),new r("ere",-1,1),new r("ire",-1,1),new r("asse",-1,1),new r("ate",-1,1),new r("avate",16,1),new r("evate",16,1),new r("ivate",16,1),new r("ete",-1,1),new r("erete",20,1),new r("irete",20,1),new r("ite",-1,1),new r("ereste",-1,1),new r("ireste",-1,1),new r("ute",-1,1),new r("erai",-1,1),new r("irai",-1,1),new r("isci",-1,1),new r("endi",-1,1),new r("erei",-1,1),new r("irei",-1,1),new r("assi",-1,1),new r("ati",-1,1),new r("iti",-1,1),new r("eresti",-1,1),new r("iresti",-1,1),new r("uti",-1,1),new r("avi",-1,1),new r("evi",-1,1),new r("ivi",-1,1),new r("isco",-1,1),new r("ando",-1,1),new r("endo",-1,1),new r("Yamo",-1,1),new r("iamo",-1,1),new r("avamo",-1,1),new r("evamo",-1,1),new r("ivamo",-1,1),new r("eremo",-1,1),new r("iremo",-1,1),new r("assimo",-1,1),new r("ammo",-1,1),new r("emmo",-1,1),new r("eremmo",54,1),new r("iremmo",54,1),new r("immo",-1,1),new r("ano",-1,1),new r("iscano",58,1),new r("avano",58,1),new r("evano",58,1),new r("ivano",58,1),new r("eranno",-1,1),new r("iranno",-1,1),new r("ono",-1,1),new r("iscono",65,1),new r("arono",65,1),new r("erono",65,1),new r("irono",65,1),new r("erebbero",-1,1),new r("irebbero",-1,1),new r("assero",-1,1),new r("essero",-1,1),new r("issero",-1,1),new r("ato",-1,1),new r("ito",-1,1),new r("uto",-1,1),new r("avo",-1,1),new r("evo",-1,1),new r("ivo",-1,1),new r("ar",-1,1),new r("ir",-1,1),new r("erà",-1,1),new r("irà",-1,1),new r("erò",-1,1),new r("irò",-1,1)],g=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,128,128,8,2,1],y=[17,65,0,0,0,0,0,0,0,0,0,0,0,0,0,128,128,8,2],_=[17],b,E,S,v=new i;this.setCurrent=function(G){v.setCurrent(G)},this.getCurrent=function(){return v.getCurrent()};function C(G,H,ne){return v.eq_s(1,G)&&(v.ket=v.cursor,v.in_grouping(g,97,249))?(v.slice_from(H),v.cursor=ne,!0):!1}function A(){for(var G,H=v.cursor,ne,ce,me;;){if(v.bra=v.cursor,G=v.find_among(s,7),G)switch(v.ket=v.cursor,G){case 1:v.slice_from("à");continue;case 2:v.slice_from("è");continue;case 3:v.slice_from("ì");continue;case 4:v.slice_from("ò");continue;case 5:v.slice_from("ù");continue;case 6:v.slice_from("qU");continue;case 7:if(v.cursor>=v.limit)break;v.cursor++;continue}break}for(v.cursor=H;;)for(ne=v.cursor;ce=v.cursor,!(v.in_grouping(g,97,249)&&(v.bra=v.cursor,me=v.cursor,C("u","U",ce)||(v.cursor=me,C("i","I",ce))));){if(v.cursor=ce,v.cursor>=v.limit){v.cursor=ne;return}v.cursor++}}function M(G){if(v.cursor=G,!v.in_grouping(g,97,249))return!1;for(;!v.out_grouping(g,97,249);){if(v.cursor>=v.limit)return!1;v.cursor++}return!0}function R(){if(v.in_grouping(g,97,249)){var G=v.cursor;if(v.out_grouping(g,97,249)){for(;!v.in_grouping(g,97,249);){if(v.cursor>=v.limit)return M(G);v.cursor++}return!0}return M(G)}return!1}function N(){var G=v.cursor,H;if(!R()){if(v.cursor=G,!v.out_grouping(g,97,249))return;if(H=v.cursor,v.out_grouping(g,97,249)){for(;!v.in_grouping(g,97,249);){if(v.cursor>=v.limit){v.cursor=H,v.in_grouping(g,97,249)&&v.cursor=v.limit)return;v.cursor++}S=v.cursor}function P(){for(;!v.in_grouping(g,97,249);){if(v.cursor>=v.limit)return!1;v.cursor++}for(;!v.out_grouping(g,97,249);){if(v.cursor>=v.limit)return!1;v.cursor++}return!0}function B(){var G=v.cursor;S=v.limit,E=S,b=S,N(),v.cursor=G,P()&&(E=v.cursor,P()&&(b=v.cursor))}function V(){for(var G;v.bra=v.cursor,G=v.find_among(u,3),!!G;)switch(v.ket=v.cursor,G){case 1:v.slice_from("i");break;case 2:v.slice_from("u");break;case 3:if(v.cursor>=v.limit)return;v.cursor++;break}}function F(){return S<=v.cursor}function $(){return E<=v.cursor}function z(){return b<=v.cursor}function Q(){var G;if(v.ket=v.cursor,v.find_among_b(l,37)&&(v.bra=v.cursor,G=v.find_among_b(c,5),G&&F()))switch(G){case 1:v.slice_del();break;case 2:v.slice_from("e");break}}function K(){var G;if(v.ket=v.cursor,G=v.find_among_b(p,51),!G)return!1;switch(v.bra=v.cursor,G){case 1:if(!z())return!1;v.slice_del();break;case 2:if(!z())return!1;v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"ic")&&(v.bra=v.cursor,z()&&v.slice_del());break;case 3:if(!z())return!1;v.slice_from("log");break;case 4:if(!z())return!1;v.slice_from("u");break;case 5:if(!z())return!1;v.slice_from("ente");break;case 6:if(!F())return!1;v.slice_del();break;case 7:if(!$())return!1;v.slice_del(),v.ket=v.cursor,G=v.find_among_b(f,4),G&&(v.bra=v.cursor,z()&&(v.slice_del(),G==1&&(v.ket=v.cursor,v.eq_s_b(2,"at")&&(v.bra=v.cursor,z()&&v.slice_del()))));break;case 8:if(!z())return!1;v.slice_del(),v.ket=v.cursor,G=v.find_among_b(d,3),G&&(v.bra=v.cursor,G==1&&z()&&v.slice_del());break;case 9:if(!z())return!1;v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"at")&&(v.bra=v.cursor,z()&&(v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"ic")&&(v.bra=v.cursor,z()&&v.slice_del())));break}return!0}function j(){var G,H;v.cursor>=S&&(H=v.limit_backward,v.limit_backward=S,v.ket=v.cursor,G=v.find_among_b(w,87),G&&(v.bra=v.cursor,G==1&&v.slice_del()),v.limit_backward=H)}function L(){var G=v.limit-v.cursor;if(v.ket=v.cursor,v.in_grouping_b(y,97,242)&&(v.bra=v.cursor,F()&&(v.slice_del(),v.ket=v.cursor,v.eq_s_b(1,"i")&&(v.bra=v.cursor,F())))){v.slice_del();return}v.cursor=v.limit-G}function W(){L(),v.ket=v.cursor,v.eq_s_b(1,"h")&&(v.bra=v.cursor,v.in_grouping_b(_,99,103)&&F()&&v.slice_del())}this.stem=function(){var G=v.cursor;return A(),v.cursor=G,B(),v.limit_backward=G,v.cursor=v.limit,Q(),v.cursor=v.limit,K()||(v.cursor=v.limit,j()),v.cursor=v.limit,W(),v.cursor=v.limit_backward,V(),!0}};return function(o){return typeof o.update=="function"?o.update(function(s){return a.setCurrent(s),a.stem(),a.getCurrent()}):(a.setCurrent(o),a.stem(),a.getCurrent())}}(),n.Pipeline.registerFunction(n.it.stemmer,"stemmer-it"),n.it.stopWordFilter=n.generateStopWordFilter("a abbia abbiamo abbiano abbiate ad agl agli ai al all alla alle allo anche avemmo avendo avesse avessero avessi avessimo aveste avesti avete aveva avevamo avevano avevate avevi avevo avrai avranno avrebbe avrebbero avrei avremmo avremo avreste avresti avrete avrà avrò avuta avute avuti avuto c che chi ci coi col come con contro cui da dagl dagli dai dal dall dalla dalle dallo degl degli dei del dell della delle dello di dov dove e ebbe ebbero ebbi ed era erano eravamo eravate eri ero essendo faccia facciamo facciano facciate faccio facemmo facendo facesse facessero facessi facessimo faceste facesti faceva facevamo facevano facevate facevi facevo fai fanno farai faranno farebbe farebbero farei faremmo faremo fareste faresti farete farà farò fece fecero feci fosse fossero fossi fossimo foste fosti fu fui fummo furono gli ha hai hanno ho i il in io l la le lei li lo loro lui ma mi mia mie miei mio ne negl negli nei nel nell nella nelle nello noi non nostra nostre nostri nostro o per perché più quale quanta quante quanti quanto quella quelle quelli quello questa queste questi questo sarai saranno sarebbe sarebbero sarei saremmo saremo sareste saresti sarete sarà sarò se sei si sia siamo siano siate siete sono sta stai stando stanno starai staranno starebbe starebbero starei staremmo staremo stareste staresti starete starà starò stava stavamo stavano stavate stavi stavo stemmo stesse stessero stessi stessimo steste stesti stette stettero stetti stia stiamo stiano stiate sto su sua sue sugl sugli sui sul sull sulla sulle sullo suo suoi ti tra tu tua tue tuo tuoi tutti tutto un una uno vi voi vostra vostre vostri vostro è".split(" ")),n.Pipeline.registerFunction(n.it.stopWordFilter,"stopWordFilter-it")}})}(qy)),qy.exports}var X$e=K$e();const Z$e=Un(X$e);var Gy={exports:{}};/*! - * Lunr languages, `Russian` language - * https://github.com/MihaiValentin/lunr-languages - * - * Copyright 2014, Mihai Valentin - * http://www.mozilla.org/MPL/ - */var J$e=Gy.exports,MF;function eFe(){return MF||(MF=1,function(e,t){(function(n,r){e.exports=r()})(J$e,function(){return function(n){if(typeof n>"u")throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(typeof n.stemmerSupport>"u")throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");n.ru=function(){this.pipeline.reset(),this.pipeline.add(n.ru.trimmer,n.ru.stopWordFilter,n.ru.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(n.ru.stemmer))},n.ru.wordCharacters="Ѐ-҄҇-ԯᴫᵸⷠ-ⷿꙀ-ꚟ︮︯",n.ru.trimmer=n.trimmerSupport.generateTrimmer(n.ru.wordCharacters),n.Pipeline.registerFunction(n.ru.trimmer,"trimmer-ru"),n.ru.stemmer=function(){var r=n.stemmerSupport.Among,i=n.stemmerSupport.SnowballProgram,a=new function(){var s=[new r("в",-1,1),new r("ив",0,2),new r("ыв",0,2),new r("вши",-1,1),new r("ивши",3,2),new r("ывши",3,2),new r("вшись",-1,1),new r("ившись",6,2),new r("ывшись",6,2)],u=[new r("ее",-1,1),new r("ие",-1,1),new r("ое",-1,1),new r("ые",-1,1),new r("ими",-1,1),new r("ыми",-1,1),new r("ей",-1,1),new r("ий",-1,1),new r("ой",-1,1),new r("ый",-1,1),new r("ем",-1,1),new r("им",-1,1),new r("ом",-1,1),new r("ым",-1,1),new r("его",-1,1),new r("ого",-1,1),new r("ему",-1,1),new r("ому",-1,1),new r("их",-1,1),new r("ых",-1,1),new r("ею",-1,1),new r("ою",-1,1),new r("ую",-1,1),new r("юю",-1,1),new r("ая",-1,1),new r("яя",-1,1)],l=[new r("ем",-1,1),new r("нн",-1,1),new r("вш",-1,1),new r("ивш",2,2),new r("ывш",2,2),new r("щ",-1,1),new r("ющ",5,1),new r("ующ",6,2)],c=[new r("сь",-1,1),new r("ся",-1,1)],f=[new r("ла",-1,1),new r("ила",0,2),new r("ыла",0,2),new r("на",-1,1),new r("ена",3,2),new r("ете",-1,1),new r("ите",-1,2),new r("йте",-1,1),new r("ейте",7,2),new r("уйте",7,2),new r("ли",-1,1),new r("или",10,2),new r("ыли",10,2),new r("й",-1,1),new r("ей",13,2),new r("уй",13,2),new r("л",-1,1),new r("ил",16,2),new r("ыл",16,2),new r("ем",-1,1),new r("им",-1,2),new r("ым",-1,2),new r("н",-1,1),new r("ен",22,2),new r("ло",-1,1),new r("ило",24,2),new r("ыло",24,2),new r("но",-1,1),new r("ено",27,2),new r("нно",27,1),new r("ет",-1,1),new r("ует",30,2),new r("ит",-1,2),new r("ыт",-1,2),new r("ют",-1,1),new r("уют",34,2),new r("ят",-1,2),new r("ны",-1,1),new r("ены",37,2),new r("ть",-1,1),new r("ить",39,2),new r("ыть",39,2),new r("ешь",-1,1),new r("ишь",-1,2),new r("ю",-1,2),new r("ую",44,2)],d=[new r("а",-1,1),new r("ев",-1,1),new r("ов",-1,1),new r("е",-1,1),new r("ие",3,1),new r("ье",3,1),new r("и",-1,1),new r("еи",6,1),new r("ии",6,1),new r("ами",6,1),new r("ями",6,1),new r("иями",10,1),new r("й",-1,1),new r("ей",12,1),new r("ией",13,1),new r("ий",12,1),new r("ой",12,1),new r("ам",-1,1),new r("ем",-1,1),new r("ием",18,1),new r("ом",-1,1),new r("ям",-1,1),new r("иям",21,1),new r("о",-1,1),new r("у",-1,1),new r("ах",-1,1),new r("ях",-1,1),new r("иях",26,1),new r("ы",-1,1),new r("ь",-1,1),new r("ю",-1,1),new r("ию",30,1),new r("ью",30,1),new r("я",-1,1),new r("ия",33,1),new r("ья",33,1)],p=[new r("ост",-1,1),new r("ость",-1,1)],w=[new r("ейше",-1,1),new r("н",-1,2),new r("ейш",-1,1),new r("ь",-1,3)],g=[33,65,8,232],y,_,b=new i;this.setCurrent=function(Q){b.setCurrent(Q)},this.getCurrent=function(){return b.getCurrent()};function E(){for(;!b.in_grouping(g,1072,1103);){if(b.cursor>=b.limit)return!1;b.cursor++}return!0}function S(){for(;!b.out_grouping(g,1072,1103);){if(b.cursor>=b.limit)return!1;b.cursor++}return!0}function v(){_=b.limit,y=_,E()&&(_=b.cursor,S()&&E()&&S()&&(y=b.cursor))}function C(){return y<=b.cursor}function A(Q,K){var j,L;if(b.ket=b.cursor,j=b.find_among_b(Q,K),j){switch(b.bra=b.cursor,j){case 1:if(L=b.limit-b.cursor,!b.eq_s_b(1,"а")&&(b.cursor=b.limit-L,!b.eq_s_b(1,"я")))return!1;case 2:b.slice_del();break}return!0}return!1}function M(){return A(s,9)}function R(Q,K){var j;return b.ket=b.cursor,j=b.find_among_b(Q,K),j?(b.bra=b.cursor,j==1&&b.slice_del(),!0):!1}function N(){return R(u,26)}function P(){return N()?(A(l,8),!0):!1}function B(){return R(c,2)}function V(){return A(f,46)}function F(){R(d,36)}function $(){var Q;b.ket=b.cursor,Q=b.find_among_b(p,2),Q&&(b.bra=b.cursor,C()&&Q==1&&b.slice_del())}function z(){var Q;if(b.ket=b.cursor,Q=b.find_among_b(w,4),Q)switch(b.bra=b.cursor,Q){case 1:if(b.slice_del(),b.ket=b.cursor,!b.eq_s_b(1,"н"))break;b.bra=b.cursor;case 2:if(!b.eq_s_b(1,"н"))break;case 3:b.slice_del();break}}this.stem=function(){return v(),b.cursor=b.limit,b.cursor<_?!1:(b.limit_backward=_,M()||(b.cursor=b.limit,B()||(b.cursor=b.limit),P()||(b.cursor=b.limit,V()||(b.cursor=b.limit,F()))),b.cursor=b.limit,b.ket=b.cursor,b.eq_s_b(1,"и")?(b.bra=b.cursor,b.slice_del()):b.cursor=b.limit,$(),b.cursor=b.limit,z(),!0)}};return function(o){return typeof o.update=="function"?o.update(function(s){return a.setCurrent(s),a.stem(),a.getCurrent()}):(a.setCurrent(o),a.stem(),a.getCurrent())}}(),n.Pipeline.registerFunction(n.ru.stemmer,"stemmer-ru"),n.ru.stopWordFilter=n.generateStopWordFilter("алло без близко более больше будем будет будете будешь будто буду будут будь бы бывает бывь был была были было быть в важная важное важные важный вам вами вас ваш ваша ваше ваши вверх вдали вдруг ведь везде весь вниз внизу во вокруг вон восемнадцатый восемнадцать восемь восьмой вот впрочем времени время все всегда всего всем всеми всему всех всею всю всюду вся всё второй вы г где говорил говорит год года году да давно даже далеко дальше даром два двадцатый двадцать две двенадцатый двенадцать двух девятнадцатый девятнадцать девятый девять действительно дел день десятый десять для до довольно долго должно другая другие других друго другое другой е его ее ей ему если есть еще ещё ею её ж же жизнь за занят занята занято заняты затем зато зачем здесь значит и из или им именно иметь ими имя иногда их к каждая каждое каждые каждый кажется как какая какой кем когда кого ком кому конечно которая которого которой которые который которых кроме кругом кто куда лет ли лишь лучше люди м мало между меля менее меньше меня миллионов мимо мира мне много многочисленная многочисленное многочисленные многочисленный мной мною мог могут мож может можно можхо мои мой мор мочь моя моё мы на наверху над надо назад наиболее наконец нам нами нас начала наш наша наше наши не него недавно недалеко нее ней нельзя нем немного нему непрерывно нередко несколько нет нею неё ни нибудь ниже низко никогда никуда ними них ничего но ну нужно нх о об оба обычно один одиннадцатый одиннадцать однажды однако одного одной около он она они оно опять особенно от отовсюду отсюда очень первый перед по под пожалуйста позже пока пор пора после посреди потом потому почему почти прекрасно при про просто против процентов пятнадцатый пятнадцать пятый пять раз разве рано раньше рядом с сам сама сами самим самими самих само самого самой самом самому саму свое своего своей свои своих свою сеаой себе себя сегодня седьмой сейчас семнадцатый семнадцать семь сих сказал сказала сказать сколько слишком сначала снова со собой собою совсем спасибо стал суть т та так такая также такие такое такой там твой твоя твоё те тебе тебя тем теми теперь тех то тобой тобою тогда того тоже только том тому тот тою третий три тринадцатый тринадцать ту туда тут ты тысяч у уж уже уметь хорошо хотеть хоть хотя хочешь часто чаще чего человек чем чему через четвертый четыре четырнадцатый четырнадцать что чтоб чтобы чуть шестнадцатый шестнадцать шестой шесть эта эти этим этими этих это этого этой этом этому этот эту я \uFEFFа".split(" ")),n.Pipeline.registerFunction(n.ru.stopWordFilter,"stopWordFilter-ru")}})}(Gy)),Gy.exports}var tFe=eFe();const nFe=Un(tFe);var Wy={exports:{}};/*! - * Snowball JavaScript Library v0.3 - * http://code.google.com/p/urim/ - * http://snowball.tartarus.org/ - * - * Copyright 2010, Oleg Mazko - * http://www.mozilla.org/MPL/ - */var rFe=Wy.exports,PF;function iFe(){return PF||(PF=1,function(e,t){(function(n,r){e.exports=r()})(rFe,function(){return function(n){n.stemmerSupport={Among:function(r,i,a,o){if(this.toCharArray=function(s){for(var u=s.length,l=new Array(u),c=0;c=a&&(s-=a,i[s>>3]&1<<(s&7)))return this.cursor++,!0}return!1},in_grouping_b:function(i,a,o){if(this.cursor>this.limit_backward){var s=r.charCodeAt(this.cursor-1);if(s<=o&&s>=a&&(s-=a,i[s>>3]&1<<(s&7)))return this.cursor--,!0}return!1},out_grouping:function(i,a,o){if(this.cursoro||s>3]&1<<(s&7)))return this.cursor++,!0}return!1},out_grouping_b:function(i,a,o){if(this.cursor>this.limit_backward){var s=r.charCodeAt(this.cursor-1);if(s>o||s>3]&1<<(s&7)))return this.cursor--,!0}return!1},eq_s:function(i,a){if(this.limit-this.cursor>1),w=0,g=c0||s==o||d)break;d=!0}}for(;;){var y=i[o];if(c>=y.s_size){if(this.cursor=u+y.s_size,!y.method)return y.result;var b=y.method();if(this.cursor=u+y.s_size,b)return y.result}if(o=y.substring_i,o<0)return 0}},find_among_b:function(i,a){for(var o=0,s=a,u=this.cursor,l=this.limit_backward,c=0,f=0,d=!1;;){for(var p=o+(s-o>>1),w=0,g=c=0;_--){if(u-g==l){w=-1;break}if(w=r.charCodeAt(u-1-g)-y.s[_],w)break;g++}if(w<0?(s=p,f=g):(o=p,c=g),s-o<=1){if(o>0||s==o||d)break;d=!0}}for(;;){var y=i[o];if(c>=y.s_size){if(this.cursor=u-y.s_size,!y.method)return y.result;var b=y.method();if(this.cursor=u-y.s_size,b)return y.result}if(o=y.substring_i,o<0)return 0}},replace_s:function(i,a,o){var s=o.length-(a-i),u=r.substring(0,i),l=r.substring(a);return r=u+o+l,this.limit+=s,this.cursor>=a?this.cursor+=s:this.cursor>i&&(this.cursor=i),s},slice_check:function(){if(this.bra<0||this.bra>this.ket||this.ket>this.limit||this.limit>r.length)throw"faulty slice operation"},slice_from:function(i){this.slice_check(),this.replace_s(this.bra,this.ket,i)},slice_del:function(){this.slice_from("")},insert:function(i,a,o){var s=this.replace_s(i,a,o);i<=this.bra&&(this.bra+=s),i<=this.ket&&(this.ket+=s)},slice_to:function(){return this.slice_check(),r.substring(this.bra,this.ket)},eq_v_b:function(i){return this.eq_s_b(i.length,i)}}}},n.trimmerSupport={generateTrimmer:function(r){var i=new RegExp("^[^"+r+"]+"),a=new RegExp("[^"+r+"]+$");return function(o){return typeof o.update=="function"?o.update(function(s){return s.replace(i,"").replace(a,"")}):o.replace(i,"").replace(a,"")}}}}})}(Wy)),Wy.exports}var aFe=iFe();const oFe=Un(aFe);oFe(Ta);q$e(Ta);Y$e(Ta);Z$e(Ta);nFe(Ta);const sFe=8;function RF(e){return e.toLocaleLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/\u0142/g,"l")}function uFe(e,t){return e.score!==t.score?t.score-e.score:L$e(e.ref,t.ref)}function lFe(e,t,n){return(e.fams||[]).map(r=>n.get(r)).map(r=>r&&r.husb).map(r=>r&&t.get(r)).map(r=>r&&r.lastName).join(" ")}class cFe{constructor(t){this.indiMap=rP(t),this.famMap=ej(t)}initialize(){const t=this;this.index=Ta(function(){t.initMultiLingualLunrWithoutTrimmer(this,["de","en","fr","it","ru"]),this.ref("id"),this.field("id"),this.field("name",{boost:10}),this.field("normalizedName",{boost:8}),this.field("spouseLastName",{boost:2}),this.field("normalizedSpouseLastName",{boost:2}),t.indiMap.forEach(n=>{const r=[n.firstName,n.lastName].join(" "),i=lFe(n,t.indiMap,t.famMap);this.add({id:n.id,name:r,normalizedName:RF(r),spouseLastName:i,normalizedSpouseLastName:RF(i)})})})}initMultiLingualLunrWithoutTrimmer(t,n){let r="";const i=[],a=[];n.forEach(o=>{const s=Ta[o];o==="en"?(r+="\\w",i.unshift(Ta.stopWordFilter),i.push(Ta.stemmer),a.push(Ta.stemmer)):(r+=s.wordCharacters,s.stopWordFilter&&i.unshift(s.stopWordFilter),s.stemmer&&(i.push(s.stemmer),a.push(s.stemmer)))}),t.pipeline.reset(),t.pipeline.add.apply(t.pipeline,i),t.searchPipeline&&(t.searchPipeline.reset(),t.searchPipeline.add.apply(t.searchPipeline,a))}search(t){const n=t.split(" ").filter(i=>!!i).map(i=>`${i} ${i}*`).join(" ");return this.index.search(n).sort(uFe).slice(0,sFe).map(i=>({id:i.ref,indi:this.indiMap.get(i.ref)}))}}function fFe(e){const t=new cFe(e);return t.initialize(),t}function dFe(e){const t=[e.indi.firstName,e.indi.lastName].join(" ").trim();return e.id.length>8?t:U.jsxs(U.Fragment,{children:[t," ",U.jsxs("i",{children:["(",e.id,")"]})]})}function hFe(e){const[t,n]=J.useState([]),[r,i]=J.useState(""),a=J.useRef(void 0),o=ai();function s(p){const w=Wf(p.birth,o),g=Wf(p.death,o);return g?`${w} – ${g}`:w}function u(p){return{id:p.id,key:p.id,title:dFe(p),description:s(p.indi)}}function l(p){if(!p)return;const w=a.current.search(p).map(g=>u(g));n(w)}const c=J.useRef(D$e(l,200));function f(p){Fn("search_result_selected"),e.onSelection({id:p,generation:0}),i("")}function d(p){c.current(p),i(p)}return J.useEffect(()=>{a.current=fFe(e.data)},[e.data]),U.jsx(fu,{onSearchChange:(p,w)=>d(w.value),onResultSelect:(p,w)=>f(w.result.id),results:t,noResultsMessage:o.formatMessage({id:"menu.search.no_results",defaultMessage:"No results found"}),placeholder:o.formatMessage({id:"menu.search.placeholder",defaultMessage:"Search for people"}),selectFirstResult:!0,value:r,id:"search"})}var ZE={exports:{}},JE={exports:{}},IF;function pFe(){return IF||(IF=1,function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(n,r){return n<>>32-r},rotr:function(n,r){return n<<32-r|n>>>r},endian:function(n){if(n.constructor==Number)return t.rotl(n,8)&16711935|t.rotl(n,24)&4278255360;for(var r=0;r0;n--)r.push(Math.floor(Math.random()*256));return r},bytesToWords:function(n){for(var r=[],i=0,a=0;i>>5]|=n[i]<<24-a%32;return r},wordsToBytes:function(n){for(var r=[],i=0;i>>5]>>>24-i%32&255);return r},bytesToHex:function(n){for(var r=[],i=0;i>>4).toString(16)),r.push((n[i]&15).toString(16));return r.join("")},hexToBytes:function(n){for(var r=[],i=0;i>>6*(3-o)&63)):r.push("=");return r.join("")},base64ToBytes:function(n){n=n.replace(/[^A-Z0-9+\/]/ig,"");for(var r=[],i=0,a=0;i>>6-a*2);return r}};JE.exports=t}()),JE.exports}var eS,NF;function OF(){if(NF)return eS;NF=1;var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var n=[],r=0;r - * @license MIT - */var tS,DF;function mFe(){if(DF)return tS;DF=1,tS=function(n){return n!=null&&(e(n)||t(n)||!!n._isBuffer)};function e(n){return!!n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}function t(n){return typeof n.readFloatLE=="function"&&typeof n.slice=="function"&&e(n.slice(0,0))}return tS}var $F;function gFe(){return $F||($F=1,function(){var e=pFe(),t=OF().utf8,n=mFe(),r=OF().bin,i=function(a,o){a.constructor==String?o&&o.encoding==="binary"?a=r.stringToBytes(a):a=t.stringToBytes(a):n(a)?a=Array.prototype.slice.call(a,0):!Array.isArray(a)&&a.constructor!==Uint8Array&&(a=a.toString());for(var s=e.bytesToWords(a),u=a.length*8,l=1732584193,c=-271733879,f=-1732584194,d=271733878,p=0;p>>24)&16711935|(s[p]<<24|s[p]>>>8)&4278255360;s[u>>>5]|=128<>>9<<4)+14]=u;for(var w=i._ff,g=i._gg,y=i._hh,_=i._ii,p=0;p>>0,c=c+E>>>0,f=f+S>>>0,d=d+v>>>0}return e.endian([l,c,f,d])};i._ff=function(a,o,s,u,l,c,f){var d=a+(o&s|~o&u)+(l>>>0)+f;return(d<>>32-c)+o},i._gg=function(a,o,s,u,l,c,f){var d=a+(o&u|s&~u)+(l>>>0)+f;return(d<>>32-c)+o},i._hh=function(a,o,s,u,l,c,f){var d=a+(o^s^u)+(l>>>0)+f;return(d<>>32-c)+o},i._ii=function(a,o,s,u,l,c,f){var d=a+(s^(o|~u))+(l>>>0)+f;return(d<>>32-c)+o},i._blocksize=16,i._digestsize=16,ZE.exports=function(a,o){if(a==null)throw new Error("Illegal argument "+a);var s=e.wordsToBytes(i(a,o));return o&&o.asBytes?s:o&&o.asString?r.bytesToString(s):e.bytesToHex(s)}}()),ZE.exports}var vFe=gFe();const FF=Un(vFe);function yFe(e){const t=e.toLowerCase();return t.endsWith(".jpg")||t.endsWith(".png")}function nS(e){const t=Dl(),n=si();async function r(a){const o=a.target.files;if(!o||!o.length)return;const s=Array.from(o);a.target.value="",Fn("upload_files_selected",{event_value:o.length});const u=s.length===1?s[0]:s.find(g=>g.name.toLowerCase().endsWith(".ged"))||s[0],{gedcom:l,images:c}=await Dj(u);s.filter(g=>g.name!==u.name&&yFe(g.name)).forEach(g=>c.set(g.name,URL.createObjectURL(g)));const f=Array.from(c.keys()).sort().join("|"),d=FF(FF(l)+f),w=Ur.parse(n.search).file===d;t({pathname:"/view",search:Ur.stringify({file:d})},{replace:w,state:{data:l,images:c}})}const i=U.jsxs(U.Fragment,{children:[U.jsx(lt,{name:"folder open"}),U.jsx(He,{id:"menu.open_file",defaultMessage:"Open file"})]});return U.jsxs(U.Fragment,{children:[e.menuType===ar.Menu?U.jsx("label",{htmlFor:"fileInput",children:U.jsx(on.Item,{as:"a",children:i})}):U.jsx(at.Item,{as:"label",htmlFor:"fileInput",children:i}),U.jsx("input",{className:"hidden",type:"file",accept:".ged,.gdz,.gedzip,.zip,image/*",id:"fileInput",multiple:!0,onChange:r})]})}function rS(e){const[t,n]=J.useState(!1),[r,i]=J.useState(""),a=J.useRef(null),o=Dl();J.useEffect(()=>{t&&(i(""),a.current.focus())},[t]);function s(){n(!1),r&&(Fn("url_selected"),o({pathname:"/view",search:Ur.stringify({url:r})}))}function u(){return U.jsxs(Pn,{open:t,onClose:()=>n(!1),centered:!1,children:[U.jsxs(sn,{children:[U.jsx(lt,{name:"cloud download"}),U.jsx(He,{id:"load_from_url.title",defaultMessage:"Load from URL"})]}),U.jsx(Pn.Content,{children:U.jsxs(tn,{onSubmit:s,children:[U.jsx(Lo,{placeholder:"https://",fluid:!0,value:r,onChange:(l,c)=>i(c.value),ref:a}),U.jsx("p",{children:U.jsx(He,{id:"load_from_url.comment",defaultMessage:"Data from the URL will be loaded through {link} to avoid CORS issues.",values:{link:U.jsx("a",{href:"https://topolaproxy.bieda.it/",children:"topolaproxy.bieda.it (cors-anywhere proxy)"})}})})]})}),U.jsxs(Pn.Actions,{children:[U.jsx(zn,{secondary:!0,onClick:()=>n(!1),children:U.jsx(He,{id:"load_from_url.cancel",defaultMessage:"Cancel"})}),U.jsx(zn,{primary:!0,onClick:s,children:U.jsx(He,{id:"load_from_url.load",defaultMessage:"Load"})})]})]})}return U.jsxs(U.Fragment,{children:[U.jsxs(mw,{onClick:()=>n(!0),menuType:e.menuType,children:[U.jsx(lt,{name:"cloud download"}),U.jsx(He,{id:"menu.load_from_url",defaultMessage:"Load from URL"})]}),u()]})}const gw=""+new URL("wikitree-B3ZIaA3X.png",import.meta.url).href;function np(e){const[t,n]=J.useState(!1),[r,i]=J.useState(""),a=J.useRef(null),o=Dl(),s=si();J.useEffect(()=>{t&&(i(""),a.current.focus())},[t]);function u(){if(n(!1),!r)return;Fn("wikitree_id_selected");const f=Ur.parse(s.search),d=f.standalone!==void 0?f.standalone:!0;o({pathname:"/view",search:Ur.stringify({indi:r,source:"wikitree",standalone:d})})}function l(f,d){f.preventDefault(),i(d),a.current.focus()}function c(){return U.jsxs(Pn,{open:t,onClose:()=>n(!1),centered:!1,children:[U.jsxs(sn,{children:[U.jsx("img",{src:gw,alt:"WikiTree logo",style:{width:"32px",height:"32px"}}),U.jsx(He,{id:"select_wikitree_id.title",defaultMessage:"Select WikiTree ID"})]}),U.jsx(Pn.Content,{children:U.jsxs(tn,{onSubmit:u,children:[U.jsx("p",{children:U.jsx(He,{id:"select_wikitree_id.comment",defaultMessage:"Enter a {wikiTreeLink} profile ID. Examples: {example1}, {example2}.",values:{wikiTreeLink:U.jsx("a",{href:"https://wikitree.com/",target:"_blank",rel:"noopener noreferrer",children:"WikiTree"}),example1:U.jsx("span",{onClick:f=>l(f,"Wojtyla-13"),className:"link-span",children:"Wojtyla-13"}),example2:U.jsx("span",{onClick:f=>l(f,"Skłodowska-2"),className:"link-span",children:"Skłodowska-2"})}})}),U.jsx(Lo,{fluid:!0,value:r,onChange:(f,d)=>i(d.value),ref:a})]})}),U.jsxs(Pn.Actions,{children:[U.jsx(zn,{secondary:!0,onClick:()=>n(!1),children:U.jsx(He,{id:"select_wikitree_id.cancel",defaultMessage:"Cancel"})}),U.jsx(zn,{primary:!0,onClick:u,children:U.jsx(He,{id:"select_wikitree_id.load",defaultMessage:"Load"})})]})]})}return U.jsxs(U.Fragment,{children:[U.jsxs(mw,{menuType:e.menuType,onClick:()=>n(!0),children:[U.jsx("img",{src:gw,alt:"WikiTree logo",className:"menu-icon"}),U.jsx(He,{id:"menu.select_wikitree_id",defaultMessage:"Select WikiTree ID"})]}),c()]})}function wFe(e){const t=ai();function n(){const o=`https://apps.wikitree.com/apps/wiech13/topola-viewer${window.location.hash}`;Vf.navigateToLoginPage(o)}const r=Vf.getLoggedInUserName();if(!r)return U.jsx(U.Fragment,{children:U.jsxs(mw,{menuType:e.menuType,onClick:n,children:[U.jsx("img",{src:gw,alt:"WikiTree logo",className:"menu-icon"}),U.jsx(He,{id:"menu.wikitree_login",defaultMessage:"Log in to WikiTree"})]})});const i=t.formatMessage({id:"menu.wikitree_popup_username",defaultMessage:"Logged in to WikiTree as {username}"},{username:r});return U.jsxs(mw,{menuType:e.menuType,title:i,children:[U.jsx("img",{src:gw,alt:"WikiTree logo",className:"menu-icon"}),U.jsx(He,{id:"menu.wikitree_logged_in",defaultMessage:"Logged in"})]})}function _Fe(e){const t=Dl(),n=si();function r(c){const f=Ur.parse(n.search);f.view!==c&&(f.view=c,n.search=Ur.stringify(f),t(n))}function i(c){if(!e.showingChart)return null;const f=U.jsxs(U.Fragment,{children:[U.jsxs(at.Item,{onClick:()=>r("hourglass"),children:[U.jsx(lt,{name:"hourglass"}),U.jsx(He,{id:"menu.hourglass",defaultMessage:"Hourglass chart"})]}),e.allowAllRelativesChart?U.jsxs(at.Item,{onClick:()=>r("relatives"),children:[U.jsx(lt,{name:"users"}),U.jsx(He,{id:"menu.relatives",defaultMessage:"All relatives"})]}):null,U.jsxs(at.Item,{onClick:()=>r("donatso"),children:[U.jsx(lt,{name:"users"}),U.jsx(He,{id:"menu.donatso",defaultMessage:"Donatso family chart"})]}),U.jsxs(at.Item,{onClick:()=>r("fancy"),children:[U.jsx(lt,{name:"users"}),U.jsx(He,{id:"menu.fancy",defaultMessage:"Fancy tree (experimental)"})]})]});switch(c){case 0:return U.jsxs(U.Fragment,{children:[U.jsxs(on.Item,{onClick:e.eventHandlers.onPrint,disabled:!e.allowPrintAndDownload,children:[U.jsx(lt,{name:"print"}),U.jsx(He,{id:"menu.print",defaultMessage:"Print"})]}),U.jsx(at,{trigger:U.jsxs("div",{children:[U.jsx(lt,{name:"download"}),U.jsx(He,{id:"menu.download",defaultMessage:"Download"})]}),className:"item",disabled:!e.allowPrintAndDownload,children:U.jsxs(at.Menu,{children:[U.jsx(at.Item,{onClick:e.eventHandlers.onDownloadPdf,children:U.jsx(He,{id:"menu.pdf_file",defaultMessage:"PDF file"})}),U.jsx(at.Item,{onClick:e.eventHandlers.onDownloadPng,children:U.jsx(He,{id:"menu.png_file",defaultMessage:"PNG file"})}),U.jsx(at.Item,{onClick:e.eventHandlers.onDownloadSvg,children:U.jsx(He,{id:"menu.svg_file",defaultMessage:"SVG file"})})]})}),U.jsx(at,{trigger:U.jsxs("div",{children:[U.jsx(lt,{name:"eye"}),U.jsx(He,{id:"menu.view",defaultMessage:"View"})]}),className:"item",children:U.jsx(at.Menu,{children:f})}),U.jsx(hFe,{data:e.data,onSelection:e.eventHandlers.onSelection,...e})]});case 1:return U.jsxs(U.Fragment,{children:[U.jsxs(at.Item,{onClick:e.eventHandlers.onPrint,children:[U.jsx(lt,{name:"print"}),U.jsx(He,{id:"menu.print",defaultMessage:"Print"})]}),U.jsx(at.Divider,{}),U.jsxs(at.Item,{onClick:e.eventHandlers.onDownloadPdf,children:[U.jsx(lt,{name:"download"}),U.jsx(He,{id:"menu.download_pdf",defaultMessage:"Download PDF"})]}),U.jsxs(at.Item,{onClick:e.eventHandlers.onDownloadPng,children:[U.jsx(lt,{name:"download"}),U.jsx(He,{id:"menu.download_png",defaultMessage:"Download PNG"})]}),U.jsxs(at.Item,{onClick:e.eventHandlers.onDownloadSvg,children:[U.jsx(lt,{name:"download"}),U.jsx(He,{id:"menu.download_svg",defaultMessage:"Download SVG"})]}),U.jsx(at.Divider,{}),f,U.jsx(at.Divider,{})]})}}function a(){return U.jsx(on.Item,{children:U.jsx("b",{children:"Topola Genealogy"})})}function o(c){if(!e.standalone&&e.showWikiTreeMenus)switch(c){case 0:return U.jsx(np,{menuType:ar.Menu,...e});case 1:return U.jsxs(U.Fragment,{children:[U.jsx(np,{menuType:ar.Dropdown,...e}),U.jsx(at.Divider,{})]})}if(!e.standalone)return null;switch(c){case 0:return e.showingChart?U.jsx(at,{trigger:U.jsxs("div",{children:[U.jsx(lt,{name:"folder open"}),U.jsx(He,{id:"menu.open",defaultMessage:"Open"})]}),className:"item",children:U.jsxs(at.Menu,{children:[U.jsx(nS,{menuType:ar.Dropdown,...e}),U.jsx(rS,{menuType:ar.Dropdown,...e}),U.jsx(np,{menuType:ar.Dropdown,...e})]})}):U.jsxs(U.Fragment,{children:[U.jsx(nS,{menuType:ar.Menu,...e}),U.jsx(rS,{menuType:ar.Menu,...e}),U.jsx(np,{menuType:ar.Menu,...e})]});case 1:return U.jsxs(U.Fragment,{children:[U.jsx(nS,{menuType:ar.Dropdown,...e}),U.jsx(rS,{menuType:ar.Dropdown,...e}),U.jsx(np,{menuType:ar.Dropdown,...e}),U.jsx(at.Divider,{})]})}}function s(c){return e.showWikiTreeMenus?U.jsxs(U.Fragment,{children:[U.jsx(wFe,{menuType:c===1?ar.Dropdown:ar.Menu,...e}),c===1?U.jsx(at.Divider,{}):null]}):null}function u(){return U.jsxs(U.Fragment,{children:[U.jsx(at,{trigger:U.jsx("div",{children:U.jsx(lt,{name:"sidebar"})}),className:"item",icon:null,children:U.jsxs(at.Menu,{children:[o(1),i(1),s(1),U.jsx(at.Item,{href:"https://github.com/PeWu/topola-viewer",target:"_blank",rel:"noopener noreferrer",children:U.jsx(He,{id:"menu.github",defaultMessage:"GitHub project"})})]})}),e.standalone?U.jsx(cf,{to:"/",children:a()}):a()]})}function l(){return U.jsxs(U.Fragment,{children:[e.standalone?U.jsx(cf,{to:"/",children:a()}):null,o(0),i(0),U.jsxs(on.Menu,{position:"right",children:[s(0),U.jsx(on.Item,{href:"https://github.com/PeWu/topola-viewer",target:"_blank",rel:"noopener noreferrer",children:U.jsx(He,{id:"menu.github",defaultMessage:"GitHub project"})})]})]})}return U.jsxs(U.Fragment,{children:[U.jsx(on,{as:Qc,greaterThanOrEqual:"large",attached:"top",inverted:!0,color:"blue",size:"large",children:l()}),U.jsx(on,{as:Qc,at:"small",attached:"top",inverted:!0,color:"blue",size:"large",children:u()})]})}function bFe(e){const n=e.gedcom.indis[e.indi].tree.find(i=>i.tag==="NAME"),r=(n==null?void 0:n.data.replaceAll("/",""))??"";return U.jsx("div",{className:"collapsed-details",children:r?U.jsx("span",{className:"vertical-name",children:r}):U.jsx("span",{className:"vertical-name",children:U.jsx(He,{id:"name.unknown_name",defaultMessage:"N.N."})})})}var iS,LF;function _Q(){if(LF)return iS;LF=1;var e=Object.prototype.toString;return iS=function(n){var r=e.call(n),i=r==="[object Arguments]";return i||(i=r!=="[object Array]"&&n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&e.call(n.callee)==="[object Function]"),i},iS}var aS,BF;function xFe(){if(BF)return aS;BF=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=_Q(),i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),o=i.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(d){var p=d.constructor;return p&&p.prototype===d},l={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},c=function(){if(typeof window>"u")return!1;for(var d in window)try{if(!l["$"+d]&&t.call(window,d)&&window[d]!==null&&typeof window[d]=="object")try{u(window[d])}catch{return!0}}catch{return!0}return!1}(),f=function(d){if(typeof window>"u"||!c)return u(d);try{return u(d)}catch{return!1}};e=function(p){var w=p!==null&&typeof p=="object",g=n.call(p)==="[object Function]",y=r(p),_=w&&n.call(p)==="[object String]",b=[];if(!w&&!g&&!y)throw new TypeError("Object.keys called on a non-object");var E=o&&g;if(_&&p.length>0&&!t.call(p,0))for(var S=0;S0)for(var v=0;v3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new n("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new n("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new n("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new n("`loose`, if provided, must be a boolean");var u=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,f=arguments.length>6?arguments[6]:!1,d=!!r&&r(a,o);if(e)e(a,o,{configurable:c===null&&d?d.configurable:!c,enumerable:u===null&&d?d.enumerable:!u,value:s,writable:l===null&&d?d.writable:!l});else if(f||!u&&!l&&!c)a[o]=s;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},dS}var hS,VF;function W_(){if(VF)return hS;VF=1;var e=Bg(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},hS=t,hS}var pS,YF;function dR(){if(YF)return pS;YF=1;var e=EFe(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",n=Object.prototype.toString,r=Array.prototype.concat,i=fR(),a=function(l){return typeof l=="function"&&n.call(l)==="[object Function]"},o=W_()(),s=function(l,c,f,d){if(c in l){if(d===!0){if(l[c]===f)return}else if(!a(d)||!d())return}o?i(l,c,f,!0):i(l,c,f)},u=function(l,c){var f=arguments.length>2?arguments[2]:{},d=e(c);t&&(d=r.call(d,Object.getOwnPropertySymbols(c)));for(var p=0;p"u"||!A?e:A(Uint8Array),F={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":C&&A?A([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":B,"%AsyncGenerator%":B,"%AsyncGeneratorFunction%":B,"%AsyncIteratorPrototype%":B,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":r,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":B,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":C&&A?A(A([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!C||!A?e:A(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":i,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!C||!A?e:A(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":C&&A?A(""[Symbol.iterator]()):e,"%Symbol%":C?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":v,"%TypedArray%":V,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":P,"%Function.prototype.apply%":N,"%Object.defineProperty%":E,"%Object.getPrototypeOf%":M,"%Math.abs%":l,"%Math.floor%":c,"%Math.max%":f,"%Math.min%":d,"%Math.pow%":p,"%Math.round%":w,"%Math.sign%":g,"%Reflect.getPrototypeOf%":R};if(A)try{null.error}catch(pe){var $=A(A(pe));F["%Error.prototype%"]=$}var z=function pe(be){var Ne;if(be==="%AsyncFunction%")Ne=_("async function () {}");else if(be==="%GeneratorFunction%")Ne=_("function* () {}");else if(be==="%AsyncGeneratorFunction%")Ne=_("async function* () {}");else if(be==="%AsyncGenerator%"){var ge=pe("%AsyncGeneratorFunction%");ge&&(Ne=ge.prototype)}else if(be==="%AsyncIteratorPrototype%"){var Fe=pe("%AsyncGenerator%");Fe&&A&&(Ne=A(Fe.prototype))}return F[be]=Ne,Ne},Q={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},K=Ug(),j=Kl(),L=K.call(P,Array.prototype.concat),W=K.call(N,Array.prototype.splice),G=K.call(P,String.prototype.replace),H=K.call(P,String.prototype.slice),ne=K.call(P,RegExp.prototype.exec),ce=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,me=/\\(\\)?/g,we=function(be){var Ne=H(be,0,1),ge=H(be,-1);if(Ne==="%"&&ge!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(ge==="%"&&Ne!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var Fe=[];return G(be,ce,function(_e,Qe,Le,Me){Fe[Fe.length]=Le?G(Me,me,"$1"):Qe||_e}),Fe},xe=function(be,Ne){var ge=be,Fe;if(j(Q,ge)&&(Fe=Q[ge],ge="%"+Fe[0]+"%"),j(F,ge)){var _e=F[ge];if(_e===B&&(_e=z(ge)),typeof _e>"u"&&!Ne)throw new s("intrinsic "+be+" exists, but is not available. Please file an issue!");return{alias:Fe,name:ge,value:_e}}throw new o("intrinsic "+be+" does not exist!")};return qS=function(be,Ne){if(typeof be!="string"||be.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Ne!="boolean")throw new s('"allowMissing" argument must be a boolean');if(ne(/^%?[^%]*%?$/,be)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ge=we(be),Fe=ge.length>0?ge[0]:"",_e=xe("%"+Fe+"%",Ne),Qe=_e.name,Le=_e.value,Me=!1,it=_e.alias;it&&(Fe=it[0],W(ge,L([0,1],it)));for(var _t=1,ht=!0;_t=ge.length){var On=b(Le,xt);ht=!!On,ht&&"get"in On&&!("originalValue"in On.get)?Le=On.get:Le=Le[xt]}else ht=j(Le,xt),Le=Le[xt];ht&&!Me&&(F[Qe]=Le)}}return Le},qS}var GS,SL;function LFe(){if(SL)return GS;SL=1;var e=sa(),t=fR(),n=W_()(),r=Ql(),i=Pt(),a=e("%Math.floor%");return GS=function(s,u){if(typeof s!="function")throw new i("`fn` is not a function");if(typeof u!="number"||u<0||u>4294967295||a(u)!==u)throw new i("`length` must be a positive 32-bit integer");var l=arguments.length>2&&!!arguments[2],c=!0,f=!0;if("length"in s&&r){var d=r(s,"length");d&&!d.configurable&&(c=!1),d&&!d.writable&&(f=!1)}return(c||f||!l)&&(n?t(s,"length",u,!0,!0):t(s,"length",u)),s},GS}var WS,CL;function BFe(){if(CL)return WS;CL=1;var e=Ug(),t=mR(),n=AQ();return WS=function(){return n(e,t,arguments)},WS}var kL;function TQ(){return kL||(kL=1,function(e){var t=LFe(),n=Bg(),r=Y_(),i=BFe();e.exports=function(o){var s=r(arguments),u=o.length-(arguments.length-1);return t(s,1+(u>0?u:0),!0)},n?n(e.exports,"apply",{value:i}):e.exports.apply=i}(mS)),mS.exports}var VS,AL;function MQ(){if(AL)return VS;AL=1;var e=zg();return VS=function(n){return(typeof n=="number"||typeof n=="bigint")&&!e(n)&&n!==1/0&&n!==-1/0},VS}var YS,TL;function PQ(){if(TL)return YS;TL=1;var e=xQ(),t=hR(),n=zg(),r=MQ();return YS=function(a){if(typeof a!="number"||n(a)||!r(a))return!1;var o=e(a);return t(o)===o},YS}var QS,ML;function zFe(){return ML||(ML=1,QS=4294967295),QS}var KS,PL;function UFe(){return PL||(PL=1,KS=typeof Reflect<"u"&&Reflect.setPrototypeOf||null),KS}var XS,RL;function jFe(){if(RL)return XS;RL=1;var e=V_();return XS=e.setPrototypeOf||null,XS}var ZS,IL;function HFe(){if(IL)return ZS;IL=1;var e=Y_(),t=Ql(),n=Pt(),r={};try{r.__proto__=null}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var i=!("toString"in r),a=t&&t(Object.prototype,"__proto__");return ZS=i&&(!!a&&typeof a.set=="function"&&e([a.set])||function(s,u){if(s==null)throw new n("set Object.prototype.__proto__ called on null or undefined");return s.__proto__=u,u}),ZS}var JS,NL;function qFe(){if(NL)return JS;NL=1;var e=UFe(),t=jFe(),n=HFe(),r=Pt();return JS=e?function(a,o){if(e(a,o))return a;throw new r("Reflect.setPrototypeOf: failed to set [[Prototype]]")}:t||(n?function(a,o){return n(a,o),a}:null),JS}var eC,OL;function GFe(){if(OL)return eC;OL=1;var e=sa(),t=e("%Array.prototype%"),n=bQ(),r=G_(),i=Pt(),a=PQ(),o=zFe(),s=qFe();return eC=function(l){if(!a(l)||l<0)throw new i("Assertion failed: `length` must be an integer Number >= 0");if(l>o)throw new n("length is greater than (2**32 - 1)");var c=arguments.length>1?arguments[1]:t,f=[];if(c!==t){if(!s)throw new r("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");s(f,c)}return l!==0&&(f.length=l),f},eC}const WFe={},VFe=Object.freeze(Object.defineProperty({__proto__:null,default:WFe},Symbol.toStringTag,{value:"Module"})),YFe=Zm(VFe);var tC,DL;function QFe(){if(DL)return tC;DL=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=e&&t&&typeof t.get=="function"?t.get:null,r=e&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,a=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=i&&a&&typeof a.get=="function"?a.get:null,s=i&&Set.prototype.forEach,u=typeof WeakMap=="function"&&WeakMap.prototype,l=u?WeakMap.prototype.has:null,c=typeof WeakSet=="function"&&WeakSet.prototype,f=c?WeakSet.prototype.has:null,d=typeof WeakRef=="function"&&WeakRef.prototype,p=d?WeakRef.prototype.deref:null,w=Boolean.prototype.valueOf,g=Object.prototype.toString,y=Function.prototype.toString,_=String.prototype.match,b=String.prototype.slice,E=String.prototype.replace,S=String.prototype.toUpperCase,v=String.prototype.toLowerCase,C=RegExp.prototype.test,A=Array.prototype.concat,M=Array.prototype.join,R=Array.prototype.slice,N=Math.floor,P=typeof BigInt=="function"?BigInt.prototype.valueOf:null,B=Object.getOwnPropertySymbols,V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,F=typeof Symbol=="function"&&typeof Symbol.iterator=="object",$=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===F||!0)?Symbol.toStringTag:null,z=Object.prototype.propertyIsEnumerable,Q=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(se){return se.__proto__}:null);function K(se,ue){if(se===1/0||se===-1/0||se!==se||se&&se>-1e3&&se<1e3||C.call(/e/,ue))return ue;var je=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof se=="number"){var Be=se<0?-N(-se):N(se);if(Be!==se){var Rt=String(Be),ot=b.call(ue,Rt.length+1);return E.call(Rt,je,"$&_")+"."+E.call(E.call(ot,/([0-9]{3})/g,"$&_"),/_$/,"")}}return E.call(ue,je,"$&_")}var j=YFe,L=j.custom,W=Fe(L)?L:null,G={__proto__:null,double:'"',single:"'"},H={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};tC=function se(ue,je,Be,Rt){var ot=je||{};if(Le(ot,"quoteStyle")&&!Le(G,ot.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Le(ot,"maxStringLength")&&(typeof ot.maxStringLength=="number"?ot.maxStringLength<0&&ot.maxStringLength!==1/0:ot.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var nr=Le(ot,"customInspect")?ot.customInspect:!0;if(typeof nr!="boolean"&&nr!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Le(ot,"indent")&&ot.indent!==null&&ot.indent!==" "&&!(parseInt(ot.indent,10)===ot.indent&&ot.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Le(ot,"numericSeparator")&&typeof ot.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Er=ot.numericSeparator;if(typeof ue>"u")return"undefined";if(ue===null)return"null";if(typeof ue=="boolean")return ue?"true":"false";if(typeof ue=="string")return ye(ue,ot);if(typeof ue=="number"){if(ue===0)return 1/0/ue>0?"0":"-0";var Hn=String(ue);return Er?K(ue,Hn):Hn}if(typeof ue=="bigint"){var $i=String(ue)+"n";return Er?K(ue,$i):$i}var Zl=typeof ot.depth>"u"?5:ot.depth;if(typeof Be>"u"&&(Be=0),Be>=Zl&&Zl>0&&typeof ue=="object")return me(ue)?"[Array]":"[Object]";var ro=de(ot,Be);if(typeof Rt>"u")Rt=[];else if(_t(Rt,ue)>=0)return"[Circular]";function Sr(rs,bu,qg){if(bu&&(Rt=R.call(Rt),Rt.push(bu)),qg){var Fd={depth:ot.depth};return Le(ot,"quoteStyle")&&(Fd.quoteStyle=ot.quoteStyle),se(rs,Fd,Be+1,Rt)}return se(rs,ot,Be+1,Rt)}if(typeof ue=="function"&&!xe(ue)){var Jl=it(ue),Od=et(ue,Sr);return"[Function"+(Jl?": "+Jl:" (anonymous)")+"]"+(Od.length>0?" { "+M.call(Od,", ")+" }":"")}if(Fe(ue)){var ts=F?E.call(String(ue),/^(Symbol\(.*\))_[^)]*$/,"$1"):V.call(ue);return typeof ue=="object"&&!F?I(ts):ts}if(Sn(ue)){for(var io="<"+v.call(String(ue.nodeName)),ao=ue.attributes||[],ec=0;ec",io}if(me(ue)){if(ue.length===0)return"[]";var oo=et(ue,Sr);return ro&&!ie(oo)?"["+ve(oo,ro)+"]":"[ "+M.call(oo,", ")+" ]"}if(pe(ue)){var ns=et(ue,Sr);return!("cause"in Error.prototype)&&"cause"in ue&&!z.call(ue,"cause")?"{ ["+String(ue)+"] "+M.call(A.call("[cause]: "+Sr(ue.cause),ns),", ")+" }":ns.length===0?"["+String(ue)+"]":"{ ["+String(ue)+"] "+M.call(ns,", ")+" }"}if(typeof ue=="object"&&nr){if(W&&typeof ue[W]=="function"&&j)return j(ue,{depth:Zl-Be});if(nr!=="symbol"&&typeof ue.inspect=="function")return ue.inspect()}if(ht(ue)){var _u=[];return r&&r.call(ue,function(rs,bu){_u.push(Sr(bu,ue,!0)+" => "+Sr(rs,ue))}),X("Map",n.call(ue),_u,ro)}if(pn(ue)){var tc=[];return s&&s.call(ue,function(rs){tc.push(Sr(rs,ue))}),X("Set",o.call(ue),tc,ro)}if(xt(ue))return D("WeakMap");if(On(ue))return D("WeakSet");if(At(ue))return D("WeakRef");if(Ne(ue))return I(Sr(Number(ue)));if(_e(ue))return I(Sr(P.call(ue)));if(ge(ue))return I(w.call(ue));if(be(ue))return I(Sr(String(ue)));if(typeof window<"u"&&ue===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ue===globalThis||typeof Ma<"u"&&ue===Ma)return"{ [object globalThis] }";if(!we(ue)&&!xe(ue)){var Dd=et(ue,Sr),jg=Q?Q(ue)===Object.prototype:ue instanceof Object||ue.constructor===Object,$d=ue instanceof Object?"":"null prototype",la=!jg&&$&&Object(ue)===ue&&$ in ue?b.call(Me(ue),8,-1):$d?"Object":"",Hg=jg||typeof ue.constructor!="function"?"":ue.constructor.name?ue.constructor.name+" ":"",nc=Hg+(la||$d?"["+M.call(A.call([],la||[],$d||[]),": ")+"] ":"");return Dd.length===0?nc+"{}":ro?nc+"{"+ve(Dd,ro)+"}":nc+"{ "+M.call(Dd,", ")+" }"}return String(ue)};function ne(se,ue,je){var Be=je.quoteStyle||ue,Rt=G[Be];return Rt+se+Rt}function ce(se){return E.call(String(se),/"/g,""")}function me(se){return Me(se)==="[object Array]"&&(!$||!(typeof se=="object"&&$ in se))}function we(se){return Me(se)==="[object Date]"&&(!$||!(typeof se=="object"&&$ in se))}function xe(se){return Me(se)==="[object RegExp]"&&(!$||!(typeof se=="object"&&$ in se))}function pe(se){return Me(se)==="[object Error]"&&(!$||!(typeof se=="object"&&$ in se))}function be(se){return Me(se)==="[object String]"&&(!$||!(typeof se=="object"&&$ in se))}function Ne(se){return Me(se)==="[object Number]"&&(!$||!(typeof se=="object"&&$ in se))}function ge(se){return Me(se)==="[object Boolean]"&&(!$||!(typeof se=="object"&&$ in se))}function Fe(se){if(F)return se&&typeof se=="object"&&se instanceof Symbol;if(typeof se=="symbol")return!0;if(!se||typeof se!="object"||!V)return!1;try{return V.call(se),!0}catch{}return!1}function _e(se){if(!se||typeof se!="object"||!P)return!1;try{return P.call(se),!0}catch{}return!1}var Qe=Object.prototype.hasOwnProperty||function(se){return se in this};function Le(se,ue){return Qe.call(se,ue)}function Me(se){return g.call(se)}function it(se){if(se.name)return se.name;var ue=_.call(y.call(se),/^function\s*([\w$]+)/);return ue?ue[1]:null}function _t(se,ue){if(se.indexOf)return se.indexOf(ue);for(var je=0,Be=se.length;jeue.maxStringLength){var je=se.length-ue.maxStringLength,Be="... "+je+" more character"+(je>1?"s":"");return ye(b.call(se,0,ue.maxStringLength),ue)+Be}var Rt=H[ue.quoteStyle||"single"];Rt.lastIndex=0;var ot=E.call(E.call(se,Rt,"\\$1"),/[\x00-\x1f]/g,q);return ne(ot,"single",ue)}function q(se){var ue=se.charCodeAt(0),je={8:"b",9:"t",10:"n",12:"f",13:"r"}[ue];return je?"\\"+je:"\\x"+(ue<16?"0":"")+S.call(ue.toString(16))}function I(se){return"Object("+se+")"}function D(se){return se+" { ? }"}function X(se,ue,je,Be){var Rt=Be?ve(je,Be):M.call(je,", ");return se+" ("+ue+") {"+Rt+"}"}function ie(se){for(var ue=0;ue=0)return!1;return!0}function de(se,ue){var je;if(se.indent===" ")je=" ";else if(typeof se.indent=="number"&&se.indent>0)je=M.call(Array(se.indent+1)," ");else return null;return{base:je,prev:M.call(Array(ue+1),je)}}function ve(se,ue){if(se.length===0)return"";var je=` -`+ue.prev+ue.base;return je+M.call(se,","+je)+` -`+ue.prev}function et(se,ue){var je=me(se),Be=[];if(je){Be.length=se.length;for(var Rt=0;Rt-1?t([o]):o},aC}var oC,zL;function RQ(){if(zL)return oC;zL=1;var e=sa(),t=e("%Array%"),n=!t.isArray&&es()("Object.prototype.toString");return oC=t.isArray||function(i){return n(i)==="[object Array]"},oC}var sC,UL;function gR(){return UL||(UL=1,sC=RQ()),sC}var Qv={exports:{}},uC,jL;function KFe(){return jL||(jL=1,uC=sa()),uC}var lC,HL;function wu(){if(HL)return lC;HL=1;var e=Pt(),t=Kl(),n={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};return lC=function(i){if(!i||typeof i!="object")return!1;for(var a in i)if(t(i,a)&&!n[a])return!1;var o=t(i,"[[Value]]")||t(i,"[[Writable]]"),s=t(i,"[[Get]]")||t(i,"[[Set]]");if(o&&s)throw new e("Property Descriptors may not be both accessor and data descriptors");return!0},lC}var cC,qL;function IQ(){if(qL)return cC;qL=1;var e=W_(),t=Bg(),n=e.hasArrayLengthDefineBug(),r=n&&RQ(),i=es(),a=i("Object.prototype.propertyIsEnumerable");return cC=function(s,u,l,c,f,d){if(!t){if(!s(d)||!d["[[Configurable]]"]||!d["[[Writable]]"]||f in c&&a(c,f)!==!!d["[[Enumerable]]"])return!1;var p=d["[[Value]]"];return c[f]=p,u(c[f],p)}return n&&f==="length"&&"[[Value]]"in d&&r(c)&&c.length!==d["[[Value]]"]?(c.length=d["[[Value]]"],c.length===d["[[Value]]"]):(t(c,f,l(d)),!0)},cC}var fC,GL;function XFe(){return GL||(GL=1,fC=function(t){if(typeof t>"u")return t;var n={};return"[[Value]]"in t&&(n.value=t["[[Value]]"]),"[[Writable]]"in t&&(n.writable=!!t["[[Writable]]"]),"[[Get]]"in t&&(n.get=t["[[Get]]"]),"[[Set]]"in t&&(n.set=t["[[Set]]"]),"[[Enumerable]]"in t&&(n.enumerable=!!t["[[Enumerable]]"]),"[[Configurable]]"in t&&(n.configurable=!!t["[[Configurable]]"]),n}),fC}var dC,WL;function NQ(){if(WL)return dC;WL=1;var e=Pt(),t=wu(),n=XFe();return dC=function(i){if(typeof i<"u"&&!t(i))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return n(i)},dC}var hC,VL;function vR(){if(VL)return hC;VL=1;var e=Pt(),t=Kl(),n=wu();return hC=function(i){if(typeof i>"u")return!1;if(!n(i))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!(!t(i,"[[Value]]")&&!t(i,"[[Writable]]"))},hC}var pC,YL;function yR(){if(YL)return pC;YL=1;var e=zg();return pC=function(n,r){return n===r?n===0?1/n===1/r:!0:e(n)&&e(r)},pC}var mC,QL;function OQ(){if(QL)return mC;QL=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,n,r;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{n=Object.defineProperty({},"length",{get:function(){throw r}}),r={},t(function(){throw 42},null,n)}catch(b){b!==r&&(t=null)}else t=null;var i=/^\s*class\b/,a=function(E){try{var S=e.call(E);return i.test(S)}catch{return!1}},o=function(E){try{return a(E)?!1:(e.call(E),!0)}catch{return!1}},s=Object.prototype.toString,u="[object Object]",l="[object Function]",c="[object GeneratorFunction]",f="[object HTMLAllCollection]",d="[object HTML document.all class]",p="[object HTMLCollection]",w=typeof Symbol=="function"&&!!Symbol.toStringTag,g=!(0 in[,]),y=function(){return!1};if(typeof document=="object"){var _=document.all;s.call(_)===s.call(document.all)&&(y=function(E){if((g||!E)&&(typeof E>"u"||typeof E=="object"))try{var S=s.call(E);return(S===f||S===d||S===p||S===u)&&E("")==null}catch{}return!1})}return mC=t?function(E){if(y(E))return!0;if(!E||typeof E!="function"&&typeof E!="object")return!1;try{t(E,null,n)}catch(S){if(S!==r)return!1}return!a(E)&&o(E)}:function(E){if(y(E))return!0;if(!E||typeof E!="function"&&typeof E!="object")return!1;if(w)return o(E);if(a(E))return!1;var S=s.call(E);return S!==l&&S!==c&&!/^\[object HTML/.test(S)?!1:o(E)},mC}var gC,KL;function DQ(){return KL||(KL=1,gC=OQ()),gC}var vC,XL;function ZFe(){return XL||(XL=1,vC=function(t){return!!t}),vC}var yC,ZL;function $Q(){if(ZL)return yC;ZL=1;var e=Kl(),t=Pt(),n=DQ(),r=ZFe(),i=ua();return yC=function(o){if(!i(o))throw new t("ToPropertyDescriptor requires an object");var s={};if(e(o,"enumerable")&&(s["[[Enumerable]]"]=r(o.enumerable)),e(o,"configurable")&&(s["[[Configurable]]"]=r(o.configurable)),e(o,"value")&&(s["[[Value]]"]=o.value),e(o,"writable")&&(s["[[Writable]]"]=r(o.writable)),e(o,"get")){var u=o.get;if(typeof u<"u"&&!n(u))throw new t("getter must be a function");s["[[Get]]"]=u}if(e(o,"set")){var l=o.set;if(typeof l<"u"&&!n(l))throw new t("setter must be a function");s["[[Set]]"]=l}if((e(s,"[[Get]]")||e(s,"[[Set]]"))&&(e(s,"[[Value]]")||e(s,"[[Writable]]")))throw new t("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return s},yC}var wC,JL;function JFe(){if(JL)return wC;JL=1;var e=Pt(),t=wu(),n=IQ(),r=NQ(),i=vR(),a=Xl(),o=yR(),s=$Q(),u=ua();return wC=function(c,f,d){if(!u(c))throw new e("Assertion failed: Type(O) is not Object");if(!a(f))throw new e("Assertion failed: P is not a Property Key");var p=t(d)?d:s(d);if(!t(p))throw new e("Assertion failed: Desc is not a valid Property Descriptor");return n(i,o,r,c,f,p)},wC}var e7;function eLe(){if(e7)return Qv.exports;e7=1;var e=KFe(),t=e("%Reflect.construct%",!0),n=JFe();try{n({},"",{"[[Get]]":function(){}})}catch{n=null}if(n&&t){var r={},i={};n(i,"length",{"[[Get]]":function(){throw r},"[[Enumerable]]":!0}),Qv.exports=function(o){try{t(o,i)}catch(s){return s===r}}}else Qv.exports=function(o){return typeof o=="function"&&!!o.prototype};return Qv.exports}var _C,t7;function tLe(){if(t7)return _C;t7=1;var e=sa(),t=e("%Symbol.species%",!0),n=Pt(),r=PQ(),i=GFe(),a=Q_(),o=gR(),s=eLe(),u=ua();return _C=function(c,f){if(!r(f)||f<0)throw new n("Assertion failed: length must be an integer >= 0");var d=o(c);if(!d)return i(f);var p=a(c,"constructor");if(t&&u(p)&&(p=a(p,t),p===null&&(p=void 0)),typeof p>"u")return i(f);if(!s(p))throw new n("C must be a constructor");return new p(f)},_C}var bC,n7;function FQ(){return n7||(n7=1,bC=Number.MAX_SAFE_INTEGER||9007199254740991),bC}var xC,r7;function nLe(){if(r7)return xC;r7=1;var e=sa(),t=es(),n=Pt(),r=gR(),i=e("%Reflect.apply%",!0)||t("Function.prototype.apply");return xC=function(o,s){var u=arguments.length>2?arguments[2]:[];if(!r(u))throw new n("Assertion failed: optional `argumentsList`, if provided, must be a List");return i(o,s,u)},xC}var EC,i7;function wR(){if(i7)return EC;i7=1;var e=Pt(),t=Kl(),n=wu();return EC=function(i){if(typeof i>"u")return!1;if(!n(i))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!(!t(i,"[[Get]]")&&!t(i,"[[Set]]"))},EC}var SC,a7;function LQ(){return a7||(a7=1,SC=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),SC}var CC,o7;function rLe(){if(o7)return CC;o7=1;var e=sa(),t=e("%Object.preventExtensions%",!0),n=e("%Object.isExtensible%",!0),r=LQ();return CC=t?function(a){return!r(a)&&n(a)}:function(a){return!r(a)},CC}var kC,s7;function iLe(){if(s7)return kC;s7=1;var e=wu();return kC=function(n,r){return e(r)&&"[[Enumerable]]"in r&&"[[Configurable]]"in r&&(n.IsAccessorDescriptor(r)||n.IsDataDescriptor(r))},kC}var AC,u7;function aLe(){if(u7)return AC;u7=1;var e=Pt(),t=wR(),n=vR(),r=wu();return AC=function(a){if(typeof a>"u")return!1;if(!r(a))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!t(a)&&!n(a)},AC}var TC,l7;function oLe(){if(l7)return TC;l7=1;var e=ua();return TC=function(n){if(n===null)return"Null";if(typeof n>"u")return"Undefined";if(e(n))return"Object";if(typeof n=="number")return"Number";if(typeof n=="boolean")return"Boolean";if(typeof n=="string")return"String"},TC}var MC,c7;function sLe(){if(c7)return MC;c7=1;var e=oLe();return MC=function(n){return typeof n=="symbol"?"Symbol":typeof n=="bigint"?"BigInt":e(n)},MC}var PC,f7;function uLe(){if(f7)return PC;f7=1;var e=Pt(),t=IQ(),n=iLe(),r=wu(),i=NQ(),a=wR(),o=vR(),s=aLe(),u=Xl(),l=yR(),c=sLe(),f=ua();return PC=function(p,w,g,y,_){var b=c(p);if(typeof p<"u"&&!f(p))throw new e("Assertion failed: O must be undefined or an Object");if(!u(w))throw new e("Assertion failed: P must be a Property Key");if(typeof g!="boolean")throw new e("Assertion failed: extensible must be a Boolean");if(!r(y))throw new e("Assertion failed: Desc must be a Property Descriptor");if(typeof _<"u"&&!r(_))throw new e("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof _>"u")return g?b==="Undefined"?!0:a(y)?t(o,l,i,p,w,y):t(o,l,i,p,w,{"[[Configurable]]":!!y["[[Configurable]]"],"[[Enumerable]]":!!y["[[Enumerable]]"],"[[Value]]":y["[[Value]]"],"[[Writable]]":!!y["[[Writable]]"]}):!1;if(!n({IsAccessorDescriptor:a,IsDataDescriptor:o},_))throw new e("`current`, when present, must be a fully populated and valid Property Descriptor");if(!_["[[Configurable]]"]){if("[[Configurable]]"in y&&y["[[Configurable]]"]||"[[Enumerable]]"in y&&!l(y["[[Enumerable]]"],_["[[Enumerable]]"])||!s(y)&&!l(a(y),a(_)))return!1;if(a(_)){if("[[Get]]"in y&&!l(y["[[Get]]"],_["[[Get]]"])||"[[Set]]"in y&&!l(y["[[Set]]"],_["[[Set]]"]))return!1}else if(!_["[[Writable]]"]&&("[[Writable]]"in y&&y["[[Writable]]"]||"[[Value]]"in y&&!l(y["[[Value]]"],_["[[Value]]"])))return!1}if(b!=="Undefined"){var E,S;return o(_)&&a(y)?(E=("[[Configurable]]"in y?y:_)["[[Configurable]]"],S=("[[Enumerable]]"in y?y:_)["[[Enumerable]]"],t(o,l,i,p,w,{"[[Configurable]]":!!E,"[[Enumerable]]":!!S,"[[Get]]":("[[Get]]"in y?y:_)["[[Get]]"],"[[Set]]":("[[Set]]"in y?y:_)["[[Set]]"]})):a(_)&&o(y)?(E=("[[Configurable]]"in y?y:_)["[[Configurable]]"],S=("[[Enumerable]]"in y?y:_)["[[Enumerable]]"],t(o,l,i,p,w,{"[[Configurable]]":!!E,"[[Enumerable]]":!!S,"[[Value]]":("[[Value]]"in y?y:_)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in y?y:_)["[[Writable]]"]})):t(o,l,i,p,w,y)}return!0},PC}var RC,d7;function lLe(){if(d7)return RC;d7=1;var e=Ql(),t=G_(),n=Pt(),r=wu(),i=wR(),a=rLe(),o=Xl(),s=$Q(),u=yR(),l=uLe(),c=ua();return RC=function(d,p,w){if(!c(d))throw new n("Assertion failed: O must be an Object");if(!o(p))throw new n("Assertion failed: P must be a Property Key");if(!r(w))throw new n("Assertion failed: Desc must be a Property Descriptor");if(!e){if(i(w))throw new t("This environment does not support accessor property descriptors.");var g=!(p in d)&&w["[[Writable]]"]&&w["[[Enumerable]]"]&&w["[[Configurable]]"]&&"[[Value]]"in w,y=p in d&&(!("[[Configurable]]"in w)||w["[[Configurable]]"])&&(!("[[Enumerable]]"in w)||w["[[Enumerable]]"])&&(!("[[Writable]]"in w)||w["[[Writable]]"])&&"[[Value]]"in w;if(g||y)return d[p]=w["[[Value]]"],u(d[p],w["[[Value]]"]);throw new t("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var _=e(d,p),b=_&&s(_),E=a(d);return l(d,p,E,w,b)},RC}var IC,h7;function cLe(){if(h7)return IC;h7=1;var e=Pt(),t=Xl(),n=lLe(),r=ua();return IC=function(a,o,s){if(!r(a))throw new e("Assertion failed: Type(O) is not Object");if(!t(o))throw new e("Assertion failed: P is not a Property Key");var u={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":s,"[[Writable]]":!0};return n(a,o,u)},IC}var NC,p7;function fLe(){if(p7)return NC;p7=1;var e=Pt(),t=cLe(),n=ua(),r=Xl();return NC=function(a,o,s){if(!n(a))throw new e("Assertion failed: Type(O) is not Object");if(!r(o))throw new e("Assertion failed: P is not a Property Key");var u=t(a,o,s);if(!u)throw new e("unable to create data property")},NC}var OC,m7;function dLe(){if(m7)return OC;m7=1;var e=Pt(),t=ua(),n=Xl();return OC=function(i,a){if(!t(i))throw new e("Assertion failed: `O` must be an Object");if(!n(a))throw new e("Assertion failed: `P` must be a Property Key");return a in i},OC}var DC,g7;function hLe(){return g7||(g7=1,DC=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),DC}var $C,v7;function BQ(){if(v7)return $C;v7=1;var e=EQ();return $C=function(){return e()&&!!Symbol.toStringTag},$C}var FC,y7;function pLe(){if(y7)return FC;y7=1;var e=es(),t=e("Date.prototype.getDay"),n=function(s){try{return t(s),!0}catch{return!1}},r=e("Object.prototype.toString"),i="[object Date]",a=BQ()();return FC=function(s){return typeof s!="object"||s===null?!1:a?n(s):r(s)===i},FC}var Kv={exports:{}},LC,w7;function mLe(){if(w7)return LC;w7=1;var e=es(),t=BQ()(),n=Kl(),r=Ql(),i;if(t){var a=e("RegExp.prototype.exec"),o={},s=function(){throw o},u={toString:s,valueOf:s};typeof Symbol.toPrimitive=="symbol"&&(u[Symbol.toPrimitive]=s),i=function(d){if(!d||typeof d!="object")return!1;var p=r(d,"lastIndex"),w=p&&n(p,"value");if(!w)return!1;try{a(d,u)}catch(g){return g===o}}}else{var l=e("Object.prototype.toString"),c="[object RegExp]";i=function(d){return!d||typeof d!="object"&&typeof d!="function"?!1:l(d)===c}}return LC=i,LC}var BC,_7;function zQ(){if(_7)return BC;_7=1;var e=es(),t=mLe(),n=e("RegExp.prototype.exec"),r=Pt();return BC=function(a){if(!t(a))throw new r("`regex` must be a RegExp");return function(s){return n(a,s)!==null}},BC}var b7;function gLe(){if(b7)return Kv.exports;b7=1;var e=es(),t=e("Object.prototype.toString"),n=SQ()(),r=zQ();if(n){var i=e("Symbol.prototype.toString"),a=r(/^Symbol\(.*\)$/),o=function(u){return typeof u.valueOf()!="symbol"?!1:a(i(u))};Kv.exports=function(u){if(typeof u=="symbol")return!0;if(!u||typeof u!="object"||t(u)!=="[object Symbol]")return!1;try{return o(u)}catch{return!1}}}else Kv.exports=function(u){return!1};return Kv.exports}var zC,x7;function vLe(){if(x7)return zC;x7=1;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",t=hLe(),n=OQ(),r=pLe(),i=gLe(),a=function(u,l){if(typeof u>"u"||u===null)throw new TypeError("Cannot call method on "+u);if(typeof l!="string"||l!=="number"&&l!=="string")throw new TypeError('hint must be "string" or "number"');var c=l==="string"?["toString","valueOf"]:["valueOf","toString"],f,d,p;for(p=0;p1&&(arguments[1]===String?l="string":arguments[1]===Number&&(l="number"));var c;if(e&&(Symbol.toPrimitive?c=o(u,Symbol.toPrimitive):i(u)&&(c=Symbol.prototype.valueOf)),typeof c<"u"){var f=c.call(u,l);if(t(f))return f;throw new TypeError("unable to convert exotic object to primitive")}return l==="default"&&(r(u)||i(u))&&(l="string"),a(u,l==="default"?"number":l)},zC}var UC,E7;function yLe(){if(E7)return UC;E7=1;var e=vLe();return UC=function(n){return arguments.length>1?e(n,arguments[1]):e(n)},UC}var jC,S7;function _R(){if(S7)return jC;S7=1;var e=Pt();return jC=function(n){if(n==null)throw new e(arguments.length>0&&arguments[1]||"Cannot call method on "+n);return n},jC}var HC,C7;function UQ(){if(C7)return HC;C7=1;var e=sa(),t=e("%String%"),n=Pt();return HC=function(i){if(typeof i=="symbol")throw new n("Cannot convert a Symbol value to a string");return t(i)},HC}var qC,k7;function jQ(){if(k7)return qC;k7=1;var e=_R(),t=UQ(),n=es(),r=n("String.prototype.replace"),i=/^\s$/.test("᠎"),a=i?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,o=i?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;return qC=function(){var u=t(e(this));return r(r(u,a,""),o,"")},qC}var GC,A7;function HQ(){if(A7)return GC;A7=1;var e=jQ(),t="​",n="᠎";return GC=function(){return String.prototype.trim&&t.trim()===t&&n.trim()===n&&("_"+n).trim()==="_"+n&&(n+"_").trim()===n+"_"?String.prototype.trim:e},GC}var WC,T7;function wLe(){if(T7)return WC;T7=1;var e=W_()(),t=fR(),n=HQ();return WC=function(){var i=n();return String.prototype.trim!==i&&(e?t(String.prototype,"trim",i,!0):t(String.prototype,"trim",i)),i},WC}var VC,M7;function _Le(){if(M7)return VC;M7=1;var e=TQ(),t=dR(),n=_R(),r=jQ(),i=HQ(),a=wLe(),o=e(i()),s=function(l){return n(l),o(l)};return t(s,{getPolyfill:i,implementation:r,shim:a}),VC=s,VC}var YC,P7;function bLe(){if(P7)return YC;P7=1;var e=sa(),t=e("%RegExp%"),n=Pt(),r=e("%parseInt%"),i=es(),a=zQ(),o=i("String.prototype.slice"),s=a(/^0b[01]+$/i),u=a(/^0o[0-7]+$/i),l=a(/^[-+]0x[0-9a-f]+$/i),c=["…","​","￾"].join(""),f=new t("["+c+"]","g"),d=a(f),p=_Le();return YC=function w(g){if(typeof g!="string")throw new n("Assertion failed: `argument` is not a String");if(s(g))return+r(o(g,2),2);if(u(g))return+r(o(g,2),8);if(d(g)||l(g))return NaN;var y=p(g);return y!==g?w(y):+g},YC}var QC,R7;function xLe(){if(R7)return QC;R7=1;var e=sa(),t=Pt(),n=e("%Number%"),r=LQ(),i=yLe(),a=bLe();return QC=function(s){var u=r(s)?s:i(s,n);if(typeof u=="symbol")throw new t("Cannot convert a Symbol value to a number");if(typeof u=="bigint")throw new t("Conversion from 'BigInt' to 'number' is not allowed.");return typeof u=="string"?a(u):+u},QC}var KC,I7;function ELe(){if(I7)return KC;I7=1;var e=hR();return KC=function(n){return typeof n=="bigint"?n:e(n)},KC}var XC,N7;function SLe(){if(N7)return XC;N7=1;var e=ELe(),t=Pt();return XC=function(r){if(typeof r!="number"&&typeof r!="bigint")throw new t("argument must be a Number or a BigInt");var i=r<0?-e(-r):e(r);return i===0?0:i},XC}var ZC,O7;function CLe(){if(O7)return ZC;O7=1;var e=xLe(),t=SLe(),n=zg(),r=MQ();return ZC=function(a){var o=e(a);return n(o)||o===0?0:r(o)?t(o):o},ZC}var JC,D7;function qQ(){if(D7)return JC;D7=1;var e=FQ(),t=CLe();return JC=function(r){var i=t(r);return i<=0?0:i>e?e:i},JC}var ek,$7;function kLe(){if($7)return ek;$7=1;var e=Pt(),t=Q_(),n=qQ(),r=ua();return ek=function(a){if(!r(a))throw new e("Assertion failed: `obj` must be an Object");return n(t(a,"length"))},ek}var tk,F7;function ALe(){if(F7)return tk;F7=1;var e=Pt(),t=FQ(),n=nLe(),r=fLe(),i=Q_(),a=dLe(),o=gR(),s=kLe(),u=UQ();return tk=function l(c,f,d,p,w){var g;arguments.length>5&&(g=arguments[5]);for(var y=p,_=0;_0&&(v=o(S)),v){var C=s(S);y=l(c,S,C,y,w-1)}else{if(y>=t)throw new e("index too large");r(c,u(y),S),y+=1}}_+=1}return y},tk}var nk,L7;function TLe(){if(L7)return nk;L7=1;var e=V_(),t=_R();return nk=function(r){return t(r),e(r)},nk}var rk,B7;function MLe(){return B7||(B7=1,rk=TLe()),rk}var ik,z7;function GQ(){if(z7)return ik;z7=1;var e=tLe(),t=ALe(),n=Q_(),r=DQ(),i=qQ(),a=MLe();return ik=function(s){var u=a(this),l=i(n(u,"length"));if(!r(s))throw new TypeError("mapperFunction must be a function");var c;arguments.length>1&&(c=arguments[1]);var f=e(u,0);return t(f,u,l,0,1,s,c),f},ik}var ak,U7;function WQ(){if(U7)return ak;U7=1;var e=GQ();return ak=function(){return Array.prototype.flatMap||e},ak}var ok,j7;function PLe(){if(j7)return ok;j7=1;var e=Kl(),t=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",n=t&&Array.prototype[Symbol.unscopables],r=TypeError;return ok=function(a){if(typeof a!="string"||!a)throw new r("method must be a non-empty string");if(!e(Array.prototype,a))throw new r("method must be on Array.prototype");t&&(n[a]=!0)},ok}var sk,H7;function RLe(){if(H7)return sk;H7=1;var e=dR(),t=PLe(),n=WQ();return sk=function(){var i=n();return e(Array.prototype,{flatMap:i},{flatMap:function(){return Array.prototype.flatMap!==i}}),t("flatMap"),i},sk}var uk,q7;function ILe(){if(q7)return uk;q7=1;var e=dR(),t=TQ(),n=GQ(),r=WQ(),i=r(),a=RLe(),o=t(i);return e(o,{getPolyfill:r,implementation:n,shim:a}),uk=o,uk}var NLe=ILe();const K_=Un(NLe);function VQ({files:e}){return e!=null&&e.length?U.jsx(nt,{children:e.map((t,n)=>U.jsxs(nt.Item,{children:[U.jsx(nt.Icon,{verticalAlign:"middle",name:"circle",size:"tiny"}),U.jsxs(nt.Content,{children:[U.jsx(nt.Header,{children:U.jsx("a",{target:"_blank",href:t.url,rel:"noopener noreferrer",children:t.filename||t.url.split("/").pop()||t.url})}),U.jsx(nt.Description,{children:t.titl&&U.jsx("div",{children:t.titl})})]})]},n))}):null}function OLe(e,t,n){const r=Xm(e,t),i=e.qualifier||t.qualifier,a=i&&JU(i,n)+" ";return n.formatMessage({id:"age.exact",defaultMessage:"{qualifier}{age, plural, =0 {Less than 1 year} one {1 year} other {# years}}"},{age:r,qualifier:a})}function Xv(e,t,n){const r=Xm(e,t);return n.formatMessage({id:"age.more",defaultMessage:"More than {age, plural, =0 {0 years} one {1 year} other {# years}}"},{age:r})}function Zv(e,t,n){const r=Xm(e,t);return n.formatMessage({id:"age.less",defaultMessage:"Less than {age, plural, =0 {1 year} one {1 year} other {# years}}"},{age:r})}function lk(e,t,n,r,i){const a=Xm(t,n),o=Xm(e,r);return i.formatMessage({id:"age.between",defaultMessage:"Between {ageFrom} and {ageTo, plural, =0 {0 years} one {1 year} other {# years}}"},{ageFrom:a,ageTo:o})}function DLe(e,t){return e&&t?!sA(e)||!sA(t)||Ww(e,t)>0?!1:e.dateRange&&t.dateRange&&uA(e==null?void 0:e.dateRange)&&uA(t==null?void 0:t.dateRange)?!D0e(e.dateRange,t.dateRange):!0:!1}function Xm(e,t){const n=lA(e),r=lA(t),i=n.getUTCFullYear();let a=r.getUTCFullYear()-i,o=r.getUTCMonth()-n.getUTCMonth();return o<0&&(a--,o+=12),r.getUTCDate()-n.getUTCDate()<0&&o<=0&&a--,Math.abs(a)}function $Le(e,t,n){var r,i,a,o,s,u,l,c,f,d,p,w,g,y,_,b,E,S,v,C,A,M,R,N,P,B,V,F,$,z,Q,K,j,L;if(e&&t){const W=Ln.getDate(e),G=Ln.getDate(t);if(DLe(W,G)){if(W!=null&&W.date){if(G!=null&&G.date)return OLe(W.date,G.date,n);if((r=G==null?void 0:G.dateRange)!=null&&r.from&&((i=G.dateRange)!=null&&i.to))return lk(W.date,W.date,(a=G==null?void 0:G.dateRange)==null?void 0:a.from,(o=G==null?void 0:G.dateRange)==null?void 0:o.to,n);if((s=G==null?void 0:G.dateRange)!=null&&s.from)return Xv(W.date,(u=G.dateRange)==null?void 0:u.from,n);if((l=G==null?void 0:G.dateRange)!=null&&l.to)return Zv(W.date,(c=G.dateRange)==null?void 0:c.to,n)}if((f=W==null?void 0:W.dateRange)!=null&&f.from&&((d=W==null?void 0:W.dateRange)!=null&&d.to)){if(G!=null&&G.date)return lk((p=W==null?void 0:W.dateRange)==null?void 0:p.from,(w=W==null?void 0:W.dateRange)==null?void 0:w.to,G==null?void 0:G.date,G==null?void 0:G.date,n);if((g=G==null?void 0:G.dateRange)!=null&&g.from&&((y=G.dateRange)!=null&&y.to))return lk((_=W==null?void 0:W.dateRange)==null?void 0:_.from,(b=W==null?void 0:W.dateRange)==null?void 0:b.to,(E=G==null?void 0:G.dateRange)==null?void 0:E.from,(S=G==null?void 0:G.dateRange)==null?void 0:S.to,n);if((v=G==null?void 0:G.dateRange)!=null&&v.from)return Xv((C=W.dateRange)==null?void 0:C.to,(A=G.dateRange)==null?void 0:A.from,n);if((M=G==null?void 0:G.dateRange)!=null&&M.to)return Zv((R=W.dateRange)==null?void 0:R.from,(N=G.dateRange)==null?void 0:N.to,n)}if((P=W==null?void 0:W.dateRange)!=null&&P.from){if(G!=null&&G.date)return Zv((B=W.dateRange)==null?void 0:B.from,G.date,n);if((V=G==null?void 0:G.dateRange)!=null&&V.to)return Zv((F=W.dateRange)==null?void 0:F.from,($=G.dateRange)==null?void 0:$.to,n)}if((z=W==null?void 0:W.dateRange)!=null&&z.to){if(G!=null&&G.date)return Xv((Q=W==null?void 0:W.dateRange)==null?void 0:Q.to,G.date,n);if((K=G==null?void 0:G.dateRange)!=null&&K.from)return Xv((j=W==null?void 0:W.dateRange)==null?void 0:j.to,(L=G.dateRange)==null?void 0:L.from,n)}}}}var Jv={},ey={},ty={},G7;function FLe(){if(G7)return ty;G7=1,Object.defineProperty(ty,"__esModule",{value:!0});var e=su(),t=n(e);function n(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i[a]=r[a]);return i.default=r,i}return ty.default=function(r,i,a){return t.createElement("a",{href:r,key:a},i)},ty}var ny={},W7;function LLe(){return W7||(W7=1,Object.defineProperty(ny,"__esModule",{value:!0}),ny.default=function(e){return e}),ny}var ry={},ck,V7;function BLe(){return V7||(V7=1,ck=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),ck}var fk,Y7;function zLe(){return Y7||(Y7=1,fk=/[\0-\x1F\x7F-\x9F]/),fk}var dk,Q7;function ULe(){return Q7||(Q7=1,dk=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),dk}var hk,K7;function jLe(){return K7||(K7=1,hk=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/),hk}var pk,X7;function HLe(){return X7||(X7=1,pk=function(e){var t={};t.src_Any=BLe().source,t.src_Cc=zLe().source,t.src_Z=ULe().source,t.src_P=jLe().source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),pk}var mk,Z7;function qLe(){if(Z7)return mk;Z7=1;function e(E){var S=Array.prototype.slice.call(arguments,1);return S.forEach(function(v){v&&Object.keys(v).forEach(function(C){E[C]=v[C]})}),E}function t(E){return Object.prototype.toString.call(E)}function n(E){return t(E)==="[object String]"}function r(E){return t(E)==="[object Object]"}function i(E){return t(E)==="[object RegExp]"}function a(E){return t(E)==="[object Function]"}function o(E){return E.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function u(E){return Object.keys(E||{}).reduce(function(S,v){return S||s.hasOwnProperty(v)},!1)}var l={"http:":{validate:function(E,S,v){var C=E.slice(S);return v.re.http||(v.re.http=new RegExp("^\\/\\/"+v.re.src_auth+v.re.src_host_port_strict+v.re.src_path,"i")),v.re.http.test(C)?C.match(v.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(E,S,v){var C=E.slice(S);return v.re.no_http||(v.re.no_http=new RegExp("^"+v.re.src_auth+"(?:localhost|(?:(?:"+v.re.src_domain+")\\.)+"+v.re.src_domain_root+")"+v.re.src_port+v.re.src_host_terminator+v.re.src_path,"i")),v.re.no_http.test(C)?S>=3&&E[S-3]===":"||S>=3&&E[S-3]==="/"?0:C.match(v.re.no_http)[0].length:0}},"mailto:":{validate:function(E,S,v){var C=E.slice(S);return v.re.mailto||(v.re.mailto=new RegExp("^"+v.re.src_email_name+"@"+v.re.src_host_strict,"i")),v.re.mailto.test(C)?C.match(v.re.mailto)[0].length:0}}},c="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",f="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function d(E){E.__index__=-1,E.__text_cache__=""}function p(E){return function(S,v){var C=S.slice(v);return E.test(C)?C.match(E)[0].length:0}}function w(){return function(E,S){S.normalize(E)}}function g(E){var S=E.re=HLe()(E.__opts__),v=E.__tlds__.slice();E.onCompile(),E.__tlds_replaced__||v.push(c),v.push(S.src_xn),S.src_tlds=v.join("|");function C(N){return N.replace("%TLDS%",S.src_tlds)}S.email_fuzzy=RegExp(C(S.tpl_email_fuzzy),"i"),S.link_fuzzy=RegExp(C(S.tpl_link_fuzzy),"i"),S.link_no_ip_fuzzy=RegExp(C(S.tpl_link_no_ip_fuzzy),"i"),S.host_fuzzy_test=RegExp(C(S.tpl_host_fuzzy_test),"i");var A=[];E.__compiled__={};function M(N,P){throw new Error('(LinkifyIt) Invalid schema "'+N+'": '+P)}Object.keys(E.__schemas__).forEach(function(N){var P=E.__schemas__[N];if(P!==null){var B={validate:null,link:null};if(E.__compiled__[N]=B,r(P)){i(P.validate)?B.validate=p(P.validate):a(P.validate)?B.validate=P.validate:M(N,P),a(P.normalize)?B.normalize=P.normalize:P.normalize?M(N,P):B.normalize=w();return}if(n(P)){A.push(N);return}M(N,P)}}),A.forEach(function(N){E.__compiled__[E.__schemas__[N]]&&(E.__compiled__[N].validate=E.__compiled__[E.__schemas__[N]].validate,E.__compiled__[N].normalize=E.__compiled__[E.__schemas__[N]].normalize)}),E.__compiled__[""]={validate:null,normalize:w()};var R=Object.keys(E.__compiled__).filter(function(N){return N.length>0&&E.__compiled__[N]}).map(o).join("|");E.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+S.src_ZPCc+"))("+R+")","i"),E.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+S.src_ZPCc+"))("+R+")","ig"),E.re.pretest=RegExp("("+E.re.schema_test.source+")|("+E.re.host_fuzzy_test.source+")|@","i"),d(E)}function y(E,S){var v=E.__index__,C=E.__last_index__,A=E.__text_cache__.slice(v,C);this.schema=E.__schema__.toLowerCase(),this.index=v+S,this.lastIndex=C+S,this.raw=A,this.text=A,this.url=A}function _(E,S){var v=new y(E,S);return E.__compiled__[v.schema].normalize(v,E),v}function b(E,S){if(!(this instanceof b))return new b(E,S);S||u(E)&&(S=E,E={}),this.__opts__=e({},s,S),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=e({},l,E),this.__compiled__={},this.__tlds__=f,this.__tlds_replaced__=!1,this.re={},g(this)}return b.prototype.add=function(S,v){return this.__schemas__[S]=v,g(this),this},b.prototype.set=function(S){return this.__opts__=e(this.__opts__,S),this},b.prototype.test=function(S){if(this.__text_cache__=S,this.__index__=-1,!S.length)return!1;var v,C,A,M,R,N,P,B,V;if(this.re.schema_test.test(S)){for(P=this.re.schema_search,P.lastIndex=0;(v=P.exec(S))!==null;)if(M=this.testSchemaAt(S,v[2],P.lastIndex),M){this.__schema__=v[2],this.__index__=v.index+v[1].length,this.__last_index__=v.index+v[0].length+M;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(B=S.search(this.re.host_fuzzy_test),B>=0&&(this.__index__<0||B=0&&(A=S.match(this.re.email_fuzzy))!==null&&(R=A.index+A[1].length,N=A.index+A[0].length,(this.__index__<0||Rthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=R,this.__last_index__=N))),this.__index__>=0},b.prototype.pretest=function(S){return this.re.pretest.test(S)},b.prototype.testSchemaAt=function(S,v,C){return this.__compiled__[v.toLowerCase()]?this.__compiled__[v.toLowerCase()].validate(S,C,this):0},b.prototype.match=function(S){var v=0,C=[];this.__index__>=0&&this.__text_cache__===S&&(C.push(_(this,v)),v=this.__last_index__);for(var A=v?S.slice(v):S;this.test(A);)C.push(_(this,v)),A=A.slice(this.__last_index__),v+=this.__last_index__;return C.length?C:null},b.prototype.tlds=function(S,v){return S=Array.isArray(S)?S:[S],v?(this.__tlds__=this.__tlds__.concat(S).sort().filter(function(C,A,M){return C!==M[A-1]}).reverse(),g(this),this):(this.__tlds__=S.slice(),this.__tlds_replaced__=!0,g(this),this)},b.prototype.normalize=function(S){S.schema||(S.url="http://"+S.url),S.schema==="mailto:"&&!/^mailto:/i.test(S.url)&&(S.url="mailto:"+S.url)},b.prototype.onCompile=function(){},mk=b,mk}const GLe=JSON.parse('["aaa","aarp","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","lancaster","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","link","lipsy","live","living","lk","llc","llp","loan","loans","locker","locus","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mv","mw","mx","my","mz","na","nab","nagoya","name","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shell","shia","shiksha","shoes","shop","shopping","shouji","show","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","vermögensberater","vermögensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volvo","vote","voting","voto","voyage","vu","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","ελ","ευ","бг","бел","дети","ею","католик","ком","мкд","мон","москва","онлайн","орг","рус","рф","сайт","срб","укр","қаз","հայ","ישראל","קום","ابوظبي","ارامكو","الاردن","البحرين","الجزائر","السعودية","العليان","المغرب","امارات","ایران","بارت","بازار","بيتك","بھارت","تونس","سودان","سورية","شبكة","عراق","عرب","عمان","فلسطين","قطر","كاثوليك","كوم","مصر","مليسيا","موريتانيا","موقع","همراه","پاکستان","ڀارت","कॉम","नेट","भारत","भारतम्","भारोत","संगठन","বাংলা","ভারত","ভাৰত","ਭਾਰਤ","ભારત","ଭାରତ","இந்தியா","இலங்கை","சிங்கப்பூர்","భారత్","ಭಾರತ","ഭാരതം","ලංකා","คอม","ไทย","ລາວ","გე","みんな","アマゾン","クラウド","グーグル","コム","ストア","セール","ファッション","ポイント","世界","中信","中国","中國","中文网","亚马逊","企业","佛山","信息","健康","八卦","公司","公益","台湾","台灣","商城","商店","商标","嘉里","嘉里大酒店","在线","大拿","天主教","娱乐","家電","广东","微博","慈善","我爱你","手机","招聘","政务","政府","新加坡","新闻","时尚","書籍","机构","淡马锡","游戏","澳門","点看","移动","组织机构","网址","网店","网站","网络","联通","谷歌","购物","通販","集团","電訊盈科","飞利浦","食品","餐厅","香格里拉","香港","닷넷","닷컴","삼성","한국"]');var J7;function WLe(){if(J7)return ry;J7=1,Object.defineProperty(ry,"__esModule",{value:!0});var e=qLe(),t=i(e),n=GLe,r=i(n);function i(o){return o&&o.__esModule?o:{default:o}}var a=new t.default;return a.tlds(r.default),ry.default=function(o){return a.match(o)},ry}var iy={},e9;function VLe(){return e9||(e9=1,Object.defineProperty(iy,"__esModule",{value:!0}),iy.default=function(e){return e}),iy}var t9;function YLe(){if(t9)return ey;t9=1,Object.defineProperty(ey,"__esModule",{value:!0});var e=function(){function _(b,E){for(var S=0;SM&&A.push(S.substring(M,R.index));var P=v.props.hrefDecorator(R.url),B=v.props.textDecorator(R.text),V=v.props.componentDecorator(P,B,N);A.push(V),M=R.lastIndex}),S.length>M&&A.push(S.substring(M)),A.length===1?A[0]:A}},{key:"parse",value:function(S){var v=this,C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof S=="string"?this.parseString(S):n.isValidElement(S)&&S.type!=="a"&&S.type!=="button"?n.cloneElement(S,{key:C},this.parse(S.props.children)):Array.isArray(S)?S.map(function(A,M){return v.parse(A,M)}):S}},{key:"render",value:function(){return n.createElement(n.Fragment,null,this.parse(this.props.children))}}]),b}(n.Component);return y.defaultProps={componentDecorator:i.default,hrefDecorator:o.default,matchDecorator:u.default,textDecorator:c.default},ey.default=y,ey}var n9;function QLe(){if(n9)return Jv;n9=1,Object.defineProperty(Jv,"__esModule",{value:!0});var e=YLe(),t=n(e);function n(r){return r&&r.__esModule?r:{default:r}}return Jv.default=t.default,Jv}var KLe=QLe();const jT=Un(KLe);function bR(e){return U.jsx(U.Fragment,{children:e.lines.map((t,n)=>U.jsxs("div",{children:[U.jsx(jT,{properties:{target:"_blank"},children:t}),U.jsx("br",{})]},n))})}function YQ({sources:e}){const t=ai();return e!=null&&e.length?U.jsx(nt,{children:e.map((n,r)=>U.jsxs(nt.Item,{children:[U.jsx(nt.Icon,{verticalAlign:"middle",name:"circle",size:"tiny"}),U.jsxs(nt.Content,{children:[U.jsx(nt.Header,{children:U.jsx(jT,{properties:{target:"_blank"},children:[n.author,n.title,n.publicationInfo].filter(i=>!!i).join(", ")})}),U.jsxs(nt.Description,{children:[U.jsx(jT,{properties:{target:"_blank"},children:n.page}),n.date&&` [${Wf(n.date,t)}]`]})]})]},r))}):null}function QQ(e){const[t,n]=J.useState(!1),[r,i]=J.useState(!1),[a,o]=J.useState(!1),[s,u]=J.useState("");return r&&s!==e.url&&i(!1),U.jsxs(U.Fragment,{children:[U.jsx(_n,{className:r?"loaded-image-thumbnail":"hidden-image",onClick:()=>n(!0),onLoad:()=>{i(!0),u(e.url),o(!1)},onError:l=>{i(!0),u(e.url),o(!0),l.currentTarget.alt=""},src:e.url,alt:e.title||e.filename,centered:!0}),U.jsx(ja,{className:r?"hidden-image":"image-placeholder",children:U.jsx(ja.Image,{square:!0})}),a&&U.jsx(tm,{fluid:!0,textAlign:"center",children:U.jsx(Ti,{negative:!0,compact:!0,children:U.jsx(Ti.Header,{children:U.jsx(He,{id:"error.failed_to_load_image",defaultMessage:"Failed to load image file"})})})}),U.jsxs(Pn,{basic:!0,size:"large",closeIcon:U.jsx(lt,{name:"close",color:"red"}),open:t,onClose:()=>n(!1),onOpen:()=>n(!0),centered:!1,children:[U.jsx(Pn.Header,{children:e.title}),U.jsx(Pn.Content,{image:!0,children:U.jsx(_n,{className:"modal-image",src:e.url,alt:e.title||e.filename,label:U.jsx(ri,{attached:"bottom",content:e.filename}),wrapped:!0})})]})]})}function XLe(e){return!!e&&e.map((t,n)=>U.jsx(nt,{children:U.jsx(nt.Item,{children:U.jsx(QQ,{url:t.url,filename:t.filename,title:t.title})})},n))}function ZLe(e){return!!(e!=null&&e.length)&&e.map((t,n)=>U.jsx("div",{children:U.jsx(bR,{lines:t.map((r,i)=>U.jsx("i",{children:r},i))})},n))}function JLe(e){var f,d,p,w;const[t,n]=J.useState(-1),[r,i]=J.useState("");(!r||r!==e.indi)&&(n(-1),i(e.indi));function a(g,y){y.index!==void 0&&t!==y.index?n(y.index):n(-1)}const o=((f=e.images)==null?void 0:f.length)&&{menuItem:U.jsx(on.Item,{fitted:!0,onClick:a,children:U.jsx(To,{content:U.jsx(He,{id:"extras.images",defaultMessage:"Images"}),size:"mini",position:"bottom center",trigger:U.jsx(lt,{circular:!0,name:"camera"})})},"images"),render:()=>U.jsx(Yi.Pane,{children:XLe(e.images)})},s=((d=e.notes)==null?void 0:d.length)&&{menuItem:U.jsx(on.Item,{fitted:!0,onClick:a,children:U.jsx(To,{content:U.jsx(He,{id:"extras.notes",defaultMessage:"Notes"}),size:"mini",position:"bottom center",trigger:U.jsx(lt,{circular:!0,name:"sticky note outline"})})},"notes"),render:()=>U.jsx(Yi.Pane,{children:ZLe(e.notes)})},u=((p=e.sources)==null?void 0:p.length)&&{menuItem:U.jsx(on.Item,{fitted:!0,onClick:a,children:U.jsx(To,{content:U.jsx(He,{id:"extras.sources",defaultMessage:"Sources"}),size:"mini",position:"bottom center",trigger:U.jsx(lt,{circular:!0,name:"quote right"})})},"sources"),render:()=>U.jsx(Yi.Pane,{children:U.jsx(YQ,{sources:e.sources})})},l=((w=e.files)==null?void 0:w.length)&&{menuItem:U.jsx(on.Item,{fitted:!0,onClick:a,children:U.jsx(To,{content:U.jsx(He,{id:"extras.files",defaultMessage:"Additonal files"}),size:"mini",position:"bottom center",trigger:U.jsx(lt,{circular:!0,name:"file alternate outline"})})},"files"),render:()=>U.jsx(Yi.Pane,{children:U.jsx(VQ,{files:e.files})})},c=[o,s,u,l].flatMap(g=>g?[g]:[]);return c.length?U.jsx(vt.Description,{children:U.jsx(Yi,{className:"event-extras",activeIndex:t,renderActiveOnly:!0,menu:{tabular:!0,attached:!0,compact:!0,borderless:!0},panes:c})}):null}const e7e=new Map([["ADOP","Adoption"],["BAPM","Baptism"],["BARM","Bar Mitzvah"],["BASM","Bas Mitzvah"],["BIRT","Birth"],["BLES","Blessing"],["BURI","Burial"],["CENS","Census"],["CHR","Christening"],["CHRA","Adult christening"],["CONF","Confirmation"],["CREM","Cremation"],["DEAT","Death"],["DEG","Degree"],["DIV","Divorce"],["DIVF","Divorce filed"],["EDUC","Education"],["ELEC","Elected"],["EMAIL","E-mail"],["EMIG","Emigration"],["ENGA","Engagement"],["EVEN","Event"],["FACT","Fact"],["FCOM","First communion"],["GRAD","Graduation"],["IMMI","Immigration"],["MARB","Marriage bann"],["MARC","Marriage contract"],["MARL","Marriage license"],["MARR","Marriage"],["MARS","Marriage settlement"],["MDCL","Medical info"],["MILT","Military services"],["NATU","Naturalization"],["OBJE","Additional files"],["OCCU","Occupation"],["ORDN","Ordination"],["PROB","Probate"],["PROP","Property"],["RESI","Residence"],["RETI","Retirement"],["SOUR","Sources"],["TITL","Title"],["WILL","Will"],["WWW","WWW"],["birth","Birth name"],["married","Married name"],["maiden","Maiden name"],["immigrant","Immigrant name"],["aka","Also known as"]]);function Il(e){const t=e.tag.replace(/_/g,"");return U.jsx(He,{id:`gedcom.${t}`,defaultMessage:e7e.get(t)||t})}function t7e(e){const t=si(),n=V0e(e.person),r=Ur.parse(t.search);return r.indi=kp(e.person.pointer),U.jsx(vt.Meta,{children:U.jsx(cf,{to:{pathname:"/view",search:Ur.stringify(r)},children:n||U.jsx(He,{id:"name.unknown_name",defaultMessage:"N.N."})})})}const xR=["BIRT"],n7e=["ADOP","BAPM","BARM","BASM","BLES","CENS","CHR","CHRA","CONF","EDUC","EMIG","EVEN","FAMS","FCOM","GRAD","IMMI","NATU","ORDN","OCCU","PROP","RESI","RETI","WILL","_DEG","_ELEC","_MDCL","_MILT"],KQ=["ANUL","CENS","DIV","DIVF","ENGA","EVEN","MARB","MARC","MARL","MARR","MARS"],XQ=[...n7e,...KQ],ER=["DEAT"],ZQ=["BURI","CREM","PROB"],r7e=[xR,XQ,ER,ZQ],i7e=[...xR,...XQ,...ER,...ZQ];function a7e(e){const t=ai();return U.jsxs("div",{className:"item-header",children:[U.jsx(sn,{as:"span",size:"small",children:U.jsx(Il,{tag:o7e(e.event)})}),e.event.date?U.jsx(sn,{as:"span",textAlign:"right",sub:!0,children:Wf(e.event.date,t)}):null]})}function o7e(e){return e.tag==="EVEN"&&e.type?e.type:e.tag}function s7e(e,t,n){const r=t.tree.filter(i=>["WIFE","HUSB"].includes(i.tag)).find(i=>!i.data.includes(e));if(r)return ia(r,n,i=>i.indis)}function u7e(e,t,n,r){if(!ER.includes(e.tag))return;const i=xm(e),a=n.indis[t].tree.filter(o=>xR.includes(o.tag)).map(o=>xm(o)).find(o=>o);if(!(!a||!i))return $Le(a==null?void 0:a.data,i==null?void 0:i.data,r)}function JQ(e){const t=e.tree.find(n=>n.tag==="PLAC");return t!=null&&t.data?wl(t):void 0}function eK(e,t){return e.tree.filter(n=>n.tag==="OBJE").map(n=>ia(n,t,r=>r.other)).map(n=>aj(n)).flatMap(n=>n?[{url:(n==null?void 0:n.data)||"",filename:Vw(n)||""}]:[])}function tK(e,t){return e.tree.filter(n=>n.tag==="OBJE").map(n=>ia(n,t,r=>r.other)).map(n=>ij(n)).flatMap(n=>n?[{url:(n==null?void 0:n.data)||"",filename:Vw(n)||""}]:[])}function nK(e,t){return e.tree.filter(n=>n.tag==="SOUR").map(n=>sj(n,t))}function rK(e,t){const n=e.tree.filter(i=>i.tag==="NOTE").map(i=>ia(i,t,a=>a.other)),r=e.tag!=="EVEN"?e.tree.filter(i=>i.tag==="TYPE"):[];return[e,...r,...n].filter(i=>!!i.data).filter(i=>i.data!=="Y").map(i=>wl(i))}function l7e(e,t,n,r){return e.tag==="FAMS"?f7e(e,t,n):c7e(e,t,n,r)}function c7e(e,t,n,r){const i=xm(e)||null;return[{tag:e.tag,date:i?Ln.getDate(i.data):void 0,type:oj(e),age:u7e(e,n,t,r),place:JQ(e),images:eK(e,t),files:tK(e,t),notes:rK(e,t),sources:nK(e,t),indi:n}]}function f7e(e,t,n){const r=ia(e,t,i=>i.fams);return K_(KQ,i=>r.tree.filter(a=>a.tag===i)).map(i=>{const a=xm(i)||null;return{tag:i.tag,date:a?Ln.getDate(a.data):void 0,type:oj(i),personLink:s7e(n,r,t),place:JQ(i),images:eK(i,t),files:tK(i,t),notes:rK(i,t),sources:nK(i,t),indi:n}})}function d7e(e){return U.jsx(vt,{children:U.jsxs(vt.Content,{children:[U.jsx(a7e,{event:e.event}),!!e.event.age&&U.jsx(vt.Meta,{children:e.event.age}),!!e.event.personLink&&U.jsx(t7e,{person:e.event.personLink}),!!e.event.place&&U.jsx(vt.Description,{children:e.event.place}),U.jsx(JLe,{images:e.event.images,notes:e.event.notes,sources:e.event.sources,indi:e.event.indi,files:e.event.files})]})})}function h7e(e){const t=ai(),n=K_(r7e,r=>e.entries.filter(i=>r.includes(i.tag)).map(i=>l7e(i,e.gedcom,e.indi,t)).flatMap(i=>i).sort((i,a)=>Ww(i.date,a.date)));return n.length?U.jsx(U.Fragment,{children:n.map((r,i)=>U.jsx(d7e,{event:r},i))}):null}const p7e=[...i7e,"NAME","SEX","FAMC","FAMS","NOTE","SOUR","FACT"];function m7e(e){const t=[];return e.data&&t.push(...wl(e)),e.tree.filter(n=>n.tag==="NOTE").forEach(n=>wl(n).forEach(r=>t.push(U.jsx("i",{children:r})))),t.length?U.jsxs(U.Fragment,{children:[U.jsx(sn,{sub:!0,children:U.jsx(Il,{tag:e.tag})}),U.jsx("span",{children:U.jsx(bR,{lines:t})})]}):null}function g7e(e){if(!e.data)return null;let t=e.tree.filter(r=>r.tag==="TYPE").flatMap(r=>wl(r)).join().trim(),n=wl(e).join(" ").trim();return t?U.jsxs(U.Fragment,{children:[U.jsx(sn,{sub:!0,children:U.jsx(Il,{tag:e.tag})}),U.jsxs("div",{children:[U.jsx("b",{children:t}),": ",n]})]}):U.jsxs(U.Fragment,{children:[U.jsx(sn,{sub:!0,children:U.jsx(Il,{tag:e.tag})}),U.jsx("div",{children:n})]})}function v7e(e,t){const n=ia(e,t,i=>i.other),r=aj(n);return!r||!SR(n)?null:U.jsx("div",{className:"person-image",children:U.jsx(QQ,{url:r.data,filename:Vw(r)||""})})}function y7e(e,t){const n=e.map(r=>sj(r,t));return n.length?U.jsxs(U.Fragment,{children:[U.jsx("div",{className:"item-header",children:U.jsx(sn,{as:"span",size:"small",children:U.jsx(Il,{tag:"SOUR"})})}),U.jsx(YQ,{sources:n})]}):null}function w7e(e,t){const n=[];return e.map(r=>ia(r,t,i=>i.other)).forEach(r=>{var a;const i=ij(r);i&&n.push({url:i.data,filename:Vw(i),titl:(a=r.tree.find(o=>o.tag==="TITL"))==null?void 0:a.data})}),n.length?U.jsxs(U.Fragment,{children:[U.jsx("div",{className:"item-header",children:U.jsx(sn,{as:"span",size:"small",children:U.jsx(Il,{tag:"OBJE"})})}),U.jsx(VQ,{files:n})]}):null}function _7e(e,t){const n=ia(e,t,r=>r.other);return!n||!SR(n)?null:U.jsx(bR,{lines:wl(n).map((r,i)=>U.jsx("i",{children:r},i))})}function b7e(e){var f,d,p,w,g,y,_,b;const t=(f=e.tree.find(E=>E.tag==="NPFX"))==null?void 0:f.data,n=(d=e.tree.find(E=>E.tag==="GIVN"))==null?void 0:d.data,r=(p=e.tree.find(E=>E.tag==="_RUFNAME"))==null?void 0:p.data,i=(w=e.tree.find(E=>E.tag==="NICK"))==null?void 0:w.data,a=(g=e.tree.find(E=>E.tag==="SPFX"))==null?void 0:g.data,o=(y=e.tree.find(E=>E.tag==="SURN"))==null?void 0:y.data,s=(_=e.tree.find(E=>E.tag==="NSFX"))==null?void 0:_.data,l=[t,n,r&&`"${r}"`,i&&`(${i})`,a,o,s].filter(Boolean).join(" ").trim()||e.data.replaceAll("/","")||"",c=(b=e.tree.find(E=>E.tag==="TYPE"&&E.data!=="Unknown"))==null?void 0:b.data;return U.jsxs(U.Fragment,{children:[U.jsx(sn,{as:"span",size:"large",children:l||U.jsx(He,{id:"name.unknown_name",defaultMessage:"N.N."})}),l&&c&&U.jsx(vt.Meta,{children:U.jsx(Il,{tag:c})})]})}function ay(e,t,n,r){return K_(n,i=>e.filter(a=>a.tag===i).map(a=>r(a,t))).filter(i=>i!==null).map((i,a)=>U.jsx(vt,{children:U.jsx(vt.Content,{children:i})},a))}function r9(e,t,n,r){const i=K_(n,o=>e.filter(s=>s.tag===o)).filter(o=>o!==null),a=i.length?r(i,t):null;return a?U.jsx(vt,{children:U.jsx(vt.Content,{children:a})}):null}function SR(e){return e.tree.length>0||e.data&&!e.data.startsWith("@")}function x7e(e,t){return e.filter(n=>!p7e.includes(n.tag)).map(n=>ia(n,t,r=>r.other)).filter(SR).map(n=>m7e(n)).filter(n=>n!==null).map((n,r)=>U.jsx(vt,{children:U.jsx(vt.Content,{children:n})},r))}function E7e(e){return U.jsx(vt,{children:U.jsxs(vt.Content,{children:[U.jsx(sn,{sub:!0,children:U.jsx(He,{id:"config.ids",defaultMessage:"Identification"})}),U.jsx("div",{children:U.jsx("i",{children:e})})]})})}function S7e(e){const t=e.gedcom.indis[e.indi].tree;return U.jsx("div",{className:"details",children:U.jsxs(vt.Group,{divided:!0,children:[ay(t,e.gedcom,["NAME"],b7e),ay(t,e.gedcom,["OBJE"],v7e),U.jsx(h7e,{gedcom:e.gedcom,entries:t,indi:e.indi}),e.config.id===oP.SHOW?E7e(e.indi):null,ay(t,e.gedcom,["FACT"],g7e),x7e(t,e.gedcom),ay(t,e.gedcom,["NOTE"],_7e),r9(t,e.gedcom,["OBJE"],w7e),r9(t,e.gedcom,["SOUR"],y7e)]})})}function C7e({data:e,selectedIndiId:t,config:n,onConfigChange:r,expanded:i,onToggle:a}){const o=ai(),s=[{menuItem:o.formatMessage({id:"tab.info",defaultMessage:"Info"}),render:()=>U.jsx(S7e,{gedcom:e.gedcom,indi:t,config:n})},{menuItem:o.formatMessage({id:"tab.settings",defaultMessage:"Settings"}),render:()=>U.jsx(X0e,{gedcom:e.gedcom,config:n,onChange:r})}];return U.jsxs(du,{id:"sidebar",animation:"overlay",icon:"labeled",width:i?"wide":"very thin",direction:"right",visible:!0,children:[i?U.jsx(Yi,{id:"sideTabs",panes:s}):U.jsx(bFe,{gedcom:e.gedcom,indi:t}),U.jsx(zn,{id:"sideToggle",icon:!0,size:"mini",onClick:()=>a(),children:U.jsx(lt,{size:"large",name:i?"arrow right":"arrow left"})})]})}function k7e(e,t){return e instanceof Sd?t.formatMessage({id:`error.${e.code}`,defaultMessage:e.message},e.args):e.message}function A7e(e){return U.jsxs(Ti,{negative:!0,className:"error",children:[U.jsx(Ti.Header,{children:U.jsx(He,{id:"error.failed_to_load_file",defaultMessage:"Failed to load file"})}),U.jsx("p",{children:e.message})]})}function T7e(e){return U.jsx(Ci,{open:e.open,onClose:e.onDismiss,children:U.jsxs(Ti,{negative:!0,className:"errorPopup",onDismiss:e.onDismiss,children:[U.jsx(Ti.Header,{children:U.jsx(He,{id:"error.error",defaultMessage:"Error"})}),U.jsx("p",{children:e.message})]})})}function i9(e,t){const n=t[e];return typeof n=="string"?n:void 0}function M7e(e){const t=Ur.parse(e.search),n=p=>i9(p,t),r=n("view"),i=new Map([["relatives",Os.Relatives],["fancy",Os.Fancy],["donatso",Os.Donatso]]),a=n("file"),o=n("url"),s=n("embedded")==="true";var u=void 0;if(n("source")==="wikitree"){const p=Ur.parse(window.location.search);u={source:Zn.WIKITREE,authcode:n("authcode")||i9("authcode",p)}}else a?u={source:Zn.UPLOADED,hash:a,gedcom:e.state&&e.state.data,images:e.state&&e.state.images}:o?u={source:Zn.GEDCOM_URL,url:o,handleCors:n("handleCors")!=="false"}:s&&(u={source:Zn.EMBEDDED});const l=n("indi"),c=Number(n("gen")),f=l?{id:l,generation:isNaN(c)?0:c}:void 0;function d(){return window.matchMedia("(max-width: 767px)").matches?n("sidePanel")==="true":n("sidePanel")!=="false"}return{sourceSpec:u,selection:f,chartType:i.get(r)||Os.Hourglass,showSidePanel:d(),standalone:n("standalone")!=="false"&&!s&&!0,showWikiTreeMenus:n("showWikiTreeMenus")!=="false",freezeAnimation:n("freeze")==="true",config:Q0e(t)}}function P7e(){const[e,t]=J.useState(0),[n,r]=J.useState(),[i,a]=J.useState(),[o,s]=J.useState(),[u,l]=J.useState(),[c,f]=J.useState(!1),[d,p]=J.useState(!0),[w,g]=J.useState(!0),[y,_]=J.useState(Os.Hourglass),[b,E]=J.useState(!1),[S,v]=J.useState(),[C,A]=J.useState(!1),[M,R]=J.useState(by),N=ai(),P=Dl(),B=si();function V(_e){(!i||i.id!==_e.id||i.generation!==_e.generation)&&(a(_e),s(_e.id))}function F(_e,Qe){if(Qe===void 0)return;let Le=_e.id===oP.HIDE,Me=_e.sex===uj.HIDE;rP(Qe.chartData).forEach(_t=>{_t.hideId=Le,_t.hideSex=Me})}function $(){const _e=!c;f(_e),H({sidePanel:_e?"true":"false"})}function z(_e){l(_e),t(2)}const Q=new Jve,K=new eye,j=new Hye(N),L=new tye;function W(_e,Qe){if(!S||S.source!==_e.source)return!0;const Le={spec:_e,selection:Qe},Me={spec:S,selection:i};switch(Le.spec.source){case Zn.UPLOADED:return Q.isNewData(Le,Me,n);case Zn.GEDCOM_URL:return K.isNewData(Le,Me,n);case Zn.WIKITREE:return j.isNewData(Le,Me,n);case Zn.EMBEDDED:return L.isNewData(Le,Me,n)}}function G(_e,Qe){switch(_e.source){case Zn.UPLOADED:return Q.loadData({spec:_e,selection:Qe});case Zn.GEDCOM_URL:return K.loadData({spec:_e,selection:Qe});case Zn.WIKITREE:return j.loadData({spec:_e,selection:Qe});case Zn.EMBEDDED:return L.loadData({spec:_e,selection:Qe})}}J.useEffect(()=>{(async()=>{var Qe,Le;if(B.pathname!=="/view"){e!==0&&t(0);return}const _e=M7e(B);if(!_e.sourceSpec){P({pathname:"/"},{replace:!0});return}if(e===0||W(_e.sourceSpec,_e.selection)){t(1),v(_e.sourceSpec),a(_e.selection),s((Qe=_e.selection)==null?void 0:Qe.id),p(_e.standalone),g(_e.showWikiTreeMenus),_(_e.chartType),A(_e.freezeAnimation),R(_e.config);try{const Me=await G(_e.sourceSpec,_e.selection);r(Me),F(_e.config,Me),f(_e.showSidePanel),t(3)}catch(Me){z(k7e(Me,N))}}else if(e===3||e===4){const Me=_e.sourceSpec.source===Zn.WIKITREE&&(!i||i.id!==((Le=_e.selection)==null?void 0:Le.id));if(_(_e.chartType),t(Me?4:3),V(w2(n.chartData,_e.selection)),Me)try{const it=await qj(_e.selection.id,N),_t=w2(it.chartData,_e.selection);r(it),a(_t),s(_t.id),t(3)}catch(it){t(3),we(N.formatMessage({id:"error.failed_wikitree_load_more",defaultMessage:"Failed to load data from WikiTree. {error}"},{error:it}))}}})()});function H(_e){const Qe=Ur.parse(B.search);for(const Le in _e)Qe[Le]=_e[Le];B.search=Ur.stringify(Qe),P(B)}function ne(_e){_e.id.startsWith(fP)||(Fn("selection_changed"),H({indi:_e.id,gen:_e.generation}))}function ce(_e){s(_e.id)}function me(){Fn("print"),gve()}function we(_e){E(!0),l(_e)}async function xe(){Fn("download_pdf");try{await _ve()}catch{we(N.formatMessage({id:"error.failed_pdf",defaultMessage:"Failed to generate PDF file. Please try with a smaller diagram or download an SVG file."}))}}async function pe(){Fn("download_png");try{await wve()}catch{we(N.formatMessage({id:"error.failed_png",defaultMessage:"Failed to generate PNG file. Please try with a smaller diagram or download an SVG file."}))}}function be(){Fn("download_svg"),vve()}function Ne(){E(!1)}function ge(_e){return y===Os.Donatso?U.jsx(LOe,{data:n.chartData,selection:_e,onSelection:ne}):U.jsx(Ave,{data:n.chartData,selection:_e,chartType:y,onSelection:ne,onDetailSelection:ce,freezeAnimation:C,colors:M.color,hideIds:M.id,hideSex:M.sex})}function Fe(){switch(e){case 3:case 4:const _e=w2(n.chartData,i);return U.jsxs("div",{id:"content",children:[U.jsx(T7e,{open:b,message:u,onDismiss:Ne}),e===4?U.jsx(Tf,{active:!0,size:"small",className:"loading-more"}):null,U.jsxs($f,{children:[U.jsx(C7e,{data:n,selectedIndiId:o||_e.id,config:M,expanded:c,onToggle:$,onConfigChange:Qe=>{R(Qe),F(Qe,n),H(K0e(Qe))}}),U.jsx(Ff,{children:ge(_e)})]})]});case 2:return U.jsx(A7e,{message:u});case 0:case 1:return U.jsx(Tf,{active:!0,size:"large"})}}return U.jsxs(U.Fragment,{children:[U.jsx(_Fe,{data:n==null?void 0:n.chartData,allowAllRelativesChart:(S==null?void 0:S.source)!==Zn.WIKITREE,allowPrintAndDownload:y!==Os.Donatso,showingChart:B.pathname==="/view"&&(e===3||e===4),standalone:d,eventHandlers:{onSelection:ne,onPrint:me,onDownloadPdf:xe,onDownloadPng:pe,onDownloadSvg:be},showWikiTreeMenus:(S==null?void 0:S.source)===Zn.WIKITREE&&w}),U.jsxs(Qee,{children:[U.jsx(sy,{path:"/",element:U.jsx(I$e,{})}),U.jsx(sy,{path:"/view",element:Fe()}),U.jsx(sy,{path:"*",element:U.jsx(Vee,{to:"/",replace:!0})})]})]})}const R7e={"menu.open":"Отваряне","menu.open_file":"Отваряне на файл","menu.load_from_url":"Зареждане от адрес","menu.select_wikitree_id":"Избор на WikiTree ID","menu.print":"Отпечатване","menu.download":"Изтегляне","menu.pdf_file":"PDF файл","menu.png_file":"PNG файл","menu.svg_file":"SVG файл","menu.download_pdf":"Изтегляне като PDF","menu.download_png":"Изтегляне като PNG","menu.download_svg":"Изтегляне като SVG","menu.view":"Изглед","menu.hourglass":"Пясъчен часовник","menu.relatives":"Всички роднини","menu.donatso":"Семейна диаграма на Донацо","menu.fancy":"Декоративно дърво (експериментално)","menu.wikitree_login":"Вход в WikiTree","menu.wikitree_logged_in":"Вписани","menu.wikitree_popup_username":"Вписани сте в WikiTree като {username}","menu.wikitree_popup":"Вписани в WikiTree","menu.github":"Проект в GitHub","menu.search.placeholder":"Търсене на лице","menu.search.no_results":"Няма резултати","intro.title":"Topola Genealogy","intro.description":"Topola Genealogy е приложение за преглед на родословни дървета, която дава възможност за разглеждане структурата на семейство.","intro.instructions":"Използвайте бутоните за отваряне на файл и зареждане от адрес, за да отворите GEDCOM файл. Повечето приложения и страници за генеалогия позволяват изнасяне на GEDCOM файлове.","intro.examples":"Примерни родословни дървета","intro.from":"от","intro.whats_new":"Последни промени","intro.full_changelog":"Списък с всички промени","whats_new.title":"Новото в това издание","intro.privacy":"Поверителност","intro.privacy_note":"При отваряне на файл тази страницата не изпраща никъде вашите данни - заредените файловете не напускат вашето устройство. При зареждане на файл от адрес, данните преминават през услугата {link}, за да бъдат избегнати проблеми при заявяването на файлове между различни сайтове (CORS).","load_from_url.title":"Зареждане от адрес","load_from_url.comment":"Данните от адреса ще преминат през услугата {link}, за да бъдат избегнати проблеми при заявяването на файлове между различни сайтове (CORS).","load_from_url.cancel":"Отказ","load_from_url.load":"Зареждане","select_wikitree_id.title":"Избиране на WikiTree ID","select_wikitree_id.comment":"Въведете идентификатор на профил в {wikiTreeLink}. Пример: {example1}, {example2}","select_wikitree_id.cancel":"Отказ","select_wikitree_id.load":"Зареждане","gedcom.ADOP":"Осиновяване","gedcom.BAPM":"Кръщене","gedcom.BARM":"Бар мицва","gedcom.BASM":"Бат мицва","gedcom.BIRT":"Раждане","gedcom.BLES":"Благословия","gedcom.BURI":"Погребение","gedcom.CENS":"Преброяване на населението","gedcom.CHR":"Кръщене","gedcom.CHRA":"Кръщение за възрастни","gedcom.CONF":"Потвърждение","gedcom.CREM":"Кремиране","gedcom.DEAT":"Смърт","gedcom.DEG":"Академична степен","gedcom.DIV":"Развод","gedcom.DIVF":"Подадено е заявление за развод","gedcom.DSCR":"Описание","gedcom.EDUC":"Образование","gedcom.ELEC":"Подбор за длъжността","gedcom.EMAIL":"Електронна поща","gedcom.EMIG":"Емигриране","gedcom.ENGA":"Годеж","gedcom.EVEN":"Събитие","gedcom.FACT":"Факт","gedcom.FCOM":"Първо причастие","gedcom.GRAD":"Завършване на обучението","gedcom.IMMI":"Имигриране","gedcom.MARB":"Забрана за брак","gedcom.MARC":"Брачен договор","gedcom.MARL":"Брачно свидетелство","gedcom.MARR":"Бракосъчетание","gedcom.MARS":"Предбрачен договор","gedcom.MDCL":"Медицинска информация","gedcom.MILT":"Военна служба","gedcom.NATU":"Натурализация","gedcom.OBJE":"Допълнителни файлове","gedcom.OCCU":"Професия","gedcom.ORDN":"Ръкополагане","gedcom.PROB":"Потвърждение на завещанието","gedcom.PROP":"Имот","gedcom.RESI":"Местожителство","gedcom.RETI":"Пенсиониране","gedcom.RELI":"Религия","gedcom.RIN":"ID","gedcom.SOUR":"Източници","gedcom.TITL":"Обръщение","gedcom.WILL":"Завещание","gedcom.WWW":"Препратка","gedcom._UPD":"Последно обновяване","gedcom.birth":"Рождено име","gedcom.married":"Име след брак","gedcom.maiden":"Моминско име","gedcom.immigrant":"Имигрантско име","gedcom.aka":"Също известни като","date.abt":"около","date.cal":"изчислено","date.est":"приблизително","date.between":"между {from} и {to}","date.after":"след {from}","date.before":"преди {to}","age.exact":"{age, plural, =0 {Под 1 година} one {{qualifier} 1 година} other {{qualifier} # години}}","age.less":"Под {age, plural, =0 {1 година} one {1 година} other {# години}}","age.more":"Над {age, plural, =0 {0 години} one {1 година} other {# години}}","age.between":"Между {ageFrom} {ageTo, plural, =0 {0 години} one {1 година} other {# години}}","error.error":"Грешка","error.failed_pdf":"Неуспешно създаване на PDF файл. Опитайте с по-малка диаграма или изтеглете SVG.","error.failed_png":"Неуспешно създаване на PNG файл. Опитайте с по-малка диаграма или изтеглете SVG.","error.failed_to_load_file":"Грешка при зареждане на файл","error.failed_wikitree_load_more":"Грешка при зареждане на данни от WikiTree. {error}}","error.GEDCOM_READ_FAILED":"Грешка при отваряне на GEDCOM файл","error.ERROR_LOADING_UPLOADED_FILE":"Грешка при зареждането на данни. Качете файла отново.","error.WIKITREE_ID_NOT_PROVIDED":"Не е указан идентификатор на профил в WikiTree","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Профилът {id} в WikiTree е недостъпен. Опитайте да се впишете.","error.WIKITREE_PROFILE_NOT_FOUND":"Профилът {id} в WikiTree не е намерен","error.failed_to_load_image":"Грешка при зареждане на изображение","wikitree.private":"Скрито","tab.info":"Информация","tab.settings":"Настройки","config.colors":"Цвят","config.colors.NO_COLOR":"Без цвят","config.colors.COLOR_BY_GENERATION":"По поколения","config.colors.COLOR_BY_SEX":"По пол","config.ids":"Идентификатори","config.ids.HIDE":"Скриване","config.ids.SHOW":"Показване","config.sex":"Пол","config.sex.HIDE":"Скриване","config.sex.SHOW":"Показване","head.source":"Източник на данни","name.unknown_name":"Неизвестно име","extras.images":"Изображение","extras.notes":"Бележки","extras.sources":"Източници","extras.files":"Допълнителни файлове"},I7e={"menu.open":"Otevřít","menu.open_file":"Otevřít soubor","menu.load_from_url":"Otevřít z URL","menu.select_wikitree_id":"Vybrat WikiTree ID","menu.print":"Tisknout","menu.download":"Stáhnout","menu.pdf_file":"Soubor PDF","menu.png_file":"Soubor PNG","menu.svg_file":"Soubor SVG","menu.download_pdf":"Stáhnout PDF","menu.download_png":"Stáhnout PNG","menu.download_svg":"Stáhnout SVG","menu.view":"Zobrazení","menu.hourglass":"Přesýpací hodiny","menu.relatives":"Všichni příbuzní","menu.donatso":"Donatso rodokmen","menu.fancy":"Rodinný strom (experimentální)","menu.wikitree_login":"Přihlášení na WikiTree","menu.wikitree_logged_in":"Přihlášeno","menu.wikitree_popup_username":"Přihlášeno do WikiTree jako {username}","menu.wikitree_popup":"Přihlášeno do WikiTree","menu.github":"GitHub projekt","menu.search.placeholder":"Hledej osobu","menu.search.no_results":"Žádné výsledky","intro.title":"Topola Genealogy","intro.description":"Topola Genealogy vám umožňuje interaktivní prohlížení rodokmenu.","intro.instructions":"Kliknutím na OTEVŘÍT SOUBOR nebo OTEVŘÍT Z URL načtete soubor GEDCOM. Většina genealogických programů má funkci exportu do formátu GEDCOM.","intro.examples":"Níže je uvedeno několik příkladů použití z internetu:","intro.from":"zdroj:","intro.whats_new":"Co je nového","intro.full_changelog":"Úplný seznam změn","whats_new.title":"Co je nového v této verzi?","intro.privacy":"Soukromí","intro.privacy_note":"Pomocí funkce „Otevřít soubor“ nejsou vaše data nikam odesílána a zůstávají ve vašem počítači. Při použití funkce „Otevřít z URL“ jsou data z dané adresy odeslána službou {link}, aby bylo možné data načíst (CORS).","load_from_url.title":"Otevřít z adresy URL","load_from_url.comment":"Data z dané adresy URL budou načtena prostřednictvím služby {link}, aby nedocházelo k problémům s CORS.","load_from_url.cancel":"Storno","load_from_url.load":"Otevřít","select_wikitree_id.title":"Zadejte WikiTree ID","select_wikitree_id.comment":"Zadejte ID profilu {wikiTreeLink}. Příklad: {example1}, {example2}","select_wikitree_id.cancel":"Storno","select_wikitree_id.load":"Otevřít","gedcom.ADOP":"Adopce","gedcom.BAPM":"Křest","gedcom.BARM":"Bar micva","gedcom.BASM":"Bas micva","gedcom.BIRT":"Narození","gedcom.BLES":"Požehnání","gedcom.BURI":"Pohřeb","gedcom.CENS":"Sčítání lidu","gedcom.CHR":"Křest","gedcom.CHRA":"Křest dospělých","gedcom.CONF":"Potvrzení","gedcom.CREM":"Kremace","gedcom.DEAT":"Úmrtí","gedcom.DEG":"Academic degree","gedcom.DIV":"Rozvod","gedcom.DIVF":"Potvrzení","gedcom.DSCR":"Popis","gedcom.EDUC":"Vzdělání","gedcom.ELEC":"Výběr na pozici","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Emigrace","gedcom.ENGA":"zasnoubení","gedcom.EVEN":"Událost","gedcom.FACT":"Údaj","gedcom.FCOM":"První přijímání","gedcom.GRAD":"Dokončení školení ","gedcom.IMMI":"Imigrace","gedcom.MARB":"Družstvo","gedcom.MARC":"Manželská smlouva ","gedcom.MARL":"Oddací list","gedcom.MARR":"Svatba","gedcom.MARS":"Předmanželská smlouva","gedcom.MDCL":"Lékařské informace","gedcom.MILT":"Vojenská služba","gedcom.NATU":"Získání občanství","gedcom.OBJE":"Další soubory","gedcom.OCCU":"Povolání","gedcom.ORDN":"Vysvěcení","gedcom.PROB":"Potvrzení závěti","gedcom.PROP":"Majetek","gedcom.RESI":"Bydliště","gedcom.RETI":"Odchod do důchodu ","gedcom.RELI":"Vyznání","gedcom.RIN":"ID","gedcom.SOUR":"Zdroje","gedcom.TITL":"Titul","gedcom.WILL":"Závěť","gedcom.WWW":"Stránka WWW","gedcom._UPD":"Poslední aktualizace","gedcom.birth":"Rodné jméno","gedcom.married":"Jméno po svatbě","gedcom.maiden":"Jméno za svobodna","gedcom.immigrant":"Jméno získané imigrací","gedcom.aka":"Také znám(a) jako","date.abt":"kolem","date.cal":"vypočteno","date.est":"asi","date.between":"mezi {from} a {to}","date.after":"po {from}","date.before":"před {to}","age.exact":"{qualifier}{age, plural, =0 {Méně než rok} one {1 rok} few {# roky} other {# let}}","age.less":"Méne než {age, plural, =0 {1 rok} one {1 rok} few {# roky} other {# let}}","age.more":"Více než {age, plural, =0 {0 let} one {1 rok} few {# roky} other {# let}}","age.between":"Mezi {ageFrom} a {ageTo, plural, =0 {0 lety} one {1 rokem} few {# roky} other {# lety}}","error.error":"Chyba","error.failed_pdf":"Soubor PDF nelze vytvořit. Zkuste to znovu s menším diagramem nebo stáhněte soubor SVG.","error.failed_png":"Soubor PNG nelze vytvořit. Zkuste to znovu s menším diagramem nebo stáhněte soubor SVG.","error.failed_to_load_file":"Chyba při načítání souboru","error.failed_wikitree_load_more":"Chyba při načítání dat z WikiTree. {chyba}","error.GEDCOM_READ_FAILED":"Chyba při načítání souboru GEDCOM","error.ERROR_LOADING_UPLOADED_FILE":"Chyba při načítání dat. Znovu otevřete soubor.","error.WIKITREE_ID_NOT_PROVIDED":"WikiTree ID nebylo získáno","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Profil WikiTree {id} není k dispozici","error.WIKITREE_PROFILE_NOT_FOUND":"Profil WikiTree {id} neexistuje","error.failed_to_load_image":"Nepodařilo se načíst obrázek","wikitree.private":"Soukromé","tab.info":"Informace","tab.settings":"Nastavení","config.colors":"Barvy","config.colors.NO_COLOR":"žádné","config.colors.COLOR_BY_GENERATION":"podle generace","config.colors.COLOR_BY_SEX":"podle pohlaví","config.ids":"Identifikátory","config.ids.HIDE":"skrýt","config.ids.SHOW":"zobrazit","config.sex":"Pohlaví","config.sex.HIDE":"skrýt","config.sex.SHOW":"zobrazit","head.source":"Zdroj dat","name.unknown_name":"N.N.","extras.images":"Obrázky","extras.notes":"Poznámky","extras.sources":"Zdroje","extras.files":"Další soubory"},N7e={"menu.open":"Öffnen","menu.open_file":"Datei öffnen","menu.load_from_url":"URL öffnen","menu.select_wikitree_id":"WikiTree ID auswählen","menu.print":"Drucken","menu.download":"Download","menu.pdf_file":"PDF-Datei","menu.png_file":"PNG-Datei","menu.svg_file":"SVG-Datei","menu.download_pdf":"PDF herunterladen","menu.download_png":"PNG herunterladen","menu.download_svg":"SVG herunterladen","menu.view":"Ansicht","menu.hourglass":"Sanduhrkarte","menu.relatives":"Alle Verwandten","menu.donatso":"Donatso-Stammbaum","menu.fancy":"Zierbaum (experimentell)","menu.wikitree_login":"Bei WikiTree anmelden","menu.wikitree_logged_in":"Eingeloggt","menu.wikitree_popup_username":"Bei WikiTree als {username} angemeldet","menu.wikitree_popup":"Bei WikiTree angemeldet","menu.github":"Projekt auf der GitHub-Website","menu.search.placeholder":"Person suchen","menu.search.no_results":"Keine Ergebnisse","intro.title":"Topola Genealogie","intro.description":"Mit der Topola Genealogie können Sie den Stammbaum auf interaktive Weise durchsuchen.","intro.instructions":"Klicken Sie auf Datei öffnen oder URL öffnen, um eine GEDCOM-Datei zu laden. Die meisten Genealogie-Programme verfügen über eine GEDCOM-Exportfunktion.","intro.examples":"Nachfolgend einige Beispiele aus dem Internet:","intro.from":"Quelle:","intro.whats_new":"Was ist neu","intro.full_changelog":"Siehe komplette Änderungshistorie","whats_new.title":"Was ist in dieser Version neu!","intro.privacy":"Datenschutz","intro.privacy_note":'Bei Verwendung der Funktion "Datei öffnen" werden Ihre Daten nirgendwo gesendet und verbleiben auf Ihrem Computer. Bei Verwendung der Funktion "URL öffnen" werden Daten von der angegebenen Adresse vom Dienst {link} an gesendet Ermöglichen des Ladens von Daten aus einer anderen Domäne (CORS).',"load_from_url.title":"Von URL öffnen","load_from_url.comment":"Die Daten der angegebenen URL werden über den {link} -Dienst geladen, um CORS-Probleme zu vermeiden.","load_from_url.cancel":"Abbrechen","load_from_url.load":"Öffnen","select_wikitree_id.title":"WikiTree ID eingeben","select_wikitree_id.comment":"Geben Sie die Profil-ID {wikiTreeLink} ein. Beispiele: {example1}, {example2}","select_wikitree_id.cancel":"Abbrechen","select_wikitree_id.load":"Öffnen","gedcom.ADOP":"Adoption","gedcom.BAPM":"Taufe","gedcom.BARM":"Bar-Mitzwah","gedcom.BASM":"Bas-Mitzwah","gedcom.BIRT":"Geburt","gedcom.BLES":"Segnung","gedcom.BURI":"Beerdigung","gedcom.CENS":"Volkszählung","gedcom.CHR":"Taufe","gedcom.CHRA":"Erwachsenentaufe","gedcom.CONF":"Konfirmation/Firmung","gedcom.CREM":"Feuerbestattung","gedcom.DEAT":"Tod","gedcom.DEG":"Akademischer Grad","gedcom.DIV":"Scheidung","gedcom.DIVF":"Scheidung eingereicht","gedcom.DSCR":"Beschreibung","gedcom.EDUC":"Ausbildung","gedcom.ELEC":"Auswahl für die Position","gedcom.EMAIL":"E-Mail","gedcom.EMIG":"Auswanderung","gedcom.ENGA":"Verlobung","gedcom.EVEN":"Ereignis","gedcom.FACT":"Merkmal","gedcom.FCOM":"Erstkommunion","gedcom.GRAD":"Ausbildungsabschluss","gedcom.IMMI":"Einwanderung","gedcom.MARB":"Aufgebot","gedcom.MARC":"Ehevertrag","gedcom.MARL":"Eheerlaubnis","gedcom.MARR":"Heirat","gedcom.MARS":"Ehevereinbarung","gedcom.MDCL":"Medizinische Informationen","gedcom.MILT":"Mititärdienst","gedcom.NATU":"Einbürgerung","gedcom.OBJE":"Zusätzliche Dateien","gedcom.OCCU":"Beruf","gedcom.ORDN":"Ordinierung","gedcom.PROB":"Testamentsbestätigung","gedcom.PROP":"Besitz","gedcom.RESI":"Wohnort","gedcom.RETI":"Ruhestand","gedcom.RELI":"Religion","gedcom.RIN":"ID","gedcom.SOUR":"Quellen","gedcom.TITL":"Titel","gedcom.WILL":"Testament","gedcom.WWW":"Website","gedcom._UPD":"Zuletzt aktualisiert","gedcom.birth":"Geburtsname","gedcom.married":"Ehenamen","gedcom.maiden":"Mädchenname","gedcom.immigrant":"Immigrant name","gedcom.aka":"Auch bekannt als","date.abt":"Über","date.cal":"berechnet","date.est":"geschätzt","date.between":"zwischen {from} und {to}","date.after":"nach {from}","date.before":"vor {to}","age.exact":"{qualifier}{age, plural, =0 {Weniger als 1 Jahr} one {1 Jahr} other {# Jahre}}","age.less":"Weniger als {age, plural, =0 {1 Jahr} one {1 Jahr} other {# Jahre}}","age.more":"Mehr als {age, plural, =0 {0 Jahre} one {1 Jahr} other {# Jahre}}","age.between":"Zwischen {ageFrom} und {ageTo, plural, =0 {0 Jahre} one {1 Jahr} other {# Jahre}}","error.error":"Fehler","error.failed_pdf":"PDF konnte nicht erstellt werden. Versuchen Sie es erneut mit einem kleineren Diagramm oder laden Sie die SVG-Datei herunter.","error.failed_png":"Fehler beim Erstellen der PNG-Datei. Versuchen Sie es erneut mit einem kleineren Diagramm oder laden Sie die SVG-Datei herunter.","error.failed_to_load_file":"Fehler beim Laden der Datei","error.failed_wikitree_load_more":"Fehler beim Abrufen der Daten aus WikiTree. {error}","error.GEDCOM_READ_FAILED":"Fehler beim Lesen der GEDCOM-Datei","error.ERROR_LOADING_UPLOADED_FILE":"Fehler beim Laden der Daten. Bitte laden Sie Ihre Datei erneut hoch.","error.WIKITREE_ID_NOT_PROVIDED":"WikiTree-ID muss angegeben werden","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Das WikiTree-Profil {id} ist nicht zugänglich. Versuchen Sie sich anzumelden.","error.WIKITREE_PROFILE_NOT_FOUND":"WikiTree-Profil {id} nicht gefunden","error.failed_to_load_image":"Bilddatei konnte nicht geladen werden","wikitree.private":"Privat","tab.info":"Informationen","tab.settings":"Einstellungen","config.colors":"Farben","config.colors.NO_COLOR":"keine","config.colors.COLOR_BY_GENERATION":"je Generation","config.colors.COLOR_BY_SEX":"nach Geschlecht","config.ids":"Identifikation","config.ids.HIDE":"verbergen","config.ids.SHOW":"anzeigen","config.sex":"Geschlecht","config.sex.HIDE":"verbergen","config.sex.SHOW":"anzeigen","head.source":"Datenquelle","name.unknown_name":"N.N.","extras.images":"Bilder","extras.notes":"Notizen","extras.sources":"Quellen","extras.files":"Weitere Dateien"},O7e={"menu.open":"Ouvrir","menu.open_file":"Ouvrir le fichier","menu.load_from_url":"Ouvrir l'URL","menu.select_wikitree_id":"Sélectionnez l'ID WikiTree","menu.print":"Imprimer","menu.download":"Télécharger","menu.pdf_file":"Fichier PDF","menu.png_file":"Fichier PNG","menu.svg_file":"Fichier SVG","menu.download_pdf":"Télécharger le PDF","menu.download_png":"Télécharger PNG","menu.download_svg":"Télécharger SVG","menu.view":"Afficher","menu.hourglass":"Graphique en sablier","menu.relatives":"Tous les parents","menu.donatso":"Donatso tableau généalogique","menu.fancy":"Arbre ornemental (expérimental)","menu.wikitree_login":"Connectez-vous à WikiTree","menu.wikitree_logged_in":"Connecté","menu.wikitree_popup_username":"Connecté à WikiTree en tant que {username}","menu.wikitree_popup":"Connecté à WikiTree","menu.github":"Projet sur le site Web GitHub","menu.search.placeholder":"Rechercher une personne","menu.search.no_results":"Aucun résultat","intro.title":"Topola Généalogie","intro.description":"La Topola Généalogie vous permet de parcourir l'arbre généalogique de manière interactive.","intro.instructions":"Cliquez sur OPEN FILE ou OPEN URL pour charger un fichier GEDCOM. La plupart des logiciels de généalogie ont une fonction d'exportation GEDCOM.","intro.examples":"Voici quelques exemples trouvés sur Internet:","intro.from":"source:","intro.whats_new":"Quoi de neuf","intro.full_changelog":"Voir toutes les modifications","whats_new.title":"Quoi de neuf dans cette version?","intro.privacy":"Confidentialité","intro.privacy_note":`Lorsque vous utilisez la fonction "Ouvrir un fichier", vos données ne sont envoyées nulle part et restent sur votre ordinateur. Lorsque vous utilisez la fonction "Ouvrir l'URL", les données de l'adresse indiquée sont envoyées par le service {link} pour permettre le chargement des données depuis un autre domaine (CORS).`,"load_from_url.title":"Ouvrir depuis l'URL","load_from_url.comment":"Les données de l'URL donnée seront chargées via le service {link} pour éviter les problèmes CORS.","load_from_url.cancel":"Annuler","load_from_url.load":"Ouvrir","select_wikitree_id.title":"Entrez l'ID de WikiTree","select_wikitree_id.comment":"Entrez l'ID de profil {wikiTreeLink}. Exemples: {example1}, {example2}","select_wikitree_id.cancel":"Annuler","select_wikitree_id.load":"Ouvrir","gedcom.ADOP":"Adoption","gedcom.BAPM":"Baptême","gedcom.BARM":"Bar Mitzvah","gedcom.BASM":"Bas Mitzvah","gedcom.BIRT":"Naissance","gedcom.BLES":"Bénédiction","gedcom.BURI":"Funérailles","gedcom.CENS":"Recensement","gedcom.CHR":"Baptême","gedcom.CHRA":"Baptême des adultes","gedcom.CONF":"Confirmation","gedcom.CREM":"Crémation","gedcom.DEAT":"Mort","gedcom.DEG":"Diplôme universitaire","gedcom.DIV":"Divorce","gedcom.DIVF":"Divorce déposé","gedcom.DSCR":"Description","gedcom.EDUC":"Études","gedcom.ELEC":"Nomination au poste","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Émigration","gedcom.ENGA":"Fiançailles","gedcom.EVEN":"EVEN","gedcom.FACT":"FACT","gedcom.FCOM":"Première communion","gedcom.GRAD":"Achèvement de la formation","gedcom.IMMI":"Immigration","gedcom.MARB":"Équipe","gedcom.MARC":"Contrat de mariage ","gedcom.MARL":"Licence de mariage","gedcom.MARR":"Mariage","gedcom.MARS":"Contrat prénuptial","gedcom.MDCL":"Informations médicales","gedcom.MILT":"Service militaire","gedcom.NATU":"Naturalisation","gedcom.OBJE":"Fichiers supplémentaires","gedcom.OCCU":"Profession","gedcom.ORDN":"Ordination","gedcom.PROB":"Confirmation de volonté","gedcom.PROP":"Possession","gedcom.RESI":"Lieu de résidence","gedcom.RETI":"Retraite","gedcom.RELI":"Religion","gedcom.RIN":"ID","gedcom.SOUR":"Sources","gedcom.TITL":"Titre","gedcom.WILL":"Testament","gedcom.WWW":"Site Web","gedcom._UPD":"Dernière mise à jour","gedcom.birth":"Nom de naissance","gedcom.married":"Nom marital","gedcom.maiden":"Nom de jeune fille","gedcom.immigrant":"Nom d'immigrant","gedcom.aka":"Alias","date.abt":"environ","date.cal":"calculé","date.est":"estimé","date.between":"entre {from} et {to}","date.after":"après {from}","date.before":"avant {to}","age.exact":"{qualifier}{age, plural, =0 {Moins d'1 an} one {1 an} other {# ans}}","age.less":"Moins de {age, plural, =0 {1 an} one {1 an} other {# ans}}","age.more":"Plus de {age, plural, =0 {0 an} one {1 an} other {# ans}}","age.between":"Entre {ageFrom} et {ageTo, plural, =0 {0 an} one {1 an} other {# ans}}","error.error":"Erreur","error.failed_pdf":"Échec de la création du PDF. Réessayez avec un diagramme plus petit ou téléchargez le fichier SVG.","error.failed_png":"Impossible de créer le fichier PNG. Réessayez avec un diagramme plus petit ou téléchargez le fichier SVG.","error.failed_to_load_file":"Erreur lors du chargement du fichier","error.failed_wikitree_load_more":"Erreur lors de l'obtention des données de WikiTree. {error}","error.GEDCOM_READ_FAILED":"Erreur de lecture du fichier GEDCOM","error.ERROR_LOADING_UPLOADED_FILE":"Erreur de chargement des données. Renvoyez votre fichier.","error.WIKITREE_ID_NOT_PROVIDED":"L'ID WikiTree est obligatoire","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Le profil WikiTree ${id} n'est pas accessible. Connectez-vous.","error.WIKITREE_PROFILE_NOT_FOUND":"Le profil WikiTree ${id} n'a pas été trouvé","error.failed_to_load_image":"Erreur de chargement de l'image","wikitree.private":"Privé","tab.info":"Informations","tab.settings":"Paramètres","config.colors":"Couleurs","config.colors.NO_COLOR":"aucune","config.colors.COLOR_BY_GENERATION":"par génération","config.colors.COLOR_BY_SEX":"par sexe","config.ids":"Identification","config.ids.HIDE":"cacher","config.ids.SHOW":"afficher","config.sex":"Sexe","config.sex.HIDE":"cacher","config.sex.SHOW":"afficher","head.source":"Source de données","name.unknown_name":"?","extras.images":"Images","extras.notes":"Notes","extras.sources":"Sources","extras.files":"Fichiers supplémentaires"},D7e={"menu.open":"Apri","menu.open_file":"Apri file","menu.load_from_url":"Apri URL","menu.select_wikitree_id":"Seleziona ID WikiTree","menu.print":"Stampa","menu.download":"Scarica","menu.pdf_file":"File PDF","menu.png_file":"File PNG","menu.svg_file":"File SVG","menu.download_pdf":"Scarica PDF","menu.download_png":"Scarica PNG","menu.download_svg":"Scarica SVG","menu.view":"Visualizza","menu.hourglass":"Grafico a clessidra","menu.relatives":"Tutti i parenti","menu.donatso":"Donatso albero genealogico","menu.fancy":"Albero ornamentale (sperimentale)","menu.wikitree_login":"Accedi a WikiTree","menu.wikitree_logged_in":"Accesso effettuato","menu.wikitree_popup_username":"Accesso a WikiTree come {username}","menu.wikitree_popup":"Accesso a WikiTree","menu.github":"Progetto sul sito web GitHub","menu.search.placeholder":"Cerca persona","menu.search.no_results":"Nessun risultato","intro.title":"Topola Genealogy","intro.description":"Topola Genealogy ti consente di esplorare l'albero genealogico in modo interattivo.","intro.instructions":"Fai clic su OPEN FILE o OPEN URL per caricare un file GEDCOM. La maggior parte dei software di genealogia ha una funzione di esportazione GEDCOM.","intro.examples":"Di seguito sono riportati alcuni esempi trovati su Internet:","intro.from":"fonte:","intro.whats_new":"Novità","intro.full_changelog":"Vedi il log delle modifiche completo","whats_new.title":"Cosa c'è di nuovo in questa versione?","intro.privacy":"Protezione dei dati","intro.privacy_note":`Quando si utilizza la funzione "Apri file", i dati non vengono inviati da nessuna parte e rimangono sul computer. Quando si utilizza la funzione "Apri URL", i dati dall'indirizzo specificato vengono inviati dal servizio {link} a consentire il caricamento dei dati da un altro dominio (CORS).`,"load_from_url.title":"Apri da URL","load_from_url.comment":"I dati dall'URL specificato verranno caricati tramite il servizio {link} per evitare problemi CORS.","load_from_url.cancel":"Annulla","load_from_url.load":"Apri","select_wikitree_id.title":"Inserisci ID WikiTree","select_wikitree_id.comment":"Inserisci l'ID profilo {wikiTreeLink}. Esempi: {example1}, {example2}","select_wikitree_id.cancel":"Annulla","select_wikitree_id.load":"Apri","gedcom.ADOP":"Adozione","gedcom.BAPM":"Battesimo","gedcom.BARM":"Bar Mitzvah","gedcom.BASM":"Bas Mitzvah","gedcom.BIRT":"Nascita","gedcom.BLES":"Benedizione","gedcom.BURI":"Funerale","gedcom.CENS":"Census","gedcom.CHR":"Battesimo","gedcom.CHRA":"Battesimo degli adulti","gedcom.CONF":"Conferma","gedcom.CREM":"Cremazione","gedcom.DEAT":"Morte","gedcom.DEG":"Titolo accademico","gedcom.DIV":"Divorzio","gedcom.DIVF":"Divorzio depositato","gedcom.DSCR":"Descrizione","gedcom.EDUC":"Formazione","gedcom.ELEC":"Selezione per la posizione","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Emigrazione","gedcom.ENGA":"Fidanzamento","gedcom.EVEN":"Evento","gedcom.FACT":"Caratteristica","gedcom.FCOM":"Prima Comunione","gedcom.GRAD":"Completamento della formazione","gedcom.IMMI":"Immigrazione","gedcom.MARB":"Squadra","gedcom.MARC":"Contratto di matrimonio","gedcom.MARL":"Licenza di matrimonio","gedcom.MARR":"Matrimonio","gedcom.MARS":"Contratto prematrimoniale","gedcom.MDCL":"Informazioni mediche","gedcom.MILT":"Servizio militare","gedcom.NATU":"Naturalizzazione","gedcom.OBJE":"File aggiuntivi","gedcom.OCCU":"Professione","gedcom.ORDN":"Ordinazione","gedcom.PROB":"Conferma di volontà","gedcom.PROP":"Possesso","gedcom.RESI":"Luogo di residenza","gedcom.RETI":"Pensione","gedcom.RELI":"Religione","gedcom.RIN":"ID","gedcom.SOUR":"Fonti","gedcom.TITL":"Titolo","gedcom.WILL":"Testamento","gedcom.WWW":"Sito web","gedcom._UPD":"Ultimo aggiornamento","gedcom.birth":"Nome alla nascita","gedcom.married":"Nome da coniugato/a","gedcom.maiden":"Nome da nubile","gedcom.immigrant":"Nome dell'immigrato","gedcom.aka":"Conosciuto anche come","date.abt":"circa","date.cal":"calcolato","date.est":"stimato","date.between":"tra il {from} e il {to}","date.after":"dopo il {from}","date.before":"prima del {to}","age.exact":"{qualifier}{age, plural, =0 {Meno di 1 anno} one {1 anno} other {# anni}}","age.less":"Meno di {age, plural, =0 {1 anno} one {1 anno} other {# anni}}","age.more":"Più di {age, plural, =0 {0 anni} one {1 anno} other {# anni}}","age.between":"Tra {ageFrom} e {ageTo, plural, =0 {0 anni} one {1 anno} other {# anni}}","error.error":"Errore","error.failed_pdf":"Impossibile creare PDF. Riprova con un diagramma più piccolo o scarica il file SVG.","error.failed_png":"Impossibile creare il file PNG. Riprova con un diagramma più piccolo o scarica il file SVG.","error.failed_to_load_file":"Errore durante il caricamento del file","error.failed_wikitree_load_more":"Errore durante il recupero dei dati da WikiTree. {error}","error.GEDCOM_READ_FAILED":"Impossibile leggere il file GEDCOM","error.ERROR_LOADING_UPLOADED_FILE":"Errore durante il caricamento dei dati. Carica nuovamente il file.","error.WIKITREE_ID_NOT_PROVIDED":"È necessario fornire l'ID WikiTree.","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Il profilo WikiTree {id} non è accessibile. Prova ad effettuare il login.","error.WIKITREE_PROFILE_NOT_FOUND":"Profilo WikiTree {id} non trovato","error.failed_to_load_image":"Impossibile caricare il file immagine","wikitree.private":"Privato","tab.info":"Informazioni","tab.settings":"Impostazioni","config.colors":"Colori","config.colors.NO_COLOR":"nessuno","config.colors.COLOR_BY_GENERATION":"per generazione","config.colors.COLOR_BY_SEX":"per sesso","config.ids":"Identificazione","config.ids.HIDE":"nascondere","config.ids.SHOW":"visualizzare","config.sex":"Sesso","config.sex.HIDE":"nascondere","config.sex.SHOW":"visualizzare","head.source":"Origine dati","name.unknown_name":"N.N.","extras.images":"Immagini","extras.notes":"Appunti","extras.sources":"Fonti","extras.files":"File aggiuntivi"},$7e={"menu.open":"Otwórz","menu.open_file":"Otwórz plik","menu.load_from_url":"Otwórz URL","menu.select_wikitree_id":"Wybierz WikiTree ID","menu.print":"Drukuj","menu.download":"Pobierz","menu.pdf_file":"Plik PDF","menu.png_file":"Plik PNG","menu.svg_file":"Plik SVG","menu.download_pdf":"Pobierz PDF","menu.download_png":"Pobierz PNG","menu.download_svg":"Pobierz SVG","menu.view":"Widok","menu.hourglass":"Wykres klepsydrowy","menu.relatives":"Wszyscy krewni","menu.donatso":"Donatso wykres rodzinny","menu.fancy":"Ozdobne drzewo (eksperymentalne)","menu.wikitree_login":"Zaloguj do WikiTree","menu.wikitree_logged_in":"Zalogowano","menu.wikitree_popup_username":"Zalogowano do WikiTree jako {username}","menu.wikitree_popup":"Zalogowano do WikiTree","menu.github":"Projekt na stronie GitHub","menu.search.placeholder":"Szukaj osoby","menu.search.no_results":"Brak wyników","intro.title":"Topola Genealogy","intro.description":"Topola Genealogy pozwala przeglądać drzewo genealogiczne w interaktywny sposób.","intro.instructions":"Kliknij OTWÓRZ PLIK lub OTWÓRZ URL, aby załadować plik GEDCOM. Większość programów genealogicznych posiada funkcję eksportu do pliku GEDCOM.","intro.examples":"Przykłady","intro.from":"źródło:","intro.whats_new":"Co nowego?","intro.full_changelog":"Zobacz pełną listę zmian","whats_new.title":"Co nowego w tej wersji?","intro.privacy":"Prywatność","intro.privacy_note":'Używając funkcji "Otwórz plik", Twoje dane nie są nigdzie wysyłane i pozostają na Twoim komputerze. Używając funkcji "Otwórz URL", dane z podanego adresu przesyłane są przez usługę {link} w celu umożliwienia załadowania danych z innej domeny (CORS).',"load_from_url.title":"Otwórz z adresu URL","load_from_url.comment":"Dane z podanego adresu URL zostaną załadowane poprzez usługę {link} w celu uniknięcia problemów z CORS.","load_from_url.cancel":"Anuluj","load_from_url.load":"Otwórz","select_wikitree_id.title":"Podaj WikiTree ID","select_wikitree_id.comment":"Wpisz identyfikator profilu {wikiTreeLink}. Przykłady: {example1}, {example2}","select_wikitree_id.cancel":"Anuluj","select_wikitree_id.load":"Otwórz","gedcom.ADOP":"Adopcja","gedcom.BAPM":"Chrzest","gedcom.BARM":"Bar Micwa","gedcom.BASM":"Bat Micwa","gedcom.BIRT":"Narodziny","gedcom.BLES":"Błogosławieństwo","gedcom.BURI":"Pogrzeb","gedcom.CENS":"Spis ludności","gedcom.CHR":"Chrzest","gedcom.CHRA":"Chrzest dorosłych","gedcom.CONF":"Bierzmowanie","gedcom.CREM":"Kremacja","gedcom.DEAT":"Śmierć","gedcom.DEG":"Stopień naukowy","gedcom.DIV":"Rozwód","gedcom.DIVF":"Wniesienie pozwu o rozwód","gedcom.DSCR":"Opis","gedcom.EDUC":"Wykształcenie","gedcom.ELEC":"Wybór na stanowisko","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Emigracja","gedcom.ENGA":"Zaręczyny","gedcom.EVEN":"Wydarzenie","gedcom.FACT":"Fakt","gedcom.FCOM":"Pierwsza komunia","gedcom.GRAD":"Ukończenie szkoły","gedcom.IMMI":"Imigracja","gedcom.MARB":"Zapowiedzi małżeńskie","gedcom.MARC":"Kontrakt małżeński","gedcom.MARL":"Licencja małżeńska","gedcom.MARR":"Małżeństwo","gedcom.MARS":"Ugoda małżeńska","gedcom.MDCL":"Informacje medyczne","gedcom.MILT":"Służba wojskowa","gedcom.NATU":"Nadanie obywatelstwa","gedcom.OBJE":"Dodatkowe pliki","gedcom.OCCU":"Zawód","gedcom.ORDN":"Święcenia","gedcom.PROB":"Postępowanie spadkowe","gedcom.PROP":"Nieruchomość","gedcom.RESI":"Miejsce zamieszkania","gedcom.RETI":"Emerytura","gedcom.RELI":"Religia","gedcom.RIN":"ID","gedcom.SOUR":"Źródła","gedcom.TITL":"Tytuł","gedcom.WILL":"Testament","gedcom.WWW":"Strona WWW","gedcom._UPD":"Ostatnia aktualizacja","gedcom.birth":"Nazwisko rodowe","gedcom.married":"Nazwisko po małżeństwie","gedcom.maiden":"Nazwisko panieńskie","gedcom.immigrant":"Nazwisko po imigracji","gedcom.aka":"Alias","date.abt":"około","date.cal":"wyliczone","date.est":"oszacowane","date.between":"między {from} a {to}","date.after":"po {from}","date.before":"przed {to}","age.exact":"{age, plural, =0 {Mniej niż 1 rok} one {{qualifier} 1 rok} many {{qualifier} # lat} other {{qualifier} # lata}}","age.less":"Mniej niż {age, plural, =0 {1 rok} one {1 rok} many {# lat} other {# lata}}","age.more":"Więcej niż {age, plural, =0 {0 lat} one {1 rok} many {# lat} other {# lata}}","age.between":"Między {ageFrom} a {ageTo, plural, =0 {0 lat} one {1 rok} many {# lat} other {# lata}}","error.error":"Błąd","error.failed_pdf":"Nie udało się utworzyć pliku PDF. Spróbuj jeszcze raz z mniejszym diagramem lub pobierz plik SVG.","error.failed_png":"Nie udało się utworzyć pliku PNG. Spróbuj jeszcze raz z mniejszym diagramem lub pobierz plik SVG.","error.failed_to_load_file":"Błąd wczytywania pliku","error.failed_wikitree_load_more":"Błąd podczas pobierania danych z WikiTree. {error}","error.GEDCOM_READ_FAILED":"Błąd wczytywania pliku GEDCOM","error.ERROR_LOADING_UPLOADED_FILE":"Błąd wczytywania danych. Otwórz ponownie plik.","error.WIKITREE_ID_NOT_PROVIDED":"Identyfikator WikiTree nie został podany","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Profil WikiTree {id} nie jest dostępny","error.WIKITREE_PROFILE_NOT_FOUND":"Profil WikiTree {id} nie istnieje","error.failed_to_load_image":"Błąd podczas pobierania pliku ze zdjęciem","wikitree.private":"Prywatne","tab.info":"Informacje","tab.settings":"Ustawienia","config.colors":"Kolory","config.colors.NO_COLOR":"brak","config.colors.COLOR_BY_GENERATION":"według pokolenia","config.colors.COLOR_BY_SEX":"według płci","config.ids":"Identyfikacja","config.ids.HIDE":"ukryj","config.ids.SHOW":"pokaż","config.sex":"Płeć","config.sex.HIDE":"ukryj","config.sex.SHOW":"pokaż","head.source":"Źródło danych","name.unknown_name":"N.N.","extras.images":"Zdjęcia","extras.notes":"Notatki","extras.sources":"Źródła","extras.files":"Dodatkowe pliki"},F7e={"menu.open":"Открыть","menu.open_file":"Открыть файл","menu.load_from_url":"Открыть URL","menu.select_wikitree_id":"Выберите WikiTree ID","menu.print":"Печать","menu.download":"Скачать","menu.pdf_file":"Файл PDF","menu.png_file":"Файл PNG","menu.svg_file":"Файл SVG","menu.download_pdf":"Скачать PDF","menu.download_png":"Скачать PNG","menu.download_svg":"Скачать SVG","menu.view":"Вид","menu.hourglass":"График Песочные часы","menu.relatives":"Все родственники","menu.donatso":"Donatso семейная схема","menu.fancy":"Декоративное дерево (экспериментальное)","menu.wikitree_login":"Войти в WikiTree","menu.wikitree_logged_in":"Вход выполнен","menu.wikitree_popup_username":"Вы вошли в WikiTree как {username}","menu.wikitree_popup":"Вы вошли в WikiTree","menu.github":"Проект на сайте GitHub","menu.search.placeholder":"Искать человека","menu.search.no_results":"Нет результатов","intro.title":"Topola Genealogy","intro.description":"Topola Genealogy позволяет просматривать семейное древо в интерактивном режиме.","intro.instructions":'Щелкните "Открыть файл" или "Открыть URL", чтобы загрузить файл GEDCOM. Большинство программ для генеалогии имеют функцию экспорта GEDCOM.',"intro.examples":"Ниже приведены некоторые примеры, найденные в Интернете:","intro.from":"источник:","intro.whats_new":"Что нового?","intro.full_changelog":"Список изменений","whats_new.title":"Что нового в этой версии?","intro.privacy":"Конфиденциальность","intro.privacy_note":'При использовании функции "Открыть файл" Ваши данные никуда не отправляются и остаются на Вашем компьютере. При использовании функции "Открыть URL" данные с указанного адреса отправляются службой {link} на включение загрузки данных из другого домена (CORS).',"load_from_url.title":"Открыть с адреса URL","load_from_url.comment":"Данные с указанного адреса URL будут загружены через службу {link}, чтобы избежать проблем CORS.","load_from_url.cancel":"Отменить","load_from_url.load":"Открыть","select_wikitree_id.title":"Введите идентификатор WikiTree","select_wikitree_id.comment":"Введите идентификатор профиля {wikiTreeLink}. Примеры: {example1}, {example2}","select_wikitree_id.cancel":"Отмена","select_wikitree_id.load":"Открыть","gedcom.ADOP":"Усыновление","gedcom.BAPM":"Крещение","gedcom.BARM":"Бар-мицва","gedcom.BASM":"Бас Мицва","gedcom.BIRT":"Рождение","gedcom.BLES":"Благословение","gedcom.BURI":"Похороны","gedcom.CENS":"Перепись населения","gedcom.CHR":"Крещение","gedcom.CHRA":"Крещение взрослых","gedcom.CONF":"Подтверждение","gedcom.CREM":"Кремация","gedcom.DEAT":"Смерть","gedcom.DEG":"Ученая степень","gedcom.DIV":"Развод","gedcom.DIVF":"Подано заявление о разводе","gedcom.DSCR":"Описание","gedcom.EDUC":"Образование","gedcom.ELEC":"Выбор на должность","gedcom.EMAIL":"E-mail","gedcom.EMIG":"Эмиграция","gedcom.ENGA":"Помолвка","gedcom.EVEN":"Событие","gedcom.FACT":"Факт","gedcom.FCOM":"Первое Причастие","gedcom.GRAD":"Завершение обучения","gedcom.IMMI":"Иммиграция","gedcom.MARB":"Отряд","gedcom.MARC":"Брачный контракт","gedcom.MARL":"Свидетельство о браке","gedcom.MARR":"Свадьба","gedcom.MARS":"Брачный договор","gedcom.MDCL":"Медицинская информация","gedcom.MILT":"Военная служба","gedcom.NATU":"Натурализация","gedcom.OBJE":"Дополнительные файлы","gedcom.OCCU":"Вид деятельности","gedcom.ORDN":"Рукоположение","gedcom.PROB":"Подтверждение завещания","gedcom.PROP":"Владение","gedcom.RESI":"Место жительства","gedcom.RETI":"Выход на пенсию","gedcom.RELI":"Религия","gedcom.RIN":"ID","gedcom.SOUR":"Источники","gedcom.TITL":"Титул","gedcom.WILL":"Завещание","gedcom.WWW":"Веб-сайт WWW","gedcom._UPD":"Последнее обновление","gedcom.birth":"Имя при рождении","gedcom.married":"Имя в браке","gedcom.maiden":"Девичья фамилия","gedcom.immigrant":"Имя в эмиграции","gedcom.aka":"Он(а) же","date.abt":"около","date.cal":"рассчитано","date.est":"приблизительно","date.between":"между {from} и {to}","date.after":"после {from}","date.before":"до {to}","age.exact":"{age, plural, =0 {Менее 1 года} one {{qualifier} 1 год} many {{qualifier} # лет} other {{qualifier} # года}}","age.less":"Менее {age, plural, =0 {1 года} one {1 год} many {# лет} other {# года}}","age.more":"Более {age, plural, =0 {0 лет} one {1 год} many {# лет} other {# года}}","age.between":"Между {ageFrom} {ageTo, plural, =0 {0 лет} one {1 год} many {# год} other {# лет}}","error.error":"Ошибка","error.failed_pdf":"Не удалось создать PDF-файл. Повторите попытку с меньшей диаграммой или загрузите файл SVG.","error.failed_png":"Не удалось создать файл PNG. Повторите попытку с меньшей схемой или загрузите файл SVG.","error.failed_to_load_file":"Ошибка загрузки файла","error.failed_wikitree_load_more":"Ошибка при получении данных из WikiTree. {error}","error.GEDCOM_READ_FAILED":"Ошибка чтения файла GEDCOM","error.ERROR_LOADING_UPLOADED_FILE":"Ошибка чтения данных. Повторите.","error.WIKITREE_ID_NOT_PROVIDED":"Не указан идентификатор WikiTree","error.WIKITREE_PROFILE_NOT_ACCESSIBLE":"Профиль WikiTree {id} недоступен","error.WIKITREE_PROFILE_NOT_FOUND":"Профиль WikiTree {id} не найден","error.failed_to_load_image":"Ошибка при открытии картинки","wikitree.private":"Частный","tab.info":"Информация","tab.settings":"Настройки","config.colors":"Цвет","config.colors.NO_COLOR":"Без цвета","config.colors.COLOR_BY_GENERATION":"По поколениям","config.colors.COLOR_BY_SEX":"По полу","config.ids":"Идентификатор","config.ids.HIDE":"Скрыть","config.ids.SHOW":"Показать","config.sex":"Пол","config.sex.HIDE":"Скрыть","config.sex.SHOW":"Показать","head.source":"Источник данных","name.unknown_name":"Неизвестно","extras.images":"Картинки","extras.notes":"Примечание","extras.sources":"Источники","extras.files":"Дополнительные файлы"},L7e={bg:R7e,cs:I7e,de:N7e,fr:O7e,it:D7e,pl:$7e,ru:F7e},a9=navigator.language&&navigator.language.split(/[-_]/)[0],o9=aZ(),B7e=document.getElementById("root"),s9=mZ.createRoot(B7e);o9&&o9.name==="ie"?s9.render(U.jsx("p",{children:"Topola Genealogy Viewer does not support Internet Explorer. Please try a different (modern) browser."})):s9.render(U.jsx(KJ,{locale:a9,messages:L7e[a9],children:U.jsxs(ave,{children:[U.jsx("style",{children:ive}),U.jsx(wte,{children:U.jsx(P7e,{})})]})}));export{dm as _,Xce as a,Ma as c,Un as g,jle as t,G7e as z}; diff --git a/assets/index.es-DBB1j9TD.js b/assets/index.es-DwbEwFpQ.js similarity index 99% rename from assets/index.es-DBB1j9TD.js rename to assets/index.es-DwbEwFpQ.js index 0805cca..4ed4bb8 100644 --- a/assets/index.es-DBB1j9TD.js +++ b/assets/index.es-DwbEwFpQ.js @@ -1,4 +1,4 @@ -import{c as Ma,t as Ul,g as Qu}from"./index-DsNtXj9M.js";var on={},un={},lr,ln;function Z(){if(ln)return lr;ln=1;var n=function(e){return e&&e.Math===Math&&e};return lr=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof Ma=="object"&&Ma)||n(typeof lr=="object"&&lr)||function(){return this}()||Function("return this")(),lr}var Qr={},Zr,hn;function ee(){return hn||(hn=1,Zr=function(n){try{return!!n()}catch{return!0}}),Zr}var Jr,fn;function Ee(){if(fn)return Jr;fn=1;var n=ee();return Jr=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),Jr}var et,cn;function Ar(){if(cn)return et;cn=1;var n=ee();return et=!n(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),et}var rt,vn;function se(){if(vn)return rt;vn=1;var n=Ar(),e=Function.prototype.call;return rt=n?e.bind(e):function(){return e.apply(e,arguments)},rt}var tt={},gn;function Gl(){if(gn)return tt;gn=1;var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!n.call({1:2},1);return tt.f=r?function(i){var a=e(this,i);return!!a&&a.enumerable}:n,tt}var it,dn;function ka(){return dn||(dn=1,it=function(n,e){return{enumerable:!(n&1),configurable:!(n&2),writable:!(n&4),value:e}}),it}var at,pn;function re(){if(pn)return at;pn=1;var n=Ar(),e=Function.prototype,r=e.call,t=n&&e.bind.bind(r,r);return at=n?t:function(i){return function(){return r.apply(i,arguments)}},at}var nt,yn;function Ze(){if(yn)return nt;yn=1;var n=re(),e=n({}.toString),r=n("".slice);return nt=function(t){return r(e(t),8,-1)},nt}var st,mn;function Zu(){if(mn)return st;mn=1;var n=re(),e=ee(),r=Ze(),t=Object,i=n("".split);return st=e(function(){return!t("z").propertyIsEnumerable(0)})?function(a){return r(a)==="String"?i(a,""):t(a)}:t,st}var ot,bn;function Je(){return bn||(bn=1,ot=function(n){return n==null}),ot}var ut,xn;function Re(){if(xn)return ut;xn=1;var n=Je(),e=TypeError;return ut=function(r){if(n(r))throw new e("Can't call method on "+r);return r},ut}var lt,On;function cr(){if(On)return lt;On=1;var n=Zu(),e=Re();return lt=function(r){return n(e(r))},lt}var ht,Tn;function te(){if(Tn)return ht;Tn=1;var n=typeof document=="object"&&document.all;return ht=typeof n>"u"&&n!==void 0?function(e){return typeof e=="function"||e===n}:function(e){return typeof e=="function"},ht}var ft,Sn;function Ce(){if(Sn)return ft;Sn=1;var n=te();return ft=function(e){return typeof e=="object"?e!==null:n(e)},ft}var ct,En;function er(){if(En)return ct;En=1;var n=Z(),e=te(),r=function(t){return e(t)?t:void 0};return ct=function(t,i){return arguments.length<2?r(n[t]):n[t]&&n[t][i]},ct}var vt,Rn;function Ir(){if(Rn)return vt;Rn=1;var n=re();return vt=n({}.isPrototypeOf),vt}var gt,Cn;function vr(){if(Cn)return gt;Cn=1;var n=Z(),e=n.navigator,r=e&&e.userAgent;return gt=r?String(r):"",gt}var dt,wn;function ja(){if(wn)return dt;wn=1;var n=Z(),e=vr(),r=n.process,t=n.Deno,i=r&&r.versions||t&&t.version,a=i&&i.v8,s,o;return a&&(s=a.split("."),o=s[0]>0&&s[0]<4?1:+(s[0]+s[1])),!o&&e&&(s=e.match(/Edge\/(\d+)/),(!s||s[1]>=74)&&(s=e.match(/Chrome\/(\d+)/),s&&(o=+s[1]))),dt=o,dt}var pt,Pn;function Ju(){if(Pn)return pt;Pn=1;var n=ja(),e=ee(),r=Z(),t=r.String;return pt=!!Object.getOwnPropertySymbols&&!e(function(){var i=Symbol("symbol detection");return!t(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&n&&n<41}),pt}var yt,An;function el(){if(An)return yt;An=1;var n=Ju();return yt=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol",yt}var mt,In;function rl(){if(In)return mt;In=1;var n=er(),e=te(),r=Ir(),t=el(),i=Object;return mt=t?function(a){return typeof a=="symbol"}:function(a){var s=n("Symbol");return e(s)&&r(s.prototype,i(a))},mt}var bt,Nn;function Nr(){if(Nn)return bt;Nn=1;var n=String;return bt=function(e){try{return n(e)}catch{return"Object"}},bt}var xt,_n;function Be(){if(_n)return xt;_n=1;var n=te(),e=Nr(),r=TypeError;return xt=function(t){if(n(t))return t;throw new r(e(t)+" is not a function")},xt}var Ot,Mn;function ar(){if(Mn)return Ot;Mn=1;var n=Be(),e=Je();return Ot=function(r,t){var i=r[t];return e(i)?void 0:n(i)},Ot}var Tt,qn;function $l(){if(qn)return Tt;qn=1;var n=se(),e=te(),r=Ce(),t=TypeError;return Tt=function(i,a){var s,o;if(a==="string"&&e(s=i.toString)&&!r(o=n(s,i))||e(s=i.valueOf)&&!r(o=n(s,i))||a!=="string"&&e(s=i.toString)&&!r(o=n(s,i)))return o;throw new t("Can't convert object to primitive value")},Tt}var St={exports:{}},Et,Dn;function Me(){return Dn||(Dn=1,Et=!1),Et}var Rt,Vn;function Ba(){if(Vn)return Rt;Vn=1;var n=Z(),e=Object.defineProperty;return Rt=function(r,t){try{e(n,r,{value:t,configurable:!0,writable:!0})}catch{n[r]=t}return t},Rt}var Ln;function Fa(){if(Ln)return St.exports;Ln=1;var n=Me(),e=Z(),r=Ba(),t="__core-js_shared__",i=St.exports=e[t]||r(t,{});return(i.versions||(i.versions=[])).push({version:"3.41.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"}),St.exports}var Ct,kn;function Ua(){if(kn)return Ct;kn=1;var n=Fa();return Ct=function(e,r){return n[e]||(n[e]=r||{})},Ct}var wt,jn;function _r(){if(jn)return wt;jn=1;var n=Re(),e=Object;return wt=function(r){return e(n(r))},wt}var Pt,Bn;function we(){if(Bn)return Pt;Bn=1;var n=re(),e=_r(),r=n({}.hasOwnProperty);return Pt=Object.hasOwn||function(i,a){return r(e(i),a)},Pt}var At,Fn;function tl(){if(Fn)return At;Fn=1;var n=re(),e=0,r=Math.random(),t=n(1 .toString);return At=function(i){return"Symbol("+(i===void 0?"":i)+")_"+t(++e+r,36)},At}var It,Un;function ne(){if(Un)return It;Un=1;var n=Z(),e=Ua(),r=we(),t=tl(),i=Ju(),a=el(),s=n.Symbol,o=e("wks"),u=a?s.for||s:s&&s.withoutSetter||t;return It=function(l){return r(o,l)||(o[l]=i&&r(s,l)?s[l]:u("Symbol."+l)),o[l]},It}var Nt,Gn;function zl(){if(Gn)return Nt;Gn=1;var n=se(),e=Ce(),r=rl(),t=ar(),i=$l(),a=ne(),s=TypeError,o=a("toPrimitive");return Nt=function(u,l){if(!e(u)||r(u))return u;var h=t(u,o),c;if(h){if(l===void 0&&(l="default"),c=n(h,u,l),!e(c)||r(c))return c;throw new s("Can't convert object to primitive value")}return l===void 0&&(l="number"),i(u,l)},Nt}var _t,$n;function il(){if($n)return _t;$n=1;var n=zl(),e=rl();return _t=function(r){var t=n(r,"string");return e(t)?t:t+""},_t}var Mt,zn;function Mr(){if(zn)return Mt;zn=1;var n=Z(),e=Ce(),r=n.document,t=e(r)&&e(r.createElement);return Mt=function(i){return t?r.createElement(i):{}},Mt}var qt,Hn;function al(){if(Hn)return qt;Hn=1;var n=Ee(),e=ee(),r=Mr();return qt=!n&&!e(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),qt}var Wn;function qr(){if(Wn)return Qr;Wn=1;var n=Ee(),e=se(),r=Gl(),t=ka(),i=cr(),a=il(),s=we(),o=al(),u=Object.getOwnPropertyDescriptor;return Qr.f=n?u:function(h,c){if(h=i(h),c=a(c),o)try{return u(h,c)}catch{}if(s(h,c))return t(!e(r.f,h,c),h[c])},Qr}var Dt={},Vt,Yn;function nl(){if(Yn)return Vt;Yn=1;var n=Ee(),e=ee();return Vt=n&&e(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),Vt}var Lt,Xn;function ue(){if(Xn)return Lt;Xn=1;var n=Ce(),e=String,r=TypeError;return Lt=function(t){if(n(t))return t;throw new r(e(t)+" is not an object")},Lt}var Kn;function He(){if(Kn)return Dt;Kn=1;var n=Ee(),e=al(),r=nl(),t=ue(),i=il(),a=TypeError,s=Object.defineProperty,o=Object.getOwnPropertyDescriptor,u="enumerable",l="configurable",h="writable";return Dt.f=n?r?function(v,f,g){if(t(v),f=i(f),t(g),typeof v=="function"&&f==="prototype"&&"value"in g&&h in g&&!g[h]){var d=o(v,f);d&&d[h]&&(v[f]=g.value,g={configurable:l in g?g[l]:d[l],enumerable:u in g?g[u]:d[u],writable:!1})}return s(v,f,g)}:s:function(v,f,g){if(t(v),f=i(f),t(g),e)try{return s(v,f,g)}catch{}if("get"in g||"set"in g)throw new a("Accessors not supported");return"value"in g&&(v[f]=g.value),v},Dt}var kt,Qn;function gr(){if(Qn)return kt;Qn=1;var n=Ee(),e=He(),r=ka();return kt=n?function(t,i,a){return e.f(t,i,r(1,a))}:function(t,i,a){return t[i]=a,t},kt}var jt={exports:{}},Bt,Zn;function Dr(){if(Zn)return Bt;Zn=1;var n=Ee(),e=we(),r=Function.prototype,t=n&&Object.getOwnPropertyDescriptor,i=e(r,"name"),a=i&&(function(){}).name==="something",s=i&&(!n||n&&t(r,"name").configurable);return Bt={EXISTS:i,PROPER:a,CONFIGURABLE:s},Bt}var Ft,Jn;function Ga(){if(Jn)return Ft;Jn=1;var n=re(),e=te(),r=Fa(),t=n(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(i){return t(i)}),Ft=r.inspectSource,Ft}var Ut,es;function Hl(){if(es)return Ut;es=1;var n=Z(),e=te(),r=n.WeakMap;return Ut=e(r)&&/native code/.test(String(r)),Ut}var Gt,rs;function $a(){if(rs)return Gt;rs=1;var n=Ua(),e=tl(),r=n("keys");return Gt=function(t){return r[t]||(r[t]=e(t))},Gt}var $t,ts;function za(){return ts||(ts=1,$t={}),$t}var zt,is;function Vr(){if(is)return zt;is=1;var n=Hl(),e=Z(),r=Ce(),t=gr(),i=we(),a=Fa(),s=$a(),o=za(),u="Object already initialized",l=e.TypeError,h=e.WeakMap,c,v,f,g=function(m){return f(m)?v(m):c(m,{})},d=function(m){return function(b){var x;if(!r(b)||(x=v(b)).type!==m)throw new l("Incompatible receiver, "+m+" required");return x}};if(n||a.state){var p=a.state||(a.state=new h);p.get=p.get,p.has=p.has,p.set=p.set,c=function(m,b){if(p.has(m))throw new l(u);return b.facade=m,p.set(m,b),b},v=function(m){return p.get(m)||{}},f=function(m){return p.has(m)}}else{var y=s("state");o[y]=!0,c=function(m,b){if(i(m,y))throw new l(u);return b.facade=m,t(m,y,b),b},v=function(m){return i(m,y)?m[y]:{}},f=function(m){return i(m,y)}}return zt={set:c,get:v,has:f,enforce:g,getterFor:d},zt}var as;function sl(){if(as)return jt.exports;as=1;var n=re(),e=ee(),r=te(),t=we(),i=Ee(),a=Dr().CONFIGURABLE,s=Ga(),o=Vr(),u=o.enforce,l=o.get,h=String,c=Object.defineProperty,v=n("".slice),f=n("".replace),g=n([].join),d=i&&!e(function(){return c(function(){},"length",{value:8}).length!==8}),p=String(String).split("String"),y=jt.exports=function(m,b,x){v(h(b),0,7)==="Symbol("&&(b="["+f(h(b),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),x&&x.getter&&(b="get "+b),x&&x.setter&&(b="set "+b),(!t(m,"name")||a&&m.name!==b)&&(i?c(m,"name",{value:b,configurable:!0}):m.name=b),d&&x&&t(x,"arity")&&m.length!==x.arity&&c(m,"length",{value:x.arity});try{x&&t(x,"constructor")&&x.constructor?i&&c(m,"prototype",{writable:!1}):m.prototype&&(m.prototype=void 0)}catch{}var S=u(m);return t(S,"source")||(S.source=g(p,typeof b=="string"?b:"")),m};return Function.prototype.toString=y(function(){return r(this)&&l(this).source||s(this)},"toString"),jt.exports}var Ht,ns;function rr(){if(ns)return Ht;ns=1;var n=te(),e=He(),r=sl(),t=Ba();return Ht=function(i,a,s,o){o||(o={});var u=o.enumerable,l=o.name!==void 0?o.name:a;if(n(s)&&r(s,l,o),o.global)u?i[a]=s:t(a,s);else{try{o.unsafe?i[a]&&(u=!0):delete i[a]}catch{}u?i[a]=s:e.f(i,a,{value:s,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return i},Ht}var Wt={},Yt,ss;function Wl(){if(ss)return Yt;ss=1;var n=Math.ceil,e=Math.floor;return Yt=Math.trunc||function(t){var i=+t;return(i>0?e:n)(i)},Yt}var Xt,os;function Lr(){if(os)return Xt;os=1;var n=Wl();return Xt=function(e){var r=+e;return r!==r||r===0?0:n(r)},Xt}var Kt,us;function Yl(){if(us)return Kt;us=1;var n=Lr(),e=Math.max,r=Math.min;return Kt=function(t,i){var a=n(t);return a<0?e(a+i,0):r(a,i)},Kt}var Qt,ls;function nr(){if(ls)return Qt;ls=1;var n=Lr(),e=Math.min;return Qt=function(r){var t=n(r);return t>0?e(t,9007199254740991):0},Qt}var Zt,hs;function Ha(){if(hs)return Zt;hs=1;var n=nr();return Zt=function(e){return n(e.length)},Zt}var Jt,fs;function ol(){if(fs)return Jt;fs=1;var n=cr(),e=Yl(),r=Ha(),t=function(i){return function(a,s,o){var u=n(a),l=r(u);if(l===0)return!i&&-1;var h=e(o,l),c;if(i&&s!==s){for(;l>h;)if(c=u[h++],c!==c)return!0}else for(;l>h;h++)if((i||h in u)&&u[h]===s)return i||h||0;return!i&&-1}};return Jt={includes:t(!0),indexOf:t(!1)},Jt}var ei,cs;function ul(){if(cs)return ei;cs=1;var n=re(),e=we(),r=cr(),t=ol().indexOf,i=za(),a=n([].push);return ei=function(s,o){var u=r(s),l=0,h=[],c;for(c in u)!e(i,c)&&e(u,c)&&a(h,c);for(;o.length>l;)e(u,c=o[l++])&&(~t(h,c)||a(h,c));return h},ei}var ri,vs;function Wa(){return vs||(vs=1,ri=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),ri}var gs;function Xl(){if(gs)return Wt;gs=1;var n=ul(),e=Wa(),r=e.concat("length","prototype");return Wt.f=Object.getOwnPropertyNames||function(i){return n(i,r)},Wt}var ti={},ds;function Kl(){return ds||(ds=1,ti.f=Object.getOwnPropertySymbols),ti}var ii,ps;function Ql(){if(ps)return ii;ps=1;var n=er(),e=re(),r=Xl(),t=Kl(),i=ue(),a=e([].concat);return ii=n("Reflect","ownKeys")||function(o){var u=r.f(i(o)),l=t.f;return l?a(u,l(o)):u},ii}var ai,ys;function Zl(){if(ys)return ai;ys=1;var n=we(),e=Ql(),r=qr(),t=He();return ai=function(i,a,s){for(var o=e(a),u=t.f,l=r.f,h=0;h_;_++)if(P=R(f[_]),P&&s(v,P))return P;return new c(!1)}E=o(f,O)}for(M=m?f.next:E.next;!(w=e(M,E)).done;){try{P=R(w.value)}catch(A){l(E,"throw",A)}if(typeof P=="object"&&P&&s(v,P))return P}return new c(!1)},zi}var Hi,oo;function bh(){if(oo)return Hi;oo=1;var n=ne(),e=n("iterator"),r=!1;try{var t=0,i={next:function(){return{done:!!t++}},return:function(){r=!0}};i[e]=function(){return this},Array.from(i,function(){throw 2})}catch{}return Hi=function(a,s){try{if(!s&&!r)return!1}catch{return!1}var o=!1;try{var u={};u[e]=function(){return{next:function(){return{done:o=!0}}}},a(u)}catch{}return o},Hi}var Wi,uo;function xl(){if(uo)return Wi;uo=1;var n=dr(),e=bh(),r=pr().CONSTRUCTOR;return Wi=r||!e(function(t){n.all(t).then(void 0,function(){})}),Wi}var lo;function xh(){if(lo)return eo;lo=1;var n=le(),e=se(),r=Be(),t=yr(),i=Ka(),a=bl(),s=xl();return n({target:"Promise",stat:!0,forced:s},{all:function(u){var l=this,h=t.f(l),c=h.resolve,v=h.reject,f=i(function(){var g=r(l.resolve),d=[],p=0,y=1;a(u,function(m){var b=p++,x=!1;y++,e(g,l,m).then(function(S){x||(x=!0,d[b]=S,--y||c(d))},v)}),--y||c(d)});return f.error&&v(f.value),h.promise}}),eo}var ho={},fo;function Oh(){if(fo)return ho;fo=1;var n=le(),e=Me(),r=pr().CONSTRUCTOR,t=dr(),i=er(),a=te(),s=rr(),o=t&&t.prototype;if(n({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(l){return this.then(void 0,l)}}),!e&&a(t)){var u=i("Promise").prototype.catch;o.catch!==u&&s(o,"catch",u,{unsafe:!0})}return ho}var co={},vo;function Th(){if(vo)return co;vo=1;var n=le(),e=se(),r=Be(),t=yr(),i=Ka(),a=bl(),s=xl();return n({target:"Promise",stat:!0,forced:s},{race:function(u){var l=this,h=t.f(l),c=h.reject,v=i(function(){var f=r(l.resolve);a(u,function(g){e(f,l,g).then(h.resolve,c)})});return v.error&&c(v.value),h.promise}}),co}var go={},po;function Sh(){if(po)return go;po=1;var n=le(),e=yr(),r=pr().CONSTRUCTOR;return n({target:"Promise",stat:!0,forced:r},{reject:function(i){var a=e.f(this),s=a.reject;return s(i),a.promise}}),go}var yo={},Yi,mo;function Eh(){if(mo)return Yi;mo=1;var n=ue(),e=Ce(),r=yr();return Yi=function(t,i){if(n(t),e(i)&&i.constructor===t)return i;var a=r.f(t),s=a.resolve;return s(i),a.promise},Yi}var bo;function Rh(){if(bo)return yo;bo=1;var n=le(),e=er(),r=Me(),t=dr(),i=pr().CONSTRUCTOR,a=Eh(),s=e("Promise"),o=r&&!i;return n({target:"Promise",stat:!0,forced:r||i},{resolve:function(l){return a(o&&this===s?t:this,l)}}),yo}var xo;function Ch(){return xo||(xo=1,dh(),xh(),Oh(),Th(),Sh(),Rh()),on}Ch();function Oo(n,e,r,t,i,a,s){try{var o=n[a](s),u=o.value}catch(l){return void r(l)}o.done?e(u):Promise.resolve(u).then(t,i)}function je(n){return function(){var e=this,r=arguments;return new Promise(function(t,i){var a=n.apply(e,r);function s(u){Oo(a,t,i,s,o,"next",u)}function o(u){Oo(a,t,i,s,o,"throw",u)}s(void 0)})}}var To={},So={},Xi,Eo;function qe(){if(Eo)return Xi;Eo=1;var n=Ya(),e=String;return Xi=function(r){if(n(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return e(r)},Xi}var Ki,Ro;function Ol(){if(Ro)return Ki;Ro=1;var n=ue();return Ki=function(){var e=n(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r},Ki}var Qi,Co;function Tl(){if(Co)return Qi;Co=1;var n=ee(),e=Z(),r=e.RegExp,t=n(function(){var s=r("a","y");return s.lastIndex=2,s.exec("abcd")!==null}),i=t||n(function(){return!r("a","y").sticky}),a=t||n(function(){var s=r("^r","gy");return s.lastIndex=2,s.exec("str")!==null});return Qi={BROKEN_CARET:a,MISSED_STICKY:i,UNSUPPORTED_Y:t},Qi}var Zi={},Ji,wo;function wh(){if(wo)return Ji;wo=1;var n=ul(),e=Wa();return Ji=Object.keys||function(t){return n(t,e)},Ji}var Po;function Ph(){if(Po)return Zi;Po=1;var n=Ee(),e=nl(),r=He(),t=ue(),i=cr(),a=wh();return Zi.f=n&&!e?Object.defineProperties:function(o,u){t(o);for(var l=i(u),h=a(u),c=h.length,v=0,f;c>v;)r.f(o,f=h[v++],l[f]);return o},Zi}var ea,Ao;function Fr(){if(Ao)return ea;Ao=1;var n=ue(),e=Ph(),r=Wa(),t=za(),i=gl(),a=Mr(),s=$a(),o=">",u="<",l="prototype",h="script",c=s("IE_PROTO"),v=function(){},f=function(m){return u+h+o+m+u+"/"+h+o},g=function(m){m.write(f("")),m.close();var b=m.parentWindow.Object;return m=null,b},d=function(){var m=a("iframe"),b="java"+h+":",x;return m.style.display="none",i.appendChild(m),m.src=String(b),x=m.contentWindow.document,x.open(),x.write(f("document.F=Object")),x.close(),x.F},p,y=function(){try{p=new ActiveXObject("htmlfile")}catch{}y=typeof document<"u"?document.domain&&p?g(p):d():g(p);for(var m=r.length;m--;)delete y[l][r[m]];return y()};return t[c]=!0,ea=Object.create||function(b,x){var S;return b!==null?(v[l]=n(b),S=new v,v[l]=null,S[c]=b):S=y(),x===void 0?S:e.f(S,x)},ea}var ra,Io;function Ah(){if(Io)return ra;Io=1;var n=ee(),e=Z(),r=e.RegExp;return ra=n(function(){var t=r(".","s");return!(t.dotAll&&t.test(` +import{c as Ma,t as Ul,g as Qu}from"./index-Bk_VbKFy.js";var on={},un={},lr,ln;function Z(){if(ln)return lr;ln=1;var n=function(e){return e&&e.Math===Math&&e};return lr=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof Ma=="object"&&Ma)||n(typeof lr=="object"&&lr)||function(){return this}()||Function("return this")(),lr}var Qr={},Zr,hn;function ee(){return hn||(hn=1,Zr=function(n){try{return!!n()}catch{return!0}}),Zr}var Jr,fn;function Ee(){if(fn)return Jr;fn=1;var n=ee();return Jr=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),Jr}var et,cn;function Ar(){if(cn)return et;cn=1;var n=ee();return et=!n(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),et}var rt,vn;function se(){if(vn)return rt;vn=1;var n=Ar(),e=Function.prototype.call;return rt=n?e.bind(e):function(){return e.apply(e,arguments)},rt}var tt={},gn;function Gl(){if(gn)return tt;gn=1;var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!n.call({1:2},1);return tt.f=r?function(i){var a=e(this,i);return!!a&&a.enumerable}:n,tt}var it,dn;function ka(){return dn||(dn=1,it=function(n,e){return{enumerable:!(n&1),configurable:!(n&2),writable:!(n&4),value:e}}),it}var at,pn;function re(){if(pn)return at;pn=1;var n=Ar(),e=Function.prototype,r=e.call,t=n&&e.bind.bind(r,r);return at=n?t:function(i){return function(){return r.apply(i,arguments)}},at}var nt,yn;function Ze(){if(yn)return nt;yn=1;var n=re(),e=n({}.toString),r=n("".slice);return nt=function(t){return r(e(t),8,-1)},nt}var st,mn;function Zu(){if(mn)return st;mn=1;var n=re(),e=ee(),r=Ze(),t=Object,i=n("".split);return st=e(function(){return!t("z").propertyIsEnumerable(0)})?function(a){return r(a)==="String"?i(a,""):t(a)}:t,st}var ot,bn;function Je(){return bn||(bn=1,ot=function(n){return n==null}),ot}var ut,xn;function Re(){if(xn)return ut;xn=1;var n=Je(),e=TypeError;return ut=function(r){if(n(r))throw new e("Can't call method on "+r);return r},ut}var lt,On;function cr(){if(On)return lt;On=1;var n=Zu(),e=Re();return lt=function(r){return n(e(r))},lt}var ht,Tn;function te(){if(Tn)return ht;Tn=1;var n=typeof document=="object"&&document.all;return ht=typeof n>"u"&&n!==void 0?function(e){return typeof e=="function"||e===n}:function(e){return typeof e=="function"},ht}var ft,Sn;function Ce(){if(Sn)return ft;Sn=1;var n=te();return ft=function(e){return typeof e=="object"?e!==null:n(e)},ft}var ct,En;function er(){if(En)return ct;En=1;var n=Z(),e=te(),r=function(t){return e(t)?t:void 0};return ct=function(t,i){return arguments.length<2?r(n[t]):n[t]&&n[t][i]},ct}var vt,Rn;function Ir(){if(Rn)return vt;Rn=1;var n=re();return vt=n({}.isPrototypeOf),vt}var gt,Cn;function vr(){if(Cn)return gt;Cn=1;var n=Z(),e=n.navigator,r=e&&e.userAgent;return gt=r?String(r):"",gt}var dt,wn;function ja(){if(wn)return dt;wn=1;var n=Z(),e=vr(),r=n.process,t=n.Deno,i=r&&r.versions||t&&t.version,a=i&&i.v8,s,o;return a&&(s=a.split("."),o=s[0]>0&&s[0]<4?1:+(s[0]+s[1])),!o&&e&&(s=e.match(/Edge\/(\d+)/),(!s||s[1]>=74)&&(s=e.match(/Chrome\/(\d+)/),s&&(o=+s[1]))),dt=o,dt}var pt,Pn;function Ju(){if(Pn)return pt;Pn=1;var n=ja(),e=ee(),r=Z(),t=r.String;return pt=!!Object.getOwnPropertySymbols&&!e(function(){var i=Symbol("symbol detection");return!t(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&n&&n<41}),pt}var yt,An;function el(){if(An)return yt;An=1;var n=Ju();return yt=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol",yt}var mt,In;function rl(){if(In)return mt;In=1;var n=er(),e=te(),r=Ir(),t=el(),i=Object;return mt=t?function(a){return typeof a=="symbol"}:function(a){var s=n("Symbol");return e(s)&&r(s.prototype,i(a))},mt}var bt,Nn;function Nr(){if(Nn)return bt;Nn=1;var n=String;return bt=function(e){try{return n(e)}catch{return"Object"}},bt}var xt,_n;function Be(){if(_n)return xt;_n=1;var n=te(),e=Nr(),r=TypeError;return xt=function(t){if(n(t))return t;throw new r(e(t)+" is not a function")},xt}var Ot,Mn;function ar(){if(Mn)return Ot;Mn=1;var n=Be(),e=Je();return Ot=function(r,t){var i=r[t];return e(i)?void 0:n(i)},Ot}var Tt,qn;function $l(){if(qn)return Tt;qn=1;var n=se(),e=te(),r=Ce(),t=TypeError;return Tt=function(i,a){var s,o;if(a==="string"&&e(s=i.toString)&&!r(o=n(s,i))||e(s=i.valueOf)&&!r(o=n(s,i))||a!=="string"&&e(s=i.toString)&&!r(o=n(s,i)))return o;throw new t("Can't convert object to primitive value")},Tt}var St={exports:{}},Et,Dn;function Me(){return Dn||(Dn=1,Et=!1),Et}var Rt,Vn;function Ba(){if(Vn)return Rt;Vn=1;var n=Z(),e=Object.defineProperty;return Rt=function(r,t){try{e(n,r,{value:t,configurable:!0,writable:!0})}catch{n[r]=t}return t},Rt}var Ln;function Fa(){if(Ln)return St.exports;Ln=1;var n=Me(),e=Z(),r=Ba(),t="__core-js_shared__",i=St.exports=e[t]||r(t,{});return(i.versions||(i.versions=[])).push({version:"3.41.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"}),St.exports}var Ct,kn;function Ua(){if(kn)return Ct;kn=1;var n=Fa();return Ct=function(e,r){return n[e]||(n[e]=r||{})},Ct}var wt,jn;function _r(){if(jn)return wt;jn=1;var n=Re(),e=Object;return wt=function(r){return e(n(r))},wt}var Pt,Bn;function we(){if(Bn)return Pt;Bn=1;var n=re(),e=_r(),r=n({}.hasOwnProperty);return Pt=Object.hasOwn||function(i,a){return r(e(i),a)},Pt}var At,Fn;function tl(){if(Fn)return At;Fn=1;var n=re(),e=0,r=Math.random(),t=n(1 .toString);return At=function(i){return"Symbol("+(i===void 0?"":i)+")_"+t(++e+r,36)},At}var It,Un;function ne(){if(Un)return It;Un=1;var n=Z(),e=Ua(),r=we(),t=tl(),i=Ju(),a=el(),s=n.Symbol,o=e("wks"),u=a?s.for||s:s&&s.withoutSetter||t;return It=function(l){return r(o,l)||(o[l]=i&&r(s,l)?s[l]:u("Symbol."+l)),o[l]},It}var Nt,Gn;function zl(){if(Gn)return Nt;Gn=1;var n=se(),e=Ce(),r=rl(),t=ar(),i=$l(),a=ne(),s=TypeError,o=a("toPrimitive");return Nt=function(u,l){if(!e(u)||r(u))return u;var h=t(u,o),c;if(h){if(l===void 0&&(l="default"),c=n(h,u,l),!e(c)||r(c))return c;throw new s("Can't convert object to primitive value")}return l===void 0&&(l="number"),i(u,l)},Nt}var _t,$n;function il(){if($n)return _t;$n=1;var n=zl(),e=rl();return _t=function(r){var t=n(r,"string");return e(t)?t:t+""},_t}var Mt,zn;function Mr(){if(zn)return Mt;zn=1;var n=Z(),e=Ce(),r=n.document,t=e(r)&&e(r.createElement);return Mt=function(i){return t?r.createElement(i):{}},Mt}var qt,Hn;function al(){if(Hn)return qt;Hn=1;var n=Ee(),e=ee(),r=Mr();return qt=!n&&!e(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),qt}var Wn;function qr(){if(Wn)return Qr;Wn=1;var n=Ee(),e=se(),r=Gl(),t=ka(),i=cr(),a=il(),s=we(),o=al(),u=Object.getOwnPropertyDescriptor;return Qr.f=n?u:function(h,c){if(h=i(h),c=a(c),o)try{return u(h,c)}catch{}if(s(h,c))return t(!e(r.f,h,c),h[c])},Qr}var Dt={},Vt,Yn;function nl(){if(Yn)return Vt;Yn=1;var n=Ee(),e=ee();return Vt=n&&e(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),Vt}var Lt,Xn;function ue(){if(Xn)return Lt;Xn=1;var n=Ce(),e=String,r=TypeError;return Lt=function(t){if(n(t))return t;throw new r(e(t)+" is not an object")},Lt}var Kn;function He(){if(Kn)return Dt;Kn=1;var n=Ee(),e=al(),r=nl(),t=ue(),i=il(),a=TypeError,s=Object.defineProperty,o=Object.getOwnPropertyDescriptor,u="enumerable",l="configurable",h="writable";return Dt.f=n?r?function(v,f,g){if(t(v),f=i(f),t(g),typeof v=="function"&&f==="prototype"&&"value"in g&&h in g&&!g[h]){var d=o(v,f);d&&d[h]&&(v[f]=g.value,g={configurable:l in g?g[l]:d[l],enumerable:u in g?g[u]:d[u],writable:!1})}return s(v,f,g)}:s:function(v,f,g){if(t(v),f=i(f),t(g),e)try{return s(v,f,g)}catch{}if("get"in g||"set"in g)throw new a("Accessors not supported");return"value"in g&&(v[f]=g.value),v},Dt}var kt,Qn;function gr(){if(Qn)return kt;Qn=1;var n=Ee(),e=He(),r=ka();return kt=n?function(t,i,a){return e.f(t,i,r(1,a))}:function(t,i,a){return t[i]=a,t},kt}var jt={exports:{}},Bt,Zn;function Dr(){if(Zn)return Bt;Zn=1;var n=Ee(),e=we(),r=Function.prototype,t=n&&Object.getOwnPropertyDescriptor,i=e(r,"name"),a=i&&(function(){}).name==="something",s=i&&(!n||n&&t(r,"name").configurable);return Bt={EXISTS:i,PROPER:a,CONFIGURABLE:s},Bt}var Ft,Jn;function Ga(){if(Jn)return Ft;Jn=1;var n=re(),e=te(),r=Fa(),t=n(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(i){return t(i)}),Ft=r.inspectSource,Ft}var Ut,es;function Hl(){if(es)return Ut;es=1;var n=Z(),e=te(),r=n.WeakMap;return Ut=e(r)&&/native code/.test(String(r)),Ut}var Gt,rs;function $a(){if(rs)return Gt;rs=1;var n=Ua(),e=tl(),r=n("keys");return Gt=function(t){return r[t]||(r[t]=e(t))},Gt}var $t,ts;function za(){return ts||(ts=1,$t={}),$t}var zt,is;function Vr(){if(is)return zt;is=1;var n=Hl(),e=Z(),r=Ce(),t=gr(),i=we(),a=Fa(),s=$a(),o=za(),u="Object already initialized",l=e.TypeError,h=e.WeakMap,c,v,f,g=function(m){return f(m)?v(m):c(m,{})},d=function(m){return function(b){var x;if(!r(b)||(x=v(b)).type!==m)throw new l("Incompatible receiver, "+m+" required");return x}};if(n||a.state){var p=a.state||(a.state=new h);p.get=p.get,p.has=p.has,p.set=p.set,c=function(m,b){if(p.has(m))throw new l(u);return b.facade=m,p.set(m,b),b},v=function(m){return p.get(m)||{}},f=function(m){return p.has(m)}}else{var y=s("state");o[y]=!0,c=function(m,b){if(i(m,y))throw new l(u);return b.facade=m,t(m,y,b),b},v=function(m){return i(m,y)?m[y]:{}},f=function(m){return i(m,y)}}return zt={set:c,get:v,has:f,enforce:g,getterFor:d},zt}var as;function sl(){if(as)return jt.exports;as=1;var n=re(),e=ee(),r=te(),t=we(),i=Ee(),a=Dr().CONFIGURABLE,s=Ga(),o=Vr(),u=o.enforce,l=o.get,h=String,c=Object.defineProperty,v=n("".slice),f=n("".replace),g=n([].join),d=i&&!e(function(){return c(function(){},"length",{value:8}).length!==8}),p=String(String).split("String"),y=jt.exports=function(m,b,x){v(h(b),0,7)==="Symbol("&&(b="["+f(h(b),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),x&&x.getter&&(b="get "+b),x&&x.setter&&(b="set "+b),(!t(m,"name")||a&&m.name!==b)&&(i?c(m,"name",{value:b,configurable:!0}):m.name=b),d&&x&&t(x,"arity")&&m.length!==x.arity&&c(m,"length",{value:x.arity});try{x&&t(x,"constructor")&&x.constructor?i&&c(m,"prototype",{writable:!1}):m.prototype&&(m.prototype=void 0)}catch{}var S=u(m);return t(S,"source")||(S.source=g(p,typeof b=="string"?b:"")),m};return Function.prototype.toString=y(function(){return r(this)&&l(this).source||s(this)},"toString"),jt.exports}var Ht,ns;function rr(){if(ns)return Ht;ns=1;var n=te(),e=He(),r=sl(),t=Ba();return Ht=function(i,a,s,o){o||(o={});var u=o.enumerable,l=o.name!==void 0?o.name:a;if(n(s)&&r(s,l,o),o.global)u?i[a]=s:t(a,s);else{try{o.unsafe?i[a]&&(u=!0):delete i[a]}catch{}u?i[a]=s:e.f(i,a,{value:s,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return i},Ht}var Wt={},Yt,ss;function Wl(){if(ss)return Yt;ss=1;var n=Math.ceil,e=Math.floor;return Yt=Math.trunc||function(t){var i=+t;return(i>0?e:n)(i)},Yt}var Xt,os;function Lr(){if(os)return Xt;os=1;var n=Wl();return Xt=function(e){var r=+e;return r!==r||r===0?0:n(r)},Xt}var Kt,us;function Yl(){if(us)return Kt;us=1;var n=Lr(),e=Math.max,r=Math.min;return Kt=function(t,i){var a=n(t);return a<0?e(a+i,0):r(a,i)},Kt}var Qt,ls;function nr(){if(ls)return Qt;ls=1;var n=Lr(),e=Math.min;return Qt=function(r){var t=n(r);return t>0?e(t,9007199254740991):0},Qt}var Zt,hs;function Ha(){if(hs)return Zt;hs=1;var n=nr();return Zt=function(e){return n(e.length)},Zt}var Jt,fs;function ol(){if(fs)return Jt;fs=1;var n=cr(),e=Yl(),r=Ha(),t=function(i){return function(a,s,o){var u=n(a),l=r(u);if(l===0)return!i&&-1;var h=e(o,l),c;if(i&&s!==s){for(;l>h;)if(c=u[h++],c!==c)return!0}else for(;l>h;h++)if((i||h in u)&&u[h]===s)return i||h||0;return!i&&-1}};return Jt={includes:t(!0),indexOf:t(!1)},Jt}var ei,cs;function ul(){if(cs)return ei;cs=1;var n=re(),e=we(),r=cr(),t=ol().indexOf,i=za(),a=n([].push);return ei=function(s,o){var u=r(s),l=0,h=[],c;for(c in u)!e(i,c)&&e(u,c)&&a(h,c);for(;o.length>l;)e(u,c=o[l++])&&(~t(h,c)||a(h,c));return h},ei}var ri,vs;function Wa(){return vs||(vs=1,ri=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),ri}var gs;function Xl(){if(gs)return Wt;gs=1;var n=ul(),e=Wa(),r=e.concat("length","prototype");return Wt.f=Object.getOwnPropertyNames||function(i){return n(i,r)},Wt}var ti={},ds;function Kl(){return ds||(ds=1,ti.f=Object.getOwnPropertySymbols),ti}var ii,ps;function Ql(){if(ps)return ii;ps=1;var n=er(),e=re(),r=Xl(),t=Kl(),i=ue(),a=e([].concat);return ii=n("Reflect","ownKeys")||function(o){var u=r.f(i(o)),l=t.f;return l?a(u,l(o)):u},ii}var ai,ys;function Zl(){if(ys)return ai;ys=1;var n=we(),e=Ql(),r=qr(),t=He();return ai=function(i,a,s){for(var o=e(a),u=t.f,l=r.f,h=0;h_;_++)if(P=R(f[_]),P&&s(v,P))return P;return new c(!1)}E=o(f,O)}for(M=m?f.next:E.next;!(w=e(M,E)).done;){try{P=R(w.value)}catch(A){l(E,"throw",A)}if(typeof P=="object"&&P&&s(v,P))return P}return new c(!1)},zi}var Hi,oo;function bh(){if(oo)return Hi;oo=1;var n=ne(),e=n("iterator"),r=!1;try{var t=0,i={next:function(){return{done:!!t++}},return:function(){r=!0}};i[e]=function(){return this},Array.from(i,function(){throw 2})}catch{}return Hi=function(a,s){try{if(!s&&!r)return!1}catch{return!1}var o=!1;try{var u={};u[e]=function(){return{next:function(){return{done:o=!0}}}},a(u)}catch{}return o},Hi}var Wi,uo;function xl(){if(uo)return Wi;uo=1;var n=dr(),e=bh(),r=pr().CONSTRUCTOR;return Wi=r||!e(function(t){n.all(t).then(void 0,function(){})}),Wi}var lo;function xh(){if(lo)return eo;lo=1;var n=le(),e=se(),r=Be(),t=yr(),i=Ka(),a=bl(),s=xl();return n({target:"Promise",stat:!0,forced:s},{all:function(u){var l=this,h=t.f(l),c=h.resolve,v=h.reject,f=i(function(){var g=r(l.resolve),d=[],p=0,y=1;a(u,function(m){var b=p++,x=!1;y++,e(g,l,m).then(function(S){x||(x=!0,d[b]=S,--y||c(d))},v)}),--y||c(d)});return f.error&&v(f.value),h.promise}}),eo}var ho={},fo;function Oh(){if(fo)return ho;fo=1;var n=le(),e=Me(),r=pr().CONSTRUCTOR,t=dr(),i=er(),a=te(),s=rr(),o=t&&t.prototype;if(n({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(l){return this.then(void 0,l)}}),!e&&a(t)){var u=i("Promise").prototype.catch;o.catch!==u&&s(o,"catch",u,{unsafe:!0})}return ho}var co={},vo;function Th(){if(vo)return co;vo=1;var n=le(),e=se(),r=Be(),t=yr(),i=Ka(),a=bl(),s=xl();return n({target:"Promise",stat:!0,forced:s},{race:function(u){var l=this,h=t.f(l),c=h.reject,v=i(function(){var f=r(l.resolve);a(u,function(g){e(f,l,g).then(h.resolve,c)})});return v.error&&c(v.value),h.promise}}),co}var go={},po;function Sh(){if(po)return go;po=1;var n=le(),e=yr(),r=pr().CONSTRUCTOR;return n({target:"Promise",stat:!0,forced:r},{reject:function(i){var a=e.f(this),s=a.reject;return s(i),a.promise}}),go}var yo={},Yi,mo;function Eh(){if(mo)return Yi;mo=1;var n=ue(),e=Ce(),r=yr();return Yi=function(t,i){if(n(t),e(i)&&i.constructor===t)return i;var a=r.f(t),s=a.resolve;return s(i),a.promise},Yi}var bo;function Rh(){if(bo)return yo;bo=1;var n=le(),e=er(),r=Me(),t=dr(),i=pr().CONSTRUCTOR,a=Eh(),s=e("Promise"),o=r&&!i;return n({target:"Promise",stat:!0,forced:r||i},{resolve:function(l){return a(o&&this===s?t:this,l)}}),yo}var xo;function Ch(){return xo||(xo=1,dh(),xh(),Oh(),Th(),Sh(),Rh()),on}Ch();function Oo(n,e,r,t,i,a,s){try{var o=n[a](s),u=o.value}catch(l){return void r(l)}o.done?e(u):Promise.resolve(u).then(t,i)}function je(n){return function(){var e=this,r=arguments;return new Promise(function(t,i){var a=n.apply(e,r);function s(u){Oo(a,t,i,s,o,"next",u)}function o(u){Oo(a,t,i,s,o,"throw",u)}s(void 0)})}}var To={},So={},Xi,Eo;function qe(){if(Eo)return Xi;Eo=1;var n=Ya(),e=String;return Xi=function(r){if(n(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return e(r)},Xi}var Ki,Ro;function Ol(){if(Ro)return Ki;Ro=1;var n=ue();return Ki=function(){var e=n(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r},Ki}var Qi,Co;function Tl(){if(Co)return Qi;Co=1;var n=ee(),e=Z(),r=e.RegExp,t=n(function(){var s=r("a","y");return s.lastIndex=2,s.exec("abcd")!==null}),i=t||n(function(){return!r("a","y").sticky}),a=t||n(function(){var s=r("^r","gy");return s.lastIndex=2,s.exec("str")!==null});return Qi={BROKEN_CARET:a,MISSED_STICKY:i,UNSUPPORTED_Y:t},Qi}var Zi={},Ji,wo;function wh(){if(wo)return Ji;wo=1;var n=ul(),e=Wa();return Ji=Object.keys||function(t){return n(t,e)},Ji}var Po;function Ph(){if(Po)return Zi;Po=1;var n=Ee(),e=nl(),r=He(),t=ue(),i=cr(),a=wh();return Zi.f=n&&!e?Object.defineProperties:function(o,u){t(o);for(var l=i(u),h=a(u),c=h.length,v=0,f;c>v;)r.f(o,f=h[v++],l[f]);return o},Zi}var ea,Ao;function Fr(){if(Ao)return ea;Ao=1;var n=ue(),e=Ph(),r=Wa(),t=za(),i=gl(),a=Mr(),s=$a(),o=">",u="<",l="prototype",h="script",c=s("IE_PROTO"),v=function(){},f=function(m){return u+h+o+m+u+"/"+h+o},g=function(m){m.write(f("")),m.close();var b=m.parentWindow.Object;return m=null,b},d=function(){var m=a("iframe"),b="java"+h+":",x;return m.style.display="none",i.appendChild(m),m.src=String(b),x=m.contentWindow.document,x.open(),x.write(f("document.F=Object")),x.close(),x.F},p,y=function(){try{p=new ActiveXObject("htmlfile")}catch{}y=typeof document<"u"?document.domain&&p?g(p):d():g(p);for(var m=r.length;m--;)delete y[l][r[m]];return y()};return t[c]=!0,ea=Object.create||function(b,x){var S;return b!==null?(v[l]=n(b),S=new v,v[l]=null,S[c]=b):S=y(),x===void 0?S:e.f(S,x)},ea}var ra,Io;function Ah(){if(Io)return ra;Io=1;var n=ee(),e=Z(),r=e.RegExp;return ra=n(function(){var t=r(".","s");return!(t.dotAll&&t.test(` `)&&t.flags==="s")}),ra}var ta,No;function Ih(){if(No)return ta;No=1;var n=ee(),e=Z(),r=e.RegExp;return ta=n(function(){var t=r("(?b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$c")!=="bc"}),ta}var ia,_o;function Qa(){if(_o)return ia;_o=1;var n=se(),e=re(),r=qe(),t=Ol(),i=Tl(),a=Ua(),s=Fr(),o=Vr().get,u=Ah(),l=Ih(),h=a("native-string-replace",String.prototype.replace),c=RegExp.prototype.exec,v=c,f=e("".charAt),g=e("".indexOf),d=e("".replace),p=e("".slice),y=function(){var S=/a/,E=/b*/g;return n(c,S,"a"),n(c,E,"a"),S.lastIndex!==0||E.lastIndex!==0}(),m=i.BROKEN_CARET,b=/()??/.exec("")[1]!==void 0,x=y||b||m||u||l;return x&&(v=function(E){var O=this,_=o(O),V=r(E),P=_.raw,M,w,k,R,A,U,I;if(P)return P.lastIndex=O.lastIndex,M=n(v,P,V),O.lastIndex=P.lastIndex,M;var j=_.groups,N=m&&O.sticky,L=n(t,O),B=O.source,z=0,X=V;if(N&&(L=d(L,"y",""),g(L,"g")===-1&&(L+="g"),X=p(V,O.lastIndex),O.lastIndex>0&&(!O.multiline||O.multiline&&f(V,O.lastIndex-1)!==` `)&&(B="(?: "+B+")",X=" "+X,z++),w=new RegExp("^(?:"+B+")",L)),b&&(w=new RegExp("^"+B+"$(?!\\s)",L)),y&&(k=O.lastIndex),R=n(c,N?w:O,X),N?R?(R.input=p(R.input,z),R[0]=p(R[0],z),R.index=O.lastIndex,O.lastIndex+=R[0].length):O.lastIndex=0:y&&R&&(O.lastIndex=O.global?R.index+R[0].length:k),b&&R&&R.length>1&&n(h,R[0],w,function(){for(A=1;A=f?u?"":void 0:(g=a(c,v),g<55296||g>56319||v+1===f||(d=a(c,v+1))<56320||d>57343?u?i(c,v):g:u?s(c,v,v+2):(g-55296<<10)+(d-56320)+65536)}};return na={codeAt:o(!1),charAt:o(!0)},na}var sa,Vo;function Ja(){if(Vo)return sa;Vo=1;var n=_h().charAt;return sa=function(e,r,t){return r+(t?n(e,r).length:1)},sa}var oa,Lo;function en(){if(Lo)return oa;Lo=1;var n=se(),e=ue(),r=te(),t=Ze(),i=Qa(),a=TypeError;return oa=function(s,o){var u=s.exec;if(r(u)){var l=n(u,s,o);return l!==null&&e(l),l}if(t(s)==="RegExp")return n(i,s,o);throw new a("RegExp#exec called on incompatible receiver")},oa}var ko;function Mh(){if(ko)return To;ko=1;var n=se(),e=Za(),r=ue(),t=Je(),i=nr(),a=qe(),s=Re(),o=ar(),u=Ja(),l=en();return e("match",function(h,c,v){return[function(g){var d=s(this),p=t(g)?void 0:o(g,h);return p?n(p,g,d):new RegExp(g)[h](a(d))},function(f){var g=r(this),d=a(f),p=v(c,g,d);if(p.done)return p.value;if(!g.global)return l(g,d);var y=g.unicode;g.lastIndex=0;for(var m=[],b=0,x;(x=l(g,d))!==null;){var S=a(x[0]);m[b]=S,S===""&&(g.lastIndex=u(d,i(g.lastIndex),y)),b++}return b===0?null:m}]}),To}Mh();var jo={},ua,Bo;function qh(){if(Bo)return ua;Bo=1;var n=re(),e=_r(),r=Math.floor,t=n("".charAt),i=n("".replace),a=n("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,o=/\$([$&'`]|\d{1,2})/g;return ua=function(u,l,h,c,v,f){var g=h+u.length,d=c.length,p=o;return v!==void 0&&(v=e(v),p=s),i(f,p,function(y,m){var b;switch(t(m,0)){case"$":return"$";case"&":return u;case"`":return a(l,0,h);case"'":return a(l,g);case"<":b=v[a(m,1,-1)];break;default:var x=+m;if(x===0)return y;if(x>d){var S=r(x/10);return S===0?y:S<=d?c[S-1]===void 0?t(m,1):c[S-1]+t(m,1):y}b=c[x-1]}return b===void 0?"":b})},ua}var Fo;function Dh(){if(Fo)return jo;Fo=1;var n=vl(),e=se(),r=re(),t=Za(),i=ee(),a=ue(),s=te(),o=Je(),u=Lr(),l=nr(),h=qe(),c=Re(),v=Ja(),f=ar(),g=qh(),d=en(),p=ne(),y=p("replace"),m=Math.max,b=Math.min,x=r([].concat),S=r([].push),E=r("".indexOf),O=r("".slice),_=function(w){return w===void 0?w:String(w)},V=function(){return"a".replace(/./,"$0")==="$0"}(),P=function(){return/./[y]?/./[y]("a","$0")==="":!1}(),M=!i(function(){var w=/./;return w.exec=function(){var k=[];return k.groups={a:"7"},k},"".replace(w,"$")!=="7"});return t("replace",function(w,k,R){var A=P?"$":"$0";return[function(I,j){var N=c(this),L=o(I)?void 0:f(I,y);return L?e(L,I,N,j):e(k,h(N),I,j)},function(U,I){var j=a(this),N=h(U);if(typeof I=="string"&&E(I,A)===-1&&E(I,"$<")===-1){var L=R(k,j,N,I);if(L.done)return L.value}var B=s(I);B||(I=h(I));var z=j.global,X;z&&(X=j.unicode,j.lastIndex=0);for(var H=[],Q;Q=d(j,N),!(Q===null||(S(H,Q),!z));){var Fe=h(Q[0]);Fe===""&&(j.lastIndex=v(N,l(j.lastIndex),X))}for(var De="",Ae=0,de=0;de=Ae&&(De+=O(N,Ae,ye)+Ne,Ae=ye+pe.length)}return De+O(N,Ae)}]},!M||!V||P),jo}Dh();var Uo={},la,Go;function Vh(){if(Go)return la;Go=1;var n=Ce(),e=Ze(),r=ne(),t=r("match");return la=function(i){var a;return n(i)&&((a=i[t])!==void 0?!!a:e(i)==="RegExp")},la}var ha,$o;function rn(){if($o)return ha;$o=1;var n=Vh(),e=TypeError;return ha=function(r){if(n(r))throw new e("The method doesn't accept regular expressions");return r},ha}var fa,zo;function tn(){if(zo)return fa;zo=1;var n=ne(),e=n("match");return fa=function(r){var t=/./;try{"/./"[r](t)}catch{try{return t[e]=!1,"/./"[r](t)}catch{}}return!1},fa}var Ho;function Lh(){if(Ho)return Uo;Ho=1;var n=le(),e=Br(),r=qr().f,t=nr(),i=qe(),a=rn(),s=Re(),o=tn(),u=Me(),l=e("".slice),h=Math.min,c=o("startsWith"),v=!u&&!c&&!!function(){var f=r(String.prototype,"startsWith");return f&&!f.writable}();return n({target:"String",proto:!0,forced:!v&&!c},{startsWith:function(g){var d=i(s(this));a(g);var p=t(h(arguments.length>1?arguments[1]:void 0,d.length)),y=i(g);return l(d,p,p+y.length)===y}}),Uo}Lh();var ca,Wo;function kh(){if(Wo)return ca;Wo=1;var n=ne(),e=Fr(),r=He().f,t=n("unscopables"),i=Array.prototype;return i[t]===void 0&&r(i,t,{configurable:!0,value:e(null)}),ca=function(a){i[t][a]=!0},ca}var va,Yo;function jh(){if(Yo)return va;Yo=1;var n=ee();return va=!n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),va}var ga,Xo;function Sl(){if(Xo)return ga;Xo=1;var n=we(),e=te(),r=_r(),t=$a(),i=jh(),a=t("IE_PROTO"),s=Object,o=s.prototype;return ga=i?s.getPrototypeOf:function(u){var l=r(u);if(n(l,a))return l[a];var h=l.constructor;return e(h)&&l instanceof h?h.prototype:l instanceof s?o:null},ga}var da,Ko;function El(){if(Ko)return da;Ko=1;var n=ee(),e=te(),r=Ce(),t=Fr(),i=Sl(),a=rr(),s=ne(),o=Me(),u=s("iterator"),l=!1,h,c,v;[].keys&&(v=[].keys(),"next"in v?(c=i(i(v)),c!==Object.prototype&&(h=c)):l=!0);var f=!r(h)||n(function(){var g={};return h[u].call(g)!==g});return f?h={}:o&&(h=t(h)),e(h[u])||a(h,u,function(){return this}),da={IteratorPrototype:h,BUGGY_SAFARI_ITERATORS:l},da}var pa,Qo;function Bh(){if(Qo)return pa;Qo=1;var n=El().IteratorPrototype,e=Fr(),r=ka(),t=jr(),i=mr(),a=function(){return this};return pa=function(s,o,u,l){var h=o+" Iterator";return s.prototype=e(n,{next:r(+!l,u)}),t(s,h,!1,!0),i[h]=a,s},pa}var ya,Zo;function Fh(){if(Zo)return ya;Zo=1;var n=le(),e=se(),r=Me(),t=Dr(),i=te(),a=Bh(),s=Sl(),o=fl(),u=jr(),l=gr(),h=rr(),c=ne(),v=mr(),f=El(),g=t.PROPER,d=t.CONFIGURABLE,p=f.IteratorPrototype,y=f.BUGGY_SAFARI_ITERATORS,m=c("iterator"),b="keys",x="values",S="entries",E=function(){return this};return ya=function(O,_,V,P,M,w,k){a(V,_,P);var R=function(H){if(H===M&&N)return N;if(!y&&H&&H in I)return I[H];switch(H){case b:return function(){return new V(this,H)};case x:return function(){return new V(this,H)};case S:return function(){return new V(this,H)}}return function(){return new V(this)}},A=_+" Iterator",U=!1,I=O.prototype,j=I[m]||I["@@iterator"]||M&&I[M],N=!y&&j||R(M),L=_==="Array"&&I.entries||j,B,z,X;if(L&&(B=s(L.call(new O)),B!==Object.prototype&&B.next&&(!r&&s(B)!==p&&(o?o(B,p):i(B[m])||h(B,m,E)),u(B,A,!0,!0),r&&(v[A]=E))),g&&M===x&&j&&j.name!==x&&(!r&&d?l(I,"name",x):(U=!0,N=function(){return e(j,this)})),M)if(z={values:R(x),keys:w?N:R(b),entries:R(S)},k)for(X in z)(y||U||!(X in I))&&h(I,X,z[X]);else n({target:_,proto:!0,forced:y||U},z);return(!r||k)&&I[m]!==N&&h(I,m,N,{name:M}),v[_]=N,z},ya}var ma,Jo;function Uh(){return Jo||(Jo=1,ma=function(n,e){return{value:n,done:e}}),ma}var ba,eu;function Rl(){if(eu)return ba;eu=1;var n=cr(),e=kh(),r=mr(),t=Vr(),i=He().f,a=Fh(),s=Uh(),o=Me(),u=Ee(),l="Array Iterator",h=t.set,c=t.getterFor(l);ba=a(Array,"Array",function(f,g){h(this,{type:l,target:n(f),index:0,kind:g})},function(){var f=c(this),g=f.target,d=f.index++;if(!g||d>=g.length)return f.target=null,s(void 0,!0);switch(f.kind){case"keys":return s(d,!1);case"values":return s(g[d],!1)}return s([d,g[d]],!1)},"values");var v=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!o&&u&&v.name!=="values")try{i(v,"name",{value:"values"})}catch{}return ba}Rl();var ru={},xa,tu;function Gh(){return tu||(tu=1,xa={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),xa}var Oa,iu;function $h(){if(iu)return Oa;iu=1;var n=Mr(),e=n("span").classList,r=e&&e.constructor&&e.constructor.prototype;return Oa=r===Object.prototype?void 0:r,Oa}var au;function zh(){if(au)return ru;au=1;var n=Z(),e=Gh(),r=$h(),t=Rl(),i=gr(),a=jr(),s=ne(),o=s("iterator"),u=t.values,l=function(c,v){if(c){if(c[o]!==u)try{i(c,o,u)}catch{c[o]=u}if(a(c,v,!0),e[v]){for(var f in t)if(c[f]!==t[f])try{i(c,f,t[f])}catch{c[f]=t[f]}}}};for(var h in e)l(n[h]&&n[h].prototype,h);return l(r,"DOMTokenList"),ru}zh();function an(n,e,r){return(e=Ul(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}var nu={},Ta,su;function Hh(){if(su)return Ta;su=1;var n=Be(),e=_r(),r=Zu(),t=Ha(),i=TypeError,a="Reduce of empty array with no initial value",s=function(o){return function(u,l,h,c){var v=e(u),f=r(v),g=t(v);if(n(l),g===0&&h<2)throw new i(a);var d=o?g-1:0,p=o?-1:1;if(h<2)for(;;){if(d in f){c=f[d],d+=p;break}if(d+=p,o?d<0:g<=d)throw new i(a)}for(;o?d>=0:g>d;d+=p)d in f&&(c=l(c,f[d],d,v));return c}};return Ta={left:s(!1),right:s(!0)},Ta}var Sa,ou;function Cl(){if(ou)return Sa;ou=1;var n=ee();return Sa=function(e,r){var t=[][e];return!!t&&n(function(){t.call(null,r||function(){return 1},1)})},Sa}var uu;function Wh(){if(uu)return nu;uu=1;var n=le(),e=Hh().left,r=Cl(),t=ja(),i=kr(),a=!i&&t>79&&t<83,s=a||!r("reduce");return n({target:"Array",proto:!0,forced:s},{reduce:function(u){var l=arguments.length;return e(this,u,l,l>1?arguments[1]:void 0)}}),nu}Wh();var lu={},hu;function Yh(){if(hu)return lu;hu=1;var n=le(),e=Br(),r=qr().f,t=nr(),i=qe(),a=rn(),s=Re(),o=tn(),u=Me(),l=e("".slice),h=Math.min,c=o("endsWith"),v=!u&&!c&&!!function(){var f=r(String.prototype,"endsWith");return f&&!f.writable}();return n({target:"String",proto:!0,forced:!v&&!c},{endsWith:function(g){var d=i(s(this));a(g);var p=arguments.length>1?arguments[1]:void 0,y=d.length,m=p===void 0?y:h(t(p),y),b=i(g);return l(d,m-b.length,m)===b}}),lu}Yh();var fu={},cu;function Xh(){if(cu)return fu;cu=1;var n=se(),e=re(),r=Za(),t=ue(),i=Je(),a=Re(),s=cl(),o=Ja(),u=nr(),l=qe(),h=ar(),c=en(),v=Tl(),f=ee(),g=v.UNSUPPORTED_Y,d=4294967295,p=Math.min,y=e([].push),m=e("".slice),b=!f(function(){var S=/(?:)/,E=S.exec;S.exec=function(){return E.apply(this,arguments)};var O="ab".split(S);return O.length!==2||O[0]!=="a"||O[1]!=="b"}),x="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;return r("split",function(S,E,O){var _="0".split(void 0,0).length?function(V,P){return V===void 0&&P===0?[]:n(E,this,V,P)}:E;return[function(P,M){var w=a(this),k=i(P)?void 0:h(P,S);return k?n(k,P,w,M):n(_,l(w),P,M)},function(V,P){var M=t(this),w=l(V);if(!x){var k=O(_,M,w,P,_!==E);if(k.done)return k.value}var R=s(M,RegExp),A=M.unicode,U=(M.ignoreCase?"i":"")+(M.multiline?"m":"")+(M.unicode?"u":"")+(g?"g":"y"),I=new R(g?"^(?:"+M.source+")":M,U),j=P===void 0?d:P>>>0;if(j===0)return[];if(w.length===0)return c(I,w)===null?[w]:[];for(var N=0,L=0,B=[];L"u"?Ma:window,r=["moz","webkit"],t="AnimationFrame",i=e["request"+t],a=e["cancel"+t]||e["cancelRequest"+t],s=0;!i&&s3&&(this.alpha=o[3]),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.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var u=this.r.toString(16),l=this.g.toString(16),h=this.b.toString(16);return u.length==1&&(u="0"+u),l.length==1&&(l="0"+l),h.length==1&&(h="0"+h),"#"+u+l+h},this.getHelpXML=function(){for(var u=new Array,l=0;l "+d.toRGB()+" -> "+d.toHex());g.appendChild(p),g.appendChild(y),f.appendChild(g)}catch{}return f}}),Pa}var nf=af();const qa=Qu(nf);var Ou={},Tu;function sf(){if(Tu)return Ou;Tu=1;var n=le(),e=Br(),r=ol().indexOf,t=Cl(),i=e([].indexOf),a=!!i&&1/i([1],1,-0)<0,s=a||!t("indexOf");return n({target:"Array",proto:!0,forced:s},{indexOf:function(u){var l=arguments.length>1?arguments[1]:void 0;return a?i(this,u,l)||0:r(this,u,l)}}),Ou}sf();var Su={},Eu;function of(){if(Eu)return Su;Eu=1;var n=le(),e=re(),r=rn(),t=Re(),i=qe(),a=tn(),s=e("".indexOf);return n({target:"String",proto:!0,forced:!a("includes")},{includes:function(u){return!!~s(i(t(this)),i(r(u)),arguments.length>1?arguments[1]:void 0)}}),Su}of();var Ru={},Aa,Cu;function uf(){if(Cu)return Aa;Cu=1;var n=Ze();return Aa=Array.isArray||function(r){return n(r)==="Array"},Aa}var wu;function lf(){if(wu)return Ru;wu=1;var n=le(),e=re(),r=uf(),t=e([].reverse),i=[1,2];return n({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return r(this)&&(this.length=this.length),t(this)}}),Ru}lf();/*! ***************************************************************************** diff --git a/assets/jspdf.es.min-DYRzNW_s.js b/assets/jspdf.es.min-BNcdNBFg.js similarity index 99% rename from assets/jspdf.es.min-DYRzNW_s.js rename to assets/jspdf.es.min-BNcdNBFg.js index 10a54d4..5069f17 100644 --- a/assets/jspdf.es.min-DYRzNW_s.js +++ b/assets/jspdf.es.min-BNcdNBFg.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index.es-DBB1j9TD.js","./index-DsNtXj9M.js","./index-CPYpbGHF.css"])))=>i.map(i=>d[i]); -var Jh=Object.defineProperty;var $h=(n,e,t)=>e in n?Jh(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var xe=(n,e,t)=>$h(n,typeof e!="symbol"?e+"":e,t);import{_ as Se,z as Po,a as so}from"./index-DsNtXj9M.js";function Kh(n){if(Array.isArray(n))return n}function Xh(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var i,o,s,f,u=[],c=!0,d=!1;try{if(s=(t=t.call(n)).next,e!==0)for(;!(c=(i=s.call(t)).done)&&(u.push(i.value),u.length!==e);c=!0);}catch(m){d=!0,o=m}finally{try{if(!c&&t.return!=null&&(f=t.return(),Object(f)!==f))return}finally{if(d)throw o}}return u}}function wl(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=Array(e);ti.map(i=>d[i]); +var Jh=Object.defineProperty;var $h=(n,e,t)=>e in n?Jh(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var xe=(n,e,t)=>$h(n,typeof e!="symbol"?e+"":e,t);import{_ as Se,z as Po,a as so}from"./index-Bk_VbKFy.js";function Kh(n){if(Array.isArray(n))return n}function Xh(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var i,o,s,f,u=[],c=!0,d=!1;try{if(s=(t=t.call(n)).next,e!==0)for(;!(c=(i=s.call(t)).done)&&(u.push(i.value),u.length!==e);c=!0);}catch(m){d=!0,o=m}finally{try{if(!c&&t.return!=null&&(f=t.return(),Object(f)!==f))return}finally{if(d)throw o}}return u}}function wl(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=Array(e);t{const n=new Uint8Array(4),e=new Uint32Array(n.buffer);return!((e[0]=1)&n[0])})(),oo={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 Mo{constructor(e=nc,t={}){xe(this,"buffer");xe(this,"byteLength");xe(this,"byteOffset");xe(this,"length");xe(this,"offset");xe(this,"lastWrittenByte");xe(this,"littleEndian");xe(this,"_data");xe(this,"_mark");xe(this,"_marks");let i=!1;typeof e=="number"?e=new ArrayBuffer(e):(i=!0,this.lastWrittenByte=e.byteLength);const o=t.offset?t.offset>>>0:0,s=e.byteLength-o;let f=o;(ArrayBuffer.isView(e)||e instanceof Mo)&&(e.byteLength!==e.buffer.byteLength&&(f=e.byteOffset+o),e=e.buffer),i?this.lastWrittenByte=s:this.lastWrittenByte=0,this.buffer=e,this.length=s,this.byteLength=s,this.byteOffset=f,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,f,s),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 i=(this.offset+e)*2,o=new Uint8Array(i);o.set(new Uint8Array(this.buffer)),this.buffer=o.buffer,this.length=i,this.byteLength=i,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,t){const i=oo[t].BYTES_PER_ELEMENT*e,o=this.byteOffset+this.offset,s=this.buffer.slice(o,o+i);if(this.littleEndian===rc&&t!=="uint8"&&t!=="int8"){const u=new Uint8Array(this.buffer.slice(o,o+i));u.reverse();const c=new oo[t](u.buffer);return this.offset+=i,c.reverse(),c}const f=new oo[t](s);return this.offset+=i,f}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 t="";for(let i=0;ithis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}function Zi(n){let e=n.length;for(;--e>=0;)n[e]=0}const ic=3,ac=258,ku=29,sc=256,oc=sc+1+ku,Pu=30,lc=512,uc=new Array((oc+2)*2);Zi(uc);const hc=new Array(Pu*2);Zi(hc);const cc=new Array(lc);Zi(cc);const fc=new Array(ac-ic+1);Zi(fc);const dc=new Array(ku);Zi(dc);const pc=new Array(Pu);Zi(pc);const gc=(n,e,t,i)=>{let o=n&65535|0,s=n>>>16&65535|0,f=0;for(;t!==0;){f=t>2e3?2e3:t,t-=f;do o=o+e[i++]|0,s=s+o|0;while(--f);o%=65521,s%=65521}return o|s<<16|0};var Io=gc;const mc=()=>{let n,e=[];for(var t=0;t<256;t++){n=t;for(var i=0;i<8;i++)n=n&1?3988292384^n>>>1:n>>>1;e[t]=n}return e},vc=new Uint32Array(mc()),bc=(n,e,t,i)=>{const o=vc,s=i+t;n^=-1;for(let f=i;f>>8^o[(n^e[f])&255];return n^-1};var hr=bc,Co={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"},Iu={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 wc=(n,e)=>Object.prototype.hasOwnProperty.call(n,e);var yc=function(n){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const t=e.shift();if(t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(const i in t)wc(t,i)&&(n[i]=t[i])}}return n},xc=n=>{let e=0;for(let i=0,o=n.length;i=252?6:n>=248?5:n>=240?4:n>=224?3:n>=192?2:1;Aa[254]=Aa[254]=1;var _c=n=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(n);let e,t,i,o,s,f=n.length,u=0;for(o=0;o>>6,e[s++]=128|t&63):t<65536?(e[s++]=224|t>>>12,e[s++]=128|t>>>6&63,e[s++]=128|t&63):(e[s++]=240|t>>>18,e[s++]=128|t>>>12&63,e[s++]=128|t>>>6&63,e[s++]=128|t&63);return e};const Ac=(n,e)=>{if(e<65534&&n.subarray&&Fu)return String.fromCharCode.apply(null,n.length===e?n:n.subarray(0,e));let t="";for(let i=0;i{const t=e||n.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(n.subarray(0,e));let i,o;const s=new Array(t*2);for(o=0,i=0;i4){s[o++]=65533,i+=u-1;continue}for(f&=u===2?31:u===3?15:7;u>1&&i1){s[o++]=65533;continue}f<65536?s[o++]=f:(f-=65536,s[o++]=55296|f>>10&1023,s[o++]=56320|f&1023)}return Ac(s,o)},Lc=(n,e)=>{e=e||n.length,e>n.length&&(e=n.length);let t=e-1;for(;t>=0&&(n[t]&192)===128;)t--;return t<0||t===0?e:t+Aa[n[t]]>e?t:e},Fo={string2buf:_c,buf2string:Nc,utf8border:Lc};function Sc(){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 kc=Sc;const ss=16209,Pc=16191;var Ic=function(e,t){let i,o,s,f,u,c,d,m,A,P,p,B,O,M,S,Y,J,D,lt,yt,mt,tt,z,et;const N=e.state;i=e.next_in,z=e.input,o=i+(e.avail_in-5),s=e.next_out,et=e.output,f=s-(t-e.avail_out),u=s+(e.avail_out-257),c=N.dmax,d=N.wsize,m=N.whave,A=N.wnext,P=N.window,p=N.hold,B=N.bits,O=N.lencode,M=N.distcode,S=(1<>>24,p>>>=D,B-=D,D=J>>>16&255,D===0)et[s++]=J&65535;else if(D&16){lt=J&65535,D&=15,D&&(B>>=D,B-=D),B<15&&(p+=z[i++]<>>24,p>>>=D,B-=D,D=J>>>16&255,D&16){if(yt=J&65535,D&=15,Bc){e.msg="invalid distance too far back",N.mode=ss;break t}if(p>>>=D,B-=D,D=s-f,yt>D){if(D=yt-D,D>m&&N.sane){e.msg="invalid distance too far back",N.mode=ss;break t}if(mt=0,tt=P,A===0){if(mt+=d-D,D2;)et[s++]=tt[mt++],et[s++]=tt[mt++],et[s++]=tt[mt++],lt-=3;lt&&(et[s++]=tt[mt++],lt>1&&(et[s++]=tt[mt++]))}else{mt=s-yt;do et[s++]=et[mt++],et[s++]=et[mt++],et[s++]=et[mt++],lt-=3;while(lt>2);lt&&(et[s++]=et[mt++],lt>1&&(et[s++]=et[mt++]))}}else if((D&64)===0){J=M[(J&65535)+(p&(1<>3,i-=lt,B-=lt<<3,p&=(1<{const c=u.bits;let d=0,m=0,A=0,P=0,p=0,B=0,O=0,M=0,S=0,Y=0,J,D,lt,yt,mt,tt=null,z;const et=new Uint16Array(zi+1),N=new Uint16Array(zi+1);let E=null,q,U,rt;for(d=0;d<=zi;d++)et[d]=0;for(m=0;m=1&&et[P]===0;P--);if(p>P&&(p=P),P===0)return o[s++]=1<<24|64<<16|0,o[s++]=1<<24|64<<16|0,u.bits=1,0;for(A=1;A0&&(n===Nl||P!==1))return-1;for(N[1]=0,d=1;d_l||n===Ll&&S>Al)return 1;for(;;){q=d-O,f[m]+1=z?(U=E[f[m]-z],rt=tt[f[m]-z]):(U=96,rt=0),J=1<>O)+D]=q<<24|U<<16|rt|0;while(D!==0);for(J=1<>=1;if(J!==0?(Y&=J-1,Y+=J):Y=0,m++,--et[d]===0){if(d===P)break;d=e[t+f[m]]}if(d>p&&(Y&yt)!==lt){for(O===0&&(O=p),mt+=A,B=d-O,M=1<_l||n===Ll&&S>Al)return 1;lt=Y&yt,o[lt]=p<<24|B<<16|mt-s|0}}return Y!==0&&(o[mt+Y]=d-O<<24|64<<16|0),u.bits=p,0};var _a=jc;const Bc=0,Eu=1,Ou=2,{Z_FINISH:Sl,Z_BLOCK:Mc,Z_TREES:os,Z_OK:mi,Z_STREAM_END:Rc,Z_NEED_DICT:Tc,Z_STREAM_ERROR:Hn,Z_DATA_ERROR:ju,Z_MEM_ERROR:Bu,Z_BUF_ERROR:Dc,Z_DEFLATED:kl}=Iu,As=16180,Pl=16181,Il=16182,Cl=16183,Fl=16184,El=16185,Ol=16186,jl=16187,Bl=16188,Ml=16189,ys=16190,Pr=16191,uo=16192,Rl=16193,ho=16194,Tl=16195,Dl=16196,ql=16197,Ul=16198,ls=16199,us=16200,zl=16201,Hl=16202,Wl=16203,Vl=16204,Gl=16205,co=16206,Yl=16207,Jl=16208,Be=16209,Mu=16210,Ru=16211,qc=852,Uc=592,zc=15,Hc=zc,$l=n=>(n>>>24&255)+(n>>>8&65280)+((n&65280)<<8)+((n&255)<<24);function Wc(){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 bi=n=>{if(!n)return 1;const e=n.state;return!e||e.strm!==n||e.modeRu?1:0},Tu=n=>{if(bi(n))return Hn;const e=n.state;return n.total_in=n.total_out=e.total=0,n.msg="",e.wrap&&(n.adler=e.wrap&1),e.mode=As,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(qc),e.distcode=e.distdyn=new Int32Array(Uc),e.sane=1,e.back=-1,mi},Du=n=>{if(bi(n))return Hn;const e=n.state;return e.wsize=0,e.whave=0,e.wnext=0,Tu(n)},qu=(n,e)=>{let t;if(bi(n))return Hn;const i=n.state;return e<0?(t=0,e=-e):(t=(e>>4)+5,e<48&&(e&=15)),e&&(e<8||e>15)?Hn:(i.window!==null&&i.wbits!==e&&(i.window=null),i.wrap=t,i.wbits=e,Du(n))},Uu=(n,e)=>{if(!n)return Hn;const t=new Wc;n.state=t,t.strm=n,t.window=null,t.mode=As;const i=qu(n,e);return i!==mi&&(n.state=null),i},Vc=n=>Uu(n,Hc);let Kl=!0,fo,po;const Gc=n=>{if(Kl){fo=new Int32Array(512),po=new Int32Array(32);let e=0;for(;e<144;)n.lens[e++]=8;for(;e<256;)n.lens[e++]=9;for(;e<280;)n.lens[e++]=7;for(;e<288;)n.lens[e++]=8;for(_a(Eu,n.lens,0,288,fo,0,n.work,{bits:9}),e=0;e<32;)n.lens[e++]=5;_a(Ou,n.lens,0,32,po,0,n.work,{bits:5}),Kl=!1}n.lencode=fo,n.lenbits=9,n.distcode=po,n.distbits=5},zu=(n,e,t,i)=>{let o;const s=n.state;return s.window===null&&(s.wsize=1<=s.wsize?(s.window.set(e.subarray(t-s.wsize,t),0),s.wnext=0,s.whave=s.wsize):(o=s.wsize-s.wnext,o>i&&(o=i),s.window.set(e.subarray(t-i,t-i+o),s.wnext),i-=o,i?(s.window.set(e.subarray(t-i,t),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave{let t,i,o,s,f,u,c,d,m,A,P,p,B,O,M=0,S,Y,J,D,lt,yt,mt,tt;const z=new Uint8Array(4);let et,N;const E=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(bi(n)||!n.output||!n.input&&n.avail_in!==0)return Hn;t=n.state,t.mode===Pr&&(t.mode=uo),f=n.next_out,o=n.output,c=n.avail_out,s=n.next_in,i=n.input,u=n.avail_in,d=t.hold,m=t.bits,A=u,P=c,tt=mi;t:for(;;)switch(t.mode){case As:if(t.wrap===0){t.mode=uo;break}for(;m<16;){if(u===0)break t;u--,d+=i[s++]<>>8&255,t.check=hr(t.check,z,2,0),d=0,m=0,t.mode=Pl;break}if(t.head&&(t.head.done=!1),!(t.wrap&1)||(((d&255)<<8)+(d>>8))%31){n.msg="incorrect header check",t.mode=Be;break}if((d&15)!==kl){n.msg="unknown compression method",t.mode=Be;break}if(d>>>=4,m-=4,mt=(d&15)+8,t.wbits===0&&(t.wbits=mt),mt>15||mt>t.wbits){n.msg="invalid window size",t.mode=Be;break}t.dmax=1<>8&1),t.flags&512&&t.wrap&4&&(z[0]=d&255,z[1]=d>>>8&255,t.check=hr(t.check,z,2,0)),d=0,m=0,t.mode=Il;case Il:for(;m<32;){if(u===0)break t;u--,d+=i[s++]<>>8&255,z[2]=d>>>16&255,z[3]=d>>>24&255,t.check=hr(t.check,z,4,0)),d=0,m=0,t.mode=Cl;case Cl:for(;m<16;){if(u===0)break t;u--,d+=i[s++]<>8),t.flags&512&&t.wrap&4&&(z[0]=d&255,z[1]=d>>>8&255,t.check=hr(t.check,z,2,0)),d=0,m=0,t.mode=Fl;case Fl:if(t.flags&1024){for(;m<16;){if(u===0)break t;u--,d+=i[s++]<>>8&255,t.check=hr(t.check,z,2,0)),d=0,m=0}else t.head&&(t.head.extra=null);t.mode=El;case El:if(t.flags&1024&&(p=t.length,p>u&&(p=u),p&&(t.head&&(mt=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Uint8Array(t.head.extra_len)),t.head.extra.set(i.subarray(s,s+p),mt)),t.flags&512&&t.wrap&4&&(t.check=hr(t.check,i,p,s)),u-=p,s+=p,t.length-=p),t.length))break t;t.length=0,t.mode=Ol;case Ol:if(t.flags&2048){if(u===0)break t;p=0;do mt=i[s+p++],t.head&&mt&&t.length<65536&&(t.head.name+=String.fromCharCode(mt));while(mt&&p>9&1,t.head.done=!0),n.adler=t.check=0,t.mode=Pr;break;case Ml:for(;m<32;){if(u===0)break t;u--,d+=i[s++]<>>=m&7,m-=m&7,t.mode=co;break}for(;m<3;){if(u===0)break t;u--,d+=i[s++]<>>=1,m-=1,d&3){case 0:t.mode=Rl;break;case 1:if(Gc(t),t.mode=ls,e===os){d>>>=2,m-=2;break t}break;case 2:t.mode=Dl;break;case 3:n.msg="invalid block type",t.mode=Be}d>>>=2,m-=2;break;case Rl:for(d>>>=m&7,m-=m&7;m<32;){if(u===0)break t;u--,d+=i[s++]<>>16^65535)){n.msg="invalid stored block lengths",t.mode=Be;break}if(t.length=d&65535,d=0,m=0,t.mode=ho,e===os)break t;case ho:t.mode=Tl;case Tl:if(p=t.length,p){if(p>u&&(p=u),p>c&&(p=c),p===0)break t;o.set(i.subarray(s,s+p),f),u-=p,s+=p,c-=p,f+=p,t.length-=p;break}t.mode=Pr;break;case Dl:for(;m<14;){if(u===0)break t;u--,d+=i[s++]<>>=5,m-=5,t.ndist=(d&31)+1,d>>>=5,m-=5,t.ncode=(d&15)+4,d>>>=4,m-=4,t.nlen>286||t.ndist>30){n.msg="too many length or distance symbols",t.mode=Be;break}t.have=0,t.mode=ql;case ql:for(;t.have>>=3,m-=3}for(;t.have<19;)t.lens[E[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,et={bits:t.lenbits},tt=_a(Bc,t.lens,0,19,t.lencode,0,t.work,et),t.lenbits=et.bits,tt){n.msg="invalid code lengths set",t.mode=Be;break}t.have=0,t.mode=Ul;case Ul:for(;t.have>>24,Y=M>>>16&255,J=M&65535,!(S<=m);){if(u===0)break t;u--,d+=i[s++]<>>=S,m-=S,t.lens[t.have++]=J;else{if(J===16){for(N=S+2;m>>=S,m-=S,t.have===0){n.msg="invalid bit length repeat",t.mode=Be;break}mt=t.lens[t.have-1],p=3+(d&3),d>>>=2,m-=2}else if(J===17){for(N=S+3;m>>=S,m-=S,mt=0,p=3+(d&7),d>>>=3,m-=3}else{for(N=S+7;m>>=S,m-=S,mt=0,p=11+(d&127),d>>>=7,m-=7}if(t.have+p>t.nlen+t.ndist){n.msg="invalid bit length repeat",t.mode=Be;break}for(;p--;)t.lens[t.have++]=mt}}if(t.mode===Be)break;if(t.lens[256]===0){n.msg="invalid code -- missing end-of-block",t.mode=Be;break}if(t.lenbits=9,et={bits:t.lenbits},tt=_a(Eu,t.lens,0,t.nlen,t.lencode,0,t.work,et),t.lenbits=et.bits,tt){n.msg="invalid literal/lengths set",t.mode=Be;break}if(t.distbits=6,t.distcode=t.distdyn,et={bits:t.distbits},tt=_a(Ou,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,et),t.distbits=et.bits,tt){n.msg="invalid distances set",t.mode=Be;break}if(t.mode=ls,e===os)break t;case ls:t.mode=us;case us:if(u>=6&&c>=258){n.next_out=f,n.avail_out=c,n.next_in=s,n.avail_in=u,t.hold=d,t.bits=m,Ic(n,P),f=n.next_out,o=n.output,c=n.avail_out,s=n.next_in,i=n.input,u=n.avail_in,d=t.hold,m=t.bits,t.mode===Pr&&(t.back=-1);break}for(t.back=0;M=t.lencode[d&(1<>>24,Y=M>>>16&255,J=M&65535,!(S<=m);){if(u===0)break t;u--,d+=i[s++]<>D)],S=M>>>24,Y=M>>>16&255,J=M&65535,!(D+S<=m);){if(u===0)break t;u--,d+=i[s++]<>>=D,m-=D,t.back+=D}if(d>>>=S,m-=S,t.back+=S,t.length=J,Y===0){t.mode=Gl;break}if(Y&32){t.back=-1,t.mode=Pr;break}if(Y&64){n.msg="invalid literal/length code",t.mode=Be;break}t.extra=Y&15,t.mode=zl;case zl:if(t.extra){for(N=t.extra;m>>=t.extra,m-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=Hl;case Hl:for(;M=t.distcode[d&(1<>>24,Y=M>>>16&255,J=M&65535,!(S<=m);){if(u===0)break t;u--,d+=i[s++]<>D)],S=M>>>24,Y=M>>>16&255,J=M&65535,!(D+S<=m);){if(u===0)break t;u--,d+=i[s++]<>>=D,m-=D,t.back+=D}if(d>>>=S,m-=S,t.back+=S,Y&64){n.msg="invalid distance code",t.mode=Be;break}t.offset=J,t.extra=Y&15,t.mode=Wl;case Wl:if(t.extra){for(N=t.extra;m>>=t.extra,m-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){n.msg="invalid distance too far back",t.mode=Be;break}t.mode=Vl;case Vl:if(c===0)break t;if(p=P-c,t.offset>p){if(p=t.offset-p,p>t.whave&&t.sane){n.msg="invalid distance too far back",t.mode=Be;break}p>t.wnext?(p-=t.wnext,B=t.wsize-p):B=t.wnext-p,p>t.length&&(p=t.length),O=t.window}else O=o,B=f-t.offset,p=t.length;p>c&&(p=c),c-=p,t.length-=p;do o[f++]=O[B++];while(--p);t.length===0&&(t.mode=us);break;case Gl:if(c===0)break t;o[f++]=t.length,c--,t.mode=us;break;case co:if(t.wrap){for(;m<32;){if(u===0)break t;u--,d|=i[s++]<{if(bi(n))return Hn;let e=n.state;return e.window&&(e.window=null),n.state=null,mi},$c=(n,e)=>{if(bi(n))return Hn;const t=n.state;return(t.wrap&2)===0?Hn:(t.head=e,e.done=!1,mi)},Kc=(n,e)=>{const t=e.length;let i,o,s;return bi(n)||(i=n.state,i.wrap!==0&&i.mode!==ys)?Hn:i.mode===ys&&(o=1,o=Io(o,e,t,0),o!==i.check)?ju:(s=zu(n,e,t,t),s?(i.mode=Mu,Bu):(i.havedict=1,mi))};var Xc=Du,Zc=qu,Qc=Tu,tf=Vc,ef=Uu,nf=Yc,rf=Jc,af=$c,sf=Kc,of="pako inflate (from Nodeca project)",Ir={inflateReset:Xc,inflateReset2:Zc,inflateResetKeep:Qc,inflateInit:tf,inflateInit2:ef,inflate:nf,inflateEnd:rf,inflateGetHeader:af,inflateSetDictionary:sf,inflateInfo:of};function lf(){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 uf=lf;const Hu=Object.prototype.toString,{Z_NO_FLUSH:hf,Z_FINISH:cf,Z_OK:Na,Z_STREAM_END:go,Z_NEED_DICT:mo,Z_STREAM_ERROR:ff,Z_DATA_ERROR:Xl,Z_MEM_ERROR:df}=Iu;function La(n){this.options=Cu.assign({chunkSize:1024*64,windowBits:15,to:""},n||{});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&&!(n&&n.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 kc,this.strm.avail_out=0;let t=Ir.inflateInit2(this.strm,e.windowBits);if(t!==Na)throw new Error(Co[t]);if(this.header=new uf,Ir.inflateGetHeader(this.strm,this.header),e.dictionary&&(typeof e.dictionary=="string"?e.dictionary=Fo.string2buf(e.dictionary):Hu.call(e.dictionary)==="[object ArrayBuffer]"&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(t=Ir.inflateSetDictionary(this.strm,e.dictionary),t!==Na)))throw new Error(Co[t])}La.prototype.push=function(n,e){const t=this.strm,i=this.options.chunkSize,o=this.options.dictionary;let s,f,u;if(this.ended)return!1;for(e===~~e?f=e:f=e===!0?cf:hf,Hu.call(n)==="[object ArrayBuffer]"?t.input=new Uint8Array(n):t.input=n,t.next_in=0,t.avail_in=t.input.length;;){for(t.avail_out===0&&(t.output=new Uint8Array(i),t.next_out=0,t.avail_out=i),s=Ir.inflate(t,f),s===mo&&o&&(s=Ir.inflateSetDictionary(t,o),s===Na?s=Ir.inflate(t,f):s===Xl&&(s=mo));t.avail_in>0&&s===go&&t.state.wrap>0&&n[t.next_in]!==0;)Ir.inflateReset(t),s=Ir.inflate(t,f);switch(s){case ff:case Xl:case mo:case df:return this.onEnd(s),this.ended=!0,!1}if(u=t.avail_out,t.next_out&&(t.avail_out===0||s===go))if(this.options.to==="string"){let c=Fo.utf8border(t.output,t.next_out),d=t.next_out-c,m=Fo.buf2string(t.output,c);t.next_out=d,t.avail_out=i-d,d&&t.output.set(t.output.subarray(c,c+d),0),this.onData(m)}else this.onData(t.output.length===t.next_out?t.output:t.output.subarray(0,t.next_out));if(!(s===Na&&u===0)){if(s===go)return s=Ir.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(t.avail_in===0)break}}return!0};La.prototype.onData=function(n){this.chunks.push(n)};La.prototype.onEnd=function(n){n===Na&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Cu.flattenChunks(this.chunks)),this.chunks=[],this.err=n,this.msg=this.strm.msg};function pf(n,e){const t=new La(e);if(t.push(n),t.err)throw t.msg||Co[t.err];return t.result}var gf=La,mf=pf,vf={Inflate:gf,inflate:mf};const{Inflate:bf,inflate:wf}=vf;var Zl=bf,yf=wf;const Wu=[];for(let n=0;n<256;n++){let e=n;for(let t=0;t<8;t++)e&1?e=3988292384^e>>>1:e=e>>>1;Wu[n]=e}const Ql=4294967295;function xf(n,e,t){let i=n;for(let o=0;o>>8;return i}function _f(n,e){return(xf(Ql,n,e)^Ql)>>>0}function tu(n,e,t){const i=n.readUint32(),o=_f(new Uint8Array(n.buffer,n.byteOffset+n.offset-e-4,e),e);if(o!==i)throw new Error(`CRC mismatch for chunk ${t}. Expected ${i}, found ${o}`)}function Vu(n,e,t){for(let i=0;i>1)&255}else{for(;s>1)&255;for(;s>1)&255}}function $u(n,e,t,i,o){let s=0;if(t.length===0){for(;s=t||yt>=i))for(let mt=0;mt>8&255}const Cf=new Uint16Array([255]),Ff=new Uint8Array(Cf.buffer),Ef=Ff[0]===255,Of=new Uint8Array(0);function eu(n){const{data:e,width:t,height:i,channels:o,depth:s}=n,f=Math.ceil(s/8)*o,u=Math.ceil(s/8*o*t),c=new Uint8Array(i*u);let d=Of,m=0,A,P;for(let p=0;p>8&255}const ps=Uint8Array.of(137,80,78,71,13,10,26,10);function nu(n){if(!Bf(n.readBytes(ps.length)))throw new Error("wrong PNG signature")}function Bf(n){if(n.length79)throw new Error("keyword length must be between 1 and 79")}const Df=/^[\u0000-\u00FF]*$/;function qf(n){if(!Df.test(n))throw new Error("invalid latin1 text")}function Uf(n,e,t){const i=Xu(e);n[i]=zf(e,t-i.length-1)}function Xu(n){for(n.mark();n.readByte()!==Rf;);const e=n.offset;n.reset();const t=Ku.decode(n.readBytes(e-n.offset-1));return n.skip(1),Tf(t),t}function zf(n,e){return Ku.decode(n.readBytes(e))}const Bn={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},vo={UNKNOWN:-1,DEFLATE:0},ru={UNKNOWN:-1,ADAPTIVE:0},bo={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},hs={NONE:0,BACKGROUND:1,PREVIOUS:2},wo={SOURCE:0,OVER:1};class Hf extends Mo{constructor(t,i={}){super(t);xe(this,"_checkCrc");xe(this,"_inflator");xe(this,"_png");xe(this,"_apng");xe(this,"_end");xe(this,"_hasPalette");xe(this,"_palette");xe(this,"_hasTransparency");xe(this,"_transparency");xe(this,"_compressionMethod");xe(this,"_filterMethod");xe(this,"_interlaceMethod");xe(this,"_colorType");xe(this,"_isAnimated");xe(this,"_numberOfFrames");xe(this,"_numberOfPlays");xe(this,"_frames");xe(this,"_writingDataChunks");const{checkCrc:o=!1}=i;this._checkCrc=o,this._inflator=new Zl,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=vo.UNKNOWN,this._filterMethod=ru.UNKNOWN,this._interlaceMethod=bo.UNKNOWN,this._colorType=Bn.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(nu(this);!this._end;){const t=this.readUint32(),i=this.readChars(4);this.decodeChunk(t,i)}return this.decodeImage(),this._png}decodeApng(){for(nu(this);!this._end;){const t=this.readUint32(),i=this.readChars(4);this.decodeApngChunk(t,i)}return this.decodeApngImage(),this._apng}decodeChunk(t,i){const o=this.offset;switch(i){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(t);break;case"IDAT":this.decodeIDAT(t);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(t);break;case"iCCP":this.decodeiCCP(t);break;case Mf:Uf(this._png.text,this,t);break;case"pHYs":this.decodepHYs();break;default:this.skip(t);break}if(this.offset-o!==t)throw new Error(`Length mismatch while decoding chunk ${i}`);this._checkCrc?tu(this,t+4,i):this.skip(4)}decodeApngChunk(t,i){const o=this.offset;switch(i!=="fdAT"&&i!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),i){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(t);break;default:this.decodeChunk(t,i),this.offset=o+t;break}if(this.offset-o!==t)throw new Error(`Length mismatch while decoding chunk ${i}`);this._checkCrc?tu(this,t+4,i):this.skip(4)}decodeIHDR(){const t=this._png;t.width=this.readUint32(),t.height=this.readUint32(),t.depth=Wf(this.readUint8());const i=this.readUint8();this._colorType=i;let o;switch(i){case Bn.GREYSCALE:o=1;break;case Bn.TRUECOLOUR:o=3;break;case Bn.INDEXED_COLOUR:o=1;break;case Bn.GREYSCALE_ALPHA:o=2;break;case Bn.TRUECOLOUR_ALPHA:o=4;break;case Bn.UNKNOWN:default:throw new Error(`Unknown color type: ${i}`)}if(this._png.channels=o,this._compressionMethod=this.readUint8(),this._compressionMethod!==vo.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 t={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(t)}decodePLTE(t){if(t%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${t}`);const i=t/3;this._hasPalette=!0;const o=[];this._palette=o;for(let s=0;sthis._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${t/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(t/2);for(let i=0;ithis._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${t} vs ${this._palette.length})`);let i=0;for(;i{const c=((f+i.yOffset)*this._png.width+i.xOffset+u)*this._png.channels,d=(f*i.width+u)*this._png.channels;return{index:c,frameIndex:d}};switch(i.blendOp){case wo.SOURCE:for(let f=0;f=200&&e.status<=299}function cs(n){try{n.dispatchEvent(new MouseEvent("click"))}catch{var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),n.dispatchEvent(e)}}var di=$t.saveAs||((typeof window>"u"?"undefined":Se(window))!=="object"||window!==$t?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(n,e,t){var i=$t.URL||$t.webkitURL,o=document.createElement("a");e=e||n.name||"download",o.download=e,o.rel="noopener",typeof n=="string"?(o.href=n,o.origin!==location.origin?au(o.href)?xo(n,e,t):cs(o,o.target="_blank"):cs(o)):(o.href=i.createObjectURL(n),setTimeout(function(){i.revokeObjectURL(o.href)},4e4),setTimeout(function(){cs(o)},0))}:"msSaveOrOpenBlob"in navigator?function(n,e,t){if(e=e||n.name||"download",typeof n=="string")if(au(n))xo(n,e,t);else{var i=document.createElement("a");i.href=n,i.target="_blank",setTimeout(function(){cs(i)})}else navigator.msSaveOrOpenBlob(function(o,s){return s===void 0?s={autoBom:!1}:Se(s)!=="object"&&(Le.warn("Deprecated: Expected third argument to be a object"),s={autoBom:!s}),s.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(o.type)?new Blob(["\uFEFF",o],{type:o.type}):o}(n,t),e)}:function(n,e,t,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),typeof n=="string")return xo(n,e,t);var o=n.type==="application/octet-stream",s=/constructor/i.test($t.HTMLElement)||$t.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent);if((f||o&&s)&&(typeof FileReader>"u"?"undefined":Se(FileReader))==="object"){var u=new FileReader;u.onloadend=function(){var m=u.result;m=f?m:m.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=m:location=m,i=null},u.readAsDataURL(n)}else{var c=$t.URL||$t.webkitURL,d=c.createObjectURL(n);i?i.location=d:location.href=d,i=null,setTimeout(function(){c.revokeObjectURL(d)},4e4)}});/** * A class to parse color values * @author Stoyan Stefanov @@ -130,7 +130,7 @@ T* `):l.join(` Tj * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * ==================================================================== - */function d1(){var n,e=this.internal.__metadata__.metadata,t=unescape(encodeURIComponent(e));n=this.internal.__metadata__.rawXml?t:''+t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")+"",this.internal.__metadata__.metadataObjectNumber=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+n.length+" >>"),this.internal.write("stream"),this.internal.write(n),this.internal.write("endstream"),this.internal.write("endobj")}function p1(){this.internal.__metadata__.metadataObjectNumber&&this.internal.write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}(function(n){var e,t,i,o,s,f,u,c,d,m=function(x){return x=x||{},this.isStrokeTransparent=x.isStrokeTransparent||!1,this.strokeOpacity=x.strokeOpacity||1,this.strokeStyle=x.strokeStyle||"#000000",this.fillStyle=x.fillStyle||"#000000",this.isFillTransparent=x.isFillTransparent||!1,this.fillOpacity=x.fillOpacity||1,this.font=x.font||"10px sans-serif",this.textBaseline=x.textBaseline||"alphabetic",this.textAlign=x.textAlign||"left",this.lineWidth=x.lineWidth||1,this.lineJoin=x.lineJoin||"miter",this.lineCap=x.lineCap||"butt",this.path=x.path||[],this.transform=x.transform!==void 0?x.transform.clone():new c,this.globalCompositeOperation=x.globalCompositeOperation||"normal",this.globalAlpha=x.globalAlpha||1,this.clip_path=x.clip_path||[],this.currentPoint=x.currentPoint||new f,this.miterLimit=x.miterLimit||10,this.lastPoint=x.lastPoint||new f,this.lineDashOffset=x.lineDashOffset||0,this.lineDash=x.lineDash||[],this.margin=x.margin||[0,0,0,0],this.prevPageLastElemOffset=x.prevPageLastElemOffset||0,this.ignoreClearRect=typeof x.ignoreClearRect!="boolean"||x.ignoreClearRect,this};n.events.push(["initialized",function(){this.context2d=new A(this),e=this.internal.f2,t=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,o=this.internal.getHorizontalCoordinate,s=this.internal.getVerticalCoordinate,f=this.internal.Point,u=this.internal.Rectangle,c=this.internal.Matrix,d=new m}]);var A=function(x){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var j=x;Object.defineProperty(this,"pdf",{get:function(){return j}});var R=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return R},set:function(k){R=!!k}});var V=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return V},set:function(k){V=!!k}});var $=0;Object.defineProperty(this,"posX",{get:function(){return $},set:function(k){isNaN(k)||($=k)}});var Q=0;Object.defineProperty(this,"posY",{get:function(){return Q},set:function(k){isNaN(k)||(Q=k)}}),Object.defineProperty(this,"margin",{get:function(){return d.margin},set:function(k){var Lt;typeof k=="number"?Lt=[k,k,k,k]:((Lt=new Array(4))[0]=k[0],Lt[1]=k.length>=2?k[1]:Lt[0],Lt[2]=k.length>=3?k[2]:Lt[0],Lt[3]=k.length>=4?k[3]:Lt[1]),d.margin=Lt}});var it=!1;Object.defineProperty(this,"autoPaging",{get:function(){return it},set:function(k){it=k}});var at=0;Object.defineProperty(this,"lastBreak",{get:function(){return at},set:function(k){at=k}});var dt=[];Object.defineProperty(this,"pageBreaks",{get:function(){return dt},set:function(k){dt=k}}),Object.defineProperty(this,"ctx",{get:function(){return d},set:function(k){k instanceof m&&(d=k)}}),Object.defineProperty(this,"path",{get:function(){return d.path},set:function(k){d.path=k}});var _t=[];Object.defineProperty(this,"ctxStack",{get:function(){return _t},set:function(k){_t=k}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(k){var Lt;Lt=P(k),this.ctx.fillStyle=Lt.style,this.ctx.isFillTransparent=Lt.a===0,this.ctx.fillOpacity=Lt.a,this.pdf.setFillColor(Lt.r,Lt.g,Lt.b,{a:Lt.a}),this.pdf.setTextColor(Lt.r,Lt.g,Lt.b,{a:Lt.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(k){var Lt=P(k);this.ctx.strokeStyle=Lt.style,this.ctx.isStrokeTransparent=Lt.a===0,this.ctx.strokeOpacity=Lt.a,Lt.a===0?this.pdf.setDrawColor(255,255,255):(Lt.a,this.pdf.setDrawColor(Lt.r,Lt.g,Lt.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(k){["butt","round","square"].indexOf(k)!==-1&&(this.ctx.lineCap=k,this.pdf.setLineCap(k))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(k){isNaN(k)||(this.ctx.lineWidth=k,this.pdf.setLineWidth(k))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(k){["bevel","round","miter"].indexOf(k)!==-1&&(this.ctx.lineJoin=k,this.pdf.setLineJoin(k))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(k){isNaN(k)||(this.ctx.miterLimit=k,this.pdf.setMiterLimit(k))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(k){this.ctx.textBaseline=k}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(k){["right","end","center","left","start"].indexOf(k)!==-1&&(this.ctx.textAlign=k)}});var St=null,kt=null,zt=null;Object.defineProperty(this,"fontFaces",{get:function(){return zt},set:function(k){St=null,kt=null,zt=k}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(k){var Lt;if(this.ctx.font=k,(Lt=/^\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(k))!==null){var ae=Lt[1];Lt[2];var Ht=Lt[3],bt=Lt[4];Lt[5];var Wt=Lt[6],It=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(bt)[2];bt=Math.floor(It==="px"?parseFloat(bt)*this.pdf.internal.scaleFactor:It==="em"?parseFloat(bt)*this.pdf.getFontSize():parseFloat(bt)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(bt);var Ut=function(Rt){var ze,ge,se=[],oe=Rt.trim();if(oe==="")return Lo;if(oe in fu)return[fu[oe]];for(;oe!=="";){switch(ge=null,ze=(oe=pu(oe)).charAt(0)){case'"':case"'":ge=o1(oe.substring(1),ze);break;default:ge=l1(oe)}if(ge===null||(se.push(ge[0]),(oe=pu(ge[1]))!==""&&oe.charAt(0)!==","))return Lo;oe=oe.replace(/^,/,"")}return se}(Wt);if(this.fontFaces){var Dt=function(Rt,ze){var ge=Rt.getFontList(),se=JSON.stringify(ge);if(St===null||kt!==se){var oe=function(Oe){var qt=[];return Object.keys(Oe).forEach(function(ke){Oe[ke].forEach(function(Yt){var Qt=null;switch(Yt){case"bold":Qt={family:ke,weight:"bold"};break;case"italic":Qt={family:ke,style:"italic"};break;case"bolditalic":Qt={family:ke,weight:"bold",style:"italic"};break;case"":case"normal":Qt={family:ke}}Qt!==null&&(Qt.ref={name:ke,style:Yt},qt.push(Qt))})}),qt}(ge);St=function(Oe){for(var qt={},ke=0;ke=700||ae==="bold")&&(Zt="bold"),ae==="italic"&&(Zt+="italic"),Zt.length===0&&(Zt="normal");for(var ce="",he={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"},Bt=0;Bt=2*Math.PI&&(V=0,$=2*Math.PI),this.path.push({type:"arc",x,y:j,radius:R,startAngle:V,endAngle:$,counterclockwise:Q})},A.prototype.arcTo=function(x,j,R,V,$){throw new Error("arcTo not implemented.")},A.prototype.rect=function(x,j,R,V){if(isNaN(x)||isNaN(j)||isNaN(R)||isNaN(V))throw Le.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(x,j),this.lineTo(x+R,j),this.lineTo(x+R,j+V),this.lineTo(x,j+V),this.lineTo(x,j),this.lineTo(x+R,j),this.lineTo(x,j)},A.prototype.fillRect=function(x,j,R,V){if(isNaN(x)||isNaN(j)||isNaN(R)||isNaN(V))throw Le.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var $={};this.lineCap!=="butt"&&($.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&($.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(x,j,R,V),this.fill(),$.hasOwnProperty("lineCap")&&(this.lineCap=$.lineCap),$.hasOwnProperty("lineJoin")&&(this.lineJoin=$.lineJoin)}},A.prototype.strokeRect=function(x,j,R,V){if(isNaN(x)||isNaN(j)||isNaN(R)||isNaN(V))throw Le.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");B.call(this)||(this.beginPath(),this.rect(x,j,R,V),this.stroke())},A.prototype.clearRect=function(x,j,R,V){if(isNaN(x)||isNaN(j)||isNaN(R)||isNaN(V))throw Le.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(x,j,R,V))},A.prototype.save=function(x){x=typeof x!="boolean"||x;for(var j=this.pdf.internal.getCurrentPageInfo().pageNumber,R=0;R0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};A.prototype.drawImage=function(x,j,R,V,$,Q,it,at,dt){var _t=this.pdf.getImageProperties(x),St=1,kt=1,zt=1,k=1;V!==void 0&&at!==void 0&&(zt=at/V,k=dt/$,St=_t.width/V*at/V,kt=_t.height/$*dt/$),Q===void 0&&(Q=j,it=R,j=0,R=0),V!==void 0&&at===void 0&&(at=V,dt=$),V===void 0&&at===void 0&&(at=_t.width,dt=_t.height);var Lt=this.ctx.transform.decompose(),ae=nt(Lt.rotate.shx),Ht=new c,bt=(Ht=(Ht=(Ht=Ht.multiply(Lt.translate)).multiply(Lt.skew)).multiply(Lt.scale)).applyToRectangle(new u(Q-j*zt,it-R*k,V*St,$*kt));if(this.autoPaging){for(var Wt,It=M.call(this,bt),Ut=[],Dt=0;Dtve||Ztbt||It0)){for(;dt>=0;dt--)if($[dt-1].close!==!0&&$[dt-1].begin!==!0){$[dt-1].deltas.push(R),$[dt-1].abs.push(at);break}}break;case"bct":R=[at.x1-Q[it-1].x,at.y1-Q[it-1].y,at.x2-Q[it-1].x,at.y2-Q[it-1].y,at.x-Q[it-1].x,at.y-Q[it-1].y],$[$.length-1].deltas.push(R);break;case"qct":var _t=Q[it-1].x+2/3*(at.x1-Q[it-1].x),St=Q[it-1].y+2/3*(at.y1-Q[it-1].y),kt=at.x+2/3*(at.x1-at.x),zt=at.y+2/3*(at.y1-at.y),k=at.x,Lt=at.y;R=[_t-Q[it-1].x,St-Q[it-1].y,kt-Q[it-1].x,zt-Q[it-1].y,k-Q[it-1].x,Lt-Q[it-1].y],$[$.length-1].deltas.push(R);break;case"arc":$.push({deltas:[],abs:[],arc:!0}),Array.isArray($[$.length-1].abs)&&$[$.length-1].abs.push(at)}}V=j?null:x==="stroke"?"stroke":"fill";for(var ae=!1,Ht=0;Ht<$.length;Ht++)if($[Ht].arc)for(var bt=$[Ht].abs,Wt=0;Wt=.01&&(V=this.pdf.internal.getFontSize(),this.pdf.setFontSize(V*x.scale),$=this.lineWidth,this.lineWidth=$*x.scale);var ne=this.autoPaging!=="text";if(ne||Bt.y+Bt.h<=Dt){if(ne||Bt.y>=It&&Bt.x<=ue){var Rt=ne?x.text:this.pdf.splitTextToSize(x.text,x.maxWidth||ue-Bt.x)[0],ze=Y([JSON.parse(JSON.stringify(kt))],this.posX+this.margin[3],-ce+It+this.ctx.prevPageLastElemOffset)[0],ge=ne&&(Wt>Ht||Wt=.01&&(this.pdf.setFontSize(V),this.lineWidth=$)}}else x.scale>=.01&&(V=this.pdf.internal.getFontSize(),this.pdf.setFontSize(V*x.scale),$=this.lineWidth,this.lineWidth=$*x.scale),this.pdf.text(x.text,dt.x+this.posX,dt.y+this.posY,{angle:x.angle,align:j,renderingMode:x.renderingMode,maxWidth:x.maxWidth}),x.scale>=.01&&(this.pdf.setFontSize(V),this.lineWidth=$)},q=function(x,j,R,V){R=R||0,V=V||0,this.pdf.internal.out(t(x+R)+" "+i(j+V)+" l")},U=function(x,j,R){return this.pdf.lines(x,j,R,null,null)},rt=function(x,j,R,V,$,Q,it,at){this.pdf.internal.out([e(o(R+x)),e(s(V+j)),e(o($+x)),e(s(Q+j)),e(o(it+x)),e(s(at+j)),"c"].join(" "))},ct=function(x,j,R,V){for(var $=2*Math.PI,Q=Math.PI/2;j>R;)j-=$;var it=Math.abs(R-j);it<$&&V&&(it=$-it);for(var at=[],dt=V?-1:1,_t=j;it>1e-5;){var St=_t+dt*Math.min(it,Q);at.push(pt.call(this,x,_t,St)),it-=Math.abs(St-_t),_t=St}return at},pt=function(x,j,R){var V=(R-j)/2,$=x*Math.cos(V),Q=x*Math.sin(V),it=$,at=-Q,dt=it*it+at*at,_t=dt+it*$+at*Q,St=4/3*(Math.sqrt(2*dt*_t)-_t)/(it*Q-at*$),kt=it-St*at,zt=at+St*it,k=kt,Lt=-zt,ae=V+j,Ht=Math.cos(ae),bt=Math.sin(ae);return{x1:x*Math.cos(j),y1:x*Math.sin(j),x2:kt*Ht-zt*bt,y2:kt*bt+zt*Ht,x3:k*Ht-Lt*bt,y3:k*bt+Lt*Ht,x4:x*Math.cos(R),y4:x*Math.sin(R)}},nt=function(x){return 180*x/Math.PI},ft=function(x,j,R,V,$,Q){var it=x+.5*(R-x),at=j+.5*(V-j),dt=$+.5*(R-$),_t=Q+.5*(V-Q),St=Math.min(x,$,it,dt),kt=Math.max(x,$,it,dt),zt=Math.min(j,Q,at,_t),k=Math.max(j,Q,at,_t);return new u(St,zt,kt-St,k-zt)},At=function(x,j,R,V,$,Q,it,at){var dt,_t,St,kt,zt,k,Lt,ae,Ht,bt,Wt,It,Ut,Dt,ve=R-x,ue=V-j,Zt=$-R,ce=Q-V,he=it-$,Bt=at-Q;for(_t=0;_t<41;_t++)Ht=(Lt=(St=x+(dt=_t/40)*ve)+dt*((zt=R+dt*Zt)-St))+dt*(zt+dt*($+dt*he-zt)-Lt),bt=(ae=(kt=j+dt*ue)+dt*((k=V+dt*ce)-kt))+dt*(k+dt*(Q+dt*Bt-k)-ae),_t==0?(Wt=Ht,It=bt,Ut=Ht,Dt=bt):(Wt=Math.min(Wt,Ht),It=Math.min(It,bt),Ut=Math.max(Ut,Ht),Dt=Math.max(Dt,bt));return new u(Math.round(Wt),Math.round(It),Math.round(Ut-Wt),Math.round(Dt-It))},xt=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var x,j,R=(x=this.ctx.lineDash,j=this.ctx.lineDashOffset,JSON.stringify({lineDash:x,lineDashOffset:j}));this.prevLineDash!==R&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=R)}}})(Tt.API),function(n){var e=function(f){var u,c,d,m,A,P,p,B,O,M;for(c=[],d=0,m=(f+=u="\0\0\0\0".slice(f.length%4||4)).length;m>d;d+=4)(A=(f.charCodeAt(d)<<24)+(f.charCodeAt(d+1)<<16)+(f.charCodeAt(d+2)<<8)+f.charCodeAt(d+3))!==0?(P=(A=((A=((A=((A=(A-(M=A%85))/85)-(O=A%85))/85)-(B=A%85))/85)-(p=A%85))/85)%85,c.push(P+33,p+33,B+33,O+33,M+33)):c.push(122);return function(S,Y){for(var J=Y;J>0;J--)S.pop()}(c,u.length),String.fromCharCode.apply(String,c)+"~>"},t=function(f){var u,c,d,m,A,P=String,p="length",B=255,O="charCodeAt",M="slice",S="replace";for(f[M](-2),f=f[M](0,-2)[S](/\s/g,"")[S]("z","!!!!!"),d=[],m=0,A=(f+=u="uuuuu"[M](f[p]%5||5))[p];A>m;m+=5)c=52200625*(f[O](m)-33)+614125*(f[O](m+1)-33)+7225*(f[O](m+2)-33)+85*(f[O](m+3)-33)+(f[O](m+4)-33),d.push(B&c>>24,B&c>>16,B&c>>8,B&c);return function(Y,J){for(var D=J;D>0;D--)Y.pop()}(d,u[p]),P.fromCharCode.apply(P,d)},i=function(f){return f.split("").map(function(u){return("0"+u.charCodeAt().toString(16)).slice(-2)}).join("")+">"},o=function(f){var u=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((f=f.replace(/\s/g,"")).indexOf(">")!==-1&&(f=f.substr(0,f.indexOf(">"))),f.length%2&&(f+="0"),u.test(f)===!1)return"";for(var c="",d=0;dimport("./html2canvas.esm-CBrSDip1.js"),[],import.meta.url)).catch(function(u){return Promise.reject(new Error("Could not load html2canvas: "+u))}).then(function(u){return u.default?u.default:u})}function t(){return($t.DOMPurify?Promise.resolve($t.DOMPurify):so(()=>import("./purify.es-B5CD4DQe.js"),[],import.meta.url)).catch(function(u){return Promise.reject(new Error("Could not load dompurify: "+u))}).then(function(u){return u.default?u.default:u})}var i=function(u){var c=Se(u);return c==="undefined"?"undefined":c==="string"||u instanceof String?"string":c==="number"||u instanceof Number?"number":c==="function"||u instanceof Function?"function":u&&u.constructor===Array?"array":u&&u.nodeType===1?"element":c==="object"?"object":"unknown"},o=function(u,c){var d=document.createElement(u);for(var m in c.className&&(d.className=c.className),c.innerHTML&&c.dompurify&&(d.innerHTML=c.dompurify.sanitize(c.innerHTML)),c.style)d.style[m]=c.style[m];return d},s=function u(c,d){for(var m=c.nodeType===3?document.createTextNode(c.nodeValue):c.cloneNode(!1),A=c.firstChild;A;A=A.nextSibling)d!==!0&&A.nodeType===1&&A.nodeName==="SCRIPT"||m.appendChild(u(A,d));return c.nodeType===1&&(c.nodeName==="CANVAS"?(m.width=c.width,m.height=c.height,m.getContext("2d").drawImage(c,0,0)):c.nodeName!=="TEXTAREA"&&c.nodeName!=="SELECT"||(m.value=c.value),m.addEventListener("load",function(){m.scrollTop=c.scrollTop,m.scrollLeft=c.scrollLeft},!0)),m},f=function u(c){var d=Object.assign(u.convert(Promise.resolve()),JSON.parse(JSON.stringify(u.template))),m=u.convert(Promise.resolve(),d);return(m=m.setProgress(1,u,1,[u])).set(c)};(f.prototype=Object.create(Promise.prototype)).constructor=f,f.convert=function(u,c){return u.__proto__=c||f.prototype,u},f.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"}},f.prototype.from=function(u,c){return this.then(function(){switch(c=c||function(d){switch(i(d)){case"string":return"string";case"element":return d.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(u),c){case"string":return this.then(t).then(function(d){return this.set({src:o("div",{innerHTML:u,dompurify:d})})});case"element":return this.set({src:u});case"canvas":return this.set({canvas:u});case"img":return this.set({img:u});default:return this.error("Unknown source type.")}})},f.prototype.to=function(u){switch(u){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},f.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 u={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},c=s(this.prop.src,this.opt.html2canvas.javascriptEnabled);c.tagName==="BODY"&&(u.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=o("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=o("div",{className:"html2pdf__container",style:u}),this.prop.container.appendChild(c),this.prop.container.firstChild.appendChild(o("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"})},f.prototype.toCanvas=function(){var u=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(u).then(e).then(function(c){var d=Object.assign({},this.opt.html2canvas);return delete d.onrendered,c(this.prop.container,d)}).then(function(c){(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},f.prototype.toContext2d=function(){var u=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(u).then(e).then(function(c){var d=this.opt.jsPDF,m=this.opt.fontFaces,A=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,P=Object.assign({async:!0,allowTaint:!0,scale:A,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 P.onrendered,d.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,d.context2d.posX=this.opt.x,d.context2d.posY=this.opt.y,d.context2d.margin=this.opt.margin,d.context2d.fontFaces=m,m)for(var p=0;pO&&(B=M,M=O,O=B);else{if(u!=="l"&&u!=="landscape")throw"Invalid orientation: "+u;u="l",O>M&&(B=M,M=O,O=B)}return{width:M,height:O,unit:c,k:A,orientation:u}},n.html=function(u,c){(c=c||{}).callback=c.callback||function(){},c.html2canvas=c.html2canvas||{},c.html2canvas.canvas=c.html2canvas.canvas||this.canvas,c.jsPDF=c.jsPDF||this,c.fontFaces=c.fontFaces?c.fontFaces.map(No):null;var d=new f(c);return c.worker?d:d.from(u).doCallback()}}(Tt.API),Tt.API.addJS=function(n){var e,t,i=function(o){for(var s="",f=0;f=0&&o[d]==="\\";d--)c++;s+=c%2==0?"\\"+u:u}else s+=u}return s}(n);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"),t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){e!==void 0&&t!==void 0&&this.internal.out("/Names <>")}),this},function(n){var e;n.events.push(["postPutResources",function(){var t=this,i=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var o=t.outline.render().split(/\r\n/),s=0;s> endobj")}var p=t.internal.newObject();for(t.internal.write("<< /Names [ "),s=0;s>","endobj"),e=t.internal.newObject(),t.internal.write("<< /Dests "+p+" 0 R"),t.internal.write(">>","endobj")}}]),n.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+e+" 0 R"))}]),n.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(i,o,s){var f={title:o,options:s,children:[]};return i==null&&(i=this.root),i.children.push(f),f},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(i){i.id=t.internal.newObjectDeferred();for(var o=0;o0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1]))),this.line("/Count "+this.count_r({count:0},i)),this.objEnd()},t.outline.renderItems=function(i){for(var o=this.ctx.pdf.internal.getVerticalCoordinateString,s=0;s0&&this.line("/Prev "+this.makeRef(i.children[s-1])),s0&&(this.line("/First "+this.makeRef(f.children[0])),this.line("/Last "+this.makeRef(f.children[f.children.length-1])));var u=this.count=this.count_r({count:0},f);if(u>0&&this.line("/Count "+u),f.options&&f.options.pageNumber){var c=t.internal.getPageInfo(f.options.pageNumber);this.line("/Dest ["+c.objId+" 0 R /XYZ 0 "+o(0)+" 0]")}this.objEnd()}for(var d=0;d'+t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")+"",this.internal.__metadata__.metadataObjectNumber=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+n.length+" >>"),this.internal.write("stream"),this.internal.write(n),this.internal.write("endstream"),this.internal.write("endobj")}function p1(){this.internal.__metadata__.metadataObjectNumber&&this.internal.write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}(function(n){var e,t,i,o,s,f,u,c,d,m=function(x){return x=x||{},this.isStrokeTransparent=x.isStrokeTransparent||!1,this.strokeOpacity=x.strokeOpacity||1,this.strokeStyle=x.strokeStyle||"#000000",this.fillStyle=x.fillStyle||"#000000",this.isFillTransparent=x.isFillTransparent||!1,this.fillOpacity=x.fillOpacity||1,this.font=x.font||"10px sans-serif",this.textBaseline=x.textBaseline||"alphabetic",this.textAlign=x.textAlign||"left",this.lineWidth=x.lineWidth||1,this.lineJoin=x.lineJoin||"miter",this.lineCap=x.lineCap||"butt",this.path=x.path||[],this.transform=x.transform!==void 0?x.transform.clone():new c,this.globalCompositeOperation=x.globalCompositeOperation||"normal",this.globalAlpha=x.globalAlpha||1,this.clip_path=x.clip_path||[],this.currentPoint=x.currentPoint||new f,this.miterLimit=x.miterLimit||10,this.lastPoint=x.lastPoint||new f,this.lineDashOffset=x.lineDashOffset||0,this.lineDash=x.lineDash||[],this.margin=x.margin||[0,0,0,0],this.prevPageLastElemOffset=x.prevPageLastElemOffset||0,this.ignoreClearRect=typeof x.ignoreClearRect!="boolean"||x.ignoreClearRect,this};n.events.push(["initialized",function(){this.context2d=new A(this),e=this.internal.f2,t=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,o=this.internal.getHorizontalCoordinate,s=this.internal.getVerticalCoordinate,f=this.internal.Point,u=this.internal.Rectangle,c=this.internal.Matrix,d=new m}]);var A=function(x){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var j=x;Object.defineProperty(this,"pdf",{get:function(){return j}});var R=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return R},set:function(k){R=!!k}});var V=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return V},set:function(k){V=!!k}});var $=0;Object.defineProperty(this,"posX",{get:function(){return $},set:function(k){isNaN(k)||($=k)}});var Q=0;Object.defineProperty(this,"posY",{get:function(){return Q},set:function(k){isNaN(k)||(Q=k)}}),Object.defineProperty(this,"margin",{get:function(){return d.margin},set:function(k){var Lt;typeof k=="number"?Lt=[k,k,k,k]:((Lt=new Array(4))[0]=k[0],Lt[1]=k.length>=2?k[1]:Lt[0],Lt[2]=k.length>=3?k[2]:Lt[0],Lt[3]=k.length>=4?k[3]:Lt[1]),d.margin=Lt}});var it=!1;Object.defineProperty(this,"autoPaging",{get:function(){return it},set:function(k){it=k}});var at=0;Object.defineProperty(this,"lastBreak",{get:function(){return at},set:function(k){at=k}});var dt=[];Object.defineProperty(this,"pageBreaks",{get:function(){return dt},set:function(k){dt=k}}),Object.defineProperty(this,"ctx",{get:function(){return d},set:function(k){k instanceof m&&(d=k)}}),Object.defineProperty(this,"path",{get:function(){return d.path},set:function(k){d.path=k}});var _t=[];Object.defineProperty(this,"ctxStack",{get:function(){return _t},set:function(k){_t=k}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(k){var Lt;Lt=P(k),this.ctx.fillStyle=Lt.style,this.ctx.isFillTransparent=Lt.a===0,this.ctx.fillOpacity=Lt.a,this.pdf.setFillColor(Lt.r,Lt.g,Lt.b,{a:Lt.a}),this.pdf.setTextColor(Lt.r,Lt.g,Lt.b,{a:Lt.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(k){var Lt=P(k);this.ctx.strokeStyle=Lt.style,this.ctx.isStrokeTransparent=Lt.a===0,this.ctx.strokeOpacity=Lt.a,Lt.a===0?this.pdf.setDrawColor(255,255,255):(Lt.a,this.pdf.setDrawColor(Lt.r,Lt.g,Lt.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(k){["butt","round","square"].indexOf(k)!==-1&&(this.ctx.lineCap=k,this.pdf.setLineCap(k))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(k){isNaN(k)||(this.ctx.lineWidth=k,this.pdf.setLineWidth(k))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(k){["bevel","round","miter"].indexOf(k)!==-1&&(this.ctx.lineJoin=k,this.pdf.setLineJoin(k))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(k){isNaN(k)||(this.ctx.miterLimit=k,this.pdf.setMiterLimit(k))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(k){this.ctx.textBaseline=k}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(k){["right","end","center","left","start"].indexOf(k)!==-1&&(this.ctx.textAlign=k)}});var St=null,kt=null,zt=null;Object.defineProperty(this,"fontFaces",{get:function(){return zt},set:function(k){St=null,kt=null,zt=k}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(k){var Lt;if(this.ctx.font=k,(Lt=/^\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(k))!==null){var ae=Lt[1];Lt[2];var Ht=Lt[3],bt=Lt[4];Lt[5];var Wt=Lt[6],It=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(bt)[2];bt=Math.floor(It==="px"?parseFloat(bt)*this.pdf.internal.scaleFactor:It==="em"?parseFloat(bt)*this.pdf.getFontSize():parseFloat(bt)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(bt);var Ut=function(Rt){var ze,ge,se=[],oe=Rt.trim();if(oe==="")return Lo;if(oe in fu)return[fu[oe]];for(;oe!=="";){switch(ge=null,ze=(oe=pu(oe)).charAt(0)){case'"':case"'":ge=o1(oe.substring(1),ze);break;default:ge=l1(oe)}if(ge===null||(se.push(ge[0]),(oe=pu(ge[1]))!==""&&oe.charAt(0)!==","))return Lo;oe=oe.replace(/^,/,"")}return se}(Wt);if(this.fontFaces){var Dt=function(Rt,ze){var ge=Rt.getFontList(),se=JSON.stringify(ge);if(St===null||kt!==se){var oe=function(Oe){var qt=[];return Object.keys(Oe).forEach(function(ke){Oe[ke].forEach(function(Yt){var Qt=null;switch(Yt){case"bold":Qt={family:ke,weight:"bold"};break;case"italic":Qt={family:ke,style:"italic"};break;case"bolditalic":Qt={family:ke,weight:"bold",style:"italic"};break;case"":case"normal":Qt={family:ke}}Qt!==null&&(Qt.ref={name:ke,style:Yt},qt.push(Qt))})}),qt}(ge);St=function(Oe){for(var qt={},ke=0;ke=700||ae==="bold")&&(Zt="bold"),ae==="italic"&&(Zt+="italic"),Zt.length===0&&(Zt="normal");for(var ce="",he={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"},Bt=0;Bt=2*Math.PI&&(V=0,$=2*Math.PI),this.path.push({type:"arc",x,y:j,radius:R,startAngle:V,endAngle:$,counterclockwise:Q})},A.prototype.arcTo=function(x,j,R,V,$){throw new Error("arcTo not implemented.")},A.prototype.rect=function(x,j,R,V){if(isNaN(x)||isNaN(j)||isNaN(R)||isNaN(V))throw Le.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(x,j),this.lineTo(x+R,j),this.lineTo(x+R,j+V),this.lineTo(x,j+V),this.lineTo(x,j),this.lineTo(x+R,j),this.lineTo(x,j)},A.prototype.fillRect=function(x,j,R,V){if(isNaN(x)||isNaN(j)||isNaN(R)||isNaN(V))throw Le.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var $={};this.lineCap!=="butt"&&($.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&($.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(x,j,R,V),this.fill(),$.hasOwnProperty("lineCap")&&(this.lineCap=$.lineCap),$.hasOwnProperty("lineJoin")&&(this.lineJoin=$.lineJoin)}},A.prototype.strokeRect=function(x,j,R,V){if(isNaN(x)||isNaN(j)||isNaN(R)||isNaN(V))throw Le.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");B.call(this)||(this.beginPath(),this.rect(x,j,R,V),this.stroke())},A.prototype.clearRect=function(x,j,R,V){if(isNaN(x)||isNaN(j)||isNaN(R)||isNaN(V))throw Le.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(x,j,R,V))},A.prototype.save=function(x){x=typeof x!="boolean"||x;for(var j=this.pdf.internal.getCurrentPageInfo().pageNumber,R=0;R0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};A.prototype.drawImage=function(x,j,R,V,$,Q,it,at,dt){var _t=this.pdf.getImageProperties(x),St=1,kt=1,zt=1,k=1;V!==void 0&&at!==void 0&&(zt=at/V,k=dt/$,St=_t.width/V*at/V,kt=_t.height/$*dt/$),Q===void 0&&(Q=j,it=R,j=0,R=0),V!==void 0&&at===void 0&&(at=V,dt=$),V===void 0&&at===void 0&&(at=_t.width,dt=_t.height);var Lt=this.ctx.transform.decompose(),ae=nt(Lt.rotate.shx),Ht=new c,bt=(Ht=(Ht=(Ht=Ht.multiply(Lt.translate)).multiply(Lt.skew)).multiply(Lt.scale)).applyToRectangle(new u(Q-j*zt,it-R*k,V*St,$*kt));if(this.autoPaging){for(var Wt,It=M.call(this,bt),Ut=[],Dt=0;Dtve||Ztbt||It0)){for(;dt>=0;dt--)if($[dt-1].close!==!0&&$[dt-1].begin!==!0){$[dt-1].deltas.push(R),$[dt-1].abs.push(at);break}}break;case"bct":R=[at.x1-Q[it-1].x,at.y1-Q[it-1].y,at.x2-Q[it-1].x,at.y2-Q[it-1].y,at.x-Q[it-1].x,at.y-Q[it-1].y],$[$.length-1].deltas.push(R);break;case"qct":var _t=Q[it-1].x+2/3*(at.x1-Q[it-1].x),St=Q[it-1].y+2/3*(at.y1-Q[it-1].y),kt=at.x+2/3*(at.x1-at.x),zt=at.y+2/3*(at.y1-at.y),k=at.x,Lt=at.y;R=[_t-Q[it-1].x,St-Q[it-1].y,kt-Q[it-1].x,zt-Q[it-1].y,k-Q[it-1].x,Lt-Q[it-1].y],$[$.length-1].deltas.push(R);break;case"arc":$.push({deltas:[],abs:[],arc:!0}),Array.isArray($[$.length-1].abs)&&$[$.length-1].abs.push(at)}}V=j?null:x==="stroke"?"stroke":"fill";for(var ae=!1,Ht=0;Ht<$.length;Ht++)if($[Ht].arc)for(var bt=$[Ht].abs,Wt=0;Wt=.01&&(V=this.pdf.internal.getFontSize(),this.pdf.setFontSize(V*x.scale),$=this.lineWidth,this.lineWidth=$*x.scale);var ne=this.autoPaging!=="text";if(ne||Bt.y+Bt.h<=Dt){if(ne||Bt.y>=It&&Bt.x<=ue){var Rt=ne?x.text:this.pdf.splitTextToSize(x.text,x.maxWidth||ue-Bt.x)[0],ze=Y([JSON.parse(JSON.stringify(kt))],this.posX+this.margin[3],-ce+It+this.ctx.prevPageLastElemOffset)[0],ge=ne&&(Wt>Ht||Wt=.01&&(this.pdf.setFontSize(V),this.lineWidth=$)}}else x.scale>=.01&&(V=this.pdf.internal.getFontSize(),this.pdf.setFontSize(V*x.scale),$=this.lineWidth,this.lineWidth=$*x.scale),this.pdf.text(x.text,dt.x+this.posX,dt.y+this.posY,{angle:x.angle,align:j,renderingMode:x.renderingMode,maxWidth:x.maxWidth}),x.scale>=.01&&(this.pdf.setFontSize(V),this.lineWidth=$)},q=function(x,j,R,V){R=R||0,V=V||0,this.pdf.internal.out(t(x+R)+" "+i(j+V)+" l")},U=function(x,j,R){return this.pdf.lines(x,j,R,null,null)},rt=function(x,j,R,V,$,Q,it,at){this.pdf.internal.out([e(o(R+x)),e(s(V+j)),e(o($+x)),e(s(Q+j)),e(o(it+x)),e(s(at+j)),"c"].join(" "))},ct=function(x,j,R,V){for(var $=2*Math.PI,Q=Math.PI/2;j>R;)j-=$;var it=Math.abs(R-j);it<$&&V&&(it=$-it);for(var at=[],dt=V?-1:1,_t=j;it>1e-5;){var St=_t+dt*Math.min(it,Q);at.push(pt.call(this,x,_t,St)),it-=Math.abs(St-_t),_t=St}return at},pt=function(x,j,R){var V=(R-j)/2,$=x*Math.cos(V),Q=x*Math.sin(V),it=$,at=-Q,dt=it*it+at*at,_t=dt+it*$+at*Q,St=4/3*(Math.sqrt(2*dt*_t)-_t)/(it*Q-at*$),kt=it-St*at,zt=at+St*it,k=kt,Lt=-zt,ae=V+j,Ht=Math.cos(ae),bt=Math.sin(ae);return{x1:x*Math.cos(j),y1:x*Math.sin(j),x2:kt*Ht-zt*bt,y2:kt*bt+zt*Ht,x3:k*Ht-Lt*bt,y3:k*bt+Lt*Ht,x4:x*Math.cos(R),y4:x*Math.sin(R)}},nt=function(x){return 180*x/Math.PI},ft=function(x,j,R,V,$,Q){var it=x+.5*(R-x),at=j+.5*(V-j),dt=$+.5*(R-$),_t=Q+.5*(V-Q),St=Math.min(x,$,it,dt),kt=Math.max(x,$,it,dt),zt=Math.min(j,Q,at,_t),k=Math.max(j,Q,at,_t);return new u(St,zt,kt-St,k-zt)},At=function(x,j,R,V,$,Q,it,at){var dt,_t,St,kt,zt,k,Lt,ae,Ht,bt,Wt,It,Ut,Dt,ve=R-x,ue=V-j,Zt=$-R,ce=Q-V,he=it-$,Bt=at-Q;for(_t=0;_t<41;_t++)Ht=(Lt=(St=x+(dt=_t/40)*ve)+dt*((zt=R+dt*Zt)-St))+dt*(zt+dt*($+dt*he-zt)-Lt),bt=(ae=(kt=j+dt*ue)+dt*((k=V+dt*ce)-kt))+dt*(k+dt*(Q+dt*Bt-k)-ae),_t==0?(Wt=Ht,It=bt,Ut=Ht,Dt=bt):(Wt=Math.min(Wt,Ht),It=Math.min(It,bt),Ut=Math.max(Ut,Ht),Dt=Math.max(Dt,bt));return new u(Math.round(Wt),Math.round(It),Math.round(Ut-Wt),Math.round(Dt-It))},xt=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var x,j,R=(x=this.ctx.lineDash,j=this.ctx.lineDashOffset,JSON.stringify({lineDash:x,lineDashOffset:j}));this.prevLineDash!==R&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=R)}}})(Tt.API),function(n){var e=function(f){var u,c,d,m,A,P,p,B,O,M;for(c=[],d=0,m=(f+=u="\0\0\0\0".slice(f.length%4||4)).length;m>d;d+=4)(A=(f.charCodeAt(d)<<24)+(f.charCodeAt(d+1)<<16)+(f.charCodeAt(d+2)<<8)+f.charCodeAt(d+3))!==0?(P=(A=((A=((A=((A=(A-(M=A%85))/85)-(O=A%85))/85)-(B=A%85))/85)-(p=A%85))/85)%85,c.push(P+33,p+33,B+33,O+33,M+33)):c.push(122);return function(S,Y){for(var J=Y;J>0;J--)S.pop()}(c,u.length),String.fromCharCode.apply(String,c)+"~>"},t=function(f){var u,c,d,m,A,P=String,p="length",B=255,O="charCodeAt",M="slice",S="replace";for(f[M](-2),f=f[M](0,-2)[S](/\s/g,"")[S]("z","!!!!!"),d=[],m=0,A=(f+=u="uuuuu"[M](f[p]%5||5))[p];A>m;m+=5)c=52200625*(f[O](m)-33)+614125*(f[O](m+1)-33)+7225*(f[O](m+2)-33)+85*(f[O](m+3)-33)+(f[O](m+4)-33),d.push(B&c>>24,B&c>>16,B&c>>8,B&c);return function(Y,J){for(var D=J;D>0;D--)Y.pop()}(d,u[p]),P.fromCharCode.apply(P,d)},i=function(f){return f.split("").map(function(u){return("0"+u.charCodeAt().toString(16)).slice(-2)}).join("")+">"},o=function(f){var u=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((f=f.replace(/\s/g,"")).indexOf(">")!==-1&&(f=f.substr(0,f.indexOf(">"))),f.length%2&&(f+="0"),u.test(f)===!1)return"";for(var c="",d=0;dimport("./html2canvas.esm-CBrSDip1.js"),[],import.meta.url)).catch(function(u){return Promise.reject(new Error("Could not load html2canvas: "+u))}).then(function(u){return u.default?u.default:u})}function t(){return($t.DOMPurify?Promise.resolve($t.DOMPurify):so(()=>import("./purify.es-dhnUglUx.js"),[],import.meta.url)).catch(function(u){return Promise.reject(new Error("Could not load dompurify: "+u))}).then(function(u){return u.default?u.default:u})}var i=function(u){var c=Se(u);return c==="undefined"?"undefined":c==="string"||u instanceof String?"string":c==="number"||u instanceof Number?"number":c==="function"||u instanceof Function?"function":u&&u.constructor===Array?"array":u&&u.nodeType===1?"element":c==="object"?"object":"unknown"},o=function(u,c){var d=document.createElement(u);for(var m in c.className&&(d.className=c.className),c.innerHTML&&c.dompurify&&(d.innerHTML=c.dompurify.sanitize(c.innerHTML)),c.style)d.style[m]=c.style[m];return d},s=function u(c,d){for(var m=c.nodeType===3?document.createTextNode(c.nodeValue):c.cloneNode(!1),A=c.firstChild;A;A=A.nextSibling)d!==!0&&A.nodeType===1&&A.nodeName==="SCRIPT"||m.appendChild(u(A,d));return c.nodeType===1&&(c.nodeName==="CANVAS"?(m.width=c.width,m.height=c.height,m.getContext("2d").drawImage(c,0,0)):c.nodeName!=="TEXTAREA"&&c.nodeName!=="SELECT"||(m.value=c.value),m.addEventListener("load",function(){m.scrollTop=c.scrollTop,m.scrollLeft=c.scrollLeft},!0)),m},f=function u(c){var d=Object.assign(u.convert(Promise.resolve()),JSON.parse(JSON.stringify(u.template))),m=u.convert(Promise.resolve(),d);return(m=m.setProgress(1,u,1,[u])).set(c)};(f.prototype=Object.create(Promise.prototype)).constructor=f,f.convert=function(u,c){return u.__proto__=c||f.prototype,u},f.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"}},f.prototype.from=function(u,c){return this.then(function(){switch(c=c||function(d){switch(i(d)){case"string":return"string";case"element":return d.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(u),c){case"string":return this.then(t).then(function(d){return this.set({src:o("div",{innerHTML:u,dompurify:d})})});case"element":return this.set({src:u});case"canvas":return this.set({canvas:u});case"img":return this.set({img:u});default:return this.error("Unknown source type.")}})},f.prototype.to=function(u){switch(u){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},f.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 u={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},c=s(this.prop.src,this.opt.html2canvas.javascriptEnabled);c.tagName==="BODY"&&(u.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=o("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=o("div",{className:"html2pdf__container",style:u}),this.prop.container.appendChild(c),this.prop.container.firstChild.appendChild(o("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"})},f.prototype.toCanvas=function(){var u=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(u).then(e).then(function(c){var d=Object.assign({},this.opt.html2canvas);return delete d.onrendered,c(this.prop.container,d)}).then(function(c){(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},f.prototype.toContext2d=function(){var u=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(u).then(e).then(function(c){var d=this.opt.jsPDF,m=this.opt.fontFaces,A=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,P=Object.assign({async:!0,allowTaint:!0,scale:A,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 P.onrendered,d.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,d.context2d.posX=this.opt.x,d.context2d.posY=this.opt.y,d.context2d.margin=this.opt.margin,d.context2d.fontFaces=m,m)for(var p=0;pO&&(B=M,M=O,O=B);else{if(u!=="l"&&u!=="landscape")throw"Invalid orientation: "+u;u="l",O>M&&(B=M,M=O,O=B)}return{width:M,height:O,unit:c,k:A,orientation:u}},n.html=function(u,c){(c=c||{}).callback=c.callback||function(){},c.html2canvas=c.html2canvas||{},c.html2canvas.canvas=c.html2canvas.canvas||this.canvas,c.jsPDF=c.jsPDF||this,c.fontFaces=c.fontFaces?c.fontFaces.map(No):null;var d=new f(c);return c.worker?d:d.from(u).doCallback()}}(Tt.API),Tt.API.addJS=function(n){var e,t,i=function(o){for(var s="",f=0;f=0&&o[d]==="\\";d--)c++;s+=c%2==0?"\\"+u:u}else s+=u}return s}(n);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"),t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){e!==void 0&&t!==void 0&&this.internal.out("/Names <>")}),this},function(n){var e;n.events.push(["postPutResources",function(){var t=this,i=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var o=t.outline.render().split(/\r\n/),s=0;s> endobj")}var p=t.internal.newObject();for(t.internal.write("<< /Names [ "),s=0;s>","endobj"),e=t.internal.newObject(),t.internal.write("<< /Dests "+p+" 0 R"),t.internal.write(">>","endobj")}}]),n.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+e+" 0 R"))}]),n.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(i,o,s){var f={title:o,options:s,children:[]};return i==null&&(i=this.root),i.children.push(f),f},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(i){i.id=t.internal.newObjectDeferred();for(var o=0;o0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1]))),this.line("/Count "+this.count_r({count:0},i)),this.objEnd()},t.outline.renderItems=function(i){for(var o=this.ctx.pdf.internal.getVerticalCoordinateString,s=0;s0&&this.line("/Prev "+this.makeRef(i.children[s-1])),s0&&(this.line("/First "+this.makeRef(f.children[0])),this.line("/Last "+this.makeRef(f.children[f.children.length-1])));var u=this.count=this.count_r({count:0},f);if(u>0&&this.line("/Count "+u),f.options&&f.options.pageNumber){var c=t.internal.getPageInfo(f.options.pageNumber);this.line("/Dest ["+c.objId+" 0 R /XYZ 0 "+o(0)+" 0]")}this.objEnd()}for(var d=0;d1){U=!0,ct=void 0;var $=z*et;pt=new Uint8Array($);for(var Q=new DataView(N.buffer),it=0;it<$;it++){var at=So(Q,it,q),dt=yl(E[at],4)[3];pt[it]=dt}}else ft===0&&(ct=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:U?8:void 0,colorBytes:N,alphaBytes:pt,needSMask:U,palette:rt,mask:ct}}(s):c===2||c===4?function(tt){for(var z=tt.data,et=tt.width,N=tt.height,E=tt.channels,q=tt.depth,U=E===2?"DeviceGray":"DeviceRGB",rt=E-1,ct=et*N,pt=rt,nt=ct*pt,ft=1*ct,At=Math.ceil(nt*q/8),xt=Math.ceil(ft*q/8),x=new Uint8Array(At),j=new Uint8Array(xt),R=new DataView(z.buffer),V=new DataView(x.buffer),$=new DataView(j.buffer),Q=!1,it=0;it536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");this.data=new Uint8Array(e);try{this[n]()}catch(t){Le.log("bit decode error:"+t)}},Xn.prototype.bit1=function(){var n,e=Math.ceil(this.width/8),t=e%4;for(n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,o=0;o>7-u&1];this.data[f+4*u]=c.blue,this.data[f+4*u+1]=c.green,this.data[f+4*u+2]=c.red,this.data[f+4*u+3]=255}t!==0&&(this.pos+=4-t)}},Xn.prototype.bit4=function(){for(var n=Math.ceil(this.width/2),e=n%4,t=this.height-1;t>=0;t--){for(var i=this.bottom_up?t:this.height-1-t,o=0;o>4,c=15&s,d=this.palette[u];if(this.data[f]=d.blue,this.data[f+1]=d.green,this.data[f+2]=d.red,this.data[f+3]=255,2*o+1>=this.width)break;d=this.palette[c],this.data[f+4]=d.blue,this.data[f+4+1]=d.green,this.data[f+4+2]=d.red,this.data[f+4+3]=255}e!==0&&(this.pos+=4-e)}},Xn.prototype.bit8=function(){for(var n=this.width%4,e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,i=0;i=0;t--){for(var i=this.bottom_up?t:this.height-1-t,o=0;o>5&e)/e*255|0,c=(s>>10&e)/e*255|0,d=s>>15?255:0,m=i*this.width*4+4*o;this.data[m]=c,this.data[m+1]=u,this.data[m+2]=f,this.data[m+3]=d}this.pos+=n}},Xn.prototype.bit16=function(){for(var n=this.width%3,e=parseInt("11111",2),t=parseInt("111111",2),i=this.height-1;i>=0;i--){for(var o=this.bottom_up?i:this.height-1-i,s=0;s>5&t)/t*255|0,d=(f>>11)/e*255|0,m=o*this.width*4+4*s;this.data[m]=d,this.data[m+1]=c,this.data[m+2]=u,this.data[m+3]=255}this.pos+=n}},Xn.prototype.bit24=function(){for(var n=this.height-1;n>=0;n--){for(var e=this.bottom_up?n:this.height-1-n,t=0;t=0;n--)for(var e=this.bottom_up?n:this.height-1-n,t=0;ti&&(o.push(n.slice(c,s)),u=0,c=s),u+=e[s],s++;return c!==s&&o.push(n.slice(c,s)),o},vu=function(n,e,t){t||(t={});var i,o,s,f,u,c,d,m=[],A=[m],P=t.textIndent||0,p=0,B=0,O=n.split(" "),M=ds.apply(this,[" ",t])[0];if(c=t.lineIndent===-1?O[0].length+2:t.lineIndent||0){var S=Array(c).join(" "),Y=[];O.map(function(D){(D=D.split(/\s*\n/)).length>1?Y=Y.concat(D.map(function(lt,yt){return(yt&<.length?` `:"")+lt})):Y.push(D[0])}),O=Y,c=gu.apply(this,[S,t])}for(s=0,f=O.length;se||J){if(B>e){for(u=mu.apply(this,[i,o,e-(P+p),e]),m.push(u.shift()),m=[u.pop()];u.length;)A.push([u.shift()]);B=o.slice(i.length-(m[0]?m[0].length:0)).reduce(function(D,lt){return D+lt},0)}else m=[i];A.push(m),P=B+c,p=M}else m.push(i),P+=p+B,p=M}return d=c?function(D,lt){return(lt?S:"")+D.join(" ")}:function(D){return D.join(" ")},A.map(d)},Wi.splitTextToSize=function(n,e,t){var i,o=(t=t||{}).fontSize||this.internal.getFontSize(),s=(function(m){if(m.widths&&m.kerning)return{widths:m.widths,kerning:m.kerning};var A=this.internal.getFont(m.fontName,m.fontStyle),P="Unicode";return A.metadata[P]?{widths:A.metadata[P].widths||{0:1},kerning:A.metadata[P].kerning||{}}:{font:A.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,t);i=Array.isArray(n)?n:String(n).split(/\r?\n/);var f=1*this.internal.scaleFactor*e/o;s.textIndent=t.textIndent?1*t.textIndent*this.internal.scaleFactor/o:0,s.lineIndent=t.lineIndent;var u,c,d=[];for(u=0,c=i.length;uimport("./index.es-DBB1j9TD.js"),__vite__mapDeps([0,1,2]),import.meta.url)).catch(function(P){return Promise.reject(new Error("Could not load canvg: "+P))}).then(function(P){return P.default?P.default:P}).then(function(P){return P.fromString(d,n,m)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(P){return P.render(m)}).then(function(){A.addImage(c.toDataURL("image/jpeg",1),e,t,i,o,f,u)})},Tt.API.putTotalPages=function(n){var e,t=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(n,"g"),t=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(n,this.internal.getFont()),"g"),t=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var i=1;i<=this.internal.getNumberOfPages();i++)for(var o=0;o1){for(m=0;me||J){if(B>e){for(u=mu.apply(this,[i,o,e-(P+p),e]),m.push(u.shift()),m=[u.pop()];u.length;)A.push([u.shift()]);B=o.slice(i.length-(m[0]?m[0].length:0)).reduce(function(D,lt){return D+lt},0)}else m=[i];A.push(m),P=B+c,p=M}else m.push(i),P+=p+B,p=M}return d=c?function(D,lt){return(lt?S:"")+D.join(" ")}:function(D){return D.join(" ")},A.map(d)},Wi.splitTextToSize=function(n,e,t){var i,o=(t=t||{}).fontSize||this.internal.getFontSize(),s=(function(m){if(m.widths&&m.kerning)return{widths:m.widths,kerning:m.kerning};var A=this.internal.getFont(m.fontName,m.fontStyle),P="Unicode";return A.metadata[P]?{widths:A.metadata[P].widths||{0:1},kerning:A.metadata[P].kerning||{}}:{font:A.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,t);i=Array.isArray(n)?n:String(n).split(/\r?\n/);var f=1*this.internal.scaleFactor*e/o;s.textIndent=t.textIndent?1*t.textIndent*this.internal.scaleFactor/o:0,s.lineIndent=t.lineIndent;var u,c,d=[];for(u=0,c=i.length;uimport("./index.es-DwbEwFpQ.js"),__vite__mapDeps([0,1,2]),import.meta.url)).catch(function(P){return Promise.reject(new Error("Could not load canvg: "+P))}).then(function(P){return P.default?P.default:P}).then(function(P){return P.fromString(d,n,m)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(P){return P.render(m)}).then(function(){A.addImage(c.toDataURL("image/jpeg",1),e,t,i,o,f,u)})},Tt.API.putTotalPages=function(n){var e,t=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(n,"g"),t=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(n,this.internal.getFont()),"g"),t=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var i=1;i<=this.internal.getNumberOfPages();i++)for(var o=0;o1){for(m=0;m2?a-2:0),O=2;O1?l-1:0),c=1;c1?l-1:0),c=1;c2&&arguments[2]!==void 0?arguments[2]:Ee;ft&&ft(s,null);let a=o.length;for(;a--;){let c=o[a];if(typeof c=="string"){const O=l(c);O!==c&&(Yt(o)||(o[a]=O),c=O)}s[c]=!0}return s}function Jt(s){for(let o=0;o/gm),on=b(/\$\{[\w\W]*/gm),an=b(/^data-[\-\w.\u00B7-\uFFFF]+$/),rn=b(/^aria-[\-\w]+$/),ht=b(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),sn=b(/^(?:\w+script|data):/i),ln=b(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),At=b(/^html$/i),cn=b(/^[a-z][.\w]*(-[.\w]+)+$/i);var Et=Object.freeze({__proto__:null,ARIA_ATTR:rn,ATTR_WHITESPACE:ln,CUSTOM_ELEMENT:cn,DATA_ATTR:an,DOCTYPE_NAME:At,ERB_EXPR:nn,IS_ALLOWED_URI:ht,IS_SCRIPT_OR_DATA:sn,MUSTACHE_EXPR:tn,TMPLIT_EXPR:on});const te={element:1,text:3,progressingInstruction:7,comment:8,document:9},fn=function(){return typeof window>"u"?null:window},un=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let a=null;const c="data-tt-policy-suffix";l&&l.hasAttribute(c)&&(a=l.getAttribute(c));const O="dompurify"+(a?"#"+a:"");try{return o.createPolicy(O,{createHTML(F){return F},createScriptURL(F){return F}})}catch{return console.warn("TrustedTypes policy "+O+" could not be created."),null}},_t=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function St(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fn();const o=i=>St(i);if(o.version="3.4.0",o.removed=[],!s||!s.document||s.document.nodeType!==te.document||!s.Element)return o.isSupported=!1,o;let{document:l}=s;const a=l,c=a.currentScript,{DocumentFragment:O,HTMLTemplateElement:F,Node:_e,Element:He,NodeFilter:Y,NamedNodeMap:Rt=s.NamedNodeMap||s.MozNamedAttrMap,HTMLFormElement:Ot,DOMParser:Dt,trustedTypes:oe}=s,X=He.prototype,Lt=ee(X,"cloneNode"),bt=ee(X,"remove"),yt=ee(X,"nextSibling"),Ct=ee(X,"childNodes"),ie=ee(X,"parentNode");if(typeof F=="function"){const i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let g,j="";const{implementation:ge,createNodeIterator:It,createDocumentFragment:Nt,getElementsByTagName:Mt}=l,{importNode:wt}=a;let h=_t();o.isSupported=typeof gt=="function"&&typeof ie=="function"&&ge&&ge.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:ae,ERB_EXPR:re,TMPLIT_EXPR:se,DATA_ATTR:xt,ARIA_ATTR:Pt,IS_SCRIPT_OR_DATA:kt,ATTR_WHITESPACE:ze,CUSTOM_ELEMENT:vt}=Et;let{IS_ALLOWED_URI:Ge}=Et,T=null;const We=r({},[...mt,...xe,...Pe,...ke,...pt]);let d=null;const Be=r({},[...Tt,...ve,...dt,...de]);let u=Object.seal(ne(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}})),V=null,le=null;const x=Object.seal(ne(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Ye=!0,he=!0,Xe=!1,je=!0,k=!1,$=!0,v=!1,Ae=!1,Se=!1,H=!1,ce=!1,fe=!1,Ve=!0,$e=!1;const Ut="user-content-";let Re=!0,q=!1,z={},I=null;const Oe=r({},["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 qe=null;const Ke=r({},["audio","video","img","source","image","track"]);let De=null;const Ze=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ue="http://www.w3.org/1998/Math/MathML",me="http://www.w3.org/2000/svg",N="http://www.w3.org/1999/xhtml";let G=N,Le=!1,be=null;const Ft=r({},[ue,me,N],Me);let pe=r({},["mi","mo","mn","ms","mtext"]),Te=r({},["annotation-xml"]);const Ht=r({},["title","style","font","a","script"]);let K=null;const zt=["application/xhtml+xml","text/html"],Gt="text/html";let p=null,W=null;const Wt=l.createElement("form"),Je=function(e){return e instanceof RegExp||e instanceof Function},ye=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(W&&W===e)){if((!e||typeof e!="object")&&(e={}),e=M(e),K=zt.indexOf(e.PARSER_MEDIA_TYPE)===-1?Gt:e.PARSER_MEDIA_TYPE,p=K==="application/xhtml+xml"?Me:Ee,T=C(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,p):We,d=C(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,p):Be,be=C(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,Me):Ft,De=C(e,"ADD_URI_SAFE_ATTR")?r(M(Ze),e.ADD_URI_SAFE_ATTR,p):Ze,qe=C(e,"ADD_DATA_URI_TAGS")?r(M(Ke),e.ADD_DATA_URI_TAGS,p):Ke,I=C(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,p):Oe,V=C(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,p):M({}),le=C(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,p):M({}),z=C(e,"USE_PROFILES")?e.USE_PROFILES:!1,Ye=e.ALLOW_ARIA_ATTR!==!1,he=e.ALLOW_DATA_ATTR!==!1,Xe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,je=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,k=e.SAFE_FOR_TEMPLATES||!1,$=e.SAFE_FOR_XML!==!1,v=e.WHOLE_DOCUMENT||!1,H=e.RETURN_DOM||!1,ce=e.RETURN_DOM_FRAGMENT||!1,fe=e.RETURN_TRUSTED_TYPE||!1,Se=e.FORCE_BODY||!1,Ve=e.SANITIZE_DOM!==!1,$e=e.SANITIZE_NAMED_PROPS||!1,Re=e.KEEP_CONTENT!==!1,q=e.IN_PLACE||!1,Ge=e.ALLOWED_URI_REGEXP||ht,G=e.NAMESPACE||N,pe=e.MATHML_TEXT_INTEGRATION_POINTS||pe,Te=e.HTML_INTEGRATION_POINTS||Te,u=e.CUSTOM_ELEMENT_HANDLING||ne(null),e.CUSTOM_ELEMENT_HANDLING&&Je(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(u.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Je(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(u.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(u.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),k&&(he=!1),ce&&(H=!0),z&&(T=r({},pt),d=ne(null),z.html===!0&&(r(T,mt),r(d,Tt)),z.svg===!0&&(r(T,xe),r(d,ve),r(d,de)),z.svgFilters===!0&&(r(T,Pe),r(d,ve),r(d,de)),z.mathMl===!0&&(r(T,ke),r(d,dt),r(d,de))),x.tagCheck=null,x.attributeCheck=null,e.ADD_TAGS&&(typeof e.ADD_TAGS=="function"?x.tagCheck=e.ADD_TAGS:(T===We&&(T=M(T)),r(T,e.ADD_TAGS,p))),e.ADD_ATTR&&(typeof e.ADD_ATTR=="function"?x.attributeCheck=e.ADD_ATTR:(d===Be&&(d=M(d)),r(d,e.ADD_ATTR,p))),e.ADD_URI_SAFE_ATTR&&r(De,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(I===Oe&&(I=M(I)),r(I,e.FORBID_CONTENTS,p)),e.ADD_FORBID_CONTENTS&&(I===Oe&&(I=M(I)),r(I,e.ADD_FORBID_CONTENTS,p)),Re&&(T["#text"]=!0),v&&r(T,["html","head","body"]),T.table&&(r(T,["tbody"]),delete V.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw Q('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Q('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,j=g.createHTML("")}else g===void 0&&(g=un(oe,c)),g!==null&&typeof j=="string"&&(j=g.createHTML(""));S&&S(e),W=e}},Qe=r({},[...xe,...Pe,...Qt]),et=r({},[...ke,...en]),Bt=function(e){let t=ie(e);(!t||!t.tagName)&&(t={namespaceURI:G,tagName:"template"});const n=Ee(e.tagName),f=Ee(t.tagName);return be[e.namespaceURI]?e.namespaceURI===me?t.namespaceURI===N?n==="svg":t.namespaceURI===ue?n==="svg"&&(f==="annotation-xml"||pe[f]):!!Qe[n]:e.namespaceURI===ue?t.namespaceURI===N?n==="math":t.namespaceURI===me?n==="math"&&Te[f]:!!et[n]:e.namespaceURI===N?t.namespaceURI===me&&!Te[f]||t.namespaceURI===ue&&!pe[f]?!1:!et[n]&&(Ht[n]||!Qe[n]):!!(K==="application/xhtml+xml"&&be[e.namespaceURI]):!1},y=function(e){J(o.removed,{element:e});try{ie(e).removeChild(e)}catch{bt(e)}},U=function(e,t){try{J(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{J(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(H||ce)try{y(t)}catch{}else try{t.setAttribute(e,"")}catch{}},tt=function(e){let t=null,n=null;if(Se)e=""+e;else{const m=we(e,/^[\r\n\t ]+/);n=m&&m[0]}K==="application/xhtml+xml"&&G===N&&(e=''+e+"");const f=g?g.createHTML(e):e;if(G===N)try{t=new Dt().parseFromString(f,K)}catch{}if(!t||!t.documentElement){t=ge.createDocument(G,"template",null);try{t.documentElement.innerHTML=Le?j:f}catch{}}const _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),G===N?Mt.call(t,v?"html":"body")[0]:v?t.documentElement:_},nt=function(e){return It.call(e.ownerDocument||e,e,Y.SHOW_ELEMENT|Y.SHOW_COMMENT|Y.SHOW_TEXT|Y.SHOW_PROCESSING_INSTRUCTION|Y.SHOW_CDATA_SECTION,null)},Ce=function(e){return e instanceof Ot&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof Rt)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Ie=function(e){return typeof _e=="function"&&e instanceof _e};function w(i,e,t){Z(i,n=>{n.call(o,e,t,W)})}const ot=function(e){let t=null;if(w(h.beforeSanitizeElements,e,null),Ce(e))return y(e),!0;const n=p(e.nodeName);if(w(h.uponSanitizeElement,e,{tagName:n,allowedTags:T}),$&&e.hasChildNodes()&&!Ie(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||$&&e.namespaceURI===N&&n==="style"&&Ie(e.firstElementChild)||e.nodeType===te.progressingInstruction||$&&e.nodeType===te.comment&&A(/<[/\w]/g,e.data))return y(e),!0;if(V[n]||!(x.tagCheck instanceof Function&&x.tagCheck(n))&&!T[n]){if(!V[n]&&at(n)&&(u.tagNameCheck instanceof RegExp&&A(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n)))return!1;if(Re&&!I[n]){const f=ie(e)||e.parentNode,_=Ct(e)||e.childNodes;if(_&&f){const m=_.length;for(let D=m-1;D>=0;--D){const L=Lt(_[D],!0);L.__removalCount=(e.__removalCount||0)+1,f.insertBefore(L,yt(e))}}}return y(e),!0}return e instanceof He&&!Bt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(y(e),!0):(k&&e.nodeType===te.text&&(t=e.textContent,Z([ae,re,se],f=>{t=B(t,f," ")}),e.textContent!==t&&(J(o.removed,{element:e.cloneNode()}),e.textContent=t)),w(h.afterSanitizeElements,e,null),!1)},it=function(e,t,n){if(le[t]||Ve&&(t==="id"||t==="name")&&(n in l||n in Wt))return!1;if(!(he&&!le[t]&&A(xt,t))){if(!(Ye&&A(Pt,t))){if(!(x.attributeCheck instanceof Function&&x.attributeCheck(t,e))){if(!d[t]||le[t]){if(!(at(e)&&(u.tagNameCheck instanceof RegExp&&A(u.tagNameCheck,e)||u.tagNameCheck instanceof Function&&u.tagNameCheck(e))&&(u.attributeNameCheck instanceof RegExp&&A(u.attributeNameCheck,t)||u.attributeNameCheck instanceof Function&&u.attributeNameCheck(t,e))||t==="is"&&u.allowCustomizedBuiltInElements&&(u.tagNameCheck instanceof RegExp&&A(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n))))return!1}else if(!De[t]){if(!A(Ge,B(n,ze,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&qt(n,"data:")===0&&qe[e])){if(!(Xe&&!A(kt,B(n,ze,"")))){if(n)return!1}}}}}}}return!0},at=function(e){return e!=="annotation-xml"&&we(e,vt)},rt=function(e){w(h.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Ce(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d,forceKeepAttr:void 0};let f=t.length;for(;f--;){const _=t[f],{name:m,namespaceURI:D,value:L}=_,P=p(m),Ne=L;let E=m==="value"?Ne:Kt(Ne);if(n.attrName=P,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,w(h.uponSanitizeAttribute,e,n),E=n.attrValue,$e&&(P==="id"||P==="name")&&(U(m,e),E=Ut+E),$&&A(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,E)){U(m,e);continue}if(P==="attributename"&&we(E,"href")){U(m,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){U(m,e);continue}if(!je&&A(/\/>/i,E)){U(m,e);continue}k&&Z([ae,re,se],ct=>{E=B(E,ct," ")});const lt=p(e.nodeName);if(!it(lt,P,E)){U(m,e);continue}if(g&&typeof oe=="object"&&typeof oe.getAttributeType=="function"&&!D)switch(oe.getAttributeType(lt,P)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==Ne)try{D?e.setAttributeNS(D,m,E):e.setAttribute(m,E),Ce(e)?y(e):ut(o.removed)}catch{U(m,e)}}w(h.afterSanitizeAttributes,e,null)},st=function(e){let t=null;const n=nt(e);for(w(h.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)w(h.uponSanitizeShadowNode,t,null),ot(t),rt(t),t.content instanceof O&&st(t.content);w(h.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,f=null,_=null;if(Le=!i,Le&&(i=""),typeof i!="string"&&!Ie(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw Q("dirty is not a string, aborting")}else throw Q("toString is not a function");if(!o.isSupported)return i;if(Ae||ye(e),o.removed=[],typeof i=="string"&&(q=!1),q){if(i.nodeName){const L=p(i.nodeName);if(!T[L]||V[L])throw Q("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof _e)t=tt(""),n=t.ownerDocument.importNode(i,!0),n.nodeType===te.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!H&&!k&&!v&&i.indexOf("<")===-1)return g&&fe?g.createHTML(i):i;if(t=tt(i),!t)return H?null:fe?j:""}t&&Se&&y(t.firstChild);const m=nt(q?i:t);for(;f=m.nextNode();)ot(f),rt(f),f.content instanceof O&&st(f.content);if(q)return i;if(H){if(k){t.normalize();let L=t.innerHTML;Z([ae,re,se],P=>{L=B(L,P," ")}),t.innerHTML=L}if(ce)for(_=Nt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(d.shadowroot||d.shadowrootmode)&&(_=wt.call(a,_,!0)),_}let D=v?t.outerHTML:t.innerHTML;return v&&T["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(At,t.ownerDocument.doctype.name)&&(D=" -`+D),k&&Z([ae,re,se],L=>{D=B(D,L," ")}),g&&fe?g.createHTML(D):D},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ye(i),Ae=!0},o.clearConfig=function(){W=null,Ae=!1},o.isValidAttribute=function(i,e,t){W||ye({});const n=p(i),f=p(e);return it(n,f,t)},o.addHook=function(i,e){typeof e=="function"&&J(h[i],e)},o.removeHook=function(i,e){if(e!==void 0){const t=Vt(h[i],e);return t===-1?void 0:$t(h[i],t,1)[0]}return ut(h[i])},o.removeHooks=function(i){h[i]=[]},o.removeAllHooks=function(){h=_t()},o}var mn=St();export{mn as default}; diff --git a/assets/purify.es-dhnUglUx.js b/assets/purify.es-dhnUglUx.js new file mode 100644 index 0000000..4817de6 --- /dev/null +++ b/assets/purify.es-dhnUglUx.js @@ -0,0 +1,2 @@ +/*! @license DOMPurify 3.4.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.1/LICENSE */const{entries:yt,setPrototypeOf:mt,isFrozen:Kt,getPrototypeOf:Zt,getOwnPropertyDescriptor:Jt}=Object;let{freeze:y,seal:N,create:X}=Object,{apply:Fe,construct:He}=typeof Reflect<"u"&&Reflect;y||(y=function(n){return n});N||(N=function(n){return n});Fe||(Fe=function(n,l){for(var a=arguments.length,c=new Array(a>2?a-2:0),b=2;b1?l-1:0),c=1;c"u"?null:T(BigInt.prototype.toString),Et=typeof Symbol>"u"?null:T(Symbol.prototype.toString),u=T(Object.prototype.hasOwnProperty),ne=T(Object.prototype.toString),g=T(RegExp.prototype.test),de=rn(TypeError);function T(i){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var l=arguments.length,a=new Array(l>1?l-1:0),c=1;c2&&arguments[2]!==void 0?arguments[2]:ie;if(mt&&mt(i,null),!O(n))return i;let a=n.length;for(;a--;){let c=n[a];if(typeof c=="string"){const b=l(c);b!==c&&(Kt(n)||(n[a]=b),c=b)}i[c]=!0}return i}function an(i){for(let n=0;n/gm),pn=N(/\$\{[\w\W]*/gm),Tn=N(/^data-[\-\w.\u00B7-\uFFFF]+$/),dn=N(/^aria-[\-\w]+$/),bt=N(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),_n=N(/^(?:\w+script|data):/i),En=N(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Dt=N(/^html$/i),An=N(/^[a-z][.\w]*(-[.\w]+)+$/i);var Rt=Object.freeze({__proto__:null,ARIA_ATTR:dn,ATTR_WHITESPACE:En,CUSTOM_ELEMENT:An,DATA_ATTR:Tn,DOCTYPE_NAME:Dt,ERB_EXPR:mn,IS_ALLOWED_URI:bt,IS_SCRIPT_OR_DATA:_n,MUSTACHE_EXPR:un,TMPLIT_EXPR:pn});const oe={element:1,text:3,progressingInstruction:7,comment:8,document:9},gn=function(){return typeof window>"u"?null:window},hn=function(n,l){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let a=null;const c="data-tt-policy-suffix";l&&l.hasAttribute(c)&&(a=l.getAttribute(c));const b="dompurify"+(a?"#"+a:"");try{return n.createPolicy(b,{createHTML(H){return H},createScriptURL(H){return H}})}catch{return console.warn("TrustedTypes policy "+b+" could not be created."),null}},Ot=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function It(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:gn();const n=r=>It(r);if(n.version="3.4.1",n.removed=[],!i||!i.document||i.document.nodeType!==oe.document||!i.Element)return n.isSupported=!1,n;let{document:l}=i;const a=l,c=a.currentScript,{DocumentFragment:b,HTMLTemplateElement:H,Node:Ee,Element:ze,NodeFilter:V,NamedNodeMap:Lt=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:Nt,DOMParser:Ct,trustedTypes:re}=i,$=ze.prototype,Mt=j($,"cloneNode"),wt=j($,"remove"),Pt=j($,"nextSibling"),xt=j($,"childNodes"),ae=j($,"parentNode");if(typeof H=="function"){const r=l.createElement("template");r.content&&r.content.ownerDocument&&(l=r.content.ownerDocument)}let S,q="";const{implementation:Ae,createNodeIterator:kt,createDocumentFragment:Ut,getElementsByTagName:vt}=l,{importNode:Ft}=a;let R=Ot();n.isSupported=typeof yt=="function"&&typeof ae=="function"&&Ae&&Ae.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:se,ERB_EXPR:le,TMPLIT_EXPR:ce,DATA_ATTR:Ht,ARIA_ATTR:zt,IS_SCRIPT_OR_DATA:Gt,ATTR_WHITESPACE:Ge,CUSTOM_ELEMENT:Bt}=Rt;let{IS_ALLOWED_URI:Be}=Rt,_=null;const We=s({},[...At,...xe,...ke,...Ue,...gt]);let A=null;const Ye=s({},[...ht,...ve,...St,..._e]);let m=Object.seal(X(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}})),K=null,fe=null;const k=Object.seal(X(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Xe=!0,ge=!0,je=!1,Ve=!0,U=!1,Z=!0,v=!1,he=!1,Se=!1,z=!1,ue=!1,me=!1,$e=!0,qe=!1;const Ke="user-content-";let Re=!0,J=!1,G={},w=null;const Oe=s({},["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 Ze=null;const Je=s({},["audio","video","img","source","image","track"]);let ye=null;const Qe=s({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pe="http://www.w3.org/1998/Math/MathML",Te="http://www.w3.org/2000/svg",P="http://www.w3.org/1999/xhtml";let B=P,be=!1,De=null;const Wt=s({},[pe,Te,P],Pe);let Ie=s({},["mi","mo","mn","ms","mtext"]),Le=s({},["annotation-xml"]);const Yt=s({},["title","style","font","a","script"]);let Q=null;const Xt=["application/xhtml+xml","text/html"],jt="text/html";let d=null,W=null;const Vt=l.createElement("form"),et=function(e){return e instanceof RegExp||e instanceof Function},Ne=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(W&&W===e)return;(!e||typeof e!="object")&&(e={}),e=I(e),Q=Xt.indexOf(e.PARSER_MEDIA_TYPE)===-1?jt:e.PARSER_MEDIA_TYPE,d=Q==="application/xhtml+xml"?Pe:ie,_=u(e,"ALLOWED_TAGS")&&O(e.ALLOWED_TAGS)?s({},e.ALLOWED_TAGS,d):We,A=u(e,"ALLOWED_ATTR")&&O(e.ALLOWED_ATTR)?s({},e.ALLOWED_ATTR,d):Ye,De=u(e,"ALLOWED_NAMESPACES")&&O(e.ALLOWED_NAMESPACES)?s({},e.ALLOWED_NAMESPACES,Pe):Wt,ye=u(e,"ADD_URI_SAFE_ATTR")&&O(e.ADD_URI_SAFE_ATTR)?s(I(Qe),e.ADD_URI_SAFE_ATTR,d):Qe,Ze=u(e,"ADD_DATA_URI_TAGS")&&O(e.ADD_DATA_URI_TAGS)?s(I(Je),e.ADD_DATA_URI_TAGS,d):Je,w=u(e,"FORBID_CONTENTS")&&O(e.FORBID_CONTENTS)?s({},e.FORBID_CONTENTS,d):Oe,K=u(e,"FORBID_TAGS")&&O(e.FORBID_TAGS)?s({},e.FORBID_TAGS,d):I({}),fe=u(e,"FORBID_ATTR")&&O(e.FORBID_ATTR)?s({},e.FORBID_ATTR,d):I({}),G=u(e,"USE_PROFILES")?e.USE_PROFILES&&typeof e.USE_PROFILES=="object"?I(e.USE_PROFILES):e.USE_PROFILES:!1,Xe=e.ALLOW_ARIA_ATTR!==!1,ge=e.ALLOW_DATA_ATTR!==!1,je=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ve=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,U=e.SAFE_FOR_TEMPLATES||!1,Z=e.SAFE_FOR_XML!==!1,v=e.WHOLE_DOCUMENT||!1,z=e.RETURN_DOM||!1,ue=e.RETURN_DOM_FRAGMENT||!1,me=e.RETURN_TRUSTED_TYPE||!1,Se=e.FORCE_BODY||!1,$e=e.SANITIZE_DOM!==!1,qe=e.SANITIZE_NAMED_PROPS||!1,Re=e.KEEP_CONTENT!==!1,J=e.IN_PLACE||!1,Be=ln(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:bt,B=typeof e.NAMESPACE=="string"?e.NAMESPACE:P,Ie=u(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&typeof e.MATHML_TEXT_INTEGRATION_POINTS=="object"?I(e.MATHML_TEXT_INTEGRATION_POINTS):s({},["mi","mo","mn","ms","mtext"]),Le=u(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&typeof e.HTML_INTEGRATION_POINTS=="object"?I(e.HTML_INTEGRATION_POINTS):s({},["annotation-xml"]);const t=u(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING=="object"?I(e.CUSTOM_ELEMENT_HANDLING):X(null);if(m=X(null),u(t,"tagNameCheck")&&et(t.tagNameCheck)&&(m.tagNameCheck=t.tagNameCheck),u(t,"attributeNameCheck")&&et(t.attributeNameCheck)&&(m.attributeNameCheck=t.attributeNameCheck),u(t,"allowCustomizedBuiltInElements")&&typeof t.allowCustomizedBuiltInElements=="boolean"&&(m.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),U&&(ge=!1),ue&&(z=!0),G&&(_=s({},gt),A=X(null),G.html===!0&&(s(_,At),s(A,ht)),G.svg===!0&&(s(_,xe),s(A,ve),s(A,_e)),G.svgFilters===!0&&(s(_,ke),s(A,ve),s(A,_e)),G.mathMl===!0&&(s(_,Ue),s(A,St),s(A,_e))),k.tagCheck=null,k.attributeCheck=null,u(e,"ADD_TAGS")&&(typeof e.ADD_TAGS=="function"?k.tagCheck=e.ADD_TAGS:O(e.ADD_TAGS)&&(_===We&&(_=I(_)),s(_,e.ADD_TAGS,d))),u(e,"ADD_ATTR")&&(typeof e.ADD_ATTR=="function"?k.attributeCheck=e.ADD_ATTR:O(e.ADD_ATTR)&&(A===Ye&&(A=I(A)),s(A,e.ADD_ATTR,d))),u(e,"ADD_URI_SAFE_ATTR")&&O(e.ADD_URI_SAFE_ATTR)&&s(ye,e.ADD_URI_SAFE_ATTR,d),u(e,"FORBID_CONTENTS")&&O(e.FORBID_CONTENTS)&&(w===Oe&&(w=I(w)),s(w,e.FORBID_CONTENTS,d)),u(e,"ADD_FORBID_CONTENTS")&&O(e.ADD_FORBID_CONTENTS)&&(w===Oe&&(w=I(w)),s(w,e.ADD_FORBID_CONTENTS,d)),Re&&(_["#text"]=!0),v&&s(_,["html","head","body"]),_.table&&(s(_,["tbody"]),delete K.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw de('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw de('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');S=e.TRUSTED_TYPES_POLICY,q=S.createHTML("")}else S===void 0&&(S=hn(re,c)),S!==null&&typeof q=="string"&&(q=S.createHTML(""));y&&y(e),W=e},tt=s({},[...xe,...ke,...cn]),nt=s({},[...Ue,...fn]),$t=function(e){let t=ae(e);(!t||!t.tagName)&&(t={namespaceURI:B,tagName:"template"});const o=ie(e.tagName),f=ie(t.tagName);return De[e.namespaceURI]?e.namespaceURI===Te?t.namespaceURI===P?o==="svg":t.namespaceURI===pe?o==="svg"&&(f==="annotation-xml"||Ie[f]):!!tt[o]:e.namespaceURI===pe?t.namespaceURI===P?o==="math":t.namespaceURI===Te?o==="math"&&Le[f]:!!nt[o]:e.namespaceURI===P?t.namespaceURI===Te&&!Le[f]||t.namespaceURI===pe&&!Ie[f]?!1:!nt[o]&&(Yt[o]||!tt[o]):!!(Q==="application/xhtml+xml"&&De[e.namespaceURI]):!1},C=function(e){te(n.removed,{element:e});try{ae(e).removeChild(e)}catch{wt(e)}},F=function(e,t){try{te(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch{te(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(z||ue)try{C(t)}catch{}else try{t.setAttribute(e,"")}catch{}},ot=function(e){let t=null,o=null;if(Se)e=""+e;else{const p=Tt(e,/^[\r\n\t ]+/);o=p&&p[0]}Q==="application/xhtml+xml"&&B===P&&(e=''+e+"");const f=S?S.createHTML(e):e;if(B===P)try{t=new Ct().parseFromString(f,Q)}catch{}if(!t||!t.documentElement){t=Ae.createDocument(B,"template",null);try{t.documentElement.innerHTML=be?q:f}catch{}}const h=t.body||t.documentElement;return e&&o&&h.insertBefore(l.createTextNode(o),h.childNodes[0]||null),B===P?vt.call(t,v?"html":"body")[0]:v?t.documentElement:h},it=function(e){return kt.call(e.ownerDocument||e,e,V.SHOW_ELEMENT|V.SHOW_COMMENT|V.SHOW_TEXT|V.SHOW_PROCESSING_INSTRUCTION|V.SHOW_CDATA_SECTION,null)},Ce=function(e){return e instanceof Nt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof Lt)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Me=function(e){return typeof Ee=="function"&&e instanceof Ee};function x(r,e,t){ee(r,o=>{o.call(n,e,t,W)})}const rt=function(e){let t=null;if(x(R.beforeSanitizeElements,e,null),Ce(e))return C(e),!0;const o=d(e.nodeName);if(x(R.uponSanitizeElement,e,{tagName:o,allowedTags:_}),Z&&e.hasChildNodes()&&!Me(e.firstElementChild)&&g(/<[/\w!]/g,e.innerHTML)&&g(/<[/\w!]/g,e.textContent)||Z&&e.namespaceURI===P&&o==="style"&&Me(e.firstElementChild)||e.nodeType===oe.progressingInstruction||Z&&e.nodeType===oe.comment&&g(/<[/\w]/g,e.data))return C(e),!0;if(K[o]||!(k.tagCheck instanceof Function&&k.tagCheck(o))&&!_[o]){if(!K[o]&&st(o)&&(m.tagNameCheck instanceof RegExp&&g(m.tagNameCheck,o)||m.tagNameCheck instanceof Function&&m.tagNameCheck(o)))return!1;if(Re&&!w[o]){const f=ae(e)||e.parentNode,h=xt(e)||e.childNodes;if(h&&f){const p=h.length;for(let D=p-1;D>=0;--D){const L=Mt(h[D],!0);f.insertBefore(L,Pt(e))}}}return C(e),!0}return e instanceof ze&&!$t(e)||(o==="noscript"||o==="noembed"||o==="noframes")&&g(/<\/no(script|embed|frames)/i,e.innerHTML)?(C(e),!0):(U&&e.nodeType===oe.text&&(t=e.textContent,ee([se,le,ce],f=>{t=Y(t,f," ")}),e.textContent!==t&&(te(n.removed,{element:e.cloneNode()}),e.textContent=t)),x(R.afterSanitizeElements,e,null),!1)},at=function(e,t,o){if(fe[t]||$e&&(t==="id"||t==="name")&&(o in l||o in Vt))return!1;if(!(ge&&!fe[t]&&g(Ht,t))){if(!(Xe&&g(zt,t))){if(!(k.attributeCheck instanceof Function&&k.attributeCheck(t,e))){if(!A[t]||fe[t]){if(!(st(e)&&(m.tagNameCheck instanceof RegExp&&g(m.tagNameCheck,e)||m.tagNameCheck instanceof Function&&m.tagNameCheck(e))&&(m.attributeNameCheck instanceof RegExp&&g(m.attributeNameCheck,t)||m.attributeNameCheck instanceof Function&&m.attributeNameCheck(t,e))||t==="is"&&m.allowCustomizedBuiltInElements&&(m.tagNameCheck instanceof RegExp&&g(m.tagNameCheck,o)||m.tagNameCheck instanceof Function&&m.tagNameCheck(o))))return!1}else if(!ye[t]){if(!g(Be,Y(o,Ge,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&dt(o,"data:")===0&&Ze[e])){if(!(je&&!g(Gt,Y(o,Ge,"")))){if(o)return!1}}}}}}}return!0},qt=s({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),st=function(e){return!qt[ie(e)]&&g(Bt,e)},lt=function(e){x(R.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Ce(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:A,forceKeepAttr:void 0};let f=t.length;for(;f--;){const h=t[f],{name:p,namespaceURI:D,value:L}=h,M=d(p),we=L;let E=p==="value"?we:tn(we);if(o.attrName=M,o.attrValue=E,o.keepAttr=!0,o.forceKeepAttr=void 0,x(R.uponSanitizeAttribute,e,o),E=o.attrValue,qe&&(M==="id"||M==="name")&&dt(E,Ke)!==0&&(F(p,e),E=Ke+E),Z&&g(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,E)){F(p,e);continue}if(M==="attributename"&&Tt(E,"href")){F(p,e);continue}if(o.forceKeepAttr)continue;if(!o.keepAttr){F(p,e);continue}if(!Ve&&g(/\/>/i,E)){F(p,e);continue}U&&ee([se,le,ce],ut=>{E=Y(E,ut," ")});const ft=d(e.nodeName);if(!at(ft,M,E)){F(p,e);continue}if(S&&typeof re=="object"&&typeof re.getAttributeType=="function"&&!D)switch(re.getAttributeType(ft,M)){case"TrustedHTML":{E=S.createHTML(E);break}case"TrustedScriptURL":{E=S.createScriptURL(E);break}}if(E!==we)try{D?e.setAttributeNS(D,p,E):e.setAttribute(p,E),Ce(e)?C(e):pt(n.removed)}catch{F(p,e)}}x(R.afterSanitizeAttributes,e,null)},ct=function(e){let t=null;const o=it(e);for(x(R.beforeSanitizeShadowDOM,e,null);t=o.nextNode();)x(R.uponSanitizeShadowNode,t,null),rt(t),lt(t),t.content instanceof b&&ct(t.content);x(R.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,o=null,f=null,h=null;if(be=!r,be&&(r=""),typeof r!="string"&&!Me(r)&&(r=sn(r),typeof r!="string"))throw de("dirty is not a string, aborting");if(!n.isSupported)return r;if(he||Ne(e),n.removed=[],typeof r=="string"&&(J=!1),J){const L=r.nodeName;if(typeof L=="string"){const M=d(L);if(!_[M]||K[M])throw de("root node is forbidden and cannot be sanitized in-place")}}else if(r instanceof Ee)t=ot(""),o=t.ownerDocument.importNode(r,!0),o.nodeType===oe.element&&o.nodeName==="BODY"||o.nodeName==="HTML"?t=o:t.appendChild(o);else{if(!z&&!U&&!v&&r.indexOf("<")===-1)return S&&me?S.createHTML(r):r;if(t=ot(r),!t)return z?null:me?q:""}t&&Se&&C(t.firstChild);const p=it(J?r:t);for(;f=p.nextNode();)rt(f),lt(f),f.content instanceof b&&ct(f.content);if(J)return r;if(z){if(U){t.normalize();let L=t.innerHTML;ee([se,le,ce],M=>{L=Y(L,M," ")}),t.innerHTML=L}if(ue)for(h=Ut.call(t.ownerDocument);t.firstChild;)h.appendChild(t.firstChild);else h=t;return(A.shadowroot||A.shadowrootmode)&&(h=Ft.call(a,h,!0)),h}let D=v?t.outerHTML:t.innerHTML;return v&&_["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&g(Dt,t.ownerDocument.doctype.name)&&(D=" +`+D),U&&ee([se,le,ce],L=>{D=Y(D,L," ")}),S&&me?S.createHTML(D):D},n.setConfig=function(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ne(r),he=!0},n.clearConfig=function(){W=null,he=!1},n.isValidAttribute=function(r,e,t){W||Ne({});const o=d(r),f=d(e);return at(o,f,t)},n.addHook=function(r,e){typeof e=="function"&&te(R[r],e)},n.removeHook=function(r,e){if(e!==void 0){const t=Qt(R[r],e);return t===-1?void 0:en(R[r],t,1)[0]}return pt(R[r])},n.removeHooks=function(r){R[r]=[]},n.removeAllHooks=function(){R=Ot()},n}var Sn=It();export{Sn as default}; diff --git a/index.html b/index.html index c8d05b4..d6ce6ba 100644 --- a/index.html +++ b/index.html @@ -17,8 +17,8 @@ Topola Genealogy Viewer - - + +