PageSourceSearch

https://hemingwayapp.com/_next/static/chunks/3jhqs_cilfvpr.js

js hemingwayapp.com collected 2026-09-24 07:57:57 UTC 482,355 bytes, 57 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="c3823aad-d567-ca1e-6caa-8138cb929078")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,491195,631755,e=>{"use strict";var t=e.i(235245);e.s(["default",0,function(e){return function(e){let t=e.split("\n"),r=[],n=e=>{let t=e.match(/^(\s*)\*/);return t?t[1].length:-1};for(let e=0;e<t.length;e++){let i=n(t[e]),a=e+2<t.length?n(t[e+2]):-1,o=-1!==i,s=void 0!==t[e+1]&&""===t[e+1].trim(),u=-1!==a;o&&s&&u?(r.push(t[e]),e++):r.push(t[e])}return r.join("\n")}((0,t.default)(e))}],491195);var r,n=e.i(843476),i=e.i(271645),a=(0,i.forwardRef)(({as:e="div",...t},r)=>(0,n.jsx)(e,{...t,ref:r})),o="cf-turnstile-script",s="onloadTurnstileCallback",u={normal:{width:300,height:65},compact:{width:150,height:140},invisible:{width:0,height:0,overflow:"hidden"},flexible:{minWidth:300,width:"100%",height:65},interactionOnly:{width:"fit-content",height:"auto",display:"flex"}},l="unloaded",c=new Promise((e,t)=>{r={resolve:e,reject:t},"ready"===l&&e(void 0)}),d=(0,i.forwardRef)((e,t)=>{let{scriptOptions:d,options:p={},siteKey:f,onWidgetLoad:h,onSuccess:m,onExpire:g,onError:v,onBeforeInteractive:_,onAfterInteractive:y,onUnsupported:b,onTimeout:k,onLoadScript:x,id:$,style:w,as:S="div",injectScript:I=!0,...E}=e,O=p.size,D=(0,i.useCallback)(()=>typeof O>"u"?{}:"execute"===p.execution?u.invisible:"interaction-only"===p.appearance?u.interactionOnly:u[O],[p.execution,O,p.appearance]),[A,T]=(0,i.useState)(D()),C=(0,i.useRef)(null),[j,z]=(0,i.useState)(!1),P=(0,i.useRef)(),N=(0,i.useRef)(!1),Z=$||"cf-turnstile",F=d?.id||o,U=function(e=o){let[t,r]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let t=()=>{document.getElementById(e)&&r(!0)},n=new MutationObserver(t);return n.observe(document,{childList:!0,subtree:!0}),t(),()=>{n.disconnect()}},[e]),t}(F),M=d?.onLoadCallbackName||s,L=p.appearance||"always",R=(0,i.useMemo)(()=>({sitekey:f,action:p.action,cData:p.cData,callback:e=>{N.current=!0,m?.(e)},"error-callback":v,"expired-callback":g,"before-interactive-callback":_,"after-interactive-callback":y,"unsupported-callback":b,theme:p.theme||"auto",language:p.language||"auto",tabindex:p.tabIndex,"response-field":p.responseField,"response-field-name":p.responseFieldName,size:function(e){if("invisible"!==e&&"interactionOnly"!==e)return e}(O),retry:p.retry||"auto","retry-interval":p.retryInterval||8e3,"refresh-expired":p.refreshExpired||"auto","refresh-timeout":p.refreshTimeout||"auto",execution:p.execution||"render",appearance:p.appearance||"always","feedback-enabled":p.feedbackEnabled||!0,"timeout-callback":k}),[p.action,p.appearance,p.cData,p.execution,p.language,p.refreshExpired,p.responseField,p.responseFieldName,p.retry,p.retryInterval,p.tabIndex,p.theme,p.feedbackEnabled,p.refreshTimeout,f,O]),B=(0,i.useCallback)(()=>"u">typeof window&&!!window.turnstile,[]);return(0,i.useEffect)(function(){I&&!j&&(({render:e="explicit",onLoadCallbackName:t=s,scriptOptions:{nonce:r="",defer:n=!0,async:i=!0,id:a="",appendTo:u,onError:l,crossOrigin:c=""}={}})=>{let d=a||o;if(document.getElementById(d))return;let p=document.createElement("script");p.id=d,p.src=`https://challenges.cloudflare.com/turnstile/v0/api.js?onload=${t}&render=${e}`,document.querySelector(`script[src="${p.src}"]`)||(p.defer=!!n,p.async=!!i,r&&(p.nonce=r),c&&(p.crossOrigin=c),l&&(p.onerror=l,delete window[t]),("body"===u?document.body:document.getElementsByTagName("head")[0]).appendChild(p))})({onLoadCallbackName:M,scriptOptions:{...d,id:F}})},[I,j,d,F]),(0,i.useEffect)(function(){"ready"!==l&&((e=s)=>("unloaded"===l&&(l="loading",window[e]=()=>{r.resolve(),l="ready",delete window[e]}),c))(M).then(()=>z(!0)).catch(console.error)},[]),(0,i.useEffect)(function(){if(!C.current||!j)return;let e=!1;return(async()=>{e||!C.current||(P.current=window.turnstile.render(C.current,R),P.current&&h?.(P.current))})(),()=>{e=!0,P.current&&(window.turnstile.remove(P.current),N.current=!1)}},[Z,j,R]),(0,i.useImperativeHandle)(t,()=>{let{turnstile:e}=window;return{getResponse:()=>e?.getResponse&&P.current&&B()?e.getResponse(P.current):void console.warn("Turnstile has not been loaded"),getResponsePromise:async(e=3e4,t=100)=>new Promise((r,n)=>{let i,a=async()=>
2{if(N.current&&window.turnstile&&P.current)try{let e=window.turnstile.getResponse(P.current);return i&&clearTimeout(i),e?r(e):n(Error("No response received"))}catch(e){return i&&clearTimeout(i),console.warn("Failed to get response",e),n(Error("Failed to get response"))}i||(i=setTimeout(()=>{i&&clearTimeout(i),n(Error("Timeout"))},e)),await new Promise(e=>setTimeout(e,t)),await a()};a()}),reset(){if(!e?.reset||!P.current||!B())return void console.warn("Turnstile has not been loaded");"execute"===p.execution&&T(u.invisible);try{N.current=!1,e.reset(P.current)}catch(e){console.warn(`Failed to reset Turnstile widget ${P}`,e)}},remove(){e?.remove&&P.current&&B()?(T(u.invisible),N.current=!1,e.remove(P.current),P.current=null):console.warn("Turnstile has not been loaded")},render(){if(!e?.render||!C.current||!B()||P.current)return void console.warn("Turnstile has not been loaded or container not found");let t=e.render(C.current,R);return P.current=t,P.current&&h?.(P.current),"execute"!==p.execution&&T(O?u[O]:{}),t},execute(){"execute"!==p.execution?console.warn('Execution mode is not set to "execute"'):e?.execute&&C.current&&P.current&&B()?(e.execute(C.current,R),T(O?u[O]:{})):console.warn("Turnstile has not been loaded or container not found")},isExpired:()=>e?.isExpired&&P.current&&B()?e.isExpired(P.current):(console.warn("Turnstile has not been loaded"),!1)}},[P,p.execution,O,R,C,B,j,h]),(0,i.useEffect)(()=>{U&&!j&&window.turnstile&&z(!0)},[j,U]),(0,i.useEffect)(()=>{T(D())},[p.execution,O,L]),(0,i.useEffect)(()=>{U&&"function"==typeof x&&x()},[U]),(0,n.jsx)(a,{ref:C,as:S,id:Z,style:{...A,...w},...E})});d.displayName="Turnstile";var p=e.i(735084),f=e.i(424795);let h=({action:e})=>{let t=(0,p.useDemoUsageStore)(e=>e.setTurnstileRef),r=(0,p.useDemoUsageStore)(e=>e.setToken),a=i.default.useCallback(()=>(r(null),!0),[r]);return(0,n.jsx)(d,{onError:a,onSuccess:r,options:{action:e,retry:"never"},ref:t,siteKey:"0x4AAAAAAA0VwpWMVcM8F3q2"})};e.s(["default",0,({action:e})=>(0,n.jsx)(f.default,{fallbackElement:()=>(0,n.jsx)(h,{action:e}),children:(0,n.jsx)(n.Fragment,{})})],631755)},226052,895729,e=>{"use strict";var t,r,n,i,a,o,s,u,l,c,d,p,f,h=e.i(428762),m=e.i(614339),g=e.i(662537),v=e.i(775988);let _=e=>" "===e?"space":"\n"===e?"line-feed":"\r"===e?"carriage-return":"	"===e?"tab":" "===e?"nonbreaking-space":/\s/.test(e)?"other-whitespace":"non-whitespace",y=new Set(["doc","paragraph","text","heading","blockquote","bulletList","orderedList","listItem","hardBreak","horizontalRule","codeBlock"]),b=new Set(["bold","italic","link","strike","code"]),k={};function x(e,t){"string"!=typeof t&&(t=x.defaultChars);let r=function(e){let t=k[e];if(t)return t;t=k[e]=[];for(let e=0;e<128;e++){let r=String.fromCharCode(e);t.push(r)}for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);t[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){let t="";for(let n=0,i=e.length;n<i;n+=3){let a=parseInt(e.slice(n+1,n+3),16);if(a<128){t+=r[a];continue}if((224&a)==192&&n+3<i){let r=parseInt(e.slice(n+4,n+6),16);if((192&r)==128){let e=a<<6&1984|63&r;e<128?t+="��":t+=String.fromCharCode(e),n+=3;continue}}if((240&a)==224&&n+6<i){let r=parseInt(e.slice(n+4,n+6),16),i=parseInt(e.slice(n+7,n+9),16);if((192&r)==128&&(192&i)==128){let e=a<<12&61440|r<<6&4032|63&i;e<2048||e>=55296&&e<=57343?t+="���":t+=String.fromCharCode(e),n+=6;continue}}if((248&a)==240&&n+9<i){let r=parseInt(e.slice(n+4,n+6),16),i=parseInt(e.slice(n+7,n+9),16),o=parseInt(e.slice(n+10,n+12),16);if((192&r)==128&&(192&i)==128&&(192&o)==128){let e=a<<18&1835008|r<<12&258048|i<<6&4032|63&o;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),n+=9;continue}}t+="�"}return t})}x.defaultChars=";/?:@&=+$,#",x.componentChars="";let $={};function w(e,t,r){"string"!=typeof t&&(r=t,t=w.defaultChars),void 0===r&&(r=!0);let n=function(e){let t=$[e];if(t)return t;t=$[e]=[];for(let e=0;e<128;e++){let r=String.fromCharCode(e);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let r=0;r<e.length;r++)t[e.charCodeAt(r)]=e[r];return t}(t),i="";for(let t=0,a=e.length;t<a;t++){let o=e.charCodeAt(t);if(r&&37===o&&t+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3))){i+=e.slice(t,t+3),t+=2;continue}if(o<128){i+=n[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&t+1<a){let r=e.charCodeAt(t+1);if(r>=56320&&r<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[t])}return i}function S(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}function I(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}w.defaultChars=";/?:@&=+$,-_.!~*'()#",w.componentChars="-_.!~*'()";
2let E=/^([a-z0-9.+-]+:)/i,O=/:[0-9]*$/,D=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,A=["%","/","?",";","#"].concat(["'"].concat(["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","	"]))),T=["/","?","#"],C=/^[+a-z0-9A-Z_-]{0,63}$/,j=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,z={javascript:!0,"javascript:":!0},P={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};I.prototype.parse=function(e,t){let r,n,i,a=e;if(a=a.trim(),!t&&1===e.split("#").length){let e=D.exec(a);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let o=E.exec(a);if(o&&(r=(o=o[0]).toLowerCase(),this.protocol=o,a=a.substr(o.length)),(t||o||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===a.substr(0,2))&&!(o&&z[o])&&(a=a.substr(2),this.slashes=!0),!z[o]&&(i||o&&!P[o])){let e,t,r=-1;for(let e=0;e<T.length;e++)-1!==(n=a.indexOf(T[e]))&&(-1===r||n<r)&&(r=n);-1!==(t=-1===r?a.lastIndexOf("@"):a.lastIndexOf("@",r))&&(e=a.slice(0,t),a=a.slice(t+1),this.auth=e),r=-1;for(let e=0;e<A.length;e++)-1!==(n=a.indexOf(A[e]))&&(-1===r||n<r)&&(r=n);-1===r&&(r=a.length),":"===a[r-1]&&r--;let i=a.slice(0,r);a=a.slice(r),this.parseHost(i),this.hostname=this.hostname||"";let o="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!o){let e=this.hostname.split(/\./);for(let t=0,r=e.length;t<r;t++){let r=e[t];if(r&&!r.match(C)){let n="";for(let e=0,t=r.length;e<t;e++)r.charCodeAt(e)>127?n+="x":n+=r[e];if(!n.match(C)){let n=e.slice(0,t),i=e.slice(t+1),o=r.match(j);o&&(n.push(o[1]),i.unshift(o[2])),i.length&&(a=i.join(".")+a),this.hostname=n.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let s=a.indexOf("#");-1!==s&&(this.hash=a.substr(s),a=a.slice(0,s));let u=a.indexOf("?");return -1!==u&&(this.search=a.substr(u),a=a.slice(0,u)),a&&(this.pathname=a),P[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this},I.prototype.parseHost=function(e){let t=O.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};let N=function(e,t){if(e&&e instanceof I)return e;let r=new I;return r.parse(e,t),r};e.s([],56918),e.i(56918),e.s(["decode",0,x,"encode",0,w,"format",0,S,"parse",0,N],465555);var Z=e.i(465555);let F=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,U=/[\0-\x1F\x7F-\x9F]/,M=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\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-\u2E4F\u2E52-\u2E5D\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[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,L=/[\$\+<->
2\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,R=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;e.s([],681911),e.i(681911),e.s(["Any",0,F,"Cc",0,U,"Cf",0,/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,"P",0,M,"S",0,L,"Z",0,R],707055);var B=e.i(707055);let q=new Uint16Array('
vendor: 8,301 bytes, line 2
2ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms�„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;æ«§ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapÓºÓ¾cr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpÔ¦Ôªon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋ĀipÕªÕ¯sts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0Ö£mallSquare;旼erySmallSquare;斪Ͱֺ\0Ö¿\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0Ú²f;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgÜ´Ü·r;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyÞ±Þµrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āeyß¶ß»dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;æ««y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;
vendor: 7,828 bytes, line 2
2쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;
vendor: 4,294 bytes, line 2
2䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;
vendor: 6,210 bytes, line 2
2astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌
2'.split("").map(e=>e.charCodeAt(0))),V=new Uint16Array("Ȁaglq	\x15\x18\x1bɭ\x0f\0\0\x12p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0))),W=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),J=null!=(s=String.fromCodePoint)?s:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};function G(e){return e>=u.ZERO&&e<=u.NINE}(t=u||(u={}))[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z",(r=l||(l={}))[r.VALUE_LENGTH=49152]="VALUE_LENGTH",r[r.BRANCH_LENGTH=16256]="BRANCH_LENGTH",r[r.JUMP_TABLE=127]="JUMP_TABLE",(n=c||(c={}))[n.EntityStart=0]="EntityStart",n[n.NumericStart=1]="NumericStart",n[n.NumericDecimal=2]="NumericDecimal",n[n.NumericHex=3]="NumericHex",n[n.NamedEntity=4]="NamedEntity",(i=d||(d={}))[i.Legacy=0]="Legacy",i[i.Strict=1]="Strict",i[i.Attribute=2]="Attribute";class K{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=c.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=d.Strict}startEntity(e){this.decodeMode=e,this.state=c.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case c.EntityStart:if(e.charCodeAt(t)===u.NUM)return this.state=c.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=c.NamedEntity,this.stateNamedEntity(e,t);case c.NumericStart:return this.stateNumericStart(e,t);case c.NumericDecimal:return this.stateNumericDecimal(e,t);case c.NumericHex:return this.stateNumericHex(e,t);case c.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===u.LOWER_X?(this.state=c.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=c.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,n){if(t!==r){let i=r-t;this.result=this.result*Math.pow(n,i)+parseInt(e.substr(t,i),n),this.consumed+=i}}stateNumericHex(e,t){let r=t;for(;t<e.length;){var n;let i=e.charCodeAt(t);if(!G(i)&&(!((n=i)>=u.UPPER_A)||!(n<=u.UPPER_F))&&(!(n>=u.LOWER_A)||!(n<=u.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,r,t,16),-1}stateNumericDecimal(e,t){let r=t;for(;t<e.length;){let n=e.charCodeAt(t);if(!G(n))return this.addToNumericResult(e,r,t,10),this.emitNumericEntity(n,2);t+=1}return this.addToNumericResult(e,r,t,10),-1}emitNumericEntity(e,t){var r,n,i;if(this.consumed<=t)return null==(r=this.errors)||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===u.SEMI)this.consumed+=1;else if(this.decodeMode===d.Strict)return 0;return this.emitCodePoint((n=this.result)>=55296&&n<=57343||n>1114111?65533:null!=(i=W.get(n))?i:n,this.consumed),this.errors&&(e!==u.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:r}=this,n=r[this.treeIndex],i=(n&l.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=function(e,t,r,n){let i=(t&l.BRANCH_LENGTH)>>7,a=t&l.JUMP_TABLE;if(0===i)return 0!==a&&n===a?r:-1;if(a){let t=n-a;return t<0||t>=i?-1:e[r+t]-1}let o=r,s=o+i-1;for(;o<=s;){let t=o+s>>>1,r=e[t];if(r<n)o=t+1;else{if(!(r>n))return e[t+i];s=t-1}}return -1}(r,n,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return 0===this.result||this.decodeMode===d.Attribute&&(0===i||function(e){var t;return e===u.EQUALS||(t=e)>=u.UPPER_A&&t<=u.UPPER_Z||t>=u.LOWER_A&&t<=u.LOWER_Z||G(t)}(a))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((n=r[this.treeIndex])&l.VALUE_LENGTH)>>14)){if(a===u.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==d.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:r}=this,n=(r[t]&l.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){let{decodeTree:n}=this;return this.emitCodePoint(1===t?n[e]&~l.VALUE_LENGTH:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case c.NamedEntity:return 0!==this.result&&(this.decodeMode!==d.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case c.NumericDecimal:return this.emitNumericEntity(0,2);case c.NumericHex:return this.emitNumericEntity(0,3);case c.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case c.EntityStart:return 0}}}function H(e){let t="",r=new K(e,e=>t+=J(e));return function(e,n){let i=0,a=0;for(;(a=e.indexOf("&",a))>=0;){t+=e.slice(i,a),r.startEntity(n);let o=r.write(e,a+1);if(o<0){i=a+r.end();break}i=a+o,a=0===o?i+1:i}let o=t+e.slice(i);return t="",o}}let X=H(q);function Y(e,t=d.Legacy){return X(e,t)}H(V);let Q=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);function ee(e,t){return function(r){let n,i=0,a="";for(;n=e.exec(r);
2)i!==n.index&&(a+=r.substring(i,n.index)),a+=t.get(n[0].charCodeAt(0)),i=n.index+1;return a+r.substring(i)}}String.prototype.codePointAt,ee(/[&<>'"]/g,Q),ee(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),ee(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),(a=p||(p={}))[a.XML=0]="XML",a[a.HTML=1]="HTML",(o=f||(f={}))[o.UTF8=0]="UTF8",o[o.ASCII=1]="ASCII",o[o.Extensive=2]="Extensive",o[o.Attribute=3]="Attribute",o[o.Text=4]="Text";let et=Object.prototype.hasOwnProperty;function er(e){let t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){if(t){if("object"!=typeof t)throw TypeError(t+"must be object");Object.keys(t).forEach(function(r){e[r]=t[r]})}}),e}function en(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))}function ei(e){return(!(e>=55296)||!(e<=57343))&&(!(e>=64976)||!(e<=65007))&&(65535&e)!=65535&&(65535&e)!=65534&&(!(e>=0)||!(e<=8))&&11!==e&&(!(e>=14)||!(e<=31))&&(!(e>=127)||!(e<=159))&&!(e>1114111)&&!0}function ea(e){return e>65535?String.fromCharCode(55296+((e-=65536)>>10),56320+(1023&e)):String.fromCharCode(e)}let eo=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,es=RegExp(eo.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),eu=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function el(e){return 0>e.indexOf("\\")&&0>e.indexOf("&")?e:e.replace(es,function(e,t,r){if(t)return t;if(35===r.charCodeAt(0)&&eu.test(r)){let t="x"===r[1].toLowerCase()?parseInt(r.slice(2),16):parseInt(r.slice(1),10);return ei(t)?ea(t):e}let n=Y(e);return n!==e?n:e})}let ec=/[&<>"]/,ed=/[&<>"]/g,ep={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function ef(e){return ep[e]}function eh(e){return ec.test(e)?e.replace(ed,ef):e}let em=/[.?*+^$[\]\\(){}|-]/g;function eg(e){switch(e){case 9:case 32:return!0}return!1}function ev(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function e_(e){return M.test(e)||L.test(e)}function ey(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function eb(e){return(e=e.trim().replace(/\s+/g," ")).toLowerCase().toUpperCase()}e.s(["arrayReplaceAt",0,en,"assign",0,er,"escapeHtml",0,eh,"escapeRE",0,function(e){return e.replace(em,"\\$&")},"fromCodePoint",0,ea,"has",0,function(e,t){return et.call(e,t)},"isMdAsciiPunct",0,ey,"isPunctChar",0,e_,"isSpace",0,eg,"isString",0,function(e){return"[object String]"===Object.prototype.toString.call(e)},"isValidEntityCode",0,ei,"isWhiteSpace",0,ev,"lib",0,{mdurl:Z,ucmicro:B},"normalizeReference",0,eb,"unescapeAll",0,el,"unescapeMd",0,function(e){return 0>e.indexOf("\\")?e:e.replace(eo,"$1")}],937422);var ek=e.i(937422);e.s([],650919),e.i(650919),e.s(["parseLinkDestination",0,function(e,t,r){let n,i=t,a={ok:!1,pos:0,str:""};if(60===e.charCodeAt(i)){for(i++;i<r&&10!==(n=e.charCodeAt(i))&&60!==n;){if(62===n){a.pos=i+1,a.str=el(e.slice(t+1,i)),a.ok=!0;break}if(92===n&&i+1<r){i+=2;continue}i++}return a}let o=0;for(;i<r&&32!==(n=e.charCodeAt(i))&&!(n<32)&&127!==n;){if(92===n&&i+1<r){if(32===e.charCodeAt(i+1))break;i+=2;continue}if(40===n&&++o>32)return a;
2if(41===n){if(0===o)break;o--}i++}return t===i||0!==o||(a.str=el(e.slice(t,i)),a.pos=i,a.ok=!0),a},"parseLinkLabel",0,function(e,t,r){let n,i,a,o,s=e.posMax,u=e.pos;for(e.pos=t+1,n=1;e.pos<s;){if(93===(a=e.src.charCodeAt(e.pos))&&0==--n){i=!0;break}if(o=e.pos,e.md.inline.skipToken(e),91===a){if(o===e.pos-1)n++;else if(r)return e.pos=u,-1}}let l=-1;return i&&(l=e.pos),e.pos=u,l},"parseLinkTitle",0,function(e,t,r,n){let i,a=t,o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)o.str=n.str,o.marker=n.marker;else{if(a>=r)return o;let n=e.charCodeAt(a);if(34!==n&&39!==n&&40!==n)return o;t++,a++,40===n&&(n=41),o.marker=n}for(;a<r;){if((i=e.charCodeAt(a))===o.marker)return o.pos=a+1,o.str+=el(e.slice(t,a)),o.ok=!0,o;if(40===i&&41===o.marker)return o;92===i&&a+1<r&&a++,a++}return o.can_continue=!0,o.str+=el(e.slice(t,a)),o}],939414);var ex=e.i(939414);let e$={};function ew(){this.rules=er({},e$)}function eS(){this.__rules__=[],this.__cache__=null}function eI(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}function eE(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}e$.code_inline=function(e,t,r,n,i){let a=e[t];return"<code"+i.renderAttrs(a)+">"+eh(a.content)+"</code>"},e$.code_block=function(e,t,r,n,i){let a=e[t];return"<pre"+i.renderAttrs(a)+"><code>"+eh(e[t].content)+"</code></pre>\n"},e$.fence=function(e,t,r,n,i){let a,o=e[t],s=o.info?el(o.info).trim():"",u="",l="";if(s){let e=s.split(/(\s+)/g);u=e[0],l=e.slice(2).join("")}if(0===(a=r.highlight&&r.highlight(o.content,u,l)||eh(o.content)).indexOf("<pre"))return a+"\n";if(s){let e=o.attrIndex("class"),t=o.attrs?o.attrs.slice():[];return e<0?t.push(["class",r.langPrefix+u]):(t[e]=t[e].slice(),t[e][1]+=" "+r.langPrefix+u),`<pre><code${i.renderAttrs({attrs:t})}>${a}</code></pre>
3`}return`<pre><code${i.renderAttrs(o)}>${a}</code></pre>
4`},e$.image=function(e,t,r,n,i){let a=e[t];return a.attrs[a.attrIndex("alt")][1]=i.renderInlineAsText(a.children,r,n),i.renderToken(e,t,r)},e$.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"},e$.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},e$.text=function(e,t){return eh(e[t].content)},e$.html_block=function(e,t){return e[t].content},e$.html_inline=function(e,t){return e[t].content},ew.prototype.renderAttrs=function(e){let t,r,n;if(!e.attrs)return"";for(t=0,n="",r=e.attrs.length;t<r;t++)n+=" "+eh(e.attrs[t][0])+'="'+eh(e.attrs[t][1])+'"';return n},ew.prototype.renderToken=function(e,t,r){let n=e[t],i="";if(n.hidden)return"";n.block&&-1!==n.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===n.nesting?"</":"<")+n.tag,i+=this.renderAttrs(n),0===n.nesting&&r.xhtmlOut&&(i+=" /");let a=!1;if(n.block&&(a=!0,1===n.nesting&&t+1<e.length)){let r=e[t+1];"inline"===r.type||r.hidden?a=!1:-1===r.nesting&&r.tag===n.tag&&(a=!1)}return i+(a?">\n":">")},ew.prototype.renderInline=function(e,t,r){let n="",i=this.rules;for(let a=0,o=e.length;a<o;a++){let o=e[a].type;void 0!==i[o]?n+=i[o](e,a,t,r,this):n+=this.renderToken(e,a,t)}return n},ew.prototype.renderInlineAsText=function(e,t,r){let n="";for(let i=0,a=e.length;i<a;i++)switch(e[i].type){case"text":case"html_inline":case"html_block":n+=e[i].content;break;case"image":n+=this.renderInlineAsText(e[i].children,t,r);break;case"softbreak":case"hardbreak":n+="\n"}return n},ew.prototype.render=function(e,t,r){let n="",i=this.rules;for(let a=0,o=e.length;a<o;a++){let o=e[a].type;"inline"===o?n+=this.renderInline(e[a].children,t,r):void 0!==i[o]?n+=i[o](e,a,t,r,this):n+=this.renderToken(e,a,t,r)}return n},eS.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return -1},eS.prototype.__compile__=function(){let e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){0>t.indexOf(e)&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(r){!r.enabled||t&&0>r.alt.indexOf(t)||e.__cache__[t].push(r.fn)})})},eS.prototype.at=function(e,t,r){let n=this.__find__(e);
4if(-1===n)throw Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=(r||{}).alt||[],this.__cache__=null},eS.prototype.before=function(e,t,r,n){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:r,alt:(n||{}).alt||[]}),this.__cache__=null},eS.prototype.after=function(e,t,r,n){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:r,alt:(n||{}).alt||[]}),this.__cache__=null},eS.prototype.push=function(e,t,r){this.__rules__.push({name:e,enabled:!0,fn:t,alt:(r||{}).alt||[]}),this.__cache__=null},eS.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);let r=[];return e.forEach(function(e){let n=this.__find__(e);if(n<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!0,r.push(e)},this),this.__cache__=null,r},eS.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},eS.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);let r=[];return e.forEach(function(e){let n=this.__find__(e);if(n<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!1,r.push(e)},this),this.__cache__=null,r},eS.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},eI.prototype.attrIndex=function(e){if(!this.attrs)return -1;let t=this.attrs;for(let r=0,n=t.length;r<n;r++)if(t[r][0]===e)return r;return -1},eI.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},eI.prototype.attrSet=function(e,t){let r=this.attrIndex(e),n=[e,t];r<0?this.attrPush(n):this.attrs[r]=n},eI.prototype.attrGet=function(e){let t=this.attrIndex(e),r=null;return t>=0&&(r=this.attrs[t][1]),r},eI.prototype.attrJoin=function(e,t){let r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},eE.prototype.Token=eI;let eO=/\r\n?|\n/g,eD=/\0/g,eA=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,eT=/\((c|tm|r)\)/i,eC=/\((c|tm|r)\)/ig,ej={c:"©",r:"®",tm:"™"};function ez(e,t){return ej[t.toLowerCase()]}let eP=/['"]/,eN=/['"]/g;function eZ(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}let eF=[["normalize",function(e){let t;t=(t=e.src.replace(eO,"\n")).replace(eD,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){let t=e.tokens;for(let r=0,n=t.length;r<n;r++){let n=t[r];"inline"===n.type&&e.md.inline.parse(n.content,e.md,e.env,n.children)}}],["linkify",function(e){let t=e.tokens;if(e.md.options.linkify)for(let i=0,a=t.length;i<a;i++){if("inline"!==t[i].type||!e.md.linkify.pretest(t[i].content))continue;let a=t[i].children,o=0;for(let s=a.length-1;s>=0;s--){let u=a[s];if("link_close"===u.type){for(s--;a[s].level!==u.level&&"link_open"!==a[s].type;)s--;continue}if("html_inline"===u.type){var r,n;r=u.content,/^<a[>\s]/i.test(r)&&o>0&&o--,n=u.content,/^<\/a\s*>/i.test(n)&&o++}if(!(o>0)&&"text"===u.type&&e.md.linkify.test(u.content)){let r=u.content,n=e.md.linkify.match(r),o=[],l=u.level,c=0;n.length>0&&0===n[0].index&&s>0&&"text_special"===a[s-1].type&&(n=n.slice(1));for(let t=0;t<n.length;t++){let i=n[t].url,a=e.md.normalizeLink(i);if(!e.md.validateLink(a))continue;let s=n[t].text;s=n[t].schema?"mailto:"!==n[t].schema||/^mailto:/i.test(s)?e.md.normalizeLinkText(s):e.md.normalizeLinkText("mailto:"+s).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+s).replace(/^http:\/\//,"");let u=n[t].index;if(u>c){let t=new e.Token("text","",0);t.content=r.slice(c,u),t.level=l,o.push(t)}let d=new e.Token("link_open","a",1);d.attrs=[["href",a]],d.level=l++,d.markup="linkify",d.info="auto",o.push(d);let p=new e.Token("text","",0);p.content=s,p.level=l,o.push(p);let f=new e.Token("link_close","a",-1);f.level=--l,f.markup="linkify",f.info="auto",o.push(f),c=n[t].lastIndex}if(c<r.length){let t=new e.Token("text","",0);t.content=r.slice(c),t.level=l,o.push(t)}t[i].children=a=en(a,s,o)}}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(eT.test(e.tokens[t].content)&&function(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];"text"!==n.type||t||(n.content=n.content.replace(eC,ez)),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}(e.tokens[t].children),eA.test(e.tokens[t].content)&&function(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];"text"===n.type&&!t&&eA.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&eP.test(e.tokens[t].content)&&function(e,t){let r,n=[];for(let i=0;i<e.length;i++){let a=e[i],o=e[i].level;for(r=n.length-1;r>=0&&!(n[r].level<=o);r--);if(n.length=r+1,"text"!==a.type)continue;let s=a.content,u=0,l=s.length;e:for(;u<l;){eN.lastIndex=u;let c=eN.exec(s);if(!c)break;let d=!0,p=!0;u=c.index+1;let f="'"===c[0],h=32;if(c.index-1>=0)h=s.charCodeAt(c.index-1);else for(r=i-1;r>=0&&"softbreak"!==e[r].type&&"hardbreak"!==e[r].type;r--)if(e[r].content){h=e[r].content.charCodeAt(e[r].content.length-1);break}let m=32;if(u<l)m=s.charCodeAt(u);else for(r=i+1;r<e.length&&"softbreak"!==e[r].type&&"hardbreak"!==e[r].type;r++)if(e[r].content){m=e[r].content.charCodeAt(0);break}
4let g=ey(h)||e_(String.fromCharCode(h)),v=ey(m)||e_(String.fromCharCode(m)),_=ev(h),y=ev(m);if(y?d=!1:v&&!(_||g)&&(d=!1),_?p=!1:g&&!(y||v)&&(p=!1),34===m&&'"'===c[0]&&h>=48&&h<=57&&(p=d=!1),d&&p&&(d=g,p=v),!d&&!p){f&&(a.content=eZ(a.content,c.index,"’"));continue}if(p)for(r=n.length-1;r>=0;r--){let d=n[r];if(n[r].level<o)break;if(d.single===f&&n[r].level===o){let o,p;d=n[r],f?(o=t.md.options.quotes[2],p=t.md.options.quotes[3]):(o=t.md.options.quotes[0],p=t.md.options.quotes[1]),a.content=eZ(a.content,c.index,p),e[d.token].content=eZ(e[d.token].content,d.pos,o),u+=p.length-1,d.token===i&&(u+=o.length-1),l=(s=a.content).length,n.length=r;continue e}}d?n.push({token:i,pos:c.index,single:f,level:o}):p&&f&&(a.content=eZ(a.content,c.index,"’"))}}}(e.tokens[t].children,e)}],["text_join",function(e){let t,r,n=e.tokens,i=n.length;for(let e=0;e<i;e++){if("inline"!==n[e].type)continue;let i=n[e].children,a=i.length;for(t=0;t<a;t++)"text_special"===i[t].type&&(i[t].type="text");for(t=r=0;t<a;t++)"text"===i[t].type&&t+1<a&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==r&&(i[r]=i[t]),r++);t!==r&&(i.length=r)}}]];function eU(){this.ruler=new eS;for(let e=0;e<eF.length;e++)this.ruler.push(eF[e][0],eF[e][1])}function eM(e,t,r,n){this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;let i=this.src;for(let e=0,t=0,r=0,n=0,a=i.length,o=!1;t<a;t++){let s=i.charCodeAt(t);if(!o)if(eg(s)){r++,9===s?n+=4-n%4:n++;continue}else o=!0;(10===s||t===a-1)&&(10!==s&&t++,this.bMarks.push(e),this.eMarks.push(t),this.tShift.push(r),this.sCount.push(n),this.bsCount.push(0),o=!1,r=0,n=0,e=t+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}function eL(e,t){let r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(r,n)}function eR(e){let t=[],r=e.length,n=0,i=e.charCodeAt(n),a=!1,o=0,s="";for(;n<r;)124===i&&(a?(s+=e.substring(o,n-1),o=n):(t.push(s+e.substring(o,n)),s="",o=n+1)),a=92===i,n++,i=e.charCodeAt(n);return t.push(s+e.substring(o)),t}function eB(e,t){let r=e.eMarks[t],n=e.bMarks[t]+e.tShift[t],i=e.src.charCodeAt(n++);return 42!==i&&45!==i&&43!==i||n<r&&!eg(e.src.charCodeAt(n))?-1:n}function eq(e,t){let r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t],i=r;if(i+1>=n)return -1;let a=e.src.charCodeAt(i++);if(a<48||a>57)return -1;for(;;){if(i>=n)return -1;if((a=e.src.charCodeAt(i++))>=48&&a<=57){if(i-r>=10)return -1;continue}if(41===a||46===a)break;return -1}return i<n&&!eg(a=e.src.charCodeAt(i))?-1:i}eU.prototype.process=function(e){let t=this.ruler.getRules("");for(let r=0,n=t.length;r<n;r++)t[r](e)},eU.prototype.State=eE,eM.prototype.push=function(e,t,r){let n=new eI(e,t,r);return n.block=!0,r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.tokens.push(n),n},eM.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},eM.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},eM.prototype.skipSpaces=function(e){for(let t=this.src.length;e<t&&eg(this.src.charCodeAt(e));e++);return e},eM.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!eg(this.src.charCodeAt(--e)))return e+1;return e},eM.prototype.skipChars=function(e,t){for(let r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},eM.prototype.skipCharsBack=function(e,t,r){if(e<=r)return e;for(;e>r;)if(t!==this.src.charCodeAt(--e))return e+1;return e},eM.prototype.getLines=function(e,t,r,n){if(e>=t)return"";let i=Array(t-e);for(let a=0,o=e;o<t;o++,a++){let e,s=0,u=this.bMarks[o],l=u;for(e=o+1<t||n?this.eMarks[o]+1:this.eMarks[o];l<e&&s<r;){let e=this.src.charCodeAt(l);if(eg(e))9===e?s+=4-(s+this.bsCount[o])%4:s++;else if(l-u<this.tShift[o])s++;else break;l++}s>r?i[a]=Array(s-r+1).join(" ")+this.src.slice(l,e):i[a]=this.src.slice(l,e)}return i.join("")},eM.prototype.Token=eI;let eV="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",eW="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",eJ=RegExp("^(?:"+eV+"|"+eW+"|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),eG=RegExp("^(?:"+eV+"|"+eW+")"),eK=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[RegExp("^</?(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)(?=(\\s|/?>|$))","i"),/^$/,!0],[RegExp(eG.source+"\\s*$"),/^$/,!1]],eH=[["table",function(e,t,r,n){let i;if(t+2>r)return!1;let a=t+1;if(e.sCount[a]<e.blkIndent||e.sCount[a]-e.blkIndent>=4)return!1;let o=e.bMarks[a]+e.tShift[a];if(o>=e.eMarks[a])return!1;
4let s=e.src.charCodeAt(o++);if(124!==s&&45!==s&&58!==s||o>=e.eMarks[a])return!1;let u=e.src.charCodeAt(o++);if(124!==u&&45!==u&&58!==u&&!eg(u)||45===s&&eg(u))return!1;for(;o<e.eMarks[a];){let t=e.src.charCodeAt(o);if(124!==t&&45!==t&&58!==t&&!eg(t))return!1;o++}let l=eL(e,t+1),c=l.split("|"),d=[];for(let e=0;e<c.length;e++){let t=c[e].trim();if(!t)if(0===e||e===c.length-1)continue;else return!1;if(!/^:?-+:?$/.test(t))return!1;58===t.charCodeAt(t.length-1)?d.push(58===t.charCodeAt(0)?"center":"right"):58===t.charCodeAt(0)?d.push("left"):d.push("")}if(-1===(l=eL(e,t).trim()).indexOf("|")||e.sCount[t]-e.blkIndent>=4)return!1;(c=eR(l)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();let p=c.length;if(0===p||p!==d.length)return!1;if(n)return!0;let f=e.parentType;e.parentType="table";let h=e.md.block.ruler.getRules("blockquote"),m=e.push("table_open","table",1),g=[t,0];m.map=g,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let t=0;t<c.length;t++){let r=e.push("th_open","th",1);d[t]&&(r.attrs=[["style","text-align:"+d[t]]]);let n=e.push("inline","",0);n.content=c[t].trim(),n.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let v=0;for(a=t+2;a<r&&!(e.sCount[a]<e.blkIndent);a++){let n=!1;for(let t=0,i=h.length;t<i;t++)if(h[t](e,a,r,!0)){n=!0;break}if(n||!(l=eL(e,a).trim())||e.sCount[a]-e.blkIndent>=4||((c=eR(l)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),(v+=p-c.length)>65536))break;a===t+2&&(e.push("tbody_open","tbody",1).map=i=[t+2,0]),e.push("tr_open","tr",1).map=[a,a+1];for(let t=0;t<p;t++){let r=e.push("td_open","td",1);d[t]&&(r.attrs=[["style","text-align:"+d[t]]]);let n=e.push("inline","",0);n.content=c[t]?c[t].trim():"",n.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return i&&(e.push("tbody_close","tbody",-1),i[1]=a),e.push("table_close","table",-1),g[1]=a,e.parentType=f,e.line=a,!0},["paragraph","reference"]],["code",function(e,t,r){if(e.sCount[t]-e.blkIndent<4)return!1;let n=t+1,i=n;for(;n<r;){if(e.isEmpty(n)){n++;continue}if(e.sCount[n]-e.blkIndent>=4){i=++n;continue}break}e.line=i;let a=e.push("code_block","code",0);return a.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",a.map=[t,e.line],!0}],["fence",function(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>a)return!1;let o=e.src.charCodeAt(i);if(126!==o&&96!==o)return!1;let s=i,u=(i=e.skipChars(i,o))-s;if(u<3)return!1;let l=e.src.slice(s,i),c=e.src.slice(i,a);if(96===o&&c.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;let d=t,p=!1;for(;!(++d>=r)&&(!((i=s=e.bMarks[d]+e.tShift[d])<(a=e.eMarks[d]))||!(e.sCount[d]<e.blkIndent));){;if(!(e.src.charCodeAt(i)!==o||e.sCount[d]-e.blkIndent>=4||(i=e.skipChars(i,o))-s<u)&&!((i=e.skipSpaces(i))<a)){p=!0;break}}u=e.sCount[t],e.line=d+ +!!p;let f=e.push("fence","code",0);return f.info=c,f.content=e.getLines(t+1,d,u,!0),f.markup=l,f.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,r,n){let i,a=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],s=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||62!==e.src.charCodeAt(a))return!1;if(n)return!0;let u=[],l=[],c=[],d=[],p=e.md.block.ruler.getRules("blockquote"),f=e.parentType;e.parentType="blockquote";let h=!1;for(i=t;i<r;i++){let t=e.sCount[i]<e.blkIndent;if((a=e.bMarks[i]+e.tShift[i])>=(o=e.eMarks[i]))break;if(62===e.src.charCodeAt(a++)&&!t){let t,r,n=e.sCount[i]+1;32===e.src.charCodeAt(a)?(a++,n++,r=!1,t=!0):9===e.src.charCodeAt(a)?(t=!0,(e.bsCount[i]+n)%4==3?(a++,n++,r=!1):r=!0):t=!1;let s=n;for(u.push(e.bMarks[i]),e.bMarks[i]=a;a<o;){let t=e.src.charCodeAt(a);if(eg(t))9===t?s+=4-(s+e.bsCount[i]+ +!!r)%4:s++;else break;a++}h=a>=o,l.push(e.bsCount[i]),e.bsCount[i]=e.sCount[i]+1+ +!!t,c.push(e.sCount[i]),e.sCount[i]=s-n,d.push(e.tShift[i]),e.tShift[i]=a-e.bMarks[i];continue}if(h)break;let n=!1;for(let t=0,a=p.length;t<a;t++)if(p[t](e,i,r,!0)){n=!0;break}if(n){e.lineMax=i,0!==e.blkIndent&&(u.push(e.bMarks[i]),l.push(e.bsCount[i]),d.push(e.tShift[i]),c.push(e.sCount[i]),e.sCount[i]-=e.blkIndent);break}
4u.push(e.bMarks[i]),l.push(e.bsCount[i]),d.push(e.tShift[i]),c.push(e.sCount[i]),e.sCount[i]=-1}let m=e.blkIndent;e.blkIndent=0;let g=e.push("blockquote_open","blockquote",1);g.markup=">";let v=[t,0];g.map=v,e.md.block.tokenize(e,t,i),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=s,e.parentType=f,v[1]=e.line;for(let r=0;r<d.length;r++)e.bMarks[r+t]=u[r],e.tShift[r+t]=d[r],e.sCount[r+t]=c[r],e.bsCount[r+t]=l[r];return e.blkIndent=m,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,r,n){let i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.bMarks[t]+e.tShift[t],o=e.src.charCodeAt(a++);if(42!==o&&45!==o&&95!==o)return!1;let s=1;for(;a<i;){let t=e.src.charCodeAt(a++);if(t!==o&&!eg(t))return!1;t===o&&s++}if(s<3)return!1;if(n)return!0;e.line=t+1;let u=e.push("hr","hr",0);return u.map=[t,e.line],u.markup=Array(s+1).join(String.fromCharCode(o)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,r,n){let i,a,o,s,u,l,c,d=t,p=!0;if(e.sCount[d]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[d]-e.listIndent>=4&&e.sCount[d]<e.blkIndent)return!1;let f=!1;if(n&&"paragraph"===e.parentType&&e.sCount[d]>=e.blkIndent&&(f=!0),(c=eq(e,d))>=0){if(u=!0,o=e.bMarks[d]+e.tShift[d],l=Number(e.src.slice(o,c-1)),f&&1!==l)return!1}else{if(!((c=eB(e,d))>=0))return!1;u=!1}if(f&&e.skipSpaces(c)>=e.eMarks[d])return!1;if(n)return!0;let h=e.src.charCodeAt(c-1),m=e.tokens.length;u?(s=e.push("ordered_list_open","ol",1),1!==l&&(s.attrs=[["start",l]])):s=e.push("bullet_list_open","ul",1);let g=[d,0];s.map=g,s.markup=String.fromCharCode(h);let v=!1,_=e.md.block.ruler.getRules("list"),y=e.parentType;for(e.parentType="list";d<r;){let t;a=c,i=e.eMarks[d];let n=e.sCount[d]+c-(e.bMarks[d]+e.tShift[d]),l=n;for(;a<i;){let t=e.src.charCodeAt(a);if(9===t)l+=4-(l+e.bsCount[d])%4;else if(32===t)l++;else break;a++}let f=a;(t=f>=i?1:l-n)>4&&(t=1);let m=n+t;(s=e.push("list_item_open","li",1)).markup=String.fromCharCode(h);let g=[d,0];s.map=g,u&&(s.info=e.src.slice(o,c-1));let y=e.tight,b=e.tShift[d],k=e.sCount[d],x=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=m,e.tight=!0,e.tShift[d]=f-e.bMarks[d],e.sCount[d]=l,f>=i&&e.isEmpty(d+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,d,r,!0),(!e.tight||v)&&(p=!1),v=e.line-d>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=x,e.tShift[d]=b,e.sCount[d]=k,e.tight=y,(s=e.push("list_item_close","li",-1)).markup=String.fromCharCode(h),d=e.line,g[1]=d,d>=r||e.sCount[d]<e.blkIndent||e.sCount[d]-e.blkIndent>=4)break;let $=!1;for(let t=0,n=_.length;t<n;t++)if(_[t](e,d,r,!0)){$=!0;break}if($)break;if(u){if((c=eq(e,d))<0)break;o=e.bMarks[d]+e.tShift[d]}else if((c=eB(e,d))<0)break;if(h!==e.src.charCodeAt(c-1))break}return(s=u?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(h),g[1]=d,e.line=d,e.parentType=y,p&&function(e,t){let r=e.level+2;for(let n=t+2,i=e.tokens.length-2;n<i;n++)e.tokens[n].level===r&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,m),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,r,n){let i,a=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],s=t+1;if(e.sCount[t]-e.blkIndent>=4||91!==e.src.charCodeAt(a))return!1;function u(t){let r=e.lineMax;if(t>=r||e.isEmpty(t))return null;let n=!1;if(e.sCount[t]-e.blkIndent>3&&(n=!0),e.sCount[t]<0&&(n=!0),!n){let n=e.md.block.ruler.getRules("reference"),i=e.parentType;e.parentType="reference";let a=!1;for(let i=0,o=n.length;i<o;i++)if(n[i](e,t,r,!0)){a=!0;break}if(e.parentType=i,a)return null}let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];return e.src.slice(i,a+1)}let l=e.src.slice(a,o+1);o=l.length;let c=-1;for(a=1;a<o;a++){let e=l.charCodeAt(a);if(91===e)return!1;if(93===e){c=a;break}if(10===e){let e=u(s);null!==e&&(l+=e,o=l.length,s++)}else if(92===e&&++a<o&&10===l.charCodeAt(a)){let e=u(s);null!==e&&(l+=e,o=l.length,s++)}}if(c<0||58!==l.charCodeAt(c+1))return!1;for(a=c+2;a<o;a++){let e=l.charCodeAt(a);if(10===e){let e=u(s);null!==e&&(l+=e,o=l.length,s++)}else if(eg(e));else break}let d=e.md.helpers.parseLinkDestination(l,a,o);if(!d.ok)return!1;let p=e.md.normalizeLink(d.str);if(!e.md.validateLink(p))return!1;let f=a=d.pos,h=s,m=a;for(;a<o;a++){let e=l.charCodeAt(a);if(10===e){let e=u(s);null!==e&&(l+=e,o=l.length,s++)}else if(eg(e));else break}let g=e.md.helpers.parseLinkTitle(l,a,o);for(;g.can_continue;){let t=u(s);if(null===t)break;l+=t,a=o,o=l.length,s++,g=e.md.helpers.parseLinkTitle(l,a,o,g)}for(a<o&&m!==a&&g.ok?(i=g.str,a=g.pos):(i="",a=f,s=h);a<o&&eg(l.charCodeAt(a));)a++;if(a<o&&10!==l.charCodeAt(a)&&i)for(i="",a=f,s=h;a<o&&eg(l.charCodeAt(a));)a++;if(a<o&&10!==l.charCodeAt(a))return!1;let v=eb(l.slice(1,c));return!!v&&(!!n||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[v]&&(e.env.references[v]={title:i,href:p}),e.line=s,!0))}],["html_block",function(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>
4=4||!e.md.options.html||60!==e.src.charCodeAt(i))return!1;let o=e.src.slice(i,a),s=0;for(;s<eK.length&&!eK[s][0].test(o);s++);if(s===eK.length)return!1;if(n)return eK[s][2];let u=t+1;if(!eK[s][1].test(o)){for(;u<r&&!(e.sCount[u]<e.blkIndent);u++)if(i=e.bMarks[u]+e.tShift[u],a=e.eMarks[u],o=e.src.slice(i,a),eK[s][1].test(o)){0!==o.length&&u++;break}}e.line=u;let l=e.push("html_block","",0);return l.map=[t,u],l.content=e.getLines(t,u,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.src.charCodeAt(i);if(35!==o||i>=a)return!1;let s=1;for(o=e.src.charCodeAt(++i);35===o&&i<a&&s<=6;)s++,o=e.src.charCodeAt(++i);if(s>6||i<a&&!eg(o))return!1;if(n)return!0;a=e.skipSpacesBack(a,i);let u=e.skipCharsBack(a,35,i);u>i&&eg(e.src.charCodeAt(u-1))&&(a=u),e.line=t+1;let l=e.push("heading_open","h"+String(s),1);l.markup="########".slice(0,s),l.map=[t,e.line];let c=e.push("inline","",0);return c.content=e.src.slice(i,a).trim(),c.map=[t,e.line],c.children=[],e.push("heading_close","h"+String(s),-1).markup="########".slice(0,s),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){let n,i=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.parentType;e.parentType="paragraph";let o=0,s=t+1;for(;s<r&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s],r=e.eMarks[s];if(t<r&&(45===(n=e.src.charCodeAt(t))||61===n)&&(t=e.skipChars(t,n),(t=e.skipSpaces(t))>=r)){o=61===n?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let n=0,a=i.length;n<a;n++)if(i[n](e,s,r,!0)){t=!0;break}if(t)break}if(!o)return!1;let u=e.getLines(t,s,e.blkIndent,!1).trim();e.line=s+1;let l=e.push("heading_open","h"+String(o),1);l.markup=String.fromCharCode(n),l.map=[t,e.line];let c=e.push("inline","",0);return c.content=u,c.map=[t,e.line-1],c.children=[],e.push("heading_close","h"+String(o),-1).markup=String.fromCharCode(n),e.parentType=a,!0}],["paragraph",function(e,t,r){let n=e.md.block.ruler.getRules("paragraph"),i=e.parentType,a=t+1;for(e.parentType="paragraph";a<r&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3||e.sCount[a]<0)continue;let t=!1;for(let i=0,o=n.length;i<o;i++)if(n[i](e,a,r,!0)){t=!0;break}if(t)break}let o=e.getLines(t,a,e.blkIndent,!1).trim();e.line=a,e.push("paragraph_open","p",1).map=[t,e.line];let s=e.push("inline","",0);return s.content=o,s.map=[t,e.line],s.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}]];function eX(){this.ruler=new eS;for(let e=0;e<eH.length;e++)this.ruler.push(eH[e][0],eH[e][1],{alt:(eH[e][2]||[]).slice()})}function eY(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}eX.prototype.tokenize=function(e,t,r){let n=this.ruler.getRules(""),i=n.length,a=e.md.options.maxNesting,o=t,s=!1;for(;
4o<r&&(e.line=o=e.skipEmptyLines(o),!(o>=r)&&!(e.sCount[o]<e.blkIndent));){if(e.level>=a){e.line=r;break}let t=e.line,u=!1;for(let a=0;a<i;a++)if(u=n[a](e,o,r,!1)){if(t>=e.line)throw Error("block rule didn't increment state.line");break}if(!u)throw Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(o=e.line)<r&&e.isEmpty(o)&&(s=!0,e.line=++o)}},eX.prototype.parse=function(e,t,r,n){if(!e)return;let i=new this.State(e,t,r,n);this.tokenize(i,i.line,i.lineMax)},eX.prototype.State=eM,eY.prototype.pushPending=function(){let e=new eI("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},eY.prototype.push=function(e,t,r){this.pending&&this.pushPending();let n=new eI(e,t,r),i=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(i),n},eY.prototype.scanDelims=function(e,t){let r=this.posMax,n=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32,a=e;for(;a<r&&this.src.charCodeAt(a)===n;)a++;let o=a-e,s=a<r?this.src.charCodeAt(a):32,u=ey(i)||e_(String.fromCharCode(i)),l=ey(s)||e_(String.fromCharCode(s)),c=ev(i),d=ev(s),p=!d&&(!l||c||u),f=!c&&(!u||d||l);return{can_open:p&&(t||!f||u),can_close:f&&(t||!p||l),length:o}},eY.prototype.Token=eI;let eQ=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,e0=[];for(let e=0;e<256;e++)e0.push(0);function e1(e,t){let r,n=[],i=t.length;for(let a=0;a<i;a++){let i=t[a];if(126!==i.marker||-1===i.end)continue;let o=t[i.end];(r=e.tokens[i.token]).type="s_open",r.tag="s",r.nesting=1,r.markup="~~",r.content="",(r=e.tokens[o.token]).type="s_close",r.tag="s",r.nesting=-1,r.markup="~~",r.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&n.push(o.token-1)}for(;n.length;){let t=n.pop(),i=t+1;for(;i<e.tokens.length&&"s_close"===e.tokens[i].type;)i++;t!==--i&&(r=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=r)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){e0[e.charCodeAt(0)]=1});function e4(e,t){let r=t.length;for(let n=r-1;n>=0;n--){let r=t[n];if(95!==r.marker&&42!==r.marker||-1===r.end)continue;let i=t[r.end],a=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,o=String.fromCharCode(r.marker),s=e.tokens[r.token];s.type=a?"strong_open":"em_open",s.tag=a?"strong":"em",s.nesting=1,s.markup=a?o+o:o,s.content="";let u=e.tokens[i.token];u.type=a?"strong_close":"em_close",u.tag=a?"strong":"em",u.nesting=-1,u.markup=a?o+o:o,u.content="",a&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}let e6=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,e2=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/,e3=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,e9=/^&([a-z][a-z0-9]{1,31});/i;function e5(e){let t={},r=e.length;if(!r)return;let n=0,i=-2,a=[];for(let o=0;o<r;o++){let r=e[o];if(a.push(0),(e[n].marker!==r.marker||i!==r.token-1)&&(n=o),i=r.token,r.length=r.length||0,!r.close)continue;t.hasOwnProperty(r.marker)||(t[r.marker]=[-1,-1,-1,-1,-1,-1]);let s=t[r.marker][3*!!r.open+r.length%3],u=n-a[n]-1,l=u;for(;u>s;u-=a[u]+1){let t=e[u];if(t.marker===r.marker&&t.open&&t.end<0){let n=!1;if((t.close||r.open)&&(t.length+r.length)%3==0&&(t.length%3!=0||r.length%3!=0)&&(n=!0),!n){let n=u>0&&!e[u-1].open?a[u-1]+1:0;a[o]=o-u+n,a[u]=n,r.open=!1,t.end=o,t.close=!1,l=-1,i=-2;break}}}-1!==l&&(t[r.marker][3*!!r.open+(r.length||0)%3]=l)}}let e8=[["text",function(e,t){let r=e.pos;for(;r<e.posMax&&!function(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}(e.src.charCodeAt(r));)r++;return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}],["linkify",function(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;let r=e.pos;if(r+3>
4e.posMax||58!==e.src.charCodeAt(r)||47!==e.src.charCodeAt(r+1)||47!==e.src.charCodeAt(r+2))return!1;let n=e.pending.match(eQ);if(!n)return!1;let i=n[1],a=e.md.linkify.matchAtStart(e.src.slice(r-i.length));if(!a)return!1;let o=a.url;if(o.length<=i.length)return!1;o=o.replace(/\*+$/,"");let s=e.md.normalizeLink(o);if(!e.md.validateLink(s))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);let t=e.push("link_open","a",1);t.attrs=[["href",s]],t.markup="linkify",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(o);let r=e.push("link_close","a",-1);r.markup="linkify",r.info="auto"}return e.pos+=o.length-i.length,!0}],["newline",function(e,t){let r=e.pos;if(10!==e.src.charCodeAt(r))return!1;let n=e.pending.length-1,i=e.posMax;if(!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){let t=n-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(r++;r<i&&eg(e.src.charCodeAt(r));)r++;return e.pos=r,!0}],["escape",function(e,t){let r=e.pos,n=e.posMax;if(92!==e.src.charCodeAt(r)||++r>=n)return!1;let i=e.src.charCodeAt(r);if(10===i){for(t||e.push("hardbreak","br",0),r++;r<n&&eg(i=e.src.charCodeAt(r));)r++;return e.pos=r,!0}let a=e.src[r];if(i>=55296&&i<=56319&&r+1<n){let t=e.src.charCodeAt(r+1);t>=56320&&t<=57343&&(a+=e.src[r+1],r++)}let o="\\"+a;if(!t){let t=e.push("text_special","",0);i<256&&0!==e0[i]?t.content=a:t.content=o,t.markup=o,t.info="escape"}return e.pos=r+1,!0}],["backticks",function(e,t){let r,n=e.pos;if(96!==e.src.charCodeAt(n))return!1;let i=n;n++;let a=e.posMax;for(;n<a&&96===e.src.charCodeAt(n);)n++;let o=e.src.slice(i,n),s=o.length;if(e.backticksScanned&&(e.backticks[s]||0)<=i)return t||(e.pending+=o),e.pos+=s,!0;let u=n;for(;-1!==(r=e.src.indexOf("`",u));){for(u=r+1;u<a&&96===e.src.charCodeAt(u);)u++;let i=u-r;if(i===s){if(!t){let t=e.push("code_inline","code",0);t.markup=o,t.content=e.src.slice(n,r).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=u,!0}e.backticks[i]=r}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=s,!0}],["strikethrough",function(e,t){let r=e.pos,n=e.src.charCodeAt(r);if(t||126!==n)return!1;let i=e.scanDelims(e.pos,!0),a=i.length,o=String.fromCharCode(n);if(a<2)return!1;a%2&&(e.push("text","",0).content=o,a--);for(let t=0;t<a;t+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:n,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}],["emphasis",function(e,t){let r=e.pos,n=e.src.charCodeAt(r);if(t||95!==n&&42!==n)return!1;let i=e.scanDelims(e.pos,42===n);for(let t=0;t<i.length;t++)e.push("text","",0).content=String.fromCharCode(n),e.delimiters.push({marker:n,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}],["link",function(e,t){let r,n,i,a,o="",s="",u=e.pos,l=!0;if(91!==e.src.charCodeAt(e.pos))return!1;let c=e.pos,d=e.posMax,p=e.pos+1,f=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(f<0)return!1;let h=f+1;if(h<d&&40===e.src.charCodeAt(h)){for(l=!1,h++;h<d&&(eg(r=e.src.charCodeAt(h))||10===r);h++);if(h>=d)return!1;if(u=h,(i=e.md.helpers.parseLinkDestination(e.src,h,e.posMax)).ok){for(o=e.md.normalizeLink(i.str),e.md.validateLink(o)?h=i.pos:o="",u=h;h<d&&(eg(r=e.src.charCodeAt(h))||10===r);h++);if(i=e.md.helpers.parseLinkTitle(e.src,h,e.posMax),h<d&&u!==h&&i.ok)for(s=i.str,h=i.pos;h<d&&(eg(r=e.src.charCodeAt(h))||10===r);h++);}(h>=d||41!==e.src.charCodeAt(h))&&(l=!0),h++}if(l){if(void 0===e.env.references)return!1;if(h<d&&91===e.src.charCodeAt(h)?(u=h+1,(h=e.md.helpers.parseLinkLabel(e,h))>=0?n=e.src.slice(u,h++):h=f+1):h=f+1,n||(n=e.src.slice(p,f)),!(a=e.env.references[eb(n)]))return e.pos=c,!1;o=a.href,s=a.title}if(!t){e.pos=p,e.posMax=f;let t=e.push("link_open","a",1),r=[["href",o]];t.attrs=r,s&&r.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=h,e.posMax=d,!0}],["image",function(e,t){let r,n,i,a,o,s,u,l,c="",d=e.pos,p=e.posMax;
4if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1))return!1;let f=e.pos+2,h=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(h<0)return!1;if((a=h+1)<p&&40===e.src.charCodeAt(a)){for(a++;a<p&&(eg(r=e.src.charCodeAt(a))||10===r);a++);if(a>=p)return!1;for(l=a,(s=e.md.helpers.parseLinkDestination(e.src,a,e.posMax)).ok&&(c=e.md.normalizeLink(s.str),e.md.validateLink(c)?a=s.pos:c=""),l=a;a<p&&(eg(r=e.src.charCodeAt(a))||10===r);a++);if(s=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<p&&l!==a&&s.ok)for(u=s.str,a=s.pos;a<p&&(eg(r=e.src.charCodeAt(a))||10===r);a++);else u="";if(a>=p||41!==e.src.charCodeAt(a))return e.pos=d,!1;a++}else{if(void 0===e.env.references)return!1;if(a<p&&91===e.src.charCodeAt(a)?(l=a+1,(a=e.md.helpers.parseLinkLabel(e,a))>=0?i=e.src.slice(l,a++):a=h+1):a=h+1,i||(i=e.src.slice(f,h)),!(o=e.env.references[eb(i)]))return e.pos=d,!1;c=o.href,u=o.title}if(!t){n=e.src.slice(f,h);let t=[];e.md.inline.parse(n,e.md,e.env,t);let r=e.push("image","img",0),i=[["src",c],["alt",""]];r.attrs=i,r.children=t,r.content=n,u&&i.push(["title",u])}return e.pos=a,e.posMax=p,!0}],["autolink",function(e,t){let r=e.pos;if(60!==e.src.charCodeAt(r))return!1;let n=e.pos,i=e.posMax;for(;;){if(++r>=i)return!1;let t=e.src.charCodeAt(r);if(60===t)return!1;if(62===t)break}let a=e.src.slice(n+1,r);if(e2.test(a)){let r=e.md.normalizeLink(a);if(!e.md.validateLink(r))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(a);let n=e.push("link_close","a",-1);n.markup="autolink",n.info="auto"}return e.pos+=a.length+2,!0}if(e6.test(a)){let r=e.md.normalizeLink("mailto:"+a);if(!e.md.validateLink(r))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(a);let n=e.push("link_close","a",-1);n.markup="autolink",n.info="auto"}return e.pos+=a.length+2,!0}return!1}],["html_inline",function(e,t){let r;if(!e.md.options.html)return!1;let n=e.posMax,i=e.pos;if(60!==e.src.charCodeAt(i)||i+2>=n)return!1;let a=e.src.charCodeAt(i+1);if(33!==a&&63!==a&&47!==a&&(!((r=32|a)>=97)||!(r<=122)))return!1;let o=e.src.slice(i).match(eJ);if(!o)return!1;if(!t){var s,u;let t=e.push("html_inline","",0);t.content=o[0],s=t.content,/^<a[>\s]/i.test(s)&&e.linkLevel++,u=t.content,/^<\/a\s*>/i.test(u)&&e.linkLevel--}return e.pos+=o[0].length,!0}],["entity",function(e,t){let r=e.pos,n=e.posMax;if(38!==e.src.charCodeAt(r)||r+1>=n)return!1;if(35===e.src.charCodeAt(r+1)){let n=e.src.slice(r).match(e3);if(n){if(!t){let t="x"===n[1][0].toLowerCase()?parseInt(n[1].slice(1),16):parseInt(n[1],10),r=e.push("text_special","",0);r.content=ei(t)?ea(t):ea(65533),r.markup=n[0],r.info="entity"}return e.pos+=n[0].length,!0}}else{let n=e.src.slice(r).match(e9);if(n){let r=Y(n[0]);if(r!==n[0]){if(!t){let t=e.push("text_special","",0);t.content=r,t.markup=n[0],t.info="entity"}return e.pos+=n[0].length,!0}}}return!1}]],e7=[["balance_pairs",function(e){let t=e.tokens_meta,r=e.tokens_meta.length;e5(e.delimiters);for(let e=0;e<r;e++)t[e]&&t[e].delimiters&&e5(t[e].delimiters)}],["strikethrough",function(e){let t=e.tokens_meta,r=e.tokens_meta.length;e1(e,e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&e1(e,t[n].delimiters)}],["emphasis",function(e){let t=e.tokens_meta,r=e.tokens_meta.length;e4(e,e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&e4(e,t[n].delimiters)}],["fragments_join",function(e){let t,r,n=0,i=e.tokens,a=e.tokens.length;for(t=r=0;t<a;t++)i[t].nesting<0&&n--,i[t].level=n,i[t].nesting>0&&n++,"text"===i[t].type&&t+1<a&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==r&&(i[r]=i[t]),r++);t!==r&&(i.length=r)}]];function te(){this.ruler=new eS;for(let e=0;e<e8.length;e++)this.ruler.push(e8[e][0],e8[e][1]);this.ruler2=new eS;for(let e=0;e<e7.length;e++)this.ruler2.push(e7[e][0],e7[e][1])}function tt(e){let t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){t&&Object.keys(t).forEach(function(r){e[r]=t[r]})}),e}function tr(e){return Object.prototype.toString.call(e)}function tn(e){return"[object Function]"===tr(e)}function ti(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}te.prototype.skipToken=function(e){let t=e.pos,r=this.ruler.getRules(""),n=r.length,i=e.md.options.maxNesting,a=e.cache;if(void 0!==a[t]){e.pos=a[t];return}let o=!1;if(e.level<i){for(let i=0;i<n;i++)if(e.level++,o=r[i](e,!0),e.level--,o){if(t>=e.pos)throw Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;!o&&e.pos++,a[t]=e.pos},te.prototype.tokenize=function(e){let t=this.ruler.getRules(""),r=t.length,n=e.posMax,i=e.md.options.maxNesting;for(;e.pos<n;){let a=e.pos,o=!1;if(e.level<i){for(let n=0;n<r;n++)if(o=t[n](e,!1)){if(a>=e.pos)throw Error("inline rule didn't increment state.pos");break}}if(o){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},te.prototype.parse=function(e,t,r,n){let i=new this.State(e,t,r,n);this.tokenize(i);let a=this.ruler2.getRules(""),o=a.length;for(let e=0;e<o;e++)a[e](i)},te.prototype.State=eY;let ta={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},to={"http:":{validate:function(e,t,r){let n=e.slice(t);return(r.re.http||(r.re.http=RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n))?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){let n=e.slice(t);return(r.re.no_http||(r.re.no_http=RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n))?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){let n=e.slice(t);return(r.re.mailto||(r.re.mailto=RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n))?n.match(r.re.mailto)[0].length:0}}},ts="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function tu(){return function(e,t){t.normalize(e)}}function tl(e){var t;let r,n,i=(t=e.__opts__,t=t||{},(r={}).src_Any=F.source,r.src_Cc=U.source,r.src_Z=R.source,r.src_P=M.source,r.src_ZPCc=[r.src_Z,r.src_P,r.src_Cc].join("|"),r.src_ZCc=[r.src_Z,r.src_Cc].join("|"),r.src_pseudo_letter="(?:(?!"+(n="[><|]")+"|"+r.src_ZPCc+")"+r.src_Any+")",r.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]?)",r.src_auth="(?:(?:(?!"+r.src_ZCc+"|[@/\\[\\]()]).)+@)?",r.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",r.src_host_terminator="(?=$|"+n+"|"+r.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+r.src_ZPCc+"))",r.src_path="(?:[/?#](?:(?!"+r.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+r.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+r.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+r.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+r.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+r.src_ZCc+"|[']).)+\\'|\\'(?="+r.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+r.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+r.src_ZCc+"|$)|;(?!"+r.src_ZCc+"|$)|\\!+(?!"+r.src_ZCc+"|[!]|$)|\\?(?!"+r.src_ZCc+"|[?]|$))+|\\/)?",r.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',r.src_xn="xn--[a-z0-9\\-]{1,59}",r.src_domain_root="(?:"+r.src_xn+"|"+r.src_pseudo_letter+"{1,63})",r.src_domain="(?:"+r.src_xn+"|(?:"+r.src_pseudo_letter+")|(?:"+r.src_pseudo_letter+"(?:-|"+r.src_pseudo_letter+"){0,61}
4"+r.src_pseudo_letter+"))",r.src_host="(?:(?:(?:(?:"+r.src_domain+")\\.)*"+r.src_domain+"))",r.tpl_host_fuzzy="(?:"+r.src_ip4+"|(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%)))",r.tpl_host_no_ip_fuzzy="(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%))",r.src_host_strict=r.src_host+r.src_host_terminator,r.tpl_host_fuzzy_strict=r.tpl_host_fuzzy+r.src_host_terminator,r.src_host_port_strict=r.src_host+r.src_port+r.src_host_terminator,r.tpl_host_port_fuzzy_strict=r.tpl_host_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_port_no_ip_fuzzy_strict=r.tpl_host_no_ip_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+r.src_ZPCc+"|>|$))",r.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+r.src_ZCc+")("+r.src_email_name+"@"+r.tpl_host_fuzzy_strict+")",r.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_fuzzy_strict+r.src_path+")",r.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_no_ip_fuzzy_strict+r.src_path+")",e.re=r),a=e.__tlds__.slice();function o(e){return e.replace("%TLDS%",i.src_tlds)}e.onCompile(),e.__tlds_replaced__||a.push("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]"),a.push(i.src_xn),i.src_tlds=a.join("|"),i.email_fuzzy=RegExp(o(i.tpl_email_fuzzy),"i"),i.link_fuzzy=RegExp(o(i.tpl_link_fuzzy),"i"),i.link_no_ip_fuzzy=RegExp(o(i.tpl_link_no_ip_fuzzy),"i"),i.host_fuzzy_test=RegExp(o(i.tpl_host_fuzzy_test),"i");let s=[];function u(e,t){throw Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){let r=e.__schemas__[t];if(null===r)return;let n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===tr(r)){if("[object RegExp]"===tr(r.validate)){var i;i=r.validate,n.validate=function(e,t){let r=e.slice(t);return i.test(r)?r.match(i)[0].length:0}}else tn(r.validate)?n.validate=r.validate:u(t,r);tn(r.normalize)?n.normalize=r.normalize:r.normalize?u(t,r):n.normalize=tu();return}"[object String]"===tr(r)?s.push(t):u(t,r)}),s.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:tu()};let l=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(ti).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+i.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+i.src_ZPCc+"))("+l+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),e.__index__=-1,e.__text_cache__=""}function tc(e,t){let r=e.__index__,n=e.__last_index__,i=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=i,this.text=i,this.url=i}function td(e,t){let r=new tc(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function tp(e,t){if(!(this instanceof tp))return new tp(e,t);!t&&Object.keys(e||{}).reduce(function(e,t){return e||ta.hasOwnProperty(t)},!1)&&(t=e,e={}),this.__opts__=tt({},ta,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=tt({},to,e),this.__compiled__={},this.__tlds__=ts,this.__tlds_replaced__=!1,this.re={},tl(this)}tp.prototype.add=function(e,t){return this.__schemas__[e]=t,tl(this),this},tp.prototype.set=function(e){return this.__opts__=tt(this.__opts__,e),this},tp.prototype.test=function(e){let t,r,n,i,a,o,s,u;if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;if(this.re.schema_test.test(e)){for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u<this.__index__)&&null!==(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(a=r.index+r[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(n=e.match(this.re.email_fuzzy))&&(a=n.index+n[1].length,o=n.index+n[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o)),this.__index__>=0},tp.prototype.pretest=function(e){return this.re.pretest.test(e)},tp.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},tp.prototype.match=function(e){let t=[],r=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(td(this,r)),r=this.__last_index__);let n=r?e.slice(r):e;for(;this.test(n);)t.push(td(this,r)),n=n.slice(this.__last_index__),r+=this.__last_index__;return t.length?t:null},tp.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;let t=this.re.schema_at_start.exec(e);if(!t)return null;let r=this.testSchemaAt(e,t[2],t[0].length);return r?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r,td(this,0)):null},tp.prototype.tlds=function(e,t){return(e=Array.isArray(e)?e:[e],t)?this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse():(this.__tlds__=e.slice(),this.__tlds_replaced__=!0),tl(this),this},tp.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},tp.prototype.onCompile=function(){};let tf=/^xn--/,th=/[^\0-\x7F]/,tm=/[\x2E\u3002\uFF0E\uFF61]/g,tg={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >
4= 0x80 (not a basic code point)","invalid-input":"Invalid input"},tv=Math.floor,t_=String.fromCharCode;function ty(e){throw RangeError(tg[e])}function tb(e,t){let r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+(function(e,t){let r=[],n=e.length;for(;n--;)r[n]=t(e[n]);return r})((e=e.replace(tm,".")).split("."),t).join(".")}let tk=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},tx=function(e,t,r){let n=0;for(e=r?tv(e/700):e>>1,e+=tv(e/t);e>455;n+=36)e=tv(e/35);return tv(n+36*e/(e+38))},t$=function(e){let t=[],r=e.length,n=0,i=128,a=72,o=e.lastIndexOf("-");o<0&&(o=0);for(let r=0;r<o;++r)e.charCodeAt(r)>=128&&ty("not-basic"),t.push(e.charCodeAt(r));for(let u=o>0?o+1:0;u<r;){let o=n;for(let t=1,i=36;;i+=36){var s;u>=r&&ty("invalid-input");let o=(s=e.charCodeAt(u++))>=48&&s<58?26+(s-48):s>=65&&s<91?s-65:s>=97&&s<123?s-97:36;o>=36&&ty("invalid-input"),o>tv((0x7fffffff-n)/t)&&ty("overflow"),n+=o*t;let l=i<=a?1:i>=a+26?26:i-a;if(o<l)break;let c=36-l;t>tv(0x7fffffff/c)&&ty("overflow"),t*=c}let l=t.length+1;a=tx(n-o,l,0==o),tv(n/l)>0x7fffffff-i&&ty("overflow"),i+=tv(n/l),n%=l,t.splice(n++,0,i)}return String.fromCodePoint(...t)},tw=function(e){let t=[],r=(e=function(e){let t=[],r=0,n=e.length;for(;r<n;){let i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){let n=e.charCodeAt(r++);(64512&n)==56320?t.push(((1023&i)<<10)+(1023&n)+65536):(t.push(i),r--)}else t.push(i)}return t}(e)).length,n=128,i=0,a=72;for(let r of e)r<128&&t.push(t_(r));let o=t.length,s=o;for(o&&t.push("-");s<r;){let r=0x7fffffff;for(let t of e)t>=n&&t<r&&(r=t);let u=s+1;for(let l of(r-n>tv((0x7fffffff-i)/u)&&ty("overflow"),i+=(r-n)*u,n=r,e))if(l<n&&++i>0x7fffffff&&ty("overflow"),l===n){let e=i;for(let r=36;;r+=36){let n=r<=a?1:r>=a+26?26:r-a;if(e<n)break;let i=e-n,o=36-n;t.push(t_(tk(n+i%o,0))),e=tv(i/o)}t.push(t_(tk(e,0))),a=tx(i,u,s===o),i=0,++s}++i,++n}return t.join("")},tS={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},tI=/^(vbscript|javascript|file|data):/,tE=/^data:image\/(gif|png|jpeg|webp);/;function tO(e){let t=e.trim().toLowerCase();return!tI.test(t)||tE.test(t)}let tD=["http:","https:","mailto:"];function tA(e){let t=N(e,!0);if(t.hostname&&(!t.protocol||tD.indexOf(t.protocol)>=0))try{var r;r=t.hostname,t.hostname=tb(r,function(e){return th.test(e)?"xn--"+tw(e):e})}catch(e){}return w(S(t))}function tT(e){let t=N(e,!0);if(t.hostname&&(!t.protocol||tD.indexOf(t.protocol)>=0))try{var r;r=t.hostname,t.hostname=tb(r,function(e){return tf.test(e)?t$(e.slice(4).toLowerCase()):e})}catch(e){}return x(S(t),x.defaultChars+"%")}function tC(e,t){if(!(this instanceof tC))return new tC(e,t);t||ek.isString(e)||(t=e||{},e="default"),this.inline=new te,this.block=new eX,this.core=new eU,this.renderer=new ew,this.linkify=new tp,this.validateLink=tO,this.normalizeLink=tA,this.normalizeLinkText=tT,this.utils=ek,this.helpers=ek.assign({},ex),this.options={},this.configure(e),t&&this.set(t)}tC.prototype.set=function(e){return ek.assign(this.options,e),this},tC.prototype.configure=function(e){let t=this;if(ek.isString(e)){let t=e;if(!(e=tS[t]))throw Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEac
4h(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this},tC.prototype.enable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));let n=e.filter(function(e){return 0>r.indexOf(e)});if(n.length&&!t)throw Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},tC.prototype.disable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));let n=e.filter(function(e){return 0>r.indexOf(e)});if(n.length&&!t)throw Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},tC.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},tC.prototype.parse=function(e,t){if("string"!=typeof e)throw Error("Input data should be a String");let r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},tC.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},tC.prototype.parseInline=function(e,t){let r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},tC.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};let tj=new h.Schema({nodes:{doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM:()=>["p",0]},blockquote:{content:"block+",group:"block",parseDOM:[{tag:"blockquote"}],toDOM:()=>["blockquote",0]},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM:()=>["div",["hr"]]},heading:{attrs:{level:{default:1}},content:"(text | image)*",group:"block",defining:!0,parseDOM:[{tag:"h1",attrs:{level:1}},{tag:"h2",attrs:{level:2}},{tag:"h3",attrs:{level:3}},{tag:"h4",attrs:{level:4}},{tag:"h5",attrs:{level:5}},{tag:"h6",attrs:{level:6}}],toDOM:e=>["h"+e.attrs.level,0]},code_block:{content:"text*",group:"block",code:!0,defining:!0,marks:"",attrs:{params:{default:""}},parseDOM:[{tag:"pre",preserveWhitespace:"full",getAttrs:e=>({params:e.getAttribute("data-params")||""})}],toDOM:e=>["pre",e.attrs.params?{"data-params":e.attrs.params}:{},["code",0]]},ordered_list:{content:"list_item+",group:"block",attrs:{order:{default:1},tight:{default:!1}},parseDOM:[{tag:"ol",getAttrs:e=>({order:e.hasAttribute("start")?+e.getAttribute("start"):1,tight:e.hasAttribute("data-tight")})}],toDOM:e=>["ol",{start:1==e.attrs.order?null:e.attrs.order,"data-tight":e.attrs.tight?"true":null},0]},bullet_list:{content:"list_item+",group:"block",attrs:{tight:{default:!1}},parseDOM:[{tag:"ul",getAttrs:e=>({tight:e.hasAttribute("data-tight")})}],toDOM:e=>["ul",{"data-tight":e.attrs.tight?"true":null},0]},list_item:{content:"block+",defining:!0,parseDOM:[{tag:"li"}],toDOM:()=>["li",0]},text:{group:"inline"},image:{inline:!0,attrs:{src:{},alt:{default:null},title:{default:null}},group:"inline",draggable:!0,parseDOM:[{tag:"img[src]",getAttrs:e=>({src:e.getAttribute("src"),title:e.getAttribute("title"),alt:e.getAttribute("alt")})}],toDOM:e=>["img",e.attrs]},hard_break:{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM:()=>["br"]}},marks:{em:{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style=italic"},{style:"font-style=normal",clearMark:e=>"em"==e.type.name}],toDOM:()=>["em"]},strong:{parseDOM:[{tag:"strong"},{tag:"b",getAttrs:e=>"normal"!=e.style.fontWeight&&null},{style:"font-weight=400",clearMark:e=>"strong"==e.type.name},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}],toDOM:()=>["strong"]},link:{attrs:{href:{},title:{default:null}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs:e=>({href:e.getAttribute("href"),title:e.getAttribute("title")})}],toDOM:e=>["a",e.attrs]},code:{code:!0,parseDOM:[{tag:"code"}],toDOM:()=>["code"]}}});class tz{constructor(e,t){this.schema=e,this.tokenHandlers=t,this.stack=[{type:e.topNodeType,attrs:null,content:[],marks:h.Mark.none}]}top(){return this.stack[this.stack.length-1]}push(e){this.stack.length&&this.top().content.push(e)}addText(e){if(!e)return;let t=this.top(),r=t.content,n=r[r.length-1],i=this.schema.text(e,t.marks),a;
4n&&(a=function(e,t){if(e.isText&&t.isText&&h.Mark.sameSet(e.marks,t.marks))return e.withText(e.text+t.text)}(n,i))?r[r.length-1]=a:r.push(i)}openMark(e){let t=this.top();t.marks=e.addToSet(t.marks)}closeMark(e){let t=this.top();t.marks=e.removeFromSet(t.marks)}parseTokens(e){for(let t=0;t<e.length;t++){let r=e[t],n=this.tokenHandlers[r.type];if(!n)throw Error("Token type `"+r.type+"` not supported by Markdown parser");n(this,r,e,t)}}addNode(e,t,r){let n=this.top(),i=e.createAndFill(t,r,n?n.marks:[]);return i?(this.push(i),i):null}openNode(e,t){this.stack.push({type:e,attrs:t,content:[],marks:h.Mark.none})}closeNode(){let e=this.stack.pop();return this.addNode(e.type,e.attrs,e.content)}}function tP(e,t,r,n){return e.getAttrs?e.getAttrs(t,r,n):e.attrs instanceof Function?e.attrs(t):e.attrs}function tN(e,t){return e.noCloseToken||"code_inline"==t||"code_block"==t||"fence"==t}function tZ(e){return"\n"==e[e.length-1]?e.slice(0,e.length-1):e}function tF(){}function tU(e,t){for(;++t<e.length;)if("list_item_open"!=e[t].type)return e[t].hidden;return!1}new class{constructor(e,t,r){this.schema=e,this.tokenizer=t,this.tokens=r,this.tokenHandlers=function(e,t){let r=Object.create(null);for(let n in t){let i=t[n];if(i.block){let t=e.nodeType(i.block);tN(i,n)?r[n]=(e,r,n,a)=>{e.openNode(t,tP(i,r,n,a)),e.addText(tZ(r.content)),e.closeNode()}:(r[n+"_open"]=(e,r,n,a)=>e.openNode(t,tP(i,r,n,a)),r[n+"_close"]=e=>e.closeNode())}else if(i.node){let t=e.nodeType(i.node);r[n]=(e,r,n,a)=>e.addNode(t,tP(i,r,n,a))}else if(i.mark){let t=e.marks[i.mark];tN(i,n)?r[n]=(e,r,n,a)=>{e.openMark(t.create(tP(i,r,n,a))),e.addText(tZ(r.content)),e.closeMark(t)}:(r[n+"_open"]=(e,r,n,a)=>e.openMark(t.create(tP(i,r,n,a))),r[n+"_close"]=e=>e.closeMark(t))}else if(i.ignore)tN(i,n)?r[n]=tF:(r[n+"_open"]=tF,r[n+"_close"]=tF);else throw RangeError("Unrecognized parsing spec "+JSON.stringify(i))}return r.text=(e,t)=>e.addText(t.content),r.inline=(e,t)=>e.parseTokens(t.children),r.softbreak=r.softbreak||(e=>e.addText(" ")),r}(e,r)}parse(e,t={}){let r=new tz(this.schema,this.tokenHandlers),n;r.parseTokens(this.tokenizer.parse(e,t));do n=r.closeNode();while(r.stack.length)return n||this.schema.topNodeType.createAndFill()}}(tj,tC("commonmark",{html:!1}),{blockquote:{block:"blockquote"},paragraph:{block:"paragraph"},list_item:{block:"list_item"},bullet_list:{block:"bullet_list",getAttrs:(e,t,r)=>({tight:tU(t,r)})},ordered_list:{block:"ordered_list",getAttrs:(e,t,r)=>({order:+e.attrGet("start")||1,tight:tU(t,r)})},heading:{block:"heading",getAttrs:e=>({level:+e.tag.slice(1)})},code_block:{block:"code_block",noCloseToken:!0},fence:{block:"code_block",getAttrs:e=>({params:e.info||""}),noCloseToken:!0},hr:{node:"horizontal_rule"},image:{node:"image",getAttrs:e=>({src:e.attrGet("src"),title:e.attrGet("title")||null,alt:e.children[0]&&e.children[0].content||null})},hardbreak:{node:"hard_break"},em:{mark:"em"},strong:{mark:"strong"},link:{mark:"link",getAttrs:e=>({href:e.attrGet("href"),title:e.attrGet("title")||null})},code_inline:{mark:"code",noCloseToken:!0}});let tM={open:"",close:"",mixable:!0};class tL{constructor(e,t,r={}){this.nodes=e,this.marks=t,this.options=r}serialize(e,t={}){t=Object.assign({},this.options,t);let r=new tq(this.nodes,this.marks,t);return r.renderContent(e),r.out}}let tR=new tL({blockquote(e,t){e.wrapBlock("> ",null,t,()=>e.renderContent(t))},code_block(e,t){let r=t.textContent.match(/`{3,}/gm),n=r?r.sort().slice(-1)[0]+"`":"```";e.write(n+(t.attrs.params||"")+"\n"),e.text(t.textContent,!1),e.write("\n"),e.write(n),e.closeBlock(t)},heading(e,t){e.write(e.repeat("#",t.attrs.level)+" "),e.renderInline(t,!1),e.closeBlock(t)},horizontal_rule(e,t){e.write(t.attrs.markup||"---"),e.closeBlock(t)},bullet_list(e,t){e.renderList(t,"  ",()=>(t.attrs.bullet||"*")+" ")},ordered_list(e,t){let r=t.attrs.order||1,n=String(r+t.childCount-1).length,i=e.repeat(" ",n+2);e.renderList(t,i,t=>{let i=String(r+t);return e.repeat(" ",n-i.length)+i+". "})},list_item(e,t){e.renderContent(t)},paragraph(e,t){e.renderInline(t),e.closeBlock(t)},image(e,t){e.write("!["+e.esc(t.attrs.alt||"")+"]("+t.attrs.src.replace(/[\(\)]/g,"\\$&")+(t.attrs.title?' "'+t.attrs.title.replace(/"/g,'\\"')+'"':"")+")")},hard_break(e,t,r,n){for(let i=n+1;i<r.childCount;i++)if(r.child(i).type!=t.type)return void e.write("\\\n")},text(e,t){e.text(t.text,!e.inAutolink)}},{em:{open:"*",close:"*",mixable:!0,expelEnclosingWhitespace:!0},strong:{open:"**",close:"**",mixable:!0,expelEnclosingWhitespace:!0},link:{open:(e,t,r,n)=>(e.inAutolink=function(e,t,r){if(e.attrs.title||!/^\w+:/.test(e.attrs.href))return!1;let n=t.child(r);return!!n.isText&&n.text==e.attrs.href&&n.marks[n.marks.length-1]==e&&(r==t.childCount-1||!e.isInSet(t.child(r+1).marks))}(t,r,n),e.inAutolink?"<":"["),close(e,t,r,n){let{inAutolink:i}=e;return e.inAutolink=void 0,i?">":"]("+t.attrs.href.replace(/[\(\)"]/g,"\\$&")+(t.attrs.title?` "${t.attrs.title.replace(/"/g,'\\"')}"`:"")+")"},mixable:!0},code:{open:(e,t,r,n)=>tB(r.child(n),-1),close:(e,t,r,n)=>tB(r.child(n-1),1),escape:!1}});function tB(e,t){let r=/`+/g,n,i=0;if(e.isText)for(;n=r.exec(e.text);)i=Math.max(i,n[0].length);let a=i>0&&t>0?" `":"`";for(let e=0;e<i;e++)a+="`";return i>0&&t<0&&(a+=" "),a}class tq{constructor(e,t,r){this.nodes=e,this.marks=t,this.options=r,this.delim="",this.out="",this.closed=null,this.inAutolink=void 0,this.atBlockStart=!1,this.inTightList=!1,void 0===this.options.tightLists&&(this.options.tightLists=!1),void 0===this.options.hardBreakNodeName&&(this.options.hardBreakNodeName="hard_break")}flushClose(e=2){if(this.closed){if(this.atBlank()||(this.out+="\n"),e>1){let t=this.delim,r=/\s+$/.exec(t);r&&(t=t.slice(0,t.length-r[0].length));for(let r=1;r<e;r++)this.out+=t+"\n"}this.closed=null}}getMark(e){let t=this.marks[e];if(!t){if(!1!==this.options.strict)throw Error(`Mark type \`${e}\` not supported by Markdown renderer`);t=tM}return t}wrapBlock(e,t,r,n){let i=this.delim;this.write(null!=t?t:e),this.delim+=e,n(),this.delim=i,this.closeBlock(r)}atBlank(){return/(^|\n)$/.test(this.out)}ensureNewLine(){this.atBlank()||(this.out+="\n")}write(e){this.flushClose(),this.delim&&this.atBlank()&&(this.out+=this.delim),e&&(this.out+=e)}closeBlock(e){this.closed=e}text(e,t=!0){let r=e.split("\n");for(let e=0;e<r.length;e++)this.write(),!t&&"["==r[e][0]&&/(^|[^\\])\!$/.test(this.out)&&(this.out=this.out.slice(0,this.out.length-1)+"\\!"),this.out+=t?this.esc(r[e],this.atBlockStart):r[e],e!=r.length-1&&(this.out+="\n")}render(e,t,r){if(this.nodes[e.type.name])this.nodes[e.type.name](this,e,t,r);else if(!1!==this.options.strict)throw Error("Token type `"+e.type.n
4ame+"` not supported by Markdown renderer");else!e.type.isLeaf&&(e.type.inlineContent?this.renderInline(e):this.renderContent(e),e.isBlock&&this.closeBlock(e))}renderContent(e){e.forEach((t,r,n)=>this.render(t,e,n))}renderInline(e,t=!0){this.atBlockStart=t;let r=[],n="",i=(t,i,a)=>{let o=t?t.marks:[];t&&t.type.name===this.options.hardBreakNodeName&&(o=o.filter(t=>{if(a+1==e.childCount)return!1;let r=e.child(a+1);return t.isInSet(r.marks)&&(!r.isText||/\S/.test(r.text))}));let s=n;if(n="",t&&t.isText&&o.some(e=>{let t=this.getMark(e.type.name);return t&&t.expelEnclosingWhitespace&&!e.isInSet(r)})){let[e,n,i]=/^(\s*)(.*)$/m.exec(t.text);n&&(s+=n,(t=i?t.withText(i):null)||(o=r))}if(t&&t.isText&&o.some(t=>{let r=this.getMark(t.type.name);return r&&r.expelEnclosingWhitespace&&!this.isMarkAhead(e,a+1,t)})){let[e,i,a]=/^(.*?)(\s*)$/m.exec(t.text);a&&(n=a,(t=i?t.withText(i):null)||(o=r))}let u=o.length?o[o.length-1]:null,l=u&&!1===this.getMark(u.type.name).escape,c=o.length-!!l;t:for(let e=0;e<c;e++){let t=o[e];if(!this.getMark(t.type.name).mixable)break;for(let n=0;n<r.length;n++){let i=r[n];if(!this.getMark(i.type.name).mixable)break;if(t.eq(i)){e>n?o=o.slice(0,n).concat(t).concat(o.slice(n,e)).concat(o.slice(e+1,c)):n>e&&(o=o.slice(0,e).concat(o.slice(e+1,n)).concat(t).concat(o.slice(n,c)));continue t}}}let d=0;for(;d<Math.min(r.length,c)&&o[d].eq(r[d]);)++d;for(;d<r.length;)this.text(this.markString(r.pop(),!1,e,a),!1);if(s&&this.text(s),t){for(;r.length<c;){let t=o[r.length];r.push(t),this.text(this.markString(t,!0,e,a),!1),this.atBlockStart=!1}l&&t.isText?this.text(this.markString(u,!0,e,a)+t.text+this.markString(u,!1,e,a+1),!1):this.render(t,e,a),this.atBlockStart=!1}(null==t?void 0:t.isText)&&t.nodeSize>0&&(this.atBlockStart=!1)};e.forEach(i),i(null,0,e.childCount),this.atBlockStart=!1}renderList(e,t,r){this.closed&&this.closed.type==e.type?this.flushClose(3):this.inTightList&&this.flushClose(1);let n=void 0!==e.attrs.tight?e.attrs.tight:this.options.tightLists,i=this.inTightList;this.inTightList=n,e.forEach((i,a,o)=>{o&&n&&this.flushClose(1),this.wrapBlock(t,r(o),e,()=>this.render(i,e,o))}),this.inTightList=i}esc(e,t=!1){return e=e.replace(/[`*\\~\[\]_]/g,(t,r)=>"_"==t&&r>0&&r+1<e.length&&e[r-1].match(/\w/)&&e[r+1].match(/\w/)?t:"\\"+t),t&&(e=e.replace(/^(\+[ ]|[\-*>])/,"\\$&").replace(/^(\s*)(#{1,6})(\s|$)/,"$1\\$2$3").replace(/^(\s*\d+)\.\s/,"$1\\. ")),this.options.escapeExtraCharacters&&(e=e.replace(this.options.escapeExtraCharacters,"\\$&")),e}quote(e){let t=-1==e.indexOf('"')?'""':-1==e.indexOf("'")?"''":"()";return t[0]+e+t[1]}repeat(e,t){let r="";for(let n=0;n<t;n++)r+=e;return r}markString(e,t,r,n){let i=this.getMark(e.type.name),a=t?i.open:i.close;return"string"==typeof a?a:a(this,e,r,n)}getEnclosingWhitespace(e){return{leading:(e.match(/^(\s+)/)||[void 0])[0],trailing:(e.match(/(\s+)$/)||[void 0])[0]}}isMarkAhead(e,t,r){for(;;t++){if(t==e.childCount)return!1;let n=e.child(t);if(n.type.name!=this.options.hardBreakNodeName)return r.isInSet(n.marks);t++}}}let tV=/^\s+$/,tW=/^\s+/,tJ=/\s+$/,tG=RegExp("[\\p{P}\\p{S}]","u"),tK=e=>(e.codePointAt(0)??0)<=65535&&tG.test(e),tH=e=>e.length>0&&!/\s/.test(e)&&!tK(e),tX=e=>e.marks.filter(e=>"bold"===e.type.name||"italic"===e.type.name),tY=new Set(["bold","italic","link"]),tQ=({active:e,marks:t})=>{let r=[...t];for(let t=0;t<r.length;t++){let n=r[t];if(!tY.has(n.type.name))break;for(let i=0;i<e.length;i++){let a=e[i];if(!tY.has(a.type.name))break;if(n.eq(a)){t>i?(r.splice(t,1),r.splice(i,0,n)):i>t&&(r.splice(t,1),r.splice(i-1,0,n));break}}}return r},t0=({left:e,right:t})=>{let r=0;for(;r<Math.min(e.length,t.length)&&e[r].eq(t[r]);)r++;return e.slice(0,r)},t1=e=>{let t,r=[];e.forEach(e=>{if(!e.isText)throw Error(`Inline node type \`${e.type.name}\` is not supported by the Markdown serializer`);for(let t of e.text?.match(/\s+|\S+/g)??[])r.push({marks:e.marks,text:t})});let n=[];for(let e=r.length-1;e>=0;e--)n[e]=t,tV.test(r[e].text)||(t=r[e]);let i=[],a=r.map((t,r)=>{if(!tV.test(t.text))return i=tQ({active:i,marks:t.marks}),e.type.schema.text(t.text,t.marks);let a=n[r],o=tQ({active:i,marks:t.marks}),s=t0({left:i,right:o}),u=tQ({active:s,marks:a?.marks??[]}),l=t0({left:s,right:u}),c=t.marks.filter(e=>
4!["bold","italic"].includes(e.type.name)||l.some(t=>t.eq(e)));return i=tQ({active:i,marks:c}),e.type.schema.text(t.text,c)});return e.copy(h.Fragment.fromArray(a))},t4=({character:e,state:t})=>{let r=/[ \t\r\n]/.test(e)?" ":e;t.text(`&#${r.codePointAt(0)};`,!1)},t6=({mode:e,state:t,whitespace:r})=>{let n=r.replace(/\r\n/g,"\n");if("mark-transition"===e)return void t.text(Array.from(n).map(e=>/[\t\r\n]/.test(e)?" ":e).join(""),!1);for(let e of n)t4({character:e,state:t})},t2=tR.marks.link,t3=e=>{let t=String(e.attrs.href),r=(0,m.getSafeMarkdownLinkHref)(t);return r&&/^tel:/i.test(r)&&/[\s()]/.test(r)?r:null},t9={...t2,open:(e,t,r,n)=>t3(t)||String(t.attrs.href).includes("&")?(e.inAutolink=!1,"["):(({index:e,mark:t,parent:r})=>{let n=String(t.attrs.href),i=(0,m.getSafeMarkdownLinkHref)(n),a=r.child(e);return t.attrs.title||i!==n||!/^\w+:/.test(n)||/[\s<>&]/.test(n)||!a.isText||a.text!==n||a.marks.at(-1)!==t||e<r.childCount-1&&t.isInSet(r.child(e+1).marks)?null:n})({index:n,mark:t,parent:r})?(e.inAutolink=!0,"<"):(e.inAutolink=!1,"["),close:(e,t,r,n)=>{let i=t3(t);if(!i){let i,a;return e.inAutolink?"string"==typeof t2.close?t2.close:t2.close(e,t,r,n):(e.inAutolink=void 0,i=String(t.attrs.href).replace(/&/g,"&amp;").replace(/[()\"]/g,"\\$&"),a=t.attrs.title?` "${String(t.attrs.title).replace(/"/g,'\\"')}"`:"",`](${i}${a})`)}e.inAutolink=void 0;let a=t.attrs.title?` "${String(t.attrs.title).replace(/"/g,'\\"')}"`:"";return`](<${i}>${a})`}},t5=new class extends tL{serialize(e,t={}){let r,n,i,a=new tq(this.nodes,this.marks,{...this.options,...t});return r=a.text.bind(a),n=a.closeBlock.bind(a),i="",a.text=(e,t=!0)=>{e&&tV.test(e)?a.atTextBlockContentStart?t6({mode:"text-block-edge",state:a,whitespace:e}):i+=e:(i&&(r(Array.from(i.replace(/\r\n/g,"\n")).map(e=>/[\t\r\n]/.test(e)?" ":e).join(""),!1),i=""),r(e,t),e&&(a.atTextBlockContentStart=!1))},a.closeBlock=e=>{(()=>{if(!i)return;let e=i;i="",t6({mode:"text-block-edge",state:a,whitespace:e})})(),n(e)},a.renderContent(e),a.out}}({blockquote:tR.nodes.blockquote,bulletList:tR.nodes.bullet_list,heading:(e,t)=>{e.write(`${e.repeat("#",t.attrs.level)} `),e.atTextBlockContentStart=!0,e.renderInline(t1(t),!1),e.atTextBlockContentStart=!1,e.closeBlock(t)},listItem:tR.nodes.list_item,orderedList:(e,t)=>{let r="number"==typeof t.attrs.start?t.attrs.start:1,n=String(r+t.childCount-1).length,i=e.repeat(" ",n+2);e.renderList(t,i,t=>{let i=String(r+t);return`${e.repeat(" ",n-i.length)}${i}. `})},paragraph:(e,t)=>{e.atTextBlockContentStart=!0,e.renderInline(t1(t)),e.atTextBlockContentStart=!1,e.closeBlock(t)},text:(e,t,r,n)=>{let i=t.text??"",a=e=>t.marks.length!==e.marks.length||t.marks.some((t,r)=>!t.eq(e.marks[r])),o=t.marks.length>0&&(0===n||a(r.child(n-1))),s=t.marks.length>0&&(n===r.childCount-1||a(r.child(n+1))),u=0===n||o?i.match(tW)?.[0]??"":"",l=i.slice(u.length),c=n===r.childCount-1||s?l.match(tJ)?.[0]??"":"",d=l.slice(0,l.length-c.length),p=!!e.inAutolink,f=(({hasLeadingWhitespace:e,hasTrailingWhitespace:t,node:r,parent:n,index:i})=>{let a=i>0?n.child(i-1):null,o=i<n.childCount-1?n.child(i+1):null,s=a?.isText?Array.from(a.text??"").at(-1)??"":"",u=Array.from(r.text??"")[0]??"",l=Array.from(r.text??"").at(-1)??"",c=o?.isText?Array.from(o.text??"")[0]??"":"",d=a?.isText?tX(a):[];tX(r);let p=o?.isText?tX(o):[],f=d.some(e=>!(({mark:e,node:t})=>e.isInSet(t.marks))({mark:e,node:r})),h=p.some(e=>!(({mark:e,node:t})=>e.isInSet(t.marks))({mark:e,node:r}));return{encodeFirstCharacter:!e&&a?.isText===!0&&tH(u)&&(f&&tH(s)||tK(s)&&f),encodeLastCharacter:!t&&o?.isText===!0&&(h&&tH(l)&&tH(c)||tH(l)&&tK(c)&&h)}})({hasLeadingWhitespace:u.length>0,hasTrailingWhitespace:c.length>0,index:n,node:t,parent:r});t6({mode:0===n?"text-block-edge":"mark-transition",state:e,whitespace:u}),(({encodeFirstCharacter:e,encodeLastCharacter:t,outputMode:r="escaped",state:n,text:i})=>{let a=n.atBlockStart?/^(?:(\d+)([.)])|(\+))(?=\s|$)/.exec(i):null,o=i;if(a&&(a[3]?n.text("&#43;",!1):(n.text(a[1]),n.text(")"===a[2]?"&#41;":"&#46;",!1)),o=i.slice(a[0].length)),"raw"===r)return n.text(o,!1);let s=Array.from(o),u="";
4s.forEach((i,a)=>{if(!(e&&0===a||t&&a===s.length-1)&&!["&","<",">","[","]","_","`","~","	","\n","\r"," "].includes(i)){u+=i;return}n.text(u,"escaped"===r),n.text(`&#${i.codePointAt(0)};`,!1),u=""}),n.text(u,"escaped"===r)})({encodeFirstCharacter:!p&&f.encodeFirstCharacter,encodeLastCharacter:!p&&f.encodeLastCharacter,outputMode:p?"raw":"escaped",state:e,text:d}),t6({mode:n===r.childCount-1?"text-block-edge":"mark-transition",state:e,whitespace:c})}},{bold:tR.marks.strong,italic:{close:"_",expelEnclosingWhitespace:!0,mixable:!0,open:"_"},link:t9},{strict:!0});var t8=e.i(10552);let t7=({sanitizedHtml:e,schema:t})=>{let r=(0,t8.createNodeFromContent)(e,t,{errorOnInvalidContent:!0,parseOptions:{preserveWhitespace:!0},slice:!0});return r instanceof h.Fragment?r:"doc"===r.type.name?r.content:h.Fragment.from(r)};e.s(["parseSanitizedHtmlToFragment",0,t7],895729);let re=e=>{if(e.isTextblock)return e.content.size>0?e:null;if(e.isLeaf)return e;let t=[];if(e.forEach((e,r,n)=>{let i=re(e);i&&t.push({childIndex:n,node:i})}),0===t.length)return null;let r="orderedList"===e.type.name&&"number"==typeof e.attrs.start?{...e.attrs,start:e.attrs.start+t[0].childIndex}:e.attrs;return e.type.create(r,h.Fragment.fromArray(t.map(e=>e.node)),e.marks)},rt=({href:e,signatures:t,text:r})=>{let n=t.at(-1);if(n?.href===e){n.text+=r;return}t.push({href:e,text:r})},rr=e=>e.map(e=>({...e,text:e.text.replace(/^[ \u00a0]+|[ \u00a0]+$/g,"")})).filter(e=>e.text.length>0),rn=({content:e,expectedVisibleText:t,markdown:r,mode:n})=>{var i;let a,o,s,u=(0,m.parseMarkdownPassage)({markdown:r,mode:n}),l=rr((i=u.parsed,a=[],i.blocks.forEach(e=>{let t=!1;e.runs.forEach(e=>{let r=e.marks.find(e=>"link"===e.type);if(!r||"link"!==r.type){t=!1;return}t?rt({href:r.attributes.href,signatures:a,text:e.text}):a.push({href:r.attributes.href,text:e.text}),t=!0})}),a)),c=rr((o=[],s=!1,e.descendants(e=>{if(e.isTextblock)return s=!1,!0;if(!e.isText)return!0;let t=e.marks.find(e=>"link"===e.type.name);return t?(s?rt({href:String(t.attrs.href),signatures:o,text:e.text??""}):o.push({href:String(t.attrs.href),text:e.text??""}),s=!0):s=!1,!1}),o));return u.visibleText!==t?{expectedLinkSignatures:c,expectedVisibleText:t,markdown:r,parsedLinkSignatures:l,parsedVisibleText:u.visibleText,reason:"visible-text-changed"}:JSON.stringify(l)!==JSON.stringify(c)?{expectedLinkSignatures:c,expectedVisibleText:t,markdown:r,parsedLinkSignatures:l,parsedVisibleText:u.visibleText,reason:"links-changed"}:null},ri=new WeakMap,ra=e=>Array.from(e).map(e=>`&#${e.codePointAt(0)};`).join(""),ro=({blocks:e,mode:t})=>e.map(ra).join("block"===t?"\n\n":""),rs=({content:e,documentNode:t,mode:r,scope:n})=>{let i,a,o="block"===r?(a=[],e.forEach(e=>{let t=re(e);t&&a.push(t)}),h.Fragment.fromArray(a)):e,s=null,u=null;try{s=(({content:e,mode:t})=>{if("inline"===t)return(0,m.normalizeMarkdownVisibleWhitespace)(e.textBetween(0,e.size,""));let r=[];return e.descendants(e=>!e.isTextblock||(e.textContent.length>0&&r.push((0,m.normalizeMarkdownVisibleWhitespace)(e.textContent)),!1)),r.join("\n")})({content:o,mode:r});let e="inline"===r?h.Fragment.from(t.type.schema.nodes.paragraph.create(null,o)):o;u=t5.serialize(t.copy(e),{tightLists:!0});let n=rn({content:o,expectedVisibleText:s,markdown:u,mode:r});if(null===n)return u;i=n}catch{i={expectedVisibleText:s,markdown:u,reason:"serialization-error"}}return(({content:e,documentNode:t,failure:r,mode:n,scope:i})=>{let a=(({mode:e,reason:t,scope:r})=>`${r}:${e}:${t}`)({mode:n,reason:r.reason,scope:i}),o=ri.get(t)??new Set;if(!o.has(a)){o.add(a),ri.set(t,o);try{let t=new Set,a=new Set;e.descendants(e=>
4{a.add(e.type.name),e.marks.forEach(e=>t.add(e.type.name))});let o=(({contentSize:e,failure:t,markTypes:r,mode:n,nodeTypes:i,scope:a})=>{let o=t.expectedVisibleText,s="serialization-error"===t.reason?null:t.parsedVisibleText,u="serialization-error"===t.reason?null:t.expectedLinkSignatures,l="serialization-error"===t.reason?null:t.parsedLinkSignatures,c=null!==o&&null!==s?(({actual:e,expected:t})=>{let r=Math.min(e.length,t.length);for(let n=0;n<r;n+=1)if(e[n]!==t[n])return n;return e.length===t.length?null:r})({actual:s,expected:o}):null;return{tags:{markdown_fallback_status:"plain-text-used",markdown_mode:"inline"===n?"inline":"block",markdown_remediation_category:(({expectedLinks:e,expectedVisibleText:t,failure:r,mismatchIndex:n,parsedLinks:i,parsedVisibleText:a})=>{switch(r.reason){case"serialization-error":return r.reason;case"links-changed":if((e?.length??0)<(i?.length??0))return"automatic-link-detection";if((e?.length??0)>(i?.length??0))return"existing-link-dropped";return"link-destination-changed";case"visible-text-changed":{if(null===n||null===t||null===a)return"unclassified-visible-text";let e=t[n]??"",r=a[n]??"";if("*"===r||"_"===r)return"emphasis-delimiters-visible";if("\\"===r)return"markdown-escape-visible";if("non-whitespace"!==_(e)||"non-whitespace"!==_(r))return"whitespace-normalization-or-trimming";let i=t.slice(t.lastIndexOf("\n",n-1)+1);if(/^(?:\d+[.)]|[-+*]|#{1,6}|>)\s/.test(i))return"literal-block-syntax-consumed";if(/[<>&"'`]/.test(e+r))return"complex-literal-syntax";return"unclassified-visible-text"}}})({expectedLinks:u,expectedVisibleText:o,failure:t,mismatchIndex:c,parsedLinks:l,parsedVisibleText:s})??"serialization-error",markdown_serialization_failure:["links-changed","visible-text-changed"].includes(t.reason)?t.reason:"serialization-error",markdown_serialization_scope:"selection"===a||"text-block"===a?a:"full-document"},extra:{content_size:Number.isSafeInteger(e)&&e>=0?e:0,expected_link_count:u?.length??null,expected_visible_text_length:o?.length??null,markdown_length:t.markdown?.length??null,mark_types:[...new Set(r.filter(e=>b.has(e)))].sort(),node_types:[...new Set(i.filter(e=>y.has(e)))].sort(),parsed_link_count:l?.length??null,parsed_visible_text_length:s?.length??null}}})({contentSize:e.size,failure:r,markTypes:[...t],mode:n,nodeTypes:[...a],scope:i});g.captureMessage("ProseMirror Markdown serialization used a plain-text fallback",{level:"warning",tags:{...o.tags,diagnostic_code:"editor_markdown_serialization_fallback"},extra:o.extra})}catch{}}})({content:o,documentNode:t,failure:i,mode:r,scope:n}),(({blocks:e,documentNode:t,mode:r})=>{let n=t.type.schema.nodes.paragraph;if(!n)return ro({blocks:e,mode:r});try{let i=e.map(e=>n.create(null,e.length>0?t.type.schema.text(e):void 0)),a=t5.serialize(t.copy(h.Fragment.fromArray(i)),{tightLists:!0}),o="inline"===r?(0,m.normalizeMarkdownVisibleWhitespace)(e[0]??""):e.map(m.normalizeMarkdownVisibleWhitespace).join("\n"),s="inline"===r?i[0]?.content??h.Fragment.empty:h.Fragment.fromArray(i),u=rn({content:s,expectedVisibleText:o,markdown:a,mode:r});return null===u?a:ro({blocks:e,mode:r})}catch{return ro({blocks:e,mode:r})}})({blocks:(({content:e,mode:t})=>{if("inline"===t)return[e.textBetween(0,e.size,"")];let r=[];return e.descendants(e=>!e.isTextblock||(e.textContent.length>0&&r.push(e.textContent),!1)),r})({content:o,mode:r}),documentNode:t,mode:r})},ru=({editor:e,from:t,serializationScope:r="selection",to:n})=>{let i,a=e.state.doc.slice(t,n),o=(i="inline",a.content.forEach(e=>{e.isBlock&&(i="block")}),i);return rs({content:a.content,documentNode:e.state.doc,mode:o,scope:r})},rl=e=>(0,m.parseMarkdownPassage)({markdown:e,mode:"block"}).sanitizedHtml;e.s(["getFullDocumentMarkdown",0,e=>ru({editor:e,from:0,serializationScope:"full-document",to:Math.min(1e4,e.state.doc.content.size)}),"getMarkdownAtPosition",0,ru,"getMarkdownForTextBlock",0,({blockId:e,editor:t})=>{let r=null,n=({path:i,node:a})=>{a.forEach((o,s,u)=>{if(null===r){if(o.isTextblock&&o.attrs[v.BLOCK_ID_ATTRIBUTE_KEY]===e){let e=o;for(let t of[...i,{childIndex:u,node:a}].reverse()){if(!["blockquote","bulletList","listItem","orderedList"].includes(t.node.type.n
4ame))continue;let r="orderedList"===t.node.type.name&&"number"==typeof t.node.attrs.start?{...t.node.attrs,start:t.node.attrs.start+t.childIndex}:t.node.attrs;e=t.node.type.create(r,h.Fragment.from(e),t.node.marks)}r=rs({content:h.Fragment.from(e),documentNode:t.state.doc,mode:"block",scope:"text-block"});return}o.isTextblock||n({path:[...i,{childIndex:u,node:a}],node:o})}})};return n({path:[],node:t.state.doc}),r},"getSanitizedHtml",0,rl,"replaceDocumentText",0,(e,t)=>{let r=rl(t);e.chain().clearContent().insertContentAt(0,r,{parseOptions:{preserveWhitespace:!0},updateSelection:!0}).focus().run()},"replaceTextAtSelection",0,({editor:e,from:t,mode:r,text:n,to:i})=>{let a,o="inline"===(({markdown:e,mode:t})=>"auto"!==t?t:(0,m.getAutomaticMarkdownPassageMode)({markdown:e}))({markdown:n,mode:r})?(0,m.parseMarkdownPassage)({markdown:n,mode:"inline"}).sanitizedHtml:rl(n);try{a=t7({sanitizedHtml:o,schema:e.schema})}catch{return!1}return e.chain().deleteRange({from:t,to:i}).insertContentAt(t,a,{parseOptions:{preserveWhitespace:!0},updateSelection:!0}
4).focus().run()}],226052)},299641,e=>{"use strict";var t,r,n,i,a,o,s,u,l,c,d,p,f,h,m,g,v,_,y,b,k,x,$,w,S,I,E,O,D=e.i(271645),A=e.i(467034),T="vercel.ai.error",C=Symbol.for(T),j=class e extends Error{constructor({name:e,message:t,cause:r}){super(t),this[i]=!0,this.name=e,this.cause=r}static isInstance(t){return e.hasMarker(t,T)}static hasMarker(e,t){let r=Symbol.for(t);return null!=e&&"object"==typeof e&&r in e&&"boolean"==typeof e[r]&&!0===e[r]}};i=C;var z=j,P="AI_APICallError",N=`vercel.ai.error.${P}`,Z=Symbol.for(N),F=class extends z{constructor({message:e,url:t,requestBodyValues:r,statusCode:n,responseHeaders:i,responseBody:o,cause:s,isRetryable:u=null!=n&&(408===n||409===n||429===n||n>=500),data:l}){super({name:P,message:e,cause:s}),this[a]=!0,this.url=t,this.requestBodyValues=r,this.statusCode=n,this.responseHeaders=i,this.responseBody=o,this.isRetryable=u,this.data=l}static isInstance(e){return z.hasMarker(e,N)}};a=Z;var U="AI_EmptyResponseBodyError",M=`vercel.ai.error.${U}`,L=Symbol.for(M),R=class extends z{constructor({message:e="Empty response body"}={}){super({name:U,message:e}),this[o]=!0}static isInstance(e){return z.hasMarker(e,M)}};function B(e){return null==e?"unknown error":"string"==typeof e?e:e instanceof Error?e.message:JSON.stringify(e)}o=L;var q="AI_InvalidArgumentError",V=`vercel.ai.error.${q}`,W=Symbol.for(V),J=class extends z{constructor({message:e,cause:t,argument:r}){super({name:q,message:e,cause:t}),this[s]=!0,this.argument=r}static isInstance(e){return z.hasMarker(e,V)}};s=W,Symbol.for("vercel.ai.error.AI_InvalidPromptError"),Symbol.for("vercel.ai.error.AI_InvalidResponseDataError");var G="AI_JSONParseError",K=`vercel.ai.error.${G}`,H=Symbol.for(K),X=class extends z{constructor({text:e,cause:t}){super({name:G,message:`JSON parsing failed: Text: ${e}.
5Error message: ${B(t)}`,cause:t}),this[u]=!0,this.text=e}static isInstance(e){return z.hasMarker(e,K)}};u=H,Symbol.for("vercel.ai.error.AI_LoadAPIKeyError"),Symbol.for("vercel.ai.error.AI_LoadSettingError"),Symbol.for("vercel.ai.error.AI_NoContentGeneratedError");var Y="AI_NoSuchModelError",Q=`vercel.ai.error.${Y}`,ee=Symbol.for(Q),et=class extends z{constructor({errorName:e=Y,modelId:t,modelType:r,message:n=`No such ${r}: ${t}`}){super({name:e,message:n}),this[l]=!0,this.modelId=t,this.modelType=r}static isInstance(e){return z.hasMarker(e,Q)}};l=ee,Symbol.for("vercel.ai.error.AI_TooManyEmbeddingValuesForCallError");var er="AI_TypeValidationError",en=`vercel.ai.error.${er}`,ei=Symbol.for(en),ea=class e extends z{constructor({value:e,cause:t}){super({name:er,message:`Type validation failed: Value: ${JSON.stringify(e)}.
6Error message: ${B(t)}`,cause:t}),this[c]=!0,this.value=e}static isInstance(e){return z.hasMarker(e,en)}static wrap({value:t,cause:r}){return e.isInstance(r)&&r.value===t?r:new e({value:t,cause:r})}};c=ei;Symbol.for("vercel.ai.error.AI_UnsupportedFunctionalityError");var eo=e.i(247167);class es extends Error{constructor(e,t){super(e),this.name="ParseError",this.type=t.type,this.field=t.field,this.value=t.value,this.line=t.line}}function eu(e){}class el extends TransformStream{constructor({onError:e,onRetry:t,onComment:r}={}){let n;super({start(i){n=function(e){if("function"==typeof e)throw TypeError("`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?");let{onEvent:t=eu,onError:r=eu,onRetry:n=eu,onComment:i}=e,a="",o=!0,s,u="",l="";function c(e){if(""===e)return void(u.length>0&&t({id:s,event:l||void 0,data:u.endsWith(`
7`)?u.slice(0,-1):u}),s=void 0,u="",l="");if(e.startsWith(":")){i&&i(e.slice(e.startsWith(": ")?2:1));return}let r=e.indexOf(":");if(-1!==r){let t=e.slice(0,r),n=" "===e[r+1]?2:1;d(t,e.slice(r+n),e);return}d(e,"",e)}function d(e,t,i){switch(e){case"event":l=t;break;case"data":u=`${u}${t}
8`;break;case"id":s=t.includes("\0")?void 0:t;break;case"retry":/^\d+$/.test(t)?n(parseInt(t,10)):r(new es(`Invalid \`retry\` value: "${t}"`,{type:"invalid-retry",value:t,line:i}));break;default:r(new es(`Unknown field "${e.length>20?`${e.slice(0,20)}\u2026`:e}"`,{type:"unknown-field",field:e,value:t,line:i}))}}return{feed:function(e){let t=o?e.replace(/^\xEF\xBB\xBF/,""):e,[r,n]=function(e){let t=[],r="",n=0;for(;n<e.length;){let i=e.indexOf("\r",n),a=e.indexOf(`
9`,n),o=-1;if(-1!==i&&-1!==a?o=Math.min(i,a):-1!==i?o=i===e.length-1?-1:i:-1!==a&&(o=a),-1===o){r=e.slice(n);break}{let r=e.slice(n,o);t.push(r),"\r"===e[(n=o+1)-1]&&e[n]===`
10`&&n++}}return[t,r]}(`${a}${t}`);for(let e of r)c(e);a=n,o=!1},reset:function(e={}){a&&e.consume&&c(a),o=!0,s=void 0,u="",l="",a=""}}}({onEvent:e=>{i.enqueue(e)},onError(t){"terminate"===e?i.error(t):"function"==typeof e&&e(t)},onRetry:t,onComment:r})},transform(e){n.feed(e)}})}}let ec=Object.freeze({status:"aborted"});function ed(e,t,r){function n(r,n){var i;for(let a in Object.defineProperty(r,"_zod",{value:r._zod??{},enumerable:!1}),(i=r._zod).traits??(i.traits=new Set),r._zod.traits.add(e),t(r,n),o.prototype)a in r||Object.defineProperty(r,a,{value:o.prototype[a].bind(r)});r._zod.constr=o,r._zod.def=n}
10let i=r?.Parent??Object;class a extends i{}function o(e){var t;let i=r?.Parent?new a:this;for(let r of(n(i,e),(t=i._zod).deferred??(t.deferred=[]),i._zod.deferred))r();return i}return Object.defineProperty(a,"name",{value:e}),Object.defineProperty(o,"init",{value:n}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>!!r?.Parent&&t instanceof r.Parent||t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}let ep=Symbol("zod_brand");class ef extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}let eh={};function em(e){return e&&Object.assign(eh,e),eh}function eg(e){let t=Object.values(e).filter(e=>"number"==typeof e);return Object.entries(e).filter(([e,r])=>-1===t.indexOf(+e)).map(([e,t])=>t)}function ev(e,t="|"){return e.map(e=>eP(e)).join(t)}function e_(e,t){return"bigint"==typeof t?t.toString():t}function ey(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function eb(e){return null==e}function ek(e){let t=+!!e.startsWith("^"),r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function ex(e,t){let r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,i=r>n?r:n;return Number.parseInt(e.toFixed(i).replace(".",""))%Number.parseInt(t.toFixed(i).replace(".",""))/10**i}function e$(e,t,r){Object.defineProperty(e,t,{get(){{let n=r();return e[t]=n,n}},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function ew(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function eS(e){return JSON.stringify(e)}e.s(["$ZodAsyncError",0,ef,"$brand",0,ep,"$constructor",0,ed,"NEVER",0,ec,"config",0,em,"globalConfig",0,eh],197753);let eI=Error.captureStackTrace?Error.captureStackTrace:(...e)=>{};function eE(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}let eO=ey(()=>{if("u">typeof navigator&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return Function(""),!0}catch(e){return!1}});function eD(e){if(!1===eE(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!1!==eE(r)&&!1!==Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")}let eA=new Set(["string","number","symbol"]),eT=new Set(["string","number","bigint","boolean","symbol","undefined"]);function eC(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ej(e,t,r){let n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function ez(e){if(!e)return{};if("string"==typeof e)return{error:()=>e};if(e?.message!==void 0){if(e?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");e.error=e.message}return(delete e.message,"string"==typeof e.error)?{...e,error:()=>e.error}:e}function eP(e){return"bigint"==typeof e?e.toString()+"n":"string"==typeof e?`"${e}"`:`${e}`}function eN(e){return Object.keys(e).filter(t=>"optional"===e[t]._zod.optin&&"optional"===e[t]._zod.optout)}let eZ={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-0x80000000,0x7fffffff],uint32:[0,0xffffffff],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},eF={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function eU(e,t=0){for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function eM(e,t){return t.map(t=>(t.path??(t.path=[]),t.path.unshift(e),t))}function eL(e){return"string"==typeof e?e:e?.message}function eR(e,t,r){let n={...e,path:e.path??[]};return e.message||(n.message=eL(e.inst?._zod.def?.error?.(e))??eL(t?.error?.(e))??eL(r.customError?.(e))??eL(r.localeError?.(e))??"Invalid input"),delete n.inst,delete n.continue,t?.reportInput||delete n.input,n}function eB(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function eq(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}function eV(...e){let[t,r,n]=e;return"string"==typeof t?{message:t,code:"custom",input:r,inst:n}:{...t}}e.s(["BIGINT_FORMAT_RANGES",0,eF,"Class",0,class{constructor(...e){}},"NUMBER_FORMAT_RANGES",0,eZ,"aborted",0,eU,"allowsEval",0,eO,"assert",0,function(e){},"assertEqual",0,function(e){return e},"assertIs",0,function(e){},"assertNever",0,function(e){throw Error()},"assertNotEqual",0,function(e){return e},"assignProp",0,ew,"cached",0,ey,"captureStackTrace",0,eI,"cleanEnum",0,function(e){return Object.entries(e).filter(([e,t])=>Number.isNaN(Number.parseInt(e,10))).map(e=>e[1])},"cleanRegex",0,ek,"clone",0,ej,"createTransparentProxy",0,function(e){let t;return new Proxy({},{get:(r,n,i)=>(t??(t=e()),Reflect.get(t,n,i)),set:(r,n,i,a)=>(t??(t=e()),Reflect.set(t,n,i,a)),has:(r,n)=>(t??(t=e()),Reflect.has(t,n)),deleteProperty:(r,n)=>(t??(t=e()),Reflect.deleteProperty(t,n)),ownKeys:r=>(t??(t=e()),Reflect.ownKeys(t)),getOwnPropertyDescriptor:(r,n)=>(t??(t=e()),Reflect.getOwnPropertyDescriptor(t,n)),defineProperty:(r,n,i)=>(t??(t=e()),Reflect.defineProperty(t,n,i))})},"defineLazy",0,e$,"esc",0,eS,"escapeRegex",0,eC,"extend",0,function(e,t){if(!eD(t))throw Error("Invalid input to extend: expected a plain object");let r={...e._zod.def,get shape(){let r={...e._zod.def.shape,...t};return ew(this,"shape",r),r},checks:[]};return ej(e,r)},"finalizeIssue",0,eR,"floatSafeRemainder",0,ex,"getElementAtPath",0,function(e,t){return t?t.reduce((e,t)=>
10e?.[t],e):e},"getEnumValues",0,eg,"getLengthableOrigin",0,eq,"getParsedType",0,e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return"promise";if("u">typeof Map&&e instanceof Map)return"map";if("u">typeof Set&&e instanceof Set)return"set";if("u">typeof Date&&e instanceof Date)return"date";if("u">typeof File&&e instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${t}`)}},"getSizableOrigin",0,eB,"isObject",0,eE,"isPlainObject",0,eD,"issue",0,eV,"joinValues",0,ev,"jsonStringifyReplacer",0,e_,"merge",0,function(e,t){return ej(e,{...e._zod.def,get shape(){let r={...e._zod.def.shape,...t._zod.def.shape};return ew(this,"shape",r),r},catchall:t._zod.def.catchall,checks:[]})},"normalizeParams",0,ez,"nullish",0,eb,"numKeys",0,function(e){let t=0;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t},"omit",0,function(e,t){let r={...e._zod.def.shape},n=e._zod.def;for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return ej(e,{...e._zod.def,shape:r,checks:[]})},"optionalKeys",0,eN,"partial",0,function(e,t,r){let n=t._zod.def.shape,i={...n};if(r)for(let t in r){if(!(t in n))throw Error(`Unrecognized key: "${t}"`);r[t]&&(i[t]=e?new e({type:"optional",innerType:n[t]}):n[t])}else for(let t in n)i[t]=e?new e({type:"optional",innerType:n[t]}):n[t];return ej(t,{...t._zod.def,shape:i,checks:[]})},"pick",0,function(e,t){let r={},n=e._zod.def;for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&(r[e]=n.shape[e])}return ej(e,{...e._zod.def,shape:r,checks:[]})},"prefixIssues",0,eM,"primitiveTypes",0,eT,"promiseAllObject",0,function(e){let t=Object.keys(e);return Promise.all(t.map(t=>e[t])).then(e=>{let r={};for(let n=0;n<t.length;n++)r[t[n]]=e[n];return r})},"propertyKeyTypes",0,eA,"randomString",0,function(e=10){let t="abcdefghijklmnopqrstuvwxyz",r="";for(let n=0;n<e;n++)r+=t[Math.floor(Math.random()*t.length)];return r},"required",0,function(e,t,r){let n=t._zod.def.shape,i={...n};if(r)for(let t in r){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);r[t]&&(i[t]=new e({type:"nonoptional",innerType:n[t]}))}else for(let t in n)i[t]=new e({type:"nonoptional",innerType:n[t]});return ej(t,{...t._zod.def,shape:i,checks:[]})},"stringifyPrimitive",0,eP,"unwrapMessage",0,eL],922143);let eW=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),Object.defineProperty(e,"message",{get:()=>JSON.stringify(t,e_,2),enumerable:!0}),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},eJ=ed("$ZodError",eW),eG=ed("$ZodError",eW,{Parent:Error});function eK(e,t=e=>e.message){let r={},n=[];for(let i of e.issues)i.path.length>0?(r[i.path[0]]=r[i.path[0]]||[],r[i.path[0]].push(t(i))):n.push(t(i));return{formErrors:n,fieldErrors:r}}function eH(e,t){let r=t||function(e){return e.message},n={_errors:[]},i=e=>{for(let t of e.issues)if("invalid_union"===t.code&&t.errors.length)t.errors.map(e=>i({issues:e}));else if("invalid_key"===t.code)i({issues:t.issues});else if("invalid_element"===t.code)i({issues:t.issues});else if(0===t.path.length)n._errors.push(r(t));else{let e=n,i=0;for(;i<t.path.length;){let n=t.path[i];i===t.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(r(t))):e[n]=e[n]||{_errors:[]},e=e[n],i++}}};return i(e),n}function eX(e,t){let r=t||function(e){return e.message},n={errors:[]},i=(e,t=[])=>{var a,o;for(let s of e.issues)if("invalid_union"===s.code&&s.errors.length)s.errors.map(e=>i({issues:e},s.path));else if("invalid_key"===s.code)i({issues:s.issues},s.path);else if("invalid_element"===s.code)i({issues:s.issues},s.path);else{let e=[...t,...s.path];
10if(0===e.length){n.errors.push(r(s));continue}let i=n,u=0;for(;u<e.length;){let t=e[u],n=u===e.length-1;"string"==typeof t?(i.properties??(i.properties={}),(a=i.properties)[t]??(a[t]={errors:[]}),i=i.properties[t]):(i.items??(i.items=[]),(o=i.items)[t]??(o[t]={errors:[]}),i=i.items[t]),n&&i.errors.push(r(s)),u++}}};return i(e),n}function eY(e){let t=[];for(let r of e)"number"==typeof r?t.push(`[${r}]`):"symbol"==typeof r?t.push(`[${JSON.stringify(String(r))}]`):/[^\w$]/.test(r)?t.push(`[${JSON.stringify(r)}]`):(t.length&&t.push("."),t.push(r));return t.join("")}function eQ(e){let t=[];for(let r of[...e.issues].sort((e,t)=>e.path.length-t.path.length))t.push(`✖ ${r.message}`),r.path?.length&&t.push(`  → at ${eY(r.path)}`);return t.join("\n")}e.s(["$ZodError",0,eJ,"$ZodRealError",0,eG,"flattenError",0,eK,"formatError",0,eH,"prettifyError",0,eQ,"toDotPath",0,eY,"treeifyError",0,eX],374969);let e0=e=>(t,r,n,i)=>{let a=n?Object.assign(n,{async:!1}):{async:!1},o=t._zod.run({value:r,issues:[]},a);if(o instanceof Promise)throw new ef;if(o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>eR(e,a,em())));throw eI(t,i?.callee),t}return o.value},e1=e0(eG),e4=e=>async(t,r,n,i)=>{let a=n?Object.assign(n,{async:!0}):{async:!0},o=t._zod.run({value:r,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>eR(e,a,em())));throw eI(t,i?.callee),t}return o.value},e6=e4(eG),e2=e=>(t,r,n)=>{let i=n?{...n,async:!1}:{async:!1},a=t._zod.run({value:r,issues:[]},i);if(a instanceof Promise)throw new ef;return a.issues.length?{success:!1,error:new(e??eJ)(a.issues.map(e=>eR(e,i,em())))}:{success:!0,data:a.value}},e3=e2(eG),e9=e=>async(t,r,n)=>{let i=n?Object.assign(n,{async:!0}):{async:!0},a=t._zod.run({value:r,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>eR(e,i,em())))}:{success:!0,data:a.value}},e5=e9(eG);e.s(["_parse",0,e0,"_parseAsync",0,e4,"_safeParse",0,e2,"_safeParseAsync",0,e9,"parse",0,e1,"parseAsync",0,e6,"safeParse",0,e3,"safeParseAsync",0,e5],803108);let e8=(e,t)=>{eJ.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>eH(e,t)},flatten:{value:t=>eK(e,t)},addIssue:{value:t=>e.issues.push(t)},addIssues:{value:t=>e.issues.push(...t)},isEmpty:{get:()=>0===e.issues.length}})},e7=ed("ZodError",e8),te=ed("ZodError",e8,{Parent:Error});e.s(["ZodError",0,e7,"ZodRealError",0,te],789282);let tt=e0(te),tr=e4(te),tn=e2(te),ti=e9(te);e.s(["parse",0,tt,"parseAsync",0,tr,"safeParse",0,tn,"safeParseAsync",0,ti],100364);let ta=Symbol("ZodOutput"),to=Symbol("ZodInput");class ts{constructor(){this._map=new Map,this._idmap=new Map}add(e,...t){let r=t[0];if(this._map.set(e,r),r&&"object"==typeof r&&"id"in r){if(this._idmap.has(r.id))throw Error(`ID ${r.id} already exists in the registry`);this._idmap.set(r.id,e)}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&"object"==typeof t&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let r={...this.get(t)??{}};return delete r.id,{...r,...this._map.get(e)}}return this._map.get(e)}has(e){return this._map.has(e)}}function tu(){return new ts}let tl=tu();e.s(["$ZodRegistry",0,ts,"$input",0,to,"$output",0,ta,"globalRegistry",0,tl,"registry",0,tu],525527);class tc{constructor(e){this.counter=0,this.metadataRegistry=e?.metadata??tl,this.target=e?.target??"draft-2020-12",this.unrepresentable=e?.unrepresentable??"throw",this.override=e?.override??(()=>{}),this.io=e?.io??"output",this.seen=new Map}process(e,t={path:[],schemaPath:[]}){var r;let n=e._zod.def,i=this.seen.get(e);if(i)return i.count++,t.schemaPath.includes(e)&&(i.cycle=t.path),i.schema;let a={schema:{},count:1,cycle:void 0,path:t.path};this.seen.set(e,a);let o=e._zod.toJSONSchema?.();if(o)a.schema=o;else{let r={...t,schemaPath:[...t.schemaPath,e],path:t.path},i=e._zod.parent;if(i)a.ref=i,this.process(i,r),this.seen.get(i).isParent=!0;else{let t=a.schema;switch(n.type){case"string":{t.type="string";let{minimum:r,maximum:n,format:i,patterns:o,contentEncoding:s}=e._zod.bag;if("number"==typeof r&&(t.minLength=r),"number"==typeof n&&(t.maxLength=n),i&&(t.format=({guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""})[i]??i,""===t.format&&delete t.format),s&&(t.contentEncoding=s),o&&o.size>0){let e=[...o];1===e.length?t.pattern=e[0].source:e.length>1&&(a.schema.allOf=[...e.map(e=>({..."draft-7"===this.target?{type:"string"}:{},pattern:e.source}))])}break}case"number":{let{minimum:r,maximum:n,format:i,multipleOf:a,exclusiveMaximum:o,exclusiveMinimum:s}=e._zod.bag;"string"==typeof i&&i.includes("int")?t.type="integer":t.type="number","number"==typeof s&&(t.exclusiveMinimum=s),"number"==typeof r&&(t.minimum=r,"number"==typeof s&&(s>=r?delete t.minimum:delete t.exclusiveMinimum)),"number"==typeof o&&(t.exclusiveMaximum=o),"number"==typeof n&&(t.maximum=n,"number"==typeof o&&(o<=n?delete t.maximum:delete t.exclusiveMaximum)),"number"==typeof a&&(t.multipleOf=a);break}case"boolean":case"success":t.type="boolean";break;case"bigint":if("throw"===this.unrepresentable)throw Error("BigInt cannot be represented in JSON Schema");break;case"symbol":if("throw"===this.unrepresentable)throw Error("Symbols cannot be represented in JSON Schema");break;case"null":t.type="null";break;case"any":case"unknown":break;case"undefined":if("throw"===this.unrepresentable)throw Error("Undefined cannot be represented in JSON Schema");break;case"void":if("throw"===this.unrepresentable)throw Error("Void cannot be represented in JSON Schema");break;case"never":t.not={};break;case"date":if("throw"===this.unrepresentable)throw Error("Date cannot be represented in JSON Schema");break;case"array":{let{minimum:i,maximum:a}=e._zod.bag;"number"==typeof i&&(t.minItems=i),"number"==typeof a&&(t.maxItems=a),t.type="array",t.items=this.process(n.element,{...r,path:[...r.path,"items"]});break}case"object":{t.type="object",t.properties={};let e=n.shape;for(let n in e)t.properties[n]=this.process(e[n],{...r,path:[...r.path,"properties",n]});let i=new Set([...new Set(Object.keys(e))].filter(e=>{let t=n.shape[e]._zod;return"input"===this.io?void 0===t.optin:void 0===t.optout}));i.size>0&&(t.required=Array.from(i)),n.catchall?._zod.def.type==="never"?t.additionalProperties=!1:n.catchall?n.catchall&&(t.additionalProperties=this.process(n.catchall,{...r,path:[...r.path,"additionalProperties"]})):"output"===this.io&&(t.additionalProperties=!1);break}case"union":t.anyOf=n.options.map((e,t)=>this.process(e,{...r,path:[...r.path,"anyOf",t]}));break;case"intersection":{let e=this.process(n.left,{...r,path:[...r.path,"allOf",0]}),i=this.process(n.right,{...r,path:[...r.path,"allOf",1]}),a=e=>"allOf"in e&&1===Object.keys(e).length;t.allOf=[...a(e)?e.allOf:[e],...a(i)?i.allOf:[i]];break}case"tuple":{t.type="array";let i=n.items.map((e,t)=>this.process(e,{...r,path:[...r.path,"prefixItems",t]}));
10if("draft-2020-12"===this.target?t.prefixItems=i:t.items=i,n.rest){let e=this.process(n.rest,{...r,path:[...r.path,"items"]});"draft-2020-12"===this.target?t.items=e:t.additionalItems=e}n.rest&&(t.items=this.process(n.rest,{...r,path:[...r.path,"items"]}));let{minimum:a,maximum:o}=e._zod.bag;"number"==typeof a&&(t.minItems=a),"number"==typeof o&&(t.maxItems=o);break}case"record":t.type="object",t.propertyNames=this.process(n.keyType,{...r,path:[...r.path,"propertyNames"]}),t.additionalProperties=this.process(n.valueType,{...r,path:[...r.path,"additionalProperties"]});break;case"map":if("throw"===this.unrepresentable)throw Error("Map cannot be represented in JSON Schema");break;case"set":if("throw"===this.unrepresentable)throw Error("Set cannot be represented in JSON Schema");break;case"enum":{let e=eg(n.entries);e.every(e=>"number"==typeof e)&&(t.type="number"),e.every(e=>"string"==typeof e)&&(t.type="string"),t.enum=e;break}case"literal":{let e=[];for(let t of n.values)if(void 0===t){if("throw"===this.unrepresentable)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if("bigint"==typeof t)if("throw"===this.unrepresentable)throw Error("BigInt literals cannot be represented in JSON Schema");else e.push(Number(t));else e.push(t);if(0===e.length);else if(1===e.length){let r=e[0];t.type=null===r?"null":typeof r,t.const=r}else e.every(e=>"number"==typeof e)&&(t.type="number"),e.every(e=>"string"==typeof e)&&(t.type="string"),e.every(e=>"boolean"==typeof e)&&(t.type="string"),e.every(e=>null===e)&&(t.type="null"),t.enum=e;break}case"file":{let r={type:"string",format:"binary",contentEncoding:"binary"},{minimum:n,maximum:i,mime:a}=e._zod.bag;void 0!==n&&(r.minLength=n),void 0!==i&&(r.maxLength=i),a?1===a.length?(r.contentMediaType=a[0],Object.assign(t,r)):t.anyOf=a.map(e=>({...r,contentMediaType:e})):Object.assign(t,r);break}case"transform":if("throw"===this.unrepresentable)throw Error("Transforms cannot be represented in JSON Schema");break;case"nullable":t.anyOf=[this.process(n.innerType,r),{type:"null"}];break;case"nonoptional":case"promise":case"optional":this.process(n.innerType,r),a.ref=n.innerType;break;case"default":this.process(n.innerType,r),a.ref=n.innerType,t.default=JSON.parse(JSON.stringify(n.defaultValue));break;case"prefault":this.process(n.innerType,r),a.ref=n.innerType,"input"===this.io&&(t._prefault=JSON.parse(JSON.stringify(n.defaultValue)));break;case"catch":{let e;this.process(n.innerType,r),a.ref=n.innerType;try{e=n.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}t.default=e;break}case"nan":if("throw"===this.unrepresentable)throw Error("NaN cannot be represented in JSON Schema");break;case"template_literal":{let r=e._zod.pattern;if(!r)throw Error("Pattern not found in template literal");t.type="string",t.pattern=r.source;break}case"pipe":{let e="input"===this.io?"transform"===n.in._zod.def.type?n.out:n.in:n.out;this.process(e,r),a.ref=e;break}case"readonly":this.process(n.innerType,r),a.ref=n.innerType,t.readOnly=!0;break;case"lazy":{let t=e._zod.innerType;this.process(t,r),a.ref=t;break}case"custom":if("throw"===this.unrepresentable)throw Error("Custom types cannot be represented in JSON Schema")}}}let s=this.metadataRegistry.get(e);return s&&Object.assign(a.schema,s),"input"===this.io&&function e(t,r){let n=r??{seen:new Set};if(n.seen.has(t))return!1;n.seen.add(t);let i=t._zod.def;switch(i.type){case"string":case"number":case"bigint":case"boolean":case"date":case"symbol":case"undefined":case"null":case"any":case"unknown":case"never":case"void":case"literal":case"enum":case"nan":case"file":case"template_literal":case"custom":case"success":case"catch":return!1;case"array":return e(i.element,n);case"object":for(let t in i.shape)if(e(i.shape[t],n))return!0;return!1;case"union":for(let t of i.options)if(e(t,n))return!0;return!1;case"intersection":return e(i.left,n)||e(i.right,n);case"tuple":for(let t of i.items)if(e(t,n))return!0;if(i.rest&&e(i.rest,n))return!0;return!1;case"record":case"map":return e(i.keyType,n)||e(i.valueType,n);case"set":return e(i.valueType,n);case"promise":case"optional":case"nonoptional":case"nullable":case"readonly":case"default":case"prefault":return e(i.innerType,n);case"lazy":return e(i.getter(),n);case"transform":return!0;case"pipe":return e(i.in,n)||e(i.out,n)}throw Error(`Unknown schema type: ${i.type}`)}(e)&&(delete a.schema.examples,delete a.schema.default),"input"===this.io&&a.schema._prefault&&((r=a.schema).default??(r.default=a.schema._prefault)),delete a.schema._prefault,this.seen.get(e).schema}emit(e,t){let r={cycles:t?.cycles??"ref",reused:t?.reused??"inline",external:t?.external??void 0},n=this.seen.get(e);if(!n)throw Error("Unprocessed schema. This is a bug in Zod.");let i=e=>
10{let t="draft-2020-12"===this.target?"$defs":"definitions";if(r.external){let n=r.external.registry.get(e[0])?.id,i=r.external.uri??(e=>e);if(n)return{ref:i(n)};let a=e[1].defId??e[1].schema.id??`schema${this.counter++}`;return e[1].defId=a,{defId:a,ref:`${i("__shared")}#/${t}/${a}`}}if(e[1]===n)return{ref:"#"};let i=`#/${t}/`,a=e[1].schema.id??`__schema${this.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:r,defId:n}=i(e);t.def={...t.schema},n&&(t.defId=n);let a=t.schema;for(let e in a)delete a[e];a.$ref=r};if("throw"===r.cycles)for(let e of this.seen.entries()){let t=e[1];if(t.cycle)throw Error(`Cycle detected: #/${t.cycle?.join("/")}/<root>
11
12Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let t of this.seen.entries()){let n=t[1];if(e===t[0]){a(t);continue}if(r.external){let n=r.external.registry.get(t[0])?.id;if(e!==t[0]&&n){a(t);continue}}if(this.metadataRegistry.get(t[0])?.id||n.cycle||n.count>1&&"ref"===r.reused){a(t);continue}}let o=(e,t)=>{let r=this.seen.get(e),n=r.def??r.schema,i={...n};if(null===r.ref)return;let a=r.ref;if(r.ref=null,a){o(a,t);let e=this.seen.get(a).schema;e.$ref&&"draft-7"===t.target?(n.allOf=n.allOf??[],n.allOf.push(e)):(Object.assign(n,e),Object.assign(n,i))}r.isParent||this.override({zodSchema:e,jsonSchema:n,path:r.path??[]})};for(let e of[...this.seen.entries()].reverse())o(e[0],{target:this.target});let s={};if("draft-2020-12"===this.target?s.$schema="https://json-schema.org/draft/2020-12/schema":"draft-7"===this.target?s.$schema="http://json-schema.org/draft-07/schema#":console.warn(`Invalid target: ${this.target}`),r.external?.uri){let t=r.external.registry.get(e)?.id;if(!t)throw Error("Schema is missing an `id` property");s.$id=r.external.uri(t)}Object.assign(s,n.def);let u=r.external?.defs??{};for(let e of this.seen.entries()){let t=e[1];t.def&&t.defId&&(u[t.defId]=t.def)}r.external||Object.keys(u).length>0&&("draft-2020-12"===this.target?s.$defs=u:s.definitions=u);try{return JSON.parse(JSON.stringify(s))}catch(e){throw Error("Error converting schema to JSON.")}}}function td(e,t){if(e instanceof ts){let r=new tc(t),n={};
12for(let t of e._idmap.entries()){let[e,n]=t;r.process(n)}let i={},a={registry:e,uri:t?.uri,defs:n};for(let n of e._idmap.entries()){let[e,o]=n;i[e]=r.emit(o,{...t,external:a})}return Object.keys(n).length>0&&(i.__shared={["draft-2020-12"===r.target?"$defs":"definitions"]:n}),{schemas:i}}let r=new tc(t);return r.process(e),r.emit(e,t)}e.s(["JSONSchemaGenerator",0,tc,"toJSONSchema",0,td],34966);var tp=e.i(965638);function tf(...e){return e.reduce((e,t)=>({...e,...null!=t?t:{}}),{})}function th(e){return Object.fromEntries([...e.headers])}var tm=({prefix:e,size:t=16,alphabet:r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:n="-"}={})=>{let i=()=>{let e=r.length,n=Array(t);for(let i=0;i<t;i++)n[i]=r[Math.random()*e|0];return n.join("")};if(null==e)return i;if(r.includes(n))throw new J({argument:"separator",message:`The separator "${n}" must not be part of the alphabet "${r}".`});return()=>`${e}${n}${i()}`};function tg(e){return(e instanceof Error||e instanceof DOMException)&&("AbortError"===e.name||"ResponseAborted"===e.name||"TimeoutError"===e.name)}tm();var tv=["fetch failed","failed to fetch"];function t_({error:e,url:t,requestBodyValues:r}){if(tg(e))return e;if(e instanceof TypeError&&tv.includes(e.message.toLowerCase())){let n=e.cause;if(null!=n)return new F({message:`Cannot connect to API: ${n.message}`,cause:n,url:t,requestBodyValues:r,isRetryable:!0})}return e}function ty(e=globalThis){var t,r,n;return e.window?"runtime/browser":(null==(t=e.navigator)?void 0:t.userAgent)?`runtime/${e.navigator.userAgent.toLowerCase()}`:(null==(n=null==(r=e.process)?void 0:r.versions)?void 0:n.node)?`runtime/node.js/${e.process.version.substring(0)}`:e.EdgeRuntime?"runtime/vercel-edge":"runtime/unknown"}function tb(e,...t){let r=new Headers(function(e){if(null==e)return{};let t={};if(e instanceof Headers)e.forEach((e,r)=>{t[r.toLowerCase()]=e});else for(let[r,n]of(Array.isArray(e)||(e=Object.entries(e)),e))null!=n&&(t[r.toLowerCase()]=n);return t}(e)),n=r.get("user-agent")||"";return r.set("user-agent",[n,...t].filter(Boolean).join(" ")),Object.fromEntries(r.entries())}var tk="3.0.13",tx=()=>globalThis.fetch,t$=async({url:e,headers:t={},successfulResponseHandler:r,failedResponseHandler:n,abortSignal:i,fetch:a=tx()})=>{try{let o=await a(e,{method:"GET",headers:tb(t,`ai-sdk/provider-utils/${tk}`,ty()),signal:i}),s=th(o);if(!o.ok){let t;try{t=await n({response:o,url:e,requestBodyValues:{}})}catch(t){if(tg(t)||F.isInstance(t))throw t;throw new F({message:"Failed to process error response",cause:t,statusCode:o.status,url:e,responseHeaders:s,requestBodyValues:{}})}throw t.value}try{return await r({response:o,url:e,requestBodyValues:{}})}catch(t){if(t instanceof Error&&(tg(t)||F.isInstance(t)))throw t;throw new F({message:"Failed to process successful response",cause:t,statusCode:o.status,url:e,responseHeaders:s,requestBodyValues:{}})}}catch(t){throw t_({error:t,url:e,requestBodyValues:{}})}};function tw({settingValue:e,environmentVariableName:t}){return"string"==typeof e?e:null!=e||void 0===eo.default?void 0:null!=(e=eo.default.env[t])&&"string"==typeof e?e:void 0}var tS=/"__proto__"\s*:/,tI=/"constructor"\s*:/;function tE(e){let{stackTraceLimit:t}=Error;Error.stackTraceLimit=0;try{let t;return t=JSON.parse(e),null===t||"object"!=typeof t||!1===tS.test(e)&&!1===tI.test(e)?t:function(e){let t=[e];for(;t.length;){let e=t;for(let r of(t=[],e)){if(Object.prototype.hasOwnProperty.call(r,"__proto__")||Object.prototype.hasOwnProperty.call(r,"constructor")&&Object.prototype.hasOwnProperty.call(r.constructor,"prototype"))throw SyntaxError("Object contains forbidden prototype property");for(let e in r){let n=r[e];n&&"object"==typeof n&&t.push(n)}}}return e}(t)}finally{Error.stackTraceLimit=t}}var tO=Symbol.for("vercel.ai.validator");function tD(e){let t;return()=>(null==t&&(t=e()),t)}async function tA({value:e,schema:t}){let r=await tT({value:e,schema:t});if(!r.success)throw ea.wrap({value:e,cause:r.error});return r.value}async function tT({value:e,schema:t}){var r;let n="object"==typeof t&&null!==t&&tO in t&&!0===t[tO]&&"validate"in t?t:"function"==typeof t?t():(r=t,{[tO]:!0,validate:async e=>{let t=await r["~standard"].validate(e);return null==t.issues?{success:!0,value:t.value}:{success:!1,error:new ea({value:e,cause:t.issues})}}});try{if(null==n.validate)return{success:!0,value:e,rawValue:e};let t=await n.validate(e);if(t.success)return{success:!0,value:t.value,rawValue:e};return{success:!1,error:ea.wrap({value:e,cause:t.error}),rawValue:e}}catch(t){return{success:!1,error:ea.wrap({value:e,cause:t}),rawValue:e}}}async function tC({text:e,schema:t}){try{let r=tE(e);if(null==t)return r;return tA({value:r,schema:t})}catch(t){if(X.isInstance(t)||ea.isInstance(t))throw t;throw new X({text:e,cause:t})}}async function tj({text:e,schema:t}){try{let r=tE(e);if(null==t)return{success:!0,value:r,rawValue:r};return await tT({value:r,schema:t})}catch(t){return{success:!1,error:X.isInstance(t)?t:new X({text:e,cause:t}),rawValue:void 0}}}
12function tz({stream:e,schema:t}){return e.pipeThrough(new TextDecoderStream).pipeThrough(new el).pipeThrough(new TransformStream({async transform({data:e},r){"[DONE]"!==e&&r.enqueue(await tj({text:e,schema:t}))}}))}var tP=()=>globalThis.fetch,tN=async({url:e,headers:t,body:r,failedResponseHandler:n,successfulResponseHandler:i,abortSignal:a,fetch:o})=>tZ({url:e,headers:{"Content-Type":"application/json",...t},body:{content:JSON.stringify(r),values:r},failedResponseHandler:n,successfulResponseHandler:i,abortSignal:a,fetch:o}),tZ=async({url:e,headers:t={},body:r,successfulResponseHandler:n,failedResponseHandler:i,abortSignal:a,fetch:o=tP()})=>{try{let s=await o(e,{method:"POST",headers:tb(t,`ai-sdk/provider-utils/${tk}`,ty()),body:r.content,signal:a}),u=th(s);if(!s.ok){let t;try{t=await i({response:s,url:e,requestBodyValues:r.values})}catch(t){if(tg(t)||F.isInstance(t))throw t;throw new F({message:"Failed to process error response",cause:t,statusCode:s.status,url:e,responseHeaders:u,requestBodyValues:r.values})}throw t.value}try{return await n({response:s,url:e,requestBodyValues:r.values})}catch(t){if(t instanceof Error&&(tg(t)||F.isInstance(t)))throw t;throw new F({message:"Failed to process successful response",cause:t,statusCode:s.status,url:e,responseHeaders:u,requestBodyValues:r.values})}}catch(t){throw t_({error:t,url:e,requestBodyValues:r.values})}};async function tF(e){return"function"==typeof e&&(e=e()),Promise.resolve(e)}var tU=({errorSchema:e,errorToMessage:t,isRetryable:r})=>async({response:n,url:i,requestBodyValues:a})=>{let o=await n.text(),s=th(n);if(""===o.trim())return{responseHeaders:s,value:new F({message:n.statusText,url:i,requestBodyValues:a,statusCode:n.status,responseHeaders:s,responseBody:o,isRetryable:null==r?void 0:r(n)})};try{let u=await tC({text:o,schema:e});return{responseHeaders:s,value:new F({message:t(u),url:i,requestBodyValues:a,statusCode:n.status,responseHeaders:s,responseBody:o,data:u,isRetryable:null==r?void 0:r(n,u)})}}catch(e){return{responseHeaders:s,value:new F({message:n.statusText,url:i,requestBodyValues:a,statusCode:n.status,responseHeaders:s,responseBody:o,isRetryable:null==r?void 0:r(n)})}}},tM=e=>async({response:t,url:r,requestBodyValues:n})=>{let i=await t.text(),a=await tj({text:i,schema:e}),o=th(t);if(!a.success)throw new F({message:"Invalid JSON response",cause:a.error,statusCode:t.status,responseHeaders:o,responseBody:i,url:r,requestBodyValues:n});return{responseHeaders:o,value:a.value,rawValue:a.rawValue}},tL=Symbol("Let zodToJsonSchema decide on which parser to use"),tR={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",strictUnions:!1,definitions:{},errorMessages:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"};function tB(e,t){return re(e.type._def,t)}var tq=void 0,tV=/^[cC][^\s-]{8,}$/,tW=/^[0-9a-z]+$/,tJ=/^[0-9A-HJKMNP-TV-Z]{26}$/,tG=/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,tK=()=>(void 0===tq&&(tq=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),tq),tH=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,tX=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,tY=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,tQ=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,t0=/^[a-zA-Z0-9_-]{21}$/,t1=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/;function t4(e,t){let r={type:"string"};if(e.checks)for(let n of e.checks)switch(n.kind){case"min":r.minLength="number"==typeof r.minLength?Math.max(r.minLength,n.value):n.value;break;case"max":r.maxLength="number"==typeof r.maxLength?Math.min(r.maxLength,n.value):n.value;break;case"email":switch(t.emailStrategy){case"format:email":t3(r,"email",n.message,t);break;case"format:idn-email":t3(r,"idn-email",n.message,t);break;case"pattern:zod":t9(r,tG,n.message,t)}break;case"url":t3(r,"uri",n.message,t);break;case"uuid":t3(r,"uuid",n.message,t);break;case"regex":t9(r,n.regex,n.message,t);break;case"cuid":t9(r,tV,n.message,t);break;case"cuid2":t9(r,tW,n.message,t);break;case"startsWith":t9(r,RegExp(`^${t6(n.value,t)}`),n.message,t);break;case"endsWith":t9(r,RegExp(`${t6(n.value,t)}$`),n.message,t);break;case"datetime":t3(r,"date-time",n.message,t);break;case"date":t3(r,"date",n.message,t);break;case"time":t3(r,"time",n.message,t);break;case"duration":t3(r,"duration",n.message,t);break;case"length":r.minLength="number"==typeof r.minLength?Math.max(r.minLength,n.value):n.value,r.maxLength="number"==typeof r.maxLength?Math.min(r.maxLength,n.value):n.value;break;case"includes":t9(r,RegExp(t6(n.value,t)),n.message,t);break;case"ip":"v6"!==n.version&&t3(r,"ipv4",n.message,t),"v4"!==n.version&&t3(r,"ipv6",n.message,t);break;case"base64url":t9(r,tQ,n.message,t);break;case"jwt":t9(r,t1,n.message,t);break;case"cidr":"v6"!==n.version&&t9(r,tH,n.message,t),"v4"!==n.version&&t9(r,tX,n.message,t);break;case"emoji":t9(r,tK(),n.message,t);break;case"ulid":t9(r,tJ,n.message,t);break;case"base64":switch(t.base64Strategy){case"format:binary":t3(r,"binary",n.message,t);break;case"contentEncoding:base64":r.contentEncoding="base64";break;case"pattern:zod":t9(r,tY,n.message,t)}break;case"nanoid":t9(r,t0,n.message,t)}return r}function t6(e,t){return"escape"===t.patternStrategy?function(e){let t="";for(let r=0;r<e.length;r++)t2.has(e[r])||(t+="\\"),t+=e[r];return t}(e):e}
12var t2=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function t3(e,t,r,n){var i;e.format||(null==(i=e.anyOf)?void 0:i.some(e=>e.format))?(e.anyOf||(e.anyOf=[]),e.format&&(e.anyOf.push({format:e.format}),delete e.format),e.anyOf.push({format:t,...r&&n.errorMessages&&{errorMessage:{format:r}}})):e.format=t}function t9(e,t,r,n){var i;e.pattern||(null==(i=e.allOf)?void 0:i.some(e=>e.pattern))?(e.allOf||(e.allOf=[]),e.pattern&&(e.allOf.push({pattern:e.pattern}),delete e.pattern),e.allOf.push({pattern:t5(t,n),...r&&n.errorMessages&&{errorMessage:{pattern:r}}})):e.pattern=t5(t,n)}function t5(e,t){var r;if(!t.applyRegexFlags||!e.flags)return e.source;let n={i:e.flags.includes("i"),m:e.flags.includes("m"),s:e.flags.includes("s")},i=n.i?e.source.toLowerCase():e.source,a="",o=!1,s=!1,u=!1;for(let e=0;e<i.length;e++){if(o){a+=i[e],o=!1;continue}if(n.i){if(s){if(i[e].match(/[a-z]/)){u?(a+=i[e],a+=`${i[e-2]}-${i[e]}`.toUpperCase(),u=!1):"-"===i[e+1]&&(null==(r=i[e+2])?void 0:r.match(/[a-z]/))?(a+=i[e],u=!0):a+=`${i[e]}${i[e].toUpperCase()}`;continue}}else if(i[e].match(/[a-z]/)){a+=`[${i[e]}${i[e].toUpperCase()}]`;continue}}if(n.m){if("^"===i[e]){a+=`(^|(?<=[\r
13]))`;continue}else if("$"===i[e]){a+=`($|(?=[\r
14]))`;continue}}if(n.s&&"."===i[e]){a+=s?`${i[e]}\r
15`:`[${i[e]}\r
16]`;continue}a+=i[e],"\\"===i[e]?o=!0:s&&"]"===i[e]?s=!1:s||"["!==i[e]||(s=!0)}try{new RegExp(a)}catch(r){return console.warn(`Could not convert regex pattern at ${t.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),e.source}return a}function t8(e,t){var r,n,i,a,o,s;let u={type:"object",additionalProperties:null!=(r=re(e.valueType._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]}))?r:t.allowedAdditionalProperties};if((null==(n=e.keyType)?void 0:n._def.typeName)===tp.ZodFirstPartyTypeKind.ZodString&&(null==(i=e.keyType._def.checks)?void 0:i.length)){let{type:r,...n}=t4(e.keyType._def,t);return{...u,propertyNames:n}}if((null==(a=e.keyType)?void 0:a._def.typeName)===tp.ZodFirstPartyTypeKind.ZodEnum)return{...u,propertyNames:{enum:e.keyType._def.values}};if((null==(o=e.keyType)?void 0:o._def.typeName)===tp.ZodFirstPartyTypeKind.ZodBranded&&e.keyType._def.type._def.typeName===tp.ZodFirstPartyTypeKind.ZodString&&(null==(s=e.keyType._def.type._def.checks)?void 0:s.length)){let{type:r,...n}=tB(e.keyType._def,t);return{...u,propertyNames:n}}return u}var t7={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function re(e,t,r=!1){var n;let i=t.seen.get(e);if(t.override){let a=null==(n=t.override)?void 0:n.call(t,e,t,i,r);if(a!==tL)return a}if(i&&!r){let e=rt(i,t);if(void 0!==e)return e}let a={def:e,path:t.currentPath,jsonSchema:void 0};t.seen.set(e,a);let o=((e,t,r)=>{var n,i,a,o,s,u;switch(t){case tp.ZodFirstPartyTypeKind.ZodString:return t4(e,r);case tp.ZodFirstPartyTypeKind.ZodNumber:let l={type:"number"};if(!e.checks)return l;for(let t of e.checks)switch(t.kind){case"int":l.type="integer";break;case"min":t.inclusive?l.minimum=t.value:l.exclusiveMinimum=t.value;break;case"max":t.inclusive?l.maximum=t.value:l.exclusiveMaximum=t.value;break;case"multipleOf":l.multipleOf=t.value}return l;case tp.ZodFirstPartyTypeKind.ZodObject:return function(e,t){let r={type:"object",properties:{}},n=[],i=e.shape();for(let e in i){let a=i[e];if(void 0===a||void 0===a._def)continue;let o=function(e){try{return e.isOptional()}catch(e){return!0}}(a),s=re(a._def,{...t,currentPath:[...t.currentPath,"properties",e],propertyPath:[...t.currentPath,"properties",e]});void 0!==s&&(r.properties[e]=s,o||n.push(e))}n.length&&(r.required=n);let a=function(e,t){if("ZodNever"!==e.catchall._def.typeName)return re(e.catchall._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]});switch(e.unknownKeys){case"passthrough":return t.allowedAdditionalProperties;case"strict":return t.rejectedAdditionalProperties;case"strip":return"strict"===t.removeAdditionalStrategy?t.allowedAdditionalProperties:t.rejectedAdditionalProperties}}(e,t);return void 0!==a&&(r.additionalProperties=a),r}(e,r);case tp.ZodFirstPartyTypeKind.ZodBigInt:let c={type:"integer",format:"int64"};if(!e.checks)return c;for(let t of e.checks)switch(t.kind){case"min":t.inclusive?c.minimum=t.value:c.exclusiveMinimum=t.value;break;case"max":t.inclusive?c.maximum=t.value:c.exclusiveMaximum=t.value;break;case"multipleOf":c.multipleOf=t.value}return c;case tp.ZodFirstPartyTypeKind.ZodBoolean:return{type:"boolean"};case tp.ZodFirstPartyTypeKind.ZodDate:return function e(t,r,n){let i=null!=n?n:r.dateStrategy;if(Array.isArray(i))return{anyOf:i.map((n,i)=>e(t,r,n))};switch(i){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":var a=t;let o={type:"integer",format:"unix-time"};for(let e of a.checks)switch(e.kind){case"min":o.minimum=e.value;break;case"max":o.maximum=e.value}return o}}(e,r);case tp.ZodFirstPartyTypeKind.ZodUndefined:return{not:{}};case tp.ZodFirstPartyTypeKind.ZodNull:return{type:"null"};case tp.ZodFirstPartyTypeKind.ZodArray:let d;return d={type:"array"},(null==(a=e.type)?void 0:a._def)&&(null==(s=null==(o=e.type)?void 0:o._def)?void 0:s.typeName)!==tp.ZodFirstPartyTypeKind.ZodAny&&(d.items=re(e.type._def,{...r,currentPath:[...r.currentPath,"items"]})),e.minLength&&(d.minItems=e.minLength.value),e.maxLength&&(d.maxItems=e.maxLength.value),e.exactLength&&(d.minItems=e.exactLength.value,d.maxItems=e.exactLength.value),d;case tp.ZodFirstPartyTypeKind.ZodUnion:case tp.ZodFirstPartyTypeKind.ZodDiscriminatedUnion:let p,f=e.options instanceof Map?Array.from(e.options.values()):e.options;if(f.every(e=>e._def.typeName in t7&&(!e._def.checks||!e._def.checks.length))){let e=f.reduce((e,t)=>
16{let r=t7[t._def.typeName];return r&&!e.includes(r)?[...e,r]:e},[]);return{type:e.length>1?e:e[0]}}if(f.every(e=>"ZodLiteral"===e._def.typeName&&!e.description)){let e=f.reduce((e,t)=>{let r=typeof t._def.value;switch(r){case"string":case"number":case"boolean":return[...e,r];case"bigint":return[...e,"integer"];case"object":if(null===t._def.value)return[...e,"null"];default:return e}},[]);if(e.length===f.length){let t=e.filter((e,t,r)=>r.indexOf(e)===t);return{type:t.length>1?t:t[0],enum:f.reduce((e,t)=>e.includes(t._def.value)?e:[...e,t._def.value],[])}}}else if(f.every(e=>"ZodEnum"===e._def.typeName))return{type:"string",enum:f.reduce((e,t)=>[...e,...t._def.values.filter(t=>!e.includes(t))],[])};return n=e,i=r,(p=(n.options instanceof Map?Array.from(n.options.values()):n.options).map((e,t)=>re(e._def,{...i,currentPath:[...i.currentPath,"anyOf",`${t}`]})).filter(e=>!!e&&(!i.strictUnions||"object"==typeof e&&Object.keys(e).length>0))).length?{anyOf:p}:void 0;case tp.ZodFirstPartyTypeKind.ZodIntersection:let h,m;return h=[re(e.left._def,{...r,currentPath:[...r.currentPath,"allOf","0"]}),re(e.right._def,{...r,currentPath:[...r.currentPath,"allOf","1"]})].filter(e=>!!e),m=[],h.forEach(e=>{if((!("type"in e)||"string"!==e.type)&&"allOf"in e)m.push(...e.allOf);else{let t=e;if("additionalProperties"in e&&!1===e.additionalProperties){let{additionalProperties:r,...n}=e;t=n}m.push(t)}}),m.length?{allOf:m}:void 0;case tp.ZodFirstPartyTypeKind.ZodTuple:return e.rest?{type:"array",minItems:e.items.length,items:e.items.map((e,t)=>re(e._def,{...r,currentPath:[...r.currentPath,"items",`${t}`]})).reduce((e,t)=>void 0===t?e:[...e,t],[]),additionalItems:re(e.rest._def,{...r,currentPath:[...r.currentPath,"additionalItems"]})}:{type:"array",minItems:e.items.length,maxItems:e.items.length,items:e.items.map((e,t)=>re(e._def,{...r,currentPath:[...r.currentPath,"items",`${t}`]})).reduce((e,t)=>void 0===t?e:[...e,t],[])};case tp.ZodFirstPartyTypeKind.ZodRecord:return t8(e,r);case tp.ZodFirstPartyTypeKind.ZodLiteral:let g;return"bigint"!=(g=typeof e.value)&&"number"!==g&&"boolean"!==g&&"string"!==g?{type:Array.isArray(e.value)?"array":"object"}:{type:"bigint"===g?"integer":g,const:e.value};case tp.ZodFirstPartyTypeKind.ZodEnum:return{type:"string",enum:Array.from(e.values)};case tp.ZodFirstPartyTypeKind.ZodNativeEnum:let v,_,y;return v=e.values,{type:1===(y=Array.from(new Set((_=Object.keys(e.values).filter(e=>"number"!=typeof v[v[e]]).map(e=>v[e])).map(e=>typeof e)))).length?"string"===y[0]?"string":"number":["string","number"],enum:_};case tp.ZodFirstPartyTypeKind.ZodNullable:if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(e.innerType._def.typeName)&&(!e.innerType._def.checks||!e.innerType._def.checks.length))return{type:[t7[e.innerType._def.typeName],"null"]};let b=re(e.innerType._def,{...r,currentPath:[...r.currentPath,"anyOf","0"]});return b&&{anyOf:[b,{type:"null"}]};case tp.ZodFirstPartyTypeKind.ZodOptional:if(r.currentPath.toString()===(null==(u=r.propertyPath)?void 0:u.toString()))return re(e.innerType._def,r);let k=re(e.innerType._def,{...r,currentPath:[...r.currentPath,"anyOf","1"]});return k?{anyOf:[{not:{}},k]}:{};case tp.ZodFirstPartyTypeKind.ZodMap:if("record"===r.mapStrategy)return t8(e,r);return{type:"array",maxItems:125,items:{type:"array",items:[re(e.keyType._def,{...r,currentPath:[...r.currentPath,"items","items","0"]})||{},re(e.valueType._def,{...r,currentPath:[...r.currentPath,"items","items","1"]})||{}],minItems:2,maxItems:2}};case tp.ZodFirstPartyTypeKind.ZodSet:let x;return x={type:"array",uniqueItems:!0,items:re(e.valueType._def,{...r,currentPath:[...r.currentPath,"items"]})},e.minSize&&(x.minItems=e.minSize.value),e.maxSize&&(x.maxItems=e.maxSize.value),x;case tp.ZodFirstPartyTypeKind.ZodLazy:return()=>e.getter()._def;case tp.ZodFirstPartyTypeKind.ZodPromise:return re(e.type._def,r);case tp.ZodFirstPartyTypeKind.ZodNaN:case tp.ZodFirstPartyTypeKind.ZodNever:return{not:{}};case tp.ZodFirstPartyTypeKind.ZodEffects:return"input"===r.effectStrategy?re(e.schema._def,r):{};case tp.ZodFirstPartyTypeKind.ZodAny:case tp.ZodFirstPartyTypeKind.ZodUnknown:return{};case tp.ZodFirstPartyTypeKind.ZodDefault:return{...re(e.innerType._def,r),default:e.defaultValue()};case tp.ZodFirstPartyTypeKind.ZodBranded:return tB(e,r);case tp.ZodFirstPartyTypeKind.ZodReadonly:case tp.ZodFirstPartyTypeKind.ZodCatch:return re(e.innerType._def,r);case tp.ZodFirstPartyTypeKind.ZodPipeline:if("input"===r.pipeStrategy)return re(e.in._def,r);if("output"===r.pipeStrategy)return re(e.out._def,r);let $=re(e.in._def,{...r,currentPath:[...r.currentPath,"allOf","0"]}),w=re(e.out._def,{...r,currentPath:[...r.currentPath,"allOf",$?"1":"0"]});return{allOf:[$,w].filter(e=>void 0!==e)};case tp.ZodFirstPartyTypeKind.ZodFunction:case tp.ZodFirstPartyTypeKind.ZodVoid:case tp.ZodFirstPartyTypeKind.ZodSymbol:default:return}})(e,e.typeName,t),s="function"==typeof o?re(o(),t):o;if(s&&rr(e,t,s),t.postProcess){let r=t.postProcess(s,e,t);return a.jsonSchema=s,r}return a.jsonSchema=s,s}var rt=(e,t)=>{switch(t.$refStrategy){case"root":return{$ref:e.path.join("/")};case"relative":return{$ref:((e,t)=>{let r=0;for(;r<e.length&&r<t.length&&e[r]===t[r];r++);return[(e.length-r).toString(),...t.slice(r)].join("/")})(t.currentPath,e.path)};case"none":case"seen":if(e.path.length<t.currentPath.length&&e.path.every((e,r)=>t.currentPath[r]===e))return console.warn(`Recursive reference detected at ${t.currentPath.join("/")}! Defaulting to any`),{};return"seen"===t.$refStrategy?{}:void 0}},rr=(e,t,r)=>(e.description&&(r.description=e.description),r);function rn(e,t){var r,n;let i;if("_zod"in e){let n;return n=null!=(r=null==t?void 0:t.useReferences)&&r,ra(()=>td(e,{target:"draft-7",io:"output",reused:n?"ref":"inline"}),{validate:async t=>{let r=await ti(e,t);return r.success?{success:!0,value:r.data}:{success:!1,error:r.error}}})}return i=null!=(n=null==t?void 0:t.useReferences)&&n,ra(()=>((e,t)=>{var r;
16let n,i,a=(i=void 0!==(n="string"==typeof t?{...tR,name:t}:{...tR,...t}).name?[...n.basePath,n.definitionPath,n.name]:n.basePath,{...n,currentPath:i,propertyPath:void 0,seen:new Map(Object.entries(n.definitions).map(([e,t])=>[t._def,{def:t._def,path:[...n.basePath,n.definitionPath,e],jsonSchema:void 0}]))}),o="object"==typeof t&&t.definitions?Object.entries(t.definitions).reduce((e,[t,r])=>{var n;return{...e,[t]:null!=(n=re(r._def,{...a,currentPath:[...a.basePath,a.definitionPath,t]},!0))?n:{}}},{}):void 0,s="string"==typeof t?t:(null==t?void 0:t.nameStrategy)==="title"||null==t?void 0:t.name,u=null!=(r=re(e._def,void 0===s?a:{...a,currentPath:[...a.basePath,a.definitionPath,s]},!1))?r:{},l="object"==typeof t&&void 0!==t.name&&"title"===t.nameStrategy?t.name:void 0;void 0!==l&&(u.title=l);let c=void 0===s?o?{...u,[a.definitionPath]:o}:u:{$ref:[..."relative"===a.$refStrategy?[]:a.basePath,a.definitionPath,s].join("/"),[a.definitionPath]:{...o,[s]:u}};return c.$schema="http://json-schema.org/draft-07/schema#",c})(e,{$refStrategy:i?"root":"none"}),{validate:async t=>{let r=await e.safeParseAsync(t);return r.success?{success:!0,value:r.data}:{success:!1,error:r.error}}})}var ri=Symbol.for("vercel.ai.schema");function ra(e,{validate:t}={}){return{[ri]:!0,_type:void 0,[tO]:!0,get jsonSchema(){return"function"==typeof e&&(e=e()),e},validate:t}}var{btoa:ro,atob:rs}=globalThis;function ru(){let e,t;return{localeError:(e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"}},t={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},r=>{switch(r.code){case"invalid_type":return`Invalid input: expected ${r.expected}, received ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Invalid input: expected ${eP(r.values[0])}`;return`Invalid option: expected one of ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Too big: expected ${r.origin??"value"} to have ${t}${r.maximum.toString()} ${n.unit??"elements"}`;return`Too big: expected ${r.origin??"value"} to be ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Too small: expected ${r.origin} to have ${t}${r.minimum.toString()} ${n.unit}`;return`Too small: expected ${r.origin} to be ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Invalid string: must start with "${r.prefix}"`;if("ends_with"===r.format)return`Invalid string: must end with "${r.suffix}"`;if("includes"===r.format)return`Invalid string: must include "${r.includes}"`;if("regex"===r.format)return`Invalid string: must match pattern ${r.pattern}`;return`Invalid ${t[r.format]??r.format}`;case"not_multiple_of":return`Invalid number: must be a multiple of ${r.divisor}`;case"unrecognized_keys":return`Unrecognized key${r.keys.length>1?"s":""}: ${ev(r.keys,", ")}`;case"invalid_key":return`Invalid key in ${r.origin}`;case"invalid_union":default:return"Invalid input";case"invalid_element":return`Invalid value in ${r.origin}`}})}}em(ru()),e.s([],298821),e.i(298821),e.s([],292135),e.i(292135),e.i(197753),e.i(803108),e.i(374969);let rl=/^[cC][^\s-]{8,}$/,rc=/^[0-9a-z]+$/,rd=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,rp=/^[0-9a-vA-V]{20}$/,rf=/^[A-Za-z0-9]{27}$/,rh=/^[a-zA-Z0-9_-]{21}$/,rm=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,rg=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,rv=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$/,r_=rv(4),ry=rv(6),rb=rv(7),rk=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,rx="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function r$(){return RegExp(rx,"u")}let rw=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,rS=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})$/,rI=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,rE=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,rO=/^$|^(?:[0-9a-zA-Z+/]{4}
16)*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,rD=/^[A-Za-z0-9_-]*$/,rA=/^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/,rT=/^\+(?:[0-9]){6,14}[0-9]$/,rC="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",rj=RegExp(`^${rC}$`);function rz(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return"number"==typeof e.precision?-1===e.precision?`${t}`:0===e.precision?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function rP(e){return RegExp(`^${rz(e)}$`)}function rN(e){let t=rz({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-]\\d{2}:\\d{2})");let n=`${t}(?:${r.join("|")})`;return RegExp(`^${rC}T(?:${n})$`)}let rZ=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return RegExp(`^${t}$`)},rF=/^\d+n?$/,rU=/^\d+$/,rM=/^-?\d+(?:\.\d+)?/i,rL=/true|false/i,rR=/null/i,rB=/undefined/i,rq=/^[^A-Z]*$/,rV=/^[^a-z]*$/;e.s(["_emoji",0,rx,"base64",0,rO,"base64url",0,rD,"bigint",0,rF,"boolean",0,rL,"browserEmail",0,/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,"cidrv4",0,rI,"cidrv6",0,rE,"cuid",0,rl,"cuid2",0,rc,"date",0,rj,"datetime",0,rN,"domain",0,/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,"duration",0,rm,"e164",0,rT,"email",0,rk,"emoji",0,r$,"extendedDuration",0,/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,"guid",0,rg,"hostname",0,rA,"html5Email",0,/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}
16[a-zA-Z0-9])?)*$/,"integer",0,rU,"ipv4",0,rw,"ipv6",0,rS,"ksuid",0,rf,"lowercase",0,rq,"nanoid",0,rh,"null",0,rR,"number",0,rM,"rfc5322Email",0,/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,"string",0,rZ,"time",0,rP,"ulid",0,rd,"undefined",0,rB,"unicodeEmail",0,/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,"uppercase",0,rV,"uuid",0,rv,"uuid4",0,r_,"uuid6",0,ry,"uuid7",0,rb,"xid",0,rp],682358);let rW=ed("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),rJ={number:"number",bigint:"bigint",object:"date"},rG=ed("$ZodCheckLessThan",(e,t)=>{rW.init(e,t);let r=rJ[typeof t.value];e._zod.onattach.push(e=>{let r=e._zod.bag,n=(t.inclusive?r.maximum:r.exclusiveMaximum)??1/0;t.value<n&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:r,code:"too_big",maximum:t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),rK=ed("$ZodCheckGreaterThan",(e,t)=>{rW.init(e,t);let r=rJ[typeof t.value];e._zod.onattach.push(e=>{let r=e._zod.bag,n=(t.inclusive?r.minimum:r.exclusiveMinimum)??-1/0;t.value>n&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:r,code:"too_small",minimum:t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),rH=ed("$ZodCheckMultipleOf",(e,t)=>{rW.init(e,t),e._zod.onattach.push(e=>{var r;(r=e._zod.bag).multipleOf??(r.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw Error("Cannot mix number and bigint in multiple_of check.");("bigint"==typeof r.value?r.value%t.value===BigInt(0):0===ex(r.value,t.value))||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),rX=ed("$ZodCheckNumberFormat",(e,t)=>{rW.init(e,t),t.format=t.format||"float64";let r=t.format?.includes("int"),n=r?"int":"number",[i,a]=eZ[t.format];e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,n.minimum=i,n.maximum=a,r&&(n.pattern=rU)}),e._zod.check=o=>{let s=o.value;if(r){if(!Number.isInteger(s))return void o.issues.push({expected:n,format:t.format,code:"invalid_type",input:s,inst:e});if(!Number.isSafeInteger(s))return void(s>0?o.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!t.abort}):o.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!t.abort}))}s<i&&o.issues.push({origin:"number",input:s,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:"number",input:s,code:"too_big",maximum:a,inst:e})}}),rY=ed("$ZodCheckBigIntFormat",(e,t)=>{rW.init(e,t);let[r,n]=eF[t.format];e._zod.onattach.push(e=>{let i=e._zod.bag;i.format=t.format,i.minimum=r,i.maximum=n}),e._zod.check=i=>{let a=i.value;a<r&&i.issues.push({origin:"bigint",input:a,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),a>n&&i.issues.push({origin:"bigint",input:a,code:"too_big",maximum:n,inst:e})}}),rQ=ed("$ZodCheckMaxSize",(e,t)=>{var r;rW.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!eb(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let r=e._zod.bag.maximum??1/0;t.maximum<r&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=r=>{let n=r.value;n.size<=t.maximum||r.issues.push({origin:eB(n),code:"too_big",maximum:t.maximum,input:n,inst:e,continue:!t.abort})}}),r0=ed("$ZodCheckMinSize",(e,t)=>{var r;rW.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!eb(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let r=e._zod.bag.minimum??-1/0;t.minimum>r&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=r=>{let n=r.value;n.size>=t.minimum||r.issues.push({origin:eB(n),code:"too_small",minimum:t.minimum,input:n,inst:e,continue:!t.abort})}}),r1=ed("$ZodCheckSizeEquals",(e,t)=>{var r;rW.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!eb(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let r=e._zod.bag;r.minimum=t.size,r.maximum=t.size,r.size=t.size}),e._zod.check=r=>{let n=r.value,i=n.size;if(i===t.size)return;let a=i>t.size;r.issues.push({origin:eB(n),...a?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),r4=ed("$ZodCheckMaxLength",(e,t)=>{var r;rW.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!eb(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let r=e._zod.bag.maximum??1/0;t.maximum<r&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=r=>{let n=r.value;if(n.length<=t.maximum)return;let i=eq(n);r.issues.push({origin:i,code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),r6=ed("$ZodCheckMinLength",(e,t)=>{var r;rW.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!eb(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let r=e._zod.bag.minimum??-1/0;t.minimum>r&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=r=>{let n=r.value;if(n.length>=t.minimum)return;let i=eq(n);r.issues.push({origin:i,code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),r2=ed("$ZodCheckLengthEquals",(e,t)=>{var r;rW.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!eb(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let r=e._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length}),e._zod.check=r=>{let n=r.value,i=n.length;if(i===t.length)return;let a=eq(n),o=i>t.length;r.issues.push({origin:a,...o?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),r3=ed("$ZodCheckStringFormat",(e,t)=>{var r,n;rW.init(e,t),e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,t.pattern&&(r.patterns??(r.patterns=new Set),r.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=r=>{t.pattern.lastIndex=0,t.pattern.test(r.value)||r.issues.push({origin:"string",code:"invalid_format",format:t.format,input:r.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),r9=ed("$ZodCheckRegex",(e,t)=>{r3.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,t.pattern.test(r.value)||r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),r5=ed("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=rq),r3.init(e,t)}),r8=ed("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=rV),r3.init(e,t)}),r7=ed("$ZodCheckIncludes",(e,t)=>{rW.init(e,t);let r=eC(t.includes),n=new RegExp("number"==typeof t.position?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input
16:r.value,inst:e,continue:!t.abort})}}),ne=ed("$ZodCheckStartsWith",(e,t)=>{rW.init(e,t);let r=RegExp(`^${eC(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=r=>{r.value.startsWith(t.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:r.value,inst:e,continue:!t.abort})}}),nt=ed("$ZodCheckEndsWith",(e,t)=>{rW.init(e,t);let r=RegExp(`.*${eC(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=r=>{r.value.endsWith(t.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:r.value,inst:e,continue:!t.abort})}});function nr(e,t,r){e.issues.length&&t.issues.push(...eM(r,e.issues))}let nn=ed("$ZodCheckProperty",(e,t)=>{rW.init(e,t),e._zod.check=e=>{let r=t.schema._zod.run({value:e.value[t.property],issues:[]},{});if(r instanceof Promise)return r.then(r=>nr(r,e,t.property));nr(r,e,t.property)}}),ni=ed("$ZodCheckMimeType",(e,t)=>{rW.init(e,t);let r=new Set(t.mime);e._zod.onattach.push(e=>{e._zod.bag.mime=t.mime}),e._zod.check=n=>{r.has(n.value.type)||n.issues.push({code:"invalid_value",values:t.mime,input:n.value.type,inst:e})}}),na=ed("$ZodCheckOverwrite",(e,t)=>{rW.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}});e.s(["$ZodCheck",0,rW,"$ZodCheckBigIntFormat",0,rY,"$ZodCheckEndsWith",0,nt,"$ZodCheckGreaterThan",0,rK,"$ZodCheckIncludes",0,r7,"$ZodCheckLengthEquals",0,r2,"$ZodCheckLessThan",0,rG,"$ZodCheckLowerCase",0,r5,"$ZodCheckMaxLength",0,r4,"$ZodCheckMaxSize",0,rQ,"$ZodCheckMimeType",0,ni,"$ZodCheckMinLength",0,r6,"$ZodCheckMinSize",0,r0,"$ZodCheckMultipleOf",0,rH,"$ZodCheckNumberFormat",0,rX,"$ZodCheckOverwrite",0,na,"$ZodCheckProperty",0,nn,"$ZodCheckRegex",0,r9,"$ZodCheckSizeEquals",0,r1,"$ZodCheckStartsWith",0,ne,"$ZodCheckStringFormat",0,r3,"$ZodCheckUpperCase",0,r8],355605);class no{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if("function"==typeof e){e(this,{execution:"sync"}),e(this,{execution:"async"});return}let t=e.split("\n").filter(e=>e),r=Math.min(...t.map(e=>e.length-e.trimStart().length));for(let e of t.map(e=>e.slice(r)).map(e=>" ".repeat(2*this.indent)+e))this.content.push(e)}compile(){return Function(...this?.args,[...(this?.content??[""]).map(e=>`  ${e}`)].join("\n"))}}e.s(["Doc",0,no],698530);let ns={major:4,minor:0,patch:0};e.s(["version",0,ns],398477);let nu=ed("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=ns;let n=[...e._zod.def.checks??[]];for(let t of(e._zod.traits.has("$ZodCheck")&&n.unshift(e),n))for(let r of t._zod.onattach)r(e);if(0===n.length)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,r)=>{let n,i=eU(e);for(let a of t){if(a._zod.def.when){if(!a._zod.def.when(e))continue}else if(i)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&r?.async===!1)throw new ef;if(n||o instanceof Promise)n=(n??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(i||(i=eU(e,t)))});else{if(e.issues.length===t)continue;i||(i=eU(e,t))}}return n?n.then(()=>e):e};e._zod.run=(r,i)=>{let a=e._zod.parse(r,i);if(a instanceof Promise){if(!1===i.async)throw new ef;return a.then(e=>t(e,n,i))}return t(a,n,i)}}e["~standard"]={validate:t=>{try{let r=e3(e,t);return r.success?{value:r.data}:{issues:r.error?.issues}}catch(r){return e5(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:"zod",version:1}}),nl=ed("$ZodString",(e,t)=>{nu.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??rZ(e._zod.bag),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch(e){}return"string"==typeof r.value||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),nc=ed("$ZodStringFormat",(e,t)=>{r3.init(e,t),nl.init(e,t)}),nd=ed("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=rg),nc.init(e,t)}),np=ed("$ZodUUID",(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(void 0===e)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=rv(e))}else t.pattern??(t.pattern=rv());nc.init(e,t)}),nf=ed("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=rk),nc.init(e,t)}),nh=ed("$ZodURL",(e,t)=>{nc.init(e,t),e._zod.check=r=>{try{let n=r.value,i=new URL(n),a=i.href;t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||r.issues.push({code:"invalid_format",format:"url",n
16ote:"Invalid hostname",pattern:rA.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),!n.endsWith("/")&&a.endsWith("/")?r.value=a.slice(0,-1):r.value=a;return}catch(n){r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),nm=ed("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=r$()),nc.init(e,t)}),ng=ed("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=rh),nc.init(e,t)}),nv=ed("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=rl),nc.init(e,t)}),n_=ed("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=rc),nc.init(e,t)}),ny=ed("$ZodULID",(e,t)=>{t.pattern??(t.pattern=rd),nc.init(e,t)}),nb=ed("$ZodXID",(e,t)=>{t.pattern??(t.pattern=rp),nc.init(e,t)}),nk=ed("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=rf),nc.init(e,t)}),nx=ed("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=rN(t)),nc.init(e,t)}),n$=ed("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=rj),nc.init(e,t)}),nw=ed("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=rP(t)),nc.init(e,t)}),nS=ed("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=rm),nc.init(e,t)}),nI=ed("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=rw),nc.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.format="ipv4"})}),nE=ed("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=rS),nc.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.format="ipv6"}),e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),nO=ed("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=rI),nc.init(e,t)}),nD=ed("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=rE),nc.init(e,t),e._zod.check=r=>{let[n,i]=r.value.split("/");try{if(!i)throw Error();let e=Number(i);if(`${e}`!==i||e<0||e>128)throw Error();new URL(`http://[${n}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function nA(e){if(""===e)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}let nT=ed("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=rO),nc.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.contentEncoding="base64"}),e._zod.check=r=>{nA(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});function nC(e){if(!rD.test(e))return!1;let t=e.replace(/[-_]/g,e=>"-"===e?"+":"/");return nA(t.padEnd(4*Math.ceil(t.length/4),"="))}let nj=ed("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=rD),nc.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.contentEncoding="base64url"}),e._zod.check=r=>{nC(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),nz=ed("$ZodE164",(e,t)=>{t.pattern??(t.pattern=rT),nc.init(e,t)});function nP(e,t=null){try{let r=e.split(".");if(3!==r.length)return!1;let[n]=r;if(!n)return!1;let i=JSON.parse(atob(n));if("typ"in i&&i?.typ!=="JWT"||!i.alg||t&&(!("alg"in i)||i.alg!==t))return!1;return!0}catch{return!1}}let nN=ed("$ZodJWT",(e,t)=>{nc.init(e,t),e._zod.check=r=>{nP(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),nZ=ed("$ZodCustomStringFormat",(e,t)=>{nc.init(e,t),e._zod.check=r=>{t.fn(r.value)||r.issues.push({code:"invalid_format",format:t.format,input:r.value,inst:e,continue:!t.abort})}}),nF=ed("$ZodNumber",(e,t)=>{nu.init(e,t),e._zod.pattern=e._zod.bag.pattern??rM,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch(e){}let i=r.value;if("number"==typeof i&&!Number.isNaN(i)&&Number.isFinite(i))return r;let a="number"==typeof i?Number.isNaN(i)?"NaN":Number.isFinite(i)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:i,inst:e,...a?{received:a}:{}}),r}}),nU=ed("$ZodNumber",(e,t)=>{rX.init(e,t),nF.init(e,t)}),nM=ed("$ZodBoolean",(e,t)=>{nu.init(e,t),e._zod.pattern=rL,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=!!r.value}catch(e){}let i=r.value;return"boolean"==typeof i||r.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:e}),r}}),nL=ed("$ZodBigInt",(e,t)=>{nu.init(e,t),e._zod.pattern=rF,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=BigInt(r.value)}catch(e){}return"bigint"==typeof r.value||r.issues.push({expected:"bigint",code:"invalid_type",input:r.value,inst:e}),r}}),nR=ed("$ZodBigInt",(e,t)=>{rY.init(e,t),nL.init(e,t)}),nB=ed("$ZodSymbol",(e,t)=>{nu.init(e,t),e._zod.parse=(t,r)=>{let n=t.value;return"symbol"==typeof n||t.issues.push({expected:"symbol",code:"invalid_type",input:n,inst:e}),t}}),nq=ed("$ZodUndefined",(e,t)=>{nu.init(e,t),e._zod.pattern=rB,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(t,r)=>{let n=t.value;return void 0===n||t.issues.push({expected:"undefined",code:"invalid_type",input:n,inst:e}),t}}),nV=ed("$ZodNull",(e,t)=>{nu.init(e,t),e._zod.pattern=rR,e._zod.values=new Set([null]),e._zod.parse=(t,r)=>{let n=t.value;return null===n||t.issues.push({expected:"null",code:"invalid_type",input:n,inst:e}),t}}),nW=ed("$ZodAny",(e,t)=>{nu.init(e,t),e._zod.parse=e=>e}),nJ=ed("$ZodUnknown",(e,t)=>{nu.init(e,t),e._zod.parse=e=>e}),nG=ed("$ZodNever",(e,t)=>{nu.init(e,t),e._zod.parse=(t,r)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)}),nK=ed("$ZodVoid",(e,t)=>{nu.init(e,t),e._zod.parse=(t,r)=>{let n=t.value;return void 0===n||t.issues.push({expected:"void",code:"invalid_type",input:n,inst:e}),t}}),nH=ed("$ZodDate",(e,t)=>{nu.init(e,t),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=new Date(r.value)}catch(e){}let i=r.value,a=i instanceof Date;return a&&!Number.isNaN(i.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:i,...a?{received:"Invalid Date"}:{},inst:e}),r}});function nX(e,t,r){e.issues.length&&t.issues.push(...eM(r,e.issues)),t.value[r]=e.value}let nY=ed("$ZodArray",(e,t)=>{nu.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!Array.isArray(i))return r.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),r;r.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=t.element._zod.run({value:o,issues:[]},n);s instanceof Promise?a.push(s.then(t=>nX(t,r,e))):nX(s,r,e)}return a.length?Promise.all(a).then(()=>r):r}});function nQ(e,t,r){e.issues.length&&t.issues.push(...eM(r,e.issues)),t.value[r]=e.value}function n0(e,t,r,n){e.issues.length?void 0===n[r]?r in n?t.value[r]=void 0:t.value[r]=e.value:t.issues.push(...eM(r,e.issues)):void 0===e.value?r in n&&
16(t.value[r]=void 0):t.value[r]=e.value}let n1=ed("$ZodObject",(e,t)=>{let r,n;nu.init(e,t);let i=ey(()=>{let e=Object.keys(t.shape);for(let r of e)if(!(t.shape[r]instanceof nu))throw Error(`Invalid element at key "${r}": expected a Zod schema`);let r=eN(t.shape);return{shape:t.shape,keys:e,keySet:new Set(e),numKeys:e.length,optionalKeys:new Set(r)}});e$(e._zod,"propValues",()=>{let e=t.shape,r={};for(let t in e){let n=e[t]._zod;if(n.values)for(let e of(r[t]??(r[t]=new Set),n.values))r[t].add(e)}return r});let a=!eh.jitless,o=a&&eO.value,s=t.catchall;e._zod.parse=(u,l)=>{n??(n=i.value);let c=u.value;if(!eE(c))return u.issues.push({expected:"object",code:"invalid_type",input:c,inst:e}),u;let d=[];if(a&&o&&l?.async===!1&&!0!==l.jitless)r||(r=(e=>{let t=new no(["shape","payload","ctx"]),r=i.value,n=e=>{let t=eS(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write("const input = payload.value;");let a=Object.create(null),o=0;for(let e of r.keys)a[e]=`key_${o++}`;for(let e of(t.write("const newResult = {}"),r.keys))if(r.optionalKeys.has(e)){let r=a[e];t.write(`const ${r} = ${n(e)};`);let i=eS(e);t.write(`
17        if (${r}.issues.length) {
18          if (input[${i}] === undefined) {
19            if (${i} in input) {
20              newResult[${i}] = undefined;
21            }
22          } else {
23            payload.issues = payload.issues.concat(
24              ${r}.issues.map((iss) => ({
25                ...iss,
26                path: iss.path ? [${i}, ...iss.path] : [${i}],
27              }))
28            );
29          }
30        } else if (${r}.value === undefined) {
31          if (${i} in input) newResult[${i}] = undefined;
32        } else {
33          newResult[${i}] = ${r}.value;
34        }
35        `)}else{let r=a[e];t.write(`const ${r} = ${n(e)};`),t.write(`
36          if (${r}.issues.length) payload.issues = payload.issues.concat(${r}.issues.map(iss => ({
37            ...iss,
38            path: iss.path ? [${eS(e)}, ...iss.path] : [${eS(e)}]
39          })));`),t.write(`newResult[${eS(e)}] = ${r}.value`)}t.write("payload.value = newResult;"),t.write("return payload;");let s=t.compile();return(t,r)=>s(e,t,r)})(t.shape)),u=r(u,l);else{u.value={};let e=n.shape;for(let t of n.keys){let r=e[t],n=r._zod.run({value:c[t],issues:[]},l),i="optional"===r._zod.optin&&"optional"===r._zod.optout;n instanceof Promise?d.push(n.then(e=>i?n0(e,u,t,c):nQ(e,u,t))):i?n0(n,u,t,c):nQ(n,u,t)}}if(!s)return d.length?Promise.all(d).then(()=>u):u;let p=[],f=n.keySet,h=s._zod,m=h.def.type;for(let e of Object.keys(c)){if(f.has(e))continue;if("never"===m){p.push(e);continue}let t=h.run({value:c[e],issues:[]},l);t instanceof Promise?d.push(t.then(t=>nQ(t,u,e))):nQ(t,u,e)}return(p.length&&u.issues.push({code:"unrecognized_keys",keys:p,input:c,inst:e}),d.length)?Promise.all(d).then(()=>u):u}});function n4(e,t,r,n){for(let r of e)if(0===r.issues.length)return t.value=r.value,t;return t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(e=>e.issues.map(e=>eR(e,n,em())))}),t}let n6=ed("$ZodUnion",(e,t)=>{nu.init(e,t),e$(e._zod,"optin",()=>t.options.some(e=>"optional"===e._zod.optin)?"optional":void 0),e$(e._zod,"optout",()=>t.options.some(e=>"optional"===e._zod.optout)?"optional":void 0),e$(e._zod,"values",()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),e$(e._zod,"pattern",()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>ek(e.source)).join("|")})$`)}}),e._zod.parse=(r,n)=>{let i=!1,a=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},n);if(t instanceof Promise)a.push(t),i=!0;else{if(0===t.issues.length)return t;a.push(t)}}return i?Promise.all(a).then(t=>n4(t,r,e,n)):n4(a,r,e,n)}}),n2=ed("$ZodDiscriminatedUnion",(e,t)=>{n6.init(e,t);let r=e._zod.parse;e$(e._zod,"propValues",()=>{let e={};for(let r of t.options){let n=r._zod.propValues;if(!n||0===Object.keys(n).length)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);for(let[t,r]of Object.entries(n))for(let n of(e[t]||(e[t]=new Set),r))e[t].add(n)}return e});let n=ey(()=>{let e=t.options,r=new Map;for(let n of e){let e=n._zod.propValues[t.discriminator];if(!e||0===e.size)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);for(let t of e){if(r.has(t))throw Error(`Duplicate discriminator value "${String(t)}"`);r.set(t,n)}}return r});e._zod.parse=(i,a)=>{let o=i.value;if(!eE(o))return i.issues.push({code:"invalid_type",expected:"object",input:o,inst:e}),i;let s=n.value.get(o?.[t.discriminator]);return s?s._zod.run(i,a):t.unionFallback?r(i,a):(i.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",input:o,path:[t.discriminator],inst:e}),i)}}),n3=ed("$ZodIntersection",(e,t)=>{nu.init(e,t),e._zod.parse=(e,r)=>{let n=e.value,i=t.left._zod.run({value:n,issues:[]},r),a=t.right._zod.run({value:n,issues:[]},r);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]
39).then(([t,r])=>n9(e,t,r)):n9(e,i,a)}});function n9(e,t,r){if(t.issues.length&&e.issues.push(...t.issues),r.issues.length&&e.issues.push(...r.issues),eU(e))return e;let n=function e(t,r){if(t===r||t instanceof Date&&r instanceof Date&&+t==+r)return{valid:!0,data:t};if(eD(t)&&eD(r)){let n=Object.keys(r),i=Object.keys(t).filter(e=>-1!==n.indexOf(e)),a={...t,...r};for(let n of i){let i=e(t[n],r[n]);if(!i.valid)return{valid:!1,mergeErrorPath:[n,...i.mergeErrorPath]};a[n]=i.data}return{valid:!0,data:a}}if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let i=0;i<t.length;i++){let a=e(t[i],r[i]);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};n.push(a.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}(t.value,r.value);if(!n.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(n.mergeErrorPath)}`);return e.value=n.data,e}let n5=ed("$ZodTuple",(e,t)=>{nu.init(e,t);let r=t.items,n=r.length-[...r].reverse().findIndex(e=>"optional"!==e._zod.optin);e._zod.parse=(i,a)=>{let o=i.value;if(!Array.isArray(o))return i.issues.push({input:o,inst:e,expected:"tuple",code:"invalid_type"}),i;i.value=[];let s=[];if(!t.rest){let t=o.length>r.length,a=o.length<n-1;if(t||a)return i.issues.push({input:o,inst:e,origin:"array",...t?{code:"too_big",maximum:r.length}:{code:"too_small",minimum:r.length}}),i}let u=-1;for(let e of r){if(++u>=o.length&&u>=n)continue;let t=e._zod.run({value:o[u],issues:[]},a);t instanceof Promise?s.push(t.then(e=>n8(e,i,u))):n8(t,i,u)}if(t.rest)for(let e of o.slice(r.length)){u++;let r=t.rest._zod.run({value:e,issues:[]},a);r instanceof Promise?s.push(r.then(e=>n8(e,i,u))):n8(r,i,u)}return s.length?Promise.all(s).then(()=>i):i}});function n8(e,t,r){e.issues.length&&t.issues.push(...eM(r,e.issues)),t.value[r]=e.value}let n7=ed("$ZodRecord",(e,t)=>{nu.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!eD(i))return r.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),r;let a=[];if(t.keyType._zod.values){let o,s=t.keyType._zod.values;for(let e of(r.value={},s))if("string"==typeof e||"number"==typeof e||"symbol"==typeof e){let o=t.valueType._zod.run({value:i[e],issues:[]},n);o instanceof Promise?a.push(o.then(t=>{t.issues.length&&r.issues.push(...eM(e,t.issues)),r.value[e]=t.value})):(o.issues.length&&r.issues.push(...eM(e,o.issues)),r.value[e]=o.value)}for(let e in i)s.has(e)||(o=o??[]).push(e);o&&o.length>0&&r.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:o})}else for(let o of(r.value={},Reflect.ownKeys(i))){if("__proto__"===o)continue;let s=t.keyType._zod.run({value:o,issues:[]},n);if(s instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(s.issues.length){r.issues.push({origin:"record",code:"invalid_key",issues:s.issues.map(e=>eR(e,n,em())),input:o,path:[o],inst:e}),r.value[s.value]=s.value;continue}let u=t.valueType._zod.run({value:i[o],issues:[]},n);u instanceof Promise?a.push(u.then(e=>{e.issues.length&&r.issues.push(...eM(o,e.issues)),r.value[s.value]=e.value})):(u.issues.length&&r.issues.push(...eM(o,u.issues)),r.value[s.value]=u.value)}return a.length?Promise.all(a).then(()=>r):r}}),ie=ed("$ZodMap",(e,t)=>{nu.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!(i instanceof Map))return r.issues.push({expected:"map",code:"invalid_type",input:i,inst:e}),r;let a=[];for(let[o,s]of(r.value=new Map,i)){let u=t.keyType._zod.run({value:o,issues:[]},n),l=t.valueType._zod.run({value:s,issues:[]},n);u instanceof Promise||l instanceof Promise?a.push(Promise.all([u,l]).then(([t,a])=>{it(t,a,r,o,i,e,n)})):it(u,l,r,o,i,e,n)}return a.length?Promise.all(a).then(()=>r):r}});function it(e,t,r,n,i,a,o){e.issues.length&&(eA.has(typeof n)?r.issues.push(...eM(n,e.issues)):r.issues.push({origin:"map",code:"invalid_key",input:i,inst:a,issues:e.issues.map(e=>eR(e,o,em()))})),t.issues.length&&(eA.has(typeof n)?r.issues.push(...eM(n,t.issues)):r.issues.push({origin:"map",code:"invalid_element",input:i,inst:a,key:n,issues:t.issues.map(e=>eR(e,o,em()))})),r.value.set(e.value,t.value)}let ir=ed("$ZodSet",(e,t)=>{nu.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!(i instanceof Set))return r.issues.push({input:i,inst:e,expected:"set",code:"invalid_type"}),r;let a=[];for(let e of(r.value=new Set,i)){let i=t.valueType._zod.run({value:e,issues:[]},n);i instanceof Promise?a.push(i.then(e=>ii(e,r))):ii(i,r)}return a.length?Promise.all(a).then(()=>r):r}});function ii(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}let ia=ed("$ZodEnum",(e,t)=>{nu.init(e,t);let r=eg(t.entries);e._zod.values=new Set(r),e._zod.pattern=RegExp(`^(${r.filter(e=>eA.has(typeof e)).map(e=>"string"==typeof e?eC(e):e.toString()).join("|")})$`),e._zod.parse=(t,n)=>{let i=t.value;return e._zod.values.has(i)||t.issues.push({code:"invalid_value",values:r,input:i,inst:e}),t}}),io=ed("$ZodLiteral",(e,t)=>{nu.init(e,t),e._zod.values=new Set(t.values),e._zod.pattern=RegExp(`^(${t.values.map(e=>"string"==typeof e?eC(e):e?e.toString():String(e)).join("|")})$`),e._zod.parse=(r,n)=>{let i=r.value;return e._zod.values.has(i)||r.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),r}}),is=ed("$ZodFile",(e,t)=>{nu.init(e,t),e._zod.parse=(t,r)=>{let n=t.value;return n instanceof File||t.issues.push({expected:"file",code:"invalid_type",input:n,inst:e}),t}}),iu=ed("$ZodTransform",(e,t)=>{nu.init(e,t),e._zod.parse=(e,r)=>{let n=t.transform(e.value,e);if(r.async)return(n instanceof Promise?n:Promise.resolve(n)).then(t=>(e.value=t,e));if(n instanceof Promise)throw new ef;return e.value=n,e}}),il=ed("$ZodOptional",(e,t)=>{nu.init(e,t),e._zod.optin="optional",e._zod.optout="optional",e$(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),e$(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${ek(e.source)})?$`):void 0}),e._zod.parse=(e,r)=>"optional"===t.innerType._zod.optin?t.innerType._zod.run(e,r):void 0===e.value?e:t.innerType._zod.run(e,r)}),ic=ed("$ZodNullable",(e,t)=>{nu.init(e,t),e$(e._zod,"optin",()=>t.innerType._zod.optin),e$(e._zod,"optout",()=>t.innerType._zod.optout),e$(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${ek(e.source)}|null)$`):void 0}),e$(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,r)=>null===e.value?e:t.innerType._zod.run(e,r)}),id=ed("$ZodDefault",(e,t)=>{nu.init(e,t),e._zod.optin="optional",e$(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,r)=>{if(void 0===e.value)return e.value=t.defaultValue,e;let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(e=>ip(e,t)):ip(n,t)}});function ip(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}let ih=ed("$ZodPrefault",(e,t)=>{nu.init(e,t),e._zod.optin="optional",e$(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,r)=>(void 0===e.value&&(e.value=t.defaultValue),t.innerType._zod.run(e,r))}),im=ed("$ZodNonOptional",(e,t)=>{nu.init(e,t),e$(e._zod,"values",()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>void 0!==e)):void 0}),e._zod.parse=(r,n)=>{let i=t.innerType._zod.run(r,n);return i instanceof Promise?i.then(t=>ig(t,e)):ig(i,e)}});function ig(e,t){return e.issues.length||void 0!==e.value||e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}let iv=ed("$ZodSuccess",(e,t)=>{nu.init(e,t),e._zod.parse=(e,r)=>{let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(t=>(e.value=0===t.issues.length,e)):(e.value=0===n.issues.length,e)}}),i_=ed("$ZodCatch",(e,t)=>{nu.init(e,t),e._zod.optin="optional",e$(e._zod,"optout",()=>t.innerType._zod.optout),e$(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,r)=>{let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(n=>
39(e.value=n.value,n.issues.length&&(e.value=t.catchValue({...e,error:{issues:n.issues.map(e=>eR(e,r,em()))},input:e.value}),e.issues=[]),e)):(e.value=n.value,n.issues.length&&(e.value=t.catchValue({...e,error:{issues:n.issues.map(e=>eR(e,r,em()))},input:e.value}),e.issues=[]),e)}}),iy=ed("$ZodNaN",(e,t)=>{nu.init(e,t),e._zod.parse=(t,r)=>("number"==typeof t.value&&Number.isNaN(t.value)||t.issues.push({input:t.value,inst:e,expected:"nan",code:"invalid_type"}),t)}),ib=ed("$ZodPipe",(e,t)=>{nu.init(e,t),e$(e._zod,"values",()=>t.in._zod.values),e$(e._zod,"optin",()=>t.in._zod.optin),e$(e._zod,"optout",()=>t.out._zod.optout),e._zod.parse=(e,r)=>{let n=t.in._zod.run(e,r);return n instanceof Promise?n.then(e=>ik(e,t,r)):ik(n,t,r)}});function ik(e,t,r){return eU(e)?e:t.out._zod.run({value:e.value,issues:e.issues},r)}let ix=ed("$ZodReadonly",(e,t)=>{nu.init(e,t),e$(e._zod,"propValues",()=>t.innerType._zod.propValues),e$(e._zod,"values",()=>t.innerType._zod.values),e$(e._zod,"optin",()=>t.innerType._zod.optin),e$(e._zod,"optout",()=>t.innerType._zod.optout),e._zod.parse=(e,r)=>{let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(i$):i$(n)}});function i$(e){return e.value=Object.freeze(e.value),e}let iw=ed("$ZodTemplateLiteral",(e,t)=>{nu.init(e,t);let r=[];for(let e of t.parts)if(e instanceof nu){if(!e._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...e._zod.traits].shift()}`);let t=e._zod.pattern instanceof RegExp?e._zod.pattern.source:e._zod.pattern;if(!t)throw Error(`Invalid template literal part: ${e._zod.traits}`);let n=+!!t.startsWith("^"),i=t.endsWith("$")?t.length-1:t.length;r.push(t.slice(n,i))}else if(null===e||eT.has(typeof e))r.push(eC(`${e}`));else throw Error(`Invalid template literal part: ${e}`);e._zod.pattern=RegExp(`^${r.join("")}$`),e._zod.parse=(t,r)=>("string"!=typeof t.value?t.issues.push({input:t.value,inst:e,expected:"template_literal",code:"invalid_type"}):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(t.value)||t.issues.push({input:t.value,inst:e,code:"invalid_format",format:"template_literal",pattern:e._zod.pattern.source})),t)}),iS=ed("$ZodPromise",(e,t)=>{nu.init(e,t),e._zod.parse=(e,r)=>Promise.resolve(e.value).then(e=>t.innerType._zod.run({value:e,issues:[]},r))}),iI=ed("$ZodLazy",(e,t)=>{nu.init(e,t),e$(e._zod,"innerType",()=>t.getter()),e$(e._zod,"pattern",()=>e._zod.innerType._zod.pattern),e$(e._zod,"propValues",()=>e._zod.innerType._zod.propValues),e$(e._zod,"optin",()=>e._zod.innerType._zod.optin),e$(e._zod,"optout",()=>e._zod.innerType._zod.optout),e._zod.parse=(t,r)=>e._zod.innerType._zod.run(t,r)}),iE=ed("$ZodCustom",(e,t)=>{rW.init(e,t),nu.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=r=>{let n=r.value,i=t.fn(n);if(i instanceof Promise)return i.then(t=>iO(t,r,n,e));iO(i,r,n,e)}});function iO(e,t,r,n){if(!e){let e={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(e.params=n._zod.def.params),t.issues.push(eV(e))}}e.s(["$ZodAny",0,nW,"$ZodArray",0,nY,"$ZodBase64",0,nT,"$ZodBase64URL",0,nj,"$ZodBigInt",0,nL,"$ZodBigIntFormat",0,nR,"$ZodBoolean",0,nM,"$ZodCIDRv4",0,nO,"$ZodCIDRv6",0,nD,"$ZodCUID",0,nv,"$ZodCUID2",0,n_,"$ZodCatch",0,i_,"$ZodCustom",0,iE,"$ZodCustomStringFormat",0,nZ,"$ZodDate",0,nH,"$ZodDefault",0,id,"$ZodDiscriminatedUnion",0,n2,"$ZodE164",0,nz,"$ZodEmail",0,nf,"$ZodEmoji",0,nm,"$ZodEnum",0,ia,"$ZodFile",0,is,"$ZodGUID",0,nd,"$ZodIPv4",0,nI,"$ZodIPv6",0,nE,"$ZodISODate",0,n$,"$ZodISODateTime",0,nx,"$ZodISODuration",0,nS,"$ZodISOTime",0,nw,"$ZodIntersection",0,n3,"$ZodJWT",0,nN,"$ZodKSUID",0,nk,"$ZodLazy",0,iI,"$ZodLiteral",0,io,"$ZodMap",0,ie,"$ZodNaN",0,iy,"$ZodNanoID",0,ng,"$ZodNever",0,nG,"$ZodNonOptional",0,im,"$ZodNull",0,nV,"$ZodNullable",0,ic,"$ZodNumber",0,nF,"$ZodNumberFormat",0,nU,"$ZodObject",0,n1,"$ZodOptional",0,il,"$ZodPipe",0,ib,"$ZodPrefault",0,ih,"$ZodPromise",0,iS,"$ZodReadonly",0,ix,"$ZodRecord",0,n7,"$ZodSet",0,ir,"$ZodString",0,nl,"$ZodStringFormat",0,nc,"$ZodSuccess",0,iv,"$ZodSymbol",0,nB,"$ZodTemplateLiteral",0,iw,"$ZodTransform",0,iu,"$ZodTuple",0,n5,"$ZodType",0,nu,"$ZodULID",0,ny,"$ZodURL",0,nh,"$ZodUUID",0,np,"$ZodUndefined",0,nq,"$ZodUnion",0,n6,"$ZodUnknown",0,nJ,"$ZodVoid",0,nK,"$ZodXID",0,nb,"isValidBase64",0,nA,"isValidBase64URL",0,nC,"isValidJWT",0,nP],676094),e.i(676094),e.s(["$ZodAny",0,nW,"$ZodArray",0,nY,"$ZodBase64",0,nT,"$ZodBase64URL",0,nj,"$ZodBigInt",0,nL,"$ZodBigIntFormat",0,nR,"$ZodBoolean",0,nM,"$ZodCIDRv4",0,nO,"$ZodCIDRv6",0,nD,"$ZodCUID",0,nv,"$ZodCUID2",0,n_,"$ZodCatch",0,i_,"$ZodCustom",0,iE,"$ZodCustomStringFormat",0,nZ,"$ZodDate",0,nH,"$ZodDefault",0,id,"$ZodDiscriminatedUnion",0,n2,"$ZodE164",0,nz,"$ZodEmail",0,nf,"$ZodEmoji",0,nm,"$ZodEnum",0,ia,"$ZodFile",0,is,"$ZodGUID",0,nd,"$ZodIPv4",0,nI,"$ZodIPv6",0,nE,"$ZodISODate",0,n$,"$ZodISODateTime",0,nx,"$ZodISODuration",0,nS,"$ZodISOTime",0,nw,"$ZodIntersection",0,n3,"$ZodJWT",0,nN,"$ZodKSUID",0,nk,"$ZodLazy",0,iI,"$ZodLiteral",0,io,"$ZodMap",0,ie,"$ZodNaN",0,iy,"$ZodNanoID",0,ng,"$ZodNever",0,nG,"$ZodNonOptional",0,im,"$ZodNull",0,nV,"$ZodNullable",0,ic,"$ZodNumber",0,nF,"$ZodNumberFormat",0,nU,"$ZodObject",0,n1,"$ZodOptional",0,il,"$ZodPipe",0,ib,"$ZodPrefault",0,ih,"$ZodPromise",0,iS,"$ZodReadonly",0,ix,"$ZodRecord",0,n7,"$ZodSet",0,ir,"$ZodString",0,nl,"$ZodStringFormat",0,nc,"$ZodSuccess",0,iv,"$ZodSymbol",0,nB,"$ZodTemplateLiteral",0,iw,"$ZodTransform",0,iu,"$ZodTuple",0,n5,"$ZodType",0,nu,"$ZodULID",0,ny,"$ZodURL",0,nh,"$ZodUUID",0,np,"$ZodUndefined",0,nq,"$ZodUnion",0,n6,"$ZodUnknown",0,nJ,"$ZodVoid",0,nK,"$ZodXID",0,nb,"clone",0,ej,"isValidBase64",0,nA,"isValidBase64URL",0,nC,"isValidJWT",0,nP],532952),e.i(532952),e.i(355605),e.i(398477);var iD=e.i(922143),iA=e.i(682358);function iT(e,t,r,n){let i=Math.abs(e),a=i%10,o=i%100;return o>
39=11&&o<=19?n:1===a?t:a>=2&&a<=4?r:n}function iC(e,t,r,n){let i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?n:1===a?t:a>=2&&a<=4?r:n}e.s([],543365),e.i(543365),e.s(["ar",0,function(){let e,t;return{localeError:(e={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}},t={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"},r=>{switch(r.code){case"invalid_type":return`مدخلات غير مقبولة: يفترض إدخال ${r.expected}، ولكن تم إدخال ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`مدخلات غير مقبولة: يفترض إدخال ${eP(r.values[0])}`;return`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return` أكبر من اللازم: يفترض أن تكون ${r.origin??"القيمة"} ${t} ${r.maximum.toString()} ${n.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${r.origin??"القيمة"} ${t} ${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`أصغر من اللازم: يفترض لـ ${r.origin} أن يكون ${t} ${r.minimum.toString()} ${n.unit}`;return`أصغر من اللازم: يفترض لـ ${r.origin} أن يكون ${t} ${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`نَص غير مقبول: يجب أن يبدأ بـ "${r.prefix}"`;if("ends_with"===r.format)return`نَص غير مقبول: يجب أن ينتهي بـ "${r.suffix}"`;if("includes"===r.format)return`نَص غير مقبول: يجب أن يتضمَّن "${r.includes}"`;if("regex"===r.format)return`نَص غير مقبول: يجب أن يطابق النمط ${r.pattern}`;return`${t[r.format]??r.format} غير مقبول`;case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${r.divisor}`;case"unrecognized_keys":return`معرف${r.keys.length>1?"ات":""} غريب${r.keys.length>1?"ة":""}: ${ev(r.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${r.origin}`;case"invalid_union":default:return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${r.origin}`}})}},"az",0,function(){let e,t;return{localeError:(e={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}},t={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},r=>{switch(r.code){case"invalid_type":return`Yanlış dəyər: g\xf6zlənilən ${r.expected}, daxil olan ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;
39case"invalid_value":if(1===r.values.length)return`Yanlış dəyər: g\xf6zlənilən ${eP(r.values[0])}`;return`Yanlış se\xe7im: aşağıdakılardan biri olmalıdır: ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`\xc7ox b\xf6y\xfck: g\xf6zlənilən ${r.origin??"dəyər"} ${t}${r.maximum.toString()} ${n.unit??"element"}`;return`\xc7ox b\xf6y\xfck: g\xf6zlənilən ${r.origin??"dəyər"} ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`\xc7ox ki\xe7ik: g\xf6zlənilən ${r.origin} ${t}${r.minimum.toString()} ${n.unit}`;return`\xc7ox ki\xe7ik: g\xf6zlənilən ${r.origin} ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Yanlış mətn: "${r.prefix}" ilə başlamalıdır`;if("ends_with"===r.format)return`Yanlış mətn: "${r.suffix}" ilə bitməlidir`;if("includes"===r.format)return`Yanlış mətn: "${r.includes}" daxil olmalıdır`;if("regex"===r.format)return`Yanlış mətn: ${r.pattern} şablonuna uyğun olmalıdır`;return`Yanlış ${t[r.format]??r.format}`;case"not_multiple_of":return`Yanlış ədəd: ${r.divisor} ilə b\xf6l\xfcnə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan a\xe7ar${r.keys.length>1?"lar":""}: ${ev(r.keys,", ")}`;case"invalid_key":return`${r.origin} daxilində yanlış a\xe7ar`;case"invalid_union":default:return"Yanlış dəyər";case"invalid_element":return`${r.origin} daxilində yanlış dəyər`}})}},"be",0,function(){let e,t;return{localeError:(e={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}},t={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"},r=>{switch(r.code){case"invalid_type":return`Няправільны ўвод: чакаўся ${r.expected}, атрымана ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"лік";case"object":if(Array.isArray(e))return"масіў";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Няправільны ўвод: чакалася ${eP(r.values[0])}`;return`Няправільны варыянт: чакаўся адзін з ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n){let e=iT(Number(r.maximum),n.unit.one,n.unit.few,n.unit.many);return`Занадта вялікі: чакалася, што ${r.origin??"значэнне"} павінна ${n.verb} ${t}${r.maximum.toString()} ${e}`}return`Занадта вялікі: чакалася, што ${r.origin??"значэнне"} павінна быць ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n){let e=iT(Number(r.minimum),n.unit.one,n.unit.few,n.unit.many);return`Занадта малы: чакалася, што ${r.origin} павінна ${n.verb} ${t}${r.minimum.toString()} ${e}`}return`Занадта малы: чакалася, што ${r.origin} павінна быць ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Няправільны радок: павінен пачынацца з "${r.prefix}"`;if("ends_with"===r.format)return`Няправільны радок: павінен заканчвацца на "${r.suffix}"`;if("includes"===r.format)return`Няправільны радок: павінен змяшчаць "${r.includes}"`;if("regex"===r.format)return`Няправільны радок: павінен адпавядаць шаблону ${r.pattern}`;return`Няправільны ${t[r.format]??r.format}`;case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${r.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${r.keys.length>1?"ключы":"ключ"}: ${ev(r.keys,", ")}`;
39case"invalid_key":return`Няправільны ключ у ${r.origin}`;case"invalid_union":default:return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${r.origin}`}})}},"ca",0,function(){let e,t;return{localeError:(e={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}},t={regex:"entrada",email:"adreça electrònica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adreça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},r=>{switch(r.code){case"invalid_type":return`Tipus inv\xe0lid: s'esperava ${r.expected}, s'ha rebut ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Valor inv\xe0lid: s'esperava ${eP(r.values[0])}`;return`Opci\xf3 inv\xe0lida: s'esperava una de ${ev(r.values," o ")}`;case"too_big":{let t=r.inclusive?"com a màxim":"menys de",n=e[r.origin]??null;if(n)return`Massa gran: s'esperava que ${r.origin??"el valor"} contingu\xe9s ${t} ${r.maximum.toString()} ${n.unit??"elements"}`;return`Massa gran: s'esperava que ${r.origin??"el valor"} fos ${t} ${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?"com a mínim":"més de",n=e[r.origin]??null;if(n)return`Massa petit: s'esperava que ${r.origin} contingu\xe9s ${t} ${r.minimum.toString()} ${n.unit}`;return`Massa petit: s'esperava que ${r.origin} fos ${t} ${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Format inv\xe0lid: ha de comen\xe7ar amb "${r.prefix}"`;if("ends_with"===r.format)return`Format inv\xe0lid: ha d'acabar amb "${r.suffix}"`;if("includes"===r.format)return`Format inv\xe0lid: ha d'incloure "${r.includes}"`;if("regex"===r.format)return`Format inv\xe0lid: ha de coincidir amb el patr\xf3 ${r.pattern}`;return`Format inv\xe0lid per a ${t[r.format]??r.format}`;case"not_multiple_of":return`N\xfamero inv\xe0lid: ha de ser m\xfaltiple de ${r.divisor}`;case"unrecognized_keys":return`Clau${r.keys.length>1?"s":""} no reconeguda${r.keys.length>1?"s":""}: ${ev(r.keys,", ")}`;case"invalid_key":return`Clau inv\xe0lida a ${r.origin}`;case"invalid_union":default:return"Entrada invàlida";case"invalid_element":return`Element inv\xe0lid a ${r.origin}`}})}},"cs",0,function(){let e,t;return{localeError:(e={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}},t={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"},r=>{switch(r.code){case"invalid_type":return`Neplatn\xfd vstup: oček\xe1v\xe1no ${r.expected}, obdrženo ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"číslo";case"string":return"řetězec";case"boolean":return"boolean";case"bigint":return"bigint";case"function":return"funkce";case"symbol":return"symbol";case"undefined":return"undefined";case"object":if(Array.isArray(e))return"pole";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;
39case"invalid_value":if(1===r.values.length)return`Neplatn\xfd vstup: oček\xe1v\xe1no ${eP(r.values[0])}`;return`Neplatn\xe1 možnost: oček\xe1v\xe1na jedna z hodnot ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Hodnota je př\xedliš velk\xe1: ${r.origin??"hodnota"} mus\xed m\xedt ${t}${r.maximum.toString()} ${n.unit??"prvků"}`;return`Hodnota je př\xedliš velk\xe1: ${r.origin??"hodnota"} mus\xed b\xfdt ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Hodnota je př\xedliš mal\xe1: ${r.origin??"hodnota"} mus\xed m\xedt ${t}${r.minimum.toString()} ${n.unit??"prvků"}`;return`Hodnota je př\xedliš mal\xe1: ${r.origin??"hodnota"} mus\xed b\xfdt ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Neplatn\xfd řetězec: mus\xed zač\xednat na "${r.prefix}"`;if("ends_with"===r.format)return`Neplatn\xfd řetězec: mus\xed končit na "${r.suffix}"`;if("includes"===r.format)return`Neplatn\xfd řetězec: mus\xed obsahovat "${r.includes}"`;if("regex"===r.format)return`Neplatn\xfd řetězec: mus\xed odpov\xeddat vzoru ${r.pattern}`;return`Neplatn\xfd form\xe1t ${t[r.format]??r.format}`;case"not_multiple_of":return`Neplatn\xe9 č\xedslo: mus\xed b\xfdt n\xe1sobkem ${r.divisor}`;case"unrecognized_keys":return`Nezn\xe1m\xe9 kl\xedče: ${ev(r.keys,", ")}`;case"invalid_key":return`Neplatn\xfd kl\xedč v ${r.origin}`;case"invalid_union":default:return"Neplatný vstup";case"invalid_element":return`Neplatn\xe1 hodnota v ${r.origin}`}})}},"de",0,function(){let e,t;return{localeError:(e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}},t={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},r=>{switch(r.code){case"invalid_type":return`Ung\xfcltige Eingabe: erwartet ${r.expected}, erhalten ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"Zahl";case"object":if(Array.isArray(e))return"Array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Ung\xfcltige Eingabe: erwartet ${eP(r.values[0])}`;return`Ung\xfcltige Option: erwartet eine von ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Zu gro\xdf: erwartet, dass ${r.origin??"Wert"} ${t}${r.maximum.toString()} ${n.unit??"Elemente"} hat`;return`Zu gro\xdf: erwartet, dass ${r.origin??"Wert"} ${t}${r.maximum.toString()} ist`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Zu klein: erwartet, dass ${r.origin} ${t}${r.minimum.toString()} ${n.unit} hat`;return`Zu klein: erwartet, dass ${r.origin} ${t}${r.minimum.toString()} ist`}case"invalid_format":if("starts_with"===r.format)return`Ung\xfcltiger String: muss mit "${r.prefix}" beginnen`;if("ends_with"===r.format)return`Ung\xfcltiger String: muss mit "${r.suffix}" enden`;if("includes"===r.format)return`Ung\xfcltiger String: muss "${r.includes}" enthalten`;if("regex"===r.format)return`Ung\xfcltiger String: muss dem Muster ${r.pattern} entsprechen`;return`Ung\xfcltig: ${t[r.format]??r.format}`;case"not_multiple_of":return`Ung\xfcltige Zahl: muss ein Vielfaches von ${r.divisor} sein`;case"unrecognized_keys":return`${r.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${ev(r.keys,", ")}`;case"invalid_key":return`Ung\xfcltiger Schl\xfcssel in ${r.origin}`;case"invalid_union":default:return"Ungültige Eingabe";
39case"invalid_element":return`Ung\xfcltiger Wert in ${r.origin}`}})}},"en",0,ru,"eo",0,function(){let e,t;return{localeError:(e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}},t={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},r=>{switch(r.code){case"invalid_type":return`Nevalida enigo: atendiĝis ${r.expected}, riceviĝis ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"nombro";case"object":if(Array.isArray(e))return"tabelo";if(null===e)return"senvalora";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Nevalida enigo: atendiĝis ${eP(r.values[0])}`;return`Nevalida opcio: atendiĝis unu el ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Tro granda: atendiĝis ke ${r.origin??"valoro"} havu ${t}${r.maximum.toString()} ${n.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${r.origin??"valoro"} havu ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Tro malgranda: atendiĝis ke ${r.origin} havu ${t}${r.minimum.toString()} ${n.unit}`;return`Tro malgranda: atendiĝis ke ${r.origin} estu ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Nevalida karaktraro: devas komenciĝi per "${r.prefix}"`;if("ends_with"===r.format)return`Nevalida karaktraro: devas finiĝi per "${r.suffix}"`;if("includes"===r.format)return`Nevalida karaktraro: devas inkluzivi "${r.includes}"`;if("regex"===r.format)return`Nevalida karaktraro: devas kongrui kun la modelo ${r.pattern}`;return`Nevalida ${t[r.format]??r.format}`;case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${r.divisor}`;case"unrecognized_keys":return`Nekonata${r.keys.length>1?"j":""} ŝlosilo${r.keys.length>1?"j":""}: ${ev(r.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${r.origin}`;case"invalid_union":default:return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${r.origin}`}})}},"es",0,function(){let e,t;return{localeError:(e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}},t={regex:"entrada",email:"dirección de correo electrónico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duración ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},r=>{switch(r.code){case"invalid_type":return`Entrada inv\xe1lida: se esperaba ${r.expected}, recibido ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"número";case"object":if(Array.isArray(e))return"arreglo";if(null===e)return"nulo";if(Object.getPrototypeOf(e)!==Object.prototype)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Entrada inv\xe1lida: se esperaba ${eP(r.values[0])}`;return`Opci\xf3n inv\xe1lida: se esperaba una de ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Demasiado grande: se esperaba que ${r.origin??"valor"} tuviera ${t}${r.maximum.toString()} ${n.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${r.origin??"valor"} fuera ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Demasiado peque\xf1o: se esperaba que ${r.origin} tuviera ${t}${r.minimum.toString()} ${n.unit}`;return`Demasiado peque\xf1o: se esperaba que ${r.origin} fuera ${t}${r.minimum.toString()}`}
39case"invalid_format":if("starts_with"===r.format)return`Cadena inv\xe1lida: debe comenzar con "${r.prefix}"`;if("ends_with"===r.format)return`Cadena inv\xe1lida: debe terminar en "${r.suffix}"`;if("includes"===r.format)return`Cadena inv\xe1lida: debe incluir "${r.includes}"`;if("regex"===r.format)return`Cadena inv\xe1lida: debe coincidir con el patr\xf3n ${r.pattern}`;return`Inv\xe1lido ${t[r.format]??r.format}`;case"not_multiple_of":return`N\xfamero inv\xe1lido: debe ser m\xfaltiplo de ${r.divisor}`;case"unrecognized_keys":return`Llave${r.keys.length>1?"s":""} desconocida${r.keys.length>1?"s":""}: ${ev(r.keys,", ")}`;case"invalid_key":return`Llave inv\xe1lida en ${r.origin}`;case"invalid_union":default:return"Entrada inválida";case"invalid_element":return`Valor inv\xe1lido en ${r.origin}`}})}},"fa",0,function(){let e,t;return{localeError:(e={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}},t={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"},r=>{switch(r.code){case"invalid_type":return`ورودی نامعتبر: می‌بایست ${r.expected} می‌بود، ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"عدد";case"object":if(Array.isArray(e))return"آرایه";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)} دریافت شد`;case"invalid_value":if(1===r.values.length)return`ورودی نامعتبر: می‌بایست ${eP(r.values[0])} می‌بود`;return`گزینه نامعتبر: می‌بایست یکی از ${ev(r.values,"|")} می‌بود`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`خیلی بزرگ: ${r.origin??"مقدار"} باید ${t}${r.maximum.toString()} ${n.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${r.origin??"مقدار"} باید ${t}${r.maximum.toString()} باشد`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`خیلی کوچک: ${r.origin} باید ${t}${r.minimum.toString()} ${n.unit} باشد`;return`خیلی کوچک: ${r.origin} باید ${t}${r.minimum.toString()} باشد`}case"invalid_format":if("starts_with"===r.format)return`رشته نامعتبر: باید با "${r.prefix}" شروع شود`;if("ends_with"===r.format)return`رشته نامعتبر: باید با "${r.suffix}" تمام شود`;if("includes"===r.format)return`رشته نامعتبر: باید شامل "${r.includes}" باشد`;if("regex"===r.format)return`رشته نامعتبر: باید با الگوی ${r.pattern} مطابقت داشته باشد`;return`${t[r.format]??r.format} نامعتبر`;case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${r.divisor} باشد`;case"unrecognized_keys":return`کلید${r.keys.length>1?"های":""} ناشناس: ${ev(r.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${r.origin}`;case"invalid_union":default:return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${r.origin}`}})}},"fi",0,function(){let e,t;return{localeError:(e={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}},t={regex:"säännöllinen lauseke",email:"sähköpostiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-päivämäärä",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},r=>
39{switch(r.code){case"invalid_type":return`Virheellinen tyyppi: odotettiin ${r.expected}, oli ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Virheellinen sy\xf6te: t\xe4ytyy olla ${eP(r.values[0])}`;return`Virheellinen valinta: t\xe4ytyy olla yksi seuraavista: ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Liian suuri: ${n.subject} t\xe4ytyy olla ${t}${r.maximum.toString()} ${n.unit}`.trim();return`Liian suuri: arvon t\xe4ytyy olla ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Liian pieni: ${n.subject} t\xe4ytyy olla ${t}${r.minimum.toString()} ${n.unit}`.trim();return`Liian pieni: arvon t\xe4ytyy olla ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Virheellinen sy\xf6te: t\xe4ytyy alkaa "${r.prefix}"`;if("ends_with"===r.format)return`Virheellinen sy\xf6te: t\xe4ytyy loppua "${r.suffix}"`;if("includes"===r.format)return`Virheellinen sy\xf6te: t\xe4ytyy sis\xe4lt\xe4\xe4 "${r.includes}"`;if("regex"===r.format)return`Virheellinen sy\xf6te: t\xe4ytyy vastata s\xe4\xe4nn\xf6llist\xe4 lauseketta ${r.pattern}`;return`Virheellinen ${t[r.format]??r.format}`;case"not_multiple_of":return`Virheellinen luku: t\xe4ytyy olla luvun ${r.divisor} monikerta`;case"unrecognized_keys":return`${r.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${ev(r.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}})}},"fr",0,function(){let e,t;return{localeError:(e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}},t={regex:"entrée",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},r=>{switch(r.code){case"invalid_type":return`Entr\xe9e invalide : ${r.expected} attendu, ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"nombre";case"object":if(Array.isArray(e))return"tableau";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)} re\xe7u`;case"invalid_value":if(1===r.values.length)return`Entr\xe9e invalide : ${eP(r.values[0])} attendu`;
39return`Option invalide : une valeur parmi ${ev(r.values,"|")} attendue`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Trop grand : ${r.origin??"valeur"} doit ${n.verb} ${t}${r.maximum.toString()} ${n.unit??"élément(s)"}`;return`Trop grand : ${r.origin??"valeur"} doit \xeatre ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Trop petit : ${r.origin} doit ${n.verb} ${t}${r.minimum.toString()} ${n.unit}`;return`Trop petit : ${r.origin} doit \xeatre ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Cha\xeene invalide : doit commencer par "${r.prefix}"`;if("ends_with"===r.format)return`Cha\xeene invalide : doit se terminer par "${r.suffix}"`;if("includes"===r.format)return`Cha\xeene invalide : doit inclure "${r.includes}"`;if("regex"===r.format)return`Cha\xeene invalide : doit correspondre au mod\xe8le ${r.pattern}`;return`${t[r.format]??r.format} invalide`;case"not_multiple_of":return`Nombre invalide : doit \xeatre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xe9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${ev(r.keys,", ")}`;case"invalid_key":return`Cl\xe9 invalide dans ${r.origin}`;case"invalid_union":default:return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`}})}},"frCA",0,function(){let e,t;return{localeError:(e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}},t={regex:"entrée",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},r=>{switch(r.code){case"invalid_type":return`Entr\xe9e invalide : attendu ${r.expected}, re\xe7u ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Entr\xe9e invalide : attendu ${eP(r.values[0])}`;
39return`Option invalide : attendu l'une des valeurs suivantes ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"≤":"<",n=e[r.origin]??null;if(n)return`Trop grand : attendu que ${r.origin??"la valeur"} ait ${t}${r.maximum.toString()} ${n.unit}`;return`Trop grand : attendu que ${r.origin??"la valeur"} soit ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?"≥":">",n=e[r.origin]??null;if(n)return`Trop petit : attendu que ${r.origin} ait ${t}${r.minimum.toString()} ${n.unit}`;return`Trop petit : attendu que ${r.origin} soit ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Cha\xeene invalide : doit commencer par "${r.prefix}"`;if("ends_with"===r.format)return`Cha\xeene invalide : doit se terminer par "${r.suffix}"`;if("includes"===r.format)return`Cha\xeene invalide : doit inclure "${r.includes}"`;if("regex"===r.format)return`Cha\xeene invalide : doit correspondre au motif ${r.pattern}`;return`${t[r.format]??r.format} invalide`;case"not_multiple_of":return`Nombre invalide : doit \xeatre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xe9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${ev(r.keys,", ")}`;case"invalid_key":return`Cl\xe9 invalide dans ${r.origin}`;case"invalid_union":default:return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`}})}},"he",0,function(){let e,t;return{localeError:(e={string:{unit:"אותיות",verb:"לכלול"},file:{unit:"בייטים",verb:"לכלול"},array:{unit:"פריטים",verb:"לכלול"},set:{unit:"פריטים",verb:"לכלול"}},t={regex:"קלט",email:"כתובת אימייל",url:"כתובת רשת",emoji:"אימוג'י",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"תאריך וזמן ISO",date:"תאריך ISO",time:"זמן ISO",duration:"משך זמן ISO",ipv4:"כתובת IPv4",ipv6:"כתובת IPv6",cidrv4:"טווח IPv4",cidrv6:"טווח IPv6",base64:"מחרוזת בבסיס 64",base64url:"מחרוזת בבסיס 64 לכתובות רשת",json_string:"מחרוזת JSON",e164:"מספר E.164",jwt:"JWT",template_literal:"קלט"},r=>{switch(r.code){case"invalid_type":return`קלט לא תקין: צריך ${r.expected}, התקבל ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`קלט לא תקין: צריך ${eP(r.values[0])}`;return`קלט לא תקין: צריך אחת מהאפשרויות  ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`גדול מדי: ${r.origin??"value"} צריך להיות ${t}${r.maximum.toString()} ${n.unit??"elements"}`;return`גדול מדי: ${r.origin??"value"} צריך להיות ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`קטן מדי: ${r.origin} צריך להיות ${t}${r.minimum.toString()} ${n.unit}`;return`קטן מדי: ${r.origin} צריך להיות ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`מחרוזת לא תקינה: חייבת להתחיל ב"${r.prefix}"`;if("ends_with"===r.format)return`מחרוזת לא תקינה: חייבת להסתיים ב "${r.suffix}"`;if("includes"===r.format)return`מחרוזת לא תקינה: חייבת לכלול "${r.includes}"`;if("regex"===r.format)return`מחרוזת לא תקינה: חייבת להתאים לתבנית ${r.pattern}`;return`${t[r.format]??r.format} לא תקין`;case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${r.divisor}`;case"unrecognized_keys":return`מפתח${r.keys.length>1?"ות":""} לא מזוה${r.keys.length>1?"ים":"ה"}: ${ev(r.keys,", ")}`;case"invalid_key":return`מפתח לא תקין ב${r.origin}`;
39case"invalid_union":default:return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${r.origin}`}})}},"hu",0,function(){let e,t;return{localeError:(e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}},t={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"},r=>{switch(r.code){case"invalid_type":return`\xc9rv\xe9nytelen bemenet: a v\xe1rt \xe9rt\xe9k ${r.expected}, a kapott \xe9rt\xe9k ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"szám";case"object":if(Array.isArray(e))return"tömb";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`\xc9rv\xe9nytelen bemenet: a v\xe1rt \xe9rt\xe9k ${eP(r.values[0])}`;return`\xc9rv\xe9nytelen opci\xf3: valamelyik \xe9rt\xe9k v\xe1rt ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`T\xfal nagy: ${r.origin??"érték"} m\xe9rete t\xfal nagy ${t}${r.maximum.toString()} ${n.unit??"elem"}`;return`T\xfal nagy: a bemeneti \xe9rt\xe9k ${r.origin??"érték"} t\xfal nagy: ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`T\xfal kicsi: a bemeneti \xe9rt\xe9k ${r.origin} m\xe9rete t\xfal kicsi ${t}${r.minimum.toString()} ${n.unit}`;return`T\xfal kicsi: a bemeneti \xe9rt\xe9k ${r.origin} t\xfal kicsi ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`\xc9rv\xe9nytelen string: "${r.prefix}" \xe9rt\xe9kkel kell kezdődnie`;if("ends_with"===r.format)return`\xc9rv\xe9nytelen string: "${r.suffix}" \xe9rt\xe9kkel kell v\xe9gződnie`;if("includes"===r.format)return`\xc9rv\xe9nytelen string: "${r.includes}" \xe9rt\xe9ket kell tartalmaznia`;if("regex"===r.format)return`\xc9rv\xe9nytelen string: ${r.pattern} mint\xe1nak kell megfelelnie`;return`\xc9rv\xe9nytelen ${t[r.format]??r.format}`;case"not_multiple_of":return`\xc9rv\xe9nytelen sz\xe1m: ${r.divisor} t\xf6bbsz\xf6r\xf6s\xe9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${r.keys.length>1?"s":""}: ${ev(r.keys,", ")}`;case"invalid_key":return`\xc9rv\xe9nytelen kulcs ${r.origin}`;case"invalid_union":default:return"Érvénytelen bemenet";case"invalid_element":return`\xc9rv\xe9nytelen \xe9rt\xe9k: ${r.origin}`}})}},"id",0,function(){let e,t;return{localeError:(e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}},t={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},r=>{switch(r.code){case"invalid_type":return`Input tidak valid: diharapkan ${r.expected}, diterima ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Input tidak valid: diharapkan ${eP(r.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${ev(r.values,"|")}`;
39case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Terlalu besar: diharapkan ${r.origin??"value"} memiliki ${t}${r.maximum.toString()} ${n.unit??"elemen"}`;return`Terlalu besar: diharapkan ${r.origin??"value"} menjadi ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Terlalu kecil: diharapkan ${r.origin} memiliki ${t}${r.minimum.toString()} ${n.unit}`;return`Terlalu kecil: diharapkan ${r.origin} menjadi ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`String tidak valid: harus dimulai dengan "${r.prefix}"`;if("ends_with"===r.format)return`String tidak valid: harus berakhir dengan "${r.suffix}"`;if("includes"===r.format)return`String tidak valid: harus menyertakan "${r.includes}"`;if("regex"===r.format)return`String tidak valid: harus sesuai pola ${r.pattern}`;return`${t[r.format]??r.format} tidak valid`;case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${r.keys.length>1?"s":""}: ${ev(r.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${r.origin}`;case"invalid_union":default:return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${r.origin}`}})}},"it",0,function(){let e,t;return{localeError:(e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}},t={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},r=>{switch(r.code){case"invalid_type":return`Input non valido: atteso ${r.expected}, ricevuto ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"numero";case"object":if(Array.isArray(e))return"vettore";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Input non valido: atteso ${eP(r.values[0])}`;return`Opzione non valida: atteso uno tra ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Troppo grande: ${r.origin??"valore"} deve avere ${t}${r.maximum.toString()} ${n.unit??"elementi"}`;return`Troppo grande: ${r.origin??"valore"} deve essere ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Troppo piccolo: ${r.origin} deve avere ${t}${r.minimum.toString()} ${n.unit}`;return`Troppo piccolo: ${r.origin} deve essere ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Stringa non valida: deve iniziare con "${r.prefix}"`;if("ends_with"===r.format)return`Stringa non valida: deve terminare con "${r.suffix}"`;if("includes"===r.format)return`Stringa non valida: deve includere "${r.includes}"`;if("regex"===r.format)return`Stringa non valida: deve corrispondere al pattern ${r.pattern}`;return`Invalid ${t[r.format]??r.format}`;case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${r.divisor}`;case"unrecognized_keys":return`Chiav${r.keys.length>1?"i":"e"} non riconosciut${r.keys.length>1?"e":"a"}: ${ev(r.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${r.origin}`;case"invalid_union":default:return"Input non valido";case"invalid_element":return`Valore non valido in ${r.origin}`}})}},"ja",0,function(){let e,t;return{localeError:(e={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}},t={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"},r=>
39{switch(r.code){case"invalid_type":return`無効な入力: ${r.expected}が期待されましたが、${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"数値";case"object":if(Array.isArray(e))return"配列";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}が入力されました`;case"invalid_value":if(1===r.values.length)return`無効な入力: ${eP(r.values[0])}が期待されました`;return`無効な選択: ${ev(r.values,"、")}のいずれかである必要があります`;case"too_big":{let t=r.inclusive?"以下である":"より小さい",n=e[r.origin]??null;if(n)return`大きすぎる値: ${r.origin??"値"}は${r.maximum.toString()}${n.unit??"要素"}${t}必要があります`;return`大きすぎる値: ${r.origin??"値"}は${r.maximum.toString()}${t}必要があります`}case"too_small":{let t=r.inclusive?"以上である":"より大きい",n=e[r.origin]??null;if(n)return`小さすぎる値: ${r.origin}は${r.minimum.toString()}${n.unit}${t}必要があります`;return`小さすぎる値: ${r.origin}は${r.minimum.toString()}${t}必要があります`}case"invalid_format":if("starts_with"===r.format)return`無効な文字列: "${r.prefix}"で始まる必要があります`;if("ends_with"===r.format)return`無効な文字列: "${r.suffix}"で終わる必要があります`;if("includes"===r.format)return`無効な文字列: "${r.includes}"を含む必要があります`;if("regex"===r.format)return`無効な文字列: パターン${r.pattern}に一致する必要があります`;return`無効な${t[r.format]??r.format}`;case"not_multiple_of":return`無効な数値: ${r.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${r.keys.length>1?"群":""}: ${ev(r.keys,"、")}`;case"invalid_key":return`${r.origin}内の無効なキー`;case"invalid_union":default:return"無効な入力";case"invalid_element":return`${r.origin}内の無効な値`}})}},"kh",0,function(){let e,t;return{localeError:(e={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}},t={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},r=>{switch(r.code){case"invalid_type":return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${r.expected} ប៉ុន្តែទទួលបាន ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"មិនមែនជាលេខ (NaN)":"លេខ";case"object":if(Array.isArray(e))return"អារេ (Array)";if(null===e)return"គ្មានតម្លៃ (null)";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${eP(r.values[0])}`;return`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${ev(r.values,"|")}`;
39case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`ធំពេក៖ ត្រូវការ ${r.origin??"តម្លៃ"} ${t} ${r.maximum.toString()} ${n.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${r.origin??"តម្លៃ"} ${t} ${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`តូចពេក៖ ត្រូវការ ${r.origin} ${t} ${r.minimum.toString()} ${n.unit}`;return`តូចពេក៖ ត្រូវការ ${r.origin} ${t} ${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${r.prefix}"`;if("ends_with"===r.format)return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${r.suffix}"`;if("includes"===r.format)return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${r.includes}"`;if("regex"===r.format)return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${r.pattern}`;return`មិនត្រឹមត្រូវ៖ ${t[r.format]??r.format}`;case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${r.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${ev(r.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${r.origin}`;case"invalid_union":default:return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${r.origin}`}})}},"ko",0,function(){let e,t;return{localeError:(e={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}},t={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"},r=>{switch(r.code){case"invalid_type":return`잘못된 입력: 예상 타입은 ${r.expected}, 받은 타입은 ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}입니다`;case"invalid_value":if(1===r.values.length)return`잘못된 입력: 값은 ${eP(r.values[0])} 이어야 합니다`;return`잘못된 옵션: ${ev(r.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let t=r.inclusive?"이하":"미만",n="미만"===t?"이어야 합니다":"여야 합니다",i=e[r.origin]??null,a=i?.unit??"요소";if(i)return`${r.origin??"값"}이 너무 큽니다: ${r.maximum.toString()}${a} ${t}${n}`;return`${r.origin??"값"}이 너무 큽니다: ${r.maximum.toString()} ${t}${n}`}case"too_small":{let t=r.inclusive?"이상":"초과",n="이상"===t?"이어야 합니다":"여야 합니다",i=e[r.origin]??null,a=i?.unit??"요소";if(i)return`${r.origin??"값"}이 너무 작습니다: ${r.minimum.toString()}${a} ${t}${n}`;return`${r.origin??"값"}이 너무 작습니다: ${r.minimum.toString()} ${t}${n}`}case"invalid_format":if("starts_with"===r.format)return`잘못된 문자열: "${r.prefix}"(으)로 시작해야 합니다`;if("ends_with"===r.format)return`잘못된 문자열: "${r.suffix}"(으)로 끝나야 합니다`;if("includes"===r.format)return`잘못된 문자열: "${r.includes}"을(를) 포함해야 합니다`;if("regex"===r.format)return`잘못된 문자열: 정규식 ${r.pattern} 패턴과 일치해야 합니다`;return`잘못된 ${t[r.format]??r.format}`;case"not_multiple_of":return`잘못된 숫자: ${r.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${ev(r.keys,", ")}`;
39case"invalid_key":return`잘못된 키: ${r.origin}`;case"invalid_union":default:return"잘못된 입력";case"invalid_element":return`잘못된 값: ${r.origin}`}})}},"mk",0,function(){let e,t;return{localeError:(e={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}},t={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"},r=>{switch(r.code){case"invalid_type":return`Грешен внес: се очекува ${r.expected}, примено ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"број";case"object":if(Array.isArray(e))return"низа";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Invalid input: expected ${eP(r.values[0])}`;return`Грешана опција: се очекува една ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Премногу голем: се очекува ${r.origin??"вредноста"} да има ${t}${r.maximum.toString()} ${n.unit??"елементи"}`;return`Премногу голем: се очекува ${r.origin??"вредноста"} да биде ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Премногу мал: се очекува ${r.origin} да има ${t}${r.minimum.toString()} ${n.unit}`;return`Премногу мал: се очекува ${r.origin} да биде ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Неважечка низа: мора да започнува со "${r.prefix}"`;if("ends_with"===r.format)return`Неважечка низа: мора да завршува со "${r.suffix}"`;if("includes"===r.format)return`Неважечка низа: мора да вклучува "${r.includes}"`;if("regex"===r.format)return`Неважечка низа: мора да одгоара на патернот ${r.pattern}`;return`Invalid ${t[r.format]??r.format}`;case"not_multiple_of":return`Грешен број: мора да биде делив со ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${ev(r.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${r.origin}`;case"invalid_union":default:return"Грешен внес";case"invalid_element":return`Грешна вредност во ${r.origin}`}})}},"ms",0,function(){let e,t;return{localeError:(e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}},t={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},r=>{switch(r.code){case"invalid_type":return`Input tidak sah: dijangka ${r.expected}, diterima ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"nombor";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;
39case"invalid_value":if(1===r.values.length)return`Input tidak sah: dijangka ${eP(r.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Terlalu besar: dijangka ${r.origin??"nilai"} ${n.verb} ${t}${r.maximum.toString()} ${n.unit??"elemen"}`;return`Terlalu besar: dijangka ${r.origin??"nilai"} adalah ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Terlalu kecil: dijangka ${r.origin} ${n.verb} ${t}${r.minimum.toString()} ${n.unit}`;return`Terlalu kecil: dijangka ${r.origin} adalah ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`String tidak sah: mesti bermula dengan "${r.prefix}"`;if("ends_with"===r.format)return`String tidak sah: mesti berakhir dengan "${r.suffix}"`;if("includes"===r.format)return`String tidak sah: mesti mengandungi "${r.includes}"`;if("regex"===r.format)return`String tidak sah: mesti sepadan dengan corak ${r.pattern}`;return`${t[r.format]??r.format} tidak sah`;case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${ev(r.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${r.origin}`;case"invalid_union":default:return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${r.origin}`}})}},"nl",0,function(){let e,t;return{localeError:(e={string:{unit:"tekens"},file:{unit:"bytes"},array:{unit:"elementen"},set:{unit:"elementen"}},t={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},r=>{switch(r.code){case"invalid_type":return`Ongeldige invoer: verwacht ${r.expected}, ontving ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"getal";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Ongeldige invoer: verwacht ${eP(r.values[0])}`;return`Ongeldige optie: verwacht \xe9\xe9n van ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Te lang: verwacht dat ${r.origin??"waarde"} ${t}${r.maximum.toString()} ${n.unit??"elementen"} bevat`;return`Te lang: verwacht dat ${r.origin??"waarde"} ${t}${r.maximum.toString()} is`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Te kort: verwacht dat ${r.origin} ${t}${r.minimum.toString()} ${n.unit} bevat`;return`Te kort: verwacht dat ${r.origin} ${t}${r.minimum.toString()} is`}case"invalid_format":if("starts_with"===r.format)return`Ongeldige tekst: moet met "${r.prefix}" beginnen`;if("ends_with"===r.format)return`Ongeldige tekst: moet op "${r.suffix}" eindigen`;if("includes"===r.format)return`Ongeldige tekst: moet "${r.includes}" bevatten`;if("regex"===r.format)return`Ongeldige tekst: moet overeenkomen met patroon ${r.pattern}`;return`Ongeldig: ${t[r.format]??r.format}`;case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${r.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${r.keys.length>1?"s":""}: ${ev(r.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${r.origin}`;case"invalid_union":default:return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${r.origin}`}})}},"no",0,function(){let e,t;return{localeError:(e={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}},t={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},r=>
39{switch(r.code){case"invalid_type":return`Ugyldig input: forventet ${r.expected}, fikk ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"tall";case"object":if(Array.isArray(e))return"liste";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Ugyldig verdi: forventet ${eP(r.values[0])}`;return`Ugyldig valg: forventet en av ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`For stor(t): forventet ${r.origin??"value"} til \xe5 ha ${t}${r.maximum.toString()} ${n.unit??"elementer"}`;return`For stor(t): forventet ${r.origin??"value"} til \xe5 ha ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`For lite(n): forventet ${r.origin} til \xe5 ha ${t}${r.minimum.toString()} ${n.unit}`;return`For lite(n): forventet ${r.origin} til \xe5 ha ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Ugyldig streng: m\xe5 starte med "${r.prefix}"`;if("ends_with"===r.format)return`Ugyldig streng: m\xe5 ende med "${r.suffix}"`;if("includes"===r.format)return`Ugyldig streng: m\xe5 inneholde "${r.includes}"`;if("regex"===r.format)return`Ugyldig streng: m\xe5 matche m\xf8nsteret ${r.pattern}`;return`Ugyldig ${t[r.format]??r.format}`;case"not_multiple_of":return`Ugyldig tall: m\xe5 v\xe6re et multiplum av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${ev(r.keys,", ")}`;case"invalid_key":return`Ugyldig n\xf8kkel i ${r.origin}`;case"invalid_union":default:return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${r.origin}`}})}},"ota",0,function(){let e,t;return{localeError:(e={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}},t={regex:"giren",email:"epostagâh",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO hengâmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},r=>{switch(r.code){case"invalid_type":return`F\xe2sit giren: umulan ${r.expected}, alınan ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"numara";case"object":if(Array.isArray(e))return"saf";if(null===e)return"gayb";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`F\xe2sit giren: umulan ${eP(r.values[0])}`;return`F\xe2sit tercih: m\xfbteberler ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Fazla b\xfcy\xfck: ${r.origin??"value"}, ${t}${r.maximum.toString()} ${n.unit??"elements"} sahip olmalıydı.`;return`Fazla b\xfcy\xfck: ${r.origin??"value"}, ${t}${r.maximum.toString()} olmalıydı.`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Fazla k\xfc\xe7\xfck: ${r.origin}, ${t}${r.minimum.toString()} ${n.unit} sahip olmalıydı.`;return`Fazla k\xfc\xe7\xfck: ${r.origin}, ${t}${r.minimum.toString()} olmalıydı.`}case"invalid_format":if("starts_with"===r.format)return`F\xe2sit metin: "${r.prefix}" ile başlamalı.`;if("ends_with"===r.format)return`F\xe2sit metin: "${r.suffix}" ile bitmeli.`;if("includes"===r.format)return`F\xe2sit metin: "${r.includes}" ihtiv\xe2 etmeli.`;if("regex"===r.format)return`F\xe2sit metin: ${r.pattern} nakşına uymalı.`;return`F\xe2sit ${t[r.format]??r.format}`;case"not_multiple_of":return`F\xe2sit sayı: ${r.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${r.keys.length>1?"s":""}: ${ev(r.keys,", ")}`;
39case"invalid_key":return`${r.origin} i\xe7in tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${r.origin} i\xe7in tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}})}},"pl",0,function(){let e,t;return{localeError:(e={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}},t={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"},r=>{switch(r.code){case"invalid_type":return`Nieprawidłowe dane wejściowe: oczekiwano ${r.expected}, otrzymano ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"liczba";case"object":if(Array.isArray(e))return"tablica";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Nieprawidłowe dane wejściowe: oczekiwano ${eP(r.values[0])}`;return`Nieprawidłowa opcja: oczekiwano jednej z wartości ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Za duża wartość: oczekiwano, że ${r.origin??"wartość"} będzie mieć ${t}${r.maximum.toString()} ${n.unit??"elementów"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${r.origin??"wartość"} będzie wynosić ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Za mała wartość: oczekiwano, że ${r.origin??"wartość"} będzie mieć ${t}${r.minimum.toString()} ${n.unit??"elementów"}`;return`Zbyt mał(y/a/e): oczekiwano, że ${r.origin??"wartość"} będzie wynosić ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Nieprawidłowy ciąg znak\xf3w: musi zaczynać się od "${r.prefix}"`;if("ends_with"===r.format)return`Nieprawidłowy ciąg znak\xf3w: musi kończyć się na "${r.suffix}"`;if("includes"===r.format)return`Nieprawidłowy ciąg znak\xf3w: musi zawierać "${r.includes}"`;if("regex"===r.format)return`Nieprawidłowy ciąg znak\xf3w: musi odpowiadać wzorcowi ${r.pattern}`;return`Nieprawidłow(y/a/e) ${t[r.format]??r.format}`;case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${r.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${r.keys.length>1?"s":""}: ${ev(r.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${r.origin}`;case"invalid_union":default:return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${r.origin}`}})}},"ps",0,function(){let e,t;return{localeError:(e={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}},t={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"},r=>{switch(r.code){case"invalid_type":return`ناسم ورودي: باید ${r.expected} وای, مګر ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"عدد";case"object":if(Array.isArray(e))return"ارې";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)} ترلاسه شو`;
39case"invalid_value":if(1===r.values.length)return`ناسم ورودي: باید ${eP(r.values[0])} وای`;return`ناسم انتخاب: باید یو له ${ev(r.values,"|")} څخه وای`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`ډیر لوی: ${r.origin??"ارزښت"} باید ${t}${r.maximum.toString()} ${n.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${r.origin??"ارزښت"} باید ${t}${r.maximum.toString()} وي`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`ډیر کوچنی: ${r.origin} باید ${t}${r.minimum.toString()} ${n.unit} ولري`;return`ډیر کوچنی: ${r.origin} باید ${t}${r.minimum.toString()} وي`}case"invalid_format":if("starts_with"===r.format)return`ناسم متن: باید د "${r.prefix}" سره پیل شي`;if("ends_with"===r.format)return`ناسم متن: باید د "${r.suffix}" سره پای ته ورسيږي`;if("includes"===r.format)return`ناسم متن: باید "${r.includes}" ولري`;if("regex"===r.format)return`ناسم متن: باید د ${r.pattern} سره مطابقت ولري`;return`${t[r.format]??r.format} ناسم دی`;case"not_multiple_of":return`ناسم عدد: باید د ${r.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${r.keys.length>1?"کلیډونه":"کلیډ"}: ${ev(r.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${r.origin} کې`;case"invalid_union":default:return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${r.origin} کې`}})}},"pt",0,function(){let e,t;return{localeError:(e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}},t={regex:"padrão",email:"endereço de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"duração ISO",ipv4:"endereço IPv4",ipv6:"endereço IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},r=>{switch(r.code){case"invalid_type":return`Tipo inv\xe1lido: esperado ${r.expected}, recebido ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"número";case"object":if(Array.isArray(e))return"array";if(null===e)return"nulo";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Entrada inv\xe1lida: esperado ${eP(r.values[0])}`;return`Op\xe7\xe3o inv\xe1lida: esperada uma das ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Muito grande: esperado que ${r.origin??"valor"} tivesse ${t}${r.maximum.toString()} ${n.unit??"elementos"}`;return`Muito grande: esperado que ${r.origin??"valor"} fosse ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Muito pequeno: esperado que ${r.origin} tivesse ${t}${r.minimum.toString()} ${n.unit}`;return`Muito pequeno: esperado que ${r.origin} fosse ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Texto inv\xe1lido: deve come\xe7ar com "${r.prefix}"`;if("ends_with"===r.format)return`Texto inv\xe1lido: deve terminar com "${r.suffix}"`;if("includes"===r.format)return`Texto inv\xe1lido: deve incluir "${r.includes}"`;if("regex"===r.format)return`Texto inv\xe1lido: deve corresponder ao padr\xe3o ${r.pattern}`;return`${t[r.format]??r.format} inv\xe1lido`;case"not_multiple_of":return`N\xfamero inv\xe1lido: deve ser m\xfaltiplo de ${r.divisor}`;case"unrecognized_keys":return`Chave${r.keys.length>1?"s":""} desconhecida${r.keys.length>1?"s":""}: ${ev(r.keys,", ")}`;case"invalid_key":return`Chave inv\xe1lida em ${r.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inv\xe1lido em ${r.origin}`;default:return"Campo inválido"}})}},"ru",0,function(){let e,t;return{localeError:(e={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}},t={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"},r=>
39{switch(r.code){case"invalid_type":return`Неверный ввод: ожидалось ${r.expected}, получено ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"число";case"object":if(Array.isArray(e))return"массив";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Неверный ввод: ожидалось ${eP(r.values[0])}`;return`Неверный вариант: ожидалось одно из ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n){let e=iC(Number(r.maximum),n.unit.one,n.unit.few,n.unit.many);return`Слишком большое значение: ожидалось, что ${r.origin??"значение"} будет иметь ${t}${r.maximum.toString()} ${e}`}return`Слишком большое значение: ожидалось, что ${r.origin??"значение"} будет ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n){let e=iC(Number(r.minimum),n.unit.one,n.unit.few,n.unit.many);return`Слишком маленькое значение: ожидалось, что ${r.origin} будет иметь ${t}${r.minimum.toString()} ${e}`}return`Слишком маленькое значение: ожидалось, что ${r.origin} будет ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Неверная строка: должна начинаться с "${r.prefix}"`;if("ends_with"===r.format)return`Неверная строка: должна заканчиваться на "${r.suffix}"`;if("includes"===r.format)return`Неверная строка: должна содержать "${r.includes}"`;if("regex"===r.format)return`Неверная строка: должна соответствовать шаблону ${r.pattern}`;return`Неверный ${t[r.format]??r.format}`;case"not_multiple_of":return`Неверное число: должно быть кратным ${r.divisor}`;case"unrecognized_keys":return`Нераспознанн${r.keys.length>1?"ые":"ый"} ключ${r.keys.length>1?"и":""}: ${ev(r.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${r.origin}`;case"invalid_union":default:return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${r.origin}`}})}},"sl",0,function(){let e,t;return{localeError:(e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}},t={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",jwt:"JWT",template_literal:"vnos"},r=>{switch(r.code){case"invalid_type":return`Neveljaven vnos: pričakovano ${r.expected}, prejeto ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"število";case"object":if(Array.isArray(e))return"tabela";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Neveljaven vnos: pričakovano ${eP(r.values[0])}`;return`Neveljavna možnost: pričakovano eno izmed ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Preveliko: pričakovano, da bo ${r.origin??"vrednost"} imelo ${t}${r.maximum.toString()} ${n.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${r.origin??"vrednost"} ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Premajhno: pričakovano, da bo ${r.origin} imelo ${t}${r.minimum.toString()} ${n.unit}`;return`Premajhno: pričakovano, da bo ${r.origin} ${t}${r.minimum.toString()}`}
39case"invalid_format":if("starts_with"===r.format)return`Neveljaven niz: mora se začeti z "${r.prefix}"`;if("ends_with"===r.format)return`Neveljaven niz: mora se končati z "${r.suffix}"`;if("includes"===r.format)return`Neveljaven niz: mora vsebovati "${r.includes}"`;if("regex"===r.format)return`Neveljaven niz: mora ustrezati vzorcu ${r.pattern}`;return`Neveljaven ${t[r.format]??r.format}`;case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${r.divisor}`;case"unrecognized_keys":return`Neprepoznan${r.keys.length>1?"i ključi":" ključ"}: ${ev(r.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${r.origin}`;case"invalid_union":default:return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${r.origin}`}})}},"sv",0,function(){let e,t;return{localeError:(e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}},t={regex:"reguljärt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad sträng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},r=>{switch(r.code){case"invalid_type":return`Ogiltig inmatning: f\xf6rv\xe4ntat ${r.expected}, fick ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"antal";case"object":if(Array.isArray(e))return"lista";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Ogiltig inmatning: f\xf6rv\xe4ntat ${eP(r.values[0])}`;return`Ogiltigt val: f\xf6rv\xe4ntade en av ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`F\xf6r stor(t): f\xf6rv\xe4ntade ${r.origin??"värdet"} att ha ${t}${r.maximum.toString()} ${n.unit??"element"}`;return`F\xf6r stor(t): f\xf6rv\xe4ntat ${r.origin??"värdet"} att ha ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`F\xf6r lite(t): f\xf6rv\xe4ntade ${r.origin??"värdet"} att ha ${t}${r.minimum.toString()} ${n.unit}`;return`F\xf6r lite(t): f\xf6rv\xe4ntade ${r.origin??"värdet"} att ha ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Ogiltig str\xe4ng: m\xe5ste b\xf6rja med "${r.prefix}"`;if("ends_with"===r.format)return`Ogiltig str\xe4ng: m\xe5ste sluta med "${r.suffix}"`;if("includes"===r.format)return`Ogiltig str\xe4ng: m\xe5ste inneh\xe5lla "${r.includes}"`;if("regex"===r.format)return`Ogiltig str\xe4ng: m\xe5ste matcha m\xf6nstret "${r.pattern}"`;return`Ogiltig(t) ${t[r.format]??r.format}`;case"not_multiple_of":return`Ogiltigt tal: m\xe5ste vara en multipel av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${ev(r.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${r.origin??"värdet"}`;case"invalid_union":default:return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xe4rde i ${r.origin??"värdet"}`}})}},"ta",0,function(){let e,t;return{localeError:(e={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}},t={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்ப
39ு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"},r=>{switch(r.code){case"invalid_type":return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${r.expected}, பெறப்பட்டது ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"எண் அல்லாதது":"எண்";case"object":if(Array.isArray(e))return"அணி";if(null===e)return"வெறுமை";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${eP(r.values[0])}`;return`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${ev(r.values,"|")} இல் ஒன்று`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${r.origin??"மதிப்பு"} ${t}${r.maximum.toString()} ${n.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${r.origin??"மதிப்பு"} ${t}${r.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${r.origin} ${t}${r.minimum.toString()} ${n.unit} ஆக இருக்க வேண்டும்`;return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${r.origin} ${t}${r.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":if("starts_with"===r.format)return`தவறான சரம்: "${r.prefix}" இல் தொடங்க வேண்டும்`;if("ends_with"===r.format)return`தவறான சரம்: "${r.suffix}" இல் முடிவடைய வேண்டும்`;if("includes"===r.format)return`தவறான சரம்: "${r.includes}" ஐ உள்ளடக்க வேண்டும்`;if("regex"===r.format)return`தவறான சரம்: ${r.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;return`தவறான ${t[r.format]??r.format}`;case"not_multiple_of":return`தவறான எண்: ${r.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${r.keys.length>1?"கள்":""}: ${ev(r.keys,", ")}`;case"invalid_key":return`${r.origin} இல் தவறான விசை`;case"invalid_union":default:return"தவறான உள்ளீடு";case"invalid_element":return`${r.origin} இல் தவறான மதிப்பு`}})}},"th",0,function(){let e,t;return{localeError:(e={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}},t={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},r=>
39{switch(r.code){case"invalid_type":return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${r.expected} แต่ได้รับ ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"ไม่ใช่ตัวเลข (NaN)":"ตัวเลข";case"object":if(Array.isArray(e))return"อาร์เรย์ (Array)";if(null===e)return"ไม่มีค่า (null)";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`ค่าไม่ถูกต้อง: ควรเป็น ${eP(r.values[0])}`;return`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"ไม่เกิน":"น้อยกว่า",n=e[r.origin]??null;if(n)return`เกินกำหนด: ${r.origin??"ค่า"} ควรมี${t} ${r.maximum.toString()} ${n.unit??"รายการ"}`;
39return`เกินกำหนด: ${r.origin??"ค่า"} ควรมี${t} ${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?"อย่างน้อย":"มากกว่า",n=e[r.origin]??null;if(n)return`น้อยกว่ากำหนด: ${r.origin} ควรมี${t} ${r.minimum.toString()} ${n.unit}`;return`น้อยกว่ากำหนด: ${r.origin} ควรมี${t} ${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${r.prefix}"`;if("ends_with"===r.format)return`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${r.suffix}"`;if("includes"===r.format)return`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${r.includes}" อยู่ในข้อความ`;if("regex"===r.format)return`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${r.pattern}`;return`รูปแบบไม่ถูกต้อง: ${t[r.format]??r.format}`;case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${r.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${ev(r.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${r.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${r.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}})}},"tr",0,function(){let e,t;return{localeError:(e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}},t={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO süre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"},r=>{switch(r.code){case"invalid_type":return`Ge\xe7ersiz değer: beklenen ${r.expected}, alınan ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Ge\xe7ersiz değer: beklenen ${eP(r.values[0])}`;return`Ge\xe7ersiz se\xe7enek: aşağıdakilerden biri olmalı: ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`\xc7ok b\xfcy\xfck: beklenen ${r.origin??"değer"} ${t}${r.maximum.toString()} ${n.unit??"öğe"}`;return`\xc7ok b\xfcy\xfck: beklenen ${r.origin??"değer"} ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`\xc7ok k\xfc\xe7\xfck: beklenen ${r.origin} ${t}${r.minimum.toString()} ${n.unit}`;return`\xc7ok k\xfc\xe7\xfck: beklenen ${r.origin} ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Ge\xe7ersiz metin: "${r.prefix}" ile başlamalı`;if("ends_with"===r.format)return`Ge\xe7ersiz metin: "${r.suffix}" ile bitmeli`;if("includes"===r.format)return`Ge\xe7ersiz metin: "${r.includes}" i\xe7ermeli`;if("regex"===r.format)return`Ge\xe7ersiz metin: ${r.pattern} desenine uymalı`;return`Ge\xe7ersiz ${t[r.format]??r.format}`;case"not_multiple_of":return`Ge\xe7ersiz sayı: ${r.divisor} ile tam b\xf6l\xfcnebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${r.keys.length>1?"lar":""}: ${ev(r.keys,", ")}`;
39case"invalid_key":return`${r.origin} i\xe7inde ge\xe7ersiz anahtar`;case"invalid_union":default:return"Geçersiz değer";case"invalid_element":return`${r.origin} i\xe7inde ge\xe7ersiz değer`}})}},"ua",0,function(){let e,t;return{localeError:(e={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}},t={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"},r=>{switch(r.code){case"invalid_type":return`Неправильні вхідні дані: очікується ${r.expected}, отримано ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"число";case"object":if(Array.isArray(e))return"масив";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Неправильні вхідні дані: очікується ${eP(r.values[0])}`;return`Неправильна опція: очікується одне з ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Занадто велике: очікується, що ${r.origin??"значення"} ${n.verb} ${t}${r.maximum.toString()} ${n.unit??"елементів"}`;return`Занадто велике: очікується, що ${r.origin??"значення"} буде ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Занадто мале: очікується, що ${r.origin} ${n.verb} ${t}${r.minimum.toString()} ${n.unit}`;return`Занадто мале: очікується, що ${r.origin} буде ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Неправильний рядок: повинен починатися з "${r.prefix}"`;if("ends_with"===r.format)return`Неправильний рядок: повинен закінчуватися на "${r.suffix}"`;if("includes"===r.format)return`Неправильний рядок: повинен містити "${r.includes}"`;if("regex"===r.format)return`Неправильний рядок: повинен відповідати шаблону ${r.pattern}`;return`Неправильний ${t[r.format]??r.format}`;case"not_multiple_of":return`Неправильне число: повинно бути кратним ${r.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${r.keys.length>1?"і":""}: ${ev(r.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${r.origin}`;case"invalid_union":default:return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${r.origin}`}})}},"ur",0,function(){let e,t;return{localeError:(e={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}},t={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},r=>
39{switch(r.code){case"invalid_type":return`غلط ان پٹ: ${r.expected} متوقع تھا، ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"نمبر";case"object":if(Array.isArray(e))return"آرے";if(null===e)return"نل";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)} موصول ہوا`;case"invalid_value":if(1===r.values.length)return`غلط ان پٹ: ${eP(r.values[0])} متوقع تھا`;return`غلط آپشن: ${ev(r.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`بہت بڑا: ${r.origin??"ویلیو"} کے ${t}${r.maximum.toString()} ${n.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${r.origin??"ویلیو"} کا ${t}${r.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`بہت چھوٹا: ${r.origin} کے ${t}${r.minimum.toString()} ${n.unit} ہونے متوقع تھے`;return`بہت چھوٹا: ${r.origin} کا ${t}${r.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":if("starts_with"===r.format)return`غلط سٹرنگ: "${r.prefix}" سے شروع ہونا چاہیے`;if("ends_with"===r.format)return`غلط سٹرنگ: "${r.suffix}" پر ختم ہونا چاہیے`;if("includes"===r.format)return`غلط سٹرنگ: "${r.includes}" شامل ہونا چاہیے`;if("regex"===r.format)return`غلط سٹرنگ: پیٹرن ${r.pattern} سے میچ ہونا چاہیے`;return`غلط ${t[r.format]??r.format}`;case"not_multiple_of":return`غلط نمبر: ${r.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${r.keys.length>1?"ز":""}: ${ev(r.keys,"، ")}`;case"invalid_key":return`${r.origin} میں غلط کی`;case"invalid_union":default:return"غلط ان پٹ";case"invalid_element":return`${r.origin} میں غلط ویلیو`}})}},"vi",0,function(){let e,t;return{localeError:(e={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}},t={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"},r=>{switch(r.code){case"invalid_type":return`Đầu v\xe0o kh\xf4ng hợp lệ: mong đợi ${r.expected}, nhận được ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"số";case"object":if(Array.isArray(e))return"mảng";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Đầu v\xe0o kh\xf4ng hợp lệ: mong đợi ${eP(r.values[0])}`;return`T\xf9y chọn kh\xf4ng hợp lệ: mong đợi một trong c\xe1c gi\xe1 trị ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Qu\xe1 lớn: mong đợi ${r.origin??"giá trị"} ${n.verb} ${t}${r.maximum.toString()} ${n.unit??"phần tử"}`;return`Qu\xe1 lớn: mong đợi ${r.origin??"giá trị"} ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Qu\xe1 nhỏ: mong đợi ${r.origin} ${n.verb} ${t}${r.minimum.toString()} ${n.unit}`;return`Qu\xe1 nhỏ: mong đợi ${r.origin} ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Chuỗi kh\xf4ng hợp lệ: phải bắt đầu bằng "${r.prefix}"`;if("ends_with"===r.format)return`Chuỗi kh\xf4ng hợp lệ: phải kết th\xfac bằng "${r.suffix}"`;if("includes"===r.format)return`Chuỗi kh\xf4ng hợp lệ: phải bao gồm "${r.includes}"`;if("regex"===r.format)return`Chuỗi kh\xf4ng hợp lệ: phải khớp với mẫu ${r.pattern}`;return`${t[r.format]??r.format} kh\xf4ng hợp lệ`;case"not_multiple_of":return`Số kh\xf4ng hợp lệ: phải l\xe0 bội số của ${r.divisor}`;case"unrecognized_keys":return`Kh\xf3a kh\xf4ng được nhận dạng: ${ev(r.keys,", ")}`;
39case"invalid_key":return`Kh\xf3a kh\xf4ng hợp lệ trong ${r.origin}`;case"invalid_union":default:return"Đầu vào không hợp lệ";case"invalid_element":return`Gi\xe1 trị kh\xf4ng hợp lệ trong ${r.origin}`}})}},"zhCN",0,function(){let e,t;return{localeError:(e={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}},t={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"},r=>{switch(r.code){case"invalid_type":return`无效输入:期望 ${r.expected},实际接收 ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"非数字(NaN)":"数字";case"object":if(Array.isArray(e))return"数组";if(null===e)return"空值(null)";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`无效输入:期望 ${eP(r.values[0])}`;return`无效选项:期望以下之一 ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`数值过大:期望 ${r.origin??"值"} ${t}${r.maximum.toString()} ${n.unit??"个元素"}`;return`数值过大:期望 ${r.origin??"值"} ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`数值过小:期望 ${r.origin} ${t}${r.minimum.toString()} ${n.unit}`;return`数值过小:期望 ${r.origin} ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`无效字符串:必须以 "${r.prefix}" 开头`;if("ends_with"===r.format)return`无效字符串:必须以 "${r.suffix}" 结尾`;if("includes"===r.format)return`无效字符串:必须包含 "${r.includes}"`;if("regex"===r.format)return`无效字符串:必须满足正则表达式 ${r.pattern}`;return`无效${t[r.format]??r.format}`;case"not_multiple_of":return`无效数字:必须是 ${r.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${ev(r.keys,", ")}`;case"invalid_key":return`${r.origin} 中的键(key)无效`;case"invalid_union":default:return"无效输入";case"invalid_element":return`${r.origin} 中包含无效值(value)`}})}},"zhTW",0,function(){let e,t;return{localeError:(e={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}},t={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"},r=>{switch(r.code){case"invalid_type":return`無效的輸入值:預期為 ${r.expected},但收到 ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`無效的輸入值:預期為 ${eP(r.values[0])}`;return`無效的選項:預期為以下其中之一 ${ev(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`數值過大:預期 ${r.origin??"值"} 應為 ${t}${r.maximum.toString()} ${n.unit??"個元素"}`;return`數值過大:預期 ${r.origin??"值"} 應為 ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`數值過小:預期 ${r.origin} 應為 ${t}${r.minimum.toString()} ${n.unit}`;return`數值過小:預期 ${r.origin} 應為 ${t}${r.minimum.toString()}`}
39case"invalid_format":if("starts_with"===r.format)return`無效的字串:必須以 "${r.prefix}" 開頭`;if("ends_with"===r.format)return`無效的字串:必須以 "${r.suffix}" 結尾`;if("includes"===r.format)return`無效的字串:必須包含 "${r.includes}"`;if("regex"===r.format)return`無效的字串:必須符合格式 ${r.pattern}`;return`無效的 ${t[r.format]??r.format}`;case"not_multiple_of":return`無效的數字:必須為 ${r.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${r.keys.length>1?"們":""}:${ev(r.keys,"、")}`;case"invalid_key":return`${r.origin} 中有無效的鍵值`;case"invalid_union":default:return"無效的輸入值";case"invalid_element":return`${r.origin} 中有無效的值`}})}}],554580);var ij=e.i(554580);function iz(e,t){return new e({type:"string",...ez(t)})}function iP(e,t){return new e({type:"string",coerce:!0,...ez(t)})}function iN(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...ez(t)})}function iZ(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...ez(t)})}function iF(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...ez(t)})}function iU(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...ez(t)})}function iM(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...ez(t)})}function iL(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...ez(t)})}function iR(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...ez(t)})}function iB(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...ez(t)})}function iq(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...ez(t)})}function iV(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...ez(t)})}function iW(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...ez(t)})}function iJ(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...ez(t)})}function iG(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...ez(t)})}function iK(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...ez(t)})}function iH(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...ez(t)})}function iX(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...ez(t)})}function iY(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...ez(t)})}function iQ(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...ez(t)})}function i0(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...ez(t)})}function i1(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...ez(t)})}function i4(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...ez(t)})}function i6(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...ez(t)})}e.i(525527),e.i(698530);let i2={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function i3(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...ez(t)})}function i9(e,t){return new e({type:"string",format:"date",check:"string_format",...ez(t)})}function i5(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...ez(t)})}function i8(e,t){return new e({type:"string",format:"duration",check:"string_format",...ez(t)})}function i7(e,t){return new e({type:"number",checks:[],...ez(t)})}function ae(e,t){return new e({type:"number",coerce:!0,checks:[],...ez(t)})}function at(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...ez(t)})}function ar(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...ez(t)})}function an(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...ez(t)})}function ai(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...ez(t)})}function aa(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...ez(t)})}function ao(e,t){return new e({type:"boolean",...ez(t)})}function as(e,t){return new e({type:"boolean",coerce:!0,...ez(t)})}function au(e,t){return new e({type:"bigint",...ez(t)})}function al(e,t){return new e({type:"bigint",coerce:!0,...ez(t)})}function ac(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...ez(t)})}function ad(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...ez(t)})}function ap(e,t){return new e({type:"symbol",...ez(t)})}function af(e,t){return new e({type:"undefined",...ez(t)})}function ah(e,t){return new e({type:"null",...ez(t)})}function am(e){return new e({type:"any"})}function ag(e){return new e({type:"unknown"})}function av(e,t){return new e({type:"never",...ez(t)})}function a_(e,t){return new e({type:"void",...ez(t)})}function ay(e,t){return new e({type:"date",...ez(t)})}function ab(e,t){return new e({type:"date",coerce:!0,...ez(t)})}function ak(e,t){return new e({type:"nan",...ez(t)})}function ax(e,t){return new rG({check:"less_than",...ez(t),value:e,inclusive:!1})}function a$(e,t){return new rG({check:"less_than",...ez(t),value:e,inclusive:!0})}function aw(e,t){return new rK({check:"greater_than",...ez(t),value:e,inclusive:!1})}function aS(e,t){return new rK({check:"greater_than",...ez(t),value:e,inclusive:!0})}function aI(e){return aw(0,e)}function aE(e){return ax(0,e)}function aO(e){return a$(0,e)}function aD(e){return aS(0,e)}function aA(e,t){return new rH({check:"multiple_of",...ez(t),value:e})}function aT(e,t){return new rQ({check:"max_size",...ez(t),maximum:e})}function aC(e,t){return new r0({check:"min_size",...ez(t),minimum:e})}function aj(e,t){return new r1({check:"size_equals",...ez(t),size:e})}function az(e,t){return new r4({check:"max_length",...ez(t),maximum:e})}function aP(e,t){return new r6({check:"min_length",...ez(t),minimum:e})}function aN(e,t){return new r2({check:"length_equals",...ez(t),length:e})}function aZ(e,t){return new r9({check:"string_format",format:"regex",...ez(t),pattern:e})}function aF(e){return new r5({check:"string_format",format:"lowercase",...ez(e)})}
39function aU(e){return new r8({check:"string_format",format:"uppercase",...ez(e)})}function aM(e,t){return new r7({check:"string_format",format:"includes",...ez(t),includes:e})}function aL(e,t){return new ne({check:"string_format",format:"starts_with",...ez(t),prefix:e})}function aR(e,t){return new nt({check:"string_format",format:"ends_with",...ez(t),suffix:e})}function aB(e,t,r){return new nn({check:"property",property:e,schema:t,...ez(r)})}function aq(e,t){return new ni({check:"mime_type",mime:e,...ez(t)})}function aV(e){return new na({check:"overwrite",tx:e})}function aW(e){return aV(t=>t.normalize(e))}function aJ(){return aV(e=>e.trim())}function aG(){return aV(e=>e.toLowerCase())}function aK(){return aV(e=>e.toUpperCase())}function aH(e,t,r){return new e({type:"array",element:t,...ez(r)})}function aX(e,t,r){return new e({type:"union",options:t,...ez(r)})}function aY(e,t,r,n){return new e({type:"union",options:r,discriminator:t,...ez(n)})}function aQ(e,t,r){return new e({type:"intersection",left:t,right:r})}function a0(e,t,r,n){let i=r instanceof nu,a=i?n:r;return new e({type:"tuple",items:t,rest:i?r:null,...ez(a)})}function a1(e,t,r,n){return new e({type:"record",keyType:t,valueType:r,...ez(n)})}function a4(e,t,r,n){return new e({type:"map",keyType:t,valueType:r,...ez(n)})}function a6(e,t,r){return new e({type:"set",valueType:t,...ez(r)})}function a2(e,t,r){return new e({type:"enum",entries:Array.isArray(t)?Object.fromEntries(t.map(e=>[e,e])):t,...ez(r)})}function a3(e,t,r){return new e({type:"enum",entries:t,...ez(r)})}function a9(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],...ez(r)})}function a5(e,t){return new e({type:"file",...ez(t)})}function a8(e,t){return new e({type:"transform",transform:t})}function a7(e,t){return new e({type:"optional",innerType:t})}function oe(e,t){return new e({type:"nullable",innerType:t})}function ot(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return"function"==typeof r?r():r}})}function or(e,t,r){return new e({type:"nonoptional",innerType:t,...ez(r)})}function on(e,t){return new e({type:"success",innerType:t})}function oi(e,t,r){return new e({type:"catch",innerType:t,catchValue:"function"==typeof r?r:()=>r})}function oa(e,t,r){return new e({type:"pipe",in:t,out:r})}function oo(e,t){return new e({type:"readonly",innerType:t})}function os(e,t,r){return new e({type:"template_literal",parts:t,...ez(r)})}function ou(e,t){return new e({type:"lazy",getter:t})}function ol(e,t){return new e({type:"promise",innerType:t})}function oc(e,t,r){let n=ez(r);return n.abort??(n.abort=!0),new e({type:"custom",check:"custom",fn:t,...n})}function od(e,t,r){return new e({type:"custom",check:"custom",fn:t,...ez(r)})}function op(e,t){let r=ez(t),n=r.truthy??["true","1","yes","on","y","enabled"],i=r.falsy??["false","0","no","off","n","disabled"];"sensitive"!==r.case&&(n=n.map(e=>"string"==typeof e?e.toLowerCase():e),i=i.map(e=>"string"==typeof e?e.toLowerCase():e));let a=new Set(n),o=new Set(i),s=e.Pipe??ib,u=e.Boolean??nM,l=e.String??nl,c=new(e.Transform??iu)({type:"transform",transform:(e,t)=>{let n=e;return"sensitive"!==r.case&&(n=n.toLowerCase()),!!a.has(n)||!o.has(n)&&(t.issues.push({code:"invalid_value",expected:"stringbool",values:[...a,...o],input:t.value,inst:c}),{})},error:r.error}),d=new s({type:"pipe",in:new l({type:"string",error:r.error}),out:c,error:r.error});return new s({type:"pipe",in:d,out:new u({type:"boolean",error:r.error}),error:r.error})}function of(e,t,r,n={}){let i=ez(n),a={...ez(n),check:"string_format",type:"string",format:t,fn:"function"==typeof r?r:e=>r.test(e),...i};return r instanceof RegExp&&(a.pattern=r),new e(a)}e.s(["TimePrecision",0,i2,"_any",0,am,"_array",0,aH,"_base64",0,i0,"_base64url",0,i1,"_bigint",0,au,"_boolean",0,ao,"_catch",0,oi,"_cidrv4",0,iY,"_cidrv6",0,iQ,"_coercedBigint",0,al,"_coercedBoolean",0,as,"_coercedDate",0,ab,"_coercedNumber",0,ae,"_coercedString",0,iP,"_cuid",0,iV,"_cuid2",0,iW,"_custom",0,oc,"_date",0,ay,"_default",0,ot,"_discriminatedUnion",0,aY,"_e164",0,i4,"_email",0,iN,"_emoji",0,iB,"_endsWith",0,aR,"_enum",0,a2,"_file",0,a5,"_float32",0,ar,"_float64",0,an,"_gt",0,aw,"_gte",0,aS,"_guid",0,iZ,"_includes",0,aM,"_int",0,at,"_int32",0,ai,"_int64",0,ac,"_intersection",0,aQ,"_ipv4",0,iH,"_ipv6",0,iX,"_isoDate",0,i9,"_isoDateTime",0,i3,"_isoDuration",0,i8,"_isoTime",0,i5,"_jwt",0,i6,"_ksuid",0,iK,"_lazy",0,ou,"_length",0,aN,"_literal",0,a9,"_lowercase",0,aF,"_lt",0,ax,"_lte",0,a$,"_map",0,a4,"_max",0,a$,"_maxLength",0,az,"_maxSize",0,aT,"_mime",0,aq,"_min",0,aS,"_minLength",0,aP,"_minSize",0,aC,"_multipleOf",0,aA,"_nan",0,ak,"_nanoid",0,iq,"_nativeEnum",0,a3,"_negative",0,aE,"_never",0,av,"_nonnegative",0,aD,"_nonoptional",0,or,"_nonpositive",0,aO,"_normalize",0,aW,"_null",0,ah,"_nullable",0,oe,"_number",0,i7,"_optional",0,a7,"_overwrite",0,aV,"_pipe",0,oa,"_positive",0,aI,"_promise",0,ol,"_property",0,aB,"_readonly",0,oo,"_record",0,a1,"_refine",0,od,"_regex",0,aZ,"_set",0,a6,"_size",0,aj,"_startsWith",0,aL,"_string",0,iz,"_stringFormat",0,of,"_stringbool",0,op,"_success",0,on,"_symbol",0,ap,"_templateLiteral",0,os,"_toLowerCase",0,aG,"_toUpperCase",0,aK,"_transform",0,a8,"_trim",0,aJ,"_tuple",0,a0,"_uint32",0,aa,"_uint64",0,ad,"_ulid",0,iJ,"_undefined",0,af,"_union",0,aX,"_unknown",0,ag,"_uppercase",0,aU,"_url",0,iR,"_uuid",0,iF,"_uuidv4",0,iU,"_uuidv6",0,iM,"_uuidv7",0,iL,"_void",0,a_,"_xid",0,iG],650215);class oh{constructor(e){this._def=e,this.def=e}implement(e){if("function"!=typeof e)throw Error("implement() must be called with a function");let t=(...r)=>{let n=this._def.input?e1(this._def.input,r,void 0,{callee:t}):r;if(!Array.isArray(n))throw Error("Invalid arguments schema: not an array or tuple schema.");let i=e(...n);return this._def.output?e1(this._def.output,i,void 0,{callee:t}):i};return t}implementAsync(e){if("function"!=typeof e)throw Error("implement() must be called with a function");let t=async(...r)=>{let n=this._def.input?await e6(this._def.input,r,void 0,{callee:t}):r;if(!Array.isArray(n))throw Error("Invalid arguments schema: not an array or tuple schema.");let i=await e(...n);return this._def.output?e6(this._def.output,i,void 0,{callee:t}):i};return t}input(...e){let t=this.constructor;return new t(Array.isArray(e[0])?{type:"function",input:new n5({type:"tuple",items:e[0],rest:e[1]}),output:this._def.output}:{type:"function",input:e[0],output:this._def.output})}output(e){return new this.constructor({type:"function",input:this._def.input,output:e})}}function om(e){return new oh({type:"function",input:Array.isArray(e?.input)?a0(n5,e?.input):e?.input??aH(nY,ag(nJ)),output:e?.output??ag(nJ)})}e.s(["$ZodFunction",0,oh,"function",0,om],523497),e.i(523497),e.i(650215),e.
39i(34966),e.s([],818249);var og=e.i(818249);e.s(["$ZodAny",0,nW,"$ZodArray",0,nY,"$ZodAsyncError",0,ef,"$ZodBase64",0,nT,"$ZodBase64URL",0,nj,"$ZodBigInt",0,nL,"$ZodBigIntFormat",0,nR,"$ZodBoolean",0,nM,"$ZodCIDRv4",0,nO,"$ZodCIDRv6",0,nD,"$ZodCUID",0,nv,"$ZodCUID2",0,n_,"$ZodCatch",0,i_,"$ZodCheck",0,rW,"$ZodCheckBigIntFormat",0,rY,"$ZodCheckEndsWith",0,nt,"$ZodCheckGreaterThan",0,rK,"$ZodCheckIncludes",0,r7,"$ZodCheckLengthEquals",0,r2,"$ZodCheckLessThan",0,rG,"$ZodCheckLowerCase",0,r5,"$ZodCheckMaxLength",0,r4,"$ZodCheckMaxSize",0,rQ,"$ZodCheckMimeType",0,ni,"$ZodCheckMinLength",0,r6,"$ZodCheckMinSize",0,r0,"$ZodCheckMultipleOf",0,rH,"$ZodCheckNumberFormat",0,rX,"$ZodCheckOverwrite",0,na,"$ZodCheckProperty",0,nn,"$ZodCheckRegex",0,r9,"$ZodCheckSizeEquals",0,r1,"$ZodCheckStartsWith",0,ne,"$ZodCheckStringFormat",0,r3,"$ZodCheckUpperCase",0,r8,"$ZodCustom",0,iE,"$ZodCustomStringFormat",0,nZ,"$ZodDate",0,nH,"$ZodDefault",0,id,"$ZodDiscriminatedUnion",0,n2,"$ZodE164",0,nz,"$ZodEmail",0,nf,"$ZodEmoji",0,nm,"$ZodEnum",0,ia,"$ZodError",0,eJ,"$ZodFile",0,is,"$ZodFunction",0,oh,"$ZodGUID",0,nd,"$ZodIPv4",0,nI,"$ZodIPv6",0,nE,"$ZodISODate",0,n$,"$ZodISODateTime",0,nx,"$ZodISODuration",0,nS,"$ZodISOTime",0,nw,"$ZodIntersection",0,n3,"$ZodJWT",0,nN,"$ZodKSUID",0,nk,"$ZodLazy",0,iI,"$ZodLiteral",0,io,"$ZodMap",0,ie,"$ZodNaN",0,iy,"$ZodNanoID",0,ng,"$ZodNever",0,nG,"$ZodNonOptional",0,im,"$ZodNull",0,nV,"$ZodNullable",0,ic,"$ZodNumber",0,nF,"$ZodNumberFormat",0,nU,"$ZodObject",0,n1,"$ZodOptional",0,il,"$ZodPipe",0,ib,"$ZodPrefault",0,ih,"$ZodPromise",0,iS,"$ZodReadonly",0,ix,"$ZodRealError",0,eG,"$ZodRecord",0,n7,"$ZodRegistry",0,ts,"$ZodSet",0,ir,"$ZodString",0,nl,"$ZodStringFormat",0,nc,"$ZodSuccess",0,iv,"$ZodSymbol",0,nB,"$ZodTemplateLiteral",0,iw,"$ZodTransform",0,iu,"$ZodTuple",0,n5,"$ZodType",0,nu,"$ZodULID",0,ny,"$ZodURL",0,nh,"$ZodUUID",0,np,"$ZodUndefined",0,nq,"$ZodUnion",0,n6,"$ZodUnknown",0,nJ,"$ZodVoid",0,nK,"$ZodXID",0,nb,"$brand",0,ep,"$constructor",0,ed,"$input",0,to,"$output",0,ta,"Doc",0,no,"JSONSchema",0,og,"JSONSchemaGenerator",0,tc,"NEVER",0,ec,"TimePrecision",0,i2,"_any",0,am,"_array",0,aH,"_base64",0,i0,"_base64url",0,i1,"_bigint",0,au,"_boolean",0,ao,"_catch",0,oi,"_cidrv4",0,iY,"_cidrv6",0,iQ,"_coercedBigint",0,al,"_coercedBoolean",0,as,"_coercedDate",0,ab,"_coercedNumber",0,ae,"_coercedString",0,iP,"_cuid",0,iV,"_cuid2",0,iW,"_custom",0,oc,"_date",0,ay,"_default",0,ot,"_discriminatedUnion",0,aY,"_e164",0,i4,"_email",0,iN,"_emoji",0,iB,"_endsWith",0,aR,"_enum",0,a2,"_file",0,a5,"_float32",0,ar,"_float64",0,an,"_gt",0,aw,"_gte",0,aS,"_guid",0,iZ,"_includes",0,aM,"_int",0,at,"_int32",0,ai,"_int64",0,ac,"_intersection",0,aQ,"_ipv4",0,iH,"_ipv6",0,iX,"_isoDate",0,i9,"_isoDateTime",0,i3,"_isoDuration",0,i8,"_isoTime",0,i5,"_jwt",0,i6,"_ksuid",0,iK,"_lazy",0,ou,"_length",0,aN,"_literal",0,a9,"_lowercase",0,aF,"_lt",0,ax,"_lte",0,a$,"_map",0,a4,"_max",0,a$,"_maxLength",0,az,"_maxSize",0,aT,"_mime",0,aq,"_min",0,aS,"_minLength",0,aP,"_minSize",0,aC,"_multipleOf",0,aA,"_nan",0,ak,"_nanoid",0,iq,"_nativeEnum",0,a3,"_negative",0,aE,"_never",0,av,"_nonnegative",0,aD,"_nonoptional",0,or,"_nonpositive",0,aO,"_normalize",0,aW,"_null",0,ah,"_nullable",0,oe,"_number",0,i7,"_optional",0,a7,"_overwrite",0,aV,"_parse",0,e0,"_parseAsync",0,e4,"_pipe",0,oa,"_positive",0,aI,"_promise",0,ol,"_property",0,aB,"_readonly",0,oo,"_record",0,a1,"_refine",0,od,"_regex",0,aZ,"_safeParse",0,e2,"_safeParseAsync",0,e9,"_set",0,a6,"_size",0,aj,"_startsWith",0,aL,"_string",0,iz,"_stringFormat",0,of,"_stringbool",0,op,"_success",0,on,"_symbol",0,ap,"_templateLiteral",0,os,"_toLowerCase",0,aG,"_toUpperCase",0,aK,"_transform",0,a8,"_trim",0,aJ,"_tuple",0,a0,"_uint32",0,aa,"_uint64",0,ad,"_ulid",0,iJ,"_undefined",0,af,"_union",0,aX,"_unknown",0,ag,"_uppercase",0,aU,"_url",0,iR,"_uuid",0,iF,"_uuidv4",0,iU,"_uuidv6",0,iM,"_uuidv7",0,iL,"_void",0,a_,"_xid",0,iG,"clone",0,ej,"config",0,em,"flattenError",0,eK,"formatError",0,eH,"function",0,om,"globalConfig",0,eh,"globalRegistry",0,tl,"isValidBase64",0,nA,"isValidBase64URL",0,nC,"isValidJWT",0,nP,"locales",0,ij,"parse",0,e1,"parseAsync",0,e6,"prettifyError",0,eQ,"regexes",0,iA,"registry",0,tu,"safeParse",0,e3,"safeParseAsync",0,e5,"toDotPath",0,eY,"toJSONSchema",0,td,"treeifyError",0,eX,"util",0,iD,"version",0,ns],712717);var ov=e.i(712717);e.s(["ZodAny",()=>sT,"ZodArray",()=>sL,"ZodBase64",()=>se,"ZodBase64URL",()=>sr,"ZodBigInt",()=>sb,"ZodBigIntFormat",()=>sx,"ZodBoolean",()=>s_,"ZodCIDRv4",()=>o9,"ZodCIDRv6",()=>o8,"ZodCUID",()=>oW,"ZodCUID2",()=>oG,"ZodCatch",()=>uk,"ZodCustom",()=>uP,"ZodCustomStringFormat",()=>su,"ZodDate",()=>sU,"ZodDefault",()=>uf,"ZodDiscriminatedUnion",()=>sH,"ZodE164",()=>si,"ZodEmail",()=>oT,"ZodEmoji",()=>oR,"ZodEnum",()=>s7,"ZodFile",()=>ui,"ZodGUID",()=>oj,"ZodIPv4",()=>o4,"ZodIPv6",()=>o2,"ZodIntersection",()=>sY,"ZodJWT",()=>so,"ZodKSUID",()=>o0,"ZodLazy",()=>uT,"ZodLiteral",()=>ur,"ZodMap",()=>s3,"ZodNaN",()=>u$,"ZodNanoID",()=>oq,"ZodNever",()=>sP,"ZodNonOptional",()=>uv,"ZodNull",()=>sD,"ZodNullable",()=>uc,"ZodNumber",()=>sc,"ZodNumberFormat",()=>sp,"ZodObject",()=>sq,"ZodOptional",()=>uu,"ZodPipe",()=>uS,"ZodPrefault",()=>um,"ZodPromise",()=>uj,"ZodReadonly",()=>uE,"ZodRecord",()=>s4,"ZodSet",()=>s5,"ZodString",()=>oO,"ZodStringFormat",()=>oA,"ZodSuccess",()=>uy,"ZodSymbol",()=>sS,"ZodTemplateLiteral",()=>uD,"ZodTransform",()=>uo,"ZodTuple",()=>s0,"ZodType",()=>oI,"ZodULID",()=>oH,"ZodURL",()=>oM,"ZodUUID",()=>oP,"ZodUndefined",()=>sE,"ZodUnion",()=>sG,"ZodUnknown",()=>sj,"ZodVoid",()=>sZ,"ZodXID",()=>oY,"_ZodString",()=>oE,"_default",()=>uh,"any",()=>sC,"array",()=>sR,"base64",()=>st,"base64url",()=>sn,"bigint",()=>sk,"boolean",()=>sy,"catch",()=>ux,"check",()=>uN,"cidrv4",()=>o5,"cidrv6",()=>o7,"cuid",()=>oJ,"cuid2",()=>oK,"custom",()=>uZ,"date",()=>sM,"discriminatedUnion",()=>sX,"e164",()=>sa,"email",()=>oC,"emoji",()=>oB,"enum",()=>ue,"file",()=>ua,"float32",()=>sh,"float64",()=>sm,"guid",()=>oz,"instanceof",()=>uM,"int",()=>sf,"int32",()=>sg,"int64",()=>s$,"intersection",()=>sQ,"ipv4",()=>o6,"ipv6",()=>o3,"json",()=>uR,"jwt",()=>ss,"keyof",()=>sB,"ksuid",()=>o1,"lazy",()=>uC,"literal",()=>un,"looseObject",()=>sJ,"map",()=>s9,"nan",()=>uw,"nanoid",()=>oV,"nativeEnum",()=>ut,"never",()=>sN,"nonoptional",()=>u_,"null",()=>sA,"nullable",()=>ud,"nullish",()=>up,"number",()=>sd,"object",()=>sV,"optional",()=>ul,"partialRecord",()=>s2,"pipe",()=>uI,"prefault",()=>ug,"preprocess",()=>uB,"promise",()=>uz,"readonly",()=>uO,"record",()=>s6,"refine",()=>uF,"set",()=>s8,"strictObject",()=>
39sW,"string",()=>oD,"stringFormat",()=>sl,"stringbool",()=>uL,"success",()=>ub,"superRefine",()=>uU,"symbol",()=>sI,"templateLiteral",()=>uA,"transform",()=>us,"tuple",()=>s1,"uint32",()=>sv,"uint64",()=>sw,"ulid",()=>oX,"undefined",()=>sO,"union",()=>sK,"unknown",()=>sz,"url",()=>oL,"uuid",()=>oN,"uuidv4",()=>oZ,"uuidv6",()=>oF,"uuidv7",()=>oU,"void",()=>sF,"xid",()=>oQ],362201);e.s(["ZodISODate",()=>ob,"ZodISODateTime",()=>o_,"ZodISODuration",()=>ow,"ZodISOTime",()=>ox,"date",()=>ok,"datetime",()=>oy,"duration",()=>oS,"time",()=>o$],49732);let o_=ed("ZodISODateTime",(e,t)=>{nx.init(e,t),oA.init(e,t)});function oy(e){return i3(o_,e)}let ob=ed("ZodISODate",(e,t)=>{n$.init(e,t),oA.init(e,t)});function ok(e){return i9(ob,e)}let ox=ed("ZodISOTime",(e,t)=>{nw.init(e,t),oA.init(e,t)});function o$(e){return i5(ox,e)}let ow=ed("ZodISODuration",(e,t)=>{nS.init(e,t),oA.init(e,t)});function oS(e){return i8(ow,e)}let oI=ed("ZodType",(e,t)=>(nu.init(e,t),e.def=t,Object.defineProperty(e,"_def",{value:t}),e.check=(...r)=>e.clone({...t,checks:[...t.checks??[],...r.map(e=>"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e)]}),e.clone=(t,r)=>ej(e,t,r),e.brand=()=>e,e.register=(t,r)=>(t.add(e,r),e),e.parse=(t,r)=>tt(e,t,r,{callee:e.parse}),e.safeParse=(t,r)=>tn(e,t,r),e.parseAsync=async(t,r)=>tr(e,t,r,{callee:e.parseAsync}),e.safeParseAsync=async(t,r)=>ti(e,t,r),e.spa=e.safeParseAsync,e.refine=(t,r)=>e.check(uF(t,r)),e.superRefine=t=>e.check(uU(t)),e.overwrite=t=>e.check(aV(t)),e.optional=()=>ul(e),e.nullable=()=>ud(e),e.nullish=()=>ul(ud(e)),e.nonoptional=t=>u_(e,t),e.array=()=>sR(e),e.or=t=>sK([e,t]),e.and=t=>sQ(e,t),e.transform=t=>uI(e,us(t)),e.default=t=>uh(e,t),e.prefault=t=>ug(e,t),e.catch=t=>ux(e,t),e.pipe=t=>uI(e,t),e.readonly=()=>uO(e),e.describe=t=>{let r=e.clone();return tl.add(r,{description:t}),r},Object.defineProperty(e,"description",{get:()=>tl.get(e)?.description,configurable:!0}),e.meta=(...t)=>{if(0===t.length)return tl.get(e);let r=e.clone();return tl.add(r,t[0]),r},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),oE=ed("_ZodString",(e,t)=>{nl.init(e,t),oI.init(e,t);let r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...t)=>e.check(aZ(...t)),e.includes=(...t)=>e.check(aM(...t)),e.startsWith=(...t)=>e.check(aL(...t)),e.endsWith=(...t)=>e.check(aR(...t)),e.min=(...t)=>e.check(aP(...t)),e.max=(...t)=>e.check(az(...t)),e.length=(...t)=>e.check(aN(...t)),e.nonempty=(...t)=>e.check(aP(1,...t)),e.lowercase=t=>e.check(aF(t)),e.uppercase=t=>e.check(aU(t)),e.trim=()=>e.check(aJ()),e.normalize=(...t)=>e.check(aW(...t)),e.toLowerCase=()=>e.check(aG()),e.toUpperCase=()=>e.check(aK())}),oO=ed("ZodString",(e,t)=>{nl.init(e,t),oE.init(e,t),e.email=t=>e.check(iN(oT,t)),e.url=t=>e.check(iR(oM,t)),e.jwt=t=>e.check(i6(so,t)),e.emoji=t=>e.check(iB(oR,t)),e.guid=t=>e.check(iZ(oj,t)),e.uuid=t=>e.check(iF(oP,t)),e.uuidv4=t=>e.check(iU(oP,t)),e.uuidv6=t=>e.check(iM(oP,t)),e.uuidv7=t=>e.check(iL(oP,t)),e.nanoid=t=>e.check(iq(oq,t)),e.guid=t=>e.check(iZ(oj,t)),e.cuid=t=>e.check(iV(oW,t)),e.cuid2=t=>e.check(iW(oG,t)),e.ulid=t=>e.check(iJ(oH,t)),e.base64=t=>e.check(i0(se,t)),e.base64url=t=>e.check(i1(sr,t)),e.xid=t=>e.check(iG(oY,t)),e.ksuid=t=>e.check(iK(o0,t)),e.ipv4=t=>e.check(iH(o4,t)),e.ipv6=t=>e.check(iX(o2,t)),e.cidrv4=t=>e.check(iY(o9,t)),e.cidrv6=t=>e.check(iQ(o8,t)),e.e164=t=>e.check(i4(si,t)),e.datetime=t=>e.check(oy(t)),e.date=t=>e.check(ok(t)),e.time=t=>e.check(o$(t)),e.duration=t=>e.check(oS(t))});function oD(e){return iz(oO,e)}let oA=ed("ZodStringFormat",(e,t)=>{nc.init(e,t),oE.init(e,t)}),oT=ed("ZodEmail",(e,t)=>{nf.init(e,t),oA.init(e,t)});function oC(e){return iN(oT,e)}
39let oj=ed("ZodGUID",(e,t)=>{nd.init(e,t),oA.init(e,t)});function oz(e){return iZ(oj,e)}let oP=ed("ZodUUID",(e,t)=>{np.init(e,t),oA.init(e,t)});function oN(e){return iF(oP,e)}function oZ(e){return iU(oP,e)}function oF(e){return iM(oP,e)}function oU(e){return iL(oP,e)}let oM=ed("ZodURL",(e,t)=>{nh.init(e,t),oA.init(e,t)});function oL(e){return iR(oM,e)}let oR=ed("ZodEmoji",(e,t)=>{nm.init(e,t),oA.init(e,t)});function oB(e){return iB(oR,e)}let oq=ed("ZodNanoID",(e,t)=>{ng.init(e,t),oA.init(e,t)});function oV(e){return iq(oq,e)}let oW=ed("ZodCUID",(e,t)=>{nv.init(e,t),oA.init(e,t)});function oJ(e){return iV(oW,e)}let oG=ed("ZodCUID2",(e,t)=>{n_.init(e,t),oA.init(e,t)});function oK(e){return iW(oG,e)}let oH=ed("ZodULID",(e,t)=>{ny.init(e,t),oA.init(e,t)});function oX(e){return iJ(oH,e)}let oY=ed("ZodXID",(e,t)=>{nb.init(e,t),oA.init(e,t)});function oQ(e){return iG(oY,e)}let o0=ed("ZodKSUID",(e,t)=>{nk.init(e,t),oA.init(e,t)});function o1(e){return iK(o0,e)}let o4=ed("ZodIPv4",(e,t)=>{nI.init(e,t),oA.init(e,t)});function o6(e){return iH(o4,e)}let o2=ed("ZodIPv6",(e,t)=>{nE.init(e,t),oA.init(e,t)});function o3(e){return iX(o2,e)}let o9=ed("ZodCIDRv4",(e,t)=>{nO.init(e,t),oA.init(e,t)});function o5(e){return iY(o9,e)}let o8=ed("ZodCIDRv6",(e,t)=>{nD.init(e,t),oA.init(e,t)});function o7(e){return iQ(o8,e)}let se=ed("ZodBase64",(e,t)=>{nT.init(e,t),oA.init(e,t)});function st(e){return i0(se,e)}let sr=ed("ZodBase64URL",(e,t)=>{nj.init(e,t),oA.init(e,t)});function sn(e){return i1(sr,e)}let si=ed("ZodE164",(e,t)=>{nz.init(e,t),oA.init(e,t)});function sa(e){return i4(si,e)}let so=ed("ZodJWT",(e,t)=>{nN.init(e,t),oA.init(e,t)});function ss(e){return i6(so,e)}let su=ed("ZodCustomStringFormat",(e,t)=>{nZ.init(e,t),oA.init(e,t)});function sl(e,t,r={}){return of(su,e,t,r)}let sc=ed("ZodNumber",(e,t)=>{nF.init(e,t),oI.init(e,t),e.gt=(t,r)=>e.check(aw(t,r)),e.gte=(t,r)=>e.check(aS(t,r)),e.min=(t,r)=>e.check(aS(t,r)),e.lt=(t,r)=>e.check(ax(t,r)),e.lte=(t,r)=>e.check(a$(t,r)),e.max=(t,r)=>e.check(a$(t,r)),e.int=t=>e.check(sf(t)),e.safe=t=>e.check(sf(t)),e.positive=t=>e.check(aw(0,t)),e.nonnegative=t=>e.check(aS(0,t)),e.negative=t=>e.check(ax(0,t)),e.nonpositive=t=>e.check(a$(0,t)),e.multipleOf=(t,r)=>e.check(aA(t,r)),e.step=(t,r)=>e.check(aA(t,r)),e.finite=()=>e;let r=e._zod.bag;e.minValue=Math.max(r.minimum??-1/0,r.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(r.maximum??1/0,r.exclusiveMaximum??1/0)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function sd(e){return i7(sc,e)}let sp=ed("ZodNumberFormat",(e,t)=>{nU.init(e,t),sc.init(e,t)});function sf(e){return at(sp,e)}function sh(e){return ar(sp,e)}function sm(e){return an(sp,e)}function sg(e){return ai(sp,e)}function sv(e){return aa(sp,e)}let s_=ed("ZodBoolean",(e,t)=>{nM.init(e,t),oI.init(e,t)});function sy(e){return ao(s_,e)}let sb=ed("ZodBigInt",(e,t)=>{nL.init(e,t),oI.init(e,t),e.gte=(t,r)=>e.check(aS(t,r)),e.min=(t,r)=>e.check(aS(t,r)),e.gt=(t,r)=>e.check(aw(t,r)),e.gte=(t,r)=>e.check(aS(t,r)),e.min=(t,r)=>e.check(aS(t,r)),e.lt=(t,r)=>e.check(ax(t,r)),e.lte=(t,r)=>e.check(a$(t,r)),e.max=(t,r)=>e.check(a$(t,r)),e.positive=t=>e.check(aw(BigInt(0),t)),e.negative=t=>e.check(ax(BigInt(0),t)),e.nonpositive=t=>e.check(a$(BigInt(0),t)),e.nonnegative=t=>e.check(aS(BigInt(0),t)),e.multipleOf=(t,r)=>e.check(aA(t,r));let r=e._zod.bag;e.minValue=r.minimum??null,e.maxValue=r.maximum??null,e.format=r.format??null});function sk(e){return au(sb,e)}let sx=ed("ZodBigIntFormat",(e,t)=>{nR.init(e,t),sb.init(e,t)});function s$(e){return ac(sx,e)}function sw(e){return ad(sx,e)}let sS=ed("ZodSymbol",(e,t)=>{nB.init(e,t),oI.init(e,t)});function sI(e){return ap(sS,e)}let sE=ed("ZodUndefined",(e,t)=>{nq.init(e,t),oI.init(e,t)});function sO(e){return af(sE,e)}let sD=ed("ZodNull",(e,t)=>{nV.init(e,t),oI.init(e,t)});function sA(e){return ah(sD,e)}let sT=ed("ZodAny",(e,t)=>{nW.init(e,t),oI.init(e,t)});function sC(){return am(sT)}let sj=ed("ZodUnknown",(e,t)=>{nJ.init(e,t),oI.init(e,t)});function sz(){return ag(sj)}let sP=ed("ZodNever",(e,t)=>{nG.init(e,t),oI.init(e,t)});function sN(e){return av(sP,e)}let sZ=ed("ZodVoid",(e,t)=>{nK.init(e,t),oI.init(e,t)});function sF(e){return a_(sZ,e)}let sU=ed("ZodDate",(e,t)=>{nH.init(e,t),oI.init(e,t),e.min=(t,r)=>e.check(aS(t,r)),e.max=(t,r)=>e.check(a$(t,r));let r=e._zod.bag;e.minDate=r.minimum?new Date(r.minimum):null,e.maxDate=r.maximum?new Date(r.maximum):null});function sM(e){return ay(sU,e)}let sL=ed("ZodArray",(e,t)=>{nY.init(e,t),oI.init(e,t),e.element=t.element,e.min=(t,r)=>e.check(aP(t,r)),e.nonempty=t=>e.check(aP(1,t)),e.max=(t,r)=>e.check(az(t,r)),e.length=(t,r)=>e.check(aN(t,r)),e.unwrap=()=>e.element});function sR(e,t){return aH(sL,e,t)}function sB(e){return un(Object.keys(e._zod.def.shape))}let sq=ed("ZodObject",(e,t)=>{n1.init(e,t),oI.init(e,t),iD.defineLazy(e,"shape",()=>t.shape),e.keyof=()=>ue(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>
39e.clone({...e._zod.def,catchall:sz()}),e.loose=()=>e.clone({...e._zod.def,catchall:sz()}),e.strict=()=>e.clone({...e._zod.def,catchall:sN()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>iD.extend(e,t),e.merge=t=>iD.merge(e,t),e.pick=t=>iD.pick(e,t),e.omit=t=>iD.omit(e,t),e.partial=(...t)=>iD.partial(uu,e,t[0]),e.required=(...t)=>iD.required(uv,e,t[0])});function sV(e,t){return new sq({type:"object",get shape(){return iD.assignProp(this,"shape",{...e}),this.shape},...iD.normalizeParams(t)})}function sW(e,t){return new sq({type:"object",get shape(){return iD.assignProp(this,"shape",{...e}),this.shape},catchall:sN(),...iD.normalizeParams(t)})}function sJ(e,t){return new sq({type:"object",get shape(){return iD.assignProp(this,"shape",{...e}),this.shape},catchall:sz(),...iD.normalizeParams(t)})}let sG=ed("ZodUnion",(e,t)=>{n6.init(e,t),oI.init(e,t),e.options=t.options});function sK(e,t){return new sG({type:"union",options:e,...iD.normalizeParams(t)})}let sH=ed("ZodDiscriminatedUnion",(e,t)=>{sG.init(e,t),n2.init(e,t)});function sX(e,t,r){return new sH({type:"union",options:t,discriminator:e,...iD.normalizeParams(r)})}let sY=ed("ZodIntersection",(e,t)=>{n3.init(e,t),oI.init(e,t)});function sQ(e,t){return new sY({type:"intersection",left:e,right:t})}let s0=ed("ZodTuple",(e,t)=>{n5.init(e,t),oI.init(e,t),e.rest=t=>e.clone({...e._zod.def,rest:t})});function s1(e,t,r){let n=t instanceof nu,i=n?r:t;return new s0({type:"tuple",items:e,rest:n?t:null,...iD.normalizeParams(i)})}let s4=ed("ZodRecord",(e,t)=>{n7.init(e,t),oI.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});function s6(e,t,r){return new s4({type:"record",keyType:e,valueType:t,...iD.normalizeParams(r)})}function s2(e,t,r){return new s4({type:"record",keyType:sK([e,sN()]),valueType:t,...iD.normalizeParams(r)})}let s3=ed("ZodMap",(e,t)=>{ie.init(e,t),oI.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});function s9(e,t,r){return new s3({type:"map",keyType:e,valueType:t,...iD.normalizeParams(r)})}let s5=ed("ZodSet",(e,t)=>{ir.init(e,t),oI.init(e,t),e.min=(...t)=>e.check(aC(...t)),e.nonempty=t=>e.check(aC(1,t)),e.max=(...t)=>e.check(aT(...t)),e.size=(...t)=>e.check(aj(...t))});function s8(e,t){return new s5({type:"set",valueType:e,...iD.normalizeParams(t)})}let s7=ed("ZodEnum",(e,t)=>{ia.init(e,t),oI.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);let r=new Set(Object.keys(t.entries));e.extract=(e,n)=>{let i={};for(let n of e)if(r.has(n))i[n]=t.entries[n];else throw Error(`Key ${n} not found in enum`);return new s7({...t,checks:[],...iD.normalizeParams(n),entries:i})},e.exclude=(e,n)=>{let i={...t.entries};for(let t of e)if(r.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new s7({...t,checks:[],...iD.normalizeParams(n),entries:i})}});function ue(e,t){return new s7({type:"enum",entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...iD.normalizeParams(t)})}function ut(e,t){return new s7({type:"enum",entries:e,...iD.normalizeParams(t)})}let ur=ed("ZodLiteral",(e,t)=>{io.init(e,t),oI.init(e,t),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if
39(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function un(e,t){return new ur({type:"literal",values:Array.isArray(e)?e:[e],...iD.normalizeParams(t)})}let ui=ed("ZodFile",(e,t)=>{is.init(e,t),oI.init(e,t),e.min=(t,r)=>e.check(aC(t,r)),e.max=(t,r)=>e.check(aT(t,r)),e.mime=(t,r)=>e.check(aq(Array.isArray(t)?t:[t],r))});function ua(e){return a5(ui,e)}let uo=ed("ZodTransform",(e,t)=>{iu.init(e,t),oI.init(e,t),e._zod.parse=(r,n)=>{r.addIssue=n=>{"string"==typeof n?r.issues.push(iD.issue(n,r.value,t)):(n.fatal&&(n.continue=!1),n.code??(n.code="custom"),n.input??(n.input=r.value),n.inst??(n.inst=e),n.continue??(n.continue=!0),r.issues.push(iD.issue(n)))};let i=t.transform(r.value,r);return i instanceof Promise?i.then(e=>(r.value=e,r)):(r.value=i,r)}});function us(e){return new uo({type:"transform",transform:e})}let uu=ed("ZodOptional",(e,t)=>{il.init(e,t),oI.init(e,t),e.unwrap=()=>e._zod.def.innerType});function ul(e){return new uu({type:"optional",innerType:e})}let uc=ed("ZodNullable",(e,t)=>{ic.init(e,t),oI.init(e,t),e.unwrap=()=>e._zod.def.innerType});function ud(e){return new uc({type:"nullable",innerType:e})}function up(e){return ul(ud(e))}let uf=ed("ZodDefault",(e,t)=>{id.init(e,t),oI.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function uh(e,t){return new uf({type:"default",innerType:e,get defaultValue(){return"function"==typeof t?t():t}})}let um=ed("ZodPrefault",(e,t)=>{ih.init(e,t),oI.init(e,t),e.unwrap=()=>e._zod.def.innerType});function ug(e,t){return new um({type:"prefault",innerType:e,get defaultValue(){return"function"==typeof t?t():t}})}let uv=ed("ZodNonOptional",(e,t)=>{im.init(e,t),oI.init(e,t),e.unwrap=()=>e._zod.def.innerType});function u_(e,t){return new uv({type:"nonoptional",innerType:e,...iD.normalizeParams(t)})}let uy=ed("ZodSuccess",(e,t)=>{iv.init(e,t),oI.init(e,t),e.unwrap=()=>e._zod.def.innerType});function ub(e){return new uy({type:"success",innerType:e})}let uk=ed("ZodCatch",(e,t)=>{i_.init(e,t),oI.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function ux(e,t){return new uk({type:"catch",innerType:e,catchValue:"function"==typeof t?t:()=>t})}let u$=ed("ZodNaN",(e,t)=>{iy.init(e,t),oI.init(e,t)});function uw(e){return ak(u$,e)}let uS=ed("ZodPipe",(e,t)=>{ib.init(e,t),oI.init(e,t),e.in=t.in,e.out=t.out});function uI(e,t){return new uS({type:"pipe",in:e,out:t})}let uE=ed("ZodReadonly",(e,t)=>{ix.init(e,t),oI.init(e,t)});function uO(e){return new uE({type:"readonly",innerType:e})}let uD=ed("ZodTemplateLiteral",(e,t)=>{iw.init(e,t),oI.init(e,t)});function uA(e,t){return new uD({type:"template_literal",parts:e,...iD.normalizeParams(t)})}let uT=ed("ZodLazy",(e,t)=>{iI.init(e,t),oI.init(e,t),e.unwrap=()=>e._zod.def.getter()});function uC(e){return new uT({type:"lazy",getter:e})}let uj=ed("ZodPromise",(e,t)=>{iS.init(e,t),oI.init(e,t),e.unwrap=()=>e._zod.def.innerType});function uz(e){return new uj({type:"promise",innerType:e})}let uP=ed("ZodCustom",(e,t)=>{iE.init(e,t),oI.init(e,t)});function uN(e){let t=new rW({check:"custom"});return t._zod.check=e,t}function uZ(e,t){return oc(uP,e??(()=>!0),t)}function uF(e,t={}){return od(uP,e,t)}function uU(e){let t=uN(r=>(r.addIssue=e=>{"string"==typeof e?r.issues.push(iD.issue(e,r.value,t._zod.def)):(e.fatal&&(e.continue=!1),e.code??(e.code="custom"),e.input??(e.input=r.value),e.inst??(e.inst=t),e.continue??(e.continue=!t._zod.def.abort),r.issues.push(iD.issue(e)))},e(r.value,r)));return t}function uM(e,t={error:`Input not instance of ${e.name}`}){let r=new uP({type:"custom",check:"custom",fn:t=>t instanceof e,abort:!0,...iD.normalizeParams(t)});return r._zod.bag.Class=e,r}let uL=(...e)=>op({Pipe:uS,Boolean:s_,String:oO,Transform:uo},...e);function uR(e){let t=uC(()=>sK([oD(e),sd(),sy(),sA(),sR(t),s6(oD(),t)]));return t}function uB(e,t){return uI(us(e),t)}e.i(362201),e.s([],342332),e.i(342332),e.s(["endsWith",0,aR,"gt",0,aw,"gte",0,aS,"includes",0,aM,"length",0,aN,"lowercase",0,aF,"lt",0,ax,"lte",0,a$,"maxLength",0,az,"maxSize",0,aT,"mime",0,aq,"minLength",0,aP,"minSize",0,aC,"multipleOf",0,aA,"negative",0,aE,"nonnegative",0,aD,"nonpositive",0,aO,"normalize",0,aW,"overwrite",0,aV,"positive",0,aI,"property",0,aB,"regex",0,aZ,"size",0,aj,"startsWith",0,aL,"toLowerCase",0,aG,"toUpperCase",0,aK,"trim",0,aJ,"uppercase",0,aU],430421),e.i(430421),e.i(789282),e.i(100364);
39let uq={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function uV(e){em({customError:e})}function uW(){return em().customError}e.s(["ZodIssueCode",0,uq,"getErrorMap",0,uW,"setErrorMap",0,uV],306034),e.i(306034),e.s(["$brand",0,ep,"ZodIssueCode",0,uq,"config",0,em,"getErrorMap",0,uW,"setErrorMap",0,uV],458829),e.i(458829);var uJ=e.i(49732);e.s(["bigint",0,function(e){return al(sb,e)},"boolean",0,function(e){return as(s_,e)},"date",0,function(e){return ab(sU,e)},"number",0,function(e){return ae(sc,e)},"string",0,function(e){return iP(oO,e)}],313657);var uG=e.i(313657);e.s(["$brand",0,ep,"$input",0,to,"$output",0,ta,"NEVER",0,ec,"TimePrecision",0,i2,"ZodAny",0,sT,"ZodArray",0,sL,"ZodBase64",0,se,"ZodBase64URL",0,sr,"ZodBigInt",0,sb,"ZodBigIntFormat",0,sx,"ZodBoolean",0,s_,"ZodCIDRv4",0,o9,"ZodCIDRv6",0,o8,"ZodCUID",0,oW,"ZodCUID2",0,oG,"ZodCatch",0,uk,"ZodCustom",0,uP,"ZodCustomStringFormat",0,su,"ZodDate",0,sU,"ZodDefault",0,uf,"ZodDiscriminatedUnion",0,sH,"ZodE164",0,si,"ZodEmail",0,oT,"ZodEmoji",0,oR,"ZodEnum",0,s7,"ZodError",0,e7,"ZodFile",0,ui,"ZodGUID",0,oj,"ZodIPv4",0,o4,"ZodIPv6",0,o2,"ZodISODate",0,ob,"ZodISODateTime",0,o_,"ZodISODuration",0,ow,"ZodISOTime",0,ox,"ZodIntersection",0,sY,"ZodIssueCode",0,uq,"ZodJWT",0,so,"ZodKSUID",0,o0,"ZodLazy",0,uT,"ZodLiteral",0,ur,"ZodMap",0,s3,"ZodNaN",0,u$,"ZodNanoID",0,oq,"ZodNever",0,sP,"ZodNonOptional",0,uv,"ZodNull",0,sD,"ZodNullable",0,uc,"ZodNumber",0,sc,"ZodNumberFormat",0,sp,"ZodObject",0,sq,"ZodOptional",0,uu,"ZodPipe",0,uS,"ZodPrefault",0,um,"ZodPromise",0,uj,"ZodReadonly",0,uE,"ZodRealError",0,te,"ZodRecord",0,s4,"ZodSet",0,s5,"ZodString",0,oO,"ZodStringFormat",0,oA,"ZodSuccess",0,uy,"ZodSymbol",0,sS,"ZodTemplateLiteral",0,uD,"ZodTransform",0,uo,"ZodTuple",0,s0,"ZodType",0,oI,"ZodULID",0,oH,"ZodURL",0,oM,"ZodUUID",0,oP,"ZodUndefined",0,sE,"ZodUnion",0,sG,"ZodUnknown",0,sj,"ZodVoid",0,sZ,"ZodXID",0,oY,"_ZodString",0,oE,"_default",0,uh,"any",0,sC,"array",0,sR,"base64",0,st,"base64url",0,sn,"bigint",0,sk,"boolean",0,sy,"catch",0,ux,"check",0,uN,"cidrv4",0,o5,"cidrv6",0,o7,"clone",0,ej,"coerce",0,uG,"config",0,em,"core",0,ov,"cuid",0,oJ,"cuid2",0,oK,"custom",0,uZ,"date",0,sM,"discriminatedUnion",0,sX,"e164",0,sa,"email",0,oC,"emoji",0,oB,"endsWith",0,aR,"enum",0,ue,"file",0,ua,"flattenError",0,eK,"float32",0,sh,"float64",0,sm,"formatError",0,eH,"function",0,om,"getErrorMap",0,uW,"globalRegistry",0,tl,"gt",0,aw,"gte",0,aS,"guid",0,oz,"includes",0,aM,"instanceof",0,uM,"int",0,sf,"int32",0,sg,"int64",0,s$,"intersection",0,sQ,"ipv4",0,o6,"ipv6",0,o3,"iso",0,uJ,"json",0,uR,"jwt",0,ss,"keyof",0,sB,"ksuid",0,o1,"lazy",0,uC,"length",0,aN,"literal",0,un,"locales",0,ij,"looseObject",0,sJ,"lowercase",0,aF,"lt",0,ax,"lte",0,a$,"map",0,s9,"maxLength",0,az,"maxSize",0,aT,"mime",0,aq,"minLength",0,aP,"minSize",0,aC,"multipleOf",0,aA,"nan",0,uw,"nanoid",0,oV,"nativeEnum",0,ut,"negative",0,aE,"never",0,sN,"nonnegative",0,aD,"nonoptional",0,u_,"nonpositive",0,aO,"normalize",0,aW,"null",0,sA,"nullable",0,ud,"nullish",0,up,"number",0,sd,"object",0,sV,"optional",0,ul,"overwrite",0,aV,"parse",0,tt,"parseAsync",0,tr,"partialRecord",0,s2,"pipe",0,uI,"positive",0,aI,"prefault",0,ug,"preprocess",0,uB,"prettifyError",0,eQ,"promise",0,uz,"property",0,aB,"readonly",0,uO,"record",0,s6,"refine",0,uF,"regex",0,aZ,"regexes",()=>iA,"registry",0,tu,"safeParse",0,tn,"safeParseAsync",0,ti,"set",0,s8,"setErrorMap",0,uV,"size",0,aj,"startsWith",0,aL,"strictObject",0,sW,"string",0,oD,"stringFormat",0,sl,"stringbool",0,uL,"success",0,ub,"superRefine",0,uU,"symbol",0,sI,"templateLiteral",0,uA,"toJSONSchema",0,td,"toLowerCase",0,aG,"toUpperCase",0,aK,"transform",0,us,"treeifyError",0,eX,"trim",0,aJ,"tuple",0,s1,"uint32",0,sv,"uint64",0,sw,"ulid",0,oX,"undefined",0,sO,"union",0,sK,"unknown",0,sz,"uppercase",0,aU,"url",0,oL,"uuid",0,oN,"uuidv4",0,oZ,"uuidv6",0,oF,"uuidv7",0,oU,"void",0,sF,"xid",0,oQ],722219);var uK=e.i(722219),uK=uK,uH=e.i(725150),uX=Symbol.for("vercel.ai.gateway.error"),uY=class e extends(p=Error,d=uX,p){constructor({message:e,statusCode:t=500,cause:r}){super(e),this[d]=!0,this.statusCode=t,this.cause=r}static isInstance(t){return e.hasMarker(t)}static hasMarker(e){return"object"==typeof e&&null!==e&&uX in e&&!0===e[uX]}},uQ="GatewayAuthenticationError",u0=Symbol.for(`vercel.ai.gateway.error.${uQ}`),u1=class e extends(h=uY,f=u0,h){constructor({message:e="Authentication failed",statusCode:t=401,cause:r}={}){super({message:e,statusCode:t,cause:r}),this[f]=!0,this.name=uQ,this.type="authentication_error"}static isInstance(e){return uY.hasMarker(e)&&u0 in e}static createContextualError({apiKeyProvided:t,oidcTokenProvided:r,message:n="Authentication failed",statusCode:i=401,cause:a}){return new e({message:t?`AI Gateway authentication failed: Invalid API key.
40
41Create a new API key: https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fai%2Fapi-keys
42
43Provide via 'apiKey' option or 'AI_GATEWAY_API_KEY' environment variable.`:r?`AI Gateway authentication failed: Invalid OIDC token.
44
45Run 'npx vercel link' to link your project, then 'vc env pull' to fetch the token.
46
47Alternatively, use an API key: https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fai%2Fapi-keys`:`AI Gateway authentication failed: No authentication provided.
48
49Option 1 - API key:
50Create an API key: https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fai%2Fapi-keys
51Provide via 'apiKey' option or 'AI_GATEWAY_API_KEY' environment variable.
52
53Option 2 - OIDC token:
54Run 'npx vercel link' to link your project, then 'vc env pull' to fetch the token.`,statusCode:i,cause:a})}},u4="GatewayInvalidRequestError",u6=Symbol.for(`vercel.ai.gateway.error.${u4}`),u2=class extends(g=uY,m=u6,g){constructor({message:e="Invalid request",statusCode:t=400,cause:r}={}){super({message:e,statusCode:t,cause:r}),this[m]=!0,this.name=u4,this.type="invalid_request_error"}static isInstance(e){return uY.hasMarker(e)&&u6 in e}},u3="GatewayRateLimitError",u9=Symbol.for(`vercel.ai.gateway.error.${u3}`),u5=class extends(_=uY,v=u9,_){constructor({message:e="Rate limit exceeded",statusCode:t=429,cause:r}={}){super({message:e,statusCode:t,cause:r}),this[v]=!0,this.name=u3,this.type="rate_limit_exceeded"}static isInstance(e){return uY.hasMarker(e)&&u9 in e}},u8="GatewayModelNotFoundError",u7=Symbol.for(`vercel.ai.gateway.error.${u8}`),le=tD(()=>rn(uK.object({modelId:uK.string()}))),lt=class extends(b=uY,y=u7,b){constructor({message:e="Model not found",statusCode:t=404,modelId:r,cause:n}={}){super({message:e,statusCode:t,cause:n}),this[y]=!0,this.name=u8,this.type="model_not_found",this.modelId=r}static isInstance(e){return uY.hasMarker(e)&&u7 in e}},lr="GatewayInternalServerError",ln=Symbol.for(`vercel.ai.gateway.error.${lr}`),li=class extends(x=uY,k=ln,x){constructor({message:e="Internal server error",statusCode:t=500,cause:r}={}){super({message:e,statusCode:t,cause:r}),this[k]=!0,this.name=lr,this.type="internal_server_error"}static isInstance(e){return uY.hasMarker(e)&&ln in e}},la="GatewayResponseError",lo=Symbol.for(`vercel.ai.gateway.error.${la}`),ls=class extends(w=uY,$=lo,w){constructor({message:e="Invalid response from Gateway",statusCode:t=502,response:r,validationError:n,cause:i}={}){super({message:e,statusCode:t,cause:i}),this[$]=!0,this.name=la,this.type="response_error",this.response=r,this.validationError=n}static isInstance(e){return uY.hasMarker(e)&&lo in e}};async function lu({response:e,statusCode:t,defaultMessage:r="Gateway request failed",cause:n,authMethod:i}){let a=await tT({value:e,schema:ll});if(!a.success)return new ls({message:`Invalid error response format: ${r}`,statusCode:t,response:e,validationError:a.error,cause:n});let o=a.value,s=o.error.type,u=o.error.message;switch(s){case"authentication_error":return u1.createContextualError({apiKeyProvided:"api-key"===i,oidcTokenProvided:"oidc"===i,statusCode:t,cause:n});
54case"invalid_request_error":return new u2({message:u,statusCode:t,cause:n});case"rate_limit_exceeded":return new u5({message:u,statusCode:t,cause:n});case"model_not_found":{let e=await tT({value:o.error.param,schema:le});return new lt({message:u,statusCode:t,modelId:e.success?e.value.modelId:void 0,cause:n})}default:return new li({message:u,statusCode:t,cause:n})}}var ll=tD(()=>rn(uK.object({error:uK.object({message:uK.string(),type:uK.string().nullish(),param:uK.unknown().nullish(),code:uK.union([uK.string(),uK.number()]).nullish()})})));function lc(e,t){var r;return uY.isInstance(e)?e:F.isInstance(e)?lu({response:function(e){if(void 0!==e.data)return e.data;if(null!=e.responseBody)try{return JSON.parse(e.responseBody)}catch(t){return e.responseBody}return{}}(e),statusCode:null!=(r=e.statusCode)?r:500,defaultMessage:"Gateway request failed",cause:e,authMethod:t}):lu({response:{},statusCode:500,defaultMessage:e instanceof Error?`Gateway request failed: ${e.message}`:"Unknown Gateway error",cause:e,authMethod:t})}var ld="ai-gateway-auth-method";async function lp(e){let t=await tT({value:e[ld],schema:lf});return t.success?t.value:void 0}var lf=tD(()=>rn(uK.union([uK.literal("api-key"),uK.literal("oidc")]))),lh=class{constructor(e){this.config=e}async getAvailableModels(){try{let{value:e}=await t$({url:`${this.config.baseURL}/config`,headers:await tF(this.config.headers()),successfulResponseHandler:tM(lm),failedResponseHandler:tU({errorSchema:uK.any(),errorToMessage:e=>e}),fetch:this.config.fetch});return e}catch(e){throw await lc(e)}}async getCredits(){try{let e=new URL(this.config.baseURL),{value:t}=await t$({url:`${e.origin}/v1/credits`,headers:await tF(this.config.headers()),successfulResponseHandler:tM(lg),failedResponseHandler:tU({errorSchema:uK.any(),errorToMessage:e=>e}),fetch:this.config.fetch});return t}catch(e){throw await lc(e)}}},lm=tD(()=>rn(uK.object({models:uK.array(uK.object({id:uK.string(),name:uK.string(),description:uK.string().nullish(),pricing:uK.object({input:uK.string(),output:uK.string(),input_cache_read:uK.string().nullish(),input_cache_write:uK.string().nullish()}).transform(({input:e,output:t,input_cache_read:r,input_cache_write:n})=>({input:e,output:t,...r?{cachedInputTokens:r}:{},...n?{cacheCreationInputTokens:n}:{}})).nullish(),specification:uK.object({specificationVersion:uK.literal("v2"),provider:uK.string(),modelId:uK.string()}),modelType:uK.enum(["language","embedding","image"]).nullish()}))}))),lg=tD(()=>rn(uK.object({balance:uK.string(),total_used:uK.string()}).transform(({balance:e,total_used:t})=>({balance:e,totalUsed:t})))),lv=class{constructor(e,t){this.modelId=e,this.config=t,this.specificationVersion="v2",this.supportedUrls={"*/*":[/.*/]}}get provider(){return this.config.provider}async getArgs(e){let{abortSignal:t,...r}=e;return{args:this.maybeEncodeFileParts(r),warnings:[]}}async doGenerate(e){let{args:t,warnings:r}=await this.getArgs(e),{abortSignal:n}=e,i=await tF(this.config.headers());try{let{responseHeaders:a,value:o,rawValue:s}=await tN({url:this.getUrl(),headers:tf(i,e.headers,this.getModelConfigHeaders(this.modelId,!1),await tF(this.config.o11yHeaders)),body:t,successfulResponseHandler:tM(uK.any()),failedResponseHandler:tU({errorSchema:uK.any(),errorToMessage:e=>e}),...n&&{abortSignal:n},fetch:this.config.fetch});return{...o,request:{body:t},response:{headers:a,body:s},warnings:r}}catch(e){throw await lc(e,await lp(i))}}async doStream(e){let{args:t,warnings:r}=await this.getArgs(e),{abortSignal:n}=e,i=await tF(this.config.headers());try{let a,{value:o,responseHeaders:s}=await tN({url:this.getUrl(),headers:tf(i,e.headers,this.getModelConfigHeaders(this.modelId,!0),await tF(this.config.o11yHeaders)),body:t,successfulResponseHandler:(a=uK.any(),async({response:e})=>{let t=th(e);if(null==e.body)throw new R({});return{responseHeaders:t,value:tz({stream:e.body,schema:a})}}),failedResponseHandler:tU({errorSchema:uK.any(),errorToMessage:e=>e}),...n&&{abortSignal:n},fetch:this.config.fetch});return{stream:o.pipeThrough(new TransformStream({start(e){r.length>0&&e.enqueue({type:"stream-start",warnings:r})},transform(t,r){if(t.success){let n=t.value;("raw"!==n.type||e.includeRawChunks)&&("response-metadata"===n.type&&n.timestamp&&"string"==typeof n.timestamp&&(n.timestamp=new Date(n.timestamp)),r.enqueue(n))}else r.error(t.error)}})),request:{body:t},response:{headers:s}}}catch(e){throw await lc(e,await lp(i))}}isFilePart(e){return e&&"object"==typeof e&&"type"in e&&"file"===e.type}maybeEncodeFileParts(e){for(let t of e.prompt)for(let e of t.content)if(this.isFilePart(e)&&e.data instanceof Uint8Array){let t=Uint8Array.from(e.data),r=A.Buffer.from(t).toString("base64");e.data=new URL(`data:${e.mediaType||"application/octet-stream"};base64,${r}`)}return e}getUrl(){return`${this.config.baseURL}/language-model`}getModelConfigHeaders(e,t){return{"ai-language-model-specification-version":"2","ai-language-model-id":e,"ai-language-model-streaming":String(t)}}},l_=class{constructor(e,t){this.modelId=e,this.config=t,this.specificationVersion="v2",this.maxEmbeddingsPerCall=2048,this.supportsParallelCalls=!0}get provider(){return this.config.provider}async doEmbed({values:e,headers:t,abortSignal:r,providerOptions:n}){var i;let a=await tF(this.config.headers());try{let{responseHeaders:o,value:s,rawValue:u}=await tN({url:this.getUrl(),headers:tf(a,null!=t?t:{},this.getModelConfigHeaders(),await tF(this.config.o11yHeaders)),body:{input:1===e.length?e[0]:e,...n?{providerOptions:n}:{}},successfulResponseHandler:tM(ly),failedResponseHandler:tU({errorSchema:uK.any(),errorToMessage:e=>e}
54),...r&&{abortSignal:r},fetch:this.config.fetch});return{embeddings:s.embeddings,usage:null!=(i=s.usage)?i:void 0,providerMetadata:s.providerMetadata,response:{headers:o,body:u}}}catch(e){throw await lc(e,await lp(a))}}getUrl(){return`${this.config.baseURL}/embedding-model`}getModelConfigHeaders(){return{"ai-embedding-model-specification-version":"2","ai-model-id":this.modelId}}},ly=tD(()=>rn(uK.object({embeddings:uK.array(uK.array(uK.number())),usage:uK.object({tokens:uK.number()}).nullish(),providerMetadata:uK.record(uK.string(),uK.record(uK.string(),uK.unknown())).optional()})));async function lb(){var e;return null==(e=(0,uH.getContext)().headers)?void 0:e["x-vercel-id"]}async function lk(e){let t=tw({settingValue:e.apiKey,environmentVariableName:"AI_GATEWAY_API_KEY"});if(t)return{token:t,authMethod:"api-key"};try{return{token:await (0,uH.getVercelOidcToken)(),authMethod:"oidc"}}catch(e){return null}}!function(e={}){var t,r,n;let i=null,a=null,o=null!=(t=e.metadataCacheRefreshMillis)?t:3e5,s=0,u=null!=(r=null==(n=e.baseURL)?void 0:n.replace(/\/$/,""))?r:"https://ai-gateway.vercel.sh/v1/ai",l=async()=>{let t=await lk(e);if(t)return tb({Authorization:`Bearer ${t.token}`,"ai-gateway-protocol-version":"0.0.1",[ld]:t.authMethod,...e.headers},"ai-sdk/gateway/2.0.2");throw u1.createContextualError({apiKeyProvided:!1,oidcTokenProvided:!1,statusCode:401})},c=()=>{let e=tw({settingValue:void 0,environmentVariableName:"VERCEL_DEPLOYMENT_ID"}),t=tw({settingValue:void 0,environmentVariableName:"VERCEL_ENV"}),r=tw({settingValue:void 0,environmentVariableName:"VERCEL_REGION"});return async()=>{let n=await lb();return{...e&&{"ai-o11y-deployment-id":e},...t&&{"ai-o11y-environment":t},...r&&{"ai-o11y-region":r},...n&&{"ai-o11y-request-id":n}}}},d=t=>new lv(t,{provider:"gateway",baseURL:u,headers:l,fetch:e.fetch,o11yHeaders:c()}),p=async()=>new lh({baseURL:u,headers:l,fetch:e.fetch}).getCredits().catch(async e=>{throw await lc(e,await lp(await l()))}),f=function(e){if(new.target)throw Error("The Gateway Provider model function cannot be called with the new keyword.");return d(e)};f.getAvailableModels=async()=>{var t,r,n;let c=null!=(n=null==(r=null==(t=e._internal)?void 0:t.currentDate)?void 0:r.call(t).getTime())?n:Date.now();return(!i||c-s>o)&&(s=c,i=new lh({baseURL:u,headers:l,fetch:e.fetch}).getAvailableModels().then(e=>(a=e,e)).catch(async e=>{throw await lc(e,await lp(await l()))})),a?Promise.resolve(a):i},f.getCredits=p,f.imageModel=e=>{throw new et({modelId:e,modelType:"imageModel"})},f.languageModel=d,f.textEmbeddingModel=t=>new l_(t,{provider:"gateway",baseURL:u,headers:l,fetch:e.fetch,o11yHeaders:c()})}();var uK=uK,lx="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:e.g,l$="1.9.0",lw=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/,lS=function(e){var t=new Set([e]),r=new Set,n=e.match(lw);if(!n)return function(){return!1};var i={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(null!=i.prerelease)return function(t){return t===e};function a(e){return r.add(e),!1}return function(e){if(t.has(e))return!0;if(r.has(e))return!1;var n=e.match(lw);if(!n)return a(e);var o={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(null!=o.prerelease||i.major!==o.major)return a(e);if(0===i.major)return i.minor===o.minor&&i.patch<=o.patch?(t.add(e),!0):a(e);return i.minor<=o.minor?(t.add(e),!0):a(e)}}(l$),lI=Symbol.for("opentelemetry.js.api."+l$.split(".")[0]);function lE(e,t,r,n){void 0===n&&(n=!1);var i,a=lx[lI]=null!=(i=lx[lI])?i:{version:l$};if(!n&&a[e]){var o=Error("@opentelemetry/api: Attempted duplicate registration of API: "+e);return r.error(o.stack||o.message),!1}if(a.version!==l$){var o=Error("@opentelemetry/api: Registration of version v"+a.version+" for "+e+" does not match previously registered API v"+l$);return r.error(o.stack||o.message),!1}return a[e]=t,r.debug("@opentelemetry/api: Registered a global for "+e+" v"+l$+"."),!0}function lO(e){var t,r,n=null==(t=lx[lI])?void 0:t.version;if(n&&lS(n))return null==(r=lx[lI])?void 0:r[e]}function lD(e,t){t.debug("@opentelemetry/api: Unregistering a global for "+e+" v"+l$+".");var r=lx[lI];r&&delete r[e]}var lA=new function e(t){var r=this;r._currentContext=t?new Map(t):new Map,r.getValue=function(e){return r._currentContext.get(e)},r.setValue=function(t,n){var i=new e(r._currentContext);return i._currentContext.set(t,n),i},r.deleteValue=function(t){var n=new e(r._currentContext);return n._currentContext.delete(t),n}},lT=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},lC=function(e,t,r){if(r||2==arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},lj=function(){function e(){}return e.prototype.active=function(){return lA},e.prototype.with=function(e,t,r){for(var n=[],i=3;i<arguments.length;i++)n[i-3]=arguments[i];return t.call.apply(t,lC([r],lT(n),!1))},e.prototype.bind=function(e,t){return t},e.prototype.enable=function(){return this},e.prototype.disable=function(){return this},e}(),lz=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},lP=function(e,t,r){if(r||2==arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},lN=function(){function e(e){this._namespace=e.namespace||"DiagComponentLogger"}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return lZ("debug",this._namespace,e)},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return lZ("error",this._namespace,e)},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return lZ("info",this._namespace,e)},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return lZ("warn",this._namespace,e)},e.prototype.verbose=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return lZ("verbose",this._namespace,e)},e}();function lZ(e,t,r){var n=lO("diag");if(n)return r.unshift(t),n[e].apply(n,lP([],lz(r),!1))}(t=S||(S={}))[t.NONE=0]="NONE",t[t.ERROR=30]="ERROR",t[t.WARN=50]="WARN",t[t.INFO=60]="INFO",t[t.DEBUG=70]="DEBUG",t[t.VERBOSE=80]="VERBOSE",t[t.ALL=9999]="ALL";var lF=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},lU=function(e,t,r){if(r||2==arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},lM=function(){function e(){function e(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=lO("diag");if(n)return n[e].apply(n,lU([],lF(t),!1))}}var t=this;t.setLogger=function(e,r){if(void 0===r&&(r={logLevel:S.INFO}),e===t){var n,i,a,o=Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return t.error(null!=(n=o.stack)?n:o.message),!1}"number"==typeof r&&(r={logLevel:r});var s=lO("diag"),u=function(e,t){function r(r,n){var i=t[r];return"function"==typeof i&&e>=n?i.bind(t):function(){}}return e<S.NONE?e=S.NONE:e>S.ALL&&(e=S.ALL),t=t||{},{error:r("error",S.ERROR),warn:r("warn",S.WARN),info:r("info",S.INFO),debug:r("debug",S.DEBUG),verbose
54:r("verbose",S.VERBOSE)}}(null!=(i=r.logLevel)?i:S.INFO,e);if(s&&!r.suppressOverrideMessage){var l=null!=(a=Error().stack)?a:"<failed to generate stacktrace>";s.warn("Current logger will be overwritten from "+l),u.warn("Current logger will overwrite one already registered from "+l)}return lE("diag",u,t,!0)},t.disable=function(){lD("diag",t)},t.createComponentLogger=function(e){return new lN(e)},t.verbose=e("verbose"),t.debug=e("debug"),t.info=e("info"),t.warn=e("warn"),t.error=e("error")}return e.instance=function(){return this._instance||(this._instance=new e),this._instance},e}(),lL=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},lR=function(e,t,r){if(r||2==arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},lB="context",lq=new lj,lV=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalContextManager=function(e){return lE(lB,e,lM.instance())},e.prototype.active=function(){return this._getContextManager().active()},e.prototype.with=function(e,t,r){for(var n,i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];return(n=this._getContextManager()).with.apply(n,lR([e,t,r],lL(i),!1))},e.prototype.bind=function(e,t){return this._getContextManager().bind(e,t)},e.prototype._getContextManager=function(){return lO(lB)||lq},e.prototype.disable=function(){this._getContextManager().disable(),lD(lB,lM.instance())},e}();(r=I||(I={}))[r.NONE=0]="NONE",r[r.SAMPLED=1]="SAMPLED";var lW="0000000000000000",lJ="00000000000000000000000000000000",lG={traceId:lJ,spanId:lW,traceFlags:I.NONE},lK=function(){function e(e){void 0===e&&(e=lG),this._spanContext=e}return e.prototype.spanContext=function(){return this._spanContext},e.prototype.setAttribute=function(e,t){return this},e.prototype.setAttributes=function(e){return this},e.prototype.addEvent=function(e,t){return this},e.prototype.addLink=function(e){return this},e.prototype.addLinks=function(e){return this},e.prototype.setStatus=function(e){return this},e.prototype.updateName=function(e){return this},e.prototype.end=function(e){},e.prototype.isRecording=function(){return!1},e.prototype.recordException=function(e,t){},e}(),lH=Symbol.for("OpenTelemetry Context Key SPAN");function lX(e){return e.getValue(lH)||void 0}function lY(){return lX(lV.getInstance().active())}function lQ(e,t){return e.setValue(lH,t)}function l0(e){return e.deleteValue(lH)}function l1(e,t){return lQ(e,new lK(t))}function l4(e){var t;return null==(t=lX(e))?void 0:t.spanContext()}var l6=/^([0-9a-f]{32})$/i,l2=/^[0-9a-f]{16}$/i;function l3(e){var t,r;return t=e.traceId,l6.test(t)&&t!==lJ&&(r=e.spanId,l2.test(r)&&r!==lW)}function l9(e){return new lK(e)}var l5=lV.getInstance(),l8=function(){function e(){}return e.prototype.startSpan=function(e,t,r){if(void 0===r&&(r=l5.active()),null==t?void 0:t.root)return new lK;var n,i=r&&l4(r);return"object"==typeof(n=i)&&"string"==typeof n.spanId&&"string"==typeof n.traceId&&"number"==typeof n.traceFlags&&l3(i)?new lK(i):new lK},e.prototype.startActiveSpan=function(e,t,r,n){if(!(arguments.length<2)){2==arguments.length?o=t:3==arguments.length?(i=t,o=r):(i=t,a=r,o=n);var i,a,o,s=null!=a?a:l5.active(),u=this.startSpan(e,i,s),l=lQ(s,u);return l5.with(l,o,void 0,u)}},e}(),l7=new l8,ce=function(){function e(e,t,r,n){this._provider=e,this.name=t,this.version=r,this.options=n}return e.prototype.startSpan=function(e,t,r){return this._getTracer().startSpan(e,t,r)},e.prototype.startActiveSpan=function(e,t,r,n){var i=this._getTracer();return Reflect.apply(i.startActiveSpan,i,arguments)},e.prototype._getTracer=function(){if(this._delegate)return this._delegate;var e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):l7},e}(),ct=new(function(){function e(){}return e.prototype.getTracer=function(e,t,r){return new l8},e}()),cr=function(){function e(){}return e.prototype.getTracer=function(e,t,r){var n;return null!=(n=this.getDelegateTracer(e,t,r))?n:new ce(this,e,t,r)},e.prototype.getDelegate=function(){var e;return null!=(e=this._delegate)?e:ct},e.prototype.setDelegate=function(e){this._delegate=e},e.prototype.getDelegateTracer=function(e,t,r){var n;return null==(n=this._delegate)?void 0:n.getTracer(e,t,r)},e}(),cn="trace";(function(){function e(){this._proxyTracerProvider=new cr,this.wrapSpanContext=l9,this.isSpanContextValid=l3,this.deleteSpan=l0,this.get
54Span=lX,this.getActiveSpan=lY,this.getSpanContext=l4,this.setSpan=lQ,this.setSpanContext=l1}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalTracerProvider=function(e){var t=lE(cn,this._proxyTracerProvider,lM.instance());return t&&this._proxyTracerProvider.setDelegate(e),t},e.prototype.getTracerProvider=function(){return lO(cn)||this._proxyTracerProvider},e.prototype.getTracer=function(e,t){return this.getTracerProvider().getTracer(e,t)},e.prototype.disable=function(){lD(cn,lM.instance()),this._proxyTracerProvider=new cr},e})().getInstance(),(n=E||(E={}))[n.UNSET=0]="UNSET",n[n.OK=1]="OK",n[n.ERROR=2]="ERROR";var ci=Object.defineProperty,ca=(Symbol.for("vercel.ai.error.AI_NoOutputSpecifiedError"),Symbol.for("vercel.ai.error.AI_InvalidArgumentError"),Symbol.for("vercel.ai.error.AI_InvalidStreamPartError"),Symbol.for("vercel.ai.error.AI_InvalidToolInputError"),Symbol.for("vercel.ai.error.AI_NoImageGeneratedError"),"AI_NoObjectGeneratedError"),co=`vercel.ai.error.${ca}`,cs=Symbol.for(co),cu=class extends z{constructor({message:e="No object generated.",cause:t,text:r,response:n,usage:i,finishReason:a}){super({name:ca,message:e,cause:t}),this[O]=!0,this.text=r,this.response=n,this.usage=i,this.finishReason=a}static isInstance(e){return z.hasMarker(e,co)}};O=cs,Symbol.for("vercel.ai.error.AI_NoOutputGeneratedError"),Symbol.for("vercel.ai.error.AI_NoSuchToolError"),Symbol.for("vercel.ai.error.AI_ToolCallRepairError"),Symbol.for("vercel.ai.error.AI_InvalidDataContentError"),Symbol.for("vercel.ai.error.AI_InvalidMessageRoleError"),Symbol.for("vercel.ai.error.AI_MessageConversionError"),Symbol.for("vercel.ai.error.AI_DownloadError"),Symbol.for("vercel.ai.error.AI_RetryError");var cl=uK.union([uK.string(),uK.instanceof(Uint8Array),uK.instanceof(ArrayBuffer),uK.custom(e=>{var t,r;return null!=(r=null==(t=globalThis.Buffer)?void 0:t.isBuffer(e))&&r},{message:"Must be a Buffer"})]),cc=uK.lazy(()=>uK.union([uK.null(),uK.string(),uK.number(),uK.boolean(),uK.record(uK.string(),cc),uK.array(cc)])),cd=uK.record(uK.string(),uK.record(uK.string(),cc)),cp=uK.object({type:uK.literal("text"),text:uK.string(),providerOptions:cd.optional()}),cf=uK.object({type:uK.literal("image"),image:uK.union([cl,uK.instanceof(URL)]),mediaType:uK.string().optional(),providerOptions:cd.optional()}),ch=uK.object({type:uK.literal("file"),data:uK.union([cl,uK.instanceof(URL)]),filename:uK.string().optional(),mediaType:uK.string(),providerOptions:cd.optional()}),cm=uK.object({type:uK.literal("reasoning"),text:uK.string(),providerOptions:cd.optional()}),cg=uK.object({type:uK.literal("tool-call"),toolCallId:uK.string(),toolName:uK.string(),input:uK.unknown(),providerOptions:cd.optional(),providerExecuted:uK.boolean().optional()}),cv=uK.discriminatedUnion("type",[uK.object({type:uK.literal("text"),value:uK.string()}),uK.object({type:uK.literal("json"),value:cc}),uK.object({type:uK.literal("error-text"),value:uK.string()}),uK.object({type:uK.literal("error-json"),value:cc}),uK.object({type:uK.literal("content"),value:uK.array(uK.union([uK.object({type:uK.literal("text"),text:uK.string()}),uK.object({type:uK.literal("media"),data:uK.string(),mediaType:uK.string()})]))})]),c_=uK.object({type:uK.literal("tool-result"),toolCallId:uK.string(),toolName:uK.string(),output:cv,providerOptions:cd.optional()}),cy=uK.object({role:uK.literal("system"),content:uK.string(),providerOptions:cd.optional()}),cb=uK.object({role:uK.literal("user"),content:uK.union([uK.string(),uK.array(uK.union([cp,cf,ch]))]),providerOptions:cd.optional()}),ck=uK.object({role:uK.literal("assistant"),content:uK.union([uK.string(),uK.array(uK.union([cp,ch,cm,cg,c_]))]),providerOptions:cd.optional()}),cx=uK.object({role:uK.literal("tool"),content:uK.array(c_),providerOptions:cd.optional()});uK.union([cy,cb,ck,cx]),tm({prefix:"aitxt",size:24}),TransformStream;var c$=tD(()=>rn(uK.union([uK.strictObject({type:uK.literal("text-start"),id:uK.string(),providerMetadata:cd.optional()}),uK.strictObject({type:uK.literal("text-delta"),id:uK.string(),delta:uK.string(),providerMetadata:cd.optional()}),uK.strictObject({type:uK.literal("text-end"),id:uK.string(),providerMetadata:cd.optional()}
54),uK.strictObject({type:uK.literal("error"),errorText:uK.string()}),uK.strictObject({type:uK.literal("tool-input-start"),toolCallId:uK.string(),toolName:uK.string(),providerExecuted:uK.boolean().optional(),dynamic:uK.boolean().optional()}),uK.strictObject({type:uK.literal("tool-input-delta"),toolCallId:uK.string(),inputTextDelta:uK.string()}),uK.strictObject({type:uK.literal("tool-input-available"),toolCallId:uK.string(),toolName:uK.string(),input:uK.unknown(),providerExecuted:uK.boolean().optional(),providerMetadata:cd.optional(),dynamic:uK.boolean().optional()}),uK.strictObject({type:uK.literal("tool-input-error"),toolCallId:uK.string(),toolName:uK.string(),input:uK.unknown(),providerExecuted:uK.boolean().optional(),providerMetadata:cd.optional(),dynamic:uK.boolean().optional(),errorText:uK.string()}),uK.strictObject({type:uK.literal("tool-output-available"),toolCallId:uK.string(),output:uK.unknown(),providerExecuted:uK.boolean().optional(),dynamic:uK.boolean().optional(),preliminary:uK.boolean().optional()}),uK.strictObject({type:uK.literal("tool-output-error"),toolCallId:uK.string(),errorText:uK.string(),providerExecuted:uK.boolean().optional(),dynamic:uK.boolean().optional()}),uK.strictObject({type:uK.literal("reasoning-start"),id:uK.string(),providerMetadata:cd.optional()}),uK.strictObject({type:uK.literal("reasoning-delta"),id:uK.string(),delta:uK.string(),providerMetadata:cd.optional()}),uK.strictObject({type:uK.literal("reasoning-end"),id:uK.string(),providerMetadata:cd.optional()}),uK.strictObject({type:uK.literal("source-url"),sourceId:uK.string(),url:uK.string(),title:uK.string().optional(),providerMetadata:cd.optional()}),uK.strictObject({type:uK.literal("source-document"),sourceId:uK.string(),mediaType:uK.string(),title:uK.string(),filename:uK.string().optional(),providerMetadata:cd.optional()}),uK.strictObject({type:uK.literal("file"),url:uK.string(),mediaType:uK.string(),providerMetadata:cd.optional()}),uK.strictObject({type:uK.custom(e=>"string"==typeof e&&e.startsWith("data-"),{message:'Type must start with "data-"'}),id:uK.string().optional(),data:uK.unknown(),transient:uK.boolean().optional()}),uK.strictObject({type:uK.literal("start-step")}),uK.strictObject({type:uK.literal("finish-step")}),uK.strictObject({type:uK.literal("start"),messageId:uK.string().optional(),messageMetadata:uK.unknown().optional()}),uK.strictObject({type:uK.literal("finish"),messageMetadata:uK.unknown().optional()}),uK.strictObject({type:uK.literal("abort")}),uK.strictObject({type:uK.literal("message-metadata"),messageMetadata:uK.unknown()})])));async function cw(e){if(void 0===e)return{value:void 0,state:"undefined-input"};let t=await tj({text:e});return t.success?{value:t.value,state:"successful-parse"}:(t=await tj({text:function(e){let t=["ROOT"],r=-1,n=null;function i(e,i,a){switch(e){case'"':r=i,t.pop(),t.push(a),t.push("INSIDE_STRING");break;case"f":case"t":case"n":r=i,n=i,t.pop(),t.push(a),t.push("INSIDE_LITERAL");break;case"-":t.pop(),t.push(a),t.push("INSIDE_NUMBER");break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":r=i,t.pop(),t.push(a),t.push("INSIDE_NUMBER");break;case"{":r=i,t.pop(),t.push(a),t.push("INSIDE_OBJECT_START");break;case"[":r=i,t.pop(),t.push(a),t.push("INSIDE_ARRAY_START")}}function a(e,n){switch(e){case",":t.pop(),t.push("INSIDE_OBJECT_AFTER_COMMA");break;case"}":r=n,t.pop()}}function o(e,n){switch(e){case",":t.pop(),t.push("INSIDE_ARRAY_AFTER_COMMA");break;case"]":r=n,t.pop()}}for(let s=0;s<e.length;s++){let u=e[s];switch(t[t.length-1]){case"ROOT":i(u,s,"FINISH");break;case"INSIDE_OBJECT_START":switch(u){case'"':t.pop(),t.push("INSIDE_OBJECT_KEY");break;case"}":r=s,t.pop()}break;case"INSIDE_OBJECT_AFTER_COMMA":'"'===u&&(t.pop(),t.push("INSIDE_OBJECT_KEY"));break;case"INSIDE_OBJECT_KEY":'"'===u&&(t.pop(),t.push("INSIDE_OBJECT_AFTER_KEY"));break;case"INSIDE_OBJECT_AFTER_KEY":":"===u&&(t.pop(),t.push("INSIDE_OBJECT_BEFORE_VALUE"));break;case"INSIDE_OBJECT_BEFORE_VALUE":i(u,s,"INSIDE_OBJECT_AFTER_VALUE");break;case"INSIDE_OBJECT_AFTER_VALUE":a(u,s);break;case"INSIDE_STRING":switch(u){case'"':t.pop(),r=s;break;case"\\":t.push("INSIDE_STRING_ESCAPE");break;default:r=s}break;case"INSIDE_ARRAY_START":"]"===u?(r=s,t.pop()):(r=s,i(u,s,"INSIDE_ARRAY_AFTER_VALUE"));break;case"INSIDE_ARRAY_AFTER_VALUE":switch(u){case",":t.pop(),t.push("INSIDE_ARRAY_AFTER_COMMA");break;case"]":r=s,t.pop();break;default:r=s}break;case"INSIDE_ARRAY_AFTER_COMMA":i(u,s,"INSIDE_ARRAY_AFTER_VALUE");break;case"INSIDE_STRING_ESCAPE":t.pop(),r=s;break;case"INSIDE_NUMBER":switch(u){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":r=s;break;case"e":case"E":case"-":case".":break;case",":t.pop(),"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&o(u,s),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]&&a(u,s);break;case"}":t.pop(),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]&&a(u,s);break;case"]":t.pop(),"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&o(u,s);break;default:t.pop()}break;case"INSIDE_LITERAL":{let i=e.substring(n,s+1);"false".startsWith(i)||"true".startsWith(i)||"null".startsWith(i)?r=s:(t.pop(),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]?a(u,s):"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&o(u,s))}}}let s=e.slice(0,r+1);for(let r=t.length-1;r>=0;r--)switch(t[r]){case"INSIDE_STRING":s+='"';break;case"INSIDE_OBJECT_KEY":case"INSIDE_OBJECT_AFTER_KEY":case"INSIDE_OBJECT_AFTER_COMMA":case"INSIDE_OBJECT_START":case"INSIDE_OBJECT_BEFORE_VALUE":case"INSIDE_OBJECT_AFTER_VALUE":s+="}";break;case"INSIDE_ARRAY_START":case"INSIDE_ARRAY_AFTER_COMMA":case"INSIDE_ARRAY_AFTER_VALUE":s+="]";break;case"INSIDE_LITERAL":{let t=e.substring(n,e.length);"true".startsWith(t)?s+="true".slice(t.length):"false".startsWith(t)?s+="false".slice(t.length):"null".startsWith(t)&&(s+="null".slice(t.length))}}return s}(e)})).success?{value:t.value,state:"repaired-parse"}:{value:void 0,state:"failed-parse"}}async function cS({stream:e,onError:t}){let r=e.getReader();try{for(;;){let{done:e}=await r.read();if(e)break}}catch(e){null==t||t(e)}finally{r.releaseLock()}}tm({prefix:"aitxt",size:24}),tm({prefix:"aiobj",size:24}),tm({prefix:"aiobj",size:24});var cI={},cE={object:()=>cA,text:()=>cD};for(var cO in cE)ci(cI,cO,{get:cE[cO],enumerable:!0});var cD=()=>({type:"text",responseFormat:{type:"text"},parsePartial:async({text:e})=>({partial:e}),parseOutput:async({text:e})=>e}),cA=({schema:e})=>{let t=null==e?ra({properties:{},additionalProperties:!1}):"object"==typeof e&&null!==e&&ri in e&&!0===e[ri]&&"jsonSchema"in e&&"validate"in e?e:"function"==typeof e?e():rn(e);return{type:"object",responseFormat:{type:"json",schema:t.jsonSchema},async parsePartial({text:e}){let t=await cw(e);switch(t.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":return{partial:t.value};default:{let e=t.state;throw Error(`Unsupported parse state: ${e}`)}}},async parseOutput({text:e},r){let n=await tj({text:e});if(!n.success)throw new cu({message:"No object generated: could not parse the response.",cause:n.error,text:e,response:r.response,usage:r.usage,finishReason:r.finishReason});let i=await tT({value:n.value,schema:t});if(!i.success)throw new cu({message:"No object generated: response did not match sc
54hema.",cause:i.error,text:e,response:r.response,usage:r.usage,finishReason:r.finishReason});return i.value}}};async function cT({stream:e,onTextPart:t}){let r=e.pipeThrough(new TextDecoderStream).getReader();for(;;){let{done:e,value:n}=await r.read();if(e)break;await t(n)}}async function cC({api:e,prompt:t,credentials:r,headers:n,body:i,streamProtocol:a="data",setCompletion:o,setLoading:s,setError:u,setAbortController:l,onFinish:c,onError:d,fetch:p=fetch}){var f;try{s(!0),u(void 0);let d=new AbortController;l(d),o("");let h=await p(e,{method:"POST",body:JSON.stringify({prompt:t,...i}),credentials:r,headers:tb({"Content-Type":"application/json",...n},"ai-sdk/5.0.81",ty()),signal:d.signal}).catch(e=>{throw e});if(!h.ok)throw Error(null!=(f=await h.text())?f:"Failed to fetch the chat response.");if(!h.body)throw Error("The response body is empty.");let m="";switch(a){case"text":await cT({stream:h.body,onTextPart:e=>{m+=e,o(m)}});break;case"data":await cS({stream:tz({stream:h.body,schema:c$}).pipeThrough(new TransformStream({async transform(e){if(!e.success)throw e.error;let t=e.value;if("text-delta"===t.type)m+=t.delta,o(m);else if("error"===t.type)throw Error(t.errorText)}})),onError:e=>{throw e}});break;default:throw Error(`Unknown stream protocol: ${a}`)}return c&&c(t,m),l(null),m}catch(e){if("AbortError"===e.name)return l(null),null;e instanceof Error&&d&&d(e),u(e)}finally{s(!1)}}Symbol.for("vercel.ai.error.AI_NoSuchProviderError"),tD(()=>rn(uK.array(uK.object({id:uK.string(),role:uK.enum(["system","user","assistant"]),metadata:uK.unknown().optional(),parts:uK.array(uK.union([uK.object({type:uK.literal("text"),text:uK.string(),state:uK.enum(["streaming","done"]).optional(),providerMetadata:cd.optional()}),uK.object({type:uK.literal("reasoning"),text:uK.string(),state:uK.enum(["streaming","done"]).optional(),providerMetadata:cd.optional()}),uK.object({type:uK.literal("source-url"),sourceId:uK.string(),url:uK.string(),title:uK.string().optional(),providerMetadata:cd.optional()}),uK.object({type:uK.literal("source-document"),sourceId:uK.string(),mediaType:uK.string(),title:uK.string(),filename:uK.string().optional(),providerMetadata:cd.optional()}),uK.object({type:uK.literal("file"),mediaType:uK.string(),filename:uK.string().optional(),url:uK.string(),providerMetadata:cd.optional()}),uK.object({type:uK.literal("step-start")}),uK.object({type:uK.string().startsWith("data-"),id:uK.string().optional(),data:uK.unknown()}),uK.object({type:uK.literal("dynamic-tool"),toolName:uK.string(),toolCallId:uK.string(),state:uK.literal("input-streaming"),input:uK.unknown().optional(),output:uK.never().optional(),errorText:uK.never().optional()}),uK.object({type:uK.literal("dynamic-tool"),toolName:uK.string(),toolCallId:uK.string(),state:uK.literal("input-available"),input:uK.unknown(),output:uK.never().optional(),errorText:uK.never().optional(),callProviderMetadata:cd.optional()}),uK.object({type:uK.literal("dynamic-tool"),toolName:uK.string(),toolCallId:uK.string(),state:uK.literal("output-available"),input:uK.unknown(),output:uK.unknown(),errorText:uK.never().optional(),callProviderMetadata:cd.optional(),preliminary:uK.boolean().optional()}),uK.object({type:uK.literal("dynamic-tool"),toolName:uK.string(),toolCallId:uK.string(),state:uK.literal("output-error"),input:uK.unknown(),output:uK.never().optional(),errorText:uK.string(),callProviderMetadata:cd.optional()}),uK.object({type:uK.string().startsWith("tool-"),toolCallId:uK.string(),state:uK.literal("input-streaming"),providerExecuted:uK.boolean().optional(),input:uK.unknown().optional(),output:uK.never().optional(),errorText:uK.never().optional(),approval:uK.never().optional()}),uK.object({type:uK.string().startsWith("tool-"),toolCallId:uK.string(),state:uK.literal("input-available"),providerExecuted:uK.boolean().optional(),input:uK.unknown(),output:uK.never().optional(),errorText:uK.never().optional(),callProviderMetadata:cd.optional(),approval:uK.never().optional()}),uK.object({type:uK.string().startsWith("tool-"),toolCallId:uK.string(),state:uK.literal("approval-requested"),input:uK.unknown(),providerExecuted:uK.boolean().optional(),output:uK.never().optional(),errorText:uK.never().optional(),callProviderMetadata:cd.optional(),approval:uK.object({id:uK.string(),approved:uK.never().optional(),reason:uK.never().optional()})}),uK.object({type:uK.string().startsWith("tool-"),toolCallId:uK.string(),state:uK.literal("approval-responded"),input:uK.unknown(),providerExecuted:uK.boolean().optional(),output:uK.never().optional(),errorText:uK.never().optional(),callProviderMetadata:cd.optional(),approval:uK.object({id:uK.string(),approved:uK.boolean(),reason:uK.string().optional()})}),uK.object({type:uK.string().startsWith("tool-"),toolCallId:uK.string(),state:uK.literal("output-available"),providerExecuted:uK.boolean().optional(),input
54:uK.unknown(),output:uK.unknown(),errorText:uK.never().optional(),callProviderMetadata:cd.optional(),preliminary:uK.boolean().optional(),approval:uK.object({id:uK.string(),approved:uK.literal(!0),reason:uK.string().optional()}).optional()}),uK.object({type:uK.string().startsWith("tool-"),toolCallId:uK.string(),state:uK.literal("output-error"),providerExecuted:uK.boolean().optional(),input:uK.unknown(),output:uK.never().optional(),errorText:uK.string(),callProviderMetadata:cd.optional(),approval:uK.object({id:uK.string(),approved:uK.literal(!0),reason:uK.string().optional()}).optional()}),uK.object({type:uK.string().startsWith("tool-"),toolCallId:uK.string(),state:uK.literal("output-denied"),providerExecuted:uK.boolean().optional(),input:uK.unknown(),output:uK.never().optional(),errorText:uK.never().optional(),callProviderMetadata:cd.optional(),approval:uK.object({id:uK.string(),approved:uK.literal(!1),reason:uK.string().optional()})})]))}))));var cj=e.i(561866),cz=e.i(283599);new WeakMap,new WeakMap,new WeakMap,new WeakMap,new WeakMap,new WeakMap,new WeakMap,new WeakMap,new WeakMap,new WeakMap,e.s(["useCompletion",0,function({api:e="/api/completion",id:t,initialCompletion:r="",initialInput:n="",credentials:i,headers:a,body:o,streamProtocol:s="data",fetch:u,onFinish:l,onError:c,experimental_throttle:d}={}){let p=(0,D.useId)(),f=t||p,{data:h,mutate:m}=(0,cz.default)([e,f],null,{fallbackData:r}),{data:g=!1,mutate:v}=(0,cz.default)([f,"loading"],null),[_,y]=(0,D.useState)(void 0),[b,k]=(0,D.useState)(null),x=(0,D.useRef)({credentials:i,headers:a,body:o});(0,D.useEffect)(()=>{x.current={credentials:i,headers:a,body:o}},[i,a,o]);let $=(0,D.useCallback)(async(t,r)=>{var n;return cC({api:e,prompt:t,credentials:x.current.credentials,headers:{...x.current.headers,...null==r?void 0:r.headers},body:{...x.current.body,...null==r?void 0:r.body},streamProtocol:s,fetch:u,setCompletion:(n=e=>m(e,!1),null!=d?(0,cj.default)(n,d):n),setLoading:v,setError:y,setAbortController:k,onFinish:l,onError:c})},[m,v,e,x,k,l,c,y,s,u,d]),w=(0,D.useCallback)(()=>{b&&(b.abort(),k(null))},[b]),S=(0,D.useCallback)(e=>{m(e,!1)},[m]),I=(0,D.useCallback)(async(e,t)=>$(e,t),[$]),[E,O]=(0,D.useState)(n),A=(0,D.useCallback)(e=>{var t;return null==(t=null==e?void 0:e.preventDefault)||t.call(e),E?I(E):void 0},[E,I]),T=(0,D.useCallback)(e=>{O(e.target.value)},[O]);return{completion:h,complete:I,error:_,setCompletion:S,stop:w,input:E,setInput:O,handleInputChange:T,handleSubmit:A,isLoading:g}}],299641)},99970,(e,t,r)=>{"use strict";var n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s={},u={SYMBOL_FOR_REQ_CONTEXT:()=>c,getContext:()=>d};for(var l in u)n(s,l,{get:u[l],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))o.call(e,s)||void 0===s||n(e,s,{get:()=>t[s],enumerable:!(r=i(t,s))||r.enumerable});return e})(n({},"__esModule",{value:!0}),s);let c=Symbol.for("@vercel/request-context");function d(){let e=globalThis;return e[c]?.get?.()??{}}},725150,(e,t,r)=>{"use strict";var n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s={},u={getContext:()=>c.getContext,getVercelOidcToken:()=>d,getVercelOidcTokenSync:()=>p};for(var l in u)n(s,l,{get:u[l],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))o.call(e,s)||void 0===s||n(e,s,{get:()=>t[s],enumerable:!(r=i(t,s))||r.enumerable});return e})(n({},"__esModule",{value:!0}),s);var c=e.r(99970);async function d(){return""}function p(){return""}},561866,(e,t,r)=>{t.exports=function(e,t){let r;if("function"!=typeof e)throw TypeError(`Expected the first argument to be a \`function\`, got \`${typeof e}\`.`);let n=0;return function(...i){clearTimeout(r);let a=Date.now(),o=t-(a-n);o<=0?(n=a,e.apply(this,i)):r=setTimeout(()=>{n=Date.now(),e.apply(this,i)},o)}}},235245,(e,t,r)=>{e.e,t.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
54),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,(function(t){return e[t]}).bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=45)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),i=r(12),a=r(6),o=r(7),s=r(2);t.default=function(){function e(e,t,r){var i=void 0===r?{}:r,a=i.keepSpace,o=i.prevTagName,s=i.nextTagName,u=i.prevTagStr,l=i.nextTagStr,c=i.parentTag,d=i.isFirstSubTag,p=i.calcLeading,f=i.leadingSpace,h=i.layer,m=i.noWrap,g=i.prevHasEndSpace,v=i.prevHasStartSpace,_=i.match,y=i.indentSpace,b=i.language,k=i.count,x=i.tableColumnCount,$=i.noExtraLine,w=i.inTable;if(this.tagName=t,this.rawStr=e,this.parentTag=void 0===c?"":c,this.prevTagName=void 0===o?"":o,this.nextTagName=void 0===s?"":s,this.prevTagStr=void 0===u?"":u,this.nextTagStr=void 0===l?"":l,this.isFirstSubTag=void 0===d||d,this.calcLeading=void 0!==p&&p,this.leadingSpace=void 0===f?"":f,this.layer=void 0===h?1:h,this.noWrap=void 0!==m&&m,this.match=void 0===_?null:_,this.indentSpace=void 0===y?"":y,this.language=void 0===b?"":b,this.count=void 0===k?1:k,this.inTable=void 0!==w&&w,this.tableColumnCount=void 0===x?0:x,this.noExtraLine=void 0!==$&&$,this.prevHasEndSpace=void 0!==g&&g,this.prevHasStartSpace=void 0!==v&&v,this.hasStartSpace=!1,this.hasEndSpace=!1,this.keepSpace=void 0!==a&&a,!this.__detectStr__(e,this.tagName))return this.attrs={},void(this.innerHTML="");var S=this.__fetchTagAttrAndInnerHTML__(e),I=S.attr,E=S.innerHTML;E.startsWith(" ")&&(0,n.isSpacePassingTag)(t)&&(this.hasStartSpace=!0),E.endsWith(" ")&&(0,n.isSpacePassingTag)(t)&&(this.hasEndSpace=!0),this.attrs=I,this.innerHTML=E}return e.prototype.__detectStr__=function(e,t){if("<"!==e[0])return"Not a valid tag, current tag name: ".concat(this.tagName,", tag content: ").concat(e),!1;for(var r="",n=!1,i=1;i<e.length&&">"!==e[i];i++)!n&&/(\s|\/)/.test(e[i])&&(n=!0),n||(r+=e[i]);return r===t},e.prototype.__fetchTagAttrAndInnerHTML__=function(e){for(var t="",r=1;r<e.length&&">"!==e[r];r++)t+=e[r];for(var i=e.slice(r+1),a="",o=-1,s=i.length-1;s>=0;s--)if((a=i[s]+a).startsWith("</")){a.startsWith("</"+this.tagName+">")&&(o=s);break}-1===o&&(0,n.isSelfClosing)(this.tagName)&&this.tagName;var u=(0,n.getTagAttributes)(t);return this.tagName&&delete u[this.tagName],{attr:u,innerHTML:i.slice(0,o)}},e.prototype.__onlyLeadingSpace__=function(e){e=e.trim();for(var t=0;t<e.length;t++)if(e[t]!==a.SINGLE)return!1;return!0},e.prototype.__isEmpty__=function(e){return!this.keepSpace&&(""===e&&"td"!==this.tagName||this.calcLeading&&this.__onlyLeadingSpace__(e))},e.prototype.getValidSubTagName=function(e){return e},e.prototype.beforeParse=function(){var e=s.default.get().tagListener;if(e){var t=e(this.tagName,{parentTag:this.parentTag,prevTagName:this.prevTagName,nextTagName:this.nextTagName,isFirstSubTag:this.isFirstSubTag,attrs:this.attrs,innerHTML:this.innerHTML,language:this.language,match:this.match,isSelfClosing:!1}),r=t.attrs,n=t.language,i=t.match;this.attrs=r,"string"==typeof n&&(this.language=n),void 0!==i&&(this.match=i)}return""},e.prototype.parseValidSubTag=function(e,t,r){var i=new((0,n.getTagConstructor)(t))(e,t,r);return[i.exec(),i]},e.prototype.parseOnlyString=function(e,t,r){var n=new i.default(e,t,r);return[n.exec(),n]},e.prototype.afterParsed=function(e){return e},e.prototype.slim=function(e){return this.keepSpace?e:e.trim()},e.prototype.beforeMergeSpace=function(e){return e},e.prototype.mergeSpace=function(e,t,r){return this.keepSpace&&"pre"!==this.tagName?e.endsWith("\n")?e:e+r.replace(/\n+/g,"\n"):t+e+r},e.prototype.afterMergeSpace=function(e){return e}
54,e.prototype.beforeReturn=function(e){return(0,n.isSpacePassingTag)(this.prevTagName)&&(0,n.isSpacePassingTag)(this.tagName)&&this.hasStartSpace&&!/^\s+/.test(e)&&!/\s+$/.test(this.prevTagStr)?" "+e:e},e.prototype.exec=function(e,t){void 0===e&&(e=""),void 0===t&&(t="");for(var r=this.beforeParse(),i=(0,n.generateGetNextValidTag)(this.innerHTML),a=i(),s=a[0],u=a[1],l=null,c=!1,d=!1;""!==u;){var p,f=i(),h=f[0],m=f[1],g={parentTag:this.tagName,nextTagName:h,nextTagStr:m,prevTagName:l,prevTagStr:r,prevHasEndSpace:d,prevHasStartSpace:c,leadingSpace:this.leadingSpace,layer:this.layer,keepSpace:this.keepSpace,inTable:this.inTable,calcLeading:("li"===this.tagName||"ol"===this.tagName||"ul"===this.tagName)&&this.calcLeading},v=void 0,_=void 0;v=null!=s?(p=this.parseValidSubTag(u,s,g))[0]:(p=this.parseOnlyString(u,s,g))[0],d=(null==(_=p[1])?void 0:_.hasEndSpace)||!1,c=(null==_?void 0:_.hasStartSpace)||!1;var y=this.getValidSubTagName(s);s=h,u=m,null==y&&this.__isEmpty__(v)||(!this.keepSpace&&(0,o.default)(l)&&(0,o.default)(y)&&(r=r.replace(/\n+$/,"\n"),v=v.replace(/^\n+/,"\n")),l=y,this.isFirstSubTag=!1,r+=v)}return r=this.afterParsed(r),r=this.slim(r),this.__isEmpty__(r)?"":(r=this.beforeMergeSpace(r),!this.noExtraLine&&(0,o.default)(this.tagName)&&this.prevTagName&&!r.startsWith("\n")&&!(0,o.default)(this.prevTagName)&&this.parentTag&&(e="\n\n"),r=this.mergeSpace(r,e,t),this.noWrap&&!this.keepSpace&&(r=r.replace(/\s+/g," ")),r=this.afterMergeSpace(r),r=this.beforeReturn(r))},e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldRenderRawInside=t.isSpacePassingTag=t.isIndependentTag=t.clearComment=t.getLanguage=t.getTableAlign=t.getTagAttributes=t.isSelfClosing=t.generateGetNextValidTag=t.getTagConstructor=t.getRealTagName=t.unescapeStr=t.extraEscape=void 0;var n=r(46);Object.defineProperty(t,"extraEscape",{enumerable:!0,get:function(){return n.extraEscape}}),Object.defineProperty(t,"unescapeStr",{enumerable:!0,get:function(){return n.unescapeStr}}),t.generateGetNextValidTag=r(47).default,t.getTagConstructor=r(48).default,t.isSelfClosing=r(11).default,t.getTagAttributes=r(51).default,t.getLanguage=r(52).default,t.clearComment=r(53).default,t.getRealTagName=r(13).default,t.isIndependentTag=r(7).default,t.isSpacePassingTag=r(54).default,t.getTableAlign=r(55).default,t.shouldRenderRawInside=r(56).default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){var t=void 0===e?{}:e,r=t.skipTags,n=t.emptyTags,i=t.ignoreTags,a=t.aliasTags,o=t.renderCustomTags,s=t.tagListener;this.options={skipTags:void 0===r?[]:r,emptyTags:void 0===n?[]:n,ignoreTags:void 0===i?[]:i,aliasTags:void 0===a?{}:a,renderCustomTags:void 0===o||o,tagListener:void 0===s?function(e,t){return t}:s}}return e.prototype.get=function(){return this.options},e.prototype.clear=function(){this.options={}},e.prototype.set=function(e,t){var r=this;e&&"[object Object]"===Object.prototype.toString.call(e)&&Object.keys(e).forEach(function(n){t?r.options[n]=e[n]:function(e,t,r){if(!(r in e))return e[r]=t[r];var n=Array.isArray(e[r]),i="[object Object]"===Object.prototype.toString.call(e[r]);e[r]=n?e[r].concat(t[r]):i?Object.assign(e[r],t[r]):t[r]}(r.options,e,n)})},e.prototype.reset=function(){this.options=JSON.parse(JSON.stringify(i)),this.options.tagListener=function(e,t){return t}},e}(),i={ignoreTags:["","style","head","!doctype","form","svg","noscript","script","meta"],skipTags:["div","html","body","nav","section","footer","main","aside","article","header"],emptyTags:[],aliasTags:{figure:"p",dl:"p",dd:"p",dt:"p",figcaption:"p"},renderCustomTags:!0},a=new n;a.reset(),t.default=a},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});
54Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r){void 0===r&&(r="h1");var n=e.call(this,t,r)||this;return n.match="#",n}return i(t,e),t.prototype.beforeMergeSpace=function(e){return this.match+" "+e},t.prototype.exec=function(t,r){return t||(t="\n"),r||(r="\n"),e.prototype.exec.call(this,t,r)},t}(r(0).default)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),i=r(2);t.default=function(){function e(e,t,r){var n=void 0===r?{}:r,i=n.parentTag,a=n.leadingSpace,o=n.layer,s=n.isFirstSubTag,u=n.inTable,l=n.match,c=n.prevTagName,d=n.nextTagName;if(this.tagName=t,this.rawStr=e,this.parentTag=void 0===i?"":i,this.isFirstSubTag=void 0!==s&&s,this.prevTagName=void 0===c?"":c,this.nextTagName=void 0===d?"":d,this.leadingSpace=void 0===a?"":a,this.layer=void 0===o?1:o,this.innerHTML="",this.match=void 0===l?null:l,this.inTable=void 0!==u&&u,this.__detectStr__(e,this.tagName)){var p=this.__fetchTagAttr__(e).attr;this.attrs=p}else this.attrs={}}return e.prototype.__detectStr__=function(e,t){if("<"!==e[0])return"Not a valid tag, current tag name: ".concat(this.tagName,", tag content: ").concat(e),!1;for(var r="",n=!1,i=1;i<e.length&&">"!==e[i];i++)!n&&/(\s|\/)/.test(e[i])&&(n=!0),n||(r+=e[i]);return r===t},e.prototype.__fetchTagAttr__=function(e){for(var t="",r=1;r<e.length&&">"!==e[r];r++)t+=e[r];return{attr:(0,n.getTagAttributes)(t)}},e.prototype.beforeParse=function(){var e=i.default.get().tagListener;if(e){var t=e(this.tagName,{parentTag:this.parentTag,prevTagName:this.prevTagName,nextTagName:this.nextTagName,isFirstSubTag:this.isFirstSubTag,attrs:this.attrs,innerHTML:this.innerHTML,match:this.match,isSelfClosing:!0}),r=t.attrs,n=t.match;this.attrs=r,this.match=n}return""},e.prototype.beforeMergeSpace=function(e){return e},e.prototype.afterMergeSpace=function(e){return e},e.prototype.beforeReturn=function(e){return e},e.prototype.exec=function(e,t){void 0===e&&(e=""),void 0===t&&(t="");var r=this.beforeParse();return r=e+(r=this.beforeMergeSpace(r))+t,r=this.afterMergeSpace(r),r=this.beforeReturn(r)},e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(){}return e.prototype.exec=function(){return""},e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TRIPLE=t.DOUBLE=t.SINGLE=void 0,t.SINGLE="☈",t.DOUBLE="☈☈",t.TRIPLE="☈☈☈"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(13),i={html:!0,body:!0,p:!0,div:!0,pre:!0,section:!0,blockquote:!0,aside:!0,li:!0,ul:!0,ol:!0,form:!0,hr:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,dl:!0,dd:!0,dt:!0,br:!0,table:!0};t.default=function(e){if(!e)return!1;var t=(0,n.default)(e);return!!t&&!!i[t]}},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.__EmptySelfClose__=t.__Empty__=void 0;var o=r(0),s=r(4);t.__Empty__=function(e){function t(t,r,n){return void 0===r&&(r="__empty__"),e.call(this,t,r,n)||this}return i(t,e),t.prototype.slim=function(e){return e},t.prototype.parseValidSubTag=function(r,n,i){if("__skip__"===this.tagName)return e.prototype.parseValidSubTag.call(this,r,n,i);var o=new t(r,n,a({},i));return[o.exec(),o]},t.prototype.parseOnlyString=function(t,r,n){return"__skip__"===this.tagName?e.prototype.parseOnlyString.call(this,t,r,n):[t,null]},t.prototype.exec=function(){return e.prototype.exec.call(this,"","")},t}(o.default),t.__EmptySelfClose__=function(e){function t(t,r){void 0===r&&(r="__emptyselfclose__");var n=e.call(this,t,r)||this;return n.tagName=r,n}return i(t,e),t.prototype.exec=function(){return e.prototype.exec.call(this,"","")},t}(s.default)},function(e,t,r){"use strict";
54var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.__SkipSelfClose__=t.__Skip__=void 0;var a=r(0),o=r(4),s=r(1);t.__Skip__=function(e){function t(t,r,n){void 0===r&&(r="__skip__");var i=e.call(this,t,r,n)||this;return i.noNeedWrap=["td","th"],i}return i(t,e),t.prototype.exec=function(){var t=(0,s.isIndependentTag)((0,s.getRealTagName)(this.tagName))&&(!this.parentTag||!this.noNeedWrap.includes(this.parentTag));return e.prototype.exec.call(this,t?"\n":"",t?"\n":"")},t}(a.default),t.__SkipSelfClose__=function(e){function t(t,r,n){return void 0===r&&(r="__skipselfclose__"),e.call(this,t,r,n)||this}return i(t,e),t.prototype.exec=function(){return""},t}(o.default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.__NoMatchSelfClose__=t.__NoMatch__=void 0;var a=r(0),o=r(4);t.__NoMatch__=function(e){function t(t,r){return void 0===r&&(r="__nomatch__"),e.call(this,t,r)||this}return i(t,e),t.prototype.beforeMergeSpace=function(e){return"<".concat(this.tagName,">").concat(e,"</").concat(this.tagName,">")},t.prototype.exec=function(){return e.prototype.exec.call(this,"","")},t}(a.default),t.__NoMatchSelfClose__=function(e){function t(t,r){return void 0===r&&(r="__nomatchselfclose__"),e.call(this,t,r)||this}return i(t,e),t.prototype.exec=function(){return"<".concat(this.tagName," />")},t}(o.default)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={img:!0,hr:!0,input:!0,br:!0,meta:!0,link:!0,"!doctype":!0,base:!0,col:!0,area:!0,param:!0,object:!0,embed:!0,keygen:!0,source:!0};t.default=function(e){return null!=e&&!!n[e.toLowerCase()]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),i=r(7);t.default=function(){function e(e,t,r){void 0===t&&(t="__nomatch__");var n=void 0===r?{}:r,i=n.keepSpace,a=n.prevTagName,o=n.nextTagName,s=n.prevTagStr,u=n.prevHasEndSpace,l=n.prevHasStartSpace,c=n.parentTag,d=n.calcLeading,p=n.layer,f=n.leadingSpace,h=n.inTable;this.tagName=t,this.nextTagName=void 0===o?"":o,this.prevTagName=void 0===a?"":a,this.parentTag=void 0===c?"":c,this.prevTagStr=void 0===s?"":s,this.keepSpace=void 0!==i&&i,this.calcLeading=void 0!==d&&d,this.leadingSpace=void 0===f?"":f,this.layer=void 0===p?1:p,this.rawStr=e,this.inTable=void 0!==h&&h,this.prevHasEndSpace=void 0!==u&&u,this.prevHasStartSpace=void 0!==l&&l,this.hasEndSpace=!1,this.hasStartSpace=!1,e.startsWith(" ")&&(this.hasStartSpace=!0),e.endsWith(" ")&&(this.hasEndSpace=!0)}return e.prototype.slim=function(e){if(this.keepSpace)return e;var t=e.replace(/\s+/g," ");return(0,i.default)(this.prevTagName)&&(t=t.trimLeft()),(0,i.default)(this.nextTagName)&&(t=t.trimRight()),t},e.prototype.beforeReturn=function(e){if(this.keepSpace)return e;if(this.calcLeading)return this.leadingSpace+(0,n.extraEscape)(e);var t=(0,n.extraEscape)(e);return this.inTable&&(t=t.replace(/\|/g,"\\|")),this.prevTagName,this.prevHasEndSpace,this.prevTagStr,(0,n.isSpacePassingTag)(this.prevTagName)&&this.prevHasEndSpace&&!/^\s+/.test(e)&&!/\s+$/.test(this.prevTagStr)?" "+e:t},e.prototype.exec=function(){var e=this.rawStr;return e=this.slim(e),e=this.beforeReturn(e)},e}()},function(e,t,r){"use strict";
54Object.defineProperty(t,"__esModule",{value:!0});var n=r(2);t.default=function(e){if(!e)return e;var t=n.default.get().aliasTags;return null!=(null==t?void 0:t[e])?t[e]:e}},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r,n){void 0===r&&(r="strong");var i=e.call(this,t,r,n)||this;return i.layer=1,i.match=i.match||"**",i}return i(t,e),t.prototype.beforeMergeSpace=function(e){return this.match+e+this.match},t.prototype.exec=function(t,r){return void 0===t&&(t=""),void 0===r&&(r=""),null!=this.match&&this.prevTagStr&&!this.prevTagStr.endsWith("\\"+this.match[0])&&this.prevTagStr.endsWith(this.match[0])&&(t=" "),e.prototype.exec.call(this,t,r)},t}(r(0).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r){void 0===r&&(r="del");var n=e.call(this,t,r)||this;return n.match=n.match||"~~",n}return i(t,e),t.prototype.beforeMergeSpace=function(e){return this.match+e+this.match},t.prototype.exec=function(t,r){return void 0===t&&(t=""),void 0===r&&(r=""),e.prototype.exec.call(this,t,r)},t}(r(0).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r,n){void 0===r&&(r="em");var i=e.call(this,t,r,n)||this;return i.match=i.match||"*",i}return i(t,e),t.prototype.beforeMergeSpace=function(e){return this.match+e+this.match},t.prototype.exec=function(t,r){return void 0===t&&(t=""),void 0===r&&(r=""),"strong"===this.parentTag&&this.nextTagStr&&(r=" "),null!=this.match&&this.prevTagStr&&!this.prevTagStr.endsWith("\\"+this.match)&&this.prevTagStr.endsWith(this.match)&&(t=" "),e.prototype.exec.call(this,t,r)},t}(r(0).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r,n){void 0===r&&(r="th");var i=e.call(this,t,r,n)||this;return i.tagName=r,i}return i(t,e),t.prototype.beforeMergeSpace=function(e){return e+"|"},t.prototype.parseValidSubTag=function(t,r,n){return"ul"===r||"ol"===r||"table"===r||"pre"===r?[t.replace(/([\n\r])/g,""),null]:e.prototype.parseValidSubTag.call(this,t,r,n)},t.prototype.exec=function(t,r){return void 0===t&&(t=""),void 0===r&&(r=""),e.prototype.exec.call(this,t,r)},t}(r(0).default)},function(e,t,r){"use strict";
54var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r,n){return void 0===r&&(r="a"),e.call(this,t,r,n)||this}return i(t,e),t.prototype.beforeMergeSpace=function(e){var t=this.attrs,r=t.href,n=t.title,i=r||"";return n?"[".concat(e,"](").concat(i,' "').concat(n,'")'):"[".concat(e,"](").concat(i,")")},t.prototype.parseOnlyString=function(t,r,n){return"tbody"===this.parentTag||"thead"===this.parentTag?[t,null]:e.prototype.parseOnlyString.call(this,t,r,n)},t.prototype.exec=function(t,r){return void 0===t&&(t=""),void 0===r&&(r=""),e.prototype.exec.call(this,t,r)},t}(r(0).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r,n){return void 0===r&&(r="b"),e.call(this,t,r,n)||this}return i(t,e),t.prototype.exec=function(t,r){return e.prototype.exec.call(this,t,r)},t}(r(14).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=r(7),s=r(0),u=r(1);t.default=function(e){function t(t,r,n){void 0===r&&(r="blockquote");var i=e.call(this,t,r,n)||this;return i.match=i.match||">",i.fillPerLine=i.fillPerLine.bind(i),i}return i(t,e),t.prototype.beforeMergeSpace=function(e){if(""===e.trim())return"";var t=this.match+" "+e;return this.calcLeading?this.leadingSpace+t:t},t.prototype.afterMergeSpace=function(e){for(var t=this,r=e.split("\n"),n=r.length-1;n>=0;n--)n<r.length-1&&">"===r[n].trim()&&">"===r[n+1].trim()&&r.splice(n,1);return(r=r.map(function(e){return""===e?"":t.fillPerLine(e)})).join("\n")},t.prototype.beforeReturn=function(e){return e.replace("\n\n","\n")},t.prototype.fillPerLine=function(e){var t=">";if(this.calcLeading&&(t=this.leadingSpace+">"),!e.startsWith(t)){var r=this.match+" "+e;return this.calcLeading?this.leadingSpace+r:r}return e},t.prototype.parseValidSubTag=function(e,t,r){var n="blockquote"===t?new((0,u.getTagConstructor)(t))(e,t,a(a({},r),{calcLeading:this.calcLeading,match:this.match+">",noExtraLine:!0})):new((0,u.getTagConstructor)(t))(e,t,a(a({},r),{noExtraLine:!0})),i=n.exec(),s="";this.calcLeading&&(s=this.leadingSpace);var l=(0,o.default)(r.prevTagName)&&"br"!==r.prevTagName,c=(0,o.default)(r.nextTagName)&&"br"!==r.nextTagName,d=(0,o.default)(t)&&"br"!==t;return this.isFirstSubTag?[i.trimLeft().replace(s,""),n]:d?(i=s+this.match+i,l||(i="\n"+i),!c&&r.nextTagStr&&r.nextTagStr.trim()&&(i+=this.match+"\n"),[i,n]):l?[s+this.match+"\n"+i,n]:[i,n]},t.prototype.exec=function(t,r){return void 0===t&&(t="\n"),void 0===r&&(r="\n"),e.prototype.exec.call(this,t,r)},t}(s.default)},function(e,t,r){"use strict";
54var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r,n){return void 0===r&&(r="b"),e.call(this,t,r,n)||this}return i(t,e),t.prototype.exec=function(e,t){return void 0===t&&(t="\n"),this.inTable?"":"  "+t},t}(r(4).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=r(0),s=r(1);t.default=function(e){function t(t,r,n){void 0===r&&(r="code");var i=e.call(this,t,r,n)||this;return i.match=null==i.match?"`":i.match,i.noWrap="`"===i.match,i.layer=1,i}return i(t,e),t.prototype.beforeMergeSpace=function(e){var t,r;return""!==this.match&&"`"!==this.match?(t=this.match+" ",r=" "+this.match):(t=this.match,r=this.match),t+e+r},t.prototype.parseValidSubTag=function(e,t,r){var n;return"pre"===t?[(n=new((0,s.getTagConstructor)(t))(e,t,a(a({},r),{language:"",match:""}))).exec("","\n"),n]:[(n=new((0,s.getTagConstructor)(t))(e,t,a(a({},r),{keepSpace:this.keepSpace,noWrap:this.noWrap}))).exec("",""),n]},t.prototype.parseOnlyString=function(e){if(""!==this.match&&e){var t=1;(e.startsWith("`")||e.endsWith("`"))&&(t=2,(e.startsWith("``")||e.endsWith("``"))&&(t=3)),this.match="`".repeat(t)}return[(0,s.unescapeStr)(e),null]},t.prototype.slim=function(e){return this.keepSpace?e:e.trim()},t.prototype.exec=function(t,r){return void 0===t&&(t=""),void 0===r&&(r=""),e.prototype.exec.call(this,t,r)},t}(o.default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r){void 0===r&&(r="h1");var n=e.call(this,t,r)||this;return n.match="#",n}return i(t,e),t.prototype.exec=function(t,r){return void 0===t&&(t="\n"),void 0===r&&(r="\n"),e.prototype.exec.call(this,t,r)},t}(r(3).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r){void 0===r&&(r="h2");var n=e.call(this,t,r)||this;return n.match="##",n}return i(t,e),t.prototype.exec=function(t,r){return void 0===t&&(t="\n"),void 0===r&&(r="\n"),e.prototype.exec.call(this,t,r)},t}(r(3).default)},function(e,t,r){"use strict";
54var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r){void 0===r&&(r="h3");var n=e.call(this,t,r)||this;return n.match="###",n}return i(t,e),t.prototype.exec=function(t,r){return void 0===t&&(t="\n"),void 0===r&&(r="\n"),e.prototype.exec.call(this,t,r)},t}(r(3).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r){void 0===r&&(r="h4");var n=e.call(this,t,r)||this;return n.match="####",n}return i(t,e),t.prototype.exec=function(t,r){return void 0===t&&(t="\n"),void 0===r&&(r="\n"),e.prototype.exec.call(this,t,r)},t}(r(3).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r){void 0===r&&(r="h5");var n=e.call(this,t,r)||this;return n.match="#####",n}return i(t,e),t.prototype.exec=function(t,r){return void 0===t&&(t="\n"),void 0===r&&(r="\n"),e.prototype.exec.call(this,t,r)},t}(r(3).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r){void 0===r&&(r="h6");var n=e.call(this,t,r)||this;return n.match="######",n}return i(t,e),t.prototype.exec=function(t,r){return void 0===t&&(t="\n"),void 0===r&&(r="\n"),e.prototype.exec.call(this,t,r)},t}(r(3).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r,n){void 0===r&&(r="hr");var i=e.call(this,t,r,n)||this;return i.match="---",i}return i(t,e),t.prototype.beforeMergeSpace=function(){return this.leadingSpace+this.match},t.prototype.beforeReturn=function(e){return e.replace(/^(?:\n\s*)/,"\n\n").replace(/(?:\n\s*)$/,"\n\n"),e},t.prototype.exec=function(t,r){return void 0===t&&(t="\n"),void 0===r&&(r="\n"),e.prototype.exec.call(this,t,r)},t}(r(4).default)},function(e,t,r){"use strict";
54var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r,n){return void 0===r&&(r="i"),e.call(this,t,r,n)||this}return i(t,e),t.prototype.exec=function(t,r){return e.prototype.exec.call(this,t,r)},t}(r(16).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r,n){return void 0===r&&(r="img"),e.call(this,t,r,n)||this}return i(t,e),t.prototype.beforeMergeSpace=function(){var e=this.attrs,t=e.src,r=e.alt;return r||(r=""),t||(t=""),"![".concat(r,"](").concat(t,")")},t.prototype.exec=function(t,r){return void 0===t&&(t=""),void 0===r&&(r=""),e.prototype.exec.call(this,t,r)},t}(r(4).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r,n){return void 0===r&&(r="input"),e.call(this,t,r,n)||this}return i(t,e),t.prototype.beforeMergeSpace=function(){var e=this.attrs,t=e.type,r=e.checked;return"li"===this.parentTag&&"checkbox"===t?null!=r?"[x] ":"[ ] ":""},t.prototype.exec=function(t,r){return void 0===t&&(t=""),void 0===r&&(r=""),e.prototype.exec.call(this,t,r)},t}(r(4).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=r(0),s=r(1),u=r(7),l=r(6);t.default=function(e){function t(t,r,n){void 0===r&&(r="li");var i=e.call(this,t,r,n)||this;return i.match=i.match||"*",i.extraGap="",i}return i(t,e),t.prototype.beforeMergeSpace=function(e){return this.extraGap+this.leadingSpace+this.match+" "+e},t.prototype.__calcNextLeading__=function(){var e,t,r;return 1===(null==(e=this.match)?void 0:e.length)?l.DOUBLE:2===(null==(t=this.match)?void 0:t.length)?l.TRIPLE:3===(null==(r=this.match)?void 0:r.length)?l.DOUBLE:l.TRIPLE+l.DOUBLE},t.prototype.parseValidSubTag=function(e,t,r){var n=(0,s.getTagConstructor)(t),i=this.__calcNextLeading__(),o=new n(e,t,a(a({},r),{calcLeading:!0,leadingSpace:this.leadingSpace+i,layer:this.layer+1})),u=o.exec();return"p"===t&&(this.extraGap="\n"),this.isFirstSubTag?[u.trimLeft().replace(this.leadingSpace+i,""),o]:[u,o]},t.prototype.parseOnlyString=function(t,r,n){var i=!1;(0,u.default)(n.prevTagName)&&(i=!0);var o=this.__calcNextLeading__(),s=e.prototype.parseOnlyString.call(this,t,r,a(a({}
54,n),{calcLeading:i,leadingSpace:this.leadingSpace+o,layer:this.layer+1})),l=s[0],c=s[1];return this.isFirstSubTag?[l.replace(this.leadingSpace+o,""),c]:[l,c]},t.prototype.beforeReturn=function(t){return e.prototype.beforeReturn.call(this,t)},t.prototype.exec=function(t,r){return void 0===t&&(t="\n"),void 0===r&&(r="\n"),e.prototype.exec.call(this,t,r)},t}(o.default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=r(0),s=r(5),u=r(1),l=r(2);t.default=function(e){function t(t,r,n){void 0===r&&(r="ol");var i,a=this,o=parseInt(null==(i=null==(a=e.call(this,t,r,n)||this)?void 0:a.attrs)?void 0:i.start,10);return a.count=isNaN(o)?1:o,a}return i(t,e),t.prototype.__isValidSubTag__=function(e){if(!e)return!1;var t=l.default.get().aliasTags,r=(0,u.getTagConstructor)(e);return"li"===e||"li"==(null==t?void 0:t[e])||r===s.default},t.prototype.getValidSubTagName=function(e){return e&&this.__isValidSubTag__(e)?e:null},t.prototype.parseValidSubTag=function(e,t,r){var n=(0,u.getTagConstructor)(t);if(this.__isValidSubTag__(t)){var i=this.count+".",o=new n(e,t,a(a({},r),{calcLeading:!0,leadingSpace:this.leadingSpace,layer:this.layer,match:i}));return this.count++,[o.exec("","\n"),o]}return["",null]},t.prototype.parseOnlyString=function(){return["",null]},t.prototype.exec=function(t,r){return void 0===t&&(t="\n"),void 0===r&&(r="\n"),e.prototype.exec.call(this,t,r)},t}(o.default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r,n){return void 0===r&&(r="p"),e.call(this,t,r,n)||this}return i(t,e),t.prototype.beforeMergeSpace=function(e){return this.calcLeading?this.leadingSpace+e:e},t.prototype.exec=function(t,r){return void 0===t&&(t="\n"),void 0===r&&(r="\n"),this.prevTagName||!this.prevTagStr||this.prevTagStr.endsWith("\n")||(t="\n\n"),this.nextTagName||!this.nextTagStr||this.nextTagStr.startsWith("\n")||(r="\n\n"),e.prototype.exec.call(this,t,r)},t}(r(0).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=r(0),s=r(8),u=r(1),l=r(6);t.default=function(e){function t(t,r,n){void 0===r&&(r="pre");var i=e.call(this,t,r,n)||this;return i.indentSpace=l.DOUBLE+l.DOUBLE,i.isIndent=i.innerHTML.includes("```"),i.match=i.isIndent?"":"```",i.language=i.language||(0,u.getLanguage)(t),i.keepSpace=!0,i}
54return i(t,e),t.prototype.beforeMergeSpace=function(e){var t=this.isIndent||"code"===this.parentTag?"":this.match+this.language+"\n",r="";return e.endsWith("\n")||(r="\n"),t+e+(this.isIndent||"code"===this.parentTag?"":r+this.match)},t.prototype.fillPerLine=function(e){var t="";return this.calcLeading&&(t=this.leadingSpace),this.isIndent?t+this.indentSpace+e:t+e},t.prototype.afterMergeSpace=function(e){var t=this,r=e.split("\n");return(r=r.map(function(e){return""===e?"":t.fillPerLine(e)})).join("\n")},t.prototype.parseValidSubTag=function(e,t,r){if("code"===t){var n=new((0,u.getTagConstructor)(t))(e,t,a(a({},r),{match:"",language:this.language,keepSpace:!0}));return[n.exec("",""),n]}var i=void 0;return[(i=(0,u.isSelfClosing)(t)?new s.__EmptySelfClose__(e,t):new s.__Empty__(e,t,a(a({},r),{keepSpace:!0}))).exec(),i]},t.prototype.parseOnlyString=function(e){return[e,null]},t.prototype.slim=function(e){return e},t.prototype.exec=function(t,r){return void 0===t&&(t="\n"),void 0===r&&(r="\n"),e.prototype.exec.call(this,t,r)},t}(o.default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r){return void 0===r&&(r="s"),e.call(this,t,r)||this}return i(t,e),t.prototype.exec=function(t,r){return e.prototype.exec.call(this,t,r)},t}(r(15).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r,n){return void 0===r&&(r="span"),e.call(this,t,r,n)||this}return i(t,e),t.prototype.exec=function(t,r){return void 0===t&&(t=""),void 0===r&&(r=""),e.prototype.exec.call(this,t,r)},t}(r(0).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=r(0),s=r(1);t.default=function(e){function t(t,r,n){void 0===r&&(r="table");var i=e.call(this,t,r,n)||this;return i.exist_thead=!1,i.exist_tbody=!1,i.empty_tbody=!0,i.tableColumnCount=function(e){for(var t="",r=0;r<e.length&&!t.endsWith("</tr>");r++)t+=e[r];return Math.max(t.split("</td>").length-1,t.split("</th>").length-1)}(i.innerHTML),i}return i(t,e),t.prototype.parseValidSubTag=function(e,t,r){"thead"===t&&(this.exist_thead=!0),"tbody"===t&&(this.exist_tbody=!0,this.empty_tbody=!1),"tr"===t&&(this.empty_tbody=!1);var n=new((0,s.getTagConstructor)(t))(e,t,a(a({},r),{tableColumnCount:this.tableColumnCount,inTable:!0}));return[n.exec("","\n"),n]},t.prototype.parseOnlyString=function(){return["",null]},t.prototype.beforeReturn=function(e){if(!this.exist_thead&&!this.exist_tbody&&this.empty_tbody||0===this.tableColumnCount)return"";if(!this.exist_tbody){for(var t=(0,s.getTableAlign)(this.innerHTML,this.tableColumnCount),r=this.leadingSpace+"|",n=0;n<t.length;n++)r+=t[n];e=this.empty_tbody?e+r+"\n":r+""+e}return this.exist_thead||(e="\n"+this.leadingSpace+"|".repeat(this.tableColumnCount+1)+(e.startsWith("\n")?"":"\n")+e),e},t.prototype.exec=function(t,r){return void 0===t&&(t="\n"),void 0===r&&(r="\n"),e.prototype.exec.call(this,t,r)},t}(o.default)},function(e,t,r){"use strict";
54var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),o=r(1);t.default=function(e){function t(t,r,n){return void 0===r&&(r="tbody"),e.call(this,t,r,n)||this}return i(t,e),t.prototype.beforeMergeSpace=function(e){for(var t=(0,o.getTableAlign)(this.innerHTML,this.tableColumnCount),r=this.leadingSpace+"|",n=0;n<t.length;n++)r+=t[n];return r+"\n"+e},t.prototype.parseOnlyString=function(){return["",null]},t.prototype.exec=function(t,r){return void 0===t&&(t=""),void 0===r&&(r=""),e.prototype.exec.call(this,t,r)},t}(a.default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r,n){return void 0===r&&(r="td"),e.call(this,t,r,n)||this}return i(t,e),t.prototype.parseValidSubTag=function(t,r,n){return"ul"===r||"ol"===r||"table"===r||"pre"===r?[t.replace(/([\n\r])/g,""),null]:e.prototype.parseValidSubTag.call(this,t,r,n)},t.prototype.exec=function(t,r){return void 0===t&&(t=""),void 0===r&&(r=""),e.prototype.exec.call(this,t,r)},t}(r(17).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,r,n){return void 0===r&&(r="thead"),e.call(this,t,r,n)||this}return i(t,e),t.prototype.exec=function(t,r){return void 0===t&&(t=""),void 0===r&&(r=""),e.prototype.exec.call(this,t,r)},t}(r(0).default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),o=r(5),s=r(1),u=r(2);t.default=function(e){function t(t,r,n){return void 0===r&&(r="tr"),e.call(this,t,r,n)||this}return i(t,e),t.prototype.beforeMergeSpace=function(e){return this.leadingSpace+"|"+e},t.prototype.parseValidSubTag=function(e,t,r){var n=u.default.get().aliasTags,i=(0,s.getTagConstructor)(t);if("td"!==t&&"th"!==t&&"td"!==(null==n?void 0:n[t])&&"th"!==(null==n?void 0:n[t])&&i!==o.default)return["",null];var a=new i(e,t,r);return[a.exec("",""),a]},t.prototype.parseOnlyString=function(){return["",null]},t.prototype.exec=function(t,r){return void 0===t&&(t=""),void 0===r&&(r="\n"),e.prototype.exec.call(this,t,r)},t}(a.default)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]}
54)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=r(0),s=r(5),u=r(1),l=r(2).default.get().aliasTags;t.default=function(e){function t(t,r,n){return void 0===r&&(r="ul"),e.call(this,t,r,n)||this}return i(t,e),t.prototype.__isValidSubTag__=function(e){if(!e)return!1;var t=(0,u.getTagConstructor)(e);return"li"===e||"li"==(null==l?void 0:l[e])||t===s.default},t.prototype.getValidSubTagName=function(e){return e&&this.__isValidSubTag__(e)?e:null},t.prototype.parseValidSubTag=function(e,t,r){var n=(0,u.getTagConstructor)(t);if(this.__isValidSubTag__(t)){var i=new n(e,t,a(a({},r),{calcLeading:!0,leadingSpace:this.leadingSpace,layer:this.layer,match:"*"}));return[i.exec("","\n"),i]}return["",null]},t.prototype.parseOnlyString=function(){return["",null]},t.prototype.exec=function(t,r){return void 0===t&&(t="\n"),void 0===r&&(r="\n"),e.prototype.exec.call(this,t,r)},t}(o.default)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),i=r(2),a=r(6);t.default=function(e,t,r){void 0===r&&(r=!1),i.default.reset(),i.default.set(t,r),e=(e=(e=(0,n.clearComment)(e)).trim()).replace(/(\r\n)/g,"").replace(/&nbsp;/g," "),e="<".concat(a.DOUBLE,"skip").concat(a.DOUBLE,">").concat(e,"</").concat(a.DOUBLE,"skip").concat(a.DOUBLE,">");var o="",s="".concat(a.DOUBLE,"skip").concat(a.DOUBLE),u=e;return o+=new((0,n.getTagConstructor)(s))(u,s,{parentTag:null,prevTagName:null,prevTagStr:o}).exec(),(0,n.unescapeStr)(o).replace(/^\s+/,"").replace(/\s+$/,"").replace(/\u2608/g," ")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unescapeStr=t.extraEscape=void 0;var n={},i={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#x60;","“":"&ldquo;","”":"&rdquo;"};for(var a in i)n[i[a]]=a;var o=/&(?:amp|lt|gt|quot|#39|#x60|ldquo|rdquo);/g,s=RegExp(o.source),u=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];t.unescapeStr=function(e){return e&&s.test(e)?e.replace(o,function(e){return n[e]}):e},t.extraEscape=function(e){return u.reduce(function(e,t){return e.replace(t[0],t[1])},e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(11);function i(e,t){for(var r="";t<e.length&&/[a-zA-Z0-9!\-_]/.test(e[t]);)r+=e[t++];return r.toLowerCase()}t.default=function(e){var t=0;return function(){var r="",a=null,o=0,s=null,u=!1;if(t>=e.length)return[a,r];for(var l=t;l<e.length;l++){if("<"===e[l]&&"/"!==e[l+1]){if(""!==r&&null==a&&!u)return t=l,[a,r];var c=i(e,l+1);null==a&&(a=c),a===c&&o++,(0,n.default)(a)&&0==--o&&(u=!0)}else if("<"===e[l]&&"/"===e[l+1]){if(null==a){e.slice(t);for(var d=l;d<e.length&&">"!==e[d];)d++;l=d;continue}a===(s=i(e,l+2))&&o--,o<=0&&(u=!0)}if(r+=e[l],">"===e[l]&&u)return t=l+1,[a,r];l===e.length-1&&a!==s&&(null!=s&&null!=a&&(r=r.replace("<".concat(a,">"),"").replace("</".concat(s,">"),"")),a=null)}return t=e.length,[a,r]}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),i=r(6),a=r(11),o=r(49);t.default=function e(t){var s,u=n.default.get(),l=u.skipTags,c=u.emptyTags,d=u.ignoreTags,p=u.aliasTags,f=u.renderCustomTags,h=(0,a.default)(t);if((null==l?void 0:l.includes(t))||t==="".concat(i.DOUBLE,"skip").concat(i.DOUBLE)){var m=r(9);return h?m.__SkipSelfClose__:m.__Skip__}if(null==c?void 0:c.includes(t)){var g=r(8);return h?g.__EmptySelfClose__:g.__Empty__}if(null==d?void 0:d.includes(t))return r(5).default;if(null!=(null==p?void 0:p[t]))return e(p[t]);var v=t.toLowerCase();if(!0!==f&&!(0,o.default)(v)){if(!1===f||"SKIP"===f)return m=r(9),h?m.__SkipSelfClose__:m.__Skip__;if("EMPTY"===f)return g=r(8),h?g.__EmptySelfClose__:g.__Empty__;if("IGNORE"===f)return r(5).default}try{s=r(50)("./".concat(t)).default}catch(e){s=h?r(10).__NoMatchSelfClose__:r(10).__NoMatch__}return s}},function(e,t,r){"use strict";
54Object.defineProperty(t,"__esModule",{value:!0});var n=["!doctype","a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","circle","cite","clipPath","code","col","colgroup","command","content","data","datalist","dd","defs","del","details","dfn","dialog","dir","div","dl","dt","element","ellipse","em","embed","fieldset","figcaption","figure","font","footer","foreignObject","form","frame","frameset","g","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","line","linearGradient","link","listing","main","map","mark","marquee","mask","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","path","pattern","picture","plaintext","polygon","polyline","pre","progress","q","radialGradient","rb","rbc","rect","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","stop","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","text","textarea","tfoot","th","thead","time","title","tr","track","tspan","tt","u","ul","var","video","wbr","xmp"];t.default=function(e){return"string"==typeof e&&n.includes(e.toLowerCase())}},function(e,t,r){var n={"./__Heading__":3,"./__Heading__.ts":3,"./__empty__":8,"./__empty__.ts":8,"./__ignore__":5,"./__ignore__.ts":5,"./__nomatch__":10,"./__nomatch__.ts":10,"./__rawString__":12,"./__rawString__.ts":12,"./__skip__":9,"./__skip__.ts":9,"./a":18,"./a.ts":18,"./b":19,"./b.ts":19,"./blockquote":20,"./blockquote.ts":20,"./br":21,"./br.ts":21,"./code":22,"./code.ts":22,"./del":15,"./del.ts":15,"./em":16,"./em.ts":16,"./h1":23,"./h1.ts":23,"./h2":24,"./h2.ts":24,"./h3":25,"./h3.ts":25,"./h4":26,"./h4.ts":26,"./h5":27,"./h5.ts":27,"./h6":28,"./h6.ts":28,"./hr":29,"./hr.ts":29,"./i":30,"./i.ts":30,"./img":31,"./img.ts":31,"./input":32,"./input.ts":32,"./li":33,"./li.ts":33,"./ol":34,"./ol.ts":34,"./p":35,"./p.ts":35,"./pre":36,"./pre.ts":36,"./s":37,"./s.ts":37,"./span":38,"./span.ts":38,"./strong":14,"./strong.ts":14,"./table":39,"./table.ts":39,"./tbody":40,"./tbody.ts":40,"./td":41,"./td.ts":41,"./th":17,"./th.ts":17,"./thead":42,"./thead.ts":42,"./tr":43,"./tr.ts":43,"./ul":44,"./ul.ts":44};function i(e){return r(a(e))}function a(e){if(!r.o(n,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=a,e.exports=i,i.id=50},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t={},r=!1,n="",i="",a=null,o=0;o<=e.length;o++){if(o===e.length||/\s/.test(e[o])){if(o===e.length||!r){var s=n.trim();"/"===s[s.length-1]&&(s=s.slice(0,s.length-1)),s&&(t[s]=i.trim()),n="",i=""}}else{if(/['"]/.test(e[o])&&(!a||e[o]===a)){(r=!r)&&(a=e[o]);continue}if("="===e[o]&&!r)continue}if(o===e.length)break;r?i+=e[o]:n+=e[o]}return t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.match(/<.*?class=".*?language-([^\s"]*)?.*".*>/);return t?t[1]||"":e.match(/<span.*?hljs-(comment|keyword|number|string|literal|built_in|function|title|bullet).*?<\/span>/)?"javascript":""}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/<!--(?:[\s\S]*?)-->/g,"")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(13),i={b:!0,a:!0,del:!0,em:!0,i:!0,s:!0,span:!0,strong:!0};t.default=function(e){if(null===e)return!0;if(!e)return!1;var t=(0,n.default)(e);return!!t&&!!i[t]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r={_default_:"---|",center:":---:|",left:":---|",right:"---:|",start:":---|",end:"---:|"},n=Array(t).fill(r._default_),i=e.match(/<(td|th)(.*?)>/g);return i?n=(n=i.slice(0,t)).map(function(e){var t=e.match(/align\s*=\s*['"]\s*(center|left|right|start|end)/),n=e.match(/text-align\s*:\s*(center|left|right|start|end)/);return t||n?t&&!n?r[t[1]]||r._default_:n?r[n[1]]||r._default_:void 0:r._default_}):n}},function(e,t,r){"use strict";
54Object.defineProperty(t,"__esModule",{value:!0}),t.default=["th","td"]}]).default}]);
55
56//# debugId=c3823aad-d567-ca1e-6caa-8138cb929078
57//# sourceMappingURL=0x-54u79np985.js.map

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