PageSourceSearch

https://web-cdn.bsky.app/static/js/3035.acfb0c22.js

js bsky.app collected 2026-09-24 07:33:27 UTC 3,645,819 bytes, 24 lines download raw bytes

1/*! For license information please see 3035.acfb0c22.js.LICENSE.txt */
2try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="648acbfb-4966-41a3-831e-d5065f374575",e._sentryDebugIdIdentifier="sentry-dbid-648acbfb-4966-41a3-831e-d5065f374575")}catch(e){}{let e="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{};e.SENTRY_RELEASE={id:"1.132.0"}}(self.webpackChunkweb=self.webpackChunkweb||[]).push([[3035],{67622(e,t,n){"use strict";n.r(t),n.d(t,{guessLanguageAsync:()=>o,guessLanguageSync:()=>s});var r=n(38143);const i={afr:"af",ara:"ar",aze:"az",bel:"be",ben:"bn",bul:"bg",cat:"ca",ces:"cs",ckb:"ckb",cmn:"zh",dan:"da",deu:"de",ell:"el",eng:"en",est:"et",eus:"eu",fin:"fi",fra:"fr",hau:"ha",heb:"he",hin:"hi",hrv:"hr",hun:"hu",hye:"hy",ind:"id",isl:"is",ita:"it",jpn:"ja",kat:"ka",kaz:"kk",kor:"ko",lit:"lt",mar:"mr",mkd:"mk",nld:"nl",nob:"nb",pes:"fa",pol:"pl",por:"pt",ron:"ro",run:"rn",rus:"ru",slk:"sk",spa:"es",srp:"sr",swe:"sv",tgl:"tl",tur:"tr",ukr:"uk",vie:"vi"};function a(e,t){if(!e.trim())return[];const n=(0,r.default)(e),a=[];for(const[r,o]of n){if(a.length>=t)break;const e=i[r];e&&a.push({language:e,confidence:o})}return a}function o(e,t){return Promise.resolve(a(e,t?.maxResults??10))}function s(e,t){return a(e,t?.maxResults??10)}},68933(e,t,n){"use strict";function r({children:e}){return e}function i(){}n.r(t),n.d(t,{ScrollEdgeEffect:()=>c,ScrollEdgeEffectProvider:()=>r,useScrollEdgeEffectRef:()=>i});var a=n(98587),o=n(60397),s=n(73929);const l=["edge","effect","children","style","fallbackStyle"];function c(e){let{children:t,style:n,fallbackStyle:r}=e,i=(0,a.default)(e,l);return(0,o.jsx)(s.default,Object.assign({style:[n,r]},i,{children:t}))}},35190(e){"use strict";const t=[];e.exports={registerAsset:function(e){return t.push(e)},getAssetByID:function(e){return t[e-1]}}},68168(e){"use strict";function t(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function n(e,n,r){const i=r<.5?r*(1+n):r+n-r*n,a=2*r-i,o=t(a,i,e+1/3),s=t(a,i,e),l=t(a,i,e-1/3);return Math.round(255*o)<<24|Math.round(255*s)<<16|Math.round(255*l)<<8}function r(e,n,r){if(n+r>=1){const e=Math.round(255*n/(n+r));return e<<24|e<<16|e<<8}const i=t(0,1,e+1/3)*(1-n-r)+n,a=t(0,1,e)*(1-n-r)+n,o=t(0,1,e-1/3)*(1-n-r)+n;return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*o)<<8}const i="[-+]?\\d*\\.?\\d+",a=i+"%";function o(...e){return"\\(\\s*("+e.join(")\\s*,?\\s*(")+")\\s*\\)"}function s(...e){return"\\(\\s*("+e.join(")\\s*(")+")\\s*\\)"}function l(...e){return"\\(\\s*("+e.slice(0,e.length-1).join(")\\s*,?\\s*(")+")\\s*/\\s*("+e[e.length-1]+")\\s*\\)"}function c(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}let u;function d(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function p(e){return(parseFloat(e)%360+360)%360/360}function f(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function h(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}e.exports=function(e){if("number"===typeof e)return e>>>0===e&&e>=0&&e<=4294967295?e:null;if("string"!==typeof e)return null;const t=function(){if(void 0===u){const e=o(i,i,i)+"|"+c(i,i,i,i)+"|"+l(i,i,i,i);u={rgb:new RegExp("rgb("+e+")"),rgba:new RegExp("rgba("+e+")"),hsl:new RegExp("hsl"+o(i,a,a)),hsla:new RegExp("hsla("+c(i,a,a,i)+"|"+l(i,a,a,i)+")"),hwb:new RegExp("hwb("+s(i,a,a)+"|"+l(i,a,a,i)+")"),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/}}return u}();let m;if(m=t.hex6.exec(e))return parseInt(m[1]+"ff",16)>>>0;const g=function(e){switch(e){case"transparent":return 0;case"aliceblue":return 4042850303;case"antiquewhite":return 4209760255;case"aqua":case"cyan":return 16777215;case"aquamarine":return 2147472639;case"azure":return 4043309055;case"beige":return 4126530815;case"bisque":return 4293182719;case"black":return 255;case"blanchedalmond":return 4293643775;case"blue":return 65535;case"blueviolet":return 2318131967;case"brown":return 2771004159;case"burlywood":return 3736635391;case"burntsienna":return 3934150143;case"cadetblue":return 1604231423;case"chartreuse":return 2147418367;case"chocolate":return 3530104575;case"coral":return 4286533887;case"cornflowerblue":return 1687547391;case"cornsilk":return 4294499583;case"crimson":return 3692313855;case"darkblue":return 35839;case"darkcyan":return 9145343;case"darkgoldenrod":return 3095792639;case"darkgray":case"darkgrey":return 2846468607;case"darkgreen":return 6553855;case"darkkhaki":return 3182914559;case"darkmagenta":return 2332068863;case"darkolivegreen":return 1433087999;case"darkorange":return 4287365375;case"darkorchid":return 2570243327;case"darkred":return 2332033279;case"darksalmon":return 3918953215;case"darkseagreen":return 2411499519;case"darkslateblue":return 1211993087;case"darkslategray":case"darkslategrey":return 793726975;
2case"darkturquoise":return 13554175;case"darkviolet":return 2483082239;case"deeppink":return 4279538687;case"deepskyblue":return 12582911;case"dimgray":case"dimgrey":return 1768516095;case"dodgerblue":return 512819199;case"firebrick":return 2988581631;case"floralwhite":return 4294635775;case"forestgreen":return 579543807;case"fuchsia":case"magenta":return 4278255615;case"gainsboro":return 3705462015;case"ghostwhite":return 4177068031;case"gold":return 4292280575;case"goldenrod":return 3668254975;case"gray":case"grey":return 2155905279;case"green":return 8388863;case"greenyellow":return 2919182335;case"honeydew":return 4043305215;case"hotpink":return 4285117695;case"indianred":return 3445382399;case"indigo":return 1258324735;case"ivory":return 4294963455;case"khaki":return 4041641215;case"lavender":return 3873897215;case"lavenderblush":return 4293981695;case"lawngreen":return 2096890111;case"lemonchiffon":return 4294626815;case"lightblue":return 2916673279;case"lightcoral":return 4034953471;case"lightcyan":return 3774873599;case"lightgoldenrodyellow":return 4210742015;case"lightgray":case"lightgrey":return 3553874943;case"lightgreen":return 2431553791;case"lightpink":return 4290167295;case"lightsalmon":return 4288707327;case"lightseagreen":return 548580095;case"lightskyblue":return 2278488831;case"lightslategray":case"lightslategrey":return 2005441023;case"lightsteelblue":return 2965692159;case"lightyellow":return 4294959359;case"lime":return 16711935;case"limegreen":return 852308735;case"linen":return 4210091775;case"maroon":return 2147483903;case"mediumaquamarine":return 1724754687;case"mediumblue":return 52735;case"mediumorchid":return 3126187007;case"mediumpurple":return 2473647103;case"mediumseagreen":return 1018393087;case"mediumslateblue":return 2070474495;case"mediumspringgreen":return 16423679;case"mediumturquoise":return 1221709055;case"mediumvioletred":return 3340076543;case"midnightblue":return 421097727;case"mintcream":return 4127193855;case"mistyrose":return 4293190143;case"moccasin":return 4293178879;case"navajowhite":return 4292783615;case"navy":return 33023;case"oldlace":return 4260751103;case"olive":return 2155872511;case"olivedrab":return 1804477439;case"orange":return 4289003775;case"orangered":return 4282712319;case"orchid":return 3664828159;case"palegoldenrod":return 4008225535;case"palegreen":return 2566625535;case"paleturquoise":return 2951671551;case"palevioletred":return 3681588223;case"papayawhip":return 4293907967;case"peachpuff":return 4292524543;case"peru":return 3448061951;case"pink":return 4290825215;case"plum":return 3718307327;case"powderblue":return 2967529215;case"purple":return 2147516671;case"rebeccapurple":return 1714657791;case"red":return 4278190335;case"rosybrown":return 3163525119;case"royalblue":return 1097458175;case"saddlebrown":return 2336560127;case"salmon":return 4202722047;case"sandybrown":return 4104413439;case"seagreen":return 780883967;case"seashell":return 4294307583;case"sienna":return 2689740287;case"silver":return 3233857791;case"skyblue":return 2278484991;case"slateblue":return 1784335871;case"slategray":case"slategrey":return 1887473919;case"snow":return 4294638335;case"springgreen":return 16744447;case"steelblue":return 1182971135;case"tan":return 3535047935;case"teal":return 8421631;case"thistle":return 3636451583;case"tomato":return 4284696575;case"turquoise":return 1088475391;case"violet":return 4001558271;case"wheat":return 4125012991;case"white":return 4294967295;case"whitesmoke":return 4126537215;case"yellow":return 4294902015;case"yellowgreen":return 2597139199}return null}(e);return null!=g?g:(m=t.rgba.exec(e)||t.rgb.exec(e))?void 0!==m[9]?(d(m[9])<<24|d(m[10])<<16|d(m[11])<<8|f(m[12]))>>>0:void 0!==m[5]?(d(m[5])<<24|d(m[6])<<16|d(m[7])<<8|f(m[8]))>>>0:(d(m[2])<<24|d(m[3])<<16|d(m[4])<<8|255)>>>0:(m=t.hex3.exec(e))?parseInt(m[1]+m[1]+m[2]+m[2]+m[3]+m[3]+"ff",16)>>>0:(m=t.hex8.exec(e))?parseInt(m[1],16)>>>0:(m=t.hex4.exec(e))?parseInt(m[1]+m[1]+m[2]+m[2]+m[3]+m[3]+m[4]+m[4],16)>>>0:(m=t.hsl.exec(e))?(255|n(p(m[1]),h(m[2]),h(m[3])))>>>0:(m=t.hsla.exec(e))?void 0!==m[6]?(n(p(m[6]),h(m[7]),h(m[8]))|f(m[9]))>>>0:(n(p(m[2]),h(m[3]),h(m[4]))|f(m[5]))>>>0:(m=t.hwb.exec(e))?void 0!==m[5]?(r(p(m[5]),h(m[6]),h(m[7]))|f(m[8]))>>>0:(255|r(p(m[2]),h(m[3]),h(m[4])))>>>0:null}},82029(e,t,n){"use strict";async function r(e){return{lowerBound:18,upperBound:null}}async function i(){return null}async function a(e){}async function o(){return null}n.r(t),n.d(t,{getRequiredRegulatoryFeaturesAsync:()=>o,isEligibleForAgeFeaturesAsync:()=>i,requestAgeRangeAsync:()=>r,showSignificantUpdateAcknowledgmentAsync:()=>a})},72360(e,t,n){"use strict";n.r(t),n.d(t,{ApplicationReleaseType:()=>a,applicationId:()=>c,applicationName:()=>l,getAndroidId:()=>u,getInstallReferrerAsync:()=>d,getInstallationTimeAsync:()=>m,getIosApplicationReleaseTypeAsync:()=>f,getIosIdForVendorAsync:()=>p,getIosPushNotificationServiceEnvironmentAsync:()=>h,getLastUpdateTimeAsync:()=>g,nativeApplicationVersion:()=>o,nativeBuildVersion:()=>s});var r=n(28945);const i={get applicationName(){return null},get bundleId(){return null},get nativeApplicationVersion(){return null},get nativeBuildVersion(){return null},get androidId(){return null},getInstallationTimeAsync:async()=>null};var a;!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.SIMULATOR=1]="SIMULATOR",e[e.ENTERPRISE=2]="ENTERPRISE",e[e.DEVELOPMENT=3]="DEVELOPMENT",e[e.AD_HOC=4]="AD_HOC",e[e.APP_STORE=5]="APP_STORE"}(a||(a={}));const o=i&&i.nativeApplicationVersion||null,s=i&&i.nativeBuildVersion||null,l=i&&i.applicationName||null,c=i&&i.applicationId||null;function u(){throw new r.UnavailabilityError("expo-application","androidId")}async function d(){if(!i.getInstallReferrerAsync)throw new r.UnavailabilityError("expo-application","getInstallReferrerAsync");return await i.getInstallReferrerAsync()}async function p(){if(!i.getIosIdForVendorAsync)throw new r.UnavailabilityError("expo-application","getIosIdForVendorAsync");return await i.getIosIdForVendorAsync()}async function f(){if(!i.getApplicationReleaseTypeAsync)throw new r.UnavailabilityError("expo-application","getApplicationReleaseTypeAsync");return await i.getApplicationReleaseTypeAsync()}async function h(){if(!i.getPushNotificationServiceEnvironmentAsync)throw new r.UnavailabilityError("expo-application","getPushNotificationServiceEnvironmentAsync");return await i.getPushNotificationServiceEnvironmentAsync()}async function m(){if(!i.getInstallationTimeAsync)throw new r.UnavailabilityError("expo-application","getInstallationTimeAsync");const e=await i.getInstallationTimeAsync();return new Date(e)}async function g(){if(!i.getLastUpdateTimeAsync)throw new r.UnavailabilityError("expo-application","getLastUpdateTimeAsync");const e=await i.getLastUpdateTimeAsync();return new Date(e)}},36393(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(98587),i=n(60397),a=n(36665),o=n(73929);function s(e,t){const n=e/100;switch(t){case"dark":case"systemMaterialDark":return`rgba(25,25,25,${.78*n})`;case"light":case"extraLight":case"systemMaterialLight":case"systemUltraThinMaterialLight":case"systemThickMaterialLight":return`rgba(249,249,249,${.78*n})`;case"default":case"prominent":case"systemMaterial":return`rgba(255,255,255,${.3*n})`;case"regular":return`rgba(179,179,179,${.82*n})`;case"systemThinMaterial":return`rgba(199,199,199,${.97*n})`;case"systemChromeMaterial":return`rgba(255,255,255,${.75*n})`;case"systemChromeMaterialLight":return`rgba(255,255,255,${.97*n})`;case"systemUltraThinMaterial":case"systemThickMaterial":return`rgba(191,191,191,${.44*n})`;case"systemThickMaterialDark":return`rgba(37,37,37,${.9*n})`;case"systemThinMaterialDark":return`rgba(37,37,37,${.7*n})`;case"systemUltraThinMaterialDark":return`rgba(37,37,37,${.55*n})`;case"systemChromeMaterialDark":return`rgba(0,0,0,${.75*n})`;case"systemThinMaterialLight":return`rgba(199,199,199,${.78*n})`}}const l=["tint","intensity","style"];function c({intensity:e,tint:t}){const n=`saturate(180%) blur(${.2*Math.min(e,100)}px)`;return{backgroundColor:s(Math.min(e,100),t),backdropFilter:n,WebkitBackdropFilter:n}}const u=(0,a.forwardRef)((e,t)=>{let{tint:n="default",intensity:s=50,style:u}=e,d=(0,r.default)(e,l);const p=(0,a.useRef)(null),f=c({tint:n,intensity:s});return(0,a.useImperativeHandle)(t,()=>({setNativeProps:e=>{if(!p.current?.style)return;const t=c({intensity:e.style?.intensity??s,tint:n??"default"});if(e.style)for(const n in e.style)"intensity"!==n&&(p.current.style[n]=e.style[n]);t.backgroundColor&&(p.current.style.backgroundColor=t.backgroundColor),t.backdropFilter&&(p.current.style.backdropFilter=t.backdropFilter),p.current.style.webkitBackdropFilter=t.WebkitBackdropFilter}}),[s,n]),(0,i.jsx)(o.default,Object.assign({},d,{style:[u,f],ref:p}))})},9443(e,t,n){"use strict";n.r(t),n.d(t,{ClipboardPasteButton:()=>_,ContentType:()=>r,StringFormat:()=>i,addClipboardListener:()=>R,getImageAsync:()=>A,getStringAsync:()=>w,getUrlAsync:()=>x,hasImageAsync:()=>I,hasStringAsync:()=>S,hasUrlAsync:()=>E,isPasteButtonAvailable:()=>D,removeClipboardListener:()=>O,setImageAsync:()=>T,setStringAsync:()=>k,setUrlAsync:()=>C});var r,i,a=n(28945),o=n(91808);class s extends o.CodedError{constructor(){super("ERR_CLIPBOARD_UNAVAILABLE","The 'AsyncCl
2ipboard' API is not available on this browser")}}class l extends o.CodedError{constructor(e){super("ERR_COPY_FAILURE",`Failed to copy to clipboard: ${e}`)}}class c extends o.CodedError{constructor(e){super("ERR_COPY_FAILURE",`Failed to paste from clipboard: ${e}`)}}class u extends o.CodedError{constructor(){super("ERR_NO_PERMISSION","User denied permission to access clipboard")}}function d(e){return new Promise((t,n)=>{const r=new FileReader;r.onloadend=()=>t(r.result),r.readAsDataURL(e)})}function p(e){const t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}function f(e){return new Promise((t,n)=>{const r=URL.createObjectURL(e),i=document.createElement("img");i.src=r,i.onload=function(){t({width:i.width,height:i.height})}})}async function h(e){for(const t of e)if(t.types.some(e=>"text/html"===e))return await t.getType("text/html");return null}async function m(){return"denied"===(await navigator.permissions.query({name:"clipboard-read"})).state}!function(e){e.PLAIN_TEXT="plain-text",e.HTML="html",e.IMAGE="image",e.URL="url"}(r||(r={})),function(e){e.PLAIN_TEXT="plainText",e.HTML="html"}(i||(i={}));const g={async getStringAsync(e){if(!navigator.clipboard)throw new s;try{if(e.preferredFormat===i.HTML){const e=await navigator.clipboard.read(),t=await h(e);return t?await new Response(t).text():await navigator.clipboard.readText()}{let e=await navigator.clipboard.readText();if(!e||""===e){const t=await navigator.clipboard.read(),n=await h(t);e=p(await(n?.text())??"")}return e}}catch(t){if("object"===typeof t&&"NotAllowedError"===t?.name||await m())throw new u;try{return window.clipboardData.getData("Text")}catch{return Promise.reject(new Error("Unable to retrieve item from clipboard"))}}},async setStringAsync(e,t){if(t.inputFormat===i.HTML){if(!navigator.clipboard)throw new s;try{const t=(n=e,new ClipboardItem({"text/html":new Blob([n],{type:"text/html"}),"text/plain":new Blob([p(n)],{type:"text/plain"})}));return await navigator.clipboard.write([t]),!0}catch(r){if("object"===typeof r&&"NotAllowedError"===r?.name||await m())throw new u;throw new l(r.message)}}try{if(!navigator.clipboard)throw new Error;return await navigator.clipboard.writeText(e),!0}catch{return function(e){const t=document.createElement("textarea");t.textContent=e,document.body.appendChild(t),t.select();try{return document.execCommand("copy"),!0}catch{return!1}finally{document.body.removeChild(t)}}(e)}var n},hasStringAsync:async()=>await y(["text/plain","text/html"]),async getImageAsync(e){if(!navigator.clipboard)throw new s;try{const e=await navigator.clipboard.read(),t=await async function(e){for(const t of e){if(t.types.some(e=>"image/png"===e))return await t.getType("image/png");if(t.types.some(e=>"image/jpeg"===e))return await t.getType("image/jpeg")}return null}(e);if(!t)return null;const[n,r]=await Promise.all([d(t),f(t)]);return{data:n,size:r}}catch(t){if("object"===typeof t&&"NotAllowedError"===t?.name||await m())throw new u;throw new c(t.message)}},async setImageAsync(e){if(!navigator.clipboard)throw new s;try{const t=function(e,t){t=t||"";const n=1024,r=atob(e),i=r.length,a=Math.ceil(i/n),o=new Array(a);for(let s=0;s<a;++s){const e=s*n,t=Math.min(e+n,i),a=new Array(t-e);for(let n=e,i=0;n<t;++i,++n){const e=r[n];null!=e&&(a[i]=e.charCodeAt(0))}o[s]=new Uint8Array(a)}return new Blob(o,{type:t})}(e,"image/png");await navigator.clipboard.write([new ClipboardItem({[t.type]:t})])}catch(t){throw new l(t.message)}},hasImageAsync:async()=>await y(["image/png","image/jpeg"]),addClipboardListener(){},removeClipboardListener(){}};async function y(e){if(!navigator.clipboard)throw new s;try{return(await navigator.clipboard.read()).flatMap(e=>e.types).some(t=>e.includes(t))}catch(t){if("object"===typeof t&&"NotAllowedError"===t?.name||await m())throw new u;throw t}}var v=n(98587);n(60397);const b=["onPress"];function _(e){let{onPress:t}=e;(0,v.default)(e,b);return null}async function w(e={}){if(!g.getStringAsync)throw new a.UnavailabilityError("Clipboard","getStringAsync");return await g.getStringAsync(e)}async function k(e,t={}){if(!g.setStringAsync)throw new a.UnavailabilityError("Clipboard","setStringAsync");return g.setStringAsync(e,t)}function S(){if(!g.hasStringAsync)throw new a.UnavailabilityError("Clipboard","hasStringAsync");return g.hasStringAsync()}async function x(){if(!g.getUrlAsync)throw new a.UnavailabilityError("Clipboard","getUrlAsync");return await g.getUrlAsync()}async function C(e){if(!g.setUrlAsync)throw new a.UnavailabilityError("Clipboard","setUrlAsync");return g.setUrlAsync(e)}
2async function E(){if(!g.hasUrlAsync)throw new a.UnavailabilityError("Clipboard","hasUrlAsync");return await g.hasUrlAsync()}async function A(e){if(!g.getImageAsync)throw new a.UnavailabilityError("Clipboard","getImageAsync");return await g.getImageAsync(e)}async function T(e){if(!g.setImageAsync)throw new a.UnavailabilityError("Clipboard","setImageAsync");return g.setImageAsync(e)}async function I(){if(!g.hasImageAsync)throw new a.UnavailabilityError("Clipboard","hasImageAsync");return g.hasImageAsync()}function R(e){return g.addListener("onClipboardChanged",e)}function O(e){e.remove()}const D=!1},58058(e,t,n){"use strict";n.r(t),n.d(t,{CalendarFormats:()=>V,ContactTypes:()=>B,ContainerTypes:()=>P,Fields:()=>M,PermissionStatus:()=>o.PermissionStatus,SortTypes:()=>L,addContactAsync:()=>y,addContactsChangeListener:()=>F,addExistingContactToGroupAsync:()=>E,addExistingGroupToContainerAsync:()=>k,createGroupAsync:()=>S,getContactByIdAsync:()=>g,getContactsAsync:()=>h,getContainersAsync:()=>O,getDefaultContainerIdAsync:()=>R,getGroupsAsync:()=>T,getPagedContactsAsync:()=>m,getPermissionsAsync:()=>D,hasContactsAsync:()=>p,isAvailableAsync:()=>d,onContactsChangeEventName:()=>u,presentAccessPickerAsync:()=>j,presentContactPickerAsync:()=>I,presentFormAsync:()=>w,removeContactAsync:()=>b,removeContactFromGroupAsync:()=>A,removeGroupAsync:()=>C,requestPermissionsAsync:()=>N,shareContactAsync:()=>f,updateContactAsync:()=>v,updateGroupNameAsync:()=>x,writeContactToFileAsync:()=>_});var r=n(98587),i=n(28945),a=n(1403),o=n(35992);const s={status:o.PermissionStatus.UNDETERMINED,canAskAgain:!0,granted:!1,expires:"never"},l={getPermissionsAsync:async()=>s,requestPermissionsAsync:async()=>s},c=["pageSize"],u="onContactsChange";async function d(){return!!l.getContactsAsync}async function p(){if(!l.hasContactsAsync)throw new i.UnavailabilityError("Contacts","hasContactsAsync");return await l.hasContactsAsync()}async function f(e,t,n={}){if(!l.shareContactAsync)throw new i.UnavailabilityError("Contacts","shareContactAsync");return await l.shareContactAsync(e,t)}async function h(e={}){if(!l.getContactsAsync)throw new i.UnavailabilityError("Contacts","getContactsAsync");return await l.getContactsAsync(e)}async function m(e={}){const{pageSize:t}=e,n=(0,r.default)(e,c);if(t&&t<=0)throw new Error("Error: Contacts.getPagedContactsAsync: `pageSize` must be greater than 0");return await h(Object.assign({},n,{pageSize:t}))}async function g(e,t){if(!l.getContactsAsync)throw new i.UnavailabilityError("Contacts","getContactsAsync");if(null==e)throw new Error("Error: Contacts.getContactByIdAsync: id is required");{const n=await l.getContactsAsync({pageSize:1,pageOffset:0,fields:t,id:e});if(n&&n.data&&n.data.length>0)return n.data[0]}}async function y(e,t){if(!l.addContactAsync)throw new i.UnavailabilityError("Contacts","addContactAsync");return await l.addContactAsync(e,t)}async function v(e){if(!l.updateContactAsync)throw new i.UnavailabilityError("Contacts","updateContactAsync");return await l.updateContactAsync(e)}async function b(e){if(!l.removeContactAsync)throw new i.UnavailabilityError("Contacts","removeContactAsync");return await l.removeContactAsync(e)}async function _(e={}){if(!l.writeContactToFileAsync)throw new i.UnavailabilityError("Contacts","writeContactToFileAsync");return await l.writeContactToFileAsync(e)}async function w(e,t,n={}){if(!l.presentFormAsync)throw new i.UnavailabilityError("Contacts","presentFormAsync");return await l.presentFormAsync(e,t,n)}async function k(e,t){if(!l.addExistingGroupToContainerAsync)throw new i.UnavailabilityError("Contacts","addExistingGroupToContainerAsync");return await l.addExistingGroupToContainerAsync(e,t)}async function S(e,t){if(!l.createGroupAsync)throw new i.UnavailabilityError("Contacts","createGroupAsync");return e=e||a.default.v4(),t||(t=await R()),await l.createGroupAsync(e,t)}async function x(e,t){if(!l.updateGroupNameAsync)throw new i.UnavailabilityError("Contacts","updateGroupNameAsync");return await l.updateGroupNameAsync(e,t)}async function C(e){if(!l.removeGroupAsync)throw new i.UnavailabilityError("Contacts","removeGroupAsync");return await l.removeGroupAsync(e)}async function E(e,t){if(!l.addExistingContactToGroupAsync)throw new i.UnavailabilityError("Contacts","addExistingContactToGroupAsync");return await l.addExistingContactToGroupAsync(e,t)}async function A(e,t){if(!l.removeContactFromGroupAsync)throw new i.UnavailabilityError("Contacts","removeContactFromGroupAsync");return await l.removeContactFromGroupAsync(e,t)}async function T(e){if(!l.getGroupsAsync)throw new i.UnavailabilityError("Contacts","getGroupsAsync");return await l.getGroupsAsync(e)}async function I(){if(!l.presentContactPickerAsync)throw new i.UnavailabilityError("Contacts","presentContactPickerAsync");return await l.presentContactPickerAsync()}async function R(){if(!l.getDefaultContainerIdentifierAsync)throw new i.UnavailabilityError("Contacts","getDefaultContainerIdentifierAsync");return await l.getDefaultContainerIdentifierAsync()}async function O(e){if(!l.getContainersAsync)throw new i.UnavailabilityError("Contacts","getContainersAsync");return await l.getContainersAsync(e)}async function D(){if(!l.getPermissionsAsync)throw new i.UnavailabilityError("Contacts","getPermissionsAsync");return await l.getPermissionsAsync()}async function N(){if(!l.requestPermissionsAsync)throw new i.UnavailabilityError("Contacts","requestPermissionsAsync");return await l.requestPermissionsAsync()}async function j(){return await l.presentAccessPickerAsync()}function F(e){if(!l.addListener)throw new i.UnavailabilityError("Contacts","addContactChangeListener");const t=l.addListener(u,e);return{remove:()=>{t?.remove()}}}let M=function(e){return e.ID="id",e.ContactType="contactType",e.Name="name",e.FirstName="firstName",e.MiddleName="middleName",e.LastName="lastName",e.MaidenName="maidenName",e.NamePrefix="namePrefix",e.NameSuffix="nameSuffix",e.Nickname="nickname",e.PhoneticFirstName="phoneticFirstName",e.PhoneticMiddleName="phoneticMiddleName",e.PhoneticLastName="phoneticLastName",e.Birthday="birthday",e.NonGregorianBirthday="nonGregorianBirthday",e.Emails="emails",e.PhoneNumbers="phoneNumbers",e.Addresses="addresses",e.SocialProfiles="socialProfiles",e.InstantMessageAddresses="instantMessageAddresses",e.UrlAddresses="urlAddresses",e.Company="company",e.JobTitle="jobTitle",e.Department="department",e.ImageAvailable="imageAvailable",e.Image="image",e.RawImage="rawImage",e.ExtraNames="extraNames",e.Note="note",e.Dates="dates",e.Relationships="relationships",e.IsFavorite="isFavorite",e}({}),V=function(e){return e.Gregorian="gregorian",e.Buddhist="buddhist",e.Chinese="chinese",e.Coptic="coptic",e.EthiopicAmeteMihret="ethiopicAmeteMihret",e.EthiopicAmeteAlem="ethiopicAmeteAlem",e.Hebrew="hebrew",e.ISO8601="iso8601",e.Indian="indian",e.Islamic="islamic",e.IslamicCivil="islamicCivil",e.Japanese="japanese",e.Persian="persian",e.RepublicOfChina="republicOfChina",e.IslamicTabular="islamicTabular",e.IslamicUmmAlQura="islamicUmmAlQura",e}({}),P=function(e){return e.Local="local",e.Exchange="exchange",e.CardDAV="cardDAV",e.Unassigned="unassigned",e}({}),L=function(e){return e.UserDefault="userDefault",e.FirstName="firstName",e.LastName="lastName",e.None="none",e}({}),B=function(e){return e.Person="person",e.Company="company",e}({})},48891(e,t,n){"use strict";n.r(t),n.d(t,{DeviceType:()=>r,brand:()=>p,designName:()=>g,deviceName:()=>T,deviceType:()=>v,deviceYearClass:()=>b,getDeviceTypeAsync:()=>I,getMaxMemoryAsync:()=>O,getPlatformFeaturesAsync:()=>j,getUptimeAsync:()=>R,hasPlatformFeatureAsync:()=>F,isDevice:()=>
2d,isRootedExperimentalAsync:()=>D,isSideLoadingEnabledAsync:()=>N,manufacturer:()=>f,modelId:()=>h,modelName:()=>m,osBuildFingerprint:()=>E,osBuildId:()=>x,osInternalBuildId:()=>C,osName:()=>k,osVersion:()=>S,platformApiLevel:()=>A,productName:()=>y,supportedCpuArchitectures:()=>w,totalMemory:()=>_});var r,i=n(28945);!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.PHONE=1]="PHONE",e[e.TABLET=2]="TABLET",e[e.DESKTOP=3]="DESKTOP",e[e.TV=4]="TV"}(r||(r={}));var a=n(40495),o=n(64568),s=n.n(o);let l=null;if(a.default.isDOMAvailable){const e=new(s())(window.navigator.userAgent);l=e.getResult()}function c(){switch(l?.device?.type){case"mobile":return r.PHONE;case"tablet":return r.TABLET;case"smarttv":return r.TV;case"console":case"embedded":case"wearable":return r.UNKNOWN;default:return r.DESKTOP}}const u={get isDevice(){return!0},get brand(){return null},get manufacturer(){return l&&l.device.vendor||null},get modelName(){return l&&l.device.model||null},get deviceYearClass(){return null},get deviceType(){return c()},get totalMemory(){if(a.default.isDOMAvailable&&"deviceMemory"in navigator){const{deviceMemory:t}=navigator;return e=t,Math.round(e*1024**3)}var e;return null},get supportedCpuArchitectures(){return l&&l.cpu.architecture?[l.cpu.architecture]:null},get osName(){return l&&l.os.name||""},get osVersion(){return l&&l.os.version||""},get osBuildId(){return null},get osInternalBuildId(){return null},get deviceName(){return null},getDeviceTypeAsync:async()=>c(),isRootedExperimentalAsync:async()=>!1},d=!u||u.isDevice,p=u?u.brand:null,f=u?u.manufacturer:null,h=u&&u.modelId||null,m=u?u.modelName:null,g=u&&u.designName||null,y=u&&u.productName||null,v=u?u.deviceType:null,b=u?u.deviceYearClass:null,_=u?u.totalMemory:null,w=u?u.supportedCpuArchitectures:null,k=u?u.osName:null,S=u?u.osVersion:null,x=u?u.osBuildId:null,C=u?u.osInternalBuildId:null,E=u&&u.osBuildFingerprint||null,A=u&&u.platformApiLevel||null,T=u?u.deviceName:null;async function I(){if(!u.getDeviceTypeAsync)throw new i.UnavailabilityError("expo-device","getDeviceTypeAsync");return await u.getDeviceTypeAsync()}async function R(){if(!u.getUptimeAsync)throw new i.UnavailabilityError("expo-device","getUptimeAsync");return await u.getUptimeAsync()}async function O(){if(!u.getMaxMemoryAsync)throw new i.UnavailabilityError("expo-device","getMaxMemoryAsync");let e=await u.getMaxMemoryAsync();return-1===e&&(e=Number.MAX_SAFE_INTEGER),e}async function D(){if(!u.isRootedExperimentalAsync)throw new i.UnavailabilityError("expo-device","isRootedExperimentalAsync");return await u.isRootedExperimentalAsync()}async function N(){if(!u.isSideLoadingEnabledAsync)throw new i.UnavailabilityError("expo-device","isSideLoadingEnabledAsync");return await u.isSideLoadingEnabledAsync()}async function j(){return u.getPlatformFeaturesAsync?await u.getPlatformFeaturesAsync():[]}async function F(e){return!!u.hasPlatformFeatureAsync&&await u.hasPlatformFeatureAsync(e)}},64568(e,t,n){var r;!function(i,a){"use strict";var o="function",s="undefined",l="object",c="string",u="major",d="model",p="name",f="type",h="vendor",m="version",g="architecture",y="console",v="mobile",b="tablet",_="smarttv",w="wearable",k="embedded",S="Amazon",x="Apple",C="ASUS",E="BlackBerry",A="Browser",T="Chrome",I="Firefox",R="Google",O="Honor",D="Huawei",N="LG",j="Microsoft",F="Motorola",M="Nvidia",V="OnePlus",P="Opera",L="OPPO",B="Samsung",H="Sharp",W="Sony",z="Xiaomi",Y="Zebra",U="Facebook",X="Chromium OS",G="Mac OS",q=" Browser",J=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},$=function(e,t){return typeof e===c&&-1!==K(t).indexOf(K(e))},K=function(e){return e.toLowerCase()},Z=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},Q=function(e,t){for(var n,r,i,s,c,u,d=0;d<t.length&&!c;){var p=t[d],f=t[d+1];for(n=r=0;n<p.length&&!c&&p[n];)if(c=p[n++].exec(e))for(i=0;i<f.length;i++)u=c[++r],typeof(s=f[i])===l&&s.length>0?2===s.length?typeof s[1]==o?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3===s.length?typeof s[1]!==o||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):a:this[s[0]]=u?s[1].call(this,u,s[2]):a:4===s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):a):this[s]=u||a;d+=2}},ee=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r<t[n].length;r++)if($(t[n][r],e))return"?"===n?a:n}else if($(t[n],e))return"?"===n?a:n;return t.hasOwnProperty("*")?t["*"]:e},te={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},ne={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,m],[/opios[\/ ]+([\w\.]+)/i],[m,[p,P+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[m,[p,P+" GX"]],[/\bopr\/([\w\.]+)/i],[m,[p,P]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[m,[p,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[m,[p,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[p,m],[/quark(?:pc)?\/([-\w\.]+)/i],[m,[p,"Quark"]],[/\bddg\/([\w\.]+)/i],[m,[p,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[p,"UC"+A]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[m,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[p,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[m,[p,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[m,[p,"Smart Lenovo "+A]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+A],m],[/\bfocus\/([\w\.]+)/i],[m,[p,I+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[p,P+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[p,P+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[p,"MIUI"+q]],[/fxios\/([\w\.-]+)/i],[m,[p,I]],[/\bqihoobrowser\/?([\w\.]*)/i],[m,[p,"360"]],[/\b(qq)\/([\w\.]+)/i],[[p,/(.+)/,"$1Browser"],m],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1"+q],m],[/samsungbrowser\/([\w\.]+)/i],[m,[p,B+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[m,[p,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[p,"Sogou Mobile"],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[p,m],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[p],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[m,p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,U],m],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[p,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[p,"GSA"]],[/musical_ly(?:.
2+app_?version\/|_)([\w\.]+)/i],[m,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[p,T+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,T+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[p,"Android "+A]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[m,ee,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[p,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],m],[/(wolvic|librewolf)\/([\w\.]+)/i],[p,m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[p,I+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[p,[m,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[p,[m,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[g,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[g,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[g,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[g,/ower/,"",K]],[/ sun4\w[;\)]/i],[[g,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[g,K]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[h,B],[f,b]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[d,[h,B],[f,v]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[h,x],[f,v]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[h,x],[f,b]],[/(macintosh);/i],[d,[h,x]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[h,H],[f,v]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[d,[h,O],[f,b]],[/honor([-\w ]+)[;\)]/i],[d,[h,O],[f,v]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[d,[h,D],[f,b]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[h,D],[f,v]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[d,/_/g," "],[h,z],[f,b]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[d,/_/g," "],[h,z],[f,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[h,L],[f,v]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[d,[h,ee,{OnePlus:["304","403","203"],"*":L}],[f,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[h,"Vivo"],[f,v]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[h,"Realme"],[f,v]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[h,F],[f,v]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[h,F],[f,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[h,N],[f,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[h,N],[f,v]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}
vendor: 5,510 bytes, line 2
2(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[d,[h,"Lenovo"],[f,b]],[/(nokia) (t[12][01])/i],[h,d,[f,b]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[d,/_/g," "],[f,v],[h,"Nokia"]],[/(pixel (c|tablet))\b/i],[d,[h,R],[f,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[h,R],[f,v]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[h,W],[f,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[h,W],[f,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[h,V],[f,v]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[h,S],[f,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[h,S],[f,v]],[/(playbook);[-\w\),; ]+(rim)/i],[d,h,[f,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[h,E],[f,v]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[h,C],[f,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[h,C],[f,v]],[/(nexus 9)/i],[d,[h,"HTC"],[f,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[d,/_/g," "],[f,v]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[d,[h,"TCL"],[f,b]],[/(itel) ((\w+))/i],[[h,K],d,[f,ee,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[h,"Acer"],[f,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[h,"Meizu"],[f,v]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[h,"Ulefone"],[f,v]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[d,[h,"Energizer"],[f,v]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[d,[h,"Cat"],[f,v]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[d,[h,"Smartfren"],[f,v]],[/droid.+; (a(?:015|06[35]|142p?))/i],[d,[h,"Nothing"],[f,v]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[d,[h,"Archos"],[f,b]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[d,[h,"Archos"],[f,v]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[h,d,[f,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[h,d,[f,v]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,d,[f,b]],[/(surface duo)/i],[d,[h,j],[f,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[h,"Fairphone"],[f,v]],[/(u304aa)/i],[d,[h,"AT&T"],[f,v]],[/\bsie-(\w*)/i],[d,[h,"Siemens"],[f,v]],[/\b(rct\w+) b/i],[d,[h,"RCA"],[f,b]],[/\b(venue[\d ]{2,7}) b/i],[d,[h,"Dell"],[f,b]],[/\b(q(?:mv|ta)\w+) b/i],[d,[h,"Verizon"],[f,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[h,"Barnes & Noble"],[f,b]],[/\b(tm\d{3}\w+) b/i],[d,[h,"NuVision"],[f,b]],[/\b(k88) b/i],[d,[h,"ZTE"],[f,b]],[/\b(nx\d{3}j) b/i],[d,[h,"ZTE"],[f,v]],[/\b(gen\d{3}) b.+49h/i],[d,[h,"Swiss"],[f,v]],[/\b(zur\d{3}) b/i],[d,[h,"Swiss"],[f,b]],[/\b((zeki)?tb.*\b) b/i],[d,[h,"Zeki"],[f,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],d,[f,b]],[/\b(ns-?\w{0,9}) b/i],[d,[h,"Insignia"],[f,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[h,"NextBook"],[f,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],d,[f,v]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],d,[f,v]],[/\b(ph-1) /i],[d,[h,"Essential"],[f,v]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[h,"Envizen"],[f,b]],[/\b(trio[-\w\. ]+) b/i],[d,[h,"MachSpeed"],[f,b]],[/\btu_(1491) b/i],[d,[h,"Rotor"],[f,b]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[d,[h,M],[f,b]],[/(sprint) (\w+)/i],[h,d,[f,v]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[h,j],[f,v]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[h,Y],[f,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[h,Y],[f,v]],[/smart-tv.+(samsung)/i],[h,[f,_]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[h,B],[f,_]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,N],[f,_]],[/(apple) ?tv/i],[h,[d,x+" TV"],[f,_]],[/crkey/i],[[d,T+"cast"],[h,R],[f,_]],[/droid.+aft(\w+)( bui|\))/i],[d,[h,S],[f,_]],[/(shield \w+ tv)/i],[d,[h,M],[f,_]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[h,H],[f,_]],[/(bravia[\w ]+)( bui|\))/i],[d,[h,W],[f,_]],[/(mi(tv|box)-?\w+) bui/i],[d,[h,z],[f,_]],[/Hbbtv.*(technisat) (.*);/i],[h,d,[f,_]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,Z],[d,Z],[f,_]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[d,[f,_]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,_]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,d,[f,y]],[/droid.+; (shield)( bui|\))/i],[d,[h,M],[f,y]],[/(playstation \w+)/i],[d,[h,W],[f,y]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[h,j],[f,y]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[d,[h,B],[f,w]],[/((pebble))app/i,/(asu
vendor: 4,190 bytes, line 2
2s|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[h,d,[f,w]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[d,[h,L],[f,w]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[h,x],[f,w]],[/(opwwe\d{3})/i],[d,[h,V],[f,w]],[/(moto 360)/i],[d,[h,F],[f,w]],[/(smartwatch 3)/i],[d,[h,W],[f,w]],[/(g watch r)/i],[d,[h,N],[f,w]],[/droid.+; (wt63?0{2,3})\)/i],[d,[h,Y],[f,w]],[/droid.+; (glass) \d/i],[d,[h,R],[f,w]],[/(pico) (4|neo3(?: link|pro)?)/i],[h,d,[f,w]],[/; (quest( \d| pro)?)/i],[d,[h,U],[f,w]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[f,k]],[/(aeobc)\b/i],[d,[h,S],[f,k]],[/(homepod).+mac os/i],[d,[h,x],[f,k]],[/windows iot/i],[[f,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[f,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[f,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,v]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[d,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[p,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[p,m],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[p,m],[/ladybird\//i],[[p,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,m],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[p,[m,ee,te]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,ee,te],[p,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,G],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,p],[/(ubuntu) ([\w\.]+) like android/i],[[p,/(.+)/,"$1 Touch"],m],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[p,m],[/\(bb(10);/i],[m,[p,E]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[m,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[m,[p,I+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[m,[p,T+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,X],m],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,m],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,m]]},re=function(e,t){if(typeof e===l&&(t=e,e=a),!(this instanceof re))return new re(e,t).getResult();var n=typeof i!==s&&i.navigator?i.navigator:a,r=e||(n&&n.userAgent?n.userAgent:""),y=n&&n.userAgentData?n.userAgentData:a,_=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2===0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(ne,t):ne,w=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[p]=a,t[m]=a,Q.call(t,r,_.browser),t[u]=typeof(e=t[m])===c?e.replace(/[^\d\.]/g,"").split(".")[0]:a,w&&n&&n.brave&&typeof n.brave.isBrave==o&&(t[p]="Brave"),t},this.getCPU=function(){var e={};return e[g]=a,Q.call(e,r,_.cpu),e},this.getDevice=function(){var e={};
2return e[h]=a,e[d]=a,e[f]=a,Q.call(e,r,_.device),w&&!e[f]&&y&&y.mobile&&(e[f]=v),w&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[f]=b),e},this.getEngine=function(){var e={};return e[p]=a,e[m]=a,Q.call(e,r,_.engine),e},this.getOS=function(){var e={};return e[p]=a,e[m]=a,Q.call(e,r,_.os),w&&!e[p]&&y&&y.platform&&"Unknown"!=y.platform&&(e[p]=y.platform.replace(/chrome os/i,X).replace(/macos/i,G)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===c&&e.length>500?Z(e,500):e,this},this.setUA(r),this};re.VERSION="0.7.41",re.BROWSER=J([p,m,u]),re.CPU=J([g]),re.DEVICE=J([d,h,f,y,v,_,b,w,k]),re.ENGINE=re.OS=J([p,m]),typeof t!==s?(e.exports&&(t=e.exports=re),t.UAParser=re):n.amdO?(r=function(){return re}.call(t,n,t,e))===a||(e.exports=r):typeof i!==s&&(i.UAParser=re);var ie=typeof i!==s&&(i.jQuery||i.Zepto);if(ie&&!ie.ua){var ae=new re;ie.ua=ae.getResult(),ie.ua.get=function(){return ae.getUA()},ie.ua.set=function(e){ae.setUA(e);var t=ae.getResult();for(var n in t)ie.ua[n]=t[n]}}}("object"===typeof window?window:this)},43817(e,t,n){"use strict";n.r(t),n.d(t,{Directory:()=>s});var r=n(47315),i=n(80200),a=n(35319),o=n(28171);class s extends r.default.FileSystemDirectory{constructor(...e){super(a.Paths.join(...e)),this.validatePath()}get parentDirectory(){return new s(a.Paths.join(this.uri,".."))}list(){return super.listAsRecords().map(({isDirectory:e,uri:t})=>e?new s(t):new i.File(t))}get name(){return a.Paths.basename(this.uri)}createFile(e,t){return new i.File(super.createFile(e,t).uri)}createDirectory(e){return new s(super.createDirectory(e).uri)}watch(e,t){return new o.FileSystemWatcher(this.uri,e,t,(e,t)=>t?new s(e):new i.File(e))}}s.pickDirectoryAsync=async function(e){const t=(await r.default.pickDirectoryAsync(e)).uri;return new s(t)}},47315(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});const r={FileSystemDirectory:class{constructor(){}},FileSystemFile:class{constructor(){}},FileSystemUploadTask:class{start(){return Promise.resolve({body:"",status:0,headers:{}})}addListener(){return{remove:()=>{}}}release(){}cancel(){}},FileSystemDownloadTask:class{start(){return Promise.resolve(null)}pause(){return{resumeData:""}}resume(){return Promise.resolve(null)}addListener(){return{remove:()=>{}}}release(){}cancel(){}},downloadFileAsync:()=>Promise.resolve(),pickDirectoryAsync:()=>Promise.resolve(),pickFileAsync:()=>Promise.resolve(),get totalDiskSpace(){return 0},get availableDiskSpace(){return 0},get documentDirectory(){return""},get cacheDirectory(){return""},get bundleDirectory(){return""}}},80200(t,n,r){"use strict";r.r(n),r.d(n,{File:()=>b});var i=r(1403),a=r(43817),o=r(47315);!function(e){e.UTF8="utf8",e.Base64="base64"}({});let s=function(e){return e.ReadWrite="rw",e.ReadOnly="r",e.WriteOnly="w",e.Append="wa",e.Truncate="wt",e}({});function l(e){const t=new Error(e??"The operation was aborted.");return t.name="AbortError",t}function c(e,t,n){if(!t.includes(e))throw new Error(`Cannot call ${n}() in state "${e}"`)}function u(e,t){if(e?.aborted)throw l();if(e){const n=()=>t();return e.addEventListener("abort",n,{once:!0}),n}}function d(e,t){if(e)return t(e)}function p(e,t,n){t?.remove(),n&&e&&e.removeEventListener("abort",n)}class f{_state="idle";constructor(e,t,n){this._nativeTask=new o.default.FileSystemUploadTask,this._file=e,this._url=t,this._options=n}get state(){return this._state}async uploadAsync(){c(this._state,["idle"],"uploadAsync"),this._state="active";try{this._abortHandler=u(this._options?.signal,()=>this.cancel()),this._subscription=d(this._options?.onProgress,e=>this.addListener("progress",e));const e={httpMethod:this._options?.httpMethod||"POST",uploadType:this._options?.uploadType??0,headers:this._options?.headers,fieldName:this._options?.fieldName,mimeType:this._options?.mimeType,parameters:this._options?.parameters,sessionType:this._options?.sessionType},t=await this._nativeTask.start(this._url,this._file,e);if(this._state="completed",this._options?.onProgress&&this._file.exists){const e=this._file.size??0;e>0&&this._options.onProgress({bytesSent:e,totalBytes:e})}return t}catch(e){if(this._options?.signal?.aborted)throw this._state="cancelled",l();if("cancelled"===this.state)throw e;throw this._state="error",e}finally{p(this._options?.signal,this._subscription,this._abortHandler),this._subscription=void 0,this._abortHandler=void 0}}
2addListener(e,t){return this._nativeTask.addListener(e,t)}release(){this._nativeTask.release()}cancel(){["completed","cancelled","error"].includes(this._state)||(this._state="cancelled",this._nativeTask.cancel(),p(this._options?.signal,this._subscription,this._abortHandler),this._subscription=void 0,this._abortHandler=void 0)}}class h{_state="idle";constructor(e,t,n){this._nativeTask=new o.default.FileSystemDownloadTask,this._url=e,this._destination=t,this._options=n}get state(){return this._state}async downloadAsync(){c(this._state,["idle"],"downloadAsync"),this._state="active",this._pauseRequest=void 0;const e=this._runDownloadOperation(()=>this._nativeTask.start(this._url,this._destination,{headers:this._options?.headers,sessionType:this._options?.sessionType}));return this._inFlightOperation=e,e}pause(){c(this._state,["active"],"pause"),this._pauseRequest=Promise.resolve(this._nativeTask.pause()).then(e=>{this._resumeData=e?.resumeData??void 0})}async pauseAsync(){this.pause(),await this._pauseRequest,await this._inFlightOperation}async resumeAsync(){if(c(this._state,["paused"],"resumeAsync"),!this._resumeData)throw new Error("No resume data available. Was the download paused before any data was received?");this._state="active",this._pauseRequest=void 0;const e=this._runDownloadOperation(()=>this._nativeTask.resume(this._url,this._destination,this._resumeData,{headers:this._options?.headers,sessionType:this._options?.sessionType}));return this._inFlightOperation=e,e}addListener(e,t){return this._nativeTask.addListener(e,t)}release(){this._nativeTask.release()}cancel(){["completed","cancelled","error"].includes(this._state)||(this._state="cancelled",this._pauseRequest=void 0,this._nativeTask.cancel(),p(this._options?.signal,this._subscription,this._abortHandler),this._subscription=void 0,this._abortHandler=void 0)}savable(){return c(this._state,["paused"],"savable"),{url:this._url,fileUri:this._destination.uri,isDirectory:this._destination instanceof a.Directory,headers:this._options?.headers,resumeData:this._resumeData}}static fromSavable(e,t){if(!e.resumeData)throw new Error("Cannot restore task: DownloadPauseState has no resumeData");const n=e.isDirectory?new a.Directory(e.fileUri):new b(e.fileUri),r=t||e.headers?Object.assign({},t,{headers:Object.assign({},e.headers,t?.headers)}):void 0,i=new h(e.url,n,r);return i._resumeData=e.resumeData,i._state="paused",i}async _runDownloadOperation(e){try{this._abortHandler=u(this._options?.signal,()=>this.cancel()),this._subscription=d(this._options?.onProgress,e=>this.addListener("progress",e));const t=await e();if(t){this._state="completed",this._resumeData=void 0;const e=new b(t);return this._emitFinalProgressEvent(e.size),e}return await this._pauseRequest,this._state="paused",null}catch(t){if(this._options?.signal?.aborted)throw this._state="cancelled",l();if("cancelled"===this.state)throw t;throw this._state="error",t}finally{p(this._options?.signal,this._subscription,this._abortHandler),this._subscription=void 0,this._abortHandler=void 0,this._inFlightOperation=void 0}}_emitFinalProgressEvent(e){this._options?.onProgress&&e>0&&this._options.onProgress({bytesWritten:e,totalBytes:e})}}var m=r(35319),g=r(28171);class y{size=1024;type="bytes";constructor(e){this.handle=e}cancel(){this.handle.close()}pull(e){const t=e.byobRequest?.view;if(!t){const t=this.handle.readBytes(this.size);return 0===t.length?void e.close():void e.enqueue(t)}const n=this.handle.readBytes(t.byteLength-t.byteOffset);if(0===n.length)return e.close(),void e.byobRequest.respond(0);if(t instanceof Uint8Array)t.set(n,t.byteOffset);else{const e=new Uint8Array(t.buffer);for(let r=0;r<n.length;r++)e[r+(t.byteOffset??0)]=n[r]}e.byobRequest.respond(n.length)}}class v{constructor(e){this.handle=e}abort(){this.close()}close(){this.handle.close()}write(e){this.handle.writeBytes(e)}}class b extends o.default.FileSystemFile{static async pickFileAsync(t,n){const{options:r,usingOldAPI:i}=function(e,t){if("object"===typeof e)return{options:e,usingOldAPI:!1};return{options:{initialUri:e,mimeTypes:t,multipleFiles:!1},usingOldAPI:void 0!==t||"string"===typeof e}}(t,n);try{if(r.multipleFiles){return{result:(await o.default.pickFileAsync(r)).map(e=>new b(e.uri)),canceled:!1}}const e=await o.default.pickFileAsync(r);return i?new b(e.uri):{result:new b(e.uri),canceled:!1}}catch(e){if(i)throw e;return{result:null,canceled:!0}}}constructor(...e){super(m.Paths.join(...e)),this.validatePath()}get parentDirectory(){return new a.Directory(m.Paths.dirname(this.uri))}get extension(){return m.Paths.extname(this.uri)}get name(){return m.Paths.basename(this.uri)}readableStream(){return new ReadableStream(new y(super.open(s.ReadOnly)))}writableStream(){return new WritableStream(new v(super.open(s.WriteOnly)))}async arrayBuffer(){return(await this.bytes()).buffer}async json(){return JSON.parse(await this.text())}async formData(){return new Response(await this.arrayBuffer(),{headers:this.type?{"Content-Type":this.t
2ype}:void 0}).formData()}stream(){return this.readableStream()}slice(e,t,n){return new Blob([this.bytesSync().slice(e,t)],{type:n})}upload(e,t){return new f(this,e,t).uploadAsync()}createUploadTask(e,t){return new f(this,e,t)}static createDownloadTask(e,t,n){return new h(e,t,n)}watch(e,t){return new g.FileSystemWatcher(this.uri,e,t,e=>new b(e))}}function _(e){const t=new Error(e??"The operation was aborted.");return t.name="AbortError",t}b.downloadFileAsync=async function(e,t,n){const r=n?.onProgress||n?.signal?i.default.v4():void 0;let a,s,l;try{if(n?.signal?.aborted)throw _(n.signal.reason);r&&n?.onProgress&&(a=o.default.addListener("downloadProgress",e=>{e.uuid===r&&(l=e.data,n.onProgress(l))})),r&&n?.signal&&(s=()=>{o.default.cancelDownloadAsync(r)},n.signal.addEventListener("abort",s,{once:!0}));const i=await o.default.downloadFileAsync(e,t,n,r),c=new b(i),u=c.size??0;return n?.onProgress&&u>0&&(l?.bytesWritten!==u||l?.totalBytes!==u)&&n.onProgress({bytesWritten:u,totalBytes:u}),c}catch(c){if(n?.signal?.aborted)throw _(n.signal.reason);throw c}finally{a?.remove(),s&&n?.signal&&n.signal.removeEventListener("abort",s)}}},35319(e,t,n){"use strict";n.r(t),n.d(t,{Paths:()=>A});var r=n(43817),i=n(47315);function a(e){return"/"===e}function o(e,t,n){let r="",i=0,o=-1,s=0,l="";for(let c=0;c<=e.length;++c){if(c<e.length)l=e.charAt(c);else{if(a(l))break;l="/"}if(a(l)){if(o===c-1||1===s);else if(2===s){if(r.length<2||2!==i||"."!==r.charAt(r.length-1)||"."!==r.charAt(r.length-2)){if(r.length>2){const e=r.lastIndexOf(n);-1===e?(r="",i=0):(r=r.slice(0,e),i=r.length-1-r.lastIndexOf(n)),o=c,s=0;continue}if(0!==r.length){r="",i=0,o=c,s=0;continue}}t&&(r+=r.length>0?`${n}..`:"..",i=2)}else r.length>0?r+=`${n}${e.slice(o+1,c)}`:r=e.slice(o+1,c),i=c-o-1;o=c,s=0}else"."===l&&-1!==s?++s:s=-1}return r}function s(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:"";i&&0!==i.length&&(t=`${i}/${t}`,n=!(!i||"/"!==i.charAt(0)))}return t=o(t,!n,"/"),n?`/${t}`:t.length>0?t:"."}function l(e){if(0===e.length)return".";const t="/"===e.charAt(0),n="/"===e.charAt(e.length-1);return 0===(e=o(e,!t,"/")).length?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)}function c(...e){if(0===e.length)return".";const t=[];for(let n=0;n<e.length;++n){const r=e[n];r&&r.length>0&&t.push(r)}return 0===t.length?".":l(t.join("/"))}function u(e){if(0===e.length)return".";const t="/"===e.charAt(0);let n=-1,r=!0;for(let i=e.length-1;i>=1;--i)if("/"===e.charAt(i)){if(!r){n=i;break}}else r=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)}function d(e,t){let n=0,r=-1,i=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,o=-1;for(let s=e.length-1;s>=0;--s){const l=e.charAt(s);if("/"===l){if(!i){n=s+1;break}}else-1===o&&(i=!1,o=s+1),a>=0&&(l===t.charAt(a)?-1===--a&&(r=s):(a=-1,r=o))}return n===r?r=o:-1===r&&(r=e.length),e.slice(n,r)}for(let a=e.length-1;a>=0;--a)if("/"===e.charAt(a)){if(!i){n=a+1;break}}else-1===r&&(i=!1,r=a+1);return-1===r?"":e.slice(n,r)}function p(e){let t=-1,n=0,r=-1,i=!0,a=0;for(let o=e.length-1;o>=0;--o){const s=e.charAt(o);if("/"!==s)-1===r&&(i=!1,r=o+1),"."===s?-1===t?t=o:1!==a&&(a=1):-1!==t&&(a=-1);else if(!i){n=o+1;break}}return-1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)}function f(e){const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n="/"===e.charAt(0);let r;n?(t.root="/",r=1):r=0;let i=-1,a=0,o=-1,s=!0,l=e.length-1,c=0;for(;l>=r;--l){const t=e.charAt(l);if("/"!==t)-1===o&&(s=!1,o=l+1),"."===t?-1===i?i=l:1!==c&&(c=1):-1!==i&&(c=-1);else if(!s){a=l+1;break}}if(-1!==o){const r=0===a&&n?1:a;-1===i||0===c||1===c&&i===o-1&&i===a+1?t.base=t.name=e.slice(r,o):(t.name=e.slice(r,i),t.base=e.slice(r,o),t.ext=e.slice(i,o))}return a>0?t.dir=e.slice(0,a-1):n&&(t.dir="/"),t}const h=/%/g,m=/\\/g,g=/\n/g,y=/\r/g,v=/\t/g,b=/\?/g,_=/#/g,w=/ /g;function k(e){let t=s(e);var n;return"/"===e.charAt(e.length-1)&&"/"!==t[t.length-1]&&(t+="/"),-1!==(n=t).indexOf("%")&&(n=n.replace(h,"%25")),-1!==n.indexOf("\\")&&(n=n.replace(m,"%5C")),-1!==n.indexOf("\n")&&(n=n.replace(g,"%0A")),-1!==n.indexOf("\r")&&(n=n.replace(y,"%0D")),-1!==n.indexOf("\t")&&(n=n.replace(v,"%09")),-1!==n.indexOf(" ")&&(n=n.replace(w,"%20")),t=n,-1!==t.indexOf("?")&&(t=t.replace(b,"%3F")),-1!==t.indexOf("#")&&(t=t.replace(_,"%23")),t}function S(e){try{return!!new URL(e)}catch(t){return!1}}function x(e){try{const t=new URL(e);return t.hash="",t}catch(t){return null}}function C(e){return"string"===typeof e?e:e.uri}class E{static join(...e){const[t="",...n]=e.map(C),r=x(t);return r?(r.pathname=c(r.pathname,...n.map(k)),r.toString()):c(t,...n.map(k))}static relative(e,t){const n=C(e),r=C(t);return S(n)&&(e=x(n).pathname),S(r)&&(t=x(r).pathname),function(e,t){if(e===t)return"";if((e=s(e))===(t=s(t)))return"";const n=e.length,r=n-1,i=t.length-1,a=r<i?r:i;let o=-1,l=0;for(;l<a;l++){const n=e.charAt(1+l);if(n!==t.charAt(1+l))break;"/"===n&&(o=l)}if(l===a)if(i>a){if("/"===t.charAt(1+l))return t.slice(1+l+1);if(0===l)return t.slice(1+l)}else r>a&&("/"===e.charAt(1+l)?o=l:0===l&&(o=0));let c="";for(l=1+o+1;l<=n;++l)l!==n&&"/"!==e.charAt(l)||(c+=0===c.length?"..":"/..");return`${c}${t.slice(1+o)}`}(n,r)}static isAbsolute(e){const t=C(e);return!!S(t)||function(e){return e.length>0&&"/"===e.charAt(0)}(t)}static normalize(e){const t=C(e),n=x(k(t));return n?(n.pathname=k(l(decodeURIComponent(n.pathname))),n.toString()):l(t)}static dirname(e){const t=C(e),n=x(t);return n?(n.pathname=k(u(decodeURIComponent(n.pathname))),n.toString()):u(t)}static basename(e,t){const n=C(e),r=x(n);return r?d(decodeURIComponent(r.pathname)):d(n,t)}static extname(e){const t=C(e),n=x(t);
2return p(n?decodeURIComponent(n.pathname):t)}static parse(e){const t=C(e),n=x(t);return f(n?decodeURIComponent(n.pathname):t)}}class A extends E{static get cache(){return new r.Directory(i.default.cacheDirectory)}static get bundle(){return new r.Directory(i.default.bundleDirectory)}static get document(){return new r.Directory(i.default.documentDirectory)}static get appleSharedContainers(){const e=i.default.appleSharedContainers??{},t={};for(const n in e)e[n]&&(t[n]=new r.Directory(e[n]));return t}static get totalDiskSpace(){return i.default.totalDiskSpace}static get availableDiskSpace(){return i.default.availableDiskSpace}static info(...e){return i.default.info(e.join("/"))}}},28171(e,t,n){"use strict";n.r(t),n.d(t,{FileSystemWatcher:()=>r});class r{constructor(e,t,n={},r){}remove(){}}},58852(e,t,n){"use strict";n.r(t),n.d(t,{DownloadResumable:()=>D,FileSystemCancellableNetworkTask:()=>R,StorageAccessFramework:()=>P,UploadTask:()=>O,bundleDirectory:()=>f,cacheDirectory:()=>p,copyAsync:()=>w,createDownloadResumable:()=>T,createUploadTask:()=>I,deleteAsync:()=>v,deleteLegacyDocumentDirectoryAndroid:()=>b,documentDirectory:()=>d,downloadAsync:()=>E,getContentUriAsync:()=>g,getFreeDiskStorageAsync:()=>x,getInfoAsync:()=>h,getTotalDiskCapacityAsync:()=>C,makeDirectoryAsync:()=>k,moveAsync:()=>_,readAsStringAsync:()=>m,readDirectoryAsync:()=>S,uploadAsync:()=>A,writeAsStringAsync:()=>y});var r=n(28945),i=n(1403),a=n(20356);class o extends a.NativeModule{documentDirectory=null;cacheDirectory=null;bundleDirectory=null}const s=o;let l=function(e){return e[e.BACKGROUND=0]="BACKGROUND",e[e.FOREGROUND=1]="FOREGROUND",e}({}),c=function(e){return e[e.BINARY_CONTENT=0]="BINARY_CONTENT",e[e.MULTIPART=1]="MULTIPART",e}({});!function(e){e.UTF8="utf8",e.Base64="base64"}({});function u(e){return null!=e?e.replace(/\/*$/,"")+"/":null}const d=u(s.documentDirectory),p=u(s.cacheDirectory),f=u(s.bundleDirectory);async function h(e,t={}){if(!s.getInfoAsync)throw new r.UnavailabilityError("expo-file-system","getInfoAsync");return await s.getInfoAsync(e,t)}async function m(e,t={}){if(!s.readAsStringAsync)throw new r.UnavailabilityError("expo-file-system","readAsStringAsync");return await s.readAsStringAsync(e,t)}async function g(e){return e}async function y(e,t,n={}){if(!s.writeAsStringAsync)throw new r.UnavailabilityError("expo-file-system","writeAsStringAsync");return await s.writeAsStringAsync(e,t,n)}async function v(e,t={}){if(!s.deleteAsync)throw new r.UnavailabilityError("expo-file-system","deleteAsync");return await s.deleteAsync(e,t)}async function b(){}async function _(e){if(!s.moveAsync)throw new r.UnavailabilityError("expo-file-system","moveAsync");return await s.moveAsync(e)}async function w(e){if(!s.copyAsync)throw new r.UnavailabilityError("expo-file-system","copyAsync");return await s.copyAsync(e)}async function k(e,t={}){if(!s.makeDirectoryAsync)throw new r.UnavailabilityError("expo-file-system","makeDirectoryAsync");return await s.makeDirectoryAsync(e,t)}async function S(e){if(!s.readDirectoryAsync)throw new r.UnavailabilityError("expo-file-system","readDirectoryAsync");return await s.readDirectoryAsync(e)}async function x(){if(!s.getFreeDiskStorageAsync)throw new r.UnavailabilityError("expo-file-system","getFreeDiskStorageAsync");return await s.getFreeDiskStorageAsync()}async function C(){if(!s.getTotalDiskCapacityAsync)throw new r.UnavailabilityError("expo-file-system","getTotalDiskCapacityAsync");return await s.getTotalDiskCapacityAsync()}async function E(e,t,n={}){if(!s.downloadAsync)throw new r.UnavailabilityError("expo-file-system","downloadAsync");return await s.downloadAsync(e,t,Object.assign({sessionType:l.BACKGROUND},n))}async function A(e,t,n={}){if(!s.uploadAsync)throw new r.UnavailabilityError("expo-file-system","uploadAsync");return await s.uploadAsync(e,t,Object.assign({sessionType:l.BACKGROUND,uploadType:c.BINARY_CONTENT},n,{httpMethod:(n.httpMethod||"POST").toUpperCase()}))}function T(e,t,n,r,i){return new D(e,t,n,r,i)}function I(e,t,n,r){return new O(e,t,n,r)}class R{_uuid=i.default.v4();taskWasCanceled=!1;async cancelAsync(){if(!s.networkTaskCancelAsync)throw new r.UnavailabilityError("expo-file-system","networkTaskCancelAsync");return this.removeSubscription(),this.taskWasCanceled=!0,await s.networkTaskCancelAsync(this.uuid)}isTaskCancelled(){return!!this.taskWasCanceled}get uuid(){return this._uuid}addSubscription(){this.subscription||(this.subscription=s.addListener(this.getEventName(),e=>{if(e.uuid===this.uuid){const t=this.getCallback();t&&t(e.data)}}))}removeSubscription(){this.subscription&&(this.subscription.remove(),this.subscription=null)}}class O extends R{constructor(e,t,n,r){super(),this.url=e,this.fileUri=t,this.callback=r;const i=n?.httpMethod?.toUpperCase()||"POST";this.options=Object.assign({sessionType:l.BACKGROUND,uploadType:c.BINARY_CONTENT},n,{httpMethod:i})}getEventName(){return"expo-file-system.uploadProgress"}getCallback(){return this.callback}async uploadAsync(){if(!s.uploadTaskStartAsync)throw new r.UnavailabilityError("expo-file-system","uploadTaskStartAsync");if(this.isTaskCancelled())return;this.addSubscription();const e=await s.uploadTaskStartAsync(this.url,this.fileUri,this.uuid,this.options);return this.removeSubscription(),e}}class D extends R{constructor(e,t,n={},r,i){super(),this.url=e,this._fileUri=t,this.options=n,this.callback=r,this.resumeData=i}get fileUri(){return this._fileUri}getEventName(){return"expo-file-system.downloadProgress"}getCallback(){return this.callback}async downloadAsync(){if(!s.downloadResumableStartAsync)throw new r.UnavailabilityError("expo-file-system","downloadResumableStartAsync");if(!this.isTaskCancelled())return this.addSubscription(),await s.downloadResumableStartAsync(this.url,this._fileUri,this.uuid,this.options,this.resumeData)}async pauseAsync(){if(!s.downloadResumablePauseAsync)throw new r.UnavailabilityError("expo-file-system","downloadResumablePauseAsync");if(this.isTaskCancelled())return{fileUri:this._fileUri,options:this.options,url:this.url};const e=await s.downloadResumablePauseAsync(this.uuid);if(this.removeSubscription(),e)return this.resumeData=e.resumeData,this.savable();throw new Error("Unable to generate a savable pause state")}async resumeAsync(){if(!s.downloadResumableStartAsync)throw new r.UnavailabilityError("expo-file-system","downloadResumableStartAsync");if(!this.isTaskCancelled())return this.addSubscription(),await s.downloadResumableStartAsync(this.url,this.fileUri,this.uuid,this.options,this.resumeData)}savable(){return{url:this.url,fileUri:this.fileUri,options:this.options,resumeData:this.resumeData}}}const N=m,j=y,F=v,M=_,V=w;let P;!function(e){e.getUriForDirectoryInRoot=function(e){return`content://com.android.externalstorage.documents/tree/primary:${e}/document/primary:${e}`},e.requestDirectoryPermissionsAsync=async function(e=null){if(!s.requestDirectoryPermissionsAsync)throw new r.UnavailabilityError("expo-file-system","StorageAccessFramework.requestDirectoryPermissionsAsync");return await s.requestDirectoryPermissionsAsync(e)},e.readDirectoryAsync=async function(e){if(!s.readSAFDirectoryAsync)throw new r.UnavailabilityError("expo-file-system","StorageAccessFramework.readDirectoryAsync");return await s.readSAFDirectoryAsync(e)},e.makeDirectoryAsync=async function(e,t){if(!s.makeSAFDirectoryAsync)throw new r.UnavailabilityError("expo-file-system","StorageAccessFramework.makeDirectoryAsync");return await s.makeSAFDirectoryAsync(e,t)},e.createFileAsync=async function(e,t,n){if(!s.createSAFFileAsync)throw new r.UnavailabilityError("expo-file-system","StorageAccessFramework.createFileAsync");return await s.createSAFFileAsync(e,t,n)};e.writeAsStringAsync=j,e.readAsStringAsync=N,e.deleteAsync=F,e.moveAsync=M,e.copyAsync=V}(P||(P={}))},5800(t,n,r){"use strict";r.r(n),r.d(n,{useFonts:()=>G});var i,a=r(36665),o=r(91808),s=(r(28945),r(86254)),l=r(57719),c=r.n(l);!function(e){e.AUTO="auto",e.SWAP="swap",e.BLOCK="block",e.FALLBACK="fallback",e.OPTIONAL="optional"}(i||(i={}));var u=r(33723);let d=null;function p(){if("undefined"!==typeof window)throw new Error("expo-font server context is server-only and cannot be used in the browser.");return d||(d=new u.AsyncLocalStorage),d}function f(){const e=p().getStore();if(!e)throw new Error("expo-font server context accessed outside of withServerContext(). Wrap your server-side font usage in withServerContext(() => /* server code */).");return e}function h(){const e=[...f().values()];if(!e.length)return[];return[{css:e.map(({css:e})=>e).join("\n"),id:"expo-generated-fonts",type:"style"},...[...new Set(e.map(({resourceId:e})=>e))].map(e=>({as:"font",crossOrigin:"",href:e,rel:"preload",type:"link"}))]}function m(){if("undefined"===typeof window)return null;const e=w();return e.sheet?e.sheet:null}function g(){const e=m();if(e){const t=[...e.cssRules],n=[];for(let e=0;e<t.length;e++){const r=t[e];r instanceof CSSFontFaceRule&&n.push({rule:r,index:e})}return n}return[]}function y(e,t){return g().filter(({rule:n})=>n.style.fontFamily===e&&(!t||!t.display||t.display===n.style.fontDisplay))}const v={async unloadAllAsync(){if("undefined"===typeof window)return;const e=document.getElementById(_);e&&e instanceof HTMLStyleElement&&document.removeChild(e)},async unloadAsync(e,t){const n=m();if(!n)return;const r=y(e,t);for(const i of r)n.deleteRule(i.index)},getServerResources:()=>h().map(e=>{switch(e.type){case"style":return`<style id="${e.id}">${e.css}</style>`;case"link":return`<link rel="${e.rel}" href="${e.href}" as="${e.as}" crossorigin="${e.crossOrigin}" />`;default:return""}}
2).filter(Boolean),getServerResourceDescriptors:()=>h(),getLoadedFonts(){if("undefined"===typeof window)return function(){const e=p().getStore();return e?[...e.values()].map(({name:e})=>e):[]}();return g().map(({rule:e})=>e.style.fontFamily)},isLoaded:(e,t={})=>"undefined"===typeof window?function(e){const t=p().getStore();if(!t)return!1;for(const n of t.values())if(n.name===e)return!0;return!1}(e):y(e,t)?.length>0,loadAsync(e,t){if("undefined"===typeof window)return function(e){const t=f();t.has(e.css)||t.set(e.css,e)}({name:e,css:S(e,t),resourceId:t.uri}),Promise.resolve();if(!(document.head&&"function"===typeof document.head.appendChild))throw new o.CodedError("ERR_WEB_ENVIRONMENT","The browser's `document.head` element doesn't support injecting fonts.");const n=w();document.head.appendChild(n);return y(e,t).length||function(e,t){const n=S(e,t),r=w();if(r.styleSheet){const e=r;e.styleSheet.cssText=e.styleSheet.cssText?e.styleSheet.cssText+n:n}else{const e=document.createTextNode(n);r.appendChild(e)}}(e,t),function(){const{userAgent:e}=window.navigator,t=!!e.match(/iPad|iPhone/i),n=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),r=e.includes("Edge"),i=e.includes("Trident");return!n&&!t&&!r&&!i}()?new(c())(e,{display:t.display}).load(t.testString??null,12e3):Promise.resolve()}};const b="undefined"===typeof window?v:(0,s.registerWebModule)(function(){return v},"ExpoFontLoader"),_="expo-generated-fonts";function w(){const e=document.getElementById(_);if(e&&e instanceof HTMLStyleElement)return e;const t=document.createElement("style");return t.id=_,t}const k=/^[a-zA-Z_-][\w-]*$/;function S(e,t){const n="string"===typeof t.display&&k.test(t.display)?t.display:i.AUTO;return`@font-face{font-family:${JSON.stringify(e)};src:url(${JSON.stringify(t.uri)});font-display:${n}}`}var x=r(35190),C=r(98943),E=r(45548);class A{constructor(e,t,n){this.serverUrl=e||"https://expo.dev",this.jsbundleUrl=null,this.asset=n}isLoadedFromServer(){return!0}isLoadedFromFileSystem(){return!1}defaultAsset(){return this.assetServerURL()}assetServerURL(){const e=new URL(function(e){const t=A.pickScale(e.scales,C.default.get()),n=1===t?"":"@"+t+"x",r=e.type?`.${e.type}`:"";return e.httpServerLocation.replace(/\.\.\//g,"_")+"/"+e.name+n+r}(this.asset),this.serverUrl);return e.searchParams.set("platform","web"),e.searchParams.set("hash",this.asset.hash),this.fromSource(e.toString().replace(e.origin,""))}fromSource(e){return{__packager_asset:!0,width:this.asset.width??void 0,height:this.asset.height??void 0,uri:e,scale:A.pickScale(this.asset.scales,C.default.get())}}static pickScale(e,t){for(const n of e)if(n>=t)return n;return e[e.length-1]||1}}function T(e){const{pathname:t,searchParams:n}=new URL(e,"https://e");return function(e){return e.substring(e.lastIndexOf("/")+1)}(t)}function I(e){const t=T(e),n=t.lastIndexOf(".");return n>0?t.substring(n):""}let R;function O(e){R=e}function D(e){if("object"===typeof e)return e;const t=(0,x.getAssetByID)(e);if(!t)return null;const n=new A("https://expo.dev",null,t);return R?R(n):n.defaultAsset()}Object.defineProperty(D,"setCustomSourceTransformer",{get:()=>O});const N=D,{pickScale:j}=A;class F{static byHash={};static byUri={};hash=null;localUri=null;width=null;height=null;downloading=!1;downloaded=!1;_downloadCallbacks=[];constructor({name:e,type:t,hash:n=null,uri:r,width:i,height:a}){this.name=e,this.type=t,this.hash=n,this.uri=r,"number"===typeof i&&(this.width=i),"number"===typeof a&&(this.height=a),n&&(this.localUri=null,this.localUri?.startsWith("file:///android_res/")?(this.uri=this.localUri,this.localUri=null):this.localUri&&(this.downloaded=!0)),e||(this.name=T(r)),t||(this.type=I(r))}static loadAsync(e){const t=Array.isArray(e)?e:[e];return Promise.all(t.map(e=>F.fromModule(e).downloadAsync()))}static fromModule(e){if("string"===typeof e)return F.fromURI(e);if("object"===typeof e&&"uri"in e&&"string"===typeof e.uri){const t=I(e.uri);return new F({name:"",type:t.startsWith(".")?t.substring(1):t,hash:null,uri:e.uri,width:e.width,height:e.height})}const t=(0,x.getAssetByID)(e);if(!t)throw new Error(`Module "${e}" is missing from the asset registry`);{const{uri:n}=N(e),r=new F({name:t.name,type:t.type,hash:t.hash,uri:n,width:t.width,height:t.height});return F.byHash[t.hash]=r,r}}static fromMetadata(e){const t=e.hash,n=F.byHash[t];
2if(n)return n;const{uri:r,hash:i}=function(e){const t=A.pickScale(e.scales,C.default.get()),n=e.scales.findIndex(e=>e===t),r=e.fileHashes?.[n]??e.fileHashes?.[0]??e.hash,i=e.fileUris?e.fileUris[n]??e.fileUris[0]:e.uri;if(i)return{uri:i,hash:r};const a=1===t?"":`@${t}x`,o=e.type?`.${encodeURIComponent(e.type)}`:"",s=`/${encodeURIComponent(e.name)}${a}${o}`,l=new URLSearchParams({platform:"web",hash:e.hash});if(/^https?:\/\//.test(e.httpServerLocation))return{uri:e.httpServerLocation+s+"?"+l,hash:r};const c={},u=c?.extra?.expoGo?.developer?"http://"+c.extra.expoGo.debuggerHost:null;if(u){const t=new URL(e.httpServerLocation+s,u);return t.searchParams.set("platform","web"),t.searchParams.set("hash",e.hash),{uri:t.href,hash:r}}return E.default.ExponentKernel?{uri:`https://classic-assets.eascdn.net/~assets/${encodeURIComponent(r)}`,hash:r}:{uri:"",hash:r}}(e),a=new F({name:e.name,type:e.type,hash:i,uri:r,width:e.width,height:e.height});return F.byHash[t]=a,a}static fromURI(e){if(F.byUri[e])return F.byUri[e];let t="";if(e.indexOf(";base64")>-1)t=e.split(";")[0]?.split("/")[1]??"";else{const n=I(e);t=n.startsWith(".")?n.substring(1):n}const n=new F({name:"",type:t,hash:null,uri:e});return F.byUri[e]=n,n}async downloadAsync(){if(this.downloaded)return this;if(this.downloading)return await new Promise((e,t)=>{this._downloadCallbacks.push({resolve:e,reject:t})}),this;this.downloading=!0;try{if(n=this.type,/^(jpeg|jpg|gif|png|bmp|webp|heic)$/i.test(n)){const{width:e,height:n,name:r}=await(t=this.uri,"undefined"===typeof window?Promise.resolve({name:T(t),width:0,height:0}):new Promise((e,n)=>{const r=new Image;r.onerror=n,r.onload=()=>{e({name:T(t),width:r.naturalWidth,height:r.naturalHeight})},r.src=t}));this.width=e,this.height=n,this.name=r}else this.name=T(this.uri);this.localUri=await async function(e){return e}(this.uri,this.hash,this.type),this.downloaded=!0,this._downloadCallbacks.forEach(({resolve:e})=>e())}catch(e){throw this._downloadCallbacks.forEach(({reject:n})=>n(e)),e}finally{this.downloading=!1,this._downloadCallbacks=[]}var t,n;return this}}function M(e){return"string"===typeof e?e||null:"number"===typeof e?M(F.fromModule(e)):"object"===typeof e&&"number"===typeof e.uri?M(e.uri):"object"===typeof e&&(e.uri||e.localUri||e.default)||null}function V(e){const t=M(e),n="object"===typeof(r=e)&&"display"in r&&r.display||i.AUTO;var r;const a=function(e){if("object"===typeof e&&"testString"in e)return e.testString??void 0}(e);return t&&"string"===typeof t||P(t),{uri:t,display:n,testString:a}}function P(e){let t=typeof e;throw"object"===t&&(t=JSON.stringify(e,null,2)),new o.CodedError("ERR_FONT_SOURCE",`Expected font asset of type \`string | FontResource | Asset\` instead got: ${t}`)}function L(e,t){if(("object"!==typeof t||"string"!==typeof t.uri||t.downloadAsync)&&P(t),"undefined"===typeof window)return b.loadAsync(e,t);try{return b.loadAsync(e,t)}catch{}return Promise.resolve()}const B={};let H={};function W(e){return e in H}function z(e,t){if(!t)throw new o.CodedError("ERR_FONT_SOURCE",`Cannot load null or undefined font source: { "${e}": ${t} }. Expected asset of type \`FontSource\` for fontFamily of name: "${e}"`);L(e,V(t))}function Y(e){if("function"!==typeof b.isLoaded)throw new Error("expected ExpoFontLoader.isLoaded to be a function, was "+typeof b.isLoaded);return W(e)||b.isLoaded(e)}function U(e,t){const n="undefined"===typeof window;if("object"===typeof e){if(t)return Promise.reject(new o.CodedError("ERR_FONT_API",`No fontFamily can be used for the provided source: ${t}. The second argument of \`loadAsync()\` can only be used with a \`string\` value as the first argument.`));const r=e,i=Object.keys(r);return n?(i.map(e=>z(e,r[e])),Promise.resolve()):Promise.all(i.map(e=>
2X(e,r[e]))).then(()=>{})}return n?(z(e,t),Promise.resolve()):X(e,t)}async function X(e,t){if(!t)throw new o.CodedError("ERR_FONT_SOURCE",`Cannot load null or undefined font source: { "${e}": ${t} }. Expected asset of type \`FontSource\` for fontFamily of name: "${e}"`);if(Y(e))return;if(B.hasOwnProperty(e))return B[e];const n=V(t);B[e]=(async()=>{try{await L(e,n),function(e){H[e]=!0}(e)}finally{delete B[e]}})(),await B[e]}const G="undefined"===typeof window?function(e){return U(e),[!0,null]}:function(e){const[t,n]=(0,a.useState)(function(e){return"string"===typeof e?Y(e):Object.keys(e).every(e=>Y(e))}(e)),[r,i]=(0,a.useState)(null);return(0,a.useEffect)(()=>{let t=!0;return U(e).then(()=>{t&&n(!0)}).catch(e=>{t&&i(e)}),()=>{t=!1}},[]),[t,r]}},61479(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(60397),i=n(73929);function a(e){return(0,r.jsx)(i.default,Object.assign({},e))}},8319(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(60397),i=n(73929);function a(e){return(0,r.jsx)(i.default,Object.assign({},e))}},92816(e,t,n){"use strict";function r(){return!1}n.r(t),n.d(t,{isGlassEffectAPIAvailable:()=>r})},80571(e,t,n){"use strict";function r(){return!1}n.r(t),n.d(t,{isLiquidGlassAvailable:()=>r})},74866(e,t,n){"use strict";n.r(t),n.d(t,{AndroidHaptics:()=>i.AndroidHaptics,ImpactFeedbackStyle:()=>i.ImpactFeedbackStyle,NotificationFeedbackType:()=>i.NotificationFeedbackType,impactAsync:()=>p,notificationAsync:()=>d,performAndroidHapticsAsync:()=>h,selectionAsync:()=>f});var r=n(28945),i=n(3185);const a={[i.NotificationFeedbackType.Success]:[40,100,40],[i.NotificationFeedbackType.Warning]:[50,100,50],[i.NotificationFeedbackType.Error]:[60,100,60,100,60],[i.ImpactFeedbackStyle.Light]:[40],[i.ImpactFeedbackStyle.Medium]:[50],[i.ImpactFeedbackStyle.Heavy]:[60],[i.ImpactFeedbackStyle.Soft]:[35],[i.ImpactFeedbackStyle.Rigid]:[45],selection:[50]};function o(){return"undefined"!==typeof window&&"navigator"in window&&"vibrate"in navigator}function s(){try{const e=document.createElement("label");e.ariaHidden="true",e.style.display="none";const t=document.createElement("input");t.type="checkbox",t.setAttribute("switch",""),e.appendChild(t),document.head.appendChild(e),e.click(),document.head.removeChild(e)}catch{}}const l="undefined"!==typeof window&&window.matchMedia("(pointer: coarse)").matches;function c(e){o()?navigator.vibrate(e):l&&s()}const u={async notificationAsync(e){if(o())return void navigator.vibrate(a[e]);if(!l)return;const t=e===i.NotificationFeedbackType.Error?3:2;for(let n=0;n<t;n++)n>0&&await new Promise(e=>setTimeout(e,120)),s()},async impactAsync(e){c(a[e])},async selectionAsync(){c(a.selection)}};async function d(e=i.NotificationFeedbackType.Success){if(!u?.notificationAsync)throw new r.UnavailabilityError("Haptics","notificationAsync");await u.notificationAsync(e)}async function p(e=i.ImpactFeedbackStyle.Medium){if(!u?.impactAsync)throw new r.UnavailabilityError("Haptic","impactAsync");await u.impactAsync(e)}async function f(){if(!u?.selectionAsync)throw new r.UnavailabilityError("Haptic","selectionAsync");await u.selectionAsync()}async function h(e){}},3185(e,t,n){"use strict";n.r(t),n.d(t,{AndroidHaptics:()=>a,ImpactFeedbackStyle:()=>i,NotificationFeedbackType:()=>r});let r=function(e){return e.Success="success",e.Warning="warning",e.Error="error",e}({}),i=function(e){return e.Light="light",e.Medium="medium",e.Heavy="heavy",e.Soft="soft",e.Rigid="rigid",e}({}),a=function(e){return e.Confirm="confirm",e.Reject="reject",e.Gesture_Start="gesture-start",e.Gesture_End="gesture-end",e.Toggle_On="toggle-on",e.Toggle_Off="toggle-off",e.Clock_Tick="clock-tick",e.Context_Click="context-click",e.Drag_Start="drag-start",e.Keyboard_Tap="keyboard-tap",e.Keyboard_Press="keyboard-press",e.Keyboard_Release="keyboard-release",e.Long_Press="long-press",e.Virtual_Key="virtual-key",e.Virtual_Key_Release="virtual-key-release",e.No_Haptics="no-haptics",e.Segment_Tick="segment-tick",e.Segment_Frequent_Tick="segment-frequent-tick",e.Text_Handle_Move="text-handle-move",e}({})},91069(e,t,n){"use strict";n.r(t),n.d(t,{ImageManipulator:()=>o.default,manipulateAsync:()=>h,useImageManipulator:()=>m});var r=n(98587),i=n(36665);var a=n(71980),o=n(57657);function s(e,t,n){!function(e){if("string"!==typeof e)throw new TypeError('The "uri" argument must be a string')}(e),function(e){if(!Array.isArray(e))throw new TypeError('The "actions" argument must be an array');for(const t of e){if("object"!==typeof t||null===t)throw new TypeError("Action must be an object");const e=["crop","extent","flip","rotate","resize"],n=Object.keys(t);if(1!==n.length)throw new TypeError(`Single action must contain exactly one transformation: ${e.join(", ")}`);const r=n[0];if(null!=r&&!e.includes(r))throw new TypeError(`Unsupported action type: ${r}`);"crop"===r?l(t):"extent"===r?c(t):"flip"===r?u(t):"rotate"===r?d(t):"resize"===r&&p(t)}}(t),function({base64:e,compress:t,format:n}){if(void 0!==e&&"boolean"!==typeof e)throw new TypeError('The "base64" argument must be a boolean');if(void 0!==t){if("number"!==typeof t)throw new TypeError('The "compress" argument must be a number');if(t<0||t>1)throw new TypeError('The "compress" argument must be a number between 0 and 1')}const r=[a.SaveFormat.JPEG,a.SaveFormat.PNG,a.SaveFormat.WEBP];if(void 0!==n&&!r.includes(n))throw new TypeError(`The "format" argument must be one of: ${r.j
2oin(", ")}`)}(n)}function l(e){if(!("object"===typeof e.crop&&null!==e.crop&&"number"===typeof e.crop.originX&&"number"===typeof e.crop.originY&&"number"===typeof e.crop.width&&"number"===typeof e.crop.height))throw new TypeError("Crop action must be an object of shape { originX: number; originY: number; width: number; height: number }")}function c(e){if(!("object"===typeof e.extent&&null!==e.extent&&(null==e.extent.backgroundColor||"string"===typeof e.extent.backgroundColor)&&(null==e.extent.originX||"number"===typeof e.extent.originX)&&(null==e.extent.originY||"number"===typeof e.extent.originY)&&"number"===typeof e.extent.width&&"number"===typeof e.extent.height))throw new TypeError("Extent action must be an object of shape { backgroundColor?: string; originX?: number; originY?: number; width: number; height: number }")}function u(e){if("string"!==typeof e.flip||![a.FlipType.Horizontal,a.FlipType.Vertical].includes(e.flip))throw new TypeError(`Unsupported flip type: ${e.flip}`)}function d(e){if("number"!==typeof e.rotate)throw new TypeError("Rotation must be a number")}function p(e){if(!("object"===typeof e.resize&&null!==e.resize&&("number"===typeof e.resize.width||"undefined"===typeof e.resize.width)&&("number"===typeof e.resize.height||"undefined"===typeof e.resize.height)))throw new TypeError("Resize action must be an object of shape { width?: number; height?: number }")}const f=["format"];async function h(e,t=[],n={}){s(e,t,n);const{format:i=a.SaveFormat.JPEG}=n,l=(0,r.default)(n,f),c=o.default.manipulate(e);for(const r of t)"resize"in r?c.resize(r.resize):"rotate"in r?c.rotate(r.rotate):"flip"in r?c.flip(r.flip):"crop"in r?c.crop(r.crop):"extent"in r&&c.extent&&c.extent(r.extent);const u=await c.renderAsync(),d=await u.saveAsync(Object.assign({format:i},l));return c.release(),u.release(),d}function m(e){return function(e,t){const n=(0,i.useRef)(null),r=(0,i.useRef)(null),a=(0,i.useRef)(!1),o=(0,i.useRef)(t);null==n.current&&(n.current=e());const s=(0,i.useMemo)(()=>{let i=n.current;const a=o.current?.length===t.length&&t.every((e,t)=>e===o.current[t]);return i&&a||(r.current=n.current,i=e(),n.current=i,o.current=t),i},t);return(0,i.useEffect)(()=>{r.current&&(r.current.release(),r.current=null)},[s]),(0,i.useMemo)(()=>{a.current=!0},[]),(0,i.useEffect)(()=>(a.current=!1,()=>{!a.current&&n.current&&n.current.release()}),[]),s}(()=>o.default.manipulate(e),[e])}},71980(e,t,n){"use strict";n.r(t),n.d(t,{FlipType:()=>r,SaveFormat:()=>i});let r=function(e){return e.Vertical="vertical",e.Horizontal="horizontal",e}({}),i=function(e){return e.JPEG="jpeg",e.PNG="png",e.WEBP="webp",e}({})},57657(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>_});var r=n(20356),i=n(86254);(0,n(13663).ensureNativeModulesAreInstalled)();const a=globalThis.expo.SharedObject;var o=n(25633),s=n(71980),l=n(91808);function c(e){const t=e.getContext("2d");if(!t)throw new l.CodedError("ERR_IMAGE_MANIPULATOR","Failed to create canvas context");return t}function u(e){return new Promise((t,n)=>{const r=new Image;r.crossOrigin="anonymous";const i=document.createElement("canvas");r.onload=()=>{i.width=r.naturalWidth,i.height=r.naturalHeight;c(i).drawImage(r,0,0,r.naturalWidth,r.naturalHeight),t(i)},r.onerror=()=>n(i),r.src=e})}class d extends o.SharedRef{nativeRefType="image";constructor(e,t){super(),this.uri=e,this.canvas=t}get width(){return this.canvas.width}get height(){return this.canvas.height}async saveAsync(e={base64:!1}){return new Promise((t,n)=>{const r=`image/${e.format??s.SaveFormat.JPEG}`;this.canvas.toBlob(async i=>{if(!i)return n(new Error(`Unable to save image: ${this.uri}`));if(i.type!==r)return n(new Error(`The browser does not support encoding "${r}" images. Got "${i.type}" instead. Try a different format like JPEG or PNG.`));const a=e.base64?await async function(e){return(await new Promise((t,n)=>{const r=new FileReader;r.onloadend=()=>t(r.result),r.onerror=()=>n(new Error(`Unable to convert blob to base64 string: ${r.error}`)),r.readAsDataURL(e)})).replace(/^data:image\/\w+;base64,/,"")}(i):void 0,o=URL.createObjectURL(i);t({uri:o,width:this.width,height:this.height,base64:a})},r,e.compress)})}}const p=(e,{width:t,height:n})=>{const r=e.width/e.height;let i=0,a=0;return void 0!==t&&(i=t,a=i/r),void 0!==n&&(a=n,0===i&&(i=a*r)),function(e,t,n,r=!1){const i=document.createElement("canvas");i.width=e.width,i.height=e.height;
2const a=e.width,o=e.height,s=a/(t=Math.round(t)),l=o/(n=Math.round(n)),u=Math.ceil(s/2),d=Math.ceil(l/2),p=c(e),f=p.getImageData(0,0,a,o),h=p.createImageData(t,n),m=f.data,g=h.data;for(let c=0;c<n;c++)for(let e=0;e<t;e++){const n=4*(e+c*t);let r=0,i=0,o=0,p=0,f=0,h=0,y=0;const v=(c+.5)*l,b=Math.floor(c*l),_=Math.ceil((c+1)*l);for(let t=b;t<_;t++){const n=Math.abs(v-(t+.5))/d,l=(e+.5)*s,c=n*n,g=Math.floor(e*s),b=Math.ceil((e+1)*s);for(let e=g;e<b;e++){const n=Math.abs(l-(e+.5))/u,s=Math.sqrt(c+n*n);if(s>=1)continue;r=2*s*s*s-3*s*s+1;const d=4*(e+t*a);y+=r*m[d+3],o+=r,m[d+3]<255&&(r=r*m[d+3]/250),p+=r*m[d],f+=r*m[d+1],h+=r*m[d+2],i+=r}}g[n]=p/i,g[n+1]=f/i,g[n+2]=h/i,g[n+3]=y/o}return r&&(i.width=t,i.height=n),c(i).putImageData(h,0,0),i}(e,i,a,!0)};(Object.getOwnPropertyDescriptor(p,"name")||{}).writable||Object.defineProperty(p,"name",{value:"default",configurable:!0});const f=(e,t)=>{const{width:n,height:r}=function(e,t,n){const r=n*Math.PI/180;let i=Math.cos(r),a=Math.sin(r);return a<0&&(a=-a),i<0&&(i=-i),{width:t*a+e*i,height:t*i+e*a}}(e.width,e.height,t),i=document.createElement("canvas");i.width=n,i.height=r;const a=c(i);a.translate(i.width/2,i.height/2);const o=t*Math.PI/180;return a.rotate(o),a.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),i};(Object.getOwnPropertyDescriptor(f,"name")||{}).writable||Object.defineProperty(f,"name",{value:"default",configurable:!0});const h=(e,t)=>{const n=t===s.FlipType.Horizontal,r=t===s.FlipType.Vertical,i=document.createElement("canvas");i.width=e.width,i.height=e.height;const a=c(i);a.translate(e.width/2,e.height/2);const o=n?-1:1,l=r?-1:1;return a.scale(o,l),a.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),i};(Object.getOwnPropertyDescriptor(h,"name")||{}).writable||Object.defineProperty(h,"name",{value:"default",configurable:!0});const m=(e,t)=>Math.max(0,Math.min(t,e)),g=(e,t)=>{let{originX:n=0,originY:r=0,width:i=0,height:a=0}=t;if(i=m(i,e.width),a=m(a,e.height),n=m(n,e.width),r=m(r,e.height),i=Math.min(n+i,e.width)-n,a=Math.min(r+a,e.height)-r,0===i||0===a)throw new l.CodedError("ERR_IMAGE_MANIPULATOR_CROP","Crop size must be greater than 0: "+JSON.stringify(t,null,2));const o=document.createElement("canvas");o.width=i,o.height=a;return c(o).drawImage(e,n,r,i,a,0,0,i,a),o};(Object.getOwnPropertyDescriptor(g,"name")||{}).writable||Object.defineProperty(g,"name",{value:"default",configurable:!0});const y=(e,t)=>{const{backgroundColor:n=null,originX:r=0,originY:i=0,width:a=0,height:o=0}=t;if(0===a||0===o)throw new l.CodedError("ERR_IMAGE_MANIPULATOR_EXTENT","Extent size must be greater than 0: "+JSON.stringify(t,null,2));const s=document.createElement("canvas");s.width=a,s.height=o;const u=r<0?0:r,d=i<0?0:i,p=r<0?Math.min(e.width,a+r):Math.min(e.width-r,a),f=i<0?Math.min(e.height,o+i):Math.min(e.height-i,o),h=r<0?-r:0,m=i<0?-i:0,g=c(s);return null!=n&&(g.fillStyle=n,g.fillRect(0,0,a,o)),g.drawImage(e,u,d,p,f,h,m,p,f),s};(Object.getOwnPropertyDescriptor(y,"name")||{}).writable||Object.defineProperty(y,"name",{value:"default",configurable:!0});class v extends a{get currentTask(){return this._currentTask||(this._currentTask=new Promise(e=>e(this.loader()))),this._currentTask}set currentTask(e){this._currentTask=e}constructor(e){super(),this.loader=e??(()=>document.createElement("canvas"))}resize(e){return this.addTask(t=>p(t,e))}rotate(e){return this.addTask(t=>f(t,e))}flip(e){return this.addTask(t=>h(t,e))}crop(e){return this.addTask(t=>g(t,e))}extent(e){return this.addTask(t=>y(t,e))}reset(){return this.currentTask=new Promise(e=>e(this.loader())),this}async renderAsync(){const e=await this.currentTask,t=document.createElement("canvas"),n=t.getContext("2d");return t.width=e.width,t.height=e.height,n?.drawImage(e,0,0),new Promise(n=>{e.toBlob(r=>{const i=r?URL.createObjectURL(r):e.toDataURL(),a=new d(i,t);n(a)},"image/png")})}addTask(e){return this.currentTask=this.currentTask.then(t=>e(t)),this}}class b extends r.NativeModule{Context=v;Image=d;manipulate(e){return new v(()=>{if("string"===typeof e)return u(e);if("object"===typeof e&&"uri"in e&&"string"===typeof e.uri)return u(e.uri);throw new Error(`Source not supported: ${e}`)})}}const _=(0,i.registerWebModule)(b,"ImageManipulator")},14381(e,t,n){"use strict";n.r(t),n.d(t,{CameraType:()=>s.CameraType,MediaTypeOptions:()=>s.MediaTypeOptions,PermissionStatus:()=>i.PermissionStatus,UIImagePickerControllerQualityType:()=>s.UIImagePickerControllerQualityType,UIImagePickerPreferredAssetRepresentationMode:()=>s.UIImagePickerPreferredAssetRepresentationMode,UIImagePickerPresentationStyle:()=>s.UIImagePickerPresentationStyle,VideoExportPreset:()=>s.VideoExportPreset,getCameraPermissionsAsync:()=>h,getMediaLibraryPermissionsAsync:()=>m,getPendingResultAsync:()=>_,launchCameraAsync:()=>w,launchImageLibraryAsync:()=>k,requestCameraPermissionsAsync:()=>g,requestMediaLibraryPermissionsAsync:()=>y,useCameraPermissions:()=>b,useMediaLibraryPermissions:()=>v});var r=n(7836),i=n(35992),a=n(91808),o=n(28945),s=n(19430);function l(e){const t={Images:["images"],Videos:["videos"],All:["images","videos"]};return e===s.MediaTypeOptions.Images||e===s.MediaTypeOptions.Videos||e===s.MediaTypeOptions.All?t[e]:"str
2ing"===typeof e?[e]:e}function c(e){return e.mediaTypes?Object.assign({},e,{mediaTypes:l(e.mediaTypes??[])}):e}const u={images:"image/*",videos:"video/mp4,video/quicktime,video/x-m4v,video/*",livePhotos:""},d={launchImageLibraryAsync:async({mediaTypes:e=["images"],allowsMultipleSelection:t=!1,base64:n=!1})=>"undefined"===typeof window||"undefined"===typeof document?{canceled:!0,assets:null}:await f({mediaTypes:e,allowsMultipleSelection:t,base64:n}),launchCameraAsync:async({mediaTypes:e=["images"],allowsMultipleSelection:t=!1,base64:n=!1,cameraType:r})=>"undefined"===typeof window||"undefined"===typeof document?{canceled:!0,assets:null}:await f({mediaTypes:e,allowsMultipleSelection:t,capture:r??!0,base64:n}),getCameraPermissionsAsync:async()=>p(),requestCameraPermissionsAsync:async()=>p(),getMediaLibraryPermissionsAsync:async e=>p(),requestMediaLibraryPermissionsAsync:async e=>p()};function p(){return{status:i.PermissionStatus.GRANTED,expires:"never",granted:!0,canAskAgain:!0}}function f({mediaTypes:e,capture:t=!1,allowsMultipleSelection:n=!1,base64:r}){const i=function(e){const t=e.filter(e=>"livePhotos"!==e);if(0===t.length)return"image/*";let n="";for(const r of t)n.includes(u[r])||(n=n.concat(",",u[r]));return n}(l(e)),a=document.createElement("input");if(a.style.display="none",a.setAttribute("type","file"),a.setAttribute("accept",i),a.setAttribute("id",String(Math.random())),a.setAttribute("data-testid","file-input"),n&&a.setAttribute("multiple","multiple"),t)switch(t){case!0:a.setAttribute("capture","camera");break;case s.CameraType.front:a.setAttribute("capture","user");break;case s.CameraType.back:a.setAttribute("capture","environment")}return document.body.appendChild(a),new Promise(e=>{a.addEventListener("change",async()=>{if(a.files?.length){const i=n?a.files:[a.files[0]];try{const t=await Promise.all(Array.from(i).filter(e=>null!=e).map(e=>async function(e,t){const n=e.type,r=URL.createObjectURL(e);try{let i,a;if(n.startsWith("image/"))i=await async function(e){return new Promise(t=>{const n=new Image;n.onload=()=>{t({width:n.naturalWidth??n.width,height:n.naturalHeight??n.height})},n.onerror=()=>t({width:0,height:0}),n.src=e})}(r);else{if(!n.startsWith("video/"))throw new Error(`Unsupported file type: ${n}. Only images and videos are supported.`);i=await async function(e){return new Promise(t=>{const n=document.createElement("video");n.preload="metadata",n.onloadedmetadata=()=>{t({width:n.videoWidth,height:n.videoHeight,duration:n.duration})},n.onerror=()=>t({width:0,height:0,duration:0}),n.src=e})}(r)}return t.base64&&(a=await async function(e){return new Promise((t,n)=>{const r=new FileReader;r.onerror=()=>{n(new Error("Failed to read the selected media because the operation failed."))},r.onload=e=>{const r=e.target?.result;"string"===typeof r?t(r.split(",")?.[1]??""):n(new Error("Failed to read file as base64"))},r.readAsDataURL(e)})}(e)),Object.assign({uri:r,width:i.width,height:i.height,type:n.startsWith("image/")?"image":"video",mimeType:n,fileName:e.name,fileSize:e.size,file:e},void 0!==i.duration&&{duration:i.duration},a&&{base64:a})}catch(i){throw i}}(e,{base64:r})));e({canceled:!1,assets:t})}catch(t){e(Promise.reject(t))}}else e({canceled:!0,assets:null});document.body.removeChild(a)}),a.addEventListener("cancel",()=>{a.dispatchEvent(new Event("change"))});const t=new MouseEvent("click");a.dispatchEvent(t)})}async function h(){return d.getCameraPermissionsAsync()}async function m(e=!1){return d.getMediaLibraryPermissionsAsync(e)}async function g(){return d.requestCameraPermissionsAsync()}async function y(e=!1){return(0,d.requestMediaLibraryPermissionsAsync)(e)}const v=(0,r.createPermissionHook)({getMethod:e=>m(e?.writeOnly),requestMethod:e=>y(e?.writeOnly)}),b=(0,r.createPermissionHook)({getMethod:h,requestMethod:g});async function _(){return d.getPendingResultAsync?d.getPendingResultAsync():null}async function w(e={}){if(!d.launchCameraAsync)throw new o.UnavailabilityError("ImagePicker","launchCameraAsync");const t=c(e);return await d.launchCameraAsync(function(e){const{aspect:t,quality:n,videoMaxDuration:r}=e;if(null!=t){const[e,n]=t;if(e<=0||n<=0)throw new a.CodedError("ERR_INVALID_ARGUMENT",`Invalid aspect ratio values ${e}:${n}. Provide positive numbers.`)}if(n&&(n<0||n>1))throw new a.CodedError("ERR_INVALID_ARGUMENT",`Invalid 'quality' value ${n}. Provide a value between 0 and 1.`);if(r&&r<0)throw new a.CodedError("ERR_INVALID_ARGUMENT",`Invalid 'videoMaxDuration' value ${r}. Provide a non-negative number.`);return e}(t))}async function k(e={}){const t=c(e);if(!d.launchImageLibraryAsync)throw new o.UnavailabilityError("ImagePicker","launchImageLibraryAsync");return t?.allowsEditing&&t.allowsMultipleSelection,await d.launchImageLibraryAsync(t)}},19430(e,t,n){"use strict";n.r(t),n.d(t,{CameraType:()=>l,MediaTypeOptions:()=>r,UIImagePickerControllerQualityType:()=>a,UIImagePickerPreferredAssetRepresentationMode:()=>s,UIImagePickerPresentationStyle:()=>o,VideoExportPreset:()=>i});let r=function(e){return e.All="All",e.Videos="Videos",e.Images="Images",e}({}),i=function(e){return e[e.Passthrough=0]="Passthrough",e[e.LowQuality=1]="LowQuality",e[e.MediumQuality=2]="MediumQuality",e[e.HighestQuality=3]="HighestQuality",e[e.H264_640x480=4]="H264_640x480",e[e.H264_960x540=5]="H264_960x540",e[e.H264_1280x720=6]="H264_1280x720",e[e.H264_1920x1080=7]="H264_1920x1080",e[e.H264_3840x2160=8]="H264_3840x2160",e[e.HEVC_1920x1080=9]="HEVC_1920x1080",e[e.HEVC_3840x2160=10]="HEVC_3840x2160",e}({}),a=function(e){return e[e.High=0]="High",e[e.Medium=1]="Medium",e[e.Low=2]="Low",e[e.VGA640x480=3]="VGA640x480",e[e.IFrame1280x720=4]="IFrame1280x720",e[e.IFrame960x540=5]="IFrame960x540",e}({}),o=function(e){return e.FULL_SCREEN="fullScreen",e.PAGE_SHEET="pageSheet",e.FORM_
2SHEET="formSheet",e.CURRENT_CONTEXT="currentContext",e.OVER_FULL_SCREEN="overFullScreen",e.OVER_CURRENT_CONTEXT="overCurrentContext",e.POPOVER="popover",e.AUTOMATIC="automatic",e}({}),s=function(e){return e.Automatic="automatic",e.Compatible="compatible",e.Current="current",e}({}),l=function(e){return e.back="back",e.front="front",e}({})},90102(e,t,n){"use strict";n.r(t),n.d(t,{Image:()=>Ae});var r=n(98587),i=n(36665);function a(){return(0,i.createRef)()}var o=n(75675),s=n(69e3),l=n(73929),c=n(60397);const u=["cross-dissolve","flip-from-left","flip-from-right","flip-from-top","flip-from-bottom"];function d(e,t){return i.useMemo(()=>{if(!e)return null;const[n,r]=e;return{animationKey:n,persistedElement:r,status:t||"mounted"}},[e?.[0]])}function p(e){if(!e?.duration)return null;const t=(n=e.effect,u.includes(n)?n:"cross-dissolve");var n;if(!t)return{startingClass:"",animateInClass:"",animateOutClass:"",containerClass:"",timingFunction:"linear",animationClass:"",duration:0};const r=function(e,t){return e?.includes("flip")?t?.includes("ease")?"ease-in-out":"linear":t||null}(t,e.timing),i=`image-timing-${r}`;return{startingClass:`${t}-start`,animateInClass:[t,"transitioning",`${t}-active`,i].join(" "),animateOutClass:[t,`${t}-end`,i].join(" "),containerClass:`${t}-container`,timingFunction:r,animationClass:t,duration:e?.duration||0}}function f({children:e,initial:t,transition:n,recyclingKey:r}){const a=p(n),o=d(t,"active"),[s,l]=i.useState(o?[o]:[]),[u,f]=i.useState(r??"");u!==(r??"")&&(f(r??""),l(o?[o]:[]));const h=e=>{l(t=>t.filter(t=>!!e&&t.animationKey!==e||"in"===t.status||"active"===t.status))},m=d(e);i.useEffect(()=>{l(e=>{if(!m)return e;return e.findIndex(e=>e.animationKey===m.animationKey)>=0?a?e.map(e=>e.animationKey===m.animationKey?Object.assign({},m,{status:"in"}):Object.assign({},e,{status:"out"})):[Object.assign({},m,{status:"in"})]:[...e,m]})},[m]);const g={transitionDuration:`${a?.duration||0}ms`,transitionTimingFunction:a?.timingFunction||"linear"},y={in:a?.animateInClass,out:a?.animateOutClass,mounted:a?.startingClass};return(0,c.jsx)(c.Fragment,{children:[...s].filter(e=>"errored"!==e.status).map(n=>{const r=n.status,i=y[r];return(0,c.jsx)("div",{className:a?.containerClass,children:(o=n,e[0]===o.animationKey?e[1]({onReady:()=>{l(a?e=>e.map(e=>e===m?Object.assign({},e,{status:"in"}):Object.assign({},e,{status:"out"})):[Object.assign({},o,{status:"in"})])},onAnimationFinished:()=>{l([Object.assign({},o,{status:"in"})])},onError:()=>{l(e=>e.map(e=>e===o?Object.assign({},e,{status:"errored"}):e))}}):t?.[0]===o.animationKey?t[1]({onAnimationFinished:()=>{"out"===o.status&&h(o.animationKey)},onError:()=>{l(e=>e.map(e=>e===o?Object.assign({},e,{status:"errored"}):e))}}):o.persistedElement({onAnimationFinished:()=>{h(o.animationKey)}}))(i,g)},n.animationKey);var o})})}function h(e,t){return t?{filter:`url(#expo-image-tint-${e})`}:{}}function m({id:e,tintColor:t}){return t?(0,c.jsx)("svg",{style:g.svg,children:(0,c.jsx)("defs",{children:(0,c.jsxs)("filter",{id:`expo-image-tint-${e}`,children:[(0,c.jsx)("feFlood",{floodColor:t}),(0,c.jsx)("feComposite",{in2:"SourceAlpha",operator:"atop"})]})})}):null}const g=o.default.create({svg:{width:0,height:0}});var y=n(35190),v=n(98943);class b{constructor(e,t,n){this.serverUrl=e||"https://expo.dev",this.jsbundleUrl=null,this.asset=n}isLoadedFromServer(){return!0}isLoadedFromFileSystem(){return!1}defaultAsset(){return this.assetServerURL()}assetServerURL(){const e=new URL(function(e){const t=b.pickScale(e.scales,v.default.get()),n=1===t?"":"@"+t+"x",r=e.type?`.${e.type}`:"";return e.httpServerLocation.replace(/\.\.\//g,"_")+"/"+e.name+n+r}(this.asset),this.serverUrl);return e.searchParams.set("platform","web"),e.searchParams.set("hash",this.asset.hash),this.fromSource(e.toString().replace(e.origin,""))}fromSource(e){return{__packager_asset:!0,width:this.asset.width??void 0,height:this.asset.height??void 0,uri:e,scale:b.pickScale(this.asset.scales,v.default.get())}}static pickScale(e,t){for(const n of e)if(n>=t)return n;return e[e.length-1]||1}}let _;function w(e){_=e}function k(e){if("object"===typeof e)return e;const t=(0,y.getAssetByID)(e);if(!t)return;const n=new b("https://expo.dev",null,t);return _?_(n):n.defaultAsset()}Object.defineProperty(k,"setCustomSourceTransformer",{get:()=>w});const{pickScale:S}=b;function x(e){const[t,n="",r=""]=e.replace(/^blurhash:\//,"").split("/");return{uri:"blurhash:/"+t,width:parseInt(n,10)||16,height:parseInt(r,10)||16}}function C(e){return{uri:"thumbhash:/"+e.replace(/^thumbhash:\//,"")}}var E=n(25633);let A=!1,T=!1,I=!1;function R(e,t,n){if(e)return e;if(t)switch(A||(A=!0),t){case"contain":case"cover":case"none":return t;case"stretch":return"fill";case"center":return"scale-down";
2case"repeat":return T||(T=!0),"cover";default:throw new Error(`Unhandled resizeMode case: ${t}`)}return n?"contain":"cover"}function O(e){if("string"===typeof e){const t={center:{top:"50%",left:"50%"},top:{top:0,left:"50%"},right:{top:"50%",right:0},bottom:{bottom:0,left:"50%"},left:{top:"50%",left:0},"top center":{top:0,left:"50%"},"top right":{top:0,right:0},"top left":{top:0,left:0},"right center":{top:"50%",right:0},"right top":{top:0,right:0},"right bottom":{bottom:0,right:0},"bottom center":{bottom:0,left:"50%"},"bottom right":{bottom:0,right:0},"bottom left":{bottom:0,left:0},"left center":{top:"50%",left:0},"left top":{top:0,left:0},"left bottom":{bottom:0,left:0}},n=t[e];return n||t.center}return e??{top:"50%",left:"50%"}}function D(e,t){return"number"===typeof e?{duration:e}:e||"number"!==typeof t?e??null:(I||(I=!0),{duration:t})}function N(e){return e instanceof E.SharedRef&&"image"===e.nativeRefType}const j=["blurhash","thumbhash"];function F(e){return/^(blurhash:\/)+[\w#$%*+,\-.:;=?@[\]^_{}|~]+(\/[\d.]+)*$/.test(e)}function M(e){return e.startsWith("thumbhash:/")}function V(e){if("string"===typeof e)return F(e)?x(e):M(e)?C(e):e.startsWith("sf:")?function(e){return{uri:`sf:/${e.slice(3)}`}}(e):{uri:e};if("number"===typeof e)return k(e);if("object"===typeof e&&(e?.blurhash||e?.thumbhash)){const{blurhash:t,thumbhash:n}=e,i=(0,r.default)(e,j),a=n?C(n):x(t);return Object.assign({},a,i)}return e??null}function P(e){return Array.isArray(e)?e.map(V).filter(Boolean):N(e)?e:[V(e)].filter(Boolean)}function L(e,t){return{onLoad:t=>{e?.onLoad?.forEach(e=>e?.(t)),"undefined"!==typeof window&&window.requestAnimationFrame(()=>{e?.onDisplay?.forEach(e=>e?.())})},onTransitionEnd:()=>e?.onTransitionEnd?.forEach(e=>e?.()),onError:()=>{t?.uri&&F(t?.uri)||e?.onError?.forEach(e=>e?.({source:t||null}))}}}const B=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],H=e=>{let t=0;for(const n of e){t=83*t+B.indexOf(n)}return t};class W extends Error{constructor(e){super(e),this.name="ValidationError",this.message=e}}const z=e=>{const t=e/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},Y=e=>{const t=Math.max(0,Math.min(1,e));return t<=.0031308?Math.trunc(12.92*t*255+.5):Math.trunc(255*(1.055*Math.pow(t,1/2.4)-.055)+.5)},U=(e,t)=>(e<0?-1:1)*Math.pow(Math.abs(e),t),X=e=>{const t=e[0],n=e[1];if(!t||!n||e.length<6)throw new W("The blurhash string must be at least 6 characters");const r=H(t),i=H(n),a=Math.floor(r/9)+1,o=r%9+1;if(e.length!==4+2*o*a)throw new W(`blurhash length mismatch: length is ${e.length} but it should be ${4+2*o*a}`);return{sizeFlag:r,quantisedMaximumValue:i}},G=e=>{const t=e>>8&255,n=255&e;return[z(e>>16),z(t),z(n)]},q=(e,t)=>{const n=Math.floor(e/361),r=Math.floor(e/19)%19,i=e%19;return[U((n-9)/9,2)*t,U((r-9)/9,2)*t,U((i-9)/9,2)*t]},J=(e,t,n,r)=>{const{sizeFlag:i,quantisedMaximumValue:a}=X(e);r=1|(r||1);const o=Math.floor(i/9)+1,s=i%9+1,l=(a+1)/166,c=new Array(s*o);for(let p=0;p<c.length;p++)if(0===p){const t=H(e.substring(2,6));c[p]=G(t)}else{const t=H(e.substring(4+2*p,6+2*p));c[p]=q(t,l*r)}const u=4*t,d=new Uint8ClampedArray(u*n);for(let p=0;p<n;p++)for(let e=0;e<t;e++){let r=0,i=0,a=0;for(let u=0;u<o;u++)for(let o=0;o<s;o++){const l=Math.cos(Math.PI*e*o/t)*Math.cos(Math.PI*p*u/n),d=c[o+u*s];r+=d[0]*l,i+=d[1]*l,a+=d[2]*l}const l=Y(r),f=Y(i),h=Y(a);d[4*e+0+p*u]=l,d[4*e+1+p*u]=f,d[4*e+2+p*u]=h,d[4*e+3+p*u]=255}return d},$=32,K=32;function Z(e,t=1){t=t||1;const[n,r]=(0,i.useState)(null),a=(e?.uri&&F(e.uri))??!1;(0,i.useEffect)(()=>{let n=!1;if(!e||!e.uri||!a)return;const i=e.uri.replace(/blurhash:\//,""),o=J(i,e.width??$,e.height??K,t),s=document.createElement("canvas"),l=d
2ocument.createElement("canvas");s.width=e.width??$,s.height=e.height??K,l.width=10*(e.width??$),l.height=10*(e.height??K);const c=s.getContext("2d");if(!c)return;const u=c.createImageData(s.width,s.height);u.data.set(o),c.putImageData(u,0,0);const d=l.getContext("2d");return d?(d.scale(10,10),d.drawImage(s,0,0),l.toBlob(e=>{n||r(t=>(t&&URL.revokeObjectURL(t),e?URL.createObjectURL(e):t))}),function(){n=!0,r(e=>(e&&URL.revokeObjectURL(e),null))}):void 0},[e?.uri,e?.height,e?.width,t,a]);return[(0,i.useMemo)(()=>n?{uri:n}:null,[n]),a]}function Q(e){const t=function(e){const{PI:t,min:n,max:r,cos:i,round:a}=Math,o=e[0]|e[1]<<8|e[2]<<16,s=e[3]|e[4]<<8,l=(63&o)/63,c=(o>>6&63)/31.5-1,u=(o>>12&63)/31.5-1,d=(o>>18&31)/31,p=o>>23,f=(s>>3&63)/63,h=(s>>9&63)/63,m=s>>15,g=r(3,m?p?5:7:7&s),y=r(3,m?7&s:p?5:7),v=p?(15&e[5])/15:1,b=(e[5]>>4)/15,_=p?6:5;let w=0;const k=(t,n,r)=>{const i=[];for(let a=0;a<n;a++)for(let o=a?0:1;o*n<t*(n-a);o++)i.push(((e[_+(w>>1)]>>((1&w++)<<2)&15)/7.5-1)*r);return i},S=k(g,y,d),x=k(3,3,1.25*f),C=k(3,3,1.25*h),E=p?k(5,5,b):null,A=function(e){const t=e[3],n=128&e[2],r=128&e[4];return(r?n?5:7:7&t)/(r?7&t:n?5:7)}(e),T=a(A>1?32:32*A),I=a(A>1?32/A:32),R=new Uint8Array(T*I*4),O=[],D=[];for(let N=0,j=0;N<I;N++)for(let e=0;e<T;e++,j+=4){let a=l,o=c,s=u,d=v;for(let n=0,l=r(g,p?5:3);n<l;n++)O[n]=i(t/T*(e+.5)*n);for(let e=0,n=r(y,p?5:3);e<n;e++)D[e]=i(t/I*(N+.5)*e);for(let e=0,t=0;e<y;e++)for(let n=e?0:1,r=2*D[e];n*y<g*(y-e);n++,t++)a+=S[t]*O[n]*r;for(let e=0,t=0;e<3;e++)for(let n=e?0:1,r=2*D[e];n<3-e;n++,t++){const e=O[n]*r;o+=x[t]*e,s+=C[t]*e}if(p)for(let e=0,t=0;e<5;e++)for(let n=e?0:1,r=2*D[e];n<5-e;n++,t++)d+=E[t]*O[n]*r;const f=a-2/3*o,h=(3*a-f+s)/2,m=h-s;R[j]=r(0,255*n(1,h)),R[j+1]=r(0,255*n(1,m)),R[j+2]=r(0,255*n(1,f)),R[j+3]=r(0,255*n(1,d))}return{w:T,h:I,rgba:R}}(e);return function(e,t,n){const r=4*e+1,i=6+t*(5+r),a=[137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,e>>8,255&e,0,0,t>>8,255&t,8,6,0,0,0,0,0,0,0,i>>>24,i>>16&255,i>>8&255,255&i,73,68,65,84,120,1],o=[0,498536548,997073096,651767980,1994146192,1802195444,1303535960,1342533948,-306674912,-267414716,-690576408,-882789492,-1687895376,-2032938284,-1609899400,-1111625188];let s=1,l=0;for(let c=0,u=0,d=r-1;c<t;c++,d+=r-1)for(a.push(c+1<t?0:1,255&r,r>>8,255&~r,r>>8^255,0),l=(l+s)%65521;u<d;u++){const e=255&n[u];a.push(e),s=(s+e)%65521,l=(l+s)%65521}a.push(l>>8,255&l,s>>8,255&s,0,0,0,0,0,0,0,0,73,69,78,68,174,66,96,130);for(let[c,u]of[[12,29],[37,41+i]]){let e=-1;for(let t=c;t<u;t++)e^=a[t],e=e>>>4^o[15&e],e=e>>>4^o[15&e];e=~e,a[u++]=e>>>24,a[u++]=e>>16&255,a[u++]=e>>8&255,a[u++]=255&e}return"data:image/png;base64,"+btoa(String.fromCharCode(...a))}(t.w,t.h,t.rgba)}function ee(e){const t=M(e?.uri||""),n=e?.uri?.replace(/thumbhash:\//,"")??"";return[(0,i.useMemo)(()=>{return t?{uri:(e=n,Q(Uint8Array.from(atob(e),e=>e.charCodeAt(0))))}:null;var e},[n,t]),t]}const te={width:"100%",height:"100%",position:"absolute",left:0,top:0};function ne(e){const t=Object.assign({},e);return t?(null==t.top&&null==t.bottom&&(t.top="50%"),null==t.left&&null==t.right&&(t.left="50%"),["top","bottom","left","right"].map(e=>e in t?`${e} ${function(e){const t=String(e).trim();return t.endsWith("%")?t:`${t}px`}(t[e])}`:"").join(" ")||"50% 50%"):"50% 50%"}const re=["source","events","contentPosition","hashPlaceholderContentPosition","priority","loading","style","hashPlaceholderStyle","tintColor","className","accessibilityLabel","cachePolicy","draggable"];function ie(e="normal"){return e&&["low","high"].includes(e)?e:"auto"}function ae(e){return e&&"srcset"in e?{srcSet:e.srcset,sizes:e.sizes}:{}}const oe=i.forwardRef((e,t)=>{let{source:n,events:a,contentPosition:o,hashPlaceholderContentPosition:s,priority:l,loading:u,style:d,hashPlaceholderStyle:p,tintColor:f,className:g,accessibilityLabel:y,cachePolicy:v,draggable:b}=e,_=(0,r.default)(e,re);(0,i.useEffect)(()=>{a?.onMount?.forEach(e=>e?.())},[]);const w=(0,i.useId)().replace(/[\xab\xbb]/g,"_"),{resolvedSource:k,isImageHash:S}=function(e){const[t,n]=ee(e),[r,a]=Z(e);return(0,i.useMemo)(()=>n||a?r||t?{resolvedSource:r??t,isImageHash:!0}:{resolvedSource:null,isImageHash:!0}:{resolvedSource:e,isImageHash:!1},[r,t,n,a,e])}(n),x=ne(S?s:o),C=function(e,t,n){const[r,a]=(0,i.useState)(null);return(0,i.useEffect)(()=>{(async()=>
2{if(e?.headers&&e.uri)try{const n=await fetch(e.uri,{headers:e.headers,cache:"none"===t?"no-cache":"default",redirect:"follow"});if(!n.ok)throw new Error(`Failed to fetch image: ${n.status} ${n.statusText}`);const r=await n.blob();a(e=>(e&&URL.revokeObjectURL(e),URL.createObjectURL(r)))}catch{n?.forEach(t=>t?.({source:e}))}})()},[e]),e?.headers?r?Object.assign({},e,{uri:r}):null:e}(k,v,a?.onError);return C?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(m,{id:w,tintColor:f}),(0,c.jsx)("img",Object.assign({ref:t,alt:y,className:g,src:C?.uri||void 0,style:Object.assign({objectPosition:x},te,h(w,f),d,S?p:{}),fetchPriority:ie(l||"normal"),loading:u||void 0,draggable:b},L(a,C),ae(n),_),n?.uri)]}):null}),se=oe;function le(e,t){return 1===e?.length?e[0]??null:[...e||[]]?.map(e=>{if(!t)return{source:e,penalty:0,covers:!1};const{width:n,height:r}="object"===typeof e?e:{width:null,height:null};return null==n||null==r?{source:e,penalty:0,covers:!1}:n<t.width||r<t.height?{source:e,penalty:Math.max(t.width-n,t.height-r),covers:!1}:{source:e,penalty:(n-t.width)*(r-t.height),covers:!0}}).sort((e,t)=>e.penalty-t.penalty).sort((e,t)=>Number(t.covers)-Number(e.covers))[0]?.source??null}function ce(e){return null==e.webMaxViewportWidth?null:`(max-width: ${e.webMaxViewportWidth}px) ${e.width}px`}function ue(e,t="static",n,r=null){const a=(Array.isArray(e)?e.length:0)>1,[o,s]=(0,i.useState)(n.current?.getBoundingClientRect()??null);return o&&n.current&&r?.(n.current,o),i.useEffect(()=>{if(!a&&!r||!n.current)return()=>{};if("live"===t){const e=new ResizeObserver(e=>{const t=e[0];s(t?.contentRect??null),null!=t&&r?.(t.target,t.contentRect)});return e.observe(n.current),()=>{e.disconnect()}}return()=>{}},[t,a,n.current,r]),N(e)?e:function(e,t,n){if(null==e||0===e.length)return null;if(1===e.length)return e[0]??null;if("static"!==n)return le(e,t);const r=e.filter(e=>e.uri&&null!=e.width&&!F(e.uri)&&!M(e.uri)).sort((e,t)=>(e.webMaxViewportWidth??e.width??0)-(t.webMaxViewportWidth??t.width??0));if(0===r.length)return le(e,t);const i=r?.map(e=>`${e.uri} ${e.width}w`).join(", ");return{srcset:i,sizes:["auto",...r.map(ce).filter(e=>null!=e),"100vw"].join(", "),uri:r[r.length-1]?.uri??"",type:"srcset"}}(e,o,t)}const de=["source","placeholder","contentFit","contentPosition","placeholderContentFit","cachePolicy","onLoad","transition","onError","responsivePolicy","onLoadEnd","onDisplay","priority","loading","blurRadius","recyclingKey","style","nativeViewRef","accessibilityLabel","alt","tintColor","containerViewRef","draggable"];function pe(e){return t=>{const n=t.target;e?.({source:{url:n.currentSrc,width:n.naturalWidth,height:n.naturalHeight,mediaType:null},cacheType:"none"})}}function fe(e){return({source:t})=>{e?.({error:`Failed to load image from url: ${t?.uri}`})}}function he(e,t){e?.style.setProperty("--expo-image-width",`${t.width}px`),e?.style.setProperty("--expo-image-height",`${t.height}px`)}function me(e,t){const n=e&&"uri"in e&&e.uri||"";return t?[t,n].join("-"):n}function ge(e){let{source:t,placeholder:n,contentFit:i,contentPosition:a,placeholderContentFit:o,cachePolicy:s,onLoad:u,transition:d,onError:p,responsivePolicy:h,onLoadEnd:m,onDisplay:g,priority:y,loading:v,blurRadius:b,recyclingKey:_,style:w,nativeViewRef:k,accessibilityLabel:S,alt:x,tintColor:C,containerViewRef:E,draggable:A}=e,T=(0,r.default)(e,de);const I=o||"scale-down",R={objectFit:o||i},O=v??(null==h||"static"===h?"lazy":void 0),D=ue(t,h,E,function(e){return"flip-from-bottom"===e?.effect||"flip-from-top"===e?.effect||"flip-from-left"===e?.effect||"flip-from-right"===e?.effect}(d)?he:null),N=n?.[0],j=me(N,_),F=N?.uri?[j,({onAnimationFinished:e})=>(t,n)=>(0,c.jsx)(se,{ref:k,source:N,style:Object.assign({objectFit:I},b?{filter:`blur(${b}px)`}:{},n),className:t,events:{onTransitionEnd:[e]},contentPosition:{left:"50%",top:"50%"},hashPlaceholderContentPosition:a,hashPlaceholderStyle:R,accessibilityLabel:S??x,cachePolicy:s,priority:y,loading:O,tintColor:C,draggable:A})]:null,M=[me(D??N,_),({onAnimationFinished:e,onReady:t,onMount:n,onError:r})=>(o,l)=>(0,c.jsx)(se,{ref:k,source:D||N,events:{onError:[fe(p),m,r],onLoad:[pe(u),m,t],onMount:[n],onTransitionEnd:[e],onDisplay:[g]},style:Object.assign({objectFit:D?i:I},b?{filter:`blur(${b}px)`}:{},l),className:o,cachePolicy:s,priority:y,loading:O,contentPosition:D?a:{top:"50%",left:"50%"},hashPlaceholderContentPosition:a,hashPlaceholderStyle:R,accessibilityLabel:S,tintColor:C,draggable:A})];return(0,c.jsx)(l.default,Object.assign({ref:E,dataSet:{expoimage:!0},style:[{overflow:"hidden"},w]},T,{children:(0,c.jsx)(f,{transition:d,recyclingKey:_,initial:F,children:M})}))}!function(){if("undefined"!==typeof window){const e=document.createElement("style");e.innerHTML="\n[data-expoimage] .cross-dissolve {\n  transition-property: opacity;\n  animation-fill-mode: forwards;\n}\n[data-expoimage] .cross-dissolve-start:not(.transitioning) {\n  opacity: 0;\n}\n[data-expoimage] .cross-dissolve-active {\n  opacity: 1;\n}\n[data-expoimage] .cross-dissolve-end {\n  opacity: 0;\n}\n[data-expoimage] .flip-from-left {\n  transition-property: transform, opacity;\n  transition-timing-function: var(--expo-image-timing,linear), steps(2, jump-none) !important;\n  transform-origin: center;\n\n}\n[data-expoimage] .flip-from-left-container {\n  width: 100%;\n  height: 100%;\n  position: absolute;\n  left: 0;\n  top: 0;\n  perspective: 1000px;\n}\n[data-expoimage] .flip-from-left-start:not(.transitioning) {\n  transform:  translateZ(calc(var(--expo-image-width,1000px) * -1.25)) rotateY(-180deg);\n  opacity: 0;\n}\n[data-expoimage] .flip-from-left-active {\n  transform: translateZ(0px) rotateY(0) ;\n  opacity:1;\n}\n[data-expoimage] .flip-from-left-end {\n  transform:  translateZ(calc(var(--expo-image-width,1000px) * -1.25)) rotateY(180deg);\n  opacity: 0;\n}\n[data-expoimage] .flip-from-right {\n  transition-property: transform, opacity;\n  transition-timing-function: var(--expo-image-timing,linear), steps(2, jump-none) !important;\n  transform-origin: center;\n}\n[data-expoimage] .flip-from-right-container {\n  width: 100%;\n  height: 100%;\n  position: absolute;\n  left: 0;\n  top: 0;\n  perspective: 1000px;\n}\n[data-expoimage] .flip-from-right-start:not(.transitioning) {\n  transform:  translateZ(calc(var(--expo-image-width,1000px) * -1.25)) rotateY(180deg);\n  opacity: 0;\n}\n[data-expoimage] .flip-from-right-active {\n  transform: translateZ(0px) rotateY(0) ;\n  opacity:1;\n}\n[data-expoimage] .flip-from-right-end {\n  transform:  translateZ(calc(var(--expo-image-width,1000px) * -1.25)) rotateY(-180deg);\n  opacity: 0;\n}\n[data-expoimage] .flip-from-top {\n  transition-property: transform, opacity;\n  transition-timing-function: var(--expo-image-timing,linear), steps(2, jump-none) !important;\n  transform-origin: center;\n}\n[data-expoimage] .flip-from-top-container {\n  width: 100%;\n  height: 100%;\n  position: absolute;\n  left: 0;\n  top: 0;\n  perspective: 1000px;\n}\n[data-expoimage] .flip-from-top-start:not(.transitioning) {\n  transform:  translateZ(calc(var(--expo-image-height,1000px) * -1.5)) rotateX(180deg);\n  opacity: 0;\n}\n[data-expoimage] .flip-from-top-active {\n  transform: translateZ(0px) rotateX(0) ;\n  opacity:1;\n}\n[data-expoimage] .flip-from-top-end {\n  transform:  translateZ(calc(var(--expo-image-height,1000px) * -1.5)) rotateX(-180deg);\n  opacity: 0;\n}\n[data-expoimage] .flip-from-bottom {\n  transition-property: transform, opacity;\n  transition-timing-function: var(--expo-image-timing,linear), steps(2, jump-none) !important;\n  transform-origin: center;\n}\n[data-expoimage] .flip-from-bottom-container {\n  width: 100%;\n  height: 100%;\n  position: absolute;\n  left: 0;\n  top: 0;\n  perspective: 1000px;\n}\n[data-expoimage] .flip-from-bottom-start:not(.transitioning) {\n  transform:  translateZ(calc(var(--expo-image-height,1000px) * -1.25)) rotateX(-180deg);\n  opacity: 0;\n}\n[data-expoimage] .flip-from-bottom-active {\n  transform: translateZ(0px) rotateX(0) ;\n  opacity:1;\n}\n[data-expoimage] .flip-from-bottom-end {\n  transform:  translateZ(calc(var(--expo-image-height,1000px) * -1.25)) rotateX(180deg);\n  opacity: 0;\n}\n[data-expoimage] .image-timing-linear {\n  --expo-image-timing: linear;\n}\n[data-expoimage] .image-timing-ease-in {\n  --expo-image-timing: ease-in;\n}\n[data-expoimage] .image-timing-ease-out {\n  --expo-image-timing: ease-out;\n}\n[data-expoimage] .image-timing-ease-in-out {\n  --expo-image-timing: ease-in-out;\n}\n",e.id="expo-image-styles",document.head.appendChild(e)}}();var ye=n(20356),ve=n(86254);
2class be extends E.SharedRef{nativeRefType="image";uri=null;width=0;height=0;mediaType=null;scale=1;isAnimated=!1;static init(e,t,n,r){return Object.assign(new be,{uri:e,width:t,height:n,mediaType:r,isAnimated:"image/gif"===r})}}class _e extends ye.NativeModule{Image=be;async prefetch(e,t,n){const r=Array.isArray(e)?e:[e];return new Promise(e=>{let t=0;r.forEach(n=>{const i=new Image;i.src=n,i.onload=()=>{t++,t===r.length&&e(!0)},i.onerror=()=>e(!1)})})}async clearMemoryCache(){return!1}async clearDiskCache(){return!1}configureCache(e){}async loadAsync(e){if(!e.uri)throw new Error('The image source must have the "uri" property defined');const t=await fetch(e.uri,{headers:e.headers});if(!t.ok)throw new Error(`Image request failed with the status code: ${t.status}`);const n=await t.blob(),r=URL.createObjectURL(n),i=await async function(e){return new Promise((t,n)=>{const r=document.createElement("img");r.onload=()=>t(r),r.onerror=()=>n(new Error(`Unable to load the image from '${e}'`)),r.src=e})}(r);return be.init(r,i.width,i.height,t.headers.get("Content-Type"))}getCachePathAsync(e){return Promise.resolve(null)}writeToCacheAsync(e,t){throw new Error("Writing to the cache is not supported on Web.")}readFromCacheAsync(e){return Promise.resolve(null)}generateBlurhashAsync(e,t){throw new Error("Blurhash generation is not supported on Web.")}generateThumbhashAsync(e){throw new Error("Thumbhash generation is not supported on Web.")}}const we=(0,ve.registerWebModule)(_e,"ExpoImage"),ke=["style","source","placeholder","contentFit","contentPosition","transition","fadeDuration","resizeMode","defaultSource","loadingIndicatorSource","sfEffect"],Se=["resizeMode","fontWeight","color","fontSize"];function xe(e){if(null==e)return null;return(Array.isArray(e)?e:[e]).map(e=>"string"===typeof e?{effect:e}:e)}let Ce=!1,Ee=!1;class Ae extends i.PureComponent{constructor(e){super(e),this.nativeViewRef=a(),this.containerViewRef=a()}getAnimatableRef=()=>this.containerViewRef.current;static Image=we.Image;static async prefetch(e,t){let n,r="memory-disk";switch(typeof t){case"string":r=t;break;case"object":r=t.cachePolicy??r,n=t.headers}return we.prefetch(Array.isArray(e)?e:[e],r,n)}static async clearMemoryCache(){return await we.clearMemoryCache()}static async clearDiskCache(){return await we.clearDiskCache()}static async getCachePathAsync(e){return await we.getCachePathAsync(e)}static async writeToCacheAsync(e,t){return await we.writeToCacheAsync(e,t)}static async readFromCacheAsync(e){return await we.readFromCacheAsync(e)}static configureCache(e){return we.configureCache(e)}static async generateBlurhashAsync(e,t){return we.generateBlurhashAsync(e,t)}static async generateThumbhashAsync(e){return we.generateThumbhashAsync(e)}async startAnimating(){await(this.nativeViewRef.current?.startAnimating())}async stopAnimating(){await(this.nativeViewRef.current?.stopAnimating())}async lockResourceAsync(){await(this.nativeViewRef.current?.lockResourceAsync())}async unlockResourceAsync(){await(this.nativeViewRef.current?.unlockResourceAsync())}async reloadAsync(){await(this.nativeViewRef.current?.reloadAsync())}static async loadAsync(e,t){const n=V(e),r=t?.tintColor?Object.assign({},t,{tintColor:(0,s.default)(t.tintColor)}):t;return await we.loadAsync(n,r)}render(){const e=this.props,{style:t,source:n,placeholder:i,contentFit:a,contentPosition:s,transition:l,fadeDuration:u,resizeMode:d,defaultSource:p,loadingIndicatorSource:f,sfEffect:h}=e,m=(0,r.default)(e,ke),g=o.default.flatten(t)||{},{resizeMode:y,fontWeight:v,color:b,fontSize:_}=g,w=(0,r.default)(g,Se),k=d??y;!p&&!f||Ce||(Ce=!0),m.children&&!Ee&&(Ee=!0);const S=P(n),x=Array.isArray(S)&&S.some(e=>e?.uri?.startsWith("sf:/")),C=x&&_?Object.assign({width:_,height:_},w):w;return(0,c.jsx)(ge,Object.assign({},m,{style:C,source:S,placeholder:P(i??p??f),contentFit:R(a,k,x),contentPosition:O(s),transition:D(l,u),sfEffect:xe(h),tintColor:x&&b&&!m.tintColor?b:m.tintColor,symbolWeight:x?"number"===typeof v?String(v):v:null,symbolSize:x&&_?_:null,nativeViewRef:this.nativeViewRef,containerViewRef:this.containerViewRef}))}}},494(e,t,n){"use strict";
2n.r(t),n.d(t,{ImageBackground:()=>c});var r=n(98587),i=n(73929),a=n(75675),o=n(90102),s=n(60397);const l=["style","imageStyle","children"];function c(e){let{style:t,imageStyle:n,children:c}=e,u=(0,r.default)(e,l);return(0,s.jsxs)(i.default,{style:t,children:[(0,s.jsx)(o.Image,Object.assign({},u,{style:[a.default.absoluteFill,n]})),c]})}},23047(e,t,n){"use strict";n.r(t),n.d(t,{ActivityAction:()=>a,ResultCode:()=>o,getApplicationIconAsync:()=>c,openApplication:()=>l,startActivityAsync:()=>s});var r=n(28945);const i={};var a,o;async function s(e,t={}){if(!i.startActivity)throw new r.UnavailabilityError("IntentLauncher","startActivityAsync");if(!e||"string"!==typeof e)throw new TypeError("'activityAction' argument must be a non-empty string!");return i.startActivity(e,t)}function l(e){if(!i.openApplication)throw new r.UnavailabilityError("IntentLauncher","openApplication");return i.openApplication(e)}async function c(e){if(!i.getApplicationIcon)throw new r.UnavailabilityError("IntentLauncher","getApplicationIconAsync");return i.getApplicationIcon(e)}!function(e){e.ACCESSIBILITY_COLOR_CONTRAST_SETTINGS="android.settings.ACCESSIBILITY_COLOR_CONTRAST_SETTINGS",e.ACCESSIBILITY_COLOR_MOTION_SETTINGS="android.settings.ACCESSIBILITY_COLOR_MOTION_SETTINGS",e.ACCESSIBILITY_COLOR_SPACE_SETTINGS="com.android.settings.ACCESSIBILITY_COLOR_SPACE_SETTINGS",e.ACCESSIBILITY_DETAILS_SETTINGS="android.settings.ACCESSIBILITY_DETAILS_SETTINGS",e.ACCESSIBILITY_SETTINGS="android.settings.ACCESSIBILITY_SETTINGS",e.ACCESSIBILITY_SETTINGS_FOR_SUW="android.settings.ACCESSIBILITY_SETTINGS_FOR_SUW",e.ACCESSIBILITY_SHORTCUT_SETTINGS="android.settings.ACCESSIBILITY_SHORTCUT_SETTINGS",e.ACCOUNT_SYNC_SETTINGS="android.settings.ACCOUNT_SYNC_SETTINGS",e.ADAPTIVE_BRIGHTNESS_SETTINGS="android.settings.ADAPTIVE_BRIGHTNESS_SETTINGS",e.ADD_ACCOUNT_SETTINGS="android.settings.ADD_ACCOUNT_SETTINGS",e.ADVANCED_CONNECTED_DEVICE_SETTINGS="com.android.settings.ADVANCED_CONNECTED_DEVICE_SETTINGS",e.ADVANCED_MEMORY_PROTECTION_SETTINGS="android.settings.ADVANCED_MEMORY_PROTECTION_SETTINGS",e.AIRPLANE_MODE_SETTINGS="android.settings.AIRPLANE_MODE_SETTINGS",e.ALL_APPS_NOTIFICATION_SETTINGS="android.settings.ALL_APPS_NOTIFICATION_SETTINGS",e.ALL_APPS_NOTIFICATION_SETTINGS_FOR_REVIEW="android.settings.ALL_APPS_NOTIFICATION_SETTINGS_FOR_REVIEW",e.APN_SETTINGS="android.settings.APN_SETTINGS",e.APP_LOCALE_SETTINGS="android.settings.APP_LOCALE_SETTINGS",e.APP_MEMORY_USAGE="android.settings.APP_MEMORY_USAGE",e.APP_NOTIFICATION_BUBBLE_SETTINGS="android.settings.APP_NOTIFICATION_BUBBLE_SETTINGS",e.APP_NOTIFICATION_REDACTION="android.settings.ACTION_APP_NOTIFICATION_REDACTION",e.APP_NOTIFICATION_SETTINGS="android.settings.APP_NOTIFICATION_SETTINGS",e.APP_OPEN_BY_DEFAULT_SETTINGS="android.settings.APP_OPEN_BY_DEFAULT_SETTINGS",e.APP_STORAGE_SETTINGS="com.android.settings.APP_STORAGE_SETTINGS",e.APPLICATION_DETAILS_SETTINGS="android.settings.APPLICATION_DETAILS_SETTINGS",e.APPLICATION_DEVELOPMENT_SETTINGS="android.settings.APPLICATION_DEVELOPMENT_SETTINGS",e.APPLICATION_SETTINGS="android.settings.APPLICATION_SETTINGS",e.AUDIO_STREAM_DIALOG="android.settings.AUDIO_STREAM_DIALOG",e.AUTO_ROTATE_SETTINGS="android.settings.AUTO_ROTATE_SETTINGS",e.AUTOMATIC_ZEN_RULE_SETTINGS="android.settings.AUTOMATIC_ZEN_RULE_SETTINGS",e.BACKUP_SETTINGS="com.android.settings.BACKUP_SETTINGS",e.BATTERY_POWER_USAGE_ADVANCED="com.android.settings.battery.action.POWER_USAGE_ADVANCED",e.BATTERY_SAVER_SCHEDULE_SETTINGS="com.android.settings.BATTERY_SAVER_SCHEDULE_SETTINGS",e.BATTERY_SAVER_SETTINGS="android.settings.BATTERY_SAVER_SETTINGS",e.BIOMETRIC_ENROLL="android.settings.BIOMETRIC_ENROLL",e.BIOMETRIC_SETTINGS_PROVIDER="com.android.settings.biometrics.BIOMETRIC_SETTINGS_PROVIDER",e.BLUETOOTH_AUDIO_SHARING_SETTINGS="com.android.settings.BLUETOOTH_AUDIO_SHARING_SETTINGS",e.BLUETOOTH_DASHBOARD_SETTINGS="android.settings.BLUETOOTH_DASHBOARD_SETTINGS",e.BLUETOOTH_DEVICE_DETAIL_SETTINGS="com.android.settings.BLUETOOTH_DEVICE_DETAIL_SETTINGS",e.BLUETOOTH_LE_AUDIO_QR_CODE_SCANNER="android.settings.BLUETOOTH_LE_AUDIO_QR_CODE_SCANNER",e.BLUETOOTH_PAIRING_SETTINGS="android.settings.BLUETOOTH_PAIRING_SETTINGS",e.BLUETOOTH_SETTINGS="android.settings.BLUETOOTH_SETTINGS",e.BLUTOOTH_FIND_BROADCASTS_ACTIVITY="android.settings.BLUTOOTH_FIND_BROADCASTS_ACTIVITY",e.BUGREPORT_HANDLER_
2SETTINGS="android.settings.BUGREPORT_HANDLER_SETTINGS",e.BUTTON_NAVIGATION_SETTINGS="com.android.settings.BUTTON_NAVIGATION_SETTINGS",e.CAPTIONING_SETTINGS="android.settings.CAPTIONING_SETTINGS",e.CAST_SETTINGS="android.settings.CAST_SETTINGS",e.CELLULAR_NETWORK_SECURITY="android.settings.CELLULAR_NETWORK_SECURITY",e.CHANNEL_NOTIFICATION_SETTINGS="android.settings.CHANNEL_NOTIFICATION_SETTINGS",e.COLOR_INVERSION_SETTINGS="android.settings.COLOR_INVERSION_SETTINGS",e.COMBINED_BIOMETRICS_SETTINGS="android.settings.COMBINED_BIOMETRICS_SETTINGS",e.COMMUNAL_SETTINGS="android.settings.COMMUNAL_SETTINGS",e.CONDITION_PROVIDER_SETTINGS="android.settings.ACTION_CONDITION_PROVIDER_SETTINGS",e.CONVERSATION_SETTINGS="android.settings.CONVERSATION_SETTINGS",e.CREDENTIAL_PROVIDER="android.settings.CREDENTIAL_PROVIDER",e.DARK_THEME_SETTINGS="android.settings.DARK_THEME_SETTINGS",e.DATA_ROAMING_SETTINGS="android.settings.DATA_ROAMING_SETTINGS",e.DATA_SAVER_SETTINGS="android.settings.DATA_SAVER_SETTINGS",e.DATA_USAGE_SETTINGS="android.settings.DATA_USAGE_SETTINGS",e.DATE_SETTINGS="android.settings.DATE_SETTINGS",e.DEVELOPMENT_START_DSU_LOADER="android.settings.development.START_DSU_LOADER",e.DEVICE_INFO_SETTINGS="android.settings.DEVICE_INFO_SETTINGS",e.DEVICE_NAME="android.settings.DEVICE_NAME",e.DISPLAY_SETTINGS="android.settings.DISPLAY_SETTINGS",e.DREAM_SETTINGS="android.settings.DREAM_SETTINGS",e.ENTERPRISE_PRIVACY_SETTINGS="android.settings.ENTERPRISE_PRIVACY_SETTINGS",e.FACE_ENROLL="android.settings.FACE_ENROLL",e.FACE_SETTINGS="android.settings.FACE_SETTINGS",e.FACTORY_RESET="com.android.settings.action.FACTORY_RESET",e.FINGERPRINT_ENROLL="android.settings.FINGERPRINT_ENROLL",e.FINGERPRINT_SETTINGS="android.settings.FINGERPRINT_SETTINGS",e.FINGERPRINT_SETTINGS_V2="android.settings.FINGERPRINT_SETTINGS_V2",e.FINGERPRINT_SETUP="android.settings.FINGERPRINT_SETUP",e.FIRST_DAY_OF_WEEK_SETTINGS="android.settings.FIRST_DAY_OF_WEEK_SETTINGS",e.GESTURE_NAVIGATION_SETTINGS="com.android.settings.GESTURE_NAVIGATION_SETTINGS",e.HARD_KEYBOARD_LAYOUT_PICKER_SETTINGS="android.settings.HARD_KEYBOARD_LAYOUT_PICKER_SETTINGS",e.HARD_KEYBOARD_SETTINGS="android.settings.HARD_KEYBOARD_SETTINGS",e.HEARING_DEVICES_PAIRING_SETTINGS="android.settings.HEARING_DEVICES_PAIRING_SETTINGS",e.HEARING_DEVICES_SETTINGS="android.settings.HEARING_DEVICES_SETTINGS",e.HOME_SETTINGS="android.settings.HOME_SETTINGS",e.IA_SETTINGS="com.android.settings.action.IA_SETTINGS",e.IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS="android.settings.IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS",e.IGNORE_BATTERY_OPTIMIZATION_SETTINGS="android.settings.IGNORE_BATTERY_OPTIMIZATION_SETTINGS",e.INPUT_METHOD_SETTINGS="android.settings.INPUT_METHOD_SETTINGS",e.INPUT_METHOD_SUBTYPE_SETTINGS="android.settings.INPUT_METHOD_SUBTYPE_SETTINGS",e.INTERNAL_STORAGE_SETTINGS="android.settings.INTERNAL_STORAGE_SETTINGS",e.LANGUAGE_SETTINGS="android.settings.LANGUAGE_SETTINGS",e.LICENSE="android.settings.LICENSE",e.LOCALE_SETTINGS="android.settings.LOCALE_SETTINGS",e.LOCATION_SCANNING_SETTINGS="android.settings.LOCATION_SCANNING_SETTINGS",e.LOCATION_SOURCE_SETTINGS="android.settings.LOCATION_SOURCE_SETTINGS",e.LOCK_SCREEN_SETTINGS="android.settings.LOCK_SCREEN_SETTINGS",e.MANAGE_ADAPTIVE_NOTIFICATIONS="android.settings.MANAGE_ADAPTIVE_NOTIFICATIONS",e.MANAGE_ALL_APPLICATIONS_SETTINGS="android.settings.MANAGE_ALL_APPLICATIONS_SETTINGS",e.MANAGE_ALL_FILES_ACCESS_PERMISSION="android.settings.MANAGE_ALL_FILES_ACCESS_PERMISSION",e.MANAGE_ALL_SIM_PROFILES_SETTINGS="android.settings.MANAGE_ALL_SIM_PROFILES_SETTINGS",e.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION="android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION",e.MANAGE_APP_LONG_RUNNING_JOBS="android.settings.MANAGE_APP_LONG_RUNNING_JOBS",e.MANAGE_APP_OVERLAY_PERMISSION="android.settings.MANAGE_APP_OVERLAY_PERMISSION",e.MANAGE_APP_USE_FULL_SCREEN_INTENT="android.settings.MANAGE_APP_USE_FULL_SCREEN_INTENT",e.MANAGE_APPLICATIONS_SETTINGS="android.settings.MANAGE_APPLICATIONS_SETTINGS",e.MANAGE_CLONED_APPS_SETTINGS="android.settings.MANAGE_CLONED_APPS_SETTINGS",e.MANAGE_CROSS_PROFILE_ACCESS="android.settings.MANAGE_CROSS_PROFILE_ACCESS",e.MANAGE_DEFAULT_APPS_SETTINGS="android.settings.MANAGE_DEFAULT_APPS_SETTINGS",e.MANAGE_DOMAIN_URLS="android.settings.MANAGE_DOMAIN_URLS",e.MANAGE_OVERLAY_PERMISSION="android.settings.action.MANAGE_OVERLAY_PERMISSION",e.MANAGE_UNKNOWN_APP_SOURCES="android.settings.MANAGE_UNKNOWN_APP_SOURCES",e.MANAGE_USER_ASPECT_RATIO_SETTINGS="android.settings.MANAGE_USER_ASPECT_RATIO_SETTINGS",e.MANAGE_WRITE_SETTINGS="android.settings.action.MANAGE_WRITE_SETTINGS",e.MANAGED_PROFILE_SETTINGS="android.settings.MANAGED_PROFILE_SETTINGS",e.MEDIA_BROADCAST_DIALOG="android.settings.MEDIA_BROADCAST_DIALOG",e.MEDIA_CONTROLS_SETTINGS="android.settings.ACTION_MEDIA_CONTROLS_SETTINGS",e.MEMORY_CARD_SETTINGS="android.settings.MEMORY_CARD_SETTINGS",e.MMS_MESSAGE_SETTING="android.settings.MMS_MESSAGE_SETTING",e.MOBILE_DATA_USAGE="android.settings.MOBILE_DATA_USAGE",e.MOBILE_NETWORK_LIST="android.settings.MOBILE_NETWORK_LIST",e.MODULE_LICENSES="android.settings.MODULE_LICENSES",e.MONITORING_CERT_INFO="com.android.settings.MONITORING_CERT_INFO",e.MORE_SECURITY_PRIVACY_SETTINGS="com.android.settings.MORE_SECURITY_PRIVACY_SETTINGS",e.NAVIGATION_MODE_SETTINGS="com.android.settings.NAVIGATION_MODE_SETTINGS",e.NETWORK_OPERATOR_SETTINGS="android.settings.NETWORK_OPERATOR_SETTINGS",e.NETWORK_PROVIDER_SETTINGS="android.settings.NETWORK_PROVIDER_SETTINGS",e.NFC_SETTINGS="android.settings.NFC_SETTINGS",e.NIGHT_DISPLAY_SETTINGS="android.settings.NIGHT_DISPLAY_SETTINGS",e.NOTIFICATION_ASSISTANT_SETTINGS="android.settings.NOTIFICATION_ASSISTANT_SETTINGS",e.NOTIFICATION_HISTORY="android.settings.NOTIFICATION_HISTORY",e.NOTIFICATION_LISTENER_DETAIL_SETTINGS="android.settings.NOTIFICATION_LISTENER_DETAIL_SETTINGS",e.NOTIFICATION_LISTENER_SETTINGS="android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS",e.NOTIFICATION_POLICY_ACCESS_DETAIL_SETTINGS="android.settings.NOTIFICATION_POLICY_ACCESS_DETAIL_SETTINGS",e.NOTIFICATION_POLICY_ACCESS_SETTINGS="android.settings.NOTIFICATION_POLICY_ACCESS_SETTINGS",e.NOTIFICATION_SETTINGS="android.settings.NOTIFICATION_SETTINGS",e.ONE_HANDED_SETTINGS="android.settings.action.ONE_HANDED_SETTINGS",e.OPEN_PRIVATE_SPACE_SETTINGS="com.android.settings.action.OPEN_PRIVATE_SPACE_SETTINGS",e.OTHER_SOUND_SETTINGS="android.settings.ACTION_OTHER_SOUND_SETTINGS",e.PANEL_INTERNET_CONNECTIVITY="android.settings.panel.action.INT
2ERNET_CONNECTIVITY",e.PANEL_NFC="android.settings.panel.action.NFC",e.PANEL_VOLUME="android.settings.panel.action.VOLUME",e.PANEL_WIFI="android.settings.panel.action.WIFI",e.PICTURE_IN_PICTURE_SETTINGS="android.settings.PICTURE_IN_PICTURE_SETTINGS",e.POWER_MENU_SETTINGS="android.settings.ACTION_POWER_MENU_SETTINGS",e.PREMIUM_SMS_SETTINGS="android.settings.PREMIUM_SMS_SETTINGS",e.PREVIOUSLY_CONNECTED_DEVICE="com.android.settings.PREVIOUSLY_CONNECTED_DEVICE",e.PRINT_SETTINGS="android.settings.ACTION_PRINT_SETTINGS",e.PRIVACY_ADVANCED_SETTINGS="android.settings.PRIVACY_ADVANCED_SETTINGS",e.PRIVACY_CONTROLS="android.settings.PRIVACY_CONTROLS",e.PRIVACY_SETTINGS="android.settings.PRIVACY_SETTINGS",e.PROCESS_WIFI_EASY_CONNECT_URI="android.settings.PROCESS_WIFI_EASY_CONNECT_URI",e.REDUCE_BRIGHT_COLORS_SETTINGS="android.settings.REDUCE_BRIGHT_COLORS_SETTINGS",e.REGIONAL_PREFERENCES_SETTINGS="android.settings.REGIONAL_PREFERENCES_SETTINGS",e.REMOTE_AUTHENTICATOR_ENROLL="android.settings.REMOTE_AUTHENTICATOR_ENROLL",e.REQUEST_ENABLE_CONTENT_CAPTURE="android.settings.REQUEST_ENABLE_CONTENT_CAPTURE",e.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS="android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS",e.REQUEST_MANAGE_MEDIA="android.settings.REQUEST_MANAGE_MEDIA",e.REQUEST_MEDIA_ROUTING_CONTROL="android.settings.REQUEST_MEDIA_ROUTING_CONTROL",e.REQUEST_SCHEDULE_EXACT_ALARM="android.settings.REQUEST_SCHEDULE_EXACT_ALARM",e.REQUEST_SET_AUTOFILL_SERVICE="android.settings.REQUEST_SET_AUTOFILL_SERVICE",e.SATELLITE_SETTING="android.settings.SATELLITE_SETTING",e.SCREEN_TIMEOUT_SETTINGS="android.settings.SCREEN_TIMEOUT_SETTINGS",e.SEARCH_RESULT_TRAMPOLINE="com.android.settings.SEARCH_RESULT_TRAMPOLINE",e.SECURITY_ADVANCED_SETTINGS="com.android.settings.security.SECURITY_ADVANCED_SETTINGS",e.SECURITY_SETTINGS="android.settings.SECURITY_SETTINGS",e.SETTINGS="android.settings.SETTINGS",e.SETTINGS_EMBED_DEEP_LINK_ACTIVITY="android.settings.SETTINGS_EMBED_DEEP_LINK_ACTIVITY",e.SETUP_LOCK_SCREEN="com.android.settings.SETUP_LOCK_SCREEN",e.SHOW_ADMIN_SUPPORT_DETAILS="android.settings.SHOW_ADMIN_SUPPORT_DETAILS",e.SHOW_MANUAL="android.settings.SHOW_MANUAL",e.SHOW_REGULATORY_INFO="android.settings.SHOW_REGULATORY_INFO",e.SHOW_REMOTE_BUGREPORT_DIALOG="android.settings.SHOW_REMOTE_BUGREPORT_DIALOG",e.SHOW_RESTRICTED_SETTING_DIALOG="android.settings.SHOW_RESTRICTED_SETTING_DIALOG",e.SIM_PREFERENCE_SETTINGS="android.settings.SIM_PREFERENCE_SETTINGS",e.SIM_SUB_INFO_SETTINGS="com.android.settings.sim.SIM_SUB_INFO_SETTINGS",e.SOUND_SETTINGS="android.settings.SOUND_SETTINGS",e.SPA_SEARCH_LANDING="android.settings.SPA_SEARCH_LANDING",e.STORAGE_MANAGER_SETTINGS="android.settings.STORAGE_MANAGER_SETTINGS",e.STYLUS_USI_DETAILS_SETTINGS="com.android.settings.STYLUS_USI_DETAILS_SETTINGS",e.SUGGESTION_STATE_PROVIDER="com.android.settings.action.SUGGESTION_STATE_PROVIDER",e.SUPPORT_SETTINGS="com.android.settings.action.SUPPORT_SETTINGS",e.SYNC_SETTINGS="android.settings.SYNC_SETTINGS",e.TEMPERATURE_UNIT_SETTINGS="android.settings.TEMPERATURE_UNIT_SETTINGS",e.TETHER_PROVISIONING_UI="android.settings.TETHER_PROVISIONING_UI",e.TETHER_SETTINGS="android.settings.TETHER_SETTINGS",e.TETHER_UNSUPPORTED_CARRIER_UI="android.settings.TETHER_UNSUPPORTED_CARRIER_UI",e.TEXT_READING_SETTINGS="android.settings.TEXT_READING_SETTINGS",e.TRUSTED_CREDENTIALS="com.android.settings.TRUSTED_CREDENTIALS",e.TRUSTED_CREDENTIALS_USER="com.android.settings.TRUSTED_CREDENTIALS_USER",e.TTS_SETTINGS="com.android.settings.TTS_SETTINGS",e.TURN_SCREEN_ON_SETTINGS="android.settings.TURN_SCREEN_ON_SETTINGS",e.USAGE_ACCESS_SETTINGS="android.settings.USAGE_ACCESS_SETTINGS",e.USER_DICTIONARY_INSERT="android.settings.USER_DICTIONARY_INSERT",e.USER_DICTIONARY_SETTINGS="android.settings.USER_DICTIONARY_SETTINGS",e.USER_SETTINGS="android.settings.USER_SETTINGS",e.VIEW_ADVANCED_POWER_USAGE_DETAIL="android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL",e.VOICE_CONTROL_AIRPLANE_MODE="android.settings.VOICE_CONTROL_AIRPLANE_MODE",e.VOICE_CONTROL_BATTERY_SAVER_MODE="android.settings.VOICE_CONTROL_BATTERY_SAVER_MODE",e.VOICE_CONTROL_DO_NOT_DISTURB_MODE="android.settings.VOICE_CONTROL_DO_NOT_DISTURB_MODE",e.VOICE_INPUT_SETTINGS="android.settings.VOICE_INPUT_SETTINGS",e.VPN_SETTINGS="android.settings.VPN_SETTINGS",e.VR_LISTENER_SETTINGS="android.settings.VR_LISTENER_SETTINGS",e.WALLPAPER_SETTINGS="android.settings.WALLPAPER_SETTINGS",e.WEBVIEW_SETTINGS="android.settings.WEBVIEW_SETTINGS",e.WIFI_ADD_NETWORKS="android.settings.WIFI_ADD_NETWORKS",e.WIFI_CALLING_SETTINGS="android.settings.WIFI_CALLING_SETTINGS",e.WIFI_DETAILS_SETTINGS="android.settings.WIFI_DETAILS_SETTINGS",e.WIFI_DIALOG="com.android.settings.WIFI_DIALOG",e.WIFI_DPP_CONFIGURATOR_AUTH_QR_CODE_GENERATOR="android.settings.WIFI_DPP_CONFIGURATOR_AUTH_QR_CODE_GENERATOR",e.WIFI_DPP_CONFIGURATOR_QR_CODE_GENERATOR="android.settings.WIFI_DPP_CONFIGURATOR_QR_CODE_GENERATOR",e.WIFI_DPP_CONFIGURATOR_QR_CODE_SCANNER="android.settings.WIFI_DPP_CONFIGURATOR_QR_CODE_SCANNER",e.WIFI_DPP_ENROLLEE_QR_CODE_SCANNER="android.settings.WIFI_DPP_ENROLLEE_QR_CODE_SCANNER",e.WIFI_IP_SETTINGS="android.settings.WIFI_IP_SETTINGS",e.WIFI_NETWORK_REQUEST="com.android.settings.wifi.action.NETWORK_REQUEST",e.WIFI_SAVED_NETWORK_SETTINGS="android.settings.WIFI_SAVED_NETWORK_SETTINGS",e.WIFI_SCANNING_SETTINGS="android.settings.WIFI_SCANNING_SETTINGS",e.WIFI_SETTINGS="android.settings.WIFI_SETTINGS",e.WIFI_TETHER_SETTINGS="com.android.settings.WIFI_TETHER_SETTINGS",e.WIRELESS_SETTINGS="android.settings.WIRELESS_SETTINGS",e.ZEN_MODE_AUTOMATION_SETTINGS="android.settings.ZEN_MODE_AUTOMATION_SETTINGS",e.ZEN_MODE_EVENT_RULE_SETTINGS="android.settings.ZEN_MODE_EVENT_RULE_SETTINGS",e.ZEN_MODE_PRIORITY_SETTINGS="android.settings.ZEN_MODE_PRIORITY_SETTINGS",e.ZEN_MODE_SCHEDULE_RULE_SETTINGS="android.settings.ZEN_MODE_SCHEDULE_RULE_SETTINGS",e.ZEN_MODE_SETTINGS="android.settings.ZEN_MODE_SETTINGS"}(a||(a={})),function(e){e[e.Success=-1]="Success",e[e.Canceled=0]="Canceled",e[e.FirstUser=1]="FirstUser"}(o||(o={}))},60893(e,t,n){"use strict";n.r(t),n.d(t,{LinearGradient:()=>d});var r=n(98587),i=n(60397),a=n(36665),o=n(73929),s=n(69e3);const l=["colors","locations","startPoint","endPoint"];
2function c(e){let{colors:t,locations:n,startPoint:c,endPoint:u}=e,d=(0,r.default)(e,l);const[{height:p,width:f},h]=a.useState({height:1,width:1}),m=a.useMemo(()=>function(e,t,n,r,i=1,a=1){const o=function(e,t){return e.map((e,n)=>{const r=function(e,t=1){if(null==e)return;if("string"===typeof e&&(e=>"currentcolor"===e||"currentColor"===e||"inherit"===e||0===e.indexOf("var("))(e))return e;const n=(0,s.default)(e);if("number"===typeof n)return`rgba(${n>>16&255},${n>>8&255},${255&n},${((n>>24&255)/255*t).toFixed(2)})`}(e);if(t&&t[n]){return`${r} ${100*Math.max(0,Math.min(1,t[n]))}%`}return r})}(e,t),l=function(e,t,n,r){const i=()=>{let e=[0,0];Array.isArray(n)&&(e=[null!=n[0]?n[0]:0,null!=n[1]?n[1]:0]);let t=[0,1];return Array.isArray(r)&&(t=[null!=r[0]?r[0]:0,null!=r[1]?r[1]:1]),[e,t]},[a=[0,0],o=[0,0]]=i();a[0]*=e,o[0]*=e,a[1]*=t,o[1]*=t;const s=o[1]-a[1],l=o[0]-a[0];return 90+180*Math.atan2(s,l)/Math.PI}(i,a,n,r);return`linear-gradient(${l}deg, ${o.join(", ")})`}(t,n,c,u,f,p),[t,n,c,u,f,p]);return(0,i.jsx)(o.default,Object.assign({},d,{style:[d.style,{backgroundImage:m}],onLayout:e=>{const{width:t,height:n}=e.nativeEvent.layout;h(e=>t!==e.width||n!==e.height?{height:n,width:t}:e),d.onLayout&&d.onLayout(e)}}))}const u=["colors","locations","start","end","dither"];class d extends a.Component{render(){const e=this.props,{colors:t,locations:n,start:a,end:o,dither:s}=e,l=(0,r.default)(e,u);let d=n;return n&&t.length!==n.length&&(d=n.slice(0,t.length)),(0,i.jsx)(c,Object.assign({},l,{colors:t,dither:void 0,locations:d,startPoint:p(a),endPoint:p(o)}))}}function p(e){if(e&&(!Array.isArray(e)||2===e.length))return Array.isArray(e)?e:[e.x,e.y]}},78848(e,t,n){"use strict";n.r(t),n.d(t,{addEventListener:()=>y,canOpenURL:()=>C,clearInitialURL:()=>S,collectManifestSchemes:()=>h,createURL:()=>u,getInitialURL:()=>w,getLinkingURL:()=>k,hasConstantsManifest:()=>m,hasCustomScheme:()=>f,openSettings:()=>_,openURL:()=>x,parse:()=>d,parseInitialURLAsync:()=>v,resolveScheme:()=>g,sendIntent:()=>b,useLinkingURL:()=>A,useURL:()=>E});var r=n(28945),i=n(36665),a=n(60430),o=n.n(a);const s={addListener(e,t){if(o()("onURLReceived"===e,`Linking.addListener(): ${e} is not a valid event`),"undefined"===typeof window)return{remove(){}};const n=e=>t({url:window.location.href,nativeEvent:e});return window.addEventListener("message",n,!1),{remove:()=>{window.removeEventListener("message",n)}}},getLinkingURL:()=>"undefined"===typeof window?"":window.location.href,clearInitialURL(){}},l=[],c={addEventListener(e,t){if("undefined"===typeof window)return{remove(){}};o()("url"===e,`Linking.addEventListener(): ${e} is not a valid event`);const n=e=>t({url:window.location.href,nativeEvent:e});return l.push({listener:t,nativeListener:n}),window.addEventListener("message",n,!1),{remove:()=>{this.removeEventListener(e,t)}}},removeEventListener(e,t){if("undefined"===typeof window)return;o()("url"===e,`Linking.addEventListener(): ${e} is not a valid event`);const n=l.findIndex(e=>e.listener===t);o()(-1!==n,"Linking.removeEventListener(): cannot remove an unregistered event listener.");const r=l[n]?.nativeListener;null!=r&&(window.removeEventListener("message",r,!1),l.splice(n,1))},canOpenURL:async()=>!0,getInitialURL:async()=>"undefined"===typeof window?"":window.location.href,async openURL(e){"undefined"!==typeof window&&(window.location=new URL(e,window.location).toString())}};function u(e,{queryParams:t={}}={}){if("undefined"===typeof window)return"";const n=new URL(e,window.location.origin);return Object.entries(t).forEach(([e,t])=>{"string"===typeof t?n.searchParams.set(e,encodeURIComponent(t)):null!=t&&n.searchParams.set(e,t)}),n.toString().replace(/\/$/,"")}function d(e){let t;try{t=new URL(e)}catch{return"undefined"===typeof window?{hostname:null,path:e,queryParams:{},scheme:null}:{hostname:"localhost",path:e,queryParams:{},scheme:"http"}}const n={};return t.searchParams.forEach((e,t)=>{n[t]=decodeURIComponent(e)}),{hostname:t.hostname||null,path:t.hostname||t.pathname?""===t.pathname?null:t.pathname.replace(/^\//,""):null,queryParams:n,scheme:t.protocol.replace(/:$/,"")}}function p(e){o()("string"===typeof e,"Invalid URL: should be a string. Was: "+e),o()(e,"Invalid URL: cannot be empty")}function f(){return!0}function h(){return[]}function m(){return!1}function g(){return"https"}function y(e,t){return c.addEventListener(e,t)}async function v(){const e=await c.getInitialURL();return e?d(e):{scheme:null,hostname:null,path:null,queryParams:null}}async function b(e,t){throw new r.UnavailabilityError("Linking","sendIntent")}async function _(){throw new r.UnavailabilityError("Linking","openSettings")}async function w(){return await c.getInitialURL()??null}function k(){return s.getLinkingURL()}function S(){s.clearInitialURL?.()}async function x(e){return p(e),await c.openURL(e)}async function C(e){return p(e),await c.canOpenURL(e)}function E(){const[e,t]=(0,i.useState)(null);function n(e){t(e.url)}return(0,i.useEffect)(()=>{w().then(e=>t(e));const e=y("url",n);return()=>e.remove()},[]),e}function A(){const[e,t]=(0,i.useState)(s.getLinkingURL);function n(e){t(e.url)}return(0,i.useEffect)(()=>{const e=s.addListener("onURLReceived",n);return()=>e.remove()},[]),e??null}},89454(e,t,n){"use strict";n.r(t),n.d(t,{CalendarIdentifier:()=>
2d,Weekday:()=>u,getCalendars:()=>f,getLocales:()=>p,useCalendars:()=>m,useLocales:()=>h});var r=n(36665),i=n(40495);const a="languagechange",o=["AG","BZ","VG","FM","MH","MS","KN","BS","CY","TC","US","LR","PW","KY"],s=["ar","arc","ckb","dv","fa","ha","he","khw","ks","ps","sd","ur","yi"];function l(e){e.remove()}const c={getLocales:()=>(()=>{if(i.default.isDOMAvailable){if(navigator.languages?.length>0)return navigator.languages;if(navigator.language)return[navigator.language]}const e=Intl?.DateTimeFormat()?.resolvedOptions()?.locale;return e?[e]:["en-US"]})().map(e=>{let t={},n=null,r=null,i=null,a=null;try{n=Array.from(1e4.toLocaleString(e)).filter(e=>e>"9"||e<"0")[0]||null,r=1.1.toLocaleString(e).substring(1,2),"undefined"!==typeof Intl&&(t=new Intl.Locale(e))}catch{}const{region:l,language:c,script:u}=t;return a=t.getTextInfo?.()?.direction??t.textInfo?.direction??function(e){return s.includes(e)?"rtl":"ltr"}(c),l&&(i=function(e){return o.includes(e)?"fahrenheit":"celsius"}(l)),{languageTag:e,languageCode:c||e.split("-")[0]||"en",languageScriptCode:u||null,textDirection:a,digitGroupingSeparator:n,decimalSeparator:r,measurementSystem:null,currencyCode:null,currencySymbol:null,languageCurrencyCode:null,languageCurrencySymbol:null,regionCode:l||null,languageRegionCode:l||null,temperatureUnit:i}}),getCalendars(){const e=("undefined"!==typeof Intl?Intl.DateTimeFormat().resolvedOptions():null)??null;return[{calendar:e?.calendar||e?.calendars?.[0]||null,timeZone:e?.timeZone||e?.timeZones?.[0]||null,uses24hourClock:(e?.hourCycle||e?.hourCycles?.[0])?.startsWith("h2")??null,firstWeekday:e?.weekInfo?.firstDay||null}]}};var u,d;!function(e){e[e.SUNDAY=1]="SUNDAY",e[e.MONDAY=2]="MONDAY",e[e.TUESDAY=3]="TUESDAY",e[e.WEDNESDAY=4]="WEDNESDAY",e[e.THURSDAY=5]="THURSDAY",e[e.FRIDAY=6]="FRIDAY",e[e.SATURDAY=7]="SATURDAY"}(u||(u={})),function(e){e.BUDDHIST="buddhist",e.CHINESE="chinese",e.COPTIC="coptic",e.DANGI="dangi",e.ETHIOAA="ethioaa",e.ETHIOPIC="ethiopic",e.GREGORY="gregory",e.GREGORIAN="gregory",e.HEBREW="hebrew",e.INDIAN="indian",e.ISLAMIC="islamic",e.ISLAMIC_CIVIL="islamic-civil",e.ISLAMIC_RGSA="islamic-rgsa",e.ISLAMIC_TBLA="islamic-tbla",e.ISLAMIC_UMALQURA="islamic-umalqura",e.ISO8601="iso8601",e.JAPANESE="japanese",e.PERSIAN="persian",e.ROC="roc"}(d||(d={}));const p=c.getLocales,f=c.getCalendars;function h(){const[e,t]=(0,r.useReducer)(e=>e+1,0),n=(0,r.useMemo)(()=>p(),[e]);return(0,r.useEffect)(()=>{const e=(n=t,addEventListener(a,n),{remove:()=>removeEventListener(a,n)});var n;return()=>{l(e)}},[]),n}function m(){const[e,t]=(0,r.useReducer)(e=>e+1,0),n=(0,r.useMemo)(()=>f(),[e]);return(0,r.useEffect)(()=>{const e=(n=t,addEventListener(a,n),{remove:()=>removeEventListener(a,n)});var n;return()=>{l(e)}},[]),n}},7985(t,n,r){"use strict";r.r(n),r.d(n,{enableNetworkProviderAsync:()=>T,geocodeAsync:()=>j,getBackgroundPermissionsAsync:()=>L,getCurrentPositionAsync:()=>I,getForegroundPermissionsAsync:()=>M,getHeadingAsync:()=>D,getLastKnownPositionAsync:()=>R,getMotionActivityAsync:()=>X,getMotionActivityPermissionsAsync:()=>z,getProviderStatusAsync:()=>A,hasServicesEnabledAsync:()=>W,hasStartedGeofencingAsync:()=>te,hasStartedLocationUpdatesAsync:()=>Z,isBackgroundLocationAvailableAsync:()=>J,requestBackgroundPermissionsAsync:()=>B,requestForegroundPermissionsAsync:()=>V,requestMotionActivityPermissionsAsync:()=>Y,reverseGeocodeAsync:()=>F,startGeofencingAsync:()=>Q,startLocationUpdatesAsync:()=>$,stopGeofencingAsync:()=>ee,stopLocationUpdatesAsync:()=>K,useBackgroundPermissions:()=>H,useForegroundPermissions:()=>P,useMotionActivityPermissions:()=>U,watchHeadingAsync:()=>N,watchMotionActivityAsync:()=>G,watchPositionAsync:()=>O});var i,a,o,s,l,c,u=r(7836),d=r(59139),p=r(35992),f=r(28945);!function(e){e[e.Lowest=1]="Lowest",e[e.Low=2]="Low",e[e.Balanced=3]="Balanced",e[e.High=4]="High",e[e.Highest=5]="Highest",e[e.BestForNavigation=6]="BestForNavigation"}(i||(i={})),function(e){e[e.Other=1]="Other",e[e.AutomotiveNavigation=2]="AutomotiveNavigation",e[e.Fitness=3]="Fitness",e[e.OtherNavigation=4]="OtherNavigation",e[e.Airborne=5]="Airborne"}(a||(a={})),function(e){e[e.Enter=1]="Enter",e[e.Exit=2]="Exit"}(o||(o={})),function(e){e[e.Unknown=0]="Unknown",e[e.Inside=1]="Inside",e[e.Outside=2]="Outside"}(s||(s={})),function(e){e[e.Low=0]="Low",e[e.Medium=1]="Medium",e[e.High=2]="High"}(l||(l={})),function(e){e.Automotive="automotive",e.Cycling="cycling",e.Running="running",e.Walking="walking",e.Stationary="stationary",e.Unknown="unknown"}(c||(c={})),(0,r(13663).ensureNativeModulesAreInstalled)();const h=new(0,globalThis.expo.EventEmitter);
2class m extends Error{constructor(){super("Geocoder service is not available for this device."),this.code="E_NO_GEOCODER"}}function g(e){const{coords:t,timestamp:n}=e;return{coords:{latitude:t.latitude,longitude:t.longitude,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed},timestamp:n}}async function y(e=!1){if(!navigator?.permissions?.query)throw new f.UnavailabilityError("expo-location","navigator.permissions API is not available");const t=await navigator.permissions.query({name:"geolocation"});return"granted"===t.state?{status:p.PermissionStatus.GRANTED,granted:!0,canAskAgain:!0,expires:0}:"denied"===t.state?{status:p.PermissionStatus.DENIED,granted:!1,canAskAgain:!0,expires:0}:e?new Promise(e=>{navigator.geolocation.getCurrentPosition(()=>{e({status:p.PermissionStatus.GRANTED,granted:!0,canAskAgain:!0,expires:0})},t=>{t.code!==t.PERMISSION_DENIED?e({status:p.PermissionStatus.GRANTED,granted:!1,canAskAgain:!0,expires:0}):e({status:p.PermissionStatus.DENIED,granted:!1,canAskAgain:!0,expires:0})})}):{status:p.PermissionStatus.UNDETERMINED,granted:!1,canAskAgain:!0,expires:0}}let v=null;const b={getProviderStatusAsync:async()=>({locationServicesEnabled:"geolocation"in navigator}),getLastKnownPositionAsync:async(e={})=>v&&function(e,t){const n="number"===typeof t.maxAge?t.maxAge:1/0,r="number"===typeof t.requiredAccuracy?t.requiredAccuracy:1/0,i=e.coords.accuracy??1/0;return Date.now()-e.timestamp<=n&&i<=r}(v,e)?v:null,getCurrentPositionAsync:async e=>new Promise((t,n)=>{navigator.geolocation.getCurrentPosition(e=>{v=g(e),t(v)},n,Object.assign({maximumAge:1/0,enableHighAccuracy:(e.accuracy??0)>i.Balanced},e))}),async removeWatchAsync(e){navigator.geolocation.clearWatch(e)},async watchDeviceHeading(e){},hasServicesEnabledAsync:async()=>"geolocation"in navigator,async geocodeAsync(){throw new m},async reverseGeocodeAsync(){throw new m},watchPositionImplAsync:async(e,t)=>new Promise(n=>{n(e=navigator.geolocation.watchPosition(t=>{v=g(t),h.emit("Expo.locationChanged",{watchId:e,location:v})},void 0,t))}),async watchMotionActivityImplAsync(e){},getMotionActivityPermissionsAsync:async()=>({status:p.PermissionStatus.UNDETERMINED,granted:!1,canAskAgain:!1,expires:"never"}),requestMotionActivityPermissionsAsync:async()=>({status:p.PermissionStatus.UNDETERMINED,granted:!1,canAskAgain:!1,expires:"never"}),requestForegroundPermissionsAsync:async()=>y(!0),requestBackgroundPermissionsAsync:async()=>y(!0),getForegroundPermissionsAsync:async()=>y(),getBackgroundPermissionsAsync:async()=>y()};let _=0;class w{callbacks={};eventSubscription=null;constructor(e,t){this.eventName=e,this.eventDataField=t}maybeInitializeSubscription(){this.eventSubscription||(this.eventSubscription=h.addListener(this.eventName,e=>this.trigger(e)))}registerCallback(e){this.maybeInitializeSubscription();const t=++_;return this.callbacks[t]=e,t}registerCallbackForId(e,t){this.maybeInitializeSubscription();const n=e;return this.callbacks[n]=t,n}unregisterCallback(e){this.callbacks[e]&&(delete this.callbacks[e],b.removeWatchAsync(e),0===Object.keys(this.callbacks).length&&this.eventSubscription&&(this.eventSubscription.remove(),this.eventSubscription=null))}forgetCallback(e){this.callbacks[e]&&(delete this.callbacks[e],0===Object.keys(this.callbacks).length&&this.eventSubscription&&(this.eventSubscription.remove(),this.eventSubscription=null))}trigger(e){const t=e.watchId,n=this.callbacks[t];n?n(e[this.eventDataField]):b.removeWatchAsync(t)}}const k=new w("Expo.locationChanged","location"),S=new w("Expo.headingChanged","heading"),x=new w("Expo.locationError","reason"),C=new w("Expo.motionActivityChanged","activity");let E=!1;async function A(){return b.getProviderStatusAsync()}async function T(){0}async function I(e={}){return b.getCurrentPositionAsync(e)}async function R(e={}){return b.getLastKnownPositionAsync(e)}async function O(e,t,n){const r=k.registerCallback(t);return n&&x.registerCallbackForId(r,n),await b.watchPositionImplAsync(r,e),{remove(){k.unregisterCallback(r),n&&x.unregisterCallback(r)}}}async function D(){return new Promise(async(t,n)=>{let r,i=0;try{r=await N(e=>{e.accuracy>1||i>5?(r?.remove(),t(e)):i+=1},e=>{r?.remove(),n(e)})}catch(e){n(e)}})}async function N(e,t){const n=S.registerCallback(e);return t&&x.registerCallbackForId(n,t),await b.watchDeviceHeading(n),{remove(){S.unregisterCallback(n),t&&x.unregisterCallback(n)}}}async function j(e){if("string"!==typeof e)throw new TypeError(`Address to geocode must be a string. Got ${e} instead.`);return[]}async function F(e){if("number"!==typeof e.latitude||"number"!==typeof e.longitude)throw new TypeError("Location to reverse-geocode must be an object with number properties `latitude` and `longitude`.");return[]}async function M(){return await b.getForegroundPermissionsAsync()}async function V(){return await b.requestForegroundPermissionsAsync()}const P=(0,u.createPermissionHook)({getMethod:M,requestMethod:V});
2async function L(){return await b.getBackgroundPermissionsAsync()}async function B(){return await b.requestBackgroundPermissionsAsync()}const H=(0,u.createPermissionHook)({getMethod:L,requestMethod:B});async function W(){return await b.hasServicesEnabledAsync()}async function z(){return await b.getMotionActivityPermissionsAsync()}async function Y(){return await b.requestMotionActivityPermissionsAsync()}const U=(0,u.createPermissionHook)({getMethod:z,requestMethod:Y});async function X(){return new Promise(async(t,n)=>{let r;try{r=await G(e=>{r?.remove(),t(e)},e=>{r?.remove(),n(new Error(e))})}catch(e){n(e)}})}async function G(e,t){const n=C.registerCallback(e);return t&&x.registerCallbackForId(n,t),await b.watchMotionActivityImplAsync(n),{remove(){C.unregisterCallback(n),t&&x.forgetCallback(n)}}}function q(e){if(!e||"string"!==typeof e)throw new Error(`\`taskName\` must be a non-empty string. Got ${e} instead.`);if((0,d.isRunningInExpoGo)()&&!E){E=!0}}async function J(){return(await A()).backgroundModeEnabled}async function $(e,t={accuracy:i.Balanced}){q(e),await b.startLocationUpdatesAsync(e,t)}async function K(e){q(e),await b.stopLocationUpdatesAsync(e)}async function Z(e){return q(e),b.hasStartedLocationUpdatesAsync(e)}async function Q(e,t=[]){q(e),function(e){if(!e||0===e.length)throw new Error("Regions array cannot be empty. Use `stopGeofencingAsync` if you want to stop geofencing all regions");for(const t of e){if("number"!==typeof t.latitude)throw new TypeError(`Region's latitude must be a number. Got '${t.latitude}' instead.`);if("number"!==typeof t.longitude)throw new TypeError(`Region's longitude must be a number. Got '${t.longitude}' instead.`);if("number"!==typeof t.radius)throw new TypeError(`Region's radius must be a number. Got '${t.radius}' instead.`)}}(t),await b.startGeofencingAsync(e,{regions:t})}async function ee(e){q(e),await b.stopGeofencingAsync(e)}async function te(e){return q(e),b.hasStartedGeofencingAsync(e)}},20809(e,t,n){"use strict";n.r(t),n.d(t,{MediaType:()=>g,PermissionStatus:()=>a.PermissionStatus,SortBy:()=>y,addAssetsToAlbumAsync:()=>C,addListener:()=>F,albumNeedsMigrationAsync:()=>B,createAlbumAsync:()=>D,createAssetAsync:()=>S,deleteAlbumsAsync:()=>N,deleteAssetsAsync:()=>A,getAlbumAsync:()=>O,getAlbumsAsync:()=>R,getAssetContentUriAsync:()=>I,getAssetInfoAsync:()=>T,getAssetsAsync:()=>j,getMomentsAsync:()=>P,getPermissionsAsync:()=>_,isAvailableAsync:()=>v,migrateAlbumIfNeededAsync:()=>L,presentPermissionsPickerAsync:()=>k,removeAllListeners:()=>V,removeAssetsFromAlbumAsync:()=>E,removeSubscription:()=>M,requestPermissionsAsync:()=>b,saveToLibraryAsync:()=>x,setAssetFavoriteAsync:()=>H,usePermissions:()=>w});var r=n(7836),i=n(28945),a=n(35992);const o={status:a.PermissionStatus.UNDETERMINED,canAskAgain:!0,granted:!1,expires:"never"},s={get CHANGE_LISTENER_NAME(){return"mediaLibraryDidChange"},get MediaType(){return{audio:"audio",photo:"photo",video:"video",unknown:"unknown"}},get SortBy(){return{default:"default",mediaType:"mediaType",width:"width",height:"height",creationTime:"creationTime",modificationTime:"modificationTime",duration:"duration"}},getPermissionsAsync:async e=>o,requestPermissionsAsync:async e=>o};let l=!1;function c(e){return Array.isArray(e)?e:e?[e]:[]}function u(e){return"string"===typeof e?e:e?e.id:void 0}function d(e){if(e.some(e=>!e||"string"!==typeof e))throw new Error("Asset ID must be a string!")}function p(e){if(-1===Object.values(g).indexOf(e))throw new Error(`Invalid mediaType: ${e}`)}function f(e){if(-1===Object.values(y).indexOf(e))throw new Error(`Invalid sortBy key: ${e}`)}function h(e){return function(e){if(Array.isArray(e)){if(f(e[0]),"boolean"!==typeof e[1])throw new Error("Invalid sortBy array argument. Second item must be a boolean!")}else f(e)}(e),Array.isArray(e)?`${e[0]} ${e[1]?"ASC":"DESC"}`:`${e} DESC`}function m(e){return e instanceof Date?e.getTime():e}"undefined"!==typeof expo&&globalThis.expo?.modules?.ExpoGo&&!l&&(l=!0);const g=s.MediaType,y=s.SortBy;async function v(){return!!s&&"getAssetsAsync"in s}async function b(e=!1,t){if(!s.requestPermissionsAsync)throw new i.UnavailabilityError("MediaLibrary","requestPermissionsAsync");return await s.requestPermissionsAsync(e)}async function _(e=!1,t){if(!s.getPermissionsAsync)throw new i.UnavailabilityError("MediaLibrary","getPermissionsAsync");return await s.getPermissionsAsync(e)}const w=(0,r.createPermissionHook)({getMethod:e=>_(e?.writeOnly),requestMethod:e=>b(e?.writeOnly)});async function k(e=["photo","video"]){if(!s.presentPermissionsPickerAsync)throw new i.UnavailabilityError("MediaLibrary","presentPermissionsPickerAsync");return await s.presentPermissionsPickerAsync()}async function S(e,t){if(!s.createAssetAsync)throw new i.UnavailabilityError("MediaLibrary","createAssetAsync");const n=u(t);if(!e||"string"!==typeof e)throw new Error('Invalid argument "localUri". It must be a string!');const r=await s.createAssetAsync(e,n);return Array.isArray(r)?r[0]:r}async function x(e){if(!s.saveToLibraryAsync)throw new i.UnavailabilityError("MediaLibrary","saveToLibraryAsync");return await s.saveToLibraryAsync(e)}async function C(e,t,n=!0){if(!s.addAssetsToAlbumAsync)throw new i.UnavailabilityError("MediaLibrary","addAssetsToAlbumAsync");const r=c(e).map(u),a=u(t);if(d(r),!a||"string"!==typeof a)throw new Error("Invalid album ID. It must be a string!");return await s.addAssetsToAlbumAsync(r,a,!!n)}async function E(e,t){if(!s.removeAssetsFromAlbumAsync)throw new i.UnavailabilityError("MediaLibrary","removeAssetsFromAlbumAsync");const n=c(e).map(u),r=u(t);return d(n),await s.removeAssetsFromAlbumAsync(n,r)}async function A(e){if(!s.deleteAssetsAsync)throw new i.UnavailabilityError("MediaLibrary","deleteAssetsAsync");const t=c(e).map(u);return d(t),await s.deleteAssetsAsync(t)}async function T(e,t={shouldDownloadFromNetwork:!0}){if(!s.getAssetInfoAsync)throw new i.UnavailabilityError("MediaLibrary","getAssetInfoAsync");const n=u(e);d([n]);const r=await s.getAssetInfoAsync(n,t);return Array.isArray(r)?r[0]:r}async function I(e){throw new i.UnavailabilityError("MediaLibrary","getAssetContentUriAsync")}async function R({includeSmartAlbums:e=!1}={}){if(!s.getAlbumsAsync)throw new i.UnavailabilityError("MediaLibrary","getAlbumsAsync");return await s.getAlbumsAsync({includeSmartAlbums:e})}async function O(e){if(!s.getAlbumAsync)throw new i.UnavailabilityError("MediaLibrary","getAlbumAsync");if("string"!==typeof e)throw new Error("Album title must be a string!");return await s.getAlbumAsync(e)}async function D(e,t,n=!0,r){if(!s.createAlbumAsync)throw new i.UnavailabilityError("MediaLibrary","createAlbumAsync");const a=u(t);if(!e||"string"!==typeof e)throw new Error('Invalid argument "albumName". It must be a string!');if(null!=a&&"string"!==typeof a)throw new Error("Asset ID must be a string!");return await s.createAlbumAsync(e,a,!!n,r)}async function N(e,t=!1){if(!s.deleteAlbumsAsync)throw new i.UnavailabilityError("MediaLibrary","deleteAlbumsAsync");const n=c(e).map(u);return function(e){if(e.some(e=>!e||"string"!==typeof e))throw new Error("Album ID must be a string!")}(n),await s.deleteAlbumsAsync(n,!!t)}async function j(e={}){if(!s.getAssetsAsync)throw new i.UnavailabilityError("MediaLibrary","getAssetsAsync");const{first:t,after:n,album:r,sortBy:a,mediaType:o,createdAfter:l,createdBefore:d,mediaSubtypes:f,resolveWithFullInfo:y}=e,v={first:null==t?20:t,after:u(n),album:u(r),sortBy:c(a),mediaType:c(o||[g.photo]),mediaSubtypes:c(f),createdAfter:m(l),createdBefore:m(d),resolveWithFullInfo:y??!1};if(null!=t&&"number"!==typeof v.first)throw new Error('Option "first" must be a number!');if(null!=n&&"string"!==typeof v.after)throw new Error('Option "after" must be a string!');if(null!=r&&"string"!==typeof v.album)throw new Error('Option "album" must be a string!');if(null!=t&&t<0)throw new Error('Option "first" must be a positive integer!');return v.mediaType.forEach(p),await s.getAssetsAsync(Object.assign({},v,{sortBy:v.sortBy.map(h)}))}function F(e){return s.addListener(s.CHANGE_LISTENER_NAME,e)}function M(e){e.remove()}function V(){s.removeAllListeners(s.CHANGE_LISTENER_NAME)}async function P(){if(!s.getMomentsAsync)throw new i.UnavailabilityError("MediaLibrary","getMomentsAsync");return await s.getMomentsAsync()}async function L(e){if(s.migrateAlbumIfNeededAsync)return await s.migrateAlbumIfNeededAsync(u(e))}async function B(e){return!!s.albumNeedsMigrationAsync&&await s.albumNeedsMigrationAsync(u(e))}async function H(e,t){if(!s.setAssetFavoriteAsync)throw new i.UnavailabilityError("MediaLibrary","setAssetFavoriteAsync");throw new i.UnavailabilityError("MediaLibrary","setAssetFavoriteAsync is only available on iOS")}},46258(e,t,n){"use strict";n.r(t),n.d(t,{LegacyEventEmitter:()=>s});var r=n(60430),i=n.n(r),a=n(14177);const o="@@nativeEmitterSubscription@@";class s{_listenerCount=0;constructor(e){if(e.__expo_module_name__)return e;this._nativeModule=e,this._eventEmitter=new a.default(e)}addListener(e,t){!this._listenerCount&&this._nativeModule.startObserving&&this._nativeModule.startObserving(),this._listenerCount++;const n=this._eventEmitter.addListener(e,t),r={[o]:n,remove:()=>{this.removeSubscription(r)}};return r}removeAllListeners(e){const t=this._eventEmitter.listenerCount?this._eventEmitter.listenerCount(e):this._eventEmitter.listeners(e).length;this._eventEmitter.removeAllListeners(e),this._listenerCount-=t,i()(this._listenerCount>=0,"EventEmitter must have a non-negative number of listeners"),!this._listenerCount&&this._nativeModule.stopObserving&&this._nativeModule.stopObserving()}removeSubscription(e){const t=e,n=t[o];n&&("remove"in n&&n.remove?.(),this._listenerCount--,delete t[o],e.remove=()=>{},!this._listenerCount&&this._nativeModule.stopObserving&&this._nativeModule.stopObserving())}emit(e,...t){this._eventEmitter.emit(e,...t)}}},20356(e,t,n){"use strict";n.r(t),n.d(t,{NativeModule:()=>r}),(0,n(13663).ensureNativeModulesAreInstalled)();const r=globalThis.expo.NativeModule},7836(e,t,n){"use strict";n.r(t),n.d(t,{createPermissionHook:()=>o});var r=n(98587),i=n(36665);const a=["get","request"];function o(e){return t=>function(e,t){const n=(0,i.useRef)(!0),[o,s]=(0,i.useState)(null),l=t||{},{get:c=!0,request:u=!1}=l,d=(0,r.default)(l,a),p=(0,i.useCallback)(async()=>{let t;return t=Object.keys(d).length>0?await e.getMethod(d):await e.getMethod(),n.current&&s(t),t},[e.getMethod]),f=(0,i.useCallback)(async()=>{let t;return t=Object.keys(d).length>0?await e.requestMethod(d):await e.requestMethod(),n.current&&s(t),t},[e.requestMethod]);return(0,i.useEffect)(function(){u&&f(),!u&&c&&p()},[c,u,f,p]),(0,i.useEffect)(function(){return n.current=!0,()=>{n.current=!1}},[]),[o,f,p]}(e,t)}},35992(e,t,n){"use strict";n.r(t),n.d(t,{PermissionStatus:()=>r});let r=function(e){return e.GRANTED="granted",e.UNDETERMINED="undetermined",e.DENIED="denied",e}({})},40495(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(95991);const i="undefined"!==typeof window&&!!window.document?.createElement,a=i&&!(!window.addEventListener&&!window.attachEvent),o=i&&!!window.screen;const s={OS:"web",select:"undefined"!==typeof window?r.default.select:function(e){return e.hasOwnProperty("web")?e.web:e.hasOwnProperty("default")?e.default:void 0}
2,isDOMAvailable:i,canUseEventListeners:a,canUseViewport:o,isAsyncDebugging:!1}},25633(e,t,n){"use strict";n.r(t),n.d(t,{SharedRef:()=>r}),(0,n(13663).ensureNativeModulesAreInstalled)();const r=globalThis.expo.SharedRef},13663(e,t,n){"use strict";n.r(t),n.d(t,{ensureNativeModulesAreInstalled:()=>l});class r{addListener(e,t){this.listeners||(this.listeners=new Map),this.listeners?.has(e)||this.listeners?.set(e,new Set);const n=this.listenerCount(e);return this.listeners?.get(e)?.add(t),0===n&&1===this.listenerCount(e)&&this.startObserving(e),{remove:()=>{this.removeListener(e,t)}}}removeListener(e,t){const n=this.listeners?.get(e)?.delete(t);0===this.listenerCount(e)&&n&&this.stopObserving(e)}removeAllListeners(e){const t=this.listenerCount(e);this.listeners?.get(e)?.clear(),t>0&&this.stopObserving(e)}emit(e,...t){new Set(this.listeners?.get(e)).forEach(e=>{try{e(...t)}catch(n){}})}listenerCount(e){return this.listeners?.get(e)?.size??0}startObserving(e){}stopObserving(e){}}class i extends r{}class a extends r{release(){}}class o extends a{nativeRefType="unknown"}var s=n(1403);function l(){}globalThis.expo||(globalThis.expo={EventEmitter:r,NativeModule:i,SharedObject:a,SharedRef:o,modules:globalThis.ExpoDomWebView?.expoModulesProxy??{},uuidv4:s.default.v4,uuidv5:s.default.v5,getViewConfig:()=>{throw new Error("Method not implemented.")},reloadAppAsync:async()=>{window.location.reload()},expoModulesCoreVersion:void 0,cacheDir:void 0,documentsDir:void 0,installOnUIRuntime:e=>{throw new Error("Method not implemented.")}})},91808(e,t,n){"use strict";n.r(t),n.d(t,{CodedError:()=>r});class r extends Error{constructor(e,t){super(t),this.code=e}}},28945(e,t,n){"use strict";n.r(t),n.d(t,{UnavailabilityError:()=>i});var r=n(91808);class i extends r.CodedError{constructor(e,t){super("ERR_UNAVAILABLE",`The method or property ${e}.${t} is not available on web, are you sure you've linked all the native dependencies properly?`)}}},86254(e,t,n){"use strict";n.r(t),n.d(t,{registerWebModule:()=>i});var r=n(13663);function i(e,t){if((0,r.ensureNativeModulesAreInstalled)(),!(t=t??e.name))throw new Error("Web module implementation is missing a name - it is either not a class or has been minified. Pass the name as a second argument to the `registerWebModule` function.");return globalThis?.expo?.modules||(globalThis.expo.modules={}),globalThis.expo.modules[t]||(globalThis.expo.modules[t]=new e),globalThis.expo.modules[t]}},1403(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var _lib_sha1__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(29998),_lib_v35__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(60924),_uuid_types__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(43227);function uuidv4(){return"undefined"===typeof crypto&&"undefined"===typeof window?eval("require")("node:crypto").randomUUID():crypto.randomUUID()}const uuid={v4:uuidv4,v5:(0,_lib_v35__WEBPACK_IMPORTED_MODULE_1__.default)("v5",80,_lib_sha1__WEBPACK_IMPORTED_MODULE_0__.default),namespace:_uuid_types__WEBPACK_IMPORTED_MODULE_2__.Uuidv5Namespace},__WEBPACK_DEFAULT_EXPORT__=uuid},29998(e,t,n){"use strict";function r(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r;default:return 0}}function i(e,t){return e<<t|e>>>32-t}n.r(t),n.d(t,{default:()=>a});const a=function(e){const t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Array(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n)}e.push(128);const a=e.length/4+2,o=Math.ceil(a/16),s=new Array(o);for(let r=0;r<o;r++){s[r]=new Array(16);for(let t=0;t<16;t++)s[r][t]=e[64*r+4*t]<<24|e[64*r+4*t+1]<<16|e[64*r+4*t+2]<<8|e[64*r+4*t+3]}s[o-1][14]=8*(e.length-1)/Math.pow(2,32),s[o-1][14]=Math.floor(s[o-1][14]),s[o-1][15]=8*(e.length-1)&4294967295;for(let l=0;l<o;l++){const e=new Array(80);for(let t=0;t<16;t++)e[t]=s[l][t];for(let t=16;t<80;t++)e[t]=i(e[t-3]^e[t-8]^e[t-14]^e[t-16],1);let a=n[0],o=n[1],c=n[2],u=n[3],d=n[4];for(let n=0;n<80;n++){const s=Math.floor(n/20),l=i(a,5)+r(s,o,c,u)+d+t[s]+e[n]>>>0;d=u,u=c,c=i(o,30)>>>0,o=a,a=l}n[0]=n[0]+a>>>0,n[1]=n[1]+o>>>0,n[2]=n[2]+c>>>0,n[3]=n[3]+u>>>0,n[4]=n[4]+d>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>
2>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}},60924(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a});const r=[];for(let o=0;o<256;++o)r[o]=(o+256).toString(16).substr(1);const i=function(e,t){let n=t||0;const i=r;return[i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]]].join("")};function a(e,t,n){const r=function(e,r,a,o){const s=a&&o||0;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=new Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}(e)),"string"==typeof r&&(r=function(e){const t=[];return e.replace(/[a-fA-F0-9]{2}/g,e=>(t.push(parseInt(e,16)),"")),t}(r)),!Array.isArray(e))throw TypeError("value must be an array of bytes");if(!Array.isArray(r)||16!==r.length)throw TypeError("namespace must be uuid string or an Array of 16 byte values");const l=n(r.concat(e));if(l[6]=15&l[6]|t,l[8]=63&l[8]|128,a)for(let t=0;t<16;++t)a[s+t]=l[t];return i(l)};try{r.name=e}catch{}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}Object.defineProperty(a,"name",{value:"default",configurable:!0})},43227(e,t,n){"use strict";n.r(t),n.d(t,{Uuidv5Namespace:()=>r});let r=function(e){return e.dns="6ba7b810-9dad-11d1-80b4-00c04fd430c8",e.url="6ba7b811-9dad-11d1-80b4-00c04fd430c8",e.oid="6ba7b812-9dad-11d1-80b4-00c04fd430c8",e.x500="6ba7b814-9dad-11d1-80b4-00c04fd430c8",e}({})},27405(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>i});let r=0;const i={addListener:()=>{},removeListeners:()=>{},getBadgeCountAsync:async()=>r,setBadgeCountAsync:async(e,t)=>{if("undefined"===typeof window)return!1;const i=n(21498);return e>0?i.set(e,t):i.clear(),r=e,!0}}},33134(e,t,n){"use strict";var r,i,a,o;n.r(t),n.d(t,{AndroidAudioContentType:()=>i,AndroidAudioUsage:()=>o,AndroidImportance:()=>a,AndroidNotificationVisibility:()=>r}),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.PUBLIC=1]="PUBLIC",e[e.PRIVATE=2]="PRIVATE",e[e.SECRET=3]="SECRET"}(r||(r={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.SPEECH=1]="SPEECH",e[e.MUSIC=2]="MUSIC",e[e.MOVIE=3]="MOVIE",e[e.SONIFICATION=4]="SONIFICATION"}(i||(i={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.UNSPECIFIED=1]="UNSPECIFIED",e[e.NONE=2]="NONE",e[e.MIN=3]="MIN",e[e.LOW=4]="LOW",e[e.DEFAULT=5]="DEFAULT",e[e.HIGH=6]="HIGH",e[e.MAX=7]="MAX"}(a||(a={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.MEDIA=1]="MEDIA",e[e.VOICE_COMMUNICATION=2]="VOICE_COMMUNICATION",e[e.VOICE_COMMUNICATION_SIGNALLING=3]="VOICE_COMMUNICATION_SIGNALLING",e[e.ALARM=4]="ALARM",e[e.NOTIFICATION=5]="NOTIFICATION",e[e.NOTIFICATION_RINGTONE=6]="NOTIFICATION_RINGTONE",e[e.NOTIFICATION_COMMUNICATION_REQUEST=7]="NOTIFICATION_COMMUNICATION_REQUEST",e[e.NOTIFICATION_COMMUNICATION_INSTANT=8]="NOTIFICATION_COMMUNICATION_INSTANT",e[e.NOTIFICATION_COMMUNICATION_DELAYED=9]="NOTIFICATION_COMMUNICATION_DELAYED",e[e.NOTIFICATION_EVENT=10]="NOTIFICATION_EVENT",e[e.ASSISTANCE_ACCESSIBILITY=11]="ASSISTANCE_ACCESSIBILITY",e[e.ASSISTANCE_NAVIGATION_GUIDANCE=12]="ASSISTANCE_NAVIGATION_GUIDANCE",e[e.ASSISTANCE_SONIFICATION=13]="ASSISTANCE_SONIFICATION",e[e.GAME=14]="GAME"}(o||(o={}))},16398(e,t,n){"use strict";n.r(t),n.d(t,{getPermissionsAsync:()=>c,requestPermissionsAsync:()=>u});var r=n(28945),i=n(35992),a=n(40495);function o(e){switch(e){case"granted":return{status:i.PermissionStatus.GRANTED,expires:"never",canAskAgain:!1,granted:!0};case"denied":return{status:i.PermissionStatus.DENIED,expires:"never",canAskAgain:!1,granted:!1};default:return{status:i.PermissionStatus.UNDETERMINED,expires:"never",canAskAgain:!0,granted:!1}}}async function s({shouldAsk:e}){if(!a.default.isDOMAvailable)return o("denied");const{Notification:t={}}=window;if("undefined"!==typeof t.requestPermission){let n=t.permission;return e&&(n=await new Promise((e,n)=>{let r=!1;function i(t){r||(r=!0,e(t))}t.requestPermission(i)?.then(i)?.catch(n)})),o(n)}if("undefined"!==typeof navigator&&navigator?.permissions?.query){return o((await navigator.permissions.query({name:"notifications"})).state)}return o("denied")}const l={addListener:()=>{},removeListeners:()=>{},getPermissionsAsync:async()=>s({shouldAsk:!1}),requestPermissionsAsync:async e=>s({shouldAsk:!0})};async function c(){if(!l.getPermissionsAsync)throw new r.UnavailabilityError("Notifications","getPermissionsAsync");return await l.getPermissionsAsync()}async function u(e){if(!l.requestPermissionsAsync)throw new r.UnavailabilityError("Notifications","requestPermissionsAsync");const t=(e??{ios:{allowAlert:!0,allowBadge:!0,allowSound:!0}}).web;return await l.requestPermissionsAsync(t)}}
2,94320(e,t,n){"use strict";n.r(t),n.d(t,{DEFAULT_ACTION_IDENTIFIER:()=>u,addNotificationReceivedListener:()=>d,addNotificationResponseClearedListener:()=>v,addNotificationResponseReceivedListener:()=>f,addNotificationsDroppedListener:()=>p,clearLastNotificationResponse:()=>y,clearLastNotificationResponseAsync:()=>g,getLastNotificationResponse:()=>m,getLastNotificationResponseAsync:()=>h});var r=n(46258),i=n(28945);let a=!1;const o={addListener:()=>{a||(a=!0)},removeListeners:()=>{}};var s=n(2286);const l=new r.LegacyEventEmitter(o),c="onDidClearNotificationResponse",u="expo.modules.notifications.actions.DEFAULT";function d(e){return l.addListener("onDidReceiveNotification",t=>{const n=(0,s.mapNotification)(t);e(n)})}function p(e){return l.addListener("onNotificationsDeleted",e)}function f(e){return l.addListener("onDidReceiveNotificationResponse",t=>{const n=(0,s.mapNotificationResponse)(t);e(n)})}async function h(){return m()}function m(){if(!o.getLastNotificationResponse)throw new i.UnavailabilityError("ExpoNotifications","getLastNotificationResponse");const e=o.getLastNotificationResponse();return e?(0,s.mapNotificationResponse)(e):e}async function g(){y()}function y(){if(!o.clearLastNotificationResponse)throw new i.UnavailabilityError("ExpoNotifications","clearLastNotificationResponse");o.clearLastNotificationResponse(),l.emit(c,[])}function v(e){return l.addListener(c,e)}},80519(e,t,n){"use strict";n.r(t),n.d(t,{NotificationTimeoutError:()=>c,setNotificationHandler:()=>f});var r=n(91808),i=n(46258),a=n(28945);let o=!1;const s={addListener:()=>{o||(o=!0)},removeListeners:()=>{}};var l=n(2286);class c extends r.CodedError{constructor(e,t){super("ERR_NOTIFICATION_TIMEOUT",`Notification handling timed out for ID ${e}.`),this.info={id:e,notification:t}}}const u=new i.LegacyEventEmitter(s);let d=null,p=null;function f(e){d&&(d.remove(),d=null),p&&(p.remove(),p=null),e&&(d=u.addListener("onHandleNotification",async({id:t,notification:n})=>{if(s.handleNotificationAsync)try{const r=(0,l.mapNotification)(n),i=await e.handleNotification(r);i.shouldShowAlert,await s.handleNotificationAsync(t,i),e.handleSuccess?.(t)}catch(r){e.handleError?.(t,r)}else e.handleError?.(t,new a.UnavailabilityError("Notifications","handleNotificationAsync"))}),p=u.addListener("onHandleNotificationTimeout",({id:t,notification:n})=>e.handleError?.(t,new c(t,(0,l.mapNotification)(n)))))}},10090(e,t,n){"use strict";n.r(t),n.d(t,{addPushTokenListener:()=>o});let r=!1;const i=()=>(r||(r=!0),{remove:()=>{}});var a=n(59139);function o(e){return(0,a.isRunningInExpoGo)(),i("onDevicePushToken",({devicePushToken:t})=>e({data:t,type:"web"}))}},69450(e,t,n){"use strict";n.r(t),n.d(t,{dismissAllNotificationsAsync:()=>a});var r=n(28945);const i={addListener:()=>{},removeListeners:()=>{}};async function a(){if(!i.dismissAllNotificationsAsync)throw new r.UnavailabilityError("Notifications","dismissAllNotificationsAsync");return await i.dismissAllNotificationsAsync()}},98902(e,t,n){"use strict";n.r(t),n.d(t,{getBadgeCountAsync:()=>a});var r=n(28945),i=n(27405);async function a(){if(!i.default.getBadgeCountAsync)throw new r.UnavailabilityError("ExpoNotifications","getBadgeCountAsync");return await i.default.getBadgeCountAsync()}},86545(e,t,n){"use strict";n.r(t),n.d(t,{getDevicePushTokenAsync:()=>E});var r=n(98587);function i(e){return"object"===typeof globalThis.ExpoDomWebView&&null!=globalThis?.expo?.modules?globalThis.expo?.modules?.[e]??null:null}var a,o,s,l=n(91808),c=n(45548);!function(e){e.Expo="expo"}(a||(a={})),function(e){e.Bare="bare",e.Standalone="standalone",e.StoreClient="storeClient"}(o||(o={})),function(e){e.Handset="handset",e.Tablet="tablet",e.Desktop="desktop",e.TV="tv",e.Unsupported="unsupported"}(s||(s={}));const u=(Date.now()+"-"+Math.floor(1e9*Math.random())).toString();const d={get appOwnership(){return null},get executionEnvironment(){return o.Bare},get sessionId(){return u},get isHeadless(){return"undefined"===typeof navigator||/\bHeadlessChrome\//.test(navigator.userAgent)},get expoVersion(){return this.manifest.sdkVersion||null},get linkingUri(){return"undefined"!==typeof location?location.origin:""},get expoRuntimeVersion(){return this.expoVersion},get deviceName(){return function(){if("undefined"!==typeof navigator&&"string"===typeof navigator.userAgent){const e=navigator.userAgent.toLowerCase();if(e.includes("edge"))return"Edge";if(e.includes("edg"))return"Chromium Edge";if(e.includes("opr")&&"opr"in window&&window.opr)return"Opera";if(e.includes("chrome")&&"chrome"in window&&window.chrome)return"Chrome";if(e.includes("trident"))return"IE";if(e.includes("firefox"))return"Firefox";if(e.includes("safari"))return"Safari"}}()},get systemFonts(){return[]},get statusBarHeight(){return 0},get deviceYearClass(){return null},get manifest(){return{version:"1.132.0",name:"Bluesky",slug:"bluesky",scheme:"bluesky",owner:"blueskysocial",runtimeVersion:{policy:"appVersion"},icon:"./assets/app-icons/ios_icon_default_next.png",userInterfaceStyle:"automatic",primaryColor:"#006AFF",androidStatusBar:{barStyle:"light-content"},web:{},updates:{url:"https://updates.bsky.app/manifest",enabled:!0,fallbackToCacheTimeout:3e4,codeSigningCertificate:"./code-signing/certificate.pem",codeSigningMetadata:{keyid:"main",alg:"rsa-v1_5-sha256"},checkAutomatically:"NEVER"},extra:{eas:{build:{experimental:{ios:{appExtensions:[{targetName:"Share-with-Bluesky",bundleIdentifier:"xyz.blueskyweb.app.Share-with-Bluesky",entitlements:{"com.apple.security.application-groups":["group.app.bsky"]}},{targetName:"BlueskyNSE",bundleIdentifier:"xyz.blueskyweb.app.BlueskyNSE",entitlements:{"com.apple.security.application-groups":["group.app.bsky"]}},{targetName:"BlueskyClip",bundleIdentifier:"xyz.blueskyweb.app.AppClip"}]}}},projectId:"55bd077a-d905-4184-9c7f-94789ba0f302"}},sdkVersion:"57.0.0",platforms:["ios","android","web"]}||{}},get manifest2(){return null},get experienceUrl(){return"undefined"!==typeof location?location.origin:""},get debugMode(){return!1},getWebViewUserAgentAsync:async()=>"undefined"!==typeof navigator?navigator.userAgent:null},p=i("ExpoUpdates");let f=null;if(p){let e;p.manifest?e=p.manifest:p.manifestString&&(e=JSON.parse(p.manifestString)),e&&Object.keys(e).length>0&&(f=e)}let h=null;if(c.default.EXDevLauncher){let e;c.default.EXDevLauncher.manifestString&&(e=JSON.parse(c.default.EXDevLauncher.manifestString)),e&&Object.keys(e).length>0&&(h=e)}let m=null;if(d&&d.manifest){const e=d.manifest;m="string"===typeof e?JSON.parse(e):e}let g=f??h??m;const y=d||{},{appOwnership:v}=y,b=(0,r.default)(y,["name","appOwnership"]),_=Object.assign({},b,{appOwnership:v??null});function w(e){return!k(e)}function k(e){return"metadata"in e}function S(e=!1){if(!g){const e=null===g?"null":"undefined";if(b.executionEnvironment,o.Bare,b.executionEnvironment===o.StoreClient||b.executionEnvironment===o.Standalone)throw new l.CodedError("ERR_CONSTANTS_MANIFEST_UNAVAILABLE",`Constants.manifest is ${e}, must be an object.`)}return g}Object.defineProperties(_,{__unsafeNoWarnManifest:{get(){const e=S(!0);return e&&w(e)?e:null},enumerable:!1},__unsafeNoWarnManifest2:{get(){const e=S(!0);return e&&k(e)?e:null},enumerable:!1},manifest:{get(){const e=S();return e&&w(e)?e:null},enumerable:!0},manifest2:{get(){const e=S();return e&&k(e)?e:null},enumerable:!0},expoConfig:{get(){const e=S(!0);return e?p&&p.isEmbeddedLaunch?m:k(e)?e.extra?.expoClient??null:w(e)?e:null:null},enumerable:!0},expoGoConfig:{get(){const e=S(!0);return e?k(e)?e.extra?.expoGo??null:w(e)?e:null:null},enumerable:!0},easConfig:{get(){const e=S(!0);return e?k(e)?e.extra?.eas??null:w(e)?e:null:null},enumerable:!0},__rawManifest_TEST:{get:()=>g,set(e){g=e},enumerable:!1}});const x=_;var C=n(40668);async function E(){const e=await async function(){const e=x.expoConfig?.notification?.vapidPublicKey;if(!e)throw new l.CodedError("ERR_NOTIFICATIONS_PUSH_WEB_MISSING_CONFIG","You must provide `notification.vapidPublicKey` in `app.json` to use push notifications on web. Learn more: https://docs.expo.dev/versions/latest/guides/using-vapid/.");const t=x.expoConfig?.notification?.serviceWorkerPath;if(!t)throw new l.CodedError("ERR_NOTIFICATIONS_PUSH_MISSING_CONFIGURATION","You must specify `notification.serviceWorkerPath` in `app.json` to use push notifications on the web. Provide the path to the service worker that will handle notifications.");!function(){if(!("Notification"in window))throw new l.CodedError("ERR_UNAVAILABLE","The Web Notifications API is not available on this device.");if(!navigator.serviceWorker)throw new l.CodedError("ERR_UNAVAILABLE","Notifications cannot be used because the service worker API is not supported on this device. This might also happen because your web page does not support HTTPS.");if("granted"!==Notification.permission)throw new l.CodedError("ERR_NOTIFICATIONS_PERMISSION_DENIED",'Cannot use web notifications without permissions granted. Request permissions with "expo-permissions".')}();let n=null;try{n=await navigator.serviceWorker.register(t)}catch(s){throw new l.CodedError("ERR_NOTIFICATIONS_PUSH_REGISTRATION_FAILED",`Could not register this device for push notifications because the service worker (${t}) could not be registered: ${s}`)}if(await navigator.serviceWorker.ready,!n.active)throw new l.CodedError("ERR_NOTIFICATIONS_PUSH_REGISTRATION_FAILED","Could not register this device for push notifications because the service worker is not active.");const r={userVisibleOnly:!0,applicationServerKey:A(e)};let i=null;try{i=await n.pushManager.subscribe(r)}catch(s){throw new l.CodedError("ERR_NOTIFICATIONS_PUSH_REGISTRATION_FAILED","The device was unable to register for remote notifications with the browser endpoint. ("+s+")")}const a=i.toJSON(),o={endpoint:a.endpoint,keys:{p256dh:a.keys.p256dh,auth:a.keys.auth}};return await n.active.postMessage(JSON.stringify({fromExpoWebClient:{}})),o}();return C.default.emit("onDevicePushToken",{devicePushToken:e}),{type:"web",data:e}}function A(e){const t=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),n=window.atob(t),r=new Uint8Array(n.length);for(let i=0;i<n.length;++i)r[i]=n.charCodeAt(i);return r}},78058(e,t,n){"use strict";n.r(t),n.d(t,{setBadgeCountAsync:()=>a});var r=n(28945),i=n(27405);async function a(e,t){if(!i.default.setBadgeCountAsync)throw new r.UnavailabilityError("ExpoNotifications","setBadgeCountAsync");const n=t?.web;return await i.default.setBadgeCountAsync(e,n)}},27968(e,t,n){"use strict";async function r(e,t){return null}n.r(t),n.d(t,{setNotificationChannelAsync:()=>r})}
2,37555(e,t,n){"use strict";async function r(e,t){return null}n.r(t),n.d(t,{setNotificationChannelGroupAsync:()=>r})},2286(t,n,r){"use strict";r.r(n),r.d(n,{mapNotification:()=>a,mapNotificationContent:()=>l,mapNotificationRequest:()=>o,mapNotificationResponse:()=>i});const i=e=>Object.assign({},e,{notification:a(e.notification)}),a=e=>Object.assign({},e,{request:o(e.request)}),o=e=>Object.assign({},e,{content:l(e.content)});let s=!1;const l=t=>{try{const e=t.dataString;if("string"===typeof e){const n=Object.assign({},t);return n.data=JSON.parse(e),Object.defineProperty(n,"dataString",{get:()=>(s||(s=!0),e)}),n}}catch(e){}return t}},83841(e,t,n){"use strict";n.r(t),n.d(t,{PrivacySensitive:()=>a});var r=n(60397),i=n(73929);function a({children:e,style:t}){return(0,r.jsx)(i.default,{style:t,children:e})}},69252(e,t,n){"use strict";n.r(t),n.d(t,{clearSharedPayloads:()=>c,getResolvedSharedPayloadsAsync:()=>l,getSharedPayloads:()=>s,isAvailableAsync:()=>a,shareAsync:()=>o});var r=n(28945);const i={isAvailableAsync:async()=>"undefined"!==typeof navigator&&!!navigator.share,async shareAsync(e,t={}){if(!navigator.share)throw new r.UnavailabilityError("navigator","share");await navigator.share(Object.assign({},t,{url:e}))},getSharedPayloads(){throw new Error("Receiving share payloads is not supported on web.")},async getResolvedSharedPayloadsAsync(){throw new Error("Receiving share payloads is not supported on web.")},clearSharedPayloads(){throw new Error("Receiving share payloads is not supported on web.")}};async function a(){return!!i&&(!i.isAvailableAsync||await i.isAvailableAsync())}async function o(e,t={}){if(!i||!i.shareAsync)throw new r.UnavailabilityError("Sharing","shareAsync");return await i.shareAsync(e,t)}function s(){return i.getSharedPayloads()}async function l(){return await i.getResolvedSharedPayloadsAsync()}function c(){i.clearSharedPayloads()}},36044(e,t,n){"use strict";n.r(t),n.d(t,{UpdateCheckResultNotAvailableReason:()=>r,UpdateInfoType:()=>K,UpdatesCheckAutomaticallyValue:()=>o,UpdatesLogEntryCode:()=>i,UpdatesLogEntryLevel:()=>a,addUpdatesStateChangeListener:()=>G,channel:()=>v,checkAutomatically:()=>_,checkForUpdateAsync:()=>j,clearLogEntriesAsync:()=>P,createdAt:()=>T,emergencyLaunchReason:()=>S,emitTestStateChangeEvent:()=>q,fetchUpdateAsync:()=>L,getExtraParamsAsync:()=>F,hideReloadScreen:()=>z,isEmbeddedLaunch:()=>C,isEmergencyLaunch:()=>k,isEnabled:()=>g,isUsingEmbeddedAssets:()=>E,latestContext:()=>Y,launchDuration:()=>x,localAssets:()=>w,manifest:()=>A,readLogEntriesAsync:()=>V,reloadAsync:()=>N,resetLatestContext:()=>J,runtimeVersion:()=>b,setExtraParamAsync:()=>M,setUpdateRequestHeadersOverride:()=>H,setUpdateURLAndRequestHeadersOverride:()=>B,showReloadScreen:()=>W,updateId:()=>
2y,useUpdates:()=>re});var r,i,a,o,s=n(98587),l=n(91808),c=n(40484),u=n(20356),d=n(86254);!function(e){e.NO_UPDATE_AVAILABLE_ON_SERVER="noUpdateAvailableOnServer",e.UPDATE_REJECTED_BY_SELECTION_POLICY="updateRejectedBySelectionPolicy",e.UPDATE_PREVIOUSLY_FAILED="updatePreviouslyFailed",e.ROLLBACK_REJECTED_BY_SELECTION_POLICY="rollbackRejectedBySelectionPolicy",e.ROLLBACK_NO_EMBEDDED="rollbackNoEmbeddedConfiguration"}(r||(r={})),function(e){e.NONE="None",e.NO_UPDATES_AVAILABLE="NoUpdatesAvailable",e.UPDATE_ASSETS_NOT_AVAILABLE="UpdateAssetsNotAvailable",e.UPDATE_SERVER_UNREACHABLE="UpdateServerUnreachable",e.UPDATE_HAS_INVALID_SIGNATURE="UpdateHasInvalidSignature",e.UPDATE_CODE_SIGNING_ERROR="UpdateCodeSigningError",e.UPDATE_FAILED_TO_LOAD="UpdateFailedToLoad",e.ASSETS_FAILED_TO_LOAD="AssetsFailedToLoad",e.JS_RUNTIME_ERROR="JSRuntimeError",e.INITIALIZATION_ERROR="InitializationError",e.UNKNOWN="Unknown"}(i||(i={})),function(e){e.TRACE="trace",e.DEBUG="debug",e.INFO="info",e.WARN="warn",e.ERROR="error",e.FATAL="fatal"}(a||(a={})),function(e){e.ON_LOAD="ON_LOAD",e.ON_ERROR_RECOVERY="ON_ERROR_RECOVERY",e.WIFI_ONLY="WIFI_ONLY",e.NEVER="NEVER"}(o||(o={}));class p extends u.NativeModule{isEmergencyLaunch=!1;emergencyLaunchReason=null;launchDuration=null;isEmbeddedLaunch=!1;isEnabled=!0;isUsingEmbeddedAssets=void 0;runtimeVersion="";checkAutomatically="ALWAYS";channel="";shouldDeferToNativeForAPIMethodAvailabilityInDevelopment=!1;initialContext={isStartupProcedureRunning:!1,isUpdateAvailable:!1,isUpdatePending:!1,isChecking:!1,isDownloading:!1,isRestarting:!1,restartCount:0,sequenceNumber:0,downloadProgress:0};async reload(){"undefined"!==typeof window&&window.location.reload(!0)}async checkForUpdateAsync(){return{isAvailable:!1,manifest:void 0,isRollBackToEmbedded:!1,reason:r.NO_UPDATE_AVAILABLE_ON_SERVER}}async getExtraParamsAsync(){return{}}async setExtraParamAsync(e,t){}async readLogEntriesAsync(e){return[]}async clearLogEntriesAsync(){}async fetchUpdateAsync(){return{isNew:!1,manifest:void 0,isRollBackToEmbedded:!1}}}const f=(0,d.registerWebModule)(p,"ExpoUpdates"),h=["manifestString"],m=["manifestString"],g=!!f.isEnabled,y=f.updateId&&"string"===typeof f.updateId?f.updateId.toLowerCase():null,v=f.channel??null,b=f.runtimeVersion??null,_={ALWAYS:o.ON_LOAD,ERROR_RECOVERY_ONLY:o.ON_ERROR_RECOVERY,NEVER:o.NEVER,WIFI_ONLY:o.WIFI_ONLY}[f.checkAutomatically]??null,w=f.localAssets??{},k=f.isEmergencyLaunch,S=f.emergencyLaunchReason,x=f.launchDuration,C=f.isEmbeddedLaunch||!1,E=f.isUsingEmbeddedAssets||!1,A=(f.manifestString?JSON.parse(f.manifestString):f.manifest)??{},T=f.commitTime?new Date(f.commitTime):null,I=!!f.shouldDeferToNativeForAPIMethodAvailabilityInDevelopment,R="extra"in A&&!!A.extra?.expoGo?.developer?.tool,O="To test usage of the expo-updates JS API in your app, make a release build with `npx expo run:ios --configuration Release` or `npx expo run:android --variant Release`.";function D(e){if(!e.image)return e;const t=function(e){if("string"===typeof e)return{url:e};if("number"===typeof e){const t=c.default.resolveAssetSource(e);return t?{url:t.uri,width:t.width,height:t.height,scale:t.scale}:null}return"object"===typeof e&&null!==e?e:null}(e.image);return Object.assign({},e,{image:t||void 0})}async function N(e){if(R&&!I)throw new l.CodedError("ERR_UPDATES_DISABLED",`You cannot use the Updates module in development mode in a production app. ${O}`);if(e?.reloadScreenOptions){const t=D(e.reloadScreenOptions);return await f.reload(t)}await f.reload(null)}async function j(){if(R&&!I)throw new l.CodedError("ERR_UPDATES_DISABLED",`You cannot check for updates in development mode. ${O}`);const e=await f.checkForUpdateAsync();if("manifestString"in e){const{manifestString:t}=e,n=(0,s.default)(e,h);return Object.assign({},n,{manifest:JSON.parse(t)})}return e}async function F(){return await f.getExtraParamsAsync()}async function M(e,t){return await f.setExtraParamAsync(e,t??null)}async function V(e=36e5){return await f.readLogEntriesAsync(e)}async function P(){await f.clearLogEntriesAsync()}async function L(){if(R&&!I)throw new l.CodedError("ERR_UPDATES_DISABLED",`You cannot fetch updates in development mode. ${O}`);const e=await f.fetchUpdateAsync();if("manifestString"in e){const{manifestString:t}=e,n=(0,s.default)(e,m);return Object.assign({},n,{manifest:JSON.parse(t)})}return e}function B(e){f.setUpdateURLAndRequestHeadersOverride(e)}function H(e){f.setUpdateRequestHeadersOverride(e)}async function W(e){if(e?.reloadScreenOptions){const t=D(e.reloadScreenOptions);return f.showReloadScreen(t)}return f.showReloadScreen()}async function z(){return f.hideReloadScreen()}let Y=$(f.initialContext);f.addListener("Expo.nativeUpdatesStateChangeEvent",X);const U=new Set;function X(e){const t="string"===typeof e?JSON.parse(e):Object.assign({},e),n=$(t.context);
2n.sequenceNumber<=Y.sequenceNumber||(t.context=n,Y=n,U.forEach(e=>e(t)))}const G=e=>(U.add(e),{remove(){U.delete(e)}}),q=e=>{X(e)},J=()=>{Y=$(f.initialContext)};function $(e){const t=Object.assign({},e);return t.latestManifestString&&(t.latestManifest=JSON.parse(t.latestManifestString),delete t.latestManifestString),t.downloadedManifestString&&(t.downloadedManifest=JSON.parse(t.downloadedManifestString),delete t.downloadedManifestString),t.lastCheckForUpdateTimeString&&(t.lastCheckForUpdateTime=new Date(t.lastCheckForUpdateTimeString),delete t.lastCheckForUpdateTimeString),t.rollbackString&&(t.rollback=JSON.parse(t.rollbackString),delete t.rollbackString),t}var K,Z=n(36665);!function(e){e.NEW="new",e.ROLLBACK="rollback"}(K||(K={}));const Q={updateId:y??void 0,channel:v??void 0,createdAt:T??void 0,launchDuration:x??void 0,isEmbeddedLaunch:C,isEmergencyLaunch:k,emergencyLaunchReason:S,manifest:A??void 0,runtimeVersion:b??void 0},ee=e=>({type:K.NEW,updateId:e.id??"",createdAt:e&&"createdAt"in e&&e.createdAt?new Date(e.createdAt):new Date(0),manifest:e}),te=e=>({type:K.ROLLBACK,createdAt:new Date(e.commitTime),manifest:void 0,updateId:void 0}),ne=e=>{const t=e?.latestManifest?ee(e?.latestManifest):e.rollback?te(e.rollback):void 0,n=e?.downloadedManifest?ee(e?.downloadedManifest):e.rollback?te(e.rollback):void 0;return{isStartupProcedureRunning:e.isStartupProcedureRunning,isUpdateAvailable:e.isUpdateAvailable,isUpdatePending:e.isUpdatePending,isChecking:e.isChecking,isDownloading:e.isDownloading,isRestarting:e.isRestarting,restartCount:e.restartCount,availableUpdate:t,downloadedUpdate:n,checkError:e.checkError,downloadError:e.downloadError,downloadProgress:e.downloadProgress,lastCheckForUpdateTimeSinceRestart:e.lastCheckForUpdateTime}},re=()=>{const[e,t]=(0,Z.useState)(ne(Y));return(0,Z.useEffect)(()=>{const e=G(e=>{t(ne(e.context))});return()=>e.remove()},[]),Object.assign({currentlyRunning:Q},e)}},56542(e,t,n){"use strict";n.r(t),n.d(t,{getThumbnailAsync:()=>i});const r={async getThumbnailAsync(){throw new Error("ExpoVideoThumbnails not supported on Expo Web")}};async function i(e,t={}){return await r.getThumbnail(e,t)}},46459(e,t,n){"use strict";n.r(t),n.d(t,{WebBrowserPresentationStyle:()=>s.WebBrowserPresentationStyle,WebBrowserResultType:()=>s.WebBrowserResultType,coolDownAsync:()=>k,dismissAuthSession:()=>E,dismissBrowser:()=>x,getCustomTabsSupportingBrowsersAsync:()=>b,mayInitWithUrlAsync:()=>w,maybeCompleteAuthSession:()=>A,openAuthSessionAsync:()=>C,openBrowserAsync:()=>S,warmUpAsync:()=>_});var r=n(28945),i=n(55324),a=(n(79632),n(69e3)),o=n(91808),s=n(54464);let l=null;const c=new Map,u=e=>`ExpoWebBrowser_OriginUrl_${e}`,d=e=>`ExpoWebBrowser_RedirectUrl_${e}`;function p(e){return(e.origin.replace(e.protocol,"").replace(/^\/+/,"").replace(/\/+$/,"")+decodeURI(e.pathname.replace(/\/{2,}/g,"/"))).toLowerCase()}function f(){if(l&&(l.close(),c.has(l))){const{listener:e,appStateSubscription:t,interval:n}=c.get(l);clearInterval(n),window.removeEventListener("message",e),t.remove(),c.delete(l);const r=window.localStorage.getItem("ExpoWebBrowserRedirectHandle");r&&(window.localStorage.removeItem("ExpoWebBrowserRedirectHandle"),window.localStorage.removeItem(u(r)),window.localStorage.removeItem(d(r))),l=null}}const h={async openBrowserAsync(e,t={}){if("undefined"===typeof window)return{type:s.WebBrowserResultType.CANCEL};const{windowName:n="_blank",windowFeatures:r}=t,i=y(r);return window.open(e,n,i),{type:s.WebBrowserResultType.OPENED}},dismissAuthSession(){"undefined"!==typeof window&&f()},maybeCompleteAuthSession({skipRedirectCheck:e}){if("undefined"===typeof window)return{type:"failed",message:"Cannot use expo-web-browser in a non-browser environment"};const t=window.localStorage.getItem("ExpoWebBrowserRedirectHandle");if(!t)return{type:"failed",message:"No auth session is currently in progress"};const n=window.location.href;if(!0!==e){const e=window.localStorage.getItem(d(t)),n=p(window.location);if(e!==n)return{type:"failed",message:`Current URL "${n}" and original redirect URL "${e}" do not match.`}}window.localStorage.setItem(u(t),n);const r=window.opener??window.parent;if(!r)throw new o.CodedError("ERR_WEB_BROWSER_REDIRECT","The window cannot complete the redirect request because the invoking window doesn't have a reference to it's parent. This can happen if the parent window was reloaded.");return r.postMessage({url:n,expoSender:t},r.location.toString()),{type:"success",message:"Attempting to complete auth"}}
2,async openAuthSessionAsync(e,t,n){if("undefined"===typeof window)return{type:s.WebBrowserResultType.CANCEL};if(t=t??function(e){const t=new URL(e);if(t.searchParams.has("redirect_uri")&&"string"===typeof t.searchParams.get("redirect_uri"))return t.searchParams.get("redirect_uri");return location.origin+location.pathname}(e),null==l||l?.closed){const t=y(n?.windowFeatures);if(l=window.open(e,n?.windowName,t),!l)throw new o.CodedError("ERR_WEB_BROWSER_BLOCKED","Popup window was blocked by the browser or failed to open. This can happen in mobile browsers when the window.open() method was invoked too long after a user input was fired.");try{l.focus()}catch{}}const r=await async function(e){const t=new URL(e);if(t.searchParams.has("state")&&"string"===typeof t.searchParams.get("state"))return t.searchParams.get("state");return await async function(){if(!m()||!window.crypto.subtle)throw new o.CodedError("ERR_WEB_BROWSER_CRYPTO","The current environment doesn't support crypto. Ensure you are running from a secure origin (localhost/https).");const e=new TextEncoder,t=function(e){let t=new Uint8Array(e);t.byteLength!==t.length&&(t=new Uint8Array(t.buffer));const n=new Uint8Array(t.length);if(m())window.crypto.getRandomValues(n);else for(let r=0;r<e;r+=1)n[r]=62*Math.random()|0;return function(e){let t="";for(const n of e){const e=g[n%62];null!=e&&(t+=e)}return t}(n)}(10),n=e.encode(t),r=await crypto.subtle.digest("SHA-256",n),i=btoa(String.fromCharCode(...new Uint8Array(r)));return i}()}(e);window.localStorage.setItem("ExpoWebBrowserRedirectHandle",r);const a=(()=>{if(!t)return t;try{return p(new URL(t))}catch{return t}})();return window.localStorage.setItem(d(r),a),new Promise(async e=>{const t=t=>{if(!t.isTrusted)return;if(t.origin!==window.location.origin)return;const{data:n}=t,r=window.localStorage.getItem("ExpoWebBrowserRedirectHandle");n.expoSender===r&&(f(),e({type:"success",url:n.url}))};window.addEventListener("message",t,!1);const n=i.default.addEventListener("change",t=>{if("active"!==t)return;const n=window.localStorage.getItem("ExpoWebBrowserRedirectHandle");if(n){const t=window.localStorage.getItem(u(n));t&&(f(),e({type:"success",url:t}))}}),r=setInterval(()=>{l?.closed&&(e&&e({type:s.WebBrowserResultType.DISMISS}),clearInterval(r),f())},1e3);c.set(l,{listener:t,interval:r,appStateSubscription:n})})}};function m(){return"undefined"!==typeof window&&!!window?.crypto}const g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";function y(e){const t=function(e){let t={};if("string"===typeof e){const n=e.split(",");for(const e of n){const[n,r]=e.trim().split("=");n&&r&&(t[n]=r)}}else e&&(t=e);return t}(e),n=t.width??500,r=t.height??650,i=t.top??Math.max(0,.5*(window.screen.height-r)),a=t.left??Math.max(0,.5*(window.screen.width-n));return o=Object.assign({},t,{toolbar:t.toolbar??"no",menubar:t.menubar??"no",location:t.location??"yes",resizable:t.resizable??"yes",status:t.status??"no",scrollbars:t.scrollbars??"yes",top:i,left:a,width:n,height:r}),Object.keys(o).reduce((e,t)=>{let n=o[t];return"boolean"===typeof n&&(n=n?"yes":"no"),t&&n?(e&&(e+=","),`${e}${t}=${n}`):e},"");var o}const v={defaultBrowserPackage:void 0,preferredBrowserPackage:void 0,browserPackages:[],servicePackages:[]};async function b(){if(!h.getCustomTabsSupportingBrowsersAsync)throw new r.UnavailabilityError("WebBrowser","getCustomTabsSupportingBrowsersAsync");return v}async function _(e){if(!h.warmUpAsync)throw new r.UnavailabilityError("WebBrowser","warmUpAsync");return{}}async function w(e,t){if(!h.mayInitWithUrlAsync)throw new r.UnavailabilityError("WebBrowser","mayInitWithUrlAsync");return{}}async function k(e){if(!h.coolDownAsync)throw new r.UnavailabilityError("WebBrowser","coolDownAsync");return{}}async function S(e,t={}){if(!h.openBrowserAsync)throw new r.UnavailabilityError("WebBrowser","openBrowserAsync");return await h.openBrowserAsync(e,T(t))}function x(){return h.dismissBrowser?.()}async function C(e,t,n={}){if(!h.openAuthSessionAsync)throw new r.UnavailabilityError("WebBrowser","openAuthSessionAsync");
2return["ios","macos","web"].includes("web")?h.openAuthSessionAsync(e,t,T(n)):h.openAuthSessionAsync(e,t)}function E(){if(!h.dismissAuthSession)throw new r.UnavailabilityError("WebBrowser","dismissAuthSession");h.dismissAuthSession()}function A(e={}){return h.maybeCompleteAuthSession?h.maybeCompleteAuthSession(e):{type:"failed",message:"Not supported on this platform"}}function T(e){return Object.assign({},e,{controlsColor:(0,a.default)(e.controlsColor),toolbarColor:(0,a.default)(e.toolbarColor),secondaryToolbarColor:(0,a.default)(e.secondaryToolbarColor)})}i.default.currentState},54464(e,t,n){"use strict";var r,i;n.r(t),n.d(t,{WebBrowserPresentationStyle:()=>i,WebBrowserResultType:()=>r}),function(e){e.CANCEL="cancel",e.DISMISS="dismiss",e.OPENED="opened",e.LOCKED="locked"}(r||(r={})),function(e){e.FULL_SCREEN="fullScreen",e.PAGE_SHEET="pageSheet",e.FORM_SHEET="formSheet",e.CURRENT_CONTEXT="currentContext",e.OVER_FULL_SCREEN="overFullScreen",e.OVER_CURRENT_CONTEXT="overCurrentContext",e.POPOVER="popover",e.AUTOMATIC="automatic"}(i||(i={}))},54259(e,t,n){"use strict";n.r(t),n.d(t,{MetroServerError:()=>r});class r extends Error{code="METRO_SERVER_ERROR";constructor(e,t){super(e.message),this.name="MetroServerError",this.url=t;for(const n in e)this[n]=e[n]}}},18208(e,t,n){"use strict";async function r(e){const t=await fetch(e,{method:"GET",headers:{"expo-platform":"web"}});return{body:await t.text(),status:t.status,headers:t.headers}}n.r(t),n.d(t,{fetchAsync:()=>r})},38040(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{fetchThenEvalAsync:()=>fetchThenEvalAsync});var _errors__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(54259),_fetchAsync__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(18208);function fetchThenEvalAsync(url){return(0,_fetchAsync__WEBPACK_IMPORTED_MODULE_1__.fetchAsync)(url).then(({body:body,status:status,headers:headers})=>{if(null!=headers?.has?.("Content-Type")&&headers.get("Content-Type").includes("application/json"))throw new Error(JSON.parse(body).message||`Unknown error fetching '${url}'`);if(200===status)return eval(body);throw new Error(`Failed to load split bundle from URL: ${url}\n${body}`)})}function jsonParseOptional(e){try{return JSON.parse(e)}catch{return null}}},75139(){0},59139(e,t,n){"use strict";function r(){return!1}function i(){return null}n.r(t),n.d(t,{getExpoGoProjectConfig:()=>i,isRunningInExpoGo:()=>r})},24814(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>u});n(75139);Object.defineProperty(globalThis,"__ExpoImportMetaRegistry",{value:n(5756).ImportMetaRegistry,enumerable:!1,writable:!0});const r=()=>"undefined"===typeof window?{bundleLoadedFromServer:!0,fullBundleUrl:"",url:""}:{bundleLoadedFromServer:!0,get fullBundleUrl(){return function(){const e=document?.currentScript,t=new URL(e&&"src"in e?e.src:location.href,location.href);return t.searchParams.has("platform")||t.searchParams.set("platform","web"),t.toString()}()},url:location.origin+location.pathname};const i="undefined"!==typeof document&&document.currentScript&&"src"in document.currentScript&&document.currentScript.src||null;class a extends Error{name="AsyncRequireError"}async function o(e){const t=function(e){if(/^https?:\/\//.test(e))return e;const{url:t}=r();return t?new URL(e,t).toString():`//${e.replace(/^\/+/,"")}`}(e);return function(e,{scriptType:t,nonce:r,crossOrigin:o}={}){return"undefined"===typeof window?n(38040).fetchThenEvalAsync(e):new Promise((n,s)=>{const l=document.createElement("script");t&&(l.type=t),r&&l.setAttribute("nonce",r),l.src=e,o&&0!==l.src.indexOf(window.location.origin+"/")&&(l.crossOrigin=o),l.onload=()=>{l.parentNode&&l.parentNode.removeChild(l),n()};const c=new a;l.onerror=t=>{let n;n="string"===typeof t?{type:"error",target:{src:n}}:t;const r=n&&("load"===n.type?"missing":n.type),i=n?.target?.src;c.message="Loading module "+e+" failed.\n("+r+": "+i+")",c.type=r,c.request=i,l.parentNode&&l.parentNode.removeChild(l),s(c)},l.src===i?n():document.head.appendChild(l)})}(t)}globalThis[`${globalThis.__METRO_GLOBAL_PREFIX__??""}__loadBundleAsync`]=function(){const e=new Map;return async function(t){if(e.has(t))return e.get(t);
2const n=o(t).catch(n=>{throw e.delete(t),n});return e.set(t,n),n}}();var s=n(60397);const l={};const c={registerComponent:function(e,t){return l[e]={getApplication:e=>{const r=t(),i=e?.initialProps??{};return{element:(0,s.jsx)(r,Object.assign({},i)),getStyleElement:e=>{const t=function(){try{return n(75675)}catch{return null}}();if(!t?.getSheet)return(0,s.jsx)("style",Object.assign({},e));const r=t.getSheet();return(0,s.jsx)("style",Object.assign({},e,{dangerouslySetInnerHTML:{__html:r.textContent},id:r.id}))}}},run:r=>{const{hydrate:i,initialProps:a={},rootTag:o,callback:l}=r;if(!o)throw new Error(`"rootTag" was not provided for appKey "${e}".`);const c=t(),u=(0,s.jsx)(c,Object.assign({},a)),d=function(){try{const e=n(36267);return e?.createSheet??null}catch{return null}}();d?.(o);const{createRoot:p,hydrateRoot:f}=n(64657);if(i){const e=f(o,u);return l&&l(),e}{const e=p(o);return e.render(u),l&&l(),e}}},e},getApplication:function(e,t){const n=l[e];if(!n)throw new Error(`Application "${e}" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.`);return n.getApplication(t)},runApplication:function(e,t){const n=l[e];if(!n)throw new Error(`Application "${e}" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.`);return n.run(t)}};function u(e){let t=e;if(c.registerComponent("main",()=>t),"undefined"!==typeof window){const e=document.getElementById("root");0,c.runApplication("main",{rootTag:e,hydrate:globalThis.__EXPO_ROUTER_HYDRATE__})}}},5756(e,t,n){"use strict";n.r(t),n.d(t,{ImportMetaRegistry:()=>i});const r="undefined"!==typeof window?document.currentScript?.src:null;const i={get url(){return function(){let e=r;if("undefined"===typeof window&&(e="file:///index.js"),null==e)return null;const t=new URL(e);return`${t.protocol}//${t.host}${t.pathname}`}()}}},25827(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>i});class r extends Error{constructor(e={}){super("Not implemented")}}const i=class{static async getDeviceCheckToken(){throw new r}static async warmupIntegrity(e){throw new r}static async getIntegrityToken(e){throw new r}}},39819(e,t,n){"use strict";n.r(t),n.d(t,{KeyboardProvider:()=>C});var r=n(36665),i=n(15009),a=n(75675),o=n(56403),s=n(62902),l=n(39047),c=n(31850),u=n(52968),d=n(67269);const p=()=>()=>{},f=p,h=p,m=(0,o.isEdgeToEdge)(),g=s.default.createAnimatedComponent(i.default.createAnimatedComponent(l.KeyboardControllerView)),y=a.default.create({container:{flex:1},hidden:{display:"none",position:"absolute"}}),v="web",b={code:"(function reactNativeKeyboardController_animatedJs1(event,platforms){const{OS,progressSV,heightSV}=this.__closure;if(platforms.includes(OS)){progressSV.value=event.progress;heightSV.value=-event.height;}})"},_={code:'(function reactNativeKeyboardController_animatedJs2(event){const{updateSharedValues}=this.__closure;updateSharedValues(event,["ios"]);})'},w={code:'(function reactNativeKeyboardController_animatedJs3(event){const{updateSharedValues}=this.__closure;updateSharedValues(event,["android"]);})'},k={code:'(function reactNativeKeyboardController_animatedJs4(event){const{updateSharedValues}=this.__closure;updateSharedValues(event,["android","ios"]);})'},S={code:'(function reactNativeKeyboardController_animatedJs5(event){const{updateSharedValues}=this.__closure;updateSharedValues(event,["android"]);})'},x={code:"(function reactNativeKeyboardController_animatedJs6(e){const{layout}=this.__closure;if(e.target!==-1){layout.value=e;}else{layout.value=null;}})"},C=e=>{const{children:t,statusBarTranslucent:n,navigationBarTranslucent:a,preserveEdgeToEdge:o,enabled:p=!0,preload:C=!0}=e,E=(0,r.useRef)(null),[A,T]=(0,r.useState)(p),I=(0,u.useAnimatedValue)(0),R=(0,u.useAnimatedValue)(0),O=(0,s.useSharedValue)(0),D=(0,s.useSharedValue)(0),N=(0,s.useSharedValue)(null),j=(0,u.useEventHandlerRegistration)(E),F=(0,u.useEventHandlerRegistration)(E),M=(0,r.useCallback)(async()=>{l.KeyboardControllerViewCommands.synchronizeFocusedInputLayout(E.current),await new Promise(e=>{const t=l.FocusedInputEvents.addListener("layoutDidSynchronize",()=>{t.remove(),e(null)})})},[]),V=(0,r.useMemo)(()=>({enabled:A,animated:{progress:I,height:i.default.multiply(R,-1)},reanimated:{progress:O,height:D},layout:N,update:M,setKeyboardHandlers:j,setInputHandlers:F,setEnabled:T}),[A]),P=(0,r.useMemo)(()=>[y.hidden,{transform:[{translateX:R},{translateY:I}]}],[]),L=(0,r.useMemo)(()=>i.default.event([{nativeEvent:{progress:I,height:R}}],{useNativeDriver:!1}),[]),B=function({_worklet_583762128417_init_data:e,OS:t,progressSV:n,heightSV:r}){const i=function(e,i){i.includes(t)&&(n.value=e.progress,r.value=-e.height)};return i.__closure={OS:t,progressSV:n,heightSV:r},i.__workletHash=583762128417,i.__initData=e,i}({_worklet_583762128417_init_data:b,OS:v,progressSV:O,heightSV:D}),H=f({onKeyboardMoveStart:function({_worklet_984770064192_init_data:e,updateSharedValues:t}){const n=function(e){t(e,["ios"])};return n.__closure={updateSharedValues:t},n.__workletHash=984770064192,n.__initData=e,n}({_worklet_984770064192_init_data:_,updateSharedValues:B}),onKeyboardMove:function({_worklet_4787278419407_init_data:e,updateSharedValues:t}){const n=function(e){t(e,["android"])};return n.__closure={updateSharedValues:t},n.__workletHash=4787278419407,n.__initData=e,n}({_worklet_4787278419407_init_data:w,updateSharedValues:B}),onKeyboardMoveInteractive:function({_worklet_5771025571473_init_data:e,updateSharedValues:t}){const n=function(e){t(e,["android","ios"])};return n.__closure={updateSharedValues:t},n.__workletHash=5771025571473,n.__initData=e,n}({_worklet_5771025571473_init_data:k,updateSharedValues:B}),onKeyboardMoveEnd:function({_worklet_2764083338953_init_data:e,updateSharedValues:t}){const n=function(e){t(e,["android"])};return n.__closure={updateSharedValues:t},n.__workletHash=2764083338953,n.__initData=e,n}({_worklet_2764083338953_init_data:S,updateSharedValues:B})},[]),W=h({onFocusedInputLayoutChanged:function({_worklet_8712263714134_init_data:e,layout:t}){const n=function(e){-1!==e.target?t.value=e:t.value=null};return n.__closure={layout:t},n.__workletHash=8712263714134,n.__initData=e,n}({_worklet_8712263714134_init_data:x,layout:N})},[]);return(0,r.useEffect)(()=>{C&&d.KeyboardController.preload()},[C]),r.createElement(c.KeyboardContext.Provider,{value:V},r.createElement(g,{ref:E,enabled:A,navigationBarTranslucent:m||a,statusBarTranslucent:m||n,preserveEdgeToEdge:m||o,style:y.container,onKeyboardMoveReanimated:H,onKeyboardMoveStart:void 0,onKeyboardMove:void 0,onKeyboardMoveInteractive:L,onKeyboardMoveEnd:void 0,onFocusedInputLayoutChangedReanimated:W},t),r.createElement(i.default.View,{style:P}))}},39047(e,t,n){"use strict";n.r(t),n.d(t,{ClippingScrollView:()=>m,FocusedInputEvents:()=>
2s,KeyboardBackgroundView:()=>f,KeyboardControllerNative:()=>a,KeyboardControllerView:()=>c,KeyboardControllerViewCommands:()=>u,KeyboardEvents:()=>o,KeyboardGestureArea:()=>d,RCTKeyboardExtender:()=>h,RCTKeyboardToolbarGroupView:()=>g,RCTOverKeyboardView:()=>p,WindowDimensionsEvents:()=>l});var r=n(73929);const i=()=>{},a={setDefaultMode:i,setInputMode:i,preload:i,dismiss:i,setFocusTo:i,viewPositionInWindow:()=>Promise.resolve({x:0,y:0,width:0,height:0}),addListener:i,removeListeners:i,getConstants:()=>({keyboardBorderRadius:0})},o={addListener:()=>({remove:i})},s={addListener:()=>({remove:i})},l={addListener:()=>({remove:i})},c=r.default,u={synchronizeFocusedInputLayout:e=>{}},d=r.default,p=r.default,f=r.default,h=r.default,m=r.default,g=r.default},80079(e,t,n){"use strict";n.r(t),n.d(t,{KeyboardState:()=>a,useAnimatedKeyboard:()=>u});var r=n(62902),i=n(88268);const a={UNKNOWN:0,OPENING:1,OPEN:2,CLOSING:3,CLOSED:4},o={code:"(function reactNativeKeyboardController_compatJs1(e){const{state,KeyboardState}=this.__closure;state.set(e.height>0?KeyboardState.OPENING:KeyboardState.CLOSING);})"},s={code:"(function reactNativeKeyboardController_compatJs2(e){const{height}=this.__closure;height.set(e.height);})"},l={code:"(function reactNativeKeyboardController_compatJs3(e){const{height}=this.__closure;height.set(e.height);})"},c={code:"(function reactNativeKeyboardController_compatJs4(e){const{state,KeyboardState,height}=this.__closure;state.set(e.height>0?KeyboardState.OPEN:KeyboardState.CLOSED);height.set(e.height);})"},u=()=>{const e=(0,r.useSharedValue)(0),t=(0,r.useSharedValue)(a.UNKNOWN);return(0,i.useKeyboardHandler)({onStart:function({_worklet_2807147476192_init_data:e,state:t,KeyboardState:n}){const r=function(e){t.set(e.height>0?n.OPENING:n.CLOSING)};return r.__closure={state:t,KeyboardState:n},r.__workletHash=2807147476192,r.__initData=e,r}({_worklet_2807147476192_init_data:o,state:t,KeyboardState:a}),onMove:function({_worklet_11895285217689_init_data:e,height:t}){const n=function(e){t.set(e.height)};return n.__closure={height:t},n.__workletHash=0xad1963ff999,n.__initData=e,n}({_worklet_11895285217689_init_data:s,height:e}),onInteractive:function({_worklet_1100992439128_init_data:e,height:t}){const n=function(e){t.set(e.height)};return n.__closure={height:t},n.__workletHash=1100992439128,n.__initData=e,n}({_worklet_1100992439128_init_data:l,height:e}),onEnd:function({_worklet_4418333883658_init_data:e,state:t,KeyboardState:n,height:r}){const i=function(e){t.set(e.height>0?n.OPEN:n.CLOSED),r.set(e.height)};return i.__closure={state:t,KeyboardState:n,height:r},i.__workletHash=4418333883658,i.__initData=e,i}({_worklet_4418333883658_init_data:c,state:t,KeyboardState:a,height:e})},[]),{height:e,state:t}}},65809(e,t,n){"use strict";n.r(t),n.d(t,{DefaultKeyboardToolbarTheme:()=>Ne,KeyboardAvoidingView:()=>R,KeyboardAwareScrollView:()=>Ce,KeyboardChatScrollView:()=>jt,KeyboardStickyView:()=>F,KeyboardToolbar:()=>it});var r=n(98587),i=n(36665),a=n(73929),o=n(62902),s=n(39047),l=n(88268),c=n(96473);const u=(...e)=>(0,i.useCallback)(t=>{for(const n of e)n&&("function"===typeof n?n(t):n.current=t)},e);var d=n(31850);const p="web",f={code:"(function reactNativeKeyboardController_hooksJs1(e){const{isClosed,heightWhenOpened}=this.__closure;if(e.height>0){isClosed.value=false;heightWhenOpened.value=e.height;}})"},h={code:"(function reactNativeKeyboardController_hooksJs2(e){const{progress,height}=this.__closure;progress.value=e.progress;height.value=e.height;})"},m={code:"(function reactNativeKeyboardController_hooksJs3(e){const{progress,height}=this.__closure;progress.value=e.progress;height.value=e.height;})"},g={code:"(function reactNativeKeyboardController_hooksJs4(e){const{isClosed,height,progress}=this.__closure;isClosed.value=e.height===0;height.value=e.height;progress.value=e.progress;})"},y={code:'(function reactNativeKeyboardController_hooksJs5(e){const{padding,OS,translate}=this.__closure;if(e.height===0){padding.value=0;}if(OS==="ios"){translate.value=e.progress;}})'},v={code:'(function reactNativeKeyboardController_hooksJs6(e){const{OS,translate}=this.__closure;if(OS!=="ios"){translate.value=e.progress;}})'},b={code:"(function reactNativeKeyboardController_hooksJs7(e){const{padding,translate}=this.__closure;padding.value=0;translate.value=e.progress;})"},_={code:'(function reactNativeKeyboardController_hooksJs8(e){const{padding,OS,translate}=this.__closure;padding.value=e.progress;if(OS!=="ios"){translate.value=e.progress;}})'},w=["behavior","children","contentContainerStyle","enabled","keyboardVerticalOffset","automaticOffset","style","onLayout"];function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k.apply(null,arguments)}const S={x:0,y:0,width:0,height:0},x={code:"(function reactNativeKeyboardController_indexJs1(){const{initialFrame,defaultLayout}=this.__closure;return initialFrame.value||defaultLayout;})"},C={code:"(function reactNativeKeyboardController_indexJs2(){const{screenHeight,keyboard,keyboardVerticalOffset,frame}=this.__closure;
2const keyboardY=screenHeight-keyboard.heightWhenOpened.value-keyboardVerticalOffset;return Math.max(frame.value.y+frame.value.height-keyboardY,0);})"},E={code:"(function reactNativeKeyboardController_indexJs3(value){const{interpolate,relativeKeyboardHeight}=this.__closure;return interpolate(value,[0,1],[0,relativeKeyboardHeight()]);})"},A={code:'(function reactNativeKeyboardController_indexJs4(layout){const{keyboard,initialFrame,behavior}=this.__closure;if(keyboard.isClosed.value||initialFrame.value===null||behavior!=="height"){initialFrame.value=layout;}})'},T={code:'(function reactNativeKeyboardController_indexJs5(){const{enabled,interpolateToRelativeKeyboardHeight,keyboard,translate,padding,frame,behavior}=this.__closure;if(!enabled){return{};}const bottom=interpolateToRelativeKeyboardHeight(keyboard.progress.value);const translateY=interpolateToRelativeKeyboardHeight(translate.value);const paddingBottom=interpolateToRelativeKeyboardHeight(padding.value);const height=frame.value.height-bottom;switch(behavior){case"height":if(!keyboard.isClosed.value&&height>0){return{height:height,flex:0};}return{};case"position":return{bottom:bottom};case"padding":return{paddingBottom:bottom};case"translate-with-padding":return{paddingTop:paddingBottom,transform:[{translateY:-translateY}]};default:return{};}})'},I=(0,i.forwardRef)((e,t)=>{let{behavior:n,children:I,contentContainerStyle:R,enabled:O=!0,keyboardVerticalOffset:D=0,automaticOffset:N=!1,style:j,onLayout:F}=e,M=(0,r.default)(e,w);const V=(0,o.useSharedValue)(null),P=i.useRef(null),L=(0,o.useDerivedValue)(function({_worklet_8674108463967_init_data:e,initialFrame:t,defaultLayout:n}){const r=function(){return t.value||n};return r.__closure={initialFrame:t,defaultLayout:n},r.__workletHash=8674108463967,r.__initData=e,r}({_worklet_8674108463967_init_data:x,initialFrame:V,defaultLayout:S})),{translate:B,padding:H}=(()=>{const{reanimated:e}=(0,d.useKeyboardContext)(),t=(0,o.useSharedValue)(0),n=(0,o.useSharedValue)(0);return(0,i.useLayoutEffect)(()=>{t.value=e.progress.value},[]),(0,l.useKeyboardHandler)({onStart:function({_worklet_8008810084735_init_data:e,padding:t,OS:n,translate:r}){const i=function(e){0===e.height&&(t.value=0),"ios"===n&&(r.value=e.progress)};return i.__closure={padding:t,OS:n,translate:r},i.__workletHash=8008810084735,i.__initData=e,i}({_worklet_8008810084735_init_data:y,padding:t,OS:p,translate:n}),onMove:function({_worklet_4843307309358_init_data:e,OS:t,translate:n}){const r=function(e){"ios"!==t&&(n.value=e.progress)};return r.__closure={OS:t,translate:n},r.__workletHash=4843307309358,r.__initData=e,r}({_worklet_4843307309358_init_data:v,OS:p,translate:n}),onInteractive:function({_worklet_15104285683872_init_data:e,padding:t,translate:n}){const r=function(e){t.value=0,n.value=e.progress};return r.__closure={padding:t,translate:n},r.__workletHash=0xdbcbd9530a0,r.__initData=e,r}({_worklet_15104285683872_init_data:b,padding:t,translate:n}),onEnd:function({_worklet_2085042026969_init_data:e,padding:t,OS:n,translate:r}){const i=function(e){t.value=e.progress,"ios"!==n&&(r.value=e.progress)};return i.__closure={padding:t,OS:n,translate:r},i.__workletHash=2085042026969,i.__initData=e,i}({_worklet_2085042026969_init_data:_,padding:t,OS:p,translate:n})},[]),{translate:n,padding:t}})(),W=(()=>{const{reanimated:e}=(0,d.useKeyboardContext)(),t=(0,o.useSharedValue)(0),n=(0,o.useSharedValue)(0),r=(0,o.useSharedValue)(0),a=(0,o.useSharedValue)(!0);return(0,i.useLayoutEffect)(()=>{const i=-e.height.value,o=e.progress.value;t.value=i,n.value=i,r.value=o,a.value=0===o},[]),(0,l.useKeyboardHandler)({onStart:function({_worklet_10436365364443_init_data:e,isClosed:t,heightWhenOpened:n}){const r=function(e){e.height>0&&(t.value=!1,n.value=e.height)};return r.__closure={isClosed:t,heightWhenOpened:n},r.__workletHash=0x97de7d9acdb,r.__initData=e,r}({_worklet_10436365364443_init_data:f,isClosed:a,heightWhenOpened:t}),onMove:function({_worklet_4065990237377_init_data:e,progress:t,height:n}){const r=function(e){t.value=e.progress,n.value=e.height};return r.__closure={progress:t,height:n},r.__workletHash=4065990237377,r.__initData=e,r}({_worklet_4065990237377_init_data:h,progress:r,height:n}),onInteractive:function({_worklet_15422451962592_init_data:e,progress:t,height:n}){const r=function(e){t.value=e.progress,n.value=e.height};return r.__closure={progress:t,height:n},r.__workletHash=0xe06d1c552e0,r.__initData=e,r}({_worklet_15422451962592_init_data:m,progress:r,height:n}),onEnd:function({_worklet_14432310800913_init_data:e,isClosed:t,height:n,progress:r}){const i=function(e){t.value=0===e.height,n.value=e.height,r.value=e.progress};return i.__closure={isClosed:t,height:n,progress:r},i.__workletHash=0xd2048c23211,i.__initData=e,i}({_worklet_14432310800913_init_data:g,isClosed:a,height:n,progress:r})},[]),{height:n,progress:r,heightWhenOpened:t,isClosed:a}})(),{height:z}=(0,l.useWindowDimensions)(),Y=(0,i.useCallback)(function({_worklet_11876559025829_init_data:e,screenHeight:t,keyboard:n,keyboardVerticalOffset:r,frame:i}){const a=function(){const e=t-n.heightWhenOpened.value-r;return Math.max(i.value.y+i.value.height-e,0)};return a.__closure={screenHeight:t,keyboard:n,keyboardVerticalOffset:r,frame:i},a.__workletHash=0xacd3a14f6a5,a.__initData=e,a}({_worklet_11876559025829_init_data:C,screenHeight:z,keyboard:W,keyboardVerticalOffset:D,frame:L}),[z,D]),U=(0,i.useCallback)(function({_worklet_2838754661417_init_data:e,interpolate:t,relativeKeyboardHeight:n}){const r=function(e){return t(e,[0,1],[0,n()])};return r.__closure={interpolate:t,relativeKeyboardHeight:n},r.__workletHash=2838754661417,r.__initData=e,r}({_worklet_2838754661417_init_data:E,interpolate:o.interpolate,relativeKeyboardHeight:Y}),[Y]),X=(0,i.useCallback)(function({_worklet_15362415265748_init_data:e,keyboard:t,initialFrame:n,behavior:r}){const i=function(e){(t.isClosed.value||null===n.value||"height"!==r)&&(n.value=e)};return i.__closure={keyboard:t,initialFrame:n,behavior:r},i.__workletHash=0xdf8d74e07d4,i.__initData=e,i}({_worklet_15362415265748_init_data:A,keyboard:W,initialFrame:V,behavior:n}),[n]),G=(0,i.useCallback)(e=>{null===F||void 0===F||F(e);const t=e.nativeEvent.layout;if(N){const e=(0,c.findNodeHandle)(P.current);if(null!==e)return s.KeyboardControllerNative.viewPositionInWindow(e).then(e=>{(0,o.runOnUI)(X)(Object.assign({},t,{x:e.x,y:e.y}))}).catch(()=>{(0,o.runOnUI)(X)(t)})}return(0,o.runOnUI)(X)(t)},[F,N]),q=(0,o.useAnimatedStyle)(function({_worklet_17290055527604_init_data:e,enabled:t,interpolateToRelativeKeyboardHeight:n,keyboard:r,translate:i,padding:a,frame:o,behavior:s}){const l=function(){if(!t)return{};
2const e=n(r.progress.value),l=n(i.value),c=n(a.value),u=o.value.height-e;switch(s){case"height":return!r.isClosed.value&&u>0?{height:u,flex:0}:{};case"position":return{bottom:e};case"padding":return{paddingBottom:e};case"translate-with-padding":return{paddingTop:c,transform:[{translateY:-l}]};default:return{}}};return l.__closure={enabled:t,interpolateToRelativeKeyboardHeight:n,keyboard:r,translate:i,padding:a,frame:o,behavior:s},l.__workletHash=0xfb9a79e2cb4,l.__initData=e,l}({_worklet_17290055527604_init_data:T,enabled:O,interpolateToRelativeKeyboardHeight:U,keyboard:W,translate:B,padding:H,frame:L,behavior:n}),[n,O,U]),J=u(P,t),$="position"===n,K=$?R:j,Z=(0,i.useMemo)(()=>[K,q],[K,q]);return $?i.createElement(a.default,k({ref:J,style:j,onLayout:G},M),i.createElement(o.default.View,{style:Z},I)):i.createElement(o.default.View,k({ref:J,style:Z,onLayout:G},M),I)}),R=I,O=["children","offset","style","enabled"];function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},D.apply(null,arguments)}const N={code:"(function reactNativeKeyboardController_indexJs1(){const{interpolate,progress,closed,opened,enabled,height}=this.__closure;const offset=interpolate(progress.value,[0,1],[closed,opened]);return{transform:[{translateY:enabled?height.value+offset:closed}]};})"},j=(0,i.forwardRef)((e,t)=>{let{children:n,offset:{closed:a=0,opened:s=0}={},style:c,enabled:u=!0}=e,d=(0,r.default)(e,O);const{height:p,progress:f}=(0,l.useReanimatedKeyboardAnimation)(),h=(0,o.useAnimatedStyle)(function({_worklet_8668593832080_init_data:e,interpolate:t,progress:n,closed:r,opened:i,enabled:a,height:o}){const s=function(){const e=t(n.value,[0,1],[r,i]);return{transform:[{translateY:a?o.value+e:r}]}};return s.__closure={interpolate:t,progress:n,closed:r,opened:i,enabled:a,height:o},s.__workletHash=8668593832080,s.__initData=e,s}({_worklet_8668593832080_init_data:N,interpolate:o.interpolate,progress:f,closed:a,opened:s,enabled:u,height:p}),[a,s,u]),m=(0,i.useMemo)(()=>[c,h],[c,h]);return i.createElement(o.default.View,D({ref:t,style:m},d),n)}),F=j;var M=n(52968);const V=["onScroll","onScrollBeginDrag","onScrollEndDrag","onMomentumScrollBegin","onMomentumScrollEnd"],P={code:"(function reactNativeKeyboardController_useScrollStateJs1(event){const{offset,layout,size}=this.__closure;offset.value=event.contentOffset.y;layout.value=event.layoutMeasurement;size.value=event.contentSize;})"},L=e=>{const t=(0,o.useSharedValue)(0),n=(0,o.useSharedValue)({width:0,height:0}),r=(0,o.useSharedValue)({width:0,height:0}),a=(0,M.useEventHandlerRegistration)(e),s=(0,o.useEvent)(function({_worklet_604622023586_init_data:e,offset:t,layout:n,size:r}){const i=function(e){t.value=e.contentOffset.y,n.value=e.layoutMeasurement,r.value=e.contentSize};return i.__closure={offset:t,layout:n,size:r},i.__workletHash=604622023586,i.__initData=e,i}({_worklet_604622023586_init_data:P,offset:t,layout:n,size:r}),V);(0,i.useEffect)(()=>{const e=a(s);return()=>{e()}},[]);const l=(0,i.useCallback)(e=>{n.value={width:e.nativeEvent.layout.width,height:e.nativeEvent.layout.height}},[n]),c=(0,i.useCallback)((e,t)=>{r.value={width:e,height:t}},[r]);return{offset:t,layout:n,size:r,onLayout:l,onContentSizeChange:c}};var B=n(75675);const H=B.default.create({container:{flexGrow:1,flexShrink:1}}),W=["ScrollViewComponent","bottomPadding","scrollIndicatorPadding","contentInset","scrollIndicatorInsets","inverted","contentOffsetY","applyWorkaroundForContentInsetHitTestBug","onContentInsetChange","children"];function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z.apply(null,arguments)}const Y=s.ClippingScrollView,U={code:"(function reactNativeKeyboardController_indexJs1(){const{inverted,bottomPadding,contentInset}=this.__closure;const dynamicTop=inverted?bottomPadding.value:0;const dynamicBottom=!inverted?bottomPadding.value:0;return{dynamic:{top:dynamicTop,bottom:dynamicBottom}
2,effective:{top:dynamicTop+((contentInset===null||contentInset===void 0?void 0:contentInset.top)||0),bottom:dynamicBottom+((contentInset===null||contentInset===void 0?void 0:contentInset.bottom)||0),left:(contentInset===null||contentInset===void 0?void 0:contentInset.left)||0,right:(contentInset===null||contentInset===void 0?void 0:contentInset.right)||0}};})"},X={code:"(function reactNativeKeyboardController_indexJs2(){const{insets}=this.__closure;return insets.value.effective;})"},G={code:"(function reactNativeKeyboardController_indexJs3(current,previous){const{onContentInsetChange,runOnJS}=this.__closure;if(!onContentInsetChange){return;}if(previous&&current.top===previous.top&&current.bottom===previous.bottom&&current.left===previous.left&&current.right===previous.right){return;}runOnJS(onContentInsetChange)(current);})"},q={code:"(function reactNativeKeyboardController_indexJs4(){const{insets,scrollIndicatorPadding,bottomPadding,inverted,scrollIndicatorInsets,contentOffsetY,prevContentOffsetY}=this.__closure;var _scrollIndicatorPaddi;const{dynamic:dynamic,effective:effective}=insets.value;const indicatorPadding=(_scrollIndicatorPaddi=scrollIndicatorPadding)!==null&&_scrollIndicatorPaddi!==void 0?_scrollIndicatorPaddi:bottomPadding;const indicatorTop=(inverted?indicatorPadding.value:0)+((scrollIndicatorInsets===null||scrollIndicatorInsets===void 0?void 0:scrollIndicatorInsets.top)||0);const indicatorBottom=(!inverted?indicatorPadding.value:0)+((scrollIndicatorInsets===null||scrollIndicatorInsets===void 0?void 0:scrollIndicatorInsets.bottom)||0);const result={contentInset:effective,scrollIndicatorInsets:{bottom:indicatorBottom,top:indicatorTop,right:scrollIndicatorInsets===null||scrollIndicatorInsets===void 0?void 0:scrollIndicatorInsets.right,left:scrollIndicatorInsets===null||scrollIndicatorInsets===void 0?void 0:scrollIndicatorInsets.left},contentInsetBottom:dynamic.bottom,contentInsetTop:dynamic.top};if(contentOffsetY){const curr=contentOffsetY.value;if(curr!==prevContentOffsetY.value){prevContentOffsetY.value=curr;result.contentOffset={x:0,y:curr};}}return result;})"},J=(0,i.forwardRef)((e,t)=>{let{ScrollViewComponent:n,bottomPadding:a,scrollIndicatorPadding:s,contentInset:l,scrollIndicatorInsets:c,inverted:u,contentOffsetY:d,applyWorkaroundForContentInsetHitTestBug:p,onContentInsetChange:f,children:h}=e,m=(0,r.default)(e,W);const g=(0,o.useSharedValue)(null),y=(0,o.useDerivedValue)(function({_worklet_2142840934500_init_data:e,inverted:t,bottomPadding:n,contentInset:r}){const i=function(){const e=t?n.value:0,i=t?0:n.value;return{dynamic:{top:e,bottom:i},effective:{top:e+((null===r||void 0===r?void 0:r.top)||0),bottom:i+((null===r||void 0===r?void 0:r.bottom)||0),left:(null===r||void 0===r?void 0:r.left)||0,right:(null===r||void 0===r?void 0:r.right)||0}}};return i.__closure={inverted:t,bottomPadding:n,contentInset:r},i.__workletHash=2142840934500,i.__initData=e,i}({_worklet_2142840934500_init_data:U,inverted:u,bottomPadding:a,contentInset:l}),[u,null===l||void 0===l?void 0:l.top,null===l||void 0===l?void 0:l.bottom,null===l||void 0===l?void 0:l.left,null===l||void 0===l?void 0:l.right]);(0,o.useAnimatedReaction)(function({_worklet_1217955642451_init_data:e,insets:t}){const n=function(){return t.value.effective};return n.__closure={insets:t},n.__workletHash=1217955642451,n.__initData=e,n}({_worklet_1217955642451_init_data:X,insets:y}),function({_worklet_12809994968692_init_data:e,onContentInsetChange:t,runOnJS:n}){const r=function(e,r){t&&(r&&e.top===r.top&&e.bottom===r.bottom&&e.left===r.left&&e.right===r.right||n(t)(e))};return r.__closure={onContentInsetChange:t,runOnJS:n},r.__workletHash=0xba68f331e74,r.__initData=e,r}({_worklet_12809994968692_init_data:G,onContentInsetChange:f,runOnJS:o.runOnJS}),[f]);const v=(0,o.useAnimatedProps)(function({_worklet_7308042105290_init_data:e,insets:t,scrollIndicatorPadding:n,bottomPadding:r,inverted:i,scrollIndicatorInsets:a,contentOffsetY:o,prevContentOffsetY:s}){const l=function(){const{dynamic:e,effective:l}=t.value,c=n??r,u=(i?c.value:0)+((null===a||void 0===a?void 0:a.top)||0),d={contentInset:l,scrollIndicatorInsets:{bottom:(i?0:c.value)+((null===a||void 0===a?void 0:a.bottom)||0),top:u,right:null===a||void 0===a?void 0:a.right,left:null===a||void 0===a?void 0:a.left},contentInsetBottom:e.bottom,contentInsetTop:e.top};if(o){const e=o.value;e!==s.value&&(s.value=e,d.contentOffset={x:0,y:e})}return d};return l.__closure={insets:t,scrollIndicatorPadding:n,bottomPadding:r,inverted:i,scrollIndicatorInsets:a,contentOffsetY:o,prevContentOffsetY:s}
2,l.__workletHash=7308042105290,l.__initData=e,l}({_worklet_7308042105290_init_data:q,insets:y,scrollIndicatorPadding:s,bottomPadding:a,inverted:u,scrollIndicatorInsets:c,contentOffsetY:d,prevContentOffsetY:g}),[null===c||void 0===c?void 0:c.bottom,null===c||void 0===c?void 0:c.top,null===c||void 0===c?void 0:c.right,null===c||void 0===c?void 0:c.left,u,d]);return i.createElement(Y,{animatedProps:v,applyWorkaroundForContentInsetHitTestBug:p,style:H.container},i.createElement(n,z({ref:t,animatedProps:v},m),h))}),$=J,K=!1,Z={duration:250,easing:o.Easing.bezier(.19919472913616398,.010644531250000006,.27920937042459737,.91025390625)},Q={code:"(function reactNativeKeyboardController_useSmoothKeyboardHandlerJs1(){const{IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS,persistedHeight,TELEGRAM_ANDROID_TIMING_CONFIG,target,animatedKeyboardHeight}=this.__closure;if(IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS){return;}if(persistedHeight.value===0){return;}const event={duration:TELEGRAM_ANDROID_TIMING_CONFIG.duration,target:target.value,height:animatedKeyboardHeight.value,progress:animatedKeyboardHeight.value/persistedHeight.value};return event;})"},ee={code:"(function reactNativeKeyboardController_useSmoothKeyboardHandlerJs2(evt){const{handler,height,persistedHeight}=this.__closure;var _handler$onMove;if(!evt){return;}(_handler$onMove=handler.onMove)===null||_handler$onMove===void 0||_handler$onMove.call(handler,evt);if(evt.height===height.value){var _handler$onEnd;(_handler$onEnd=handler.onEnd)===null||_handler$onEnd===void 0||_handler$onEnd.call(handler,evt);persistedHeight.value=height.value;}})"},te={code:"(function reactNativeKeyboardController_useSmoothKeyboardHandlerJs3(e){const{IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS,persistedHeight,handler,target,height,animatedKeyboardHeight,withTiming,TELEGRAM_ANDROID_TIMING_CONFIG}=this.__closure;var _handler$onStart2;if(!IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS&&e.height===persistedHeight.value){var _handler$onStart,_handler$onEnd2;(_handler$onStart=handler.onStart)===null||_handler$onStart===void 0||_handler$onStart.call(handler,e);(_handler$onEnd2=handler.onEnd)===null||_handler$onEnd2===void 0||_handler$onEnd2.call(handler,e);return;}target.value=e.target;height.value=e.height;if(e.height>0){persistedHeight.value=e.height;}if(!IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS){animatedKeyboardHeight.value=withTiming(e.height,TELEGRAM_ANDROID_TIMING_CONFIG);}(_handler$onStart2=handler.onStart)===null||_handler$onStart2===void 0||_handler$onStart2.call(handler,{...e,duration:IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS?e.duration:TELEGRAM_ANDROID_TIMING_CONFIG.duration});})"},ne={code:"(function reactNativeKeyboardController_useSmoothKeyboardHandlerJs4(e){const{IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS,handler}=this.__closure;if(IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS){var _handler$onMove2;(_handler$onMove2=handler.onMove)===null||_handler$onMove2===void 0||_handler$onMove2.call(handler,e);}})"},re={code:"(function reactNativeKeyboardController_useSmoothKeyboardHandlerJs5(e){const{IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS,handler}=this.__closure;if(IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS){var _handler$onEnd3;(_handler$onEnd3=handler.onEnd)===null||_handler$onEnd3===void 0||_handler$onEnd3.call(handler,e);}})"},ie=function({_worklet_11838374889263_init_data:e,_worklet_11422547977920_init_data:t}){const n=function(e,n=0){return function({_worklet_11422547977920_init_data:e,value:t,wait:n,worklet:r}){const i=function(...e){const i=Date.now();if(!(i-t.time<n))return t.time=i,r(...e);t.time=i};return i.__closure={value:t,wait:n,worklet:r},i.__workletHash=0xa6384ea26c0,i.__initData=e,i}({_worklet_11422547977920_init_data:t,value:{time:0},wait:n,worklet:e})};return n.__closure={_worklet_11422547977920_init_data:t},n.__workletHash=0xac45621472f,n.__initData=e,n}({_worklet_11838374889263_init_data:{code:"(function reactNativeKeyboardController_utilsJs2(worklet,wait=0){const{_worklet_11422547977920_init_data}=this.__closure;const value={time:0};return function reactNativeKeyboardController_utilsJs1Factory({_worklet_11422547977920_init_data:_worklet_11422547977920_init_data,value:value,wait:wait,worklet:worklet}){const reactNativeKeyboardController_utilsJs1=function(...args){const t=Date.now();const now=t-value.time;if(now<wait){value.time=t;return;}value.time=t;return worklet(...args);};reactNativeKeyboardController_utilsJs1.__closure={value:value,wait:wait,worklet:worklet};reactNativeKeyboardController_utilsJs1.__workletHash=11422547977920;reactNativeKeyboardController_utilsJs1.__initData=_worklet_11422547977920_init_data;return reactNativeKeyboardController_utilsJs1;}({_worklet_11422547977920_init_data:_worklet_11422547977920_init_data,value:value,wait:wait,worklet:worklet});})"},_worklet_11422547977920_init_data:{code:"(function reactNativeKeyboardController_utilsJs1(...args){const{value,wait,worklet}=this.__closure;const t=Date.now();const now=t-value.time;if(now<wait){value.time=t;return;}value.time=t;return worklet(...args);})"}}),ae=function({_worklet_1916886276476_init_data:e}){const t=function(e,t){let n;return t&&(n=t.find(t=>t>=e)),n??e};return t.__closure={},t.__workletHash=1916886276476,t.__initData=e,t}({_worklet_1916886276476_init_data:{code:"(function reactNativeKeyboardController_utilsJs3(defaultScrollValue,snapPoints){let snapPoint;if(snapPoints){snapPoint=snapPoints.find(function(offset){return offset>=defaultScrollValue;});}return snapPoint!==null&&snapPoint!==void 0?snapPoint:defaultScrollValue;})"}}),oe=["children","onLayout","bottomOffset","disableScrollOnKeyboardHide","enabled","extraKeyboardSpace","mode","ScrollViewComponent","snapToOffsets"];function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},se.apply(null,arguments)}const le={code:"(function reactNativeKeyboardController_indexJs1(e,animated=false){const{enabled,layout,scrollViewTarget,height,keyboardHeight,bottomOffset,interpolate,initialKeyboardSize,scrollDistanceWithRespectToSnapPoints,scrollPosition,snapToOffsets,scrollTo,scrollViewAnimatedRef,scrollViewPageY}=this.__closure;var _layout$value,_layout$value2,_layout$value3;if(!enabled){return 0;}if(((_layout$value=layout.value)===null||_layout$value===void 0?void 0:_layout$value.parentScrollViewTarget)!==scrollViewTarget.value){return 0;}const visibleRect=height-keyboardHeight.value;const absoluteY=((_layout$value2=layout.value)===null||_layout$value2===void 0?void 0:_layout$value2.layout.absoluteY)||0;const inputHeight=((_layout$value3=layout.value)===null||_layout$value3===void 0?void 0:_layout$value3.layout.height)||0;const point=absoluteY+inputHeight;if(visibleRect-point<=bottomOffset){const relativeScrollTo=keyboardHeight.value-(height-point)+bottomOffset;const interpolatedScrollTo=interpolate(e,[initialKeyboardSize.value,keyboardHeight.value],[0,scrollDistanceWithRespectToSnapPoints(relativeScrollTo+scrollPosition.value,snapToOffsets)-scrollPosition.value]);const targetScrollY=Math.max(interpolatedScrollTo,0)+scrollPosition.value;scrollTo(scrollViewAnimatedRef,0,targetScrollY,animated);return interpolatedScrollTo;}if(point<scrollViewPageY.value){const positionOnScreen=visibleRect-bottomOffset;const topOfScreen=scrollPosition.value+point;scrollTo(scrollViewAnimatedRef,0,topOfScreen-positionOnScreen,animated);}return 0;})"},ce={code:'(function reactNativeKeyboardController_indexJs2(e){const{mode,keyboardWillAppear,ghostViewSpace,scrollTo,scrollViewAnimatedRef,scrollPosition,interpolate,initialKeyboardSize,keyboardHeight}=this.__closure;if(mode==="layout"){return false;}if(!keyboardWillAppear.value&&ghostViewSpace.value>0){scrollTo(scrollViewAnimatedRef,0,scrollPosition.value-interpolate(e,[initialKeyboardSize.value,keyboardHeight.value],[ghostViewSpace.value,0]),false);return true;}return false;})'},ue={code:"(function reactNativeKeyboardController_indexJs3(newPosition){const{scrollPosition,maybeScroll,keyboardHeight}=this.__closure;const prevScroll=scrollPosition.value;scrollPosition.value=newPosition;maybeScroll(keyboardHeight.value,true);scrollPosition.value=prevScroll;})"},de={code:"(function reactNativeKeyboardController_indexJs4(e){const{interpolate,keyboardHeight,extraKeyboardSpace,currentKeyboardFrameHeight}=this.__closure;
2const keyboardFrame=interpolate(e.height,[0,keyboardHeight.value],[0,keyboardHeight.value+extraKeyboardSpace]);currentKeyboardFrameHeight.value=keyboardFrame;})"},pe={code:"(function reactNativeKeyboardController_indexJs5(){const{lastSelection,input,layout,clamp}=this.__closure;var _lastSelection$value,_input$value;const customHeight=(_lastSelection$value=lastSelection.value)===null||_lastSelection$value===void 0?void 0:_lastSelection$value.selection.end.y;if(!((_input$value=input.value)!==null&&_input$value!==void 0&&_input$value.layout)||!customHeight){return false;}layout.value={...input.value,layout:{...input.value.layout,height:clamp(customHeight,0,input.value.layout.height)}};return true;})"},fe={code:"(function reactNativeKeyboardController_indexJs6(){const{layout,updateLayoutFromSelection,performScrollWithPositionRestoration,position}=this.__closure;const prevLayout=layout.value;if(!updateLayoutFromSelection()){return;}performScrollWithPositionRestoration(position.value);layout.value=prevLayout;})"},he={code:"(function reactNativeKeyboardController_indexJs7(){const{scrollFromCurrentPosition}=this.__closure;scrollFromCurrentPosition();})"},me={code:"(function reactNativeKeyboardController_indexJs8(e){const{lastSelection,selectionUpdatedSinceHide,pendingSelectionForFocus,updateLayoutFromSelection,keyboardWillAppear,keyboardHeight,position,maybeScroll,scrollFromCurrentPosition,onChangeTextHandler}=this.__closure;var _lastSelection$value2,_lastSelection$value3;const lastTarget=(_lastSelection$value2=lastSelection.value)===null||_lastSelection$value2===void 0?void 0:_lastSelection$value2.target;const latestSelection=(_lastSelection$value3=lastSelection.value)===null||_lastSelection$value3===void 0?void 0:_lastSelection$value3.selection;lastSelection.value=e;selectionUpdatedSinceHide.value=true;if(e.target!==lastTarget||pendingSelectionForFocus.value){if(pendingSelectionForFocus.value){pendingSelectionForFocus.value=false;updateLayoutFromSelection();if(!keyboardWillAppear.value&&keyboardHeight.value>0){position.value+=maybeScroll(keyboardHeight.value,true);}}return;}if(e.selection.end.position===e.selection.start.position&&(latestSelection===null||latestSelection===void 0?void 0:latestSelection.end.y)!==e.selection.end.y){return scrollFromCurrentPosition();}if(e.selection.start.position!==e.selection.end.position){return scrollFromCurrentPosition();}onChangeTextHandler();})"},ge={code:'(function reactNativeKeyboardController_indexJs9(e){const{keyboardHeight,keyboardWillAppear,tag,initialKeyboardSize,scrollPosition,scrollBeforeKeyboardMovement,pendingSelectionForFocus,position,mode,syncKeyboardFrame,lastSelection,selectionUpdatedSinceHide,updateLayoutFromSelection,input,layout,maybeScroll,ghostViewSpace,scrollViewLayout,scrollViewContentSize}=this.__closure;const keyboardWillChangeSize=keyboardHeight.value!==e.height&&e.height>0;keyboardWillAppear.value=e.height>0&&keyboardHeight.value===0;const keyboardWillHide=e.height===0;const focusWasChanged=tag.value!==e.target&&e.target!==-1||keyboardWillChangeSize;if(keyboardWillChangeSize){initialKeyboardSize.value=keyboardHeight.value;}if(keyboardWillHide){initialKeyboardSize.value=0;scrollPosition.value=scrollBeforeKeyboardMovement.value;pendingSelectionForFocus.value=false;}if(keyboardWillAppear.value||keyboardWillChangeSize||focusWasChanged){scrollPosition.value=position.value;keyboardHeight.value=e.height;if(mode==="insets"){syncKeyboardFrame(e);}}if(focusWasChanged){var _lastSelection$value4;tag.value=e.target;if(((_lastSelection$value4=lastSelection.value)===null||_lastSelection$value4===void 0?void 0:_lastSelection$value4.target)===e.target&&selectionUpdatedSinceHide.value){updateLayoutFromSelection();pendingSelectionForFocus.value=false;}else{var _lastSelection$value5;if(((_lastSelection$value5=lastSelection.value)===null||_lastSelection$value5===void 0?void 0:_lastSelection$value5.target)===e.target){updateLayoutFromSelection();}else if(input.value){layout.value=input.value;}pendingSelectionForFocus.value=true;}scrollBeforeKeyboardMovement.value=position.value;}if(focusWasChanged&&!keyboardWillAppear.value){if(!pendingSelectionForFocus.value){position.value+=maybeScroll(e.height,true);}}if(mode==="insets"){ghostViewSpace.value=position.value+scrollViewLayout.value.height-scrollViewContentSize.value.height;if(ghostViewSpace.value>0){scrollPosition.value=position.value;}}})'},ye={code:'(function reactNativeKeyboardController_indexJs10(e){const{removeGhostPadding,mode,syncKeyboardFrame,disableScrollOnKeyboardHide,keyboardWillAppear,maybeScroll}=this.__closure;if(removeGhostPadding(e.height)){return;}if(mode==="layout"){syncKeyboardFrame(e);}if(!disableScrollOnKeyboardHide||keyboardWillAppear.value){maybeScroll(e.height);}})'},ve={code:"(function reactNativeKeyboardController_indexJs11(e){const{removeGhostPadding,keyboardHeight,scrollPosition,position,selectionUpdatedSinceHide,keyboardWillAppear,pendingSelectionForFocus,syncKeyboardFrame}=this.__closure;removeGhostPadding(e.height);keyboardHeight.value=e.height;scrollPosition.value=position.value;if(e.height===0){selectionUpdatedSinceHide.value=false;}else if(keyboardWillAppear.value){pendingSelectionForFocus.value=false;}syncKeyboardFrame(e);})"},be={code:"(function reactNativeKeyboardController_indexJs12(){const{scrollFromCurrentPosition}=this.__closure;scrollFromCurrentPosition();})"},_e={code:"(function reactNativeKeyboardController_indexJs13(){const{input}=this.__closure;return input.value;})"},we={code:"(function reactNativeKeyboardController_indexJs14(current,previous){const{scrollFromCurrentPosition}=this.__closure;if((current===null||current===void 0?void 0:current.target)===(previous===null||previous===void 0?void 0:previous.target)&&(current===null||current===void 0?void 0:current.layout.height)!==(previous===null||previous===void 0?void 0:previous.layout.height)){scrollFromCurrentPosition();}})"},ke={code:"(function reactNativeKeyboardController_indexJs15(){const{enabled,currentKeyboardFrameHeight}=this.__closure;return enabled?currentKeyboardFrameHeight.value:0;})"},Se={code:'(function reactNativeKeyboardController_indexJs16(){const{enabled,mode,currentKeyboardFrameHeight}=this.__closure;return enabled&&mode==="layout"?{paddingBottom:currentKeyboardFrameHeight.value+1}:{};})'},xe=(0,i.forwardRef)((e,t)=>{let{children:n,onLayout:a,bottomOffset:d=0,disableScrollOnKeyboardHide:p=!1,enabled:f=!0,extraKeyboardSpace:h=0,mode:m="insets",ScrollViewComponent:g=o.default.ScrollView,snapToOffsets:y}=e,v=(0,r.default)(e,oe);const b=(0,o.useAnimatedRef)(),_=i.useRef(null),w=u(b,_),k=(0,o.useSharedValue)(null),S=(0,o.useSharedValue)(0),{offset:x,layout:C,size:E}=L(b),A=(0,o.useSharedValue)(0),T=(0,o.useSharedValue)(0),I=(0,o.useSharedValue)(!1),R=(0,o.useSharedValue)(-1),O=(0,o.useSharedValue)(0),D=(0,o.useSharedValue)(0),{input:N,update:j}=(0,l.useReanimatedFocusedInput)(),F=(0,o.useSharedValue)(null),M=(0,o.useSharedValue)(null),V=(0,o.useSharedValue)(-1),P=(0,o.useSharedValue)(!1),B=(0,o.useSharedValue)(!1),H=(0,o.useSharedValue)(0),{height:W}=(0,l.useWindowDimensions)(),z=(0,i.useCallback)(async e=>{const t=(0,c.findNodeHandle)(b.current);if(k.value=t,null===a||void 0===a||a(e),null!==t)try{const{y:e}=await s.KeyboardControllerNative.viewPositionInWindow(t);H.value=e}catch{}},[a]),Y=(0,i.useCallback)(function({_worklet_8129276462772_init_data:e,enabled:t,layout:n,scrollViewTarget:r,height:i,keyboardHeight:a,bottomOffset:o,interpolate:s,initialKeyboardSize:l,scrollDistanceWithRespectToSnapPoints:c,scrollPosition:u,snapToOffsets:d,scrollTo:p,scrollViewAnimatedRef:f,scrollViewPageY:h}){const m=function(e,m=!1){var g,y,v;if(!t)return 0;if((null===(g=n.value)||void 0===g?void 0:g.parentScrollViewTarget)!==r.value)return 0;const b=i-a.value,_=((null===(y=n.value)||void 0===y?void 0:y.layout.absoluteY)||0)+((null===(v=n.value)||void 0===v?void 0:v.layout.height)||0);if(b-_<=o){const t=a.value-(i-_)+o,n=s(e,[l.value,a.value],[0,c(t+u.value,d)-u.value]),r=Math.max(n,0)+u.value;return p(f,0,r,m),n}if(_<h.value){const e=b-o,t=u.value+_;p(f,0,t-e,m)}return 0};return m.__closure={enabled:t,layout:n,scrollViewTarget:r,height:i,keyboardHeight:a,bottomOffset:o,interpolate:s,initialKeyboardSize:l,scrollDistanceWithRespectToSnapPoints:c,scrollPosition:u,snapToOffsets:d,scrollTo:p,scrollViewAnimatedRef:f,scrollViewPageY:h}
2,m.__workletHash=8129276462772,m.__initData=e,m}({_worklet_8129276462772_init_data:le,enabled:f,layout:F,scrollViewTarget:k,height:W,keyboardHeight:T,bottomOffset:d,interpolate:o.interpolate,initialKeyboardSize:O,scrollDistanceWithRespectToSnapPoints:ae,scrollPosition:S,snapToOffsets:y,scrollTo:o.scrollTo,scrollViewAnimatedRef:b,scrollViewPageY:H}),[d,f,W,y]),U=(0,i.useCallback)(function({_worklet_2778355421634_init_data:e,mode:t,keyboardWillAppear:n,ghostViewSpace:r,scrollTo:i,scrollViewAnimatedRef:a,scrollPosition:o,interpolate:s,initialKeyboardSize:l,keyboardHeight:c}){const u=function(e){return"layout"!==t&&(!n.value&&r.value>0&&(i(a,0,o.value-s(e,[l.value,c.value],[r.value,0]),!1),!0))};return u.__closure={mode:t,keyboardWillAppear:n,ghostViewSpace:r,scrollTo:i,scrollViewAnimatedRef:a,scrollPosition:o,interpolate:s,initialKeyboardSize:l,keyboardHeight:c},u.__workletHash=2778355421634,u.__initData=e,u}({_worklet_2778355421634_init_data:ce,mode:m,keyboardWillAppear:I,ghostViewSpace:V,scrollTo:o.scrollTo,scrollViewAnimatedRef:b,scrollPosition:S,interpolate:o.interpolate,initialKeyboardSize:O,keyboardHeight:T}),[m]),X=(0,i.useCallback)(function({_worklet_3114221308902_init_data:e,scrollPosition:t,maybeScroll:n,keyboardHeight:r}){const i=function(e){const i=t.value;t.value=e,n(r.value,!0),t.value=i};return i.__closure={scrollPosition:t,maybeScroll:n,keyboardHeight:r},i.__workletHash=3114221308902,i.__initData=e,i}({_worklet_3114221308902_init_data:ue,scrollPosition:S,maybeScroll:Y,keyboardHeight:T}),[S,T,Y]),G=(0,i.useCallback)(function({_worklet_7064328452871_init_data:e,interpolate:t,keyboardHeight:n,extraKeyboardSpace:r,currentKeyboardFrameHeight:i}){const a=function(e){const a=t(e.height,[0,n.value],[0,n.value+r]);i.value=a};return a.__closure={interpolate:t,keyboardHeight:n,extraKeyboardSpace:r,currentKeyboardFrameHeight:i},a.__workletHash=7064328452871,a.__initData=e,a}({_worklet_7064328452871_init_data:de,interpolate:o.interpolate,keyboardHeight:T,extraKeyboardSpace:h,currentKeyboardFrameHeight:A}),[h]),q=(0,i.useCallback)(function({_worklet_13750134115112_init_data:e,lastSelection:t,input:n,layout:r,clamp:i}){const a=function(){var e,a;const o=null===(e=t.value)||void 0===e?void 0:e.selection.end.y;return!(null===(a=n.value)||void 0===a||!a.layout||!o)&&(r.value=Object.assign({},n.value,{layout:Object.assign({},n.value.layout,{height:i(o,0,n.value.layout.height)})}),!0)};return a.__closure={lastSelection:t,input:n,layout:r,clamp:i},a.__workletHash=0xc8173dc0b28,a.__initData=e,a}({_worklet_13750134115112_init_data:pe,lastSelection:M,input:N,layout:F,clamp:o.clamp}),[N,M,F]),J=(0,i.useCallback)(function({_worklet_5814763683317_init_data:e,layout:t,updateLayoutFromSelection:n,performScrollWithPositionRestoration:r,position:i}){const a=function(){const e=t.value;n()&&(r(i.value),t.value=e)};return a.__closure={layout:t,updateLayoutFromSelection:n,performScrollWithPositionRestoration:r,position:i},a.__workletHash=5814763683317,a.__initData=e,a}({_worklet_5814763683317_init_data:fe,layout:F,updateLayoutFromSelection:q,performScrollWithPositionRestoration:X,position:x}),[X]),xe=(0,i.useCallback)(function({_worklet_17171196850779_init_data:e,scrollFromCurrentPosition:t}){const n=function(){t()};return n.__closure={scrollFromCurrentPosition:t},n.__workletHash=0xf9dfb16b25b,n.__initData=e,n}({_worklet_17171196850779_init_data:he,scrollFromCurrentPosition:J}),[J]),Ce=(0,i.useMemo)(()=>ie(xe,200),[xe]),Ee=(0,i.useCallback)(function({_worklet_13776094723842_init_data:e,lastSelection:t,selectionUpdatedSinceHide:n,pendingSelectionForFocus:r,updateLayoutFromSelection:i,keyboardWillAppear:a,keyboardHeight:o,position:s,maybeScroll:l,scrollFromCurrentPosition:c,onChangeTextHandler:u}){const d=function(e){var d,p;const f=null===(d=t.value)||void 0===d?void 0:d.target,h=null===(p=t.value)||void 0===p?void 0:p.selection;if(t.value=e,n.value=!0,e.target===f&&!r.value)return e.selection.end.position===e.selection.start.position&&(null===h||void 0===h?void 0:h.end.y)!==e.selection.end.y||e.selection.start.position!==e.selection.end.position?c():void u();r.value&&(r.value=!1,i(),!a.value&&o.value>0&&(s.value+=l(o.value,!0)))};return d.__closure={lastSelection:t,selectionUpdatedSinceHide:n,pendingSelectionForFocus:r,updateLayoutFromSelection:i,keyboardWillAppear:a,keyboardHeight:o,position:s,maybeScroll:l,scrollFromCurrentPosition:c,onChangeTextHandler:u},d.__workletHash=0xc877f3b7f02,d.__initData=e,d}({_worklet_13776094723842_init_data:me,lastSelection:M,selectionUpdatedSinceHide:B,pendingSelectionForFocus:P,updateLayoutFromSelection:q,keyboardWillAppear:I,keyboardHeight:T,position:x,maybeScroll:Y,scrollFromCurrentPosition:J,onChangeTextHandler:Ce}),[J,Ce,q,Y]);(0,l.useFocusedInputHandler)({onSelectionChange:Ee},[Ee]),((e,t)=>{const n=(0,o.useSharedValue)(-1),r=(0,o.useSharedValue)(0),i=(0,o.useSharedValue)(0),a=(0,o.useSharedValue)(0);(0,o.useAnimatedReaction)(function({_worklet_11956911462822_init_data:e,IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS:t,persistedHeight:n,TELEGRAM_ANDROID_TIMING_CONFIG:r,target:i,animatedKeyboardHeight:a}){const o=function(){if(!t&&0!==n.value)return{duration:r.duration,target:i.value,height:a.value,progress:a.value/n.value}};return o.__closure={IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS:t,persistedHeight:n,TELEGRAM_ANDROID_TIMING_CONFIG:r,target:i,animatedKeyboardHeight:a},o.__workletHash=0xadfef75d9a6,o.__initData=e,o}({_worklet_11956911462822_init_data:Q,IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS:K,persistedHeight:i,TELEGRAM_ANDROID_TIMING_CONFIG:Z,target:n,animatedKeyboardHeight:a}),function({_worklet_4117286074511_init_data:e,handler:t,height:n,persistedHeight:r}){const i=function(e){var i,a;e&&(null===(i=t.onMove)||void 0===i||i.call(t,e),e.height===n.value&&(null===(a=t.onEnd)||void 0===a||a.call(t,e),r.value=n.value))};return i.__closure={handler:t,height:n,persistedHeight:r}
2,i.__workletHash=4117286074511,i.__initData=e,i}({_worklet_4117286074511_init_data:ee,handler:e,height:r,persistedHeight:i}),t?[...t]:t),(0,l.useKeyboardHandler)({onStart:function({_worklet_5548570792441_init_data:e,IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS:t,persistedHeight:n,handler:r,target:i,height:a,animatedKeyboardHeight:o,withTiming:s,TELEGRAM_ANDROID_TIMING_CONFIG:l}){const c=function(e){var c,u,d;if(!t&&e.height===n.value)return null===(u=r.onStart)||void 0===u||u.call(r,e),void(null===(d=r.onEnd)||void 0===d||d.call(r,e));i.value=e.target,a.value=e.height,e.height>0&&(n.value=e.height),t||(o.value=s(e.height,l)),null===(c=r.onStart)||void 0===c||c.call(r,Object.assign({},e,{duration:t?e.duration:l.duration}))};return c.__closure={IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS:t,persistedHeight:n,handler:r,target:i,height:a,animatedKeyboardHeight:o,withTiming:s,TELEGRAM_ANDROID_TIMING_CONFIG:l},c.__workletHash=5548570792441,c.__initData=e,c}({_worklet_5548570792441_init_data:te,IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS:K,persistedHeight:i,handler:e,target:n,height:r,animatedKeyboardHeight:a,withTiming:o.withTiming,TELEGRAM_ANDROID_TIMING_CONFIG:Z}),onMove:function({_worklet_5834669062221_init_data:e,IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS:t,handler:n}){const r=function(e){var r;t&&(null===(r=n.onMove)||void 0===r||r.call(n,e))};return r.__closure={IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS:t,handler:n},r.__workletHash=5834669062221,r.__initData=e,r}({_worklet_5834669062221_init_data:ne,IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS:K,handler:e}),onEnd:function({_worklet_14161475211762_init_data:e,IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS:t,handler:n}){const r=function(e){var r;t&&(null===(r=n.onEnd)||void 0===r||r.call(n,e))};return r.__closure={IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS:t,handler:n},r.__workletHash=0xce139b311f2,r.__initData=e,r}({_worklet_14161475211762_init_data:re,IS_ANDROID_ELEVEN_OR_HIGHER_OR_IOS:K,handler:e})},t)})({onStart:function({_worklet_3553595303746_init_data:e,keyboardHeight:t,keyboardWillAppear:n,tag:r,initialKeyboardSize:i,scrollPosition:a,scrollBeforeKeyboardMovement:o,pendingSelectionForFocus:s,position:l,mode:c,syncKeyboardFrame:u,lastSelection:d,selectionUpdatedSinceHide:p,updateLayoutFromSelection:f,input:h,layout:m,maybeScroll:g,ghostViewSpace:y,scrollViewLayout:v,scrollViewContentSize:b}){const _=function(e){const _=t.value!==e.height&&e.height>0;n.value=e.height>0&&0===t.value;const w=0===e.height,k=r.value!==e.target&&-1!==e.target||_;if(_&&(i.value=t.value),w&&(i.value=0,a.value=o.value,s.value=!1),(n.value||_||k)&&(a.value=l.value,t.value=e.height,"insets"===c&&u(e)),k){var S,x;if(r.value=e.target,(null===(S=d.value)||void 0===S?void 0:S.target)===e.target&&p.value)f(),s.value=!1;else(null===(x=d.value)||void 0===x?void 0:x.target)===e.target?f():h.value&&(m.value=h.value),s.value=!0;o.value=l.value}k&&!n.value&&(s.value||(l.value+=g(e.height,!0))),"insets"===c&&(y.value=l.value+v.value.height-b.value.height,y.value>0&&(a.value=l.value))};return _.__closure={keyboardHeight:t,keyboardWillAppear:n,tag:r,initialKeyboardSize:i,scrollPosition:a,scrollBeforeKeyboardMovement:o,pendingSelectionForFocus:s,position:l,mode:c,syncKeyboardFrame:u,lastSelection:d,selectionUpdatedSinceHide:p,updateLayoutFromSelection:f,input:h,layout:m,maybeScroll:g,ghostViewSpace:y,scrollViewLayout:v,scrollViewContentSize:b},_.__workletHash=3553595303746,_.__initData=e,_}({_worklet_3553595303746_init_data:ge,keyboardHeight:T,keyboardWillAppear:I,tag:R,initialKeyboardSize:O,scrollPosition:S,scrollBeforeKeyboardMovement:D,pendingSelectionForFocus:P,position:x,mode:m,syncKeyboardFrame:G,lastSelection:M,selectionUpdatedSinceHide:B,updateLayoutFromSelection:q,input:N,layout:F,maybeScroll:Y,ghostViewSpace:V,scrollViewLayout:C,scrollViewContentSize:E}),onMove:function({_worklet_15351057428992_init_data:e,removeGhostPadding:t,mode:n,syncKeyboardFrame:r,disableScrollOnKeyboardHide:i,keyboardWillAppear:a,maybeScroll:o}){const s=function(e){t(e.height)||("layout"===n&&r(e),i&&!a.value||o(e.height))};return s.__closure={removeGhostPadding:t,mode:n,syncKeyboardFrame:r,disableScrollOnKeyboardHide:i,keyboardWillAppear:a,maybeScroll:o},s.__workletHash=0xdf632533200,s.__initData=e,s}({_worklet_15351057428992_init_data:ye,removeGhostPadding:U,mode:m,syncKeyboardFrame:G,disableScrollOnKeyboardHide:p,keyboardWillAppear:I,maybeScroll:Y}),onEnd:function({_worklet_17078765930588_init_data:e,removeGhostPadding:t,keyboardHeight:n,scrollPosition:r,position:i,selectionUpdatedSinceHide:a,keyboardWillAppear:o,pendingSelectionForFocus:s,syncKeyboardFrame:l}){const c=function(e){t(e.height),n.value=e.height,r.value=i.value,0===e.height?a.value=!1:o.value&&(s.value=!1),l(e)};return c.__closure={removeGhostPadding:t,keyboardHeight:n,scrollPosition:r,position:i,selectionUpdatedSinceHide:a,keyboardWillAppear:o,pendingSelectionForFocus:s,syncKeyboardFrame:l},c.__workletHash=0xf8875c6c85c,c.__initData=e,c}({_worklet_17078765930588_init_data:ve,removeGhostPadding:U,keyboardHeight:T,scrollPosition:S,position:x,selectionUpdatedSinceHide:B,keyboardWillAppear:I,pendingSelectionForFocus:P,syncKeyboardFrame:G})},[m,Y,U,p,G]);const Ae=(0,i.useCallback)(async()=>{await j(),(0,o.runOnUI)(function({_worklet_15799572252239_init_data:e,scrollFromCurrentPosition:t}){const n=function(){t()};return n.__closure={scrollFromCurrentPosition:t},n.__workletHash=0xe5e9fe4464f,n.__initData=e,n}({_worklet_15799572252239_init_data:be,scrollFromCurrentPosition:J}))()},[j,J]);(0,i.useImperativeHandle)(t,()=>{const e=_.current;if(e){const t=e;return t.assureFocusedInputVisible=()=>{Ae()},t}return{assureFocusedInputVisible:()=>{Ae()}}},[Ae]),(0,i.useEffect)(()=>{Ae()},[d]),(0,o.useAnimatedReaction)(function({_worklet_4412677667456_init_data:e,input:t}){const n=function(){return t.value};return n.__closure={input:t},n.__workletHash=4412677667456,n.__initData=e,n}
2({_worklet_4412677667456_init_data:_e,input:N}),function({_worklet_13861596646665_init_data:e,scrollFromCurrentPosition:t}){const n=function(e,n){(null===e||void 0===e?void 0:e.target)===(null===n||void 0===n?void 0:n.target)&&(null===e||void 0===e?void 0:e.layout.height)!==(null===n||void 0===n?void 0:n.layout.height)&&t()};return n.__closure={scrollFromCurrentPosition:t},n.__workletHash=0xc9b678b4d09,n.__initData=e,n}({_worklet_13861596646665_init_data:we,scrollFromCurrentPosition:J}),[]);const Te=(0,o.useDerivedValue)(function({_worklet_6272569998207_init_data:e,enabled:t,currentKeyboardFrameHeight:n}){const r=function(){return t?n.value:0};return r.__closure={enabled:t,currentKeyboardFrameHeight:n},r.__workletHash=6272569998207,r.__initData=e,r}({_worklet_6272569998207_init_data:ke,enabled:f,currentKeyboardFrameHeight:A}),[f]),Ie=(0,o.useAnimatedStyle)(function({_worklet_1924559610553_init_data:e,enabled:t,mode:n,currentKeyboardFrameHeight:r}){const i=function(){return t&&"layout"===n?{paddingBottom:r.value+1}:{}};return i.__closure={enabled:t,mode:n,currentKeyboardFrameHeight:r},i.__workletHash=1924559610553,i.__initData=e,i}({_worklet_1924559610553_init_data:Se,enabled:f,mode:m,currentKeyboardFrameHeight:A}),[f,m]);return"layout"===m?i.createElement(g,se({ref:w},v,{scrollEventThrottle:16,onLayout:z}),n,f&&i.createElement(o.default.View,{style:Ie})):i.createElement($,se({ref:w},v,{bottomPadding:Te,scrollEventThrottle:16,ScrollViewComponent:g,onLayout:z}),n)}),Ce=xe;var Ee=n(15009);const Ae={width:13,height:2,borderRadius:1},Te={marginHorizontal:5,width:30,height:30,justifyContent:"center",alignItems:"center"},Ie=B.default.create({arrowUpContainer:Te,arrowDownContainer:Object.assign({},Te,{transform:[{rotate:"180deg"}]}),arrow:{width:20,height:20,flexDirection:"row",alignItems:"center",justifyContent:"space-between"},arrowLeftLine:Object.assign({},Ae,{transform:[{rotate:"-45deg"}],left:-.5}),arrowRightLine:Object.assign({},Ae,{transform:[{rotate:"45deg"}],left:-5.5})}),Re=({type:e,disabled:t,theme:n})=>{const r=(0,l.useKeyboardState)(e=>e.appearance),o=(0,i.useMemo)(()=>({backgroundColor:t?n[r].disabled:n[r].primary}),[t,n,r]),s=(0,i.useMemo)(()=>[Ie.arrowLeftLine,o],[o]),c=(0,i.useMemo)(()=>[Ie.arrowRightLine,o],[o]);return i.createElement(a.default,{style:"next"===e?Ie.arrowDownContainer:Ie.arrowUpContainer},i.createElement(a.default,{style:Ie.arrow},i.createElement(Ee.default.View,{style:s}),i.createElement(Ee.default.View,{style:c})))};var Oe=n(15648);const De=({children:e,onPress:t,disabled:n,accessibilityLabel:r,accessibilityHint:o,testID:s,style:l})=>{const c=n?a.default:Oe.default,u=(0,i.useMemo)(()=>({disabled:n}),[n]);return i.createElement(c,{accessibilityHint:o,accessibilityLabel:r,accessibilityRole:"button",accessibilityState:u,style:l,testID:s,onPress:t},e)},Ne={light:{primary:"#2c2c2c",disabled:"#B0BEC5",background:"#f3f3f4",ripple:"#bcbcbcbc"},dark:{primary:"#fafafa",disabled:"#707070",background:"#2C2C2E",ripple:"#F8F8F888"}},je=({children:e})=>i.createElement(i.Fragment,null,e);var Fe=n(65012);const Me="keyboard.toolbar",Ve=`${Me}.previous`,Pe=`${Me}.next`,Le=`${Me}.content`,Be=`${Me}.done`,He="FF",We=Fe.KEYBOARD_BORDER_RADIUS>0,ze=We?-11:0,Ye=B.default.create({flex:{flex:1}}),Ue=({children:e})=>i.createElement(a.default,{style:Ye.flex,testID:Le},e);var Xe=n(6283),Ge=n(67269);const qe=(0,i.createContext)(void 0),Je=()=>{const e=(0,i.useContext)(qe);if(!e)throw new Error("KeyboardToolbar.* component must be used inside <KeyboardToolbar>");return e},$e=B.default.create({doneButton:{fontWeight:"600",fontSize:15},doneButtonContainer:{marginRight:16,marginLeft:8}}),Ke=({children:e,onPress:t,rippleRadius:n=28,text:r,button:a=De})=>{const o=(0,l.useKeyboardState)(e=>e.appearance),s=Je(),{theme:c}=s,u=(0,i.useMemo)(()=>[$e.doneButton,{color:c[o].primary}],[o,c]),d=(0,i.useCallback)(e=>{null===t||void 0===t||t(e),e.isDefaultPrevented()||Ge.KeyboardController.dismiss()},[t]);return i.createElement(a,{accessibilityHint:"Closes the keyboard",accessibilityLabel:"Done",rippleRadius:n,style:$e.doneButtonContainer,testID:Be,theme:c,onPress:d},i.createElement(Xe.default,{maxFontSizeMultiplier:1.3,style:u},e??r??"Done"))}
2,Ze=({children:e,onPress:t,disabled:n,rippleRadius:r,style:a,button:o=De,icon:s=Re})=>{const l=Je(),{theme:c,isNextDisabled:u}=l,d=n??u,p=(0,i.useCallback)(e=>{null===t||void 0===t||t(e),e.isDefaultPrevented()||Ge.KeyboardController.setFocusTo("next")},[t]);return i.createElement(o,{accessibilityHint:"Moves focus to the next field",accessibilityLabel:"Next",disabled:d,rippleRadius:r,style:a,testID:Pe,theme:c,onPress:p},e??i.createElement(s,{disabled:d,theme:c,type:"next"}))},Qe=({children:e,onPress:t,disabled:n,rippleRadius:r,style:a,button:o=De,icon:s=Re})=>{const l=Je(),{theme:c,isPrevDisabled:u}=l,d=n??u,p=(0,i.useCallback)(e=>{null===t||void 0===t||t(e),e.isDefaultPrevented()||Ge.KeyboardController.setFocusTo("prev")},[t]);return i.createElement(o,{accessibilityHint:"Moves focus to the previous field",accessibilityLabel:"Previous",disabled:d,rippleRadius:r,style:a,testID:Ve,theme:c,onPress:p},e??i.createElement(s,{disabled:d,theme:c,type:"prev"}))},et=["children","content","theme","doneText","button","icon","showArrows","onNextCallback","onPrevCallback","onDoneCallback","blur","opacity","offset","enabled","insets"];function tt(){return tt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tt.apply(null,arguments)}const nt=e=>{const{children:t,content:n,theme:o=Ne,doneText:c="Done",button:u,icon:d,showArrows:p=!0,onNextCallback:f,onPrevCallback:h,onDoneCallback:m,blur:g=null,opacity:y=He,offset:{closed:v=0,opened:b=0}={},enabled:_=!0,insets:w}=e,k=(0,r.default)(e,et),S=(0,l.useKeyboardState)(e=>e.appearance),[x,C]=(0,i.useState)({current:0,count:0}),E=0===x.current,A=x.current===x.count-1,T=u??De,I=d??Re;(0,i.useEffect)(()=>s.FocusedInputEvents.addListener("focusDidSet",e=>{C(e)}).remove,[]);const R=(0,i.useMemo)(()=>[rt.toolbar,{backgroundColor:`${o[S].background}${y}`},We?null:{paddingLeft:null===w||void 0===w?void 0:w.left,paddingRight:null===w||void 0===w?void 0:w.right},We?rt.floating:null],[S,y,o,w]),O=(0,i.useMemo)(()=>[rt.sticky,We?{left:((null===w||void 0===w?void 0:w.left)??0)+16,right:((null===w||void 0===w?void 0:w.right)??0)+16}:null],[w]),D=(0,i.useMemo)(()=>({closed:v+42,opened:b+ze}),[v,b]);let N=null,j=null,M=null,V=null;if(t){let e=null,n=null,r=null,o=null,s=null;i.Children.forEach(t,t=>{if(!i.isValidElement(t))return;const a=t.type;a===je?s=t:a===Ue?r=t:a===Qe?e=t:a===Ze?n=t:a===Ke&&(o=t)}),N=s,V=o,j=e||n?i.createElement(a.default,{style:rt.arrows},e,n):null,M=r??i.createElement(Ue,null,r)}else N=g,j=p?i.createElement(a.default,{style:rt.arrows},i.createElement(Qe,{button:T,icon:I,onPress:h}),i.createElement(Ze,{button:T,icon:I,onPress:f})):null,M=i.createElement(Ue,null,n),V=c?i.createElement(Ke,{button:T,text:c,onPress:m}):null;const P=(0,i.useMemo)(()=>({theme:o,isPrevDisabled:E,isNextDisabled:A}),[o,E,A]);return i.createElement(qe.Provider,{value:P},i.createElement(F,{enabled:_,offset:D,style:O},i.createElement(a.default,tt({},k,{style:R,testID:Me}),N,j,M,V)))},rt=B.default.create({sticky:{position:"absolute",left:0,right:0,bottom:0,height:42},toolbar:{position:"absolute",bottom:0,alignItems:"center",width:"100%",flexDirection:"row",height:42},arrows:{flexDirection:"row",paddingLeft:8},floating:{alignSelf:"center",borderRadius:20,overflow:"hidden"}});nt.Background=je,nt.Content=Ue,nt.Prev=Qe,nt.Next=Ze,nt.Done=Ke,nt.Group=s.RCTKeyboardToolbarGroupView;const it=nt,at=function({_worklet_13847448129293_init_data:e,interpolate:t}){const n=function(e,n,r){return 0===r||0===n?e:t(e,[0,n],[0,Math.max(n-r,0)])};return n.__closure={interpolate:t},n.__workletHash=0xc981c3a0f0d,n.__initData=e,n}({_worklet_13847448129293_init_data:{code:"(function reactNativeKeyboardController_helpersJs1(height,targetKeyboardHeight,offset){const{interpolate}=this.__closure;if(offset===0||targetKeyboardHeight===0){return height;}return interpolate(height,[0,targetKeyboardHeight],[0,Math.max(targetKeyboardHeight-offset,0)]);})"},interpolate:o.interpolate}),ot=function({_worklet_1113337062818_init_data:e,AT_END_THRESHOLD:t}){const n=function(e,n,r,i=!1){return i?e<=t:e+n>=r-t};return n.__closure={AT_END_THRESHOLD:t},n.__workletHash=1113337062818,n.__initData=e,n}({_worklet_1113337062818_init_data:{code:"(function reactNativeKeyboardController_helpersJs2(scrollOffset,layoutHeight,contentHeight,inverted=false){const{AT_END_THRESHOLD}=this.__closure;if(inverted){return scrollOffset<=AT_END_THRESHOLD;}return scrollOffset+layoutHeight>=contentHeight-AT_END_THRESHOLD;})"},AT_END_THRESHOLD:20}),st=function({_worklet_813991992710_init_data:e}){const t=function(e,t){switch(e){case"always":case"persistent":return!0;case"never":return!1;case"whenAtEnd":return t}};return t.__closure={},t.__workletHash=813991992710,t.__initData=e,t}({_worklet_813991992710_init_data:{code:'(function reactNativeKeyboardController_helpersJs3(behavior,isAtEnd){switch(behavior){case"always":return true;case"never":return false;case"whenAtEnd":return isAtEnd;case"persistent":return true;}}
2)'}}),lt=function({_worklet_6093668486157_init_data:e}){const t=function(e,t,n,r,i){if(r<=0)return 0;if(i)return Math.max(0,Math.min(1,-e/r));const a=e+t-n;return Math.max(0,Math.min(1,a/r))};return t.__closure={},t.__workletHash=6093668486157,t.__initData=e,t}({_worklet_6093668486157_init_data:{code:"(function reactNativeKeyboardController_helpersJs4(scrollOffset,layoutHeight,contentHeight,blankSpace,inverted){if(blankSpace<=0){return 0;}if(inverted){return Math.max(0,Math.min(1,-scrollOffset/blankSpace));}const pastContentEnd=scrollOffset+layoutHeight-contentHeight;return Math.max(0,Math.min(1,pastContentEnd/blankSpace));})"}}),ct=function({_worklet_5062482827219_init_data:e}){const t=function(e,t){return Math.max(0,e-t)};return t.__closure={},t.__workletHash=5062482827219,t.__initData=e,t}({_worklet_5062482827219_init_data:{code:"(function reactNativeKeyboardController_helpersJs5(blankSpace,extraContentPadding){return Math.max(0,blankSpace-extraContentPadding);})"}}),ut=function({_worklet_15899824959504_init_data:e}){const t=function(e,t){return Math.max(0,e-t)};return t.__closure={},t.__workletHash=0xe75f76b3010,t.__initData=e,t}({_worklet_15899824959504_init_data:{code:"(function reactNativeKeyboardController_helpersJs6(rawEffective,minimumPaddingAbsorbed){return Math.max(0,rawEffective-minimumPaddingAbsorbed);})"}}),dt=function({_worklet_3435965783438_init_data:e}){const t=function(e,t,n,r,i){const a=void 0!==i?i:t,o=Math.max(n-r+a,0);return Math.min(Math.max(e+t,0),o)};return t.__closure={},t.__workletHash=3435965783438,t.__initData=e,t}({_worklet_3435965783438_init_data:{code:"(function reactNativeKeyboardController_helpersJs7(offsetBeforeScroll,keyboardHeight,contentHeight,layoutHeight,totalPaddingForMaxScroll){const paddingForMax=totalPaddingForMaxScroll!==undefined?totalPaddingForMaxScroll:keyboardHeight;const maxScroll=Math.max(contentHeight-layoutHeight+paddingForMax,0);return Math.min(Math.max(offsetBeforeScroll+keyboardHeight,0),maxScroll);})"}}),pt=(function({_worklet_14622449910965_init_data:e}){const t=function(e,t,n,r,i,a){const o=void 0!==a?a:t;if(i){const i=Math.max(n-r,0);return Math.max(Math.min(e-t,i),-o)}const s=Math.max(n-r+o,0);return Math.min(Math.max(t+e,0),s)};t.__closure={},t.__workletHash=0xd4c8deec4b5,t.__initData=e}({_worklet_14622449910965_init_data:{code:"(function reactNativeKeyboardController_helpersJs8(relativeScroll,keyboardHeight,contentHeight,layoutHeight,inverted,totalPaddingForMaxScroll){const paddingForMax=totalPaddingForMaxScroll!==undefined?totalPaddingForMaxScroll:keyboardHeight;if(inverted){const maxScroll=Math.max(contentHeight-layoutHeight,0);return Math.max(Math.min(relativeScroll-keyboardHeight,maxScroll),-paddingForMax);}const maxScroll=Math.max(contentHeight-layoutHeight+paddingForMax,0);return Math.min(Math.max(keyboardHeight+relativeScroll,0),maxScroll);})"}}),{code:"(function reactNativeKeyboardController_indexJs1(effective,totalPaddingForMaxScroll){const{size,layout,scroll,scrollTo,scrollViewRef}=this.__closure;const paddingForMax=totalPaddingForMaxScroll!==undefined?totalPaddingForMaxScroll:effective;const maxScroll=Math.max(size.value.height-layout.value.height+paddingForMax,0);if(scroll.value>maxScroll){scrollTo(scrollViewRef,0,maxScroll,false);}})"}),ft={code:'(function reactNativeKeyboardController_indexJs2(e){const{freeze,targetKeyboardHeight,closing,getEffectiveHeight,offset,isScrollAtEnd,scroll,layout,size,inverted,getVisibleMinimumPaddingFraction,blankSpace,getMinimumPaddingAbsorbed,extraContentPadding,getScrollEffective,minimumPaddingFractionOnOpen,padding,offsetBeforeScroll,keyboardLiftBehavior,actualOpenShift}=this.__closure;if(freeze.value){return;}if(e.height>0){targetKeyboardHeight.value=e.height;closing.value=false;}else{closing.value=true;}const effective=getEffectiveHeight(e.height,targetKeyboardHeight.value,offset);const atEnd=isScrollAtEnd(scroll.value,layout.value.height,size.value.height,inverted);const visibleFraction=getVisibleMinimumPaddingFraction(scroll.value,layout.value.height,size.value.height,blankSpace.value,inverted);const minimumPaddingAbsorbed=visibleFraction>=1?getMinimumPaddingAbsorbed(blankSpace.value,extraContentPadding.value):0;const scrollEffective=getScrollEffective(effective,minimumPaddingAbsorbed);if(inverted&&e.duration===-1){return;}else if(e.height>0){minimumPaddingFractionOnOpen.value=visibleFraction>=1?1:0;padding.value=effective;offsetBeforeScroll.value=scroll.value;if(!inverted&&keyboardLiftBehavior==="whenAtEnd"&&!atEnd){offsetBeforeScroll.value=-1;}else if(!inverted&&scrollEffective===0){offsetBeforeScroll.value=-1;}else if(inverted&&scrollEffective===0){offsetBeforeScroll.value=scroll.value;}}else{if(inverted){offsetBeforeScroll.value=scroll.value;}else{if(offsetBeforeScroll.value!==-1){offsetBeforeScroll.value=scroll.value-actualOpenShift.value;}}}})'},ht={code:'(function reactNativeKeyboardController_indexJs3(e){const{freeze,currentHeight,inverted,getEffectiveHeight,targetKeyboardHeight,offset,getMinimumPaddingAbsorbed,blankSpace,extraContentPadding,minimumPaddingFractionOnOpen,getScrollEffective,isScrollAtEnd,offsetBeforeScroll,layout,size,keyboardLiftBehavior,padding,scrollTo,scrollViewRef,shouldShiftContent,closing,clampScrollIfNeeded,scroll,clampedScrollTarget,actualOpenShift}=this.__closure;if(freeze.value){return;}currentHeight.value=e.height;if(inverted){if(e.duration===-1){return;}const effective=getEffectiveHeight(e.height,targetKeyboardHeight.value,offset);const minimumPaddingAbsorbed=getMinimumPaddingAbsorbed(blankSpace.value,extraContentPadding.value)*minimumPaddingFractionOnOpen.value;const scrollEffective=getScrollEffective(effective,minimumPaddingAbsorbed);const actualTotalPadding=Math.max(blankSpace.value,effective+extraContentPadding.value);const wasAtEnd=isScrollAtEnd(offsetBeforeScroll.value,layout.value.height,size.value.height,inverted);
2if(keyboardLiftBehavior==="never"&&wasAtEnd&&effective<padding.value){padding.value=effective;if(scrollEffective===0&&minimumPaddingAbsorbed>0){return;}scrollTo(scrollViewRef,0,0,false);return;}if(!shouldShiftContent(keyboardLiftBehavior,wasAtEnd)){if(closing.value&&effective<padding.value){padding.value=effective;clampScrollIfNeeded(effective,actualTotalPadding);}return;}if(scrollEffective===0&&minimumPaddingAbsorbed>0){return;}if(keyboardLiftBehavior==="persistent"){const currentShift=offsetBeforeScroll.value+padding.value-scroll.value;if(effective<currentShift){if(wasAtEnd){padding.value=effective;scrollTo(scrollViewRef,0,0,false);}else if(closing.value){padding.value=effective;clampScrollIfNeeded(effective,actualTotalPadding);}return;}}const target=offsetBeforeScroll.value+padding.value-scrollEffective;scrollTo(scrollViewRef,0,target,false);}else{const effective=getEffectiveHeight(e.height,targetKeyboardHeight.value,offset);const minimumPaddingAbsorbed=getMinimumPaddingAbsorbed(blankSpace.value,extraContentPadding.value)*minimumPaddingFractionOnOpen.value;const scrollEffective=getScrollEffective(effective,minimumPaddingAbsorbed);const actualTotalPadding=Math.max(blankSpace.value,effective+extraContentPadding.value);if(keyboardLiftBehavior==="never"&&closing.value&&effective<padding.value){clampScrollIfNeeded(effective,actualTotalPadding);return;}if(!shouldShiftContent(keyboardLiftBehavior,true)){return;}if(offsetBeforeScroll.value===-1){if(closing.value){clampScrollIfNeeded(effective,actualTotalPadding);}return;}if(keyboardLiftBehavior==="persistent"&&closing.value){const keepAt=offsetBeforeScroll.value+padding.value;const maxScroll=Math.max(size.value.height-layout.value.height+actualTotalPadding,0);scrollTo(scrollViewRef,0,Math.min(keepAt,maxScroll),false);return;}const target=clampedScrollTarget(offsetBeforeScroll.value,scrollEffective,size.value.height,layout.value.height,actualTotalPadding);scrollTo(scrollViewRef,0,target,false);if(!closing.value){actualOpenShift.value=target-offsetBeforeScroll.value;}}})'},mt={code:"(function reactNativeKeyboardController_indexJs4(e){const{freeze,getEffectiveHeight,targetKeyboardHeight,offset,padding,offsetBeforeScroll,actualOpenShift,scroll}=this.__closure;if(freeze.value){return;}const effective=getEffectiveHeight(e.height,targetKeyboardHeight.value,offset);padding.value=effective;if(effective>0&&offsetBeforeScroll.value!==-1){actualOpenShift.value=scroll.value-offsetBeforeScroll.value;}})"};const gt={code:"(function reactNativeKeyboardController_useEndVisibleJs1(){const{layout,size,isScrollAtEnd,scroll,inverted}=this.__closure;if(layout.value.height===0||size.value.height===0){return null;}return isScrollAtEnd(scroll.value,layout.value.height,size.value.height,inverted);})"},yt={code:"(function reactNativeKeyboardController_useEndVisibleJs2(){const{isAtEnd}=this.__closure;return isAtEnd.value;})"},vt={code:"(function reactNativeKeyboardController_useEndVisibleJs3(current,previous){const{onEndVisible,isWorklet,runOnJS}=this.__closure;if(current===null||current===previous||!onEndVisible){return;}if(isWorklet){onEndVisible(current);}else{runOnJS(onEndVisible)(current);}})"};var bt=n(95991);const _t="nativeFabricUIManager"in n.g,wt={code:'(function reactNativeKeyboardController_indexJs1(target){const{contentOffsetY,IS_FABRIC,Platform,scrollTo,scrollViewRef}=this.__closure;if(contentOffsetY&&IS_FABRIC){contentOffsetY.value=target;}else if(Platform.OS==="android"){requestAnimationFrame(function(){scrollTo(scrollViewRef,0,target,false);});}else{scrollTo(scrollViewRef,0,target,false);}})'},kt={code:"(function reactNativeKeyboardController_indexJs2(){const{extraContentPadding}=this.__closure;return extraContentPadding.value;})"},St={code:'(function reactNativeKeyboardController_indexJs3(current,previous){const{freeze,blankSpace,keyboardPadding,isScrollAtEnd,scroll,layout,size,inverted,keyboardLiftBehavior,shouldShiftContent,scrollToTarget}=this.__closure;if(freeze.value||previous===null){return;}const rawDelta=current-previous;if(rawDelta===0){return;}const previousTotal=Math.max(blankSpace.value,keyboardPadding.value+previous);const currentTotal=Math.max(blankSpace.value,keyboardPadding.value+current);const effectiveDelta=currentTotal-previousTotal;if(effectiveDelta===0){return;}const atEnd=isScrollAtEnd(scroll.value,layout.value.height,size.value.height,inverted);if(keyboardLiftBehavior==="persistent"&&effectiveDelta<0&&!atEnd){return;}if(!shouldShiftContent(keyboardLiftBehavior,atEnd)){return;}if(inverted){const target=Math.max(scroll.value-effectiveDelta,-currentTotal);scrollToTarget(target);}else{const maxScroll=Math.max(size.value.height-layout.value.height+currentTotal,0);const target=Math.min(scroll.value+effectiveDelta,maxScroll);scrollToTarget(target);}})'};const xt=["children","ScrollViewComponent","inverted","keyboardLiftBehavior","freeze","offset","extraContentPadding","blankSpace","applyWorkaroundForContentInsetHitTestBug","onLayout","onContentSizeChange","onEndVisible"];function Ct(){return Ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ct.apply(null,arguments)}const Et=(0,o.makeMutable)(0),At=(0,o.makeMutable)(0),Tt={code:'(function reactNativeKeyboardController_indexJs1(){const{freeze}=this.__closure;return typeof freeze==="boolean"?freeze:freeze.value;})'},It={code:"(function reactNativeKeyboardController_indexJs2(){const{blankSpace,padding,extraContentPadding}=this.__closure;return Math.max(blankSpace.value,padding.value+extraContentPadding.value);})"},Rt={code:"(function reactNativeKeyboardController_indexJs3(){const{padding,extraContentPadding}=this.__closure;return padding.value+extraContentPadding.value;})"},Ot={code:"(function reactNativeKeyboardController_indexJs4(){const{currentHeight}=this.__closure;return{transform:[{translateY:-currentHeight.value}]};})"},Dt=(0,i.forwardRef)((e,t)=>{let{children:n,ScrollViewComponent:a=o.default.ScrollView,inverted:s=!1,keyboardLiftBehavior:c="always",freeze:d=!1,offset:p=0,extraContentPadding:f=Et,blankSpace:h=At,applyWorkaroundForContentInsetHitTestBug:m=!1,onLayout:g,onContentSizeChange:y,onEndVisible:v}=e,b=(0,r.default)(e,xt);const _=(0,o.useAnimatedRef)(),w=u(t,_),k=(0,o.useDerivedValue)(function({_worklet_7072486899038_init_data:e,freeze:t}){const n=function(){return"boolean"===typeof t?t:t.value};return n.__closure={freeze:t},n.__workletHash=7072486899038,n.__initData=e,n}({_worklet_7072486899038_init_data:Tt,freeze:d})),{padding:S,currentHeight:x,contentOffsetY:C,scroll:E,layout:A,size:T,onLayout:I,onContentSizeChange:R}=function(e,t){const{inverted:n,keyboardLiftBehavior:r,freeze:i,offset:a,blankSpace:s,extraContentPadding:c}=t,u=(0,o.useSharedValue)(0),d=(0,o.useSharedValue)(0),p=(0,o.useSharedValue)(0),f=(0,o.useSharedValue)(0),h=(0,o.useSharedValue)(!1),m=(0,o.useSharedValue)(0),g=(0,o.useSharedValue)(0),{layout:y,size:v,offset:b,onLayout:_,onContentSizeChange:w}=L(e),k=function({_worklet_14304354500356_init_data:e,size:t,layout:n,scroll:r,scrollTo:i,scrollViewRef:a}){const o=function(e,o){const s=void 0!==o?o:e,l=Math.max(t.value.height-n.value.height+s,0);r.value>l&&i(a,0,l,!1)};return o.__closure={size:t,layout:n,scroll:r,scrollTo:i,scrollViewRef:a},o.__workletHash=0xd027df7ff04,o.__initData=e,o}({_worklet_14304354500356_init_data:pt,size:v,layout:y,scroll:b,scrollTo:o.scrollTo,scrollViewRef:e});return(0,l.useKeyboardHandler)({onStart:function({_worklet_5207959845474_init_data:e,freeze:t,targetKeyboardHeight:n,
2closing:r,getEffectiveHeight:i,offset:a,isScrollAtEnd:o,scroll:s,layout:l,size:c,inverted:u,getVisibleMinimumPaddingFraction:d,blankSpace:p,getMinimumPaddingAbsorbed:f,extraContentPadding:h,getScrollEffective:m,minimumPaddingFractionOnOpen:g,padding:y,offsetBeforeScroll:v,keyboardLiftBehavior:b,actualOpenShift:_}){const w=function(e){if(t.value)return;e.height>0?(n.value=e.height,r.value=!1):r.value=!0;const w=i(e.height,n.value,a),k=o(s.value,l.value.height,c.value.height,u),S=d(s.value,l.value.height,c.value.height,p.value,u),x=S>=1?f(p.value,h.value):0,C=m(w,x);u&&-1===e.duration||(e.height>0?(g.value=S>=1?1:0,y.value=w,v.value=s.value,!u&&"whenAtEnd"===b&&!k||!u&&0===C?v.value=-1:u&&0===C&&(v.value=s.value)):u?v.value=s.value:-1!==v.value&&(v.value=s.value-_.value))};return w.__closure={freeze:t,targetKeyboardHeight:n,closing:r,getEffectiveHeight:i,offset:a,isScrollAtEnd:o,scroll:s,layout:l,size:c,inverted:u,getVisibleMinimumPaddingFraction:d,blankSpace:p,getMinimumPaddingAbsorbed:f,extraContentPadding:h,getScrollEffective:m,minimumPaddingFractionOnOpen:g,padding:y,offsetBeforeScroll:v,keyboardLiftBehavior:b,actualOpenShift:_},w.__workletHash=5207959845474,w.__initData=e,w}({_worklet_5207959845474_init_data:ft,freeze:i,targetKeyboardHeight:f,closing:h,getEffectiveHeight:at,offset:a,isScrollAtEnd:ot,scroll:b,layout:y,size:v,inverted:n,getVisibleMinimumPaddingFraction:lt,blankSpace:s,getMinimumPaddingAbsorbed:ct,extraContentPadding:c,getScrollEffective:ut,minimumPaddingFractionOnOpen:m,padding:u,offsetBeforeScroll:p,keyboardLiftBehavior:r,actualOpenShift:g}),onMove:function({_worklet_5295011150886_init_data:e,freeze:t,currentHeight:n,inverted:r,getEffectiveHeight:i,targetKeyboardHeight:a,offset:o,getMinimumPaddingAbsorbed:s,blankSpace:l,extraContentPadding:c,minimumPaddingFractionOnOpen:u,getScrollEffective:d,isScrollAtEnd:p,offsetBeforeScroll:f,layout:h,size:m,keyboardLiftBehavior:g,padding:y,scrollTo:v,scrollViewRef:b,shouldShiftContent:_,closing:w,clampScrollIfNeeded:k,scroll:S,clampedScrollTarget:x,actualOpenShift:C}){const E=function(e){if(!t.value)if(n.value=e.height,r){if(-1===e.duration)return;const t=i(e.height,a.value,o),n=s(l.value,c.value)*u.value,x=d(t,n),C=Math.max(l.value,t+c.value),E=p(f.value,h.value.height,m.value.height,r);if("never"===g&&E&&t<y.value){if(y.value=t,0===x&&n>0)return;return void v(b,0,0,!1)}if(!_(g,E))return void(w.value&&t<y.value&&(y.value=t,k(t,C)));if(0===x&&n>0)return;if("persistent"===g&&t<f.value+y.value-S.value)return void(E?(y.value=t,v(b,0,0,!1)):w.value&&(y.value=t,k(t,C)));const A=f.value+y.value-x;v(b,0,A,!1)}else{const t=i(e.height,a.value,o),n=s(l.value,c.value)*u.value,r=d(t,n),p=Math.max(l.value,t+c.value);if("never"===g&&w.value&&t<y.value)return void k(t,p);if(!_(g,!0))return;if(-1===f.value)return void(w.value&&k(t,p));if("persistent"===g&&w.value){const e=f.value+y.value,t=Math.max(m.value.height-h.value.height+p,0);return void v(b,0,Math.min(e,t),!1)}const S=x(f.value,r,m.value.height,h.value.height,p);v(b,0,S,!1),w.value||(C.value=S-f.value)}};return E.__closure={freeze:t,currentHeight:n,inverted:r,getEffectiveHeight:i,targetKeyboardHeight:a,offset:o,getMinimumPaddingAbsorbed:s,blankSpace:l,extraContentPadding:c,minimumPaddingFractionOnOpen:u,getScrollEffective:d,isScrollAtEnd:p,offsetBeforeScroll:f,layout:h,size:m,keyboardLiftBehavior:g,padding:y,scrollTo:v,scrollViewRef:b,shouldShiftContent:_,closing:w,clampScrollIfNeeded:k,scroll:S,clampedScrollTarget:x,actualOpenShift:C},E.__workletHash=5295011150886,E.__initData=e,E}({_worklet_5295011150886_init_data:ht,freeze:i,currentHeight:d,inverted:n,getEffectiveHeight:at,targetKeyboardHeight:f,offset:a,getMinimumPaddingAbsorbed:ct,blankSpace:s,extraContentPadding:c,minimumPaddingFractionOnOpen:m,getScrollEffective:ut,isScrollAtEnd:ot,offsetBeforeScroll:p,layout:y,size:v,keyboardLiftBehavior:r,padding:u,scrollTo:o.scrollTo,scrollViewRef:e,shouldShiftContent:st,closing:h,clampScrollIfNeeded:k,scroll:b,clampedScrollTarget:dt,actualOpenShift:g}),onEnd:function({_worklet_6032579405027_init_data:e,freeze:t,getEffectiveHeight:n,targetKeyboardHeight:r,offset:i,padding:a,offsetBeforeScroll:o,actualOpenShift:s,scroll:l}){const c=function(e){if(t.value)return;
2const c=n(e.height,r.value,i);a.value=c,c>0&&-1!==o.value&&(s.value=l.value-o.value)};return c.__closure={freeze:t,getEffectiveHeight:n,targetKeyboardHeight:r,offset:i,padding:a,offsetBeforeScroll:o,actualOpenShift:s,scroll:l},c.__workletHash=6032579405027,c.__initData=e,c}({_worklet_6032579405027_init_data:mt,freeze:i,getEffectiveHeight:at,targetKeyboardHeight:f,offset:a,padding:u,offsetBeforeScroll:p,actualOpenShift:g,scroll:b})},[n,r,a]),{padding:u,currentHeight:d,contentOffsetY:void 0,scroll:b,layout:y,size:v,onLayout:_,onContentSizeChange:w}}(_,{inverted:s,keyboardLiftBehavior:c,freeze:k,offset:p,blankSpace:h,extraContentPadding:f});!function(e){const{scrollViewRef:t,extraContentPadding:n,keyboardPadding:r,blankSpace:a,scroll:s,layout:l,size:c,contentOffsetY:u,inverted:d,keyboardLiftBehavior:p,freeze:f}=e,h=(0,i.useCallback)(function({_worklet_7090330589801_init_data:e,contentOffsetY:t,IS_FABRIC:n,Platform:r,scrollTo:i,scrollViewRef:a}){const o=function(e){t&&n?t.value=e:i(a,0,e,!1)};return o.__closure={contentOffsetY:t,IS_FABRIC:n,Platform:r,scrollTo:i,scrollViewRef:a},o.__workletHash=7090330589801,o.__initData=e,o}({_worklet_7090330589801_init_data:wt,contentOffsetY:u,IS_FABRIC:_t,Platform:bt.default,scrollTo:o.scrollTo,scrollViewRef:t}),[t,u]);(0,o.useAnimatedReaction)(function({_worklet_7561155926064_init_data:e,extraContentPadding:t}){const n=function(){return t.value};return n.__closure={extraContentPadding:t},n.__workletHash=7561155926064,n.__initData=e,n}({_worklet_7561155926064_init_data:kt,extraContentPadding:n}),function({_worklet_12766936277790_init_data:e,freeze:t,blankSpace:n,keyboardPadding:r,isScrollAtEnd:i,scroll:a,layout:o,size:s,inverted:l,keyboardLiftBehavior:c,shouldShiftContent:u,scrollToTarget:d}){const p=function(e,p){if(t.value||null===p)return;if(0===e-p)return;const f=Math.max(n.value,r.value+p),h=Math.max(n.value,r.value+e),m=h-f;if(0===m)return;const g=i(a.value,o.value.height,s.value.height,l);if((!("persistent"===c&&m<0)||g)&&u(c,g))if(l){const e=Math.max(a.value-m,-h);d(e)}else{const e=Math.max(s.value.height-o.value.height+h,0),t=Math.min(a.value+m,e);d(t)}};return p.__closure={freeze:t,blankSpace:n,keyboardPadding:r,isScrollAtEnd:i,scroll:a,layout:o,size:s,inverted:l,keyboardLiftBehavior:c,shouldShiftContent:u,scrollToTarget:d},p.__workletHash=0xb9c88b3a31e,p.__initData=e,p}({_worklet_12766936277790_init_data:St,freeze:f,blankSpace:a,keyboardPadding:r,isScrollAtEnd:ot,scroll:s,layout:l,size:c,inverted:d,keyboardLiftBehavior:p,shouldShiftContent:st,scrollToTarget:h}),[d,p])}({scrollViewRef:_,extraContentPadding:f,keyboardPadding:S,blankSpace:h,scroll:E,layout:A,size:T,contentOffsetY:C,inverted:s,keyboardLiftBehavior:c,freeze:k}),(({scroll:e,layout:t,size:n,inverted:r,onEndVisible:a})=>{const s=(0,i.useMemo)(()=>{return"function"===typeof(e=a)&&!!e.__workletHash;var e},[a]),l=(0,o.useDerivedValue)(function({_worklet_3138113019839_init_data:e,layout:t,size:n,isScrollAtEnd:r,scroll:i,inverted:a}){const o=function(){return 0===t.value.height||0===n.value.height?null:r(i.value,t.value.height,n.value.height,a)};return o.__closure={layout:t,size:n,isScrollAtEnd:r,scroll:i,inverted:a},o.__workletHash=3138113019839,o.__initData=e,o}({_worklet_3138113019839_init_data:gt,layout:t,size:n,isScrollAtEnd:ot,scroll:e,inverted:r}));(0,o.useAnimatedReaction)(function({_worklet_8789701554444_init_data:e,isAtEnd:t}){const n=function(){return t.value};return n.__closure={isAtEnd:t},n.__workletHash=8789701554444,n.__initData=e,n}({_worklet_8789701554444_init_data:yt,isAtEnd:l}),function({_worklet_1863222514799_init_data:e,onEndVisible:t,isWorklet:n,runOnJS:r}){const i=function(e,i){null!==e&&e!==i&&t&&(n?t(e):r(t)(e))};return i.__closure={onEndVisible:t,isWorklet:n,runOnJS:r},i.__workletHash=1863222514799,i.__initData=e,i}({_worklet_1863222514799_init_data:vt,onEndVisible:a,isWorklet:s,runOnJS:o.runOnJS}),[a,s,r])})({scroll:E,layout:A,size:T,inverted:s,onEndVisible:v});const O=(0,o.useDerivedValue)(function({_worklet_4116354224284_init_data:e,blankSpace:t,padding:n,extraContentPadding:r}){const i=function(){return Math.max(t.value,n.value+r.value)};return i.__closure={blankSpace:t,padding:n,extraContentPadding:r},i.__workletHash=4116354224284,i.__initData=e,i}({_worklet_4116354224284_init_data:It,blankSpace:h,padding:S,extraContentPadding:f})),D=(0,o.useDerivedValue)(function({_worklet_1500500810579_init_data:e,padding:t,extraContentPadding:n}){const r=function(){return t.value+n.value};return r.__closure={padding:t,extraContentPadding:n},r.__workletHash=1500500810579,r.__initData=e,r}({_worklet_1500500810579_init_data:Rt,padding:S,extraContentPadding:f})),N=(0,i.useCallback)(e=>{I(e),null===g||void 0===g||g(e)},[I,g]),j=(0,i.useCallback)((e,t)=>{R(e,t),null===y||void 0===y||y(e,t)},[R,y]),F=(0,o.useAnimatedStyle)(function({_worklet_15148994185646_init_data:e,currentHeight:t}){const n=function(){return{transform:[{translateY:-t.value}]}};return n.__closure={currentHeight:t},n.__workletHash=0xdc7266ac9ae,n.__initData=e,n}({_worklet_15148994185646_init_data:Ot,currentHeight:x}),[]),M=(0,i.useMemo)(()=>[Nt.commitView,F],[F]);return i.createElement(i.Fragment,null,i.createElement($,Ct({ref:w},b,{applyWorkaroundForContentInsetHitTestBug:m,bottomPadding:O,contentOffsetY:C,inverted:s,scrollIndicatorPadding:D,ScrollViewComponent:a,onContentSizeChange:j,onLayout:N}),n),i.createElement(o.default.View,{style:M}))}),Nt=B.default.create({commitView:{display:"none",position:"absolute"}}),jt=Dt},65012(e,t,n){"use strict";n.r(t),n.d(t,{AndroidSoftInputModes:()=>i,KEYBOARD_BORDER_RADIUS:()=>a});var r=n(39047);let i=function(e){return e[e.SOFT_INPUT_ADJUST_NOTHING=48]="SOFT_INPUT_ADJUST_NOTHING",e[e.SOFT_INPUT_ADJUST_PAN=32]="SOFT_INPUT_ADJUST_PAN",e[e.SOFT_INPUT_ADJUST_RESIZE=16]="SOFT_INPUT_ADJUST_RESIZE",e[e.SOFT_INPUT_ADJUST_UNSPECIFIED=0]="SOFT_INPUT_ADJUST_UNSPECIFIED",e[e.SOFT_INPUT_IS_FORWARD_NAVIGATION=256]="SOFT_INPUT_IS_FORWARD_NAVIGATION",e[e.SOFT_INPUT_MASK_ADJUST=240]="SOFT_INPUT_MASK_ADJUST",e[e.SOFT_INPUT_MASK_STATE=15]="SOFT_INPUT_MASK_STATE",e[e.SOFT_INPUT_MODE_CHANGED=512]="SOFT_INPUT_MODE_CHANGED",e[e.SOFT_INPUT_STATE_ALWAYS_HIDDEN=3]="SOFT_INPUT_STATE_ALWAYS_HIDDEN",e[e.SOFT_INPUT_STATE_ALWAYS_VISIBLE=5]="SOFT_INPUT_STATE_ALWAYS_VISIBLE",e[e.SOFT_INPUT_STATE_HIDDEN=2]="SOFT_INPUT_STATE_HIDDEN",e[e.SOFT_INPUT_STATE_UNCHANGED=1]="SOFT_INPUT_STATE_UNCHANGED",e[e.SOFT_INPUT_STATE_UNSPECIFIED=0]="SOFT_INPUT_STATE_UNSPECIFIED",e[e.SOFT_INPUT_STATE_VISIBLE=4]="SOFT_INPUT_STATE_VISIBLE",e}({});const a=r.KeyboardControllerNative.getConstants().keyboardBorderRadius},31850(e,t,n){"use strict";n.r(t),n.d(t,{KeyboardContext:()=>d,useKeyboardContext:()=>p});var r=n(36665),i=n(15009);const a=()=>{},o=()=>a,s=e=>({value:e,addListener:a,removeListener:a,modify:a,get:()=>e,set:a}),l=s(0),c=s(null),u={enabled:!0,animated:{progress:new i.default.Value(0),height:new i.default.Value(0)},reanimated:{progress:l,height:l},layout:c,update:Promise.resolve,setKeyboardHandlers:o,setInputHandlers:o,setEnabled:a},d=(0,r.createContext)(u),p=()=>(0,r.useContext)(d)},88268(e,t,n){"use strict";n.r(t),n.d(t,{useFocusedInputHandler:()=>E,useGenericKeyboardHandler:()=>
2w,useKeyboardAnimation:()=>v,useKeyboardController:()=>S,useKeyboardHandler:()=>k,useKeyboardState:()=>g,useReanimatedFocusedInput:()=>x,useReanimatedKeyboardAnimation:()=>b,useResizeMode:()=>y,useWindowDimensions:()=>p});var r=n(36665),i=n(62902),a=n(65012),o=n(31850),s=n(67269),l=n(26725),c=n(39047);const u=l.default.get("window");let d={width:u.width,height:u.height};c.WindowDimensionsEvents.addListener("windowDidResize",e=>{d=e});const p=()=>{const[e,t]=(0,r.useState)(d);return(0,r.useEffect)(()=>{const e=c.WindowDimensionsEvents.addListener("windowDidResize",e=>{t(e)});return t(d),()=>{e.remove()}},[]),e},f=["keyboardWillShow","keyboardDidHide"],h=()=>Object.assign({},s.KeyboardController.state(),{isVisible:s.KeyboardController.isVisible()}),m=e=>e;function g(e=m){const[t,n]=(0,r.useState)(()=>e(h()));return(0,r.useEffect)(()=>{const t=f.map(t=>c.KeyboardEvents.addListener(t,()=>n(e(h()))));return n(e(h())),()=>{t.forEach(e=>e.remove())}},[]),t}const y=()=>{(0,r.useEffect)(()=>(s.KeyboardController.setInputMode(a.AndroidSoftInputModes.SOFT_INPUT_ADJUST_RESIZE),()=>s.KeyboardController.setDefaultMode()),[])},v=()=>{y();return(0,o.useKeyboardContext)().animated},b=()=>{y();return(0,o.useKeyboardContext)().reanimated},_={code:'(function reactNativeKeyboardController_indexJs1(event){const{handler}=this.__closure;if(event.eventName.endsWith("onKeyboardMoveStart")){var _handler$onStart;(_handler$onStart=handler.onStart)===null||_handler$onStart===void 0||_handler$onStart.call(handler,event);}if(event.eventName.endsWith("onKeyboardMove")){var _handler$onMove;(_handler$onMove=handler.onMove)===null||_handler$onMove===void 0||_handler$onMove.call(handler,event);}if(event.eventName.endsWith("onKeyboardMoveEnd")){var _handler$onEnd;(_handler$onEnd=handler.onEnd)===null||_handler$onEnd===void 0||_handler$onEnd.call(handler,event);}if(event.eventName.endsWith("onKeyboardMoveInteractive")){var _handler$onInteractiv;(_handler$onInteractiv=handler.onInteractive)===null||_handler$onInteractiv===void 0||_handler$onInteractiv.call(handler,event);}})'};function w(e,t){const n=(0,o.useKeyboardContext)(),{doDependenciesDiffer:a}=(0,i.useHandler)(e,t),s=(0,i.useEvent)(function({_worklet_9665342754850_init_data:e,handler:t}){const n=function(e){var n,r,i,a;e.eventName.endsWith("onKeyboardMoveStart")&&(null===(n=t.onStart)||void 0===n||n.call(t,e));e.eventName.endsWith("onKeyboardMove")&&(null===(r=t.onMove)||void 0===r||r.call(t,e));e.eventName.endsWith("onKeyboardMoveEnd")&&(null===(i=t.onEnd)||void 0===i||i.call(t,e));e.eventName.endsWith("onKeyboardMoveInteractive")&&(null===(a=t.onInteractive)||void 0===a||a.call(t,e))};return n.__closure={handler:t},n.__workletHash=9665342754850,n.__initData=e,n}({_worklet_9665342754850_init_data:_,handler:e}),["onKeyboardMoveStart","onKeyboardMove","onKeyboardMoveEnd","onKeyboardMoveInteractive"],a);(0,r.useLayoutEffect)(()=>{const e=n.setKeyboardHandlers(s);return()=>e()},t)}function k(e,t){y(),w(e,t)}function S(){const e=(0,o.useKeyboardContext)();return{setEnabled:e.setEnabled,enabled:e.enabled}}function x(){const e=(0,o.useKeyboardContext)();return{input:e.layout,update:e.update}}const C={code:'(function reactNativeKeyboardController_indexJs2(event){const{handler}=this.__closure;if(event.eventName.endsWith("onFocusedInputTextChanged")){var _handler$onChangeText;(_handler$onChangeText=handler.onChangeText)===null||_handler$onChangeText===void 0||_handler$onChangeText.call(handler,event);}if(event.eventName.endsWith("onFocusedInputSelectionChanged")){var _handler$onSelectionC;(_handler$onSelectionC=handler.onSelectionChange)===null||_handler$onSelectionC===void 0||_handler$onSelectionC.call(handler,event);}})'};function E(e,t){const n=(0,o.useKeyboardContext)(),{doDependenciesDiffer:a}=(0,i.useHandler)(e,t),s=(0,i.useEvent)(function({_worklet_8354652278128_init_data:e,handler:t}){const n=function(e){var n,r;e.eventName.endsWith("onFocusedInputTextChanged")&&(null===(n=t.onChangeText)||void 0===n||n.call(t,e));e.eventName.endsWith("onFocusedInputSelectionChanged")&&(null===(r=t.onSelectionChange)||void 0===r||r.call(t,e))};return n.__closure={handler:t},n.__workletHash=8354652278128,n.__initData=e,n}({_worklet_8354652278128_init_data:C,handler:e}),["onFocusedInputTextChanged","onFocusedInputSelectionChanged"],a);(0,r.useLayoutEffect)(()=>{const e=n.setInputHandlers(s);return()=>e()},t)}},14973(e,t,n){"use strict";n.r(t),n.d(t,{AndroidSoftInputModes:()=>s.AndroidSoftInputModes,ClippingScrollView:()=>r.ClippingScrollView,DefaultKeyboardToolbarTheme:()=>p.DefaultKeyboardToolbarTheme,FocusedInputEvents:()=>r.FocusedInputEvents,KEYBOARD_BORDER_RADIUS:()=>s.KEYBOARD_BORDER_RADIUS,KeyboardAvoidingView:()=>p.KeyboardAvoidingView,KeyboardAwareScrollView:()=>
2p.KeyboardAwareScrollView,KeyboardBackgroundView:()=>r.KeyboardBackgroundView,KeyboardChatScrollView:()=>p.KeyboardChatScrollView,KeyboardContext:()=>a.KeyboardContext,KeyboardController:()=>l.KeyboardController,KeyboardControllerNative:()=>r.KeyboardControllerNative,KeyboardControllerView:()=>r.KeyboardControllerView,KeyboardControllerViewCommands:()=>r.KeyboardControllerViewCommands,KeyboardEvents:()=>r.KeyboardEvents,KeyboardExtender:()=>f.KeyboardExtender,KeyboardGestureArea:()=>r.KeyboardGestureArea,KeyboardProvider:()=>i.KeyboardProvider,KeyboardState:()=>d.KeyboardState,KeyboardStickyView:()=>p.KeyboardStickyView,KeyboardToolbar:()=>p.KeyboardToolbar,OverKeyboardView:()=>f.OverKeyboardView,RCTKeyboardExtender:()=>r.RCTKeyboardExtender,RCTKeyboardToolbarGroupView:()=>r.RCTKeyboardToolbarGroupView,RCTOverKeyboardView:()=>r.RCTOverKeyboardView,WindowDimensionsEvents:()=>r.WindowDimensionsEvents,useAnimatedKeyboard:()=>d.useAnimatedKeyboard,useFocusedInputHandler:()=>o.useFocusedInputHandler,useGenericKeyboardHandler:()=>o.useGenericKeyboardHandler,useKeyboardAnimation:()=>o.useKeyboardAnimation,useKeyboardContext:()=>a.useKeyboardContext,useKeyboardController:()=>o.useKeyboardController,useKeyboardHandler:()=>o.useKeyboardHandler,useKeyboardState:()=>o.useKeyboardState,useReanimatedFocusedInput:()=>o.useReanimatedFocusedInput,useReanimatedKeyboardAnimation:()=>o.useReanimatedKeyboardAnimation,useResizeMode:()=>o.useResizeMode,useWindowDimensions:()=>o.useWindowDimensions});var r=n(39047),i=n(39819),a=n(31850),o=n(88268),s=n(65012),l=n(67269),c=n(95835),u={};for(const h in c)["default","KeyboardChatScrollView","KeyboardAvoidingView","KeyboardStickyView","KeyboardAwareScrollView","KeyboardToolbar","DefaultKeyboardToolbarTheme","OverKeyboardView","KeyboardExtender","ClippingScrollView","FocusedInputEvents","KeyboardBackgroundView","KeyboardControllerNative","KeyboardControllerView","KeyboardControllerViewCommands","KeyboardEvents","KeyboardGestureArea","RCTKeyboardExtender","RCTKeyboardToolbarGroupView","RCTOverKeyboardView","WindowDimensionsEvents","KeyboardProvider","KeyboardContext","useKeyboardContext","useFocusedInputHandler","useGenericKeyboardHandler","useKeyboardAnimation","useKeyboardController","useKeyboardHandler","useKeyboardState","useReanimatedFocusedInput","useReanimatedKeyboardAnimation","useResizeMode","useWindowDimensions","AndroidSoftInputModes","KEYBOARD_BORDER_RADIUS","KeyboardController"].indexOf(h)<0&&(u[h]=()=>c[h]);n.d(t,u);var d=n(80079),p=n(65809),f=n(31447)},52968(e,t,n){"use strict";n.r(t),n.d(t,{useAnimatedValue:()=>s,useEventHandlerRegistration:()=>o});var r=n(36665),i=n(15009),a=n(96473);function o(e){return t=>{const n=t,r=()=>{const t=(0,a.findNodeHandle)(e.current);t&&("workletEventHandler"in n?n.workletEventHandler.registerForEvents(t):n.registerForEvents(t))};return e.current?r():queueMicrotask(r),()=>{const t=(0,a.findNodeHandle)(e.current);t&&("workletEventHandler"in n?n.workletEventHandler.unregisterFromEvents(t):n.unregisterFromEvents(t))}}}function s(e,t){const n=(0,r.useRef)(null);return null===n.current&&(n.current=new i.default.Value(e,t)),n.current}},67269(e,t,n){"use strict";n.r(t),n.d(t,{KeyboardController:()=>o});var r=n(39047);let i=!0,a={height:0,duration:0,timestamp:(new Date).getTime(),target:-1,type:"default",appearance:"light"};r.KeyboardEvents.addListener("keyboardDidHide",e=>{i=!0,a=e}),r.KeyboardEvents.addListener("keyboardWillShow",e=>{i=!1,a=e});const o={setDefaultMode:r.KeyboardControllerNative.setDefaultMode,setInputMode:r.KeyboardControllerNative.setInputMode,setFocusTo:r.KeyboardControllerNative.setFocusTo,preload:r.KeyboardControllerNative.preload,dismiss:async e=>{const t=(null===e||void 0===e?void 0:e.keepFocus)??!1,n=(null===e||void 0===e?void 0:e.animated)??!0;return new Promise(e=>{if(i)return void e();const a=r.KeyboardEvents.addListener("keyboardDidHide",()=>{e(void 0),a.remove()});r.KeyboardControllerNative.dismiss(t,n)})},isVisible:()=>!i,state:()=>a}},95835(e,t,n){"use strict";n.r(t);var r=n(40886),i={};for(const a in r)"default"!==a&&(i[a]=()=>r[a]);n.d(t,i)},40886(){},96473(e,t,n){"use strict";n.r(t),n.d(t,{findNodeHandle:()=>r});const r=e=>e},31447(e,t,n){"use strict";n.r(t),n.d(t,{KeyboardExtender:()=>f,OverKeyboardView:()=>c});var r=n(36665),i=n(75675),a=n(73929),o=n(39047),s=n(88268);const l=i.default.create({absolute:{position:"absolute"},stretch:{top:0,bottom:0,left:0,right:0}}),c=e=>{const{children:t,visible:n}=e,{height:i,width:c}=(0,s.useWindowDimensions)(),u=(0,r.useMemo)(()=>({height:i,width:c}),[i,c]),d=(0,r.useMemo)(()=>[l.absolute,void 0,void 0],[u]);return r.createElement(o.RCTOverKeyboardView,{visible:n},r.createElement(a.default,{collapsable:!1,style:d},n&&t))};var u=n(15009),d=n(65809);
2const p=u.default.createAnimatedComponent(o.KeyboardBackgroundView),f=e=>{const{children:t,enabled:n=!0}=e,{progress:i}=(0,s.useKeyboardAnimation)();return r.createElement(d.KeyboardStickyView,{enabled:n},r.createElement(p,{style:{opacity:i}},t))}},47637(e,t,n){"use strict";n.r(t),n.d(t,{Bar:()=>m,Circle:()=>I,CircleSnail:()=>N,Pie:()=>U});var r=n(98587),i=n(36665),a=n(94075),o=n.n(a),s=n(15009),l=n(95620),c=n(73929),u=n(48623),d=n(60397);const p=["borderColor","borderRadius","borderWidth","children","color","height","style","unfilledColor","width"],f=.3,h=.23076923076923075;class m extends i.Component{static propTypes={animated:o().bool,borderColor:o().string,borderRadius:o().number,borderWidth:o().number,children:o().node,color:o().string,height:o().number,indeterminate:o().bool,indeterminateAnimationDuration:o().number,onLayout:o().func,progress:o().number,style:o().any,unfilledColor:o().string,width:o().number,useNativeDriver:o().bool,animationConfig:o().object,animationType:o().oneOf(["decay","timing","spring"])};static defaultProps={animated:!0,borderRadius:4,borderWidth:1,color:"rgba(0, 122, 255, 1)",height:6,indeterminate:!1,indeterminateAnimationDuration:1e3,progress:0,width:150,useNativeDriver:!1,animationConfig:{bounciness:0},animationType:"spring"};constructor(e){super(e);const t=Math.min(Math.max(e.progress,0),1);this.state={width:0,progress:new s.default.Value(e.indeterminate?f:t),animationValue:new s.default.Value(h)}}componentDidMount(){this.props.indeterminate&&this.animate()}componentDidUpdate(e){if(e.indeterminate!==this.props.indeterminate&&(this.props.indeterminate?this.animate():s.default.spring(this.state.animationValue,{toValue:h,useNativeDriver:this.props.useNativeDriver}).start()),e.indeterminate!==this.props.indeterminate||e.progress!==this.props.progress){const e=this.props.indeterminate?f:Math.min(Math.max(this.props.progress,0),1);if(this.props.animated){const{animationType:t,animationConfig:n}=this.props;s.default[t](this.state.progress,Object.assign({},n,{toValue:e,useNativeDriver:this.props.useNativeDriver})).start()}else this.state.progress.setValue(e)}}handleLayout=e=>{this.props.width||this.setState({width:e.nativeEvent.layout.width}),this.props.onLayout&&this.props.onLayout(e)};animate(){this.state.animationValue.setValue(0),s.default.timing(this.state.animationValue,{toValue:1,duration:this.props.indeterminateAnimationDuration,easing:l.default.linear,isInteraction:!1,useNativeDriver:this.props.useNativeDriver}).start(e=>{e.finished&&this.animate()})}render(){const e=this.props,{borderColor:t,borderRadius:n,borderWidth:i,children:a,color:o,height:l,style:f,unfilledColor:h,width:m}=e,g=(0,r.default)(e,p),y=Math.max(0,m||this.state.width)-2*i,v={width:m,borderWidth:i,borderColor:t||o,borderRadius:n,overflow:"hidden",backgroundColor:h},b={backgroundColor:o,height:l,transform:[{translateX:this.state.animationValue.interpolate({inputRange:[0,1],outputRange:[-.3*y,y]})},{translateX:this.state.progress.interpolate({inputRange:[0,1],outputRange:[y/(u.default.isRTL?2:-2),0]})},{scaleX:this.state.progress.interpolate({inputRange:[0,1],outputRange:[1e-4,1]})}]};return(0,d.jsxs)(c.default,Object.assign({style:[v,f],onLayout:this.handleLayout},g,{children:[(0,d.jsx)(s.default.View,{style:b}),a]}))}}var g=n(75675),y=n(6283),v=n(9231);const b=["startAngle","endAngle","radius","offset","direction","strokeCap","strokeWidth"],_=2*Math.PI;class w extends i.Component{static propTypes={startAngle:o().number.isRequired,endAngle:o().number.isRequired,radius:o().number.isRequired,offset:o().shape({top:o().number,left:o().number}),strokeCap:o().string,strokeWidth:o().number,direction:o().oneOf(["clockwise","counter-clockwise"])};static defaultProps={startAngle:0,offset:{top:0,left:0},strokeCap:"butt",strokeWidth:0,direction:"clockwise"};render(){const e=this.props,{startAngle:t,endAngle:n,radius:i,offset:a,direction:o,strokeCap:s,strokeWidth:l}=e,c=(0,r.default)(e,b),u=function(e,t,n,r,i,a){let o=n,s=r;s-o>=_?s=_+s%_:s%=_,o%=_;const l=o>s?_-o+s:s-o;if(l>=_)return`M${e+i} ${t}\n            a${i} ${i} 0 0 1 0 ${2*i}\n            a${i} ${i} 0 0 1 0 ${-2*i}`;
2const c="counter-clockwise"===a?-1:1;s*=c,o*=c;const u=Math.sin(o),d=Math.cos(o),p=Math.sin(s),f=Math.cos(s);return`M${e+i*(1+u)} ${t+i-i*d}\n          A${i} ${i} 0 ${l>Math.PI?1:0} ${"counter-clockwise"===a?0:1} ${e+i*(1+p)} ${t+i-i*f}`}((a.left||0)+l/2,(a.top||0)+l/2,t,n,i-l/2,o);return(0,d.jsx)(v.Path,Object.assign({d:u,strokeLinecap:s,strokeWidth:l},c))}}function k(e,t){const n=e.displayName||e.name||"Component";return class extends i.Component{static displayName=`withAnimation(${n})`;static propTypes={animated:o().bool,direction:o().oneOf(["clockwise","counter-clockwise"]),indeterminate:o().bool,indeterminateAnimationDuration:o().number,progress:o().number};static defaultProps={animated:!0,indeterminateAnimationDuration:1e3,indeterminate:!1,progress:0};constructor(e){super(e),this.progressValue=Math.min(Math.max(e.progress,0),1),this.rotationValue=0,this.state={progress:new s.default.Value(this.progressValue),rotation:new s.default.Value(this.rotationValue)}}componentDidMount(){this.state.progress.addListener(e=>{this.progressValue=e.value}),this.state.rotation.addListener(e=>{this.rotationValue=e.value}),this.props.indeterminate&&(this.spin(),t&&s.default.spring(this.state.progress,{toValue:t,useNativeDriver:!1}).start())}componentDidUpdate(e){e.indeterminate!==this.props.indeterminate&&(this.props.indeterminate?this.spin():s.default.spring(this.state.rotation,{toValue:this.rotationValue>.5?1:0,useNativeDriver:!1}).start(e=>{e.finished&&this.state.rotation.setValue(0)}));const n=this.props.indeterminate?t||0:Math.min(Math.max(this.props.progress,0),1);n!==this.progressValue&&(this.props.animated?s.default.spring(this.state.progress,{toValue:n,bounciness:0,useNativeDriver:!1}).start():this.state.progress.setValue(n))}componentWillUnmount(){this.state.progress.removeAllListeners(),this.state.rotation.removeAllListeners()}spin(){this.state.rotation.setValue(0),s.default.timing(this.state.rotation,{toValue:"counter-clockwise"
2===this.props.direction?-1:1,duration:this.props.indeterminateAnimationDuration,easing:l.default.linear,isInteraction:!1,useNativeDriver:!1}).start(e=>{e.finished&&this.spin()})}render(){return(0,d.jsx)(e,Object.assign({},this.props,{progress:this.props.animated?this.state.progress:this.props.progress,rotation:this.state.rotation}))}}}const S=["animated","borderColor","borderWidth","color","children","direction","fill","formatText","indeterminate","progress","rotation","showsText","size","style","strokeCap","textStyle","thickness","unfilledColor","endAngle","allowFontScaling"],x=2*Math.PI,C=s.default.createAnimatedComponent(v.Svg),E=s.default.createAnimatedComponent(w),A=g.default.create({container:{backgroundColor:"transparent",overflow:"hidden"}});class T extends i.Component{static propTypes={animated:o().bool,borderColor:o().string,borderWidth:o().number,color:o().string,children:o().node,direction:o().oneOf(["clockwise","counter-clockwise"]),fill:o().string,formatText:o().func,indeterminate:o().bool,progress:o().oneOfType([o().number,o().instanceOf(s.default.Value)]),rotation:o().instanceOf(s.default.Value),showsText:o().bool,size:o().number,style:o().any,strokeCap:o().oneOf(["butt","square","round"]),textStyle:o().any,thickness:o().number,unfilledColor:o().string,endAngle:o().number,allowFontScaling:o().bool};static defaultProps={borderWidth:1,color:"rgba(0, 122, 255, 1)",direction:"clockwise",formatText:e=>`${Math.round(100*e)}%`,progress:0,showsText:!1,size:40,thickness:3,endAngle:.9,allowFontScaling:!0};constructor(e,t){super(e,t),this.progressValue=0}componentDidMount(){this.props.animated&&this.props.progress.addListener(e=>{this.progressValue=e.value,(this.props.showsText||1===this.progressValue)&&this.forceUpdate()})}render(){const e=this.props,{animated:t,borderColor:n,borderWidth:i,color:a,children:o,direction:l,fill:u,formatText:p,indeterminate:f,progress:h,rotation:m,showsText:g,size:b,style:_,strokeCap:k,textStyle:T,thickness:I,unfilledColor:R,endAngle:O,allowFontScaling:D}=e,N=(0,r.default)(e,S),j=i||(f?1:0),F=b/2-j,M={top:j,left:j},V=j+I,P=b-2*V,L=m?C:v.Svg,B=t?E:w,H=t?this.progressValue:h,W=t?s.default.multiply(h,x):h*x;return(0,d.jsxs)(c.default,Object.assign({style:[A.container,_]},N,{children:[(0,d.jsxs)(L,{width:b,height:b,fill:"none",style:f&&m?{transform:[{rotate:m.interpolate({inputRange:[0,1],outputRange:["0deg","360deg"]})}]}:void 0,children:[!(!R||1===H)&&(0,d.jsx)(B,{fill:u,radius:F,offset:M,startAngle:W,endAngle:x,direction:l,stroke:R,strokeWidth:I}),!f&&(0,d.jsx)(B,{fill:u,radius:F,offset:M,startAngle:0,endAngle:W,direction:l,stroke:a,strokeCap:k,strokeWidth:I}),!!j&&(0,d.jsx)(w,{fill:u,radius:b/2,startAngle:0,endAngle:(f?2*O:2)*Math.PI,stroke:n||a,strokeCap:k,strokeWidth:j})]}),!(f||!g)&&(0,d.jsx)(c.default,{style:{position:"absolute",left:V,top:V,width:P,height:P,borderRadius:P/2,alignItems:"center",justifyContent:"center"},children:(0,d.jsx)(y.default,{style:[{color:a,fontSize:P/4.5,fontWeight:"300"},T],allowFontScaling:D,children:p(H)})}),o]}))}}const I=k(T),R=["animating","children","color","direction","hidesWhenStopped","size","style","thickness","strokeCap"],O=s.default.createAnimatedComponent(w),D=1.5*Math.PI;class N extends i.Component{static propTypes={animating:o().bool,color:o().oneOfType([o().string,o().arrayOf(o().string)]),children:o().node,direction:o().oneOf(["clockwise","counter-clockwise"]),duration:o().number,hidesWhenStopped:o().bool,size:o().number,spinDuration:o().number,style:o().any,thickness:o().number,strokeCap:o().string,useNativeDriver:o().bool};static defaultProps={animating:!0,color:"rgba(0, 122, 255, 1)",direction:"counter-clockwise",hidesWhenStopped:!1,size:40,thickness:3,strokeCap:"round",useNativeDriver:!1};constructor(e){super(e),this.state={startAngle:new s.default.Value(-.1),endAngle:new s.default.Value(0),rotation:new s.default.Value(0),colorIndex:0}}componentDidMount(){this.props.animating&&(this.animate(),this.spin())}componentDidUpdate(e){e.animating!==this.props.animating&&(this.props.animating?(this.animate(),this.spin()):this.stopAnimations())}animate(e=1){s.default.sequence([s.default.timing(this.state.startAngle,{toValue:-D*e-.1,duration:this.props.duration||1e3,isInteraction:!1,easing:l.default.inOut(l.default.quad),useNativeDriver:this.props.useNativeDriver}),s.default.timing(this.state.endAngle,{toValue:-D*e,duration:this.props.duration||1e3,isInteraction:!1,easing:l.default.inOut(l.default.quad),useNativeDriver:this.props.useNativeDriver})]).start(t=>{t.finished&&(Array.isArray(this.props.color)&&this.setState({colorIndex:e%this.props.color.length}),this.animate(e+1))})}spin(){s.default.timing(this.state.rotation,{toValue:1,duration:this.props.spinDuration||5e3,easing:l.default.linear,isInteraction:!1,useNativeDriver:this.props.useNativeDriver}).start(e=>{e.finished&&(this.state.rotation.setValue(0),this.spin())})}stopAnimations(){this.state.startAngle.stopAnimation(),this.state.endAngle.stopAnimation(),this.state.rotation.stopAnimation()}render(){const e=this.props,{animating:t,children:n,color:i,direction:a,hidesWhenStopped:o,size:l,style:c,thickness:u,strokeCap:p}=e,f=(0,r.default)(e,R);if(!t&&o)return null;const h=l/2-u,m={top:u,left:u}
2,g="counter-clockwise"===a?-1:1;return(0,d.jsxs)(s.default.View,Object.assign({},f,{style:[c,{backgroundColor:"transparent",overflow:"hidden",transform:[{rotate:this.state.rotation.interpolate({inputRange:[0,1],outputRange:["0deg",360*g+"deg"]})}]}],children:[(0,d.jsx)(v.Svg,{width:l,height:l,children:(0,d.jsx)(O,{fill:"transparent",direction:"counter-clockwise"===a?"clockwise":"counter-clockwise",radius:h,stroke:Array.isArray(i)?i[this.state.colorIndex]:i,offset:m,startAngle:this.state.startAngle,endAngle:this.state.endAngle,strokeCap:p,strokeWidth:u})}),n]}))}}const j=["radius","offset","strokeWidth","direction"];class F extends i.Component{static propTypes={radius:o().number.isRequired,offset:o().shape({top:o().number,left:o().number}),strokeWidth:o().number,direction:o().oneOf(["clockwise","counter-clockwise"])};static defaultProps={offset:{top:0,left:0},strokeWidth:0,direction:"clockwise"};render(){const e=this.props,{radius:t,offset:n,strokeWidth:i,direction:a}=e,o=(0,r.default)(e,j),s=function(e,t,n,r){const i="counter-clockwise"
2===r?0:1;return`M${e} ${t}\n          m${n} 0\n          a${n} ${n} 0 0 ${i} 0 ${2*n}\n          a${n} ${n} 0 0 ${i} 0 ${-2*n}`}((n.left||0)+i/2,(n.top||0)+i/2,t-i/2,a);return(0,d.jsx)(v.Path,Object.assign({d:s,strokeLinecap:"butt",strokeWidth:i},o))}}const M=["angle","radius","offset"],V=2*Math.PI;class P extends i.Component{static propTypes={angle:o().number.isRequired,radius:o().number.isRequired,offset:o().shape({top:o().number,left:o().number})};static defaultProps={offset:{top:0,left:0}};render(){const e=this.props,{angle:t,radius:n,offset:i}=e,a=(0,r.default)(e,M),o=function(e,t,n,r){if(n>=V)return`M${e} ${t}\n            m${r} 0\n            a${r} ${r} 0 0 1 0 ${2*r}\n            a${r} ${r} 0 0 1 0 ${-2*r}`;const i=Math.PI/2-n,a=Math.PI/2,o=n>Math.PI?1:0,s=e+r,l=t+r;return`M${s} ${l}\n          L${s+Math.cos(i)*r} ${l-Math.sin(i)*r}\n          A${r} ${r} 0 ${o} 0 ${s+Math.cos(a)*r} ${l-Math.sin(a)*r}\n          L${s} ${l}`}(i.left||0,i.top||0,t,n);return(0,d.jsx)(v.Path,Object.assign({d:o},a))}}const L=["animated","borderColor","borderWidth","children","color","progress","rotation","size","style","unfilledColor"],B=2*Math.PI,H=s.default.createAnimatedComponent(v.Svg),W=s.default.createAnimatedComponent(P),z=g.default.create({container:{backgroundColor:"transparent",overflow:"hidden"}});class Y extends i.Component{static propTypes={animated:o().bool,borderColor:o().string,borderWidth:o().number,color:o().string,children:o().node,progress:o().oneOfType([o().number,o().instanceOf(s.default.Value)]),rotation:o().instanceOf(s.default.Value),size:o().number,style:o().any,unfilledColor:o().string};static defaultProps={borderWidth:1,color:"rgba(0, 122, 255, 1)",progress:0,size:40};render(){const e=this.props,{animated:t,borderColor:n,borderWidth:i,children:a,color:o,progress:l,rotation:u,size:p,style:f,unfilledColor:h}=e,m=(0,r.default)(e,L),g=u?H:v.Svg,y=t?W:P,b=t?s.default.multiply(l,B):l*B,_=p/2-i,w={top:i,left:i};return(0,d.jsxs)(c.default,Object.assign({style:[z.container,f]},m,{children:[(0,d.jsxs)(g,{width:p,height:p,fill:"none",style:u?{transform:[{rotate:u.interpolate({inputRange:[0,1],outputRange:["0deg","360deg"]})}]}:void 0,children:[!!h&&(0,d.jsx)(F,{radius:_,offset:w,fill:h}),(0,d.jsx)(y,{radius:_,angle:b,offset:w,fill:o}),!!i&&(0,d.jsx)(F,{radius:p/2,stroke:n||o,strokeWidth:i})]}),a]}))}}const U=k(Y,.2)},71357(e,t,n){"use strict";n.r(t),n.d(t,{EYES_POSITIONS:()=>l,INNER_EYE_SIZE_IN_BITS:()=>s,OUTER_EYE_SIZE_IN_BITS:()=>o,QR_ECL_PERS:()=>c,SVGGradient:()=>P,default:()=>W,isCoordsOfBottomLeftInnerEye:()=>k,isCoordsOfBottomLeftOuterEye:()=>v,isCoordsOfInnerEyes:()=>S,isCoordsOfOuterEyes:()=>b,isCoordsOfTopLeftInnerEye:()=>_,isCoordsOfTopLeftOuterEye:()=>g,isCoordsOfTopRightInnerEye:()=>w,isCoordsOfTopRightOuterEye:()=>y,useQRCodeData:()=>C});var r=n(98587),i=n(36665),a=n(9231);const o=7,s=3,l=["topLeft","topRight","bottomLeft"],c={L:.03,M:.06,Q:.1,H:.14,low:.03,medium:.06,quartile:.1,high:.14};function u(e){if(e)return Array.isArray(e)?0===e.length?void 0:e:Array.from({length:4},()=>e)}function d(e){if(e)return Object.keys(e).find(e=>l.includes(e))?e:l.reduce((t,n)=>Object.assign({},t,{[n]:e}),{})}function p(e,t,n){const r=e*n,i=t*n;return`\n    M${r} ${i}\n    ${r+n} ${i}\n    ${r+n} ${i+n}\n    ${r} ${i+n}\n    z\n  `}function f({x:e,y:t,size:n,cornerType:r,borderRadius:i,isGlued:a,isLiquid:o,bitMatrix:s}){const l=e*n,c=t*n,u="cut"===r;let[d=0,p=0,f=0,h=0]=i||[];const m=e=>u?"L":`A${e} ${e} 0 0 1`;return a&&(1===s[t]?.[e-1]&&(d=0,h=0),1===s[t-1]?.[e]&&(d=0,p=0),1===s[t]?.[e+1]&&(p=0,f=0),1===s[t+1]?.[e]&&(h=0,f=0)),o&&(1===s[t-1]?.[e-1]&&(d=0),1===s[t-1]?.[e+1]&&(p=0),1===s[t+1]?.[e+1]&&(f=0),1===s[t+1]?.[e-1]&&(h=0)),`\n    M${l} ${c+d}\n    ${m(d)} ${l+d} ${c}\n    L${l+n-p} ${c}\n    ${m(p)} ${l+n} ${c+p}\n    L${l+n} ${c+n-f}\n    ${m(f)}  ${l+n-f} ${c+n}\n    L${l+h} ${c+n}\n    ${m(h)}  ${l} ${c+n-h}\n    z\n  `}function h(e,t,n,r){const i=e*n,a=t*n,o=r>n?n:r;return`\n      M${i} ${a}\n      L${i+o} ${a}\n      A${o} ${o} 0 0 0 ${i} ${a+o} z`}function m(e,t,n){return e>=1&&e<6&&t>=1&&t<6||e>=n-6&&e<n&&t>=1&&t<6||e>=1&&e<6&&t>=n-6&&t<n}function g(e,t){return e>=0&&e<o&&0===t||e>=0&&e<o&&t===o-1||t>0&&t<o-1&&0===e||t>0&&t<o-1&&e===o-1}function y(e,t,n){return e>=n-o&&e<n&&0===t||e>=n-o&&e<n&&t===o-1||t>0&&t<o-1&&e===n-o||t>0&&t<o-1&&e===n-1}function v(e,t,n){return e>=0&&e<o&&t===n-o||e>=0&&e<o&&t===n-1||t>n-o&&t<n&&0===e||t>n-o&&t<n&&e===o-1}
2function b(e,t,n){return g(e,t)||y(e,t,n)||v(e,t,n)}function _(e,t){return e>=2&&e<s+2&&t>=2&&t<s+2}function w(e,t,n){return e>=n-o+2&&e<n-2&&t>=2&&t<s+2}function k(e,t,n){return e>=2&&e<s+2&&t>=n-o+2&&t<n-2}function S(e,t,n){return _(e,t)||w(e,t,n)||k(e,t,n)}var x=n(78580);function C(e,t){const n=(0,i.useMemo)(()=>{try{return function(e,t){const n=x.create(e,t),{size:r=0,data:i=[]}=n?.modules||{},a=function(e,t){const n=[];let r=[];for(let i=0;i<e.length;i++)r.push(e[i]||0),(i+1)%t===0&&(n.push([...r]),r=[]);return n}(Array.from(i).map(e=>e?1:0),r);return{size:r,bitMatrix:a}}(e,t)}catch(n){return}},[e,t]),{size:r=0,bitMatrix:a=[]}=n||{};return{bitMatrix:a,qrCodeSize:r}}var E=n(24380),A=n.n(E),T=n(60397);const I=5;const R=(0,i.memo)(function({bitMatrix:e,pieceLiquidRadius:t=0,pieceBorderRadius:n,pieceSize:r=I,pieceCornerType:i,pieceScale:l,pieceRotation:c,pieceStroke:d,pieceStrokeWidth:g,outerEyesOptions:y,innerEyesOptions:v,isPiecesGlued:_=!1,renderCustomPieceItem:w,logoArea:k}){if(!e||!e[0])return null;const x=e.length*r,C=[];if(w){for(let t=0;t<e.length;t++)for(let n=0;n<e.length;n++){const i=w({x:n,y:t,pieceSize:r,qrSize:x,bitMatrix:e});i&&C.push(i)}return(0,T.jsx)(T.Fragment,{children:C})}const E=u(n);for(let o=0;o<e.length;o++)for(let n=0;n<e.length;n++){if(k){const e=n*r,t=o*r;if(k.x<e+r&&k.x+k.width>e&&k.y<t+r&&k.y+k.height>t)continue}if(1===e[o]?.[n]){const s=`\n          ${n*r+r/2},\n          ${o*r+r/2}`;let u=p(n,o,r);E&&(u=f({x:n,y:o,size:r,cornerType:i,borderRadius:E,isGlued:_,isLiquid:!!t,bitMatrix:e}));let h=(0,T.jsx)(a.Path,{scale:l,rotation:c,origin:s,stroke:d,strokeWidth:g,d:u},`${n}_${o}`);y||v?(y&&!v&&!b(n,o,e.length)||!y&&v&&!S(n,o,e.length)||v&&!S(n,o,e.length)&&y&&!b(n,o,e.length))&&C.push(h):C.push(h)}else if(t&&(y&&!m(n,o,e.length)||!y)){const i=h(n,o,r,t),s=`\n            ${n*r+r/2},\n            ${o*r+r/2}`;1===e[o]?.[n-1]&&1===e[o-1]?.[n]&&C.push((0,T.jsx)(a.Path,{d:i},`${n}_${o}_topLeft`)),1===e[o]?.[n-1]&&1===e[o+1]?.[n]&&C.push((0,T.jsx)(a.Path,{rotation:-90,origin:s,d:i},`${n}_${o}_topRight`)),1===e[o]?.[n+1]&&1===e[o-1]?.[n]&&C.push((0,T.jsx)(a.Path,{rotation:90,origin:s,d:i},`${n}_${o}_bottomRight`)),1===e[o]?.[n+1]&&1===e[o+1]?.[n]&&C.push((0,T.jsx)(a.Path,{rotation:180,origin:s,d:i},`${n}_${o}_bottomLeft`))}}if(y){const t={topLeft:`${r*o/2}, ${r*o/2}`,topRight:`${x-r*o/2}, ${r*o/2}`,bottomLeft:`${r*o/2}, ${x-r*o/2}`};["topLeft","topRight","bottomLeft"].forEach(n=>{let i=function(e,t,n){const r=o*t;return"topLeft"===e?`\n      M0 0\n      ${r} 0\n      ${r} ${r}\n      0 ${r} z\n      M${t} ${t}\n      ${r-t} ${t}\n      ${r-t} ${r-t}\n      ${t} ${r-t} z\n    `:"topRight"===e?`\n      M${n-r} 0\n      ${n} 0\n      ${n} ${r}\n      ${n-r} ${r} z\n      M${n-r+t} ${t}\n      ${n-t} ${t}\n      ${n-t} ${r-t}\n      ${n-r+t} ${r-t} z\n    `:"bottomLeft"===e?`\n      M0 ${n-r}\n      ${r} ${n-r}\n      ${r} ${n}\n      0 ${n} z\n      M${t} ${n-r+t}\n      ${r-t} ${n-r+t}\n      ${r-t} ${n-t}\n      ${t} ${n-t} z\n    `:""}(n,r,x);if(Object.keys(y).includes(n)){const t=u(y[n]?.borderRadius);t&&(i=function(e,t,n,r){const i=o*n;let[a=0,s=0,l=0,c=0]=t||[],u=n<a?a-n:0,d=n<s?s-n:0,p=n<l?l-n:0,f=n<c?c-n:0;return"topLeft"===e?`\n      M0 ${a}\n      A${a} ${a} 0 0 1 ${a} 0\n      L${i-s} 0\n      A${s} ${s} 0 0 1 ${i} ${s}\n      L${i} ${i-l}\n      A${l} ${l} 0 0 1 ${i-l} ${i}\n      L${c} ${i}\n      ${c?`A${c} ${c} 0 0 1 0 ${i-c}`:""}\n      z\n      M${n} ${n+u}\n      A${u} ${u} 0 0 1 ${n+u} ${n}\n      L${i-n-d} ${n}\n      A${d} ${d} 0 0 1 ${i-n} ${n+d}\n      L${i-n} ${i-n-p}\n      A${p} ${p} 0 0 1 ${i-n-p} ${i-n}\n      L${n+f} ${i-n}\n      A${f} ${f} 0 0 1 ${n} ${i-n-f}\n      z\n    `:"topRight"===e?`\n      M${r-i} ${a}\n      ${a?`A${a} ${a} 0 0 1 ${r-i+a} 0`:""}\n      L${r-s} 0\n      ${s?`A${s} ${s} 0 0 1 ${r} ${s}`:""}\n      L${r} ${i-l}\n      A${l} ${l} 0 0 1 ${r-l} ${i}\n      L${r-i+c} ${i}\n      A${c} ${c} 0 0 1 ${r-i} ${i-c}\n      z\n      M${r-i+n} ${n+u}\n      A${u} ${u} 0 0 1 ${r-i+n+u} ${n}\n      L${r-n-d} ${n}\n      A${d} ${d} 0 0 1 ${r-n} ${n+d}\n      L${r-n} ${i-n-p}\n      A${p} ${p} 0 0 1 ${r-n-p} ${i-n}\n      L${r-i+n+f} ${i-n}\n      A${f} ${f} 0 0 1 ${r-i+n} ${i-n-f}\n      z\n    `:"bottomLeft"===e?`\n      M0 ${r-i+a}\n      A${a} ${a} 0 0 1 ${a} ${r-i}\n      L${i-s} ${r-i}\n      A${s} ${s} 0 0 1 ${i} ${r-i+s}\n      L${i} ${r-l}\n      A${l} ${l} 0 0 1 ${i-l} ${r}\n      L${c} ${r}\n      A${c} ${c} 0 0 1 0 ${r-c}\n      z\n      M${n} ${r-i+n+u}\n      A${u} ${u} 0 0 1 ${n+u} ${r-i+n}\n      L${i-n-d} ${r-i+n}\n      A${d} ${d} 0 0 1 ${i-n} ${r-i+n+d}\n      L${i-n} ${r-n-p}\n      A${p} ${p} 0 0 1 ${i-n-p} ${r-n}\n      L${n+f} ${r-n}\n      A${f} ${f} 0 0 1 ${n} ${r-n-f}\n      z\n    `:""}(n,t,r,e.length*r))}C.push((0,T.jsx)(a.Path,{fill:y?.[n]?.gradient?`url(#${n}OuterEyeGradient)`:y?.[n]?.color||void 0,fillRule:"evenodd",stroke:y?.[n]?.stroke,strokeWidth:y?.[n]?.strokeWidth,scale:y?.[n]?.scale,rotation:y?.[n]?.rotation,origin:t[n],d:i},`${n}OuterEye`))})}if(v){const t={topLeft:`${2*r+r*s/2}, ${2*r+r*s/2}`,topRight:`${x-2*r-r*s/2}, ${2*r+r*s/2}`,bottomLeft:`${2*r+r*s/2}, ${x-2*r-r*s/2}`};["topLeft","topRight","bottomLeft"].forEach(n=>{let i=function(e,t,n){const r=o*t,i=s*t,a=2*t;return"topLeft"===e?`\n      M${a} ${a}\n      ${a+i} ${a}\n      ${a+i} ${a+i}\n      ${a} ${a+i} z\n    `:"topRight"===e?`\n      M${n-r+a} ${a}\n      ${n-a} ${a}\n      ${n-a} ${a+i}\n      ${n-r+a} ${a+i} z\n    `:"bottomLeft"===e?`\n      M${a} ${n-r+a}\n      ${a+i} ${n-r+a}\n      ${a+i} ${n-a}\n      ${a} ${n-a} z\n    `:""}(n,r,e.length*r);
2if(Object.keys(v).includes(n)){const t=u(v[n]?.borderRadius);t&&(i=function(e,t,n,r){const i=o*n,a=s*n,l=2*n,[c=0,u=0,d=0,p=0]=t||[];return"topLeft"===e?`\n      M${l} ${l+c}\n      A${c} ${c} 0 0 1 ${l+c} ${l}\n      L${l+a-u} ${l}\n      A${u} ${u} 0 0 1 ${l+a} ${l+u}\n      L${l+a} ${l+a-d}\n      A${d} ${d} 0 0 1 ${l+a-d} ${l+a}\n      L${l+p} ${l+a} \n      A${p} ${p} 0 0 1 ${l} ${l+a-p} z\n    `:"topRight"===e?`\n      M${r-i+l} ${l+c}\n      A${c} ${c} 0 0 1 ${r-i+l+c} ${l}\n      L${r-l-u} ${l}\n      A${u} ${u} 0 0 1 ${r-l} ${l+u}\n      L${r-l} ${l+a-d}\n      A${d} ${d} 0 0 1 ${r-l-d} ${l+a}\n      L${r-i+l+p} ${l+a} \n      A${p} ${p} 0 0 1 ${r-i+l} ${l+a-p} z\n    `:"bottomLeft"===e?`\n      M${l} ${r-i+l+c}\n      A${c} ${c} 0 0 1 ${l+c} ${r-i+l}\n      L${l+a-u} ${r-i+l}\n      A${u} ${u} 0 0 1 ${l+a} ${r-i+l+u}\n      L${l+a} ${r-l-d}\n      A${d} ${d} 0 0 1 ${l+a-d} ${r-l}\n      L${l+p} ${r-l} \n      A${p} ${p} 0 0 1 ${l} ${r-l-p} z\n    `:""}(n,t,r,e.length*r))}C.push((0,T.jsx)(a.Path,{fill:v?.[n]?.gradient?`url(#${n}InnerEyeGradient)`:v?.[n]?.color||void 0,stroke:v?.[n]?.stroke,strokeWidth:v?.[n]?.strokeWidth,scale:v?.[n]?.scale,rotation:v?.[n]?.rotation,origin:t[n],d:i},`${n}InnerEye`))})}return(0,T.jsx)(T.Fragment,{children:C})},A());var O=n(40484),D=n(98943);const N=["errorCorrectionLevel","pieceSize","qrCodeSize","padding","scale","href","x","y","onChange"];function j(e){let{errorCorrectionLevel:t,pieceSize:n,qrCodeSize:o,padding:s=0,scale:l=1,href:u,x:d,y:p,onChange:f}=e,h=(0,r.default)(e,N);const{width:m,height:g}=function({errorCorrectionLevel:e,logoHref:t,logoScale:n,pieceSize:r,qrCodeSize:a}){const[o,s]=(0,i.useState)({width:0,height:0}),l=(0,i.useCallback)((t,i)=>{const[o,l]=[t/D.default.get(),i/D.default.get()],u=o*l,d=t/i,p=a**2*r**2*c[e];let f,h;if(u>p){const e=Math.sqrt(p/d);f=Math.floor(e*d)*n,h=Math.floor(e)*n}else f=o*n,h=l*n;const m=Math.round(f/r),g=Math.round(h/r);m===g?(f=r*(m%2===0?m-1:m),h=f):m>g?(f=r*(m%2===0?m-1:m),h=r*(f%r!==0?g-1:g)):(h=r*(g%2===0?g-1:g),f=r*(h%r!==0?m-1:m)),s({width:f,height:h})},[e,n,r,a]);return(0,i.useEffect)(()=>{if(t){if("number"===typeof t){const{width:e,height:n}=O.default.resolveAssetSource(t);l(e,n)}"string"===typeof t&&O.default.getSize(t,l,()=>{}),"string"!==typeof t&&"number"!==typeof t&&!Array.isArray(t)&&t.uri&&O.default.getSize(t.uri,l,()=>{t.uri})}},[t,l]),o}({errorCorrectionLevel:t,logoHref:u,logoScale:l,pieceSize:n,qrCodeSize:o}),y=n*o,v=m>0&&g>0,b=Number(d??(m?y/2-m/2:0)),_=Number(p??(g?y/2-g/2:0)),w=(0,i.useMemo)(()=>v?{x:b,y:_,width:m,height:g}:void 0,[v,b,_,m,g]);(0,i.useEffect)(()=>{v&&f?.(w)},[v,w]);let k=s;return 2*k>m&&(k=m/2),2*k>g&&(k=g/2),v?(0,T.jsx)(a.Image,Object.assign({href:u,x:b+k,y:_+k,preserveAspectRatio:"xMidYMid meet"},h,{width:m-2*k,height:g-2*k})):null}function F({id:e,size:t,origin:n=[0,0],start:r=[0,0],end:i=[1,1],colors:o=["black","white"],locations:s=[0,1]}){return(0,T.jsx)(a.LinearGradient,{id:e,gradientUnits:"userSpaceOnUse",x1:r[0]*t+n[0],y1:r[1]*t+n[1],x2:i[0]*t+n[0],y2:i[1]*t+n[1],children:o?.map((e,t)=>(0,T.jsx)(a.Stop,{offset:s?.[t],stopColor:e,stopOpacity:"1"},t))})}function M({id:e,size:t,origin:n=[0,0],center:r=[.5,.5],radius:i=[1,1],colors:o=["black","white"],locations:s=[0,1]}){return(0,T.jsx)(a.RadialGradient,{id:e,gradientUnits:"userSpaceOnUse",cx:r[0]*t+n[0],cy:r[1]*t+n[1],rx:i[0]*t,ry:i[1]*t,children:o?.map((e,t)=>(0,T.jsx)(a.Stop,{offset:s?.[t],stopColor:e,stopOpacity:"1"},t))})}const V=["type","options"];function P(e){let{type:t,options:n}=e,i=(0,r.default)(e,V);return"radial"===t?(0,T.jsx)(M,Object.assign({},n,i)):(0,T.jsx)(F,Object.assign({},n,i))}const L=["data","onChangeSize","pieceSize","pieceScale","pieceRotation","pieceCornerType","pieceBorderRadius","pieceStroke","pieceStrokeWidth","pieceLiquidRadius","isPiecesGlued","outerEyesOptions","innerEyesOptions","renderCustomPieceItem","padding","color","gradient","logo","backgroundImage","version","maskPattern","toSJISFunc","errorCorrectionLevel","children","renderBackground"],B=["hidePieces","onChange"];const H=(0,i.forwardRef)(function(e,t){let{data:n="I'm QR Code!",onChangeSize:l,pieceSize:c=I,pieceScale:u,pieceRotation:p,pieceCornerType:f="rounded",pieceBorderRadius:h=0,pieceStroke:m,pieceStrokeWidth:g,pieceLiquidRadius:y,isPiecesGlued:v=!1,outerEyesOptions:b,innerEyesOptions:_,renderCustomPieceItem:w,padding:k,color:S="black",gradient:x,logo:E,backgroundImage:A,version:O,maskPattern:D,toSJISFunc:N,errorCorrectionLevel:F="M",children:M,renderBackgroun
2d:V}=e,H=(0,r.default)(e,L);const W=E||{},{hidePieces:z=!0,onChange:Y}=W,U=(0,r.default)(W,B),[X,G]=(0,i.useState)(),q=(0,i.useMemo)(()=>({version:O,errorCorrectionLevel:F,maskPattern:D,toSJISFunc:N}),[F,D,N,O]),{qrCodeSize:J,bitMatrix:$}=C(n,q),K=c*J;(0,i.useEffect)(()=>{l?.(J)},[J]);const Z=d(b),Q=d(_),ee=Object.assign({},H);if(k){const e=K+2*k;ee.width=e,ee.height=e,ee.viewBox=`-${k} -${k} ${e} ${e}`}const te={topLeft:[0,0],topRight:[K-c*o,0],bottomLeft:[0,K-c*o]},ne={topLeft:[2*c,2*c],topRight:[K-c*s+2*c,2*c],bottomLeft:[2*c,K-c*o+2*c]},re=()=>(0,T.jsx)(R,{bitMatrix:$,isPiecesGlued:v,pieceLiquidRadius:y,pieceBorderRadius:h,pieceCornerType:f,pieceRotation:p,pieceScale:u,pieceSize:c,pieceStroke:m,pieceStrokeWidth:g,outerEyesOptions:Z,innerEyesOptions:Q,renderCustomPieceItem:w,logoArea:z?X:void 0}),ie=e=>{G(e),Y?.(e)},ae=()=>E?(0,T.jsx)(j,Object.assign({},U,{errorCorrectionLevel:F,pieceSize:c,qrCodeSize:J,onChange:ie})):null;return A?(0,T.jsxs)(a.Svg,Object.assign({ref:t,width:K,height:K},ee,{children:[(0,T.jsx)(a.Defs,{children:(0,T.jsx)(a.ClipPath,{id:"image",children:(0,T.jsx)(a.G,{children:re()})})}),V?.(c,$),(0,T.jsx)(a.Image,Object.assign({x:"0",y:"0",width:"100%",height:"100%",preserveAspectRatio:"xMaxYMax slice"},A,{clipPath:"url(#image)"})),ae(),M?.(c,$)]})):(0,T.jsxs)(a.Svg,Object.assign({ref:t,width:K,height:K},ee,{children:[(!!x||!!Z||!!Q)&&(0,T.jsxs)(a.Defs,{children:[!!x&&(0,T.jsx)(P,Object.assign({id:"gradient",size:K},x)),!!Z&&Object.keys(Z).map(e=>(0,T.jsx)(P,Object.assign({id:`${e}CornerSquareGradient`,size:c*o,origin:te[e]},Z?.[e]?.gradient),`${e}CornerSquareGradient`)),!!Q&&Object.keys(Q).map(e=>(0,T.jsx)(P,Object.assign({id:`${e}CornerDotGradient`,size:c*s,origin:ne[e]},Q?.[e]?.gradient),`${e}CornerDotGradient`))]}),V?.(c,$),(0,T.jsx)(a.G,{fill:x?"url(#gradient)":S,children:re()}),ae(),M?.(c,$)]}))});H.displayName="SVGQRCodeStyled";const W=H},78833(e,t,n){"use strict";n.r(t),n.d(t,{SafeAreaConsumer:()=>T,SafeAreaContext:()=>I,SafeAreaFrameContext:()=>b,SafeAreaInsetsContext:()=>v,SafeAreaListener:()=>w,SafeAreaProvider:()=>_,useSafeArea:()=>A,useSafeAreaFrame:()=>C,useSafeAreaInsets:()=>x,withSafeAreaInsets:()=>E});var r=n(98587),i=n(36665),a=n(26725),o=n(75675),s=n(73929);const l={WebkitTransition:"webkitTransitionEnd",Transition:"transitionEnd",MozTransition:"transitionend",MSTransition:"msTransitionEnd",OTransition:"oTransitionEnd"};function c({children:e,style:t,onInsetsChange:n}){return i.useEffect(()=>{if("undefined"===typeof document)return;const e=function(){const e=document.createElement("div"),{style:t}=e;return t.position="fixed",t.left="0",t.top="0",t.width="0",t.height="0",t.zIndex="-1",t.overflow="hidden",t.visibility="hidden",t.transitionDuration="0.05s",t.transitionProperty="padding",t.transitionDelay="0s",t.paddingTop=f("top"),t.paddingBottom=f("bottom"),t.paddingLeft=f("left"),t.paddingRight=f("right"),e}();document.body.appendChild(e);const t=()=>{const{paddingTop:t,paddingBottom:r,paddingLeft:i,paddingRight:a}=window.getComputedStyle(e),o={top:t?parseInt(t,10):0,bottom:r?parseInt(r,10):0,left:i?parseInt(i,10):0,right:a?parseInt(a,10):0},s={x:0,y:0,width:document.documentElement.offsetWidth,height:document.documentElement.offsetHeight};n({nativeEvent:{insets:o,frame:s}})};return e.addEventListener(d(),t),t(),()=>{document.body.removeChild(e),e.removeEventListener(d(),t)}},[n]),i.createElement(s.default,{style:t},e)}let u=null;function d(){if(null!=u)return u;const e=document.createElement("invalidtype");u=l.Transition;for(const t in l)if(void 0!==e.style[t]){u=l[t];break}return u}let p=null;function f(e){return`${function(){if(null!==p)return p;const{CSS:e}=window;return p=e&&e.supports&&e.supports("top: constant(safe-area-inset-top)")?"constant":"env",p}()}(safe-area-inset-${e})`}const h=["children","initialMetrics","initialSafeAreaInsets","style"],m=["onChange","style","children"];function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(null,arguments)}const y=!1,v=i.createContext(null);const b=i.createContext(null);function _(e){let{children:t,initialMetrics:n,initialSafeAreaInsets:o,style:s}=e,l=(0,r.default)(e,h);const u=i.useContext(v),d=i.useContext(b),[p,f]=i.useState(n?.insets??o??u??null),[m,y]=i.useState(n?.frame??d??{x:0,y:0,width:a.default.get("window").width,height:a.default.get("window").height}),_=i.useCallback(e=>{const{nativeEvent:{frame:t,insets:n}}=e;y(e=>!t||t.height===e.height&&t.width===e.width&&t.x===e.x&&t.y===e.y?e:t),f(e=>e&&n.bottom===e.bottom&&n.left===e.left&&n.right===e.right&&n.top===e.top?e:n)},[]);return i.createElement(c,g({style:[k.fill,s],onInsetsChange:_},l),null!=p?i.createElement(b.Provider,{value:m},i.createElement(v.Provider,{value:p},t)):null)}function w(e){let{onChange:t,style:n,children:a}=e,o=(0,r.default)(e,m);return i.createElement(c,g({},o,{style:[k.fill,n],onInsetsChange:e=>{t({insets:e.nativeEvent.insets,frame:e.nativeEvent.frame})}}),a)}const k=o.default.create({fill:{flex:1}});const S="No safe area value available. Make sure you are rendering `<SafeAreaProvider>` at the top of your app.";function x(){const e=i.useContext(v);if(null==e)throw new Error(S);return e}function C(){const e=i.useContext(b);if(null==e)throw new Error(S);return e}
2function E(e){return i.forwardRef((t,n)=>{const r=x();return i.createElement(e,g({},t,{insets:r,ref:n}))})}function A(){return x()}const T=v.Consumer,I=v},61171(e,t,n){"use strict";n.r(t),n.d(t,{SafeAreaView:()=>p});var r=n(98587),i=n(36665),a=n(75675),o=n(73929),s=n(78833);const l=["style","mode","edges"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(null,arguments)}const u={top:"additive",left:"additive",bottom:"additive",right:"additive"};function d(e,t,n){switch(n){case"maximum":return Math.max(t,e);case"additive":return t+e;default:return t}}const p=i.forwardRef((e,t)=>{let{style:n={},mode:p,edges:f}=e,h=(0,r.default)(e,l);const m=(0,s.useSafeAreaInsets)(),g=i.useMemo(()=>null==f?u:Array.isArray(f)?f.reduce((e,t)=>(e[t]="additive",e),{}):f,[f]),y=i.useMemo(()=>{const e=a.default.flatten(n);if("margin"===p){const{margin:t=0,marginVertical:r=t,marginHorizontal:i=t,marginTop:a=r,marginRight:o=i,marginBottom:s=r,marginLeft:l=i}=e,c={marginTop:d(m.top,a,g.top),marginRight:d(m.right,o,g.right),marginBottom:d(m.bottom,s,g.bottom),marginLeft:d(m.left,l,g.left)};return[n,c]}{const{padding:t=0,paddingVertical:r=t,paddingHorizontal:i=t,paddingTop:a=r,paddingRight:o=i,paddingBottom:s=r,paddingLeft:l=i}=e,c={paddingTop:d(m.top,a,g.top),paddingRight:d(m.right,o,g.right),paddingBottom:d(m.bottom,s,g.bottom),paddingLeft:d(m.left,l,g.left)};return[n,c]}},[g.bottom,g.left,g.right,g.top,m.bottom,m.left,m.right,m.top,p,n]);return i.createElement(o.default,c({style:y},h,{ref:t}))})},29555(e,t,n){"use strict";function r({children:e}){return e}n.r(t),n.d(t,{ScrollForwarderView:()=>r})},9231(t,n,r){"use strict";r.r(n),r.d(n,{Circle:()=>B,ClipPath:()=>H,Defs:()=>W,Ellipse:()=>z,FeBlend:()=>Y,FeColorMatrix:()=>U,FeComponentTransfer:()=>X,FeComposite:()=>G,FeConvolveMatrix:()=>q,FeDiffuseLighting:()=>J,FeDisplacementMap:()=>$,FeDistantLight:()=>K,FeDropShadow:()=>Z,FeFlood:()=>Q,FeFuncA:()=>ee,FeFuncB:()=>te,FeFuncG:()=>ne,FeFuncR:()=>re,FeGaussianBlur:()=>ie,FeImage:()=>ae,FeMerge:()=>oe,FeMergeNode:()=>
2se,FeMorphology:()=>le,FeOffset:()=>ce,FePointLight:()=>ue,FeSpecularLighting:()=>de,FeSpotLight:()=>pe,FeTile:()=>fe,FeTurbulence:()=>he,Filter:()=>me,ForeignObject:()=>ge,G:()=>ye,Image:()=>ve,Line:()=>be,LinearGradient:()=>_e,LocalSvg:()=>lt,Marker:()=>we,Mask:()=>ke,Path:()=>Se,Pattern:()=>xe,Polygon:()=>Ce,Polyline:()=>Ee,RadialGradient:()=>Ae,Rect:()=>Te,Stop:()=>Ie,Svg:()=>Re,SvgAst:()=>Be,SvgCss:()=>rt,SvgCssUri:()=>it,SvgFromUri:()=>Ue,SvgFromXml:()=>Ye,SvgUri:()=>ze,SvgWithCss:()=>at,SvgWithCssUri:()=>ot,SvgXml:()=>We,Symbol:()=>Oe,TSpan:()=>De,Text:()=>Ne,TextPath:()=>je,Use:()=>Fe,WithLocalSvg:()=>ct,camelCase:()=>Ge,default:()=>Me,fetchText:()=>a.fetchText,inlineStyles:()=>st,loadLocalRawResource:()=>ut,parse:()=>tt});var i=r(36665),a=r(68979),o=r(98587);const s=e=>{if(e){if(1===e.nodeType&&"function"===typeof e.getBoundingClientRect)return e.getBoundingClientRect()}throw new Error("Can not get boundingClientRect of "+e||0)};function l(){const e=this.state.touchable.responderID;null!==e&&((e,t)=>{const n=null===e||void 0===e?void 0:e.parentNode;n&&setTimeout(()=>{const r=s(n),{height:i,left:a,top:o,width:l}=s(e),c=a-r.left,u=o-r.top;t(c,u,l,i,a,o)},0)})(e,this._handleQueryLayout)}const c=new Set(["stdDeviation","edgeMode","kernelMatrix","kernelUnitLength","preserveAlpha","baseFrequency","targetX","targetY","numOctaves","stitchTiles","filterUnits","primitiveUnits","pathLength","gradientUnits","gradientTransform","spreadMethod","markerHeight","markerUnits","markerWidth","viewBox","refX","refY","maskContentUnits","maskUnits","patternContentUnits","patternTransform","patternUnits","textLength","lengthAdjust","startOffset","clipPathUnits"]),u=e=>c.has(e)?e:(e=>e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()))(e);var d=r(50658);function p(e){return!!(e.onPress||e.onPressIn||e.onPressOut||e.onLongPress)}Math.PI;r(75133),r(18152);const f=e=>e.endsWith("rad")?parseFloat(e)*(180/Math.PI):e.endsWith("deg")?parseFloat(e):void 0;function h(e){return e?e.map(e=>{const[t,n]=Object.entries(e)[0];switch(t){case"translateX":return`translate(${n}, 0)`;case"translateY":return`translate(0, ${n})`;case"rotate":return`rotate(${f(n)})`;case"scale":return`scale(${n})`;case"scaleX":return`scale(${n}, 1)`;case"scaleY":return`scale(1, ${n})`;case"skewX":return`skewX(${f(n)})`;case"skewY":return`skewY(${f(n)})`;case"matrix":return`matrix(${n.join(", ")})`;default:return""}}).join(" "):""}function m(e,t){const n=[];if(t&&n.push(...function(e){const t=[];null!=e.translate&&t.push(`translate(${e.translate})`);null==e.translateX&&null==e.translateY||t.push(`translate(${e.translateX||0}, ${e.translateY||0})`);null!=e.scale&&t.push(`scale(${e.scale})`);null==e.scaleX&&null==e.scaleY||t.push(`scale(${e.scaleX||1}, ${e.scaleY||1})`);null!=e.rotation&&t.push(`rotate(${e.rotation})`);null!=e.skewX&&t.push(`skewX(${e.skewX})`);null!=e.skewY&&t.push(`skewY(${e.skewY})`);return t}(t)),Array.isArray(e))if("number"===typeof e[0])n.push(`matrix(${e.join(" ")})`);else{const t=h(e).split(" ");n.push(...t)}else"string"===typeof e&&n.push(e);return n.length?n.join(" "):void 0}var g=r(75675);var y=r(98943),v=r(35190);const b=/^(data:image\/svg\+xml;utf8,)(.*)/;const _=["transform","origin","originX","originY","fontFamily","fontSize","fontWeight","fontStyle","style","forwardedRef","gradientTransform","patternTransform","onPress"],w=(e,t=e.props)=>{const{transform:n,origin:r,originX:i,originY:a,fontFamily:s,fontSize:l,fontWeight:c,fontStyle:u,style:d,forwardedRef:f,gradientTransform:h,patternTransform:w,onPress:k}=t,S=(0,o.default)(t,_),x=Object.assign({},p(t)?{onStartShouldSetResponder:e.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:e.touchableHandleResponderTerminationRequest,onResponderGrant:e.touchableHandleResponderGrant,onResponderMove:e.touchableHandleResponderMove,onResponderRelease:e.touchableHandleResponderRelease,onResponderTerminate:e.touchableHandleResponderTerminate}:null,S);null!=r?x["transform-origin"]=r.toString().replace(","," "):null==i&&null==a||(x["transform-origin"]=`${i||0} ${a||0}`);const C=m(n,t);C&&(x.transform=C);const E=m(h);E&&(x.gradientTransform=E);const A=m(w);A&&(x.patternTransform=A),x.ref=t=>{e.elementRef.current=t,"function"===typeof f?f(t):f&&(f.current=t)};const T={};var I,R,O;(null!=s&&(T.fontFamily=s),null!=l&&(T.fontSize=l),null!=c&&(T.fontWeight=c),null!=u&&(T.fontStyle=u),x.style=(R=T,(I=d)?g.default?[I,R]:I[Symbol.iterator]?Object.assign({},...I,R):Object.assign({},I,R):R),null!==k&&(x.onClick=t.onPress),null!==t.href&&void 0!==t.href)&&(x.href=null===(O=function(e){let t={};if("number"===typeof e){const n=(0,v.getAssetByID)(e);if(null==n)throw new Error(`Image: asset with ID "${e}" could not be found. Please check the image source or packager.`);if(t={width:n.width,height:n.height,scale:n.scales[0]},n.scales.length>1){const e=y.default.get();t.scale=n.scales.reduce((t,n)=>Math.abs(n-e)<Math.abs(t-e)?n:t)}const r=1!==t.scale?`@${t.scale}x`:"";t.uri=n?`${n.httpServerLocation}/${n.name}${r}.${n.type}`:""}else"string"===typeof e?t.uri=e:e&&!Array.isArray(e)&&"string"===typeof e.uri&&(t.uri=e.ur
2i);if(t.uri){var n;const e=null===(n=t)||void 0===n||null===(n=n.uri)||void 0===n?void 0:n.match(b);if(e){const[,n,r]=e,i=encodeURIComponent(r);return t.uri=`${n}${i}`,t}}return t}(t.href))||void 0===O?void 0:O.uri);return x};function k(e){return`rgba(${e>>16&255},${e>>8&255},${255&e},${((e>>24&255)/255).toFixed(2)})`}var S=r(31077);const x={top:20,left:20,right:20,bottom:30},{Mixin:C}=S.default,{touchableHandleStartShouldSetResponder:E,touchableHandleResponderTerminationRequest:A,touchableHandleResponderGrant:T,touchableHandleResponderMove:I,touchableHandleResponderRelease:R,touchableHandleResponderTerminate:O,touchableGetInitialState:D}=C,N=Object.assign({},C,{touchableHandleStartShouldSetResponder(e){const{onStartShouldSetResponder:t}=this.props;return t?t(e):E.call(this,e)},touchableHandleResponderTerminationRequest(e){const{onResponderTerminationRequest:t}=this.props;return t?t(e):A.call(this,e)},touchableHandleResponderGrant(e){const{onResponderGrant:t}=this.props;return t?t(e):T.call(this,e)},touchableHandleResponderMove(e){const{onResponderMove:t}=this.props;return t?t(e):I.call(this,e)},touchableHandleResponderRelease(e){const{onResponderRelease:t}=this.props;return t?t(e):R.call(this,e)},touchableHandleResponderTerminate(e){const{onResponderTerminate:t}=this.props;return t?t(e):O.call(this,e)},touchableHandlePress(e){const{onPress:t}=this.props;t&&t(e)},touchableHandleActivePressIn(e){const{onPressIn:t}=this.props;t&&t(e)},touchableHandleActivePressOut(e){const{onPressOut:t}=this.props;t&&t(e)},touchableHandleLongPress(e){const{onLongPress:t}=this.props;t&&t(e)},touchableGetPressRectOffset(){const{pressRetentionOffset:e}=this.props;return e||x},touchableGetHitSlop(){const{hitSlop:e}=this.props;return e},touchableGetHighlightDelayMS(){const{delayPressIn:e}=this.props;return e||0},touchableGetLongPressDelayMS(){const{delayLongPress:e}=this.props;return 0===e?0:e||500},touchableGetPressOutDelayMS(){const{delayPressOut:e}=this.props;return e||0}}),j=Object.keys(N),F=j.map(e=>N[e]),M=j.length,V=e=>{for(let t=0;t<M;t++){const n=j[t],r=F[t];e[n]="function"===typeof r?r.bind(e):r}e.state=D()};(Object.getOwnPropertyDescriptor(V,"name")||{}).writable||Object.defineProperty(V,"name",{value:"default",configurable:!0});class P extends i.Component{prepareProps(e){return e}elementRef=i.createRef();lastMergedProps={};setNativeProps(e){const t=Object.assign({},this.props,this.lastMergedProps,e.style);this.lastMergedProps=t;const n=w(this,this.prepareProps(t)),r=this.elementRef.current;if(r)for(const i of Object.keys(n)){const e=n[i];switch(i){case"ref":case"children":break;case"style":for(const e of[].concat(n.style??[]))Object.assign(r.style,e);break;case"fill":if(e&&"object"===typeof e){const t=e;r.setAttribute("fill",k(t.payload))}break;case"stroke":if(e&&"object"===typeof e){const t=e;r.setAttribute("stroke",k(t.payload))}break;default:r.setAttribute(u(i),e)}}}constructor(e){super(e),p(e)&&V(this),this._remeasureMetricsOnActivation=l.bind(this)}render(){if(!this.tag)throw new Error("When extending `WebShape` you need to overwrite either `tag` or `render`!");return this.lastMergedProps={},(0,d.default)(this.tag,w(this,this.prepareProps(this.props)))}}const L=["x","y"];class B extends P{tag="circle"}class H extends P{tag="clipPath"}class W extends P{tag="defs"}class z extends P{tag="ellipse"}class Y extends P{tag="feBlend"}class U extends P{tag="feColorMatrix"}class X extends P{tag="feComponentTransfer"}class G extends P{tag="feComposite"}class q extends P{tag="feConvolveMatrix"}class J extends P{tag="feDiffuseLighting"}class $ extends P{tag="feDisplacementMap"}class K extends P{tag="feDistantLight"}class Z extends P{tag="feDropShadow"}class Q extends P{tag="feFlood"}class ee extends P{tag="feFuncA"}class te extends P{tag="feFuncB"}class ne extends P{tag="feFuncG"}class re extends P{tag="feFuncR"}class ie extends P{tag="feGaussianBlur"}class ae extends P{tag="feImage"}class oe extends P{tag="feMerge"}class se extends P{tag="feMergeNode"}class le extends P{tag="feMorphology"}class ce extends P{tag="feOffset"}class ue extends P{tag="fePointLight"}class de extends P{tag="feSpecularLighting"}class pe extends P{tag="feSpotLight"}class fe extends P{tag="feTile"}class he extends P{tag="feTurbulence"}class me extends P{tag="filter"}class ge extends P{tag="foreignObject"}class ye extends P{tag="g";prepareProps(e){const{x:t,y:n}=e,r=(0,o.default)(e,L);return!t&&!n||r.translate||(r.translate=`${t||0}, ${n||0}`),r}}class ve extends P{tag="image"}class be extends P{tag="line"}class _e extends P{tag="linearGradient"}class we extends P{tag="marker"}class ke extends P{tag="mask"}class Se extends P{tag="path"}class xe extends P{tag="pattern"}class Ce extends P{tag="polygon"}class Ee extends P{tag="polyline"}class Ae extends P{tag="radialGradient"}class Te extends P{tag="rect"}class Ie extends P{tag="stop"}class Re extends P{tag="svg";toDataURL(e,t={}){const n=this.elementRef.current;if(null===n)return;const r=s(n),i=Number(t.width)||r.width,a=Number(t.height)||r.height,o=document.createElementNS("http://www.w3.org/2000/svg","svg");o.setAttribute("viewBox",`0 0 ${r.width} ${r.height}`),o.setAttribute("width",String(i)),o.setAttribute("height",String(a)),o.appendChild(n.cloneNode(!0));const l=new window.Image;var c;l.onload=()=>{const t=document.createElement("canvas");t.width=i,t.height=a;const n=t.getContext("2d");null===n||void 0===n||n.drawImage(l,0,0),e(t.toDataURL().replace("data:image/png;base64,",""))},l.src=`data:image/svg+xml;utf8,${c=(new window.XMLSerializer).serializeToString(o),c.replace("<svg",~c.indexOf("xmlns")?"<svg":'<svg xmlns="http://www.w3.org/2000/svg"').replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/{/g,"%7B").replace(/}/g,"%7D").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}`}}class Oe extends P{tag="symbol"}class De extends P{tag="tspan"}class Ne extends P{tag="text"}class je extends P{tag="textPath"}class Fe extends P{tag="use"}const Me=Re,Ve={circle:B,clipPath:H,defs:W,ellipse:z,filter:me,feBlend:Y,feColorMatrix:U,feComponentTransfer:X,feComposite:G,feConvolveMatrix:q,feDiffuseLighting:J,feDisplacementMap:$,feDistantLight:K,feDropShadow:Z,feFlood:Q,feGaussianBlur:ie,feImage:ae,feMerge:oe,feMergeNode:se,feMorphology:le,feOffset:ce,fePointLight:ue,feSpecularLighting:de,feSpotLight:pe,feTile:fe,feTurbulence:he,foreignObject:ge,g:ye,image:ve,line:be,linearGradient:_e,marker:we,mask:ke,path:Se,pattern:xe,polygon:Ce,polyline:Ee,radialGradient:Ae,rect:Te,stop:Ie,svg:Re,symbol
2:Oe,text:Ne,textPath:je,tspan:De,use:Fe};function Pe(){return Pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pe.apply(null,arguments)}function Le(){return null}function Be({ast:e,override:t}){if(!e)return null;const{props:n,children:r}=e,a=Ve.svg;return i.createElement(a,Pe({},n,t),r)}const He=function(){};function We(e){const{onError:t=He,xml:n,override:r,fallback:a}=e;try{const t=(0,i.useMemo)(()=>null!==n?tt(n):null,[n]);return i.createElement(Be,{ast:t,override:r||e})}catch(o){return t(o),a??null}}function ze(e){const{onError:t=He,uri:n,onLoad:r,fallback:o}=e,[s,l]=(0,i.useState)(null),[c,u]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{n?(0,a.fetchText)(n).then(e=>{l(e),c&&u(!1),null===r||void 0===r||r()}).catch(e=>{t(e),u(!0)}):l(null)},[t,n,r]),c?o??null:i.createElement(We,{xml:s,override:e,fallback:o})}class Ye extends i.Component{state={ast:null};componentDidMount(){this.parse(this.props.xml)}componentDidUpdate(e){const{xml:t}=this.props;t!==e.xml&&this.parse(t)}parse(t){const{onError:n=He}=this.props;try{this.setState({ast:t?tt(t):null})}catch(e){const r=e;n(Object.assign({},r,{message:`[RNSVG] Couldn't parse SVG, reason: ${r.message}`}))}}render(){const{props:e,state:{ast:t}}=this;return i.createElement(Be,{ast:t,override:e.override||e})}}class Ue extends i.Component{state={xml:null};componentDidMount(){this.fetch(this.props.uri)}componentDidUpdate(e){const{uri:t}=this.props;t!==e.uri&&this.fetch(t)}async fetch(t){try{this.setState({xml:t?await(0,a.fetchText)(t):null})}catch(e){}}render(){const{props:e,state:{xml:t}}=this;return i.createElement(Ye,{xml:t,override:e,onError:e.onError})}}const Xe=(e,t)=>t.toUpperCase(),Ge=e=>e.replace(/[:-]([a-z])/g,Xe);function qe(e,t){if("object"===typeof e){const{Tag:n,props:r,children:a}=e;return null!==r&&void 0!==r&&r.class&&(r.className=r.class,delete r.class),i.createElement(n,Pe({key:t},r),a.map(qe))}return e}function Je(e,t){let n="";for(;t--;)n+=e;return n}const $e=e=>Je("  ",e.length);const Ke=/[a-zA-Z0-9:_-]/,Ze=/<!--/,Qe=/[\s\t\r\n]/,et=/['"]/;function tt(e,t){const n=e.length;let r,i=null,a=function(){for(;v+1<n&&("<"!==e[v]||!Ke.test(e[v+1])&&!Ze.test(e.slice(v,v+4)));)v++;return c()},o=null;const s=[];function l(t){const{line:n,column:r,snippet:i}=function(e,t){const n=e.split("\n"),r=n.length;let i=t,a=0;for(;a<r;a++){const{length:e}=n[a];if(!(i>=e))break;i-=e}const o=e.slice(0,t).replace(/^\t+/,$e),s=/(^|\n).*$/.exec(o),l=s&&s[0]||"",c=e.slice(t),u=/.*(\n|$)/.exec(c);return{line:a,column:i,snippet:`${l}${u&&u[0]}\n${Je(" ",l.length)}^`}}(e,v);throw new Error(`${t} (${n}:${r}). If this is valid SVG, it's probably a bug. Please raise an issue\n\n${i}`)}function c(){let t,r="";for(;v<n&&"<"!==(t=e[v]);)r+=t,v+=1;return/\S/.test(r)&&o.push(r),"<"===e[v]?u:c}function u(){const t=e[v];if("?"===t)return c;if("!"===t){const t=v+1;if("--"===e.slice(t,v+3))return d;const n=v+8;if("[CDATA["===e.slice(t,n))return p;if(/doctype/i.test(e.slice(t,n)))return f}if("/"===t)return h;const a=m(),u={},b={tag:a,props:u,children:[],parent:i,Tag:Ve[a]||Le};i?o.push(b):r=b,function(t){for(;v<n;){if(!Qe.test(e[v]))return;y();const n=m();if(!n)return;let r=!0;y(),"="===e[v]&&(v+=1,y(),r=g(),"id"===n||isNaN(+r)||""===r.trim()||(r=+r)),t[Ge(n)]=r}}(u);const{style:_}=u;"string"===typeof _&&(b.styles=_,u.style=function(e){const t={},n=e.split(";").filter(e=>e.trim()),{length:r}=n;for(let i=0;i<r;i++){const e=n[i];if(0!==e.length){const n=e.split(":"),r=n[0],i=n[1];t[Ge(r.trim())]=i.trim()}}return t}(_));let w=!1;return"/"===e[v]&&(v+=1,w=!0),">"!==e[v]&&l("Expected >"),w||(i=b,({children:o}=b),s.push(b)),c}function d(){const t=e.indexOf("--\x3e",v);return~t||l("expected --\x3e"),v=t+2,c}function p(){const t=e.indexOf("]]>",v);return~t||l("expected ]]>"),o.push(e.slice(v+7,t)),v=t+2,c}function f(){const t=e.indexOf(">",v);return-1===t&&l("expected >"),v=t,c}function h(){const t=m();return t||l("Expected tag name"),i&&t!==i.tag&&l(`Expected closing tag </${t}> to match opening tag <${i.tag}>`),y(),">"!==e[v]&&l("Expected >"),s.pop(),i=s[s.length-1],i&&({children:o}=i),c}function m(){let t,r="";for(;v<n&&Ke.test(t=e[v]);)r+=t,v+=1;return r}function g(){return et.test(e[v])?function(){const t=e[v++];let r="",i=!1;for(;v<n;){const n=e[v++];if(n===t&&!i)return r;"\\"!==n||i||(i=!0),r+=i?`\\${n}`:n,i=!1}return r}():function(){let t="";do{const n=e[v];
2if(" "===n||">"===n||"/"===n)return t;t+=n,v+=1}while(v<n);return t}()}function y(){for(;v<n&&Qe.test(e[v]);)v+=1}let v=0;for(;v<n;)a||l("Unexpected character"),a=a(),v+=1;if(a!==c&&l("Unexpected end of input"),r){const e=(t?t(r):r)||r,n=e.children.map(qe),i=e;return i.children=n,i}return null}function nt(e,t){throw Error(`[react-native-svg] You are trying to import a ${t} \`${e}\` that has been moved to a sub-package. Change your import from \`react-native-svg\` to \`react-native-svg/css\`.`)}function rt(){nt("SvgCss","component")}function it(){nt("SvgCssUri","component")}function at(){nt("SvgWithCss","component")}function ot(){nt("SvgWithCssUri","component")}function st(){nt("inlineStyles","function")}function lt(){nt("LocalSvg","component")}function ct(){nt("WithLocalSvg","component")}function ut(){nt("loadLocalRawResource","function")}},75133(e){"use strict";function t(e,n,r,i){this.message=e,this.expected=n,this.found=r,this.location=i,this.name="SyntaxError","function"===typeof Error.captureStackTrace&&Error.captureStackTrace(this,t)}!function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(t,Error),t.buildMessage=function(e,t){var n={literal:function(e){return'"'+i(e.text)+'"'},class:function(e){var t,n="";for(t=0;t<e.parts.length;t++)n+=e.parts[t]instanceof Array?a(e.parts[t][0])+"-"+a(e.parts[t][1]):a(e.parts[t]);return"["+(e.inverted?"^":"")+n+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function i(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}function a(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}function o(e){return n[e.type](e)}return"Expected "+function(e){var t,n,r=new Array(e.length);for(t=0;t<e.length;t++)r[t]=o(e[t]);if(r.sort(),r.length>0){for(t=1,n=1;t<r.length;t++)r[t-1]!==r[t]&&(r[n]=r[t],n++);r.length=n}switch(r.length){case 1:return r[0];case 2:return r[0]+" or "+r[1];default:return r.slice(0,-1).join(", ")+", or "+r[r.length-1]}}(e)+" but "+function(e){return e?'"'+i(e)+'"':"end of input"}(t)+" found."}
2,e.exports={SyntaxError:t,parse:function(e,n){n=void 0!==n?n:{};var r,i={},a={transformList:de},o=de,s=function(e){return e},l=function(e,t){return function(e,t){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],l=t[0],c=t[1],u=t[2],d=t[3],p=t[4],f=t[5];return[n*l+r*d,n*c+r*p,n*u+r*f+i,a*l+o*d,a*c+o*p,a*u+o*f+s]}(e,t)},c="matrix",u=ie("matrix",!1),d="(",p=ie("(",!1),f=")",h=ie(")",!1),m=function(e,t,n,r,i,a){return[e,n,i,t,r,a]},g="translate",y=ie("translate",!1),v=function(e,t){return[1,0,e,0,1,t||0]},b="scale",_=ie("scale",!1),w=function(e,t){return[e,0,0,0,null===t?e:t,0]},k="rotate",S=ie("rotate",!1),x=function(e,t){var n=Math.cos(Se*e),r=Math.sin(Se*e);if(null!==t){var i=t[0],a=t[1];return[n,-r,n*-i+-r*-a+i,r,n,r*-i+n*-a+a]}return[n,-r,0,r,n,0]},C="skewX",E=ie("skewX",!1),A=function(e){return[1,Math.tan(Se*e),0,0,1,0]},T="skewY",I=ie("skewY",!1),R=function(e){return[1,0,0,Math.tan(Se*e),1,0]},O=function(e){return parseFloat(e.join(""))},D=function(e){return parseInt(e.join(""))},N=function(e){return e},j=function(e,t){return[e,t]},F=",",M=ie(",",!1),V=function(e){return e.join("")},P=function(e){return e.join("")},L=function(e){return e.join("")},B=oe("fractionalConstant"),H=".",W=ie(".",!1),z=function(e,t){return[e?e.join(""):null,".",t.join("")].join("")},Y=/^[eE]/,U=ae(["e","E"],!1,!1),X=function(e){return[e[0],e[1],e[2].join("")].join("")},G=/^[+\-]/,q=ae(["+","-"],!1,!1),J=/^[0-9]/,$=ae([["0","9"]],!1,!1),K=/^[ \t\r\n]/,Z=ae([" ","\t","\r","\n"],!1,!1),Q=0,ee=[{line:1,column:1}],te=0,ne=[],re=0;if("startRule"in n){if(!(n.startRule in a))throw new Error("Can't start parsing from rule \""+n.startRule+'".');o=a[n.startRule]}function ie(e,t){return{type:"literal",text:e,ignoreCase:t}}function ae(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function oe(e){return{type:"other",description:e}}function se(t){var n,r=ee[t];if(r)return r;for(n=t-1;!ee[n];)n--;for(r={line:(r=ee[n]).line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return ee[t]=r,r}function le(e,t){var n=se(e),r=se(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function ce(e){Q<te||(Q>te&&(te=Q,ne=[]),ne.push(e))}function ue(e,n,r){return new t(t.buildMessage(e,n),e,n,r)}function de(){var e,t,n,r,a;for(e=Q,t=[],n=ke();n!==i;)t.push(n),n=ke();if(t!==i)if((n=pe())===i&&(n=null),n!==i){for(r=[],a=ke();a!==i;)r.push(a),a=ke();r!==i?e=t=s(n):(Q=e,e=i)}else Q=e,e=i;else Q=e,e=i;return e}function pe(){var e,t,n,r;if(e=Q,(t=fe())!==i){for(n=[],r=ge();r!==i;)n.push(r),r=ge();n!==i&&(r=pe())!==i?e=t=l(t,r):(Q=e,e=i)}else Q=e,e=i;return e===i&&(e=fe()),e}function fe(){var t;return(t=function(){var t,n,r,a,o,s,l,g,y,v,b,_,w;t=Q,e.substr(Q,6)===c?(n=c,Q+=6):(n=i,0===re&&ce(u));if(n!==i){for(r=[],a=ke();a!==i;)r.push(a),a=ke();if(r!==i)if(40===e.charCodeAt(Q)?(a=d,Q++):(a=i,0===re&&ce(p)),a!==i){for(o=[],s=ke();s!==i;)o.push(s),s=ke();if(o!==i)if((s=he())!==i)if(ge()!==i)if((l=he())!==i)if(ge()!==i)if((g=he())!==i)if(ge()!==i)if((y=he())!==i)if(ge()!==i)if((v=he())!==i)if(ge()!==i)if((b=he())!==i){for(_=[],w=ke();w!==i;)_.push(w),w=ke();_!==i?(41===e.charCodeAt(Q)?(w=f,Q++):(w=i,0===re&&ce(h)),w!==i?t=n=m(s,l,g,y,v,b):(Q=t,t=i)):(Q=t,t=i)}else Q=t,t=i;else Q=t,t=i;else Q=t,t=i;else Q=t,t=i;else Q=t,t=i;else Q=t,t=i;else Q=t,t=i;else Q=t,t=i;else Q=t,t=i;else Q=t,t=i;else Q=t,t=i;else Q=t,t=i}else Q=t,t=i;else Q=t,t=i}else Q=t,t=i;return t}())===i&&(t=function(){var t,n,r,a,o,s,l,c,u;t=Q,e.substr(Q,9)===g?(n=g,Q+=9):(n=i,0===re&&ce(y));if(n!==i){for(r=[],a=ke();a!==i;)r.push(a),a=ke();if(r!==i)if(40===e.charCodeAt(Q)?(a=d,Q++):(a=i,0===re&&ce(p)),a!==i){for(o=[],s=ke();s!==i;)o.push(s),s=ke();if(o!==i)if((s=he())!==i)if((l=me())===i&&(l=null),l!==i){for(c=[],u=ke();u!==i;)c.push(u),u=ke();c!==i?(41===e.charCodeAt(Q)?(u=f,Q++):(u=i,0===re&&ce(h)),u!==i?t=n=v(s,l):(Q=t,t=i)):(Q=t,t=i)}else Q=t,t=i;else Q=t,t=i;else Q=t,t=i}else Q=t,t=i;else Q=t,t=i}else Q=t,t=i;return t}())===i&&(t=function(){var t,n,r,a,o,s,l,c,u;t=Q,e.substr(Q,5)===b?(n=b,Q+=5):(n=i,0===re&&ce(_));if(n!==i){for(r=[],a=ke();a!==i;)r.push(a),a=ke();if(r!==i)if(40===e.charCodeAt(Q)?(a=d,Q++):(a=i,0===re&&ce(p)),a!==i){for(o=[],s=ke();s!==i;)o.push(s),s=ke();if(o!==i)if((s=he())!==i)if((l=me())===i&&(l=null),l!==i){for(c=[],u=ke();u!==i;)c.push(u),u=ke();c!==i?(41===e.charCodeAt(Q)?(u=f,Q++):(u=i,0===re&&ce(h)),u!==i?t=n=w(s,l):(Q=t,t=i)):(Q=t,t=i)}else Q=t,t=i;else Q=t,t=i;else Q=t,t=i}else Q=t,t=i;else Q=t,t=i}else Q=t,t=i;return t}())===i&&(t=function(){var t,n,r,a,o,s,l,c,u;t=Q,e.substr(Q,6)===k?(n=k,Q+=6):(n=i,0===re&&ce(S));if(n!==i){for(r=[],a=ke();a!==i;)r.push(a),a=ke();if(r!==i)if(40===e.charCodeAt(Q)?(a=d,Q++):(a=i,0===re&&ce(p)),a!==i){for(o=[],s=ke();s!==i;)o.push(s),s=ke();if(o!==i)if((s=he())!==i)if(l=function(){var e,t,n,r;e=Q,t=ge(),t!==i&&(n=he())!==i&&ge()!==i&&(r=he())!==i?e=t=j(n,r):(Q=e,e=i);return e}(),l===i&&(l=null),l!==i){for(c=[],u=ke();u!==i;)c.push(u),u=ke();c!==i?(41===e.charCodeAt(Q)?(u=f,Q++):(u=i,0===re&&ce(h)),u!==i?t=n=x(s,l):(Q=t,t=i)):(Q=t,t=i)}else Q=t,t=i;else Q=t,t=i;else Q=t,t=i}else Q=t,t=i;else Q=t,t=i}else Q=t,t=i;return t}())===i&&(t=function(){var t,n,r,a,o,s,l,c;t=Q,e.substr(Q,5)===C?(n=C,Q+=5):(n=i,0===re&&ce(E));if(n!==i){for(r=[],a=ke();a!==i;)r.push(a),a=ke();if(r!==i)if(40===e.charCodeAt(Q)?(a=d,Q++):(a=i,0===re&&ce(p)),a!==i){for(o=[],s=ke();s!==i;)o.push(s),s=ke();if(o!==i)if((s=he())!==i){for(l=[],c=ke();c!==i;)l.push(c),c=ke();l!==i?(41===e.charCodeAt(Q)?(c=f,Q++):(c=i,0===re&&ce(h)),c!==i?t=n=A(s):(Q=t,t=i)):(Q=t,t=i)}else Q=t,t=i;else Q=t,t=i}else Q=t,t=i;else Q=t,t=i}else Q=t,t=i;return t}())===i&&(t=function(){var t,n,r,a,o,s,l,c;t=Q,e.substr(Q,5)===T?(n=T,Q+=5):(n=i,0===re&&ce(I));if(n!==i){for(r=[],a=ke();a!==i;)r.push(a),a=ke();if(r!==i)if(40===e.charCodeAt(Q)?(a=d,Q++):(a=i,0===re&&ce(p)),a!==i){for(o=[],s=ke();s!==i;)o.push(s),s=ke();if(o!==i)if((s=he())!==i){for(l=[],c=ke();c!==i;)l.push(c),c=ke();l!==i?(41===e.charCodeAt(Q)?(c=f,Q++):(c=i,0===re&&ce(h)),c!==i?t=n=R(s):(Q=t,t=i)):(Q=t,t=i)}else Q=t,t=i;else Q=t,t=i}else Q=t,t=i;else Q=t,t=i}else Q=t,t=i;return t}()),t}function he(){var t,n,r,a;return t=Q,n=Q,(r=be())===i&&(r=null),r!==i?(a=function(){var t,n,r,a;t=Q,n=Q,r=function(){var t,n,r,a;re++,t=Q,n=_e(),n===i&&(n=null);n!==i?(46===e.charCodeAt(Q)?(r=H,Q++):(r=i,0===re&&ce(W)),r!==i&&(a=_e())!==i?t=n=z(n,a):(Q=t,t=i)):(Q=t,t=i);t===i&&(t=Q,(n=_e())!==i?(46===e.charCodeAt(Q)?(r=H,Q++):(r=i,0===re&&ce(W)),r!==i?t=n=L(n):(Q=t,t=i)):(Q=t,t=i));re--,t===i&&(n=i,0===re&&ce(B));return t}(),r!==i?((a=ve())===i&&(a=null),a!==i?n=r=[r,a]:(Q=n,n=i)):(Q=n,n=i);n!==i&&(n=P(n));t=n,t===i&&(t=Q,n=Q,(r=_e())!==i&&(a=ve())!==i?n=r=[r,a]:(Q=n,n=i),n!==i&&(n=L(n)),t=n);return t}(),a!==i?n=r=[r,a]:(Q=n,n=i)):(Q=n,n=i),n!==i&&(n=O(n)),(t=n)===i&&(t=Q,n=Q,(r=be())===i&&(r=null),r!==i?(a=function(){var e,t;e=Q,t=_e(),t!==i&&(t=V(t));return e=t,e}(),a!==i?n=r=[r,a]:(Q=n,n=i)):(Q=n,n=i),n!==i&&(n=D(n)),t=n),t}function me(){var e,t;return e=Q,ge()!==i&&(t=he())!==i?e=N(t):(Q=e,e=i),e}function ge(){var e,t,n,r,a;if(e=Q,t=[],(n=ke())!==i)for(;n!==i;)t.push(n),n=ke();else t=i;if(t!==i)if((n=ye())===i&&(n=null),n!==i){for(r=[],a=ke();a!==i;)r.push(a),a=ke();r!==i?e=t=[t,n,r]:(Q=e,e=i)}else Q=e,e=i;else Q=e,e=i;if(e===i)if(e=Q,(t=ye())!==i){for(n=[],r=ke();r!==i;)n.push(r),r=ke();n!==i?e=t=[t,n]:(Q=e,e=i)}else Q=e,e=i;return e}function ye(){var t;return 44===e.charCodeAt(Q)?(t=F,Q++):(t=i,0===re&&ce(M)),t}function ve(){var t,n,r,a,o;return t=Q,n=Q,Y.test(e.charAt(Q))?(r=e.charAt(Q),Q++):(r=i,0===re&&ce(U)),r!==i?((a=be())===i&&(a=null),a!==i&&(o=_e())!==i?n=r=[r,a,o]:(Q=n,n=i)):(Q=n,n=i),n!==i&&(n=X(n)),t=n}function be(){var t;return G.test(e.charAt(Q))?(t=e.charAt(Q),Q++):(t=i,0===re&&ce(q)),t}function _e(){var e,t;if(e=[],(t=we())!==i)for(;t!==i;)e.push(t),t=we();else e=i;return e}function we(){var t;return J.test(e.charAt(Q))?(t=e.charAt(Q),Q++):(t=i,0===re&&ce($)),t}function ke(){var t;return K.test(e.charAt(Q))?(t=e.charAt(Q),Q++):(t=i,0===re&&ce(Z)),t}var Se=Math.PI/180;if((r=o())!==i&&Q===e.length)return r;throw r!==i&&Q<e.length&&ce({type:"end"}),ue(ne,te<e.length?e.charAt(te):null,te<e.length?le(te,te+1):le(te,te))}}},18152(e){"use strict";function t(e,n,r,i){var a=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(a,t.prototype),a.expected=n,a.found=r,a.location=i,a.name="SyntaxError",a}function n(e,t,n){return n=n||" ",e.length>t?e:(t-=e.length,e+(n+=n.repeat(t)).slice(0,t))}!function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(t,Error),t.prototype.format=function(e){var t="Error: "+this.message;if(this.location){var r,i=null;for(r=0;r<e.length;r++)if(e[r].source===this.location.source){i=e[r].text.split(/\r\n|\n|\r/g);break}var a=this.location.start,o=this.location.source&&"function"===typeof this.location.source.offset?this.location.source.offset(a):a,s=this.location.source+":"+o.line+":"+o.column;if(i){var l=this.location.end,c=n("",o.line.toString().length," "),u=i[a.line-1],d=(a.line===l.line?l.column:u.length+1)-a.column||1;
2t+="\n --\x3e "+s+"\n"+c+" |\n"+o.line+" | "+u+"\n"+c+" | "+n("",a.column-1," ")+n("",d,"^")}else t+="\n at "+s}return t},t.buildMessage=function(e,t){var n={literal:function(e){return'"'+i(e.text)+'"'},class:function(e){var t=e.parts.map(function(e){return Array.isArray(e)?a(e[0])+"-"+a(e[1]):a(e)});return"["+(e.inverted?"^":"")+t.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(e){return e.description}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function i(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}function a(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}function o(e){return n[e.type](e)}return"Expected "+function(e){var t,n,r=e.map(o);if(r.sort(),r.length>0){for(t=1,n=1;t<r.length;t++)r[t-1]!==r[t]&&(r[n]=r[t],n++);r.length=n}switch(r.length){case 1:return r[0];case 2:return r[0]+" or "+r[1];default:return r.slice(0,-1).join(", ")+", or "+r[r.length-1]}}(e)+" but "+function(e){return e?'"'+i(e)+'"':"end of input"}(t)+" found."},e.exports={StartRules:["start"],SyntaxError:t,parse:function(e,n){var r,i={},a=(n=void 0!==n?n:{}).grammarSource,o={start:he},s=he,l="matrix(",c=")",u="translate(",d="scale(",p="rotate(",f="skewX(",h="skewY(",m=".",g="e",y=/^[ \t\n\r,]/,v=/^[ \t\n\r]/,b=/^[+\-]/,_=/^[0-9]/,w=ce("transform functions"),k=ce("transformFunctions"),S=ce("transform function"),x=ce("matrix"),C=se("matrix(",!1),E=se(")",!1),A=ce("translate"),T=se("translate(",!1),I=ce("scale"),R=se("scale(",!1),O=ce("rotate"),D=se("rotate(",!1),N=ce("x, y"),j=ce("skewX"),F=se("skewX(",!1),M=ce("skewY"),V=se("skewY(",!1),P=ce("space or comma"),L=le([" ","\t","\n","\r",","],!1,!1),B=ce("whitespace"),H=le([" ","\t","\n","\r"],!1,!1),W=le(["+","-"],!1,!1),z=le([["0","9"]],!1,!1),Y=se(".",!1),U=se("e",!1),X=function(e,t){const n=Array.isArray(e)?e:[e];return t.forEach(e=>{Array.isArray(e[1])?n.push(...e[1]):n.push(e[1])}),n},G=function(e,t,n,r,i,a,o,s,l){return{matrix:[e,t,n,r,i,a,o,s,l]}},q=function(e,t){return void 0==t?{translate:e}:{translate:[e,t]}},J=function(e,t){return void 0==t?{scale:e}:[{scaleX:e},{scaleY:t}]},$=function(e,t){return null!==t?{rotate:`${e}deg`}:[{rotate:`${e}deg`}]},K=function(e,t){return[e,t]},Z=function(e){return[{skewX:`${e}deg`}]},Q=function(e){return[{skewY:`${e}deg`}]},ee=function(){return parseFloat(e.substring(ne,te))},te=0|n.peg$currPos,ne=te,re=[{line:1,column:1}],ie=te,ae=n.peg$maxFailExpected||[],oe=0|n.peg$silentFails;if(n.startRule){if(!(n.startRule in o))throw new Error("Can't start parsing from rule \""+n.startRule+'".');s=o[n.startRule]}function se(e,t){return{type:"literal",text:e,ignoreCase:t}}function le(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function ce(e){return{type:"other",description:e}}function ue(t){var n,r=re[t];if(r)return r;if(t>=re.length)n=re.length-1;else for(n=t;!re[--n];);for(r={line:(r=re[n]).line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return re[t]=r,r}function de(e,t,n){var r=ue(e),i=ue(t),o={source:a,start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:i.line,column:i.column}};return n&&a&&"function"===typeof a.offset&&(o.start=a.offset(o.start),o.end=a.offset(o.end)),o}function pe(e){te<ie||(te>ie&&(ie=te,ae=[]),ae.push(e))}function fe(e,n,r){return new t(t.buildMessage(e,n),e,n,r)}function he(){var e;return oe++,e=function(){var e,t,n,r,a,o;if(oe++,e=te,t=me(),t!==i){for(n=[],r=te,a=ye(),(o=me())!==i?r=a=[a,o]:(te=r,r=i);r!==i;)n.push(r),r=te,a=ye(),(o=me())!==i?r=a=[a,o]:(te=r,r=i);ne=e,e=X(t,n)}else te=e,e=i;oe--,e===i&&(t=i,0===oe&&pe(k));return e}(),oe--,e===i&&(0===oe&&pe(w)),e}function me(){var t;return oe++,(t=function(){var t,n,r,a,o,s,u,d,p,f,h,m;
2oe++,t=te,ye(),e.substr(te,7)===l?(n=l,te+=7):(n=i,0===oe&&pe(C));n!==i?(ye(),(r=ve())!==i?(ge(),(a=ve())!==i?(ge(),(o=ve())!==i?(ge(),(s=ve())!==i?(ge(),(u=ve())!==i?(ge(),(d=ve())!==i?(ge(),(p=ve())!==i?(ge(),(f=ve())!==i?(ge(),(h=ve())!==i?(ye(),41===e.charCodeAt(te)?(m=c,te++):(m=i,0===oe&&pe(E)),m!==i?(ye(),ne=t,t=G(r,a,o,s,u,d,p,f,h)):(te=t,t=i)):(te=t,t=i)):(te=t,t=i)):(te=t,t=i)):(te=t,t=i)):(te=t,t=i)):(te=t,t=i)):(te=t,t=i)):(te=t,t=i)):(te=t,t=i)):(te=t,t=i);oe--,t===i&&(0===oe&&pe(x));return t}())===i&&(t=function(){var t,n,r,a,o;oe++,t=te,ye(),e.substr(te,10)===u?(n=u,te+=10):(n=i,0===oe&&pe(T));n!==i?(ye(),(r=ve())!==i?(ge(),(a=ve())===i&&(a=null),ye(),41===e.charCodeAt(te)?(o=c,te++):(o=i,0===oe&&pe(E)),o!==i?(ye(),ne=t,t=q(r,a)):(te=t,t=i)):(te=t,t=i)):(te=t,t=i);oe--,t===i&&(0===oe&&pe(A));return t}())===i&&(t=function(){var t,n,r,a,o;oe++,t=te,ye(),e.substr(te,6)===d?(n=d,te+=6):(n=i,0===oe&&pe(R));n!==i?(ye(),(r=ve())!==i?(ge(),(a=ve())===i&&(a=null),ye(),41===e.charCodeAt(te)?(o=c,te++):(o=i,0===oe&&pe(E)),o!==i?(ye(),ne=t,t=J(r,a)):(te=t,t=i)):(te=t,t=i)):(te=t,t=i);oe--,t===i&&(0===oe&&pe(I));return t}())===i&&(t=function(){var t,n,r,a,o;oe++,t=te,ye(),e.substr(te,7)===p?(n=p,te+=7):(n=i,0===oe&&pe(D));n!==i?(ye(),(r=ve())!==i?(a=function(){var e,t,n;oe++,e=te,ge(),t=ve(),t!==i?(ge(),(n=ve())!==i?(ne=e,e=K(t,n)):(te=e,e=i)):(te=e,e=i);oe--,e===i&&(0===oe&&pe(N));return e}(),a===i&&(a=null),ye(),41===e.charCodeAt(te)?(o=c,te++):(o=i,0===oe&&pe(E)),o!==i?(ye(),ne=t,t=$(r,a)):(te=t,t=i)):(te=t,t=i)):(te=t,t=i);oe--,t===i&&(0===oe&&pe(O));return t}())===i&&(t=function(){var t,n,r,a;oe++,t=te,ye(),e.substr(te,6)===f?(n=f,te+=6):(n=i,0===oe&&pe(F));n!==i?(ye(),(r=ve())!==i?(ye(),41===e.charCodeAt(te)?(a=c,te++):(a=i,0===oe&&pe(E)),a!==i?(ye(),ne=t,t=Z(r)):(te=t,t=i)):(te=t,t=i)):(te=t,t=i);oe--,t===i&&(0===oe&&pe(j));return t}())===i&&(t=function(){var t,n,r,a;oe++,t=te,ye(),e.substr(te,6)===h?(n=h,te+=6):(n=i,0===oe&&pe(V));n!==i?(ye(),(r=ve())!==i?(ye(),41===e.charCodeAt(te)?(a=c,te++):(a=i,0===oe&&pe(E)),a!==i?(ye(),ne=t,t=Q(r)):(te=t,t=i)):(te=t,t=i)):(te=t,t=i);oe--,t===i&&(0===oe&&pe(M));return t}()),oe--,t===i&&(0===oe&&pe(S)),t}function ge(){var t,n;for(oe++,t=[],n=e.charAt(te),y.test(n)?te++:(n=i,0===oe&&pe(L));n!==i;)t.push(n),n=e.charAt(te),y.test(n)?te++:(n=i,0===oe&&pe(L));return oe--,n=i,0===oe&&pe(P),t}function ye(){var t,n;for(oe++,t=[],n=e.charAt(te),v.test(n)?te++:(n=i,0===oe&&pe(H));n!==i;)t.push(n),n=e.charAt(te),v.test(n)?te++:(n=i,0===oe&&pe(H));return oe--,n=i,0===oe&&pe(B),t}function ve(){var t,n,r,a,o,s,l,c;for(t=te,n=e.charAt(te),b.test(n)?te++:(n=i,0===oe&&pe(W)),n===i&&(n=null),r=te,a=[],o=e.charAt(te),_.test(o)?te++:(o=i,0===oe&&pe(z));o!==i;)a.push(o),o=e.charAt(te),_.test(o)?te++:(o=i,0===oe&&pe(z));if(46===e.charCodeAt(te)?(o=m,te++):(o=i,0===oe&&pe(Y)),o!==i){if(s=[],l=e.charAt(te),_.test(l)?te++:(l=i,0===oe&&pe(z)),l!==i)for(;l!==i;)s.push(l),l=e.charAt(te),_.test(l)?te++:(l=i,0===oe&&pe(z));else s=i;s!==i?r=a=[a,o,s]:(te=r,r=i)}else te=r,r=i;if(r===i)if(r=[],a=e.charAt(te),_.test(a)?te++:(a=i,0===oe&&pe(z)),a!==i)for(;a!==i;)r.push(a),a=e.charAt(te),_.test(a)?te++:(a=i,0===oe&&pe(z));else r=i;if(r!==i){if(a=te,101===e.charCodeAt(te)?(o=g,te++):(o=i,0===oe&&pe(U)),o!==i){if(s=e.charAt(te),b.test(s)?te++:(s=i,0===oe&&pe(W)),s===i&&(s=null),l=[],c=e.charAt(te),_.test(c)?te++:(c=i,0===oe&&pe(z)),c!==i)for(;c!==i;)l.push(c),c=e.charAt(te),_.test(c)?te++:(c=i,0===oe&&pe(z));else l=i;l!==i?a=o=[o,s,l]:(te=a,a=i)}else te=a,a=i;a===i&&(a=null),ne=t,t=ee()}else te=t,t=i;return t}if(r=s(),n.peg$library)return{peg$result:r,peg$currPos:te,peg$FAILED:i,peg$maxFailExpected:ae,peg$maxFailPos:ie};if(r!==i&&te===e.length)return r;throw r!==i&&te<e.length&&pe({type:"end"}),fe(ae,ie<e.length?e.charAt(ie):null,ie<e.length?de(ie,ie+1):de(ie,ie))}}},16392(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(763),i=n(79414),a=n(51456),o=n(37812),s=n(10503),l=n(37641),c=n(5532),u=n(10467),d=n(177);t.default={parse:r.parse,unparse:i.unparse,validate:a.validate,version:o.version,v1:s.v1,v3:l.v3,v4:c.v4,v5:u.v5,NIL:d.NIL,DNS:d.DNS,URL:d.URL,OID:d.OID,X500:d.X500}},15136(e,t){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.any_hmac_md5=t.b64_hmac_md5=t.hex_hmac_md5=t.any_md5=t.b64_md5=t.hex_md5=void 0;let n=0,r="";t.hex_md5=e=>o(i(c(e))),t.default=t.hex_md5;t.b64_md5=e=>s(i(c(e)));t.any_md5=(e,t)=>l(i(c(e)),t);t.hex_hmac_md5=(e,t)=>o(a(c(e),c(t)));t.b64_hmac_md5=(e,t)=>s(a(c(e),c(t)));t.any_hmac_md5=(e,t,n)=>l(a(c(e),c(t)),n);const i=e=>d(p(u(e),8*e.length)),a=(e,t)=>{var n=u(e);n.length>16&&(n=p(n,8*e.length));let r=Array(16),i=Array(16);for(var a=0;a<16;a++)r[a]=909522486^n[a],i[a]=1549556828^n[a];var o=p(r.concat(u(t)),512+8*t.length);return d(p(i.concat(o),640))},o=e=>{for(var t,r=n?"0123456789ABCDEF":"0123456789abcdef",i="",a=0;a<e.length;a++)t=e.charCodeAt(a),i+=r.charAt(t>>>4&15)+r.charAt(15&t);return i},s=e=>{for(var t="",n=e.length,i=0;i<n;i+=3)for(var a=e.charCodeAt(i)<<16|(i+1<n?e.charCodeAt(i+1)<<8:0)|(i+2<n?e.charCodeAt(i+2):0),o=0;o<4;o++)8*i+6*o>8*e.length?t+=r:t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(a>>>6*(3-o)&63);return t},l=(e,t)=>{var n,r,i,a,o,s=t.length,l=Array(Math.ceil(e.length/2));for(n=0;n<l.length;n++)l[n]=e.charCodeAt(2*n)<<8|e.charCodeAt(2*n+1);var c=Math.ceil(8*e.length/(Math.log(t.length)/Math.log(2))),u=Array(c);for(r=0;r<c;r++){for(o=[],a=0,n=0;n<l.length;n++)a=(a<<16)+l[n],a-=(i=Math.floor(a/s))*s,(o.length>0||i>0)&&(o[o.length]=i);u[r]=a,l=o}var d="";for(n=u.length-1;n>=0;n--)d+=t.charAt(u[n]);return d},c=e=>{for(var t,n,r="",i=-1;++i<e.length;)t=e.charCodeAt(i),n=i+1<e.length?e.charCodeAt(i+1):0,t>=55296&&t<=56319&&n>=56320&&n<=57343&&(t=65536+((1023&t)<<10)+(1023&n),i++),t<=127?r+=String.fromCharCode(t):t<=2047?r+=String.fromCharCode(192|t>>>6&31,128|63&t):t<=65535?r+=String.fromCharCode(224|t>>>12&15,128|t>>>6&63,128|63&t):t<=2097151&&(r+=String.fromCharCode(240|t>>>18&7,128|t>>>12&63,128|t>>>6&63,128|63&t));return r},u=e=>{let t=Array(e.length>>2);for(var n=0;n<t.length;n++)t[n]=0;for(n=0;n<8*e.length;n+=8)t[n>>5]|=(255&e.charCodeAt(n/8))<<n%32;return t},d=e=>{for(var t="",n=0;n<32*e.length;n+=8)t+=String.fromCharCode(e[n>>5]>>>n%32&255);return t},p=(e,t)=>{e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var n=1732584193,r=-271733879,i=-1732584194,a=271733878,o=0;o<e.length;o+=16){var s=n,l=r,c=i,u=a;n=h(n,r,i,a,e[o+0],7,-680876936),a=h(a,n,r,i,e[o+1],12,-389564586),i=h(i,a,n,r,e[o+2],17,606105819),r=h(r,i,a,n,e[o+3],22,-1044525330),n=h(n,r,i,a,e[o+4],7,-176418897),a=h(a,n,r,i,e[o+5],12,1200080426),i=h(i,a,n,r,e[o+6],17,-1473231341),r=h(r,i,a,n,e[o+7],22,-45705983),n=h(n,r,i,a,e[o+8],7,1770035416),a=h(a,n,r,i,e[o+9],12,-1958414417),i=h(i,a,n,r,e[o+10],17,-42063),r=h(r,i,a,n,e[o+11],22,-1990404162),n=h(n,r,i,a,e[o+12],7,1804603682),a=h(a,n,r,i,e[o+13],12,-40341101),i=h(i,a,n,r,e[o+14],17,-1502002290),r=h(r,i,a,n,e[o+15],22,1236535329),n=m(n,r,i,a,e[o+1],5,-165796510),a=m(a,n,r,i,e[o+6],9,-1069501632),i=m(i,a,n,r,e[o+11],14,643717713),r=m(r,i,a,n,e[o+0],20,-373897302),n=m(n,r,i,a,e[o+5],5,-701558691),a=m(a,n,r,i,e[o+10],9,38016083),i=m(i,a,n,r,e[o+15],14,-660478335),r=m(r,i,a,n,e[o+4],20,-405537848),n=m(n,r,i,a,e[o+9],5,568446438),a=m(a,n,r,i,e[o+14],9,-1019803690),i=m(i,a,n,r,e[o+3],14,-187363961),r=m(r,i,a,n,e[o+8],20,1163531501),n=m(n,r,i,a,e[o+13],5,-1444681467),a=m(a,n,r,i,e[o+2],9,-51403784),i=m(i,a,n,r,e[o+7],14,1735328473),r=m(r,i,a,n,e[o+12],20,-1926607734),n=g(n,r,i,a,e[o+5],4,-378558),a=g(a,n,r,i,e[o+8],11,-2022574463),i=g(i,a,n,r,e[o+11],16,1839030562),r=g(r,i,a,n,e[o+14],23,-35309556),n=g(n,r,i,a,e[o+1],4,-1530992060),a=g(a,n,r,i,e[o+4],11,1272893353),i=g(i,a,n,r,e[o+7],16,-155497632),r=g(r,i,a,n,e[o+10],23,-1094730640),n=g(n,r,i,a,e[o+13],4,681279174),a=g(a,n,r,i,e[o+0],11,-358537222),i=g(i,a,n,r,e[o+3],16,-722521979),r=g(r,i,a,n,e[o+6],23,76029189),n=g(n,r,i,a,e[o+9],4,-640364487),a=g(a,n,r,i,e[o+12],11,-421815835),i=g(i,a,n,r,e[o+15],16,530742520),r=g(r,i,a,n,e[o+2],23,-995338651),n=y(n,r,i,a,e[o+0],6,-198630844),a=y(a,n,r,i,e[o+7],10,1126891415),i=y(i,a,n,r,e[o+14],15,-1416354905),r=y(r,i,a,n,e[o+5],21,-57434055),n=y(n,r,i,a,e[o+12],6,1700485571),a=y(a,n,r,i,e[o+3],10,-1894986606),i=y(i,a,n,r,e[o+10],15,-1051523),r=y(r,i,a,n,e[o+1],21,-2054922799),n=y(n,r,i,a,e[o+8],6,1873313359),a=y(a,n,r,i,e[o+15],10,-30611744),i=y(i,a,n,r,e[o+6],15,-1560198380),r=y(r,i,a,n,e[o+13],21,1309151649),n=y(n,r,i,a,e[o+4],6,-145523070),a=y(a,n,r,i,e[o+11],10,-1120210379),i=y(i,a,n,r,e[o+2],15,718787259),r=y(r,i,a,n,e[o+9],21,-343485551),n=v(n,s),r
2=v(r,l),i=v(i,c),a=v(a,u)}return[n,r,i,a]},f=(e,t,n,r,i,a)=>v(b(v(v(t,e),v(r,a)),i),n),h=(e,t,n,r,i,a,o)=>f(t&n|~t&r,e,t,i,a,o),m=(e,t,n,r,i,a,o)=>f(t&r|n&~r,e,t,i,a,o),g=(e,t,n,r,i,a,o)=>f(t^n^r,e,t,i,a,o),y=(e,t,n,r,i,a,o)=>f(n^(t|~r),e,t,i,a,o),v=(e,t)=>{var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n},b=(e,t)=>e<<t|e>>>32-t},763(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0;const r=n(177);t.parse=(e,t,n)=>{let i=t&&n||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,e=>(a<16&&t&&(t[i+a++]=r.hexToByte[e]),""));a<16;)t[i+a++]=0;return t}},70623(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},33413(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rng=void 0;t.rng=()=>{let e=new Uint8Array(16);for(let t=0;t<16;t++)e[t]=255&256*Math.random()+0;return e}},54083(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.any_hmac_sha1=t.b64_hmac_sha1=t.hex_hmac_sha1=t.any_sha1=t.b64_sha1=t.hex_sha1=void 0;let n=0,r="";t.hex_sha1=e=>o(i(c(e))),t.default=t.hex_sha1;t.b64_sha1=e=>s(i(c(e)));t.any_sha1=(e,t)=>l(i(c(e)),t);t.hex_hmac_sha1=(e,t)=>o(a(c(e),c(t)));t.b64_hmac_sha1=(e,t)=>s(a(c(e),c(t)));t.any_hmac_sha1=(e,t,n)=>l(a(c(e),c(t)),n);const i=e=>d(p(u(e),8*e.length)),a=(e,t)=>{let n=u(e);n.length>16&&(n=p(n,8*e.length));let r=Array(16),i=Array(16);for(var a=0;a<16;a++)r[a]=909522486^n[a],i[a]=1549556828^n[a];var o=p(r.concat(u(t)),512+8*t.length);return d(p(i.concat(o),672))},o=e=>{for(var t,r=n?"0123456789ABCDEF":"0123456789abcdef",i="",a=0;a<e.length;a++)t=e.charCodeAt(a),i+=r.charAt(t>>>4&15)+r.charAt(15&t);return i},s=e=>{for(var t="",n=e.length,i=0;i<n;i+=3)for(var a=e.charCodeAt(i)<<16|(i+1<n?e.charCodeAt(i+1)<<8:0)|(i+2<n?e.charCodeAt(i+2):0),o=0;o<4;o++)8*i+6*o>8*e.length?t+=r:t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(a>>>6*(3-o)&63);return t},l=(e,t)=>{var n,r,i,a,o=t.length,s=[],l=Array(Math.ceil(e.length/2));for(n=0;n<l.length;n++)l[n]=e.charCodeAt(2*n)<<8|e.charCodeAt(2*n+1);for(;l.length>0;){for(a=[],i=0,n=0;n<l.length;n++)i=(i<<16)+l[n],i-=(r=Math.floor(i/o))*o,(a.length>0||r>0)&&(a[a.length]=r);s[s.length]=i,l=a}var c="";for(n=s.length-1;n>=0;n--)c+=t.charAt(s[n]);var u=Math.ceil(8*e.length/(Math.log(t.length)/Math.log(2)));for(n=c.length;n<u;n++)c=t[0]+c;return c},c=e=>{for(var t,n,r="",i=-1;++i<e.length;)t=e.charCodeAt(i),n=i+1<e.length?e.charCodeAt(i+1):0,t>=55296&&t<=56319&&n>=56320&&n<=57343&&(t=65536+((1023&t)<<10)+(1023&n),i++),t<=127?r+=String.fromCharCode(t):t<=2047?r+=String.fromCharCode(192|t>>>6&31,128|63&t):t<=65535?r+=String.fromCharCode(224|t>>>12&15,128|t>>>6&63,128|63&t):t<=2097151&&(r+=String.fromCharCode(240|t>>>18&7,128|t>>>12&63,128|t>>>6&63,128|63&t));return r},u=e=>{for(var t=Array(e.length>>2),n=0;n<t.length;n++)t[n]=0;for(n=0;n<8*e.length;n+=8)t[n>>5]|=(255&e.charCodeAt(n/8))<<24-n%32;return t},d=e=>{for(var t="",n=0;n<32*e.length;n+=8)t+=String.fromCharCode(e[n>>5]>>>24-n%32&255);return t},p=(e,t)=>{e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var n=Array(80),r=1732584193,i=-271733879,a=-1732584194,o=271733878,s=-1009589776,l=0;l<e.length;l+=16){for(var c=r,u=i,d=a,p=o,y=s,v=0;v<80;v++){n[v]=v<16?e[l+v]:g(n[v-3]^n[v-8]^n[v-14]^n[v-16],1);let t=m(m(g(r,5),f(v,i,a,o)),m(m(s,n[v]),h(v)));s=o,o=a,a=g(i,30),i=r,r=t}r=m(r,c),i=m(i,u),a=m(a,d),o=m(o,p),s=m(s,y)}return[r,i,a,o,s]},f=(e,t,n,r)=>e<20?t&n|~t&r:e<40?t^n^r:e<60?t&n|t&r|n&r:t^n^r,h=e=>e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514,m=(e,t)=>{var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n},g=(e,t)=>e<<t|e>>>32-t},60549(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=void 0;const r=n(51456),i=[];for(let a=0;a<256;++a)i.push((a+256).toString(16).substr(1));t.stringify=(e,t=0)=>{const n=(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase();if(!(0,r.validate)(n))throw TypeError("Stringified UUID is invali
2d");return n}},79414(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unparse=void 0;const r=n(177);t.unparse=(e,t)=>{let n=t||0,i=r.byteToHex;return i[e[n++]]+i[e[n++]]+i[e[n++]]+i[e[n++]]+"-"+i[e[n++]]+i[e[n++]]+"-"+i[e[n++]]+i[e[n++]]+"-"+i[e[n++]]+i[e[n++]]+"-"+i[e[n++]]+i[e[n++]]+i[e[n++]]+i[e[n++]]+i[e[n++]]+i[e[n++]]}},177(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bytesToString=t.stringToBytes=t.NIL=t.X500=t.OID=t.URL=t.DNS=t.hexToByte=t.byteToHex=void 0;let n=[],r={};for(var i=0;i<256;i++)n[i]=(i+256).toString(16).substr(1),r[n[i]]=i;t.byteToHex=n,t.hexToByte=r,t.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",t.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",t.OID="6ba7b812-9dad-11d1-80b4-00c04fd430c8",t.X500="6ba7b814-9dad-11d1-80b4-00c04fd430c8",t.NIL="00000000-0000-0000-0000-000000000000";t.stringToBytes=e=>{e=unescape(encodeURIComponent(e));const t=new Uint8Array(e.length);for(let n=0;n<e.length;++n)t[n]=e.charCodeAt(n);return t};t.bytesToString=e=>{const t=new Uint8Array(e,0,e.byteLength);return String.fromCharCode.apply(null,Array.from(t))}},10503(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.v1=void 0;const r=n(60549),i=n(33413);let a,o,s=0,l=0;t.v1=(e,t,n=0)=>{let c=t&&n||0;const u=t||new Uint8Array(16);let d=e&&e.node?e.node:a,p=e&&e.clockseq?e.clockseq:o;if(null==d||null==p){const t=e&&e.random?e.random:e&&e.rng?e.rng():(0,i.rng)();null==d&&(d=a=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==p&&(p=o=16383&(t[6]<<8|t[7]))}let f=e&&e.msecs?e.msecs:Date.now(),h=e&&e.nsecs?e.nsecs:l+1;const m=f-s+(h-l)/1e4;if(m<0&&e&&!e.clockseq&&(p=p+1&16383),(m<0||f>s)&&e&&!e.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=f,l=h,o=p,f+=122192928e5;const g=(1e4*(268435455&f)+h)%4294967296;u[c++]=g>>>24&255,u[c++]=g>>>16&255,u[c++]=g>>>8&255,u[c++]=255&g;const y=f/4294967296*1e4&268435455;u[c++]=y>>>8&255,u[c++]=255&y,u[c++]=y>>>24&15|16,u[c++]=y>>>16&255,u[c++]=p>>>8|128,u[c++]=255&p;for(let r=0;r<6;++r)u[c+r]=d[r];return t||(0,r.stringify)(u)}},37641(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.v3=void 0;const i=n(3818),a=r(n(15136));t.v3=(0,i.v35)("v3",48,a.default)},3818(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.v35=void 0;const r=n(60549),i=n(763),a=n(177);t.v35=(e,t,n)=>(e,o,s,l=0)=>{if("string"===typeof e&&(e=(0,a.stringToBytes)(e)),"string"===typeof o&&(o=(0,i.parse)(o)),o&&16!==o.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let c=new Uint8Array(16+e.length);if(c.set(o),c.set(e,o.length),c=(0,a.stringToBytes)(n((0,a.bytesToString)(c.buffer))),c[6]=15&c[6]|t,c[8]=63&c[8]|128,s)for(let t=0;t<16;++t)s[l+t]=c[t];return s||(0,r.stringify)(c)}},5532(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.v4=void 0;const r=n(79414),i=n(33413);t.v4=function(e,t,n){let a=t&&n||0,o=(0,i.rng)();if(!e||e instanceof String||(e.random&&(o=e.random),e.rng&&(o=e.rng())),o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;s++)t[a+s]=o[s];return t||(0,r.unparse)(o)}},10467(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.v5=void 0;const i=n(3818),a=r(n(54083));t.v5=(0,i.v35)("v5",80,a.default)},51456(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.validate=void 0;const i=r(n(70623));t.validate=e=>"string"===typeof e&&i.default.test(e)},37812(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0;const r=n(51456);t.version=e=>{if(!(0,r.validate)(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}},91173(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.WebView=void 0;var r="src/index.js",i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=c(n(73906)),o=n(36665),s=c(o),l=n(94868);
2function c(e){return e&&e.__esModule?e:{default:e}}var u=t.WebView=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.state={html:null},r.setRef=function(e){return r.frameRef=e},r.handleSource=function(e,t){e.method&&(t?r.handleSourceInNewWindow(e,t):r.handleSourceInIFrame(e))},r.handleSourceInIFrame=function(e){var t=e.uri,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["uri"]),i=t.substr(0,t.lastIndexOf("/")+1);fetch(t,n).then(function(e){return e.text()}).then(function(e){return r.setState({html:'<base href="'+i+'" />'+e})})},r.handleSourceInNewWindow=function(e,t){if("POST"===e.method){var r=e.headers["Content-Type"],i="";if(!r||!r.includes("application/x-www-form-urlencoded"))return;i=a.default.parse(e.body),window.open(n(38799)+"?"+a.default.stringify({uri:e.uri,body:JSON.stringify(i)}),t.name||"webview",t.features||void 0)}},r.onMessage=function(e){return r.props.onMessage({nativeEvent:e})},r.postMessage=function(e,t){r.frameRef.contentWindow.postMessage(e,t)},r.handleInjectedJavaScript=function(e){return r.props.injectedJavaScript&&e?e.replace("</body>","<script>"+r.props.injectedJavaScript+"<\/script></body>"):e},r.handleSource(e.source,e.newWindow),r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.onMessage&&window.addEventListener("message",this.onMessage,!0)}},{key:"componentWillReceiveProps",value:function(e){this.props.source.uri===e.source.uri&&this.props.source.method===e.source.method&&this.props.source.body===e.source.body||this.handleSource(e.source,e.newWindow)}},{key:"componentWillUnmount",value:function(){this.props.onMessage&&window.removeEventListener("message",this.onMessage,!0)}},{key:"render",value:function(){if(this.props.newWindow)return s.default.createElement(l.View,{style:d.loadingContainer,__source:{fileName:r,lineNumber:112}},s.default.createElement(l.ActivityIndicator,{__source:{fileName:r,lineNumber:113}}));var e=this.props,t=e.title,n=e.source,i=e.onLoad,a=e.scrollEnabled,o=l.StyleSheet.flatten(this.props.style);return(0,l.unstable_createElement)("iframe",{title:t,ref:this.setRef,src:n.method?void 0:n.uri,srcDoc:this.handleInjectedJavaScript(this.state.html||n.html),width:o&&o.width,height:o&&o.height,style:l.StyleSheet.flatten([d.iframe,a&&d.noScroll,this.props.style]),allowFullScreen:!0,allowpaymentrequest:"true",frameBorder:"0",seamless:!0,onLoad:i})}}]),t}(o.Component);u.defaultProps={scrollEnabled:!0},t.default=u;var d=l.StyleSheet.create({loadingContainer:{flex:1,alignItems:"center",justifyContent:"center"},iframe:{width:"100%",height:"100%",borderWidth:0},noScroll:{overflow:"hidden"}})},77900(e,t,n){"use strict";function r(){return new Promise((e,t)=>{e(!0)})}n.r(t),n.d(t,{default:()=>s});var i=n(58345).default&&"function"===typeof window.matchMedia?window.matchMedia("(prefers-reduced-motion: reduce)"):null;var a={},o={isScreenReaderEnabled:r,isReduceMotionEnabled:function(){return new Promise((e,t)=>{e(!i||i.matches)})},fetch:r,addEventListener:function(e,t){if("reduceMotionChanged"===e){if(!i)return;var n=e=>{t(e.matches)};r=n,null!=i&&(null!=i.addEventListener?i.addEventListener("change",r):i.addListener(r)),a[t]=n}var r;return{remove:()=>o.removeEventListener(e,t)}},setAccessibilityFocus:function(e){},announceForAccessibility:function(e){},removeEventListener:function(e,t){if("reduceMotionChanged"===e){var n=a[t];if(!n||!i)return;r=n,null!=i&&(null!=i.removeEventListener?i.removeEventListener("change",r):i.removeListener(r))}var r}};const s=o}
2,20530(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(58168),i=n(98587),a=n(36665),o=n(75675),s=n(73929),l=["animating","color","hidesWhenStopped","size","style"],c=e=>a.createElement("circle",{cx:"16",cy:"16",fill:"none",r:"14",strokeWidth:"4",style:e}),u=a.forwardRef((e,t)=>{var n=e.animating,o=void 0===n||n,u=e.color,f=void 0===u?"#1976D2":u,h=e.hidesWhenStopped,m=void 0===h||h,g=e.size,y=void 0===g?"small":g,v=e.style,b=(0,i.default)(e,l),_=a.createElement("svg",{height:"100%",viewBox:"0 0 32 32",width:"100%"},c({stroke:f,opacity:.2}),c({stroke:f,strokeDasharray:80,strokeDashoffset:60}));return a.createElement(s.default,(0,r.default)({},b,{"aria-valuemax":1,"aria-valuemin":0,ref:t,role:"progressbar",style:[d.container,v]}),a.createElement(s.default,{children:_,style:["number"===typeof y?{height:y,width:y}:p[y],d.animation,!o&&d.animationPause,!o&&m&&d.hidesWhenStopped]}))});u.displayName="ActivityIndicator";var d=o.default.create({container:{alignItems:"center",justifyContent:"center"},hidesWhenStopped:{visibility:"hidden"},animation:{animationDuration:"0.75s",animationKeyframes:[{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}],animationTimingFunction:"linear",animationIterationCount:"infinite"},animationPause:{animationPlayState:"paused"}}),p=o.default.create({small:{width:20,height:20},large:{width:36,height:36}});const f=u}
2,51690(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});const r=class{static alert(){}}},15009(t,n,r){"use strict";r.r(n),r.d(n,{default:()=>nt});var i=r(27051),a=r(95991),o=r(58168),s=r(36665),l=r(90932),c=r(98587),u=r(3098),d=r(26077),p=r.n(d);var f=r(89348);const h={isLayoutAnimationEnabled:()=>!0,shouldEmitW3CPointerEvents:()=>!1,shouldPressibilityUseW3CPointerEventsForHover:()=>!1,animatedShouldDebounceQueueFlush:()=>!1,animatedShouldUseSingleOp:()=>!1};var m,g=null,y=1,v=1,b=new Set,_=!1,w=[],k=null,S=g,x={getValue:function(e,t){p()(S,"Native animated module is not available"),x.queueOperation(S.getValue,e,t)},setWaitingForIdentifier:function(e){b.add(e),_=!0,h.animatedShouldDebounceQueueFlush()&&k&&clearTimeout(k)},unsetWaitingForIdentifier:function(e){b.delete(e),0===b.size&&(_=!1,x.disableQueue())},disableQueue:function(){(p()(S,"Native animated module is not available"),h.animatedShouldDebounceQueueFlush())?(clearImmediate(k),k=setImmediate(x.flushQueue)):x.flushQueue()},flushQueue:function(){},queueOperation:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];_||0!==w.length?w.push(()=>e(...n)):e(...n)},createAnimatedNode:function(e,t){p()(S,"Native animated module is not available"),x.queueOperation(S.createAnimatedNode,e,t)},updateAnimatedNodeConfig:function(e,t){p()(S,"Native animated module is not available")},startListeningToAnimatedNodeValue:function(e){p()(S,"Native animated module is not available"),x.queueOperation(S.startListeningToAnimatedNodeValue,e)},stopListeningToAnimatedNodeValue:function(e){p()(S,"Native animated module is not available"),x.queueOperation(S.stopListeningToAnimatedNodeValue,e)},connectAnimatedNodes:function(e,t){p()(S,"Native animated module is not available"),x.queueOperation(S.connectAnimatedNodes,e,t)},disconnectAnimatedNodes:function(e,t){p()(S,"Native animated module is not available"),x.queueOperation(S.disconnectAnimatedNodes,e,t)},startAnimatingNode:function(e,t,n,r){p()(S,"Native animated module is not available"),x.queueOperation(S.startAnimatingNode,e,t,n,r)},stopAnimation:function(e){p()(S,"Native animated module is not available"),x.queueOperation(S.stopAnimation,e)},setAnimatedNodeValue:function(e,t){p()(S,"Native animated module is not available"),x.queueOperation(S.setAnimatedNodeValue,e,t)},setAnimatedNodeOffset:function(e,t){p()(S,"Native animated module is not available"),x.queueOperation(S.setAnimatedNodeOffset,e,t)},flattenAnimatedNodeOffset:function(e){p()(S,"Native animated module is not available"),x.queueOperation(S.flattenAnimatedNodeOffset,e)},extractAnimatedNodeOffset:function(e){p()(S,"Native animated module is not available"),x.queueOperation(S.extractAnimatedNodeOffset,e)},connectAnimatedNodeToView:function(e,t){p()(S,"Native animated module is not available"),x.queueOperation(S.connectAnimatedNodeToView,e,t)},disconnectAnimatedNodeFromView:function(e,t){p()(S,"Native animated module is not available"),x.queueOperation(S.disconnectAnimatedNodeFromView,e,t)},restoreDefaultValues:function(e){p()(S,"Native animated module is not available"),null!=S.restoreDefaultValues&&x.queueOperation(S.restoreDefaultValues,e)},dropAnimatedNode:function(e){p()(S,"Native animated module is not available"),x.queueOperation(S.dropAnimatedNode,e)},addAnimatedEventToView:function(e,t,n){p()(S,"Native animated module is not available"),x.queueOperation(S.addAnimatedEventToView,e,t,n)},removeAnimatedEventFromView(e,t,n){p()(S,"Native animated module is not available"),x.queueOperation(S.removeAnimatedEventFromView,e,t,n)}};var C={backgroundColor:!0,borderBottomColor:!0,borderColor:!0,borderEndColor:!0,borderLeftColor:!0,borderRightColor:!0,borderStartColor:!0,borderTopColor:!0,color:!0,tintColor:!0},E=(0,i.default)((0,i.default)({},C),{},{borderBottomEndRadius:!0,borderBottomLeftRadius:!0,borderBottomRightRadius:!0,borderBottomStartRadius:!0,borderRadius:!0,borderTopEndRadius:!0,borderTopLeftRadius:!0,borderTopRightRadius:!0,borderTopStartRadius:!0,elevation:!0,opacity:!0,transform:!0,zIndex:!0,shadowOpacity:!0,shadowRadius:!0,scaleX:!0,scaleY:!0,translateX:!0,translateY:!0}),A={translateX:!0,translateY:!0,scale:!0,scaleX:!0,scaleY:!0,rotate:!0,rotateX:!0,rotateY:!0,rotateZ:!0,perspective:!0},T={inputRange:!0,outputRange:!0,extrapolate:!0,extrapolateRight:!0,extrapolateLeft:!0};function I(e){return E.hasOwnProperty(e)}function R(e){return A.hasOwnProperty(e)}function O(e){return T.hasOwnProperty(e)}function D(){return v++}var N=!1;function j(e){return e.useNativeDriver,!0===e.useNativeDriver?(N||(N=!0),!1):e.useNativeDriver||!1}const F={API:x,isSupportedColorStyleProp:function(e){return C.hasOwnProperty(e)},isSupportedStyleProp:I,isSupportedTransformProp:R,isSupportedInterpolationParam:O,addWhitelistedStyleProp:function(e){E[e]=!0},addWhitelistedTransformProp:function(e){A[e]=!0},addWhitelistedInterpolationParam:function(e){T[e]=!0}
2,validateStyles:function(e){for(var t in e)if(!I(t))throw new Error("Style property '"+t+"' is not supported by native animated module")},validateTransform:function(e){e.forEach(e=>{if(!R(e.property))throw new Error("Property '"+e.property+"' is not supported by native animated module")})},validateInterpolation:function(e){for(var t in e)if(!O(t))throw new Error("Interpolation property '"+t+"' is not supported by native animated module")},generateNewNodeTag:function(){return y++},generateNewAnimationId:D,assertNativeAnimatedModule:function(){p()(g,"Native animated module is not available")},shouldUseNativeDriver:j,transformDataType:function(e){return"string"!==typeof e?e:/deg$/.test(e)?(parseFloat(e)||0)*Math.PI/180:e},get nativeEventEmitter(){return m||(m=new f.default(null)),m}};var M=F.API,V=1;const P=class{__attach(){}__detach(){this.__isNative&&null!=this.__nativeTag&&(F.API.dropAnimatedNode(this.__nativeTag),this.__nativeTag=void 0)}__getValue(){}__getAnimatedValue(){return this.__getValue()}__addChild(e){}__removeChild(e){}__getChildren(){return[]}constructor(){this._listeners={}}__makeNative(e){if(!this.__isNative)throw new Error('This node cannot be made a "native" animated node');this._platformConfig=e,this.hasListeners()&&this._startListeningToNativeValueUpdates()}addListener(e){var t=String(V++);return this._listeners[t]=e,this.__isNative&&this._startListeningToNativeValueUpdates(),t}removeListener(e){delete this._listeners[e],this.__isNative&&!this.hasListeners()&&this._stopListeningForNativeValueUpdates()}removeAllListeners(){this._listeners={},this.__isNative&&this._stopListeningForNativeValueUpdates()}hasListeners(){return!!Object.keys(this._listeners).length}_startListeningToNativeValueUpdates(){this.__nativeAnimatedValueListener&&!this.__shouldUpdateListenersForNewNativeTag||(this.__shouldUpdateListenersForNewNativeTag&&(this.__shouldUpdateListenersForNewNativeTag=!1,this._stopListeningForNativeValueUpdates()),M.startListeningToAnimatedNodeValue(this.__getNativeTag()),this.__nativeAnimatedValueListener=F.nativeEventEmitter.addListener("onAnimatedValueUpdate",e=>{e.tag===this.__getNativeTag()&&this.__onAnimatedValueUpdateReceived(e.value)}))}__onAnimatedValueUpdateReceived(e){this.__callListeners(e)}__callListeners(e){for(var t in this._listeners)this._listeners[t]({value:e})}_stopListeningForNativeValueUpdates(){this.__nativeAnimatedValueListener&&(this.__nativeAnimatedValueListener.remove(),this.__nativeAnimatedValueListener=null,M.stopListeningToAnimatedNodeValue(this.__getNativeTag()))}__getNativeTag(){var e;F.assertNativeAnimatedModule(),p()(this.__isNative,'Attempt to get native tag from node not marked as "native"');var t=null!==(e=this.__nativeTag)&&void 0!==e?e:F.generateNewNodeTag();if(null==this.__nativeTag){this.__nativeTag=t;var n=this.__getNativeConfig();this._platformConfig&&(n.platformConfig=this._platformConfig),F.API.createAnimatedNode(t,n),this.__shouldUpdateListenersForNewNativeTag=!0}return t}__getNativeConfig(){throw new Error("This JS animated node type cannot be used as native animated node")}toJSON(){return this.__getValue()}__getPlatformConfig(){return this._platformConfig}__setPlatformConfig(e){this._platformConfig=e}};const L=class extends P{constructor(){super(),this._children=[]}__makeNative(e){if(!this.__isNative){this.__isNative=!0;for(var t,n=(0,u.default)(this._children);!(t=n()).done;){var r=t.value;r.__makeNative(e),F.API.connectAnimatedNodes(this.__getNativeTag(),r.__getNativeTag())}}super.__makeNative(e)}__addChild(e){0===this._children.length&&this.__attach(),this._children.push(e),this.__isNative&&(e.__makeNative(this.__getPlatformConfig()),F.API.connectAnimatedNodes(this.__getNativeTag(),e.__getNativeTag()))}__removeChild(e){var t=this._children.indexOf(e);-1!==t&&(this.__isNative&&e.__isNative&&F.API.disconnectAnimatedNodes(this.__getNativeTag(),e.__getNativeTag()),this._children.splice(t,1),0===this._children.length&&this.__detach())}__getChildren(){return this._children}__callListeners(e){if(super.__callListeners(e),!this.__isNative)for(var t,n=(0,u.default)(this._children);!(t=n()).done;){var r=t.value;r.__getValue&&r.__callListeners(r.__getValue())}}};var B=r(68168),H=r.n(B),W=e=>e;function z(e){if(e.outputRange&&"string"===typeof e.outputRange[0])return function(e){var t=e.outputRange;p()(t.length>=2,"Bad output range"),t=t.map(Y),function(e){for(var t=e[0].replace(U,""),n=1;n<e.length;++n)p()(t===e[n].replace(U,""),"invalid pattern "+e[0]+" and "+e[n])}(t);var n=t[0].match(U).map(()=>[]);
2t.forEach(e=>{e.match(U).forEach((e,t)=>{n[t].push(+e)})});var r=t[0].match(U).map((t,r)=>z((0,i.default)((0,i.default)({},e),{},{outputRange:n[r]}))),a=(o=t[0],"string"===typeof o&&o.startsWith("rgb"));var o;return e=>{var n=0;return t[0].replace(U,()=>{var t=+r[n++](e);return a&&(t=n<4?Math.round(t):Math.round(1e3*t)/1e3),String(t)})}}(e);var t=e.outputRange,n=e.inputRange;var r=e.easing||W,a="extend";void 0!==e.extrapolateLeft?a=e.extrapolateLeft:void 0!==e.extrapolate&&(a=e.extrapolate);var o="extend";return void 0!==e.extrapolateRight?o=e.extrapolateRight:void 0!==e.extrapolate&&(o=e.extrapolate),e=>{p()("number"===typeof e,"Cannot interpolation an input which is not a number");var i=function(e,t){var n;for(n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,n);return function(e,t,n,r,i,a,o,s){var l=e;if(l<t){if("identity"===o)return l;"clamp"===o&&(l=t)}if(l>n){if("identity"===s)return l;"clamp"===s&&(l=n)}if(r===i)return r;if(t===n)return e<=t?r:i;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=a(l),r===-1/0?l=-l:i===1/0?l+=r:l=l*(i-r)+r;return l}(e,n[i],n[i+1],t[i],t[i+1],r,a,o)}}function Y(e){var t=H()(e);return null===t||"number"!==typeof t?e:"rgba("+((4278190080&(t=t||0))>>>24)+", "+((16711680&t)>>>16)+", "+((65280&t)>>>8)+", "+(255&t)/255+")"}var U=/[+-]?(?:\d+\.?\d*|\.\d+)(?:[eE][+-]?\d+)?/g;class X extends L{constructor(e,t){super(),this._parent=e,this._config=t,this._interpolation=z(t)}__makeNative(e){this._parent.__makeNative(e),super.__makeNative(e)}__getValue(){var e=this._parent.__getValue();return p()("number"===typeof e,"Cannot interpolate an input which is not a number."),this._interpolation(e)}interpolate(e){return new X(this,e)}__attach(){this._parent.__addChild(this)}__detach(){this._parent.__removeChild(this),super.__detach()}__transformDataType(e){return e.map(F.transformDataType)}__getNativeConfig(){return{inputRange:this._config.inputRange,outputRange:this.__transformDataType(this._config.outputRange),extrapolateLeft:this._config.extrapolateLeft||this._config.extrapolate||"extend",extrapolateRight:this._config.extrapolateRight||this._config.extrapolate||"extend",type:"interpolation"}}}X.__createInterpolation=z;const G=X;var q=r(93816),J=F.API;const $=class extends L{constructor(e,t){if(super(),"number"!==typeof e)throw new Error("AnimatedValue: Attempting to set value to undefined");this._startingValue=this._value=e,this._offset=0,this._animation=null,t&&t.useNativeDriver&&this.__makeNative()}__detach(){this.__isNative&&J.getValue(this.__getNativeTag(),e=>{this._value=e-this._offset}),this.stopAnimation(),super.__detach()}__getValue(){return this._value+this._offset}setValue(e){var t,n;this._animation&&(this._animation.stop(),this._animation=null),this._updateValue(e,!this.__isNative),this.__isNative&&(t=this.__getNativeTag().toString(),n=()=>J.setAnimatedNodeValue(this.__getNativeTag(),e),J.setWaitingForIdentifier(t),n(),J.unsetWaitingForIdentifier(t))}setOffset(e){this._offset=e,this.__isNative&&J.setAnimatedNodeOffset(this.__getNativeTag(),e)}flattenOffset(){this._value+=this._offset,this._offset=0,this.__isNative&&J.flattenAnimatedNodeOffset(this.__getNativeTag())}extractOffset(){this._offset+=this._value,this._value=0,this.__isNative&&J.extractAnimatedNodeOffset(this.__getNativeTag())}stopAnimation(e){this.stopTracking(),this._animation&&this._animation.stop(),this._animation=null,e&&(this.__isNative?J.getValue(this.__getNativeTag(),e):e(this.__getValue()))}resetAnimation(e){this.stopAnimation(e),this._value=this._startingValue,this.__isNative&&J.setAnimatedNodeValue(this.__getNativeTag(),this._startingValue)}__onAnimatedValueUpdateReceived(e){this._updateValue(e,!1)}interpolate(e){return new G(this,e)}animate(e,t){var n=null;e.__isInteraction&&(n=q.default.createInteractionHandle());var r=this._animation;this._animation&&this._animation.stop(),this._animation=e,e.start(this._value,e=>{this._updateValue(e,!0)},e=>{this._animation=null,null!==n&&q.default.clearInteractionHandle(n),t&&t(e)},r,this)}stopTracking(){this._tracking&&this._tracking.__detach(),this._tracking=null}track(e){this.stopTracking(),this._tracking=e,this._tracking&&this._tracking.update(
2)}_updateValue(e,t){if(void 0===e)throw new Error("AnimatedValue: Attempting to set value to undefined");this._value=e,t&&function(e){var t=new Set;!function e(n){"function"===typeof n.update?t.add(n):n.__getChildren().forEach(e)}(e),t.forEach(e=>e.update())}(this),super.__callListeners(this.__getValue())}__getNativeConfig(){return{type:"value",value:this._value,offset:this._offset}}};function K(e,t,n){var r=[],i=(e,t)=>{if(e instanceof $)e.__makeNative(),r.push({nativeEventPath:t,animatedValueTag:e.__getNativeTag()});else if("object"===typeof e)for(var n in e)i(e[n],t.concat(n))};return p()(n[0]&&n[0].nativeEvent,"Native driven events only support animated values contained inside `nativeEvent`."),i(n[0].nativeEvent,[]),null!=e&&r.forEach(n=>{F.API.addAnimatedEventToView(e,t,n)}),{detach(){null!=e&&r.forEach(n=>{F.API.removeAnimatedEventFromView(e,t,n.animatedValueTag)})}}}class Z{constructor(e,t){this._listeners=[],this._argMapping=e,null==t&&(t={useNativeDriver:!1}),t.listener&&this.__addListener(t.listener),this._callListeners=this._callListeners.bind(this),this._attachedEvent=null,this.__isNative=j(t)}__addListener(e){this._listeners.push(e)}__removeListener(e){this._listeners=this._listeners.filter(t=>t!==e)}__attach(e,t){p()(this.__isNative,"Only native driven events need to be attached."),this._attachedEvent=K(e,t,this._argMapping)}__detach(e,t){p()(this.__isNative,"Only native driven events need to be detached."),this._attachedEvent&&this._attachedEvent.detach()}__getHandler(){var e=this;if(this.__isNative)return this._callListeners;return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=(e,t,n)=>{if(e instanceof $)"number"===typeof t&&e.setValue(t);else if("object"===typeof e)for(var r in e)i(e[r],t[r],r)};e._argMapping.forEach((e,t)=>{i(e,n[t],"arg"+t)}),e._callListeners(...n)}}_callListeners(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._listeners.forEach(e=>e(...t))}}const Q=class extends L{constructor(e){super(),this._transforms=e}
2__makeNative(){this._transforms.forEach(e=>{for(var t in e){var n=e[t];n instanceof P&&n.__makeNative()}}),super.__makeNative()}__getValue(){return this._transforms.map(e=>{var t={};for(var n in e){var r=e[n];t[n]=r instanceof P?r.__getValue():r}return t})}__getAnimatedValue(){return this._transforms.map(e=>{var t={};for(var n in e){var r=e[n];t[n]=r instanceof P?r.__getAnimatedValue():r}return t})}__attach(){this._transforms.forEach(e=>{for(var t in e){var n=e[t];n instanceof P&&n.__addChild(this)}})}__detach(){this._transforms.forEach(e=>{for(var t in e){var n=e[t];n instanceof P&&n.__removeChild(this)}}),super.__detach()}__getNativeConfig(){var e=[];return this._transforms.forEach(t=>{for(var n in t){var r=t[n];r instanceof P?e.push({type:"animated",property:n,nodeTag:r.__getNativeTag()}):e.push({type:"static",property:n,value:F.transformDataType(r)})}}),F.validateTransform(e),{type:"transform",transforms:e}}};var ee=r(75675).default.flatten;function te(e){var t=ee(e),n={};for(var r in t){var i=t[r];"transform"===r&&Array.isArray(i)?n[r]=new Q(i):i instanceof P?n[r]=i:i&&!Array.isArray(i)&&"object"===typeof i&&(n[r]=te(i))}return n}const ne=class extends L{constructor(e){super(),this._inputStyle=e,this._style=te(e)}_walkStyleAndGetValues(e){var t={};for(var n in e){var r=e[n];r instanceof P?r.__isNative||(t[n]=r.__getValue()):r&&!Array.isArray(r)&&"object"===typeof r?t[n]=this._walkStyleAndGetValues(r):t[n]=r}return t}__getValue(){return[this._inputStyle,this._walkStyleAndGetValues(this._style)]}_walkStyleAndGetAnimatedValues(e){var t={};for(var n in e){var r=e[n];r instanceof P?t[n]=r.__getAnimatedValue():r&&!Array.isArray(r)&&"object"===typeof r&&(t[n]=this._walkStyleAndGetAnimatedValues(r))}return t}__getAnimatedValue(){return this._walkStyleAndGetAnimatedValues(this._style)}__attach(){for(var e in this._style){var t=this._style[e];t instanceof P&&t.__addChild(this)}}__detach(){for(var e in this._style){var t=this._style[e];t instanceof P&&t.__removeChild(this)}super.__detach()}__makeNative(){for(var e in this._style){var t=this._style[e];t instanceof P&&t.__makeNative()}super.__makeNative()}__getNativeConfig(){var e={};for(var t in this._style)if(this._style[t]instanceof P){var n=this._style[t];n.__makeNative(),e[t]=n.__getNativeTag()}return F.validateStyles(e),{type:"style",style:e}}};const re=class extends P{constructor(e,t){super(),e.style&&(e=(0,i.default)((0,i.default)({},e),{},{style:new ne(e.style)})),this._props=e,this._callback=t}__getValue(){var e={};for(var t in this._props){var n=this._props[t];n instanceof P?(!n.__isNative||n instanceof ne)&&(e[t]=n.__getValue()):e[t]=n instanceof Z?n.__getHandler():n}return e}__getAnimatedValue(){var e={};for(var t in this._props){var n=this._props[t];n instanceof P&&(e[t]=n.__getAnimatedValue())}return e}__attach(){for(var e in this._props){var t=this._props[e];t instanceof P&&t.__addChild(this)}}__detach(){for(var e in this.__isNative&&this._animatedView&&this.__disconnectAnimatedView(),this._animatedView=null,this._props){var t=this._props[e];t instanceof P&&t.__removeChild(this)}super.__detach()}update(){this._callback()}__makeNative(){if(!this.__isNative){for(var e in this.__isNative=!0,this._props){var t=this._props[e];t instanceof P&&t.__makeNative()}this._animatedView&&this.__connectAnimatedView()}}setNativeView(e){this._animatedView!==e&&(this._animatedView=e,this.__isNative&&this.__connectAnimatedView())}__connectAnimatedView(){p()(this.__isNative,'Expected node to be marked as "native"');var e=this._animatedView;p()(null!=e,"Unable to locate attached view in the native tree"),F.API.connectAnimatedNodeToView(this.__getNativeTag(),e)}__disconnectAnimatedView(){p()(this.__isNative,'Expected node to be marked as "native"');var e=this._animatedView;p()(null!=e,"Unable to locate attached view in the native tree"),F.API.disconnectAnimatedNodeFromView(this.__getNativeTag(),e)}__restoreDefaultValues(){this.__isNative&&F.API.restoreDefaultValues(this.__getNativeTag())}__getNativeConfig(){var e={};for(var t in this._props){var n=this._props[t];n instanceof P&&(n.__makeNative(),e[t]=n.__getNativeTag())}return{type:"props",props:e}}};var ie=r(60542);function ae(e){var t=(0,s.useReducer)(e=>e+1,0)[1],n=(0,s.useRef)(null),r=(0,s.useMemo)(()=>new re(e,()=>null==n.current?void 0:n.current()),[e]);!function(e){var t=(0,s.useRef)(null),n=(0,s.useRef)(!1);(0,s.useEffect)(()=>{F.API.flushQueue()}),(0,ie.default)(()=>(n.current=!1,()=>{n.current=!0}),[]),(0,ie.default)(()=>
2{if(e.__attach(),null!=t.current){var r=t.current;r.__restoreDefaultValues(),r.__detach(),t.current=null}return()=>{n.current?e.__detach():t.current=e}},[e])}(r);var i=function(e){var t=(0,s.useRef)(void 0);return(0,s.useCallback)(n=>{t.current&&(t.current(),t.current=void 0),null!=n&&(t.current=e(n))},[e])}((0,s.useCallback)(i=>{r.setNativeView(i),n.current=()=>{t()};var a=function(e){return"object"===typeof e&&"function"===typeof(null==e?void 0:e.getScrollableNode)?e.getScrollableNode():e}(i),o=[];for(var s in e){var l=e[s];l instanceof Z&&l.__isNative&&(l.__attach(a,s),o.push([s,l]))}return()=>{n.current=null;for(var e=0,t=o;e<t.length;e++){var r=t[e],i=r[0];r[1].__detach(a,i)}}},[e,r]));return[oe(r),i]}function oe(e){return(0,i.default)((0,i.default)({},e.__getValue()),{},{collapsable:!1})}var se=["style"];function le(e){return s.forwardRef((t,n)=>{var r=ae(t),i=r[0],a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.useCallback)(e=>{for(var n=0,r=t;n<r.length;n++){var i=r[n];null!=i&&("function"===typeof i?i(e):i.current=e)}},[...t])}(r[1],n),l=i.passthroughAnimatedPropExplicitValues,u=i.style,d=null!==l&&void 0!==l?l:{},p=d.style,f=(0,c.default)(d,se),h=[u,p];return s.createElement(e,(0,o.default)({},i,f,{style:h,ref:a}))})}const ce=le(s.forwardRef((e,t)=>s.createElement(l.default,(0,o.default)({scrollEventThrottle:1e-4},e,{ref:t}))));const ue=le(r(40484).default);var de=r(2772);const pe=le(s.forwardRef((e,t)=>s.createElement(de.default,(0,o.default)({scrollEventThrottle:1e-4},e,{ref:t}))));var fe=r(90494);const he=le(s.forwardRef((e,t)=>s.createElement(fe.default,(0,o.default)({scrollEventThrottle:1e-4},e,{ref:t}))));const me=le(r(6283).default);const ge=le(r(73929).default);const ye=class extends L{constructor(e,t){super(),this._a="number"===typeof e?new $(e):e,this._b="number"===typeof t?new $(t):t}__makeNative(e){this._a.__makeNative(e),this._b.__makeNative(e),super.__makeNative(e)}__getValue(){return this._a.__getValue()+this._b.__getValue()}interpolate(e){return new G(this,e)}__attach(){this._a.__addChild(this),this._b.__addChild(this)}__detach(){this._a.__removeChild(this),this._b.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"addition",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}};const ve=class extends L{constructor(e,t,n){super(),this._a=e,this._min=t,this._max=n,this._value=this._lastValue=this._a.__getValue()}__makeNative(e){this._a.__makeNative(e),super.__makeNative(e)}interpolate(e){return new G(this,e)}__getValue(){var e=this._a.__getValue(),t=e-this._lastValue;return this._lastValue=e,this._value=Math.min(Math.max(this._value+t,this._min),this._max),this._value}__attach(){this._a.__addChild(this)}__detach(){this._a.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"diffclamp",input:this._a.__getNativeTag(),min:this._min,max:this._max}}};const be=class extends L{constructor(e,t){super(),this._warnedAboutDivideByZero=!1,0===t||t instanceof P&&t.__getValue(),this._a="number"===typeof e?new $(e):e,this._b="number"===typeof t?new $(t):t}__makeNative(e){this._a.__makeNative(e),this._b.__makeNative(e),super.__makeNative(e)}__getValue(){var e=this._a.__getValue(),t=this._b.__getValue();return 0===t?(this._warnedAboutDivideByZero||(this._warnedAboutDivideByZero=!0),0):(this._warnedAboutDivideByZero=!1,e/t)}interpolate(e){return new G(this,e)}__attach(){this._a.__addChild(this),this._b.__addChild(this)}__detach(){this._a.__removeChild(this),this._b.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"division",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}};const _e=class extends L{constructor(e,t){super(),this._a=e,this._modulus=t}__makeNative(e){this._a.__makeNative(e),super.__makeNative(e)}__getValue(){return(this._a.__getValue()%this._modulus+this._modulus)%this._modulus}interpolate(e){return new G(this,e)}__attach(){this._a.__addChild(this)}__detach(){this._a.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"modulus",input:this._a.__getNativeTag(),modulus:this._modulus}}};const we=class extends L{constructor(e,t){super(),this._a="number"===typeof e?new $(e):e,this._b="number"===typeof t?new $(t):t}__makeNative(e){this._a.__makeNative(e),this._b.__makeNative(e),super.__makeNative(e)}__getValue(){return this._a.__getValue()*this._b.__getValue()}interpolate(e){return new G(this,e)}__attach(){this._a.__addChild(this),this._b.__addChild(this)}__detach(){this._a.__removeChild(this),this._b.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"multiplication",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}};const ke=class extends L{constructor(e,t){super(),this._a="number"===typeof e?new $(e):e,this._b="number"===typeof t?new $(t):t}__makeNative(e){this._a.__makeNative(e),this._b.__makeNative(e),super.__makeNative(e)}__getValue(){return this._a.__getValue()-this._b.__getValue()}interpolate(e){return new G(this,e)}__attach(){this._a.__addChild(this),this._b.__addChild(this)}__detach(){this._a.__removeChild(this),this._b.__removeChild(this),super.__detach()}__getNativeConfig(){return{type:"subtraction",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}};const Se=class extends P{constructor(e,t,n,r,i){super(),this._value=e,this._parent=t,this._animationClass=n,this._animationConfig=r,this._useNativeDriver=j(r),this._callback=i,this.__attach()}__makeNative(){this.__isNative=!0,this._parent.__makeNative(),super.__makeNative(),this._value.__makeNative()}__getValue(){return this._parent.__getValue()}__attach(){this._parent.__addChild(this),this._useNativeDriver&&this.__makeNative()}__detach(){this._parent.__removeChild(this),super.__detach()}update(){this._value.animate(new this._animationClass((0,i.default)((0,i.default)({},this._animationConfig),{},{toValue:this._animationConfig.toValue.__getValue()})),this._callback)}__getNativeConfig(){var e=new this._animationClass((0,i.default)((0,i.default)({},this._animationConfig),{},{toValue:void 0})).__getNativeAnimationConfig();return{type:"tracking",animationId:D(),animationConfig:e,toValue:this._parent.__getNativeTag(),value:this._value.__getNativeTag()}}};var xe=1;const Ce=class extends L{constructor(e){super();var t=e||{x:0,y:0};"number"===typeof t.x&&"number"===typeof t.y?(this.x=new $(t.x),this.y=new $(t.y)):(p()(t.x instanceof $&&t.y instanceof $,"AnimatedValueXY must be initialized with an object of numbers or AnimatedValues."),this.x=t.x,this.y=t.y),this._listeners={}}setValue(e){this.x.setValue(e.x),this.y.setValue(e.y)}setOffset(e){this.x.setOffset(e.x),this.y.setOffset(e.y)}flattenOffset(){this.x.flattenOffset(),this.y.flattenOffset()}extractOffset(){this.x.extractOffset(),this.y.extractOffset()}__getValue(){return{x:this.x.__getValue(),y:this.y.__getValue()}}resetAnimation(e){this.x.resetAnimation(),this.y.resetAnimation(),e&&e(this.__getValue())}stopAnimation(e){this.x.stopAnimation(),this.y.stopAnimation(),e&&e(this.__getValue())}addListener(e){var t=String(xe++),n=t=>{t.value;e(this.__getValue())};return this._listeners[t]={x:this.x.addListener(n),y:this.y.addListener(n)},t}removeListener(e){this.x.removeListener(this._listeners[e].x),this.y.removeListener(this._listeners[e].y),delete this._listeners[e]}removeAllListeners(){this.x.removeAllListeners(),this.y.removeAllListeners(),this._listeners={}}getLayout(){return{left:this.x,top:this.y}}getTranslateTransform(){return[{translateX:this.x},{translateY:this.y}]}};var Ee=1;const Ae=class{start(e,t,n,r,i){}stop(){this.__nativeId&&F.API.stopAnimation(this.__nativeId)}__getNativeAnimationConfig(){throw new Error("This animation type cannot be offloaded to native")}__debouncedOnEnd(e){var t=this.__onEnd;this.__onEnd=null,t&&t(e)}__startNativeAnimation(t){var n=Ee+":startAnimation";Ee+=1,F.API.setWaitingForIdentifier(n);try{var r=this.__getNativeAnimationConfig();t.__makeNative(r.platformConfig),this.__nativeId=F.generateNewAnimationId(),F.API.startAnimatingNode(this.__nativeId,t.__getNativeTag(),r,this.__debouncedOnEnd.bind(this))}catch(e){throw e}finally{F.API.unsetWaitingForIdentifier(n)}}};const Te=class extends Ae{constructor(e){var t,n,r;super(),this._deceleration=null!==(t=e.deceleration)&&void 0!==t?t:.998,this._velocity=e.velocity,this._useNativeDriver=j(e),this.__isInteraction=null!==(n=e.isInteraction)&&void 0!==n?n:!this._useNativeDriver,this.__iterations=null!==(r=e.iterations)&&void 0!==r?r:1}__getNativeAnimationConfig(){return{type:"decay",deceleration:this._deceleration,velocity:this._velocity,iterations:this.__iterations}}start(e,t,n,r,i){this.__active=!0,this._lastValue=e,this._fromValue=e,this._onUpdate=t,this.__onEnd=n,this._startTime=Date.now(),this._useNativeDriver?this.__startNativeAnimation(i):this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))}onUpdate(){var e=Date.now(),t=this._fromValue+this._velocity/(1-this._deceleration)*(1-Math.exp(-(1-this._deceleration)*(e-this._startTime)));this._onUpdate(t),Math.abs(this._lastValue-t)<.1?this.__debouncedOnEnd({finished:!0}):(this._lastValue=t,this.__active&&(this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))))}stop(){super.stop(),this.__active=!1,r.g.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}};function Ie(e){return 3.62*(e-30)+194}function Re(e){return 3*(e-8)+25}const Oe={fromOrigamiTensionAndFriction:function(e,t){return{stiffness:Ie(e),damping:Re(t)}},fromBouncinessAndSpeed:function(e,t){function n(e,t,n){return(e-t)/(n-t)}function r(e,t,n){return t+e*(n-t)}var i=n(e/1.7,0,20);i=r(i,0,.8);var a,o,s=r(n(t/1.7,0,20),.5,200),l=(a=i,o=function(e){return e<=18?(t=e,7e-4*Math.pow(t,3)-.031
2*Math.pow(t,2)+.64*t+1.28):e>18&&e<=44?function(e){return 44e-6*Math.pow(e,3)-.006*Math.pow(e,2)+.36*e+2}(e):function(e){return 45e-8*Math.pow(e,3)-332e-6*Math.pow(e,2)+.1078*e+5.84}(e);var t}(s),function(e,t,n){return e*n+(1-e)*t}(2*a-a*a,o,.01));return{stiffness:Ie(s),damping:Re(l)}}};class De extends Ae{constructor(e){var t,n,r,i,a,o,s,l,c,u,d;if(super(),this._overshootClamping=null!==(t=e.overshootClamping)&&void 0!==t&&t,this._restDisplacementThreshold=null!==(n=e.restDisplacementThreshold)&&void 0!==n?n:.001,this._restSpeedThreshold=null!==(r=e.restSpeedThreshold)&&void 0!==r?r:.001,this._initialVelocity=null!==(i=e.velocity)&&void 0!==i?i:0,this._lastVelocity=null!==(a=e.velocity)&&void 0!==a?a:0,this._toValue=e.toValue,this._delay=null!==(o=e.delay)&&void 0!==o?o:0,this._useNativeDriver=j(e),this._platformConfig=e.platformConfig,this.__isInteraction=null!==(s=e.isInteraction)&&void 0!==s?s:!this._useNativeDriver,this.__iterations=null!==(l=e.iterations)&&void 0!==l?l:1,void 0!==e.stiffness||void 0!==e.damping||void 0!==e.mass)p()(void 0===e.bounciness&&void 0===e.speed&&void 0===e.tension&&void 0===e.friction,"You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one"),this._stiffness=null!==(c=e.stiffness)&&void 0!==c?c:100,this._damping=null!==(u=e.damping)&&void 0!==u?u:10,this._mass=null!==(d=e.mass)&&void 0!==d?d:1;else if(void 0!==e.bounciness||void 0!==e.speed){var f,h;p()(void 0===e.tension&&void 0===e.friction&&void 0===e.stiffness&&void 0===e.damping&&void 0===e.mass,"You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one");var m=Oe.fromBouncinessAndSpeed(null!==(f=e.bounciness)&&void 0!==f?f:8,null!==(h=e.speed)&&void 0!==h?h:12);this._stiffness=m.stiffness,this._damping=m.damping,this._mass=1}else{var g,y,v=Oe.fromOrigamiTensionAndFriction(null!==(g=e.tension)&&void 0!==g?g:40,null!==(y=e.friction)&&void 0!==y?y:7);this._stiffness=v.stiffness,this._damping=v.damping,this._mass=1}p()(this._stiffness>0,"Stiffness value must be greater than 0"),p()(this._damping>0,"Damping value must be greater than 0"),p()(this._mass>0,"Mass value must be greater than 0")}__getNativeAnimationConfig(){var e;return{type:"spring",overshootClamping:this._overshootClamping,restDisplacementThreshold:this._restDisplacementThreshold,restSpeedThreshold:this._restSpeedThreshold,stiffness:this._stiffness,damping:this._damping,mass:this._mass,initialVelocity:null!==(e=this._initialVelocity)&&void 0!==e?e:this._lastVelocity,toValue:this._toValue,iterations:this.__iterations,platformConfig:this._platformConfig}}start(e,t,n,r,i){if(this.__active=!0,this._startPosition=e,this._lastPosition=this._startPosition,this._onUpdate=t,this.__onEnd=n,this._lastTime=Date.now(),this._frameTime=0,r instanceof De){var a=r.getInternalState();this._lastPosition=a.lastPosition,this._lastVelocity=a.lastVelocity,this._initialVelocity=this._lastVelocity,this._lastTime=a.lastTime}var o=()=>{this._useNativeDriver?this.__startNativeAnimation(i):this.onUpdate()};this._delay?this._timeout=setTimeout(o,this._delay):o()}getInternalState(){return{lastPosition:this._lastPosition,lastVelocity:this._lastVelocity,lastTime:this._lastTime}}onUpdate(){var e=Date.now();e>this._lastTime+64&&(e=this._lastTime+64);var t=(e-this._lastTime)/1e3;this._frameTime+=t;var n=this._damping,r=this._mass,i=this._stiffness,a=-this._initialVelocity,o=n/(2*Math.sqrt(i*r)),s=Math.sqrt(i/r),l=s*Math.sqrt(1-o*o),c=this._toValue-this._startPosition,u=0,d=0,p=this._frameTime;if(o<1){var f=Math.exp(-o*s*p);u=this._toValue-f*((a+o*s*c)/l*Math.sin(l*p)+c*Math.cos(l*p)),d=o*s*f*(Math.sin(l*p)*(a+o*s*c)/l+c*Math.cos(l*p))-f*(Math.cos(l*p)*(a+o*s*c)-l*c*Math.sin(l*p))}else{var h=Math.exp(-s*p);u=this._toValue-h*(c+(a+s*c)*p),d=h*(a*(p*s-1)+p*c*(s*s))}if(this._lastTime=e,this._lastPosition=u,this._lastVelocity=d,this._onUpdate(u),this.__active){var m=!1;this._overshootClamping&&0!==this._stiffness&&(m=this._startPosition<this._toValue?u>this._toValue:u<this._toValue);var g=Math.abs(d)<=this._restSpeedThreshold,y=!0;if(0!==this._stiffness&&(y=Math.abs(this._toValue-u)<=this._restDisplacementThreshold),m||g&&y)return 0!==this._stiffness&&(this._lastPosition=this._toValue,this._lastVelocity=0,this._onUpdate(this._toValue)),void this.__debouncedOnEnd({finished:!0});this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))}}stop(){super.stop(),this.__active=!1,clearTimeout(this._timeout),r.g.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}const Ne=De;var je,Fe=r(95620);const Me=class extends Ae{constructor(e){var t,n,r,i,a;super(),this._toValue=e.toValue,this._easing=null!==(t=e.easing)&&void 0!==t?t:(je||(je=Fe.default.inOut(Fe.default.ease)),je),this._duration=null!==(n=e.duration)&&void 0!==n?n:500,this._delay=null!==(r=e.delay)&&void 0!==r?r:0,this.__iterations=null!==(i=e.iterations)&&void 0!==i?i:1,this._useNativeDriver=j(e),this._platformConfig=e.platformConfig,this.__isInteraction=null!==(a=e.isInteraction)&&void 0!==a?a:!this._useNativeDriver}__getNativeAnimationConfig(){for(var e=[],t=Math.round(this._duration/(1e3/60)),n=0;n<t;n++)e.push(this._easing(n/t));return e.push(this._easing(1)),{type:"frames",frames:e,toValue:this._toValue,iterations:this.__iterations,platformConfig:this._platformConfig}}start(e,t,n,r,i){this.__active=!0,this._fromValue=e,this._onUpdate=t,this.__onEnd=n;var a=()=>{0!==this._duration||this._useNativeDriver?(this._startTime=Date.now(),this._useNativeDriver?this.__startNativeAnimation(i):this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))):(this._onUpdate(this._toValue),this.__debouncedOnEnd({finished:!0}))};this._delay?this._timeout=setTimeout(a,this._delay):a()}onUpdate(){var e=Date.now();if(e>=this._startTime+this._duration)return 0===this._duration?this._onUpdate(this._toValue):this._onUpdate(this._fromValue+this._easing(1)*(this._toValue-this._fromValue)),void this.__debouncedOnEnd({finished:!0});this._onUpdate(this._fromValue+this._easing((e-this._startTime)/this._duration)*(this._toValue-this._fromValue)),this.__active&&(this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this)))}stop(){super.stop(),this.__active=!1,clearTimeout(this._timeout),r.g.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}};var Ve=F.API,Pe={r:0,g:0,b:0,a:1},Le=1;function Be(e){if(void 0===e||null===e)return null;if(He(e))return e;var t=H()(e);if(void 0===t||null===t)return null;if("object"===typeof t){if(null!=t)return t}else if("number"===typeof t){return{r:(4278190080&t)>>>24,g:(16711680&t)>>>16,b:(65280&t)>>>8,a:(255&t)/255}}return null}function He(e){return e&&"number"===typeof e.r&&"number"===typeof e.g&&"number"===typeof e.b&&"number"===typeof e.a}class We extends L{constructor(e,t){super(),this._listeners={};var n=null!==e&&void 0!==e?e:Pe;if(function(e){return e&&e.r instanceof $&&e.g instanceof $&&e.b instanceof $&&e.a instanceof $}(n)){var r=n;this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a}else{var i,a=null!==(i=Be(n))&&void 0!==i?i:Pe,o=Pe;He(a)?o=a:this.nativeColor=a,this.r=new $(o.r),this.g=new $(o.g),this.b=new $(o.b),this.a=new $(o.a)}(this.nativeColor||t&&t.useNativeDriver)&&this.__makeNative()}setValue(e){var t,n=!1;if(this.__isNative){var r=this.__getNativeTag();Ve.setWaitingForIdentifier(r.toString())}var i=null!==(t=Be(e))&&void 0!==t?t:Pe;if(He(i)){var a=i;this.r.setValue(a.r),this.g.setValue(a.g),this.b.setValue(a.b),this.a.setValue(a.a),null!=this.nativeColor&&(this.nativeColor=null,n=!0)}else{var o=i;this.nativeColor!==o&&(this.nativeColor=o,n=!0)}if(this.__isNative){var s=this.__getNativeTag();
2n&&Ve.updateAnimatedNodeConfig(s,this.__getNativeConfig()),Ve.unsetWaitingForIdentifier(s.toString())}}setOffset(e){this.r.setOffset(e.r),this.g.setOffset(e.g),this.b.setOffset(e.b),this.a.setOffset(e.a)}flattenOffset(){this.r.flattenOffset(),this.g.flattenOffset(),this.b.flattenOffset(),this.a.flattenOffset()}extractOffset(){this.r.extractOffset(),this.g.extractOffset(),this.b.extractOffset(),this.a.extractOffset()}addListener(e){var t=String(Le++),n=t=>{t.value;e(this.__getValue())};return this._listeners[t]={r:this.r.addListener(n),g:this.g.addListener(n),b:this.b.addListener(n),a:this.a.addListener(n)},t}removeListener(e){this.r.removeListener(this._listeners[e].r),this.g.removeListener(this._listeners[e].g),this.b.removeListener(this._listeners[e].b),this.a.removeListener(this._listeners[e].a),delete this._listeners[e]}removeAllListeners(){this.r.removeAllListeners(),this.g.removeAllListeners(),this.b.removeAllListeners(),this.a.removeAllListeners(),this._listeners={}}stopAnimation(e){this.r.stopAnimation(),this.g.stopAnimation(),this.b.stopAnimation(),this.a.stopAnimation(),e&&e(this.__getValue())}resetAnimation(e){this.r.resetAnimation(),this.g.resetAnimation(),this.b.resetAnimation(),this.a.resetAnimation(),e&&e(this.__getValue())}__getValue(){return null!=this.nativeColor?this.nativeColor:"rgba("+this.r.__getValue()+", "+this.g.__getValue()+", "+this.b.__getValue()+", "+this.a.__getValue()+")"}__attach(){this.r.__addChild(this),this.g.__addChild(this),this.b.__addChild(this),this.a.__addChild(this),super.__attach()}__detach(){this.r.__removeChild(this),this.g.__removeChild(this),this.b.__removeChild(this),this.a.__removeChild(this),super.__detach()}__makeNative(e){this.r.__makeNative(e),this.g.__makeNative(e),this.b.__makeNative(e),this.a.__makeNative(e),super.__makeNative(e)}__getNativeConfig(){return{type:"color",r:this.r.__getNativeTag(),g:this.g.__getNativeTag(),b:this.b.__getNativeTag(),a:this.a.__getNativeTag(),nativeColor:this.nativeColor}}}var ze=function(e,t){return e&&t.onComplete?function(){t.onComplete&&t.onComplete(...arguments),e&&e(...arguments)}:e||t.onComplete},Ye=function(e,t,n){if(e instanceof Ce){var r=(0,i.default)({},t),a=(0,i.default)({},t);for(var o in t){var s=t[o],l=s.x,c=s.y;void 0!==l&&void 0!==c&&(r[o]=l,a[o]=c)}var u=n(e.x,r),d=n(e.y,a);return Ge([u,d],{stopTogether:!1})}if(e instanceof We){var p=(0,i.default)({},t),f=(0,i.default)({},t),h=(0,i.default)({},t),m=(0,i.default)({},t);for(var g in t){var y=t[g],v=y.r,b=y.g,_=y.b,w=y.a;void 0!==v&&void 0!==b&&void 0!==_&&void 0!==w&&(p[g]=v,f[g]=b,h[g]=_,m[g]=w)}var k=n(e.r,p),S=n(e.g,f),x=n(e.b,h),C=n(e.a,m);return Ge([k,S,x,C],{stopTogether:!1})}return null},Ue=function e(t,n){var r=function(e,t,n){n=ze(n,t);var r=e,i=t;r.stopTracking(),t.toValue instanceof P?r.track(new Se(r,t.toValue,Me,i,n)):r.animate(new Me(i),n)};return Ye(t,n,e)||{start:function(e){r(t,n,e)},stop:function(){t.stopAnimation()},reset:function(){t.resetAnimation()},_startNativeLoop:function(e){var a=(0,i.default)((0,i.default)({},n),{},{iterations:e});r(t,a)},_isUsingNativeDriver:function(){return n.useNativeDriver||!1}}},Xe=function(e){var t=0;return{start:function(n){0===e.length?n&&n({finished:!0}):e[t].start(function r(i){if(i.finished){if(++t===e.length)return t=0,void(n&&n(i));e[t].start(r)}else n&&n(i)})},stop:function(){t<e.length&&e[t].stop()},reset:function(){e.forEach((e,n)=>{n<=t&&e.reset()}),t=0},_startNativeLoop:function(){throw new Error("Loops run using the native driver cannot contain Animated.sequence animations")},_isUsingNativeDriver:function(){return!1}}},Ge=function(e,t){var n=0,r={},i=!(t&&!1===t.stopTogether),a={start:function(t){n!==e.length?e.forEach((o,s)=>{var l=function(o){if(r[s]=!0,++n===e.length)return n=0,void(t&&t(o));!o.finished&&i&&a.stop()};o?o.start(l):l({finished:!0})}):t&&t({finished:!0})},stop:function(){e.forEach((e,t)=>{!r[t]&&e.stop(),r[t]=!0})},reset:function(){e.forEach((e,t)=>{e.reset(),r[t]=!1,n=0})},_startNativeLoop:function(){throw new Error("Loops run using the native driver cannot contain Animated.parallel animations")},_isUsingNativeDriver:function(){return!1}};return a},qe=function(e){return Ue(new $(0),{toValue:0,delay:e,duration:0,useNativeDriver:!1})};const Je={Value:$,ValueXY:Ce,Color:We,Interpolation:G,Node:P,decay:function e(t,n){var r=function(e,t,n){n=ze(n,t);var r=e,i=t;r.stopTracking(),r.animate(new Te(i),n)};return Ye(t,n,e)||{start:function(e){r(t,n,e)},stop:function(){t.stopAnimation()},reset:function(){t.resetAnimation()},_startNativeLoop:function(e){var a=(0,i.default)((0,i.default)({},n),{},{iterations:e});r(t,a)},_isUsingNativeDriver:function(){return n.useNativeDriver||!1}}},timing:Ue,spring:function e(t,n){var r=function(e,t,n){n=ze(n,t);var r=e,i=t;r.stopTracking(),t.toValue instanceof P?r.track(new Se(r,t.toValue,Ne,i,n)):r.animate(new Ne(i),n)};return Ye(t,n,e)||{start:function(e){r(t,n,e)},stop:function(){t.stopAnimation()},reset:function(){t.resetAnimation()},_startNativeLoop:function(e){var a=(0,i.default)((0,i.default)({},n),{},{iterations:e});r(t,a)},_isUsingNativeDriver:function(){return n.useNativeDriver||!1}}},add:function(e,t){return new ye(e,t)},subtract:function(e,t){return new ke(e,t)},divide:function(e,t){return new be(e,t)},multiply:function(e,t){return new we(e,t)},modulo:function(e,t){return new _e(e,t)},diffClamp:function(e,t,n){return new ve(e,t,n)},delay:qe,sequence:Xe,parallel:Ge,stagger:function(e,t){return Ge(t.map((t,n)=>Xe([qe(e*n),t])))},loop:function(e,t){var n=void 0===t?{}:t,r=n.iterations,i=void 0===r?-1:r,a=n.resetBeforeIteration,o=void 0===a||a,s=!1,l=0;return{start:function(t){e&&0!==i?e._isUsingNativeDriver()?e._startNativeLoop(i):function n(r){void 0===r&&(r={finished:!0}),s||l===i||!1===r.finished?t&&t(r):(l++,o&&e.reset(),e.start(n))}():t&&t({finished:!0})},stop:function(){s=!0,e.stop()},reset:function(){l=0,s=!1,e.reset()},_startNativeLoop:function(){throw new Error("Loops run using the native driver cannot contain Animated.loop animations")},_isUsingNativeDriver:function(){return e._isUsingNativeDriver()}}},event:function(e,t){var n=new Z(e,t);return n.__isNative?n:n.__getHandler()},createAnimatedComponent:le,attachNativeEvent:K,forkEvent:function(e,t){return e?e instanceof Z?(e.__addListener(t),e):function(){"function"===typeof e&&e(...arguments),t(...arguments)}:t},unforkEvent:function(e,t){e&&e instanceof Z&&e.__removeListener(t)},Event:Z};var $e=!1;function Ke(e){return t=>{var n=null==t?t:function(){if(!$e){$e=!0;try{t(...arguments)}finally{$e=!1}}};e(n)}}var Ze={start:()=>{},stop:()=>{},reset:()=>{},_startNativeLoop:()=>{},_isUsingNativeDriver:()=>!1},Qe=e=>(0,i.default)((0,i.default)({},Ze),{},{start:Ke(t=>
2{e.forEach(e=>e.start()),null==t||t({finished:!0})})});const et={Value:$,ValueXY:Ce,Color:We,Interpolation:G,Node:P,decay:function(e,t){return Ze},timing:function(e,t){var n=e;return(0,i.default)((0,i.default)({},Ze),{},{start:Ke(e=>{n.setValue(t.toValue),null==e||e({finished:!0})})})},spring:function(e,t){var n=e;return(0,i.default)((0,i.default)({},Ze),{},{start:Ke(e=>{n.setValue(t.toValue),null==e||e({finished:!0})})})},add:Je.add,subtract:Je.subtract,divide:Je.divide,multiply:Je.multiply,modulo:Je.modulo,diffClamp:Je.diffClamp,delay:function(e){return Ze},sequence:function(e){return Qe(e)},parallel:function(e,t){return Qe(e)},stagger:function(e,t){return Qe(t)},loop:function(e,t){(void 0===t?{}:t).iterations;return Ze},event:Je.event,createAnimatedComponent:le,attachNativeEvent:K,forkEvent:Je.forkEvent,unforkEvent:Je.unforkEvent,Event:Z};var tt=a.default.isTesting?et:Je;const nt=(0,i.default)({FlatList:ce,Image:ue,ScrollView:pe,SectionList:he,Text:me,View:ge},tt)},55324(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(26077),i=n.n(r),a=n(93684),o=n(58345),s=o.default&&!document.hasOwnProperty("hidden")&&document.hasOwnProperty("webkitHidden"),l=["change","memoryWarning"],c=s?"webkitvisibilitychange":"visibilitychange",u=s?"webkitVisibilityState":"visibilityState",d="background",p="active",f=null;class h{static get currentState(){if(!h.isAvailable)return p;switch(document[u]){case"hidden":case"prerender":case"unloaded":return d;default:return p}}static addEventListener(e,t){if(h.isAvailable&&(i()(-1!==l.indexOf(e),'Trying to subscribe to unknown event: "%s"',e),"change"===e))return f||(f=new a.default,document.addEventListener(c,()=>{f&&f.emit("change",h.currentState)},!1)),f.addListener(e,t)}}h.isAvailable=o.default&&!!document[u]},70414(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(58345).default&&null!=window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)"):null,i=new WeakMap;const a={getColorScheme:()=>r&&r.matches?"dark":"light",addChangeListener(e){var t=i.get(e);return t||(t=t=>{var n=t.matches;e({colorScheme:n?"dark":"light"})},i.set(e,t)),r&&r.addListener(t),{remove:function(){var t=i.get(e);r&&t&&r.removeListener(t),i.delete(e)}}}}},51773(e,t,n){"use strict";function r(){}n.r(t),n.d(t,{default:()=>i});const i={exitApp:r,addEventListener:()=>({remove:r}),removeEventListener:r}},40668(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});const r=n(43860).default},26725(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(26077),i=n.n(r),a=n(58345),o={window:{fontScale:1,height:0,scale:1,width:0},screen:{fontScale:1,height:0,scale:1,width:0}},s={},l=a.default;function c(){if(a.default){var e,t,n=window;if(n.visualViewport){var r=n.visualViewport;e=Math.round(r.height*r.scale),t=Math.round(r.width*r.scale)}else{var i=n.document.documentElement;e=i.clientHeight,t=i.clientWidth}o.window={fontScale:1,height:e,scale:n.devicePixelRatio||1,width:t},o.screen={fontScale:1,height:n.screen.height,scale:n.devicePixelRatio||1,width:n.screen.width}}}function u(){c(),Array.isArray(s.change)&&s.change.forEach(e=>e(o))}class d{static get(e){return l&&(l=!1,c()),i()(o[e],"No dimension set for key "+e),o[e]}static set(e){e&&(a.default?i()(!1,"Dimensions cannot be set in the browser"):(null!=e.screen&&(o.screen=e.screen),null!=e.window&&(o.window=e.window)))}static addEventListener(e,t){return s[e]=s[e]||[],s[e].push(t),{remove:()=>{this.removeEventListener(e,t)}}}static removeEventListener(e,t){Array.isArray(s[e])&&(s[e]=s[e].filter(e=>e!==t))}}a.default&&(window.visualViewport?window.visualViewport.addEventListener("resize",u,!1):window.addEventListener("resize",u,!1))},95620(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>f});var r,i=.1,a="function"===typeof Float32Array;function o(e,t){return 1-3*t+3*e}function s(e,t){return 3*t-6*e}function l(e){return 3*e}function c(e,t,n){return((o(t,n)*e+s(t,n))*e+l(t))*e}function u(e,t,n){return 3*o(t,n)*e*e+2*s(t,n)*e+l(t)}function d(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw new Error("bezier x values must be in [0, 1] range");var o=a?new Float32Array(11):new Array(11);if(e!==t||n!==r)for(var s=0;s<11;++s)o[s]=c(s*i,e,n);function l(t){for(var r=0,a=1;10!==a&&o[a]<=t;++a)r+=i;--a;var s=r+(t-o[a])/(o[a+1]-o[a])*i,l=u(s,e,n);return l>=.001?function(e,t,n,r){for(var i=t,a=0;a<4;++a){var o=u(i,n,r);if(0===o)return i;i-=(c(i,n,r)-e)/o}return i}(t,s,e,n):0===l?s:function(e,t,n,r,i){var a,o,s=0,l=t,u=n;do{(a=c(o=l+(u-l)/2,r,i)-e)>0?u=o:l=o}while(Math.abs(a)>1e-7&&++s<10);return o}(t,r,r+i,e,n)}return function(i){return e===t&&n===r?i:0===i?0:1===i?1:c(l(i),t,r)}}class p{static step0(e){return e>0?1:0}static step1(e){return e>=1?1:0}static linear(e){return e}static ease(e){return r||(r=p.bezier(.42,0,1,1)),r(e)}static quad(e){return e*e}static cubic(e){return e*e*e}static poly(e){return t=>Math.pow(t,e)}static sin(e){return 1-Math.cos(e*Math.PI/2)}static circle(e){return 1-Math.sqrt(1-e*e)}static exp(e){return Math.pow(2,10*(e-1))}static elastic(e){void 0===e&&(e=1);var t=e*Math.PI;return e=>
21-Math.pow(Math.cos(e*Math.PI/2),3)*Math.cos(e*t)}static back(e){return void 0===e&&(e=1.70158),t=>t*t*((e+1)*t-e)}static bounce(e){if(e<1/2.75)return 7.5625*e*e;if(e<2/2.75){var t=e-1.5/2.75;return 7.5625*t*t+.75}if(e<2.5/2.75){var n=e-2.25/2.75;return 7.5625*n*n+.9375}var r=e-2.625/2.75;return 7.5625*r*r+.984375}static bezier(e,t,n,r){return d(e,t,n,r)}static in(e){return e}static out(e){return t=>1-e(1-t)}static inOut(e){return t=>t<.5?e(2*t)/2:1-e(2*(1-t))/2}}const f=p},90932(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>w});var r=n(58168),i=n(98587),a=n(27051),o=n(73929),s=n(75675);const l=function e(t,n,r){if(void 0===r&&(r=-1),0===r)return!0;if(t===n)return!1;if("function"===typeof t&&"function"===typeof n)return!1;if("object"!==typeof t||null===t)return t!==n;if("object"!==typeof n||null===n)return!0;if(t.constructor!==n.constructor)return!0;if(Array.isArray(t)){var i=t.length;if(n.length!==i)return!0;for(var a=0;a<i;a++)if(e(t[a],n[a],r-1))return!0}else{for(var o in t)if(e(t[o],n[o],r-1))return!0;for(var s in n)if(void 0===t[s]&&void 0!==n[s])return!0}return!1};var c=n(26077),u=n.n(c),d=n(36665),p=n(65191),f=n(2853),h=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function m(e,t){return e===t||!(!h(e)||!h(t))}function g(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!m(e[n],t[n]))return!1;return!0}var y=["numColumns","columnWrapperStyle","removeClippedSubviews","strictMode"];function v(e){return null!==e&&void 0!==e?e:1}class b extends d.PureComponent{scrollToEnd(e){this._listRef&&this._listRef.scrollToEnd(e)}scrollToIndex(e){this._listRef&&this._listRef.scrollToIndex(e)}scrollToItem(e){this._listRef&&this._listRef.scrollToItem(e)}scrollToOffset(e){this._listRef&&this._listRef.scrollToOffset(e)}recordInteraction(){this._listRef&&this._listRef.recordInteraction()}flashScrollIndicators(){this._listRef&&this._listRef.flashScrollIndicators()}getScrollResponder(){if(this._listRef)return this._listRef.getScrollResponder()}getNativeScrollRef(){if(this._listRef)return this._listRef.getScrollRef()}getScrollableNode(){if(this._listRef)return this._listRef.getScrollableNode()}constructor(e){super(e),this._virtualizedListPairs=[],this._captureRef=e=>{this._listRef=e},this._getItem=(e,t)=>{var n=v(this.props.numColumns);if(n>1){for(var r=[],i=0;i<n;i++){var a=t*n+i;if(a<e.length){var o=e[a];r.push(o)}}return r}return e[t]},this._getItemCount=e=>{if(null!=e&&function(e){return"number"===typeof Object(e).length}(e)){var t=v(this.props.numColumns);return t>1?Math.ceil(e.length/t):e.length}return 0},this._keyExtractor=(e,t)=>{var n,r=v(this.props.numColumns),i=null!==(n=this.props.keyExtractor)&&void 0!==n?n:f.keyExtractor;return r>1?(u()(Array.isArray(e),"FlatList: Encountered internal consistency error, expected each item to consist of an array with 1-%s columns; instead, received a single item.",r),e.map((e,n)=>i(e,t*r+n)).join(":")):i(e,t)},this._renderer=(e,t,n,r,i)=>{var a=v(r),s=n=>e?d.createElement(e,n):t?t(n):null,l=e=>{if(a>1){var t=e.item,r=e.index;return u()(Array.isArray(t),"Expected array of items with numColumns > 1"),d.createElement(o.default,{style:[_.row,n]},t.map((t,n)=>{var i=s({item:t,index:r*a+n,separators:e.separators});return null!=i?d.createElement(d.Fragment,{key:n},i):null}))}return s(e)};return e?{ListItemComponent:l}:{renderItem:l}},this._memoizedRenderer=function(e,t){void 0===t&&(t=g);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var a=e.apply(this,r);return n={lastResult:a,lastArgs:r,lastThis:this},a}return r.clear=function(){n=null},r}(this._renderer),this._checkProps(this.props),this.props.viewabilityConfigCallbackPairs?this._virtualizedListPairs=this.props.viewabilityConfigCallbackPairs.map(e=>({viewabilityConfig:e.viewabilityConfig,onViewableItemsChanged:this._createOnViewableItemsChanged(e.onViewableItemsChanged)})):this.props.onViewableItemsChanged&&this._virtualizedListPairs.push({viewabilityConfig:this.props.viewabilityConfig,onViewableItemsChanged:this._createOnViewableItemsChanged(this.props.onViewableItemsChanged)})}componentDidUpdate(e){u()(e.numColumns===this.props.numColumns,"Changing numColumns on the fly is not supported. Change the key prop on FlatList when changing the number of columns to force a fresh render of the component."),u()(e.onViewableItemsChanged===this.props.onViewableItemsChanged,"Changing onViewableItemsChanged on the fly is not supported"),u()(!l(e.viewabilityConfig,this.props.viewabilityConfig),"Changing viewabilityConfig on the fly is not supported"),u()(e.viewabilityConfigCallbackPairs===this.props.viewabilityConfigCallbackPairs,"Changing viewabilityConfigCallbackPairs on the fly is not supported"),this._checkProps(this.props)}
2_checkProps(e){var t=e.getItem,n=e.getItemCount,r=e.horizontal,i=e.columnWrapperStyle,a=e.onViewableItemsChanged,o=e.viewabilityConfigCallbackPairs,s=v(this.props.numColumns);u()(!t&&!n,"FlatList does not support custom data formats."),s>1?u()(!r,"numColumns does not support horizontal."):u()(!i,"columnWrapperStyle not supported for single column lists"),u()(!(a&&o),"FlatList does not support setting both onViewableItemsChanged and viewabilityConfigCallbackPairs.")}_pushMultiColumnViewable(e,t){var n,r=v(this.props.numColumns),i=null!==(n=this.props.keyExtractor)&&void 0!==n?n:f.keyExtractor;t.item.forEach((n,o)=>{u()(null!=t.index,"Missing index!");var s=t.index*r+o;e.push((0,a.default)((0,a.default)({},t),{},{item:n,key:i(n,s),index:s}))})}_createOnViewableItemsChanged(e){return t=>{var n=v(this.props.numColumns);if(e)if(n>1){var r=[],i=[];t.viewableItems.forEach(e=>this._pushMultiColumnViewable(i,e)),t.changed.forEach(e=>this._pushMultiColumnViewable(r,e)),e({viewableItems:i,changed:r})}else e(t)}}render(){var e,t=this.props,n=t.numColumns,a=t.columnWrapperStyle,o=t.removeClippedSubviews,s=t.strictMode,l=void 0!==s&&s,c=(0,i.default)(t,y),u=l?this._memoizedRenderer:this._renderer;return d.createElement(p.default,(0,r.default)({},c,{getItem:this._getItem,getItemCount:this._getItemCount,keyExtractor:this._keyExtractor,ref:this._captureRef,viewabilityConfigCallbackPairs:this._virtualizedListPairs,removeClippedSubviews:(e=o,null!==e&&void 0!==e&&e)},u(this.props.ListItemComponent,this.props.renderItem,a,n,this.props.extraData)))}}var _=s.default.create({row:{flexDirection:"row"}});const w=b},48623(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});const r={allowRTL(){},forceRTL(){},getConstants:()=>({isRTL:!1})}},40484(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>D});var r=n(27051),i=n(58168),a=n(98587),o=n(36665),s=n(50658),l=[];function c(e){return l[e-1]}var u=n(95568),d=/^data:/;class p{static has(e){var t=p._entries;return d.test(e)||Boolean(t[e])}static add(e){var t=p._entries,n=Date.now();t[e]?(t[e].lastUsedTimestamp=n,t[e].refCount+=1):t[e]={lastUsedTimestamp:n,refCount:1}}static remove(e){var t=p._entries;t[e]&&(t[e].refCount-=1),p._cleanUpIfNeeded()}static _cleanUpIfNeeded(){var e,t,n=p._entries,r=Object.keys(n);r.length+1>p._maximumEntries&&(r.forEach(r=>{var i=n[r];(!t||i.lastUsedTimestamp<t.lastUsedTimestamp)&&0===i.refCount&&(e=r,t=i)}),e&&delete n[e])}}p._maximumEntries=256,p._entries={};var f=0,h={},m={abort(e){var t=h[""+e];t&&(t.onerror=null,t.onload=null,t=null,delete h[""+e])},getSize(e,t,n){var r=!1,i=setInterval(o,16),a=m.load(e,o,function(){"function"===typeof n&&n();m.abort(a),clearInterval(i)});function o(){var e=h[""+a];if(e){var n=e.naturalHeight,o=e.naturalWidth;n&&o&&(t(o,n),r=!0)}r&&(m.abort(a),clearInterval(i))}},has:e=>p.has(e),load(e,t,n){f+=1;var r=new window.Image;return r.onerror=n,r.onload=e=>{var n=()=>t({nativeEvent:e});"function"===typeof r.decode?r.decode().then(n,n):setTimeout(n,0)},r.src=e,h[""+f]=r,f},prefetch:e=>new Promise((t,n)=>{m.load(e,()=>{p.add(e),p.remove(e),t()},n)}),queryCache(e){var t={};return e.forEach(e=>{p.has(e)&&(t[e]="disk/memory")}),Promise.resolve(t)}};const g=m;var y=n(98943),v=n(75675),b=n(65730),_=n(73929),w=n(32155),k=["aria-label","accessibilityLabel","blurRadius","defaultSource","draggable","onError","onLayout","onLoad","onLoadEnd","onLoadStart","pointerEvents","source","style"],S="LOADED",x="LOADING",C=0,E=/^(data:image\/svg\+xml;utf8,)(.*)/;function A(e){var t=null;if("number"===typeof e){var n=c(e);if(null==n)throw new Error('Image: asset with ID "'+e+'" could not be found. Please check the image source or packager.');var r=n.scales[0];if(n.scales.length>1){var i=y.default.get();r=n.scales.reduce((e,t)=>Math.abs(t-i)<Math.abs(e-i)?t:e)}var a=1!==r?"@"+r+"x":"";t=n?n.httpServerLocation+"/"+n.name+a+"."+n.type:""}else"string"===typeof e?t=e:e&&"string"===typeof e.uri&&(t=e.uri);if(t){var o=t.match(E);if(o){var s=o[1],l=o[2];return""+s+encodeURIComponent(l)}}return t}var T=o.forwardRef((e,t)=>{var n=e["aria-label"],r=e.accessibilityLabel,l=e.blurRadius,d=e.defaultSource,p=e.draggable,f=e.onError,h=e.onLayout,m=e.onLoad,y=e.onLoadEnd,E=e.onLoadStart,T=e.pointerEvents,I=e.source,D=e.style,N=(0,a.default)(e,k),j=n||r;var F=o.useState(()=>{var e=A(I);if(null!=e&&g.has(e))return S;return"IDLE"}),M=F[0],V=F[1],P=o.useState({}),L=P[0],B=P[1],H=o.useContext(b.default),W=o.useRef(null),z=o.useRef(C++),Y=o.useRef(null),U=M===S||M===x&&null==d,X=function(e,t,n,r){var i=v.default.flatten(e),a=i.filter,o=i.resizeMode,s=i.shadowOffset,l=i.tintColor;i.resizeMode&&(0,w.warnOnce)("Image.style.resizeMode","Image: style.resizeMode is deprecated. Please use props.resizeMode."),i.tintColor&&(0,w.warnOnce)("Image.style.tintColor","Image: style.tintColor is deprecated. Please use props.tintColor.");var c=[],d=null;if(a&&c.push(a),t&&c.push("blur("+t+"px)"),s){var p=(0,u.createBoxShadowValue)(i);p&&c.push("drop-shadow("+p+")")}
2return(r||l)&&null!=n&&c.push("url(#tint-"+n+")"),c.length>0&&(d=c.join(" ")),[o,d,l]}(D,l,z.current,e.tintColor),G=X[0],q=X[1],J=X[2],$=e.resizeMode||G||"cover",K=e.tintColor||J,Z=U?I:d,Q=A(Z),ee=function(e){if("number"===typeof e){var t=c(e);return{height:t.height,width:t.width}}if(null!=e&&!Array.isArray(e)&&"object"===typeof e)return{height:e.height,width:e.width}}(Z),te=Q?'url("'+Q+'")':null,ne=function(){if(null!=W.current&&("center"===$||"repeat"===$)){var e=W.current,t=e.naturalHeight,n=e.naturalWidth,r=L.height,i=L.width;if(t&&n&&r&&i){var a=Math.min(1,i/n,r/t);return Math.ceil(a*n)+"px "+Math.ceil(a*t)+"px"}}}(),re=Q?(0,s.default)("img",{alt:j||"",style:R.accessibilityImage$raw,draggable:p||!1,ref:W,src:Q}):null;var ie=A(I);return o.useEffect(()=>{function e(){null!=Y.current&&(g.abort(Y.current),Y.current=null)}return e(),null!=ie&&(V(x),E&&E(),Y.current=g.load(ie,function(e){V(S),m&&m(e),y&&y()},function(){V("ERRORED"),f&&f({nativeEvent:{error:"Failed to load resource "+ie}}),y&&y()})),e},[ie,Y,V,f,m,y,E]),o.createElement(_.default,(0,i.default)({},N,{"aria-label":j,onLayout:function(e){if("center"===$||"repeat"===$||h){var t=e.nativeEvent.layout;h&&h(e),B(t)}},pointerEvents:T,ref:t,style:[R.root,H&&R.inline,ee,D,R.undo,{boxShadow:null}]}),o.createElement(_.default,{style:[R.image,O[$],{backgroundImage:te,filter:q},null!=ne&&{backgroundSize:ne}],suppressHydrationWarning:!0}),re,function(e,t){return e&&null!=t?o.createElement("svg",{style:{position:"absolute",height:0,visibility:"hidden",width:0}},o.createElement("defs",null,o.createElement("filter",{id:"tint-"+t,suppressHydrationWarning:!0},o.createElement("feFlood",{floodColor:""+e,key:e}),o.createElement("feComposite",{in2:"SourceAlpha",operator:"in"})))):null}(K,z.current))});T.displayName="Image";var I=T;I.getSize=function(e,t,n){g.getSize(e,t,n)},I.prefetch=function(e){return g.prefetch(e)},I.queryCache=function(e){return g.queryCache(e)};var R=v.default.create({root:{flexBasis:"auto",overflow:"hidden",zIndex:0},inline:{display:"inline-flex"},undo:{blurRadius:null,shadowColor:null,shadowOpacity:null,shadowOffset:null,shadowRadius:null,tintColor:null,overlayColor:null,resizeMode:null},image:(0,r.default)((0,r.default)({},v.default.absoluteFillObject),{},{backgroundColor:"transparent",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover",height:"100%",width:"100%",zIndex:-1}),accessibilityImage$raw:(0,r.default)((0,r.default)({},v.default.absoluteFillObject),{},{height:"100%",opacity:0,width:"100%",zIndex:-1})}),O=v.default.create({center:{backgroundSize:"auto"},contain:{backgroundSize:"contain"},cover:{backgroundSize:"cover"},none:{backgroundPosition:"0",backgroundSize:"auto"},repeat:{backgroundPosition:"0",backgroundRepeat:"repeat",backgroundSize:"auto"},stretch:{backgroundSize:"100% 100%"}});const D=I},93816(t,n,r){"use strict";r.r(n),r.d(n,{default:()=>S});var i=r(26077),a=r.n(i),o=r(27051);const s=class{constructor(e){var t=e.onMoreTasks;this._onMoreTasks=t,this._queueStack=[{tasks:[],popable:!0}]}enqueue(e){this._getCurrentQueue().push(e)}enqueueTasks(e){e.forEach(e=>this.enqueue(e))}cancelTasks(e){this._queueStack=this._queueStack.map(t=>(0,o.default)((0,o.default)({},t),{},{tasks:t.tasks.filter(t=>-1===e.indexOf(t))})).filter((e,t)=>e.tasks.length>0||0===t)}hasTasksToProcess(){return this._getCurrentQueue().length>0}processNext(){var t=this._getCurrentQueue();if(t.length){var n=t.shift();try{"object"===typeof n&&n.gen?this._genPromise(n):"object"===typeof n&&n.run?n.run():(a()("function"===typeof n,"Expected Function, SimpleTask, or PromiseTask, but got:\n"+JSON.stringify(n,null,2)),n())}catch(e){throw e.message="TaskQueue: Error with task "+(n.name||"")+": "+e.message,e}}}_getCurrentQueue(){var e=this._queueStack.length-1,t=this._queueStack[e];return t.popable&&0===t.tasks.length&&e>0?(this._queueStack.pop(),this._getCurrentQueue()):t.tasks}_genPromise(e){var t=this._queueStack.push({tasks:[],popable:!1})-1,n=this._queueStack[t];e.gen().then(()=>{n.popable=!0,this.hasTasksToProcess()&&this._onMoreTasks()}).catch(t=>{setTimeout(()=>{throw t.message="TaskQueue: Error resolving Promise in task "+e.name+": "+t.message,t},0)})}};var l=r(93684),c=r(58345).default&&"undefined"!==typeof window.requestIdleCallback,u=c?window.requestIdleCallback:function(e,t){return setTimeout(()=>{var t=Date.now();e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})},1)};c&&window.cancelIdleCallback;const d=u;var p=new l.default,f={Events:{interactionStart:"interactionStart",interactionComplete:"interactionComplete"},runAfterInteractions(e){var t=[],n=new Promise(n=>{w(),e&&t.push(e),t.push({run:n,name:"resolve "+(e&&e.name||"?")}
2),y.enqueueTasks(t)});return{then:n.then.bind(n),done:n.then.bind(n),cancel:()=>{y.cancelTasks(t)}}},createInteractionHandle(){w();var e=++b;return m.add(e),e},clearInteractionHandle(e){a()(!!e,"Must provide a handle to clear."),w(),m.delete(e),g.add(e)},addListener:p.addListener.bind(p),setDeadline(e){_=e}},h=new Set,m=new Set,g=new Set,y=new s({onMoreTasks:w}),v=0,b=0,_=-1;function w(){v||(v=_>0?setTimeout(k):d(k))}function k(){v=0;var e=h.size;m.forEach(e=>h.add(e)),g.forEach(e=>h.delete(e));var t=h.size;if(0!==e&&0===t?p.emit(f.Events.interactionComplete):0===e&&0!==t&&p.emit(f.Events.interactionStart),0===t)for(var n=Date.now();y.hasTasksToProcess();)if(y.processNext(),_>0&&Date.now()-n>=_){w();break}m.clear(),g.clear()}const S=f},92365(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(21175);const i={isVisible:()=>!1,addListener:()=>({remove:()=>{}}),dismiss(){(0,r.default)()},removeAllListeners(){},removeListener(){}}},48511(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(95991),i=n(97640);function a(e,t){r.default.isTesting||i.default.configureNextLayoutAnimation(e,null!==t&&void 0!==t?t:function(){},function(){})}function o(e,t,n){return{duration:e,create:{type:t,property:n},update:{type:t},delete:{type:t,property:n}}}var s={easeInEaseOut:o(300,"easeInEaseOut","opacity"),linear:o(500,"linear","opacity"),spring:{duration:700,create:{type:"linear",property:"opacity"},update:{type:"spring",springDamping:.4},delete:{type:"linear",property:"opacity"}}};const l={configureNext:a,create:o,Types:Object.freeze({spring:"spring",linear:"linear",easeInEaseOut:"easeInEaseOut",easeIn:"easeIn",easeOut:"easeOut",keyboard:"keyboard"}),Properties:Object.freeze({opacity:"opacity",scaleX:"scaleX",scaleY:"scaleY",scaleXY:"scaleXY"}),checkConfig(){},Presets:s,easeInEaseOut:a.bind(null,s.easeInEaseOut),linear:a.bind(null,s.linear),spring:a.bind(null,s.spring)}},79632(t,n,r){"use strict";r.r(n),r.d(n,{default:()=>c});var i=r(26077),a=r.n(i),o=r(58345),s=o.default?window.location.href:"";var l=(e,t)=>
2{if(o.default){var n=new URL(e,window.location).toString();0===n.indexOf("tel:")?window.location=n:window.open(n,t,"noopener")}};const c=new class{constructor(){this._eventCallbacks={}}_dispatchEvent(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=this._eventCallbacks[e];null!=i&&Array.isArray(i)&&i.map(e=>{e(...n)})}addEventListener(e,t){var n=this;return n._eventCallbacks[e]||(n._eventCallbacks[e]=[t]),n._eventCallbacks[e].push(t),{remove(){var r=n._eventCallbacks[e].filter(e=>e.toString()!==t.toString());n._eventCallbacks[e]=r}}}removeEventListener(e,t){var n=this._eventCallbacks[e].filter(e=>e.toString()!==t.toString());this._eventCallbacks[e]=n}canOpenURL(){return Promise.resolve(!0)}getInitialURL(){return Promise.resolve(s)}openURL(t,n){1===arguments.length&&(n="_blank");try{return l(t,n),this._dispatchEvent("onOpen",t),Promise.resolve()}catch(e){return Promise.reject(e)}}_validateURL(e){a()("string"===typeof e,"Invalid URL: should be a string. Was: "+e),a()(e,"Invalid URL: cannot be empty")}}},42907(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});const r={ignoreLogs(){},ignoreAllLogs(){},uninstall(){},install(){}}},78264(t,n,r){"use strict";r.r(n),r.d(n,{default:()=>V});var i=r(58168),a=r(98587),o=r(36665),s=r(33672),l=r(58345);const c=function(e){var t=e.children,n=o.useRef(null);if(l.default&&!n.current){var r=document.createElement("div");r&&document.body&&(document.body.appendChild(r),n.current=r)}return o.useEffect(()=>{if(l.default)return()=>{document.body&&n.current&&(document.body.removeChild(n.current),n.current=null)}},[]),n.current&&l.default?(0,s.createPortal)(t,n.current):null};var u=r(75675),d=r(50658);function p(e,t){return"slide"===e?t?h:m:"fade"===e?t?g:y:t?f.container:f.hidden}var f=u.default.create({container:{position:"fixed",top:0,right:0,bottom:0,left:0,zIndex:9999},animatedIn:{animationDuration:"250ms",animationTimingFunction:"cubic-bezier(0.215, 0.61, 0.355, 1)"},animatedOut:{pointerEvents:"none",animationDuration:"250ms",animationTimingFunction:"cubic-bezier(0.47, 0, 0.745, 0.715)"},fadeIn:{opacity:1,animationKeyframes:{"0%":{opacity:0},"100%":{opacity:1}}},fadeOut:{opacity:0,animationKeyframes:{"0%":{opacity:1},"100%":{opacity:0}}},slideIn:{transform:"translateY(0%)",animationKeyframes:{"0%":{transform:"translateY(100%)"},"100%":{transform:"translateY(0%)"}}},slideOut:{transform:"translateY(100%)",animationKeyframes:{"0%":{transform:"translateY(0%)"},"100%":{transform:"translateY(100%)"}}},hidden:{opacity:0}}),h=[f.container,f.animatedIn,f.slideIn],m=[f.container,f.animatedOut,f.slideOut],g=[f.container,f.animatedIn,f.fadeIn],y=[f.container,f.animatedOut,f.fadeOut];const v=function(e){var t=e.animationType,n=e.children,r=e.onDismiss,i=e.onShow,a=e.visible,s=o.useState(!1),l=s[0],c=s[1],u=o.useRef(!1),h=o.useRef(!1),m=t&&"none"!==t,g=o.useCallback(e=>{e&&e.currentTarget!==e.target||(a?i&&i():c(!1))},[i,a]);return o.useEffect(()=>{h.current&&!l&&r&&r(),h.current=l},[l,r]),o.useEffect(()=>{a&&c(!0),a===u.current||m||g(),u.current=a},[m,a,g]),l||a?(0,d.default)("div",{style:l?p(t,a):f.hidden,onAnimationEnd:g,children:n}):null};var b=r(73929),_=["active","children","onRequestClose","transparent"],w=o.forwardRef((e,t)=>{var n=e.active,r=e.children,s=e.onRequestClose,c=e.transparent,u=(0,a.default)(e,_);o.useEffect(()=>{if(l.default){var e=e=>{n&&"Escape"===e.key&&(e.stopPropagation(),s&&s())};return document.addEventListener("keyup",e,!1),()=>document.removeEventListener("keyup",e,!1)}},[n,s]);var d=o.useMemo(()=>[k.modal,c?k.modalTransparent:k.modalOpaque],[c]);return o.createElement(b.default,(0,i.default)({},u,{"aria-modal":!0,ref:t,role:n?"dialog":null,style:d}),o.createElement(b.default,{style:k.container},r))}),k=u.default.create({modal:{position:"fixed",top:0,right:0,bottom:0,left:0},modalTransparent:{backgroundColor:"transparent"},modalOpaque:{backgroundColor:"white"},container:{top:0,flex:1}});const S=w;var x=r(97640),C=()=>(0,d.default)("div",{role:"none",tabIndex:0,style:R.focusBracket});function E(t){if(!l.default)return!1;try{t.focus()}catch(e){}return document.activeElement===t}function A(e){for(var t=0;t<e.childNodes.length;t++){var n=e.childNodes[t];
2if(E(n)||A(n))return!0}return!1}function T(e){for(var t=e.childNodes.length-1;t>=0;t--){var n=e.childNodes[t];if(E(n)||T(n))return!0}return!1}const I=e=>{var t=e.active,n=e.children,r=o.useRef(),i=o.useRef({trapFocusInProgress:!1,lastFocusedElement:null});return o.useEffect(()=>{if(l.default){var e=()=>{if(null!=r.current&&!i.current.trapFocusInProgress&&t){try{if(i.current.trapFocusInProgress=!0,document.activeElement instanceof Node&&!r.current.contains(document.activeElement)){var e=A(r.current);i.current.lastFocusedElement===document.activeElement&&(e=T(r.current)),!e&&null!=r.current&&document.activeElement&&x.default.focus(r.current)}}finally{i.current.trapFocusInProgress=!1}i.current.lastFocusedElement=document.activeElement}};return e(),document.addEventListener("focus",e,!0),()=>document.removeEventListener("focus",e,!0)}},[t]),o.useEffect(function(){if(l.default){var e=document.activeElement;return function(){e&&document.contains(e)&&x.default.focus(e)}}},[]),o.createElement(o.Fragment,null,o.createElement(C,null),o.createElement(b.default,{ref:r},n),o.createElement(C,null))};var R=u.default.create({focusBracket:{outlineStyle:"none"}}),O=["animationType","children","onDismiss","onRequestClose","onShow","transparent","visible"],D=0,N=[],j={};function F(){if(0!==N.length){var e=N[N.length-1];N.forEach(t=>{t in j&&j[t](t===e)})}}function M(e){e in j&&(j[e](!1),delete j[e]);var t=N.indexOf(e);-1!==t&&(N.splice(t,1),F())}const V=o.forwardRef((e,t)=>{var n=e.animationType,r=e.children,s=e.onDismiss,l=e.onRequestClose,u=e.onShow,d=e.transparent,p=e.visible,f=void 0===p||p,h=(0,a.default)(e,O),m=o.useMemo(()=>D++,[]),g=o.useState(!1),y=g[0],b=g[1],_=o.useCallback(()=>{M(m),s&&s()},[m,s]),w=o.useCallback(()=>{!function(e,t){M(e),N.push(e),j[e]=t,F()}(m,b),u&&u()},[m,u]);return o.useEffect(()=>()=>M(m),[m]),o.createElement(c,null,o.createElement(v,{animationType:n,onDismiss:_,onShow:w,visible:f},o.createElement(I,{active:y},o.createElement(S,(0,i.default)({},h,{active:y,onRequestClose:l,ref:t,transparent:d}),r))))})},14177(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});const r=n(89348).default},45548(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});const r={UIManager:n(97640).default}},60444(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(93816),i={centroidDimension:function(e,t,n,r){var a=e.touchBank,o=0,s=0,l=1===e.numberActiveTouches?e.touchBank[e.indexOfSingleActiveTouch]:null;if(null!==l)l.touchActive&&l.currentTimeStamp>t&&(o+=r&&n?l.currentPageX:r&&!n?l.currentPageY:!r&&n?l.previousPageX:l.previousPageY,s=1);else for(var c=0;c<a.length;c++){var u=a[c];if(null!==u&&void 0!==u&&u.touchActive&&u.currentTimeStamp>=t){o+=r&&n?u.currentPageX:r&&!n?u.currentPageY:!r&&n?u.previousPageX:u.previousPageY,s++}}return s>0?o/s:i.noCentroid},currentCentroidXOfTouchesChangedAfter:function(e,t){return i.centroidDimension(e,t,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(e,t){return i.centroidDimension(e,t,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(e,t){return i.centroidDimension(e,t,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(e,t){return i.centroidDimension(e,t,!1,!1)},currentCentroidX:function(e){return i.centroidDimension(e,0,!0,!0)},currentCentroidY:function(e){return i.centroidDimension(e,0,!1,!0)},noCentroid:-1};const a=i;var o=a.currentCentroidXOfTouchesChangedAfter,s=a.currentCentroidYOfTouchesChangedAfter,l=a.previousCentroidXOfTouchesChangedAfter,c=a.previousCentroidYOfTouchesChangedAfter,u=a.currentCentroidX,d=a.currentCentroidY,p={_initializeGestureState(e){e.moveX=0,e.moveY=0,e.x0=0,e.y0=0,e.dx=0,e.dy=0,e.vx=0,e.vy=0,e.numberActiveTouches=0,e._accountsForMovesUpTo=0},_updateGestureStateOnMove(e,t){e.numberActiveTouches=t.numberActiveTouches,e.moveX=o(t,e._accountsForMovesUpTo),e.moveY=s(t,e._accountsForMovesUpTo);var n=e._accountsForMovesUpTo,r=l(t,n),i=o(t,n),a=c(t,n),u=s(t,n),d=e.dx+(i-r),p=e.dy+(u-a),f=t.mostRecentTimeStamp-e._accountsForMovesUpTo;e.vx=(d-e.dx)/f,e.vy=(p-e.dy)/f,e.dx=d,e.dy=p,e._accountsForMovesUpTo=t.mostRecentTimeStamp},create(e){var t={handle:null,shouldCancelClick:!1,timeout:null},n={stateID:Math.random(),moveX:0,moveY:0,x0:0,y0:0,dx:0,dy:0,vx:0,vy:0,numberActiveTouches:0,_accountsForMovesUpTo:0};
2return{panHandlers:{onStartShouldSetResponder:t=>null!=e.onStartShouldSetPanResponder&&e.onStartShouldSetPanResponder(t,n),onMoveShouldSetResponder:t=>null!=e.onMoveShouldSetPanResponder&&e.onMoveShouldSetPanResponder(t,n),onStartShouldSetResponderCapture:t=>(1===t.nativeEvent.touches.length&&p._initializeGestureState(n),n.numberActiveTouches=t.touchHistory.numberActiveTouches,null!=e.onStartShouldSetPanResponderCapture&&e.onStartShouldSetPanResponderCapture(t,n)),onMoveShouldSetResponderCapture(t){var r=t.touchHistory;return n._accountsForMovesUpTo!==r.mostRecentTimeStamp&&(p._updateGestureStateOnMove(n,r),!!e.onMoveShouldSetPanResponderCapture&&e.onMoveShouldSetPanResponderCapture(t,n))},onResponderGrant:i=>(t.handle||(t.handle=r.default.createInteractionHandle()),t.timeout&&function(e){clearTimeout(e.timeout)}(t),t.shouldCancelClick=!0,n.x0=u(i.touchHistory),n.y0=d(i.touchHistory),n.dx=0,n.dy=0,e.onPanResponderGrant&&e.onPanResponderGrant(i,n),null==e.onShouldBlockNativeResponder||e.onShouldBlockNativeResponder(i,n)),onResponderReject(r){f(t,e.onPanResponderReject,r,n)},onResponderRelease(r){f(t,e.onPanResponderRelease,r,n),h(t),p._initializeGestureState(n)},onResponderStart(t){var r=t.touchHistory;n.numberActiveTouches=r.numberActiveTouches,e.onPanResponderStart&&e.onPanResponderStart(t,n)},onResponderMove(t){var r=t.touchHistory;n._accountsForMovesUpTo!==r.mostRecentTimeStamp&&(p._updateGestureStateOnMove(n,r),e.onPanResponderMove&&e.onPanResponderMove(t,n))},onResponderEnd(r){var i=r.touchHistory;n.numberActiveTouches=i.numberActiveTouches,f(t,e.onPanResponderEnd,r,n)},onResponderTerminate(r){f(t,e.onPanResponderTerminate,r,n),h(t),p._initializeGestureState(n)},onResponderTerminationRequest:t=>null==e.onPanResponderTerminationRequest||e.onPanResponderTerminationRequest(t,n),onClickCapture:e=>{!0===t.shouldCancelClick&&(e.stopPropagation(),e.preventDefault())}},getInteractionHandle:()=>t.handle}}};function f(e,t,n,i){e.handle&&(r.default.clearInteractionHandle(e.handle),e.handle=null),t&&t(n,i)}function h(e){e.timeout=setTimeout(()=>{e.shouldCancelClick=!1},250)}const m=p},98943(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(26725);class i{static get(){return r.default.get("window").scale}static getFontScale(){return r.default.get("window").fontScale||i.get()}static getPixelSizeForLayoutSize(e){return Math.round(e*i.get())}static roundToNearestPixel(e){var t=i.get();return Math.round(e*t)/t}}},95991(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});const r={OS:"web",select:e=>"web"in e?e.web:e.default,get isTesting(){return!1},get Version(){return"0.0.0"}}},35708(t,n,r){"use strict";r.r(n),r.d(n,{default:()=>ne});var i=r(58168),a=r(98587),o=r(36665),s=r(40769),l=r(58345),c=()=>{};var u=function(){var t=!1;if(l.default)try{var n={};Object.defineProperty(n,"passive",{get:()=>(t=!0,!1)}),window.addEventListener("test",null,n),window.removeEventListener("test",null,n)}catch(e){}return t}();function d(){return this.cancelBubble}function p(){return this.defaultPrevented}function f(e,t,n,r){var i=function(e){return null!=e&&(u?e:Boolean(e.capture))}(r),a=e=>{return n(((t=e).nativeEvent=t,t.persist=c,t.isDefaultPrevented=p,t.isPropagationStopped=d,t));var t};return e.addEventListener(t,a,i),function(){null!=e&&e.removeEventListener(t,a,i)}}var h,m,g="keyboard",y="keyboard",v=!1,b=new Set,_="keyboard",w="mouse",k="touch",S="contextmenu",x="mousedown",C="mousemove",E="mouseup",A="pointerdown",T="pointermove",I="scroll",R="selectionchange",O="touchcancel",D="touchmove",N="touchstart",j={passive:!0},F={capture:!0,passive:!0};function M(){null==h&&null==m||(null!=h&&(y=h,h=null),null!=m&&(g=m,m=null),P())}function V(e){var t=e.type;if("undefined"!==typeof window&&null!=window.PointerEvent){if(t===A)return void(g!==e.pointerType&&(y=e.pointerType,g=e.pointerType,P()));if(t===T)return void(y!==e.pointerType&&(y=e.pointerType,P()))}else{if(v||(t===x&&g!==w&&(y=w,g=w,P()),t===C&&y!==w&&(y=w,P())),t===N)return v=!0,e.touches&&e.touches.length>1&&(v=!1),void(g!==k&&(y=k,g=k,P()));t!==S&&t!==E&&t!==R&&t!==I&&t!==O&&t!==D||(v=!1)}}function P(){var e={activeModality:g,modality:y};b.forEach(t=>{t(e)})}l.default&&(f(window,"blur",function(){h=y,m=g,g=_,y=_,P(),v=!1}
2,j),f(window,"focus",function(){M()},j),f(document,"keydown",function(e){e.metaKey||e.altKey||e.ctrlKey||y!==_&&(y=_,g=_,P())},F),f(document,"visibilitychange",function(){"hidden"!==document.visibilityState&&M()},F),f(document,A,V,F),f(document,T,V,F),f(document,S,V,F),f(document,x,V,F),f(document,C,V,F),f(document,E,V,F),f(document,O,V,F),f(document,D,V,F),f(document,N,V,F),f(document,R,V,F),f(document,I,V,F));var L=r(60542),B=r(69170);function H(e,t){var n=(0,B.default)(()=>new Map),r=(0,B.default)(()=>(r,i)=>{var a=n.get(r);null!=a&&a(),null==i&&(n.delete(r),i=()=>{});var o=f(r,e,i,t);return n.set(r,o),o});return(0,L.default)(()=>()=>{n.forEach(e=>{e()}),n.clear()},[n]),r}var W={},z={passive:!0},Y="react-gui:hover:lock",U="react-gui:hover:unlock";function X(e,t,n){var r=document.createEvent("CustomEvent"),i=n||W,a=i.bubbles,o=void 0===a||a,s=i.cancelable,l=void 0===s||s,c=i.detail;r.initCustomEvent(t,o,l,c),e.dispatchEvent(r)}function G(e){var t=e.pointerType;return null!=t?t:y}function q(e,t){var n=t.contain,r=t.disabled,i=t.onHoverStart,a=t.onHoverChange,o=t.onHoverUpdate,s=t.onHoverEnd,l=!("undefined"===typeof window||null==window.PointerEvent),c=H(l?"pointermove":"mousemove",z),u=H(l?"pointerenter":"mouseenter",z),d=H(l?"pointerleave":"mouseleave",z),p=H(Y,z),f=H(U,z);(0,L.default)(()=>{var t=e.current;if(null!==t){var l=function(e){null!=s&&s(e),null!=a&&a(!1),c(t,null),d(t,null)},h=function(t){var r=e.current;null!=r&&"touch"!==G(t)&&(n&&X(r,U),l(t))},m=function(e){"touch"!==G(e)&&null!=o&&(null==e.x&&(e.x=e.clientX),null==e.y&&(e.y=e.clientY),o(e))},g=function(e){null!=i&&i(e),null!=a&&a(!0),null!=o&&c(t,r?null:m),d(t,r?null:h)};u(t,r?null:function(t){var i=e.current;if(null!=i&&"touch"!==G(t)){n&&X(i,Y),g(t);p(i,r?null:function(e){e.target!==i&&l(t)}),f(i,r?null:function(e){e.target!==i&&g(t)})}})}},[u,c,d,p,f,n,r,i,a,o,s,e])}var J=r(77442),$=r(75675),K=r(73929),Z=["children","delayLongPress","delayPressIn","delayPressOut","disabled","onBlur","onContextMenu","onFocus","onHoverIn","onHoverOut","onKeyDown","onLongPress","onPress","onPressMove","onPressIn","onPressOut","style","tabIndex","testOnly_hovered","testOnly_pressed"];function Q(e){var t=(0,o.useState)(!1);return[t[0]||e,t[1]]}var ee=$.default.create({active:{cursor:"pointer",touchAction:"manipulation"},disabled:{pointerEvents:"box-none"}}),te=(0,o.memo)((0,o.forwardRef)(function(e,t){var n=e.children,r=e.delayLongPress,l=e.delayPressIn,c=e.delayPressOut,u=e.disabled,d=e.onBlur,p=e.onContextMenu,f=e.onFocus,h=e.onHoverIn,m=e.onHoverOut,g=e.onKeyDown,y=e.onLongPress,v=e.onPress,b=e.onPressMove,_=e.onPressIn,w=e.onPressOut,k=e.style,S=e.tabIndex,x=e.testOnly_hovered,C=e.testOnly_pressed,E=(0,a.default)(e,Z),A=Q(!0===x),T=A[0],I=A[1],R=Q(!1),O=R[0],D=R[1],N=Q(!0===C),j=N[0],F=N[1],M=(0,o.useRef)(null),V=(0,s.default)(t,M),P=(0,o.useMemo)(()=>({delayLongPress:r,delayPressStart:l,delayPressEnd:c,disabled:u,onLongPress:y,onPress:v,onPressChange:F,onPressStart:_,onPressMove:b,onPressEnd:w}),[r,l,c,u,y,v,_,b,w,F]),L=(0,J.default)(M,P),B=L.onContextMenu,H=L.onKeyDown;q(M,{contain:!0,disabled:u,onHoverChange:I,onHoverStart:h,onHoverEnd:m});var W,z={hovered:T,focused:O,pressed:j},Y=o.useCallback(e=>{e.nativeEvent.target===M.current&&(D(!1),null!=d&&d(e))},[M,D,d]),U=o.useCallback(e=>{e.nativeEvent.target===M.current&&(D(!0),null!=f&&f(e))},[M,D,f]),X=o.useCallback(e=>{null!=B&&B(e),null!=p&&p(e)},[p,B]),G=o.useCallback(e=>{null!=H&&H(e),null!=g&&g(e)},[g,H]);return W=void 0!==S?S:u?-1:0,o.createElement(K.default,(0,i.default)({},E,L,{"aria-disabled":u,onBlur:Y,onContextMenu:X,onFocus:U,onKeyDown:G,ref:V,style:[u?ee.disabled:ee.active,"function"===typeof k?k(z):k],tabIndex:W}),"function"===typeof n?n(z):n)}));te.displayName="Pressable";const ne=te},82660(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(98587),i=n(73929),a=n(36665),o=["colors","enabled","onRefresh","progressBackgroundColor","progressViewOffset","refreshing","size","tintColor","title","titleColor"];const s=function(e){e.colors,e.enabled,e.onRefresh,e.progressBackgroundColor,e.progressViewOffset,e.refreshing,e.size,e.tintColor,e.title,e.titleColor;var t=(0,r.default)(e,o);return a.createElement(i.default,t)}},2772(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>R});var r=n(27051),i=n(58168),a=n(98587),o=n(26725),s=n(21175),l=n(26077),c=n.n(l),u=n(53768),d=n(36665),p=n(75675),f=n(73929),h=n(40769),m=["onScroll","onTouchMove","onWheel","scrollEnabled","scrollEventThrottle","showsHorizontalScrollIndicator","showsVerticalScrollIndicator","style"];function g(e){return{nativeEvent:{contentOffset:{get x(){return e.target.scrollLeft},get y(){return e.target.scrollTop}},contentSize:{get height(){return e.target.scrollHeight},get width(){return e.target.scrollWidth}},layoutMeasurement:{get height(){return e.target.offsetHeight},get width(){return e.target.offsetWidth}}},timeStamp:Date.now()}}var y=d.forwardRef((e,t)=>
2{var n=e.onScroll,r=e.onTouchMove,o=e.onWheel,s=e.scrollEnabled,l=void 0===s||s,c=e.scrollEventThrottle,u=void 0===c?0:c,p=e.showsHorizontalScrollIndicator,y=e.showsVerticalScrollIndicator,b=e.style,_=(0,a.default)(e,m),w=d.useRef({isScrolling:!1,scrollLastTick:0}),k=d.useRef(null),S=d.useRef(null);function x(e){return t=>{l&&e&&e(t)}}function C(e){w.current.scrollLastTick=Date.now(),n&&n(g(e))}var E=!1===p||!1===y;return d.createElement(f.default,(0,i.default)({},_,{onScroll:function(e){e.stopPropagation(),e.target===S.current&&(e.persist(),null!=k.current&&clearTimeout(k.current),k.current=setTimeout(()=>{!function(e){w.current.isScrolling=!1,n&&n(g(e))}(e)},100),w.current.isScrolling?function(e,t){var n=Date.now()-e;return t>0&&n>=t}(w.current.scrollLastTick,u)&&C(e):function(e){w.current.isScrolling=!0,C(e)}(e))},onTouchMove:x(r),onWheel:x(o),ref:(0,h.default)(S,t),style:[b,!l&&v.scrollDisabled,E&&v.hideScrollbar]}))}),v=p.default.create({scrollDisabled:{overflowX:"hidden",overflowY:"hidden",touchAction:"none"},hideScrollbar:{scrollbarWidth:"none"}});const b=y;var _=n(62600),w=n(97640),k=n(97277),S=n.n(k),x=["contentContainerStyle","horizontal","onContentSizeChange","refreshControl","stickyHeaderIndices","pagingEnabled","forwardedRef","keyboardDismissMode","onScroll","centerContent"],C={};class E extends d.Component{constructor(){super(...arguments),this._scrollNodeRef=null,this._innerViewRef=null,this.isTouching=!1,this.lastMomentumScrollBeginTime=0,this.lastMomentumScrollEndTime=0,this.observedScrollSinceBecomingResponder=!1,this.becameResponderWhileAnimating=!1,this.scrollResponderHandleScrollShouldSetResponder=()=>this.isTouching,this.scrollResponderHandleStartShouldSetResponderCapture=e=>this.scrollResponderIsAnimating(),this.scrollResponderHandleTerminationRequest=()=>!this.observedScrollSinceBecomingResponder,this.scrollResponderHandleTouchEnd=e=>{var t=e.nativeEvent;this.isTouching=0!==t.touches.length,this.props.onTouchEnd&&this.props.onTouchEnd(e)},this.scrollResponderHandleResponderRelease=e=>{this.props.onResponderRelease&&this.props.onResponderRelease(e);var t=_.default.currentlyFocusedField();this.props.keyboardShouldPersistTaps||null==t||e.target===t||this.observedScrollSinceBecomingResponder||this.becameResponderWhileAnimating||(this.props.onScrollResponderKeyboardDismissed&&this.props.onScrollResponderKeyboardDismissed(e),_.default.blurTextInput(t))},this.scrollResponderHandleScroll=e=>{this.observedScrollSinceBecomingResponder=!0,this.props.onScroll&&this.props.onScroll(e)},this.scrollResponderHandleResponderGrant=e=>{this.observedScrollSinceBecomingResponder=!1,this.props.onResponderGrant&&this.props.onResponderGrant(e),this.becameResponderWhileAnimating=this.scrollResponderIsAnimating()},this.scrollResponderHandleScrollBeginDrag=e=>{this.props.onScrollBeginDrag&&this.props.onScrollBeginDrag(e)},this.scrollResponderHandleScrollEndDrag=e=>{this.props.onScrollEndDrag&&this.props.onScrollEndDrag(e)},this.scrollResponderHandleMomentumScrollBegin=e=>{this.lastMomentumScrollBeginTime=Date.now(),this.props.onMomentumScrollBegin&&this.props.onMomentumScrollBegin(e)},this.scrollResponderHandleMomentumScrollEnd=e=>{this.lastMomentumScrollEndTime=Date.now(),this.props.onMomentumScrollEnd&&this.props.onMomentumScrollEnd(e)},this.scrollResponderHandleTouchStart=e=>{this.isTouching=!0,this.props.onTouchStart&&this.props.onTouchStart(e)},this.scrollResponderHandleTouchMove=e=>{this.props.onTouchMove&&this.props.onTouchMove(e)},this.scrollResponderIsAnimating=()=>Date.now()-this.lastMomentumScrollEndTime<16||this.lastMomentumScrollEndTime<this.lastMomentumScrollBeginTime,this.scrollResponderScrollTo=(e,t,n)=>{if("number"===typeof e);else{var r=e||C;e=r.x,t=r.y,n=r.animated}var i=this.getScrollableNode(),a=e||0,o=t||0;null!=i&&("function"===typeof i.scroll?i.scroll({top:o,left:a,behavior:n?"smooth":"auto"}):(i.scrollLeft=a,i.scrollTop=o))},this.scrollResponderZoomTo=(e,t)=>{c()("zoomToRect is not implemented")},this.scrollResponderScrollNativeHandleToKeyboard=(e,t,n)=>{this.additionalScrollOffset=t||0,this.preventNegativeScrollOffset=!!n,w.default.measureLayout(e,this.getInnerViewNode(),this.scrollResponderTextInputFocusError,this.scrollResponderInputMeasureAndScrollToKeyboard)},this.scrollResponderInputMeasureAndScrollToKeyboard=(e,t,n,r)=>{var i=o.default.get("window").height;this.keyboardWillOpenTo&&(i=this.keyboardWillOpenTo.endCoordinates.screenY);var a=t-i+r+this.additionalScrollOffset;this.preventNegativeScrollOffset&&(a=Math.max(0,a)),this.scrollResponderScrollTo({x:0,y:a,animated:!0}),this.additionalOffset=0,this.preventNegativeScrollOffset=!1},this.scrollResponderKeyboardWillShow=e=>{this.keyboardWillOpenTo=e,this.props.onKeyboardWillShow&&this.props.onKeyboardWillShow(e)},this.scrollResponderKeyboardWillHide=e=>{this.keyboardWillOpenTo=null,this.props.onKeyboardWillHide&&this.props.onKeyboardWillHide(e)},this.scrollResponderKeyboardDidShow=e=>{e&&(this.keyboardWillOpenTo=e),this.props.onKeyboardDidShow&&this.props.onKeyboardDidShow(e)},this.scrollResponderKeyboardDidHide=e=>{this.keyboardWillOpenTo=null,this.props.onKeyboardDidHide&&this.props.onKeyboardDidHide(e)},this.flashScrollIndicators=()=>{this.scrollResponderFlashScrollIndicators()}
2,this.getScrollResponder=()=>this,this.getScrollableNode=()=>this._scrollNodeRef,this.getInnerViewRef=()=>this._innerViewRef,this.getInnerViewNode=()=>this._innerViewRef,this.getNativeScrollRef=()=>this._scrollNodeRef,this.scrollTo=(e,t,n)=>{if("number"===typeof e);else{var r=e||C;t=r.x,e=r.y,n=r.animated}this.scrollResponderScrollTo({x:t||0,y:e||0,animated:!1!==n})},this.scrollToEnd=e=>{var t=!1!==(e&&e.animated),n=this.props.horizontal,r=this.getScrollableNode(),i=n?r.scrollWidth:0,a=n?0:r.scrollHeight;this.scrollResponderScrollTo({x:i,y:a,animated:t})},this._handleContentOnLayout=e=>{var t=e.nativeEvent.layout,n=t.width,r=t.height;this.props.onContentSizeChange(n,r)},this._handleScroll=e=>{"on-drag"===this.props.keyboardDismissMode&&(0,s.default)(),this.scrollResponderHandleScroll(e)},this._setInnerViewRef=e=>{this._innerViewRef=e},this._setScrollNodeRef=e=>{this._scrollNodeRef=e,null!=e&&(e.getScrollResponder=this.getScrollResponder,e.getInnerViewNode=this.getInnerViewNode,e.getInnerViewRef=this.getInnerViewRef,e.getNativeScrollRef=this.getNativeScrollRef,e.getScrollableNode=this.getScrollableNode,e.scrollTo=this.scrollTo,e.scrollToEnd=this.scrollToEnd,e.flashScrollIndicators=this.flashScrollIndicators,e.scrollResponderZoomTo=this.scrollResponderZoomTo,e.scrollResponderScrollNativeHandleToKeyboard=this.scrollResponderScrollNativeHandleToKeyboard),(0,u.default)(this.props.forwardedRef)(e)}}scrollResponderHandleStartShouldSetResponder(){return!1}scrollResponderHandleResponderReject(){S()(!1,"ScrollView doesn't take rejection well - scrolls anyway")}scrollResponderFlashScrollIndicators(){}scrollResponderTextInputFocusError(e){}render(){var e=this.props,t=e.contentContainerStyle,n=e.horizontal,o=e.onContentSizeChange,s=e.refreshControl,l=e.stickyHeaderIndices,u=e.pagingEnabled,p=(e.forwardedRef,e.keyboardDismissMode,e.onScroll,e.centerContent),h=(0,a.default)(e,x),m={};o&&(m={onLayout:this._handleContentOnLayout});var g=!n&&Array.isArray(l),y=g||u?d.Children.map(this.props.children,(e,t)=>{var n=g&&l.indexOf(t)>-1;return null!=e&&(n||u)?d.createElement(f.default,{style:[n&&T.stickyHeader,u&&T.pagingEnabledChild]},e):e}):this.props.children,v=d.createElement(f.default,(0,i.default)({},m,{children:y,collapsable:!1,ref:this._setInnerViewRef,style:[n&&T.contentContainerHorizontal,p&&T.contentContainerCenterContent,t]})),_=n?T.baseHorizontal:T.baseVertical,w=n?T.pagingEnabledHorizontal:T.pagingEnabledVertical,k=(0,r.default)((0,r.default)({},h),{},{style:[_,u&&w,this.props.style],onTouchStart:this.scrollResponderHandleTouchStart,onTouchMove:this.scrollResponderHandleTouchMove,onTouchEnd:this.scrollResponderHandleTouchEnd,onScrollBeginDrag:this.scrollResponderHandleScrollBeginDrag,onScrollEndDrag:this.scrollResponderHandleScrollEndDrag,onMomentumScrollBegin:this.scrollResponderHandleMomentumScrollBegin,onMomentumScrollEnd:this.scrollResponderHandleMomentumScrollEnd,onStartShouldSetResponder:this.scrollResponderHandleStartShouldSetResponder,onStartShouldSetResponderCapture:this.scrollResponderHandleStartShouldSetResponderCapture,onScrollShouldSetResponder:this.scrollResponderHandleScrollShouldSetResponder,onScroll:this._handleScroll,onResponderGrant:this.scrollResponderHandleResponderGrant,onResponderTerminationRequest:this.scrollResponderHandleTerminationRequest,onResponderTerminate:this.scrollResponderHandleTerminate,onResponderRelease:this.scrollResponderHandleResponderRelease,onResponderReject:this.scrollResponderHandleResponderReject}),S=b;c()(void 0!==S,"ScrollViewClass must not be undefined");var C=d.createElement(S,(0,i.default)({},k,{ref:this._setScrollNodeRef}),v);return s?d.cloneElement(s,{style:k.style},C):C}}var A={flexGrow:1,flexShrink:1,transform:"translateZ(0)",WebkitOverflowScrolling:"touch"},T=p.default.create({baseVertical:(0,r.default)((0,r.default)({},A),{},{flexDirection:"column",overflowX:"hidden",overflowY:"auto"}),baseHorizontal:(0,r.default)((0,r.default)({},A),{},{flexDirection:"row",overflowX:"auto",overflowY:"hidden"}),contentContainerHorizontal:{flexDirection:"row"},contentContainerCenterContent:{justifyContent:"center",flexGrow:1},stickyHeader:{position:"sticky",top:0,zIndex:10},pagingEnabledHorizontal:{scrollSnapType:"x mandatory"},pagingEnabledVertical:{scrollSnapType:"y mandatory"},pagingEnabledChild:{scrollSnapAlign:"start"}}),I=d.forwardRef((e,t)=>
2d.createElement(E,(0,i.default)({},e,{forwardedRef:t})));I.displayName="ScrollView";const R=I},90494(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>b});var r=n(58168),i=n(98587),a=n(36665),o=n(3098),s=n(27051),l=n(73929),c=n(65191),u=n(2853),d=n(26077),p=n.n(d),f=["ItemSeparatorComponent","SectionSeparatorComponent","renderItem","renderSectionFooter","renderSectionHeader","sections","stickySectionHeadersEnabled"];class h extends a.PureComponent{constructor(){super(...arguments),this._keyExtractor=(e,t)=>{var n=this._subExtractor(t);return n&&n.key||String(t)},this._convertViewable=e=>{var t;p()(null!=e.index,"Received a broken ViewToken");var n=this._subExtractor(e.index);if(!n)return null;var r=n.section.keyExtractor,i=this.props.keyExtractor||u.keyExtractor,a=null!=r?r(e.item,n.index):i(e.item,null!==(t=n.index)&&void 0!==t?t:0);return(0,s.default)((0,s.default)({},e),{},{index:n.index,key:a,section:n.section})},this._onViewableItemsChanged=e=>{var t=e.viewableItems,n=e.changed,r=this.props.onViewableItemsChanged;null!=r&&r({viewableItems:t.map(this._convertViewable,this).filter(Boolean),changed:n.map(this._convertViewable,this).filter(Boolean)})},this._renderItem=e=>t=>{var n=t.item,r=t.index,i=this._subExtractor(r);if(!i)return null;var o=i.index;if(null==o){var s=i.section;if(!0===i.header){var l=this.props.renderSectionHeader;return l?l({section:s}):null}var c=this.props.renderSectionFooter;return c?c({section:s}):null}var u=i.section.renderItem||this.props.renderItem,d=this._getSeparatorComponent(r,i,e);return p()(u,"no renderItem!"),a.createElement(m,{SeparatorComponent:d,LeadingSeparatorComponent:0===o?this.props.SectionSeparatorComponent:void 0,cellKey:i.key,index:o,item:n,leadingItem:i.leadingItem,leadingSection:i.leadingSection,prevCellKey:(this._subExtractor(r-1)||{}).key,setSelfHighlightCallback:this._setUpdateHighlightFor,setSelfUpdatePropsCallback:this._setUpdatePropsFor,updateHighlightFor:this._updateHighlightFor,updatePropsFor:this._updatePropsFor,renderItem:u,section:i.section,trailingItem:i.trailingItem,trailingSection:i.trailingSection,inverted:!!this.props.inverted})},this._updatePropsFor=(e,t)=>{var n=this._updatePropsMap[e];null!=n&&n(t)},this._updateHighlightFor=(e,t)=>{var n=this._updateHighlightMap[e];null!=n&&n(t)},this._setUpdateHighlightFor=(e,t)=>{null!=t?this._updateHighlightMap[e]=t:delete this._updateHighlightFor[e]},this._setUpdatePropsFor=(e,t)=>{null!=t?this._updatePropsMap[e]=t:delete this._updatePropsMap[e]},this._updateHighlightMap={},this._updatePropsMap={},this._captureRef=e=>{this._listRef=e}}scrollToLocation(e){for(var t=e.itemIndex,n=0;n<e.sectionIndex;n++)t+=this.props.getItemCount(this.props.sections[n].data)+2;var r=e.viewOffset||0;if(null!=this._listRef){if(e.itemIndex>0&&this.props.stickySectionHeadersEnabled)r+=this._listRef.__getFrameMetricsApprox(t-e.itemIndex,this._listRef.props).length;var i=(0,s.default)((0,s.default)({},e),{},{viewOffset:r,index:t});this._listRef.scrollToIndex(i)}}getListRef(){return this._listRef}render(){for(var e,t=this.props,n=(t.ItemSeparatorComponent,t.SectionSeparatorComponent,t.renderItem,t.renderSectionFooter,t.renderSectionHeader,t.sections,t.stickySectionHeadersEnabled,(0,i.default)(t,f)),s=this.props.ListHeaderComponent?1:0,l=this.props.stickySectionHeadersEnabled?[]:void 0,u=0,d=(0,o.default)(this.props.sections);!(e=d()).done;){var p=e.value;null!=l&&l.push(u+s),u+=2,u+=this.props.getItemCount(p.data)}var h=this._renderItem(u);return a.createElement(c.default,(0,r.default)({},n,{keyExtractor:this._keyExtractor,stickyHeaderIndices:l,renderItem:h,data:this.props.sections,getItem:(e,t)=>this._getItem(this.props,e,t),getItemCount:()=>u,onViewableItemsChanged:this.props.onViewableItemsChanged?this._onViewableItemsChanged:void 0,ref:this._captureRef}))}_getItem(e,t,n){if(!t)return null;for(var r=n-1,i=0;i<t.length;i++){var a=t[i],o=a.data,s=e.getItemCount(o);if(-1===r||r===s)return a;if(r<s)return e.getItem(o,r);r-=s+2}return null}_subExtractor(e){for(var t=e,n=this.props,r=n.getItem,i=n.getItemCount,a=n.keyExtractor,o=n.sections,s=0;s<o.length;s++){var l=o[s],c=l.data,d=l.key||String(s);if(!((t-=1)>=i(c)+1))return-1===t?{section:l,key:d+":header",index:null,header:!0,trailingSection:o[s+1]}:t===i(c)?{section:l,key:d+":footer",index:null,header:!1,trailingSection:o[s+1]}
2:{section:l,key:d+":"+(l.keyExtractor||a||u.keyExtractor)(r(c,t),t),index:t,leadingItem:r(c,t-1),leadingSection:o[s-1],trailingItem:r(c,t+1),trailingSection:o[s+1]};t-=i(c)+1}}_getSeparatorComponent(e,t,n){if(!(t=t||this._subExtractor(e)))return null;var r=t.section.ItemSeparatorComponent||this.props.ItemSeparatorComponent,i=this.props.SectionSeparatorComponent,a=e===n-1,o=t.index===this.props.getItemCount(t.section.data)-1;return i&&o?i:!r||o||a?null:r}}function m(e){var t=e.LeadingSeparatorComponent,n=e.SeparatorComponent,i=e.cellKey,o=e.prevCellKey,c=e.setSelfHighlightCallback,u=e.updateHighlightFor,d=e.setSelfUpdatePropsCallback,p=e.updatePropsFor,f=e.item,h=e.index,m=e.section,g=e.inverted,y=a.useState(!1),v=y[0],b=y[1],_=a.useState(!1),w=_[0],k=_[1],S=a.useState({leadingItem:e.leadingItem,leadingSection:e.leadingSection,section:e.section,trailingItem:e.item,trailingSection:e.trailingSection}),x=S[0],C=S[1],E=a.useState({leadingItem:e.item,leadingSection:e.leadingSection,section:e.section,trailingItem:e.trailingItem,trailingSection:e.trailingSection}),A=E[0],T=E[1];a.useEffect(()=>(c(i,k),d(i,T),()=>{d(i,null),c(i,null)}),[i,c,T,d]);var I={highlight:()=>{b(!0),k(!0),null!=o&&u(o,!0)},unhighlight:()=>{b(!1),k(!1),null!=o&&u(o,!1)},updateProps:(e,r)=>{"leading"===e?null!=t?C((0,s.default)((0,s.default)({},x),r)):null!=o&&p(o,(0,s.default)((0,s.default)({},x),r)):"trailing"===e&&null!=n&&T((0,s.default)((0,s.default)({},A),r))}},R=e.renderItem({item:f,index:h,section:m,separators:I}),O=null!=t&&a.createElement(t,(0,r.default)({highlighted:v},x)),D=null!=n&&a.createElement(n,(0,r.default)({highlighted:w},A));return O||D?a.createElement(l.default,null,!1===g?O:D,R,!1===g?D:O):R}const g=h;var y=["stickySectionHeadersEnabled"];class v extends a.PureComponent{constructor(){super(...arguments),this._captureRef=e=>{this._wrapperListRef=e}}scrollToLocation(e){null!=this._wrapperListRef&&this._wrapperListRef.scrollToLocation(e)}recordInteraction(){var e=this._wrapperListRef&&this._wrapperListRef.getListRef();e&&e.recordInteraction()}flashScrollIndicators(){var e=this._wrapperListRef&&this._wrapperListRef.getListRef();e&&e.flashScrollIndicators()}getScrollResponder(){var e=this._wrapperListRef&&this._wrapperListRef.getListRef();if(e)return e.getScrollResponder()}getScrollableNode(){var e=this._wrapperListRef&&this._wrapperListRef.getListRef();if(e)return e.getScrollableNode()}render(){var e=this.props,t=e.stickySectionHeadersEnabled,n=(0,i.default)(e,y),o=null!==t&&void 0!==t&&t;return a.createElement(g,(0,r.default)({},n,{stickySectionHeadersEnabled:o,ref:this._captureRef,getItemCount:e=>e.length,getItem:(e,t)=>e[t]}))}}const b=v},68703(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(26077),i=n.n(r);const a=class{static share(e,t){return void 0===t&&(t={}),i()("object"===typeof e&&null!==e,"Content to share must be a valid object"),i()("string"===typeof e.url||"string"===typeof e.message,"At least one of URL and message is required"),i()("object"===typeof t&&null!==t,"Options must be a valid object"),i()(!e.title||"string"===typeof e.title,"Invalid title: title should be a string."),void 0!==window.navigator.share?window.navigator.share({title:e.title,text:e.message,url:e.url}):Promise.reject(new Error("Share is not supported in this browser"))}static get sharedAction(){return"sharedAction"}static get dismissedAction(){return"dismissedAction"}}},90194(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(39650),i=n(58345),a={},o=!i.default||null!=window.CSS&&null!=window.CSS.supports&&(window.CSS.supports("text-decoration-line","none")||window.CSS.supports("-webkit-text-decoration-line","none")),s='-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif',l={borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderBlockColor:["borderTopColor","borderBottomColor"],borderInlineColor:["borderRightColor","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderStyle:["borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderInlineStyle:["borderRightStyle","borderLeftStyle"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderInlineWidth:["borderRightWidth","borderLeftWidth"],insetBlock:["top","bottom"],insetInline:["left","right"],marginBlock:["marginTop","marginBottom"],marginInline:["marginRight","marginLeft"],paddingBlock:["paddingTop","paddingBottom"],paddingInline:["paddingRight","paddingLeft"],overflow:["overflowX","overflowY"],overscrollBehavior:["overscrollBehaviorX","overscrollBehaviorY"],borderBlockStartColor:["borderTopColor"],borderBlockStartStyle:["borderTopStyle"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndColor:["borderBottomColor"],borderBlockEndStyle:["borderBottomStyle"],borderBlockEndWidth:["borderBottomWidth"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],insetBlockEnd:["bottom"],insetBlockStart:["top"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"]};const c=(e,t)=>{if(!e)return a;var n={},i=function(){var i=e[c];if(null==i)return"continue";if("backgroundClip"===c)"text"===i&&(n.backgroundClip=i,n.WebkitBackgroun
2dClip=i);else if("flex"===c)-1===i?(n.flexGrow=0,n.flexShrink=1,n.flexBasis="auto"):n.flex=i;else if("font"===c)n[c]=i.replace("System",s);else if("fontFamily"===c)if(i.indexOf("System")>-1){var a=i.split(/,\s*/);a[a.indexOf("System")]=s,n[c]=a.join(",")}else n[c]="monospace"===i?"monospace,monospace":i;else if("textDecorationLine"===c)o?n.textDecorationLine=i:n.textDecoration=i;else if("writingDirection"===c)n.direction=i;else{var u=(0,r.default)(e[c],c),d=l[c];t&&"inset"===c?(null==e.insetInline&&(n.left=u,n.right=u),null==e.insetBlock&&(n.top=u,n.bottom=u)):t&&"margin"===c?(null==e.marginInline&&(n.marginLeft=u,n.marginRight=u),null==e.marginBlock&&(n.marginTop=u,n.marginBottom=u)):t&&"padding"===c?(null==e.paddingInline&&(n.paddingLeft=u,n.paddingRight=u),null==e.paddingBlock&&(n.paddingTop=u,n.paddingBottom=u)):d?d.forEach((t,r)=>{null==e[t]&&(n[t]=u)}):n[c]=u}};for(var c in e)i();return n}},29647(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a});const r=e=>"currentcolor"===e||"currentColor"===e||"inherit"===e||0===e.indexOf("var(");var i=n(69e3);const a=function(e,t){if(void 0===t&&(t=1),null!=e){if("string"===typeof e&&r(e))return e;var n=(0,i.default)(e);if(null!=n)return"rgba("+(n>>16&255)+","+(n>>8&255)+","+(255&n)+","+((n>>24&255)/255*t).toFixed(2)+")"}}},39650(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>l});var r={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridRowEnd:!0,gridRowGap:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridColumnStart:!0,lineClamp:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},i=["ms","Moz","O","Webkit"];Object.keys(r).forEach(e=>{i.forEach(t=>{r[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(t,e)]=r[e]})});const a=r;var o=n(29647),s={backgroundColor:!0,borderColor:!0,borderTopColor:!0,borderRightColor:!0,borderBottomColor:!0,borderLeftColor:!0,color:!0,shadowColor:!0,textDecorationColor:!0,textShadowColor:!0};function l(e,t){var n=e;return null!=t&&a[t]||"number"!==typeof e?null!=t&&s[t]&&(n=(0,o.default)(e)):n=e+"px",n}},36267(t,n,r){"use strict";r.r(n),r.d(n,{createSheet:()=>m});var i=r(58345);function a(e,t,n){if(i.default){var r=null!=t?t:document,a=r.getElementById(e);if(null==a)if((a=document.createElement("style")).setAttribute("id",e),"string"===typeof n&&a.appendChild(document.createTextNode(n)),r instanceof ShadowRoot)r.insertBefore(a,r.firstChild);else{var o=r.head;o&&o.insertBefore(a,o.firstChild)}return a.sheet}return null}var o=Array.prototype.slice;function s(t){var n,r={},i={};null!=t&&o.call(t.cssRules).forEach((e,t)=>{var a=e.cssText;if(a.indexOf("stylesheet-group")>-1)n=function(e){return Number(e.selectorText.split(l)[1])}(e),r[n]={start:t,rules:[a]};else{var o=d(a);null!=o&&(i[o]=!0,r[n].rules.push(a))}});function a(t,n,i){var a=c(r),o=a.indexOf(n)+1,s=a[o],l=null!=s&&null!=r[s].start?r[s].start:t.cssRules.length,u=function(t,n,r){try{return t.insertRule(n,r),!0}catch(e){return!1}}(t,i,l);if(u){null==r[n].start&&(r[n].start=l);for(var d=o;d<a.length;d+=1){var p=a[d],f=r[p].start||0;r[p].start=f+1}}return u}var s={getTextContent:()=>c(r).map(e=>{var t=r[e].rules,n=t.shift();return t.sort(),t.unshift(n),t.join("\n")}).join("\n"),insert(e,n){var o=Number(n);if(null==r[o]){var s=function(e){return'[stylesheet-group="'+e+'"]{}'}(o);r[o]={start:null,rules:[s]},null!=t&&a(t,o,s)}var l=d(e);null!=l&&null==i[l]&&(i[l]=!0,r[o].rules.push(e),null!=t&&(a(t,o,e)||r[o].rules.pop()))}};return s}var l=/["']/g;function c(e){return Object.keys(e).map(Number).sort((e,t)=>e>t?1:-1)}var u=/\s*([,])\s*/g;function d(e){var t=e.split("{")[0].trim();return""!==t?t.replace(u,"$1"):null}var p=new WeakMap,f=[],h=["html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);}","body{margin:0;}","button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}","input::-webkit-search-cancel-button,input::-webkit-search-decoration,input::-webkit-search-results-button,input::-webkit-search-results-decoration{dis
2play:none;}"];function m(e,t){var n;if(void 0===t&&(t="react-native-stylesheet"),i.default){var r=null!=e?e.getRootNode():document;if(0===f.length)n=s(a(t)),h.forEach(e=>{n.insert(e,0)}),p.set(r,f.length),f.push(n);else{var o=p.get(r);if(null==o){var l=f[0],c=null!=l?l.getTextContent():"";n=s(a(t,r,c)),p.set(r,f.length),f.push(n)}else n=f[o]}}else 0===f.length?(n=s(a(t)),h.forEach(e=>{n.insert(e,0)}),f.push(n)):n=f[0];return{getTextContent:()=>n.getTextContent(),id:t,insert(e,t){f.forEach(n=>{n.insert(e,t)})}}}},75675(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>pe});var r=n(27051),i=n(98587),a=n(90194);const o=e=>function(e,t){for(var n,r=e.length,i=t^r,a=0;r>=4;)n=1540483477*(65535&(n=255&e.charCodeAt(a)|(255&e.charCodeAt(++a))<<8|(255&e.charCodeAt(++a))<<16|(255&e.charCodeAt(++a))<<24))+((1540483477*(n>>>16)&65535)<<16),i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16)^(n=1540483477*(65535&(n^=n>>>24))+((1540483477*(n>>>16)&65535)<<16)),r-=4,++a;switch(r){case 3:i^=(255&e.charCodeAt(a+2))<<16;case 2:i^=(255&e.charCodeAt(a+1))<<8;case 1:i=1540483477*(65535&(i^=255&e.charCodeAt(a)))+((1540483477*(i>>>16)&65535)<<16)}return i=1540483477*(65535&(i^=i>>>13))+((1540483477*(i>>>16)&65535)<<16),(i^=i>>>15)>>>0}(e,1).toString(36);var s=/[A-Z]/g,l=/^ms-/,c={};function u(e){return"-"+e.toLowerCase()}const d=function(e){if(e in c)return c[e];var t=e.replace(s,u);return c[e]=l.test(t)?"-"+t:t};var p=n(39650),f=n(60218),h=n(10620),m=n(14191),g=n(4389),y=n(27007),v=n(56694),b=n(43675),_=["Webkit"],w=["Webkit","ms"];const k={plugins:[h.default,m.default,g.default,y.default,v.default,b.default],prefixMap:{appearance:["Webkit","Moz","ms"],userSelect:["Webkit","Moz"],textEmphasisPosition:w,textEmphasis:w,textEmphasisStyle:w,textEmphasisColor:w,boxDecorationBreak:w,clipPath:_,maskImage:w,maskMode:w,maskRepeat:w,maskPosition:w,maskClip:w,maskOrigin:w,maskSize:w,maskComposite:w,mask:w,maskBorderSource:w,maskBorderMode:w,maskBorderSlice:w,maskBorderWidth:w,maskBorderOutset:w,maskBorderRepeat:w,maskBorder:w,maskType:w,textDecorationStyle:_,textDecorationSkip:_,textDecorationLine:_,textDecorationColor:_,filter:_,breakAfter:_,breakBefore:_,breakInside:_,columnCount:_,columnFill:_,columnGap:_,columnRule:_,columnRuleColor:_,columnRuleStyle:_,columnRuleWidth:_,columns:_,columnSpan:_,columnWidth:_,backdropFilter:_,hyphens:_,flowInto:_,flowFrom:_,regionFragment:_,textOrientation:_,tabSize:["Moz"],fontKerning:_,textSizeAdjust:_}};const S=(0,f.default)(k);var x=["animationKeyframes"],C=new Map,E={},A={borderColor:2,borderRadius:2,borderStyle:2,borderWidth:2,display:2,flex:2,inset:2,margin:2,overflow:2,overscrollBehavior:2,padding:2,insetBlock:2.1,insetInline:2.1,marginInline:2.1,marginBlock:2.1,paddingInline:2.1,paddingBlock:2.1,borderBlockStartColor:2.2,borderBlockStartStyle:2.2,borderBlockStartWidth:2.2,borderBlockEndColor:2.2,borderBlockEndStyle:2.2,borderBlockEndWidth:2.2,borderInlineStartColor:2.2,borderInlineStartStyle:2.2,borderInlineStartWidth:2.2,borderInlineEndColor:2.2,borderInlineEndStyle:2.2,borderInlineEndWidth:2.2,borderEndStartRadius:2.2,borderEndEndRadius:2.2,borderStartStartRadius:2.2,borderStartEndRadius:2.2,insetBlockEnd:2.2,insetBlockStart:2.2,insetInlineEnd:2.2,insetInlineStart:2.2,marginBlockStart:2.2,marginBlockEnd:2.2,marginInlineStart:2.2,marginInlineEnd:2.2,paddingBlockStart:2.2,paddingBlockEnd:2.2,paddingInlineStart:2.2,paddingInlineEnd:2.2},T="borderTopLeftRadius",I="borderTopRightRadius",R="borderBottomLeftRadius",O="borderBottomRightRadius",D="borderLeftColor",N="borderLeftStyle",j="borderLeftWidth",F="borderRightColor",M="borderRightStyle",V="borderRightWidth",P="right",L="marginLeft",B="marginRight",H="paddingLeft",W="paddingRight",z="left",Y={[T]:I,[I]:T,[R]:O,[O]:R,[D]:F,[N]:M,[j]:V,[F]:D,[M]:N,[V]:j,[z]:P,[L]:B,[B]:L,[H]:W,[W]:H,[P]:z},U={borderStartStartRadius:T,borderStartEndRadius:I,borderEndStartRadius:R,borderEndEndRadius:O,borderInlineStartColor:D,borderInlineStartStyle:N,borderInlineStartWidth:j,borderInlineEndColor:F,borderInlineEndStyle:M,borderInlineEndWidth:V,insetInlineEnd:P,insetInlineStart:z,marginInlineStart:L,marginInlineEnd:B,paddingInlineStart:H,paddingInlineEnd:W},X=["clear","float","textAlign"];function G(e){var t={$$css:!0},n=[];function r(e,t,r){var i,a=function(e,t){var n=(0,p.default)(e,t);return"string"!==typeof n?JSON.stringify(n||""):n}(r,t),o=t+a,s=C.get(o);if(null!=s)i=s[0],n.push(s[1]);else{i=J("r",e,e!==t?o:a);var l=A[e]||3,c=function(e,t,n){var r=[],i="."+e;switch(t){case"animationKeyframes":var a=$(n),o=a[0],s=a[1],l=q({animationName:o.join(",")});r.push(""+i+l,...s);break;case"placeholderTextColor":var c=q({color:n,opacity:1});r.push(i+"::-webkit-input-placeholder"+c,i+"::-moz-placeholder"+c,i+":-ms-input-placeholder"+c,i+"::placeholder"+c);break;case"pointerEvents":var u=n;if("auto"===n)u="auto!important";else if("none"===n){u="none!important";var d=q({pointerEvents:"none"});
2r.push(i+">* "+d)}else if("box-none"===n){u="none!important";var p=q({pointerEvents:"auto"});r.push(i+">* "+p)}else if("box-only"===n){u="auto!important";var f=q({pointerEvents:"none"});r.push(i+">* "+f)}var h=q({pointerEvents:u});r.push(""+i+h);break;case"scrollbarWidth":"none"===n&&r.push(i+"::-webkit-scrollbar{display:none}");var m=q({scrollbarWidth:n});r.push(""+i+m);break;default:var g=q({[t]:n});r.push(""+i+g)}return r}(i,t,r),u=[c,l];n.push(u),C.set(o,[i,u])}return i}return Object.keys(e).sort().forEach(n=>{var i=e[n];if(null!=i){var a;if(X.indexOf(n)>-1){var o=r(n,n,"left"),s=r(n,n,"right");"start"===i?a=[o,s]:"end"===i&&(a=[s,o])}var l=U[n];if(null!=l){var c=r(n,l,i),u=r(n,Y[l],i);a=[c,u]}if("transitionProperty"===n){for(var d=Array.isArray(i)?i:[i],p=[],f=0;f<d.length;f++){var h=d[f];"string"===typeof h&&null!=U[h]&&p.push(f)}if(p.length>0){var m=[...d],g=[...d];p.forEach(e=>{var t=m[e];if("string"===typeof t){var i=U[t],o=Y[i];m[e]=i,g[e]=o;var s=r(n,n,m),l=r(n,n,g);a=[s,l]}})}}null==a?a=r(n,n,i):t.$$css$localize=!0,t[n]=a}}),[t,n]}function q(e){var t=S((0,a.default)(e));return"{"+Object.keys(t).map(e=>{var n=t[e],r=d(e);return Array.isArray(n)?n.map(e=>r+":"+e).join(";"):r+":"+n}).sort().join(";")+";}"}function J(e,t,n){return e+"-"+o(t+n)}function $(e){if("number"===typeof e)throw new Error("Invalid CSS keyframes type: "+typeof e);var t=[],n=[];return(Array.isArray(e)?e:[e]).forEach(e=>{if("string"===typeof e)t.push(e);else{var r=function(e){var t=J("r","animation",JSON.stringify(e)),n="{"+Object.keys(e).map(t=>""+t+q(e[t])).join("")+"}
2",r=["-webkit-",""].map(e=>"@"+e+"keyframes "+t+n);return[t,r]}(e),i=r[0],a=r[1];t.push(i),n.push(...a)}}),[t,n]}var K=n(36267),Z=n(50975),Q=n(95568),ee=n(87303),te=n(58345),ne=["writingDirection"],re=new WeakMap,ie=(0,K.createSheet)(),ae={shadow:!0,textShadow:!0};function oe(e){e.forEach(e=>{var t=e[0],n=e[1];null!=ie&&t.forEach(e=>{ie.insert(e,n)})})}function se(e,t){var n=function(e,t){var n,a={$$css:!0},o=[],s=e.animationKeyframes,l=(0,i.default)(e,x),c=J("css",t,JSON.stringify(e)),u="."+c;if(null!=s){var d=$(s),p=d[0],f=d[1];n=p.join(","),o.push(...f)}var h=q((0,r.default)((0,r.default)({},l),{},{animationName:n}));return o.push(""+u+h),a[c]=c,[a,[[o,1]]]}(e,t),a=n[0];return oe(n[1]),a}var le={position:"absolute",left:0,right:0,top:0,bottom:0},ce=ue({x:(0,r.default)({},le)}).x;function ue(e){return Object.keys(e).forEach(t=>{var n,r=e[t];null!=r&&!0!==r.$$css&&(n=t.indexOf("$raw")>-1?se(r,t.split("$raw")[0]):function(e){var t=G((0,Q.preprocess)(e,ae)),n=t[0];return oe(t[1]),n}(r),re.set(r,n))}),e}function de(e,t){void 0===t&&(t={});var n="rtl"===t.writingDirection,o=function(e,t){void 0===t&&(t={});var n=t,a=n.writingDirection,o=(0,i.default)(n,ne),s="rtl"===a;return ee.styleq.factory({transform(e){var t=re.get(e);return null!=t?(0,Z.localizeStyle)(t,s):(0,Q.preprocess)(e,(0,r.default)((0,r.default)({},ae),o))}})(e)}(e,t);return Array.isArray(o)&&null!=o[1]&&(o[1]=function(e,t){var n=e||E,r={},i={},o=function(){var e=n[s],a=s,o=e;if(!Object.prototype.hasOwnProperty.call(n,s)||null==e)return"continue";X.indexOf(s)>-1&&("start"===e?o=t?"right":"left":"end"===e&&(o=t?"left":"right"));var l=U[s];if(null!=l&&(a=t?Y[l]:l),"transitionProperty"===s){var c=Array.isArray(e)?e:[e];c.forEach((e,n)=>{if("string"===typeof e){var r=U[e];null!=r&&(c[n]=t?Y[r]:r,o=c.join(" "))}})}r[a]||(i[a]=o),a===s&&(r[a]=!0)};for(var s in n)o();return(0,a.default)(i,!0)}(o[1],n)),o}de.absoluteFill=ce,de.absoluteFillObject=le,de.create=ue,de.compose=function(e,t){return[e,t]},de.flatten=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=t.flat(1/0),i={},a=0;a<r.length;a++){var o=r[a];null!=o&&"object"===typeof o&&Object.assign(i,o)}return i},de.getSheet=function(){return{id:ie.id,textContent:ie.getTextContent()}},de.hairlineWidth=1,te.default&&window.__REACT_DEVTOOLS_GLOBAL_HOOK__&&(window.__REACT_DEVTOOLS_GLOBAL_HOOK__.resolveRNStyle=de.flatten);const pe=de},95568(e,t,n){"use strict";n.r(t),n.d(t,{createBoxShadowArrayValue:()=>d,createBoxShadowValue:()=>l,createTextShadowValue:()=>c,createTransformOriginValue:()=>h,createTransformValue:()=>f,default:()=>v,preprocess:()=>y});var r=n(29647),i=n(39650),a=n(32155),o={},s={height:0,width:0},l=e=>{var t=e.shadowColor,n=e.shadowOffset,a=e.shadowOpacity,o=e.shadowRadius,l=n||s,c=l.height,u=l.width,d=(0,i.default)(u),p=(0,i.default)(c),f=(0,i.default)(o||0),h=(0,r.default)(t||"black",a);if(null!=h&&null!=d&&null!=p&&null!=f)return d+" "+p+" "+f+" "+h},c=e=>{var t=e.textShadowColor,n=e.textShadowOffset,r=e.textShadowRadius,a=n||s,o=a.height,l=a.width,c=r||0,u=(0,i.default)(l),d=(0,i.default)(o),p=(0,i.default)(c),f=(0,i.default)(t,"textShadowColor");if(f&&(0!==o||0!==l||0!==c)&&null!=u&&null!=d&&null!=p)return u+" "+d+" "+p+" "+f},u=e=>{if("string"===typeof e)return e;var t=(0,i.default)(e.offsetX)||0,n=(0,i.default)(e.offsetY)||0,a=(0,i.default)(e.blurRadius)||0,o=(0,i.default)(e.spreadDistance)||0,s=(0,r.default)(e.color)||"black";return""+(e.inset?"inset ":"")+t+" "+n+" "+a+" "+o+" "+s},d=e=>e.map(u).join(", "),p=e=>{var t=Object.keys(e)[0],n=e[t];return"matrix"===t||"matrix3d"===t?t+"("+n.join(",")+")":t+"("+(0,i.default)(n,t)+")"},f=e=>e.map(p).join(" "),h=e=>e.map(e=>(0,i.default)(e)).join(" "),m={borderBottomEndRadius:"borderEndEndRadius",borderBottomStartRadius:"borderEndStartRadius",borderTopEndRadius:"borderStartEndRadius",borderTopStartRadius:"borderStartStartRadius",borderEndColor:"borderInlineEndColor",borderEndStyle:"borderInlineEndStyle",borderEndWidth:"borderInlineEndWidth",borderStartColor:"borderInlineStartColor",borderStartStyle:"borderInlineStartStyle",borderStartWidth:"borderInlineStartWidth",end:"insetInlineEnd",marginEnd:"marginInlineEnd",marginHorizontal:"marginInline",marginStart:"marginInlineStart",marginVertical:"marginBlock",paddingEnd:"paddingInlineEnd",paddingHorizontal:"paddingInline",paddingStart:"paddingInlineStart",paddingVertical:"paddingBlock",start:"insetInlineStart"},g={elevation:!0,overlayColor:!0,resizeMode:!0,tintColor:!0},y=function(e,t){void 0===t&&(t={});var n=e||o,r={};if(t.shadow,null!=n.shadowColor||null!=n.shadowOffset||null!=n.shadowOpacity||null!=n.shadowRadius){(0,a.warnOnce)("shadowStyles",'"shadow*" style props are deprecated. Use "boxShadow".');var i=l(n);null!=i&&(r.boxShadow=i)}if(t.textShadow,null!=n.textShadowColor||null!=n.textShadowOffset||null!=n.textShadowRadius){(0,a.warnOnce)("textShadowStyles",'"textShadow*" style props are deprecated. Use "textShadow".');var s=c(n);if(null!=s&&null==r.textShadow){var u=n.textShadow,p=u?u+", "+s:s;r.textShadow=p}}for(var y in n)if(null==g[y]&&"shadowColor"!==y&&"shadowOffset"!==y&&"shadowOpacity"!==y&&"shadowRadius"!==y&&"textShadowColor"!==y&&"textShadowOffset"!==y&&"textShadowRadius"!==y){var v=n[y],b=m[y]||y,_=v;if(Object.prototype.hasOwnProperty.call(n,y)&&(b===y||null==n[b]))if("aspectRatio"===b&&"number"===typeof _)r[b]=_.toString();else if("boxShadow"===b){Array.isArray(_)&&(_=d(_));var w=r.boxShadow;r.boxShadow=w?_+", "+w:_}else"fontVariant"===b?(Array.isArray(_)&&_.length>0&&(_=_.join(" ")),r[b]=_):"textAlignVertical"===b?null==n.verticalAlign&&(r.verticalAlign="center"===_?"middle":_):"transform"===b?(Array.isArray(_)&&(_=f(_)),r.transform=_):"transformOrigin"===b?(Array.isArray(_)&&(_=h(_)),r.transformOrigin=_):r[b]=_}return r};const v=y}
2,65730(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(36665).createContext)(!1)},6283(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>w});var r=n(27051),i=n(98587),a=n(36665),o=n(50658),s=n(58532),l=n(69047),c=n(19965),u=n(40769),d=n(40332),p=n(46399),f=n(75675),h=n(65730),m=n(85794),g=["hrefAttrs","numberOfLines","onClick","onLayout","onPress","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture","selectable"],y=Object.assign({},s.defaultProps,s.accessibilityProps,s.clickProps,s.focusProps,s.keyboardProps,s.mouseProps,s.touchProps,s.styleProps,{href:!0,lang:!0,pointerEvents:!0}),v=a.forwardRef((e,t)=>{var n=e.hrefAttrs,r=e.numberOfLines,s=e.onClick,f=e.onLayout,v=e.onPress,b=e.onMoveShouldSetResponder,w=e.onMoveShouldSetResponderCapture,k=e.onResponderEnd,S=e.onResponderGrant,x=e.onResponderMove,C=e.onResponderReject,E=e.onResponderRelease,A=e.onResponderStart,T=e.onResponderTerminate,I=e.onResponderTerminationRequest,R=e.onScrollShouldSetResponder,O=e.onScrollShouldSetResponderCapture,D=e.onSelectionChangeShouldSetResponder,N=e.onSelectionChangeShouldSetResponderCapture,j=e.onStartShouldSetResponder,F=e.onStartShouldSetResponderCapture,M=e.selectable,V=(0,i.default)(e,g),P=a.useContext(h.default),L=a.useRef(null),B=(0,m.useLocaleContext)().direction;(0,c.default)(L,f),(0,p.default)(L,{onMoveShouldSetResponder:b,onMoveShouldSetResponderCapture:w,onResponderEnd:k,onResponderGrant:S,onResponderMove:x,onResponderReject:C,onResponderRelease:E,onResponderStart:A,onResponderTerminate:T,onResponderTerminationRequest:I,onScrollShouldSetResponder:R,onScrollShouldSetResponderCapture:O,onSelectionChangeShouldSetResponder:D,onSelectionChangeShouldSetResponderCapture:N,onStartShouldSetResponder:j,onStartShouldSetResponderCapture:F});var H=a.useCallback(e=>{null!=s?s(e):null!=v&&(e.stopPropagation(),v(e))},[s,v]),W=P?"span":"div",z=null!=e.lang?(0,m.getLocaleDirection)(e.lang):null,Y=e.dir||z,U=Y||B,X=(e=>(0,l.default)(e,y))(V);if(X.dir=Y,P||(X.dir=null!=Y?Y:"auto"),(s||v)&&(X.onClick=H),X.style=[null!=r&&r>1&&{WebkitLineClamp:r},!0===P?_.textHasAncestor$raw:_.text$raw,1===r&&_.textOneLine,null!=r&&r>1&&_.textMultiLine,e.style,!0===M&&_.selectable,!1===M&&_.notSelectable,v&&_.pressable],null!=e.href&&(W="a",null!=n)){var G=n.download,q=n.rel,J=n.target;null!=G&&(X.download=G),null!=q&&(X.rel=q),"string"===typeof J&&(X.target="_"!==J.charAt(0)?"_"+J:J)}var $=(0,d.default)(X),K=(0,u.default)(L,$,t);X.ref=K;var Z=(0,o.default)(W,X,{writingDirection:U});return P?Z:a.createElement(h.default.Provider,{value:!0},Z)});v.displayName="Text";var b={backgroundColor:"transparent",border:"0 solid black",boxSizing:"border-box",color:"black",display:"inline",font:"14px System",listStyle:"none",margin:0,padding:0,position:"relative",textAlign:"start",textDecoration:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},_=f.default.create({text$raw:b,textHasAncestor$raw:(0,r.default)((0,r.default)({},b),{},{color:"inherit",font:"inherit",textAlign:"inherit",whiteSpace:"inherit"}),textOneLine:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordWrap:"normal"},textMultiLine:{display:"-webkit-box",maxWidth:"100%",overflow:"clip",textOverflow:"ellipsis",WebkitBoxOrient:"vertical"},notSelectable:{userSelect:"none"},selectable:{userSelect:"text"},pressable:{cursor:"pointer"}});const w=v},16773(t,n,r){"use strict";r.r(n),r.d(n,{default:()=>w});var i=r(36665),a=r(50658),o=r(58532),s=r(69047),l=r(19965),c=r(60542),u=r(40769),d=r(40332),p=r(46399),f=r(85794),h=r(75675),m=r(62600),g=(t,n)=>{if(((e,t)=>{var n=e.selectionEnd,r=e.selectionStart,i=t.start,a=t.end;return i!==r||a!==n})(t,n)){var r=n.start,i=n.end;try{t.setSelectionRange(r,i||r)}catch(e){}}},y=Object.assign({},o.defaultProps,o.accessibilityProps,o.clickProps,o.focusProps,o.keyboardProps,o.mouseProps,o.touchProps,o.styleProps,{autoCapitalize:!0,autoComplete:!0,autoCorrect:!0,autoFocus:!0,defaultValue:!0,disabled:!0,lang:!0,maxLength:!0,onChange:!0,onScroll:!0,placeholder:!0,pointerEvents:!0,readOnly:!0,rows:!0,spellCheck:!0,value:!0,type:!0});var v=null,b=i.forwardRef((e,t)=>
2{var n,r,o=e.autoCapitalize,h=void 0===o?"sentences":o,b=e.autoComplete,w=e.autoCompleteType,k=e.autoCorrect,S=void 0===k||k,x=e.blurOnSubmit,C=e.caretHidden,E=e.clearTextOnFocus,A=e.dir,T=e.editable,I=e.enterKeyHint,R=e.inputMode,O=e.keyboardType,D=e.multiline,N=void 0!==D&&D,j=e.numberOfLines,F=e.onBlur,M=e.onChange,V=e.onChangeText,P=e.onContentSizeChange,L=e.onFocus,B=e.onKeyPress,H=e.onLayout,W=e.onMoveShouldSetResponder,z=e.onMoveShouldSetResponderCapture,Y=e.onResponderEnd,U=e.onResponderGrant,X=e.onResponderMove,G=e.onResponderReject,q=e.onResponderRelease,J=e.onResponderStart,$=e.onResponderTerminate,K=e.onResponderTerminationRequest,Z=e.onScrollShouldSetResponder,Q=e.onScrollShouldSetResponderCapture,ee=e.onSelectionChange,te=e.onSelectionChangeShouldSetResponder,ne=e.onSelectionChangeShouldSetResponderCapture,re=e.onStartShouldSetResponder,ie=e.onStartShouldSetResponderCapture,ae=e.onSubmitEditing,oe=e.placeholderTextColor,se=e.readOnly,le=void 0!==se&&se,ce=e.returnKeyType,ue=e.rows,de=e.secureTextEntry,pe=void 0!==de&&de,fe=e.selection,he=e.selectTextOnFocus,me=e.showSoftInputOnFocus,ge=e.spellCheck;if(null!=R)r=R,n="email"===R?"email":"tel"===R?"tel":"search"===R?"search":"url"===R?"url":"text";else if(null!=O)switch(O){case"email-address":n="email";break;case"number-pad":case"numeric":r="numeric";break;case"decimal-pad":r="decimal";break;case"phone-pad":n="tel";break;case"search":case"web-search":n="search";break;case"url":n="url";break;default:n="text"}pe&&(n="password");var ye=i.useRef({height:null,width:null}),ve=i.useRef(null),be=i.useRef(null),_e=i.useRef(!1);i.useEffect(()=>{ve.current&&be.current&&g(ve.current,be.current),_e.current=pe},[pe]);var we=i.useCallback(e=>{if(N&&P&&null!=e){var t=e.scrollHeight,n=e.scrollWidth;t===ye.current.height&&n===ye.current.width||(ye.current.height=t,ye.current.width=n,P({nativeEvent:{contentSize:{height:ye.current.height,width:ye.current.width}}}))}},[N,P]),ke=i.useMemo(()=>e=>{null!=e&&(e.clear=function(){null!=e&&(e.value="")},e.isFocused=function(){return null!=e&&m.default.currentlyFocusedField()===e},we(e))},[we]);(0,c.default)(()=>{var e=ve.current;null!=e&&null!=fe&&g(e,fe),document.activeElement===e&&(m.default._currentlyFocusedNode=e)},[ve,fe]);var Se=N?"textarea":"input";(0,l.default)(ve,H),(0,p.default)(ve,{onMoveShouldSetResponder:W,onMoveShouldSetResponderCapture:z,onResponderEnd:Y,onResponderGrant:U,onResponderMove:X,onResponderReject:G,onResponderRelease:q,onResponderStart:J,onResponderTerminate:$,onResponderTerminationRequest:K,onScrollShouldSetResponder:Z,onScrollShouldSetResponderCapture:Q,onSelectionChangeShouldSetResponder:te,onSelectionChangeShouldSetResponderCapture:ne,onStartShouldSetResponder:re,onStartShouldSetResponderCapture:ie});var xe=(0,f.useLocaleContext)().direction,Ce=(e=>(0,s.default)(e,y))(e);Ce.autoCapitalize=h,Ce.autoComplete=b||w||"on",Ce.autoCorrect=S?"on":"off",Ce.dir=void 0!==A?A:"auto",Ce.enterKeyHint=I||ce,Ce.inputMode=r,Ce.onBlur=function(e){m.default._currentlyFocusedNode=null,F&&(e.nativeEvent.text=e.target.value,F(e))},Ce.onChange=function(e){var t=e.target,n=t.value;e.nativeEvent.text=n,we(t),M&&M(e),V&&V(n)},Ce.onFocus=function(e){var t=e.target;L&&(e.nativeEvent.text=t.value,L(e)),null!=t&&(m.default._currentlyFocusedNode=t,E&&(t.value=""),he&&(null!=v&&clearTimeout(v),v=setTimeout(()=>{null!=t&&document.activeElement===t&&t.select()},0)))},Ce.onKeyDown=function(e){var t=e.target;e.stopPropagation();var n=null==x?!N:x,r=e.nativeEvent,i=function(e){return e.isComposing||229===e.keyCode}(r);B&&B(e),"Enter"!==e.key||e.shiftKey||i||e.isDefaultPrevented()||(!x&&N||!ae||(e.preventDefault(),r.text=e.target.value,ae(e)),n&&null!=t&&setTimeout(()=>t.blur(),0))},Ce.onSelect=function(e){try{var t=e.target,n={start:t.selectionStart,end:t.selectionEnd};ee&&(e.nativeEvent.selection=n,e.nativeEvent.text=e.target.value,ee(e)),_e.current===pe&&(be.current=n)}catch(e){}},Ce.readOnly=!0===le||!1===T,Ce.rows=N?null!=ue?ue:j:1,Ce.spellCheck=null!=ge?ge:S,Ce.style=[{"--placeholderTextColor":oe},_.textinput$raw,_.placeholder,e.style,C&&_.caretHidden],Ce.type=N?void 0:n,Ce.virtualkeyboardpolicy=!1===me?"manual":"auto";var Ee=(0,d.default)(Ce),Ae=(0,u.default)(ve,Ee,ke,t);Ce.ref=Ae;var Te=null!=e.lang?(0,f.getLocaleDirection)(e.lang):null,Ie=e.dir||Te||xe;return(0,a.default)(Se,Ce,{writingDirection:Ie})});b.displayName="TextInput",b.State=m.default;var _=h.default.create({textinput$raw:{MozAppearance:"textfield",WebkitAppearance:"none",backgroundColor:"transparent",border:"0 solid black",borderRadius:0,boxSizing:"border-box",font:"14px System",margin:0,padding:0,resize:"none"},placeholder:{placeholderTextColor:"var(--placeholderTextColor)"},caretHidden:{caretColor:"transparent"}});const w=b}
2,31077(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>X});var r=n(98587),i=n(27051),a=n(92561),o=(n(26077),function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)}),s=function(e){var t=this;e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},l=o;const c={addPoolingTo:function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||l,n.poolSize||(n.poolSize=10),n.release=s,n},twoArgumentPooler:o};var u=c.twoArgumentPooler;function d(e,t){this.width=e,this.height=t}d.prototype.destructor=function(){this.width=null,this.height=null},d.getPooledFromElement=function(e){return d.getPooled(e.offsetWidth,e.offsetHeight)},c.addPoolingTo(d,u);const p=d;var f=n(68168),h=n.n(f),m=c.twoArgumentPooler;function g(e,t){this.left=e,this.top=t}g.prototype.destructor=function(){this.left=null,this.top=null},c.addPoolingTo(g,m);const y=g;var v=n(36665),b=n(97640),_=n(73929),w=n(32155),k=e=>{var t=e.touches,n=e.changedTouches,r=t&&t.length>0,i=n&&n.length>0;return!r&&i?n[0]:r?t[0]:e},S="NOT_RESPONDER",x="RESPONDER_INACTIVE_PRESS_IN",C="RESPONDER_INACTIVE_PRESS_OUT",E="RESPONDER_ACTIVE_PRESS_IN",A="RESPONDER_ACTIVE_PRESS_OUT",T="RESPONDER_ACTIVE_LONG_PRESS_IN",I="RESPONDER_ACTIVE_LONG_PRESS_OUT",R="ERROR",O={NOT_RESPONDER:!1,RESPONDER_INACTIVE_PRESS_IN:!1,RESPONDER_INACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_PRESS_IN:!1,RESPONDER_ACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_LONG_PRESS_IN:!1,RESPONDER_ACTIVE_LONG_PRESS_OUT:!1,ERROR:!1},D=(0,i.default)((0,i.default)({},O),{},{RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0}),N=(0,i.default)((0,i.default)({},O),{},{RESPONDER_INACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),j=(0,i.default)((0,i.default)({},O),{},{RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),F="DELAY",M="RESPONDER_GRANT",V="RESPONDER_RELEASE",P="RESPONDER_TERMINATED",L="ENTER_PRESS_RECT",B="LEAVE_PRESS_RECT",H="LONG_PRESS_DETECTED",W={NOT_RESPONDER:{DELAY:R,RESPONDER_GRANT:x,RESPONDER_RELEASE:R,RESPONDER_TERMINATED:R,ENTER_PRESS_RECT:R,LEAVE_PRESS_RECT:R,LONG_PRESS_DETECTED:R},RESPONDER_INACTIVE_PRESS_IN:{DELAY:E,RESPONDER_GRANT:R,RESPONDER_RELEASE:S,RESPONDER_TERMINATED:S,ENTER_PRESS_RECT:x,LEAVE_PRESS_RECT:C,LONG_PRESS_DETECTED:R},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:A,RESPONDER_GRANT:R,RESPONDER_RELEASE:S,RESPONDER_TERMINATED:S,ENTER_PRESS_RECT:x,LEAVE_PRESS_RECT:C,LONG_PRESS_DETECTED:R},RESPONDER_ACTIVE_PRESS_IN:{DELAY:R,RESPONDER_GRANT:R,RESPONDER_RELEASE:S,RESPONDER_TERMINATED:S,ENTER_PRESS_RECT:E,LEAVE_PRESS_RECT:A,LONG_PRESS_DETECTED:T},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:R,RESPONDER_GRANT:R,RESPONDER_RELEASE:S,RESPONDER_TERMINATED:S,ENTER_PRESS_RECT:E,LEAVE_PRESS_RECT:A,LONG_PRESS_DETECTED:R},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:R,RESPONDER_GRANT:R,RESPONDER_RELEASE:S,RESPONDER_TERMINATED:S,ENTER_PRESS_RECT:T,LEAVE_PRESS_RECT:I,LONG_PRESS_DETECTED:T},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:R,RESPONDER_GRANT:R,RESPONDER_RELEASE:S,RESPONDER_TERMINATED:S,ENTER_PRESS_RECT:T,LEAVE_PRESS_RECT:I,LONG_PRESS_DETECTED:R},error:{DELAY:S,RESPONDER_GRANT:x,RESPONDER_RELEASE:S,RESPONDER_TERMINATED:S,ENTER_PRESS_RECT:S,LEAVE_PRESS_RECT:S,LONG_PRESS_DETECTED:S}},z={componentDidMount:function(){(0,w.warnOnce)("TouchableMixin","TouchableMixin is deprecated. Please use Pressable.");var e=this.getTouchableNode&&this.getTouchableNode();e&&e.addEventListener&&(this._touchableBlurListener=e=>{this._isTouchableKeyboardActive&&(this.state.touchable.touchState&&this.state.touchable.touchState!==S&&this.touchableHandleResponderTerminate({nativeEvent:e}),this._isTouchableKeyboardActive=!1)},e.addEventListener("blur",this._touchableBlurListener))},componentWillUnmount:function(){var e=this.getTouchableNode&&this.getTouchableNode();e&&e.addEventListener&&e.removeEventListener("blur",this._touchableBlurListener),this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressInLocation=null,this.state.touchable.responderID=null},touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!this.props.disabled},touchableLongPressCancelsPress:function(){return!0},touchableHandleResponderGrant:function(e){var t=e.currentTarget;e.persist(),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressOutDelayTimeout=null,this.state.touchable.touchState=S,this.state.touchable.responderID=t,this._receiveSignal(M,e);var n=void 0!==this.touchableGetHighlightDelayMS?Math.max(this.touchableGetHighlightDelayMS(),0):130;0!==(n=isNaN(n)?130:n)?this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,e),n):this._handleDelay(e);var r=void 0!==this.touchableGetLongPressDelayMS?Math.max(this.touchableGetLongPressDelayMS(),10):370;r=isNaN(r)?370:r,this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,e),r+n)},touchableHandleResponderRelease:function(e){this.pressInLocation=null,this._receiveSignal(V,e)},touchableHandleResponderTerminate:function(e){this.pressInLocation=null,this._receiveSignal(P,e)},touchableHandleResponderMove:function(e){if(this.state.touchable.positionOnActivate){var t=this.state.touchable.positionOnActivate,n=this.state.touchable.dimensionsOnActivate,r=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():{left:20,right:20,top:20,bottom:20},i=r.left,a=r.top,o=r.right,s=r.bottom,l=this.touchableGetHitSlop?this.touchableGetHitSlop():null;l&&(i+=l.left||0,a+=l.top||0,o+=l.right||0,s+=l.bottom||0);var c=k(e.nativeEvent),u=c&&c.pageX,d=c&&c.pageY;if(this.pressInLocation)this._getDistanceBetweenPoints(u,d,this.pressInLocation.pageX,this.pressInLocation.pageY)>10&&this._cancelLongPressDelayTimeout();if(u>t.left-i&&d>t.top-a&&u<t.left+n.width+o&&d<t.top+n.height+s){var p=this.state.touchable.touchState;this._receiveSignal(L,e),this.state.touchable.touchState===x&&p!==x&&this._cancelLongPressDelayTimeout()}else this._cancelLongPressDelayTimeout(),this._receiveSignal(B,e)}},touchableHandleFocus:function(e){this.props.onFocus&&this.props.onFocus(e)},touchableHandleBlur:function(e){this.props.onBlur&&this.props.onBlur(e)},_remeasureMetricsOnActivation:function(){var e=this.state.touchable.responderID;null!=e&&b.default.measure(e,this._handleQueryLayout)},_handleQueryLayout:function(e,t,n,r,i,a){(e||t||n||r||i||a)&&(this.state.touchable.positionOnActivate&&y.release(this.state.touchable.positionOnActivate),this.state.touchable.dimensionsOnActivate&&p.release(this.state.touchable.dimensionsOnActivate),this.state.touchable.positionOnActivate=y.getPooled(i,a),this.state.touchable.dimensionsOnActivate=p.getPooled(n,r))},_handleDelay:function(e){this.touchableDelayTimeout=null,this._receiveSignal(F,e)},_handleLongDelay:function(e){this.longPressDelayTimeout=null;var t=this.state.touchable.touchState;t!==E&&t!==T||this._receiveSignal(H,e)},_receiveSignal:function(e,t){var n=this.state.touchable.responderID,r=this.state.touchable.touchState,i=W[r]&&W[r][e];if(n||e!==V){if(!i)throw new Error("Unrecognized signal `"+e+"` or state `"+r+"` for Touchable responder `"+n+"`");
2if(i===R)throw new Error("Touchable cannot transition from `"+r+"` to `"+e+"` for responder `"+n+"`");r!==i&&(this._performSideEffectsForTransition(r,i,e,t),this.state.touchable.touchState=i)}},_cancelLongPressDelayTimeout:function(){this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.longPressDelayTimeout=null},_isHighlight:function(e){return e===E||e===T},_savePressInLocation:function(e){var t=k(e.nativeEvent),n=t&&t.pageX,r=t&&t.pageY,i=t&&t.locationX,a=t&&t.locationY;this.pressInLocation={pageX:n,pageY:r,locationX:i,locationY:a}},_getDistanceBetweenPoints:function(e,t,n,r){var i=e-n,a=t-r;return Math.sqrt(i*i+a*a)},_performSideEffectsForTransition:function(e,t,n,r){var i=this._isHighlight(e),a=this._isHighlight(t);(n===P||n===V)&&this._cancelLongPressDelayTimeout();var o=e===S&&t===x,s=!D[e]&&D[t];if((o||s)&&this._remeasureMetricsOnActivation(),N[e]&&n===H&&this.touchableHandleLongPress&&this.touchableHandleLongPress(r),a&&!i?this._startHighlight(r):!a&&i&&this._endHighlight(r),N[e]&&n===V){var l=!!this.props.onLongPress,c=j[e]&&(!l||!this.touchableLongPressCancelsPress());(!j[e]||c)&&this.touchableHandlePress&&(a||i||(this._startHighlight(r),this._endHighlight(r)),this.touchableHandlePress(r))}this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.touchableDelayTimeout=null},_playTouchSound:function(){b.default.playTouchSound()},_startHighlight:function(e){this._savePressInLocation(e),this.touchableHandleActivePressIn&&this.touchableHandleActivePressIn(e)},_endHighlight:function(e){this.touchableHandleActivePressOut&&(this.touchableGetPressOutDelayMS&&this.touchableGetPressOutDelayMS()?this.pressOutDelayTimeout=setTimeout(()=>{this.touchableHandleActivePressOut(e)},this.touchableGetPressOutDelayMS()):this.touchableHandleActivePressOut(e))},touchableHandleKeyEvent:function(e){var t=e.type,n=e.key;"Enter"!==n&&" "!==n||("keydown"===t?this._isTouchableKeyboardActive||this.state.touchable.touchState&&this.state.touchable.touchState!==S||(this.touchableHandleResponderGrant(e),this._isTouchableKeyboardActive=!0):"keyup"===t&&this._isTouchableKeyboardActive&&this.state.touchable.touchState&&this.state.touchable.touchState!==S&&(this.touchableHandleResponderRelease(e),this._isTouchableKeyboardActive=!1),e.stopPropagation(),"Enter"===n&&"link"===a.default.propsToAriaRole(this.props)||e.preventDefault())},withoutDefaultFocusAndBlur:{}},Y=(z.touchableHandleFocus,z.touchableHandleBlur,(0,r.default)(z,["touchableHandleFocus","touchableHandleBlur"]));z.withoutDefaultFocusAndBlur=Y;var U={Mixin:z,TOUCH_TARGET_DEBUG:!1,renderDebugView:e=>{var t=e.color,n=e.hitSlop;if(!U.TOUCH_TARGET_DEBUG)return null;var r={};for(var a in n=n||{top:0,bottom:0,left:0,right:0})r[a]=-n[a];var o=h()(t);if("number"!==typeof o)return null;var s="#"+("00000000"+o.toString(16)).substr(-8);return v.createElement(_.default,{pointerEvents:"none",style:(0,i.default)({position:"absolute",borderColor:s.slice(0,-2)+"55",borderWidth:1,borderStyle:"dashed",backgroundColor:s.slice(0,-2)+"0F"},r)})}};const X=U},15648(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(58168),i=n(98587),a=n(36665),o=n(40769),s=n(77442),l=n(75675),c=n(73929),u=["activeOpacity","delayPressIn","delayPressOut","delayLongPress","disabled","focusable","onLongPress","onPress","onPressIn","onPressOut","rejectResponderTermination","style"];var d=l.default.create({root:{transitionProperty:"opacity",transitionDuration:"0.15s",userSelect:"none"},actionable:{cursor:"pointer",touchAction:"manipulation"}}),p=a.memo(a.forwardRef(function(e,t){var n=e.activeOpacity,l=e.delayPressIn,p=e.delayPressOut,f=e.delayLongPress,h=e.disabled,m=e.focusable,g=e.onLongPress,y=e.onPress,v=e.onPressIn,b=e.onPressOut,_=e.rejectResponderTermination,w=e.style,k=(0,i.default)(e,u),S=(0,a.useRef)(null),x=(0,o.default)(t,S),C=(0,a.useState)("0s"),E=C[0],A=C[1],T=(0,a.useState)(null),I=T[0],R=T[1],O=(0,a.useCallback)((e,t)=>{R(e),A(t?t/1e3+"s":"0s")},[R,A]),D=(0,a.useCallback)(e=>{O(null!==n&&void 0!==n?n:.2,e)},[n,O]),N=(0,a.useCallback)(e=>{O(null,e)},[O]),j=(0,a.useMemo)(()=>({cancelable:!_,disabled:h,delayLongPress:f,delayPressStart:l,delayPressEnd:p,onLongPress:g,onPress:y,onPressStart(e){var t=null!=e.dispatchConfig?"onResponderGrant"===e.dispatchConfig.registrationName:"keydown"===e.type;D(t?0:150),null!=v&&v(e)},onPressEnd(e){N(250),null!=b&&b(e)}}),[f,l,p,h,g,y,v,b,_,D,N]),F=(0,s.default)(S,j);return a.createElement(c.default,(0,r.default)({},k,F,{accessibilityDisabled:h,focusable:!h&&!1!==m,pointerEvents:h?"box-none":void 0,ref:x,style:[d.root,!h&&d.actionable,w,null!=I&&{opacity:I},{transitionDuration:E}]}))}));p.displayName="TouchableOpacity";const f=p},51950(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(36665),i=n(69047),a=n(40769),o=n(77442),s=n(32155),l={accessibilityDisabled:!0,accessibilityLabel:!0,accessibilityLiveRegion:!0,accessibilityRole:!0,accessibilityState:!0,accessibilityValue:!0,children:!0,disabled:!0,focusable:!0,nativeID:!0,onBlur:!0,onFocus:!0,onLayout:!0,testID:!0};var c=r.memo(r.forwardRef(function(e,t){(0,s.warnOnce)("TouchableWithoutFeedback","TouchableWithoutFeedback is deprecated. Please use Pressable.");var n=e.delayPressIn,c=e.delayPressOut,u=e.delayLongPress,d=e.disabled,p=e.focusable,f=e.onLongPress,h=e.onPress,m=e.onPressIn,g=e.onPressOut,y=e.rejectResponderTermination,v=(0,r.useRef)(null),b=(0,r.useMemo)(()=>({cancelable:!y,disabled:d,delayLongPress:u,delayPressStart:n,delayPressEnd:c,onLongPress:f,onPress:h,onPressStart:m,onPressEnd:g}),[d,n,c,u,f,h,m,g,y]),_=(0,o.default)(v,b),w=r.Children.only(e.children),k=[w.props.children],S=(e=>(0,i.default)(e,l))(e);S.accessibilityDisabled=d,S.focusable=!d&&!1!==p,S.ref=(0,a.default)(t,v,w.ref);var x=Object.assign(S,_);return r.cloneElement(w,x,...k)}));c.displayName="TouchableWithoutFeedback";const u=c},97640(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(14047),i={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridRowEnd:!0,gridRowGap:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridColumnStart:!0,lineClamp:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},a=["ms","Moz","O","Webkit"];
2Object.keys(i).forEach(e=>{a.forEach(t=>{i[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(t,e)]=i[e]})});const o=i;const s=function(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||o.hasOwnProperty(e)&&o[e]?(""+t).trim():t+"px"};const l=function(e,t){var n=e.style;for(var r in t)if(t.hasOwnProperty(r)){var i=0===r.indexOf("--"),a=s(r,t[r],i);"float"===r&&(r="cssFloat"),i?n.setProperty(r,a):n[r]=a}};var c=e=>{var t=e.offsetHeight,n=e.offsetWidth,r=e.offsetLeft,i=e.offsetTop;for(e=e.offsetParent;e&&1===e.nodeType;)r+=e.offsetLeft+e.clientLeft-e.scrollLeft,i+=e.offsetTop+e.clientTop-e.scrollTop,e=e.offsetParent;return{width:n,height:t,top:i-=window.scrollY,left:r-=window.scrollX}},u=(e,t,n)=>{var r=t||e&&e.parentNode;e&&r&&setTimeout(()=>{if(e.isConnected&&r.isConnected){var t=c(r),i=c(e),a=i.height,o=i.left,s=i.top,l=i.width,u=o-t.left,d=s-t.top;n(u,d,l,a,o,s)}},0)},d={A:!0,BODY:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0};const p={blur(e){try{e.blur()}catch(t){}},focus(e){try{var t=e.nodeName;null==e.getAttribute("tabIndex")&&!0!==e.isContentEditable&&null==d[t]&&e.setAttribute("tabIndex","-1"),e.focus()}catch(n){}},measure(e,t){u(e,null,t)},measureInWindow(e,t){e&&setTimeout(()=>{var n=(0,r.default)(e),i=n.height,a=n.left,o=n.top,s=n.width;t(a,o,s,i)},0)},measureLayout(e,t,n,r){u(e,t,r)},updateView(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=t[n];switch(n){case"style":l(e,r);break;case"class":case"className":e.setAttribute("class",r);break;case"text":case"value":e.value=r;break;default:e.setAttribute(n,r)}}},configureNextLayoutAnimation(e,t){t()},setLayoutAnimationEnabledExperimental(){}}},73929(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>b});var r=n(98587),i=n(36665),a=n(50658),o=n(58532),s=n(69047),l=n(19965),c=n(40769),u=n(40332),d=n(46399),p=n(75675),f=n(65730),h=n(85794),m=["hrefAttrs","onLayout","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStart
2ShouldSetResponder","onStartShouldSetResponderCapture"],g=Object.assign({},o.defaultProps,o.accessibilityProps,o.clickProps,o.focusProps,o.keyboardProps,o.mouseProps,o.touchProps,o.styleProps,{href:!0,lang:!0,onScroll:!0,onWheel:!0,pointerEvents:!0}),y=i.forwardRef((e,t)=>{var n=e.hrefAttrs,o=e.onLayout,p=e.onMoveShouldSetResponder,y=e.onMoveShouldSetResponderCapture,b=e.onResponderEnd,_=e.onResponderGrant,w=e.onResponderMove,k=e.onResponderReject,S=e.onResponderRelease,x=e.onResponderStart,C=e.onResponderTerminate,E=e.onResponderTerminationRequest,A=e.onScrollShouldSetResponder,T=e.onScrollShouldSetResponderCapture,I=e.onSelectionChangeShouldSetResponder,R=e.onSelectionChangeShouldSetResponderCapture,O=e.onStartShouldSetResponder,D=e.onStartShouldSetResponderCapture,N=(0,r.default)(e,m);var j=i.useContext(f.default),F=i.useRef(null),M=(0,h.useLocaleContext)().direction;(0,l.default)(F,o),(0,d.default)(F,{onMoveShouldSetResponder:p,onMoveShouldSetResponderCapture:y,onResponderEnd:b,onResponderGrant:_,onResponderMove:w,onResponderReject:k,onResponderRelease:S,onResponderStart:x,onResponderTerminate:C,onResponderTerminationRequest:E,onScrollShouldSetResponder:A,onScrollShouldSetResponderCapture:T,onSelectionChangeShouldSetResponder:I,onSelectionChangeShouldSetResponderCapture:R,onStartShouldSetResponder:O,onStartShouldSetResponderCapture:D});var V="div",P=null!=e.lang?(0,h.getLocaleDirection)(e.lang):null,L=e.dir||P,B=L||M,H=(e=>(0,s.default)(e,g))(N);if(H.dir=L,H.style=[v.view$raw,j&&v.inline,e.style],null!=e.href&&(V="a",null!=n)){var W=n.download,z=n.rel,Y=n.target;null!=W&&(H.download=W),null!=z&&(H.rel=z),"string"===typeof Y&&(H.target="_"!==Y.charAt(0)?"_"+Y:Y)}var U=(0,u.default)(H),X=(0,c.default)(F,U,t);return H.ref=X,(0,a.default)(V,H,{writingDirection:B})});y.displayName="View";var v=p.default.create({view$raw:{alignContent:"flex-start",alignItems:"stretch",backgroundColor:"transparent",border:"0 solid black",boxSizing:"border-box",display:"flex",flexBasis:"auto",flexDirection:"column",flexShrink:0,listStyle:"none",margin:0,minHeight:0,minWidth:0,padding:0,position:"relative",textDecoration:"none",zIndex:0},inline:{display:"inline-flex"}});const b=y},50658(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>_});var r=n(92561),i=n(27051),a=n(98587),o=n(75675),s=n(32155),l=["aria-activedescendant","accessibilityActiveDescendant","aria-atomic","accessibilityAtomic","aria-autocomplete","accessibilityAutoComplete","aria-busy","accessibilityBusy","aria-checked","accessibilityChecked","aria-colcount","accessibilityColumnCount","aria-colindex","accessibilityColumnIndex","aria-colspan","accessibilityColumnSpan","aria-controls","accessibilityControls","aria-current","accessibilityCurrent","aria-describedby","accessibilityDescribedBy","aria-details","accessibilityDetails","aria-disabled","accessibilityDisabled","aria-errormessage","accessibilityErrorMessage","aria-expanded","accessibilityExpanded","aria-flowto","accessibilityFlowTo","aria-haspopup","accessibilityHasPopup","aria-hidden","accessibilityHidden","aria-invalid","accessibilityInvalid","aria-keyshortcuts","accessibilityKeyShortcuts","aria-label","accessibilityLabel","aria-labelledby","accessibilityLabelledBy","aria-level","accessibilityLevel","aria-live","accessibilityLiveRegion","aria-modal","accessibilityModal","aria-multiline","accessibilityMultiline","aria-multiselectable","accessibilityMultiSelectable","aria-orientation","accessibilityOrientation","aria-owns","accessibilityOwns","aria-placeholder","accessibilityPlaceholder","aria-posinset","accessibilityPosInSet","aria-pressed","accessibilityPressed","aria-readonly","accessibilityReadOnly","aria-required","accessibilityRequired","role","accessibilityRole","aria-roledescription","accessibilityRoleDescription","aria-rowcount","accessibilityRowCount","aria-rowindex","accessibilityRowIndex","aria-rowspan","accessibilityRowSpan","aria-selected","accessibilitySelected","aria-setsize","accessibilitySetSize","aria-sort","accessibilitySort","aria-valuemax","accessibilityValueMax","aria-valuemin","accessibilityValueMin","aria-valuenow","accessibilityValueNow","aria-valuetext","accessibilityValueText","dataSet","focusable","id","nativeID","pointerEvents","style","tabIndex","testID"],c={},u=Object.prototype.hasOwnProperty,d=Array.isArray,p=/[A-Z]/g;function f(e){return"-"+e.toLowerCase()}function h(e){return e.replace(p,f)}function m(e){return d(e)?e.join(" "):e}var g=o.default.create({auto:{pointerEvents:"auto"},"box-none":{pointerEvents:"box-none"},"box-only":{pointerEvents:"box-only"},none:{pointerEvents:"none"}});const y=(e,t,n)=>{t||(t=c);var d=t,p=d["aria-activedescendant"],f=d.accessibilityActiveDescendant,y=d["aria-atomic"],v=d.accessibilityAtomic,b=d["aria-autocomplete"],_=d.accessibilityAutoComplete,w=d["aria-busy"],k=d.accessibilityBusy,S=d["aria-checked"],x=d.accessibilityChecked,C=d["aria-colcount"],E=d.accessibilityColumnCount,A=d["aria-colindex"],T=d.accessibilityColumnIndex,I=d["aria-colspan"],R=d.accessibilityColumnSpan,O=d["aria-controls"],D=d.accessibilityControl
2s,N=d["aria-current"],j=d.accessibilityCurrent,F=d["aria-describedby"],M=d.accessibilityDescribedBy,V=d["aria-details"],P=d.accessibilityDetails,L=d["aria-disabled"],B=d.accessibilityDisabled,H=d["aria-errormessage"],W=d.accessibilityErrorMessage,z=d["aria-expanded"],Y=d.accessibilityExpanded,U=d["aria-flowto"],X=d.accessibilityFlowTo,G=d["aria-haspopup"],q=d.accessibilityHasPopup,J=d["aria-hidden"],$=d.accessibilityHidden,K=d["aria-invalid"],Z=d.accessibilityInvalid,Q=d["aria-keyshortcuts"],ee=d.accessibilityKeyShortcuts,te=d["aria-label"],ne=d.accessibilityLabel,re=d["aria-labelledby"],ie=d.accessibilityLabelledBy,ae=d["aria-level"],oe=d.accessibilityLevel,se=d["aria-live"],le=d.accessibilityLiveRegion,ce=d["aria-modal"],ue=d.accessibilityModal,de=d["aria-multiline"],pe=d.accessibilityMultiline,fe=d["aria-multiselectable"],he=d.accessibilityMultiSelectable,me=d["aria-orientation"],ge=d.accessibilityOrientation,ye=d["aria-owns"],ve=d.accessibilityOwns,be=d["aria-placeholder"],_e=d.accessibilityPlaceholder,we=d["aria-posinset"],ke=d.accessibilityPosInSet,Se=d["aria-pressed"],xe=d.accessibilityPressed,Ce=d["aria-readonly"],Ee=d.accessibilityReadOnly,Ae=d["aria-required"],Te=d.accessibilityRequired,Ie=(d.role,d.accessibilityRole,d["aria-roledescription"]),Re=d.accessibilityRoleDescription,Oe=d["aria-rowcount"],De=d.accessibilityRowCount,Ne=d["aria-rowindex"],je=d.accessibilityRowIndex,Fe=d["aria-rowspan"],Me=d.accessibilityRowSpan,Ve=d["aria-selected"],Pe=d.accessibilitySelected,Le=d["aria-setsize"],Be=d.accessibilitySetSize,He=d["aria-sort"],We=d.accessibilitySort,ze=d["aria-valuemax"],Ye=d.accessibilityValueMax,Ue=d["aria-valuemin"],Xe=d.accessibilityValueMin,Ge=d["aria-valuenow"],qe=d.accessibilityValueNow,Je=d["aria-valuetext"],$e=d.accessibilityValueText,Ke=d.dataSet,Ze=d.focusable,Qe=d.id,et=d.nativeID,tt=d.pointerEvents,nt=d.style,rt=d.tabIndex,it=d.testID,at=(0,a.default)(d,l),ot=L||B,st=r.default.propsToAriaRole(t),lt=null!=p?p:f;null!=lt&&(at["aria-activedescendant"]=lt);var ct=null!=y?p:v;null!=ct&&(at["aria-atomic"]=ct);var ut=null!=b?b:_;null!=ut&&(at["aria-autocomplete"]=ut);var dt=null!=w?w:k;null!=dt&&(at["aria-busy"]=dt);var pt=null!=S?S:x;null!=pt&&(at["aria-checked"]=pt);var ft=null!=C?C:E;null!=ft&&(at["aria-colcount"]=ft);var ht=null!=A?A:T;null!=ht&&(at["aria-colindex"]=ht);var mt=null!=I?I:R;null!=mt&&(at["aria-colspan"]=mt);var gt=null!=O?O:D;null!=gt&&(at["aria-controls"]=m(gt));var yt=null!=N?N:j;null!=yt&&(at["aria-current"]=yt);var vt=null!=F?F:M;null!=vt&&(at["aria-describedby"]=m(vt));var bt=null!=V?V:P;null!=bt&&(at["aria-details"]=bt),!0===ot&&(at["aria-disabled"]=!0,"button"!==e&&"form"!==e&&"input"!==e&&"select"!==e&&"textarea"!==e||(at.disabled=!0));var _t=null!=H?H:W;null!=_t&&(at["aria-errormessage"]=_t);var wt=null!=z?z:Y;null!=wt&&(at["aria-expanded"]=wt);var kt=null!=U?U:X;null!=kt&&(at["aria-flowto"]=m(kt));var St=null!=G?G:q;null!=St&&(at["aria-haspopup"]=St);var xt=null!=J?J:$;!0===xt&&(at["aria-hidden"]=xt);var Ct=null!=K?K:Z;null!=Ct&&(at["aria-invalid"]=Ct);var Et=null!=Q?Q:ee;null!=Et&&(at["aria-keyshortcuts"]=m(Et));var At=null!=te?te:ne;null!=At&&(at["aria-label"]=At);var Tt=null!=re?re:ie;null!=Tt&&(at["aria-labelledby"]=m(Tt));var It=null!=ae?ae:oe;null!=It&&(at["aria-level"]=It);var Rt=null!=se?se:le;null!=Rt&&(at["aria-live"]="none"===Rt?"off":Rt);var Ot=null!=ce?ce:ue;null!=Ot&&(at["aria-modal"]=Ot);var Dt=null!=de?de:pe;null!=Dt&&(at["aria-multiline"]=Dt);var Nt=null!=fe?fe:he;null!=Nt&&(at["aria-multiselectable"]=Nt);var jt=null!=me?me:ge;null!=jt&&(at["aria-orientation"]=jt);var Ft=null!=ye?ye:ve;null!=Ft&&(at["aria-owns"]=m(Ft));var Mt=null!=be?be:_e;null!=Mt&&(at["aria-placeholder"]=Mt);var Vt=null!=we?we:ke;null!=Vt&&(at["aria-posinset"]=Vt);var Pt=null!=Se?Se:xe;null!=Pt&&(at["aria-pressed"]=Pt);var Lt=null!=Ce?Ce:Ee;null!=Lt&&(at["aria-readonly"]=Lt,"input"!==e&&"select"!==e&&"textarea"!==e||(at.readOnly=!0));var Bt=null!=Ae?Ae:Te;null!=Bt&&(at["aria-required"]=Bt,"input"!==e&&"select"!==e&&"textarea"!==e||(at.required=Te)),null!=st&&(at.role="none"===st?"presentation":st);var Ht=null!=Ie?Ie:Re;null!=Ht&&(at["aria-roledescription"]=Ht);var Wt=null!=Oe?Oe:De;null!=Wt&&(at["aria-rowcount"]=Wt);var zt=null!=Ne?Ne:je;null!=zt&&(at["aria-rowindex"]=zt);var Yt=null!=Fe?Fe:Me;null!=Yt&&(at["aria-rowspan"]=Yt);var Ut=null!=Ve?Ve:Pe;null!=Ut&&(at["aria-selected"]=Ut);var Xt=null!=Le?Le:Be;null!=Xt&&(at["aria-setsize"]=Xt);var Gt=null!=He?He:We;null!=Gt&&(at["aria-sort"]=Gt);var qt=null!=ze?ze:Ye;null!=qt&&(at["aria-valuemax"]=qt);var Jt=null!=Ue?Ue:Xe;null!=Jt&&(at["aria-valuemin"]=Jt);var $t=null!=Ge?Ge:qe;null!=$t&&(at["aria-valuenow"]=$t);var Kt=null!=Je?Je:$e;if(null!=Kt&&(at["aria-valuetext"]=Kt),null!=Ke)for(var Zt in Ke)if(u.call(Ke,Zt)){var Qt=h(Zt),en=Ke[Zt];null!=en&&(at["data-"+Qt]=en)}0===rt||"0"===rt||-1===rt||"-1"===rt?at.tabIndex=rt:(!1===Ze&&(at.tabIndex="-1"),"a"===e||"button"===e||"input"===e||"select"===e||"textarea"===e?!1!==Ze&&!0!==B||(at.tabIndex="-1"):"button"===st||"checkbox"===st||"link"===st||"radio"===st||"textbox"===st||"switch"===st?!1!==Ze&&(at.tabIndex="0"):!0===Ze&&(at.tabIndex="0")),null!=tt&&(0,s.warnOnce)("pointerEvents","props.pointerEvents is deprecated. Use style.pointerEvents");var tn=(0,o.default)([nt,tt&&g[tt]],(0,i.default)({writingDirection:"ltr"},n)),nn=tn[0],rn=tn[1];nn&&(at.className=nn),rn&&(at.style=rn);var an=null!=Qe?Qe:et;
2return null!=an&&(at.id=an),null!=it&&(at["data-testid"]=it),null==at.type&&"button"===e&&(at.type="button"),at};var v=n(36665),b=n(85794);const _=(e,t,n)=>{var i;e&&e.constructor===String&&(i=r.default.propsToAccessibilityComponent(t));var a=i||e,o=y(a,t,n),s=v.createElement(a,o);return o.dir?v.createElement(b.LocaleProvider,{children:s,direction:o.dir,locale:o.lang}):s}},97901(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});const r=e=>{throw new Error("findNodeHandle is not supported on web. Use the ref property on the component instead.")}},69e3(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(68168),i=n.n(r);const a=e=>{if(void 0===e||null===e)return e;var t=i()(e);return void 0!==t&&null!==t?t=(t<<24|t>>>8)>>>0:void 0}},90673(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(36665),i=n(70414);function a(){var e=r.useState(i.default.getColorScheme()),t=e[0],n=e[1];return r.useEffect(()=>i.default.addChangeListener(function(e){n(e.colorScheme)}).remove),t}},40558(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(26725),i=n(36665);function a(){var e=(0,i.useState)(()=>r.default.get("window")),t=e[0],n=e[1];return(0,i.useEffect)(()=>{function e(e){var t=e.window;null!=t&&n(t)}return r.default.addEventListener("change",e),n(r.default.get("window")),()=>{r.default.removeEventListener("change",e)}},[]),t}},94868(t,n,r){"use strict";r.r(n),r.d(n,{AccessibilityInfo:()=>f.default,ActivityIndicator:()=>Z.default,Alert:()=>h.default,Animated:()=>m.default,AppRegistry:()=>D,AppState:()=>j.default,Appearance:()=>g.default,BackHandler:()=>F.default,Button:()=>re,CheckBox:()=>le,Clipboard:()=>M,DeviceEventEmitter:()=>yt.default,Dimensions:()=>V.default,Easing:()=>P.default,FlatList:()=>ce.default,I18nManager:()=>L.default,Image:()=>ue.default,ImageBackground:()=>he,InteractionManager:()=>H.default,Keyboard:()=>B.default,KeyboardAvoidingView:()=>ye,LayoutAnimation:()=>W.default,Linking:()=>z.default,LogBox:()=>gt.default,Modal:()=>ve.default,NativeEventEmitter:()=>Y.default,NativeModules:()=>p.default,PanResponder:()=>U.default,Picker:()=>xe,PixelRatio:()=>X.default,Platform:()=>G.default,Pressable:()=>Ce.default,ProgressBar:()=>Ie,RefreshControl:()=>Re.default,SafeAreaView:()=>Me,ScrollView:()=>Ve.default,SectionList:()=>Pe.default,Share:()=>q.default,StatusBar:()=>He,StyleSheet:()=>k.default,Switch:()=>Ze,Text:()=>ee.default,TextInput:()=>Qe.default,Touchable:()=>et.default,TouchableHighlight:()=>st,TouchableNativeFeedback:()=>dt,TouchableOpacity:()=>Q.default,TouchableWithoutFeedback:()=>pt.default,UIManager:()=>J.default,Vibration:()=>K,View:()=>S.default,VirtualizedList:()=>ft,YellowBox:()=>mt,findNodeHandle:()=>a.default,processColor:()=>o.default,render:()=>u,unmountComponentAtNode:()=>d,unstable_createElement:()=>i.default,useColorScheme:()=>vt.default,useLocaleContext:()=>bt,useWindowDimensions:()=>_t.default});var i=r(50658),a=r(97901),o=r(69e3),s=r(64657),l=r(36267);function c(e,t){return(0,l.createSheet)(t),(0,s.hydrateRoot)(t,e)}function u(e,t){(0,l.createSheet)(t);var n=(0,s.createRoot)(t);return n.render(e),n}function d(e){return e.unmount(),!0}var p=r(45548),f=r(77900),h=r(51690),m=r(15009),g=r(70414),y=r(27051),v=r(26077),b=r.n(v),_=r(58168),w=r(36665),k=r(75675),S=r(73929),x=w.createContext(null),C=w.forwardRef((e,t)=>{var n=e.children,r=e.WrapperComponent,i=w.createElement(S.default,{children:n,key:1,style:A.appContainer});return r&&(i=w.createElement(r,null,i)),w.createElement(x.Provider,{value:e.rootTag},w.createElement(S.default,{ref:t,style:A.appContainer},i))});C.displayName="AppContainer";const E=C;var A=k.default.create({appContainer:{flex:1,pointerEvents:"box-none"}});var T,I={},R={},O=e=>e();class D{static getAppKeys(){return Object.keys(R)}static getApplication(e,t){return b()(R[e]&&R[e].getApplication,"Application "+e+" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent."),R[e].getApplication(t)}static registerComponent(e,t){return R[e]={getApplication:e=>{return n=O(t),r=e?e.initialProps:I,i=T&&T(e),{element:w.createElement(E,{WrapperComponent:i,rootTag:{}},w.createElement(n,r)),getStyleElement:e=>{var t=k.default.getSheet();return w.createElement("style",(0,_.default)({},e,{dangerouslySetInnerHTML:{__html:t.textContent},id:t.id}))}};var n,r,i},run:e=>function(e,t,n,r){var i=r.hydrate,a=r.initialProps,o=r.rootTag,s=i?c:u;return b()(o,"Expect to have a valid rootTag, instead got ",o),s(w.createElement(E,{WrapperComponent:t,ref:n,rootTag:o},w.createElement(e,a)),o)}(O(t),T&&T(e),e.callback,{hydrate:e.hydrate||!1,initialProps:e.initialProps||I,mode:e.mode||"concurrent",rootTag:e.rootTag})},e}
2static registerConfig(e){e.forEach(e=>{var t=e.appKey,n=e.component,r=e.run;r?D.registerRunnable(t,r):(b()(n,"No component provider passed in"),D.registerComponent(t,n))})}static registerRunnable(e,t){return R[e]={run:t},e}static runApplication(e,t){return b()(R[e]&&R[e].run,'Application "'+e+'" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.'),R[e].run(t)}static setComponentProviderInstrumentationHook(e){O=e}static setWrapperComponentProvider(e){T=e}static unmountApplicationComponentAtRootTag(e){d(e)}}var N,j=r(55324),F=r(51773);class M{static isAvailable(){return void 0===N&&(N="function"===typeof document.queryCommandSupported&&document.queryCommandSupported("copy")),N}static getString(){return Promise.resolve("")}static setString(t){var n=!1,r=document.body;if(r){var i=document.createElement("span");i.textContent=t,i.style.opacity="0",i.style.position="absolute",i.style.whiteSpace="pre-wrap",i.style.userSelect="auto",r.appendChild(i);var a=window.getSelection();a.removeAllRanges();var o=document.createRange();o.selectNodeContents(i),a.addRange(o);try{document.execCommand("copy"),n=!0}catch(e){}a.removeAllRanges(),r.removeChild(i)}return n}}var V=r(26725),P=r(95620),L=r(48623),B=r(92365),H=r(93816),W=r(48511),z=r(79632),Y=r(14177),U=r(60444),X=r(98943),G=r(95991),q=r(68703),J=r(97640),$=e=>{"vibrate"in window.navigator&&window.navigator.vibrate(e)};const K={cancel(){$(0)},vibrate(e){void 0===e&&(e=400),$(e)}};var Z=r(20530),Q=r(15648),ee=r(6283),te=w.forwardRef((e,t)=>{var n=e.accessibilityLabel,r=e.color,i=e.disabled,a=e.onPress,o=e.testID,s=e.title;return w.createElement(Q.default,{accessibilityLabel:n,accessibilityRole:"button",disabled:i,focusable:!i,onPress:a,ref:t,style:[ne.button,r&&{backgroundColor:r},i&&ne.buttonDisabled],testID:o},w.createElement(ee.default,{style:[ne.text,i&&ne.textDisabled]},s))});te.displayName="Button";var ne=k.default.create({button:{backgroundColor:"#2196F3",borderRadius:2},text:{color:"#fff",fontWeight:"500",padding:8,textAlign:"center",textTransform:"uppercase"},buttonDisabled:{backgroundColor:"#dfdfdf"},textDisabled:{color:"#a1a1a1"}});const re=te;var ie=r(98587),ae=["aria-readonly","color","disabled","onChange","onValueChange","readOnly","style","value"],oe=w.forwardRef((e,t)=>{var n=e["aria-readonly"],r=e.color,a=e.disabled,o=e.onChange,s=e.onValueChange,l=e.readOnly,c=e.style,u=e.value,d=(0,ie.default)(e,ae);var p=w.createElement(S.default,{style:[se.fakeControl,u&&se.fakeControlChecked,u&&r&&{backgroundColor:r,borderColor:r},a&&se.fakeControlDisabled,u&&a&&se.fakeControlCheckedAndDisabled]}),f=(0,i.default)("input",{checked:u,disabled:a,onChange:function(e){var t=e.nativeEvent.target.checked;e.nativeEvent.value=t,o&&o(e),s&&s(t)},readOnly:!0===l||!0===n||!0===d.accessibilityReadOnly,ref:t,style:[se.nativeControl,se.cursorInherit],type:"checkbox"});return w.createElement(S.default,(0,_.default)({},d,{"aria-disabled":a,"aria-readonly":n,style:[se.root,c,a&&se.cursorDefault]}),p,f)});oe.displayName="CheckBox";var se=k.default.create({root:{cursor:"pointer",height:16,userSelect:"none",width:16},cursorDefault:{cursor:"default"},cursorInherit:{cursor:"inherit"},fakeControl:{alignItems:"center",backgroundColor:"#fff",borderColor:"#657786",borderRadius:2,borderStyle:"solid",borderWidth:2,height:"100%",justifyContent:"center",width:"100%"},fakeControlChecked:{backgroundColor:"#009688",backgroundImage:'url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM
25IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K")',backgroundRepeat:"no-repeat",borderColor:"#009688"},fakeControlDisabled:{borderColor:"#CCD6DD"},fakeControlCheckedAndDisabled:{backgroundColor:"#AAB8C2",borderColor:"#AAB8C2"},nativeControl:(0,y.default)((0,y.default)({},k.default.absoluteFillObject),{},{height:"100%",margin:0,appearance:"none",padding:0,width:"100%"})});const le=oe;var ce=r(90932),ue=r(40484),de=["children","style","imageStyle","imageRef"],pe={},fe=(0,w.forwardRef)((e,t)=>{var n=e.children,r=e.style,i=void 0===r?pe:r,a=e.imageStyle,o=e.imageRef,s=(0,ie.default)(e,de),l=k.default.flatten(i),c=l.height,u=l.width;return w.createElement(S.default,{ref:t,style:i},w.createElement(ue.default,(0,_.default)({},s,{ref:o,style:[{width:u,height:c,zIndex:-1},k.default.absoluteFill,a]})),n)});fe.displayName="ImageBackground";const he=fe;var me=["behavior","contentContainerStyle","keyboardVerticalOffset"];class ge extends w.Component{constructor(){super(...arguments),this.frame=null,this.onLayout=e=>{this.frame=e.nativeEvent.layout}}relativeKeyboardHeight(e){var t=this.frame;if(!t||!e)return 0;var n=e.screenY-(this.props.keyboardVerticalOffset||0);return Math.max(t.y+t.height-n,0)}onKeyboardChange(e){}render(){var e=this.props,t=(e.behavior,e.contentContainerStyle,e.keyboardVerticalOffset,(0,ie.default)(e,me));return w.createElement(S.default,(0,_.default)({onLayout:this.onLayout},t))}}const ye=ge;var ve=r(78264),be=r(40769),_e=r(40332);var we=["children","enabled","onValueChange","selectedValue","style","testID","itemStyle","mode","prompt"],ke=w.forwardRef((e,t)=>{var n=e.children,r=e.enabled,a=e.onValueChange,o=e.selectedValue,s=e.style,l=e.testID,c=(e.itemStyle,e.mode,e.prompt,(0,ie.default)(e,we)),u=w.useRef(null);var d=(0,y.default)({children:n,disabled:!1===r||void 0,onChange:function(e){var t=e.target,n=t.selectedIndex,r=t.value;a&&a(r,n)},style:[Se.initial,s],testID:l,value:o},c),p=(0,_e.default)(d),f=(0,be.default)(u,p,t);return d.ref=f,(0,i.default)("select",d)});ke.Item=function(e){var t=e.color,n=e.label,r=e.testID,a=e.value,o={color:t};return(0,i.default)("option",{children:n,style:o,testID:r,value:a})};var Se=k.default.create({initial:{fontFamily:"System",fontSize:"inherit",margin:0}});const xe=ke;var Ce=r(35708),Ee=["color","indeterminate","progress","trackColor","style"],Ae=w.forwardRef((e,t)=>{var n=e.color,r=void 0===n?"#1976D2":n,i=e.indeterminate,a=void 0!==i&&i,o=e.progress,s=void 0===o?0:o,l=e.trackColor,c=void 0===l?"transparent":l,u=e.style,d=(0,ie.default)(e,Ee),p=100*s,f=a?"25%":p+"%";return w.createElement(S.default,(0,_.default)({},d,{"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":a?null:p,ref:t,role:"progressbar",style:[Te.track,u,{backgroundColor:c}]}),w.createElement(S.default,{style:[{backgroundColor:r,width:f},Te.progress,a&&Te.animation]}))});Ae.displayName="ProgressBar";var Te=k.default.create({track:{forcedColorAdjust:"none",height:5,overflow:"hidden",userSelect:"none",zIndex:0},progress:{forcedColorAdjust:"none",height:"100%",zIndex:-1},animation:{animationDuration:"1s",animationKeyframes:[{"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(400%)"}}],animationTimingFunction:"linear",animationIterationCount:"infinite"}});const Ie=Ae;var Re=r(82660),Oe=r(58345),De=["style"],Ne=Oe.default&&window.CSS&&window.CSS.supports&&window.CSS.supports("top: constant(safe-area-inset-top)")?"constant":"env",je=w.forwardRef((e,t)=>{var n=e.style,r=(0,ie.default)(e,De);return w.createElement(S.default,(0,_.default)({},r,{ref:t,style:[Fe.root,n]}))});je.displayName="SafeAreaView";var Fe=k.default.create({root:{paddingTop:Ne+"(safe-area-inset-top)",paddingRight:Ne+"(safe-area-inset-right)",paddingBottom:Ne+"(safe-area-inset-bottom)",paddingLeft:Ne+"(safe-area-inset-left)"}});const Me=je;var Ve=r(2772),Pe=r(90494),Le=()=>{};function Be(){return null}Be.setBackgroundColor=Le,Be.setBarStyle=Le,Be.setHidden=Le,Be.setNetworkActivityIndicatorVisible=Le,Be.setTranslucent=Le;const He=Be;var We=/^[+-]?\d*(?:\.\d+)?(?:[Ee][+-]?\d+)?(%|\w*)/;const ze=(e,t)=>
2{var n;return"string"===typeof e?""+parseFloat(e)*t+e.match(We)[1]:(n=e,!isNaN(parseFloat(n))&&isFinite(n)?e*t:void 0)};var Ye=["aria-label","accessibilityLabel","activeThumbColor","activeTrackColor","disabled","onValueChange","style","thumbColor","trackColor","value"],Ue={},Xe="0px 1px 3px rgba(0,0,0,0.5)",Ge=Xe+", 0 0 0 10px rgba(0,0,0,0.1)",qe="#D5D5D5",Je="#BDBDBD",$e=w.forwardRef((e,t)=>{var n=e["aria-label"],r=e.accessibilityLabel,a=e.activeThumbColor,o=e.activeTrackColor,s=e.disabled,l=void 0!==s&&s,c=e.onValueChange,u=e.style,d=void 0===u?Ue:u,p=e.thumbColor,f=e.trackColor,h=e.value,m=void 0!==h&&h,g=(0,ie.default)(e,Ye),y=w.useRef(null);function v(e){var t="focus"===e.nativeEvent.type?Ge:Xe;null!=y.current&&(y.current.style.boxShadow=t)}var b=k.default.flatten(d),x=b.height,C=b.width,E=x||"20px",A=ze(E,2),T=C>A?C:A,I=ze(E,.5),R=!0===m?null!=f&&"object"===typeof f?f.true:null!==o&&void 0!==o?o:"#A3D3CF":null!=f&&"object"===typeof f?f.false:null!==f&&void 0!==f?f:"#939393",O=m?null!==a&&void 0!==a?a:"#009688":null!==p&&void 0!==p?p:"#FAFAFA",D=E,N=D,j=[Ke.root,d,l&&Ke.cursorDefault,{height:E,width:T}],F=!0===m?"string"===typeof o&&null!=o||"object"===typeof f&&null!=f&&f.true?R:qe:"string"===typeof f&&null!=f||"object"===typeof f&&null!=f&&f.false?R:qe,M=!0===m?null==a?Je:O:null==p?Je:O,V=[Ke.track,{backgroundColor:l?F:R,borderRadius:I}],P=[Ke.thumb,m&&Ke.thumbActive,{backgroundColor:l?M:O,height:D,marginStart:m?ze(N,-1):0,width:N}],L=(0,i.default)("input",{"aria-label":n||r,checked:m,disabled:l,onBlur:v,onChange:function(e){null!=c&&c(e.nativeEvent.target.checked)},onFocus:v,ref:t,style:[Ke.nativeControl,Ke.cursorInherit],type:"checkbox",role:"switch"});return w.createElement(S.default,(0,_.default)({},g,{style:j}),w.createElement(S.default,{style:V}),w.createElement(S.default,{ref:y,style:P}),L)});$e.displayName="Switch";var Ke=k.default.create({root:{cursor:"pointer",userSelect:"none"},cursorDefault:{cursor:"default"},cursorInherit:{cursor:"inherit"},track:(0,y.default)((0,y.default)({forcedColorAdjust:"none"},k.default.absoluteFillObject),{},{height:"70%",margin:"auto",transitionDuration:"0.1s",width:"100%"}),thumb:{forcedColorAdjust:"none",alignSelf:"flex-start",borderRadius:"100%",boxShadow:Xe,start:"0%",transform:"translateZ(0)",transitionDuration:"0.1s"},thumbActive:{insetInlineStart:"100%"},nativeControl:(0,y.default)((0,y.default)({},k.default.absoluteFillObject),{},{height:"100%",margin:0,appearance:"none",padding:0,width:"100%"})});const Ze=$e;var Qe=r(16773),et=r(31077),tt=r(77442),nt=["activeOpacity","children","delayPressIn","delayPressOut","delayLongPress","disabled","focusable","onHideUnderlay","onLongPress","onPress","onPressIn","onPressOut","onShowUnderlay","rejectResponderTermination","style","testOnly_pressed","underlayColor"];function rt(e,t){return{child:{opacity:null!==e&&void 0!==e?e:.85},underlay:{backgroundColor:void 0===t?"black":t}}}function it(e){return null!=e.onPress||null!=e.onPressIn||null!=e.onPressOut||null!=e.onLongPress}var at=k.default.create({root:{userSelect:"none"},actionable:{cursor:"pointer",touchAction:"manipulation"}}),ot=w.memo(w.forwardRef(function(e,t){var n=e.activeOpacity,r=e.children,i=e.delayPressIn,a=e.delayPressOut,o=e.delayLongPress,s=e.disabled,l=e.focusable,c=e.onHideUnderlay,u=e.onLongPress,d=e.onPress,p=e.onPressIn,f=e.onPressOut,h=e.onShowUnderlay,m=e.rejectResponderTermination,g=e.style,y=e.testOnly_pressed,v=e.underlayColor,b=(0,ie.default)(e,nt),k=(0,w.useRef)(null),x=(0,be.default)(t,k),C=(0,w.useState)(!0===y?rt(n,v):null),E=C[0],A=C[1],T=(0,w.useCallback)(()=>{it(e)&&(A(rt(n,v)),null!=h&&h())},[n,h,e,v]),I=(0,w.useCallback)(()=>{!0!==y&&it(e)&&(A(null),null!=c&&c())},[c,e,y]),R=(0,w.useMemo)(()=>({cancelable:!m,disabled:s,delayLongPress:o,delayPressStart:i,delayPressEnd:a,onLongPress:u,onPress:d,onPressStart(e){T(),null!=p&&p(e)},onPressEnd(e){I(),null!=f&&f(e)}}),[o,i,a,s,u,d,p,f,m,T,I]),O=(0,tt.default)(k,R),D=w.Children.only(r);return w.createElement(S.default,(0,_.default)({},b,O,{accessibilityDisabled:s,focusable:!s&&!1!==l,pointerEvents:s?"box-none":void 0,ref:x,style:[at.root,g,!s&&at.actionable,E&&E.underlay]}),w.cloneElement(D,{style:[D.props.style,E&&E.child]}))}));ot.displayName="TouchableHighlight";const st=ot;var lt=["style"];var ct={};const ut=function(e){var t=e.style,n=(0,ie.default)(e,lt);return w.createElement(S.default,(0,_.default)({},n,{style:[ct,t]}))},dt=ut;var pt=r(51950);
2const ft=r(65191).default;function ht(e){return w.createElement(ut,e)}ht.ignoreWarnings=()=>{};const mt=ht;var gt=r(42907),yt=r(40668),vt=r(90673);const bt=r(85794).useLocaleContext;var _t=r(40558)},92561(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>s});var r={adjustable:"slider",button:"button",header:"heading",image:"img",imagebutton:null,keyboardkey:null,label:null,link:"link",none:"presentation",search:"search",summary:"region",text:null};const i=e=>{var t=e.accessibilityRole,n=e.role||t;if(n){var i=r[n];if(null!==i)return i||n}};var a={article:"article",banner:"header",blockquote:"blockquote",button:"button",code:"code",complementary:"aside",contentinfo:"footer",deletion:"del",emphasis:"em",figure:"figure",insertion:"ins",form:"form",list:"ul",listitem:"li",main:"main",navigation:"nav",paragraph:"p",region:"section",strong:"strong"},o={};const s={isDisabled:e=>e.disabled||Array.isArray(e.accessibilityStates)&&e.accessibilityStates.indexOf("disabled")>-1,propsToAccessibilityComponent:function(e){if(void 0===e&&(e=o),"label"===(e.role||e.accessibilityRole))return"label";var t=i(e);if(t){if("heading"===t){var n=e.accessibilityLevel||e["aria-level"];return null!=n?"h"+n:"h1"}return a[t]}},propsToAriaRole:i}},62600(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(97640);const i={_currentlyFocusedNode:null,currentlyFocusedField(){return document.activeElement!==this._currentlyFocusedNode&&(this._currentlyFocusedNode=null),this._currentlyFocusedNode},focusTextInput(e){null!==e&&(this._currentlyFocusedNode=e,document.activeElement!==e&&r.default.focus(e))},blurTextInput(e){null!==e&&(this._currentlyFocusedNode=null,document.activeElement===e&&r.default.blur(e))}}},58345(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});const r=!("undefined"===typeof window||!window.document||!window.document.createElement)},21175(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(62600);const i=()=>{r.default.blurTextInput(r.default.currentlyFocusedField())}},58532(e,t,n){"use strict";n.r(t),n.d(t,{accessibilityProps:()=>i,clickProps:()=>a,defaultProps:()=>r,focusProps:()=>o,keyboardProps:()=>s,mouseProps:()=>l,styleProps:()=>u,touchProps:()=>c});var r={children:!0,dataSet:!0,dir:!0,id:!0,ref:!0,suppressHydrationWarning:!0,tabIndex:!0,testID:!0,focusable:!0,nativeID:!0},i={"aria-activedescendant":!0,"aria-atomic":!0,"aria-autocomplete":!0,"aria-busy":!0,"aria-checked":!0,"aria-colcount":!0,"aria-colindex":!0,"aria-colspan":!0,"aria-controls":!0,"aria-current":!0,"aria-describedby":!0,"aria-details":!0,"aria-disabled":!0,"aria-errormessage":!0,"aria-expanded":!0,"aria-flowto":!0,"aria-haspopup":!0,"aria-hidden":!0,"aria-invalid":!0,"aria-keyshortcuts":!0,"aria-label":!0,"aria-labelledby":!0,"aria-level":!0,"aria-live":!0,"aria-modal":!0,"aria-multiline":!0,"aria-multiselectable":!0,"aria-orientation":!0,"aria-owns":!0,"aria-placeholder":!0,"aria-posinset":!0,"aria-pressed":!0,"aria-readonly":!0,"aria-required":!0,inert:!0,role:!0,"aria-roledescription":!0,"aria-rowcount":!0,"aria-rowindex":!0,"aria-rowspan":!0,"aria-selected":!0,"aria-setsize":!0,"aria-sort":!0,"aria-valuemax":!0,"aria-valuemin":!0,"aria-valuenow":!0,"aria-valuetext":!0,accessibilityActiveDescendant:!0,accessibilityAtomic:!0,accessibilityAutoComplete:!0,accessibilityBusy:!0,accessibilityChecked:!0,accessibilityColumnCount:!0,accessibilityColumnIndex:!0,accessibilityColumnSpan:!0,accessibilityControls:!0,accessibilityCurrent:!0,accessibilityDescribedBy:!0,accessibilityDetails:!0,accessibilityDisabled:!0,accessibilityErrorMessage:!0,accessibilityExpanded:!0,accessibilityFlowTo:!0,accessibilityHasPopup:!0,accessibilityHidden:!0,accessibilityInvalid:!0,accessibilityKeyShortcuts:!0,accessibilityLabel:!0,accessibilityLabelledBy:!0,accessibilityLevel:!0,accessibilityLiveRegion:!0,accessibilityModal:!0,accessibilityMultiline:!0,accessibilityMultiSelectable:!0,accessibilityOrientation:!0,accessibilityOwns:!0,accessibilityPlaceholder:!0,accessibilityPosInSet:!0,accessibilityPressed:!0,accessibilityReadOnly:!0,accessibilityRequired:!0,accessibilityRole:!0,accessibilityRoleDescription:!0,accessibilityRowCount:!0,accessibilityRowIndex:!0,accessibilityRowSpan:!0,accessibilitySelected:!0,accessibilitySetSize:!0,accessibilitySort:!0,accessibilityValueMax:!0,accessibilityValueMin:!0,accessibilityValueNow:!0,accessibilityValueText:!0},a={onClick:!0,onAuxClick:!0,onContextMenu:!0,onGotPointerCapture:!0,onLostPointerCapture:!0,onPointerCancel:!0,onPointerDown:!0,onPointerEnter:!0,onPointerMove:!0,onPointerLeave:!0,onPointerOut:!0,onPointerOver:!0,onPointerUp:!0},o={onBlur:!0,onFocus:!0},s={onKeyDown:!0,onKeyDownCapture:!0,onKeyUp:!0,onKeyUpCapture:!0},l={onMouseDown:!0,onMouseEnter:!0,onMouseLeave:!0,onMouseMove:!0,onMouseOver:!0,onMouseOut:!0,onMouseUp:!0},c={onTouchCancel:!0,onTouchCancelCapture:!0,onTouchEnd:!0,onTouchEndCapture:!0,onTouchMove:!0,onTouchMoveCapture:!0,onTouchStart:!0,onTouchStartCapture:!0},u={style:!0}},14047(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});const r=e=>{if(null!=e&&(1===e.nodeType&&"function"===typeof e.getBoundingClientRect))return e.getBoundingClientRect()}},53768(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});n(36665);function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach(t=>{null!=t&&("function"!==typeof t?"object"!==typeof t||(t.current=e):t(e))})}}},69047(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)e.hasOwnProperty(r)&&!0===t[r]&&(n[r]=e[r]);return n}n.r(t),n.d(t,{default:()=>r})}
2,19965(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(60542),i=n(97640),a=n(58345),o="__reactLayoutHandler",s=(a.default,null);function l(e,t){var n=(a.default&&"undefined"!==typeof window.ResizeObserver&&null==s&&(s=new window.ResizeObserver(function(e){e.forEach(e=>{var t=e.target,n=t[o];"function"===typeof n&&i.default.measure(t,(t,r,i,a,o,s)=>{var l={nativeEvent:{layout:{x:t,y:r,width:i,height:a,left:o,top:s}},timeStamp:Date.now()};Object.defineProperty(l.nativeEvent,"target",{enumerable:!0,get:()=>e.target}),n(l)})})})),s);(0,r.default)(()=>{var n=e.current;null!=n&&(n[o]=t)},[e,t]),(0,r.default)(()=>{var t=e.current;return null!=t&&null!=n&&("function"===typeof t[o]?n.observe(t):n.unobserve(t)),()=>{null!=t&&null!=n&&n.unobserve(t)}},[e,n])}},60542(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(36665);const i=n(58345).default?r.useLayoutEffect:r.useEffect},85794(e,t,n){"use strict";n.r(t),n.d(t,{LocaleProvider:()=>c,getLocaleDirection:()=>l,useLocaleContext:()=>u});var r=n(36665),i=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),a=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","far","glk","he","iw","khw","ks","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]),o=new Map;var s=(0,r.createContext)({direction:"ltr",locale:"en-US"});function l(e){return function(e){var t=o.get(e);if(t)return t;var n=!1;if(Intl.Locale)try{var r=new Intl.Locale(e).maximize().script;n=i.has(r)}catch(c){var s=e.split("-")[0];n=a.has(s)}else{var l=e.split("-")[0];n=a.has(l)}return o.set(e,n),n}(e)?"rtl":"ltr"}function c(e){var t=e.direction,n=e.locale,i=e.children;return t||n?r.createElement(s.Provider,{children:i,value:{direction:n?l(n):t,locale:n}}):i}function u(){return(0,r.useContext)(s)}},40769(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(36665),i=n(53768);function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.useMemo(()=>(0,i.default)(...t),[...t])}},40332(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(97640),i=n(69170);function a(e){e.pointerEvents,e.style;return(0,i.default)(()=>e=>{null!=e&&(e.measure=t=>r.default.measure(e,t),e.measureLayout=(t,n,i)=>r.default.measureLayout(e,t,i,n),e.measureInWindow=t=>r.default.measureInWindow(e,t))})}},77442(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>S});var r="DELAY",i="ERROR",a="LONG_PRESS_DETECTED",o="NOT_RESPONDER",s="RESPONDER_ACTIVE_LONG_PRESS_START",l="RESPONDER_ACTIVE_PRESS_START",c="RESPONDER_INACTIVE_PRESS_START",u="RESPONDER_RELEASE",d="RESPONDER_TERMINATED",p=Object.freeze({NOT_RESPONDER:{DELAY:i,RESPONDER_GRANT:c,RESPONDER_RELEASE:i,RESPONDER_TERMINATED:i,LONG_PRESS_DETECTED:i},RESPONDER_INACTIVE_PRESS_START:{DELAY:l,RESPONDER_GRANT:i,RESPONDER_RELEASE:o,RESPONDER_TERMINATED:o,LONG_PRESS_DETECTED:i},RESPONDER_ACTIVE_PRESS_START:{DELAY:i,RESPONDER_GRANT:i,RESPONDER_RELEASE:o,RESPONDER_TERMINATED:o,LONG_PRESS_DETECTED:s},RESPONDER_ACTIVE_LONG_PRESS_START:{DELAY:i,RESPONDER_GRANT:i,RESPONDER_RELEASE:o,RESPONDER_TERMINATED:o,LONG_PRESS_DETECTED:s},ERROR:{DELAY:o,RESPONDER_GRANT:c,RESPONDER_RELEASE:o,RESPONDER_TERMINATED:o,LONG_PRESS_DETECTED:o}}),f=e=>e.getAttribute("role"),h=e=>e.tagName.toLowerCase(),m=e=>e===l||e===s,g=e=>"button"===f(e),y=e=>e===c||e===l||e===s,v=e=>{var t=e.key,n=e.target,r=" "===t||"Spacebar"===t,i="button"===h(n)||g(n);return"Enter"===t||r&&i};class b{constructor(e){this._eventHandlers=null,this._isPointerTouch=!1,this._longPressDelayTimeout=null,this._longPressDispatched=!1,this._pressDelayTimeout=null,this._pressOutDelayTimeout=null,this._touchState=o,this._responderElement=null,this.configure(e)}configure(e){this._config=e}reset(){this._cancelLongPressDelayTimeout(),this._cancelPressDelayTimeout(),this._cancelPressOutDelayTimeout()}getEventHandlers(){return null==this._eventHandlers&&(this._eventHandlers=this._createEventHandlers()),this._eventHandlers}_createEventHandlers(){var e=(e,t)=>{e.persist(),this._cancelPressOutDelayTimeout(),this._longPressDispatched=!1,this._selectionTerminated=!1,this._touchState=o,this._isPointerTouch="touchstart"===e.nativeEvent.type,this._receiveSignal("RESPONDER_GRANT",e);var n=_(this._config.delayPressStart,0,50);!1!==t&&n>0?this._pressDelayTimeout=setTimeout(()=>{this._receiveSignal(r,e)},n):this._receiveSignal(r,e);var i=_(this._config.delayLongPress,10,450);this._longPressDelayTimeout=setTimeout(()=>{this._handleLongPress(e)},i+n)},t=e=>{this._receiveSignal(u,e)},n=e=>{var r=this._config.onPress,i=e.target;if(this._touchState!==o&&v(e)){t(e),document.removeEventListener("keyup",n);var a=i.getAttribute("role"),s=h(i),l="link"===a||"a"===s||"button"===s||"input"===s||"select"===s||"textarea"===s,c=this._responderElement===i;null!=r&&!l&&c&&r(e),this._responderElement=null}};
2return{onStartShouldSetResponder:e=>{var t=this._config.disabled;return t&&g(e.currentTarget)&&e.stopPropagation(),null==t||!t},onKeyDown:t=>{var r=this._config.disabled,i=t.key,a=t.target;if(!r&&v(t)){this._touchState===o&&(e(t,!1),this._responderElement=a,document.addEventListener("keyup",n));var s=" "===i||"Spacebar"===i,l=f(a);s&&("button"===l||"menuitem"===l)&&"button"!==h(a)&&t.preventDefault(),t.stopPropagation()}},onResponderGrant:t=>e(t),onResponderMove:e=>{null!=this._config.onPressMove&&this._config.onPressMove(e);var t=w(e);if(null!=this._touchActivatePosition){var n=this._touchActivatePosition.pageX-t.pageX,r=this._touchActivatePosition.pageY-t.pageY;Math.hypot(n,r)>10&&this._cancelLongPressDelayTimeout()}},onResponderRelease:e=>t(e),onResponderTerminate:e=>{"selectionchange"===e.nativeEvent.type&&(this._selectionTerminated=!0),this._receiveSignal(d,e)},onResponderTerminationRequest:e=>{var t=this._config,n=t.cancelable,r=t.disabled,i=t.onLongPress;return!(!r&&null!=i&&this._isPointerTouch&&"contextmenu"===e.nativeEvent.type)&&(null==n||n)},onClick:e=>{var t=this._config,n=t.disabled,r=t.onPress;n?g(e.currentTarget)&&e.stopPropagation():(e.stopPropagation(),this._longPressDispatched||this._selectionTerminated?e.preventDefault():null!=r&&!1===e.altKey&&r(e))},onContextMenu:e=>{var t=this._config,n=t.disabled,r=t.onLongPress;n?g(e.currentTarget)&&e.stopPropagation():null!=r&&this._isPointerTouch&&!e.defaultPrevented&&(e.preventDefault(),e.stopPropagation())}}}_receiveSignal(e,t){var n=this._touchState,r=null;null!=p[n]&&(r=p[n][e]),this._touchState===o&&e===u||null==r||r===i||n!==r&&(this._performTransitionSideEffects(n,r,e,t),this._touchState=r)}_performTransitionSideEffects(e,t,n,r){if((e=>e===d||e===u)(n)&&(setTimeout(()=>{this._isPointerTouch=!1},0),this._touchActivatePosition=null,this._cancelLongPressDelayTimeout()),y(e)&&n===a){var i=this._config.onLongPress;null!=i&&null==r.nativeEvent.key&&(i(r),this._longPressDispatched=!0)}var o=m(e),l=m(t);if(!o&&l?this._activate(r):o&&!l&&this._deactivate(r),y(e)&&n===u){var c=this._config,p=c.onLongPress;if(null!=c.onPress)null!=p&&e===s||l||o||(this._activate(r),this._deactivate(r))}this._cancelPressDelayTimeout()}_activate(e){var t=this._config,n=t.onPressChange,r=t.onPressStart,i=w(e);this._touchActivatePosition={pageX:i.pageX,pageY:i.pageY},null!=r&&r(e),null!=n&&n(!0)}_deactivate(e){var t=this._config,n=t.onPressChange,r=t.onPressEnd;function i(){null!=r&&r(e),null!=n&&n(!1)}var a=_(this._config.delayPressEnd);a>0?this._pressOutDelayTimeout=setTimeout(()=>{i()},a):i()}_handleLongPress(e){this._touchState!==l&&this._touchState!==s||this._receiveSignal(a,e)}_cancelLongPressDelayTimeout(){null!=this._longPressDelayTimeout&&(clearTimeout(this._longPressDelayTimeout),this._longPressDelayTimeout=null)}_cancelPressDelayTimeout(){null!=this._pressDelayTimeout&&(clearTimeout(this._pressDelayTimeout),this._pressDelayTimeout=null)}_cancelPressOutDelayTimeout(){null!=this._pressOutDelayTimeout&&(clearTimeout(this._pressOutDelayTimeout),this._pressOutDelayTimeout=null)}}function _(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=0),Math.max(t,null!==e&&void 0!==e?e:n)}function w(e){var t=e.nativeEvent,n=t.changedTouches,r=t.touches;return null!=r&&r.length>0?r[0]:null!=n&&n.length>0?n[0]:e.nativeEvent}var k=n(36665);function S(e,t){var n=(0,k.useRef)(null);null==n.current&&(n.current=new b(t));var r=n.current;return(0,k.useEffect)(()=>{r.configure(t)},[t,r]),(0,k.useEffect)(()=>()=>{r.reset()},[r]),(0,k.useDebugValue)(t),r.getEventHandlers()}},46399(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>W});var r=n(36665),i=n(14047),a=()=>{},o={},s=[];function l(e){return e>20?e%20:e}function c(e,t){var n,r,c,u=!1,d=e.changedTouches,p=e.type,f=!0===e.metaKey,h=!0===e.shiftKey,m=d&&d[0].force||0,g=l(d&&d[0].identifier||0),y=d&&d[0].clientX||e.clientX,v=d&&d[0].clientY||e.clientY,b=d&&d[0].pageX||e.pageX,_=d&&d[0].pageY||e.pageY,w="function"===typeof e.preventDefault?e.preventDefault.bind(e):a,k=e.timeStamp;function S(e){return Array.prototype.slice.call(e).map(e=>({force:e.force,identifier:l(e.identifier),get locationX(){return E(e.clientX)},get locationY(){return A(e.clientY)},pageX:e.pageX,pageY:e.pageY,target:e.target,timestamp:k}))}if(null!=d)r=S(d),c=S(e.touches);else{var x=[{force:m,identifier:g,get locationX(){return E(y)},get locationY(){return A(v)},pageX:b,pageY:_,target:e.target,timestamp:k}];r=x,c="mouseup"===p||"dragstart"===p?s:x}var C={bubbles:!0,cancelable:!0,currentTarget:null,defaultPrevented:e.defaultPrevented,dispatchConfig:o,eventPhase:e.eventPhase,isDefaultPrevented:()=>e.defaultPrevented,isPropagationStopped:()=>u,isTrusted:e.isTrusted,nativeEvent:{altKey:!1,ctrlKey:!1,metaKey:f,shiftKey:h,changedTouches:r,force:m,identifier:g,get locationX(){return E(y)},get locationY(){return A(v)}
2,pageX:b,pageY:_,target:e.target,timestamp:k,touches:c,type:p},persist:a,preventDefault:w,stopPropagation(){u=!0},target:e.target,timeStamp:k,touchHistory:t.touchHistory};function E(e){if(n=n||(0,i.default)(C.currentTarget))return e-n.left}function A(e){if(n=n||(0,i.default)(C.currentTarget))return e-n.top}return C}function u(e){return"touchstart"===e||"mousedown"===e}function d(e){return"touchmove"===e||"mousemove"===e}function p(e){return"touchend"===e||"mouseup"===e||f(e)}function f(e){return"touchcancel"===e||"dragstart"===e}var h="__reactResponderId";function m(e){for(var t=[];null!=e&&e!==document.body;)t.push(e),e=e.parentNode;return t}function g(e){return null!=e?e[h]:null}function y(e){for(var t=[],n=[],r=function(e){return"selectionchange"===e.type?m(window.getSelection().anchorNode):null!=e.composedPath?e.composedPath():m(e.target)}(e),i=0;i<r.length;i++){var a=r[i],o=g(a);null!=o&&(t.push(o),n.push(a))}return{idPath:t,nodePath:n}}function v(e){return"selectionchange"===e.type?function(){var e=window.getSelection(),t=e.toString(),n=e.anchorNode,r=e.focusNode,i=n&&n.nodeType===window.Node.TEXT_NODE||r&&r.nodeType===window.Node.TEXT_NODE;return t.length>=1&&"\n"!==t&&i}():"select"===e.type}function b(e){return e.timeStamp||e.timestamp}function _(e){var t=e.identifier;return t}function w(e,t){var n=_(e),r=t.touchBank[n];r?function(e,t){e.touchActive=!0,e.startPageX=t.pageX,e.startPageY=t.pageY,e.startTimeStamp=b(t),e.currentPageX=t.pageX,e.currentPageY=t.pageY,e.currentTimeStamp=b(t),e.previousPageX=t.pageX,e.previousPageY=t.pageY,e.previousTimeStamp=b(t)}(r,e):t.touchBank[n]=function(e){return{touchActive:!0,startPageX:e.pageX,startPageY:e.pageY,startTimeStamp:b(e),currentPageX:e.pageX,currentPageY:e.pageY,currentTimeStamp:b(e),previousPageX:e.pageX,previousPageY:e.pageY,previousTimeStamp:b(e)}}(e),t.mostRecentTimeStamp=b(e)}var k=n(58345),S={}
2,x=["onStartShouldSetResponderCapture","onStartShouldSetResponder",{bubbles:!0}],C=["onMoveShouldSetResponderCapture","onMoveShouldSetResponder",{bubbles:!0}],E={touchstart:x,mousedown:x,touchmove:C,mousemove:C,scroll:["onScrollShouldSetResponderCapture","onScrollShouldSetResponder",{bubbles:!1}]},A={id:null,idPath:null,node:null},T=new Map,I=!1,R=0,O={id:null,node:null,idPath:null},D=new class{constructor(){this._touchHistory={touchBank:[],numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0}}recordTouchTrack(e,t){var n=this._touchHistory;if(d(e))t.changedTouches.forEach(e=>function(e,t){var n=t.touchBank[_(e)];n&&(n.touchActive=!0,n.previousPageX=n.currentPageX,n.previousPageY=n.currentPageY,n.previousTimeStamp=n.currentTimeStamp,n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=b(e),t.mostRecentTimeStamp=b(e))}(e,n));else if(u(e))t.changedTouches.forEach(e=>w(e,n)),n.numberActiveTouches=t.touches.length,1===n.numberActiveTouches&&(n.indexOfSingleActiveTouch=t.touches[0].identifier);else if(p(e)&&(t.changedTouches.forEach(e=>function(e,t){var n=t.touchBank[_(e)];n&&(n.touchActive=!1,n.previousPageX=n.currentPageX,n.previousPageY=n.currentPageY,n.previousTimeStamp=n.currentTimeStamp,n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=b(e),t.mostRecentTimeStamp=b(e))}(e,n)),n.numberActiveTouches=t.touches.length,1===n.numberActiveTouches))for(var r=n.touchBank,i=0;i<r.length;i++){var a=r[i];if(null!=a&&a.touchActive){n.indexOfSingleActiveTouch=i;break}}}get touchHistory(){return this._touchHistory}};function N(e){O=e}function j(e){var t=T.get(e);return null!=t?t:S}function F(e){var t=e.type,n=e.target;if("touchstart"===t&&(I=!0),("touchmove"===t||R>1)&&(I=!1),!("mousedown"===t&&I||"mousemove"===t&&I||"mousemove"===t&&R<1))if(I&&"mouseup"===t)0===R&&(I=!1);else{var r=u(t)&&function(e){var t=e.altKey,n=e.button,r=e.buttons,i=e.ctrlKey,a=e.type,o=!1===t&&!1===i;return!!("touchstart"===a||"touchmove"===a||"mousedown"===a&&(0===n||1===r)&&o||"mousemove"===a&&1===r&&o)}(e),i=d(t),a=p(t),o=function(e){return"scroll"===e}(t),s=function(e){return"select"===e||"selectionchange"===e}(t),l=c(e,D);(r||i||a)&&(e.touches?R=e.touches.length:r?R=1:a&&(R=0),D.recordTouchTrack(t,l.nativeEvent));var h,m=y(e),g=!1;if(r||i||o&&R>0){var b=O.idPath,_=m.idPath;if(null!=b&&null!=_){var w=function(e,t){var n=e.length,r=t.length;if(0===n||0===r||e[n-1]!==t[r-1])return null;var i=e[0],a=0,o=t[0],s=0;n-r>0&&(i=e[a=n-r],n=r),r-n>0&&(o=t[s=r-n],r=n);for(var l=n;l--;){if(i===o)return i;i=e[a++],o=t[s++]}return null}(b,_);if(null!=w){var k=_.indexOf(w)+(w===O.id?1:0);m={idPath:_.slice(k),nodePath:m.nodePath.slice(k)}}else m=null}null!=m&&(h=function(e,t,n){var r=E[t.type];if(null!=r){for(var i=e.idPath,a=e.nodePath,o=r[0],s=r[1],l=r[2].bubbles,c=function(e,t,r){var a=j(e)[r];if(null!=a&&(n.currentTarget=t,!0===a(n)))return{id:e,node:t,idPath:i.slice(i.indexOf(e))}},u=i.length-1;u>=0;u--){var d=c(i[u],a[u],o);if(null!=d)return d;if(!0===n.isPropagationStopped())return}if(l)for(var p=0;p<i.length;p++){var f=c(i[p],a[p],s);if(null!=f)return f;if(!0===n.isPropagationStopped())return}else{var h=i[0],m=a[0];if(t.target===m)return c(h,m,s)}}}(m,e,l),null!=h&&(!function(e,t){var n=O,r=n.id,i=n.node,a=t.id,o=t.node,s=j(a),l=s.onResponderGrant,c=s.onResponderReject;if(e.bubbles=!1,e.cancelable=!1,e.currentTarget=o,null==r)null!=l&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderGrant",l(e)),N(t);else{var u=j(r),d=u.onResponderTerminate,p=u.onResponderTerminationRequest,f=!0;null!=p&&(e.currentTarget=i,e.dispatchConfig.registrationName="onResponderTerminationRequest",!1===p(e)&&(f=!1)),f?(null!=d&&(e.currentTarget=i,e.dispatchConfig.registrationName="onResponderTerminate",d(e)),null!=l&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderGrant",l(e)),N(t)):null!=c&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderReject",c(e))}}(l,h),g=!0))}if(null!=O.id&&null!=O.node){var S=O,x=S.id,C=S.node,T=j(x),F=T.onResponderStart,M=T.onResponderMove,V=T.onResponderEnd,P=T.onResponderRelease,L=T.onResponderTerminate,B=T.onResponderTerminationRequest;if(l.bubbles=!1,l.cancelable=!1,l.currentTarget=C,r)null!=F&&(l.dispatchConfig.registrationName="onResponderStart",F(l));else if(i)null!=M&&(l.dispatchConfig.registrationName="onResponderMove",M(l));else{var H=f(t)||"contextmenu"===t||"blur"===t&&n===window||"blur"===t&&n.contains(C)&&e.relatedTarget!==C||o&&0===R||o&&n.c
2ontains(C)&&n!==C||s&&v(e),W=a&&!H&&!function(e,t){if(!t||0===t.length)return!1;for(var n=0;n<t.length;n++){var r=t[n].target;if(null!=r&&e.contains(r))return!0}return!1}(C,e.touches);if(a&&null!=V&&(l.dispatchConfig.registrationName="onResponderEnd",V(l)),W&&(null!=P&&(l.dispatchConfig.registrationName="onResponderRelease",P(l)),N(A)),H){var z=!0;"contextmenu"!==t&&"scroll"!==t&&"selectionchange"!==t||(g?z=!1:null!=B&&(l.dispatchConfig.registrationName="onResponderTerminationRequest",!1===B(l)&&(z=!1))),z&&(null!=L&&(l.dispatchConfig.registrationName="onResponderTerminate",L(l)),N(A),I=!1,R=0)}}}}}var M=["blur","scroll"],V=["mousedown","mousemove","mouseup","dragstart","touchstart","touchmove","touchend","touchcancel","contextmenu","select","selectionchange"];function P(e,t,n){!function(e,t){null!=e&&(e[h]=t)}(t,e),T.set(e,n)}function L(e){O.id===e&&function(){var e=O,t=e.id,n=e.node;if(null!=t&&null!=n){var r=j(t).onResponderTerminate;if(null!=r){var i=c({},D);i.currentTarget=n,r(i)}N(A)}I=!1,R=0}(),T.has(e)&&T.delete(e)}var B={},H=0;function W(e,t){void 0===t&&(t=B);var n=function(e){var t=r.useRef(null);return null==t.current&&(t.current=e()),t.current}(()=>H++),i=r.useRef(!1);r.useEffect(()=>(k.default&&null==window.__reactResponderSystemActive&&(window.addEventListener("blur",F),V.forEach(e=>{document.addEventListener(e,F)}),M.forEach(e=>{document.addEventListener(e,F,!0)}),window.__reactResponderSystemActive=!0),()=>{L(n)}),[n]),r.useEffect(()=>{var r=t,a=r.onMoveShouldSetResponder,o=r.onMoveShouldSetResponderCapture,s=r.onScrollShouldSetResponder,l=r.onScrollShouldSetResponderCapture,c=r.onSelectionChangeShouldSetResponder,u=r.onSelectionChangeShouldSetResponderCapture,d=r.onStartShouldSetResponder,p=r.onStartShouldSetResponderCapture,f=null!=a||null!=o||null!=s||null!=l||null!=c||null!=u||null!=d||null!=p,h=e.current;f?(P(n,h,t),i.current=!0):i.current&&(L(n),i.current=!1)},[t,e,n]),r.useDebugValue({isResponder:e.current===O.node}),r.useDebugValue(t)}},69170(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(36665),i="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():Object.freeze({});function a(e){var t=r.useRef(i);return t.current===i&&(t.current=e()),t.current}},32155(e,t,n){"use strict";function r(e,t){0}n.r(t),n.d(t,{warnOnce:()=>r})},89348(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(43860),i=n(26077),a=n.n(i);class o{constructor(e){0}addListener(e,t,n){var i;null==(i=this._nativeModule)||i.addListener(e);var a=r.default.addListener(e,t,n);return{remove:()=>{var e;null!=a&&(null==(e=this._nativeModule)||e.removeListeners(1),a.remove(),a=null)}}}removeListener(e,t){var n;null==(n=this._nativeModule)||n.removeListeners(1),r.default.removeListener(e,t)}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];r.default.emit(e,...n)}removeAllListeners(e){var t;a()(null!=e,"`NativeEventEmitter.removeAllListener()` requires a non-null argument."),null==(t=this._nativeModule)||t.removeListeners(this.listenerCount(e)),r.default.removeAllListeners(e)}listenerCount(e){return r.default.listenerCount(e)}}},43860(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});const r=new(n(93684).default)},2853(e,t,n){"use strict";function r(e,t,n,r){void 0===r&&(r=1);for(var i=t.getItemCount(t.data),a=[],o=0;o<e.length;o++)for(var s=e[o],l=0,c=i-1;l<=c;){var u=l+(c-l>>>1),d=n(u,t),p=d.offset*r,f=(d.offset+d.length)*r;if(0===u&&s<p||0!==u&&s<=p)c=u-1;else{if(!(s>f)){a[o]=u;break}l=u+1}}return a}function i(e,t){return t.last-t.first+1-Math.max(0,1+Math.min(t.last,e.last)-Math.max(t.first,e.first))}function a(e,t,n,a,o,s){var l=e.getItemCount(e.data);if(0===l)return{first:0,last:-1};var c=s.offset,u=s.velocity,d=s.visibleLength,p=s.zoomScale,f=void 0===p?1:p,h=Math.max(0,c),m=h+d,g=(n-1)*d,y=u>1?"after":u<-1?"before":"none",v=Math.max(0,h-.5*g),b=Math.max(0,m+.5*g);if(o(l-1,e).offset*f<v)return{first:Math.max(0,l-1-t),last:l-1};var _=r([v,h,m,b],e,o,f),w=_[0],k=_[1],S=_[2],x=_[3];w=null==w?0:w,x=null==x?l-1:x;for(var C={first:k=null==k?Math.max(0,w):k,last:S=null==S?Math.min(x,k+t-1):S},E=i(a,C);!(k<=w&&S>=x);){var A=E>=t,T=k<=a.first||k>a.last,I=k>w&&(!A||!T),R=S>=a.last||S<a.first,O=S<x&&(!A||!R);if(A&&!I&&!O)break;!I||"after"===y&&O&&R||(T&&E++,k--),!O||"before"===y&&I&&T||(R&&E++,S++)}if(!(S>=k&&k>=0&&S<l&&k>=w&&S<=x&&k<=C.first&&S>=C.last))throw new Error("Bad window calculation "+JSON.stringify({first:k,last:S,itemCount:l,overscanFirst:w,overscanLast:
2x,visible:C}));return{first:k,last:S}}function o(e,t){return"object"===typeof e&&null!=(null==e?void 0:e.key)?e.key:"object"===typeof e&&null!=(null==e?void 0:e.id)?e.id:String(t)}n.r(t),n.d(t,{computeWindowedRenderLimits:()=>a,elementsThatOverlapOffsets:()=>r,keyExtractor:()=>o,newRangeCount:()=>i})},65191(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>z});var r=n(3098),i=n(58168),a=n(27051),o=n(82660),s=n(2772),l=n(73929),c=n(75675),u=n(93816);const d=class{constructor(e,t){this._delay=t,this._callback=e}dispose(e){void 0===e&&(e={abort:!1}),this._taskHandle&&(this._taskHandle.cancel(),e.abort||this._callback(),this._taskHandle=null)}schedule(){if(!this._taskHandle){var e=setTimeout(()=>{this._taskHandle=u.default.runAfterInteractions(()=>{this._taskHandle=null,this._callback()})},this._delay);this._taskHandle={cancel:()=>clearTimeout(e)}}}};const p=function(e,t,n){return t<e?e:t>n?n:t};const f=function(){};var h=n(26077),m=n.n(h);class g{constructor(e){m()(e>=0,"CellRenderMask must contain a non-negative number os cells"),this._numCells=e,this._regions=0===e?[]:[{first:0,last:e-1,isSpacer:!0}]}enumerateRegions(){return this._regions}addCells(e){if(m()(e.first>=0&&e.first<this._numCells&&e.last>=-1&&e.last<this._numCells&&e.last>=e.first-1,"CellRenderMask.addCells called with invalid cell range"),!(e.last<e.first)){var t=this._findRegion(e.first),n=t[0],r=t[1],i=this._findRegion(e.last),o=i[0],s=i[1];if(r!==s||n.isSpacer){var l=[],c=[],u=(0,a.default)((0,a.default)({},e),{},{isSpacer:!1});n.first<u.first&&(n.isSpacer?l.push({first:n.first,last:u.first-1,isSpacer:!0}):u.first=n.first),o.last>u.last&&(o.isSpacer?c.push({first:u.last+1,last:o.last,isSpacer:!0}):u.last=o.last);var d=[...l,u,...c],p=s-r+1;this._regions.splice(r,p,...d)}}}numCells(){return this._numCells}equals(e){return this._numCells===e._numCells&&this._regions.length===e._regions.length&&this._regions.every((t,n)=>t.first===e._regions[n].first&&t.last===e._regions[n].last&&t.isSpacer===e._regions[n].isSpacer)}_findRegion(e){for(var t=0,n=this._regions.length-1;t<=n;){var r=Math.floor((t+n)/2),i=this._regions[r];if(e>=i.first&&e<=i.last)return[i,r];e<i.first?n=r-1:e>i.last&&(t=r+1)}m()(!1,"A region was not found containing cellIdx "+e)}}class y{constructor(){this._cellKeyToChildren=new Map,this._childrenToCellKey=new Map}add(e,t){var n;m()(!this._childrenToCellKey.has(e),"Trying to add already present child list");var r=null!==(n=this._cellKeyToChildren.get(t))&&void 0!==n?n:new Set;r.add(e),this._cellKeyToChildren.set(t,r),this._childrenToCellKey.set(e,t)}remove(e){var t=this._childrenToCellKey.get(e);m()(null!=t,"Trying to remove non-present child list"),this._childrenToCellKey.delete(e);var n=this._cellKeyToChildren.get(t);m()(n,"_cellKeyToChildren should contain cellKey"),n.delete(e),0===n.size&&this._cellKeyToChildren.delete(t)}forEach(e){for(var t,n=(0,r.default)(this._cellKeyToChildren.values());!(t=n()).done;)for(var i,a=t.value,o=(0,r.default)(a);!(i=o()).done;){e(i.value)}}forEachInCell(e,t){for(var n,i,a=null!==(n=this._cellKeyToChildren.get(e))&&void 0!==n?n:[],o=(0,r.default)(a);!(i=o()).done;){t(i.value)}}anyInCell(e,t){for(var n,i,a=null!==(n=this._cellKeyToChildren.get(e))&&void 0!==n?n:[],o=(0,r.default)(a);!(i=o()).done;){if(t(i.value))return!0}return!1}size(){return this._childrenToCellKey.size}}class v{constructor(){this.any_blank_count=0,this.any_blank_ms=0,this.any_blank_speed_sum=0,this.mostly_blank_count=0,this.mostly_blank_ms=0,this.pixels_blank=0,this.pixels_sampled=0,this.pixels_scrolled=0,this.total_time_spent=0,this.sample_count=0}}var b=[],_=10,w=null;const k=class{static addListener(e){return b.push(e),{remove:()=>{b=b.filter(t=>e!==t)}}}static setSampleRate(e){w=e}static setMinSampleCount(e){_=e}constructor(e){this._anyBlankStartTime=null,this._enabled=!1,this._info=new v,this._mostlyBlankStartTime=null,this._samplesStartTime=null,this._getFrameMetrics=e,this._enabled=(w||0)>Math.random(),this._resetData()}activate(){this._enabled&&null==this._samplesStartTime&&(this._samplesStartTime=n.g.performance.now())}deactivateAndFlush(){if(this._enabled){var e=this._samplesStartTime;if(null!=e)if(this._info.sample_count<_)this._resetData();else{var t=n.g.performance.now()-e,r=(0,a.default)((0,a.default)({},this._info),{},{total_time_spent:t});
2b.forEach(e=>e(r)),this._resetData()}}}computeBlankness(e,t,r){if(!this._enabled||0===e.getItemCount(e.data)||t.last<t.first||null==this._samplesStartTime)return 0;var i=r.dOffset,a=r.offset,o=r.velocity,s=r.visibleLength;this._info.sample_count++,this._info.pixels_sampled+=Math.round(s),this._info.pixels_scrolled+=Math.round(Math.abs(i));var l=Math.round(1e3*Math.abs(o)),c=n.g.performance.now();null!=this._anyBlankStartTime&&(this._info.any_blank_ms+=c-this._anyBlankStartTime),this._anyBlankStartTime=null,null!=this._mostlyBlankStartTime&&(this._info.mostly_blank_ms+=c-this._mostlyBlankStartTime),this._mostlyBlankStartTime=null;for(var u=0,d=t.first,p=this._getFrameMetrics(d,e);d<=t.last&&(!p||!p.inLayout);)p=this._getFrameMetrics(d,e),d++;p&&d>0&&(u=Math.min(s,Math.max(0,p.offset-a)));for(var f=0,h=t.last,m=this._getFrameMetrics(h,e);h>=t.first&&(!m||!m.inLayout);)m=this._getFrameMetrics(h,e),h--;if(m&&h<e.getItemCount(e.data)-1){var g=m.offset+m.length;f=Math.min(s,Math.max(0,a+s-g))}var y=Math.round(u+f),v=y/s;return v>0?(this._anyBlankStartTime=c,this._info.any_blank_speed_sum+=l,this._info.any_blank_count++,this._info.pixels_blank+=y,v>.5&&(this._mostlyBlankStartTime=c,this._info.mostly_blank_count++)):(l<.01||Math.abs(i)<1)&&this.deactivateAndFlush(),v}enabled(){return this._enabled}_resetData(){this._anyBlankStartTime=null,this._info=new v,this._mostlyBlankStartTime=null,this._samplesStartTime=null}};var S=n(36665);class x extends S.PureComponent{constructor(e){super(e),this._inAsyncStateUpdate=!1,this._installSetStateHooks()}setState(e,t){"function"===typeof e?super.setState((t,n)=>{var r;this._inAsyncStateUpdate=!0;try{r=e(t,n)}catch(i){throw i}finally{this._inAsyncStateUpdate=!1}return r},t):super.setState(e,t)}_installSetStateHooks(){var e=this,t=this.props,n=this.state;Object.defineProperty(this,"props",{get:()=>(m()(!e._inAsyncStateUpdate,'"this.props" should not be accessed during state updates'),t),set(e){t=e}}),Object.defineProperty(this,"state",{get:()=>(m()(!e._inAsyncStateUpdate,'"this.state" should not be acceessed during state updates'),n),set(e){n=e}})}}function C(e,t,n,r,i,a){if(function(e,t,n){return e>=0&&t<=n&&t>e}(n,r,i))return!0;var o=function(e,t,n){var r=Math.min(t,n)-Math.max(e,0);return Math.max(0,r)}(n,r,i);return 100*(e?o/i:o/a)>=t}const E=class{constructor(e){void 0===e&&(e={viewAreaCoveragePercentThreshold:0}),this._hasInteracted=!1,this._timers=new Set,this._viewableIndices=[],this._viewableItems=new Map,this._config=e}dispose(){this._timers.forEach(clearTimeout)}computeViewableItems(e,t,n,r,i){var a=e.getItemCount(e.data),o=this._config,s=o.itemVisiblePercentThreshold,l=o.viewAreaCoveragePercentThreshold,c=null!=l,u=c?l:s;m()(null!=u&&null!=s!==(null!=l),"Must set exactly one of itemVisiblePercentThreshold or viewAreaCoveragePercentThreshold");var d=[];if(0===a)return d;var p=-1,f=i||{first:0,last:a-1},h=f.first,g=f.last;if(g>=a)return[];for(var y=h;y<=g;y++){var v=r(y,e);if(v){var b=v.offset-t,_=b+v.length;if(b<n&&_>0)p=y,C(c,u,b,_,n,v.length)&&d.push(y);else if(p>=0)break}}return d}onUpdate(e,t,n,r,i,a,o){var s=e.getItemCount(e.data);if((!this._config.waitForInteraction||this._hasInteracted)&&0!==s&&r(0,e)){var l=[];if(s&&(l=this.computeViewableItems(e,t,n,r,o)),this._viewableIndices.length!==l.length||!this._viewableIndices.every((e,t)=>e===l[t]))if(this._viewableIndices=l,this._config.minimumViewTime){var c=setTimeout(()=>{this._timers.delete(c),this._onUpdateSync(e,l,a,i)},this._config.minimumViewTime);this._timers.add(c)}else this._onUpdateSync(e,l,a,i)}}resetViewableIndices(){this._viewableIndices=[]}recordInteraction(){this._hasInteracted=!0}_onUpdateSync(e,t,n,i){t=t.filter(e=>this._viewableIndices.includes(e));for(var o,s=this._viewableItems,l=new Map(t.map(t=>{var n=i(t,!0,e);return[n.key,n]})),c=[],u=(0,r.default)(l);!(o=u()).done;){var d=o.value,p=d[0],f=d[1];s.has(p)||c.push(f)}for(var h,m=(0,r.default)(s);!(h=m()).done;){var g=h.value,y=g[0],v=g[1];l.has(y)||c.push((0,a.default)((0,a.default)({},v),{},{isViewable:!1}))}c.length>0&&(this._viewableItems=l,n({viewableItems:Array.from(l.values()),changed:c,viewabilityConfig:this._config}))}};var A=S.createContext(null);function T(e){var t=e.children,n=e.value,r=(0,S.useMemo)(()=>({cellKey:null,getScrollMetrics:n.getScrollMetrics,horizontal:n.horizontal,getOutermostParentListRef:n.getOutermostParentListRef,registerAsNestedChild:n.registerAsNestedChild,unregisterAsNestedChild:n.unregisterAsNestedChild}),[n.getScrollMetrics,n.horizontal,n.getOutermostParentListRef,n.registerAsNestedChild,n.unregisterAsNestedChild]);return S.createElement(A.Provider,{value:r},t)}function I(e){var t=e.cellKey,n=e.children,r=(0,S.useContext)(A),i=(0,S.useMemo)(()=>null==r?null:(0,a.default)((0,a.default)({},r),{},{cellKey:t}),[r,t]);return S.createElement(A.Provider,{value:i},n)}class R extends S.Component{constructor(){super(...arguments),this.state={separatorProps:{highlighted:!1,leadingItem:this.props.item}},this._separators={highlight:()=>{var e=this.props,t=e.cellKey,n=e.prevCellKey;this.props.onUpdateSeparators([t,n],{highlighted:!0})},unhighlight:()=>{var e=this.props,t=e.cellKey,n=e.prevCellKey;this.props.onUpdateSeparators([t,n],{highlighted:!1})},updateProps:(e,t)=>{var n=this.props,r=n.cellKey,i=n.prevCellKey;this.props.onUpdateSeparators(["leading"===e?i:r],t)}},this._onLayout=e=>{this.props.onCellLayout&&this.props.onCellLayout(e,this.props.cellKey,this.props.index)}}static getDerivedStateFromProps(e,t){return{separatorProps:(0,a.default)((0,a.default)({},t.separatorProps),{},{leadingItem:e.item})}}updateSeparatorProps(e){this.setState(t=>({separatorProps:(0,a.default)((0,a.default)({},t.separatorProps),e)}))}componentWillUnmount(){this.props.onUnmount(this.props.cellKey)}_renderElement(e,t,n,r){return t?S.createElement(t,{item:n,index:r,separators:this._separators}):e?e({item:n,index:r,separators:this._separators}):void m()(!1,"VirtualizedList: Either ListItemComponent or renderItem props are required but none were found.")}render(){var e=this.props,t=e.CellRendererComponent,n=e.ItemSeparatorComponent,r=e.ListItemComponent,a=e.cellKey,o=e.horizontal,s=e.item,c=e.index,u=e.inversionStyle,d=e.onCellFocusCapture,p=e.onCellLayout,f=e.renderItem,h=this._renderElement(f,r,s,c),m=S.isValidElement(n)?n:n&&S.createElement(n,this.state.separatorProps),g=u?o?[O.rowReverse,u]:[O.columnReverse,u]:o?[O.row,u]:u,y=t?S.createElement(t,(0,i.default)({cellKey:a,index:c,item:s,style:g,onFocusCapture:d},p&&{onLayout:this._onLayout}),h,m):S.createElement(l.default,(0,i.default)({style:g,onFocusCapture:d},p&&{onLayout:this._onLayout}),h,m);return S.createElement(I,{cellKey:this.props.cellKey},y)}}var O=c.default.create({row:{flexDirection:"row"},rowReverse:{flexDirection:"row-reverse"},columnReverse:{flexDirection:"column-reverse"}}
2),D=n(2853),N=n(26076),j=n.n(N),F=!1;function M(e){return null!==e&&void 0!==e&&e}function V(e){return null!==e&&void 0!==e?e:10}function P(e){return null!==e&&void 0!==e?e:2}function L(e,t){return e*t/2}function B(e){return null!==e&&void 0!==e?e:21}class H extends x{scrollToEnd(e){var t=!e||e.animated,n=this.props.getItemCount(this.props.data)-1;if(!(n<0)){var r=this.__getFrameMetricsApprox(n,this.props),i=Math.max(0,r.offset+r.length+this._footerLength-this._scrollMetrics.visibleLength);null!=this._scrollRef&&null!=this._scrollRef.scrollTo&&this._scrollRef.scrollTo(M(this.props.horizontal)?{x:i,animated:t}:{y:i,animated:t})}}scrollToIndex(e){var t=this.props,n=t.data,r=t.horizontal,i=t.getItemCount,a=t.getItemLayout,o=t.onScrollToIndexFailed,s=e.animated,l=e.index,c=e.viewOffset,u=e.viewPosition;if(m()(l>=0,"scrollToIndex out of range: requested index "+l+" but minimum is 0"),m()(i(n)>=1,"scrollToIndex out of range: item length "+i(n)+" but minimum is 1"),m()(l<i(n),"scrollToIndex out of range: requested index "+l+" is out of 0 to "+(i(n)-1)),!a&&l>this._highestMeasuredFrameIndex)return m()(!!o,"scrollToIndex should be used in conjunction with getItemLayout or onScrollToIndexFailed, otherwise there is no way to know the location of offscreen indices or handle failures."),void o({averageItemLength:this._averageCellLength,highestMeasuredFrameIndex:this._highestMeasuredFrameIndex,index:l});var d=this.__getFrameMetricsApprox(Math.floor(l),this.props),p=Math.max(0,this._getOffsetApprox(l,this.props)-(u||0)*(this._scrollMetrics.visibleLength-d.length))-(c||0);null!=this._scrollRef&&null!=this._scrollRef.scrollTo&&this._scrollRef.scrollTo(r?{x:p,animated:s}:{y:p,animated:s})}scrollToItem(e){for(var t=e.item,n=this.props,r=n.data,i=n.getItem,o=(0,n.getItemCount)(r),s=0;s<o;s++)if(i(r,s)===t){this.scrollToIndex((0,a.default)((0,a.default)({},e),{},{index:s}));break}}scrollToOffset(e){var t=e.animated,n=e.offset;null!=this._scrollRef&&null!=this._scrollRef.scrollTo&&this._scrollRef.scrollTo(M(this.props.horizontal)?{x:n,animated:t}:{y:n,animated:t})}recordInteraction(){this._nestedChildLists.forEach(e=>{e.recordInteraction()}),this._viewabilityTuples.forEach(e=>{e.viewabilityHelper.recordInteraction()}),this._updateViewableItems(this.props,this.state.cellsAroundViewport)}flashScrollIndicators(){null!=this._scrollRef&&this._scrollRef.flashScrollIndicators()}getScrollResponder(){if(this._scrollRef&&this._scrollRef.getScrollResponder)return this._scrollRef.getScrollResponder()}getScrollableNode(){return this._scrollRef&&this._scrollRef.getScrollableNode?this._scrollRef.getScrollableNode():this._scrollRef}getScrollRef(){return this._scrollRef&&this._scrollRef.getScrollRef?this._scrollRef.getScrollRef():this._scrollRef}_getCellKey(){var e;return(null==(e=this.context)?void 0:e.cellKey)||"rootList"}hasMore(){return this._hasMore}constructor(e){var t;if(super(e),this._getScrollMetrics=()=>this._scrollMetrics,this._getOutermostParentListRef=()=>this._isNestedWithSameOrientation()?this.context.getOutermostParentListRef():this,this._registerAsNestedChild=e=>{this._nestedChildLists.add(e.ref,e.cellKey),this._hasInteracted&&e.ref.recordInteraction()},this._unregisterAsNestedChild=e=>{this._nestedChildLists.remove(e.ref)},this._onUpdateSeparators=(e,t)=>{e.forEach(e=>{var n=null!=e&&this._cellRefs[e];n&&n.updateSeparatorProps(t)})},this._getSpacerKey=e=>e?"height":"width",this._averageCellLength=0,this._cellRefs={},this._frames={},this._footerLength=0,this._hasTriggeredInitialScrollToIndex=!1,this._hasInteracted=!1,this._hasMore=!1,this._hasWarned={},this._headerLength=0,this._hiPriInProgress=!1,this._highestMeasuredFrameIndex=0,this._indicesToKeys=new Map,this._lastFocusedCellKey=null,this._nestedChildLists=new y,this._offsetFromParentVirtualizedList=0,this._prevParentOffset=0,this._scrollMetrics={contentLength:0,dOffset:0,dt:10,offset:0,timestamp:0,velocity:0,visibleLength:0,zoomScale:1},this._scrollRef=null,this._sentStartForContentLength=0,this._sentEndForContentLength=0,this._totalCellLength=0,this._totalCellsMeasured=0,this._viewabilityTuples=[],this._captureScrollRef=e=>{this._scrollRef=e}
2,this._defaultRenderScrollComponent=e=>{var t,n=e.onRefresh;return this._isNestedWithSameOrientation()?S.createElement(l.default,e):n?(m()("boolean"===typeof e.refreshing,"`refreshing` prop must be set as a boolean in order to use `onRefresh`, but got `"+JSON.stringify(null!==(t=e.refreshing)&&void 0!==t?t:"undefined")+"`"),S.createElement(s.default,(0,i.default)({},e,{refreshControl:null==e.refreshControl?S.createElement(o.default,{refreshing:e.refreshing,onRefresh:n,progressViewOffset:e.progressViewOffset}):e.refreshControl}))):S.createElement(s.default,e)},this._onCellLayout=(e,t,n)=>{var r=e.nativeEvent.layout,i={offset:this._selectOffset(r),length:this._selectLength(r),index:n,inLayout:!0},a=this._frames[t];a&&i.offset===a.offset&&i.length===a.length&&n===a.index?this._frames[t].inLayout=!0:(this._totalCellLength+=i.length-(a?a.length:0),this._totalCellsMeasured+=a?0:1,this._averageCellLength=this._totalCellLength/this._totalCellsMeasured,this._frames[t]=i,this._highestMeasuredFrameIndex=Math.max(this._highestMeasuredFrameIndex,n),this._scheduleCellsToRenderUpdate()),this._triggerRemeasureForChildListsInCell(t),this._computeBlankness(),this._updateViewableItems(this.props,this.state.cellsAroundViewport)},this._onCellUnmount=e=>{delete this._cellRefs[e];var t=this._frames[e];t&&(this._frames[e]=(0,a.default)((0,a.default)({},t),{},{inLayout:!1}))},this._onLayout=e=>{this._isNestedWithSameOrientation()?this.measureLayoutRelativeToContainingList():this._scrollMetrics.visibleLength=this._selectLength(e.nativeEvent.layout),this.props.onLayout&&this.props.onLayout(e),this._scheduleCellsToRenderUpdate(),this._maybeCallOnEdgeReached()},this._onLayoutEmpty=e=>{this.props.onLayout&&this.props.onLayout(e)},this._onLayoutFooter=e=>{this._triggerRemeasureForChildListsInCell(this._getFooterCellKey()),this._footerLength=this._selectLength(e.nativeEvent.layout)},this._onLayoutHeader=e=>{this._headerLength=this._selectLength(e.nativeEvent.layout)},this._onContentSizeChange=(e,t)=>
2{e>0&&t>0&&null!=this.props.initialScrollIndex&&this.props.initialScrollIndex>0&&!this._hasTriggeredInitialScrollToIndex&&(null==this.props.contentOffset&&(this.props.initialScrollIndex<this.props.getItemCount(this.props.data)?this.scrollToIndex({animated:!1,index:j()(this.props.initialScrollIndex)}):this.scrollToEnd({animated:!1})),this._hasTriggeredInitialScrollToIndex=!0),this.props.onContentSizeChange&&this.props.onContentSizeChange(e,t),this._scrollMetrics.contentLength=this._selectLength({height:t,width:e}),this._scheduleCellsToRenderUpdate(),this._maybeCallOnEdgeReached()},this._convertParentScrollMetrics=e=>{var t=e.offset-this._offsetFromParentVirtualizedList,n=e.visibleLength,r=t-this._scrollMetrics.offset;return{visibleLength:n,contentLength:this._scrollMetrics.contentLength,offset:t,dOffset:r}},this._onScroll=e=>{this._nestedChildLists.forEach(t=>{t._onScroll(e)}),this.props.onScroll&&this.props.onScroll(e);var t=e.timeStamp,n=this._selectLength(e.nativeEvent.layoutMeasurement),r=this._selectLength(e.nativeEvent.contentSize),i=this._selectOffset(e.nativeEvent.contentOffset),a=i-this._scrollMetrics.offset;if(this._isNestedWithSameOrientation()){if(0===this._scrollMetrics.contentLength)return;var o=this._convertParentScrollMetrics({visibleLength:n,offset:i});n=o.visibleLength,r=o.contentLength,i=o.offset,a=o.dOffset}var s=this._scrollMetrics.timestamp?Math.max(1,t-this._scrollMetrics.timestamp):1,l=a/s;s>500&&this._scrollMetrics.dt>500&&r>5*n&&!this._hasWarned.perf&&(f("VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders components that follow React performance best practices like PureComponent, shouldComponentUpdate, etc.",{dt:s,prevDt:this._scrollMetrics.dt,contentLength:r}),this._hasWarned.perf=!0);var c=e.nativeEvent.zoomScale<0?1:e.nativeEvent.zoomScale;this._scrollMetrics={contentLength:r,dt:s,dOffset:a,offset:i,timestamp:t,velocity:l,visibleLength:n,zoomScale:c},this._updateViewableItems(this.props,this.state.cellsAroundViewport),this.props&&(this._maybeCallOnEdgeReached(),0!==l&&this._fillRateHelper.activate(),this._computeBlankness(),this._scheduleCellsToRenderUpdate())},this._onScrollBeginDrag=e=>{this._nestedChildLists.forEach(t=>{t._onScrollBeginDrag(e)}),this._viewabilityTuples.forEach(e=>{e.viewabilityHelper.recordInteraction()}),this._hasInteracted=!0,this.props.onScrollBeginDrag&&this.props.onScrollBeginDrag(e)},this._onScrollEndDrag=e=>{this._nestedChildLists.forEach(t=>{t._onScrollEndDrag(e)});var t=e.nativeEvent.velocity;t&&(this._scrollMetrics.velocity=this._selectOffset(t)),this._computeBlankness(),this.props.onScrollEndDrag&&this.props.onScrollEndDrag(e)},this._onMomentumScrollBegin=e=>{this._nestedChildLists.forEach(t=>{t._onMomentumScrollBegin(e)}),this.props.onMomentumScrollBegin&&this.props.onMomentumScrollBegin(e)},this._onMomentumScrollEnd=e=>{this._nestedChildLists.forEach(t=>{t._onMomentumScrollEnd(e)}),this._scrollMetrics.velocity=0,this._computeBlankness(),this.props.onMomentumScrollEnd&&this.props.onMomentumScrollEnd(e)},this._updateCellsToRender=()=>{this._updateViewableItems(this.props,this.state.cellsAroundViewport),this.setState((e,t)=>{var n=this._adjustCellsAroundViewport(t,e.cellsAroundViewport),r=H._createRenderMask(t,n,this._getNonViewportRenderRegions(t));return n.first===e.cellsAroundViewport.first&&n.last===e.cellsAroundViewport.last&&r.equals(e.renderMask)?null:{cellsAroundViewport:n,renderMask:r}})},this._createViewToken=(e,t,n)=>{var r=n.data,i=(0,n.getItem)(r,e);return{index:e,item:i,key:this._keyExtractor(i,e,n),isViewable:t}},this._getOffsetApprox=(e,t)=>{if(Number.isInteger(e))return this.__getFrameMetricsApprox(e,t).offset;var n=this.__getFrameMetricsApprox(Math.floor(e),t),r=e-Math.floor(e);return n.offset+r*n.length},this.__getFrameMetricsApprox=(e,t)=>{var n=this._getFrameMetrics(e,t);if(n&&n.index===e)return n;var r=t.data,i=t.getItemCount,a=t.getItemLayout;return m()(e>=0&&e<i(r),"Tried to get frame for out of range index "+e),m()(!a,"Should not have to estimate frames when a measurement metrics function is provided"),{length:this._averageCellLength,offset:this._averageCellLength*e}},this._getFrameMetrics=(e,t)=>{var n=t.data,r=t.getItem,i=t.getItemCount,a=t.getItemLayout;m()(e>=0&&e<i(n),"Tried to get frame for out of range index "+e);var o=r(n,e),s=this._frames[this._keyExtractor(o,e,t)];return s&&s.index===e||!a?s:a(n,e)},this._getNonViewportRenderRegions=e=>{if(!this._lastFocusedCellKey||!this._cellRefs[this._lastFocusedCellKey])return[];var t=this._cellRefs[this._lastFocusedCellKey].props.index,n=e.getItemCount(e.data);if(t>=n||this._keyExtractor(e.getItem(e.data,t),t,e)!==this._lastFocusedCellKey)return[];for(var r=t,i=0,a=r-1;a>=0&&i<this._scrollMetrics.visibleLength;a--)r--,i+=this.__getFrameMetricsApprox(a,e).length;for(var o=t,s=0,l=o+1;l<n&&s<this._scrollMetrics.visibleLength;l++)o++,s+=this.__getFrameMetricsApprox(l,e).length;return[{first:r,last:o}]},this._checkProps(e),this._fillRateHelper=new k(this._getFrameMetrics),this._updateCellsToRenderBatcher=new d(this._updateCellsToRender,null!==(t=this.props.updateCellsBatchingPerio
2d)&&void 0!==t?t:50),this.props.viewabilityConfigCallbackPairs)this._viewabilityTuples=this.props.viewabilityConfigCallbackPairs.map(e=>({viewabilityHelper:new E(e.viewabilityConfig),onViewableItemsChanged:e.onViewableItemsChanged}));else{var n=this.props,r=n.onViewableItemsChanged,c=n.viewabilityConfig;r&&this._viewabilityTuples.push({viewabilityHelper:new E(c),onViewableItemsChanged:r})}var u=H._initialRenderRegion(e);this.state={cellsAroundViewport:u,renderMask:H._createRenderMask(e,u)},this.invertedWheelEventHandler=e=>{var t=this.props.horizontal?e.target.scrollLeft:e.target.scrollTop,n=this.props.horizontal?e.target.scrollWidth:e.target.scrollHeight,r=this.props.horizontal?e.target.clientWidth:e.target.clientHeight,i=n>r,a=this.props.horizontal?e.deltaX||e.wheelDeltaX:e.deltaY||e.wheelDeltaY,o=a;i&&(o=a<0?Math.min(a+t,0):Math.max(a-(n-r-t),0));var s=a-o;if(this.props.inverted&&this._scrollRef&&this._scrollRef.getScrollableNode){var l=this._scrollRef.getScrollableNode();if(this.props.horizontal){e.target.scrollLeft+=s;var c=l.scrollLeft-o;l.scrollLeft=this.props.getItemLayout?c:Math.min(c,this._totalCellLength)}else{e.target.scrollTop+=s;var u=l.scrollTop-o;l.scrollTop=this.props.getItemLayout?u:Math.min(u,this._totalCellLength)}e.preventDefault()}}}_checkProps(e){var t=e.onScroll,n=e.windowSize,r=e.getItemCount,i=e.data,a=e.initialScrollIndex;m()(!t||!t.__isNative,"Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent to support native onScroll events with useNativeDriver"),m()(B(n)>0,"VirtualizedList: The windowSize prop must be present and set to a value greater than 0."),m()(r,'VirtualizedList: The "getItemCount" prop must be provided');var o=r(i);null==a||this._hasTriggeredInitialScrollToIndex||!(a<0||o>0&&a>=o)||this._hasWarned.initialScrollIndex||(this._hasWarned.initialScrollIndex=!0)}static _createRenderMask(e,t,n){var r=e.getItemCount(e.data);m()(t.first>=0&&t.last>=t.first-1&&t.last<r,'Invalid cells around viewport "['+t.first+", "+t.last+']" was passed to VirtualizedList._createRenderMask');var i=new g(r);if(r>0){for(var a=0,o=[t,...null!==n&&void 0!==n?n:[]];a<o.length;a++){var s=o[a];i.addCells(s)}if(null==e.initialScrollIndex||e.initialScrollIndex<=0){var l=H._initialRenderRegion(e);i.addCells(l)}var c=new Set(e.stickyHeaderIndices);H._ensureClosestStickyHeader(e,c,i,t.first)}return i}static _initialRenderRegion(e){var t,n,r=e.getItemCount(e.data),i=Math.max(0,Math.min(r-1,Math.floor(null!==(t=e.initialScrollIndex)&&void 0!==t?t:0)));return{first:i,last:Math.min(r,i+(null!==(n=e.initialNumToRender)&&void 0!==n?n:10))-1}}static _ensureClosestStickyHeader(e,t,n,r){for(var i=e.ListHeaderComponent?1:0,a=r-1;a>=0;a--)if(t.has(a+i)){n.addCells({first:a,last:a});break}}_adjustCellsAroundViewport(e,t){var n,r=e.data,i=e.getItemCount,a=P(e.onEndReachedThreshold),o=this._scrollMetrics,s=o.contentLength,l=o.offset,c=o.visibleLength,u=s-c-l;if(c<=0||s<=0)return t.last>=i(r)?H._constrainToItemCount(t,e):t;if(e.disableVirtualization){var d=u<a*c?V(e.maxToRenderPerBatch):0;n={first:0,last:Math.min(t.last+d,i(r)-1)}}else{if(e.initialScrollIndex&&!this._scrollMetrics.offset&&Math.abs(u)>=Number.EPSILON)return t.last>=i(r)?H._constrainToItemCount(t,e):t;n=(0,D.computeWindowedRenderLimits)(e,V(e.maxToRenderPerBatch),B(e.windowSize),t,this.__getFrameMetricsApprox,this._scrollMetrics),m()(n.last<i(r),"computeWindowedRenderLimits() should return range in-bounds")}if(this._nestedChildLists.size()>0){var p=this._findFirstChildWithMore(n.first,n.last);n.last=null!==p&&void 0!==p?p:n.last}return n}_findFirstChildWithMore(e,t){for(var n=e;n<=t;n++){var r=this._indicesToKeys.get(n);if(null!=r&&this._nestedChildLists.anyInCell(r,e=>e.hasMore()))return n}return null}componentDidMount(){this._isNestedWithSameOrientation()&&this.context.registerAsNestedChild({ref:this,cellKey:this.context.cellKey}),this.setupWebWheelHandler()}componentWillUnmount(){this._isNestedWithSameOrientation()&&this.context.unregisterAsNestedChild({ref:this}),this._updateCellsToRenderBatcher.dispose({abort:!0}
2),this._viewabilityTuples.forEach(e=>{e.viewabilityHelper.dispose()}),this._fillRateHelper.deactivateAndFlush(),this.teardownWebWheelHandler()}setupWebWheelHandler(){this._scrollRef&&this._scrollRef.getScrollableNode?this._scrollRef.getScrollableNode().addEventListener("wheel",this.invertedWheelEventHandler):setTimeout(()=>this.setupWebWheelHandler(),50)}teardownWebWheelHandler(){this._scrollRef&&this._scrollRef.getScrollableNode&&this._scrollRef.getScrollableNode().removeEventListener("wheel",this.invertedWheelEventHandler)}static getDerivedStateFromProps(e,t){if(e.getItemCount(e.data)===t.renderMask.numCells())return t;var n=H._constrainToItemCount(t.cellsAroundViewport,e);return{cellsAroundViewport:n,renderMask:H._createRenderMask(e,n)}}_pushCells(e,t,n,r,a,o){var s,l=this,c=this.props,u=c.CellRendererComponent,d=c.ItemSeparatorComponent,p=c.ListHeaderComponent,f=c.ListItemComponent,h=c.data,m=c.debug,g=c.getItem,y=c.getItemCount,v=c.getItemLayout,b=c.horizontal,_=c.renderItem,w=p?1:0,k=y(h)-1;a=Math.min(k,a);for(var x=function(){var r=g(h,C),a=l._keyExtractor(r,C,l.props);l._indicesToKeys.set(C,a),n.has(C+w)&&t.push(e.length);var c=null==v||m||l._fillRateHelper.enabled();e.push(S.createElement(R,(0,i.default)({CellRendererComponent:u,ItemSeparatorComponent:C<k?d:void 0,ListItemComponent:f,cellKey:a,horizontal:b,index:C,inversionStyle:o,item:r,key:a,prevCellKey:s,onUpdateSeparators:l._onUpdateSeparators,onCellFocusCapture:e=>l._onCellFocusCapture(a),onUnmount:l._onCellUnmount,ref:e=>{l._cellRefs[a]=e},renderItem:_},c&&{onCellLayout:l._onCellLayout}))),s=a},C=r;C<=a;C++)x()}static _constrainToItemCount(e,t){var n=t.getItemCount(t.data),r=Math.min(n-1,e.last),i=V(t.maxToRenderPerBatch);return{first:p(0,n-1-i,e.first),last:r}}_isNestedWithSameOrientation(){var e=this.context;return!(!e||!!e.horizontal!==M(this.props.horizontal))}_keyExtractor(e,t,n){if(null!=n.keyExtractor)return n.keyExtractor(e,t);var r=(0,D.keyExtractor)(e,t);return r===String(t)&&(F=!0,e.type&&e.type.displayName&&e.type.displayName),r}render(){this._checkProps(this.props);var e=this.props,t=e.ListEmptyComponent,n=e.ListFooterComponent,i=e.ListHeaderComponent,o=this.props,s=o.data,c=o.horizontal,u=this.props.inverted?M(this.props.horizontal)?W.horizontallyInverted:W.verticallyInverted:null,d=[],f=new Set(this.props.stickyHeaderIndices),h=[];if(i){f.has(0)&&h.push(0);var m=S.isValidElement(i)?i:S.createElement(i,null);d.push(S.createElement(I,{cellKey:this._getCellKey()+"-header",key:"$header"},S.createElement(l.default,{onLayout:this._onLayoutHeader,style:[u,this.props.ListHeaderComponentStyle]},m)))}var g=this.props.getItemCount(s);if(0===g&&t){var y=S.isValidElement(t)?t:S.createElement(t,null);d.push(S.createElement(I,{cellKey:this._getCellKey()+"-empty",key:"$empty"},S.cloneElement(y,{onLayout:e=>{this._onLayoutEmpty(e),y.props.onLayout&&y.props.onLayout(e)},style:[u,y.props.style]})))}if(g>0){F=!1;for(var v,b=this._getSpacerKey(!c),_=this.state.renderMask.enumerateRegions(),w=function(e,t){for(var n=e.length-1;n>=0;n--)if(t(e[n]))return e[n];return null}(_,e=>e.isSpacer),k=(0,r.default)(_);!(v=k()).done;){var x=v.value;if(x.isSpacer){if(this.props.disableVirtualization)continue;var C=x===w&&!this.props.getItemLayout?p(x.first-1,x.last,this._highestMeasuredFrameIndex):x.last,E=this.__getFrameMetricsApprox(x.first,this.props),A=this.__getFrameMetricsApprox(C,this.props),R=A.offset+A.length-E.offset;d.push(S.createElement(l.default,{key:"$spacer-"+x.first,style:{[b]:R}}))}else this._pushCells(d,h,f,x.first,x.last,u)}!this._hasWarned.keys&&F&&(this._hasWarned.keys=!0)}if(n){var O=S.isValidElement(n)?n:S.createElement(n,null);d.push(S.createElement(I,{cellKey:this._getFooterCellKey(),key:"$footer"},S.createElement(l.default,{onLayout:this._onLayoutFooter,style:[u,this.props.ListFooterComponentStyle]},O)))}var D,N=(0,a.default)((0,a.default)({},this.props),{},{onContentSizeChange:this._onContentSizeChange,onLayout:this._onLayout,onScroll:this._onScroll,onScrollBeginDrag:this._onScrollBeginDrag,onScrollEndDrag:this._onScrollEndDrag,onMomentumScrollBegin:this._onMomentumScrollBegin,onMomentumScrollEnd:this._onMomentumScrollEnd,scrollEventThrottle:(D=this.props.scrollEventThrottle,null!==D&&void 0!==D?D:50),invertStickyHeaders:void 0!==this.props.invertStickyHeaders?this.props.invertStickyHeaders:this.props.inverted,stickyHeaderIndices:h,style:u?[u,this.props.style]:this.props.style});this._hasMore=this.state.cellsAroundViewport.last<g-1;var j=S.createElement(T,{value:{cellKey:null,getScrollMetrics:this._getScrollMetrics,horizontal:M(this.props.horizontal),getOutermostParentListRef:this._getOutermostParentListRef,registerAsNestedChild:this._registerAsNestedChild,unregisterAsNestedChild:this._unregisterAsNestedChild}}
2,S.cloneElement((this.props.renderScrollComponent||this._defaultRenderScrollComponent)(N),{ref:this._captureScrollRef},d));return this.props.debug?S.createElement(l.default,{style:W.debug},j,this._renderDebugOverlay()):j}componentDidUpdate(e){var t=this.props,n=t.data,r=t.extraData;n===e.data&&r===e.extraData||this._viewabilityTuples.forEach(e=>{e.viewabilityHelper.resetViewableIndices()});var i=this._hiPriInProgress;this._scheduleCellsToRenderUpdate(),i&&(this._hiPriInProgress=!1)}_computeBlankness(){this._fillRateHelper.computeBlankness(this.props,this.state.cellsAroundViewport,this._scrollMetrics)}_onCellFocusCapture(e){this._lastFocusedCellKey=e,this._updateCellsToRender()}_triggerRemeasureForChildListsInCell(e){this._nestedChildLists.forEachInCell(e,e=>{e.measureLayoutRelativeToContainingList()})}measureLayoutRelativeToContainingList(){try{if(!this._scrollRef)return;this._scrollRef.measureLayout(this.context.getOutermostParentListRef().getScrollRef(),(e,t,n,r)=>{this._offsetFromParentVirtualizedList=this._selectOffset({x:e,y:t}),this._scrollMetrics.contentLength=this._selectLength({width:n,height:r});var i=this._convertParentScrollMetrics(this.context.getScrollMetrics());(this._scrollMetrics.visibleLength!==i.visibleLength||this._scrollMetrics.offset!==i.offset)&&(this._scrollMetrics.visibleLength=i.visibleLength,this._scrollMetrics.offset=i.offset,this._nestedChildLists.forEach(e=>{e.measureLayoutRelativeToContainingList()}))},e=>{})}catch(e){}}_getFooterCellKey(){return this._getCellKey()+"-footer"}_renderDebugOverlay(){for(var e=this._scrollMetrics.visibleLength/(this._scrollMetrics.contentLength||1),t=[],n=this.props.getItemCount(this.props.data),r=0;r<n;r++){var i=this.__getFrameMetricsApprox(r,this.props);i.inLayout&&t.push(i)}var a=this.__getFrameMetricsApprox(this.state.cellsAroundViewport.first,this.props).offset,o=this.__getFrameMetricsApprox(this.state.cellsAroundViewport.last,this.props),s=o.offset+o.length-a,c=this._scrollMetrics.offset,u=this._scrollMetrics.visibleLength;return S.createElement(l.default,{style:[W.debugOverlayBase,W.debugOverlay]},t.map((t,n)=>S.createElement(l.default,{key:"f"+n,style:[W.debugOverlayBase,W.debugOverlayFrame,{top:t.offset*e,height:t.length*e}]})),S.createElement(l.default,{style:[W.debugOverlayBase,W.debugOverlayFrameLast,{top:a*e,height:s*e}]}),S.createElement(l.default,{style:[W.debugOverlayBase,W.debugOverlayFrameVis,{top:c*e,height:u*e}]}))}_selectLength(e){return M(this.props.horizontal)?e.width:e.height}_selectOffset(e){return M(this.props.horizontal)?e.x:e.y}_maybeCallOnEdgeReached(){var e=this.props,t=e.data,n=e.getItemCount,r=e.onStartReached,i=e.onStartReachedThreshold,a=e.onEndReached,o=e.onEndReachedThreshold,s=e.initialScrollIndex,l=this._scrollMetrics,c=l.contentLength,u=l.visibleLength,d=l.offset,p=d,f=c-u-d;p<.001&&(p=0),f<.001&&(f=0);var h=p<=(null!=i?i*u:2),m=f<=(null!=o?o*u:2);a&&this.state.cellsAroundViewport.last===n(t)-1&&m&&this._scrollMetrics.contentLength!==this._sentEndForContentLength?(this._sentEndForContentLength=this._scrollMetrics.contentLength,a({distanceFromEnd:f})):null!=r&&0===this.state.cellsAroundViewport.first&&h&&this._scrollMetrics.contentLength!==this._sentStartForContentLength?s&&0===this._scrollMetrics.timestamp||(this._sentStartForContentLength=this._scrollMetrics.contentLength,r({distanceFromStart:p})):(this._sentStartForContentLength=h?this._sentStartForContentLength:0,this._sentEndForContentLength=m?this._sentEndForContentLength:0)}_scheduleCellsToRenderUpdate(){var e=this.state.cellsAroundViewport,t=e.first,n=e.last,r=this._scrollMetrics,i=r.offset,a=r.visibleLength,o=r.velocity,s=this.props.getItemCount(this.props.data),l=!1,c=function(e){return null!==e&&void 0!==e?e:2}(this.props.onStartReachedThreshold),u=P(this.props.onEndReachedThreshold);if(t>0){var d=i-this.__getFrameMetricsApprox(t,this.props).offset;l=d<0||o<-2&&d<L(c,a)}if(!l&&n>=0&&n<s-1){var p=this.__getFrameMetricsApprox(n,this.props).offset-(i+a);l=p<0||o>2&&p<L(u,a)}if(l&&(this._averageCellLength||this.props.getItemLayout)&&!this._hiPriInProgress)return this._hiPriInProgress=!0,this._updateCellsToRenderBatcher.dispose({abort:!0}),void this._updateCellsToRender();this._updateCellsToRenderBatcher.schedule()}
2_updateViewableItems(e,t){this._viewabilityTuples.forEach(n=>{n.viewabilityHelper.onUpdate(e,this._scrollMetrics.offset,this._scrollMetrics.visibleLength,this._getFrameMetrics,this._createViewToken,n.onViewableItemsChanged,t)})}}H.contextType=A;var W=c.default.create({verticallyInverted:{transform:"scaleY(-1)"},horizontallyInverted:{transform:"scaleX(-1)"},debug:{flex:1},debugOverlayBase:{position:"absolute",top:0,right:0},debugOverlay:{bottom:0,width:20,borderColor:"blue",borderWidth:1},debugOverlayFrame:{left:0,backgroundColor:"orange"},debugOverlayFrameLast:{left:0,borderColor:"green",borderWidth:2},debugOverlayFrameVis:{left:0,borderColor:"red",borderWidth:2}});const z=H},93684(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});class r{constructor(){this._registry={}}addListener(e,t,n){var r=function(e,t){var n=e[t];null==n&&(n=new Set,e[t]=n);return n}(this._registry,e),i={context:n,listener:t,remove(){r.delete(i)}};return r.add(i),i}emit(e){var t=this._registry[e];if(null!=t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var a=0,o=[...t];a<o.length;a++){var s=o[a];s.listener.apply(s.context,r)}}}removeAllListeners(e){null==e?this._registry={}:delete this._registry[e]}listenerCount(e){var t=this._registry[e];return null==t?0:t.size}}},38799(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});const r=n.p+"postMock.html"},40792(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});const r={}},36329(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitizeUrl=t.BLANK_URL=void 0;var n=/^([^\w]*)(javascript|data|vbscript)/im,r=/&#(\w+)(^\w|;
2)?/g,i=/&(newline|tab);/gi,a=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,o=/^.+(:|&colon;)/gim,s=[".","/"];t.BLANK_URL="about:blank",t.sanitizeUrl=function(e){if(!e)return t.BLANK_URL;var l,c=(l=e,l.replace(a,"").replace(r,function(e,t){return String.fromCharCode(t)})).replace(i,"").replace(a,"").trim();if(!c)return t.BLANK_URL;if(function(e){return s.indexOf(e[0])>-1}(c))return c;var u=c.match(o);if(!u)return c;var d=u[0];return n.test(d)?t.BLANK_URL:c}},16109(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var a=e(t),o=0;o<a.length;o++)"default"!==a[o]&&r(n,t,a[o]);return i(n,t),n}}();Object.defineProperty(t,"__esModule",{value:!0}),t.atoms=void 0;const o=a(n(48213));t.atoms={debug:{borderColor:"red",borderWidth:1},fixed:{position:"fixed"},absolute:{position:"absolute"},relative:{position:"relative"},static:{position:"static"},sticky:{position:"sticky"},inset_0:{top:0,left:0,right:0,bottom:0},top_0:{top:0},right_0:{right:0},bottom_0:{bottom:0},left_0:{left:0},z_10:{zIndex:10},z_20:{zIndex:20},z_30:{zIndex:30},z_40:{zIndex:40},z_50:{zIndex:50},overflow_visible:{overflow:"visible"},overflow_x_visible:{overflowX:"visible"},overflow_y_visible:{overflowY:"visible"},overflow_hidden:{overflow:"hidden"},overflow_x_hidden:{overflowX:"hidden"},overflow_y_hidden:{overflowY:"hidden"},overflow_auto:{overflow:"auto"},w_full:{width:"100%"},h_full:{height:"100%"},h_full_vh:{height:"100vh"},max_w_full:{maxWidth:"100%"},max_h_full:{maxHeight:"100%"},rounded_0:{borderRadius:0},rounded_2xs:{borderRadius:o.borderRadius._2xs},rounded_xs:{borderRadius:o.borderRadius.xs},rounded_sm:{borderRadius:o.borderRadius.sm},rounded_md:{borderRadius:o.borderRadius.md},rounded_lg:{borderRadius:o.borderRadius.lg},rounded_xl:{borderRadius:o.borderRadius.xl},rounded_full:{borderRadius:o.borderRadius.full},gap_0:{gap:0},gap_2xs:{gap:o.space._2xs},gap_xs:{gap:o.space.xs},gap_sm:{gap:o.space.sm},gap_md:{gap:o.space.md},gap_lg:{gap:o.space.lg},gap_xl:{gap:o.space.xl},gap_2xl:{gap:o.space._2xl},gap_3xl:{gap:o.space._3xl},gap_4xl:{gap:o.space._4xl},gap_5xl:{gap:o.space._5xl},flex:{display:"flex"},flex_col:{flexDirection:"column"},flex_row:{flexDirection:"row"},flex_col_reverse:{flexDirection:"column-reverse"},flex_row_reverse:{flexDirection:"row-reverse"},flex_wrap:{flexWrap:"wrap"},flex_nowrap:{flexWrap:"nowrap"},flex_0:{flex:"0 0 auto"},flex_1:{flex:1},flex_grow:{flexGrow:1},flex_grow_0:{flexGrow:0},flex_shrink:{flexShrink:1},flex_shrink_0:{flexShrink:0},justify_start:{justifyContent:"flex-start"},justify_center:{justifyContent:"center"},justify_between:{justifyContent:"space-between"},justify_end:{justifyContent:"flex-end"},align_center:{alignItems:"center"},align_start:{alignItems:"flex-start"},align_end:{alignItems:"flex-end"},align_baseline:{alignItems:"baseline"},align_stretch:{alignItems:"stretch"},self_auto:{alignSelf:"auto"},self_start:{alignSelf:"flex-start"},self_end:{alignSelf:"flex-end"},self_center:{alignSelf:"center"},self_stretch:{alignSelf:"stretch"},self_baseline:{alignSelf:"baseline"},text_left:{textAlign:"left"},text_center:{textAlign:"center"},text_right:{textAlign:"right"},text_2xs:{fontSize:o.fontSize._2xs,letterSpacing:o.TRACKING},text_xs:{fontSize:o.fontSize.xs,letterSpacing:o.TRACKING},text_sm:{fontSize:o.fontSize.sm,letterSpacing:o.TRACKING},text_md:{fontSize:o.fontSize.md,letterSpacing:o.TRACKING},text_lg:{fontSize:o.fontSize.lg,letterSpacing:o.TRACKING},text_xl:{fontSize:o.fontSize.xl,letterSpacing:o.TRACKING},text_2xl:{fontSize:o.fontSize._2xl,letterSpacing:o.TRACKING},text_3xl:{fontSize:o.fontSize._3xl,letterSpacing:o.TRACKING},text_4xl:{fontSize:o.fontSize._4xl,letterSpacing:o.TRACKING},text_5xl:{fontSize:o.fontSize._5xl,letterSpacing:o.TRACKING},leading_tight:{lineHeight:o.lineHeight.tight},leading_snug:{lineHeight:o.lineHeight.snug},leading_relaxed:{lineHeight:o.lineHeight.relaxed},leading_normal:{lineHeight:o.lineHeight.relaxed},tracking_normal:{letterSpacing:o.TRACKING},font_normal:{fontWeight:o.fontWeight.normal},font_medium:{fontWeight:o.fontWeight.medium},font_semi_bold:{fontWeight:o.fontWeight.semiBold},font_bold:{fontWeight:o.fontWeight.bold},italic:{fontStyle:"italic"},border_0:{borderWidth:0},border_t_0:{borderTopWidth:0},border_b_0:{borderBottomWidth:0},border_l_0:{borderLeftWidth:0},border_r_0:{borderRightWidth:0},border_x_0:{borderLeftWidth:0,borderRightWidth:0},border_y_0:{borderTopWidth:0,borderBottomWidth:0},border:{borderWidth:1},border_t:{borderTopWidth:1},border_b:{borderBottomWidth:1},border_l:{borderLeftWidth:1},border_r:{borderRightWidth:1},border_x:{borderLeftWidth:1,borderRightWidth:1},border_y:{borderTopWidth:1,borderBottomWidth:1},border_transparent:{borderColor:"transparent"},curve_circular:{},curve_continuous:{},shadow_xs:{},shadow_sm:{},shadow_md:{},shadow_lg:{},shadow_xl:{},gutter_tight:{padding:o.space.sm},gutter_x_tight:{paddingLeft:o.space.sm,paddingRight:o.space.sm},gutter_y_tight:{paddingTop:o.space.sm,paddingBottom:o.space.sm},gutter_snug:{padding:o.space.md},gutter_x_snug:{paddingLeft:o.space.md,paddingRight:o.space.md},gutter_y_snug:{paddingTop:o.space.md,paddingBottom:o.space.md},gutter_default:{padding:o.space.lg},gutter_x_default:{paddingLeft:o.space.lg,paddingRight:o.space.lg},gutter_y_default:{paddingTop:o.space.lg,paddingBottom:o.space.lg},gutter_wide:{padding:o.space.xl},gutter_x_wide:{paddingLeft:o.space.xl,paddingRight:o.space.xl},gutter_y_wide:{paddingTop:o.space.xl,paddingBottom:o.space.xl},gutter_extra_wide:{padding:o.space._2xl},gutter_x_extra_wide:{paddingLeft:o.space._2xl,paddingRight:o.space._2xl},gutter_y_extra_wide:{paddingTop:o.space._2xl,paddingBottom:o.space._2xl},p_0:{padding:0},p_2xs:{padding:o.space._2xs},p_xs:{padding:o.space.xs},p_sm:{padding:o.space.sm},p_md:{padding:o.space.md},p_lg:{padding:o.space.lg},p_xl:{padding:o.space.xl},p_2xl:{padding:o.space._2xl},p_3xl:{padding:o.space._3xl},p_4xl:{padding:o.space._4xl},p_5xl:{padding:o.space._5xl},px_0:{paddingLeft:0,paddingRight:0},px_2xs:{paddingLeft:o.space._2xs,paddingRight:o.space._2xs},px_xs:{paddingLeft:o.space.xs,paddingRight:o.space.xs},px_sm:{paddingLeft:o.space.sm,paddingRight:o.space.sm},px_md:{paddingLeft:o.space.md,paddingRight:o.space.md},px_lg:{paddingLeft:o.space.lg,paddingRight:o.space.lg},px_xl:{paddingLeft:o.space.xl,paddingRight:o.space.xl},px_2xl:{paddingLeft:o.space._2xl,paddingRight:o.space._2xl},px_3xl:{paddingLeft:o.space._3xl,paddingRight:o.space._3xl}
2,px_4xl:{paddingLeft:o.space._4xl,paddingRight:o.space._4xl},px_5xl:{paddingLeft:o.space._5xl,paddingRight:o.space._5xl},py_0:{paddingTop:0,paddingBottom:0},py_2xs:{paddingTop:o.space._2xs,paddingBottom:o.space._2xs},py_xs:{paddingTop:o.space.xs,paddingBottom:o.space.xs},py_sm:{paddingTop:o.space.sm,paddingBottom:o.space.sm},py_md:{paddingTop:o.space.md,paddingBottom:o.space.md},py_lg:{paddingTop:o.space.lg,paddingBottom:o.space.lg},py_xl:{paddingTop:o.space.xl,paddingBottom:o.space.xl},py_2xl:{paddingTop:o.space._2xl,paddingBottom:o.space._2xl},py_3xl:{paddingTop:o.space._3xl,paddingBottom:o.space._3xl},py_4xl:{paddingTop:o.space._4xl,paddingBottom:o.space._4xl},py_5xl:{paddingTop:o.space._5xl,paddingBottom:o.space._5xl},pt_0:{paddingTop:0},pt_2xs:{paddingTop:o.space._2xs},pt_xs:{paddingTop:o.space.xs},pt_sm:{paddingTop:o.space.sm},pt_md:{paddingTop:o.space.md},pt_lg:{paddingTop:o.space.lg},pt_xl:{paddingTop:o.space.xl},pt_2xl:{paddingTop:o.space._2xl},pt_3xl:{paddingTop:o.space._3xl},pt_4xl:{paddingTop:o.space._4xl},pt_5xl:{paddingTop:o.space._5xl},pb_0:{paddingBottom:0},pb_2xs:{paddingBottom:o.space._2xs},pb_xs:{paddingBottom:o.space.xs},pb_sm:{paddingBottom:o.space.sm},pb_md:{paddingBottom:o.space.md},pb_lg:{paddingBottom:o.space.lg},pb_xl:{paddingBottom:o.space.xl},pb_2xl:{paddingBottom:o.space._2xl},pb_3xl:{paddingBottom:o.space._3xl},pb_4xl:{paddingBottom:o.space._4xl},pb_5xl:{paddingBottom:o.space._5xl},pl_0:{paddingLeft:0},pl_2xs:{paddingLeft:o.space._2xs},pl_xs:{paddingLeft:o.space.xs},pl_sm:{paddingLeft:o.space.sm},pl_md:{paddingLeft:o.space.md},pl_lg:{paddingLeft:o.space.lg},pl_xl:{paddingLeft:o.space.xl},pl_2xl:{paddingLeft:o.space._2xl},pl_3xl:{paddingLeft:o.space._3xl},pl_4xl:{paddingLeft:o.space._4xl},pl_5xl:{paddingLeft:o.space._5xl},pr_0:{paddingRight:0},pr_2xs:{paddingRight:o.space._2xs},pr_xs:{paddingRight:o.space.xs},pr_sm:{paddingRight:o.space.sm},pr_md:{paddingRight:o.space.md},pr_lg:{paddingRight:o.space.lg},pr_xl:{paddingRight:o.space.xl},pr_2xl:{paddingRight:o.space._2xl},pr_3xl:{paddingRight:o.space._3xl},pr_4xl:{paddingRight:o.space._4xl},pr_5xl:{paddingRight:o.space._5xl},m_0:{margin:0},m_2xs:{margin:o.space._2xs},m_xs:{margin:o.space.xs},m_sm:{margin:o.space.sm},m_md:{margin:o.space.md},m_lg:{margin:o.space.lg},m_xl:{margin:o.space.xl},m_2xl:{margin:o.space._2xl},m_3xl:{margin:o.space._3xl},m_4xl:{margin:o.space._4xl},m_5xl:{margin:o.space._5xl},m_auto:{margin:"auto"},mx_0:{marginLeft:0,marginRight:0},mx_2xs:{marginLeft:o.space._2xs,marginRight:o.space._2xs},mx_xs:{marginLeft:o.space.xs,marginRight:o.space.xs},mx_sm:{marginLeft:o.space.sm,marginRight:o.space.sm},mx_md:{marginLeft:o.space.md,marginRight:o.space.md},mx_lg:{marginLeft:o.space.lg,marginRight:o.space.lg},mx_xl:{marginLeft:o.space.xl,marginRight:o.space.xl},mx_2xl:{marginLeft:o.space._2xl,marginRight:o.space._2xl},mx_3xl:{marginLeft:o.space._3xl,marginRight:o.space._3xl},mx_4xl:{marginLeft:o.space._4xl,marginRight:o.space._4xl},mx_5xl:{marginLeft:o.space._5xl,marginRight:o.space._5xl},mx_auto:{marginLeft:"auto",marginRight:"auto"},my_0:{marginTop:0,marginBottom:0},my_2xs:{marginTop:o.space._2xs,marginBottom:o.space._2xs},my_xs:{marginTop:o.space.xs,marginBottom:o.space.xs},my_sm:{marginTop:o.space.sm,marginBottom:o.space.sm},my_md:{marginTop:o.space.md,marginBottom:o.space.md},my_lg:{marginTop:o.space.lg,marginBottom:o.space.lg},my_xl:{marginTop:o.space.xl,marginBottom:o.space.xl},my_2xl:{marginTop:o.space._2xl,marginBottom:o.space._2xl},my_3xl:{marginTop:o.space._3xl,marginBottom:o.space._3xl},my_4xl:{marginTop:o.space._4xl,marginBottom:o.space._4xl},my_5xl:{marginTop:o.space._5xl,marginBottom:o.space._5xl},my_auto:{marginTop:"auto",marginBottom:"auto"},mt_0:{marginTop:0},mt_2xs:{marginTop:o.space._2xs},mt_xs:{marginTop:o.space.xs},mt_sm:{marginTop:o.space.sm},mt_md:{marginTop:o.space.md},mt_lg:{marginTop:o.space.lg},mt_xl:{marginTop:o.space.xl},mt_2xl:{marginTop:o.space._2xl},mt_3xl:{marginTop:o.space._3xl},mt_4xl:{marginTop:o.space._4xl},mt_5xl:{marginTop:o.space._5xl},mt_auto:{marginTop:"auto"},mb_0:{marginBottom:0},mb_2xs:{marginBottom:o.space._2xs},mb_xs:{marginBottom:o.space.xs},mb_sm:{marginBottom:o.space.sm},mb_md:{marginBottom:o.space.md},mb_lg:{marginBottom:o.space.lg},mb_xl:{marginBottom:o.space.xl},mb_2xl:{marginBottom:o.space._2xl},mb_3xl:{marginBottom:o.space._3xl},mb_4xl:{marginBottom:o.space._4xl},mb_5xl:{marginBottom:o.space._5xl},mb_auto:{marginBottom:"auto"},ml_0:{marginLeft:0},ml_2xs:{marginLeft:o.space._2xs},ml_xs:{marginLeft:o.space.xs},ml_sm:{marginLeft:o.space.sm},ml_md:{marginLeft:o.space.md},ml_lg:{marginLeft:o.space.lg},ml_xl:{marginLeft:o.space.xl},ml_2xl:{marginLeft:o.space._2xl},ml_3xl:{marginLeft:o.space._3xl},ml_4xl:{marginLeft:o.space._4xl},ml_5xl:{marginLeft:o.space._5xl},ml_auto:{marginLeft:"auto"},mr_0:{marginRight:0},mr_2xs:{marginRight:o.space._2xs},mr_xs:{marginRight:o.space.xs},mr_sm:{marginRight:o.space.sm},mr_md:{marginRight:o.space.md},mr_lg:{marginRight:o.space.lg},mr_xl:{marginRight:o.space.xl},mr_2xl:{marginRight:o.space._2xl},mr_3xl:{marginRight:o.space._3xl},mr_4xl:{marginRight:o.space._4xl},mr_5xl:{marginRight:o.space._5xl},mr_auto:{marginRight:"auto"},pointer_events_none:{pointerEvents:"none"},pointer_events_auto:{pointerEvents:"auto"},pointer_events_box_only:{pointerEvents:"box-only"},pointer_events_box_none:{pointerEvents:"box-none"},user_select_none:{userSelect:"none"},user_select_text:{userSelect:"text"},user_select_all:{userSelect:"all"},outline_inset_1:{outlineOffset:-1},underline:{textDecorationLine:"underline"},strike_through:{textDecorationLine:"line-through"}
2,hidden:{display:"none"},contents:{display:"contents"},inline:{display:"inline"},block:{display:"block"},pointer:{cursor:"pointer"}}},58882(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(16109),t)},19187(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},o=this&&this.__importStar||function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var a=e(t),o=0;o<a.length;o++)"default"!==a[o]&&r(n,t,a[o]);return i(n,t),n}}();Object.defineProperty(t,"__esModule",{value:!0}),t.Context=t.utils=t.tokens=void 0,t.Provider=function({children:e,activeTheme:n,themes:r}){const i=(0,l.useMemo)(()=>({theme:r[n]}),[n,r]);return(0,s.jsx)(t.Context.Provider,{value:i,children:e})},t.useTheme=function(){return(0,l.useContext)(t.Context).theme};const s=n(60397),l=n(36665),c=n(26773);a(n(58882),t),a(n(91282),t),a(n(26773),t),a(n(33791),t),t.tokens=o(n(48213)),t.utils=o(n(59037)),t.Context=(0,l.createContext)({theme:c.themes.light}),t.Context.displayName="AlfContext"},91282(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_SUBDUED_PALETTE=t.DEFAULT_PALETTE=void 0,t.invertPalette=function(e){return{white:e.white,black:e.black,pink:e.pink,yellow:e.yellow,like:e.like,contrast_0:e.contrast_1000,contrast_25:e.contrast_975,contrast_50:e.contrast_950,contrast_100:e.contrast_900,contrast_200:e.contrast_800,contrast_300:e.contrast_700,contrast_400:e.contrast_600,contrast_500:e.contrast_500,contrast_600:e.contrast_400,contrast_700:e.contrast_300,contrast_800:e.contrast_200,contrast_900:e.contrast_100,contrast_950:e.contrast_50,contrast_975:e.contrast_25,contrast_1000:e.contrast_0,primary_25:e.primary_975,primary_50:e.primary_950,primary_100:e.primary_900,primary_200:e.primary_800,primary_300:e.primary_700,primary_400:e.primary_600,primary_500:e.primary_500,primary_600:e.primary_400,primary_700:e.primary_300,primary_800:e.primary_200,primary_900:e.primary_100,primary_950:e.primary_50,primary_975:e.primary_25,positive_25:e.positive_975,positive_50:e.positive_950,positive_100:e.positive_900,positive_200:e.positive_800,positive_300:e.positive_700,positive_400:e.positive_600,positive_500:e.positive_500,positive_600:e.positive_400,positive_700:e.positive_300,positive_800:e.positive_200,positive_900:e.positive_100,positive_950:e.positive_50,positive_975:e.positive_25,negative_25:e.negative_975,negative_50:e.negative_950,negative_100:e.negative_900,negative_200:e.negative_800,negative_300:e.negative_700,negative_400:e.negative_600,negative_500:e.negative_500,negative_600:e.negative_400,negative_700:e.negative_300,negative_800:e.negative_200,negative_900:e.negative_100,negative_950:e.negative_50,negative_975:e.negative_25}};const n="#FFFFFF",r="#000000",i="#EC4899",a="#FFC404";t.DEFAULT_PALETTE={white:n,black:r,pink:i,yellow:a,like:i,contrast_0:"#FFFFFF",contrast_25:"#F9FAFB",contrast_50:"#EFF2F6",contrast_100:"#DCE2EA",contrast_200:"#C0CAD8",contrast_300:"#A5B2C5",contrast_400:"#8798B0",contrast_500:"#667B99",contrast_600:"#526580",contrast_700:"#405168",contrast_800:"#313F54",contrast_900:"#232E3E",contrast_950:"#19222E",contrast_975:"#111822",contrast_1000:"#000000",primary_25:"#F5F9FF",primary_50:"#E5F0FF",primary_100:"#CCE1FF",primary_200:"#A8CCFF",primary_300:"#75AFFF",primary_400:"#4291FF",primary_500:"#006AFF",primary_600:"#0059D6",primary_700:"#0048AD",primary_800:"#00398A",primary_900:"#002861",primary_950:"#001E47",primary_975:"#001533",positive_25:"#ECFEF5",positive_50:"#D3FDE8",positive_100:"#A3FACF",positive_200:"#6AF6B0",positive_300:"#2CF28F",positive_400:"#0DD370",positive_500:"#09B35E",positive_600:"#04904A",positive_700:"#036D38",positive_800:"#04522B",positive_900:"#033F21",positive_950:"#032A17",positive_975:"#021D0F",negative_25:"#FFF5F7",negative_50:"#FEE7EC",negative_100:"#FDD3DD",negative_200:"#FBBBCA",negative_300:"#F891A9",negative_400:"#F65A7F",negative_500:"#E91646",negative_600:"#CA123D",negative_700:"#A71134",negative_800:"#7F0B26",negative_900:"#5F071C",negative_950:"#430413",negative_975:"#30030D"},t.DEFAULT_SUBDUED_PALETTE={white:n,black:r,pink:i,yellow:a,like:i,contrast_0:"#FFFFFF",contrast_25:"#F9FAFB",contrast_50:"#F2F4F8",contrast_100:"#E2E7EE",contrast_200:"#C3CDDA",contrast_300:"#ABB8C9",contrast_400:"#8D9DB4",contrast_500:"#6F839F",contrast_600:"#586C89",contrast_700:"#485B75",contrast_800:"#394960",contrast_900:"#2C3A4E",contrast_950:"#222E3F",contrast_975:"#1C2736",contrast_1000:"#151D28",primary_25:"#F5F9FF",primary_50:"#EBF3FF",primary_100:"#D6E7FF",primary_200:"#ADCFFF",primary_300:"#80B5FF",primary_400:"#4D97FF",primary_500:"#0F73FF",primary_600:"#0661E0",primary_700:"#0A52B8",primary_800:"#0E4490",primary_900:"#123464",primary_950:"#122949",primary_975:"#122136",positive_25:"#ECFEF5",positive_50:"#D8FDEB",positive_100:"#A8FAD1",positive_200:"#6FF6B3",positive_300:"#31F291",positive_400:"#0EDD75",positive_500:"#0AC266",positive_600:"#049F52",positive_700:"#038142",positive_800:"#056636",positive_900:"#04522B",positive_950:"#053D21",positive_975:"#0529
217",negative_25:"#FFF5F7",negative_50:"#FEEBEF",negative_100:"#FDD8E1",negative_200:"#FCC0CE",negative_300:"#F99AB0",negative_400:"#F76486",negative_500:"#EB2452",negative_600:"#D81341",negative_700:"#BA1239",negative_800:"#910D2C",negative_900:"#6F0B22",negative_950:"#500B1C",negative_975:"#3E0915"}},33791(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.platform=t.native=t.android=t.ios=t.web=t.isFabric=t.isWeb=t.isNative=t.isAndroid=t.isIOS=void 0,t.isIOS=!1,t.isAndroid=!1,t.isNative=!1,t.isWeb=!0,t.isFabric=Boolean(n.g?.nativeFabricUIManager);t.web=e=>t.isWeb?e:void 0;t.ios=e=>t.isIOS?e:void 0;t.android=e=>t.isAndroid?e:void 0;t.native=e=>t.isNative?e:void 0,t.platform=e=>e.web||e.default},26773(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.themes=void 0,t.createTheme=o,t.createThemes=s;const r=n(58882),i=n(14393),a=n(91282);function o({scheme:e,name:t,palette:n,options:a={}}){const o=a.shadowOpacity??.1,s=(0,i.alpha)(n.black,o);return{scheme:e,name:t,palette:n,atoms:{text:{color:n.contrast_1000},text_link:{color:"dark"===e?n.primary_600:n.primary_500},text_contrast_low:{color:n.contrast_400},text_contrast_medium:{color:n.contrast_700},text_contrast_high:{color:n.contrast_900},text_inverted:{color:n.contrast_0},bg:{backgroundColor:n.contrast_0},bg_contrast_25:{backgroundColor:n.contrast_25},bg_contrast_50:{backgroundColor:n.contrast_50},bg_contrast_100:{backgroundColor:n.contrast_100},bg_contrast_200:{backgroundColor:n.contrast_200},bg_contrast_300:{backgroundColor:n.contrast_300},bg_contrast_400:{backgroundColor:n.contrast_400},bg_contrast_500:{backgroundColor:n.contrast_500},bg_contrast_600:{backgroundColor:n.contrast_600},bg_contrast_700:{backgroundColor:n.contrast_700},bg_contrast_800:{backgroundColor:n.contrast_800},bg_contrast_900:{backgroundColor:n.contrast_900},bg_contrast_950:{backgroundColor:n.contrast_950},bg_contrast_975:{backgroundColor:n.contrast_975},border_contrast_low:{borderColor:n.contrast_100},border_contrast_medium:{borderColor:n.contrast_200},border_contrast_high:{borderColor:n.contrast_300},shadow_xs:{...r.atoms.shadow_xs,shadowColor:n.black,boxShadow:`0 2px 8px 0 ${s}`},shadow_sm:{...r.atoms.shadow_sm,shadowColor:n.black,boxShadow:`0 4px 6px -1px ${s}, 0 2px 4px -2px ${s}`},shadow_md:{...r.atoms.shadow_md,shadowColor:n.black,boxShadow:`0 10px 15px -3px ${s}, 0 4px 6px -4px ${s}`},shadow_lg:{...r.atoms.shadow_lg,shadowColor:n.black,boxShadow:`0 20px 25px -5px ${s}, 0 8px 10px -6px ${s}`},shadow_xl:{...r.atoms.shadow_xl,shadowColor:n.black,boxShadow:`0 10px 40px 0 ${s}`}}}}function s({defaultPalette:e,subduedPalette:t}){return{light:o({scheme:"light",name:"light",palette:e}),dark:o({scheme:"dark",name:"dark",palette:(0,a.invertPalette)(e),options:{shadowOpacity:.4}}),dim:o({scheme:"dark",name:"dim",palette:(0,a.invertPalette)(t),options:{shadowOpacity:.4}})}}t.themes=s({defaultPalette:a.DEFAULT_PALETTE,subduedPalette:a.DEFAULT_SUBDUED_PALETTE})},48213(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.labelerColor=t.fontWeight=t.borderRadius=t.lineHeight=t.fontSize=t.space=t.TRACKING=void 0,t.TRACKING=0,t.space={_2xs:2,xs:4,sm:8,md:12,lg:16,xl:20,_2xl:24,_3xl:28,_4xl:32,_5xl:40},t.fontSize={_2xs:9.4,xs:11.3,sm:13.1,md:15,lg:16.9,xl:18.8,_2xl:20.6,_3xl:24.3,_4xl:30,_5xl:37.5},t.lineHeight={tight:1.15,snug:1.3,relaxed:1.5},t.borderRadius={_2xs:2,xs:4,sm:8,md:12,lg:16,xl:20,full:999},t.fontWeight={normal:"400",medium:"500",semiBold:"600",bold:"700"},t.labelerColor={purple:"rgb(105 0 255)",purple_dark:"rgb(83 0 202)"}},14393(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.alpha=function(e,t){if(e.startsWith("hsl("))return"hsla("+e.slice(4,-1)+`, ${t})`;if(e.startsWith("rgb("))return"rgba("+e.slice(4,-1)+`, ${t})`;if(e.startsWith("#")){if(7===e.length){const n=Math.round(255*t).toString(16);return e.slice(0,7)+n.padStart(2,n)}if(4===e.length){const[n,r,i]=e.slice(1).split(""),a=Math.round(255*t).toString(16);return`#${n.repeat(2)}${r.repeat(2)}${i.repeat(2)}${a.padStart(2,a)}`}}return e}},75956(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.flatten=void 0;const r=n(94868);t.flatten=r.StyleSheet.flatten},59037(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(14393),t),i(n(9347),t),i(n(75956),t),i(n(77721),t)},9347(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var a=e(t),o=0;o<a.length;o++)"default"!==a[o]&&r(n,t,a[o]);return i(n,t),n}}();Object.defineProperty(t,"__esModule",{value:!0}),t.leading=function(e){const t=e?.lineHeight||s.lineHeight.snug;if(o.isWeb)return{lineHeight:String(t)};{const n=e?.fontSize||s.fontSize.sm;return{lineHeight:Math.round(n*t)}}};const o=n(33791),s=a(n(48213))},77721(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.select=function(e,t){switch(e){case"light":return t.light;case"dark":return t.dark;case"dim":return t.dim;default:return t.default}}},13905(e,t,n){"use strict";n.r(t),n.d(t,{Menu:()=>o,MenuItem:()=>s,MenuItemIcon:()=>l,MenuItemText:()=>c,Root:()=>h,Trigger:()=>m});const r="__ExpoBlueskyPeekMenuKind__";function i(e,t){return e[r]=t,e}function a(e){if(e&&"function"===typeof e)return e[r]}const o=i(function(e){return null},"menu");const s=i(function(e){return null},"item");const l=i(function(e){return null},"item-icon");const c=i(function(e){return null},"item-text");var u=n(60397),d=n(36665),p=n(73929);function f({children:e,style:t}){return(0,u.jsx)(p.default,{style:t,children:e})}function h({children:e,style:t}){const{trigger:n,menu:r}=function(e){const t={};return d.Children.forEach(e,e=>{if(!(0,d.isValidElement)(e))return;const n=a(e.type);"trigger"===n?t.trigger=e:"menu"===n&&(t.menu=e)}),t}(e),{menuItems:i,selectById:o}=(0,d.useMemo)(()=>{const e=[],t={};return r&&d.Children.forEach(r.props.children,n=>{if(!(0,d.isValidElement)(n))return;if("item"!==a(n.type))return;const r=function(e){const{id:t,destructive:n,disabled:r,onSelect:i,children:o}=e.props;let s,l="";return d.Children.forEach(o,e=>{if(!(0,d.isValidElement)(e))return;const t=a(e.type);if("item-text"===t){const t=e.props.children;"string"===typeof t&&(l=t)}else if("item-icon"===t){const t=e.props.icon;
2t?.svgPaths?.length&&(s={paths:t.svgPaths,viewBox:t.svgViewBox,strokeWidth:t.svgStrokeWidth})}}),l?{item:{id:t,label:l,destructive:n,disabled:r,icon:s},onSelect:i}:null}(n);r&&(e.push(r.item),t[r.item.id]=r.onSelect)}),{menuItems:e,selectById:t}},[r]),s=(0,d.useCallback)(e=>{o[e.nativeEvent.id]?.()},[o]),l=n?.props.onPreviewPress,c=(0,d.useCallback)(()=>{l?.()},[l]);return n?(0,u.jsx)(f,{preview:n.props.preview,menuItems:i,previewCornerRadius:n.props.borderRadius??0,onItemPress:s,onPreviewPress:c,style:[t,n.props.style],children:n.props.children}):(0,u.jsx)(u.Fragment,{children:e})}const m=i(function(e){return null},"trigger")},575(e,t,n){"use strict";n.r(t),n.d(t,{Sift:()=>p,SiftItem:()=>f,useSift:()=>u});var r=n(60397),i=n(36665),a=n(73929),o=n(90932),s=n(35708);var l=n(78833);const c={position:"absolute"};function u({offset:e=0,placement:t="bottom",dynamicWidth:n=!1}={}){const r=(0,i.useId)(),a=(0,l.useSafeAreaInsets)(),o=(0,l.useSafeAreaFrame)(),[s,u]=(0,i.useState)(null),[d,p]=(0,i.useState)(null),[f,h]=(0,i.useState)(c),m=(0,i.useRef)(null),g=(0,i.useRef)(null),y=(0,i.useRef)(null),v=(0,i.useRef)({offset:e,placement:t,dynamicWidth:n,insets:a,window:o});v.current={offset:e,placement:t,dynamicWidth:n,insets:a,window:o};const b=(0,i.useCallback)(async()=>{if(!m.current||!g.current)return;const e=await function({anchor:e,input:t,popover:n},r){const i=e.getBoundingClientRect(),a=t.getBoundingClientRect(),o=n?.getBoundingClientRect();if(!i.width||!a.width)return null;if(o&&!o.width&&!o.height)return null;const s=o?.width??0,[l,c]=r.placement.split("-"),u=r.insets?.top??0,d=r.insets?.bottom??0;let p,f,h,m="auto",g="auto";return"top"===l?(g=r.window.height-i.top+r.offset,p=i.top-r.offset-u):(m=i.bottom+r.offset,p=r.window.height-d-i.bottom-r.offset),f="start"===c?i.left:"end"===c?i.right-s:i.left+(i.width-s)/2,!1===r.dynamicWidth&&(f=i.left,h=i.width),{position:"fixed",top:m,bottom:g,left:f,maxWidth:h,maxHeight:p}}({anchor:y.current||m.current,input:m.current,popover:g.current},v.current);e&&h(e)},[]),_=(0,i.useCallback)(e=>{m.current=e,u(e)},[]);return{id:r,refs:{setPopover:(0,i.useCallback)(e=>{g.current=e,p(e),e?b():h(c)},[b]),setAnchor:(0,i.useCallback)(e=>{e&&e!==y.current&&(y.current=e,b())},[b])},elements:{input:s,popover:d},isActive:()=>!!d,popoverStyles:f,updatePosition:b,targetProps:{ref:_,role:"combobox","aria-controls":r,"aria-expanded":!!d,"aria-autocomplete":"list"}}}const d=e=>e.key;function p({sift:e,data:t,render:n,outerStyle:s,innerStyle:l,onSelect:c,onDismiss:u,inverted:p}){const[f,h]=(0,i.useState)(0),m=(0,i.useRef)(f);m.current=f;const g=(0,i.useRef)(t.length);g.current=t.length;const y=(0,i.useRef)(e.updatePosition);y.current=e.updatePosition;const v=(0,i.useRef)(n);v.current=n;const b=(0,i.useRef)(c);b.current=c,(0,i.useEffect)(()=>{0!==m.current&&h(0),y.current()},[t.length]);const _=(0,i.useCallback)(()=>{0!==g.current&&h(e=>(e+1)%g.current)},[]),w=(0,i.useCallback)(()=>{0!==g.current&&h(e=>(e-1+g.current)%g.current)},[]),k=(0,i.useCallback)(()=>{0!==g.current&&h(0)},[]),S=(0,i.useCallback)(()=>{0!==g.current&&h(g.current-1)},[]);!function(e){const t=(0,i.useRef)(e);t.current=e,(0,i.useEffect)(()=>{const n=e.sift.elements.input;if(n)return"addEventListener"in n&&n.addEventListener("keydown",r),()=>{"removeEventListener"in n&&n.removeEventListener("keydown",r)};function r(e){if(!t.current.sift.isActive())return;let n=!1;switch(e.key){case"ArrowDown":n=!0,t.current.onArrowDown();break;case"ArrowUp":n=!0,t.current.onArrowUp();break;case"Enter":case"Tab":n=!0,t.current.onSelect();break;case"Home":n=!0,t.current.onHome();break;case"End":n=!0,t.current.onEnd();break;case"Escape":n=!0,t.current.onDismiss?.()}n&&(e.stopPropagation(),e.preventDefault())}},[e.sift.elements.input])}({sift:e,onArrowDown:p?w:_,onArrowUp:p?_:w,onHome:p?S:k,onEnd:p?k:S,onSelect:()=>{c?.(t[m.current])},onDismiss:u});const x=null!=e.popoverStyles.top;return(0,r.jsx)(a.default,{collapsable:!1,ref:e.refs.setPopover,role:"listbox",id:e.id,style:[{width:"100%"},s,e.popoverStyles,!x&&{opacity:0}],onMouseDown:e=>{e.preventDefault()},children:(0,r.jsx)(o.default,{data:t,inverted:p,keyExtractor:d,extraData:f,renderItem:(0,i.useCallback)(e=>v.current({index:e.index,isFirst:0===e.index,isLast:e.index===t.length-1,active:e.index===m.current,props:{role:"option","aria-selected":e.index===m.current,onPress:()=>b.current?.(e.item)},item:e.item}),[]),keyboardShouldPersistTaps:"handled",style:l})})}function f({children:e,role:t,style:n,...i}){return(0,r.jsx)(s.default,{role:t,style:n,...i,children:e})}}
2,82941(e,t,n){"use strict";n.r(t),n.d(t,{Tapper:()=>_,facets:()=>r,useTapper:()=>w});var r={};n.r(r),n.d(r,{emoji:()=>l,mention:()=>s,tag:()=>c,url:()=>d});var i=n(36665),a=n(95991),o=n(99011);const s=/(^|\s|\()@([a-zA-Z0-9.-]+)\b/g,l=/(^|\s|\():([a-zA-Z0-9_]+):/g,c=/(^|\s|\()[#\uff03]((?!\ufe0f)[^\s\u00AD\u2060\u200A\u200B\u200C\u200D\u20e2]*[^\d\s\p{P}\u00AD\u2060\u200A\u200B\u200C\u200D\u20e2]+[^\s\u00AD\u2060\u200A\u200B\u200C\u200D\u20e2\p{P}]*)?/gu,u=new Set(o),d={pattern:/(^|\s|\()((https?:\/\/[\S]+)|((?<domain>[a-z][a-z0-9]*(\.[a-z0-9]+)+)[\S]*))/gim,validate:e=>{if(e[3])return!0;const t=e[5];return!!t&&u.has(t.slice(t.lastIndexOf(".")+1))}},p=/\s/,f="(^|\\s|\\()";function h(e,t){if(0===t)return!0;const n=e[t-1];return"("===n||p.test(n)}let m=0;function g(e,t,n,r,i){const a=[];for(const[u,{regex:d,validate:p}]of t){d.lastIndex=0;const t=d.source.startsWith(f);let n;for(;null!==(n=d.exec(e));){if(""===n[0]&&d.lastIndex++,p&&!p(n))continue;const e=t?n[1]?.length??0:0,r=n[0].slice(e);a.push({facetName:u,fullMatch:r,capture:(t?n[2]:n[1])??r,index:n.index+e})}}a.sort((e,t)=>e.index-t.index||t.fullMatch.length-e.fullMatch.length);const o=[];let s=0;for(const u of a)u.index>=s&&(o.push(u),s=u.index+u.fullMatch.length);const l=[];let c=0;for(const u of o){if(u.index>c){const t=e.slice(c,u.index);l.push({id:m++,type:"text",raw:t,value:t,start:c,end:u.index})}l.push({id:m++,type:"facet",facetType:u.facetName,raw:u.fullMatch,value:u.capture,start:u.index,end:u.index+u.fullMatch.length}),c=u.index+u.fullMatch.length}if(c<e.length){const t=e.slice(c);l.push({id:m++,type:"text",raw:t,value:t,start:c,end:e.length})}if(null!=r&&i)for(let u=r-1;u>=0;u--){const t=e[u];if(p.test(t))break;const n=i.get(t);if(n&&h(e,u)){const i=l.findIndex(e=>"text"===e.type&&e.start<=u&&e.end>u);if(-1!==i){const a=l[i],o=[];if(a.start<u){const t=e.slice(a.start,u);o.push({id:m++,type:"text",raw:t,value:t,start:a.start,end:u})}const s=e.slice(u,r);if(o.push({id:m++,type:"trigger",facetType:n,raw:s,value:e.slice(u+t.length,r),start:u,end:r}),r<a.end){const t=e.slice(r,a.end);o.push({id:m++,type:"text",raw:t,value:t,start:r,end:a.end})}l.splice(i,1,...o)}break}}if(n){const e=new Map,t=new Map;for(const i of n){if("facet"!==i.type)continue;const n=e.get(i.facetType)??0;e.set(i.facetType,n+1),t.set(`${i.facetType}:${n}`,i)}e.clear();for(const n of l){if("facet"!==n.type)continue;const r=e.get(n.facetType)??0;e.set(n.facetType,r+1);const i=t.get(`${n.facetType}:${r}`);i&&(n.id=i.id,i.committed&&(n.committed=!0))}const r=new Map;for(const i of n)"text"===i.type&&r.set(i.start,i);for(const n of l)if("text"===n.type){const e=r.get(n.start);e&&(n.id=e.id)}}return l}function y(e){return{type:e.facetType,raw:e.raw,value:e.value,range:{start:e.start,end:e.end}}}function v(e,t,n,r){for(const i of e){if("trigger"===i.type&&i.start<n&&n<=i.end)return{type:i.facetType,raw:i.raw,value:i.value,range:{start:i.start,end:i.end}};if("facet"===i.type&&!i.committed&&i.start<n&&n<=i.end)return{type:i.facetType,raw:i.raw,value:i.value,range:{start:i.start,end:i.end}}}if(!e.some(e=>"facet"===e.type&&e.committed&&e.start<n&&n<=e.end))for(let i=n-1;i>=0;i--){const e=t[i];if(p.test(e))break;const a=r.get(e);if(a&&h(t,i)){return{type:a,raw:t.slice(i,n),value:t.slice(i+1,n),range:{start:i,end:n}}}}return null}const b="web"===a.default.OS;class _{facetRegexes;triggers;listeners=new Map;text="";selection={start:0,end:0};nodes=[];activeFacet=null;inputRef=null;updating=!1;storeListeners=new Set;snapshot;constructor(e){const t=e?.facets||r;this.facetRegexes=function(e){const t=new Map;for(const[n,r]of Object.entries(e)){const e=r instanceof RegExp?r:r.pattern,i=e.flags.includes("g")?e.flags:e.flags+"g";t.set(n,{regex:new RegExp(e.source,i),validate:r instanceof RegExp?void 0:r.validate})}return t}(t),this.triggers=function(e){const t=new Map;for(const[n,r]of Object.entries(e)){const e=r instanceof RegExp?r:r.pattern,i=(e.source.startsWith(f)?e.source.slice(9):e.source).match(/^[^\\([\]{}.*+?^$|]+/);i&&t.set(i[0],n)}return t}(t),this.snapshot={text:this.text,selection:this.selection,nodes:this.nodes,activeFacet:this.activeFacet},e?.initialText&&this.replaceText(e.initialText)}setInputRef=e=>{this.inputRef=e};setInputSelection(e,t){const n=this.inputRef;n&&("function"===typeof n.setSelection?n.setSelection(e,t):"function"===typeof n.setSelectionRange&&n.setSelectionRange(e,t))}subscribe=e=>(this.storeListeners.add(e),()=>this.storeListeners.delete(e));getSnapshot=()=>this.snapshot;on=(e,t)=>(this.listeners.has(e)||this.listeners.set(e,new Set),this.listeners.get(e).add(t),()=>{this.listeners.get(e)?.delete(t)});
2emit(e,t){this.listeners.get(e)?.forEach(e=>e(t))}notify(){this.snapshot={text:this.text,selection:this.selection,nodes:this.nodes,activeFacet:this.activeFacet},this.storeListeners.forEach(e=>e())}update(e,t,n){if(this.updating)return;this.updating=!0;const r=t.end,i=t.start!==t.end,a=e===this.text?this.nodes:g(e,this.facetRegexes,this.nodes,r,this.triggers),o=this.activeFacet,s=i||n?null:v(a,e,r,this.triggers),l=[];if(n)for(const u of a)"facet"!==u.type||u.committed||(u.committed=!0,l.push(u));else if(o&&(!s||s.type!==o.type))for(const u of a)if("facet"===u.type&&u.facetType===o.type&&u.start===o.range.start&&u.end===o.range.end){u.committed=!0,l.push(u);break}const c=s?{...s,replace:this.replace}:null;this.text=e,this.selection=t,this.nodes=a,this.activeFacet=c,this.updating=!1,this.notify();(c?.type!==o?.type||c?.value!==o?.value||c?.range.start!==o?.range.start||c?.range.end!==o?.range.end)&&this.emit("activeFacet",c);for(const u of l)this.emit("facetCommitted",y(u))}handleTextChange=e=>{if(e===this.text)return;const t=e.length-this.text.length;let n=Math.max(this.selection.end+t,0),r=!1;if(-1===t&&n<this.selection.end)for(const a of this.nodes)if("facet"===a.type&&"url"!==a.facetType&&a.committed&&this.selection.end===a.end){const t=a.end-a.start-1;e=e.slice(0,a.start)+e.slice(a.start+t),n=a.start,r=!0;break}const i=t>1;this.update(e,{start:n,end:n},i),r&&this.setInputSelection(n,n)};handleSelectionChange=e=>{const{start:t,end:n}=e.nativeEvent.selection;if(n>this.text.length)return;if(t===this.selection.start&&n===this.selection.end)return;this.selection={start:t,end:n};const r=t!==n?null:v(this.nodes,this.text,n,this.triggers),i=this.activeFacet;if(!(r?.type!==i?.type||r?.value!==i?.value||r?.range.start!==i?.range.start||r?.range.end!==i?.range.end))return this.snapshot={...this.snapshot,selection:this.selection},void this.storeListeners.forEach(e=>e());this.update(this.text,{start:t,end:n})};replaceText=(e,t)=>{const n=this.activeFacet,r=g(e,this.facetRegexes),i=[];for(const l of r)"facet"===l.type&&(l.committed=!0,i.push(l));const a=t??e.length,o=v(r,e,a,this.triggers),s=o?{...o,replace:this.replace}:null;this.text=e,this.selection={start:a,end:a},this.nodes=r,this.activeFacet=s,this.notify(),s!==n&&this.emit("activeFacet",s);
2for(const l of i)this.emit("facetCommitted",y(l))};replace=(e,t)=>{if(!this.activeFacet)return;const n=e+(t?.noTrailingSpace?"":" "),r=this.text.slice(0,this.activeFacet.range.start)+n+this.text.slice(this.activeFacet.range.end),i=this.activeFacet.range.start+n.length;this.activeFacet&&(this.activeFacet.raw=e,this.activeFacet.value=e,this.activeFacet.range={start:this.activeFacet.range.start,end:this.activeFacet.range.start+e.length},this.emit("afterInsert",this.activeFacet)),this.update(r,{start:i,end:i}),this.setInputSelection(i,i)};insert=e=>{const t=this.selection.end,n=this.text.slice(0,t)+e+this.text.slice(t),r=t+e.length;this.update(n,{start:r,end:r}),this.setInputSelection(r,r)}}function w(e){const[t]=(0,i.useState)(()=>new _(e)),n=(0,i.useSyncExternalStore)(t.subscribe,t.getSnapshot),[r,a]=(0,i.useState)(null),o=(0,i.useRef)(null),s=(0,i.useCallback)(e=>{o.current=e,t.setInputRef(e),a(e)},[t]),l=(0,i.useCallback)(()=>r?.focus(),[r]),c=(0,i.useCallback)(()=>r?.blur(),[r]);return{state:n,on:t.on,insert:t.insert,input:{element:r,focus:l,blur:c},inputProps:{ref:s,value:b?n.text:void 0,onChangeText:t.handleTextChange,onSelectionChange:t.handleSelectionChange}}}},37038(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(36665),i=n(54650);function a(e){const t=(0,r.useRef)(null),n=(0,r.useRef)(null);return n.current&&n.current.update(e),(0,r.useEffect)(()=>(n.current=new(0,i.Picker)({...e,ref:t}),()=>{n.current=null}),[]),r.createElement("div",{ref:t})}},13193(t,n,r){"use strict";r.r(n),r.d(n,{BrowserCookieStickyBucketService:()=>we,ExpressCookieStickyBucketService:()=>_e,FeatureString:()=>Fe,FeaturesReady:()=>Ne,GrowthBook:()=>me,GrowthBookContext:()=>Ce,GrowthBookProvider:()=>Ve,IfFeatureEnabled:()=>je,LocalStorageStickyBucketService:()=>be,RedisStickyBucketService:()=>ke,StickyBucketService:()=>ye,clearCache:()=>B.clearCache,configureCache:()=>B.configureCache,getGrowthBookSSRData:()=>Ee,getPolyfills:()=>L.getPolyfills,helpers:()=>B.helpers,prefetchPayload:()=>ge,setPolyfills:()=>B.setPolyfills,useExperiment:()=>Te,useFeature:()=>Ie,useFeatureIsOn:()=>Re,useFeatureValue:()=>Oe,useGrowthBook:()=>De,useGrowthBookSSR:()=>Ae,withRunExperiment:()=>Me});var i=/^[a-zA-Z:_][a-zA-Z0-9:_.-]*$/,a={revert:function(){}},o=new Map,s=new Set;function l(e){var t=o.get(e);return t||(t={element:e,attributes:{}},o.set(e,t)),t}function c(e,t,n,r,i){var a=n(e),o={isDirty:!1,originalValue:a,virtualValue:a,mutations:[],el:e,_positionTimeout:null,observer:new MutationObserver(function(){if("position"!==t||!o._positionTimeout){"position"===t&&(o._positionTimeout=setTimeout(function(){o._positionTimeout=null},1e3));var r=n(e);"position"===t&&r.parentNode===o.virtualValue.parentNode&&r.insertBeforeNode===o.virtualValue.insertBeforeNode||r!==o.virtualValue&&(o.originalValue=r,i(o))}}),mutationRunner:i,setValue:r,getCurrentValue:n};return"position"===t&&e.parentNode?o.observer.observe(e.parentNode,{childList:!0,subtree:!0,attributes:!1,characterData:!1}):o.observer.observe(e,function(e){return"html"===e?{childList:!0,subtree:!0,attributes:!0,characterData:!0}:{childList:!1,subtree:!1,attributes:!0,attributeFilter:[e]}}(t)),o}function u(e,t){var n=t.getCurrentValue(t.el);t.virtualValue=e,e&&"string"!==typeof e?n&&e.parentNode===n.parentNode&&e.insertBeforeNode===n.insertBeforeNode||(t.isDirty=!0,I()):e!==n&&(t.isDirty=!0,I())}function d(e){var t=e.originalValue;e.mutations.forEach(function(e){return t=e.mutate(t)}),u(function(e){x||(x=document.createElement("div"));return x.innerHTML=e,x.innerHTML}(t),e)}function p(e){var t=new Set(e.originalValue.split(/\s+/).filter(Boolean));e.mutations.forEach(function(e){return e.mutate(t)}),u(Array.from(t).filter(Boolean).join(" "),e)}function f(e){var t=e.originalValue;e.mutations.forEach(function(e){return t=e.mutate(t)}),u(t,e)}function h(e){var t=e.originalValue;e.mutations.forEach(function(e){var n=function(e){var t=e.parentSelector,n=e.insertBeforeSelector,r=document.querySelector(t);if(!r)return null;var i=n?document.querySelector(n):null;return n&&!i?null:{parentNode:r,insertBeforeNode:i}}(e.mutate());t=n||t}),u(t,e)}var m=function(e){return e.innerHTML},g=function(e,t){return e.innerHTML=t};function y(e){var t=l(e);return t.html||(t.html=c(e,"html",m,g,d)),t.html}var v=function(e){return{parentNode:e.parentElement,insertBeforeNode:e.nextElementSibling}},b=function(e,t){t.insertBeforeNode&&!t.parentNode.contains(t.insertBeforeNode)||t.parentNode.insertBefore(e,t.insertBeforeNode)};function _(e){var t=l(e);return t.position||(t.position=c(e,"position",v,b,h)),t.position}var w=function(e,t){return t?e.className=t:e.removeAttribute("class")},k=function(e){return e.className};function S(e){var t=l(e);return t.classes||(t.classes=c(e,"class",k,w,p)),t.classes}var x,C;function E(e,t){var n,r=l(e);return r.attributes[t]||(r.attributes[t]=c(e,t,(n=t,function(e){var t;return null!=(t=e.getAttribute(n))?t:null}),function(e){return function(t,n){return null!==n?t.setAttribute(e,n):t.removeAttribute(e)}}(t),f)),r.attributes[t]}function A(e,t,n){if(n.isDirty){n.isDirty=!1;var r=n.virtualValue;n.mutations.length||function(e,t){var n,r,i=o.get(e);if(i)if("html"===t)null==(n=i.html)||null==(r=n.observer)||r.disconnect(),delete i.html;else if("class"===t){var a,s;null==(a=i.classes)||null==(s=a.observer)||s.disconnect(),delete i.classes}else if("position"===t){var l,c;null==(l=i.position)||null==(c=l.observer)||c.disconnect(),delete i.position}else{var u,d,p;null==(u=i.attributes)||null==(d=u[t])||null==(p=d.observer)||p.disconnect(),delete i.attributes[t]}}(e,t),n.setValue(e,r)}}function T(e,t){e.html&&A(t,"html",e.html),e.classes&&A(t,"class",e.classes),e.position&&A(t,"position",e.position),Object.keys(e.attributes).forEac
2h(function(n){A(t,n,e.attributes[n])})}function I(){o.forEach(T)}function R(e){if("position"!==e.kind||1!==e.elements.size){var t=new Set(e.elements);document.querySelectorAll(e.selector).forEach(function(n){t.has(n)||(e.elements.add(n),function(e,t){var n=null;"html"===e.kind?n=y(t):"class"===e.kind?n=S(t):"attribute"===e.kind?n=E(t,e.attribute):"position"===e.kind&&(n=_(t)),n&&(n.mutations.push(e),n.mutationRunner(n))}(e,n))})}}function O(e){e.elements.forEach(function(t){return function(e,t){var n=null;if("html"===e.kind?n=y(t):"class"===e.kind?n=S(t):"attribute"===e.kind?n=E(t,e.attribute):"position"===e.kind&&(n=_(t)),n){var r=n.mutations.indexOf(e);-1!==r&&n.mutations.splice(r,1),n.mutationRunner(n)}}(e,t)}),e.elements.clear(),s.delete(e)}function D(){s.forEach(R)}function N(e){return"undefined"===typeof document?a:(s.add(e),R(e),{revert:function(){O(e)}})}function j(e,t){return N({kind:"html",elements:new Set,mutate:t,selector:e})}function F(e,t){return N({kind:"position",elements:new Set,mutate:t,selector:e})}function M(e,t){return N({kind:"class",elements:new Set,mutate:t,selector:e})}function V(e,t,n){return i.test(t)?"class"===t||"className"===t?M(e,function(e){var t=n(Array.from(e).join(" "));e.clear(),t&&t.split(/\s+/g).filter(Boolean).forEach(function(t){return e.add(t)})}):N({kind:"attribute",attribute:t,elements:new Set,mutate:n,selector:e}):a}"undefined"!==typeof document&&(C||(C=new MutationObserver(function(){D()})),D(),C.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!1,characterData:!1}));const P={html:j,classes:M,attribute:V,position:F,declarative:function(e){var t=e.selector,n=e.action,r=e.value,i=e.attribute,o=e.parentSelector,s=e.insertBeforeSelector;if("html"===i){if("append"===n)return j(t,function(e){return e+(null!=r?r:"")});if("set"===n)return j(t,function(){return null!=r?r:""})}
2else if("class"===i){if("append"===n)return M(t,function(e){r&&e.add(r)});if("remove"===n)return M(t,function(e){r&&e.delete(r)});if("set"===n)return M(t,function(e){e.clear(),r&&e.add(r)})}else if("position"===i){if("set"===n&&o)return F(t,function(){return{insertBeforeSelector:s,parentSelector:o}})}else{if("append"===n)return V(t,i,function(e){return null!==e?e+(null!=r?r:""):null!=r?r:""});if("set"===n)return V(t,i,function(){return null!=r?r:""});if("remove"===n)return V(t,i,function(){return null})}return a}};var L=r(4780),B=r(17195);const H={};function W(e,t,n){n=n||{};for(const[r,i]of Object.entries(t))switch(r){case"$or":if(!$(e,i,n))return!1;break;case"$nor":if($(e,i,n))return!1;break;case"$and":if(!K(e,i,n))return!1;break;case"$not":if(W(e,i,n))return!1;break;default:if(!U(i,z(e,r),n))return!1}return!0}function z(e,t){const n=t.split(".");let r=e;for(let i=0;i<n.length;i++){if(!r||"object"!==typeof r||!(n[i]in r))return null;r=r[n[i]]}return r}function Y(e,t=!1){const n=`${e}${t?"/i":""}`;return H[n]||(H[n]=new RegExp(e.replace(/([^\\])\//g,"$1\\/"),t?"i":void 0)),H[n]}function U(e,t,n,r=!1){if("string"===typeof e)return r?String(t).toLowerCase()===e.toLowerCase():t+""===e;if("number"===typeof e)return 1*t===e;if("boolean"===typeof e)return null!==t&&!!t===e;if(null===e)return null===t;if(Array.isArray(e)||!X(e))return JSON.stringify(t)===JSON.stringify(e);for(const i in e)if(!J(i,t,e[i],n))return!1;return!0}function X(e){const t=Object.keys(e);return t.length>0&&t.filter(e=>"$"===e[0]).length===t.length}function G(e,t,n=!1){if(n){const n=e=>"string"===typeof e?e.toLowerCase():e;return Array.isArray(e)?e.some(e=>t.some(t=>n(e)===n(t))):t.some(t=>n(e)===n(t))}return Array.isArray(e)?e.some(e=>t.includes(e)):t.includes(e)}function q(e,t,n,r=!1){if(!Array.isArray(e))return!1;for(let i=0;i<t.length;i++){let a=!1;for(let o=0;o<e.length;o++)if(U(t[i],e[o],n,r)){a=!0;break}if(!a)return!1}return!0}function J(t,n,r,i){switch(t){case"$veq":return(0,L.paddedVersionString)(n)===(0,L.paddedVersionString)(r);case"$vne":return(0,L.paddedVersionString)(n)!==(0,L.paddedVersionString)(r);case"$vgt":return(0,L.paddedVersionString)(n)>(0,L.paddedVersionString)(r);case"$vgte":return(0,L.paddedVersionString)(n)>=(0,L.paddedVersionString)(r);case"$vlt":return(0,L.paddedVersionString)(n)<(0,L.paddedVersionString)(r);case"$vlte":return(0,L.paddedVersionString)(n)<=(0,L.paddedVersionString)(r);case"$eq":return n===r;case"$ne":return n!==r;case"$lt":return n<r;case"$lte":return n<=r;case"$gt":return n>r;case"$gte":return n>=r;case"$exists":return r?null!=n:null==n;case"$in":return!!Array.isArray(r)&&G(n,r);case"$ini":return!!Array.isArray(r)&&G(n,r,!0);case"$inGroup":return G(n,i[r]||[]);case"$notInGroup":return!G(n,i[r]||[]);case"$nin":return!!Array.isArray(r)&&!G(n,r);case"$nini":return!!Array.isArray(r)&&!G(n,r,!0);case"$not":return!U(r,n,i);case"$size":return!!Array.isArray(n)&&U(r,n.length,i);case"$elemMatch":return function(e,t,n){if(!Array.isArray(e))return!1;const r=X(t)?e=>U(t,e,n):e=>W(e,t,n);for(let i=0;i<e.length;i++)if(e[i]&&r(e[i]))return!0;return!1}(n,r,i);case"$all":return!!Array.isArray(r)&&q(n,r,i);case"$alli":return!!Array.isArray(r)&&q(n,r,i,!0);case"$regex":try{return Y(r).test(n)}catch(e){return!1}case"$regexi":try{return Y(r,!0).test(n)}catch(e){return!1}case"$type":return function(e){if(null===e)return"null";if(Array.isArray(e))return"array";const t=typeof e;return["string","number","boolean","object","undefined"].includes(t)?t:"unknown"}(n)===r;default:return console.error("Unknown operator: "+t),!1}}function $(e,t,n){if(!t.length)return!0;for(let r=0;r<t.length;r++)if(W(e,t[r],n))return!0;return!1}function K(e,t,n){for(let r=0;r<t.length;r++)if(!W(e,t[r],n))return!1;return!0}async function Z(t){try{await t()}catch(e){}}function Q(e,t,n){if(e.user.trackedExperiments){const r=pe(t,n);if(e.user.trackedExperiments.has(r))return[];e.user.trackedExperiments.add(r)}e.user.enableDevMode&&e.user.devLogs&&e.user.devLogs.push({experiment:t,result:n,timestamp:Date.now().toString(),logType:"experiment"});const r=[];if(e.global.trackingCallback){const i=e.global.trackingCallback;r.push(Z(()=>i(t,n,e.user)))}if(e.user.trackingCallback){const i=e.user.trackingCallback;r.push(Z(()=>i(t,n)))}if(e.global.eventLogger){const i=e.global.eventLogger;r.push(Z(()=>i("Experiment Viewed",{experimentId:t.key,variationId:n.key,hashAttribute:n.hashAttribute,hashValue:n.hashValue},e.user)))}return r}function ee(e,t){if(t.stack.evaluatedFeatures.has(e))return ne(t,e,null,"cyclicPrerequisite");t.stack.evaluatedFeatures.add(e),t.stack.id=e;const n=function(e){const t=new Map;return e.global.forcedFeatureValues&&e.global.forcedFeatureValues.forEac
2h((e,n)=>t.set(n,e)),e.user.forcedFeatureValues&&e.user.forcedFeatureValues.forEach((e,n)=>t.set(n,e)),t}(t);if(n.has(e))return ne(t,e,n.get(e),"override");if(!t.global.features||!t.global.features[e])return ne(t,e,null,"unknownFeature");const r=t.global.features[e];if(r.rules){const n=new Set(t.stack.evaluatedFeatures);e:for(const i of r.rules){if(i.parentConditions)for(const o of i.parentConditions){t.stack.evaluatedFeatures=new Set(n);const r=ee(o.id,t);if("cyclicPrerequisite"===r.source)return ne(t,e,null,"cyclicPrerequisite");if(!W({value:r.value},o.condition||{})){if(o.gate)return ne(t,e,null,"prerequisite");continue e}}if(i.filters&&ae(i.filters,t))continue;if("force"in i){if(i.condition&&!ie(i.condition,t))continue;if(!oe(t,i.seed||e,i.hashAttribute,t.user.saveStickyBucketAssignmentDoc&&!i.disableStickyBucketing?i.fallbackAttribute:void 0,i.range,i.coverage,i.hashVersion))continue;return i.tracks&&i.tracks.forEach(e=>{!Q(t,e.experiment,e.result).length&&t.global.saveDeferredTrack&&t.global.saveDeferredTrack({experiment:e.experiment,result:e.result})}),ne(t,e,i.force,"force",i.id)}if(!i.variations)continue;const r={variations:i.variations,key:i.key||e};"coverage"in i&&(r.coverage=i.coverage),i.weights&&(r.weights=i.weights),i.hashAttribute&&(r.hashAttribute=i.hashAttribute),i.fallbackAttribute&&(r.fallbackAttribute=i.fallbackAttribute),i.disableStickyBucketing&&(r.disableStickyBucketing=i.disableStickyBucketing),void 0!==i.bucketVersion&&(r.bucketVersion=i.bucketVersion),void 0!==i.minBucketVersion&&(r.minBucketVersion=i.minBucketVersion),i.namespace&&(r.namespace=i.namespace),i.meta&&(r.meta=i.meta),i.ranges&&(r.ranges=i.ranges),i.name&&(r.name=i.name),i.phase&&(r.phase=i.phase),i.seed&&(r.seed=i.seed),i.hashVersion&&(r.hashVersion=i.hashVersion),i.filters&&(r.filters=i.filters),i.condition&&(r.condition=i.condition);const{result:a}=te(r,e,t);if(t.global.onExperimentEval&&t.global.onExperimentEval(r,a),a.inExperiment&&!a.passthrough)return ne(t,e,a.value,"experiment",i.id,r,a)}}return ne(t,e,void 0===r.defaultValue?null:r.defaultValue,"defaultValue")}function te(e,t,n){const r=e.key,i=e.variations.length;if(i<2)return{result:se(n,e,-1,!1,t)};if(!1===n.global.enabled||!1===n.user.enabled)return{result:se(n,e,-1,!1,t)};if(e=function(e,t){const n=e.key,r=t.global.overrides;r&&r[n]&&"string"===typeof(e=Object.assign({},e,r[n])).url&&(e.url=(0,L.getUrlRegExp)(e.url));return e}(e,n),e.urlPatterns&&!(0,L.isURLTargeted)(n.user.url||"",e.urlPatterns))return{result:se(n,e,-1,!1,t)};const a=(0,L.getQueryStringOverride)(r,n.user.url||"",i);if(null!==a)return{result:se(n,e,a,!1,t)};const o=function(e){return e.global.forcedVariations&&e.user.forcedVariations?{...e.global.forcedVariations,...e.user.forcedVariations}:e.global.forcedVariations?e.global.forcedVariations:e.user.forcedVariations?e.user.forcedVariations:{}}(n);if(r in o){return{result:se(n,e,o[r],!1,t)}}if("draft"===e.status||!1===e.active)return{result:se(n,e,-1,!1,t)};const{hashAttribute:s,hashValue:l}=le(n,e.hashAttribute,n.user.saveStickyBucketAssignmentDoc&&!e.disableStickyBucketing?e.fallbackAttribute:void 0);if(!l)return{result:se(n,e,-1,!1,t)};let c=-1,u=!1,d=!1;if(n.user.saveStickyBucketAssignmentDoc&&!e.disableStickyBucketing){const{variation:t,versionIsBlocked:r}=function({ctx:e,expKey:t,expBucketVersion:n,expHashAttribute:r,expFallbackAttribute:i,expMinBucketVersion:a,expMeta:o}){a=a||0,r=r||"id",o=o||[];const s=ce(t,n=n||0),l=function(e,t,n){if(!e.user.stickyBucketAssignmentDocs)return{};const{hashAttribute:r,hashValue:i}=le(e,t),a=ue(r,(0,L.toString)(i)),{hashAttribute:o,hashValue:s}=le(e,n),l=s?ue(o,(0,L.toString)(s)):null,c={};l&&e.user.stickyBucketAssignmentDocs[l]&&Object.assign(c,e.user.stickyBucketAssignmentDocs[l].assignments||{});e.user.stickyBucketAssignmentDocs[a]&&Object.assign(c,e.user.stickyBucketAssignmentDocs[a].assignments||{});return c}(e,r,i);if(a>0)for(let d=0;d<a;d++){if(void 0!==l[ce(t,d)])return{variation:-1,versionIsBlocked:!0}}const c=l[s];if(void 0===c)return{variation:-1};const u=o.findIndex(e=>e.key===c);return u<0?{variation:-1}:{variation:u}}({ctx:n,expKey:e.key,expBucketVersion:e.bucketVersion,expHashAttribute:e.hashAttribute,expFallbackAttribute:e.fallbackAttribute,expMinBucketVersion:e.minBucketVersion,expMeta:e.meta});u=t>=0,c=t,d=!!r}if(!u){if(e.filters){if(ae(e.filters,n))return{result:se(n,e,-1,!1,t)}}else if(e.namespace&&!(0,L.inNamespace)(l,e.namespace))return{result:se(n,e,-1,!1,t)};if(e.include&&!(0,L.isIncluded)(e.include))return{result:se(n,e,-1,!1,t)};if(e.condition&&!ie(e.condition,n))return{result:se(n,e,-1,!1,t)};if(e.parentConditions){const r=new Set(n.stack.evaluatedFeatures);for(const i of e.parentConditions){n.stack.evaluatedFeatures=new Set(r);const a=ee(i.id,n);if("cyclicPrerequisite"===a.source)return{result:se(n,e,-1,!1,t)};if(!W({value:a.value},i.condition||{}))return{result:se(n,e,-1,!1,t)}}}if(e.groups&&!function(e,t){const n=t.global.groups||{};for(let r=0;r<e.length;r++)if(n[e[r]])return!0;return!1}(e.groups,n))return{result:se(n,e,-1,!1,t)}}if(e.url&&!function(e,t){const n=t.user.url;if(!n)return!1;const r=n.replace(/^https?:\/\//,"").replace(/^[^/]*\//,"/");return!!e.test(n)||!!e.test(r)}(e.url,n))return{result:se(n,e,-1,!1,t)};const p=(0,L.hash)(e.seed||r,l,e.hashVersion||1);if(null===p)return{result:se(n,e,-1,!1,t)};if(!u){const t=e.ranges||(0,L.getBucketRanges)(i,void 0===e.coverage?1:e.coverage,e.weights);c=(0,L.chooseVariation)(p,t)}if(d)return{result:se(n,e,-1,!1,t,void 0,!0)};if(c<0)return{result:se(n,e,-1,!1,t)};if("force"in e)return{result:se(n,e,void 0===e.force?-1:e.force,!1,t)};if(n.global.qaMode||n.user.qaMode)return{result:se(n,e,-1,!1,t)};if("stopped"===e.status)return{result:se(n,e,-1,!1,t)};const f=se(n,e,c,!0,t,p,u);if(n.user.saveStickyBucketAssignmentDoc&&!e.disableStickyBucketing){const{changed:t,key:r,doc:i}=function(e,t,n,r){const i=ue(t,n),a=e.user.stickyBucketAssignmentDocs&&e.user.stickyBucketAssignmentDocs[i]&&e.user.stickyBucketAssignmentDocs[i].assignments||{},o={...a,...r},s=JSON.stringify(a)!==JSON.stringify(o);return{key:i,doc:{attributeName:t,attributeValue:n,assignments:o},changed:s}}(n,s,(0,L.toString)(l),{[ce(e.key,e.bucketVersion)]:f.key});t&&(n.user.stickyBucketAssignmentDocs=n.user.stickyBucketAssignmentDocs||{},n.user.stickyBucketAssignmentDocs[r]=i,n.user.saveStickyBucketAssignmentDoc(i))}const h=Q(n,e,f);0===h.length&&n.global.saveDeferredTrack&&n.global.saveDeferredTrack({experiment:e,result:f});const m=h.length?1===h.length?h[0]:Promise.all(h).then(()=>{}):void 0;return"changeId"in e&&e.changeId&&n.global.recordChangeId&&n.global.recordChangeId(e.changeId),{result:f,trackingCall:m}}function ne(e,t,n,r,i,a,o){const s={value:n,on:!!n,off:!n,source:r,ruleId:i||""};return a&&(s.experiment=a),o&&(s.experimentResult=o),"override"!==r&&function(e,t,n){if(e.user.trackedFeatureUsage){const r=JSON.stringify(n.value);if(e.user.trackedFeatureUsage[t]===r)return;e.user.trackedFeatureUsage[t]=r,e.user.enableDevMode&&e.user.devLogs&&e.user.devLogs.push({featureKey:t,result:n,timestamp:Date.now().toString(),logType:"feature"})}if(e.global.onFeatureUsage){const r=e.global.onFeatureUsage;Z(()=>r(t,n,e.user))}if(e.user.onFeatureUsage){const r=e.user.onFeatureUsage;Z(()=>r(t,n))}if(e.global.eventLogger){const r=e.global.eventLogger;Z(()=>r("Feature Evaluated",{feature:t,source:n.source,value:n.value,ruleId:"defaultValue"===n.source?"$default":n.ruleId||"",variationId:n.experimentResult?n.experimentResult.key:""},e.user))}}(e,t,s),s}function re(e){return{...e.user.attributes,...e.user.attributeOverrides}}function ie(e,t){return W(re(t),e,t.global.savedGroups||{})}function ae(e,t){return e.some(e=>{const{hashValue:n}=le(t,e.attribute);if(!n)return!0;const r=(0,L.hash)(e.seed,n,e.hashVersion||2);return null===r||!e.ranges.some(e=>(0,L.inRange)(r,e))})}function oe(e,t,n,r,i,a,o){if(!i&&void 0===a)return!0;
2if(!i&&0===a)return!1;const{hashValue:s}=le(e,n,r);if(!s)return!1;const l=(0,L.hash)(t,s,o||1);return null!==l&&(i?(0,L.inRange)(l,i):void 0===a||l<=a)}function se(e,t,n,r,i,a,o){let s=!0;(n<0||n>=t.variations.length)&&(n=0,s=!1);const{hashAttribute:l,hashValue:c}=le(e,t.hashAttribute,e.user.saveStickyBucketAssignmentDoc&&!t.disableStickyBucketing?t.fallbackAttribute:void 0),u=t.meta?t.meta[n]:{},d={key:u.key||""+n,featureId:i,inExperiment:s,hashUsed:r,variationId:n,value:t.variations[n],hashAttribute:l,hashValue:c,stickyBucketUsed:!!o};return u.name&&(d.name=u.name),void 0!==a&&(d.bucket=a),u.passthrough&&(d.passthrough=u.passthrough),d}function le(e,t,n){let r=t||"id",i="";const a=re(e);return a[r]&&(i=a[r]),!i&&n&&(a[n]&&(i=a[n]),i&&(r=n)),{hashAttribute:r,hashValue:i}}function ce(e,t){return`${e}__${t=t||0}`}function ue(e,t){return`${e}||${t}`}function de(e,t){const n={},r=function(e,t){const n=new Set,r=t&&t.features?t.features:e.global.features||{},i=t&&t.experiments?t.experiments:e.global.experiments||[];return Object.keys(r).forEach(e=>{const t=r[e];if(t.rules)for(const r of t.rules)r.variations&&(n.add(r.hashAttribute||"id"),r.fallbackAttribute&&n.add(r.fallbackAttribute))}),i.map(e=>{n.add(e.hashAttribute||"id"),e.fallbackAttribute&&n.add(e.fallbackAttribute)}),Array.from(n)}(e,t);return r.forEach(t=>{const{hashValue:r}=le(e,t);n[t]=(0,L.toString)(r)}),n}function pe(e,t){return t.hashAttribute+t.hashValue+e.key+t.variationId}const fe="undefined"!==typeof window&&"undefined"!==typeof document,he=(0,L.loadSDKVersion)();class me{constructor(t){if(t=t||{},this.version=he,this._options=this.context=t,this._renderer=t.renderer||null,this._trackedExperiments=new Set,this._completedChangeIds=new Set,this._trackedFeatures={},this.debug=!!t.debug,this._subscriptions=new Set,this.ready=!1,this._assigned=new Map,this._activeAutoExperiments=new Map,this._triggeredExpKeys=new Set,this._initialized=!1,this._redirectedUrl="",this._deferredTrackingCalls=new Map,this._autoExperimentsAllowed=!t.disableExperimentsOnLoad,this._destroyCallbacks=[],this.logs=[],this.log=this.log.bind(this),this._saveDeferredTrack=this._saveDeferredTrack.bind(this),this._onExperimentEval=this._onExperimentEval.bind(this),this._fireSubscriptions=this._fireSubscriptions.bind(this),this._recordChangedId=this._recordChangedId.bind(this),t.remoteEval){if(t.decryptionKey)throw new Error("Encryption is not available for remoteEval");if(!t.clientKey)throw new Error("Missing clientKey");let n=!1;try{n=!!new URL(t.apiHost||"").hostname.match(/growthbook\.io$/i)}catch(e){}if(n)throw new Error("Cannot use remoteEval on GrowthBook Cloud")}else if(t.cacheKeyAttributes)throw new Error("cacheKeyAttributes are only used for remoteEval");if(t.stickyBucketService){const e=t.stickyBucketService;this._saveStickyBucketAssignmentDoc=t=>e.saveAssignments(t)}if(t.plugins)for(const e of t.plugins)e(this);if(t.features&&(this.ready=!0),fe&&t.enableDevMode&&(window._growthbook=this,document.dispatchEvent(new Event("gbloaded"))),t.experiments&&(this.ready=!0,this._updateAllAutoExperiments()),this._options.stickyBucketService&&this._options.stickyBucketAssignmentDocs)for(const e in this._options.stickyBucketAssignmentDocs){const t=this._options.stickyBucketAssignmentDocs[e];t&&this._options.stickyBucketService.saveAssignments(t).catch(()=>{})}this.ready&&this.refreshStickyBuckets(this.getPayload())}async setPayload(t){this._payload=t;const n=await async function(t,n,r){if((t={...t}).encryptedFeatures){try{t.features=JSON.parse(await(0,L.decrypt)(t.encryptedFeatures,n,r))}catch(e){console.error(e)}delete t.encryptedFeatures}if(t.encryptedExperiments){try{t.experiments=JSON.parse(await(0,L.decrypt)(t.encryptedExperiments,n,r))}catch(e){console.error(e)}delete t.encryptedExperiments}if(t.encryptedSavedGroups){try{t.savedGroups=JSON.parse(await(0,L.decrypt)(t.encryptedSavedGroups,n,r))}catch(e){console.error(e)}delete t.encryptedSavedGroups}return t}(t,this._options.decryptionKey);this._decryptedPayload=n,await this.refreshStickyBuckets(n),n.features&&(this._options.features=n.features),n.savedGroups&&(this._options.savedGroups=n.savedGroups),n.experiments&&(this._options.experiments=n.experiments,this._updateAllAutoExperiments()),this.ready=!0,this._render()}initSync(e){this._initialized=!0;const t=e.payload;if(t.encryptedExperiments||t.encryptedFeatures)throw new Error("initSync does not support encrypted payloads");return this._options.stickyBucketService&&!this._options.stickyBucketAssignmentDocs&&(this._options.stickyBucketAssignmentDocs=this.generateStickyBucketAssignmentDocsSync(this._options.stickyBucketService,t)),this._payload=t,this._decryptedPayload=t,t.features&&(this._options.features=t.features),t.experiments&&(this._options.experiments=t.experiments,this._updateAllAutoExperiments()),this.ready=!0,(0,B.startStreaming)(this,e),this}async init(e){if(this._initialized=!0,(e=e||{}).cacheSettings&&(0,B.configureCache)(e.cacheSettings),e.payload)return await this.setPayload(e.payload),(0,B.startStreaming)(this,e),{success:!0,source:"init"};{const{data:t,...n}=await this._refresh({...e,allowStale:!0});return(0,B.startStreaming)(this,e),await this.setPayload(t||{}),n}}async loadFeatures(e){e=e||{},await this.init({skipCache:e.skipCache,timeout:e.timeout,streaming:(this._options.backgroundSync??!0)&&(e.autoRefresh||this._options.subscribeToChanges)})}async refreshFeatures(e){const t=await this._refresh({...e||{},allowStale:!1});t.data&&await this.setPayload(t.data)}
2getApiInfo(){return[this.getApiHosts().apiHost,this.getClientKey()]}getApiHosts(){return function(e){const t=e.apiHost||"https://cdn.growthbook.io";return{apiHost:t.replace(/\/*$/,""),streamingHost:(e.streamingHost||t).replace(/\/*$/,""),apiRequestHeaders:e.apiHostRequestHeaders,streamingHostRequestHeaders:e.streamingHostRequestHeaders}}(this._options)}getClientKey(){return this._options.clientKey||""}getPayload(){return this._payload||{features:this.getFeatures(),experiments:this.getExperiments()}}getDecryptedPayload(){return this._decryptedPayload||this.getPayload()}isRemoteEval(){return this._options.remoteEval||!1}getCacheKeyAttributes(){return this._options.cacheKeyAttributes}async _refresh({timeout:e,skipCache:t,allowStale:n,streaming:r}){if(!this._options.clientKey)throw new Error("Missing clientKey");return(0,B.refreshFeatures)({instance:this,timeout:e,skipCache:t||this._options.disableCache,allowStale:n,backgroundSync:r??this._options.backgroundSync??!0})}_render(){if(this._renderer)try{this._renderer()}catch(e){console.error("Failed to render",e)}}setFeatures(e){this._options.features=e,this.ready=!0,this._render()}async setEncryptedFeatures(e,t,n){const r=await(0,L.decrypt)(e,t||this._options.decryptionKey,n);this.setFeatures(JSON.parse(r))}setExperiments(e){this._options.experiments=e,this.ready=!0,this._updateAllAutoExperiments()}async setEncryptedExperiments(e,t,n){const r=await(0,L.decrypt)(e,t||this._options.decryptionKey,n);this.setExperiments(JSON.parse(r))}async setAttributes(e){this._options.attributes=e,this._options.stickyBucketService&&await this.refreshStickyBuckets(),this._options.remoteEval?await this._refreshForRemoteEval():(this._render(),this._updateAllAutoExperiments())}async updateAttributes(e){return this.setAttributes({...this._options.attributes,...e})}async setAttributeOverrides(e){this._options.attributeOverrides=e,this._options.stickyBucketService&&await this.refreshStickyBuckets(),this._options.remoteEval?await this._refreshForRemoteEval():(this._render(),this._updateAllAutoExperiments())}async setForcedVariations(e){this._options.forcedVariations=e||{},this._options.remoteEval?await this._refreshForRemoteEval():(this._render(),this._updateAllAutoExperiments())}setForcedFeatures(e){this._options.forcedFeatureValues=e,this._render()}async setURL(e){if(e!==this._options.url){if(this._options.url=e,this._redirectedUrl="",this._options.remoteEval)return await this._refreshForRemoteEval(),void this._updateAllAutoExperiments(!0);this._updateAllAutoExperiments(!0)}}getAttributes(){return{...this._options.attributes,...this._options.attributeOverrides}}getForcedVariations(){return this._options.forcedVariations||{}}getForcedFeatures(){return this._options.forcedFeatureValues||new Map}getStickyBucketAssignmentDocs(){return this._options.stickyBucketAssignmentDocs||{}}getUrl(){return this._options.url||""}getFeatures(){return this._options.features||{}}getExperiments(){return this._options.experiments||[]}getCompletedChangeIds(){return Array.from(this._completedChangeIds)}subscribe(e){return this._subscriptions.add(e),()=>{this._subscriptions.delete(e)}}async _refreshForRemoteEval(){if(!this._options.remoteEval)return;if(!this._initialized)return;const e=await this._refresh({allowStale:!1});e.data&&await this.setPayload(e.data)}getAllResults(){return new Map(this._assigned)}onDestroy(e){this._destroyCallbacks.push(e)}isDestroyed(){return!!this._destroyed}destroy(t){t=t||{},this._destroyed=!0,this._destroyCallbacks.forEach(t=>{try{t()}catch(e){console.error(e)}}),this._subscriptions.clear(),this._assigned.clear(),this._trackedExperiments.clear(),this._completedChangeIds.clear(),this._deferredTrackingCalls.clear(),this._trackedFeatures={},this._destroyCallbacks=[],this._payload=void 0,this._saveStickyBucketAssignmentDoc=void 0,(0,B.unsubscribe)(this),t.destroyAllStreams&&(0,B.clearAutoRefresh)(),this.logs=[],fe&&window._growthbook===this&&delete window._growthbook,this._activeAutoExperiments.forEach(e=>{e.undo()}),this._activeAutoExperiments.clear(),this._triggeredExpKeys.clear()}setRenderer(e){this._renderer=e}forceVariation(e,t){this._options.forcedVariations=this._options.forcedVariations||{},this._options.forcedVariations[e]=t,this._options.remoteEval?this._refreshForRemoteEval():(this._updateAllAutoExperiments(),this._render())}run(e){const{result:t}=te(e,null,this._getEvalContext());return this._onExperimentEval(e,t),t}
2triggerExperiment(e){if(this._triggeredExpKeys.add(e),!this._options.experiments)return null;return this._options.experiments.filter(t=>t.key===e).map(e=>this._runAutoExperiment(e)).filter(e=>null!==e)}triggerAutoExperiments(){this._autoExperimentsAllowed=!0,this._updateAllAutoExperiments(!0)}_getEvalContext(){return{user:this._getUserContext(),global:this._getGlobalContext(),stack:{evaluatedFeatures:new Set}}}_getUserContext(){return{attributes:this._options.user?{...this._options.user,...this._options.attributes}:this._options.attributes,enableDevMode:this._options.enableDevMode,blockedChangeIds:this._options.blockedChangeIds,stickyBucketAssignmentDocs:this._options.stickyBucketAssignmentDocs,url:this._getContextUrl(),forcedVariations:this._options.forcedVariations,forcedFeatureValues:this._options.forcedFeatureValues,attributeOverrides:this._options.attributeOverrides,saveStickyBucketAssignmentDoc:this._saveStickyBucketAssignmentDoc,trackingCallback:this._options.trackingCallback,onFeatureUsage:this._options.onFeatureUsage,devLogs:this.logs,trackedExperiments:this._trackedExperiments,trackedFeatureUsage:this._trackedFeatures}}_getGlobalContext(){return{features:this._options.features,experiments:this._options.experiments,log:this.log,enabled:this._options.enabled,qaMode:this._options.qaMode,savedGroups:this._options.savedGroups,groups:this._options.groups,overrides:this._options.overrides,onExperimentEval:this._onExperimentEval,recordChangeId:this._recordChangedId,saveDeferredTrack:this._saveDeferredTrack,eventLogger:this._options.eventLogger}}_runAutoExperiment(t,n){const r=this._activeAutoExperiments.get(t);if(t.manual&&!this._triggeredExpKeys.has(t.key)&&!r)return null;const i=this._isAutoExperimentBlockedByContext(t);let a,o;i?a=se(this._getEvalContext(),t,-1,!1,""):(({result:a,trackingCall:o}=te(t,null,this._getEvalContext())),this._onExperimentEval(t,a));const s=JSON.stringify(a.value);if(!n&&a.inExperiment&&r&&r.valueHash===s)return a;if(r&&this._undoActiveAutoExperiment(t),a.inExperiment){const n=(0,L.getAutoExperimentChangeType)(t);if("redirect"===n&&a.value.urlRedirect&&t.urlPatterns){const n=t.persistQueryString?(0,L.mergeQueryStrings)(this._getContextUrl(),a.value.urlRedirect):a.value.urlRedirect;if((0,L.isURLTargeted)(n,t.urlPatterns))return this.log("Skipping redirect because original URL matches redirect URL",{id:t.key}),a;this._redirectedUrl=n;const{navigate:r,delay:i}=this._getNavigateFunction();if(r)if(fe)Promise.all([...o?[(0,L.promiseTimeout)(o,this._options.maxNavigateDelay??1e3)]:[],new Promise(e=>window.setTimeout(e,this._options.navigateDelay??i))]).then(()=>{try{r(n)}catch(e){console.error(e)}});else try{r(n)}catch(e){console.error(e)}}else if("visual"===n){const e=this._options.applyDomChangesCallback?this._options.applyDomChangesCallback(a.value):this._applyDOMChanges(a.value);e&&this._activeAutoExperiments.set(t,{undo:e,valueHash:s})}}return a}_undoActiveAutoExperiment(e){const t=this._activeAutoExperiments.get(e);t&&(t.undo(),this._activeAutoExperiments.delete(e))}_updateAllAutoExperiments(e){if(!this._autoExperimentsAllowed)return;const t=this._options.experiments||[],n=new Set(t);this._activeAutoExperiments.forEach((e,t)=>{n.has(t)||(e.undo(),this._activeAutoExperiments.delete(t))});for(const r of t){const t=this._runAutoExperiment(r,e);if(t&&t.inExperiment&&"redirect"===(0,L.getAutoExperimentChangeType)(r))break}}_onExperimentEval(e,t){const n=this._assigned.get(e.key);this._assigned.set(e.key,{experiment:e,result:t}),this._subscriptions.size>0&&this._fireSubscriptions(e,t,n)}_fireSubscriptions(t,n,r){r&&r.result.inExperiment===n.inExperiment&&r.result.variationId===n.variationId||this._subscriptions.forEach(r=>{try{r(t,n)}catch(e){console.error(e)}})}_recordChangedId(e){this._completedChangeIds.add(e)}isOn(e){return this.evalFeature(e).on}isOff(e){return this.evalFeature(e).off}getFeatureValue(e,t){const n=this.evalFeature(e).value;return null===n?t:n}feature(e){return this.evalFeature(e)}evalFeature(e){return ee(e,this._getEvalContext())}log(e,t){this.debug&&(this._options.log?this._options.log(e,t):console.log(e,t))}getDeferredTrackingCalls(){return Array.from(this._deferredTrackingCalls.values())}setDeferredTrackingCalls(e){this._deferredTrackingCalls=new Map(e.filter(e=>e&&e.experiment&&e.result).map(e=>[pe(e.experiment,e.result),e]))}async fireDeferredTrackingCalls(){if(!this._options.trackingCallback)return;const e=[];
2this._deferredTrackingCalls.forEach(t=>{t&&t.experiment&&t.result?e.push(this._options.trackingCallback(t.experiment,t.result)):console.error("Invalid deferred tracking call",{call:t})}),this._deferredTrackingCalls.clear(),await Promise.all(e)}setTrackingCallback(e){this._options.trackingCallback=e,this.fireDeferredTrackingCalls()}setFeatureUsageCallback(e){this._options.onFeatureUsage=e}setEventLogger(e){this._options.eventLogger=e}async logEvent(t,n){if(this._destroyed)console.error("Cannot log event to destroyed GrowthBook instance");else if(this._options.enableDevMode&&this.logs.push({eventName:t,properties:n,timestamp:Date.now().toString(),logType:"event"}),this._options.eventLogger)try{await this._options.eventLogger(t,n||{},this._getUserContext())}catch(e){console.error(e)}else console.error("No event logger configured")}_saveDeferredTrack(e){this._deferredTrackingCalls.set(pe(e.experiment,e.result),e)}_getContextUrl(){return this._options.url||(fe?window.location.href:"")}_isAutoExperimentBlockedByContext(t){const n=(0,L.getAutoExperimentChangeType)(t);if("visual"===n){if(this._options.disableVisualExperiments)return!0;if(this._options.disableJsInjection&&t.variations.some(e=>e.js))return!0}else{if("redirect"!==n)return!0;if(this._options.disableUrlRedirectExperiments)return!0;try{const e=new URL(this._getContextUrl());for(const n of t.variations){if(!n||!n.urlRedirect)continue;const t=new URL(n.urlRedirect);if(this._options.disableCrossOriginUrlRedirectExperiments){if(t.protocol!==e.protocol)return!0;if(t.host!==e.host)return!0}}}catch(e){return this.log("Error parsing current or redirect URL",{id:t.key,error:e}),!0}}return!(!t.changeId||!(this._options.blockedChangeIds||[]).includes(t.changeId))}getRedirectUrl(){return this._redirectedUrl}_getNavigateFunction(){return this._options.navigate?{navigate:this._options.navigate,delay:0}:fe?{navigate:e=>{window.location.replace(e)},delay:100}:{navigate:null,delay:0}}_applyDOMChanges(e){if(!fe)return;const t=[];if(e.css){const n=document.createElement("style");n.innerHTML=e.css,document.head.appendChild(n),t.push(()=>n.remove())}if(e.js){const n=document.createElement("script");n.innerHTML=e.js,this._options.jsInjectionNonce&&(n.nonce=this._options.jsInjectionNonce),document.head.appendChild(n),t.push(()=>n.remove())}return e.domMutations&&e.domMutations.forEach(e=>{t.push(P.declarative(e).revert)}),()=>{t.forEach(e=>e())}}async refreshStickyBuckets(e){if(this._options.stickyBucketService){const t=this._getEvalContext(),n=await async function(e,t,n){const r=de(e,n);return t.getAllAssignments(r)}(t,this._options.stickyBucketService,e);this._options.stickyBucketAssignmentDocs=n}}generateStickyBucketAssignmentDocsSync(e,t){if(!("getAllAssignmentsSync"in e))return void console.error("generating StickyBucketAssignmentDocs docs requires StickyBucketServiceSync");const n=de(this._getEvalContext(),t);return e.getAllAssignmentsSync(n)}inDevMode(){return!!this._options.enableDevMode}}async function ge(e){const t=new me(e);await(0,B.refreshFeatures)({instance:t,skipCache:e.skipCache,allowStale:!1,backgroundSync:e.streaming}),t.destroy()}class ye{constructor(e){e=e||{},this.prefix=e.prefix||""}async getAllAssignments(e){const t={};return(await Promise.all(Object.entries(e).map(([e,t])=>this.getAssignments(e,t)))).forEach(e=>{if(e){const n=ue(e.attributeName,e.attributeValue);t[n]=e}}),t}getKey(e,t){return`${this.prefix}${e}||${t}`}}class ve extends ye{async getAssignments(e,t){return this.getAssignmentsSync(e,t)}async saveAssignments(e){this.saveAssignmentsSync(e)}getAllAssignmentsSync(e){const t={};return Object.entries(e).map(([e,t])=>this.getAssignmentsSync(e,t)).forEach(e=>{if(e){const n=ue(e.attributeName,e.attributeValue);t[n]=e}}),t}}class be extends ye{constructor(t){t=t||{},super(),this.prefix=t.prefix||"gbStickyBuckets__";try{this.localStorage=t.localStorage||globalThis.localStorage}catch(e){}}async getAssignments(t,n){const r=this.getKey(t,n);let i=null;if(!this.localStorage)return i;try{const e=await this.localStorage.getItem(r)||"{}",t=JSON.parse(e);t.attributeName&&t.attributeValue&&t.assignments&&(i=t)}catch(e){}return i}async saveAssignments(t){const n=this.getKey(t.attributeName,t.attributeValue);if(this.localStorage)try{await this.localStorage.setItem(n,JSON.stringify(t))}catch(e){}}}class _e extends ve{constructor({prefix:e="gbStickyBuckets__",req:t,res:n,cookieAttributes:r={maxAge:15552e6}}){super(),this.prefix=e,this.req=t,this.res=n,this.cookieAttributes=r}getAssignmentsSync(t,n){const r=this.getKey(t,n);let i=null;if(!this.req)return i;try{const e=this.req.cookies[r]||"{}",t=JSON.parse(e);t.attributeName&&t.attributeValue&&t.assignments&&(i=t)}catch(e){}return i}saveAssignmentsSync(e){const t=this.getKey(e.attributeName,e.attributeValue);if(!this.res)return;const n=JSON.stringify(e);this.res.cookie(encodeURIComponent(t),encodeURIComponent(n),this.cookieAttributes)}}class we extends ve{constructor({prefix:e="gbStickyBuckets__",jsCookie:t,cookieAttributes:n={expires:180}}){super(),this.prefix=e,this.jsCookie=t,this.cookieAttributes=n}getAssignmentsSync(t,n){const r=this.getKey(t,n);let i=null;if(!this.jsCookie)return i;try{const e=this.jsCookie.get(r),t=JSON.parse(e||"{}");t.attributeName&&t.attributeValue&&t.assignments&&(i=t)}catch(e){}return i}async saveAssignmentsSync(e){const t=this.getKey(e.attributeName,e.attributeValue);if(!this.jsCookie)return;const n=JSON.stringify(e);this.jsCookie.set(t,n,this.cookieAttributes)}}class ke extends ye{constructor({redis:e}){super(),this.redis=e}async getAllAssignments(t){const n={},r=Object.entries(t).map(([e,t])=>ue(e,t));return this.redis?(await this.redis.mget(...r).then(t=>{t.forEach(t=>{try{const e=JSON.parse(t||"{}");
2if(e.attributeName&&"attributeValue"in e&&e.assignments){const t=ue(e.attributeName,(0,L.toString)(e.attributeValue));n[t]=e}}catch(e){}})}),n):n}async getAssignments(e,t){return null}async saveAssignments(e){const t=this.getKey(e.attributeName,e.attributeValue);this.redis&&await this.redis.set(t,JSON.stringify(e))}}var Se=r(36665);function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xe.apply(null,arguments)}const Ce=Se.createContext({});async function Ee(e){const t=new me({...e});e.clientKey&&await t.init();const n={attributes:t.getAttributes(),features:t.getFeatures()};return t.destroy(),n}function Ae(e){const t=De(),n=Se.useRef(!0);t&&n.current&&(t.setFeatures(e.features),t.setAttributes(e.attributes),n.current=!1)}function Te(e){const{growthbook:t}=Se.useContext(Ce);return t.run(e)}function Ie(e){return De().evalFeature(e)}function Re(e){return De().isOn(e)}function Oe(e,t){return De().getFeatureValue(e,t)}function De(){const{growthbook:e}=Se.useContext(Ce);if(!e)throw new Error("Missing or invalid GrowthBookProvider");return e}function Ne({children:e,timeout:t,fallback:n}){const r=De(),[i,a]=Se.useState(!1),o=!!r&&r.ready;return Se.useEffect(()=>{if(t&&!o){const e=setTimeout(()=>{r&&r.log("FeaturesReady timed out waiting for features to load",{timeout:t}),a(!0)},t);return()=>clearTimeout(e)}},[t,o,r]),Se.createElement(Se.Fragment,null,o||i?e:n||null)}function je({children:e,feature:t}){return Ie(t).on?Se.createElement(Se.Fragment,null,e):null}function Fe(e){const t=Ie(e.feature).value;return null!==t?Se.createElement(Se.Fragment,null,t):Se.createElement(Se.Fragment,null,e.default)}const Me=e=>t=>Se.createElement(Ce.Consumer,null,({growthbook:n})=>Se.createElement(e,xe({},t,{runExperiment:e=>n.run(e)})));Me.displayName="WithRunExperiment";const Ve=({children:e,growthbook:t})=>{const[n,r]=Se.useState(0);return Se.useEffect(()=>{if(t&&t.setRenderer)return t.setRenderer(()=>{r(e=>e+1)}),()=>{t.setRenderer(()=>{})}},[t]),Se.createElement(Ce.Provider,{value:{growthbook:t}},e)}},93237(t,n,r){"use strict";r.r(n),r.d(n,{ErrorBoundary:()=>zo,FeedbackButton:()=>gk,FeedbackForm:()=>Ck,FeedbackWidget:()=>Ck,GlobalErrorBoundary:()=>fx,Mask:()=>mx,NavigationContainer:()=>dx,Profiler:()=>Jo,ReactNativeClient:()=>_w,SDK_NAME:()=>Yl.SDK_NAME,SDK_VERSION:()=>Yl.SDK_VERSION,Scope:()=>De,TimeToFullDisplay:()=>aS,TimeToInitialDisplay:()=>iS,TouchEventBoundary:()=>DS,Unmask:()=>gx,addBreadcrumb:()=>Ke,addConsoleInstrumentationFilter:()=>po,addEventProcessor:()=>zr,addIntegration:()=>nt,appLoaded:()=>$S,appRegistryIntegration:()=>Hg,appStartIntegration:()=>pv,breadcrumbsIntegration:()=>sb,browserApiErrorsIntegration:()=>t_,browserGlobalHandlersIntegration:()=>h_,browserLinkedErrorsIntegration:()=>z_,browserReplayIntegration:()=>Vg,captureEvent:()=>Nr,captureException:()=>Or,captureFeedback:()=>qr,captureMessage:()=>Dr,close:()=>tx,consoleLoggingIntegration:()=>xs,consoleSandbox:()=>h,crashedLastRun:()=>rx,createLangChainCallbackHandler:()=>qa,createNativeFramesIntegrations:()=>vv,createReactNativeRewriteFrames:()=>Kc,createReduxEnhancer:()=>Xo,createTimeToFullDisplay:()=>dS,createTimeToInitialDisplay:()=>pS,debugSymbolicatorIntegration:()=>cl,dedupeIntegration:()=>a_,deeplinkIntegration:()=>Fv,deviceContextIntegration:()=>Ql,disableFeedbackOnShake:()=>mk,enableFeedbackOnShake:()=>hk,eventOriginIntegration:()=>Ic,expoConstantsIntegration:()=>yu,expoContextIntegration:()=>gu,expoRouterIntegration:()=>Pk,expoUpdatesListenerIntegration:()=>wu,extendAppStart:()=>KS,extraErrorDataIntegration:()=>Y_,featureFlagsIntegration:()=>As,feedbackIntegration:()=>zu,finishExtendedAppStart:()=>QS,flush:()=>ex,functionToStringIntegration:()=>d_,getActiveSpan:()=>wn,getActiveTurboModuleCall:()=>mb,getClient:()=>qe,getCurrentReactNativeTracingIntegration:()=>Hy,getCurrentScope:()=>Ye,getDataFromUri:()=>Kl,getDefaultIdleNavigationSpanOptions:()=>Oy,getExtendedAppStartSpan:()=>ZS,getGlobalScope:()=>Xe,getIsolationScope:()=>Ue,getReactNativeTracingIntegration:()=>Wy,getRootSpan:()=>bn,getTurboModuleCallStack:()=>gb,graphqlIntegration:()=>Lb,hermesProfilingIntegration:()=>su,hideFeedbackButton:()=>dk,httpClientIntegration:()=>C_,httpContextIntegration:()=>
2O_,inboundFiltersIntegration:()=>F_,init:()=>GS,instrumentAnthropicAiClient:()=>ka,instrumentGoogleGenAIClient:()=>Oa,instrumentLangGraph:()=>ro,instrumentOpenAiClient:()=>ua,instrumentStateGraphCompile:()=>to,lastEventId:()=>Wr,logEnricherIntegration:()=>Tb,logger:()=>i,metrics:()=>a,mobileReplayIntegration:()=>Lu,modulesLoaderIntegration:()=>Mc,nativeCrash:()=>JS,nativeFramesIntegration:()=>bv,nativeLinkedErrorsIntegration:()=>wc,nativeReleaseIntegration:()=>Ac,pauseAppHangTracking:()=>ix,popTurboModuleCall:()=>vb,primitiveTagIntegration:()=>cb,pushTurboModuleCall:()=>yb,reactNativeErrorHandlersIntegration:()=>lc,reactNativeInfoIntegration:()=>Nc,reactNativeNavigationIntegration:()=>Ik,reactNativeTracingIntegration:()=>By,reactNavigationIntegration:()=>Bv,resumeAppHangTracking:()=>ax,rewriteFramesIntegration:()=>qc,screenshotIntegration:()=>uu,sdkInfoIntegration:()=>Dc,sentryTraceGesture:()=>Xk,setAttribute:()=>Br,setAttributes:()=>Lr,setContext:()=>jr,setCurrentClient:()=>Jr,setExtra:()=>Mr,setExtras:()=>Fr,setMeasurement:()=>Un,setTag:()=>Pr,setTags:()=>Vr,setUser:()=>Hr,showFeedbackButton:()=>uk,showFeedbackForm:()=>ck,showFeedbackWidget:()=>ck,spanIsSampled:()=>dn,spanToJSON:()=>on,spotlightIntegration:()=>ku,stallTrackingIntegration:()=>kv,startIdleNavigationSpan:()=>Iy,startIdleSpan:()=>Ry,startInactiveSpan:()=>tr,startSpan:()=>Qn,startSpanManual:()=>er,startTimeToFullDisplaySpan:()=>uS,startTimeToInitialDisplaySpan:()=>cS,supabaseIntegration:()=>Qb,suppressTracing:()=>ir,timeToDisplayIntegration:()=>rb,turboModuleContextIntegration:()=>Eb,useProfiler:()=>Ko,userInteractionIntegration:()=>xv,viewHierarchyIntegration:()=>fu,withActiveSpan:()=>rr,withErrorBoundary:()=>Yo,withGlobalErrorBoundary:()=>hx,withProfiler:()=>$o,withScope:()=>nx,withTouchEventBoundary:()=>LS,wrap:()=>qS,wrapExpoAsset:()=>Wk,wrapExpoImage:()=>Hk,wrapExpoRouter:()=>Rk,wrapExpoRouterErrorBoundary:()=>Bk,wrapTurboModule:()=>wb});var i={};r.r(i),r.d(i,{debug:()=>ys,error:()=>_s,fatal:()=>ws,fmt:()=>hs,info:()=>vs,trace:()=>gs,warn:()=>bs});var a={};r.r(a),r.d(a,{count:()=>Ms,distribution:()=>Ps,gauge:()=>Vs});const o="10.64.0",s=globalThis;function l(){return c(s),s}function c(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||o,t[o]=t[o]||{}}function u(e,t,n=s){const r=n.__SENTRY__=n.__SENTRY__||{},i=r[o]=r[o]||{};return i[e]||(i[e]=t())}const d="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,p=["debug","info","warn","error","log","assert","trace"],f={};function h(e){if(!("console"in s))return e();const t=s.console,n={},r=Object.keys(f);r.forEach(e=>{const r=f[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function m(){return y().enabled}function g(e,...t){d&&m()&&h(()=>{s.console[e](`Sentry Logger [${e}]:`,...t)})}function y(){return d?u("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const v={enable:function(){y().enabled=!0},disable:function(){y().enabled=!1},isEnabled:m,log:function(...e){g("log",...e)},warn:function(...e){g("warn",...e)},error:function(...e){g("error",...e)}},b=Object.prototype.toString;function _(e){switch(b.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return R(e,Error)}}function w(e,t){return b.call(e)===`[object ${t}]`}function k(e){return w(e,"ErrorEvent")}function S(e){return w(e,"DOMError")}function x(e){return w(e,"String")}function C(e){return"object"===typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function E(e){return null===e||C(e)||"object"!==typeof e&&"function"!==typeof e}function A(e){return w(e,"Object")}function T(e){return"undefined"!==typeof Event&&R(e,Event)}function I(e){return Boolean(e?.then&&"function"===typeof e.then)}function R(e,t){try{return e instanceof t}catch{return!1}}function O(e){return"undefined"!==typeof Request&&R(e,Request)}function D(e,t,n){if(!(t in e))return;const r=e[t];if("function"!==typeof r)return;const i=n(r);"function"===typeof i&&j(i,r);try{e[t]=i}catch{d&&v.log(`Failed to replace method "${t}" in object`,e)}}function N(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{d&&v.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function j(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,N(e,"__sentry_original__",t)}catch{}}function F(e){return e.__sentry_original__}function M(e){if(_(e))return{message:e.message,name:e.name,stack:e.stack,...V(e)};
2if(T(e)){const{type:t,target:n,currentTarget:r,detail:i}=e;return{type:t,target:n,currentTarget:r,...i?{detail:i}:{},...V(e)}}return e}function V(e){return"object"===typeof e&&null!==e?Object.fromEntries(Object.entries(e)):{}}function P(e){const t=Object.keys(M(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}function L(e){return B(e,new Map)}function B(e,t){if(null===e||"object"!==typeof e)return e;const n=t.get(e);if(void 0!==n)return n;if(Array.isArray(e)){const n=[];return t.set(e,n),e.forEach(e=>{n.push(B(e,t))}),n}if(function(e){const t=e.constructor;return t===Object||void 0===t}(e)){const n={};t.set(e,n);return Object.keys(e).forEach(r=>{const i=e[r];void 0!==i&&(n[r]=B(i,t))}),n}return e}let H;function W(e){if(void 0!==H)return H?H(e):e();const t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=s;return t in n&&"function"===typeof n[t]?(H=n[t],H(e)):(H=null,e())}function z(){return W(()=>Math.random())}function Y(){return W(()=>Date.now())}const U=Symbol.for("sentry.skipNormalization"),X=Symbol.for("sentry.overrideNormalizationDepth");const G="?",q=/\(error: (.*)\)/,J=/captureMessage|captureException/;function $(...e){const t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{const i=[],a=e.split("\n");for(let o=n;o<a.length;o++){let e=a[o];e.length>1024&&(e=e.slice(0,1024));const n=q.test(e)?e.replace(q,"$1"):e;if(!n.includes("Error: ")){for(const e of t){const t=e(n);if(t){i.push(t);break}}if(i.length>=50+r)break}}return function(e){if(!e.length)return[];const t=Array.from(e);/sentryWrapped/.test(K(t).function||"")&&t.pop();t.reverse(),J.test(K(t).function||"")&&(t.pop(),J.test(K(t).function||"")&&t.pop());return t.slice(0,50).map(e=>({...e,filename:e.filename||K(t).filename,function:e.function||G}))}(i.slice(r))}}function K(e){return e[e.length-1]||{}}const Z="<anonymous>";function Q(e){try{return e&&"function"===typeof e&&e.name||Z}catch{return Z}}function ee(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}let te,ne;function re(e,t=100,n=1/0){try{return ae("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function ie(e,t=3,n=102400){const r=re(e,t);return i=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(i))>n?ie(e,t-1,n):r;var i}function ae(e,t,n=1/0,r=1/0,i=function(){const e=new WeakSet;function t(t){return!!e.has(t)||(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}()){const[a,o]=i;if(null==t||["boolean","string"].includes(typeof t)||"number"===typeof t&&Number.isFinite(t))return t;const s=oe(e,t);if(!s.startsWith("[object "))return s;if(function(e){return Boolean(e[U])}(t))return t;const l=function(e){const t=e[X];return"number"===typeof t?t:void 0}(t),c=void 0!==l?l:n;if(0===c)return s.replace("object ","");if(a(t))return"[Circular ~]";const u=t;if(u&&"function"===typeof u.toJSON)try{return ae("",u.toJSON(),c-1,r,i)}catch{}const d=Array.isArray(t)?[]:{};let p=0;const f=M(t);for(const h in f){if(!Object.prototype.hasOwnProperty.call(f,h))continue;if(p>=r){d[h]="[MaxProperties ~]";break}const e=f[h];d[h]=ae(h,e,c-1,r,i),p++}return o(t),d}function oe(e,t){try{if(te){const e=te(t);if(e)return e}if("undefined"!==typeof r.g&&t===r.g)return"[Global]";if("number"===typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"===typeof t)return`[Function: ${Q(t)}]`;if("symbol"===typeof t)return`[${String(t)}]`;if("bigint"===typeof t)return`[BigInt: ${String(t)}]`;const e=function(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);return`[object ${e}]`}catch(n){return`**non-serializable** (${n})`}}function se(e,t=0){return"string"!==typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function le(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const t=e[r];E(t)?n.push(String(t)):t instanceof Error?n.push(t.message?`${t.name}: ${t.message}`:t.name):n.push(oe(0,t))}return n.join(t)}function ce(e,t,n=!1){return!!x(e)&&(w(t,"RegExp")?t.test(e):x(t)?n?e===t:e.includes(t):"function"===typeof t&&t(e))}function ue(e,t=[],n=!1){for(const r of t)if(ce(e,r,n))return!0;return!1}function de(e=function(){const e=s;return e.crypto||e.msCrypto}()){try{if(e?.randomUUID)return W(()=>e.randomUUID()).replace(/-/g,"")}catch{}return ne||(ne="10000000100040008000100000000000"),ne.replace(/[018]/g,e=>(e^(16*z()&15)>>e/4).toString(16))}function pe(e){return e.exception?.values?.[0]}function fe(e){const{message:t,event_id:n}=e;if(t)return t;const r=pe(e);return r?r.type&&r.value?`${r.type}: ${r.value}
2`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function he(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||(a.value=t||""),a.type||(a.type=n||"Error")}function me(e,t){const n=pe(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r?.data,...t.data};n.mechanism.data=e}}function ge(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{N(e,"__sentry_captured__",!0)}catch{}return!1}function ye(){return Y()/1e3}let ve;function be(){return(ve??(ve=function(){const{performance:e}=s;if(!e?.now||!e.timeOrigin)return ye;const t=e.timeOrigin;return()=>(t+W(()=>e.now()))/1e3}()))()}let _e=null;function we(){return null===_e&&(_e=function(){const{performance:e}=s;if(!e?.now)return;const t=3e5,n=W(()=>e.now()),r=Y(),i=e.timeOrigin;if("number"===typeof i&&Math.abs(i+n-r)<t)return i;const a=e.timing?.navigationStart;if("number"===typeof a&&Math.abs(a+n-r)<t)return a;return r-n}()),_e}function ke(e){const t=be(),n={sid:de(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"===typeof e.did||"string"===typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}(n)};return e&&Se(n,e),n}function Se(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||be(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:de()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"===typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"===typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"===typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function xe(e,t,n=2){if(!t||"object"!==typeof t||n<=0)return t;if(e&&0===Object.keys(t).length)return e;const r={...e};for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=xe(r[i],t[i],n-1));return r}function Ce(){return de()}function Ee(){return de().substring(16)}function Ae(e){try{const t=s.WeakRef;if("function"===typeof t)return new t(e)}catch{}return e}function Te(e){if(e){if("object"===typeof e&&"deref"in e&&"function"===typeof e.deref)try{return e.deref()}catch{return}return e}}const Ie="_sentrySpan";function Re(e,t){t?N(e,Ie,Ae(t)):delete e[Ie]}function Oe(e){return Te(e[Ie])}class De{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Ce(),sampleRand:z()}}clone(){const e=new De;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,Re(e,Oe(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Se(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"===typeof e?e(this):e,n=t instanceof De?t.getScopeData():A(t)?e:void 0,{tags:r,attributes:i,extra:a,user:o,contexts:s,level:l,fingerprint:c=[],propagationContext:u,conversationId:d}=n||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),l&&(this._level=l),c.length&&(this._fingerprint=c),u&&(this._propagationContext=u),d&&(this._conversationId=d),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,Re(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Ce(),sampleRand:z()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const n="number"===typeof t?t:100;if(n<=0)return this;const r={timestamp:ye(),...e,message:e.message?se(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Oe(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=xe(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t?.event_id||de();if(!this._client)return d&&v.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n?.event_id||de();if(!this._client)return d&&v.warn("No client configured on scope - will not capture message!"),r;const i=n?.syntheticException??new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){const n=e.event_id||t?.event_id||de();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(d&&v.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
2h(e=>{e(this)}),this._notifyingListeners=!1)}}const Ne=e=>e instanceof Promise&&!e[je],je=Symbol("chained PromiseLike"),Fe=(e,t,n)=>{const r=e.then(e=>(t(e),e),e=>{throw n(e),e});return Ne(r)&&Ne(e)?r:Me(e,r)},Me=(e,t)=>{if(!t)return e;let n=!1;for(const r in e){if(r in t)continue;n=!0;const i=e[r];"function"===typeof i?Object.defineProperty(t,r,{value:(...t)=>i.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[r]=i}return n&&Object.assign(t,{[je]:!0}),t};class Ve{constructor(e,t){let n,r;n=e||new De,r=t||new De,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){const n=this._pushScope();let r;try{r=t(n)}catch(e){throw this._popScope(),e}return I(r)?Fe(r,()=>this._popScope(),()=>this._popScope()):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function Pe(){const e=c(l());return e.stack=e.stack||new Ve(u("defaultCurrentScope",()=>new De),u("defaultIsolationScope",()=>new De))}function Le(e){return Pe().withScope(e)}function Be(e,t){const n=Pe();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function He(e){return Pe().withScope(()=>e(Pe().getIsolationScope()))}function We(e){const t=c(e);return t.acs?t.acs:{withIsolationScope:He,withScope:Le,withSetScope:Be,withSetIsolationScope:(e,t)=>He(t),getCurrentScope:()=>Pe().getScope(),getIsolationScope:()=>Pe().getIsolationScope()}}let ze;function Ye(){return We(l()).getCurrentScope()}function Ue(){return We(l()).getIsolationScope()}function Xe(){return u("globalScope",()=>new De)}function Ge(...e){const t=We(l());if(2===e.length){const[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function qe(){return Ye().getClient()}function Je(e){const t=ze?.();if(t)return{trace_id:t.traceId,span_id:t.spanId};const n=e.getPropagationContext(),{traceId:r,parentSpanId:i,propagationSpanId:a}=n,o={trace_id:r,span_id:a||Ee()};return i&&(o.parent_span_id=i),o}const $e=100;function Ke(e,t){const n=qe(),r=Ue();if(!n)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:a=$e}=n.getOptions();if(a<=0)return;const o={timestamp:ye(),...e},s=i?h(()=>i(o,t)):o;null!==s&&(n.emit&&n.emit("beforeAddBreadcrumb",s,t),r.addBreadcrumb(s,a))}const Ze=[];function Qe(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;if(t.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(n))r=[...t,...n];else if("function"===typeof n){const e=n(t);r=Array.isArray(e)?e:[e]}else r=t;return function(e){const t={};return e.forEach(e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}(r)}function et(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function tt(e,t,n){if(n[t.name])d&&v.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,Ze.includes(t.name)||"function"!==typeof t.setupOnce||(t.setupOnce(),Ze.push(t.name)),t.setup&&"function"===typeof t.setup&&t.setup(e),"function"===typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"===typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}["processSpan","processSegmentSpan"].forEach(n=>{const r=t[n];"function"===typeof r&&e.on(n,n=>r.call(t,n,e))}),d&&v.log(`Integration installed: ${t.name}`)}}function nt(e){const t=qe();t?t.addIntegration(e):d&&v.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`)}const rt="sentry.source",it="sentry.sample_rate",at="sentry.op",ot="sentry.origin",st="sentry.status.message",lt="sentry.idle_span_finish_reason",ct="sentry.measurement_unit",ut="sentry.measurement_value",dt="sentry.custom_span_name",pt="sentry.profile_id",ft="sentry.exclusive_time",ht="http.request.method",mt="url.full",gt="sentry-";function yt(e){const t=bt(e);if(!t)return;const n=Object.entries(t).reduce((e,[t,n])=>{if(t.startsWith(gt)){e[t.slice(7)]=n}return e},{});return Object.keys(n).length>0?n:void 0}function vt(e){if(!e)return;return wt(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${gt}${t}`]=n),e),{}))}function bt(e){if(e&&(x(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>
2{const n=_t(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):_t(e)}function _t(e){return e.split(",").map(e=>{const t=e.indexOf("=");if(-1===t)return[];return[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}function wt(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[t,n],r)=>{const i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,a=0===r?i:`${e},${i}`;return a.length>8192?(d&&v.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):a},"")}function kt(t,n,r=()=>{},i=()=>{}){let a;try{a=t()}catch(e){throw n(e),r(),e}return function(e,t,n,r){if(I(e))return Fe(e,e=>{n(),r(e)},e=>{t(e),n()});return n(),r(e),e}(a,n,r,i)}function St(e){if("boolean"===typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=e||qe()?.getOptions();return!!t&&(null!=t.tracesSampleRate||!!t.tracesSampler)}function xt(e){v.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function Ct(e,t){if(!t?.length)return!1;for(const n of t){if(Tt(n)){if(e.description&&ce(e.description,n))return d&&xt(e),!0;continue}const t=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!t)continue;const r=!n.name||e.description&&ce(e.description,n.name),i=!n.op||e.op&&ce(e.op,n.op),a=!n.attributes||Object.entries(n.attributes).every(([t,n])=>Et(e.attributes?.[t],n));if(r&&i&&a)return d&&xt(e),!0}return!1}function Et(e,t){return"string"===typeof e&&("string"===typeof t||t instanceof RegExp)?ce(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t}function At(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const i of e)i.parent_span_id===r&&(i.parent_span_id=n)}function Tt(e){return"string"===typeof e||e instanceof RegExp}function It(e){return"stream"===e.getOptions().traceLifecycle}function Rt(e){if("boolean"===typeof e)return Number(e);const t="string"===typeof e?parseFloat(e):e;return"number"!==typeof t||isNaN(t)||t<0||t>1?void 0:t}function Ot(e,t){const{value:n,unit:r}="object"===typeof(i=e)&&null!=i&&!Array.isArray(i)&&Object.keys(i).includes("value")?e:{value:e,unit:void 0};var i;const a=function(e){if(Array.isArray(e))return{value:e,type:"array"};const t="string"===typeof e?"string":"boolean"===typeof e?"boolean":"number"!==typeof e||Number.isNaN(e)?null:Number.isInteger(e)?"integer":"double";if(t)return{value:e,type:t}}(n),o=r&&"string"===typeof r?{unit:r}:{};if(a)return{...a,...o};if(!t||"skip-undefined"===t&&void 0===n)return;let s="";try{s=JSON.stringify(n)??""}catch{}return{value:s,type:"string",...o}}function Dt(e,t=!1){const n={};for(const[r,i]of Object.entries(e??{})){const e=Ot(i,t);e&&(n[r]=e)}return n}function Nt(e,t){e.setAttribute("http.response.status_code",t);const n=function(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"};default:return{code:2,message:"internal_error"}}return{code:2,message:"internal_error"}}(t);"unknown_error"!==n.message&&e.setStatus(n)}const jt="_sentryScope",Ft="_sentryIsolationScope",Mt=Symbol.for("sentry.otelSourceInference"),Vt=Symbol.for("sentry.otelSourceExplicitlySet"),Pt=Symbol.for("sentry.tracerProviderSpan");function Lt(e,t,n){e&&(N(e,Ft,Ae(n)),N(e,jt,t))}function Bt(e){const t=e;return{scope:t[jt],isolationScope:Te(t[Ft])}}function Ht(e){return!0===e[Mt]}function Wt(e){return!0===e[Pt]}const zt=/^o(\d+)\./,Yt=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function Ut(e,t=!1){const{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&i?`:${i}`:""}@${n}${a?`:${a}`:""}/${r?`${r}/`:r}${o}
2`}function Xt(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Gt(e){const t=e.getOptions(),{host:n}=e.getDsn()||{};let r;return t.orgId?r=String(t.orgId):n&&(r=function(e){const t=e.match(zt);return t?.[1]}(n)),r}function qt(e){const t="string"===typeof e?function(e){const t=Yt.exec(e);if(!t)return void h(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});const[n,r,i="",a="",o="",s=""]=t.slice(1);let l="",c=s;const u=c.split("/");if(u.length>1&&(l=u.slice(0,-1).join("/"),c=u.pop()),c){const e=c.match(/^\d+/);e&&(c=e[0])}return Xt({host:a,pass:i,path:l,projectId:c,port:o,protocol:n,publicKey:r})}(e):Xt(e);if(t&&function(e){if(!d)return!0;const{port:t,projectId:n,protocol:r}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(v.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(r)?!t||!isNaN(parseInt(t,10))||(v.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(v.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(v.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}const Jt=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function $t(e=Ce(),t=Ee(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function Kt(e=Ce(),t=Ee(),n){return`00-${e}-${t}-${n?"01":"00"}`}let Zt=!1;function Qt(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,origin:s,links:l}=on(e);return{parent_span_id:a,span_id:t,trace_id:n,data:r,op:i,status:o,origin:s,links:l}}function en(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:on(e).parent_span_id,a=Bt(e).scope;return{parent_span_id:i,span_id:r?a?.getPropagationContext().propagationSpanId||Ee():t,trace_id:n}}function tn(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:1===n,attributes:i,...r})):void 0}function nn(e){return e?.length?e.map(({context:{spanId:e,traceId:t,traceFlags:n},attributes:r})=>({span_id:e,trace_id:t,sampled:1===n,attributes:r})):void 0}function rn(e){return"number"===typeof e?an(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?an(e.getTime()):be()}function an(e){return e>9999999999?e/1e3:e}function on(e){if(un(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(cn(e)){const{attributes:r,startTime:i,name:a,endTime:o,status:s,links:l}=e;return{span_id:t,trace_id:n,data:r,description:a,parent_span_id:sn(e),start_timestamp:rn(i),timestamp:rn(o)||void 0,status:pn(s),op:r[at],origin:r[ot],links:tn(l)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function sn(e){return"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0}function ln(e){return{...e,attributes:Dt(e.attributes),links:e.links?.map(e=>({...e,attributes:Dt(e.attributes)}))}}function cn(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function un(e){return"function"===typeof e.getSpanJSON}function dn(e){const{traceFlags:t}=e.spanContext();return 1===t}function pn(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"internal_error"}function fn(e){return e&&1!==e.code&&0!==e.code&&"cancelled"!==e.message?"error":"ok"}function hn(e,t){const n="error"===fn(t)?t?.message:void 0;return{...n&&{[st]:n},...e}}const mn="_sentryChildSpans",gn="_sentryRootSpan";function yn(e,t){const n=e[gn]||e;N(t,gn,n),e[mn]?e[mn].add(t):N(e,mn,new Set([t]))}function vn(e){const t=new Set;return function e(n){if(!t.has(n)&&dn(n)){t.add(n);const r=n[mn]?Array.from(n[mn]):[];for(const t of r)e(t)}}(e),Array.from(t)}const bn=_n;function _n(e){return e[gn]||e}function wn(){const e=We(l());return e.getActiveSpan?e.getActiveSpan():Oe(Ye())}function kn(){Zt||(h(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),Zt=!0)}const Sn="sentry.span.source",xn="production",Cn=Symbol.for("sentry.nonRecordingSpan");class En{constructor(e={}){this._traceId=e.traceId||Ce(),this._spanId=e.spanId||Ee(),this.dropReason=e.dropReason,N(this,Cn,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}
2addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}function An(e){return!!e&&!0===e[Cn]}const Tn="_frozenDsc";function In(e,t){N(e,Tn,t)}function Rn(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i={environment:n.environment||xn,release:n.release,public_key:r,trace_id:e,org_id:Gt(t)};return t.emit("createDsc",i),i}function On(e,t){const n=t.getPropagationContext();return n.dsc||Rn(n.traceId,e)}function Dn(e){const t=qe();if(!t)return{};const n=bn(e),r=on(n),i=r.data,a=n.spanContext().traceState,o=a?.get("sentry.sample_rate")??i[it]??i["sentry.previous_trace_sample_rate"];function s(e){return"number"!==typeof o&&"string"!==typeof o||(e.sample_rate=`${o}`),e}const l=n[Tn];if(l)return s(l);if(An(n)&&!St(t.getOptions())){const e=Bt(n).scope;if(e)return s({...On(t,e)})}const c=a?.get("sentry.dsc"),u=c&&yt(c);if(u)return s(u);const d=Rn(e.spanContext().traceId,t),p=i[rt]??i[Sn],f=r.description;return"url"!==p&&f&&(d.transaction=f),St()&&(d.sampled=String(dn(n)),d.sample_rand=a?.get("sentry.sample_rand")??Bt(n).scope?.getPropagationContext().sampleRand.toString()),s(d),t.emit("createDsc",d,n),d}function Nn(e){return!!e&&"function"===typeof e&&"_streamed"in e&&!!e._streamed}function jn(e,t=[]){return[e,t]}function Fn(e,t){const[n,r]=e;return[n,[...r,t]]}function Mn(e,t){const n=e[1];for(const r of n){if(t(r,r[0].type))return!0}return!1}function Vn(e){const t=c(s);return t.encodePolyfill?t.encodePolyfill(e):(new TextEncoder).encode(e)}function Pn(e){const[t,n]=e;let r=JSON.stringify(t);function i(e){"string"===typeof r?r="string"===typeof e?r+e:[Vn(r),e]:r.push("string"===typeof e?Vn(e):e)}for(const a of n){const[e,t]=a;if(i(`\n${JSON.stringify(e)}\n`),"string"===typeof t||t instanceof Uint8Array)i(t);else{let e;try{e=JSON.stringify(t)}catch{e=JSON.stringify(re(t))}i(e)}}return"string"===typeof r?r:function(e){const t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}(r)}function Ln(e){return[{type:"span"},e]}function Bn(e){const t="string"===typeof e.data?Vn(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const Hn={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function Wn(e){return function(e){return e in Hn}(e)?Hn[e]:e}function zn(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Yn(e,t,n,r){const i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(Y()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:Ut(r)},...i&&{trace:i}}}function Un(e,t,n,r=wn()){const i=r&&bn(r);i&&(d&&v.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),i.addEvent(e,{[ut]:t,[ct]:n}))}function Xn(e){if(!e||0===e.length)return;const t={};return e.forEach(e=>{const n=e.attributes||{},r=n[ct],i=n[ut];"string"===typeof r&&"number"===typeof i&&(t[e.name]={value:i,unit:r})}),t}function Gn(){return c(l()).segmentSpanCaptureStrategy}class qn{constructor(e={}){this._traceId=e.traceId||Ce(),this._spanId=e.spanId||Ee(),this._startTime=e.startTimestamp||be(),this._links=e.links,this._attributes={},this.setAttributes({[ot]:"manual",[at]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._frozen||(this._links?this._links.push(e):this._links=[e]),this}addLinks(e){return this._frozen||(this._links?this._links.push(...e):this._links=e),this}recordException(e,t){}spanContext(){const{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?1:0}}setAttribute(e,t){return this._frozen||(void 0===t?delete this._attributes[e]:this._attributes[e]=t,e===rt&&void 0!==t&&Ht(this)&&N(this,Vt,!0)),this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._frozen||(this._startTime=rn(e))}setStatus(e){return this._frozen||(this._status=e),this}updateName(e){return this._frozen||(this._name=e,Ht(this)||this.setAttribute(rt,"custom")),this}end(e){this._endTime||(this._endTime=rn(e),function(e){if(!d)return;const{description:t="< unknown name >",op:n="< unknown op >"}=on(e),{spanId:r}=e.spanContext(),i=`[Tracing] Finishing "${n}" ${bn(e)===e?"root ":""}span "${t}" with ID ${r}`;v.log(i)}(this),this._onSpanEnded()),this._frozen=Wt(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[at],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:pn(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[ot],profile_id:this._attributes[pt],exclusive_time:this._attributes[ft],measurements:Xn(this._events),is_segment:this._isStandaloneSpan&&bn(this)===this||void 0,segment_id:this._isStandaloneSpan?bn(this).spanContext().spanId:void 0,links:tn(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===bn(this),status:fn(this._status),attributes:hn(this._attributes,this._status),links:nn(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){if(this._frozen)return this;d&&v.log("[Tracing] Adding an event to span:",e);const r=Jn(t)?t:n||be(),i=Jn(t)?{}:t||{},a={name:e,time:rn(r),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const e=qe();e&&(e.emit("spanEnd",this),this._isStandaloneSpan||e.emit("afterSpanEnd",this));const t=bn(this),n=this._isStandaloneSpan||this===t;if(this._isStandaloneSpan)return void(this._sampled?function(e){const t=qe();if(!t)return;const n=e[1];
2if(!n||0===n.length)return void t.recordDroppedEvent("before_send","span");t.sendEnvelope(e)}(function(e,t){const n=Dn(e[0]),r=t?.getDsn(),i=t?.getOptions().tunnel,a={sent_at:new Date(Y()).toISOString(),...(o=n,!!o.trace_id&&!!o.public_key&&{trace:n}),...!!i&&r&&{dsn:Ut(r)}};var o;const{beforeSendSpan:s,ignoreSpans:l}=t?.getOptions()||{},c=l?.length?e.filter(e=>{const t=on(e);return!Ct({description:t.description,op:t.op,attributes:t.data},l)}):e,u=e.length-c.length;u&&t?.recordDroppedEvent("before_send","span",u);const d=s?e=>{const t=on(e);return(Nn(s)?t:s(t))||(kn(),t)}:on,p=[];for(const f of c){const e=d(f);e&&p.push(Ln(e))}return jn(a,p)}([this],e)):(d&&v.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));if(!n){const e=Gn();if(e){const n=Bt(this).scope||Ye();e.onChildSpanEnded(this,t,e=>this._convertSpanToTransaction(e),n)}return}if(e&&It(e))return void e.emit("afterSegmentSpanEnd",this);const r=Bt(this).scope||Ye(),i=Gn();if(i)i.onSegmentSpanEnded(e=>this._convertSpanToTransaction(e),r);else{const e=this._convertSpanToTransaction();e&&r.captureEvent(e)}}_convertSpanToTransaction(e={}){if(!$n(on(this)))return;this._name||(d&&v.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:n}=Bt(this),r=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;e.onSpanCaptured?.(this);const i=[];for(const c of vn(this)){if(c===this||Kn(c)||e.isSpanAlreadyCaptured?.(c))continue;const t=on(c);$n(t)&&(e.onSpanCaptured?.(c),i.push(t))}const a=this._attributes[rt];delete this._attributes[dt];let o=!1;i.forEach(e=>{delete e.data[dt],e.op?.startsWith("gen_ai.")&&(o=!0)});const s={contexts:{trace:Qt(this)},spans:i.length>1e3?i.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:Dn(this),hasGenAiSpans:o},request:r,...a&&{transaction_info:{source:a}}},l=Xn(this._events);return l&&Object.keys(l).length&&(d&&v.log("[Measurements] Adding measurements to transaction event",JSON.stringify(l,void 0,2)),s.measurements=l),s}}function Jn(e){return e&&"number"===typeof e||e instanceof Date||Array.isArray(e)}function $n(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function Kn(e){return e instanceof qn&&e.isStandaloneSpan()}const Zn="__SENTRY_SUPPRESS_TRACING__";function Qn(e,t){const n=cr();if(n.startSpan)return n.startSpan(e,t);const r=lr(e),{forceTransaction:i,parentSpan:a,scope:o}=e,s=o?.clone();return Ge(s,()=>pr(a)(()=>{const n=Ye(),o=dr(n,a),s=qe(),l=e.onlyIfParent&&!o?or(n,s):sr({parentSpan:o,spanArguments:r,forceTransaction:i,scope:n});return fr(l)&&o||Re(n,l),kt(()=>t(l),()=>{const{status:e}=on(l);!l.isRecording()||e&&"ok"!==e||l.setStatus({code:2,message:"internal_error"})},()=>{l.end()})}))}function er(e,t){const n=cr();if(n.startSpanManual)return n.startSpanManual(e,t);const r=lr(e),{forceTransaction:i,parentSpan:a,scope:o}=e,s=o?.clone();return Ge(s,()=>pr(a)(()=>{const n=Ye(),o=dr(n,a),s=e.onlyIfParent&&!o?or(n,qe()):sr({parentSpan:o,spanArguments:r,forceTransaction:i,scope:n});return fr(s)&&o||Re(n,s),kt(()=>t(s,()=>s.end()),()=>{const{status:e}=on(s);!s.isRecording()||e&&"ok"!==e||s.setStatus({code:2,message:"internal_error"})})}))}function tr(e){const t=cr();return t.startInactiveSpan?t.startInactiveSpan(e):nr(e)}function nr(e){const t=lr(e),{forceTransaction:n,parentSpan:r}=e;return(e.scope?t=>Ge(e.scope,t):void 0!==r?e=>rr(r,e):e=>e())(()=>{const i=Ye(),a=dr(i,r),o=qe();return e.onlyIfParent&&!a?or(i,o):sr({parentSpan:a,spanArguments:t,forceTransaction:n,scope:i})})}function rr(e,t){const n=cr();return n.withActiveSpan?n.withActiveSpan(e,t):Ge(n=>(Re(n,e||void 0),t(n)))}function ir(e){const t=cr();return t.suppressTracing?t.suppressTracing(e):Ge(t=>{t.setSDKProcessingMetadata({[Zn]:!0});const n=e();return t.setSDKProcessingMetadata({[Zn]:void 0}),n})}function ar(e=Ye()){const t=cr();return t.isTracingSuppressed?t.isTracingSuppressed(e):!0===e.getScopeData().sdkProcessingMetadata[Zn]}function or(e,t){t?.recordDroppedEvent("no_parent_span","span");const n=new En({traceId:e.getPropagationContext().traceId});return Lt(n,e,Ue()),n}function sr({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){const i=Ue();if(!St()){const t={...i.getPropagationContext(),...r.getPropagationContext()},a=e?e.spanContext().traceId:t.traceId,o=new En({traceId:a});return e&&!n&&yn(e,o),Lt(o,r,i),o}const a=qe();if(function(e,t){const n=e?.getOptions().ignoreSpans;if(!e||!It(e)||!n?.length)return!1;return Ct({description:t.name||"",op:t.attributes?.[at]||t.op,attributes:t.attributes},n)}(a,t)){ar(r)||a?.recordDroppedEvent("ignored","span");
2const t=new En({dropReason:"ignored",traceId:e?.spanContext().traceId??r.getPropagationContext().traceId});return Lt(t,r,i),t}let o;if(e&&!n)o=function(e,t,n,r){const{spanId:i,traceId:a}=e.spanContext(),o=ar(t),s=!o&&dn(e),l=s?new qn({...n,parentSpanId:i,traceId:a,sampled:s}):new En({traceId:a});yn(e,l),Lt(l,t,r);const c=qe();if(!c)return l;It(c)&&An(l)&&(An(e)&&e.dropReason?(l.dropReason=e.dropReason,c.recordDroppedEvent(e.dropReason,"span")):o||(l.dropReason="sample_rate",c.recordDroppedEvent("sample_rate","span")));c.emit("spanStart",l),n.endTimestamp&&(c.emit("spanEnd",l),c.emit("afterSpanEnd",l));return l}(e,r,t,i),yn(e,o);else if(e){const n=Dn(e),{traceId:a,spanId:s}=e.spanContext(),l=dn(e);o=ur({traceId:a,parentSpanId:s,...t},r,i,l),In(o,n)}else{const{traceId:e,dsc:n,parentSpanId:a,sampled:s}={...i.getPropagationContext(),...r.getPropagationContext()};o=ur({traceId:e,parentSpanId:a,...t},r,i,s),n&&In(o,n)}return function(e){if(!d)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=on(e),{spanId:i}=e.spanContext(),a=dn(e),o=bn(e),s=o===e,l=`[Tracing] Starting ${a?"sampled":"unsampled"} ${s?"root ":""}span`,c=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];if(r&&c.push(`parent ID: ${r}`),!s){const{op:e,description:t}=on(o);c.push(`root ID: ${o.spanContext().spanId}`),e&&c.push(`root op: ${e}`),t&&c.push(`root description: ${t}`)}v.log(`${l}\n  ${c.join("\n  ")}`)}(o),o}function lr(e){const t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const n={...t};return n.startTimestamp=rn(e.startTime),delete n.startTime,n}return t}function cr(){return We(l())}function ur(e,t,n,r){const i=qe(),a=i?.getOptions()||{},{name:o=""}=e,s={spanAttributes:{...e.attributes},spanName:o,parentSampled:r};i?.emit("beforeSampling",s,{decision:!1});const l=s.parentSampled??r,c=s.spanAttributes,u=t.getPropagationContext(),p=ar(t),[f,h,m]=p?[!1]:function(e,t,n){if(!St(e))return[!1];let r,i;"function"===typeof e.tracesSampler?(i=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"===typeof t.parentSampleRate?t.parentSampleRate:"boolean"===typeof t.parentSampled?Number(t.parentSampled):e}),r=!0):void 0!==t.parentSampled?i=t.parentSampled:"undefined"!==typeof e.tracesSampleRate&&(i=e.tracesSampleRate,r=!0);const a=Rt(i);if(void 0===a)return d&&v.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(i)} of type ${JSON.stringify(typeof i)}.`),[!1];if(!a)return d&&v.log("[Tracing] Discarding transaction because "+("function"===typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),[!1,a,r];const o=n<a;return o||d&&v.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(i)})`),[o,a,r]}(a,{name:o,parentSampled:l,attributes:c,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:Rt(u.dsc?.sample_rate)},u.sampleRand),g=new qn({...e,attributes:{[rt]:"custom",[it]:void 0!==h&&m?h:void 0,...c},sampled:f});return f||!i||p||(d&&v.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),i.recordDroppedEvent("sample_rate",It(i)?"span":"transaction")),Lt(g,t,n),i&&i.emit("spanStart",g),g}function dr(e,t){if(t)return t;if(null===t)return;const n=Oe(e);if(!n)return;const r=qe();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?bn(n):n}function pr(e){return void 0!==e?t=>rr(e,t):e=>e()}function fr(e){return An(e)&&"ignored"===e.dropReason}function hr(e){return new gr(t=>{t(e)})}function mr(e){return new gr((t,n)=>{n(e)})}class gr{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(t,n){return new gr((r,i)=>{this._handlers.push([!1,n=>{if(t)try{r(t(n))}catch(e){i(e)}else r(n)},t=>{if(n)try{r(n(t))}catch(e){i(e)}else i(t)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new gr((t,n)=>{let r,i;return this.then(t=>{i=!1,r=t,e&&e()},t=>{i=!0,r=t,e&&e()}).then(()=>{i?n(r):t(r)})})}_executeHandlers(){if(0===this._state)return;const e=this._handlers.slice();
2this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(t){const n=(e,t)=>{0===this._state&&(I(t)?t.then(r,i):(this._state=e,this._value=t,this._executeHandlers()))},r=e=>{n(1,e)},i=e=>{n(2,e)};try{t(r,i)}catch(e){i(e)}}}function yr(e,t,n,r=0){try{const i=vr(t,n,e,r);return I(i)?i:hr(i)}catch(i){return mr(i)}}function vr(e,t,n,r){const i=n[r];if(!e||!i)return e;const a=i({...e},t);return d&&null===a&&v.log(`Event processor "${i.id||"?"}" dropped event`),I(a)?a.then(e=>vr(e,t,n,r+1)):vr(a,t,n,r+1)}let br,_r,wr,kr;function Sr(e){const t=s._sentryDebugIds,n=s._debugIds;if(!t&&!n)return{};const r=t?Object.keys(t):[],i=n?Object.keys(n):[];if(kr&&r.length===_r&&i.length===wr)return kr;_r=r.length,wr=i.length,kr={},br||(br={});const a=(t,n)=>{for(const r of t){const t=n[r],i=br?.[r];if(i&&kr&&t)kr[i[0]]=t,br&&(br[r]=[i[0],t]);else if(t){const n=e(r);for(let e=n.length-1;e>=0;e--){const i=n[e],a=i?.filename;if(a&&kr&&br){kr[a]=t,br[r]=[a,t];break}}}}};return t&&a(r,t),n&&a(i,n),kr}function xr(e,t){const{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;!function(e,t){const{extra:n,tags:r,user:i,contexts:a,level:o,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra});Object.keys(r).length&&(e.tags={...r,...e.tags});Object.keys(i).length&&(e.user={...i,...e.user});Object.keys(a).length&&(e.contexts={...a,...e.contexts});o&&(e.level=o);s&&"transaction"!==e.type&&(e.transaction=s)}(e,t),r&&function(e,t){e.contexts={trace:en(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Dn(t),...e.sdkProcessingMetadata};const n=bn(t),r=on(n).description;r&&!e.transaction&&"transaction"===e.type&&(e.transaction=r)}(e,r),function(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint.length||delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,i),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,a)}function Cr(e,t){const{extra:n,tags:r,attributes:i,user:a,contexts:o,level:s,sdkProcessingMetadata:l,breadcrumbs:c,fingerprint:u,eventProcessors:d,attachments:p,propagationContext:f,transactionName:h,span:m}=t;Er(e,"extra",n),Er(e,"tags",r),Er(e,"attributes",i),Er(e,"user",a),Er(e,"contexts",o),e.sdkProcessingMetadata=xe(e.sdkProcessingMetadata,l,2),s&&(e.level=s),h&&(e.transactionName=h),m&&(e.span=m),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...f}}function Er(e,t,n){e[t]=xe(e[t],n,1)}function Ar(e,t){const n=Xe().getScopeData();return e&&Cr(n,e.getScopeData()),t&&Cr(n,t.getScopeData()),n}function Tr(e,t,n,r,i,a){const{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,l={...t,event_id:t.event_id||n.event_id||de(),timestamp:t.timestamp||ye()},c=n.integrations||e.integrations.map(e=>e.name);!function(e,t){const{environment:n,release:r,dist:i,maxValueLength:a}=t;e.environment=e.environment||n||xn,!e.release&&r&&(e.release=r);!e.dist&&i&&(e.dist=i);const o=e.request;o?.url&&a&&(o.url=se(o.url,a));a&&e.exception?.values?.forEach(e=>{e.value&&(e.value=se(e.value,a))})}(l,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(l,c),i&&i.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){const n=Sr(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}(l,e.stackParser);const u=function(e,t){if(!t)return e;const n=e?e.clone():new De;return n.update(t),n}(r,n.captureContext);n.mechanism&&me(l,n.mechanism);const d=i?i.getEventProcessors():[],p=Ar(a,u),f=[...n.attachments||[],...p.attachments];f.length&&(n.attachments=f),xr(l,p);const h=[...d,...p.eventProcessors];return(n.data&&!0===n.data.__sentry__?hr(l):yr(h,l,n)).then(e=>(e&&function(e){const t={};
2if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"===typeof o&&o>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:re(e.data,t,n)}}))},...e.user&&{user:re(e.user,t,n)},...e.contexts&&{contexts:re(e.contexts,t,n)},...e.extra&&{extra:re(e.extra,t,n)}};e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=re(e.contexts.trace.data,t,n)));e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:re(e.data,t,n)}})));e.contexts?.flags&&r.contexts&&(r.contexts.flags=re(e.contexts.flags,3,n));return r}(e,o,s):e))}function Ir(e){if(e)return function(e){return e instanceof De||"function"===typeof e}(e)||function(e){return Object.keys(e).some(e=>Rr.includes(e))}(e)?{captureContext:e}:e}const Rr=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function Or(e,t){return Ye().captureException(e,Ir(t))}function Dr(e,t){const n="string"===typeof t?t:void 0,r="string"!==typeof t?{captureContext:t}:void 0;return Ye().captureMessage(e,n,r)}function Nr(e,t){return Ye().captureEvent(e,t)}function jr(e,t){Ue().setContext(e,t)}function Fr(e){Ue().setExtras(e)}function Mr(e,t){Ue().setExtra(e,t)}function Vr(e){Ue().setTags(e)}function Pr(e,t){Ue().setTag(e,t)}function Lr(e){Ue().setAttributes(e)}function Br(e,t){Ue().setAttribute(e,t)}function Hr(e){Ue().setUser(e)}function Wr(){return Ue().lastEventId()}function zr(e){Ue().addEventProcessor(e)}function Yr(e){const t=Ue(),{user:n}=Ar(t,Ye()),{userAgent:r}=s.navigator||{},i=ke({user:n,...r&&{userAgent:r},...e}),a=t.getSession();return"ok"===a?.status&&Se(a,{status:"exited"}),Ur(),t.setSession(i),i}function Ur(){const e=Ue(),t=Ye().getSession()||e.getSession();t&&function(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),Se(e,n)}(t),Xr(),e.setSession()}function Xr(){const e=Ue(),t=qe(),n=e.getSession();n&&t&&t.captureSession(n)}function Gr(e=!1){e?Ur():Xr()}function qr(e,t={},n=Ye()){const{message:r,name:i,email:a,url:o,source:s,associatedEventId:l,tags:c}=e,u={contexts:{feedback:{contact_email:a,name:i,message:r,url:o,source:s,associated_event_id:l}},type:"feedback",level:"info",tags:c},d=n?.getClient()||qe();d&&d.emit("beforeSendFeedback",u,t);return n.captureEvent(u,t)}function Jr(e){Ye().setClient(e)}const $r="gen_ai.prompt",Kr="gen_ai.system",Zr="gen_ai.request.model",Qr="gen_ai.request.stream",ei="gen_ai.request.temperature",ti="gen_ai.request.max_tokens",ni="gen_ai.request.frequency_penalty",ri="gen_ai.request.presence_penalty",ii="gen_ai.request.top_p",ai="gen_ai.request.top_k",oi="gen_ai.response.finish_reasons",si="gen_ai.response.model",li="gen_ai.response.id",ci="gen_ai.usage.input_tokens",ui="gen_ai.usage.output_tokens",di="gen_ai.usage.total_tokens",pi="gen_ai.operation.name",fi="sentry.sdk_meta.gen_ai.input.messages.original_length",hi="gen_ai.input.messages",mi="gen_ai.system_instructions",gi="gen_ai.response.text",yi="gen_ai.request.available_tools",vi="gen_ai.response.streaming",bi="gen_ai.response.tool_calls",_i="gen_ai.agent.name",wi="gen_ai.conversation.id",ki="gen_ai.embeddings.input",Si="gen_ai.tool.name",xi="gen_ai.tool.input",Ci="gen_ai.tool.output";function Ei(e){return!(!e||"object"!==typeof e)&&(function(e){return"type"in e&&"string"===typeof e.type&&"source"in e&&Ei(e.source)}(e)||Ti(e)||function(e){return"image_url"in e&&("string"===typeof e.image_url?e.image_url.startsWith("data:"):Ai(e))}(e)||Ii(e)||Ri(e)||function(e){return"media_type"in e&&"string"===typeof e.media_type&&"data"in e}(e)||function(e){return"type"in e&&"file"===e.type&&"mediaType"in e&&"string"===typeof e.mediaType&&"data"in e&&"string"===typeof e.data&&!e.data.startsWith("http://")&&!e.data.startsWith("https://")}(e)||function(e){return"type"in e&&"image"===e.type&&"image"in e&&"string"===typeof e.image&&!e.image.startsWith("http://")&&!e.image.startsWith("https://")}(e)||function(e){return"type"in e&&("blob"===e.type||"base64"===e.type)}(e)||function(e){return"b64_json"in e}(e)||function(e){return"type"in e&&"result"in e&&"image_generation"===e.type}(e)||function(e){return"uri"in e&&"string"===typeof e.uri&&e.uri.startsWith("data:")}(e))}function Ai(e){return"image_url"in e&&!!e.image_url&&"object"===typeof e.image_url&&"url"in e.image_url&&"string"===typeof e.image_url.url&&e.
2image_url.url.startsWith("data:")}function Ti(e){return"inlineData"in e&&!!e.inlineData&&"object"===typeof e.inlineData&&"data"in e.inlineData&&"string"===typeof e.inlineData.data}function Ii(e){return"type"in e&&"input_audio"===e.type&&"input_audio"in e&&!!e.input_audio&&"object"===typeof e.input_audio&&"data"in e.input_audio&&"string"===typeof e.input_audio.data}function Ri(e){return"type"in e&&"file"===e.type&&"file"in e&&!!e.file&&"object"===typeof e.file&&"file_data"in e.file&&"string"===typeof e.file.file_data}const Oi="[Blob substitute]",Di=["image_url","data","content","b64_json","result","uri","image"];function Ni(e){const t={...e};Ei(t.source)&&(t.source=Ni(t.source)),Ti(e)&&(t.inlineData={...e.inlineData,data:Oi}),Ai(e)&&(t.image_url={...e.image_url,url:Oi}),Ii(e)&&(t.input_audio={...e.input_audio,data:Oi}),Ri(e)&&(t.file={...e.file,file_data:Oi});for(const n of Di)"string"===typeof t[n]&&(t[n]=Oi);return t}const ji=e=>(new TextEncoder).encode(e).length,Fi=e=>ji(JSON.stringify(e));function Mi(e,t){if(ji(e)<=t)return e;let n=0,r=e.length,i="";for(;n<=r;){const a=Math.floor((n+r)/2),o=e.slice(0,a);ji(o)<=t?(i=o,n=a+1):r=a-1}return i}function Vi(e){return"string"===typeof e?e:"text"in e&&"string"===typeof e.text?e.text:""}function Pi(e,t){return"string"===typeof e?t:{...e,text:t}}function Li(e){return null!==e&&"object"===typeof e&&"content"in e&&Array.isArray(e.content)}function Bi(e){return null!==e&&"object"===typeof e&&"parts"in e&&Array.isArray(e.parts)&&e.parts.length>0}function Hi(e,t){const{key:n,items:r}=function(e){return"parts"in e&&Array.isArray(e.parts)?{key:"parts",items:e.parts}:"content"in e&&Array.isArray(e.content)?{key:"content",items:e.content}:{key:null,items:[]}}(e);if(null===n||0===r.length)return[];const i=r.map(e=>Pi(e,""));let a=t-Fi({...e,[n]:i});if(a<=0)return[];const o=[];for(const s of r){const e=Vi(s),t=ji(e);if(!(t<=a)){if(0===o.length){const t=Mi(e,a);t&&o.push(Pi(s,t));break}break}o.push(s),a-=t}return o.length<=0?[]:[{...e,[n]:o}]}function Wi(e,t){if(!e)return[];if("string"===typeof e){const n=Mi(e,t);return n?[n]:[]}return"object"!==typeof e?[]:function(e){return null!==e&&"object"===typeof e&&"content"in e&&"string"===typeof e.content}(e)?function(e,t){const n={...e,content:""},r=t-Fi(n);if(r<=0)return[];const i=Mi(e.content,r);return[{...e,content:i}]}(e,t):Li(e)||Bi(e)?Hi(e,t):[]}function zi(e){return e.map(e=>{let t;return e&&"object"===typeof e&&(Li(e)?t={...e,content:zi(e.content)}:"content"in e&&Ei(e.content)&&(t={...e,content:Ni(e.content)}),Bi(e)&&(t={...t??e,parts:zi(e.parts)}),Ei(t)?t=Ni(t):Ei(e)&&(t=Ni(e))),t??e})}function Yi(e,t){if(!Array.isArray(e)||0===e.length)return e;const n=t-2,r=zi([e[e.length-1]]),i=r[0];return Fi(i)<=n?r:Wi(i,n)}function Ui(e){const t=qe()?.getDataCollectionOptions().genAI;return{...e,recordInputs:e?.recordInputs??t?.inputs??!1,recordOutputs:e?.recordOutputs??t?.outputs??!1}}function Xi(e){if(void 0!==e)return e;const t=qe();return!t||!It(t)&&!1===t.getOptions().streamGenAiSpans}function Gi(e,t){return e?`${e}.${t}`:t}function qi(e,t,n){if(!e.isRecording())return;const r={[vi]:!0};t.responseId&&(r[li]=t.responseId),t.responseModel&&(r[si]=t.responseModel),void 0!==t.promptTokens&&(r[ci]=t.promptTokens),void 0!==t.completionTokens&&(r[ui]=t.completionTokens),void 0!==t.totalTokens?r[di]=t.totalTokens:void 0===t.promptTokens&&void 0===t.completionTokens&&void 0===t.cacheCreationInputTokens&&void 0===t.cacheReadInputTokens||(r[di]=(t.promptTokens??0)+(t.completionTokens??0)+(t.cacheCreationInputTokens??0)+(t.cacheReadInputTokens??0)),t.finishReasons.length&&(r[oi]=JSON.stringify(t.finishReasons)),n&&t.responseTexts.length&&(r[gi]=t.responseTexts.join("")),n&&t.toolCalls.length&&(r[bi]=JSON.stringify(t.toolCalls)),e.setAttributes(r),e.end()}function Ji(e){return"string"===typeof e?e:JSON.stringify(e)}function $i(e){if("string"===typeof e)return Mi(e,2e4);if(Array.isArray(e)){const t=Yi(e,2e4);return JSON.stringify(t)}return JSON.stringify(e)}function Ki(e){if(!Array.isArray(e))return{systemInstructions:void 0,filteredMessages:e};const t=e.findIndex(e=>e&&"object"===typeof e&&"role"in e&&"system"===e.role);if(-1===t)return{systemInstructions:void 0,filteredMessages:e};const n=e[t],r="string"===typeof n.content?n.content:void 0!==n.content?JSON.stringify(n.content):void 0;if(!r)return{systemInstructions:void 0,filteredMessages:e};return{systemInstructions:JSON.stringify([{type:"text",content:r}]),filteredMessages:[...e.slice(0,t),...e.slice(t+1)]}}function Zi(e,t,n){return I(e)?new Proxy(e,{get(e,r){const i=r in Promise.prototype||r===Symbol.toStringTag?t:e,a=Reflect.get(i,r);return"withResponse"===r&&"function"===typeof a?function(){return async function(e,t,n){const r=e.catch(e=>{throw Or(e,{mechanism:{handled:!1,type:n}}),e}),i=await t,a=await r;return a&&"object"===typeof a&&"data"in a?{...a,data:i}:i}(a.call(e),t,n)}:"function"===typeof a?a.bind(i):a}}):t}const Qi={"responses.create":{operation:"chat"}
2,"chat.completions.create":{operation:"chat"},"embeddings.create":{operation:"embeddings"},"conversations.create":{operation:"chat"}},ea=["response.created","response.in_progress","response.failed","response.completed","response.incomplete","response.queued","response.output_text.delta","response.output_item.added","response.function_call_arguments.delta","response.function_call_arguments.done","response.output_item.done"];function ta(e){return null!==e&&"object"===typeof e&&"type"in e&&"string"===typeof e.type&&e.type.startsWith("response.")}function na(e){return null!==e&&"object"===typeof e&&"object"in e&&"chat.completion.chunk"===e.object}function ra(e,t){for(const n of e){const e=n.index;if(void 0!==e&&n.function)if(e in t.chatCompletionToolCalls){const r=t.chatCompletionToolCalls[e];n.function.arguments&&r?.function&&(r.function.arguments+=n.function.arguments)}else t.chatCompletionToolCalls[e]={...n,function:{name:n.function.name,arguments:n.function.arguments||""}}}}function ia(e,t,n){t.responseId=e.id??t.responseId,t.responseModel=e.model??t.responseModel,e.usage&&(t.promptTokens=e.usage.prompt_tokens,t.completionTokens=e.usage.completion_tokens,t.totalTokens=e.usage.total_tokens);for(const r of e.choices??[])n&&(r.delta?.content&&t.responseTexts.push(r.delta.content),r.delta?.tool_calls&&ra(r.delta.tool_calls,t)),r.finish_reason&&t.finishReasons.push(r.finish_reason)}function aa(e,t,n,r){if(!e||"object"!==typeof e)return void t.eventTypes.push("unknown:non-object");if(e instanceof Error)return r.setStatus({code:2,message:"internal_error"}),void Or(e,{mechanism:{handled:!1,type:"auto.ai.openai.stream-response"}});if(!("type"in e))return;const i=e;if(ea.includes(i.type)){if(n&&("response.output_item.done"===i.type&&"item"in i&&t.responsesApiToolCalls.push(i.item),"response.output_text.delta"===i.type&&"delta"in i&&i.delta))t.responseTexts.push(i.delta);else if("response"in i){const{response:e}=i;t.responseId=e.id??t.responseId,t.responseModel=e.model??t.responseModel,e.usage&&(t.promptTokens=e.usage.input_tokens,t.completionTokens=e.usage.output_tokens,t.totalTokens=e.usage.total_tokens),e.status&&t.finishReasons.push(e.status),n&&e.output_text&&t.responseTexts.push(e.output_text)}}else t.eventTypes.push(i.type)}function oa(e,t){const n={[Kr]:"openai",[pi]:t,[ot]:"auto.ai.openai"};if(e.length>0&&"object"===typeof e[0]&&null!==e[0]){const t=e[0],r=function(e){const t=[...Array.isArray(e.tools)?e.tools:[],...e.web_search_options&&"object"===typeof e.web_search_options?[{type:"web_search_options",...e.web_search_options}]:[]];if(0!==t.length)try{return JSON.stringify(t)}catch(n){return void(d&&v.error("Failed to serialize OpenAI tools:",n))}}(t);r&&(n[yi]=r),Object.assign(n,function(e){const t={[Zr]:e.model??"unknown"};"temperature"in e&&(t[ei]=e.temperature),"top_p"in e&&(t[ii]=e.top_p),"frequency_penalty"in e&&(t[ni]=e.frequency_penalty),"presence_penalty"in e&&(t[ri]=e.presence_penalty),"stream"in e&&(t[Qr]=e.stream),"encoding_format"in e&&(t["gen_ai.request.encoding_format"]=e.encoding_format),"dimensions"in e&&(t["gen_ai.request.dimensions"]=e.dimensions);const n=function(e){return"conversation"in e&&"string"===typeof e.conversation?e.conversation:"previous_response_id"in e&&"string"===typeof e.previous_response_id?e.previous_response_id:void 0}(e);return n&&(t[wi]=n),t}(t))}else n[Zr]="unknown";return n}function sa(e,t,n,r){if("embeddings"===n&&"input"in t){const n=t.input;if(null==n)return;if("string"===typeof n&&0===n.length)return;if(Array.isArray(n)&&0===n.length)return;return void e.setAttribute(ki,"string"===typeof n?n:JSON.stringify(n))}const i="input"in t?t.input:"messages"in t?t.messages:void 0;if(!i)return;if(Array.isArray(i)&&0===i.length)return;const{systemInstructions:a,filteredMessages:o}=Ki(i);a&&e.setAttribute(mi,a),e.setAttribute(hi,r?$i(o):Ji(o)),Array.isArray(o)?e.setAttribute(fi,o.length):e.setAttribute(fi,1)}function la(e,t,n,r,i){return function(...a){const o=n.operation||"unknown",s=oa(a,o),l=s[Zr]||"unknown",c=a[0],u=c&&"object"===typeof c&&!0===c.stream,d={name:`${o} ${l}`,op:`gen_ai.${o}`,attributes:s};if(u){let n;const s=er(d,s=>(n=e.apply(r,a),i.recordInputs&&c&&sa(s,c,o,Xi(i.enableTruncation)),(async()=>
2{try{return async function*(e,t,n){const r={eventTypes:[],responseTexts:[],finishReasons:[],responseId:"",responseModel:"",promptTokens:void 0,completionTokens:void 0,totalTokens:void 0,chatCompletionToolCalls:{},responsesApiToolCalls:[]};try{for await(const i of e)na(i)?ia(i,r,n):ta(i)&&aa(i,r,n,t),yield i}finally{const e=[...Object.values(r.chatCompletionToolCalls),...r.responsesApiToolCalls];qi(t,{...r,toolCalls:e},n)}}(await n,s,i.recordOutputs??!1)}catch(e){throw s.setStatus({code:2,message:"internal_error"}),Or(e,{mechanism:{handled:!1,type:"auto.ai.openai.stream",data:{function:t}}}),s.end(),e}})()));return Zi(n,s,"auto.ai.openai")}let p;const f=Qn(d,n=>(p=e.apply(r,a),i.recordInputs&&c&&sa(n,c,o,Xi(i.enableTruncation)),p.then(e=>(function(e,t,n){if(!t||"object"!==typeof t)return;const r=t,i={};if("string"===typeof r.id&&(i[li]=r.id),"string"===typeof r.model&&(i[si]=r.model),"conversation"===r.object&&"string"===typeof r.id&&(i[wi]=r.id),r.usage&&"object"===typeof r.usage){const e=r.usage,t=e.prompt_tokens??e.input_tokens;"number"===typeof t&&(i[ci]=t);const n=e.completion_tokens??e.output_tokens;"number"===typeof n&&(i[ui]=n),"number"===typeof e.total_tokens&&(i[di]=e.total_tokens)}if(Array.isArray(r.choices)){const e=r.choices,t=e.map(e=>e.finish_reason).filter(e=>"string"===typeof e);if(t.length>0&&(i[oi]=JSON.stringify(t)),n){const t=e.map(e=>{const t=e.message;return t?.content||""});i[gi]=JSON.stringify(t);const n=e.map(e=>{const t=e.message;return t?.tool_calls}).filter(e=>Array.isArray(e)&&e.length>0).flat();n.length>0&&(i[bi]=JSON.stringify(n))}}if("string"===typeof r.status&&(i[oi]||(i[oi]=JSON.stringify([r.status]))),n&&("string"!==typeof r.output_text||i[gi]||(i[gi]=r.output_text),Array.isArray(r.output)&&r.output.length>0&&!i[bi])){const e=r.output.filter(e=>"function_call"===e?.type);e.length>0&&(i[bi]=JSON.stringify(e))}e.setAttributes(i)}(n,e,i.recordOutputs),e),e=>{throw Or(e,{mechanism:{handled:!1,type:"auto.ai.openai",data:{function:t}}}),e})));return Zi(p,f,"auto.ai.openai")}}function ca(e,t="",n){return new Proxy(e,{get(e,r){const i=e[r],a=Gi(t,String(r)),o=Qi[a];return"function"===typeof i&&o?la(i,a,o,e,n):"function"===typeof i?i.bind(e):i&&"object"===typeof i?ca(i,a,n):i}})}function ua(e,t){return ca(e,"",Ui(t))}const da={"messages.create":{operation:"chat"},"messages.stream":{operation:"chat",streaming:!0},"messages.countTokens":{operation:"chat"},"models.get":{operation:"models"},"completions.create":{operation:"chat"},"models.retrieve":{operation:"models"},"beta.messages.create":{operation:"chat"}};const pa={invalid_request_error:"invalid_argument",authentication_error:"unauthenticated",permission_error:"permission_denied",not_found_error:"not_found",request_too_large:"failed_precondition",rate_limit_error:"resource_exhausted",api_error:"internal_error",overloaded_error:"unavailable"};function fa(e){return e&&pa[e]||"internal_error"}function ha(e,t,n,r){if(!e||"object"!==typeof e)return;const i=function(e,t){return"type"in e&&"string"===typeof e.type&&"error"===e.type&&(t.setStatus({code:2,message:fa(e.error?.type)}),Or(e.error,{mechanism:{handled:!1,type:"auto.ai.anthropic.anthropic_error"}}),!0)}(e,r);i||(function(e,t){if("message_delta"===e.type&&(e.usage&&"number"===typeof e.usage.output_tokens&&(t.completionTokens=e.usage.output_tokens),e.delta?.stop_reason&&t.finishReasons.push(e.delta.stop_reason)),e.message){const n=e.message;n.id&&(t.responseId=n.id),n.model&&(t.responseModel=n.model),n.usage&&("number"===typeof n.usage.input_tokens&&(t.promptTokens=n.usage.input_tokens),"number"===typeof n.usage.cache_creation_input_tokens&&(t.cacheCreationInputTokens=n.usage.cache_creation_input_tokens),"number"===typeof n.usage.cache_read_input_tokens&&(t.cacheReadInputTokens=n.usage.cache_read_input_tokens))}}(e,t),function(e,t){"content_block_start"===e.type&&"number"===typeof e.index&&e.content_block&&("tool_use"!==e.content_block.type&&"server_tool_use"!==e.content_block.type||(t.activeToolBlocks[e.index]={id:e.content_block.id,name:e.content_block.name,inputJsonParts:[]}))}(e,t),function(e,t,n){if("content_block_delta"===e.type&&e.delta){if("number"===typeof e.index&&"partial_json"in e.delta&&"string"===typeof e.delta.partial_json){const n=t.activeToolBlocks[e.index];n&&n.inputJsonParts.push(e.delta.partial_json)}n&&"string"===typeof e.delta.text&&t.responseTexts.push(e.delta.text)}}
2(e,t,n),function(e,t){if("content_block_stop"!==e.type||"number"!==typeof e.index)return;const n=t.activeToolBlocks[e.index];if(!n)return;const r=n.inputJsonParts.join("");let i;try{i=r?JSON.parse(r):{}}catch{i={__unparsed:r}}t.toolCalls.push({type:"tool_use",id:n.id,name:n.name,input:i}),delete t.activeToolBlocks[e.index]}(e,t))}function ma(e,t,n){const r=function(e){const{system:t,messages:n,input:r}=e,i="string"===typeof t?[{role:"system",content:e.system}]:[],a=Array.isArray(r)?r:null!=r?[r]:void 0,o=Array.isArray(n)?n:null!=n?[n]:[];return[...i,...a??o]}(t);!function(e,t,n){if(Array.isArray(t)&&0===t.length)return;const{systemInstructions:r,filteredMessages:i}=Ki(t);r&&e.setAttributes({[mi]:r});const a=Array.isArray(i)?i.length:1;e.setAttributes({[hi]:n?$i(i):Ji(i),[fi]:a})}(e,r,n),"prompt"in t&&e.setAttributes({[$r]:JSON.stringify(t.prompt)})}function ga(e,t){"id"in t&&"model"in t&&(e.setAttributes({[li]:t.id,[si]:t.model}),"usage"in t&&t.usage&&function(e,t,n,r,i){if(void 0!==t&&e.setAttributes({[ci]:t}),void 0!==n&&e.setAttributes({[ui]:n}),void 0!==t||void 0!==n||void 0!==r||void 0!==i){const a=(t??0)+(n??0)+(r??0)+(i??0);e.setAttributes({[di]:a})}}(e,t.usage.input_tokens,t.usage.output_tokens,t.usage.cache_creation_input_tokens,t.usage.cache_read_input_tokens))}function ya(e,t,n){t&&"object"===typeof t&&("type"in t&&"error"===t.type?function(e,t){t.error&&(e.setStatus({code:2,message:fa(t.error.type)}),Or(t.error,{mechanism:{handled:!1,type:"auto.ai.anthropic.anthropic_error"}}))}(e,t):(n&&function(e,t){if("content"in t&&Array.isArray(t.content)){e.setAttributes({[gi]:t.content.map(e=>e.text).filter(e=>!!e).join("")});const n=[];for(const e of t.content)"tool_use"!==e.type&&"server_tool_use"!==e.type||n.push(e);n.length>0&&e.setAttributes({[bi]:JSON.stringify(n)})}"completion"in t&&e.setAttributes({[gi]:t.completion}),"input_tokens"in t&&e.setAttributes({[gi]:JSON.stringify(t.input_tokens)})}(e,t),ga(e,t)))}function va(e,t,n){throw Or(e,{mechanism:{handled:!1,type:"auto.ai.anthropic",data:{function:n}}}),t.isRecording()&&(t.setStatus({code:2,message:"internal_error"}),t.end()),e}function ba(e,t,n,r,i,a,o,s,l,c,u){const d={name:`${a} ${i[Zr]??"unknown"}`,op:`gen_ai.${a}`,attributes:i};if(c&&!u){let t;const i=er(d,i=>(t=e.apply(n,r),l.recordInputs&&s&&ma(i,s,Xi(l.enableTruncation)),(async()=>{try{return async function*(e,t,n){const r={responseTexts:[],finishReasons:[],responseId:"",responseModel:"",promptTokens:void 0,completionTokens:void 0,cacheCreationInputTokens:void 0,cacheReadInputTokens:void 0,toolCalls:[],activeToolBlocks:{}};try{for await(const i of e)ha(i,r,n,t),yield i}finally{qi(t,r,n)}}(await t,i,l.recordOutputs??!1)}catch(e){return va(e,i,o)}})()));return Zi(t,i,"auto.ai.anthropic")}return er(d,e=>{try{l.recordInputs&&s&&ma(e,s,Xi(l.enableTruncation));return function(e,t,n){const r={responseTexts:[],finishReasons:[],responseId:"",responseModel:"",promptTokens:void 0,completionTokens:void 0,cacheCreationInputTokens:void 0,cacheReadInputTokens:void 0,toolCalls:[],activeToolBlocks:{}};return e.on("streamEvent",e=>{ha(e,r,n,t)}),e.on("message",()=>{qi(t,r,n)}),e.on("error",e=>{Or(e,{mechanism:{handled:!1,type:"auto.ai.anthropic.stream_error"}}),t.isRecording()&&(t.setStatus({code:2,message:"internal_error"}),t.end())}),e}(t.apply(n,r),e,l.recordOutputs??!1)}catch(i){return va(i,e,o)}})}function _a(e,t,n,r,i){return new Proxy(e,{apply(a,o,s){const l=n.operation||"unknown",c=function(e,t,n){const r={[Kr]:"anthropic",[pi]:n,[ot]:"auto.ai.anthropic"};if(e.length>0&&"object"===typeof e[0]&&null!==e[0]){const t=e[0];t.tools&&Array.isArray(t.tools)&&(r[yi]=JSON.stringify(t.tools)),r[Zr]=t.model??"unknown","temperature"in t&&(r[ei]=t.temperature),"top_p"in t&&(r[ii]=t.top_p),"stream"in t&&(r[Qr]=t.stream),"top_k"in t&&(r[ai]=t.top_k),"frequency_penalty"in t&&(r[ni]=t.frequency_penalty),"max_tokens"in t&&(r[ti]=t.max_tokens)}else r[Zr]="models.retrieve"===t||"models.get"===t?e[0]:"unknown";return r}(s,t,l),u=c[Zr]??"unknown",d="object"===typeof s[0]?s[0]:void 0,p=Boolean(d?.stream),f=!0===n.streaming;if(p||f)return ba(e,a,r,s,c,l,t,d,i,p,f);let h;const m=Qn({name:`${l} ${u}`,op:`gen_ai.${l}`,attributes:c},e=>(h=a.apply(r,s),i.recordInputs&&d&&ma(e,d,Xi(i.enableTruncation)),h.then(t=>(ya(e,t,i.recordOutputs),t),e=>{throw Or(e,{mechanism:{handled:!1,type:"auto.ai.anthropic",data:{function:t}}}),e}
2)));return Zi(h,m,"auto.ai.anthropic")}})}function wa(e,t="",n){return new Proxy(e,{get(e,r){const i=e[r],a=Gi(t,String(r)),o=da[a];return"function"===typeof i&&o?_a(i,a,o,e,n):"function"===typeof i?i.bind(e):i&&"object"===typeof i?wa(i,a,n):i}})}function ka(e,t){return wa(e,"",Ui(t))}const Sa={"models.generateContent":{operation:"generate_content"},"models.generateContentStream":{operation:"generate_content",streaming:!0},"models.embedContent":{operation:"embeddings"},"chats.create":{proxyResultPath:"chat"},"chat.sendMessage":{operation:"chat"},"chat.sendMessageStream":{operation:"chat",streaming:!0}};function xa(e,t,n,r){e&&!function(e,t){const n=e?.promptFeedback;if(n?.blockReason){const e=n.blockReasonMessage??n.blockReason;return t.setStatus({code:2,message:"internal_error"}),Or(`Content blocked: ${e}`,{mechanism:{handled:!1,type:"auto.ai.google_genai"}}),!0}return!1}(e,r)&&(function(e,t){"string"===typeof e.responseId&&(t.responseId=e.responseId),"string"===typeof e.modelVersion&&(t.responseModel=e.modelVersion);const n=e.usageMetadata;n&&("number"===typeof n.promptTokenCount&&(t.promptTokens=n.promptTokenCount),"number"===typeof n.candidatesTokenCount&&(t.completionTokens=n.candidatesTokenCount),"number"===typeof n.totalTokenCount&&(t.totalTokens=n.totalTokenCount))}(e,t),function(e,t,n){Array.isArray(e.functionCalls)&&t.toolCalls.push(...e.functionCalls);for(const r of e.candidates??[]){r?.finishReason&&!t.finishReasons.includes(r.finishReason)&&t.finishReasons.push(r.finishReason);for(const e of r?.content?.parts??[])n&&e.text&&t.responseTexts.push(e.text),e.functionCall&&t.toolCalls.push({type:"function",id:e.functionCall.id,name:e.functionCall.name,arguments:e.functionCall.args})}}(e,t,n))}function Ca(e,t="user"){return"string"===typeof e?[{role:t,content:e}]:Array.isArray(e)?e.flatMap(e=>Ca(e,t)):"object"===typeof e&&e?"role"in e&&"string"===typeof e.role?[e]:"parts"in e?[{...e,role:t}]:[{role:t,content:e}]:[]}function Ea(e,t){if("model"in e&&"string"===typeof e.model)return e.model;if(t&&"object"===typeof t){const e=t;if("model"in e&&"string"===typeof e.model)return e.model;if("modelVersion"in e&&"string"===typeof e.modelVersion)return e.modelVersion}return"unknown"}function Aa(e,t,n){const r={[Kr]:"google_genai",[pi]:e,[ot]:"auto.ai.google_genai"};if(t){if(r[Zr]=Ea(t,n),"config"in t&&"object"===typeof t.config&&t.config){const e=t.config;if(Object.assign(r,function(e){const t={};return"temperature"in e&&"number"===typeof e.temperature&&(t[ei]=e.temperature),"topP"in e&&"number"===typeof e.topP&&(t[ii]=e.topP),"topK"in e&&"number"===typeof e.topK&&(t[ai]=e.topK),"maxOutputTokens"in e&&"number"===typeof e.maxOutputTokens&&(t[ti]=e.maxOutputTokens),"frequencyPenalty"in e&&"number"===typeof e.frequencyPenalty&&(t[ni]=e.frequencyPenalty),"presencePenalty"in e&&"number"===typeof e.presencePenalty&&(t[ri]=e.presencePenalty),t}(e)),"tools"in e&&Array.isArray(e.tools)){const t=e.tools.flatMap(e=>e.functionDeclarations);r[yi]=JSON.stringify(t)}}}else r[Zr]=Ea({},n);return r}function Ta(e,t,n,r){if(n){const n=t.contents;return void(null!=n&&e.setAttribute(ki,"string"===typeof n?n:JSON.stringify(n)))}const i=[];if("config"in t&&t.config&&"object"===typeof t.config&&"systemInstruction"in t.config&&t.config.systemInstruction&&i.push(...Ca(t.config.systemInstruction,"system")),"history"in t&&i.push(...Ca(t.history,"user")),"contents"in t&&i.push(...Ca(t.contents,"user")),"message"in t&&i.push(...Ca(t.message,"user")),Array.isArray(i)&&i.length){const{systemInstructions:t,filteredMessages:n}=Ki(i);t&&e.setAttribute(mi,t);const a=Array.isArray(n)?n.length:0;e.setAttributes({[fi]:a,[hi]:r?$i(n):Ji(n)})}}function Ia(e,t,n,r,i){const a="embeddings"===n.operation;return new Proxy(e,{apply(e,o,s){const l=n.operation||"unknown",c=s[0],u=Aa(l,c,r),d=u[Zr]??"unknown";return n.streaming?er({name:`${l} ${d}`,op:`gen_ai.${l}`,attributes:u},async n=>{try{i.recordInputs&&c&&Ta(n,c,a,Xi(i.enableTruncation));return async function*(e,t,n){const r={responseTexts:[],finishReasons:[],toolCalls:[]};try{for await(const i of e)xa(i,r,n,t),yield i}finally{qi(t,r,n)}}(await e.apply(r,s),n,Boolean(i.recordOutputs))}catch(o){throw n.setStatus({code:2,message:"internal_error"}),Or(o,{mechanism:{handled:!1,type:"auto.ai.google_genai",data:{function:t}}}),n.end(),o}}
2):Qn({name:`${l} ${d}`,op:`gen_ai.${l}`,attributes:u},n=>(i.recordInputs&&c&&Ta(n,c,a,Xi(i.enableTruncation)),kt(()=>e.apply(r,s),e=>{Or(e,{mechanism:{handled:!1,type:"auto.ai.google_genai",data:{function:t}}})},()=>{},e=>{a||function(e,t,n){if(t&&"object"===typeof t){if(t.modelVersion&&e.setAttribute(si,t.modelVersion),t.usageMetadata&&"object"===typeof t.usageMetadata){const n=t.usageMetadata;"number"===typeof n.promptTokenCount&&e.setAttributes({[ci]:n.promptTokenCount}),"number"===typeof n.candidatesTokenCount&&e.setAttributes({[ui]:n.candidatesTokenCount}),"number"===typeof n.totalTokenCount&&e.setAttributes({[di]:n.totalTokenCount})}if(n&&Array.isArray(t.candidates)&&t.candidates.length>0){const n=t.candidates.map(e=>e.content?.parts&&Array.isArray(e.content.parts)?e.content.parts.map(e=>"string"===typeof e.text?e.text:"").filter(e=>e.length>0).join(""):"").filter(e=>e.length>0);n.length>0&&e.setAttributes({[gi]:n.join("")})}if(n&&t.functionCalls){const n=t.functionCalls;Array.isArray(n)&&n.length>0&&e.setAttributes({[bi]:JSON.stringify(n)})}}}(n,e,i.recordOutputs)})))}})}function Ra(e,t="",n){return new Proxy(e,{get:(e,r,i)=>{const a=Reflect.get(e,r,i),o=Gi(t,String(r)),s=Sa[o];if("function"===typeof a&&s){const t=s.operation?Ia(a,o,s,e,n):a.bind(e);return s.proxyResultPath?function(...e){const r=t(...e);return r&&"object"===typeof r?Ra(r,s.proxyResultPath,n):r}:t}return"function"===typeof a?a.bind(e):a&&"object"===typeof a?Ra(a,o,n):a}})}function Oa(e,t){return Ra(e,"",Ui(t))}const Da="auto.ai.langchain",Na={human:"user",ai:"assistant",assistant:"assistant",system:"system",function:"function",tool:"tool"},ja=(e,t,n)=>{null!=n&&(e[t]=n)},Fa=(e,t,n)=>{const r=Number(n);Number.isNaN(r)||(e[t]=r)};function Ma(e){if("string"===typeof e)return e;try{return JSON.stringify(e)}catch{return String(e)}}function Va(e){if(Array.isArray(e))try{const t=e.map(e=>e&&"object"===typeof e&&Ei(e)?Ni(e):e);return JSON.stringify(t)}catch{return String(e)}return Ma(e)}function Pa(e){const t=e.toLowerCase();return Na[t]??t}function La(e){return e.includes("System")?"system":e.includes("Human")?"user":e.includes("AI")||e.includes("Assistant")?"assistant":e.includes("Function")?"function":e.includes("Tool")?"tool":"user"}function Ba(e){if(e&&!Array.isArray(e))return e.invocation_params}function Ha(e){return e.map(e=>{const t=e._getType;if("function"===typeof t){return{role:Pa(t.call(e)),content:Va(e.content)}}if(1===e.lc&&e.kwargs){const t=e.id,n=Array.isArray(t)&&t.length>0?t[t.length-1]:"";return{role:Pa("string"===typeof n?La(n):"user"),content:Va(e.kwargs?.content)}}if(e.type){return{role:Pa(String(e.type).toLowerCase()),content:Va(e.content)}}if(e.role)return{role:Pa(String(e.role)),content:Va(e.content)};const n=e.constructor?.name;return n&&"Object"!==n?{role:Pa(La(n)),content:Va(e.content)}:{role:"user",content:Va(e.content)}})}function Wa(e,t,n){const r={},i="kwargs"in e?e.kwargs:void 0;Fa(r,ei,t?.temperature??n?.ls_temperature??i?.temperature);Fa(r,ti,t?.max_tokens??n?.ls_max_tokens??i?.max_tokens);Fa(r,ii,t?.top_p??i?.top_p);const a=t?.frequency_penalty;Fa(r,ni,a);const o=t?.presence_penalty;return Fa(r,ri,o),t&&"stream"in t&&ja(r,Qr,Boolean(t.stream)),r}function za(e,t,n,r,i){return{[Kr]:Ma(e??"langchain"),[pi]:"chat",[Zr]:Ma(t),[ot]:Da,...Wa(n,r,i)}}function Ya(e,t){if(!e)return;const n={};if(Array.isArray(e.generations)){const r=e.generations.flat().map(e=>e.generationInfo?.finish_reason?e.generationInfo.finish_reason:e.generation_info?.finish_reason?e.generation_info.finish_reason:null).filter(e=>"string"===typeof e);if(r.length>0&&ja(n,oi,Ma(r)),function(e,t){const n=[],r=e.flat();for(const i of r){const e=i.message,t=e?.tool_calls;if(Array.isArray(t)&&t.length>0)n.push(...t);else{const e=i.message?.content;if(Array.isArray(e))for(const t of e){const e=t;"tool_use"===e.type&&n.push(e)}}}n.length>0&&ja(t,bi,Ma(n))}(e.generations,n),t){const t=e.generations.flat().map(e=>e.text??e.message?.content).filter(e=>"string"===typeof e);t.length>0&&ja(n,gi,Ma(t))}}!function(e,t){if(!e)return;const n=e.tokenUsage,r=e.usage;if(n)Fa(t,ci,n.promptTokens),Fa(t,ui,n.completionTokens),Fa(t,di,n.totalTokens);else if(r){Fa(t,ci,r.input_tokens),Fa(t,ui,r.output_tokens);const e=Number(r.input_tokens),n=Number(r.output_tokens),i=(Number.isNaN(e)?0:e)+(Number.isNaN(n)?0:n);i>0&&Fa(t,di,i),void 0!==r.cache_creation_input_tokens&&Fa(t,"gen_ai.usage.cache_creation_input_tokens",r.cache_creation_input_tokens),void 0!==r.cache_read_input_tokens&&Fa(t,"gen_ai.usage.cache_read_input_tokens",r.cache_read_input_tokens)}}(e.llmOutput,n);const r=e.llmOutput,i=e.generations?.[0]?.[0],a=i?.message,o=r?.model_name??r?.model??a?.response_metadata?.model_name;o&&ja(n,si,o);const s=r?.id??a?.id;s&&ja(n,li,s);const l=r?.stop_reason??a?.response_metadata?.finish_reason;return l&&ja(n,"gen_ai.response.stop_reason",Ma(l)),n}function Ua(e){const t={},n=e?.lc_agent_name;return"string"===typeof n&&(t[_i]=n),t}function Xa(e){return"object"===typeof e&&"SentryCallbackHandler"===e?.name}function Ga(e){return e.some(Xa)}function qa(e={}){const{recordInputs:t,recordOutputs:n}=Ui(e),r=Xi(e.enableTruncation),i=new Map,a=e=>{const t=i.get(e);t?.isRecording()&&(t.end(),i.delete(e))}
2,o={lc_serializable:!1,lc_namespace:["langchain_core","callbacks","sentry"],lc_secrets:void 0,lc_attributes:void 0,lc_aliases:void 0,lc_serializable_keys:void 0,lc_id:["langchain_core","callbacks","sentry"],lc_kwargs:{},name:"SentryCallbackHandler",ignoreLLM:!1,ignoreChain:!1,ignoreAgent:!1,ignoreRetriever:!1,ignoreCustomEvent:!1,raiseError:!1,awaitHandlers:!0,handleLLMStart(e,n,a,o,s,l,c,u){const d=Ba(l),p=function(e,t,n,r,i,a){const o=a?.ls_provider,s=za(o,i?.model??a?.ls_model_name??"unknown",e,i,a);if(n&&Array.isArray(t)&&t.length>0){ja(s,fi,t.length);const e=t.map(e=>({role:"user",content:e}));ja(s,hi,r?$i(e):Ji(e))}return s}(e,n,t,r,d,c),f=p[Zr];er({name:`${p[pi]} ${f}`,op:"gen_ai.chat",attributes:{...Ua(c),...p,[at]:"gen_ai.chat"}},e=>(i.set(a,e),e))},handleChatModelStart(e,n,a,o,s,l,c,u){const d=Ba(l),p=function(e,t,n,r,i,a){const o=za(a?.ls_provider??e.id?.[2],i?.model??a?.ls_model_name??"unknown",e,i,a);if(n&&Array.isArray(t)&&t.length>0){const e=Ha(t.flat()),{systemInstructions:n,filteredMessages:i}=Ki(e);n&&ja(o,mi,n);const a=Array.isArray(i)?i.length:0;ja(o,fi,a),ja(o,hi,r?$i(i):Ji(i))}return o}(e,n,t,r,d,c),f=function(e){const t=e?.invocation_params?.tools??e?.options?.tools;if(!Array.isArray(t)||0===t.length)return;const n=t.map(e=>{const t=e.function;return{type:"function",name:e.name??t?.name??"",description:e.description??t?.description}});return JSON.stringify(n)}(s);f&&(p[yi]=f);const h=p[Zr];er({name:`${p[pi]} ${h}`,op:"gen_ai.chat",attributes:{...Ua(c),...p,[at]:"gen_ai.chat"}},e=>(i.set(a,e),e))},handleLLMEnd(e,t,r,o,s){const l=i.get(t);if(l?.isRecording()){const r=Ya(e,n);r&&l.setAttributes(r),a(t)}},handleLLMError(e,t){const n=i.get(t);n?.isRecording()&&(n.setStatus({code:2,message:"internal_error"}),a(t)),Or(e,{mechanism:{handled:!1,type:`${Da}.llm_error_handler`}})},handleChainStart(e,n,r,a,o,s,l,c){if(s?.__sentry_langgraph__)return;const u=c||e.name||"unknown_chain",d={[ot]:"auto.ai.langchain","langchain.chain.name":u};t&&(d["langchain.chain.inputs"]=JSON.stringify(n)),er({name:`chain ${u}`,op:"gen_ai.invoke_agent",attributes:{...d,[at]:"gen_ai.invoke_agent"}},e=>(i.set(r,e),e))},handleChainEnd(e,t){const r=i.get(t);r?.isRecording()&&(n&&r.setAttributes({"langchain.chain.outputs":JSON.stringify(e)}),a(t))},handleChainError(e,t){const n=i.get(t);n?.isRecording()&&(n.setStatus({code:2,message:"internal_error"}),a(t)),Or(e,{mechanism:{handled:!1,type:`${Da}.chain_error_handler`}})},handleToolStart(e,n,r,a,o,s,l){if(s?.__sentry_langgraph__)return;const c=l||e.name||"unknown_tool",u={...Ua(s),[ot]:Da,[pi]:"execute_tool",[Si]:c};t&&(u[xi]=n),er({name:`execute_tool ${c}`,op:"gen_ai.execute_tool",attributes:{...u,[at]:"gen_ai.execute_tool"}},e=>(i.set(r,e),e))},handleToolEnd(e,t){const r=i.get(t);if(r?.isRecording()){if(n){const t=e&&"object"===typeof e&&"content"in e?e.content:e;r.setAttributes({[Ci]:"string"===typeof t?t:JSON.stringify(t)})}a(t)}},handleToolError(e,t){const n=i.get(t);n?.isRecording()&&(n.setStatus({code:2,message:"internal_error"}),a(t)),Or(e,{mechanism:{handled:!1,type:`${Da}.tool_error_handler`}})},copy:()=>o,toJSON:()=>({lc:1,type:"not_implemented",id:o.lc_id}),toJSONNotImplemented:()=>({lc:1,type:"not_implemented",id:o.lc_id})};return o}const Ja="auto.ai.langgraph";function $a(e){const t=e;let n=0,r=0,i=0;if(t.usage_metadata&&"object"===typeof t.usage_metadata){const e=t.usage_metadata;return"number"===typeof e.input_tokens&&(n=e.input_tokens),"number"===typeof e.output_tokens&&(r=e.output_tokens),"number"===typeof e.total_tokens&&(i=e.total_tokens),{inputTokens:n,outputTokens:r,totalTokens:i}}if(t.response_metadata&&"object"===typeof t.response_metadata){const e=t.response_metadata;if(e.tokenUsage&&"object"===typeof e.tokenUsage){const t=e.tokenUsage;"number"===typeof t.promptTokens&&(n=t.promptTokens),"number"===typeof t.completionTokens&&(r=t.completionTokens),"number"===typeof t.totalTokens&&(i=t.totalTokens)}}return{inputTokens:n,outputTokens:r,totalTokens:i}}function Ka(e,t){const n=t;if(n.response_metadata&&"object"===typeof n.response_metadata){const t=n.response_metadata;t.model_name&&"string"===typeof t.model_name&&e.setAttribute(si,t.model_name),t.finish_reason&&"string"===typeof t.finish_reason&&e.setAttribute(oi,[t.finish_reason])}}
2function Za(e,t,n){const r=n,i=r?.messages;if(!i||!Array.isArray(i))return;const a=t?.length??0,o=i.length>a?i.slice(a):[];if(0===o.length)return;const s=function(e){if(!e||0===e.length)return null;const t=[];for(const n of e)if(n&&"object"===typeof n){const e=n.tool_calls;e&&Array.isArray(e)&&t.push(...e)}return t.length>0?t:null}(o);s&&e.setAttribute(bi,JSON.stringify(s));const l=Ha(o);e.setAttribute(gi,JSON.stringify(l));let c=0,u=0,d=0;for(const p of o){const t=$a(p);c+=t.inputTokens,u+=t.outputTokens,d+=t.totalTokens,Ka(e,p)}c>0&&e.setAttribute(ci,c),u>0&&e.setAttribute(ui,u),d>0&&e.setAttribute(di,d)}let Qa=!1;const eo="__sentry_patched__";function to(e,t){if(Object.prototype.hasOwnProperty.call(e,eo))return e;const n=qa(t),r=new Proxy(e,{apply:(e,r,i)=>Qa?Reflect.apply(e,r,i):Qn({op:"gen_ai.create_agent",name:"create_agent",attributes:{[ot]:Ja,[at]:"gen_ai.create_agent",[pi]:"create_agent"}},a=>{try{const o=Reflect.apply(e,r,i),s=i.length>0?i[0]:{};s?.name&&"string"===typeof s.name&&(a.setAttribute(_i,s.name),a.updateName(`create_agent ${s.name}`));const l=o.invoke;return l&&"function"===typeof l&&(o.invoke=no(l.bind(o),o,s,t,void 0,n)),o}catch(o){throw a.setStatus({code:2,message:"internal_error"}),Or(o,{mechanism:{handled:!1,type:"auto.ai.langgraph.error"}}),o}})});return Object.defineProperty(r,eo,{value:!0,enumerable:!1}),r}function no(e,t,n,r,i,a){return new Proxy(e,{apply(e,o,s){const l=i?.modelName??i?.model;return Qn({op:"gen_ai.invoke_agent",name:"invoke_agent",attributes:{[ot]:Ja,[at]:"gen_ai.invoke_agent",[pi]:"invoke_agent"}},async i=>{try{const c=n?.name;c&&"string"===typeof c&&(i.setAttribute("gen_ai.pipeline.name",c),i.setAttribute(_i,c),i.updateName(`invoke_agent ${c}`)),l&&i.setAttribute(Zr,l);const u=s.length>1?s[1]:void 0,d=u?.configurable,p=d?.thread_id;if(p&&"string"===typeof p&&i.setAttribute(wi,p),a){const e=s[1]??{};s[1]=e;const t=e.metadata??{};e.metadata={...t,__sentry_langgraph__:!0,..."string"===typeof c?{lc_agent_name:c}:{}},e.callbacks=function(e,t){if(!e)return[t];if(function(e){if(!e||"object"!==typeof e)return!1;const t=e;return"function"===typeof t.addHandler&&"function"===typeof t.copy}(e)){if(Ga(e.handlers??[]))return e;const n=e.copy();return n.addHandler(t,!0),n}const n=Array.isArray(e)?e:[e];return Ga(n)?e:[...n,t]}(e.callbacks,a)}const f=function(e){if(!e.builder?.nodes?.tools?.runnable?.tools)return null;const t=e.builder?.nodes?.tools?.runnable?.tools;return t&&Array.isArray(t)&&0!==t.length?t.map(e=>({name:e.lc_kwargs?.name,description:e.lc_kwargs?.description,schema:e.lc_kwargs?.schema})):null}(t);f&&i.setAttribute(yi,JSON.stringify(f));const h=r.recordInputs,m=r.recordOutputs,g=s.length>0?s[0]?.messages??[]:[];if(g&&h){const e=Ha(g),{systemInstructions:t,filteredMessages:n}=Ki(e);t&&i.setAttribute(mi,t);const a=Xi(r.enableTruncation),o=Array.isArray(n)?n.length:0;i.setAttributes({[hi]:a?$i(n):Ji(n),[fi]:o})}const y=await Reflect.apply(e,o,s);return m&&Za(i,g??null,y),y}catch(c){throw i.setStatus({code:2,message:"internal_error"}),Or(c,{mechanism:{handled:!1,type:"auto.ai.langgraph.error"}}),c}})}})}function ro(e,t){return e.compile=to(e.compile,Ui(t)),e}const io={},ao={};function oo(e,t){return io[e]=io[e]||[],io[e].push(t),()=>{const n=io[e];if(n){const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}}function so(t,n){if(!ao[t]){ao[t]=!0;try{n()}catch(e){d&&v.error(`Error while instrumenting ${t}`,e)}}}function lo(t,n){const r=t&&io[t];if(r)for(const i of r)try{i(n)}catch(e){d&&v.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${Q(i)}\nError:`,e)}}const co=new Set([]);function uo(e){const t="console",n=oo(t,e);return so(t,fo),n}function po(e){for(const t of e)co.add(t);return()=>{for(const t of e)co.delete(t)}}function fo(){"console"in s&&p.forEach(function(e){e in s.console&&D(s.console,e,function(t){return f[e]=t,function(...t){const n=t[0],r=f[e],i=co.size&&"string"===typeof n&&ue(n,co);i||lo("console",{args:t,level:e}),(!i||d&&v.isEnabled())&&r?.apply(s.console,t)}})})}function ho(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function mo(e,t,n){return t||`${function(e){return`${ho(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){const n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(e,n)}`}const go="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,yo=s;function vo(){try{return yo.document.location.href}catch{return""}}const bo=s;let _o=0;function wo(){return _o>0}function ko(e,t={}){if("function"!==typeof e)return e;try{if(Object.prototype.hasOwnProperty.call(e,"__sentry_wrapped__")){const t=e.__sentry_wrapped__;return"function"===typeof t?t:e}if(F(e))return e}catch{return e}const n=function(...n){s._sentryWrappedDepth=(s._sentryWrappedDepth||0)+1;try{const r=n.map(e=>ko(e,t));return e.apply(this,r)}catch(r){throw _o++,setTimeout(()=>{_o--}),Ge(e=>{e.addEventProcessor(e=>(t.mechanism&&(he(e,void 0,void 0),me(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),Or(r)}),r}finally{s._sentryWrappedDepth=(s._sentryWrappedDepth||0)-1}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}j(n,e),N(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}function So(){const e=vo(),{referrer:t}=bo.document||{},{userAgent:n}=bo.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}function xo(e={}){const t=bo.document,n=t?.head||t?.body;if(!n)return void(go&&v.error("[showReportDialog] Global document not defined"));const r=Ye(),i=qe(),a=i?.getDsn();if(!a)return void(go&&v.error("[showReportDialog] DSN not configured"));const o={...e,user:{...r.getUser(),...e.user},eventId:e.eventId||Wr()},s=bo.document.createElement("script");s.async=!0,s.crossOrigin="anonymous",s.src=function(e,t){const n=qt(e);if(!n)return"";const r=`${ho(n)}embed/error-page/`;let i=`dsn=${Ut(n)}`;for(const a in t)if("dsn"!==a&&"onClose"!==a)if("user"===a){const e=t.user;if(!e)continue;e.name&&(i+=`&name=${encodeURIComponent(e.name)}
2`),e.email&&(i+=`&email=${encodeURIComponent(e.email)}`)}else i+=`&${encodeURIComponent(a)}=${encodeURIComponent(t[a])}`;return`${r}?${i}`}(a,o);const{onLoad:l,onClose:c}=o;if(l&&(s.onload=l),c){const e=t=>{if("__sentry_reportdialog_closed__"===t.data)try{c()}finally{bo.removeEventListener("message",e)}};bo.addEventListener("message",e)}n.appendChild(s)}var Co=r(36665);const Eo="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function Ao(e,{componentStack:t},n){if(function(e){const t=e.match(/^([^.]+)/);return null!==t&&parseInt(t[0])>=17}(Co.version)&&_(e)&&t){const n=new Error(e.message);n.name=`React ErrorBoundary ${e.name}`,n.stack=t,function(e,t){const n=new WeakSet;!function e(t,r){if(!n.has(t))return t.cause?(n.add(t),e(t.cause,r)):void(t.cause=r)}(e,t)}(e,n)}return Or(e,n)}const To={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Io={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ro={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Oo=Symbol.for("react.forward_ref"),Do=Symbol.for("react.memo");const No={};function jo(e){if(function(e){return"object"===typeof e&&null!==e&&e.$$typeof===Do}(e))return Ro;const t=e.$$typeof;return t&&No[t]||To}No[Oo]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},No[Do]=Ro;const Fo=Object.defineProperty.bind(Object),Mo=Object.getOwnPropertyNames.bind(Object),Vo=Object.getOwnPropertySymbols?.bind(Object),Po=Object.getOwnPropertyDescriptor.bind(Object),Lo=Object.getPrototypeOf.bind(Object),Bo=Object.prototype;function Ho(e,t,n){if("string"!==typeof t){if(Bo){const n=Lo(t);n&&n!==Bo&&Ho(e,n)}let n=Mo(t);Vo&&(n=n.concat(Vo(t)));const i=jo(e),a=jo(t);for(const o of n)if(!Io[o]&&!a?.[o]&&!i?.[o]&&!Po(e,o)){const n=Po(t,o);if(n)try{Fo(e,o,n)}catch(r){}}}return e}const Wo={componentStack:null,error:null,eventId:null};class zo extends Co.Component{constructor(e){super(e),this.state=Wo,this._openFallbackReportDialog=!0;const t=qe();t&&e.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=t.on("afterSendEvent",t=>{!t.type&&this._lastEventId&&t.event_id===this._lastEventId&&xo({...e.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(e,t){const{componentStack:n}=t,{beforeCapture:r,onError:i,showDialog:a,dialogOptions:o}=this.props;Ge(s=>{r&&r(s,e,n);const l=null!=this.props.handled?this.props.handled:!!this.props.fallback,c=Ao(e,t,{mechanism:{handled:l,type:"auto.function.react.error_boundary"}});i&&i(e,n,c),a&&(this._lastEventId=c,this._openFallbackReportDialog&&xo({...o,eventId:c})),this.setState({error:e,componentStack:n,eventId:c})})}componentDidMount(){const{onMount:e}=this.props;e&&e()}componentWillUnmount(){const{error:e,componentStack:t,eventId:n}=this.state,{onUnmount:r}=this.props;r&&(this.state===Wo?r(null,null,null):r(e,t,n)),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}resetErrorBoundary(){const{onReset:e}=this.props,{error:t,componentStack:n,eventId:r}=this.state;e&&e(t,n,r),this.setState(Wo)}render(){const{fallback:e,children:t}=this.props,n=this.state;if(null===n.componentStack)return"function"===typeof t?t():t;const r="function"===typeof e?Co.createElement(e,{error:n.error,componentStack:n.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:n.eventId}):e;return Co.isValidElement(r)?r:(e&&Eo&&v.warn("fallback did not produce a valid ReactElement"),null)}}function Yo(e,t){const n=e.displayName||e.name||"unknown",r=Co.memo(n=>Co.createElement(zo,{...t},Co.createElement(e,{...n})));return r.displayName=`errorBoundary(${n})`,Ho(r,e),r}const Uo={attachReduxState:!0,actionTransformer:e=>e,stateTransformer:e=>e||null};function Xo(e){const t={...Uo,...e};return e=>(n,r)=>{function i(e){return(n,r)=>{const i=e(n,r),a=Ye(),o=t.actionTransformer(r);"undefined"!==typeof o&&null!==o&&Ke({category:"redux.action",data:o,type:"info"});const s=t.stateTransformer(i);if("undefined"!==typeof s&&null!==s){const e=qe(),t=e?.getOptions(),n={state:{type:"redux",value:s}};N(n,X,3+(t?.normalizeDepth||3)),a.setContext("state",n)}else a.setContext("state",null);const{configureScopeWithState:l}=t;return"function"===typeof l&&l(a,i),i}}t.attachReduxState&&Xe().addEventProcessor((e,t)=>{try{void 0===e.type&&"redux"===e.contexts.state.state.type&&(t.attachments=[...t.attachments||[],{filename:"redux_state.json",data:JSON.stringify(e.contexts.state.state.value)}])}catch{}return e});const a=e(i(n),r);return a.replaceReducer=new Proxy(a.replaceReducer,{apply:function(e,t,n){e.apply(t,[i(n[0])])}}),a}}const Go="ui.react.render",qo="ui.react.mount";class Jo extends Co.Component{constructor(e){super(e);const{name:t,disabled:n=!1}=this.props;n||(this._mountSpan=tr({name:`<${t}>`,onlyIfParent:!0,op:qo,attributes:{[ot]:"auto.ui.react.profiler","ui.component_name":t}}))}componentDidMount(){this._mountSpan&&this._mountSpan.end()}shouldComponentUpdate({updateProps:e,includeUpdates:t=!0}){if(t&&this._mountSpan&&e!==this.props.updateProps){const t=Object.keys(e).filter(t=>e[t]!==this.props.updateProps[t]);if(t.length>
20){const e=be();this._updateSpan=rr(this._mountSpan,()=>tr({name:`<${this.props.name}>`,onlyIfParent:!0,op:"ui.react.update",startTime:e,attributes:{[ot]:"auto.ui.react.profiler","ui.component_name":this.props.name,"ui.react.changed_props":t}}))}}return!0}componentDidUpdate(){this._updateSpan&&(this._updateSpan.end(),this._updateSpan=void 0)}componentWillUnmount(){const e=be(),{name:t,includeRender:n=!0}=this.props;if(this._mountSpan&&n){const n=on(this._mountSpan).timestamp;rr(this._mountSpan,()=>{const r=tr({onlyIfParent:!0,name:`<${t}>`,op:Go,startTime:n,attributes:{[ot]:"auto.ui.react.profiler","ui.component_name":t}});r&&r.end(e)})}}render(){return this.props.children}}function $o(e,t){const n=t?.name||e.displayName||e.name||"unknown",r=r=>Co.createElement(Jo,{...t,name:n,updateProps:r},Co.createElement(e,{...r}));return r.displayName=`profiler(${n})`,Ho(r,e),r}function Ko(e,t={disabled:!1,hasRenderSpan:!0}){const[n]=Co.useState(()=>{if(!t?.disabled)return tr({name:`<${e}>`,onlyIfParent:!0,op:qo,attributes:{[ot]:"auto.ui.react.profiler","ui.component_name":e}})});Co.useEffect(()=>(n&&n.end(),()=>{if(n&&t.hasRenderSpan){const t=on(n).timestamp,r=be(),i=tr({name:`<${e}>`,onlyIfParent:!0,op:Go,startTime:t,attributes:{[ot]:"auto.ui.react.profiler","ui.component_name":e}});i&&i.end(r)}}),[])}Object.assign(Jo,{defaultProps:{disabled:!1,includeRender:!0,includeUpdates:!0}});let Zo,Qo=0;function es(e){const t=Math.floor(1e3*e);void 0!==Zo&&t!==Zo&&(Qo=0);const n=Qo;return Qo++,Zo=t,{key:"sentry.timestamp.sequence",value:{value:n,type:"integer"}}}function ts(e,t){return t?Ge(t,()=>{const n=wn(),r=n?en(n):Je(t);return[n?Dn(n):On(e,t),r]}):[void 0,void 0]}const ns={trace:1,debug:5,info:9,warn:13,error:17,fatal:21};function rs(){return!("undefined"!==typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!==typeof process?process:0)}function is(){return"undefined"!==typeof window&&(!rs()||function(){const e=s.process;return"renderer"===e?.type}())}function as(e,t){const n=t?"auto":"never";return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...is()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function os(e,t,n,r=!0){!n||e[t]&&!r||(e[t]=n)}function ss(e,t){const n=ds(),r=us(e);void 0===r?n.set(e,[t]):r.length>=100?(cs(e,r),n.set(e,[t])):n.set(e,[...r,t])}function ls(e,t=Ye(),n=ss){const r=t?.getClient()??qe();if(!r)return void(d&&v.warn("No client available to capture log."));const{release:i,environment:a,enableLogs:o=!1,beforeSendLog:s}=r.getOptions();if(!o)return void(d&&v.warn("logging option not enabled, log will not be captured."));const[,l]=ts(r,t),c={...e.attributes},{user:{id:u,email:p,username:f},attributes:m={}}=Ar(Ue(),t);os(c,"user.id",u,!1),os(c,"user.email",p,!1),os(c,"user.name",f,!1),os(c,"sentry.release",i),os(c,"sentry.environment",a);const{name:g,version:y}=r.getSdkMetadata()?.sdk??{};os(c,"sentry.sdk.name",g),os(c,"sentry.sdk.version",y);const b=r.getIntegrationByName("Replay"),_=b?.getReplayId(!0);os(c,"sentry.replay_id",_),_&&"buffer"===b?.getRecordingMode()&&os(c,"sentry._internal.replay_is_buffering",!0);const w=e.message;if(C(w)){const{__sentry_template_string__:e,__sentry_template_values__:t=[]}=w;t?.length&&(c["sentry.message.template"]=e),t.forEach((e,t)=>{c[`sentry.message.parameter.${t}`]=e})}const k=Oe(t);os(c,"sentry.trace.parent_span_id",k?.spanContext().spanId);const S={...e,attributes:c};r.emit("beforeCaptureLog",S);const x=s?h(()=>s(S)):S;if(!x)return r.recordDroppedEvent("before_send","log_item",1),void(d&&v.warn("beforeSendLog returned null, log will not be captured."));const{level:E,message:A,attributes:T={},severityNumber:I}=x,R=be(),O=es(R);n(r,{timestamp:R,level:E,body:fs(String(A)),trace_id:l?.trace_id,severity_number:I??ns[E],attributes:ps({...Dt(m),...Dt(T,!0),[O.key]:O.value})}),r.emit("afterCaptureLog",x)}function cs(e,t){const n=t??us(e)??[];if(0===n.length)return;const r=e.getOptions(),i=function(e,t,n,r,i){const a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=Ut(r)),jn(a,[as(e,i)])}(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);ds().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(i)}function us(e){return ds().get(e)}function ds(){return u("clientToLogBufferMap",()=>new WeakMap)}function ps(e){const t={};for(const[n,r]of Object.entries(e)){const e=fs(n);"string"===r.type?t[e]={...r,value:fs(r.value)}:t[e]=r}return t}function fs(e){const t=Object(e),n=t.isWellFormed,r=t.toWellFormed;return"function"===typeof n&&"function"===typeof r?n.call(e)?e:r.call(e):e}const hs=function(e,...t){const n=new String(String.raw(e,...t));
2return n.__sentry_template_string__=e.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),n.__sentry_template_values__=t,n};function ms(e,t,n,r,i){ls({level:e,message:t,attributes:n,severityNumber:i},r)}function gs(e,t,{scope:n}={}){ms("trace",e,t,n)}function ys(e,t,{scope:n}={}){ms("debug",e,t,n)}function vs(e,t,{scope:n}={}){ms("info",e,t,n)}function bs(e,t,{scope:n}={}){ms("warn",e,t,n)}function _s(e,t,{scope:n}={}){ms("error",e,t,n)}function ws(e,t,{scope:n}={}){ms("fatal",e,t,n)}function ks(e,t,n){return"util"in s&&"function"===typeof s.util.format?s.util.format(...e):function(e,t,n){return e.map(e=>E(e)?String(e):JSON.stringify(re(e,t,n))).join(" ")}(e,t,n)}const Ss={[ot]:"auto.log.console"},xs=(e={})=>{const t=e.levels||p;return{name:"ConsoleLogs",setup(e){const{enableLogs:n,normalizeDepth:r=3,normalizeMaxBreadth:i=1e3}=e.getOptions();if(!n)return void(d&&v.warn("`enableLogs` is not enabled, ConsoleLogs integration disabled"));const a=uo(({args:n,level:a})=>{if(qe()!==e||!t.includes(a))return;const o=n[0],s=n.slice(1);if("assert"===a){if(!o){ls({level:"error",message:s.length>0?`Assertion failed: ${ks(s,r,i)}`:"Assertion failed",attributes:Ss})}return}const l="log"===a,c={...Ss};if(A(o)){Object.assign(c,re(o,r,i));const e="string"===typeof n[1]?2:1;n.slice(e).forEach((e,t)=>{c[`sentry.message.parameter.${t}`]=re(e,r,i)})}else{if(s.length>0&&"string"===typeof o&&!/%[sdifocO]/.test(o)){const e=function(e,t){const n={},r=new Array(t.length).fill("{}").join(" ");return n["sentry.message.template"]=`${e} ${r}`,t.forEach((e,t)=>{n[`sentry.message.parameter.${t}`]=e}),n}(o,s);for(const[t,n]of Object.entries(e))c[t]=t.startsWith("sentry.message.parameter.")?re(n,r,i):n}}ls({level:l?"info":a,message:ks(n,r,i),severityNumber:l?10:void 0,attributes:c})});e.registerCleanup(a)}}},Cs="flag.evaluation.";function Es(e,t,n=100){const r=Ye().getScopeData().contexts;r.flags||(r.flags={values:[]});!function(e,t,n,r){if("boolean"!==typeof n)return;if(e.length>r)return void(d&&v.error(`[Feature Flags] insertToFlagBuffer called on a buffer larger than maxSize=${r}`));const i=e.findIndex(e=>e.flag===t);-1!==i&&e.splice(i,1);e.length===r&&e.shift();e.push({flag:t,result:n})}(r.flags.values,e,t,n)}const As=()=>
2({name:"FeatureFlags",processEvent:(e,t,n)=>function(e){if(e.type)return e;const t=Ye().getScopeData().contexts.flags,n=t?t.values:[];return n.length?(void 0===e.contexts&&(e.contexts={}),e.contexts.flags={values:[...n]},e):e}(e),addFeatureFlag(e,t){Es(e,t),function(e,t,n=10){if("boolean"!==typeof t)return;const r=wn();if(!r)return;const i=on(r).data;if(`${Cs}${e}`in i)return void r.setAttribute(`${Cs}${e}`,t);Object.keys(i).filter(e=>e.startsWith(Cs)).length<n&&r.setAttribute(`${Cs}${e}`,t)}(e,t)}});function Ts(e,t){const n=t?"auto":"never";return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...is()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function Is(e,t,n,r=!0){!n||!r&&t in e||(e[t]=n)}function Rs(e,t){const n=js(),r=Ns(e);void 0===r?n.set(e,[t]):r.length>=1e3?(Ds(e,r),n.set(e,[t])):n.set(e,[...r,t])}function Os(e,t){const n=t?.scope??Ye(),r=t?.captureSerializedMetric??Rs,i=n?.getClient()??qe();if(!i)return void(d&&v.warn("No client available to capture metric."));const{_experiments:a,enableMetrics:o,beforeSendMetric:s}=i.getOptions();if(!(o??a?.enableMetrics??!0))return void(d&&v.warn("metrics option not enabled, metric will not be captured."));const{user:l,attributes:c}=Ar(Ue(),n),u=function(e,t,n){const{release:r,environment:i}=t.getOptions(),a={...e.attributes};Is(a,"user.id",n.id,!1),Is(a,"user.email",n.email,!1),Is(a,"user.name",n.username,!1),Is(a,"sentry.release",r),Is(a,"sentry.environment",i);const{name:o,version:s}=t.getSdkMetadata()?.sdk??{};Is(a,"sentry.sdk.name",o),Is(a,"sentry.sdk.version",s);const l=t.getIntegrationByName("Replay"),c=l?.getReplayId(!0);return Is(a,"sentry.replay_id",c),c&&"buffer"===l?.getRecordingMode()&&Is(a,"sentry._internal.replay_is_buffering",!0),{...e,attributes:a}}(e,i,l);i.emit("processMetric",u);const p=s||a?.beforeSendMetric,f=p?p(u):u;if(!f)return void(d&&v.log("`beforeSendMetric` returned `null`, will not send metric."));const h=function(e,t,n,r){const[,i]=ts(t,n),a=Oe(n),o=a?a.spanContext().traceId:i?.trace_id,s=a?a.spanContext().spanId:void 0,l=be(),c=es(l);return{timestamp:l,trace_id:o??"",span_id:s,name:e.name,type:e.type,unit:e.unit,value:e.value,attributes:{...Dt(r),...Dt(e.attributes,"skip-undefined"),[c.key]:c.value}}}(f,i,n,c);d&&v.log("[Metric]",h),r(i,h),i.emit("afterCaptureMetric",f)}function Ds(e,t){const n=t??Ns(e)??[];if(0===n.length)return;const r=e.getOptions(),i=function(e,t,n,r,i){const a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=Ut(r)),jn(a,[Ts(e,i)])}(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);js().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(i)}function Ns(e){return js().get(e)}function js(){return u("clientToMetricBufferMap",()=>new WeakMap)}function Fs(e,t,n,r){Os({type:e,name:t,value:n,unit:r?.unit,attributes:r?.attributes},{scope:r?.scope})}function Ms(e,t=1,n){Fs("counter",e,t,n)}function Vs(e,t,n){Fs("gauge",e,t,n)}function Ps(e,t,n){Fs("distribution",e,t,n)}function Ls(e=0){const t=new Error;return t.framesToPop=e+3,t}function Bs(e){return void 0!==e.framesToPop?e.framesToPop:0}function Hs(e){return null!==e&&"object"===typeof e&&"stack"in e&&"string"===typeof e.stack}function Ws(e,t){return e(t.stack||"",1)}function zs(e){return function(e){return _(e)&&"__sentry_fetch_url_host__"in e&&"string"===typeof e.__sentry_fetch_url_host__}(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function Ys(e,t,n,r){const i={filename:e,function:"<anonymous>"===t?G:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}const Us=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Xs=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Gs=/\((\S*)(?::(\d+))(?::(\d+))\)/,qs=/at (.+?) ?\(data:(.+?),/,Js=[30,e=>{const t=e.match(qs);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const n=Us.exec(e);if(n){const[,e,t,r]=n;return Ys(e,G,+t,+r)}const r=Xs.exec(e);if(r){if(0===r[2]?.indexOf("eval")){const e=Gs.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}const[e,t]=el(r[1]||G,r[2]);return Ys(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],$s=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Ks=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Zs=[50,e=>{const t=$s.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=Ks.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||G;return[n,e]=el(n,e),Ys(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],Qs=$(...[Js,Zs]),el=(e,t)=>
2{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:G,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},tl={},nl=s;function rl(e=nl){if(!e.XMLHttpRequest)return null;const t=new e.XMLHttpRequest;return t.open.__sentry_original__&&(t.open=t.open.__sentry_original__),t.send.__sentry_original__&&(t.send=t.send.__sentry_original__),t}var il=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};function al(e){return il(this,void 0,void 0,function*(){return new Promise(t=>{try{const n=rl();if(!n)return void t(e);const r=function(){const e=ol();if(!e)return;return`${e.url}__sentry/context`}();if(!r)return v.error("Could not fetch source context. No dev server URL found."),void t(e);n.open("POST",r,!0),n.setRequestHeader("Content-Type","application/json"),n.send(JSON.stringify({stack:e})),n.onreadystatechange=()=>{if(4===n.readyState){200!==n.status&&t(e);try{const r=JSON.parse(n.responseText);Array.isArray(r.stack)?t(r.stack):t(e)}catch(r){t(e)}}},n.onerror=()=>{t(e)}}catch(n){v.error("Could not fetch source context.",n),t(e)}})})}function ol(){var e;try{return null===(e=tl.Devtools)||void 0===e?void 0:e.getDevServer()}catch(t){}}var sl=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};const ll=new RegExp(["ReactNativeRenderer-dev\\.js$","MessageQueue\\.js$"].join("|")),cl=()=>({name:"DebugSymbolicator",setupOnce:()=>{},processEvent:ul});function ul(e,t){return sl(this,void 0,void 0,function*(){var n;if((null===(n=e.exception)||void 0===n?void 0:n.values)&&Hs(t.originalException)){const n=function(e){const t=[];for(let n=e;Hs(n);n=n.cause)t.push(n);return t}(t.originalException);for(const[t,r]of n.entries()){const n=yield dl(r.stack,Bs(r));n&&pl(e.exception.values[t],n)}}else if(t.syntheticException&&Hs(t.syntheticException)){const n=yield dl(t.syntheticException.stack,Bs(t.syntheticException));e.exception?n&&e.exception.values&&pl(e.exception.values[0],n):e.threads&&n&&function(e,t){var n,r,i;(null===(i=null===(r=null===(n=e.threads)||void 0===n?void 0:n.values)||void 0===r?void 0:r[0])||void 0===i?void 0:i.stacktrace)&&(e.threads.values[0].stacktrace.frames=t.reverse())}(e,n)}return e})}function dl(e){return sl(this,arguments,void 0,function*(e,t=0){try{const n=function(e){var t;if(null===(t=tl.Devtools)||void 0===t?void 0:t.parseErrorStack)try{return tl.Devtools.parseErrorStack(e)}catch(n){v.warn("RN Devtools parseErrorStack failed, falling back to Sentry stack parser")}try{const t=new Error;t.stack=e;return Ws(Qs,t).reverse().map(e=>{const t={methodName:e.function||"?"};return void 0!==e.filename&&(t.file=e.filename),void 0!==e.lineno&&(t.lineNumber=e.lineno),void 0!==e.colno&&(t.column=e.colno),t})}catch(n){return v.error("Failed to parse error stack:",n),[]}}(e);if(0===n.length)return v.warn("parseErrorStack returned empty array, skipping symbolication"),null;const r=yield function(e,t){if(!tl.Devtools)throw new Error("React Native Devtools not available.");return tl.Devtools.symbolicateStackTrace(e,t)}(n);if(!r)return v.error("React Native DevServer could not symbolicate the stack trace."),null;const i="stack"in r?r.stack:r,a=Math.max(t-1,0),o=(a?i.slice(a):i).filter(e=>e.file&&null===e.file.match(ll)),s=yield function(e){return sl(this,void 0,void 0,function*(){return Promise.all(e.map(e=>sl(this,void 0,void 0,function*(){let t=!!e.column&&!!e.lineNumber;t=t&&void 0!==e.file&&!e.file.includes("node_modules")&&!e.file.includes("native code");return{lineno:e.lineNumber,colno:e.column,filename:e.file,function:e.methodName,in_app:t}})))})}(o);return yield al(s)}catch(n){return n instanceof Error&&v.warn(`Unable to symbolicate stack trace: ${n.message}`),null}})}function pl(e,t){(null===e||void 0===e?void 0:e.stacktrace)&&(e.stacktrace.frames=t.reverse())}function fl(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}var hl=r(55324);function ml(e){const t={};if("string"===typeof e.type&&(t.type=e.type),"string"===typeof e.level&&(t.level=fl(e.level)),"string"===typeof e.event_id&&(t.event_id=e.event_id),"string"===typeof e.category&&(t.category=e.category),"string"===typeof e.message&&(t.message=e.message),"object"===typeof e.data&&null!==e.data&&(t.data=e.data),"string"===typeof e.timestamp){const n=Date.parse(e.timestamp)/1e3;isNaN(n)||(t.timestamp=n)}else"number"!==typeof e.timestamp||isNaN(e.timestamp)||(t.timestamp=e.timestamp);return t}
2class gl extends Error{constructor(e,t="warn"){super(e),this.message=e,this.logLevel=t}}var yl=r(45548),vl=r(95991);function bl(e){var t,n;const r="string"!==typeof e&&"exception"in e&&(null===(t=e.exception)||void 0===t?void 0:t.values)?e.exception.values:[];for(const i of r)if(!1===(null===(n=i.mechanism)||void 0===n?void 0:n.handled)&&"onerror"===i.mechanism.type)return!0;return!1}const _l=[],wl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(let e=0,vx=64;e<vx;++e)_l[e]=wl[e];function kl(e){return _l[e>>18&63]+_l[e>>12&63]+_l[e>>6&63]+_l[63&e]}function Sl(e,t,n){let r;const i=[];for(let a=t;a<n;a+=3)r=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),i.push(kl(r));return i.join("")}function xl(e){const t=globalThis.btoa;if("function"!==typeof t)return function(e){let t;const n=e.length,r=n%3,i=[],a=16383;for(let o=0,s=n-r;o<s;o+=a)i.push(Sl(e,o,o+a>s?s:o+a));return 1===r?(t=e[n-1],i.push(`${_l[t>>2]+_l[t<<4&63]}==`)):2===r&&(t=(e[n-2]<<8)+e[n-1],i.push(`${_l[t>>10]+_l[t>>4&63]+_l[t<<2&63]}=`)),i.join("")}(e);let n="";for(let r=0;r<e.length;r+=32768)n+=String.fromCharCode.apply(null,e.subarray(r,r+32768));return t(n)}const Cl=()=>{const e=l(),t=e.__SENTRY__=e.__SENTRY__||{};return t[o]=t[o]||{}},El=()=>{const e=Cl();nl.TextEncoder?e.encodePolyfill=Al(nl.TextEncoder):e.encodePolyfill=Tl},Al=e=>t=>(new e).encode(t),Tl=e=>{const t=new Uint8Array(function(e,t){let n;t=t||1/0;const r=e.length;let i=null;const a=[];for(let o=0;o<r;++o){if(n=e.charCodeAt(o),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}(e));return t};function Il(e){const t=Cl();return t.encodePolyfill||El(),t.encodePolyfill(e)}function Rl(){var e,t,n;return null!==(n=null===(t=null===(e=nl.expo)||void 0===e?void 0:e.modules)||void 0===t?void 0:t.ExponentConstants)&&void 0!==n?n:void 0}function Ol(){var e,t,n;return null!==(n=null===(t=null===(e=nl.expo)||void 0===e?void 0:e.modules)||void 0===t?void 0:t.ExpoDevice)&&void 0!==n?n:void 0}function Dl(){return!!nl.HermesInternal}function Nl(){return!0===nl.RN$Bridgeless||null!=nl.__turboModuleProxy}function jl(){return null!=nl.nativeFabricUIManager}function Fl(){if(!tl.ReactNativeVersion)return;const e=tl.ReactNativeVersion.version;return`${e.major}.${e.minor}.${e.patch}${null!=e.prerelease?`-${e.prerelease}`:""}`}function Ml(){return null!=nl.expo}function Vl(){const e=function(){var e,t,n;return null!==(n=null===(t=null===(e=nl.expo)||void 0===e?void 0:e.modules)||void 0===t?void 0:t.ExpoGo)&&void 0!==n?n:void 0}();return!!e}function Pl(){return"web"===vl.default.OS}function Ll(){return"function"===typeof globalThis.fetch&&!0===globalThis.fetch[Symbol.for("expo.builtin")]}function Bl(){return"web"!==vl.default.OS}function Hl(){return!("ios"===vl.default.OS||"android"===vl.default.OS)}const Wl="value";function zl(e){const t=re(e);return null===t||"object"!==typeof t||Array.isArray(t)||t.constructor!==Object?{[Wl]:t}:t}var Yl=r(92810),Ul=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})},Xl=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function Gl(){var e,t;return Nl()?null!==(t=null===(e=tl.TurboModuleRegistry)||void 0===e?void 0:e.get("RNSentry"))&&void 0!==t?t:void 0:yl.default.RNSentry}let ql=Gl();const Jl=Il("\n"),$l={fetchModules(){return Ul(this,void 0,void 0,function*(){if(!this.enableNative)throw this._DisabledNativeError;if(!this._isModuleLoaded(ql))throw this._NativeClientError;
2const e=yield ql.fetchModules();return e?JSON.parse(e):null})},sendEnvelope(e){return Ul(this,void 0,void 0,function*(){if(!this.enableNative)return void v.warn("Event was skipped as native SDK is not enabled.");if(!this._isModuleLoaded(ql))throw this._NativeClientError;const[t,n]=e,r=Il(JSON.stringify(t));let i=new Uint8Array(r.length+Jl.length);i.set(r),i.set(Jl,r.length);let a=!1;for(const e of n){const[t,n]=this._processItem(e);let r,o;"string"===typeof n?(r="text/plain",o=Il(n)):n instanceof Uint8Array?(r="string"===typeof t.content_type?t.content_type:"application/octet-stream",o=n):(r="string"===typeof t.content_type?t.content_type:"application/json",o=Il(JSON.stringify(n)),a||(a=bl(n))),t.content_type=r,t.length=o.length;const s=Il(JSON.stringify(t)),l=new Uint8Array(i.length+s.length+Jl.length+o.length+Jl.length);l.set(i),l.set(s,i.length),l.set(Jl,i.length+s.length),l.set(o,i.length+s.length+Jl.length),l.set(Jl,i.length+s.length+Jl.length+o.length),i=l}yield ql.captureEnvelope(xl(i),{hardCrashed:a})})},initNativeSdk(e){return Ul(this,void 0,void 0,function*(){var t,n;const r=Object.assign(Object.assign({enableNative:!0,autoInitializeNativeSdk:!0},e),void 0!==e.enableLogs?{enableLogs:e.enableLogs&&"js"!==e.logsOrigin}:{});if(!r.enableNative)return r.enableNativeNagger&&v.warn("Note: Native Sentry SDK is disabled."),this.enableNative=!1,!1;if(!r.autoInitializeNativeSdk)return r.enableNativeNagger&&v.warn("Note: Native Sentry SDK was not initialized automatically, you will need to initialize it manually. If you wish to disable the native SDK and get rid of this warning, pass enableNative: false"),this.enableNative=!0,!1;if(r.dsn&&r.dsn!==r.dsn.trim()&&(v.warn("The DSN contains whitespace which can cause native crashes. Whitespace has been trimmed."),r.dsn=r.dsn.trim()),!r.dsn)return v.warn("Warning: No DSN was provided. The Sentry SDK will be disabled. Native SDK will also not be initalized."),this.enableNative=!1,!1;if(!this._isModuleLoaded(ql))throw this._NativeClientError;const i=null===(t=r.ignoreErrors)||void 0===t?void 0:t.filter(e=>"string"===typeof e),a=null===(n=r.ignoreErrors)||void 0===n?void 0:n.filter(e=>e instanceof RegExp).map(e=>e.source);i&&i.length>0&&(r.ignoreErrorsStr=i),a&&a.length>0&&(r.ignoreErrorsRegex=a);const{beforeSend:o,beforeBreadcrumb:s,beforeSendTransaction:l,beforeSendMetric:c,integrations:u,ignoreErrors:d,logsOrigin:p,profilingOptions:f,androidProfilingOptions:h,onNativeLog:m}=r,g=Xl(r,["beforeSend","beforeBreadcrumb","beforeSendTransaction","beforeSendMetric","integrations","ignoreErrors","logsOrigin","profilingOptions","androidProfilingOptions","onNativeLog"]),y=null!==f&&void 0!==f?f:h;y&&(g._experiments=Object.assign(Object.assign({},g._experiments),{profilingOptions:y})),g.sdkVersion=Yl.SDK_VERSION;const b=yield ql.initNativeSdk(g);return this.nativeIsReady=b,this.enableNative=!0,b})},fetchNativeLogAttributes(){return Ul(this,void 0,void 0,function*(){if(!this.enableNative)throw this._DisabledNativeError;if(!this._isModuleLoaded(ql))throw this._NativeClientError;return ql.fetchNativeLogAttributes()})},fetchNativeRelease(){return Ul(this,void 0,void 0,function*(){if(!this.enableNative)throw this._DisabledNativeError;if(!this._isModuleLoaded(ql))throw this._NativeClientError;return ql.fetchNativeRelease()})},fetchNativeSdkInfo(){return Ul(this,void 0,void 0,function*(){if(!this.enableNative)throw this._DisabledNativeError;if(!this._isModuleLoaded(ql))throw this._NativeClientError;return ql.fetchNativeSdkInfo()})},fetchNativeDeviceContexts(){return Ul(this,void 0,void 0,function*(){if(!this.enableNative)throw this._DisabledNativeError;if(!this._isModuleLoaded(ql))throw this._NativeClientError;return ql.fetchNativeDeviceContexts()})},fetchNativeAppStart(){return Ul(this,void 0,void 0,function*(){return this.enableNative?this._isModuleLoaded(ql)?ql.fetchNativeAppStart():(v.error(this._NativeClientError),null):(v.warn(this._DisabledNativeError),null)})},fetchNativeFrames(){return Ul(this,void 0,void 0,function*(){if(!this.enableNative)throw this._DisabledNativeError;if(!this._isModuleLoaded(ql))throw this._NativeClientError;return ql.fetchNativeFrames()})},fetchNativeFramesDelay(e,t){return Ul(this,void 0,void 0,function*(){if(!this.enableNative)throw this._DisabledNativeError;if(!this._isModuleLoaded(ql))throw this._NativeClientError;return ql.fetchNativeFramesDelay(e,t)})},nativeCrash(){if(this.enableNative){if(!this._isModuleLoaded(ql))throw this._NativeClientError;ql.crash()}},setUser(e){if(!this.enableNative)return;if(!this._isModuleLoaded(ql))throw this._NativeClientError;let t=null,n=null;if(e){const{id:r,ip_address:i,email:a,username:o,geo:s}
2=e,l=Xl(e,["id","ip_address","email","username","geo"]),c={id:r,ip_address:i,email:a,username:o,geo:s};t=this._serializeObject(c),void 0!==s&&(t.geo=s),n=this._serializeObject(l)}ql.setUser(t,n)},setTag(e,t){if(!this.enableNative)return;if(!this._isModuleLoaded(ql))throw this._NativeClientError;const n="string"===typeof t?t:JSON.stringify(t);ql.setTag(e,n)},setExtra(t,n){if(!this.enableNative)return;if(!this._isModuleLoaded(ql))throw this._NativeClientError;if("string"===typeof n)return ql.setExtra(t,n);if("undefined"===typeof n)return ql.setExtra(t,"undefined");let r;try{const e=re(n);r=JSON.stringify(e)}catch(e){v.error("Extra for key ${key} not passed to native SDK, because it contains non-stringifiable values",e)}return"string"===typeof r?ql.setExtra(t,r):ql.setExtra(t,"**non-stringifiable**")},addBreadcrumb(e){if(this.enableNative){if(!this._isModuleLoaded(ql))throw this._NativeClientError;ql.addBreadcrumb(Object.assign(Object.assign({},e),{level:e.level?this._processLevel(e.level):void 0}))}},clearBreadcrumbs(){if(this.enableNative){if(!this._isModuleLoaded(ql))throw this._NativeClientError;ql.clearBreadcrumbs()}},setContext(t,n){if(!this.enableNative)return;if(!this._isModuleLoaded(ql))throw this._NativeClientError;if(null===n)return ql.setContext(t,null);let r;try{r=zl(n)}catch(e){v.error("Context for key ${key} not passed to native SDK, because it contains non-serializable values",e)}r?ql.setContext(t,r):ql.setContext(t,{error:"**non-serializable**"})},setAttribute(e,t){if(!this.enableNative)return;if(!this._isModuleLoaded(ql))throw this._NativeClientError;const n=this.primitiveProcessor(t);ql.setAttribute(e,n)},setAttributes(e){if(!this.enableNative)return;if(!this._isModuleLoaded(ql))throw this._NativeClientError;const t={};Object.keys(e).forEach(n=>{t[n]=this.primitiveProcessor(e[n])}),ql.setAttributes(t)},removeAttribute(e){if(this.enableNative){if(!this._isModuleLoaded(ql))throw this._NativeClientError;ql.removeAttribute(e)}},closeNativeSdk(){return Ul(this,void 0,void 0,function*(){if(this.enableNative&&this._isModuleLoaded(ql))return ql.closeNativeSdk().then(()=>{this.enableNative=!1})})},disableNativeFramesTracking(){this.enableNative&&this._isModuleLoaded(ql)&&ql.disableNativeFramesTracking()},enableNativeFramesTracking(){this.enableNative&&this._isModuleLoaded(ql)&&ql.enableNativeFramesTracking()},pauseAppHangTracking(){this.enableNative&&this._isModuleLoaded(ql)&&ql.pauseAppHangTracking()},resumeAppHangTracking(){this.enableNative&&this._isModuleLoaded(ql)&&ql.resumeAppHangTracking()},isNativeAvailable(){return ql||(ql=Gl()),this._isModuleLoaded(ql)},captureScreenshot(){return Ul(this,void 0,void 0,function*(){if(!this.enableNative)return v.warn(this._DisabledNativeError),null;if(!this._isModuleLoaded(ql))return v.error(this._NativeClientError),null;let t;try{t=yield ql.captureScreenshot()}catch(e){v.warn("Failed to capture screenshot",e)}return t?t.map(e=>Object.assign(Object.assign({},e),{data:new Uint8Array(e.data)})):null})},fetchViewHierarchy(){return Ul(this,void 0,void 0,function*(){if(!this.enableNative)throw this._DisabledNativeError;if(!this._isModuleLoaded(ql))throw this._NativeClientError;const e=yield ql.fetchViewHierarchy();return e?new Uint8Array(e):null})},startProfiling(e){if(!this.enableNative)throw this._DisabledNativeError;if(!this._isModuleLoaded(ql))throw this._NativeClientError;const{started:t,error:n}=ql.startProfiling(e);return t?v.log("[NATIVE] Start Profiling"):v.error("[NATIVE] Start Profiling Failed",n),!!t},stopProfiling(){if(!this.enableNative)throw this._DisabledNativeError;if(!this._isModuleLoaded(ql))throw this._NativeClientError;const{profile:t,nativeProfile:n,androidProfile:r,error:i}=ql.stopProfiling();if(!t||i)return v.error("[NATIVE] Stop Profiling Failed",i),null;"ios"!==vl.default.OS||n||v.warn("[NATIVE] Stop Profiling Failed: No Native Profile"),"android"!==vl.default.OS||r||v.warn("[NATIVE] Stop Profiling Failed: No Android Profile");try{return{hermesProfile:JSON.parse(t),nativeProfile:n,androidProfile:r}}catch(e){return v.error("[NATIVE] Failed to parse Hermes Profile JSON",e),null}},fetchNativePackageName(){return this.enableNative&&this._isModuleLoaded(ql)&&ql.fetchNativePackageName()||null},fetchNativeStackFramesBy(e){return this.enableNative&&this._isModuleLoaded(ql)&&ql.fetchNativeStackFramesBy(e)||null},initNativeReactNavigationNewFrameTracking(){return Ul(this,void 0,void 0,function*(){if(this.enableNative&&this._isModuleLoaded(ql))return ql.initNativeReactNavigationNewFrameTracking()})},captureReplay(e){return Ul(this,void 0,void 0,function*(){return this.enableNative?this._isModuleLoaded(ql)?(yield ql.captureReplay(e))||null:(v.warn(`[NATIVE] \`${this.captureReplay.name}\` is not available when native is not available.`),Promise.resolve(null)):(v.w
2arn(`[NATIVE] \`${this.captureReplay.name}\` is not available when native is disabled.`),Promise.resolve(null))})},getCurrentReplayId(){return this.enableNative?this._isModuleLoaded(ql)?ql.getCurrentReplayId()||null:(v.warn(`[NATIVE] \`${this.getCurrentReplayId.name}\` is not available when native is not available.`),null):(v.warn(`[NATIVE] \`${this.getCurrentReplayId.name}\` is not available when native is disabled.`),null)},crashedLastRun(){return Ul(this,void 0,void 0,function*(){if(!this.enableNative)return null;if(!this._isModuleLoaded(ql))return null;const e=yield ql.crashedLastRun();return"boolean"===typeof e?e:null})},getNewScreenTimeToDisplay(){return this.enableNative&&this._isModuleLoaded(ql)?ql.getNewScreenTimeToDisplay():Promise.resolve(null)},getDataFromUri(e){return Ul(this,void 0,void 0,function*(){if(!this.enableNative||!this._isModuleLoaded(ql))return null;try{const t=yield ql.getDataFromUri(e);return new Uint8Array(t)}catch(t){return v.error("Error:",t),null}})},popTimeToDisplayFor(e){if(!this.enableNative||!this._isModuleLoaded(ql))return Promise.resolve(null);try{return ql.popTimeToDisplayFor(e)}catch(t){return v.error("Error:",t),Promise.resolve(null)}},setActiveSpanId(e){if(this.enableNative&&this._isModuleLoaded(ql))try{ql.setActiveSpanId(e)}catch(t){return void v.error("Error:",t)}},encodeToBase64(e){return Ul(this,void 0,void 0,function*(){if(!this.enableNative||!this._isModuleLoaded(ql))return Promise.resolve(null);try{const t=Array.from(e);return(yield ql.encodeToBase64(t))||null}catch(t){return v.error("Error:",t),Promise.resolve(null)}})},primitiveProcessor:function(e){return e},_processItem(e){const[t,n]=e;if("event"==t.type||"transaction"==t.type){const e=this._processLevels(n);return"android"===$l.platform&&"message"in e&&(e.message={message:e.message}),[t,e]}return e},_serializeObject(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];t[n]="string"===typeof r?r:JSON.stringify(r)}),t},_processLevels(e){var t;return Object.assign(Object.assign({},e),{level:e.level?this._processLevel(e.level):void 0,breadcrumbs:null===(t=e.breadcrumbs)||void 0===t?void 0:t.map(e=>Object.assign(Object.assign({},e),{level:e.level?this._processLevel(e.level):void 0}))})},_processLevel:e=>"log"==e?"debug":e,_isModuleLoaded:e=>!!e,_setPrimitiveProcessor:function(e){this.primitiveProcessor=e},_DisabledNativeError:new gl("Native is disabled"),_NativeClientError:new gl("Native Client is not available, can't start on native."),enableNative:!0,nativeIsReady:!1,platform:vl.default.OS};function Kl(e){return Ul(this,void 0,void 0,function*(){return $l.getDataFromUri(e)})}var Zl=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};const Ql=()=>({name:"DeviceContext",setupOnce:()=>{},processEvent:ec});function ec(t,n,r){return Zl(this,void 0,void 0,function*(){var n,i;let a=null;try{a=yield $l.fetchNativeDeviceContexts()}catch(e){v.log(`Failed to get device context from native: ${e}`)}if(!a)return t;const o=a.user;!t.user&&o&&(t.user=o);let s=a.contexts;"unknown"!==hl.default.currentState&&(s=s||{},s.app=Object.assign(Object.assign({},s.app),{in_foreground:"active"===hl.default.currentState})),s&&(t.contexts=Object.assign(Object.assign({},s),t.contexts),s.app&&(t.contexts.app=Object.assign(Object.assign({},s.app),t.contexts.app)));const l=a.tags;l&&(t.tags=Object.assign(Object.assign({},l),t.tags));const c=a.extra;c&&(t.extra=Object.assign(Object.assign({},c),t.extra));const u=a.fingerprint;u&&(t.fingerprint=(null!==(n=t.fingerprint)&&void 0!==n?n:[]).concat(u.filter(e=>{var n;return(null!==(n=t.fingerprint)&&void 0!==n?n:[]).indexOf(e)<0})));const d="string"===typeof a.level?fl(a.level):void 0;!t.level&&d&&(t.level=d);const p=a.environment;!t.environment&&p&&(t.environment=p);const f=Array.isArray(a.breadcrumbs)?a.breadcrumbs.map(ml):void 0;if(f){const e=null!==(i=null===r||void 0===r?void 0:r.getOptions().maxBreadcrumbs)&&void 0!==i?i:100,n=function(e,t){const n=t.filter(e=>"http"===e.type&&("xhr"===e.category||"fetch"===e.category));if(0===n.length)return e;const r=new Set;return e.filter(e=>{if("http"!==e.type||"http"!==e.category)return!0;const t=n.findIndex((t,n)=>{var i,a,o,s,l,c;if(r.has(n))return!1;const u=(null===(i=e.data)||void 0===i?void 0:i.method)===(null===(a=t.data)||void 0===a?void 0:a.method),d=(null===(o=e.data)||void 0===o?void 0:o.url)===(null===(s=t.data)||void 0===s?void 0:s.url),p=null===(l=e.data)||void 0===l?void 0:l.status_code,f=null===(c=t.data)||void 0===c?void 0:c.status_code,h=null==p&&null==f||null!=p&&null!=f&&Number(p)===Number(f),m=null!=e.timestamp&&null!=t.timestamp&&Math.abs(e.timestamp-t.timestamp)<=2;return u&&d&&h&&m});return-1===t||(r.add(t),!1)})}(f,t.breadcrumbs||[]);t.breadcrumbs=n.concat(t.breadcrumbs||[]).sort((e,t)=>
2{var n,r;return(null!==(n=e.timestamp)&&void 0!==n?n:0)-(null!==(r=t.timestamp)&&void 0!==r?r:0)}).slice(-e)}return t})}let tc=null;function nc(e){const t="unhandledrejection";oo(t,e),so(t,rc)}function rc(){tc=s.onunhandledrejection,s.onunhandledrejection=function(e){return lo("unhandledrejection",e),!tc||tc.apply(this,arguments)},s.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function ic(){const e=nl;return e.__SENTRY_RN_GLOBAL_ERROR_BUS__||(e.__SENTRY_RN_GLOBAL_ERROR_BUS__={subscribers:new Set}),e.__SENTRY_RN_GLOBAL_ERROR_BUS__}function ac(t){for(const{listener:n,options:r}of ic().subscribers){if("onerror"===t.kind?t.isFatal?r.fatal:r.nonFatal:"onunhandledrejection"===t.kind&&r.unhandledRejection)try{n(t)}catch(e){v.error("[GlobalErrorBus] Subscriber threw while handling a global error.",e)}}}function oc(){return r(49522)}var sc=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};const lc=(t={})=>({name:"ReactNativeErrorHandlers",setupOnce:()=>function(t){t.onunhandledrejection&&function(t){var n,i,a;try{Dl()&&(null===(n=nl.HermesInternal)||void 0===n?void 0:n.enablePromiseRejectionTracker)&&(null===(a=null===(i=null===nl||void 0===nl?void 0:nl.HermesInternal)||void 0===i?void 0:i.hasPromise)||void 0===a?void 0:a.call(i))?(v.log("Using Hermes native promise rejection tracking"),nl.HermesInternal.enablePromiseRejectionTracker({allRejections:!0,onUnhandled:cc.onUnhandled,onHandled:cc.onHandled}),v.log("Unhandled promise rejections will be caught by Sentry.")):Pl()?(v.log("Using Browser JS promise rejection tracking for React Native Web"),nc(t=>{const n=Or(t,{originalException:t,syntheticException:Hs(t)?void 0:Ls(),mechanism:{handled:!1,type:"onunhandledrejection"}});try{ac({error:t,isFatal:!1,kind:"onunhandledrejection",eventId:n})}catch(e){v.error("[ReactNativeErrorHandlers] Failed to publish global error.",e)}})):t?(function(){if(!tl.Utilities)return void v.warn("Could not polyfill Promise. React Native Libraries Utilities not found.");const e=oc();r(94153),r(91482),tl.Utilities.polyfillGlobal("Promise",()=>e)}(),r(84962).enable({allRejections:!0,onUnhandled:cc.onUnhandled,onHandled:cc.onHandled}),function(){try{const e=tl.Promise,t=r(49522),n=oc();e!==t&&v.warn('You appear to have multiple versions of the "promise" package installed. This may cause unexpected behavior like undefined `Promise.allSettled`. Please install the `promise` package manually using the exact version as the React Native package. See https://docs.sentry.io/platforms/react-native/troubleshooting/ for more details.'),n!==nl.Promise?v.warn("Unhandled promise rejections will not be caught by Sentry. See https://docs.sentry.io/platforms/react-native/troubleshooting/ for more details."):v.log("Unhandled promise rejections will be caught by Sentry.")}catch(e){v.warn("Unhandled promise rejections will not be caught by Sentry. See https://docs.sentry.io/platforms/react-native/troubleshooting/ for more details.")}}()):v.log("Unhandled promise rejections will not be caught by Sentry.")}catch(e){v.warn("Failed to set up promise rejection tracking. Unhandled promise rejections will not be caught by Sentry.See https://docs.sentry.io/platforms/react-native/troubleshooting/ for more details.")}}(t.patchGlobalPromise),t.onerror&&function(){var t;let n=!1;const r=nl.ErrorUtils;if(!r)return void v.warn("ErrorUtils not found. Can be caused by different environment for example react-native-web.");const i=null===(t=r.getGlobalHandler)||void 0===t?void 0:t.call(r);r.setGlobalHandler((t,r)=>sc(this,void 0,void 0,function*(){const a=r&&!0;if(a){if(n)return void v.log("Encountered multiple fatals in a row. The latest:",t);n=!0}const o=qe();if(!o)return v.error("Sentry client is missing, the error event might be lost.",t),void i(t,r);!(null===t||void 0===t?void 0:t.componentStack)||t.stack&&function(e){return"string"===typeof e&&e.includes("\n")}(t.stack)||(t.stack=`${t.message||"Error"}${t.componentStack}`);const s={originalException:t,attachments:Ye().getScopeData().attachments},l=yield o.eventFromException(t,s);r?(l.level="fatal",me(l,{handled:!1,type:"onerror"})):(l.level="error",me(l,{handled:!0,type:"generic"}));const c=o.captureEvent(l,s);try{ac({error:t,isFatal:!!r,kind:"onerror",eventId:c})}catch(e){v.error("[ReactNativeErrorHandlers] Failed to publish global error.",e)}o.flush(o.getOptions().shutdownTimeout||2e3).then(()=>{(function(e,t){for(const{options:n}of ic().subscribers)if("onerror"===e){if(t?n.fatal:n.nonFatal)return!0}else if("onunhandledrejection"===e&&n.unhandledRejection)return!0;return!1})("onerror",!!r)||i(t,r),a&&(n=!1)},e=>{v.error("[ReactNativeErrorHandlers] Error while flushing the event cache after uncaught error.",e),a&&(n=!1)})}))}()}(Object.assign({onerror:!0,onunhandledrejection:!0,patchGlobalPromise:!0},t))});const cc={onUnhandled:(t,n,r={})=>{const i=Or(n,{data:{id:t},originalException:n,syntheticException:Hs(n)?void 0:Ls(),mechanism:{handled:!0,type:"onunhandledrejection"}});try{ac({error:n,isFatal:!1,kind:"onunhandledrejection",eventId:i})}catch(e){v.error("[ReactNativeErrorHandlers] Failed to publish global error.",e)}},onHandled:e=>{0}};function uc(e,t){const n=fc(e,t),r={type:gc(t),value:yc(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function dc(e,t,n,r){const i=qe(),a=i?.getOptions().normalizeDepth,o=(s=t,Object.values(s).find(e=>e instanceof Error));var s;const l={__serialized__:ie(t,a)};if(o)return{exception:{values:[uc(e,o)]},extra:l};const c={exception:{values:[{type:T(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:_c(t,{isUnhandledRejection:r})}]},extra:l};if(n){const t=fc(e,n);t.length&&(c.exception.values[0].stacktrace={frames:t})}return c}function pc(e,t){return{exception:{values:[uc(e,t)]}}}function fc(e,t){const n=t.stacktrace||t.stack||"",r=function(e){if(e&&hc.test(e.message))return 1;return 0}(t),i=function(e){if("number"===typeof e.framesToPop)return e.framesToPop;return 0}(t);try{return e(n,r,i)}catch{}return[]}const hc=/Minified React error #\d+;/i;function mc(e){return"undefined"!==typeof WebAssembly&&"undefined"!==typeof WebAssembly.Exception&&e instanceof WebAssembly.Exception}function gc(e){const t=e?.name;if(!t&&mc(e)){return e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception"}return t}function yc(e){const t=e?.message;return mc(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"===typeof t.error.message?zs(t.error):zs(e):"No error message"}function vc(e,t,n,r,i){let a;if(k(t)&&t.error){return pc(e,t.error)}if(S(t)||w(t,"DOMException")){const i=t;if("stack"in t){a=pc(e,t);const i=a.exception?.values?.[0];
2if(r&&n&&i&&!i.stacktrace){const t=fc(e,n);t.length&&(i.stacktrace={frames:t},me(a,{synthetic:!0}))}}else{const t=i.name||(S(i)?"DOMError":"DOMException"),o=i.message?`${t}: ${i.message}`:t;a=bc(e,o,n,r),he(a,o)}return"code"in i&&(a.tags={...a.tags,"DOMException.code":`${i.code}`}),a}if(_(t))return pc(e,t);if(A(t)||T(t)){return a=dc(e,t,n,i),me(a,{synthetic:!0}),a}return a=bc(e,t,n,r),he(a,`${t}`,void 0),me(a,{synthetic:!0}),a}function bc(e,t,n,r){const i={};if(r&&n){const r=fc(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),me(i,{synthetic:!0})}if(C(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function _c(e,{isUnhandledRejection:t}){const n=P(e),r=t?"promise rejection":"exception";if(k(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if(T(e)){return`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e)}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}const wc=(e={})=>{const t=e.key||"cause",n=e.limit||5;return{name:"NativeLinkedErrors",setupOnce:()=>{},preprocessEvent:(e,r,i)=>function(e,t,n,r,i){var a;if(!(null===(a=e.exception)||void 0===a?void 0:a.values)||!t||!R(t.originalException,Error))return;const o=n.getOptions().stackParser,s=t.originalException,{exceptions:l,debugImages:c}=kc(o,r,s,i),u=function(e){const t=e.nativeStackAndroid;if(!Array.isArray(t)||0===t.length)return;const n=Cc();return{type:e.name,value:e.message,stacktrace:{frames:t.map(e=>Sc(e.class,e.file,e.methodName,e.lineNumber,n)).reverse()}}}(s);u&&l.length+1<r&&l.push(u);e.exception.values=[...e.exception.values,...l],e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[],e.debug_meta.images.push(...c||[])}(e,r,i,n,t)}};function kc(e,t,n,r,i=[],a=[]){const o=n[r];if(!o||i.length+1>=t)return{exceptions:i,debugImages:a};let s,l;if(x(o))s={value:o};else if("stackElements"in o)s=function(e){const t=Cc();return{type:e.name,value:e.message,stacktrace:{frames:e.stackElements.map(e=>Sc(e.className,e.fileName,e.methodName,e.lineNumber,t)).reverse()}}}(o);else if("stackReturnAddresses"in o){const{appleException:e,appleDebugImages:t}=function(e){const t=(n=e.stackReturnAddresses,$l.fetchNativeStackFramesBy(n));var n;return{appleException:{type:e.name,value:e.message,stacktrace:{frames:(null===t||void 0===t?void 0:t.frames.reverse())||[]}},appleDebugImages:(null===t||void 0===t?void 0:t.debugMetaImages)||[]}}(o);s=e,l=t}else if(R(o,Error))s=uc(e,n[r]);else{if(!A(o))return{exceptions:i,debugImages:a};{const e=o;s={type:"string"===typeof e.name?e.name:void 0,value:"string"===typeof e.message?e.message:void 0}}}return kc(e,t,o,r,[...i,s],[...a,...l||[]])}function Sc(e,t,n,r,i){return{platform:"java",module:e,filename:t,lineno:r>=0?r:void 0,function:n,in_app:!(null===i||!e.startsWith(i))||void 0}}let xc=null;function Cc(){return null===xc&&(xc=$l.fetchNativePackageName()),xc}var Ec=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};const Ac=()=>({name:"Release",setupOnce:()=>{},processEvent:Tc});function Tc(e,t,n){return Ec(this,void 0,void 0,function*(){var t,r;const i=n.getOptions();if("string"===typeof(null===(t=e.extra)||void 0===t?void 0:t.__sentry_release)?e.release=`${e.extra.__sentry_release}`:"string"===typeof(null===i||void 0===i?void 0:i.release)&&(e.release=i.release),"string"===typeof(null===(r=e.extra)||void 0===r?void 0:r.__sentry_dist)?e.dist=`${e.extra.__sentry_dist}`:"string"===typeof(null===i||void 0===i?void 0:i.dist)&&(e.dist=i.dist),e.release&&e.dist)return e;try{const t=yield $l.fetchNativeRelease();t&&(e.release||(e.release=`${t.id}@${t.version}+${t.build}`),e.dist||(e.dist=`${t.build}`))}catch(a){}return e})}const Ic=()=>({name:"EventOrigin",setupOnce:()=>{},processEvent:e=>{var t;return e.tags=null!==(t=e.tags)&&void 0!==t?t:{},e.tags["event.origin"]="javascript",e.tags["event.environment"]="javascript",e}});var Rc=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};const Oc={name:Yl.SDK_NAME,packages:[{name:Yl.SDK_PACKAGE_NAME,version:Yl.SDK_VERSION}],version:Yl.SDK_VERSION},Dc=()=>{const t=function(){if(!Bl()||Vl())return()=>Promise.resolve(null);let t=!1,n=null;return()=>Rc(this,void 0,void 0,function*(){if(t)return n;try{n=yield $l.fetchNativeSdkInfo(),t=!0}catch(e){v.warn("Could not fetch native sdk info.",e)}return n})}();return{name:"SdkInfo",setupOnce:()=>{},processEvent:e=>function(e,t){return Rc(this,void 0,void 0,function*(){const n=yield t();return e.platform=e.platform||"javascript",e.sdk=e.sdk||{}
2,e.sdk.name=e.sdk.name||Oc.name,e.sdk.version=e.sdk.version||Oc.version,e.sdk.packages=[...e.sdk.packages||[],...n&&[n]||[]],e})}(e,t)}};const Nc=()=>({name:"ReactNativeInfo",setupOnce:()=>{},processEvent:jc});function jc(e,t){const n=(null===t||void 0===t?void 0:t.originalException)?null===t||void 0===t?void 0:t.originalException:void 0,r={turbo_module:Nl(),fabric:jl(),react_native_version:Fl(),expo:Ml()};if(Dl()){r.js_engine="hermes";const t=function(){var e,t;return null===(t=null===(e=nl.HermesInternal)||void 0===e?void 0:e.getRuntimeProperties)||void 0===t?void 0:t.call(e)["OSS Release Version"]}();t&&(r.hermes_version=t),r.hermes_debug_info=!function(e){var t,n,r;for(const i of(null===(t=e.exception)||void 0===t?void 0:t.values)||(null===(n=e.threads)||void 0===n?void 0:n.values)||[])for(const e of(null===(r=i.stacktrace)||void 0===r?void 0:r.frames)||[])if(void 0===e.platform&&1===e.lineno)return!0;return!1}(e)}else(null===n||void 0===n?void 0:n.jsEngine)&&(r.js_engine=n.jsEngine);"hermes"===r.js_engine&&(e.tags=Object.assign({hermes:!0},e.tags)),(null===n||void 0===n?void 0:n.componentStack)&&(r.component_stack=n.componentStack);const i=function(){const e=Rl();return"string"===typeof(null===e||void 0===e?void 0:e.expoVersion)?e.expoVersion:void 0}();i&&(r.expo_go_version=i);const a=function(){var e;const t=Rl(),[,n]="string"===typeof(null===(e=null===t||void 0===t?void 0:t.manifest)||void 0===e?void 0:e.runtimeVersion)?t.manifest.runtimeVersion.split(":"):[];return n}();return a&&(r.expo_sdk_version=a),e.contexts=Object.assign({react_native_context:r},e.contexts),e}var Fc=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};const Mc=()=>({name:"ModulesLoader",setupOnce:()=>{},processEvent:Vc()});function Vc(){let t=!1,n=null;return r=>Fc(this,void 0,void 0,function*(){if(!t){try{n=yield $l.fetchModules()}catch(e){v.log(`Failed to get modules from native: ${e}`)}t=!0}return n&&(r.modules=Object.assign(Object.assign({},n),r.modules)),r})}function Pc(e){return e instanceof qn}function Lc(e){return e===bn(e)}function Bc(e,t){e._endTime=t}function Hc(e){var t,n;return null===(n=(t=e)._convertSpanToTransaction)||void 0===n?void 0:n.call(t)}const Wc=function(e){let t=[],n={};return{add(r,i){for(;t.length>=e;){const e=t.shift();void 0!==e&&delete n[e]}n[r]&&this.delete(r),t.push(r),n[r]=i},clear(){n={},t=[]},get:e=>n[e],size:()=>t.length,delete(e){if(!n[e])return!1;delete n[e];for(let n=0;n<t.length;n++)if(t[n]===e){t.splice(n,1);break}return!0}}}(20);function zc(e,t){let n=0;for(let r=e.length-1;r>=0;r--){const t=e[r];"."===t?e.splice(r,1):".."===t?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}const Yc=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function Uc(e){const t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=Yc.exec(t);return n?n.slice(1):[]}function Xc(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:"/";i&&(t=`${i}/${t}`,n="/"===i.charAt(0))}return t=zc(t.split("/").filter(e=>!!e),!n).join("/"),(n?"/":"")+t||"."}function Gc(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}const qc=(e={})=>{const t=e.root,n=e.prefix||"app:///",r="window"in s&&!!s.window,i=e.iteratee||function({isBrowser:e,root:t,prefix:n}){return r=>{if(!r.filename)return r;const i=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),a=/^\//.test(r.filename);if(e){if(t){const e=r.filename;0===e.indexOf(t)&&(r.filename=e.replace(t,n))}}else if(i||a){const e=i?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,a=t?function(e,t){e=Xc(e).slice(1),t=Xc(t).slice(1);const n=Gc(e.split("/")),r=Gc(t.split("/")),i=Math.min(n.length,r.length);let a=i;for(let s=0;s<i;s++)if(n[s]!==r[s]){a=s;break}let o=[];for(let s=a;s<n.length;s++)o.push("..");return o=o.concat(r.slice(a)),o.join("/")}(t,e):function(e,t){let n=Uc(e)[2]||"";return t&&n.slice(-1*t.length)===t&&(n=n.slice(0,n.length-t.length)),n}(e);r.filename=`${n}${a}`}return r}}({isBrowser:r,root:t,prefix:n});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{return{...e,...e.stacktrace&&{stacktrace:(t=e.stacktrace,{...t,frames:t?.frames?.map(e=>i(e))})}};var t})}}}catch{return e}}(t)),t}}};const Jc="app:///index.android.bundle",$c="app:///main.jsbundle";function Kc(){return qc({iteratee:e=>{if("java"===e.platform||"cocoa"===e.platform)return e;if(!e.filename)return e;if(delete e.abs_path,e.filename=e.filename.replace(/^file:\/\//,"").replace(/^address at /,"").replace(/^.*\/[^.]+(\.app|CodePush|.*(?=\/))/,""),"[native code]"===e.filename||"native"===e.filename)return e;if(Dl()&&1===e.lineno&&void 0!==e.colno&&(e.colno+=1),Ml()&&"android"===vl.default.OS)return e.filename=Jc,e;if(Ml()&&"ios"===vl.default.OS)return e.filename=$c,e;const t="app://";return"/InternalBytecode.js"===e.filename&&(e.in_app=!1),e.filename=0===e.filename.indexOf("/")?`${t}${e.filename}`:`${t}/${e.filename}`,e}})}const Zc="android"===vl.default.OS?Jc:"ios"===vl.default.OS?$c:void 0;function Qc(e){if(0===e.samples.length)return v.warn("[Profiling] No samples found in profile."),null;const{samples:t,hermesStacks:n,jsThreads:r}
2=function(e,t=3e10){const n=[],r=new Set,i=new Set,a=e[0];if(!a)return v.warn("[Profiling] No samples found in profile."),{samples:n,hermesStacks:i,jsThreads:r};const o=Number(a.ts);for(const s of e){r.add(s.tid),i.add(s.sf);const e=1e3*(Number(s.ts)-o);if(e>=t){v.warn(`[Profiling] Sample has elapsed time since start ${e}ns greater than the max elapsed time ${t}ns.`);break}n.push({stack_id:s.sf,thread_id:s.tid,elapsed_since_start_ns:e.toFixed(0)})}return{samples:n,hermesStacks:i,jsThreads:r}}(e.samples),{frames:i,hermesStackFrameIdToSentryFrameIdMap:a}=function(e){const t=[],n=new Map;for(const r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;const i=e[r];i&&(n.set(Number(r),t.length),t.push(eu(i)))}return{frames:t,hermesStackFrameIdToSentryFrameIdMap:n}}(e.stackFrames),{stacks:o,hermesStackToSentryStackMap:s}=function(e,t,n){var r;const i=new Map,a=[];for(const o of e){const e=a.length;i.set(o,e);const s=[];let l=o;for(;void 0!==l;){const e=n.get(l);void 0!==e&&s.push(e),l=null===(r=t[l])||void 0===r?void 0:r.parent}a.push(s)}return{stacks:a,hermesStackToSentryStackMap:i}}(n,e.stackFrames,a);for(const c of t){const e=s.get(c.stack_id);void 0===e?(v.error(`[Profiling] Hermes Stack ID ${c.stack_id} not found when mapping to Sentry Stack ID.`),c.stack_id=-1):c.stack_id=e}const l={};for(const c of r)l[c]={name:"JavaScriptThread",priority:1};return{samples:t,frames:i,stacks:o,thread_metadata:l,active_thread_id:Object.keys(l)[0]||"0"}}function eu(e){if("JavaScript"!==e.category)return"[root]"===e.name?{function:e.name,in_app:!1}:{function:e.name};if(void 0!==e.funcVirtAddr&&void 0!==e.offset)return{function:e.name,abs_path:Zc,lineno:1,colno:Number(e.funcVirtAddr)+Number(e.offset)+1};const t=e.name.indexOf("(");return{function:-1!==t?e.name.substring(0,t)||void 0:e.name,abs_path:Zc,lineno:void 0!==e.line?Number(e.line):void 0,colno:void 0!==e.column?Number(e.column):void 0}}function tu(){if(!Zc)return[];const e=s._sentryDebugIds;if(!e)return[];const t=Object.keys(e);if(!t.length)return[];if(t.length>1)return v.warn("[Profiling] Multiple debug images found, but only one one bundle is supported. Using the first one..."),[];if(!t[0])return[];const n=e[t[0]];return n?[{code_file:Zc,debug_id:n,type:"sourcemap"}]:[]}var nu=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function ru(e,t,n){var r,i,a,o,s,l,c,u,d,p,f,h,m,g,y,v,b,_,w;if("js_profile"in t)return function(e,t,n){var r,i,a,o,s,l,c,u,d,p,f,h,m,g,y;const{profilingStartTimestampNs:v}=t,b=nu(t,["profilingStartTimestampNs"]);return Object.assign(Object.assign({},b),{debug_meta:{images:tu()},build_id:t.build_id||"",device_cpu_frequencies:[],device_is_emulator:(null===(i=null===(r=n.contexts)||void 0===r?void 0:r.device)||void 0===i?void 0:i.simulator)||!1,device_locale:(null===(a=n.contexts)||void 0===a?void 0:a.device)&&n.contexts.device.locale||"",device_manufacturer:(null===(s=null===(o=n.contexts)||void 0===o?void 0:o.device)||void 0===s?void 0:s.manufacturer)||"",device_model:(null===(c=null===(l=n.contexts)||void 0===l?void 0:l.device)||void 0===c?void 0:c.model)||"",device_os_name:(null===(d=null===(u=n.contexts)||void 0===u?void 0:u.os)||void 0===d?void 0:d.name)||"",device_os_version:(null===(f=null===(p=n.contexts)||void 0===p?void 0:p.os)||void 0===f?void 0:f.version)||"",device_physical_memory_bytes:(null===(m=null===(h=n.contexts)||void 0===h?void 0:h.device)||void 0===m?void 0:m.memory_size)&&Number(n.contexts.device.memory_size).toString(10)||"",environment:n.environment||"production",profile_id:e,timestamp:v?new Date(v/1e6).toISOString():n.start_timestamp?new Date(1e3*n.start_timestamp).toISOString():(new Date).toISOString(),release:n.release||"",dist:n.dist||"",transaction_id:n.event_id||"",transaction_name:n.transaction||"",trace_id:(null===(y=null===(g=n.contexts)||void 0===g?void 0:g.trace)||void 0===y?void 0:y.trace_id)||"",version_name:n.release||"",version_code:n.dist||""})}
2(e,t,n);if(!t.profile||!function(e){return!(e.samples.length<=1)}(t.profile))return null;const k=(null===(i=null===(r=n.contexts)||void 0===r?void 0:r.trace)||void 0===i?void 0:i.trace_id)||"";null===k||void 0===k||k.length;const{profilingStartTimestampNs:S}=t,x=nu(t,["profilingStartTimestampNs"]);return Object.assign(Object.assign({},x),{event_id:e,runtime:{name:"hermes",version:""},timestamp:S?new Date(S/1e6).toISOString():n.start_timestamp?new Date(1e3*n.start_timestamp).toISOString():(new Date).toISOString(),release:n.release||"",environment:n.environment||"production",os:{name:(null===(o=null===(a=n.contexts)||void 0===a?void 0:a.os)||void 0===o?void 0:o.name)||"",version:(null===(l=null===(s=n.contexts)||void 0===s?void 0:s.os)||void 0===l?void 0:l.version)||"",build_number:(null===(u=null===(c=n.contexts)||void 0===c?void 0:c.os)||void 0===u?void 0:u.build)||""},device:{locale:(null===(d=n.contexts)||void 0===d?void 0:d.device)&&n.contexts.device.locale||"",model:(null===(f=null===(p=n.contexts)||void 0===p?void 0:p.device)||void 0===f?void 0:f.model)||"",manufacturer:(null===(m=null===(h=n.contexts)||void 0===h?void 0:h.device)||void 0===m?void 0:m.manufacturer)||"",architecture:(null===(y=null===(g=n.contexts)||void 0===g?void 0:g.device)||void 0===y?void 0:y.arch)||"",is_emulator:(null===(b=null===(v=n.contexts)||void 0===v?void 0:v.device)||void 0===b?void 0:b.simulator)||!1},transaction:{name:n.transaction||"",id:n.event_id||"",trace_id:k,active_thread_id:(null===(_=t.transaction)||void 0===_?void 0:_.active_thread_id)||""},debug_meta:{images:[...tu(),...(null===(w=t.debug_meta)||void 0===w?void 0:w.images)||[]]}})}var iu=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};const au=1e6,ou={platformProfilers:!0},su=(e=ou)=>{var t;const n=null===(t=e.platformProfilers)||void 0===t||t;let r,i,a=!1;const o=()=>{if(r)return;const e=wn();e&&s(e)},s=e=>{if(!Lc(e))return;d();l(e)&&(i=setTimeout(d,3e4),c(e))},l=e=>{var t;if(!dn(e))return v.log("[Profiling] Transaction is not sampled, skipping profiling"),!1;const n=qe(),r=null===(t=null===n||void 0===n?void 0:n.getOptions)||void 0===t?void 0:t.call(n),i=r&&"number"===typeof r.profilesSampleRate?r.profilesSampleRate:void 0;return void 0===i?(v.log("[Profiling] Profiling disabled, enable it by setting `profilesSampleRate` option to SDK init call."),!1):!(Math.random()>i)||(v.log("[Profiling] Skip profiling transaction due to sampling."),!1)},c=e=>{const t=function(e){if(!$l.startProfiling(e))return null;
2return Date.now()*au}(n);t&&(r={span_id:e.spanContext().spanId,profile_id:de(),startTimestampNs:t},e.setAttribute("profile_id",r.profile_id),v.log("[Profiling] started profiling: ",r.profile_id))},u=e=>{Lc(e)&&(e.spanContext().spanId===(null===r||void 0===r?void 0:r.span_id)?d():v.log(`[Profiling] Span (${e.spanContext().spanId}) ended is not the currently profiled span (${null===r||void 0===r?void 0:r.span_id}). Not stopping profiling.`))},d=()=>{if(f(),void 0===r)return;const e=function(e){const t=$l.stopProfiling();if(!t)return null;const n=Date.now()*au,r=Qc(t.hermesProfile);if(!r)return null;const i=function(e){return{platform:"javascript",version:"1",profile:e,transaction:{active_thread_id:e.active_thread_id}}}(r);if(!i)return null;if(i.profilingStartTimestampNs=e,t.androidProfile){const r=n-e,a=function(e,t,n){const{measurements:r}=t,i=iu(t,["measurements"]);let a;if(r){a={};for(const e of Object.keys(r)){const t=r[e];t&&(a[e]={unit:t.unit,values:t.values.map(e=>({elapsed_since_start_ns:Number(e.elapsed_since_start_ns),value:e.value}))})}}return Object.assign(Object.assign(Object.assign({},i),{platform:"android",js_profile:e.profile,duration_ns:n.toString(10),active_thread_id:e.transaction.active_thread_id}),a&&Object.keys(a).length>0&&{measurements:a})}(i,t.androidProfile,r);return a.profilingStartTimestampNs=e,a}if(t.nativeProfile)return function(e,t){var n;return Object.assign(Object.assign(Object.assign(Object.assign({},e),{profile:lu(e.profile,t.profile,e.transaction.active_thread_id)}),(null===(n=t.debug_meta)||void 0===n?void 0:n.images)?{debug_meta:{images:t.debug_meta.images}}:{}),{measurements:t.measurements})}(i,t.nativeProfile);return i}(r.startTimestampNs);if(!e)return v.warn("[Profiling] Stop failed. Cleaning up..."),void(r=void 0);Wc.add(r.profile_id,e),v.log("[Profiling] finished profiling: ",r.profile_id),r=void 0},p=e=>{var t,n,r,i,a,o;const s=null===(r=null===(n=null===(t=null===e||void 0===e?void 0:e.contexts)||void 0===t?void 0:t.trace)||void 0===n?void 0:n.data)||void 0===r?void 0:r.profile_id;if("string"!==typeof s)return v.log("[Profiling] cannot find profile for a transaction without a profile context"),null;(null===(o=null===(a=null===(i=null===e||void 0===e?void 0:e.contexts)||void 0===i?void 0:i.trace)||void 0===a?void 0:a.data)||void 0===o?void 0:o.profile_id)&&delete e.contexts.trace.data.profile_id;const l=Wc.get(s);if(Wc.delete(s),!l)return v.log(`[Profiling] cannot find profile ${s} for transaction ${e.event_id}`),null;const c=ru(s,l,e);return v.log(`[Profiling] Created profile ${s} for transaction ${e.event_id}`),c},f=()=>{void 0!==i&&clearTimeout(i),i=void 0};return{name:"HermesProfiling",setupOnce:()=>{if(a)return;if(a=!0,!Dl())return void v.log("[Profiling] Hermes is not enabled, not adding profiling integration.");const e=qe();e&&"function"===typeof e.on&&(o(),e.on("spanStart",s),e.on("spanEnd",u),e.on("beforeEnvelope",e=>{if(!Wc.size())return;const t=function(e){const t=[];return Mn(e,(e,n)=>{var r,i,a;if("transaction"===n)for(let o=1;o<e.length;o++)(null===(a=null===(i=null===(r=e[o].contexts)||void 0===r?void 0:r.trace)||void 0===i?void 0:i.data)||void 0===a?void 0:a.profile_id)&&t.push(e[o])}),t}(e);if(!t.length)return void v.log("[Profiling] no profiled transactions found in envelope");const n=[];for(const r of t){const e=p(r);e&&n.push(e)}!function(e,t){if(!t.length)return e;for(const n of t)e[1].push([{type:"profile"},n])}(e,n)}))}}};function lu(e,t,n){e.thread_metadata=Object.assign(Object.assign({},t.thread_metadata),e.thread_metadata),e.queue_metadata=Object.assign(Object.assign({},t.queue_metadata),e.queue_metadata);const r=e.frames.length,i=e.stacks.length;if(t.frames)for(const a of t.frames)e.frames.push({function:a.function,instruction_addr:a.instruction_addr,platform:"ios"===vl.default.OS?"cocoa":void 0});return e.stacks=[...e.stacks||[],...(t.stacks||[]).map(e=>e.map(e=>e+r))],e.samples=[...e.samples||[],...(t.samples||[]).filter(e=>e.thread_id!==n).map(e=>Object.assign(Object.assign({},e),{stack_id:i+e.stack_id}))],e}var cu=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};const uu=()=>({name:"Screenshot",setupOnce:()=>{},processEvent:du});function du(e,t,n){return cu(this,void 0,void 0,function*(){var r,i,a;if(!((null===(r=e.exception)||void 0===r?void 0:r.values)&&e.exception.values.length>0)||!1===(null===(a=(i=n.getOptions()).beforeScreenshot)||void 0===a?void 0:a.call(i,e,t)))return e;const o=yield $l.captureScreenshot();return o&&o.length>0&&(t.attachments=[...o,...(null===t||void 0===t?void 0:t.attachments)||[]]),e})}var pu=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};const fu=()=>({name:"ViewHierarchy",setupOnce:()=>{},processEvent:hu});function hu(t,n){return pu(this,void 0,void 0,function*(){var r;if(!((null===(r=t.exception)||void 0===r?void 0:r.values)&&t.exception.values.length>0))return t;let i=null;try{i=yield $l.fetchViewHierarchy()}catch(e){v.error("Failed to get view hierarchy from native.",e)}return i&&(n.attachments=[{filename:"view-hierarchy.json",contentType:"application/json",attachmentType:"event.view_hierarchy",data:i},...(null===n||void 0===n?void 0:n.attachments)||[]]),t})}const mu="ota_updates",gu=()=>{let e;function t(){return e||(e=function(){const e=function(){var e,t,n;return null!==(n=null===(t=null===(e=nl.expo)||void 0===e?void 0:e.modules)||void 0===t?void 0:t.ExpoUpdates)&&void 0!==n?n:void 0}();if(!e)return{is_enabled:!1};const t={is_enabled:!!e.isEnabled,is_embedded_launch:!!e.isEmbeddedLaunch,is_emergency_launch:!!e.isEmergencyLaunch,is_using_embedded_assets:!!e.isUsingEmbeddedAssets};"string"===typeof e.updateId&&e.updateId&&(t.update_id=e.updateId.toLowerCase());"string"===typeof e.channel&&e.channel&&(t.channel=e.channel.toLowerCase());"string"===typeof e.runtimeVersion&&e.runtimeVersion&&(t.runtime_version=e.runtimeVersion.toLowerCase());"string"===typeof e.checkAutomatically&&e.checkAutomatically&&(t.check_automatically=e.checkAutomatically.toLowerCase());"string"===typeof e.emergencyLaunchReason&&e.emergencyLaunchReason&&(t.emergency_launch_reason=e.emergencyLaunchReason);"number"===typeof e.launchDuration&&(t.launch_duration=e.launchDuration);e.createdAt instanceof Date&&(t.created_at=e.createdAt.toISOString());return t}())}return{name:"ExpoContext",setup:function(e){e.on("afterInit",()=>{e.getOptions().enableNative&&(function(){if(!Ml()||Vl())return;const e=t();try{$l.setContext(mu,e)}catch(n){v.error("Error setting Expo updates context:",n)}}(),function(e){if(!Ml()||Vl())return;const n=t();if(!n.is_emergency_launch)return;const r=n.emergency_launch_reason?`Expo Updates emergency launch: ${n.emergency_launch_reason}`:"Expo Updates emergency launch";e.captureEvent({level:"warning",message:r,tags:{"expo.updates.emergency_launch":"true"}})}(e))})},processEvent:function(e){return Ml()?(function(e){if(!Vl())return;const t=function(){const e=Ol();if(!e)return;return{name:e.deviceName,simulator:!(null===e||void 0===e?void 0:e.isDevice),model:e.modelName,manufacturer:e.manufacturer,memory_size:e.totalMemory}}();t&&(e.contexts=e.contexts||{},e.contexts.device=Object.assign(Object.assign({},t),e.contexts.device));const n=function(){const e=Ol();if(!e)return;return{build:e.osBuildId,version:e.osVersion,name:e.osName}}();n&&(e.contexts=e.contexts||{},e.contexts.os=Object.assign(Object.assign({},n),e.contexts.os))}(e),function(e){const n=t();e.contexts=e.contexts||{},e.contexts[mu]=Object.assign({},n),function(e,t){e.tags=e.tags||{},t.update_id&&(e.tags["expo.updates.update_id"]=t.update_id);t.channel&&(e.tags["expo.updates.channel"]=t.channel);t.runtime_version&&(e.tags["expo.updates.runtime_version"]=t.runtime_version)}(e,n)}(e),e):e}}};const yu=()=>{let e;return{name:"ExpoConstants",processEvent:function(t){return Ml()?(t.contexts=t.contexts||{},t.contexts.expo_constants=Object.assign({},function(){if(e)return e;return e=function(){const e=Rl();if(!e)return{};const t={};return vu(t,"execution_environment",e.executionEnvironment),vu(t,"app_ownership",e.appOwnership),function(e,t,n){"boolean"===typeof n&&(e[t]=n)}(t,"debug_mode",e.debugMode),vu(t,"expo_version",e.expoVersion),vu(t,"expo_runtime_version",e.expoRuntimeVersion),vu(t,"session_id",e.sessionId),function(e,t,n){"number"===typeof n&&(e[t]=n)}(t,"status_bar_height",e.statusBarHeight),function(e,t){if(!t.expoConfig)return;vu(e,"app_name",t.expoConfig.name),vu(e,"app_slug",t.expoConfig.slug),vu(e,"app_version",t.expoConfig.version),vu(e,"expo_sdk_version",t.expoConfig.sdkVersion)}(t,e),function(e,t){if(!t.easConfig)return;vu(e,"eas_project_id",t.easConfig.projectId)}(t,e),t}()}()),t):t}}};function vu(e,t,n){"string"===typeof n&&n&&(e[t]=n)}const bu="expo.updates";const _u=[{field:"isChecking",message:"Checking for update",level:"info"},{field:"isUpdateAvailable",message:"Update available",level:"info",getData:e=>{var t;const n=null===(t=e.latestManifest)||void 0===t?void 0:t.id;return n?{updateId:n}:void 0}},{field:"isDownloading",message:"Downloading update",level:"info"},{field:"isUpdatePending",message:"Update downloaded",level:"info",getData:e=>{var t;const n=null===(t=e.downloadedManifest)||void 0===t?void 0:t.id;return n?{updateId:n}:void 0}},{field:"checkError",message:"Update check failed",level:"error",getData:e=>({error:e.checkError.message||String(e.checkError)})},{field:"downloadError",message:"Update download failed",level:"error",getData:e=>({error:e.downloadError.message||String(e.downloadError)})},{field:"rollback",message:"Rollback directive received",level:"warning",getData:e=>({commitTime:e.rollback.commitTime})},{field:"isRestarting",message:"Restarting for update",level:"info"}],wu=()=>{let e;return{name:"ExpoUpdatesListener",setup:function(t){t.on("afterInit",()=>{var t;if(!Ml()||Vl())return;const n=function(){try{const e=r(36044);if("function"===typeof e.addUpdatesStateChangeListener)return e}catch(e){}}();if(!n)return void v.log("[ExpoUpdatesListener] expo-updates is not available, skipping.");null===e||void 0===e||e.remove();let i=null!==(t=n.latestContext)&&void 0!==t?t:{};e=n.addUpdatesStateChangeListener(e=>{const t=e.context;!function(e,t){var n;for(const r of _u)!e[r.field]&&t[r.field]&&Ke({category:bu,message:r.message,level:r.level,data:null===(n=r.getData)||void 0===n?void 0:n.call(r,t)})}(i,t),i=t})}),t.on("close",()=>{null===e||void 0===e||e.remove(),e=void 0})}}};function ku({sidecarUrl:e=xu()}={}
2){return v.log("[Spotlight] Using Sidecar URL",e),{name:"Spotlight",setupOnce(){},setup(t){!function(e,t){!function(e,t){if(!e.on)return;e.on("beforeEnvelope",e=>{const n=[...e],r=[...e[1]].filter(e=>"string"!==typeof e[0].content_type||!e[0].content_type.startsWith("image"));n[1]=r;const i=rl();i?(i.open("POST",t,!0),i.setRequestHeader("Content-Type","application/x-sentry-envelope"),i.onreadystatechange=function(){if(4===i.readyState){const e=i.status;0===e||e>=200&&e<400||v.error("[Spotlight] Sentry SDK can't connect to Spotlight is it running? See https://spotlightjs.com to download it.",new Error(i.statusText))}},i.send(Pn(n))):v.error("[Spotlight] Sentry SDK can not create XHR object")})}(e,t)}(t,e)}}}const Su="http://localhost:8969/stream";function xu(){var e,t;try{const{url:n}=null!==(t=null===(e=tl.Devtools)||void 0===e?void 0:e.getDevServer())&&void 0!==t?t:{};return n?`http://${function(e){const t=/^(?:\w+:)?\/\/([^/:]+)(:\d+)?(.*)$/,n=e.match(t);return(null===n||void 0===n?void 0:n[1])?n[1]:null}(n)}:8969/stream`:Su}catch(n){}return Su}function Cu(e){if(e)try{if("string"===typeof e)return Il(e).length;if(e instanceof URLSearchParams)return Il(e.toString()).length;if(e instanceof FormData){return Il(Eu(e)).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch(t){}}function Eu(e){return new URLSearchParams(e).toString()}const Au=15e4,Tu=["content-type","content-length","accept"],Iu=new Set(["authorization","cookie","set-cookie","x-api-key","x-auth-token","proxy-authorization"]);function Ru(e,t){for(const n of t)if("string"===typeof n){if(n.length>0&&-1!==e.indexOf(n))return!0}else if(n instanceof RegExp&&(n.lastIndex=0,n.test(e)))return!0;return!1}function Ou(e){if(null!=e)try{let n;if("string"===typeof e)n=e;else if("number"===typeof e||"boolean"===typeof e)n=String(e);else if(e instanceof URLSearchParams)n=e.toString();else if(e instanceof FormData)n=Eu(e);else{if(e instanceof Blob||e instanceof ArrayBuffer||ArrayBuffer.isView(e))return{_meta:{warnings:["UNPARSEABLE_BODY_TYPE"]}};if("object"===typeof e)try{n=JSON.stringify(e)}catch(t){return{_meta:{warnings:["UNPARSEABLE_BODY_TYPE"]}}}}return void 0===n?{_meta:{warnings:["UNPARSEABLE_BODY_TYPE"]}}:n.length>Au?{body:n.slice(0,Au),_meta:{warnings:["MAX_BODY_SIZE_EXCEEDED"]}}:{body:n}}catch(n){return{_meta:{warnings:["UNPARSEABLE_BODY_TYPE"]}}}}function Du(e,t){if(!e)return;const n=new Set([...Tu,...t.map(e=>e.toLowerCase())]),r={};let i=0;for(const a of Object.keys(e)){const t=a.toLowerCase();if(Iu.has(t))continue;if(!n.has(t))continue;const o=e[a];null!=o&&(r[t]=o,i+=1)}return i>0?r:void 0}function Nu(e,t,n){var r;if("xhr"!==e.category||!t)return;const i=t;if(!i.xhr)return;const a=Date.now(),{startTimestamp:o=a,endTimestamp:s=a,input:l,xhr:c}=i,u=Cu(l),d=c.getResponseHeader("content-length")?function(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}(c.getResponseHeader("content-length")):function(e,t){try{return Cu("json"===t&&e&&"object"===typeof e?JSON.stringify(e):e)}catch(r){return}}(c.response,c.responseType);let p,f;(function(e,t){return!(!e||0===t.allowUrls.length)&&!!Ru(e,t.allowUrls)&&!(t.denyUrls.length>0&&Ru(e,t.denyUrls))})("string"===typeof(null===(r=e.data)||void 0===r?void 0:r.url)?e.data.url:void 0,n)&&(p=function(e,t,n){const r=t.__sentry_xhr_v3__,i=Du(null===r||void 0===r?void 0:r.request_headers,n.requestHeaders);let a;n.captureBodies&&(a=Ou(e));return ju(i,a)}(l,c,n),f=function(e,t){let n=null;try{n=e.getAllResponseHeaders()}catch(r){}const i=Du(function(e){if(!e)return{};const t={},n=e.split(/\r?\n/);for(const r of n){if(!r)continue;const e=r.indexOf(":");if(-1===e)continue;const n=r.slice(0,e).trim(),i=r.slice(e+1).trim();n&&(t[n]=i)}return t}(n),t.responseHeaders);let a;t.captureBodies&&(a=function(e){try{if(""===e.responseType||"text"===e.responseType)return Ou(e.responseText);if("json"===e.responseType)return Ou(e.response);if(null==e.response)return;return{_meta:{warnings:["UNPARSEABLE_BODY_TYPE"]}}}catch(r){return{_meta:{warnings:["UNPARSEABLE_BODY_TYPE"]}}}}(e));return ju(i,a)}(c,n)),e.data=L(Object.assign(Object.assign({start_timestamp:o,end_timestamp:s,request_body_size:u,response_body_size:d},e.data),{request:p,response:f}))}function ju(e,t){const n={};return e&&(n.headers=e),void 0!==(null===t||void 0===t?void 0:t.body)&&(n.body=t.body),(null===t||void 0===t?void 0:t._meta)&&(n._meta=t._meta,void 0===n.body&&(n.body=`[${t._meta.warnings.join(", ")}]`)),Object.keys(n).length>0?n:void 0}var Fu=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};const Mu="MobileReplay",Vu={maskAllText:!0,maskAllImages:!0,maskAllVectors:!0,enableExperimentalViewRenderer:!1,enableViewRendererV2:!0,enableFastViewRendering:!1,screenshotStrategy:"pixelCopy",networkDetailAllowUrls:[],networkDetailDenyUrls:[],networkCaptureBodies:!0,networkRequestHeaders:[],networkResponseHeaders:[]};function Pu(e){return e?e.map(e=>"string"===typeof e?e:e.source).filter(e=>e.length>0):[]}const Lu=(e=Vu)=>{if(Vl()&&v.warn(`[Sentry] ${Mu} is not supported in Expo Go. Use EAS Build or \`expo prebuild\` to enable it.`),Hl()&&v.warn(`[Sentry] ${Mu} is not supported on this platform.`),Vl()||Hl())return Bu();const t=function(e){const t=Object.assign(Object.assign({},Vu),e);return void 0===e.enableViewRendererV2&&void 0!==e.enableExperimentalViewRenderer&&(t.enableViewRendererV2=e.enableExperimentalViewRenderer),t}(e);let n=null;function r(e){n=e}function i(){if(null!==n)return n;const e=$l.getCurrentReplayId();return e&&(n=e),e}return{name:Mu,setup:function(a){var o,s,l,c,u;if(!function(e){return void 0!==e.on}(a))return;n=$l.getCurrentReplayId(),a.on("createDsc",e=>{if(e.replay_id)return;const t=i();t&&(e.replay_id=t)}),a.on("processMetric",e=>{const t=i();t&&(e.attributes=e.attributes||{},e.attributes.replay_id=t)});const d={allowUrls:null!==(o=t.networkDetailAllowUrls)&&void 0!==o?o:[],denyUrls:null!==(s=t.networkDetailDenyUrls)&&void 0!==s?s:[],captureBodies:null===(l=t.networkCaptureBodies)||void 0===l||l,requestHeaders:null!==(c=t.networkRequestHeaders)&&void 0!==c?c:[],responseHeaders:null!==(u=t.networkResponseHeaders)&&void 0!==u?u:[]};a.on("beforeAddBreadcrumb",function(e){return(t,n)=>Nu(t,n,e)}(d));const p=a.getOptions(),f=p.beforeSend;p.beforeSend=(t,n)=>Fu(this,void 0,void 0,function*(){let i=t;if(f&&(i=yield f(t,n),null===i))return null;try{return yield function(t,n){return Fu(this,void 0,void 0,function*(){var i;if(!((null===(i=t.exception)||void 0===i?void 0:i.values)&&t.exception.values.length>0))return t;if(e.beforeErrorSampling)try{if(!1===e.beforeErrorSampling(t,n))return v.log(`[Sentry] ${Mu} not sent; beforeErrorSampling conditions not met for event ${t.event_id}.`),t}catch(o){v.error(`[Sentry] ${Mu} beforeErrorSampling callback threw an error, proceeding with replay capture`,o)}const a=yield $l.captureReplay(bl(t));if(a)r(a),v.log(`[Sentry] ${Mu} Captured recording replay ${a} for event ${t.event_id}.`),t.contexts=t.contexts||{},t.contexts.replay=Object.assign(Object.assign({},t.contexts.replay),{replay_id:a});else{const e=$l.getCurrentReplayId();e?(r(e),v.log(`[Sentry] ${Mu} assign already recording replay ${e} for event ${t.event_id}.`),t.contexts=t.contexts||{},t.contexts.replay=Object.assign(Object.assign({},t.contexts.replay),{replay_id:e})):(r(null),v.log(`[Sentry] ${Mu} not sampled for event ${t.event_id}.`))}return t})}(i,n)}catch(a){return v.error(`[Sentry] ${Mu} Failed to process event for replay`,a),i}})},options:t,getReplayId:function(){return i()}}},Bu=()=>({name:Mu,options:Vu,getReplayId:()=>null});var Hu=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};const Wu="MobileFeedback",zu=(e={})=>{const{buttonOptions:t,screenshotButtonOptions:n,colorScheme:r,themeLight:i,themeDark:a,enableShakeToReport:o}=e,s=Hu(e,["buttonOptions","screenshotButtonOptions","colorScheme","themeLight","themeDark","enableShakeToReport"]);return{name:Wu,options:s,buttonOptions:t||{},screenshotButtonOptions:n||{},colorScheme:r||"system",themeLight:i||{},themeDark:a||{},enableShakeToReport:o||!1}},Yu=()=>{var e;return null===(e=qe())||void 0===e?void 0:e.getIntegrationByName(Wu)};function Uu(e){return"isRelative"in e}function Xu(e,t){const n=e.indexOf("://")<=0&&0!==e.indexOf("//"),r=t??(n?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(e,r))return;const t=new URL(e,r);return n?{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash}:t}catch{}}function Gu(e){if(Uu(e))return e.pathname;const t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function qu(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function Ju(e,t=!0){if(e.startsWith("data:")){const n=e.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",i=e.includes(";base64,"),a=e.indexOf(",");let o="";if(t&&-1!==a){const t=e.slice(a+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${i?",base64":""}${o?`,${o}`:""}`}return e}function $u(e,t){const n=t?.getDsn(),r=t?.getOptions().tunnel;return function(e,t){const n=Xu(e);if(!n||Uu(n))return!1;if(!t)return!1;return r=n.hostname,i=t.host,(r===i||i.length>0&&r.endsWith(`.${i}`))&&/(^|&|\?)sentry_key=/.test(n.search);var r,i}
2(e,n)||function(e,t){if(!t)return!1;return Ku(e)===Ku(t)}(e,r)}function Ku(e){return"/"===e[e.length-1]?e.slice(0,-1):e}function Zu(e,t,n=Y()){return function(e,t){return e[t]||e.all||0}(e,t)>n}function Qu(e,{statusCode:t,headers:n},r=Y()){const i={...e},a=n?.["x-sentry-rate-limits"],o=n?.["retry-after"];if(a)for(const s of a.trim().split(",")){const[e,t,,,n]=s.split(":",5),a=parseInt(e,10),o=1e3*(isNaN(a)?60:a);if(t)for(const s of t.split(";"))"metric_bucket"===s&&n&&!n.split(";").includes("custom")||(i[s]=r+o);else i.all=r+o}else o?i.all=r+function(e,t=Y()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(o,r):429===t&&(i.all=r+6e4);return i}function ed(e,t){const n=e.attributes??(e.attributes={});Object.entries(t).forEach(([e,t])=>{null==t||e in n||(n[e]=t)})}const td=s;function nd(){if(!("fetch"in td))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function rd(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function id(){if("string"===typeof EdgeRuntime)return!0;if(!nd())return!1;if(rd(td.fetch))return!0;let e=!1;const t=td.document;if(t&&"function"===typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=rd(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){d&&v.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}const ad="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,od=s,sd={};function ld(t){const n=sd[t];if(n)return n;let r=od[t];if(rd(r))return sd[t]=r.bind(od);const i=od.document;if(i&&"function"===typeof i.createElement)try{const e=i.createElement("iframe");e.hidden=!0,i.head.appendChild(e);const n=e.contentWindow;n?.[t]&&(r=n[t]),i.head.removeChild(e)}catch(e){ad&&v.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,e)}return r?sd[t]=r.bind(od):r}function cd(...e){return ld("setTimeout")(...e)}const ud={};try{"undefined"!==typeof Node&&(ud.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),"undefined"!==typeof Element&&(ud.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,ud.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,ud.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,ud.getAttribute=Element.prototype.getAttribute),"undefined"!==typeof HTMLElement&&(ud.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function dd(e,t,n){const r=ud[t];if(r)try{return r.call(e,n)}catch{}const i=e[t];return"function"===typeof i?i.call(e,n):i}function pd(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,i=[];let a=0,o=0;const s=" > ",l=s.length;let c;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||80;for(;n&&a++<r&&(c=fd(n,u),!("html"===c||a>1&&o+i.length*l+c.length>=d));)i.push(c),o+=c.length,n=dd(n,"parentNode");return i.reverse().join(s)}catch{return"<unknown>"}}function fd(e,t){const n=[],r=dd(e,"tagName");if(!r)return"";if("undefined"!==typeof HTMLElement&&e instanceof HTMLElement){const t=dd(e,"dataset");if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());const i=t?.length?t.filter(t=>dd(e,"getAttribute",t)).map(t=>[t,dd(e,"getAttribute",t)]):null;if(i?.length)i.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{const t=dd(e,"id");t&&n.push(`#${t}`);const r=dd(e,"className");if(r&&x(r)){const e=r.split(/\s+/);for(const t of e)n.push(`.${t}`)}}for(const a of["aria-label","type","name","title","alt"]){const t=dd(e,"getAttribute",a);t&&n.push(`[${a}="${t}"]`)}return n.join("")}const hd=(e,t,n,r)=>{let i,a;return o=>{t.value>=0&&(o||r)&&(a=t.value-(i??0),(a||void 0===i)&&(i=t.value,t.delta=a,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,n),e(t)))}},md=(e=!0)=>{const t=od.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},gd=()=>{const e=md();return e?.activationStart??0};function yd(e,t,n){od.document&&od.addEventListener(e,t,n)}function vd(e,t,n){od.document&&od.removeEventListener(e,t,n)}let bd=-1;const _d=new Set,wd=e=>{if(function(e){return"pagehide"===e.type||"hidden"===od.document?.visibilityState}(e)&&bd>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(const e of _d)e();isFinite(bd)||(bd="visibilitychange"===e.type?e.timeStamp:0,vd("prerenderingchange",wd,!0))}},kd=()=>
2{if(od.document&&bd<0){const e=gd(),t=od.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime;bd=t??("hidden"!==od.document?.visibilityState||od.document?.prerendering?1/0:0),yd("visibilitychange",wd,!0),yd("pagehide",wd,!0),yd("prerenderingchange",wd,!0)}return{get firstHiddenTime(){return bd},onHidden(e){_d.add(e)}}};const Sd=(e,t=-1)=>{const n=md();let r="navigate";n&&(od.document?.prerendering||gd()>0?r="prerender":od.document?.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-")));return{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},xd=new WeakMap;function Cd(e,t){try{return xd.get(e)||xd.set(e,new t),xd.get(e)}catch(n){return new t}}class Ed{constructor(){this._sessionValue=0,this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;const t=this._sessionEntries[0],n=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}const Ad=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},Td=e=>{let t=!1;return()=>{t||(e(),t=!0)}},Id=e=>{od.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},Rd=[1800,3e3],Od=[.1,.25],Dd=(e,t={})=>{((e,t={})=>{Id(()=>{const n=kd(),r=Sd("FCP");let i;const a=Ad("paint",e=>{for(const t of e)"first-contentful-paint"===t.name&&(a.disconnect(),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-gd(),0),r.entries.push(t),i(!0)))});a&&(i=hd(e,r,Rd,t.reportAllChanges))})})(Td(()=>{const n=Sd("CLS",0);let r;const i=kd(),a=Cd(t,Ed),o=e=>{for(const t of e)a._processEntry(t);a._sessionValue>n.value&&(n.value=a._sessionValue,n.entries=a._sessionEntries,r())},s=Ad("layout-shift",o);s&&(r=hd(e,n,Od,t.reportAllChanges),i.onHidden(()=>{o(s.takeRecords()),r(!0)}),od?.setTimeout?.(r))}))};let Nd=0,jd=1/0,Fd=0;const Md=e=>{e.forEach(e=>{e.interactionId&&(jd=Math.min(jd,e.interactionId),Fd=Math.max(Fd,e.interactionId),Nd=Fd?(Fd-jd)/7+1:0)})};let Vd;const Pd=()=>Vd?Nd:performance.interactionCount||0;let Ld=0;class Bd{constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}_resetInteractions(){Ld=Pd(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const e=Math.min(this._longestInteractionList.length-1,Math.floor((Pd()-Ld)/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!e.interactionId&&"first-input"!==e.entryType)return;const t=this._longestInteractionList.at(-1);let n=this._longestInteractionMap.get(e.interactionId);if(n||this._longestInteractionList.length<10||e.duration>t._latency){if(n?e.duration>n._latency?(n.entries=[e],n._latency=e.duration):e.duration===n._latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10){const e=this._longestInteractionList.splice(10);for(const t of e)this._longestInteractionMap.delete(t.id)}this._onAfterProcessingINPCandidate?.(n)}}}const Hd=e=>{const t=od.requestIdleCallback||od.setTimeout;"hidden"===od.document?.visibilityState?e():(yd("visibilitychange",e=Td(e),{once:!0,capture:!0}),yd("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),vd("visibilitychange",e,{capture:!0}),vd("pagehide",e,{capture:!0})}))},Wd=[200,500],zd=(e,t={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const n=kd();Id(()=>{"interactionCount"in performance||Vd||(Vd=Ad("event",Md,{type:"event",buffered:!0,durationThreshold:0}));const r=Sd("INP");let i;const a=Cd(t,Bd),o=e=>{Hd(()=>{for(const n of e)a._processEntry(n);const t=a._estimateP98LongestInteraction();t&&t._latency!==r.value&&(r.value=t._latency,r.entries=t.entries,i())})},s=Ad("event",o,{durationThreshold:t.durationThreshold??40});i=hd(e,r,Wd,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{o(s.takeRecords()),i(!0)}))})};class Yd{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}const Ud=[2500,4e3],Xd={},Gd={};let qd,Jd,$d;function Kd(e,t){return rp(e,t),Gd[e]||(!function(e){const t={};"event"===e&&(t.durationThreshold=0);Ad(e,t=>{Zd(e,{entries:t})},t)}(e),Gd[e]=!0),ip(e,t)}function Zd(t,n){const r=Xd[t];if(r?.length)for(const i of r)try{i(n)}catch(e){ad&&v.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${Q(i)}\nError:`,e)}}function Qd(){return Dd(e=>{Zd("cls",{metric:e}),qd=e},{reportAllChanges:!0})}function ep(){return((e,t={})=>{Id(()=>{const n=kd(),r=Sd("LCP");let i;const a=Cd(t,Yd),o=e=>{t.reportAllChanges||(e=e.slice(-1));for(const t of e)a._processEntry(t),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-gd(),0),r.entries=[t],i())},s=Ad("largest-contentful-paint",o);if(s){i=hd(e,r,Ud,t.reportAllChanges);const n=Td(()=>{o(s.takeRecords()),s.disconnect(),i(!0)}),a=e=>{e.isTrusted&&(Hd(n),vd(e.type,a,{capture:!0}))};for(const e of["keydown","click","visibilitychange"])yd(e,a,{capture:!0})}})})(e=>{Zd("lcp",{metric:e}),Jd=e},{reportAllChanges:!0})}function tp(){return zd(e=>{Zd("inp",{metric:e}),$d=e})}function np(e,t,n,r,i=!1){let a;return rp(e,t),Gd[e]||(a=n(),Gd[e]=!0),r&&t({metric:r}),ip(e,t,i?a:void 0)}function rp(e,t){Xd[e]=Xd[e]||[],Xd[e].push(t)}
2function ip(e,t,n){return()=>{n&&n();const r=Xd[e];if(!r)return;const i=r.indexOf(t);-1!==i&&r.splice(i,1)}}const ap=Symbol.for("sentry__originalRequestBody");function op(e){return new URLSearchParams(e).toString()}function sp(e,t=v){try{if("string"===typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[op(e)];if(!e)return[void 0]}catch(n){return ad&&t.error(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return ad&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function lp(e=[]){if(e.length>=2&&e[1]&&"object"===typeof e[1]&&"body"in e[1])return e[1].body;if(e.length>=1&&e[0]instanceof Request){const t=e[0][ap];return void 0!==t?t:void 0}}function cp(e){let t;try{t=e.getAllResponseHeaders()}catch(n){return ad&&v.error(n,"Failed to get xhr response headers",e),{}}return t?t.split("\r\n").reduce((e,t)=>{const[n,r]=t.split(": ");return r&&(e[n.toLowerCase()]=r),e},{}):{}}const up="__sentry_xhr_v3__";function dp(e){oo("xhr",e),so("xhr",pp)}function pp(){if(!od.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){const r=new Error,i=1e3*be(),a=x(n[0])?n[0].toUpperCase():void 0,o=function(e){if(x(e))return e;try{return e.toString()}catch{}return}(n[1]);if(!a||!o)return e.apply(t,n);t[up]={method:a,url:o,request_headers:{}},"POST"===a&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const s=()=>{const e=t[up];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}lo("xhr",{endTimestamp:1e3*be(),startTimestamp:i,xhr:t,virtualError:r})}};return"onreadystatechange"in t&&"function"===typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(s(),e.apply(t,n))}):t.addEventListener("readystatechange",s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){const[r,i]=n,a=t[up];return a&&x(r)&&x(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){const r=t[up];if(!r)return e.apply(t,n);void 0!==n[0]&&(r.body=n[0]);return lo("xhr",{startTimestamp:1e3*be(),xhr:t}),e.apply(t,n)}})}let fp,hp,mp,gp;function yp(e){oo("dom",e),so("dom",vp)}function vp(){if(!od.document)return;const e=lo.bind(null,"dom"),t=bp(e,!0);od.document.addEventListener("click",t,!1),od.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{const n=od,r=n[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(D(r,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{const r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){const r=bp(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch{}return t.call(this,n,r,i)}}),D(r,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function bp(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch{return null}}(n);if(function(e,t){return"keypress"===e&&(!t?.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;N(n,"_sentryCaptured",!0),r&&!r._sentryId&&N(r,"_sentryId",de());const i="keypress"===n.type?"input":n.type;if(!function(e){if(e.type!==hp)return!1;try{if(!e.target||e.target._sentryId!==mp)return!1}catch{}return!0}(n)){e({event:n,name:i,global:t}),hp=n.type,mp=r?r._sentryId:void 0}clearTimeout(fp),fp=od.setTimeout(()=>{mp=void 0,hp=void 0},1e3)}}function _p(e){const t="history";oo(t,e),so(t,wp)}function wp(){function e(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const r=gp,i=function(e){try{return new URL(e,od.location.origin).toString()}catch{return e}}(String(n));if(gp=i,r===i)return e.apply(this,t);lo("history",{from:r,to:i})}return e.apply(this,t)}}od.addEventListener("popstate",()=>{const e=od.location.href,t=gp;if(gp=e,t===e)return;lo("history",{from:t,to:e})}),"history"in td&&td.history&&(D(od.history,"pushState",e),D(od.history,"replaceState",e))}const kp=s,Sp="sentryReplaySession",xp="Unable to send Replay",Cp=15e4,Ep=5e3,Ap=2e7,Tp=36e5;var Ip=Object.defineProperty,Rp=(e,t,n)=>((e,t,n)=>t in e?Ip(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!==typeof t?t+"":t,n),Op=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(Op||{});function Dp(e){const t=e?.host;return Boolean(t?.shadowRoot===e)}function Np(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function jp(e){try{const n=e.rules||e.cssRules;return n?((t=Array.from(n,Fp).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t):null}catch(n){return null}var t}function Fp(e){let t;if(function(e){return"styleSheet"in e}(e))try{t=jp(e.styleSheet)||function(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(n){}else if(function(e){return"selectorText"in e}(e)){let t=e.cssText;const n=e.selectorText.includes(":"),r="string"===typeof e.style.all&&e.style.all;if(r&&(t=function(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style,i=r[n],a=r.getPropertyPriority(i);t+=`${i}:${r.getPropertyValue(i)}${a?" !important":""};`}return`${e.selectorText} { ${t} }`}(e)),n&&(t=function(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}(t)),n||r)return t}return t||e.cssText}class Mp{constructor(){Rp(this,"idNodeMap",new Map),Rp(this,"nodeMetaMap",new WeakMap)}getId(e){if(!e)return-1;const t=this.getMeta(e)?.id;return t??-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);
2this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){const n=this.getNode(e);if(n){const e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function Vp({maskInputOptions:e,tagName:t,type:n}){return"OPTION"===t&&(t="SELECT"),Boolean(e[t.toLowerCase()]||n&&e[n]||"password"===n||"INPUT"===t&&!n&&e.text)}function Pp({isMasked:e,element:t,value:n,maskInputFn:r}){let i=n||"";return e?(r&&(i=r(i,t)),"*".repeat(i.length)):i}function Lp(e){return e.toLowerCase()}function Bp(e){return e.toUpperCase()}const Hp="__rrweb_original__";function Wp(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Lp(t):null}function zp(e,t,n){return"INPUT"!==t||"radio"!==n&&"checkbox"!==n?e.value:e.getAttribute("value")||""}function Yp(e,t){let n;try{n=new URL(e,t??window.location.href)}catch(i){return null}const r=n.pathname.match(/\.([0-9a-z]+)(?:$)/i);return r?.[1]??null}const Up={};function Xp(t){const n=Up[t];if(n)return n;const r=window.document;let i=window[t];if(r&&"function"===typeof r.createElement)try{const e=r.createElement("iframe");e.hidden=!0,r.head.appendChild(e);const n=e.contentWindow;n&&n[t]&&(i=n[t]),r.head.removeChild(e)}catch(e){}return Up[t]=i.bind(window)}function Gp(...e){return Xp("setTimeout")(...e)}function qp(...e){return Xp("clearTimeout")(...e)}function Jp(e){try{return e.contentDocument}catch{}}let $p=1;const Kp=new RegExp("[^a-z0-9-_:]");function Zp(){return $p++}let Qp,ef;const tf=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,nf=/^(?:[a-z+]+:)?\/\//i,rf=/^www\..*/i,af=/^(data:)([^,]*),(.*)/i;function of(e,t){return(e||"").replace(tf,(e,n,r,i,a,o)=>{const s=r||a||o,l=n||i||"";if(!s)return e;if(nf.test(s)||rf.test(s))return`url(${l}${s}${l})`;if(af.test(s))return`url(${l}${s}${l})`;if("/"===s[0])return`url(${l}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+s}${l})`;const c=t.split("/"),u=s.split("/");c.pop();for(const t of u)"."!==t&&(".."===t?c.pop():c.push(t));return`url(${l}${c.join("/")}${l})`})}const sf=/^[^ \t\n\r\u000c]+/,lf=/^[, \t\n\r\u000c]+/;const cf=new WeakMap;function uf(e,t){return t&&""!==t.trim()?pf(e,t):t}function df(e){return Boolean("svg"===e.tagName||e.ownerSVGElement)}function pf(e,t){let n=cf.get(e);if(n||(n=e.createElement("a"),cf.set(e,n)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return n.setAttribute("href",t),n.href}function ff(e,t,n,r,i,a,o){if(!r)return r;if("src"===n||"href"===n&&("use"!==t||"#"!==r[0]))return uf(e,r);if("xlink:href"===n&&"#"!==r[0])return uf(e,r);if("background"===n&&("table"===t||"td"===t||"th"===t))return uf(e,r);if("srcset"===n)return function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r;const i=e.exec(t.substring(n));return i?(r=i[0],n+=r.length,r):""}const i=[];for(;r(lf),!(n>=t.length);){let a=r(sf);if(","===a.slice(-1))a=uf(e,a.substring(0,a.length-1)),i.push(a);else{let r="";a=uf(e,a);let o=!1;for(;;){const e=t.charAt(n);if(""===e){i.push((a+r).trim());break}if(o)")"===e&&(o=!1);else{if(","===e){n+=1,i.push((a+r).trim());break}"("===e&&(o=!0)}r+=e,n+=1}}}return i.join(", ")}(e,r);if("style"===n){let t=of(r,pf(e));return o&&o.size>0&&(t=function(e,t){if(!e||0===t.size)return e;try{const n=e.split(";"),r=[];for(let e of n){if(e=e.trim(),!e)continue;const n=e.indexOf(":");if(-1===n){r.push(e);continue}const i=e.slice(0,n).trim();t.has(i)||r.push(e)}return r.join("; ")+(r.length>0&&e.endsWith(";")?";":"")}catch(n){return console.warn("Error filtering CSS properties:",n),e}}(t,o)),t}return"object"===t&&"data"===n?uf(e,r):"function"===typeof a?a(n,r,i):r}function hf(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function mf(e,t,n=1/0,r=0){return e?e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:mf(e.parentNode,t,n,r+1):-1}function gf(e,t){return n=>{const r=n;if(null===r)return!1;try{if(e)if("string"===typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}(r,e))return!0;return!(!t||!r.matches(t))}catch{return!1}}}function yf(t,n,r,i,a,o){try{const e=t.nodeType===t.ELEMENT_NODE?t:t.parentElement;if(null===e)return!1;if("INPUT"===e.tagName){const t=e.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(t))return!0}let s=-1,l=-1;if(o){if(l=mf(e,gf(i,a)),l<0)return!0;s=mf(e,gf(n,r),l>=0?l:1/0)}else{if(s=mf(e,gf(n,r)),s<0)return!1;l=mf(e,gf(i,a),s>=0?s:1/0)}return s>=0?!(l>=0)||s<=l:!(l>=0)&&!!o}catch(e){}return!!o}function vf(t,n){const{doc:r,mirror:i,blockClass:a,blockSelector:o,unblockSelector:s,maskAllText:l,maskAttributeFn:c,maskTextClass:u,unmaskTextClass:d,maskTextSelector:p,unmaskTextSelector:f,inlineStylesheet:h,maskInputOptions:m={},maskTextFn:g,maskInputFn:y,dataURLOptions:v={},inlineImages:b,recordCanvas:_,keepIframeSrcFn:w,newlyAddedElement:k=!1,ignoreCSSAttributes:S}=n,x=function(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return 1===n?void 0:n}(r,i);switch(t.nodeType){case t.DOCUMENT_NODE:return"CSS1Compat"!==t.compatMode?{type:Op.Document,childNodes:[],compatMode:t.compatMode}:{type:Op.Document,childNodes:[]};case t.DOCUMENT_TYPE_NODE:return{type:Op.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:x};case t.ELEMENT_NODE:return function(t,n){const{doc:r,blockClass:i,blockSelector:a,unblockSelector:o,inlineStylesheet:s,maskInputOptions:l={},maskAttributeFn:c,maskInputFn:u,dataURLOptions:d={},inlineImages:p,recordCanvas:f,keepIframeSrcFn:h,newlyAddedElement:m=!1,rootId:g,maskTextClass:y,unmaskTextClass:v,maskTextSelector:b,unmaskTextSelector:_,ignoreCSSAttributes:w}=n,k=function(t,n,r,i){try{if(i&&t.matches(i))return!1;if("string"===typeof n){if(t.classList.contains(n))return!0}else for(let e=t.classList.length;e--;){const r=t.classList[e];if(n.test(r))return!0}if(r)return t.matches(r)}catch(e){}return!1}(t,i,a,o),S=function(e){if(e instanceof HTMLFormElement)return"form";const t=Lp(e.tagName);return Kp.test(t)?"div":t}(t);let x={};const C=t.attributes.length;for(let e=0;e<C;e++){const n=t.attributes[e];n.name&&!hf(S,n.name,n.value)&&(x[n.name]=ff(r,S,Lp(n.name),n.value,t,c,w))}if("link"===S&&s){const e=Array.from(r.styleSheets).find(e=>e.href===t.href);let n=null;e&&(n=jp(e)),n&&(x.rel=null,x.href=null,x.crossorigin=null,x._cssText=of(n,e.href))}if("style"===S&&t.sheet&&!(t.innerText||t.textContent||"").trim().length){const e=jp(t.sheet);e&&(x._cssText=of(e,pf(r)))}if("input"===S||"textarea"===S||"select"===S||"option"===S){const e=t,n=Wp(e),r=zp(e,Bp(S),n),i=e.checked;if("submit"!==n&&"button"!==n&&r){const t=yf(e,y,b,v,_,Vp({type:n,tagName:Bp(S),maskInputOptions:l}));x.value=Pp({isMasked:t,element:e,value:r,maskInputFn:u})}i&&(x.checked=i)}"option"===S&&(t.selected&&!l.select?x.selected=!0:delete x.selected);if("canvas"===S&&f)if("2d"===t.__context)(function(e){const t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){const i=t.getImageData,a=Hp in i?i[Hp]:i;
2if(new Uint32Array(a.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some(e=>0!==e))return!1}return!0})(t)||(x.rr_dataURL=t.toDataURL(d.type,d.quality));else if(!("__context"in t)){const e=t.toDataURL(d.type,d.quality),n=r.createElement("canvas");n.width=t.width,n.height=t.height;e!==n.toDataURL(d.type,d.quality)&&(x.rr_dataURL=e)}if("img"===S&&p){Qp||(Qp=r.createElement("canvas"),ef=Qp.getContext("2d"));const e=t,n=e.currentSrc||e.getAttribute("src")||"<unknown-src>",i=e.crossOrigin,a=()=>{e.removeEventListener("load",a);try{Qp.width=e.naturalWidth,Qp.height=e.naturalHeight,ef.drawImage(e,0,0),x.rr_dataURL=Qp.toDataURL(d.type,d.quality)}catch(t){if("anonymous"!==e.crossOrigin)return e.crossOrigin="anonymous",void(e.complete&&0!==e.naturalWidth?a():e.addEventListener("load",a));console.warn(`Cannot inline img src=${n}! Error: ${t}`)}"anonymous"===e.crossOrigin&&(i?x.crossOrigin=i:e.removeAttribute("crossorigin"))};e.complete&&0!==e.naturalWidth?a():e.addEventListener("load",a)}"audio"!==S&&"video"!==S||(x.rr_mediaState=t.paused?"paused":"played",x.rr_mediaCurrentTime=t.currentTime);m||(t.scrollLeft&&(x.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(x.rr_scrollTop=t.scrollTop));if(k){const{width:e,height:n}=t.getBoundingClientRect();x={class:x.class,rr_width:`${e}px`,rr_height:`${n}px`}}"iframe"!==S||h(x.src)||(k||Jp(t)||(x.rr_src=x.src),delete x.src);let E;try{customElements.get(S)&&(E=!0)}catch(e){}return{type:Op.Element,tagName:S,attributes:x,childNodes:[],isSVG:df(t)||void 0,needBlock:k,rootId:g,isCustom:E}}(t,{doc:r,blockClass:a,blockSelector:o,unblockSelector:s,inlineStylesheet:h,maskAttributeFn:c,maskInputOptions:m,maskInputFn:y,dataURLOptions:v,inlineImages:b,recordCanvas:_,keepIframeSrcFn:w,newlyAddedElement:k,rootId:x,maskTextClass:u,unmaskTextClass:d,maskTextSelector:p,unmaskTextSelector:f,ignoreCSSAttributes:S});case t.TEXT_NODE:return function(e,t){const{maskAllText:n,maskTextClass:r,unmaskTextClass:i,maskTextSelector:a,unmaskTextSelector:o,maskTextFn:s,maskInputOptions:l,maskInputFn:c,rootId:u}=t,d=e.parentNode&&e.parentNode.tagName;let p=e.textContent;const f="STYLE"===d||void 0,h="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(f&&p){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(p=jp(e.parentNode.sheet))}catch(y){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${y}`,e)}p=of(p,pf(t.doc))}h&&(p="SCRIPT_PLACEHOLDER");const g=yf(e,r,a,i,o,n);f||h||m||!p||!g||(p=s?s(p,e.parentElement):p.replace(/[\S]/g,"*"));m&&p&&(l.textarea||g)&&(p=c?c(p,e.parentNode):p.replace(/[\S]/g,"*"));if("OPTION"===d&&p){p=Pp({isMasked:yf(e,r,a,i,o,Vp({type:null,tagName:d,maskInputOptions:l})),element:e,value:p,maskInputFn:c})}return{type:Op.Text,textContent:p||"",isStyle:f,rootId:u}}(t,{doc:r,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:p,unmaskTextSelector:f,maskTextFn:g,maskInputOptions:m,maskInputFn:y,rootId:x});case t.CDATA_SECTION_NODE:return{type:Op.CDATA,textContent:"",rootId:x};case t.COMMENT_NODE:return{type:Op.Comment,textContent:t.textContent||"",rootId:x};default:return!1}}function bf(e){return void 0===e||null===e?"":e.toLowerCase()}function _f(e,t){const{doc:n,mirror:r,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:s,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:d,skipChild:p=!1,inlineStylesheet:f=!0,maskInputOptions:h={},maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b={},inlineImages:_=!1,recordCanvas:w=!1,onSerialize:k,onIframeLoad:S,iframeLoadTimeout:x=5e3,onBlockedImageLoad:C,onStylesheetLoad:E,stylesheetLoadTimeout:A=5e3,keepIframeSrcFn:T=()=>!1,newlyAddedElement:I=!1,ignoreCSSAttributes:R}=t;let{preserveWhiteSpace:O=!0}=t;const D=vf(e,{doc:n,mirror:r,blockClass:i,blockSelector:a,maskAllText:s,unblockSelector:o,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:d,inlineStylesheet:f,maskInputOptions:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,dataURLOptions:b,inlineImages:_,recordCanvas:w,keepIframeSrcFn:T,newlyAddedElement:I,ignoreCSSAttributes:R});if(!D)return console.warn(e,"not serialized"),null;let N;N=r.hasNode(e)?r.getId(e):!function(e,t){if(t.comment&&e.type===Op.Comment)return!0;
2if(e.type===Op.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"===typeof e.attributes.href&&"js"===Yp(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(bf(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===bf(e.attributes.name)||"icon"===bf(e.attributes.rel)||"apple-touch-icon"===bf(e.attributes.rel)||"shortcut icon"===bf(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&bf(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(bf(e.attributes.property).match(/^(og|twitter|fb):/)||bf(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===bf(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===bf(e.attributes.name)||"googlebot"===bf(e.attributes.name)||"bingbot"===bf(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===bf(e.attributes.name)||"generator"===bf(e.attributes.name)||"framework"===bf(e.attributes.name)||"publisher"===bf(e.attributes.name)||"progid"===bf(e.attributes.name)||bf(e.attributes.property).match(/^article:/)||bf(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===bf(e.attributes.name)||"yandex-verification"===bf(e.attributes.name)||"csrf-token"===bf(e.attributes.name)||"p:domain_verify"===bf(e.attributes.name)||"verify-v1"===bf(e.attributes.name)||"verification"===bf(e.attributes.name)||"shopify-checkout-api-token"===bf(e.attributes.name)))return!0}}return!1}(D,v)&&(O||D.type!==Op.Text||D.isStyle||D.textContent.trim().length)?Zp():-2;const j=Object.assign(D,{id:N});if(r.add(e,j),-2===N)return null;k&&k(e);let F=!p;if(j.type===Op.Element){F=F&&!j.needBlock;const t=e.shadowRoot;t&&Np(t)&&(j.isShadowHost=!0)}if((j.type===Op.Document||j.type===Op.Element)&&F){v.headWhitespace&&j.type===Op.Element&&"head"===j.tagName&&(O=!1);const t={doc:n,mirror:r,blockClass:i,blockSelector:a,maskAllText:s,unblockSelector:o,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:d,skipChild:p,inlineStylesheet:f,maskInputOptions:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:_,recordCanvas:w,preserveWhiteSpace:O,onSerialize:k,onIframeLoad:S,iframeLoadTimeout:x,onBlockedImageLoad:C,onStylesheetLoad:E,stylesheetLoadTimeout:A,keepIframeSrcFn:T,ignoreCSSAttributes:R},I=e.childNodes?Array.from(e.childNodes):[];for(const e of I){const n=_f(e,t);n&&j.childNodes.push(n)}if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)&&e.shadowRoot)for(const n of Array.from(e.shadowRoot.childNodes)){const r=_f(n,t);r&&(Np(e.shadowRoot)&&(r.isShadow=!0),j.childNodes.push(r))}}if(e.parentNode&&Dp(e.parentNode)&&Np(e.parentNode)&&(j.isShadow=!0),j.type!==Op.Element||"iframe"!==j.tagName||j.needBlock||function(e,t,n){const r=function(e){try{return e.contentWindow}catch{}}(e);if(!r)return;let i,a=!1;try{i=r.document.readyState}catch(s){return}if("complete"!==i){const r=Gp(()=>{a||(t(),a=!0)},n);return void e.addEventListener("load",()=>{qp(r),a=!0,t()})}const o="about:blank";if(r.location.href!==o||e.src===o||""===e.src)return Gp(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,()=>{const t=Jp(e);if(t&&S){const n=_f(t,{doc:t,mirror:r,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:s,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:f,maskInputOptions:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:_,recordCanvas:w,preserveWhiteSpace:O,onSerialize:k,onIframeLoad:S,iframeLoadTimeout:x,onStylesheetLoad:E,stylesheetLoadTimeout:A,keepIframeSrcFn:T,ignoreCSSAttributes:R});n&&S(e,n)}},x),j.type===Op.Element&&"img"===j.tagName&&!e.complete&&j.needBlock){const t=e,n=()=>{if(t.isConnected&&!t.complete&&C)try{const e=t.getBoundingClientRect();e.width>0&&e.height>0&&C(t,j,e)}catch(e){}t.removeEventListener("load",n)};t.isConnected&&t.addEventListener("load",n)}return j.type===Op.Element&&"link"===j.tagName&&"string"===typeof j.attributes.rel&&("stylesheet"===j.attributes.rel||"preload"===j.attributes.rel&&"string"===typeof j.attributes.href&&"css"===Yp(j.attributes.href))&&function(e,t,n){let r,i=!1;try{r=e.sheet}catch(o){r=null}if(r)return;const a=Gp(()=>{i||(t(),i=!0)},n);e.addEventListener("load",()=>{qp(a),i=!0,t()})}(e,()=>{if(E){const t=_f(e,{doc:n,mirror:r,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:s,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:f,maskInputOptions:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:_,recordCanvas:w,preserveWhiteSpace:O,onSerialize:k,onIframeLoad:S,iframeLoadTimeout:x,onStylesheetLoad:E,stylesheetLoadTimeout:A,keepIframeSrcFn:T,ignoreCSSAttributes:R});t&&E(e,t)}},A),j.type===Op.Element&&delete j.needBlock,j}function wf(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const kf="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let Sf={map:{},getId:()=>(console.error(kf),-1),getNode:()=>(console.error(kf),null),removeNodeFromMap(){console.error(kf)},has:()=>(console.error(kf),!1),reset(){console.error(kf)}};function xf(e,t,n={}){let r=null,i=0;return function(...a){const o=Date.now();i||!1!==n.leading||(i=o);const s=t-(o-i),l=this;s<=0||s>t?(r&&(!function(...e){Yf("clearTimeout")(...e)}
2(r),r=null),i=o,e.apply(l,a)):r||!1===n.trailing||(r=Uf(()=>{i=!1===n.leading?0:Date.now(),r=null,e.apply(l,a)},s))}}function Cf(e,t,n,r,i=window){const a=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(e){Uf(()=>{n.set.call(this,e)},0),a&&a.set&&a.set.call(this,e)}}),()=>Cf(e,t,a||{},!0)}function Ef(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],i=n(r);return"function"===typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch{return()=>{}}}"undefined"!==typeof window&&window.Proxy&&window.Reflect&&(Sf=new Proxy(Sf,{get:(e,t,n)=>("map"===t&&console.error(kf),Reflect.get(e,t,n))}));let Af=Date.now;function Tf(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function If(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Rf(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Of(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(t){return null}}function Df(e,t,n,r,i){if(!e)return!1;const a=Of(e);if(!a)return!1;const o=gf(t,n);if(!i){const e=r&&a.matches(r);return o(a)&&!e}const s=mf(a,o);let l=-1;return!(s<0)&&(r&&(l=mf(a,gf(null,r))),s>-1&&l<0||s<l)}function Nf(e,t){return-2===t.getId(e)}function jf(e,t){if(Dp(e))return!1;const n=t.getId(e);return!t.has(n)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||jf(e.parentNode,t))}function Ff(e){return Boolean(e.changedTouches)}function Mf(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function Vf(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function Pf(e){return Boolean(e?.shadowRoot)}/[1-9][0-9]{12}/.test(Date.now().toString())||(Af=()=>(new Date).getTime());class Lf{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let n;return n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function Bf(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function Hf(e){const t=e.ownerDocument;if(!t)return!1;const n=function(e){let t,n=e;for(;t=Bf(n);)n=t;return n}(e);return t.contains(n)}function Wf(e){const t=e.ownerDocument;return!!t&&(t.contains(e)||Hf(e))}const zf={};function Yf(t){const n=zf[t];if(n)return n;const r=window.document;let i=window[t];if(r&&"function"===typeof r.createElement)try{const e=r.createElement("iframe");e.hidden=!0,r.head.appendChild(e);const n=e.contentWindow;n&&n[t]&&(i=n[t]),r.head.removeChild(e)}catch(e){}return zf[t]=i.bind(window)}function Uf(...e){return Yf("setTimeout")(...e)}var Xf=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(Xf||{}),Gf=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(Gf||{}),qf=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(qf||{}),Jf=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(Jf||{}),$f=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))($f||{});let Kf;function Zf(e){Kf=e}function Qf(){Kf=void 0}const eh=e=>{if(!Kf)return e;return(...t)=>{try{return e(...t)}catch(n){if(Kf&&!0===Kf(n))return()=>{};throw n}}};for(var th="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/",nh="undefined"===typeof Uint8Array?[]:new Uint8Array(256),rh=0;rh<64;rh++)nh[th.charCodeAt(rh)]=rh;class ih{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}function ah(e){try{return e.contentDocument}catch(t){}}function oh(e){try{return e.contentWindow}catch(t){}}class sh{constructor(e){this.doc=e,this.unattachedDoc=null}parse(e){return this.parseWithConstructableStylesheet(e)||this.parseWithDetachedElement(e)}parseWithConstructableStylesheet(e){if("undefined"===typeof CSSStyleSheet||"function"!==typeof CSSStyleSheet.prototype.replaceSync)return null;try{const t=new CSSStyleSheet;t.replaceSync(`x { ${e} }`);const n=t.cssRules[0];return n&&n.type===CSSRule.STYLE_RULE?n.style:null}catch{return null}}parseWithDetachedElement(e){const t=this.getUnattachedDoc().createElement("span");return t.setAttribute("style",e),t.style}getUnattachedDoc(){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}return this.unattachedDoc}}function lh(e){return"__ln"in e}class ch{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=t?.next||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&lh(e.previousSibling)){const n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&lh(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){const t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}const uh=(e,t)=>`${e}@${t}`;class dh{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const e=[],t=new Set,n=new ch,r=e=>{let t=e,n=-2;for(;-2===n;)t=t&&t.nextSibling,n=t&&this.mirror.getId(t);return n},i=i=>{if(!i.parentNode||!Wf(i))return;const a=Dp(i.parentNode)?this.mirror.getId(Bf(i)):this.mirror.getId(i.parentNode),o=r(i);if(-1===a||-1===o)return n.addNode(i);const s=_f(i,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{Mf(e,this.mirror)&&!Df(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),Vf(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),Pf(i)&&this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{if(Df(e,this.blockClass,this.blockSelector,this.unblockSelector,!1))return;this.iframeManager.attachIframe(e,t);const n=oh(e);n&&this.canvasManager.addWindow(n),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});s&&(e.push({parentId:a,nextId:o,node:s}),t.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const s of this.movedSet)fh(this.removes,s,this.mirror)&&!this.movedSet.has(s.parentNode)||i(s);for(const s of this.addedSet)hh(this.droppedSet,s)||fh(this.removes,s,this.mirror)?hh(this.movedSet,s)?i(s):this.droppedSet.add(s):i(s);let a=null;for(;n.length;){let e=null;if(a){const t=this.mirror.getId(a.value.parentNode),n=r(a.value);-1!==t&&-1!==n&&(e=a)}if(!e){let t=n.tail;for(;t;){const n=t;if(t=t.previous,n){const t=this.mirror.getId(n.value.parentNode);
2if(-1===r(n.value))continue;if(-1!==t){e=n;break}{const t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}a=e.previous,n.removeNode(e.value),i(e.value)}const o={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{const{attributes:t}=e;if("string"===typeof t.style){const n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(o.texts.length||o.attributes.length||o.removes.length||o.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(o))},this.processMutation=e=>{if(!Nf(e.target,this.mirror))switch(e.type){case"characterData":{const t=e.target.textContent;Df(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:yf(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,Of(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const t=e.target;let n=e.attributeName,r=e.target.getAttribute(n);if("value"===n){const n=Wp(t),i=t.tagName;r=zp(t,i,n);const a=Vp({maskInputOptions:this.maskInputOptions,tagName:i,type:n});r=Pp({isMasked:yf(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,a),element:t,value:r,maskInputFn:this.maskInputFn})}if(Df(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||r===e.oldValue)return;let i=this.attributeMap.get(e.target);if("IFRAME"===t.tagName&&"src"===n&&!this.keepIframeSrcFn(r)){if(ah(t))return;n="rr_src"}if(i||(i={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}}
2,this.attributes.push(i),this.attributeMap.set(e.target,i)),"type"===n&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!hf(t.tagName,n)&&(i.attributes[n]=ff(this.doc,Lp(t.tagName),Lp(n),r,t,this.maskAttributeFn),"style"===n)){const n=e.oldValue?this.styleDeclarationParser.parse(e.oldValue):null;for(const e of Array.from(t.style)){const r=t.style.getPropertyValue(e),a=t.style.getPropertyPriority(e);r!==(n?.getPropertyValue(e)||"")||a!==(n?.getPropertyPriority(e)||"")?i.styleDiff[e]=""===a?r:[r,a]:i._unchangedStyles[e]=[r,a]}if(n)for(const e of Array.from(n))""===t.style.getPropertyValue(e)&&(i.styleDiff[e]=!1)}break}case"childList":if(Df(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{const n=this.mirror.getId(t),r=Dp(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);Df(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||Nf(t,this.mirror)||!function(e,t){return-1!==t.getId(e)}(t,this.mirror)||(this.addedSet.has(t)?(ph(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||jf(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[uh(n,r)]?ph(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!(!Dp(e.target)||!Np(e.target))||void 0})),this.mapRemoves.push(t))})}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!this.addedSet.has(e)&&!this.movedSet.has(e)){if(this.mirror.hasNode(e)){if(Nf(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[uh(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);Df(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(e.childNodes&&e.childNodes.forEach(e=>this.genAdds(e)),Pf(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager","ignoreCSSAttributes"].forEach(t=>{this[t]=e[t]}),this.styleDeclarationParser=new sh(this.doc)}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function ph(e,t){e.delete(t),t.childNodes?.forEach(t=>ph(e,t))}function fh(e,t,n){return 0!==e.length&&function(e,t,n){let r=t.parentNode;for(;r;){const t=n.getId(r);if(e.some(e=>e.id===t))return!0;r=r.parentNode}return!1}(e,t,n)}function hh(e,t){return 0!==e.size&&mh(e,t)}function mh(e,t){const{parentNode:n}=t;return!!n&&(!!e.has(n)||mh(e,n))}const gh=[];function yh(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function vh(e,t){const n=new dh;gh.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const i=window?.Zone?.__symbol__?.("MutationObserver");i&&window[i]&&(r=window[i]);const a=new r(eh(t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)}));return a.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),a}function bh({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,sampling:o}){if(!1===o.mouseInteraction)return()=>{};const s=!0===o.mouseInteraction||void 0===o.mouseInteraction?{}:o.mouseInteraction,l=[];let c=null;return Object.keys(qf).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]).forEac
2h(o=>{let s=Lp(o);const u=(t=>o=>{const s=yh(o);if(Df(s,r,i,a,!0))return;let l=null,u=t;if("pointerType"in o){switch(o.pointerType){case"mouse":l=Jf.Mouse;break;case"touch":l=Jf.Touch;break;case"pen":l=Jf.Pen}l===Jf.Touch?qf[t]===qf.MouseDown?u="TouchStart":qf[t]===qf.MouseUp&&(u="TouchEnd"):Jf.Pen}else Ff(o)&&(l=Jf.Touch);null!==l?(c=l,(u.startsWith("Touch")&&l===Jf.Touch||u.startsWith("Mouse")&&l===Jf.Mouse)&&(l=null)):qf[t]===qf.Click&&(l=c,c=null);const d=Ff(o)?o.changedTouches[0]:o;if(!d)return;const p=n.getId(s),{clientX:f,clientY:h}=d;eh(e)({type:qf[u],id:p,x:f,y:h,...null!==l&&{pointerType:l}})})(o);if(window.PointerEvent)switch(qf[o]){case qf.MouseDown:case qf.MouseUp:s=s.replace("mouse","pointer");break;case qf.TouchStart:case qf.TouchEnd:return}l.push(wf(s,u,t))}),eh(()=>{l.forEach(e=>e())})}function _h({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,sampling:o}){return wf("scroll",eh(xf(eh(o=>{const s=yh(o);if(!s||Df(s,r,i,a,!0))return;const l=n.getId(s);if(s===t&&t.defaultView){const n=Tf(t.defaultView);e({id:l,x:n.left,y:n.top})}else e({id:l,x:s.scrollLeft,y:s.scrollTop})}),o.scroll||100)),t)}const wh=["INPUT","TEXTAREA","SELECT"],kh=new WeakMap;function Sh({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,ignoreClass:o,ignoreSelector:s,maskInputOptions:l,maskInputFn:c,sampling:u,userTriggeredOnInput:d,maskTextClass:p,unmaskTextClass:f,maskTextSelector:h,unmaskTextSelector:m}){function g(e){let n=yh(e);const u=e.isTrusted,g=n&&Bp(n.tagName);if("OPTION"===g&&(n=n.parentElement),!n||!g||wh.indexOf(g)<0||Df(n,r,i,a,!0))return;const v=n;if(v.classList.contains(o)||s&&v.matches(s))return;const b=Wp(n);let _=zp(v,g,b),w=!1;const k=Vp({maskInputOptions:l,tagName:g,type:b}),S=yf(n,p,h,f,m,k);"radio"!==b&&"checkbox"!==b||(w=n.checked),_=Pp({isMasked:S,element:n,value:_,maskInputFn:c}),y(n,d?{text:_,isChecked:w,userTriggered:u}:{text:_,isChecked:w});const x=n.name;"radio"===b&&x&&w&&t.querySelectorAll(`input[type="radio"][name="${x}"]`).forEach(e=>{if(e!==n){const t=Pp({isMasked:S,element:e,value:zp(e,g,b),maskInputFn:c});y(e,d?{text:t,isChecked:!w,userTriggered:!1}:{text:t,isChecked:!w})}})}function y(t,r){const i=kh.get(t);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){kh.set(t,r);const i=n.getId(t);eh(e)({...r,id:i})}}const v=("last"===u.input?["change"]:["input","change"]).map(e=>wf(e,eh(g),t)),b=t.defaultView;if(!b)return()=>{v.forEach(e=>e())};const _=b.Object.getOwnPropertyDescriptor(b.HTMLInputElement.prototype,"value"),w=[[b.HTMLInputElement.prototype,"value"],[b.HTMLInputElement.prototype,"checked"],[b.HTMLSelectElement.prototype,"value"],[b.HTMLTextAreaElement.prototype,"value"],[b.HTMLSelectElement.prototype,"selectedIndex"],[b.HTMLOptionElement.prototype,"selected"]];return _&&_.set&&v.push(...w.map(e=>Cf(e[0],e[1],{set(){eh(g)({target:this,isTrusted:!1})}},!1,b))),eh(()=>{v.forEach(e=>e())})}function xh(e){return function(e,t){if(Th("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||Th("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||Th("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||Th("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){const n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){const n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function Ch(e,t,n){let r,i;return e?(e.ownerNode?r=t.getId(e.ownerNode):i=n.getId(e),{styleId:i,id:r}):{}}function Eh({mirror:e,stylesheetManager:t},n){let r=null;r="#document"===n.nodeName?e.getId(n):e.getId(n.host);const i="#document"===n.nodeName?n.defaultView?.Document:n.ownerDocument?.defaultView?.ShadowRoot,a=i?.prototype?Object.getOwnPropertyDescriptor(i?.prototype,"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&i&&a?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get(){return a.get?.call(this)},set(e){const n=a.set?.call(this,e);if(null!==r&&-1!==r)try{t.adoptStyleSheets(e,r)}catch(i){}return n}}),eh(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get:a.get,set:a.set})})):()=>{}}function Ah(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=vh(e,e.doc));const i=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(!1===t.mousemove)return()=>{};const i="number"===typeof t.mousemove?t.mousemove:50,a="number"===typeof t.mousemoveCallback?t.mousemoveCallback:500;let o,s=[];const l=xf(eh(t=>{const n=Date.now()-o;e(s.map(e=>(e.timeOffset-=n,e)),t),s=[],o=null}),a),c=eh(xf(eh(e=>{const t=yh(e),{clientX:n,clientY:i}=Ff(e)?e.changedTouches[0]:e;o||(o=Af()),s.push({x:n,y:i,id:r.getId(t),timeOffset:Af()-o}),l("undefined"!==typeof DragEvent&&e instanceof DragEvent?Gf.Drag:e instanceof MouseEvent?Gf.MouseMove:Gf.TouchMove)}),i,{trailing:!1})),u=[wf("mousemove",c,n),wf("touchmove",c,n),wf("drag",c,n)];return eh(()=>
vendor: 4,652 bytes, line 2
2{u.forEach(e=>e())})}(e),a=bh(e),o=_h(e),s=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return wf("resize",eh(xf(eh(()=>{const t=If(),i=Rf();n===t&&r===i||(e({width:Number(i),height:Number(t)}),n=t,r=i)}),200)),t)}(e,{win:n}),l=Sh(e),c=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:i,sampling:a,doc:o}){const s=eh(o=>xf(eh(a=>{const s=yh(a);if(!s||Df(s,t,n,r,!0))return;const{currentTime:l,volume:c,muted:u,playbackRate:d}=s;e({type:o,id:i.getId(s),currentTime:l,volume:c,muted:u,playbackRate:d})}),a.media||500)),l=[wf("play",s($f.Play),o),wf("pause",s($f.Pause),o),wf("seeked",s($f.Seeked),o),wf("volumechange",s($f.VolumeChange),o),wf("ratechange",s($f.RateChange),o)];return eh(()=>{l.forEach(e=>e())})}(e);let u=()=>{},d=()=>{},p=()=>{},f=()=>{};e.recordDOM&&(u=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const i=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:eh((r,i,a)=>{const[o,s]=a,{id:l,styleId:c}=Ch(i,t,n.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:o,index:s}]}),r.apply(i,a)})});const a=r.CSSStyleSheet.prototype.deleteRule;let o,s;r.CSSStyleSheet.prototype.deleteRule=new Proxy(a,{apply:eh((r,i,a)=>{const[o]=a,{id:s,styleId:l}=Ch(i,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:o}]}),r.apply(i,a)})}),r.CSSStyleSheet.prototype.replace&&(o=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:eh((r,i,a)=>{const[o]=a,{id:s,styleId:l}=Ch(i,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replace:o}),r.apply(i,a)})})),r.CSSStyleSheet.prototype.replaceSync&&(s=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(s,{apply:eh((r,i,a)=>{const[o]=a,{id:s,styleId:l}=Ch(i,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replaceSync:o}),r.apply(i,a)})}));const l={};Ih("CSSGroupingRule")?l.CSSGroupingRule=r.CSSGroupingRule:(Ih("CSSMediaRule")&&(l.CSSMediaRule=r.CSSMediaRule),Ih("CSSConditionRule")&&(l.CSSConditionRule=r.CSSConditionRule),Ih("CSSSupportsRule")&&(l.CSSSupportsRule=r.CSSSupportsRule));const c={};return Object.entries(l).forEach(([r,i])=>{c[r]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(c[r].insertRule,{apply:eh((r,i,a)=>{const[o,s]=a,{id:l,styleId:c}=Ch(i.parentStyleSheet,t,n.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:o,index:[...xh(i),s||0]}]}),r.apply(i,a)})}),i.prototype.deleteRule=new Proxy(c[r].deleteRule,{apply:eh((r,i,a)=>{const[o]=a,{id:s,styleId:l}=Ch(i.parentStyleSheet,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:[...xh(i),o]}]}),r.apply(i,a)})})}),eh(()=>{r.CSSStyleSheet.prototype.insertRule=i,r.CSSStyleSheet.prototype.deleteRule=a,o&&(r.CSSStyleSheet.prototype.replace=o),s&&(r.CSSStyleSheet.prototype.replaceSync=s),Object.entries(l).forEach(([e,t])=>{t.prototype.insertRule=c[e].insertRule,t.prototype.deleteRule=c[e].deleteRule})})}(e,{win:n}),d=Eh(e,e.doc),p=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:i}){const a=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:eh((i,o,s)=>{const[l,c,u]=s;if(n.has(l))return a.apply(o,[l,c,u]);const{id:d,styleId:p}=Ch(o.parentRule?.parentStyleSheet,t,r.styleMirror);return(d&&-1!==d||p&&-1!==p)&&e({id:d,styleId:p,set:{property:l,value:c,priority:u},index:xh(o.parentRule)}),i.apply(o,s)})});const o=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:eh((i,a,s)=>{const[l]=s;if(n.has(l))return o.apply(a,[l]);const{id:c,styleId:u}=Ch(a.parentRule?.parentStyleSheet,t,r.styleMirror);return(c&&-1!==c||u&&-1!==u)&&e({id:c,styleId:u,remove:{property:l},index:xh(a.parentRule)}),i.apply(a,s)})}),eh(()=>{i.CSSStyleDeclaration.prototype.setProperty=a,i.CSSStyleDeclaration.prototype.removeProperty=o})}(e,{win:n}),e.collectFonts&&(f=function({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],i=new WeakMap,a=n.FontFace;n.FontFace=function(e,t,n){const r=new a(e,t,n);return i.set(r,{family:e,buffer:"string"!==typeof t,descriptors:n,fontSource:"string"===typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};const o=Ef(t.fonts,"add",function(t){return function(n){return Uf(eh(()=>{const t=i.get(n);t&&(e(t),i.delete(n))}),0),t.apply(this,[n])}});return r.push(()=>{n.FontFace=a}),r.push(o),eh(()=>
2{r.forEach(e=>e())})}(e)));const h=function(e){const{doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,selectionCb:o}=e;let s=!0;const l=eh(()=>{const e=t.getSelection();if(!e||s&&e?.isCollapsed)return;s=e.isCollapsed||!1;const l=[],c=e.rangeCount||0;for(let t=0;t<c;t++){const o=e.getRangeAt(t),{startContainer:s,startOffset:c,endContainer:u,endOffset:d}=o;Df(s,r,i,a,!0)||Df(u,r,i,a,!0)||l.push({start:n.getId(s),startOffset:c,end:n.getId(u),endOffset:d})}o({ranges:l})});return l(),wf("selectionchange",l)}(e),m=function({doc:e,customElementCb:t}){const n=e.defaultView;return n&&n.customElements?Ef(n.customElements,"define",function(e){return function(n,r,i){try{t({define:{name:n}})}catch(a){}return e.apply(this,[n,r,i])}}):()=>{}}(e),g=[];for(const y of e.plugins)g.push(y.observer(y.callback,n,y.options));return eh(()=>{gh.forEach(e=>e.reset()),r?.disconnect(),i(),a(),o(),s(),l(),c(),u(),d(),p(),f(),h(),m(),g.forEach(e=>e())})}function Th(e){return"undefined"!==typeof window[e]}function Ih(e){return Boolean("undefined"!==typeof window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class Rh{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){const i=n||this.getIdToRemoteIdMap(e),a=r||this.getRemoteIdToIdMap(e);let o=i.get(t);return o||(o=this.generateIdFn(),i.set(t,o),a.set(o,t)),o}getIds(e,t){const n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,n,r))}
vendor: 4,445 bytes, line 2
2getRemoteId(e,t,n){const r=n||this.getRemoteIdToIdMap(e);if("number"!==typeof t)return t;const i=r.get(t);return i||-1}getRemoteIds(e,t){const n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,n))}reset(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class Oh{constructor(){this.crossOriginIframeMirror=new Rh(Zp),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class Dh{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Rh(Zp),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Rh(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0);const t=oh(e);t&&this.crossOriginIframeMap.set(t,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&oh(e)?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(e);const n=ah(e);n&&n.adoptedStyleSheets&&n.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(n.adoptedStyleSheets,this.mirror.getId(n))}handleMessage(e){const t=e;if("rrweb"!==t.data.type||t.origin!==t.data.origin)return;if(!e.source)return;const n=this.crossOriginIframeMap.get(e.source);if(!n)return;const r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case Xf.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);const n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:Xf.IncrementalSnapshot,data:{source:Gf.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case Xf.Meta:case Xf.Load:case Xf.DomContentLoaded:return!1;case Xf.Plugin:return t;case Xf.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case Xf.IncrementalSnapshot:switch(t.data.source){case Gf.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);const n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)}),t.data.removes.forEach(t=>{this.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,["id"])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case Gf.Drag:case Gf.TouchMove:case Gf.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case Gf.ViewportResize:return!1;case Gf.MediaInteraction:case Gf.MouseInteraction:case Gf.Scroll:case Gf.CanvasMutation:case Gf.Input:return this.replaceIds(t.data,e,["id"]),t;case Gf.StyleSheetRule:case Gf.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case Gf.Font:return t;case Gf.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case Gf.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),t.data.styles?.forEach(t=>{this.replaceStyleIds(t,e,["styleId"])}),t}}return!1}replace(e,t,n,r){for(const i of r)(Array.isArray(t[i])||"number"===typeof t[i])&&(Array.isArray(t[i])?t[i]=e.getIds(n,t[i]):t[i]=e.getId(n,t[i]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEac
2h(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type===Op.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}}class Nh{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class jh{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!Np(e))return;if(this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);const n=vh({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(_h({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),Uf(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(Eh({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){const t=ah(e),n=oh(e);t&&n&&this.patchAttachShadow(n.Element,t)}patchAttachShadow(e,t){const n=this;this.restoreHandlers.push(Ef(e.prototype,"attachShadow",function(e){return function(r){const i=e.call(this,r);return this.shadowRoot&&Wf(this)&&n.addShadowRoot(this.shadowRoot,t),i}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(t){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}class Fh{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new Lf,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;const n={id:t,styleIds:[]},r=[];for(const i of e){let e;this.styleMirror.has(i)?e=this.styleMirror.getId(i):(e=this.styleMirror.add(i),r.push({styleId:e,rules:Array.from(i.rules||CSSRule,(e,t)=>({rule:Fp(e),index:t}))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class Mh{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){const n=this.nodeMap.get(e);return n&&Array.from(n).some(e=>e!==t)}add(e,t){this.active||(this.active=!0,function(...e){Yf("requestAnimationFrame")(...e)}(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}let Vh,Ph;try{if(2!==Array.from([1],e=>2*e)[0]){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(yx){console.debug("Unable to override Array.from",yx)}const Lh=new Mp;function Bh(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:i="rr-block",blockSelector:a=null,unblockSelector:o=null,ignoreClass:s="rr-ignore",ignoreSelector:l=null,maskAllText:c=!1,maskTextClass:u="rr-mask",unmaskTextClass:d=null,maskTextSelector:p=null,unmaskTextSelector:f=null,inlineStylesheet:h=!0,maskAllInputs:m,maskInputOptions:g,slimDOMOptions:y,maskAttributeFn:v,maskInputFn:b,maskTextFn:_,maxCanvasSize:w=null,packFn:k,sampling:S={},dataURLOptions:x={},mousemoveWait:C,recordDOM:E=!0,recordCanvas:A=!1,recordCrossOriginIframes:T=!1,recordAfter:I=("DOMContentLoaded"===e.recordAfter?e.recordAfter:"load"),userTriggeredOnInput:R=!1,collectFonts:O=!1,inlineImages:D=!1,plugins:N,keepIframeSrcFn:j=()=>!1,ignoreCSSAttributes:F=new Set([]),errorHandler:M,onMutation:V,getCanvasManager:P}=e;Zf(M);const L=!T||window.parent===window;let B=!1;if(!L)try{window.parent.document&&(B=!1)}catch(te){B=!0}if(L&&!t)throw new Error("emit function is required");if(!L&&!B)return()=>{};void 0!==C&&void 0===S.mousemove&&(S.mousemove=C),Lh.reset();const H=!0===m?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==g?g:{},W=!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===y,headMetaDescKeywords:"all"===y}:y||{};let z;!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1})}();let Y=0;const U=e=>{for(const t of N||[])t.eventProcessor&&(e=t.eventProcessor(e));return k&&!B&&(e=k(e)),e};Vh=(e,i)=>{const a=e;if(a.timestamp=Af(),!gh[0]?.isFrozen()||a.type===Xf.FullSnapshot||a.type===Xf.IncrementalSnapshot&&a.data.source===Gf.Mutation||gh.forEach(e
2=>e.unfreeze()),L)t?.(U(a),i);else if(B){const e={type:"rrweb",event:U(a),origin:window.location.origin,isCheckout:i};window.parent.postMessage(e,"*")}if(a.type===Xf.FullSnapshot)z=a,Y=0;else if(a.type===Xf.IncrementalSnapshot){if(a.data.source===Gf.Mutation&&a.data.isAttachIframe)return;Y++;const e=r&&Y>=r,t=n&&z&&a.timestamp-z.timestamp>n;(e||t)&&ee(!0)}};const X=e=>{Vh({type:Xf.IncrementalSnapshot,data:{source:Gf.Mutation,...e}})},G=e=>Vh({type:Xf.IncrementalSnapshot,data:{source:Gf.Scroll,...e}}),q=e=>Vh({type:Xf.IncrementalSnapshot,data:{source:Gf.CanvasMutation,...e}}),J=new Fh({mutationCb:X,adoptedStyleSheetCb:e=>Vh({type:Xf.IncrementalSnapshot,data:{source:Gf.AdoptedStyleSheet,...e}})}),$="boolean"===typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new Oh:new Dh({mirror:Lh,mutationCb:X,stylesheetManager:J,recordCrossOriginIframes:T,wrappedEmit:Vh});for(const re of N||[])re.getMirror&&re.getMirror({nodeMirror:Lh,crossOriginIframeMirror:$.crossOriginIframeMirror,crossOriginIframeStyleMirror:$.crossOriginIframeStyleMirror});const K=new Mh,Z=function(e,t){try{return e?e(t):new ih}catch{return console.warn("Unable to initialize CanvasManager"),new ih}}(P,{mirror:Lh,win:window,mutationCb:e=>Vh({type:Xf.IncrementalSnapshot,data:{source:Gf.CanvasMutation,...e}}),recordCanvas:A,blockClass:i,blockSelector:a,unblockSelector:o,maxCanvasSize:w,sampling:S.canvas,dataURLOptions:x,errorHandler:M}),Q="boolean"===typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new Nh:new jh({mutationCb:X,scrollCb:G,bypassOptions:{onMutation:V,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:c,maskTextClass:u,unmaskTextClass:d,maskTextSelector:p,unmaskTextSelector:f,inlineStylesheet:h,maskInputOptions:H,dataURLOptions:x,maskAttributeFn:v,maskTextFn:_,maskInputFn:b,recordCanvas:A,inlineImages:D,sampling:S,slimDOMOptions:W,iframeManager:$,stylesheetManager:J,canvasManager:Z,keepIframeSrcFn:j,processedNodeManager:K,ignoreCSSAttributes:F},mirror:Lh}),ee=(e=!1)=>{if(!E)return;Vh({type:Xf.Meta,data:{href:window.location.href,width:Rf(),height:If()}},e),J.reset(),Q.init(),gh.forEach(e=>e.lock());const t=function(e,t){const{mirror:n=new Mp,blockClass:r="rr-block",blockSelector:i=null,unblockSelector:a=null,maskAllText:o=!1,maskTextClass:s="rr-mask",unmaskTextClass:l=null,maskTextSelector:c=null,unmaskTextSelector:u=null,inlineStylesheet:d=!0,inlineImages:p=!1,recordCanvas:f=!1,maskAllInputs:h=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOM:v=!1,dataURLOptions:b,preserveWhiteSpace:_,onSerialize:w,onIframeLoad:k,iframeLoadTimeout:S,onBlockedImageLoad:x,onStylesheetLoad:C,stylesheetLoadTimeout:E,keepIframeSrcFn:A=()=>!1,ignoreCSSAttributes:T=new Set([])}=t||{};return _f(e,{doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,maskAllText:o,maskTextClass:s,unmaskTextClass:l,maskTextSelector:c,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===h?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===h?{}:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:!0===v||"all"===v?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===v,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===v?{}:v,dataURLOptions:b,inlineImages:p,recordCanvas:f,preserveWhiteSpace:_,onSerialize:w,onIframeLoad:k,iframeLoadTimeout:S,onBlockedImageLoad:x,onStylesheetLoad:C,stylesheetLoadTimeout:E,keepIframeSrcFn:A,newlyAddedElement:!1,ignoreCSSAttributes:T})}(document,{mirror:Lh,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:c,maskTextClass:u,unmaskTextClass:d,maskTextSelector:p,unmaskTextSelector:f,inlineStylesheet:h,maskAllInputs:H,maskAttributeFn:v,maskInputFn:b,maskTextFn:_,slimDOM:W,dataURLOptions:x,recordCanvas:A,inlineImages:D,onSerialize:e=>{Mf(e,Lh)&&$.addIframe(e),Vf(e,Lh)&&J.trackLinkElement(e),Pf(e)&&Q.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{$.attachIframe(e,t);const n=oh(e);n&&Z.addWindow(n),Q.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{J.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{X({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})},keepIframeSrcFn:j,ignoreCSSAttributes:F});if(!t)return console.warn("Failed to snapshot the document");Vh({type:Xf.FullSnapshot,data:{node:t,initialOffset:Tf(window)}}
2),gh.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&J.adoptStyleSheets(document.adoptedStyleSheets,Lh.getId(document))};Ph=ee;try{const e=[],t=e=>eh(Ah)({onMutation:V,mutationCb:X,mousemoveCb:(e,t)=>Vh({type:Xf.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>Vh({type:Xf.IncrementalSnapshot,data:{source:Gf.MouseInteraction,...e}}),scrollCb:G,viewportResizeCb:e=>Vh({type:Xf.IncrementalSnapshot,data:{source:Gf.ViewportResize,...e}}),inputCb:e=>Vh({type:Xf.IncrementalSnapshot,data:{source:Gf.Input,...e}}),mediaInteractionCb:e=>Vh({type:Xf.IncrementalSnapshot,data:{source:Gf.MediaInteraction,...e}}),styleSheetRuleCb:e=>Vh({type:Xf.IncrementalSnapshot,data:{source:Gf.StyleSheetRule,...e}}),styleDeclarationCb:e=>Vh({type:Xf.IncrementalSnapshot,data:{source:Gf.StyleDeclaration,...e}}),canvasMutationCb:q,fontCb:e=>Vh({type:Xf.IncrementalSnapshot,data:{source:Gf.Font,...e}}),selectionCb:e=>{Vh({type:Xf.IncrementalSnapshot,data:{source:Gf.Selection,...e}})},customElementCb:e=>{Vh({type:Xf.IncrementalSnapshot,data:{source:Gf.CustomElement,...e}})},blockClass:i,ignoreClass:s,ignoreSelector:l,maskAllText:c,maskTextClass:u,unmaskTextClass:d,maskTextSelector:p,unmaskTextSelector:f,maskInputOptions:H,inlineStylesheet:h,sampling:S,recordDOM:E,recordCanvas:A,inlineImages:D,userTriggeredOnInput:R,collectFonts:O,doc:e,maskAttributeFn:v,maskInputFn:b,maskTextFn:_,keepIframeSrcFn:j,blockSelector:a,unblockSelector:o,slimDOMOptions:W,dataURLOptions:x,mirror:Lh,iframeManager:$,stylesheetManager:J,shadowDomManager:Q,processedNodeManager:K,canvasManager:Z,ignoreCSSAttributes:F,plugins:N?.filter(e=>e.observer)?.map(e=>({observer:e.observer,options:e.options,callback:t=>Vh({type:Xf.Plugin,data:{plugin:e.name,payload:t}})}))||[]},{});$.addLoadListener(n=>{try{e.push(t(n.contentDocument))}catch(r){console.warn(r)}});const n=()=>{ee(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(wf("DOMContentLoaded",()=>{Vh({type:Xf.DomContentLoaded,data:{}}),"DOMContentLoaded"===I&&n()})),e.push(wf("load",()=>{Vh({type:Xf.Load,data:{}}),"load"===I&&n()},window))),()=>{e.forEach(e=>e()),K.destroy(),Ph=void 0,Qf()}}catch(ne){console.warn(ne)}}var Hh,Wh;Bh.mirror=Lh,Bh.takeFullSnapshot=function(e){if(!Ph)throw new Error("please take full snapshot after start recording");Ph(e)},(Wh=Hh||(Hh={}))[Wh.NotStarted=0]="NotStarted",Wh[Wh.Running=1]="Running",Wh[Wh.Stopped=2]="Stopped";function zh(e){return e>9999999999?e:1e3*e}function Yh(e){return e>9999999999?e/1e3:e}function Uh(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:Xf.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:re(t,10,1e3)}}),"console"===t.category)))}function Xh(e){return e.closest("button,a")||e}function Gh(e){const t=qh(e);return t&&t instanceof Element?Xh(t):t}function qh(e){return function(e){return"object"===typeof e&&!!e&&"target"in e}(e)?e.target:e}let Jh;function $h(e){return Jh||(Jh=[],D(kp,"open",function(e){return function(...t){if(Jh)try{Jh.forEach(e=>e())}catch{}return e.apply(kp,t)}})),Jh.push(e),()=>{const t=Jh?Jh.indexOf(e):-1;t>-1&&Jh.splice(t,1)}}const Kh=new Set([Gf.Mutation,Gf.StyleSheetRule,Gf.StyleDeclaration,Gf.AdoptedStyleSheet,Gf.CanvasMutation,Gf.Selection,Gf.MediaInteraction]);class Zh{constructor(e,t,n=Uh){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scrollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){const e=$h(()=>{this._lastMutation=em()});this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){if(function(e,t){if(!Qh.includes(e.tagName))return!0;if("INPUT"===e.tagName&&!["submit","button"].includes(e.getAttribute("type")||""))return!0;
2if("A"===e.tagName&&(e.hasAttribute("download")||e.hasAttribute("target")&&"_self"!==e.getAttribute("target")))return!0;if(t&&e.matches(t))return!0;return!1}(t,this._ignoreSelector)||!function(e){return!(!e.data||"number"!==typeof e.data.nodeId||!e.timestamp)}(e))return;const n={timestamp:Yh(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===n.node&&Math.abs(e.timestamp-n.timestamp)<1)||(this._clicks.push(n),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=Yh(e)}registerScroll(e=Date.now()){this._lastScroll=Yh(e)}registerClick(e){const t=Xh(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){const e=[],t=em();this._clicks.forEach(n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)});for(const n of e){const e=this._clicks.indexOf(n);e>-1&&(this._generateBreadcrumbs(n),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){const t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scrollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,i=!n&&!r,{clickCount:a,clickBreadcrumb:o}=e;if(i){const n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",i={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.slowClickDetected",data:{...o.data,url:kp.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:a||1}};return void this._addBreadcrumbEvent(t,i)}if(a>1){const e={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.multiClick",data:{...o.data,url:kp.location.href,route:t.getCurrentRoute(),clickCount:a,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=cd(()=>this._checkClicks(),1e3)}}const Qh=["A","BUTTON","INPUT"];function em(){return Date.now()/1e3}function tm(e,t){try{if(!function(e){return 3===e.type}(t))return;const{source:n}=t.data;if(Kh.has(n)&&e.registerMutation(t.timestamp),n===Gf.Scroll&&e.registerScroll(t.timestamp),function(e){return e.data.source===Gf.MouseInteraction}(t)){const{type:n,id:r}=t.data,i=Bh.mirror.getNode(r);i instanceof HTMLElement&&n===qf.Click&&e.registerClick(i)}}catch{}}function nm(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var rm=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(rm||{});const im=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function am(e){const t={};!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]);for(const n in e)if(im.has(n)){let r=n;"data-testid"!==n&&"data-test-id"!==n||(r="testId"),t[r]=e[n]}return t}const om=e=>t=>{if(!e.isEnabled())return;const n=function(e){const{target:t,message:n}=function(e){const t="click"===e.name;let n,r=null;try{r=t?Gh(e.event):qh(e.event),n=pd(r,{maxStringLength:200})||"<unknown>"}catch{n="<unknown>"}return{target:r,message:n}}(e);return nm({category:`ui.${e.name}`,...sm(t,n)})}(t);if(!n)return;const r="click"===t.name,i=r?t.event:void 0;var a,o,s;!(r&&e.clickDetector&&i?.target)||i.altKey||i.metaKey||i.ctrlKey||i.shiftKey||(a=e.clickDetector,o=n,s=Gh(t.event),a.handleClick(o,s)),Uh(e,n)};function sm(e,t){const n=Bh.mirror.getId(e),r=n&&Bh.mirror.getNode(n),i=r&&Bh.mirror.getMeta(r),a=i&&function(e){return e.type===rm.Element}(i)?i:null;return{message:t,data:a?{nodeId:n,node:{id:n,tagName:a.tagName,textContent:Array.from(a.childNodes).map(e=>e.type===rm.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:am(a.attributes)}}:{}}}function lm(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=function(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:a,target:o}=e;if(!o||function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.
2isContentEditable}(o)||!a)return null;const s=t||r||i,l=1===a.length;if(!s&&l)return null;const c=pd(o,{maxStringLength:200})||"<unknown>",u=sm(o,c);return nm({category:"ui.keyDown",message:c,data:{...u.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:a}})}(t);n&&Uh(e,n)}const cm={resource:function(e){const{entryType:t,initiatorType:n,name:r,responseEnd:i,startTime:a,decodedBodySize:o,encodedBodySize:s,responseStatus:l,transferSize:c}=e;if(["fetch","xmlhttprequest"].includes(n))return null;return{type:`${t}.${n}`,start:pm(a),end:pm(i),name:r,data:{size:c,statusCode:l,decodedBodySize:o,encodedBodySize:s}}},paint:function(e){const{duration:t,entryType:n,name:r,startTime:i}=e,a=pm(i);return{type:n,name:r,start:a,end:a+t,data:void 0}},navigation:function(e){const{entryType:t,name:n,decodedBodySize:r,duration:i,domComplete:a,encodedBodySize:o,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,domInteractive:c,loadEventStart:u,loadEventEnd:d,redirectCount:p,startTime:f,transferSize:h,type:m}=e;if(0===i)return null;return{type:`${t}.${m}`,start:pm(f),end:pm(a),name:n,data:{size:h,decodedBodySize:r,encodedBodySize:o,duration:i,domInteractive:c,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,loadEventStart:u,loadEventEnd:d,domComplete:a,redirectCount:p}}}};function um(e,t){return({metric:n})=>{t.replayPerformanceEntries.push(e(n))}}function dm(e){const t=cm[e.entryType];return t?t(e):null}function pm(e){return((we()||kp.performance.timeOrigin)+e)/1e3}function fm(e){const t=e.entries[e.entries.length-1];return ym(e,"largest-contentful-paint",t?.element?[t.element]:void 0)}function hm(e){return void 0!==e.sources}function mm(e){const t=[],n=[];for(const r of e.entries)if(hm(r)){const e=[];for(const t of r.sources)if(t.node){n.push(t.node);const r=Bh.mirror.getId(t.node);r&&e.push(r)}t.push({value:r.value,nodeIds:e.length?e:void 0})}return ym(e,"cumulative-layout-shift",n,t)}function gm(e){const t=e.entries[e.entries.length-1];return ym(e,"interaction-to-next-paint",t?.target?[t.target]:void 0)}function ym(e,t,n,r){const i=e.value,a=e.rating,o=pm(i);return{type:"web-vital",name:t,start:o,end:o,data:{value:i,size:i,rating:a,nodeIds:n?n.map(e=>Bh.mirror.getId(e)):void 0,attributions:r}}}function vm(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}const r=[];return["navigation","paint","resource"].forEach(e=>{r.push(Kd(e,n))}),r.push(function(e,t=!1){return np("lcp",e,ep,Jd,t)}(um(fm,e)),function(e,t=!1){return np("cls",e,Qd,qd,t)}(um(mm,e)),np("inp",um(gm,e),tp,$d)),()=>{r.forEach(e=>e())}}const bm="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;const _m=["log","warn","error"],wm="[Replay] ";function km(e,t="info"){Ke({category:"console",data:{logger:"replay"},level:t,message:`${wm}${e}`},{level:t})}const Sm=function(){let e=!1,t=!1;const n={exception:()=>{},infoTick:()=>{},setConfig:n=>{e=!!n.captureExceptions,t=!!n.traceInternals}};return bm?(_m.forEach(e=>{n[e]=(...n)=>{v[e](wm,...n),t&&km(n.join(""),fl(e))}}),n.exception=(r,...i)=>{i.length&&n.error&&n.error(...i),v.error(wm,r),e?Or(r,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):t&&km(r,"error")},n.infoTick=(...e)=>{v.log(wm,...e),t&&setTimeout(()=>km(e[0]),0)}):_m.forEach(e=>{n[e]=()=>{}}),n}();class xm extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class Cm{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){const t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>Ap)throw new xm;this.events.push(e)}finish(){return new Promise(e=>{const t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=null;for(const{timestamp:t}of this.events)(null===e||t<e)&&(e=t);return null===e?e:zh(e)}}class Em{constructor(e){this._onMessage=({data:e})=>{const t=e;if("number"!==typeof t.id)return;const n=this._pending.get(t.id);
2if(n&&n.method===t.method){if(this._pending.delete(t.id),!t.success)return bm&&Sm.error("Error in compression worker: ",t.response),void n.reject(new Error("Error in compression worker"));n.resolve(t.response)}},this._worker=e,this._id=0,this._pending=new Map,this._worker.addEventListener("message",this._onMessage)}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,t)=>{this._worker.addEventListener("message",({data:n})=>{n.success?e():(bm&&Sm.warn("Received worker message with unsuccessful status",n),t(new Error("Received worker message with unsuccessful status")))},{once:!0}),this._worker.addEventListener("error",e=>{bm&&Sm.warn("Failed to load Replay compression worker",e),t(new Error(`Failed to load Replay compression worker: ${e instanceof ErrorEvent&&e.message?e.message:"Unknown error. This can happen due to CSP policy restrictions, network issues, or the worker script failing to load."}`))},{once:!0})})),this._ensureReadyPromise}destroy(){bm&&Sm.log("Destroying compression worker"),this._worker.removeEventListener("message",this._onMessage),this._pending.forEach(e=>e.reject(new Error("Worker destroyed"))),this._pending.clear(),this._worker.terminate()}postMessage(e,t){const n=this._getAndIncrementId();return new Promise((r,i)=>{this._pending.set(n,{method:e,resolve:r,reject:i});try{this._worker.postMessage({id:n,method:e,arg:t})}catch(a){this._pending.delete(n),i(a)}})}_getAndIncrementId(){return this._id++}}class Am{constructor(e){this._worker=new Em(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){const t=zh(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);const n=JSON.stringify(e);return this._totalSize+=n.length,this._totalSize>Ap?Promise.reject(new xm):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{bm&&Sm.exception(e,'Sending "clear" message to worker failed',e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){const e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class Tm{constructor(e){this._fallback=new Cm,this._compression=new Am(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}set waitForCheckout(e){this._used.waitForCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return void(bm&&Sm.exception(e,"Failed to load the compression worker, falling back to simple buffer"))}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e,hasCheckout:t,waitForCheckout:n}=this._fallback,r=[];for(const a of e)r.push(this._compression.addEvent(a));this._compression.hasCheckout=t,this._compression.waitForCheckout=n,this._used=this._compression;try{await Promise.all(r),this._fallback.clear()}catch(i){bm&&Sm.exception(i,"Failed to add events when switching buffers.")}}}function Im({useCompression:e,workerUrl:t}){if(e&&window.Worker){const e=function(e){try{const t=e||function(){if("undefined"===typeof __SENTRY_EXCLUDE_REPLAY_WORKER__||!__SENTRY_EXCLUDE_REPLAY_WORKER__)return function(){const e=new Blob(['
vendor: 10,329 bytes, line 2
2var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});
2']);return URL.createObjectURL(e)}();return""}();if(!t)return;bm&&Sm.log("Using compression worker"+(e?` from ${e}`:""));const n=new Worker(t);return new Tm(n)}catch(t){bm&&Sm.exception(t,"Failed to create compression worker")}}(t);if(e)return e}return bm&&Sm.log("Using simple buffer"),new Cm}function Rm(){try{return"sessionStorage"in kp&&!!kp.sessionStorage}catch{return!1}}function Om(e){!function(){if(!Rm())return;try{kp.sessionStorage.removeItem(Sp)}catch{}}(),e.session=void 0}function Dm(e){return void 0!==e&&Math.random()<e}function Nm(e){if(Rm())try{kp.sessionStorage.setItem(Sp,JSON.stringify(e))}catch{}}function jm(e){const t=Date.now();return{id:e.id||de(),started:e.started||t,lastActivity:e.lastActivity||t,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId,dirty:e.dirty||!1}}function Fm({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const i=function(e,t){return Dm(e)?"session":!!t&&"buffer"}(e,t),a=jm({sampled:i,previousSessionId:r});return n&&Nm(a),a}function Mm(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function Vm(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!!function(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return Mm(e.started,t,r)||Mm(e.lastActivity,n,r)}(e,{sessionIdleExpire:t,maxReplayDuration:n})&&("buffer"!==e.sampled||0!==e.segmentId)}function Pm({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){const i=r.stickySession&&function(){if(!Rm())return null;try{const e=kp.sessionStorage.getItem(Sp);if(!e)return null;const t=JSON.parse(e);return bm&&Sm.infoTick("Loading existing session"),jm(t)}catch{return null}}();return i?Vm(i,{sessionIdleExpire:e,maxReplayDuration:t})?(bm&&Sm.infoTick("Session in sessionStorage is expired, creating new one..."),Fm(r,{previousSessionId:i.id})):i:(bm&&Sm.infoTick("Creating new session"),Fm(r,{previousSessionId:n}))}function Lm(e,t,n){return!!Hm(e,t)&&(Bm(e,t,n),!0)}async function Bm(e,t,n){const{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;const i="buffer"===e.recordingMode;try{n&&i&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);const a=function(e,t){try{if("function"===typeof t&&function(e){return e.type===Xf.Custom}(e))return t(e)}catch(n){return bm&&Sm.exception(n,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}(t,e.getOptions().beforeAddRecordingEvent);if(!a)return;return await r.addEvent(a)}catch(a){const t=a&&a instanceof xm,n=t?"eventBufferOverflow":"eventBufferError",o=qe();if(o){const e=t?"buffer_overflow":"internal_sdk_error";o.recordDroppedEvent(e,"replay")}if(t&&i)return r.clear(),r.waitForCheckout=!0,null;e.handleException(a),await e.stop({reason:n})}}function Hm(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=zh(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now())&&(!(n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(bm&&Sm.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1))}function Wm(e,t,n){const r=e.getContext();t&&r.traceIds.size<100&&r.traceIds.add(t),n&&r.segmentNames.size<100&&r.segmentNames.add(n)}function zm(e){return!e.type}function Ym(e){return"transaction"===e.type}function Um(e){return"feedback"===e.type}function Xm(e){return(t,n)=>{if(!e.isEnabled()||!zm(t)&&!Ym(t))return;const r=n.statusCode;!r||r<200||r>=300||(Ym(t)?function(e,t){Wm(e,t.contexts?.trace?.trace_id,t.transaction)}(e,t):function(e,t){const n=e.getContext();t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id);if("buffer"!==e.recordingMode||!t.tags?.replayId)return;const{beforeErrorSampling:r}=e.getOptions();if("function"===typeof r&&!r(t))return;cd(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(yx){e.handleException(yx)}})}(e,t))}}function Gm(e){return t=>{e.isEnabled()&&zm(t)&&function(e,t){const n=t.exception?.values?.[0]?.value;if("string"!==typeof n)return;if(n.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i)){Uh(e,nm({category:"replay.hydrate-error",data:{url:vo()}}))}}(e,t)}}function qm(e){const t=qe();t&&t.on("beforeAddBreadcrumb",t=>function(e,t){if(!e.isEnabled()||!Jm(t))return;const n=function(e){if(!Jm(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui."))return null;if("console"===e.category)return function(e){const t=e.data?.arguments;if(!Array.isArray(t)||0===t.length)return nm(e);let n=!1;const r=t.map(e=>{if(!e)return e;if("string"===typeof e)return e.length>Ep?(n=!0,`${e.slice(0,Ep)}\u2026`):e;if("object"===typeof e)try{const t=re(e,7);return JSON.stringify(t).length>Ep?(n=!0,`${JSON.stringify(t,null,2).slice(0,Ep)}\u2026`):t}catch{}return e});return nm({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(e);return nm(e)}(t);n&&Uh(e,n)}(e,t))}function Jm(e){return!!e.category}function $m(){const e=Ye().getPropagationContext().dsc;e&&delete e.replay_id;const t=wn();if(t){delete Dn(t).replay_id}}function Km(e){const t=Ye().getPropagationContext().dsc;t&&(t.replay_id=e);const n=wn();if(n){Dn(n).replay_id=e}}function Zm(e){return Object.assign((t,n)=>{if(e.session&&Vm(e.session,{maxReplayDuration:e.getOptions().maxReplayDuration,sessionIdleExpire:e.timeouts.sessionIdleExpire}
2)&&$m(),!e.isEnabled()||e.isPaused())return t;if(function(e){return"replay_event"===e.type}(t))return delete t.breadcrumbs,t;if(!zm(t)&&!Ym(t)&&!Um(t))return t;if(!e.checkAndHandleExpiredSession())return $m(),t;if(Um(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),function(e,t){e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:Xf.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1))}(e,t),t;if(function(e,t){return!(e.type||!e.exception?.values?.length)&&!!t.originalException?.__rrweb__}(t,n)&&!e.getOptions()._experiments.captureExceptions)return bm&&Sm.log("Ignoring error from rrweb internals",t),null;const r=function(e,t){return"buffer"===e.recordingMode&&t.message!==xp&&!(!t.exception||t.type)&&Dm(e.getOptions().errorSampleRate)}(e,t);if((r||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),r&&"buffer"===e.recordingMode&&"buffer"===e.session?.sampled){const t=e.session;t.dirty=!0,e.getOptions().stickySession&&Nm(t)}return t},{id:"Replay"})}function Qm(e,t){return t.map(({type:t,start:n,end:r,name:i,data:a})=>{const o=e.throttledAddEvent({type:Xf.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:i,startTimestamp:n,endTimestamp:r,data:a}}});return"string"===typeof o?Promise.resolve(null):o})}function eg(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(Qm(e,[n]),!1)))}}function tg(e,t){e.isEnabled()&&null!==t&&(function(e,t){return(!bm||!e.getOptions()._experiments.traceInternals)&&$u(t,qe())}(e,t.name)||e.addUpdate(()=>(Qm(e,[t]),!0)))}function ng(e){if(!e)return;const t=new TextEncoder;try{if("string"===typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=op(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function rg(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function ig(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function ag(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:i,method:a,statusCode:o,request:s,response:l}=t;return{type:e,start:n/1e3,end:r/1e3,name:i,data:{method:a,statusCode:o,request:s,response:l}}}function og(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function sg(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:i,warnings:a}=function(e){if(!e||"string"!==typeof e)return{body:e};const t=e.length>Cp,n=function(e){const t=e[0],n=e[e.length-1];return"["===t&&"]"===n||"{"===t&&"}"===n}(e);if(t){const t=e.slice(0,Cp);return n?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}\u2026`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch{}return{body:e}}(n);return r.body=i,a?.length&&(r._meta={warnings:a}),r}function lg(e,t){return Object.entries(e).reduce((n,[r,i])=>{const a=r.toLowerCase();return t.includes(a)&&e[r]&&(n[a]=i),n},{})}function cg(e,t){const n=function(e,t=kp.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(kp.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;if(!e.endsWith("/")&&r.endsWith("/"))return r.slice(0,-1);return r}(e);return ue(n,t)}async function ug(e,t,n){try{const r=await async function(e,t,n){const r=Date.now(),{startTimestamp:i=r,endTimestamp:a=r}=t,{url:o,method:s,status_code:l=0,request_body_size:c,response_body_size:u}=e.data,d=cg(o,n.networkDetailAllowUrls)&&!cg(o,n.networkDetailDenyUrls),p=d?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const i=n?function(e,t){if(1===e.length&&"string"!==typeof e[0])return pg(e[0],t);
2if(2===e.length)return pg(e[1],t);return{}}(n,t):{};if(!e)return sg(i,r,void 0);const a=lp(n),[o,s]=sp(a,Sm),l=sg(i,r,o);if(s)return ig(l,s);return l}(n,t.input,c):og(c),f=await async function(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,i){if(!e&&void 0!==i)return og(i);const a=r?dg(r.headers,n):{};if(!r||!t&&void 0!==i)return sg(a,i,void 0);const[o,s]=await async function(e){const t=function(e){try{return e.clone()}catch(t){bm&&Sm.exception(t,"Failed to clone response body")}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{const e=await function(e){return new Promise((t,n)=>{const r=cd(()=>n(new Error("Timeout while trying to read response body")),500);(async function(e){return await e.text()})(e).then(e=>t(e),e=>n(e)).finally(()=>clearTimeout(r))})}(t);return[e]}catch(n){return n instanceof Error&&n.message.indexOf("Timeout")>-1?(bm&&Sm.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):(bm&&Sm.exception(n,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"])}}(r),l=function(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:i}){try{const a=e?.length&&void 0===n?ng(e):n;return r?sg(i,a,t?e:void 0):og(a)}catch(a){return bm&&Sm.exception(a,"Failed to serialize response body"),sg(i,n,void 0)}}(o,{networkCaptureBodies:t,responseBodySize:i,captureDetails:e,headers:a});if(s)return ig(l,s);return l}(d,n,t.response,u);return{startTimestamp:i,endTimestamp:a,url:o,method:s,statusCode:l,request:p,response:f}}(e,t,n),i=ag("resource.fetch",r);tg(n.replay,i)}catch(r){bm&&Sm.exception(r,"Failed to capture fetch breadcrumb")}}function dg(e,t){const n={};return t.forEach(t=>{e.get(t)&&(n[t]=e.get(t))}),n}function pg(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?dg(n,t):Array.isArray(n)?{}:lg(n,t):{}}async function fg(t,n,r){try{const i=function(t,n,r){const i=Date.now(),{startTimestamp:a=i,endTimestamp:o=i,input:s,xhr:l}=n,{url:c,method:u,status_code:d=0,request_body_size:p,response_body_size:f}=t.data;if(!c)return null;if(!l||!cg(c,r.networkDetailAllowUrls)||cg(c,r.networkDetailDenyUrls)){return{startTimestamp:a,endTimestamp:o,url:c,method:u,statusCode:d,request:og(p),response:og(f)}}const h=l[up],m=h?lg(h.request_headers,r.networkRequestHeaders):{},g=lg(cp(l),r.networkResponseHeaders),[y,v]=r.networkCaptureBodies?sp(s,Sm):[void 0],[b,_]=r.networkCaptureBodies?function(t){const n=[];try{return[t.responseText]}catch(e){n.push(e)}try{return function(e,t){try{if("string"===typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===t&&e&&"object"===typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(n){return bm&&Sm.exception(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return bm&&Sm.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}(t.response,t.responseType)}catch(e){n.push(e)}return bm&&Sm.warn("Failed to get xhr response body",...n),[void 0]}(l):[void 0],w=sg(m,p,y),k=sg(g,f,b);return{startTimestamp:a,endTimestamp:o,url:c,method:u,statusCode:d,request:v?ig(w,v):w,response:_?ig(k,_):k}}(t,n,r),a=ag("resource.xhr",i);tg(r.replay,a)}catch(i){bm&&Sm.exception(i,"Failed to capture xhr breadcrumb")}}function hg(e,t){const{xhr:n,input:r}=t;if(!n)return;const i=ng(r),a=n.getResponseHeader("content-length")?rg(n.getResponseHeader("content-length")):function(e,t){try{return ng("json"===t&&e&&"object"===typeof e?JSON.stringify(e):e)}catch{return}}(n.response,n.responseType);void 0!==i&&(e.data.request_body_size=i),void 0!==a&&(e.data.response_body_size=a)}function mg(t){const n=qe();try{const{networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:a,networkRequestHeaders:o,networkResponseHeaders:s}=t.getOptions(),l={replay:t,networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:a,networkRequestHeaders:o,networkResponseHeaders:s};n&&n.on("beforeAddBreadcrumb",(t,n)=>function(t,n,r){if(!n.data)return;try{(function(e){return"xhr"===e.category})(n)&&function(e){return e?.xhr}(r)&&(hg(n,r),fg(n,r,t)),function(e){return"fetch"===e.category}(n)&&function(e){return void 0!==e?.input}(r)&&(!function(e,t){const{input:n,response:r}=t,i=ng(n?lp(n):void 0),a=r?rg(r.headers.get("content-length")):void 0;void 0!==i&&(e.data.request_body_size=i),void 0!==a&&(e.data.response_body_size=a
2)}(n,r),ug(n,r,t))}catch(e){bm&&Sm.exception(e,"Error when enriching network breadcrumb")}}(l,t,n))}catch{}}function gg(e){const t=qe();yp(om(e)),_p(eg(e)),qm(e),mg(e);zr(Zm(e)),t&&(t.on("beforeSendEvent",Gm(e)),t.on("afterSendEvent",Xm(e)),t.on("createDsc",t=>{const n=e.getSessionId();if(n&&e.isEnabled()&&"session"===e.recordingMode){e.checkAndHandleExpiredSession()&&(t.replay_id=n)}}),t.on("processSegmentSpan",function(e){return t=>{e.isEnabled()&&Wm(e,t.trace_id,t.name||void 0)}}(e)),t.on("spanStart",t=>{e.lastActiveSpan=t}),t.on("spanEnd",t=>{e.lastActiveSpan=t}),t.on("beforeSendFeedback",async(t,n)=>{const r=e.getSessionId();n?.includeReplay&&e.isEnabled()&&r&&t.contexts?.feedback&&("api"===t.contexts.feedback.source&&await e.sendBufferedReplayOrFlush(),t.contexts.feedback.replay_id=r)}),t.on("openFeedbackWidget",async()=>{await e.sendBufferedReplayOrFlush()}))}function yg(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function vg(e,t,n){return function(e,t,n){let r,i,a;const o=n?.maxWait?Math.max(n.maxWait,t):0,s=n?.setTimeoutImpl||setTimeout;function l(){return c(),r=e(),r}function c(){void 0!==i&&clearTimeout(i),void 0!==a&&clearTimeout(a),i=a=void 0}function u(){return i&&clearTimeout(i),i=s(l,t),o&&void 0===a&&(a=s(l,o)),r}return u.cancel=c,u.flush=function(){return void 0!==i||void 0!==a?l():r},u}(e,t,{...n,setTimeoutImpl:cd})}const bg=s.navigator;function _g(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession())return void(bm&&Sm.warn("Received replay event after session expired."));const i=r||!t;t=!0,function(e){const t=e.data;if(e.type!==Xf.IncrementalSnapshot||!t||"object"!==typeof t||!("source"in t)||t.source!==Gf.Mutation||!("attributes"in t)||!Array.isArray(t.attributes))return;for(const n of t.attributes){const e=Bh.mirror.getNode(n.id),t=e&&Bh.mirror.getMeta(e);if(t?.type===rm.Element)for(const[r,i]of Object.entries(n.attributes))null===i?delete t.attributes[r]:t.attributes[r]=i}}(n),e.clickDetector&&tm(e.clickDetector,n),e.addUpdate(()=>{if("buffer"===e.recordingMode&&i&&e.setInitialState(),!Lm(e,n,i))return!0;if(!i)return!1;const t=e.session;if(function(e,t){if(!t||0!==e.session?.segmentId)return;Lm(e,function(e){const t=e.getOptions();return{type:Xf.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}(e),!1)}(e,i),"buffer"===e.recordingMode&&t&&e.eventBuffer&&!t.dirty){const n=e.eventBuffer.getEarliestTimestamp();n&&(bm&&Sm.log(`Updating session start time to earliest event in buffer to ${new Date(n)}`),t.started=n,e.getOptions().stickySession&&Nm(t))}return t?.previousSessionId||"session"===e.recordingMode&&e.flush(),!0})}}async function wg({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:i,session:a}){const o=function({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}\n`;if("string"===typeof e)n=`${r}${e}`;else{const t=(new TextEncoder).encode(r);n=new Uint8Array(t.length+e.length),n.set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:s,errorIds:l,traceIds:c,segmentNames:u,initialTimestamp:d}=r,p=qe(),f=Ye(),h=p?.getTransport(),m=p?.getDsn();if(!p||!h||!m||!a.sampled)return Promise.resolve({});const g={type:"replay_event",replay_start_timestamp:d/1e3,timestamp:i/1e3,error_ids:l,trace_ids:c,segment_names:u,urls:s,replay_id:t,segment_id:n,replay_type:a.sampled},y=await async function({client:e,scope:t,replayId:n,event:r}){const i={event_id:n,integrations:"object"!==typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",r,i);const a=await Tr(e.getOptions(),r,i,t,e,Ue());if(!a)return null;e.emit("postprocessEvent",a,i),a.platform=a.platform||"javascript";
2const o=e.getSdkMetadata(),{name:s,version:l,settings:c}=o?.sdk||{};return a.sdk={...a.sdk,name:s||"sentry.javascript.unknown",version:l||"0.0.0",settings:c},a}({scope:f,client:p,replayId:t,event:g});if(!y)return p.recordDroppedEvent("event_processor","replay"),bm&&Sm.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete y.sdkProcessingMetadata;const v=function(e,t,n,r){return jn(Yn(e,zn(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:"string"===typeof t?(new TextEncoder).encode(t).length:t.length},t]])}(y,o,m,p.getOptions().tunnel);let b;try{b=await h.send(v)}catch(yx){const t=new Error(xp);try{t.cause=yx}catch{}throw t}const _=Qu({},b);if(Zu(_,"replay"))throw new Sg(_);if("number"===typeof b.statusCode&&(b.statusCode<200||b.statusCode>=300))throw new kg(b.statusCode);return b}class kg extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class Sg extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}class xg extends Error{constructor(){super("Session is too long, not sending replay")}}async function Cg(e,t={count:0,interval:5e3}){const{recordingData:n,onError:r}=e;if(n.length)try{return await wg(e),!0}catch(yx){if(yx instanceof kg||yx instanceof Sg)throw yx;if(jr("Replays",{_retryCount:t.count}),r&&r(yx),t.count>=3){const e=new Error(`${xp} - max retries exceeded`);try{e.cause=yx}catch{}throw e}return t.interval*=++t.count,new Promise((n,r)=>{cd(async()=>{try{await Cg(e,t),n(!0)}catch(i){r(i)}},t.interval)})}}const Eg="__THROTTLED";function Ag(e,t,n){const r=new Map;let i=!1;return(...a)=>{const o=Math.floor(Date.now()/1e3);if((e=>{const t=e-n;r.forEach((e,n)=>{n<t&&r.delete(n)})})(o),[...r.values()].reduce((e,t)=>e+t,0)>=t){const e=i;return i=!0,e?"__SKIPPED":Eg}i=!1;const s=r.get(o)||0;return r.set(o,s+1),e(...a)}}class Tg{constructor({options:e,recordingOptions:t}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,segmentNames:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=vg(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=Ag((e,t)=>function(e,t,n){return Hm(e,t)?Bm(e,t,n):Promise.resolve(null)}(this,e,t),300,5);const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),i=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;if(i&&(this.clickDetector=new Zh(this,i)),bm){const t=e._experiments;Sm.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}this._handleVisibilityChange=()=>{"visible"===kp.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{const e=nm({category:"ui.blur"});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{const e=nm({category:"ui.focus"});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{lm(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return Boolean(this._canvas)}getOptions(){return this._options}handleException(e){bm&&Sm.exception(e),this._options.onError&&this._options.onError(e)}initializeSampling(e){const{errorSampleRate:t,sessionSampleRate:n}=this._options,r=t<=0&&n<=0;this._requiresManualStart=r,r||(this._initializeSessionForSampling(e),this.session?!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",bm&&Sm.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording()):bm&&Sm.exception(new Error("Unable to initialize and create session")))}start(){if(this._isEnabled&&"session"===this.recordingMode)return void(bm&&Sm.log("Recording is already in progress"));if(this._isEnabled&&"buffer"===this.recordingMode)return void(bm&&Sm.log("Buffering is in progress, call `flush()` to save the replay"));bm&&Sm.infoTick("Starting replay in session mode"),this._updateUserActivity();const e=Pm({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this.recordingMode="session",this._initializeRecording()}
2startBuffering(){if(this._isEnabled)return void(bm&&Sm.log("Buffering is in progress, call `flush()` to save the replay"));bm&&Sm.infoTick("Starting replay in buffer mode");const e=Pm({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const e=this._canvas;this._stopRecording=Bh({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:_g(this),.../iPhone|iPad|iPod/i.test(bg?.userAgent??"")||/Macintosh/i.test(bg?.userAgent??"")&&bg?.maxTouchPoints&&bg?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{},onMutation:this._onMutationHandler.bind(this),...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(yx){this.handleException(yx)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(yx){return this.handleException(yx),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(!this._isEnabled)return;this._isEnabled=!1,this.recordingMode="buffer";const n=t??"manual";qe()?.emit("replayEnd",{sessionId:this.session?.id,reason:n});try{bm&&Sm.log(`Stopping Replay triggered by ${n}`),$m(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,Om(this)}catch(yx){this.handleException(yx)}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),bm&&Sm.log("Pausing replay"))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),bm&&Sm.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();const t=Date.now();bm&&Sm.log("Converting buffer to session"),await this.flushImmediate();const n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this.session.dirty=!1,this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession(),Km(this.session.id)),this.startRecording())}addUpdate(e){const t=e();"buffer"!==this.recordingMode&&this._isEnabled&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._checkSession())return;this.resume()}}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(e){if(!e||!1!==this.session?.sampled)return this.session?.id}checkAndHandleExpiredSession(){if(!this._lastActivity||!Mm(this._lastActivity,this.timeouts.sessionIdlePause)||"session"!==this.session?.sampled)return!!this._checkSession();this.pause()}setInitialState(){const e=`${kp.location.pathname}${kp.location.hash}${kp.location.search}`,t=`${kp.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){const n=this._throttledAddEvent(e,t);if(n===Eg){const e=nm({category:"replay.throttled"});this.addUpdate(()=>!Lm(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return n}getCurrentRoute(){const e=this.lastActiveSpan||wn(),t=e&&bn(e),n=(t&&on(t).data||{})[rt];if(t&&n&&["route","custom"].includes(n))return on(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=Im({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.session&&qe()?.emit("replayStart",{sessionId:this.session.id,recordingMode:this.recordingMode}),this.startRecording(),"session"===this.recordingMode&&this.session&&Km(this.session.id)}_initializeSessionForSampling(e){const t=this._options.errorSampleRate>0,n=Pm({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;const e=this.session;return!Vm(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"sessionExpired"}),this.initializeSampling(e.id))}_addListeners(){try{kp.document.addEventListener("visibilitychange",this._handleVisibilityChange),kp.addEventListener("blur",this._handleWindowBlur),kp.addEventListener("focus",this._handleWindowFocus),kp.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(gg(this),this._hasInitializedCoreListeners=!0)}catch(yx){this.handleException(yx)}this._performanceCleanupCallback=vm(this)}_removeListeners(){try{kp.document.removeEventListener("visibilitychange",this._handleVisibilityChange),kp.removeEventListener("blur",this._handleWindowBlur),kp.removeEventListener("focus",this._handleWindowFocus),kp.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(yx){this.handleException(yx)}}
2_doChangeToBackgroundTasks(e){if(!this.session)return;Vm(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})?$m():(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){if(!this.session)return;this.checkAndHandleExpiredSession()?e&&this._createCustomBreadcrumb(e):bm&&Sm.log("Document has become active, but session has expired")}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:Xf.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=(t=this.performanceEntries,t.map(dm).filter(Boolean)).concat(this.replayPerformanceEntries);var t;if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){const t=this._context.initialTimestamp/1e3;e=e.filter(e=>e.start>=t)}return Promise.all(Qm(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.segmentNames.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart)return;if(e.segmentId)return;const n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){const e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),segmentNames:Array.from(this._context.segmentNames),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){const e=this.getSessionId();if(this.session&&this.eventBuffer&&e){if(await this._addPerformanceEntries(),this.eventBuffer?.hasEvents&&(await async function(e){try{return Promise.all(Qm(e,[yg(kp.performance.memory)]))}catch{return[]}}(this),this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new xg;const n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();const i=await this.eventBuffer.finish();await Cg({replayId:e,recordingData:i,segmentId:r,eventContext:n,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(yx){this.handleException(yx),this.stop({reason:"sendError"});const t=qe();if(t){let n;n=yx instanceof Sg?"ratelimit_backoff":yx instanceof xg?"invalid":"send_error",t.recordDroppedEvent(n,"replay")}}}else bm&&Sm.error("No session or eventBuffer found to flush.")}async _flush({force:e=!1}={}){if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession())return void(bm&&Sm.error("Attempting to finish replay event after session expired."));if(!this.session)return;const t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();const r=n<this._options.minReplayDuration,i=n>this._options.maxReplayDuration+5e3;if(r||i)return bm&&Sm.log(`Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`),void(r&&this._debouncedFlush());const a=this.eventBuffer;a&&0===this.session.segmentId&&!a.hasCheckout&&bm&&Sm.log("Flushing initial segment without checkout.");const o=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(yx){this.handleException(yx)}finally{this._flushLock=void 0,o&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&Nm(this.session)}_onMutationHandler(e){const{ignoreMutations:t}=this._options._experiments;if(t?.length&&e.some(e=>{const n=function(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}(e.target),r=t.join(",");return n?.matches(r)}))return!1;const n=e.length,r=this._options.mutationLimit,i=r&&n>r;if(n>this._options.mutationBreadcrumbLimit||i){const e=nm({category:"replay.mutations",data:{count:n,limit:i}});this._createCustomBreadcrumb(e)}return!i||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}function Ig(e,t){return[...e,...t].join(",")}const Rg='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',Og=["content-length","content-type","accept"],Dg=Symbol.for("sentry__originalRequestBody");let Ng=!1,jg=!1;class Fg{constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:i=!0,useCompression:a=!0,workerUrl:o,_experiments:s={},maskAllText:l=!0,maskAllInputs:c=!0,blockAllMedia:u=!0,mutationBreadcrumbLimit:d=750,mutationLimit:p=1e4,slowClickTimeout:f=7e3,slowClickIgnoreSelectors:h=[],networkDetailAllowUrls:m=[],networkDetailDenyUrls:g=[],networkCaptureBodies:y=!0,networkRequestHeaders:v=[],networkResponseHeaders:b=[],mask:_=[],maskAttributes:w=["title","placeholder","aria-label"],unmask:k=[],block:S=[],unblock:x=[],ignore:C=[],maskFn:E,beforeAddRecordingEvent:A,beforeErrorSampling:T,onError:I,attachRawBodyFromRequest:R=!1}={}){this.name="Replay";const O=function({mask:e,unmask:t,block:n,unblock:r,ignore:i}){return{maskTextSelector:Ig(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:Ig(t,[]),blockSelector:Ig(n,[".sentry-block","[data-sentry-block]","base","iframe[srcdoc]:not
2([src])"]),unblockSelector:Ig(r,[]),ignoreSelector:Ig(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:_,unmask:k,block:S,unblock:x,ignore:C});if(this._recordingOptions={maskAllInputs:c,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:E,maskInputFn:E,maskAttributeFn:(e,t,n)=>function({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:i,value:a}){if(i.unmaskTextSelector&&e.matches(i.unmaskTextSelector))return a;const o=n.includes(t),s=r&&"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"");return o||s?a.replace(/[\S]/g,"*"):a}({maskAttributes:w,maskAllText:l,privacyOptions:O,key:e,value:t,el:n}),...O,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch{}},recordCrossOriginIframes:Boolean(s.recordCrossOriginIframes)},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,5e4),maxReplayDuration:Math.min(r,Tp),stickySession:i,useCompression:a,workerUrl:o,blockAllMedia:u,maskAllInputs:c,maskAllText:l,mutationBreadcrumbLimit:d,mutationLimit:p,slowClickTimeout:f,slowClickIgnoreSelectors:h,networkDetailAllowUrls:m,networkDetailDenyUrls:g,networkCaptureBodies:y,networkRequestHeaders:Mg(v),networkResponseHeaders:Mg(b),beforeAddRecordingEvent:A,beforeErrorSampling:T,onError:I,attachRawBodyFromRequest:R,_experiments:s},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Rg}`:Rg,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&is())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return Ng}set _isInitialized(e){Ng=e}
2afterAllSetup(e){is()&&!this._replay&&(this._initialOptions.attachRawBodyFromRequest&&function(){if("undefined"===typeof Request||jg)return;const e=Request;try{const t=function(t,n){const r=new e(t,n);return null!=n?.body&&(r[Dg]=n.body),r};t.prototype=e.prototype,s.Request=t,jg=!0}catch{}}(),this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode,reason:"manual"}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(e){if(this._replay?.isEnabled())return this._replay.getSessionId(e)}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}processSpan(e){const t=this.getReplayId(!0);t&&(ed(e,{"sentry.replay_id":t}),"buffer"===this.getRecordingMode()&&ed(e,{"sentry._internal.replay_is_buffering":!0}))}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){const t=function(e,t){const n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...e},i=Rt(n.replaysSessionSampleRate),a=Rt(n.replaysOnErrorSampleRate);null==i&&null==a&&h(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")});null!=i&&(r.sessionSampleRate=i);null!=a&&(r.errorSampleRate=a);return r}(this._initialOptions,e);this._replay=new Tg({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{const t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch{}}}function Mg(e){return[...Og,...e.map(e=>e.toLowerCase())]}const Vg=(e={})=>Bl()?Pg():(e=>
2new Fg(e))(Object.assign(Object.assign({},e),{mask:[".sentry-react-native-mask",...e.mask||[]],unmask:[".sentry-react-native-unmask:not(.sentry-react-native-mask *) > *",...e.unmask||[]]})),Pg=()=>({name:"Replay",start:()=>{},startBuffering:()=>{},stop:()=>Promise.resolve(),flush:()=>Promise.resolve(),getReplayId:()=>{},getRecordingMode:()=>{}});function Lg(e,t,n){D(e,t,n)}const Bg="AppRegistry",Hg=()=>{const e=[];return{name:Bg,setupOnce:()=>{Pl()||Wg(e)},onRunApplication:t=>{e.includes(t)?v.log("[AppRegistryIntegration] Callback already registered."):e.push(t)}}},Wg=e=>{const{AppRegistry:t}=tl;t&&Lg(t,"runApplication",t=>(...n)=>(e.forEach(e=>e()),t(...n)))},zg=(e=qe())=>{if(e)return e.getIntegrationByName(Bg)},Yg="sentry.rn.discard_reason";function Ug(e,t){e.setAttribute(Yg,t)}function Xg(e){var t,n,r;const i=null===(r=null===(n=null===(t=e.contexts)||void 0===t?void 0:t.trace)||void 0===n?void 0:n.data)||void 0===r?void 0:r[Yg];return"string"===typeof i?i:void 0}function Gg(e,t,n,r){if(!e)return void v.warn("Could not hook on spanEnd event because client is not defined.");if(!t)return void v.warn("Could not hook on spanEnd event because span is not defined.");if(!Lc(t)||!Pc(t))return void v.warn("Not sampling empty navigation spans only works for Sentry Transactions (Root Spans).");const i=e.on("spanEnd",e=>{if(e!==t)return;if(i(),!n(t))return;const a=function(e){return vn(e).filter(t=>t.spanContext().spanId!==e.spanContext().spanId&&"ui.load.initial_display"!==on(t).op&&"navigation.processing"!==on(t).op)}(t);a.length<=0&&r(t)})}const qg=(e,t)=>{Gg(e,t,e=>{var t;return!0===(null===(t=on(e).data)||void 0===t?void 0:t["route.has_been_seen"])},e=>{v.log("Not sampling transaction as route has been seen before. Pass ignoreEmptyBackNavigationTransactions = false to disable this feature."),Ug(e,"empty_back_navigation")})},Jg=(e,t,n,r)=>{Gg(e,t,e=>{var t;const i=on(e);return i.description===n&&!(null===(t=i.data)||void 0===t?void 0:t["route.name"])&&r()},e=>{v.log(`Discarding empty "${n}" transaction that never received route information.`),Ug(e,"no_route_info")})},$g="app.start",Kg="ui.load.initial_display",Zg="ui.load.full_display",Qg="auto.interaction",ey="manual.interaction",ty="manual.app.start",ny="auto.app.start",ry="auto.navigation.react_navigation",iy="auto.ui.time_to_display",ay="manual.ui.time_to_display",oy="auto.expo_router.prefetch",sy="auto.resource.expo_image",ly="auto.resource.expo_asset";function cy(e,t){const n="fetch",r=oo(n,e);return so(n,()=>uy(void 0,t)),r}function uy(e,t=!1){t&&!id()||D(s,"fetch",function(t){return function(...n){const r=new Error,{method:i,url:a}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:py(t),method:dy(n,"method")?String(n.method).toUpperCase():O(t)&&dy(t,"method")?String(t.method).toUpperCase():"GET"}}const t=e[0];return{url:py(t),method:dy(t,"method")?String(t.method).toUpperCase():"GET"}}(n),o={args:n,fetchData:{method:i,url:a},startTimestamp:1e3*be(),virtualError:r,headers:fy(n)};return e||lo("fetch",{...o}),t.apply(s,n).then(async t=>(e?e(t):lo("fetch",{...o,endTimestamp:1e3*be(),response:t}),t),e=>{lo("fetch",{...o,endTimestamp:1e3*be(),error:e}),_(e)&&void 0===e.stack&&(e.stack=r.stack,N(e,"framesToPop",1));const t=qe(),n=t?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==n&&e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{const t=new URL(o.fetchData.url).host;"always"===n?e.message=`${e.message} (${t})`:N(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})}function dy(e,t){return!!e&&"object"===typeof e&&!!e[t]}function py(e){return"string"===typeof e?e:e?dy(e,"url")?e.url:e.toString?e.toString():"":""}function fy(e){const[t,n]=e;try{if("object"===typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if(O(t))return new Headers(t.headers)}catch{}}function hy(e={}){const t=e.client||qe();if(!function(){const e=qe();return!1!==e?.getOptions().enabled&&!!e?.getTransport()}()||!t)return{};const n=We(l());if(n.getTraceData)return n.getTraceData(e);const r=e.scope||Ye(),i=e.span||wn(),a=An(i)&&!St(t.getOptions());if(!i&&void 0!==ze)return{};const o=i&&!a?function(e){const{traceId:t,spanId:n}=e.spanContext();return $t(t,n,dn(e))}(i):function(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return $t(t,r,n)}(r),s=vt(i?Dn(i):On(t,r));if(!Jt.test(o))return v.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const c={"sentry-trace":o,baggage:s};return e.propagateTraceparent&&(c.traceparent=i&&!a?function(e){const{traceId:t,spanId:n}=e.spanContext();return Kt(t,n,dn(e))}(i):function(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return Kt(t,r,n)}(r)),c}function my(e,t,n,r,i){if(!e.fetchData)return;const{method:a,url:o}=e.fetchData,s=St()&&t(o);if(e.endTimestamp){const t=e.fetchData.__span;if(!t)return;const n=r[t];return void(n&&(s&&(function(e,t){if(t.response){Nt(e,t.response.status);const n=t.response?.headers?.get("content-length");if(n){const t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:2,message:"internal_error"});e.end()}(n,e),function(e,t,n){const r="object"===typeof n&&null!==n?n.onRequestSpanEnd:void 0;r?.(e,{headers:t.response?.headers,error:t.error})}(n,e,i)),delete r[t]))}const{spanOrigin:l="auto.http.browser",propagateTraceparent:c=!1}="object"===typeof i?i:{spanOrigin:i},u=qe(),d=!!wn()||!!u&&It(u),p=s&&d?tr(function(e,t,n){if(e.startsWith("data:")){return{name:`${t} ${Ju(e)}`,attributes:yy(e,void 0,t,n)}}const r=Xu(e),i=r?Gu(r):e;return{name:`${t} ${i}`,attributes:yy(e,r,t,n)}}(o,a,l)):new En;if(s&&!d&&u?.recordDroppedEvent("no_parent_span","span"),e.fetchData.__span=p.spanContext().spanId,r[p.spanContext().spanId]=p,n(e.fetchData.url)){const t=e.args[0],n={...e.args[1]||{}},r=function(e,t,n,r){const i=hy({span:n,propagateTraceparent:r}),a=i["sentry-trace"],o=i.baggage,s=i.traceparent;if(!a)return;const l=t.headers||(O(e)?e.headers:void 0);if(l){if(function(e){return"undefined"!==typeof Headers&&R(e,Headers)}(l)){const e=new Headers(l);if(e.get("sentry-trace")||e.set("sentry-trace",a),r&&s&&!e.get("traceparent")&&e.set("traceparent",s),o){const t=e.get("baggage");t?gy(t)||e.set("baggage",`${t},${o}`):e.set("baggage",o)}return e}if(function(e){if(!Array.isArray(e))return!1;return e.every(e=>Array.isArray(e)&&2===e.length&&"string"===typeof e[0])}(l)){const e=[...l];e.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",a]),r&&s&&!e.find(e=>"traceparent"===e[0])&&e.push(["traceparent",s]);const t=l.find(e=>"baggage"===e[0]&&"string"===typeof e[1]&&gy(e[1]));return o&&!t&&e.push(["baggage",o]),e}{const e="sentry-trace"in l?l["sentry-trace"]:void 0,t="traceparent"in l?l.traceparent:void 0,n="baggage"in l?l.baggage:void 0,i=n?Array.isArray(n)?[...n]:[n]:[],c=n&&(Array.isArray(n)?n.find(e=>gy(e)):gy(n));o&&!c&&i.push(o);const u=Object.assign({},l,{"sentry-trace":e??a,baggage:i.length>0?i.join(","):void 0});return r&&s&&!t&&(u.traceparent=s),u}}return{...i}}(t,n,St()&&d?p:void 0,c);r&&(e.args[1]=n,n.headers=r)}if(u){const t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};u.emit("beforeOutgoingRequestSpan",p,t)}return p}function gy(e){return"string"===typeof e&&e.split(",").some(e=>e.trim().startsWith(gt))}function yy(e,t,n,r){const i={url:Ju(e),type:"fetch","http.method":n,[ot]:r,[at]:"http.client"};return t&&(Uu(t)||(i["http.url"]=Ju(t.href),i["server.address"]=t.host),t.search&&(i["http.query"]=t.search),t.hash&&(i["http.fragment"]=t.hash)),i}function vy(e){return e?((we()||performance.timeOrigin)+e)/1e3:e}function by(e){const t={};if(void 0!=e.nextHopProtocol){const{name:n,version:r}=function(e){let t="unknown",n="unknown",r="";for(const i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}
2return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol);t["network.protocol.version"]=r,t["network.protocol.name"]=n}return we()||(od.addEventListener&&od.performance)?.timeOrigin?(n={...t,"http.request.redirect_start":vy(e.redirectStart),"http.request.redirect_end":vy(e.redirectEnd),"http.request.worker_start":vy(e.workerStart),"http.request.fetch_start":vy(e.fetchStart),"http.request.domain_lookup_start":vy(e.domainLookupStart),"http.request.domain_lookup_end":vy(e.domainLookupEnd),"http.request.connect_start":vy(e.connectStart),"http.request.secure_connection_start":vy(e.secureConnectionStart),"http.request.connection_end":vy(e.connectEnd),"http.request.request_start":vy(e.requestStart),"http.request.response_start":vy(e.responseStart),"http.request.response_end":vy(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0},Object.fromEntries(Object.entries(n).filter(([,e])=>null!=e))):t;var n}function _y(e){try{return new URL(e,bo.location.origin).href}catch{return}}function wy(e){try{return new Headers(e)}catch{return}}const ky={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function Sy(e,t){const{traceFetch:n,traceXHR:r,shouldCreateSpanForRequest:i,enableHTTPTimings:a,tracePropagationTargets:o,onRequestSpanStart:s,onRequestSpanEnd:l}={...ky,...t},c="function"===typeof i?i:e=>!0,u=e=>function(e,t){const n=vo();if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch{return!1}const a=r.origin===i;return t?ue(r.toString(),t)||a&&ue(r.pathname,t):a}{const n=!!e.match(/^\/(?!\/)/);return t?ue(e,t):n}}(e,o),d={},p=e.getOptions().propagateTraceparent;n&&cy(t=>{const n=my(t,c,u,d,{propagateTraceparent:p,onRequestSpanEnd:l});if(n){const r=_y(t.fetchData.url),i=r?qu(r).host:void 0,o=r?Ju(r):void 0;n.setAttributes({"http.url":o,"url.full":o,"server.address":i}),a&&xy(n,e),s?.(n,{headers:t.headers})}}),r&&dp(t=>{const n=function(e,t,n,r,i,a){const o=e.xhr,s=o?.[up];if(!o||o.__sentry_own_request__||!s)return;const{url:l,method:c}=s,u=St()&&t(l);if(e.endTimestamp){const t=o.__sentry_xhr_span_id__;if(!t)return;const n=r[t];return void(n&&(u&&void 0!==s.status_code&&(Nt(n,s.status_code),n.end(),a?.(n,{headers:wy(cp(o)),error:e.error})),delete r[t]))}const d=_y(l),p=qu(d||l),f=d?Ju(d):void 0,h=Ju((v=l,v.split(/[?#]/,1)[0])),m=qe(),g=!!wn()||!!m&&It(m),y=u&&g?tr({name:`${c} ${h}`,attributes:{url:Ju(l),type:"xhr","http.method":c,"http.url":f,"url.full":f,"server.address":p?.host,[ot]:"auto.http.browser",[at]:"http.client",...p?.search&&{"http.query":p?.search},...p?.hash&&{"http.fragment":p?.hash}}}):new En;var v;u&&!g&&m?.recordDroppedEvent("no_parent_span","span");o.__sentry_xhr_span_id__=y.spanContext().spanId,r[o.__sentry_xhr_span_id__]=y,n(l)&&function(e,t,n){const{"sentry-trace":r,baggage:i,traceparent:a}=hy({span:t,propagateTraceparent:n});r&&function(e,t,n,r){const i=e.__sentry_xhr_v3__?.request_headers;if(i?.["sentry-trace"]||!e.setRequestHeader)return;try{if(e.setRequestHeader("sentry-trace",t),r&&!i?.traceparent&&e.setRequestHeader("traceparent",r),n){const t=i?.baggage;t&&t.split(",").some(e=>e.trim().startsWith("sentry-"))||e.setRequestHeader("baggage",n)}}catch{}}(e,r,i,a)}(o,St()&&g?y:void 0,i);m&&m.emit("beforeOutgoingRequestSpan",y,e);return y}(t,c,u,d,p,l);n&&(a&&xy(n,e),s?.(n,{headers:wy(t.xhr.__sentry_xhr_v3__?.request_headers)}))})}function xy(e,t){const{url:n}=on(e).data;if(!n||"string"!==typeof n)return;let r=()=>{setTimeout(i)};if(It(t)){const t=e.end.bind(e);e.end=e=>{const n=e??be();let a=!1;const o=()=>{a||(a=!0,setTimeout(i),t(n),clearTimeout(s))};r=o;const s=setTimeout(o,300)}}const i=Kd("resource",({entries:t})=>{t.forEach(t=>{(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"===typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)})(t)&&t.name.endsWith(n)&&(e.setAttributes(by(t)),r())})})}const Cy={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function Ey(e,t={}){const n=new Map;let r,i=!1,a="externalFinish",o=!t.disableAutoFinish;const s=[],{idleTimeout:l=Cy.idleTimeout,finalTimeout:c=Cy.finalTimeout,childSpanTimeout:u=Cy.childSpanTimeout,beforeSpanEnd:p,trimIdleSpanEndTimestamp:f=!0}=t,h=qe(),m=Ye();if(!h||!St()){const e=new En({traceId:m.getPropagationContext().traceId});return Lt(e,m,Ue()),e}const g=wn(),y=function(e){const t=tr(e);
2return Re(Ye(),t),d&&v.log("[Tracing] Started span is an idle span"),t}(e);function b(){r&&(clearTimeout(r),r=void 0)}function _(e){b(),r=setTimeout(()=>{!i&&0===n.size&&o&&(a="idleTimeout",y.end(e))},l)}function w(e){r=setTimeout(()=>{!i&&o&&(a="heartbeatFailed",y.end(e))},u)}function k(e){i=!0,n.clear(),s.forEach(e=>e()),Re(m,g);const t=on(y),{start_timestamp:r}=t;if(!r)return;t.data[lt]||y.setAttribute(lt,a);const o=t.status;o&&"unknown"!==o||y.setStatus({code:1}),v.log(`[Tracing] Idle span "${t.op}" finished`);const u=vn(y).filter(e=>e!==y);let p=0;u.forEach(t=>{t.isRecording()&&(t.setStatus({code:2,message:"cancelled"}),t.end(e),d&&v.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));const n=on(t),{timestamp:r=0,start_timestamp:i=0}=n,a=i<=e,o=r-i<=(c+l)/1e3;if(d){const e=JSON.stringify(t,void 0,2);a?o||v.log("[Tracing] Discarding span since it finished after idle span final timeout",e):v.log("[Tracing] Discarding span since it happened after idle span was finished",e)}o&&a||(!function(e,t){e[mn]&&e[mn].delete(t)}(y,t),p++)}),p>0&&y.setAttribute("sentry.idle_span_discarded_spans",p)}return y.end=new Proxy(y.end,{apply(e,t,n){if(p&&p(y),An(t))return;const[r,...i]=n,a=rn(r||be()),o=vn(y).filter(e=>e!==y),s=on(y);if(!o.length||!f)return k(a),Reflect.apply(e,t,[a,...i]);const l=h.getOptions().ignoreSpans,u=o?.reduce((e,t)=>{const n=on(t);return n.timestamp?l&&Ct({description:n.description,op:n.op,attributes:n.data},l)?e:e?Math.max(e,n.timestamp):n.timestamp:e},void 0),d=s.start_timestamp,m=Math.min(d?d+c/1e3:1/0,Math.max(d||-1/0,Math.min(a,u||1/0)));return k(m),Reflect.apply(e,t,[m,...i])}}),s.push(h.on("spanStart",e=>{if(i||e===y||on(e).timestamp||e instanceof qn&&e.isStandaloneSpan())return;var t;vn(y).includes(e)&&(t=e.spanContext().spanId,b(),n.set(t,!0),w(be()+u/1e3))})),s.push(h.on("spanEnd",e=>{var t;i||(t=e.spanContext().spanId,n.has(t)&&n.delete(t),0===n.size&&_(be()+l/1e3))})),s.push(h.on("idleSpanEnableAutoFinish",e=>{e===y&&(o=!0,_(),n.size&&w())})),t.disableAutoFinish||_(),setTimeout(()=>{i||(y.setStatus({code:2,message:"deadline_exceeded"}),a="finalTimeout",y.end())},c),y}const Ay="Route Change",Ty={idleTimeout:1e3,finalTimeout:6e5},Iy=(e,{finalTimeout:t=Ty.finalTimeout,idleTimeout:n=Ty.idleTimeout,isAppRestart:r=!1}={})=>{const i=qe();if(!i)return void v.warn("[startIdleNavigationSpan] Can't create route change span, missing client.");const a=wn(),o=a&&Lc(a)&&Dy(a);Ny(Ye()),o&&r?v.log(`[startIdleNavigationSpan] Not canceling ${on(a).op} transaction because navigation is from app restart - preserving error context.`):o&&(v.log(`[startIdleNavigationSpan] Canceling ${on(a).op} transaction because of a new navigation root span.`),a.setStatus({code:2,message:"cancelled"}),a.end());const s=Object.assign(Object.assign({},Oy()),e),l=Ry(s,{finalTimeout:t,idleTimeout:n});return v.log(`[startIdleNavigationSpan] Starting ${s.op||"unknown op"} transaction "${s.name}" on scope`),((e,t,n)=>{if(!Lc(t))return void v.warn("Not sampling empty back spans only works for Sentry Transactions (Root Spans).");const r=e.on("spanEnd",e=>{if(e!==t)return;r();const i=on(t).timestamp,a=on(t).start_timestamp;if(!i||!a)return;const o=i-a;(o>n/1e3||o<0)&&(t.setStatus({code:2,message:"deadline_exceeded"}),t.setAttribute("maxTransactionDurationExceeded","true"))})})(i,l,t),l.setAttribute(ot,"auto.navigation.custom"),l},Ry=(e,{finalTimeout:t,idleTimeout:n})=>{const r=qe();
2if(!r)return v.warn("[startIdleSpan] Can't create idle span, missing client."),new En;const i=hl.default.currentState;if("background"===i||"ios"===vl.default.OS&&"inactive"===i)return v.log(`[startIdleSpan] App is already in '${i}' state, not starting span for ${e.name}`),new En;Ye().setPropagationContext({traceId:Ce(),sampleRand:Math.random()});const a=Ey(e,{finalTimeout:t,idleTimeout:n});return((e,t)=>{let n,r;const i=()=>{void 0!==n&&(clearTimeout(n),n=void 0),v.log(`Setting ${on(t).op} transaction to cancelled because the app is in the background.`);const e=null!==r&&void 0!==r?r:be(),i=vn(t);for(const n of i)n!==t&&n.isRecording()&&"http.client"===on(n).op&&(n.setStatus({code:2,message:"cancelled"}),n.end(e));t.setStatus({code:2,message:"cancelled"}),t.end()},a=hl.default.addEventListener("change",e=>{"background"===e?(r=null!==r&&void 0!==r?r:be(),i()):"ios"===vl.default.OS&&"inactive"===e?(r=be(),void 0===n&&(n=setTimeout(i,5e3))):"active"===e&&(r=void 0,void 0!==n&&(clearTimeout(n),n=void 0))});if(a){const r=e.on("spanEnd",e=>{var i;e===t&&(r(),v.log(`Removing AppState listener for ${on(t).op} transaction.`),void 0!==n&&(clearTimeout(n),n=void 0),null===(i=a.remove)||void 0===i||i.call(a))})}})(r,a),a};function Oy(){return{name:Ay,op:"navigation",forceTransaction:!0,scope:Ye()}}function Dy(e){return[Qg,ey].includes(on(e).origin||"")}function Ny(e){delete e._sentrySpan}const jy="thread.name",Fy="javascript";function My(e){return e.data=e.data||{},e.data[jy]="main",e}const Vy="ReactNativeTracing";function Py(){if(!Pl())return[/.*/]}const Ly={traceFetch:!1,traceXHR:!0,enableHTTPTimings:!0},By=(e={})=>{var t,n,r,i;const a={currentRoute:void 0},o=Pl()||Ll(),s=Object.assign(Object.assign(Object.assign(Object.assign({},Ly),{traceFetch:o}),e),{beforeStartSpan:null!==(t=e.beforeStartSpan)&&void 0!==t?t:e=>e,finalTimeoutMs:null!==(n=e.finalTimeoutMs)&&void 0!==n?n:Ty.finalTimeout,idleTimeoutMs:null!==(r=e.idleTimeoutMs)&&void 0!==r?r:Ty.idleTimeout}),l=s.shouldCreateSpanForRequest,c=null===(i=ol())||void 0===i?void 0:i.url,u=void 0===c?l:e=>!e.startsWith(c)&&(!l||l(e));s.shouldCreateSpanForRequest=u;return{name:Vy,setup:e=>{!function(e){e.on("spanStart",e=>{on(e).op||e.setAttribute(at,"default")})}(e),function(e){e.on("spanStart",e=>{var t;(null===(t=on(e).data)||void 0===t?void 0:t[jy])||e.setAttribute(jy,Fy)})}(e),Sy(e,{traceFetch:s.traceFetch,traceXHR:s.traceXHR,shouldCreateSpanForRequest:s.shouldCreateSpanForRequest,tracePropagationTargets:e.getOptions().tracePropagationTargets||Py()})}
2,processEvent:(e,t,n)=>{if("transaction"===e.type){const t=Xg(e);if(t)return v.log(`[ReactNativeTracing] Dropping transaction marked for discard (reason: ${t}).`),null}return e.contexts&&a.currentRoute&&(e.contexts.app=Object.assign({view_names:[a.currentRoute]},e.contexts.app)),e},options:s,state:a,setCurrentRoute:e=>{a.currentRoute=e}}};function Hy(){const e=qe();if(e)return Wy(e)}function Wy(e){return e.getIntegrationByName(Vy)}const zy="route.has_been_seen";Date.now();function Yy(e,t){const{timestamp:n,start_timestamp:r}=on(t);n&&r&&Un(e,1e3*(n-r),"millisecond")}function Uy(e,t,n,r){e.addEvent(t,{[ut]:n,[ct]:r})}function Xy(e){const t=vn(e).map(e=>on(e).timestamp).filter(e=>!!e);return t.length?Math.max(...t):void 0}function Gy(){const e=nl.__BUNDLE_START_TIME__;if(!e)return void v.warn("Missing the bundle start time on the global object.");if(!nl.nativePerformanceNow)return e;return Date.now()-nl.nativePerformanceNow()+e}function qy(e){return L(Object.assign(Object.assign({status:"ok"},e),{span_id:e.span_id?e.span_id:de().substring(16),trace_id:e.trace_id?e.trace_id:de(),data:L(Object.assign({[at]:e.op,[ot]:e.origin},e.data?e.data:{}))}))}function Jy(e,t){const n=tr(e);try{return t().then(e=>(null===n||void 0===n||n.setStatus({code:1}),null===n||void 0===n||n.end(),e)).catch(e=>{throw null===n||void 0===n||n.setStatus({code:2,message:String(e)}),null===n||void 0===n||n.end(),e})}catch(r){throw null===n||void 0===n||n.setStatus({code:2,message:String(r)}),null===n||void 0===n||n.end(),r}}function $y(e){try{const t=e.split("?")[0]||e;return t.split("#")[0]||t}catch(t){return e}}function Ky(e){try{const t=e.split("?")[0]||e,n=t.split("#")[0]||t;return n.split("/").pop()||n}catch(t){return e}}function Zy(e,t){return qy(Object.assign({op:e.op,trace_id:e.trace_id,parent_span_id:e.span_id,origin:e.origin||"manual"},t))}var Qy=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};const ev="AppStart",tv="App Start";let nv,rv,iv=!1,av=!1,ov=!1;function sv(e){return Qy(this,arguments,void 0,function*({isManual:e}){if(!e&&av)return void v.log("[AppStart] Skipping auto app start capture because appLoaded() was already called.");const t=qe();if(!t)return void v.warn("[AppStart] Could not capture App Start, missing client.");iv=e;const n=1e3*be();uv({timestampMs:n,endFrames:null}),yield lv();const r=t.getIntegrationByName(ev);r&&(e?yield r.captureStandaloneAppStart():r.scheduleDeferredStandaloneCapture())})}function lv(){return Qy(this,void 0,void 0,function*(){if($l.enableNative)try{const e=yield $l.fetchNativeFrames();v.log("[AppStart] Captured end frames for app start.",e),dv(e)}catch(e){v.log("[AppStart] Failed to capture end frames for app start.",e)}})}function cv(e){!function(e){(null===nv||void 0===nv?void 0:nv.timestampMs)&&v.warn("Setting Root component creation timestamp after app start end is set."),rv&&v.warn("Overwriting already set root component creation timestamp."),rv=e,ov=!0}(e),ov=!1}const uv=e=>{nv&&v.warn("Overwriting already set app start end data."),nv=e},dv=e=>{nv&&(nv.endFrames=e)};const pv=({standalone:e=!1}={})=>{let t,n,r,i,a,o,s,l,c=!0,u=!1,d=!1,p=!1,f=!1,h=0;const m=e=>{if(n){if(!r||void 0===function(e){var t;const n=null===(t=on(e).data)||void 0===t?void 0:t[Yg];return"string"===typeof n?n:void 0}(r))return;v.log("[AppStart] Previously locked root span was marked for discard after ending. Resetting to allow next transaction."),g()}Lc(e)&&dn(e)&&(r=e,y(e.spanContext().spanId))},g=()=>{v.log("[AppStart] Resetting first started active root span id to allow retry on next transaction."),n=void 0,r=void 0},y=e=>{n=e,v.log("[AppStart] First started active root span id recorded.",n)};function b(){return Qy(this,void 0,void 0,function*(){if(!t)return void console.warn("[AppStart] Could not capture App Start, missing client, call `Sentry.init` first.");if(!e)return void v.log("[AppStart] App start tracking is enabled. App start will be added to the first transaction as a child span.");
2if(p)return void v.log("[AppStart] Standalone app start already captured for this app run. Skipping.");if(p=!0,v.log("[AppStart] App start tracking standalone root span (transaction)."),!(null===nv||void 0===nv?void 0:nv.endFrames)&&$l.enableNative)try{const e=yield $l.fetchNativeFrames();v.log("[AppStart] Captured end frames for standalone app start.",e);const t=(null===nv||void 0===nv?void 0:nv.timestampMs)||1e3*be();uv({timestampMs:t,endFrames:e})}catch(i){v.log("[AppStart] Failed to capture frames for standalone app start.",i)}const n=tr({forceTransaction:!0,name:tv,op:$g});if(n instanceof En)return;Bc(n,be()),t.emit("spanEnd",n);const r=Hc(n);if(!r)return void v.warn("[AppStart] Failed to convert App Start span to transaction.");if(!(yield _(r)))return void v.log("[AppStart] No app start data attached to the standalone transaction. Skipping send.");(Bt(n).scope||Ye()).captureEvent(r)})}function _(t){return Qy(this,arguments,void 0,function*(t,{suppressMeasurement:r=!1,extendedEndTimestampMs:a}={}){var o,s;const l=h;if(u)return v.log("[AppStart] App start data already flushed. Skipping."),!1;if(Xg(t))return v.log("[AppStart] Skipping app start attach for transaction marked for discard."),!1;if(!(null===(o=t.contexts)||void 0===o?void 0:o.trace))return v.warn("[AppStart] Transaction event is missing trace context. Can not attach app start."),!1;if(!e){if(!n)return v.warn("[AppStart] No first started active root span id recorded. Can not attach app start."),!1;if(n!==t.contexts.trace.span_id)return v.warn("[AppStart] First started active root span id does not match the transaction event span id. Can not attached app start."),!1}const c=void 0!==i,d=c?i:yield $l.fetchNativeAppStart();if(l!==h)return v.log("[AppStart] App run changed during app start attach. Discarding stale attach."),!1;if(i=d,!d)return v.warn("[AppStart] Failed to retrieve the app start metrics from the native layer."),u=!0,!1;if(!c&&d.has_fetched)return v.warn("[AppStart] Measured app start metrics were already reported from the native layer."),u=!0,!1;const p=d.app_start_timestamp_ms;if(!p)return v.warn("[AppStart] App start timestamp could not be loaded from the native layer."),u=!0,!1;const f=(null===nv||void 0===nv?void 0:nv.timestampMs)||Gy();if(!f)return v.warn("[AppStart] Javascript failed to record app start end. `_setAppStartEndData` was not called nor could the bundle start be found."),u=!0,!1;const m=a||f,g=!!t.start_timestamp&&p>=1e3*t.start_timestamp-6e4;if(!e&&!g)return v.warn("[AppStart] App start timestamp is too far in the past to be used for app start span."),u=!0,!1;if(f-p>=6e4)return v.warn("[AppStart] App start duration is over a minute long, not adding app start span."),u=!0,!1;const y=m-p;if(y<0)return v.warn("[AppStart] Last recorded app start end timestamp is before the app start timestamp.","This is usually caused by missing `Sentry.wrap(RootComponent)` call."),u=!0,!1;u=!0;const b=iv?ty:ny,_=e?$g:"ui.load";t.contexts.trace.data=t.contexts.trace.data||{},t.contexts.trace.data[at]=_,t.contexts.trace.op=_,t.contexts.trace.data[ot]=b,t.contexts.trace.origin=b;const w=p/1e3,k=m/1e3;t.start_timestamp=w,t.spans=t.spans||[];const S=t.spans,x=S.find(({op:e})=>"ui.load.initial_display"===e);x&&(x.start_timestamp=w,fv(t,"time_to_initial_display",x));const C=S.find(({op:e})=>"ui.load.full_display"===e);let E;if(C&&(C.start_timestamp=w,fv(t,"time_to_full_display",C)),!e&&t.timestamp&&t.timestamp<k&&(v.log("[AppStart] Transaction event timestamp is before app start end. Adjusting transaction event timestamp."),t.timestamp=k),e){if(t.timestamp=k,!r){t.contexts.trace.data["app.vitals.start.value"]=y,t.contexts.trace.data["app.vitals.start.type"]=d.type;const e=null===(s=Hy())||void 0===s?void 0:s.state.currentRoute;e&&(t.contexts.trace.data["app.vitals.start.screen"]=e)}E={op:_,origin:b,span_id:t.contexts.trace.span_id,trace_id:t.contexts.trace.trace_id,start_timestamp:w,data:t.contexts.trace.data}}else E=qy({op:"cold"===d.type?"app.start.cold":"app.start.warm",description:"cold"===d.type?"Cold Start":"Warm Start",start_timestamp:w,timestamp:k,trace_id:t.contexts.trace.trace_id,parent_span_id:t.contexts.trace.span_id,origin:b});if(null===nv||void 0===nv?void 0:nv.endFrames){A=E,(T=nv.endFrames).totalFrames<=0&&T.slowFrames<=0&&T.frozenFrames<=0?v.warn(`[AppStart] Detected zero slow or frozen frames. Not adding measurements to spanId (${A.span_id}).`):(A.data=A.data||{},A.data["frames.total"]=T.totalFrames,A.data["frames.slow"]=T.slowFrames,A.data["frames.frozen"]=T.frozenFrames,v.log("[AppStart] Attached frame data to span.",{spanId:A.span_id,frameData:{total:T.totalFrames,slow:T.slowFrames,frozen:T.frozenFrames}}));try{const e=yield Promise.race([$l.fetchNativeFramesDelay(w,k),new Promise(e=>setTimeout(()=>e(null),2e3))]);null!=e&&(E.data=E.data||{},E.data["frames.delay"]=e)}catch(N){v.log("[AppStart] Error while fetching frames delay for app start span.",N)}}var A,T;const I=function(e,t){const n=Gy();if(!n)return;const r=n/1e3;if(r<e.start_timestamp)return void v.warn("Bundle start timestamp is before the app start span start timestamp. Skipping JS execution span.");
2if(!t)return v.warn("Missing the root component first constructor call timestamp."),Zy(e,{description:"JS Bundle Execution Start",start_timestamp:r,timestamp:r,origin:ny});return Zy(e,{description:"JS Bundle Execution Before React Root",start_timestamp:r,timestamp:t/1e3,origin:ov?ty:ny})}(E,rv),R=[...e?[]:[E],...I?[I]:[],...(O=E,D=d.spans,D.filter(e=>e.start_timestamp_ms/1e3>=O.start_timestamp).map(e=>"UIKit init"===e.description?My(function(e,t){const n=Gy();return n&&n<t.end_timestamp_ms?Zy(e,{description:"UIKit Init to JS Exec Start",start_timestamp:t.start_timestamp_ms/1e3,timestamp:n/1e3,origin:ny}):Zy(e,{description:"UIKit Init",start_timestamp:t.start_timestamp_ms/1e3,timestamp:t.end_timestamp_ms/1e3,origin:ny})}(O,e)):My(Zy(O,{description:e.description,start_timestamp:e.start_timestamp_ms/1e3,timestamp:e.end_timestamp_ms/1e3,origin:ny}))))];var O,D;if(S.push(...R),v.log("[AppStart] Added app start spans to transaction event.",JSON.stringify(R,void 0,2)),!e&&!r){const e="cold"===d.type?"app_start_cold":"app_start_warm",n={value:y,unit:"millisecond"};t.measurements=t.measurements||{},t.measurements[e]=n,v.log("[AppStart] Added app start measurement to transaction event.",JSON.stringify(n,void 0,2))}return l===h||(v.log("[AppStart] App run changed during app start attach. Discarding stale attach."),!1)})}const w=(...e)=>Qy(void 0,[...e],void 0,function*({deadlineExceeded:e=!1}={}){if(!o||!s||f)return;let n;if(f=!0,void 0!==l&&(clearTimeout(l),l=void 0),(e=>{if(o)for(const t of vn(o))t!==o&&void 0===on(t).timestamp&&(t.setStatus({code:2,message:e}),t.end())})(e?"deadline_exceeded":"cancelled"),e)o.setStatus({code:2,message:"deadline_exceeded"}),o.end(),n=on(o).timestamp;else{const e=(null===nv||void 0===nv?void 0:nv.timestampMs)||Gy()||0,t=1e3*(on(o).start_timestamp||0),r=Xy(o),i=Math.max(r?1e3*r:0,e,t);n=i?i/1e3:be(),o.end(n)}const r=s;o=void 0,s=void 0,yield function(e){return Qy(this,arguments,void 0,function*(e,{suppressMeasurement:n=!1,trimmedEndMs:r=0}={}){if(!t)return;Bc(e,(r||1e3*be())/1e3),t.emit("spanEnd",e);const i=Hc(e);i?(yield _(i,{suppressMeasurement:n,extendedEndTimestampMs:r||void 0}))?(Bt(e).scope||Ye()).captureEvent(i):v.log("[AppStart] No app start data attached to the extended standalone transaction. Skipping send."):v.warn("[AppStart] Failed to convert extended App Start span to transaction.")})}(r,{suppressMeasurement:e,trimmedEndMs:n?1e3*n:0})}),k=()=>{void 0!==a&&(clearTimeout(a),a=void 0,v.log("[AppStart] Cancelled deferred standalone app start capture."))};return{name:ev,setup:e=>{t=e;const{enableAppStartTracking:n}=e.getOptions();n||(c=!1,v.warn("[AppStart] App start tracking is disabled.")),e.on("spanStart",m)},afterAllSetup:e=>{var t;d||(d=!0,null===(t=zg(e))||void 0===t||t.onRunApplication(()=>{u||p?(v.log("[AppStartIntegration] Resetting app start state based on runApplication call."),h+=1,u=!1,n=void 0,r=void 0,av=!1,i=void 0,p=!1,o=void 0,s=void 0,f=!1,void 0!==a&&(clearTimeout(a),a=void 0),void 0!==l&&(clearTimeout(l),l=void 0)):v.log("[AppStartIntegration] Waiting for initial app start was flush, before updating based on runApplication call.")}))},processEvent:t=>Qy(void 0,void 0,void 0,function*(){return!c||e||"transaction"!==t.type||(yield _(t)),t}),captureStandaloneAppStart:b,cancelDeferredStandaloneCapture:k,scheduleDeferredStandaloneCapture:()=>{e&&(a=setTimeout(()=>{a=void 0,b()},0))},extendAppStart:()=>{if(!t)return void console.warn("[AppStart] Could not extend App Start, missing client, call `Sentry.init` first.");if(!e)return void v.warn("[AppStart] extendAppStart() requires standalone app start tracing. Ignoring.");if(o)return void v.log("[AppStart] extendAppStart() already called for this app run. Ignoring.");if(p)return void v.warn("[AppStart] extendAppStart() called after the app start transaction was created. Ignoring.");const n=tr({forceTransaction:!0,name:tv,op:$g});n instanceof En?v.log("[AppStart] extendAppStart(): standalone app start transaction is not recording."):(k(),p=!0,s=n,o=tr({parentSpan:n,op:"app.start.extended",name:"Extended App Start"}),l=setTimeout(()=>{l=void 0,v.warn("[AppStart] Extended app start deadline reached. Finalizing without a measurement."),w({deadlineExceeded:!0})},3e4))},getExtendedAppStartSpan:()=>o||new En,finishExtendedAppStart:()=>Qy(void 0,void 0,void 0,function*(){o&&!f?yield w({deadlineExceeded:!1}):v.log("[AppStart] finishExtendedAppStart(): no extended app start in progress. Ignoring.")}),setFirstStartedActiveRootSpanId:y}};function fv(e,t,n){n.timestamp&&n.start_timestamp?(e.measurements=e.measurements||{},e.measurements[t]={value:1e3*(n.timestamp-n.start_timestamp),unit:"millisecond"}):v.warn("Span is missing start or end timestamp. Cam not set measurement on transaction event.")}class hv{constructor({cleanupInterval:e=5e3,ttl:t=2e3}={}){this._ttl=t,this._map=new Map,this._cleanupIntervalMs=e,this.startCleanup()}set(e,t){if(this._cleanupInterval||this.startCleanup(),"object"!==typeof t||!t||!("then"in t))return void this._map.set(e,{value:t,expiresAt:Date.now()+this._ttl,promise:null});const n={value:void 0,expiresAt:null,promise:t};this._map.set(e,n),t.then(e=>{n.value=e,n.expiresAt=Date.now()+this._ttl,n.promise=null},()=>{n.expiresAt=Date.now()+this._ttl,n.promise=null})}pop(e){const t=this.get(e);return this._map.delete(e),t}get(e){const t=this._map.get(e);if(t)return t.promise?t.promise:(t.expiresAt&&t.expiresAt<=Date.now()&&this._map.delete(e),t.value)}has(e){const t=this._map.get(e);return!!t&&(!!t.promise||(!(t.expiresAt&&t.expiresAt<=Date.now())||
2(this._map.delete(e),!1)))}ttl(e){const t=this._map.get(e);if(null===t||void 0===t?void 0:t.expiresAt){const e=t.expiresAt-Date.now();return e>0?e:0}}cleanup(){const e=Date.now();for(const[t,n]of this._map.entries())n.expiresAt&&n.expiresAt<=e&&this._map.delete(t);this._map.size||this.stopCleanup()}clear(){this._cleanupInterval&&clearInterval(this._cleanupInterval),this._map.clear()}stopCleanup(){this._cleanupInterval&&clearInterval(this._cleanupInterval)}startCleanup(){this._cleanupInterval=setInterval(()=>this.cleanup(),this._cleanupIntervalMs)}}var mv=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};const gv=2e3,yv="NativeFrames",vv=e=>{if(e||!$l.enableNative)return bv();$l.disableNativeFramesTracking()},bv=()=>{const e=new hv({ttl:6e4}),t=new hv({ttl:6e4}),n=new hv({ttl:2e3}),r=e=>{if(!dn(e))return;const n=e.spanContext().spanId,r=Lc(e)?"root":"child";v.log(`[${yv}] Fetching frames for ${r} span start (${n}).`),t.set(n,new Promise(e=>{_v().then(t=>e(t)).then(void 0,t=>{v.log(`[${yv}] Error while fetching native frames.`,t),e(null)})}))},i=r=>mv(void 0,void 0,void 0,function*(){const i=r.spanContext().spanId;if(!t.has(i))return;let a;if(!Lc(r)){const t=bn(r).spanContext().spanId,n=on(r).timestamp;n&&(a=_v(),e.set(t,a.then(e=>({timestamp:n,nativeFrames:e})).then(void 0,()=>null)))}if(Lc(r)){const e=be();v.log(`[${yv}] Fetch frames for root span end (${i}).`),n.set(i,new Promise(t=>{_v().then(n=>{t({timestamp:e,nativeFrames:n})}).then(void 0,e=>{v.log(`[${yv}] Error while fetching native frames.`,e),t(null)})}))}try{const e=yield t.get(i);if(!e)return void v.log(`[${yv}] No start frames found for span ${i}, skipping frame data.`);const n=a?yield a:yield _v(),s=n.totalFrames-e.totalFrames,l=n.slowFrames-e.slowFrames,c=n.frozenFrames-e.frozenFrames;if(s>0||l>0||c>0){r.setAttribute("frames.total",s),r.setAttribute("frames.slow",l),r.setAttribute("frames.frozen",c),v.log(`[${yv}] Attached frame data to span ${i}: total=${s}, slow=${l}, frozen=${c}`);const e=on(r);if(e.start_timestamp&&e.timestamp)try{const t=yield function(e,t){return n=$l.fetchNativeFramesDelay(e,t),r="Fetching native frames delay took too long.",new Promise((e,t)=>{let i=!1;const a=setTimeout(()=>{i||(i=!0,t(r))},gv);n.then(t=>{i||(clearTimeout(a),i=!0,e(t))}).then(void 0,e=>{i||(clearTimeout(a),i=!0,t(e))})});var n,r}(e.start_timestamp,e.timestamp);null!=t&&r.setAttribute("frames.delay",t)}catch(o){v.log(`[${yv}] Error while fetching frames delay for span ${i}.`,o)}}}catch(s){v.log(`[${yv}] Error while capturing end frames for span ${i}.`,s)}});return{name:yv,setup:e=>{$l.enableNative?($l.enableNativeFramesTracking(),e.on("spanStart",r),e.on("spanEnd",i)):v.warn(`[${yv}] This is not available on the Web, Expo Go and other platforms without native modules.`)},processEvent:r=>mv(void 0,void 0,void 0,function*(){var i,a;if("transaction"!==r.type||!r.transaction||!(null===(i=r.contexts)||void 0===i?void 0:i.trace)||!r.timestamp||!r.contexts.trace.span_id)return r;const o=r.contexts.trace.op,s=r.contexts.trace.span_id,l=yield t.pop(s);if(!l)return v.warn(`[${yv}] Start frames of transaction ${r.transaction} (eventId, ${r.event_id}) are missing, but the transaction already ended.`),r;const c=yield n.pop(s),u=yield e.pop(s);let d;if(c&&wv(c.timestamp,r.timestamp))v.log(`[${yv}] Using frames from root span end (spanId, ${s}).`),d=c.nativeFrames;else{if(!u||!wv(u.timestamp,r.timestamp))return v.warn(`[${yv}] Frames were collected within larger than margin of error delay for spanId (${s}). Dropping the inaccurate values.`),r;v.log(`[${yv}] Using native frames from last child span end (spanId, ${s}).`),d=u.nativeFrames}const p={frames_total:{value:d.totalFrames-l.totalFrames,unit:"none"},frames_frozen:{value:d.frozenFrames-l.frozenFrames,unit:"none"},frames_slow:{value:d.slowFrames-l.slowFrames,unit:"none"}};return p.frames_frozen.value<=0&&p.frames_slow.value<=0&&p.frames_total.value<=0?(v.warn(`[${yv}] Detected zero slow or frozen frames. Not adding measurements to spanId (${s}).`),r):(v.log(`[${yv}] Adding measurements to ${o} transaction ${r.transaction}: ${JSON.stringify(p,void 0,2)}`),r.measurements=Object.assign(Object.assign({},null!==(a=r.measurements)&&void 0!==a?a:{}),p),r)})}};function _v(){return new Promise((e,t)=>
2{let n=!1;const r=setTimeout(()=>{n||(n=!0,t("Fetching native frames took too long. Dropping frames."))},gv);$l.fetchNativeFrames().then(i=>{n||(clearTimeout(r),n=!0,i?e(i):t("Native frames response is null."))}).then(void 0,e=>{n||(clearTimeout(r),n=!0,t(e))})})}function wv(e,t){return Math.abs(e-t)<.05}const kv=({minimumStallThresholdMs:e=50}={})=>{const t=new Map,n={isTracking:!1,timeout:null,isBackground:!1,lastIntervalMs:0,totalStallTime:0,stallCount:0,backgroundEventListener:e=>{"active"===e?(n.isBackground=!1,null!=n.timeout&&(n.lastIntervalMs=1e3*be(),n.iteration())):(n.isBackground=!0,null!==n.timeout&&clearTimeout(n.timeout))},iteration:()=>{var r;const i=1e3*be(),a=i-n.lastIntervalMs;if(a>=50+e){const e=a-50;n.stallCount+=1,n.totalStallTime+=e;for(const[n,i]of t.entries()){const a=Math.max(null!==(r=i.longestStallTime)&&void 0!==r?r:0,e);t.set(n,Object.assign(Object.assign({},i),{longestStallTime:a}))}}n.lastIntervalMs=i,n.isTracking&&!n.isBackground&&(n.timeout=setTimeout(n.iteration,50))}},r=e=>{Lc(e)&&dn(e)&&(t.has(e)?v.error("[StallTracking] Tried to start stall tracking on a transaction already being tracked. Measurements might be lost."):(l(),t.set(e,{longestStallTime:0,atTimestamp:null,atStart:s(e)}),d()))},i=e=>{if(!Lc(e))return a(e);const n=t.get(e);if(!n)return v.log("[StallTracking] Stall measurements were not added to transaction due to exceeding the max count."),t.delete(e),void c();const r=on(e).timestamp;let i;if((o=r)&&Math.abs(be()-o)<=.05)i=s(e);else{const t=Xy(e);t!==r&&v.log("[StallTracking] Stall measurements not added due to a custom `endTimestamp` (root end is not equal to the latest child span end)."),n.atTimestamp||v.log("[StallTracking] Stall measurements not added due to `endTimestamp` not being close to now. And no previous stats from child end were found."),t===r&&n.atTimestamp&&(i=n.atTimestamp.stats)}var o;t.delete(e),c(),i?(Uy(e,"stall_count",i.stall_count.value-n.atStart.stall_count.value,n.atStart.stall_count.unit),Uy(e,"stall_total_time",i.stall_total_time.value-n.atStart.stall_total_time.value,n.atStart.stall_total_time.unit),Uy(e,"stall_longest_time",i.stall_longest_time.value,i.stall_longest_time.unit)):"undefined"!==typeof r&&v.log("[StallTracking] Stall measurements not added due to `endTimestamp` not being close to now.","endTimestamp",r,"now",be())},a=e=>{const t=bn(e),n=on(e).timestamp;n&&o(t,n)},o=(e,n)=>{const r=t.get(e);r&&(Math.abs(be()-n)>.02?(v.log("[StallTracking] Span end not logged due to end timestamp being outside the margin of error from now."),r.atTimestamp&&r.atTimestamp.timestamp<n&&t.set(e,Object.assign(Object.assign({},r),{atTimestamp:null}))):t.set(e,Object.assign(Object.assign({},r),{atTimestamp:{timestamp:n,stats:s(e)}})))},s=e=>{var r,i;return{stall_count:{value:n.stallCount,unit:"none"},stall_total_time:{value:n.totalStallTime,unit:"millisecond"},stall_longest_time:{value:null!==(i=null===(r=t.get(e))||void 0===r?void 0:r.longestStallTime)&&void 0!==i?i:0,unit:"millisecond"}}},l=()=>{n.isTracking||(n.isTracking=!0,n.lastIntervalMs=Math.floor(1e3*be()),n.iteration())},c=()=>{0===t.size&&(n.isTracking=!1,null!==n.timeout&&(clearTimeout(n.timeout),n.timeout=null),u())},u=()=>{n.stallCount=0,n.totalStallTime=0,n.lastIntervalMs=0,t.clear()},d=()=>{if(t.size>10){let e=0;const n=t.size-10,r=t.keys();for(const i of r){if(e>=n)break;e+=1,t.delete(i)}}};return(null===hl.default||void 0===hl.default?void 0:hl.default.isAvailable)&&hl.default.addEventListener("change",n.backgroundEventListener),{name:"StallTracking",setup:e=>{e.on("spanStart",r),e.on("spanEnd",i)},_internalState:n}},Sv="UserInteraction",xv=()=>({name:Sv}),Cv=e=>{const t=qe();if(!t)return;const n=Hy();if(!n)return void v.log(`[${Sv}] Tracing integration is not available. Can not start user interaction span.`);const r=t.getOptions(),{elementId:i,op:a}=e;if(!r.enableUserInteractionTracing)return void v.log(`[${Sv}] User Interaction Tracing is disabled.`);if(!i)return void v.log(`[${Sv}] User Interaction Tracing can not create transaction with undefined elementId.`);if(!n.state.currentRoute)return void v.log(`[${Sv}] User Interaction Tracing can not create transaction without a current route.`);const o=wn(),s=o&&!Dy(o);if(o&&s)return void v.warn(`[${Sv}] Did not create ${a} transaction because active transaction ${on(o).description} exists on the scope.`);const l=`${n.state.currentRoute}.${i}`;if(o&&on(o).description===l&&on(o).op===a)return void v.warn(`[${Sv}] Did not create ${a} transaction because it the same transaction ${on(o).description} already exists on the scope.`);const c=Ye(),u={name:l,op:a,scope:c};
2Ny(c);const d=Ry(u,{idleTimeout:n.options.idleTimeoutMs,finalTimeout:n.options.finalTimeoutMs});return d.setAttribute(ot,ey),((e,t)=>{if(!Lc(t)||!Pc(t))return void v.warn("Not sampling childless spans only works for Sentry Transactions (Root Spans).");const n=e.on("spanEnd",e=>{e===t&&(n(),vn(t).length<=1&&(v.log(`Not sampling as ${on(t).op} transaction has no child spans.`),Ug(t,"no_child_spans")))})})(t,d),v.log(`[${Sv}] User Interaction Tracing Created ${a} transaction ${l}.`),d};let Ev,Av,Tv=0;function Iv(){return++Tv}function Rv(e){if(Ev){if(!(Date.now()-Ev.receivedAtMs>e))return Ev;Ev=void 0}}function Ov(e){const t=Ev;if(Ev=void 0,t&&!(Date.now()-t.receivedAtMs>e))return t}function Dv(e){Av=e}function Nv(e){const t=$y(e),n=t.indexOf("/",t.indexOf("//")+2);if(-1===n)return t;return t.slice(0,n)+t.slice(n).replace(/\/([0-9]+|[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{8,})(?=\/|$)/gi,"/<id>")}function jv(e,t){!function(e,t){const n={url:e,receivedAtMs:Date.now(),source:t,seq:Iv()};(null===Av||void 0===Av?void 0:Av(n))||(Ev=n)}(e,t);const n=function(e){var t,n,r;return null!==(r=null===(n=null===(t=qe())||void 0===t?void 0:t.getOptions())||void 0===n?void 0:n.sendDefaultPii)&&void 0!==r&&r?e:Nv(e)}(e);Ke({category:"deeplink",type:"navigation",message:n,data:{url:n}})}const Fv=()=>{let e;return{name:"DeepLink",setup(t){const n=function(){var e;try{return null!==(e=r(94868).Linking)&&void 0!==e?e:null}catch(t){return null}}();n&&(null===e||void 0===e||e.remove(),n.getInitialURL().then(e=>{e&&jv(e,"cold-start")}).catch(()=>{}),e=n.addEventListener("url",e=>{(null===e||void 0===e?void 0:e.url)&&jv(e.url,"warm-open")}),t.on("close",()=>{null===e||void 0===e||e.remove(),e=void 0}))}}};let Mv;var Vv=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};const Pv=new hv({ttl:6e4}),Lv="ReactNavigation";const Bv=({routeChangeTimeoutMs:t=1e3,enableTimeToInitialDisplay:n=!1,ignoreEmptyBackNavigationTransactions:r=!0,enableTimeToInitialDisplayForPreloadedRoutes:i=!1,useDispatchedActionData:a=!1,useFullPathsForNavigationRoutes:o=!1,enablePrefetchTracking:s=!1}={})=>{let l,c,u,d,p,f,h,m=Ty,g=!1;const y=new WeakMap,b=(e,t)=>{const n=Rv(t);if(n){if("warm-open"===n.source){const t=y.get(e);if(void 0===t||t<=n.seq)return}Ov(t),Wv(e,n)}},_=e=>"cold-start"===e.source&&(p&&zv(p)?Wv(p,e):!(!h||!zv(h))&&Wv(h,e));let w,k=!1,S=!1,x=[];n&&$l.initNativeReactNavigationNewFrameTracking().catch(e=>{v.error(`${Lv} Failed to initialize native new frame tracking: ${e}`)});const C=(e,i=!1)=>{var o,l,c,d;const h=e,b=null===(l=null===(o=null===h||void 0===h?void 0:h.data)||void 0===o?void 0:o.action)||void 0===l?void 0:l.type,_=function(e){var t,n;const r=null===(n=null===(t=null===e||void 0===e?void 0:e.data)||void 0===t?void 0:t.action)||void 0===n?void 0:n.payload;if(r&&"object"===typeof r&&"name"in r&&"string"===typeof r.name)return r.name;return}(h),k=function(){const e=Mv;return Mv=void 0,e}();if(!h||i||(null===(c=h.data)||void 0===c?void 0:c.noop)||Ke({category:"navigation.dispatch",type:"navigation",message:_?`Dispatched ${null!==b&&void 0!==b?b:"NAVIGATE"} to ${_}`:`Dispatched ${null!==b&&void 0!==b?b:"NAVIGATE"}`,data:Object.assign(Object.assign({},b?{action_type:b}:void 0),_?{to:_}:void 0),level:"info"}),a&&(null===h||void 0===h?void 0:h.data.noop))return void v.log(`${Lv} Navigation action is a noop, not starting navigation span.`);const S=a?b:void 0;if(s&&"PRELOAD"===S){const e=null===h||void 0===h?void 0:h.data.action,n=null===e||void 0===e?void 0:e.payload,r=n&&"object"===typeof n&&"name"in n&&"string"===typeof n.name?n.name:"Unknown Route";v.log(`${Lv} Starting prefetch span for route: ${r}`);const i=tr({op:"navigation.prefetch",name:`Prefetch ${r}`,attributes:{"route.name":r}});return f=i,void(w=setTimeout(()=>{f===i&&(v.log(`${Lv} Prefetch span timed out for route: ${r}`),null===i||void 0===i||i.setStatus({code:1}),null===i||void 0===i||i.end(),f=void 0)},t))}if(a&&S&&["PRELOAD","SET_PARAMS","OPEN_DRAWER","CLOSE_DRAWER","TOGGLE_DRAWER"].includes(S))return void v.log(`${Lv} Navigation action is ${S}, not starting navigation span.`);const x=a?_:void 0;if(a&&h&&!x&&!i)return void v.log(`${Lv} Navigation action has no route name in payload, not starting navigation span.`);p&&(v.log(`${Lv} A transaction was detected that turned out to be a noop, discarding.`),I(),R());const C=Oy();x&&(C.name=x);const E=C.name,A=(null===u||void 0===u?void 0:u.options.beforeStartSpan)?u.options.beforeStartSpan(C):C;g=A.name!==E,p=Iy(A,Object.assign(Object.assign({},m),{isAppRestart:i})),null===p||void 0===p||p.setAttribute(ot,ry),null===p||void 0===p||p.setAttribute("navigation.action_type",S),k&&p&&p.setAttribute("navigation.method",k.method),p&&y.set(p,Iv()),r&&qg(qe(),p);const T=p,O=null!==(d=A.name)&&void 0!==d?d:Ay;Jg(qe(),T,O,()=>p===T),n&&p&&($l.setActiveSpanId(p.spanContext().spanId),f=tr({op:"navigation.processing",name:"Navigation dispatch to navigation cancelled or screen mounted",startTime:on(p).start_timestamp}),f.setAttribute(ot,ry)),w=setTimeout(I,t)},E=()=>{var r,i,a,s;const m=be(),y=d;if(!l)return void v.warn(`${Lv} Missing navigation container ref. Route transactions will not be sent.`);const _=l.getCurrentRoute();if(!_)return void v.log(`[${Lv}] Navigation state changed, but no route is rendered.`);if(!p)return void v.log(`[${Lv}] Navigation state changed, but navigation transaction was not started on dispatch.`);var w,k;if(n&&(w=p.spanContext().spanId,k=$l.getNewScreenTimeToDisplay(),Pv.set(w,k)),(null===y||void 0===y?void 0:y.key)===_.key)return v.log(`[${Lv}] Navigation state changed, but route is the same as previous.`),b(p,t),T(_.key),d=_,void(p=void 0);
2const S=x.includes(_.key);let C,E,A,I=_.name,O=_.params;try{A=null===c||void 0===c?void 0:c()}catch(e){v.warn(`${Lv} Route override provider threw, falling back to React Navigation route.`,e)}if(null===A||void 0===A?void 0:A.templatedPath)I=A.templatedPath,C=A.templatedPath,E=A.concreteUrl,O=null!==(r=A.params)&&void 0!==r?r:_.params;else if(o){I=function(e){var t;if(!e)return;const n=[];let r=e;for(;r;){const e=null!==(t=r.index)&&void 0!==t?t:0,i=r.routes[e];(null===i||void 0===i?void 0:i.name)&&n.push(i.name),r=null===i||void 0===i?void 0:i.state}return n.length>0?n.join("/"):void 0}(l.getState())||_.name}b(p,t),h||(h=p),null===f||void 0===f||f.updateName(`Navigation dispatch to screen ${I} mounted`),null===f||void 0===f||f.setStatus({code:1}),null===f||void 0===f||f.end(m),f=void 0,g||p.updateName(I);const D=null!==(s=null===(a=null===(i=qe())||void 0===i?void 0:i.getOptions())||void 0===a?void 0:a.sendDefaultPii)&&void 0!==s&&s;p.setAttributes(Object.assign(Object.assign(Object.assign(Object.assign({"route.name":I,"route.key":_.key},C?{"route.path":C}:void 0),D&&E?{"route.url":E}:void 0),D?function(e,t){if(!t)return;const n=new Set,r=/\[(?:\.\.\.)?(\w+)\]/g;let i;for(;null!==(i=r.exec(e));)i[1]&&n.add(i[1]);if(0===n.size)return;const a={};for(const o of n)if(o in t){const e=t[o];a[`route.params.${o}`]=Array.isArray(e)?e.join("/"):String(null!==e&&void 0!==e?e:"")}return Object.keys(a).length>0?a:void 0}(I,O):void 0),{"route.has_been_seen":S,"previous_route.name":null===y||void 0===y?void 0:y.name,"previous_route.key":null===y||void 0===y?void 0:y.key,[rt]:"component",[at]:"navigation"})),R(),Ke({category:"navigation",type:"navigation",message:`Navigation to ${I}`,data:{from:null===y||void 0===y?void 0:y.name,to:I}}),null===u||void 0===u||u.setCurrentRoute(I),T(_.key),d=(null===A||void 0===A?void 0:A.templatedPath)||o?Object.assign(Object.assign({},_),{name:I}):_,p=void 0},T=e=>{x.push(e),x.length>200&&(x=x.slice(x.length-200))},I=()=>{p&&(Pc(p)&&Ug(p,"discarded_latest_navigation"),p.end(),p=void 0),f&&(f=void 0)},R=()=>{"undefined"!==typeof w&&(clearTimeout(w),w=void 0)};return{name:Lv,afterAllSetup:e=>{var t;u=Wy(e),u&&(m={finalTimeout:u.options.finalTimeoutMs,idleTimeout:u.options.idleTimeoutMs}),Dv(_),e.on("close",()=>{Dv(void 0)}),k||(null===(t=zg(e))||void 0===t||t.onRunApplication(()=>{k&&(v.log("[ReactNavigationIntegration] Starting new idle navigation span based on runApplication call."),C(void 0,!0))}),S=!0,l&&(C(),E(),k=!0))},registerNavigationContainer:e=>{let t;if(nl.__sentry_rn_v5_registered&&v.log(`${Lv} Instrumentation already exists, but registering again...`),t=A(e)&&"current"in e?e.current:e,l!==t)if(l=t,l){if(l.addListener("__unsafe_action__",C),l.addListener("state",E),nl.__sentry_rn_v5_registered=!0,!k){if(!p){if(!S)return void v.log(`${Lv} Navigation container registered before integration setup. Initial span will be created when setup completes.`);C()}E(),k=!0}}else v.warn(`${Lv} Received invalid navigation container ref!`);else v.log(`${Lv} Navigation container ref is the same as the one already registered.`)},_setRouteOverrideProvider:e=>{c=e},options:{routeChangeTimeoutMs:t,enableTimeToInitialDisplay:n,ignoreEmptyBackNavigationTransactions:r,enableTimeToInitialDisplayForPreloadedRoutes:i,useDispatchedActionData:a,useFullPathsForNavigationRoutes:o,enablePrefetchTracking:s}}},Hv=new WeakSet;function Wv(e,t){var n,r,i;if(Hv.has(e))return!1;Hv.add(e);const a=null!==(i=null===(r=null===(n=qe())||void 0===n?void 0:n.getOptions())||void 0===r?void 0:r.sendDefaultPii)&&void 0!==i&&i?t.url:Nv(t.url);return e.setAttributes({"navigation.trigger":"deeplink","deeplink.url":a,"deeplink.dispatch_delay_ms":Math.max(0,Date.now()-t.receivedAtMs)}),!0}function zv(e){return void 0===on(e).timestamp}function Yv(e){return e.getIntegrationByName(Lv)}const Uv="ttid",Xv="ttfd",Gv={ttid:new Map,ttfd:new Map};function qv(e,t){const n=Gv[e];let r=n.get(t);return r||(r={checkpoints:new Map,listeners:new Set,aggregateReady:!1,pendingUpFlip:null,sticky:new Set},n.set(t,r)),r}function Jv(e){null!==e.pendingUpFlip&&(clearTimeout(e.pendingUpFlip),e.pendingUpFlip=null)}function $v(e){if(0===e.checkpoints.size)return!1;for(const t of e.checkpoints.values())if(!t.ready)return!1;return!0}function Kv(e){const t=$v(e);if(t!==e.aggregateReady)return t?void(null===e.pendingUpFlip&&(e.pendingUpFlip=setTimeout(()=>{e.pendingUpFlip=null,$v(e)&&!e.aggregateReady&&(e.aggregateReady=!0,Zv(e))},0))):(Jv(e),e.aggregateReady=!1,void Zv(e));Jv(e)}function Zv(e){for(const t of e.listeners)t()}function Qv(e,t,n){0===n.checkpoints.size-n.sticky.size&&0===n.listeners.size&&(Jv(n),Gv[e].delete(t))}var eb=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};const tb="TimeToDisplay",nb=e=>e>3e4,rb=()=>{let e=!1;return{name:tb,afterAllSetup(t){var n,r;e=null!==(r=null===(n=Yv(t))||void 0===n?void 0:n.options.enableTimeToInitialDisplayForPreloadedRoutes)&&void 0!==r&&r},processEvent:t=>eb(void 0,void 0,void 0,function*(){var n,r,i;if("transaction"!==t.type)return t;const a=null===(r=null===(n=t.contexts)||void 0===n?void 0:n.trace)||void 0===r?void 0:r.span_id;if(!a)return v.warn(`[${tb}] No root span id found in transaction.`),t;const o=t.start_timestamp;if(!o)return v.warn(`[${tb}] No transaction start timestamp found in transaction.`),t;t.spans=t.spans||[],t.measurements=t.measurements||{};const s=yield function(e){return eb(this,arguments,void 0,function*({event:e,rootSpanId:t,transactionStartTimestampSeconds:n,enableTimeToInitialDisplayForPreloadedRoutes:r}){var i;const a=yield $l.popTimeToDisplayFor(`ttid-${t}`);e.spans=e.spans||[];let o=null===(i=e.spans)||void 0===i?void 0:i.find(e=>e.op===Kg);if(o&&(void 0===o.status||"ok"===o.status)&&!a)return v.log(`[${tb}] Ttid span already exists and is ok.`,o),o;if(!a)return v.log(`[${tb}] No manual ttid end timestamp found for span ${t}.`),function(e){return eb(this,arguments,void 0,function*({event:e,rootSpanId:t,transactionStartTimestampSeconds:n,enableTimeToInitialDisplayForPreloadedRoutes:r}){var i,a,o,s,l,c;const u=yield $l.popTimeToDisplayFor(`ttid-navigation-${t}`),d=yield(p=t,Vv(void 0,void 0,void 0,function*(){return Pv.get(p)}));var p;if((null===(o=null===(a=null===(i=e.contexts)||void 0===i?void 0:i.trace)||void 0===a?void 0:a.data)||void 0===o?void 0:o[zy])&&!r)return void v.log(`[${tb}] Route has been seen and time to initial display is disabled for preloaded routes.`);const f=null!==u&&void 0!==u?u:d;if(!f)return void v.log(`[${tb}] No automatic ttid end timestamp found for span ${t}.`);const h=null===(l=null===(s=e.contexts)||void 0===s?void 0:s.app)||void 0===l?void 0:l.view_names,m=Array.isArray(h)?h[0]:h,g=qy({status:nb(1e3*(f-n))?"deadline_exceeded":"ok",op:Kg,description:m?`${m} initial display`:"Time To Initial Display",start_timestamp:n,timestamp:f,origin:iy,parent_span_id:t,data:{[jy]:Fy}});return e.spans=null!==(c=e.spans)&&void 0!==c?c:[],e.spans.push(g),g})}({event:e,rootSpanId:t,transactionStartTimestampSeconds:n,enableTimeToInitialDisplayForPreloadedRoutes:r});const s=nb(1e3*(a-n))?"deadline_exceeded":"ok";return(null===o||void 0===o?void 0:o.status)&&"ok"!==o.status?(o.status=s,o.timestamp=a,v.log(`[${tb}] Updated existing ttid span.`,o),o):(o=qy({status:s,op:Kg,description:"Time To Initial Display",start_timestamp:n,timestamp:a,origin:ay,parent_span_id:t,data:{[jy]:Fy}}),v.log(`[${tb}] Added ttid span to transaction.`,o),e.spans.push(o),o)})}({event:t,rootSpanId:a,transactionStartTimestampSeconds:o,enableTimeToInitialDisplayForPreloadedRoutes:e}),l=yield function(e){return eb(this,arguments,void 0,function*({event:e,rootSpanId:t,transactionStartTimestampSeconds:n,ttidSpan:r}){var i;const a=yield $l.popTimeToDisplayFor(`ttfd-${t}`);if(!r||!a)return;e.spans=e.spans||[];let o=null===(i=e.spans)||void 0===i?void 0:i.find(e=>e.op===Zg),s=a;r.timestamp&&a<r.timestamp&&r.timestamp&&(s=r.timestamp);const l=nb(1e3*(s-n))?"deadline_exceeded":"ok";return(null===o||void 0===o?void 0:o.status)&&"ok"!==o.status?(o.status=l,o.timestamp=s,v.log(`[${tb}] Updated existing ttfd span.`,o),o):(o=qy({status:l,op:Zg,description:"Time To Full Display",start_timestamp:n,timestamp:s,origin:ay,parent_span_id:t,data:{[jy]:Fy}}),v.log(`[${tb}] Added ttfd span to transaction.`,o),e.spans.push(o),o)})}({event:t,rootSpanId:a,transactionStartTimestampSeconds:o,ttidSpan:s}),c=(null===s||void 0===s?void 0:s.start_timestamp)&&(null===s||void 0===s?void 0:s.timestamp)?1e3*(s.timestamp-s.start_timestamp):void 0,u=void 0!==c&&nb(c);void 0===c||u||(t.measurements.time_to_initial_display={value:c,unit:"millisecond"});const d=(null===l||void 0===l?void 0:l.start_timestamp)&&(null===l||void 0===l?void 0:l.timestamp)?1e3*(l.timestamp-l.start_timestamp):void 0,p=void 0!==d&&nb(d);void 0!==d&&(p?t.measurements.time_to_initial_display&&(t.measurements.time_to_full_display=t.measurements.time_to_initial_display):t.measurements.time_to_full_display={value:d,unit:"millisecond"});const f=Math.max(!u&&(null===s||void 0===s?void 0:s.timestamp)?s.timestamp:-1,!p&&(null===l||void 0===l?void 0:l.timestamp)?l.timestamp:-1,null!==(i=t.timestamp)&&void 0!==i?i:-1);return-1!==f&&(t.timestamp=f),function(e){for(const t of[Uv,Xv]){const n=Gv[t].get(e);n&&(Jv(n),Gv[t].delete(e))}}(a),t})}};function ib(e){return void 0===e?void 0:e>=400&&e<500?"warning":e>=500?"error":void 0}const ab=1024,ob=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){t.console&&uo(function(e){return function(t){if(qe()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:fl(t.level),message:le(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${le(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}Ke(n,{input:t.args,level:t.level})}}(e)),t.dom&&yp(function(e,t){return function(n){if(qe()!==e)return;let r,i,a="object"===typeof t?t.serializeAttribute:void 0,o="object"===typeof t&&"number"===typeof t.maxStringLength?t.maxStringLength:void 0;o&&o>ab&&(go&&v.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=ab),"string"===typeof a&&(a=[a]
2);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=pd(t,{keyAttrs:a,maxStringLength:o}),i=function(e,t=5){if(!yo.HTMLElement)return null;let n=e;for(let r=0;r<t;r++){if(!n)return null;if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}(t)}catch{r="<unknown>"}if(0===r.length)return;const s={category:`ui.${n.name}`,message:r};i&&(s.data={"ui.component_name":i}),Ke(s,{event:n.event,name:n.name,global:n.global})}}(e,t.dom)),t.xhr&&dp(function(e){return function(t){if(qe()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[up];if(!n||!r||!i)return;const{method:a,url:o,status_code:s,body:l}=i,c={method:a,url:o,status_code:s},u={xhr:t.xhr,input:l,startTimestamp:n,endTimestamp:r},d={category:"xhr",data:c,type:"http",level:ib(s)};e.emit("beforeOutgoingRequestBreadcrumb",d,u),Ke(d,u)}}(e)),t.fetch&&cy(function(e){return function(t){if(qe()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const i={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},a={category:"fetch",data:t.fetchData,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",a,i),Ke(a,i)}else{const i=t.response,a={...t.fetchData,status_code:i?.status},o={input:t.args,response:i,startTimestamp:n,endTimestamp:r},s={category:"fetch",data:a,type:"http",level:ib(a.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",s,o),Ke(s,o)}}}(e)),t.history&&_p(function(e){return function(t){if(qe()!==e)return;let n=t.from,r=t.to;const i=qu(bo.location.href);let a=n?qu(n):void 0;const o=qu(r);a?.path||(a=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),Ke({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){qe()===e&&Ke({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:fe(t)},{event:t})}}(e))}}};const sb=(e={})=>{var t,n,r;const i=Object.assign(Object.assign({xhr:!0,console:!0,sentry:!0},e),{fetch:null!==(t=e.fetch)&&void 0!==t?t:Pl()||Ll(),dom:!!Pl()&&(null===(n=e.dom)||void 0===n||n),history:!!Pl()&&(null===(r=e.history)||void 0===r||r)});return ob(i)};function lb(e){if(null===e)return"";switch(typeof e){case"string":default:return e;case"boolean":return 1==e?"True":"False";case"number":case"bigint":return`${e}`;case"undefined":return;case"symbol":return e.toString()}}const cb=()=>({name:"PrimitiveTagIntegration",setup(e){e.on("beforeSendEvent",e=>{e.tags&&Object.keys(e.tags).forEach(t=>{e.tags[t]=lb(e.tags[t])})})},afterAllSetup(){$l.enableNative&&$l._setPrimitiveProcessor(e=>lb(e))}}),ub="turbo_module",db="turbo_module.name",pb="turbo_module.method";let fb=0;const hb=[];function mb(){return hb[hb.length-1]}function gb(){return hb.slice()}function yb(t){var n;const r={name:t.name,method:t.method,kind:t.kind,startedAtMs:Date.now(),callId:fb++,scope:null!==(n=t.scope)&&void 0!==n?n:Ue()};hb.push(r);try{bb(r)}catch(e){throw hb.pop(),e}return r.callId}function vb(e){let t;const n=hb[hb.length-1];if((null===n||void 0===n?void 0:n.callId)===e)t=hb.pop();else{const n=hb.findIndex(t=>t.callId===e);if(n<0)return;[t]=hb.splice(n,1)}if(!t)return;let r;for(let o=hb.length-1;o>=0;o--){const e=hb[o];if(e&&e.scope===t.scope){r=e;break}}var i;r?bb(r):((i=t.scope).setContext(ub,null),i.setTag(db,""),i.setTag(pb,""));const a=hb[hb.length-1];a&&a!==r&&bb(a)}function bb(e){e.scope.setContext(ub,{name:e.name,method:e.method,kind:e.kind,started_at_ms:e.startedAtMs,call_id:e.callId}),e.scope.setTag(db,e.name),e.scope.setTag(pb,e.method)}let _b=new WeakSet;function wb(t,n,r={}){var i;if(!n)return n;if(_b.has(n))return n;const a=new Set(null!==(i=r.skip)&&void 0!==i?i:[]),o=function(e){const t=new Set;let n=e;for(;n&&n!==Object.prototype;){for(const e of Object.getOwnPropertyNames(n))"constructor"!==e&&t.add(e);n=Object.getPrototypeOf(n)}return Array.from(t)}(n);if(0===o.length)return bs(`[TurboModuleTracker] No methods discovered on '${t}' \u2014 TurboModule context will not be attached for this module. This usually means the module is a JSI HostObject that only materialises methods on first access.`),n;let s=!1;const l=n;for(const d of o){if(a.has(d))continue;let n;try{n=l[d]}catch(c){continue}if("function"!==typeof n)continue;const r=n,i=function(...n){let i,a;try{i=yb({name:t,method:d,kind:"sync"})}catch(e){bs(`[TurboModuleTracker] push failed for ${t}.${d}: ${String(e)}`)}try{a=r.apply(this,n)}catch(e){throw kb(i,t,d),e}return xb(a)?(Sb(i,"async",t,d),a.then(e=>(kb(i,t,d),e),e=>{throw kb(i,t,d),e})):(kb(i,t,d),a)};try{l[d]=i,s=!0}catch(u){}}return s?_b.add(n):bs(`[TurboModuleTracker] '${t}' has methods but none could be wrapped \u2014 TurboModule context will not be attached. This usually means the module is frozen or its methods are non-writable accessors.`),n}function kb(t,n,r){if(void 0!==t)try{vb(t)}catch(e){bs(`[TurboModuleTracker] pop failed for ${n}.${r}: ${String(e)}`)}}function Sb(t,n,r,i){if(void 0!==t)try{!function(e,t){const n=hb.find(t=>t.callId===e);n&&n.kind!==t&&(n.kind=t,hb[hb.length-1]===n&&bb(n))}
2(t,n)}catch(e){bs(`[TurboModuleTracker] relabel failed for ${r}.${i}: ${String(e)}`)}}function xb(e){if(!e||"object"!==typeof e&&"function"!==typeof e)return!1;try{return"function"===typeof e.then}catch(t){return!1}}const Cb=["addListener","removeListeners","setContext","setTag","setExtra","setUser","addBreadcrumb","clearBreadcrumbs","setAttribute","setAttributes","removeAttribute"],Eb=(e={})=>({name:"TurboModuleContext",setupOnce(){var t;wb("RNSentry",Gl(),{skip:Cb});for(const n of null!==(t=e.modules)&&void 0!==t?t:[])wb(n.name,n.module,{skip:n.skipMethods})}});var Ab=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};const Tb=()=>({name:"LogEnricher",setup(t){t.on("afterInit",()=>{(function(){return Ab(this,void 0,void 0,function*(){var t,n,r,i,a,o;try{const e=yield $l.fetchNativeLogAttributes();Ib=Object.assign(Object.assign(Object.assign({},(null===(t=null===e||void 0===e?void 0:e.contexts)||void 0===t?void 0:t.device)&&{brand:null===(n=e.contexts.device)||void 0===n?void 0:n.brand,model:null===(r=e.contexts.device)||void 0===r?void 0:r.model,family:null===(i=e.contexts.device)||void 0===i?void 0:i.family}),(null===(a=null===e||void 0===e?void 0:e.contexts)||void 0===a?void 0:a.os)&&{os:e.contexts.os.name,version:e.contexts.os.version}),(null===(o=null===e||void 0===e?void 0:e.contexts)||void 0===o?void 0:o.release)&&{release:e.contexts.release})}catch(e){return Promise.reject(`[LOGS]: Failed to prepare attributes from Native Layer: ${e}`)}return Promise.resolve()})})().then(()=>{t.on("beforeCaptureLog",e=>{!function(e,t){var n;if(void 0===Ib)return;const r=null!==(n=e.attributes)&&void 0!==n?n:{},i=function(){const e={};return Ob(Xe(),e),Ob(Ue(),e),Ob(Ye(),e),e}();
2Object.keys(i).forEach(e=>{Rb(r,e,i[e],!1)}),Rb(r,"device.brand",Ib.brand),Rb(r,"device.model",Ib.model),Rb(r,"device.family",Ib.family),Rb(r,"os.name",Ib.os),Rb(r,"os.version",Ib.version),Rb(r,"sentry.release",Ib.release);const a=t.getIntegrationByName("MobileReplay");Rb(r,"sentry.replay_id",null===a||void 0===a?void 0:a.getReplayId()),e.attributes=r}(e,t)})},e=>{v.log(e)})})}});let Ib;function Rb(e,t,n,r=!0){null==n||e[t]&&!r||(e[t]=n)}function Ob(e,t){var n;if(e&&"function"===typeof e.getScopeData){const r=(null===(n=null===e||void 0===e?void 0:e.getScopeData)||void 0===n?void 0:n.call(e).attributes)||{};Object.keys(r).forEach(e=>{const n=r[e];"string"!==typeof n&&"number"!==typeof n&&"boolean"!==typeof n||(t[e]=n)})}}function Db(e){if(Mb(e))return`persisted ${e.operationName}`;if(Fb(e)){const{query:t,operationName:n}=e,{operationName:r=n,operationType:i}=function(e){const t=/^(?:\s*)(query|mutation|subscription)(?:\s*)(\w+)(?:\s*)[{(]/,n=/^(?:\s*)(query|mutation|subscription)(?:\s*)[{(]/,r=e.match(t);if(r)return{operationType:r[1],operationName:r[2]};const i=e.match(n);if(i)return{operationType:i[1],operationName:void 0};return{operationType:void 0,operationName:void 0}}(t);return r?`${i} ${r}`:`${i}`}return"unknown"}function Nb(e){let t;if("xhr"in e){const n=e.xhr[up];t=n&&sp(n.body)[0]}else{t=sp(lp(e.input))[0]}return t}function jb(e){return"object"===typeof e&&null!==e}function Fb(e){return jb(e)&&"string"===typeof e.query}function Mb(e){return jb(e)&&"string"===typeof e.operationName&&jb(e.extensions)&&jb(e.extensions.persistedQuery)&&"string"===typeof e.extensions.persistedQuery.sha256Hash&&"number"===typeof e.extensions.persistedQuery.version}function Vb(e){try{const t=JSON.parse(e);return Fb(t)||Mb(t)?t:void 0}catch{return}}const Pb=e=>({name:"GraphQLClient",setup(t){!function(e,t){e.on("beforeOutgoingRequestSpan",(e,n)=>{const r=on(e).data||{};if(!("http.client"===r[at]))return;const i=r[mt]||r["http.url"]||r.url,a=r[ht]||r["http.method"];if(!x(i)||!x(a))return;const{endpoints:o}=t,s=ue(i,o),l=Nb(n);if(s&&l){const t=Vb(l);if(t){const n=Db(t);e.updateName(`${a} ${i} (${n})`),Fb(t)&&e.setAttribute("graphql.document",t.query),Mb(t)&&(e.setAttribute("graphql.persisted_query.hash.sha256",t.extensions.persistedQuery.sha256Hash),e.setAttribute("graphql.persisted_query.version",t.extensions.persistedQuery.version))}}})}(t,e),function(e,t){e.on("beforeOutgoingRequestBreadcrumb",(e,n)=>{const{category:r,type:i,data:a}=e;if("http"===i&&("fetch"===r||"xhr"===r)){const e=a?.url,{endpoints:r}=t,i=ue(e,r),o=Nb(n);if(i&&a&&o){const e=Vb(o);if(!a.graphql&&e){const t=Db(e);a["graphql.operation"]=t,Fb(e)&&(a["graphql.document"]=e.query),Mb(e)&&(a["graphql.persisted_query.hash.sha256"]=e.extensions.persistedQuery.sha256Hash,a["graphql.persisted_query.version"]=e.extensions.persistedQuery.version)}}}})}(t,e)}});
2function Lb(e){return Pb({endpoints:e.endpoints})}const Bb=["reauthenticate","signInAnonymously","signInWithOAuth","signInWithIdToken","signInWithOtp","signInWithPassword","signInWithSSO","signOut","signUp","verifyOtp"],Hb=["createUser","deleteUser","listUsers","getUserById","updateUserById","inviteUserByEmail"],Wb={eq:"eq",neq:"neq",gt:"gt",gte:"gte",lt:"lt",lte:"lte",like:"like","like(all)":"likeAllOf","like(any)":"likeAnyOf",ilike:"ilike","ilike(all)":"ilikeAllOf","ilike(any)":"ilikeAnyOf",is:"is",in:"in",cs:"contains",cd:"containedBy",sr:"rangeGt",nxl:"rangeGte",sl:"rangeLt",nxr:"rangeLte",adj:"rangeAdjacent",ov:"overlaps",fts:"",plfts:"plain",phfts:"phrase",wfts:"websearch",not:"not"},zb=["select","insert","upsert","update","delete"];function Yb(e){try{e.__SENTRY_INSTRUMENTED__=!0}catch{}}function Ub(e){try{return e.__SENTRY_INSTRUMENTED__}catch{return!1}}function Xb(e,t){return Object.keys(t).length>0?t:Array.isArray(e)&&e.length>0?e:void 0}function Gb(e,t){if(""===t||"*"===t)return"select(*)";if("select"===e)return`select(${t})`;if("or"===e||e.endsWith(".or"))return`${e}${t}`;const[n,...r]=t.split(".");let i;return i=n?.startsWith("fts")?"textSearch":n?.startsWith("plfts")?"textSearch[plain]":n?.startsWith("phfts")?"textSearch[phrase]":n?.startsWith("wfts")?"textSearch[websearch]":n&&Wb[n]||"filter",`${i}(${e}, ${r.join(".")})`}function qb(e,t=!1){return new Proxy(e,{apply:(n,r,i)=>Qn({name:`auth ${t?"(admin) ":""}${e.name}`,attributes:{[ot]:"auto.db.supabase",[at]:"db","db.system":"postgresql","db.operation":`auth.${t?"admin.":""}${e.name}`}},e=>Reflect.apply(n,r,i).then(t=>(t&&"object"===typeof t&&"error"in t&&t.error?(e.setStatus({code:2}),Or(t.error,{mechanism:{handled:!1,type:"auto.db.supabase.auth"}})):e.setStatus({code:1}),e.end(),t)).catch(t=>{throw e.setStatus({code:2}),e.end(),Or(t,{mechanism:{handled:!1,type:"auto.db.supabase.auth"}}),t}).then(...i))})}function Jb(e,t){Ub(e.prototype.from)||(e.prototype.from=new Proxy(e.prototype.from,{apply(e,n,r){const i=Reflect.apply(e,n,r);return function(e,t){for(const n of zb)Ub(e.prototype[n])||(e.prototype[n]=new Proxy(e.prototype[n],{apply(e,r,i){const a=Reflect.apply(e,r,i
2),o=a.constructor;return d&&v.log(`Instrumenting ${n} operation's PostgRESTFilterBuilder`),$b(o,t),a}}),Yb(e.prototype[n]))}(i.constructor,t),i}}),Yb(e.prototype.from))}function $b(e,t){Ub(e.prototype.then)||(e.prototype.then=new Proxy(e.prototype.then,{apply(e,n,r){const i=zb,a=n,o=function(e,t={}){switch(e){case"GET":return"select";case"POST":return t.Prefer?.includes("resolution=")?"upsert":"insert";case"PATCH":return"update";case"DELETE":return"delete";default:return"<unknown-op>"}}(a.method,a.headers);if(!i.includes(o))return Reflect.apply(e,n,r);if(!a?.url?.pathname||"string"!==typeof a.url.pathname)return Reflect.apply(e,n,r);const s=a.url.pathname.split("/"),l=s.length>0?s[s.length-1]:"",c=[];for(const[t,w]of a.url.searchParams.entries())c.push(Gb(t,w));const u=Object.create(null);if(A(a.body))for(const[t,w]of Object.entries(a.body))u[t]=w;const d=qe(),p=t.sendOperationData??!0===d?.getDataCollectionOptions().userInfo,f=Xb(a.body,u),h="select"===o?"":`${o}${m=a.body,g=u,void 0!==Xb(m,g)?"(...) ":""}`;var m,g;const y=p?c.join(" "):c.length>0?"[redacted]":"",v=[h.trimEnd(),y].filter(Boolean).join(" "),b=v?`${v} from(${l})`:`from(${l})`,_={"db.table":l,"db.schema":a.schema,"db.url":a.url.origin,"db.sdk":a.headers["X-Client-Info"],"db.system":"postgresql","db.operation":o,[ot]:"auto.db.supabase",[at]:"db"};return c.length&&p&&(_["db.query"]=c),void 0!==f&&p&&(_["db.body"]=f),Qn({name:b,attributes:_},t=>Reflect.apply(e,n,[]).then(e=>{if(t&&(e&&"object"===typeof e&&"status"in e&&Nt(t,e.status||500),t.end()),e?.error){const t=new Error(e.error.message);e.error.code&&(t.code=e.error.code),e.error.details&&(t.details=e.error.details);const n={};c.length&&p&&(n.query=c),void 0!==f&&p&&(n.body=f),Or(t,e=>(e.addEventProcessor(e=>(me(e,{handled:!1,type:"auto.db.supabase.postgres"}),e)),e.setContext("supabase",n),e))}const n={type:"supabase",category:`db.${o}`,message:b},r={};return c.length&&p&&(r.query=c),void 0!==f&&p&&(r.body=f),Object.keys(r).length&&(n.data=r),Ke(n),e},e=>{throw t&&(Nt(t,500),t.end()),e}).then(...r))}}),Yb(e.prototype.then))}const Kb=(e,t={})=>{if(!e)return void(d&&v.warn("Supabase integration was not installed because no Supabase client was provided."));Jb(e.constructor===Function?e:e.constructor,t),function(e){const t=e.auth;if(t&&!Ub(e.auth)){for(const n of Bb){const r=t[n];r&&"function"===typeof e.auth[n]&&(e.auth[n]=qb(r))}for(const n of Hb){const r=t.admin[n];r&&"function"===typeof e.auth.admin[n]&&(e.auth.admin[n]=qb(r,!0))}Yb(e.auth)}}(e)},Zb=e=>((e,t)=>({setupOnce(){Kb(e,t)},name:"Supabase"}))(e.supabaseClient,{sendOperationData:e.sendOperationData});function Qb(e){return Zb({supabaseClient:e.supabaseClient})}const e_="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),t_=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&D(bo,"setTimeout",n_),t.setInterval&&D(bo,"setInterval",n_),t.requestAnimationFrame&&D(bo,"requestAnimationFrame",r_),t.XMLHttpRequest&&"XMLHttpRequest"in bo&&D(XMLHttpRequest.prototype,"send",i_);const e=t.eventTarget;if(e){(Array.isArray(e)?e:e_).forEach(e=>function(e,t){const n=bo,r=n[e]?.prototype;if(!r?.hasOwnProperty?.("addEventListener"))return;D(r,"addEventListener",function(n){return function(r,i,a){try{"function"===typeof i.handleEvent&&(i.handleEvent=ko(i.handleEvent,{mechanism:{data:{handler:Q(i),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&function(e,t,n){e&&"object"===typeof e&&"removeEventListener"in e&&"function"===typeof e.removeEventListener&&e.removeEventListener(t,n)}(this,r,i),n.apply(this,[r,ko(i,{mechanism:{data:{handler:Q(i),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),a])}}),D(r,"removeEventListener",function(e){return function(t,n,r){try{if(Object.prototype.hasOwnProperty.call(n,"__sentry_wrapped__")){const i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}}catch{}return e.call(this,t,n,r)}})}(e,t))}}}};function n_(e){return function(...t){const n=t[0];return t[0]=ko(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${Q(e)}`}}),e.apply(this,t)}}function r_(e){return function(t){return e.apply(this,[ko(t,{mechanism:{data:{handler:Q(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function i_(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e
2=>{e in n&&"function"===typeof n[e]&&D(n,e,function(t){const n={mechanism:{data:{handler:Q(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=F(t);return r&&(n.mechanism.data.handler=Q(r)),ko(t,n)})}),e.apply(this,t)}}const a_=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!s_(e,t))return!1;if(!o_(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=l_(t),r=l_(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!s_(e,t))return!1;if(!o_(e,t))return!1;return!0}(e,t))return!0;return!1}(t,e))return d&&v.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}};function o_(e,t){let n=ee(e),r=ee(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let i=0;i<r.length;i++){const e=r[i],t=n[i];if(e.filename!==t.filename||e.lineno!==t.lineno||e.colno!==t.colno||e.function!==t.function)return!1}return!0}function s_(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch{return!1}}function l_(e){return e.exception?.values?.[0]}let c_;const u_=new WeakMap,d_=()=>({name:"FunctionToString",setupOnce(){c_=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=F(this),n=u_.has(qe())&&void 0!==t?t:this;return c_.apply(n,e)}}catch{}},setup(e){u_.set(e,!0)}});let p_=null;function f_(){p_=s.onerror,s.onerror=function(e,t,n,r,i){return lo("error",{column:r,error:i,line:n,msg:e,url:t}),!!p_&&p_.apply(this,arguments)},s.onerror.__SENTRY_INSTRUMENTED__=!0}const h_=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(!function(e){!function(e){const t="error";oo(t,e),so(t,f_)}(t=>{const{stackParser:n,attachStacktrace:r}=g_();if(qe()!==e||wo())return;const{msg:i,url:a,line:o,column:s,error:l}=t,c=function(e,t,n,r){const i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},l=s.frames=s.frames||[];0===l.length&&l.push({colno:r,lineno:n,filename:y_(t)??vo(),function:G,in_app:!0});return e}(vc(n,l||i,void 0,r,!1),a,o,s);c.level="error",Nr(c,{originalException:l,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}(e),m_("onerror")),t.onunhandledrejection&&(!function(e){nc(t=>{const{stackParser:n,attachStacktrace:r}=g_();if(qe()!==e||wo())return;const i=function(e){if(E(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),a=E(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:vc(n,i,void 0,r,!0);a.level="error",Nr(a,{originalException:i,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}(e),m_("onunhandledrejection"))}}};function m_(e){go&&v.log(`Global Handler attached: ${e}`)}function g_(){const e=qe();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function y_(e){if(x(e)&&0!==e.length)return e.startsWith("data:")?`<${Ju(e,!1)}>`:e}const v_="[Filtered]",b_=["forwarded","-ip","remote-","via","-user"],__=["auth","token","secret","session","password","passwd","pwd","key","jwt","bearer","sso","saml","csrf","xsrf","credentials","sid","identity","set-cookie","cookie"],w_=[".sid","sessid","remember","oidc","pkce","nonce","__secure-","__host-","awsalb","awselb","akamai","__stripe","cognito","firebase","supabase","sb-","mfa","2fa"];function k_(e,t){return t.some(t=>e.includes(t))}function S_(e,t,n){if(!1===t)return{};const r=null!=n?[...__,...n]:__,i={};if(!0===t){for(const t of Object.keys(e))i[t]=k_(t.toLowerCase(),r)?v_:e[t];return i}if("deny"in t){const n=t.deny.map(e=>e.toLowerCase());for(const t of Object.keys(e)){const a=t.toLowerCase(),o=k_(a,r)||n.some(e=>a.includes(e));i[t]=o?v_:e[t]}return i}const a=t.allow.map(e=>e.toLowerCase());for(const o of Object.keys(e)){const t=o.toLowerCase();if(k_(t,r))i[o]=v_;else{const n=a.some(e=>t.includes(e));i[o]=n?e[o]:v_}}return i}function x_(e,t){if(!1===t)return{};try{const n=function(e){const t={};let n=0;for(;n<e.length;){const r=e.indexOf("=",n);if(-1===r)break;let i=e.indexOf(";",n);if(-1===i)i=e.length;else if(i<r){n=e.lastIndexOf(";",r-1)+1;continue}const a=e.slice(n,r).trim();if(void 0===t[a]){let n=e.slice(r+1,i).trim();
234===n.charCodeAt(0)&&(n=n.slice(1,-1));try{t[a]=-1!==n.indexOf("%")?decodeURIComponent(n):n}catch{t[a]=n}}n=i+1}return t}(e);return 0===Object.keys(n).length?{}:S_(n,t,w_)}catch{return v_}}const C_=(t={})=>{const n={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...t};return{name:"HttpClient",setup(t){!function(e,t){if(!id())return;cy(n=>{if(qe()!==e)return;const{response:r,args:i,error:a,virtualError:o}=n,[s,l]=i;r&&function(e,t,n,r,i){if(T_(e,n.status,n.url)){const e=function(e,t){if(!t&&e instanceof Request)return e;if(e instanceof Request&&e.bodyUsed)return e;return new Request(e,t)}(t,r);let a,o,s,l;const c=R_();if(!1!==c.requestHeaders&&(a=S_(A_(e.headers),c.requestHeaders)),!1!==c.responseHeaders&&(o=S_(A_(n.headers),c.responseHeaders)),!1!==c.cookies){const t=e.headers.get("Cookie")||void 0;if(t){const e=x_(t,c.cookies);"object"===typeof e&&(s=e)}const r=n.headers.get("Set-Cookie")||void 0;if(r){const e=x_(r,c.cookies);"object"===typeof e&&(l=e)}}Nr(I_({url:e.url,method:e.method,status:n.status,requestHeaders:a,responseHeaders:o,requestCookies:s,responseCookies:l,error:i,type:"fetch"}))}}(t,s,r,l,a||o)},!1)}(t,n),function(t,n){if(!("XMLHttpRequest"in s))return;dp(r=>{if(qe()!==t)return;const{error:i,virtualError:a}=r,o=r.xhr,s=o[up];if(!s)return;const{method:l,request_headers:c}=s;try{!function(e,t,n,r,i){if(T_(e,t.status,t.responseURL)){let e,a,o;const s=R_();if(!1!==s.cookies)try{const e=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;if(e){const t=x_(e,s.cookies);"object"===typeof t&&(a=t)}}catch{}if(!1!==s.responseHeaders)try{o=S_(function(e){const t=e.getAllResponseHeaders();if(!t)return{};return t.split("\r\n").reduce((e,t)=>{const[n,r]=t.split(": ");return n&&r&&(e[n]=r),e},{})}(t),s.responseHeaders)}catch{}!1!==s.requestHeaders&&(e=S_(r,s.requestHeaders));Nr(I_({url:t.responseURL,method:n,status:t.status,requestHeaders:e,responseHeaders:o,responseCookies:a,error:i,type:"xhr"}))}}(n,o,l,c,i||a)}catch(e){go&&v.warn("Error while extracting response event form XHR response",e)}})}(t,n)}}};function E_(e){if(e){const t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}function A_(e){const t={};return e.forEach((e,n)=>{t[n]=e}),t}function T_(e,t,n){return function(e,t){return e.some(e=>"number"===typeof e?e===t:t>=e[0]&&t<=e[1])}(e.failedRequestStatusCodes,t)&&(r=e.failedRequestTargets,i=n,r.some(e=>"string"===typeof e?i.includes(e):e.test(i)))&&!$u(n,qe());var r,i}function I_(e){const t=qe(),n=t&&e.error&&e.error instanceof Error?e.error.stack:void 0,r=n&&t?t.getOptions().stackParser(n,0,1):void 0,i=`HTTP Client Error with status code: ${e.status}`,a={message:i,exception:{values:[{type:"Error",value:i,stacktrace:r?{frames:r}:void 0}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:E_(e.responseHeaders)}}};return me(a,{type:`auto.http.client.${e.type}`,handled:!1}),a}function R_(){const e=qe();if(!e)return{cookies:!1,requestHeaders:!1,responseHeaders:!1};const t=e.getOptions();if(null==t.dataCollection){const e=Boolean(t.sendDefaultPii);return{cookies:e,requestHeaders:e,responseHeaders:e}}const{cookies:n,httpHeaders:r}=e.getDataCollectionOptions();return{cookies:n,requestHeaders:r.request,responseHeaders:r.response}}const O_=()=>({name:"HttpContext",preprocessEvent(e){if(!bo.navigator&&!bo.location&&!bo.document)return;const t=So(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}},processSegmentSpan(e){const t=e.attributes?.[at];if(!bo.navigator&&!bo.location&&!bo.document)return;const n=So();ed(e,{"url.full":"http.client"!==t?n.url:void 0,"http.request.header.user_agent":n.headers["User-Agent"],"http.request.header.referer":n.headers.Referer})}});function D_(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}const N_=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],j_=(e={})=>{let t;return{name:"EventFilters",setup(n){const r=n.getOptions();t=M_(e,r)},processEvent(n,r,i){if(!t){const n=i.getOptions();t=M_(e,n)}return function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;const n=e.transaction;return!!n&&ue(n,t)}(e,t.ignoreTransactions))return d&&v.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${fe(e)}`),!0}else{if(function(e,t){if(!t?.length)return!1;return D_(e).some(e=>ue(e,t))}(e,t.ignoreErrors))return d&&v.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${fe(e)}`),!0;if(function(e){if(!e.exception?.values?.length)return!1;return!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value)}(e))return d&&v.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${fe(e)}`),!0;if(function(e,t){if(!t?.length)return!1;const n=V_(e);return!!n&&ue(n,t)}(e,t.denyUrls))return d&&v.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${fe(e)}.\nUrl: ${V_(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;const n=V_(e);return!n||ue(n,t)}(e,t.allowUrls))return d&&v.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${fe(e)}.\nUrl: ${V_(e)}`),!0}return!1}(n,t)?null:n}}},F_=(e={})=>({...j_(e),name:"InboundFilters"});function M_(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:N_],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function V_(e){try{const t=[...e.exception?.values??[]].reverse().find(e=>void 0===e.mechanism?.parent_id&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return d&&v.error(`Cannot extract url for event ${fe(e)}`),null}}function P_(e,t,n,r,i,a){if(!i.exception?.values||!a||!R(a.originalException,Error))return;const o=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;o&&(i.exception.values=L_(e,t,r,a.originalException,n,i.exception.values,o,0))}
2function L_(e,t,n,r,i,a,o,s){if(a.length>=n+1)return a;let l=[...a];if(R(r[i],Error)){H_(o,s,r);const a=e(t,r[i]),c=l.length;W_(a,i,c,s),l=L_(e,t,n,r[i],i,[a,...l],a,c)}return B_(r)&&r.errors.forEach((a,c)=>{if(R(a,Error)){H_(o,s,r);const u=e(t,a),d=l.length;W_(u,`errors[${c}]`,d,s),l=L_(e,t,n,a,i,[u,...l],u,d)}}),l}function B_(e){return Array.isArray(e.errors)}function H_(e,t,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...B_(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function W_(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}const z_=(e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){P_(uc,i.getOptions().stackParser,n,t,e,r)}}},Y_=(e={})=>{const{depth:t=3,captureErrorCause:n=!0}=e;return{name:"ExtraErrorData",processEvent(e,r,i){const{maxValueLength:a}=i.getOptions();return function(e,t={},n,r,i){if(!t.originalException||!_(t.originalException))return e;const a=t.originalException.name||t.originalException.constructor.name,o=U_(t.originalException,r,i);if(o){const t={...e.contexts},r=re(o,n);return A(r)&&(N(r,U,!0),t[a]=r),{...e,contexts:t}}return e}(e,r,t,n,a)}}};function U_(e,t,n){try{const r=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],i={};for(const t of Object.keys(e)){if(-1!==r.indexOf(t))continue;const a=e[t];i[t]=_(a)||"string"===typeof a?n?se(`${a}`,n):`${a}`:a}if(t&&void 0!==e.cause)if(_(e.cause)){const t=e.cause.name||e.cause.constructor.name;i.cause={[t]:U_(e.cause,!1,n)}}else i.cause=e.cause;if("function"===typeof e.toJSON){const t=e.toJSON();for(const e of Object.keys(t)){const n=t[e];i[e]=_(n)?n.toString():n}}return i}catch(r){d&&v.error("Unable to extract extra data from the Error object:",r)}return null}function X_(e){return ln({trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||"",start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:e.status&&"ok"!==e.status&&"cancelled"!==e.status?"error":"ok",is_segment:!1,attributes:{...e.data},links:e.links})}function G_(e){return"object"===typeof e&&"function"===typeof e.unref&&e.unref(),e}const q_=Symbol.for("SentryBufferFullError");function J_(e=100){const t=new Set;function n(e){t.delete(e)}return{get $(){return Array.from(t)},add:function(r){if(!(t.size<e))return mr(q_);const i=r();return t.add(i),i.then(()=>n(i),()=>n(i)),i},drain:function(e){if(!t.size)return hr(!0);const n=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return n;const r=[n,new Promise(t=>G_(setTimeout(()=>t(!1),e)))];return Promise.race(r)}}}function $_(e,t,n=J_(e.bufferSize||64)){let r={};return{send:function(i){const a=[];if(Mn(i,(t,n)=>{const i=Wn(n);Zu(r,i)?e.recordDroppedEvent("ratelimit_backoff",i):a.push(t)}),0===a.length)return Promise.resolve({});const o=jn(i[0],a),s=t=>{!function(e,t){return Mn(e,(e,n)=>t.includes(n))}(o,["client_report"])?Mn(o,(n,r)=>{e.recordDroppedEvent(t,Wn(r))}):d&&v.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`)};return n.add(()=>t({body:Pn(o)}).then(e=>413===e.statusCode?(d&&v.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),s("send_error"),e):(d&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&v.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=Qu(r,e),e),e=>{throw s("network_error"),d&&v.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===q_)return d&&v.error("Skipped sending event because buffer is full."),s("queue_overflow"),Promise.resolve({});throw e})},flush:e=>n.drain(e)}}const K_={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],queryParams:!0,genAI:{inputs:!0,outputs:!0},stackFrameVariables:!0,frameContextLines:5};function Z_(e){const t=null!=e.dataCollection?K_:!0===e.sendDefaultPii?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],queryParams:!0,genAI:{inputs:!0,outputs:!0}
2,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:b_},httpHeaders:{request:{deny:b_},response:{deny:b_}},httpBodies:[],queryParams:{deny:b_},genAI:{inputs:!1,outputs:!1},stackFrameVariables:!0,frameContextLines:7};const n=e.dataCollection??{};return{userInfo:n.userInfo??t.userInfo,cookies:n.cookies??t.cookies,httpHeaders:{request:n.httpHeaders?.request??t.httpHeaders.request,response:n.httpHeaders?.response??t.httpHeaders.response},httpBodies:n.httpBodies??t.httpBodies,queryParams:n.queryParams??t.queryParams,genAI:{inputs:n.genAI?.inputs??t.genAI.inputs,outputs:n.genAI?.outputs??t.genAI.outputs},stackFrameVariables:n.stackFrameVariables??t.stackFrameVariables,frameContextLines:n.frameContextLines??t.frameContextLines}}const Q_="Not capturing exception because it's already been captured.",ew="Discarded session because of missing or non-string release",tw=Symbol.for("SentryInternalError"),nw=Symbol.for("SentryDoNotSendEventError");function rw(e){return{message:e,[tw]:!0}}function iw(e){return{message:e,[nw]:!0}}function aw(e){return!!e&&"object"===typeof e&&tw in e}function ow(e){return!!e&&"object"===typeof e&&nw in e}function sw(e,t,n,r,i){let a,o=0,s=!1;e.on(n,()=>{o=0,clearTimeout(a),s=!1}),e.on(t,t=>{if(o+=r(t),o>=8e5)i(e);else if(!s){const t=e.getOptions()._flushInterval??5e3;t>0&&(s=!0,a=G_(setTimeout(()=>{i(e)},t)))}}),e.on("flush",()=>{i(e)})}class lw{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=J_(e.transportOptions?.bufferSize??64),this._dataCollection=Z_(e),e.dsn?this._dsn=qt(e.dsn):d&&v.warn("No DSN provided, client will not send events."),this._dsn){const t=mo(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&sw(this,"afterCaptureLog","flushLogs",fw,cs);(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&sw(this,"afterCaptureMetric","flushMetrics",pw,Ds)}captureException(e,t,n){const r=de();if(ge(e))return d&&v.log(Q_),r;const i={event_id:r,...t};return this._process(()=>this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n)).then(e=>e),"error"),i.event_id}captureMessage(e,t,n,r){const i={event_id:de(),...n},a=C(e)?e:String(e),o=E(e),s=o?this.eventFromMessage(a,t,i):this.eventFromException(e,i);return this._process(()=>s.then(e=>this._captureEvent(e,i,r)),o?"unknown":"error"),i.event_id}captureEvent(e,t,n){const r=de();if(t?.originalException&&ge(t.originalException))return d&&v.log(Q_),r;const i={event_id:r,...t},a=e.sdkProcessingMetadata||{},o=a.capturedSpanScope,s=a.capturedSpanIsolationScope,l=cw(e.type);return this._process(()=>this._captureEvent(e,i,o||n,s),l),i.event_id}captureSession(e){this.sendSession(e),Se(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){const t=this._transport;if(this.emit("flush"),!t)return!0;const n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){cs(this);const t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(e){const t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),tt(this,e,this._integrations),t||et(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);const n=function(e,t){if("transaction"!==e.type||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||!1===t.getOptions().streamGenAiSpans||It(t))return;const n=[],r=[];for(const a of e.spans)a.op?.startsWith("gen_ai.")?n.push(X_(a)):r.push(a);if(0===n.length)return;e.spans=r;const i=t.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:n.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...is()&&{ingest_settings:{infer_ip:i,infer_user_agent:i}},items:n}]}(e,this);let r=function(e,t,n,r){const i=zn(n),a=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return e;const n=e.sdk||{};e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,n?.sdk);const o=Yn(e,i,r,t);return delete e.sdkProcessingMetadata,jn(o,[[{type:a},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(const i of t.attachments||[])r=Fn(r,Bn(i));n&&(r=Fn(r,n)),this.sendEnvelope(r).then(t=>
2this.emit("afterSendEvent",e,t))}sendSession(e){const{release:t,environment:n=xn}=this._options;if("aggregates"in e){const r=e.attrs||{};if(!r.release&&!t)return void(d&&v.warn(ew));r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t)return void(d&&v.warn(ew));e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);const r=function(e,t,n,r){const i=zn(n);return jn({sent_at:new Date(Y()).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:Ut(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){const r=`${e}:${t}`;d&&v.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){const n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(t){return d&&v.error("Error while sending envelope:",t),{}}return d&&v.error("Transport disabled"),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&tt(e,t,n)}),n}(this,e),et(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1;const i=t.exception?.values;if(i){r=!0,n=!1;for(const e of i)if(!1===e.mechanism?.handled){n=!0;break}}const a="ok"===e.status;(a&&0===e.errors||a&&n)&&(Se(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){const i=this.getOptions(),a=this.getIntegrationNames();return!t.integrations&&a.length&&(t.integrations=a),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),Tr(i,e,t,n,this,r).then(e=>{if(null===e)return e;this.emit("postprocessEvent",e,t),e.contexts={trace:{...e.contexts?.trace,...Je(n)},...e.contexts};const r=On(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:r,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},n=Ye(),r=Ue()){return d&&uw(e)&&v.log(`Captured error event \`${D_(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{d&&(ow(e)?v.log(e.message):aw(e)?v.warn(e.message):v.warn(e))})}_processEvent(e,t,n,r){const i=this.getOptions(),{sampleRate:a}=i,o=dw(e),s=uw(e),l=`before send for type \`${e.type||"error"}\``,c="undefined"===typeof a?void 0:Rt(a);if(s&&"number"===typeof c&&z()>c)return this.recordDroppedEvent("sample_rate","error"),mr(iw(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));const u=cw(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",u),iw("An event processor returned `null`, will not send event.");if(!0===t.data?.__sentry__)return e;const n=function(e,t,n,r){const{beforeSend:i,beforeSendTransaction:a,ignoreSpans:o}=t,s=!Nn(t.beforeSendSpan)&&t.beforeSendSpan;let l=n;if(uw(l)&&i)return i(l,r);if(dw(l)){if(s||o){const t=function(e){const{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:a,data:o,op:s}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:s,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??"",origin:a,profile_id:o?.[pt],exclusive_time:o?.[ft],measurements:e.measurements,is_segment:!0}}(l);if(o?.length&&Ct({description:t.description,op:t.op,attributes:t.data},o))return null;if(s){const e=s(t);e?l=xe(n,{type:"transaction",timestamp:(c=e).timestamp,start_timestamp:c.start_timestamp,transaction:c.description,contexts:{trace:{trace_id:c.trace_id,span_id:c.span_id,parent_span_id:c.parent_span_id,op:c.op,status:c.status,origin:c.origin,data:{...c.data,...c.profile_id&&{[pt]:c.profile_id},...c.exclusive_time&&{[ft]:c.exclusive_time}}}},measurements:c.measurements}):kn()}if(l.spans){const t=[],n=l.spans;for(const e of n)if(o?.length&&Ct({description:e.description,op:e.op,attributes:e.data},o))At(n,e);else if(s){const n=s(e);n?t.push(n):(kn(),t.push(e))}else t.push(e);const r=l.spans.length-t.length;r&&e.recordDroppedEvent("before_send","span",r),l.spans=t}}if(a){if(l.spans){const e=l.spans.length;l.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(l,r)}}var c;return l}(this,i,e,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if(I(e))return e.then(e=>{if(!A(e)&&null!==e)throw rw(n);return e},e=>{throw rw(`${t} rejected with ${e}`)});if(!A(e)&&null!==e)throw rw(n);return e}(n,l)}).then(i=>
2{if(null===i){if(this.recordDroppedEvent("before_send",u),o){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw iw(`${l} returned \`null\`, will not send event.`)}const a=n.getSession()||r.getSession();if(s&&a&&this._updateSessionFromEvent(a,i),o){const e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const c=i.transaction_info;if(o&&c&&i.transaction!==e.transaction){const e="custom";i.transaction_info={...c,source:e}}return this.sendEvent(i,t),i}).then(null,e=>{if(ow(e)||aw(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),rw(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===q_&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){d&&v.log("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(d&&v.log("No outcomes to send"));if(!this._dsn)return void(d&&v.log("No dsn provided, will not send outcomes"));d&&v.log("Sending outcomes:",e);const t=(n=e,jn((r=this._options.tunnel&&Ut(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:i||ye(),discarded_events:n}]]));var n,r,i;this.sendEnvelope(t)}}function cw(e){return"replay_event"===e?"replay":e||"error"}function uw(e){return void 0===e.type}function dw(e){return"transaction"===e.type}function pw(e){let t=0;return e.name&&(t+=2*e.name.length),t+=8,t+hw(e.attributes)}function fw(e){let t=0;return e.message&&(t+=2*e.message.length),t+hw(e.attributes)}function hw(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*mw(e[0]):E(e)?t+=mw(e):t+=100}),t}function mw(e){return"string"===typeof e?2*e.length:"number"===typeof e?8:"boolean"===typeof e?4:0}function gw(e){"aggregates"in e?void 0===e.attrs?.ip_address&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}var yw=r(14177);function vw(e){const t=`[Native] [${e.component}] ${e.message}`;switch(e.level.toLowerCase()){case"fatal":case"error":v.error(t);break;case"warning":v.warn(t);break;default:v.log(t)}}var bw=r(42907);class _w extends lw{constructor(e){var t,n,r,i;!function(e){0===(null===e||void 0===e?void 0:e.major)&&e.minor<70&&bw.default.ignoreLogs(["Require cycle:"])}(null===(t=tl.ReactNativeVersion)||void 0===t?void 0:t.version),e._metadata=Object.assign(Object.assign({},e._metadata),{sdk:Object.assign(Object.assign({},(null===(n=e._metadata)||void 0===n?void 0:n.sdk)||Oc),{settings:Object.assign({infer_ip:e.sendDefaultPii?"auto":"never"},null===(i=null===(r=e._metadata)||void 0===r?void 0:r.sdk)||void 0===i?void 0:i.settings)})}),e.parentSpanIsAlwaysRootSpan=void 0===e.parentSpanIsAlwaysRootSpan||e.parentSpanIsAlwaysRootSpan;const a=e.enableLogs;e.enableLogs&&"native"===e.logsOrigin&&(v.log("disabling Sentry logs on JavaScript due to rule set by logsOrigin"),e.enableLogs=!1),super(e),this._outcomesBuffer=[],!0===e.sendDefaultPii&&this.on("beforeSendSession",gw),e.enableLogs&&(this.on("flush",()=>{cs(this)}),this.on("afterCaptureLog",()=>{this._logFlushIdleTimeout&&clearTimeout(this._logFlushIdleTimeout),this._logFlushIdleTimeout=setTimeout(()=>{cs(this)},5e3)})),e.enableLogs=a}eventFromException(e,t={}){return function(e,t,n,r){const i=vc(e,t,n?.syntheticException||void 0,r);return me(i),i.level="error",n?.event_id&&(i.event_id=n.event_id),hr(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t,n){return function(e,t,n="info",r,i){const a=bc(e,t,r?.syntheticException||void 0,i);return a.level=n,r?.event_id&&(a.event_id=r.event_id),hr(a)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}nativeCrash(){$l.nativeCrash()}close(){return this._removeNativeLogListener&&(this._removeNativeLogListener(),this._removeNativeLogListener=void 0),super.close().then(e=>$l.closeNativeSdk().then(()=>e))}captureUserFeedback(e){const t=function(e,{metadata:t,tunnel:n,dsn:r}){const i=Object.assign(Object.assign({event_id:e.event_id,sent_at:(new Date).toISOString()},(null===t||void 0===t?void 0:t.sdk)&&{sdk:{name:t.sdk.name,version:t.sdk.version}}),!!n&&!!r&&{dsn:Ut(r)}),a=function(e){return[{type:"user_report"},e]}(e);return jn(i,[a])}(e,{metadata:this._options._metadata,dsn:this.getDsn(),tunnel:void 0});this.sendEnvelope(t)}sendEnvelope(e){const t=this._clearOutcomes();this._outcomesBuffer=function(...e){const t=new Map,n=e=>{const n=`${e.reason}:${e.category}`,r=t.get(n);r?r.quantity+=e.quantity:t.set(n,e)};
2return e.forEach(e=>e.forEach(n)),[...t.values()]}(this._outcomesBuffer,t),this._options.sendClientReports&&this._attachClientReportTo(this._outcomesBuffer,e);let n=!0;return this._isEnabled()&&this._transport&&this._dsn?(this.emit("beforeEnvelope",e),this._transport.send(e).then(null,e=>{e instanceof gl?(n=!1,v.error("SentryError while sending event, keeping outcomes buffer:",e)):v.error("Error while sending event:",e)})):v.error("Transport disabled"),n&&(this._outcomesBuffer=[]),Promise.resolve({})}init(){super.init(),this._initNativeSdk()}on(e,t){return super.on(e,t)}emit(e,...t){super.emit(e,...t)}_initNativeSdk(){var e,t,n,r,i;if(this._options.debug){const t=null!==(e=this._options.onNativeLog)&&void 0!==e?e:vw;this._removeNativeLogListener=function(e){if("ios"===vl.default.OS||"android"===vl.default.OS){if(!Vl())if(yl.default.RNSentry)try{const t=new yw.default(yl.default.RNSentry).addListener("SentryNativeLog",t=>{var n,r,i;const a={level:null!==(n=t.level)&&void 0!==n?n:"info",component:null!==(r=t.component)&&void 0!==r?r:"Sentry",message:null!==(i=t.message)&&void 0!==i?i:""};e(a)});v.log("Native log listener set up successfully.");let n=!1;return()=>{n||(t.remove(),n=!0,v.log("Native log listener removed."))}}catch(t){return void v.warn("Failed to set up native log listener:",t)}else v.warn("Could not set up native log listener: RNSentry module not found.")}else v.log("Native log listener is only supported on iOS and Android.")}(t)}const a=this._integrations[Mu]&&"options"in this._integrations[Mu]?this._integrations[Mu]:void 0;$l.initNativeSdk(Object.assign(Object.assign({},this._options),{defaultSidecarUrl:xu(),devServerUrl:(null===(t=ol())||void 0===t?void 0:t.url)||"",mobileReplayOptions:a?Object.assign(Object.assign({},a.options),{networkDetailAllowUrls:Pu(a.options.networkDetailAllowUrls),networkDetailDenyUrls:Pu(a.options.networkDetailDenyUrls)}):void 0,profilingOptions:null!==(r=null===(n=this._options._experiments)||void 0===n?void 0:n.profilingOptions)&&void 0!==r?r:null===(i=this._options._experiments)||void 0===i?void 0:i.androidProfilingOptions})).then(e=>e,()=>(this._showCannotConnectDialog(),!1)).then(e=>{var t,n;null===(n=(t=this._options).onReady)||void 0===n||n.call(t,{didCallNativeInit:e}),this.emit("afterInit")}).then(void 0,e=>{v.error("The OnReady callback threw an error: ",e)})}_showCannotConnectDialog(){0}_attachClientReportTo(e,t){if(e.length>0){const n=[{type:"client_report"},{timestamp:ye(),discarded_events:e}];t[1].push(n)}}}function ww(t,n=ld("fetch")){let r=0,i=0;return $_(t,async function(a){const o=a.body.length;r+=o,i++;const s={body:a.body,method:"POST",referrerPolicy:"strict-origin",headers:t.headers,keepalive:r<=6e4&&i<15,...t.fetchOptions};try{const e=await n(t.url,s);return{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}}catch(e){throw sd["fetch"]=void 0,e}finally{r-=o,i--}},J_(t.bufferSize||40))}var kw=r(15009),Sw=r(26725),xw=r(60444),Cw=r(95620),Ew=r(70414),Aw=r(78264),Tw=r(73929),Iw=r(2772),Rw=r(15648),Ow=r(40484),Dw=r(6283),Nw=r(51690);const jw=(e,t)=>{Pl()&&"undefined"!==typeof nl.alert?nl.alert(`${e}\n${t}`):Nw.default.alert(e,t)},Fw={onFormOpen:()=>{},onFormClose:()=>{0},onAddScreenshot:e=>{0},onSubmitSuccess:()=>{},onSubmitError:()=>{},onFormSubmitted:()=>{0},showBranding:!0,isEmailRequired:!1,shouldValidateEmail:!0,isNameRequired:!1,showEmail:!0,showName:!0,enableScreenshot:!1,enableTakeScreenshot:!1,cancelButtonLabel:"Cancel",emailLabel:"Email",emailPlaceholder:"[email protected]",formTitle:"Report a Bug",isRequiredLabel:"(required)",messageLabel:"Description",messagePlaceholder:"What's the bug? What did you expect?",nameLabel:"Name",namePlaceholder:"Your Name",submitButtonLabel:"Send Bug Report",errorTitle:"Error",formError:"Please fill out all required fields.",emailError:"Please enter a valid email address.",captureScreenshotError:"Error capturing screenshot. Please try again.",successMessageText:"Thank you for your report!",addScreenshotButtonLabel:"Add a screenshot",removeScreenshotButtonLabel:"Remove screenshot",captureScreenshotButtonLabel:"Take a screenshot",genericError:"Unable to send feedback due to an unexpected error."},Mw={triggerLabel:"Report a Bug",triggerAriaLabel:""},Vw={triggerLabel:"Take Screenshot",triggerAriaLabel:""},Pw=e=>({triggerButton:{position:"absolute",bottom:30,right:30,backgroundColor:e.background,padding:15,borderRadius:40,justifyContent:"center",alignItems:"center",elevation:5,shadowColor:e.border,shadowOffset:{width:1,height:2},shadowOpacity:.5,shadowRadius:3,flexDirection:"row",borderWidth:1,borderColor:e.border},triggerText:{color:e.foreground,fontSize:18},triggerIcon:{width:24,height:24,padding:2,marginEnd:6,tintColor:e.sentryLogo}}),Lw=Pw,Bw={position:"absolute",top:0,left:0,right:0,bottom:0},Hw=e=>({backgroundColor:e.background,borderTopLeftRadius:16,borderTopRightRadius:16,overflow:"hidden",alignSelf:"stretch",shadowColor:"#000",shadowOffset:{width:0,height:-3},shadowOpacity:.1,shadowRadius:4,elevation:5,flex:1}),Ww={height:64},zw=e=>({container:{flex:1,padding:20,backgroundColor:e.background},title:{fontSize:24,fontWeight:"bold",marginBottom:20,textAlign:"left",flex:1,color:e.foreground},label:{marginBottom:4,fontSize:16,color:e.foreground},input:{height:50,borderColor:e.border,borderWidth:1,borderRadius:5,paddingHorizontal:10,marginBottom:15,fontSize:16,color:e.foreground},textArea:{height:100,textAlignVertical:"top",color:e.foreground},screenshotButton:{backgroundColor:e.background,padding:15,borderRadius:5,alignItems:"center",flex:1,borderWidth:1,borderColor:e.border},screenshotContainer:{flexDirection:"row",alignItems:"center",width:"100%",marginBottom:20}
2,screenshotThumbnail:{width:50,height:50,borderRadius:5,marginRight:10},screenshotText:{color:e.foreground,fontSize:16},takeScreenshotButton:{backgroundColor:e.background,padding:15,borderRadius:5,alignItems:"center",borderWidth:1,borderColor:e.border,marginTop:-10,marginBottom:20},takeScreenshotText:{color:e.foreground,fontSize:16},submitButton:{backgroundColor:e.accentBackground,paddingVertical:15,borderRadius:5,alignItems:"center",marginBottom:10},submitText:{color:e.accentForeground,fontSize:18},cancelButton:{backgroundColor:e.background,padding:15,borderRadius:5,alignItems:"center",borderWidth:1,borderColor:e.border},cancelText:{color:e.foreground,fontSize:16},titleContainer:{flexDirection:"row",width:"100%"},sentryLogo:{width:40,height:40,tintColor:e.sentryLogo}});function Yw(){const e=(()=>{const e=Yu();return(null===e||void 0===e?void 0:e.colorScheme)?e.colorScheme:"system"})(),t="system"===e?Ew.default.getColorScheme():e,n=Object.assign(Object.assign({},Uw),(()=>{const e=Yu();return e?e.themeLight:{}})()),r=Object.assign(Object.assign({},Xw),(()=>{const e=Yu();return e?e.themeDark:{}})());return"dark"===t?r:n}const Uw={accentBackground:"rgba(88, 74, 192, 1)",accentForeground:"#ffffff",foreground:"#2b2233",background:"#ffffff",border:"rgba(41, 35, 47, 0.13)",feedbackIcon:"rgba(54, 45, 89, 1)",sentryLogo:"rgba(54, 45, 89, 1)"},Xw={accentBackground:"rgba(88, 74, 192, 1)",accentForeground:"#ffffff",foreground:"#ebe6ef",background:"#29232f",border:"rgba(235, 230, 239, 0.15)",feedbackIcon:"#ffffff",sentryLogo:"#ffffff"};function Gw(){var e,t;(null===(e=qe())||void 0===e?void 0:e.getIntegrationByName(Wu))||null===(t=qe())||void 0===t||t.addIntegration(zu())}const qw="AutoInjectMobileFeedback";function Jw(){var e,t;(null===(e=qe())||void 0===e?void 0:e.getIntegrationByName(qw))||null===(t=qe())||void 0===t||t.addIntegration({name:qw})}const $w="AutoInjectMobileFeedbackButton";const Kw="ShakeToReport";function Zw(){var e,t;(null===(e=qe())||void 0===e?void 0:e.getIntegrationByName(Kw))||null===(t=qe())||void 0===t||t.addIntegration({name:Kw})}const Qw="AutoInjectMobileScreenshotButton";let ek=null;const tk=e=>new yw.default(e);function nk(t,n=tk){if(ek)return!1;if(Pl())return v.warn("Shake detection is not supported on Web."),!1;const r=Gl();if(!r)return v.warn("Native module is not available. Shake detection will not work."),!1;try{const e=n(r);ek=e.addListener("rn_sentry_on_shake",()=>{t()});const i=r;return i.enableShakeDetection?i.enableShakeDetection():v.warn("enableShakeDetection is not available on the native module."),!0}catch(e){return v.warn("Failed to start shake listener:",e),ek&&(ek.remove(),ek=null),!1}}function rk(){var t;if(ek){try{ek.remove()}catch(e){v.warn("Failed to remove shake subscription:",e)}ek=null;try{const e=Gl();null===(t=null===e||void 0===e?void 0:e.disableShakeDetection)||void 0===t||t.call(e)}catch(e){v.warn("Failed to disable native shake detection:",e)}}}const ik=()=>{};class ak{static get _feedbackComponentName(){throw new Error("Subclasses must override feedbackComponentName")}static initialize(e){this._setVisibility=e}static reset(){this._isVisible=!1,this._setVisibility=ik}static show(){this._setVisibility!==ik?(this._isVisible=!0,this._setVisibility(!0)):console.warn(`[Sentry] ${this._feedbackComponentName} requires 'Sentry.wrap(RootComponent)' to be called before 'show${this._feedbackComponentName}()'.`)}static hide(){this._setVisibility!==ik?(this._isVisible=!1,this._setVisibility(!1)):console.warn(`[Sentry] ${this._feedbackComponentName} requires 'Sentry.wrap(RootComponent)' before interacting with the widget.`)}static isFormVisible(){return this._isVisible}}ak._isVisible=!1;class ok extends ak{static get _feedbackComponentName(){return"FeedbackForm"}}class sk extends ak{static get _feedbackComponentName(){return"FeedbackButton"}}class lk extends ak{static get _feedbackComponentName(){return"ScreenshotButton"}}const ck=()=>{Jw(),ok.show()},uk=()=>{!function(){var e,t;(null===(e=qe())||void 0===e?void 0:e.getIntegrationByName($w))||null===(t=qe())||void 0===t||t.addIntegration({name:$w})}(),sk.show()},dk=()=>{sk.hide()},pk=()=>{Pl()?v.warn("ScreenshotButton is not supported on Web."):(!function(){var e,t;(null===(e=qe())||void 0===e?void 0:e.getIntegrationByName(Qw))||null===(t=qe())||void 0===t||t.addIntegration({name:Qw})}(),lk.show())};let fk=!1;const hk=()=>{Jw(),Zw(),fk||(fk=nk(ck))},mk=()=>{fk&&(rk(),fk=!1)};class gk extends Co.Component{constructor(e){super(e),Gw()}componentDidMount(){this._themeListener=Ew.default.addChangeListener(()=>{this.forceUpdate()})}componentWillUnmount(){this._themeListener&&this._themeListener.remove()}render(){var e,t,n;const r=Yw(),i=Object.assign(Object.assign({},Mw),this.props),a={triggerButton:Object.assign(Object.assign({},Pw(r).triggerButton),null===(e=this.props.styles)||void 0===e?void 0:e.triggerButton),triggerText:Object.assign(Object.assign({},Pw(r).triggerText),null===(t=this.props.styles)||void 0===t?void 0:t.triggerText),triggerIcon:Object.assign(Object.assign({},Pw(r).triggerIcon),null===(n=this.props.styles)||void 0===n?void 0:n.triggerIcon)};return Co.createElement(Rw.default,{style:a.triggerButton,onPress:ck,accessibilityLabel:i.triggerAriaLabel},Co.createElement(Ow.default,{source:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAAAk1BMVEUAAAAqIDEqIjMmIDArIjIrIjMoHjErITMrIjMqITIqITIqITIqIjIqITIqITIhHi4qITIqITIeAConHi8rITMqITIqITIcHCopITIpIDEpIDIlGC8qITIqITIpIDIpHjAqITIqIDIqIDEqIDAqITInHjAqIDIqIDEqITIqITIqIDIiFCgpIDEqITIoHS8qIDIrIjMN1S0HAAAAMHRSTlMAhnknzMQy1zyF6/H55PYQ0rIGGPudjAmUTEQUv7p2K6lmWDZxHV9S36J+DD7bI208pRBPAAAGrUlEQVR42uzd6XLaMBSG4Y/YhuAVbAwx+xp2eu7/6tq0nfaHIAizSNbR+5vJJM8EG45lGfrm7EZRSNL5bvcAg1oM6fZaBQxp/0HlylOY0PuRyjbco/L1unRHbVS9RYPuaoxKlzY7dF9xhgpXb9Hd1VDddiHdX4SqNnHpIU1QzcYhPaY5qpjj0aNaooL9iOlhvaFynYZEnAFmAXEGWI2IOAN8BsQZIGsTcQaY+0SMAQZT+hVfgLVPX3EFSLb0J6YARUR/YwmQ5PQvjgD9DcmWJ7hUraoANwy9owIwDuCGofc2gXEANwy9/TVgHMANQ+/pAMYBpLUOSebPAeMAbhh6tzOYByA/9A4+AeMAbhh6j1YwD0B+6B3MAOMAbhh6D09QAdCvtT33ecUkWfwDeD1Ab+yTHnknKABYHEmPwjGgAKAISY/cCV
2QAvGvy94c7QAVAEpEWtepQA/BBOtRppngYwDaDfAMt3gCNBVAeQKzxUciC/iAN6vZwJ4BYsC0gU5uUd3wHHgAgFu0yXE39IfCjhwcBiHWmE1yJFLfpA+UBJJpOtAbI93gwgFieaQsQFcDzAShYagqwTfAUADF3oiGAvwZeBUDxUjuA6QBPBBAbDbQC8OfAawFoU9cIoJ3h5QAUz3UBCD4BBQBESz0ARisoAqCmBgDBDFAGQB/KAaYrqASgrlKAVtcB1ALQThJgXX94px4A5QD0KQfgQP/KAYQH5gDkZ8wByOMOQE3DAfJZHtF3dd7NBngDsKh9Z9BIjQf41dyjizU5AACHFl0odFgAADOfztdmAoBsROfrMwEAxh06l8cGAEVM5+qzAcDCpzMN+QBgEtCZ6nwAcAhJbMsIAHMSixNGAPggsRkngF6DhDxOAKiHJJRxAjj3JvjBCmAgngvbrACwE88DKSuARPxIfGAFgFx8JS+AungQ4AUAYUAUMQMQ79pNeAH0hZe+8wJIY+FKKS8AuMLFcmYAubBihBnAUliwwgxgLQwGmQEIpwGXGcBCWLXEDGAiXCZmBlDn/h9w4H4MKIS5KDOAmfB9mBmA8HUwZwYgLBaoMQOIhItDvAAccZEAL4Cl8NIVLwDhEBDwmgmKeyV4vADG4v0jvACO4m0hrAAKEspYAYjrZl1WV4c/SajGCWAfkdCCE0BOQhtOa4TWJNZlBLDySczhA5A0SMzjs1I0HdKZ5mwAem06U8RmtXji0bmWXACcBp3L7zEBuPQcpyWPW2ayKZ1vk3IASMcBXWjN4La5/exIlxqZf+fopBvQxeKT2QD7fvdI3zU2++7xgK40NHz/gGsFK+YABfMtNJrMd5GZQgpgE4RR47F50/FEPYDXU7qXmFsoBmglKAGg316KZQEaGcoBaLWZanmAVqZ8O72vtokiAC/RYEPFr6K+EoB2T48tNb/66L0eoKnRrrJEjcWLAYK1VvsKE3V2LwVwHd12lhZ+pzIA8toa7i1OFC9fBODW9dxdnmi4egGAP8M3dahMemwyLQUQ1BJ8l/KnrLUHzwQIatd+vEeq84unARyXCa7VJPXl+2cAxNM+JJqQBm0Ojwbwp+se5BqRDnXTBwK0xnXIV++QDrXqT7k2WJmnjRGFb88CqMgD94i8kyIAjEmP4pkiALy3SI9GmRoAoL/dkA75czUAXyUnx3HpfHPnWjmdz/nTW0iSTRMFAFc/GL+X/mVuf/J+1DcSAGn3hoGhiQDAYSM/MDQSAPv8hqfwmggArH35JwQaCYBBW35gaCQA8BnIDwyNBMBqKD8wNBIAWMbyA0MjATBx5QeGRgIgbXbkB4YmAgCLI91flQHQ+z+H4QkA9CP6E1cAJFP6HVsAYO7TrxgD/HkMEGcAYBYzB8DJYw4AvIXMAVBvMQdA2mUOABw2zAHEgWH5xpUEAAqfHtO8ogDCwLBsk6oCCAPDckWoLoAwMCxTt8oAwsDw9uJVtQHguPeeBCsOIAwMb2uEygMAiwaVbZiYAFB+YJinMAIAWAzp9loFYAoA4OxGUUjS+W73AJgEUCILYAEsgAWwABbAAlgAC2ABLIAFsAAWwAJYAAtgASyABbAAFsACWAALYAEsgAWwABbAAlgAC2ABLIAFsAAWwAKUANg2r+WZDSCRBbAAFsAC/GyfXlIYhIIgitYgGHhoiMmDSPyAgqKz2v/qxIkL0JoU9NlB3+6OABEgAkSACBABnAP0FMvwslGsgpeBYjW8FBQbYeZNqbKFmYlSDex0FEp2BwB8V8rkPwwViSJ5gaX5QYlkuf/DZ0i8rWwM///0m7bni5flqh5dxt8BPG/wrQSMUX8AAAAASUVORK5CYII="},style:a.triggerIcon}),Co.createElement(Dw.default,{style:a.triggerText,testID:"sentry-feedback-button"},i.triggerLabel))}}var yk=r(51950),vk=r(92365),bk=r(16773);var _k=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};let wk;const kk=()=>_k(void 0,void 0,void 0,function*(){lk.hide(),setTimeout(()=>_k(void 0,void 0,void 0,function*(){const e=yield $l.captureScreenshot();wk=e&&e.length>0?e[0]:"ErrorCapturingScreenshot",ck()}),100)});class Sk extends Co.Component{constructor(e){super(e),Gw()}componentDidMount(){this._themeListener=Ew.default.addChangeListener(()=>{this.forceUpdate()})}componentWillUnmount(){this._themeListener&&this._themeListener.remove()}render(){var e,t,n;const r=Yw(),i=Object.assign(Object.assign({},Vw),this.props),a={triggerButton:Object.assign(Object.assign({},Lw(r).triggerButton),null===(e=this.props.styles)||void 0===e?void 0:e.triggerButton),triggerText:Object.assign(Object.assign({},Lw(r).triggerText),null===(t=this.props.styles)||void 0===t?void 0:t.triggerText),triggerIcon:Object.assign(Object.assign({},Lw(r).triggerIcon),null===(n=this.props.styles)||void 0===n?void 0:n.triggerIcon)};return Co.createElement(Rw.default,{style:a.triggerButton,onPress:kk,accessibilityLabel:i.triggerAriaLabel},Co.createElement(Ow.default,{source:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA+VemSAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAhGVYSWZNTQAqAAAACAAFARIAAwAAAAEAAQAAARoABQAAAAEAAABKARsABQAAAAEAAABSASgAAwAAAAEAAgAAh2kABAAAAAEAAABaAAAAAAAAAEgAAAABAAAASAAAAAEAA6ABAAMAAAABAAEAAKACAAQAAAABAAAA8KADAAQAAAABAAAA8AAAAAAm0kfIAAAACXBIWXMAAAsTAAALEwEAmpwYAAABWWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNi4wLjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyI+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8
2L3RpZmY6T3JpZW50YXRpb24+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgoZXuEHAAAh3klEQVR4Ae2dB7RlVXnHjcBQpFepMzh0HMqAHWNBNGBBjSV2Y6LG2KIus6LR2BJTLdhQ0ayFsFDJYmGwLYwFBKX3GdrAFAZmpFdRQWJ+v5m3J5fHO+/de+7d++w7831r/d49795z9v72/+xvt3PuPY96VFgoEAqEAqFAKBAKhAKhQCgQCgygwB8NsG+JXWeRySawPujbxpBsPTbS/w+wfT/8DtzvbngQajf932gCy7kh/AFKmDr9FtQtaXUn2/8LNVuqB+qmfmI9UbffgP4/BJZNc//fg+W0nqzVZqDUZPvhzJNge7ByHwL6aIXbuuf/a9k+B64GA+EEWAQ1mxXvCXAAzJ/YtrxWvl7rDWgro//7mqz3/7Sdjmnaz2MfDQvgXFgK/v9VuA1qti1wzjqhbgfBE2EPMDgvBAPVMlwGNvIbwE1gOa+Atdp6T3gXBfXkvAiOgseBwbgZeBKsYJtCqsS+Z1BrVvp7wJNny/wN+BwshWTpuPR/V6+W50/gpXAgWKbHQConm8XMhlDdHLkY9MdOcAevNVjvOdsOh6wbL4THg+de7dTNQNXsda0L9rj3gceL5bsX7KFPBgN6JZwJvdabX+/7Y7NtAUqaQXgw2BM9FnaA+WDLmk4KmwPbco44D86B88HW15PaxQnqzfNQfDBwnwdWQod+NZmjFnX7JajZJaD1lmH1O/n/pjzV6DBQt2fCvmBj3tYs453gNMty/gJs+G+G6yBsBgU8MVuCJ+JV8C2wdbQHGAXOgXrTOZX/nw42Fl2ZedswOTJwqNfrX43b+ngczIMup1UG7+Hwfcil049J+zvwEdgawmZQYEc+fx38FBzS5DoxvekaxLbiXdmBZHwiTG5cen2sbdvh9dfBkUJX9iwyzhm8vZovJa+/hW3BHn6YXp7D105zaGzL7hDGYUuvgLm3P0V+pVtYRxvayyF3+XKk/3v8fi84z+zCPkCmOco1VZo2WLeC06/Pw+SGK51LPqrXhpl3Ti5Vb4F348Oj4a3wfHAIXXpI64LYbXA5lDRHHG8A5/njZvZCG4OVelEB53vrjCvLb4J9CuRrFpbVOrI5mPcuE9vb82r5XRzr9Y9/135zdfXZ8Bm4ClLL18VQ0t7EFUh7kxInwsZwNnwcrodU9nF7tWf6NFjBS+jmvHc/+ALcBKX1SnXTgLXR+hEcBRvBOmX2sC+FM6D0SWjKz0bEBsVeJbeZh8PPZaA/qWI0+Vbz+z/D//kwyhEayU1pXon4JNwFtehmEB8J1duwK4620Iqu/QO8FuZALWZQHQAXgwtoOU0dnOeLVqL3Wp3T6P9uRZL7Q4nphw3dr8HzswXUoNsR+KHp2+mrtir94zCpraXgdajxEXgVzIGazOGzC2kbFnDK3sr5m/P9cbftKMA8GKZ+9KuB9cchdIlRUr8+ud9h8FFwYS2NRGpoXHBndObw532wEuyBasN58JUwG3KbvccvwTxr02FQf5wP/gRKzAP3JZ/FUJNu9rxJsxvYfgc4KtHWqiB+OwXyDpdU2Jpe00mwYuwJuW1rMrgFatJgGF+WUpYSvaIjpGH8LHHs7fhoXS8xkiOb/m2YIdKLyMbrnZv3n13RPVNLme6EKpG5K7hri5UqiwFoY1uz2Th/EP6mNicHCeAUEJbB4H0PHOY/Fdvv8M2FGF9zmz39Akhfa8udX870LcNCMLhym4tXniMb2pptJ5x7ATwPemOhU58HCWBPpvOAPwWD92ng5L7ESSabVubw/jwoEVTOG13tdrg17uaaxoVgmXKbq/YXgSvRtZtfTnk37AWDxE62cg3qxK548jp4Jnjd1+CtpjXCl8nmMPBGsHfMbeZxKdyRO6MC6dsrroASjXMK4HT5rUDxWmWhFi7qPQeOBlfqO7dBA9ivAO4NKSBqDl7FtSLqa4mKaG91GbiQNe6mbiV6X3UycC8BR0s1W29dfz2OGgdjZQ4fjgeDYRy4Aj/fBd7e2Ss+/2a1fyF1K+M4aDSVj+fg+2shXftkM7vNIocT4D6Yyqca3zsOXw+ATm2Qk/TnePo2GPburVIF/m8y+mcoPbdywWw3KHHpimxGbseSopUzjbJGnsEUCdrbm583dOw8xec1vuX5tcE5F5yqdWL9DqG3wbungnMAW8PaTWG9qaJ08KqLJ9TG41b/GTO7GX/VzRXhkqMWZfoxfB/u9Z8xsM3w8Ug4oktfZ+qBPYlO1u15nbxvBaVPLFkOZAbv1+C70EUQeU3TrzHa0NmjbALjYCtx8otwBjgFKG32wK7gO5x+PLhIWrt5951+/gD0vzpzOPMx8OTWOA+Z7JPBewzMha5tRxz4BFgpJ/tZ2/+e3w/DttC17YMDXwaHpbXpNJU/V+PnU8DRaXGbqQfeHI8OgcOgEwf7VMR554/h0/AtWAaK3aU5fF8Ep8J14OjFmwFqsntw5jT4DOhnDSvo9v4L4b/gJtgBamhYcGNKswd21OB1c/Usak0LUg6TDYBN4dmwIdRkLnrcCPYcVjpvBDgDFDFdT0xl4K1OTP2WT3AVr3fA28Gh1tawK3jiS5oNnUGxYgL1OgMuA+e9XZvnzJ73+gmu5dWG8A0Tr9vz6gKh+9VizoVfCI78iltTAKfe62A8svftyrweaYB6J5VzS0+mPi8Bb5q4EgwOW+zJlsow+f3S/1vZ9PvbYJBYQeeA2u4JNkYlzAVLA8JgXQBqtxhqst5zpm63wYkTr9aFvUDdZoMNoesLBpC9oOUzwEub+Xp/RCejhOlasqfi1HvgZdCF3U+mF8NXwIrm/wZtWCiQFJjHxpNhZ3CU6GKrC0td2LvI9CS4vYvMp8rzUN48AWwVS3If+Z0CrwB7qM3B+fcsCAsFehWwTmwF9rw7gPXlfXAFlKyz5nUWPBeqsTfiyQrILYRD45THJWx/AA6CjSEsFBhUgS05wLWGKyHVq946lt7L8fpXgzo77P5Nc2DTnQ87DptBH8c7jHceqOBfhJPgfggLBQZVwLp0F1iHDNB3wh4wXT3n45GZQ/kqbB+8OBlytFJTpXk5eb0JXIwICwWGUSCt6ziCc068CKaqczneO568bDCKmStoU9n+vFmqNXGh6vPgfPtBCAsFhlHAwNRctf5P+BncCyVsNpnsWyKjlEdTALuiV6o3PJO8vgERvOmsxOuoFPC6tzeEXDSqBGdIx3hab4Z9RvpxUwB7ja3E9cmbycfVO4UOCwVyKGAPbB0rYS6guSJezJoC2Avkue++cqhzGlxXrLSR0bqogJ3RuXBBgcLvRB5zC+SzJoumAH48e+yyZq98Gy40lBqq5ytFpFy7At4y6lA6t3m5qsTIdU05mgLY3lFym9/k8FbJsFAgpwLWZYMrt9nbF13LaQrg3XBkm8ylVVQXF27KnE8kHwrcjgTLC8jg3WDGTjFrCuDH4cF6kLMX9nrdDZnzIPmwUGBV77sksw7GivE0J3M+D0u+KYDTqrBBlssc0pS6QyZXGSLd8VEgd11LseI3zopZUwBfhQd+BS6X2UBcCl5sDwsFSihgfV4AOQPML+JcU6IwKY+mAF7IDjemnTK8WtDzIGcjkcHtSHKMFfBuLO/6y9lpLCb9K0pq1BTAtlQ5F5ccPv8Kiq7YlRQ28qpOATsNF01z98D+CEExawpgvxm0LKMXd5O23zjKuUiW0f1IegwVMIDtgf22Ui6zl0/rR7ny6Dtdv9vorY4G2Sixd38XeLdXWChQUgHr3DfBQBtlnTat78JzoBrzG0lfg1EX9ATS9A6ssFCgCwVeSKb2xNZrp3LD1O/e419JWmklms3uzeH1UeDdUqmQvQ6n9wZ5vYe03gphoUAXChhg9sKfAKdxg9Tdyfv2xoILV7uDVjSIvVmjyXTYCbkrxXNhWxjGOYctX4fvwK0QFgp0oYALp9Y/v6zjKLPtvfgpFgzeY6Day6IW9G3Q2xNPbo1m+t8FBAtpQxAWCtSggL86cyy4Kj1T/W363OD9C8h9kwhZDGf2vnvB6+F0mKpAvUOK9Lkrct+HN8AcmK7H5+OwUKCYArPIaTYcDB+GqTqoqeq0dXsFfAmOgM2hM+u35XAoLddNvBqIj4HNYM7EtkMKC7cUvIa8ErzudjY4vEg3baT9eCssFOhEAeugPe+yCZZP/P9qXh0t7gRzwP00p3/ucyMsAW9COgeuBYO8M0sO9uOA+xqg2tHg3MFfHzgA9gZbtGXgsMLWTK6CsFCgZgVSvfb778+E34KjzQPB9xxFWo9lIXiPhJdXw0KBUCAUCAVCgVAgFAgFQoFQIBQ
2IBUKBUCAUCAVCgVAgFAgFQoFQIBQIBUKBUCAUCAVCgVAgFAgFQoFQIBQIBUKBUCAUCAVCgVAgFAgFQoFQIBQIBUKBUCAUCAVCgVAgFAgFQoFQIBQIBUKBUCAUCAVCgVAgFAgFQoFQIBQIBUKBUCAUCAVCgVAgFAgFQoFQIBQIBUKBUCAUCAVCgZEqMMiPx48040gsFFjbFWgbXD5WZcsJtuJ1C/BxpD6W4g7wMaI+fsVnyNwPYaFA7QoYC6kuW5+3Buv5Q3A3WK99SsPv4QaowgYJYAPUoLRwT4CDYP4Ej+NVuxPOBR8/YeFPgF9CWChQqwLWaev27vAUmAc+LuiJYF3XFsH5cCvYOR0DBvRYmYX5M/gB+OAyWyUfWObzVn1mktha/QYspO+fBIdArw3SaPQeF9uhwKgU6K2Ddj4fggvBOm3dtQ5bl1O9ti5b133fB5x9EFJws1mn9RbSHvdzcA04JE4Fm+nVJxr6FLevwkthY9B60179TvwNBcookOqeI8RXwfdgOfQG7Ez1ejH7/wQ+Cr0dVEqbt+uwjXBDB48HW6CZCtb7+eRnqzqUfjlsCmGhQJcK2Hu+Bi6A3jo76LYxcRw45F4fqrO5eHQiOISwcJODctACG8QvhrBQoEsFHA0OG7wpFhxWfx327LJATXk/jQ8GDdKZ9rdB2K0pw3g/FCiggItQM9XTQT53Zfot4JWZoubqW5P5lPIXNn04xPtP5tiXDXF8HBoKDKpA79zU+ueQd5TmSvYr4cBRJjpMWg4H/hGWwiAtUb/7/g/p2kBM14DwcVgoMDIFXHs5HE4BLwH1W1f73c9e2NVpg7mYNQWQQ2fnqrMzebI36T4JXAkMCwVKKLAVmbwAjgK3DcxRmoF7MOw3ykRnSqspgB/gQFfYctksEvZGkHRZKVc+kW4okBRw0ckFp1Sve4fVaZ9hXx1V7jNsIoMc3xTA9pA6k8s2IWHnIRHAuRSOdCcr4GjPOaqXRnPZLiRcdDW6KYDtHXUmlzkfiSF0LnUj3akU2Hyiztl55DKvrngrZjFrCuAdM3vg8MU8HEqHhQIlFNiQTLaBHENn/U9z6h38p5Q1BbA3buS2dCE8dz6RfiigAinAcqmRGgZXo4tZUwAXcyAyCgVCgfYKRAC31y6ODAU6VyACuPNTEA6EAu0ViABur10cGQp0rkAEcOenIBwIBdorEAHcXrs4MhToXIEI4M5PQTgQCrRXIAK4vXZxZCjQuQIRwJ2fgnAgFGivQARwe+3iyFCgcwUigDs/BeFAKNBegQjg9trFkaFA5wpEAHd+CsKBUKC9AhHA7bWLI0OBzhWIAO78FIQDoUB7BSKA22sXR4YCnSsQAdz5KQgHQoH2CkQAt9cujgwFOlcgArjzUxAOhALtFYgAbq9dHBkKdK5ABHDnpyAcCAXaKxAB3F67ODIU6FyBCODOT0E4EAq0VyACuL12cWQo0LkCTQFc4hGJTXl3Lko4EAoMoUDRet2UmU9xy23m4dMZwkKBEgpY1x4qkNFvC+SxJoumAF7AHnet2Wv0GwbvRXD/6JOOFEOBKRW4l3cvht9N+elo3vTB4VeOJqn+UmkK4Ks4/Kb+kmi1130cdQFEALeSLw5qoYDPBb4Uco4ul5L+QihmTQFsD7wigxfpAVPrk7YtYokhTYZiRJJjqID1zVFfzgf3+WCz9ADxIhI1BbCtyKIMHvgENwu5GJZDTjFJPiwUWKOAo74L4eY174x2w57den3raJNtn9prJxyy1xwlDp1f1d6tODIUaK2AI7+vwu0wyjptWifAIVCNzcWTz8CoC3pcNSUMR9Y1BRwBPgPOAeu1K9PD1O/e448irersmXh0LqRC9jqc3hvk1YWxN0BYKNCVAhuQ8fvBNZ5B6u7kfVMs+HoWzAEtPeh79X+Z/643Q/q38bnDjV1gJ2iaM/PRjKZgx8L3IOclqhkdiR3WaQUMuJVgQO4Lj4E2ltZzfsHBjlS9fJTzElUbH9cc80q2fg4PgBeqJ7dGTf+7yiw3wIdge9CKtlKrs4y/ocDDFNiZ/z4By8EFKBdUm+rx5PddiPW9n8FLoHrbBA83hWfBt2FygZr+v5t9T4TnwlYQgYsIYVUo4OhzC9gG3gxeYmqqx5PfX8S+H4UDwYWxzqzfzNMNF2fgqT2whTeotwaHIZuDZkGvgutgKZwPCrMMbOXCQoFaFHBkaAejnQR2Lq8Gr+PuDtbrZHeyYdDK1WC9dsjstNAheWc2SI/ovgao9gww+A3gvWAOuDjg3OJaWAJLJ+AlLBSoVoFUr53eHQrOY2fD3rADOG20Pl8/wWJeDeiwUCAUqESBQTqySlwON0KBUCAUCAVCgVAgFAgFQoFQIBQ
2IBUKBUCAUCAVCgVAgFAgFQoFQIBQIBUKBUCAUCAVCgVAgFAgFQoFQIBQIBUKBUCAUCAVCgVAgFAgFQoFQIBQIBUKBUCAUCAVCgVAgFAgFQoFQIBQIBUKBUCAUCAVCgVAgFAgFQoFQIBQIBUKBUCAUCAVCgVAgFAgFQoFQIBQIBUKBKRWI39ydUpZ4MxQYXoG2weWjVB4LO8JO4C/Y+7iVO+BG8CnlPqnBx1DcC2GhwDgoYH22LsvO4PO8fJDZr+Am8LErPqlhIVRhgwSwAboZWLAnwrwJDuDVx1JoPpbiYrgGfGzj8fAD+AOEhQI1KrAhTtkh+SykJ0+87sfrfEjPDvORQZfA7eDzlD4FS2GsbBe8fQdcCLZCBqUPdvK1F99L7/+Q7SMgLBSoUQED1ED9HCyDVKdT/Z1cr/0/BfActqu23t75OXh6MvjA799Cb8Gm23b4vAR+DG8Ge3CtN+3V78TfUKCMAqnuOTy2Q7oIfFiZQ+Xp6nL6zOC+Ba6Dr8MzIFlKO/3f+eumeHA4fBccHqdC9PM6uRVz3vBW2BbCQoEuFXD95p3gVK+futy0jzFxCvwxzILqzEeHpjmshZgclE0Fa3p/AWm8vrpShkPrmgKvo8DXQlM97ef9FAv23KeCa0HV2XPxqJ/CDLLPaaS5f3UlDYfWJQW+RmEHqbP97Pt+0nT1uqg9eprc7H1fMs3nbT86mANf3vbgOC4UaKFA79z0SI53lXnU9goStG5XYT6p/Fjwem4/rc+g+5xFuo+DtEzPZlgokFWBLUndIPsp3AeD1tl+9v846W4MxaypB7aFOgxyLTjNIe0nwiYQFgqUUMAF2SeB13q9R8GAHLXNI8EcvXujn00B7JDDa725zIvnXn+LAM6lcKQ7lQIG7W8mPugdVk+1b5v3duEgbwgpZk0BbCviHVe5zMC1tSo63MhVmEh3LBTYDC/tNHLWOWNmz5JqNAXwgTiRc0XNIYxDaF/DQoESChjA1rmcAbwj6T++RGFSHk0BnOa+OeYJKe+t00a8hgIFFNiAPEp0GN7hVcyaAviOCQ9yzBNS4bwQ7k3kYaFACQVydka9/ntjRzFrCuAFeHBbZi9sHLx7JXrizEJH8muvAk0BXKrEfjHiwVKZRT6hwNqmQFMAe4OF3//NbX7LaW7uTCL9UGBtVaApgB0+5/4lDYfQR4MX1sNCgVCghQJNAXw1aa1okd6gh3h3zFPA+67DQoFQYEAFmgJ4FumUuk/5j8nr+QP6HbuHAqEACjQF8PV8dnMhheaQz4vAe6+T5bx8lfKI11Bg7BVo6mUvoWTLC5TOa3MG66HwXrBBORdy3odN8mGhwNqhQFMP7OWdGwsU0eA1iJ0L+93j90AsaiFCWCjQjwJNPbDHuoh1E+T8UoP59A6XX8z/BrR3aZ0NYaFAKDCNAtNd6/UHu9IN4NMkMfKPdiLFZ8Hh4Ahhf/De7LtAn5qstyFo2ifef6QC64pujvLe/sjij/wdr+CcNPJUGxKc6eT50zcnNxyb4+00J05pn8+G790JS8BRgY3OrbAMbgFvUr8Mfg2Wx/1rte1wzAbKUc2u4De+HG3kNnURnzCgbt7r7v8XwUMT2zXrpmaJ3djeZsJvXvoyp4R7wZv72nu4nVwAPg6sl/2a58Lz4Ij3Brgf/N7y5aD5+ZTnxw+mM+ejZ8F0Q+3pjs/1mT3xpaBYfrdYwU4HRajNPJF+Q2VPUM99wFHFPLBXKGn3kJm6ub7huT8GUiPJZlXmjz54n7xaqdveoHZ+1XWQ4GD3YmaQzRRT0zmzkg8NWs+TndOnYAm0NiuZAWxroHO18kN8ex5o9tDDiLgqkRH90Y/94BNgY1Obfg71ngRa04Lm6k/L/p1Fdl6Z+DzYK9WmWwl/7qbcBvBc0FqdH1vAN8HtoNMO90o4P2ge9+GXrdfP4S3wGNC6COSUp6OWV8OZ4G2pD8Kg5cq9v5VkBXwfXgbJUhnS/yVeU55bkNk7wJGCuvn1vNw61Ji+o0njztHSN+AZ0Mr8nZ+zwQRrLOhknxbi51vB+WZX5hzN4HV4WmujN1k3z/HLocvvaO9I/u+Ea2Cyf+vy/87hT4Gnw8OmDw43ZzLH41bIvWDLmXbu8HNPsK24gbs72CNfAV2YP93yMXAYqE/JNzars+Sbi0M21teBw/0u7AVk+ndgXQtbrYDnx9HcHmAcOkd2EXeV9RPAjr2XwzxwPlerGSjJtp/YsDdeU9j0YYHXo8nDqUeyXt/Se7W89vq2K07ZYF8Fd3XgoCOnIzvIt+Ys0/kxVvcFG9fF8Gvo6zu/tgDOlRwKevnDlnocbDOcdDneeXFJeyqZvQZcMR1H2wqnHb1cXNj5o8jPIfy41K/C8qzKzlhMvfAS3+mnB151JH+Meu1psCGklsH3ajTncjY6Z4Ktlds5bRaJHw7vgiPA/8fRrCD2vjZ8zr1ym+fJEcu74QnwsDke/4f9vwLGnNfDr4UL4fcOj/sxD/Ta60/htH4OqGSf3fHDSrFRAX9sDJ1iOO/1+q6t5biac9CDod/6MUw5/ZnXA2E+uD3OuuF+ETuAXFaN8Po9QUlUr8mdCMuKuDl8JlYIK4YjhhLmYsMDExnZ6I2r2QsbVP3Wj2HKqU42fqm3H2fdhtFhkGNns/PeHjDoCVJku+4vwzgEsT2hi28lAtjgtdey8o+7bUsBvANq0PrRptybcJCNbLp23yaNde2Y3SjwXAvd5gTdw3FfgZ9D7nklWQxlLmSVGkIbwIdAzZfa+hXThaxSQ2gD2MtuEcD9np1HPcrr5a5Itwpgh9N3w6fhePBOmRotDfu9pOQQLbc59LPn0lLeq/8br7/Jd8tSYjhrw7fFeEnUqbfp/KzqKNr0wHrvib0UPgOnwr1Qm6XKdzOOPVTAOYVN15xT3gWyHXkWyXfLkirLyDPpSdAOwFXvsP4USOfnTndvG8DpxF5BGu8Bh9M1ngQblgsgLZCwmc2siK4PrBI2Wy5lEr6DbC6GElMkL/GdD76G9afACnbzZpvWAdybzUr+eQv8Gyzp/aCCbQPYilgigO3lF8DaEMC3UI7LoEQA/4Z8LgdvugnrTwHjzPvFRxLAnmRbhK+Bi1uLoWtLIwRXn0tUQstrD+y0wvWBcbWk2ywKUEo3A9hG9nfjKloHfrums+r8tB1CT+Wzc6bj4auwFByGpQrBZlFznpCGZpewXaJyGMBWxEUwrqZuNkDnwUIoEcTpPC0jv7DpFTCeHB2dC4vddZSrs578+8DbvByy3gZeh90a/Ky0OS//VzgdHiyQueI6DHTV27tkLPc42ndw+j/ASlKiAbaRcNqxO3htc3MIm1oBtbKD/DxcM/Uuw79rr74xeHngFXAOWBESOpG2c77+E/l0YVZCRc5Ztpxpv7EL0cjTG26+BznLtjakPb/3/IyyB07pKpLDSQPVWy9/AWeBvaCtrPOrHGa+qad3+PcNyNZKTVMAexPLvgfsPLFfr28Tb1Xz0uvbL/HqRPC8lTaHhtaNvWG70plXnF86P8bPqXAyONJdZTkCOKVtMDmU/hV4uekGSCfmHrZHPcRMwWten4WfgvOrLszK6BRilwmSb134MlOe+uYK+tnwabgISqzak80jzIbDc+YoZttHfLpuvuH5caHvNDgGloId5CrLGcApj/S6gg0XthbA1bAD2FPpnBVoQ2hrHm+r5ILVsfBN8Lp0F4FjngbAVWBD5XRCfH+YMnL4yM1WXd0cIX0BbOH1vSvdDF5HTdYJb4O1fkquURtJV22eCy+FGrxfBEezBm8X54dsV2ecMvfE/DV8BAw4hwptWcKx/w7Oo5yD12KprE/GoW9D2/LlOu5KfPp7cLhfkyXdjsSpH0Gu8tecrsF7DrwZdoIpLQk15YcF3tyGPDYAeyad3A8OAldy7R0UeH9wZdIV7R1As3CXghXwanDF1JbbXvcBqM3U+SnwTrBcs+FgsJcpaV4iuhwcBamdui0FdVszLGO7FrORfz68Eeyd94T5YJ2p0ayvw8SUo9SF4Pmxfl8ATkE9b45WH2HDZPaIxEbwhhV6VzBYdVhBdgSHoCnIPanOL5fDSrCAN0OtpsaWw0p3EDjct+GynDZUU54Y3h+16Yc63QRWFLVzSlOrJd1svG3YbfjUS93UTx37NYfk+4Ajvty2iAy+BJ7vfuPL/SyP56UXpzdhFSjQ74mswNWqXBilbvtSMhvS3HyvpII1zRdLlrt0XlaasMEVGKVuWw2efasjZrU6quVBEcAthYvDQoEaFIgAruEshA+hQEsFIoBbCheHhQI1KBABXMNZCB9CgZYKRAC3FC4OCwVqUCACuIazED6EAi0ViABuKVwcFgrUoEAEcA1nIXwIBVoqEAHcUrg4LBSoQYEI4BrOQvgQCrRUIAK4pXBx2NgpMMr7qqcqfLrtc/2pPsz1XgRwLmUj3doU8NtMOb/dkxqIot/wigCurZqFP7kU8NdRzof7c2VAun4V0O/yFrMI4GJSR0YdK+APAvhjBv4YRC67gYT9gYliFgFcTOrIqGMFHD77m2mD/BDAoC77oxNFLQK4qNyRWYcK+ONw58HSTD74yzBnwpWZ0o9kQ4FQAAU+CTfCqH+Z41OkOQfCQoFQIJMCrhTPg9Nh1AHsjxYWN38gLiwUWJcUuIXCOlfdE7YbouA2ADYI/pqnv6d9CvjrkUUtArio3JFZJQo4hHZVei5s2+NTCsqetxo3DV5/7fI0+CxcB8V/mjcCGNXD1ikFDDyD159/dWV6IzBw/TG6fleRvRR1O3wX/AnZX4DBa9phoUAoUFiB55FfegKEgeilpvS75Aa32+k9g/9s+EtIDxpgsxtbv5tsI9dQ
2oCoFDF574jvBAPVH4A8Ff5xdWwneBHLZBD4xwbm0+3Zq0eV3Kn9kXpECW+CLc2J74O3AR/1sCd5DbbD6VAuv9frq0DssFAgFKlEgOrJKTkS4EQqsUwr8H4DFXUwZwWxSAAAAAElFTkSuQmCC"},style:a.triggerIcon}),Co.createElement(Dw.default,{style:a.triggerText,testID:"sentry-feedback-screenshot-button"},i.triggerLabel))}}var xk=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};class Ck extends Co.Component{constructor(e){var t,n,r,i,a,o;super(e),this._didSubmitForm=!1,this.handleFeedbackSubmit=()=>{const{name:e,email:t,description:n}=this.state,{onSubmitSuccess:r,onSubmitError:i,onFormSubmitted:a}=this.props,o=this.props,s=null===e||void 0===e?void 0:e.trim(),l=null===t||void 0===t?void 0:t.trim(),c=null===n||void 0===n?void 0:n.trim();if(this.props.isNameRequired&&!s||this.props.isEmailRequired&&!l||!c)return void jw(o.errorTitle,o.formError);if(this.props.shouldValidateEmail&&(this.props.isEmailRequired||l.length>0)&&!(e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e))(l))return void jw(o.errorTitle,o.emailError);const u=this.state.filename&&this.state.attachment?[{filename:this.state.filename,data:this.state.attachment}]:void 0,d={message:c,name:s,email:l,associatedEventId:Wr()};try{a||this.setState({isVisible:!1}),qr(d,u?{attachments:u}:void 0),r({name:s,email:l,message:c,attachments:u}),jw(o.successMessageText,""),a(),this._didSubmitForm=!0}catch(p){i(new Error(`Feedback form submission failed: ${p}`)),jw(o.errorTitle,o.genericError),v.error(`Feedback form submission failed: ${p}`)}},this.onScreenshotButtonPress=()=>xk(this,void 0,void 0,function*(){var e,t,n,r,i;if(this._hasScreenshot())this.setState({filename:void 0,attachment:void 0,attachmentUri:void 0});else{const{imagePicker:a}=this.props;if(a){const o=a.launchImageLibraryAsync?()=>{var e;return null===(e=a.launchImageLibraryAsync)||void 0===e?void 0:e.call(a,{mediaTypes:["images"],base64:Pl()})}:a.launchImageLibrary?()=>{var e;return null===(e=a.launchImageLibrary)||void 0===e?void 0:e.call(a,{mediaType:"photo",includeBase64:Pl()})}:null;if(!o)return void v.warn("No compatible image picker library found. Please provide a valid image picker library.");const s=yield o();if((null===s||void 0===s?void 0:s.assets)&&s.assets.length>0)if(Pl()){const r=null===(e=s.assets[0])||void 0===e?void 0:e.fileName,i=null===(t=s.assets[
20])||void 0===t?void 0:t.uri,a=null===(n=s.assets[0])||void 0===n?void 0:n.base64,o=a?(e=>{if("function"!==typeof atob||!Pl())throw new Error("atob is not available in this environment.");const t=atob(e);return new Uint8Array([...t].map(e=>e.charCodeAt(0)))})(a):void 0;o?this.setState({filename:r,attachment:o,attachmentUri:i}):v.error("Failed to read image data on the web")}else{const e=null===(r=s.assets[0])||void 0===r?void 0:r.fileName,t=null===(i=s.assets[0])||void 0===i?void 0:i.uri;t&&Kl(t).then(n=>{null!=n?this.setState({filename:e,attachment:n,attachmentUri:t}):(this._showImageRetrievalDevelopmentNote(),v.error("Failed to read image data from uri:",t))}).catch(e=>{this._showImageRetrievalDevelopmentNote(),v.error("Failed to read image data from uri:",t,"error: ",e)})}}else{const{onAddScreenshot:e}=Object.assign(Object.assign({},Fw),this.props);e(e=>{Kl(e).then(t=>{null!=t?this.setState({filename:"feedback_screenshot",attachment:t,attachmentUri:e}):(this._showImageRetrievalDevelopmentNote(),v.error("Failed to read image data from uri:",e))}).catch(t=>{this._showImageRetrievalDevelopmentNote(),v.error("Failed to read image data from uri:",e,"error: ",t)})})}}}),this._setCapturedScreenshot=e=>{null!=e.data?(v.log("Setting captured screenshot:",e.filename),$l.encodeToBase64(e.data).then(t=>{if(null!=t){const n=`data:${e.contentType};base64,${t}`;this.setState({filename:e.filename,attachment:e.data,attachmentUri:n})}else v.error("Failed to read image data from:",e.filename)}).catch(t=>{v.error("Failed to read image data from:",e.filename,"error: ",t)})):v.error("Failed to read image data from:",e.filename)},this._saveFormState=()=>{Ck._savedState=Object.assign({},this.state)},this._clearFormState=()=>{Ck._savedState={name:"",email:"",description:"",filename:void 0,attachment:void 0,attachmentUri:void 0}},this._hasScreenshot=()=>void 0!==this.state.filename&&void 0!==this.state.attachment&&void 0!==this.state.attachmentUri,this._getUser=()=>{const e=Ye().getUser();if(e)return e;const t=Ue().getUser();return t||Xe().getUser()},this._showImageRetrievalDevelopmentNote=()=>{Vl()&&jw("Development note","The feedback widget cannot retrieve image data in Expo Go. Please build your app to test this functionality.")};const s={useSentryUser:{email:(null===(n=null===(t=this.props)||void 0===t?void 0:t.useSentryUser)||void 0===n?void 0:n.email)||(null===(r=this._getUser())||void 0===r?void 0:r.email)||"",name:(null===(a=null===(i=this.props)||void 0===i?void 0:i.useSentryUser)||void 0===a?void 0:a.name)||(null===(o=this._getUser())||void 0===o?void 0:o.name)||""}};this.state={isVisible:!0,name:Ck._savedState.name||s.useSentryUser.name,email:Ck._savedState.email||s.useSentryUser.email,description:Ck._savedState.description||"",filename:Ck._savedState.filename||void 0,attachment:Ck._savedState.attachment||void 0,attachmentUri:Ck._savedState.attachmentUri||void 0},Gw()}static reset(){Ck._savedState={name:"",email:"",description:"",filename:void 0,attachment:void 0,attachmentUri:void 0}}componentDidMount(){this._themeListener=Ew.default.addChangeListener(()=>{this.forceUpdate()})}componentWillUnmount(){this._didSubmitForm?(this._clearFormState(),this._didSubmitForm=!1):this._saveFormState(),this._themeListener&&this._themeListener.remove()}render(){const e=Yw(),{name:t,email:n,description:r}=this.state,{onFormClose:i}=this.props,a=this.props,o=this.props,s=this.props,l=zw(e),c=this.props.styles||{},u=!1!==a.autoCorrect,d=!1!==a.spellCheck,p=Object.keys(l).reduce((e,t)=>(e[t]=Object.assign(Object.assign({},l[t]),c[t]),e),{}),f=()=>{i?i():this.setState({isVisible:!1})};if(!this.state.isVisible)return null;const h=(()=>{const e=wk;return wk=void 0,e})();return"ErrorCapturingScreenshot"===h?setTimeout(()=>xk(this,void 0,void 0,function*(){jw(s.errorTitle,s.captureScreenshotError)}),100):h&&this._setCapturedScreenshot(h),Co.createElement(yk.default,{onPress:Bl()?vk.default.dismiss:void 0,accessible:!1,accessibilityElementsHidden:!1},Co.createElement(Tw.default,{style:p.container},Co.createElement(Tw.default,{style:p.titleContainer},Co.createElement(Dw.default,{style:p.title,testID:"sentry-feedback-form-title"},s.formTitle),a.showBranding&&Co.createElement(Ow.default,{source:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAAC4BAMAAABUVL5sAAAAD1BMVEUAAAA2Llo3LVk4LFg2LVmgcvrUAAAABHRSTlMAgL9ARyeO/QAAA7pJREFUeNrtWltynDAQFBIHIFUcgCQ6AIk5AAjd/0ypxFk3ouUCNJofl/rHy75a09MzI7Q2DQ0NDQ0NDQ0NDQ0N9eF+xPh9MKpwPv6FLss7R9yMImz8j8nowb9IglFDF6N+KCNIdqMFcGjpBbVUXdzHqKsXUhJGNb2g1vz6azRgX8XulUwMtVZjFsWkvFz10s0ooEO+9Vpxj/6rp9eI5VsdE6eJcDCxilqICiZWMHBSMkBVA2vq1SVrVyr6Ea5VMjHqjytTwcAgRVJ0DAy9VoWUTNT3tQys
2ZGIYmGNTKHfK0q6oFkysYWCuHB0DaxX9yHLx5JKrhVC0TGwjWNRMvNAuW6PoR4TCepnqLLuiicEyKJq4g2C6Rc+hsInlgtHCF41OrD65INisObksbKy2/YJg9U08sGBTbRN3YaBQQu2i74/mcQil6vZr5C0dQpGbGKJvdOA1VDVxd5LHooPR5BJPdwql5vaLeq9FQZKJpa1kOoUSKpq45+m+ZK93aUpSwRyuafslUguCIZRZamKoBYQT80QmlqnF38p6bSIDcyg2q5fw/uo8dx0upZMLLdadQ1kgkNDEOOGiYYXjVKGJ8V00rEggcErurxAKCwQTi9RCAW7UFcUm5vPAOFNXFBY9DggQyp76jnIkOyBwaeqtyMScEu7w4JRNLnyQOjyvACcWpR145g6PV1fp9mvE0jMd3tWZXDR3/Ud2cSXZfmHhvNpEoFlgYsjFHX4AJc3kXXSTyEfDTrz94ptE1qvS9ouG1Ud2sQT5PVcHg3FL78FIYUpqxWK1yLzMxNzhHVaLzItMzB0eB/S4CDRHC+AzFTjhAiSSHx9tpgJXqnmhXi7VizM/F5v4V5oVqOIp81PpEW4Xt7PUA0kEe5WZ2PLt7ZopDg8Seue9GpxoU0WrHyFPgYlzmyrKPDxcpFeX3YRS5mGvxybmsC2tPhLJQxPzdsfliwMeLjAx9wcujoFIaEAX/KSYXz0s+9TE/E7LX0yF8lQvitl99sVjSgITl/yk6Lk48JjfGadnanHml8xjMvFTA+eL42CRwDKEZwbm4rBMyAmdH6UEz8HDTPj4d4ie1EJxJCQg56DXaxKOl0iGz0jcdebZluzhbFSA1yEZ2JzbHZKQe3I/EK4CErTHbwn84ZP+8Poxqrd/+I2cXJAw0v9VAkBiI3DhLryZEe6SXNeJk5HcHFu+Aom5wiIn2a7niZiE1WKMUhIOhNFJSQZzh0VG8tPcQufLSQI46sO9vcM0NDQ0NDQ0NDQ0NHxF/AFGJOBYBWrb5gAAAABJRU5ErkJggg=="},style:p.sentryLogo,testID:"sentry-logo"})),a.showName&&Co.createElement(Co.Fragment,null,Co.createElement(Dw.default,{style:p.label},s.nameLabel,a.isNameRequired&&` ${s.isRequiredLabel}`),Co.createElement(bk.default,{style:p.input,testID:"sentry-feedback-name-input",placeholder:s.namePlaceholder,value:t,onChangeText:e=>this.setState({name:e}),autoCorrect:!1,spellCheck:!1})),a.showEmail&&Co.createElement(Co.Fragment,null,Co.createElement(Dw.default,{style:p.label},s.emailLabel,a.isEmailRequired&&` ${s.isRequiredLabel}`),Co.createElement(bk.default,{style:p.input,testID:"sentry-feedback-email-input",placeholder:s.emailPlaceholder,keyboardType:"email-address",autoCapitalize:"none",autoCorrect:!1,spellCheck:!1,value:n,onChangeText:e=>this.setState({email:e})})),Co.createElement(Dw.default,{style:p.label},s.messageLabel,` ${s.isRequiredLabel}`),Co.createElement(bk.default,{style:[p.input,p.textArea],testID:"sentry-feedback-message-input",placeholder:s.messagePlaceholder,value:r,onChangeText:e=>this.setState({description:e}),multiline:!0,autoCorrect:u,spellCheck:d}),(a.enableScreenshot||o.imagePicker||this._hasScreenshot())&&Co.createElement(Tw.default,{style:p.screenshotContainer}
2,this.state.attachmentUri&&Co.createElement(Ow.default,{source:{uri:this.state.attachmentUri},style:p.screenshotThumbnail}),Co.createElement(Rw.default,{style:p.screenshotButton,onPress:this.onScreenshotButtonPress},Co.createElement(Dw.default,{style:p.screenshotText},this._hasScreenshot()?s.removeScreenshotButtonLabel:s.addScreenshotButtonLabel))),Bl()&&a.enableTakeScreenshot&&!this.state.attachmentUri&&Co.createElement(Rw.default,{style:p.takeScreenshotButton,onPress:()=>{dk(),f(),pk()}},Co.createElement(Dw.default,{style:p.takeScreenshotText,testID:"sentry-feedback-take-screenshot-button"},s.captureScreenshotButtonLabel)),Co.createElement(Rw.default,{style:p.submitButton,onPress:this.handleFeedbackSubmit},Co.createElement(Dw.default,{style:p.submitText,testID:"sentry-feedback-submit-button"},s.submitButtonLabel)),Co.createElement(Rw.default,{style:p.cancelButton,onPress:f},Co.createElement(Dw.default,{style:p.cancelText},s.cancelButtonLabel))))}}Ck.defaultProps=Fw,Ck._savedState={name:"",email:"",description:"",filename:void 0,attachment:void 0,attachmentUri:void 0};const Ek=function(){var e;const{major:t,minor:n}=(null===(e=tl.ReactNativeVersion)||void 0===e?void 0:e.version)||{};return t&&t>0||n&&n>=69||!1}();class Ak extends Co.Component{constructor(e){super(e),this.state={isButtonVisible:!1,isScreenshotButtonVisible:!1,isVisible:!1,backgroundOpacity:new kw.default.Value(0),panY:new kw.default.Value(Sw.default.get("screen").height),isScrollAtTop:!0},this._startedShakeListener=!1,this._panResponder=xw.default.create({onStartShouldSetPanResponder:(e,t)=>Bl()&&this.state.isScrollAtTop&&t.dy>0,onMoveShouldSetPanResponder:(e,t)=>Bl()&&this.state.isScrollAtTop&&t.dy>0,onPanResponderMove:(e,t)=>{t.dy>0&&this.state.panY.setValue(t.dy)},onPanResponderRelease:(e,t)=>{t.dy>200?kw.default.timing(this.state.panY,{toValue:Sw.default.get("screen").height,duration:200,useNativeDriver:!0}).start(()=>{this._handleClose()}):kw.default.spring(this.state.panY,{toValue:0,useNativeDriver:!0}).start()}}),this._handleScroll=e=>{this.setState({isScrollAtTop:e.nativeEvent.contentOffset.y<=0})},this._setVisibilityFunction=e=>{const t=()=>{this.setState({isVisible:e})};e?t():kw.default.parallel([kw.default.timing(this.state.panY,{toValue:Sw.default.get("screen").height,duration:200,useNativeDriver:!0,easing:Cw.default.out(Cw.default.quad)}),kw.default.timing(this.state.backgroundOpacity,{toValue:0,duration:200,useNativeDriver:Ek,easing:Cw.default.out(Cw.default.quad)})]).start(()=>{t()})},this._setButtonVisibilityFunction=e=>{this.setState({isButtonVisible:e})},this._setScreenshotButtonVisibilityFunction=e=>{this.setState({isScreenshotButtonVisible:e})},this._handleClose=()=>{ok.hide()},sk.initialize(this._setButtonVisibilityFunction),lk.initialize(this._setScreenshotButtonVisibilityFunction),ok.initialize(this._setVisibilityFunction)}componentDidMount(){this._themeListener=Ew.default.addChangeListener(()=>{this.forceUpdate()}),(()=>{var e;const t=Yu();return null!==(e=null===t||void 0===t?void 0:t.enableShakeToReport)&&void 0!==e&&e})()&&(Zw(),this._startedShakeListener=nk(ck))}componentWillUnmount(){this._themeListener&&this._themeListener.remove(),this._startedShakeListener&&rk()}componentDidUpdate(e,t){!t.isVisible&&this.state.isVisible?kw.default.parallel([kw.default.timing(this.state.backgroundOpacity,{toValue:1,duration:200,useNativeDriver:Ek,easing:Cw.default.in(Cw.default.quad)}),kw.default.timing(this.state.panY,{toValue:0,duration:200,useNativeDriver:!0,easing:Cw.default.in(Cw.default.quad)})]).start(()=>{v.log("FeedbackFormProvider componentDidUpdate")}):t.isVisible&&!this.state.isVisible&&this.state.backgroundOpacity.setValue(0)}render(){if(!function(){var e;const{major:t,minor:n}=(null===(e=tl.ReactNativeVersion)||void 0===e?void 0:e.version)||{};return!(jl()&&0===t&&n&&n<71)}())return v.error("FeedbackForm Modal is not supported in React Native < 0.71 with Fabric renderer."),Co.createElement(Co.Fragment,null,this.props.children);const e=Yw(),{isButtonVisible:t,isScreenshotButtonVisible:n,isVisible:r,backgroundOpacity:i}=this.state,a=i.interpolate({inputRange:[0,1],outputRange:["rgba(0, 0, 0, 0)","rgba(0, 0, 0, 0.9)"]});return Co.createElement(Co.Fragment,null,this.props.children,t&&Co.createElement(gk,Object.assign({},(()=>{const e=Yu();return e?e.buttonOptions:{}}
2)())),n&&Co.createElement(Sk,Object.assign({},(()=>{const e=Yu();return e?e.screenshotButtonOptions:{}})())),r&&Co.createElement(kw.default.View,{style:[Bw,{backgroundColor:a}]},Co.createElement(Aw.default,{visible:r,transparent:!0,animationType:"none",onRequestClose:this._handleClose,testID:"feedback-form-modal"},Co.createElement(Tw.default,{style:Ww}),Co.createElement(kw.default.View,Object.assign({style:[Hw(e),{transform:[{translateY:this.state.panY}]}]},this._panResponder.panHandlers),Co.createElement(Iw.default,{bounces:!1,keyboardShouldPersistTaps:"handled",automaticallyAdjustKeyboardInsets:"ios"===vl.default.OS,onScroll:this._handleScroll},Co.createElement(Ck,Object.assign({},(()=>{const e=Yu();return e?e.options:{}})(),{onFormClose:this._handleClose,onFormSubmitted:this._handleClose})))))))}}const Tk=(e={})=>{const t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if("undefined"===typeof bo.document)return void(go&&v.warn("Using the `browserSessionIntegration` in non-browser environments is not supported."));Yr({ignoreDuration:!0});let e=!1;Hd(()=>{e||(Gr(),e=!0)});const n=Ue();let r=n.getUser();n.addScopeListener(t=>{const n=t.getUser();r?.id===n?.id&&r?.ip_address===n?.ip_address||(r=n,e&&Gr())}),"route"===t&&_p(({from:t,to:n})=>{t!==n&&(Yr({ignoreDuration:!0}),Gr(),e=!0)})}}},Ik=({navigation:e,routeChangeTimeoutMs:t=1e3,enableTabsInstrumentation:n=!1,ignoreEmptyBackNavigationTransactions:r=!0})=>{const i=e;let a,o,s,l=[],c=Ty,u=null;const d=()=>{s&&f(),s=Iy((null===a||void 0===a?void 0:a.options.beforeStartSpan)?a.options.beforeStartSpan(Oy()):Oy(),c),null===s||void 0===s||s.setAttribute(ot,"auto.navigation.react_native_navigation"),r&&qg(qe(),s);const e=s;Jg(qe(),e,Ay,()=>s===e),o=setTimeout(f.bind(void 0),t)};i.events().registerCommandListener(d),n&&i.events().registerBottomTabPressedListener(d),i.events().registerComponentWillAppearListener(e=>{if(!s)return;if(e.componentId===(null===u||void 0===u?void 0:u.componentId))return void f();h();const t=l.includes(e.componentId);on(s).description===Ay&&s.updateName(e.componentName),s.setAttributes({"route.name":e.componentName,"route.component_id":e.componentId,"route.component_type":e.componentType,"route.has_been_seen":t,"previous_route.name":null===u||void 0===u?void 0:u.componentName,"previous_route.component_id":null===u||void 0===u?void 0:u.componentId,"previous_route.component_type":null===u||void 0===u?void 0:u.componentType,[rt]:"component",[at]:"navigation"}),null===a||void 0===a||a.setCurrentRoute(e.componentName),Ke({category:"navigation",type:"navigation",message:`Navigation to ${e.componentName}`,data:{from:null===u||void 0===u?void 0:u.componentName,to:e.componentName}}),p(e.componentId),u=e,s=void 0});const p=e=>{l.push(e),l.length>200&&(l=l.slice(l.length-200))},f=()=>{s&&(Pc(s)&&Ug(s,"discarded_latest_navigation"),s.end(),s=void 0),h()},h=()=>{"undefined"!==typeof o&&(clearTimeout(o),o=void 0)};return{name:"ReactNativeNavigation",afterAllSetup:e=>{a=Wy(e),a&&(c={finalTimeout:a.options.finalTimeoutMs,idleTimeout:a.options.idleTimeoutMs})}}};function Rk(e){if(!e)return e;const t=e;if(t.__sentryWrapped)return e;if(e.prefetch&&function(e){const t=e.prefetch.bind(e);e.prefetch=e=>{const n=Dk(e),r=jk(),i=n.concretePathname&&!r?"unknown":n.routeName,a=tr({op:"navigation.prefetch",name:`Prefetch ${i}`,attributes:Object.assign({"sentry.origin":oy,"route.name":i},r?{"route.href":Nk(e)}:void 0)});try{const n=t(e);return n&&"object"===typeof n&&"then"in n&&"function"===typeof n.then?n.then(e=>(null===a||void 0===a||a.setStatus({code:1}),null===a||void 0===a||a.end(),e)).catch(e=>{throw null===a||void 0===a||a.setStatus({code:2,message:String(e)}),null===a||void 0===a||a.end(),e}):(null===a||void 0===a||a.setStatus({code:1}),null===a||void 0===a||a.end(),n)}catch(o){throw null===a||void 0===a||a.setStatus({code:2,message:String(o)}),null===a||void 0===a||a.end(),o}}}(e),e.push&&(e.push=Ok(e,"push",e.push.bind(e))),e.replace&&(e.replace=Ok(e,"replace",e.replace.bind(e))),e.navigate&&(e.navigate=Ok(e,"navigate",e.navigate.bind(e))),e.back&&(e.back=Ok(e,"back",e.back.bind(e))),e.dismiss){const t=e.dismiss.bind(e);e.dismiss=Ok(e,"dismiss",t)}return t.__sentryWrapped=!0,e}
2function Ok(e,t,n){return(...r)=>{const i=function(e,t){if("back"===e||"dismiss"===e)return{routeName:e,concretePathname:!1};return Dk(t[0])}(t,r),a=jk(),o=i.concretePathname&&!a?void 0:i.pathname,s=i.concretePathname&&!a?t:i.routeName;Ke({category:"navigation",type:"navigation",message:`Expo Router ${t}${o?` to ${o}`:""}`,data:Object.assign(Object.assign(Object.assign({method:t},o?{pathname:o}:void 0),a&&void 0!==i.href?{href:Nk(i.href)}:void 0),a&&i.params?{params:i.params}:void 0)}),Mv={method:t};const l=tr({op:`navigation.${t}`,name:`Navigation ${t}${o?` to ${o}`:""}`,attributes:Object.assign(Object.assign({"sentry.origin":"auto.navigation.expo_router","navigation.method":t},s?{"route.name":s}:void 0),a&&void 0!==i.href?{"route.href":Nk(i.href)}:void 0)});try{const t=n.apply(e,r);return null===l||void 0===l||l.setStatus({code:1}),null===l||void 0===l||l.end(),t}catch(c){throw Mv=void 0,null===l||void 0===l||l.setStatus({code:2,message:String(c)}),null===l||void 0===l||l.end(),c}}}function Dk(e){if("string"===typeof e)return{href:e,routeName:e,pathname:e,concretePathname:!0};if(e&&"object"===typeof e){const t="string"===typeof e.pathname?e.pathname:void 0;return{href:e,routeName:null!==t&&void 0!==t?t:"unknown",pathname:t,params:e.params,concretePathname:!1}}return{routeName:"unknown",concretePathname:!1}}function Nk(e){if("string"===typeof e)return e;try{return JSON.stringify(e)}catch(t){return"[unserializable href]"}}function jk(){var e,t,n;return null!==(n=null===(t=null===(e=qe())||void 0===e?void 0:e.getOptions())||void 0===t?void 0:t.sendDefaultPii)&&void 0!==n&&n}function Fk(){var e;try{const t=r(18447);return null!==(e=null===t||void 0===t?void 0:t.store)&&void 0!==e?e:null}catch(t){return null}}function Mk(e){if(!e||0===e.length)return"/";const t=e.filter(e=>!(e.startsWith("(")&&e.endsWith(")")));return 0===t.length?"/":`/${t.join("/")}`}const Vk="ExpoRouter",Pk=(e={})=>{let t;return{name:Vk,afterAllSetup:n=>{var r;const i=Fk();if(!i)return;if(!i.navigationRef)return void v.warn(`${Vk} Found expo-router router-store but it does not expose a \`navigationRef\`. This likely means the installed expo-router version is incompatible with this integration.`);let a=Yv(n);a||(a=Bv(e),n.addIntegration(a));const o=i.navigationRef;if(null===(r=a._setRouteOverrideProvider)||void 0===r||r.call(a,()=>function(e){var t,n;let r;try{r=null===(t=e.getRouteInfo)||void 0===t?void 0:t.call(e)}catch(a){return}if(!r)return;const i=Mk(r.segments);return{templatedPath:i,concreteUrl:null!==(n=r.pathnameWithParams)&&void 0!==n?n:r.pathname,params:r.params}}(i)),o.current)return void a.registerNavigationContainer(o);const s=Date.now(),l=()=>{if(!o.current)return Date.now()-s>=5e3?(v.warn(`${Vk} Timed out waiting for Expo Router navigation container.`),void(t=void 0)):void(t=setTimeout(l,50));null===a||void 0===a||a.registerNavigationContainer(o),t=void 0};t=setTimeout(l,50),n.on("close",()=>{void 0!==t&&(clearTimeout(t),t=void 0)})}}};const Lk=new WeakSet;function Bk(t){const n=n=>{const{error:r}=n;return Co.useEffect(()=>{if(r&&!Lk.has(r))try{!function(e){var t,n,r,i;const a=null!==(r=null===(n=null===(t=qe())||void 0===t?void 0:t.getOptions())||void 0===n?void 0:n.sendDefaultPii)&&void 0!==r&&r,o=function(){var e;const t=Fk();if(!t)return;let r;try{r=null===(e=t.getRouteInfo)||void 0===e?void 0:e.call(t)}catch(n){return}return r?{templatedPath:Mk(r.segments),pathname:r.pathname,pathnameWithParams:r.pathnameWithParams,params:r.params,segments:r.segments}:void 0}(),s=null===o||void 0===o?void 0:o.templatedPath,l=null!==s&&void 0!==s?s:"unknown",c=a?null!==(i=null===o||void 0===o?void 0:o.pathnameWithParams)&&void 0!==i?i:null===o||void 0===o?void 0:o.pathname:void 0;Ke({category:"expo-router.error_boundary",type:"error",level:"error",message:`Expo Router ErrorBoundary rendered for ${l}`,data:Object.assign({"route.name":l},c?{"route.path":c}:void 0)}),function(){const e=wn();if(!e)return;const t=bn(e),n=on(t).origin;if("string"!==typeof n||!n.startsWith("auto.navigation."))return;t.setStatus({code:2,message:"expo_router_error_boundary"})}(),Or(e,e=>(e.setTag("expo_router.error_boundary","true"),e.setContext("route",Object.assign(Object.assign(Object.assign({name:l},c?{path:c}:void 0),a&&(null===o||void 0===o?void 0:o.params)?{params:o.params}:void 0),(null===o||void 0===o?void 0:o.segments)?{segments:o.segments}:void 0)),e.addEventProcessor(e=>(me(e,{type:"expo_router_error_boundary",handled:!0}),e)),e))}(r),Lk.add(r)}catch(e){_s(`[wrapExpoRouterErrorBoundary] Failed to report boundary error: ${e instanceof Error?e.message:String(e)}`)}},[r]),Co.createElement(t,Object.assign({},n))};return n.displayName=`wrapExpoRouterErrorBoundary(${t.displayName||t.name||"ErrorBoundary"})`,n}function Hk(e){return e?(e.__sentryWrapped||(function(e){if(!e.prefetch)return;const t=e.prefetch.bind(e);e.prefetch=(e,n)=>{const r=Array.isArray(e)?e:[e],i=r.length,a=r[0]||"unknown",o=tr({op:"resource.image.prefetch",name:`Image prefetch ${1===i?Ky(a):`${i} images`}`,attributes:Object.assign({"sentry.origin":sy,"image.url_count":i},1===i?{"image.url":$y(a)}:void 0)});try{return t(e,n).then(e=>(e?null===o||void 0===o||o.setStatus({code:1}):null===o||void 0===o||o.setStatus({code:2,message:"prefetch_failed"}),null===o||void 0===o||o.end(),e)).catch(e=>{throw null===o||void 0===o||o.setStatus({code:2,message:String(e)}),null===o||void 0===o||o.end(),e})}catch(s){throw null===o||void 0===o||o.setStatus({code:2,message:String(s)}),null===o||void 0===o||o.end(),s}}}(e),function(e){if(!e.loadAsync)return;const t=e.loadAsync.bind(e);e.loadAsync=(e,n)=>{const r=function(e){if("number"===typeof e)return`asset #${e}`;if("string"===typeof e)return Ky(e);if(e.uri)return Ky(e.uri);return"unknown source"}(e),i="string"===typeof e?e:"object"===typeof e&&e.uri?e.uri:void 0;return Jy({op:"resource.image.load",name:`Image load ${r}`,attributes:Object.assign({"sentry.origin":sy},i?{"image.url":$y(i)}:void 0)},()=>t(e,n))}}(e),e.__sentryWrapped=!0),e):e}function Wk(e){return e?(e.__sentryWrapped||(function(e){if(!e.loadAsync)return;const t=e.loadAsync.bind(e);e.loadAsync=e=>{const n=Array.isArray(e)?e:[e],r=n.length,i=function(e){if(1===e.length){const t=e[0];return"string"===typeof t?Ky(t):`asset #${t}`}return`${e.length} assets`}(n);return Jy({op:"resource.asset",name:`Asset load ${i}`,attributes:{"sentry.origin":ly,"asset.count":r}},()=>t(e))}}(e),e.__sentryWrapped=!0),e):e}function zk(e,t=()=>{}){return{name:e,setupOnce:t}}const Yk={appStartReported:!1,onRunApplicationHook:()=>{Yk.appStartReported=!1}};class Uk extends Jo{constructor(e){cv(1e3*be()),super(e),this.name="ReactNativeProfiler"}componentDidMount(){super.componentDidMount(),Yk.appStartReported||(this._reportAppStart(),Yk.appStartReported=!0)}_reportAppStart(){var e;const t=qe();if(!t)return;null===(e=t.addIntegration)||void 0===e||e.call(t,zk(this.name));const n=zg(t);n&&"function"===typeof n.onRunApplication?n.onRunApplication(Yk.onRunApplicationHook):v.warn("AppRegistryIntegration.onRunApplication not found or invalid."),sv({isManual:!1})}}function Xk(e,t){const n=t;if(!n)return v.warn("[GestureTracing] Gesture can not be undefined"),t;if(!n.handlers)return v.warn("[GestureTracing] Can not wrap gesture without handlers. If you want to wrap a gesture composition wrap individual gestures."),t;if(!e)return v.warn("[GestureTracing] Can not wrap gesture without name."),t;const r=n.handlerName.length>14?n.handlerName.substring(0,n.handlerName.length-14).toLowerCase():"gesture",i=n.handlers.onBegin;t.handlers.onBegin=t=>{const n=Cv({elementId:e,op:`ui.action.${r}`});n&&n.setAttribute(ot,Qg),Gk(`Gesture ${e} begin.`,{event:t,name:r}),i&&i(t)};const a=n.handlers.onEnd;return t.handlers.onEnd=t=>{Gk(`Gesture ${e} end.`,{event:t,name:r}),a&&a(t)},t}function Gk(e,t){const{event:n,name:r}=t,i={message:e,level:"info",type:"user",category:"gesture"};if(n){const e={gesture:r};for(const t of Object.keys(qk)){const r=qk[t];
2r in n&&(e[r]=n[r])}i.data=e}Ke(i),v.log(`[GestureTracing] ${i.message}`)}const qk={NUMBER_OF_POINTERS:"numberOfPointers",NUMBER_OF_TOUCHES:"numberOfTouches",FORCE:"force",FORCE_CHANGE:"forceChange",ROTATION:"rotation",ROTATION_CHANGE:"rotationChange",SCALE:"scale",SCALE_CHANGE:"scaleChange",DURATION:"duration",VELOCITY:"velocity",VELOCITY_X:"velocityX",VELOCITY_Y:"velocityY"};var Jk=r(97640);const $k="RNSentryOnDrawReporter",Kk=!!Jk.default.hasViewManagerConfig&&Jk.default.hasViewManagerConfig($k);class Zk extends Co.Component{render(){return Co.createElement(Tw.default,Object.assign({},this.props))}}let Qk;const eS=()=>{var e;return Qk||(Qk=!Vl()&&Kk&&(null===(e=tl.ReactNative)||void 0===e?void 0:e.requireNativeComponent)?tl.ReactNative.requireNativeComponent($k):Zk),Qk};var tS=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};const nS=new WeakMap,rS=(new WeakMap,new Map);function iS(e){const t=wn();t&&nS.set(t,!0);const n=t&&on(t).span_id,r=sS("ttid",n,e);return Co.createElement(lS,{initialDisplay:r,parentSpanId:n},e.children)}function aS(e){const t=wn(),n=t&&on(t).span_id,r=sS("ttfd",n,e);return Co.createElement(lS,{fullDisplay:r,parentSpanId:n},e.children)}let oS=0;function sS(e,t,n){const r=(0,Co.useRef)(null);null===r.current&&(r.current="cp-"+oS++);const i=r.current,[,a]=(0,Co.useReducer)(e=>e+1,0),o=void 0!==n.ready,s=o?!!n.ready:!!n.record;(0,Co.useRef)(!1);(0,Co.useEffect)(()=>{},[]),(0,Co.useEffect)(()=>{if(t&&o)return function(e,t,n){return qv(e,t).listeners.add(n),()=>{const r=Gv[e].get(t);r&&(r.listeners.delete(n),Qv(e,t,r))}}(e,t,a)},[e,t,o]);const l=(0,Co.useRef)(null);return(0,Co.useEffect)(()=>{if(!t||!o)return;const n=function(e,t,n,r){const i=qv(e,t);if(i.sticky.size>0){for(const e of i.sticky)i.checkpoints.delete(e);i.sticky.clear()}return i.checkpoints.set(n,{ready:r}),Kv(i),()=>{const r=Gv[e].get(t);if(r){if(function(e,t){if(e.aggregateReady)return!1;if(e.checkpoints.size<=1)return!1;const n=e.checkpoints.get(t);if(!n||n.ready)return!1;for(const[r,i]of e.checkpoints)if(r!==t&&!i.ready)return!1;return!0}(r,n))return r.sticky.add(n),void Qv(e,t,r);r.checkpoints.delete(n)&&(r.sticky.delete(n),Kv(r)),Qv(e,t,r)}}}(e,t,i,s);return l.current=t,()=>{l.current=null,n()}}
2,[e,t,o,i]),(0,Co.useEffect)(()=>{t&&o&&function(e,t,n,r){const i=Gv[e].get(t),a=null===i||void 0===i?void 0:i.checkpoints.get(n);i&&a&&a.ready!==r&&(a.ready=r,Kv(i))}(e,t,i,s)},[e,t,o,i,s]),!!t&&(o?l.current===t&&function(e,t){const n=Gv[e].get(t);return!!n&&n.aggregateReady}(e,t):s)}function lS(e){const t=eS();return Co.createElement(Co.Fragment,null,Co.createElement(t,{initialDisplay:e.initialDisplay,fullDisplay:e.fullDisplay,parentSpanId:e.parentSpanId}),e.children)}function cS(e){const t=wn();if(!t)return void v.warn("[TimeToDisplay] No active span found to attach ui.load.initial_display to.");const n=vn(t).find(e=>"ui.load.initial_display"===on(e).op);if(n)return v.log("[TimeToDisplay] Found existing ui.load.initial_display span."),n;const r=tr(Object.assign({op:"ui.load.initial_display",name:"Time To Initial Display",startTime:on(t).start_timestamp},e));return r?(hS(r.spanContext().spanId).catch(e=>{v.log(`[TimeToDisplay] Failed to capture start frames for initial display span (${r.spanContext().spanId}).`,e)}),(null===e||void 0===e?void 0:e.isAutoInstrumented)?r.setAttribute(ot,iy):(nS.set(t,!0),r.setAttribute(ot,ay)),r):void 0}function uS(e={timeoutMs:3e4}){const t=wn();if(!t)return void v.warn("[TimeToDisplay] No active span found to attach ui.load.full_display to.");const n=vn(t),r=n.find(e=>"ui.load.initial_display"===on(e).op);if(!r)return void v.warn("[TimeToDisplay] No initial display span found to attach ui.load.full_display to.");const i=n.find(e=>"ui.load.full_display"===on(e).op);if(i)return v.log("[TimeToDisplay] Found existing ui.load.full_display span."),i;const a=tr(Object.assign({op:"ui.load.full_display",name:"Time To Full Display",startTime:on(r).start_timestamp},e));if(!a)return;hS(a.spanContext().spanId).catch(e=>{v.log(`[TimeToDisplay] Failed to capture start frames for full display span (${a.spanContext().spanId}).`,e)});const o=setTimeout(()=>{if(on(a).timestamp)return;a.setStatus({code:2,message:"deadline_exceeded"});const e=on(r).timestamp;mS(a,e).then(()=>{v.log(`[TimeToDisplay] span ${a.spanContext().spanId} updated with frame data.`),a.end(e),Yy("time_to_full_display",a)}).catch(()=>{v.warn(`[TimeToDisplay] Failed to capture end frames for full display span (${a.spanContext().spanId}).`),a.end(on(r).timestamp),Yy("time_to_full_display",a)}),v.warn("[TimeToDisplay] Full display span deadline_exceeded.")},e.timeoutMs);return D(a,"end",e=>t=>{clearTimeout(o),e.call(a,t)}),(null===e||void 0===e?void 0:e.isAutoInstrumented)?a.setAttribute(ot,iy):a.setAttribute(ot,ay),a}function dS({useFocusEffect:e}){return fS({useFocusEffect:e,Component:aS})}function pS({useFocusEffect:e}){return fS({useFocusEffect:e,Component:iS})}function fS({useFocusEffect:e,Component:t}){const n=n=>{const[r,i]=(0,Co.useState)(!1);e(()=>(i(!0),()=>{i(!1)}));const a=r?n.ready:void 0,o=r?n.record:void 0;return Co.createElement(t,Object.assign({},n,{record:o,ready:a}))};return n.displayName="TimeToDisplayWrapper",n}function hS(e){return tS(this,void 0,void 0,function*(){if($l.enableNative)try{const t=yield gS(),n=setTimeout(()=>{rS.get(e)&&(rS.delete(e),v.log(`[TimeToDisplay] Cleaned up stale frame data for span ${e} after timeout.`))},6e4);rS.has(e)||rS.set(e,{startFrames:null,endFrames:null,cleanupTimeout:n});const r=rS.get(e);if(!r)return clearTimeout(n),void v.log(`[TimeToDisplay] Span ${e} already ended, discarding start frames.`);r.startFrames=t,r.cleanupTimeout=n,v.log(`[TimeToDisplay] Captured start frames for span ${e}.`,t)}catch(t){v.log(`[TimeToDisplay] Failed to capture start frames for span ${e}.`,t)}})}function mS(e,t){return tS(this,void 0,void 0,function*(){if(!$l.enableNative)return;const n=e.spanContext().spanId,r=rS.get(n);if(null===r||void 0===r?void 0:r.startFrames)try{const a=yield gS();r.endFrames=a,function(e,t,n){const r=n.totalFrames-t.totalFrames,i=n.slowFrames-t.slowFrames,a=n.frozenFrames-t.frozenFrames;r<=0&&i<=0&&a<=0?v.warn(`[TimeToDisplay] Detected zero slow or frozen frames. Not adding measurements to span (${e.spanContext().spanId}).`):(e.setAttribute("frames.total",r),e.setAttribute("frames.slow",i),e.setAttribute("frames.frozen",a),v.log("[TimeToDisplay] Attached frame data to span.",{spanId:e.spanContext().spanId,frameData:{total:r,slow:i,frozen:a}}))}(e,r.startFrames,a);const o=on(e).start_timestamp;if(o)try{const n=t||on(e).timestamp||Date.now()/1e3,r=yield Promise.race([$l.fetchNativeFramesDelay(o,n),new Promise(e=>setTimeout(()=>e(null),2e3))]);null!=r&&e.setAttribute("frames.delay",r)}catch(i){v.log(`[TimeToDisplay] Failed to fetch frames delay for span ${n}.`,i)}v.log(`[TimeToDisplay] Captured and attached end frames for span ${n}.`,a)}catch(a){v.log(`[TimeToDisplay] Failed to capture end frames for span ${n}.`,a)}finally{r.cleanupTimeout&&clearTimeout(r.cleanupTimeout),rS.delete(n)}else v.log(`[TimeToDisplay] No start frames found for span ${n}, skipping frame data collection.`)})}function gS(){return new Promise((e,t)=>
2{let n=!1;const r=setTimeout(()=>{n||(n=!0,t("Fetching native frames took too long. Dropping frames."))},2e3);$l.fetchNativeFrames().then(i=>{n||(clearTimeout(r),n=!0,i?e(i):t("Native frames response is null."))}).then(void 0,e=>{n||(clearTimeout(r),n=!0,t(e))})})}function yS(e){return"boolean"===typeof e?e:"web"!==vl.default.OS&&"windows"!==vl.default.OS&&!Vl()}const vS=new WeakMap;function bS(e){vS.has(e)||(vS.set(e,!0),Lg(e,"setUser",t=>n=>($l.setUser(n),t.call(e,n))),Lg(e,"setTag",t=>(n,r)=>($l.setTag(n,$l.primitiveProcessor(r)),t.call(e,n,r))),Lg(e,"setTags",t=>n=>(Object.keys(n).forEach(e=>{$l.setTag(e,$l.primitiveProcessor(n[e]))}),t.call(e,n))),Lg(e,"setExtras",t=>n=>(Object.keys(n).forEach(e=>{$l.setExtra(e,n[e])}),t.call(e,n))),Lg(e,"setExtra",t=>(n,r)=>($l.setExtra(n,r),t.call(e,n,r))),Lg(e,"addBreadcrumb",t=>(n,r)=>{const i=Object.assign(Object.assign({},n),{level:n.level||"info",data:n.data?zl(n.data):void 0});t.call(e,i,r);const a=e.getLastBreadcrumb();return a?$l.addBreadcrumb(a):bs("[ScopeSync] Last created breadcrumb is undefined. Skipping sync to native."),e}),Lg(e,"clearBreadcrumbs",t=>()=>($l.clearBreadcrumbs(),t.call(e))),Lg(e,"setContext",t=>(n,r)=>($l.setContext(n,r),t.call(e,n,r))),Lg(e,"setAttribute",t=>(n,r)=>("string"!==typeof r&&"number"!==typeof r&&"boolean"!==typeof r||$l.setAttribute(n,r),t.call(e,n,r))),Lg(e,"setAttributes",t=>n=>{const r={};return Object.keys(n).forEach(e=>{const t=n[e];"string"!==typeof t&&"number"!==typeof t&&"boolean"!==typeof t||(r[e]=t)}),Object.keys(r).length>0&&$l.setAttributes(r),t.call(e,n)}),Lg(e,"removeAttribute",t=>n=>($l.removeAttribute(n),t.call(e,n))))}var _S=r(75675);class wS{constructor(e){var t,n,r;this._recentTaps=[],this._enabled=null===(t=null===e||void 0===e?void 0:e.enabled)||void 0===t||t,this._threshold=null!==(n=null===e||void 0===e?void 0:e.threshold)&&void 0!==n?n:3,this._timeWindow=null!==(r=null===e||void 0===e?void 0:e.timeWindow)&&void 0!==r?r:1e3}updateOptions(e){void 0!==e.enabled&&(this._enabled=e.enabled,this._enabled||(this._recentTaps=[])),void 0!==e.threshold&&(this._threshold=e.threshold),void 0!==e.timeWindow&&(this._timeWindow=e.timeWindow)}check(e,t){if(!this._enabled)return;const n=e[0];if(!n)return;const r=function(e,t){var n,r;const i=`name:${null!==(n=e.name)&&void 0!==n?n:""}|file:${null!==(r=e.file)&&void 0!==r?r:""}`;if(t)return`label:${t}|${i}`;return i}(n,t),i=Date.now(),a=this._detect(r,i);if(a>0){const r=function(e,t){if(t)return t;return`${e.name}${e.file?` (${e.file})`:""}`}(n,t),i=function(e,t){var n,r;const i={};e.name&&(i["data-sentry-component"]=e.name);e.file&&(i["data-sentry-source-file"]=e.file);t&&(i["sentry-label"]=t);return{id:0,tagName:null!==(r=null!==(n=e.element)&&void 0!==n?n:e.name)&&void 0!==r?r:"unknown",textContent:"",attributes:i}}(n,t);Ke({category:"ui.multiClick",type:"default",message:r,data:{clickCount:a,metric:!0,route:kS(),node:i,path:e}}),v.log(`[TouchEvents] Rage tap detected: ${a} taps on ${r}`)}}_detect(e,t){const n=this._recentTaps[this._recentTaps.length-1];n&&n.identity!==e&&(this._recentTaps=[]),this._recentTaps.push({identity:e,timestamp:t});const r=t-this._timeWindow;if(this._recentTaps=this._recentTaps.filter(e=>e.timestamp>=r),this._recentTaps.length>=this._threshold){const e=this._recentTaps.length;return this._recentTaps=[],e}return 0}}function kS(){var e;try{return null===(e=Hy())||void 0===e?void 0:e.state.currentRoute}catch(t){return}}const SS=_S.default.create({wrapperView:{flex:1}}),xS="sentry-label",CS="data-sentry-component",ES="data-sentry-element",AS="data-sentry-source-file",TS="accessibilityLabel",IS="aria-label",RS="testID",OS="RNSentryReplayMask";class DS extends Co.Component{constructor(e){super(e),this.name="TouchEventBoundary",this._rageTapDetector=new wS({enabled:e.enableRageTapDetection,threshold:e.rageTapThreshold,timeWindow:e.rageTapTimeWindow})}componentDidMount(){var e;const t=qe();null===(e=null===t||void 0===t?void 0:t.addIntegration)||void 0===e||e.call(t,zk(this.name))}componentDidUpdate(){this._rageTapDetector.updateOptions({enabled:this.props.enableRageTapDetection,threshold:this.props.rageTapThreshold,timeWindow:this.props.rageTapTimeWindow})}render(){return Co.createElement(Tw.default,{style:SS.wrapperView,onTouchStart:this._onTouchStart.bind(this)},this.props.children)}_logTouchEvent(e,t){const n=e[0];if(!n)return void v.warn("[TouchEvents] No root component found in touch path.");const r=t||`${n.name}${n.file?` (${n.file})`:""}`,i={category:this.props.breadcrumbCategory,data:{path:e},level:"info",message:`Touch event within element: ${r}`,type:this.props.breadcrumbType};Ke(i),v.log(`[TouchEvents] ${i.message}`)}_isNameIgnored(e){let t=this.props.ignoreNames||[];return this.props.ignoredDisplayNames&&(t=[...t,...this.props.ignoredDisplayNames]),t.some(t=>"string"===typeof t&&e===t||t instanceof RegExp&&e.match(t))}_onTouchStart(e){var t,n,r;if(!e._targetInst)return;let i=e._targetInst;const a=[],o=this._isMaskAllTextEnabled(),s=!o&&function(e){var t,n;let r=e.return;for(;r;){if((null===(t=r.elementType)||void 0===t?void 0:t.name)===OS||(null===(n=r.elementType)||void 0===n?void 0:n.displayName)===OS)return!0;r=r.return}return!1}(e._targetInst),l=!o&&!s,c=this._shouldExtractText()&&!s;for(;i&&this.props.maxComponentTreeSize&&a.length<this.props.maxComponentTreeSize&&(null===(t=i.elementType)||void 0===t?void 0:t.displayName)!==DS.displayName;){const e=NS(i,this.props.labelName,c,l);this._pushIfNotIgnored(a,e),i=i.return}const u=null===(n=a.find(e=>e.label))||void 0===n?void 0:n.label;a.length>0&&(this._logTouchEvent(a,u),this._rageTapDetector.check(a,u));const d=Cv({elementId:u,op:"ui.action.touch"});if(d){d.setAttribute(ot,Qg);let t,n=e._targetInst;for(;n&&(null===(r=n.elementType)||void 0===r?void 0:r.displayName)!==DS.displayName&&(t=VS(n),!(t&&Object.keys(t).length>0));)n=n.return;t&&Object.keys(t).length>0&&d.setAttributes(t)}}_isMaskAllTextEnabled(){const e=qe();if(!e)return!1;const t=e.getIntegrationByName(Mu);if(!t)return!1;if(!("options"in t))return!0;return!1!==t.options.maskAllText}_shouldExtractText(){return!!this.props.extractTextFromChildren&&!this._isMaskAllTextEnabled()}_pushIfNotIgnored(e,t){return!!t&&(!(!t.name&&!t.label)&&((!t.name||!this._isNameIgnored(t.name))&&((!t.label||!this._isNameIgnored(t.label))&&(!(e.length>0&&JSON.stringify(e[e.length-1])===JSON.stringify(t))&&(e.push(t),!0)))))}}function NS(e,t,n,r){var i;const a=null===(i=e.elementType)||void 0===i?void 0:i.displayName,o=e.memoizedProps;if(!o||"string"===typeof o)return a?{name:a}:void 0;const s=function(e,t,n=!0){if(n&&"string"===typeof e[xS]&&e[xS].length>0)return e[xS];if("string"===typeof t&&"string"==typeof e[t]&&e[t].length>0)return e[t];if("string"===typeof e[TS]&&e[TS].length>0)return e[TS];if("string"===typeof e[IS]&&e[IS].length>0)return e[IS];if("string"===typeof e[RS]&&e[RS].length>0)return e[RS];return}(o,t,r)||(n?function(e){const t=[];if(PS(e.child,t,0),0===t.length)return;const n=t.join(" ").trim();if(0===n.length)return;if(n.length>64)return`${n.slice(0,64)}...`;return n}(e):void 0);return L({name:jS(o)||a,element:FS(o),file:MS(o),label:s})}function jS(e){return"string"===typeof e[CS]&&e[CS].length>0&&"unknown"!==e[CS]&&e[CS]||void 0}function FS(e){return"string"===typeof e[ES]&&e[ES].length>0&&"unknown"!==e[ES]&&e[ES]||void 0}function MS(e){return"string"===typeof e[AS]&&e[AS].length>0&&"unknown"!==e[AS]&&e[AS]||void 0}function VS(e){if(!e.memoizedProps||"string"===typeof e.memoizedProps)return;const t=e.memoizedProps["sentry-span-attributes"];return"object"!==typeof t||null===t||Array.isArray(t)?void 0:t}function PS(e,t,n,r=0){var i,a;if(!e||n>3||r>=5)return;if((null===(i=e.elementType)||void 0===i?void 0:i.name)===OS||(null===(a=e.elementType)||void 0===a?void 0:a.displayName)===OS)return void PS(e.sibling,t,n,r+1);const o=e.memoizedProps;"string"===typeof o?t.push(o):"string"===typeof(null===o||void 0===o?void 0:o.children)?t.push(o.children):PS(e.child,t,n+1,0),PS(e.sibling,t,n,r+1)}DS.displayName="__Sentry.TouchEventBoundary",DS.defaultProps={breadcrumbCategory:"touch",breadcrumbType:"user",ignoreNames:[],maxComponentTreeSize:20,enableRageTapDetection:!0,rageTapThreshold:3,rageTapTimeWindow:1e3,extractTextFromChildren:!0};const LS=(e,t)=>{const n=n=>Co.createElement(DS,Object.assign({},null!==t&&void 0!==t?t:{}),Co.createElement(e,Object.assign({},n)));return n.displayName="WithTouchEventBoundary",n};class BS{constructor(e={}){this._buffer=J_(e.bufferSize||30)}send(e){return this._buffer.add(()=>$l.sendEnvelope(e)).then(()=>({}))}flush(e){return this._buffer.drain(e)}}function HS(e={}){return new BS(e)}function WS({enableNative:e}){return e&&$l.isNativeAvailable()?HS:null}function zS(){if(!Bl())return function(){const e=nl.SENTRY_RELEASE;if(!e)return;
2const{name:t,version:n}=e;return t&&n?`${t}@${n}`:void 0}()}function YS(e,t={}){return"function"===typeof e?(...n)=>{try{return e(...n)}catch(r){return v.error(t.loggerMessage?t.loggerMessage:`The ${e.name} callback threw an error`,r),n[0]}}:e}var US=function(t,n,r,i){return new(r||(r=Promise))(function(a,o){function s(t){try{c(i.next(t))}catch(e){o(e)}}function l(t){try{c(i.throw(t))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,l)}c((i=i.apply(t,n||[])).next())})};const XS={enableNativeCrashHandling:!0,enableNativeNagger:!0,autoInitializeNativeSdk:!0,enableAutoPerformanceTracing:!0,enableWatchdogTerminationTracking:!0,patchGlobalPromise:!0,sendClientReports:!0,maxQueueSize:30,attachStacktrace:!0,enableCaptureFailedRequests:!1,enableNdk:!0,enableAppStartTracking:!0,enableNativeFramesTracking:!0,enableStallTracking:!0,enableUserInteractionTracing:!1,propagateTraceparent:!1};function GS(e){var t,n,r,i,a,o;if(function(){var e;return"undefined"!==typeof nl.process&&"true"===(null===(e=nl.process.env)||void 0===e?void 0:e.___SENTRY_METRO_DEV_SERVER___)}())return;const s=Object.assign(Object.assign({},nl.__SENTRY_OPTIONS__),e),l=null!==(r=null!==(t=s.maxQueueSize)&&void 0!==t?t:null===(n=s.transportOptions)||void 0===n?void 0:n.bufferSize)&&void 0!==r?r:XS.maxQueueSize,c=!(void 0!==s.enableNative&&!s.enableNative)&&$l.isNativeAvailable();El(),c&&(bS(Xe()),bS(Ue()));const u=YS(s.beforeBreadcrumb,{loggerMessage:"The beforeBreadcrumb threw an error"}),p=null===(i=ol())||void 0===i?void 0:i.url,f=(e=>{if(!e)return;const t=qt(e);if(!t)return void v.error("Failed to extract url from DSN: ",e);const n=t.port?`:${t.port}`:"";return`${t.protocol}://${t.host}${n}`})(s.dsn),m=Object.assign(Object.assign(Object.assign({},XS),s),{release:null!==(a=s.release)&&void 0!==a?a:zS(),enableNative:c,enableNativeNagger:yS(s.enableNativeNagger),transport:s.transport||WS({enableNative:c})||ww,transportOptions:Object.assign(Object.assign(Object.assign({},XS.transportOptions),null!==(o=s.transportOptions)&&void 0!==o?o:{}),{bufferSize:l}),maxQueueSize:l,integrations:[],stackParser:(g=s.stackParser||Qs,Array.isArray(g)?$(...g):g),beforeBreadcrumb:(e,t)=>{let n=e;if(u){const r=u(e,t);if(null===r)return null;n=r}return(e=>{var t;const n=e.type||"",r="string"===typeof(null===(t=e.data)||void 0===t?void 0:t.url)?e.data.url:"";return"http"===n&&(p&&r.startsWith(p)||f&&r.startsWith(f))?null:e})(n)},initialScope:YS(s.initialScope,{loggerMessage:"The initialScope threw an error"})});var g,y;!("autoInitializeNativeSdk"in s)&&nl.__SENTRY_OPTIONS__&&(console.info("[Sentry] Using options file. Native SDK is expected to be initialized before JS, skipping automatic native initialization from JS."),m.autoInitializeNativeSdk=!1),"tracesSampler"in m&&(m.tracesSampler=(y=m.tracesSampler)?(...e)=>{try{return y(...e)}catch(t){return v.error("The tracesSampler callback threw an error",t),0}}:y),"environment"in m||(m.environment="production");const b=void 0===s.defaultIntegrations?function(e){var t,n,r;const i=[];Bl()?(i.push(lc({patchGlobalPromise:e.patchGlobalPromise})),i.push(wc())):(i.push(t_()),i.push(h_()),i.push(z_()),e.enableAutoSessionTracking&&i.push(Tk())),i.push(F_()),i.push(d_()),i.push(sb()),i.push(a_()),i.push(O_()),i.push(Ac()),i.push(Ic()),i.push(Dc()),i.push(Nc()),i.push(Kc()),e.enableNative&&(i.push(Ql()),i.push(Mc()),e.enableLogs&&"native"!==e.logsOrigin&&(i.push(Tb()),!1!==e.enableAutoConsoleLogs&&i.push(xs())),e.attachScreenshot&&i.push(uu()),e.attachViewHierarchy&&i.push(fu()),"number"===typeof e.profilesSampleRate&&i.push(su()));const a="number"===typeof e.tracesSampleRate||"function"===typeof e.tracesSampler;a&&e.enableAppStartTracking&&e.enableNative&&i.push(pv({standalone:!!(null===(t=e._experiments)||void 0===t?void 0:t.enableStandaloneAppStartTracing)}));const o=vv(a&&e.enableNativeFramesTracking&&e.enableNative);o&&i.push(o),a&&e.enableStallTracking&&i.push(kv()),a&&e.enableUserInteractionTracing&&i.push(xv()),a&&e.enableAutoPerformanceTracing&&(i.push(Hg()),i.push(By())),a&&i.push(rb()),e.enableCaptureFailedRequests&&i.push(C_()),i.push(gu()),i.push(yu()),i.push(wu()),a&&e.enableAutoPerformanceTracing&&i.push(Pk()),e.spotlight;const s="number"===typeof e.replaysOnErrorSampleRate||"number"===typeof e.replaysSessionSampleRate,l=e._experiments&&"number"===typeof e._experiments.replaysOnErrorSampleRate||e._experiments&&"number"===typeof e._experiments.replaysSessionSampleRate;return!s&&l&&(e.replaysOnErrorSampleRate=null===(n=e._experiments)||void 0===n?void 0:n.replaysOnErrorSampleRate,e.replaysSessionSampleRate=null===(r=e._experiments)||void 0===r?void 0:r.replaysSessionSampleRate),(s||l)&&Bl()&&i.push(Lu()),i.push(cb()),e.enableNative&&i.push(Eb()),i}(m):s.defaultIntegrations;m.integrations=Qe({integrations:YS(s.integrations,{loggerMessage:"The integrations threw an error"}),defaultIntegrations:b}),function(e,t){!0===t.debug&&(d?v.enable():h(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Ye().update(t.initialScope);const n=new e(t);Jr(n),n.init()}(_w,m),Vl()&&(v.log("Offline caching, native errors features are not available in Expo Go."),v.log("Use EAS Build / Native Release Build to test these features.")),nl.__SENTRY_OPTIONS__&&v.log("Sentry JS initialized with options from the options file.")}function qS(e,t){var n;const r=Object.assign(Object.assign({},null===t||void 0===t?void 0:t.profilerProps),{name:null!==(n=e.displayName)&&void 0!==n?n:"Root",updateProps:{}}),i=Pl()?Jo:Uk;return n=>{var a;return Co.createElement(DS,Object.assign({},null!==(a=null===t||void 0===t?void 0:t.touchEventBoundaryProps)&&void 0!==a?a:{}),Co.createElement(i,Object.assign({},r),Co.createElement(Ak,null,Co.createElement(e,Object.assign({},n)))))}}function JS(){$l.nativeCrash()}function $S(){!function(){Qy(this,void 0,void 0,function*(){if(av)return void v.warn("[AppStart] appLoaded() w
2as already called. Subsequent calls are ignored.");const e=qe();if(!e)return void v.warn("[AppStart] appLoaded() was called before Sentry.init(). App start end will not be recorded.");av=!0;const t=1e3*be();nv?(v.log("[AppStart] appLoaded() overwriting auto-detected app start end timestamp."),nv.timestampMs=t,nv.endFrames=null):uv({timestampMs:t,endFrames:null}),iv=!0,yield lv();const n=e.getIntegrationByName(ev);n&&(n.cancelDeferredStandaloneCapture(),yield n.captureStandaloneAppStart())})}()}function KS(){!function(){var e,t;null===(t=null===(e=qe())||void 0===e?void 0:e.getIntegrationByName(ev))||void 0===t||t.extendAppStart()}()}function ZS(){return function(){var e,t,n;return null!==(n=null===(t=null===(e=qe())||void 0===e?void 0:e.getIntegrationByName(ev))||void 0===t?void 0:t.getExtendedAppStartSpan())&&void 0!==n?n:new En}()}function QS(){return function(){return Qy(this,void 0,void 0,function*(){var e,t;yield null===(t=null===(e=qe())||void 0===e?void 0:e.getIntegrationByName(ev))||void 0===t?void 0:t.finishExtendedAppStart()})}()}function ex(){return US(this,void 0,void 0,function*(){try{const e=qe();if(e){return yield e.flush()}}catch(e){}return v.error("Failed to flush the event queue."),!1})}function tx(){return US(this,void 0,void 0,function*(){try{const e=qe();e&&(yield e.close())}catch(e){v.error("Failed to close the SDK")}})}function nx(t){return Ge(n=>{try{return t(n)}catch(e){return void v.error("Error while running withScope callback",e)}})}function rx(){return US(this,void 0,void 0,function*(){return $l.crashedLastRun()})}function ix(){$l.pauseAppHangTracking()}function ax(){$l.resumeAppHangTracking()}let ox;var sx=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};let lx=!1,cx=!1,ux=!1;const dx=Co.forwardRef((e,t)=>{const{onReady:n}=e,i=sx(e,["onReady"]),a=function(){var e;if(void 0!==ox)return ox;try{const t=r(67169);ox=null!==(e=null===t||void 0===t?void 0:t.NavigationContainer)&&void 0!==e?e:null}catch(t){ox=null}return ox}(),o=Co.useRef(null),s=Co.useCallback(e=>{o.current=e,"function"===typeof t?t(e):null!=t&&(t.current=e)},[t]),l=Co.useCallback(()=>{try{const e=qe();if(e){const t=Yv(e);
2t?t.registerNavigationContainer(o):ux||(ux=!0,v.log("[Sentry] NavigationContainer: reactNavigationIntegration is not registered. Navigation spans will not be captured."))}else cx||(cx=!0,v.warn("[Sentry] NavigationContainer: Sentry is not initialized. Call Sentry.init() before mounting NavigationContainer."))}catch(e){}"function"===typeof n&&n()},[n]);return a?Co.createElement(a,Object.assign({},i,{ref:s,onReady:l})):(lx||(lx=!0,v.warn("[Sentry] NavigationContainer requires @react-navigation/native to be installed.")),Co.createElement(Co.Fragment,null,i.children))});var px=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};class fx extends Co.Component{constructor(){super(...arguments),this.state={globalError:null,globalEventId:""},this._latched=!1,this._onGlobalError=e=>{var t,n,r,i,a;if(this._latched)return;this._latched=!0;const o=null!==(t=e.error)&&void 0!==t?t:new Error("Unknown global error"),s=null!==(r=null!==(n=e.eventId)&&void 0!==n?n:Wr())&&void 0!==r?r:"";this.setState({globalError:o,globalEventId:s}),null===(a=(i=this.props).onError)||void 0===a||a.call(i,o,"",s)},this._resetFromFallback=()=>{var e,t;const{globalError:n,globalEventId:r}=this.state;this._latched=!1,this.setState({globalError:null,globalEventId:""}),null===(t=(e=this.props).onReset)||void 0===t||t.call(e,n,"",r)},this._onRenderBoundaryReset=(e,t,n)=>{var r,i;null===(i=(r=this.props).onReset)||void 0===i||i.call(r,e,t,n)}}componentDidMount(){this._subscribe()}componentWillUnmount(){var e;null===(e=this._unsubscribe)||void 0===e||e.call(this),this._unsubscribe=void 0}componentDidUpdate(e){var t;e.includeNonFatalGlobalErrors===this.props.includeNonFatalGlobalErrors&&e.includeUnhandledRejections===this.props.includeUnhandledRejections||(null===(t=this._unsubscribe)||void 0===t||t.call(this),this._subscribe())}render(){const{globalError:e,globalEventId:t}=this.state,n=this.props,{children:r,fallback:i,includeNonFatalGlobalErrors:a,includeUnhandledRejections:o}=n,s=px(n,["children","fallback","includeNonFatalGlobalErrors","includeUnhandledRejections"]);return null!==e&&void 0!==e?"function"===typeof i?i({error:e,componentStack:"",eventId:t,resetError:this._resetFromFallback}):null!==i&&void 0!==i?i:null:Co.createElement(zo,Object.assign({},s,{fallback:i,onReset:this._onRenderBoundaryReset}),r)}_subscribe(){this._unsubscribe=function(e,t={}){var n,r,i;const a={listener:e,options:{fatal:null===(n=t.fatal)||void 0===n||n,nonFatal:null!==(r=t.nonFatal)&&void 0!==r&&r,unhandledRejection:null!==(i=t.unhandledRejection)&&void 0!==i&&i}};return ic().subscribers.add(a),()=>{ic().subscribers.delete(a)}}(this._onGlobalError,{fatal:!0,nonFatal:!!this.props.includeNonFatalGlobalErrors,unhandledRejection:!!this.props.includeUnhandledRejections})}}function hx(e,t){const n=e.displayName||e.name||"unknown",r=n=>Co.createElement(fx,Object.assign({},t),Co.createElement(e,Object.assign({},n)));return r.displayName=`globalErrorBoundary(${n})`,r}const mx=e=>Co.createElement(Tw.default,Object.assign({},e),Co.createElement("div",{className:"sentry-react-native-mask"},e.children)),gx=e=>Co.createElement(Tw.default,Object.assign({},e),Co.createElement("div",{className:"sentry-react-native-unmask"},e.children))},92810(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SDK_VERSION=t.SDK_NAME=t.SDK_PACKAGE_NAME=void 0,t.SDK_PACKAGE_NAME="npm:@sentry/react-native",t.SDK_NAME="sentry.javascript.react-native",t.SDK_VERSION="8.18.0"},59348(t,n,r){"use strict";r.r(n),r.d(n,{hideOthers:()=>d,inertOthers:()=>p,supportsInert:()=>f,suppressOthers:()=>h});var i=function(e){return"undefined"===typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},a=new WeakMap,o=new WeakMap,s={},l=0,c=function(e){return e&&(e.host||c(e.parentNode))},u=function(t,n,r,i){var u=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=c(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(n,Array.isArray(t)?t:[t]);s[r]||(s[r]=new WeakMap);var d=s[r],p=[],f=new Set,h=new Set(u),m=function(e){e&&!f.has(e)&&(f.add(e),m(e.parentNode))};u.forEach(m);var g=function(t){t&&!h.has(t)&&Array.prototype.forEach.call(t.children,function(t){if(f.has(t))g(t);else try{var n=t.getAttribute(i),s=null!==n&&"false"!==n,l=(a.get(t)||0)+1,c=(d.get(t)||0)+1;a.set(t,l),d.set(t,c),p.push(t),1===l&&s&&o.set(t,!0),1===c&&t.setAttribute(r,"true"),s||t.setAttribute(i,"true")}catch(e){console.error("aria-hidden: cannot operate on ",t,e)}})};return g(n),f.clear(),l++,function(){p.forEach(function(e){var t=a.get(e)-1,n=d.get(e)-1;a.set(e,t),d.set(e,n),t||(o.has(e)||e.removeAttribute(i),o.delete(e)),n||e.removeAttribute(r)}),--l||(a=new WeakMap,a=new WeakMap,o=new WeakMap,s={})}},d=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),a=t||i(e);return a?(r.push.apply(r,Array.from(a.querySelectorAll("[aria-live], script"))),u(r,a,n,"aria-hidden")):function(){return null}},p=function(e,t,n){void 0===n&&(n="data-inert-ed");var r=t||i(e);return r?u(e,r,n,"inert"):function(){return null}},f=function(){return"undefined"!==typeof HTMLElement&&HTMLElement.prototype.hasOwnProperty("inert")},h=function(e,t,n){return void 0===n&&(n="data-suppressed"),(f()?p:d)(e,t,n)}},20073(e,t,n){"use strict";n(97551)()},89428(e,t,n){"use strict";var r=n(82508),i=n(47793),a=n(58329),o=n(63497),s=n(6916),l=n(51014),c=n(16055),u=n(61757);e.exports=function(e){var t,n=c(this),d=s(n);if(!o(e))throw new r("predicate must be a function");arguments.length>1&&(t=arguments[1]);for(var p=d-1;p>=0;){var f=u(p),h=a(n,f);
2if(l(i(e,t,[h,p,n])))return h;p-=1}}},93825(e,t,n){"use strict";var r=n(89428);e.exports=function(){return Array.prototype.findLast||r}},97551(e,t,n){"use strict";var r=n(35233),i=n(93825),a=n(40662);e.exports=function(){var e=i();return r(Array.prototype,{findLast:e},{findLast:function(){return Array.prototype.findLast!==e}}),a("findLast"),e}},21498(e,t,n){"use strict";n.r(t),n.d(t,{clear:()=>A,set:()=>E});let r=!1;const i={mediaQuery:null,value:0};function a(){return"ExperimentalBadge"in window&&!!window.ExperimentalBadge}function o(){return"setExperimentalAppBadge"in navigator&&!!navigator.setExperimentalAppBadge&&"clearExperimentalAppBadge"in navigator&&!!navigator.clearExperimentalAppBadge}function s(){return i.mediaQuery||(i.mediaQuery=window.matchMedia("(display-mode: standalone)"),i.mediaQuery.onchange=e=>{l(i.value)}),i.mediaQuery.matches&&(a()||o())}function l(e){return i.value=e,s()?a()?(window.ExperimentalBadge.set(e),!0):!!o()&&(navigator.setExperimentalAppBadge(e),!0):(r||"ExperimentalBadge"in window||"setExperimentalAppBadge"in navigator||(console.warn("Badging API must be enabled. Please check here how you can enable it: https://developers.google.com/web/updates/2018/12/badging-api#use"),r=!0),!1)}function c(e,t){for(const n of Object.keys(t))t[n]instanceof Object&&Object.assign(t[n],c(e[n],t[n]));return Object.assign(e||{},t),e}function u(e){return"undefined"!==typeof e&&Number.isInteger(e)&&e>=0}const d={backgroundColor:"#424242",color:"#ffffff",indicator:"!",radius:3,size:7,horizontalMargin:0,verticalMargin:0,horizontalPadding:1,verticalPadding:1},p=navigator.userAgent.indexOf("Firefox")>-1,f=()=>{const e=document.head.getElementsByTagName("link"),t=[];for(let n=0;n<e.length;n++){const r=e[n],i=r.getAttribute("href"),a=r.getAttribute("rel");i&&(a&&-1!==a.split(" ").indexOf("icon")&&t.push(r))}return t},h=()=>{const e=f();let t=null,n=0;for(let r=0;r<e.length;r++){const i=e[r],a=i.getAttribute("href"),o=i.getAttribute("sizes");if(null===a||void 0===a?void 0:a.endsWith(".svg"))return i;if(!o){t||(t=i,n=0);continue}if("any"===o)return i;const s=parseInt(o.split("x")[0],10);Number.isNaN(s)?t||(t=i,n=0):s>n&&(t=i,n=s)}return t},m={favicons:null,bestFavicon:null,bestFaviconImage:null,value:0,options:d},g=window.matchMedia("screen and (min-resolution: 2dppx)"),y=()=>Math.ceil(window.devicePixelRatio)||1,v=()=>{S(m.value,m.options)},b=()=>16*y(),_=(e,t,n)=>{const r=b(),i=document.createElement("canvas");i.width=r,i.height=r;const a=i.getContext("2d");a&&(e.width=r,e.height=r,a.drawImage(e,0,0,e.width,e.height),w(a,t,n),(e=>{if(!e)return;for(const n of f())n.parentNode&&n.parentNode.removeChild(n);const t=document.createElement("link");t.id="badgin",t.type="image/x-icon",t.rel="icon favicon",t.href=e,document.getElementsByTagName("head")[0].appendChild(t)})(i.toDataURL()))},w=(e,t,n)=>{const r=y(),i=b();let a="";if(a=u(t)?0===t?"":t<100?String(t):"99+":n.indicator,!a)return;const o=n.size-2,s=n.size*r+"px Arial";e.font=s;const{width:l}=e.measureText(a);e.restore();const c=l+2*n.horizontalPadding,d=i-(o*r+2*n.verticalPadding)-n.verticalMargin,f=i-c-n.horizontalMargin,h=16*r-n.verticalMargin,m=16*r-n.horizontalMargin,g=n.radius;e.globalAlpha=1,e.fillStyle=n.backgroundColor,e.strokeStyle=n.backgroundColor,e.lineWidth=0,e.beginPath(),e.moveTo(f+g,d),e.quadraticCurveTo(f,d,f,d+g),e.lineTo(f,h-g),e.quadraticCurveTo(f,h,f+g,h),e.lineTo(m-g,h),e.quadraticCurveTo(m,h,m,h-g),e.lineTo(m,d+g),e.quadraticCurveTo(m,d,m-g,d),e.closePath(),e.fill(),e.save(),e.font=s,e.fillStyle=n.color,e.textAlign="center",e.textBaseline="hanging",e.fillText(a,f+c/2,d+n.verticalPadding+(p?1:0)),e.save()};function k(){return!!h()}function S(e,t){if(m.value=e,c(m.options,t||{}),!k())return!1;if(!m.bestFavicon){const e=h();if(e){const t=document.createElement("img");e.href.match(/^data/)||(t.crossOrigin="anonymous"),t.src=e.href,m.bestFavicon=e,m.bestFaviconImage=t}g.addEventListener("change",v)}return m.favicons||(m.favicons=f()),!!m.bestFaviconImage&&(m.bestFaviconImage.complete?(_(m.bestFaviconImage,m.value,m.options),!0):(m.bestFaviconImage.addEventListener("load",function(){_(this,m.value,m.options)}),!0))}const x={title:null,value:0,options:{indicator:"!"}};function C(e,t){return null===x.title&&(x.title=document.title,Object.defineProperty(document,"title",{get:()=>x.title,set:e=>{x.title=e,function(e,t,n){let r=e;r=u(t)?0===t?e:`(${t}) ${e}`:`(${n.indicator}) ${e}`;const i=document.querySelector("title");i&&(i.childNodes[0].nodeValue=r)}(x.title,x.value,x.options)}})),x.value=e,c(x.options,t||{}),document.title=document.title,!0}function E(e,t={}){switch(t.method){case void 0:case"Badging":if(l(e)&&"Badging"===t.method)break;case"Favicon":if(S(e,t.favicon))break;default:C(e,t.title)}}function A(){s()&&(a()?window.ExperimentalBadge.clear():o()&&navigator.clearExperimentalAppBadge()),function(){if(k()&&(m.value=0,m.options=d,g.removeEventListener("change",v),m.favicons)){for(const e of f())e.parentNode&&e.parentNode.removeChild(e);for(const e of m.favicons)document.head.appendChild(e);m.favicons=null,m.bestFavicon=null,m.bestFaviconImage=null}}(),x.value=0,document.title=document.title}},68549(e,t,n){"use strict";var r=n(21954),i=n(94639),a=n(32371),o=n(25724);e.exports=o||r.call(a,i)},30428(e,t,n){"use strict";var r=n(21954),i=n(94639),a=n(68549);e.exports=function(){return a(r,i,arguments)}},94639(e){"use strict";e.exports=Function.prototype.apply},32371(e){"use strict";e.exports=Function.prototype.call},1311(e,t,n){"use strict";var r=n(21954),i=n(82508),a=n(32371),o=n(68549);e.exports=function(e){if(e.length<1||"function"!==typeof e[0])throw new i("a function is required");return o(r,a,e)}},25724(e){"use strict";e.exports="undefined"!==typeof Reflect&&Reflect&&Reflect.apply},39506(e,t,n){"use strict";var r=n(26940),i=n(38220),a=n(1311),o=n(30428);e.exports=function(e){var t=a(arguments),n=1+e.length-(arguments.length-1);return r(t,n>0?n:0,!0)},i?i(e.exports,"apply",{value:o}):e.exports.apply=o}
2,27631(e,t,n){"use strict";var r=n(57968),i=n(1311),a=i([r("%String.prototype.indexOf%")]);e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&a(e,".prototype.")>-1?i([n]):n}},82350(e,t,n){const r=n(9059),i={};for(const s of Object.keys(r))i[r[s]]=s;const a={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=a;for(const s of Object.keys(a)){if(!("channels"in a[s]))throw new Error("missing channels property: "+s);if(!("labels"in a[s]))throw new Error("missing channel labels property: "+s);if(a[s].labels.length!==a[s].channels)throw new Error("channel and label counts mismatch: "+s);const{channels:e,labels:t}=a[s];delete a[s].channels,delete a[s].labels,Object.defineProperty(a[s],"channels",{value:e}),Object.defineProperty(a[s],"labels",{value:t})}function o(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}a.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=a-i;let s,l;a===i?s=0:t===a?s=(n-r)/o:n===a?s=2+(r-t)/o:r===a&&(s=4+(t-n)/o),s=Math.min(60*s,360),s<0&&(s+=360);const c=(i+a)/2;return l=a===i?0:c<=.5?o/(a+i):o/(2-a-i),[s,100*l,100*c]},a.rgb.hsv=function(e){let t,n,r,i,a;const o=e[0]/255,s=e[1]/255,l=e[2]/255,c=Math.max(o,s,l),u=c-Math.min(o,s,l),d=function(e){return(c-e)/6/u+.5};return 0===u?(i=0,a=0):(a=u/c,t=d(o),n=d(s),r=d(l),o===c?i=r-n:s===c?i=1/3+t-r:l===c&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*a,100*c]},a.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const i=a.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[i,100*o,100*r]},a.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r);return[100*((1-t-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*i]},a.rgb.keyword=function(e){const t=i[e];if(t)return t;let n,a=1/0;for(const i of Object.keys(r)){const t=o(e,r[i]);t<a&&(a=t,n=i)}return n},a.keyword.rgb=function(e){return r[e]},a.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;return[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},a.rgb.lab=function(e){const t=a.rgb.xyz(e);let n=t[0],r=t[1],i=t[2];n/=95.047,r/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;return[116*r-16,500*(n-r),200*(r-i)]},a.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let i,a,o;if(0===n)return o=255*r,[o,o,o];i=r<.5?r*(1+n):r+n-r*n;const s=2*r-i,l=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,o=6*a<1?s+6*(i-s)*a:2*a<1?i:3*a<2?s+(i-s)*(2/3-a)*6:s,l[c]=255*o;return l},a.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,i=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,i*=a<=1?a:2-a;return[t,100*(0===r?2*i/(a+i):2*n/(r+n)),100*((r+n)/2)]},a.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*a),l=255*r*(1-n*(1-a));switch(r*=255,i){case 0:return[r,l,o];case 1:return[s,r,o];case 2:return[o,r,l];case 3:return[o,s,r];case 4:return[l,o,r];case 5:return[r,o,s]}},a.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01);let a,o;o=(2-n)*r;const s=(2-n)*i;return a=n*i,a/=s<=1?s:2-s,a=a||0,o/=2,[t,100*a,100*o]},a.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const i=n+r;let a;i>1&&(n/=i,r/=i);const o=Math.floor(6*t),s=1-r;a=6*t-o,0!==(1&o)&&(a=1-a);const l=n+a*(s-n);let c,u,d;switch(o){default:case 6:case 0:c=s,u=l,d=n;break;case 1:c=l,u=s,d=n;break;case 2:c=n,u=s,d=l;break;case 3:c=n,u=l,d=s;break;case 4:c=l,u=n,d=s;break;case 5:c=s,u=n,d=l}return[255*c,255*u,255*d]},a.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},a.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let i,a,o;return i=3.2406*t+-1.5372*n+-.4986*r,a=-.9689*t+1.8758*n+.0415*r,o=.0557*t+-.204*n+1.057*r,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),[255*i,255*a,255*o]},a.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;return[116*n-16,500*(t-n),200*(n-r)]},a.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const i=n**3,a=t**3,o=r**3;return n=i>.008856?i:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=o>.008856?o:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},a.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let i;i=360*Math.atan2(r,n)/2/Math.PI,i<0&&(i+=360);return[t,Math.sqrt(n*n+r*r),i]},a.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},a.rgb.ansi16=function(e,t=null){const[n,r,i]=e;let o=null===t?a.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),0===o)return 30;let s=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===o&&(s+=60),s},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>
2248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},a.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},a.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},a.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map(e=>e+e).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},a.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),o=i-a;let s,l;return s=o<1?a/(1-o):0,l=o<=0?0:i===t?(n-r)/o%6:i===n?2+(r-t)/o:4+(t-n)/o,l/=6,l%=1,[360*l,100*o,100*s]},a.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},a.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},a.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const i=[0,0,0],a=t%1*6,o=a%1,s=1-o;let l=0;switch(Math.floor(a)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return l=(1-n)*r,[255*(n*i[0]+l),255*(n*i[1]+l),255*(n*i[2]+l)]},a.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},a.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},a.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},a.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=function(e){return[0,0,e[0]]},a.gray.hsv=a.gray.hsl,a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},66919(e,t,n){const r=n(82350),i=n(52466),a={};Object.keys(r).forEach(e=>{a[e]={},Object.defineProperty(a[e],"channels",{value:r[e].channels}),Object.defineProperty(a[e],"labels",{value:r[e].labels});const t=i(e);Object.keys(t).forEach(n=>{const r=t[n];a[e][n]=function(e){const t=function(...t){const n=t[0];if(void 0===n||null===n)return n;n.length>1&&(t=n);const r=e(t);if("object"===typeof r)for(let e=r.length,i=0;i<e;i++)r[i]=Math.round(r[i]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(r),a[e][n].raw=function(e){const t=function(...t){const n=t[0];return void 0===n||null===n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)})}),e.exports=a},52466(e,t,n){const r=n(82350);function i(e){const t=function(){const e={},t=Object.keys(r);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;){const e=n.pop(),i=Object.keys(r[e]);for(let r=i.length,a=0;a<r;a++){const r=i[a],o=t[r];-1===o.distance&&(o.distance=t[e].distance+1,o.parent=e,n.unshift(r))}}return t}function a(e,t){return function(n){return t(e(n))}}function o(e,t){const n=[t[e].parent,e];let i=r[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)n.unshift(t[o].parent),i=a(r[t[o].parent][o],i),o=t[o].parent;return i.conversion=n,i}e.exports=function(e){const t=i(e),n={},r=Object.keys(t);for(let i=r.length,a=0;a<i;a++){const e=r[a];null!==t[e].parent&&(n[e]=o(e,t))}return n}},9059(e){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
2ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},43621(e,t,n){var r=n(9059),i=n(74119),a=Object.hasOwnProperty,o=Object.create(null);
2for(var s in r)a.call(r,s)&&(o[r[s]]=s);var l=e.exports={to:{},get:{}};function c(e,t,n){return Math.min(Math.max(t,e),n)}function u(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}l.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=l.get.hsl(e),n="hsl";break;case"hwb":t=l.get.hwb(e),n="hwb";break;default:t=l.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},l.get.rgb=function(e){if(!e)return null;var t,n,i,o=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(i=t[2],t=t[1],n=0;n<3;n++){var s=2*n;o[n]=parseInt(t.slice(s,s+2),16)}i&&(o[3]=parseInt(i,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(i=(t=t[1])[3],n=0;n<3;n++)o[n]=parseInt(t[n]+t[n],16);i&&(o[3]=parseInt(i+i,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)o[n]=parseInt(t[n+1],0);t[4]&&(t[5]?o[3]=.01*parseFloat(t[4]):o[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:a.call(r,t[1])?((o=r[t[1]])[3]=1,o):null:null;for(n=0;n<3;n++)o[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?o[3]=.01*parseFloat(t[4]):o[3]=parseFloat(t[4]))}for(n=0;n<3;n++)o[n]=c(o[n],0,255);return o[3]=c(o[3],0,1),o},l.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},l.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},l.to.hex=function(){var e=i(arguments);return"#"+u(e[0])+u(e[1])+u(e[2])+(e[3]<1?u(Math.round(255*e[3])):"")},l.to.rgb=function(){var e=i(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},l.to.rgb.percent=function(){var e=i(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+r+"%)":"rgba("+t+"%, "+n+"%, "+r+"%, "+e[3]+")"},l.to.hsl=function(){var e=i(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},l.to.hwb=function(){var e=i(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},l.to.keyword=function(e){return o[e.slice(0,3)]}},39809(e,t,n){const r=n(43621),i=n(66919),a=["keyword","gray","hex"],o={};for(const f of Object.keys(i))o[[...i[f].labels].sort().join("")]=f;const s={};function l(e,t){if(!(this instanceof l))return new l(e,t);if(t&&t in a&&(t=null),t&&!(t in i))throw new Error("Unknown model: "+t);let n,c;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof l)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"===typeof e){const t=r.get(e);if(null===t)throw new Error("Unable to parse color from string: "+e);this.model=t.model,c=i[this.model].channels,this.color=t.value.slice(0,c),this.valpha="number"===typeof t.value[c]?t.value[c]:1}else if(e.length>0){this.model=t||"rgb",c=i[this.model].channels;const n=Array.prototype.slice.call(e,0,c);this.color=p(n,c),this.valpha="number"===typeof e[c]?e[c]:1}else if("number"===typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const t=Object.keys(e);"alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"===typeof e.alpha?e.alpha:0);const r=t.sort().join("");if(!(r in o))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=o[r];const{labels:a}=i[this.model],s=[];for(n=0;n<a.length;n++)s.push(e[a[n]]);this.color=p(s)}if(s[this.model])for(c=i[this.model].channels,n=0;n<c;n++){const e=s[this.model][n];e&&(this.color[n]=e(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}l.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in r.to?this:this.rgb();t=t.round("number"===typeof e?e:1);const n=1===t.valpha?t.color:[...t.color,this.valpha];return r.to[t.model](n)}
2,percentString(e){const t=this.rgb().round("number"===typeof e?e:1),n=1===t.valpha?t.color:[...t.color,this.valpha];return r.to.rgb.percent(n)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:t}=i[this.model],{labels:n}=i[this.model];for(let r=0;r<t;r++)e[n[r]]=this.color[r];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new l([...this.color.map(c(e)),this.valpha],this.model)},alpha(e){return void 0!==e?new l([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:u("rgb",0,d(255)),green:u("rgb",1,d(255)),blue:u("rgb",2,d(255)),hue:u(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:u("hsl",1,d(100)),lightness:u("hsl",2,d(100)),saturationv:u("hsv",1,d(100)),value:u("hsv",2,d(100)),chroma:u("hcg",1,d(100)),gray:u("hcg",2,d(100)),white:u("hwb",1,d(100)),wblack:u("hwb",2,d(100)),cyan:u("cmyk",0,d(100)),magenta:u("cmyk",1,d(100)),yellow:u("cmyk",2,d(100)),black:u("cmyk",3,d(100)),x:u("xyz",0,d(95.047)),y:u("xyz",1,d(100)),z:u("xyz",2,d(108.833)),l:u("lab",0,d(100)),a:u("lab",1),b:u("lab",2),keyword(e){return void 0!==e?new l(e):i[this.model].keyword(this.color)},hex(e){return void 0!==e?new l(e):r.to.hex(this.rgb().round().color)},hexa(e){if(void 0!==e)return new l(e);const t=this.rgb().round().color;let n=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===n.length&&(n="0"+n),r.to.hex(t)+n},rgbNumber(){const e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){const e=this.rgb().color,t=[];for(const[n,r]of e.entries()){const e=r/255;t[n]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return l.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const n=e.rgb(),r=this.rgb(),i=void 0===t?.5:t,a=2*i-1,o=n.alpha()-r.alpha(),s=((a*o===-1?a:(a+o)/(1+a*o))+1)/2,c=1-s;return l.rgb(s*n.red()+c*r.red(),s*n.green()+c*r.green(),s*n.blue()+c*r.blue(),n.alpha()*i+r.alpha()*(1-i))}};for(const f of Object.keys(i)){if(a.includes(f))continue;const{channels:e}=i[f];l.prototype[f]=function(...e){return this.model===f?new l(this):e.length>0?new l(e,f):new l([...(t=i[this.model][f].raw(this.color),Array.isArray(t)?t:[t]),this.valpha],f);var t},l[f]=function(...t){let n=t[0];return"number"===typeof n&&(n=p(t,e)),new l(n,f)}}function c(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}function u(e,t,n){e=Array.isArray(e)?e:[e];for(const r of e)(s[r]||(s[r]=[]))[t]=n;return e=e[0],function(r){let i;return void 0!==r?(n&&(r=n(r)),i=this[e](),i.color[t]=r,i):(i=this[e]().color[t],n&&(i=n(i)),i)}}function d(e){return function(t){return Math.max(0,Math.min(e,t))}}function p(e,t){for(let n=0;n<t;n++)"number"!==typeof e[n]&&(e[n]=0);return e}e.exports=l},74600(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e){return e.filter(function(t,n){return e.lastIndexOf(t)===n})}function s(e){for(var t=0,n=arguments.length<=1?0:arguments.length-1;t<n;++t){var a=t+1<1||arguments.length<=t+1?void 0:arguments[t+1];for(var l in a){var c=a[l],u=e[l];if(u&&c){if(Array.isArray(u)){e[l]=o(u.concat(c));continue}if(Array.isArray(c)){e[l]=o([u].concat(i(c)));continue}if("object"===r(c)){e[l]=s({},u,c);continue}}e[l]=c}}return e}n.r(t),n.d(t,{assignStyle:()=>s,camelCaseProperty:()=>p,cssifyDeclaration:()=>m,cssifyObject:()=>g,hyphenateProperty:()=>h,isPrefixedProperty:()=>v,isPrefixedValue:()=>_,isUnitlessProperty:()=>O,normalizeProperty:()=>j,resolveArrayValue:()=>F,unprefixProperty:()=>N,unprefixValue:()=>V});var l=/-([a-z])/g,c=/^Ms/g,u={};function d(e){return e[1].toUpperCase()}function p(e){if(u.hasOwnProperty(e))return u[e];var t=e.replace(l,d).replace(c,"ms");return u[e]=t,t}var f=n(25190);function h(e){return(0,f.default)(e)}function m(e,t){return h(e)+":"+t}function g(e){var t="";for(var n in e){var r=e[n];"string"!==typeof r&&"number"!==typeof r||(t&&(t+=";"),t+=m(n,r))}return t}var y=/^(Webkit|Moz|O|ms)/;function v(e){return y.test(e)}var b=/-webkit-|-moz-|-ms-/;function _(e){return"string"===typeof e&&b.test(e)}var w={borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},k=["animationIterationCount","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","lineClamp","order"],S=["Webkit","ms","Moz","O"];function x(e,t){return e+t.charAt(0).toUpperCase()+t.slice(1)}for(var C=0,E=k.length;C<E;++C){var A=k[C];w[A]=!0;for(var T=0,I=S.length;T<I;++T)w[x(S[T],A)]=!0}for(var R in w)w[h(R)]=!0;function O(e){return w.hasOwnProperty(e)}var D=/^(ms|Webkit|Moz|O)/;function N(e){var t=e.replace(D,"");return t.charAt(0).toLowerCase()+t.slice(1)}function j(e){return N(p(e))}function F(e,t){return t.join(";"+h(e)+":")}var M=/(-ms-|-webkit-|-moz-|-o-)/g;function V(e){return"string"===typeof e?e.replace(M,""):e}},54644(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e)};var r,i=n(25190),a=(r=i)&&r.__esModule?r:{default:r}},52123(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"===typeof e&&n.test(e)};var n=/-webkit-|-moz-|-ms-/},68144(e,t){"use strict";t.match=function(e,t){return s(e).some(function(e){var n=e.inverse,r="all"===e.type||t.type===e.type;if(r&&n||!r&&!n)return!1;var i=e.expressions.every(function(e){var n=e.feature,r=e.modifier,i=e.value,a=t[n];if(!a)return!1;switch(n){case"orientation":case"scan":return a.toLowerCase()===i.toLowerCase();case"width":case"height":case"device-width":case"device-height":i=u(i),a=u(a);break;case"resolution":i=c(i),a=c(a);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":i=l(i),a=l(a);break;case"grid":case"color":case"color-index":case"monochrome":i=parseInt(i,10)||1,a=parseInt(a,10)||0}switch(r){case"min":return a>=i;case"max":return a<=i;default:return a===i}});return i&&!n||!i&&n})},t.parse=s;var n=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,r=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,i=/^(?:(min|max)-)?(.+)/,a=/(em|rem|px|cm|mm|in|pt|pc)?$/,o=/(dpi|dpcm|dppx)?$/;function s(e){return e.split(",").map(function(e){var t=(e=e.trim()).match(n),a=t[1],o=t[2],s=t[3]||"",l={};return l.inverse=!!a&&"not"===a.toLowerCase(),l.type=o?o.toLowerCase():"all",s=s.match(/\([^\)]+\)/g)||[],l.expressions=s.map(function(e){var t=e.match(r),n=t[1].toLowerCase().match(i);return{modifier:n[1],feature:n[2],value:t[2]}}),l})}function l(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function c(e){var t=parseFloat(e);switch(String(e).match(o)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function u(e){var t=parseFloat(e);switch(String(e).match(a)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}},4221(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function i(e,t){try{return[decodeURIComponent(e.join(""))]}catch(a){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],i(n),i(r))}function a(e){try{return decodeURIComponent(e)}catch(a){for(var t=e.match(n)||[],r=1;r<t.length;r++)t=(e=i(t,r).join("")).match(n)||[];return e}}e.exports=function(e){if("string"!==typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var n={"%FE%FF":"\ufffd\ufffd","%FF%FE":"\ufffd\ufffd"},i=r.exec(e);i;){try{n[i[0]]=decodeURIComponent(i[0])}catch(t){var o=a(i[0]);o!==i[0]&&(n[i[0]]=o)}i=r.exec(e)}n["%C2"]="\ufffd";for(var s=Object.keys(n),l=0;l<s.length;l++){var c=s[l];e=e.replace(new RegExp(c,"g"),n[c])}return e}(e)}}},37502(e,t,n){"use strict";var r=n(38220),i=n(86499),a=n(82508),o=n(3128);e.exports=function(e,t,n){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new a("`obj` must be an object or a function`");if("string"!==typeof t&&"symbol"!==typeof t)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],d=!!o&&o(e,t);if(r)r(e,t,{configurable:null===c&&d?d.configurable:!c,enumerable:null===s&&d?d.enumerable:!s,value:n,writable:null===l&&d?d.writable:!l});else{if(!u&&(s||l||c))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},35233(e,t,n){"use strict";var r=n(3276),i="function"===typeof Symbol&&"symbol"===typeof Symbol("foo"),a=Object.prototype.toString,o=Array.prototype.concat,s=n(37502),l=n(65303)(),c=function(e,t,n,r){if(t in e)if(!0===r){if(e[t]===n)return}else if("function"!==typeof(i=r)||"[object Function]"!==a.call(i)||!r(
2))return;var i;l?s(e,t,n,!0):s(e,t,n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},a=r(t);i&&(a=o.call(a,Object.getOwnPropertySymbols(t)));for(var s=0;s<a.length;s+=1)c(e,a[s],t[a[s]],n[a[s]])};u.supportsDescriptors=!!l,e.exports=u},22893(e){"use strict";var t={single_source_shortest_paths:function(e,n,r){var i={},a={};a[n]=0;var o,s,l,c,u,d,p,f=t.PriorityQueue.make();for(f.push(n,0);!f.empty();)for(l in s=(o=f.pop()).value,c=o.cost,u=e[s]||{})u.hasOwnProperty(l)&&(d=c+u[l],p=a[l],("undefined"===typeof a[l]||p>d)&&(a[l]=d,f.push(l,d),i[l]=s));if("undefined"!==typeof r&&"undefined"===typeof a[r]){var h=["Could not find a path from ",n," to ",r,"."].join("");throw new Error(h)}return i},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],r=t;r;)n.push(r),e[r],r=e[r];return n.reverse(),n},find_path:function(e,n,r){var i=t.single_source_shortest_paths(e,n,r);return t.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(e){var n,r=t.PriorityQueue,i={};for(n in e=e||{},r)r.hasOwnProperty(n)&&(i[n]=r[n]);return i.queue=[],i.sorter=e.sorter||r.default_sorter,i},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var n={value:e,cost:t};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=t},84375(t,n,r){"use strict";var i,a=r(1311),o=r(3128);try{i=[].__proto__===Array.prototype}catch(e){if(!e||"object"!==typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var s=!!i&&o&&o(Object.prototype,"__proto__"),l=Object,c=l.getPrototypeOf;t.exports=s&&"function"===typeof s.get?a([s.get]):"function"===typeof c&&function(e){return c(null==e?e:l(e))}},35761(e,t){"use strict";var n=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!n.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some(function(e){return e.length>63})}},54650(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.r(t),n.d(t,{Data:()=>Q,Emoji:()=>_e,FrequentlyUsed:()=>$,I18n:()=>Z,Picker:()=>at,SafeFlags:()=>ue,SearchIndex:()=>ce,Store:()=>H,getEmojiDataFromNative:()=>fe,init:()=>ae});var a,o,s,l,c,u,d={},p=[],f=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(e,t){for(var n in t)e[n]=t[n];return e}function m(e){var t=e.parentNode;t&&t.removeChild(e)}function g(e,t,n){var r,i,o,s={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?a.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===s[o]&&(s[o]=e.defaultProps[o]);return y(e,s,r,i,null)}function y(e,t,n,r,i){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==i?++s:i};return null==i&&null!=o.vnode&&o.vnode(a),a}function v(){return{current:null}}function b(e){return e.children}function _(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?w(e):null}function k(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return k(e)}}function S(e){(!e.__d&&(e.__d=!0)&&l.push(e)&&!x.__r++||u!==o.debounceRendering)&&((u=o.debounceRendering)||c)(x)}function x(){for(var e;x.__r=l.length;)e=l.sort(function(e,t){return e.__v.__b-t.__v.__b}),l=[],e.some(function(e){var t,n,r,i,a,o;e.__d&&(a=(i=(t=e).__v).__e,(o=t.__P)&&(n=[],(r=h({},i)).__v=i.__v+1,N(o,i,r,t.__n,void 0!==o.ownerSVGElement,null!=i.__h?[a]:null,n,null==a?w(i):a,i.__h),j(n,i),i.__e!=a&&k(i)))})}function C(e,t,n,r,i,a,o,s,l,c){var u,f,h,m,g,v,_,k=r&&r.__k||p,S=k.length;
vendor: 15,845 bytes, line 2
2for(n.__k=[],u=0;u<t.length;u++)if(null!=(m=n.__k[u]=null==(m=t[u])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?y(null,m,null,null,m):Array.isArray(m)?y(b,{children:m},null,null,null):m.__b>0?y(m.type,m.props,m.key,null,m.__v):m)){if(m.__=n,m.__b=n.__b+1,null===(h=k[u])||h&&m.key==h.key&&m.type===h.type)k[u]=void 0;else for(f=0;f<S;f++){if((h=k[f])&&m.key==h.key&&m.type===h.type){k[f]=void 0;break}h=null}N(e,m,h=h||d,i,a,o,s,l,c),g=m.__e,(f=m.ref)&&h.ref!=f&&(_||(_=[]),h.ref&&_.push(h.ref,null,m),_.push(f,m.__c||g,m)),null!=g?(null==v&&(v=g),"function"==typeof m.type&&m.__k===h.__k?m.__d=l=E(m,l,e):l=T(e,m,h,k,g,l),"function"==typeof n.type&&(n.__d=l)):l&&h.__e==l&&l.parentNode!=e&&(l=w(h))}for(n.__e=v,u=S;u--;)null!=k[u]&&("function"==typeof n.type&&null!=k[u].__e&&k[u].__e==n.__d&&(n.__d=w(r,u+1)),M(k[u],k[u]));if(_)for(u=0;u<_.length;u++)F(_[u],_[++u],_[++u])}function E(e,t,n){for(var r,i=e.__k,a=0;i&&a<i.length;a++)(r=i[a])&&(r.__=e,t="function"==typeof r.type?E(r,t,n):T(n,r,r,i,r.__e,t));return t}function A(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some(function(e){A(e,t)}):t.push(e)),t}function T(e,t,n,r,i,a){var o,s,l;if(void 0!==t.__d)o=t.__d,t.__d=void 0;else if(null==n||i!=a||null==i.parentNode)e:if(null==a||a.parentNode!==e)e.appendChild(i),o=null;else{for(s=a,l=0;(s=s.nextSibling)&&l<r.length;l+=2)if(s==i)break e;e.insertBefore(i,a),o=a}return void 0!==o?o:i.nextSibling}function I(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||f.test(t)?n:n+"px"}function R(e,t,n,r,i){var a;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||I(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||I(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])a=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=n,n?r||e.addEventListener(t,a?D:O,a):e.removeEventListener(t,a?D:O,a);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(o){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function O(e){this.l[e.type+!1](o.event?o.event(e):e)}function D(e){this.l[e.type+!0](o.event?o.event(e):e)}function N(e,t,n,r,i,s,l,c,u){var p,f,g,y,v,k,S,x,E,A,T,I=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(u=n.__h,c=t.__e=n.__e,t.__h=null,s=[c]),(p=o.__b)&&p(t);try{e:if("function"==typeof I){if(x=t.props,E=(p=I.contextType)&&r[p.__c],A=p?E?E.props.value:p.__:r,n.__c?S=(f=t.__c=n.__c).__=f.__E:("prototype"in I&&I.prototype.render?t.__c=f=new I(x,A):(t.__c=f=new _(x,A),f.constructor=I,f.render=V),E&&E.sub(f),f.props=x,f.state||(f.state={}),f.context=A,f.__n=r,g=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=I.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=h({},f.__s)),h(f.__s,I.getDerivedStateFromProps(x,f.__s))),y=f.props,v=f.state,g)null==I.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==I.getDerivedStateFromProps&&x!==y&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(x,A),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(x,f.__s,A)||t.__v===n.__v){f.props=x,f.state=f.__s,t.__v!==n.__v&&(f.__d=!1),f.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(e){e&&(e.__=t)}),f.__h.length&&l.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(x,f.__s,A),null!=f.componentDidUpdate&&f.__h.push(function(){f.componentDidUpdate(y,v,k)})}f.context=A,f.props=x,f.state=f.__s,(p=o.__r)&&p(t),f.__d=!1,f.__v=t,f.__P=e,p=f.render(f.props,f.state,f.context),f.state=f.__s,null!=f.getChildContext&&(r=h(h({},r),f.getChildContext())),g||null==f.getSnapshotBeforeUpdate||(k=f.getSnapshotBeforeUpdate(y,v)),T=null!=p&&p.type===b&&null==p.key?p.props.children:p,C(e,Array.isArray(T)?T:[T],t,n,r,i,s,l,c,u),f.base=t.__e,t.__h=null,f.__h.length&&l.push(f),S&&(f.__E=f.__=null),f.__e=!1}else null==s&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,r,i,o,s,l){var c,u,p,f=n.props,h=t.props,g=t.type,y=0;if("svg"===g&&(i=!0),null!=o)for(;y<o.length;y++)if((c=o[y])&&"setAttribute"in c==!!g&&(g?c.localName===g:3===c.nodeType)){e=c,o[y]=null;break}if(null==e){if(null===g)return document.createTextNode(h);e=i?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,h.is&&h),o=null,l=!1}if(null===g)f===h||l&&e.data===h||(e.data=h);else{if(o=o&&a.call(e.childNodes),u=(f=n.props||d).dangerouslySetInnerHTML,p=h.dangerouslySetInnerHTML,!l){if(null!=o)for(f={},y=0;y<e.attributes.length;y++)f[e.attributes[y].name]=e.attributes[y].value;(p||u)&&(p&&(u&&p.__html==u.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}if(function(e,t,n,r,i){var a;for(a in n)"children"===a||"key"===a||a in t||R(e,a,null,n[a],r);for(a in t)i&&"function"!=typeof t[a]||"children"===a||"key"===a||"value"===a||"checked"===a||n[a]===t[a]||R(e,a,t[a],n[a],r)}(e,h,f,i,l),p)t.__k=[];else if(y=t.props.children,C(e,Array.isArray(y)?y:[y],t,n,r,i&&"foreignObject"!==g,o,s,o?o[0]:n.__k&&w(n,0),l),null!=o)for(y=o.length;y--;)null!=o[y]&&m(o[y]);l||("value"in h&&void 0!==(y=h.value)&&(y!==f.value||y!==e.value||"progress"===g&&!y)&&R(e,"value",y,f.value,!1),"checked"in h&&void 0!==(y=h.checked)&&y!==e.checked&&R(e,"checked",y,f.checked,!1))}return e}(n.__e,t,n,r,i,s,l,u);(p=o.diffed)&&p(t)}catch(O){t.__v=null,(u||null!=s)&&(t.__e=c,t.__h=!!u,s[s.indexOf(c)]=null),o.__e(O,t,n)}}function j(e,t){o.__c&&o.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(n){o.__e(n,t.__v)}})}function F(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(r){o.__e(r,n)}}function M(e,t,n){var r,i;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||F(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){o.__e(a,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&M(r[i],t,"function"!=typeof e.type);n||null==e.__e||m(e.__e),e.__e=e.__d=void 0}function V(e,t,n){return this.constructor(e,n)}function P(e,t,n){var r,i,s;o.__&&o.__(e,t),i=(r="function"==typeof n)?null:n&&n.__k||t.__k,s=[],N(t,e=(!r&&n||t).__k=g(b,null,[e]),i||d,d,void 0!==t.ownerSVGElement,!r&&n?[n]:i?null:t.firstChild?a.call(t.childNodes):null,s,!r&&n?n:i?i.__e:t.firstChild,r),j(s,e)}a=p.slice,o={__e:function(e,t){for(var n,r,i;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),i=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),i=n.__d),i)return n.__E=n}catch(a){e=a}throw e}},s=0,_.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof e&&(e=e(h({},n),this.props)),e&&h(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),S(this))},_.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},_.prototype.render=b,l=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,x.__r=0;var L=0;function B(e,t,n,r,i){var a,s,l={};for(s in t)"ref"==s?a=t[s]:l[s]=t[s];var c={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--L,__source:r,__self:i};if("function"==typeof e&&(a=e.defaultProps))for(s in a)void 0===l[s]&&(l[s]=a[s]);return o.vnode&&o.vnode(c),c}var H={set:function(e,t){try{window.localStorage[`emoji-mart.${e}`]=JSON.stringify(t)}catch(n){}},get:function(e){try{const t=window.localStorage[`emoji-mart.${e}`];if(t)return JSON.parse(t)}catch(t){}}};const W=new Map,z=[{v:15,emoji:"\ud83e\udee8"},{v:14,emoji:"\ud83e\udee0"},{v:13.1,emoji:"\ud83d\ude36\u200d\ud83c\udf2b\ufe0f"},{v:13,emoji:"\ud83e\udd78"},{v:12.1,emoji:"\ud83e\uddd1\u200d\ud83e\uddb0"},{v:12,emoji:"\ud83e\udd71"},{v:11,emoji:"\ud83e\udd70"},{v:5,emoji:"\ud83e\udd29"},{v:4,emoji:"\ud83d\udc71\u200d\u2640\ufe0f"},{v:3,emoji:"\ud83e\udd23"},{v:2,emoji:"\ud83d\udc4b\ud83c\udffb"},{v:1,emoji:"\ud83d\ude43"}];function Y(e){if(W.has(e))return W.get(e);const t=U(e);return W.set(e,t),t}const U=(()=>{let e=null;try{navigator.userAgent.includes("jsdom")||(e=document.createElement("canvas").getContext("2d",{willReadFrequently:!0}))}catch{}if(!e)return()=>!1;const t=20,n=Math.floor(12.5);return e.font=n+"px Arial, Sans-Serif",e.textBaseline="top",e.canvas.width=40,e.canvas.height=25,n=>{e.clearRect(0,0,40,25),e.fillStyle="#FF0000",e.fillText(n,0,22),e.fillStyle="#0000FF",e.fillText(n,t,22);const r=e.getImageData(0,0,t,25).data,i=r.length;let a=0;for(;a<i&&!r[a+3];a+=4);if(a>=i)return!1;const o=t+a/4%t,s=Math.floor(a/4/t),l=e.getImageData(o,s,1,1).data;return r[a]===l[0]&&r[a+2]===l[2]&&!(e.measureText(n).width>=t)}})();var X={latestVersion:function(){for(const{v:e,emoji:t}of z)if(Y(t))return e},noCountryFlags:function(){return!Y("\ud83c\udde8\ud83c\udde6")}};const G=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart"];let q=null;var J,$={add:function(e){q||(q=H.get("frequently")||{});const t=e.id||e;t&&(q[t]||(q[t]=0),q[t]+=1,H.set("last",t),H.set("frequently",q))},get:function({maxFrequentRows:e,perLine:t}){if(!e)return[];q||(q=H.get("frequently"));let n=[];if(!q){q={};for(let e in G.slice(0,t)){const r=G[e];q[r]=t-e,n.push(r)}return n}const r=e*t,i=H.get("last");for(let a in q)n.push(a);if(n.sort((e,t)=>{const n=q[t],r=q[e];return n==r?e.localeCompare(t):n-r}),n.length>r){const e=n.slice(r);n=n.slice(0,r);for(let t of e)t!=i&&delete q[t];i&&-1==n.indexOf(i)&&(delete q[n[n.length-1]],n.splice(-1,1,i)),H.set("frequently",q)}return n},DEFAULTS:G};J=JSON.parse('{"search":"Search","search_no_results_1":"Oh no!","search_no_results_2":"That emoji couldn\u2019t be found","pick":"Pick an emoji\u2026","add_custom":"Add custom emoji","categories":{"activity":"Activity","custom":"Custom","flags":"Flags","foods":"Food & Drink","frequent":"Frequently used","nature":"Animals & Nature","objects":"Objects","people":"Smileys & People","places":"Travel & Places","search":"Search Results","symbols":"Symbols"},"skins":{"1":"Default","2":"Light","3":"Medium-Light","4":"Medium","5":"Medium-Dark","6":"Dark","choose":"Choose default skin tone"}}');var K={autoFocus:{value:!1},dynamicWidth:{value:!1},emojiButtonColors:{value:null},emojiButtonRadius:{value:"100%"},emojiButtonSize:{value:36},emojiSize:{value:24},emojiVersion:{value:15,choices:[1,2,3,4,5,11,12,12.1,13,13.1,14,15]},exceptEmojis:{value:[]},icons:{value:"auto",choices:["auto","outline","solid"]},locale:{value:"en",choices:["en","ar","be","cs","de","es","fa","fi","fr","hi","it","ja","ko","nl","pl","pt","ru","sa","tr","uk","vi","zh"]},maxFrequentRows:{value:4},navPosition:{value:"top",choices:["top","bottom","none"]},noCountryFlags:{value:!1},noResultsEmoji:{value:null},perLine:{value:9},previewEmoji:{value:null},previewPosition:{value:"bottom",choices:["top","bottom","none"]},searchPosition:{value:"sticky",choices:["sticky","static","none"]},set:{value:"native",choices:["native","apple","facebook","google","twitter"]},skin:{value:1,choices:[1,2,3,4,5,6]},skinTonePosition:{value:"preview",choices:["preview","search","none"]},theme:{value:"auto",choices:["auto","light","dark"]},categories:null,categoryIcons:null,custom:null,data:null,i18n:null,getImageURL:null,getSpritesheetURL:null,onAddCustomEmoji:null,onClickOutside:null,onEmojiSelect:null,stickySearch:{deprecated:!0,value:!0}};let Z=null,Q=null;const ee={};async function te(e){if(ee[e])return ee[e];const t=await fetch(e),n=await t.json();return ee[e]=n,n}let ne=null,re=null,ie=!1;function ae(e,{caller:t}={}){return ne||(ne=new Promise(e=>{re=e})),e?async function(e){ie=!0;let{emojiVersion:t,set:n,locale:i}=e;if(t||(t=K.emojiVersion.value),n||(n=K.set.value),i||(i=K.locale.value),Q)Q.categories=Q.categories.filter(e=>!!!e.name);else{Q=("function"===typeof e.data?await e.data():e.data)||await te(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/sets/${t}/${n}.json`),Q.emoticons={},Q.natives={},Q.categories.unshift({id:"frequent",emojis:[]});for(const e in Q.aliases){const t=Q.aliases[e],n=Q.emojis[t];n&&(n.aliases||(n.aliases=[]),n.aliases.push(e))}Q.originalCategories=Q.categories}if(Z=("function"===typeof e.i18n?await e.i18n():e.i18n)||("en"==i?r(J):await te(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/i18n/${i}.json`)),e.custom)for(let r in e.custom){r=parseInt(r);const t=e.custom[r],n=e.custom[r-1];if(t.emojis&&t.emojis.length){t.id||(t.id=`custom_${r+1}`),t.name||(t.name=Z.categories.custom),n&&!t.icon&&(t.target=n.target||n),Q.categories.push(t);for(const e of t.emojis)Q.emojis[e.id]=e}}e.categories&&(Q.categories=Q.originalCategories.filter(t=>-1!=e.categories.indexOf(t.id)).sort((t,n)=>e.categories.indexOf(t.id)-e.categories.indexOf(n.id)));let a=null,o=null;"native"==n&&(a=X.latestVersion(),o=e.noCountryFlags||X.noCountryFlags());let s=Q.categories.length,l=!1;for(;s--;){const t=Q.categories[s];if("frequent"==t.id){let{maxFrequentRows:n,perLine:r}=e;n=n>=0?n:K.maxFrequentRows.value,r||(r=K.perLine.value),t.emojis=$.get({maxFrequentRows:n,perLine:r})}if(!t.emojis||!t.emojis.length){Q.categories.splice(s,1);continue}const{categoryIcons:n}=e;if(n){const e=n[t.id];e&&!t.icon&&(t.icon=e)}let r=t.emojis.length;for(;r--;){const n=t.emojis[r],i=n.id?n:Q.emojis[n],s=()=>{t.emojis.splice(r,1)};if(!i||e.exceptEmojis&&e.exceptEmojis.includes(i.id))s();else if(a&&i.version>a)s();else if(!o||"flags"!=t.id||ue.includes(i.id)){if(!i.search){if(l=!0,i.search=","+[[i.id,!1],[i.name,!0],[i.keywords,!1],[i.emoticons,!1]].map(([e,t])=>{if(e)return(Array.isArray(e)?e:[e]).map(e=>(t?e.split(/[-|_|\s]+/):[e]).map(e=>e.toLowerCase())).flat()}).flat().filter(e=>e&&e.trim()).join(","),i.emoticons)for(const t of i.emoticons)Q.emoticons[t]||(Q.emoticons[t]=i.id);let e=0;for(const t of i.skins){if(!t)continue;e++;const{native:n}=t;n&&(Q.natives[n]=i.id,i.search+=`,${n}`);const r=1==e?"":`:skin-tone-${e}:`;t.shortcodes=`:${i.id}:${r}`}}}else s()}}l&&ce.reset();re()}(e):t&&!ie&&console.warn(`\`${t}\` requires data to be initialized first. Promise will be pending until \`init\` is called.`),ne}function oe(e,t,n){e||(e={});const r={};for(let i in t)r[i]=se(i,e,t,n);return r}function se(e,t,n,r){const i=n[e];let a=r&&r.getAttribute(e)||(null!=t[e]&&void 0!=t[e]?t[e]:null);return i?(null!=a&&i.value&&typeof i.value!=typeof a&&(a="boolean"==typeof i.value?"false"!=a:i.value.constructor(a)),i.transform&&a&&(a=i.transform(a)),(null==a||i.choices&&-1==i.choices.indexOf(a))&&(a=i.value),a):a}let le=null;var ce={search:async function(e,{maxResults:t,caller:n}={}){if(!e||!e.trim().length)return null;t||(t=90),await ae(null,{caller:n||"SearchIndex.search"});const r=e.toLowerCase().replace(/(\w)-/,"$1 ").split(/[\s|,]+/).filter((e,t,n)=>e.trim()&&n.indexOf(e)==t);if(!r.length)return;let i,a,o=le||(le=Object.values(Q.emojis));for(const s of r){if(!o.length)break;i=[],a={};for(const e of o){if(!e.search)continue;const t=e.search.indexOf(`,${s}`);-1!=t&&(i.push(e),a[e.id]||(a[e.id]=0),a[e.id]+=e.id==s?0:t+1)}o=i}return i.length<2||(i.sort((e,t)=>{const n=a[e.id],r=a[t.id];return n==r?e.id.localeCompare(t.id):n-r}),i.length>t&&(i=i.slice(0,t))),i},get:function(e){return e.id?e:Q.emojis[e]||Q.emojis[Q.aliases[e]]||Q.emojis[Q.natives[e]]},reset:function(){le=null},SHORTCODES_REGEX:/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/};const ue=["checkered_flag","crossed_flags","pirate_flag","rainbow-flag","transgender_flag","triangular_flag_on_post","waving_black_flag","
2waving_white_flag"];async function de(e=1){for(let t in[...Array(e).keys()])await new Promise(requestAnimationFrame)}function pe(e,{skinIndex:t=0}={}){const n=e.skins[t]||(t=0,e.skins[t]),r={id:e.id,name:e.name,native:n.native,unified:n.unified,keywords:e.keywords,shortcodes:n.shortcodes||e.shortcodes};return e.skins.length>1&&(r.skin=t+1),n.src&&(r.src=n.src),e.aliases&&e.aliases.length&&(r.aliases=e.aliases),e.emoticons&&e.emoticons.length&&(r.emoticons=e.emoticons),r}async function fe(e){const t=await ce.search(e,{maxResults:1,caller:"getEmojiDataFromNative"});if(!t||!t.length)return null;const n=t[0];let r=0;for(let i of n.skins){if(i.native==e)break;r++}return pe(n,{skinIndex:r})}var he={categories:{activity:{outline:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:B("path",{d:"M12 0C5.373 0 0 5.372 0 12c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.628-5.372-12-12-12m9.949 11H17.05c.224-2.527 1.232-4.773 1.968-6.113A9.966 9.966 0 0 1 21.949 11M13 11V2.051a9.945 9.945 0 0 1 4.432 1.564c-.858 1.491-2.156 4.22-2.392 7.385H13zm-2 0H8.961c-.238-3.165-1.536-5.894-2.393-7.385A9.95 9.95 0 0 1 11 2.051V11zm0 2v8.949a9.937 9.937 0 0 1-4.432-1.564c.857-1.492 2.155-4.221 2.393-7.385H11zm4.04 0c.236 3.164 1.534 5.893 2.392 7.385A9.92 9.92 0 0 1 13 21.949V13h2.04zM4.982 4.887C5.718 6.227 6.726 8.473 6.951 11h-4.9a9.977 9.977 0 0 1 2.931-6.113M2.051 13h4.9c-.226 2.527-1.233 4.771-1.969 6.113A9.972 9.972 0 0 1 2.051 13m16.967 6.113c-.735-1.342-1.744-3.586-1.968-6.113h4.899a9.961 9.961 0 0 1-2.931 6.113"})}),solid:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:B("path",{d:"M16.17 337.5c0 44.98 7.565 83.54 13.98 107.9C35.22 464.3 50.46 496 174.9 496c9.566 0 19.59-.4707 29.84-1.271L17.33 307.3C16.53 317.6 16.17 327.7 16.17 337.5zM495.8 174.5c0-44.98-7.565-83.53-13.98-107.9c-4.688-17.54-18.34-31.23-36.04-35.95C435.5 27.91 392.9 16 337 16c-9.564 0-19.59 .4707-29.84 1.271l187.5 187.5C495.5 194.4 495.8 184.3 495.8 174.5zM26.77 248.8l236.3 236.3c142-36.1 203.9-150.4 222.2-221.1L248.9 26.87C106.9 62.96 45.07 177.2 26.77 248.8zM256 335.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L164.7 283.3C161.6 280.2 160 276.1 160 271.1c0-8.529 6.865-16 16-16c4.095 0 8.189 1.562 11.31 4.688l64.01 64C254.4 327.8 256 331.9 256 335.1zM304 287.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L212.7 235.3C209.6 232.2 208 228.1 208 223.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01C302.5 279.8 304 283.9 304 287.1zM256 175.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01c3.125 3.125 4.688 7.219 4.688 11.31c0 9.133-7.468 16-16 16c-4.094 0-8.189-1.562-11.31-4.688l-64.01-64.01C257.6 184.2 256 180.1 256 175.1z"})})},custom:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:B("path",{d:"M417.1 368c-5.937 10.27-16.69 16-27.75 16c-5.422 0-10.92-1.375-15.97-4.281L256 311.4V448c0 17.67-14.33 32-31.1 32S192 465.7 192 448V311.4l-118.3 68.29C68.67 382.6 63.17 384 57.75 384c-11.06 0-21.81-5.734-27.75-16c-8.828-15.31-3.594-34.88 11.72-43.72L159.1 256L41.72 187.7C26.41 178.9 21.17 159.3 29.1 144C36.63 132.5 49.26 126.7 61.65 128.2C65.78 128.7 69.88 130.1 73.72 132.3L192 200.6V64c0-17.67 14.33-32 32-32S256 46.33 256 64v136.6l118.3-68.29c3.838-2.213 7.939-3.539 12.07-4.051C398.7 126.7 411.4 132.5 417.1 144c8.828 15.31 3.594 34.88-11.72 43.72L288 256l118.3 68.28C421.6 333.1 426.8 352.7 417.1 368z"})}),flags:{outline:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:B("path",{d:"M0 0l6.084 24H8L1.916 0zM21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.563 3h7.875l2 8H8.563l-2-8zm8.832 10l-2.856 1.904L12.063 13h3.332zM19 13l-1.5-6h1.938l2 8H16l3-2z"})}),solid:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:B("path",{d:"M64 496C64 504.8 56.75 512 48 512h-32C7.25 512 0 504.8 0 496V32c0-17.75 14.25-32 32-32s32 14.25 32 32V496zM476.3 0c-6.365 0-13.01 1.35-19.34 4.233c-45.69 20.86-79.56 27.94-107.8 27.94c-59.96 0-94.81-31.86-163.9-31.87C160.9 .3055 131.6 4.867 96 15.75v350.5c32-9.984 59.87-14.1 84.85-14.1c73.63 0 124.9 31.78 198.6 31.78c31.91 0 68.02-5.971 111.1-23.09C504.1 355.9 512 344.4 512 332.1V30.73C512 11.1 495.3 0 476.3 0z"})})},foods:{outline:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:B("path",{d:"M17 4.978c-1.838 0-2.876.396-3.68.934.513-1.172 1.768-2.934 4.68-2.934a1 1 0 0 0 0-2c-2.921 0-4.629 1.365-5.547 2.512-.064.078-.119.162-.18.244C11.73 1.838 10.798.023 9.207.023 8.579.022 7.85.306 7 .978 5.027 2.54 5.329 3.902 6.492 4.999 3.609 5.222 0 7.352 0 12.969c0 4.582 4.961 11.009 9 11.
2009 1.975 0 2.371-.486 3-1 .629.514 1.025 1 3 1 4.039 0 9-6.418 9-11 0-5.953-4.055-8-7-8M8.242 2.546c.641-.508.943-.523.965-.523.426.169.975 1.405 1.357 3.055-1.527-.629-2.741-1.352-2.98-1.846.059-.112.241-.356.658-.686M15 21.978c-1.08 0-1.21-.109-1.559-.402l-.176-.146c-.367-.302-.816-.452-1.266-.452s-.898.15-1.266.452l-.176.146c-.347.292-.477.402-1.557.402-2.813 0-7-5.389-7-9.009 0-5.823 4.488-5.991 5-5.991 1.939 0 2.484.471 3.387 1.251l.323.276a1.995 1.995 0 0 0 2.58 0l.323-.276c.902-.78 1.447-1.251 3.387-1.251.512 0 5 .168 5 6 0 3.617-4.187 9-7 9"})}),solid:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:B("path",{d:"M481.9 270.1C490.9 279.1 496 291.3 496 304C496 316.7 490.9 328.9 481.9 337.9C472.9 346.9 460.7 352 448 352H64C51.27 352 39.06 346.9 30.06 337.9C21.06 328.9 16 316.7 16 304C16 291.3 21.06 279.1 30.06 270.1C39.06 261.1 51.27 256 64 256H448C460.7 256 472.9 261.1 481.9 270.1zM475.3 388.7C478.3 391.7 480 395.8 480 400V416C480 432.1 473.3 449.3 461.3 461.3C449.3 473.3 432.1 480 416 480H96C79.03 480 62.75 473.3 50.75 461.3C38.74 449.3 32 432.1 32 416V400C32 395.8 33.69 391.7 36.69 388.7C39.69 385.7 43.76 384 48 384H464C468.2 384 472.3 385.7 475.3 388.7zM50.39 220.8C45.93 218.6 42.03 215.5 38.97 211.6C35.91 207.7 33.79 203.2 32.75 198.4C31.71 193.5 31.8 188.5 32.99 183.7C54.98 97.02 146.5 32 256 32C365.5 32 457 97.02 479 183.7C480.2 188.5 480.3 193.5 479.2 198.4C478.2 203.2 476.1 207.7 473 211.6C469.1 215.5 466.1 218.6 461.6 220.8C457.2 222.9 452.3 224 447.3 224H64.67C59.73 224 54.84 222.9 50.39 220.8zM372.7 116.7C369.7 119.7 368 123.8 368 128C368 131.2 368.9 134.3 370.7 136.9C372.5 139.5 374.1 141.6 377.9 142.8C380.8 143.1 384 144.3 387.1 143.7C390.2 143.1 393.1 141.6 395.3 139.3C397.6 137.1 399.1 134.2 399.7 131.1C400.3 128 399.1 124.8 398.8 121.9C397.6 118.1 395.5 116.5 392.9 114.7C390.3 112.9 387.2 111.1 384 111.1C379.8 111.1 375.7 113.7 372.7 116.7V116.7zM244.7 84.69C241.7 87.69 240 91.76 240 96C240 99.16 240.9 102.3 242.7 104.9C244.5 107.5 246.1 109.6 249.9 110.8C252.8 111.1 256 112.3 259.1 111.7C262.2 111.1 265.1 109.6 267.3 107.3C269.6 105.1 271.1 102.2 271.7 99.12C272.3 96.02 271.1 92.8 270.8 89.88C269.6 86.95 267.5 84.45 264.9 82.7C262.3 80.94 259.2 79.1 256 79.1C251.8 79.1 247.7 81.69 244.7 84.69V84.69zM116.7 116.7C113.7 119.7 112 123.8 112 128C112 131.2 112.9 134.3 114.7 136.9C116.5 139.5 118.1 141.6 121.9 142.8C124.8 143.1 128 144.3 131.1 143.7C134.2 143.1 137.1 141.6 139.3 139.3C141.6 137.1 143.1 134.2 143.7 131.1C144.3 128 143.1 124.8 142.8 121.9C141.6 118.1 139.5 116.5 136.9 114.7C134.3 112.9 131.2 111.1 128 111.1C123.8 111.1 119.7 113.7 116.7 116.7L116.7 116.7z"})})},frequent:{outline:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[B("path",{d:"M13 4h-2l-.001 7H9v2h2v2h2v-2h4v-2h-4z"}),B("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})]}),solid:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:B("path",{d:"M256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512zM232 256C232 264 236 271.5 242.7 275.1L338.7 339.1C349.7 347.3 364.6 344.3 371.1 333.3C379.3 322.3 376.3 307.4 365.3 300L280 243.2V120C280 106.7 269.3 96 255.1 96C242.7 96 231.1 106.7 231.1 120L232 256z"})})},nature:{outline:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[B("path",{d:"M15.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 15.5 8M8.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 8.5 8"}),B("path",{d:"M18.933 0h-.027c-.97 0-2.138.787-3.018 1.497-1.274-.374-2.612-.51-3.887-.51-1.285 0-2.616.133-3.874.517C7.245.79 6.069 0 5.093 0h-.027C3.352 0 .07 2.67.002 7.026c-.039 2.479.276 4.238 1.04 5.013.254.258.882.677 1.295.882.191 3.177.922 5.238 2.536 6.38.897.637 2.187.949 3.2 1.102C8.04 20.6 8 20.795 8 21c0 1.773 2.35 3 4 3 1.648 0 4-1.227 4-3 0-.201-.038-.393-.072-.586 2.573-.385 5.435-1.87
27 5.925-7.587.396-.22.887-.568 1.104-.788.763-.774 1.079-2.534 1.04-5.013C23.929 2.67 20.646 0 18.933 0M3.223 9.135c-.237.281-.837 1.155-.884 1.238-.15-.41-.368-1.349-.337-3.291.051-3.281 2.478-4.972 3.091-5.031.256.015.731.27 1.265.646-1.11 1.171-2.275 2.915-2.352 5.125-.133.546-.398.858-.783 1.313M12 22c-.901 0-1.954-.693-2-1 0-.654.475-1.236 1-1.602V20a1 1 0 1 0 2 0v-.602c.524.365 1 .947 1 1.602-.046.307-1.099 1-2 1m3-3.48v.02a4.752 4.752 0 0 0-1.262-1.02c1.092-.516 2.239-1.334 2.239-2.217 0-1.842-1.781-2.195-3.977-2.195-2.196 0-3.978.354-3.978 2.195 0 .883 1.148 1.701 2.238 2.217A4.8 4.8 0 0 0 9 18.539v-.025c-1-.076-2.182-.281-2.973-.842-1.301-.92-1.838-3.045-1.853-6.478l.023-.041c.496-.826 1.49-1.45 1.804-3.102 0-2.047 1.357-3.631 2.362-4.522C9.37 3.178 10.555 3 11.948 3c1.447 0 2.685.192 3.733.57 1 .9 2.316 2.465 2.316 4.48.313 1.651 1.307 2.275 1.803 3.102.035.058.068.117.102.178-.059 5.967-1.949 7.01-4.902 7.19m6.628-8.202c-.037-.065-.074-.13-.113-.195a7.587 7.587 0 0 0-.739-.987c-.385-.455-.648-.768-.782-1.313-.076-2.209-1.241-3.954-2.353-5.124.531-.376 1.004-.63 1.261-.647.636.071 3.044 1.764 3.096 5.031.027 1.81-.347 3.218-.37 3.235"})]}),solid:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",children:B("path",{d:"M332.7 19.85C334.6 8.395 344.5 0 356.1 0C363.6 0 370.6 3.52 375.1 9.502L392 32H444.1C456.8 32 469.1 37.06 478.1 46.06L496 64H552C565.3 64 576 74.75 576 88V112C576 156.2 540.2 192 496 192H426.7L421.6 222.5L309.6 158.5L332.7 19.85zM448 64C439.2 64 432 71.16 432 80C432 88.84 439.2 96 448 96C456.8 96 464 88.84 464 80C464 71.16 456.8 64 448 64zM416 256.1V480C416 497.7 401.7 512 384 512H352C334.3 512 320 497.7 320 480V364.8C295.1 377.1 268.8 384 240 384C211.2 384 184 377.1 160 364.8V480C160 497.7 145.7 512 128 512H96C78.33 512 64 497.7 64 480V249.8C35.23 238.9 12.64 214.5 4.836 183.3L.9558 167.8C-3.331 150.6 7.094 133.2 24.24 128.1C41.38 124.7 58.76 135.1 63.05 152.2L66.93 167.8C70.49 182 83.29 191.1 97.97 191.1H303.8L416 256.1z"})})},objects:{outline:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[B("path",{d:"M12 0a9 9 0 0 0-5 16.482V21s2.035 3 5 3 5-3 5-3v-4.518A9 9 0 0 0 12 0zm0 2c3.86 0 7 3.141 7 7s-3.14 7-7 7-7-3.141-7-7 3.14-7 7-7zM9 17.477c.94.332 1.946.523 3 .523s2.06-.19 3-.523v.834c-.91.436-1.925.689-3 .689a6.924 6.924 0 0 1-3-.69v-.833zm.236 3.07A8.854 8.854 0 0 0 12 21c.965 0 1.888-.167 2.758-.451C14.155 21.173 13.153 22 12 22c-1.102 0-2.117-.789-2.764-1.453z"}),B("path",{d:"M14.745 12.449h-.004c-.852-.024-1.188-.858-1.577-1.824-.421-1.061-.703-1.561-1.182-1.566h-.009c-.481 0-.783.497-1.235 1.537-.436.982-.801 1.811-1.636 1.791l-.276-.043c-.565-.171-.853-.691-1.284-1.794-.125-.313-.202-.632-.27-.913-.051-.213-.127-.53-.195-.634C7.067 9.004 7.039 9 6.99 9A1 1 0 0 1 7 7h.01c1.662.017 2.015 1.373 2.198 2.134.486-.981 1.304-2.058 2.797-2.075 1.531.018 2.28 1.153 2.731 2.141l.002-.008C14.944 8.424 15.327 7 16.979 7h.032A1 1 0 1 1 17 9h-.011c-.149.076-.256.474-.319.709a6.484 6.484 0 0 1-.311.951c-.429.973-.79 1.789-1.614 1.789"})]}),solid:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:B("path",{d:"M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"})})},people:{outline:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[B("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"}),B("path",{d:"M8 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 8 7M16 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 16 7M15.232 15c-.693 1.195-1.87 2-3.349 2-1.477 0-2.655-.805-3.347-2H15m3-2H6a6 6 0 1 0 12 0"})]}),solid:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:B("path",{d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 432C332.1 432 396.2 382 415.2 314.1C419.1 300.4 407.8 288 393.6 288H118.4C104.2 288 92.92 300.4 96.76 314.1C115.8 382 179.9 432 256 432V432zM176.4 160C158.7 160 144.4 174.3 144.4 192C144.4 209.7 158.7 224 176.4 224C194 224 208.4 209.7 208.4 192C208.4 174.3 194 160 176.4 160zM336.4 224C354 224 368.4 209.7 368.4 192C368.4 
2174.3 354 160 336.4 160C318.7 160 304.4 174.3 304.4 192C304.4 209.7 318.7 224 336.4 224z"})})},places:{outline:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[B("path",{d:"M6.5 12C5.122 12 4 13.121 4 14.5S5.122 17 6.5 17 9 15.879 9 14.5 7.878 12 6.5 12m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5M17.5 12c-1.378 0-2.5 1.121-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.121 2.5-2.5-1.122-2.5-2.5-2.5m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5"}),B("path",{d:"M22.482 9.494l-1.039-.346L21.4 9h.6c.552 0 1-.439 1-.992 0-.006-.003-.008-.003-.008H23c0-1-.889-2-1.984-2h-.642l-.731-1.717C19.262 3.012 18.091 2 16.764 2H7.236C5.909 2 4.738 3.012 4.357 4.283L3.626 6h-.642C1.889 6 1 7 1 8h.003S1 8.002 1 8.008C1 8.561 1.448 9 2 9h.6l-.043.148-1.039.346a2.001 2.001 0 0 0-1.359 2.097l.751 7.508a1 1 0 0 0 .994.901H3v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h6v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h1.096a.999.999 0 0 0 .994-.901l.751-7.508a2.001 2.001 0 0 0-1.359-2.097M6.273 4.857C6.402 4.43 6.788 4 7.236 4h9.527c.448 0 .834.43.963.857L19.313 9H4.688l1.585-4.143zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.189-3H2.811l-.662-6.607L3 11h18l.852.393L21.189 18z"})]}),solid:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:B("path",{d:"M39.61 196.8L74.8 96.29C88.27 57.78 124.6 32 165.4 32H346.6C387.4 32 423.7 57.78 437.2 96.29L472.4 196.8C495.6 206.4 512 229.3 512 256V448C512 465.7 497.7 480 480 480H448C430.3 480 416 465.7 416 448V400H96V448C96 465.7 81.67 480 64 480H32C14.33 480 0 465.7 0 448V256C0 229.3 16.36 206.4 39.61 196.8V196.8zM109.1 192H402.9L376.8 117.4C372.3 104.6 360.2 96 346.6 96H165.4C151.8 96 139.7 104.6 135.2 117.4L109.1 192zM96 256C78.33 256 64 270.3 64 288C64 305.7 78.33 320 96 320C113.7 320 128 305.7 128 288C128 270.3 113.7 256 96 256zM416 320C433.7 320 448 305.7 448 288C448 270.3 433.7 256 416 256C398.3 256 384 270.3 384 288C384 305.7 398.3 320 416 320z"})})},symbols:{outline:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:B("path",{d:"M0 0h11v2H0zM4 11h3V6h4V4H0v2h4zM15.5 17c1.381 0 2.5-1.116 2.5-2.493s-1.119-2.493-2.5-2.493S13 13.13 13 14.507 14.119 17 15.5 17m0-2.986c.276 0 .5.222.5.493 0 .272-.224.493-.5.493s-.5-.221-.5-.493.224-.493.5-.493M21.5 19.014c-1.381 0-2.5 1.116-2.5 2.493S20.119 24 21.5 24s2.5-1.116 2.5-2.493-1.119-2.493-2.5-2.493m0 2.986a.497.497 0 0 1-.5-.493c0-.271.224-.493.5-.493s.5.222.5.493a.497.497 0 0 1-.5.493M22 13l-9 9 1.513 1.5 8.99-9.009zM17 11c2.209 0 4-1.119 4-2.5V2s.985-.161 1.498.949C23.01 4.055 23 6 23 6s1-1.119 1-3.135C24-.02 21 0 21 0h-2v6.347A5.853 5.853 0 0 0 17 6c-2.209 0-4 1.119-4 2.5s1.791 2.5 4 2.5M10.297 20.482l-1.475-1.585a47.54 47.54 0 0 1-1.442 1.129c-.307-.288-.989-1.016-2.045-2.183.902-.836 1.479-1.466 1.729-1.892s.376-.871.376-1.336c0-.592-.273-1.178-.818-1.759-.546-.581-1.329-.871-2.349-.871-1.008 0-1.79.293-2.344.879-.556.587-.832 1.181-.832 1.784 0 .813.419 1.748 1.256 2.805-.847.614-1.444 1.208-1.794 1.784a3.465 3.465 0 0 0-.523 1.833c0 .857.308 1.56.924 2.107.616.549 1.423.823 2.42.823 1.173 0 2.444-.379 3.813-1.137L8.235 24h2.819l-2.09-2.383 1.333-1.135zm-6.736-6.389a1.02 1.02 0 0 1 .73-.286c.31 0 .559.085.747.254a.849.849 0 0 1 .283.659c0 .518-.419 1.112-1.257 1.784-.536-.651-.805-1.231-.805-1.742a.901.901 0 0 1 .302-.669M3.74 22c-.427 0-.778-.116-1.057-.349-.279-.232-.418-.487-.418-.766 0-.594.509-1.288 1.527-2.083.968 1.134 1.717 1.946 2.248 2.438-.921.507-1.686.76-2.3.76"})}),solid:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:B("path",{d:"M500.3 7.251C507.7 13.33 512 22.41 512 31.1V175.1C512 202.5 483.3 223.1 447.1 223.1C412.7 223.1 383.1 202.5 383.1 175.1C383.1 149.5 412.7 127.1 447.1 127.1V71.03L351.1 90.23V207.1C351.1 234.5 323.3 255.1 287.1 255.1C252.7 255.1 223.1 234.5 223.1 207.1C223.1 181.5 252.7 159.1 287.1 159.1V63.1C287.1 48.74 298.8 35.61 313.7 32.62L473.7 .6198C483.1-1.261 492.9 1.173 500.3 7.251H500.3zM74.66 303.1L86.5 286.2C92.43 277.3 102.4 271.1 113.1 271.1H174.9C185.6 271.1 195.6 277.3 201.5 286.2L213.3 303.1H239.1C266.5 303.1 287.1 325.5 287.1 351.1V463.1C287.1 490.5 266.5 511.1 239.1 511.1H47.1C21.49 511.1-.0019 490.5-.0019 463.1V351.1C-.0019 325.5 21.49 303.1 47.1 303.1H74.66zM143.1 359.1C117.5 359.1 95.1 381.5 95.1 407.1C95.1 434.5 117.5 455.1 143.1 455.1C170.5 455.1 191.1 434.5 191.1 407.1C191.1 381.5 170.5 359.1 143.1 359.1zM440.3 367.1H496C502.7 367.1 508.6 372.1 510.1 378.4C513.3 384.6 511.6 391.7 506.5 396L378.5 508C372.9 512.1 364.6 513.3 358.6 508.9C352.6 504.6 350.3 496.6 353.3 489.7L391.7 399.1H336C329.3 399.1 323.4 395.9 321 389.6C318.7 383.4 320.4 376.3 325.5 371.1L453.5 259.1C459.1 255 467.4 254.7 473.4 259.1C479.4 263.4 481.6 271.4 478.7 278.3L440.3 367.1zM116.7 219.1L19.85 119.2C-8.112 90.26-6.614 42.31 24.85 15.34C51.82-8.137 93.26-3.642 118.2 21.83L128.2 32.32L137.7 21.83C162.7-3.642 203.6-8.137 231.6 15.34C262.6 42.31 264.1 90.26 236.1 119.2L139.7 219.1C133.2 225.6 122.7 225.6 116.7 219.1H116.7z"})})}},search:{loupe:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:B("path",{d:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"})}),delete:B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:B("path",{d:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"})})}};function me(e){let{id:t,skin:n,emoji:r}=e;if(e.shortcodes){const r=e.shortcodes.match(ce.SHORTCODES_REGEX);r&&(t=r[1],r[2]&&(n=r[2]))}if(r||(r=ce.get(t||e.native)),!r)return e.fallback;const i=r.skins[n-1]||r.skins[0],a=i.src||("native"==e.set||e.spritesheet?void 0:"function"===typeof e.getImageURL?e.getImageURL(e.set,i.unified):`https://cdn.jsdelivr.net/npm/emoji-datasource-${e.set}@15.0.1/img/${e.set}/64/${i.unified}.png`),o="function"===typeof e.getSpritesheetURL?e.getSpritesheetURL(e.set):`https://cdn.jsdelivr.net/npm/emoji-datasource-${e.set}@15.0.1/img/${e.set}/sheets-256/64.png`;return B("span",{class:"emoji-mart-emoji","data-emoji-set":e.set,children:a?B("img",{style:{maxWidth:e.size||"1em",maxHeight:e.size||"1em",display:"inline-block"},alt:i.native||i.shortcodes,src:a}):"native"==e.set?B("span",{style:{fontSize:e.size,fontFamily:'"EmojiMart", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji"'},children:i.native}):B("span",{style:{display:"block",width:e.size,height:e.size,backgroundImage:`url(${o})`,backgroundSize:`${100*Q.sheet.cols}% ${100*Q.sheet.rows}%`,backgroundPosition:`${100/(Q.sheet.cols-1)*i.x}% ${100/(Q.sheet.rows-1)*i.y}%`}})})}const ge="undefined"!==typeof window&&window.HTMLElement?window.HTMLElement:Object;class ye extends ge{static get observedAttributes(){return Object.keys(this.Props)}update(e={}){for(let t in e)this.attributeChangedCallback(t,null,e[t])}attributeChangedCallback(e,t,n){if(!this.component)return;const r=se(e,{[e]:n},this.constructor.Props,this);this.component.componentWillReceiveProps?this.component.componentWillReceiveProps({[e]:r}):(this.component.props[e]=r,this.component.forceUpdate())}disconnectedCallback(){this.disconnected=!0,this.component&&this.component.unregister&&this.component.unregister()}constructor(e={}){if(super(),this.props=e,e.parent||e.ref){let t=null;const n=e.parent||(t=e.ref&&e.ref.current);t&&(t.innerHTML=""),n&&n.appendChild(this)}}}class ve extends ye{setShadow(){this.attachShadow({mode:"open"})}injectStyles(e){if(!e)return;const t=document.createElement("style");t.textContent=e,this.shadowRoot.insertBefore(t,this.shadowRoot.firstChild)}constructor(e,{styles:t}={}){super(e),this.setShadow(),this.injectStyles(t)}}var be={fallback:"",id:"",native:"",shortcodes:"",size:{value:"",transform:e=>/\D/.test(e)?e:`${e}px`},set:K.set,skin:K.skin};class _e extends ye{async connectedCallback(){const e=oe(this.props,be,this);e.element=this,e.ref=e=>{this.component=e},await ae(),this.disconnected||P(B(me,{...e}),this)}constructor(e){super(e)}}i(_e,"Props",be),"undefined"===typeof customElements||customElements.get("em-emoji")||customElements.define("em-emoji",_e);var we,ke,Se=[],xe=o.__b,Ce=o.__r,Ee=o.diffed,Ae=o.__c,Te=o.unmount;function Ie(){var e;
vendor: 5,396 bytes, line 2
2for(Se.sort(function(e,t){return e.__v.__b-t.__v.__b});e=Se.pop();)if(e.__P)try{e.__H.__h.forEach(Oe),e.__H.__h.forEach(De),e.__H.__h=[]}catch(t){e.__H.__h=[],o.__e(t,e.__v)}}o.__b=function(e){we=null,xe&&xe(e)},o.__r=function(e){Ce&&Ce(e);var t=(we=e.__c).__H;t&&(t.__h.forEach(Oe),t.__h.forEach(De),t.__h=[])},o.diffed=function(e){Ee&&Ee(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==Se.push(t)&&ke===o.requestAnimationFrame||((ke=o.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),Re&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Re&&(t=requestAnimationFrame(n))})(Ie)),we=null},o.__c=function(e,t){t.some(function(e){try{e.__h.forEach(Oe),e.__h=e.__h.filter(function(e){return!e.__||De(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],o.__e(n,e.__v)}}),Ae&&Ae(e,t)},o.unmount=function(e){Te&&Te(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{Oe(e)}catch(n){t=n}}),t&&o.__e(t,n.__v))};var Re="function"==typeof requestAnimationFrame;function Oe(e){var t=we,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),we=t}function De(e){var t=we;e.__c=e.__(),we=t}function Ne(e,t){for(var n in t)e[n]=t[n];return e}function je(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Fe(e){this.props=e}(Fe.prototype=new _).isPureReactComponent=!0,Fe.prototype.shouldComponentUpdate=function(e,t){return je(this.props,e)||je(this.state,t)};var Me=o.__b;o.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Me&&Me(e)};"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var Ve=o.__e;o.__e=function(e,t,n){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);Ve(e,t,n)};var Pe=o.unmount;function Le(){this.__u=0,this.t=null,this.__b=null}function Be(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function He(){this.u=null,this.o=null}o.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),Pe&&Pe(e)},(Le.prototype=new _).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=Be(r.__v),a=!1,o=function(){a||(a=!0,n.__R=null,i?i(s):s())};n.__R=o;var s=function(){if(! --r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)}),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(o,o)},Le.prototype.componentWillUnmount=function(){this.t=[]},Le.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),t.__c.__H=null),null!=(t=Ne({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)})),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__e&&g(b,null,e.fallback);return i&&(i.__h=null),[g(b,null,t.__e?null:e.children),i]};var We=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};(He.prototype=new _).__e=function(e){var t=this,n=Be(t.__v),r=t.o.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),We(t,e,r)):i()};n?n(a):a()}},He.prototype.render=function(e){this.u=null,this.o=new Map;var t=A(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},He.prototype.componentDidUpdate=He.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){We(e,n,t)})};var ze="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ye=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ue="undefined"!=typeof document,Xe=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};_.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(_.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Ge=o.event;function qe(){}function Je(){return this.cancelBubble}function $e(){return this.defaultPrevented}o.event=function(e){return Ge&&(e=Ge(e)),e.persist=qe,e.isPropagationStopped=Je,e.isDefaultPrevented=$e,e.nativeEvent=e};var Ke={configurable:!0,get:function(){return this.class}},Ze=o.vnode;o.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var i=-1===t.indexOf("-");for(var a in r={},n){var o=n[a];Ue&&"children"===a&&"noscript"===t||"value"===a&&"defaultValue"in n&&null==o||("defaultValue"===a&&"value"in n&&null==n.value?a="value":"download"===a&&!0===o?o="":/ondoubleclick/i.test(a)?a="ondblclick":/^onchange(textarea|input)/i.test(a+t)&&!Xe(n.type)?a="onin
2put":/^onfocus$/i.test(a)?a="onfocusin":/^onblur$/i.test(a)?a="onfocusout":/^on(Ani|Tra|Tou|BeforeInp)/.test(a)?a=a.toLowerCase():i&&Ye.test(a)?a=a.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===o&&(o=void 0),r[a]=o)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=A(n.children).forEach(function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)})),"select"==t&&null!=r.defaultValue&&(r.value=A(n.children).forEach(function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value})),e.props=r,n.class!=n.className&&(Ke.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Ke))}e.$$typeof=ze,Ze&&Ze(e)};var Qe=o.__r;o.__r=function(e){Qe&&Qe(e),e.__c};const et={light:"outline",dark:"solid"};class tt extends Fe{renderIcon(e){const{icon:t}=e;if(t){if(t.svg)return B("span",{class:"flex",dangerouslySetInnerHTML:{__html:t.svg}});if(t.src)return B("img",{src:t.src})}const n=he.categories[e.id]||he.categories.custom;return n["auto"==this.props.icons?et[this.props.theme]:this.props.icons]||n}render(){let e=null;return B("nav",{id:"nav",class:"padding","data-position":this.props.position,dir:this.props.dir,children:B("div",{class:"flex relative",children:[this.categories.map((t,n)=>{const r=t.name||Z.categories[t.id],i=!this.props.unfocused&&t.id==this.state.categoryId;return i&&(e=n),B("button",{"aria-label":r,"aria-selected":i||void 0,title:r,type:"button",class:"flex flex-grow flex-center",onMouseDown:e=>e.preventDefault(),onClick:()=>{this.props.onClick({category:t,i:n})},children:this.renderIcon(t)})}),B("div",{class:"bar",style:{width:100/this.categories.length+"%",opacity:null==e?0:1,transform:"rtl"===this.props.dir?`scaleX(-1) translateX(${100*e}%)`:`translateX(${100*e}%)`}})]})})}constructor(){super(),this.categories=Q.categories.filter(e=>!e.target),this.state={categoryId:this.categories[0].id}}}class nt extends Fe{shouldComponentUpdate(e){for(let t in e)if("children"!=t&&e[t]!=this.props[t])return!0;return!1}render(){return this.props.children}}const rt=10;class it extends _{getInitialState(e=this.props){return{skin:H.get("skin")||e.skin,theme:this.initTheme(e.theme)}}componentWillMount(){this.dir=Z.rtl?"rtl":"ltr",this.refs={menu:{current:null},navigation:{current:null},scroll:{current:null},search:{current:null},searchInput:{current:null},skinToneButton:{current:null},skinToneRadio:{current:null}},this.initGrid(),0==this.props.stickySearch&&"sticky"==this.props.searchPosition&&(console.warn("[EmojiMart] Deprecation warning: `stickySearch` has been renamed `searchPosition`."),this.props.searchPosition="static")}componentDidMount(){if(this.register(),this.shadowRoot=this.base.parentNode,this.props.autoFocus){const{searchInput:e}=this.refs;e.current&&e.current.focus()}}componentWillReceiveProps(e){this.nextState||(this.nextState={});for(const t in e)this.nextState[t]=e[t];clearTimeout(this.nextStateTimer),this.nextStateTimer=setTimeout(()=>{let e=!1;for(const n in this.nextState)this.props[n]=this.nextState[n],"custom"!==n&&"categories"!==n||(e=!0);delete this.nextState;const t=this.getInitialState();if(e)return this.reset(t);this.setState(t)})}componentWillUnmount(){this.unregister()}async reset(e={}){await ae(this.props),this.initGrid(),this.unobserve(),this.setState(e,()=>{this.observeCategories(),this.observeRows()})}register(){document.addEventListener("click",this.handleClickOutside),this.observe()}unregister(){document.removeEventListener("click",this.handleClickOutside),this.darkMedia?.removeEventListener("change",this.darkMediaCallback),this.unobserve()}observe(){this.observeCategories(),this.observeRows()}unobserve({except:e=[]}={}){Array.isArray(e)||(e=[e]);for(const t of this.observers)e.includes(t)||t.disconnect();this.observers=[].concat(e)}initGrid(){const{categories:e}=Q;this.refs.categories=new Map;const t=Q.categories.map(e=>e.id).join(",");this.navKey&&this.navKey!=t&&this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0),this.navKey=t,this.grid=[],this.grid.setsize=0;const n=(e,t)=>{const n=[];
vendor: 4,685 bytes, line 2
2n.__categoryId=t.id,n.__index=e.length,this.grid.push(n);const r=this.grid.length-1,i=r%rt?{}:{current:null};return i.index=r,i.posinset=this.grid.setsize+1,e.push(i),n};for(let r of e){const e=[];let t=n(e,r);for(let i of r.emojis)t.length==this.getPerLine()&&(t=n(e,r)),this.grid.setsize+=1,t.push(i);this.refs.categories.set(r.id,{root:v(),rows:e})}}initTheme(e){if("auto"!=e)return e;if(!this.darkMedia){if(this.darkMedia=matchMedia("(prefers-color-scheme: dark)"),this.darkMedia.media.match(/^not/))return"light";this.darkMedia.addEventListener("change",this.darkMediaCallback)}return this.darkMedia.matches?"dark":"light"}initDynamicPerLine(e=this.props){if(!e.dynamicWidth)return;const{element:t,emojiButtonSize:n}=e,r=()=>{const{width:e}=t.getBoundingClientRect();return Math.floor(e/n)},i=new ResizeObserver(()=>{this.unobserve({except:i}),this.setState({perLine:r()},()=>{this.initGrid(),this.forceUpdate(()=>{this.observeCategories(),this.observeRows()})})});return i.observe(t),this.observers.push(i),r()}getPerLine(){return this.state.perLine||this.props.perLine}getEmojiByPos([e,t]){const n=this.state.searchResults||this.grid,r=n[e]&&n[e][t];if(r)return ce.get(r)}observeCategories(){const e=this.refs.navigation.current;if(!e)return;const t=new Map,n=t=>{t!=e.state.categoryId&&e.setState({categoryId:t})},r={root:this.refs.scroll.current,threshold:[0,1]},i=new IntersectionObserver(e=>{for(const n of e){const e=n.target.dataset.id;t.set(e,n.intersectionRatio)}const r=[...t];for(const[t,i]of r)if(i){n(t);break}},r);for(const{root:a}of this.refs.categories.values())i.observe(a.current);this.observers.push(i)}observeRows(){const e={...this.state.visibleRows},t=new IntersectionObserver(t=>{for(const n of t){const t=parseInt(n.target.dataset.index);n.isIntersecting?e[t]=!0:delete e[t]}this.setState({visibleRows:e})},{root:this.refs.scroll.current,rootMargin:`${this.props.emojiButtonSize*(rt+5)}px 0px ${this.props.emojiButtonSize*rt}px`});for(const{rows:n}of this.refs.categories.values())for(const e of n)e.current&&t.observe(e.current);this.observers.push(t)}preventDefault(e){e.preventDefault()}unfocusSearch(){const e=this.refs.searchInput.current;e&&e.blur()}navigate({e:e,input:t,left:n,right:r,up:i,down:a}){const o=this.state.searchResults||this.grid;if(!o.length)return;let[s,l]=this.state.pos;const c=(()=>{if(0==s&&0==l&&!e.repeat&&(n||i))return null;if(-1==s)return e.repeat||!r&&!a||t.selectionStart!=t.value.length?null:[0,0];if(n||r){let e=o[s];const t=n?-1:1;if(l+=t,!e[l]){if(s+=t,e=o[s],!e)return s=n?0:o.length-1,l=n?0:o[s].length-1,[s,l];l=n?e.length-1:0}return[s,l]}if(i||a){s+=i?-1:1;const e=o[s];return e?(e[l]||(l=e.length-1),[s,l]):(s=i?0:o.length-1,l=i?0:o[s].length-1,[s,l])}})();c?(e.preventDefault(),this.setState({pos:c,keyboard:!0},()=>{this.scrollTo({row:c[0]})})):this.state.pos[0]>-1&&this.setState({pos:[-1,-1]})}scrollTo({categoryId:e,row:t}){const n=this.state.searchResults||this.grid;if(!n.length)return;const r=this.refs.scroll.current,i=r.getBoundingClientRect();let a=0;if(t>=0&&(e=n[t].__categoryId),e){a=(this.refs[e]||this.refs.categories.get(e).root).current.getBoundingClientRect().top-(i.top-r.scrollTop)+1}if(t>=0)if(t){const e=a+n[t].__index*this.props.emojiButtonSize,o=e+this.props.emojiButtonSize+.88*this.props.emojiButtonSize;if(e<r.scrollTop)a=e;else{if(!(o>r.scrollTop+i.height))return;a=o-i.height}}else a=0;this.ignoreMouse(),r.scrollTop=a}ignoreMouse(){this.mouseIsIgnored=!0,clearTimeout(this.ignoreMouseTimer),this.ignoreMouseTimer=setTimeout(()=>{delete this.mouseIsIgnored},100)}handleEmojiOver(e){this.mouseIsIgnored||this.state.showSkins||this.setState({pos:e||[-1,-1],keyboard:!1})}handleEmojiClick({e:e,emoji:t,pos:n}){if(this.props.onEmojiSelect&&(!t&&n&&(t=this.getEmojiByPos(n)),t)){const n=pe(t,{skinIndex:this.state.skin-1});this.props.maxFrequentRows&&$.add(n,this.props),this.props.onEmojiSelect(n,e)}}closeSkins(){this.state.showSkins&&(this.setState({showSkins:null,tempSkin:null}),this.base.removeEventListener("click",this.handleBaseClick),this.base.removeEventListener("keydown",this.handleBaseKeydown))}handleSkinMouseOver(e){this.setState({tempSkin:e})}handleSkinClick(e){this.ignoreMouse(),this.closeSkins(),this.setState({skin:e,tempSkin:null}),H.set("skin",e)}renderNav(){return B(tt,{ref:this.refs.navigation,icons:this.props.icons,theme:this.state.theme,dir:this.dir,unfocused:!!this.state.searchResults,position:this.props.navPosition,onClick:this.handleCategoryClick},this.navKey)}renderPreview(){const e=this.getEmojiByPos(this.state.pos),t=this.state.searchResults&&!this.state.searchResults.length;return B("div",{id:"preview",class:"flex flex-middle",dir:this.dir,"data-
2position":this.props.previewPosition,children:[B("div",{class:"flex flex-middle flex-grow",children:[B("div",{class:"flex flex-auto flex-middle flex-center",style:{height:this.props.emojiButtonSize,fontSize:this.props.emojiButtonSize},children:B(me,{emoji:e,id:t?this.props.noResultsEmoji||"cry":this.props.previewEmoji||("top"==this.props.previewPosition?"point_down":"point_up"),set:this.props.set,size:this.props.emojiButtonSize,skin:this.state.tempSkin||this.state.skin,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})}),B("div",{class:`margin-${this.dir[0]}`,children:B("div",e||t?{class:`padding-${this.dir[2]} align-${this.dir[0]}`,children:[B("div",{class:"preview-title ellipsis",children:e?e.name:Z.search_no_results_1}),B("div",{class:"preview-subtitle ellipsis color-c",children:e?e.skins[0].shortcodes:Z.search_no_results_2})]}:{class:"preview-placeholder color-c",children:Z.pick})})]}),!e&&"preview"==this.props.skinTonePosition&&this.renderSkinToneButton()]})}renderEmojiButton(e,{pos:t,posinset:n,grid:r}){const i=this.props.emojiButtonSize,a=this.state.tempSkin||this.state.skin,o=(e.skins[a-1]||e.skins[0]).native,s=(l=this.state.pos,c=t,Array.isArray(l)&&Array.isArray(c)&&l.length===c.length&&l.every((e,t)=>e==c[t]));var l,c;const u=t.concat(e.id).join("");return B(nt,{selected:s,skin:a,size:i,children:B("button",{"aria-label":o,"aria-selected":s||void 0,"aria-posinset":n,"aria-setsize":r.setsize,"data-keyboard":this.state.keyboard,title:"none"==this.props.previewPosition?e.name:void 0,type:"button",class:"flex flex-center flex-middle",tabindex:"-1",onClick:t=>this.handleEmojiClick({e:t,emoji:e}),onMouseEnter:()=>this.handleEmojiOver(t),onMouseLeave:()=>this.handleEmojiOver(),style:{width:this.props.emojiButtonSize,height:this.props.emojiButtonSize,fontSize:this.props.emojiSize,lineHeight:0},children:[B("div",{"aria-hidden":"true",class:"background",style:{borderRadius:this.props.emojiButtonRadius,backgroundColor:this.props.emojiButtonColors?this.props.emojiButtonColors[(n-1)%this.props.emojiButtonColors.length]:void 0}}),B(me,{emoji:e,set:this.props.set,size:this.props.emojiSize,skin:a,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})]})},u)}renderSearch(){const e="none"==this.props.previewPosition||"search"==this.props.skinTonePosition;return B("div",{children:[B("div",{class:"spacer"}),B("div",{class:"flex flex-middle",children:[B("div",{class:"search relative flex-grow",children:[B("input",{type:"search",ref:this.refs.searchInput,placeholder:Z.search,onClick:this.handleSearchClick,onInput:this.handleSearchInput,onKeyDown:this.handleSearchKeyDown,autoComplete:"off"}),B("span",{class:"icon loupe flex",children:he.search.loupe}),this.state.searchResults&&B("button",{title:"Clear","aria-label":"Clear",type:"button",class:"icon delete flex",onClick:this.clearSearch,onMouseDown:this.preventDefault,children:he.search.delete})]}),e&&this.renderSkinToneButton()]})]})}renderSearchResults(){const{searchResults:e}=this.state;return e?B("div",{class:"category",ref:this.refs.search,children:[B("div",{class:`sticky padding-small align-${this.dir[0]}`,children:Z.categories.search}),B("div",{children:e.length?e.map((t,n)=>B("div",{class:"flex",children:t.map((t,r)=>this.renderEmojiButton(t,{pos:[n,r],posinset:n*this.props.perLine+r+1,grid:e}))})):B("div",{class:`padding-small align-${this.dir[0]}`,children:this.props.onAddCustomEmoji&&B("a",{onClick:this.props.onAddCustomEmoji,children:Z.add_custom})})})]}):null}renderCategories(){const{categories:e}=Q,t=!!this.state.searchResults,n=this.getPerLine();return B("div",{style:{visibility:t?"hidden":void 0,display:t?"none":void 0,height:"100%"},children:e.map(e=>{const{root:t,rows:r}=this.refs.categories.get(e.id);return B("div",{"data-id":e.target?e.target.id:e.id,class:"category",ref:t,children:[B("div",{class:`sticky padding-small align-${this.dir[0]}`,children:e.name||Z.categories[e.id]}),B("div",{class:"relative",style:{height:r.length*this.props.emojiButtonSize},children:r.map((t,r)=>{const i=t.index-t.index%rt,a=this.state.visibleRows[i],o="current"in t?t:void 0;if(!a&&!o)return null;const s=r*n,l=s+n,c=e.emojis.slice(s,l);return c.length<n&&c.push(...new Array(n-c.length)),B("div",{"data-index":t.index,ref:o,class:"flex row",style:{to
vendor: 7,048 bytes, line 2
2p:r*this.props.emojiButtonSize},children:a&&c.map((e,n)=>{if(!e)return B("div",{style:{width:this.props.emojiButtonSize,height:this.props.emojiButtonSize}});const r=ce.get(e);return this.renderEmojiButton(r,{pos:[t.index,n],posinset:t.posinset+n,grid:this.grid})})},t.index)})})]})})})}renderSkinToneButton(){return"none"==this.props.skinTonePosition?null:B("div",{class:"flex flex-auto flex-center flex-middle",style:{position:"relative",width:this.props.emojiButtonSize,height:this.props.emojiButtonSize},children:B("button",{type:"button",ref:this.refs.skinToneButton,class:"skin-tone-button flex flex-auto flex-center flex-middle","aria-selected":this.state.showSkins?"":void 0,"aria-label":Z.skins.choose,title:Z.skins.choose,onClick:this.openSkins,style:{width:this.props.emojiSize,height:this.props.emojiSize},children:B("span",{class:`skin-tone skin-tone-${this.state.skin}`})})})}renderLiveRegion(){const e=this.getEmojiByPos(this.state.pos);return B("div",{"aria-live":"polite",class:"sr-only",children:e?e.name:""})}renderSkins(){const e=this.refs.skinToneButton.current.getBoundingClientRect(),t=this.base.getBoundingClientRect(),n={};return"ltr"==this.dir?n.right=t.right-e.right-3:n.left=e.left-t.left-3,"bottom"==this.props.previewPosition&&"preview"==this.props.skinTonePosition?n.bottom=t.bottom-e.top+6:(n.top=e.bottom-t.top+3,n.bottom="auto"),B("div",{ref:this.refs.menu,role:"radiogroup",dir:this.dir,"aria-label":Z.skins.choose,class:"menu hidden","data-position":n.top?"top":"bottom",style:n,children:[...Array(6).keys()].map(e=>{const t=e+1,n=this.state.skin==t;return B("div",{children:[B("input",{type:"radio",name:"skin-tone",value:t,"aria-label":Z.skins[t],ref:n?this.refs.skinToneRadio:null,defaultChecked:n,onChange:()=>this.handleSkinMouseOver(t),onKeyDown:e=>{"Enter"!=e.code&&"Space"!=e.code&&"Tab"!=e.code||(e.preventDefault(),this.handleSkinClick(t))}}),B("button",{"aria-hidden":"true",tabindex:"-1",onClick:()=>this.handleSkinClick(t),onMouseEnter:()=>this.handleSkinMouseOver(t),onMouseLeave:()=>this.handleSkinMouseOver(),class:"option flex flex-grow flex-middle",children:[B("span",{class:`skin-tone skin-tone-${t}`}),B("span",{class:"margin-small-lr",children:Z.skins[t]})]})]})})})}render(){const e=this.props.perLine*this.props.emojiButtonSize;return B("section",{id:"root",class:"flex flex-column",dir:this.dir,style:{width:this.props.dynamicWidth?"100%":`calc(${e}px + (var(--padding) + var(--sidebar-width)))`},"data-emoji-set":this.props.set,"data-theme":this.state.theme,"data-menu":this.state.showSkins?"":void 0,children:["top"==this.props.previewPosition&&this.renderPreview(),"top"==this.props.navPosition&&this.renderNav(),"sticky"==this.props.searchPosition&&B("div",{class:"padding-lr",children:this.renderSearch()}),B("div",{ref:this.refs.scroll,class:"scroll flex-grow padding-lr",children:B("div",{style:{width:this.props.dynamicWidth?"100%":e,height:"100%"},children:["static"==this.props.searchPosition&&this.renderSearch(),this.renderSearchResults(),this.renderCategories()]})}),"bottom"==this.props.navPosition&&this.renderNav(),"bottom"==this.props.previewPosition&&this.renderPreview(),this.state.showSkins&&this.renderSkins(),this.renderLiveRegion()]})}constructor(e){super(),i(this,"darkMediaCallback",()=>{"auto"==this.props.theme&&this.setState({theme:this.darkMedia.matches?"dark":"light"})}),i(this,"handleClickOutside",e=>{const{element:t}=this.props;e.target!=t&&(this.state.showSkins&&this.closeSkins(),this.props.onClickOutside&&this.props.onClickOutside(e))}),i(this,"handleBaseClick",e=>{this.state.showSkins&&(e.target.closest(".menu")||(e.preventDefault(),e.stopImmediatePropagation(),this.closeSkins()))}),i(this,"handleBaseKeydown",e=>{this.state.showSkins&&"Escape"==e.key&&(e.preventDefault(),e.stopImmediatePropagation(),this.closeSkins())}),i(this,"handleSearchClick",()=>{this.getEmojiByPos(this.state.pos)&&this.setState({pos:[-1,-1]})}),i(this,"handleSearchInput",async()=>{const e=this.refs.searchInput.current;if(!e)return;const{value:t}=e,n=await ce.search(t),r=()=>{this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0)};if(!n)return this.setState({searchResults:n,pos:[-1,-1]},r);const i=e.selectionStart==e.value.length?[0,0]:[-1,-1],a=[];a.setsize=n.length;let o=null;for(let s of n)a.length&&o.length!=this.getPerLine()||(o=[],o.__categoryId="search",o.__index=a.length,a.push(o)),o.push(s);this.ignoreMouse(),this.setState({searchResults:a,pos:i},r)}),i(this,"handleSearchKeyDown",e=>{const t=e.currentTarget;switch(e.stopImmediatePropagation(),e.key){case"ArrowLeft":this.navigate({e:e,input:t,left:!0});break;case"ArrowRight":this.navigate({e:e,input:t,right:!0});break;case"ArrowUp":this.navigate({e:e,input:t,up:!0});break;case"ArrowDown":this.navigate({e:e,input:t,down:!0});break;case"Enter":e.preventDefault(),this.handleEmojiClick({e:e,pos:this.state.pos});break;case"Escape":e.preventDefault(),this.state.searchResults?this.clearSearch():this.unfocusSearch()}}),i(this,"clearSearch",()=>{const e=this.refs.searchInput.current;e&&(e.value="",e.focus(),this.handleSearchInput())}),i(this,"handleCategoryClick",({category:e,i:t})=>{this.scrollTo(0==t?{row:-1}:{categoryId:e.id})}),i(this,"openSkins",e=>{const{currentTarget:t}=e,n=t.getBoundingClientRect();this.setState({showSkins:n},async()=>{await de(2);const e=this.refs.menu.current;e&&(e.classList.remove("hidden"),this.refs.skinToneRadio.current.focus(),this.base.addEventListener("click",this.handleBaseClick,!0),this.base.addEventListener("keydown",this.handleBaseKeydown,!0))})}),this.observers=[],this.state={pos:[-1,-1],perLine:this.initDynamicPerLine(e),visibleRows:{0:!0},...this.getInitialState(e)}}}class at extends ve{async connectedCallback(){const e=oe(this.props,K,this);e.element=this,e.ref=e=>{this.component=e},await ae(e),this.disconnected||P(B(it,{...e}),this.shadowRoot)}constructor(e){super(e,{styles:r(ot)})}}i(at,"Props",K),"undefined"===typeof customElements||customElements.get("em-emoji-picker")||customElements.define("em-emoji-picker",at);var ot={};ot=':host {\n  width: min-content;\n  height: 435px;\n  min-height: 230px;\n  border-radius: var(--border-radius);\n  box-shadow: var(--shadow);\n  --border-radius: 10px;\n  --category-icon-size: 18px;\n  --font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;\n  --font-size: 15px;\n  --preview-placeholder-size: 21px;\n  --preview-title-size: 1.1em;\n  --preview-subtitle-size: .9em;\n  --shadow-color: 0deg 0% 0%;\n  --shadow: .3px .5px 2.7px hsl(var(--shadow-color) / .14), .4px .8px 1px -3.2px hsl(var(--shadow-color) / .14), 1px 2px 2.5px -4.5px hsl(var(--shadow-color) / .14);\n  display: flex;\n}\n\n[data-theme="light"] {\n  --em-rgb-color: var(--rgb-color, 34, 36, 39);\n  --em-rgb-accent: var(--rgb-accent, 34, 102, 237);\n  --em-rgb-background: var(--rgb-background, 255, 255, 255);\n  --em-rgb-input: var(--rgb-input, 255, 255, 255);\n  --em-color-border: var(--color-border, rgba(0, 0, 0, .05));\n  --em-color-border-over: var(--color-border-over, rgba(0, 0, 0, .1)
2);\n}\n\n[data-theme="dark"] {\n  --em-rgb-color: var(--rgb-color, 222, 222, 221);\n  --em-rgb-accent: var(--rgb-accent, 58, 130, 247);\n  --em-rgb-background: var(--rgb-background, 21, 22, 23);\n  --em-rgb-input: var(--rgb-input, 0, 0, 0);\n  --em-color-border: var(--color-border, rgba(255, 255, 255, .1));\n  --em-color-border-over: var(--color-border-over, rgba(255, 255, 255, .2));\n}\n\n#root {\n  --color-a: rgb(var(--em-rgb-color));\n  --color-b: rgba(var(--em-rgb-color), .65);\n  --color-c: rgba(var(--em-rgb-color), .45);\n  --padding: 12px;\n  --padding-small: calc(var(--padding) / 2);\n  --sidebar-width: 16px;\n  --duration: 225ms;\n  --duration-fast: 125ms;\n  --duration-instant: 50ms;\n  --easing: cubic-bezier(.4, 0, .2, 1);\n  width: 100%;\n  text-align: left;\n  border-radius: var(--border-radius);\n  background-color: rgb(var(--em-rgb-background));\n  position: relative;\n}\n\n@media (prefers-reduced-motion) {\n  #root {\n    --duration: 0;\n    --duration-fast: 0;\n    --duration-instant: 0;\n  }\n}\n\n#root[data-menu] button {\n  cursor: auto;\n}\n\n#root[data-menu] .menu button {\n  cursor: pointer;\n}\n\n:host, #root, input, button {\n  color: rgb(var(--em-rgb-color));\n  font-family: var(--font-family);\n  font-size: var(--font-size);\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n  line-height: normal;\n}\n\n*, :before, :after {\n  box-sizing: border-box;\n  min-width: 0;\n  margin: 0;\n  padding: 0;\n}\n\n.relative {\n  position: relative;\n}\n\n.flex {\n  display: flex;\n}\n\n.flex-auto {\n  flex: none;\n}\n\n.flex-center {\n  justify-content: center;\n}\n\n.flex-column {\n  flex-direction: column;\n}\n\n.flex-grow {\n  flex: auto;\n}\n\n.flex-middle {\n  align-items: center;\n}\n\n.flex-wrap {\n  flex-wrap: wrap;\n}\n\n.padding {\n  padding: var(--padding);\n}\n\n.padding-t {\n  padding-top: var(--padding);\n}\n\n.padding-lr {\n  padding-left: var(--padding);\n  padding-right: var(--padding);\n}\n\n.padding-r {\n  padding-right: var(--padding);\n}\n\n.padding-small {\n  padding: var(--padding-small);\n}\n\n.padding-small-b {\n  padding-bottom: var(--padding-small);\n}\n\n.padding-small-lr {\n  padding-left: var(--padding-small);\n  padding-right: var(--padding-small);\n}\n\n.margin {\n  margin: var(--padding);\n}\n\n.margin-r {\n  margin-right: var(--padding);\n}\n\n.margin-l {\n  margin-left: var(--padding);\n}\n\n.margin-small-l {\n  margin-left: var(--padding-small);\n}\n\n.margin-small-lr {\n  margin-left: var(--padding-small);\n  margin-right: var(--padding-small);\n}\n\n.align-l {\n  text-align: left;\n}\n\n.align-r {\n  text-align: right;\n}\n\n.color-a {\n  color: var(--color-a);\n}\n\n.color-b {\n  color: var(--color-b);\n}\n\n.color-c {\n  color: var(--color-c);\n}\n\n.ellipsis {\n  white-space: nowrap;\n  max-width: 100%;\n  width: auto;\n  text-overflow: ellipsis;\n  overflow: hidden;\n}\n\n.sr-only {\n  width: 1px;\n  height: 1px;\n  position: absolute;\n  top: auto;\n  left: -10000px;\n  overflow: hidden;\n}\n\na {\n  cursor: pointer;\n  color: rgb(var(--em-rgb-accent));\n}\n\na:hover {\n  text-decoration: underline;\n}\n\n.spacer {\n  height: 10px;\n}\n\n[dir="rtl"] .scroll {\n  padding-left: 0;\n  padding-right: var(--padding);\n}\n\n.scroll {\n  padding-right: 0;\n  overflow-x: hidden;\n  overflow-y: auto;\n}\n\n.scroll::-webkit-scrollbar {\n  width: var(--sidebar-width);\n  height: var(--sidebar-width);\n}\n\n.scroll::-webkit-scrollbar-track {\n  border: 0;\n}\n\n.scroll::-webkit-scrollbar-button {\n  width: 0;\n  height: 0;\n  display: none;\n}\n\n.scroll::-webkit-scrollbar-corner {\n  background-color: rgba(0, 0, 0, 0);\n}\n\n.scroll::-webkit-scrollbar-thumb {\n  min-height: 20%;\n  min-height: 65px;\n  border: 4px solid rgb(var(--em-rgb-background));\n  border-radius: 8px;\n}\n\n.scroll::-webkit-scrollbar-thumb:hover {\n  background-color: var(--em-color-border-over) !important;\n}\n\n.scroll:hover::-webkit-scrollbar-thumb {\n  background-color: var(--em-color-border);\n}\n\n.sticky {\n  z-index: 1;\n  background-color: rgba(var(--em-rgb-background), .9);\n  -webkit-backdrop-filter: blur(4px);\n  backdrop-filter: blur(4px);\n  font-weight: 500;\n  position: sticky;\n  top: -1px;\n}\n\n[dir="rtl"] .search input[type="search"] {\n  padding: 10px 2.2em 10px 2em;\n}\n\n[dir="rtl"] .search .loupe {\n  left: auto;\n  right: .7em;\n}\n\n[dir="rtl"] .search .delete {\n  left: .7em;\n  right: auto;\n}\n\n.search {\n  z-index: 2;\n  position: relative;\n}\n\n.search input, .search button {\n  font-size: calc(var(--font-size)  - 1px);\n}\n\n.search input[type="search"] {\n  width: 100%;\n  background-color: var(--em-color-border);\n  transition-duration: var(--duration);\n  transition-property: background-color, box-shadow;\n  transition-timing-function: var(--easing);\n  border: 0;\n  border-radius: 10px;\n  outline: 0;\n  padding: 10px 2em 10px 2.2em;\n  display: block;\n}\n\n.search input[type="search"]::-ms-input-placeholder {\n  color: inherit;\n  opacity: .6;\n}\n\n.search input[type="search"]::placeholder {\n  color: inherit;\n  opacity: .6;\n}\n\n.search input[type="search"], .search input[type="search"]::-webkit-search-decoration, .search input[type="search"]::-webkit-search-cancel-button, .search input[type="search"]::-webkit-search-results-button, .search input[type="search"]::-webkit-search-results-decoration {\n  -webkit-appearance: none;\n  -ms-appearance: none;\n  appearance: none;\n}\n\n.search input[type="search"]:focus {\n  background-color: rgb(var(--em-rgb-input));\n  box-shadow: inset 0 0 0 1px rgb(var(--em-rgb-accent)), 0 1px 3px rgba(65, 69, 73, .2);\n}\n\n.search .icon {\n  z-index: 1;\n  color: rgba(var(--em-rgb-color), .7);\n  position: absolute;\n  top: 50%;\n  transform: translateY(-50%);\n}\n\n.search .loupe {\n  pointer-events: none;\n  left: .7em;\n}\n\n.search .delete {\n  right: .7em;\n}\n\nsvg {\n  fill: currentColor;\n  width: 1em;\n  height: 1em;\n}\n\nbutton {\n  -webkit-appearance: none;\n  -ms-appearance: none;\n  appearance: none;\n  cursor: pointer;
2\n  color: currentColor;\n  background-color: rgba(0, 0, 0, 0);\n  border: 0;\n}\n\n#nav {\n  z-index: 2;\n  padding-top: 12px;\n  padding-bottom: 12px;\n  padding-right: var(--sidebar-width);\n  position: relative;\n}\n\n#nav button {\n  color: var(--color-b);\n  transition: color var(--duration) var(--easing);\n}\n\n#nav button:hover {\n  color: var(--color-a);\n}\n\n#nav svg, #nav img {\n  width: var(--category-icon-size);\n  height: var(--category-icon-size);\n}\n\n#nav[dir="rtl"] .bar {\n  left: auto;\n  right: 0;\n}\n\n#nav .bar {\n  width: 100%;\n  height: 3px;\n  background-color: rgb(var(--em-rgb-accent));\n  transition: transform var(--duration) var(--easing);\n  border-radius: 3px 3px 0 0;\n  position: absolute;\n  bottom: -12px;\n  left: 0;\n}\n\n#nav button[aria-selected] {\n  color: rgb(var(--em-rgb-accent));\n}\n\n#preview {\n  z-index: 2;\n  padding: calc(var(--padding)  + 4px) var(--padding);\n  padding-right: var(--sidebar-width);\n  position: relative;\n}\n\n#preview .preview-placeholder {\n  font-size: var(--preview-placeholder-size);\n}\n\n#preview .preview-title {\n  font-size: var(--preview-title-size);\n}\n\n#preview .preview-subtitle {\n  font-size: var(--preview-subtitle-size);\n}\n\n#nav:before, #preview:before {\n  content: "";\n  height: 2px;\n  position: absolute;\n  left: 0;\n  right: 0;\n}\n\n#nav[data-position="top"]:before, #preview[data-position="top"]:before {\n  background: linear-gradient(to bottom, var(--em-color-border), transparent);\n  top: 100%;\n}\n\n#nav[data-position="bottom"]:before, #preview[data-position="bottom"]:before {\n  background: linear-gradient(to top, var(--em-color-border), transparent);\n  bottom: 100%;\n}\n\n.category:last-child {\n  min-height: calc(100% + 1px);\n}\n\n.category button {\n  font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, sans-serif;\n  position: relative;\n}\n\n.category button > * {\n  position: relative;\n}\n\n.category button .background {\n  opacity: 0;\n  background-color: var(--em-color-border);\n  transition: opacity var(--duration-fast) var(--easing) var(--duration-instant);\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  right: 0;\n}\n\n.category button:hover .background {\n  transition-duration: var(--duration-instant);\n  transition-delay: 0s;\n}\n\n.category button[aria-selected] .background {\n  opacity: 1;\n}\n\n.category button[data-keyboard] .background {\n  transition: none;\n}\n\n.row {\n  width: 100%;\n  position: absolute;\n  top: 0;\n  left: 0;\n}\n\n.skin-tone-button {\n  border: 1px solid rgba(0, 0, 0, 0);\n  border-radius: 100%;\n}\n\n.skin-tone-button:hover {\n  border-color: var(--em-color-border);\n}\n\n.skin-tone-button:active .skin-tone {\n  transform: scale(.85) !important;\n}\n\n.skin-tone-button .skin-tone {\n  transition: transform var(--duration) var(--easing);\n}\n\n.skin-tone-button[aria-selected] {\n  background-color: var(--em-color-border);\n  border-top-color: rgba(0, 0, 0, .05);\n  border-bottom-color: rgba(0, 0, 0, 0);\n  border-left-width: 0;\n  border-right-width: 0;\n}\n\n.skin-tone-button[aria-selected] .skin-tone {\n  transform: scale(.9);\n}\n\n.menu {\n  z-index: 2;\n  white-space: nowrap;\n  border: 1px solid var(--em-color-border);\n  background-color: rgba(var(--em-rgb-background), .9);\n  -webkit-backdrop-filter: blur(4px);\n  backdrop-filter: blur(4px);\n  transition-property: opacity, transform;\n  transition-duration: var(--duration);\n  transition-timing-function: var(--easing);\n  border-radius: 10px;\n  padding: 4px;\n  position: absolute;\n  box-shadow: 1px 1px 5px rgba(0, 0, 0, .05);\n}\n\n.menu.hidden {\n  opacity: 0;\n}\n\n.menu[data-position="bottom"] {\n  transform-origin: 100% 100%;\n}\n\n.menu[data-position="bottom"].hidden {\n  transform: scale(.9)rotate(-3deg)translateY(5%);\n}\n\n.menu[data-position="top"] {\n  transform-origin: 100% 0;\n}\n\n.menu[data-position="top"].hidden {\n  transform: scale(.9)rotate(3deg)translateY(-5%);\n}\n\n.menu input[type="radio"] {\n  clip: rect(0 0 0 0);\n  width: 1px;\n  height: 1px;\n  border: 0;\n  margin: 0;\n  padding: 0;\n  position: absolute;\n  overflow: hidden;\n}\n\n.menu input[type="radio"]:checked + .option {\n  box-shadow: 0 0 0 2px rgb(var(--em-rgb-accent));\n}\n\n.option {\n  width: 100%;\n  border-radius: 6px;\n  padding: 4px 6px;\n}
2\n\n.option:hover {\n  color: #fff;\n  background-color: rgb(var(--em-rgb-accent));\n}\n\n.skin-tone {\n  width: 16px;\n  height: 16px;\n  border-radius: 100%;\n  display: inline-block;\n  position: relative;\n  overflow: hidden;\n}\n\n.skin-tone:after {\n  content: "";\n  mix-blend-mode: overlay;\n  background: linear-gradient(rgba(255, 255, 255, .2), rgba(0, 0, 0, 0));\n  border: 1px solid rgba(0, 0, 0, .8);\n  border-radius: 100%;\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  right: 0;\n  box-shadow: inset 0 -2px 3px #000, inset 0 1px 2px #fff;\n}\n\n.skin-tone-1 {\n  background-color: #ffc93a;\n}\n\n.skin-tone-2 {\n  background-color: #ffdab7;\n}\n\n.skin-tone-3 {\n  background-color: #e7b98f;\n}\n\n.skin-tone-4 {\n  background-color: #c88c61;\n}\n\n.skin-tone-5 {\n  background-color: #a46134;\n}\n\n.skin-tone-6 {\n  background-color: #5d4437;\n}\n\n[data-index] {\n  justify-content: space-between;\n}\n\n[data-emoji-set="twitter"] .skin-tone:after {\n  box-shadow: none;\n  border-color: rgba(0, 0, 0, .5);\n}\n\n[data-emoji-set="twitter"] .skin-tone-1 {\n  background-color: #fade72;\n}\n\n[data-emoji-set="twitter"] .skin-tone-2 {\n  background-color: #f3dfd0;\n}\n\n[data-emoji-set="twitter"] .skin-tone-3 {\n  background-color: #eed3a8;\n}\n\n[data-emoji-set="twitter"] .skin-tone-4 {\n  background-color: #cfad8d;\n}\n\n[data-emoji-set="twitter"] .skin-tone-5 {\n  background-color: #a8805d;\n}\n\n[data-emoji-set="twitter"] .skin-tone-6 {\n  background-color: #765542;\n}\n\n[data-emoji-set="google"] .skin-tone:after {\n  box-shadow: inset 0 0 2px 2px rgba(0, 0, 0, .4);\n}\n\n[data-emoji-set="google"] .skin-tone-1 {\n  background-color: #f5c748;\n}\n\n[data-emoji-set="google"] .skin-tone-2 {\n  background-color: #f1d5aa;\n}\n\n[data-emoji-set="google"] .skin-tone-3 {\n  background-color: #d4b48d;\n}\n\n[data-emoji-set="google"] .skin-tone-4 {\n  background-color: #aa876b;\n}\n\n[data-emoji-set="google"] .skin-tone-5 {\n  background-color: #916544;\n}\n\n[data-emoji-set="google"] .skin-tone-6 {\n  background-color: #61493f;\n}\n\n[data-emoji-set="facebook"] .skin-tone:after {\n  border-color: rgba(0, 0, 0, .4);\n  box-shadow: inset 0 -2px 3px #000, inset 0 1px 4px #fff;\n}\n\n[data-emoji-set="facebook"] .skin-tone-1 {\n  background-color: #f5c748;\n}\n\n[data-emoji-set="facebook"] .skin-tone-2 {\n  background-color: #f1d5aa;\n}\n\n[data-emoji-set="facebook"] .skin-tone-3 {\n  background-color: #d4b48d;\n}\n\n[data-emoji-set="facebook"] .skin-tone-4 {\n  background-color: #aa876b;\n}\n\n[data-emoji-set="facebook"] .skin-tone-5 {\n  background-color: #916544;\n}\n\n[data-emoji-set="facebook"] .skin-tone-6 {\n  background-color: #61493f;\n}\n\n'},38220(t){"use strict";var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch(e){n=!1}t.exports=n},44246(e){"use strict";e.exports=EvalError},20622(e){"use strict";e.exports=Error},2883(e){"use strict";e.exports=RangeError},37215(e){"use strict";e.exports=ReferenceError},86499(e){"use strict";e.exports=SyntaxError},82508(e){"use strict";e.exports=TypeError},32492(e){"use strict";e.exports=URIError},87931(e,t,n){"use strict";var r=n(82508);e.exports=function(e){if(null==e)throw new r(arguments.length>0&&arguments[1]||"Cannot call method on "+e);return e}},16055(e,t,n){"use strict";var r=n(68797),i=n(87931);e.exports=function(e){return i(e),r(e)}},68797(e){"use strict";e.exports=Object},86562(e){"use strict";e.exports=function(e){return!!e&&("function"===typeof e||"object"===typeof e)}},40662(e,t,n){"use strict";var r=n(44378),i="function"===typeof Symbol&&"symbol"===typeof Symbol.unscopables,a=i&&Array.prototype[Symbol.unscopables],o=TypeError;e.exports=function(e){if("string"!==typeof e||!e)throw new o("method must be a non-empty string");if(!r(Array.prototype,e))throw new o("method must be on Array.prototype");i&&a&&(a[e]=!0)}},39862(e,t,n){"use strict";var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator,i=n(42371),a=n(11505),o=n(21847),s=n(33201);e.exports=function(e){if(i(e))return e;var t,n="default";if(arguments.length>1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=function(e,t){var n=e[t];if(null!==n&&"undefined"!==typeof n){if(!a(n))throw new TypeError(n+" returned for property "+String(t)+" of object "+e+" is not a function");return n}}(e,Symbol.toPrimitive):s(e)&&(t=Symbol.prototype.valueOf)),"undefined"!==typeof t){var l=t.call(e,n);if(i(l))return l;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(o(e)||s(e))&&(n="string"),function(e,t){if("undefined"===typeof e||null===e)throw new TypeError("Cannot call method on "+e);if("string"!==typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,r,o,s="string"===t?["toString","valueOf"]:["valueOf","toString"];for(o=0;o<s.length;++o)if(n=e[s[o]],a(n)&&(r=n.call(e),i(r)))return r;throw new TypeError("No default value")}(e,"default"===n?"number":n)}},42371(e){"use strict";e.exports=function(e){return null===e||"function"!==typeof e&&"object"!==typeof e}},81245(e){"use strict";e.exports=e=>{if("string"!==typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},72985(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(e,t,r,a,o){if("function"!==typeof r)throw new TypeError("The listener must be a function");var s=new i(r,a||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0===--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,a=r.length,o=new Array(a);i<a;i++)o[i]=r[i].fn;return o},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,i,a,o){var s=n?n+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,i),!0;case 5:return u.fn.call(u.context,t,r,i,a),!0;case 6:return u.fn.call(u.context,t,r,i,a,o),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var p,f=u.length;for(c=0;c<f;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,r);break;case 4:u[c].fn.call(u[c].context,t,r,i);break;default:if(!l)for(p=1,l=new Array(d-1);p<d;p++)l[p-1]=arguments[p];u[c].fn.apply(u[c].context,l)}}return!0},s.prototype.on=function(e,t,n){return a(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return a(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,i){var a=n?n+e:e;if(!this._events[a])return this;if(!t)return o(this,a),this;var s=this._events[a];if(s.fn)s.fn!==t||i&&!s.once||r&&s.context!==r||o(this,a);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==t||i&&!s[l].once||r&&s[l].context!==r)&&c.push(s[l]);c.length?this._events[a]=1===c.length?c[0]:c:o(this,a)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&o(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s},7976(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;
2if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,a;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!==i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!==i--;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;0!==i--;){var o=a[i];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}},61400(e){"use strict";function t(e){return function(){return e}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},26077(e){"use strict";var t=function(e){};e.exports=function(e,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];if(t(n),!e){var o;if(void 0===n)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=0;(o=new Error(n.replace(/%s/g,function(){return String(i[s++])}))).name="Invariant Violation"}throw o.framesToPop=1,o}}},97277(e,t,n){"use strict";var r=n(61400);e.exports=r},43020(e){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),i=Array.isArray(t),a=0;a<r.length;a++){var o=r[a],s=e[o];(i?-1!==t.indexOf(o):t(o,s,e))&&(n[o]=s)}return n}},57719(e){!function(){function t(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function n(e){this.g=document.createElement("div"),this.g.setAttribute("aria-hidden","true"),this.g.appendChild(document.createTextNode(e)),this.h=document.createElement("span"),this.i=document.createElement("span"),this.m=document.createElement("span"),this.j=document.createElement("span"),this.l=-1,this.h.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.i.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.j.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.m.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.h.appendChild(this.m),this.i.appendChild(this.j),this.g.appendChild(this.h),this.g.appendChild(this.i)}function r(e,t){e.g.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+t+";"}function i(e){var t=e.g.offsetWidth,n=t+100;return e.j.style.width=n+"px",e.i.scrollLeft=n,e.h.scrollLeft=e.h.scrollWidth+100,e.l!==t&&(e.l=t,!0)}function a(e,n){function r(){var e=a;i(e)&&null!==e.g.parentNode&&n(e.l)}var a=e;t(e.h,r),t(e.i,r),i(e)}function o(e,t,n){t=t||{},n=n||window,this.family=e,this.style=t.style||"normal",this.weight=t.weight||"normal",this.stretch=t.stretch||"normal",this.context=n}var s=null,l=null,c=null,u=null;function d(e){return null===u&&(u=!!e.document.fonts),u}function p(e,t){var n=e.style,r=e.weight;if(null===c){var i=document.createElement("div");try{i.style.font="condensed 100px sans-serif"}catch(a){}c=""!==i.style.font}return[n,r,c?e.stretch:"","100px",t].join(" ")}o.prototype.load=function(e,t){var i=this,o=e||"BESbswy",c=0,u=t||3e3,f=(new Date).getTime();return new Promise(function(e,t){if(d(i.context)&&!function(e){return null===l&&(d(e)&&/Apple/.test(window.navigator.vendor)?(e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent),l=!!e&&603>parseInt(e[1],10)):l=!1),l}(i.context)){var h=new Promise(function(e,t){!function n(){(new Date).getTime()-f>=u?t(Error(u+"ms timeout exceeded")):i.context.document.fonts.load(p(i,'"'+i.family+'"'),o).then(function(t){1<=t.length?e():setTimeout(n,25)},t)}()}),m=new Promise(function(e,t){c=setTimeout(function(){t(Error(u+"ms timeout exceeded"))},u)});Promise.race([m,h]).then(function(){clearTimeout(c),e(i)},t)}else!function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",function t(){document.removeEventListener("DOMContentLoaded",t),e()}):document.attachEvent("onreadystatechange",function t(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",t),e())})}(function(){function l(){var t;(t=-1!=g&&-1!=y||-1!=g&&-1!=v||-1!=y&&-1!=v)&&((t=g!=y&&g!=v&&y!=v)||(null===s&&(t=/AppleWeb
2Kit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),s=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))),t=s&&(g==b&&y==b&&v==b||g==_&&y==_&&v==_||g==w&&y==w&&v==w)),t=!t),t&&(null!==k.parentNode&&k.parentNode.removeChild(k),clearTimeout(c),e(i))}var d=new n(o),h=new n(o),m=new n(o),g=-1,y=-1,v=-1,b=-1,_=-1,w=-1,k=document.createElement("div");k.dir="ltr",r(d,p(i,"sans-serif")),r(h,p(i,"serif")),r(m,p(i,"monospace")),k.appendChild(d.g),k.appendChild(h.g),k.appendChild(m.g),i.context.document.body.appendChild(k),b=d.g.offsetWidth,_=h.g.offsetWidth,w=m.g.offsetWidth,function e(){if((new Date).getTime()-f>=u)null!==k.parentNode&&k.parentNode.removeChild(k),t(Error(u+"ms timeout exceeded"));else{var n=i.context.document.hidden;!0!==n&&void 0!==n||(g=d.g.offsetWidth,y=h.g.offsetWidth,v=m.g.offsetWidth,l()),c=setTimeout(e,50)}}(),a(d,function(e){g=e,l()}),r(d,p(i,'"'+i.family+'",sans-serif')),a(h,function(e){y=e,l()}),r(h,p(i,'"'+i.family+'",serif')),a(m,function(e){v=e,l()}),r(m,p(i,'"'+i.family+'",monospace'))})})},e.exports=o}()},32602(e){"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n};e.exports=function(e){var i=this;if("function"!==typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var a,o=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n}(arguments,1),s=n(0,i.length-o.length),l=[],c=0;c<s;c++)l[c]="$"+c;if(a=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n}(l,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var t=i.apply(this,r(o,arguments));return Object(t)===t?t:this}return i.apply(e,r(o,arguments))}),i.prototype){var u=function(){};u.prototype=i.prototype,a.prototype=new u,u.prototype=null}return a}},21954(e,t,n){"use strict";var r=n(32602);e.exports=Function.prototype.bind||r},57968(t,n,r){"use strict";var i,a=r(68797),o=r(20622),s=r(44246),l=r(2883),c=r(37215),u=r(86499),d=r(82508),p=r(32492),f=r(92239),h=r(12401),m=r(641),g=r(12115),y=r(40905),v=r(23239),b=r(26994),_=Function,w=function(t){try{return _('"use strict"; return ('+t+").constructor;")()}catch(e){}},k=r(3128),S=r(38220),x=function(){throw new d},C=k?function(){try{return x}catch(e){try{return k(arguments,"callee").get}catch(t){return x}}}():x,E=r(8310)(),A=r(49281),T=r(65473),I=r(20803),R=r(94639),O=r(32371),D={},N="undefined"!==typeof Uint8Array&&A?A(Uint8Array):i,j={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?i:ArrayBuffer,"%ArrayIteratorPrototype%":E&&A?A([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":D,"%AsyncGenerator%":D,"%AsyncGeneratorFunction%":D,"%AsyncIteratorPrototype%":D,"%Atomics%":"undefined"===typeof Atomics?i:Atomics,"%BigInt%":"undefined"===typeof BigInt?i:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?i:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?i:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":s,"%Float16Array%":"undefined"===typeof Float16Array?i:Float16Array,"%Float32Array%":"undefined"===typeof Float32Array?i:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?i:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?i:FinalizationRegistry,"%Function%":_,"%GeneratorFunction%":D,"%Int8Array%":"undefined"===typeof Int8Array?i:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?i:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
2IteratorPrototype%":E&&A?A(A([][Symbol.iterator]())):i,"%JSON%":"object"===typeof JSON?JSON:i,"%Map%":"undefined"===typeof Map?i:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&E&&A?A((new Map)[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":a,"%Object.getOwnPropertyDescriptor%":k,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?i:Promise,"%Proxy%":"undefined"===typeof Proxy?i:Proxy,"%RangeError%":l,"%ReferenceError%":c,"%Reflect%":"undefined"===typeof Reflect?i:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?i:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&E&&A?A((new Set)[Symbol.iterator]()):i,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":E&&A?A(""[Symbol.iterator]()):i,"%Symbol%":E?Symbol:i,"%SyntaxError%":u,"%ThrowTypeError%":C,"%TypedArray%":N,"%TypeError%":d,"%Uint8Array%":"undefined"===typeof Uint8Array?i:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?i:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?i:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?i:Uint32Array,"%URIError%":p,"%WeakMap%":"undefined"===typeof WeakMap?i:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?i:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?i:WeakSet,"%Function.prototype.call%":O,"%Function.prototype.apply%":R,"%Object.defineProperty%":S,"%Object.getPrototypeOf%":T,"%Math.abs%":f,"%Math.floor%":h,"%Math.max%":m,"%Math.min%":g,"%Math.pow%":y,"%Math.round%":v,"%Math.sign%":b,"%Reflect.getPrototypeOf%":I};if(A)try{null.error}catch(e){var F=A(A(e));j["%Error.prototype%"]=F}var M=function e(t){var n;if("%AsyncFunction%"===t)n=w("async function () {}");else if("%GeneratorFunction%"===t)n=w("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=w("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&A&&(n=A(i.prototype))}return j[t]=n,n},V={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},P=r(21954),L=r(44378),B=P.call(O,Array.prototype.concat),H=P.call(R,Array.prototype.splice),W=P.call(O,String.prototype.replace),z=P.call(O,String.prototype.slice),Y=P.call(O,RegExp.prototype.exec),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,X=/\\(\\)?/g,G=function(e,t){var n,r=e;if(L(V,r)&&(r="%"+(n=V[r])[0]+"%"),L(j,r)){var i=j[r];if(i===D&&(i=M(r)),"undefined"===typeof i&&!t)throw new d("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new u("intrinsic "+e+" does not exist!")};t.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new d("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new d('"allowMissing" argument must be a boolean');if(null===Y(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=z(e,0,1),n=z(e,-1);if("%"===t&&"%"!==n)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var r=[];return W(e,U,function(e,t,n,i){r[r.length]=n?W(i,X,"$1"):t||e}),r}(e),r=n.length>0?n[0]:"",i=G("%"+r+"%",t),a=i.name,o=i.value,s=!1,l=i.alias;l&&(r=l[0],H(n,B([0,1],l)));for(var c=1,p=!0;c<n.length;c+=1){var f=n[c],h=z(f,0,1),m=z(f,-1);if(('"'===h||"'"===h||"`"===h||'"'===m||"'"===m||"`"===m)&&h!==m)throw new u("property names with quotes must have matching quotes");if("constructor"!==f&&p||(s=!0),L(j,a="%"+(r+="."+f)+"%"))o=j[a];
2else if(null!=o){if(!(f in o)){if(!t)throw new d("base intrinsic for "+e+" exists, but the property is not available.");return}if(k&&c+1>=n.length){var g=k(o,f);o=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:o[f]}else p=L(o,f),o=o[f];p&&!s&&(j[a]=o)}}return o}},65473(e,t,n){"use strict";var r=n(68797);e.exports=r.getPrototypeOf||null},20803(e){"use strict";e.exports="undefined"!==typeof Reflect&&Reflect.getPrototypeOf||null},49281(e,t,n){"use strict";var r=n(20803),i=n(65473),a=n(84375);e.exports=r?function(e){return r(e)}:i?function(e){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new TypeError("getProto: not an object");return i(e)}:a?function(e){return a(e)}:null},45516(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},3128(t,n,r){"use strict";var i=r(45516);if(i)try{i([],"length")}catch(e){i=null}t.exports=i},65303(t,n,r){"use strict";var i=r(38220),a=function(){return!!i};a.hasArrayLengthDefineBug=function(){if(!i)return null;try{return 1!==i([],"length",{value:1}).length}catch(e){return!0}},t.exports=a},8310(e,t,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,i=n(34460);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&i())))}},34460(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var r in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},98985(e,t,n){"use strict";var r=n(34460);e.exports=function(){return r()&&!!Symbol.toStringTag}},44378(e,t,n){"use strict";var r=Function.prototype.call,i=Object.prototype.hasOwnProperty,a=n(21954);e.exports=a.call(r,i)}
2,25190(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>s});var r=/[A-Z]/g,i=/^ms-/,a={};function o(e){return"-"+e.toLowerCase()}const s=function(e){if(a.hasOwnProperty(e))return a[e];var t=e.replace(r,o);return a[e]=i.test(t)?"-"+t:t}},60218(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.prefixMap,n=e.plugins;return function e(s){for(var l in s){var c=s[l];if((0,o.default)(c))s[l]=e(c);else if(Array.isArray(c)){for(var u=[],d=0,p=c.length;d<p;++d){var f=(0,i.default)(n,l,c[d],s,t);(0,a.default)(u,f||c[d])}u.length>0&&(s[l]=u)}else{var h=(0,i.default)(n,l,c,s,t);h&&(s[l]=h),s=(0,r.default)(t,l,s)}}return s}};var r=s(n(4778)),i=s(n(23890)),a=s(n(88132)),o=s(n(66264));function s(e){return e&&e.__esModule?e:{default:e}}},10620(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"===typeof t&&!(0,r.isPrefixedValue)(t)&&-1!==t.indexOf("cross-fade("))return a.map(function(e){return t.replace(i,e+"cross-fade(")})};var r=n(74600),i=/cross-fade\(/g,a=["-webkit-",""]},14191(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"===typeof t&&!(0,a.default)(t)&&t.indexOf("image-set(")>-1)return o.map(function(e){return t.replace(/image-set\(/g,e+"image-set(")})};var r,i=n(52123),a=(r=i)&&r.__esModule?r:{default:r};var o=["-webkit-",""]},4389(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(Object.prototype.hasOwnProperty.call(n,e))for(var i=n[e],a=0,o=i.length;a<o;++a)r[i[a]]=t};var n={marginBlockStart:["WebkitMarginBefore"],marginBlockEnd:["WebkitMarginAfter"],marginInlineStart:["WebkitMarginStart","MozMarginStart"],marginInlineEnd:["WebkitMarginEnd","MozMarginEnd"],paddingBlockStart:["WebkitPaddingBefore"],paddingBlockEnd:["WebkitPaddingAfter"],paddingInlineStart:["WebkitPaddingStart","MozPaddingStart"],paddingInlineEnd:["WebkitPaddingEnd","MozPaddingEnd"],borderBlockStart:["WebkitBorderBefore"],borderBlockStartColor:["WebkitBorderBeforeColor"],borderBlockStartStyle:["WebkitBorderBeforeStyle"],borderBlockStartWidth:["WebkitBorderBeforeWidth"],borderBlockEnd:["WebkitBorderAfter"],borderBlockEndColor:["WebkitBorderAfterColor"],borderBlockEndStyle:["WebkitBorderAfterStyle"],borderBlockEndWidth:["WebkitBorderAfterWidth"],borderInlineStart:["WebkitBorderStart","MozBorderStart"],borderInlineStartColor:["WebkitBorderStartColor","MozBorderStartColor"],borderInlineStartStyle:["WebkitBorderStartStyle","MozBorderStartStyle"],borderInlineStartWidth:["WebkitBorderStartWidth","MozBorderStartWidth"],borderInlineEnd:["WebkitBorderEnd","MozBorderEnd"],borderInlineEndColor:["WebkitBorderEndColor","MozBorderEndColor"],borderInlineEndStyle:["WebkitBorderEndStyle","MozBorderEndStyle"],borderInlineEndWidth:["WebkitBorderEndWidth","MozBorderEndWidth"]}},27007(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("position"===e&&"sticky"===t)return["-webkit-sticky","sticky"]}},56694(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(r.hasOwnProperty(e)&&i.hasOwnProperty(t))return n.map(function(e){return e+t})};var n=["-webkit-","-moz-",""],r={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},i={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0}},43675(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,o){if("string"===typeof t&&s.hasOwnProperty(e)){var c=function(e,t){if((0,i.default)(e))return e;for(var n=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g),a=0,o=n.length;a<o;++a){var s=n[a],c=[s];for(var u in t){var d=(0,r.default)(u);if(s.indexOf(d)>-1&&"order"!==d)for(var p=t[u],f=0,h=p.length;f<h;++f)c.unshift(s.replace(d,l[p[f]]+d))}n[a]=c.join(",")}return n.join(",")}(t,o),u=c.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-moz-|-ms-/.test(e)}).join(",");if(e.indexOf("Webkit")>-1)return u;var d=c.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-webkit-|-ms-/.test(e)}).join(",");return e.indexOf("Moz")>-1?d:(n["Webkit"+(0,a.default)(e)]=u,n["Moz"+(0,a.default)(e)]=d,c)}};var r=o(n(54644)),i=o(n(52123)),a=o(n(27964));
2function o(e){return e&&e.__esModule?e:{default:e}}var s={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},l={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"}},88132(e,t){"use strict";function n(e,t){-1===e.indexOf(t)&&e.push(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(Array.isArray(t))for(var r=0,i=t.length;r<i;++r)n(e,t[r]);else n(e,t)}},27964(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},66264(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e instanceof Object&&!Array.isArray(e)}},4778(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=e[t];if(r&&n.hasOwnProperty(t))for(var i=(0,a.default)(t),o=0;o<r.length;++o){var s=r[o]+i;n[s]||(n[s]=n[t])}return n};var r,i=n(27964),a=(r=i)&&r.__esModule?r:{default:r}},23890(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i){for(var a=0,o=e.length;a<o;++a){var s=e[a](t,n,r,i);if(s)return s}}},60430(e){"use strict";e.exports=function(e,t,n,r,i,a,o,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,a,o,s],u=0;(l=new Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},11505(t){"use strict";var n,r,i=Function.prototype.toString,a="object"===typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"===typeof a&&"function"===typeof Object.defineProperty)try{n=Object.defineProperty({},"length",{get:function(){throw r}}),r={},a(function(){throw 42},null,n)}catch(h){h!==r&&(a=null)}else a=null;var o=/^\s*class\b/,s=function(t){try{var n=i.call(t);return o.test(n)}catch(e){return!1}},l=function(t){try{return!s(t)&&(i.call(t),!0)}catch(e){return!1}},c=Object.prototype.toString,u="function"===typeof Symbol&&!!Symbol.toStringTag,d=!(0 in[,]),p=function(){return!1};if("object"===typeof document){var f=document.all;c.call(f)===c.call(document.all)&&(p=function(t){if((d||!t)&&("undefined"===typeof t||"object"===typeof t))try{var n=c.call(t);return("[object HTMLAllCollection]"===n||"[object HTML document.all class]"===n||"[object HTMLCollection]"===n||"[object Object]"===n)&&null==t("")}catch(e){}return!1})}t.exports=a?function(t){if(p(t))return!0;if(!t)return!1;if("function"!==typeof t&&"object"!==typeof t)return!1;try{a(t,null,n)}catch(e){if(e!==r)return!1}return!s(t)&&l(t)}:function(e){if(p(e))return!0;if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;if(u)return l(e);if(s(e))return!1;var t=c.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&l(e)}},21847(t,n,r){"use strict";var i=r(27631),a=i("Date.prototype.getDay"),o=i("Object.prototype.toString"),s=r(98985)();t.exports=function(t){return"object"===typeof t&&null!==t&&(s?function(t){try{return a(t),!0}catch(e){return!1}}(t):"[object Date]"===o(t))}},20608(t,n,r){"use strict";var i,a=r(27631),o=r(98985)(),s=r(44378),l=r(3128);if(o){var c=a("RegExp.prototype.exec"),u={},d=function(){throw u},p={toString:d,valueOf:d};"symbol"===typeof Symbol.toPrimitive&&(p[Symbol.toPrimitive]=d),i=function(t){if(!t||"object"!==typeof t)return!1;var n=l(t,"lastIndex");if(!(n&&s(n,"value")))return!1;try{c(t,p)}catch(e){return e===u}}}else{var f=a("Object.prototype.toString");i=function(e){return!(!e||"object"!==typeof e&&"function"!==typeof e)&&"[object RegExp]"===f(e)}}t.exports=i},33201(t,n,r){"use strict";var i=r(27631),a=i("Object.prototype.toString"),o=r(8310)(),s=r(88148);if(o){var l=i("Symbol.prototype.toString"),c=s(/^Symbol\(.*\)$/);t.exports=function(t){if("symbol"===typeof t)return!0;if(!t||"object"!==typeof t||"[object Symbol]"!==a(t))return!1;try{return function(e){return"symbol"===typeof e.valueOf()&&c(l(e))}(t)}catch(e){return!1}}}else t.exports=function(e){return!1}},72481(e,t){(()=>{"use strict";var e={d:(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
2),Object.defineProperty(e,"__esModule",{value:!0})}},n={};function r(e,t){return void 0===t&&(t="-"),new RegExp("^(?!0{4}"+t+"0{2}"+t+"0{2})((?=[0-9]{4}"+t+"(((0[^2])|1[0-2])|02(?="+t+"(([0-1][0-9])|2[0-8])))"+t+"[0-9]{2})|(?=((([13579][26])|([2468][048])|(0[48]))0{2})|([0-9]{2}((((0|[2468])[48])|[2468][048])|([13579][26])))"+t+"02"+t+"29))([0-9]{4})"+t+"(?!((0[469])|11)"+t+"31)((0[1,3-9]|1[0-2])|(02(?!"+t+"3)))"+t+"(0[1-9]|[1-2][0-9]|3[0-1])$").test(e)}function i(e){var t=/\D/.exec(e);return t?t[0]:""}function a(e,t,n){void 0===t&&(t=":"),void 0===n&&(n=!1);var r=new RegExp("^([0-1]|2(?=([0-3])|4"+t+"00))[0-9]"+t+"[0-5][0-9]("+t+"([0-5]|6(?=0))[0-9])?(.[0-9]{1,9})?$");if(!n||!/[Z+\-]/.test(e))return r.test(e);if(/Z$/.test(e))return r.test(e.replace("Z",""));var a=e.includes("+"),o=e.split(/[+-]/),s=o[0],l=o[1];return r.test(s)&&function(e,t,n){return void 0===n&&(n=":"),new RegExp(t?"^(0(?!(2"+n+"4)|0"+n+"3)|1(?=([0-1]|2(?="+n+"[04])|[34](?="+n+"0))))([03469](?="+n+"[03])|[17](?="+n+"0)|2(?="+n+"[04])|5(?="+n+"[034])|8(?="+n+"[04]))"+n+"([03](?=0)|4(?=5))[05]$":"^(0(?=[^0])|1(?=[0-2]))([39](?="+n+"[03])|[0-24-8](?="+n+"00))"+n+"[03]0$").test(e)}(l,a,i(l))}function o(e){var t=e.split("T"),n=t[0],o=t[1],s=r(n,i(n));if(!o)return!1;var l,c=(l=o.match(/([^Z+\-\d])(?=\d+\1)/),Array.isArray(l)?l[0]:"");return s&&a(o,c,!0)}function s(e,t){return void 0===t&&(t="-"),new RegExp("^[0-9]{4}"+t+"(0(?=[^0])|1(?=[0-2]))[0-9]$").test(e)}e.r(n),e.d(n,{isValidDate:()=>r,isValidISODateString:()=>o,isValidTime:()=>a,isValidYearMonth:()=>s});var l=t;for(var c in n)l[c]=n[c];n.__esModule&&Object.defineProperty(l,"__esModule",{value:!0})})()},86539(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;(function(){"use strict";var ERROR="input is invalid type",WINDOW="object"===typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"===typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"===typeof process&&process.versions&&process.versions.node;NODE_JS?root=__webpack_require__.g:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&module.exports,AMD=__webpack_require__.amdO,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!==typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];!root.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!ARRAY_BUFFER||!root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"===typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var createOutputMethod=function(e,t){return function(n){return new Sha256(t,!0).update(n)[e]()}},createMethod=function(e){var t=createOutputMethod("hex",e);NODE_JS&&(t=nodeWrap(t,e)),t.create=function(){return new Sha256(e)},t.update=function(e){return t.create().update(e)};for(var n=0;n<OUTPUT_TYPES.length;++n){var r=OUTPUT_TYPES[n];t[r]=createOutputMethod(r,e)}return t},nodeWrap=function(method,is224){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),algorithm=is224?"sha224":"sha256",nodeMethod=function(e){if("string"===typeof e)return crypto.createHash(algorithm).update(e,"utf8").digest("hex");if(null===e||void 0===e)throw new Error(ERROR);return e.constructor===ArrayBuffer&&(e=new Uint8Array(e)),Array.isArray(e)||ArrayBuffer.isView(e)||e.constructor===Buffer?crypto.createHash(algorithm).update(new Buffer(e)).digest("hex"):method(e)};return nodeMethod},createHmacOutputMethod=function(e,t){return function(n,r){return new HmacSha256(n,t,!0).update(r)[e]()}},createHmacMethod=function(e){var t=createHmacOutputMethod("hex",e);t.create=function(t){return new HmacSha256(t,e)},t.update=function(e,n){return t.create(e).update(n)};for(var n=0;n<OUTPUT_TYPES.length;++n){var r=OUTPUT_TYPES[n];t[r]=createHmacOutputMethod(r,e)}return t};function Sha256(e,t){t?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=e}function HmacSha256(e,t,n){var r,i=typeof e;if("string"===i){var a,o=[],s=e.length,l=0;for(r=0;r<s;++r)(a=e.charCodeAt(r))<128?o[l++]=a:a<2048?(o[l++]=192|a>>
26,o[l++]=128|63&a):a<55296||a>=57344?(o[l++]=224|a>>12,o[l++]=128|a>>6&63,o[l++]=128|63&a):(a=65536+((1023&a)<<10|1023&e.charCodeAt(++r)),o[l++]=240|a>>18,o[l++]=128|a>>12&63,o[l++]=128|a>>6&63,o[l++]=128|63&a);e=o}else{if("object"!==i)throw new Error(ERROR);if(null===e)throw new Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(e)))throw new Error(ERROR)}e.length>64&&(e=new Sha256(t,!0).update(e).array());var c=[],u=[];for(r=0;r<64;++r){var d=e[r]||0;c[r]=92^d,u[r]=54^d}Sha256.call(this,t,n),this.update(u),this.oKeyPad=c,this.inner=!0,this.sharedMemory=n}Sha256.prototype.update=function(e){if(!this.finalized){var t,n=typeof e;if("string"!==n){if("object"!==n)throw new Error(ERROR);if(null===e)throw new Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(e)))throw new Error(ERROR);t=!0}for(var r,i,a=0,o=e.length,s=this.blocks;a<o;){if(this.hashed&&(this.hashed=!1,s[0]=this.block,s[16]=s[1]=s[2]=s[3]=s[4]=s[5]=s[6]=s[7]=s[8]=s[9]=s[10]=s[11]=s[12]=s[13]=s[14]=s[15]=0),t)for(i=this.start;a<o&&i<64;++a)s[i>>2]|=e[a]<<SHIFT[3&i++];else for(i=this.start;a<o&&i<64;++a)(r=e.charCodeAt(a))<128?s[i>>2]|=r<<SHIFT[3&i++]:r<2048?(s[i>>2]|=(192|r>>6)<<SHIFT[3&i++],s[i>>2]|=(128|63&r)<<SHIFT[3&i++]):r<55296||r>=57344?(s[i>>2]|=(224|r>>12)<<SHIFT[3&i++],s[i>>2]|=(128|r>>6&63)<<SHIFT[3&i++],s[i>>2]|=(128|63&r)<<SHIFT[3&i++]):(r=65536+((1023&r)<<10|1023&e.charCodeAt(++a)),s[i>>2]|=(240|r>>18)<<SHIFT[3&i++],s[i>>2]|=(128|r>>12&63)<<SHIFT[3&i++],s[i>>2]|=(128|r>>6&63)<<SHIFT[3&i++],s[i>>2]|=(128|63&r)<<SHIFT[3&i++]);this.lastByteIndex=i,this.bytes+=i-this.start,i>=64?(this.block=s[16],this.start=i-64,this.hash(),this.hashed=!0):this.start=i}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=EXTRA[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var e,t,n,r,i,a,o,s,l,c=this.h0,u=this.h1,d=this.h2,p=this.h3,f=this.h4,h=this.h5,m=this.h6,g=this.h7,y=this.blocks;for(e=16;e<64;++e)t=((i=y[e-15])>>>7|i<<25)^(i>>>18|i<<14)^i>>>3,n=((i=y[e-2])>>>17|i<<15)^(i>>>19|i<<13)^i>>>10,y[e]=y[e-16]+t+y[e-7]+n|0;for(l=u&d,e=0;e<64;e+=4)this.first?(this.is224?(a=300032,g=(i=y[0]-1413257819)-150054599|0,p=i+24177077|0):(a=704751109,g=(i=y[0]-210244248)-1521486534|0,p=i+143694565|0),this.first=!1):(t=(c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10),r=(a=c&u)^c&d^l,g=p+(i=g+(n=(f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&h^~f&m)+K[e]+y[e])|0,p=i+(t+r)|0),t=(p>>>2|p<<30)^(p>>>13|p<<19)^(p>>>22|p<<10),r=(o=p&c)^p&u^a,m=d+(i=m+(n=(g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(g&f^~g&h)+K[e+1]+y[e+1])|0,t=((d=i+(t+r)|0)>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10),r=(s=d&p)^d&c^o,h=u+(i=h+(n=(m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7))+(m&g^~m&f)+K[e+2]+y[e+2])|0,t=((u=i+(t+r)|0)>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10),r=(l=u&d)^u&p^s,f=c+(i=f+(n=(h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&m^~h&g)+K[e+3]+y[e+3])|0,c=i+(t+r)|0;this.h0=this.h0+c|0,this.h1=this.h1+u|0,this.h2=this.h2+d|0,this.h3=this.h3+p|0,this.h4=this.h4+f|0,this.h5=this.h5+h|0,this.h6=this.h6+m|0,this.h7=this.h7+g|0},Sha256.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,i=this.h4,a=this.h5,o=this.h6,s=this.h7,l=HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o];return this.is224||(l+=HEX_CHARS[s>>28&15]+HEX_CHARS[s>>24&15]+HEX_CHARS[s>>20&15]+HEX_CHARS[s>>16&15]+HEX_CHARS[s>>12&15]+HEX_CHARS[s>>8&15]+HEX_CHARS[s>>4&15]+HEX_CHARS[15&s]),l},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,i=this.h4,a=this.h5,o=this.h6,s=this.h7,l=[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,n>>24&255,n>>16&255,n>>8&255,255&n,r>>24&255,r>>16&255,r>>8&255,255&r,i>>24&255,i>>16&255,i>>8&255,255&i,a>>24&255,a>>16&255,a>>8&255,255&a,o>>24&255,o>>16&255,o>>8&255,255&o];return this.is224||l.push(s>>24&255,s>>16&255,s>>8&255,255&s),l},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),e},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))})()},84024(e){var t=1/0,n=9007199254740991,r=17976931348623157e292,i=NaN,a="[object Function]",o="[object GeneratorFunction]",s="[object Symbol]",l=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,d=/^0o[0-7]+$/i,p=/^(?:0|[1-9]\d*)$/,f=parseInt,h=Object.prototype.toString,m=Math.ceil,g=Math.max;function y(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}function v(e,t,r){if(!b(r))return!1;var i=typeof t;return!!("number"==i?function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}(e.length)&&!function(e){var t=b(e)?h.call(e):"";return t==a||t==o}(e)}(r)&&function(e,t){return!!(t=null==t?n:t)&&("number"==typeof e||p.test(e))&&e>-1&&e%1==0&&e<t}(t,r.length):"string"==i&&t in r)&&function(e,t){return e===t||e!==e&&t!==t}(r[t],e)}function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e,n,a){n=(a?v(e,n,a):void 0===n)?1:g(function(e){var n=function(e){if(!e)return 0===e?e:0;if(e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&h.call(e)==s}(e))return i;if(b(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(l,"");var n=u.test(e);return n||d.test(e)?f(e.slice(2),n?2:8):c.test(e)?i:+e}(e),e===t||e===-1/0){return(e<0?-1:1)*r}return e===e?e:0}(e),a=n%1;return n===n?a?n-a:n:0}
2(n),0);var o=e?e.length:0;if(!o||n<1)return[];for(var p=0,_=0,w=Array(m(o/n));p<o;)w[_++]=y(e,p,p+=n);return w}},78136(e,t,n){var r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,s=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")(),d=Object.prototype.toString,p=Math.max,f=Math.min,h=function(){return u.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=a.test(e);return n||o.test(e)?s(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var r,i,a,o,s,l,c=0,u=!1,d=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=r,a=i;return r=i=void 0,c=t,o=e.apply(a,n)}function b(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=a}function _(){var e=h();if(b(e))return w(e);s=setTimeout(_,function(e){var n=t-(e-l);return d?f(n,a-(e-c)):n}(e))}function w(e){return s=void 0,y&&r?v(e):(r=i=void 0,o)}function k(){var e=h(),n=b(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(_,t),u?v(e):o}(l);if(d)return s=setTimeout(_,t),v(l)}return void 0===s&&(s=setTimeout(_,t)),o}return t=g(t)||0,m(n)&&(u=!!n.leading,a=(d="maxWait"in n)?p(g(n.maxWait)||0,t):a,y="trailing"in n?!!n.trailing:y),k.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},k.flush=function(){return void 0===s?o:w(h())},k}},65196(t,n,r){var i=1/0,a=9007199254740991,o=17976931348623157e292,s=NaN,l="[object Arguments]",c="[object Map]",u="[object Promise]",d="[object Set]",p="[object String]",f="[object Symbol]",h="[object WeakMap]",m="[object DataView]",g=/^\s+|\s+$/g,y=/^[-+]0x[0-9a-f]+$/i,v=/^0b[01]+$/i,b=/^\[object .+?Constructor\]$/,_=/^0o[0-7]+$/i,w=/^(?:0|[1-9]\d*)$/,k="\\ud800-\\udfff",S="\\u0300-\\u036f\\ufe20-\\ufe23",x="\\u20d0-\\u20f0",C="\\ufe0e\\ufe0f",E="["+k+"]",A="["+S+x+"]",T="\\ud83c[\\udffb-\\udfff]",I="[^"+k+"]",R="(?:\\ud83c[\\udde6-\\uddff]){2}",O="[\\ud800-\\udbff][\\udc00-\\udfff]",D="\\u200d",N="(?:"+A+"|"+T+")"+"?",j="["+C+"]?",F=j+N+("(?:"+D+"(?:"+[I,R,O].join("|")+")"+j+N+")*"),M="(?:"+[I+A+"?",A,R,O,E].join("|")+")",V=RegExp(T+"(?="+T+")|"+M+F,"g"),P=RegExp("["+D+k+S+x+C+"]"),L=parseInt,B="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,H="object"==typeof self&&self&&self.Object===Object&&self,W=B||H||Function("return this")();function z(e,t){return function(e,t){for(var n=-1,r=e?e.length:0,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}(t,function(t){return e[t]})}function Y(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function U(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function X(e){return function(e){return P.test(e)}(e)?function(e){return e.match(V)||[]}(e):function(e){return e.split("")}(e)}var G,q,J=Function.prototype,$=Object.prototype,K=W["__core-js_shared__"],Z=function(){var e=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Q=J.toString,ee=$.hasOwnProperty,te=$.toString,ne=RegExp("^"+Q.call(ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),re=W.Symbol,ie=re?re.iterator:void 0,ae=$.propertyIsEnumerable,oe=Math.floor,se=(G=Object.keys,q=Object,function(e){return G(q(e))}),le=Math.random,ce=Se(W,"DataView"),ue=Se(W,"Map"),de=Se(W,"Promise"),pe=Se(W,"Set"),fe=Se(W,"WeakMap"),he=Ee(ce),me=Ee(ue),ge=Ee(de),ye=Ee(pe),ve=Ee(fe);function be(e,t){var n=Te(e)||function(e){return function(e){return De(e)&&Ie(e)}(e)&&ee.call(e,"callee")&&(!ae.call(e,"callee")||te.call(e)==l)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var a in e)!t&&!ee.call(e,a)||i&&("length"==a||Ce(a,r))||n.push(a);return n}function _e(t){if(!Oe(t)||function(e){return!!Z&&Z in e}(t))return!1;var n=Re(t)||function(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(e){}return n}(t)?ne:b;return n.test(Ee(t))}function we(e){if(!function(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||$;return e===n}(e))return se(e);var t=[];for(var n in Object(e))ee.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ke(e,t){return e+oe(le()*(t-e+1))}function Se(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return _e(n)?n:void 0}var xe=function(e){return te.call(e)};function Ce(e,t){return!!(t=null==t?a:t)&&("number"==typeof e||w.test(e))&&e>-1&&e%1==0&&e<t}function Ee(t){if(null!=t){try{return Q.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Ae(e,t,n){var r,a,l,u=-1,h=function(e){if(!e)return[];if(Ie(e))return function(e){return"string"==typeof e||!Te(e)&&De(e)&&te.call(e)==p}(e)?X(e):function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(e);if(ie&&e[ie])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[ie]());var t=xe(e),n=t==c?Y:t==d?U:Ne;return n(e)}(e),m=h.length,b=m-1;for((n?function(e,t,n){if(!Oe(n))return!1;var r=typeof t;return!!("number"==r?Ie(n)&&Ce(t,n.length):"string"==r&&t in n)&&function(e,t){return e===t||e!==e&&t!==t}(n[t],e)}(e,t,n):void 0===t)?t=1:(r=function(e){var t=function(e){return e?(e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||De(e)&&te.call(e)==f}(e))return s;if(Oe(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Oe(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(g,"");var n=v.test(e);return n||_.test(e)?L(e.slice(2),n?2:8):y.test(e)?s:+e}(e))===i||e===-1/0?(e<0?-1:1)*o:e===e?e:0:0===e?e:0}(e),n=t%1;return t===t?n?t-n:t:0}(t),a=0,l=m,r===r&&(void 0!==l&&(r=r<=l?r:l),void 0!==a&&(r=r>=a?r:a)),t=r);++u<t;){var w=ke(u,b),k=h[w];h[w]=h[u],h[u]=k}return h.length=t,h}(ce&&xe(new ce(new ArrayBuffer(1)))!=m||ue&&xe(new ue)!=c||de&&xe(de.resolve())!=u||pe&&xe(new pe)!=d||fe&&xe(new fe)!=h)&&(xe=function(e){var t=te.call(e),n="[object Object]"==t?e.constructor:void 0,r=n?Ee(n):void 0;if(r)switch(r){case he:return m;case me:return c;case ge:return u;case ye:return d;case ve:return h}return t});var Te=Array.isArray;function Ie(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}(e.length)&&!Re(e)}function Re(e){var t=Oe(e)?te.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function Oe(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function De(e){return!!e&&"object"==typeof e}function Ne(e){return e?z(e,function(e){return Ie(e)?be(e):we(e)}(e)):[]}t.exports=function(e){return Ae(e,4294967295)}},47023(e,t,n){var r="Expected a function",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,u="object"==typeof self&&self&&self.Object===Object&&self,d=c||u||Function("return this")(),p=Object.prototype.toString,f=Math.max,h=Math.min,m=function(){return d.Date.now()};function g(e,t,n){var i,a,o,s,l,c,u=0,d=!1,p=!1,g=!0;if("function"!=typeof e)throw new TypeError(r);function b(t){var n=i,r=a;return i=a=void 0,u=t,s=e.apply(r,n)}function _(e){var n=e-c;return void 0===c||n>=t||n<0||p&&e-u>=o}function w(){var e=m();if(_(e))return k(e);l=setTimeout(w,function(e){var n=t-(e-c);return p?h(n,o-(e-u)):n}(e))}function k(e){return l=void 0,g&&i?b(e):(i=a=void 0,s)}function S(){var e=m(),n=_(e);if(i=arguments,a=this,c=e,n){if(void 0===l)return function(e){return u=e,l=setTimeout(w,t),d?b(e):s}(c);if(p)return l=setTimeout(w,t),b(c)}return void 0===l&&(l=setTimeout(w,t)),s}return t=v(t)||0,y(n)&&(d=!!n.leading,o=(p="maxWait"in n)?f(v(n.maxWait)||0,t):o,g="trailing"in n?!!n.trailing:g),S.cancel=function(){void 0!==l&&clearTimeout(l),u=0,i=c=a=l=void 0},S.flush=function(){return void 0===l?s:k(m())},S}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==p.call(e)}(e))return NaN;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=o.test(e);return n||s.test(e)?l(e.slice(2),n?2:8):a.test(e)?NaN:+e}e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError(r);return y(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),g(e,t,{leading:i,maxWait:t,trailing:a})}},5739(e,t,n){"use strict";var r=n(68144).match,i="undefined"!==typeof window?window.matchMedia:null;function a(e,t,n){var a,o=this;function s(e){o.matches=e.matches,o.media=e.media}i&&!n&&(a=i.call(window,e)),a?(this.matches=a.matches,this.media=a.media,a.addListener(s)):(this.matches=r(e,t),this.media=e),this.addListener=function(e){a&&a.addListener(e)},this.removeListener=function(e){a&&a.removeListener(e)},this.dispose=function(){a&&a.removeListener(s)}}e.exports=function(e,t,n){return new a(e,t,n)}},92239(e){"use strict";e.exports=Math.abs},91174(e){"use strict";e.exports=Number.MAX_SAFE_INTEGER||9007199254740991},12401(e){"use strict";e.exports=Math.floor},61172(e,t,n){"use strict";var r=n(59190);e.exports=function(e){return("number"===typeof e||"bigint"===typeof e)&&!r(e)&&e!==1/0&&e!==-1/0}},59190(e){"use strict";e.exports=Number.isNaN||function(e){return e!==e}},641(e){"use strict";e.exports=Math.max},12115(e){"use strict";e.exports=Math.min},40905(e){"use strict";e.exports=Math.pow},23239(e){"use strict";e.exports=Math.round},26994(e,t,n){"use strict";var r=n(59190);e.exports=function(e){return r(e)||0===e?e:e<0?-1:1}}
2,32465(e,t,n){"use strict";const r=n(41308),{hasOwnProperty:i}=Object.prototype,{propertyIsEnumerable:a}=Object,o=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0}),s=this,l={concatArrays:!1,ignoreUndefined:!1},c=e=>{const t=[];for(const n in e)i.call(e,n)&&t.push(n);if(Object.getOwnPropertySymbols){const n=Object.getOwnPropertySymbols(e);for(const r of n)a.call(e,r)&&t.push(r)}return t};function u(e){return Array.isArray(e)?function(e){const t=e.slice(0,0);return c(e).forEach(n=>{o(t,n,u(e[n]))}),t}(e):r(e)?function(e){const t=null===Object.getPrototypeOf(e)?Object.create(null):{};return c(e).forEach(n=>{o(t,n,u(e[n]))}),t}(e):e}const d=(e,t,n,r)=>(n.forEach(n=>{"undefined"===typeof t[n]&&r.ignoreUndefined||(n in e&&e[n]!==Object.getPrototypeOf(e)?o(e,n,p(e[n],t[n],r)):o(e,n,u(t[n])))}),e);function p(e,t,n){return n.concatArrays&&Array.isArray(e)&&Array.isArray(t)?((e,t,n)=>{let r=e.slice(0,0),a=0;return[e,t].forEach(t=>{const s=[];for(let n=0;n<t.length;n++)i.call(t,n)&&(s.push(String(n)),o(r,a++,t===e?t[n]:u(t[n])));r=d(r,t,c(t).filter(e=>!s.includes(e)),n)}),r}
2)(e,t,n):r(t)&&r(e)?d(e,t,c(t),n):u(t)}e.exports=function(...e){const t=p(u(l),this!==s&&this||{},l);let n={_:{}};for(const i of e)if(void 0!==i){if(!r(i))throw new TypeError("`"+i+"` is not an Option Object");n=p(n,{_:i},t)}return n._}},41308(e){"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},26076(e){"use strict";function t(e,t){if(null!=e)return e;var n=new Error(void 0!==t?t:"Got unexpected "+e);throw n.framesToPop=1,n}e.exports=t,e.exports.default=t,Object.defineProperty(e.exports,"__esModule",{value:!0})},96052(t,n,r){var i="function"===typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=i&&a&&"function"===typeof a.get?a.get:null,s=i&&Map.prototype.forEach,l="function"===typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=l&&c&&"function"===typeof c.get?c.get:null,d=l&&Set.prototype.forEach,p="function"===typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"===typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"===typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,g=Object.prototype.toString,y=Function.prototype.toString,v=String.prototype.match,b=String.prototype.slice,_=String.prototype.replace,w=String.prototype.toUpperCase,k=String.prototype.toLowerCase,S=RegExp.prototype.test,x=Array.prototype.concat,C=Array.prototype.join,E=Array.prototype.slice,A=Math.floor,T="function"===typeof BigInt?BigInt.prototype.valueOf:null,I=Object.getOwnPropertySymbols,R="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,O="function"===typeof Symbol&&"object"===typeof Symbol.iterator,D="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===O||"symbol")?Symbol.toStringTag:null,N=Object.prototype.propertyIsEnumerable,j=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function F(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var r=e<0?-A(-e):A(e);if(r!==e){var i=String(r),a=b.call(t,i.length+1);return _.call(i,n,"$&_")+"."+_.call(_.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(t,n,"$&_")}var M=r(42634),V=M.custom,P=X(V)?V:null,L={__proto__:null,double:'"',single:"'"},B={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function H(e,t,n){var r=n.quoteStyle||t,i=L[r];return i+e+i}function W(e){return _.call(String(e),/"/g,"&quot;")}function z(e){return!D||!("object"===typeof e&&(D in e||"undefined"!==typeof e[D]))}function Y(e){return"[object Array]"===J(e)&&z(e)}function U(e){return"[object RegExp]"===J(e)&&z(e)}function X(t){if(O)return t&&"object"===typeof t&&t instanceof Symbol;if("symbol"===typeof t)return!0;if(!t||"object"!==typeof t||!R)return!1;try{return R.call(t),!0}catch(e){}return!1}t.exports=function t(n,i,a,l){var c=i||{};if(q(c,"quoteStyle")&&!q(L,c.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(q(c,"maxStringLength")&&("number"===typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var g=!q(c,"customInspect")||c.customInspect;if("boolean"!==typeof g&&"symbol"!==g)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(q(c,"numericSeparator")&&"boolean"!==typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=c.numericSeparator;if("undefined"===typeof n)return"undefined";if(null===n)return"null";if("boolean"===typeof n)return n?"true":"false";if("string"===typeof n)return K(n,c);if("number"===typeof n){if(0===n)return 1/0/n>0?"0":"-0";var S=String(n);return w?F(n,S):S}if("bigint"===typeof n){var A=String(n)+"n";return w?F(n,A):A}var I="undefined"===typeof c.depth?5:c.depth;if("undefined"===typeof a&&(a=0),a>=I&&I>0&&"object"===typeof n)return Y(n)?"[Array]":"[Object]";var V=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=C.call(Array(e.indent+1)," ")}return{base:n,prev:C.call(Array(t+1),n)}}(c,a);if("undefined"===typeof l)l=[];else if($(l,n)>=0)return"[Circular]";function B(e,n,r){if(n&&(l=E.call(l)).push(n),r){var i={depth:c.depth};return q(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,a+1,l)}return t(e,c,a+1,l)}if("function"===typeof n&&!U(n)){var G=function(e){if(e.name)return e.name;var t=v.call(y.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(n),Z=re(n,B);return"[Function"+(G?": "+G:" (anonymous)")+"]"+(Z.length>0?" { "+C.call(Z,", ")+" }":"")}if(X(n)){var ie=O?_.call(String(n),/^(Symbol\(.*\))_[^)]*$/,"$1"):R.call(n);return"object"!==typeof n||O?ie:Q(ie)}if(function(e){if(!e||"object"!==typeof e)return!1;if("undefined"!==typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"===typeof e.nodeName&&"function"===typeof e.getAttribute}(n)){for(var ae="<"+k.call(String(n.nodeName)),oe=n.attributes||[],se=0;se<oe.length;se++)ae+=" "+oe[se].name+"="+H(W(oe[se].value),"double",c);return ae+=">",n.childNodes&&n.childNodes.length&&(ae+="..."),ae+="</"+k.call(String(n.nodeName))+">"}if(Y(n)){if(0===n.length)return"[]";var le=re(n,B);return V&&!function(e){for(var t=0;t<e.length;t++)if($(e[t],"\n")>=0)return!1;return!0}(le)?"["+ne(le,V)+"]":"[ "+C.call(le,", ")+" ]"}if(function(e){return"[object Error]"===J(e)&&z(e)}(n)){var ce=re(n,B);return"cause"in Error.prototype||!("cause"in n)||N.call(n,"cause")?0===ce.length?"["+String(n)+"]":"{ ["+String(n)+"] "+C.call(ce,", ")+" }":"{ ["+String(n)+"] "+C.call(x.call("[cause]: "+B(n.cause),ce),", ")+" }"}if("object"===typeof n&&g){if(P&&"function"===typeof n[P]&&M)return M(n,{depth:I-a});if("symbol"!==g&&"function"===typeof n.inspect)return n.inspect()}if(function(t){if(!o||!t||"object"!==typeof t)return!1;try{o.call(t);try{u.call(t)}catch(ae){return!0}return t instanceof Map}catch(e){}return!1}(n)){var ue=[];return s&&s.call(n,function(e,t){ue.push(B(t,n,!0)+" => "+B(e,n))}),te("Map",o.call(n),ue,V)}if(function(t){if(!u||!t||"object"!==typeof t)return!1;try{u.call(t);try{o.call(t)}catch(n){return!0}return t instanceof Set}catch(e){}return!1}(n)){var de=[];return d&&d.call(n,function(e){de.push(B(e,n))}),te("Set",u.call(n),de,V)}if(function(t){if(!p||!t||"object"!==typeof t)return!1;try{p.call(t,p);try{f.call(t,f)}catch(ae){return!0}return t instanceof WeakMap}catch(e){}return!1}(n))return ee("WeakMap");if(function(t){if(!f||!t||"object"!==typeof t)return!1;try{f.call(t,f);try{p.call(t,p)}catch(ae){return!0}return t instanceof WeakSet}catch(e){}return!1}(n))return ee("WeakSet");if(function(t){if(!h||!t||"object"!==typeof t)return!1;try{return h.call(t),!0}catch(e){}return!1}(n))return ee("WeakRef");if(function(e){return"[object Number]"===J(e)&&z(e)}(n))return Q(B(Number(n)));if(function(t){if(!t||"object"!==typeof t||!T)return!1;try{return T.call(t),!0}catch(e){}return!1}(n))return Q(B(T.call(n)));if(function(e){return"[object Boolean]"===J(e)&&z(e)}(n))return Q(m.call(n));if(function(e){return"[object String]"===J(e)&&z(e)}(n))return Q(B(String(n)));if("undefined"!==typeof window&&n===window)return"{ [object Window] }";if("undefined"!==typeof globalThis&&n===globalThis||"undefined"!==typeof r.g&&n===r.g)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===J(e)&&z(e)}(n)&&!U(n)){var pe=re(n,B),fe=j?j(n)===Object.prototype:n instanceof Object||n.constructor===Object,he=n instanceof Object?"":"null prototype",me=!fe&&D&&Object(n)===n&&D in n?b.call(J(n),8,-1):he?"Object":"",ge=(fe||"function"!==typeof n.constructor?"":n.constructor.name?n.constructor.name+" ":"")+(me||he?"["+C.call(x.call([],me||[],he||[]),": ")+"] ":"");return 0===pe.length?ge+"{}":V?ge+"{"+ne(pe,V)+"}":ge+"{ "+C.call(pe,", ")+" }"}return String(n)};var G=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return G.call(e,t)}function J(e){return g.call(e)}function $(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function K(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return K(b.call(e,0,t.maxStringLength),t)+r}var i=B[t.quoteStyle||"single"];return i.lastIndex=0,H(_.call(_.call(e,i,"\\$1"),/[\x00-\x1f]/g,Z),"single",t)}function Z(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function Q(e){return"Object("+e+")"}function ee(e){return e+" { ? }"}function te(e,t,n,r){return e+" ("+t+") {"+(r?ne(n,r):C.call(n,", "))+"}"}function ne(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+C.call(e,","+n)+"\n"+t.prev}function re(e,t){var n=Y(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=q(e,i)?t(e[i],e):""}var a,o="function"===typeof I?I(e):[];if(O){a={};for(var s=0;s<o.length;s++)a["$"+o[s]]=o[s]}for(var l in e)q(e,l)&&(n&&String(Number(l))===l&&l<e.length||O&&a["$"+l]instanceof Symbol||(S.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"===typeof I)for(var c=0;c<o.length;c++)N.call(e,o[c])&&r.push("["+t(o[c])+"]: "+t(e[o[c]],e));return r}},18288(t,n,r){"use strict";var i;if(!Object.keys){var a=Object.prototype.hasOwnProperty,o=Object.prototype.toString,s=r(41432),l=Object.prototype.propertyIsEnumerable,c=!l.call({toString:null},"toString"),u=l.call(function(){}
2,"prototype"),d=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],p=function(e){var t=e.constructor;return t&&t.prototype===e},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"===typeof window)return!1;for(var t in window)try{if(!f["$"+t]&&a.call(window,t)&&null!==window[t]&&"object"===typeof window[t])try{p(window[t])}catch(e){return!0}}catch(e){return!0}return!1}();i=function(t){var n=null!==t&&"object"===typeof t,r="[object Function]"===o.call(t),i=s(t),l=n&&"[object String]"===o.call(t),f=[];if(!n&&!r&&!i)throw new TypeError("Object.keys called on a non-object");var m=u&&r;if(l&&t.length>0&&!a.call(t,0))for(var g=0;g<t.length;++g)f.push(String(g));if(i&&t.length>0)for(var y=0;y<t.length;++y)f.push(String(y));else for(var v in t)m&&"prototype"===v||!a.call(t,v)||f.push(String(v));if(c)for(var b=function(t){if("undefined"===typeof window||!h)return p(t);try{return p(t)}catch(e){return!1}}(t),_=0;_<d.length;++_)b&&"constructor"===d[_]||!a.call(t,d[_])||f.push(d[_]);return f}}t.exports=i},3276(e,t,n){"use strict";var r=Array.prototype.slice,i=n(41432),a=Object.keys,o=a?function(e){return a(e)}:n(18288),s=Object.keys;o.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return i(e)?s(r.call(e)):s(e)})}else Object.keys=o;return Object.keys||o},e.exports=o},41432(e){"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},38194(e){"use strict";function t(){}var n=null,r={};function i(e){if("object"!==typeof this)throw new TypeError("Promises must be constructed via new");if("function"!==typeof e)throw new TypeError("Promise constructor's argument is not a function");this._x=0,this._y=0,this._z=null,this._A=null,e!==t&&u(e,this)}function a(e,t){for(;3===e._y;)e=e._z;if(i._B&&i._B(e),0===e._y)return 0===e._x?(e._x=1,void(e._A=t)):1===e._x?(e._x=2,void(e._A=[e._A,t])):void e._A.push(t);!function(e,t){setImmediate(function(){var i=1===e._y?t.onFulfilled:t.onRejected;if(null!==i){var a=function(e,t){try{return e(t)}catch(i){return n=i,r}}(i,e._z);a===r?s(t.promise,n):o(t.promise,a)}else 1===e._y?o(t.promise,e._z):s(t.promise,e._z)})}(e,t)}function o(e,t){if(t===e)return s(e,new TypeError("A promise cannot be resolved with itself."));if(t&&("object"===typeof t||"function"===typeof t)){var a=function(e){try{return e.then}catch(t){return n=t,r}}(t);if(a===r)return s(e,n);if(a===e.then&&t instanceof i)return e._y=3,e._z=t,void l(e);if("function"===typeof a)return void u(a.bind(t),e)}e._y=1,e._z=t,l(e)}function s(e,t){e._y=2,e._z=t,i._C&&i._C(e,t),l(e)}function l(e){if(1===e._x&&(a(e,e._A),e._A=null),2===e._x){for(var t=0;t<e._A.length;t++)a(e,e._A[t]);e._A=null}}function c(e,t,n){this.onFulfilled="function"===typeof e?e:null,this.onRejected="function"===typeof t?t:null,this.promise=n}function u(e,t){var i=!1,a=function(e,t,i){try{e(t,i)}catch(a){return n=a,r}}(e,function(e){i||(i=!0,o(t,e))},function(e){i||(i=!0,s(t,e))});i||a!==r||(i=!0,s(t,n))}e.exports=i,i._B=null,i._C=null,i._D=t,i.prototype.then=function(e,n){if(this.constructor!==i)return function(e,n,r){return new e.constructor(function(o,s){var l=new i(t);l.then(o,s),a(e,new c(n,r,l))})}(this,e,n);var r=new i(t);return a(this,new c(e,n,r)),r}},94153(e,t,n){"use strict";var r=n(38194);e.exports=r,r.prototype.done=function(e,t){(arguments.length?this.then.apply(this,arguments):this).then(null,function(e){setTimeout(function(){throw e},0)})}},49522(e,t,n){"use strict";var r=n(38194);e.exports=r;var i=u(!0),a=u(!1),o=u(null),s=u(void 0),l=u(0),c=u("");function u(e){var t=new r(r._D);return t._y=1,t._z=e,t}r.resolve=function(e){if(e instanceof r)return e;if(null===e)return o;if(void 0===e)return s;if(!0===e)return i;if(!1===e)return a;
2if(0===e)return l;if(""===e)return c;if("object"===typeof e||"function"===typeof e)try{var t=e.then;if("function"===typeof t)return new r(t.bind(e))}catch(n){return new r(function(e,t){t(n)})}return u(e)};var d=function(e){return"function"===typeof Array.from?(d=Array.from,Array.from(e)):(d=function(e){return Array.prototype.slice.call(e)},Array.prototype.slice.call(e))};function p(e){return{status:"fulfilled",value:e}}function f(e){return{status:"rejected",reason:e}}function h(e){if(e&&("object"===typeof e||"function"===typeof e)){if(e instanceof r&&e.then===r.prototype.then)return e.then(p,f);var t=e.then;if("function"===typeof t)return new r(t.bind(e)).then(p,f)}return p(e)}function m(e){if("function"===typeof AggregateError)return new AggregateError(e,"All promises were rejected");var t=new Error("All promises were rejected");return t.name="AggregateError",t.errors=e,t}r.all=function(e){var t=d(e);return new r(function(e,n){if(0===t.length)return e([]);var i=t.length;function a(o,s){if(s&&("object"===typeof s||"function"===typeof s)){if(s instanceof r&&s.then===r.prototype.then){for(;3===s._y;)s=s._z;return 1===s._y?a(o,s._z):(2===s._y&&n(s._z),void s.then(function(e){a(o,e)},n))}var l=s.then;if("function"===typeof l)return void new r(l.bind(s)).then(function(e){a(o,e)},n)}t[o]=s,0===--i&&e(t)}for(var o=0;o<t.length;o++)a(o,t[o])})},r.allSettled=function(e){return r.all(d(e).map(h))},r.reject=function(e){return new r(function(t,n){n(e)})},r.race=function(e){return new r(function(t,n){d(e).forEach(function(e){r.resolve(e).then(t,n)})})},r.prototype.catch=function(e){return this.then(null,e)},r.any=function(e){return new r(function(t,n){var i=d(e),a=!1,o=[];function s(e){a||(a=!0,t(e))}function l(e){o.push(e),o.length===i.length&&n(m(o))}0===i.length?n(m(o)):i.forEach(function(e){r.resolve(e).then(s,l)})})}},91482(e,t,n){"use strict";var r=n(38194);e.exports=r,r.prototype.finally=function(e){return this.then(function(t){return r.resolve(e()).then(function(){return t})},function(t){return r.resolve(e()).then(function(){throw t})})}},84962(e,t,n){"use strict";var r=n(38194),i=[ReferenceError,TypeError,RangeError],a=!1;function o(){a=!1,r._B=null,r._C=null}function s(e,t){return t.some(function(t){return e instanceof t})}t.disable=o,t.enable=function(e){e=e||{},a&&o();a=!0;var t=0,n=0,l={};function c(t){(e.allRejections||s(l[t].error,e.whitelist||i))&&(l[t].displayId=n++,e.onUnhandled?(l[t].logged=!0,e.onUnhandled(l[t].displayId,l[t].error)):(l[t].logged=!0,function(e,t){console.warn("Possible Unhandled Promise Rejection (id: "+e+"):"),((t&&(t.stack||t))+"").split("\n").forEach(function(e){console.warn("  "+e)})}(l[t].displayId,l[t].error)))}r._B=function(t){2===t._y&&l[t._E]&&(l[t._E].logged?function(t){l[t].logged&&(e.onHandled?e.onHandled(l[t].displayId,l[t].error):l[t].onUnhandled||(console.warn("Promise Rejection Handled (id: "+l[t].displayId+"):"),console.warn('  This means you can ignore any previous messages of the form "Possible Unhandled Promise Rejection" with id '+l[t].displayId+".")))}(t._E):clearTimeout(l[t._E].timeout),delete l[t._E])},r._C=function(e,n){0===e._x&&(e._E=t++,l[e._E]={displayId:null,error:n,timeout:setTimeout(c.bind(null,e._E),s(n,i)?100:2e3),logged:!1})}}},82535(e,t,n){"use strict";var r=n(43632);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,a,o){if(o!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i}
2;return n.PropTypes=n,n}},94075(e,t,n){e.exports=n(82535)()},43632(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},77277(e,t,n){"use strict";var r=n(95082),i={};i.rules=n(12069).map(function(e){return{rule:e,suffix:e.replace(/^(\*\.|\!)/,""),punySuffix:-1,wildcard:"*"===e.charAt(0),exception:"!"===e.charAt(0)}}),i.endsWith=function(e,t){return-1!==e.indexOf(t,e.length-t.length)},i.findRule=function(e){var t=r.toASCII(e);return i.rules.reduce(function(e,n){return-1===n.punySuffix&&(n.punySuffix=r.toASCII(n.suffix)),i.endsWith(t,"."+n.punySuffix)||t===n.punySuffix?n:e},null)},t.errorCodes={DOMAIN_TOO_SHORT:"Domain name too short.",DOMAIN_TOO_LONG:"Domain name too long. It should be no more than 255 chars.",LABEL_STARTS_WITH_DASH:"Domain name label can not start with a dash.",LABEL_ENDS_WITH_DASH:"Domain name label can not end with a dash.",LABEL_TOO_LONG:"Domain name label should be at most 63 chars long.",LABEL_TOO_SHORT:"Domain name label should be at least 1 character long.",LABEL_INVALID_CHARS:"Domain name label can only contain alphanumeric characters or dashes."},i.validate=function(e){var t=r.toASCII(e);if(t.length<1)return"DOMAIN_TOO_SHORT";if(t.length>255)return"DOMAIN_TOO_LONG";for(var n,i=t.split("."),a=0;a<i.length;++a){if(!(n=i[a]).length)return"LABEL_TOO_SHORT";if(n.length>63)return"LABEL_TOO_LONG";if("-"===n.charAt(0))return"LABEL_STARTS_WITH_DASH";if("-"===n.charAt(n.length-1))return"LABEL_ENDS_WITH_DASH";if(!/^[a-z0-9\-]+$/.test(n))return"LABEL_INVALID_CHARS"}},t.parse=function(e){if("string"!==typeof e)throw new TypeError("Domain name must be a string.");var n=e.slice(0).toLowerCase();"."===n.charAt(n.length-1)&&(n=n.slice(0,n.length-1));var a=i.validate(n);if(a)return{input:e,error:{message:t.errorCodes[a],code:a}};var o={input:e,tld:null,sld:null,domain:null,subdomain:null,listed:!1},s=n.split(".");if("local"===s[s.length-1])return o;var l=function(){return/xn--/.test(n)?(o.domain&&(o.domain=r.toASCII(o.domain)),o.subdomain&&(o.subdomain=r.toASCII(o.subdomain)),o):o},c=i.findRule(n);if(!c)return s.length<2?o:(o.tld=s.pop(),o.sld=s.pop(),o.domain=[o.sld,o.tld].join("."),s.length&&(o.subdomain=s.pop()),l());o.listed=!0;var u=c.suffix.split("."),d=s.slice(0,s.length-u.length);return c.exception&&d.push(u.shift()),o.tld=u.join("."),d.length?(c.wildcard&&(u.unshift(d.pop()),o.tld=u.join(".")),d.length?(o.sld=d.pop(),o.domain=[o.sld,o.tld].join("."),d.length&&(o.subdomain=d.join(".")),l()):l()):l()},t.get=function(e){return e&&t.parse(e).domain||null},t.isValid=function(e){var n=t.parse(e);return Boolean(n.domain&&n.listed)}},95082(e,t,n){"use strict";n.r(t),n.d(t,{decode:()=>v,default:()=>k,encode:()=>b,toASCII:()=>w,toUnicode:()=>_,ucs2decode:()=>f,ucs2encode:()=>h});const r=2147483647,i=36,a=/^xn--/,o=/[^\0-\x7F]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,u=String.fromCharCode;function d(e){throw new RangeError(l[e])}function p(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const i=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(s,".")).split("."),t).join(".");return r+i}function f(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}const h=e=>String.fromCodePoint(...e),m=function(e){return e>=48&&e<58?e-48+26:e>=65&&e<91?e-65:e>=97&&e<123?e-97:i},g=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},y=function(e,t,n){let r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;r+=i)e=c(e/35);return c(r+36*e/(e+38))},v=function(e){const t=[],n=e.length;let a=0,o=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let r=0;r<l;++r)e.charCodeAt(r)>=128&&d("not-basic"),t.push(e.charCodeAt(r));for(let u=l>0?l+1:0;u<n;){const l=a;for(let t=1,o=i;;o+=i){u>=n&&d("invalid-input");const l=m(e.charCodeAt(u++));l>=i&&d("invalid-input"),l>
2c((r-a)/t)&&d("overflow"),a+=l*t;const p=o<=s?1:o>=s+26?26:o-s;if(l<p)break;const f=i-p;t>c(r/f)&&d("overflow"),t*=f}const p=t.length+1;s=y(a-l,p,0==l),c(a/p)>r-o&&d("overflow"),o+=c(a/p),a%=p,t.splice(a++,0,o)}return String.fromCodePoint(...t)},b=function(e){const t=[],n=(e=f(e)).length;let a=128,o=0,s=72;for(const r of e)r<128&&t.push(u(r));const l=t.length;let p=l;for(l&&t.push("-");p<n;){let n=r;for(const t of e)t>=a&&t<n&&(n=t);const f=p+1;n-a>c((r-o)/f)&&d("overflow"),o+=(n-a)*f,a=n;for(const h of e)if(h<a&&++o>r&&d("overflow"),h===a){let e=o;for(let n=i;;n+=i){const r=n<=s?1:n>=s+26?26:n-s;if(e<r)break;const a=e-r,o=i-r;t.push(u(g(r+a%o,0))),e=c(a/o)}t.push(u(g(e,0))),s=y(o,f,p===l),o=0,++p}++o,++a}return t.join("")},_=function(e){return p(e,function(e){return a.test(e)?v(e.slice(4).toLowerCase()):e})},w=function(e){return p(e,function(e){return o.test(e)?"xn--"+b(e):e})},k={version:"2.3.1",ucs2:{decode:f,encode:h},decode:v,encode:b,toASCII:w,toUnicode:_}},78580(t,n,r){const i=r(31586),a=r(30754),o=r(12892),s=r(14481);function l(t,n,r,o,s){const l=[].slice.call(arguments,1),c=l.length,u="function"===typeof l[c-1];if(!u&&!i())throw new Error("Callback required as last argument");if(!u){if(c<1)throw new Error("Too few arguments provided");return 1===c?(r=n,n=o=void 0):2!==c||n.getContext||(o=r,r=n,n=void 0),new Promise(function(i,s){try{const e=a.create(r,o);i(t(e,n,o))}catch(e){s(e)}})}if(c<2)throw new Error("Too few arguments provided");2===c?(s=r,r=n,n=o=void 0):3===c&&(n.getContext&&"undefined"===typeof s?(s=o,o=void 0):(s=o,o=r,r=n,n=void 0));try{const e=a.create(r,o);s(null,t(e,n,o))}catch(e){s(e)}}n.create=a.create,n.toCanvas=l.bind(null,o.render),n.toDataURL=l.bind(null,o.renderToDataURL),n.toString=l.bind(null,function(e,t,n){return s.render(e,n)})},31586(e){e.exports=function(){return"function"===typeof Promise&&Promise.prototype&&Promise.prototype.then}},29408(e,t,n){const r=n(46779).getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];const t=Math.floor(e/7)+2,n=r(e),i=145===n?26:2*Math.ceil((n-13)/(2*t-2)),a=[n-7];for(let r=1;r<t-1;r++)a[r]=a[r-1]-i;return a.push(6),a.reverse()},t.getPositions=function(e){const n=[],r=t.getRowColCoords(e),i=r.length;for(let t=0;t<i;t++)for(let e=0;e<i;e++)0===t&&0===e||0===t&&e===i-1||t===i-1&&0===e||n.push([r[t],r[e]]);return n}},8404(e,t,n){const r=n(83691),i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function a(e){this.mode=r.ALPHANUMERIC,this.data=e}a.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},a.prototype.getLength=function(){return this.data.length},a.prototype.getBitsLength=function(){return a.getBitsLength(this.data.length)},a.prototype.write=function(e){let t;for(t=0;t+2<=this.data.length;t+=2){let n=45*i.indexOf(this.data[t]);n+=i.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(i.indexOf(this.data[t]),6)},e.exports=a},34404(e){function t(){this.buffer=[],this.length=0}t.prototype={get:function(e){const t=Math.floor(e/8);return 1===(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(let n=0;n<t;n++)this.putBit(1===(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},83863(e){function t(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}t.prototype.set=function(e,t,n,r){const i=e*this.size+t;this.data[i]=n,r&&(this.reservedBit[i]=!0)},t.prototype.get=function(e,t){return this.data[e*this.size+t]},t.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},t.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=t},86075(e,t,n){const r=n(83691);function i(e){this.mode=r.BYTE,this.data="string"===typeof e?(new TextEncoder).encode(e):new Uint8Array(e)}i.getBitsLength=function(e){return 8*e},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)},e.exports=i},17879(e,t,n){const r=n(78074),i=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],a=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,
2192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case r.L:return i[4*(e-1)+0];case r.M:return i[4*(e-1)+1];case r.Q:return i[4*(e-1)+2];case r.H:return i[4*(e-1)+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case r.L:return a[4*(e-1)+0];case r.M:return a[4*(e-1)+1];case r.Q:return a[4*(e-1)+2];case r.H:return a[4*(e-1)+3];default:return}}},78074(t,n){n.L={bit:1},n.M={bit:0},n.Q={bit:3},n.H={bit:2},n.isValid=function(e){return e&&"undefined"!==typeof e.bit&&e.bit>=0&&e.bit<4},n.from=function(t,r){if(n.isValid(t))return t;try{return function(e){if("string"!==typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return n.L;case"m":case"medium":return n.M;case"q":case"quartile":return n.Q;case"h":case"high":return n.H;default:throw new Error("Unknown EC Level: "+e)}}(t)}catch(e){return r}}},80691(e,t,n){const r=n(46779).getSymbolSize;t.getPositions=function(e){const t=r(e);return[[0,0],[t-7,0],[0,t-7]]}},32052(e,t,n){const r=n(46779),i=r.getBCHDigit(1335);t.getEncodedBits=function(e,t){const n=e.bit<<3|t;let a=n<<10;for(;r.getBCHDigit(a)-i>=0;)a^=1335<<r.getBCHDigit(a)-i;return 21522^(n<<10|a)}},55776(e,t){const n=new Uint8Array(512),r=new Uint8Array(256);!function(){let e=1;for(let t=0;t<255;t++)n[t]=e,r[e]=t,e<<=1,256&e&&(e^=285);for(let t=255;t<512;t++)n[t]=n[t-255]}(),t.log=function(e){if(e<1)throw new Error("log("+e+")");return r[e]},t.exp=function(e){return n[e]},t.mul=function(e,t){return 0===e||0===t?0:n[r[e]+r[t]]}},75062(e,t,n){const r=n(83691),i=n(46779);function a(e){this.mode=r.KANJI,this.data=e}a.getBitsLength=function(e){return 13*e},a.prototype.getLength=function(){return this.data.length},a.prototype.getBitsLength=function(){return a.getBitsLength(this.data.length)},a.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=i.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),e.put(n,13)}},e.exports=a},30075(e,t){t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const n=3,r=3,i=40,a=10;function o(e,n,r){switch(e){case t.Patterns.PATTERN000:return(n+r)%2===0;case t.Patterns.PATTERN001:return n%2===0;case t.Patterns.PATTERN010:return r%3===0;case t.Patterns.PATTERN011:return(n+r)%3===0;case t.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2===0;case t.Patterns.PATTERN101:return n*r%2+n*r%3===0;case t.Patterns.PATTERN110:return(n*r%2+n*r%3)%2===0;case t.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2===0;default:throw new Error("bad maskPattern:"+e)}}t.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){const t=e.size;let r=0,i=0,a=0,o=null,s=null;for(let l=0;l<t;l++){i=a=0,o=s=null;for(let c=0;c<t;c++){let t=e.get(l,c);t===o?i++:(i>=5&&(r+=n+(i-5)),o=t,i=1),t=e.get(c,l),t===s?a++:(a>=5&&(r+=n+(a-5)),s=t,a=1)}i>=5&&(r+=n+(i-5)),a>=5&&(r+=n+(a-5))}return r},t.getPenaltyN2=function(e){const t=e.size;let n=0;for(let r=0;r<t-1;r++)for(let i=0;i<t-1;i++){const t=e.get(r,i)+e.get(r,i+1)+e.get(r+1,i)+e.get(r+1,i+1);4!==t&&0!==t||n++}return n*r},t.getPenaltyN3=function(e){const t=e.size;let n=0,r=0,a=0;for(let i=0;i<t;i++){r=a=0;for(let o=0;o<t;o++)r=r<<1&2047|e.get(i,o),o>=10&&(1488===r||93===r)&&n++,a=a<<1&2047|e.get(o,i),o>=10&&(1488===a||93===a)&&n++}return n*i},t.getPenaltyN4=function(e){let t=0;const n=e.data.length;for(let r=0;r<n;r++)t+=e.data[r];return Math.abs(Math.ceil(100*t/n/5)-10)*a}
vendor: 13,742 bytes, line 2
2,t.applyMask=function(e,t){const n=t.size;for(let r=0;r<n;r++)for(let i=0;i<n;i++)t.isReserved(i,r)||t.xor(i,r,o(e,i,r))},t.getBestMask=function(e,n){const r=Object.keys(t.Patterns).length;let i=0,a=1/0;for(let o=0;o<r;o++){n(o),t.applyMask(o,e);const r=t.getPenaltyN1(e)+t.getPenaltyN2(e)+t.getPenaltyN3(e)+t.getPenaltyN4(e);t.applyMask(o,e),r<a&&(a=r,i=o)}return i}},83691(t,n,r){const i=r(17991),a=r(44621);n.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},n.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},n.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},n.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},n.MIXED={bit:-1},n.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!i.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},n.getBestModeForData=function(e){return a.testNumeric(e)?n.NUMERIC:a.testAlphanumeric(e)?n.ALPHANUMERIC:a.testKanji(e)?n.KANJI:n.BYTE},n.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},n.isValid=function(e){return e&&e.bit&&e.ccBits},n.from=function(t,r){if(n.isValid(t))return t;try{return function(e){if("string"!==typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return n.NUMERIC;case"alphanumeric":return n.ALPHANUMERIC;case"kanji":return n.KANJI;case"byte":return n.BYTE;default:throw new Error("Unknown mode: "+e)}}(t)}catch(e){return r}}},92722(e,t,n){const r=n(83691);function i(e){this.mode=r.NUMERIC,this.data=e.toString()}i.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t,n,r;for(t=0;t+3<=this.data.length;t+=3)n=this.data.substr(t,3),r=parseInt(n,10),e.put(r,10);const i=this.data.length-t;i>0&&(n=this.data.substr(t),r=parseInt(n,10),e.put(r,3*i+1))},e.exports=i},5318(e,t,n){const r=n(55776);t.mul=function(e,t){const n=new Uint8Array(e.length+t.length-1);for(let i=0;i<e.length;i++)for(let a=0;a<t.length;a++)n[i+a]^=r.mul(e[i],t[a]);return n},t.mod=function(e,t){let n=new Uint8Array(e);for(;n.length-t.length>=0;){const e=n[0];for(let a=0;a<t.length;a++)n[a]^=r.mul(t[a],e);let i=0;for(;i<n.length&&0===n[i];)i++;n=n.slice(i)}return n},t.generateECPolynomial=function(e){let n=new Uint8Array([1]);for(let i=0;i<e;i++)n=t.mul(n,new Uint8Array([1,r.exp(i)]));return n}},30754(e,t,n){const r=n(46779),i=n(78074),a=n(34404),o=n(83863),s=n(29408),l=n(80691),c=n(30075),u=n(17879),d=n(42595),p=n(75070),f=n(32052),h=n(83691),m=n(80998);function g(e,t,n){const r=e.size,i=f.getEncodedBits(t,n);let a,o;for(a=0;a<15;a++)o=1===(i>>a&1),a<6?e.set(a,8,o,!0):a<8?e.set(a+1,8,o,!0):e.set(r-15+a,8,o,!0),a<8?e.set(8,r-a-1,o,!0):a<9?e.set(8,15-a-1+1,o,!0):e.set(8,15-a-1,o,!0);e.set(r-8,8,1,!0)}function y(e,t,n){const i=new a;n.forEach(function(t){i.put(t.mode.bit,4),i.put(t.getLength(),h.getCharCountIndicator(t.mode,e)),t.write(i)});const o=8*(r.getSymbolTotalCodewords(e)-u.getTotalCodewordsCount(e,t));for(i.getLengthInBits()+4<=o&&i.put(0,4);i.getLengthInBits()%8!==0;)i.putBit(0);const s=(o-i.getLengthInBits())/8;for(let r=0;r<s;r++)i.put(r%2?17:236,8);return function(e,t,n){const i=r.getSymbolTotalCodewords(t),a=u.getTotalCodewordsCount(t,n),o=i-a,s=u.getBlocksCount(t,n),l=i%s,c=s-l,p=Math.floor(i/s),f=Math.floor(o/s),h=f+1,m=p-f,g=new d(m);let y=0;const v=new Array(s),b=new Array(s);let _=0;const w=new Uint8Array(e.buffer);for(let r=0;r<s;r++){const e=r<c?f:h;v[r]=w.slice(y,y+e),b[r]=g.encode(v[r]),y+=e,_=Math.max(_,e)}const k=new Uint8Array(i);let S,x,C=0;for(S=0;S<_;S++)for(x=0;x<s;x++)S<v[x].length&&(k[C++]=v[x][S]);for(S=0;S<m;S++)for(x=0;x<s;x++)k[C++]=b[x][S];return k}(i,e,t)}function v(e,t,n,i){let a;if(Array.isArray(e))a=m.fromArray(e);else{if("string"!==typeof e)throw new Error("Invalid data");{let r=t;if(!r){const t=m.rawSplit(e);r=p.getBestVersionForData(t,n)}a=m.fromString(e,r||40)}}const u=p.getBestVersionForData(a,n);if(!u)throw new Error("The amount of data is too big to be stored in a QR Code");if(t){if(t<u)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+u+".\n")}else t=u;const d=y(t,n,a),f=r.getSymbolSize(t),h=new o(f);return function(e,t){const n=e.size,r=l.getPositions(t);for(let i=0;i<r.length;i++){const t=r[i][0],a=r[i][1];for(let r=-1;r<=7;r++)if(!(t+r<=-1||n<=t+r))for(let i=-1;i<=7;i++)a+i<=-1||n<=a+i||(r>=0&&r<=6&&(0===i||6===i)||i>=0&&i<=6&&(0===r||6===r)||r>=2&&r<=4&&i>=2&&i<=4?e.set(t+r,a+i,!0,!0):e.set(t+r,a+i,!1,!0))}}(h,t),function(e){const t=e.size;for(let n=8;n<t-8;n++){const t=n%2===0;e.set(n,6,t,!0),e.set(6,n,t,!0)}}(h),function(e,t){const n=s.getPositions(t);for(let r=0;r<n.length;r++){const t=n[r][0],i=n[r][1];for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)-2===n||2===n||-2===r||2===r||0===n&&0===r?e.set(t+n,i+r,!0,!0):e.set(t+n,i+r,!1,!0)}}(h,t),g(h,n,0),t>=7&&function(e,t){const n=e.size,r=p.getEncodedBits(t);let i,a,o;for(let s=0;s<18;s++)i=Math.floor(s/3),a=s%3+n-8-3,o=1===(r>>s&1),e.set(i,a,o,!0),e.set(a,i,o,!0)}(h,t),function(e,t){const n=e.size;let r=-1,i=n-1,a=7,o=0;for(let s=n-1;s>0;s-=2)for(6===s&&s--;;){for(let n=0;n<2;n++)if(!e.isReserved(i,s-n)){let r=!1;o<t.length&&(r=1===(t[o]>>>a&1)),e.set(i,s-n,r),a--,-1===a&&(o++,a=7)}if(i+=r,i<0||n<=i){i-=r,r=-r;break}}}(h,d),isNaN(i)&&(i=c.getBestMask(h,g.bind(null,h,n))),c.applyMask(i,h),g(h,n,i),{modules:h,version:t,errorCorrectionLevel:n,maskPattern:i,segments:a}}t.create=function(e,t){if("undefined"===typeof e||""===e)throw new Error("No input text");let n,a,o=i.M;return"undefined"!==typeof t&&(o=i.from(t.errorCorrectionLevel,i.M),n=p.from(t.version),a=c.from(t.maskPattern),t.toSJISFunc&&r.setToSJISFunction(t.toSJISFunc)),v(e,n,o,a)}},42595(e,t,n){const r=n(5318);function i(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}i.prototype.initialize=function(e){this.degree=e,this.genPoly=r.generateECPolynomial(this.degree)},i.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");const t=new Uint8Array(e.length+this.degree);t.set(e);const n=r.mod(t,this.genPoly),i=this.degree-n.length;if(i>0){const e=new Uint8Array(this.degree);return e.set(n,i),e}return n},e.exports=i},44621(e,t){const n="[0-9]+";let r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";r=r.replace(/u/g,"\\u");const i="(?:(?![A-Z0-9 $%*+\\-./:]|"+r+")(?:.|[\r\n]))+";t.KANJI=new RegExp(r,"g"),t.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=new RegExp(i,"g"),t.NUMERIC=new RegExp(n,"g"),t.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const a=new RegExp("^"+r+"$"),o=new RegExp("^"+n+"$"),s=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return a.test(e)},t.testNumeric=function(e){return o.test(e)},t.testAlphanumeric=function(e){return s.test(e)}},80998(e,t,n){const r=n(83691),i=n(92722),a=n(8404),o=n(86075),s=n(75062),l=n(44621),c=n(46779),u=n(22893);function d(e){return unescape(encodeURIComponent(e)).length}function p(e,t,n){const r=[];let i;for(;null!==(i=e.exec(n));)r.push({data:i[0],index:i.index,mode:t,length:i[0].length});return r}function f(e){const t=p(l.NUMERIC,r.NUMERIC,e),n=p(l.ALPHANUMERIC,r.ALPHANUMERIC,e);let i,a;c.isKanjiModeEnabled()?(i=p(l.BYTE,r.BYTE,e),a=p(l.KANJI,r.KANJI,e)):(i=p(l.BYTE_KANJI,r.BYTE,e),a=[]);return t.concat(n,i,a).sort(function(e,t){return e.index-t.index}).map(function(e){return{data:e.data,mode:e.mode,length:e.length}})}function h(e,t){switch(t){case r.NUMERIC:return i.getBitsLength(e);case r.ALPHANUMERIC:return a.getBitsLength(e);case r.KANJI:return s.getBitsLength(e);case r.BYTE:return o.getBitsLength(e)}}function m(e,t){let n;const l=r.getBestModeForData(e);if(n=r.from(t,l),n!==r.BYTE&&n.bit<l.bit)throw new Error('"'+e+'" cannot be encoded with mode '+r.toString(n)+".\n Suggested mode is: "+r.toString(l));switch(n!==r.KANJI||c.isKanjiModeEnabled()||(n=r.BYTE),n){case r.NUMERIC:return new i(e);case r.ALPHANUMERIC:return new a(e);case r.KANJI:return new s(e);case r.BYTE:return new o(e)}}t.fromArray=function(e){return e.reduce(function(e,t){return"string"===typeof t?e.push(m(t,null)):t.data&&e.push(m(t.data,t.mode)),e},[])},t.fromString=function(e,n){const i=function(e){const t=[];for(let n=0;n<e.length;n++){const i=e[n];switch(i.mode){case r.NUMERIC:t.push([i,{data:i.data,mode:r.ALPHANUMERIC,length:i.length},{data:i.data,mode:r.BYTE,length:i.length}]);break;case r.ALPHANUMERIC:t.push([i,{data:i.data,mode:r.BYTE,length:i.length}]);break;case r.KANJI:t.push([i,{data:i.data,mode:r.BYTE,length:d(i.data)}]);break;case r.BYTE:t.push([{data:i.data,mode:r.BYTE,length:d(i.data)}])}}return t}(f(e,c.isKanjiModeEnabled())),a=function(e,t){const n={},i={start:{}};let a=["start"];for(let o=0;o<e.length;o++){const s=e[o],l=[];for(let e=0;e<s.length;e++){const c=s[e],u=""+o+e;l.push(u),n[u]={node:c,lastCount:0},i[u]={};for(let e=0;e<a.length;e++){const o=a[e];n[o]&&n[o].node.mode===c.mode?(i[o][u]=h(n[o].lastCount+c.length,c.mode)-h(n[o].lastCount,c.mode),n[o].lastCount+=c.length):(n[o]&&(n[o].lastCount=c.length),i[o][u]=h(c.length,c.mode)+4+r.getCharCountIndicator(c.mode,t))}}a=l}for(let r=0;r<a.length;r++)i[a[r]].end=0;return{map:i,table:n}}(i,n),o=u.find_path(a.map,"start","end"),s=[];for(let t=1;t<o.length-1;t++)s.push(a.table[o[t]].node);return t.fromArray(function(e){return e.reduce(function(e,t){const n=e.length-1>=0?e[e.length-1]:null;return n&&n.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)},[])}(s))},t.rawSplit=function(e){return t.fromArray(f(e,c.isKanjiModeEnabled()))}},46779(e,t){let n;const r=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return r[e]},t.getBCHDigit=function(e){let t=0;for(;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!==typeof e)throw new Error('"toSJISFunc" is not a valid function.');n=e},t.isKanjiModeEnabled=function(){return"undefined"!==typeof n},t.toSJIS=function(e){return n(e)}},17991(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},75070(e,t,n){const r=n(46779),i=n(17879),a=n(78074),o=n(83691),s=n(17991),l=r.getBCHDigit(7973);function c(e,t){return o.getCharCountIndicator(e,t)+4}function u(e,t){let n=0;return e.forEach(function(e){const r=c(e.mode,t);n+=r+e.getBitsLength()}),n}t.from=function(e,t){return s.isValid(e)?parseInt(e,10):t},t.getCapacity=function(e,t,n){if(!s.isValid(e))throw new Error("Invalid QR Code version");"undefined"===typeof n&&(n=o.BYTE);const a=8*(r.getSymbolTotalCodewords(e)-i.getTotalCodewordsCount(e,t));if(n===o.MIXED)return a;const l=a-c(n,e);switch(n){case o.NUMERIC:return Math.floor(l/10*3);case o.ALPHANUMERIC:return Math.floor(l/11*2);case o.KANJI:return Math.floor(l/13);case o.BYTE:default:return Math.floor(l/8)}},t.getBestVersionForData=function(e,n){let r;const i=a.from(n,a.M);if(Array.isArray(e)){if(e.length>1)return function(e,n){for(let r=1;r<=40;r++)if(u(e,r)<=t.getCapacity(r,n,o.MIXED))return r}(e,i);if(0===e.length)return 1;r=e[0]}else r=e;return function(e,n,r){for(let i=1;i<=40;i++)if(n<=t.getCapacity(i,r,e))return i}(r.mode,r.getLength(),i)},t.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw new Error("Invalid QR Code version");let t=e<<12;for(;r.getBCHDigit(t)-l>=0;)t^=7973<<r.getBCHDigit(t)-l;return e<<12|t}},12892(t,n,r){const i=r(93699);n.render=function(t,n,r){let a=r,o=n;"undefined"!==typeof a||n&&n.getContext||(a=n,n=void 0),n||(o=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),a=i.getOptions(a);const s=i.getImageWidth(t.modules.size,a),l=o.getContext("2d"),c=l.createImageData(s,s);return i.qrToImageData(c.data,t,a),function(e,t,n){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=n,t.width=n,t.style.height=n+"px",t.style.width=n+"px"}(l,o,s),l.putImageData(c,0,0),o},n.renderToDataURL=function(e,t,r){let i=r;"undefined"!==typeof i||t&&t.getContext||(i=t,t=void 0),i||(i={});const a=n.render(e,t,i),o=i.type||"image/png",s=i.rendererOpts||{};return a.toDataURL(o,s.quality)}},14481(e,t,n){const r=n(93699);function i(e,t){const n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function a(e,t,n){let r=e+t;return"undefined"!==typeof n&&(r+=" "+n),r}t.render=function(e,t,n){const o=r.getOptions(t),s=e.modules.size,l=e.modules.data,c=s+2*o.margin,u=o.color.light.a?"<path "+i(o.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",d="<path "+i(o.color.dark,"stroke")+' d="'+function(e,t,n){let r="",i=0,o=!1,s=0;for(let l=0;l<e.length;l++){const c=Math.floor(l%t),u=Math.floor(l/t);c||o||(o=!0),e[l]?(s++,l>0&&c>0&&e[l-1]||(r+=o?a("M",c+n,.5+u+n):a("m",i,0),i=0,o=!1),c+1<t&&e[l+1]||(r+=a("h",s),s=0)):i++}return r}(l,s,o.margin)+'"/>',p='viewBox="0 0 '+c+" "+c+'"',f='<svg xmlns="http://www.w3.org/2000/svg" '+(o.width?'width="'+o.width+'" height="'+o.width+'" ':"")+p+' shape-rendering="crispEdges">'+u+d+"</svg>\n";return"function"===typeof n&&n(null,f),f}},93699(e,t){function n(e){if("number"===typeof e&&(e=e.toString()),"string"!==typeof e)throw new Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");
2if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map(function(e){return[e,e]}))),6===t.length&&t.push("F","F");const n=parseInt(t.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});const t="undefined"===typeof e.margin||null===e.margin||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,i=e.scale||4;return{width:r,scale:r?4:i,margin:t,color:{dark:n(e.color.dark||"#000000ff"),light:n(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,n){const r=t.getScale(e,n);return Math.floor((e+2*n.margin)*r)},t.qrToImageData=function(e,n,r){const i=n.modules.size,a=n.modules.data,o=t.getScale(i,r),s=Math.floor((i+2*r.margin)*o),l=r.margin*o,c=[r.color.light,r.color.dark];for(let t=0;t<s;t++)for(let n=0;n<s;n++){let u=4*(t*s+n),d=r.color.light;if(t>=l&&n>=l&&t<s-l&&n<s-l){d=c[a[Math.floor((t-l)/o)*i+Math.floor((n-l)/o)]?1:0]}e[u++]=d.r,e[u++]=d.g,e[u++]=d.b,e[u]=d.a}}},26086(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC1738",i="RFC3986";e.exports={default:i,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:i}},73906(e,t,n){"use strict";var r=n(14543),i=n(71697),a=n(26086);e.exports={formats:a,parse:i,stringify:r}},71697(e,t,n){"use strict";var r=n(39923),i=Object.prototype.hasOwnProperty,a=Array.isArray,o={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},s=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},l=function(e,t,n){if(e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},c=function(e,t,n,a){if(e){var o=function(e,t){var n=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&i.call(Object.prototype,n)&&!t.allowPrototypes)return;return[n]}var r=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(n),o=a?n.slice(0,a.index):n,s=[];if(o){if(!t.plainObjects&&i.call(Object.prototype,o)&&!t.allowPrototypes)return;s[s.length]=o}for(var l=0;null!==(a=r.exec(n))&&l<t.depth;){l+=1;var c=a[1].slice(1,-1);if(!t.plainObjects&&i.call(Object.prototype,c)&&!t.allowPrototypes)return;s[s.length]=a[1]}if(a){if(!0===t.strictDepth)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");s[s.length]="["+n.slice(a.index)+"]"}return s}(e,n);if(o)return function(e,t,n,i){var a=0;if(e.length>0&&"[]"===e[e.length-1]){var o=e.slice(0,-1).join("");a=Array.isArray(t)&&t[o]?t[o].length:0}for(var s=i?t:l(t,n,a),c=e.length-1;c>=0;--c){var u,d=e[c];if("[]"===d&&n.parseArrays)u=r.isOverflow(s)?s:n.allowEmptyArrays&&(""===s||n.strictNullHandling&&null===s)?[]:r.combine([],s,n.arrayLimit,n.plainObjects);else{u=n.plainObjects?{__proto__:null}:{};var p="["===d.charAt(0)&&"]"===d.charAt(d.length-1)?d.slice(1,-1):d,f=n.decodeDotInKeys?p.replace(/%2E/g,"."):p,h=parseInt(f,10),m=!isNaN(h)&&d!==f&&String(h)===f&&h>=0&&n.parseArrays;if(n.parseArrays||""!==f)if(m&&h<n.arrayLimit)(u=[])[h]=s;else{if(m&&n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(1===n.arrayLimit?"":"s")+" allowed in an array.");m?(u[h]=s,r.markOverflow(u,h)):"__proto__"!==f&&(u[f]=s)}else u={0:s}}s=u}return s}(o,t,n,a)}};e.exports=function(e,t){var n=function(e){if(!e)return o;if("undefined"!==typeof e.allowEmptyArrays&&"boolean"!==typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
2if("undefined"!==typeof e.decodeDotInKeys&&"boolean"!==typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&"undefined"!==typeof e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if("undefined"!==typeof e.throwOnLimitExceeded&&"boolean"!==typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t="undefined"===typeof e.charset?o.charset:e.charset,n="undefined"===typeof e.duplicates?o.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:"undefined"===typeof e.allowDots?!0===e.decodeDotInKeys||o.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"===typeof e.allowEmptyArrays?!!e.allowEmptyArrays:o.allowEmptyArrays,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:o.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:o.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:o.comma,decodeDotInKeys:"boolean"===typeof e.decodeDotInKeys?e.decodeDotInKeys:o.decodeDotInKeys,decoder:"function"===typeof e.decoder?e.decoder:o.decoder,delimiter:"string"===typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:o.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:o.plainObjects,strictDepth:"boolean"===typeof e.strictDepth?!!e.strictDepth:o.strictDepth,strictMerge:"boolean"===typeof e.strictMerge?!!e.strictMerge:o.strictMerge,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling,throwOnLimitExceeded:"boolean"===typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null===e||"undefined"===typeof e)return n.plainObjects?{__proto__:null}:{};for(var u="string"===typeof e?function(e,t){var n={__proto__:null},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;c=c.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var u=t.parameterLimit===1/0?void 0:t.parameterLimit,d=c.split(t.delimiter,t.throwOnLimitExceeded&&"undefined"!==typeof u?u+1:u);if(t.throwOnLimitExceeded&&"undefined"!==typeof u&&d.length>u)throw new RangeError("Parameter limit exceeded. Only "+u+" parameter"+(1===u?"":"s")+" allowed.");var p,f=-1,h=t.charset;if(t.charsetSentinel)for(p=0;p<d.length;++p)0===d[p].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[p]?h="utf-8":"utf8=%26%2310003%3B"===d[p]&&(h="iso-8859-1"),f=p,p=d.length);for(p=0;p<d.length;++p)if(p!==f){var m,g,y=d[p],v=y.indexOf("]="),b=-1===v?y.indexOf("="):v+1;if(-1===b?(m=t.decoder(y,o.decoder,h,"key"),g=t.strictNullHandling?null:""):null!==(m=t.decoder(y.slice(0,b),o.decoder,h,"key"))&&(g=r.maybeMap(l(y.slice(b+1),t,a(n[m])?n[m].length:0),function(e){return t.decoder(e,o.decoder,h,"value")})),g&&t.interpretNumericEntities&&"iso-8859-1"===h&&(g=s(String(g))),y.indexOf("[]=")>-1&&(g=a(g)?[g]:g),t.comma&&a(g)&&g.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");g=r.combine([],g,t.arrayLimit,t.plainObjects)}if(null!==m){var _=i.call(n,m);_&&("combine"===t.duplicates||y.indexOf("[]=")>-1)?n[m]=r.combine(n[m],g,t.arrayLimit,t.plainObjects):_&&"last"!==t.duplicates||(n[m]=g)}}return n}(e,n):e,d=n.plainObjects?{__proto__:null}:{},p=Object.keys(u),f=0;f<p.length;++f){var h=p[f],m=c(h,u[h],n,"string"===typeof e);d=r.merge(d,m,n)}return!0===n.allowSparse?d:r.compact(d)}},14543(e,t,n){"use strict";var r=n(80167),i=n(39923),a=n(26086),o=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,p=a.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset
2:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:i.encode,encodeValuesOnly:!1,filter:void 0,format:p,formatter:a.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h={},m=function e(t,n,a,o,s,c,d,p,m,g,y,v,b,_,w,k,S,x){for(var C,E=t,A=x,T=0,I=!1;void 0!==(A=A.get(h))&&!I;){var R=A.get(t);if(T+=1,"undefined"!==typeof R){if(R===T)throw new RangeError("Cyclic object value");I=!0}"undefined"===typeof A.get(h)&&(T=0)}if("function"===typeof g?E=g(n,E):E instanceof Date?E=b(E):"comma"===a&&l(E)&&(E=i.maybeMap(E,function(e){return e instanceof Date?b(e):e})),null===E){if(c)return m&&!k?m(n,f.encoder,S,"key",_):n;E=""}if("string"===typeof(C=E)||"number"===typeof C||"boolean"===typeof C||"symbol"===typeof C||"bigint"===typeof C||i.isBuffer(E))return m?[w(k?n:m(n,f.encoder,S,"key",_))+"="+w(m(E,f.encoder,S,"value",_))]:[w(n)+"="+w(String(E))];var O,D=[];if("undefined"===typeof E)return D;if("comma"===a&&l(E))k&&m&&(E=i.maybeMap(E,m)),O=[{value:E.length>0?E.join(",")||null:void 0}];else if(l(g))O=g;else{var N=Object.keys(E);O=y?N.sort(y):N}var j=p?String(n).replace(/\./g,"%2E"):String(n),F=o&&l(E)&&1===E.length?j+"[]":j;if(s&&l(E)&&0===E.length)return F+"[]";for(var M=0;M<O.length;++M){var V=O[M],P="object"===typeof V&&V&&"undefined"!==typeof V.value?V.value:E[V];if(!d||null!==P){var L=v&&p?String(V).replace(/\./g,"%2E"):String(V),B=l(E)?"function"===typeof a?a(F,L):F:F+(v?"."+L:"["+L+"]");x.set(t,T);var H=r();H.set(h,x),u(D,e(P,B,a,o,s,c,d,p,"comma"===a&&k&&l(E)?null:m,g,y,v,b,_,w,k,S,H))}}return D};e.exports=function(e,t){var n,i=e,c=function(e){if(!e)return f;if("undefined"!==typeof e.allowEmptyArrays&&"boolean"!==typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if("undefined"!==typeof e.encodeDotInKeys&&"boolean"!==typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=a.default;if("undefined"!==typeof e.format){if(!o.call(a.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r,i=a.formatters[n],c=f.filter;if(("function"===typeof e.filter||l(e.filter))&&(c=e.filter),r=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":f.arrayFormat,"commaRoundTrip"in e&&"boolean"!==typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u="undefined"===typeof e.allowDots?!0===e.encodeDotInKeys||f.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"===typeof e.allowEmptyArrays?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:r,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:"undefined"===typeof e.delimiter?f.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:f.encode,encodeDotInKeys:"boolean"===typeof e.encodeDotInKeys?e.encodeDotInKeys:f.encodeDotInKeys,encoder:"function"===typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:c,format:n,formatter:i,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);"function"===typeof c.filter?i=(0,c.filter)("",i):l(c.filter)&&(n=c.filter);var d=[];if("object"!==typeof i||null===i)return"";var p=s[c.arrayFormat],h="comma"===p&&c.commaRoundTrip;n||(n=Object.keys(i)),c.sort&&n.sort(c.sort);for(var g=r(),y=0;y<n.length;++y){var v=n[y],b=i[v];c.skipNulls&&null===b||u(d,m(b,v,p,h,c.allowEmptyArrays,c.strictNullHandling,c.skipNulls,c.encodeDotInKeys,c.encode?
vendor: 4,309 bytes, line 2
2c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,g))}var _=d.join(c.delimiter),w=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),_.length>0?w+_:""}},39923(t,n,r){"use strict";var i=r(26086),a=r(80167),o=Object.prototype.hasOwnProperty,s=Array.isArray,l=a(),c=function(e,t){return l.set(e,t),e},u=function(e){return l.has(e)},d=function(e){return l.get(e)},p=function(e,t){l.set(e,t)},f=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),h=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},r=0;r<e.length;++r)"undefined"!==typeof e[r]&&(n[r]=e[r]);return n},m=1024;t.exports={arrayToObject:h,assign:function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},combine:function(e,t,n,r){if(u(e)){var i=d(e)+1;return e[i]=t,p(e,i),e}var a=[].concat(e,t);return a.length>n?c(h(a,{plainObjects:r}),a.length-1):a},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],o=Object.keys(a),l=0;l<o.length;++l){var c=o[l],u=a[c];"object"===typeof u&&null!==u&&-1===n.indexOf(u)&&(t[t.length]={obj:a,prop:c},n[n.length]=u)}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(s(n)){for(var r=[],i=0;i<n.length;++i)"undefined"!==typeof n[i]&&(r[r.length]=n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(t,n,r){var i=t.replace(/\+/g," ");if("iso-8859-1"===r)return i.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(i)}catch(e){return i}},encode:function(e,t,n,r,a){if(0===e.length)return e;var o=e;if("symbol"===typeof e?o=Symbol.prototype.toString.call(e):"string"!==typeof e&&(o=String(e)),"iso-8859-1"===n)return escape(o).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var s="",l=0;l<o.length;l+=m){for(var c=o.length>=m?o.slice(l,l+m):o,u=[],d=0;d<c.length;++d){var p=c.charCodeAt(d);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||a===i.RFC1738&&(40===p||41===p)?u[u.length]=c.charAt(d):p<128?u[u.length]=f[p]:p<2048?u[u.length]=f[192|p>>6]+f[128|63&p]:p<55296||p>=57344?u[u.length]=f[224|p>>12]+f[128|p>>6&63]+f[128|63&p]:(d+=1,p=65536+((1023&p)<<10|1023&c.charCodeAt(d)),u[u.length]=f[240|p>>18]+f[128|p>>12&63]+f[128|p>>6&63]+f[128|63&p])}s+=u.join("")}return s},isBuffer:function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:u,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:c,maybeMap:function(e,t){if(s(e)){for(var n=[],r=0;r<e.length;r+=1)n[n.length]=t(e[r]);return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!==typeof n&&"function"!==typeof n){if(s(t)){var i=t.length;if(r&&"number"===typeof r.arrayLimit&&i>r.arrayLimit)return c(h(t.concat(n),r),i);t[i]=n}else{if(!t||"object"!==typeof t)return[t,n];if(u(t)){var a=d(t)+1;t[a]=n,p(t,a)}else{if(r&&r.strictMerge)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}}return t}if(!t||"object"!==typeof t){if(u(n)){for(var l=Object.keys(n),f=r&&r.plainObjects?{__proto__:null,0:t}:{0:t},m=0;m<l.length;m++){f[parseInt(l[m],10)+1]=n[l[m]]}return c(f,d(n)+1)}var g=[t].concat(n);return r&&"number"===typeof r.arrayLimit&&g.length>r.arrayLimit?c(h(g,r),g.length-1):g}var y=t;return s(t)&&!s(n)&&(y=h(t,r)),s(t)&&s(n)?(n.forEach(function(n,i){if(o.call(t,i)){var a=t[i];a&&"object"===typeof a&&n&&"object"===typeof n?t[i]=e(a,n,r):t[t.length]=n}else t[i]=n}),t):Object.keys(n).reduce(function(t,i){var a=n[i];if(o.call(t,i)?t[i]=e(t[i],a,r):t[i]=a,u(n)&&!u(t)&&c(t,d(n)),u(t)){var s=parseInt(i,10);String(s)===i&&s>=0&&s>d(t)&&p(t,s)}return t},y)}}},79456(e,t,n){"use strict";const r=n(52645),i=n(4221),a=n(42323),o=n(43020),s=Symbol("encodeFragmentIdentifier");function l(e){if("string"!==typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?i(e):e}function d(e){return Array.isArray(e)?e.sort():"object"===typeof e?d(Object.keys(e)).sort((e,t)=>
2Number(e)-Number(t)).map(t=>e[t]):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function f(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"===typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function m(e,t){l((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const i="string"===typeof n&&n.includes(e.arrayFormatSeparator),a="string"===typeof n&&!i&&u(n,e).includes(e.arrayFormatSeparator);n=a?u(n,e):n;const o=i||a?n.split(e.arrayFormatSeparator).map(t=>u(t,e)):null===n?n:u(n,e);r[t]=o};case"bracket-separator":return(t,n,r)=>{const i=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!i)return void(r[t]=n?u(n,e):n);const a=null===n?[]:n.split(e.arrayFormatSeparator).map(t=>u(t,e));void 0!==r[t]?r[t]=[].concat(r[t],a):r[t]=a};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!==typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const i of e.split("&")){if(""===i)continue;let[e,o]=a(t.decode?i.replace(/\+/g," "):i,"=");o=void 0===o?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?o:u(o,t),n(u(e,t),o,r)}for(const i of Object.keys(r)){const e=r[i];if("object"===typeof e&&null!==e)for(const n of Object.keys(e))e[n]=h(e[n],t);else r[i]=h(e,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((e,t)=>{const n=r[t];return Boolean(n)&&"object"===typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e},Object.create(null))}t.extract=f,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";l((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>{return t.skipNull&&(null===(r=e[n])||void 0===r)||t.skipEmptyString&&""===e[n];var r},r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[",i,"]"].join("")]:[...n,[c(t,e),"[",c(i,e),"]=",c(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[]"].join("")]:[...n,[c(t,e),"[]=",c(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),":list="].join("")]:[...n,[c(t,e),":list=",c(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?r:(i=null===i?"":i,0===r.length?[[c(n,e),t,c(i,e)].join("")]:[[r,c(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,c(t,e)]:[...n,[c(t,e),"=",c(r,e)].join("")]}}(t),i={};for(const o of Object.keys(e))n(o)||(i[o]=e[o]);const a=Object.keys(i);return!1!==t.sort&&a.sort(t.sort),a.map(n=>{const i=e[n];return void 0===i?"":null===i?c(n,t):Array.isArray(i)?0===i.length&&"bracket-separator"===t.arrayFormat?c(n,t)+"[]":i.reduce(r(n),[]).join("&"):c(n,t)+"="+c(i,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>
2{t=Object.assign({decode:!0},t);const[n,r]=a(e,"#");return Object.assign({url:n.split("?")[0]||"",query:m(f(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=p(e.url).split("?")[0]||"",i=t.extract(e.url),a=t.parse(i,{sort:!1}),o=Object.assign(a,e.query);let l=t.stringify(o,n);l&&(l=`?${l}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${n[s]?c(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${l}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:i,query:a,fragmentIdentifier:l}=t.parseUrl(e,r);return t.stringifyUrl({url:i,query:o(a,n),fragmentIdentifier:l},r)},t.exclude=(e,n,r)=>{const i=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,i,r)}},87390(t,n,r){"use strict";var i=r(73167),a=r(36665),o=r(33672);function s(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function c(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function u(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function d(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function p(e){if(c(e)!==e)throw Error(s(188))}function f(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=f(e)))return t;e=e.sibling}return null}var h=Object.assign,m=Symbol.for("react.element"),g=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),k=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),A=Symbol.for("react.lazy");Symbol.for("react.scope");var T=Symbol.for("react.activity");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var I=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var R=Symbol.iterator;function O(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=R&&e[R]||e["@@iterator"])?e:null}var D=Symbol.for("react.client.reference");function N(e){if(null==e)return null;if("function"===typeof e)return e.$$typeof===D?null:e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case v:return"Fragment";case _:return"Profiler";case b:return"StrictMode";case x:return"Suspense";case C:return"SuspenseList";case T:return"Activity"}if("object"===typeof e)switch(e.$$typeof){case y:return"Portal";case k:return e.displayName||"Context";case w:return(e._context.displayName||"Context")+".Consumer";case S:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case E:return null!==(t=e.displayName||null)?t:N(e.type)||"Memo";case A:t=e._payload,e=e._init;try{return N(e(t))}catch(n){}}return null}var j=Array.isArray,F=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,M=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V={pending:!1,data:null,method:null,action:null},P=[],L=-1;function B(e){return{current:e}}function H(e){0>L||(e.current=P[L],P[L]=null,L--)}function W(e,t){L++,P[L]=e.current,e.current=t}var z,Y,U=B(null),X=B(null),G=B(null),q=B(null);function J(e,t){switch(W(G,t),W(X,e),W(U,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?vd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=bd(t=vd(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}H(U),W(U,e)}function $(){H(U),H(X),H(G)}function K(e){null!==e.memoizedState&&W(q,e);var t=U.current,n=bd(t,e.type);t!==n&&(W(X,e),W(U,n))}function Z(e){X.current===e&&(H(U),H(X)),q.current===e&&(H(q),dp._currentValue=V)}function Q(e){if(void 0===z)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||"",Y=-1<n.stack.indexOf("\n    at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+z+e+Y}var ee=!1;function te(e,t){if(!e||ee)return"";ee=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(i){var r=i}Reflect.construct(e,[],n)}
vendor: 14,526 bytes, line 2
2else{try{n.call()}catch(a){r=a}e.call(n.prototype)}}else{try{throw Error()}catch(o){r=o}(n=e())&&"function"===typeof n.catch&&n.catch(function(){})}}catch(s){if(s&&r&&"string"===typeof s.stack)return[s.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var l=o.split("\n"),c=s.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===c.length)for(r=l.length-1,i=c.length-1;1<=r&&0<=i&&l[r]!==c[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==c[i]){if(1!==r||1!==i)do{if(r--,0>--i||l[r]!==c[i]){var u="\n"+l[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=i);break}}}finally{ee=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Q(n):""}function ne(e,t){switch(e.tag){case 26:case 27:case 5:return Q(e.type);case 16:return Q("Lazy");case 13:return e.child!==t&&null!==t?Q("Suspense Fallback"):Q("Suspense");case 19:return Q("SuspenseList");case 0:case 15:return te(e.type,!1);case 11:return te(e.type.render,!1);case 1:return te(e.type,!0);case 31:return Q("Activity");default:return""}}function re(e){try{var t="",n=null;do{t+=ne(e,n),n=e,e=e.return}while(e);return t}catch(r){return"\nError generating stack: "+r.message+"\n"+r.stack}}var ie=Object.prototype.hasOwnProperty,ae=i.unstable_scheduleCallback,oe=i.unstable_cancelCallback,se=i.unstable_shouldYield,le=i.unstable_requestPaint,ce=i.unstable_now,ue=i.unstable_getCurrentPriorityLevel,de=i.unstable_ImmediatePriority,pe=i.unstable_UserBlockingPriority,fe=i.unstable_NormalPriority,he=i.unstable_LowPriority,me=i.unstable_IdlePriority,ge=i.log,ye=i.unstable_setDisableYieldValue,ve=null,be=null;function _e(e){if("function"===typeof ge&&ye(e),be&&"function"===typeof be.setStrictMode)try{be.setStrictMode(ve,e)}catch(t){}}var we=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(ke(e)/Se|0)|0},ke=Math.log,Se=Math.LN2;var xe=256,Ce=262144,Ee=4194304;function Ae(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Te(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=134217727&r;return 0!==s?0!==(r=s&~a)?i=Ae(r):0!==(o&=s)?i=Ae(o):n||0!==(n=s&~e)&&(i=Ae(n)):0!==(s=r&~a)?i=Ae(s):0!==o?i=Ae(o):n||0!==(n=r&~e)&&(i=Ae(n)),0===i?0:0!==t&&t!==i&&0===(t&a)&&((a=i&-i)>=(n=t&-t)||32===a&&0!==(4194048&n))?t:i}function Ie(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Re(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Oe(){var e=Ee;return 0===(62914560&(Ee<<=1))&&(Ee=4194304),e}function De(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ne(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function je(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-we(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|261930&n}function Fe(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-we(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Me(e,t){var n=t&-t;return 0!==((n=0!==(42&n)?1:Ve(n))&(e.suspendedLanes|t))?0:n}function Ve(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Pe(e){return 2<(e&=-e)?8<e?0!==(134217727&e)?32:268435456:8:2}function Le(){var e=M.p;return 0!==e?e:void 0===(e=window.event)?32:Ap(e.type)}function Be(e,t){var n=M.p;try{return M.p=e,t()}finally{M.p=n}}var He=Math.random().toString(36).slice(2),We="__reactFiber$"+He,ze="__reactProps$"+He,Ye="__reactContainer$"+He,Ue="__reactEvents$"+He,Xe="__reactListeners$"+He,Ge="__reactHandles$"+He,qe="__reactResources$"+He,Je="__reactMarker$"+He;function $e(e){delete e[We],delete e[ze],delete e[Ue],delete e[Xe],delete e[Ge]}function Ke(e){var t=e[We];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ye]||n[We]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Vd(e);null!==e;){if(n=e[We])return n;e=Vd(e)}return t}n=(e=n).parentNode}return null}function Ze(e){if(e=e[We]||e[Ye]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function Qe(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(s(33))}function et(e){var t=e[qe];return t||(t=e[qe]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function tt(e){e[Je]=!0}var nt=new Set,rt={};function it(e,t){at(e,t),at(e+"Capture",t)}function at(e,t){for(rt[e]=t,e=0;e<t.length;e++)nt.add(t[e])}var ot=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),st={},lt={};function ct(e,t,n){if(i=t,ie.call(lt,i)||!ie.call(st,i)&&(ot.test(i)?lt[i]=!0:(st[i]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var i}function ut(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function dt(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function pt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ft(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ht(e){if(!e._valueTracker){var t=ft(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&"undefined"!==typeof r&&"function"===typeof r.get&&"function"===typeof r.set){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function mt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ft(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function gt(t){if("undefined"===typeof(t=t||("undefined"!==typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}var yt=/[\n"\\]/g;function vt(e){return e.replace(yt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function bt(e,t,n,r,i,a,o,s){e.name="",null!=o&&"function"!==typeof o&&"symbol"!==typeof o&&"boolean"!==typeof o?e.type=o:e.removeAttribute("type"),null!=t?"number"===o?(0===t&&""===e.value||e.value!=t)&&(e.value=""+pt(t)):e.value!==""+pt(t)&&(e.value=""+pt(t)):"submit"!==o&&"reset"!==o||e.removeAttribute("value"),null!=t?wt(e,o,pt(t)):null!=n?wt(e,o,pt(n)):null!=r&&e.removeAttribute("value"),null==i&&null!=a&&(e.defaultChecked=!!a),null!=i&&(e.checked=i&&"function"!==typeof i&&"symbol"!==typeof i),null!=s&&"function"!==typeof s&&"symbol"!==typeof s&&"boolean"!==typeof s?e.name=""+pt(s):e.removeAttribute("name")}function _t(e,t,n,r,i,a,o,s){if(null!=a&&"function"!==typeof a&&"symbol"!==typeof a&&"boolean"!==typeof a&&(e.type=a),null!=t||null!=n){if(!("submit"!==a&&"reset"!==a||void 0!==t&&null!==t))return void ht(e);n=null!=n?""+pt(n):"",t=null!=t?""+pt(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!==typeof(r=null!=r?r:i)&&"symbol"!==typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=o&&"function"!==typeof o&&"symbol"!==typeof o&&"boolean"!==typeof o&&(e.name=o),ht(e)}function wt(e,t,n){"number"===t&&gt(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function kt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+pt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function St(e,t,n){null==t||((t=""+pt(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+pt(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function xt(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(s(92));if(j(r)){if(1<r.length)throw Error(s(93));r=r[0]}n=r}null==n&&(n=""),t=n}n=pt(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),ht(e)}function Ct(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Et=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function At(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"===typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!==typeof n||0===n||Et.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Tt(e,t,n){if(null!=t&&"object"!==typeof t)throw Error(s(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var i in t)r=t[i],t.hasOwnProperty(i)&&n[i]!==r&&At(e,i,r)}else for(var a in t)t.hasOwnProperty(a)&&At(e,a,t[a])}function It(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Rt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
2-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ot=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Dt(e){return Ot.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Nt(){}var jt=null;function Ft(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Mt=null,Vt=null;function Pt(e){var t=Ze(e);if(t&&(e=t.stateNode)){var n=e[ze]||null;e:switch(e=t.stateNode,t.type){case"input":if(bt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+vt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[ze]||null;if(!i)throw Error(s(90));bt(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&mt(r)}break e;case"textarea":St(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&kt(e,!!n.multiple,t,!1)}}}var Lt=!1;function Bt(e,t,n){if(Lt)return e(t,n);Lt=!0;try{return e(t)}finally{if(Lt=!1,(null!==Mt||null!==Vt)&&(eu(),Mt&&(t=Mt,e=Vt,Vt=Mt=null,Pt(t),e)))for(t=0;t<e.length;t++)Pt(e[t])}}function Ht(e,t){var n=e.stateNode;if(null===n)return null;var r=n[ze]||null;if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(s(231,t,typeof n));return n}var Wt=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),zt=!1;if(Wt)try{var Yt={};Object.defineProperty(Yt,"passive",{get:function(){zt=!0}}),window.addEventListener("test",Yt,Yt),window.removeEventListener("test",Yt,Yt)}catch(e){zt=!1}var Ut=null,Xt=null,Gt=null;function qt(){if(Gt)return Gt;var e,t,n=Xt,r=n.length,i="value"in Ut?Ut.value:Ut.textContent,a=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[a-t];t++);return Gt=i.slice(e,1<t?1-t:void 0)}function Jt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function $t(){return!0}function Kt(){return!1}function Zt(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?$t:Kt,this.isPropagationStopped=Kt,this}return h(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=$t)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=$t)},persist:function(){},isPersistent:$t}),t}var Qt,en,tn,nn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},rn=Zt(nn),an=h({},nn,{view:0,detail:0}),on=Zt(an),sn=h({},an,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:vn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 9,037 bytes, line 2
2Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==tn&&(tn&&"mousemove"===e.type?(Qt=e.screenX-tn.screenX,en=e.screenY-tn.screenY):en=Qt=0,tn=e),Qt)},movementY:function(e){return"movementY"in e?e.movementY:en}}),ln=Zt(sn),cn=Zt(h({},sn,{dataTransfer:0})),un=Zt(h({},an,{relatedTarget:0})),dn=Zt(h({},nn,{animationName:0,elapsedTime:0,pseudoElement:0})),pn=Zt(h({},nn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),fn=Zt(h({},nn,{data:0})),hn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},gn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function yn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=gn[e])&&!!t[e]}function vn(){return yn}var bn=Zt(h({},an,{key:function(e){if(e.key){var t=hn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Jt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?mn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:vn,charCode:function(e){return"keypress"===e.type?Jt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Jt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),_n=Zt(h({},sn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),wn=Zt(h({},an,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vn})),kn=Zt(h({},nn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Sn=Zt(h({},sn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),xn=Zt(h({},nn,{newState:0,oldState:0})),Cn=[9,13,27,32],En=Wt&&"CompositionEvent"in window,An=null;Wt&&"documentMode"in document&&(An=document.documentMode);var Tn=Wt&&"TextEvent"in window&&!An,In=Wt&&(!En||An&&8<An&&11>=An),Rn=String.fromCharCode(32),On=!1;function Dn(e,t){switch(e){case"keyup":return-1!==Cn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Nn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var jn=!1;var Fn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Mn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Fn[e.type]:"textarea"===t}function Vn(e,t,n,r){Mt?Vt?Vt.push(r):Vt=[r]:Mt=r,0<(t=id(t,"onChange")).length&&(n=new rn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Pn=null,Ln=null;function Bn(e){$u(e,0)}function Hn(e){if(mt(Qe(e)))return e}function Wn(e,t){if("change"===e)return t}var zn=!1;if(Wt){var Yn;if(Wt){var Un="oninput"in document;if(!Un){var Xn=document.createElement("div");Xn.setAttribute("oninput","return;"),Un="function"===typeof Xn.oninput}Yn=Un}else Yn=!1;zn=Yn&&(!document.documentMode||9<document.documentMode)}function Gn(){Pn&&(Pn.detachEvent("onpropertychange",qn),Ln=Pn=null)}function qn(e){if("value"===e.propertyName&&Hn(Ln)){var t=[];Vn(t,Ln,e,Ft(e)),Bt(Bn,t)}}function Jn(e,t,n){"focusin"===e?(Gn(),Ln=n,(Pn=t).attachEvent("onpropertychange",qn)):"focusout"===e&&Gn()}function $n(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Hn(Ln)}function Kn(e,t){if("click"===e)return Hn(t)}function Zn(e,t){if("input"===e||"change"===e)return Hn(t)}var Qn="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function er(e,t){if(Qn(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!ie.call(t,i)||!Qn(e[i],t[i]))return!1}return!0}function tr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nr(e,t){var n,r=tr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=tr(r)}}function rr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?rr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function ir(e){for(var t=gt((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=gt((e=t.contentWindow).document)}return t}function ar(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var or=Wt&&"documentMode"in document&&11>=document.documentMode,sr=null,lr=null,cr=null,ur=!1;function dr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;ur||null==sr||sr!==gt(r)||("selectionStart"in(r=sr)&&ar(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},cr&&er(cr,r)||(cr=r,0<(r=id(lr,"onSelect")).length&&(t=new rn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=sr)))}function pr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var fr={animationend:pr("Animation","AnimationEnd"),animationiteration:pr("Animation","AnimationIteration"),animationstart:pr("Animation","AnimationStart"),transitionrun:pr("Transition","TransitionRun"),transitionstart:pr("Transition","TransitionStart"),transitioncancel:pr("Transition","TransitionCancel"),transitionend:pr("Transition","TransitionEnd")},hr={},mr={};function gr(e){if(hr[e])return hr[e];if(!fr[e])return e;var t,n=fr[e];for(t in n)if(n.hasOwnProperty(t)&&t in mr)return hr[e]=n[t];return e}Wt&&(mr=document.createElement("div").style,"AnimationEvent"in window||(delete fr.animationend.animation,delete fr.animationiteration.animation,delete fr.animationstart.animation),"TransitionEvent"in window||delete fr.transitionend.transition);var yr=gr("animationend"),vr=gr("animationiteration"),br=gr("animationstart"),_r=gr("transitionrun"),wr=gr("transitionstart"),kr=gr("transitioncancel"),Sr=gr("transitionend"),xr=new Map,Cr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Er(e,t){xr.set(e,t),it(t,[e])}Cr.push("scrollEnd");var Ar="function"===typeof reportError?reportError:function(e){if("object"===typeof window&&"function"===typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"===typeof e&&null!==e&&"string"===typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"===typeof process&&"function"===typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},Tr=[],Ir=0,Rr=0;function Or(){for(var e=Ir,t=Rr=Ir=0;t<e;){var n=Tr[t];Tr[t++]=null;var r=Tr[t];Tr[t++]=null;var i=Tr[t];Tr[t++]=null;var a=Tr[t];if(Tr[t++]=null,null!==r&&null!==i){var o=r.pending;null===o?i.next=i:(i.next=o.next,o.next=i),r.pending=i}0!==a&&Fr(n,i,a)}}function Dr(e,t,n,r){Tr[Ir++]=e,Tr[Ir++]=t,Tr[Ir++]=n,Tr[Ir++]=r,Rr|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Nr(e,t,n,r){return Dr(e,t,n,r),Mr(e)}function jr(e,t){return Dr(e,null,null,t),Mr(e)}function Fr(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var i=!1,a=e.return;null!==a;
vendor: 13,781 bytes, line 2
2)a.childLanes|=n,null!==(r=a.alternate)&&(r.childLanes|=n),22===a.tag&&(null===(e=a.stateNode)||1&e._visibility||(i=!0)),e=a,a=a.return;return 3===e.tag?(a=e.stateNode,i&&null!==t&&(i=31-we(n),null===(r=(e=a.hiddenUpdates)[i])?e[i]=[t]:r.push(t),t.lane=536870912|n),a):null}function Mr(e){if(50<Uc)throw Uc=0,Xc=null,Error(s(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Vr={};function Pr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lr(e,t,n,r){return new Pr(e,t,n,r)}function Br(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Hr(e,t){var n=e.alternate;return null===n?((n=Lr(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=65011712&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Wr(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function zr(e,t,n,r,i,a){var o=0;if(r=e,"function"===typeof e)Br(e)&&(o=1);else if("string"===typeof e)o=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!==typeof t.precedence||"string"!==typeof t.href||""===t.href)break;return!0;case"link":if("string"!==typeof t.rel||"string"!==typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"===typeof t.precedence&&null==e);case"script":if(t.async&&"function"!==typeof t.async&&"symbol"!==typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"===typeof t.src)return!0}return!1}(e,n,U.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case T:return(e=Lr(31,n,t,i)).elementType=T,e.lanes=a,e;case v:return Yr(n.children,i,a,t);case b:o=8,i|=24;break;case _:return(e=Lr(12,n,t,2|i)).elementType=_,e.lanes=a,e;case x:return(e=Lr(13,n,t,i)).elementType=x,e.lanes=a,e;case C:return(e=Lr(19,n,t,i)).elementType=C,e.lanes=a,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case k:o=10;break e;case w:o=9;break e;case S:o=11;break e;case E:o=14;break e;case A:o=16,r=null;break e}o=29,n=Error(s(130,null===e?"null":typeof e,"")),r=null}return(t=Lr(o,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function Yr(e,t,n,r){return(e=Lr(7,e,r,t)).lanes=n,e}function Ur(e,t,n){return(e=Lr(6,e,null,t)).lanes=n,e}function Xr(e){var t=Lr(18,null,null,0);return t.stateNode=e,t}function Gr(e,t,n){return(t=Lr(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var qr=new WeakMap;function Jr(e,t){if("object"===typeof e&&null!==e){var n=qr.get(e);return void 0!==n?n:(t={value:e,source:t,stack:re(t)},qr.set(e,t),t)}return{value:e,source:t,stack:re(t)}}var $r=[],Kr=0,Zr=null,Qr=0,ei=[],ti=0,ni=null,ri=1,ii="";function ai(e,t){$r[Kr++]=Qr,$r[Kr++]=Zr,Zr=e,Qr=t}function oi(e,t,n){ei[ti++]=ri,ei[ti++]=ii,ei[ti++]=ni,ni=e;var r=ri;e=ii;var i=32-we(r)-1;r&=~(1<<i),n+=1;var a=32-we(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,ri=1<<32-we(t)+i|n<<i|r,ii=a+e}else ri=1<<a|n<<i|r,ii=e}function si(e){null!==e.return&&(ai(e,1),oi(e,1,0))}function li(e){for(;e===Zr;)Zr=$r[--Kr],$r[Kr]=null,Qr=$r[--Kr],$r[Kr]=null;for(;e===ni;)ni=ei[--ti],ei[ti]=null,ii=ei[--ti],ei[ti]=null,ri=ei[--ti],ei[ti]=null}function ci(e,t){ei[ti++]=ri,ei[ti++]=ii,ei[ti++]=ni,ri=t.id,ii=t.overflow,ni=e}var ui=null,di=null,pi=!1,fi=null,hi=!1,mi=Error(s(519));function gi(e){throw ki(Jr(Error(s(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML","")),e)),mi}function yi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[We]=e,t[ze]=r,n){case"dialog":Ku("cancel",t),Ku("close",t);break;case"iframe":case"object":case"embed":Ku("load",t);break;case"video":case"audio":for(n=0;n<qu.length;n++)Ku(qu[n],t);break;case"source":Ku("error",t);break;case"img":case"image":case"link":Ku("error",t),Ku("load",t);break;case"details":Ku("toggle",t);break;case"input":Ku("invalid",t),_t(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":Ku("invalid",t);break;case"textarea":Ku("invalid",t),xt(t,r.value,r.defaultValue,r.children)}"string"!==typeof(n=r.children)&&"number"!==typeof n&&"bigint"!==typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||ud(t.textContent,n)?(null!=r.popover&&(Ku("beforetoggle",t),Ku("toggle",t)),null!=r.onScroll&&Ku("scroll",t),null!=r.onScrollEnd&&Ku("scrollend",t),null!=r.onClick&&(t.onclick=Nt),t=!0):t=!1,t||gi(e,!0)}function vi(e){for(ui=e.return;ui;)switch(ui.tag){case 5:case 31:case 13:return void(hi=!1);case 27:case 3:return void(hi=!0);default:ui=ui.return}}function bi(e){if(e!==ui)return!1;if(!pi)return vi(e),pi=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||_d(e.type,e.memoizedProps)),t=!t),t&&di&&gi(e),vi(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(s(317));di=Md(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(s(317));di=Md(e)}else 27===n?(n=di,Ad(e.type)?(e=Fd,Fd=null,di=e):di=n):di=ui?jd(e.stateNode.nextSibling):null;return!0}function _i(){di=ui=null,pi=!1}function wi(){var e=fi;return null!==e&&(null===Oc?Oc=e:Oc.push.apply(Oc,e),fi=null),e}function ki(e){null===fi?fi=[e]:fi.push(e)}var Si=B(null),xi=null,Ci=null;function Ei(e,t,n){W(Si,t._currentValue),t._currentValue=n}function Ai(e){e._currentValue=Si.current,H(Si)}function Ti(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ii(e,t,n,r){var i=e.child;for(null!==i&&(i.return=e);null!==i;){var a=i.dependencies;if(null!==a){var o=i.child;a=a.firstContext;e:for(;null!==a;){var l=a;a=i;for(var c=0;c<t.length;c++)if(l.context===t[c]){a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),Ti(a.return,n,e),r||(o=null);break e}a=l.next}}else if(18===i.tag){if(null===(o=i.return))throw Error(s(341));o.lanes|=n,null!==(a=o.alternate)&&(a.lanes|=n),Ti(o,n,e),o=null}else o=i.child;if(null!==o)o.return=i;else for(o=i;null!==o;){if(o===e){o=null;break}if(null!==(i=o.sibling)){i.return=o.return,o=i;break}o=o.return}i=o}}function Ri(e,t,n,r){e=null;for(var i=t,a=!1;null!==i;){if(!a)if(0!==(524288&i.flags))a=!0;else if(0!==(262144&i.flags))break;if(10===i.tag){var o=i.alternate;if(null===o)throw Error(s(387));if(null!==(o=o.memoizedProps)){var l=i.type;Qn(i.pendingProps.value,o.value)||(null!==e?e.push(l):e=[l])}}else if(i===q.current){if(null===(o=i.alternate))throw Error(s(387));o.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(null!==e?e.push(dp):e=[dp])}i=i.return}null!==e&&Ii(t,e,n,r),t.flags|=262144}function Oi(e){for(e=e.firstContext;null!==e;){if(!Qn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Di(e){xi=e,Ci=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Ni(e){return Fi(xi,e)}function ji(e,t){return null===xi&&Di(e),Fi(e,t)}function Fi(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===Ci){if(null===e)throw Error(s(308));Ci=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Ci=Ci.next=t;return n}var Mi="undefined"!==typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Vi=i.unstable_scheduleCallback,Pi=i.unstable_NormalPriority,Li={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Bi(){return{controller:new Mi,data:new Map,refCount:0}}function Hi(e){e.refCount--,0===e.refCount&&Vi(Pi,function(){e.controller.abort()})}var Wi=null,zi=0,Yi=0,Ui=null;function Xi(){if(0===--zi&&null!==Wi){null!==Ui&&(Ui.status="fulfilled");var e=Wi;Wi=null,Yi=0,Ui=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Gi=F.S;F.S=function(e,t){jc=ce(),"object"===typeof t&&null!==t&&"function"===typeof t.then&&function(e,t){if(null===Wi){var n=Wi=[];zi=0,Yi=zu(),Ui={status:"pending",value:void 0,then:function(e){n.push(e)}}}zi++,t.then(Xi,Xi)}(0,t),null!==Gi&&Gi(e,t)};var qi=B(null);function Ji(){var e=qi.current;return null!==e?e:mc.pooledCache}function $i(e,t){W(qi,null===t?qi.current:t.pool)}function Ki(){var e=Ji();return null===e?null:{parent:Li._currentValue,pool:e}}var Zi=Error(s(460)),Qi=Error(s(474)),ea=Error(s(542)),ta={then:function(){}};function na(e){return"fulfilled"===(e=e.status)||"rejected"===e}function ra(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Nt,Nt),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw sa(e=t.reason),e;default:if("string"===typeof t.status)t.then(Nt,Nt);else{if(null!==(e=mc)&&100<e.shellSuspendCounter)throw Error(s(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw sa(e=t.reason),e}throw aa=t,Zi}}function ia(e){try{return(0,e._init)(e._payload)}catch(t){if(null!==t&&"object"===typeof t&&"function"===typeof t.then)throw aa=t,Zi;throw t}}var aa=null;function oa(){if(null===aa)throw Error(s(459));var e=aa;return aa=null,e}function sa(e){if(e===Zi||e===ea)throw Error(s(483))}var la=null,ca=0;function ua(e){var t=ca;return ca+=1,null===la&&(la=[]),ra(la,e,t)}function da(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function pa(e,t){if(t.$$typeof===m)throw Error(s(525));throw e=Object.prototype.toString.call(t),Error(s(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function fa(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(e,t){return(e=Hr(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function o(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Ur(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){var a=n.type;return a===v?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"===typeof a&&null!==a&&a.$$typeof===A&&ia(a)===t.type)?(da(t=i(t,n.props),n),t.return=e,t):(da(t=zr(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Gr(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Yr(n,e.mode,r,a)).return=e,t):((t=i(t,n)).return=e,t)}function p(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t||"bigint"===typeof t)return(t=Ur(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case g:return da(n=zr(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case y:return(t=Gr(t,e.mode,n)).return=e,t;case A:return p(e,t=ia(t),n)}if(j(t)||O(t))return(t=Yr(t,e.mode,n,null)).return=e,t;if("function"===typeof t.then)return p(e,ua(t),n);if(t.$$typeof===k)return p(e,ji(e,t),n);pa(e,t)}return null}function f(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n||"bigint"===typeof n)return null!==i?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case g:return n.key===i?c(e,t,n,r):null;case y:return n.key===i?u(e,t,n,r):null;case A:return f(e,t,n=ia(n),r)}if(j(n)||O(n))return null!==i?null:d(e,t,n,r,null);if("function"===typeof n.then)return f(e,t,ua(n),r);if(n.$$typeof===k)return f(e,t,ji(e,n),r);pa(e,n)}return null}function h(e,t,n,r,i){if("string"===typeof r&&""!==r||"number"===typeof r||"bigint"===typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case g:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case y:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case A:return h(e,t,n,r=ia(r),i)}if(j(r)||O(r))return d(t,e=e.get(n)||null,r,i,null);if("function"===typeof r.then)return h(e,t,n,ua(r),i);if(r.$$typeof===k)return h(e,t,n,ji(t,r),i);pa(t,r)}return null}function m(l,c,u,d){if("object"===typeof u&&null!==u&&u.type===v&&null===u.key&&(u=u.props.children),"object"===typeof u&&null!==u){switch(u.$$typeof){case g:e:{for(var b=u.key;null!==c;){if(c.key===b){if((b=u.type)===v){if(7===c.tag){n(l,c.sibling),(
vendor: 5,373 bytes, line 2
2d=i(c,u.props.children)).return=l,l=d;break e}}else if(c.elementType===b||"object"===typeof b&&null!==b&&b.$$typeof===A&&ia(b)===c.type){n(l,c.sibling),da(d=i(c,u.props),u),d.return=l,l=d;break e}n(l,c);break}t(l,c),c=c.sibling}u.type===v?((d=Yr(u.props.children,l.mode,d,u.key)).return=l,l=d):(da(d=zr(u.type,u.key,u.props,null,l.mode,d),u),d.return=l,l=d)}return o(l);case y:e:{for(b=u.key;null!==c;){if(c.key===b){if(4===c.tag&&c.stateNode.containerInfo===u.containerInfo&&c.stateNode.implementation===u.implementation){n(l,c.sibling),(d=i(c,u.children||[])).return=l,l=d;break e}n(l,c);break}t(l,c),c=c.sibling}(d=Gr(u,l.mode,d)).return=l,l=d}return o(l);case A:return m(l,c,u=ia(u),d)}if(j(u))return function(i,o,s,l){for(var c=null,u=null,d=o,m=o=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var y=f(i,d,s[m],l);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(i,d),o=a(y,o,m),null===u?c=y:u.sibling=y,u=y,d=g}if(m===s.length)return n(i,d),pi&&ai(i,m),c;if(null===d){for(;m<s.length;m++)null!==(d=p(i,s[m],l))&&(o=a(d,o,m),null===u?c=d:u.sibling=d,u=d);return pi&&ai(i,m),c}for(d=r(d);m<s.length;m++)null!==(g=h(d,i,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),o=a(g,o,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),pi&&ai(i,m),c}(l,c,u,d);if(O(u)){if("function"!==typeof(b=O(u)))throw Error(s(150));return function(i,o,l,c){if(null==l)throw Error(s(151));for(var u=null,d=null,m=o,g=o=0,y=null,v=l.next();null!==m&&!v.done;g++,v=l.next()){m.index>g?(y=m,m=null):y=m.sibling;var b=f(i,m,v.value,c);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(i,m),o=a(b,o,g),null===d?u=b:d.sibling=b,d=b,m=y}if(v.done)return n(i,m),pi&&ai(i,g),u;if(null===m){for(;!v.done;g++,v=l.next())null!==(v=p(i,v.value,c))&&(o=a(v,o,g),null===d?u=v:d.sibling=v,d=v);return pi&&ai(i,g),u}for(m=r(m);!v.done;g++,v=l.next())null!==(v=h(m,i,g,v.value,c))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),o=a(v,o,g),null===d?u=v:d.sibling=v,d=v);return e&&m.forEach(function(e){return t(i,e)}),pi&&ai(i,g),u}(l,c,u=b.call(u),d)}if("function"===typeof u.then)return m(l,c,ua(u),d);if(u.$$typeof===k)return m(l,c,ji(l,u),d);pa(l,u)}return"string"===typeof u&&""!==u||"number"===typeof u||"bigint"===typeof u?(u=""+u,null!==c&&6===c.tag?(n(l,c.sibling),(d=i(c,u)).return=l,l=d):(n(l,c),(d=Ur(u,l.mode,d)).return=l,l=d),o(l)):n(l,c)}return function(e,t,n,r){try{ca=0;var i=m(e,t,n,r);return la=null,i}catch(o){if(o===Zi||o===ea)throw o;var a=Lr(29,o,null,e.mode);return a.lanes=r,a.return=e,a}}}var ha=fa(!0),ma=fa(!1),ga=!1;function ya(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function va(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ba(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function _a(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&hc)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Mr(e),Fr(e,null,n),t}return Dr(e,r,t,n),Mr(e)}function wa(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194048&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Fe(e,n)}}function ka(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===a?i=a=o:a=a.next=o,n=n.next}while(null!==n);null===a?i=a=t:a=a.next=t}else i=a=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Sa=!1;function xa(){if(Sa){if(null!==Ui)throw Ui}}function Ca(e,t,n,r){Sa=!1;var i=e.updateQueue;ga=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,c=l.next;l.next=null,null===o?a=c:o.next=c,o=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==o&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==a){var d=i.baseState;for(o=0,u=c=l=null,s=a;;){var p=-536870913&s.lane,f=p!==s.lane;if(f?(yc&p)===p:(r&p)===p){0!==p&&p===Yi&&(Sa=!0),null!==u&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var m=e,g=s;p=t;var y=n;switch(g.tag){case 1:if("function"===typeof(m=g.payload)){d=m.call(y,d,p);break e}d=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null===(p="function"===typeof(m=g.payload)?m.call(y,d,p):m)||void 0===p)break e;d=h({},d,p);break e;case 2:ga=!0}}null!==(p=s.callback)&&(e.flags|=64,f&&(e.flags|=8192),null===(f=i.callbacks)?i.callbacks=[p]:f.push(p))}else f={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=f,l=d):u=u.next=f,o|=p;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(f=s).next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}null===u&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,null===a&&(i.shared.lanes=0),Cc|=o,e.lanes=o,e.memoizedState=d}}function Ea(e,t){if("function"!==typeof e)throw Error(s(191,e));e.call(t)}function Aa(e,t){var n=e.callbacks;
vendor: 8,508 bytes, line 2
2if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)Ea(n[e],t)}var Ta=B(null),Ia=B(0);function Ra(e,t){W(Ia,e=Sc),W(Ta,t),Sc=e|t.baseLanes}function Oa(){W(Ia,Sc),W(Ta,Ta.current)}function Da(){Sc=Ia.current,H(Ta),H(Ia)}var Na=B(null),ja=null;function Fa(e){var t=e.alternate;W(Ba,1&Ba.current),W(Na,e),null===ja&&(null===t||null!==Ta.current||null!==t.memoizedState)&&(ja=e)}function Ma(e){W(Ba,Ba.current),W(Na,e),null===ja&&(ja=e)}function Va(e){22===e.tag?(W(Ba,Ba.current),W(Na,e),null===ja&&(ja=e)):Pa()}function Pa(){W(Ba,Ba.current),W(Na,Na.current)}function La(e){H(Na),ja===e&&(ja=null),H(Ba)}var Ba=B(0);function Ha(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Dd(n)||Nd(n)))return t}else if(19!==t.tag||"forwards"!==t.memoizedProps.revealOrder&&"backwards"!==t.memoizedProps.revealOrder&&"unstable_legacy-backwards"!==t.memoizedProps.revealOrder&&"together"!==t.memoizedProps.revealOrder){if(null!==t.child){t.child.return=t,t=t.child;continue}}else if(0!==(128&t.flags))return t;if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Wa=0,za=null,Ya=null,Ua=null,Xa=!1,Ga=!1,qa=!1,Ja=0,$a=0,Ka=null,Za=0;function Qa(){throw Error(s(321))}function eo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Qn(e[n],t[n]))return!1;return!0}function to(e,t,n,r,i,a){return Wa=a,za=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,F.H=null===e||null===e.memoizedState?ys:vs,qa=!1,a=n(r,i),qa=!1,Ga&&(a=ro(t,n,r,i)),no(e),a}function no(e){F.H=gs;var t=null!==Ya&&null!==Ya.next;if(Wa=0,Ua=Ya=za=null,Xa=!1,$a=0,Ka=null,t)throw Error(s(300));null===e||js||null!==(e=e.dependencies)&&Oi(e)&&(js=!0)}function ro(e,t,n,r){za=e;var i=0;do{if(Ga&&(Ka=null),$a=0,Ga=!1,25<=i)throw Error(s(301));if(i+=1,Ua=Ya=null,null!=e.updateQueue){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,null!=a.memoCache&&(a.memoCache.index=0)}F.H=bs,a=t(n,r)}while(Ga);return a}function io(){var e=F.H,t=e.useState()[0];return t="function"===typeof t.then?uo(t):t,e=e.useState()[0],(null!==Ya?Ya.memoizedState:null)!==e&&(za.flags|=1024),t}function ao(){var e=0!==Ja;return Ja=0,e}function oo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function so(e){if(Xa){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Xa=!1}Wa=0,Ua=Ya=za=null,Ga=!1,$a=Ja=0,Ka=null}function lo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ua?za.memoizedState=Ua=e:Ua=Ua.next=e,Ua}function co(){if(null===Ya){var e=za.alternate;e=null!==e?e.memoizedState:null}else e=Ya.next;var t=null===Ua?za.memoizedState:Ua.next;if(null!==t)Ua=t,Ya=e;else{if(null===e){if(null===za.alternate)throw Error(s(467));throw Error(s(310))}e={memoizedState:(Ya=e).memoizedState,baseState:Ya.baseState,baseQueue:Ya.baseQueue,queue:Ya.queue,next:null},null===Ua?za.memoizedState=Ua=e:Ua=Ua.next=e}return Ua}function uo(e){var t=$a;return $a+=1,null===Ka&&(Ka=[]),e=ra(Ka,e,t),t=za,null===(null===Ua?t.memoizedState:Ua.next)&&(t=t.alternate,F.H=null===t||null===t.memoizedState?ys:vs),e}function po(e){if(null!==e&&"object"===typeof e){if("function"===typeof e.then)return uo(e);if(e.$$typeof===k)return Ni(e)}throw Error(s(438,String(e)))}function fo(e){var t=null,n=za.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=za.alternate;null!==r&&(null!==(r=r.updateQueue)&&(null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},za.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=I;return t.index++,n}function ho(e,t){return"function"===typeof t?t(e):t}function mo(e){return go(co(),Ya,e)}function go(e,t,n){var r=e.queue;if(null===r)throw Error(s(311));r.lastRenderedReducer=n;var i=e.baseQueue,a=r.pending;if(null!==a){if(null!==i){var o=i.next;i.next=a.next,a.next=o}t.baseQueue=i=a,r.pending=null}if(a=e.baseState,null===i)e.memoizedState=a;else{var l=o=null,c=null,u=t=i.next,d=!1;do{var p=-536870913&u.lane;if(p!==u.lane?(yc&p)===p:(Wa&p)===p){var f=u.revertLane;if(0===f)null!==c&&(c=c.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),p===Yi&&(d=!0);else{if((Wa&f)===f){u=u.next,f===Yi&&(d=!0);continue}p={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(l=c=p,o=a):c=c.next=p,za.lanes|=f,Cc|=f}p=u.action,qa&&n(a,p),a=u.hasEagerState?u.eagerState:n(a,p)}else f={lane:p,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(l=c=f,o=a):c=c.next=f,za.lanes|=p,Cc|=p;u=u.next}while(null!==u&&u!==t);if(null===c?o=a:c.next=l,!Qn(a,e.memoizedState)&&(js=!0,d&&null!==(n=Ui)))throw n;e.memoizedState=a,e.baseState=o,e.baseQueue=c,r.lastRenderedState=a}return null===i&&(r.lanes=0),[e.memoizedState,r.dispatch]}function yo(e){var t=co(),n=t.queue;if(null===n)throw Error(s(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var o=i=i.next;do{a=e(a,o.action),o=o.next}while(o!==i);Qn(a,t.memoizedState)||(js=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function vo(e,t,n){var r=za,i=co(),a=pi;if(a){if(void 0===n)throw Error(s(407));n=n()}else n=t();var o=!Qn((Ya||i).memoizedState,n);if(o&&(i.memoizedState=n,js=!0),i=i.queue,zo(wo.bind(null,r,i,e),[e]),i.getSnapshot!==t||o||null!==Ua&&1&Ua.memoizedState.tag){if(r.flags|=2048,Po(9,{destroy:void 0},_o.bind(null,r,i,n,t),null),null===mc)throw Error(s(349));a||0!==(127&Wa)||bo(r,t,n)}return n}function bo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=za.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},za.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function _o(e,t,n,r){t.value=n,t.getSnapshot=r,ko(t)&&So(e)}function wo(e,t,n){return n(function(){ko(t)&&So(e)})}function ko(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Qn(e,n)}catch(r){return!0}}function So(e){var t=jr(e,2);null!==t&&Jc(t,e,2)}function xo(e){var t=lo();if("function"===typeof e){var n=e;if(e=n(),qa){_e(!0);try{n()}finally{_e(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ho,lastRenderedState:e},t}function Co(e,t,n,r){return e.baseState=n,go(e,Ya,"function"===typeof r?r:ho)}function Eo(e,t,n,r,i){if(fs(e))throw Error(s(485));if(null!==(e=t.action)){var a={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};null!==F.T?n(!0):a.isTransition=!1,r(a),null===(n=t.pending)?(a.next=t.pending=a,Ao(t,a)):(a.next=n.next,t.pending=n.next=a)}}function Ao(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=F.T,o={};F.T=o;try{var s=n(i,r),l=F.S;null!==l&&l(o,s),To(e,t,s)}catch(c){Ro(e,t,c)}finally{null!==a&&null!==o.types&&(a.types=o.types),F.T=a}}else try{To(e,t,a=n(i,r))}catch(u){Ro(e,t,u)}}function To(e,t,n){null!==n&&"object"===typeof n&&"function"===typeof n.then?n.then(function(n){Io(e,t,n)},function(n){return Ro(e,t,n)}):Io(e,t,n)}function Io(e,t,n){t.status="fulfilled",t.value=n,Oo(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,Ao(e,n)))}function Ro(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,Oo(t),t=t.next}while(t!==r)}e.action=null}function Oo(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Do(e,t){return t}function No(e,t){if(pi){var n=mc.formState;if(null!==n){e:{var r=za;if(pi){if(di){t:{for(var i=di,a=hi;8!==i.nodeType;){if(!a){i=null;break t}if(null===(i=jd(i.nextSibling))){i=null;break t}}i="F!"===(a=i.data)||"F"===a?i:null}if(i){di=jd(i.nextSibling),r="F!"===i.data;break e}}gi(r)}r=!1}r&&(t=n[0])}}return(n=lo()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Do,lastRenderedState:t},n.queue=r,n=us.bind(null,za,r),r.dispatch=n,r=xo(!1),a=ps.bind(null,za,!1,r.queue),i={state:t,dispatch:null,action:e,pending:null},(r=lo()).queue=i,n=Eo.bind(null,za,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function jo(e){return Fo(co(),Ya,e)}
2function Fo(e,t,n){if(t=go(e,t,Do)[0],e=mo(ho)[0],"object"===typeof t&&null!==t&&"function"===typeof t.then)try{var r=uo(t)}catch(o){if(o===Zi)throw ea;throw o}else r=t;var i=(t=co()).queue,a=i.dispatch;return n!==t.memoizedState&&(za.flags|=2048,Po(9,{destroy:void 0},Mo.bind(null,i,n),null)),[r,a,e]}function Mo(e,t){e.action=t}function Vo(e){var t=co(),n=Ya;if(null!==n)return Fo(t,n,e);co(),t=t.memoizedState;var r=(n=co()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Po(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=za.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},za.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Lo(){return co().memoizedState}function Bo(e,t,n,r){var i=lo();za.flags|=e,i.memoizedState=Po(1|t,{destroy:void 0},n,void 0===r?null:r)}function Ho(e,t,n,r){var i=co();r=void 0===r?null:r;var a=i.memoizedState.inst;null!==Ya&&null!==r&&eo(r,Ya.memoizedState.deps)?i.memoizedState=Po(t,a,n,r):(za.flags|=e,i.memoizedState=Po(1|t,a,n,r))}function Wo(e,t){Bo(8390656,8,e,t)}function zo(e,t){Ho(2048,8,e,t)}function Yo(e){var t=co().memoizedState;return function(e){za.flags|=4;var t=za.updateQueue;if(null===t)t={lastEffect:null,events:null,stores:null,memoCache:null},za.updateQueue=t,t.events=[e];else{var n=t.events;null===n?t.events=[e]:n.push(e)}}({ref:t,nextImpl:e}),function(){if(0!==(2&hc))throw Error(s(440));return t.impl.apply(void 0,arguments)}}function Uo(e,t){return Ho(4,2,e,t)}function Xo(e,t){return Ho(4,4,e,t)}function Go(e,t){if("function"===typeof t){e=e();var n=t(e);return function(){"function"===typeof n?n():t(null)}}if(null!==t&&void 0!==t)return e=e(),t.current=e,function(){t.current=null}}function qo(e,t,n){n=null!==n&&void 0!==n?n.concat([e]):null,Ho(4,4,Go.bind(null,t,e),n)}function Jo(){}function $o(e,t){var n=co();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&eo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ko(e,t){var n=co();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&eo(t,r[1]))return r[0];if(r=e(),qa){_e(!0);try{e()}finally{_e(!1)}}return n.memoizedState=[r,t],r}function Zo(e,t,n){return void 0===n||0!==(1073741824&Wa)&&0===(261930&yc)?e.memoizedState=t:(e.memoizedState=n,e=qc(),za.lanes|=e,Cc|=e,n)}function Qo(e,t,n,r){return Qn(n,t)?n:null!==Ta.current?(e=Zo(e,n,r),Qn(e,t)||(js=!0),e):0===(42&Wa)||0!==(1073741824&Wa)&&0===(261930&yc)?(js=!0,e.memoizedState=n):(e=qc(),za.lanes|=e,Cc|=e,t)}function es(e,t,n,r,i){var a=M.p;M.p=0!==a&&8>a?a:8;var o=F.T,s={};F.T=s,ps(e,!1,t,n);try{var l=i(),c=F.S;if(null!==c&&c(s,l),null!==l&&"object"===typeof l&&"function"===typeof l.then)ds(e,t,function(e,t){var n=[],r={status:"pending",value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status="rejected",r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}(l,r),Gc());else ds(e,t,r,Gc())}catch(u){ds(e,t,{then:function(){},status:"rejected",reason:u},Gc())}finally{M.p=a,null!==o&&null!==s.types&&(o.types=s.types),F.T=o}}function ts(){}function ns(e,t,n,r){if(5!==e.tag)throw Error(s(476));var i=rs(e).queue;es(e,i,t,V,null===n?ts:function(){return is(e),n(r)})}function rs(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:V,baseState:V,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ho,lastRenderedState:V},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ho,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function is(e){var t=rs(e);null===t.next&&(t=e.alternate.memoizedState),ds(e,t.next.queue,{},Gc())}function as(){return Ni(dp)}function os(){return co().memoizedState}function ss(){return co().memoizedState}function ls(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=Gc(),r=_a(t,e=ba(n),n);return null!==r&&(Jc(r,t,n),wa(r,t,n)),t={cache:Bi()},void(e.payload=t)}t=t.return}}function cs(e,t,n){var r=Gc();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},fs(e)?hs(t,n):null!==(n=Nr(e,t,n,r))&&(Jc(n,e,r),ms(n,t,r))}
vendor: 10,019 bytes, line 2
2function us(e,t,n){ds(e,t,n,Gc())}function ds(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(fs(e))hs(t,i);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Qn(s,o))return Dr(e,t,i,0),null===mc&&Or(),!1}catch(l){}if(null!==(n=Nr(e,t,i,r)))return Jc(n,e,r),ms(n,t,r),!0}return!1}function ps(e,t,n,r){if(r={lane:2,revertLane:zu(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},fs(e)){if(t)throw Error(s(479))}else null!==(t=Nr(e,n,r,2))&&Jc(t,e,2)}function fs(e){var t=e.alternate;return e===za||null!==t&&t===za}function hs(e,t){Ga=Xa=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ms(e,t,n){if(0!==(4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Fe(e,n)}}var gs={readContext:Ni,use:po,useCallback:Qa,useContext:Qa,useEffect:Qa,useImperativeHandle:Qa,useLayoutEffect:Qa,useInsertionEffect:Qa,useMemo:Qa,useReducer:Qa,useRef:Qa,useState:Qa,useDebugValue:Qa,useDeferredValue:Qa,useTransition:Qa,useSyncExternalStore:Qa,useId:Qa,useHostTransitionStatus:Qa,useFormState:Qa,useActionState:Qa,useOptimistic:Qa,useMemoCache:Qa,useCacheRefresh:Qa};gs.useEffectEvent=Qa;var ys={readContext:Ni,use:po,useCallback:function(e,t){return lo().memoizedState=[e,void 0===t?null:t],e},useContext:Ni,useEffect:Wo,useImperativeHandle:function(e,t,n){n=null!==n&&void 0!==n?n.concat([e]):null,Bo(4194308,4,Go.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bo(4194308,4,e,t)},useInsertionEffect:function(e,t){Bo(4,2,e,t)},useMemo:function(e,t){var n=lo();t=void 0===t?null:t;var r=e();if(qa){_e(!0);try{e()}finally{_e(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=lo();if(void 0!==n){var i=n(t);if(qa){_e(!0);try{n(t)}finally{_e(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=cs.bind(null,za,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},lo().memoizedState=e},useState:function(e){var t=(e=xo(e)).queue,n=us.bind(null,za,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Jo,useDeferredValue:function(e,t){return Zo(lo(),e,t)},useTransition:function(){var e=xo(!1);return e=es.bind(null,za,e.queue,!0,!1),lo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=za,i=lo();if(pi){if(void 0===n)throw Error(s(407));n=n()}else{if(n=t(),null===mc)throw Error(s(349));0!==(127&yc)||bo(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Wo(wo.bind(null,r,a,e),[e]),r.flags|=2048,Po(9,{destroy:void 0},_o.bind(null,r,a,n,t),null),n},useId:function(){var e=lo(),t=mc.identifierPrefix;if(pi){var n=ii;t="_"+t+"R_"+(n=(ri&~(1<<32-we(ri)-1)).toString(32)+n),0<(n=Ja++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=Za++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:as,useFormState:No,useActionState:No,useOptimistic:function(e){var t=lo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=ps.bind(null,za,!0,n),n.dispatch=t,[e,t]},useMemoCache:fo,useCacheRefresh:function(){return lo().memoizedState=ls.bind(null,za)},useEffectEvent:function(e){var t=lo(),n={impl:e};return t.memoizedState=n,function(){if(0!==(2&hc))throw Error(s(440));return n.impl.apply(void 0,arguments)}}},vs={readContext:Ni,use:po,useCallback:$o,useContext:Ni,useEffect:zo,useImperativeHandle:qo,useInsertionEffect:Uo,useLayoutEffect:Xo,useMemo:Ko,useReducer:mo,useRef:Lo,useState:function(){return mo(ho)},useDebugValue:Jo,useDeferredValue:function(e,t){return Qo(co(),Ya.memoizedState,e,t)},useTransition:function(){var e=mo(ho)[0],t=co().memoizedState;return["boolean"===typeof e?e:uo(e),t]},useSyncExternalStore:vo,useId:os,useHostTransitionStatus:as,useFormState:jo,useActionState:jo,useOptimistic:function(e,t){return Co(co(),0,e,t)},useMemoCache:fo,useCacheRefresh:ss};vs.useEffectEvent=Yo;var bs={readContext:Ni,use:po,useCallback:$o,useContext:Ni,useEffect:zo,useImperativeHandle:qo,useInsertionEffect:Uo,useLayoutEffect:Xo,useMemo:Ko,useReducer:yo,useRef:Lo,useState:function(){return yo(ho)},useDebugValue:Jo,useDeferredValue:function(e,t){var n=co();return null===Ya?Zo(n,e,t):Qo(n,Ya.memoizedState,e,t)},useTransition:function(){var e=yo(ho)[0],t=co().memoizedState;return["boolean"===typeof e?e:uo(e),t]},useSyncExternalStore:vo,useId:os,useHostTransitionStatus:as,useFormState:Vo,useActionState:Vo,useOptimistic:function(e,t){var n=co();return null!==Ya?Co(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:fo,useCacheRefresh:ss};function _s(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:h({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}bs.useEffectEvent=Yo;var ws={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Gc(),i=ba(r);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=_a(e,i,r))&&(Jc(t,e,r),wa(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Gc(),i=ba(r);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=_a(e,i,r))&&(Jc(t,e,r),wa(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Gc(),r=ba(n);r.tag=2,void 0!==t&&null!==t&&(r.callback=t),null!==(t=_a(e,r,n))&&(Jc(t,e,n),wa(t,e,n))}};function ks(e,t,n,r,i,a,o){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!t.prototype||!t.prototype.isPureReactComponent||(!er(n,r)||!er(i,a))}function Ss(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ws.enqueueReplaceState(t,t.state,null)}function xs(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=h({},n)),e)void 0===n[i]&&(n[i]=e[i]);return n}function Cs(e){Ar(e)}function Es(e){console.error(e)}function As(e){Ar(e)}function Ts(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function Is(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function Rs(e,t,n){return(n=ba(n)).tag=3,n.payload={element:null},n.callback=function(){Ts(e,t)},n}function Os(e){return(e=ba(e)).tag=3,e}function Ds(e,t,n,r){var i=n.type.getDerivedStateFromError;if("function"===typeof i){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Is(t,n,r)}}var o=n.stateNode;null!==o&&"function"===typeof o.componentDidCatch&&(e.callback=function(){Is(t,n,r),"function"!==typeof i&&(null===Vc?Vc=new Set([this]):Vc.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var Ns=Error(s(461)),js=!1;function Fs(e,t,n,r){t.child=null===e?ma(t,null,n,r):ha(t,e.child,n,r)}function Ms(e,t,n,r,i){n=n.render;var a=t.ref;if("ref"in r){var o={};for(var s in r)"ref"!==s&&(o[s]=r[s])}else o=r;return Di(t),r=to(e,t,n,o,a,i),s=ao(),null===e||js?(pi&&s&&si(t),t.flags|=1,Fs(e,t,r,i),t.child):(oo(e,t,i),al(e,t,i))}function Vs(e,t,n,r,i){if(null===e){var a=n.type;return"function"!==typeof a||Br(a)||void 0!==a.defaultProps||null!==n.compare?((e=zr(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ps(e,t,a,r,i))}if(a=e.child,!ol(e,i)){var o=a.memoizedProps;if((n=null!==(n=n.compare)?n:er)(o,r)&&e.ref===t.ref)return al(e,t,i)}return t.flags|=1,(e=Hr(a,r)).ref=t.ref,e.return=t,t.child=e}function Ps(e,t,n,r,i){if(null!==e){var a=e.memoizedProps;if(er(a,r)&&e.ref===t.ref){if(js=!1,t.pendingProps=r=a,!ol(e,i))return t.lanes=e.lanes,al(e,t,i);0!==(131072&e.flags)&&(js=!0)}}return Us(e,t,n,r,i)}function Ls(e,t,n,r){var i=r.children,a=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(0!==(128&t.flags)){if(a=null!==a?a.baseLanes|n:n,null!==e){for(r=t.child=e.child,i=0;null!==r;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return Hs(e,t,a,n,r)}if(0===(536870912&n))return r=t.lanes=536870912,Hs(e,t,null!==a?a.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&$i(0,null!==a?a.cachePool:null),null!==a?Ra(t,a):Oa(),Va(t)}else null!==a?($i(0,a.cachePool),Ra(t,a),Pa(),t.memoizedState=null):(null!==e&&$i(0,null),Oa(),Pa());return Fs(e,t,i,n),t.child}function Bs(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Hs(e,t,n,r,i){var a=Ji();return a=null===a?null:{parent:Li._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},null!==e&&$i(0,null),Oa(),Va(t),null!==e&&Ri(e,t,r,!0),t.childLanes=i,null}function Ws(e,t){return(t=el({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function zs(e,t,n){return ha(t,e.child,null,n),(e=Ws(t,t.pendingProps)).flags|=2,La(t),t.memoizedState=null,e}function Ys(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!==typeof n&&"object"!==typeof n)throw Error(s(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function Us(e,t,n,r,i){return Di(t),n=to(e,t,n,r,void 0,i),r=ao(),null===e||js?(pi&&r&&si(t),t.flags|=1,Fs(e,t,n,i),t.child):(oo(e,t,i),al(e,t,i))}function Xs(e,t,n,r,i,a){return Di(t),t.updateQueue=null,n=ro(t,r,n,i),no(e),r=ao(),null===e||js?(pi&&r&&si(t),t.flags|=1,Fs(e,t,n,a),t.child):(oo(e,t,a),al(e,t,a))}function Gs(e,t,n,r,i){if(Di(t),null===t.stateNode){var a=Vr,o=n.contextType;"object"===typeof o&&null!==o&&(a=Ni(o)),a=new n(r,a),t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,a.updater=ws,t.stateNode=a,a._reactInternals=t,(a=t.stateNode).props=r,a.state=t.memoizedState,a.refs={}
2,ya(t),o=n.contextType,a.context="object"===typeof o&&null!==o?Ni(o):Vr,a.state=t.memoizedState,"function"===typeof(o=n.getDerivedStateFromProps)&&(_s(t,n,o,r),a.state=t.memoizedState),"function"===typeof n.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(o=a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),o!==a.state&&ws.enqueueReplaceState(a,a.state,null),Ca(t,r,a,i),xa(),a.state=t.memoizedState),"function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){a=t.stateNode;var s=t.memoizedProps,l=xs(n,s);a.props=l;var c=a.context,u=n.contextType;o=Vr,"object"===typeof u&&null!==u&&(o=Ni(u));var d=n.getDerivedStateFromProps;u="function"===typeof d||"function"===typeof a.getSnapshotBeforeUpdate,s=t.pendingProps!==s,u||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s||c!==o)&&Ss(t,a,r,o),ga=!1;var p=t.memoizedState;a.state=p,Ca(t,r,a,i),xa(),c=t.memoizedState,s||p!==c||ga?("function"===typeof d&&(_s(t,n,d,r),c=t.memoizedState),(l=ga||ks(t,n,l,r,p,c,o))?(u||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=o,r=l):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,va(e,t),u=xs(n,o=t.memoizedProps),a.props=u,d=t.pendingProps,p=a.context,c=n.contextType,l=Vr,"object"===typeof c&&null!==c&&(l=Ni(c)),(c="function"===typeof(s=n.getDerivedStateFromProps)||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(o!==d||p!==l)&&Ss(t,a,r,l),ga=!1,p=t.memoizedState,a.state=p,Ca(t,r,a,i),xa();var f=t.memoizedState;o!==d||p!==f||ga||null!==e&&null!==e.dependencies&&Oi(e.dependencies)?("function"===typeof s&&(_s(t,n,s,r),f=t.memoizedState),(u=ga||ks(t,n,u,r,p,f,l)||null!==e&&null!==e.dependencies&&Oi(e.dependencies))?(c||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=u):("function"!==typeof a.componentDidUpdate||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Ys(e,t),r=0!==(128&t.flags),a||r?(a=t.stateNode,n=r&&"function"!==typeof n.getDerivedStateFromError?null:a.render(),t.flags|=1,null!==e&&r?(t.child=ha(t,e.child,null,i),t.child=ha(t,null,n,i)):Fs(e,t,n,i),t.memoizedState=a.state,e=t.child):e=al(e,t,i),e}function qs(e,t,n,r){return _i(),t.flags|=256,Fs(e,t,n,r),t.child}var Js={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function $s(e){return{baseLanes:e,cachePool:Ki()}}function Ks(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=Tc),e}function Zs(e,t,n){var r,i=t.pendingProps,a=!1,o=0!==(128&t.flags);if((r=o)||(r=(null===e||null!==e.memoizedState)&&0!==(2&Ba.current)),r&&(a=!0,t.flags&=-129),r=0!==(32&t.flags),t.flags&=-33,null===e){if(pi){if(a?Fa(t):Pa(),(e=di)?null!==(e=null!==(e=Od(e,hi))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==ni?{id:ri,overflow:ii}:null,retryLane:536870912,hydrationErrors:null},(n=Xr(e)).return=t,t.child=n,ui=t,di=null):e=null,null===e)throw gi(t);return Nd(e)?t.lanes=32:t.lanes=536870912,null}var l=i.children;return i=i.fallback,a?(Pa(),l=el({mode:"hidden",children:l},a=t.mode),i=Yr(i,a,n,null),l.return=t,i.return=t,l.sibling=i,t.child=l,(i=t.child).memoizedState=$s(n),i.childLanes=Ks(e,r,n),t.memoizedState=Js,Bs(null,i)):(Fa(t),Qs(t,l))}var c=e.memoizedState;if(null!==c&&null!==(l=c.dehydrated)){if(o)256&t.flags?(Fa(t),t.flags&=-257,t=tl(e,t,n)):null!==t.memoizedState?(Pa(),t.child=e.child,t.flags|=128,t=null):(Pa(),l=i.fallback,a=t.mode,i=el({mode:"visible",children:i.children},a),(l=Yr(l,a,n,null)).flags|=2,i.return=t,l.return=t,i.sibling=l,t.child=i,ha(t,e.child,null,n),(i=t.child).memoizedState=$s(n),i.childLanes=Ks(e,r,n),t.memoizedState=Js,t=Bs(null,i));else if(Fa(t),Nd(l)){if(r=l.nextSibling&&l.nextSibling.dataset)var u=r.dgst;
vendor: 18,696 bytes, line 2
2r=u,(i=Error(s(419))).stack="",i.digest=r,ki({value:i,source:null,stack:null}),t=tl(e,t,n)}else if(js||Ri(e,t,n,!1),r=0!==(n&e.childLanes),js||r){if(null!==(r=mc)&&(0!==(i=Me(r,n))&&i!==c.retryLane))throw c.retryLane=i,jr(e,i),Jc(r,e,i),Ns;Dd(l)||su(),t=tl(e,t,n)}else Dd(l)?(t.flags|=192,t.child=e.child,t=null):(e=c.treeContext,di=jd(l.nextSibling),ui=t,pi=!0,fi=null,hi=!1,null!==e&&ci(t,e),(t=Qs(t,i.children)).flags|=4096);return t}return a?(Pa(),l=i.fallback,a=t.mode,u=(c=e.child).sibling,(i=Hr(c,{mode:"hidden",children:i.children})).subtreeFlags=65011712&c.subtreeFlags,null!==u?l=Hr(u,l):(l=Yr(l,a,n,null)).flags|=2,l.return=t,i.return=t,i.sibling=l,t.child=i,Bs(null,i),i=t.child,null===(l=e.child.memoizedState)?l=$s(n):(null!==(a=l.cachePool)?(c=Li._currentValue,a=a.parent!==c?{parent:c,pool:c}:a):a=Ki(),l={baseLanes:l.baseLanes|n,cachePool:a}),i.memoizedState=l,i.childLanes=Ks(e,r,n),t.memoizedState=Js,Bs(e.child,i)):(Fa(t),e=(n=e.child).sibling,(n=Hr(n,{mode:"visible",children:i.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function Qs(e,t){return(t=el({mode:"visible",children:t},e.mode)).return=e,e.child=t}function el(e,t){return(e=Lr(22,e,null,t)).lanes=0,e}function tl(e,t,n){return ha(t,e.child,null,n),(e=Qs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function nl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ti(e.return,t,n)}function rl(e,t,n,r,i,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function il(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=Ba.current,s=0!==(2&o);if(s?(o=1&o|2,t.flags|=128):o&=1,W(Ba,o),Fs(e,t,r,n),r=pi?Qr:0,!s&&null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&nl(e,n,t);else if(19===e.tag)nl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Ha(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),rl(t,!1,i,n,a,r);break;case"backwards":case"unstable_legacy-backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Ha(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}rl(t,!0,n,null,a,r);break;case"together":rl(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function al(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Cc|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(Ri(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(s(153));if(null!==t.child){for(n=Hr(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Hr(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function ol(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!Oi(e))}function sl(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)js=!0;else{if(!ol(e,n)&&0===(128&t.flags))return js=!1,function(e,t,n){switch(t.tag){case 3:J(t,t.stateNode.containerInfo),Ei(0,Li,e.memoizedState.cache),_i();break;case 27:case 5:K(t);break;case 4:J(t,t.stateNode.containerInfo);break;case 10:Ei(0,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,Ma(t),null;break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(Fa(t),t.flags|=128,null):0!==(n&t.child.childLanes)?Zs(e,t,n):(Fa(t),null!==(e=al(e,t,n))?e.sibling:null);Fa(t);break;case 19:var i=0!==(128&e.flags);if((r=0!==(n&t.childLanes))||(Ri(e,t,n,!1),r=0!==(n&t.childLanes)),i){if(r)return il(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),W(Ba,Ba.current),r)break;return null;case 22:return t.lanes=0,Ls(e,t,n,t.pendingProps);case 24:Ei(0,Li,e.memoizedState.cache)}return al(e,t,n)}(e,t,n);js=0!==(131072&e.flags)}else js=!1,pi&&0!==(1048576&t.flags)&&oi(t,Qr,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=ia(t.elementType),t.type=e,"function"!==typeof e){if(void 0!==e&&null!==e){var i=e.$$typeof;if(i===S){t.tag=11,t=Ms(null,t,e,r,n);break e}if(i===E){t.tag=14,t=Vs(null,t,e,r,n);break e}}throw t=N(e)||e,Error(s(306,t,""))}Br(e)?(r=xs(e,r),t.tag=1,t=Gs(null,t,e,r,n)):(t.tag=0,t=Us(null,t,e,r,n))}return t;case 0:return Us(e,t,t.type,t.pendingProps,n);case 1:return Gs(e,t,r=t.type,i=xs(r,t.pendingProps),n);case 3:e:{if(J(t,t.stateNode.containerInfo),null===e)throw Error(s(387));r=t.pendingProps;var a=t.memoizedState;i=a.element,va(e,t),Ca(t,r,null,n);var o=t.memoizedState;if(r=o.cache,Ei(0,Li,r),r!==a.cache&&Ii(t,[Li],n,!0),xa(),r=o.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=qs(e,t,r,n);break e}if(r!==i){ki(i=Jr(Error(s(424)),t)),t=qs(e,t,r,n);break e}if(9===(e=t.stateNode.containerInfo).nodeType)e=e.body;else e="HTML"===e.nodeName?e.ownerDocument.body:e;for(di=jd(e.firstChild),ui=t,pi=!0,fi=null,hi=!0,n=ma(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(_i(),r===i){t=al(e,t,n);break e}Fs(e,t,r,n)}t=t.child}return t;case 26:return Ys(e,t),null===e?(n=Xd(t.type,null,t.pendingProps,null))?t.memoizedState=n:pi||(n=t.type,e=t.pendingProps,(r=yd(G.current).createElement(n))[We]=t,r[ze]=e,fd(r,n,e),tt(r),t.stateNode=r):t.memoizedState=Xd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return K(t),null===e&&pi&&(r=t.stateNode=Pd(t.type,t.pendingProps,G.current),ui=t,hi=!0,i=di,Ad(t.type)?(Fd=i,di=jd(r.firstChild)):di=i),Fs(e,t,t.pendingProps.children,n),Ys(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&pi&&((i=r=di)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[Je])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(a!==i.rel||e.getAttribute("href")!==(null==i.href||""===i.href?null:i.href)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin)||e.getAttribute("title")!==(null==i.title?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==i.src?null:i.src)||e.getAttribute("type")!==(null==i.type?null:i.type)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==i.name?null:""+i.name;if("hidden"===i.type&&e.getAttribute("name")===a)return e}if(null===(e=jd(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,hi))?(t.stateNode=r,ui=t,di=jd(r.firstChild),hi=!1,i=!0):i=!1),i||gi(t)),K(t),i=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,r=a.children,_d(i,a)?r=null:null!==o&&_d(i,o)&&(t.flags|=32),null!==t.memoizedState&&(i=to(e,t,io,null,null,n),dp._currentValue=i),Ys(e,t),Fs(e,t,r,n),t.child;case 6:return null===e&&pi&&((e=n=di)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=jd(e.nextSibling)))return null}return e}(n,t.pendingProps,hi))?(t.stateNode=n,ui=t,di=null,e=!0):e=!1),e||gi(t)),null;case 13:return Zs(e,t,n);case 4:return J(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ha(t,null,r,n):Fs(e,t,r,n),t.child;case 11:return Ms(e,t,t.type,t.pendingProps,n);case 7:return Fs(e,t,t.pendingProps,n),t.child;case 8:case 12:return Fs(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Ei(0,t.type,r.value),Fs(e,t,r.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,Di(t),r=r(i=Ni(i)),t.flags|=1,Fs(e,t,r,n),t.child;case 14:return Vs(e,t,t.type,t.pendingProps,n);case 15:return Ps(e,t,t.type,t.pendingProps,n);case 19:return il(e,t,n);case 31:return function(e,t,n){var r=t.pendingProps,i=0!==(128&t.flags);if(t.flags&=-129,null===e){if(pi){if("hidden"===r.mode)return e=Ws(t,r),t.lanes=536870912,Bs(null,e);if(Ma(t),(e=di)?null!==(e=null!==(e=Od(e,hi))&&"&"===e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==ni?{id:ri,overflow:ii}:null,retryLane:536870912,hydrationErrors:null},(n=Xr(e)).return=t,t.child=n,ui=t,di=null):e=null,null===e)throw gi(t);return t.lanes=536870912,null}return Ws(t,r)}var a=e.memoizedState;if(null!==a){var o=a.dehydrated;if(Ma(t),i)if(256&t.flags)t.flags&=-257,t=zs(e,t,n);else{if(null===t.memoizedState)throw Error(s(558));t.child=e.child,t.flags|=128,t=null}else if(js||Ri(e,t,n,!1),i=0!==(n&e.childLanes),js||i){if(null!==(r=mc)&&0!==(o=Me(r,n))&&o!==a.retryLane)throw a.retryLane=o,jr(e,o),Jc(r,e,o),Ns;su(),t=zs(e,t,n)}else e=a.treeContext,di=jd(o.nextSibling),ui=t,pi=!0,fi=null,hi=!1,null!==e&&ci(t,e),(t=Ws(t,r)).flags|=4096;return t}return(e=Hr(e.child,{mode:r.mode,children:r.children})).ref=t.ref,t.child=e,e.return=t,e}(e,t,n);case 22:return Ls(e,t,n,t.pendingProps);case 24:return Di(t),r=Ni(Li),null===e?(null===(i=Ji())&&(i=mc,a=Bi(),i.pooledCache=a,a.refCount++,null!==a&&(i.pooledCacheLanes|=n),i=a),t.memoizedState={parent:r,cache:i},ya(t),Ei(0,Li,i)):(0!==(e.lanes&n)&&(va(e,t),Ca(t,null,null,n),xa()),i=e.memoizedState,a=t.memoizedState,i.parent!==r?(i={parent:r,cache:r},t.memoizedState=i,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=i),Ei(0,Li,r)):(r=a.cache,Ei(0,Li,r),r!==i.cache&&Ii(t,[Li],n,!0))),Fs(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function ll(e){e.flags|=4}function cl(e,t,n,r,i){if((t=0!==(32&e.mode))&&(t=!1),t){if(e.flags|=16777216,(335544128&i)===i)if(e.stateNode.complete)e.flags|=8192;else{if(!iu())throw aa=ta,Qi;e.flags|=8192}}else e.flags&=-16777217}function ul(e,t){if("stylesheet"!==t.type||0!==(4&t.state.loading))e.flags&=-16777217;else if(e.flags|=16777216,!ap(t)){if(!iu())throw aa=ta,Qi;e.flags|=8192}}function dl(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Oe():536870912,e.lanes|=t,Ic|=t)}function pl(e,t){if(!pi)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function fl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=65011712&i.subtreeFlags,r|=65011712&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function hl(e,t,n){var r=t.pendingProps;switch(li(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return fl(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Ai(Li),$(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(bi(t)?ll(t):null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,wi())),fl(t),null;case 26:var i=t.type,a=t.memoizedState;return null===e?(ll(t),null!==a?(fl(t),ul(t,a)):(fl(t),cl(t,i,0,0,n))):a?a!==e.memoizedState?(ll(t),fl(t),ul(t,a)):(fl(t),t.flags&=-16777217):((e=e.memoizedProps)!==r&&ll(t),fl(t),cl(t,i,0,0,n)),null;case 27:if(Z(t),n=G.current,i=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&ll(t);else{if(!r){if(null===t.stateNode)throw Error(s(166));return fl(t),null}e=U.current,bi(t)?yi(t):(e=Pd(i,r,n),t.stateNode=e,ll(t))}return fl(t),null;case 5:if(Z(t),i=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&ll(t);else{if(!r){if(null===t.stateNode)throw Error(s(166));return fl(t),null}if(a=U.current,bi(t))yi(t);else{var o=yd(G.current);switch(a){case 1:a=o.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:a=o.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":a=o.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":a=o.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":(a=o.createElement("div")).innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a="string"===typeof r.is?o.createElement("select",{is:r.is}):o.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a="string"===typeof r.is?o.createElement(i,{is:r.is}):o.createElement(i)}}a[We]=t,a[ze]=r;e:for(o=t.child;null!==o;){if(5===o.tag||6===o.tag)a.appendChild(o.stateNode);else if(4!==o.tag&&27!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;null===o.sibling;){if(null===o.return||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=a;e:switch(fd(a,i,r),i){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&ll(t)}}return fl(t),cl(t,t.type,null===e||e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&ll(t);else{if("string"!==typeof r&&null===t.stateNode)throw Error(s(166));if(e=G.current,bi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(i=ui))switch(i.tag){case 27:case 5:r=i.memoizedProps}e[We]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||ud(e.nodeValue,n)))||gi(t,!0)}else(e=yd(e).createTextNode(r))[We]=t,t.stateNode=e}return fl(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=bi(t),null!==n){if(null===e){if(!r)throw Error(s(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(s(557));e[We]=t}else _i(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;fl(t),e=!1}else n=wi(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return 256&t.flags?(La(t),t):(La(t),null);if(0!==(128&t.flags))throw Error(s(558))}return fl(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(i=bi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(s(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(s(317));i[We]=t}else _i(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;fl(t),i=!1}else i=wi(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return 256&t.flags?(La(t),t):(La(t),null)}return La(t),0!==(128&t.flags)?(t.lanes=n,t):(n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(i=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(i=r.alternate.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),dl(t,t.updateQueue),fl(t),null);case 4:return $(),null===e&&ed(t.stateNode.containerInfo),fl(t),null;case 10:return Ai(t.type),fl(t),null;case 19:if(H(Ba),null===(r=t.memoizedState))return fl(t),null;if(i=0!==(128&t.flags),null===(a=r.rendering))if(i)pl(r,!1);else{if(0!==xc||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(a=Ha(e))){for(t.flags|=128,pl(r,!1),e=a.updateQueue,t.updateQueue=e,dl(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)Wr(n,e),n=n.sibling;return W(Ba,1&Ba.current|2),pi&&ai(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&ce()>Fc&&(t.flags|=128,i=!0,pl(r,!1),t.lanes=4194304)}else{if(!i)if(null!==(e=Ha(a))){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,dl(t,e),pl(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate&&!pi)return fl(t),null}else 2*ce()-r.renderingStartTime>Fc&&536870912!==n&&(t.flags|=128,i=!0,pl(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=r.last)?e.sibling=a:t.child=a,r.last=a)}return null!==r.tail?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ce(),e.sibling=null,n=Ba.current,W(Ba,i?1&n|2:1&n),pi&&ai(t,r.treeForkCount),e):(fl(t),null);case 22:case 23:return La(t),Da(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!==(536870912&n)&&0===(128&t.flags)&&(fl(t),6&t.subtreeFlags&&(t.flags|=8192)):fl(t),null!==(n=t.updateQueue)&&dl(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&H(qi),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ai(Li),fl(t),null;case 25:case 30:return null}throw Error(s(156,t.tag))}function ml(e,t){switch(li(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Ai(Li),$(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return Z(t),null;case 31:if(null!==t.memoizedState){if(La(t),null===t.alternate)throw Error(s(340));_i()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(La(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(s(340));_i()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return H(Ba),null;case 4:return $(),null;case 10:return Ai(t.type),null;case 22:case 23:return La(t),Da(),null!==e&&H(qi),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return Ai(Li),null;default:return null}}function gl(e,t){switch(li(t),t.tag){case 3:Ai(Li),$();break;case 26:case 27:case 5:Z(t);break;case 4:$();break;case 31:null!==t.memoizedState&&La(t);break;case 13:La(t);break;case 19:H(Ba);break;case 10:Ai(t.type);break;case 22:case 23:La(t),Da(),null!==e&&H(qi);break;case 24:Ai(Li)}}function yl(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(s){xu(t,t.return,s)}}function vl(e,t,n){try{var r=t.updateQueue,i=null!==r?r.lastEffect:null;if(null!==i){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(void 0!==s){o.destroy=void 0,i=t;var l=n,c=s;try{c()}catch(u){xu(i,l,u)}}}r=r.next}
vendor: 4,339 bytes, line 2
2while(r!==a)}}catch(u){xu(t,t.return,u)}}function bl(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{Aa(t,n)}catch(r){xu(e,e.return,r)}}}function _l(e,t,n){n.props=xs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(r){xu(e,t,r)}}function wl(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"===typeof n?e.refCleanup=n(r):n.current=r}}catch(i){xu(e,t,i)}}function kl(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"===typeof r)try{r()}catch(i){xu(e,t,i)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"===typeof n)try{n(null)}catch(a){xu(e,t,a)}else n.current=null}function Sl(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(i){xu(e,e.return,i)}}function xl(e,t,n){try{var r=e.stateNode;!function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,a=null,o=null,l=null,c=null,u=null,d=null;for(h in n){var p=n[h];if(n.hasOwnProperty(h)&&null!=p)switch(h){case"checked":case"value":break;case"defaultValue":c=p;default:r.hasOwnProperty(h)||dd(e,t,h,null,r,p)}}for(var f in r){var h=r[f];if(p=n[f],r.hasOwnProperty(f)&&(null!=h||null!=p))switch(f){case"type":a=h;break;case"name":i=h;break;case"checked":u=h;break;case"defaultChecked":d=h;break;case"value":o=h;break;case"defaultValue":l=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(s(137,t));break;default:h!==p&&dd(e,t,f,h,r,p)}}return void bt(e,o,l,c,u,d,a,i);case"select":for(a in h=o=l=f=null,n)if(c=n[a],n.hasOwnProperty(a)&&null!=c)switch(a){case"value":break;case"multiple":h=c;default:r.hasOwnProperty(a)||dd(e,t,a,null,r,c)}for(i in r)if(a=r[i],c=n[i],r.hasOwnProperty(i)&&(null!=a||null!=c))switch(i){case"value":f=a;break;case"defaultValue":l=a;break;case"multiple":o=a;default:a!==c&&dd(e,t,i,a,r,c)}return t=l,n=o,r=h,void(null!=f?kt(e,!!n,f,!1):!!r!==!!n&&(null!=t?kt(e,!!n,t,!0):kt(e,!!n,n?[]:"",!1)));case"textarea":for(l in h=f=null,n)if(i=n[l],n.hasOwnProperty(l)&&null!=i&&!r.hasOwnProperty(l))switch(l){case"value":case"children":break;default:dd(e,t,l,null,r,i)}for(o in r)if(i=r[o],a=n[o],r.hasOwnProperty(o)&&(null!=i||null!=a))switch(o){case"value":f=i;break;case"defaultValue":h=i;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=i)throw Error(s(91));break;default:i!==a&&dd(e,t,o,i,r,a)}return void St(e,f,h);case"option":for(var m in n)if(f=n[m],n.hasOwnProperty(m)&&null!=f&&!r.hasOwnProperty(m))if("selected"===m)e.selected=!1;else dd(e,t,m,null,r,f);for(c in r)if(f=r[c],h=n[c],r.hasOwnProperty(c)&&f!==h&&(null!=f||null!=h))if("selected"===c)e.selected=f&&"function"!==typeof f&&"symbol"!==typeof f;else dd(e,t,c,f,r,h);return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)f=n[g],n.hasOwnProperty(g)&&null!=f&&!r.hasOwnProperty(g)&&dd(e,t,g,null,r,f);for(u in r)if(f=r[u],h=n[u],r.hasOwnProperty(u)&&f!==h&&(null!=f||null!=h))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(s(137,t));break;default:dd(e,t,u,f,r,h)}return;default:if(It(t)){for(var y in n)f=n[y],n.hasOwnProperty(y)&&void 0!==f&&!r.hasOwnProperty(y)&&pd(e,t,y,void 0,r,f);for(d in r)f=r[d],h=n[d],!r.hasOwnProperty(d)||f===h||void 0===f&&void 0===h||pd(e,t,d,f,r,h);return}}for(var v in n)f=n[v],n.hasOwnProperty(v)&&null!=f&&!r.hasOwnProperty(v)&&dd(e,t,v,null,r,f);for(p in r)f=r[p],h=n[p],!r.hasOwnProperty(p)||f===h||null==f&&null==h||dd(e,t,p,f,r,h)}(r,e.type,n,t),r[ze]=t}catch(i){xu(e,e.return,i)}}function Cl(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&Ad(e.type)||4===e.tag}function El(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Cl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&Ad(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Al(e,t,n){var r=e.tag;
vendor: 5,674 bytes, line 2
2if(5===r||6===r)e=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Nt));else if(4!==r&&(27===r&&Ad(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(Al(e,t,n),e=e.sibling;null!==e;)Al(e,t,n),e=e.sibling}function Tl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&Ad(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(Tl(e,t,n),e=e.sibling;null!==e;)Tl(e,t,n),e=e.sibling}function Il(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);fd(t,r,n),t[We]=e,t[ze]=n}catch(a){xu(e,e.return,a)}}var Rl=!1,Ol=!1,Dl=!1,Nl="function"===typeof WeakSet?WeakSet:Set,jl=null;function Fl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Jl(e,n),4&r&&yl(5,n);break;case 1:if(Jl(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(o){xu(n,n.return,o)}else{var i=xs(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){xu(n,n.return,s)}}64&r&&bl(n),512&r&&wl(n,n.return);break;case 3:if(Jl(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{Aa(e,t)}catch(o){xu(n,n.return,o)}}break;case 27:null===t&&4&r&&Il(n);case 26:case 5:Jl(e,n),null===t&&4&r&&Sl(n),512&r&&wl(n,n.return);break;case 12:Jl(e,n);break;case 31:Jl(e,n),4&r&&Hl(e,n);break;case 13:Jl(e,n),4&r&&Wl(e,n),64&r&&(null!==(e=n.memoizedState)&&(null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=Tu.bind(null,n))));break;case 22:if(!(r=null!==n.memoizedState||Rl)){t=null!==t&&null!==t.memoizedState||Ol,i=Rl;var a=Ol;Rl=r,(Ol=t)&&!a?Kl(e,n,0!==(8772&n.subtreeFlags)):Jl(e,n),Rl=i,Ol=a}break;case 30:break;default:Jl(e,n)}}function Ml(e){var t=e.alternate;null!==t&&(e.alternate=null,Ml(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&$e(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Vl=null,Pl=!1;function Ll(e,t,n){for(n=n.child;null!==n;)Bl(e,t,n),n=n.sibling}function Bl(e,t,n){if(be&&"function"===typeof be.onCommitFiberUnmount)try{be.onCommitFiberUnmount(ve,n)}catch(a){}switch(n.tag){case 26:Ol||kl(n,t),Ll(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:Ol||kl(n,t);var r=Vl,i=Pl;Ad(n.type)&&(Vl=n.stateNode,Pl=!1),Ll(e,t,n),Ld(n.stateNode),Vl=r,Pl=i;break;case 5:Ol||kl(n,t);case 6:if(r=Vl,i=Pl,Vl=null,Ll(e,t,n),Pl=i,null!==(Vl=r))if(Pl)try{(9===Vl.nodeType?Vl.body:"HTML"===Vl.nodeName?Vl.ownerDocument.body:Vl).removeChild(n.stateNode)}catch(o){xu(n,t,o)}else try{Vl.removeChild(n.stateNode)}catch(o){xu(n,t,o)}break;case 18:null!==Vl&&(Pl?(Td(9===(e=Vl).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),Up(e)):Td(Vl,n.stateNode));break;case 4:r=Vl,i=Pl,Vl=n.stateNode.containerInfo,Pl=!0,Ll(e,t,n),Vl=r,Pl=i;break;case 0:case 11:case 14:case 15:vl(2,n,t),Ol||vl(4,n,t),Ll(e,t,n);break;case 1:Ol||(kl(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount&&_l(n,t,r)),Ll(e,t,n);break;case 21:Ll(e,t,n);break;case 22:Ol=(r=Ol)||null!==n.memoizedState,Ll(e,t,n),Ol=r;break;default:Ll(e,t,n)}}function Hl(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&null!==(e=e.memoizedState))){e=e.dehydrated;try{Up(e)}catch(n){xu(t,t.return,n)}}}function Wl(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&(null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))))try{Up(e)}catch(n){xu(t,t.return,n)}}function zl(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new Nl),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new Nl),t;default:throw Error(s(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Iu.bind(null,e,t);t.then(r,r)}})}function Yl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r],a=e,o=t,l=o;e:for(;null!==l;){switch(l.tag){case 27:if(Ad(l.type)){Vl=l.stateNode,Pl=!1;break e}break;case 5:Vl=l.stateNode,Pl=!1;break e;case 3:case 4:Vl=l.stateNode.containerInfo,Pl=!0;break e}l=l.return}if(null===Vl)throw Error(s(160));Bl(a,o,i),Vl=null,Pl=!1,null!==(a=i.alternate)&&(a.return=null),i.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)Xl(t,e),t=t.sibling}var Ul=null;function Xl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Yl(t,e),Gl(e),4&r&&(vl(3,e,e.return),yl(3,e),vl(5,e,e.return));break;case 1:Yl(t,e),Gl(e),512&r&&(Ol||null===n||kl(n,n.return)),64&r&&Rl&&(null!==(e=e.updateQueue)&&(null!==(r=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?r:n.concat(r))));break;case 26:var i=Ul;if(Yl(t,e),Gl(e),512&r&&(Ol||null===n||kl(n,n.return)),4&r){var a=null!==n?n.memoizedState:null;if(r=e.memoizedState,null===n)if(null===r)if(null===e.stateNode){e:{r=e.type,n=e.memoizedProps,i=i.ownerDocument||i;t:switch(r){case"title":(!(a=i.getElementsByTagName("title")[0])||a[Je]||a[We]||"http://www.w3.org/2000/svg"===a.namespaceURI||a.hasAttribute("itemprop"))&&(a=i.createElement(r),i.head.insertBefore(a,i.querySelector("head >
2 title"))),fd(a,r,n),a[We]=e,tt(a),r=a;break e;case"link":var o=rp("link","href",i).get(r+(n.href||""));if(o)for(var l=0;l<o.length;l++)if((a=o[l]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&a.getAttribute("rel")===(null==n.rel?null:n.rel)&&a.getAttribute("title")===(null==n.title?null:n.title)&&a.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){o.splice(l,1);break t}fd(a=i.createElement(r),r,n),i.head.appendChild(a);break;case"meta":if(o=rp("meta","content",i).get(r+(n.content||"")))for(l=0;l<o.length;l++)if((a=o[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&a.getAttribute("name")===(null==n.name?null:n.name)&&a.getAttribute("property")===(null==n.property?null:n.property)&&a.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&a.getAttribute("charset")===(null==n.charSet?null:n.charSet)){o.splice(l,1);break t}fd(a=i.createElement(r),r,n),i.head.appendChild(a);break;default:throw Error(s(468,r))}a[We]=e,tt(a),r=a}e.stateNode=r}else ip(i,e.type,e.stateNode);else e.stateNode=Zd(i,r,e.memoizedProps);else a!==r?(null===a?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):a.count--,null===r?ip(i,e.type,e.stateNode):Zd(i,r,e.memoizedProps)):null===r&&null!==e.stateNode&&xl(e,e.memoizedProps,n.memoizedProps)}break;case 27:Yl(t,e),Gl(e),512&r&&(Ol||null===n||kl(n,n.return)),null!==n&&4&r&&xl(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Yl(t,e),Gl(e),512&r&&(Ol||null===n||kl(n,n.return)),32&e.flags){i=e.stateNode;try{Ct(i,"")}catch(m){xu(e,e.return,m)}}4&r&&null!=e.stateNode&&xl(e,i=e.memoizedProps,null!==n?n.memoizedProps:i),1024&r&&(Dl=!0);break;case 6:if(Yl(t,e),Gl(e),4&r){if(null===e.stateNode)throw Error(s(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(m){xu(e,e.return,m)}}break;case 3:if(np=null,i=Ul,Ul=Wd(t.containerInfo),Yl(t,e),Ul=i,Gl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Up(t.containerInfo)}catch(m){xu(e,e.return,m)}Dl&&(Dl=!1,ql(e));break;case 4:r=Ul,Ul=Wd(e.stateNode.containerInfo),Yl(t,e),Gl(e),Ul=r;break;case 12:default:Yl(t,e),Gl(e);break;case 31:case 19:Yl(t,e),Gl(e),4&r&&(null!==(r=e.updateQueue)&&(e.updateQueue=null,zl(e,r)));break;case 13:Yl(t,e),Gl(e),8192&e.child.flags&&null!==e.memoizedState!==(null!==n&&null!==n.memoizedState)&&(Nc=ce()),4&r&&(null!==(r=e.updateQueue)&&(e.updateQueue=null,zl(e,r)));break;case 22:i=null!==e.memoizedState;var c=null!==n&&null!==n.memoizedState,u=Rl,d=Ol;if(Rl=u||i,Ol=d||c,Yl(t,e),Ol=d,Rl=u,Gl(e),8192&r)e:for(t=e.stateNode,t._visibility=i?-2&t._visibility:1|t._visibility,i&&(null===n||c||Rl||Ol||$l(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){c=n=t;try{if(a=c.stateNode,i)"function"===typeof(o=a.style).setProperty?o.setProperty("display","none","important"):o.display="none";else{l=c.stateNode;var p=c.memoizedProps.style,f=void 0!==p&&null!==p&&p.hasOwnProperty("display")?p.display:null;l.style.display=null==f||"boolean"===typeof f?"":(""+f).trim()}}catch(m){xu(c,c.return,m)}}}else if(6===t.tag){if(null===n){c=t;try{c.stateNode.nodeValue=i?"":c.memoizedProps}catch(m){xu(c,c.return,m)}}}else if(18===t.tag){if(null===n){c=t;try{var h=c.stateNode;i?Id(h,!0):Id(c.stateNode,!1)}catch(m){xu(c,c.return,m)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&r&&(null!==(r=e.updateQueue)&&(null!==(n=r.retryQueue)&&(r.retryQueue=null,zl(e,n))));case 30:case 21:}}function Gl(e){var t=e.flags;if(2&t){try{for(var n,r=e.return;null!==r;){if(Cl(r)){n=r;break}r=r.return}if(null==n)throw Error(s(160));switch(n.tag){case 27:var i=n.stateNode;Tl(e,El(e),i);break;case 5:var a=n.stateNode;32&n.flags&&(Ct(a,""),n.flags&=-33),Tl(e,El(e),a);break;case 3:case 4:var o=n.stateNode.containerInfo;Al(e,El(e),o);break;default:throw Error(s(161))}}catch(l){xu(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function ql(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;ql(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function Jl(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Fl(e,t.alternate,t),t=t.sibling}function $l(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:vl(4,t,t.return),$l(t);break;case 1:kl(t,t.return);var n=t.stateNode;"function"===typeof n.componentWillUnmount&&_l(t,t.return,n),$l(t);break;case 27:Ld(t.stateNode);case 26:case 5:kl(t,t.return),$l(t);break;case 22:null===t.memoizedState&&$l(t);break;default:$l(t)}e=e.sibling}}function Kl(e,t,n){for(n=n&&0!==(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:Kl(i,a,n),yl(4,a);break;case 1:if(Kl(i,a,n),"function"===typeof(i=(r=a).stateNode).componentDidMount)try{i.componentDidMount()}catch(c){xu(r,r.return,c)}if(null!==(i=(r=a).updateQueue)){var s=r.stateNode;try{var l=i.shared.hiddenCallbacks;
vendor: 18,684 bytes, line 2
2if(null!==l)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)Ea(l[i],s)}catch(c){xu(r,r.return,c)}}n&&64&o&&bl(a),wl(a,a.return);break;case 27:Il(a);case 26:case 5:Kl(i,a,n),n&&null===r&&4&o&&Sl(a),wl(a,a.return);break;case 12:Kl(i,a,n);break;case 31:Kl(i,a,n),n&&4&o&&Hl(i,a);break;case 13:Kl(i,a,n),n&&4&o&&Wl(i,a);break;case 22:null===a.memoizedState&&Kl(i,a,n),wl(a,a.return);break;case 30:break;default:Kl(i,a,n)}t=t.sibling}}function Zl(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Hi(n))}function Ql(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Hi(e))}function ec(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)tc(e,t,n,r),t=t.sibling}function tc(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:ec(e,t,n,r),2048&i&&yl(9,t);break;case 1:case 31:case 13:default:ec(e,t,n,r);break;case 3:ec(e,t,n,r),2048&i&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Hi(e)));break;case 12:if(2048&i){ec(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;"function"===typeof s&&s(o,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(l){xu(t,t.return,l)}}else ec(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,null!==t.memoizedState?2&a._visibility?ec(e,t,n,r):rc(e,t):2&a._visibility?ec(e,t,n,r):(a._visibility|=2,nc(e,t,n,r,0!==(10256&t.subtreeFlags)||!1)),2048&i&&Zl(o,t);break;case 24:ec(e,t,n,r),2048&i&&Ql(t.alternate,t)}}function nc(e,t,n,r,i){for(i=i&&(0!==(10256&t.subtreeFlags)||!1),t=t.child;null!==t;){var a=e,o=t,s=n,l=r,c=o.flags;switch(o.tag){case 0:case 11:case 15:nc(a,o,s,l,i),yl(8,o);break;case 23:break;case 22:var u=o.stateNode;null!==o.memoizedState?2&u._visibility?nc(a,o,s,l,i):rc(a,o):(u._visibility|=2,nc(a,o,s,l,i)),i&&2048&c&&Zl(o.alternate,o);break;case 24:nc(a,o,s,l,i),i&&2048&c&&Ql(o.alternate,o);break;default:nc(a,o,s,l,i)}t=t.sibling}}function rc(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:rc(n,r),2048&i&&Zl(r.alternate,r);break;case 24:rc(n,r),2048&i&&Ql(r.alternate,r);break;default:rc(n,r)}t=t.sibling}}var ic=8192;function ac(e,t,n){if(e.subtreeFlags&ic)for(e=e.child;null!==e;)oc(e,t,n),e=e.sibling}function oc(e,t,n){switch(e.tag){case 26:ac(e,t,n),e.flags&ic&&null!==e.memoizedState&&function(e,t,n,r){if("stylesheet"===n.type&&("string"!==typeof r.media||!1!==matchMedia(r.media).matches)&&0===(4&n.state.loading)){if(null===n.instance){var i=Gd(r.href),a=t.querySelector(qd(i));if(a)return null!==(t=a._p)&&"object"===typeof t&&"function"===typeof t.then&&(e.count++,e=sp.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,void tt(a);a=t.ownerDocument||t,r=Jd(r),(i=Bd.get(i))&&ep(r,i),tt(a=a.createElement("link"));var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),fd(a,"link",r),n.instance=a}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&0===(3&n.state.loading)&&(e.count++,n=sp.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,Ul,e.memoizedState,e.memoizedProps);break;case 5:default:ac(e,t,n);break;case 3:case 4:var r=Ul;Ul=Wd(e.stateNode.containerInfo),ac(e,t,n),Ul=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=ic,ic=16777216,ac(e,t,n),ic=r):ac(e,t,n))}}function sc(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function lc(e){var t=e.deletions;if(0!==(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];jl=r,dc(r,e)}sc(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)cc(e),e=e.sibling}function cc(e){switch(e.tag){case 0:case 11:case 15:lc(e),2048&e.flags&&vl(9,e,e.return);break;case 3:case 12:default:lc(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,uc(e)):lc(e)}}function uc(e){var t=e.deletions;if(0!==(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];jl=r,dc(r,e)}sc(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:vl(8,t,t.return),uc(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,uc(t));break;default:uc(t)}e=e.sibling}}function dc(e,t){for(;null!==jl;){var n=jl;switch(n.tag){case 0:case 11:case 15:vl(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Hi(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,jl=r;else e:for(n=e;null!==jl;){var i=(r=jl).sibling,a=r.return;if(Ml(r),r===n){jl=null;break e}if(null!==i){i.return=a,jl=i;break e}jl=a}}}var pc={getCacheForType:function(e){var t=Ni(Li),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Ni(Li).controller.signal}},fc="function"===typeof WeakMap?WeakMap:Map,hc=0,mc=null,gc=null,yc=0,vc=0,bc=null,_c=!1,wc=!1,kc=!1,Sc=0,xc=0,Cc=0,Ec=0,Ac=0,Tc=0,Ic=0,Rc=null,Oc=null,Dc=!1,Nc=0,jc=0,Fc=1/0,Mc=null,Vc=null,Pc=0,Lc=null,Bc=null,Hc=0,Wc=0,zc=null,Yc=null,Uc=0,Xc=null;function Gc(){return 0!==(2&hc)&&0!==yc?yc&-yc:null!==F.T?zu():Le()}function qc(){if(0===Tc)if(0===(536870912&yc)||pi){var e=Ce;0===(3932160&(Ce<<=1))&&(Ce=262144),Tc=e}else Tc=536870912;return null!==(e=Na.current)&&(e.flags|=32),Tc}function Jc(e,t,n){(e!==mc||2!==vc&&9!==vc)&&null===e.cancelPendingCommit||(nu(e,0),Qc(e,yc,Tc,!1)),Ne(e,n),0!==(2&hc)&&e===mc||(e===mc&&(0===(2&hc)&&(Ec|=n),4===xc&&Qc(e,yc,Tc,!1)),Mu(e))}function $c(e,t,n){if(0!==(6&hc))throw Error(s(327));for(var r=!n&&0===(127&t)&&0===(t&e.expiredLanes)||Ie(e,t),i=r?function(e,t){var n=hc;hc|=2;var r=au(),i=ou();mc!==e||yc!==t?(Mc=null,Fc=ce()+500,nu(e,t)):wc=Ie(e,t);e:for(;;)try{if(0!==vc&&null!==gc){t=gc;var a=bc;t:switch(vc){case 1:vc=0,bc=null,fu(e,t,a,1);break;case 2:case 9:if(na(a)){vc=0,bc=null,pu(t);break}t=function(){2!==vc&&9!==vc||mc!==e||(vc=7),Mu(e)},a.then(t,t);break e;case 3:vc=7;break e;case 4:vc=5;break e;case 7:na(a)?(vc=0,bc=null,pu(t)):(vc=0,bc=null,fu(e,t,a,7));break;case 5:var o=null;switch(gc.tag){case 26:o=gc.memoizedState;case 5:case 27:var l=gc;if(o?ap(o):l.stateNode.complete){vc=0,bc=null;var c=l.sibling;if(null!==c)gc=c;else{var u=l.return;null!==u?(gc=u,hu(u)):gc=null}break t}}vc=0,bc=null,fu(e,t,a,5);break;case 6:vc=0,bc=null,fu(e,t,a,6);break;case 8:tu(),xc=6;break e;default:throw Error(s(462))}}uu();break}catch(d){ru(e,d)}return Ci=xi=null,F.H=r,F.A=i,hc=n,null!==gc?0:(mc=null,yc=0,Or(),xc)}(e,t):lu(e,t,!0),a=r;;){if(0===i){wc&&!r&&Qc(e,t,0,!1);break}if(n=e.current.alternate,!a||Zc(n)){if(2===i){if(a=t,e.errorRecoveryDisabledLanes&a)var o=0;else o=0!==(o=-536870913&e.pendingLanes)?o:536870912&o?536870912:0;if(0!==o){t=o;e:{var l=e;i=Rc;var c=l.current.memoizedState.isDehydrated;if(c&&(nu(l,o).flags|=256),2!==(o=lu(l,o,!1))){if(kc&&!c){l.errorRecoveryDisabledLanes|=a,Ec|=a,i=4;break e}a=Oc,Oc=i,null!==a&&(null===Oc?Oc=a:Oc.push.apply(Oc,a))}i=o}if(a=!1,2!==i)continue}}if(1===i){nu(e,0),Qc(e,t,0,!0);break}e:{switch(r=e,a=i){case 0:case 1:throw Error(s(345));case 4:if((4194048&t)!==t)break;case 6:Qc(r,t,Tc,!_c);break e;case 2:Oc=null;break;case 3:case 5:break;default:throw Error(s(329))}if((62914560&t)===t&&10<(i=Nc+300-ce())){if(Qc(r,t,Tc,!_c),0!==Te(r,0,!0))break e;Hc=t,r.timeoutHandle=kd(Kc.bind(null,r,n,Oc,Mc,Dc,t,Tc,Ec,Ic,_c,a,"Throttled",-0,0),i)}else Kc(r,n,Oc,Mc,Dc,t,Tc,Ec,Ic,_c,a,null,-0,0)}break}i=lu(e,t,!1),a=!1}Mu(e)}function Kc(e,t,n,r,i,a,o,s,l,c,u,d,p,f){if(e.timeoutHandle=-1,8192&(d=t.subtreeFlags)||16785408===(16785408&d)){oc(t,a,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Nt});var h=(62914560&a)===a?Nc-ce():(4194048&a)===a?jc-ce():0;if(null!==(h=function(e,t){return e.stylesheets&&0===e.count&&cp(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&cp(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&0===op&&(op=62500*function(){if("function"===typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&hd(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var l=n[r],c=l.startTime;if(c>s)break;var u=l.transferSize,d=l.initiatorType;u&&hd(d)&&(o+=u*((l=l.responseEnd)<s?1:(s-c)/(l-c)))}if(--r,t+=8*(a+o)/(i.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"===typeof(e=navigator.connection.downlink)?e:5}());var i=setTimeout(function(){if(e.waitingForImages=!1,0===e.count&&(e.stylesheets&&cp(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>op?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}(d,h)))return Hc=a,e.cancelPendingCommit=h(gu.bind(null,e,t,a,n,r,i,o,s,l,u,d,null,p,f)),void Qc(e,a,o,!c)}gu(e,t,a,n,r,i,o,s,l)}function Zc(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&(null!==(n=t.updateQueue)&&null!==(n=n.stores)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Qn(a(),i))return!1}catch(o){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Qc(e,t,n,r){t&=~Ac,t&=~Ec,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-we(i),o=1<<a;r[a]=-1,i&=~o}0!==n&&je(e,n,t)}function eu(){return 0!==(6&hc)||(Vu(0,!1),!1)}function tu(){if(null!==gc){if(0===vc)var e=gc.return;else Ci=xi=null,so(e=gc),la=null,ca=0,e=gc;for(;null!==e;)gl(e.alternate,e),e=e.return;gc=null}}function nu(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,Sd(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Hc=0,tu(),mc=e,gc=n=Hr(e.current,null),yc=t,vc=0,bc=null,_c=!1,wc=Ie(e,t),kc=!1,Ic=Tc=Ac=Ec=Cc=xc=0,Oc=Rc=null,Dc=!1,0!==(8&t)&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var i=31-we(r),a=1<<i;t|=e[i],r&=~a}return Sc=t,Or(),n}function ru(e,t){za=null,F.H=gs,t===Zi||t===ea?(t=oa(),vc=3):t===Qi?(t=oa(),vc=4):vc=t===Ns?8:null!==t&&"object"===typeof t&&"function"===typeof t.then?6:1,bc=t,null===gc&&(xc=1,Ts(e,Jr(t,e.current)))}function iu(){var e=Na.current;return null===e||((4194048&yc)===yc?null===ja:((62914560&yc)===yc||0!==(536870912&yc))&&e===ja)}function au(){var e=F.H;return F.H=gs,null===e?gs:e}function ou(){var e=F.A;return F.A=pc,e}function su(){xc=4,_c||(4194048&yc)!==yc&&null!==Na.current||(wc=!0),0===(134217727&Cc)&&0===(134217727&Ec)||null===mc||Qc(mc,yc,Tc,!1)}function lu(e,t,n){var r=hc;hc|=2;var i=au(),a=ou();mc===e&&yc===t||(Mc=null,nu(e,t)),t=!1;var o=xc;e:for(;;)try{if(0!==vc&&null!==gc){var s=gc,l=bc;switch(vc){case 8:tu(),o=6;break e;case 3:case 2:case 9:case 6:null===Na.current&&(t=!0);var c=vc;if(vc=0,bc=null,fu(e,s,l,c),n&&wc){o=0;break e}break;default:c=vc,vc=0,bc=null,fu(e,s,l,c)}}cu(),o=xc;break}catch(u){ru(e,u)}return t&&e.shellSuspendCounter++,Ci=xi=null,hc=r,F.H=i,F.A=a,null===gc&&(mc=null,yc=0,Or()),o}function cu(){for(;null!==gc;)du(gc)}function uu(){for(;null!==gc&&!se();)du(gc)}function du(e){var t=sl(e.alternate,e,Sc);e.memoizedProps=e.pendingProps,null===t?hu(e):gc=t}function pu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Xs(n,t,t.pendingProps,t.type,void 0,yc);break;case 11:t=Xs(n,t,t.pendingProps,t.type.render,t.ref,yc);break;case 5:so(t);default:gl(n,t),t=sl(n,t=gc=Wr(t,Sc),Sc)}e.memoizedProps=e.pendingProps,null===t?hu(e):gc=t}function fu(e,t,n,r){Ci=xi=null,so(t),la=null,ca=0;var i=t.return;try{if(function(e,t,n,r,i){if(n.flags|=32768,null!==r&&"object"===typeof r&&"function"===typeof r.then){if(null!==(t=n.alternate)&&Ri(t,n,i,!0),null!==(n=Na.current)){switch(n.tag){case 31:case 13:return null===ja?su():null===n.alternate&&0===xc&&(xc=3),n.flags&=-257,n.flags|=65536,n.lanes=i,r===ta?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),Cu(e,r,i)),!1;case 22:return n.flags|=65536,r===ta?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),Cu(e,r,i)),!1}throw Error(s(435,n.tag))}return Cu(e,r,i),su(),!1}if(pi)return null!==(t=Na.current)?(0===(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==mi&&ki(Jr(e=Error(s(422),{cause:r}),n))):(r!==mi&&ki(Jr(t=Error(s(423),{cause:r}),n)),(e=e.current.alternate).flags|=65536,i&=-i,e.lanes|=i,r=Jr(r,n),ka(e,i=Rs(e.stateNode,r,i)),4!==xc&&(xc=2)),!1;var a=Error(s(520),{cause:r});if(a=Jr(a,n),null===Rc?Rc=[a]:Rc.push(a),4!==xc&&(xc=2),null===t)return!0;r=Jr(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,ka(n,e=Rs(n.stateNode,r,e)),!1;case 1:if(t=n.type,a=n.stateNode,0===(128&n.flags)&&("function"===typeof t.getDerivedStateFromError||null!==a&&"function"===typeof a.componentDidCatch&&(null===Vc||!Vc.has(a))))return n.flags|=65536,i&=-i,n.lanes|=i,Ds(i=Os(i),e,n,r),ka(n,i),!1}n=n.return}while(null!==n);return!1}(e,i,t,n,yc))return xc=1,Ts(e,Jr(n,e.current)),void(gc=null)}catch(a){if(null!==i)throw gc=i,a;return xc=1,Ts(e,Jr(n,e.current)),void(gc=null)}32768&t.flags?(pi||1===r?e=!0:wc||0!==(536870912&yc)?e=!1:(_c=e=!0,(2===r||9===r||3===r||6===r)&&(null!==(r=Na.current)&&13===r.tag&&(r.flags|=16384))),mu(t,e)):hu(t)}function hu(e){var t=e;do{if(0!==(32768&t.flags))return void mu(t,_c);e=t.return;var n=hl(t.alternate,t,Sc);if(null!==n)return void(gc=n);if(null!==(t=t.sibling))return void(gc=t);gc=t=e}while(null!==t);0===xc&&(xc=5)}function mu(e,t){do{var n=ml(e.alternate,e);if(null!==n)return n.flags&=32767,void(gc=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(gc=e);gc=e=n}while(null!==e);xc=6,gc=null}function gu(e,t,n,r,i,a,o,l,c){e.cancelPendingCommit=null;do{wu()}while(0!==Pc);if(0!==(6&hc))throw Error(s(327));if(null!==t){if(t===e.current)throw Error(s(177));if(a=t.lanes|t.childLanes,function(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-we(n),d=1<<u;s[u]=0,l[u]=-1;var p=c[u];if(null!==p)for(c[u]=null,u=0;u<p.length;u++){var f=p[u];null!==f&&(f.lane&=-536870913)}n&=~d}0!==r&&je(e,r,0),0!==a&&0===i&&0!==e.tag&&(e.suspendedLanes|=a&~(o&~t))}(e,n,a|=Rr,o,l,c),e===mc&&(gc=mc=null,yc=0),Bc=t,Lc=e,Hc=n,Wc=a,zc=i,Yc=r,0!==(10256&t.subtreeFlags)||0!==(10256&t.flags)?(e.callbackNode=null,e.callbackPriority=0,ae(fe,function(){return ku(),null})):(e.callbackNode=null,e.callbackPriority=0),r=0!==(13878&t.flags),0!==(13878&t.subtreeFlags)||r){r=F.T,F.T=null,i=M.p,M.p=2,o=hc,hc|=4;try{!function(e,t){if(e=e.containerInfo,md=_p,ar(e=ir(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(g){n=null;break e}var o=0,l=-1,c=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var h;p!==n||0!==i&&3!==p.nodeType||(l=o+i),p!==a||0!==r&&3!==p.nodeType||(c=o+r),3===p.nodeType&&(o+=p.nodeValue.length),null!==(h=p.firstChild);)f=p,p=h;for(;;){if(p===e)break t;if(f===n&&++u===i&&(l=o),f===a&&++d===r&&(c=o),null!==(h=p.nextSibling))break;f=(p=f).parentNode}p=h}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(gd={focusedElem:e,selectionRange:n},_p=!1,jl=t;null!==jl;)if(e=(t=jl).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,jl=e;else for(;null!==jl;){switch(a=(t=jl).alternate,e=t.flags,t.tag){case 0:if(0!==(4&e)&&null!==(e=null!==(e=t.updateQueue)?e.events:null))for(n=0;n<e.length;n++)(i=e[n]).ref.impl=i.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(0!==(1024&e)&&null!==a){e=void 0,n=t,i=a.memoizedProps,a=a.memoizedState,r=n.stateNode;try{var m=xs(n.type,i);e=r.getSnapshotBeforeUpdate(m,a),r.__reactInternalSnapshotBeforeUpdate=e}catch(y){xu(n,n.return,y)}}break;case 3:if(0!==(1024&e))if(9===(n=(e=t.stateNode.containerInfo).nodeType))Rd(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Rd(e);break;default:e.textContent=""}break;default:if(0!==(1024&e))throw Error(s(163))}if(null!==(e=t.sibling)){e.return=t.return,jl=e;break}jl=t.return}}(e,t)}finally{hc=o,M.p=i,F.T=r}}Pc=1,yu(),vu(),bu()}}function yu(){if(1===Pc){Pc=0;var e=Lc,t=Bc,n=0!==(13878&t.flags);if(0!==(13878&t.subtreeFlags)||n){n=F.T,F.T=null;var r=M.p;M.p=2;var i=hc;hc|=4;try{Xl(t,e);var a=gd,o=ir(e.containerInfo),s=a.focusedElem,l=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&rr(s.ownerDocument.documentElement,s)){if(null!==l&&ar(s)){var c=l.start,u=l.end;if(void 0===u&&(u=c),"selectionStart"in s)s.selectionStart=c,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,p=d&&d.defaultView||window;if(p.getSelection){var f=p.getSelection(),h=s.textContent.length,m=Math.min(l.start,h),g=void 0===l.end?m:Math.min(l.end,h);!f.extend&&m>g&&(o=g,g=m,m=o);var y=nr(s,m),v=nr(s,g);if(y&&v&&(1!==f.rangeCount||f.anchorNode!==y.node||f.anchorOffset!==y.offset||f.focusNode!==v.node||f.focusOffset!==v.offset)){var b=d.createRange();b.setStart(y.node,y.offset),f.removeAllRanges(),m>g?(f.addRange(b),f.extend(v.node,v.offset)):(b.setEnd(v.node,v.offset),f.addRange(b))}}}}for(d=[],f=s;f=f.parentNode;)1===f.nodeType&&d.push({element:f,left:f.scrollLeft,top:f.scrollTop});for("function"===typeof s.focus&&s.focus(),s=0;s<d.length;s++){var _=d[s];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}_p=!!md,gd=md=null}finally{hc=i,M.p=r,F.T=n}}e.current=t,Pc=2}}function vu(){if(2===Pc){Pc=0;var e=Lc,t=Bc,n=0!==(8772&t.flags);if(0!==(8772&t.subtreeFlags)||n){n=F.T,F.T=null;var r=M.p;M.p=2;var i=hc;hc|=4;try{Fl(e,t.alternate,t)}finally{hc=i,M.p=r,F.T=n}}Pc=3}}function bu(){if(4===Pc||3===Pc){Pc=0,le();var e=Lc,t=Bc,n=Hc,r=Yc;0!==(10256&t.subtreeFlags)||0!==(10256&t.flags)?Pc=5:(Pc=0,Bc=Lc=null,_u(e,e.pen
2dingLanes));var i=e.pendingLanes;if(0===i&&(Vc=null),Pe(n),t=t.stateNode,be&&"function"===typeof be.onCommitFiberRoot)try{be.onCommitFiberRoot(ve,t,void 0,128===(128&t.current.flags))}catch(l){}if(null!==r){t=F.T,i=M.p,M.p=2,F.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{F.T=t,M.p=i}}0!==(3&Hc)&&wu(),Mu(e),i=e.pendingLanes,0!==(261930&n)&&0!==(42&i)?e===Xc?Uc++:(Uc=0,Xc=e):Uc=0,Vu(0,!1)}}function _u(e,t){0===(e.pooledCacheLanes&=t)&&(null!=(t=e.pooledCache)&&(e.pooledCache=null,Hi(t)))}function wu(){return yu(),vu(),bu(),ku()}function ku(){if(5!==Pc)return!1;var e=Lc,t=Wc;Wc=0;var n=Pe(Hc),r=F.T,i=M.p;try{M.p=32>n?32:n,F.T=null,n=zc,zc=null;var a=Lc,o=Hc;if(Pc=0,Bc=Lc=null,Hc=0,0!==(6&hc))throw Error(s(331));var l=hc;if(hc|=4,cc(a.current),tc(a,a.current,o,n),hc=l,Vu(0,!1),be&&"function"===typeof be.onPostCommitFiberRoot)try{be.onPostCommitFiberRoot(ve,a)}catch(c){}return!0}finally{M.p=i,F.T=r,_u(e,t)}}function Su(e,t,n){t=Jr(n,t),null!==(e=_a(e,t=Rs(e.stateNode,t,2),2))&&(Ne(e,2),Mu(e))}function xu(e,t,n){if(3===e.tag)Su(e,e,n);else for(;null!==t;){if(3===t.tag){Su(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Vc||!Vc.has(r))){e=Jr(n,e),null!==(r=_a(t,n=Os(2),2))&&(Ds(n,r,t,e),Ne(r,2),Mu(r));break}}t=t.return}}function Cu(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fc;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(kc=!0,i.add(n),e=Eu.bind(null,e,t,n),t.then(e,e))}function Eu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,mc===e&&(yc&n)===n&&(4===xc||3===xc&&(62914560&yc)===yc&&300>ce()-Nc?0===(2&hc)&&nu(e,0):Ac|=n,Ic===yc&&(Ic=0)),Mu(e)}function Au(e,t){0===t&&(t=Oe()),null!==(e=jr(e,t))&&(Ne(e,t),Mu(e))}function Tu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Au(e,n)}function Iu(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(s(314))}null!==r&&r.delete(t),Au(e,n)}var Ru=null,Ou=null,Du=!1,Nu=!1,ju=!1,Fu=0;function Mu(e){e!==Ou&&null===e.next&&(null===Ou?Ru=Ou=e:Ou=Ou.next=e),Nu=!0,Du||(Du=!0,Cd(function(){0!==(6&hc)?ae(de,Pu):Lu()}))}function Vu(e,t){if(!ju&&Nu){ju=!0;do{for(var n=!1,r=Ru;null!==r;){if(!t)if(0!==e){var i=r.pendingLanes;if(0===i)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-we(42|e)+1)-1,a=201326741&(a&=i&~(o&~s))?201326741&a|1:a?2|a:0}0!==a&&(n=!0,Wu(r,a))}else a=yc,0===(3&(a=Te(r,r===mc?a:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||Ie(r,a)||(n=!0,Wu(r,a));r=r.next}}while(n);ju=!1}}function Pu(){Lu()}function Lu(){Nu=Du=!1;var e=0;0!==Fu&&function(){var e=window.event;if(e&&"popstate"===e.type)return e!==wd&&(wd=e,!0);return wd=null,!1}()&&(e=Fu);for(var t=ce(),n=null,r=Ru;null!==r;){var i=r.next,a=Bu(r,t);0===a?(r.next=null,null===n?Ru=i:n.next=i,null===i&&(Ou=n)):(n=r,(0!==e||0!==(3&a))&&(Nu=!0)),r=i}0!==Pc&&5!==Pc||Vu(e,!1),0!==Fu&&(Fu=0)}function Bu(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=-62914561&e.pendingLanes;0<a;){var o=31-we(a),s=1<<o,l=i[o];-1===l?0!==(s&n)&&0===(s&r)||(i[o]=Re(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}if(n=yc,n=Te(e,e===(t=mc)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===vc||9===vc)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&oe(r),e.callbackNode=null,e.callbackPriority=0;if(0===(3&n)||Ie(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&oe(r),Pe(n)){case 2:case 8:n=pe;break;case 32:default:n=fe;break;case 268435456:n=me}return r=Hu.bind(null,e),n=ae(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&oe(r),e.callbackPriority=2,e.callbackNode=null,2}function Hu(e,t){if(0!==Pc&&5!==Pc)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(wu()&&e.callbackNode!==n)return null;var r=yc;return 0===(r=Te(e,e===mc?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:($c(e,r,t),Bu(e,ce()),null!=e.callbackNode&&e.callbackNode===n?Hu.bind(null,e):null)}function Wu(e,t){if(wu())return null;$c(e,t,!0)}function zu(){if(0===Fu){var e=Yi;0===e&&(e=xe,0===(261888&(xe<<=1))&&(xe=256)),Fu=e}return Fu}function Yu(e){return null==e||"symbol"===typeof e||"boolean"===typeof e?null:"function"===typeof e?e:Dt(""+e)}function Uu(e,t){var n=t.ownerDocument.createElement("input");
vendor: 5,068 bytes, line 2
2return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var Xu=0;Xu<Cr.length;Xu++){var Gu=Cr[Xu];Er(Gu.toLowerCase(),"on"+(Gu[0].toUpperCase()+Gu.slice(1)))}Er(yr,"onAnimationEnd"),Er(vr,"onAnimationIteration"),Er(br,"onAnimationStart"),Er("dblclick","onDoubleClick"),Er("focusin","onFocus"),Er("focusout","onBlur"),Er(_r,"onTransitionRun"),Er(wr,"onTransitionStart"),Er(kr,"onTransitionCancel"),Er(Sr,"onTransitionEnd"),at("onMouseEnter",["mouseout","mouseover"]),at("onMouseLeave",["mouseout","mouseover"]),at("onPointerEnter",["pointerout","pointerover"]),at("onPointerLeave",["pointerout","pointerover"]),it("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),it("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),it("onBeforeInput",["compositionend","keypress","textInput","paste"]),it("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),it("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),it("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var qu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ju=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(qu));function $u(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==a&&i.isPropagationStopped())break e;a=s,i.currentTarget=c;try{a(i)}catch(u){Ar(u)}i.currentTarget=null,a=l}else for(o=0;o<r.length;o++){if(l=(s=r[o]).instance,c=s.currentTarget,s=s.listener,l!==a&&i.isPropagationStopped())break e;a=s,i.currentTarget=c;try{a(i)}catch(u){Ar(u)}i.currentTarget=null,a=l}}}}function Ku(e,t){var n=t[Ue];void 0===n&&(n=t[Ue]=new Set);var r=e+"__bubble";n.has(r)||(td(t,e,2,!1),n.add(r))}function Zu(e,t,n){var r=0;t&&(r|=4),td(n,e,r,t)}var Qu="_reactListening"+Math.random().toString(36).slice(2);function ed(e){if(!e[Qu]){e[Qu]=!0,nt.forEach(function(t){"selectionchange"!==t&&(Ju.has(t)||Zu(t,!1,e),Zu(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Qu]||(t[Qu]=!0,Zu("selectionchange",!1,t))}}function td(e,t,n,r){switch(Ap(t)){case 2:var i=wp;break;case 8:i=kp;break;default:i=Sp}n=i.bind(null,t,n,e),i=void 0,!zt||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function nd(e,t,n,r,i){var a=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var s=r.stateNode.containerInfo;if(s===i)break;if(4===o)for(o=r.return;null!==o;){var l=o.tag;if((3===l||4===l)&&o.stateNode.containerInfo===i)return;o=o.return}for(;null!==s;){if(null===(o=Ke(s)))return;if(5===(l=o.tag)||6===l||26===l||27===l){r=a=o;continue e}s=s.parentNode}}r=r.return}Bt(function(){var r=a,i=Ft(n),o=[];e:{var s=xr.get(e);if(void 0!==s){var l=rn,u=e;switch(e){case"keypress":if(0===Jt(n))break e;case"keydown":case"keyup":l=bn;break;case"focusin":u="focus",l=un;break;case"focusout":u="blur",l=un;break;case"beforeblur":case"afterblur":l=un;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=ln;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=cn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=wn;break;case yr:case vr:case br:l=dn;break;case Sr:l=kn;break;case"scroll":case"scrollend":l=on;break;case"wheel":l=Sn;break;case"copy":case"cut":case"paste":l=pn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=_n;break;case"toggle":case"beforetoggle":l=xn}var d=0!==(4&t),p=!d&&("scroll"===e||"scrollend"===e),f=d?null!==s?s+"Capture":null:s;d=[];for(var h,m=r;null!==m;){var g=m;if(h=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===h||null===f||null!=(g=Ht(m,f))&&d.push(rd(m,g,h)),p)break;m=m.return}0<d.length&&(s=new l(s,u,null,n,i),o.push({event:s,listeners:d}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===jt||!(u=n.relatedTarget||n.fromElement)||!Ke(u)&&!u[Ye])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?Ke(u):null)&&(p=c(u),d=u.tag,u!==p||5!==d&&27!==d&&6!==d)&&(u=null)):(l=null,u=r),l!==u)){if(d=ln,g="onMouseLeave",f="onMouseEnter",m="mou
2se","pointerout"!==e&&"pointerover"!==e||(d=_n,g="onPointerLeave",f="onPointerEnter",m="pointer"),p=null==l?s:Qe(l),h=null==u?s:Qe(u),(s=new d(g,m+"leave",l,n,i)).target=p,s.relatedTarget=h,g=null,Ke(i)===r&&((d=new d(f,m+"enter",u,n,i)).target=h,d.relatedTarget=p,g=d),p=g,l&&u)e:{for(d=ad,m=u,h=0,g=f=l;g;g=d(g))h++;g=0;for(var y=m;y;y=d(y))g++;for(;0<h-g;)f=d(f),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(f===m||null!==m&&f===m.alternate){d=f;break e}f=d(f),m=d(m)}d=null}else d=null;null!==l&&od(o,s,l,d,!1),null!==u&&null!==p&&od(o,p,u,d,!0)}if("select"===(l=(s=r?Qe(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var v=Wn;else if(Mn(s))if(zn)v=Zn;else{v=$n;var b=Jn}else!(l=s.nodeName)||"input"!==l.toLowerCase()||"checkbox"!==s.type&&"radio"!==s.type?r&&It(r.elementType)&&(v=Wn):v=Kn;switch(v&&(v=v(e,r))?Vn(o,v,n,i):(b&&b(e,s,r),"focusout"===e&&r&&"number"===s.type&&null!=r.memoizedProps.value&&wt(s,"number",s.value)),b=r?Qe(r):window,e){case"focusin":(Mn(b)||"true"===b.contentEditable)&&(sr=b,lr=r,cr=null);break;case"focusout":cr=lr=sr=null;break;case"mousedown":ur=!0;break;case"contextmenu":case"mouseup":case"dragend":ur=!1,dr(o,n,i);break;case"selectionchange":if(or)break;case"keydown":case"keyup":dr(o,n,i)}var _;if(En)e:{switch(e){case"compositionstart":var w="onCompositionStart";break e;case"compositionend":w="onCompositionEnd";break e;case"compositionupdate":w="onCompositionUpdate";break e}w=void 0}else jn?Dn(e,n)&&(w="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(w="onCompositionStart");w&&(In&&"ko"!==n.locale&&(jn||"onCompositionStart"!==w?"onCompositionEnd"===w&&jn&&(_=qt()):(Xt="value"in(Ut=i)?Ut.value:Ut.textContent,jn=!0)),0<(b=id(r,w)).length&&(w=new fn(w,e,null,n,i),o.push({event:w,listeners:b}),_?w.data=_:null!==(_=Nn(n))&&(w.data=_))),(_=Tn?function(e,t){switch(e){case"compositionend":return Nn(t);case"keypress":return 32!==t.which?null:(On=!0,Rn);case"textInput":return(e=t.data)===Rn&&On?null:e;default:return null}}(e,n):function(e,t){if(jn)return"compositionend"===e||!En&&Dn(e,t)?(e=qt(),Gt=Xt=Ut=null,jn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;
2case"compositionend":return In&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(w=id(r,"onBeforeInput")).length&&(b=new fn("onBeforeInput","beforeinput",null,n,i),o.push({event:b,listeners:w}),b.data=_)),function(e,t,n,r,i){if("submit"===t&&n&&n.stateNode===i){var a=Yu((i[ze]||null).action),o=r.submitter;o&&null!==(t=(t=o[ze]||null)?Yu(t.formAction):o.getAttribute("formAction"))&&(a=t,o=null);var s=new rn("action","action",null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==Fu){var e=o?Uu(i,o):new FormData(i);ns(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else"function"===typeof a&&(s.preventDefault(),e=o?Uu(i,o):new FormData(i),ns(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}(o,e,r,n,i)}$u(o,t)})}function rd(e,t,n){return{instance:e,listener:t,currentTarget:n}}function id(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,a=i.stateNode;if(5!==(i=i.tag)&&26!==i&&27!==i||null===a||(null!=(i=Ht(e,n))&&r.unshift(rd(e,i,a)),null!=(i=Ht(e,t))&&r.push(rd(e,i,a))),3===e.tag)return r;e=e.return}return[]}function ad(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function od(e,t,n,r,i){for(var a=t._reactName,o=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===c||(l=c,i?null!=(c=Ht(n,a))&&o.unshift(rd(n,c,l)):i||null!=(c=Ht(n,a))&&o.push(rd(n,c,l))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var sd=/\r\n?/g,ld=/\u0000|\uFFFD/g;function cd(e){return("string"===typeof e?e:""+e).replace(sd,"\n").replace(ld,"")}function ud(e,t){return t=cd(t),cd(e)===t}function dd(e,t,n,r,i,a){switch(n){case"children":"string"===typeof r?"body"===t||"textarea"===t&&""===r||Ct(e,r):("number"===typeof r||"bigint"===typeof r)&&"body"!==t&&Ct(e,""+r);break;case"className":ut(e,"class",r);break;case"tabIndex":ut(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":ut(e,n,r);break;case"style":Tt(e,r,a);break;case"data":if("object"!==t){ut(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==r||"function"===typeof r||"symbol"===typeof r||"boolean"===typeof r){e.removeAttribute(n);break}r=Dt(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"===typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"===typeof a&&("formAction"===n?("input"!==t&&dd(e,t,"name",i.name,i,null),dd(e,t,"formEncType",i.formEncType,i,null),dd(e,t,"formMethod",i.formMethod,i,null),dd(e,t,"formTarget",i.formTarget,i,null)):(dd(e,t,"encType",i.encType,i,null),dd(e,t,"method",i.method,i,null),dd(e,t,"target",i.target,i,null))),null==r||"symbol"===typeof r||"boolean"===typeof r){e.removeAttribute(n);break}r=Dt(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=Nt);break;case"onScroll":null!=r&&Ku("scroll",e);break;case"onScrollEnd":null!=r&&Ku("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!==typeof r||!("__html"in r))throw Error(s(61));if(null!=(n=r.__html)){if(null!=i.children)throw Error(s(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!==typeof r&&"symbol"!==typeof r;break;case"muted":e.muted=r&&"function"!==typeof r&&"symbol"!==typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"===typeof r||"boolean"===typeof r||"symbol"===typeof r){e.removeAttribute("xlink:href");break}n=Dt(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!==typeof r&&"symbol"!==typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
2ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!==typeof r&&"symbol"!==typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!==typeof r&&"symbol"!==typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!==typeof r&&"symbol"!==typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"===typeof r||"symbol"===typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":Ku("beforetoggle",e),Ku("toggle",e),ct(e,"popover",r);break;case"xlinkActuate":dt(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":dt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":dt(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":dt(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":dt(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":dt(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":dt(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":dt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":dt(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":ct(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&ct(e,n=Rt.get(n)||n,r)}}function pd(e,t,n,r,i,a){switch(n){case"style":Tt(e,r,a);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!==typeof r||!("__html"in r))throw Error(s(61));if(null!=(n=r.__html)){if(null!=i.children)throw Error(s(60));e.innerHTML=n}}break;case"children":"string"===typeof r?Ct(e,r):("number"===typeof r||"bigint"===typeof r)&&Ct(e,""+r);break;case"onScroll":null!=r&&Ku("scroll",e);break;case"onScrollEnd":null!=r&&Ku("scrollend",e);break;case"onClick":null!=r&&(e.onclick=Nt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:rt.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(i=n.endsWith("Capture"),t=n.slice(2,i?n.length-7:void 0),"function"===typeof(a=null!=(a=e[ze]||null)?a[n]:null)&&e.removeEventListener(t,a,i),"function"!==typeof r)?n in e?e[n]=r:!0===r?e.setAttribute(n,""):ct(e,n,r):("function"!==typeof a&&null!==a&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,i)))}}function fd(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ku("error",e),Ku("load",e);var r,i=!1,a=!1;for(r in n)if(n.hasOwnProperty(r)){var o=n[r];if(null!=o)switch(r){case"src":i=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:dd(e,t,r,o,n,null)}}return a&&dd(e,t,"srcSet",n.srcSet,n,null),void(i&&dd(e,t,"src",n.src,n,null));case"input":Ku("invalid",e);var l=r=o=a=null,c=null,u=null;for(i in n)if(n.hasOwnProperty(i)){var d=n[i];if(null!=d)switch(i){case"name":a=d;break;case"type":o=d;break;case"checked":c=d;break;case"defaultChecked":u=d;break;case"value":r=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(s(137,t));break;default:dd(e,t,i,d,n,null)}}return void _t(e,r,l,c,u,o,a,!1);case"select":for(a in Ku("invalid",e),i=o=r=null,n)if(n.hasOwnProperty(a)&&null!=(l=n[a]
2))switch(a){case"value":r=l;break;case"defaultValue":o=l;break;case"multiple":i=l;default:dd(e,t,a,l,n,null)}return t=r,n=o,e.multiple=!!i,void(null!=t?kt(e,!!i,t,!1):null!=n&&kt(e,!!i,n,!0));case"textarea":for(o in Ku("invalid",e),r=a=i=null,n)if(n.hasOwnProperty(o)&&null!=(l=n[o]))switch(o){case"value":i=l;break;case"defaultValue":a=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(s(91));break;default:dd(e,t,o,l,n,null)}return void xt(e,i,a,r);case"option":for(c in n)if(n.hasOwnProperty(c)&&null!=(i=n[c]))if("selected"===c)e.selected=i&&"function"!==typeof i&&"symbol"!==typeof i;else dd(e,t,c,i,n,null);return;case"dialog":Ku("beforetoggle",e),Ku("toggle",e),Ku("cancel",e),Ku("close",e);break;case"iframe":case"object":Ku("load",e);break;case"video":case"audio":for(i=0;i<qu.length;i++)Ku(qu[i],e);break;case"image":Ku("error",e),Ku("load",e);break;case"details":Ku("toggle",e);break;case"embed":case"source":case"link":Ku("error",e),Ku("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in n)if(n.hasOwnProperty(u)&&null!=(i=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:dd(e,t,u,i,n,null)}return;default:if(It(t)){for(d in n)n.hasOwnProperty(d)&&(void 0!==(i=n[d])&&pd(e,t,d,i,n,void 0));return}}for(l in n)n.hasOwnProperty(l)&&(null!=(i=n[l])&&dd(e,t,l,i,n,null))}function hd(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var md=null,gd=null;function yd(e){return 9===e.nodeType?e:e.ownerDocument}function vd(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function bd(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function _d(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"bigint"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var wd=null;var kd="function"===typeof setTimeout?setTimeout:void 0,Sd="function"===typeof clearTimeout?clearTimeout:void 0,xd="function"===typeof Promise?Promise:void 0,Cd="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof xd?function(e){return xd.resolve(null).then(e).catch(Ed)}:kd;function Ed(e){setTimeout(function(){throw e})}function Ad(e){return"head"===e}function Td(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)||"/&"===n){if(0===r)return e.removeChild(i),void Up(t);r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)Ld(e.ownerDocument.documentElement);else if("head"===n){Ld(n=e.ownerDocument.head);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[Je]||"SCRIPT"===s||"STYLE"===s||"LINK"===s&&"stylesheet"===a.rel.toLowerCase()||n.removeChild(a),a=o}}else"body"===n&&Ld(e.ownerDocument.body);n=i}while(n);Up(t)}function Id(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===e)break;e--}else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function Rd(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Rd(n),$e(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function Od(e,t){for(;8!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t)return null;if(null===(e=jd(e.nextSibling)))return null}return e}function Dd(e){return"$?"===e.data||"$~"===e.data}function Nd(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}
vendor: 5,240 bytes, line 2
2function jd(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}var Fd=null;function Md(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return jd(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function Vd(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function Pd(e,t,n){switch(t=yd(n),e){case"html":if(!(e=t.documentElement))throw Error(s(452));return e;case"head":if(!(e=t.head))throw Error(s(453));return e;case"body":if(!(e=t.body))throw Error(s(454));return e;default:throw Error(s(451))}}function Ld(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);$e(e)}var Bd=new Map,Hd=new Set;function Wd(e){return"function"===typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var zd=M.d;M.d={f:function(){var e=zd.f(),t=eu();return e||t},r:function(e){var t=Ze(e);null!==t&&5===t.tag&&"form"===t.type?is(t):zd.r(e)},D:function(e){zd.D(e),Ud("dns-prefetch",e,null)},C:function(e,t){zd.C(e,t),Ud("preconnect",e,t)},L:function(e,t,n){zd.L(e,t,n);var r=Yd;if(r&&e&&t){var i='link[rel="preload"][as="'+vt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(i+='[imagesrcset="'+vt(n.imageSrcSet)+'"]',"string"===typeof n.imageSizes&&(i+='[imagesizes="'+vt(n.imageSizes)+'"]')):i+='[href="'+vt(e)+'"]';var a=i;switch(t){case"style":a=Gd(e);break;case"script":a=$d(e)}Bd.has(a)||(e=h({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),Bd.set(a,e),null!==r.querySelector(i)||"style"===t&&r.querySelector(qd(a))||"script"===t&&r.querySelector(Kd(a))||(fd(t=r.createElement("link"),"link",e),tt(t),r.head.appendChild(t)))}},m:function(e,t){zd.m(e,t);var n=Yd;if(n&&e){var r=t&&"string"===typeof t.as?t.as:"script",i='link[rel="modulepreload"][as="'+vt(r)+'"][href="'+vt(e)+'"]',a=i;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=$d(e)}if(!Bd.has(a)&&(e=h({rel:"modulepreload",href:e},t),Bd.set(a,e),null===n.querySelector(i))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Kd(a)))return}fd(r=n.createElement("link"),"link",e),tt(r),n.head.appendChild(r)}}},X:function(e,t){zd.X(e,t);var n=Yd;if(n&&e){var r=et(n).hoistableScripts,i=$d(e),a=r.get(i);a||((a=n.querySelector(Kd(i)))||(e=h({src:e,async:!0},t),(t=Bd.get(i))&&tp(e,t),tt(a=n.createElement("script")),fd(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(i,a))}},S:function(e,t,n){zd.S(e,t,n);var r=Yd;if(r&&e){var i=et(r).hoistableStyles,a=Gd(e);t=t||"default";var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(qd(a)))s.loading=5;else{e=h({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Bd.get(a))&&ep(e,n);var l=o=r.createElement("link");tt(l),fd(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Qd(o,t,r)}o={type:"stylesheet",instance:o,count:1,state:s},i.set(a,o)}}},M:function(e,t){zd.M(e,t);var n=Yd;if(n&&e){var r=et(n).hoistableScripts,i=$d(e),a=r.get(i);a||((a=n.querySelector(Kd(i)))||(e=h({src:e,async:!0,type:"module"},t),(t=Bd.get(i))&&tp(e,t),tt(a=n.createElement("script")),fd(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(i,a))}}};var Yd="undefined"===typeof document?null:document;function Ud(e,t,n){var r=Yd;if(r&&"string"===typeof t&&t){var i=vt(t);i='link[rel="'+e+'"][href="'+i+'"]',"string"===typeof n&&(i+='[crossorigin="'+n+'"]'),Hd.has(i)||(Hd.add(i),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(i)&&(fd(t=r.createElement("link"),"link",e),tt(t),r.head.appendChild(t)))}}function Xd(e,t,n,r){var i,a,o,l,c=(c=G.current)?Wd(c):null;if(!c)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return"string"===typeof n.precedence&&"string"===typeof n.href?(t=Gd(n.href),(r=(n=et(c).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"===typeof n.href&&"string"===typeof n.precedence){e=Gd(n.href);var u=et(c).hoistableStyles,d=u.get(e);if(d||(c=c.ownerDocument||c,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,d),(u=c.querySelector(qd(e)))&&!u._p&&(d.instance=u,d.state.loading=5),Bd.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Bd.set(e,n),u||(i=c,a=e,o=n,l=d.state,i.querySelector('link[rel="preload"][as="style"]['+a+"]")?l.loading=1:(a=i.createElement("link"),l.preload=a,a.addEventListener("load",function(){return l.loading|=1}),a.addEventListener("error",function(){return l.loading|=2}
vendor: 5,583 bytes, line 2
2),fd(a,"link",o),tt(a),i.head.appendChild(a))))),t&&null===r)throw Error(s(528,""));return d}if(t&&null!==r)throw Error(s(529,""));return null;case"script":return t=n.async,"string"===typeof(n=n.src)&&t&&"function"!==typeof t&&"symbol"!==typeof t?(t=$d(n),(r=(n=et(c).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function Gd(e){return'href="'+vt(e)+'"'}function qd(e){return'link[rel="stylesheet"]['+e+"]"}function Jd(e){return h({},e,{"data-precedence":e.precedence,precedence:null})}function $d(e){return'[src="'+vt(e)+'"]'}function Kd(e){return"script[async]"+e}function Zd(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+vt(n.href)+'"]');if(r)return t.instance=r,tt(r),r;var i=h({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return tt(r=(e.ownerDocument||e).createElement("style")),fd(r,"style",i),Qd(r,n.precedence,e),t.instance=r;case"stylesheet":i=Gd(n.href);var a=e.querySelector(qd(i));if(a)return t.state.loading|=4,t.instance=a,tt(a),a;r=Jd(n),(i=Bd.get(i))&&ep(r,i),tt(a=(e.ownerDocument||e).createElement("link"));var o=a;return o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),fd(a,"link",r),t.state.loading|=4,Qd(a,n.precedence,e),t.instance=a;case"script":return a=$d(n.src),(i=e.querySelector(Kd(a)))?(t.instance=i,tt(i),i):(r=n,(i=Bd.get(a))&&tp(r=h({},n),i),tt(i=(e=e.ownerDocument||e).createElement("script")),fd(i,"link",r),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(s(443,t.type))}else"stylesheet"===t.type&&0===(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,Qd(r,n.precedence,e));return t.instance}function Qd(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function ep(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function tp(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var np=null;function rp(e,t,n){if(null===np){var r=new Map,i=np=new Map;i.set(n,r)}else(r=(i=np).get(n))||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[Je]||a[We]||"link"===e&&"stylesheet"===a.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==a.namespaceURI){var o=a.getAttribute(t)||"";o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function ip(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function ap(e){return"stylesheet"!==e.type||0!==(3&e.state.loading)}var op=0;function sp(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages))if(this.stylesheets)cp(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var lp=null;function cp(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,lp=new Map,t.forEach(up,e),lp=null,sp.call(e))}function up(e,t){if(!(4&t.state.loading)){var n=lp.get(e);if(n)var r=n.get(null);else{n=new Map,lp.set(e,n);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<i.length;a++){var o=i[a];"LINK"!==o.nodeName&&"not all"===o.getAttribute("media")||(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}o=(i=t.instance).getAttribute("data-precedence"),(a=n.get(o)||r)===r&&n.set(null,i),n.set(o,i),this.count++,r=sp.bind(this),i.addEventListener("load",r),i.addEventListener("error",r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(i,e.firstChild),t.state.loading|=4}}var dp={$$typeof:k,Provider:null,Consumer:null,_currentValue:V,_currentValue2:V,_threadCount:0};function pp(e,t,n,r,i,a,o,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=De(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=De(0),this.hiddenUpdates=De(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function fp(e,t,n,r,i,a,o,s,l,c,u,d){return e=new pp(e,t,n,o,l,c,u,d,s),t=1,!0===a&&(t|=24),a=Lr(3,null,null,t),e.current=a,a.stateNode=e,(t=Bi()).refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},ya(a),e}function hp(e){return e?e=Vr:Vr}function mp(e,t,n,r,i,a){i=hp(i),null===r.context?r.context=i:r.pendingContext=i,(r=ba(t)).payload={element:n},null!==(a=void 0===a?null:a)&&(r.callback=a),null!==(n=_a(e,r,t))&&(Jc(n,0,t),wa(n,e,t))}function gp(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function yp(e,t){gp(e,t),(e=e.alternate)&&gp(e,t)}function vp(e){if(13===e.tag||31===e.tag){var t=jr(e,67108864);null!==t&&Jc(t,0,67108864),yp(e,67108864)}}
vendor: 5,286 bytes, line 2
2function bp(e){if(13===e.tag||31===e.tag){var t=Gc(),n=jr(e,t=Ve(t));null!==n&&Jc(n,0,t),yp(e,t)}}var _p=!0;function wp(e,t,n,r){var i=F.T;F.T=null;var a=M.p;try{M.p=2,Sp(e,t,n,r)}finally{M.p=a,F.T=i}}function kp(e,t,n,r){var i=F.T;F.T=null;var a=M.p;try{M.p=8,Sp(e,t,n,r)}finally{M.p=a,F.T=i}}function Sp(e,t,n,r){if(_p){var i=xp(r);if(null===i)nd(e,t,r,Cp,n),Mp(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Ip=Vp(Ip,e,t,n,r,i),!0;case"dragenter":return Rp=Vp(Rp,e,t,n,r,i),!0;case"mouseover":return Op=Vp(Op,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return Dp.set(a,Vp(Dp.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,Np.set(a,Vp(Np.get(a)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Mp(e,r),4&t&&-1<Fp.indexOf(e)){for(;null!==i;){var a=Ze(i);if(null!==a)switch(a.tag){case 3:if((a=a.stateNode).current.memoizedState.isDehydrated){var o=Ae(a.pendingLanes);if(0!==o){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var l=1<<31-we(o);s.entanglements[1]|=l,o&=~l}Mu(a),0===(6&hc)&&(Fc=ce()+500,Vu(0,!1))}}break;case 31:case 13:null!==(s=jr(a,2))&&Jc(s,0,2),eu(),yp(a,2)}if(null===(a=xp(r))&&nd(e,t,r,Cp,n),a===i)break;i=a}null!==i&&r.stopPropagation()}else nd(e,t,r,null,n)}}function xp(e){return Ep(e=Ft(e))}var Cp=null;function Ep(e){if(Cp=null,null!==(e=Ke(e))){var t=c(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=u(t)))return e;e=null}else if(31===n){if(null!==(e=d(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Cp=e,null}function Ap(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ue()){case de:return 2;case pe:return 8;case fe:case he:return 32;case me:return 268435456;default:return 32}default:return 32}}var Tp=!1,Ip=null,Rp=null,Op=null,Dp=new Map,Np=new Map,jp=[],Fp="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Mp(e,t){switch(e){case"focusin":case"focusout":Ip=null;break;case"dragenter":case"dragleave":Rp=null;break;case"mouseover":case"mouseout":Op=null;break;case"pointerover":case"pointerout":Dp.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Np.delete(t.pointerId)}}function Vp(e,t,n,r,i,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},null!==t&&(null!==(t=Ze(t))&&vp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Pp(e){var t=Ke(e.target);if(null!==t){var n=c(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=u(n)))return e.blockedOn=t,void Be(e.priority,function(){bp(n)})}else if(31===t){if(null!==(t=d(n)))return e.blockedOn=t,void Be(e.priority,function(){bp(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Lp(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=xp(e.nativeEvent);if(null!==n)return null!==(t=Ze(n))&&vp(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);jt=r,n.target.dispatchEvent(r),jt=null,t.shift()}return!0}function Bp(e,t,n){Lp(e)&&n.delete(t)}function Hp(){Tp=!1,null!==Ip&&Lp(Ip)&&(Ip=null),null!==Rp&&Lp(Rp)&&(Rp=null),null!==Op&&Lp(Op)&&(Op=null),Dp.forEach(Bp),Np.forEach(Bp)}function Wp(e,t){e.blockedOn===t&&(e.blockedOn=null,Tp||(Tp=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Hp)))}var zp=null;function Yp(e){zp!==e&&(zp=e,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){zp===e&&(zp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if("function"!==typeof r){if(null===Ep(r||n))continue;break}var a=Ze(n);null!==a&&(e.splice(t,3),t-=3,ns(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Up(e){function t(t){return Wp(t,e)}null!==Ip&&Wp(Ip,e),null!==Rp&&Wp(Rp,e),null!==Op&&Wp(Op,e),Dp.forEach(t),Np.forEac
2h(t);for(var n=0;n<jp.length;n++){var r=jp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<jp.length&&null===(n=jp[0]).blockedOn;)Pp(n),null===n.blockedOn&&jp.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[ze]||null;if("function"===typeof a)o||Yp(n);else if(o){var s=null;if(a&&a.hasAttribute("formAction")){if(i=a,o=a[ze]||null)s=o.formAction;else if(null!==Ep(i))continue}else s=o.action;"function"===typeof s?n[r+1]=s:(n.splice(r,3),r-=3),Yp(n)}}}function Xp(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==i&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"===typeof navigation){var r=!1,i=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==i&&(i(),i=null)}}}function Gp(e){this._internalRoot=e}function qp(e){this._internalRoot=e}qp.prototype.render=Gp.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(s(409));mp(t.current,Gc(),e,t,null,null)},qp.prototype.unmount=Gp.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;mp(e.current,2,null,e,null,null),eu(),t[Ye]=null}},qp.prototype.unstable_scheduleHydration=function(e){if(e){var t=Le();e={blockedOn:null,target:e,priority:t};for(var n=0;n<jp.length&&0!==t&&t<jp[n].priority;n++);jp.splice(n,0,e),0===n&&Pp(e)}};var Jp=a.version;if("19.2.3"!==Jp)throw Error(s(527,Jp,"19.2.3"));M.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(s(188));throw e=Object.keys(e).join(","),Error(s(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=c(e)))throw Error(s(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return p(i),e;if(a===r)return p(i),t;a=a.sibling}throw Error(s(188))}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,l=i.child;l;){if(l===n){o=!0,n=i,r=a;break}if(l===r){o=!0,r=i,n=a;break}l=l.sibling}if(!o){for(l=a.child;l;){if(l===n){o=!0,n=a,r=i;break}if(l===r){o=!0,r=a,n=i;break}l=l.sibling}if(!o)throw Error(s(189))}}if(n.alternate!==r)throw Error(s(190))}if(3!==n.tag)throw Error(s(188));return n.stateNode.current===n?e:t}(t),e=null===(e=null!==e?f(e):null)?null:e.stateNode};var $p={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:F,reconcilerVersion:"19.2.3"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Kp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Kp.isDisabled&&Kp.supportsFiber)try{ve=Kp.inject($p),be=Kp}catch(Zp){}}n.createRoot=function(e,t){if(!l(e))throw Error(s(299));var n=!1,r="",i=Cs,a=Es,o=As;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(i=t.onUncaughtError),void 0!==t.onCaughtError&&(a=t.onCaughtError),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=fp(e,1,!1,null,0,n,r,null,i,a,o,Xp),e[Ye]=t.current,ed(e),new Gp(t)},n.hydrateRoot=function(e,t,n){if(!l(e))throw Error(s(299));var r=!1,i="",a=Cs,o=Es,c=As,u=null;return null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onUncaughtError&&(a=n.onUncaughtError),void 0!==n.onCaughtError&&(o=n.onCaughtError),void 0!==n.onRecoverableError&&(c=n.onRecoverableError),void 0!==n.formState&&(u=n.formState)),(t=fp(e,1,!0,t,0,r,i,u,a,o,c,Xp)).context=hp(null),n=t.current,(i=ba(r=Ve(r=Gc()))).callback=null,_a(n,i,r),n=r,t.current.lanes=n,Ne(t,n),Mu(t),e[Ye]=t.current,ed(e),new qp(t)},n.version="19.2.3"}
2,68086(e,t,n){"use strict";var r=n(36665);function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var o={d:{f:a,r:function(){throw Error(i(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},s=Symbol.for("react.portal");var l=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){return"font"===e?"":"string"===typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(i(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=l.T,n=o.p;try{if(l.T=null,o.p=2,e)return e()}finally{l.T=t,o.p=n,o.d.f()}},t.preconnect=function(e,t){"string"===typeof e&&(t?t="string"===typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:t=null,o.d.C(e,t))},t.prefetchDNS=function(e){"string"===typeof e&&o.d.D(e)},t.preinit=function(e,t){if("string"===typeof e&&t&&"string"===typeof t.as){var n=t.as,r=c(n,t.crossOrigin),i="string"===typeof t.integrity?t.integrity:void 0,a="string"===typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?o.d.S(e,"string"===typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:a}):"script"===n&&o.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:a,nonce:"string"===typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"===typeof e)if("object"===typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=c(t.as,t.crossOrigin);o.d.M(e,{crossOrigin:n,integrity:"string"===typeof t.integrity?t.integrity:void 0,nonce:"string"===typeof t.nonce?t.nonce:void 0})}}else null==t&&o.d.M(e)},t.preload=function(e,t){if("string"===typeof e&&"object"===typeof t&&null!==t&&"string"===typeof t.as){var n=t.as,r=c(n,t.crossOrigin);o.d.L(e,n,{crossOrigin:r,integrity:"string"===typeof t.integrity?t.integrity:void 0,nonce:"string"===typeof t.nonce?t.nonce:void 0,type:"string"===typeof t.type?t.type:void 0,fetchPriority:"string"===typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"===typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"===typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"===typeof t.imageSizes?t.imageSizes:void 0,media:"string"===typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"===typeof e)if(t){var n=c(t.as,t.crossOrigin);o.d.m(e,{as:"string"===typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"===typeof t.integrity?t.integrity:void 0})}else o.d.m(e)},t.requestFormReset=function(e){o.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return l.H.useFormState(e,t,n)},t.useFormStatus=function(){return l.H.useHostTransitionStatus()},t.version="19.2.3"},64657(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(87390)},33672(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(68086)},24380(e){var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,i="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,o){if(e===o)return!0;if(e&&o&&"object"==typeof e&&"object"==typeof o){if(e.constructor!==o.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=o.length)return!1;for(l=s;0!==l--;)if(!a(e[l],o[l]))return!1;return!0}if(n&&e instanceof Map&&o instanceof Map){if(e.size!==o.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!o.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!a(l.value[1],o.get(l.value[0])))return!1;return!0}
2if(r&&e instanceof Set&&o instanceof Set){if(e.size!==o.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!o.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(o)){if((s=e.length)!=o.length)return!1;for(l=s;0!==l--;)if(e[l]!==o[l])return!1;return!0}if(e.constructor===RegExp)return e.source===o.source&&e.flags===o.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"===typeof e.valueOf&&"function"===typeof o.valueOf)return e.valueOf()===o.valueOf();if(e.toString!==Object.prototype.toString&&"function"===typeof e.toString&&"function"===typeof o.toString)return e.toString()===o.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(o).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(o,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!a(e[c[l]],o[c[l]]))return!1;return!0}return e!==e&&o!==o}e.exports=function(e,t){try{return a(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},14878(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case o:case a:case u:case d:case h:return e;default:switch(e=e&&e.$$typeof){case l:case c:case f:case p:case s:return e;default:return t}}case r:return t}}}t.ContextConsumer=s,t.ContextProvider=l,t.Element=n,t.ForwardRef=c,t.Fragment=i,t.Lazy=f,t.Memo=p,t.Portal=r,t.Profiler=o,t.StrictMode=a,t.Suspense=u,t.SuspenseList=d,t.isContextConsumer=function(e){return g(e)===s},t.isContextProvider=function(e){return g(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return g(e)===c},t.isFragment=function(e){return g(e)===i},t.isLazy=function(e){return g(e)===f},t.isMemo=function(e){return g(e)===p},t.isPortal=function(e){return g(e)===r},t.isProfiler=function(e){return g(e)===o},t.isStrictMode=function(e){return g(e)===a},t.isSuspense=function(e){return g(e)===u},t.isSuspenseList=function(e){return g(e)===d},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===o||e===a||e===u||e===d||"object"===typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===p||e.$$typeof===l||e.$$typeof===s||e.$$typeof===c||e.$$typeof===m||void 0!==e.getModuleId)},t.typeOf=g},57997(e,t,n){"use strict";n.r(t),n.d(t,{fullWidthClassName:()=>i,noScrollbarsClassName:()=>a,removedBarSizeVariable:()=>o,zeroRightClassName:()=>r});var r="right-scroll-bar-position",i="width-before-scroll-bar",a="with-scroll-bars-hidden",o="--removed-body-scroll-bar-size"},40053(e,t,n){"use strict";n.r(t),n.d(t,{RemoveScrollBar:()=>f,fullWidthClassName:()=>a.fullWidthClassName,getGapWidth:()=>l,noScrollbarsClassName:()=>a.noScrollbarsClassName,removedBarSizeVariable:()=>a.removedBarSizeVariable,zeroRightClassName:()=>a.zeroRightClassName});var r=n(36665),i=n(61430),a=n(57997),o={left:0,top:0,right:0,gap:0},s=function(e){return parseInt(e||"",10)||0},l=function(e){if(void 0===e&&(e="margin"),"undefined"===typeof window)return o;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[s(n),s(r),s(i)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},c=(0,i.styleSingleton)(),u="data-scroll-locked",d=function(e,t,n,r){var i=e.left,o=e.top,s=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n  .".concat(a.noScrollbarsClassName," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(l,"px ").concat(r,";\n  }\n  body[").concat(u,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(i,"px;\n    padding-top: ").concat(o,"px;\n    padding-right: ").concat(s,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(l,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";
2")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(a.zeroRightClassName," {\n    right: ").concat(l,"px ").concat(r,";\n  }\n  \n  .").concat(a.fullWidthClassName," {\n    margin-right: ").concat(l,"px ").concat(r,";\n  }\n  \n  .").concat(a.zeroRightClassName," .").concat(a.zeroRightClassName," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(a.fullWidthClassName," .").concat(a.fullWidthClassName," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(u,"] {\n    ").concat(a.removedBarSizeVariable,": ").concat(l,"px;\n  }\n")},p=function(){var e=parseInt(document.body.getAttribute(u)||"0",10);return isFinite(e)?e:0},f=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,a=void 0===i?"margin":i;r.useEffect(function(){return document.body.setAttribute(u,(p()+1).toString()),function(){var e=p()-1;e<=0?document.body.removeAttribute(u):document.body.setAttribute(u,e.toString())}},[]);var o=r.useMemo(function(){return l(a)},[a]);return r.createElement(c,{styles:d(o,!t,a,n?"":"!important")})}},79578(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>V});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}Object.create;function a(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"===typeof SuppressedError&&SuppressedError;var o=n(36665),s=n(57997);function l(e,t){return"function"===typeof e?e(t):e&&(e.current=t),e}var c="undefined"!==typeof window?o.useLayoutEffect:o.useEffect,u=new WeakMap;function d(e,t){var n=function(e,t){var n=(0,o.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}(t||null,function(t){return e.forEach(function(e){return l(e,t)})});return c(function(){var t=u.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||l(e,null)}),i.forEach(function(e){r.has(e)||l(e,a)})}u.set(n,e)},[e]),n}function p(e){return e}function f(e,t){void 0===t&&(t=p);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}var h=function(e){void 0===e&&(e={});var t=f(null);return t.options=r({async:!0,ssr:!1},e),t}(),m=function(){},g=o.forwardRef(function(e,t){var n=o.useRef(null),a=o.useState({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:m}),s=a[0],l=a[1],c=e.forwardProps,u=e.children,p=e.className,f=e.removeScrollBar,g=e.enabled,y=e.shards,v=e.sideCar,b=e.noRelative,_=e.noIsolation,w=e.inert,k=e.allowPinchZoom,S=e.as,x=void 0===S?"div":S,C=e.gapMode,E=i(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=v,T=d([n,t]),I=r(r({},E),s);return o.createElement(o.Fragment,null,g&&o.createElement(A,{sideCar:h,removeScrollBar:f,shards:y,noRelative:b,noIsolation:_,inert:w,setCallbacks:l,allowPinchZoom:!!k,lockRef:n,gapMode:C}),c?o.cloneElement(o.Children.only(u),r(r({},I),{ref:T})):o.createElement(x,r({},I,{className:p,ref:T}),u))});g.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},g.classNames={fullWidth:s.fullWidthClassName,zeroRight:s.zeroRightClassName};
vendor: 4,200 bytes, line 2
2var y=function(e){var t=e.sideCar,n=i(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var a=t.read();if(!a)throw new Error("Sidecar medium not found");return o.createElement(a,r({},n))};y.isSideCarExport=!0;var v=n(40053),b=n(61430),_=!1;if("undefined"!==typeof window)try{var w=Object.defineProperty({},"passive",{get:function(){return _=!0,!0}});window.addEventListener("test",w,w),window.removeEventListener("test",w,w)}catch(P){_=!1}var k=!!_&&{passive:!1},S=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},x=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!==typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),C(e,r)){var i=E(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},C=function(e,t){return"v"===e?function(e){return S(e,"overflowY")}(t):function(e){return S(e,"overflowX")}(t)},E=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},A=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},T=function(e){return[e.deltaX,e.deltaY]},I=function(e){return e&&"current"in e?e.current:e},R=function(e){return"\n  .block-interactivity-".concat(e," {pointer-events: none;}\n  .allow-interactivity-").concat(e," {pointer-events: all;}\n")},O=0,D=[];function N(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const j=(F=function(e){var t=o.useRef([]),n=o.useRef([0,0]),r=o.useRef(),i=o.useState(O++)[0],s=o.useState(b.styleSingleton)[0],l=o.useRef(e);o.useEffect(function(){l.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=a([e.lockRef.current],(e.shards||[]).map(I),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var c=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var i,a=A(e),o=n.current,s="deltaX"in e?e.deltaX:o[0]-a[0],c="deltaY"in e?e.deltaY:o[1]-a[1],u=e.target,d=Math.abs(s)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var p=window.getSelection(),f=p&&p.anchorNode;if(f&&(f===u||f.contains(u)))return!1;var h=x(d,u);if(!h)return!0;if(h?i=d:(i="v"===d?"h":"v",h=x(d,u)),!h)return!1;if(!r.current&&"changedTouches"in e&&(s||c)&&(r.current=i),!i)return!0;var m=r.current||i;return function(e,t,n,r,i){var a=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,l=t.contains(s),c=!1,u=o>0,d=0,p=0;do{if(!s)break;var f=E(e,s),h=f[0],m=f[1]-f[2]-a*h;(h||m)&&C(e,s)&&(d+=m,p+=h);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(u&&(i&&Math.abs(d)<1||!i&&o>d)||!u&&(i&&Math.abs(p)<1||!i&&-o>p))&&(c=!0),c}(m,t,e,"h"===m?s:c,!0)},[]),u=o.useCallback(function(e){var n=e;if(D.length&&D[D.length-1]===s){var r="deltaY"in n?T(n):A(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&(t=e.delta,i=r,t[0]===i[0]&&t[1]===i[1]);var t,i})[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var a=(l.current.shards||[]).map(I).filter(Boolean).filter(function(e){return e.contains(n.target)});(a.length>0?c(n,a[0]):!l.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),d=o.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:N(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),p=o.useCallback(function(e){n.current=A(e),r.current=void 0},[]),f=o.useCallback(function(t){d(t.type,T(t),t.target,c(t,e.lockRef.current))}
2,[]),h=o.useCallback(function(t){d(t.type,A(t),t.target,c(t,e.lockRef.current))},[]);o.useEffect(function(){return D.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:h}),document.addEventListener("wheel",u,k),document.addEventListener("touchmove",u,k),document.addEventListener("touchstart",p,k),function(){D=D.filter(function(e){return e!==s}),document.removeEventListener("wheel",u,k),document.removeEventListener("touchmove",u,k),document.removeEventListener("touchstart",p,k)}},[]);var m=e.removeScrollBar,g=e.inert;return o.createElement(o.Fragment,null,g?o.createElement(s,{styles:R(i)}):null,m?o.createElement(v.RemoveScrollBar,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},h.useMedium(F),y);var F,M=o.forwardRef(function(e,t){return o.createElement(g,r({},e,{ref:t,sideCar:j}))});M.classNames=g.classNames;const V=M},68563(e,t,n){"use strict";n.r(t),n.d(t,{Context:()=>v,MediaQuery:()=>S,default:()=>S,toQuery:()=>y,useMediaQuery:()=>k});var r=n(36665),i=n(5739),a=n.n(i),o=n(25190);function s(e,t){if(e===t)return!0;if(!e||!t)return!1;const n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(let a=0;a<i;a++){const r=n[a];if(e[r]!==t[r]||!Object.prototype.hasOwnProperty.call(t,r))return!1}return!0}var l=n(94075),c=n.n(l);const u=c().oneOfType([c().string,c().number]),d={all:c().bool,grid:c().bool,aural:c().bool,braille:c().bool,handheld:c().bool,print:c().bool,projection:c().bool,screen:c().bool,tty:c().bool,tv:c().bool,embossed:c().bool},p={orientation:c().oneOf(["portrait","landscape"]),scan:c().oneOf(["progressive","interlace"]),aspectRatio:c().string,deviceAspectRatio:c().string,height:u,deviceHeight:u,width:u,deviceWidth:u,color:c().bool,colorIndex:c().bool,monochrome:c().bool,resolution:u,type:Object.keys(d)},{type:f,...h}=p,m={minAspectRatio:c().string,maxAspectRatio:c().string,minDeviceAspectRatio:c().string,maxDeviceAspectRatio:c().string,minHeight:u,maxHeight:u,minDeviceHeight:u,maxDeviceHeight:u,minWidth:u,maxWidth:u,minDeviceWidth:u,maxDeviceWidth:u,minColor:c().number,maxColor:c().number,minColorIndex:c().number,maxColorIndex:c().number,minMonochrome:c().number,maxMonochrome:c().number,minResolution:u,maxResolution:u,...h};var g={all:{...d,...m},types:d,matchers:p,features:m};const y=e=>{const t=[];return Object.keys(g.all).forEach(n=>{const r=e[n];null!=r&&t.push(((e,t)=>{const n=(0,o.default)(e);return"number"===typeof t&&(t=`${t}px`),!0===t?n:!1===t?`not ${n}`:`(${n}: ${t})`})(n,r))}),t.join(" and ")},v=(0,r.createContext)(void 0),b=e=>{if(!e)return;return Object.keys(e).reduce((t,n)=>(t[(0,o.default)(n)]=e[n],t),{})},_=()=>{const e=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{e.current=!0},[]),e.current},w=e=>{const t=()=>(e=>e.query||y(e))(e),[n,i]=(0,r.useState)(t);return(0,r.useEffect)(()=>{const e=t();n!==e&&i(e)},[e]),n},k=(e,t,n)=>{const i=(e=>{const t=(0,r.useContext)(v),n=()=>b(e)||b(t),[i,a]=(0,r.useState)(n);return(0,r.useEffect)(()=>{const e=n();s(i,e)||a(e)},[e,t]),i})(t),o=w(e);if(!o)throw new Error("Invalid or missing MediaQuery!");const l=((e,t)=>{const n=()=>a()(e,t||{},!!t),[i,o]=(0,r.useState)(n),s=_();return(0,r.useEffect)(()=>{if(s){const e=n();return o(e),()=>{e&&e.dispose()}}},[e,t]),i})(o,i),c=(e=>{const[t,n]=(0,r.useState)(e.matches);return(0,r.useEffect)(()=>{const t=e=>{n(e.matches)};return e.addListener(t),n(e.matches),()=>{e.removeListener(t)}},[e]),t})(l),u=_();return(0,r.useEffect)(()=>{u&&n&&n(c)},[c]),(0,r.useEffect)(()=>()=>{l&&l.dispose()},[]),c},S=({children:e,device:t,onChange:n,...r})=>{const i=k(r,t,n);return"function"===typeof e?e(i):i?e:null}},61430(e,t,n){"use strict";n.r(t),n.d(t,{styleHookSingleton:()=>s,styleSingleton:()=>l,stylesheetSingleton:()=>o});var r,i=n(36665);function a(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=r||n.nc;return t&&e.setAttribute("nonce",t),e}var o=function(){var e=0,t=null;return{add:function(n){var r,i;0==e&&(t=a())&&(i=n,(r=t).styleSheet?r.styleSheet.cssText=i:r.appendChild(document.createTextNode(i)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},s=function(){var e=o();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},l=function(){var e=s();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}}},70059(e,t,n){"use strict";var r=n(36665).__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;t.c=function(e){return r.H.useMemoCache(e)}},15949(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function i(e,t,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==t.key&&(i=""+t.key),"key"in t)for(var a in r={},t)"key"!==a&&(r[a]=t[a]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:i,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=i,t.jsxs=i},52910(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),h=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,y={};function v(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||m}function b(){}function _(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||m}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var w=_.prototype=new b;w.constructor=_,g(w,v.prototype),w.isPureReactComponent=!0;var k=Array.isArray;function S(){}var x={H:null,A:null,T:null,S:null},C=Object.prototype.hasOwnProperty;function E(e,t,r){var i=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==i?i:null,props:r}}function A(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function I(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function R(e,t,i,a,o){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,c,u=!1;if(null===e)u=!0;else switch(s){case"bigint":case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0;break;case p:return R((u=e._init)(e._payload),t,i,a,o)}}if(u)return o=o(e),u=""===a?"."+I(e,0):a,k(o)?(i="",null!=u&&(i=u.replace(T,"$&/")+"/"),R(o,t,i,"",function(e){return e})):null!=o&&(A(o)&&(l=o,c=i+(null==o.key||e&&e.key===o.key?"":(""+o.key).replace(T,"$&/")+"/")+u,o=E(l.type,c,l.props)),t.push(o)),1;u=0;var d,f=""===a?".":a+":";if(k(e))for(var m=0;m<e.length;m++)u+=R(a=e[m],t,i,s=f+I(a,m),o);else if("function"===typeof(m=null===(d=e)||"object"!==typeof d?null:"function"===typeof(d=h&&d[h]||d["@@iterator"])?d:null))for(e=m.call(e),m=0;!(a=e.next()).done;)u+=R(a=a.value,t,i,s=f+I(a,m++),o);else if("object"===s){if("function"===typeof e.then)return R(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"===typeof e.status?e.then(S,S):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,i,a,o);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return u}function O(e,t,n){if(null==e)return e;var r=[],i=0;return R(e,r,"","",function(e){return t.call(n,e,i++)}),r}function D(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N="function"===typeof reportError?reportError:function(e){if("object"===typeof window&&"function"===typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"===typeof e&&null!==e&&"string"===typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"===typeof process&&"function"===typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},j={map:O,forEach:function(e,t,n){O(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return O(e,function(){t++}),t},toArray:function(e){return O(e,function(e){return e})||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};t.Activity=f,t.Children=j,t.Component=v,t.Fragment=i,t.Profiler=o,t.PureComponent=_,t.StrictMode=a,t.Suspense=u,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=x,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return x.H.useMemoCache(e)}}
vendor: 6,661 bytes, line 2
2,t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error("The argument must be a React element, but you passed "+e+".");var r=g({},e.props),i=e.key;if(null!=t)for(a in void 0!==t.key&&(i=""+t.key),t)!C.call(t,a)||"key"===a||"__self"===a||"__source"===a||"ref"===a&&void 0===t.ref||(r[a]=t[a]);var a=arguments.length-2;if(1===a)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},t.createElement=function(e,t,n){var r,i={},a=null;if(null!=t)for(r in void 0!==t.key&&(a=""+t.key),t)C.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(i[r]=t[r]);var o=arguments.length-2;if(1===o)i.children=n;else if(1<o){for(var s=Array(o),l=0;l<o;l++)s[l]=arguments[l+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps)void 0===i[r]&&(i[r]=o[r]);return E(e,a,i)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:D}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=x.T,n={};x.T=n;try{var r=e(),i=x.S;null!==i&&i(n,r),"object"===typeof r&&null!==r&&"function"===typeof r.then&&r.then(S,N)}catch(a){N(a)}finally{null!==t&&null!==n.types&&(t.types=n.types),x.T=t}},t.unstable_useCacheRefresh=function(){return x.H.useCacheRefresh()},t.use=function(e){return x.H.use(e)},t.useActionState=function(e,t,n){return x.H.useActionState(e,t,n)},t.useCallback=function(e,t){return x.H.useCallback(e,t)},t.useContext=function(e){return x.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return x.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return x.H.useEffect(e,t)},t.useEffectEvent=function(e){return x.H.useEffectEvent(e)},t.useId=function(){return x.H.useId()},t.useImperativeHandle=function(e,t,n){return x.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return x.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return x.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return x.H.useMemo(e,t)},t.useOptimistic=function(e,t){return x.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return x.H.useReducer(e,t,n)},t.useRef=function(e){return x.H.useRef(e)},t.useState=function(e){return x.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return x.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return x.H.useTransition()},t.version="19.2.3"},35765(e,t,n){"use strict";e.exports=n(70059)},36665(e,t,n){"use strict";e.exports=n(52910)},60397(e,t,n){"use strict";e.exports=n(15949)},88148(e,t,n){"use strict";var r=n(27631),i=n(20608),a=r("RegExp.prototype.exec"),o=n(82508);e.exports=function(e){if(!i(e))throw new o("`regex` must be a RegExp");return function(t){return null!==a(e,t)}}},95430(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<a(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,o=i>>>1;r<o;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>a(l,n))c<i&&0>a(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<i&&0>a(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"===typeof performance&&"function"===typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,p=null,f=3,h=!1,m=!1,g=!1,y=!1,v="function"===typeof setTimeout?setTimeout:null,b="function"===typeof clearTimeout?clearTimeout:null,_="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(u);null!==t;){if(null===t.callback)i(u);else{if(!(t.startTime<=e))break;i(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function k(e){if(g=!1,w(e),!m)if(null!==r(c))m=!0,x||(x=!0,S());else{var t=r(u);null!==t&&D(k,t.startTime-e)}}var S,x=!1,C=-1,E=5,A=-1;function T(){return!!y||!(t.unstable_now()-A<E)}function I(){if(y=!1,x){var e=t.unstable_now();A=e;var n=!0;try{e:{m=!1,g&&(g=!1,b(C),C=-1),h=!0;var a=f;try{t:{for(w(e),p=r(c);null!==p&&!(p.expirationTime>e&&T());){var o=p.callback;if("function"===typeof o){p.callback=null,f=p.priorityLevel;var s=o(p.expirationTime<=e);if(e=t.unstable_now(),"function"===typeof s){p.callback=s,w(e),n=!0;break t}p===r(c)&&i(c),w(e)}else i(c);p=r(c)}if(null!==p)n=!0;else{var l=r(u);null!==l&&D(k,l.startTime-e),n=!1}}break e}finally{p=null,f=a,h=!1}n=void 0}}finally{n?S():x=!1}}}if("function"===typeof _)S=function(){_(I)};else if("undefined"!==typeof MessageChannel){var R=new MessageChannel,O=R.port2;R.port1.onmessage=I,S=function(){O.postMessage(null)}}else S=function(){v(I,0)};function D(e,n){C=v(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_requestPaint=function(){y=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,i,a){var o=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?o+a:o:a=o,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:i,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>o?(e.sortIndex=a,n(u,e),null===r(c)&&e===r(u)&&(g?(b(C),C=-1):g=!0,D(k,a-o))):(e.sortIndex=s,n(c,e),m||h||(m=!0,x||(x=!0,S()))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},73167(e,t,n){"use strict";e.exports=n(95430)}
2,26940(e,t,n){"use strict";var r=n(57968),i=n(37502),a=n(65303)(),o=n(3128),s=n(82508),l=r("%Math.floor%");e.exports=function(e,t){if("function"!==typeof e)throw new s("`fn` is not a function");if("number"!==typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,c=!0;if("length"in e&&o){var u=o(e,"length");u&&!u.configurable&&(r=!1),u&&!u.writable&&(c=!1)}return(r||c||!n)&&(a?i(e,"length",t,!0,!0):i(e,"length",t)),e}},6766(e,t,n){!function(e){"use strict";if(!e.setImmediate){var t,n=1,r={},i=!1,a=e.document,o=Object.getPrototypeOf&&Object.getPrototypeOf(e);o=o&&o.setTimeout?o:e,"[object process]"==={}.toString.call(e.process)?t=function(e){process.nextTick(function(){l(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var n="setImmediate$"+Math.random()+"$",r=function(t){t.source===e&&"string"===typeof t.data&&0===t.data.indexOf(n)&&l(+t.data.slice(n.length))};e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),t=function(t){e.postMessage(n+t,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){l(e.data)},t=function(t){e.port2.postMessage(t)}}():a&&"onreadystatechange"in a.createElement("script")?function(){var e=a.documentElement;t=function(t){var n=a.createElement("script");n.onreadystatechange=function(){l(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():t=function(e){setTimeout(l,0,e)},o.setImmediate=function(e){"function"!==typeof e&&(e=new Function(""+e));for(var i=new Array(arguments.length-1),a=0;a<i.length;a++)i[a]=arguments[a+1];var o={callback:e,args:i};return r[n]=o,t(n),n++},o.clearImmediate=s}function s(e){delete r[e]}function l(e){if(i)setTimeout(l,0,e);else{var t=r[e];if(t){i=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{s(e),i=!1}}}}}("undefined"===typeof self?"undefined"===typeof n.g?this:n.g:self)},41970(e,t,n){"use strict";var r=n(96052),i=n(82508),a=function(e,t,n){for(var r,i=e;null!=(r=i.next);i=r)if(r.key===t)return i.next=r.next,n||(r.next=e.next,e.next=r),r};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new i("Side channel does not contain "+r(e))},delete:function(t){var n=function(e,t){if(e)return a(e,t,!0)}(e,t);return n&&e&&!e.next&&(e=void 0),!!n},get:function(t){return function(e,t){if(e){var n=a(e,t);return n&&n.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!a(e,t)}(e,t)},set:function(t,n){e||(e={next:void 0}),function(e,t,n){var r=a(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(e,t,n)}};return t}},54684(e,t,n){"use strict";var r=n(57968),i=n(27631),a=n(96052),o=n(82508),s=r("%Map%",!0),l=i("Map.prototype.get",!0),c=i("Map.prototype.set",!0),u=i("Map.prototype.has",!0),d=i("Map.prototype.delete",!0),p=i("Map.prototype.size",!0);e.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+a(e))},delete:function(t){if(e){var n=d(e,t);return 0===p(e)&&(e=void 0),n}return!1},get:function(t){if(e)return l(e,t)},has:function(t){return!!e&&u(e,t)},set:function(t,n){e||(e=new s),c(e,t,n)}};return t}},70860(e,t,n){"use strict";var r=n(57968),i=n(27631),a=n(96052),o=n(54684),s=n(82508),l=r("%WeakMap%",!0),c=i("WeakMap.prototype.get",!0),u=i("WeakMap.prototype.set",!0),d=i("WeakMap.prototype.has",!0),p=i("WeakMap.prototype.delete",!0);e.exports=l?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new s("Side channel does not contain "+a(e))},delete:function(n){if(l&&n&&("object"===typeof n||"function"===typeof n)){if(e)return p(e,n)}else if(o&&t)return t.delete(n);return!1},get:function(n){return l&&n&&("object"===typeof n||"function"===typeof n)&&e?c(e,n):t&&t.get(n)},has:function(n){return l&&n&&("object"===typeof n||"function"===typeof n)&&e?d(e,n):!!t&&t.has(n)},set:function(n,r){l&&n&&("object"===typeof n||"function"===typeof n)?(e||(e=new l),u(e,n,r)):o&&(t||(t=o()),t.set(n,r))}};return n}:o},80167(e,t,n){"use strict";var r=n(82508),i=n(96052),a=n(41970),o=n(54684),s=n(70860)||o||a;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r("Side channel does not contain "+i(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||(e=s()),e.set(t,n)}};return t}},74119(e,t,n){"use strict";var r=n(56749),i=Array.prototype.concat,a=Array.prototype.slice,o=e.exports=function(e){for(var t=[],n=0,o=e.length;n<o;n++){var s=e[n];r(s)?t=i.call(t,a.call(s)):t.push(s)}return t};o.wrap=function(e){return function(){return e(o(arguments))}}},56749(e){e.exports=function(e){return!(!e||"string"===typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},12798(e){var t;t=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010c":"C","\u010d":"
2c","\u010e":"D","\u010f":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011a":"E","\u011b":"e","\u011e":"G","\u011f":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012a":"i","\u012b":"i","\u012e":"I","\u012f":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013b":"L","\u013c":"l","\u013d":"L","\u013e":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014c":"O","\u014d":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015a":"S","\u015b":"s","\u015e":"S","\u015f":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016a":"u","\u016b":"u","\u016e":"U","\u016f":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017a":"z","\u017b":"Z","\u017c":"z","\u017d":"Z","\u017e":"z","\u018f":"E","\u0192":"f","\u01a0":"O","\u01a1":"o","\u01af":"U","\u01b0":"u","\u01c8":"LJ","\u01c9":"lj","\u01cb":"NJ","\u01cc":"nj","\u0218":"S","\u0219":"s","\u021a":"T","\u021b":"t","\u0259":"e","\u02da":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038a":"I","\u038c":"O","\u038e":"Y","\u038f":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039a":"K","\u039b":"L","\u039c":"M","\u039d":"N","\u039e":"3","\u039f":"O","\u03a0":"P","\u03a1":"R","\u03a3":"S","\u03a4":"T","\u03a5":"Y","\u03a6":"F","\u03a7":"X","\u03a8":"PS","\u03a9":"W","\u03aa":"I","\u03ab":"Y","\u03ac":"a","\u03ad":"e","\u03ae":"h","\u03af":"i","\u03b0":"y","\u03b1":"a","\u03b2":"b","\u03b3":"g","\u03b4":"d","\u03b5":"e","\u03b6":"z","\u03b7":"h","\u03b8":"8","\u03b9":"i","\u03ba":"k","\u03bb":"l","\u03bc":"m","\u03bd":"n","\u03be":"3","\u03bf":"o","\u03c0":"p","\u03c1":"r","\u03c2":"s","\u03c3":"s","\u03c4":"t","\u03c5":"y","\u03c6":"f","\u03c7":"x","\u03c8":"ps","\u03c9":"w","\u03ca":"i","\u03cb":"y","\u03cc":"o","\u03cd":"y","\u03ce":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040a":"NJ","\u040b":"C","\u040f":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041a":"K","\u041b":"L","\u041c":"M","\u041d":"N","\u041e":"O","\u041f":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042a":"U","\u042b":"Y","\u042c":"","\u042d":"E","\u042e":"Yu","\u042f":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043a":"k","\u043b":"l","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044a":"u","\u044b":"y","\u044c":"","\u044d":"e","\u044e":"yu","\u044f":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045a":"nj","\u045b":"c","\u045d":"u","\u045f":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049a":"KH","\u049b":"kh","\u04a2":"NG","\u04a3":"ng","\u04ae":"UE","\u04af":"ue","\u04b0":"U","\u04b1":"u","\u04ba":"H","\u04bb":"h","\u04d8":"AE","\u04d9":"ae","\u04e8":"OE","\u04e9":"oe","\u0531":"A","\u0532":"B","\u0533":"G","\u0534":"D","\u0535":"E","\u0536":"Z","\u0537":"E\'","\u0538":"Y\'","\u0539":"T\'","\u053a":"JH","\u053b":"I","\u053c":"L","\u053d":"X","\u053e":"C\'","\u053f":"K","\u0540":"H","\u0541":"D\'","\u0542":"GH","\u0543":"TW","\u0544":"M","\u0545":"Y","\u0546":"N","\u0547":"SH","\u0549":"CH","\u054a":"P","\u054b":"J","\u054c":"R\'","\u054d":"S","\u054e":"V","\u054f":"T","\u0550":"R","\u0551":"C","\u0553":"P\'","\u0554":"Q\'","\u0555":"O\'\'","\u0556":"F","\u0587":"EV","\u0621":"a","\u0622":"aa","\u0623":"a","\u0624":"u","\u0625":"i","\u0626":"e","\u0627":"a","\u0628":"b","\u0629":"h","\u062a":"t","\u062b":"th","\u062c":"j","\u062d":"h","\u062e":"kh","\u062f":"d","\u0630":"th","\u0631":"r","\u0632":"z","\u0633":"s","\u0634":"sh","\u0635":"s","\u0636":"dh","\u0637":"t","\u0638":"z","\u0639":"a","\u063a":"gh","\u0641":"f","\u0642":"q","\u0643":"k","\u0644":"l","\u0645":"m","\u0646":"n","\u0647":"h","\u0648":"w","\u0649":"a","\u064a":"y","\u064b":"an","\u064c":"on","\u064d":"en","\u064e":"a","\u064f":"u","\u0650":"e","\u0652":"","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u067e":"p","\u0686":"ch","\u0698":"zh","\u06a9":"k","\u06af":"g","\u06cc":"y","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u0e3f":"baht","\u10d0":"a","\u10d1":"b","\u10d2":"g","\u10d3":"d","\u10d4":"e","\u10d5":"v","\u10d6":"z","\u10d7":"t","\u10d8":"i","\u10d9":"k","\u10da":"l","\u10db":"m","\u10dc":"n","\u10dd":"o","\u10de":"p","\u10df":"zh","\u10e0":"r","\u10e1":"s","\u10e2":"t","\u10e3":"u","\u10e4":"f","\u10e5":"k","\u10e6":"gh","\u10e7":"q","\u10e8":"sh","\u10e9":"ch","\u10ea":"ts","\u10eb":"dz","\u10ec":"ts","\u10ed":"ch","\u10ee":"kh","\u10ef":"j","\u10f0":"h","\u1e62":"S","\u1e63":"s","\u1e80":"W","\u1e81":"w","\u1e82":"W","\u1e83":"w","\u1e84":"W","\u1e85":"w","\u1e9e":"SS","\u1ea0":"A","\u1ea1":"a","\u1ea2":"A","\u1ea3":"a","\u1ea4":"A","\u1ea5":"a","\u1ea6":"A","\u1ea7":"a","\u1ea8":"A","\u1ea9":"a","\u1eaa":"A","\u1eab":"a","\u1eac":"A","\u1ead":"a","\u1eae":"A","\u1eaf":"a","\u1eb0":"A","\u1eb1":"a","\u1eb2":"A","\u1eb3":"a","\u1eb4":"A","\u1eb5":"a","\u1eb6":"A","\u1eb7":"a","\u1eb8":"E","\u1eb9":"e","\u1eba":"E","\u1ebb":"e","\u1ebc":"E","\u1ebd":"e","\u1ebe":"E","\u1ebf":"e","\u1ec0":"E","\u1ec1":"e","\u1ec2":"E","\u1ec3":"e","\u1ec4":"E","\u1ec5":"e","\u1ec6":"E","\u1ec7":"e","\u1ec8":"I","\u1ec9":"i","\u1eca":"I","\u1ecb":"i","\u1ecc":"O","\u1ecd":"o","\u1ece":"O","\u1ecf":"o","\u1ed0":"O","\u1ed1":"o","\u1ed2":"O","\u1ed3":"o","\u1ed4":"O","\u1ed5":"o","\u1ed6":"O","\u1ed7":"o","\u1ed8":"O","\u1ed9":"o","\u1eda":"O","\u1edb":"o","\u1edc":"O","\u1edd":"o","\u1ede":"O","\u1edf":"o","\u1ee0":"O","\u1ee1":"o","\u1ee2":"O","\u1ee3":"o","\u1ee4":"U","\u1ee5":"u","\u1ee6":"U","\u1ee7":"u","\u1ee8":"U","\u1ee9":"u","\u1eea":"U","\u1eeb":"u","\u1eec":"U","\u1eed":"u","\u1eee":"U","\u1eef":"u","\u1ef0":"U","\u1ef1":"u","\u1ef2":"Y","\u1ef3":"y","\u1ef4":"Y","\u1ef5":"y","\u1ef6":"Y","\u1ef7":"y","\u1ef8":"Y","\u1ef9":"y","\u2013":"-","\u2018":"\'","\u2019":"\'","\u201c":"\\"","\u201d":"\\"","\u201e":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20a0":"ecu","\u20a2":"cruzeiro","\u20a3":"french franc","\u20a4":"lira","\u20a5":"mill","\u20a6":"naira","\u20a7":"peseta","\u20a8":"rupee","\u20a9":"won","\u20aa":"new shequel","\u20ab":"dong","\u20ac":"euro","\u20ad":"kip","\u20ae":"tugrik","\u20af":"drachma","\u20b0":"penny","\u20b1":"peso","\u20b2":"guarani","\u20b3":"austral","\u20b4":"hryvnia","\u20b5":"cedi","\u20b8":"kazakhstani tenge","\u20b9":"indian rupee","\u20ba":"turkish lira","\u20bd":"russian ruble","\u20bf":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221e":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\ufdfc":"rial","\ufef5":"laa","\ufef7":"laa","\ufef9":"lai","\ufefb":"la"}'),t=JSON.parse('{"bg":{"\u0419":"Y","\u0426":"Ts","\u0429":"Sht","\u042a":"A","\u042c":"Y","\u0439":"y","\u0446":"ts","\u0449":"sht","\u044a":"a","\u044c":"y"},"de":{"\xc4":"AE","\xe4":"ae","\xd6":"OE","\xf6":"oe","\xdc":"UE","\xfc":"ue","\xdf":"ss","%":"prozent","&":"und","|":"oder","\u2211":"summe","\u221e":"unendlich","\u2665":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xa2":"centavos","\xa3":"libras","\xa4":"moneda","\u20a3":"francos","\u2211":"suma","\u221e":"infinito","\u2665":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xa2":"centime","\xa3":"livre","\xa4":"devise","\u20a3":"franc","\u2211":"somme","\u221e":"infini","\u2665":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xa2":"centavo","\u2211":"soma","\xa3":"libra","\u221e":"infinito","\u2665":"amor"},"uk":{"\u0418":"Y","\u0438":"y","\u0419":"Y","\u0439":"y","\u0426":"Ts","\u0446":"ts","\u0425":"Kh","\u0445":"kh","\u0429":"Shch","\u0449":"shch","\u0413":"H","\u0433":"h"},"vi":{"\u0110":"D","\u0111":"d"},"da":{"\xd8":"OE","\xf8":"oe","\xc5":"AA","\xe5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xf8rre end"},"nb":{"&":"og","\xc5":"AA","\xc6":"AE","\xd8":"OE","\xe5":"aa","\xe6":"ae","\xf8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xc5":"AA","\xc4":"AE","\xd6":"OE","\xe5":"aa","\xe4":"ae","\xf6":"oe"}}');function n(n,r){if("string"!==typeof n)throw new Error("slugify: string argument expected");var i=t[(r="string"===typeof r?{replacement:r}:r||{}).locale]||{},a=void 0===r.replacement?"-":r.replacement,o=void 0===r.trim||r.trim,s=n.normalize().split("").reduce(function(t,n){var o=i[n];return void 0===o&&(o=e[n]),void 0===o&&(o=n),o===a&&(o=" "),t+o.replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return r.strict&&(s=s.replace(/[^A-Za-z0-9\s]/g,"")),o&&(s=s.trim()),s=s.replace(/\s+/g,a),r.lower&&(s=s.toLowerCase()),s}return n.extend=function(t){Object.assign(e,t)},n},e.exports=t(),e.exports.default=t()},42323(e){"use strict";e.exports=(e,t)=>{if("string"!==typeof e||"string"!==typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},52645(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},33553(e,t,n){"use strict";var r=n(87931),i=n(61757),a=n(27631)("String.prototype.replace"),o=/^\s$/.test("\u180e"),s=o?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,l=o?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;e.exports=function(){var e=i(r(this));return a(a(e,s,""),l,"")}}
2,81215(e,t,n){"use strict";var r=n(39506),i=n(35233),a=n(87931),o=n(33553),s=n(14244),l=n(99950),c=r(s()),u=function(e){return a(e),c(e)};i(u,{getPolyfill:s,implementation:o,shim:l}),e.exports=u},14244(e,t,n){"use strict";var r=n(33553),i="\u180e";e.exports=function(){return String.prototype.trim&&"\u200b"==="\u200b".trim()&&i.trim()===i&&"_\u180e"==="_\u180e".trim()&&"\u180e_"==="\u180e_".trim()?String.prototype.trim:r}},99950(e,t,n){"use strict";var r=n(65303)(),i=n(37502),a=n(14244);e.exports=function(){var e=a();return String.prototype.trim!==e&&(r?i(String.prototype,"trim",e,!0):i(String.prototype,"trim",e)),e}},87303(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styleq=void 0;var n=new WeakMap;function r(e){var t,r,i;return null!=e&&(t=!0===e.disableCache,r=!0===e.disableMix,i=e.transform),function(){for(var e=[],a="",o=null,s=t?null:n,l=new Array(arguments.length),c=0;c<arguments.length;c++)l[c]=arguments[c];for(;l.length>0;){var u=l.pop();if(null!=u&&!1!==u)if(Array.isArray(u))for(var d=0;d<u.length;d++)l.push(u[d]);else{var p=null!=i?i(u):u;if(p.$$css){var f="";if(null!=s&&s.has(p)){var h=s.get(p);null!=h&&(f=h[0],e.push.apply(e,h[1]),s=h[2])}else{var m=[];for(var g in p){var y=p[g];"$$css"!==g&&("string"===typeof y||null===y?e.includes(g)||(e.push(g),null!=s&&m.push(g),"string"===typeof y&&(f+=f?" "+y:y)):console.error("styleq: ".concat(g," typeof ").concat(String(y),' is not "string" or "null".')))}if(null!=s){var v=new WeakMap;s.set(p,[f,m,v]),s=v}}f&&(a=a?f+" "+a:f)}else if(r)null==o&&(o={}),o=Object.assign({},p,o);else{var b=null;for(var _ in p){var w=p[_];void 0!==w&&(e.includes(_)||(null!=w&&(null==o&&(o={}),null==b&&(b={}),b[_]=w),e.push(_),s=null))}null!=b&&(o=Object.assign(b,o))}}}return[a,o]}}var i=r();t.styleq=i,i.factory=r},50975(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.localizeStyle=function(e,t){if(null!=e[r]){var a=t?1:0;if(n.has(e)){var o=n.get(e),s=o[a];return null==s&&(s=i(e,t),o[a]=s,n.set(e,o)),s}var l=i(e,t),c=new Array(2);return c[a]=l,n.set(e,c),l}return e};var n=new WeakMap,r="$$css$localize";function i(e,t){var n={};for(var i in e)if(i!==r){var a=e[i];Array.isArray(a)?n[i]=t?a[1]:a[0]:n[i]=a}return n}},37644(t,n,r){"use strict";function i(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function a(e){return e instanceof i(e).Element||e instanceof Element}function o(e){return e instanceof i(e).HTMLElement||e instanceof HTMLElement}function s(e){return"undefined"!==typeof ShadowRoot&&(e instanceof i(e).ShadowRoot||e instanceof ShadowRoot)}r.r(n),r.d(n,{animateFill:()=>kt,createSingleton:()=>bt,default:()=>Rt,delegate:()=>wt,followCursor:()=>Et,hideAll:()=>yt,inlinePositioning:()=>At,roundArrow:()=>Se,sticky:()=>Tt});var l=Math.max,c=Math.min,u=Math.round;function d(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function p(){return!/^((?!chrome|android).)*safari/i.test(d())}function f(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),s=1,l=1;t&&o(e)&&(s=e.offsetWidth>0&&u(r.width)/e.offsetWidth||1,l=e.offsetHeight>0&&u(r.height)/e.offsetHeight||1);var c=(a(e)?i(e):window).visualViewport,d=!p()&&n,f=(r.left+(d&&c?c.offsetLeft:0))/s,h=(r.top+(d&&c?c.offsetTop:0))/l,m=r.width/s,g=r.height/l;return{width:m,height:g,top:h,right:f+m,bottom:h+g,left:f,x:f,y:h}}function h(e){var t=i(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function m(e){return e?(e.nodeName||"").toLowerCase():null}function g(e){return((a(e)?e.ownerDocument:e.document)||window.document).documentElement}function y(e){return f(g(e)).left+h(e).scrollLeft}function v(e){return i(e).getComputedStyle(e)}function b(e){var t=v(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function _(e,t,n){void 0===n&&(n=!1);var r=o(t),a=o(t)&&function(e){var t=e.getBoundingClientRect(),n=u(t.width)/e.offsetWidth||1,r=u(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=g(t),l=f(e,a,n),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(r||!r&&!n)&&(("body"!==m(t)||b(s))&&(c=function(e){return e!==i(e)&&o(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:h(e);var t}(t)),o(t)?((d=f(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):s&&(d.x=y(s))
vendor: 5,243 bytes, line 2
2),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function w(e){var t=f(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function k(e){return"html"===m(e)?e:e.assignedSlot||e.parentNode||(s(e)?e.host:null)||g(e)}function S(e){return["html","body","#document"].indexOf(m(e))>=0?e.ownerDocument.body:o(e)&&b(e)?e:S(k(e))}function x(e,t){var n;void 0===t&&(t=[]);var r=S(e),a=r===(null==(n=e.ownerDocument)?void 0:n.body),o=i(r),s=a?[o].concat(o.visualViewport||[],b(r)?r:[]):r,l=t.concat(s);return a?l:l.concat(x(k(s)))}function C(e){return["table","td","th"].indexOf(m(e))>=0}function E(e){return o(e)&&"fixed"!==v(e).position?e.offsetParent:null}function A(e){for(var t=i(e),n=E(e);n&&C(n)&&"static"===v(n).position;)n=E(n);return n&&("html"===m(n)||"body"===m(n)&&"static"===v(n).position)?t:n||function(e){var t=/firefox/i.test(d());if(/Trident/i.test(d())&&o(e)&&"fixed"===v(e).position)return null;var n=k(e);for(s(n)&&(n=n.host);o(n)&&["html","body"].indexOf(m(n))<0;){var r=v(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var T="top",I="bottom",R="right",O="left",D="auto",N=[T,I,R,O],j="start",F="end",M="viewport",V="popper",P=N.reduce(function(e,t){return e.concat([t+"-"+j,t+"-"+F])},[]),L=[].concat(N,[D]).reduce(function(e,t){return e.concat([t,t+"-"+j,t+"-"+F])},[]),B=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function H(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||i(e)}),r}function W(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function z(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&s(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Y(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function U(e,t,n){return t===M?Y(function(e,t){var n=i(e),r=g(e),a=n.visualViewport,o=r.clientWidth,s=r.clientHeight,l=0,c=0;if(a){o=a.width,s=a.height;var u=p();(u||!u&&"fixed"===t)&&(l=a.offsetLeft,c=a.offsetTop)}return{width:o,height:s,x:l+y(e),y:c}}(e,n)):a(t)?function(e,t){var n=f(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Y(function(e){var t,n=g(e),r=h(e),i=null==(t=e.ownerDocument)?void 0:t.body,a=l(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=l(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+y(e),c=-r.scrollTop;return"rtl"===v(i||n).direction&&(s+=l(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:c}}(g(e)))}function X(e,t,n,r){var i="clippingParents"===t?function(e){var t=x(k(e)),n=["absolute","fixed"].indexOf(v(e).position)>=0&&o(e)?A(e):e;return a(n)?t.filter(function(e){return a(e)&&z(e,n)&&"body"!==m(e)}):[]}(e):[].concat(t),s=[].concat(i,[n]),u=s[0],d=s.reduce(function(t,n){var i=U(e,n,r);return t.top=l(i.top,t.top),t.right=c(i.right,t.right),t.bottom=c(i.bottom,t.bottom),t.left=l(i.left,t.left),t},U(e,u,r));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function G(e){return e.split("-")[0]}function q(e){return e.split("-")[1]}function J(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $(e){var t,n=e.reference,r=e.element,i=e.placement,a=i?G(i):null,o=i?q(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(a){case T:t={x:s,y:n.y-r.height};break;case I:t={x:s,y:n.y+n.height};break;case R:t={x:n.x+n.width,y:l};break;case O:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=a?J(a):null;if(null!=c){var u="y"===c?"height":"width";switch(o){case j:t[c]=t[c]-(n[u]/2-r[u]/2);break;case F:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function K(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Z(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function Q(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.strategy,s=void 0===o?e.strategy:o,l=n.boundary,c=void 0===l?"clippingParents":l,u=n.rootBoundary,d=void 0===u?M:u,p=n.elementContext,h=void 0===p?V:p,m=n.altBoundary,y=void 0!==m&&m,v=n.padding,b=void 0===v?0:v,_=K("number"!==typeof b?b:Z(b,N)),w=h===V?"reference":V,k=e.rects.popper,S=e.elements[y?w:h],x=X(a(S)?S:S.contextElement||g(e.elements.popper),c,d,s),C=f(e.elements.reference),E=$({reference:C,element:k,strategy:"absolute",placement:i}),A=Y(Object.assign({},k,E)),O=h===V?A:C,D={top:x.top-O.top+_.top,bottom:O.bottom-x.bottom+_.bottom,left:x.left-O.left+_.left,right:O.right-x.right+_.right},j=e.modifiersData.offset;if(h===V&&j){var F=j[i];
vendor: 11,802 bytes, line 2
2Object.keys(D).forEach(function(e){var t=[R,I].indexOf(e)>=0?1:-1,n=[T,I].indexOf(e)>=0?"y":"x";D[e]+=F[n]*t})}return D}var ee={placement:"bottom",modifiers:[],strategy:"absolute"};function te(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"===typeof e.getBoundingClientRect)})}function ne(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?ee:i;return function(e,t,n){void 0===n&&(n=o);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},ee,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],l=!1,c={state:i,setOptions:function(n){var l="function"===typeof n?n(i.options):n;u(),i.options=Object.assign({},o,i.options,l),i.scrollParents={reference:a(e)?x(e):e.contextElement?x(e.contextElement):[],popper:x(t)};var d=function(e){var t=H(e);return B.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}(function(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}([].concat(r,i.options.modifiers)));return i.orderedModifiers=d.filter(function(e){return e.enabled}),i.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,a=e.effect;if("function"===typeof a){var o=a({state:i,name:t,instance:c,options:r}),l=function(){};s.push(o||l)}}),c.update()},forceUpdate:function(){if(!l){var e=i.elements,t=e.reference,n=e.popper;if(te(t,n)){i.rects={reference:_(t,A(n),"fixed"===i.options.strategy),popper:w(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<i.orderedModifiers.length;r++)if(!0!==i.reset){var a=i.orderedModifiers[r],o=a.fn,s=a.options,u=void 0===s?{}:s,d=a.name;"function"===typeof o&&(i=o({state:i,options:u,name:d,instance:c})||i)}else i.reset=!1,r=-1}}},update:W(function(){return new Promise(function(e){c.forceUpdate(),e(i)})}),destroy:function(){u(),l=!0}};if(!te(e,t))return c;function u(){s.forEach(function(e){return e()}),s=[]}return c.setOptions(n).then(function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)}),c}}var re={passive:!0};const ie={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,o=void 0===a||a,s=r.resize,l=void 0===s||s,c=i(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(e){e.addEventListener("scroll",n.update,re)}),l&&c.addEventListener("resize",n.update,re),function(){o&&u.forEach(function(e){e.removeEventListener("scroll",n.update,re)}),l&&c.removeEventListener("resize",n.update,re)}},data:{}};const ae={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=$({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var oe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function se(e){var t,n=e.popper,r=e.popperRect,a=e.placement,o=e.variation,s=e.offsets,l=e.position,c=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,f=e.isFixed,h=s.x,m=void 0===h?0:h,y=s.y,b=void 0===y?0:y,_="function"===typeof p?p({x:m,y:b}):{x:m,y:b};m=_.x,b=_.y;var w=s.hasOwnProperty("x"),k=s.hasOwnProperty("y"),S=O,x=T,C=window;if(d){var E=A(n),D="clientHeight",N="clientWidth";if(E===i(n)&&"static"!==v(E=g(n)).position&&"absolute"===l&&(D="scrollHeight",N="scrollWidth"),a===T||(a===O||a===R)&&o===F)x=I,b-=(f&&E===C&&C.visualViewport?C.visualViewport.height:E[D])-r.height,b*=c?1:-1;if(a===O||(a===T||a===I)&&o===F)S=R,m-=(f&&E===C&&C.visualViewport?C.visualViewport.width:E[N])-r.width,m*=c?1:-1}var j,M=Object.assign({position:l},d&&oe),V=!0===p?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:u(n*i)/i||0,y:u(r*i)/i||0}}({x:m,y:b},i(n)):{x:m,y:b};return m=V.x,b=V.y,c?Object.assign({},M,((j={})[x]=k?"0":"",j[S]=w?"0":"",j.transform=(C.devicePixelRatio||1)<=1?"translate("+m+"px, "+b+"px)":"translate3d("+m+"px, "+b+"px, 0)",j)):Object.assign({},M,((t={})[x]=k?b+"px":"",t[S]=w?m+"px":"",t.transform="",t))}const le={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,a=n.adaptive,o=void 0===a||a,s=n.roundOffsets,l=void 0===s||s,c={placement:G(t.placement),variation:q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,se(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,se(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};const ce={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];o(i)&&m(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});o(r)&&m(r)&&(Object.assign(r.style,a),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};const ue={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=void 0===i?[0,0]:i,o=L.reduce(function(e,n){return e[n]=function(e,t,n){var r=G(e),i=[O,T].indexOf(r)>=0?-1:1,a="function"===typeof n?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[O,R].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}(n,t.rects,a),e},{}),s=o[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=o}};var de={left:"right",right:"left",bottom:"top",top:"bottom"};function pe(e){return e.replace(/left|right|bottom|top/g,function(e){return de[e]})}var fe={start:"end",end:"start"};function he(e){return e.replace(/start|end/g,function(e){return fe[e]})}const me={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=void 0===i||i,o=n.altAxis,s=void 0===o||o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,y=G(g),v=l||(y===g||!h?[pe(g)]:function(e){if(G(e)===D)return[];var t=pe(e);return[he(e),t,he(t)]}(g)),b=[g].concat(v).reduce(function(e,n){return e.concat(G(n)===D?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?L:l,u=q(r),d=u?s?P:P.filter(function(e){return q(e)===u}):N,p=d.filter(function(e){return c.indexOf(e)>=0});0===p.length&&(p=d);var f=p.reduce(function(t,n){return t[n]=Q(e,{placement:n,boundary:i,rootBoundary:a,padding:o})[G(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)},[]),_=t.rects.reference,w=t.rects.popper,k=new Map,S=!0,x=b[0],C=0;C<b.length;C++){var E=b[C],A=G(E),F=q(E)===j,M=[T,I].indexOf(A)>=0,V=M?"width":"height",B=Q(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),H=M?F?R:O:F?I:T;_[V]>w[V]&&(H=pe(H));var W=pe(H),z=[];if(a&&z.push(B[A]<=0),s&&z.push(B[H]<=0,B[W]<=0),z.every(function(e){return e})){x=E,S=!1;break}k.set(E,z)}if(S)for(var Y=function(e){var t=b.find(function(t){var n=k.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return x=t,"break"},U=h?3:1;U>0;U--){if("break"===Y(U))break}t.placement!==x&&(t.modifiersData[r]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ge(e,t,n){return l(e,c(t,n))}const ye={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=void 0===i||i,o=n.altAxis,s=void 0!==o&&o,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.padding,h=n.tether,m=void 0===h||h,g=n.tetherOffset,y=void 0===g?0:g,v=Q(t,{boundary:u,rootBoundary:d,padding:f,altBoundary:p}),b=G(t.placement),_=q(t.placement),k=!_,S=J(b),x="x"===S?"y":"x",C=t.modifiersData.popperOffsets,E=t.rects.reference,D=t.rects.popper,N="function"===typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,F="number"===typeof N?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,V={x:0,y:0};if(C){if(a){var P,L="y"===S?T:O,B="y"===S?I:R,H="y"===S?"height":"width",W=C[S],z=W+v[L],Y=W-v[B],U=m?-D[H]/2:0,X=_===j?E[H]:D[H],$=_===j?-D[H]:-E[H],K=t.elements.arrow,Z=m&&K?w(K):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[L],ne=ee[B],re=ge(0,E[H],Z[H]),ie=k?E[H]/2-U-re-te-F.mainAxis:X-re-te-F.mainAxis,ae=k?-E[H]/2+U+re+ne+F.mainAxis:$+re+ne+F.mainAxis,oe=t.elements.arrow&&A(t.elements.arrow),se=oe?"y"===S?oe.clientTop||0:oe.clientLeft||0:0,le=null!=(P=null==M?void 0:M[S])?P:0,ce=W+ae-le,ue=ge(m?c(z,W+ie-le-se):z,W,m?l(Y,ce):Y);C[S]=ue,V[S]=ue-W}if(s){var de,pe="x"===S?T:O,fe="x"===S?I:R,he=C[x],me="y"===x?"height":"width",ye=he+v[pe],ve=he-v[fe],be=-1!==[T,O].indexOf(b),_e=null!=(de=null==M?void 0:M[x])?de:0,we=be?ye:he-E[me]-D[me]-_e+F.altAxis,ke=be?he+E[me]+D[me]-_e-F.altAxis:ve,Se=m&&be?function(e,t,n){var r=ge(e,t,n);return r>n?n:r}(we,he,ke):ge(m?we:ye,he,m?ke:ve);C[x]=Se,V[x]=Se-he}t.modifiersData[r]=V}},requiresIfExists:["offset"]};const ve={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=G(n.placement),l=J(s),c=[O,R].indexOf(s)>=0?"height":"width";if(a&&o){var u=function(e,t){return K("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Z(e,N))}(i.padding,n),d=w(a),p="y"===l?T:O,f="y"===l?I:R,h=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],m=o[l]-n.rects.reference[l],g=A(a),y=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=h/2-m/2,b=u[p],_=y-d[c]-u[f],k=y/2-d[c]/2+v,S=ge(b,k,_),x=l;n.modifiersData[r]=((t={})[x]=S,t.centerOffset=S-k,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&z(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function be(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function _e(e){return[T,R,I,O].some(function(t){return e[t]>=0})}const we={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.re
2cts.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=Q(t,{elementContext:"reference"}),s=Q(t,{altBoundary:!0}),l=be(o,r),c=be(s,i,a),u=_e(l),d=_e(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};var ke=ne({defaultModifiers:[ie,ae,le,ce,ue,me,ye,ve,we]}),Se='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',xe="tippy-content",Ce="tippy-backdrop",Ee="tippy-arrow",Ae="tippy-svg-arrow",Te={passive:!0,capture:!0},Ie=function(){return document.body};function Re(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Oe(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function De(e,t){return"function"===typeof e?e.apply(void 0,t):e}function Ne(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function je(e,t){var n=Object.assign({},e);return t.forEach(function(e){delete n[e]}),n}function Fe(e){return[].concat(e)}function Me(e,t){-1===e.indexOf(t)&&e.push(t)}function Ve(e){return e.split("-")[0]}function Pe(e){return[].slice.call(e)}function Le(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function Be(){return document.createElement("div")}function He(e){return["Element","Fragment"].some(function(t){return Oe(e,t)})}function We(e){return Oe(e,"MouseEvent")}function ze(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Ye(e){return He(e)?[e]:function(e){return Oe(e,"NodeList")}(e)?Pe(e):Array.isArray(e)?e:Pe(document.querySelectorAll(e))}function Ue(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function Xe(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function Ge(e){var t,n=Fe(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function qe(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function Je(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var $e={isTouch:!1},Ke=0;function Ze(){$e.isTouch||($e.isTouch=!0,window.performance&&document.addEventListener("mousemove",Qe))}function Qe(){var e=performance.now();e-Ke<20&&($e.isTouch=!1,document.removeEventListener("mousemove",Qe)),Ke=e}function et(){var e=document.activeElement;if(ze(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var tt=!!("undefined"!==typeof window&&"undefined"!==typeof document)&&!!window.msCrypto;var nt={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},rt=Object.assign({appendTo:Ie,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},nt,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),it=Object.keys(rt);function at(e){var t=(e.plugins||[]).reduce(function(t,n){var r,i=n.name,a=n.defaultValue;i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=rt[i])?r:a);return t},{});return Object.assign({},e,t)}function ot(t,n){var r=Object.assign({},n,{content:De(n.content,[t])},n.ignoreAttributes?{}:function(t,n){return(n?Object.keys(at(Object.assign({},rt,{plugins:n}))):it).reduce(function(n,r){var i=(t.getAttribute("data-tippy-"+r)||"").trim();if(!i)return n;if("content"===r)n[r]=i;else try{n[r]=JSON.parse(i)}catch(e){n[r]=i}return n},{})}(t,n.plugins));return r.aria=Object.assign({},rt.aria,r.aria),r.aria={expanded:"auto"===r.aria.expanded?n.interactive:r.aria.expanded,content:"auto"===r.aria.content?n.interactive?null:"describedby":r.aria.content},r}function st(e,t){e.innerHTML=t}function lt(e){var t=Be();return!0===e?t.className=Ee:(t.className=Ae,He(e)?t.appendChild(e):st(t,e)),t}function ct(e,t){He(t.content)?(st(e,""),e.appendChild(t.content)):"function"!==typeof t.content&&(t.allowHTML?st(e,t.content):e.textContent=t.content)}function ut(e){var t=e.firstElementChild,n=Pe(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(xe)}),arrow:n.find(function(e){return e.classList.contains(Ee)||e.classList.contains(Ae)}),backdrop:n.find(function(e){return e.classList.contains(Ce)})}}function dt(e){var t=Be(),n=Be();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Be();function i(n,r){var i=ut(t),a=i.box,o=i.content,s=i.arrow;r.theme?a.setAttribute("data-theme",r.theme):a.removeAttribute("data-theme"),"string"===typeof r.animation?a.setAttribute("data-animation",r.animation):a.removeAttribute("data-animation"),r.inertia?a.setAttribute("data-inertia",""):a.removeAttribute("data-inertia"),a.style.maxWidth="number"===typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?a.setAttribute("role",r.role):a.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||ct(o,e.props),r.arrow?s?n.arrow!==r.arrow&&(a.removeChild(s),a.appendChild(lt(r.arrow))):a.appendChild(lt(r.arrow)):s&&a.removeChild(s)}return r.className=xe,r.setAttribute("data-state","hidden"),ct(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}
2dt.$$tippy=!0;var pt=1,ft=[],ht=[];function mt(e,t){var n,r,i,a,o,s,l,c,u=ot(e,Object.assign({},rt,at(Le(t)))),d=!1,p=!1,f=!1,h=!1,m=[],g=Ne(G,u.interactiveDebounce),y=pt++,v=(c=u.plugins).filter(function(e,t){return c.indexOf(e)===t}),b={id:y,reference:e,popper:Be(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:v,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){0;if(b.state.isDestroyed)return;N("onBeforeUpdate",[b,t]),U();var n=b.props,r=ot(e,Object.assign({},n,Le(t),{ignoreAttributes:!0}));b.props=r,Y(),n.interactiveDebounce!==r.interactiveDebounce&&(M(),g=Ne(G,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Fe(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded");F(),D(),k&&k(n,r);b.popperInstance&&(K(),Q().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}));N("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){0;var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=$e.isTouch&&!b.props.touch,i=Re(b.props.duration,0,rt.duration);if(e||t||n||r)return;if(T().hasAttribute("disabled"))return;if(N("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,A()&&(w.style.visibility="visible");D(),B(),b.state.isMounted||(w.style.transition="none");if(A()){var a=R();Ue([a.box,a.content],0)}s=function(){var e;if(b.state.isVisible&&!h){if(h=!0,w.offsetHeight,w.style.transition=b.props.moveTransition,A()&&b.props.animation){var t=R(),n=t.box,r=t.content;Ue([n,r],i),Xe([n,r],"visible")}j(),F(),Me(ht,b),null==(e=b.popperInstance)||e.forceUpdate(),N("onMount",[b]),b.props.animation&&A()&&function(e,t){W(e,t)}(i,function(){b.state.isShown=!0,N("onShown",[b])})}},function(){var e,t=b.props.appendTo,n=T();e=b.props.interactive&&t===Ie||"parent"===t?n.parentNode:De(t,[n]);e.contains(w)||e.appendChild(w);b.state.isMounted=!0,K(),!1}()},hide:function(){0;var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Re(b.props.duration,1,rt.duration);if(e||t||n)return;if(N("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,h=!1,d=!1,A()&&(w.style.visibility="hidden");if(M(),H(),D(!0),A()){var i=R(),a=i.box,o=i.content;b.props.animation&&(Ue([a,o],r),Xe([a,o],"hidden"))}j(),F(),b.props.animation?A()&&function(e,t){W(e,function(){!b.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&t()})}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){0;I().addEventListener("mousemove",g),Me(ft,g),g(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){0;b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Z(),Q().forEach(function(e){e._tippy.unmount()}),w.parentNode&&w.parentNode.removeChild(w);ht=ht.filter(function(e){return e!==b}),b.state.isMounted=!1,N("onHidden",[b])},destroy:function(){0;if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),U(),delete e._tippy,b.state.isDestroyed=!0,N("onDestroy",[b])}};if(!u.render)return b;var _=u.render(b),w=_.popper,k=_.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+b.id,b.popper=w,e._tippy=b,w._tippy=b;var S=v.map(function(e){return e.fn(b)}),x=e.hasAttribute("aria-expanded");return Y(),F(),D(),N("onCreate",[b]),u.showOnCreate&&ee(),w.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),w.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&I().addEventListener("mousemove",g)}),b;function C(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function E(){return"hold"===C()[0]}function A(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function T(){return l||e}function I(){var e=T().parentNode;return e?Ge(e):document}function R(){return ut(w)}function O(e){return b.state.isMounted&&!b.state.isVisible||$e.isTouch||a&&"focus"===a.type?0:Re(b.props.delay,e?0:1,rt.delay)}function D(e){void 0===e&&(e=!1),w.style.pointerEvents=b.props.interactive&&!e?"":"none",w.style.zIndex=""+b.props.zIndex}function N(e,t,n){var r;
2(void 0===n&&(n=!0),S.forEach(function(n){n[e]&&n[e].apply(n,t)}),n)&&(r=b.props)[e].apply(r,t)}function j(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=w.id;Fe(b.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}})}}function F(){!x&&b.props.aria.expanded&&Fe(b.props.triggerTarget||e).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===T()?"true":"false"):e.removeAttribute("aria-expanded")})}function M(){I().removeEventListener("mousemove",g),ft=ft.filter(function(e){return e!==g})}function V(t){if(!$e.isTouch||!f&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Je(w,n)){if(Fe(b.props.triggerTarget||e).some(function(e){return Je(e,n)})){if($e.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else N("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),p=!0,setTimeout(function(){p=!1}),b.state.isMounted||H())}}}function P(){f=!0}function L(){f=!1}function B(){var e=I();e.addEventListener("mousedown",V,!0),e.addEventListener("touchend",V,Te),e.addEventListener("touchstart",L,Te),e.addEventListener("touchmove",P,Te)}function H(){var e=I();e.removeEventListener("mousedown",V,!0),e.removeEventListener("touchend",V,Te),e.removeEventListener("touchstart",L,Te),e.removeEventListener("touchmove",P,Te)}function W(e,t){var n=R().box;function r(e){e.target===n&&(qe(n,"remove",r),t())}if(0===e)return t();qe(n,"remove",o),qe(n,"add",r),o=r}function z(t,n,r){void 0===r&&(r=!1),Fe(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function Y(){var e;E()&&(z("touchstart",X,{passive:!0}),z("touchend",q,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach(function(e){if("manual"!==e)switch(z(e,X),e){case"mouseenter":z("mouseleave",q);break;case"focus":z(tt?"focusout":"blur",J);break;case"focusin":z("focusout",J)}})}function U(){m.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)}),m=[]}function X(e){var t,n=!1;if(b.state.isEnabled&&!$(e)&&!p){var r="focus"===(null==(t=a)?void 0:t.type);a=e,l=e.currentTarget,F(),!b.state.isVisible&&We(e)&&ft.forEach(function(t){return t(e)}),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||d)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(d=!n),n&&!r&&te(e)}}function G(e){var t=e.target,n=T().contains(t)||w.contains(t);if("mousemove"!==e.type||!n){var r=Q().concat(w).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null}).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every(function(e){var t=e.popperRect,i=e.popperState,a=e.props.interactiveBorder,o=Ve(i.placement),s=i.modifiersData.offset;if(!s)return!0;var l="bottom"===o?s.top.y:0,c="top"===o?s.bottom.y:0,u="right"===o?s.left.x:0,d="left"===o?s.right.x:0,p=t.top-r+l>a,f=r-t.bottom-c>a,h=t.left-n+u>a,m=n-t.right-d>a;return p||f||h||m})})(r,e)&&(M(),te(e))}}function q(e){$(e)||b.props.trigger.indexOf("click")>=0&&d||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function J(e){b.props.trigger.indexOf("focusin")<0&&e.target!==T()||b.props.interactive&&e.relatedTarget&&w.contains(e.relatedTarget)||te(e)}function $(e){return!!$e.isTouch&&E()!==e.type.indexOf("touch")>=0}function K(){Z();var t=b.props,n=t.popperOptions,r=t.placement,i=t.offset,a=t.getReferenceClientRect,o=t.moveTransition,l=A()?ut(w).arrow:null,c=a?{getBoundingClientRect:a,contextElement:a.contextElement||T()}:e,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(A()){var n=R().box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)}),t.attributes.popper={}}}},d=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!o}},u];A()&&l&&d.push({name:"arrow",options:{element:l,padding:3}}),d.push.apply(d,(null==n?void 0:n.modifiers)||[]),b.popperInstance=ke(c,w,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:d}))}function Z(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return Pe(w.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&N("onTrigger",[b,e]),B();var t=O(!0),r=C(),i=r[0],a=r[1];$e.isTouch&&"hold"===i&&a&&(t=a),t?n=setTimeout(function(){b.show()},t):b.show()}function te(e){if(b.clearDelayTimeouts(),N("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mou
2seenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=O(!1);t?r=setTimeout(function(){b.state.isVisible&&b.hide()},t):i=requestAnimationFrame(function(){b.hide()})}}else H()}}function gt(e,t){void 0===t&&(t={});var n=rt.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Ze,Te),window.addEventListener("blur",et);var r=Object.assign({},t,{plugins:n}),i=Ye(e).reduce(function(e,t){var n=t&&mt(t,r);return n&&e.push(n),e},[]);return He(e)?i[0]:i}gt.defaultProps=rt,gt.setDefaultProps=function(e){Object.keys(e).forEach(function(t){rt[t]=e[t]})},gt.currentInput=$e;var yt=function(e){var t=void 0===e?{}:e,n=t.exclude,r=t.duration;ht.forEach(function(e){var t=!1;if(n&&(t=ze(n)?e.reference===n:e.popper===n.popper),!t){var i=e.props.duration;e.setProps({duration:r}),e.hide(),e.state.isDestroyed||e.setProps({duration:i})}})},vt=Object.assign({},ce,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),bt=function(e,t){var n;void 0===t&&(t={});var r,i=e,a=[],o=[],s=t.overrides,l=[],c=!1;function u(){o=i.map(function(e){return Fe(e.props.triggerTarget||e.reference)}).reduce(function(e,t){return e.concat(t)},[])}function d(){a=i.map(function(e){return e.reference})}function p(e){i.forEach(function(t){e?t.enable():t.disable()})}function f(e){return i.map(function(t){var n=t.setProps;return t.setProps=function(i){n(i),t.reference===r&&e.setProps(i)},function(){t.setProps=n}})}function h(e,t){var n=o.indexOf(t);if(t!==r){r=t;var l=(s||[]).concat("content").reduce(function(e,t){return e[t]=i[n].props[t],e},{});e.setProps(Object.assign({},l,{getReferenceClientRect:"function"===typeof l.getReferenceClientRect?l.getReferenceClientRect:function(){var e;return null==(e=a[n])?void 0:e.getBoundingClientRect()}}))}}p(!1),d(),u();var m={fn:function(){return{onDestroy:function(){p(!0)},onHidden:function(){r=null},onClickOutside:function(e){e.props.showOnCreate&&!c&&(c=!0,r=null)},onShow:function(e){e.props.showOnCreate&&!c&&(c=!0,h(e,a[0]))},onTrigger:function(e,t){h(e,t.currentTarget)}}}},g=gt(Be(),Object.assign({},je(t,["overrides"]),{plugins:[m].concat(t.plugins||[]),triggerTarget:
vendor: 6,339 bytes, line 2
2o,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[vt])})})),y=g.show;g.show=function(e){if(y(),!r&&null==e)return h(g,a[0]);if(!r||null!=e){if("number"===typeof e)return a[e]&&h(g,a[e]);if(i.indexOf(e)>=0){var t=e.reference;return h(g,t)}return a.indexOf(e)>=0?h(g,e):void 0}},g.showNext=function(){var e=a[0];if(!r)return g.show(0);var t=a.indexOf(r);g.show(a[t+1]||e)},g.showPrevious=function(){var e=a[a.length-1];if(!r)return g.show(e);var t=a.indexOf(r),n=a[t-1]||e;g.show(n)};var v=g.setProps;return g.setProps=function(e){s=e.overrides||s,v(e)},g.setInstances=function(e){p(!0),l.forEach(function(e){return e()}),i=e,p(!1),d(),u(),l=f(g),g.setProps({triggerTarget:o})},l=f(g),g},_t={mouseover:"mouseenter",focusin:"focus",click:"click"};function wt(e,t){var n=[],r=[],i=!1,a=t.target,o=je(t,["target"]),s=Object.assign({},o,{trigger:"manual",touch:!1}),l=Object.assign({touch:rt.touch},o,{showOnCreate:!0}),c=gt(e,s);function u(e){if(e.target&&!i){var n=e.target.closest(a);if(n){var o=n.getAttribute("data-tippy-trigger")||t.trigger||rt.trigger;if(!n._tippy&&("touchstart"!==e.type||"boolean"!==typeof l.touch)&&!("touchstart"!==e.type&&o.indexOf(_t[e.type])<0)){var s=gt(n,l);s&&(r=r.concat(s))}}}}function d(e,t,r,i){void 0===i&&(i=!1),e.addEventListener(t,r,i),n.push({node:e,eventType:t,handler:r,options:i})}return Fe(c).forEach(function(e){var t=e.destroy,a=e.enable,o=e.disable;e.destroy=function(e){void 0===e&&(e=!0),e&&r.forEach(function(e){e.destroy()}),r=[],n.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)}),n=[],t()},e.enable=function(){a(),r.forEach(function(e){return e.enable()}),i=!1},e.disable=function(){o(),r.forEach(function(e){return e.disable()}),i=!0},function(e){var t=e.reference;d(t,"touchstart",u,Te),d(t,"mouseover",u),d(t,"focusin",u),d(t,"click",u)}(e)}),c}var kt={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(null==(t=e.props.render)||!t.$$tippy)return{};var n=ut(e.popper),r=n.box,i=n.content,a=e.props.animateFill?function(){var e=Be();return e.className=Ce,Xe([e],"hidden"),e}():null;return{onCreate:function(){a&&(r.insertBefore(a,r.firstElementChild),r.setAttribute("data-animatefill",""),r.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(a){var e=r.style.transitionDuration,t=Number(e.replace("ms",""));i.style.transitionDelay=Math.round(t/10)+"ms",a.style.transitionDuration=e,Xe([a],"visible")}},onShow:function(){a&&(a.style.transitionDuration="0ms")},onHide:function(){a&&Xe([a],"hidden")}}}};var St={clientX:0,clientY:0},xt=[];function Ct(e){var t=e.clientX,n=e.clientY;St={clientX:t,clientY:n}}var Et={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=Ge(e.props.triggerTarget||t),r=!1,i=!1,a=!0,o=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function l(){n.addEventListener("mousemove",d)}function c(){n.removeEventListener("mousemove",d)}function u(){r=!0,e.setProps({getReferenceClientRect:null}),r=!1}function d(n){var r=!n.target||t.contains(n.target),i=e.props.followCursor,a=n.clientX,o=n.clientY,s=t.getBoundingClientRect(),l=a-s.left,c=o-s.top;!r&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=a,r=o;"initial"===i&&(n=e.left+l,r=e.top+c);var s="horizontal"===i?e.top:r,u="vertical"===i?e.right:n,d="horizontal"===i?e.bottom:r,p="vertical"===i?e.left:n;return{width:u-p,height:d-s,top:s,right:u,bottom:d,left:p}}})}function p(){e.props.followCursor&&(xt.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",Ct)}(n))}function f(){0===(xt=xt.filter(function(t){return t.instance!==e})).filter(function(e){return e.doc===n}).length&&function(e){e.removeEventListener("mousemove",Ct)}(n)}return{onCreate:p,onDestroy:f,onBeforeUpdate:function(){o=e.props},onAfterUpdate:function(t,n){var a=n.followCursor;r||void 0!==a&&o.followCursor!==a&&(f(),a?(p(),!e.state.isMounted||i||s()||l()):(c(),u()))},onMount:function(){e.props.followCursor&&!i&&(a&&(d(St),a=!1),s()||l())},onTrigger:function(e,t){We(t)&&(St={clientX:t.clientX,clientY:t.clientY}),i="focus"===t.type},onHidden:function(){e.props.followCursor&&(u(),c(),a=!0)}}}};var At={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,n=e.reference;var r=-1,i=!1,a=[],o={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(i){var o=i.state;e.props.inlinePositioning&&(-1!==a.indexOf(o.placement)&&(a=[]),t!==o.placement&&-1===a.indexOf(o.placement)&&(a.push(o.placement),e.setProps({getReferenceClientRect:function(){return function(e){return function(e,t,n,r){if(n.length<2||null===e)return t;if(2===n.length&&r>=0&&n[0].left>n[1].right)return n[r]||t;switch(e){case"top":case"bottom":var i=n[0],a=n[n.length-1],o="top"===e,s=i.top,l=a.bottom,c=o?i.left:a.left,u=o?i.right:a.right;return{top:s,bottom:l,left:c,right:u,width:u-c,height:l-s};case"left":case"right":var d=Math.min.apply(Math,n.map(function(e){return e.left})),p=Math.max.apply(Math,n.map(function(e){return e.right})),f=n.filter(function(t){return"left"===e?t.left===d:t.right===p}),h=f[0].top,m=f[f.length-1].bottom;return{top:h,bottom:m,left:d,right:p,width:p-d,height:m-h};default:return t}}(Ve(e),n.getBoundingClientRect(),Pe(n.getClientRects()),r)}(o.placement)}})),t=o.placement)}};function s(){var t;i||(t=function(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter(function(e){return e.name!==t.name}),[t])})}}(e.props,o),i=!0,e.setProps(t),i=!1)}return{onCreate:s,onAfterUpdate:s,onTrigger:function(t,n){if(We(n)){var i=Pe(e.reference.getClientRects()),a=i.find(function(e){return e.left-2<=n.clientX&&e.right+2>=n.clientX&&e.top-2<=n.clientY&&e.bottom+2>=n.clientY}),o=i.indexOf(a);r=o>-1?o:r}},onHidden:function(){r=-1}}}};var Tt={name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,n=e.popper;function r(t){return!0===e.props.sticky||e.props.sticky===t}var i=null,a=null;function o(){var s=r("reference")?(e.popperInstance?e.popperInstance.state.elements.reference:t).getBoundingClientRect():null,l=r("popper")?n.getBoundingClientRect():null;(s&&It(i,s)||l&&It(a,l))&&e.popperInstance&&e.popperInstance.update(
2),i=s,a=l,e.state.isMounted&&requestAnimationFrame(o)}return{onMount:function(){e.props.sticky&&o()}}}};function It(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}gt.setDefaultProps({render:dt});const Rt=gt},1695(e,t,n){"use strict";var r=n(36665);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},a=r.useSyncExternalStore,o=r.useRef,s=r.useEffect,l=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=o(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;d=l(function(){function e(e){if(!s){if(s=!0,a=e,e=r(e),void 0!==u&&p.hasValue){var t=p.value;if(u(t,e))return o=t}return o=e}if(t=o,i(a,e))return t;var n=r(e);return void 0!==u&&u(t,n)?(a=e,t):(a=e,o=n)}var a,o,s=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,n,r,u]);var f=a(e,d[0],d[1]);return s(function(){p.hasValue=!0,p.value=f},[f]),c(f),f}},14831(e,t,n){"use strict";e.exports=n(1695)},47793(e,t,n){"use strict";var r=n(57968),i=n(27631),a=n(82508),o=n(18228),s=r("%Reflect.apply%",!0)||i("Function.prototype.apply");e.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!o(n))throw new a("Assertion failed: optional `argumentsList`, if provided, must be a List");return s(e,t,n)}},58329(e,t,n){"use strict";var r=n(82508),i=n(96052),a=n(72538),o=n(86562);e.exports=function(e,t){if(!o(e))throw new r("Assertion failed: Type(O) is not Object");if(!a(t))throw new r("Assertion failed: P is not a Property Key, got "+i(t));return e[t]}},18228(e,t,n){"use strict";e.exports=n(69751)},63497(e,t,n){"use strict";e.exports=n(11505)},6916(e,t,n){"use strict";var r=n(82508),i=n(86562),a=n(58329),o=n(65836);e.exports=function(e){if(!i(e))throw new r("Assertion failed: `obj` must be an Object");return o(a(e,"length"))}},65696(e,t,n){"use strict";var r=n(57968),i=r("%RegExp%"),a=n(82508),o=r("%parseInt%"),s=n(27631),l=n(88148),c=s("String.prototype.slice"),u=l(/^0b[01]+$/i),d=l(/^0o[0-7]+$/i),p=l(/^[-+]0x[0-9a-f]+$/i),f=l(new i("["+["\x85","\u200b","\ufffe"].join("")+"]","g")),h=n(81215);e.exports=function e(t){if("string"!==typeof t)throw new a("Assertion failed: `argument` is not a String");if(u(t))return+o(c(t,2),2);if(d(t))return+o(c(t,2),8);if(f(t)||p(t))return NaN;var n=h(t);return n!==t?e(n):+t}},51014(e){"use strict";e.exports=function(e){return!!e}},25665(e,t,n){"use strict";var r=n(71985),i=n(17687),a=n(59190),o=n(61172);e.exports=function(e){var t=r(e);return a(t)||0===t?0:o(t)?i(t):t}},65836(e,t,n){"use strict";var r=n(91174),i=n(25665);e.exports=function(e){var t=i(e);return t<=0?0:t>r?r:t}},71985(e,t,n){"use strict";var r=n(57968),i=n(82508),a=r("%Number%"),o=n(74399),s=n(13291),l=n(65696);e.exports=function(e){var t=o(e)?e:s(e,a);if("symbol"===typeof t)throw new i("Cannot convert a Symbol value to a number");if("bigint"===typeof t)throw new i("Conversion from 'BigInt' to 'number' is not allowed.");return"string"===typeof t?l(t):+t}},13291(e,t,n){"use strict";var r=n(39862);e.exports=function(e){return arguments.length>1?r(e,arguments[1]):r(e)}},61757(e,t,n){"use strict";var r=n(57968)("%String%"),i=n(82508);e.exports=function(e){if("symbol"===typeof e)throw new i("Cannot convert a Symbol value to a string");return r(e)}},53259(e,t,n){"use strict";var r=n(12401);e.exports=function(e){return"bigint"===typeof e?e:r(e)}},17687(e,t,n){"use strict";var r=n(53259),i=n(82508);e.exports=function(e){if("number"!==typeof e&&"bigint"!==typeof e)throw new i("argument must be a Number or a BigInt");var t=e<0?-r(-e):r(e);return 0===t?0:t}},69751(e,t,n){"use strict";var r=n(57968)("%Array%"),i=!r.isArray&&n(27631)("Object.prototype.toString");e.exports=r.isArray||function(e){return"[object Array]"===i(e)}},74399(e){"use strict";e.exports=function(e){return null===e||"function"!==typeof e&&"object"!==typeof e}},72538(e){"use strict";e.exports=function(e){return"string"===typeof e||"symbol"===typeof e}},93427(e,t,n){"use strict";var r=n(36665),i="undefined"!==typeof document||"undefined"!==typeof navigator&&"ReactNative"===navigator.product?r.useLayoutEffect:r.useEffect;e.exports=function(e){var t=r.useRef(e),n=r.useRef(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.current.apply(this,e)}).current;return i(function(){t.current=e}),n}},3098(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.r(t),n.d(t,{default:()=>i})},58168(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.r(t),n.d(t,{default:()=>r})},20454(e,t,n){"use strict";function r(e){if(null==e)throw new TypeError("Cannot destructure "+e)}n.r(t),n.d(t,{default:()=>r})},27051(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(59526);function i(e,t,n){return(t=(0,r.default)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?a(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}},98587(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.r(t),n.d(t,{default:()=>r})},59526(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}n.r(t),n.d(t,{default:()=>i})},70570(e,t,n){"use strict";n.r(t),n.d(t,{buildAgent:()=>a,isAgent:()=>i});var r=n(21987);function i(e){return"object"===typeof e&&null!==e&&"fetchHandler"in e&&"function"===typeof e.fetchHandler&&(!("did"in e)||void 0===e.did||"string"===typeof e.did)}function a(e){if("function"===typeof e)return{did:void 0,fetchHandler:e};const t="string"===typeof e||e instanceof URL?{did:void 0,service:e}:e;if("fetchHandler"in t){if(i(t))return t;throw new TypeError("fetchHandler must not be provided when using AgentConfig")}const{did:n,service:a,fetch:o=globalThis.fetch,headers:s}=t;if("function"!==typeof o)throw new TypeError("fetch() is not available in this environment");return{get did(){return n},async fetchHandler(e,t){const n=null!=s&&null!=t.headers?(0,r.mergeHeaders)(s,t.headers):s||t.headers;return o(new URL(e,a),n!==t.headers?Object.assign({},t,{headers:n}):t)}}}},53301(e,t,n){"use strict";n.r(t),n.d(t,{Client:()=>Ie,Procedure:()=>i.Procedure,Query:()=>a.Query,RecordSchema:()=>o.RecordSchema,WriteOperationHelper:()=>ve});var r=n(98587),i=n(98954),a=n(70671),o=n(82925),s=n(92063),l=n(70570),c=n(60878),u=n(40733),d=n(47622),p=n(34311),f=n(43511),h=n(42658),m=n(63457),g=n(23695),y=n(26738),v=n(10611),b=n(59064),_=n(56006);const w=v.typedObject("com.atproto.repo.defs","commitMeta",b.object({cid:d.string({format:"cid"}),rev:d.string({format:"tid"})})),k="com.atproto.repo.applyWrites",S=c.params(),x=u.jsonPayload({repo:d.string({format:"at-identifier"}),validate:p.optional(f.boolean()),writes:h.array(m.typedUnion([g.typedRef(()=>A),g.typedRef(()=>T),g.typedRef(()=>I)],!0)),swapCommit:p.optional(d.string({format:"cid"}))}),C=u.jsonPayload({commit:p.optional(y.ref(()=>w)),results:p.optional(h.array(m.typedUnion([g.typedRef(()=>R),g.typedRef(()=>O),g.typedRef(()=>D)],!0)))}),E=i.procedure(k,S,x,C,["InvalidSwap"]),A=v.typedObject(k,"create",b.object({collection:d.string({format:"nsid"}),rkey:p.optional(d.string({maxLength:512,format:"record-key"})),value:_.lexMap()})),T=v.typedObject(k,"update",b.object({collection:d.string({format:"nsid"}),rkey:d.string({format:"record-key"}),value:_.lexMap()})),I=v.typedObject(k,"delete",b.object({collection:d.string({format:"nsid"}),rkey:d.string({format:"record-key"})})),R=v.typedObject(k,"createResult",b.object({uri:d.string({format:"at-uri"}),cid:d.string({format:"cid"}),validationStatus:p.optional(d.string())})),O=v.typedObject(k,"updateResult",b.object({uri:d.string({format:"at-uri"}),cid:d.string({format:"cid"}),validationStatus:p.optional(d.string())})),D=v.typedObject(k,"deleteResult",b.object({})),N="com.atproto.repo.createRecord",j=c.params(),F=u.jsonPayload({repo:d.string({format:"at-identifier"}),collection:d.string({format:"nsid"}),rkey:p.optional(d.string({format:"record-key",maxLength:512})),validate:p.optional(f.boolean()),record:_.lexMap(),swapCommit:p.optional(d.string({format:"cid"}))}),M=u.jsonPayload({uri:d.string({format:"at-uri"}),cid:d.string({format:"cid"}),commit:p.optional(y.ref(()=>w)),validationStatus:p.optional(d.string())}),V=i.procedure(N,j,F,M,["InvalidSwap"]),P="com.atproto.repo.deleteRecord",L=c.params(),B=u.jsonPayload({repo:d.string({format:"at-identifier"}),collection:d.string({format:"nsid"}),rkey:d.string({format:"record-key"}),swapRecord:p.optional(d.string({format:"cid"})),swapCommit:p.optional(d.string({format:"cid"}))}),H=u.jsonPayload({commit:p.optional(y.ref(()=>w))}),W=i.procedure(P,L,B,H,["InvalidSwap"]),z="com.atproto.repo.getRecord",Y=c.params({repo:d.string({format:"at-identifier"}),collection:d.string({format:"nsid"}),rkey:d.string({format:"record-key"}),cid:p.optional(d.string({format:"cid"}))}),U=u.jsonPayload({uri:d.string({format:"at-uri"}),cid:p.optional(d.string({format:"cid"})),value:_.lexMap()}),X=a.query(z,Y,U,["RecordNotFound"]);var G=n(34795),q=n(34097);const J="com.atproto.repo.listRecords",$=c.params({repo:d.string({format:"at-identifier"}),collection:d.string({format:"nsid"}),limit:p.optional(G.withDefault(q.integer({minimum:1,maximum:100}),50)),cursor:p.optional(d.string()),reverse:p.optional(f.boolean())}
2),K=u.jsonPayload({cursor:p.optional(d.string()),records:h.array(y.ref(()=>Q))}),Z=a.query(J,$,K),Q=v.typedObject(J,"record",b.object({uri:d.string({format:"at-uri"}),cid:d.string({format:"cid"}),value:_.lexMap()}));var ee=n(19314);const te="com.atproto.repo.putRecord",ne=c.params(),re=u.jsonPayload({repo:d.string({format:"at-identifier"}),collection:d.string({format:"nsid"}),rkey:d.string({format:"record-key",maxLength:512}),validate:p.optional(f.boolean()),record:_.lexMap(),swapRecord:p.optional(ee.nullable(d.string({format:"cid"}))),swapCommit:p.optional(d.string({format:"cid"}))}),ie=u.jsonPayload({uri:d.string({format:"at-uri"}),cid:d.string({format:"cid"}),commit:p.optional(y.ref(()=>w)),validationStatus:p.optional(d.string())}),ae=i.procedure(te,ne,re,ie,["InvalidSwap"]);var oe=n(43948);const se="com.atproto.repo.uploadBlob",le=c.params(),ce=u.payload("*/*"),ue=u.jsonPayload({blob:oe.blob()}),de=i.procedure(se,le,ce,ue),pe="com.atproto.sync.getBlob",fe=c.params({did:d.string({format:"did"}),cid:d.string({format:"cid"})}),he=u.payload("*/*"),me=a.query(pe,fe,he,["BlobNotFound","RepoNotFound","RepoTakendown","RepoSuspended","RepoDeactivated"]);var ge=n(4506),ye=n(21987);class ve{constructor(){}create(e,t,n={}){const r=(0,s.getMain)(e),i=r.build(t);return A.$build({collection:r.$type,value:i,rkey:n?.rkey??(0,ye.getDefaultRecordKey)(r)})}update(e,t,n={}){const r=(0,s.getMain)(e),i=r.build(t);return T.$build({collection:r.$type,value:i,rkey:n?.rkey??(0,ye.getLiteralRecordKey)(r)})}delete(e,t={}){const n=(0,s.getMain)(e);return I.$build({collection:n.$type,rkey:t?.rkey??(0,ye.getLiteralRecordKey)(n)})}static build(e){return Array.from(e(new ve))}}var be=n(91151);const _e=["service","labelers"],we=["service","labelers"],ke=["service","labelers"],Se=["service","labelers"],xe=["service","labelers"],Ce=["service","labelers"],Ee=["service","labelers"],Ae=["service","labelers"],Te=["maxRetries"];class Ie{static configure(e){e.appLabelers&&(this.appLabelers=[...e.appLabelers])}constructor(e,t={}){this.agent=(0,l.buildAgent)(e),this.headers=new Headers(t.headers);const n=this.headers.get("atproto-proxy")?.trim();this.xrpcDefaults=Object.freeze({service:void 0===t.service&&null!=n&&(0,ge.isService)(n)?n:t.service??null,labelers:new Set(t.labelers),appLabelers:null!=t.appLabelers?new Set(t.appLabelers):t.appLabelers,validateRequest:t.validateRequest??!1,validateResponse:t.validateResponse??!0,strictResponseProcessing:t.strictResponseProcessing??!0})}get did(){return this.agent.did}get assertDid(){return this.assertAuthenticated(),this.did}get service(){return this.xrpcDefaults.service}get labelers(){return this.xrpcDefaults.labelers}assertAuthenticated(){if(!this.did)throw new Error("Client is not authenticated")}setLabelers(e=[]){this.clearLabelers(),this.addLabelers(e)}addLabelers(e){for(const t of e)this.xrpcDefaults.labelers.add(t)}clearLabelers(){this.xrpcDefaults.labelers.clear()}async xrpc(e,t={}){return(0,be.xrpc)(this.agent,e,this.buildXrpcOptions(t))}async xrpcSafe(e,t={}){return(0,be.xrpcSafe)(this.agent,e,this.buildXrpcOptions(t))}buildXrpcOptions(e){const t=(0,ye.applyDefaults)(e,this.xrpcDefaults);void 0===t.appLabelers&&(t.appLabelers=this.constructor.appLabelers);const n=null!=e.headers?new Headers(e.headers):null;if(void 0===e.service&&n?.has("atproto-proxy")){const e=n.get("atproto-proxy")?.trim();null!=e&&(0,ge.isService)(e)&&(t.service=e)}return t.headers=n?(0,ye.mergeHeaders)(this.headers,n):new Headers(this.headers),t}async createRecord(e,t,n={}){let{service:i=null,labelers:a=null}=n,o=(0,r.default)(n,_e);return this.xrpc(V,Object.assign({},o,{service:i,labelers:a,body:{repo:o?.repo??this.assertDid,collection:e.$type,record:e,rkey:t,validate:o?.validate,swapCommit:o?.swapCommit}}))}async deleteRecord(e,t,n={}){let{service:i=null,labelers:a=null}=n,o=(0,r.default)(n,we);return this.xrpc(W,Object.assign({},o,{service:i,labelers:a,body:{repo:o?.repo??this.assertDid,collection:e,rkey:t,swapCommit:o?.swapCommit,swapRecord:o?.swapRecord}}))}async getRecord(e,t,n={}){let{service:i=null,labelers:a=null}=n,o=(0,r.default)(n,ke);return this.xrpc(X,Object.assign({},o,{service:i,labelers:a,params:{repo:o?.repo??this.assertDid,collection:e,rkey:t}}))}async putRecord(e,t,n={}){let{service:i=null,labelers:a=null}=n,o=(0,r.default)(n,Se);return this.xrpc(ae,Object.assign({},o,{service:i,labelers:a,body:{repo:o?.repo??this.assertDid,collection:e.$type,rkey:t,record:e,validate:o?.validate,swapCommit:o?.swapCommit,swapRecord:o?.swapRecord}}
2))}async listRecords(e,t={}){let{service:n=null,labelers:i=null}=t,a=(0,r.default)(t,xe);return this.xrpc(Z,Object.assign({},a,{service:n,labelers:i,params:{repo:a?.repo??this.assertDid,collection:e,cursor:a?.cursor,limit:a?.limit,reverse:a?.reverse}}))}async applyWrites(e,t={}){let{service:n=null,labelers:i=null}=t,a=(0,r.default)(t,Ce);return this.xrpc(E,Object.assign({},a,{service:n,labelers:i,body:{repo:a?.repo??this.assertDid,writes:ve.build(e),validate:a?.validate,swapCommit:a?.swapCommit}}))}async uploadBlob(e,t={}){let{service:n=null,labelers:i=null}=t,a=(0,r.default)(t,Ee);return this.xrpc(de,Object.assign({},a,{service:n,labelers:i,body:e}))}async getBlob(e,t,n={}){let{service:i=null,labelers:a=null}=n,o=(0,r.default)(n,Ae);return this.xrpc(me,Object.assign({},o,{service:i,labelers:a,params:{did:e,cid:t}}))}async call(e,t,n={}){const r=(0,s.getMain)(e);if("function"===typeof r)return r(this,t,n);if(r instanceof i.Procedure){return(await this.xrpc(r,Object.assign({},n,{body:t}))).body}if(r instanceof a.Query){return(await this.xrpc(r,Object.assign({},n,{params:t}))).body}throw new TypeError("Invalid lexicon")}async create(e,t,n={}){const r=(0,s.getMain)(e),i=r.build(t);n?.validateRequest&&r.validate(i);const a=n.rkey??(0,ye.getDefaultRecordKey)(r);void 0!==a&&r.keySchema.assert(a);return(await this.createRecord(i,a,n)).body}async delete(e,t={}){const n=(0,s.getMain)(e),r=n.keySchema.parse(t.rkey??(0,ye.getLiteralRecordKey)(n));return(await this.deleteRecord(n.$type,r,t)).body}async get(e,t={}){const n=(0,s.getMain)(e),r=n.keySchema.parse(t.rkey??(0,ye.getLiteralRecordKey)(n)),i=await this.getRecord(n.$type,r,t),a=n.validate(i.body.value);return Object.assign({},i.body,{value:a})}async put(e,t,n={}){const r=(0,s.getMain)(e),i=r.build(t);n?.validateRequest&&r.validate(i);const a=n.rkey??(0,ye.getLiteralRecordKey)(r);return(await this.putRecord(i,a,n)).body}async list(e,t){const n=(0,s.getMain)(e),{body:r}=await this.listRecords(n.$type,t),i=r.records.map(Re,n);return Object.assign({},r,{records:i})}async*listAll(e,t={}){let{maxRetries:n=3}=t,i=(0,r.default)(t,Te);const a=(0,s.getMain)(e);do{(0,ye.throwIfAborted)(i.signal);const{body:e}=await this.listRecords(a.$type,Object.assign({},i,{maxRetries:n}));for(const t of e.records)yield Re.call(a,t);if(e.cursor&&e.cursor===i.cursor)return;i.cursor=e.cursor}while(i.cursor)}}function Re(e){const t=this.safeValidate(e.value);return t.success?Object.assign({},e,{valid:!0,value:t.value}):Object.assign({},e,{valid:!1})}Ie.appLabelers=[]},80710(e,t,n){"use strict";n.r(t),n.d(t,{LexError:()=>r.LexError,RETRYABLE_HTTP_STATUS_CODES:()=>o,XrpcAuthenticationError:()=>u,XrpcError:()=>l,XrpcFetchError:()=>h,XrpcInternalError:()=>f,XrpcInvalidResponseError:()=>d,XrpcResponseError:()=>c,XrpcResponseValidationError:()=>p,asXrpcFailure:()=>m,isXrpcErrorPayload:()=>s});var r=n(87708),i=n(92063);const a=new Map([[400,"InvalidRequest"],[401,"AuthenticationRequired"],[403,"Forbidden"],[404,"XRPCNotSupported"],[406,"NotAcceptable"],[413,"PayloadTooLarge"],[415,"UnsupportedMediaType"],[429,"RateLimitExceeded"],[500,"InternalServerError"],[501,"MethodNotImplemented"],[502,"UpstreamFailure"],[503,"NotEnoughResources"],[504,"UpstreamTimeout"]]),o=new Set([408,425,429,500,502,503,504,522,524]);function s(e){return null!=e&&"application/json"===e.encoding&&i.lexErrorDataSchema.matches(e.body)}class l extends r.LexError{constructor(e,t,n=`${t} Lexicon RPC error`,r){super(t,n,r),this.method=e,this.name="XrpcError",this.success=!1}matchesSchemaErrors(){return this.method.errors?.includes(this.error)??!1}}class c extends l{constructor(e,t,n,r){const{error:i,message:o}=s(n)?n.body:{error:a.get(t.status)??(t.status>=500?"UpstreamFailure":"InvalidRequest"),message:v(t)};super(e,i,o,r),this.response=t,this.payload=n,this.name="XrpcResponseError"}get reason(){return this}shouldRetry(){return o.has(this.response.status)}toJSON(){const{payload:e}=this;return s(e)?e.body:super.toJSON()}toDownstreamError(){const{status:e,headers:t}=this.response;return{status:500===e?502:e,headers:y(t),body:this.toJSON()}}get status(){return this.response.status}get headers(){return this.response.headers}get body(){return this.payload?.body}}class u extends c{constructor(){super(...arguments),this.name="XrpcAuthenticationError"}shouldRetry(){return!1}#e;get wwwAuthenticate(){return this.#e??=function(e){if("string"!==typeof e)return;const t={},n=e.trim();if(!n)return t;const r=n.split(/,(?=(?:[^"]*"[^"]*")*[^"]*$)/);let i=null;for(let a of r){const e=a.trim().match(/^([^"=\s]+)(\s+.*)?$/);if(e){const n=e[1];if(Object.hasOwn(t,n))return;const r=e[2]?.trim();if(!r){i=null,t[n]=Object.create(null);continue}if(!r.includes("=")){i=null,t[n]=r;continue}i=Object.create(null),t[n]=i,a=r}if(!i)return;const n=a.match(/^\s*([^"\s=]+)=(?:("[^"\\]*(?:\\.[^"\\]*)*")|([^\s,"]*))\s*$/);if(!n)return;const r=n[1],o=n[3]??n[2].slice(1,-1).replaceAll(/\\(.)/g,"$1");i[r]=o}return t}(this.response.headers.get("www-authenticate"))??{}}}class d extends l{constructor(e,t,n,r=v(t),i){super(e,"InvalidResponse",r,i
2),this.response=t,this.payload=n,this.name="XrpcInvalidResponseError"}get reason(){return this}shouldRetry(){return o.has(this.response.status)}toDownstreamError(){return{status:502,body:this.toJSON()}}}class p extends d{constructor(e,t,n,r){super(e,t,n,`Invalid response payload: ${r.message}`,{cause:r}),this.cause=r,this.name="XrpcResponseValidationError"}}class f extends l{constructor(e,t,n){super(e,"InternalServerError",t??"Unable to fulfill XRPC request",n),this.name="XrpcInternalError"}get reason(){return this}shouldRetry(){return!1}toJSON(){return{error:this.error,message:"Internal Server Error"}}toDownstreamError(){return{status:500,body:this.toJSON()}}}class h extends f{constructor(e,t){super(e,`Unexpected fetchHandler() error: ${t instanceof Error?t.message:String(t)}`,{cause:t}),this.name="XrpcFetchError"}shouldRetry(){return!0}toJSON(){return{error:this.error,message:"Failed to perform upstream request"}}toDownstreamError(){return{status:502,body:this.toJSON()}}}function m(e,t){return(t instanceof c||t instanceof d||t instanceof f)&&t.method===e?t:new f(e,void 0,{cause:t})}const g=new Set(["connection","keep-alive","proxy-authenticate","proxy-authorization","te","trailer","transfer-encoding","upgrade"]);function y(e){const t=new Headers(e);for(const r of g)t.delete(r);const n=e.get("connection");if(n)for(const r of n.split(","))t.delete(r.trim());return t.delete("content-length"),t.delete("content-encoding"),t}function v(e){return e.status<400?`Upstream server responded with an invalid status code (${e.status})`:`Upstream server responded with a ${e.status} error`}},4506(e,t,n){"use strict";n.r(t),n.d(t,{isEncodingString:()=>a,isService:()=>i});var r=n(82724);const i=e=>{const t=e.indexOf("#");if(t<7)return!1;if(t>e.length-3)return!1;if(e.includes("#",t+1))return!1;const n=e.slice(0,t);return(0,r.isDidString)(n)};function a(e){return e.includes("/")}},21987(e,t,n){"use strict";function r(e,...t){const n=Object.assign({},e);for(const r of t)for(const e of Object.keys(r))void 0===n[e]&&(n[e]=r[e]);return n}function i(e){if(null==e)return!1;if("object"!==typeof e)return!1;if("function"===typeof Blob&&e instanceof Blob)return!0;const t=e[Symbol.toStringTag];return("Blob"===t||"File"===t)&&("stream"in e&&"function"===typeof e.stream)}function a(e){return null!=e&&"function"===typeof e[Symbol.asyncIterator]}function o(e){return e.buffer instanceof ArrayBuffer?e:new Uint8Array(e)}function s({service:e,labelers:t,appLabelers:n,headers:r}){const i=new Headers(r);void 0!==e&&(null===e?i.delete("atproto-proxy"):i.set("atproto-proxy",e));const a=new Set;if(n)for(const o of n)a.add(`${o};redact`);if(t)for(const o of t)a.add(o);if(null!==t){const e=i.get("atproto-accept-labelers");if(e)for(const t of e.split(",").map(g).filter(Boolean))t&&a.add(t)}return a.size>0?i.set("atproto-accept-labelers",Array.from(a).join(", ")):i.delete("atproto-accept-labelers"),i}function l(e){return"from"in ReadableStream&&"function"===typeof ReadableStream.from?ReadableStream.from(e):c(e)}function c(e){let t;return new ReadableStream({async pull(n){try{t??=e[Symbol.asyncIterator]();const r=await t.next();r.done?n.close():n.enqueue(r.value)}catch(r){n.error(r),t=void 0}},async cancel(){await(t?.return?.()),t=void 0}})}function u(e){if("tid"!==e.key&&"any"!==e.key)return d(e)}function d(e){if(e.key.startsWith("literal:"))return e.key.slice(8);throw new TypeError(`An "rkey" must be provided for record key type "${e.key}" (${e.$type})`)}function p(e,t){const n=new Headers(e),r=t instanceof Headers?t:new Headers(t);for(const[i,a]of r.entries())n.set(i,a);return n}function f(e){return"reason"in e?e.reason:"undefined"!==typeof DOMException?new DOMException("Aborted","AbortError"):new Error("Aborted")}function h(e){if(e)if("function"!==typeof e.throwIfAborted){if(e.aborted)throw f(e)}else e.throwIfAborted()}function m(e,{signal:t}={}){return new Promise((n,r)=>{h(t);const i=()=>{clearTimeout(a),t?.removeEventListener("abort",o)},a=setTimeout(()=>{i(),n()},e),o=()=>{i(),r(f(t))};t?.addEventListener("abort",o)})}function g(e){return e.trim()}n.r(t),n.d(t,{applyDefaults:()=>r,asUint8ArrayArrayBuffer:()=>o,buildXrpcRequestHeaders:()=>s,getDefaultRecordKey:()=>u,getLiteralRecordKey:()=>d,isAsyncIterable:()=>a,isBlobLike:()=>i,mergeHeaders:()=>p,throwIfAborted:()=>h,toReadableStream:()=>l,toReadableStreamPonyfill:()=>c,trim:()=>g,wait:()=>m})},91151(e,t,n){"use strict";n.r(t),n.d(t,{extractFetchErrorCause:()=>_,xrpc:()=>m,xrpcSafe:()=>g});var r=n(77247),i=n(44567),a=n(13455),o=n(92063),s=n(70570),l=n(80710),c=n(4506);const u="application/json";class d{get value(){return this}constructor(e,t,n,r){this.method=e,this.status=t,this.headers=n,this.payload=r,this.success=!0}get isParsed(){return this.method.output.encoding===u}get encoding(){return this.payload?.encoding}get body(){return this.payload?.body}static async fromFetchResponse(e,t,n){if(t.status>=400){const n=await p(e,t,{parse:{strict:!1}});if(401===t.status)throw new l.XrpcAuthenticationError(e,t,n);throw new l.XrpcResponseError(e,t,n)}if(t.status<200||t.status>=300)throw await(t.body?.cancel()),new l.XrpcInvalidResponseError(e,t,void 0,`Unexpected status code ${t.status}`);const r=await p(e,t,{parse:e.output.schema||e.output.encoding===u?{strict:n?.strictResponseProcessing??!0}:null==e.output.encoding&&{strict:!1}});if(!e.output.matchesEncoding(r?.encoding))throw new l.XrpcInvalidResponseError(e,t,r,`Expected ${f(e.output.encoding)}
2 response (got ${f(r?.encoding)})`);if(null!=e.output.encoding){if(!r)throw new Error("Expected payload");if(e.output.schema&&!1!==n?.validateResponse){const i=e.output.schema.safeParse(r.body,{strict:n?.strictResponseProcessing??!0});if(!i.success)throw new l.XrpcResponseValidationError(e,t,r,i.reason);const a={body:i.value,encoding:r.encoding};return new d(e,t.status,t.headers,a)}}return new d(e,t.status,t.headers,r)}}async function p(e,t,n){try{const e=t.headers.get("content-type")?.split(";")[0].trim().toLowerCase();if(!e){const e=await t.arrayBuffer();if(0===e.byteLength)return;return{encoding:"application/octet-stream",body:new Uint8Array(e)}}if(!(0,c.isEncodingString)(e))throw new TypeError(`Invalid content-type "${e}" in response`);if(n?.parse&&e===u){const r=await t.json();return{encoding:e,body:(0,a.jsonToLex)(r,n.parse)}}const r=await t.arrayBuffer();return{encoding:e,body:new Uint8Array(r)}}catch(r){const n="Unable to parse response payload",i=r instanceof TypeError?r.message:void 0;throw new l.XrpcInvalidResponseError(e,t,void 0,i?`${n}: ${i}`:n,{cause:r})}}function f(e){return e?`"${e}"`:"no payload"}var h=n(21987);async function m(e,t,n={}){const r=await g(e,t,n);if(r.success)return r;throw r}async function g(e,t,n={}){const r=(0,o.getMain)(t);for(let a=1;;a++){(0,h.throwIfAborted)(n.signal);try{const t=(0,s.buildAgent)(e),i=y(r,n),a=v(r,n),o=await t.fetchHandler(i,a).catch(e=>{const t=_(e);throw new l.XrpcFetchError(r,t)});return await d.fromFetchResponse(r,o,n)}catch(i){const e=(0,l.asXrpcFailure)(r,i);if(n.body instanceof ReadableStream||(0,h.isAsyncIterable)(n.body))return e;const t=w(e,n,a);if(null==t)return e;await(0,h.wait)(t,n)}}}function y(e,t){const n=`/xrpc/${e.nsid}`,r=e.parameters?.toURLSearchParams(t.params??{}).toString();return r?`${n}?${r}`:n}function v(e,t){const n=(0,h.buildXrpcRequestHeaders)(t);if(e.output.encoding&&n.set("accept",e.output.encoding),n.has("content-type")){const e=n.get("content-type");throw new TypeError(`Unexpected content-type header (${e})`)}if("input"in e){const o=t.encoding,s=function(e,t,n){const{input:o}=e,{body:s}=t;t.validateRequest&&o.schema?.check(s);if("application/json"===o.encoding){if(!(0,r.isLexScalar)(s)&&!(0,i.isPlainObject)(s)&&!Array.isArray(s))throw new TypeError("Expected LexValue body, got "+typeof s);return b(o,(0,a.lexStringify)(s),n)}switch(typeof s){case"undefined":case"string":return b(o,s,n);case"object":if(null===s)break;if(ArrayBuffer.isView(s))return b(o,(0,h.asUint8ArrayArrayBuffer)(s),n);if(s instanceof ArrayBuffer||s instanceof ReadableStream)return b(o,s,n);if((0,h.isAsyncIterable)(s))return b(o,(0,h.toReadableStream)(s),n);if((0,h.isBlobLike)(s))return b(o,s,n||s.type)}throw new TypeError(`Invalid ${typeof s} body for ${o.encoding} encoding`)}(e,t,o);if(s)n.set("content-type",s.encoding);else if(null!=o)throw new TypeError(`Unexpected encoding hint (${o})`);return{duplex:"half",redirect:"follow",referrerPolicy:"strict-origin-when-cross-origin",mode:"cors",signal:t.signal,method:"POST",headers:n,body:s?.body}}return{duplex:"half",redirect:"follow",referrerPolicy:"strict-origin-when-cross-origin",mode:"cors",signal:t.signal,method:"GET",headers:n}}function b(e,t,n){if(void 0===e.encoding){if(void 0!==t)throw new TypeError("Endpoint expects no payload");return null}if(void 0===t)throw new TypeError("A request body is expected but none was provided");const r=function(e,t){if(!e.encoding)throw new TypeError("Unexpected payload");if(t?.length){if(!e.matchesEncoding(t))throw new TypeError(`Cannot send a body with content-type "${t}" for "${e.encoding}" encoding`);return t}if("*/*"===e.encoding)return"application/octet-stream";if(e.encoding.startsWith("text/"))return e.encoding.includes("*")?"text/plain; charset=utf-8":`${e.encoding}; charset=utf-8`;if(!e.encoding.includes("*"))return e.encoding;throw new TypeError(`Unable to determine payload encoding. Please provide a 'content-type' header matching ${e.encoding}.`)}(e,n);return{encoding:r,body:t}}function _(e){return e instanceof TypeError&&"fetch failed"===e.message&&void 0!==e.cause?e.cause:e}function w(e,t,n){const{retry:r,maxRetries:i=0,minRetryTimeout:a=500,maxRetryTimeout:o=3e4,retryTimeoutFactor:s=2,retryHeaders:c=!0}=t;if(n>i)return;if(!(r?r(e,{counter:n}):e.shouldRetry()))return;const u=c&&e instanceof l.XrpcResponseError?function(e){const t=e.get("retry-after");if(t){const e=/^\s*\d+\s*$/.test(t)?1e3*Number(t):new Date(t).getTime()-Date.now();if(e>0)return e}const n=e.get("RateLimit-Reset");if(n){const e=1e3*Number(n)-Date.now();if(e>0)return e}}(e.headers):void 0;return Math.min(o,u??a*s**(n-1))}},67083(e,t,n){"use strict";n.r(t),n.d(t,{enumBlobRefs:()=>h,getBlobCid:()=>u,getBlobCidString:()=>d,getBlobMime:()=>l,getBlobSize:()=>c,isBlobRef:()=>s,isLegacyBlobRef:()=>f,isTypedBlobRef:()=>p});var r=n(71602),i=n(44567);const a={flavor:"raw"},o=Number.isSafeInteger;function s(e,t){return"blob"===e?.$type?p(e,t):f(e,t)}function l(e){return e?.mimeType}function c(e){if("$type"in e&&e.size>=0)return e.size}function u(e){if(e)return"$type"in e?e.ref:(0,r.parseCid)(e.cid)}function d(e){if(e)return"$type"in e?e.ref.toString():e.cid}function p(e,t){if(!(0,i.isPlainObject)(e))return!1;if("blob"!==e?.$type)return!1;const{mimeType:n,size:s,ref:l}=e;if("string"!==typeof n||!n.includes("/"))return!1;if(-1===s&&!1===t?.strict);else if(!o(s)||s<0)return!1;if("object"!==typeof l||null===l)return!1;for(const r in e)if("$type"!==r&&"mimeType"!==r&&"ref"!==r&&"size"!==r)return!1;return!!(0,r.ifCid)(l,!1===t?.strict?void 0:a)}function f(e,t){if(!(0,i.isPlainObject)(e))return!1;const{cid:n,mimeType:o}=e;if("string"!==typeof n)return!1;if("string"!==typeof o||0===o.length)return!1;for(const r in e)if("cid"!==r&&"mimeType"!==r)return!1;return!!(0,r.validateCidString)(n,!1===t?.strict?void 0:a)}function*h(e,t){const n=!0===t?.allowLegacy,r=[e],a=new Set;do{const e=r.pop();if(null!=e&&"object"===typeof e)if(Array.isArray(e)){if(a.has(e))continue;a.add(e),r.push(...e)}else if((0,i.isPlainProto)(e)){if(a.has(e))continue;if(a.add(e),p(e,t))yield e;else if(n&&f(e,t))yield e;else for(const t of Object.values(e))null!=t&&r.push(t)}}while(r.length>0);a.clear()}},71602(e,t,n){"use strict";n.r(t),n.d(t,{CBOR_DATA_CODEC:()=>f,CID:()=>r.CID,RAW_DATA_CODEC:()=>h,SHA256_HASH_CODE:()=>m,SHA512_HASH_CODE:()=>g,asCid:()=>C,asMultiformatsCID:()=>v,checkCid:()=>k,cidForCbor:()=>N,cidForRawBytes:()=>j,cidForRawHash:()=>F,createCid:()=>D,decodeCid:()=>E,ensureValidCidString:()=>R,ifCid:()=>x,isCborCid:()=>w,isCid:()=>S,isCidForBytes:()=>O,isDaslCid:()=>_,isRawCid:()=>b,multihashEquals:()=>y,parseCid:()=>A,parseCidSafe:()=>I,validateCidString:()=>T});var r=n(30145),i=n(57119),a=n(20612);function o(e){return async t=>new Uint8Array(await crypto.subtle.digest(e,t))}const s=(0,a.from)({name:"sha2-256",code:18,encode:o("SHA-256")}),l=(0,a.from)({name:"sha2-512",code:19,encode:o("SHA-512")});function c(e){return`0x${e.toString(16).padStart(2,"0")}`}function u(e){return Number.isInteger(e)&&e>=0&&e<256}var d=n(44567),p=n(49747);const f=113,h=85,m=s.code,g=l.code;function y(e,t){return e===t||e.code===t.code&&(0,p.ui8Equals)(e.digest,t.digest)}
2function v(e){return r.CID.asCID(e)??r.CID.create(e.version,e.code,(0,i.create)(e.multihash.code,e.multihash.digest))}function b(e){return 1===e.version&&e.code===h}function _(e){return 1===e.version&&(e.code===h||e.code===f)&&e.multihash.code===m&&32===e.multihash.digest.byteLength}function w(e){return e.code===f&&_(e)}function k(e,t){switch(t?.flavor){case void 0:return!0;case"cbor":return w(e);case"dasl":return _(e);case"raw":return b(e);default:throw new TypeError(`Unknown CID flavor: ${t?.flavor}`)}}function S(e,t){return function(e){if(r.CID.asCID(e))return null!=e.bytes;try{if(!(0,d.isObject)(e))return!1;const t=e;if(0!==t.version&&1!==t.version)return!1;if(!u(t.code))return!1;if(!(0,d.isObject)(t.multihash))return!1;const n=t.multihash;return!!u(n.code)&&(n.digest instanceof Uint8Array&&(t.bytes instanceof Uint8Array&&(t.bytes[0]===t.version&&(t.bytes[1]===t.code&&(t.bytes[2]===n.code&&(t.bytes[3]===n.digest.length&&(t.bytes.length===4+n.digest.length&&(!!(0,p.ui8Equals)(t.bytes.subarray(4),n.digest)&&("function"===typeof t.equals&&!0===t.equals(t))))))))))}catch{return!1}}(e)&&k(e,t)}function x(e,t){return S(e,t)?e:null}function C(e,t){if(S(e,t))return e;throw new Error(`Invalid ${t?.flavor?`${t.flavor} CID`:"CID"} "${e}"`)}function E(e,t){return C(r.CID.decode(e),t)}function A(e,t){return C(r.CID.parse(e),t)}function T(e,t){return I(e,t)?.toString()===e}function I(e,t){try{return A(e,t)}catch{return null}}function R(e,t){if(!T(e,t))throw new Error(`Invalid CID string "${e}"`)}async function O(e,t){if(e.multihash.code===s.code){return y(await s.digest(t),e.multihash)}if(e.multihash.code===l.code){return y(await l.digest(t),e.multihash)}throw new Error(`Unsupported CID multihash code: ${c(e.multihash.code)}`)}function D(e,t,n){return r.CID.createV1(e,(0,i.create)(t,n))}async function N(e){const t=await s.digest(e);return r.CID.createV1(f,t)}async function j(e){const t=await s.digest(e);return r.CID.createV1(h,t)}function F(e){if(32!==e.length)throw new Error(`Invalid SHA-256 hash length: ${c(e.length)}`);return D(h,s.code,e)}},87708(e,t,n){"use strict";n.r(t),n.d(t,{LexError:()=>r});class r extends Error{constructor(e,t,n){super(t,n),this.error=e,this.name="LexError"}toString(){return`${this.name}: [${this.error}] ${this.message}`}toJSON(){const{error:e,message:t}=this;return{error:e,message:t||void 0}}}},77247(e,t,n){"use strict";n.r(t),n.d(t,{isLexArray:()=>o,isLexMap:()=>a,isLexScalar:()=>s,isLexValue:()=>l,isTypedLexMap:()=>c});var r=n(71602),i=n(44567);function a(e){return(0,i.isPlainObject)(e)&&Object.values(e).every(l)}function o(e){return Array.isArray(e)&&e.every(l)}function s(e){switch(typeof e){case"object":return null===e||e instanceof Uint8Array||(0,r.isCid)(e);case"string":case"boolean":return!0;case"number":if(Number.isInteger(e))return!0;default:return!1}}function l(e){const t=[e],n=new Set;do{const e=t.pop();if((0,i.isPlainObject)(e)){if(n.has(e))return!1;n.add(e),t.push(...Object.values(e))}else if(Array.isArray(e)){if(n.has(e))return!1;n.add(e),t.push(...e)}else if(!s(e))return!1}while(t.length>0);return n.clear(),!0}function c(e){return a(e)&&"string"===typeof e.$type&&e.$type.length>0}},61074(e,t,n){"use strict";n.r(t),n.d(t,{NodeJSBuffer:()=>i});const r="Bu"+"f".repeat(2)+"er",i=globalThis?.[r]?.prototype instanceof Uint8Array&&"byteLength"in globalThis[r]?globalThis[r]:null},44567(e,t,n){"use strict";function r(e){return null!=e&&"object"===typeof e}n.r(t),n.d(t,{isObject:()=>r,isPlainObject:()=>o,isPlainProto:()=>s});const i=Object.prototype,a=Object.prototype.toString;function o(e){return r(e)&&s(e)}function s(e){const t=Object.getPrototypeOf(e);return null===t||(t===i||null===Object.getPrototypeOf(t))&&"[object Object]"===a.call(e)}},83459(e,t,n){"use strict";n.r(t),n.d(t,{toBase64Native:()=>a,toBase64Node:()=>o,toBase64Ponyfill:()=>s});var r=n(90024);const i=n(61074).NodeJSBuffer,a="function"===typeof Uint8Array.prototype.toBase64?function(e,t="base64"){return e.toBase64({alphabet:t,omitPadding:!0})}:null,o=i?function(e,t="base64"){const n=(e instanceof i?e:i.from(e)).toString(t);return 61===n.charCodeAt(n.length-1)?61===n.charCodeAt(n.length-2)?n.slice(0,-2):n.slice(0,-1):n}:null;function s(e,t="base64"){const n="base64url"===t?r.base64url:r.base64;return n.encoder.encode(e).slice(n.prefix.length)}},49747(e,t,n){"use strict";n.r(t),n.d(t,{asUint8Array:()=>g,fromBase64:()=>h,ifUint8Array:()=>m,toBase64:()=>f,ui8Concat:()=>v,ui8Equals:()=>y});var r=n(61074);const i=r.NodeJSBuffer,a=i?function(e){return i.concat(e)}:null;var o=n(90024);const s=r.NodeJSBuffer,l="function"===typeof Uint8Array.fromBase64?function(e,t="base64"){return Uint8Array.fromBase64(e,{alphabet:t,lastChunkHandling:"loose"})}:null,c=s?function(e,t="base64"){const n=s.from(e,t);return d(e,n),new Uint8Array(n.buffer,n.byteOffset,n.byteLength)}:null;function u(e,t="base64"){const n=e.endsWith("="),r="base64url"===t?n?o.base64urlpad:o.base64url:n?o.base64pad:o.base64,i=r.decoder.decode(`${r.prefix}${e}`);return d(e,i),i}function d(e,t){const n=e.endsWith("==")?2:e.endsWith("=")?1:0,r=e.length-n,i=Math.floor(3*r/4);if(t.length!==i)throw new Error("Invalid base64 string");const a=t.length/3*4,o=a+(a%4===0?0:4-a%4);if(e.length>
2o)throw new Error("Invalid base64 string");for(let s=Math.ceil(a);s<e.length-n;s++){const t=e.charCodeAt(s);if(!(t>=65&&t<=90)&&!(t>=97&&t<=122)&&!(t>=48&&t<=57)&&43!==t&&47!==t)throw new Error("Invalid base64 string")}}var p=n(83459);const f=p.toBase64Native??p.toBase64Node??p.toBase64Ponyfill,h=l??c??u;function m(e){if(e instanceof Uint8Array)return e}function g(e){return e instanceof Uint8Array?e:ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):e instanceof ArrayBuffer?new Uint8Array(e):void 0}function y(e,t){if(e.byteLength!==t.byteLength)return!1;for(let n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0}p.toBase64Ponyfill;const v=a??function(e){let t=0;for(const i of e)t+=i.length;const n=new Uint8Array(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}},6(e,t,n){"use strict";n.r(t),n.d(t,{graphemeLen:()=>_,utf8FromBase64:()=>S,utf8FromBytes:()=>b,utf8Len:()=>w,utf8ToBase64:()=>k});var r=n(90024),i=n(61074);const a=i.NodeJSBuffer,o=a?function(e,t="base64"){return a.from(e,t).toString("utf8")}:null,s=new TextDecoder;const l=i.NodeJSBuffer,c=l?function(e){return l.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8")}:null;var u=n(93438);const d="Segmenter"in Intl&&"function"===typeof Intl.Segmenter?new Intl.Segmenter:null,p=d?function(e){let t=0;for(const n of d.segment(e))t++;return t}:null;function f(e){return(0,u.countGraphemes)(e)}const h=i.NodeJSBuffer?function(e){return i.NodeJSBuffer.byteLength(e,"utf8")}:null;var m=n(83459);const g=i.NodeJSBuffer,y=g?function(e,t){const n=g.from(e,"utf8");return(0,m.toBase64Node)(n,t)}:null,v=new TextEncoder;const b=c??function(e){return new TextDecoder("utf-8").decode(e)},_=p??f,w=h??function(e){let t,n=e.length;for(let r=0;r<e.length;r+=1)t=e.charCodeAt(r),t<=127||(t<=2047?n+=1:(n+=2,t>=55296&&t<=56319&&(t=e.charCodeAt(r+1),t>=56320&&t<=57343&&r++)));return n},k=y??function(e,t){const n=v.encode(e),i="base64url"===t?r.base64url:r.base64;return i.encoder.encode(n).slice(i.prefix.length)},S=o??function(e,t){const n="base64url"===t?r.base64url:r.base64,i=n.decoder.decode(`${n.prefix}${e}`);return s.decode(i)}},13455(e,t,n){"use strict";n.r(t),n.d(t,{jsonToLex:()=>d,lexParse:()=>c,lexParseJsonBytes:()=>u,lexStringify:()=>l,lexToJson:()=>p,parseSpecialJsonObject:()=>f});var r=n(6),i=n(71602),a=n(67083);function o(e,t){if(!e||!("$link"in e))return;for(const r in e)if("$link"!==r)return;const{$link:n}=e;if("string"===typeof n&&0!==n.length&&!(n.length>2048))try{return(0,i.parseCid)(n,t)}catch{return}}var s=n(49747);function l(e){return JSON.stringify(p(e))}function c(e,t={strict:!1}){return d(JSON.parse(e),t)}function u(e,t){return c((0,r.utf8FromBytes)(e),t)}function d(e,t={strict:!1}){switch(typeof e){case"object":return null===e?null:Array.isArray(e)?function(e,t){let n;for(let r=0;r<e.length;r++){const i=e[r],a=d(i,t);a!==i&&(n??=Array.from(e),n[r]=a)}return n??e}(e,t):f(e,t)??function(e,t){let n;for(const[r,i]of Object.entries(e)){if("__proto__"===r)throw new TypeError("Invalid key: __proto__");if(void 0===i){n??=Object.assign({},e),delete n[r];continue}const a=d(i,t);a!==i&&(n??=Object.assign({},e),n[r]=a)}return n??e}(e,t);case"number":if(Number.isSafeInteger(e))return e;if(!1===t.strict)return e;throw new TypeError(`Invalid non-integer number: ${e}`);case"boolean":case"string":return e;default:throw new TypeError("Invalid JSON value: "+typeof e)}}function p(e){switch(typeof e){case"object":return null===e?e:Array.isArray(e)?function(e){let t;for(let n=0;n<e.length;n++){const r=e[n],i=p(r);i!==r&&(t??=Array.from(e),t[n]=i)}return t??e}(e):(0,i.isCid)(e)?function(e){return{$link:e.toString()}}(e):ArrayBuffer.isView(e)?(t=e,{$bytes:(0,s.toBase64)(t)}):function(e){let t;for(const[n,r]of Object.entries(e)){if("__proto__"===n)throw new TypeError("Invalid key: __proto__");if(void 0===r){t??=Object.assign({},e),delete t[n];continue}const i=p(r);i!==r&&(t??=Object.assign({},e),t[n]=i)}return t??e}(e);case"boolean":case"string":case"number":return e;default:throw new TypeError("Invalid Lex value: "+typeof e)}var t}function f(e,t){if(void 0!==e.$link){const n=o(e);if(n)return n;if(t.strict)throw new TypeError("Invalid $link object")}else if(void 0!==e.$bytes){const n=function(e){if(e&&"$bytes"in e){for(const t in e)if("$bytes"!==t)return;if("string"===typeof e.$bytes)try{return(0,s.fromBase64)(e.$bytes)}catch{return}}}(e);if(n)return n;if(t.strict)throw new TypeError("Invalid $bytes object")}else if(void 0!==e.$type&&t.strict){if("blob"===e.$type){const n=function(e,t){if("blob"!==e.$type)return;const n=e?.ref;if(n&&"object"===typeof n){if("$link"in n){const r=o(n);if(!r)return;const i=Object.assign({},e,{ref:r});if((0,a.isTypedBlobRef)(i,t))return i}return(0,a.isTypedBlobRef)(e)?e:void 0}}(e,t);if(n)return n;throw new TypeError("Invalid blob object")}if("string"!==typeof e.$type)throw new TypeError(`Invalid $type property (${typeof e.$type})`);if(0===e.$type.length)throw new TypeError("Empty $type property")}}}
2,14340(e,t,n){"use strict";n.r(t),n.d(t,{LexAuthFactorError:()=>i});var r=n(87708);class i extends r.LexError{constructor(e){super(e.error,e.message??"Auth factor token required",{cause:e}),this.cause=e,this.name="LexAuthFactorError"}}},87002(e,t,n){"use strict";n.r(t),n.d(t,{PasswordSession:()=>W});var r=n(98587),i=n(70570),a=n(91151),o=n(14340),s=n(60878),l=n(40733),c=n(47622),u=n(34311),d=n(56006),p=n(43511),f=n(98954);const h="com.atproto.server.refreshSession",m=s.params(),g=l.payload(),y=l.jsonPayload({accessJwt:c.string(),refreshJwt:c.string(),handle:c.string({format:"handle"}),did:c.string({format:"did"}),didDoc:u.optional(d.lexMap()),email:u.optional(c.string()),emailConfirmed:u.optional(p.boolean()),emailAuthFactor:u.optional(p.boolean()),active:u.optional(p.boolean()),status:u.optional(c.string())}),v=f.procedure(h,m,g,y,["AccountTakedown","InvalidToken","ExpiredToken"]);var b=n(70671);const _="com.atproto.server.getSession",w=s.params(),k=l.jsonPayload({handle:c.string({format:"handle"}),did:c.string({format:"did"}),didDoc:u.optional(d.lexMap()),email:u.optional(c.string()),emailConfirmed:u.optional(p.boolean()),emailAuthFactor:u.optional(p.boolean()),active:u.optional(p.boolean()),status:u.optional(c.string())}),S=b.query(_,w,k),x="com.atproto.server.deleteSession",C=s.params(),E=l.payload(),A=l.payload(),T=f.procedure(x,C,E,A,["InvalidToken","ExpiredToken"]),I="com.atproto.server.createAccount",R=s.params(),O=l.jsonPayload({email:u.optional(c.string()),handle:c.string({format:"handle"}),did:u.optional(c.string({format:"did"})),inviteCode:u.optional(c.string()),verificationCode:u.optional(c.string()),verificationPhone:u.optional(c.string()),password:u.optional(c.string()),recoveryKey:u.optional(c.string()),plcOp:u.optional(d.lexMap())}),D=l.jsonPayload({accessJwt:c.string(),refreshJwt:c.string(),handle:c.string({format:"handle"}),did:c.string({format:"did"}),didDoc:u.optional(d.lexMap())}),N=f.procedure(I,R,O,D,["InvalidHandle","InvalidPassword","InvalidInviteCode","HandleNotAvailable","UnsupportedDomain","UnresolvableDid","IncompatibleDidDoc"]),j="com.atproto.server.createSession",F=s.params(),M=l.jsonPayload({identifier:c.string(),password:c.string(),authFactorToken:u.optional(c.string()),allowTakendown:u.optional(p.boolean())}),V=l.jsonPayload({accessJwt:c.string(),refreshJwt:c.string(),handle:c.string({format:"handle"}),did:c.string({format:"did"}),didDoc:u.optional(d.lexMap()),email:u.optional(c.string()),emailConfirmed:u.optional(p.boolean()),emailAuthFactor:u.optional(p.boolean()),active:u.optional(p.boolean()),status:u.optional(c.string())}),P=f.procedure(j,F,M,V,["AccountTakedown","AuthFactorTokenRequired"]);var L=n(8136);const B=["service","headers"],H=["service","identifier","password","allowTakendown","authFactorToken"];class W{#t;#n;#r;constructor(e,t={}){this.options=t,this.#t=(0,i.buildAgent)({service:e.service,fetch:t.fetch}),this.#n=e,this.#r=Promise.resolve(this.#n)}get did(){return this.session.did}get handle(){return this.session.handle}get session(){if(this.#n)return this.#n;throw new Error("Logged out")}get destroyed(){return null===this.#n}async fetchHandler(e,t){const n=new Headers(t.headers);if(n.has("authorization"))throw new TypeError("Unexpected 'authorization' header set");const r=this.#r,i=await r,a=this.options.fetch??globalThis.fetch;n.set("authorization",`Bearer ${i.accessJwt}`);const o=await a(z(i,e),Object.assign({},t,{headers:n}));if(!(401===o.status||400===o.status&&"ExpiredToken"===await(0,L.extractXrpcErrorCode)(o)))return o;const s=this.#r===r?this.refresh():this.#r,l=await s.catch(e=>null);return l?l.accessJwt===i.accessJwt||t?.signal?.aborted||ReadableStream&&t?.body instanceof ReadableStream?o:(o.bodyUsed||await(o.body?.cancel()),n.set("authorization",`Bearer ${l.accessJwt}`),a(z(l,e),Object.assign({},t,{headers:n}))):o}async refresh(){return this.#r=this.#r.then(async e=>{const t=await(0,a.xrpcSafe)(this.#t,v,{headers:{Authorization:`Bearer ${e.refreshJwt}`}});if(!t.success&&t.matchesSchemaErrors())throw await(this.options.onDeleted?.call(this,e)),this.#n=null,t;if(!t.success)return await(this.options.onUpdateFailure?.call(this,e,t)),e;const n=t.body;if(null==n.emailConfirmed||null==n.didDoc){const e=await(0,a.xrpcSafe)(this.#t,S,{headers:{Authorization:`Bearer ${n.accessJwt}`}});e.success&&e.body.did===n.did&&Object.assign(n,e.body)}const r=Object.assign({},n,{service:e.service});return await(this.options.onUpdated?.call(this,r)),this.#n=r}),this.#r}async logout(){let e=null;return this.#r=this.#r.then(async t=>{const n=await(0,a.xrpcSafe)(this.#t,T,{headers:{Authorization:`Bearer ${t.refreshJwt}`}});if(n.success||n.matchesSchemaErrors())throw await(this.options.onDeleted?.call(this,t)),this.#n=null,new Error("Logged out");return e=n,await(this.options.onDeleteFailure?.call(this,t,n)),t}),this.#r.then(t=>{throw e},e=>{})}async[Symbol.asyncDispose](){await this.logout()}static async createAccount(e,t){let{service:n,headers:o}=t,s=(0,r.default)(t,B);const l=await(0,a.xrpc)((0,i.buildAgent)({service:n,headers:o,fetch:s.fetch}),N,{body:e}),c=Object.assign({},l.body,{service:String(n)}),u=new W(c,s);return await(s.onUpdated?.call(u,c)),u}static async login(e){const t="string"===typeof e||e instanceof URL?function(e){const t="string"===typeof e?new URL(e):e;if("/"!==t.pathname)throw new TypeError("Invalid login URL: unexpected pathname");if(t.hash)throw new TypeError("Invalid login URL: unexpected hash");if(t.search)throw new TypeError("Invalid login URL: unexpected search parameters");if(!t.username||!t.password)throw new TypeError("Invalid login URL: missing identifier or password");return{service:t.origin,identifier:t.username,password:t.password}}
2(e):e,{service:n,identifier:s,password:l,allowTakendown:c,authFactorToken:u}=t,d=(0,r.default)(t,H),p=(0,i.buildAgent)({service:n,fetch:d.fetch}),f=await(0,a.xrpcSafe)(p,P,{body:{identifier:s,password:l,allowTakendown:c,authFactorToken:u}});if(!f.success){if("AuthFactorTokenRequired"===f.error)throw new o.LexAuthFactorError(f);throw f.reason}const h=Object.assign({},f.body,{service:String(n)}),m=new W(h,d);return await(d.onUpdated?.call(m,h)),m}static async resume(e,t){const n=new W(e,t);return await n.refresh(),n}static async delete(e,t){const n=new W(e,t);await n.logout()}}function z(e,t){const n=(0,L.extractPdsEndpoint)(e.didDoc);return new URL(t,n??e.service)}},8136(e,t,n){"use strict";n.r(t),n.d(t,{extractPdsEndpoint:()=>a,extractXrpcErrorCode:()=>i});var r=n(92063);async function i(e){const t=await async function(e,t=1/0){const n=function({headers:e}){return e.get("Content-Type")?.split(";")[0]?.trim().toLowerCase()}(e);if("application/json"!==n)return;const r=function({headers:e}){return e.get("Content-Length")?Number(e.get("Content-Length")):void 0}(e);if(null!=r&&r>t)return;try{return await e.clone().json()}catch{return}}(e,10240);return void 0===t?null:r.lexErrorDataSchema.matches(t)?t.error:null}function a(e){const t=l(e?.service)?.find(e=>s(e?.id)?.endsWith("#atproto_pds")),n=s(t?.serviceEndpoint);return n&&o(n)?n:null}const o=URL.canParse??(e=>{try{return new URL(e),!0}catch{return!1}}),s=e=>"string"===typeof e?e:void 0,l=e=>Array.isArray(e)?e:void 0},74571(e,t,n){"use strict";function r(e,t){return"main"===t?e:`${e}#${t}`}function i(e,t){return e.$type===t?e:Object.assign({},e,{$type:t})}n.r(t),n.d(t,{$type:()=>r,$typed:()=>i})},63079(e,t,n){"use strict";n.r(t),n.d(t,{Schema:()=>l});var r=n(66028),i=n(3543),a=n(5306);class o{static validate(e,t,n){return new o({path:n?.path??[],mode:n?.mode??"validate",strict:n?.strict??!0}).validate(e,t)}constructor(e){this.options=e,this.issues=[],this.currentPath=Array.from(e.path)}get path(){return Array.from(this.currentPath)}concatPath(e){return null==e?this.path:this.currentPath.concat(e)}validate(e,t){const n=t.validateInContext(e,this);if(n.success){if(this.issues.length>0)return new i.LexValidationError(Array.from(this.issues));if("parse"!==this.options.mode&&!Object.is(n.value,e))return this.issueInvalidValue(e,[n.value])}return n}validateChild(e,t,n){this.currentPath.push(t);try{return this.validate(e[t],n)}finally{this.currentPath.length--}}addIssue(e){this.issues.push(e)}success(e){return{success:!0,value:e}}issue(e){return new i.LexValidationError([...this.issues,e])}issueInvalidValue(e,t){return this.issue(new a.IssueInvalidValue(this.path,e,t))}issueInvalidType(e,t){return this.issue(new a.IssueInvalidType(this.path,e,t))}issueUnexpectedType(e,t){return this.issueInvalidType(e,[t])}issueRequiredKey(e,t){return this.issue(new a.IssueRequiredKey(this.path,e,t))}issueInvalidFormat(e,t,n){return this.issue(new a.IssueInvalidFormat(this.path,e,t,n))}issueTooBig(e,t,n,r){return this.issue(new a.IssueTooBig(this.path,e,n,t,r))}issueTooSmall(e,t,n,r){return this.issue(new a.IssueTooSmall(this.path,e,n,t,r))}issueInvalidPropertyValue(e,t,n){const r=e[t],i=this.concatPath(t);return this.issue(new a.IssueInvalidValue(i,r,n))}issueInvalidPropertyType(e,t,n){const r=e[t],i=this.concatPath(t);return this.issue(new a.IssueInvalidType(i,r,[n]))}}class s{constructor(e){this.validator=e,this.version=1,this.vendor="@atproto/lex-schema"}validate(e,t){return o.validate(e,this.validator,Object.assign({},t?.libraryOptions,{mode:"parse"}))}}class l{get"~standard"(){return(0,r.lazyProperty)(this,"~standard",new s(this))}assert(e,t){const n=this.safeValidate(e,t);if(!n.success)throw n.reason}check(e,t){this.assert(e,t)}cast(e,t){const n=this.safeValidate(e,t);if(n.success)return n.value;throw n.reason}matches(e,t){return this.safeValidate(e,t).success}ifMatches(e,t){return this.matches(e,t)?e:void 0}parse(e,t){const n=this.safeParse(e,t);if(n.success)return n.value;throw n.reason}safeParse(e,t){return o.validate(e,this,Object.assign({},t,{mode:"parse"}))}validate(e,t){const n=this.safeValidate(e,t);if(n.success)return n.value;throw n.reason}safeValidate(e,t){return o.validate(e,this,Object.assign({},t,{mode:"validate"}))}get $assert(){return(0,r.lazyProperty)(this,"$assert",this.assert.bind(this))}get $check(){return(0,r.lazyProperty)(this,"$check",this.check.bind(this))}get $cast(){return(0,r.lazyProperty)(this,"$cast",this.cast.bind(this))}get $matches(){return(0,r.lazyProperty)(this,"$matches",this.matches.bind(this))}get $ifMatches(){return(0,r.lazyProperty)(this,"$ifMatches",this.ifMatches.bind(this))}get $parse(){return(0,r.lazyProperty)(this,"$parse",this.parse.bind(this))}get $safeParse(){return(0,r.lazyProperty)(this,"$safeParse",this.safeParse.bind(this))}get $validate(){return(0,r.lazyProperty)(this,"$validate",this.validate.bind(this))}get $safeValidate(){return(0,r.lazyProperty)(this,"$safeValidate",this.safeValidate.bind(this))}}},82724(e,t,n){"use strict";n.r(t),n.d(t,{STRING_FORMATS:()=>_,asAtIdentifierString:()=>i.asAtIdentifierString,asAtUriString:()=>i.asAtUriString,asDatetimeString:()=>i.asDatetimeString,asStringFormat:()=>v,assertAtIdentifierString:()=>i.assertAtIdentifierString,assertAtUriString:()=>i.assertAtUriString,assertDatetimeString:()=>i.assertDatetimeString,assertStringFormat:()=>y,currentDatetimeString:()=>i.currentDatetimeString,ifAtIdentifierString:()=>i.ifAtIdentifierString,ifAtUriString:()=>i.ifAtUriString,ifDatetimeString:()=>i.ifDatetimeString,ifStringFormat:()=>b,isAtIdentifierString:()=>i.isAtIdentifierString,isAtUriString:()=>i.isAtUriString,isAtUriStringLenient:()=>a,isCidString:()=>
2o,isDatetimeString:()=>i.isDatetimeString,isDatetimeStringLenient:()=>i.isDatetimeStringLenient,isDidIdentifier:()=>i.isDidIdentifier,isDidString:()=>s,isHandleIdentifier:()=>i.isHandleIdentifier,isHandleString:()=>l,isLanguageString:()=>c,isLanguageStringLenient:()=>u,isNsidString:()=>d,isRecordKeyString:()=>p,isStringFormat:()=>g,isTidString:()=>f,isUriString:()=>h,toDatetimeString:()=>i.toDatetimeString});var r=n(71602),i=n(70633);function a(e){return(0,i.isAtUriString)(e,{strict:!1})}const o=e=>"string"===typeof e&&(0,r.validateCidString)(e),s=i.isValidDid,l=i.isValidHandle,c=e=>"string"===typeof e&&null!==(0,i.parseLanguageString)(e),u=i.isValidLanguage,d=i.isValidNsid,p=i.isValidRecordKey,f=i.isValidTid,h=i.isValidUri,m=Object.freeze({__proto__:null,"at-identifier":[i.isAtIdentifierString],"at-uri":[i.isAtUriString,a],cid:[o],datetime:[i.isDatetimeString,i.isDatetimeStringLenient],did:[s],handle:[l],language:[c,u],nsid:[d],"record-key":[p],tid:[f],uri:[h]});function g(e,t,n){const r=m[t];if(!r)throw new TypeError(`Unknown string format: ${t}`);return(!1===n?.strict&&r.length>1?r[1]:r[0])(e)}function y(e,t,n){if(!g(e,t,n))throw new TypeError(`Invalid string format (${t}): ${e}`)}function v(e,t,n){return y(e,t,n),e}function b(e,t,n){return g(e,t,n)?e:void 0}const _=Object.freeze(Object.keys(m))},3543(e,t,n){"use strict";n.r(t),n.d(t,{LexValidationError:()=>o});var r=n(87708);function i(e,t,n){if(0===e.length)return[];const r=[[e[0]]],i=Array(e.length);e:for(let a=1;a<e.length;a++){if(i[a])continue;const n=e[a];for(let e=0;e<r.length;e++)if(t(n,r[e][0])){r[e].push(n),i[a]=!0;continue e}r.push([n])}return r.map(n)}var a=n(5306);class o extends r.LexError{constructor(e,t){const n=function(e){return e.length<=1||2===e.length&&e[0].code!==e[1].code?e:[...i(e.filter(e=>e instanceof a.IssueInvalidType),(e,t)=>s(e.path,t.path),e=>new a.IssueInvalidType(e[0].path,e[0].input,Array.from(new Set(e.flatMap(e=>e.expected))))),...i(e.filter(e=>e instanceof a.IssueInvalidValue),(e,t)=>s(e.path,t.path),e=>new a.IssueInvalidValue(e[0].path,e[0].input,Array.from(new Set(e.flatMap(e=>e.values))))),...e.filter(e=>!(e instanceof a.IssueInvalidType)&&!(e instanceof a.IssueInvalidValue))]}(e);super("InvalidRequest",n.join(", "),t),this.name="LexValidationError",this.success=!1,this.issues=n}get reason(){return this}toJSON(){return Object.assign({},super.toJSON(),{issues:this.issues.map(e=>e.toJSON())})}}function s(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}},5306(e,t,n){"use strict";n.r(t),n.d(t,{Issue:()=>o,IssueCustom:()=>s,IssueInvalidFormat:()=>l,IssueInvalidType:()=>c,IssueInvalidValue:()=>u,IssueRequiredKey:()=>d,IssueTooBig:()=>p,IssueTooSmall:()=>f});var r=n(67083),i=n(71602),a=n(44567);class o{constructor(e,t,n){this.code=e,this.path=t,this.input=n}toString(){return`${this.message}${e=this.path,` at ${function(e){return`$${e.map(m).join("")}`}(e)}`}`;var e}toJSON(){return{code:this.code,path:this.path,message:this.message}}}class s extends o{constructor(e,t,n){super("custom",e,t),this.path=e,this.input=t,this.message=n}}class l extends o{constructor(e,t,n,r){super("invalid_format",e,t),this.format=n,this.detail=r}get message(){return`Invalid ${this.formatDescription}${this.detail?` (${this.detail}, `:" ("}got ${y(this.input)})`}get formatDescription(){switch(this.format){case"at-identifier":return"AT identifier";case"did":return"DID";case"nsid":return"NSID";case"cid":return"CID string";case"tid":return"TID string";case"record-key":return"record key";default:return this.format}}toJSON(){return Object.assign({},super.toJSON(),{format:this.format})}}class c extends o{constructor(e,t,n){super("invalid_type",e,t),this.expected=n}get message(){return`Expected ${g(this.expected.map(h))} value type (got ${y(this.input)})`}toJSON(){return Object.assign({},super.toJSON(),{expected:this.expected})}}class u extends o{constructor(e,t,n){super("invalid_value",e,t),this.values=n}get message(){return`Expected ${g(this.values.map(y))} (got ${y(this.input)})`}toJSON(){return Object.assign({},super.toJSON(),{values:this.values})}}class d extends o{constructor(e,t,n){super("required_key",e,t),this.key=n}get message(){return`Missing required key "${String(this.key)}"`}toJSON(){return Object.assign({},super.toJSON(),{key:this.key})}}class p extends o{constructor(e,t,n,r,i){super("too_big",e,t),this.maximum=n,this.type=r,this.actual=i}get message(){return`${this.type} too big (maximum ${this.maximum}, got ${this.actual})`}toJSON(){return Object.assign({}
2,super.toJSON(),{type:this.type,maximum:this.maximum})}}class f extends o{constructor(e,t,n,r,i){super("too_small",e,t),this.minimum=n,this.type=r,this.actual=i}get message(){return`${this.type} too small (minimum ${this.minimum}, got ${this.actual})`}toJSON(){return Object.assign({},super.toJSON(),{type:this.type,minimum:this.minimum})}}function h(e){return"$typed"===e?'an object which includes the "$type" property':e}function m(e){return"number"===typeof e||"symbol"===typeof e?`[${String(e)}]`:/^[a-zA-Z_$][a-zA-Z0-9_]*$/.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function g(e){return 0===e.length?"":1===e.length?e[0]:`one of ${e.slice(0,-1).join(", ")} or ${e.at(-1)}`}function y(e){switch(typeof e){case"bigint":return`${e}n`;case"number":case"boolean":return String(e);case"string":return JSON.stringify(e.length<256?e:`${e.slice(0,255)}\u2026`);case"object":return null===e?"null":Array.isArray(e)?`[${b(e,y)}]`:(0,a.isPlainObject)(e)?`{${b(Object.entries(e),v)}}`:(0,i.ifCid)(e)?"cid":(0,r.isLegacyBlobRef)(e)?"legacy-blob":e instanceof Date?"date":e instanceof RegExp?"regexp":e instanceof Map?"map":e instanceof Set?"set":"object";default:return typeof e}}function v([e,t]){return`${JSON.stringify(e)}: ...`}function b(e,t,n=2){return e.slice(0,n).map(t).join(", ")+(e.length>n?", ...":"")}},92063(e,t,n){"use strict";n.r(t),n.d(t,{atUri:()=>h,getMain:()=>u,lexErrorDataSchema:()=>d});var r=n(70633),i=n(82724),a=n(59064),o=n(63079);class s extends o.Schema{constructor(e,t){super(),this.pattern=e,this.message=t,this.type="regexp"}validateInContext(e,t){return"string"!==typeof e?t.issueUnexpectedType(e,"string"):this.pattern.test(e)?t.success(e):t.issueInvalidFormat(e,this.pattern.toString(),this.message)}}var l=n(34311),c=n(47622);function u(e){return"main"in e?e.main:e}const d=(0,a.object)({error:(p=/^[\w_-]+$/,f="Expected ASCII constant with no whitespace",new s(p,f)),message:(0,l.optional)((0,c.string)())});var p,f;function h(e,t,n){switch(typeof t){case"undefined":return(0,r.assertAtIdentifierString)(e),`at://${e}`;case"string":if(!n)throw new TypeError("Record key is required when record is a string");return(0,r.assertAtIdentifierString)(e),(0,i.assertStringFormat)(t,"nsid"),(0,i.assertStringFormat)(n,"record-key"),`at://${e}/${t}/${n}`;default:{(0,r.assertAtIdentifierString)(e);const i=u(t);return`at://${e}/${i.$type}/${i.keySchema.parse(n)}`}}}},42658(e,t,n){"use strict";n.r(t),n.d(t,{ArraySchema:()=>a,array:()=>o});var r=n(63079),i=n(64852);class a extends r.Schema{constructor(e,t={}){super(),this.validator=e,this.options=t,this.type="array"}validateInContext(e,t){if(!Array.isArray(e))return t.issueUnexpectedType(e,"array");const{minLength:n,maxLength:r}=this.options;if(null!=n&&e.length<n)return t.issueTooSmall(e,"array",n,e.length);if(null!=r&&e.length>r)return t.issueTooBig(e,"array",r,e.length);let i;for(let a=0;a<e.length;a++){const n=t.validateChild(e,a,this.validator);if(!n.success)return n;if(n.value!==e[a]){if("validate"===t.options.mode)return t.issueInvalidPropertyValue(e,a,[n.value]);i??=Array.from(e),i[a]=n.value}}return t.success(i??e)}}const o=(0,i.memoizedTransformer)(function(e,t){return new a(e,t)})},43948(e,t,n){"use strict";n.r(t),n.d(t,{BlobSchema:()=>o,blob:()=>c,isBlobRef:()=>r.isBlobRef,isLegacyBlobRef:()=>r.isLegacyBlobRef,isTypedBlobRef:()=>r.isTypedBlobRef});var r=n(67083),i=n(63079),a=n(64852);class o extends i.Schema{constructor(e){super(),this.options=e,this.type="blob"}validateInContext(e,t){const n=s.call(t,e);if(!n)return t.issueUnexpectedType(e,"blob");if(t.options.strict&&null!=this.options){const{accept:e}=this.options;if(e&&!l(n.mimeType,e))return t.issueInvalidPropertyValue(n,"mimeType",e);const{maxSize:i}=this.options;if(null!=i){const e=(0,r.getBlobSize)(n);if(void 0===e)return t.issueInvalidPropertyType(n,"size","integer");if(e>i)return t.issueTooBig(n,"blob",i,e)}}return t.success(n)}matchesMime(e){const t=this.options?.accept;return!t||l(e,t)}}function s(e){return void 0!==e?.$type?(0,r.isTypedBlobRef)(e,this.options)?e:null:!this.options.strict&&(0,r.isLegacyBlobRef)(e,this.options)?e:null}function l(e,t){if(t.includes("*/*"))return!0;
2if(t.includes(e))return!0;for(const n of t)if(n.endsWith("/*")&&e.startsWith(n.slice(0,-1)))return!0;return!1}const c=(0,a.memoizedOptions)(e=>new o(e))},43511(e,t,n){"use strict";n.r(t),n.d(t,{BooleanSchema:()=>a,boolean:()=>o});var r=n(63079),i=n(64852);class a extends r.Schema{constructor(){super(...arguments),this.type="boolean"}validateInContext(e,t){return"boolean"===typeof e?t.success(e):t.issueUnexpectedType(e,"boolean")}}const o=(0,i.memoizedOptions)(()=>new a)},62084(e,t,n){"use strict";n.r(t),n.d(t,{BytesSchema:()=>o,bytes:()=>s});var r=n(49747),i=n(63079),a=n(64852);class o extends i.Schema{constructor(e={}){super(),this.options=e,this.type="bytes"}validateInContext(e,t){const n="parse"===t.options.mode?(0,r.asUint8Array)(e):(0,r.ifUint8Array)(e);if(!n)return t.issueUnexpectedType(e,"bytes");const{minLength:i}=this.options;if(null!=i&&n.length<i)return t.issueTooSmall(n,"bytes",i,n.length);const{maxLength:a}=this.options;return null!=a&&n.length>a?t.issueTooBig(n,"bytes",a,n.length):t.success(n)}}const s=(0,a.memoizedOptions)(e=>new o(e))},99623(e,t,n){"use strict";n.r(t),n.d(t,{CidSchema:()=>o,cid:()=>s});var r=n(71602),i=n(63079),a=n(64852);class o extends i.Schema{constructor(e){super(),this.options=e,this.type="cid"}validateInContext(e,t){return(0,r.isCid)(e,this.options)?t.success(e):t.issueUnexpectedType(e,"cid")}}const s=(0,a.memoizedOptions)(e=>new o(e))},34097(e,t,n){"use strict";n.r(t),n.d(t,{IntegerSchema:()=>a,integer:()=>o});var r=n(63079),i=n(64852);class a extends r.Schema{constructor(e){super(),this.options=e,this.type="integer"}validateInContext(e,t){return function(e){return Number.isSafeInteger(e)}(e)?null!=this.options?.minimum&&e<this.options.minimum?t.issueTooSmall(e,"integer",this.options.minimum,e):null!=this.options?.maximum&&e>this.options.maximum?t.issueTooBig(e,"integer",this.options.maximum,e):t.success(e):t.issueUnexpectedType(e,"integer")}}const o=(0,i.memoizedOptions)(e=>new a(e))},56006(e,t,n){"use strict";n.r(t),n.d(t,{LexMapSchema:()=>u,lexMap:()=>d,unknownObject:()=>p});var r=n(44567),i=n(63079),a=n(64852),o=n(77247);const s=Object.freeze(["null","boolean","integer","string","cid","bytes","array","object"]);class l extends i.Schema{constructor(){super(...arguments),this.type="lexValue"}validateInContext(e,t){if((0,r.isPlainObject)(e))for(const n of Object.keys(e)){const r=t.validateChild(e,n,this);if(!r.success)return r}else if(Array.isArray(e))for(let n=0;n<e.length;n++){const r=t.validateChild(e,n,this);if(!r.success)return r}else if(!(0,o.isLexScalar)(e))return t.issueInvalidType(e,s);return t.success(e)}}const c=(0,a.memoizedOptions)(()=>new l)();class u extends i.Schema{constructor(){super(...arguments),this.type="lexMap"}validateInContext(e,t){if(!(0,r.isPlainObject)(e))return t.issueUnexpectedType(e,"object");for(const n of Object.keys(e)){const r=t.validateChild(e,n,c);if(!r.success)return r}return t.success(e)}}const d=(0,a.memoizedOptions)(()=>new u),p=d},50528(e,t,n){"use strict";n.r(t),n.d(t,{LiteralSchema:()=>i,literal:()=>a});var r=n(63079);class i extends r.Schema{constructor(e){super(),this.value=e,this.type="literal"}validateInContext(e,t){return e!==this.value?t.issueInvalidValue(e,[this.value]):t.success(this.value)}}function a(e){return new i(e)}},19314(e,t,n){"use strict";n.r(t),n.d(t,{NullableSchema:()=>a,nullable:()=>o});var r=n(63079),i=n(64852);class a extends r.Schema{constructor(e){super(),this.validator=e,this.type="nullable"}validateInContext(e,t){return null===e?t.success(null):t.validate(e,this.validator)}}const o=(0,i.memoizedTransformer)(e=>new a(e))},59064(e,t,n){"use strict";n.r(t),n.d(t,{ObjectSchema:()=>o,object:()=>s});var r=n(44567),i=n(63079),a=n(66028);class o extends i.Schema{constructor(e){super(),this.shape=e,this.type="object"}get validatorsMap(){const e=new Map(Object.entries(this.shape));return(0,a.lazyProperty)(this,"validatorsMap",e)}validateInContext(e,t){if(!(0,r.isPlainObject)(e))return t.issueUnexpectedType(e,"object");let n;for(const[r,i]of this.validatorsMap){const a=t.validateChild(e,r,i);if(!a.success)return r in e?a:t.issueRequiredKey(e,r);if((void 0!==a.value||r in e)&&!Object.is(a.value,e[r])){if("validate"===t.options.mode)return t.issueInvalidPropertyValue(e,r,[a.value]);n??=Object.assign({},e),n[r]=a.value}}return t.success(n??e)}}function s(e){return new o(e)}},34311(e,t,n){"use strict";n.r(t),n.d(t,{OptionalSchema:()=>a,optional:()=>o});var r=n(63079),i=n(64852);class a extends r.Schema{constructor(e){super(),this.validator=e,this.type="optional"}validateInContext(e,t){if(void 0===e&&"validate"===t.options.mode)return t.success(e);const n=t.validate(e,this.validator);return n.success?n:void 0===e?t.success(e):n}}const o=(0,i.memoizedTransformer)(e=>new a(e))},60878(e,t,n){"use strict";n.r(t),n.d(t,{ParamsSchema:()=>C,paramSchema:()=>w,params:()=>T,paramsSchema:()=>k});
2var r=n(44567),i=n(63079),a=n(5306),o=n(3543),s=n(66028),l=n(64852),c=n(42658),u=n(43511);class d extends i.Schema{constructor(e,t){super(),this.keySchema=e,this.valueSchema=t,this.type="dict"}validateInContext(e,t,n){if(!(0,r.isPlainObject)(e))return t.issueUnexpectedType(e,"dict");let i;for(const r in e){if(n?.ignoredKeys?.has(r))continue;const a=t.validate(r,this.keySchema);if(!a.success)return a;if(a.value!==r)return t.issueRequiredKey(e,r);const o=t.validateChild(e,r,this.valueSchema);if(!o.success)return o;if(!Object.is(o.value,e[r])){if("validate"===t.options.mode)return t.issueInvalidPropertyValue(e,r,[o.value]);i??=Object.assign({},e),i[r]=o.value}}return t.success(i??e)}}class p extends i.Schema{constructor(e){super(),this.values=e,this.type="enum"}validateInContext(e,t){return this.values.includes(e)?t.success(e):t.issueInvalidValue(e,this.values)}}var f=n(34097),h=n(50528),m=n(34311),g=n(47622);class y extends i.Schema{constructor(e){super(),this.validators=e,this.type="union"}validateInContext(e,t){const n=[];for(const r of this.validators){const i=t.validate(e,r);if(i.success)return i;n.push(...i.issues)}return new o.LexValidationError(n)}}function v(e){return new y(e)}var b=n(34795);const _=v([(0,u.boolean)(),(0,f.integer)(),(0,g.string)()]),w=v([_,(0,c.array)((0,u.boolean)()),(0,c.array)((0,f.integer)()),(0,c.array)((0,g.string)())]),k=(S=(0,g.string)(),x=(0,m.optional)(w),new d(S,x));var S,x;class C extends i.Schema{constructor(e){super(),this.shape=e,this.type="params"}get shapeValidators(){const e=new Map(Object.entries(this.shape));return(0,s.lazyProperty)(this,"shapeValidators",e)}validateInContext(e,t){if(!(0,r.isPlainObject)(e))return t.issueUnexpectedType(e,"object");let n;for(const r in e){if(this.shapeValidators.has(r))continue;const i=t.validateChild(e,r,w);if(!i.success)return i;if(i.value!==e[r]){if("validate"===t.options.mode)return t.issueInvalidPropertyValue(e,r,[i.value]);n??=Object.assign({},e),n[r]=i.value}}for(const[r,i]of this.shapeValidators){const a=t.validateChild(e,r,i);if(!a.success)return r in e?a:t.issueRequiredKey(e,r);if((void 0!==a.value||r in e)&&!Object.is(a.value,e[r])){if("validate"===t.options.mode)return t.issueInvalidPropertyValue(e,r,[a.value]);n??=Object.assign({},e),n[r]=a.value}}return t.success(n??e)}fromURLSearchParams(e,t){const n={},r="string"===typeof e?new URLSearchParams(e):e,i=r instanceof URLSearchParams?r.entries():r;for(const[a,o]of i){if(!o)continue;const e=this.shapeValidators.get(a),r=e?I(e):void 0,i=r instanceof c.ArraySchema,s=E(a,o,i?I(r.validator):r,t),l=n[a];void 0===l?n[a]=i?[s]:s:Array.isArray(l)?l.push(s):n[a]=[l,s]}return this.parse(n,t)}toURLSearchParams(e){const t=new URLSearchParams,n=this.parse(e);for(const[r,i]of Object.entries(n))if(Array.isArray(i))for(const e of i)t.append(r,String(e));else void 0!==i&&t.append(r,String(i));return t}}function E(e,t,n,r){let i;if(!n)return t;if(n instanceof g.StringSchema)return t;if(n instanceof f.IntegerSchema){if(/^-?\d+$/.test(t))return Number(t);i=new a.IssueInvalidType(A(e,r),t,["integer"])}else if(n instanceof u.BooleanSchema){if("true"===t)return!0;if("false"===t)return!1;i=new a.IssueInvalidType(A(e,r),t,["boolean"])}else if(n instanceof h.LiteralSchema){const{value:o}=n;if(String(o)===t)return o;i=new a.IssueInvalidValue(A(e,r),t,[o])}else{if(!(n instanceof p))throw new Error(`Unsupported schema type for param coercion: ${n}`);{const{values:o}=n;for(const e of o)if(String(e)===t)return e;i=new a.IssueInvalidValue(A(e,r),t,o)}}throw new o.LexValidationError([i])}function A(e,t){return t?.path?[...t.path,e]:[e]}const T=(0,l.memoizedOptions)((e={})=>new C(e));function I(e){for(;e instanceof m.OptionalSchema||e instanceof b.WithDefaultSchema;)return I(e.validator);return e}},40733(e,t,n){"use strict";n.r(t),n.d(t,{Payload:()=>i,jsonPayload:()=>o,payload:()=>a});var r=n(59064);class i{constructor(e,t){if(this.encoding=e,this.schema=t,void 0===e&&void 0!==t)throw new TypeError("schema cannot be defined when encoding is undefined")}matchesEncoding(e){const{encoding:t}=this;if(void 0===t)return!0;if(null==e)return!1;if("*/*"===t)return!0;const n=e?.split(";",1)[0].trim();return t.endsWith("/*")?n.startsWith(t.slice(0,-1)):!t.includes("*")&&t===n}}function a(e=void 0,t=void 0){return new i(e,t)}function o(e){return a("application/json",(0,r.object)(e))}},98954(e,t,n){"use strict";n.r(t),n.d(t,{Procedure:()=>r,procedure:()=>i});
2class r{constructor(e,t,n,r,i){this.nsid=e,this.parameters=t,this.input=n,this.output=r,this.errors=i,this.type="procedure"}}function i(e,t,n,i,a=void 0){return new r(e,t,n,i,a)}},70671(e,t,n){"use strict";n.r(t),n.d(t,{Query:()=>r,query:()=>i});class r{constructor(e,t,n,r){this.nsid=e,this.parameters=t,this.output=n,this.errors=r,this.type="query"}}function i(e,t,n,i=void 0){return new r(e,t,n,i)}},82925(e,t,n){"use strict";n.r(t),n.d(t,{RecordSchema:()=>c,record:()=>h});var r=n(74571),i=n(63079),a=n(66028),o=n(50528),s=n(47622),l=n(34795);class c extends i.Schema{constructor(e,t,n){super(),this.key=e,this.$type=t,this.schema=n,this.type="record",this.keySchema=function(e){if("any"===e)return u;if("tid"===e)return d;if("nsid"===e)return p;if(e.startsWith("literal:")){const t=e.slice(8);return"self"===t?f:(0,l.withDefault)((0,o.literal)(t),t)}throw new Error(`Unsupported record key type: ${e}`)}(e)}validateInContext(e,t){const n=t.validate(e,this.schema);return n.success&&n.value.$type!==this.$type?t.issueInvalidPropertyValue(n.value,"$type",[this.$type]):n}build(e){return(0,r.$typed)(e,this.$type)}isTypeOf(e){return e.$type===this.$type}get $build(){return(0,a.lazyProperty)(this,"$build",this.build.bind(this))}get $isTypeOf(){return(0,a.lazyProperty)(this,"$isTypeOf",this.isTypeOf.bind(this))}}const u=(0,s.string)({format:"record-key"}),d=(0,s.string)({format:"tid"}),p=(0,s.string)({format:"nsid"}),f=(0,l.withDefault)((0,o.literal)("self"),"self");function h(e,t,n){return new c(e,t,n)}},26738(e,t,n){"use strict";n.r(t),n.d(t,{RefSchema:()=>i,ref:()=>a});var r=n(63079);class i extends r.Schema{#i;constructor(e){super(),this.type="ref",this.#i=e}get validator(){return this.#i.call(null)}unwrap(){return this.validator}validateInContext(e,t){return t.validate(e,this.validator)}}function a(e){return new i(e)}},47622(e,t,n){"use strict";n.r(t),n.d(t,{StringSchema:()=>c,coerceToString:()=>u,string:()=>d});var r=n(71602),i=n(6),a=n(63079),o=n(82724),s=n(64852),l=n(55034);class c extends a.Schema{constructor(e){super(),this.type="string",this.options=e}validateInContext(e,t){const n=u(e);if(null==n)return t.issueUnexpectedType(e,"string");let r;const a=this.options.minLength;if(null!=a&&(r??=(0,i.utf8Len)(n))<a)return t.issueTooSmall(n,"string",a,r);const s=this.options.maxLength;if(null!=s)if(3*n.length<=s);else if((r??=(0,i.utf8Len)(n))>s)return t.issueTooBig(n,"string",s,r);let l;const c=this.options.minGraphemes;if(null!=c){if(n.length<c)return t.issueTooSmall(n,"grapheme",c,n.length);if((l??=(0,i.graphemeLen)(n))<c)return t.issueTooSmall(n,"grapheme",c,l)}const d=this.options.maxGraphemes;if(null!=d)if(n.length<=d);else if((l??=(0,i.graphemeLen)(n))>d)return t.issueTooBig(n,"grapheme",d,l);const p=this.options.format;return null==p||(0,o.isStringFormat)(n,p,t.options)?t.success(n):t.issueInvalidFormat(n,p)}}function u(e){switch(typeof e){case"string":return e;case"object":{if(null==e)return null;if(e instanceof l.TokenSchema)return e.toString();if(e instanceof Date)return Number.isNaN(e.getTime())?null:e.toISOString();if(e instanceof URL)return e.toString();const t=(0,r.ifCid)(e);if(t)return t.toString();if(e instanceof String)return e.valueOf()}default:return null}}const d=(0,s.memoizedOptions)((e={})=>new c(e))},72102(e,t,n){"use strict";n.r(t),n.d(t,{Subscription:()=>r,subscription:()=>i});class r{constructor(e,t,n,r){this.nsid=e,this.parameters=t,this.message=n,this.errors=r,this.type="subscription"}}function i(e,t,n,i=void 0){return new r(e,t,n,i)}},55034(e,t,n){"use strict";n.r(t),n.d(t,{TokenSchema:()=>a,token:()=>o});var r=n(74571),i=n(63079);class a extends i.Schema{constructor(e){super(),this.value=e,this.type="token"}get $token(){return this.value}validateInContext(e,t){return e===this.value||"parse"===t.options.mode&&e instanceof a&&e.value===this.value?t.success(this.value):"string"!==typeof e?t.issueUnexpectedType(e,"token"):t.issueInvalidValue(e,[this.value])}toJSON(){return this.value}toString(){return this.value}}function o(e,t="main"){return new a((0,r.$type)(e,t))}},10611(e,t,n){"use strict";n.r(t),n.d(t,{TypedObjectSchema:()=>s,typedObject:()=>l});
2var r=n(44567),i=n(74571),a=n(63079),o=n(66028);class s extends a.Schema{constructor(e,t){super(),this.$type=e,this.schema=t,this.type="typedObject"}validateInContext(e,t){return(0,r.isPlainObject)(e)?"$type"in e&&void 0!==e.$type&&e.$type!==this.$type?t.issueInvalidPropertyValue(e,"$type",[this.$type]):t.validate(e,this.schema):t.issueUnexpectedType(e,"object")}build(e){return(0,i.$typed)(e,this.$type)}isTypeOf(e){return void 0===e.$type||e.$type===this.$type}get $build(){return(0,o.lazyProperty)(this,"$build",this.build.bind(this))}get $isTypeOf(){return(0,o.lazyProperty)(this,"$isTypeOf",this.isTypeOf.bind(this))}}function l(e,t,n){return new s((0,i.$type)(e,t),n)}},23695(e,t,n){"use strict";n.r(t),n.d(t,{TypedRefSchema:()=>i,typedRef:()=>a});var r=n(63079);class i extends r.Schema{#i;constructor(e){super(),this.type="typedRef",this.#i=e}get validator(){return this.#i.call(null)}get $type(){return this.validator.$type}validateInContext(e,t){const n=t.validate(e,this.validator);return n.success&&n.value.$type!==this.$type?t.issueInvalidPropertyValue(n.value,"$type",[this.$type]):n}}function a(e){return new i(e)}},63457(e,t,n){"use strict";n.r(t),n.d(t,{TypedUnionSchema:()=>o,typedUnion:()=>s});var r=n(44567),i=n(63079),a=n(66028);class o extends i.Schema{constructor(e,t){super(),this.validators=e,this.closed=t,this.type="typedUnion"}get validatorsMap(){const e=new Map;for(const t of this.validators)e.set(t.$type,t);return(0,a.lazyProperty)(this,"validatorsMap",e)}get $types(){return Array.from(this.validatorsMap.keys())}validateInContext(e,t){if(!(0,r.isPlainObject)(e)||!("$type"in e))return t.issueUnexpectedType(e,"$typed");const{$type:n}=e,i=this.validatorsMap.get(n);return i?t.validate(e,i):this.closed?t.issueInvalidPropertyValue(e,"$type",this.$types):"string"!==typeof n?t.issueInvalidPropertyType(e,"$type","string"):t.success(e)}}function s(e,t){return new o(e,t)}},34795(e,t,n){"use strict";n.r(t),n.d(t,{WithDefaultSchema:()=>i,withDefault:()=>a});var r=n(63079);class i extends r.Schema{constructor(e,t){super(),this.validator=e,this.defaultValue=t,this.type="withDefault"}validateInContext(e,t){return void 0===e&&"validate"!==t.options.mode?t.validate(this.defaultValue,this.validator):t.validate(e,this.validator)}}function a(e,t){return new i(e,t)}},66028(e,t,n){"use strict";function r(e,t,n){return Object.defineProperty(e,t,{value:n,writable:!1,enumerable:!1,configurable:!0}),n}n.r(t),n.d(t,{lazyProperty:()=>r})},64852(e,t,n){"use strict";function r(e){let t=null;return function(...n){if(n.length>0)return e(...n);if(null!=t)return t.value;const r=e(...n);return t={value:r},r}}function i(e){let t;return function(n,...r){if(r.length>0)return e(n,...r);t??=new WeakMap;const i=t.get(n);if(i)return i;const a=e(n,...r);return t.set(n,a),a}}n.r(t),n.d(t,{memoizedOptions:()=>r,memoizedTransformer:()=>i})},47640(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>c,useAsyncStorage:()=>l});const r=n(32465).bind({concatArrays:!0,ignoreUndefined:!0});function i(e,t){return new Promise((n,r)=>{try{const r=e();t?.(null,r),n(r)}catch(i){t?.(i),r(i)}})}function a(e,t,n){return Promise.all(e).then(e=>{const r=n?.(e)??null;return t?.(null,r),Promise.resolve(r)},e=>(t?.(e),Promise.reject(e)))}const o={getItem:(e,t)=>i(()=>window.localStorage.getItem(e),t),setItem:(e,t,n)=>i(()=>window.localStorage.setItem(e,t),n),removeItem:(e,t)=>i(()=>window.localStorage.removeItem(e),t),mergeItem:(e,t,n)=>i(()=>function(e,t){const n=window.localStorage.getItem(e);if(n){const i=JSON.parse(n),a=JSON.parse(t),o=JSON.stringify(r(i,a));window.localStorage.setItem(e,o)}else window.localStorage.setItem(e,t)}(e,t),n),clear:e=>i(()=>window.localStorage.clear(),e),getAllKeys:e=>i(()=>{const e=window.localStorage.length,t=[];for(let n=0;n<e;n+=1){const e=window.localStorage.key(n)||"";t.push(e)}return t},e),flushGetRequests:()=>{},multiGet:(e,t)=>a(e.map(e=>o.getItem(e)),t,t=>t.map((t,n)=>[e[n],t])),multiSet:(e,t)=>a(e.map(e=>o.setItem(e[0],e[1])),t),multiRemove:(e,t)=>a(e.map(e=>o.removeItem(e)),t),multiMerge:(e,t)=>a(e.map(e=>o.mergeItem(e[0],e[1])),t)},s=o;function l(e){return{getItem:(...t)=>s.getItem(e,...t),setItem:(...t)=>s.setItem(e,...t),mergeItem:(...t)=>s.mergeItem(e,...t),removeItem:(...t)=>s.removeItem(e,...t)}}const c=o},75460(t,n,r){"use strict";r.r(n),r.d(n,{BottomTabBar:()=>M,BottomTabBarHeightCallbackContext:()=>w,BottomTabBarHeightContext:()=>k,BottomTabView:()=>X,SceneStyleInterpolators:()=>i,TransitionPresets:()=>o,TransitionSpecs:()=>a,createBottomTabNavigator:()=>$,useBottomTabBarHeight:()=>K});var i={};r.r(i),r.d(i,{forFade:()=>s,forShift:()=>l});var a={};r.r(a),r.d(a,{FadeSpec:()=>u,ShiftSpec:()=>d});var o={};function s({current:e}){return{sceneStyle:{opacity:e.progress.interpolate({inputRange:[-1,0,1],outputRange:[0,1,0]})}}}function l({current:e}){return{sceneStyle:{opacity:e.progress.interpolate({inputRange:[-1,0,1],outputRange:[0,1,0]}),transform:[{translateX:e.progress.interpolate({inputRange:[-1,0,1],outputRange:[-50,0,50]})}]}}}r.r(o),r.d(o,{FadeTransition:()=>p,ShiftTransition:()=>f});var c=r(95620);const u={animation:"timing",config:{duration:150,easing:c.default.in(c.default.linear)}},d={animation:"timing",config:{duration:150,easing:c.default.inOut(c.default.ease)}},p={transitionSpec:u,sceneStyleInterpolator:s},f={transitionSpec:d,sceneStyleInterpolator:l};var h=r(98587),m=r(67169),g=r(12695),y=r(36665),v=r(15009),b=r(75675),_=r(78833);const w=y.createContext(void 0),k=y.createContext(void 0);var S=r(73929),x=r(92365);var C=r(39809),E=r(60397);function A({route:e,variant:t,size:n,badge:r,badgeStyle:i,activeOpacity:a,inactiveOpacity:o,activeTintColor:s,inactiveTintColor:l,renderIcon:c,allowFontScaling:u,style:d}){const p="material"===t?24:"compact"===n?18:25;return(0,E.jsxs)(S.default,{style:["material"===t?T.wrapperMaterial:"compact"===n?T.wrapperUikitCompact:T.wrapperUikit,d],children:[(0,E.jsx)(S.default,{style:[T.icon,{opacity:a,minWidth:p}],children:c({focused:!0,size:p,color:s})}),(0,E.jsx)(S.default,{style:[T.icon,{opacity:o}],children:c({focused:!1,size:p,color:l})}),(0,E.jsx)(g.Badge,{visible:null!=r,size:.75*p,allowFontScaling:u,style:[T.badge,i],children:r})]})}const T=b.default.create({icon:{position:"absolute",alignSelf:"center",alignItems:"center",justifyContent:"center",height:"100%",width:"100%"},wrapperUikit:{width:31,height:28},wrapperUikitCompact:{width:23,height:20},wrapperMaterial:{width:24,height:24},badge:{position:"absolute",end:-3,top:-3}}),I=e=>(0,E.jsx)(g.PlatformPressable,Object.assign({},e));function R({route:e,href:t,focused:n,descriptor:r,label:i,icon:a,badge:o,badgeStyle:s,button:l=I,accessibilityLabel:c,testID:u,onPress:d,onLongPress:p,horizontal:f,compact:h,sidebar:v,variant:_,activeTintColor:w,inactiveTintColor:k,activeBackgroun
2dColor:x,inactiveBackgroundColor:T="transparent",showLabel:R=!0,labelVisibilityMode:D,allowFontScaling:N,labelStyle:j,iconStyle:F,style:M}){const{colors:V,fonts:P}=(0,m.useTheme)(),L=w??("uikit"===_&&v&&f?C(V.primary).isDark()?"white":C(V.primary).darken(.71).string():V.primary),B=void 0===k?"material"===_?C(V.text).alpha(.68).rgb().string():C(V.text).mix(C(V.card),.5).hex():k,H=x??("material"===_?C(L).alpha(.12).rgb().string():v&&f?V.primary:"transparent"),{options:W}=r,z=(0,g.getLabel)({label:"string"===typeof W.tabBarLabel?W.tabBarLabel:void 0,title:W.title},e.name);let Y=B,U=B;"uikit"===_&&v&&f&&void 0===k&&(U=V.primary,Y=V.text);const X={route:e,focused:n},G=n?H:T,{flex:q}=b.default.flatten(M||{}),J="material"===_?f?56:16:v&&f?10:0;return(0,E.jsx)(S.default,{style:[{borderRadius:J,overflow:"material"===_?"hidden":"visible"},M],children:l({href:t,onPress:d,onLongPress:p,testID:u,"aria-label":c,accessibilityLargeContentTitle:z,accessibilityShowsLargeContentViewer:!0,role:"tab","aria-selected":n,android_ripple:{borderless:!0},hoverEffect:"material"===_||v&&f?{color:V.text}:void 0,pressOpacity:1,style:[O.tab,{flex:q,backgroundColor:G,borderRadius:J},v?"material"===_?f?O.tabBarSidebarMaterial:O.tabVerticalMaterial:f?O.tabBarSidebarUiKit:O.tabVerticalUiKit:"material"===_?O.tabVerticalMaterial:f?O.tabHorizontalUiKit:O.tabVerticalUiKit],children:(0,E.jsxs)(y.Fragment,{children:[(({focused:t})=>{if(void 0===a)return null;const n=t?1:0,r=t?0:1;return(0,E.jsx)(A,{route:e,variant:_,size:h?"compact":"regular",badge:o,badgeStyle:s,activeOpacity:n,allowFontScaling:N,inactiveOpacity:r,activeTintColor:L,inactiveTintColor:U,renderIcon:a,style:F})})(X),(({focused:e})=>{if("unlabeled"===D||void 0===D&&!1===R)return null;const t=e?L:Y;return"string"!==typeof i?i({focused:e,color:t,position:f?"beside-icon":"below-icon",children:z}):(0,E.jsx)(g.Label,{style:[f?[O.labelBeside,"material"===_?O.labelSidebarMaterial:v?O.labelSidebarUiKit:h?O.labelBesideUikitCompact:O.labelBesideUikit,null==a&&{marginStart:0}]:O.labelBeneath,h||"uikit"===_&&v&&f?P.regular:P.medium,j],allowFontScaling:N,tintColor:t,children:i})})(X)]})})})}const O=b.default.create({tab:{alignItems:"center",borderRadius:10,borderCurve:"continuous"},tabVerticalUiKit:{justifyContent:"flex-start",flexDirection:"column",padding:5},tabVerticalMaterial:{padding:10},tabHorizontalUiKit:{justifyContent:"center",alignItems:"center",flexDirection:"row",padding:5},tabBarSidebarUiKit:{justifyContent:"flex-start",alignItems:"center",flexDirection:"row",paddingVertical:7,paddingHorizontal:5},tabBarSidebarMaterial:{justifyContent:"flex-start",alignItems:"center",flexDirection:"row",paddingVertical:15,paddingStart:16,paddingEnd:24},labelSidebarMaterial:{marginStart:12},labelSidebarUiKit:{fontSize:17,marginStart:10},labelBeneath:{fontSize:10},labelBeside:{marginEnd:12,lineHeight:24},labelBesideUikit:{fontSize:13,marginStart:5},labelBesideUikitCompact:{fontSize:12,marginStart:5}}),D=!1,N=({state:e,descriptors:t,dimensions:n})=>{const{tabBarLabelPosition:r}=t[e.routes[e.index].key].options;if(r)switch(r){case"beside-icon":return!0;case"below-icon":return!1}if(n.width>=768){return e.routes.reduce((e,n)=>{const{tabBarItemStyle:r}=t[n.key].options,i=b.default.flatten(r);if(i){if("number"===typeof i.width)return e+i.width;if("number"===typeof i.maxWidth)return e+i.maxWidth}return e+125},0)<=n.width}return n.width>n.height},j=({state:e,descriptors:t,dimensions:n})=>{const{tabBarPosition:r,tabBarVariant:i}=t[e.routes[e.index].key].options;if("left"===r||"right"===r||"material"===i)return!1;n.width,n.height,N({state:e,descriptors:t,dimensions:n});return!1},F=({state:e,descriptors:t,dimensions:n,insets:r,style:i})=>{const{tabBarPosition:a}=t[e.routes[e.index].key].options,o=b.default.flatten(i),s=o&&"height"in o?o.height:void 0;if("number"===typeof s)return s;const l=r["top"===a?"top":"bottom"];return j({state:e,descriptors:t,dimensions:n})?32+l:49+l};function M({state:e,navigation:t,descriptors:n,insets:r,style:i}){const{colors:a}=(0,m.useTheme)(),{direction:o}=(0,m.useLocale)(),{buildHref:s}=(0,m.useLinkBuilder)(),l=e.routes[e.index],c=n[l.key].options,{tabBarPosition:u="bottom",tabBarShowLabel:d,tabBarLabelVisibilityMode:p,tabBarLabelPosition:f,tabBarHideOnKeyboard:h=!1,tabBarVisibilityAnimationConfig:_,tabBarVariant:k="uikit",tabBarStyle:C,tabBarBackgroun
2d:A,tabBarActiveTintColor:T,tabBarInactiveTintColor:I,tabBarActiveBackgroundColor:O,tabBarInactiveBackgroundColor:M}=c;if("material"===k&&"left"!==u&&"right"!==u)throw new Error("The 'material' variant for tab bar is only supported when 'tabBarPosition' is set to 'left' or 'right'.");if("below-icon"===f&&"uikit"===k&&("left"===u||"right"===u))throw new Error("The 'below-icon' label position for tab bar is only supported when 'tabBarPosition' is set to 'top' or 'bottom' when using the 'uikit' variant.");const P=function(){const[e,t]=y.useState(!1);return y.useEffect(()=>{const e=()=>t(!0),n=()=>t(!1);let r;return r=[x.default.addListener("keyboardDidShow",e),x.default.addListener("keyboardDidHide",n)],()=>{r.forEach(e=>e.remove())}},[]),e}(),L=y.useContext(w),B=!(h&&P),H=y.useRef(_);y.useEffect(()=>{H.current=_});const[W,z]=y.useState(!B),[Y]=y.useState(()=>new v.default.Value(B?1:0));y.useEffect(()=>{const e=H.current;if(B){("spring"===e?.show?.animation?v.default.spring:v.default.timing)(Y,Object.assign({toValue:1,useNativeDriver:D,duration:250},e?.show?.config)).start(({finished:e})=>{e&&z(!1)})}else{z(!0);("spring"===e?.hide?.animation?v.default.spring:v.default.timing)(Y,Object.assign({toValue:0,useNativeDriver:D,duration:200},e?.hide?.config)).start()}return()=>Y.stopAnimation()},[Y,B]);const[U,X]=y.useState({height:0}),{routes:G}=e,q=(0,g.useFrameSize)(t=>F({state:e,descriptors:n,insets:r,dimensions:t,style:[C,i]})),J=(0,g.useFrameSize)(t=>N({state:e,descriptors:n,dimensions:t})),$=(0,g.useFrameSize)(t=>j({state:e,descriptors:n,dimensions:t})),K="left"===u||"right"===u,Z="material"===k?12:15,Q=(0,g.useFrameSize)(e=>K&&J?(0,g.getDefaultSidebarWidth)(e):0),ee=A?.();return(0,E.jsxs)(v.default.View,{style:["left"===u?V.start:"right"===u?V.end:V.bottom,"right"===u?{borderLeftWidth:b.default.hairlineWidth}:"left"===u?{borderRightWidth:b.default.hairlineWidth}:"top"===u?{borderBottomWidth:b.default.hairlineWidth}:{borderTopWidth:b.default.hairlineWidth},{backgroundColor:null!=ee?"transparent":a.card,borderColor:a.border},K?{paddingTop:(J?Z:Z/2)+r.top,paddingBottom:(J?Z:Z/2)+r.bottom,paddingStart:Z+("left"===u?r.left:0),paddingEnd:Z+("right"===u?r.right:0),minWidth:Q}:[{transform:[{translateY:Y.interpolate({inputRange:[0,1],outputRange:[U.height+r["top"===u?"top":"bottom"]+b.default.hairlineWidth,0]})}],position:W?"absolute":void 0},{height:q,paddingBottom:"bottom"===u?r.bottom:0,paddingTop:"top"===u?r.top:0,paddingHorizontal:Math.max(r.left,r.right)}],C],pointerEvents:W?"none":"auto",onLayout:K?void 0:e=>{const{height:t}=e.nativeEvent.layout;L?.(t),X(e=>t===e.height?e:{height:t})},children:[(0,E.jsx)(S.default,{pointerEvents:"none",style:b.default.absoluteFill,children:ee}),(0,E.jsx)(S.default,{role:"tablist",style:K?V.sideContent:V.bottomContent,children:G.map((r,i)=>{const a=i===e.index,{options:o}=n[r.key],l="function"===typeof o.tabBarLabel?o.tabBarLabel:(0,g.getLabel)({label:o.tabBarLabel,title:o.title},r.name),c=void 0!==o.tabBarAccessibilityLabel?o.tabBarAccessibilityLabel:void 0;return(0,E.jsx)(m.NavigationProvider,{route:r,navigation:n[r.key].navigation,children:(0,E.jsx)(R,{href:s(r.name,r.params),route:r,descriptor:n[r.key],focused:a,horizontal:J,compact:$,sidebar:K,variant:k,onPress:()=>{const n=t.emit({type:"tabPress",target:r.key,canPreventDefault:!0});a||n.defaultPrevented||t.dispatch(Object.assign({},m.CommonActions.navigate(r),{target:e.key}))},onLongPress:()=>{t.emit({type:"tabLongPress",target:r.key})},accessibilityLabel:c,testID:o.tabBarButtonTestID,allowFontScaling:o.tabBarAllowFontScaling,activeTintColor:T,inactiveTintColor:I,activeBackgroundColor:O,inactiveBackgroundColor:M,button:o.tabBarButton,icon:o.tabBarIcon??(({color:e,size:t})=>(0,E.jsx)(g.MissingIcon,{color:e,size:t})),badge:o.tabBarBadge,badgeStyle:o.tabBarBadgeStyle,label:l,showLabel:d,labelVisibilityMode:p,labelStyle:o.tabBarLabelStyle,iconStyle:o.tabBarIconStyle,style:[K?{marginVertical:J?"material"===k?0:1:Z/2}:V.bottomItem,o.tabBarItemStyle]})},r.key)})})]})}const V=b.default.create({start:{top:0,bottom:0,start:0},end:{top:0,bottom:0,end:0},bottom:{start:0,end:0,bottom:0,elevation:8},bottomContent:{flex:1,flexDirection:"row"},sideContent:{flex:1,flexDirection:"column"},bottomItem:{flex:1}}),P=["enabled"],L=["enabled","active"];let B;try{B=require("react-native-screens")}catch(e){}const H=e=>{let{enabled:t}=e,n=(0,h.default)(e,P);return B?.screensEnabled?.()?(0,E.jsx)(B.ScreenContainer,Object.assign({enabled:t},n)):(0,E.jsx)(S.default,Object.assign({},n))};function W(e){let{enabled:t,active:n}=e,r=(0,h.default)(e,L);return B?.screensEnabled?.()?(0,E.jsx)(B.Screen,Object.assign({enabled:t,activityState:n},r)):(0,E.jsx)(S.default,Object.assign({},r))}const z={fade:p,shift:f,none:{sceneStyleInterpolator:void 0,transitionSpec:{animation:"timing",config:{duration:0}}}},Y=e=>{const{animation:t,transitionSpec:n}=e;return t?"none"!==t:Boolean(n)},U=e=>(0,E.jsx)(M,Object.assign({},e));function X(e){const{tabBar:t=U,state:n,navigation:r,descriptors:i,safeAreaInsets:a,detachInactiveScreens:o=!0}=e,s=n.routes[n.index].key,[l,c]=y.useState([s]);l.includes(s)||c([...l,s]);const u=y.useRef(s),d=function({routes:e,index:t}){const n=y.useRef({}),r=n.current,i=Object.keys(r);return e.length===i.length&&e.every(e=>
2i.includes(e.key))?r:(n.current={},e.forEach(({key:e},i)=>{n.current[e]=r[e]??new v.default.Value(i===t?0:i>=t?1:-1)}),n.current)}(n);y.useEffect(()=>{const e=u.current;let t;if(e!==s&&i[e]?.options.popToTopOnBlur){const r=n.routes.find(t=>t.key===e);"stack"===r?.state?.type&&r.state.key&&(t=Object.assign({},m.StackActions.popToTop(),{target:r.state.key}))}e!==s&&r.emit({type:"transitionStart",target:s}),v.default.parallel(n.routes.map((t,r)=>{const{options:a}=i[t.key],{animation:o="none",transitionSpec:l=z[o].transitionSpec}=a;let c=l;t.key!==e&&t.key!==s&&(c=z.none.transitionSpec),c=c??z.none.transitionSpec;const u=r===n.index?0:r>=n.index?1:-1;return v.default[c.animation](d[t.key],Object.assign({},c.config,{toValue:u,useNativeDriver:!1}))}).filter(Boolean)).start(({finished:n})=>{n&&t&&r.dispatch(t),e!==s&&r.emit({type:"transitionEnd",target:s})}),u.current=s},[i,s,r,n.index,n.routes,d]);const p=g.SafeAreaProviderCompat.initialMetrics.frame,[f,h]=y.useState(()=>F({state:n,descriptors:i,dimensions:p,insets:Object.assign({},g.SafeAreaProviderCompat.initialMetrics.insets,e.safeAreaInsets),style:i[n.routes[n.index].key].options.tabBarStyle})),{routes:S}=n,x=!S.some(e=>Y(i[e.key].options)),{tabBarPosition:C="bottom"}=i[s].options,A=(0,E.jsx)(w.Provider,{value:h,children:(0,E.jsx)(_.SafeAreaInsetsContext.Consumer,{children:e=>t({state:n,descriptors:i,navigation:r,insets:{top:a?.top??e?.top??0,right:a?.right??e?.right??0,bottom:a?.bottom??e?.bottom??0,left:a?.left??e?.left??0}})})},"tabbar");return(0,E.jsxs)(g.SafeAreaProviderCompat,{style:{flexDirection:"left"===C||"right"===C?"row":"column"},children:["top"===C||"left"===C?A:null,(0,E.jsx)(H,{enabled:o,hasTwoStates:x,style:G.screens,children:S.map((e,t)=>{const r=i[e.key],{lazy:a=!0,animation:s="none",sceneStyleInterpolator:c=z[s].sceneStyleInterpolator}=r.options,u=n.index===t,h=n.preloadedRouteKeys.includes(e.key);if(a&&!l.includes(e.key)&&!u&&!h)return null;const{freezeOnBlur:m,header:y=({layout:t,options:n})=>(0,E.jsx)(g.Header,Object.assign({},n,{layout:t,title:(0,g.getHeaderTitle)(n,e.name)})),headerShown:v,headerStatusBarHeight:_,headerTransparent:w,sceneStyle:S}=r.options,{sceneStyle:x}=c?.({current:{progress:d[e.key]}})??{},A=Y(r.options),T=u?2:A?d[e.key].interpolate({inputRange:[0,.99999,1],outputRange:[1,1,0],extrapolate:"extend"}):0;return(0,E.jsx)(W,{style:[b.default.absoluteFill,{zIndex:u?0:-1}],active:T,enabled:o,freezeOnBlur:m,shouldFreeze:0===T&&!h,pointerEvents:u?"box-none":"none",children:(0,E.jsx)(k.Provider,{value:"bottom"===C?f:0,children:(0,E.jsx)(g.Screen,{focused:u,route:r.route,navigation:r.navigation,headerShown:v,headerStatusBarHeight:_,headerTransparent:w,header:y({layout:p,route:r.route,navigation:r.navigation,options:r.options}),style:[S,A&&x],children:r.render()})})},e.key)})},"screens"),"bottom"===C||"right"===C?A:null]})}const G=b.default.create({screens:{flex:1,overflow:"hidden"}}),q=["id","initialRouteName","backBehavior","UNSTABLE_routeNamesChangeBehavior","children","layout","screenListeners","screenOptions","screenLayout","UNSTABLE_router"];function J(e){let{id:t,initialRouteName:n,backBehavior:r,UNSTABLE_routeNamesChangeBehavior:i,children:a,layout:o,screenListeners:s,screenOptions:l,screenLayout:c,UNSTABLE_router:u}=e,d=(0,h.default)(e,q);const{state:p,descriptors:f,navigation:g,NavigationContent:y}=(0,m.useNavigationBuilder)(m.TabRouter,{id:t,initialRouteName:n,backBehavior:r,UNSTABLE_routeNamesChangeBehavior:i,children:a,layout:o,screenListeners:s,screenOptions:l,screenLayout:c,UNSTABLE_router:u});return(0,E.jsx)(y,{children:(0,E.jsx)(X,Object.assign({},d,{state:p,navigation:g,descriptors:f}))})}function $(e){return(0,m.createNavigatorFactory)(J)(e)}function K(){const e=y.useContext(k);if(void 0===e)throw new Error("Couldn't find the bottom tab bar height. Are you inside a screen in Bottom Tab Navigator?");return e}},12695(e,t,n){"use strict";n.r(t),n.d(t,{Assets:()=>ze,Background:()=>p,Badge:()=>y,Button:()=>N,Header:()=>_e,HeaderBackButton:()=>te,HeaderBackContext:()=>ke,HeaderBackground:()=>ae,HeaderButton:()=>q,HeaderHeightContext:()=>Se,HeaderShownContext:()=>me,HeaderTitle:()=>ye,Label:()=>Ae,Lazy:()=>Ie,MissingIcon:()=>Re,PlatformPressable:()=>S,ResourceSavingView:()=>Ne,SafeAreaProviderCompat:()=>Le,Screen:()=>He,Text:()=>R,getDefaultHeaderHeight:()=>P,getDefaultSidebarWidth:()=>V,getHeaderTitle:()=>L,getLabel:()=>Ce,useFrameSize:()=>U,useHeaderHeight:()=>xe});const r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAQAAABIkb+zAAAAlklEQVR4Ae3a1REDMRDG4A3VmHbcUFLigf0exn/mkxuQjmELAAAAAD5Eq5atP6+rZeuPhGz9kZCtPxKy9fs6Zuuf60CfPn369OnTp0+fPn369OnTfx36X1vh+nO6/pytL+D1BCexy+iNhFPt6/dIOEiQIEGCBAkSJEiQ8B0k+PwoQYKhP2OXAYOvRo+vD38bvwcAAACABXF8ILs1PQqpAAAAAElFTkSuQmCC",i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgBAMAAAAQtmoLAAAAFVBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAASAQCkAAAABnRSTlMANO8Qy7qrh7/eAAAA4ElEQVR4Xu3WvQ3CQAxHcRALoGxAQ00RJkBiASQGQPDffwSU+t3pFe4in9xFuV8+fLYPvTo69hv38wg4vmbA6XkZAcv3NgHWfAbE8ZrHDEgGxJJMiDXZCAKZEO9kIwgkv6GwBMQGYBtck11ICEBCARIEhCAgBAAjACgBwAgASgAwAoASAIwAoAQAIwAYAcAIAEYAEAKAEASccMBv8Ecqv7R/1vKP89QoJ5+nd/kA+REtFwEvM+VC5qWyXIy93JcbiresclP0tltt7D46VIcTH3+KA5aPcPUh0cfQjo6Ona4/2hPAtwOzeV0AAAAASUVORK5CYII=",a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAQAAABIkb+zAAADZ0lEQVR42u3bS0hUURzH8W+mzrKwpDJ6gb18VEJvo3da1CqoFrWICoIsWvROs1oELQpqUYsI2lRYFCFGVPR+U7QJalMU9NAMKzRC1NETSBDevwedOXPOnYnz+e0E/+f+7rlzZ+bC4Hme53melxz6pOKiw1hGHjmdGYziK7WdeUMNX0hqE6nkJUqbDl5QTgFJaTbPUL3MI2aSVPKpQcWYK4wjKUQ4SRQVR6IcJ4OQDeIJyiD3GUiIiviIMswHCgnJMn6jekgHqsf8opQQFKE//DpOsZIZjCCTCCOZwSpOU4/SpIkCHBvER80ZP8t0+gBSGsVUafbkPQNxKKJ56d5gEj2ZzG0UMvfIwJkTKJEW1tFbG2lFiRzFkTzkfb+eYmIxlwYxo5VcnKhGHv4oYjWa72LOBRyYhbx4ionHPNrELWAK1smX73ritUnMuoNlBWLJm5h4IOblYlW52PQiTEwXBbZh1YvAcucwdTkw8SEWDRXvozMxNT8wsZ1srNkobp9pmErnR2DqWqw5FljqNIlwNjD1MIbS0Mmhq1uYk1Ny3BX4RCJ8Dq9AHYlQS1dDbBWQo2stFLC6A8rCg0Oxns2BdQk8V/p9rTcu4GSz9VO+uiswnEQYFt4OLCIRSsSF
2aq3Aa/FkqC+mMllCV4+wZrD4MDcbUyXiiWl/LHoaWO4Spq4GJj7Gql2oQKZhYo6YV4lVY5HPl008E98GxmDZXVFhC/HaIWZVYd1UsWiUhcRjKe3iG3YhDlwUFX4wnlgV0ijmVONELm1i6Z8sivHsy8NvJh9HjqBEomyN4dpvR4lswZl0zSPyJ8yiJ3N5jkLmKk5l8Q7VbaopIQOQMlnMNc1/fSMbx/JoRGnSSBXrKaWQLAYwgVI2cJEmlDZtrCZChEwcWoCsYJ6DODSetyjD1NMaZoUsbqEMUkM2K8RfD+BQOodpQcWRZjb/naDCrQCjOEcHKoZ0cIV8EAVCqwBF3ET1KlHOU8A/fVHdZj/OjWQrd4miv1k+pILRBO0Ls4KUxRoOcYbrvKKBBl5zh/McZTn90KnQVKgk2fzPFco1Ffb5Cg7t1VSo8BUc2qOpUO4rOLRbU2Gvr+DQLk2FPb6CQzs1FXaneoUyUsiO1D58WaGMFLRdHH6KVigjhW2jzP8szPM8z/M8z0t2fwDen7r/jhTzQwAAAABJRU5ErkJggg==";var o=n(98587),s=n(67169),l=n(36665),c=n(15009),u=n(60397);const d=["style"];function p(e){let{style:t}=e,n=(0,o.default)(e,d);const{colors:r}=(0,s.useTheme)();return(0,u.jsx)(c.default.View,Object.assign({},n,{style:[{flex:1,backgroundColor:r.background},t]}))}var f=n(39809),h=n(75675);const m=["children","style","visible","size"],g=["backgroundColor"];function y(e){let{children:t,style:n,visible:r=!0,size:i=18}=e,a=(0,o.default)(e,m);const[d]=l.useState(()=>new c.default.Value(r?1:0)),[p,y]=l.useState(r),{colors:b,fonts:_}=(0,s.useTheme)();if(l.useEffect(()=>{if(p)return c.default.timing(d,{toValue:r?1:0,duration:150,useNativeDriver:false}).start(({finished:e})=>{e&&!r&&y(!1)}),()=>d.stopAnimation()},[d,p,r]),!p){if(!r)return null;y(!0)}const w=h.default.flatten(n)||{},{backgroundColor:k=b.notification}=w,S=(0,o.default)(w,g),x=f(k).isLight()?"black":"white",C=i/2,E=Math.floor(3*i/4);return(0,u.jsx)(c.default.Text,Object.assign({numberOfLines:1,style:[{transform:[{scale:d.interpolate({inputRange:[0,1],outputRange:[.5,1]})}],color:x,lineHeight:i-1,height:i,minWidth:i,opacity:d,backgroundColor:k,fontSize:E,borderRadius:C,borderCurve:"continuous"},_.regular,v.container,S]},a,{children:t}))}const v=h.default.create({container:{alignSelf:"flex-end",textAlign:"center",paddingHorizontal:4,overflow:"hidden"}});var b=n(95620),_=n(35708);const w=["disabled","onPress","onPressIn","onPressOut","android_ripple","pressColor","pressOpacity","hoverEffect","style","children"],k=c.default.createAnimatedComponent(_.default);const S=l.forwardRef(function(e,t){let{disabled:n,onPress:r,onPressIn:i,onPressOut:a,android_ripple:d,pressColor:p,pressOpacity:f=.3,hoverEffect:h,style:m,children:g}=e,y=(0,o.default)(e,w);const{dark:v}=(0,s.useTheme)(),[_]=l.useState(()=>new c.default.Value(1)),S=(e,t)=>{c.default.timing(_,{toValue:e,duration:t,easing:b.default.inOut(b.default.quad),useNativeDriver:false}).start()};return(0,u.jsxs)(k,Object.assign({ref:t,accessible:!0,role:null!=y.href?"link":"button",onPress:n?void 0:e=>{if(null!==y.href){const t="metaKey"in e&&e.metaKey||"altKey"in e&&e.altKey||"ctrlKey"in e&&e.ctrlKey||"shiftKey"in e&&e.shiftKey,n=!("button"in e)||(null==e.button||0===e.button),i=!e.currentTarget||!("target"in e.currentTarget)||[void 0,null,"","self"].includes(e.currentTarget.target);!t&&n&&i&&(e.preventDefault(),r?.(e))}else r?.(e)},onPressIn:n?void 0:e=>{S(f,0),i?.(e)},onPressOut:n?void 0:e=>{S(1,200),a?.(e)},android_ripple:void 0,style:[{cursor:n?"auto":"pointer",opacity:n?1:_},m]},y,{children:[n?null:(0,u.jsx)(A,Object.assign({},h)),g]}))});S.displayName="PlatformPressable";const x=String.raw,C="__react-navigation_elements_Pressable_hover",E=x`
3  .${C} {
4    position: absolute;
5    top: 0;
6    left: 0;
7    right: 0;
8    bottom: 0;
9    border-radius: inherit;
10    background-color: var(--overlay-color);
11    opacity: 0;
12    transition: opacity 0.15s;
13    pointer-events: none;
14  }
15
16  a:hover > .${C}, button:hover > .${C} {
17    opacity: var(--overlay-hover-opacity);
18  }
19
20  a:active > .${C}, button:active > .${C} {
21    opacity: var(--overlay-active-opacity);
22  }
23`,A=({color:e,hoverOpacity:t=.08,activeOpacity:n=.16})=>null==e?null:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("style",{href:C,precedence:"elements",children:E}),(0,u.jsx)("div",{className:C,style:{"--overlay-color":e,"--overlay-hover-opacity":t,"--overlay-active-opacity":n}})]});var T=n(6283);const I=["style"];function R(e){let{style:t}=e,n=(0,o.default)(e,I);const{colors:r,fonts:i}=(0,s.useTheme)();return(0,u.jsx)(T.default,Object.assign({},n,{style:[{color:r.text},i.regular,t]}))}const O=["screen","params","action","href"],D=["variant","color","android_ripple","style","children"];function N(e){return"screen"in e||"action"in e?(0,u.jsx)(j,Object.assign({},e)):(0,u.jsx)(F,Object.assign({},e))}function j(e){let{screen:t,params:n,action:r,href:i}=e,a=(0,o.default)(e,O);const l=(0,s.useLinkProps)({screen:t,params:n,action:r,href:i});return(0,u.jsx)(F,Object.assign({},a,l))}function F(e){let{variant:t="tinted",color:n,android_ripple:r,style:i,children:a}=e,l=(0,o.default)(e,D);const{colors:c,fonts:d}=(0,s.useTheme)(),p=n??c.primary;let h,m;switch(t){case"plain":h="transparent",m=p;break;case"tinted":h=f(p).fade(.85).string(),m=p;break;case"filled":h=p,m=f(p).isDark()?"white":f(p).darken(.71).string()}return(0,u.jsx)(S,Object.assign({},l,{android_ripple:Object.assign({radius:40,color:f(m).fade(.85).string()},r),pressOpacity:1,hoverEffect:{color:m},style:[{backgroundColor:h},M.button,i],children:(0,u.jsx)(R,{style:[{color:m},d.regular,M.text],children:a})}))}const M=h.default.create({button:{paddingHorizontal:24,paddingVertical:10,borderRadius:40,borderCurve:"continuous"},text:{fontSize:14,lineHeight:20,letterSpacing:.1,textAlign:"center"}}),V=({width:e})=>e-56<=360?e-56:360;n(98943);function P(e,t,n){let r;const i=n;e.width,e.height;return r=64,r+i}function L(e,t){return"string"===typeof e.headerTitle?e.headerTitle:void 0!==e.title?e.title:t}var B=n(73929),H=n(78833),W=n(76022),z=n(14831);const Y=l.createContext(void 0);function U(e,t){const n=l.useContext(Y);if(null==n)throw new Error("useFrameSize must be used within a FrameSizeProvider");return(0,z.useSyncExternalStoreWithSelector)(t?n.subscribeThrottled:n.subscribe,n.getCurrent,n.getCurrent,e)}function X({initialFrame:e,render:t}){const n=l.useRef({width:e.width,height:e.height}),r=l.useRef(new Set),i=(0,W.default)(()=>n.current),a=(0,W.default)(e=>(r.current.add(e),()=>{r.current.delete(e)})),o=(0,W.default)(e=>{let t,n=!1,r=!1;const i=a(()=>{clearTimeout(t),n=!0,r?t=setTimeout(()=>{n&&(n=!1,e())},100):(r=!0,setTimeout(function(){r=!1}
23,100),n=!1,e())});return()=>{i(),clearTimeout(t)}}),s=l.useMemo(()=>({getCurrent:i,subscribe:a,subscribeThrottled:o}),[a,o,i]),c=(0,W.default)(e=>{n.current.height===e.height&&n.current.width===e.width||(n.current={width:e.width,height:e.height},r.current.forEach(e=>e()))}),d=l.useRef(null);l.useEffect(()=>{},[c]);return(0,u.jsxs)(Y.Provider,{value:s,children:[(0,u.jsx)(G,{onChange:c}),t({ref:d,onLayout:e=>{const{width:t,height:n}=e.nativeEvent.layout;c({width:t,height:n})}})]})}function G({onChange:e}){const t=l.useRef(null);return l.useEffect(()=>{if(null==t.current)return;const n=t.current.getBoundingClientRect();e({width:n.width,height:n.height});const r=new ResizeObserver(t=>{const n=t[0];if(n){const{width:t,height:r}=n.contentRect;e({width:t,height:r})}});return r.observe(t.current),()=>{r.disconnect()}},[e]),(0,u.jsx)("div",{ref:t,style:{position:"absolute",left:0,right:0,top:0,bottom:0,pointerEvents:"none",visibility:"hidden"}})}const q=l.forwardRef(function({disabled:e,onPress:t,pressColor:n,pressOpacity:r,accessibilityLabel:i,testID:a,style:o,href:s,children:l},c){return(0,u.jsx)(S,{ref:c,disabled:e,href:s,"aria-label":i,testID:a,onPress:t,pressColor:n,pressOpacity:r,android_ripple:J,style:[$.container,e&&$.disabled,o],hitSlop:{top:16,right:16,bottom:16,left:16},children:l})});q.displayName="HeaderButton";const J={borderless:!0,foreground:!1,radius:20},$=h.default.create({container:{flexDirection:"row",alignItems:"center",paddingHorizontal:8,borderRadius:10,borderCurve:"continuous"},disabled:{opacity:.5}});var K=n(40484);const Z=["source","style"];function Q(e){let{source:t,style:n}=e,r=(0,o.default)(e,Z);const{colors:i}=(0,s.useTheme)(),{direction:a}=(0,s.useLocale)();return(0,u.jsx)(K.default,Object.assign({source:t,resizeMode:"contain",fadeDuration:0,tintColor:i.text,style:[ee.icon,"rtl"===a&&ee.flip,n]},r))}const ee=h.default.create({icon:{width:24,height:24,margin:3},flip:{transform:"scaleX(-1)"}});function te({disabled:e,allowFontScaling:t,backImage:n,label:i,labelStyle:a,displayMode:o="minimal",onLabelLayout:d,onPress:p,pressColor:f,pressOpacity:h,screenLayout:m,tintColor:g,titleLayout:y,truncatedLabel:v="Back",accessibilityLabel:b=(i&&"Back"!==i?`${i}, back`:"Go back"),testID:_,style:w,href:k}){const{colors:S,fonts:x}=(0,s.useTheme)(),{direction:C}=(0,s.useLocale)(),[E,A]=l.useState(null),[T,I]=l.useState(null);return(0,u.jsx)(q,{disabled:e,href:k,accessibilityLabel:b,testID:_,onPress:()=>{p&&requestAnimationFrame(()=>p())},pressColor:f,pressOpacity:h,style:[re.container,w],children:(0,u.jsxs)(l.Fragment,{children:[n?n({tintColor:g??S.text}):(0,u.jsx)(Q,{source:r,tintColor:g,style:[re.icon,"minimal"!==o&&re.iconWithLabel]}),(()=>{if("minimal"===o)return null;const e=y&&m?(m.width-y.width)/2-(ne+3):null,n="default"===o?i:v,r=e&&E&&T?e>E?n:e>T?v:null:n,s=[x.regular,re.label,a],l=[s,{position:"absolute",top:0,left:0,opacity:0}];return(0,u.jsxs)(B.default,{style:re.labelWrapper,children:[i&&"default"===o?(0,u.jsx)(c.default.Text,{style:l,numberOfLines:1,onLayout:e=>A(e.nativeEvent.layout.width),children:i}):null,v?(0,u.jsx)(c.default.Text,{style:l,numberOfLines:1,onLayout:e=>I(e.nativeEvent.layout.width),children:v}):null,r?(0,u.jsx)(c.default.Text,{accessible:!1,onLayout:d,style:[g?{color:g}:null,s],numberOfLines:1,allowFontScaling:!!t,children:r}):null]})})()]})})}const ne=24,re=h.default.create({container:Object.assign({paddingHorizontal:0,minWidth:h.default.hairlineWidth},{marginVertical:3,marginHorizontal:11}),label:{fontSize:17,letterSpacing:.35},labelWrapper:{flexDirection:"row",alignItems:"flex-start",marginEnd:3},icon:{width:ne,marginEnd:3},iconWithLabel:{},iconMaskContainer:{flex:1,flexDirection:"row",justifyContent:"center"},iconMaskFillerRect:{flex:1,backgroundColor:"#000"},iconMask:{height:21,width:13,marginStart:-14.5,marginVertical:12,alignSelf:"center"},flip:{transform:"scaleX(-1)"}}),ie=["style"];function ae(e){let{style:t}=e,n=(0,o.default)(e,ie);const{colors:r,dark:i}=(0,s.useTheme)();return(0,u.jsx)(c.default.View,Object.assign({style:[oe.container,Object.assign({backgroundColor:r.card,borderBottomColor:r.border},!1),t]},n))}const oe=h.default.create({container:Object.assign({flex:1},{borderBottomWidth:h.default.hairlineWidth})});var se=n(16773);
23const le=["visible","inputType","autoFocus","autoCapitalize","placeholder","cancelButtonText","enterKeyHint","onChangeText","onClose","tintColor","style"],ce={text:"text",number:"numeric",phone:"tel",email:"email"},ue=!1;const de=h.default.create({container:{flex:1,flexDirection:"row",alignItems:"stretch"},inputSearchIcon:Object.assign({position:"absolute",opacity:.5,left:4,top:17},{}),closeButton:{position:"absolute",opacity:.5,right:8,top:17},clearButton:{position:"absolute",right:0,top:-7,bottom:0,justifyContent:"center",padding:8},clearIcon:{height:16,width:16,opacity:.5},cancelButton:{alignSelf:"center",top:-4},cancelText:{fontSize:17,marginHorizontal:12},searchbarContainer:{flex:1},searchbar:{flex:1,fontSize:18,paddingHorizontal:36,marginRight:8,marginTop:8,marginBottom:8,borderBottomWidth:1}}),pe=l.forwardRef(function(e,t){let{visible:n,inputType:r,autoFocus:d=!0,autoCapitalize:p,placeholder:h="Search",cancelButtonText:m="Cancel",enterKeyHint:g="search",onChangeText:y,onClose:v,tintColor:b,style:_}=e,w=(0,o.default)(e,le);const k=(0,s.useNavigation)(),{dark:S,colors:x,fonts:C}=(0,s.useTheme)(),[E,A]=l.useState(""),[T,I]=l.useState(n),[R]=l.useState(()=>new c.default.Value(n?1:0)),[O]=l.useState(()=>new c.default.Value(0)),D=l.useRef(n),N=l.useRef(!1),j=l.useRef(null);l.useEffect(()=>{if(n!==D.current)return c.default.timing(R,{toValue:n?1:0,duration:100,useNativeDriver:ue}).start(({finished:e})=>{e&&(I(n),D.current=n)}),()=>{R.stopAnimation()}},[n,R]);const F=""!==E;l.useEffect(()=>{N.current!==F&&c.default.timing(O,{toValue:F?1:0,duration:100,useNativeDriver:ue}).start(({finished:e})=>{e&&(N.current=F)})},[O,F]);const M=l.useCallback(()=>{j.current?.clear(),j.current?.focus(),A("")},[]),V=l.useCallback(()=>{M(),y?.({nativeEvent:{text:""}})},[M,y]),P=l.useCallback(()=>{V(),v()},[V,v]);if(l.useEffect(()=>k?.addListener("blur",P),[P,k]),l.useImperativeHandle(t,()=>({focus:()=>{j.current?.focus()},blur:()=>{j.current?.blur()},setText:e=>{j.current?.setNativeProps({text:e}),A(e)},clearText:M,cancelSearch:P}),[P,M]),!n&&!T)return null;const L=b??x.text;return(0,u.jsxs)(c.default.View,{pointerEvents:n?"auto":"none","aria-live":"polite","aria-hidden":!n,style:[de.container,{opacity:R},_],children:[(0,u.jsxs)(B.default,{style:de.searchbarContainer,children:[(0,u.jsx)(Q,{source:a,tintColor:L,style:de.inputSearchIcon}),(0,u.jsx)(se.default,Object.assign({},w,{ref:j,onChange:y,onChangeText:A,autoFocus:d,autoCapitalize:"systemDefault"===p?void 0:p,inputMode:ce[r??"text"],enterKeyHint:g,placeholder:h,placeholderTextColor:f(L).alpha(.5).string(),cursorColor:x.primary,selectionHandleColor:x.primary,selectionColor:f(x.primary).alpha(.3).string(),style:[C.regular,de.searchbar,{backgroundColor:"transparent",color:L,borderBottomColor:f(L).alpha(.2).string()}]})),null]}),(0,u.jsx)(q,{onPress:()=>{E?V():v()},style:de.closeButton,children:(0,u.jsx)(Q,{source:i,tintColor:L})}),null]})}),fe="__react_navigation__elements_contexts";function he(e,t){let n=globalThis[fe].get(e);return n||(n=l.createContext(t),n.displayName=e,globalThis[fe].set(e,n),n)}globalThis[fe]=globalThis[fe]??new Map;const me=he("HeaderShownContext",!1),ge=["tintColor","style"];function ye(e){let{tintColor:t,style:n}=e,r=(0,o.default)(e,ge);const{colors:i,fonts:a}=(0,s.useTheme)();return(0,u.jsx)(c.default.Text,Object.assign({role:"heading","aria-level":"1",numberOfLines:1},r,{style:[{color:void 0===t?i.text:t},a.medium,ve.title,n]}))}const ve=h.default.create({title:{fontSize:18}}),be=["height","maxHeight","minHeight","backfaceVisibility","backgroundColor","borderBlockColor","borderBlockEndColor","borderBlockStartColor","borderBottomColor","borderBottomEndRadius","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStartRadius","borderBottomWidth","borderColor","borderCurve","borderEndColor","borderEndEndRadius","borderEndStartRadius","borderEndWidth","borderLeftColor","borderLeftWidth","borderRadius","borderRightColor","borderRightWidth","borderStartColor","borderStartEndRadius","borderStartStartRadius","borderStartWidth","borderStyle","borderTopColor","borderTopEndRadius","borderTopLeftRadius","borderTopRightRadius","borderTopStartRadius","borderTopWidth","borderWidth","boxShadow","elevation","filter","mixBlendMode","opacity","shadowColor","shadowOffset","shadowOpacity","shadowRadius","transform","transformOrigin"];function _e(e){const t=(0,H.useSafeAreaInsets)(),n=U(e=>e,!0),{colors:r}=(0,s.useTheme)(),i=(0,s.useNavigation)(),d=l.useContext(me),[p,m]=l.useState(!1),[g,y]=l.useState(void 0),{layout:v=n,modal:b=!1,back:_,title:w,headerTitle:k,headerTitleAlign:S="left",headerLeft:x=(_?e=>(0,u.jsx)(te,Object.assign({},e)):void 0),headerSearchBarOptions:C,headerTransparent:E,headerTintColor:A,headerBackgroun
23d:T,headerRight:I,headerTitleAllowFontScaling:R,headerTitleStyle:O,headerLeftContainerStyle:D,headerRightContainerStyle:N,headerTitleContainerStyle:j,headerBackButtonDisplayMode:F="minimal",headerBackTitleStyle:M,headerBackgroundContainerStyle:V,headerStyle:L,headerShadowVisible:W,headerPressColor:z,headerPressOpacity:Y,headerStatusBarHeight:X=(d?0:t.top)}=e,G=P(v,0,X),J=h.default.flatten(L||{}),{height:$=G,maxHeight:K,minHeight:Z,backfaceVisibility:ee,backgroundColor:ne,borderBlockColor:re,borderBlockEndColor:ie,borderBlockStartColor:oe,borderBottomColor:se,borderBottomEndRadius:le,borderBottomLeftRadius:ce,borderBottomRightRadius:ue,borderBottomStartRadius:de,borderBottomWidth:fe,borderColor:he,borderCurve:ge,borderEndColor:ve,borderEndEndRadius:_e,borderEndStartRadius:ke,borderEndWidth:Se,borderLeftColor:xe,borderLeftWidth:Ce,borderRadius:Ee,borderRightColor:Ae,borderRightWidth:Te,borderStartColor:Ie,borderStartEndRadius:Re,borderStartStartRadius:Oe,borderStartWidth:De,borderStyle:Ne,borderTopColor:je,borderTopEndRadius:Fe,borderTopLeftRadius:Me,borderTopRightRadius:Ve,borderTopStartRadius:Pe,borderTopWidth:Le,borderWidth:Be,boxShadow:He,elevation:We,filter:ze,mixBlendMode:Ye,opacity:Ue,shadowColor:Xe,shadowOffset:Ge,shadowOpacity:qe,shadowRadius:Je,transform:$e,transformOrigin:Ke}=J;(0,o.default)(J,be);const Ze={backfaceVisibility:ee,backgroundColor:ne,borderBlockColor:re,borderBlockEndColor:ie,borderBlockStartColor:oe,borderBottomColor:se,borderBottomEndRadius:le,borderBottomLeftRadius:ce,borderBottomRightRadius:ue,borderBottomStartRadius:de,borderBottomWidth:fe,borderColor:he,borderCurve:ge,borderEndColor:ve,borderEndEndRadius:_e,borderEndStartRadius:ke,borderEndWidth:Se,borderLeftColor:xe,borderLeftWidth:Ce,borderRadius:Ee,borderRightColor:Ae,borderRightWidth:Te,borderStartColor:Ie,borderStartEndRadius:Re,borderStartStartRadius:Oe,borderStartWidth:De,borderStyle:Ne,borderTopColor:je,borderTopEndRadius:Fe,borderTopLeftRadius:Me,borderTopRightRadius:Ve,borderTopStartRadius:Pe,borderTopWidth:Le,borderWidth:Be,boxShadow:He,elevation:We,filter:ze,mixBlendMode:Ye,opacity:Ue,shadowColor:Xe,shadowOffset:Ge,shadowOpacity:qe,shadowRadius:Je,transform:$e,transformOrigin:Ke};for(const a in Ze)void 0===Ze[a]&&delete Ze[a];const Qe=Object.assign({},E&&{backgroundColor:"transparent"},(E||!1===W)&&Object.assign({borderBottomWidth:0},{boxShadow:"none"}),Ze),et=A??r.text,tt=x?x({tintColor:et,pressColor:z,pressOpacity:Y,displayMode:F,titleLayout:g,screenLayout:v,canGoBack:Boolean(_),onPress:_?i.goBack:void 0,label:_?.title,labelStyle:M,href:_?.href}):null,nt=I?I({tintColor:et,pressColor:z,pressOpacity:Y,canGoBack:Boolean(_)}):null,rt="function"!==typeof k?e=>(0,u.jsx)(ye,Object.assign({},e)):k;return(0,u.jsxs)(c.default.View,{pointerEvents:"box-none",style:[{height:$,minHeight:Z,maxHeight:K,opacity:Ue,transform:$e}],children:[(0,u.jsx)(c.default.View,{pointerEvents:"box-none",style:[h.default.absoluteFill,V],children:T?T({style:Qe}):(0,u.jsx)(ae,{pointerEvents:!E||"transparent"!==Qe.backgroundColor&&0!==f(Qe.backgroundColor).alpha()?"auto":"none",style:Qe})}),(0,u.jsx)(B.default,{pointerEvents:"none",style:{height:X}}),(0,u.jsxs)(B.default,{pointerEvents:"box-none",style:[we.content,null],children:[(0,u.jsx)(c.default.View,{pointerEvents:"box-none",style:[we.start,!p&&"center"===S&&we.expand,{marginStart:t.left},D],children:tt}),p?null:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(c.default.View,{pointerEvents:"box-none",style:[we.title,{maxWidth:"center"===S?v.width-2*((tt?"minimal"!==F?80:32:16)+(nt||C?16:0)+Math.max(t.left,t.right)):v.width-((tt?52:16)+(nt||C?52:16)+t.left-t.right)},"left"===S&&tt?{marginStart:4}:{marginHorizontal:16},j],children:rt({children:w,allowFontScaling:R,tintColor:A,onLayout:e=>{const{height:t,width:n}=e.nativeEvent.layout;y(e=>e&&t===e.height&&n===e.width?e:{height:t,width:n})},style:O})}),(0,u.jsxs)(c.default.View,{pointerEvents:"box-none",style:[we.end,we.expand,{marginEnd:t.right},N],children:[nt,C?(0,u.jsx)(q,{tintColor:et,pressColor:z,pressOpacity:Y,onPress:()=>{m(!0),C?.onOpen?.()},children:(0,u.jsx)(Q,{source:a,tintColor:et})}):null]})]}),p?(0,u.jsx)(pe,Object.assign({},C,{visible:p,onClose:()=>{m(!1),C?.onClose?.()},tintColor:A,style:[!tt&&{marginStart:8}]})):null]})]})}const we=h.default.create({content:{flex:1,flexDirection:"row",alignItems:"stretch"},large:{marginHorizontal:5},title:{justifyContent:"center"},start:{flexDirection:"row",alignItems:"center",justifyContent:"flex-start"},end:{flexDirection:"row",alignItems:"center",justifyContent:"flex-end"}
23,expand:{flexGrow:1,flexBasis:0}}),ke=he("HeaderBackContext",void 0),Se=he("HeaderHeightContext",void 0);function xe(){const e=l.useContext(Se);if(void 0===e)throw new Error("Couldn't find the header height. Are you inside a screen in a navigator with a header?");return e}function Ce(e,t){return void 0!==e.label?e.label:void 0!==e.title?e.title:t}const Ee=["tintColor","style"];function Ae(e){let{tintColor:t,style:n}=e,r=(0,o.default)(e,Ee);return(0,u.jsx)(R,Object.assign({numberOfLines:1},r,{style:[Te.label,null!=t&&{color:t},n]}))}const Te=h.default.create({label:{textAlign:"center",backgroundColor:"transparent"}});function Ie({enabled:e,visible:t,children:n}){const[r,i]=l.useState(!!e&&t),a=!(e||t||r);return l.useEffect(()=>{if(!1===a)return;const e=requestIdleCallback(()=>{i(!0)});return()=>cancelIdleCallback(e)},[a]),t&&!1===r?(i(!0),n):r?n:null}function Re({color:e,size:t,style:n}){return(0,u.jsx)(R,{style:[Oe.icon,{color:e,fontSize:t},n],children:"\u23f7"})}const Oe=h.default.create({icon:{backgroundColor:"transparent"}}),De=["visible","children","style"];function Ne(e){let{visible:t,children:n,style:r}=e,i=(0,o.default)(e,De);return(0,u.jsx)(B.default,Object.assign({hidden:!t,style:[{display:t?"flex":"none"},je.container,r],pointerEvents:t?"auto":"none"},i,{children:n}))}const je=h.default.create({container:{flex:1,overflow:"hidden"},attached:{flex:1},detached:{flex:1,top:3e4}});var Fe=n(26725);const{width:Me=0,height:Ve=0}=Fe.default.get("window"),Pe={frame:{x:0,y:0,width:Me,height:Ve},insets:{top:0,left:0,right:0,bottom:0}};function Le({children:e,style:t}){const n=l.useContext(H.SafeAreaInsetsContext);return(0,u.jsx)(X,{initialFrame:Pe.frame,render:({ref:r,onLayout:i})=>n?(0,u.jsx)(B.default,{ref:r,onLayout:i,style:[Be.container,t],children:e}):(0,u.jsx)(H.SafeAreaProvider,{initialMetrics:Pe,style:t,onLayout:i,children:e})})}Le.initialMetrics=Pe;const Be=h.default.create({container:{flex:1}});function He(e){const t=(0,H.useSafeAreaInsets)(),n=l.useContext(me),r=l.useContext(Se),{focused:i,modal:a=!1,header:o,headerShown:c=!0,headerTransparent:d,headerStatusBarHeight:f=(n?0:t.top),navigation:h,route:m,children:g,style:y}=e,v=U(e=>P(e,0,f)),b=l.useRef(null),[_,w]=l.useState(v);return l.useLayoutEffect(()=>{b.current?.measure((e,t,n,r)=>{w(r)})},[m.name]),(0,u.jsxs)(p,{"aria-hidden":!i,style:[We.container,y],collapsable:!1,children:[c?(0,u.jsx)(s.NavigationProvider,{route:m,navigation:h,children:(0,u.jsx)(B.default,{style:[We.header,d?[We.absolute,{minHeight:_}]:null],children:(0,u.jsx)(B.default,{ref:b,pointerEvents:"box-none",onLayout:e=>{const{height:t}=e.nativeEvent.layout;w(t)},children:o})})}):null,(0,u.jsx)(B.default,{style:We.content,children:(0,u.jsx)(me.Provider,{value:n||!1!==c,children:(0,u.jsx)(Se.Provider,{value:c?_:r??0,children:g})})})]})}const We=h.default.create({container:{flex:1},content:{flex:1},header:{zIndex:1},absolute:{position:"absolute",top:0,start:0,end:0}}),ze=[r,"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABVCAQAAAChx3/YAAACVElEQVR42t3ZP2sUURQFcI0xm9gEg4I2GjSIX0DFRkFsbE20DtqIfgBRMCalpV9CUUEQQWIUBBFBEGKze899s+smO2HFRhtNYv5d2eqA284pnm/7/fEeM/PuPXdX1Wt5v03jVVpH8FcpEAN+Mj3nnwuQ2IMpm8eGACFRTPkiNhEyJPYWV/HFtxCVIyRwG58amwgZUh/yO7ZkPUKFRM3v2jK2ETIkavawXpKoEiFxHx0elABpD9usrXAXAqQcaT4gIUFiqDkN2BZChhQ1XIfbDqJyhITfRAKJChESt7wkIUDeDaZzqYFAyJCiVpx3QwiR9nDzkgMhRGLQT/OgJEhRq59JhhAgJHDBHSFASKSLqYUQIuVIcTY1EUKkuy9d7u1CgZCY9BWEDIndxUFcSSQUSGsU93qEACFRzKQfCCHSPuSz+IlQICQe4zt2hMjSYTyxXxYIGfL1KJ6ChAJpj+M9fltAgHAXr7FKQoAUx9MC1kgIkOZE+mjrJATIt/H0wnhQCqQ+YS9tFQEdUo75WyehQXyO/aoO+YCQI+gi/o+d+JxtyJFyLL3h05Xpe6J/4/u/XVhTMQzDjtkCmXzvE96MproZubpHeMdnXK2w7nrEuivXCpK1sM+AtXCWVT37Ez9QZ3+SbafV3zNm3v2yjyejTySyzlaYEp1iSgR93pV5cscMsq5EmKZ2eBEIc2F3MrKEu7jGhDvfrL5/6pDx/ISPwAwnQdKZVqPD3eQ6neufM+Y8MeXs1xc5+81yik1mwCZt3v+IEDKtE3iWtkUI1+fRdOPfKvovc6zWpmERVBkAAAAASUVORK5CYII=",a,i,"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAQAAAAAYLlVAAACTElEQVR42sWZTYoaQRiGH2kR4hEUc4QIGjBnUEEPoDPLqCfQO8REdwq61+1oDqBewAGz0MUszd
235FHGfzZTZSJDRVdnW39T5b4X2hy6rvh8BKU6XHkDlrDpzeObBmzpAeVdLEqI+0+ckZ0XBmSYscEStFh2ckAM90SBGJPJq8IBa80MQjlBLU2SEh2FEngaWybJAI2JDFQl84IhFxpERAPXJBIuTCIzcryQ8kBvokb7NfIDHxdEuE70iM9M3fXmLmQX/yL0jMvFICf2X5jdyBIxl8lGCD3ImN3+1YR+5Ijf/k8Qu5Izs8/lFTe4uN+ESRCW8IZt6YUCDPSHukG6CU0j64I64qc8F86Za5aqx9rFNwVQfRkAefCGZ7yCMaOlxlqHaK4BPBbA+fEQ1bVeuJlgn4RDDbwxTRkgOAtvFQlX0imO3LxkPbAoCl+WBpImh/YWABkOaM2EWwtFecSUMVQWwjWNorKtBDwkSwsld0YYiEiWBlrxjAHAkTwcpeMYM1YhnB3l6xggNiGcHeXrGHE2IZwd5ecXIewPkncH4Inf8NnV9Ezq9i54+R2+f4Dx+cFyTuSzL3Ram5LC9Yl+VFfVnuvDFx3prd3pyOyVNkenNzOqVAnvHtzSl47Jy25+4HFLgf0UCWo6MhlfsxnftBpftRrVKSJ7fDakjSR2LgG0l3C4tXHgiokquVjVImsqVVBkslqIVe29VIEEoeDevFZQMvutXtFgnAljYpIlaOFkvj8nrBV3LEqDQVugyYsWLP6Z09K2YM6FIJvr7/C289zVf6dsfbAAAAAElFTkSuQmCC"]},54420(e,t,n){"use strict";n.r(t),n.d(t,{NativeStackView:()=>v,createNativeStackNavigator:()=>S,useAnimatedHeaderHeight:()=>p});var r=n(98587),i=n(67169),a=n(36665),o=n(12695),s=n(15009),l=n(40484),c=n(75675),u=n(73929);const d=a.createContext(void 0);function p(){const e=a.useContext(d);if(void 0===e)throw new Error("Couldn't find the header height. Are you inside a screen in a native stack navigator?");return e}var f=n(60397);const h=["header","headerShown","headerBackIcon","headerBackImageSource","headerLeft","headerTransparent","headerBackTitle","presentation","contentStyle"],m=["label"],g=["tintColor","label"],y=["transparentModal","containedTransparentModal"];function v({state:e,descriptors:t,describe:n}){const s=a.useContext(o.HeaderBackContext),{buildHref:d}=(0,i.useLinkBuilder)(),p=e.preloadedRoutes.reduce((e,t)=>(e[t.key]=e[t.key]||n(t,!0),e),{});return(0,f.jsx)(o.SafeAreaProviderCompat,{children:e.routes.concat(e.preloadedRoutes).map((n,i)=>{const a=e.index===i,v=e.routes[i-1]?.key,w=e.routes[i+1]?.key,k=v?t[v]:void 0,S=w?t[w]:void 0,{options:x,navigation:C,render:E}=t[n.key]??p[n.key],A=k?{title:(0,o.getHeaderTitle)(k.options,k.route.name),href:d(k.route.name,k.route.params)}:s,T=null!=A,{header:I,headerShown:R,headerBackIcon:O,headerBackImageSource:D,headerLeft:N,headerTransparent:j,headerBackTitle:F,presentation:M,contentStyle:V}=x,P=(0,r.default)(x,h),L=S?.options.presentation,B=void 0!==p[n.key]&&void 0===t[n.key];return(0,f.jsx)(o.Screen,{focused:a,route:n,navigation:C,headerShown:R,headerTransparent:j,header:void 0!==I?I({back:A,options:x,route:n,navigation:C}):(0,f.jsx)(o.Header,Object.assign({},P,{back:A,title:(0,o.getHeaderTitle)(x,n.name),headerLeft:"function"===typeof N?e=>{let{label:t}=e,n=(0,r.default)(e,m);return N(Object.assign({},n,{label:F??t}))}:void 0===N&&T?e=>{let{tintColor:t,label:n}=e,i=(0,r.default)(e,g);return(0,f.jsx)(o.HeaderBackButton,Object.assign({},i,{label:F??n,tintColor:t,backImage:void 0!==O||void 0!==D?()=>(0,f.jsx)(l.default,{source:O?.source??D,resizeMode:"contain",tintColor:t,style:_.backImage}):void 0,onPress:C.goBack}))}:N,headerTransparent:j})),style:[c.default.absoluteFill,{display:(a||null!=L&&y.includes(L))&&!B?"flex":"none"},null!=M&&y.includes(M)?{backgroundColor:"transparent"}:null],children:(0,f.jsx)(o.HeaderBackContext.Provider,{value:A,children:(0,f.jsx)(b,{children:(0,f.jsx)(u.default,{style:[_.contentContainer,V],children:E()})})})},n.key)})})}const b=({children:e})=>{const t=(0,o.useHeaderHeight)(),[n]=a.useState(()=>new s.default.Value(t));return a.useEffect(()=>{n.setValue(t)},[n,t]),(0,f.jsx)(d.Provider,{value:n,children:e})},_=c.default.create({contentContainer:{flex:1},backImage:{height:24,width:24,margin:3}}),w=["id","initialRouteName","UNSTABLE_routeNamesChangeBehavior","children","layout","screenListeners","screenOptions","screenLayout","UNSTABLE_router"];function k(e){let{id:t,initialRouteName:n,UNSTABLE_routeNamesChangeBehavior:o,children:s,layout:l,screenListeners:c,screenOptions:u,screenLayout:d,UNSTABLE_router:p}=e,h=(0,r.default)(e,w);const{state:m,describe:g,descriptors:y,navigation:b,NavigationContent:_}=(0,i.useNavigationBuilder)(i.StackRouter,{id:t,initialRouteName:n,UNSTABLE_routeNamesChangeBehavior:o,children:s,layout:l,screenListeners:c,screenOptions:u,screenLayout:d,UNSTABLE_router:p}),k=a.useContext(i.NavigationMetaContext);return a.useEffect(()=>{if(!k||!("type"in k)||"native-tabs"!==k.type)return b?.addListener?.("tabPress",e=>{const t=b.isFocused();requestAnimationFrame(()=>{m.index>
230&&t&&!e.defaultPrevented&&b.dispatch(Object.assign({},i.StackActions.popToTop(),{target:m.key}))})})},[k,b,m.index,m.key]),(0,f.jsx)(_,{children:(0,f.jsx)(v,Object.assign({},h,{state:m,navigation:b,descriptors:y,describe:g}))})}function S(e){return(0,i.createNavigatorFactory)(k)(e)}},67169(t,n,r){"use strict";r.r(n),r.d(n,{BaseNavigationContainer:()=>$,BaseRouter:()=>h,CommonActions:()=>i,CurrentRenderContext:()=>ge,DarkTheme:()=>an,DefaultTheme:()=>Mt,DrawerActions:()=>k,DrawerRouter:()=>S,Link:()=>nn,LinkingContext:()=>Dt,LocaleDirContext:()=>Nt,NavigationContainer:()=>Jt,NavigationContainerRefContext:()=>M,NavigationContext:()=>ee,NavigationHelpersContext:()=>qe,NavigationIndependentTree:()=>Je,NavigationMetaContext:()=>$e,NavigationProvider:()=>oe,NavigationRouteContext:()=>ae,PreventRemoveContext:()=>Ke,PreventRemoveProvider:()=>et,PrivateValueStore:()=>nt,ServerContainer:()=>rn,StackActions:()=>C,StackRouter:()=>E,TabActions:()=>y,TabRouter:()=>_,ThemeContext:()=>B,ThemeProvider:()=>H,UNSTABLE_UnhandledLinkingContext:()=>Pt,createComponentForStaticNavigation:()=>fe,createNavigationContainerRef:()=>I,createNavigatorFactory:()=>me,createPathConfigForStaticNavigation:()=>he,createStaticNavigation:()=>Kt,findFocusedRoute:()=>j,getActionFromState:()=>ve,getFocusedRouteNameFromRoute:()=>xe,getPathFromState:()=>Oe,getStateFromPath:()=>Pe,useFocusEffect:()=>rt,useIsFocused:()=>ie,useLinkBuilder:()=>sn,useLinkProps:()=>en,useLinkTo:()=>ln,useLocale:()=>cn,useNavigation:()=>te,useNavigationBuilder:()=>Et,useNavigationContainerRef:()=>At,useNavigationIndependentTree:()=>X,useNavigationState:()=>gt,usePreventRemove:()=>It,usePreventRemoveContext:()=>Tt,useRoute:()=>se,useRoutePath:()=>un,useScrollToTop:()=>dn,useStateForPath:()=>Rt,useTheme:()=>tt,validatePathConfig:()=>Te});var i={};r.r(i),r.d(i,{goBack:()=>o,navigate:()=>s,navigateDeprecated:()=>l,preload:()=>p,replaceParams:()=>d,reset:()=>c,setParams:()=>u});var a=r(98587);function o(){return{type:"GO_BACK"}}function s(...e){if("string"===typeof e[0]){const[t,n,r]=e;return{type:"NAVIGATE",payload:{name:t,params:n,merge:"boolean"===typeof r?r:r?.merge,pop:r?.pop}}}{const t=e[0]||{};if(!("name"in t))throw new Error("You need to specify a name when calling navigate with an object as the argument. See https://reactnavigation.org/docs/navigation-actions#navigate for usage.");return{type:"NAVIGATE",payload:t}}}function l(...e){if("string"===typeof e[0])return{type:"NAVIGATE_DEPRECATED",payload:{name:e[0],params:e[1]}};{const t=e[0]||{};if(!("name"in t))throw new Error("You need to specify a name when calling navigateDeprecated with an object as the argument. See https://reactnavigation.org/docs/navigation-actions#navigatelegacy for usage.");return{type:"NAVIGATE_DEPRECATED",payload:t}}}function c(e){return{type:"RESET",payload:e}}function u(e){return{type:"SET_PARAMS",payload:{params:e}}}function d(e){return{type:"REPLACE_PARAMS",payload:{params:e}}}function p(e,t){return{type:"PRELOAD",payload:{name:e,params:t}}}let f=(e=21)=>{let t="",n=0|e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t};const h={getStateForAction(e,t){switch(t.type){case"SET_PARAMS":case"REPLACE_PARAMS":{const n=t.source?e.routes.findIndex(e=>e.key===t.source):e.index;return-1===n?null:Object.assign({},e,{routes:e.routes.map((e,r)=>r===n?Object.assign({},e,{params:"REPLACE_PARAMS"===t.type?t.payload.params:Object.assign({},e.params,t.payload.params)}):e)})}case"RESET":{const n=t.payload,r=new Set(e.routeNames);return 0===n.routes.length||n.routes.some(e=>!r.has(e.name))?null:!1===n.stale?e.routeNames.length!==n.routeNames.length||n.routeNames.some(e=>!r.has(e))?null:Object.assign({},n,{routes:n.routes.map(e=>e.key?e:Object.assign({},e,{key:`${e.name}-${f()}`}))}):n}default:return null}},shouldActionChangeFocus:e=>"NAVIGATE"===e.type||"NAVIGATE_DEPRECATED"===e.type};function m({action:e,routeParamList:t}){const{name:n,params:r}=e.payload;return void 0!==t[n]?Object.assign({},t[n],r):r}const g="route",y={jumpTo:(e,t)=>({type:"JUMP_TO",payload:{name:e,params:t}})},v=(e,t,n,r)=>{const i=[{type:g,key:e[t].key}];let a;switch(n){case"order":for(let n=t;n>0;n--)i.unshift({type:g,key:e[n-1].key});break;case"firstRoute":0!==t&&i.unshift({type:g,key:e[0].key});break;case"initialRoute":a=e.findIndex(e=>e.name===r),a=-1===a?0:a,t!==a&&i.unshift({type:g,key:e[a].key})}return i},b=(e,t,n,r)=>{let i=e.history;if("history"===n||"fullHistory"===n){const r=e.routes[t];if("history"===n)i=i.filter(e=>"route"===e.type&&e.key!==r.key);else if("fullHistory"===n){const e=i.findLastIndex(e=>"route"===e.type);r.key===i[e]?.key&&(i=[...i.slice(0,e),...i.slice(e+1)])}i=i.concat({type:g,key:r.key,params:"fullHistory"===n?r.params:void 0})}else i=v(e.routes,t,n,r);return Object.assign({},e,{index:t,history:i})};function _({initialRouteName:e,backBehavior:t="firstRoute"}){return Object.assign({},h,{type:"tab",getInitialState({routeNames:n,routeParamList:r}){const i=void 0!==e&&n.includes(e)?n.indexOf(e):0,a=n.map(e=>({name:e,key:`${e}-${f()}`,params:r[e]})),o=v(a,i,t,e);return{stale:!1,type:"tab",key:`tab-${f()}`,index:i,routeNames:n,history:o,routes:a,preloadedRouteKeys:[]}},getRehydratedState(n,{routeNames:r,routeParamList:i}){const a=n;if(!1===a.stale)return a;const o=r.map(e=>{const t=a.routes.find(t=>t.name===e);return Object.assign({},t,{name:e,key:t&&t.name===e&&t.key?t.key:`${e}-${f()}`,params:void 0!==i[e]?Object.assign({},i[e],t?t.params:void 0):t?t.params:void 0})}
23),s=Math.min(Math.max(r.indexOf(a.routes[a?.index??0]?.name),0),o.length-1),l=o.map(e=>e.key),c=a.history?.filter(e=>l.includes(e.key))??[];return b({stale:!1,type:"tab",key:`tab-${f()}`,index:s,routeNames:r,history:c,routes:o,preloadedRouteKeys:a.preloadedRouteKeys?.filter(e=>l.includes(e))??[]},s,t,e)},getStateForRouteNamesChange(n,{routeNames:r,routeParamList:i,routeKeyChanges:a}){const o=r.map(e=>n.routes.find(t=>t.name===e&&!a.includes(t.name))||{name:e,key:`${e}-${f()}`,params:i[e]}),s=Math.max(0,r.indexOf(n.routes[n.index].name));let l=n.history.filter(e=>"route"!==e.type||o.find(t=>t.key===e.key));return l.length||(l=v(o,s,t,e)),Object.assign({},n,{history:l,routeNames:r,routes:o,index:s})},getStateForRouteFocus(n,r){const i=n.routes.findIndex(e=>e.key===r);return-1===i||i===n.index?n:b(n,i,t,e)},getStateForAction(n,r,{routeParamList:i,routeGetIdList:a}){switch(r.type){case"JUMP_TO":case"NAVIGATE":case"NAVIGATE_DEPRECATED":{const o=n.routes.findIndex(e=>e.name===r.payload.name);if(-1===o)return null;const s=b(Object.assign({},n,{routes:n.routes.map(e=>{if(e.name!==r.payload.name)return e;const t=a[e.name],n=t?.({params:e.params}),o=t?.({params:r.payload.params}),s=n===o?e.key:`${e.name}-${f()}`;let l;l="NAVIGATE"!==r.type&&"NAVIGATE_DEPRECATED"!==r.type||!r.payload.merge||n!==o?m({action:r,routeParamList:i}):void 0!==r.payload.params||void 0!==i[e.name]?Object.assign({},i[e.name],e.params,r.payload.params):e.params;const c="NAVIGATE"===r.type&&null!=r.payload.path?r.payload.path:e.path;return l!==e.params||c!==e.path?Object.assign({},e,{key:s,path:c,params:l}):e})}),o,t,e);return Object.assign({},s,{preloadedRouteKeys:s.preloadedRouteKeys.filter(e=>e!==n.routes[s.index].key)})}case"SET_PARAMS":case"REPLACE_PARAMS":{const e=h.getStateForAction(n,r);if(null!==e){const t=e.index;if(null!=t){const r=e.routes[t],i=n.history.findLastIndex(e=>e.key===r.key);let a=n.history;return-1!==i&&(a=[...n.history],a[i]=Object.assign({},a[i],{params:r.params})),Object.assign({},e,{history:a})}}return e}case"GO_BACK":{if(1===n.history.length)return null;const e=n.history[n.history.length-2],r=e?.key,i=n.routes.findLastIndex(e=>e.key===r);if(-1===i)return null;let a=n.routes;return"fullHistory"===t&&a[i].params!==e.params&&(a=[...n.routes],a[i]=Object.assign({},a[i],{params:e.params})),Object.assign({},n,{routes:a,preloadedRouteKeys:n.preloadedRouteKeys.filter(e=>e!==n.routes[i].key),history:n.history.slice(0,-1),index:i})}case"PRELOAD":{const e=n.routes.findIndex(e=>e.name===r.payload.name);if(-1===e)return null;const t=n.routes[e],o=a[t.name],s=o?.({params:t.params}),l=o?.({params:r.payload.params}),c=s===l?t.key:`${t.name}-${f()}`,u=m({action:r,routeParamList:i}),d=u!==t.params?Object.assign({},t,{key:c,params:u}):t;return Object.assign({},n,{preloadedRouteKeys:n.preloadedRouteKeys.filter(e=>e!==t.key).concat(d.key),routes:n.routes.map((t,n)=>n===e?d:t),history:c===t.key?n.history:n.history.filter(e=>e.key!==t.key)})}default:return h.getStateForAction(n,r)}},actionCreators:y})}const w=["defaultStatus"],k=Object.assign({},y,{openDrawer:()=>({type:"OPEN_DRAWER"}),closeDrawer:()=>({type:"CLOSE_DRAWER"}),toggleDrawer:()=>({type:"TOGGLE_DRAWER"})});function S(e){let{defaultStatus:t="closed"}=e;const n=_((0,a.default)(e,w)),r=e=>Boolean(e.history?.some(e=>"drawer"===e.type)),i=e=>r(e)?e:Object.assign({},e,{history:[...e.history,{type:"drawer",status:"open"===t?"closed":"open"}]}),o=e=>r(e)?Object.assign({},e,{history:e.history.filter(e=>"drawer"!==e.type)}):e,s=e=>"open"===t?i(e):o(e);return Object.assign({},n,{type:"drawer",getInitialState({routeNames:e,routeParamList:r,routeGetIdList:i}){const a=n.getInitialState({routeNames:e,routeParamList:r,routeGetIdList:i});return Object.assign({},a,{default:t,stale:!1,type:"drawer",key:`drawer-${f()}`})},getRehydratedState(e,{routeNames:a,routeParamList:s,routeGetIdList:l}){if(!1===e.stale)return e;let c=n.getRehydratedState(e,{routeNames:a,routeParamList:s,routeGetIdList:l});return r(e)&&(c=o(c),c=i(c)),Object.assign({},c,{default:t,type:"drawer",key:`drawer-${f()}`})},getStateForRouteFocus(e,t){const r=n.getStateForRouteFocus(e,t);return s(r)},getStateForAction(e,a,l){switch(a.type){case"OPEN_DRAWER":return(e=>"open"===t?o(e):i(e))(e);case"CLOSE_DRAWER":return s(e);case"TOGGLE_DRAWER":return r(e)?o(e):i(e);case"JUMP_TO":case"NAVIGATE":case"NAVIGATE_DEPRECATED":{const t=n.getStateForAction(e,a,l);return null!=t&&t.index!==e.index?s(t):t}case"GO_BACK":return r(e)?o(e):n.getStateForAction(e,a,l);default:return n.getStateForAction(e,a,l)}},actionCreators:k})}function x({action:e,routeParamList:t}){const{name:n}=e.payload;return{key:`${n}-${f()}`,name:n,params:m({action:e,routeParamList:t})}}const C={replace:(e,t)=>({type:"REPLACE",payload:{name:e,params:t}}),push:(e,t)=>({type:"PUSH",payload:{name:e,params:t}}),pop:(e=1)=>({type:"POP",payload:{count:e}}),popToTop:()=>({type:"POP_TO_TOP"}),popTo:(e,t,n)=>({type:"POP_TO",payload:{name:e,params:t,merge:"boolean"===typeof n?n:n?.merge}})};function E(e){const t=Object.assign({},h,{type:"stack",getInitialState({routeNames:t,routeParamList:n}){const r=void 0!==e.initialRouteName&&t.includes(e.initialRouteName)?e.initialRouteName:t[0];return{stale:!1,type:"stack",key:`stack-${f()}`,index:0,routeNames:t,preloadedRoutes:[],routes:[{key:`${r}-${f()}`,name:r,params:n[r]}]}},getRehydratedState(t,{routeNames:n,routeParamList:r}){const i=t;if(!1===i.stale)return i;const a=i.routes.filter(e=>n.includes(e.name)).map(e=>Object.assign({},e,{key:e.key||`${e.name}-${f()}`,params:void 0!==r[e.name]?Object.assign({},r[e.name],e.params):e.params})),o=i.preloadedRoutes?.filter(e=>n.includes(e.name)).map(e=>Object.assign({},e,{key:e.key||`${e.name}-${f()}`,params:void 0!==r[e.name]?Object.assign({},r[e.name],e.params):e.params}))??[];if(0===a.length){const t=void 0!==e.initialRouteName?e.initialRouteName:n[0];a.push({key:`${t}-${f()}`,name:t,params:r[t]})}return{stale:!1,type:"stack",key:`stack-${f()}`,index:a.length-1,routeNames:n,routes:a,preloadedRoutes:o}},getStateForRouteNamesChange(t,{routeNames:n,routeParamList:r,routeKeyChanges:i}){const a=t.routes.filter(e=>n.includes(e.name)&&!i.includes(e.name));if(0===a.length){const t=void 0!==e.initialRouteName&&n.includes(e.initialRouteName)?e.initialRouteName:n[0];a.push({key:`${t}-${f()}`,name:t,params:r[t]})}return Object.assign({},t,{routeNames:n,routes:a,index:Math.min(t.index,a.length-1)})},getStateForRouteFocus(e,t){const n=e.routes.findIndex(e=>e.key===t);return-1===n||n===e.index?e:Object.assign({},e,{index:n,routes:e.routes.slice(0,n+1)})},getStateForAction(e,n,r){const{routeParamList:i}=r;switch(n.type){case"REPLACE":{const t=n.target===e.key&&n.source?e.routes.findIndex(e=>e.key===n.source):e.index;if(-1===t)return null;if(!e.routeNames.includes(n.payload.name))return null;const a=r.routeGetIdList[n.payload.name],o=a?.({params:n.payload.params});let s=e.preloadedRoutes.find(e=>e.name===n.payload.name&&o===a?.({params:e.params}));if(s){const e=m({action:n,routeParamList:i});s.params!==e&&(s=Object.assign({},s,{params:e}))}else s=x({action:n,routeParamList:i});return Object.assign({},e,{routes:e.routes.map((e,n)=>n===t?s:e),preloadedRoutes:e.preloadedRoutes.filter(e=>e.key!==s.key)})}case"PUSH":case"NAVIGATE":{if(!e.routeNames.includes(n.payload.name))return null;const t=r.routeGetIdList[n.payload.name],a=t?.({params:n.payload.params});let o,s,l;if(void 0!==a)o=e.routes.findLast(e=>
23e.name===n.payload.name&&a===t?.({params:e.params}));else if("NAVIGATE"===n.type){const t=e.routes[e.index];n.payload.name===t.name?o=t:n.payload.pop&&(o=e.routes.findLast(e=>e.name===n.payload.name))}if(o||(o=e.preloadedRoutes.find(e=>e.name===n.payload.name&&a===t?.({params:e.params}))),s="NAVIGATE"===n.type&&n.payload.merge&&o?void 0!==n.payload.params||void 0!==i[n.payload.name]?Object.assign({},i[n.payload.name],o.params,n.payload.params):o.params:m({action:n,routeParamList:i}),o)if("NAVIGATE"===n.type&&n.payload.pop){l=[];for(const t of e.routes){if(t.key===o.key){l.push(Object.assign({},o,{path:void 0!==n.payload.path?n.payload.path:o.path,params:s}));break}l.push(t)}}else l=e.routes.filter(e=>e.key!==o.key),l.push(Object.assign({},o,{path:"NAVIGATE"===n.type&&void 0!==n.payload.path?n.payload.path:o.path,params:s}));else l=[...e.routes,{key:`${n.payload.name}-${f()}`,name:n.payload.name,path:"NAVIGATE"===n.type?n.payload.path:void 0,params:s}];return Object.assign({},e,{index:l.length-1,preloadedRoutes:e.preloadedRoutes.filter(e=>l[l.length-1].key!==e.key),routes:l})}case"NAVIGATE_DEPRECATED":{if(!e.routeNames.includes(n.payload.name))return null;if(e.preloadedRoutes.find(e=>e.name===n.payload.name&&o===a?.({params:e.params})))return null;let t=-1;const a=r.routeGetIdList[n.payload.name],o=a?.({params:n.payload.params});if(t=void 0!==o?e.routes.findIndex(e=>e.name===n.payload.name&&o===a?.({params:e.params})):e.routes[e.index].name===n.payload.name?e.index:e.routes.findLastIndex(e=>e.name===n.payload.name),-1===t){const t=[...e.routes,x({action:n,routeParamList:i})];return Object.assign({},e,{routes:t,index:t.length-1})}const s=e.routes[t];let l;return l=n.payload.merge?void 0!==n.payload.params||void 0!==i[s.name]?Object.assign({},i[s.name],s.params,n.payload.params):s.params:m({action:n,routeParamList:i}),Object.assign({},e,{index:t,routes:[...e.routes.slice(0,t),l!==s.params?Object.assign({},s,{params:l}):e.routes[t]]})}case"POP":{const t=n.target===e.key&&n.source?e.routes.findIndex(e=>e.key===n.source):e.index;if(-1===t)return null;if(t>0){const r=Math.max(t-n.payload.count+1,1),i=e.routes.slice(0,r).concat(e.routes.slice(t+1));return Object.assign({},e,{index:i.length-1,routes:i})}return null}case"POP_TO_TOP":return t.getStateForAction(e,{type:"POP",payload:{count:e.routes.length-1}},r);case"POP_TO":{const t=n.target===e.key&&n.source?e.routes.findLastIndex(e=>e.key===n.source):e.index;if(-1===t)return null;if(!e.routeNames.includes(n.payload.name))return null;let a=-1;const o=r.routeGetIdList[n.payload.name],s=o?.({params:n.payload.params});if(void 0!==s)a=e.routes.findIndex(e=>e.name===n.payload.name&&s===o?.({params:e.params}));else if(e.routes[t].name===n.payload.name)a=t;else for(let r=t;r>=0;r--)if(e.routes[r].name===n.payload.name){a=r;break}if(-1===a){let r=e.preloadedRoutes.find(e=>e.name===n.payload.name&&s===o?.({params:e.params}));if(r){const e=m({action:n,routeParamList:i});r.params!==e&&(r=Object.assign({},r,{params:e}))}else r=x({action:n,routeParamList:i});const a=e.routes.slice(0,t).concat(r);return Object.assign({},e,{index:a.length-1,routes:a,preloadedRoutes:e.preloadedRoutes.filter(e=>e.key!==r.key)})}const l=e.routes[a];let c;return c=n.payload.merge?void 0!==n.payload.params||void 0!==i[l.name]?Object.assign({},i[l.name],l.params,n.payload.params):l.params:m({action:n,routeParamList:i}),Object.assign({},e,{index:a,routes:[...e.routes.slice(0,a),c!==l.params?Object.assign({},l,{params:c}):e.routes[a]]})}case"GO_BACK":return e.index>0?t.getStateForAction(e,{type:"POP",payload:{count:1},target:n.target,source:n.source},r):null;case"PRELOAD":{if(!e.routeNames.includes(n.payload.name))return null;const t=r.routeGetIdList[n.payload.name],a=t?.({params:n.payload.params});let o;return void 0!==a&&(o=e.routes.find(e=>e.name===n.payload.name&&a===t?.({params:e.params}))),o?Object.assign({},e,{routes:e.routes.map(e=>e.key!==o?.key?e:Object.assign({},e,{params:m({action:n,routeParamList:i})}))}):Object.assign({},e,{preloadedRoutes:e.preloadedRoutes.filter(e=>e.name!==n.payload.name||a!==t?.({params:e.params})).concat(x({action:n,routeParamList:i}))})}default:return h.getStateForAction(e,n)}},actionCreators:C});return t}var A=r(36665),T=r(76022);function I(){const e=[...Object.keys(i),"addListener","removeListener","resetRoot","dispatch","isFocused","canGoBack","getRootState","getState","getParent","getCurrentRoute","getCurrentOptions"],t={},n=(e,n)=>{t[e]&&(t[e]=t[e].filter(e=>e!==n))};let r=null;return Object.assign({get current(){return r},set current(e){r=e,null!=e&&Object.entries(t).forEach(([t,n])=>
23{n.forEach(n=>{e.addListener(t,n)})})},isReady:()=>null!=r&&r.isReady()},e.reduce((e,i)=>(e[i]=(...e)=>{if(null!=r)return r[i](...e);switch(i){case"addListener":{const[r,i]=e;return t[r]=t[r]||[],t[r].push(i),()=>n(r,i)}case"removeListener":{const[t,r]=e;n(t,r);break}}},e),{}))}const R=A.createContext(!1);var O=r(60397);const D=A.createContext(void 0);function N({children:e}){const t=A.useRef(void 0),n=A.useMemo(()=>({register(e){const n=t.current;if(void 0!==n&&e!==n)throw new Error('Another navigator is already registered for this container. You likely have multiple navigators under a single "NavigationContainer" or "Screen". Make sure each navigator is under a separate "Screen" container. See https://reactnavigation.org/docs/nesting-navigators for a guide on nesting.');t.current=e},unregister(e){e===t.current&&(t.current=void 0)}}),[]);return(0,O.jsx)(D.Provider,{value:n,children:e})}function j(e){let t=e;for(;null!=t?.routes[t.index??0].state;)t=t.routes[t.index??0].state;const n=t?.routes[t?.index??0];return n}const F=A.createContext({onDispatchAction:()=>{},onOptionsChange:()=>{},scheduleUpdate:()=>{throw new Error("Couldn't find a context for scheduling updates.")},flushUpdates:()=>{throw new Error("Couldn't find a context for flushing updates.")}}),M=A.createContext(void 0),V=A.createContext(!1),P="Couldn't find a navigation context. Have you wrapped your app with 'NavigationContainer'? See https://reactnavigation.org/docs/getting-started for setup instructions.",L=A.createContext({isDefault:!0,get getKey(){throw new Error(P)},get setKey(){throw new Error(P)},get getState(){throw new Error(P)},get setState(){throw new Error(P)},get getIsInitial(){throw new Error(P)}}),B=A.createContext(void 0);function H({value:e,children:t}){return(0,O.jsx)(B.Provider,{value:e,children:t})}B.displayName="ThemeContext";const W=A.createContext(void 0);function z(){const{current:e}=A.useRef({action:[],focus:[]}),t=A.useCallback((t,n)=>{e[t].push(n);let r=!1;return()=>{const i=e[t].indexOf(n);!r&&i>-1&&(r=!0,e[t].splice(i,1))}},[e]);return{listeners:e,addListener:t}}function Y(e){const t=A.useRef(e);A.useEffect(()=>{t.current=e});const n=A.useRef(Object.create(null)),r=A.useCallback(e=>{const t=(t,r)=>{const i=n.current[t]?n.current[t][e]:void 0;if(!i)return;const a=i.indexOf(r);a>-1&&i.splice(a,1)};return{addListener:(r,i)=>{n.current[r]=n.current[r]||{},n.current[r][e]=n.current[r][e]||[],n.current[r][e].push(i);let a=!1;return()=>{a||(a=!0,t(r,i))}},removeListener:t}},[]),i=A.useCallback(({type:e,data:r,target:i,canPreventDefault:a})=>{const o=n.current[e];let s;void 0!==o&&(s=void 0!==i?o[i]?.slice():[].concat(...Object.keys(o).map(e=>o[e])).filter((e,t,n)=>n.lastIndexOf(e)===t));const l={type:{enumerable:!0,value:e}};void 0!==i&&(l.target={enumerable:!0,value:i}),void 0!==r&&(l.data={enumerable:!0,value:r});let c=!1;a&&(l.defaultPrevented={enumerable:!0,get:()=>c},l.preventDefault={enumerable:!0,value(){c=!0}});const u=Object.defineProperties({},l);return t.current?.(u),s?.forEach(e=>e(u)),u},[]);return A.useMemo(()=>({create:r,emit:i}),[r,i])}function U(){const{current:e}=A.useRef(Object.assign(Object.create(null),{getState:{},beforeRemove:{}})),t=A.useCallback((t,n,r)=>(e[t][n]=r,()=>{e[t][n]=void 0}),[e]);return{keyedListeners:e,addKeyedListener:t}}function X(){return A.useContext(V)}function G({key:e,options:t,navigation:n}){const r=A.useRef(t),i=A.useRef({}),{onOptionsChange:a}=A.useContext(F),{addOptionsGetter:o}=A.useContext(L),s=A.useCallback(()=>{const e=n?.isFocused()??!0,t=Object.keys(i.current).length;e&&!t&&a(r.current??{})},[n,a]);A.useEffect(()=>(r.current=t,s(),n?.addListener("focus",s)),[n,t,s]);const l=A.useCallback(()=>{for(const e in i.current)if(e in i.current){const t=i.current[e]?.();if(null!==t)return t}return null},[]),c=A.useCallback(()=>{if(!(n?.isFocused()??!0))return null;const e=l();return null!==e?e:r.current},[n,l]);A.useEffect(()=>o?.(e,c),[c,o,e]);const u=A.useCallback((e,t)=>(i.current[e]=t,s(),()=>{delete i.current[e],s()}),[s]);return{addOptionsGetter:u,getCurrentOptions:c}}const q=["key","routeNames"],J=e=>{if(void 0===e)return;const t=(0,a.default)(e,q);return Object.assign({},t,{stale:!0,routes:e.routes.map(e=>void 0===e.state?e:Object.assign({},e,{state:J(e.state)}))})},$=A.forwardRef(function({initialState:e,onStateChange:t,onReady:n,onUnhandledAction:r,navigationInChildEnabled:a=!1,theme:o,children:s},l){const u=A.useContext(L),d=X();if(!u.isDefault&&!d)throw new Error("Looks like you have nested a 'NavigationContainer' inside another. Normally you need only one container at the root of the app, so this was probably an error. If this was intentional, wrap the container in 'NavigationIndependentTree' explicitly. Note that this will make the child navigators disconnected from the parent and you won't be able to navigate between them.");const{state:p,getState:f,setState:h,scheduleUpdate:m,flushUpdates:g}=function(e){const t=A.useRef((e=>{const t=[];let n,r=!1,i=!1,a=!1;return{getState:()=>(r||(r=!0,n=e()),n),setState:e=>
23{n=e,a=!0,i||t.forEach(e=>e())},batchUpdates:e=>{i=!0,e(),i=!1,a&&(a=!1,t.forEach(e=>e()))},subscribe:e=>(t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)})}})(e)).current,n=A.useSyncExternalStore(t.subscribe,t.getState,t.getState);A.useDebugValue(n);const r=A.useRef([]),i=(0,T.default)(e=>{r.current.push(e)}),a=(0,T.default)(()=>{const e=r.current;r.current=[],0!==e.length&&t.batchUpdates(()=>{for(const t of e)t()})});return{state:n,getState:t.getState,setState:t.setState,scheduleUpdate:i,flushUpdates:a}}(()=>J(null==e?void 0:e)),y=A.useRef(!0),v=A.useRef(void 0),b=A.useCallback(()=>v.current,[]),_=A.useCallback(e=>{v.current=e},[]),{listeners:w,addListener:k}=z(),{keyedListeners:S,addKeyedListener:x}=U(),C=(0,T.default)(e=>{null==w.focus[0]||w.focus[0](t=>t.dispatch(e))}),E=(0,T.default)(()=>{if(null==w.focus[0])return!1;const{result:e,handled:t}=w.focus[0](e=>e.canGoBack());return!!t&&e}),I=(0,T.default)(e=>{const t=e?.key??S.getState.root?.().key;null==t||w.focus[0](n=>n.dispatch(Object.assign({},c(e),{target:t})))}),D=(0,T.default)(()=>S.getState.root?.()),P=(0,T.default)(()=>{const e=D();if(null==e)return;return j(e)}),B=(0,T.default)(()=>null!=w.focus[0]),q=Y(),{addOptionsGetter:$,getCurrentOptions:K}=G({}),Z=A.useMemo(()=>Object.assign({},Object.keys(i).reduce((e,t)=>(e[t]=(...e)=>C(i[t](...e)),e),{}),q.create("root"),{dispatch:C,resetRoot:I,isFocused:()=>!0,canGoBack:E,getParent:()=>{},getState:f,getRootState:D,getCurrentRoute:P,getCurrentOptions:K,isReady:B,setOptions:()=>{throw new Error("Cannot call setOptions outside a screen")}}),[E,C,q,K,P,D,f,B,I]);A.useImperativeHandle(l,()=>Z,[Z]);const Q=(0,T.default)((e,t)=>{q.emit({type:"__unsafe_action__",data:{action:e,noop:t,stack:ne.current}})}),ee=A.useRef(void 0),te=(0,T.default)(e=>{ee.current!==e&&(ee.current=e,q.emit({type:"options",data:{options:e}}))}),ne=A.useRef(void 0),re=A.useMemo(()=>({addListener:k,addKeyedListener:x,onDispatchAction:Q,onOptionsChange:te,scheduleUpdate:m,flushUpdates:g,stackRef:ne}),[k,x,Q,te,m,g]),ie=A.useRef(!0),ae=A.useCallback(()=>ie.current,[]),oe=A.useMemo(()=>({state:p,getState:f,setState:h,getKey:b,setKey:_,getIsInitial:ae,addOptionsGetter:$}),[p,f,h,b,_,ae,$]),se=A.useRef(n),le=A.useRef(t);A.useEffect(()=>{ie.current=!1,le.current=t,se.current=n});const ce=A.useRef(!1);A.useEffect(()=>{!ce.current&&B()&&(ce.current=!0,se.current?.(),q.emit({type:"ready"}))},[p,B,q]),A.useEffect(()=>{const e=D();q.emit({type:"state",data:{state:p}}),!y.current&&le.current&&le.current(e),y.current=!1},[D,q,p]);const ue=(0,T.default)(e=>{});return(0,O.jsx)(V.Provider,{value:!1,children:(0,O.jsx)(M.Provider,{value:Z,children:(0,O.jsx)(F.Provider,{value:re,children:(0,O.jsx)(L.Provider,{value:oe,children:(0,O.jsx)(W.Provider,{value:r??ue,children:(0,O.jsx)(R.Provider,{value:a,children:(0,O.jsx)(N,{children:(0,O.jsx)(H,{value:o,children:s})})})})})})})})});function K(e){return null}function Z(e){return null}var Q=r(14878);const ee=A.createContext(void 0);function te(){const e=A.useContext(M),t=A.useContext(ee);if(void 0===t&&void 0===e)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");return t??e}const ne=A.createContext(void 0),re=A.createContext(void 0);function ie(){const e=A.useContext(re),t=te(),n=void 0!==e,r=A.useCallback(e=>{if(n)return()=>{};const r=t.addListener("focus",e),i=t.addListener("blur",e);return()=>{r(),i()}},[n,t]),i=A.useSyncExternalStore(r,t.isFocused,t.isFocused);return e??i}const ae=A.createContext(void 0);A.createContext(void 0);function oe({route:e,navigation:t,children:n}){const r=A.useContext(re),i=A.useContext(ne),a=!(null!=r&&!r)&&i===e.key;return(0,O.jsx)(ae.Provider,{value:e,children:(0,O.jsx)(ee.Provider,{value:t,children:(0,O.jsx)(re.Provider,{value:a,children:n})})})}function se(){const e=A.useContext(ae);if(void 0===e)throw new Error("Couldn't find a route object. Is your component inside a screen in a navigator?");return e}const le=["screen","if"],ce=["screens","groups"],ue=["if"],de=A.memo(({component:e})=>{const t=se();return A.createElement(e,{route:t})});de.displayName="Memo(Screen)";const pe=(e,t)=>Object.entries(t).map(([t,n])=>{let r,i,o={},s=!1;if("screen"in n){const{screen:e,if:t}=n,l=(0,a.default)(n,le);
23i=t,o=l,(0,Q.isValidElementType)(e)?r=e:"config"in e&&(s=!0,r=e.getComponent())}else(0,Q.isValidElementType)(n)?r=n:"config"in n&&(s=!0,r=n.getComponent());if(null==r)throw new Error(`Couldn't find a 'screen' property for the screen '${t}'. This can happen if you passed 'undefined'. You likely forgot to export your component from the file it's defined in, or mixed up default import and named import when importing.`);const l=s?A.createElement(r,{}):(0,O.jsx)(de,{component:r});return()=>null==i||i()?(0,O.jsx)(e,Object.assign({name:t},o,{children:()=>l}),t):null});function fe(e){return e.getComponent()}function he(e,t,n){let r,i=!1;const a=(e,t,o)=>{const s=(e,t)=>Object.fromEntries(Object.entries(e).sort(([e],[n])=>e===t?-1:n===t?1:0).map(([e,s])=>{const l={};let c;"linking"in s&&("string"===typeof s.linking?l.path=s.linking:Object.assign(l,s.linking),"string"===typeof l.path&&(l.path=l.path.replace(/^\//,"").replace(/\/$/,"")));const u=o||null!=l.path&&""!==l.path;return"config"in s?c=a(s,void 0,u):"screen"in s&&"config"in s.screen&&(s.screen.config.screens||s.screen.config.groups)&&(c=a(s.screen,void 0,u)),c&&(l.screens=c),!n||l.screens||"linking"in s&&null==s.linking||(null!=l.path?o||(e===t&&null!=l.path?i=!0:""===l.path&&(r=void 0)):(o||null!=r||(r=l),l.path=e.replace(/([A-Z]+)/g,"-$1").replace(/^-/,"").toLowerCase())),[e,l]}).filter(([,e])=>Object.keys(e).length>0)),l={};for(const n in e.config)"screens"===n&&e.config.screens&&Object.assign(l,s(e.config.screens,t?.initialRouteName??e.config.initialRouteName)),"groups"===n&&e.config.groups&&Object.entries(e.config.groups).forEach(([,n])=>{Object.assign(l,s(n.screens,t?.initialRouteName??e.config.initialRouteName))});if(0!==Object.keys(l).length)return l},o=a(e,t,!1);return n&&r&&!i&&(r.path=""),o}function me(e){const t=e.displayName??e.name??"Navigator";return function(n){if(null!=n){const r=function(e,t){const{Navigator:n,Group:r,Screen:i,config:o}=e,{screens:s,groups:l}=o,c=(0,a.default)(o,ce);if(null==s&&null==l)throw new Error("Couldn't find a 'screens' or 'groups' property. Make sure to define your screens under a 'screens' property in the configuration.");const u=[];for(const p in o)"screens"===p&&s&&u.push(...pe(i,s)),"groups"===p&&l&&u.push(...Object.entries(l).map(([e,t])=>{let{if:n}=t,o=(0,a.default)(t,ue);const s=pe(i,o.screens);return()=>{const t=s.map(e=>e());return null==n||n()?(0,O.jsx)(r,Object.assign({navigationKey:e},o,{children:t}),e):null}}));if(0===u.length)throw new Error("Couldn't find any screens in the 'screens' or 'groups' property. Make sure to define at least one screen in the configuration.");const d=e=>{const t=u.map(e=>e()),r="function"===typeof e.screenOptions||"function"===typeof c.screenOptions?t=>Object.assign({},"function"===typeof c.screenOptions?c.screenOptions(t):c.screenOptions,"function"===typeof e.screenOptions?e.screenOptions(t):e.screenOptions):Object.assign({},c.screenOptions,e.screenOptions),i="function"===typeof e.screenListeners||"function"===typeof c.screenListeners?t=>Object.assign({},"function"===typeof c.screenListeners?c.screenListeners(t):c.screenListeners,"function"===typeof e.screenListeners?e.screenListeners(t):e.screenListeners):Object.assign({},c.screenListeners,e.screenListeners);return(0,O.jsx)(n,Object.assign({},c,e,{screenOptions:r,screenListeners:i,children:t}))};return d.displayName=t,d}({Navigator:e,Screen:Z,Group:K,config:n},t);return{config:n,with(e){const i=()=>A.createElement(e,{Navigator:r});return i.displayName=`${t}With`,{config:n,getComponent:()=>i}},getComponent:()=>r}}return{Navigator:e,Screen:Z,Group:K}}}const ge=A.createContext(void 0),ye=new WeakMap;function ve(e,t){let n;if(t){const e=ye.get(t);e?n=e:(n=be(t),ye.set(t,n))}else n={};const r=null!=e.index?e.routes.slice(0,e.index+1):e.routes;if(0===r.length)return;if(!(1===r.length&&void 0===r[0].key||2===r.length&&void 0===r[0].key&&r[0].name===n?.initialRouteName&&void 0===r[1].key))return{type:"RESET",payload:e};const i=e.routes[e.index??e.routes.length-1];let a=i?.state,o=n?.screens?.[i?.name],s=Object.assign({},i.params);const l=i?{name:i.name,path:i.path,params:s}:void 0;for(l&&o?.screens&&Object.keys(o.screens).length&&(l.pop=!0);a;){if(0===a.routes.length)return;const e=null!=a.index?a.routes.slice(0,a.index+1):a.routes,t=e[e.length-1];if(Object.assign(s,{initial:void 0,screen:void 0,params:void 0,state:void 0}),1===e.length&&void 0===e[0].key)s.initial=!0,s.screen=t.name;else{if(2!==e.length||void 0!==e[0].key||e[0].name!==o?.initialRouteName||void 0!==e[1].key){s.state=a;break}s.initial=!1,s.screen=t.name}t.state?(s.params=Object.assign({},t.params),s.pop=!0,s=s.params):(s.path=t.path,s.params=t.params),a=t.state,o=o?.screens?.[t.name],o?.screens&&Object.keys(o.screens).length&&(s.pop=!0)}return(l?.params.screen||l?.params.state)&&(l.pop=!0),l?{type:"NAVIGATE",payload:l}:void 0}const be=e=>"object"===typeof e&&null!=e?{initialRouteName:e.initialRouteName,screens:null!=e.screens?_e(e.screens):void 0}:{},_e=e=>Object.entries(e).reduce((e,[t,n])=>(e[t]=be(n),e),{});function we(e,t){if(e===t)return!0;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>Object.is(e[n],t[n]))}const ke=["state"],Se=Symbol("CHILD_STATE");function xe(e){const t=e[Se]??e.state,n=e.params;
23return t?t.routes[t.index??("string"===typeof t.type&&"stack"!==t.type?0:t.routes.length-1)].name:"string"===typeof n?.screen?n.screen:void 0}var Ce=r(79456);function Ee(e){const t=[];let n={segment:""},r=!1,i=!1,a=0;for(let s=0;s<=e.length;s++){const o=e[s];if(null!=o&&(n.segment+=o),":"===o){if(":"===n.segment)i=!0;else if(!r)throw new Error(`Encountered ':' in the middle of a segment in path: ${e}`)}else if("("===o){if(!i)throw new Error(`Encountered '(' without preceding ':' in path: ${e}`);r?a++:r=!0}else if(")"===o){if(!i||!r)throw new Error(`Encountered ')' without preceding '(' in path: ${e}`);a?(a--,n.regex+=o):(r=!1,i=!1)}else if("?"===o){if(!n.param)throw new Error(`Encountered '?' without preceding ':' in path: ${e}`);i=!1,n.optional=!0}else if(null==o||"/"===o&&!r){if(i=!1,n.segment=n.segment.replace(/\/$/,""),""===n.segment)continue;if(n.param&&(n.param=n.param.replace(/^:/,"")),n.regex&&(n.regex=n.regex.replace(/^\(/,"").replace(/\)$/,"")),t.push(n),null==o)break;n={segment:""}}r&&(n.regex=n.regex||"",n.regex+=o),i&&!r&&(n.param=n.param||"",n.param+=o)}if(r)throw new Error(`Could not find closing ')' in path: ${e}`);const o=t.map(e=>e.param).filter(Boolean);for(const[s,l]of o.entries())if(o.indexOf(l)!==s)throw new Error(`Duplicate param name '${l}' found in path: ${e}`);return t}const Ae=e=>Object.entries(e).map(([e,t])=>`- ${e} (${t})`).join("\n");
23function Te(e,t=!0){const n=Object.assign({path:"string",initialRouteName:"string",screens:"object"},t?null:{alias:"array",exact:"boolean",stringify:"object",parse:"object"});if("object"!==typeof e||null===e)throw new Error(`Expected the configuration to be an object, but got ${JSON.stringify(e)}.`);const r=Object.fromEntries(Object.keys(e).map(t=>{if(!(t in n))return[t,"extraneous"];{const r=n[t],i=e[t];if(void 0!==i)if("array"===r){if(!Array.isArray(i))return[t,`expected 'Array', got '${typeof i}'`]}else if(typeof i!==r)return[t,`expected '${r}', got '${typeof i}'`]}return null}).filter(Boolean));if(Object.keys(r).length)throw new Error(`Found invalid properties in the configuration:\n${Ae(r)}\n\nYou can only specify the following properties:\n${Ae(n)}\n\nIf you want to specify configuration for screens, you need to specify them under a 'screens' property.\n\nSee https://reactnavigation.org/docs/configuring-links for more details on how to specify a linking configuration.`);if(t&&"path"in e&&"string"===typeof e.path&&e.path.includes(":"))throw new Error(`Found invalid path '${e.path}'. The 'path' in the top-level configuration cannot contain patterns for params.`);"screens"in e&&e.screens&&Object.entries(e.screens).forEach(([e,t])=>{"string"!==typeof t&&Te(t,!1)})}const Ie=e=>{const t="number"===typeof e.index?e.routes[e.index]:e.routes[e.routes.length-1];return t.state?Ie(t.state):t},Re=new WeakMap;function Oe(e,t){if(null==e)throw Error(`Got '${String(e)}' for the navigation state. You must pass a valid state object.`);t&&Te(t);const n=(e=>{if(!e?.screens)return{};const t=Re.get(e?.screens);if(t)return t;const n=De(e.screens);return Re.set(e.screens,n),n})(t);let r="/",i=e;const a={};for(;i;){let t,o,s="number"===typeof i.index?i.index:0,l=i.routes[s],c=n;const u=Ie(e),d=[];let p=!0;for(;l.name in c&&p;){if(t=c[l.name].parts,d.push(l.name),l.params){const e=c[l.name],n=Object.fromEntries(Object.entries(l.params).map(([t,n])=>{if(void 0===n){if(!e)return null;{const n=e.parts?.find(e=>e.param===t)?.optional;if(n)return null}}return[t,(e?.stringify?.[t]??String)(n)]}).filter(e=>null!=e));t?.length&&Object.assign(a,n),u===l&&(o=Object.assign({},n),t?.forEach(({param:e})=>{e&&o&&delete o[e]}))}if(c[l.name].screens&&void 0!==l.state){s="number"===typeof l.state.index?l.state.index:l.state.routes.length-1;const e=l.state.routes[s],t=c[l.name].screens;t&&e.name in t?(l=e,c=t):p=!1}else p=!1}if(void 0!==c[l.name]?r+=t?.map(({segment:e,param:t,optional:n})=>{if("*"===e)return l.name;if(t){const e=a[t];return void 0===e&&n?"":Array.from(String(e)).map(e=>/[^A-Za-z0-9\-._~!$&'()*+,;=:@]/g.test(e)?encodeURIComponent(e):e).join("")}return encodeURIComponent(e)}).join("/"):r+=encodeURIComponent(l.name),!o&&u.params&&(o=Object.fromEntries(Object.entries(u.params).map(([e,t])=>[e,String(t)]))),l.state)r+="/";else if(o){for(const t in o)"undefined"===o[t]&&delete o[t];const e=Ce.stringify(o,{sort:!1});e&&(r+=`?${e}`)}i=l.state}return t?.path&&(r=`${t.path}/${r}`),r=r.replace(/\/+/g,"/"),r=r.length>1?r.replace(/\/$/,""):r,r.startsWith("/")||(r=`/${r}`),r}const De=(e,t)=>Object.fromEntries(Object.entries(e).map(([e,n])=>{const r=((e,t)=>{if("string"===typeof e){const n=Ee(e);return t?{parts:[...t,...n]}:{parts:n}}if(e.exact&&void 0===e.path)throw new Error("A 'path' needs to be specified when specifying 'exact: true'. If you don't want this screen in the URL, specify it as empty string, e.g. `path: ''`.");const n=!0!==e.exact?[...t||[],...e.path?Ee(e.path):[]]:e.path?Ee(e.path):void 0,r=e.screens?De(e.screens,n):void 0;return{parts:n,stringify:e.stringify,screens:r}})(n,t);return[e,r]}));var Ne=r(81245);function je(e,t){return!(t.length>e.length)&&t.every((t,n)=>t===e[n])}function Fe(e,t){return e===t||e.length===t.length&&e.every((e,n)=>Object.is(e,t[n]))}const Me=["screen","params","initial","path","merge","pop"],Ve=e=>{const t=Object.entries(e??{}).map(([e])=>e);return t.length?new Set(t):void 0};function Pe(e,t){const{initialRoutes:n,configs:r,configsByScreen:i}=function(e){if(!e)return Be();const t=Le.get(e);if(t)return t;const n=Be(e);return Le.set(e,n),n}(t),a=t?.screens;let o=e.replace(/\/+/g,"/").replace(/^\//,"").replace(/\?.*$/,"");o=o.endsWith("/")?o:`${o}/`;const s=t?.path?.replace(/^\//,"");if(s){const e=s.endsWith("/")?s:`${s}/`;if(!o.startsWith(e))return;o=o.replace(e,"")}const l=[];for(const d of o.split("/"))if(d)try{l.push(decodeURIComponent(d))}catch{return}if(void 0===a){const t=l.map(e=>({name:e}));return t.length?Xe(e,t,n):void 0}if("/"===o){const t=r.find(e=>""===e.segments.join("/"));return t?Xe(e,t.routeNames.map(e=>({name:e})),n,t):void 0}const{routes:c,config:u}=He(o,r,i);if(void 0!==c&&void 0!==u)return Xe(e,c,n,u)}const Le=new WeakMap;function Be(e){e&&Te(e);const t=function(e){const t=[];e?.initialRouteName&&t.push({initialRouteName:e.initialRouteName,parentScreens:[]});return t}(e),n=function(e,t={}){return[].concat(...Object.keys(t).map(n=>We(n,t,e,[],[],[]))).sort((e,t)=>
23{if(Fe(e.segments,t.segments))return t.routeNames.join(">").localeCompare(e.routeNames.join(">"));if(je(e.segments,t.segments))return-1;if(je(t.segments,e.segments))return 1;for(let n=0;n<Math.max(e.segments.length,t.segments.length);n++){if(null==e.segments[n])return 1;if(null==t.segments[n])return-1;const r="*"===e.segments[n],i="*"===t.segments[n],a=e.segments[n].startsWith(":"),o=t.segments[n].startsWith(":"),s=a&&e.segments[n].includes("("),l=o&&t.segments[n].includes("(");if(!(r&&i||s&&l)){if(r&&!i)return 1;if(i&&!r)return-1;if(a&&!o)return 1;if(o&&!a)return-1;if(s&&!l)return-1;if(l&&!s)return 1}}return e.segments.length-t.segments.length})}(t,e?.screens);!function(e){e.reduce((e,t)=>{const n=t.segments.join("/");if(e[n]){const r=e[n].routeNames,i=t.routeNames;if(!(r.length>i.length?i.every((e,t)=>r[t]===e):r.every((e,t)=>i[t]===e)))throw new Error(`Found conflicting screens with the same pattern. The pattern '${n}' resolves to both '${r.join(" > ")}' and '${i.join(" > ")}'. Patterns must be unique and cannot resolve to more than one screen.`)}return Object.assign(e,{[n]:t})},{})}(n);const r={};for(const i of n)(r[i.screen]??=[]).push(i);return{initialRoutes:t,configs:n,configsByScreen:r}}const He=(e,t,n)=>{let r,i,a=e;for(const o of t){if(!o.regex)continue;const e=a.match(o.regex);if(e){r=[],i=o;for(const t of o.routeNames){const i=n[t]?.find(e=>je(o.segments,e.segments));let s;if(i&&e.groups){const n=[];for(const[r,o]of Object.entries(e.groups)){const e=Number(r.replace("param_","")),s=i.params.find(t=>t.index===e);if(s?.screen!==t||!s.name)continue;if(null==o){n.push([s.name,void 0]);continue}let l;try{l=decodeURIComponent(o)}catch{return{routes:void 0,remainingPath:a}}const c=i.parse?.[s.name];n.push([s.name,c?c(l):l])}n.length&&(s=Object.fromEntries(n))}s&&Object.keys(s).length?r.push({name:t,params:s}):r.push({name:t})}a=a.replace(e[0],"");break}}return{routes:r,remainingPath:a,config:i}},We=(e,t,n,r,i,a)=>{const o=[];a.push(e),i.push(e);const s=t[e];if("string"===typeof s)r.push({screen:e,path:s}),o.push(ze(e,[...a],[...r]));else if("object"===typeof s){const t=s.screens,l=!!t;if("string"===typeof s.path){if(s.exact&&null==s.path)throw new Error(`Screen '${e}' doesn't specify a 'path'. A 'path' needs to be specified when specifying 'exact: true'. If you don't want this screen in the URL, specify it as empty string, e.g. \`path: ''\`.`);const t=[];if(s.alias)for(const n of s.alias)"string"===typeof n?t.push(ze(e,[...a],[...r,{screen:e,path:n}],s.parse,l)):"object"===typeof n&&t.push(ze(e,[...a],n.exact?[{screen:e,path:n.path}]:[...r,{screen:e,path:n.path}],n.parse,l));s.exact&&(r.length=0),r.push({screen:e,path:s.path}),o.push(ze(e,[...a],[...r],s.parse,l)),o.push(...t)}if("string"!==typeof s&&"string"!==typeof s.path&&s.alias?.length)throw new Error(`Screen '${e}' doesn't specify a 'path'. A 'path' needs to be specified in order to use 'alias'.`);t&&(s.initialRouteName&&n.push({initialRouteName:s.initialRouteName,parentScreens:i}),Object.keys(t).forEach(e=>{const s=We(e,t,n,[...r],[...i],a);o.push(...s)}))}return a.pop(),o},ze=(e,t,n,r,i=!1)=>{const a=[];for(const{screen:o,path:s}of n)a.push(...Ee(s).map(e=>Object.assign({},e,{screen:o})));return{screen:e,regex:a.length?new RegExp(`^(${a.map((e,t)=>{if(e.param){return`(((?<param_${t}>${e.regex||"[^/]+"})\\/)${e.optional?"?":""})`}return`${"*"===e.segment?".*":Ne(e.segment)}\\/`}).join("")})$`):void 0,segments:a.map(e=>e.segment),params:a.map((e,t)=>e.param?{index:t,screen:e.screen,name:e.param}:null).filter(e=>null!=e),routeNames:t,parse:r,explicitParamNames:Ve(r),hasNestedScreens:i}},Ye=(e,t,n)=>{for(const r of n)if(t.length===r.parentScreens.length){let n=!0;for(let e=0;e<t.length;e++)if(0!==t[e].localeCompare(r.parentScreens[e])){n=!1;break}if(n)return e!==r.initialRouteName?r.initialRouteName:void 0}},Ue=(e,t,n)=>n?e?{index:1,routes:[{name:e},t]}:{routes:[t]}:e?{index:1,routes:[{name:e},Object.assign({},t,{state:{routes:[]}})]}:{routes:[Object.assign({},t,{state:{routes:[]}})]},Xe=(e,t,n,r)=>{let i=t.shift();const a=[];let o=Ye(i.name,a,n);a.push(i.name);const s=Ue(o,i,0===t.length);if(t.length>0){let e=s;for(;i=t.shift();){o=Ye(i.name,a,n);const r=e.index||e.routes.length-1;e.routes[r].state=Ue(o,i,0===t.length),t.length>0&&(e=e.routes[r].state),a.push(i.name)}}i=j(s),i.path=e.replace(/\/$/,"");const l=Ge(e,r?.parse,r?.explicitParamNames,r?.hasNestedScreens,i.params);return l&&(i.params=Object.assign({},i.params,l)),s},Ge=(e,t,n,r=!1,i)=>{const a=e.split("?")[1],o=Ce.parse(a);
23if(t&&Object.keys(o).forEach(e=>{Object.hasOwnProperty.call(t,e)&&"string"===typeof o[e]&&(o[e]=t[e](o[e]))}),r&&!n?.has("screen")&&("string"===typeof o.screen||"string"===typeof i?.screen))for(const s of Me)n?.has(s)||delete o[s];return Object.keys(o).length?o:void 0},qe=A.createContext(void 0);function Je({children:e}){return(0,O.jsx)(ae.Provider,{value:void 0,children:(0,O.jsx)(ee.Provider,{value:void 0,children:(0,O.jsx)(re.Provider,{value:void 0,children:(0,O.jsx)(V.Provider,{value:!0,children:e})})})})}const $e=A.createContext(void 0),Ke=A.createContext(void 0);let Ze=(e=21)=>{let t="",n=0|e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t};const Qe=e=>[...e.values()].reduce((e,{routeKey:t,preventRemove:n})=>(e[t]={preventRemove:e[t]?.preventRemove||n},e),{});function et({children:e}){const[t]=A.useState(()=>Ze()),[n,r]=A.useState(()=>new Map),i=A.useContext(qe),a=A.useContext(ae),o=A.useContext(Ke),s=o?.setPreventRemove,l=(0,T.default)((e,t,n)=>{if(n&&(null==i||i?.getState().routes.every(e=>e.key!==t)))throw new Error(`Couldn't find a route with the key ${t}. Is your component inside NavigationContent?`);r(r=>{if(t===r.get(e)?.routeKey&&n===r.get(e)?.preventRemove)return r;const i=new Map(r);return n?i.set(e,{routeKey:t,preventRemove:n}):i.delete(e),i})}),c=[...n.values()].some(({preventRemove:e})=>e);A.useEffect(()=>{if(void 0!==a?.key&&void 0!==s)return s(t,a.key,c),()=>{s(t,a.key,!1)}},[t,c,a?.key,s]);const u=A.useMemo(()=>({setPreventRemove:l,preventedRoutes:Qe(n)}),[l,n]);return(0,O.jsx)(Ke.Provider,{value:u,children:e})}function tt(){const e=A.useContext(B);if(null==e)throw new Error("Couldn't find a theme. Is your component inside NavigationContainer or does it have a theme?");return e}class nt{}function rt(e){const t=te();if(void 0!==arguments[1]){}A.useEffect(()=>{let n,r=!1;const i=()=>{const t=e();if(void 0===t||"function"===typeof t)return t};t.isFocused()&&(n=i(),r=!0);const a=t.addListener("focus",()=>{r||(void 0!==n&&n(),n=i(),r=!0)}),o=t.addListener("blur",()=>{void 0!==n&&n(),n=void 0,r=!1});return()=>{void 0!==n&&n(),a(),o()}},[e,t])}var it=r(7976);const at=A.createContext(void 0),ot="undefined"!==typeof document||"undefined"!==typeof navigator&&"ReactNative"===navigator.product?A.useLayoutEffect:A.useEffect,st=({render:e,children:t})=>e(t);function lt(e){const t=A.useRef(e);return t.current=e,A.useEffect(()=>{t.current=null}),A.useRef(({children:e})=>{const n=t.current;if(null===n)throw new Error("The returned component must be rendered in the same render phase as the hook.");return(0,O.jsx)(st,{render:n,children:e})}).current}var ct=r(59526);const ut=A.createContext(void 0),dt=A.memo(function(e){return e.children},(e,t)=>{const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const i of n)if("children"!==i&&e[i]!==t[i])return!1;return!0});function pt({screen:e,route:t,navigation:n,routeState:r,getState:i,setState:a,options:o,clearOptions:s}){const l=A.useRef(void 0),c=A.useCallback(()=>l.current,[]),{addOptionsGetter:u}=G({key:t.key,options:o,navigation:n}),d=A.useCallback(e=>{l.current=e},[]),p=A.useCallback(()=>{const e=i().routes.find(e=>e.key===t.key);return e?e.state:void 0},[i,t.key]),f=A.useCallback(e=>{const n=i(),r=n.routes.map(n=>n.key===t.key&&n.state!==e?Object.assign({},n,{state:e}):n);Fe(n.routes,r)||a(Object.assign({},n,{routes:r}))},[i,t.key,a]),h=A.useRef(!0);A.useEffect(()=>{h.current=!1}),A.useEffect(()=>s,[]);const m=A.useCallback(()=>h.current,[]),g=A.useContext(ut),[y,v]=A.useState(null),b=A.useMemo(()=>({isConsumed:e=>!!y&&y.has(e),setConsumed:e=>{v(t=>{if(t&&t.has(e))return t;const n=new WeakMap;return n.set(e,!0),n})}}),[y]),_=A.useMemo(()=>{const e={routes:[{key:t.key,name:t.name,params:t.params,path:t.path}]},n=t=>{const r=t?.routes[0];return r?{routes:[Object.assign({},r,{state:n(r.state)})]}:e};return n(g)},[g,t.key,t.name,t.params,t.path]),w=A.useMemo(()=>({state:r,getState:p,setState:f,getKey:c,setKey:d,getIsInitial:m,addOptionsGetter:u}),[r,p,f,c,d,m,u]),k=e.getComponent?e.getComponent():e.component;return(0,O.jsx)(at.Provider,{value:b,children:(0,O.jsx)(L.Provider,{value:w,children:(0,O.jsx)(ut.Provider,{value:_,children:(0,O.jsx)(N,{children:(0,O.jsx)(dt,{name:e.name,render:k||e.children,navigation:n,route:t,children:void 0!==k?(0,O.jsx)(k,{navigation:n,route:t}):void 0!==e.children?e.children({navigation:n,route:t}):null})})})})})}const ft=["emit"];function ht({state:e,screens:t,navigation:n,screenOptions:r,screenLayout:o,onAction:s,getState:l,setState:c,addListener:u,addKeyedListener:d,onRouteFocus:p,router:f,emitter:h}){const m=A.useContext(B),[g,y]=A.useState({}),{onDispatchAction:v,onOptionsChange:b,scheduleUpdate:_,flushUpdates:w,stackRef:k}=A.useContext(F),S=A.useMemo(()=>({navigation:n,onAction:s,addListener:u,addKeyedListener:d,onRouteFocus:p,onDispatchAction:v,onOptionsChange:b,scheduleUpdate:_,flushUpdates:w,stackRef:k}),[n,s,u,d,p,v,b,_,w,k]),{base:x,navigations:C}=function({state:e,getState:t,navigation:n,setOptions:r,router:o,emitter:s}
23){const{stackRef:l}=A.useContext(F),c=A.useMemo(()=>{const e=(0,a.default)(n,ft),t=Object.assign({},o.actionCreators,i),r=()=>{throw new Error("Actions cannot be dispatched from a placeholder screen.")},s=Object.keys(t).reduce((e,t)=>(e[t]=r,e),{});return Object.assign({},e,s,{addListener:()=>()=>{},removeListener:()=>{},dispatch:r,getParent:t=>void 0!==t&&t===e.getId()?c:e.getParent(t),setOptions:()=>{throw new Error("Options cannot be set from a placeholder screen.")},isFocused:()=>!1})},[n,o.actionCreators]),u=A.useMemo(()=>({current:{}}),[c,t,n,r,s]);return u.current=e.routes.reduce((e,a)=>{const l=u.current[a.key];if(l)e[a.key]=l;else{const l=e=>{const r="function"===typeof e?e(t()):e;null!=r&&n.dispatch(Object.assign({source:a.key},r))},u=e=>{try{e()}finally{}},d=Object.assign({},o.actionCreators,i),p=Object.keys(d).reduce((e,t)=>(e[t]=(...e)=>u(()=>l(d[t](...e))),e),{});e[a.key]=Object.assign({},c,p,s.create(a.key),{dispatch:e=>u(()=>l(e)),getParent:t=>void 0!==t&&t===c.getId()?e[a.key]:c.getParent(t),setOptions:e=>{r(t=>Object.assign({},t,{[a.key]:Object.assign({},t[a.key],e)}))},isFocused:()=>{const e=c.getState();return e.routes[e.index].key===a.key&&(!n||n.isFocused())}})}return e},{}),{base:c,navigations:u.current}}({state:e,getState:l,navigation:n,setOptions:y,router:f,emitter:h}),E=function(e){const t=A.useMemo(()=>({current:new Map}),[]);return t.current=e.reduce((e,n)=>{const r=t.current.get(n.key),{state:i}=n,o=(0,a.default)(n,ke);let s;return s=r&&we(r,o)?r:o,Object.defineProperty(s,Se,{enumerable:!1,configurable:!0,value:i}),e.set(n.key,s),e},new Map),Array.from(t.current.values())}(e.routes),T=(e,n,i)=>{const a=t[e.name],o=a.props;return[r,...a.options?a.options.filter(Boolean):[],o.options,i].reduce((t,r)=>Object.assign(t,"function"!==typeof r?r:r({route:e,navigation:n,theme:m})),{})},I=(e,n,r,i)=>{const s=t[e.name],u=s.props,d=u.layout??s.layout??o;let p=(0,O.jsx)(pt,{navigation:n,route:e,screen:u,routeState:i,getState:l,setState:c,options:r,clearOptions:()=>y(t=>{if(e.key in t){var n;return(0,a.default)(t,[n].map(ct.default))}return t})});return null!=d&&(p=d({route:e,navigation:n,options:r,theme:m,children:p})),(0,O.jsx)(F.Provider,{value:S,children:(0,O.jsx)(oe,{route:e,navigation:n,children:p})},e.key)},R=E.reduce((t,n,r)=>{const i=C[n.key],a=T(n,i,g[n.key]),o=I(n,i,a,e.routes[r].state);return t[n.key]={route:n,navigation:i,render:()=>o,options:a},t},{});return{describe:(e,t)=>{if(!t){if(!(e.key in R))throw new Error(`Couldn't find a route with the key ${e.key}.`);return R[e.key]}const n=x,r=T(e,n,{}),i=I(e,n,r,void 0);return{route:e,navigation:n,render:()=>i,options:r}},descriptors:R}}var mt=r(14831);function gt(e){const t=A.useContext(vt);if(null==t)throw new Error("Couldn't get the navigation state. Is your component inside a navigator?");return(0,mt.useSyncExternalStoreWithSelector)(t.subscribe,t.getState,t.getState,e)}function yt({state:e,children:t}){const n=A.useRef([]),r=A.useRef(e),i=(0,T.default)(()=>r.current),a=(0,T.default)(e=>(n.current.push(e),()=>{n.current=n.current.filter(t=>t!==e)}));A.useLayoutEffect(()=>{r.current=e,n.current.forEach(e=>e())},[e]);const o=A.useMemo(()=>({getState:i,subscribe:a}),[i,a]);return(0,O.jsx)(vt.Provider,{value:o,children:t})}const vt=A.createContext(void 0),bt=Symbol("VISITED_ROUTE_KEYS"),_t=(e,t,n,r,i)=>{const a=r.map(e=>e.key),o=n.filter(e=>!a.includes(e.key)).reverse(),s=i[bt]??new Set,l=Object.assign({},i,{[bt]:s});for(const c of o){if(s.has(c.key))continue;const n=t[c.key]?.(l);if(n)return!0;s.add(c.key);if(e.emit({type:"beforeRemove",target:c.key,data:{action:l},canPreventDefault:!0}).defaultPrevented)return!0}return!1};function wt({router:e,getState:t,setState:n,key:r,actionListeners:i,beforeRemoveListeners:a,routerConfigOptions:o,emitter:s}){const{onAction:l,onRouteFocus:c,addListener:u,onDispatchAction:d}=A.useContext(F),p=A.useContext(R),f=A.useRef(o);A.useEffect(()=>{f.current=o});const h=A.useCallback((o,u=new Set)=>{const h=t();if(u.has(h.key))return!1;if(u.add(h.key),"string"!==typeof o.target||o.target===h.key){let t=e.getStateForAction(h,o,f.current);if(t=null===t&&o.target===h.key?h:t,null!==t){if(d(o,h===t),h!==t){if(_t(s,a,h.routes,t.routes,o))return!0;n(t)}if(void 0!==c){e.shouldActionChangeFocus(o)&&void 0!==r&&c(r)}return!0}}if(void 0!==l&&l(o,u))return!0;
23if("string"===typeof o.target||"NAVIGATE_DEPRECATED"===o.type||p)for(let e=i.length-1;e>=0;e--){if((0,i[e])(o,u))return!0}return!1},[i,a,s,t,p,r,l,d,c,e,n]);return function({getState:e,emitter:t,beforeRemoveListeners:n}){const{addKeyedListener:r}=A.useContext(F),i=A.useContext(ae),a=i?.key;A.useEffect(()=>{if(a)return r?.("beforeRemove",a,r=>{const i=e();return _t(t,n,i.routes,[],r)})},[r,n,t,e,a])}({getState:t,emitter:s,beforeRemoveListeners:a}),A.useEffect(()=>u?.("action",h),[u,h]),h}const kt=["children","layout","screenOptions","screenLayout","screenListeners","UNSTABLE_router"],St=e=>null!=e&&"object"===typeof e&&"routes"in e&&Array.isArray(e.routes),xt=(e,t,n,r)=>A.Children.toArray(e).reduce((e,i)=>{if(A.isValidElement(i)){if((e=>e.type===Z)(i)){if("object"!==typeof i.props||null===i.props)throw new Error("Got an invalid element for screen.");if("string"!==typeof i.props.name||""===i.props.name)throw new Error(`Got an invalid name (${JSON.stringify(i.props.name)}) for the screen. It must be a non-empty string.`);if(void 0!==i.props.navigationKey&&("string"!==typeof i.props.navigationKey||""===i.props.navigationKey))throw new Error(`Got an invalid 'navigationKey' prop (${JSON.stringify(i.props.navigationKey)}) for the screen '${i.props.name}'. It must be a non-empty string or 'undefined'.`);return e.push({keys:[t,i.props.navigationKey],options:n,layout:r,props:i.props}),e}if((e=>e.type===A.Fragment||e.type===K)(i)){if(void 0!==(a=i.props.navigationKey)&&("string"!==typeof a||""===a))throw new Error(`Got an invalid 'navigationKey' prop (${JSON.stringify(i.props.navigationKey)}) for the group. It must be a non-empty string or 'undefined'.`);return e.push(...xt(i.props.children,i.props.navigationKey,i.type!==K?n:null!=n?[...n,i.props.screenOptions]:[i.props.screenOptions],"function"===typeof i.props.screenLayout?i.props.screenLayout:r)),e}}var a;throw new Error(`A navigator can only contain 'Screen', 'Group' or 'React.Fragment' as its direct children (found ${A.isValidElement(i)?`'${"string"===typeof i.type?i.type:i.type?.name}'${null!=i.props&&"object"===typeof i.props&&"name"in i.props&&i.props?.name?` for the screen '${i.props.name}'`:""}`:"object"===typeof i?JSON.stringify(i):`'${String(i)}'`}). To render this component in the navigator, pass it in the 'component' prop to 'Screen'.`)},[]),Ct=e=>{const t=e?.state;return St(t)?t:"string"===typeof e?.screen&&!1!==e?.initial?{routes:[{name:e.screen,params:e.params,path:e.path}]}:void 0};function Et(e,t){const n=function(){const[e]=A.useState(()=>Ze()),t=A.useContext(D);if(void 0===t)throw new Error("Couldn't register the navigator. Have you wrapped your app with 'NavigationContainer'?\n\nThis can also happen if there are multiple copies of '@react-navigation' packages installed.");return A.useEffect(()=>{const{register:n,unregister:r}=t;return n(e),()=>r(e)},[t,e]),e}(),r=A.useContext(ae),o=A.useContext(at),l="object"===typeof r?.params&&null!=r.params&&o?.isConsumed(r.params),{children:u,layout:d,screenOptions:p,screenLayout:f,screenListeners:h,UNSTABLE_router:m}
23=t,g=(0,a.default)(t,kt),y=xt(u),v=function(e){const t=A.useRef(void 0);return void 0===t.current&&(t.current=e()),t.current}(()=>{if(null!=g.initialRouteName&&y.every(e=>e.props.name!==g.initialRouteName))throw new Error(`Couldn't find a screen named '${g.initialRouteName}' to use as 'initialRouteName'.`);const t=e(g);if(null!=m){const e=m(t);return Object.assign({},t,e)}return t}),b=y.map(e=>e.props.name);if(!b.length)throw new Error("Couldn't find any screens for the navigator. Have you defined any screens as its children?");const _={},w={},k={},S={};for(const i of y){const e=i.props.name;if(e in _)throw new Error(`A navigator cannot contain multiple 'Screen' components with the same name (found duplicate screen named '${e}')`);_[e]=i,w[e]=i.keys.map(e=>e??"").join(":"),k[e]=i.props.initialParams,Object.assign(S,{[e]:i.props.getId})}const x=A.useCallback(e=>void 0===e.type||e.type===v.type,[v.type]),C=A.useCallback(e=>void 0!==e&&!1===e.stale&&x(e),[x]),E=A.useCallback(e=>e.routes.every(e=>!b.includes(e.name)),[b]),{state:I,getState:R,setState:N,setKey:j,getKey:M,getIsInitial:V}=A.useContext(L),P=A.useRef(!1),B=A.useRef(void 0),H=(0,T.default)(e=>{P.current?B.current=e:N(e)}),[X,G,q,J]=A.useMemo(()=>{if(P.current&&B.current&&x(B.current)){return[void 0,C(B.current)?B.current:v.getRehydratedState(B.current,{routeNames:b,routeParamList:k,routeGetIdList:S}),!1,void 0]}const e=b.reduce((e,t)=>{const{initialParams:n}=_[t].props,i=null==r?.params?.state&&!1!==r?.params?.initial&&r?.params?.screen===t?r.params.params:void 0;return e[t]=void 0!==n||void 0!==i?Object.assign({},n,i):void 0,e},{});if(void 0!==I&&x(I)||null!=r?.params?.state||"string"===typeof r?.params?.screen&&!1!==r?.params?.initial||l){const n=l?void 0:r?.params,i=(n?Ct(n):void 0)??I,a=null==i?v.getInitialState({routeNames:b,routeParamList:e,routeGetIdList:S}):v.getRehydratedState(i,{routeNames:b,routeParamList:e,routeGetIdList:S});return null!=i&&"lastUnhandled"===t.UNSTABLE_routeNamesChangeBehavior&&E(i)?[i,a,!0,n]:[void 0,a,!1,n]}return[void 0,v.getInitialState({routeNames:b,routeParamList:e,routeGetIdList:S}),!0,void 0]},[I,v,x]),$=A.useRef(w);A.useEffect(()=>{$.current=w});const K=$.current,[Z,Q]=A.useState(X);"lastUnhandled"===t.UNSTABLE_routeNamesChangeBehavior&&X&&Z!==X&&Q(X);let te=C(I)?I:G,re=te,ie=!1;Z?.routes.every(e=>b.includes(e.name))&&te?.routes.every(e=>!b.includes(e.name))?(ie=!0,re=v.getRehydratedState(Z,{routeNames:b,routeParamList:k,routeGetIdList:S})):Fe(te.routeNames,b)&&we(w,K)||(re=v.getStateForRouteNamesChange(te,{routeNames:b,routeParamList:k,routeGetIdList:S,routeKeyChanges:Object.keys(w).filter(e=>e in K&&w[e]!==K[e])}));let oe=r?.params===J;if(r?.params&&!oe){let e;const n=r.params.state;if(St(n)&&!l)oe=!0,"lastUnhandled"===t.UNSTABLE_routeNamesChangeBehavior&&E(n)?n!==Z&&Q(n):e=c(n);else if("string"===typeof r.params.screen&&(!1===r.params.initial&&q||!l))if(oe=!0,"lastUnhandled"!==t.UNSTABLE_routeNamesChangeBehavior||b.includes(r.params.screen))e=s({name:r.params.screen,params:r.params.params,path:r.params.path,merge:r.params.merge,pop:r.params.pop});else{const e=Ct(r.params);null==e||it(e,Z)||Q(e)}const i=e?v.getStateForAction(re,e,{routeNames:b,routeParamList:k,routeGetIdList:S}):null;re=null!==i?v.getRehydratedState(i,{routeNames:b,routeParamList:k,routeGetIdList:S}):re}const se=o?.setConsumed;A.useEffect(()=>{se&&oe&&"object"===typeof r?.params&&null!=r.params&&se(r.params)},[oe,r?.params,se]);const le=te!==re;!function(e){const{scheduleUpdate:t,flushUpdates:n}=A.useContext(F);t(e),ot(n)}(()=>{le&&(H(re),ie&&Q(void 0))}),te=re,A.useEffect(()=>{B.current=te});const ce=A.useRef(null);A.useEffect(()=>(P.current=!1,j(n),V()||ce.current===te||(H(te),ce.current=te),()=>{void 0!==R()&&M()===n&&(N(void 0),P.current=!0)}),[]);const ue=A.useRef(te);ue.current=te,ot(()=>{ue.current=null});const de=(0,T.default)(()=>{const e=R();return C(e)?e:G}),pe=Y(e=>{const t=[];let n;if(e.target?(n=te.routes.find(t=>t.key===e.target),n?.name&&t.push(n.name)):(n=te.routes[te.index],t.push(...Object.keys(_).filter(e=>n?.name===e))),null==n)return;const r=t.some(e=>null!=_[e].props.listeners);if(null!=h||r){const r=Ce[n.key].navigation;[].concat(...[h,...t.map(e=>{const{listeners:t}=_[e].props;return t})].map(t=>{const i="function"===typeof t?t({route:n,navigation:r}):t;return i?Object.keys(i).filter(t=>t===e.type).map(e=>i?.[e]):void 0}
23)).filter((e,t,n)=>e&&n.lastIndexOf(e)===t).forEach(t=>t?.(e))}});!function({state:e,emitter:t}){const n=A.useContext(ee),r=A.useRef(void 0),i=e.routes[e.index].key;A.useEffect(()=>n?.addListener("focus",()=>{r.current=i,t.emit({type:"focus",target:i})}),[i,t,n]),A.useEffect(()=>n?.addListener("blur",()=>{r.current=void 0,t.emit({type:"blur",target:i})}),[i,t,n]),A.useEffect(()=>{const e=r.current;r.current=i,void 0!==e||n||t.emit({type:"focus",target:i}),e===i||n&&!n.isFocused()||void 0!==e&&(t.emit({type:"blur",target:e}),t.emit({type:"focus",target:i}))},[i,t,n])}({state:te,emitter:pe}),A.useEffect(()=>{pe.emit({type:"state",data:{state:te}})},[pe,te]);const{listeners:fe,addListener:he}=z(),{keyedListeners:me,addKeyedListener:ye}=U(),ve=wt({router:v,getState:de,setState:H,key:r?.key,actionListeners:fe.action,beforeRemoveListeners:me.beforeRemove,routerConfigOptions:{routeNames:b,routeParamList:k,routeGetIdList:S},emitter:pe}),be=function({router:e,getState:t,key:n,setState:r}){const{onRouteFocus:i}=A.useContext(F);return A.useCallback(a=>{const o=t(),s=e.getStateForRouteFocus(o,a);s!==o&&r(s),void 0!==i&&void 0!==n&&i(n)},[t,i,e,r,n])}({router:v,key:r?.key,getState:de,setState:H}),_e=A.useContext(W),ke=(0,T.default)(e=>{if("lastUnhandled"===t.UNSTABLE_routeNamesChangeBehavior&&"NAVIGATE"===e.type&&null!=e.payload&&"name"in e.payload&&"string"===typeof e.payload.name&&!b.includes(e.payload.name)){const t={routes:[{name:e.payload.name,params:"params"in e.payload&&"object"===typeof e.payload.params&&null!==e.payload.params?e.payload.params:void 0,path:"path"in e.payload&&"string"===typeof e.payload.path?e.payload.path:void 0}]};Q(t)}_e?.(e)}),Se=function({id:e,onAction:t,onUnhandledAction:n,getState:r,emitter:a,router:o,stateRef:s}){const l=A.useContext(ee);return A.useMemo(()=>{const c=e=>{const i="function"===typeof e?e(r()):e;t(i)||n?.(i)},u=Object.assign({},o.actionCreators,i),d=Object.keys(u).reduce((e,t)=>(e[t]=(...e)=>c(u[t](...e)),e),{}),p=Object.assign({},l,d,{dispatch:c,emit:a.emit,isFocused:l?l.isFocused:()=>!0,canGoBack:()=>{const e=r();return null!==o.getStateForAction(e,{type:"GO_BACK"},{routeNames:e.routeNames,routeParamList:{},routeGetIdList:{}})||l?.canGoBack()||!1},getId:()=>e,getParent:e=>{if(void 0!==e){let t=p;for(;t&&e!==t.getId();)t=t.getParent();return t}return l},getState:()=>null!=s.current?s.current:r()});return p},[o,l,a.emit,r,t,n,e,s])}({id:t.id,onAction:ve,onUnhandledAction:ke,getState:de,emitter:pe,router:v,stateRef:ue});!function({navigation:e,focusedListeners:t}){const{addListener:n}=A.useContext(F),r=A.useCallback(n=>{if(e.isFocused()){for(const e of t){const{handled:t,result:r}=e(n);if(t)return{handled:t,result:r}}return{handled:!0,result:n(e)}}return{handled:!1,result:null}},[t,e]);A.useEffect(()=>n?.("focus",r),[n,r])}({navigation:Se,focusedListeners:fe.focus}),function({getState:e,getStateListeners:t}){const{addKeyedListener:n}=A.useContext(F),r=A.useContext(ae),i=r?r.key:"root",a=A.useCallback(()=>{const n=e(),r=n.routes.map(e=>{const n=t[e.key]?.();return e.state===n?e:Object.assign({},e,{state:n})});return Fe(n.routes,r)?n:Object.assign({},n,{routes:r})},[e,t]);A.useEffect(()=>n?.("getState",i,a),[n,a,i])}({getState:de,getStateListeners:me.getState});const{describe:xe,descriptors:Ce}=ht({state:te,screens:_,navigation:Se,screenOptions:p,screenLayout:f,onAction:ve,getState:de,setState:H,onRouteFocus:be,addListener:he,addKeyedListener:ye,router:v,emitter:pe});!function({state:e,navigation:t,descriptors:n}){const r=A.useContext(ge);r&&t.isFocused()&&(r.options=n[e.routes[e.index].key].options)}({state:te,navigation:Se,descriptors:Ce});const Ee=lt(e=>{const t=null!=d?d({state:te,descriptors:Ce,navigation:Se,children:e}):e;return(0,O.jsx)($e.Provider,{value:void 0,children:(0,O.jsx)(qe.Provider,{value:Se,children:(0,O.jsx)(yt,{state:te,children:(0,O.jsx)(ne.Provider,{value:te.routes[te.index].key,children:(0,O.jsx)(et,{children:t})})})})})});return{state:te,navigation:Se,describe:xe,descriptors:Ce,NavigationContent:Ee}}function At(){const e=A.useRef(null);return null==e.current&&(e.current=I()),e.current}function Tt(){const e=A.useContext(Ke);if(null==e)throw new Error("Couldn't find the prevent remove context. Is your component inside NavigationContent?");return e}function It(e,t){const[n]=A.useState(()=>Ze()),r=te(),{key:i}=se(),{setPreventRemove:a}=Tt();A.useEffect(()=>(a(n,i,e),()=>{a(n,i,!1)}),[a,n,i,e]);const o=(0,T.default)(n=>{e&&(n.preventDefault(),t({data:n.data}))});A.useEffect(()=>r?.addListener("beforeRemove",o),[r,o])}function Rt(){return A.useContext(ut)}var Ot=r(48623);const Dt=A.createContext({get options(){throw new Error("Couldn't find a LinkingContext context.")}});Dt.displayName="LinkingContext";const Nt=A.createContext("ltr");Nt.displayName="LocaleDirContext";
23const jt='system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',Ft={regular:{fontFamily:jt,fontWeight:"400"},medium:{fontFamily:jt,fontWeight:"500"},bold:{fontFamily:jt,fontWeight:"600"},heavy:{fontFamily:jt,fontWeight:"700"}},Mt={dark:!1,colors:{primary:"rgb(0, 122, 255)",background:"rgb(242, 242, 242)",card:"rgb(255, 255, 255)",text:"rgb(28, 28, 30)",border:"rgb(216, 216, 216)",notification:"rgb(255, 59, 48)"},fonts:Ft},Vt="Couldn't find an UnhandledLinkingContext context.",Pt=A.createContext({get lastUnhandledLink(){throw new Error(Vt)},get setLastUnhandledLink(){throw new Error(Vt)}});Pt.displayName="UnhandledLinkingContext";let Lt=(e=21)=>{let t="",n=0|e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t};const Bt=e=>e.split("#")[0];function Ht(){let e=0,t=[];const n=[],r=()=>{n.forEach(e=>{const t=e.cb;e.cb=()=>t(!0)})};return{get index(){const e=window.history.state?.id;if(e){const n=t.findIndex(t=>t.id===e);return n>-1?n:0}return 0},get:e=>t[e],backIndex({path:n}){const r=Bt(n);for(let i=e-1;i>=0;i--){if(t[i].path===r)return i}return-1},push({path:n,state:i}){r();const a=Lt(),o=Bt(n);t=t.slice(0,e+1),t.push({path:o,state:i,id:a}),e=t.length-1,window.history.pushState({id:a},"",n)},replace({path:n,state:i}){r();const a=window.history.state?.id??Lt(),o=Bt(n);let s=n;const l=s.includes("#")?"":location.hash;!t.length||t.findIndex(e=>e.id===a)<0?(s+=l,t=[{path:o,state:i,id:a}],e=0):(t[e].path===o&&(s+=l),t[e]={path:o,state:i,id:a}),window.history.replaceState({id:a},"",s)},go(i){r();const a=e+i,o=t.length-1;if(i<0&&!t[a]?(i=-e,e=0):i>0&&a>o?(i=o-e,e=o):e=a,0!==i)return new Promise((t,r)=>{const a=e=>{if(clearTimeout(o),e)return void r(new Error("History was changed during navigation."));const{title:n}=window.document;window.document.title="",window.document.title=n,t()};n.push({ref:a,cb:a});const o=setTimeout(()=>{const t=n.findIndex(e=>e.ref===a);t>-1&&(n[t].cb(),n.splice(t,1)),e=this.index},100),s=()=>{e=this.index;const t=n.pop();window.removeEventListener("popstate",s),t?.cb()};window.addEventListener("popstate",s),window.history.go(i)})},listen(t){const r=()=>{e=this.index,n.length||t()};return window.addEventListener("popstate",r),()=>window.removeEventListener("popstate",r)}}}const Wt=A.createContext(void 0),zt=e=>e.routes.slice(0,e.index+1),Yt=e=>e.history?e.history.length:zt(e).length,Ut=(e,t)=>{if(void 0===e||void 0===t||e.key!==t.key)return[void 0,void 0];const n=Yt(e),r=Yt(t),i=e.routes[e.index],a=t.routes[t.index],o=i.state,s=a.state;return n!==r||i.key!==a.key||void 0===o||void 0===s||o.key!==s.key?[e,t]:Ut(o,s)};function Xt(t,{enabled:n=!0,config:r,getStateFromPath:i=Pe,getPathFromState:a=Oe,getActionFromState:o=ve},s){const l=X();A.useEffect(()=>{},[n,l]);const[c]=A.useState(Ht),u=A.useRef(n),d=A.useRef(r),p=A.useRef(i),f=A.useRef(a),h=A.useRef(o);A.useEffect(()=>{u.current=n,d.current=r,p.current=i,f.current=a,h.current=o});const m=A.useCallback(e=>{const n=t.current,r=n?.getRootState();return e?.routes.some(e=>!r?.routeNames.includes(e.name))},[t]),g=A.useContext(Wt),y=A.useCallback(()=>{let t;if(u.current){const n=g?.location??("undefined"!==typeof window?window.location:void 0),r=n?n.pathname+n.search:void 0;if(r)try{t=p.current(r,d.current)}catch(e){t=void 0}s(r)}const n={then:e=>Promise.resolve(e?e(t):t),catch:()=>n};return n},[]),v=A.useRef(void 0),b=A.useRef(void 0),_=A.useRef(void 0);return A.useEffect(()=>(v.current=c.index,c.listen(()=>{const r=t.current;if(!r||!n)return;const{location:i}=window,a=i.pathname+i.search,o=c.index,l=v.current??0;v.current=o,_.current=a;const u=c.get(o);if(u?.path===a&&u?.state){const e=r.getRootState(),[t,n]=Ut(e,u.state);return void(l-o===1&&t&&n&&((e,t)=>{if(e.history&&t.history)return e.history.length===t.history.length+1;const n=zt(e),r=zt(t);return n.length===r.length+1&&r.every((e,t)=>e.key===n[t].key)})(t,n)?r.goBack():r.resetRoot(u.state))}let f;try{f=p.current(a,d.current)}catch(e){f=void 0}if(f){if(s(a),m(f))return;if(o>l){const t=h.current(f,d.current);
23if(void 0!==t)try{r.dispatch(t)}catch(e){}else r.resetRoot(f)}else r.resetRoot(f)}else r.resetRoot(f)})),[n,c,s,t,m]),A.useEffect(()=>{if(!n)return;const r=(t,n)=>{let r;if(t?.path){let n;try{n=p.current(t.path,d.current)}catch(e){n=void 0}if(n){const e=j(n);e&&e.name===t.name&&it(e.params,t.params)&&(r=t.path)}}null==r&&(r=f.current(n,d.current));const i=b.current?j(b.current):void 0;return i&&t&&"key"in i&&"key"in t&&i.key===t.key&&(r+=location.hash),r};if(t.current){const e=t.current.getRootState();if(e){const t=j(e),n=r(t,e);void 0===b.current&&(b.current=e),c.replace({path:n,state:e}),v.current=c.index}}return t.current?.addListener("state",(e=>{let t=Promise.resolve();return()=>{t=t.then(e)}})(async()=>{const i=t.current;if(!i||!n)return;const a=b.current,o=i.getRootState();if(!o)return;const s=_.current,l=j(o),u=r(l,o);b.current=o,_.current=void 0;const[d,p]=Ut(a,o);if(d&&p&&u!==s){const t=Yt(p)-Yt(d);if(t>0)c.push({path:u,state:o});else if(t<0){const n=c.backIndex({path:u}),r=c.index;try{-1!==n&&n<r&&c.get(n)?await c.go(n-r):await c.go(t),c.replace({path:u,state:o})}catch(e){}}else c.replace({path:u,state:o})}else c.replace({path:u,state:o});v.current=c.index}))},[n,c,t]),{getInitialState:y}}function Gt(e){const[t]=A.useState(e);let n=[!1,void 0];t.then(e=>{n=[!0,e]});const[r,i]=A.useState(n),[a]=r;return A.useEffect(()=>{let e=!1;return a||(async()=>{let n;try{n=await t}finally{e||i([!0,n])}})(),()=>{e=!0}},[t,a]),r}const qt=["direction","theme","linking","fallback","documentTitle","onReady","onStateChange"];globalThis.REACT_NAVIGATION_DEVTOOLS=new WeakMap;const Jt=A.forwardRef(function(e,t){let{direction:n=(Ot.default.getConstants().isRTL?"rtl":"ltr"),theme:r=Mt,linking:i,fallback:o=null,documentTitle:s,onReady:l,onStateChange:c}=e,u=(0,a.default)(e,qt);const d=!!i&&!1!==i.enabled;i?.config&&Te(i.config);const p=A.useRef(null);!function(e,{enabled:t=!0,formatter:n=(e,t)=>e?.title??t?.name}={}){A.useEffect(()=>{if(!t)return;const r=e.current;if(r){const e=n(r.getCurrentOptions(),r.getCurrentRoute());document.title=e}return r?.addListener("options",e=>{const t=n(e.data.options,r?.getCurrentRoute());document.title=t})})}(p,s);const[f,h]=A.useState(),{getInitialState:m}=Xt(p,Object.assign({enabled:d,prefixes:[]},i),h),g=A.useMemo(()=>({options:i}),[i]),y=A.useMemo(()=>({lastUnhandledLink:f,setLastUnhandledLink:h}),[f,h]),v=(0,T.default)(()=>{const e=p.current?.getCurrentRoute()?.path;h(t=>{if(t!==e)return t}),l?.()}),b=(0,T.default)(e=>{const t=p.current?.getCurrentRoute()?.path;h(e=>{if(e!==t)return e}),c?.(e)});A.useEffect(()=>{p.current&&REACT_NAVIGATION_DEVTOOLS.set(p.current,{get linking(){return Object.assign({},i,{enabled:d,prefixes:i?.prefixes??[],getStateFromPath:i?.getStateFromPath??Pe,getPathFromState:i?.getPathFromState??Oe,getActionFromState:i?.getActionFromState??ve})}})});const[_,w]=Gt(m);return A.useImperativeHandle(t,()=>p.current),null!=u.initialState||!d||_?(0,O.jsx)(Nt.Provider,{value:n,children:(0,O.jsx)(Pt.Provider,{value:y,children:(0,O.jsx)(Dt.Provider,{value:g,children:(0,O.jsx)($,Object.assign({},u,{theme:r,onReady:v,onStateChange:b,initialState:null==u.initialState?w:u.initialState,ref:p}))})})}):(0,O.jsx)(Nt.Provider,{value:n,children:(0,O.jsx)(H,{value:r,children:o})})}),$t=["linking"];function Kt(e){const t=e.getComponent();return A.forwardRef(function(n,r){let{linking:i}=n,o=(0,a.default)(n,$t);const s=A.useMemo(()=>{const t=he(e,{initialRouteName:i?.config?.initialRouteName},"auto"===i?.enabled);if(t)return{path:i?.config?.path,initialRouteName:i?.config?.initialRouteName,screens:t}},[i?.enabled,i?.config?.path,i?.config?.initialRouteName]),l=A.useMemo(()=>{if(!i)return;const e="boolean"===typeof i.enabled?i.enabled:null!=s?.screens;return Object.assign({},i,{enabled:e,config:s})},[i,s]);if(!0===i?.enabled&&null==s?.screens)throw new Error("Linking is enabled but no linking configuration was found for the screens.\n\nTo solve this:\n- Specify a 'linking' property for the screens you want to link to.\n- Or set 'linking.enabled' to 'auto' to generate paths automatically.\n\nSee usage guide: https://reactnavigation.org/docs/static-configuration#linking");return(0,O.jsx)(Jt,Object.assign({},o,{ref:r,linking:l,children:(0,O.jsx)(t,{})}))})}var Zt=r(6283);const Qt=e=>e?.state?e.state:e?.screen?{routes:[{name:e.screen,params:e.params,state:e.screen?Qt(e.params):void 0}]}:void 0;function en({screen:e,params:t,href:n,action:r}){const i=A.useContext(M),a=A.useContext(qe),{options:o}=A.useContext(Dt);return{href:n??(null!=e?(o?.getPathFromState??Oe)({routes:[{name:e,params:t,state:Qt(t)}]},o?.config):void 0),role:"link",onPress:n=>{let o=!1;if(n){const e="metaKey"in n&&n.metaKey||"altKey"in n&&n.altKey||"ctrlKey"in n&&n.ctrlKey||"shiftKey"in n&&n.shiftKey,t=!("button"in n)||(null==n.button||0===n.button),r=!n.currentTarget||!("target"in n.currentTarget)||[void 0,null,"","self"].includes(n.currentTarget.target);!e&&t&&r&&(n.preventDefault?.(),o=!0)}else n?.preventDefault?.(),o=!0;if(o)if(r)if(a)a.dispatch(r);else{if(!i)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");i.dispatch(r)}else a?.navigate(e,t)}}}const tn=["screen","params","action","href","style"];function nn(e){let{screen:t,params:n,action:r,href:i,style:o}=e,s=(0,a.default)(e,tn);const{colors:l,fonts:c}=tt(),u=en({screen:t,params:n,action:r,href:i});return A.createElement(Zt.default,Object.assign({},u,s,{onClick:e=>{"onPress"in s&&s.onPress?.(e),e.defaultPrevented||u.onPress(e)}},{style:[{color:l.primary},c.regular,o]}))}const rn=A.forwardRef(function({children:e,location:t},n){A.useEffect(()=>{},[]);const r={};if(n){const e={getCurrentOptions:()=>r.options};"function"===typeof n?n(e):n.current=e}return(0,O.jsx)(Wt.Provider,{value:{location:t},children:(0,O.jsx)(ge.Provider,{value:r,children:e})})}),an={dark:!0,colors:{primary:"rgb(10, 132, 255)",background:"rgb(1, 1, 1)",card:"rgb(18, 18, 18)",text:"rgb(229, 229, 231)",border:"rgb(39, 39, 41)",notification:"rgb(255, 69, 58)"},fonts:Ft};const on=()=>{const{options:e}=A.useContext(Dt),t=e?.getStateFromPath??Pe,n=e?.getActionFromState??ve;return A.useCallback(r=>
23{if(!r.startsWith("/"))throw new Error(`The href must start with '/' (${r}).`);const i=t(r,e?.config);if(i){return n(i,e?.config)??c(i)}throw new Error("Failed to parse the href to a navigation state.")},[e?.config,t,n])};function sn(){const e=function(){const e=A.useContext(qe),t=A.useContext(ae),{options:n}=A.useContext(Dt),r=Rt(),i=n?.getPathFromState??Oe,a=A.useCallback((a,o)=>{if(!1===n?.enabled)return;const s=!!(e&&t?.key&&r)&&t.key===j(r)?.key&&e.getState().routes.some(e=>e.key===t.key),l={routes:[{name:a,params:o}]},c=e=>{if(e){const t=e.routes[0];return s&&!t.state?l:{routes:[Object.assign({},t,{state:c(t.state)})]}}return l},u=c(r);return i(u,n?.config)},[n?.enabled,n?.config,t?.key,e,r,i]);return a}();return{buildHref:e,buildAction:on()}}function ln(){const e=A.useContext(M),t=on();return A.useCallback(n=>{if(void 0===e)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");const r=t(n);e.dispatch(r)},[t,e])}function cn(){const e=A.useContext(Nt);if(void 0===e)throw new Error("Couldn't determine the text direction. Is your component inside NavigationContainer?");return{direction:e}}function un(){const{options:e}=A.useContext(Dt),t=Rt();if(void 0===t)throw new Error("Couldn't find a state for the route object. Is your component inside a screen in a navigator?");const n=e?.getPathFromState??Oe;return A.useMemo(()=>{if(!1===e?.enabled)return;return n(t,e?.config)},[e?.enabled,e?.config,t,n])}function dn(e){const t=A.useContext(ee),n=se();if(void 0===t)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");A.useEffect(()=>{const r=[];let i=t;for(;i;)"tab"===i.getState().type&&r.push(i),i=i.getParent();if(0===r.length)return;const a=r.map(i=>i.addListener("tabPress",i=>{const a=t.isFocused(),o=r.includes(t)||t.getState().routes[0].key===n.key;requestAnimationFrame(()=>{const t=function(e){return null==e.current?null:"scrollToTop"in e.current||"scrollTo"in e.current||"scrollToOffset"in e.current||"scrollResponderScrollTo"in e.current?e.current:"getScrollResponder"in e.current?e.current.getScrollResponder():"getNode"in e.current?e.current.getNode():e.current}(e);a&&o&&t&&!i.defaultPrevented&&("scrollToTop"in t?t.scrollToTop():"scrollTo"in t?t.scrollTo({y:0,animated:!0}):"scrollToOffset"in t?t.scrollToOffset({offset:0,animated:!0}):"scrollResponderScrollTo"in t&&t.scrollResponderScrollTo({y:0,animated:!0}))})}));return()=>{a.forEach(e=>e())}},[t,e,n.key])}},35672(e,t,n){"use strict";n.r(t),n.d(t,{SystemBars:()=>g});var r=n(36665),i=n(70414),a=n(90673);function o(){return"light"===(i.default?.getColorScheme()??"light")}function s(e){switch(e){case"auto":return o()?"dark":"light";case"inverted":return o()?"light":"dark";default:return e}}function l({hidden:e,style:t}){const n="string"===typeof t,r="boolean"===typeof e;return{statusBarStyle:n?t:t?.statusBar,navigationBarStyle:n?t:t?.navigationBar,statusBarHidden:r?e:e?.statusBar,navigationBarHidden:r?e:e?.navigationBar}}function c(e){return l(e)}const u=[];const d={statusBarStyle:void 0,navigationBarStyle:void 0,statusBarHidden:void 0,navigationBarHidden:void 0};function p(){0}function f(e){const t=c(e);return u.push(t),p(),t}function h(e){const t=u.indexOf(e);-1!==t&&u.splice(t,1),p()}function m(e,t){const n=c(t),r=u.indexOf(e);return-1!==r&&(u[r]=n),p(),n}function g(e){const{statusBarStyle:t,navigationBarStyle:n,statusBarHidden:i,navigationBarHidden:o}=l(e),s=(0,r.useMemo)(()=>({style:t===n?t:{statusBar:t,navigationBar:n},hidden:i===o?i:{statusBar:i,navigationBar:o}}),[t,n,i,o]),c=(0,a.default)(),u=(0,r.useRef)(null);return(0,r.useEffect)(()=>(u.current=f(s),()=>{u.current&&h(u.current)}),[]),(0,r.useEffect)(()=>{u.current&&(u.current=m(u.current,s))},[c,s]),null}g.pushStackEntry=f,g.popStackEntry=h,g.replaceStackEntry=m,g.setStyle=function(e){const t=l({style:e}),n=s(t.statusBarStyle),r=s(t.navigationBarStyle);"string"===typeof n&&function(e){e!==d.statusBarStyle&&(d.statusBarStyle=e)}(n),"string"===typeof r&&function(e){e!==d.navigationBarStyle&&(d.navigationBarStyle=e)}(r)},g.setHidden=function(e){const{statusBarHidden:t,navigationBarHidden:n}=l({hidden:e});"boolean"===typeof t&&function(e){e!==d.statusBarHidden&&(d.statusBarHidden=e)}(t),"boolean"===typeof n&&function(e){e!==d.navigationBarHidden&&(d.navigationBarHidden=e)}(n)}},56403(e,t,n){"use strict";n.r(t),n.d(t,{controlEdgeToEdgeValues:()=>o,isEdgeToEdge:()=>a,isEdgeToEdgeFromLibrary:()=>r,isEdgeToEdgeFromProperty:()=>i});var r=()=>!0,i=()=>!0,a=()=>!0,o=e=>{}},45819(e,t,n){"use strict";n.r(t),n.d(t,{MMKV:()=>l,Mode:()=>_,useMMKV:()=>p,useMMKVBoolean:()=>g,useMMKVBuffer:()=>y,useMMKVListener:()=>b,useMMKVNumber:()=>m,useMMKVObject:()=>v,useMMKVString:()=>h});const r="undefined"!==typeof window&&null!=window.document?.createElement,i=()=>{try{return window.localStorage,!0}catch{return!1}},a=new Map,o=e=>{if(null!=e.encryptionKey)throw new Error("MMKV: 'encryptionKey' is not supported on Web!");if(null!=e.path)throw new Error("MMKV: 'path' is not supported on Web!");i();const t=()=>{if(!r)throw new Error("Tried to access storage on the server. Did you forget to call this in useEffect?");if(!i())return{getItem:e=>a.get(e)??null,setItem:(e,t)=>
23a.set(e,t),removeItem:e=>a.delete(e),clear:()=>a.clear(),length:a.size,key:e=>Object.keys(a).at(e)??null};const e=n.g?.localStorage??window?.localStorage??localStorage;if(null==e)throw new Error("Could not find 'localStorage' instance!");return e},o=null!=n.g.TextEncoder?new n.g.TextEncoder:{encode:()=>{throw new Error("TextEncoder is not supported in this environment!")},encodeInto:()=>{throw new Error("TextEncoder is not supported in this environment!")},encoding:"utf-8"};if(e.id.includes("\\"))throw new Error("MMKV: `id` cannot contain the backslash character (`\\`)!");const s=`${e.id}\\`,l=e=>{if(e.includes("\\"))throw new Error("MMKV: `key` cannot contain the backslash character (`\\`)!");return`${s}${e}`};return{clearAll:()=>{const e=Object.keys(t());for(const n of e)n.startsWith(s)&&t().removeItem(n)},delete:e=>t().removeItem(l(e)),set:(e,n)=>{t().setItem(l(e),n.toString())},getString:e=>t().getItem(l(e))??void 0,getNumber:e=>{const n=t().getItem(l(e));if(null!=n)return Number(n)},getBoolean:e=>{const n=t().getItem(l(e));if(null!=n)return"true"===n},getBuffer:e=>{const n=t().getItem(l(e));if(null!=n)return o.encode(n).buffer},getAllKeys:()=>Object.keys(t()).filter(e=>e.startsWith(s)).map(e=>e.slice(s.length)),contains:e=>null!=t().getItem(l(e)),recrypt:()=>{throw new Error("`recrypt(..)` is not supported on Web!")},size:0,isReadOnly:!1,trim:()=>{}}};const s=new Map;class l{constructor(e={id:"mmkv.default"}){this.id=e.id,this.nativeInstance=null==n.g.process||null=={NODE_ENV:"production",PUBLIC_URL:"",APP_MANIFEST:{version:"1.132.0",name:"Bluesky",slug:"bluesky",scheme:"bluesky",owner:"blueskysocial",runtimeVersion:{policy:"appVersion"},icon:"./assets/app-icons/ios_icon_default_next.png",userInterfaceStyle:"automatic",primaryColor:"#006AFF",androidStatusBar:{barStyle:"light-content"},web:{},updates:{url:"https://updates.bsky.app/manifest",enabled:!0,fallbackToCacheTimeout:3e4,codeSigningCertificate:"./code-signing/certificate.pem",codeSigningMetadata:{keyid:"main",alg:"rsa-v1_5-sha256"},checkAutomatically:"NEVER"},extra:{eas:{build:{experimental:{ios:{appExtensions:[{targetName:"Share-with-Bluesky",bundleIdentifier:"xyz.blueskyweb.app.Share-with-Bluesky",entitlements:{"com.apple.security.application-groups":["group.app.bsky"]}},{targetName:"BlueskyNSE",bundleIdentifier:"xyz.blueskyweb.app.BlueskyNSE",entitlements:{"com.apple.security.application-groups":["group.app.bsky"]}},{targetName:"BlueskyClip",bundleIdentifier:"xyz.blueskyweb.app.AppClip"}]}}},projectId:"55bd077a-d905-4184-9c7f-94789ba0f302"}},sdkVersion:"57.0.0",platforms:["ios","android","web"]},EXPO_DEBUG:!1,PLATFORM:"web",WDS_SOCKET_PATH:"/_expo/ws",CI:"1"}.JEST_WORKER_ID&&null=={NODE_ENV:"production",PUBLIC_URL:"",APP_MANIFEST:{version:"1.132.0",name:"Bluesky",slug:"bluesky",scheme:"bluesky",owner:"blueskysocial",runtimeVersion:{policy:"appVersion"},icon:"./assets/app-icons/ios_icon_default_next.png",userInterfaceStyle:"automatic",primaryColor:"#006AFF",androidStatusBar:{barStyle:"light-content"},web:{},updates:{url:"https://updates.bsky.app/manifest",enabled:!0,fallbackToCacheTimeout:3e4,codeSigningCertificate:"./code-signing/certificate.pem",codeSigningMetadata:{keyid:"main",alg:"rsa-v1_5-sha256"},checkAutomatically:"NEVER"},extra:{eas:{build:{experimental:{ios:{appExtensions:[{targetName:"Share-with-Bluesky",bundleIdentifier:"xyz.blueskyweb.app.Share-with-Bluesky",entitlements:{"com.apple.security.application-groups":["group.app.bsky"]}},{targetName:"BlueskyNSE",bundleIdentifier:"xyz.blueskyweb.app.BlueskyNSE",entitlements:{"com.apple.security.application-groups":["group.app.bsky"]}},{targetName:"BlueskyClip",bundleIdentifier:"xyz.blueskyweb.app.AppClip"}]}}},projectId:"55bd077a-d905-4184-9c7f-94789ba0f302"}},sdkVersion:"57.0.0",platforms:["ios","android","web"]},EXPO_DEBUG:!1,PLATFORM:"web",WDS_SOCKET_PATH:"/_expo/ws",CI:"1"}.VITEST_WORKER_ID?o(e):(()=>{const e=new Map;return{clearAll:()=>e.clear(),delete:t=>e.delete(t),set:(t,n)=>e.set(t,n),getString:t=>{const n=e.get(t);return"string"===typeof n?n:void 0},getNumber:t=>{const n=e.get(t);return"number"===typeof n?n:void 0},getBoolean:t=>{const n=e.get(t);return"boolean"===typeof n?n:void 0},getBuffer:t=>{const n=e.get(t);return n instanceof ArrayBuffer?n:void 0},getAllKeys:()=>Array.from(e.keys()),contains:t=>e.has(t),recrypt:()=>{},size:0,isReadOnly:!1,trim:()=>{}}})(),this.functionCache={}}get onValueChangedListeners(){return s.has(this.id)||s.set(this.id,[]),s.get(this.id
23)}getFunctionFromCache(e){return null==this.functionCache[e]&&(this.functionCache[e]=this.nativeInstance[e]),this.functionCache[e]}onValuesChanged(e){if(0!==this.onValueChangedListeners.length)for(const t of e)for(const e of this.onValueChangedListeners)e(t)}get size(){return this.nativeInstance.size}get isReadOnly(){return this.nativeInstance.isReadOnly}set(e,t){this.getFunctionFromCache("set")(e,t),this.onValuesChanged([e])}getBoolean(e){return this.getFunctionFromCache("getBoolean")(e)}getString(e){return this.getFunctionFromCache("getString")(e)}getNumber(e){return this.getFunctionFromCache("getNumber")(e)}getBuffer(e){return this.getFunctionFromCache("getBuffer")(e)}contains(e){return this.getFunctionFromCache("contains")(e)}delete(e){this.getFunctionFromCache("delete")(e),this.onValuesChanged([e])}getAllKeys(){return this.getFunctionFromCache("getAllKeys")()}clearAll(){const e=this.getAllKeys();this.getFunctionFromCache("clearAll")(),this.onValuesChanged(e)}recrypt(e){return this.getFunctionFromCache("recrypt")(e)}
23trim(){this.getFunctionFromCache("trim")()}toString(){return`MMKV (${this.id}): [${this.getAllKeys().join(", ")}]`}toJSON(){return{[this.id]:this.getAllKeys()}}addOnValueChangedListener(e){return this.onValueChangedListeners.push(e),{remove:()=>{const t=this.onValueChangedListeners.indexOf(e);-1!==t&&this.onValueChangedListeners.splice(t,1)}}}}var c=n(36665);let u=null;function d(){return null==u&&(u=new l),u}function p(e){const t=(0,c.useRef)(),n=(0,c.useRef)();return null==e?d():(null!=t.current&&(r=n.current,i=e,null==r||null==i?null==r&&null==i:r.encryptionKey===i.encryptionKey&&r.id===i.id&&r.path===i.path&&r.mode===i.mode)||(n.current=e,t.current=new l(e)),t.current);var r,i}function f(e){return(t,n)=>{const r=n??d(),[i,a]=(0,c.useState)(0),o=(0,c.useMemo)(()=>e(r,t),[r,t,i]),s=(0,c.useCallback)(n=>{const i="function"===typeof n?n(e(r,t)):n;switch(typeof i){case"number":case"string":case"boolean":r.set(t,i);break;case"undefined":r.delete(t);break;case"object":if(i instanceof ArrayBuffer){r.set(t,i);break}throw new Error(`MMKV: Type object (${i}) is not supported!`);default:throw new Error(`MMKV: Type ${typeof i} is not supported!`)}},[t,r]);return(0,c.useEffect)(()=>{const e=r.addOnValueChangedListener(e=>{e===t&&a(e=>e+1)});return()=>e.remove()},[t,r]),[o,s]}}const h=f((e,t)=>e.getString(t)),m=f((e,t)=>e.getNumber(t)),g=f((e,t)=>e.getBoolean(t)),y=f((e,t)=>e.getBuffer(t));function v(e,t){const[n,r]=h(e,t);return[(0,c.useMemo)(()=>{if(null!=n)return JSON.parse(n)},[n]),(0,c.useCallback)(e=>{if(e instanceof Function)r(t=>{const n=null!=t?JSON.parse(t):void 0,r=e(n);return null!=r?JSON.stringify(r):void 0});else{const t=null!=e?JSON.stringify(e):void 0;r(t)}},[r])]}function b(e,t){const n=(0,c.useRef)(e);n.current=e;const r=t??d();(0,c.useEffect)(()=>{const e=r.addOnValueChangedListener(e=>{n.current(e)});return()=>e.remove()},[r])}let _=function(e){return e[e.SINGLE_PROCESS=0]="SINGLE_PROCESS",e[e.MULTI_PROCESS=1]="MULTI_PROCESS",e}({})},62902(e,t,n){"use strict";n.r(t),n.d(t,{BaseAnimationBuilder:()=>co,BounceIn:()=>Wu,BounceInDown:()=>Yu,BounceInLeft:()=>qu,BounceInRight:()=>$u,BounceInUp:()=>Xu,BounceOut:()=>Zu,BounceOutDown:()=>ed,BounceOutLeft:()=>id,BounceOutRight:()=>od,BounceOutUp:()=>nd,ComplexAnimationBuilder:()=>po,CurvedTransition:()=>Vf,DynamicColorIOS:()=>_e,Easing:()=>ro,EntryExitTransition:()=>Lf,Extrapolate:()=>_u,Extrapolation:()=>fu,FadeIn:()=>ld,FadeInDown:()=>gd,FadeInLeft:()=>pd,FadeInRight:()=>ud,FadeInUp:()=>hd,FadeOut:()=>vd,FadeOutDown:()=>Ed,FadeOutLeft:()=>kd,FadeOutRight:()=>_d,FadeOutUp:()=>xd,FadingTransition:()=>Hf,FlipInEasyX:()=>Md,FlipInEasyY:()=>Pd,FlipInXDown:()=>Dd,FlipInXUp:()=>Td,FlipInYLeft:()=>Rd,FlipInYRight:()=>jd,FlipOutEasyX:()=>qd,FlipOutEasyY:()=>$d,FlipOutXDown:()=>Yd,FlipOutXUp:()=>Bd,FlipOutYLeft:()=>Wd,FlipOutYRight:()=>Xd,GentleSpringConfig:()=>ma,GentleSpringConfigWithDuration:()=>ga,IOSReferenceFrame:()=>Dn,InterfaceOrientation:()=>Nn,JumpingTransition:()=>zf,KeyboardState:()=>jn,Keyframe:()=>yo,Layout:()=>Xf,LayoutAnimationConfig:()=>xr,LightSpeedInLeft:()=>ep,LightSpeedInRight:()=>Zd,LightSpeedOutLeft:()=>ip,LightSpeedOutRight:()=>np,LinearTransition:()=>Uf,NativeEventsManager:()=>Al,PerformanceMonitor:()=>Gc,PinwheelIn:()=>op,PinwheelOut:()=>lp,PlatformColor:()=>ve,Reanimated3DefaultSpringConfig:()=>da,Reanimated3DefaultSpringConfigWithDuration:()=>pa,ReanimatedLogLevel:()=>i,ReduceMotion:()=>Fn,ReducedMotionConfig:()=>Jc,RollInLeft:()=>up,RollInRight:()=>pp,RollOutLeft:()=>hp,RollOutRight:()=>gp,RotateInDownLeft:()=>vp,RotateInDownRight:()=>_p,RotateInUpLeft:()=>kp,RotateInUpRight:()=>xp,RotateOutDownLeft:()=>Ep,RotateOutDownRight:()=>Tp,RotateOutUpLeft:()=>Rp,RotateOutUpRight:()=>Dp,ScreenTransition:()=>Ah,SensorType:()=>On,SequencedTransition:()=>qf,SharedTransition:()=>bo,SharedTransitionBoundary:()=>Kc,SlideInDown:()=>Yp,SlideInLeft:()=>Mp,SlideInRight:()=>jp,SlideInUp:()=>Wp,SlideOutDown:()=>qp,SlideOutLeft:()=>Bp,SlideOutRight:()=>Pp,SlideOutUp:()=>Xp,SnappySpringConfig:()=>ya,SnappySpringConfigWithDuration:()=>va,StretchInX:()=>$p,StretchInY:()=>Zp,StretchOutX:()=>ef,StretchOutY:()=>nf,WigglySpringConfig:()=>fa,WigglySpringConfigWithDuration:()=>ha,ZoomIn:()=>af,ZoomInDown:()=>mf,ZoomInEasyDown:()=>bf,ZoomInEasyUp:()=>yf,ZoomInLeft:()=>cf,ZoomInRight:()=>df,ZoomInRotate:()=>sf,ZoomInUp:()=>ff,ZoomOut:()=>wf,ZoomOutDown:()=>Of,ZoomOutEasyDown:()=>Ff,ZoomOutEasyUp:()=>Nf,ZoomOutLeft:()=>Cf,ZoomOutRight:()=>Af,ZoomOutRotate:()=>Sf,ZoomOutUp:()=>If,advanceAnimationByFrame:()=>ju,advanceAnimationByTime:()=>Nu,cancelAnimation:()=>ta,clamp:()=>bu,configureReanimatedLogger:()=>Qc,contrastColor:()=>
23W,convertToRGBA:()=>V,createAnimatedComponent:()=>El,createAnimatedPropAdapter:()=>rh,createCSSAnimatedComponent:()=>eu,createWorkletRuntime:()=>Ih,css:()=>nu,cubicBezier:()=>Lr,default:()=>Fh,defineAnimation:()=>ea,dispatchCommand:()=>$f,enableLayoutAnimations:()=>yr,executeOnUIRuntimeSync:()=>Rh,finishScreenTransition:()=>vh,getAnimatedStyle:()=>Mu,getDynamicFeatureFlag:()=>Un,getRelativeCoords:()=>Zf,getStaticFeatureFlag:()=>Gn,getUseOfValueInStyleWarning:()=>nh,getViewProp:()=>pr,interpolate:()=>vu,interpolateColor:()=>Ou,isColor:()=>M,isConfigured:()=>dr,isReanimated3:()=>ur,isSharedValue:()=>nn,isWorkletFunction:()=>jh,linear:()=>Hr,makeMutable:()=>er,makeShareableCloneRecursive:()=>Th,measure:()=>Kf,processColor:()=>Ee,reanimatedVersion:()=>Jf,runOnJS:()=>Oh,runOnRuntime:()=>Nh,runOnUI:()=>Dh,scrollTo:()=>Qf,setDynamicFeatureFlag:()=>Yn,setGestureState:()=>eh,setNativeProps:()=>th,setUpTests:()=>Fu,startMapper:()=>or,startScreenTransition:()=>gh,steps:()=>Br,stopMapper:()=>lr,useAnimatedKeyboard:()=>Ll,useAnimatedProps:()=>Zl,useAnimatedReaction:()=>ec,useAnimatedRef:()=>tc,useAnimatedScrollHandler:()=>sc,useAnimatedSensor:()=>pc,useAnimatedStyle:()=>Kl,useComposedEventHandler:()=>hc,useDerivedValue:()=>gc,useEvent:()=>nc,useFrameCallback:()=>Sc,useHandler:()=>ac,useReducedMotion:()=>Cc,useScrollOffset:()=>Ac,useScrollViewOffset:()=>Ac,useSharedValue:()=>Ul,useTimestamp:()=>Rc,withClamp:()=>na,withDecay:()=>sa,withDelay:()=>la,withReanimatedTimer:()=>Du,withRepeat:()=>ca,withSequence:()=>ua,withSpring:()=>Ia,withTiming:()=>io});var r={};n.r(r),n.d(r,{FlatList:()=>jl,Image:()=>Fl,ScrollView:()=>Nc,Text:()=>jc,View:()=>Ol,addWhitelistedNativeProps:()=>Fc,addWhitelistedUIProps:()=>Mc,createAnimatedComponent:()=>El});let i=function(e){return e[e.warn=1]="warn",e[e.error=2]="error",e}({});const a=function({_worklet_1373040350292_init_data:e,ReanimatedLogLevel:t}){const n=function(e){switch(e.level){case t.warn:case t.error:}};return n.__closure={ReanimatedLogLevel:t},n.__workletHash=1373040350292,n.__initData=e,n}({_worklet_1373040350292_init_data:{code:"(function logToConsole_reactNativeReanimated_loggerJs1(data){const{ReanimatedLogLevel}=this.__closure;switch(data.level){case ReanimatedLogLevel.warn:console.warn(data.message);break;case ReanimatedLogLevel.error:console.error(data.message);break;}})"},ReanimatedLogLevel:i}),o={logFunction:a,level:i.warn,strict:!0},s=function({_worklet_8496149094605_init_data:e,DEFAULT_LOGGER_CONFIG:t}){const r=function(){return n.g.__reanimatedLoggerConfig||(n.g.__reanimatedLoggerConfig=t),n.g.__reanimatedLoggerConfig};return r.__closure={DEFAULT_LOGGER_CONFIG:t},r.__workletHash=8496149094605,r.__initData=e,r}({_worklet_8496149094605_init_data:{code:"(function getLoggerConfig_reactNativeReanimated_loggerJs2(){const{DEFAULT_LOGGER_CONFIG}=this.__closure;if(!global.__reanimatedLoggerConfig){global.__reanimatedLoggerConfig=DEFAULT_LOGGER_CONFIG;}return global.__reanimatedLoggerConfig;})"},DEFAULT_LOGGER_CONFIG:o}),l=function({_worklet_3877752969021_init_data:e,DEFAULT_LOGGER_CONFIG:t}){const r=function(e,r){n.g.__reanimatedLoggerConfig=Object.assign({},e,{level:r?.level??t.level,strict:r?.strict??t.strict})};return r.__closure={DEFAULT_LOGGER_CONFIG:t},r.__workletHash=3877752969021,r.__initData=e,r}({_worklet_3877752969021_init_data:{code:"(function updateLoggerConfig_reactNativeReanimated_loggerJs3(currentConfig,options){const{DEFAULT_LOGGER_CONFIG}=this.__closure;var _options$level,_options$strict;global.__reanimatedLoggerConfig={...currentConfig,level:(_options$level=options===null||options===void 0?void 0:options.level)!==null&&_options$level!==void 0?_options$level:DEFAULT_LOGGER_CONFIG.level,strict:(_options$strict=options===null||options===void 0?void 0:options.strict)!==null&&_options$strict!==void 0?_options$strict:DEFAULT_LOGGER_CONFIG.strict};})"},DEFAULT_LOGGER_CONFIG:o}),c=function({_worklet_10029667746077_init_data:e,getLoggerConfig:t,DOCS_REFERENCE:n,PREFIX:r}){const i=function(e,i,a){const o=t();
23a.strict&&!o.strict||e<o.level||(a.strict&&(i+=`\n\n${n}`),o.logFunction({level:e,message:`${r} ${i}`}))};return i.__closure={getLoggerConfig:t,DOCS_REFERENCE:n,PREFIX:r},i.__workletHash=0x91f36c8811d,i.__initData=e,i}({_worklet_10029667746077_init_data:{code:'(function handleLog_reactNativeReanimated_loggerJs4(level,message,options){const{getLoggerConfig,DOCS_REFERENCE,PREFIX}=this.__closure;const config=getLoggerConfig();if(options.strict&&!config.strict||level<config.level){return;}if(options.strict){message+="\\n\\n"+DOCS_REFERENCE;}config.logFunction({level:level,message:PREFIX+" "+message});})'},getLoggerConfig:s,DOCS_REFERENCE:"If you don't want to see this message, you can disable the `strict` mode. Refer to:\nhttps://docs.swmansion.com/react-native-reanimated/docs/debugging/logger-configuration for more details.",PREFIX:"[Reanimated]"}),u={warn:function({_worklet_1516016639264_init_data:e,handleLog:t,ReanimatedLogLevel:n}){const r=function(e,r={}){t(n.warn,e,r)};return r.__closure={handleLog:t,ReanimatedLogLevel:n},r.__workletHash=1516016639264,r.__initData=e,r}({_worklet_1516016639264_init_data:{code:"(function warn_reactNativeReanimated_loggerJs5(message,options={}){const{handleLog,ReanimatedLogLevel}=this.__closure;handleLog(ReanimatedLogLevel.warn,message,options);})"},handleLog:c,ReanimatedLogLevel:i}),error:function({_worklet_11317073806179_init_data:e,handleLog:t,ReanimatedLogLevel:n}){const r=function(e,r={}){t(n.error,e,r)};return r.__closure={handleLog:t,ReanimatedLogLevel:n},r.__workletHash=0xa4af62a0363,r.__initData=e,r}({_worklet_11317073806179_init_data:{code:"(function error_reactNativeReanimated_loggerJs6(message,options={}){const{handleLog,ReanimatedLogLevel}=this.__closure;handleLog(ReanimatedLogLevel.error,message,options);})"},handleLog:c,ReanimatedLogLevel:i})},d="[-+]?\\d*\\.?\\d+",p=d+"%";function f(...e){return"\\(\\s*("+e.join(")\\s*,?\\s*(")+")\\s*\\)"}function h(...e){return"\\(\\s*("+e.slice(0,e.length-1).join(")\\s*,?\\s*(")+")\\s*/\\s*("+e[e.length-1]+")\\s*\\)"}function m(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const g={rgb:new RegExp("rgb"+f(d,d,d)),rgba:new RegExp("rgba("+m(d,d,d,d)+"|"+h(d,d,d,d)+")"),hsl:new RegExp("hsl"+f(d,p,p)),hsla:new RegExp("hsla("+m(d,p,p,d)+"|"+h(d,p,p,d)+")"),hwb:new RegExp("hwb"+f(d,p,p)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/},y=function({_worklet_17384449994953_init_data:e}){const t=function(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e};return t.__closure={},t.__workletHash=0xfcfa1f770c9,t.__initData=e,t}({_worklet_17384449994953_init_data:{code:"(function hue2rgb_reactNativeReanimated_ColorsJs1(p,q,t){if(t<0){t+=1;}if(t>1){t-=1;}if(t<1/6){return p+(q-p)*6*t;}if(t<1/2){return q;}if(t<2/3){return p+(q-p)*(2/3-t)*6;}return p;})"}}),v=function({_worklet_6246457711627_init_data:e,hue2rgb:t}){const n=function(e,n,r){const i=r<.5?r*(1+n):r+n-r*n,a=2*r-i,o=t(a,i,e+1/3),s=t(a,i,e),l=t(a,i,e-1/3);return Math.round(255*o)<<24|Math.round(255*s)<<16|Math.round(255*l)<<8};return n.__closure={hue2rgb:t},n.__workletHash=6246457711627,n.__initData=e,n}({_worklet_6246457711627_init_data:{code:"(function hslToRgb_reactNativeReanimated_ColorsJs2(h,s,l){const{hue2rgb}=this.__closure;const q=l<0.5?l*(1+s):l+s-l*s;const p=2*l-q;const r=hue2rgb(p,q,h+1/3);const g=hue2rgb(p,q,h);const b=hue2rgb(p,q,h-1/3);return Math.round(r*255)<<24|Math.round(g*255)<<16|Math.round(b*255)<<8;})"},hue2rgb:y}),b=function({_worklet_950153430369_init_data:e,hue2rgb:t}){const n=function(e,n,r){if(n+r>=1){const e=Math.round(255*n/(n+r));return e<<24|e<<16|e<<8}const i=t(0,1,e+1/3)*(1-n-r)+n,a=t(0,1,e)*(1-n-r)+n,o=t(0,1,e-1/3)*(1-n-r)+n;return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*o)<<8};return n.__closure={hue2rgb:t},n.__workletHash=950153430369,n.__initData=e,n}({_worklet_950153430369_init_data:{code:"(function hwbToRgb_reactNativeReanimated_ColorsJs3(h,w,b){const{hue2rgb}=this.__closure;if(w+b>=1){const gray=Math.round(w*255/(w+b));return gray<<24|gray<<16|gray<<8;}const red=hue2rgb(0,1,h+1/3)*(1-w-b)+w;const green=hue2rgb(0,1,h)*(1-w-b)+w;const blue=hue2rgb(0,1,h-1/3)*(1-w-b)+w;return Math.round(red*255)<<24|Math.round(green*255)<<16|Math.round(blue*255)<<8;})"},hue2rgb:y}),_=function({_worklet_11840054674648_init_data:e}){const t=function(e){const t=Number.parseInt(e,10);return t<0?0:t>255?255:t};return t.__closure={},t.__workletHash=0xac4ba40c4d8,t.__initData=e,t}({_worklet_11840054674648_init_data:{code:"(function parse255_reactNativeReanimated_ColorsJs4(str){const int=Number.parseInt(str,10);if(int<0){return 0;}if(int>255){return 255;}return int;})"}}),w=function({_worklet_4057955165399_init_data:e}){const t=function(e){return(Number.parseFloat(e)%360+360)%360/360};return t.__closure={},t.__workletHash=4057955165399,t.__initData=e,t}({_worklet_4057955165399_init_data:{code:"(function parse360_reactNativeReanimated_ColorsJs5(str){const int=Number.parseFloat(str);return(int%360+360)%360/360;})"}}),k=function({_worklet_6292626971345_init_data:e}){const t=function(e){const t=Number.parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)};return t.__closure={},t.__workletHash=6292626971345,t.__initData=e,t}({_worklet_6292626971345_init_data:{code:"(function parse1_reactNativeReanimated_ColorsJs6(str){const num=Number.parseFloat(str);if(num<0){return 0;}if(num>1){return 255;}return Math.round(num*255);})"}}),S=function({_worklet_7855031938049_init_data:e}){const t=function(e){const t=Number.parseFloat(e);return t<0?0:t>100?1:t/100};return t.__closure={},t.__workletHash=7855031938049,t.__initData=e,t}({_worklet_7855031938049_init_data:{code:"(function parsePercentage_reactNativeReanimated_ColorsJs7(str){const int=Number.parseFloat(str);if(int<0){return 0;}if(int>100){return 1;}return int/100;})"}}),x=function({_worklet_10731850732195_init_data:e}){const t=function(e){for(let t=0;t<4;t++)e[t]=Math.max(0,Math.min(e[t],1))};return t.__closure={},t.__workletHash=0x9c2b42692a3,t.__initData=e,t}({_worklet_10731850732195_init_data:{code:"(function clampRGBA_reactNativeReanimated_ColorsJs8(RGBA){for(let i=0;i<4;i++){RGBA[i]=Math.max(0,Math.min(RGBA[i],1));}})"}}),C=["backgroundColor","borderBottomColor","borderColor","borderLeftColor","borderRightColor","borderTopColor","borderStartColor","borderEndColor","borderBlockColor","borderBlockEndColor","borderBlockStartColor","color","outlineColor","placeholderTextColor","shadowColor","textDecorationColor","tintColor","textShadowColor","overlayColor","fill","floodColor","lightingColor","stopColor","stroke"],E=function({_worklet_6975901033326_init_data:e,MATCHERS:t,names:n,parse255:r,parse1:i,hslToRgb:a,parse360:o,parsePercentage:s,hwbToRgb:l}){const c=function(e){if("number"===typeof e)return e>>>0===e&&e>=0&&e<=4294967295?e:null;if("string"!==typeof e)return null;
23let c;return(c=t.hex6.exec(e))?Number.parseInt(c[1]+"ff",16)>>>0:e in n?n[e]:(c=t.rgb.exec(e))?(r(c[1])<<24|r(c[2])<<16|r(c[3])<<8|255)>>>0:(c=t.rgba.exec(e))?void 0!==c[6]?(r(c[6])<<24|r(c[7])<<16|r(c[8])<<8|i(c[9]))>>>0:(r(c[2])<<24|r(c[3])<<16|r(c[4])<<8|i(c[5]))>>>0:(c=t.hex3.exec(e))?Number.parseInt(c[1]+c[1]+c[2]+c[2]+c[3]+c[3]+"ff",16)>>>0:(c=t.hex8.exec(e))?Number.parseInt(c[1],16)>>>0:(c=t.hex4.exec(e))?Number.parseInt(c[1]+c[1]+c[2]+c[2]+c[3]+c[3]+c[4]+c[4],16)>>>0:(c=t.hsl.exec(e))?(255|a(o(c[1]),s(c[2]),s(c[3])))>>>0:(c=t.hsla.exec(e))?void 0!==c[6]?(a(o(c[6]),s(c[7]),s(c[8]))|i(c[9]))>>>0:(a(o(c[2]),s(c[3]),s(c[4]))|i(c[5]))>>>0:(c=t.hwb.exec(e))?(255|l(o(c[1]),s(c[2]),s(c[3])))>>>0:null};return c.__closure={MATCHERS:t,names:n,parse255:r,parse1:i,hslToRgb:a,parse360:o,parsePercentage:s,hwbToRgb:l},c.__workletHash=6975901033326,c.__initData=e,c}({_worklet_6975901033326_init_data:{code:"(function normalizeColor_reactNativeReanimated_ColorsJs9(color){const{MATCHERS,names,parse255,parse1,hslToRgb,parse360,parsePercentage,hwbToRgb}=this.__closure;if(typeof color==='number'){if(color>>>0===color&&color>=0&&color<=0xffffffff){return color;}return null;}if(typeof color!=='string'){return null;}let match;if(match=MATCHERS.hex6.exec(color)){return Number.parseInt(match[1]+'ff',16)>>>0;}if(color in names){return names[color];}if(match=MATCHERS.rgb.exec(color)){return((parse255(match[1])<<24|parse255(match[2])<<16|parse255(match[3])<<8|0x000000ff)>>>0);}if(match=MATCHERS.rgba.exec(color)){if(match[6]!==undefined){return(parse255(match[6])<<24|parse255(match[7])<<16|parse255(match[8])<<8|parse1(match[9]))>>>0;}return(parse255(match[2])<<24|parse255(match[3])<<16|parse255(match[4])<<8|parse1(match[5]))>>>0;}if(match=MATCHERS.hex3.exec(color)){return Number.parseInt(match[1]+match[1]+match[2]+match[2]+match[3]+match[3]+'ff',16)>>>0;}if(match=MATCHERS.hex8.exec(color)){return Number.parseInt(match[1],16)>>>0;}if(match=MATCHERS.hex4.exec(color)){return Number.parseInt(match[1]+match[1]+match[2]+match[2]+match[3]+match[3]+match[4]+match[4],16)>>>0;}if(match=MATCHERS.hsl.exec(color)){return(hslToRgb(parse360(match[1]),parsePercentage(match[2]),parsePercentage(match[3]))|0x000000ff)>>>0;}if(match=MATCHERS.hsla.exec(color)){if(match[6]!==undefined){return(hslToRgb(parse360(match[6]),parsePercentage(match[7]),parsePercentage(match[8]))|parse1(match[9]))>>>0;}return(hslToRgb(parse360(match[2]),parsePercentage(match[3]),parsePercentage(match[4]))|parse1(match[5]))>>>0;}if(match=MATCHERS.hwb.exec(color)){return(hwbToRgb(parse360(match[1]),parsePercentage(match[2]),parsePercentage(match[3]))|0x000000ff)>>>0;}return null;})"},MATCHERS:g,names:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},parse255:_,parse1:k,hslToRgb:v,parse360:w,parsePercentage:S,hwbToRgb:b}),A=function({_worklet_10724185613661_init_data:e}){const t=function(e){return(e>>24&255)/255};return t.__closure={},t.__workletHash=0x9c0eb46255d,t.__initData=e,t}({_worklet_10724185613661_init_data:{code:"(function reactNativeReanimated_ColorsJs10(c){return(c>>24&255)/255;})"}}),T=function({_worklet_1479122174209_init_data:e}){const t=function(e){return e>>16&255};return t.__closure={},t.__workletHash=1479122174209,t.__initData=e,t}({_worklet_1479122174209_init_data:{code:"(function reactNativeReanimated_ColorsJs11(c){return c>>16&255;})"}}),I=function({_worklet_15319426070173_init_data:e}){const t=function(e){return e>>8&255};return t.__closure={},t.__workletHash=0xdeed4f2f69d,t.__initData=e,t}({_worklet_15319426070173_init_data:{code:"(function reactNativeReanimated_ColorsJs12(c){return c>>8&255;})"}}),R=function({_worklet_16377795666564_init_data:e}){const t=function(e){return 255&e};return t.__closure={},t.__workletHash=0xee540b16284,t.__initData=e,t}({_worklet_16377795666564_init_data:{code:"(function reactNativeReanimated_ColorsJs13(c){return c&255;})"}}),O=function({_worklet_7620088075799_init_data:e}){const t=function(e,t,n,r=1){return`rgba(${e}, ${t}, ${n}, ${Math.round(1e3*r)/1e3})`};return t.__closure={},t.__workletHash=7620088075799,t.__initData=e,t}({_worklet_7620088075799_init_data:{code:'(function reactNativeReanimated_ColorsJs14(r,g,b,alpha=1){const safeAlpha=Math.round(alpha*1000)/1000;return"rgba("+r+", "+g+", "+b+", "+safeAlpha+")";})'}}),D=function({_worklet_6372061226101_init_data:e}
23){const t=function(e,t,n){const r=Math.max(e,t,n),i=Math.min(e,t,n),a=r-i,o=0===r?0:a/r,s=r/255;let l=0;switch(r){case i:break;case e:l=t-n+a*(t<n?6:0),l/=6*a;break;case t:l=n-e+2*a,l/=6*a;break;case n:l=e-t+4*a,l/=6*a}return{h:l,s:o,v:s}};return t.__closure={},t.__workletHash=6372061226101,t.__initData=e,t}({_worklet_6372061226101_init_data:{code:"(function RGBtoHSV_reactNativeReanimated_ColorsJs15(r,g,b){const max=Math.max(r,g,b);const min=Math.min(r,g,b);const d=max-min;const s=max===0?0:d/max;const v=max/255;let h=0;switch(max){case min:break;case r:h=g-b+d*(g<b?6:0);h/=6*d;break;case g:h=b-r+d*2;h/=6*d;break;case b:h=r-g+d*4;h/=6*d;break;}return{h:h,s:s,v:v};})"}}),N=function({_worklet_5234375977552_init_data:e}){const t=function(e,t,n){let r,i,a;const o=Math.floor(6*e),s=6*e-o,l=n*(1-t),c=n*(1-s*t),u=n*(1-(1-s)*t);switch(o%6){case 0:[r,i,a]=[n,u,l];break;case 1:[r,i,a]=[c,n,l];break;case 2:[r,i,a]=[l,n,u];break;case 3:[r,i,a]=[l,c,n];break;case 4:[r,i,a]=[u,l,n];break;case 5:[r,i,a]=[n,l,c]}return{r:Math.round(255*r),g:Math.round(255*i),b:Math.round(255*a)}};return t.__closure={},t.__workletHash=5234375977552,t.__initData=e,t}({_worklet_5234375977552_init_data:{code:"(function HSVtoRGB_reactNativeReanimated_ColorsJs16(h,s,v){let r,g,b;const i=Math.floor(h*6);const f=h*6-i;const p=v*(1-s);const q=v*(1-f*s);const t=v*(1-(1-f)*s);switch(i%6){case 0:[r,g,b]=[v,t,p];break;case 1:[r,g,b]=[q,v,p];break;case 2:[r,g,b]=[p,v,t];break;case 3:[r,g,b]=[p,q,v];break;case 4:[r,g,b]=[t,p,v];break;case 5:[r,g,b]=[v,p,q];break;}return{r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)};})"}}),j=function({_worklet_15535595253004_init_data:e,HSVtoRGB:t,rgbaColor:n}){const r=function(e,r,i,a){const{r:o,g:s,b:l}=t(e,r,i);return n(o,s,l,a)};return r.__closure={HSVtoRGB:t,rgbaColor:n},r.__workletHash=0xe2129a2ed0c,r.__initData=e,r}({_worklet_15535595253004_init_data:{code:"(function reactNativeReanimated_ColorsJs17(h,s,v,a){const{HSVtoRGB,rgbaColor}=this.__closure;const{r:r,g:g,b:b}=HSVtoRGB(h,s,v);return rgbaColor(r,g,b,a);})"},HSVtoRGB:N,rgbaColor:O}),F=function({_worklet_14922140130331_init_data:e,normalizeColor:t}){const n=function(e){if(null===e||void 0===e)return null;let n;if("number"===typeof e)n=e;else{const r=t(e);if("number"!==typeof r)return r;n=r}return(n<<24|n>>>8)>>>0};return n.__closure={normalizeColor:t},n.__workletHash=0xd9254dc9c1b,n.__initData=e,n}({_worklet_14922140130331_init_data:{code:"(function processColorInitially_reactNativeReanimated_ColorsJs18(color){const{normalizeColor}=this.__closure;if(color===null||color===undefined){return null;}let colorNumber;if(typeof color==='number'){colorNumber=color;}else{const normalizedColor=normalizeColor(color);if(typeof normalizedColor!=='number'){return normalizedColor;}colorNumber=normalizedColor;}return(colorNumber<<24|colorNumber>>>8)>>>0;})"},normalizeColor:E}),M=function({_worklet_10853617991552_init_data:e,processColorInitially:t}){const n=function(e){if("string"!==typeof e)return!1;const n=t(e);return void 0!==n&&null!==n};return n.__closure={processColorInitially:t},n.__workletHash=0x9df0e0b7f80,n.__initData=e,n}({_worklet_10853617991552_init_data:{code:"(function isColor_reactNativeReanimated_ColorsJs19(value){const{processColorInitially}=this.__closure;if(typeof value!=='string'){return false;}const processedColor=processColorInitially(value);return processedColor!==undefined&&processedColor!==null;})"},processColorInitially:F}),V=function({_worklet_16178520479407_init_data:e,processColorInitially:t}){const n=function(e){const n=t(e);return[(n<<8>>>24)/255,(n<<16>>>24)/255,(n<<24>>>24)/255,(n>>>24)/255]};return n.__closure={processColorInitially:t},n.__workletHash=0xeb6daf756af,n.__initData=e,n}({_worklet_16178520479407_init_data:{code:"(function convertToRGBA_reactNativeReanimated_ColorsJs20(color){const{processColorInitially}=this.__closure;const processedColor=processColorInitially(color);const a=(processedColor>>>24)/255;const r=(processedColor<<8>>>24)/255;const g=(processedColor<<16>>>24)/255;const b=(processedColor<<24>>>24)/255;return[r,g,b,a];})"},processColorInitially:F}),P=function({_worklet_13774630285247_init_data:e}){const t=function(e){const t=e[3]<.001?0:e[3];return`rgba(${Math.round(255*e[0])}, ${Math.round(255*e[1])}, ${Math.round(255*e[2])}, ${t})`};return t.__closure={},t.__workletHash=0xc8727f1efbf,t.__initData=e,t}({_worklet_13774630285247_init_data:{code:'(function rgbaArrayToRGBAColor_reactNativeReanimated_ColorsJs21(RGBA){const alph
23a=RGBA[3]<0.001?0:RGBA[3];return"rgba("+Math.round(RGBA[0]*255)+", "+Math.round(RGBA[1]*255)+", "+Math.round(RGBA[2]*255)+", "+alpha+")";})'}}),L=function({_worklet_13017953536200_init_data:e}){const t=function(e,t=2.2){const n=[];for(let r=0;r<3;++r)n.push(Math.pow(e[r],t));return n.push(e[3]),n};return t.__closure={},t.__workletHash=0xbd6fa7f08c8,t.__initData=e,t}({_worklet_13017953536200_init_data:{code:"(function toLinearSpace_reactNativeReanimated_ColorsJs22(RGBA,gamma=2.2){const res=[];for(let i=0;i<3;++i){res.push(Math.pow(RGBA[i],gamma));}res.push(RGBA[3]);return res;})"}}),B=function({_worklet_15365767747149_init_data:e}){const t=function(e,t=2.2){const n=[];for(let r=0;r<3;++r)n.push(Math.pow(e[r],1/t));return n.push(e[3]),n};return t.__closure={},t.__workletHash=0xdf99f20d64d,t.__initData=e,t}({_worklet_15365767747149_init_data:{code:"(function toGammaSpace_reactNativeReanimated_ColorsJs23(RGBA,gamma=2.2){const res=[];for(let i=0;i<3;++i){res.push(Math.pow(RGBA[i],1/gamma));}res.push(RGBA[3]);return res;})"}}),H=function({_worklet_17028362967871_init_data:e}){const t=function(e){return e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)};return t.__closure={},t.__workletHash=0xf7cb9869b3f,t.__initData=e,t}({_worklet_17028362967871_init_data:{code:"(function toLinearChannel_reactNativeReanimated_ColorsJs24(c){return c<=0.04045?c/12.92:Math.pow((c+0.055)/1.055,2.4);})"}}),W=function({_worklet_4297240579960_init_data:e,convertToRGBA:t,toLinearChannel:n}){const r=function(e){const[r,i,a]=t(e);return 1.05*.05>=(.2126*n(r)+.7152*n(i)+.0722*n(a)+.05)**2?"white":"black"};return r.__closure={convertToRGBA:t,toLinearChannel:n},r.__workletHash=4297240579960,r.__initData=e,r}({_worklet_4297240579960_init_data:{code:"(function contrastColor_reactNativeReanimated_ColorsJs25(color){const{convertToRGBA,toLinearChannel}=this.__closure;const[r,g,b]=convertToRGBA(color);const luminance=0.2126*toLinearChannel(r)+0.7152*toLinearChannel(g)+0.0722*toLinearChannel(b);return 1.05*0.05>=(luminance+0.05)**2?'white':'black';})"},convertToRGBA:V,toLinearChannel:H}),z=function({_worklet_14915196112837_init_data:e,processColorInitially:t}){const n=function(e,n){const r=t(e);if(!r)return 0===r?"transparent":null;return`rgba(${r>>16&255}, ${r>>8&255}, ${255&r}, ${(r>>24&255)/255*n})`};return n.__closure={processColorInitially:t},n.__workletHash=0xd90b6f74fc5,n.__initData=e,n}({_worklet_14915196112837_init_data:{code:'(function opacifyColor_reactNativeReanimated_colorsJs1(color,opacity){const{processColorInitially}=this.__closure;const colorNumber=processColorInitially(color);if(!colorNumber){return colorNumber===0x00000000?\'transparent\':null;}const a=colorNumber>>24&0xff;const r=colorNumber>>16&0xff;const g=colorNumber>>8&0xff;const b=colorNumber&0xff;const newAlpha=a/255*opacity;return"rgba("+r+", "+g+", "+b+", "+newAlpha+")";})'},processColorInitially:F});function Y(e){e.style&&(e.style.animationName="",e.style.animationDuration="",e.style.animationDelay="",e.style.animationFillMode="",e.style.animationPlayState="",e.style.animationDirection="",e.style.animationTimingFunction="",e.style.animationIterationCount="")}function U(e){return void 0!==e?Array.isArray(e)?e:[e]:[]}function X(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const G=function({_worklet_4026891731864_init_data:e}){const t=function(e){return"string"===typeof e&&/^-?\d+(\.\d+)?(deg|rad)$/.test(e)};return t.__closure={},t.__workletHash=4026891731864,t.__initData=e,t}({_worklet_4026891731864_init_data:{code:"(function reactNativeReanimated_guardsJs1(value){return typeof value==='string'&&/^-?\\d+(\\.\\d+)?(deg|rad)$/.test(value);})"}}),q=function({_worklet_1353905972423_init_data:e}){const t=function(e){return"number"===typeof e&&!isNaN(e)};return t.__closure={},t.__workletHash=1353905972423,t.__initData=e,t}({_worklet_1353905972423_init_data:{code:"(function reactNativeReanimated_guardsJs2(value){return typeof value==='number'&&!isNaN(value);})"}}),J=function({_worklet_5017937631209_init_data:e,isNumber:t}){const n=function(e){return Array.isArray(e)&&e.every(t)};return n.__closure={isNumber:t},n.__workletHash=5017937631209,n.__initData=e,n}({_worklet_5017937631209_init_data:{code:"(function reactNativeReanimated_guardsJs3(value){const{isNumber}=this.__closure;return Array.isArray(value)&&value.every(isNumber);})"},isNumber:q}),$=function({_worklet_9260531329461_init_data:e}){const t=function(e){return e.endsWith("px")||!isNaN(Number(e))};return t.__closure={},t.__workletHash=9260531329461,t.__initData=e,t}({_worklet_9260531329461_init_data:{code:"(function reactNativeReanimated_guardsJs4(value){return value.endsWith('px')||!isNaN(Number(value));})"}}),K=function({_worklet_7262950988725_init_data:e}){const t=function(e){return"string"===typeof e&&/^-?\d+(\.\d+)?%$/.test(e)};return t.__closure={},t.__workletHash=7262950988725,t.__initData=e,t}({_worklet_7262950988725_init_data:{code:"(function reactNativeReanimated_guardsJs5(value){return typeof value==='string'&&/^
23-?\\d+(\\.\\d+)?%$/.test(value);})"}}),Z=function({_worklet_6815532718507_init_data:e}){const t=function(e){return"object"===typeof e&&null!==e&&!Array.isArray(e)};return t.__closure={},t.__workletHash=6815532718507,t.__initData=e,t}({_worklet_6815532718507_init_data:{code:"(function reactNativeReanimated_guardsJs6(value){return typeof value==='object'&&value!==null&&!Array.isArray(value);})"}}),Q=function({_worklet_4817096247210_init_data:e,isRecord:t}){const n=function(e){return t(e)&&0===Object.keys(e).length};return n.__closure={isRecord:t},n.__workletHash=4817096247210,n.__initData=e,n}({_worklet_4817096247210_init_data:{code:"(function reactNativeReanimated_guardsJs7(value){const{isRecord}=this.__closure;return isRecord(value)&&Object.keys(value).length===0;})"},isRecord:Z}),ee=e=>!!e&&"object"===typeof e&&"as"in e&&"string"===typeof e.as,te=e=>Z(e)&&"process"in e,ne=function({_worklet_1386070816611_init_data:e,SHADOW_SPLIT_REGEX:t,SHADOW_PARTS_REGEX:n,isLength:r,LENGTH_MAPPINGS:i}){const a=function(e){if("none"===e)return[];return(e.match(t)||[]).map(e=>{const t={offsetX:0,offsetY:0};let a=0;return(e.match(n)||[]).forEach(e=>{r(e)?t[i[a++]]=e:"inset"===e?t.inset=!0:t.color=e.trim()}),t})};return a.__closure={SHADOW_SPLIT_REGEX:t,SHADOW_PARTS_REGEX:n,isLength:r,LENGTH_MAPPINGS:i},a.__workletHash=1386070816611,a.__initData=e,a}({_worklet_1386070816611_init_data:{code:"(function parseBoxShadowString_reactNativeReanimated_parsersJs1(value){const{SHADOW_SPLIT_REGEX,SHADOW_PARTS_REGEX,isLength,LENGTH_MAPPINGS}=this.__closure;if(value==='none'){return[];}const shadows=value.match(SHADOW_SPLIT_REGEX)||[];return shadows.map(function(shadow){const result={offsetX:0,offsetY:0};let foundLengthsCount=0;const parts=shadow.match(SHADOW_PARTS_REGEX)||[];parts.forEach(function(part){if(isLength(part)){result[LENGTH_MAPPINGS[foundLengthsCount++]]=part;}else if(part==='inset'){result.inset=true;}else{result.color=part.trim();}});return result;});})"},SHADOW_SPLIT_REGEX:/(?:[^,()]+|\([^)]*\))+(?=\s*,|$)/g,SHADOW_PARTS_REGEX:/(?:[^\s()]+|\([^()]*\))+/g,isLength:$,LENGTH_MAPPINGS:["offsetX","offsetY","blurRadius","spreadDistance"]});function re(e){return"string"===typeof e&&isNaN(parseInt(e[e.length-1]))}function ie(e,t){return re(e)?e:`${String(e)}${t}`}
23function ae(e){return Z(e)&&"name"in e&&"string"===typeof e.name}const oe=e=>{if(q(e)){const t=V(e);return P(t)}if("string"===typeof e)return e.startsWith("hwb")?e.replace(/\s*,\s*/g," "):e};const se=e=>"string"===typeof e?e:e.map(e=>Object.entries(e).map(([e,t])=>{const n=X(e),r=function(e,t){switch(e){case"hueRotate":return`${ie(t,"deg")}`;case"blur":return`${ie(t,"px")}`;case"dropShadow":return"object"===typeof(n=t)&&null!==n&&"offsetX"in n&&"offsetY"in n?[ie(t.offsetX,"px"),ie(t.offsetY,"px"),ie(t.standardDeviation,"px"),t.color].filter(Boolean).join(" "):String(t);default:return String(t)}var n}(e,t);return`${n}(${r})`}).join(" ")).join(" "),le={thin:"100",ultralight:"200",light:"300",normal:"400",regular:"400",medium:"500",condensed:"500",semibold:"600",bold:"700",condensedBold:"700",heavy:"800",black:"900"};var ce=n(95991);const ue="android"===ce.default?.OS,de="ios"===ce.default?.OS,pe="web"===ce.default?.OS,fe="undefined"!==typeof globalThis.jest||!1,he=(ce.default,"undefined"!==typeof window);function me(e){if("object"!==typeof e)return"string"===typeof e||re(e)?e:`${e}px`}const ge=e=>("string"===typeof e?ne(e):e).map(({offsetX:e,offsetY:t,color:n="#000",blurRadius:r="",spreadDistance:i="",inset:a=""})=>[ie(e,"px"),ie(t,"px"),ie(r,"px"),ie(i,"px"),n,a?"inset":""].filter(Boolean).join(" ")).join(", ");let ye=function(e){return e.CSS="css",e.Default="default",e}({});const ve=function({_worklet_10321160523804_init_data:e,IS_IOS:t}){const n=function(...e){return t?{semantic:e}:{resource_paths:e}};return n.__closure={IS_IOS:t},n.__workletHash=0x963151b501c,n.__initData=e,n}({_worklet_10321160523804_init_data:{code:"(function PlatformColor_reactNativeReanimated_colorsJs1(...names){const{IS_IOS}=this.__closure;return IS_IOS?{semantic:names}:{resource_paths:names};})"},IS_IOS:de}),be=function({_worklet_2185765412143_init_data:e,isRecord:t}){const n=function(e){return t(e)&&(Array.isArray(e.semantic)||Array.isArray(e.resource_paths))};return n.__closure={isRecord:t},n.__workletHash=2185765412143,n.__initData=e,n}({_worklet_2185765412143_init_data:{code:"(function isPlatformColorObject_reactNativeReanimated_colorsJs2(value){const{isRecord}=this.__closure;return isRecord(value)&&(Array.isArray(value.semantic)||Array.isArray(value.resource_paths));})"},isRecord:Z}),_e=function({_worklet_1332127597560_init_data:e}){const t=function(e){return{dynamic:{light:e.light,dark:e.dark,highContrastLight:e.highContrastLight,highContrastDark:e.highContrastDark}}};return t.__closure={},t.__workletHash=1332127597560,t.__initData=e,t}({_worklet_1332127597560_init_data:{code:"(function DynamicColorIOS_reactNativeReanimated_colorsJs3(tuple){return{dynamic:{light:tuple.light,dark:tuple.dark,highContrastLight:tuple.highContrastLight,highContrastDark:tuple.highContrastDark}};})"}}),we=function({_worklet_14860169101522_init_data:e,isRecord:t}){const n=function(e){return t(e)&&t(e.dynamic)&&"light"in e.dynamic&&"dark"in e.dynamic};return n.__closure={isRecord:t},n.__workletHash=0xd83e719c0d2,n.__initData=e,n}({_worklet_14860169101522_init_data:{code:"(function isDynamicColorObjectIOS_reactNativeReanimated_colorsJs4(value){const{isRecord}=this.__closure;return isRecord(value)&&isRecord(value.dynamic)&&'light'in value.dynamic&&'dark'in value.dynamic;})"},isRecord:Z}),ke={invalidColor:function({_worklet_11894376830070_init_data:e}){const t=function(e){return`Invalid color value: ${JSON.stringify(e)}`};return t.__closure={},t.__workletHash=0xad1601b1476,t.__initData=e,t}
23({_worklet_11894376830070_init_data:{code:'(function invalidColor_reactNativeReanimated_colorsJs5(color){return"Invalid color value: "+JSON.stringify(color);})'}}),invalidProcessedColor:function({_worklet_6669964522325_init_data:e}){const t=function(e){return`Invalid processed color value: ${JSON.stringify(e)}`};return t.__closure={},t.__workletHash=6669964522325,t.__initData=e,t}({_worklet_6669964522325_init_data:{code:'(function invalidProcessedColor_reactNativeReanimated_colorsJs6(color){return"Invalid processed color value: "+JSON.stringify(color);})'}}),dynamicNotAvailableOnPlatform:function({_worklet_2426426348384_init_data:e}){const t=function(){return"DynamicColorIOS is not available on this platform."};return t.__closure={},t.__workletHash=2426426348384,t.__initData=e,t}({_worklet_2426426348384_init_data:{code:"(function dynamicNotAvailableOnPlatform_reactNativeReanimated_colorsJs7(){return'DynamicColorIOS is not available on this platform.';})"}})},Se=function({_worklet_5403075908910_init_data:e,processColorInitially:t,IS_ANDROID:n}){const r=function(e){let r=t(e);return n&&"number"==typeof r&&(r|=0),r};return r.__closure={processColorInitially:t,IS_ANDROID:n},r.__workletHash=5403075908910,r.__initData=e,r}({_worklet_5403075908910_init_data:{code:"(function processColorNumber_reactNativeReanimated_colorsJs8(value){const{processColorInitially,IS_ANDROID}=this.__closure;let normalizedColor=processColorInitially(value);if(IS_ANDROID&&typeof normalizedColor=='number'){normalizedColor=normalizedColor|0x0;}return normalizedColor;})"},processColorInitially:F,IS_ANDROID:ue});const xe=["light","dark","highContrastLight","highContrastDark"],Ce=function({_worklet_5288426599776_init_data:e,DynamicColorIOSProperties:t,processColorNumber:n}){const r=function(e){const r={};for(const i of t){if(void 0===e.dynamic[i])continue;const t=n(e.dynamic[i]);if(null===t)return null;r[i]=t}return{dynamic:r}};return r.__closure={DynamicColorIOSProperties:t,processColorNumber:n},r.__workletHash=5288426599776,r.__initData=e,r}({_worklet_5288426599776_init_data:{code:"(function processDynamicColorObjectIOS_reactNativeReanimated_colorsJs9(value){const{DynamicColorIOSProperties,processColorNumber}=this.__closure;const result={};for(const property of DynamicColorIOSProperties){if(value.dynamic[property]===undefined){continue;}const processed=processColorNumber(value.dynamic[property]);if(processed===null){return null;}result[property]=processed;}return{dynamic:result};})"},DynamicColorIOSProperties:xe,processColorNumber:Se});const Ee=function({_worklet_15988185450839_init_data:e,processColorNumber:t,ValueProcessorTarget:n,isPlatformColorObject:r,isDynamicColorObjectIOS:i,IS_IOS:a,ERROR_MESSAGES:o,processDynamicColorObjectIOS:s}){const l=function(e,l){let c=t(e);if(c)return c;if(0===c)return(l?.target!==n.CSS||"transparent"!==e)&&c;if(r(e))return e;if(i(e)){if(!a)throw new Error(`[Reanimated] ${o.dynamicNotAvailableOnPlatform()}`);c=s(e)}if(null===c)throw new Error(`[Reanimated] ${o.invalidColor(e)}`);return c};return l.__closure={processColorNumber:t,ValueProcessorTarget:n,isPlatformColorObject:r,isDynamicColorObjectIOS:i,IS_IOS:a,ERROR_MESSAGES:o,processDynamicColorObjectIOS:s},l.__workletHash=0xe8a8a1d4957,l.__initData=e,l}({_worklet_15988185450839_init_data:{code:'(function processColor_reactNativeReanimated_colorsJs10(value,context){const{processColorNumber,ValueProcessorTarget,isPlatformColorObject,isDynamicColorObjectIOS,IS_IOS,ERROR_MESSAGES,processDynamicColorObjectIOS}=this.__closure;let result=processColorNumber(value);if(result){return result;}if(result===0){if((context===null||context===void 0?void 0:context.target)===ValueProcessorTarget.CSS&&value===\'transparent\'){return false;}return result;}if(isPlatformColorObject(value)){return value;}if(isDynamicColorObjectIOS(value)){if(!IS_IOS){throw new Error("[Reanimated] "+ERROR_MESSAGES.dynamicNotAvailableOnPlatform());}result=processDynamicColorObjectIOS(value);}if(result===null){throw new Error("[Reanimated] "+ERROR_MESSAGES.invalidColor(value));}return result;})'},processColorNumber:Se,ValueProcessorTarget:ye,isPlatformColorObject:be,isDynamicColorObjectIOS:we,IS_IOS:de,ERROR_MESSAGES:ke,processDynamicColorObjectIOS:Ce});!function({_worklet_17259130243823_init_data:e,ColorProperties:t,processColor:n}){const r=function(e){for(const r in e){if(!t.includes(r))continue;const i=e[r];e[r]=Array.isArray(i)?i.map(e=>n(e)):n(i)}};r.__closure={ColorProperties:t,processColor:n},r.__workletHash=0xfb27453caef,r.__initData=e}({_worklet_17259130243823_init_data:{code:"(function processColorsInProps_reactNativeReanimated_colorsJs11(props){const{ColorProperties,processColor}=this.__closure;for(const key in props){if(!ColorProperties.includes(key))continue;const value=props[key];props[key]=Array.isArray(value)?value.map(function(c){return processColor(c);}):processColor(value);}})"},ColorProperties:C,processColor:Ee});const Ae=/^([-+]?\d*\.?\d+(?:[eE][-+]?\d+)?)([a-z%]*)$/,Te=function({_worklet_4259877447804_init_data:e}){const t=function(e){const{numberValue:t,unit:n}=e;return 0!==t&&"deg"!==n&&"rad"!==n?null:"rad"===n?180*t/Math.PI:t};return t.__closure={},t.__workletHash=4259877447804,t.__initData=e,t}({_worklet_4259877447804_init_data:{code:"(function reactNativeReanimated_filterJs1(value){const{numberValue:numberValue,unit:unit}=value;if(numberValue!==0&&unit!=='deg'&&unit!=='rad'){return null;}return unit==='rad'?180*numberValue/Math.PI:numberValue;})"}}),Ie=function({_worklet_8119639210816_init_data:e}){const t=function(e){const{numberValue:t,unit:n}=e;return n&&"px"!==n||t<0?null:t};return t.__closure={},t.__workletHash=8119639210816,t.__initData=e,t}({_worklet_8119639210816_init_data:{code:"(function reactNativeReanimated_filterJs2(value){const{numberValue:numberValue,unit:unit}=value;if(unit&&unit!=='px'||numberValue<0){return null;}return numberValue;})"}}),Re=function({_worklet_446802570465_init_data:e}){const t=function(e){const{numberValue:t,unit:n}=e;return n&&"%"!==n||t<0?null:"%"===n?t/100:t};return t.__closure={},t.__workletHash=446802570465,t.__initData=e,t}({_worklet_446802570465_init_data:{code:"(function reactNativeReanimated_filterJs3(value){const{numberValue:numberValue,unit:unit}=value;if(unit&&unit!=='%'||numberValue<0){return null;}return unit==='%'?numberValue/100:numberValue;})"}}),Oe=function({_worklet_2475614903237_init_data:e,DROP_SHADOW_REGEX:t,isLength:n,FILTER_VALUE_REGEX:r,LENGTH_MAPPINGS:i}){const a=function(e){const a=e.match(t)??[],o={offsetX:0,offsetY:0};let s=0;for(const t of a)if(n(t)){if(!t.trim().match(r))return null;o[i[s++]]=parseFloat(t)}else o.color=t.trim();return o};return a.__closure={DROP_SHADOW_REGEX:t,isLength:n,FILTER_VALUE_REGEX:r,LENGTH_MAPPINGS:i},a.__workletHash=2475614903237,a.__initData=e,a}({_worklet_2475614903237_init_data:{code:"(function reactNativeReanimated_filterJs4(value){const{DROP_SHADOW_REGEX,isLength,FILTER_VALUE_REGEX,LENGTH_MAPPINGS}=this.__closure;var _value$match;const match=(_value$match=value.match(DROP_SHADOW_REGEX))!==null&&_value$match!==void 0?_value$match:[];const result={offsetX:0,offsetY:0};let foundLengthsCount=0;
23for(const part of match){if(isLength(part)){if(!part.trim().match(FILTER_VALUE_REGEX)){return null;}result[LENGTH_MAPPINGS[foundLengthsCount++]]=parseFloat(part);}else{result.color=part.trim();}}return result;})"},DROP_SHADOW_REGEX:/[^,\s()]+(?:\([^()]*\))?/g,isLength:$,FILTER_VALUE_REGEX:Ae,LENGTH_MAPPINGS:["offsetX","offsetY","standardDeviation"]}),De=function({_worklet_16197429072533_init_data:e,parseDropShadowString:t,processColor:n}){const r=function(e,r){const i="string"===typeof e?t(e):e;if(null===i)return null;const{color:a="#000",offsetX:o=0,offsetY:s=0,standardDeviation:l=0}=i,c=parseFloat(l);if(c<0)return null;const u=n(a,r);return null===u?null:{color:u,offsetX:parseFloat(o),offsetY:parseFloat(s),standardDeviation:c}};return r.__closure={parseDropShadowString:t,processColor:n},r.__workletHash=0xebb42019295,r.__initData=e,r}({_worklet_16197429072533_init_data:{code:"(function reactNativeReanimated_filterJs5(value,context){const{parseDropShadowString,processColor}=this.__closure;const dropShadow=typeof value==='string'?parseDropShadowString(value):value;if(dropShadow===null){return null;}const{color='#000',offsetX=0,offsetY=0,standardDeviation=0}=dropShadow;const parsedStdDev=parseFloat(standardDeviation);if(parsedStdDev<0){return null;}const processedColor=processColor(color,context);if(processedColor===null){return null;}return{color:processedColor,offsetX:parseFloat(offsetX),offsetY:parseFloat(offsetY),standardDeviation:parsedStdDev};})"},parseDropShadowString:Oe,processColor:Ee}),Ne=function({_worklet_4497020581965_init_data:e,parseDropShadow:t,isNumber:n,FILTER_VALUE_REGEX:r,parseHueRotate:i,parseBlur:a,parsePercentageFilter:o}){const s=function(e,s,l){if("dropShadow"===e){const e=t(s,l);return null===e?null:{dropShadow:e}}let c,u,d;if(n(s)){if("hueRotate"===e)return{hueRotate:s};c=s,u=""}else{const e=s.match(r);if(!e)return null;c=parseFloat(e[1]),u=e[2]}switch(e){case"hueRotate":d=i({numberValue:c,unit:u});break;case"blur":d=a({numberValue:c,unit:u});break;case"brightness":case"contrast":case"grayscale":case"invert":case"opacity":case"saturate":case"sepia":d=o({numberValue:c,unit:u});break;default:return null}return null===d?null:{[e]:d}};return s.__closure={parseDropShadow:t,isNumber:n,FILTER_VALUE_REGEX:r,parseHueRotate:i,parseBlur:a,parsePercentageFilter:o},s.__workletHash=4497020581965,s.__initData=e,s}({_worklet_4497020581965_init_data:{code:"(function reactNativeReanimated_filterJs6(filterName,filterValue,context){const{parseDropShadow,isNumber,FILTER_VALUE_REGEX,parseHueRotate,parseBlur,parsePercentageFilter}=this.__closure;if(filterName==='dropShadow'){const dropShadow=parseDropShadow(filterValue,context);if(dropShadow===null){return null;}return{dropShadow:dropShadow};}let numberValue;let unit;if(isNumber(filterValue)){if(filterName==='hueRotate'){return{hueRotate:filterValue};}numberValue=filterValue;unit='';}else{const stringValue=filterValue;const match=stringValue.match(FILTER_VALUE_REGEX);if(!match){return null;}numberValue=parseFloat(match[1]);unit=match[2];}let amount;switch(filterName){case'hueRotate':amount=parseHueRotate({numberValue:numberValue,unit:unit});break;case'blur':amount=parseBlur({numberValue:numberValue,unit:unit});break;case'brightness':case'contrast':case'grayscale':case'invert':case'opacity':case'saturate':case'sepia':amount=parsePercentageFilter({numberValue:numberValue,unit:unit});break;default:return null;}if(amount===null){return null;}return{[filterName]:amount};})"},parseDropShadow:De,isNumber:q,FILTER_VALUE_REGEX:Ae,parseHueRotate:Te,parseBlur:Ie,parsePercentageFilter:Re}),je=function({_worklet_3907666575953_init_data:e,FILTER_REGEX:t,parseFilterProperty:n}){const r=function(e,r){const i=Array.from(e.matchAll(t)),a=[];for(const t of i){const[,e,i]=t;if(!e||!i)return[];const o=n(e,i,r);if(null===o)return[];a.push(o)}return a};return r.__closure={FILTER_REGEX:t,parseFilterProperty:n},r.__workletHash=3907666575953,r.__initData=e,r}({_worklet_3907666575953_init_data:{code:"(function reactNativeReanimated_filterJs7(value,context){const{FILTER_REGEX,parseFilterProperty}=this.__closure;const matches=Array.from(value.matchAll(FILTER_REGEX));const filterArray=[];for(const match of matches){const[,name,content]=match;if(!name||!content){return[];}const parsed=parseFilterProperty(name,content,context);if(parsed===null){return[];}filterArray.push(parsed);}return filterArray;})"}
23,FILTER_REGEX:/([\w-]+)\(([^()]*|\([^()]*\)|[^()]*\([^()]*\)[^()]*)\)/g,parseFilterProperty:Ne}),Fe=function({_worklet_13208381247645_init_data:e,parseFilterString:t,parseFilterProperty:n}){const r=function(e,r){if("string"===typeof e)return t(e,r);if(Array.isArray(e)){const t=[];for(const i of e){const e=Object.keys(i)[0],a=n(e,i[e],r);if(null===a)return[];t.push(a)}return t}return[]};return r.__closure={parseFilterString:t,parseFilterProperty:n},r.__workletHash=0xc0350df509d,r.__initData=e,r}({_worklet_13208381247645_init_data:{code:"(function reactNativeReanimated_filterJs8(value,context){const{parseFilterString,parseFilterProperty}=this.__closure;if(typeof value==='string'){return parseFilterString(value,context);}if(Array.isArray(value)){const filterArray=[];for(const filter of value){const filterKey=Object.keys(filter)[0];const parsed=parseFilterProperty(filterKey,filter[filterKey],context);if(parsed===null){return[];}filterArray.push(parsed);}return filterArray;}return[];})"},parseFilterString:je,parseFilterProperty:Ne}),Me={invalidFontWeight:function({_worklet_1763014201211_init_data:e}){const t=function(e){return`Invalid font weight value: ${e}`};return t.__closure={},t.__workletHash=1763014201211,t.__initData=e,t}
23({_worklet_1763014201211_init_data:{code:'(function invalidFontWeight_reactNativeReanimated_fontJs1(weight){return"Invalid font weight value: "+weight;})'}})},Ve=function({_worklet_7763692012351_init_data:e,VALID_FONT_WEIGHTS:t,FONT_WEIGHT_MAPPINGS:n,ERROR_MESSAGES:r}){const i=function(e){const i=e.toString();if(t.has(i))return i;if(i in n)return n[i];throw new Error(`[Reanimated] ${r.invalidFontWeight(e)}`)};return i.__closure={VALID_FONT_WEIGHTS:t,FONT_WEIGHT_MAPPINGS:n,ERROR_MESSAGES:r},i.__workletHash=7763692012351,i.__initData=e,i}({_worklet_7763692012351_init_data:{code:'(function reactNativeReanimated_fontJs2(value){const{VALID_FONT_WEIGHTS,FONT_WEIGHT_MAPPINGS,ERROR_MESSAGES}=this.__closure;const stringValue=value.toString();if(VALID_FONT_WEIGHTS.has(stringValue)){return stringValue;}if(stringValue in FONT_WEIGHT_MAPPINGS){return FONT_WEIGHT_MAPPINGS[stringValue];}throw new Error("[Reanimated] "+ERROR_MESSAGES.invalidFontWeight(value));})'},VALID_FONT_WEIGHTS:new Set(Object.values(le)),FONT_WEIGHT_MAPPINGS:le,ERROR_MESSAGES:Me}),Pe=function({_worklet_7047816689893_init_data:e}){const t=function(e){return{top:e,bottom:e,left:e,right:e}};return t.__closure={},t.__workletHash=7047816689893,t.__initData=e,t}({_worklet_7047816689893_init_data:{code:"(function reactNativeReanimated_insetsJs1(value){return{top:value,bottom:value,left:value,right:value};})"}}),Le=function({_worklet_5371452653597_init_data:e}){const t=function(e){return{top:e,bottom:e}};return t.__closure={},t.__workletHash=5371452653597,t.__initData=e,t}({_worklet_5371452653597_init_data:{code:"(function reactNativeReanimated_insetsJs2(value){return{top:value,bottom:value};})"}}),Be=function({_worklet_6566051853251_init_data:e}){const t=function(e){return{left:e,right:e}};return t.__closure={},t.__workletHash=6566051853251,t.__initData=e,t}({_worklet_6566051853251_init_data:{code:"(function reactNativeReanimated_insetsJs3(value){return{left:value,right:value};})"}}),He={unsupportedAspectRatio:function({_worklet_2812890104066_init_data:e}){const t=function(e){return`Unsupported aspect ratio: ${e}. Expected a number or a string in "a/b" format.`};return t.__closure={},t.__workletHash=2812890104066,t.__initData=e,t}({_worklet_2812890104066_init_data:{code:'(function unsupportedAspectRatio_reactNativeReanimated_othersJs1(ratio){return"Unsupported aspect ratio: "+ratio+". Expected a number or a string in \\"a/b\\" format.";})'}})},We=function({_worklet_13053932239377_init_data:e,ERROR_MESSAGES:t}){const n=function(e){if("number"===typeof e||!isNaN(+e))return+e;if("string"===typeof e){const t=e.split("/");if(2===t.length){const e=parseFloat(t[0]),n=parseFloat(t[1]);if(!isNaN(e)&&!isNaN(n)&&0!==n)return e/n}}throw new Error(`[Reanimated] ${t.unsupportedAspectRatio(e)}`)};return n.__closure={ERROR_MESSAGES:t},n.__workletHash=0xbdf5afe7a11,n.__initData=e,n}({_worklet_13053932239377_init_data:{code:"(function reactNativeReanimated_othersJs2(value){const{ERROR_MESSAGES}=this.__closure;if(typeof value==='number'||!isNaN(+value)){return+value;}else if(typeof value==='string'){const parts=value.split('/');if(parts.length===2){const numerator=parseFloat(parts[0]);const denominator=parseFloat(parts[1]);if(!isNaN(numerator)&&!isNaN(denominator)&&denominator!==0){return numerator/denominator;}}}throw new Error(\"[Reanimated] \"+ERROR_MESSAGES.unsupportedAspectRatio(value));})"},ERROR_MESSAGES:He}),ze=function({_worklet_9344105724901_init_data:e}){const t=function(e){return{rowGap:e,columnGap:e}};return t.__closure={},t.__workletHash=9344105724901,t.__initData=e,t}({_worklet_9344105724901_init_data:{code:"(function reactNativeReanimated_othersJs3(value){return{rowGap:value,columnGap:value};})"}});var Ye=n(98587);const Ue=["color","offsetX","offsetY","spreadDistance","blurRadius"],Xe={notArrayObject:function({_worklet_13483180364918_init_data:e}){const t=function(e){return`Box shadow value must be a string or an array of shadow objects (e.g. [{ offsetX, offsetY, color }]). Received: ${JSON.stringify(e)}.`};return t.__closure={},t.__workletHash=0xc434c2d1476,t.__initData=e,t}({_worklet_13483180364918_init_data:{code:'(function notArrayObject_reactNativeReanimated_shadowsJs1(value){return"Box shadow value must be a string or an array of shadow objects (e.g. [{ offsetX, offsetY, color }]). Received: "+JSON.stringify(value)+".";})'}}),invalidColor:function({_worklet_10368883720498_init_data:e}){const t=function(e,t){return`Invalid color "${e}" in box shadow "${t}".`};return t.__closure={},t.__workletHash=0x96e31a18132,t.__initData=e,t}
23({_worklet_10368883720498_init_data:{code:'(function invalidColor_reactNativeReanimated_shadowsJs2(color,boxShadow){return"Invalid color \\""+color+"\\" in box shadow \\""+boxShadow+"\\".";})'}})},Ge=function({_worklet_16013838380098_init_data:e,IS_ANDROID:t}){const n=function(e){return t?Math.max(parseFloat(e),1):parseFloat(e)};return n.__closure={IS_ANDROID:t},n.__workletHash=0xe908325ec42,n.__initData=e,n}({_worklet_16013838380098_init_data:{code:"(function reactNativeReanimated_shadowsJs3(value){const{IS_ANDROID}=this.__closure;if(IS_ANDROID){return Math.max(parseFloat(value),1);}return parseFloat(value);})"},IS_ANDROID:ue}),qe=function({_worklet_16689351145715_init_data:e,parseBoxShadowString:t,ERROR_MESSAGES:n,processColor:r,parseBlurRadius:i}){const a=function(e,a){if("none"===e)return;const o="string"===typeof e?t(e):e;if(!Array.isArray(o))throw new Error(`[Reanimated] ${n.notArrayObject(o)}`);return o.map(e=>{const{color:t="#000",offsetX:o=0,offsetY:s=0,spreadDistance:l=0,blurRadius:c=0}=e,u=(0,Ye.default)(e,Ue),d=r(t,a);if(void 0===d)throw new Error(`[Reanimated] ${n.invalidColor(t,JSON.stringify(e))}`);return Object.assign({},u,{blurRadius:i(c),color:d,offsetX:parseFloat(o),offsetY:parseFloat(s),spreadDistance:parseFloat(l)})})};return a.__closure={parseBoxShadowString:t,ERROR_MESSAGES:n,processColor:r,parseBlurRadius:i},a.__workletHash=0xf2dcad8b8f3,a.__initData=e,a}({_worklet_16689351145715_init_data:{code:"(function reactNativeReanimated_shadowsJs4(value,context){const{parseBoxShadowString,ERROR_MESSAGES,processColor,parseBlurRadius}=this.__closure;if(value==='none'){return;}const parsedShadow=typeof value==='string'?parseBoxShadowString(value):value;if(!Array.isArray(parsedShadow)){throw new Error(\"[Reanimated] \"+ERROR_MESSAGES.notArrayObject(parsedShadow));}return parsedShadow.map(function(shadow){const{color='#000',offsetX=0,offsetY=0,spreadDistance=0,blurRadius=0,...rest}=shadow;const processedColor=processColor(color,context);if(processedColor===undefined){throw new Error(\"[Reanimated] \"+ERROR_MESSAGES.invalidColor(color,JSON.stringify(shadow)));}return{...rest,blurRadius:parseBlurRadius(blurRadius),color:processedColor,offsetX:parseFloat(offsetX),offsetY:parseFloat(offsetY),spreadDistance:parseFloat(spreadDistance)};});})"},parseBoxShadowString:ne,ERROR_MESSAGES:Xe,processColor:Ee,parseBlurRadius:Ge}),Je=function({_worklet_8781185475294_init_data:e}){const t=function(e){return e.split(",").map(e=>{const t=e.trim();if(["deg","rad","%"].some(e=>t.endsWith(e)))return t;const n=parseFloat(t);return isNaN(n)?t:n})};return t.__closure={},t.__workletHash=8781185475294,t.__initData=e,t}({_worklet_8781185475294_init_data:{code:"(function parseValues_reactNativeReanimated_transformJs1(valueString){return valueString.split(',').map(function(value){const trimmedValue=value.trim();if(['deg','rad','%'].some(function(unit){return trimmedValue.endsWith(unit);})){return trimmedValue;}const numValue=parseFloat(trimmedValue);return isNaN(numValue)?trimmedValue:numValue;});})"}}),$e=function({_worklet_3869620458640_init_data:e,isNumber:t,isPercentage:n}){const r=function(e){return 1===e.length&&(t(e[0])||n(e[0]))?[{translateX:e[0]}]:[]};return r.__closure={isNumber:t,isPercentage:n},r.__workletHash=3869620458640,r.__initData=e,r}({_worklet_3869620458640_init_data:{code:"(function parseTranslateX_reactNativeReanimated_transformJs2(values){const{isNumber,isPercentage}=this.__closure;return values.length===1&&(isNumber(values[0])||isPercentage(values[0]))?[{translateX:values[0]}]:[];})"},isNumber:q,isPercentage:K}),Ke=function({_worklet_7177006756305_init_data:e,isNumber:t,isPercentage:n}){const r=function(e){return 1===e.length&&(t(e[0])||n(e[0]))?[{translateY:e[0]}]:[]};return r.__closure={isNumber:t,isPercentage:n},r.__workletHash=7177006756305,r.__initData=e,r}({_worklet_7177006756305_init_data:{code:"(function parseTranslateY_reactNativeReanimated_transformJs3(values){const{isNumber,isPercentage}=this.__closure;return values.length===1&&(isNumber(values[0])||isPercentage(values[0]))?[{translateY:values[0]}]:[];})"},isNumber:q,isPercentage:K}),Ze=function({_worklet_6501622469025_init_data:e,parseTranslateX:t,parseTranslateY:n}){const r=function(e){if(e.length>2)return[];const r=t([e[0]]).concat(n([e[1]??e[0]]));return 2===r.length?r:[]};return r.__closure={parseTranslateX:t,parseTranslateY:n},r.__workletHash=6501622469025,r.__initData=e,r}({_worklet_6501622469025_init_data:{code:"(function parseTranslate_reactNativeReanimated_transformJs4(values){const{parseTranslateX,parseTranslateY}=this.__closure;var _values$;if(values.length>2){return[];}const result=parseTranslateX([values[0]]).concat(parseTranslateY([(_values$=values[1])!==null&&_values$!==void 0?_values$:values[0]]));return result.length===2?result:[];})"},parseTranslateX:$e,parseTranslateY:Ke}),Qe=function({_worklet_1689484474997_init_data:e,isNumber:t}){const n=function(e){return 1===e.length&&t(e[0])?[{scaleX:e[0]}]:[]};return n.__closure={isNumber:t},n.__workletHash=1689484474997,n.__initData=e,n}({_worklet_1689484474997_init_data:{code:"(function parseScaleX_reactNativeReanimated_transformJs5(values){const{isNumber}=this.__closure;return values.length===1&&isNumber(values[0])?[{scaleX:values[0]}]:[];})"},isNumber:q}),et=function({_worklet_14090296062390_init_data:e,isNumber:t}){const n=function(e){return 1===e.length&&t(e[0])?[{scaleY:e[0]}]:[]};return n.__closure={isNumber:t},n.__workletHash=0xcd0a71771b6,n.__initData=e,n}({_worklet_14090296062390_init_data:{code:"(function parseScaleY_reactNativeReanimated_transformJs6(values){const{isNumber}=this.__closure;return values.length===1&&isNumber(values[0])?[{scaleY:values[0]}]:[];})"},isNumber:q}),tt=function({_worklet_15954170298575_init_data:e,isNumber:t,parseScaleX:n,parseScaleY:r}){const i=function(e){if(e.length>2)return[];if(1===e.length)return t(e[0])?[{scale:e[0]}]:[];const i=n([e[0]]).concat(r([e[1]??e[0]]));return 2===i.length?i:[]};return i.__closure={isNumber:t,parseScaleX:n,parseScaleY:r},i.__workletHash=0xe829ea740cf,i.__initData=e,i}({_worklet_15954170298575_init_data:{code:"(function parseScale_reactNativeReanimated_transformJs7(values){const{isNumber,parseScaleX,parseScaleY}=this.__closure;var _values$;if(values.length>2){return[];}if(values.length===1){return isNumber(values[0])?[{scale:values[0]}]:[];}const result=parseScaleX([values[0]]).concat(parseScaleY([(_values$=values[1])!==null&&_values$!==void 0?_values$:values[0]]));return result.length===2?result:[];})"},isNumber:q,parseScaleX:Qe,parseScaleY:et}),nt=function({_worklet_9838082467225_init_data:e,isAngle:t}){const n=function(e,n){return 1!==n.length||!t(n[0])&&0!==n[0]?[]:[{[e]:0===n[0]?"0deg":n[0]}]};return n.__closure={isAngle:t},n.__workletHash=9838082467225,n.__initData=e,n}({_worklet_9838082467225_init_data:{code:"(function parseRotate_reactNativeReanimated_transformJs8(key,values){const{isAngle}=this.__closure;return values.length===1&&(isAngle(values[0])||values[0]===0)?[{[key]:values[0]===0?'0deg':values[0]}]:[];})"},isAngle:G}),rt=function({_worklet_9604454303595_init_data:e,isAngle:t}){const n=function(e){return 1!==e.length||!t(e[0])&&0!==e[0]?[]:[{skewX:0===e[0]?"0deg":e[0]}]};return n.__closure={isAngle:t},n.__workletHash=9604454303595,n.__initData=e,n}({_worklet_9604454303595_init_data:{code:"(function parseSkewX_reactNativeReanimated_transformJs9(values){const{isAngle}=this.__closure;return values.length===1&&(isAngle(values[0])||values[0]===0)?[{skewX:values[0]===0?'0deg':values[0]}]:[];})"},isAngle:G}),it=function({_worklet_15353742038995_init_data:e,isAngle:t}){const n=function(e){return 1!==e.length||!t(e[0])&&0!==e[0]?[]:[{skewY:0===e[0]?"0deg":e[0]}]};return n.__closure={isAngle:t},n.__workletHash=0xdf6d25717d3,n.__initData=e,n}({_worklet_15353742038995_init_data:{code:"(function parseSkewY_reactNativeReanimated_transformJs10(values){const{isAngle}=this.__closure;return values.length===1&&(isAngle(values[0])||values[0]===0)?[{skewY:values[0]===0?'0deg':values[0]}]:[];})"},isAngle:G}),at=function({_worklet_14293294285081_init_data:e,parseSkewX:t,parseSkewY:n}){const r=function(e){if(e.length>2)return[];const r=t([e[0]]).concat(n([e[1]??e[0]]));return 2===r.length?r:[]};return r.__closure={parseSkewX:t,parseSkewY:n},r.__workletHash=0xcffeaba8119,r.__initData=e,r}({_worklet_14293294285081_init_data:{code:"(function parseSkew_reactNativeReanimated_transformJs11(values){const{parseSkewX,parseSkewY}=this.__closure;var _values$;if(values.length>2){return[];}const result=parseSkewX([values[0]]).concat(parseSkewY([(_values$=values[1])!==null&&_values$!==void 0?_values$:values[0]]));return result.length===2?result:[];})"},parseSkewX:rt,parseSkewY:it}),ot=function({_worklet_3179829063050_init_data:e,isNumberArray:t}){const n=function(e){let n=[];return t(e)&&(6===e.length?n=[e[0],e[1],0,0,e[2],e[3],0,0,0,0,1,0,e[4],e[5],0,1]:16===e.length&&(n=e)),n.length>0?[{matrix:n}]:[]};return n.__closure={isNumberArray:t},n.__workletHash=3179829063050,n.__initData=e,n}({_worklet_3179829063050_init_data:{code:"(function parseMatrix_reactNativeReanimated_transformJs12(values){const{isNumberArray}=this.__closure;let matrixValues=[];if(isNumberArray(values)){if(values.length===6){matrixValues=[values[0],values[1],0,0,values[2],values[3],0,0,0,0,1,0,values[4],values[5],0,1];}else if(values.length===16){matrixValues=values;}}return matrixValues.length>0?[{matrix:matrixValues}]:[];})"},isNumberArray:J}),st=function({_worklet_5937111848610_init_data:e,isNumber:t}){const n=function(e){return 1===e.length&&t(e[0])?[{perspective:e[0]}]:[]};return n.__closure={isNumber:t},n.__workletHash=5937111848610,n.__initData=e,n}({_worklet_5937111848610_init_data:{code:"(function parsePerspective_reactNativeReanimated_transformJs13(values){const{isNumber}=this.__closure;return values.length===1&&isNumber(values[0])?[{perspective:values[0]}]:[];})"},isNumber:q}),lt=function({_worklet_1509319130561_init_data:e,parseValues:t,parseTranslate:n,parseTranslateX:r,parseTranslateY:i,parseScale:a,parseScaleX:o,parseScaleY:s,parseRotate:l,parseSkew:c,parseSkewX:u,parseSkewY:d,parseMatrix:p,parsePerspective:f}){const h=function(e){const[h,m]=e.split(/\(\s*/),g=t(m.replace(/\)$/g,""));switch(h){case"translate":return n(g);case"translateX":return r(g);case"translateY":return i(g);case"scale":return a(g);case"scaleX":return o(g);case"scaleY":return s(g);case"rotate":case"rotateX":case"rotateY":case"rotateZ":return l(h,g);case"skew":return c(g);case"skewX":return u(g);case"skewY":return d(g);case"matrix":return p(g);case"perspective":return f(g);default:return[]}};return h.__closure={parseValues:t,parseTranslate:n,parseTranslateX:r,parseTranslateY:i,parseScale:a,parseScaleX:o,parseScaleY:s,parseRotate:l,parseSkew:c,parseSkewX:u,parseSkewY:d,parseMatrix:p,parsePerspective:f},h.__workletHash=1509319130561,h.__initData=e,h}({_worklet_1509319130561_init_data:{code:"(function reactNativeReanimated_transformJs14(transform){const{parseValues,parseTranslate,parseTranslateX,parseTranslateY,parseScale,parseScaleX,parseScaleY,parseRotate,parseSkew,parseSkewX,parseSkewY,parseMatrix,parsePerspective}=this.__closure;const[key,valueString]=transform.split(/\\(\\s*/);const values=parseValues(valueString.replace(/\\)$/g,''));switch(key){case'translate':return parseTranslate(values);case'translateX':return parseTranslateX(values);case'translateY':return parseTranslateY(values);case'scale':return parseScale(values);case'scaleX':return parseScaleX(values);case'scaleY':return parseScaleY(values);case'rotate':case'rotateX':case'rotateY':case'rotateZ':return parseRotate(key,values);case'skew':return parseSkew(values);case'skewX':return parseSkewX(values);case'skewY':return parseSkewY(values);case'matrix':return parseMatrix(values);case'perspective':return parsePerspective(values);default:return[];}})"},parseValues:Je,parseTranslate:Ze,parseTranslateX:$e,parseTranslateY:Ke,parseScale:tt,parseScaleX:Qe,parseScaleY:et,parseRotate:nt,parseSkew:at,parseSkewX:rt,parseSkewY:it,parseMatrix:ot,parsePerspective:st}),ct=function({_worklet_12654061413480_init_data:e,parseTransformProperty:t,ERROR_MESSAGES:n}){const r=function(e){return"string"!==typeof e?e:e.split(/\)\s*
23/).filter(Boolean).flatMap(e=>{const r=t(e);if(0===r.length)throw new Error(`[Reanimated] ${n.invalidTransform(`${e})`)}`);return r})};return r.__closure={parseTransformProperty:t,ERROR_MESSAGES:n},r.__workletHash=0xb8240d5e468,r.__initData=e,r}({_worklet_12654061413480_init_data:{code:'(function reactNativeReanimated_transformJs15(value){const{parseTransformProperty,ERROR_MESSAGES}=this.__closure;if(typeof value!==\'string\'){return value;}return value.split(/\\)\\s*/).filter(Boolean).flatMap(function(part){const parsed=parseTransformProperty(part);if(parsed.length===0){throw new Error("[Reanimated] "+ERROR_MESSAGES.invalidTransform(part+")"));}return parsed;});})'},parseTransformProperty:lt,ERROR_MESSAGES:{invalidTransform:e=>`Invalid transform property: ${e}`}}),ut={left:0,center:"50%",right:"100%"},dt={top:0,center:"50%",bottom:"100%"},pt=function({_worklet_15589910533329_init_data:e,HORIZONTAL_CONVERSIONS:t,VERTICAL_CONVERSIONS:n}){const r=function(e,r){const i=[];r?i.push("numbers"):i.push("numbers with px unit"),i.push("percentages");let a=[];switch(e){case"x":a=Object.keys(t);break;case"y":a=Object.keys(n)}return a.length&&i.push(`keywords (${a.join(", ")})`),i[i.length-1]=`or ${i[i.length-1]}`,i.join(", ")};return r.__closure={HORIZONTAL_CONVERSIONS:t,VERTICAL_CONVERSIONS:n},r.__workletHash=0xe2dcf1454d1,r.__initData=e,r}({_worklet_15589910533329_init_data:{code:"(function getAllowedValues_reactNativeReanimated_transformOriginJs1(axis,isArray){const{HORIZONTAL_CONVERSIONS,VERTICAL_CONVERSIONS}=this.__closure;const allowed=[];if(isArray){allowed.push('numbers');}else{allowed.push('numbers with px unit');}allowed.push('percentages');let keywords=[];switch(axis){case'x':keywords=Object.keys(HORIZONTAL_CONVERSIONS);break;case'y':keywords=Object.keys(VERTICAL_CONVERSIONS);break;}if(keywords.length){allowed.push(\"keywords (\"+keywords.join(', ')+\")\");}allowed[allowed.length-1]=\"or \"+allowed[allowed.length-1];return allowed.join(', ');})"},HORIZONTAL_CONVERSIONS:ut,VERTICAL_CONVERSIONS:dt}),ft={invalidTransformOrigin:function({_worklet_6703003388664_init_data:e}){const t=function(e){return`Invalid transformOrigin: ${JSON.stringify(e)}. Expected 1-3 values.`};return t.__closure={},t.__workletHash=6703003388664,t.__initData=e,t}({_worklet_6703003388664_init_data:{code:'(function reactNativeReanimated_transformOriginJs2(value){return"Invalid transformOrigin: "+JSON.stringify(value)+". Expected 1-3 values.";})'}}),invalidValue:function({_worklet_15494508471822_init_data:e,getAllowedValues:t}){const n=function(e,n,r,i){return`Invalid value "${e}" for the ${n}-axis in transformOrigin ${JSON.stringify(r)}. Allowed values: ${t(n,i)}.`};return n.__closure={getAllowedValues:t},n.__workletHash=0xe1798ac660e,n.__initData=e,n}({_worklet_15494508471822_init_data:{code:'(function reactNativeReanimated_transformOriginJs3(value,axis,origin,isArray){const{getAllowedValues}=this.__closure;return"Invalid value \\""+value+"\\" for the "+axis+"-axis in transformOrigin "+JSON.stringify(origin)+". Allowed values: "+getAllowedValues(axis,isArray)+".";})'},getAllowedValues:pt})},ht=function({_worklet_8990188148192_init_data:e,VERTICAL_CONVERSIONS:t,HORIZONTAL_CONVERSIONS:n}){const r=function(e){if(e[0]in t&&(void 0===e[1]||e[1]in n)){const t=[...e];return[t[0],t[1]]=[t[1],t[0]],t}return e};return r.__closure={VERTICAL_CONVERSIONS:t,HORIZONTAL_CONVERSIONS:n},r.__workletHash=8990188148192,r.__initData=e,r}({_worklet_8990188148192_init_data:{code:"(function maybeSwapComponents_reactNativeReanimated_transformOriginJs4(components){const{VERTICAL_CONVERSIONS,HORIZONTAL_CONVERSIONS}=this.__closure;if(components[0]in VERTICAL_CONVERSIONS&&(components[1]===undefined||components[1]in HORIZONTAL_CONVERSIONS)){const copy=[...components];[copy[0],copy[1]]=[copy[1],copy[0]];return copy;}return components;})"},VERTICAL_CONVERSIONS:dt,HORIZONTAL_CONVERSIONS:ut}),mt=function({_worklet_14488821472956_init_data:e}){const t=function(e,t,n,r,i){if("number"===typeof e)return e;if(i&&e in i)return i[e];if(t&&e.endsWith("%")){const t=parseFloat(e);if(0===t)return 0;if(!isNaN(t))return`${t}%`}const a=n(e);if(null===a)throw new Error(`[Reanimated] ${r()}`);return a};return t.__closure={},t.__workletHash=0xd2d710e9ebc,t.__initData=e,t}({_worklet_14488821472956_init_data:{code:"(function parseValue_reactNativeReanimated_transformOriginJs5(value,allowPercentages,customParse,getError,keywordConversions){if(typeof value==='number'){return value;}if(keywordConversions&&value in keywordConversions){return keywordConversions[value];}if(allowPercentages&&value.endsWith('%')){const num=parseFloat(value);if(num===0){return 0;}if(!isNaN(num)){return num+\"%\";}}const parsed=customParse(value);if(parsed===null){throw new Error(\"[Reanimated] \"+getError());}return parsed;})"}}),gt=function({_worklet_7049005704196_init_data:e}){const t=function(e){if(e.endsWith("px")||"0"===e){const t=parseFloat(e);
23if(!isNaN(t))return t}return null};return t.__closure={},t.__workletHash=7049005704196,t.__initData=e,t}({_worklet_7049005704196_init_data:{code:"(function parsePx_reactNativeReanimated_transformOriginJs6(component){if(component.endsWith('px')||component==='0'){const num=parseFloat(component);if(!isNaN(num)){return num;}}return null;})"}}),yt=function({_worklet_14078347313221_init_data:e,parsePx:t,ERROR_MESSAGES:n,maybeSwapComponents:r,parseValue:i,HORIZONTAL_CONVERSIONS:a,VERTICAL_CONVERSIONS:o}){const s=function(e){const s=Array.isArray(e);let l="string"===typeof e?e.split(/\s+/):e;const c=s?()=>null:t;if(l.length<1||l.length>3)throw new Error(`[Reanimated] ${n.invalidTransformOrigin(e)}`);return l=r(l),[i(l[0]??"50%",!0,c,()=>n.invalidValue(l[0],"x",e,s),a),i(l[1]??"50%",!0,c,()=>n.invalidValue(l[1],"y",e,s),o),i(l[2]??0,!1,c,()=>n.invalidValue(l[2],"z",e,s))]};return s.__closure={parsePx:t,ERROR_MESSAGES:n,maybeSwapComponents:r,parseValue:i,HORIZONTAL_CONVERSIONS:a,VERTICAL_CONVERSIONS:o},s.__workletHash=0xccddee40045,s.__initData=e,s}({_worklet_14078347313221_init_data:{code:"(function reactNativeReanimated_transformOriginJs7(value){const{parsePx,ERROR_MESSAGES,maybeSwapComponents,parseValue,HORIZONTAL_CONVERSIONS,VERTICAL_CONVERSIONS}=this.__closure;var _components$,_components$2,_components$3;const isArray=Array.isArray(value);let components=typeof value==='string'?value.split(/\\s+/):value;const customParse=isArray?function(){return null;}:parsePx;if(components.length<1||components.length>3){throw new Error(\"[Reanimated] \"+ERROR_MESSAGES.invalidTransformOrigin(value));}components=maybeSwapComponents(components);return[parseValue((_components$=components[0])!==null&&_components$!==void 0?_components$:'50%',true,customParse,function(){return ERROR_MESSAGES.invalidValue(components[0],'x',value,isArray);},HORIZONTAL_CONVERSIONS),parseValue((_components$2=components[1])!==null&&_components$2!==void 0?_components$2:'50%',true,customParse,function(){return ERROR_MESSAGES.invalidValue(components[1],'y',value,isArray);},VERTICAL_CONVERSIONS),parseValue((_components$3=components[2])!==null&&_components$3!==void 0?_components$3:0,false,customParse,function(){return ERROR_MESSAGES.invalidValue(components[2],'z',value,isArray);})];})"},parsePx:gt,ERROR_MESSAGES:ft,maybeSwapComponents:ht,parseValue:mt,HORIZONTAL_CONVERSIONS:ut,VERTICAL_CONVERSIONS:dt}),vt={process:Ee},bt={flex:!0,flexBasis:!0,flexDirection:!0,justifyContent:!0,alignItems:!0,alignSelf:!0,alignContent:!0,flexGrow:!0,flexShrink:!0,flexWrap:!0,gap:{process:ze},rowGap:!0,columnGap:!0,start:!0,end:!0,direction:!0,height:!0,width:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,margin:!0,marginTop:!0,marginRight:!0,marginBottom:!0,marginLeft:!0,marginStart:!0,marginEnd:!0,marginBlock:{as:"marginVertical"},marginBlockEnd:{as:"marginBottom"},marginBlockStart:{as:"marginTop"},marginInline:{as:"marginHorizontal"},marginInlineEnd:{as:"marginRight"},marginInlineStart:{as:"marginLeft"},marginHorizontal:!0,marginVertical:!0,padding:!0,paddingTop:!0,paddingRight:!0,paddingBottom:!0,paddingLeft:!0,paddingStart:!0,paddingEnd:!0,paddingBlock:{as:"paddingVertical"},paddingBlockEnd:{as:"paddingBottom"},paddingBlockStart:{as:"paddingTop"},paddingInline:{as:"paddingHorizontal"},paddingInlineEnd:{as:"paddingRight"},paddingInlineStart:{as:"paddingLeft"},paddingHorizontal:!0,paddingVertical:!0,top:!0,left:!0,bottom:!0,right:!0,inset:{process:Pe},insetBlock:{process:Le},insetInline:{process:Be},insetBlockStart:{as:"top"},insetBlockEnd:{as:"bottom"},insetInlineStart:{as:"left"},insetInlineEnd:{as:"right"},position:!0,display:!0,overflow:!0,zIndex:!0,aspectRatio:{process:We},boxSizing:!1,backgroundColor:vt,color:vt,textDecorationColor:vt,textShadowColor:vt,borderColor:vt,borderTopColor:vt,borderBlockStartColor:vt,borderRightColor:vt,borderEndColor:vt,borderBottomColor:vt,borderBlockEndColor:vt,borderLeftColor:vt,borderStartColor:vt,borderBlockColor:vt,outlineColor:vt,shadowColor:vt,overlayColor:!!ue&&vt,tintColor:vt,shadowOffset:!ue,shadowOpacity:!ue,shadowRadius:!ue,elevation:ue,textShadowOffset:!0,textShadowRadius:!0,boxShadow:{process:qe},borderRadius:!0,borderTopLeftRadius:!0,borderTopStartRadius:!0,borderStartStartRadius:!0,borderTopRightRadius:!0,borderTopEndRadius:!0,borderStartEndRadius:!0,borderBottomLeftRadius:!0,borderBottomStartRadius:!0,borderEndStartRadius:!0,borderBottomRightRadius:!0,borderBottomEndRadius:!0,borderEndEndRadius:!0,borderWidth:!0,borderTopWidth:!0,borderStartWidth:!0,borderBottomWidth:!0,borderEndWidth:!0,borderLeftWidth:!0,borderRightWidth:!0,borderCurve:!1,borderStyle:!0,outlineOffset:!0,outlineStyle:!0,outlineWidth:!0,transformOrigin:{process:yt},transform:{process:ct},backfaceVisibility:!0,opacity:!0,mixBlendMode:!0,backgroundImage:!1,experimental_backgroundImage:!1,experimental_backgroundPosition:!1,experimental_backgroundSize:!1,experimental_backgroundRepeat:!1,fontFamily:!0,fontSize:!0,fontStyle:!0,fontVariant:!0,fontWeight:{process:Ve},textAlign:!0,textAlignVertical:!0,verticalAlign:!1,letterSpacing:!0,lineHeight:!0,textTransform:!0,textDecorationLine:!0,textDecorationStyle:!0,userSelect:!0,writingDirection:!1,includeFontPadding:!0,resizeMode:!0,objectFit:!1,cursor:!0,pointerEvents:!0,filter:{process:Fe},isolation:!0},_t={code:"(function build_reactNativeReanimated_createPropsBuilderJs1(props,options){const{ValueProcessorTarget,processedConfig,isRecord}=this.__closure;var _options$target;const context={target:(_options$target=options===null||options===void 0?void 0:options.target)!==null&&_options$target!==void 0?_options$target:ValueProcessorTarget.Default};const result={};for(const property in props){const configValue=processedConfig[property];const value=props[property];if(configValue===true){result[property]=value;continue;}if(!configValue||value===undefined){if(options!==null&&options!==void 0&&options.includeUnprocessed){result[property]=value;}continue;}const processedValue=configValue(value,context);if(isRecord(processedValue)&&!isRecord(value)){for(const processedKey in processedValue){if(!(processedKey in result)){result[processedKey]=processedValue[processedKey];}}}else{result[property]=processedValue;}}return result;})"};function wt({processConfigValue:e,config:t}){const n=Object.entries(t).reduce((t,[n,r])=>{let i=r,a=0;for(;i;){if(++a>10)throw new Error(`[Reanimated] Max process depth for props builder reached for property ${n}`);if("function"===typeof i||!0===i){t[n]=i;break}i=e(i,n)}return t},{});return{build:function({_worklet_2869141995463_init_data:e,ValueProcessorTarget:t,processedConfig:n,isRecord:r}){const i=function(e,i){const a={target:i?.target??t.Default},o={};for(const t in e){const s=n[t],l=e[t];if(!0===s){o[t]=l;continue}if(!s||void 0===l){i?.includeUnprocessed&&(o[t]=l);continue}const c=s(l,a);if(r(c)&&!r(l))for(const e in c)e in o||(o[e]=c[e]);else o[t]=c}return o};return i.__closure={ValueProcessorTarget:t,processedConfig:n,isRecord:r},i.__workletHash=2869141995463,i.__initData=e,i}({_worklet_2869141995463_init_data:_t,ValueProcessorTarget:ye,processedConfig:n,isRecord:Z})}}const kt={code:"(function reactNativeReanimated_propsBuilderJs1(value,context){const{configValue}=this.__closure;return configValue.process(value,context);})"};function St(e){return wt({config:e,processConfigValue:t=>!0===t||(ee(t)?e[t.as]:te(t)?function({_worklet_6225096274970_init_data:e,configValue:t}){const n=function(e,n){return t.process(e,n)};return n.__closure={configValue:t},n.__workletHash=6225096274970,n.__initData=e,n}({_worklet_6225096274970_init_data:kt,configValue:t}):void 0)})}St(bt),new Set(["boxShadow","shadowOffset","textShadowOffset","transformOrigin"]),new Map;const xt=new Set(Object.keys(bt));function Ct(e){return xt.has(e)}function Et(e,t){let n={};const r=new Map,i=wt({config:e,processConfigValue(t,n){if("string"===typeof t)return e=>ie(e,t);if(ee(t))return e[t.as];const i=ae(t);return i&&r.set(n,t.name),te(t)?t.process:!0===t||i?e=>String(e):void 0}});return{add(e,t){n[e]=t},build(){let e=i.build(n);return n={},r.size&&(e=Object.fromEntries(Object.entries(e).map(([e,t])=>[r.get(e)??e,t]))),t(e)}}}const At=e=>
23`${e.width}px ${e.height}px`,Tt=Et({shadowColor:{process:oe},shadowOffset:{process:At},shadowOpacity:!0,shadowRadius:"px"},({shadowColor:e="#000",shadowOffset:t="0 0",shadowOpacity:n="1",shadowRadius:r="0"})=>{const i=Math.min(Math.max(+n,0),1),a=1!==i?z(e,i):e;return a||u.warn(`Cannot apply shadowOpacity to shadowColor: ${e}`),{boxShadow:`${t} ${r} ${a??e}`}}),It=Et({textShadowColor:{process:oe},textShadowOffset:{process:At},textShadowRadius:"px"},({textShadowColor:e="#000",textShadowOffset:t="0 0",textShadowRadius:n="0"})=>({textShadow:`${t} ${n} ${e}`})),Rt=Et({perspective:"px",rotate:!0,rotateX:!0,rotateY:!0,rotateZ:!0,scale:!0,scaleX:!0,scaleY:!0,translateX:"px",translateY:"px",skewX:!0,skewY:!0,matrix:{name:"matrix3d"}},e=>Object.entries(e).map(([e,t])=>`${e}(${t})`).join(" ")),Ot={process:oe};function Dt(e){const t=new Set,n=new Map,r=wt({config:e,processConfigValue(r,i){if(!0===r)return!0;if(!1===r)return;if("string"===typeof r)return e=>ie(e,r);if(ee(r))return e[r.as];if("object"===typeof(a=r)&&null!==a&&"add"in a&&"build"in a)return e=>{t.add(r),r.add(i,e)};var a;const o=ae(r);return o&&n.set(i,r.name),te(r)?r.process:o?e=>String(e):void 0}});return{build(e,i){t.clear();const a=r.build(e,{includeUnprocessed:i?.includeUnprocessed});for(const n of t)Object.assign(a,n.build());const o=i?.important?" !important":"";return Object.entries(a).reduce((t,[r,a])=>{const s=n.get(r)??r;return(e=>void 0!==e&&null!==e)(a)?t.push(`${X(s)}: ${a}${o}`):i?.includeUnprocessed&&void 0===e[r]&&t.push(`${X(s)}: initial${o}`),t},[]).join("; ")||null}}}const Nt=Dt({flex:!0,flexBasis:"px",flexDirection:!0,justifyContent:!0,alignItems:!0,alignSelf:!0,alignContent:!0,flexGrow:!0,flexShrink:!0,flexWrap:!0,gap:"px",rowGap:"px",columnGap:"px",start:!1,end:!1,direction:!0,height:"px",width:"px",maxHeight:"px",maxWidth:"px",minHeight:"px",minWidth:"px",margin:"px",marginTop:"px",marginRight:"px",marginBottom:"px",marginLeft:"px",marginStart:{as:"marginLeft"},marginEnd:{as:"marginRight"},marginBlock:"px",marginBlockEnd:"px",marginBlockStart:"px",marginInline:"px",marginInlineEnd:"px",marginInlineStart:"px",marginHorizontal:{process:e=>{const t=me(e);if(t)return{marginLeft:t,marginRight:t}}},marginVertical:{process:e=>{const t=me(e);if(t)return{marginTop:t,marginBottom:t}}},padding:"px",paddingTop:"px",paddingRight:"px",paddingBottom:"px",paddingLeft:"px",paddingStart:{as:"paddingLeft"},paddingEnd:{as:"paddingRight"},paddingBlock:"px",paddingBlockEnd:"px",paddingBlockStart:"px",paddingInline:"px",paddingInlineEnd:"px",paddingInlineStart:"px",paddingHorizontal:{process:e=>{const t=me(e);if(t)return{paddingLeft:t,paddingRight:t}}},paddingVertical:{process:e=>{const t=me(e);if(t)return{paddingTop:t,paddingBottom:t}}},top:"px",left:"px",bottom:"px",right:"px",inset:"px",insetBlock:"px",insetBlockEnd:"px",insetBlockStart:"px",insetInline:"px",insetInlineEnd:"px",insetInlineStart:"px",position:!0,display:!0,overflow:!0,zIndex:!0,aspectRatio:!0,boxSizing:!0,backgroundColor:Ot,color:Ot,textDecorationColor:Ot,textShadowColor:It,borderColor:Ot,borderTopColor:Ot,borderBlockStartColor:Ot,borderRightColor:Ot,borderEndColor:{as:"borderRightColor"},borderBottomColor:Ot,borderBlockEndColor:Ot,borderLeftColor:Ot,borderStartColor:{as:"borderLeftColor"},borderBlockColor:Ot,outlineColor:Ot,shadowColor:Tt,overlayColor:Ot,tintColor:Ot,shadowOffset:Tt,shadowOpacity:Tt,shadowRadius:Tt,elevation:!1,textShadowOffset:It,textShadowRadius:It,boxShadow:{process:ge},borderRadius:"px",borderTopLeftRadius:"px",borderTopStartRadius:{as:"borderTopLeftRadius"},borderStartStartRadius:"px",borderTopRightRadius:"px",borderTopEndRadius:{as:"borderTopRightRadius"},borderStartEndRadius:"px",borderBottomLeftRadius:"px",borderBottomStartRadius:{as:"borderBottomLeftRadius"},borderEndStartRadius:"px",borderBottomRightRadius:"px",borderBottomEndRadius:{as:"borderBottomRightRadius"},borderEndEndRadius:"px",borderWidth:"px",borderTopWidth:"px",borderStartWidth:{as:"borderLeftWidth"},borderBottomWidth:"px",borderEndWidth:{as:"borderRightWidth"},borderLeftWidth:"px",borderRightWidth:"px",borderCurve:!0,borderStyle:!0,outlineOffset:"px",outlineStyle:!0,outlineWidth:"px",transformOrigin:{process:e=>"string"===typeof e?e:e.map(e=>"number"===typeof e?`${e}px`:e).join(" ")},transform:{process:e=>
23{if(e)return"string"===typeof e?e:(e.forEach(e=>Object.entries(e??{}).forEach(([e,t])=>Rt.add(e,t))),Rt.build())}},backfaceVisibility:!0,opacity:!0,mixBlendMode:!0,experimental_backgroundImage:!1,fontFamily:!0,fontSize:"px",fontStyle:!0,fontVariant:{process:e=>e.join(", ")},fontWeight:{process:e=>"number"!==typeof e&&isNaN(+e)?e in le?le[e]:void 0:String(e)},textAlign:!0,textAlignVertical:!0,verticalAlign:!0,letterSpacing:"px",lineHeight:"px",textTransform:!0,textDecorationLine:!0,textDecorationStyle:!0,userSelect:!0,writingDirection:!1,includeFontPadding:!1,resizeMode:!1,objectFit:!1,cursor:!0,pointerEvents:!0,filter:{process:se},isolation:!0});function jt(e,t){if(e===t)return!0;if("object"!==typeof e||"object"!==typeof t||null===e||null===t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!jt(e[n],t[n]))return!1;return!0}if(Array.isArray(e)||Array.isArray(t))return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const i=new Set(r);for(const a of n){if(!i.has(a))return!1;if(!jt(e[a],t[a]))return!1}return!0}const Ft="REA-CSS-",Mt=[":focus-within",":focus",":hover",":active",":active-deepest"],Vt=new Set(Mt),Pt=/^-?(\d*\.)?\d+%$/,Lt=/^-?(\d*\.)?\d+ms$/,Bt=/^-?(\d*\.)?\d+s$/,Ht=["linear","ease","ease-in","ease-out","ease-in-out","step-start","step-end"],Wt=["cubic-bezier","steps","linear"],zt=e=>(e=>Ht.includes(e))(e)||Wt.includes(e.split("(")[0].trim()),Yt=e=>{switch(e){case"animationName":case"animationDuration":case"animationTimingFunction":case"animationDelay":case"animationIterationCount":case"animationDirection":case"animationFillMode":case"animationPlayState":return!0;default:return!1}},Ut=e=>{switch(e){case"transitionProperty":case"transitionDuration":case"transitionTimingFunction":case"transitionDelay":case"transitionBehavior":case"transition":return!0;default:return!1}},Xt=["onCSSAnimationStart","onCSSAnimationEnd","onCSSAnimationIteration","onCSSAnimationCancel"],Gt=["onCSSTransitionRun","onCSSTransitionStart","onCSSTransitionEnd","onCSSTransitionCancel"],qt=[...Xt,...Gt],Jt=new Set(qt),$t=e=>Ut(e)||Yt(e),Kt=e=>Jt.has(e),Zt=e=>"string"===typeof e&&(/^-?(\d+)?(\.\d+)?(ms|s)$/.test(e)||"0"===e),Qt=e=>"object"===typeof e&&"cssRules"in e&&"cssText"in e,en=e=>{if(!e||"object"!==typeof e||Array.isArray(e))return!1;const t=Object.keys(e);return 0!==t.length&&t.every(e=>"default"===e||e.startsWith(":"))},tn=e=>"from"===e?0:"to"===e?1:isNaN(+e)?Pt.test(`${e}`)?parseFloat(`${e}`)/100:null:+e;const nn=function({_worklet_9119152544039_init_data:e}){const t=function(e){return!0===e?._isReanimatedSharedValue};return t.__closure={},t.__workletHash=9119152544039,t.__initData=e,t}({_worklet_9119152544039_init_data:{code:"(function isSharedValue_reactNativeReanimated_isSharedValueJs1(value){return(value===null||value===void 0?void 0:value._isReanimatedSharedValue)===true;})"}});function rn(e){const t={};let n={};const r={},i={},a=e;for(const l in a){const e=a[l];if(void 0!==e)if(Yt(l))t[l]=e;else if(Ut(l))"transition"===l?n={transition:e}:n[l]=e;else{if(nn(e))continue;if(en(e)){const t=e.default;void 0!==t&&(r[l]=t);for(const n in e){if("default"===n)continue;const r=i[n]??={selectorStyle:{},defaultStyle:{}};r.selectorStyle[l]=e[n],r.defaultStyle[l]=t}}else{if(Q(e)&&Ct(l))throw new Error(`[Reanimated] Invalid value for "${l}": an empty object is not a valid style value.`);r[l]=e}}}const o=t.animationName,s=!!o&&(Array.isArray(o)?o:[o]).every(e=>{return"none"!==e&&(Qt(e)||"object"===typeof(t=e)&&Object.keys(t).length>0);var t});return[s?Object.assign({},t,{animationName:o}):null,Object.keys(n).length>0?n:null,Object.keys(i).length>0?i:null,r]}const an=e=>(e.match(/[mlhvcsqtaz]/gi)??[]).join("").toLowerCase(),on=e=>/z\s*$/i.test(e.trim()),sn=e=>"string"===typeof e[1].d,ln=e=>`${e.trim()}Z`,cn=e=>+(100*e+.001).toFixed(3)+"%";const un=(e,t,n,r)=>{const i=(e=>{const t=e.strokeDasharray;return Array.isArray(t)?t[0]:t})(e[r]),a=n??(0===t?"from":"to");return Object.assign({},e,{[a]:Object.assign({},e[a],{strokeDasharray:i})})};const dn={none:"none",default:"none",nonScalingStroke:"non-scaling-stroke","non-scaling-stroke":"non-scaling-stroke",inherit:"inherit"},pn={process:oe},fn={color:pn},hn={fill:pn,fillOpacity:!0,fillRule:!0},mn={stroke:pn,strokeWidth:"px",strokeOpacity:!0,strokeDasharray:{process:e=>Array.isArray(e)?e.map(e=>ie(e,"px")).join(" "):ie(e,"px")},strokeDashoffset:"px",strokeLinecap:!0,strokeLinejoin:!0,strokeMiterlimit:!0,vectorEffect:{process:e=>dn[e]??e}},gn=Object.assign({},fn,hn,mn,{transform:!0},{pointerEvents:!0},{opacity:!0}),yn=Object.assign({},gn,{cx:"px",cy:"px",r:"px"}),vn=Object.assign({},gn,{cx:"px",cy:"px",rx:"px",ry:"px"}),bn=Object.assign({},gn,{x:"px",y:"px",width:"px",height:"px"}),_n=Object.assign({},gn,{d:{process:e=>`path("${e}")`}}),wn=Object.assign({},gn,{x:"px",y:"px",rx:"px",ry:"px",width:"px",height:"px"}),kn=new Map,Sn=[];function xn(e){return function(e){const t=kn.get(e);if(t)return t;for(const{matcher:n,builder:r}of Sn)if(n instanceof RegExp?n.test(e):n(e))return r;return null}(e)}function Cn(e,t){const n=Dt(t);"string"===typeof e?kn.set(e,n):Sn.push({matcher:e,builder:n})}const En=["g","line","pattern","polygon","polyline","text","linearGradient","radialGradient"];var An=n(90194),Tn=n(95568),In=n(48818);let Rn=function(e){return e[e.ENTERING=1]="ENTERING",e[e.EXITING=2]="EXITING",e[e.LAYOUT=3]="LAYOUT",e[e.SHARED_ELEMENT_TRANSITION=4]="SHARED_ELEMENT_TRANSITION",e[e.SHARED_ELEMENT_TRANSITION_NATIVE_ID=5]="SHARED_ELEMENT_TRANSITION_NATIVE_ID",e[e.SHARED_ELEMENT_TRANSITION_PROGRESS=6]="SHARED_ELEMENT_TRANSITION_PROGRESS",e[e.SHARED_ELEMENT_TRANSITION_PROGRESS_NATIVE_ID=7]="SHARED_ELEMENT_TRANSITION_PROGRESS_NATIVE_ID",e}({}),On=function(e){return e[e.ACCELEROMETER=1]="ACCELEROMETER",e[e.GYROSCOPE=2]="GYROSCOPE",e[e.GRAVITY=3]="GRAVITY",e[e.MAGNETIC_FIELD=4]="MAGNETIC_FIELD",e[e.ROTATION=5]="ROTATION",e}({}),Dn=function(e){return e[e.XArbitraryZVertical=0]="XArbitraryZVertical",e[e.XArbitraryCorrectedZVertical=1]="XArbitraryCorrectedZVertical",e[e.XMagneticNorthZVertical=2]="XMagneticNorthZVertical",e[e.XTrueNorthZVertical=3]="XTrueNorthZVertical",e[e.Auto=4]="Auto",e}({}),Nn=function(e){return e[e.ROTATION_0=0]="ROTATION_0",e[e.ROTATION_90=90]="ROTATION_90",e[e.ROTATION_180=180]="ROTATION_180",e[e.ROTATION_270=270]="ROTATION_270",e}({}),jn=function(e){return e[e.UNKNOWN=0]="UNKNOWN",e[e.OPENING=1]="OPENING",e[e.OPEN=2]="OPEN",e[e.CLOSING=3]="CLOSING",e[e.CLOSED=4]="CLOSED",e}({}),Fn=function(e){return e.System="system",e.Always="always",e.Never="never",e}({});const Mn={RUNTIME_TEST_FLAG:!1,DISABLE_COMMIT_PAUSING_MECHANISM:!1,ANDROID_SYNC
23HRONOUSLY_UPDATE_UI_PROPS:!1,IOS_SYNCHRONOUSLY_UPDATE_UI_PROPS:!1,EXPERIMENTAL_CSS_ANIMATIONS_FOR_SVG_COMPONENTS:!0,IOS_CSS_CORE_ANIMATION:!1,ANDROID_CSS_PLATFORM_TRANSITIONS:!1,USE_SYNCHRONIZABLE_FOR_MUTABLES:!0,USE_COMMIT_HOOK_ONLY_FOR_REACT_COMMITS:!0,ENABLE_SHARED_ELEMENT_TRANSITIONS:!1,FORCE_REACT_RENDER_FOR_SETTLED_ANIMATIONS:!0,USE_ANIMATION_BACKEND:!1};class Vn{#a=In.WorkletsModule;nextSensorId=0;sensors=new Map;platform=void 0;constructor(){0}registerEventHandler(e,t,n){throw new Error("[Reanimated] registerEventHandler is not available in JSReanimated.")}unregisterEventHandler(e){throw new Error("[Reanimated] unregisterEventHandler is not available in JSReanimated.")}configureLayoutAnimationBatch(){}setShouldAnimateExitingForTag(){}registerSensor(e,t,n,r){if(!he)return-1;if(void 0===this.platform&&this.detectPlatform(),!(this.getSensorName(e)in window))return u.warn("Sensor is not available."+(pe&&"https:"!==location.protocol?" Make sure you use secure origin with `npx expo start --web --https`.":"")+(this.platform===Pn.WEB_IOS?" For iOS web, you will also have to also grant permission in the browser: https://dev.to/li/how-to-requestpermission-for-devicemotion-and-deviceorientation-events-in-ios-13-46g2.":"")),-1;void 0===this.platform&&this.detectPlatform();const i=this.initializeSensor(e,t);return i.addEventListener("reading",this.getSensorCallback(i,e,r)),i.start(),this.sensors.set(this.nextSensorId,i),this.nextSensorId++}getSensorCallback=(e,t,n)=>{switch(t){case On.ACCELEROMETER:case On.GRAVITY:return()=>{let{x:t,y:r,z:i}=e;this.platform===Pn.WEB_ANDROID&&([t,r,i]=[-t,-r,-i]),n({x:t,y:r,z:i,interfaceOrientation:0})};case On.GYROSCOPE:case On.MAGNETIC_FIELD:return()=>{const{x:t,y:r,z:i}=e;n({x:t,y:r,z:i,interfaceOrientation:0})};case On.ROTATION:return()=>{const[t,r]=e.quaternion;let[,,i,a]=e.quaternion;this.platform===Pn.WEB_ANDROID&&([i,a]=[a,-i]);const o=-Math.atan2(2*(i*a+t*r),t*t-r*r-i*i+a*a),s=Math.sin(-2*(r*a-t*i)),l=-Math.atan2(2*(r*i+t*a),t*t+r*r-i*i-a*a);n({qw:t,qx:r,qy:i,qz:a,yaw:o,pitch:s,roll:l,interfaceOrientation:0})}}};unregisterSensor(e){const t=this.sensors.get(e);void 0!==t&&(t.stop(),this.sensors.delete(e))}subscribeForKeyboardEvents(e){return pe?u.warn("useAnimatedKeyboard is not available on web yet."):fe?u.warn("useAnimatedKeyboard is not available when using Jest."):u.warn("useAnimatedKeyboard is not available on this configuration."),-1}unsubscribeFromKeyboardEvents(e){}initializeSensor(e,t){const n=t<=0?{referenceFrame:"device"}:{frequency:1e3/t};switch(e){case On.ACCELEROMETER:return new window.Accelerometer(n);case On.GYROSCOPE:return new window.Gyroscope(n);case On.GRAVITY:return new window.GravitySensor(n);case On.MAGNETIC_FIELD:return new window.Magnetometer(n);case On.ROTATION:return new window.AbsoluteOrientationSensor(n)}}getSensorName(e){switch(e){case On.ACCELEROMETER:return"Accelerometer";case On.GRAVITY:return"GravitySensor";case On.GYROSCOPE:return"Gyroscope";case On.MAGNETIC_FIELD:return"Magnetometer";case On.ROTATION:return"AbsoluteOrientationSensor"}}detectPlatform(){const e=navigator.userAgent||navigator.vendor||window.opera;void 0===e?this.platform=Pn.UNKNOWN:/iPad|iPhone|iPod/.test(e)?this.platform=Pn.WEB_IOS:/android/i.test(e)?this.platform=Pn.WEB_ANDROID:this.platform=Pn.WEB}getViewProp(e,t,n,r){throw new Error("[Reanimated] getViewProp is not available in JSReanimated.")}getStaticFeatureFlag(e){return!fe&&(Mn[e]??!1)}setDynamicFeatureFlag(){}setViewStyle(e,t){throw new Error("[Reanimated] setViewStyle is not available in JSReanimated.")}setCSSEventHandler(e){throw new Error("[Reanimated] `setCSSEventHandler` is not available in JSReanimated.")}markNodeAsRemovable(e){throw new Error("[Reanimated] markNodeAsRemovable is not available in JSReanimated.")}unmarkNodeAsRemovable(e){throw new Error("[Reanimated] unmarkNodeAsRemovable is not available in JSReanimated.")}registerCSSKeyframes(e,t,n){throw new Error("[Reanimated] `registerCSSKeyframes` is not available in JSReanimated.")}unregisterCSSKeyframes(e,t){throw new Error("[Reanimated] `unregisterCSSKeyframes` is not available in JSReanimated.")}
23applyCSSAnimations(e,t,n){throw new Error("[Reanimated] `applyCSSAnimations` is not available in JSReanimated.")}unregisterCSSAnimations(e){throw new Error("[Reanimated] `unregisterCSSAnimations` is not available in JSReanimated.")}runCSSTransition(e,t,n){throw new Error("[Reanimated] `runCSSTransition` is not available in JSReanimated.")}unregisterCSSTransition(e){throw new Error("[Reanimated] `unregisterCSSTransition` is not available in JSReanimated.")}getSettledUpdates(){throw new Error("[Reanimated] `getSettledUpdates` is not available in JSReanimated.")}registerPseudoStyles(){throw new Error("[Reanimated] `registerPseudoStyles` is not available in JSReanimated.")}unregisterPseudoStyles(){throw new Error("[Reanimated] `unregisterPseudoStyles` is not available in JSReanimated.")}}let Pn=function(e){return e.WEB_IOS="web iOS",e.WEB_ANDROID="web Android",e.WEB="web",e.UNKNOWN="unknown",e}({});const Ln=(e,t,n)=>{if(t){const r=t.getAnimatableRef?t.getAnimatableRef():t,[i]=Object.keys(e).reduce((t,n)=>{const r=e[n];return t["function"===typeof r?1:0][n]=r,t},[{},{}]);if("function"===typeof r.setNativeProps)Bn(r,i,n);else if(void 0!==An.default&&void 0!==r.style)Hn(r,i,n);else if(r.props&&Object.keys(r.props).length>0)Object.keys(r.props).forEach(e=>{if(!(e in i))return;const t=e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase());r._touchableNode.setAttribute(t,i[e])});else{const e="className"in r?r?.className:"";u.warn(`It's not possible to manipulate the component ${e}`)}}},Bn=(e,t,n)=>{n&&e.setNativeProps?.(t);const r=e.previousStyle?e.previousStyle:{},i=Object.assign({},r,t);e.previousStyle=i,e.setNativeProps?.({style:i})},Hn=(e,t,n)=>{const r=e.previousStyle?e.previousStyle:{},i=Object.assign({},r,t);e.previousStyle=i;const a=(0,An.default)(i);Array.isArray(a.transform)&&void 0!==Tn.createTransformValue&&(a.transform=(0,Tn.createTransformValue)(a.transform)),void 0!==Tn.createTextShadowValue&&(a.textShadowColor||a.textShadowRadius||a.textShadowOffset)&&(a.textShadow=(0,Tn.createTextShadowValue)({textShadowColor:a.textShadowColor,textShadowOffset:a.textShadowOffset,textShadowRadius:a.textShadowRadius}));for(const o in a)n?"INPUT"===e.nodeName&&"text"===o?e.value=a[o]:e.setAttribute(o,a[o]):e.style[o]=a[o]},Wn=new Vn,zn={EXAMPLE_DYNAMIC_FLAG:!0,init(){Object.keys(zn).forEach(e=>{"init"!==e&&"setFlag"!==e&&"getFlag"!==e&&Wn.setDynamicFeatureFlag(e,zn[e])})},setFlag(e,t){e in zn?(zn[e]=t,Wn.setDynamicFeatureFlag(e,t)):u.warn(`The feature flag: '${e}' no longer exists, you can safely remove invocation of \`setDynamicFeatureFlag('${e}')\` from your code.`)},getFlag:e=>e in zn?zn[e]:(u.warn(`The feature flag: '${e}' no longer exists, you can safely remove invocation of \`getDynamicFeatureFlag('${e}')\` from your code.`),!1)};function Yn(e,t){zn.setFlag(e,t)}function Un(e){return zn.getFlag(e)}zn.init();const Xn={};function Gn(e){if(e in Xn)return Xn[e];const t=Wn.getStaticFeatureFlag(e);return Xn[e]=t,t}var qn=n(36665),Jn=n(90932);function $n(e){return"build"in e&&"function"===typeof e.build}var Kn=n(56403);function Zn(e,t){if("function"===typeof e){const n=e(t);return"function"===typeof n?n:void 0}e&&(e.current=t)}const Qn=function({_worklet_16414688502137_init_data:e}){const t=function(e,t,r=!1){const i=e._animation;if(i&&(e._animation=null,i.finished||(i.cancelled=!0,i.callback?.(!1))),"function"===typeof t||null!==t&&"object"===typeof t&&void 0!==t.onFrame&&void 0!==t.onStart){const a="function"===typeof t?t():t;if(e._value===a.current&&!a.isHigherOrder&&!r)return void a.callback?.(!0);const o=t=>{a.onStart(a,e.value,t,i)},s=n.g.__frameTimestamp||n.g._getAnimationTimestamp();o(s);const l=t=>{if(a.cancelled)return;const n=a.onFrame(a,t);a.timestamp=t,e._value=a.current,n?(a.finished=!0,a.callback?.(!0)):requestAnimationFrame(l)};e._animation=a,l(s)}else{if(e._value===t&&!r)return;e._value=t}};return t.__closure={},t.__workletHash=0xeedd7ad6179,t.__initData=e,t}({_worklet_16414688502137_init_data:{code:"(function valueSetter_reactNativeReanimated_valueSetterJs1(mutable,value,forceUpdate=false){const previousAnimation=mutable._animation;if(previousAnimation){mutable._animation=null;if(!previousAnimation.finished){var _previousAnimation$ca;previousAnimation.cancelled=true;(_previousAnimation$ca=previousAnimation.callback)===null||_previousAnimation$ca===void 0||_previousAnimation$ca.call(previousAnimation,false);}}if(typeof value==='function'||value!==null&&typeof value==='object'&&value.onFrame!==undefined&&value.onStart!==undefined){const animation=typeof value==='function'?value(
23):value;if(mutable._value===animation.current&&!animation.isHigherOrder&&!forceUpdate){var _animation$callback;(_animation$callback=animation.callback)===null||_animation$callback===void 0||_animation$callback.call(animation,true);return;}const initializeAnimation=function(timestamp){animation.onStart(animation,mutable.value,timestamp,previousAnimation);};const currentTimestamp=global.__frameTimestamp||global._getAnimationTimestamp();initializeAnimation(currentTimestamp);const step=function(timestamp){if(animation.cancelled){return;}const finished=animation.onFrame(animation,timestamp);animation.timestamp=timestamp;mutable._value=animation.current;if(finished){var _animation$callback2;animation.finished=true;(_animation$callback2=animation.callback)===null||_animation$callback2===void 0||_animation$callback2.call(animation,true);}else{requestAnimationFrame(step);}};mutable._animation=animation;step(currentTimestamp);}else{if(mutable._value===value&&!forceUpdate){return;}mutable._value=value;}})"}});!function({_worklet_6206704661519_init_data:e,valueSetter:t}){const n=function(e,n){const r=new Map;let i=e.value,a=!1;return Object.defineProperties(e,{value:{get:()=>i,set(n){t(e,n)},enumerable:!0,configurable:!0},get:{value:()=>e.value,configurable:!1,enumerable:!1},set:{value(t){"function"!==typeof t||t.__isAnimationDefinition?e.value=t:e.value=t(e.value)},configurable:!1,enumerable:!1},_value:{get:()=>i,set(e){a||this.setDirty(!0),i=e,r.forEach(t=>{t(e)})}},modify:{value:(n,r=!0)=>{t(e,void 0!==n?n(i):i,r)},writable:!0,enumerable:!0,configurable:!0},addListener:{value:(e,t)=>{r.set(e,t)},writable:!0,enumerable:!0,configurable:!0},removeListener:{value:e=>{r.delete(e)},writable:!0,enumerable:!0,configurable:!0},setDirty:{value:e=>{n?.setBlocking(e),a=e},writable:!0,enumerable:!0,configurable:!0},_animation:{value:null,writable:!0,enumerable:!0,configurable:!0},_isReanimatedSharedValue:{value:!0,writable:!0,enumerable:!0,configurable:!0}}),e};n.__closure={valueSetter:t},n.__workletHash=6206704661519,n.__initData=e}({_worklet_6206704661519_init_data:{code:"(function mutableHostDecorator_reactNativeReanimated_mutablesCommonJs1(mutable,dirtyFlag){const{valueSetter}=this.__closure;const listeners=new Map();let value=mutable.value;let isDirty=false;Object.defineProperties(mutable,{value:{get:function(){return value;},set:function(newValue){valueSetter(mutable,newValue);},enumerable:true,configurable:true},get:{value:function(){return mutable.value;},configurable:false,enumerable:false},set:{value:function(newValue){if(typeof newValue==='function'&&!newValue.__isAnimationDefinition){mutable.value=newValue(mutable.value);}else{mutable.value=newValue;}},configurable:false,enumerable:false},_value:{get:function(){return value;},set:function(newValue){if(!isDirty){this.setDirty(true);}value=newValue;listeners.forEach(function(listener){listener(newValue);});}},modify:{value:function(modifier,forceUpdate=true){valueSetter(mutable,modifier!==undefined?modifier(value):value,forceUpdate);},writable:true,enumerable:true,configurable:true},addListener:{value:function(id,listener){listeners.set(id,listener);},writable:true,enumerable:true,configurable:true},removeListener:{value:function(id){listeners.delete(id);},writable:true,enumerable:true,configurable:true},setDirty:{value:function(dirty){dirtyFlag===null||dirtyFlag===void 0||dirtyFlag.setBlocking(dirty);isDirty=dirty;},writable:true,enumerable:true,configurable:true},_animation:{value:null,writable:true,enumerable:true,configurable:true},_isReanimatedSharedValue:{value:true,writable:true,enumerable:true,configurable:true}});return mutable;})"},valueSetter:Qn});function er(e){let t=e;const n=new Map,r={get value(){return t},set value(e){Qn(r,e)},get:()=>r.value,set(e){"function"!==typeof e||e.__isAnimationDefinition?r.value=e:r.value=e(r.value)},get _value(){return t},set _value(e){t=e,n.forEach(t=>{t(e)})},modify:(e,t=!0)=>{Qn(r,void 0!==e?e(r.value):r.value,t)},addListener:(e,t)=>{n.set(e,t)},removeListener:e=>{n.delete(e)},_isReanimatedSharedValue:!0};return Object.defineProperties(r,{_value:{configurable:!1,enumerable:!1},get:{configurable:!1,enumerable:!1,writable:!1},set:{configurable:!1,enumerable:!1,writable:!1}}),fe&&(r.toJSON=()=>function(e){return JSON.stringify(e)}(t)),r}class tr{listenersNumber=0;sensorId=null;constructor(e,t){this.sensorType=e,this.config=t,this.data=function(e){return e===On.ROTATION?er({qw:0,qx:0,qy:0,qz:0,yaw:0,pitch:0,roll:0,interfaceOrientation:0}):er({x:0,y:0,z:0,interfaceOrientation:0})}(e)}register(e){const t=this.config,n=this.sensorType;return this.sensorId=Wn.registerSensor(n,"auto"===t.interval?-1:t.interval,t.iosReferenceFrame,e),-1!==this.sensorId}isRunning(){return-1!==this.sensorId&&null!==this.sensorId}isAvailable(){return-1!==this.sensorId}getSharedValue(){return this.data}unregister(){null!==this.sensorId&&-1!==this.sensorId&&Wn.unregisterSensor(this.sensorId),this.sensorId=null}}class nr{nativeSensors=new Map;getSensorId(e,t){return 100*e+10*t.iosReferenceFrame+Number(t.adjustToInterfaceOrientation)}initializeSensor(e,t){const n=this.getSensorId(e,t);if(!this.nativeSensors.has(n)){const r=new tr(e,t);this.nativeSensors.set(n,r)}return this.nativeSensors.get(n).getSharedValue()}registerSensor(e,t,n){const r=this.getSensorId(e,t);if(!this.nativeSensors.has(r))return-1;const i=this.nativeSensors.get(r);return i&&i.isAvailable()&&(i.isRunning()||i.register(n))?(i.listenersNumber++,r):-1}unregisterSensor(e){if(this.nativeSensors.has(e)){const t=this.nativeSensors.get(e);t&&t.isRunning()&&(t.listenersNumber--,0===t.listenersNumber&&t.unregister())}}}const rr=function({_worklet_460539412427_init_data:e,IS_JEST:t,isSharedValue:r}){const i=function(){const e=new Map;let i=[],a=!1,o=!1;function s(){const t=new Map;
23e.forEach(e=>{if(e.outputs)for(const n of e.outputs){const r=t.get(n);void 0===r?t.set(n,[e]):r.push(e)}});const n=new Set,r=[];function a(e){n.add(e);for(const r of e.inputs){const e=t.get(r);if(e)for(const t of e)n.has(t)||a(t)}r.push(e)}e.forEach(e=>{n.has(e)||a(e)}),i=r}let l=[];n.g.__requestMapperRunFinalizer=e=>{l.push(e)};let c=!1;function u(){if(!o)try{if(o=!0,e.size!==i.length&&s(),c){c=!1;for(const e of i)e.dirty&&(e.dirty=!1,e.worklet())}}finally{o=!1;const e=l;l=[];for(const t of e)t()}}const d=requestAnimationFrame;function p(){a=!1,u()}function f(){t?u():a||(o?d(p):queueMicrotask(p),a=!0)}function h(e,t){if(Array.isArray(e))for(const n of e)n&&h(n,t);else if(r(e))t.push(e);else if(Object.getPrototypeOf(e)===Object.prototype)for(const n of Object.values(e))n&&h(n,t);return t}return n.g.__mapperRun=u,{start:(t,n,r,a)=>{const o={id:t,dirty:!0,worklet:n,inputs:h(r,[]),outputs:a};e.set(o.id,o),i=[],c=!0;for(const e of o.inputs)e.addListener(o.id,()=>{o.dirty=!0,c=!0,f()});f()},stop:t=>{const n=e.get(t);if(n){e.delete(n.id),i=[],c=!0;for(const e of n.inputs)e.removeListener(n.id)}}}};return i.__closure={IS_JEST:t,isSharedValue:r},i.__workletHash=460539412427,i.__initData=e,i}({_worklet_460539412427_init_data:{code:"(function createMapperRegistry_reactNativeReanimated_mappersJs1(){const{IS_JEST,isSharedValue}=this.__closure;const mappers=new Map();let sortedMappers=[];let runRequested=false;let processingMappers=false;function updateMappersOrder(){const pre=new Map();mappers.forEach(function(mapper){if(mapper.outputs){for(const output of mapper.outputs){const preMappers=pre.get(output);if(preMappers===undefined){pre.set(output,[mapper]);}else{preMappers.push(mapper);}}}});const visited=new Set();const newOrder=[];function dfs(mapper){visited.add(mapper);for(const input of mapper.inputs){const preMappers=pre.get(input);if(preMappers){for(const preMapper of preMappers){if(!visited.has(preMapper)){dfs(preMapper);}}}}newOrder.push(mapper);}mappers.forEach(function(mapper){if(!visited.has(mapper)){dfs(mapper);}});sortedMappers=newOrder;}let mapperRunFinalizers=[];global.__requestMapperRunFinalizer=function(finalizer){mapperRunFinalizers.push(finalizer);};let isAnyMapperDirty=false;function mapperRun(){if(processingMappers){return;}try{processingMappers=true;if(mappers.size!==sortedMappers.length){updateMappersOrder();}if(isAnyMapperDirty){isAnyMapperDirty=false;for(const mapper of sortedMappers){if(mapper.dirty){mapper.dirty=false;mapper.worklet();}}}}finally{processingMappers=false;const finalizers=mapperRunFinalizers;mapperRunFinalizers=[];for(const finalizer of finalizers){finalizer();}}}const schedulingFunction=requestAnimationFrame;function scheduledMapperRun(){runRequested=false;mapperRun();}global.__mapperRun=mapperRun;function maybeRequestUpdates(){if(IS_JEST){mapperRun();}else if(!runRequested){if(processingMappers){schedulingFunction(scheduledMapperRun);}else{queueMicrotask(scheduledMapperRun);}runRequested=true;}}function extractInputs(inputs,resultArray){if(Array.isArray(inputs)){for(const input of inputs){if(input){extractInputs(input,resultArray);}}}else if(isSharedValue(inputs)){resultArray.push(inputs);}else if(Object.getPrototypeOf(inputs)===Object.prototype){for(const element of Object.values(inputs)){if(element){extractInputs(element,resultArray);}}}return resultArray;}return{start:function(mapperID,worklet,inputs,outputs){const mapper={id:mapperID,dirty:true,worklet:worklet,inputs:extractInputs(inputs,[]),outputs:outputs};mappers.set(mapper.id,mapper);sortedMappers=[];isAnyMapperDirty=true;for(const sv of mapper.inputs){sv.addListener(mapper.id,function(){mapper.dirty=true;isAnyMapperDirty=true;maybeRequestUpdates();});}maybeRequestUpdates();},stop:function(mapperID){const mapper=mappers.get(mapperID);if(mapper){mappers.delete(mapper.id);sortedMappers=[];isAnyMapperDirty=true;for(const sv of mapper.inputs){sv.removeListener(mapper.id);}}}};})"},IS_JEST:fe,isSharedValue:nn});let ir=9999;const ar={code:"(function reactNativeReanimated_mappersJs2(){const{createMapperRegistry,mapperID,worklet,inputs,outputs}=this.__closure;let mapperRegistry=global.__mapperRegistry;if(mapperRegistry===undefined){mapperRegistry=global.__mapperRegistry=createMapperRegistry();}mapperRegistry.start(mapperID,worklet,inputs,outputs);})"};function or(e,t=[],r=[]){const i=ir+=1;return(0,In.scheduleOnUI)(function({_worklet_15546002037437_init_data:e,createMapperRegistry:t,mapperID:r,worklet:i,inputs:a,outputs:o}){const s=function(){let e=n.g.__mapperRegistry;void 0===e&&(e=n.g.__mapperRegistry=t()),e.start(r,i,a,o)};return s.__closure={createMapperRegistry:t,mapperID:r,worklet:i,inputs:a,outputs:o},s.__workletHash=0xe2395eddabd,s.__initData=e,s}({_worklet_15546002037437_init_data:ar,createMapperRegistry:rr,mapperID:i,worklet:e,inputs:t,outputs:r})),i}const sr={code:"(function reactNativeReanimated_mappersJs3(){const{mapperID}=this.__closure;const mapperRegistry=global.__mapperRegistry;mapperRegistry===null||mapperRegistry===void 0||mapperRegistry.stop(mapperID);})"};function lr(e){(0,In.scheduleOnUI)(function({_worklet_13410342687249_init_data:e,mapperID:t}){const r=function(){const e=n.g.__mapperRegistry;e?.stop(t)};return r.__closure={mapperID:t},r.__workletHash=0xc3256b65211,r.__initData=e,r}({_worklet_13410342687249_init_data:sr,mapperID:e}))}const cr=(0,Kn.isEdgeToEdge)(),ur=()=>(u.warn("The `isReanimated3` function is deprecated. Please use the exported variable `reanimatedVersion` instead."),!1),dr=ur;function pr(e,t,n){if(!n)throw new Error("[Reanimated] Function `getViewProp` requires a component to be passed as an argument on Fabric.");return new Promise((r,i)=>Wn.getViewProp(e,t,n,e=>{"string"===typeof e&&"error:"===e.slice(0,6)?i(e):r(e)}))}function fr(){return globalThis.__sensorContainer||(globalThis.__sensorContainer=new nr),globalThis.__sensorContainer}const hr={code:"(function handleEvent_reactNativeReanimated_coreJs2(state,height){const{eventHandler}=this.__closure;eventHandler(state,height);if(globalThis.__mapperRun){globalThis.__mapperRun();}else{function runMappers(){if(globalThis.__mapperRun){globalThis.__mapperRun();}else{requestAnimationFrame(runMappers);}}requestAnimationFrame(runMappers);}})"};function mr(e,t){const n=function({_worklet_7607557033599_init_data:e,eventHandler:t}){const n=function(e,n){if(t(e,n),globalThis.__mapperRun)globalThis.__mapperRun();else{function r(){globalThis.__mapperRun?globalThis.__mapperRun():requestAnimationFrame(r)}requestAnimationFrame(r)}};return n.__closure={eventHandler:t},n.__workletHash=7607557033599,n.__initData=e,n}({_worklet_7607557033599_init_data:hr,eventHandler:e});
23return Wn.subscribeForKeyboardEvents((0,In.createSerializable)(n),cr||(t.isStatusBarTranslucentAndroid??!1),cr||(t.isNavigationBarTranslucentAndroid??!1))}function gr(e,t){return fr().initializeSensor(e,t)}function yr(e,t=!0){u.warn("`enableLayoutAnimations` is deprecated and will be removed in the future.")}function vr(e){return{reactViewName:e?.__viewConfig?.uiViewClassName??e?._viewConfig?.uiViewClassName??e?.__internalInstanceHandle?.type??e?.__internalInstanceHandle?.elementType,viewTag:e?.__nativeTag}}function br(e){if(!e)return null;if("function"===typeof e.getComponentViewTag){const t=e.getComponentViewTag();if(-1!==t)return t}const t=vr(e).viewTag;if(void 0!==t)return t;const n=e.getNativeScrollRef?.();if(n)return vr(n).viewTag??null;const r=e.getScrollableNode?.();return"number"===typeof r?r:r?vr(r).viewTag??null:null}const _r=function(e){return e};var wr=n(60397);const kr=(0,qn.createContext)(null);function Sr(e){const t=(0,qn.useRef)(e.shouldSkip);return(0,qn.useEffect)(()=>{t.current=!1},[t]),(0,wr.jsx)(kr,{value:t,children:e.children})}class xr extends qn.Component{_childInstance=null;_setChildInstance=e=>{this._childInstance=e};_getMergedRef(e){return this._mergedRef&&this._mergedRefSource===e||(this._mergedRefSource=e,this._mergedRef=function(...e){return t=>{const n=e.map(e=>Zn(e,t)??(()=>Zn(e,null)));return()=>n.forEach(e=>e())}}(e,this._setChildInstance)),this._mergedRef}getComponentViewTag(){return br(this._childInstance)??-1}getMaybeWrappedChildren(){return qn.Children.count(this.props.children)>1&&this.props.skipExiting?qn.Children.map(this.props.children,e=>(0,wr.jsx)(xr,{skipExiting:!0,children:e})):this.getMaybeRefTrackedChild()}getMaybeRefTrackedChild(){const{children:e}=this.props;return void 0!==this.props.skipExiting&&(0,qn.isValidElement)(e)&&e.type!==qn.Fragment?(0,qn.cloneElement)(e,{ref:this._getMergedRef(e.props.ref)}):e}setShouldAnimateExiting(){if(1===qn.Children.count(this.props.children)){const n=br(this._childInstance)??_r(this);n&&(e=n,t=!this.props.skipExiting,Wn.setShouldAnimateExitingForTag(e,t))}var e,t}componentWillUnmount(){void 0!==this.props.skipExiting&&this.setShouldAnimateExiting()}render(){const e=this.getMaybeWrappedChildren();return void 0===this.props.skipEntering?e:(0,wr.jsx)(Sr,{shouldSkip:this.props.skipEntering,children:e})}}var Cr=n(75675);const Er=[function(e){const t=e,n=[];let r,i;for(const l in t){const e=tn(l);null!==e&&(0===e?r=l:1===e&&(i=l),"strokeDasharray"in t[l]&&n.push({key:l,offset:e}))}if(0===n.length)return e;const{earliest:a,latest:o}=function(e){let t=e[0],n=e[0],r=1;for(;r+1<e.length;r+=2){const i=e[r],a=e[r+1],[o,s]=i.offset<a.offset?[i,a]:[a,i];o.offset<t.offset&&(t=o),s.offset>n.offset&&(n=s)}if(r<e.length){const i=e[r];i.offset<t.offset&&(t=i),i.offset>n.offset&&(n=i)}return{earliest:t,latest:n}}(n);let s=t;return a.offset>0&&(s=un(s,0,r,a.key)),o.offset<1&&(s=un(s,1,i,o.key)),s},function(e){const t=e,n=Object.entries(t).filter(sn).map(([e,{d:t}])=>({key:e,d:t,z:on(t),offset:tn(e)})).filter(e=>null!==e.offset);if(n.length<2)return e;const r=an(n[0].d).replace(/z$/,"");if(n.some(e=>an(e.d).replace(/z$/,"")!==r))return e;n.sort((e,t)=>e.offset-t.offset);let i=t;const a=e=>{i=Object.assign({},i,{[e.key]:Object.assign({},t[e.key],{d:ln(e.d)})})},o=n[0],s=n[n.length-1];!o.z&&n[1].z&&a(o),!s.z&&n[n.length-2].z&&a(s);for(let l=1;l<n.length-1;l++){const e=n[l];if(e.z)continue;const r=n[l-1].z,o=n[l+1].z;r&&o?a(e):r!==o&&(i=Object.assign({},i,{[e.key]:Object.assign({},t[e.key],{d:r?ln(e.d):e.d}),[cn(e.offset)]:{d:o?ln(e.d):e.d}}))}return i}];function Ar(e){return e===1/0||"infinite"===e?"infinite":String(e)}function Tr(e){return function(e){const t=[];let n="",r=0;for(const i of e){if("("===i)r++;else if(")"===i)r--;else if(","===i&&0===r){t.push(n.trim()),n="";continue}n+=i}return t.push(n.trim()),t}(e).reduce((e,t)=>{const n=function(e){const t={},n=e.split(/\s+(?![^()]*\))/);for(const r of n)if("all"!==r)if("normal"!==r&&"allow-discrete"!==r){if(Zt(r)){const e=r;if(void 0===t.transitionDuration){t.transitionDuration=e;continue}if(void 0===t.transitionDelay){t.transitionDelay=e;continue}}if(void 0===t.transitionTimingFunction&&zt(r))t.transitionTimingFunction=r;else{if(void 0!==t.transitionProperty)throw new Error(`[Reanimated] Invalid transition shorthand: ${e}`);t.transitionProperty=r}}else t.transitionBehavior=r;else t.transitionProperty="all";return t}(t);return e.transitionProperty.push(n.transitionProperty??"all"),e.transitionDuration.push(n.transitionDuration?String(n.transitionDuration):"0s"),e.transitionTimingFunction.push(n.transitionTimingFunction??"ease"),e.transitionDelay.push(n.transitionDelay?String(n.transitionDelay):"0s"),e.transitionBehavior.push(n.transitionBehavior??"normal"),e},{transitionProperty:[],transitionDuration:[],transitionTimingFunction:[],transitionDelay:[],transitionBehavior:[]})}const Ir=(e,t)=>
23`Invalid ${e} coordinate for cubic bezier easing point, it should be a number between 0 and 1, received ${t}`;class Rr{static easingName="cubicBezier";constructor(e,t,n,r){if(e<0||e>1)throw new Error(`[Reanimated] ${Ir("x1",e)}`);if(n<0||n>1)throw new Error(`[Reanimated] ${Ir("x2",n)}`);this.x1=e,this.y1=t,this.x2=n,this.y2=r}toString(){return`${Rr.easingName}(${this.x1}, ${this.y1}, ${this.x2}, ${this.y2})`}normalize(){return{name:Rr.easingName,x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2}}}const Or=()=>"Invalid linear easing points count. There should be at least two points",Dr=e=>`Invalid input progress ${e} value, it should be a percentage between 0% and 100%`,Nr=(e,t)=>`Linear easing point x value ${e} is less than value of the preceding control point ${t}. Value will be overridden by ${t}`,jr=e=>{let t;if("number"===typeof e?t=e:Pt.test(e)&&(t=parseFloat(e)/100),void 0===t||t<0||t>1)throw new Error(`[Reanimated] ${Dr(e)}`);return t},Fr=(e,t,n)=>{if(t.x===n.x)return e<=t.x?t.y:n.y;const r=(n.y-t.y)/(n.x-t.x);return t.y+r*(e-t.x)};class Mr{static easingName="linear";constructor(e){if(e.length<2)throw new Error(`[Reanimated] ${Or()}`);this.points=e.map(e=>Array.isArray(e)&&1===e.length?e[0]:e)}toString(){return`${Mr.easingName}(${this.points.map(e=>Array.isArray(e)?`[${e.map(e=>"string"===typeof e?`"${e}"`:e).join(", ")}]`:e).join(", ")})`}normalize(){const e=this.canonicalize();return e[0].x>0&&e.unshift({x:0,y:Fr(0,e[0],e[1])}),e[e.length-1].x<1&&e.push({x:1,y:Fr(1,e[e.length-2],e[e.length-1])}),{name:Mr.easingName,points:e}}canonicalize(){const e=this.points.flatMap(e=>Array.isArray(e)?e.slice(1).map(t=>({x:jr(t),y:e[0]})):[{y:e}]);void 0===e[0].x&&(e[0].x=0),void 0===e[e.length-1].x&&(e[e.length-1].x=1);let t=0;for(let i=1;i<e.length-1;i++){const n=e[i].x;void 0!==n&&(n<t?(u.warn(Nr(n,t)),e[i].x=t):t=n)}let n=e[0].x,r=0;for(let i=1;i<e.length;i++){const t=e[i].x;if(void 0!==t){if(r>0){const a=t-n;for(let t=0;t<r;t++)e[i-r+t].x=n+a*(t+1)/(r+1)}n=t,r=0}else r++}return e}}const Vr=e=>`Steps easing function accepts only positive integers as numbers of steps, ${e} isn't a one`;class Pr{static easingName="steps";constructor(e,t="jump-end"){if(e<=0||e%1!==0)throw new Error(`[Reanimated] ${Vr(e)}`);this.stepsNumber=e,this.modifier=t}toString(){return`${Pr.easingName}(${this.stepsNumber}, ${this.modifier})`}normalize(){switch(this.modifier){case"jump-start":case"start":return this.jumpStart();case"jump-end":case"end":return this.jumpEnd();case"jump-both":return this.jumpBoth();default:return 1===this.stepsNumber?"linear":this.jumpNone()}}jumpNone(){const e=[],t=this.stepsNumber-1;for(let n=0;n<this.stepsNumber;n++)e.push({x:n/this.stepsNumber,y:n/t});return this.withName(e)}jumpStart(){const e=[];for(let t=0;t<this.stepsNumber;t++)e.push({x:t/this.stepsNumber,y:(t+1)/this.stepsNumber});return this.withName(e)}jumpEnd(){const e=[];for(let t=0;t<this.stepsNumber;t++)e.push({x:t/this.stepsNumber,y:t/this.stepsNumber});return e.push({x:1,y:1}),this.withName(e)}jumpBoth(){const e=[],t=this.stepsNumber+1;for(let n=0;n<this.stepsNumber;n++)e.push({x:n/this.stepsNumber,y:(n+1)/t});return e.push({x:1,y:1}),this.withName(e)}withName(e){return{name:Pr.easingName,points:e}}}function Lr(e,t,n,r){return new Rr(e,t,n,r)}function Br(e,t="jump-end"){return new Pr(e,t)}function Hr(...e){return new Mr(e)}function Wr(e,t,n){return t in e?e[t].map(e=>ie(e,n)):[]}function zr(e){if("string"===typeof e)return e;if(e instanceof Pr)return`steps(${e.stepsNumber}, ${X(e.modifier)})`;if(e instanceof Rr)return`cubic-bezier(${e.x1}, ${e.y1}, ${e.x2}, ${e.y2})`;if(e instanceof Mr){return`linear(${e.points.map(e=>Array.isArray(e)?e.join(" "):e).join(", ")})`}throw new Error(`[Reanimated] Invalid timing function ${e.toString()}`)}function Yr(e){return Array.isArray(e)?e.map(zr).join(", "):zr(e)}const Ur=["animationTimingFunction"];function Xr(e,t=""){const n=xn(t)??Nt,r=(e=>Er.reduce((e,t)=>t(e),e))(e);return Object.entries(r).reduce((e,[t,r])=>{const i=re(t)?t:100*parseFloat(t)+"%",a=function(e,t){let{animationTimingFunction:n}=e,r=(0,Ye.default)(e,Ur);const i=t.build(r);if(!i)return null;return n?`animation-timing-function: ${Yr(n)}; ${i}`:i}(r,n);return a?(e.push(`${i} { ${a} }`),e):e},[]).join(" ")}const Gr="ReanimatedCSSStyleTag";function qr(){return document.getElementById(Gr)?.sheet??null}const Jr=new Map;function $r(e,t){if(!he||Jr.has(e))return!1;const n=qr();if(!n)return u.error("Failed to create CSS stylesheet."),!1;let r;try{r=n.insertRule(t,n.cssRules.length)}catch{return u.warn(`Failed to insert CSS rule: ${t}`),!1}return Jr.set(e,n.cssRules[r]),!0}function Kr(e){if(!he)return;const t=Jr.get(e);if(void 0===t)return;Jr.delete(e);const n=qr();if(!n)return;const r=Array.prototype.indexOf.call(n.cssRules,t);-1!==r&&n.deleteRule(r)}function Zr(e){Kr(e)}const Qr=new Map;function ei(e){if(!he)return;const t=Qr.get(e);t&&(t.forEach(Kr),Qr.delete(e))}class ti{callbacks={};present=new Set;constructor(e){this.props=e}sync(e){this.callbacks=e;let t=!1;for(const n of this.props){const r="function"===typeof e[n];r&&!this.present.has(n)?(this.present.add(n),t=!0):!r&&this.present.has(n)&&(this.present.delete(n),t=!0)}t&&this.onPresenceChanged(this.present)}detach(){this.sync({})}invoke(e,t){this.callbacks[e]?.(t)}}class ni{static currentAnimationID=0;constructor(e,t){this.cssRules_=e,this.cssText_=t??JSON.stringify(e),this.length_=Object.keys(e).length,this.name_=ni.generateNextKeyframeName()}get cssRules(){return this.cssRules_}get cssText(){return this.cssText_}get length(){return this.length_}get name(){return this.name_}static generateNextKeyframeName(){return`${Ft}${ni.currentAnimationID++}`}}class ri extends ni{constructor(e,t){super(e),this.processedKeyframes_=t??Xr(e)}get processedKeyframes(){return this.processedKeyframes_}}class ii extends ti{attachedListeners=new Map;constructor(e,t,n){super(Object.keys(t)),this.element=e,this.eventNameByProp=t,this.buildPayload=n}onPresenceChanged(e){for(const[t,n]of this.attachedListeners)e.has(t)||(this.attachedListeners.delete(t),this.element.removeEventListener(this.eventNameByProp[t],n));for(const t of e){if(this.attachedListeners.has(t))continue;const e=this.createListener(t);this.attachedListeners.set(t,e),this.element.addEventListener(this.eventNameByProp[t],e)}}createListener(e){return t=>{t.target===this.element&&this.invoke(e,this.buildPayload(t))}}}const ai=["animationName"],oi={onCSSAnimationStart:"animationstart",onCSSAnimationEnd:"animationend",onCSSAnimationIteration:"animationiteration",onCSSAnimationCancel:"animationcancel"};class si{attachedAnimations={};unmountCleanupCalled=!1;constructor(e,t=""){this.element=e,this.svgElementTag=t,this.callbackListeners=new ii(e,oi,e=>{const t=e;return{animationName:t.animationName,elapsedTime:t.elapsedTime}})}update(e,t=null){if(this.callbackListeners.sync(t??{}),!e)return void this.detach();const n=(a=e,Object.fromEntries(Object.entries(a).map(([e,t])=>[e,U(t)]))),{animationName:r}=n,i=(0,Ye.default)(n,ai);var a;if(0===r.length)return void this.detach();const o=Date.now(),s=r.map(e=>{let t;if((e=>"object"===typeof e&&"processedKeyframes"in e)(e))t=this.attachedAnimations[e.processedKeyframes]??{keyframesRule:e,removable:!1,
23creationTimestamp:o};else{const n=e,r=Xr(n,this.svgElementTag);t=this.attachedAnimations[r]??{keyframesRule:new ri(n,r),removable:!0,creationTimestamp:o}}return this.unmountCleanupCalled&&(t.elapsedTime=o-t.creationTimestamp),t});this.unmountCleanupCalled=!1,this.updateAttachedAnimations(s),this.setElementAnimations(s,i)}unmountCleanup(){this.callbackListeners.detach(),this.unmountCleanupCalled||(this.unmountCleanupCalled=!0,setTimeout(()=>{this.removeAnimationsFromStyleSheet(Object.values(this.attachedAnimations))}))}detach(){const e=Object.values(this.attachedAnimations);0!==e.length&&(Y(this.element),this.removeAnimationsFromStyleSheet(e),this.unmountCleanupCalled=!1,this.attachedAnimations={})}updateAttachedAnimations(e){const t={};e.forEach(e=>{const n=e.keyframesRule;n.processedKeyframes&&function(e,t){$r(e,`@keyframes ${e} { ${t} }`)}(n.name,n.processedKeyframes),t[n.processedKeyframes]=e}),Object.values(this.attachedAnimations).forEach(({keyframesRule:e,removable:n})=>{n&&e.processedKeyframes&&!t[e.processedKeyframes]&&Zr(e.name)}),this.attachedAnimations=t}setElementAnimations(e,t){this.element.style.animationName=e.map(({keyframesRule:{name:e}})=>e).join(","),this.element.style.animationDuration=Wr(t,"animationDuration","ms").join(",");const n=t.animationDelay??[];this.element.style.animationDelay=e.map(({elapsedTime:e},t)=>{const r=n[t]??0;return ie(e?(("number"===typeof(i=r)?Number.isFinite(i)?i:null:Lt.test(i)?parseInt(i,10):Bt.test(i)?1e3*parseFloat(i):null)??0)-e:r,"ms");var i}).join(","),t.animationIterationCount&&(this.element.style.animationIterationCount=t.animationIterationCount.map(Ar).join(",")),t.animationDirection&&(this.element.style.animationDirection=t.animationDirection.map(X).join(",")),t.animationFillMode&&(this.element.style.animationFillMode=t.animationFillMode.join(",")),t.animationPlayState&&(this.element.style.animationPlayState=t.animationPlayState.join(",")),t.animationTimingFunction&&(this.element.style.animationTimingFunction=Yr(t.animationTimingFunction))}removeAnimationsFromStyleSheet(e){e.forEach(({keyframesRule:{name:e,processedKeyframes:t},removable:n})=>{n&&t&&Zr(e)})}}let li=0;const ci=`data-${Ft}rps`,ui=`data-${Ft}rps-active`;const di=/[{};,]/;function pi(e,t,n){return function(e){return[...Mt.filter(t=>t in e),...Object.keys(e).filter(e=>!Vt.has(e))]}(t).map(r=>function(e,t,n,r){if(di.test(t))return null;const i=r.build(n[t].selectorStyle,{important:!0,includeUnprocessed:!0});if(!i)return null;const a=`[${ci}="${e}"]`;return":active-deepest"===t?`${a}:active:not(:has([${ui}="true"]:active)) { ${i} }`:`${a}${t} { ${i} }`}(e,r,t,n)).filter(e=>null!==e)}class fi{viewId=null;prevPseudoStylesBySelector=null;constructor(e,t=""){this.element=e,this.svgElementTag=t}update(e){if(jt(e,this.prevPseudoStylesBySelector))return;if(this.prevPseudoStylesBySelector=e,!e)return void this.detach();const t=xn(this.svgElementTag)??Nt,n=this.ensureViewId();this.syncActiveMarker(e),function(e,t){if(!he)return;ei(e);const n=[];t.forEach((t,r)=>{const i=`${e}#${r}`;$r(i,t)&&n.push(i)}),Qr.set(e,n)}(n,pi(n,e,t))}unmountCleanup(){this.detach()}ensureViewId(){return null===this.viewId&&(this.viewId=String(li++),this.element.setAttribute(ci,this.viewId)),this.viewId}syncActiveMarker(e){":active"in e||":active-deepest"in e?this.element.setAttribute(ui,"true"):this.element.removeAttribute(ui)}detach(){null!==this.viewId&&(this.element.removeAttribute(ci),this.element.removeAttribute(ui),ei(this.viewId),this.viewId=null)}}const hi={onCSSTransitionRun:"transitionrun",onCSSTransitionStart:"transitionstart",onCSSTransitionEnd:"transitionend",onCSSTransitionCancel:"transitioncancel"};class mi{isAttached=!1;constructor(e){this.element=e,this.callbackListeners=new ii(e,hi,e=>{const t=e;return{propertyName:(n=t.propertyName,n.replace(/-./g,e=>e[1].toUpperCase())),elapsedTime:t.elapsedTime};var n})}update(e,t=null){this.callbackListeners.sync(t??{}),e?(this.setElementTransition(e),this.isAttached=!0):this.detach()}unmountCleanup(){this.callbackListeners.detach()}detach(){this.isAttached&&(this.element.style.transition="",this.element.style.transitionProperty="",this.element.style.transitionDuration="",this.element.style.transitionDelay="",this.element.style.transitionTimingFunction="",this.element.style.transitionBehavior="",this.isAttached=!1)}setElementTransition(e){const t=function(e){const t=e.transition?Tr(e.transition):{transitionProperty:[],transitionDuration:[],transitionTimingFunction:[],transitionDelay:[],transitionBehavior:[]};for(const[n,r]of Object.entries(e))t[n]=U(r);return t}(e);this.element.style.transitionProperty=t.transitionProperty.map(X).join(","),this.element.style.transitionDuration=Wr(t,"transitionDuration","ms").join(","),this.element.style.transitionDelay=Wr(t,"transitionDelay","ms").join(","),this.element.style.transitionTimingFunction=Yr(t.transitionTimingFunction),this.element.style.transitionBehavior=t.transitionBehavior.map(X).join(",")}}class gi{constructor(e,t=""){!function(){if(!he||null!==document.getElementById(Gr))return;const e=document.createElement("style");e.id=Gr,e.onload=()=>{e.sheet||u.error("Failed to create CSS stylesheet.")},document.head.append(e)}();const n=e.DOMElement,r=n?.tagName??t;this.animationsManager=new si(n,r),this.transitionsManager=new mi(n),this.pseudoSelectorsManager=new fi(n,r)}update(e,t={}){const[n,r,i]=rn(e),[a,o]=function(e){const t={},n={};let r=!1,i=!1;for(const a of Xt){const n=e[a];void 0!==n&&(t[a]=n,r=!0)}for(const a of Gt){const t=e[a];void 0!==t&&(n[a]=t,i=!0)}return[r?t:null,i?n:null]}(t);this.animationsManager.update(n,a),this.transitionsManager.update(r,o),this.pseudoSelectorsManager.update(i)}unmountCleanup(){this.animationsManager.unmountCleanup(),this.transitionsManager.unmountCleanup(),this.pseudoSelectorsManager.unmountCleanup()}}function yi(e){if(Array.isArray(e))return e.map(e=>yi(e));if(!e||"object"!==typeof e)return e;const t=e,n={};for(const r in t){if($t(r))continue;const e=t[r];if(en(e)){const t=e.default;void 0!==t&&(n[r]=t);continue}n[r]=e}return n}function vi(e){const t=function(e){const t={};for(const n in e)Kt(n)||(t[n]=e[n]);return t}(e);return"style"in e&&(t.style=yi(e.style)),t}class bi extends qn.Component{_cssStyle={};_componentRef=null;_componentDOMRef=null;_willUnmount=!1;constructor(e,t){super(t),this.ChildComponent=e}getComponentViewTag(){return this._getViewInfo().viewTag}_onSetLocalRef(){}_getViewInfo(){if(void 0!==this._viewInfo)return this._viewInfo;const e=this._componentRef,t=this._componentDOMRef;return this._viewInfo={viewTag:e,shadowNodeWrapper:null,reactViewName:void 0},t&&(this._viewInfo.DOMElement=t),this._viewInfo}_setComponentRef=e=>{const t=this.props.forwardedRef;e?(this._forwardedRefCleanup=Zn(t,e),e!==this._componentRef&&(this._componentRef=this._resolveComponentRef(e),this._viewInfo=void 0),this._onSetLocalRef()):this._forwardedRefCleanup?(this._forwardedRefCleanup(),this._forwardedRefCleanup=void 0):Zn(t,null)};_resolveComponentRef=e=>{const t=e;return t&&t.getAnimatableRef?t.getAnimatableRef():(t&&t.elementRef?this._componentDOMRef=t.elementRef.current:this._componentDOMRef=e,t)};_updateStyles(e){this._cssStyle=Cr.default.flatten(e.style)??{}}componentDidMount(){this._updateStyles(this.props),fe||(this._CSSManager??=new gi(this._getViewInfo(),this.ChildComponent.displayName??this.ChildComponent.name),this._CSSManager?.update(this._cssStyle,this.props)),this._willUnmount=!1}componentWillUnmount(){!fe&&this._CSSManager&&this._CSSManager.unmountCleanup(),this._willUnmount=!0}shouldComponentUpdate(e){return this._updateStyles(e),this._CSSManager&&this._CSSManager.update(this._cssStyle,e),!0}render(e){const{ChildComponent:t}=this;return(0,wr.jsx)(t,Object.assign({},vi(e??this.props),{},{ref:this._setComponentRef}))}}function _i(){return!!he&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}const wi=function(e){const t={jsValue:e,uiValue:er(e),setEnabled(e){t.jsValue=e,t.uiValue.value=e}};return t}(_i()),ki=function({_worklet_643928524882_init_data:e}){const t=function(e){return Array.isArray(e)&&16===e.length&&e.every(e=>"number"===typeof e&&!isNaN(e))};return t.__closure={},t.__workletHash=643928524882,t.__initData=e,t}({_worklet_643928524882_init_data:{code:"(function isAffineMatrixFlat_reactNativeReanimated_matrixUtilsJs1(x){return Array.isArray(x)&&x.length===16&&x.every(function(element){return typeof element==='number'&&!isNaN(element);});})"}}),Si=function({_worklet_4567779140565_init_data:e}){const t=function(e){return Array.isArray(e)&&4===e.length&&e.every(e=>Array.isArray(e)&&4===e.length&&e.every(e=>"number"===typeof e&&!isNaN(e)))};return t.__closure={},t.__workletHash=4567779140565,t.__initData=e,t}({_worklet_4567779140565_init_data:{code:"(function isAffineMatrix_reactNativeReanimated_matrixUtilsJs2(x){return Array.isArray(x)&&x.length===4&&x.every(function(row){return Array.isArray(row)&&row.length===4&&row.every(function(element){return typeof element==='number'&&!isNaN(element);});});})"}}),xi=function({_worklet_4257974001164_init_data:e}){const t=function(e){return e.flat()};return t.__closure={},t.__workletHash=4257974001164,t.__initData=e,t}({_worklet_4257974001164_init_data:{code:"(function flatten_reactNativeReanimated_matrixUtilsJs3(matrix){return matrix.flat();})"}}),Ci=function({_worklet_7571603853415_init_data:e}){const t=function(e){return[[e[0],e[1],e[2],e[3]],[e[4],e[5],e[6],e[7]],[e[8],e[9],e[10],e[11]],[e[12],e[13],e[14],e[15]]]};return t.__closure={},t.__workletHash=7571603853415,t.__initData=e,t}({_worklet_7571603853415_init_data:{code:"(function unflatten_reactNativeReanimated_matrixUtilsJs4(m){return[[m[0],m[1],m[2],m[3]],[m[4],m[5],m[6],m[7]],[m[8],m[9],m[10],m[11]],[m[12],m[13],m[14],m[15]]];})"}}),Ei=function({_worklet_8979713617318_init_data:e,isAffineMatrix:t,flatten:n}
23){const r=function(e){return t(e)?n(e):e};return r.__closure={isAffineMatrix:t,flatten:n},r.__workletHash=8979713617318,r.__initData=e,r}({_worklet_8979713617318_init_data:{code:"(function maybeFlattenMatrix_reactNativeReanimated_matrixUtilsJs5(matrix){const{isAffineMatrix,flatten}=this.__closure;return isAffineMatrix(matrix)?flatten(matrix):matrix;})"},isAffineMatrix:Si,flatten:xi}),Ai=function({_worklet_15596856500422_init_data:e}){const t=function(e,t){return[[e[0][0]*t[0][0]+e[0][1]*t[1][0]+e[0][2]*t[2][0]+e[0][3]*t[3][0],e[0][0]*t[0][1]+e[0][1]*t[1][1]+e[0][2]*t[2][1]+e[0][3]*t[3][1],e[0][0]*t[0][2]+e[0][1]*t[1][2]+e[0][2]*t[2][2]+e[0][3]*t[3][2],e[0][0]*t[0][3]+e[0][1]*t[1][3]+e[0][2]*t[2][3]+e[0][3]*t[3][3]],[e[1][0]*t[0][0]+e[1][1]*t[1][0]+e[1][2]*t[2][0]+e[1][3]*t[3][0],e[1][0]*t[0][1]+e[1][1]*t[1][1]+e[1][2]*t[2][1]+e[1][3]*t[3][1],e[1][0]*t[0][2]+e[1][1]*t[1][2]+e[1][2]*t[2][2]+e[1][3]*t[3][2],e[1][0]*t[0][3]+e[1][1]*t[1][3]+e[1][2]*t[2][3]+e[1][3]*t[3][3]],[e[2][0]*t[0][0]+e[2][1]*t[1][0]+e[2][2]*t[2][0]+e[2][3]*t[3][0],e[2][0]*t[0][1]+e[2][1]*t[1][1]+e[2][2]*t[2][1]+e[2][3]*t[3][1],e[2][0]*t[0][2]+e[2][1]*t[1][2]+e[2][2]*t[2][2]+e[2][3]*t[3][2],e[2][0]*t[0][3]+e[2][1]*t[1][3]+e[2][2]*t[2][3]+e[2][3]*t[3][3]],[e[3][0]*t[0][0]+e[3][1]*t[1][0]+e[3][2]*t[2][0]+e[3][3]*t[3][0],e[3][0]*t[0][1]+e[3][1]*t[1][1]+e[3][2]*t[2][1]+e[3][3]*t[3][1],e[3][0]*t[0][2]+e[3][1]*t[1][2]+e[3][2]*t[2][2]+e[3][3]*t[3][2],e[3][0]*t[0][3]+e[3][1]*t[1][3]+e[3][2]*t[2][3]+e[3][3]*t[3][3]]]};return t.__closure={},t.__workletHash=0xe2f6d1760c6,t.__initData=e,t}({_worklet_15596856500422_init_data:{code:"(function multiplyMatrices_reactNativeReanimated_matrixUtilsJs6(a,b){return[[a[0][0]*b[0][0]+a[0][1]*b[1][0]+a[0][2]*b[2][0]+a[0][3]*b[3][0],a[0][0]*b[0][1]+a[0][1]*b[1][1]+a[0][2]*b[2][1]+a[0][3]*b[3][1],a[0][0]*b[0][2]+a[0][1]*b[1][2]+a[0][2]*b[2][2]+a[0][3]*b[3][2],a[0][0]*b[0][3]+a[0][1]*b[1][3]+a[0][2]*b[2][3]+a[0][3]*b[3][3]],[a[1][0]*b[0][0]+a[1][1]*b[1][0]+a[1][2]*b[2][0]+a[1][3]*b[3][0],a[1][0]*b[0][1]+a[1][1]*b[1][1]+a[1][2]*b[2][1]+a[1][3]*b[3][1],a[1][0]*b[0][2]+a[1][1]*b[1][2]+a[1][2]*b[2][2]+a[1][3]*b[3][2],a[1][0]*b[0][3]+a[1][1]*b[1][3]+a[1][2]*b[2][3]+a[1][3]*b[3][3]],[a[2][0]*b[0][0]+a[2][1]*b[1][0]+a[2][2]*b[2][0]+a[2][3]*b[3][0],a[2][0]*b[0][1]+a[2][1]*b[1][1]+a[2][2]*b[2][1]+a[2][3]*b[3][1],a[2][0]*b[0][2]+a[2][1]*b[1][2]+a[2][2]*b[2][2]+a[2][3]*b[3][2],a[2][0]*b[0][3]+a[2][1]*b[1][3]+a[2][2]*b[2][3]+a[2][3]*b[3][3]],[a[3][0]*b[0][0]+a[3][1]*b[1][0]+a[3][2]*b[2][0]+a[3][3]*b[3][0],a[3][0]*b[0][1]+a[3][1]*b[1][1]+a[3][2]*b[2][1]+a[3][3]*b[3][1],a[3][0]*b[0][2]+a[3][1]*b[1][2]+a[3][2]*b[2][2]+a[3][3]*b[3][2],a[3][0]*b[0][3]+a[3][1]*b[1][3]+a[3][2]*b[2][3]+a[3][3]*b[3][3]]];})"}}),Ti=function({_worklet_4036244542264_init_data:e,isAffineMatrixFlat:t,maybeFlattenMatrix:n,unflatten:r}){const i=function(e,i){const a=t(e),o=n(e),s=n(i),l=o.map((e,t)=>o[t]-s[t]);return a?l:r(l)};return i.__closure={isAffineMatrixFlat:t,maybeFlattenMatrix:n,unflatten:r},i.__workletHash=4036244542264,i.__initData=e,i}({_worklet_4036244542264_init_data:{code:"(function subtractMatrices_reactNativeReanimated_matrixUtilsJs7(maybeFlatA,maybeFlatB){const{isAffineMatrixFlat,maybeFlattenMatrix,unflatten}=this.__closure;const isFlatOnStart=isAffineMatrixFlat(maybeFlatA);const a=maybeFlattenMatrix(maybeFlatA);const b=maybeFlattenMatrix(maybeFlatB);const c=a.map(function(_,i){return a[i]-b[i];});return isFlatOnStart?c:unflatten(c);})"},isAffineMatrixFlat:ki,maybeFlattenMatrix:Ei,unflatten:Ci}),Ii=function({_worklet_7488353818852_init_data:e,isAffineMatrixFlat:t,maybeFlattenMatrix:n,unflatten:r}){const i=function(e,i){const a=t(e),o=n(e),s=n(i),l=o.map((e,t)=>o[t]+s[t]);return a?l:r(l)};return i.__closure={isAffineMatrixFlat:t,maybeFlattenMatrix:n,unflatten:r},i.__workletHash=7488353818852,i.__initData=e,i}({_worklet_7488353818852_init_data:{code:"(function addMatrices_reactNativeReanimated_matrixUtilsJs8(maybeFlatA,maybeFlatB){const{isAffineMatrixFlat,maybeFlattenMatrix,unflatten}=this.__closure;const isFlatOnStart=isAffineMatrixFlat(maybeFlatA);const a=maybeFlattenMatrix(maybeFlatA);const b=maybeFlattenMatrix(maybeFlatB);const c=a.map(function(_,i){return a[i]+b[i];});return isFlatOnStart?c:unflatten(c);})"},isAffineMatrixFlat:ki,maybeFlattenMatrix:Ei,unflatten:Ci}),Ri=function({_worklet_11049046220673_init_data:e,isAffineMatrixFlat:t,maybeFlattenMatrix:n,unflatten:r}){const i=function(e,i){const a=t(e),o=n(e).map(e=>e*i);return a?o:r(o)};return i.__closure={isAffineMatrixFlat:t,maybeFlattenMatrix:n,unflatten:r},i.__workletHash=0xa0c8e799f81,i.__initData=e,i}({_worklet_11049046220673_init_data:{code:"(function scaleMatrix_reactNativeReanimated_matrixUtilsJs9(maybeFlatA,scalar){const{isAffineMatrixFlat,maybeFlattenMatrix,unflatten}=this.__closure;const isFlatOnStart=isAffineMatrixFlat(maybeFlatA);const a=maybeFlattenMatrix(maybeFlatA);const b=a.map(function(x){return x*scalar;});return isFlatOnStart?b:unflatten(b);})"},isAffineMatrixFlat:ki,maybeFlattenMatrix:Ei,unflatten:Ci}),Oi=function({_worklet_16852837521274_init_data:e}){const t=function(e,t="z"){const n=Math.cos(e),r=Math.sin(e);switch(t){case"z":return[[n,r,0,0],[-r,n,0,0],[0,0,1,0],[0,0,0,1]];case"y":return[[n,0,-r,0],[0,1,0,0],[r,0,n,0],[0,0,0,1]];case"x":return[[1,0,0,0],[0,n,r,0],[0,-r,n,0],[0,0,0,1]]}};return t.__closure={},t.__workletHash=0xf53db64d77a,t.__initData=e,t}({_worklet_16852837521274_init_data:{code:"(function getRotationMatrix_reactNativeReanimated_matrixUtilsJs10(angle,axis='z'){const cos=Math.cos(angle);const sin=Math.sin(angle);
23switch(axis){case'z':return[[cos,sin,0,0],[-sin,cos,0,0],[0,0,1,0],[0,0,0,1]];case'y':return[[cos,0,-sin,0],[0,1,0,0],[sin,0,cos,0],[0,0,0,1]];case'x':return[[1,0,0,0],[0,cos,sin,0],[0,-sin,cos,0],[0,0,0,1]];}})"}}),Di=function({_worklet_12445058656012_init_data:e}){const t=function(e,t,n){return Math.sqrt(e*e+t*t+n*n)};return t.__closure={},t.__workletHash=0xb51974ce70c,t.__initData=e,t}({_worklet_12445058656012_init_data:{code:"(function norm3d_reactNativeReanimated_matrixUtilsJs11(x,y,z){return Math.sqrt(x*x+y*y+z*z);})"}}),Ni=function({_worklet_7734213456989_init_data:e,flatten:t}){const n=function(e){const n=t(e);return[[n[0],n[4],n[8],n[12]],[n[1],n[5],n[9],n[13]],[n[2],n[6],n[10],n[14]],[n[3],n[7],n[11],n[15]]]};return n.__closure={flatten:t},n.__workletHash=7734213456989,n.__initData=e,n}({_worklet_7734213456989_init_data:{code:"(function transposeMatrix_reactNativeReanimated_matrixUtilsJs12(matrix){const{flatten}=this.__closure;const m=flatten(matrix);return[[m[0],m[4],m[8],m[12]],[m[1],m[5],m[9],m[13]],[m[2],m[6],m[10],m[14]],[m[3],m[7],m[11],m[15]]];})"},flatten:xi}),ji=function({_worklet_1195086221085_init_data:e,__DEV__:t}){const n=function(e,n){if(t&&e.length!==n.length)throw new Error(`[Reanimated] Cannot calculate inner product of two vectors of different lengths. Length of ${e.toString()} is ${e.length} and length of ${n.toString()} is ${n.length}.`)};return n.__closure={__DEV__:t},n.__workletHash=1195086221085,n.__initData=e,n}({_worklet_1195086221085_init_data:{code:'(function assertVectorsHaveEqualLengths_reactNativeReanimated_matrixUtilsJs13(a,b){const{__DEV__}=this.__closure;if(__DEV__&&a.length!==b.length){throw new Error("[Reanimated] Cannot calculate inner product of two vectors of different lengths. Length of "+a.toString()+" is "+a.length+" and length of "+b.toString()+" is "+b.length+".");}})'},__DEV__:!1}),Fi=function({_worklet_11145645401611_init_data:e,assertVectorsHaveEqualLengths:t}){const n=function(e,n){return t(e,n),e.reduce((t,r,i)=>t+e[i]*n[i],0)};return n.__closure={assertVectorsHaveEqualLengths:t},n.__workletHash=0xa230c3c260b,n.__initData=e,n}({_worklet_11145645401611_init_data:{code:"(function innerProduct_reactNativeReanimated_matrixUtilsJs14(a,b){const{assertVectorsHaveEqualLengths}=this.__closure;assertVectorsHaveEqualLengths(a,b);return a.reduce(function(acc,_,i){return acc+a[i]*b[i];},0);})"},assertVectorsHaveEqualLengths:ji}),Mi=function({_worklet_15219875306697_init_data:e,assertVectorsHaveEqualLengths:t,innerProduct:n}){const r=function(e,r){t(e,r);const i=n(e,r)/n(e,e);return e.map(e=>e*i)};return r.__closure={assertVectorsHaveEqualLengths:t,innerProduct:n},r.__workletHash=0xdd7a742dcc9,r.__initData=e,r}({_worklet_15219875306697_init_data:{code:"(function projection_reactNativeReanimated_matrixUtilsJs15(u,a){const{assertVectorsHaveEqualLengths,innerProduct}=this.__closure;assertVectorsHaveEqualLengths(u,a);const s=innerProduct(u,a)/innerProduct(u,u);return u.map(function(e){return e*s;});})"},assertVectorsHaveEqualLengths:ji,innerProduct:Fi}),Vi=function({_worklet_6737144697282_init_data:e,assertVectorsHaveEqualLengths:t}){const n=function(e,n){return t(e,n),e.map((t,r)=>e[r]-n[r])};return n.__closure={assertVectorsHaveEqualLengths:t},n.__workletHash=6737144697282,n.__initData=e,n}({_worklet_6737144697282_init_data:{code:"(function subtractVectors_reactNativeReanimated_matrixUtilsJs16(a,b){const{assertVectorsHaveEqualLengths}=this.__closure;assertVectorsHaveEqualLengths(a,b);return a.map(function(_,i){return a[i]-b[i];});})"},assertVectorsHaveEqualLengths:ji}),Pi=function({_worklet_14414168859209_init_data:e}){const t=function(e,t){return e.map(e=>e*t)};return t.__closure={},t.__workletHash=0xd1c0f6a2249,t.__initData=e,t}({_worklet_14414168859209_init_data:{code:"(function scaleVector_reactNativeReanimated_matrixUtilsJs17(u,a){return u.map(function(e){return e*a;});})"}}),Li=function({_worklet_7632332376247_init_data:e,subtractVectors:t,projection:n,scaleVector:r,innerProduct:i,transposeMatrix:a}){const o=function(e){const[o,s,l,c]=e,u=o,d=t(s,n(u,s)),p=t(t(l,n(u,l)),n(d,l)),f=t(t(t(c,n(u,c)),n(d,c)),n(p,c)),[h,m,g,y]=[u,d,p,f].map(e=>r(e,1/Math.sqrt(i(e,e)))),v=[[h[0],m[0],g[0],y[0]],[h[1],m[1],g[1],y[1]],[h[2],m[2],g[2],y[2]],[h[3],m[3],g[3],y[3]]],b=[[i(h,o),i(h,s),i(h,l),i(h,c)],[0,i(m,s),i(m,l),i(m,c)],[0,0,i(g,l),i(g,c)],[0,0,0,i(y,c)]];return{rotationMatrix:a(v),skewMatrix:a(b)}};return o.__closure={subtractVectors:t,projection:n,scaleVector:r,innerProduct:i,transposeMatrix:a},o.__workletHash=7632332376247,o.__initData=e,o}({_worklet_7632332376247_init_data:{code:"(function gramSchmidtAlgorithm_reactNativeReanimated_matrixUtilsJs18(matrix){const{subtractVectors,projection,scaleVector,innerProduct,transposeMatrix}=this.__closure;const[a0,a1,a2,a3]=matrix;const u0=a0;const u1=subtractVectors(a1,projection(u0,a1));const u2=subtractVectors(subtractVectors(a2,projection(u0,a2)),projection(u1,a2));const u3=subtractVectors(subtractVectors(subtractVectors(a3,projection(u0,a3)),projection(u1,a3)),projection(u2,a3));const[e0,e1,e2,e3]=[u0,u1,u2,u3].map(function(u){return scaleVector(u,1/Math.sqrt(innerProduct(u,u)));});const rotationMatrix=[[e0[0],e1[0],e2[0],e3[0]],[e0[1],e1[1],e2[1],e3[1]],[e0[2],e1[2],e2[2],e3[2]],[e0[3],e1[3],e2[3],e3[3]]];const skewMatrix=[[innerProduct(e0,a0),innerProduct(e0,a1),innerProduct(e0,a2),innerProduct(e0,a3)],[0,innerProduct(e1,a1),innerProduct(e1,a2),innerProduct(e1,a3)],[0,0,innerProduct(e2,a2),innerProduct(e2,a3)],[0,0,0,innerProduct(e3,a3)]];return{rotationMatrix:transposeMatrix(rotationMatrix),skewMatrix:transposeMatrix(skewM
23atrix)};})"},subtractVectors:Vi,projection:Mi,scaleVector:Pi,innerProduct:Fi,transposeMatrix:Ni}),Bi=function({_worklet_1508763508047_init_data:e,maybeFlattenMatrix:t,norm3d:n,gramSchmidtAlgorithm:r}){const i=function(e){const i=t(e);if(0===i[15])throw new Error("[Reanimated] Invalid transform matrix.");i.forEach((e,t)=>i[t]/=i[15]);const a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[i[12],i[13],i[14],1]],o=i[15]*n(i[0],i[4],i[8]),s=i[15]*n(i[1],i[5],i[9]),l=i[15]*n(i[2],i[6],i[10]),c=[[o,0,0,0],[0,s,0,0],[0,0,l,0],[0,0,0,1]],u=[[i[0]/o,i[1]/o,i[2]/o,0],[i[4]/s,i[5]/s,i[6]/s,0],[i[8]/l,i[9]/l,i[10]/l,0],[0,0,0,1]],{rotationMatrix:d,skewMatrix:p}=r(u);return{translationMatrix:a,scaleMatrix:c,rotationMatrix:d,skewMatrix:p}};return i.__closure={maybeFlattenMatrix:t,norm3d:n,gramSchmidtAlgorithm:r},i.__workletHash=1508763508047,i.__initData=e,i}({_worklet_1508763508047_init_data:{code:"(function decomposeMatrix_reactNativeReanimated_matrixUtilsJs19(unknownTypeMatrix){const{maybeFlattenMatrix,norm3d,gramSchmidtAlgorithm}=this.__closure;const matrix=maybeFlattenMatrix(unknownTypeMatrix);if(matrix[15]===0){throw new Error('[Reanimated] Invalid transform matrix.');}matrix.forEach(function(_,i){return matrix[i]/=matrix[15];});const translationMatrix=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[matrix[12],matrix[13],matrix[14],1]];const sx=matrix[15]*norm3d(matrix[0],matrix[4],matrix[8]);const sy=matrix[15]*norm3d(matrix[1],matrix[5],matrix[9]);const sz=matrix[15]*norm3d(matrix[2],matrix[6],matrix[10]);const scaleMatrix=[[sx,0,0,0],[0,sy,0,0],[0,0,sz,0],[0,0,0,1]];const rotationAndSkewMatrix=[[matrix[0]/sx,matrix[1]/sx,matrix[2]/sx,0],[matrix[4]/sy,matrix[5]/sy,matrix[6]/sy,0],[matrix[8]/sz,matrix[9]/sz,matrix[10]/sz,0],[0,0,0,1]];const{rotationMatrix:rotationMatrix,skewMatrix:skewMatrix}=gramSchmidtAlgorithm(rotationAndSkewMatrix);return{translationMatrix:translationMatrix,scaleMatrix:scaleMatrix,rotationMatrix:rotationMatrix,skewMatrix:skewMatrix};})"},maybeFlattenMatrix:Ei,norm3d:Di,gramSchmidtAlgorithm:Li}),Hi=function({_worklet_3161857955873_init_data:e,decomposeMatrix:t}){const n=function(e){const{scaleMatrix:n,rotationMatrix:r,translationMatrix:i,skewMatrix:a}=t(e),o=-r[0][2],s=Math.asin(o);let l,c;return 1===o||-1===o?(c=0,l=Math.atan2(o*r[0][1],o*r[0][2])):(c=Math.atan2(r[0][1],r[0][0]),l=Math.atan2(r[1][2],r[2][2])),{scaleMatrix:n,rotationMatrix:r,translationMatrix:i,skewMatrix:a,rx:l||0,ry:s||0,rz:c||0}};return n.__closure={decomposeMatrix:t},n.__workletHash=3161857955873,n.__initData=e,n}({_worklet_3161857955873_init_data:{code:"(function decomposeMatrixIntoMatricesAndAngles_reactNativeReanimated_matrixUtilsJs20(matrix){const{decomposeMatrix}=this.__closure;const{scaleMatrix:scaleMatrix,rotationMatrix:rotationMatrix,translationMatrix:translationMatrix,skewMatrix:skewMatrix}=decomposeMatrix(matrix);const sinRy=-rotationMatrix[0][2];const ry=Math.asin(sinRy);let rx;let rz;if(sinRy===1||sinRy===-1){rz=0;rx=Math.atan2(sinRy*rotationMatrix[0][1],sinRy*rotationMatrix[0][2]);}else{rz=Math.atan2(rotationMatrix[0][1],rotationMatrix[0][0]);rx=Math.atan2(rotationMatrix[1][2],rotationMatrix[2][2]);}return{scaleMatrix:scaleMatrix,rotationMatrix:rotationMatrix,translationMatrix:translationMatrix,skewMatrix:skewMatrix,rx:rx||0,ry:ry||0,rz:rz||0};})"},decomposeMatrix:Bi}),Wi={current:!1},zi=(0,In.createSerializable)({current:!1});In.serializableMappingCache.set(Wi,zi);const Yi=function({_worklet_1439112738461_init_data:e,LAYOUT_ANIMATION_SUPPORTED_PROPS:t}){const n=function(e){return e in t};return n.__closure={LAYOUT_ANIMATION_SUPPORTED_PROPS:t},n.__workletHash=1439112738461,n.__initData=e,n}({_worklet_1439112738461_init_data:{code:"(function isValidLayoutAnimationProp_reactNativeReanimated_utilCommonJs1(prop){const{LAYOUT_ANIMATION_SUPPORTED_PROPS}=this.__closure;return prop in LAYOUT_ANIMATION_SUPPORTED_PROPS;})"},LAYOUT_ANIMATION_SUPPORTED_PROPS:{originX:!0,originY:!0,width:!0,height:!0,borderRadius:!0,globalOriginX:!0,globalOriginY:!0,opacity:!0,transform:!0,backgroundColor:!0}});function Ui(e){Wi.current=!0;const t=e();return Wi.current=!1,t}const Xi=function({_worklet_1769707743291_init_data:e}){const t=function(e){if("string"===typeof e){const t=e.match(/([A-Za-z]*)(-?\d*\.?\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!t)throw new Error("[Reanimated] Couldn't parse animation value.");const n=t[1],r=t[4],i=t[2]+(t[3]??"");return{prefix:n,suffix:r,strippedValue:parseFloat(i)}}return{strippedValue:e}};return t.__closure={},t.__workletHash=1769707743291,t.__initData=e,t}({_worklet_1769707743291_init_data:{code:"(function recognizePrefixSuffix_reactNativeReanimated_utilCommonJs2(value){if(typeof value==='string'){var _match$;const match=value.match(/([A-Za-z]*)(-?\\d*\\.?\\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!match){throw new Error(\"[Reanimated] Couldn't parse animation value.\");}const prefix=match[1];const suffix=match[4];const number=match[2]+((_match$=match[3])!==null&&_match$!==void 0?_match$:'');return{prefix:prefix,suffix:suffix,strippedValue:parseFloat(number)};}else{return{strippedValue:value};}})"}}),Gi=wi.uiValue,qi=function({_worklet_7908201625078_init_data:e,ReduceMotion:t,isReduceMotionOnUI:n}){const r=function(e){return e&&e!==t.System?e===t.Always:n.value};return r.__closure={ReduceMotion:t,isReduceMotionOnUI:n},r.__workletHash=7908201625078,r.__initData=e,r}({_worklet_7908201625078_init_data:{code:"(function getReduceMotionFromConfig_reactNativeReanimated_utilCommonJs3(config){const{ReduceMotion,isReduceMotionOnUI}=this.__closure;return!config||config===ReduceMotion.System?isReduceMotionOnUI.value:config===ReduceMotion.Always;})"},ReduceMotion:Fn,isReduceMotionOnUI:Gi}),Ji=function({_worklet_2074579554958_init_data:e,getReduceMotionFromConfig:t}){const n=function(e){if(e)return t(e)};return n.__closure={getReduceMotionFromConfig:t},n.__workletHash=2074579554958,n.__initData=e,n}({_worklet_2074579554958_init_data:{code:"(function getReduceMotionForAnimation_reactNativeReanimated_utilCommonJs4(config){const{getReduceMotionFromConfig}=this.__closure;if(!config){return undefined;}return getReduceMotionFromConfig(config);})"},getReduceMotionFromConfig:qi}),$i=function({_worklet_975025097062_init_data:e,addMatrices:t,scaleMatrix:n,subtractMatrices:r}){const i=function(e,i,a){return t(i,n(r(a,i),e))};return i.__closure={addMatrices:t,scaleMatrix:n,subtractMatrices:r},i.__workletHash=975025097062,i.__initData=e,i}({_worklet_975025097062_init_data:{code:"(function applyProgressToMatrix_reactNativeReanimated_utilCommonJs5(progress,a,b){const{addMatrices,scaleMatrix,subtractMatrices}=this.__closure;return addMatrices(a,scaleMatrix(subtractMatrices(b,a),progress));})"},addMatrices:Ii,scaleMatrix:Ri,subtractMatrices:Ti}),Ki=function({_worklet_17037785624865_init_data:e}){const t=function(e,t,n){return t+e*(n-t)};return t.__closure={},t.__workletHash=0xf7eeb28f121,t.__initData=e,t}({_worklet_17037785624865_init_data:{code:"(function applyProgressToNumber_reactNativeReanimated_utilCommonJs6(progress,a,b){return a+progress*(b-a);})"}}),Zi=function({_worklet_12810168716488_init_data:e,getReduceMotionFromConfig:t,recognizePrefixSuffix:n,isColor:r,toLinearSpace:i,convertToRGBA
23:a,clampRGBA:o,rgbaArrayToRGBAColor:s,toGammaSpace:l,decomposeMatrixIntoMatricesAndAngles:c,applyProgressToMatrix:u,applyProgressToNumber:d,getRotationMatrix:p,multiplyMatrices:f,flatten:h,isAffineMatrixFlat:m}){const g=function(e){const g=e.onStart,y=e.onFrame;if(e.isHigherOrder)return void(e.onStart=(e,n,r,i)=>(void 0===e.reduceMotion&&(e.reduceMotion=t()),g(e,n,r,i)));const v=Object.assign({},e);delete v.callback;const b=(e,t)=>{e.current=e.strippedCurrent;const n=y(e,t);return e.strippedCurrent=e.current,e.current=(e.__prefix??"")+e.current+(e.__suffix??""),n},_=["R","G","B","A"],w=(e,t)=>{const n=[];let r=!0;return e.current=e.nonscaledCurrent,_.forEach(i=>{const a=e[i].onFrame(e[i],t);r=r&&a,n.push(e[i].current)}),o(n),e.nonscaledCurrent=n,e.current=s(l(n)),r},k=(e,t)=>{let n=!0;const r=e[0].onFrame(e[0],t);n=n&&r;const i=e[0].current/100,a=[];["translationMatrix","scaleMatrix","skewMatrix"].forEach((t,n)=>a.push(u(i,e.startMatrices[t],e.stopMatrices[t])));const[o,s,l]=a,c=[];["x","y","z"].forEach((t,n)=>{const r=d(i,e.startMatrices["r"+t],e.stopMatrices["r"+t]);c.push(p(r,t))});const[m,g,y]=c,v=f(m,f(g,y)),b=h(f(f(s,f(l,v)),o));return e.current=b,n},S=(e,t)=>{let n=!0;return e.current.forEach((r,i)=>{const a=e[i].onFrame(e[i],t);n=n&&a,e.current[i]=e[i].current}),n},x=(e,t)=>{let n=!0;const r={};for(const i in e.current){const a=e[i].onFrame(e[i],t);n=n&&a,r[i]=e[i].current}return e.current=r,n};e.onStart=(e,u,d,p)=>(void 0===e.reduceMotion&&(e.reduceMotion=t()),e.reduceMotion?(void 0!==e.toValue?e.current=e.toValue:g(e,u,d,p),e.startTime=0,void(e.onFrame=()=>!0)):r(u)?(((e,t,n,c)=>{let u,d,p;const f=[];r(t)&&(d=i(a(e.current)),u=i(a(t)),e.toValue&&(p=i(a(e.toValue)))),_.forEach((t,r)=>{e[t]=Object.assign({},v),e[t].current=d[r],e[t].toValue=p?p[r]:void 0,e[t].onStart(e[t],u[r],n,c?c[t]:void 0),f.push(e[t].current)}),e.unroundedCurrent=f,o(f),e.current=s(l(f))})(e,u,d,p),void(e.onFrame=w)):m(u)?(((e,t,n,r)=>{const i=e.toValue;e.startMatrices=c(t),e.stopMatrices=c(i),e[0]=Object.assign({},v),e[0].current=0,e[0].toValue=100,e[0].onStart(e[0],0,n,r?r[0]:void 0),e.current=t})(e,u,d,p),void(e.onFrame=k)):Array.isArray(u)?(((e,t,n,r)=>{t.forEach((t,i)=>{e[i]=Object.assign({},v),e[i].current=t,e[i].toValue=e.toValue[i],e[i].onStart(e[i],t,n,r?r[i]:void 0)}),e.current=[...t]})(e,u,d,p),void(e.onFrame=S)):"string"===typeof u?(((e,t,r,i)=>{const{prefix:a,suffix:o,strippedValue:s}=n(t);e.__prefix=a,e.__suffix=o,e.strippedCurrent=s;const{strippedValue:l}=n(e.toValue);if(e.current=s,e.startValue=s,e.toValue=l,i&&i!==e){const{prefix:e,suffix:t,strippedValue:r}=n(i.current);i.current=r,i.__prefix=e,i.__suffix=t}g(e,s,r,i),e.current=(e.__prefix??"")+e.current+(e.__suffix??""),i&&i!==e&&(i.current=(i.__prefix??"")+i.current+(i.__suffix??""))})(e,u,d,p),void(e.onFrame=b)):"object"===typeof u&&null!==u?(((e,t,n,r)=>{for(const i in t)e[i]=Object.assign({},v),e[i].onStart=e.onStart,e[i].current=t[i],e[i].toValue=e.toValue[i],e[i].onStart(e[i],t[i],n,r?r[i]:void 0);e.current=t})(e,u,d,p),void(e.onFrame=x)):void g(e,u,d,p))};return g.__closure={getReduceMotionFromConfig:t,recognizePrefixSuffix:n,isColor:r,toLinearSpace:i,convertToRGBA:a,clampRGBA:o,rgbaArrayToRGBAColor:s,toGammaSpace:l,decomposeMatrixIntoMatricesAndAngles:c,applyProgressToMatrix:u,applyProgressToNumber:d,getRotationMatrix:p,multiplyMatrices:f,flatten:h,isAffineMatrixFlat:m},g.__workletHash=0xba6998e4cc8,g.__initData=e,g}({_worklet_12810168716488_init_data:{code:"(function decorateAnimation_reactNativeReanimated_utilCommonJs7(animation){const{getReduceMotionFromConfig,recognizePrefixSuffix,isColor,toLinearSpace,convertToRGBA,clampRGBA,rgbaArrayToRGBAColor,toGammaSpace,decomposeMatrixIntoMatricesAndAngles,applyProgressToMatrix,applyProgressToNumber,getRotationMatrix,multiplyMatrices,flatten,isAffineMatrixFlat}=this.__closure;const baseOnStart=animation.onStart;const baseOnFrame=animation.onFrame;if(animation.isHigherOrder){animation.onStart=function(animation,value,timestamp,previousAnimation){if(animation.reduceMotion===undefined){animation.reduceMotion=getReduceMotionFromConfig();}return baseOnStart(animation,value,timestamp,previousAnimation);};return;}const animationCopy=Object.assign({},animation);delete animationCopy.callback;const prefNumberSuffOnStart=function(animation,value,timestamp,previousAnimation){var _animation$__prefix,_animation$__suffix;const{prefix:prefix,suffix:suffix,strippedValue:strippedValue}=recognizePrefixSuffix(value);animation.__prefix=prefix;animation.__suffix=suffix;animation.strippedCurrent=strippedValue;const{strippedValue:strippedToValue}=recognizePrefixSuffix(animation.toValue);animation.current=strippedValue;animation.startValue=strippedValue;animation.toValue=strippedToValue;if(previousAnimation&&previousAnimation!==animation){const{prefix:paPrefix,suffix:paSuffix,strippedValue:paStrippedValue}=recognizePrefixSuffix(previousAnimation.current);previousAnimation.current=paStrippedValue;previousAnimation.__prefix=paPrefix;
23previousAnimation.__suffix=paSuffix;}baseOnStart(animation,strippedValue,timestamp,previousAnimation);animation.current=((_animation$__prefix=animation.__prefix)!==null&&_animation$__prefix!==void 0?_animation$__prefix:'')+animation.current+((_animation$__suffix=animation.__suffix)!==null&&_animation$__suffix!==void 0?_animation$__suffix:'');if(previousAnimation&&previousAnimation!==animation){var _previousAnimation$__,_previousAnimation$__2;previousAnimation.current=((_previousAnimation$__=previousAnimation.__prefix)!==null&&_previousAnimation$__!==void 0?_previousAnimation$__:'')+previousAnimation.current+((_previousAnimation$__2=previousAnimation.__suffix)!==null&&_previousAnimation$__2!==void 0?_previousAnimation$__2:'');}};const prefNumberSuffOnFrame=function(animation,timestamp){var _animation$__prefix2,_animation$__suffix2;animation.current=animation.strippedCurrent;const res=baseOnFrame(animation,timestamp);animation.strippedCurrent=animation.current;animation.current=((_animation$__prefix2=animation.__prefix)!==null&&_animation$__prefix2!==void 0?_animation$__prefix2:'')+animation.current+((_animation$__suffix2=animation.__suffix)!==null&&_animation$__suffix2!==void 0?_animation$__suffix2:'');return res;};const tab=['R','G','B','A'];const colorOnStart=function(animation,value,timestamp,previousAnimation){let RGBAValue;let RGBACurrent;let RGBAToValue;const res=[];if(isColor(value)){RGBACurrent=toLinearSpace(convertToRGBA(animation.current));RGBAValue=toLinearSpace(convertToRGBA(value));if(animation.toValue){RGBAToValue=toLinearSpace(convertToRGBA(animation.toValue));}}tab.forEach(function(i,index){animation[i]=Object.assign({},animationCopy);animation[i].current=RGBACurrent[index];animation[i].toValue=RGBAToValue?RGBAToValue[index]:undefined;animation[i].onStart(animation[i],RGBAValue[index],timestamp,previousAnimation?previousAnimation[i]:undefined);res.push(animation[i].current);});animation.unroundedCurrent=res;clampRGBA(res);animation.current=rgbaArrayToRGBAColor(toGammaSpace(res));};const colorOnFrame=function(animation,timestamp){const res=[];let finished=true;animation.current=animation.nonscaledCurrent;tab.forEach(function(i){const result=animation[i].onFrame(animation[i],timestamp);finished=finished&&result;res.push(animation[i].current);});clampRGBA(res);animation.nonscaledCurrent=res;animation.current=rgbaArrayToRGBAColor(toGammaSpace(res));return finished;};const transformationMatrixOnStart=function(animation,value,timestamp,previousAnimation){const toValue=animation.toValue;animation.startMatrices=decomposeMatrixIntoMatricesAndAngles(value);animation.stopMatrices=decomposeMatrixIntoMatricesAndAngles(toValue);animation[0]=Object.assign({},animationCopy);animation[0].current=0;animation[0].toValue=100;animation[0].onStart(animation[0],0,timestamp,previousAnimation?previousAnimation[0]:undefined);animation.current=value;};const transformationMatrixOnFrame=function(animation,timestamp){let finished=true;const result=animation[0].onFrame(animation[0],timestamp);finished=finished&&result;const progress=animation[0].current/100;const transforms=['translationMatrix','scaleMatrix','skewMatrix'];const mappedTransforms=[];
23transforms.forEach(function(key,_){return mappedTransforms.push(applyProgressToMatrix(progress,animation.startMatrices[key],animation.stopMatrices[key]));});const[currentTranslation,currentScale,skewMatrix]=mappedTransforms;const rotations=['x','y','z'];const mappedRotations=[];rotations.forEach(function(key,_){const angle=applyProgressToNumber(progress,animation.startMatrices['r'+key],animation.stopMatrices['r'+key]);mappedRotations.push(getRotationMatrix(angle,key));});const[rotationMatrixX,rotationMatrixY,rotationMatrixZ]=mappedRotations;const rotationMatrix=multiplyMatrices(rotationMatrixX,multiplyMatrices(rotationMatrixY,rotationMatrixZ));const updated=flatten(multiplyMatrices(multiplyMatrices(currentScale,multiplyMatrices(skewMatrix,rotationMatrix)),currentTranslation));animation.current=updated;return finished;};const arrayOnStart=function(animation,value,timestamp,previousAnimation){value.forEach(function(v,i){animation[i]=Object.assign({},animationCopy);animation[i].current=v;animation[i].toValue=animation.toValue[i];animation[i].onStart(animation[i],v,timestamp,previousAnimation?previousAnimation[i]:undefined);});animation.current=[...value];};const arrayOnFrame=function(animation,timestamp){let finished=true;animation.current.forEach(function(_,i){const result=animation[i].onFrame(animation[i],timestamp);finished=finished&&result;animation.current[i]=animation[i].current;});return finished;};const objectOnStart=function(animation,value,timestamp,previousAnimation){for(const key in value){animation[key]=Object.assign({},animationCopy);animation[key].onStart=animation.onStart;animation[key].current=value[key];animation[key].toValue=animation.toValue[key];animation[key].onStart(animation[key],value[key],timestamp,previousAnimation?previousAnimation[key]:undefined);}animation.current=value;};const objectOnFrame=function(animation,timestamp){let finished=true;const newObject={};for(const key in animation.current){const result=animation[key].onFrame(animation[key],timestamp);finished=finished&&result;newObject[key]=animation[key].current;}animation.current=newObject;return finished;};animation.onStart=function(animation,value,timestamp,previousAnimation){if(animation.reduceMotion===undefined){animation.reduceMotion=getReduceMotionFromConfig();}if(animation.reduceMotion){if(animation.toValue!==undefined){animation.current=animation.toValue;}else{baseOnStart(animation,value,timestamp,previousAnimation);}animation.startTime=0;animation.onFrame=function(){return true;};return;}if(isColor(value)){colorOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=colorOnFrame;return;}else if(isAffineMatrixFlat(value)){transformationMatrixOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=transformationMatrixOnFrame;return;}else if(Array.isArray(value)){arrayOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=arrayOnFrame;return;}else if(typeof value==='string'){prefNumberSuffOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=prefNumberSuffOnFrame;return;}else if(typeof value==='object'&&value!==null){objectOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=objectOnFrame;return;}baseOnStart(animation,value,timestamp,previousAnimation);};})"},getReduceMotionFromConfig:qi,recognizePrefixSuffix:Xi,isColor:M,toLinearSpace:L,convertToRGBA:V,clampRGBA:x,rgbaArrayToRGBAColor:P,toGammaSpace:B,decomposeMatrixIntoMatricesAndAngles:Hi,applyProgressToMatrix:$i,applyProgressToNumber:Ki,getRotationMatrix:Oi,multiplyMatrices:Ai,flatten:xi,isAffineMatrixFlat:ki}),Qi=function({_worklet_6101419343565_init_data:e}){const t=function(e){};return t.__closure={},t.__workletHash=6101419343565,t.__initData=e,t}({_worklet_6101419343565_init_data:{code:"(function assertEasingIsWorklet_reactNativeReanimated_utilJs1(_easing){return;})"}}),ea=function({_worklet_3771207133347_init_data:e,RuntimeKind:t,IN_STYLE_UPDATER:n,_worklet_287964932052_init_data:r,decorateAnimation:i}){const a=function(e,a){if(globalThis.__RUNTIME_KIND===t.ReactNative&&n.current)return e;const o=function({_worklet_287964932052_init_data:e,factory:t,decorateAnimation:n}){const r=function(){const e=t();return n(e),e};return r.__closure={factory:t,decorateAnimation:n},r.__workletHash=287964932052,r.__initData=e,r}({_worklet_287964932052_init_data:r,factory:a,decorateAnimation:i});return o()};return a.__closure={RuntimeKind:t,IN_STYLE_UPDATER:n,_worklet_287964932052_init_data:r,decorateAnimation:i},a.__workletHash=3771207133347,a.__initData=e,a}({_worklet_3771207133347_init_data:{code:"(function defineAnimation_reactNativeReanimated_utilJs3(starting,factory){const{RuntimeKind,IN_STYLE_UPDATER,_worklet_287964932052_init_data,decorateAnimation}=this.__closure;if(globalThis.__RUNTIME_KIND===RuntimeKind.ReactNative&&IN_STYLE_UPDATER.current){return starting;}const create=function defineAnimation_reactNativeReanimated_utilJs3({_worklet_287964932052_init_data:_worklet_287964932052_init_data,factory:factory,decorateAnimation:decorateAnimation}){const reactNativeReanimated_utilJs2=function(){const animation=factory();decorateAnimation(animation);return animation;};reactNativeReanimated_utilJs2.__closure={factory:factory,decorateAnimation:decorateAnimation};reactNativeReanimated_utilJs2.__workletHash=287964932052;reactNativeReanimated_utilJs2.__initData=_worklet_287964932052_init_data;return reactNativeReanimated_utilJs2;}({_worklet_287964932052_init_data:_worklet_287964932052_init_data,factory:factory,decorateAnimation:decorateAnimation});return create();})"},RuntimeKind:In.RuntimeKind,IN_STYLE_UPDATER:Wi,_worklet_287964932052_init_data:{code:"(function reactNativeReanimated_utilJs2(){const{factory,decorateAnimation}=this.__closure;const animation=factory();decorateAnimation(animation);return animation;})"},decorateAnimation:Zi});function ta(e){e.value=e.value}const na=function({_worklet_5448323758304_init_data:e,defineAnimation:t,_worklet_14177826478165_init_data:n,recognizePrefixSuffix:r,logger:i,getReduceMotionForAnimation:a}){const o=function(e,o){return t(o,function({_worklet_14177826478165_init_data:e,_animationToClamp:t,config:n,recognizePrefixSuffix:r,logger:i,getReduceMotionForAnimation:a}){const o=function(){const e="function"===typeof t?t():t,o=void 0===n.min?void 0:r(n.min).strippedValue,s=void 0===n.max?void 0:r(n.max).strippedValue;return{isHigherOrder:!0,onFrame:function(t,n){const a=e.onFrame(e,n);if(void 0===e.current)return i.warn("Error inside 'withClamp' animation, the inner animation has invali
23d current value"),!0;{const{prefix:n,strippedValue:i,suffix:a}=r(e.current);let l;l=void 0!==s&&s<i?s:void 0!==o&&o>i?o:i,t.current="number"===typeof e.current?l:`${void 0===n?"":n}${l}${void 0===a?"":a}`}return a},onStart:function(t,r,a,o){t.current=r,t.previousAnimation=e;const s=o?.previousAnimation;void 0!==n.max&&void 0!==n.min&&n.max<n.min&&i.warn("Wrong config was provided to withClamp. Min value is bigger than max"),e.onStart(e,s?.current||r,a,s)},current:e.current,callback:t=>{e.callback&&e.callback(t)},previousAnimation:null,reduceMotion:a(n.reduceMotion)}};return o.__closure={_animationToClamp:t,config:n,recognizePrefixSuffix:r,logger:i,getReduceMotionForAnimation:a},o.__workletHash=0xce5084f9855,o.__initData=e,o}({_worklet_14177826478165_init_data:n,_animationToClamp:o,config:e,recognizePrefixSuffix:r,logger:i,getReduceMotionForAnimation:a}))};return o.__closure={defineAnimation:t,_worklet_14177826478165_init_data:n,recognizePrefixSuffix:r,logger:i,getReduceMotionForAnimation:a},o.__workletHash=5448323758304,o.__initData=e,o}({_worklet_5448323758304_init_data:{code:"(function reactNativeReanimated_clampJs2(config,_animationToClamp){const{defineAnimation,_worklet_14177826478165_init_data,recognizePrefixSuffix,logger,getReduceMotionForAnimation}=this.__closure;return defineAnimation(_animationToClamp,function reactNativeReanimated_clampJs1Factory({_worklet_14177826478165_init_data:_worklet_14177826478165_init_data,_animationToClamp:_animationToClamp,config:config,recognizePrefixSuffix:recognizePrefixSuffix,logger:logger,getReduceMotionForAnimation:getReduceMotionForAnimation}){const reactNativeReanimated_clampJs1=function(){const animationToClamp=typeof _animationToClamp==='function'?_animationToClamp():_animationToClamp;const strippedMin=config.min===undefined?undefined:recognizePrefixSuffix(config.min).strippedValue;const strippedMax=config.max===undefined?undefined:recognizePrefixSuffix(config.max).strippedValue;function clampOnFrame(animation,now){const finished=animationToClamp.onFrame(animationToClamp,now);if(animationToClamp.current===undefined){logger.warn(\"Error inside 'withClamp' animation, the inner animation has invalid current value\");return true;}else{const{prefix:prefix,strippedValue:strippedValue,suffix:suffix}=recognizePrefixSuffix(animationToClamp.current);let newValue;if(strippedMax!==undefined&&strippedMax<strippedValue){newValue=strippedMax;}else if(strippedMin!==undefined&&strippedMin>strippedValue){newValue=strippedMin;}else{newValue=strippedValue;}animation.current=typeof animationToClamp.current==='number'?newValue:\"\"+(prefix===undefined?'':prefix)+newValue+(suffix===undefined?'':suffix);}return finished;}function onStart(animation,value,now,previousAnimation){animation.current=value;animation.previousAnimation=animationToClamp;const animationBeforeClamped=previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.previousAnimation;if(config.max!==undefined&&config.min!==undefined&&config.max<config.min){logger.warn('Wrong config was provided to withClamp. Min value is bigger than max');}animationToClamp.onStart(animationToClamp,(animationBeforeClamped===null||animationBeforeClamped===void 0?void 0:animationBeforeClamped.current)||value,now,animationBeforeClamped);}const callback=function(finished){if(animationToClamp.callback){animationToClamp.callback(finished);}};return{isHigherOrder:true,onFrame:clampOnFrame,onStart:onStart,current:animationToClamp.current,callback:callback,previousAnimation:null,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};};reactNativeReanimated_clampJs1.__closure={_animationToClamp:_animationToClamp,config:config,recognizePrefixSuffix:recognizePrefixSuffix,logger:logger,getReduceMotionForAnimation:getReduceMotionForAnimation};reactNativeReanimated_clampJs1.__workletHash=14177826478165;reactNativeReanimated_clampJs1.__initData=_worklet_14177826478165_init_data;return reactNativeReanimated_clampJs1;}({_worklet_14177826478165_init_data:_worklet_14177826478165_init_data,_animationToClamp:_animationToClamp,config:config,recognizePrefixSuffix:recognizePrefixSuffix,logger:logger,getReduceMotionForAnimation:getReduceMotionForAnimation}));})"},defineAnimation:ea,_worklet_14177826478165_init_data:{code:"(function reactNativeReanimated_clampJs1(){const{_animationToClamp,config,recognizePrefixSuffix,logger,getReduceMotionForAnimation}=this.__closure;const animationToClamp=typeof _animationToClamp==='function'?_animationToClamp():_animationToClamp;const strippedMin=config.min===undefined?undefined:recognizePrefixSuffix(config.min).strippedValue;const strippedMax=config.max===undefined?undefined:recognizePrefixSuffix(config.max).strippedValue;function clampOnFrame(animation,now){const finished=animationToClamp.onFrame(animationToClamp,now);if(animationToClamp.current===undefined){logger.warn(\"Error inside 'withClamp' animation, the inner animation has invali
23d current value\");return true;}else{const{prefix:prefix,strippedValue:strippedValue,suffix:suffix}=recognizePrefixSuffix(animationToClamp.current);let newValue;if(strippedMax!==undefined&&strippedMax<strippedValue){newValue=strippedMax;}else if(strippedMin!==undefined&&strippedMin>strippedValue){newValue=strippedMin;}else{newValue=strippedValue;}animation.current=typeof animationToClamp.current==='number'?newValue:\"\"+(prefix===undefined?'':prefix)+newValue+(suffix===undefined?'':suffix);}return finished;}function onStart(animation,value,now,previousAnimation){animation.current=value;animation.previousAnimation=animationToClamp;const animationBeforeClamped=previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.previousAnimation;if(config.max!==undefined&&config.min!==undefined&&config.max<config.min){logger.warn('Wrong config was provided to withClamp. Min value is bigger than max');}animationToClamp.onStart(animationToClamp,(animationBeforeClamped===null||animationBeforeClamped===void 0?void 0:animationBeforeClamped.current)||value,now,animationBeforeClamped);}const callback=function(finished){if(animationToClamp.callback){animationToClamp.callback(finished);}};return{isHigherOrder:true,onFrame:clampOnFrame,onStart:onStart,current:animationToClamp.current,callback:callback,previousAnimation:null,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};})"},recognizePrefixSuffix:Xi,logger:u,getReduceMotionForAnimation:Ji}),ra=function({_worklet_7412327657791_init_data:e}){const t=function(e){return!!e.rubberBandEffect&&Array.isArray(e.clamp)&&2===e.clamp.length};return t.__closure={},t.__workletHash=7412327657791,t.__initData=e,t}({_worklet_7412327657791_init_data:{code:"(function isValidRubberBandConfig_reactNativeReanimated_utilsCommonJs1(config){return!!config.rubberBandEffect&&Array.isArray(config.clamp)&&config.clamp.length===2;})"}}),ia=function({_worklet_5042783460559_init_data:e,SLOPE_FACTOR:t,VELOCITY_EPS:n}){const r=function(e,r,i){const{lastTimestamp:a,startTimestamp:o,initialVelocity:s,current:l,velocity:c}=e,u=Math.min(Math.max(r-a,0),64),d=c*Math.exp(-(1-i.deceleration)*(r-o)*t);if(e.current=l+d*i.velocityFactor*u/1e3,e.velocity=d,e.lastTimestamp=r,i.clamp){if(s<0&&e.current<=i.clamp[0])return e.current=i.clamp[0],!0;if(s>0&&e.current>=i.clamp[1])return e.current=i.clamp[1],!0}return Math.abs(d)<n};return r.__closure={SLOPE_FACTOR:t,VELOCITY_EPS:n},r.__workletHash=5042783460559,r.__initData=e,r}({_worklet_5042783460559_init_data:{code:"(function rigidDecay_reactNativeReanimated_rigidDecayJs1(animation,now,config){const{SLOPE_FACTOR,VELOCITY_EPS}=this.__closure;const{lastTimestamp:lastTimestamp,startTimestamp:startTimestamp,initialVelocity:initialVelocity,current:current,velocity:velocity}=animation;const deltaTime=Math.min(Math.max(now-lastTimestamp,0),64);const v=velocity*Math.exp(-(1-config.deceleration)*(now-startTimestamp)*SLOPE_FACTOR);animation.current=current+v*config.velocityFactor*deltaTime/1000;animation.velocity=v;animation.lastTimestamp=now;if(config.clamp){if(initialVelocity<0&&animation.current<=config.clamp[0]){animation.current=config.clamp[0];return true;}else if(initialVelocity>0&&animation.current>=config.clamp[1]){animation.current=config.clamp[1];return true;}}return Math.abs(v)<VELOCITY_EPS;})"},SLOPE_FACTOR:.1,VELOCITY_EPS:.05}),aa=function({_worklet_9878940448276_init_data:e,SLOPE_FACTOR:t,DERIVATIVE_EPS:n,VELOCITY_EPS:r}){const i=function(e,i,a){const{lastTimestamp:o,startTimestamp:s,current:l,velocity:c}=e,u=Math.min(Math.max(i-o,0),64),d=Math.abs(l-a.clamp[0])<Math.abs(l-a.clamp[1])?0:1;let p=0;(l<a.clamp[0]||l>a.clamp[1])&&(p=l-a.clamp[d]);const f=c*Math.exp(-(1-a.deceleration)*(i-s)*t)-p*a.rubberBandFactor;if(Math.abs(p)>n)e.springActive=!0;else{if(e.springActive)return e.current=a.clamp[d],!0;if(Math.abs(f)<r)return!0}return e.current=l+f*a.velocityFactor*u/1e3,e.velocity=f,e.lastTimestamp=i,!1};return i.__closure={SLOPE_FACTOR:t,DERIVATIVE_EPS:n,VELOCITY_EPS:r},i.__workletHash=9878940448276,i.__initData=e,i}({_worklet_9878940448276_init_data:{code:"(function rubberBandDecay_reactNativeReanimated_rubberBandDecayJs1(animation,now,config){const{SLOPE_FACTOR,DERIVATIVE_EPS,VELOCITY_EPS}=this.__closure;const{lastTimestamp:lastTimestamp,startTimestamp:startTimestamp,current:current,velocity:velocity}=animation;
23const deltaTime=Math.min(Math.max(now-lastTimestamp,0),64);const clampIndex=Math.abs(current-config.clamp[0])<Math.abs(current-config.clamp[1])?0:1;let derivative=0;if(current<config.clamp[0]||current>config.clamp[1]){derivative=current-config.clamp[clampIndex];}const v=velocity*Math.exp(-(1-config.deceleration)*(now-startTimestamp)*SLOPE_FACTOR)-derivative*config.rubberBandFactor;if(Math.abs(derivative)>DERIVATIVE_EPS){animation.springActive=true;}else if(animation.springActive){animation.current=config.clamp[clampIndex];return true;}else if(Math.abs(v)<VELOCITY_EPS){return true;}animation.current=current+v*config.velocityFactor*deltaTime/1000;animation.velocity=v;animation.lastTimestamp=now;return false;})"},SLOPE_FACTOR:.1,DERIVATIVE_EPS:.1,VELOCITY_EPS:.05}),oa=function({_worklet_14758320030646_init_data:e}){const t=function(e){if(e.clamp){if(!Array.isArray(e.clamp))throw new Error(`[Reanimated] \`config.clamp\` must be an array but is ${typeof e.clamp}.`);if(2!==e.clamp.length)throw new Error(`[Reanimated] \`clamp array\` must contain 2 items but is given ${e.clamp.length}.`)}if(e.velocityFactor<=0)throw new Error(`[Reanimated] \`config.velocityFactor\` must be greater than 0 but is ${e.velocityFactor}.`);if(e.rubberBandEffect&&!e.clamp)throw new Error("[Reanimated] You need to set `clamp` property when using `rubberBandEffect`.")};return t.__closure={},t.__workletHash=0xd6c306c43b6,t.__initData=e,t}({_worklet_14758320030646_init_data:{code:'(function validateConfig_reactNativeReanimated_decayJs1(config){if(config.clamp){if(!Array.isArray(config.clamp)){throw new Error("[Reanimated] `config.clamp` must be an array but is "+typeof config.clamp+".");}if(config.clamp.length!==2){throw new Error("[Reanimated] `clamp array` must contain 2 items but is given "+config.clamp.length+".");}}if(config.velocityFactor<=0){throw new Error("[Reanimated] `config.velocityFactor` must be greater than 0 but is "+config.velocityFactor+".");}if(config.rubberBandEffect&&!config.clamp){throw new Error(\'[Reanimated] You need to set `clamp` property when using `rubberBandEffect`.\');}})'}}),sa=function({_worklet_2188190382174_init_data:e,defineAnimation:t,_worklet_719951509816_init_data:n,isValidRubberBandConfig:r,rubberBandDecay:i,rigidDecay:a,validateConfig:o,getReduceMotionForAnimation:s}){const l=function(e,l){return t(0,function({_worklet_719951509816_init_data:e,userConfig:t,isValidRubberBandConfig:n,rubberBandDecay:r,rigidDecay:i,validateConfig:a,callback:o,getReduceMotionForAnimation:s}){const l=function(){const e={deceleration:.998,velocityFactor:1,velocity:0,rubberBandFactor:.6};t&&Object.keys(t).forEach(n=>e[n]=t[n]);return{onFrame:n(e)?(t,n)=>r(t,n,e):(t,n)=>i(t,n,e),onStart:function(t,n,r){const i=e.velocity;t.current=n,t.lastTimestamp=r,t.startTimestamp=r,t.initialVelocity=i,t.velocity=i,a(e),t.reduceMotion&&e.clamp&&(n<e.clamp[0]?t.current=e.clamp[0]:n>e.clamp[1]&&(t.current=e.clamp[1]))},callback:o,velocity:e.velocity??0,initialVelocity:0,current:void 0,lastTimestamp:0,startTimestamp:0,reduceMotion:s(e.reduceMotion)}};return l.__closure={userConfig:t,isValidRubberBandConfig:n,rubberBandDecay:r,rigidDecay:i,validateConfig:a,callback:o,getReduceMotionForAnimation:s},l.__workletHash=719951509816,l.__initData=e,l}({_worklet_719951509816_init_data:n,userConfig:e,isValidRubberBandConfig:r,rubberBandDecay:i,rigidDecay:a,validateConfig:o,callback:l,getReduceMotionForAnimation:s}))};return l.__closure={defineAnimation:t,_worklet_719951509816_init_data:n,isValidRubberBandConfig:r,rubberBandDecay:i,rigidDecay:a,validateConfig:o,getReduceMotionForAnimation:s},l.__workletHash=2188190382174,l.__initData=e,l}({_worklet_2188190382174_init_data:{code:"(function reactNativeReanimated_decayJs3(userConfig,callback){const{defineAnimation,_worklet_719951509816_init_data,isValidRubberBandConfig,rubberBandDecay,rigidDecay,validateConfig,getReduceMotionForAnimation}=this.__closure;return defineAnimation(0,function reactNativeReanimated_decayJs2Factory({_worklet_719951509816_init_data:_worklet_719951509816_init_data,userConfig:userConfig,isValidRubberBandConfig:isValidRubberBandConfig,rubberBandDecay:rubberBandDecay,rigidDecay:rigidDecay,validateConfig:validateConfig,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation}){const reactNativeReanimated_decayJs2=function(){var _config$velocity;const config={deceleration:0.998,velocityFactor:1,velocity:0,rubberBandFactor:0.6};if(userConfig){Object.keys(userConfig).forEach(function(key){return(config[key]=userConfig[key]);});}const decay=isValidRubberBandConfig(config)?function(animation,now){return rubberBandDecay(animation,now,config);}:function(animation,now){return rigidDecay(animation,now,config);};
23function onStart(animation,value,now){const initialVelocity=config.velocity;animation.current=value;animation.lastTimestamp=now;animation.startTimestamp=now;animation.initialVelocity=initialVelocity;animation.velocity=initialVelocity;validateConfig(config);if(animation.reduceMotion&&config.clamp){if(value<config.clamp[0]){animation.current=config.clamp[0];}else if(value>config.clamp[1]){animation.current=config.clamp[1];}}}return{onFrame:decay,onStart:onStart,callback:callback,velocity:(_config$velocity=config.velocity)!==null&&_config$velocity!==void 0?_config$velocity:0,initialVelocity:0,current:undefined,lastTimestamp:0,startTimestamp:0,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};};reactNativeReanimated_decayJs2.__closure={userConfig:userConfig,isValidRubberBandConfig:isValidRubberBandConfig,rubberBandDecay:rubberBandDecay,rigidDecay:rigidDecay,validateConfig:validateConfig,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation};reactNativeReanimated_decayJs2.__workletHash=719951509816;reactNativeReanimated_decayJs2.__initData=_worklet_719951509816_init_data;return reactNativeReanimated_decayJs2;}({_worklet_719951509816_init_data:_worklet_719951509816_init_data,userConfig:userConfig,isValidRubberBandConfig:isValidRubberBandConfig,rubberBandDecay:rubberBandDecay,rigidDecay:rigidDecay,validateConfig:validateConfig,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation}));})"},defineAnimation:ea,_worklet_719951509816_init_data:{code:"(function reactNativeReanimated_decayJs2(){const{userConfig,isValidRubberBandConfig,rubberBandDecay,rigidDecay,validateConfig,callback,getReduceMotionForAnimation}=this.__closure;var _config$velocity;const config={deceleration:0.998,velocityFactor:1,velocity:0,rubberBandFactor:0.6};if(userConfig){Object.keys(userConfig).forEach(function(key){return(config[key]=userConfig[key]);});}const decay=isValidRubberBandConfig(config)?function(animation,now){return rubberBandDecay(animation,now,config);}:function(animation,now){return rigidDecay(animation,now,config);};function onStart(animation,value,now){const initialVelocity=config.velocity;animation.current=value;animation.lastTimestamp=now;animation.startTimestamp=now;animation.initialVelocity=initialVelocity;animation.velocity=initialVelocity;validateConfig(config);if(animation.reduceMotion&&config.clamp){if(value<config.clamp[0]){animation.current=config.clamp[0];}else if(value>config.clamp[1]){animation.current=config.clamp[1];}}}return{onFrame:decay,onStart:onStart,callback:callback,velocity:(_config$velocity=config.velocity)!==null&&_config$velocity!==void 0?_config$velocity:0,initialVelocity:0,current:undefined,lastTimestamp:0,startTimestamp:0,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};})"},isValidRubberBandConfig:ra,rubberBandDecay:aa,rigidDecay:ia,validateConfig:oa,getReduceMotionForAnimation:Ji}),la=function({_worklet_1339219990683_init_data:e,defineAnimation:t,_worklet_14324709774751_init_data:n,getReduceMotionForAnimation:r}){const i=function(e,i,a){return t(i,function({_worklet_14324709774751_init_data:e,_nextAnimation:t,delayMs:n,getReduceMotionForAnimation:r,reduceMotion:i}){const a=function(){const e="function"===typeof t?t():t;return{isHigherOrder:!0,onFrame:function(t,r){const{startTime:i,started:a,previousAnimation:o}=t,s=t.current;if(r-i>=n||t.reduceMotion){a||(e.onStart(e,s,r,o),t.previousAnimation=null,t.started=!0);const n=e.onFrame(e,r);return t.current=e.current,n}if(o){const e=o.finished||o.onFrame(o,r);t.current=o.current,e&&(t.previousAnimation=null)}return!1},onStart:function(t,n,r,i){t.startTime=r,t.started=!1,t.current=n,t.previousAnimation=i===t?i.previousAnimation:i,void 0===e.reduceMotion&&(e.reduceMotion=t.reduceMotion)},current:e.current,callback:t=>{e.callback&&e.callback(t)},previousAnimation:null,startTime:0,started:!1,reduceMotion:r(i)}};return a.__closure={_nextAnimation:t,delayMs:n,getReduceMotionForAnimation:r,reduceMotion:i},a.__workletHash=0xd073b3cd59f,a.__initData=e,a}({_worklet_14324709774751_init_data:n,_nextAnimation:i,delayMs:e,getReduceMotionForAnimation:r,reduceMotion:a}))};return i.__closure={defineAnimation:t,_worklet_14324709774751_init_data:n,getReduceMotionForAnimation:r},i.__workletHash=1339219990683,i.__initData=e,i}({_worklet_1339219990683_init_data:{code:"(function reactNativeReanimated_delayJs2(delayMs,_nextAnimation,reduceMotion){const{defineAnimation,_worklet_14324709774751_init_data,getReduceMotionForAnimation}=this.__closure;return defineAnimation(_nextAnimation,function reactNativeReanimated_delayJs1Factory({_worklet_14324709774751_init_data:_worklet_14324709774751_init_data,_nextAnimation:_nextAnimation,delayMs:delayMs,getReduceMotionForAnimation:getReduceMotionForAnimation,reduceMotion:reduceMotion}){const reactNativeReanimated_delayJs1=function(){const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function delay(animation,now){const{startTime:startTime,started:started,previousAnimation:previousAnimation}=animation;const current=animation.current;if(now-startTime>=delayMs||animation.reduceMotion){if(!started){nextAnimation.onStart(nextAnimation,current,now,previousAnimation);animation.previousAnimation=null;animation.started=true;}const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;return finished;}else if(previousAnimation){const finished=previousAnimation.finished||previousAnimation.onFrame(previousAnimation,now);animation.current=previousAnimation.current;if(finished){animation.previousAnimation=null;}}return false;}
23function onStart(animation,value,now,previousAnimation){animation.startTime=now;animation.started=false;animation.current=value;if(previousAnimation===animation){animation.previousAnimation=previousAnimation.previousAnimation;}else{animation.previousAnimation=previousAnimation;}if(nextAnimation.reduceMotion===undefined){nextAnimation.reduceMotion=animation.reduceMotion;}}const callback=function(finished){if(nextAnimation.callback){nextAnimation.callback(finished);}};return{isHigherOrder:true,onFrame:delay,onStart:onStart,current:nextAnimation.current,callback:callback,previousAnimation:null,startTime:0,started:false,reduceMotion:getReduceMotionForAnimation(reduceMotion)};};reactNativeReanimated_delayJs1.__closure={_nextAnimation:_nextAnimation,delayMs:delayMs,getReduceMotionForAnimation:getReduceMotionForAnimation,reduceMotion:reduceMotion};reactNativeReanimated_delayJs1.__workletHash=14324709774751;reactNativeReanimated_delayJs1.__initData=_worklet_14324709774751_init_data;return reactNativeReanimated_delayJs1;}({_worklet_14324709774751_init_data:_worklet_14324709774751_init_data,_nextAnimation:_nextAnimation,delayMs:delayMs,getReduceMotionForAnimation:getReduceMotionForAnimation,reduceMotion:reduceMotion}));})"},defineAnimation:ea,_worklet_14324709774751_init_data:{code:"(function reactNativeReanimated_delayJs1(){const{_nextAnimation,delayMs,getReduceMotionForAnimation,reduceMotion}=this.__closure;const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function delay(animation,now){const{startTime:startTime,started:started,previousAnimation:previousAnimation}=animation;const current=animation.current;if(now-startTime>=delayMs||animation.reduceMotion){if(!started){nextAnimation.onStart(nextAnimation,current,now,previousAnimation);animation.previousAnimation=null;animation.started=true;}const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;return finished;}else if(previousAnimation){const finished=previousAnimation.finished||previousAnimation.onFrame(previousAnimation,now);animation.current=previousAnimation.current;if(finished){animation.previousAnimation=null;}}return false;}function onStart(animation,value,now,previousAnimation){animation.startTime=now;animation.started=false;animation.current=value;if(previousAnimation===animation){animation.previousAnimation=previousAnimation.previousAnimation;}else{animation.previousAnimation=previousAnimation;}if(nextAnimation.reduceMotion===undefined){nextAnimation.reduceMotion=animation.reduceMotion;}}const callback=function(finished){if(nextAnimation.callback){nextAnimation.callback(finished);}};return{isHigherOrder:true,onFrame:delay,onStart:onStart,current:nextAnimation.current,callback:callback,previousAnimation:null,startTime:0,started:false,reduceMotion:getReduceMotionForAnimation(reduceMotion)};})"},getReduceMotionForAnimation:Ji}),ca=function({_worklet_495107156529_init_data:e,defineAnimation:t,_worklet_11207507101136_init_data:n,getReduceMotionForAnimation:r}){const i=function(e,i=2,a=!1,o,s){return t(e,function({_worklet_11207507101136_init_data:e,_nextAnimation:t,numberOfReps:n,reverse:r,callback:i,getReduceMotionForAnimation:a,reduceMotion:o}){const s=function(){const e="function"===typeof t?t():t;return{isHigherOrder:!0,onFrame:function(t,i){const a=e.onFrame(e,i);if(t.current=e.current,a){if(t.reps+=1,e.callback&&e.callback(!0,t.current),t.reduceMotion||n>0&&t.reps>=n)return!0;const a=r?e.current:t.startValue;return r&&(e.toValue=t.startValue,t.startValue=a),e.onStart(e,a,i,e.previousAnimation),!1}return!1},onStart:function(t,i,a,o){t.startValue=i,t.reps=0,void 0===e.reduceMotion&&(e.reduceMotion=t.reduceMotion),t.reduceMotion&&r&&(n<=0||n%2===0)?(t.current=t.startValue,t.onFrame=()=>!0):e.onStart(e,i,a,o)},reps:0,current:e.current,callback:t=>{i&&i(t),!t&&e.callback&&e.callback(!1)},startValue:0,reduceMotion:a(o)}};return s.__closure={_nextAnimation:t,numberOfReps:n,reverse:r,callback:i,getReduceMotionForAnimation:a,reduceMotion:o},s.__workletHash=0xa31737ac5d0,s.__initData=e,s}({_worklet_11207507101136_init_data:n,_nextAnimation:e,numberOfReps:i,reverse:a,callback:o,getReduceMotionForAnimation:r,reduceMotion:s}))};return i.__closure={defineAnimation:t,_worklet_11207507101136_init_data:n,getReduceMotionForAnimation:r},i.__workletHash=495107156529,i.__initData=e,i}({_worklet_495107156529_init_data:{code:"(function reactNativeReanimated_repeatJs2(_nextAnimation,numberOfReps=2,reverse=false,callback,reduceMotion){const{defineAnimation,_worklet_11207507101136_init_data,getReduceMotionForAnimation}=this.__closure;return defineAnimation(_nextAnimation,function reactNativeReanimated_repeatJs1Factory({_worklet_11207507101136_init_data:_worklet_11207507101136_init_data,_nextAnimation:_nextAnimation,numberOfReps:numberOfReps,reverse:reverse,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation,reduceMotion:reduceMotion}){const reactNativeReanimated_repeatJs1=function(){const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function repeat(animation,now){const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;if(finished){animation.reps+=1;if(nextAnimation.callback){nextAnimation.callback(true,animation.current);}if(animation.reduceMotion||numberOfReps>0&&animation.reps>=numberOfReps){return true;}const startValue=reverse?nextAnimation.current:animation.startValue;if(reverse){nextAnimation.toValue=animation.startValue;animation.startValue=startValue;}nextAnimation.onStart(nextAnimation,startValue,now,nextAnimation.previousAnimation);return false;}return false;}const repCallback=function(finished){if(callback){callback(finished);}if(!finished&&nextAnimation.callback){nextAnimation.callback(false);}};
23function onStart(animation,value,now,previousAnimation){animation.startValue=value;animation.reps=0;if(nextAnimation.reduceMotion===undefined){nextAnimation.reduceMotion=animation.reduceMotion;}if(animation.reduceMotion&&reverse&&(numberOfReps<=0||numberOfReps%2===0)){animation.current=animation.startValue;animation.onFrame=function(){return true;};}else{nextAnimation.onStart(nextAnimation,value,now,previousAnimation);}}return{isHigherOrder:true,onFrame:repeat,onStart:onStart,reps:0,current:nextAnimation.current,callback:repCallback,startValue:0,reduceMotion:getReduceMotionForAnimation(reduceMotion)};};reactNativeReanimated_repeatJs1.__closure={_nextAnimation:_nextAnimation,numberOfReps:numberOfReps,reverse:reverse,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation,reduceMotion:reduceMotion};reactNativeReanimated_repeatJs1.__workletHash=11207507101136;reactNativeReanimated_repeatJs1.__initData=_worklet_11207507101136_init_data;return reactNativeReanimated_repeatJs1;}({_worklet_11207507101136_init_data:_worklet_11207507101136_init_data,_nextAnimation:_nextAnimation,numberOfReps:numberOfReps,reverse:reverse,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation,reduceMotion:reduceMotion}));})"},defineAnimation:ea,_worklet_11207507101136_init_data:{code:"(function reactNativeReanimated_repeatJs1(){const{_nextAnimation,numberOfReps,reverse,callback,getReduceMotionForAnimation,reduceMotion}=this.__closure;const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function repeat(animation,now){const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;if(finished){animation.reps+=1;if(nextAnimation.callback){nextAnimation.callback(true,animation.current);}if(animation.reduceMotion||numberOfReps>0&&animation.reps>=numberOfReps){return true;}const startValue=reverse?nextAnimation.current:animation.startValue;if(reverse){nextAnimation.toValue=animation.startValue;animation.startValue=startValue;}nextAnimation.onStart(nextAnimation,startValue,now,nextAnimation.previousAnimation);return false;}return false;}const repCallback=function(finished){if(callback){callback(finished);}if(!finished&&nextAnimation.callback){nextAnimation.callback(false);}};function onStart(animation,value,now,previousAnimation){animation.startValue=value;animation.reps=0;if(nextAnimation.reduceMotion===undefined){nextAnimation.reduceMotion=animation.reduceMotion;}if(animation.reduceMotion&&reverse&&(numberOfReps<=0||numberOfReps%2===0)){animation.current=animation.startValue;animation.onFrame=function(){return true;};}else{nextAnimation.onStart(nextAnimation,value,now,previousAnimation);}}return{isHigherOrder:true,onFrame:repeat,onStart:onStart,reps:0,current:nextAnimation.current,callback:repCallback,startValue:0,reduceMotion:getReduceMotionForAnimation(reduceMotion)};})"},getReduceMotionForAnimation:Ji}),ua=function({_worklet_12150227768817_init_data:e,logger:t,defineAnimation:n,_worklet_7526469274077_init_data:r,getReduceMotionForAnimation:i,_worklet_15981014552812_init_data:a}){const o=function(e,...o){let s;return e&&("string"===typeof e?s=e:o.unshift(e)),0===o.length?(t.warn("No animation was provided for the sequence"),n(0,function({_worklet_7526469274077_init_data:e,getReduceMotionForAnimation:t,reduceMotion:n}){const r=function(){return{onStart:(e,t)=>e.current=t,onFrame:()=>!0,current:0,animationIndex:0,reduceMotion:t(n)}};return r.__closure={getReduceMotionForAnimation:t,reduceMotion:n},r.__workletHash=7526469274077,r.__initData=e,r}({_worklet_7526469274077_init_data:r,getReduceMotionForAnimation:i,reduceMotion:s}))):n(o[0],function({_worklet_15981014552812_init_data:e,_animations:t,getReduceMotionForAnimation:n,reduceMotion:r}){const i=function(){const e=t.map(e=>{const t="function"===typeof e?e():e;return t.finished=!1,t});function i(t){for(;t<e.length-1&&e[t].reduceMotion;)"function"===typeof e[t].callback&&e[t].callback?.(!0),t++;return t}return{isHigherOrder:!0,onFrame:function(t,n){const r=e[t.animationIndex],a=r.onFrame(r,n);if(t.current=r.current,a){if(r.callback&&r.callback(!0),r.finished=!0,t.animationIndex=i(t.animationIndex+1),t.animationIndex<e.length){const i=e[t.animationIndex];return i.onStart(i,r.current,n,r),!1}return!0}return!1}
23,onStart:function(t,n,r,a){e.forEach(e=>{void 0===e.reduceMotion&&(e.reduceMotion=t.reduceMotion)}),t.animationIndex=i(0),void 0===a&&(a=e[e.length-1]);const o=e[t.animationIndex];o.onStart(o,n,r,a)},animationIndex:0,current:e[0].current,callback:t=>{t||e.forEach(e=>{"function"!==typeof e.callback||e.finished||e.callback(t)})},reduceMotion:n(r)}};return i.__closure={_animations:t,getReduceMotionForAnimation:n,reduceMotion:r},i.__workletHash=0xe88deb210ec,i.__initData=e,i}({_worklet_15981014552812_init_data:a,_animations:o,getReduceMotionForAnimation:i,reduceMotion:s}))};return o.__closure={logger:t,defineAnimation:n,_worklet_7526469274077_init_data:r,getReduceMotionForAnimation:i,_worklet_15981014552812_init_data:a},o.__workletHash=0xb0cf20295f1,o.__initData=e,o}({_worklet_12150227768817_init_data:{code:"(function withSequence_reactNativeReanimated_sequenceJs3(_reduceMotionOrFirstAnimation,..._animations){const{logger,defineAnimation,_worklet_7526469274077_init_data,getReduceMotionForAnimation,_worklet_15981014552812_init_data}=this.__closure;let reduceMotion;if(_reduceMotionOrFirstAnimation){if(typeof _reduceMotionOrFirstAnimation==='string'){reduceMotion=_reduceMotionOrFirstAnimation;}else{_animations.unshift(_reduceMotionOrFirstAnimation);}}if(_animations.length===0){logger.warn('No animation was provided for the sequence');return defineAnimation(0,function withSequence_reactNativeReanimated_sequenceJs3({_worklet_7526469274077_init_data:_worklet_7526469274077_init_data,getReduceMotionForAnimation:getReduceMotionForAnimation,reduceMotion:reduceMotion}){const reactNativeReanimated_sequenceJs1=function(){return{onStart:function(animation,value){return animation.current=value;},onFrame:function(){return true;},current:0,animationIndex:0,reduceMotion:getReduceMotionForAnimation(reduceMotion)};};reactNativeReanimated_sequenceJs1.__closure={getReduceMotionForAnimation:getReduceMotionForAnimation,reduceMotion:reduceMotion};reactNativeReanimated_sequenceJs1.__workletHash=7526469274077;reactNativeReanimated_sequenceJs1.__initData=_worklet_7526469274077_init_data;return reactNativeReanimated_sequenceJs1;}({_worklet_7526469274077_init_data:_worklet_7526469274077_init_data,getReduceMotionForAnimation:getReduceMotionForAnimation,reduceMotion:reduceMotion}));}return defineAnimation(_animations[0],function reactNativeReanimated_sequenceJs2Factory({_worklet_15981014552812_init_data:_worklet_15981014552812_init_data,_animations:_animations,getReduceMotionForAnimation:getReduceMotionForAnimation,reduceMotion:reduceMotion}){const reactNativeReanimated_sequenceJs2=function(){const animations=_animations.map(function(a){const result=typeof a==='function'?a():a;result.finished=false;return result;});function findNextNonReducedMotionAnimationIndex(index){while(index<animations.length-1&&animations[index].reduceMotion){if(typeof animations[index].callback==='function'){var _animations$index$cal,_animations$index;(_animations$index$cal=(_animations$index=animations[index]).callback)===null||_animations$index$cal===void 0||_animations$index$cal.call(_animations$index,true);}index++;}return index;}const callback=function(finished){if(finished){return;}animations.forEach(function(animation){if(typeof animation.callback==='function'&&!animation.finished){animation.callback(finished);}});};function sequence(animation,now){const currentAnim=animations[animation.animationIndex];const finished=currentAnim.onFrame(currentAnim,now);animation.current=currentAnim.current;if(finished){if(currentAnim.callback){currentAnim.callback(true);}currentAnim.finished=true;animation.animationIndex=findNextNonReducedMotionAnimationIndex(animation.animationIndex+1);if(animation.animationIndex<animations.length){const nextAnim=animations[animation.animationIndex];nextAnim.onStart(nextAnim,currentAnim.current,now,currentAnim);return false;}return true;}return false;}function onStart(animation,value,now,previousAnimation){animations.forEach(function(anim){if(anim.reduceMotion===undefined){anim.reduceMotion=animation.reduceMotion;}});animation.animationIndex=findNextNonReducedMotionAnimationIndex(0);if(previousAnimation===undefined){previousAnimation=animations[animations.length-1];}const currentAnimation=animations[animation.animationIndex];
23currentAnimation.onStart(currentAnimation,value,now,previousAnimation);}return{isHigherOrder:true,onFrame:sequence,onStart:onStart,animationIndex:0,current:animations[0].current,callback:callback,reduceMotion:getReduceMotionForAnimation(reduceMotion)};};reactNativeReanimated_sequenceJs2.__closure={_animations:_animations,getReduceMotionForAnimation:getReduceMotionForAnimation,reduceMotion:reduceMotion};reactNativeReanimated_sequenceJs2.__workletHash=15981014552812;reactNativeReanimated_sequenceJs2.__initData=_worklet_15981014552812_init_data;return reactNativeReanimated_sequenceJs2;}({_worklet_15981014552812_init_data:_worklet_15981014552812_init_data,_animations:_animations,getReduceMotionForAnimation:getReduceMotionForAnimation,reduceMotion:reduceMotion}));})"},logger:u,defineAnimation:ea,_worklet_7526469274077_init_data:{code:"(function reactNativeReanimated_sequenceJs1(){const{getReduceMotionForAnimation,reduceMotion}=this.__closure;return{onStart:function(animation,value){return animation.current=value;},onFrame:function(){return true;},current:0,animationIndex:0,reduceMotion:getReduceMotionForAnimation(reduceMotion)};})"},getReduceMotionForAnimation:Ji,_worklet_15981014552812_init_data:{code:"(function reactNativeReanimated_sequenceJs2(){const{_animations,getReduceMotionForAnimation,reduceMotion}=this.__closure;const animations=_animations.map(function(a){const result=typeof a==='function'?a():a;result.finished=false;return result;});function findNextNonReducedMotionAnimationIndex(index){while(index<animations.length-1&&animations[index].reduceMotion){if(typeof animations[index].callback==='function'){var _animations$index$cal,_animations$index;(_animations$index$cal=(_animations$index=animations[index]).callback)===null||_animations$index$cal===void 0||_animations$index$cal.call(_animations$index,true);}index++;}return index;}const callback=function(finished){if(finished){return;}animations.forEach(function(animation){if(typeof animation.callback==='function'&&!animation.finished){animation.callback(finished);}});};function sequence(animation,now){const currentAnim=animations[animation.animationIndex];const finished=currentAnim.onFrame(currentAnim,now);animation.current=currentAnim.current;if(finished){if(currentAnim.callback){currentAnim.callback(true);}currentAnim.finished=true;animation.animationIndex=findNextNonReducedMotionAnimationIndex(animation.animationIndex+1);if(animation.animationIndex<animations.length){const nextAnim=animations[animation.animationIndex];nextAnim.onStart(nextAnim,currentAnim.current,now,currentAnim);return false;}return true;}return false;}function onStart(animation,value,now,previousAnimation){animations.forEach(function(anim){if(anim.reduceMotion===undefined){anim.reduceMotion=animation.reduceMotion;}});animation.animationIndex=findNextNonReducedMotionAnimationIndex(0);if(previousAnimation===undefined){previousAnimation=animations[animations.length-1];}const currentAnimation=animations[animation.animationIndex];currentAnimation.onStart(currentAnimation,value,now,previousAnimation);}
23return{isHigherOrder:true,onFrame:sequence,onStart:onStart,animationIndex:0,current:animations[0].current,callback:callback,reduceMotion:getReduceMotionForAnimation(reduceMotion)};})"}}),da={damping:10,mass:1,stiffness:100},pa={duration:1333,dampingRatio:.5},fa={damping:90,mass:4,stiffness:900},ha={duration:550,dampingRatio:.75},ma={damping:120,mass:4,stiffness:900},ga={duration:550,dampingRatio:1},ya={damping:110,mass:4,stiffness:900,overshootClamping:!0},va={duration:550,dampingRatio:.92,overshootClamping:!0},ba=function({_worklet_11445106866358_init_data:e,logger:t}){const n=function(e){let n="";return["stiffness","damping","dampingRatio","mass","energyThreshold"].forEach(t=>{const r=e[t];r<=0&&(n+=`, ${t} must be grater than zero but got ${r}`)}),e.duration<0&&(n+=`, duration can't be negative, got ${e.duration}`),e.clamp?.min&&e.clamp?.max&&e.clamp.min>e.clamp.max&&(n+=`, clamp.min should be lower than clamp.max, got clamp: {min: ${e.clamp.min}, max: ${e.clamp.max}} `),""!==n&&t.warn("Invalid spring config"+n),""===n};return n.__closure={logger:t},n.__workletHash=0xa68c58778b6,n.__initData=e,n}({_worklet_11445106866358_init_data:{code:"(function checkIfConfigIsValid_reactNativeReanimated_springUtilsJs1(config){const{logger}=this.__closure;var _config$clamp,_config$clamp2;let errorMessage='';['stiffness','damping','dampingRatio','mass','energyThreshold'].forEach(function(prop){const value=config[prop];if(value<=0){errorMessage+=\", \"+prop+\" must be grater than zero but got \"+value;}});if(config.duration<0){errorMessage+=\", duration can't be negative, got \"+config.duration;}if((_config$clamp=config.clamp)!==null&&_config$clamp!==void 0&&_config$clamp.min&&(_config$clamp2=config.clamp)!==null&&_config$clamp2!==void 0&&_config$clamp2.max&&config.clamp.min>config.clamp.max){errorMessage+=\", clamp.min should be lower than clamp.max, got clamp: {min: \"+config.clamp.min+\", max: \"+config.clamp.max+\"} \";}if(errorMessage!==''){logger.warn('Invalid spring config'+errorMessage);}return errorMessage==='';})"},logger:u}),_a=function({_worklet_3627750924805_init_data:e}){const t=function(e,t){if(!t)return e;const n=Object.fromEntries(Object.entries(t).filter(([,e])=>void 0!==e));return Object.assign({},e,n)};return t.__closure={},t.__workletHash=3627750924805,t.__initData=e,t}({_worklet_3627750924805_init_data:{code:"(function safeMergeConfigs_reactNativeReanimated_springUtilsJs2(defaults,userConfig){if(!userConfig){return defaults;}const filtered=Object.fromEntries(Object.entries(userConfig).filter(function([,v]){return v!==undefined;}));return{...defaults,...filtered};})"}}),wa=function({_worklet_9306432645997_init_data:e}){const t=function({min:e,max:t,func:n,precision:r,maxIterations:i=20}){const a=n(t)>=n(e)?1:-1;let o=i,s=(t+e)/2;for(;Math.abs(n(s))>r&&o>0;)o-=1,n(s)*a<0?e=s:t=s,s=(e+t)/2;return s};return t.__closure={},t.__workletHash=9306432645997,t.__initData=e,t}({_worklet_9306432645997_init_data:{code:"(function bisectRoot_reactNativeReanimated_springUtilsJs3({min:min,max:max,func:func,precision:precision,maxIterations=20}){const direction=func(max)>=func(min)?1:-1;let idx=maxIterations;let current=(max+min)/2;while(Math.abs(func(current))>precision&&idx>0){idx-=1;if(func(current)*direction<0){min=current;}else{max=current;}current=(min+max)/2;}return current;})"}}),ka=function({_worklet_91568661242_init_data:e}){const t=function(e=0,t){if(t.skipAnimation)return{zeta:0,omega0:0,omega1:0};if(t.useDuration){const{mass:n,dampingRatio:r}=t,i=Math.sqrt(e/n);return{zeta:r,omega0:i,omega1:r<1?i*Math.sqrt(1-r**2):0}}{const{damping:e,mass:n,stiffness:r}=t,i=e/(2*Math.sqrt(r*n)),a=Math.sqrt(r/n);return{zeta:i,omega0:a,omega1:i<1?a*Math.sqrt(1-i**2):0}}};return t.__closure={},t.__workletHash=91568661242,t.__initData=e,t}({_worklet_91568661242_init_data:{code:"(function initialCalculations_reactNativeReanimated_springUtilsJs4(stiffness=0,config){if(config.skipAnimation){return{zeta:0,omega0:0,omega1:0};}if(config.useDuration){const{mass:m,dampingRatio:zeta}=config;const omega0=Math.sqrt(stiffness/m);const omega1=zeta<1?omega0*Math.sqrt(1-zeta**2):0;return{zeta:zeta,omega0:omega0,omega1:omega1};}else{const{damping:c,mass:m,stiffness:k}=config;const zeta=c/(2*Math.sqrt(k*m));const omega0=Math.sqrt(k/m);const omega1=zeta<1?omega0*Math.sqrt(1-zeta**2):0;return{zeta:zeta,omega0:omega0,omega1:omega1};}})"}}),Sa=function({_worklet_9984871020964_init_data:e}){const t=function(e,t){const{zeta:n,toValue:r,startValue:i}=e,a=Number(r);
23if(0===i)return n;const[o,s]=i<=0?[t.min,t.max]:[t.max,t.min],l=void 0!==s?Math.abs((s-a)/i):void 0,c=void 0!==o?Math.abs((o-a)/i):void 0,u=[void 0!==l?Math.abs(Math.log(l)/Math.PI):void 0,void 0!==c?Math.abs(Math.log(c)/(2*Math.PI)):void 0].filter(e=>void 0!==e);return Math.max(...u,n)};return t.__closure={},t.__workletHash=9984871020964,t.__initData=e,t}({_worklet_9984871020964_init_data:{code:"(function scaleZetaToMatchClamps_reactNativeReanimated_springUtilsJs5(animation,clamp){const{zeta:zeta,toValue:toValue,startValue:startValue}=animation;const toValueNum=Number(toValue);if(startValue===0){return zeta;}const[firstBound,secondBound]=startValue<=0?[clamp.min,clamp.max]:[clamp.max,clamp.min];const relativeExtremum1=secondBound!==undefined?Math.abs((secondBound-toValueNum)/startValue):undefined;const relativeExtremum2=firstBound!==undefined?Math.abs((firstBound-toValueNum)/startValue):undefined;const newZeta1=relativeExtremum1!==undefined?Math.abs(Math.log(relativeExtremum1)/Math.PI):undefined;const newZeta2=relativeExtremum2!==undefined?Math.abs(Math.log(relativeExtremum2)/(2*Math.PI)):undefined;const zetaSatisfyingClamp=[newZeta1,newZeta2].filter(function(x){return x!==undefined;});return Math.max(...zetaSatisfyingClamp,zeta);})"}}),xa=function({_worklet_16031101298880_init_data:e}){const t=function(e,t,n,r){return.5*n*e**2+.5*r*t**2};return t.__closure={},t.__workletHash=0xe94881928c0,t.__initData=e,t}({_worklet_16031101298880_init_data:{code:"(function getEnergy_reactNativeReanimated_springUtilsJs6(displacement,velocity,stiffness,mass){const potentialEnergy=0.5*stiffness*displacement**2;const kineticEnergy=0.5*mass*velocity**2;return potentialEnergy+kineticEnergy;})"}}),Ca=function({_worklet_2425471850048_init_data:e,_worklet_2868686911945_init_data:t,getEnergy:n,bisectRoot:r}){const i=function(e,i,a){if(i.skipAnimation)return 0;const{dampingRatio:o,energyThreshold:s,mass:l,duration:c}=i,u=function({_worklet_2868686911945_init_data:e,targetDuration:t,m:n,zeta:r,x0:i,v0:a,getEnergy:o,threshold:s}){const l=function(e){const l=1.5*t/1e3,c=Math.sqrt(e/n)*r,u=(i+(a+i*c)*l)*Math.exp(-c*l),d=(i+(a+i*c)*l)*Math.exp(-c*l)*-c+(a+i*c)*Math.exp(-c*l),p=o(i,a,e,n);return o(u,d,e,n)/p-s};return l.__closure={targetDuration:t,m:n,zeta:r,x0:i,v0:a,getEnergy:o,threshold:s},l.__workletHash=2868686911945,l.__initData=e,l}({_worklet_2868686911945_init_data:t,targetDuration:c,m:l,zeta:o,x0:e,v0:a,getEnergy:n,threshold:s}),d=.001*i.energyThreshold;return r({min:Number.EPSILON,max:8e3,func:u,precision:d,maxIterations:100})};return i.__closure={_worklet_2868686911945_init_data:t,getEnergy:n,bisectRoot:r},i.__workletHash=2425471850048,i.__initData=e,i}({_worklet_2425471850048_init_data:{code:"(function calculateNewStiffnessToMatchDuration_reactNativeReanimated_springUtilsJs8(x0,config,v0){const{_worklet_2868686911945_init_data,getEnergy,bisectRoot}=this.__closure;if(config.skipAnimation){return 0;}const{dampingRatio:zeta,energyThreshold:threshold,mass:m,duration:targetDuration}=config;const energyDiffForStiffness=function calculateNewStiffnessToMatchDuration_reactNativeReanimated_springUtilsJs8({_worklet_2868686911945_init_data:_worklet_2868686911945_init_data,targetDuration:targetDuration,m:m,zeta:zeta,x0:x0,v0:v0,getEnergy:getEnergy,threshold:threshold}){const reactNativeReanimated_springUtilsJs7=function(stiffness){const perceptualCoefficient=1.5;const MILLISECONDS_IN_SECOND=1000;const settlingDuration=targetDuration*perceptualCoefficient/MILLISECONDS_IN_SECOND;const omega0=Math.sqrt(stiffness/m)*zeta;const xtk=(x0+(v0+x0*omega0)*settlingDuration)*Math.exp(-omega0*settlingDuration);const vtk=(x0+(v0+x0*omega0)*settlingDuration)*Math.exp(-omega0*settlingDuration)*-omega0+(v0+x0*omega0)*Math.exp(-omega0*settlingDuration);const e0=getEnergy(x0,v0,stiffness,m);const etk=getEnergy(xtk,vtk,stiffness,m);const energyFraction=etk/e0;return energyFraction-threshold;};reactNativeReanimated_springUtilsJs7.__closure={targetDuration:targetDuration,m:m,zeta:zeta,x0:x0,v0:v0,getEnergy:getEnergy,threshold:threshold};reactNativeReanimated_springUtilsJs7.__workletHash=2868686911945;reactNativeReanimated_springUtilsJs7.__initData=_worklet_2868686911945_init_data;return reactNativeReanimated_springUtilsJs7;}({_worklet_2868686911945_init_data:_worklet_2868686911945_init_data,targetDuration:targetDuration,m:m,zeta:zeta,x0:x0,v0:v0,getEnergy:getEnergy,threshold:threshold});const precision=config.energyThreshold*1e-3;return bisectRoot({min:Number.EPSILON,max:8e3,func:energyDiffForStiffness,precision:precision,maxIterations:100});})"},_worklet_2868686911945_init_data:{code:"(function reactNativeReanimated_springUtilsJs7(stiffness){const{targetDuration,m,zeta,x0,v0,getEnergy,threshold}=this.__closure;const perceptualCoefficient=1.5;const MILLISECONDS_IN_SECOND=1000;const settlingDuration=targetDuration*perceptualCoefficient/MILLISECONDS_IN_SECOND;const omega0=Math.sqrt(stiffness/m)*zeta;const xtk=(x0+(v0+x0*omega0)*settlingDuration)*Math.exp(-omega0*settlingDuration);const vtk=(x0+(v0+x0*omega0)*settlingDuration)*Math.exp(-omega0*settlingDuration)*-omega0+(v0+x0*omega0)*M
23ath.exp(-omega0*settlingDuration);const e0=getEnergy(x0,v0,stiffness,m);const etk=getEnergy(xtk,vtk,stiffness,m);const energyFraction=etk/e0;return energyFraction-threshold;})"},getEnergy:xa,bisectRoot:wa}),Ea=function({_worklet_8090573484398_init_data:e}){const t=function(e,t){const{toValue:n}=e,{v0:r,x0:i,omega0:a,t:o}=t,s=Math.exp(-a*o);return{position:n+s*(i+(r+a*i)*o),velocity:s*-a*(i+(r+a*i)*o)+s*(r+a*i)}};return t.__closure={},t.__workletHash=8090573484398,t.__initData=e,t}({_worklet_8090573484398_init_data:{code:"(function criticallyDampedSpringCalculations_reactNativeReanimated_springUtilsJs9(animation,precalculatedValues){const{toValue:toValue}=animation;const{v0:v0,x0:x0,omega0:omega0,t:t}=precalculatedValues;const criticallyDampedEnvelope=Math.exp(-omega0*t);const criticallyDampedPosition=toValue+criticallyDampedEnvelope*(x0+(v0+omega0*x0)*t);const criticallyDampedVelocity=criticallyDampedEnvelope*-omega0*(x0+(v0+omega0*x0)*t)+criticallyDampedEnvelope*(v0+omega0*x0);return{position:criticallyDampedPosition,velocity:criticallyDampedVelocity};})"}}),Aa=function({_worklet_7881035352857_init_data:e}){const t=function(e,t){const{toValue:n}=e,{zeta:r,t:i,omega0:a,omega1:o,x0:s,v0:l}=t,c=Math.sin(o*i),u=Math.cos(o*i),d=Math.exp(-r*a*i),p=d*(c*((l+r*a*s)/o)+s*u);return{position:n+p,velocity:-r*a*p+d*(u*(l+r*a*s)-o*s*c)}};return t.__closure={},t.__workletHash=7881035352857,t.__initData=e,t}({_worklet_7881035352857_init_data:{code:"(function underDampedSpringCalculations_reactNativeReanimated_springUtilsJs10(animation,precalculatedValues){const{toValue:toValue}=animation;const{zeta:zeta,t:t,omega0:omega0,omega1:omega1,x0:x0,v0:v0}=precalculatedValues;const sin1=Math.sin(omega1*t);const cos1=Math.cos(omega1*t);const underDampedEnvelope=Math.exp(-zeta*omega0*t);const underDampedFrag1=underDampedEnvelope*(sin1*((v0+zeta*omega0*x0)/omega1)+x0*cos1);const underDampedPosition=toValue+underDampedFrag1;const underDampedVelocity=-zeta*omega0*underDampedFrag1+underDampedEnvelope*(cos1*(v0+zeta*omega0*x0)-omega1*x0*sin1);return{position:underDampedPosition,velocity:underDampedVelocity};})"}}),Ta=function({_worklet_2244670242151_init_data:e,getEnergy:t}){const n=function(e,n){const{toValue:r,velocity:i,startValue:a,current:o,initialEnergy:s}=e;if(n.overshootClamping){const e=a>=0?r:r+a,t=e+Math.abs(a);if(o<e||o>t)return!0}const l=t(r-o,i,n.stiffness,n.mass);return 0===s||l/s<=n.energyThreshold};return n.__closure={getEnergy:t},n.__workletHash=2244670242151,n.__initData=e,n}({_worklet_2244670242151_init_data:{code:"(function isAnimationTerminatingCalculation_reactNativeReanimated_springUtilsJs11(animation,config){const{getEnergy}=this.__closure;const{toValue:toValue,velocity:velocity,startValue:startValue,current:current,initialEnergy:initialEnergy}=animation;if(config.overshootClamping){const leftBound=startValue>=0?toValue:toValue+startValue;const rightBound=leftBound+Math.abs(startValue);if(current<leftBound||current>rightBound){return true;}}const currentEnergy=getEnergy(toValue-current,velocity,config.stiffness,config.mass);return initialEnergy===0||currentEnergy/initialEnergy<=config.energyThreshold;})"},getEnergy:xa}),Ia=function({_worklet_1956575111056_init_data:e,defineAnimation:t,_worklet_6019530297279_init_data:n,GentleSpringConfig:r,GentleSpringConfigWithDuration:i,safeMergeConfigs:a,checkIfConfigIsValid:o,underDampedSpringCalculations:s,criticallyDampedSpringCalculations:l,isAnimationTerminatingCalculation:c,calculateNewStiffnessToMatchDuration:u,initialCalculations:d,scaleZetaToMatchClamps:p,getEnergy:f,getReduceMotionForAnimation:h}){const m=function(e,m,g){return t(e,function({_worklet_6019530297279_init_data:e,GentleSpringConfig:t,GentleSpringConfigWithDuration:n,safeMergeConfigs:r,userConfig:i,checkIfConfigIsValid:a,underDampedSpringCalculations:o,criticallyDampedSpringCalculations:s,isAnimationTerminatingCalculation:l,calculateNewStiffnessToMatchDuration:c,initialCalculations:u,scaleZetaToMatchClamps:d,getEnergy:p,toValue:f,callback:h,getReduceMotionForAnimation:m}){const g=function(){const e=Object.assign({},t,n,{overshootClamping:!1,energyThreshold:6e-9,velocity:0,reduceMotion:void 0,clamp:void 0}),g=r(Object.assign({},e,{useDuration:!(!i?.duration&&!i?.dampingRatio),skipAnimation:!1}),i);
23return g.skipAnimation=!a(g),0===g.duration&&(g.skipAnimation=!0),{onFrame:function(e,t){const{toValue:n,current:r}=e;if(g.skipAnimation)return e.current=n,e.lastTimestamp=0,!0;const{lastTimestamp:i,velocity:a}=e,c=Math.min(Math.max(t-i,0),64);e.lastTimestamp=t;const u=c/1e3,d=a,p=r-n,{zeta:f,omega0:h,omega1:m}=e,{position:y,velocity:v}=f<1?o(e,{zeta:f,v0:d,x0:p,omega0:h,omega1:m,t:u}):s(e,{v0:d,x0:p,omega0:h,t:u});return e.current=y,e.velocity=v,!!l(e,g)&&(e.velocity=0,e.current=n,e.lastTimestamp=0,!0)},onStart:function(e,t,n,r){e.current=t;let i=g.stiffness;const a=function(e,t){return e?.lastTimestamp&&e?.startTimestamp&&e?.toValue===t.toValue&&e?.duration===t.duration&&e?.dampingRatio===t.dampingRatio}(r,e),o=g.duration,s=a?r?.startValue:t-e.toValue;e.startValue=s,e.velocity=r?(a?r?.velocity:r?.velocity+g.velocity)||0:g.velocity||0;const l=Number(e.toValue);if((l>t&&e.velocity<0||l<t&&e.velocity>0)&&(e.velocity=0),a)e.zeta=r?.zeta||0,e.omega0=r?.omega0||0,e.omega1=r?.omega1||0;else{if(g.useDuration){const t=a?o-((r?.lastTimestamp||0)-(r?.startTimestamp||0)):o;g.duration=t,i=c(s,g,e.velocity),g.stiffness=i}const{zeta:t,omega0:n,omega1:l}=u(i,g);e.zeta=t,e.omega0=n,e.omega1=l,void 0!==g.clamp&&(e.zeta=d(e,g.clamp))}const f=p(s,g.velocity,g.stiffness,g.mass);e.initialEnergy=f,e.lastTimestamp=r?.lastTimestamp||n,e.startTimestamp=a&&r?.startTimestamp||n},toValue:f,velocity:g.velocity||0,current:f,startValue:0,callback:h,lastTimestamp:0,startTimestamp:0,zeta:0,omega0:0,omega1:0,initialEnergy:0,reduceMotion:m(g.reduceMotion)}};return g.__closure={GentleSpringConfig:t,GentleSpringConfigWithDuration:n,safeMergeConfigs:r,userConfig:i,checkIfConfigIsValid:a,underDampedSpringCalculations:o,criticallyDampedSpringCalculations:s,isAnimationTerminatingCalculation:l,calculateNewStiffnessToMatchDuration:c,initialCalculations:u,scaleZetaToMatchClamps:d,getEnergy:p,toValue:f,callback:h,getReduceMotionForAnimation:m},g.__workletHash=6019530297279,g.__initData=e,g}({_worklet_6019530297279_init_data:n,GentleSpringConfig:r,GentleSpringConfigWithDuration:i,safeMergeConfigs:a,userConfig:m,checkIfConfigIsValid:o,underDampedSpringCalculations:s,criticallyDampedSpringCalculations:l,isAnimationTerminatingCalculation:c,calculateNewStiffnessToMatchDuration:u,initialCalculations:d,scaleZetaToMatchClamps:p,getEnergy:f,toValue:e,callback:g,getReduceMotionForAnimation:h}))};return m.__closure={defineAnimation:t,_worklet_6019530297279_init_data:n,GentleSpringConfig:r,GentleSpringConfigWithDuration:i,safeMergeConfigs:a,checkIfConfigIsValid:o,underDampedSpringCalculations:s,criticallyDampedSpringCalculations:l,isAnimationTerminatingCalculation:c,calculateNewStiffnessToMatchDuration:u,initialCalculations:d,scaleZetaToMatchClamps:p,getEnergy:f,getReduceMotionForAnimation:h},m.__workletHash=1956575111056,m.__initData=e,m}({_worklet_1956575111056_init_data:{code:"(function reactNativeReanimated_springJs2(toValue,userConfig,callback){const{defineAnimation,_worklet_6019530297279_init_data,GentleSpringConfig,GentleSpringConfigWithDuration,safeMergeConfigs,checkIfConfigIsValid,underDampedSpringCalculations,criticallyDampedSpringCalculations,isAnimationTerminatingCalculation,calculateNewStiffnessToMatchDuration,initialCalculations,scaleZetaToMatchClamps,getEnergy,getReduceMotionForAnimation}=this.__closure;return defineAnimation(toValue,function reactNativeReanimated_springJs1Factory({_worklet_6019530297279_init_data:_worklet_6019530297279_init_data,GentleSpringConfig:GentleSpringConfig,GentleSpringConfigWithDuration:GentleSpringConfigWithDuration,safeMergeConfigs:safeMergeConfigs,userConfig:userConfig,checkIfConfigIsValid:checkIfConfigIsValid,underDampedSpringCalculations:underDampedSpringCalculations,criticallyDampedSpringCalculations:criticallyDampedSpringCalculations,isAnimationTerminatingCalculation:isAnimationTerminatingCalculation,calculateNewStiffnessToMatchDuration:calculateNewStiffnessToMatchDuration,initialCalculations:initialCalculations,scaleZetaToMatchClamps:scaleZetaToMatchClamps,getEnergy:getEnergy,toValue:toValue,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation}){const reactNativeReanimated_springJs1=function(){const defaultConfig={...GentleSpringConfig,...GentleSpringConfigWithDuration,overshootClamping:false,energyThreshold:6e-9,velocity:0,reduceMotion:undefined,clamp:undefined};const config=safeMergeConfigs({...defaultConfig,useDuration:!!(userConfig!==null&&userConfig!==void 0&&userConfig.duration||userConfig!==null&&userConfig!==void 0&&userConfig.dampingRatio),skipAnimation:false},userConfig);config.skipAnimation=!checkIfConfigIsValid(config);if(config.duration===0){config.skipAnimation=true;}function springOnFrame(animation,now){const{toValue:toValue,current:current}=animation;if(config.skipAnimation){animation.current=toValue;animation.lastTimestamp=0;return true;}const{lastTimestamp:lastTimestamp,velocity:velocity}=animation;
23const deltaTime=Math.min(Math.max(now-lastTimestamp,0),64);animation.lastTimestamp=now;const t=deltaTime/1000;const v0=velocity;const x0=current-toValue;const{zeta:zeta,omega0:omega0,omega1:omega1}=animation;const{position:newPosition,velocity:newVelocity}=zeta<1?underDampedSpringCalculations(animation,{zeta:zeta,v0:v0,x0:x0,omega0:omega0,omega1:omega1,t:t}):criticallyDampedSpringCalculations(animation,{v0:v0,x0:x0,omega0:omega0,t:t});animation.current=newPosition;animation.velocity=newVelocity;if(isAnimationTerminatingCalculation(animation,config)){animation.velocity=0;animation.current=toValue;animation.lastTimestamp=0;return true;}return false;}function isTriggeredTwice(previousAnimation,animation){return(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.toValue)===animation.toValue&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.duration)===animation.duration&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.dampingRatio)===animation.dampingRatio;}function onStart(animation,value,now,previousAnimation){animation.current=value;let stiffness=config.stiffness;const triggeredTwice=isTriggeredTwice(previousAnimation,animation);const duration=config.duration;const x0=triggeredTwice?previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startValue:value-animation.toValue;animation.startValue=x0;if(previousAnimation){animation.velocity=(triggeredTwice?previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.velocity:(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.velocity)+config.velocity)||0;}else{animation.velocity=config.velocity||0;}const toValueNum=Number(animation.toValue);if(toValueNum>value&&animation.velocity<0||toValueNum<value&&animation.velocity>0){animation.velocity=0;}if(triggeredTwice){animation.zeta=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.zeta)||0;animation.omega0=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.omega0)||0;animation.omega1=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.omega1)||0;}else{if(config.useDuration){const actualDuration=triggeredTwice?duration-(((previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)||0)-((previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)||0)):duration;config.duration=actualDuration;stiffness=calculateNewStiffnessToMatchDuration(x0,config,animation.velocity);config.stiffness=stiffness;}const{zeta:zeta,omega0:omega0,omega1:omega1}=initialCalculations(stiffness,config);animation.zeta=zeta;animation.omega0=omega0;animation.omega1=omega1;if(config.clamp!==undefined){animation.zeta=scaleZetaToMatchClamps(animation,config.clamp);}}const initialEnergy=getEnergy(x0,config.velocity,config.stiffness,config.mass);animation.initialEnergy=initialEnergy;animation.lastTimestamp=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)||now;animation.startTimestamp=triggeredTwice?(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)||now:now;}return{onFrame:springOnFrame,onStart:onStart,toValue:toValue,velocity:config.velocity||0,current:toValue,startValue:0,callback:callback,lastTimestamp:0,startTimestamp:0,zeta:0,omega0:0,omega1:0,initialEnergy:0,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};};reactNativeReanimated_springJs1.__closure={GentleSpringConfig:GentleSpringConfig,GentleSpringConfigWithDuration:GentleSpringConfigWithDuration,safeMergeConfigs:safeMergeConfigs,userConfig:userConfig,checkIfConfigIsValid:checkIfConfigIsValid,underDampedSpringCalculations:underDampedSpringCalculations,criticallyDampedSpringCalculations:criticallyDampedSpringCalculations,isAnimationTerminatingCalculation:isAnimationTerminatingCalculation,calculateNewStiffnessToMatchDuration:calculateNewStiffnessToMatchDuration,initialCalculations:initialCalculations,scaleZetaToMatchClamps:scaleZetaToMatchClamps,getEnergy:getEnergy,toValue:toValue,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation};reactNativeReanimated_springJs1.__workletHash=6019530297279;reactNativeReanimated_springJs1.__initData=_worklet_6019530297279_init_data;return reactNativeReanimated_springJs1;}({_worklet_6019530297279_init_data:_worklet_6019530297279_init_data,GentleSpringConfig:GentleSpringConfig,GentleSpringConfigWithDuration:GentleSpringConfigWithDuration,safeMergeConfigs:safeMergeConfigs,userConfig:userConfig,checkIfConfigIsValid:checkIfConfigIsValid,underDampedSpringCalculations:underDampedSpringCalculations,criticallyDampedSpringCalculations:criticallyDampedSpringCalculations,isAnimationTerminatingCalculation:isAnimationTerminatingCalculation,calculateNewStiffnessToMatchDuration:calculateNewStiffnessToMatchDuration,initialCalculations:initialCalculations,scaleZetaToMatchClamps:scaleZetaToMatchClamps,getEnergy:getEnergy,toValue:toValue,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation}));})"},defineAnimation:ea,_worklet_6019530297279_init_data:{code:"(function reactNativeReanimated_springJs1(){const{GentleSpringConfig,GentleSpringConfigWithDuration,safeMergeConfigs,userConfig,checkIfConfigIsValid,underDampedSpringCalculations,criticallyDampedSpringCalculations,isAnimationTerminatingCalculation,calculateNewStiffnessToMatchDuration,initialCalculations,scaleZetaToMatchClamps,getEnergy,toValue,callback,getReduceMotionForAnimation}=this.__closure;var _userConfig,_userConfig2;const defaultConfig={...GentleSpringConfig,...GentleSpringConfigWithDuration,overshootClamping:false,energyThreshold:6e-9,velocity:0,reduceMotion:undefined,clamp:undefined};const config=safeMergeConfigs({...defaultConfig,useDuration:!!((_userConfig=userConfig)!==null&&_userConfig!==void 0&&_userConfig.duration||(_userConfig2=userConfig)!==null&&_userConfig2!==void 0&&_userConfig2.dampingRatio),skipAnimation:false},userConfig);config.skipAnimation=!checkIfConfigIsValid(config);if(config.duration===0){config.skipAnimation=true;}function springOnFrame(animation,now){const{toValue:toValue,current:current}=animation;if(config.skipAnimation){animation.current=toValue;animation.lastTimestamp=0;return true;}const{lastTimestamp:lastTimestamp,velocity:velocity}=animation;
23const deltaTime=Math.min(Math.max(now-lastTimestamp,0),64);animation.lastTimestamp=now;const t=deltaTime/1000;const v0=velocity;const x0=current-toValue;const{zeta:zeta,omega0:omega0,omega1:omega1}=animation;const{position:newPosition,velocity:newVelocity}=zeta<1?underDampedSpringCalculations(animation,{zeta:zeta,v0:v0,x0:x0,omega0:omega0,omega1:omega1,t:t}):criticallyDampedSpringCalculations(animation,{v0:v0,x0:x0,omega0:omega0,t:t});animation.current=newPosition;animation.velocity=newVelocity;if(isAnimationTerminatingCalculation(animation,config)){animation.velocity=0;animation.current=toValue;animation.lastTimestamp=0;return true;}return false;}function isTriggeredTwice(previousAnimation,animation){return(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.toValue)===animation.toValue&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.duration)===animation.duration&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.dampingRatio)===animation.dampingRatio;}function onStart(animation,value,now,previousAnimation){animation.current=value;let stiffness=config.stiffness;const triggeredTwice=isTriggeredTwice(previousAnimation,animation);const duration=config.duration;const x0=triggeredTwice?previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startValue:value-animation.toValue;animation.startValue=x0;if(previousAnimation){animation.velocity=(triggeredTwice?previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.velocity:(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.velocity)+config.velocity)||0;}else{animation.velocity=config.velocity||0;}const toValueNum=Number(animation.toValue);if(toValueNum>value&&animation.velocity<0||toValueNum<value&&animation.velocity>0){animation.velocity=0;}if(triggeredTwice){animation.zeta=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.zeta)||0;animation.omega0=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.omega0)||0;animation.omega1=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.omega1)||0;}else{if(config.useDuration){const actualDuration=triggeredTwice?duration-(((previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)||0)-((previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)||0)):duration;config.duration=actualDuration;stiffness=calculateNewStiffnessToMatchDuration(x0,config,animation.velocity);config.stiffness=stiffness;}const{zeta:zeta,omega0:omega0,omega1:omega1}=initialCalculations(stiffness,config);animation.zeta=zeta;animation.omega0=omega0;animation.omega1=omega1;if(config.clamp!==undefined){animation.zeta=scaleZetaToMatchClamps(animation,config.clamp);}}const initialEnergy=getEnergy(x0,config.velocity,config.stiffness,config.mass);animation.initialEnergy=initialEnergy;animation.lastTimestamp=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)||now;animation.startTimestamp=triggeredTwice?(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)||now:now;}return{onFrame:springOnFrame,onStart:onStart,toValue:toValue,velocity:config.velocity||0,current:toValue,startValue:0,callback:callback,lastTimestamp:0,startTimestamp:0,zeta:0,omega0:0,omega1:0,initialEnergy:0,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};})"},GentleSpringConfig:ma,GentleSpringConfigWithDuration:ga,safeMergeConfigs:_a,checkIfConfigIsValid:ba,underDampedSpringCalculations:Aa,criticallyDampedSpringCalculations:Ea,isAnimationTerminatingCalculation:Ta,calculateNewStiffnessToMatchDuration:Ca,initialCalculations:ka,scaleZetaToMatchClamps:Sa,getEnergy:xa,getReduceMotionForAnimation:Ji}),Ra=function({_worklet_3135468936757_init_data:e}){const t=function(e,t){return 1-3*t+3*e};return t.__closure={},t.__workletHash=3135468936757,t.__initData=e,t}({_worklet_3135468936757_init_data:{code:"(function A_reactNativeReanimated_BezierJs1(aA1,aA2){return 1.0-3.0*aA2+3.0*aA1;})"}}),Oa=function({_worklet_11940171980884_init_data:e}){const t=function(e,t){return 3*t-6*e};return t.__closure={},t.__workletHash=0xadc09b5a054,t.__initData=e,t}({_worklet_11940171980884_init_data:{code:"(function B_reactNativeReanimated_BezierJs2(aA1,aA2){return 3.0*aA2-6.0*aA1;})"}}),Da=function({_worklet_16748042063991_init_data:e}){const t=function(e){return 3*e};return t.__closure={},t.__workletHash=0xf3b75191077,t.__initData=e,t}({_worklet_16748042063991_init_data:{code:"(function C_reactNativeReanimated_BezierJs3(aA1){return 3.0*aA1;})"}}),Na=function({_worklet_836249611359_init_data:e,A:t,B:n,C:r}){const i=function(e,i,a){return((t(i,a)*e+n(i,a))*e+r(i))*e};return i.__closure={A:t,B:n,C:r},i.__workletHash=836249611359,i.__initData=e,i}({_worklet_836249611359_init_data:{code:"(function calcBezier_reactNativeReanimated_BezierJs4(aT,aA1,aA2){const{A,B,C}=this.__closure;return((A(aA1,aA2)*aT+B(aA1,aA2))*aT+C(aA1))*aT;})"},A:Ra,B:Oa,C:Da}),ja=function({_worklet_17487040534082_init_data:e,A:t,B:n,C:r}){const i=function(e,i,a){return 3*t(i,a)*e*e+2*n(i,a)*e+r(i)};return i.__closure={A:t,B:n,C:r},i.__workletHash=0xfe784d6d642,i.__initData=e,i}({_worklet_17487040534082_init_data:{code:"(function getSlope_reactNativeReanimated_BezierJs5(aT,aA1,aA2){const{A,B,C}=this.__closure;return 3.0*A(aA1,aA2)*aT*aT+2.0*B(aA1,aA2)*aT+C(aA1);})"},A:Ra,B:Oa,C:Da}),Fa=function({_worklet_17274048435286_init_data:e,calcBezier:t,SUBDIVISION_PRECISION:n,SUBDIVISION_MAX_ITERATIONS:r}){const i=function(e,i,a,o,s){let l,c,u=0;do{c=i+(a-i)/2,l=t(c,o,s)-e,l>0?a=c:i=c}while(Math.abs(l)>n&&++u<r);return c};return i.__closure={calcBezier:t,SUBDIVISION_PRECISION:n,SUBDIVISION_MAX_ITERATIONS:r},i.__workletHash=0xfb5ed855456,i.__initData=e,i}({_worklet_17274048435286_init_data:{code:"(function binarySubdivide_reactNativeReanimated_BezierJs6(aX,aA,aB,mX1,mX2){const{calcBezier,SUBDIVISION_PRECISION,SUBDIVISION_MAX_ITERATIONS}=this.__closure;let currentX;let currentT;let i=0;do{currentT=aA+(aB-aA)/2.0;currentX=calcBezier(currentT,mX1,mX2)-aX;if(currentX>0.0){aB=currentT;}else{aA=currentT;}}while(Math.abs(currentX)>SUBDIVISION_PRECISION&&++i<SUBDIVISION_MAX_ITERATIONS);return currentT;})"},calcBezier:Na,SUBDIVISION_PRECISION:1e-7,SUBDIVISION_MAX_ITERATIONS:10}
23),Ma=function({_worklet_1372038345432_init_data:e,NEWTON_ITERATIONS:t,getSlope:n,calcBezier:r}){const i=function(e,i,a,o){for(let s=0;s<t;++s){const t=n(i,a,o);if(0===t)return i;i-=(r(i,a,o)-e)/t}return i};return i.__closure={NEWTON_ITERATIONS:t,getSlope:n,calcBezier:r},i.__workletHash=1372038345432,i.__initData=e,i}({_worklet_1372038345432_init_data:{code:"(function newtonRaphsonIterate_reactNativeReanimated_BezierJs7(aX,aGuessT,mX1,mX2){const{NEWTON_ITERATIONS,getSlope,calcBezier}=this.__closure;for(let i=0;i<NEWTON_ITERATIONS;++i){const currentSlope=getSlope(aGuessT,mX1,mX2);if(currentSlope===0.0){return aGuessT;}const currentX=calcBezier(aGuessT,mX1,mX2)-aX;aGuessT-=currentX/currentSlope;}return aGuessT;})"},NEWTON_ITERATIONS:4,getSlope:ja,calcBezier:Na}),Va=function({_worklet_5587829496184_init_data:e,_worklet_7612677295634_init_data:t,kSplineTableSize:n,calcBezier:r,kSampleStepSize:i,_worklet_14138622422634_init_data:a,getSlope:o,NEWTON_MIN_SLOPE:s,newtonRaphsonIterate:l,binarySubdivide:c,_worklet_3417259547623_init_data:u}){const d=function(e,d,p,f){const h=function({_worklet_7612677295634_init_data:e}){const t=function(e){return e};return t.__closure={},t.__workletHash=7612677295634,t.__initData=e,t}({_worklet_7612677295634_init_data:t});if(!(e>=0&&e<=1&&p>=0&&p<=1))throw new Error("[Reanimated] Bezier x values must be in [0, 1] range.");if(e===d&&p===f)return h;const m=new Array(n);for(let t=0;t<n;++t)m[t]=r(t*i,e,p);const g=function({_worklet_14138622422634_init_data:e,kSplineTableSize:t,sampleValues:n,kSampleStepSize:r,getSlope:i,mX1:a,mX2:o,NEWTON_MIN_SLOPE:s,newtonRaphsonIterate:l,binarySubdivide:c}){const u=function(e){let u=0,d=1;const p=t-1;for(;d!==p&&n[d]<=e;++d)u+=r;--d;const f=u+(e-n[d])/(n[d+1]-n[d])*r,h=i(f,a,o);return h>=s?l(e,f,a,o):0===h?f:c(e,u,u+r,a,o)};return u.__closure={kSplineTableSize:t,sampleValues:n,kSampleStepSize:r,getSlope:i,mX1:a,mX2:o,NEWTON_MIN_SLOPE:s,newtonRaphsonIterate:l,binarySubdivide:c},u.__workletHash=0xcdbe7912e6a,u.__initData=e,u}({_worklet_14138622422634_init_data:a,kSplineTableSize:n,sampleValues:m,kSampleStepSize:i,getSlope:o,mX1:e,mX2:p,NEWTON_MIN_SLOPE:s,newtonRaphsonIterate:l,binarySubdivide:c});return function({_worklet_3417259547623_init_data:e,mX1:t,mY1:n,mX2:r,mY2:i,calcBezier:a,getTForX:o}){const s=function(e){return t===n&&r===i?e:0===e?0:1===e?1:a(o(e),n,i)};return s.__closure={mX1:t,mY1:n,mX2:r,mY2:i,calcBezier:a,getTForX:o},s.__workletHash=3417259547623,s.__initData=e,s}({_worklet_3417259547623_init_data:u,mX1:e,mY1:d,mX2:p,mY2:f,calcBezier:r,getTForX:g})};return d.__closure={_worklet_7612677295634_init_data:t,kSplineTableSize:n,calcBezier:r,kSampleStepSize:i,_worklet_14138622422634_init_data:a,getSlope:o,NEWTON_MIN_SLOPE:s,newtonRaphsonIterate:l,binarySubdivide:c,_worklet_3417259547623_init_data:u},d.__workletHash=5587829496184,d.__initData=e,d}({_worklet_5587829496184_init_data:{code:"(function Bezier_reactNativeReanimated_BezierJs11(mX1,mY1,mX2,mY2){const{_worklet_7612677295634_init_data,kSplineTableSize,calcBezier,kSampleStepSize,_worklet_14138622422634_init_data,getSlope,NEWTON_MIN_SLOPE,newtonRaphsonIterate,binarySubdivide,_worklet_3417259547623_init_data}=this.__closure;const LinearEasing=function Bezier_reactNativeReanimated_BezierJs11({_worklet_7612677295634_init_data:_worklet_7612677295634_init_data}){const LinearEasing=function(x){return x;};LinearEasing.__closure={};LinearEasing.__workletHash=7612677295634;LinearEasing.__initData=_worklet_7612677295634_init_data;return LinearEasing;}({_worklet_7612677295634_init_data:_worklet_7612677295634_init_data});if(!(mX1>=0&&mX1<=1&&mX2>=0&&mX2<=1)){throw new Error('[Reanimated] Bezier x values must be in [0, 1] range.');}if(mX1===mY1&&mX2===mY2){return LinearEasing;}const sampleValues=new Array(kSplineTableSize);for(let i=0;i<kSplineTableSize;++i){sampleValues[i]=calcBezier(i*kSampleStepSize,mX1,mX2);}const getTForX=function getTForX_reactNativeReanimated_BezierJs9Factory({_worklet_14138622422634_init_data:_worklet_14138622422634_init_data,kSplineTableSize:kSplineTableSize,sampleValues:sampleValues,kSampleStepSize:kSampleStepSize,getSlope:getSlope,mX1:mX1,mX2:mX2,NEWTON_MIN_SLOPE:NEWTON_MIN_SLOPE,newtonRaphsonIterate:newtonRaphsonIterate,binarySubdivide:binarySubdivide}){const getTForX=function(aX){let intervalStart=0.0;let currentSample=1;const lastSample=kSplineTableSize-1;for(;currentSample!==lastSample&&sampleValues[currentSample]<=aX;++currentSample){intervalStart+=kSampleStepSize;}--currentSample;const dist=(aX-sampleValues[currentSample])/(sampleValues[currentSample+1]-sampleValues[currentSample]);const guessForT=intervalStart+dist*kSampleStepSize;const initialSlope=getSlope(guessForT,mX1,mX2);if(initialSlope>=NEWTON_MIN_SLOPE){return newtonRaphsonIterate(aX,guessForT,mX1,mX2);}else if(initialSlope===0.0){return guessForT;}else{return binarySubdivide(aX,intervalStart,intervalStart+kSampleStepSize,mX1,mX2);}};getTForX.__closure={kSplineTableSize:kSplineTableSize,sampleValues:sampleValues,kSampleStepSize:kSampleStepSize,getSlope:getSlope,mX1:mX1,mX2:mX2,NEWTON_MIN_SLOPE:NEWTON_MIN_SLOPE,newtonRaphsonIterate:newtonRaphsonIterate,binarySubdivide:binarySubdivide};getTForX.__workletHash=14138622422634;getTForX.__initData=_worklet_14138622422634_init_data;return getTForX;}({_worklet_14138622422634_init_data:_worklet_14138622422634_init_data,kSplineTableSize:kSplineTableSize,sampleValues:sampleValues,kSampleStepSize:kSampleStepSize,getSlope:getSlope,mX1:mX1,mX2:mX2,NEWTON_MIN_SLOPE:NEWTON_MIN_SLOPE,newtonRaphsonIterate:newtonRaphsonIterate,binarySubdivide:binarySubdivide});return function BezierEasing_reactNativeReanimated_BezierJs10Factory({_worklet_3417259547623_init_data:_worklet_3417259547623_init_data,mX1:mX1,mY1:mY1,mX2:mX2,mY2:mY2,calcBezier:calcBezier,getTForX:getTForX}){const BezierEasing=function(x){if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);};BezierEasing.__closure={mX1:mX1,mY1:mY1,mX2:mX2,mY2:mY2,calcBezier:calcBezier,getTForX:getTForX};BezierEasing.__workletHash=3417259547623;BezierEasing.__initData=_worklet_3417259547623_init_data;return BezierEasing;}({_worklet_3417259547623_init_data:_worklet_3417259547623_init_data,mX1:mX1,mY1:mY1,mX2:mX2,mY2:mY2,calcBezier:calcBezier,getTForX:getTForX});})"},_worklet_7612677295634_init_data:{code:"(function LinearEasing_reactNativeReanimated_BezierJs8(x){return x;})"},kSplineTableSize:11,calcBezier:Na,kSampleStepSize:.1,_worklet_14138622422634_init_data:{code:"(function getTForX_reactNativeReanimated_BezierJs9(aX){const{kSplineTableSize,sampleValues,kSampleStepSize,getSlope,mX1,mX2,NEWTON_MIN_SLOPE,newtonRaphsonIterate,binarySubdivide}=this.__closure;let intervalStart=0.0;let currentSample=1;const lastSample=kSplineTableSize-1;for(;currentSample!==lastSample&&sampleValues[currentSample]<=aX;++currentSample){intervalStart+=kSampleStepSize;}--currentSample;const dist=(aX-sampleValues[currentSample])/(sampleValues[currentSample+1]-sampleValues[currentSample]);const guessForT=intervalStart+dist*kSampleStepSize;const initialSlope=getSlope(guessForT,mX1,mX2);if(initialSlope>=NEWTON_MIN_SLOPE){return newtonRaphsonIterate(aX,guessForT,mX1,mX2);}else if(initialSlope===0.0){return guessForT;}else{return binarySubdivide(aX,intervalStart,intervalStart+kSampleStepSize,mX1,mX2);}})"},getSlope:ja,NEWTON_MIN_SLOPE:.001,newtonRaphsonIterate:Ma,binarySubdivide:Fa,_worklet_3417259547623_init_data:{code:"(function BezierEasing_reactNativeReanimated_BezierJs10(x){const{mX1,mY1,mX2,mY2,calcBezier,getTForX}=this.__closure;if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);})"}}),Pa=function({_worklet_17243902145528_init_data:e}){const t=function(e){return e};return t.__closure={},t.__workletHash=0xfaee8a973f8,t.__initData=e,t}({_worklet_17243902145528_init_data:{code:"(function linear_reactNativeReanimated_EasingJs1(t){return t;})"}}),La=function({_worklet_2934720290892_init_data:e,Bezier:t}){const n=function(e){return t(.42,0,1,1)(e)};return n.__closure={Bezier:t},n.__workletHash=2934720290892,n.__initData=e,n}({_worklet_2934720290892_init_data:{code:"(function ease_reactNativeReanimated_EasingJs2(t){const{Bezier}=this.__closure;return Bezier(0.42,0,1,1)(t);})"},Bezier:Va}),Ba=function({_worklet_10612981668888_init_data:e}){const t=function(e){return e*e};return t.__closure={},t.__workletHash=0x9a707009c18,t.__initData=e,t}({_worklet_10612981668888_init_data:{code:"(function quad_reactNativeReanimated_EasingJs3(t){return t*t;})"}}),Ha=function({_worklet_10830200084926_init_data:e}){const t=function(e){return e*e*e};return t.__closure={},t.__workletHash=0x9d99a3a99be,t.__initData=e,t}({_worklet_10830200084926_init_data:{code:"(function cubic_reactNativeReanimated_EasingJs4(t){return t*t*t;})"}}),Wa=function({_worklet_8277848392569_init_data:e,_worklet_16212264213849_init_data:t}){const n=function(e){return function({_worklet_16212264213849_init_data:e,n:t}){const n=function(e){return Math.pow(e,t)};return n.__closure={n:t},n.__workletHash=0xebeb63fdd59,n.__initData=e,n}({_worklet_16212264213849_init_data:t,n:e})};return n.__closure={_worklet_16212264213849_init_data:t},n.__workletHash=8277848392569,n.__initData=e,n}({_worklet_8277848392569_init_data:{code:"(function poly_reactNativeReanimated_EasingJs6(n){const{_worklet_16212264213849_init_data}=this.__closure;return function poly_reactNativeReanimated_EasingJs6({_worklet_16212264213849_init_data:_worklet_16212264213849_init_data,n:n}){const reactNativeReanimated_EasingJs5=function(t){return Math.pow(t,n);};reactNativeReanimated_EasingJs5.__closure={n:n};reactNativeReanimated_EasingJs5.__workletHash=16212264213849;reactNativeReanimated_EasingJs5.__initData=_worklet_16212264213849_init_data;return reactNativeReanimated_EasingJs5;}({_worklet_16212264213849_init_data:_worklet_16212264213849_init_data,n:n});})"},_worklet_16212264213849_init_data:{code:"(function reactNativeReanimated_EasingJs5(t){const{n}=this.__closure;return Math.pow(t,n);})"}}),za=function({_worklet_4685211256539_init_data:e}){const t=function(e){return 1-Math.cos(e*Math.PI/2)};return t.__closure={},t.__workletHash=4685211256539,t.__initData=e,t}({_worklet_4685211256539_init_data:{code:"(function sin_reactNativeReanimated_EasingJs7(t){return 1-Math.cos(t*Math.PI/2);})"}}),Ya=function({_worklet_12621046329467_init_data:e}){const t=function(e){return 1-Math.sqrt(1-e*e)};return t.__closure={},t.__workletHash=0xb7a90fbb07b,t.__initData=e,t}({_worklet_12621046329467_init_data:{code:"(function circle_reactNativeReanimated_EasingJs8(t){return 1-Math.sqrt(1-t*t);})"}}),Ua=function({_worklet_1065403060831_init_data:e}){const t=function(e){return Math.pow(2,10*(e-1))};return t.__closure={},t.__workletHash=0xf80ef8925f,t.__initData=e,t}({_worklet_1065403060831_init_data:{code:"(function exp_reactNativeReanimated_EasingJs9(t){return Math.pow(2,10*(t-1));})"}}),Xa=function({_worklet_10907364341_init_data:e,_worklet_5856990899206_init_data:t}){const n=function(e=1){const n=e*Math.PI;return function({_worklet_5856990899206_init_data:e,p:t}){const n=function(e){return 1-Math.pow(Math.cos(e*Math.PI/2),3)*
23Math.cos(e*t)};return n.__closure={p:t},n.__workletHash=5856990899206,n.__initData=e,n}({_worklet_5856990899206_init_data:t,p:n})};return n.__closure={_worklet_5856990899206_init_data:t},n.__workletHash=10907364341,n.__initData=e,n}({_worklet_10907364341_init_data:{code:"(function elastic_reactNativeReanimated_EasingJs11(bounciness=1){const{_worklet_5856990899206_init_data}=this.__closure;const p=bounciness*Math.PI;return function elastic_reactNativeReanimated_EasingJs11({_worklet_5856990899206_init_data:_worklet_5856990899206_init_data,p:p}){const reactNativeReanimated_EasingJs10=function(t){return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);};reactNativeReanimated_EasingJs10.__closure={p:p};reactNativeReanimated_EasingJs10.__workletHash=5856990899206;reactNativeReanimated_EasingJs10.__initData=_worklet_5856990899206_init_data;return reactNativeReanimated_EasingJs10;}({_worklet_5856990899206_init_data:_worklet_5856990899206_init_data,p:p});})"},_worklet_5856990899206_init_data:{code:"(function reactNativeReanimated_EasingJs10(t){const{p}=this.__closure;return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);})"}}),Ga=function({_worklet_5175133574584_init_data:e,_worklet_4048881289626_init_data:t}){const n=function(e=1.70158){return function({_worklet_4048881289626_init_data:e,s:t}){const n=function(e){return e*e*((t+1)*e-t)};return n.__closure={s:t},n.__workletHash=4048881289626,n.__initData=e,n}({_worklet_4048881289626_init_data:t,s:e})};return n.__closure={_worklet_4048881289626_init_data:t},n.__workletHash=5175133574584,n.__initData=e,n}({_worklet_5175133574584_init_data:{code:"(function back_reactNativeReanimated_EasingJs13(s=1.70158){const{_worklet_4048881289626_init_data}=this.__closure;return function back_reactNativeReanimated_EasingJs13({_worklet_4048881289626_init_data:_worklet_4048881289626_init_data,s:s}){const reactNativeReanimated_EasingJs12=function(t){return t*t*((s+1)*t-s);};reactNativeReanimated_EasingJs12.__closure={s:s};reactNativeReanimated_EasingJs12.__workletHash=4048881289626;reactNativeReanimated_EasingJs12.__initData=_worklet_4048881289626_init_data;return reactNativeReanimated_EasingJs12;}({_worklet_4048881289626_init_data:_worklet_4048881289626_init_data,s:s});})"},_worklet_4048881289626_init_data:{code:"(function reactNativeReanimated_EasingJs12(t){const{s}=this.__closure;return t*t*((s+1)*t-s);})"}}),qa=function({_worklet_5548992011285_init_data:e}){const t=function(e){if(e<1/2.75)return 7.5625*e*e;if(e<2/2.75){const t=e-1.5/2.75;return 7.5625*t*t+.75}if(e<2.5/2.75){const t=e-2.25/2.75;return 7.5625*t*t+.9375}const t=e-2.625/2.75;return 7.5625*t*t+.984375};return t.__closure={},t.__workletHash=5548992011285,t.__initData=e,t}({_worklet_5548992011285_init_data:{code:"(function bounce_reactNativeReanimated_EasingJs14(t){if(t<1/2.75){return 7.5625*t*t;}if(t<2/2.75){const t2=t-1.5/2.75;return 7.5625*t2*t2+0.75;}if(t<2.5/2.75){const t2=t-2.25/2.75;return 7.5625*t2*t2+0.9375;}const t2=t-2.625/2.75;return 7.5625*t2*t2+0.984375;})"}}),Ja=function({_worklet_10545645706140_init_data:e,_worklet_10011497640734_init_data:t,Bezier:n}){const r=function(e,r,i,a){return{factory:function({_worklet_10011497640734_init_data:e,Bezier:t,x1:n,y1:r,x2:i,y2:a}){const o=function(){return t(n,r,i,a)};return o.__closure={Bezier:t,x1:n,y1:r,x2:i,y2:a},o.__workletHash=0x91afbc2b31e,o.__initData=e,o}({_worklet_10011497640734_init_data:t,Bezier:n,x1:e,y1:r,x2:i,y2:a})}};return r.__closure={_worklet_10011497640734_init_data:t,Bezier:n},r.__workletHash=0x99759775b9c,r.__initData=e,r}({_worklet_10545645706140_init_data:{code:"(function bezier_reactNativeReanimated_EasingJs16(x1,y1,x2,y2){const{_worklet_10011497640734_init_data,Bezier}=this.__closure;return{factory:function bezier_reactNativeReanimated_EasingJs16({_worklet_10011497640734_init_data:_worklet_10011497640734_init_data,Bezier:Bezier,x1:x1,y1:y1,x2:x2,y2:y2}){const reactNativeReanimated_EasingJs15=function(){return Bezier(x1,y1,x2,y2);};reactNativeReanimated_EasingJs15.__closure={Bezier:Bezier,x1:x1,y1:y1,x2:x2,y2:y2};reactNativeReanimated_EasingJs15.__workletHash=10011497640734;reactNativeReanimated_EasingJs15.__initData=_worklet_10011497640734_init_data;return reactNativeReanimated_EasingJs15;}({_worklet_10011497640734_init_data:_worklet_10011497640734_init_data,Bezier:Bezier,x1:x1,y1:y1,x2:x2,y2:y2})};})"},_worklet_10011497640734_init_data:{code:"(function reactNativeReanimated_EasingJs15(){const{Bezier,x1,y1,x2,y2}=this.__closure;return Bezier(x1,y1,x2,y2);})"},Bezier:Va}),$a=function({_worklet_10547384309924_init_data:e,Bezier:t}){const n=function(e,n,r,i){return t(e,n,r,i)};return n.__closure={Bezier:t},n.__workletHash=0x997c11858a4,n.__initData=e,n}({_worklet_10547384309924_init_data:{code:"(function bezierFn_reactNativeReanimated_EasingJs17(x1,y1,x2,y2){const{Bezier}=this.__closure;return Bezier(x1,y1,x2,y2);})"},Bezier:Va}),Ka=function({_worklet_5088113967621_init_data:e}){const t=function(e){return e};return t.__closure={},t.__workletHash=5088113967621,t.__initData=e,t}({_worklet_5088113967621_init_data:{code:"(function in__reactNativeReanimated_EasingJs18(easing){return easing;})"}}),Za=function({_worklet_1389788846329_init_data:e,_worklet_14165277959774_init_data:t}){const n=function(e){return function({_worklet_14165277959774_init_data:e,easing:t}){const n=function(e){return 1-t(1-e)};return n.__closure={easing:t},n.__workletHash=0xce21c5c665e,n.__initData=e,n}({_worklet_14165277959774_init_data:t,easing:e})};return n.__closure={_worklet_14165277959774_init_data:t},n.__workletHash=1389788846329,n.__initData=e,n}({_worklet_1389788846329_init_data:{code:"(function out_reactNativeReanimated_EasingJs20(easing){const{_worklet_14165277959774_init_data}=this.__closure;return function out_reactNativeReanimated_EasingJs20({_worklet_14165277959774_init_data:_worklet_14165277959774_init_data,easing:easing}){const reactNativeReanimated_EasingJs19=function(t){return 1-easing(1-t);};reactNativeReanimated_EasingJs19.__closure={easing:easing};reactNativeReanimated_EasingJs19.__workletHash=14165277959774;reactNativeReanimated_EasingJs19.__initData=_worklet_14165277959774_init_data;return reactNativeReanimated_EasingJs19;}({_worklet_14165277959774_init_data:_worklet_14165277959774_init_data,easing:easing});})"},_worklet_14165277959774_init_data:{code:"(function reactNativeReanimated_EasingJs19(t){const{easing}=this.__closure;return 1-easing(1-t);})"}}),Qa=function({_worklet_17233748545312_init_data:e,_worklet_15062890753708_init_data:t}){const n=function(e){return function({_worklet_15062890753708_init_data:e,easing:t}){const n=function(e){return e<.5?t(2*e)/2:1-t(2*(1-e))/2};return n.__closure={easing:t}
23,n.__workletHash=0xdb31a40aeac,n.__initData=e,n}({_worklet_15062890753708_init_data:t,easing:e})};return n.__closure={_worklet_15062890753708_init_data:t},n.__workletHash=0xfac8b75cf20,n.__initData=e,n}({_worklet_17233748545312_init_data:{code:"(function inOut_reactNativeReanimated_EasingJs22(easing){const{_worklet_15062890753708_init_data}=this.__closure;return function inOut_reactNativeReanimated_EasingJs22({_worklet_15062890753708_init_data:_worklet_15062890753708_init_data,easing:easing}){const reactNativeReanimated_EasingJs21=function(t){if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;};reactNativeReanimated_EasingJs21.__closure={easing:easing};reactNativeReanimated_EasingJs21.__workletHash=15062890753708;reactNativeReanimated_EasingJs21.__initData=_worklet_15062890753708_init_data;return reactNativeReanimated_EasingJs21;}({_worklet_15062890753708_init_data:_worklet_15062890753708_init_data,easing:easing});})"},_worklet_15062890753708_init_data:{code:"(function reactNativeReanimated_EasingJs21(t){const{easing}=this.__closure;if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;})"}}),eo=function({_worklet_16182522057669_init_data:e,_worklet_16281017136837_init_data:t}){const n=function(e=10,n=!0){return function({_worklet_16281017136837_init_data:e,n:t,roundToNextStep:n}){const r=function(e){const r=Math.min(Math.max(e,0),1)*t;return n?Math.ceil(r)/t:Math.floor(r)/t};return r.__closure={n:t,roundToNextStep:n},r.__workletHash=0xeceb83e36c5,r.__initData=e,r}({_worklet_16281017136837_init_data:t,n:e,roundToNextStep:n})};return n.__closure={_worklet_16281017136837_init_data:t},n.__workletHash=0xeb7c97a93c5,n.__initData=e,n}({_worklet_16182522057669_init_data:{code:"(function steps_reactNativeReanimated_EasingJs24(n=10,roundToNextStep=true){const{_worklet_16281017136837_init_data}=this.__closure;return function steps_reactNativeReanimated_EasingJs24({_worklet_16281017136837_init_data:_worklet_16281017136837_init_data,n:n,roundToNextStep:roundToNextStep}){const reactNativeReanimated_EasingJs23=function(t){const value=Math.min(Math.max(t,0),1)*n;if(roundToNextStep){return Math.ceil(value)/n;}return Math.floor(value)/n;};reactNativeReanimated_EasingJs23.__closure={n:n,roundToNextStep:roundToNextStep};reactNativeReanimated_EasingJs23.__workletHash=16281017136837;reactNativeReanimated_EasingJs23.__initData=_worklet_16281017136837_init_data;return reactNativeReanimated_EasingJs23;}({_worklet_16281017136837_init_data:_worklet_16281017136837_init_data,n:n,roundToNextStep:roundToNextStep});})"},_worklet_16281017136837_init_data:{code:"(function reactNativeReanimated_EasingJs23(t){const{n,roundToNextStep}=this.__closure;const value=Math.min(Math.max(t,0),1)*n;if(roundToNextStep){return Math.ceil(value)/n;}return Math.floor(value)/n;})"}}),to={linear:Pa,ease:La,quad:Ba,cubic:Ha,poly:Wa,sin:za,circle:Ya,exp:Ua,elastic:Xa,back:Ga,bounce:qa,bezier:Ja,bezierFn:$a,steps:eo,in:Ka,out:Za,inOut:Qa},no=Symbol("easingName");for(const[Mh,Vh]of Object.entries(to))Object.defineProperty(Vh,no,{value:Mh,configurable:!1,enumerable:!1,writable:!1});const ro=to,io=function({_worklet_16328699336942_init_data:e,__DEV__:t,assertEasingIsWorklet:n,defineAnimation:r,_worklet_9799201338585_init_data:i,Easing:a,getReduceMotionForAnimation:o}){const s=function(e,s,l){return t&&s?.easing&&n(s.easing),r(e,function({_worklet_9799201338585_init_data:e,Easing:t,userConfig:n,toValue:r,callback:i,getReduceMotionForAnimation:a}){const o=function(){const e={duration:300,easing:t.inOut(t.quad)};return n&&Object.keys(n).forEach(t=>e[t]=n[t]),{type:"timing",onFrame:function(t,n){const{toValue:r,startTime:i,startValue:a}=t,o=n-i;if(o>=e.duration)return t.startTime=0,t.current=r,!0;const s=t.easing(o/e.duration);return t.current=a+(r-a)*s,!1},onStart:function(t,n,i,a){a&&"timing"===a.type&&a.toValue===r&&a.startTime?(t.startTime=a.startTime,t.startValue=a.startValue):(t.startTime=i,t.startValue=n),t.current=n,"object"===typeof e.easing?t.easing=e.easing.factory():t.easing=e.easing},progress:0,toValue:r,startValue:0,startTime:0,easing:()=>0,current:r,callback:i,reduceMotion:a(n?.reduceMotion)}};return o.__closure={Easing:t,userConfig:n,toValue:r,callback:i,getReduceMotionForAnimation:a},o.__workletHash=9799201338585,o.__initData=e,o}({_worklet_9799201338585_init_data:i,Easing:a,userConfig:s,toValue:e,callback:l,getReduceMotionForAnimation:o}))};return s.__closure={__DEV__:t,assertEasingIsWorklet:n,defineAnimation:r,_worklet_9799201338585_init_data:i,Easing:a,getReduceMotionForAnimation:o}
23,s.__workletHash=0xed9d252d8ee,s.__initData=e,s}({_worklet_16328699336942_init_data:{code:"(function reactNativeReanimated_timingJs2(toValue,userConfig,callback){const{__DEV__,assertEasingIsWorklet,defineAnimation,_worklet_9799201338585_init_data,Easing,getReduceMotionForAnimation}=this.__closure;if(__DEV__&&userConfig!==null&&userConfig!==void 0&&userConfig.easing){assertEasingIsWorklet(userConfig.easing);}return defineAnimation(toValue,function reactNativeReanimated_timingJs1Factory({_worklet_9799201338585_init_data:_worklet_9799201338585_init_data,Easing:Easing,userConfig:userConfig,toValue:toValue,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation}){const reactNativeReanimated_timingJs1=function(){const config={duration:300,easing:Easing.inOut(Easing.quad)};if(userConfig){Object.keys(userConfig).forEach(function(key){return(config[key]=userConfig[key]);});}function timing(animation,now){const{toValue:toValue,startTime:startTime,startValue:startValue}=animation;const runtime=now-startTime;if(runtime>=config.duration){animation.startTime=0;animation.current=toValue;return true;}const progress=animation.easing(runtime/config.duration);animation.current=startValue+(toValue-startValue)*progress;return false;}function onStart(animation,value,now,previousAnimation){if(previousAnimation&&previousAnimation.type==='timing'&&previousAnimation.toValue===toValue&&previousAnimation.startTime){animation.startTime=previousAnimation.startTime;animation.startValue=previousAnimation.startValue;}else{animation.startTime=now;animation.startValue=value;}animation.current=value;if(typeof config.easing==='object'){animation.easing=config.easing.factory();}else{animation.easing=config.easing;}}return{type:'timing',onFrame:timing,onStart:onStart,progress:0,toValue:toValue,startValue:0,startTime:0,easing:function(){return 0;},current:toValue,callback:callback,reduceMotion:getReduceMotionForAnimation(userConfig===null||userConfig===void 0?void 0:userConfig.reduceMotion)};};reactNativeReanimated_timingJs1.__closure={Easing:Easing,userConfig:userConfig,toValue:toValue,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation};reactNativeReanimated_timingJs1.__workletHash=9799201338585;reactNativeReanimated_timingJs1.__initData=_worklet_9799201338585_init_data;return reactNativeReanimated_timingJs1;}({_worklet_9799201338585_init_data:_worklet_9799201338585_init_data,Easing:Easing,userConfig:userConfig,toValue:toValue,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation}));})"},__DEV__:!1,assertEasingIsWorklet:Qi,defineAnimation:ea,_worklet_9799201338585_init_data:{code:"(function reactNativeReanimated_timingJs1(){const{Easing,userConfig,toValue,callback,getReduceMotionForAnimation}=this.__closure;var _userConfig;const config={duration:300,easing:Easing.inOut(Easing.quad)};if(userConfig){Object.keys(userConfig).forEach(function(key){return(config[key]=userConfig[key]);});}function timing(animation,now){const{toValue:toValue,startTime:startTime,startValue:startValue}=animation;const runtime=now-startTime;if(runtime>=config.duration){animation.startTime=0;animation.current=toValue;return true;}const progress=animation.easing(runtime/config.duration);animation.current=startValue+(toValue-startValue)*progress;return false;}function onStart(animation,value,now,previousAnimation){if(previousAnimation&&previousAnimation.type==='timing'&&previousAnimation.toValue===toValue&&previousAnimation.startTime){animation.startTime=previousAnimation.startTime;animation.startValue=previousAnimation.startValue;}else{animation.startTime=now;animation.startValue=value;}animation.current=value;if(typeof config.easing==='object'){animation.easing=config.easing.factory();}else{animation.easing=config.easing;}}return{type:'timing',onFrame:timing,onStart:onStart,progress:0,toValue:toValue,startValue:0,startTime:0,easing:function(){return 0;},current:toValue,callback:callback,reduceMotion:getReduceMotionForAnimation((_userConfig=userConfig)===null||_userConfig===void 0?void 0:_userConfig.reduceMotion)};})"},Easing:ro,getReduceMotionForAnimation:Ji}),ao=function({_worklet_305682511291_init_data:e}){const t=function(e,t){return(Array.isArray(t)?t:[t]).reduce((e,t)=>
23Array.isArray(e)&&"number"===typeof t||null!==e&&"object"===typeof e&&t in e?e[t]:void 0,e)};return t.__closure={},t.__workletHash=305682511291,t.__initData=e,t}({_worklet_305682511291_init_data:{code:"(function resolvePath_reactNativeReanimated_styleAnimationJs1(obj,path){const keys=Array.isArray(path)?path:[path];return keys.reduce(function(acc,current){if(Array.isArray(acc)&&typeof current==='number'){return acc[current];}else if(acc!==null&&typeof acc==='object'&&current in acc){return acc[current];}return undefined;},obj);})"}}),oo=function({_worklet_11430342298856_init_data:e}){const t=function(e,t,n){const r=Array.isArray(t)?t:[t];let i=e;for(let a=0;a<r.length-1;a++)r[a]in i||("number"===typeof r[a+1]?i[r[a]]=[]:i[r[a]]={}),i=i[r[a]];i[r[r.length-1]]=n};return t.__closure={},t.__workletHash=0xa65557e0ce8,t.__initData=e,t}({_worklet_11430342298856_init_data:{code:"(function setPath_reactNativeReanimated_styleAnimationJs2(obj,path,value){const keys=Array.isArray(path)?path:[path];let currObj=obj;for(let i=0;i<keys.length-1;i++){currObj=currObj;if(!(keys[i]in currObj)){if(typeof keys[i+1]==='number'){currObj[keys[i]]=[];}else{currObj[keys[i]]={};}}currObj=currObj[keys[i]];}currObj[keys[keys.length-1]]=value;})"}}),so=(function({_worklet_15748653498987_init_data:e,defineAnimation:t,_worklet_9582870258250_init_data:n,ColorProperties:r,setPath:i,processColor:a,resolvePath:o,__DEV__:s,logger:l,isValidLayoutAnimationProp:c,withTiming:u}){const d=function(e,d){return t({},function({_worklet_9582870258250_init_data:e,ColorProperties:t,setPath:n,processColor:r,styleAnimations:i,resolvePath:a,__DEV__:o,logger:s,isValidLayoutAnimationProp:l,withTiming:c,callback:u}){const d=function(){return{isHigherOrder:!0,onFrame:(e,i)=>{let a=!1;const o=[{value:e.styleAnimations,path:[]}];for(;o.length>0;){const s=o.pop();if(Array.isArray(s.value))for(let e=0;e<s.value.length;e++)o.push({value:s.value[e],path:s.path.concat(e)});else if("object"===typeof s.value&&void 0===s.value.onFrame)for(const e of Object.keys(s.value))o.push({value:s.value[e],path:s.path.concat(e)});else{const o=s.value;if(o.finished)continue;o.onFrame(o,i)?(o.finished=!0,o.callback&&o.callback(!0)):a=!0;const l=t.includes(s.path[0])||"boxShadow"===s.path[0]&&s.path.length>2&&"color"===s.path[2];n(e.current,s.path,l?r(o.current):o.current)}}return!a},onStart:(e,t,r,u)=>{const d=[{value:i,path:[]}];for(;d.length>0;){const i=d.pop();if(Array.isArray(i.value))for(let e=0;e<i.value.length;e++)d.push({value:i.value[e],path:i.path.concat(e)});else if("object"===typeof i.value&&void 0===i.value.onStart)for(const e of Object.keys(i.value))d.push({value:i.value[e],path:i.path.concat(e)});else{const d=a(u?.styleAnimations,i.path);let p,f=a(t,i.path);if(d&&!f&&(f=d.current),o){void 0===f&&s.warn(`Initial values for animation are missing for property ${i.path.join(".")}`);const e=i.path[0];"string"!==typeof e||l(e.trim())||s.warn(`'${e}' property is not officially supported for layout animations. It may not work as expected.`)}n(e.current,i.path,f),"object"===typeof i.value&&i.value.onStart?p=i.value:(p=c(i.value,{duration:0}),n(e.styleAnimations,i.path,p)),p.onStart(p,f,r,d)}}},current:{},styleAnimations:i,callback:e=>{if(!e){const e=[i];for(;e.length>0;){const t=e.pop();if(Array.isArray(t))for(const n of t)e.push(n);else if("object"===typeof t&&void 0===t.onStart)for(const n of Object.values(t))e.push(n);else{const e=t;!e.finished&&e.callback&&e.callback(!1)}}}u?.(e)}}};return d.__closure={ColorProperties:t,setPath:n,processColor:r,styleAnimations:i,resolvePath:a,__DEV__:o,logger:s,isValidLayoutAnimationProp:l,withTiming:c,callback:u},d.__workletHash=9582870258250,d.__initData=e,d}({_worklet_9582870258250_init_data:n,ColorProperties:r,setPath:i,processColor:a,styleAnimations:e,resolvePath:o,__DEV__:s,logger:l,isValidLayoutAnimationProp:c,withTiming:u,callback:d}))};d.__closure={defineAnimation:t,_worklet_9582870258250_init_data:n,ColorProperties:r,setPath:i,processColor:a,resolvePath:o,__DEV__:s,logger:l,isValidLayoutAnimationProp:c,withTiming:u},d.__workletHash=0xe52c4e5c26b,d.__initData=e}({_worklet_15748653498987_init_data:{code:"(function withStyleAnimation_reactNativeReanimated_styleAnimationJs4(styleAnimations,callback){const{defineAnimation,_worklet_9582870258250_init_data,ColorProperties,setPath,processColor,resolvePath,__DEV__,logger,isValidLayoutAnimationProp,withTiming}=this.__closure;return defineAnimation({},function withStyleAnimation_reactNativeReanimated_styleAnimationJs4({_worklet_9582870258250_init_data:_worklet_9582870258250_init_data,ColorProperties:ColorProperties,setPath:setPath,processColor:processColor,styleAnimations:styleAnimations,resolvePath:resolvePath,__DEV__:__DEV__,logger:logger,isValidLayoutAnimationProp:isValidLayoutAnimationProp,withTiming:withTiming,callback:callback}){const reactNativeReanimated_styleAnimationJs3=function(){const onFrame=function(animation,now){let stillGoing=false;const entriesToCheck=[{value:animation.styleAnimations,path:[]}];while(entriesToCheck.length>0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;
23index<currentEntry.value.length;index++){entriesToCheck.push({value:currentEntry.value[index],path:currentEntry.path.concat(index)});}}else if(typeof currentEntry.value==='object'&&currentEntry.value.onFrame===undefined){for(const key of Object.keys(currentEntry.value)){entriesToCheck.push({value:currentEntry.value[key],path:currentEntry.path.concat(key)});}}else{const currentStyleAnimation=currentEntry.value;if(currentStyleAnimation.finished){continue;}const finished=currentStyleAnimation.onFrame(currentStyleAnimation,now);if(finished){currentStyleAnimation.finished=true;if(currentStyleAnimation.callback){currentStyleAnimation.callback(true);}}else{stillGoing=true;}const isAnimatingColorProp=ColorProperties.includes(currentEntry.path[0])||currentEntry.path[0]==='boxShadow'&&currentEntry.path.length>2&&currentEntry.path[2]==='color';setPath(animation.current,currentEntry.path,isAnimatingColorProp?processColor(currentStyleAnimation.current):currentStyleAnimation.current);}}return!stillGoing;};const onStart=function(animation,value,now,previousAnimation){const entriesToCheck=[{value:styleAnimations,path:[]}];while(entriesToCheck.length>0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index<currentEntry.value.length;index++){entriesToCheck.push({value:currentEntry.value[index],path:currentEntry.path.concat(index)});}}else if(typeof currentEntry.value==='object'&&currentEntry.value.onStart===undefined){for(const key of Object.keys(currentEntry.value)){entriesToCheck.push({value:currentEntry.value[key],path:currentEntry.path.concat(key)});}}else{const prevAnimation=resolvePath(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.styleAnimations,currentEntry.path);let prevVal=resolvePath(value,currentEntry.path);if(prevAnimation&&!prevVal){prevVal=prevAnimation.current;}if(__DEV__){if(prevVal===undefined){logger.warn(\"Initial values for animation are missing for property \"+currentEntry.path.join('.'));}const propName=currentEntry.path[0];if(typeof propName==='string'&&!isValidLayoutAnimationProp(propName.trim())){logger.warn(\"'\"+propName+\"' property is not officially supported for layout animations. It may not work as expected.\");}}setPath(animation.current,currentEntry.path,prevVal);let currentAnimation;if(typeof currentEntry.value!=='object'||!currentEntry.value.onStart){currentAnimation=withTiming(currentEntry.value,{duration:0});setPath(animation.styleAnimations,currentEntry.path,currentAnimation);}else{currentAnimation=currentEntry.value;}currentAnimation.onStart(currentAnimation,prevVal,now,prevAnimation);}}};const styleAnimationCallback=function(finished){if(!finished){const animationsToCheck=[styleAnimations];while(animationsToCheck.length>0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation==='object'&&currentAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&&currentStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}callback===null||callback===void 0||callback(finished);};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:styleAnimationCallback};};reactNativeReanimated_styleAnimationJs3.__closure={ColorProperties:ColorProperties,setPath:setPath,processColor:processColor,styleAnimations:styleAnimations,resolvePath:resolvePath,__DEV__:__DEV__,logger:logger,isValidLayoutAnimationProp:isValidLayoutAnimationProp,withTiming:withTiming,callback:callback};reactNativeReanimated_styleAnimationJs3.__workletHash=9582870258250;reactNativeReanimated_styleAnimationJs3.__initData=_worklet_9582870258250_init_data;return reactNativeReanimated_styleAnimationJs3;}({_worklet_9582870258250_init_data:_worklet_9582870258250_init_data,ColorProperties:ColorProperties,setPath:setPath,processColor:processColor,styleAnimations:styleAnimations,resolvePath:resolvePath,__DEV__:__DEV__,logger:logger,isValidLayoutAnimationProp:isValidLayoutAnimationProp,withTiming:withTiming,callback:callback}));})"},defineAnimation:ea,_worklet_9582870258250_init_data:{code:"(function reactNativeReanimated_styleAnimationJs3(){const{ColorProperties,setPath,processColor,styleAnimations,resolvePath,__DEV__,logger,isValidLayoutAnimationProp,withTiming,callback}=this.__closure;const onFrame=function(animation,now){let stillGoing=false;const entriesToCheck=[{value:animation.styleAnimations,path:[]}];while(entriesToCheck.length>0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;
23index<currentEntry.value.length;index++){entriesToCheck.push({value:currentEntry.value[index],path:currentEntry.path.concat(index)});}}else if(typeof currentEntry.value==='object'&&currentEntry.value.onFrame===undefined){for(const key of Object.keys(currentEntry.value)){entriesToCheck.push({value:currentEntry.value[key],path:currentEntry.path.concat(key)});}}else{const currentStyleAnimation=currentEntry.value;if(currentStyleAnimation.finished){continue;}const finished=currentStyleAnimation.onFrame(currentStyleAnimation,now);if(finished){currentStyleAnimation.finished=true;if(currentStyleAnimation.callback){currentStyleAnimation.callback(true);}}else{stillGoing=true;}const isAnimatingColorProp=ColorProperties.includes(currentEntry.path[0])||currentEntry.path[0]==='boxShadow'&&currentEntry.path.length>2&&currentEntry.path[2]==='color';setPath(animation.current,currentEntry.path,isAnimatingColorProp?processColor(currentStyleAnimation.current):currentStyleAnimation.current);}}return!stillGoing;};const onStart=function(animation,value,now,previousAnimation){const entriesToCheck=[{value:styleAnimations,path:[]}];while(entriesToCheck.length>0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index<currentEntry.value.length;index++){entriesToCheck.push({value:currentEntry.value[index],path:currentEntry.path.concat(index)});}}else if(typeof currentEntry.value==='object'&&currentEntry.value.onStart===undefined){for(const key of Object.keys(currentEntry.value)){entriesToCheck.push({value:currentEntry.value[key],path:currentEntry.path.concat(key)});}}else{const prevAnimation=resolvePath(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.styleAnimations,currentEntry.path);let prevVal=resolvePath(value,currentEntry.path);if(prevAnimation&&!prevVal){prevVal=prevAnimation.current;}if(__DEV__){if(prevVal===undefined){logger.warn(\"Initial values for animation are missing for property \"+currentEntry.path.join('.'));}const propName=currentEntry.path[0];if(typeof propName==='string'&&!isValidLayoutAnimationProp(propName.trim())){logger.warn(\"'\"+propName+\"' property is not officially supported for layout animations. It may not work as expected.\");}}setPath(animation.current,currentEntry.path,prevVal);let currentAnimation;if(typeof currentEntry.value!=='object'||!currentEntry.value.onStart){currentAnimation=withTiming(currentEntry.value,{duration:0});setPath(animation.styleAnimations,currentEntry.path,currentAnimation);}else{currentAnimation=currentEntry.value;}currentAnimation.onStart(currentAnimation,prevVal,now,prevAnimation);}}};const styleAnimationCallback=function(finished){var _callback;if(!finished){const animationsToCheck=[styleAnimations];while(animationsToCheck.length>0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation==='object'&&currentAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&&currentStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}(_callback=callback)===null||_callback===void 0||_callback(finished);};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:styleAnimationCallback};})"},ColorProperties:C,setPath:oo,processColor:Ee,resolvePath:ao,__DEV__:!1,logger:u,isValidLayoutAnimationProp:Yi,withTiming:io}),{code:"(function reactNativeReanimated_BaseAnimationBuilderJs1(delay,animation){const{withDelay,reduceMotion}=this.__closure;return withDelay(delay,animation,reduceMotion);})"}),lo={code:"(function reactNativeReanimated_BaseAnimationBuilderJs2(_,animation){const{getReduceMotionFromConfig,reduceMotion}=this.__closure;animation.reduceMotion=getReduceMotionFromConfig(reduceMotion);return animation;})"};class co{reduceMotionV=Fn.System;randomizeDelay=!1;build=()=>{throw new Error("[Reanimated] Unimplemented method in child class.")};static duration(e){return this.createInstance().duration(e)}duration(e){return this.durationV=e,this}static delay(e){return this.createInstance().delay(e)}delay(e){return this.delayV=e,this}static withCallback(e){return this.createInstance().withCallback(e)}withCallback(e){return this.callbackV=e,this}static reduceMotion(e){return this.createInstance().reduceMotion(e)}reduceMotion(e){return this.reduceMotionV=e,this}static getDuration(){return 300}getDuration(){return this.durationV??300}static randomDelay(){return this.createInstance().randomDelay()}randomDelay(){return this.randomizeDelay=!0,this}getDelay(){return this.randomizeDelay?Math.random()*(this.delayV??1e3):this.delayV??0}getReduceMotion(){return this.reduceMotionV}getDelayFunction(){const e=this.randomizeDelay||this.delayV,t=this.getReduceMotion();return e?function({_worklet_12354581424914_init_data:e,withDelay:t,reduceMotion:n}){const r=function(e,r){return t(e,r,n)};return r.__closure={withDelay:t,reduceMotion:n},r.__workletHash=0xb3c866feb12,r.__initData=e,r}({_worklet_12354581424914_init_data:so,withDelay:la,reduceMotion:t}):function({_worklet_12110387642862_init_data:e,getReduceMotionFromConfig:t,reduceMotion:n}){const r=function(e,r){return r.reduceMotion=t(n),r};return r.__closure={getReduceMotionFromConfig:t,reduceMotion:n},r.__workletHash=0xb03ab5a81ee,r.__initData=e,r}({_worklet_12110387642862_init_data:lo,getReduceMotionFromConfig:qi,reduceMotion:t})}static build(){return this.createInstance().build()}}class uo extends co{static easing(e){return this.createInstance().easing(e)}easing(e){return this.easingV=e,this}static rotate(e){return this.createInstance().rotate(e)}rotate(e){return this.rotateV=e,this}static springify(e){return this.createInstance().springify(e)}springify(e){return this.durationV=e,this.type=Ia,this}static dampingRatio(e){return this.createInstance().dampingRatio(e)}dampingRatio(e){return this.dampingRatioV=e,this}static damping(e){return this.createInstance().damping(e)}damping(e){return this.dampingV=e,this}static mass(e){return this.createInstance().mass(e)}mass(e){return this.massV=e,this}static stiffness(e){return this.createInstance().stiffness(e)}stiffness(e){return this.stiffnessV=e,this}static overshootClamping(e){return this.createInstance().overshootClamping(e)}overshootClamping(e){return this.overshootClampingV=e,this}static restDisplacementThreshold(e){return this.createInstance()}restDisplacementThreshold(e){return this}static restSpeedThreshold(e){return this.createInstance()}restSpeedThreshold(e){return this}static energyThreshold(e){return this.createInstance().energyThreshold(e)}energyThreshold(e){return this.energyThresholdV=e,this}getAnimationAndConfig(){const e=this.durationV,t=this.easingV,n=this.rotateV,r=this.t
23ype?this.type:io,i=this.dampingV,a=this.dampingRatioV,o=this.massV,s=this.stiffnessV,l=this.overshootClampingV,c=this.energyThresholdV,u=r,d={};function p(e,t){e&&(d[t]=e)}return r===io&&p(t,"easing"),[{variableName:"damping",value:i},{variableName:"dampingRatio",value:a},{variableName:"mass",value:o},{variableName:"stiffness",value:s},{variableName:"overshootClamping",value:l},{variableName:"energyThreshold",value:c},{variableName:"duration",value:e},{variableName:"rotate",value:n}].forEach(({value:e,variableName:t})=>p(e,t)),[u,d]}}class po extends uo{static withInitialValues(e){return this.createInstance().withInitialValues(e)}withInitialValues(e){return this.initialValues=e,this}static withTargetValues(e){return this.createInstance().withTargetValues(e)}withTargetValues(e){return this.targetValues=e,this}}const fo={code:"(function reactNativeReanimated_KeyframeJs1(delay,animation){const{withDelay,reduceMotion}=this.__closure;return withDelay(delay,animation,reduceMotion);})"},ho={code:"(function reactNativeReanimated_KeyframeJs2(_,animation){const{getReduceMotionFromConfig,reduceMotion}=this.__closure;animation.reduceMotion=getReduceMotionFromConfig(reduceMotion);return animation;})"},mo={code:"(function reactNativeReanimated_KeyframeJs3(){const{keyframes,delayFunction,delay,withTiming,Easing,withSequence,initialValues,makeKeyframeKey,callback}=this.__closure;const animations={};const addAnimation=function(key){const keyframePoints=keyframes[key];if(keyframePoints.length===0){return;}const animation=delayFunction(delay,keyframePoints.length===1?withTiming(keyframePoints[0].value,{duration:keyframePoints[0].duration,easing:keyframePoints[0].easing?keyframePoints[0].easing:Easing.linear}):withSequence(...keyframePoints.map(function(keyframePoint){return withTiming(keyframePoint.value,{duration:keyframePoint.duration,easing:keyframePoint.easing?keyframePoint.easing:Easing.linear});})));if(key.includes('transform')){if(!('transform'in animations)){animations.transform=[];}animations.transform.push({[key.split(':')[1]]:animation});}else{animations[key]=animation;}};Object.keys(initialValues).forEach(function(key){if(key.includes('transform')){initialValues[key].forEach(function(transformProp,index){Object.keys(transformProp).forEach(function(transformPropKey){addAnimation(makeKeyframeKey(index,transformPropKey));});});}else{addAnimation(key);}});return{animations:animations,initialValues:initialValues,callback:callback};})"};const go=function({_worklet_2276541805671_init_data:e}){const t=function(e,t){return`${e}_transform:${t}`};return t.__closure={},t.__workletHash=2276541805671,t.__initData=e,t}({_worklet_2276541805671_init_data:{code:'(function makeKeyframeKey_reactNativeReanimated_KeyframeJs4(index,transformProp){return index+"_transform:"+transformProp;})'}}),yo=class{reduceMotionV=Fn.System;constructor(e){this.definitions=e}parseDefinitions(){const e={};if(this.definitions.from){if(this.definitions[0])throw new Error("[Reanimated] You cannot provide both keyframe 0 and 'from' as they both specified initial values.");this.definitions[0]=this.definitions.from,delete this.definitions.from}if(this.definitions.to){if(this.definitions[100])throw new Error("[Reanimated] You cannot provide both keyframe 100 and 'to' as they both specified values at the end of the animation.");this.definitions[100]=this.definitions.to,delete this.definitions.to}if(!this.definitions[0])throw new Error("[Reanimated] Please provide 0 or 'from' keyframe with initial state of your object.");const t=this.definitions[0];Object.keys(t).forEach(n=>{if("transform"===n){if(!Array.isArray(t.transform))return;t.transform.forEach((t,n)=>{Object.keys(t).forEach(t=>{e[go(n,t)]=[]})})}else e[n]=[]});const n=this.durationV?this.durationV:500,r=Array.from(Object.keys(this.definitions)).map(Number),i=(t,r)=>r/100*n-e[t].reduce((e,t)=>e+t.duration,0);return r.filter(e=>0!==e).sort((e,t)=>e-t).forEach(t=>{if(t<0||t>100)throw new Error("[Reanimated] Keyframe should be in between range 0 - 100.");const n=this.definitions[t],r=n.easing;delete n.easing;const a=(n,a)=>(({key:t,value:n,currentKeyPoint:r,easing:a})=>{if(!(t in e))throw new Error("[Reanimated] Keyframe can contain only that set of properties that were provide with initial values (keyframe 0 or 'from')");e[t].push({duration:i(t,r),value:n,easing:a})})({key:n,value:a,currentKeyPoint:t,easing:r});
23Object.keys(n).forEach(e=>{if("transform"===e){if(!Array.isArray(n.transform))return;n.transform.forEach((e,t)=>{Object.keys(e).forEach(n=>{a(go(t,n),e[n])})})}else a(e,n[e])})}),{initialValues:t,keyframes:e}}duration(e){return this.durationV=e,this}delay(e){return this.delayV=e,this}withCallback(e){return this.callbackV=e,this}reduceMotion(e){return this.reduceMotionV=e,this}getDelayFunction(){const e=this.delayV,t=this.reduceMotionV;return e?function({_worklet_14326579428250_init_data:e,withDelay:t,reduceMotion:n}){const r=function(e,r){return t(e,r,n)};return r.__closure={withDelay:t,reduceMotion:n},r.__workletHash=0xd07aaad7b9a,r.__initData=e,r}({_worklet_14326579428250_init_data:fo,withDelay:la,reduceMotion:t}):function({_worklet_11408699715174_init_data:e,getReduceMotionFromConfig:t,reduceMotion:n}){const r=function(e,r){return r.reduceMotion=t(n),r};return r.__closure={getReduceMotionFromConfig:t,reduceMotion:n},r.__workletHash=0xa604b7e6e66,r.__initData=e,r}({_worklet_11408699715174_init_data:ho,getReduceMotionFromConfig:qi,reduceMotion:t})}build=()=>{const e=this.delayV,t=this.getDelayFunction(),{keyframes:n,initialValues:r}=this.parseDefinitions(),i=this.callbackV;return this.parsedAnimation||(this.parsedAnimation=function({_worklet_13595209610630_init_data:e,keyframes:t,delayFunction:n,delay:r,withTiming:i,Easing:a,withSequence:o,initialValues:s,makeKeyframeKey:l,callback:c}){const u=function(){const e={},u=s=>{const l=t[s];if(0===l.length)return;const c=n(r,1===l.length?i(l[0].value,{duration:l[0].duration,easing:l[0].easing?l[0].easing:a.linear}):o(...l.map(e=>i(e.value,{duration:e.duration,easing:e.easing?e.easing:a.linear}))));s.includes("transform")?("transform"in e||(e.transform=[]),e.transform.push({[s.split(":")[1]]:c})):e[s]=c};return Object.keys(s).forEach(e=>{e.includes("transform")?s[e].forEach((e,t)=>{Object.keys(e).forEach(e=>{u(l(t,e))})}):u(e)}),{animations:e,initialValues:s,callback:c}};return u.__closure={keyframes:t,delayFunction:n,delay:r,withTiming:i,Easing:a,withSequence:o,initialValues:s,makeKeyframeKey:l,callback:c},u.__workletHash=0xc5d61a3b586,u.__initData=e,u}({_worklet_13595209610630_init_data:mo,keyframes:n,delayFunction:t,delay:e,withTiming:io,Easing:ro,withSequence:ua,initialValues:r,makeKeyframeKey:go,callback:i})),this.parsedAnimation}},vo={code:"(function reactNativeReanimated_SharedTransitionJs1(valuesUntyped){const{delayFunction,delay,animation,config,logger,callback}=this.__closure;const values=valuesUntyped;const animationFactory=function(value){return delayFunction(delay,animation(value,config));};const initialValues={};const animations={};for(let key in values.source){initialValues[key]=values.source[key];const target=values.target[key];if(Array.isArray(target)){if(key==='transform'){animations[key]=target.map(function(item){key=Object.keys(item)[0];return{[key]:animationFactory(item[key])};});}else if(key==='boxShadow'){animations[key]=target.map(function(item){const boxShadow={};for(const shadowKey of Object.keys(item)){boxShadow[shadowKey]=animationFactory(item[shadowKey]);}return boxShadow;});}else if(key==='transformOrigin'){animations[key]=target.map(animationFactory);}else{logger.error(\"Unexpected array in SharedTransition: \"+key);}}else{animations[key]=animationFactory(values.target[key]);}}return{initialValues:initialValues,animations:animations,callback:callback};})"};class bo extends po{static presetName="SharedTransition";static createInstance(){return new bo}build=()=>{const e=this.getDelayFunction();this.durationV||(this.durationV=500);const[t,n]=this.getAnimationAndConfig(),r=this.callbackV,i=this.getDelay();return function({_worklet_15690990431671_init_data:e,delayFunction:t,delay:n,animation:r,config:i,logger:a,callback:o}){const s=function(e){const s=e,l=e=>t(n,r(e,i)),c={},u={};for(let t in s.source){c[t]=s.source[t];const e=s.target[t];Array.isArray(e)?"transform"===t?u[t]=e.map(e=>(t=Object.keys(e)[0],{[t]:l(e[t])})):"boxShadow"===t?u[t]=e.map(e=>{const t={};for(const n of Object.keys(e))t[n]=l(e[n]);return t}):"transformOrigin"===t?u[t]=e.map(l):a.error(`Unexpected array in SharedTransition: ${t}`):u[t]=l(s.target[t])}return{initialValues:c,animations:u,callback:o}};return s.__closure={delayFunction:t,delay:n,animation:r,config:i,logger:a,callback:o},s.__workletHash=0xe4557e92db7,s.__initData=e,s}({_worklet_15690990431671_init_data:vo,delayFunction:e,delay:i,animation:t,config:n,logger:u,callback:r})}}const _o=new WeakMap;function wo(e,t){e.style.transform="",e.style.position="absolute",e.style.top=`${t.top}px`,e.style.left=`${t.left}px`,e.style.width=`${t.width}px`,e.style.height=`${t.height}px`,e.style.margin="0px",e.parentElement&&function(e,t,n){const r=t.getBoundingClientRect(),i=parseInt(getComputedStyle(t).borderTopWidth),a=parseInt(getComputedStyle(t).borderLeftWidth),o=e.getBoundingClientRect();o.top!==n.top&&(e.style.top=n.top-r.top-i+"px"),o.left!==n.left&&(e.style.left=n.left-r.left-a+"px")}(e,e.parentElement,t)}const ko={linear:[0,0,1,1],ease:[.42,0,1,1],quad:[.11,0,.5,0],cubic:[.32,0,.67,0],sin:[.12,0,.39,0],circle:[.55,0,1,.45],exp:[.7,0,.84,0]};function So(e){return`cubic-bezier(${ko[e].toString()})`}function xo(e){let t=`@keyframes ${e.name} { `;
23for(const[n,r]of Object.entries(e.style)){t+=`${"from"===n?0:"to"===n?100:n}% { `;for(const[e,n]of Object.entries(r)){if("easing"===e){let e="linear";n in ko?e=n:n.name in ko&&(e=n.name),t+=`animation-timing-function: cubic-bezier(${ko[e].toString()});`;continue}"originX"!==e?"originY"!==e?"transform"===e?(t+="transform:",n.forEach(e=>{for(const[n,r]of Object.entries(e))t+=` ${n}(${r})`}),t+="; "):t+=`${e}: ${n}; `:t+=`top: ${n}px; `:t+=`left: ${n}px; `}t+="} "}return t+="} ",t}const Co=.6,Eo={BounceIn:{name:"BounceIn",style:{0:{transform:[{scale:0}]},55:{transform:[{scale:1.2}]},70:{transform:[{scale:.9}]},85:{transform:[{scale:1.1}]},100:{transform:[{scale:1}]}},duration:Co},BounceInRight:{name:"BounceInRight",style:{0:{transform:[{translateX:"100vw"}]},55:{transform:[{translateX:"-20px"}]},70:{transform:[{translateX:"10px"}]},85:{transform:[{translateX:"-10px"}]},100:{transform:[{translateX:"0px"}]}},duration:Co},BounceInLeft:{name:"BounceInLeft",style:{0:{transform:[{translateX:"-100vw"}]},55:{transform:[{translateX:"20px"}]},70:{transform:[{translateX:"-10px"}]},85:{transform:[{translateX:"10px"}]},100:{transform:[{translateX:"0px"}]}},duration:Co},BounceInUp:{name:"BounceInUp",style:{0:{transform:[{translateY:"-100vh"}]},55:{transform:[{translateY:"20px"}]},70:{transform:[{translateY:"-10px"}]},85:{transform:[{translateY:"10px"}]},100:{transform:[{translateY:"0px"}]}},duration:Co},BounceInDown:{name:"BounceInDown",style:{0:{transform:[{translateY:"100vh"}]},55:{transform:[{translateY:"-20px"}]},70:{transform:[{translateY:"10px"}]},85:{transform:[{translateY:"-10px"}]},100:{transform:[{translateY:"0px"}]}},duration:Co}},Ao={BounceOut:{name:"BounceOut",style:{0:{transform:[{scale:1}]},15:{transform:[{scale:1.1}]},30:{transform:[{scale:.9}]},45:{transform:[{scale:1.2}]},100:{transform:[{scale:.1}]}},duration:Co},BounceOutRight:{name:"BounceOutRight",style:{0:{transform:[{translateX:"0px"}]},15:{transform:[{translateX:"-10px"}]},30:{transform:[{translateX:"10px"}]},45:{transform:[{translateX:"-20px"}]},100:{transform:[{translateX:"100vh"}]}},duration:Co},BounceOutLeft:{name:"BounceOutLeft",style:{0:{transform:[{translateX:"0px"}]},15:{transform:[{translateX:"10px"}]},30:{transform:[{translateX:"-10px"}]},45:{transform:[{translateX:"20px"}]},100:{transform:[{translateX:"-100vh"}]}},duration:Co},BounceOutUp:{name:"BounceOutUp",style:{0:{transform:[{translateY:"0px"}]},15:{transform:[{translateY:"10px"}]},30:{transform:[{translateY:"-10px"}]},45:{transform:[{translateY:"20px"}]},100:{transform:[{translateY:"-100vh"}]}},duration:Co},BounceOutDown:{name:"BounceOutDown",style:{0:{transform:[{translateY:"0px"}]},15:{transform:[{translateY:"-10px"}]},30:{transform:[{translateY:"10px"}]},45:{transform:[{translateY:"-20px"}]},100:{transform:[{translateY:"100vh"}]}},duration:Co}},To={BounceIn:{style:xo(Eo.BounceIn),duration:Eo.BounceIn.duration},BounceInRight:{style:xo(Eo.BounceInRight),duration:Eo.BounceInRight.duration},BounceInLeft:{style:xo(Eo.BounceInLeft),duration:Eo.BounceInLeft.duration},BounceInUp:{style:xo(Eo.BounceInUp),duration:Eo.BounceInUp.duration},BounceInDown:{style:xo(Eo.BounceInDown),duration:Eo.BounceInDown.duration}},Io={BounceOut:{style:xo(Ao.BounceOut),duration:Ao.BounceOut.duration},BounceOutRight:{style:xo(Ao.BounceOutRight),duration:Ao.BounceOutRight.duration},BounceOutLeft:{style:xo(Ao.BounceOutLeft),duration:Ao.BounceOutLeft.duration},BounceOutUp:{style:xo(Ao.BounceOutUp),duration:Ao.BounceOutUp.duration},BounceOutDown:{style:xo(Ao.BounceOutDown),duration:Ao.BounceOutDown.duration}},Ro=.3,Oo={FadeIn:{name:"FadeIn",style:{0:{opacity:0},100:{opacity:1}},duration:Ro},FadeInRight:{name:"FadeInRight",style:{0:{opacity:0,transform:[{translateX:"25px"}]},100:{opacity:1,transform:[{translateX:"0px"}]}},duration:Ro},FadeInLeft:{name:"FadeInLeft",style:{0:{opacity:0,transform:[{translateX:"-25px"}]},100:{opacity:1,transform:[{translateX:"0px"}]}},duration:Ro},FadeInUp:{name:"FadeInUp",style:{0:{opacity:0,transform:[{translateY:"-25px"}]},100:{opacity:1,transform:[{translateY:"0px"}]}},duration:Ro},FadeInDown:{name:"FadeInDown",style:{0:{opacity:0,transform:[{translateY:"25px"}]},100:{opacity:1,transform:[{translateY:"0px"}]}},duration:Ro}},Do={FadeOut:{name:"FadeOut",style:{0:{opacity:1},100:{opacity:0}
23},duration:Ro},FadeOutRight:{name:"FadeOutRight",style:{0:{opacity:1,transform:[{translateX:"0px"}]},100:{opacity:0,transform:[{translateX:"25px"}]}},duration:Ro},FadeOutLeft:{name:"FadeOutLeft",style:{0:{opacity:1,transform:[{translateX:"0px"}]},100:{opacity:0,transform:[{translateX:"-25px"}]}},duration:Ro},FadeOutUp:{name:"FadeOutUp",style:{0:{opacity:1,transform:[{translateY:"0px"}]},100:{opacity:0,transform:[{translateY:"-25px"}]}},duration:Ro},FadeOutDown:{name:"FadeOutDown",style:{0:{opacity:1,transform:[{translateY:"0px"}]},100:{opacity:0,transform:[{translateY:"25px"}]}},duration:Ro}},No={FadeIn:{style:xo(Oo.FadeIn),duration:Oo.FadeIn.duration},FadeInRight:{style:xo(Oo.FadeInRight),duration:Oo.FadeInRight.duration},FadeInLeft:{style:xo(Oo.FadeInLeft),duration:Oo.FadeInLeft.duration},FadeInUp:{style:xo(Oo.FadeInUp),duration:Oo.FadeInUp.duration},FadeInDown:{style:xo(Oo.FadeInDown),duration:Oo.FadeInDown.duration}},jo={FadeOut:{style:xo(Do.FadeOut),duration:Do.FadeOut.duration},FadeOutRight:{style:xo(Do.FadeOutRight),duration:Do.FadeOutRight.duration},FadeOutLeft:{style:xo(Do.FadeOutLeft),duration:Do.FadeOutLeft.duration},FadeOutUp:{style:xo(Do.FadeOutUp),duration:Do.FadeOutUp.duration},FadeOutDown:{style:xo(Do.FadeOutDown),duration:Do.FadeOutDown.duration}},Fo=.3,Mo={FlipInYRight:{name:"FlipInYRight",style:{0:{transform:[{perspective:"500px",rotateY:"90deg",translateX:"100%"}]},100:{transform:[{perspective:"500px",rotateY:"0deg",translateX:"0%"}]}},duration:Fo},FlipInYLeft:{name:"FlipInYLeft",style:{0:{transform:[{perspective:"500px",rotateY:"-90deg",translateX:"-100%"}]},100:{transform:[{perspective:"500px",rotateY:"0deg",translateX:"0%"}]}},duration:Fo},FlipInXUp:{name:"FlipInXUp",style:{0:{transform:[{perspective:"500px",rotateX:"90deg",translateY:"-100%"}]},100:{transform:[{perspective:"500px",rotateX:"0deg",translateY:"0%"}]}},duration:Fo},FlipInXDown:{name:"FlipInXDown",style:{0:{transform:[{perspective:"500px",rotateX:"-90deg",translateY:"100%"}]},100:{transform:[{perspective:"500px",rotateX:"0deg",translateY:"0%"}]}},duration:Fo},FlipInEasyX:{name:"FlipInEasyX",style:{0:{transform:[{perspective:"500px",rotateX:"90deg"}]},100:{transform:[{perspective:"500px",rotateX:"0deg"}]}},duration:Fo},FlipInEasyY:{name:"FlipInEasyY",style:{0:{transform:[{perspective:"500px",rotateY:"90deg"}]},100:{transform:[{perspective:"500px",rotateY:"0deg"}]}},duration:Fo}},Vo={FlipOutYRight:{name:"FlipOutYRight",style:{0:{transform:[{perspective:"500px",rotateY:"0deg",translateX:"0%"}]},100:{transform:[{perspective:"500px",rotateY:"90deg",translateX:"100%"}]}},duration:Fo},FlipOutYLeft:{name:"FlipOutYLeft",style:{0:{transform:[{perspective:"500px",rotateY:"0deg",translateX:"0%"}]},100:{transform:[{perspective:"500px",rotateY:"-90deg",translateX:"-100%"}]}},duration:Fo},FlipOutXUp:{name:"FlipOutXUp",style:{0:{transform:[{perspective:"500px",rotateX:"0deg",translateY:"0%"}]},100:{transform:[{perspective:"500px",rotateX:"90deg",translateY:"-100%"}]}},duration:Fo},FlipOutXDown:{name:"FlipOutXDown",style:{0:{transform:[{perspective:"500px",rotateX:"0deg",translateY:"0%"}]},100:{transform:[{perspective:"500px",rotateX:"-90deg",translateY:"100%"}]}},duration:Fo},FlipOutEasyX:{name:"FlipOutEasyX",style:{0:{transform:[{perspective:"500px",rotateX:"0deg"}]},100:{transform:[{perspective:"500px",rotateX:"90deg"}]}},duration:Fo},FlipOutEasyY:{name:"FlipOutEasyY",style:{0:{transform:[{perspective:"500px",rotateY:"0deg"}]},100:{transform:[{perspective:"500px",rotateY:"90deg"}]}},duration:Fo}},Po={FlipInYRight:{style:xo(Mo.FlipInYRight),duration:Mo.FlipInYRight.duration},FlipInYLeft:{style:xo(Mo.FlipInYLeft),duration:Mo.FlipInYLeft.duration},FlipInXUp:{style:xo(Mo.FlipInXUp),duration:Mo.FlipInXUp.duration},FlipInXDown:{style:xo(Mo.FlipInXDown),duration:Mo.FlipInXDown.duration},FlipInEasyX:{style:xo(Mo.FlipInEasyX),duration:Mo.FlipInEasyX.duration},FlipInEasyY:{style:xo(Mo.FlipInEasyY),duration:Mo.FlipInEasyY.duration}},Lo={FlipOutYRight:{style:xo(Vo.FlipOutYRight),duration:Vo.FlipOutYRight.duration},FlipOutYLeft:{style:xo(Vo.FlipOutYLeft),duration:Vo.FlipOutYLeft.duration},FlipOutXUp:{style:xo(Vo.FlipOutXUp),duration:Vo.FlipOutXUp.duration},FlipOutXDown:{style:xo(Vo.FlipOutXDown),duration:Vo.FlipOutXDown.duration},FlipOutEasyX:{style:xo(Vo.FlipOutEasyX),duration:Vo.FlipOutEasyX.duration},FlipOutEasyY:{style:xo(Vo.FlipOutEasyY),duration:Vo.FlipOutEasyY.duration}},Bo=.3,Ho={LightSpeedInRight:{name:"LightSpeedInRight",style:{0:{transform:[{translateX:"100vw",skewX:"-45deg"}],opacity:0}
23,70:{transform:[{skewX:"10deg"}]},85:{transform:[{skewX:"-5deg"}]},100:{transform:[{skewX:"0deg"}]}},duration:Bo},LightSpeedInLeft:{name:"LightSpeedInLeft",style:{0:{transform:[{translateX:"-100vw",skewX:"45deg"}],opacity:0},70:{transform:[{skewX:"-10deg"}]},85:{transform:[{skewX:"5deg"}]},100:{transform:[{skewX:"0deg"}]}},duration:Bo}},Wo={LightSpeedOutRight:{name:"LightSpeedOutRight",style:{0:{transform:[{translateX:"0vw",skewX:"0deg"}],opacity:1},100:{transform:[{translateX:"100vw",skewX:"-45deg"}],opacity:0}},duration:Bo},LightSpeedOutLeft:{name:"LightSpeedOutLeft",style:{0:{transform:[{translateX:"0vw",skew:"0deg"}],opacity:1},100:{transform:[{translateX:"-100vw",skew:"45deg"}],opacity:0}},duration:Bo}},zo={LightSpeedInRight:{style:xo(Ho.LightSpeedInRight),duration:Ho.LightSpeedInRight.duration},LightSpeedInLeft:{style:xo(Ho.LightSpeedInLeft),duration:Ho.LightSpeedInLeft.duration}},Yo={LightSpeedOutRight:{style:xo(Wo.LightSpeedOutRight),duration:Wo.LightSpeedOutRight.duration},LightSpeedOutLeft:{style:xo(Wo.LightSpeedOutLeft),duration:Wo.LightSpeedOutLeft.duration}},Uo={PinwheelIn:{name:"PinwheelIn",style:{0:{transform:[{rotate:"5rad",scale:0}],opacity:0},100:{transform:[{rotate:"0deg",scale:1}],opacity:1}},duration:.3},PinwheelOut:{name:"PinwheelOut",style:{0:{transform:[{rotate:"0rad",scale:1}],opacity:1},100:{transform:[{rotate:"5rad",scale:0}],opacity:0}},duration:.3}},Xo={PinwheelIn:{style:xo(Uo.PinwheelIn),duration:Uo.PinwheelIn.duration},PinwheelOut:{style:xo(Uo.PinwheelOut),duration:Uo.PinwheelOut.duration}},Go=.3,qo={RollInLeft:{name:"RollInLeft",style:{0:{transform:[{translateX:"-100vw",rotate:"-180deg"}]},100:{transform:[{translateX:"0vw",rotate:"0deg"}]}},duration:Go},RollInRight:{name:"RollInRight",style:{0:{transform:[{translateX:"100vw",rotate:"180deg"}]},100:{transform:[{translateX:"0vw",rotate:"0deg"}]}},duration:Go}},Jo={RollOutLeft:{name:"RollOutLeft",style:{0:{transform:[{translateX:"0vw",rotate:"0deg"}]},100:{transform:[{translateX:"-100vw",rotate:"-180deg"}]}},duration:Go},RollOutRight:{name:"RollOutRight",style:{0:{transform:[{translateX:"0vw",rotate:"0deg"}]},100:{transform:[{translateX:"100vw",rotate:"180deg"}]}},duration:Go}},$o={RollInLeft:{style:xo(qo.RollInLeft),duration:qo.RollInLeft.duration},RollInRight:{style:xo(qo.RollInRight),duration:qo.RollInRight.duration}},Ko={RollOutLeft:{style:xo(Jo.RollOutLeft),duration:Jo.RollOutLeft.duration},RollOutRight:{style:xo(Jo.RollOutRight),duration:Jo.RollOutRight.duration}},Zo=.3,Qo={RotateInDownLeft:{name:"RotateInDownLeft",style:{0:{transform:[{translateX:"-50%",translateY:"-250%",rotate:"-90deg"}],opacity:0},100:{transform:[{translateX:"0%",translateY:"0%",rotate:"0deg"}],opacity:1}},duration:Zo},RotateInDownRight:{name:"RotateInDownRight",style:{0:{transform:[{translateX:"40%",translateY:"-250%",rotate:"90deg"}],opacity:0},100:{transform:[{translateX:"0%",translateY:"0%",rotate:"0deg"}],opacity:1}},duration:Zo},RotateInUpLeft:{name:"RotateInUpLeft",style:{0:{transform:[{translateX:"-40%",translateY:"250%",rotate:"90deg"}],opacity:0},100:{transform:[{translateX:"0%",translateY:"0%",rotate:"0deg"}],opacity:1}},duration:Zo},RotateInUpRight:{name:"RotateInUpRight",style:{0:{transform:[{translateX:"40%",translateY:"250%",rotate:"-90deg"}],opacity:0},100:{transform:[{translateX:"0%",translateY:"0%",rotate:"0deg"}],opacity:1}},duration:Zo}},es={RotateOutDownLeft:{name:"RotateOutDownLeft",style:{0:{transform:[{translateX:"0%",translateY:"0%",rotate:"0deg"}],opacity:1},100:{transform:[{translateX:"-40%",translateY:"250%",rotate:"90deg"}],opacity:0}},duration:Zo},RotateOutDownRight:{name:"RotateOutDownRight",style:{0:{transform:[{translateX:"0%",translateY:"0%",rotate:"0deg"}],opacity:1},100:{transform:[{translateX:"40%",translateY:"250%",rotate:"-90deg"}],opacity:0}},duration:Zo},RotateOutUpLeft:{name:"RotateOutUpLeft",style:{0:{transform:[{translateX:"0%",translateY:"0%",rotate:"0deg"}],opacity:1},100:{transform:[{translateX:"-40%",translateY:"-250%",rotate:"-90deg"}],opacity:0}},duration:Zo},RotateOutUpRight:{name:"RotateOutUpRight",style:{0:{transform:[{translateX:"0%",translateY:"0%",rotate:"0deg"}],opacity:1},100:{transform:[{translateX:"40%",translateY:"-250%",rotate:"90deg"}],opacity:0}
23},duration:Zo}},ts={RotateInDownLeft:{style:xo(Qo.RotateInDownLeft),duration:Qo.RotateInDownLeft.duration},RotateInDownRight:{style:xo(Qo.RotateInDownRight),duration:Qo.RotateInDownRight.duration},RotateInUpLeft:{style:xo(Qo.RotateInUpLeft),duration:Qo.RotateInUpLeft.duration},RotateInUpRight:{style:xo(Qo.RotateInUpRight),duration:Qo.RotateInUpRight.duration}},ns={RotateOutDownLeft:{style:xo(es.RotateOutDownLeft),duration:es.RotateOutDownLeft.duration},RotateOutDownRight:{style:xo(es.RotateOutDownRight),duration:es.RotateOutDownRight.duration},RotateOutUpLeft:{style:xo(es.RotateOutUpLeft),duration:es.RotateOutUpLeft.duration},RotateOutUpRight:{style:xo(es.RotateOutUpRight),duration:es.RotateOutUpRight.duration}},rs=.3,is={SlideInRight:{name:"SlideInRight",style:{0:{transform:[{translateX:"100vw"}]},100:{transform:[{translateX:"0%"}]}},duration:rs},SlideInLeft:{name:"SlideInLeft",style:{0:{transform:[{translateX:"-100vw"}]},100:{transform:[{translateX:"0%"}]}},duration:rs},SlideInUp:{name:"SlideInUp",style:{0:{transform:[{translateY:"-100vh"}]},100:{transform:[{translateY:"0%"}]}},duration:rs},SlideInDown:{name:"SlideInDown",style:{0:{transform:[{translateY:"100vh"}]},100:{transform:[{translateY:"0%"}]}},duration:rs}},as={SlideOutRight:{name:"SlideOutRight",style:{0:{transform:[{translateX:"0%"}]},100:{transform:[{translateX:"100vw"}]}},duration:rs},SlideOutLeft:{name:"SlideOutLeft",style:{0:{transform:[{translateX:"0%"}]},100:{transform:[{translateX:"-100vw"}]}},duration:rs},SlideOutUp:{name:"SlideOutUp",style:{0:{transform:[{translateY:"0%"}]},100:{transform:[{translateY:"-100vh"}]}},duration:rs},SlideOutDown:{name:"SlideOutDown",style:{0:{transform:[{translateY:"0%"}]},100:{transform:[{translateY:"100vh"}]}},duration:rs}},os={SlideInRight:{style:xo(is.SlideInRight),duration:is.SlideInRight.duration},SlideInLeft:{style:xo(is.SlideInLeft),duration:is.SlideInLeft.duration},SlideInUp:{style:xo(is.SlideInUp),duration:is.SlideInUp.duration},SlideInDown:{style:xo(is.SlideInDown),duration:is.SlideInDown.duration}},ss={SlideOutRight:{style:xo(as.SlideOutRight),duration:as.SlideOutRight.duration},SlideOutLeft:{style:xo(as.SlideOutLeft),duration:as.SlideOutLeft.duration},SlideOutUp:{style:xo(as.SlideOutUp),duration:as.SlideOutUp.duration},SlideOutDown:{style:xo(as.SlideOutDown),duration:as.SlideOutDown.duration}},ls=.3,cs={StretchInX:{name:"StretchInX",style:{0:{transform:[{scaleX:0}]},100:{transform:[{scaleX:1}]}},duration:ls},StretchInY:{name:"StretchInY",style:{0:{transform:[{scaleY:0}]},100:{transform:[{scaleY:1}]}},duration:ls}},us={StretchOutX:{name:"StretchOutX",style:{0:{transform:[{scaleX:1}]},100:{transform:[{scaleX:0}]}},duration:ls},StretchOutY:{name:"StretchOutY",style:{0:{transform:[{scaleY:1}]},100:{transform:[{scaleY:0}]}},duration:ls}},ds={StretchInX:{style:xo(cs.StretchInX),duration:cs.StretchInX.duration},StretchInY:{style:xo(cs.StretchInY),duration:cs.StretchInY.duration}},ps={StretchOutX:{style:xo(us.StretchOutX),duration:us.StretchOutX.duration},StretchOutY:{style:xo(us.StretchOutY),duration:us.StretchOutY.duration}},fs=.3,hs={ZoomIn:{name:"ZoomIn",style:{0:{transform:[{scale:0}]},100:{transform:[{scale:1}]}},duration:fs},ZoomInRotate:{name:"ZoomInRotate",style:{0:{transform:[{scale:0,rotate:"0.3rad"}]},100:{transform:[{scale:1,rotate:"0deg"}]}},duration:fs},ZoomInRight:{name:"ZoomInRight",style:{0:{transform:[{translateX:"100vw",scale:0}]},100:{transform:[{translateX:"0%",scale:1}]}},duration:fs},ZoomInLeft:{name:"ZoomInLeft",style:{0:{transform:[{translateX:"-100vw",scale:0}]},100:{transform:[{translateX:"0%",scale:1}]}},duration:fs},ZoomInUp:{name:"ZoomInUp",style:{0:{transform:[{translateY:"-100vh",scale:0}]},100:{transform:[{translateY:"0%",scale:1}]}},duration:fs},ZoomInDown:{name:"ZoomInDown",style:{0:{transform:[{translateY:"100vh",scale:0}]},100:{transform:[{translateY:"0%",scale:1}]}},duration:fs},ZoomInEasyUp:{name:"ZoomInEasyUp",style:{0:{transform:[{translateY:"-100%",scale:0}]},100:{transform:[{translateY:"0%",scale:1}]}},duration:fs},ZoomInEasyDown:{name:"ZoomInEasyDown",style:{0:{transform:[{translateY:"100%",scale:0}]},100:{transform:[{translateY:"0%",scale:1}]}},duration:fs}},ms={ZoomOut:{name:"ZoomOut",style:{0:{transform:[{scale:1}]},100:{transform:[{scale:0}]}},duration:fs},ZoomOutRotate:{name:"ZoomOutRotate",style:{0:{transform:[{scale:1,rotate:"0rad"}]},100:{transform:[{scale:0,rotate:"0.3rad"}]}},duration:fs},ZoomOutRight:{name:"ZoomOutRight",style:{0:{transform:[{translateX:"0vw",scale:1}]},100:{transform:[{translateX:"100vw",scale:0}]}},duration:fs},ZoomOutLeft:{name:"ZoomOutLeft",style:{0:{transform:[{translateX:"0vw",scale:1}]},100:{transform:[{translateX:"-100vw",scale:0}]}},duration:fs}
23,ZoomOutUp:{name:"ZoomOutUp",style:{0:{transform:[{translateX:"0vh",scale:1}]},100:{transform:[{translateY:"-100vh",scale:0}]}},duration:fs},ZoomOutDown:{name:"ZoomOutDown",style:{0:{transform:[{translateX:"0vh",scale:1}]},100:{transform:[{translateY:"100vh",scale:0}]}},duration:fs},ZoomOutEasyUp:{name:"ZoomOutEasyUp",style:{0:{transform:[{translateY:"0%",scale:1}]},100:{transform:[{translateY:"-100%",scale:0}]}},duration:fs},ZoomOutEasyDown:{name:"ZoomOutEasyDown",style:{0:{transform:[{translateY:"0%",scale:1}]},100:{transform:[{translateY:"100%",scale:0}]}},duration:fs}},gs={ZoomIn:{style:xo(hs.ZoomIn),duration:hs.ZoomIn.duration},ZoomInRotate:{style:xo(hs.ZoomInRotate),duration:hs.ZoomInRotate.duration},ZoomInRight:{style:xo(hs.ZoomInRight),duration:hs.ZoomInRight.duration},ZoomInLeft:{style:xo(hs.ZoomInLeft),duration:hs.ZoomInLeft.duration},ZoomInUp:{style:xo(hs.ZoomInUp),duration:hs.ZoomInUp.duration},ZoomInDown:{style:xo(hs.ZoomInDown),duration:hs.ZoomInDown.duration},ZoomInEasyUp:{style:xo(hs.ZoomInEasyUp),duration:hs.ZoomInEasyUp.duration},ZoomInEasyDown:{style:xo(hs.ZoomInEasyDown),duration:hs.ZoomInEasyDown.duration}},ys={ZoomOut:{style:xo(ms.ZoomOut),duration:ms.ZoomOut.duration},ZoomOutRotate:{style:xo(ms.ZoomOutRotate),duration:ms.ZoomOutRotate.duration},ZoomOutRight:{style:xo(ms.ZoomOutRight),duration:ms.ZoomOutRight.duration},ZoomOutLeft:{style:xo(ms.ZoomOutLeft),duration:ms.ZoomOutLeft.duration},ZoomOutUp:{style:xo(ms.ZoomOutUp),duration:ms.ZoomOutUp.duration},ZoomOutDown:{style:xo(ms.ZoomOutDown),duration:ms.ZoomOutDown.duration},ZoomOutEasyUp:{style:xo(ms.ZoomOutEasyUp),duration:ms.ZoomOutEasyUp.duration},ZoomOutEasyDown:{style:xo(ms.ZoomOutEasyDown),duration:ms.ZoomOutEasyDown.duration}};let vs=function(e){return e[e.LINEAR=0]="LINEAR",e[e.SEQUENCED=1]="SEQUENCED",e[e.FADING=2]="FADING",e[e.JUMPING=3]="JUMPING",e[e.CURVED=4]="CURVED",e[e.ENTRY_EXIT=5]="ENTRY_EXIT",e}({});const bs=Object.assign({},Oo,Do,Eo,Ao,Mo,Vo,cs,us,hs,ms,is,as,Ho,Wo,Uo,Qo,es,qo,Jo),_s=Object.assign({},No,jo,To,Io,Po,Lo,ds,ps,gs,ys,os,ss,zo,Yo,Xo,ts,ns,$o,Ko),ws="ReanimatedPredefinedWebAnimationsStyle",ks="ReanimatedCustomWebAnimationsStyle",Ss=new Map,xs=[];let Cs=!1;function Es(e,t){if(!he)return;const n=document.getElementById(ks);if(n.sheet){n.sheet.insertRule(t,0),xs.unshift(e),Ss.set(e,0);for(let e=1;e<xs.length;++e){const t=xs[e],n=Ss.get(t);if(void 0===n)throw new Error("[Reanimated] Failed to obtain animation index.");Ss.set(xs[e],n+1)}}else u.error("Failed to create layout animations stylesheet.")}function As(e,t,n){const r=Math.max(5*t*1e3,t+160);setTimeout(()=>function(e,t){if(!he)return;const n=document.getElementById(ks),r=Ss.get(e);if(void 0===r)throw new Error("[Reanimated] Failed to obtain animation index.");t(),n.sheet?.deleteRule(r),xs.splice(r,1),Ss.delete(e);for(let i=r;i<xs.length;++i){const e=xs[i],t=Ss.get(e);if(void 0===t)throw new Error("[Reanimated] Failed to obtain animation index.");Ss.set(xs[i],t-1)}}(e,n),r)}function Ts(e,t){if(!(e instanceof HTMLElement))return;e.isDummy&&void 0===e.removedAfterAnimation&&function(e,t){const n=_o.get(e);if(!n)return void u.error("Failed to obtain snapshot.");e.removedAfterAnimation=!0,t.appendChild(e),wo(e,n);const r=e.onanimationend;e.onanimationend=function(n){t.removeChild(e),r?.call(this,n)}}(e,t);const n=Array.from(e.children);for(let r=0;r<n.length;++r)Ts(n[r],t)}function Is(){if(Cs||!he)return;Cs=!0;new MutationObserver(e=>{const t=e[e.length-1];if(!function(e){let t="__reactFiber";for(const n of Object.keys(e))if(n.startsWith("__reactFiber")){t=n;break}return void 0!==e[t]?.child?.memoizedProps?.navigation}(t.target))for(let n=0;n<t.removedNodes.length;++n)Ts(t.removedNodes[n],t.target)}).observe(document.body,{childList:!0,subtree:!0})}function Rs(e,t,n){for(let r=0;r<e.children.length;++r){const i=e.children[r];n?i.style.display=t.get(i):(t.set(i,i.style.display),i.style.display="none")}}function Os(e,t,n,r){const{dummy:i,dummyAnimationConfig:a}=function(e,t,n,r){const i={animationName:r,animationType:Rn.LAYOUT,duration:t.duration,delay:t.delay,easing:So(n.easingY),callback:null,reversed:!1},a=e.cloneNode(!0);var o;return a.isDummy=!0,(o=a).style.animationName="",o.style.position="absolute",o.style.top="0px",o.style.left="0px",o.style.margin="0px",o.style.width="100%",o.style.height="100%",{dummy:a,dummyAnimationConfig:i}}(e,t,n,r);return function(e,t,n,r){n.easing=So(r.easingX);const i=new Map;Rs(e,i,!1);const a=e.style.backgroundColor;e.style.backgroundColor="transparent";const o=()=>{e.contains(t)&&e.removeChild(t),Rs(e,i,!0),e.style.backgroundColor=a},s=()=>{o(),e.removeEventListener("animationcancel",s)},l=()=>{o(),e.removeEventListener("animationend",l)};e.addEventListener("animationend",l),e.addEventListener("animationcancel",s),e.appendChild(t)}(e,i,t,n),{dummy:i,dummyAnimationConfig:a}}function Ds(e,t,n,r){for(const[i,a]of Object.entries(t)){void 0!==a.transform?a.transform.unshift(n):a.transform=[n];const t=parseInt(i)/2;e[`${r?Math.min(t,49):t+50}`]=a}}function Ns(e,t){const n=structuredClone(bs[t.exiting]),r=structuredClone(bs[t.entering]),i={translateX:`${t.translateX}px`,translateY:`${t.translateY}px`,scale:`${t.scaleX},${t.scaleY}`},a={translateX:"0px",translateY:"0px",scale:"1,1"},o={name:e,style:{},duration:300};return Ds(o.style,n.style,i,!0),Ds(o.style,r.style,a,!1),function(e){const t=new Map;void 0===e[0].opacity&&(t.set(48,1),t.set(49,0)),void 0===e[50].opacity&&(t.set(50,0),t.set(51,1));for(const[n,r]of t)e[n]=Object.assign({},e[n],{opacity:r})}(o.style),o}const js=["transform","originX","originY"];function Fs(e,t){if(t)for(const n of t)for(const[t,r]of Object.entries(n))e.set(t,r)}function Ms(e){return e.map(e=>{const t={};for(const[n,r]of Object.entries(e))(n.includes("translate")||n.includes("perspective"))&&"number"===typeof r?t[n]=`${r}px`:t[n]=r;return t})}let Vs=0;const Ps={[Rn.ENTERING]:"ENTERING",[Rn.EXITING]:"EXITING",[Rn.LAYOUT]:"LAYOUT"};function Ls(e){return`REA-${Ps[e]??""}-${Vs++}`}function Bs(e,t){const n=Ls(Rn.LAYOUT);let r,i;switch(e){case vs.LINEAR:i=function(e,t){const{translateX:n,translateY:r,scaleX:i,scaleY:a}=t;return{name:e,style:{0:{transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${a}`}]}},duration:300}}(n,t);break;case vs.SEQUENCED:i=function(e,t){const{translateX:n,translateY:r,scaleX:i,scaleY:a,reversed:o}=t;return{name:e,style:{0:{transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${a}`}]},50:{transform:[{translateX:o?`${n}px`:"0px",translateY:o?"0px":`${r}px`,scale:o?`1,${i}`:`${a},1`}]},100:{transform:[{translateX:"0px",translateY:"0px",scale:"1,1"}]}},duration:300}}(n,t);break;case vs.FADING:i=function(e,t){const{translateX:n,translateY:r,scaleX:i,scaleY:a}=t;return{name:e,style:{0:{opacity:1,transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${a}`}]},20:{opacity:0,transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${a}`}]},60:{opacity:0,transform:[{translateX:"0px",translateY:"0px",scale:"1,1"}]},100:{opacity:1,transform:[{translateX:"0px",translateY:"0px",scale:"1,1"}]}},duration:300}}(n,t);break;case vs.JUMPING:i=function(e,t){const{translateX:n,translateY:r,scaleX:i,scaleY:a}=t,o=Math.max(Math.abs(n),Math.abs(r))/2,s=r<=0?r-o:-r+o;return{name:e,style:{0:{transform:[{translateX:`${n}px`,translateY:`${r}px`,scale:`${i},${a}`}],easing:ro.exp},50:{transform:[{translateX:n/2+"px",translateY:`${s}px`,scale:`${i},${a}`}]},100:{transform:[{translateX:"0px",translateY:"0px",scale:"1,1"}]}},duration:300}}(n,t);break;case vs.CURVED:{r=Ls(Rn.LAYOUT);const{firstKeyframeObj:e,secondKeyframeObj:a}=function(e,t,n){return{firstKeyframeObj:{name:e,style:{0:{transform:[{translateX:`${n.translateX}px`,scale:`${n.scaleX},${n.scaleY}`}]}},duration:300},secondKeyframeObj:{name:t,style:{0:{transform:[{translateY:`${n.translateY}px`,scale:`${n.scaleX},${n.scaleY}`}]}},duration:300}}}(n,r,t);i=e;Es(r,xo(a));break}case vs.ENTRY_EXIT:i=Ns(n,t)}return Es(n,xo(i)),{transitionKeyframeName:n,dummyTransitionKeyframeName:r}}function Hs(e){const t=_o.get(e);if(t)return t;
23const n=e.getBoundingClientRect(),r={top:n.top,left:n.left,width:n.width,height:n.height,scrollOffsets:Ks(e)};return _o.set(e,r),r}function Ws(e){if(!e.easingV)return So("linear");const t=e.easingV[no];if(t in ko)return So(t);const n=function(e){if("string"===typeof e)return null;if(!("factory"in e))return null;const t=e.factory;if(!("__closure"in t))return null;const n=t.__closure;return"Bezier"in n?`cubic-bezier(${n.x1}, ${n.y1}, ${n.x2}, ${n.y2})`:null}(e.easingV);return n||(u.warn("Selected easing is not currently supported on web. Using linear easing instead."),So("linear"))}function zs(e=1e3){return Math.floor(Math.random()*(e+1))/1e3}function Ys(e){const t=e.randomizeDelay,n=t?zs():0;return e.delayV?t?zs(e.delayV):e.delayV/1e3:n}function Us(e){if(!e.reduceMotionV)return wi.jsValue;switch(e.reduceMotionV){case Fn.Never:return!1;case Fn.Always:return!0;default:return wi.jsValue}}function Xs(e,t){const n=t in _s?_s[t].duration:.3;return void 0!==e.durationV?e.durationV/1e3:n}function Gs(e){return void 0!==e.callbackV?e.callbackV:null}function qs(e){return!!e.reversed}function Js(e){const t=e.getBoundingClientRect(),n={top:t.top,left:t.left,width:t.width,height:t.height,scrollOffsets:Ks(e)};_o.set(e,n)}function $s(e,t,n=!1,r){const{animationName:i,duration:a,delay:o,easing:s}=t,l=()=>{e.style.animationName=i,e.style.animationDuration=`${a}s`,e.style.animationDelay=`${o}s`,e.style.animationTimingFunction=s,t.animationType===Rn.ENTERING&&o>0&&(e.style.animationFillMode="backwards")};t.animationType===Rn.ENTERING?requestAnimationFrame(l):l();const c=()=>{if(!r)return;const t=Zs(e);for(r.style.visibility="initial";e.firstChild;)r.appendChild(e.firstChild);Qs(r,t,e),e.removedAfterAnimation=!0,e.remove(),delete r.dummyClone};let u=!1;const d=e=>{!u&&t.callback&&(t.callback(e),u=!0)};e.onanimationend=()=>{n&&Js(e),c(),d(!0),e.removeEventListener("animationcancel",p)};const p=()=>{c(),d(!1),e.removeEventListener("animationcancel",p)};e.onanimationstart=()=>{t.animationType===Rn.ENTERING&&Ln({visibility:"initial"},e),e.addEventListener("animationcancel",p)},i in _s||As(i,a+o,()=>{n&&wo(e,Hs(e)),c(),d(!1)})}function Ks(e){let t=e;const n={scrollTopOffset:0,scrollLeftOffset:0};for(;t;)0!==t.scrollTop&&0===n.scrollTopOffset&&(n.scrollTopOffset=t.scrollTop),0!==t.scrollLeft&&0===n.scrollLeftOffset&&(n.scrollLeftOffset=t.scrollLeft),t=t.parentElement;return n}function Zs(e){const t=new Map,n=e=>{t.set(e,{top:e.scrollTop,left:e.scrollLeft});for(const t of Array.from(e.children))n(t)};return n(e),t}function Qs(e,t,n){const r=t.get(n??e);r&&(e.scrollTop=r.top,e.scrollLeft=r.left);for(const i of Array.from(e.children))Qs(i,t)}function el(e){const t=e.style.animationName;t&&t.startsWith("REA-ENTERING-")&&Y(e);for(const n of Array.from(e.children))n instanceof HTMLElement&&el(n)}function tl(e,t){const n=e.offsetParent,r=e.cloneNode();r.isDummy=!0,r.style.animationName="",e.style.visibility="hidden",e.dummyClone=r,e.style.animationName="";const i=Zs(e);for(el(e);e.firstChild;)r.appendChild(e.firstChild);n?.appendChild(r),Qs(r,i,e);const a=Hs(e),o=Ks(e),s=o.scrollTopOffset,l=a.scrollOffsets.scrollTopOffset;s!==l&&(a.top+=l-s);const c=o.scrollLeftOffset,u=a.scrollOffsets.scrollLeftOffset;c!==u&&(a.left+=u-c),_o.set(r,a),wo(r,a),$s(r,t,!1,e)}function nl(e,t,n,r){switch(e){case Rn.ENTERING:$s(n,t,!0);break;case Rn.LAYOUT:r.reversed=t.reversed,function(e,t,n){const{animationName:r}=t;let i;switch(r){case"LinearTransition":default:i=vs.LINEAR;break;case"SequencedTransition":i=vs.SEQUENCED;break;case"FadingTransition":i=vs.FADING;break;case"JumpingTransition":i=vs.JUMPING;break;case"CurvedTransition":i=vs.CURVED;break;case"EntryExitTransition":i=vs.ENTRY_EXIT}const{transitionKeyframeName:a,dummyTransitionKeyframeName:o}=Bs(i,n);if(t.animationName=a,i===vs.CURVED){const{dummy:r,dummyAnimationConfig:i}=Os(e,t,n,o);$s(r,i)}$s(e,t)}(n,t,r);break;case Rn.EXITING:tl(n,t)}}function rl(e,t){const n=function(e,t){return e===Rn.ENTERING?t.entering:e===Rn.EXITING?t.exiting:e===Rn.LAYOUT?t.layout:null}(t,e);if(!n)return null;const r=t===Rn.LAYOUT,i=n instanceof yo,a=void 0!==n.initialValues;let o;o=i?function(e,t){for(const a of Object.values(e))a.transform&&(a.transform=Ms(a.transform));const n={name:"",style:e,duration:-1};n.name=Ls(t);const r=Object.keys(e);for(let a=1;a<r.length;a++){const t=e[r[a]];t.easing&&(e[r[a-1]].easing=t.easing,delete t.easing)}const i=xo(n);return Es(n.name,i),n.name}(n.definitions,t):"function"===typeof n?n.presetName:n.constructor.presetName,a&&(o=function(e,t,n){const r=structuredClone(bs[e].style),i=r[0],{transform:a,originX:o,originY:s}=t,l=(0,Ye.default)(t,js),c=new Map;Fs(c,i.transform),a&&Fs(c,Ms(a));void 0!==o&&c.set("translateX",ie(o,"px")),void 0!==s&&c.set("translateY",ie(s,"px"));const u=Array.from(c,([e,t])=>({[e]:t}));c.size&&(i.transform=u),r[0]=Object.assign({},r[0],l);const d=Ls(n);return Es(d,xo({name:d,style:r,duration:bs[e].duration})),d}(o,n.initialValues,t));var s;if(s=r||i||a,!(o in _s)&&!s&&(u.warn("Couldn't load entering/exiting animation. Current version supports only predefined animations with modifiers: duration, delay, easing, randomizeDelay, withCallback, reducedMotion."),!0))return null;if(i){const e=Object.keys(n.definitions);e.includes("100")||e.includes("to")||u.warn("Neither '100' nor 'to' was specified in Keyframe definition. This may result in wrong final position of your component. One possible solution is to duplicate last timestamp in definition as '100' (or 'to')")}const l=function(e,t,n){return{animationName:e,animationType:t,duration:Xs(n,e),delay:Ys(n),easing:Ws(n),callback:Gs(n),reversed:qs(n)}}(o,t,n);return l}function il(e,t,n,r){const i=rl(e,n);!function(e,t){if(t instanceof yo){e.style.animationFillMode="forwards";
23for(const n of Object.values(t.definitions))if("originX"in n||"originY"in n)return void(e.style.position="absolute")}}(t,e.entering),i?.animationName in _s&&function(e,t){const n=/([a-zA-Z-]+)(?=:)/g,r=new Set;for(const a of e.matchAll(n))r.add(a[1]);const i=Array.from(t).filter(e=>r.has(e));0!==i.length&&u.warn(`${1===i.length?"Property":"Properties"} [${i.join(", ")}] may be overwritten by a layout animation. Please wrap your component with an animated view and apply the layout animation on the wrapper.`)}(_s[i?.animationName].style,t.style),i?nl(n,i,t,r):function(e,t){0===t?Ln({visibility:"initial"},e):setTimeout(()=>{Ln({visibility:"initial"},e)},1e3*t)}(t,0)}const al=function({_worklet_6497456306836_init_data:e,processBoxShadowWeb:t,processFilterWeb:n,_updatePropsJS:r}){const i=function(e,i,a){e.value?.forEach(e=>{const o=e.tag;"boxShadow"in i&&(i.boxShadow=t(i.boxShadow)),"filter"in i&&(i.filter=n(i.filter)),r(i,o,a)})};return i.__closure={processBoxShadowWeb:t,processFilterWeb:n,_updatePropsJS:r},i.__workletHash=6497456306836,i.__initData=e,i}({_worklet_6497456306836_init_data:{code:"(function reactNativeReanimated_updatePropsJs1(viewDescriptors,updates,isAnimatedProps){const{processBoxShadowWeb,processFilterWeb,_updatePropsJS}=this.__closure;var _viewDescriptors$valu;(_viewDescriptors$valu=viewDescriptors.value)===null||_viewDescriptors$valu===void 0||_viewDescriptors$valu.forEach(function(viewDescriptor){const component=viewDescriptor.tag;if('boxShadow'in updates){updates.boxShadow=processBoxShadowWeb(updates.boxShadow);}if('filter'in updates){updates.filter=processFilterWeb(updates.filter);}_updatePropsJS(updates,component,isAnimatedProps);});})"},processBoxShadowWeb:ge,processFilterWeb:se,_updatePropsJS:Ln}),ol=al,sl={code:"(function reactNativeReanimated_ViewDescriptorsSetJs1(descriptors){const{item,updater}=this.__closure;var _updater;const index=descriptors.findIndex(function(descriptor){return descriptor.tag===item.tag;});if(index!==-1){descriptors[index]=item;}else{descriptors.push(item);}(_updater=updater)===null||_updater===void 0||_updater(true);return descriptors;})"},ll={code:"(function reactNativeReanimated_ViewDescriptorsSetJs2(descriptors){const{viewTag}=this.__closure;const index=descriptors.findIndex(function(descriptor){return descriptor.tag===viewTag;});if(index!==-1){descriptors.splice(index,1);}return descriptors;})"};function cl(){const e=er([]),t=new Set,n={shareableViewDescriptors:e,add:(n,r)=>{t.add(n.tag);const i=r?.current;e.modify(function({_worklet_15581313645285_init_data:e,item:t,updater:n}){const r=function(e){const r=e.findIndex(e=>e.tag===t.tag);return-1!==r?e[r]=t:e.push(t),n?.(!0),e};return r.__closure={item:t,updater:n},r.__workletHash=0xe2bceaa3ae5,r.__initData=e,r}({_worklet_15581313645285_init_data:sl,item:n,updater:i}),!1)},remove:n=>{t.delete(n),e.modify(function({_worklet_10345680976669_init_data:e,viewTag:t}){const n=function(e){const n=e.findIndex(e=>e.tag===t);return-1!==n&&e.splice(n,1),e};return n.__closure={viewTag:t},n.__workletHash=0x968caa3bb1d,n.__initData=e,n}({_worklet_10345680976669_init_data:ll,viewTag:n}),!1)},has:e=>t.has(e)};return n}function ul(e){if(!Array.isArray(e))return[e];const t=[],n=e=>{e.forEach(e=>{Array.isArray(e)?n(e):t.push(e)})};return n(e),t}const dl=(e,t)=>("function"===typeof t||"object"===typeof t)&&(null!==t&&void 0!==t&&e in t);function pl(e){return e?e.reduce(({animatedStyles:e,cssStyle:t},n)=>(n?.viewDescriptors?e.push(n):t=Object.assign({},t,n),{animatedStyles:e,cssStyle:t}),{animatedStyles:[],cssStyle:null}):{animatedStyles:[],cssStyle:null}}function fl(e){return!!Array.isArray(e)&&e.some(e=>gl(e))}function hl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!0;for(const n of Object.keys(e))if(e[n]!==t[n])return!0;return!1}const ml=function({_worklet_13893759156912_init_data:e,isSharedValue:t}){const n=function(e){if(t(e))return e.value;if(Array.isArray(e))return e.map(n);if(e&&"object"===typeof e){const t={};for(const[r,i]of Object.entries(e))t[r]=n(i);return t}return e};return n.__closure={isSharedValue:t},n.__workletHash=0xca2e49442b0,n.__initData=e,n}({_worklet_13893759156912_init_data:{code:"(function getInlinePropsUpdate_reactNativeReanimated_InlinePropManagerJs1(styleValue){const getInlinePropsUpdate_reactNativeReanimated_InlinePropManagerJs1=this._recur;const{isSharedValue}=this.__closure;if(isSharedValue(styleValue)){return styleValue.value;}if(Array.isArray(styleValue)){return styleValue.map(getInlinePropsUpdate_reactNativeReanimated_InlinePropManagerJs1);}if(styleValue&&typeof styleValue==='object'){const update={};for(const[key,value]of Object.entries(styleValue)){update[key]=getInlinePropsUpdate_reactNativeReanimated_InlinePropManagerJs1(value);}return update;}return styleValue;})"},isSharedValue:nn});function gl(e){return!!e&&Object.keys(e).some(t=>{const n=e[t];return nn(n)||"transform"===t&&fl(n)})}function yl(e,t){if(t)return ml(e);const n={};for(const[r,i]of Object.entries(e))nn(i)||"transform"===r&&fl(i)||(n[r]=i);return n}const vl={code:"(function reactNativeReanimated_InlinePropManagerJs2(){const{hasInlineStyleProps,updateProps,shareableViewDescriptors,getInlinePropsUpdate,inlineStyleProps,hasInlineTopLevelProps,inlineTopLevelProps}=this.__closure;if(hasInlineStyleProps){updateProps(shareableViewDescriptors,getInlinePropsUpdate(inlineStyleProps));}if(hasInlineTopLevelProps){updateProps(shareableViewDescriptors,getInlinePropsUpdate(inlineTopLevelProps),true);}})"};class bl{_inlinePropsViewDescriptors=null;_inlinePropsMapperId=null;_inlineStyleProps={};_inlineTopLevelProps={};attachInlineProps(e,t){const{inlineStyleProps:n,inlineTopLevelProps:r}=function(e){const t={},n={};for(const r in e){const i=e[r];
23"style"===r?ul(e.style??[]).forEach(e=>{if(e)for(const[n,r]of Object.entries(e))(nn(r)||"transform"===n&&fl(r))&&(t[n]=r)}):nn(i)&&(n[r]=i)}return{inlineStyleProps:t,inlineTopLevelProps:n}}(e.props);if(hl(n,this._inlineStyleProps)||hl(r,this._inlineTopLevelProps)){if(!this._inlinePropsViewDescriptors){this._inlinePropsViewDescriptors=cl();const{viewTag:e,shadowNodeWrapper:n}=t;this._inlinePropsViewDescriptors.add({tag:e,shadowNodeWrapper:n})}const e=this._inlinePropsViewDescriptors.shareableViewDescriptors,i=Object.keys(n).length>0,a=Object.keys(r).length>0,o=i||a,s=function({_worklet_11190533457611_init_data:e,hasInlineStyleProps:t,updateProps:n,shareableViewDescriptors:r,getInlinePropsUpdate:i,inlineStyleProps:a,hasInlineTopLevelProps:o,inlineTopLevelProps:s}){const l=function(){t&&n(r,i(a)),o&&n(r,i(s),!0)};return l.__closure={hasInlineStyleProps:t,updateProps:n,shareableViewDescriptors:r,getInlinePropsUpdate:i,inlineStyleProps:a,hasInlineTopLevelProps:o,inlineTopLevelProps:s},l.__workletHash=0xa2d7fc586cb,l.__initData=e,l}({_worklet_11190533457611_init_data:vl,hasInlineStyleProps:i,updateProps:ol,shareableViewDescriptors:e,getInlinePropsUpdate:ml,inlineStyleProps:n,hasInlineTopLevelProps:a,inlineTopLevelProps:r});this._inlineStyleProps=n,this._inlineTopLevelProps=r,this._inlinePropsMapperId&&lr(this._inlinePropsMapperId),this._inlinePropsMapperId=null,o&&(this._inlinePropsMapperId=or(s,[n,r]))}}detachInlineProps(){this._inlinePropsMapperId&&(lr(this._inlinePropsMapperId),this._inlinePropsMapperId=null),this._inlinePropsViewDescriptors=null,this._inlineStyleProps={},this._inlineTopLevelProps={}}}const _l=new class{registerComponent(e){}unregisterComponent(e){}updateProps(e){}};class wl{constructor(e,t=[]){this.worklet=e,this.eventNames=t,this.listeners={},this.setupWebListeners()}setupWebListeners(){this.listeners={},this.eventNames.forEach(e=>{this.listeners[e]=function(e,t){return n=>{t(Object.assign({},n.nativeEvent,{eventName:e}))}}(e,this.worklet)})}updateEventHandler(e,t){this.worklet=e,this.eventNames=t,this.setupWebListeners()}registerForEvents(e,t){}unregisterFromEvents(e){}}function kl(){}class Sl{_initialPropsMap=new Map;filterNonAnimatedProps(e){const t=e.props,n={};let r=!1;for(const a in t){const r=t[a];if("style"===a){const r=ul(t.style??[]).map(t=>{if(t?.viewDescriptors){const n=t;return e._isFirstRender&&this._initialPropsMap.set(n,Object.assign({},n.initial.value,Ui(n.initial.updater))),this._initialPropsMap.get(n)??{}}return gl(t)?yl(t,e._isFirstRender):t});n[a]=r}else{if("animatedProps"===a)continue;dl("workletEventHandler",r)&&r.workletEventHandler instanceof wl?r.workletEventHandler.eventNames.length>0?r.workletEventHandler.eventNames.forEach(e=>{n[e]=dl("listeners",r.workletEventHandler)?r.workletEventHandler.listeners[e]:kl}):n[a]=kl:nn(r)?e._isFirstRender&&(n[a]=r.value):n[a]=r}}const i=t.animatedProps;if(i){ul(i).forEach(e=>{if(e)if(e.viewDescriptors&&e.initial){const t=e.initial.value;for(const e in t)n[e]=t[e]}else for(const t in e){if($t(t))continue;const i=e[t];en(i)?(r=!0,void 0!==i.default&&(n[t]=i.default)):n[t]=i}})}return n}}let xl=0;!function(){if(!he||null!==document.getElementById(ws))return;const e=document.createElement("style");e.id=ws,e.onload=()=>{if(e.sheet)for(const t in _s)e.sheet.insertRule(_s[t].style);else u.error("Failed to create layout animations stylesheet.")};const t=document.createElement("style");t.id=ks,document.head.appendChild(e),document.head.appendChild(t)}();class Cl extends bi{_animatedStyles=[];_prevAnimatedStyles=[];_animatedProps=[];_prevAnimatedProps=[];_isFirstRender=!0;jestAnimatedStyle={value:{}};jestAnimatedProps={value:{}};_InlinePropManager=new bl;_PropsFilter=new Sl;static contextType=kr;reanimatedID=xl++;constructor(e,t,n,r){super(e,t),this._options=r,this._displayName=n,this._configureSharedTransition(!0);const i=this.props.entering,a=this.context?.current;a||this._configureLayoutAnimation(Rn.ENTERING,i)}componentDidMount(){if(super.componentDidMount(),this._NativeEventsManager?.attachEvents(),this._updateAnimatedStylesAndProps(),this._InlinePropManager.attachInlineProps(this,this._getViewInfo()),this._options?.jsProps?.length&&_l.registerComponent(this,this._options.jsProps),this._configureLayoutAnimation(Rn.LAYOUT,this.props.layout),this._configureLayoutAnimation(Rn.EXITING,this.props.exiting),this._componentDOMRef){const e=this._componentDOMRef,t=e.dummyClone;for(;t?.firstChild;)e.appendChild(t.firstChild);if(delete e.dummyClone,this.props.exiting&&Js(e),!this.props.entering)return void(this._isFirstRender=!1);if(Us(this.props.entering))return this._isFirstRender=!1,void this.props.entering.callbackV?.(!0);const n=this.context?.current;n?e.style&&(e.style.visibility="initial"):il(this.props,e,Rn.ENTERING)}this._isFirstRender=!1}componentWillUnmount(){super.componentWillUnmount(),this._NativeEventsManager?.detachEvents(),this._detachStyles(),this._InlinePropManager.detachInlineProps(),this._options?.jsProps?.length&&_l.unregisterComponent(this);const e=this.props.exiting;if(this._componentDOMRef&&e){if(Us(e))return void e.callbackV?.(!0);Is(),il(this.props,this._componentDOMRef,Rn.EXITING)}}_syncStylePropsBackToReact(e){}_detachStyles(){const e=this.getComponentViewTag();if(-1!==e){for(const t of this._animatedStyles)t.viewDescriptors.remove(e);for(const t of this._animatedProps)t?.viewDescriptors?.remove(e)}}setNativeProps(e){this._options?.setNativeProps?this._options.setNativeProps(this._componentRef,e):this._componentRef?.setNativeProps?.(e)}_handleAnimatedStylesUpdate(e,t,n){const{viewTag:r,shadowNodeWrapper:i}=this._getViewInfo(),a=new Set(t),o=e=>e.viewDescriptors.has(r);if(e){if(1===t.length&&1===e.length&&t[0]===e[0]&&o(e[0]))return;for(const n of e){t.some(e=>!(e!==n||!o(e))&&(a.delete(e),!0))||n.viewDescriptors.remove(r)}}
23a.forEach(e=>{e.viewDescriptors.add({tag:r,shadowNodeWrapper:i},e.styleUpdaterContainer)})}_updateAnimatedStylesAndProps(){this._handleAnimatedStylesUpdate(this._prevAnimatedStyles,this._animatedStyles,this.jestAnimatedStyle),this._handleAnimatedStylesUpdate(this._prevAnimatedProps,this._animatedProps,this.jestAnimatedProps)}componentDidUpdate(e,t,n){if(this._configureLayoutAnimation(Rn.LAYOUT,this.props.layout,e.layout),this._configureLayoutAnimation(Rn.EXITING,this.props.exiting,e.exiting),this._configureSharedTransition(),this._NativeEventsManager?.updateEvents(e),this._updateAnimatedStylesAndProps(),this._InlinePropManager.attachInlineProps(this,this._getViewInfo()),this.props.exiting&&this._componentDOMRef&&Js(this._componentDOMRef),n&&this.props.layout){if(Us(this.props.layout))return void this.props.layout.callbackV?.(!0);!function(e,t,n){if(!e.layout)return;const r=t.getBoundingClientRect();if(a=n,(i=r).x===a.x&&i.y===a.y&&i.width===a.width&&i.height===a.height)return;var i,a;const o=e.layout.enteringV?.presetName,s=e.layout.exitingV?.presetName,l=(n.width-r.width)/2,c=(n.height-r.height)/2,u={translateX:n.x-r.x+l,translateY:n.y-r.y+c,scaleX:n.width/r.width,scaleY:n.height/r.height,reversed:!1,easingX:e.layout.easingXV?.[no]??"ease",easingY:e.layout.easingYV?.[no]??"ease",entering:o,exiting:s};il(e,t,Rn.LAYOUT,u)}(this.props,this._componentDOMRef,n)}}_updateStyles(e){const t=pl(ul(e.style??[]));this._prevAnimatedStyles=this._animatedStyles,this._animatedStyles=t.animatedStyles;const n=pl(ul(e.animatedProps??[]));if(this._prevAnimatedProps=this._animatedProps,this._animatedProps=n.animatedStyles,n.cssStyle){0;const t=Object.assign({},e,n.cssStyle);delete t.style,delete t.animatedProps,this._cssStyle=t}else this._cssStyle=t.cssStyle??{}}_configureLayoutAnimation(e,t,n){}_configureSharedTransition(e){if(!Gn("ENABLE_SHARED_ELEMENT_TRANSITIONS"))return;if(!this.props.sharedTransitionTag)return void(this._sharedTransitionTag&&(e?this.reanimatedID:this.getComponentViewTag(),e?Rn.SHARED_ELEMENT_TRANSITION_NATIVE_ID:Rn.SHARED_ELEMENT_TRANSITION,this._sharedTransitionTag=void 0));this._sharedTransitionTag=this.props.sharedTransitionTag;const t=this.props.sharedTransitionStyle??this._sharedTransition??new bo;this._sharedTransition!==t&&(e?this.reanimatedID:this.getComponentViewTag(),e?Rn.SHARED_ELEMENT_TRANSITION_NATIVE_ID:Rn.SHARED_ELEMENT_TRANSITION,function(e){if($n(e))return e.build()}(t),this.props.sharedTransitionTag,this._sharedTransition=t)}getSnapshotBeforeUpdate(){return this.props.layout&&this._componentDOMRef?.getBoundingClientRect?this._componentDOMRef.getBoundingClientRect():null}render(){const e=this._PropsFilter.filterNonAnimatedProps(this);return this._isFirstRender&&e.entering&&!Us(e.entering)&&(e.style=Array.isArray(e.style)?e.style.concat([{visibility:"hidden"}]):Object.assign({},e.style??{},{visibility:"hidden"})),"RadialGradient"!==this.ChildComponent.displayName&&"LinearGradient"!==this.ChildComponent.displayName||void 0===e.children&&(e.children=(0,wr.jsx)(qn.Fragment,{})),super.render(Object.assign({nativeID:void 0},e))}}function El(e,t){class n extends Cl{static displayName=`AnimatedComponent(${e.displayName||e.name||"Component"})`;constructor(r){const i=t?.jsProps??e.jsProps,a=i?.length?Object.assign({},t,{jsProps:i}):t;super(e,r,n.displayName,a)}}const r=e=>(0,wr.jsx)(n,Object.assign({},e,{ref:null},null===e.ref?null:{forwardedRef:e.ref}));return r.displayName=e.displayName||e.name||"Component",r}class Al{#o;#s;#l=-1;constructor(e,t){this.#o=e,this.#s=t,this.#l=this.getEventViewTag()}attachEvents(){Il(this.#o.props,(e,t)=>{t.registerForEvents(this.#l,e)})}detachEvents(){Il(this.#o.props,(e,t)=>{t.unregisterFromEvents(this.#l)})}updateEvents(e){const t=this.getEventViewTag(!0);if(this.#l!==t)return Il(e,(e,t)=>{t.unregisterFromEvents(this.#l)}),this.#l=t,void this.attachEvents();Il(e,(e,t)=>{const n=this.#o.props[e];n?Tl(n)&&n.workletEventHandler!==t&&(t.unregisterFromEvents(this.#l),n.workletEventHandler.registerForEvents(this.#l)):t.unregisterFromEvents(this.#l)}),Il(this.#o.props,(t,n)=>{e[t]||n.registerForEvents(this.#l)})}getEventViewTag(e=!1){const t=this.#o._componentRef;if(t?.getScrollableNode){const e=t.getScrollableNode();return"number"===typeof e?e:_r(e)??-1}return this.#s?.setNativeProps?this.#o.getComponentViewTag():e?t?.__nativeTag?t.__nativeTag??-1:t?(this.#o,null)?.__nativeTag??_r(t)??-1:-1:this.#o.getComponentViewTag()}}function Tl(e){return dl("workletEventHandler",e)&&e.workletEventHandler instanceof wl}function Il(e,t){for(const n in e){const r=e[n];Tl(r)&&t(n,r.workletEventHandler)}}var Rl=n(73929);const Ol=El(Rl.default),Dl=["itemLayoutAnimation","skipEnteringExitingAnimations","CellRendererComponentStyle","ref"],Nl=El(Jn.default),jl=function(e){const{itemLayoutAnimation:t,skipEnteringExitingAnimations:n,CellRendererComponentStyle:r,ref:i}=e,a=(0,Ye.default)(e,Dl);
23"scrollEventThrottle"in a||(a.scrollEventThrottle=1);const o=(0,qn.useRef)(t);o.current=t;const s=(0,qn.useRef)(r);s.current=r;const l=(0,qn.useMemo)(()=>((e,t)=>n=>(0,wr.jsx)(Ol,{layout:e?.current,onLayout:n.onLayout,style:[n.style,"function"===typeof t?.current?t?.current({index:n.index,item:n.item}):t?.current],children:n.children}))(o,s),[]),c=(0,wr.jsx)(Nl,Object.assign({ref:i},a,{CellRendererComponent:l}));return void 0===n?c:(0,wr.jsx)(xr,{skipEntering:!0,skipExiting:!0,children:c})};const Fl=El(n(40484).default);var Ml=n(2772);const Vl={code:"(function reactNativeReanimated_useAnimatedKeyboardJs1(state,height){const{keyboardEventData}=this.__closure;keyboardEventData.state.value=state;keyboardEventData.height.value=height;})"},Pl={code:"(function reactNativeReanimated_useAnimatedKeyboardJs2(state,height){const{keyboardEventData}=this.__closure;keyboardEventData.state.value=state;keyboardEventData.height.value=height;})"};function Ll(e={isStatusBarTranslucentAndroid:void 0,isNavigationBarTranslucentAndroid:void 0}){const t=(0,qn.useRef)(null),n=(0,qn.useRef)(-1),r=(0,qn.useRef)(!1);if(null===t.current){const i={state:er(jn.UNKNOWN),height:er(0)};n.current=mr(function({_worklet_14962846427204_init_data:e,keyboardEventData:t}){const n=function(e,n){t.state.value=e,t.height.value=n};return n.__closure={keyboardEventData:t},n.__workletHash=0xd9bcf256844,n.__initData=e,n}({_worklet_14962846427204_init_data:Vl,keyboardEventData:i}),e),t.current=i,r.current=!0}return(0,qn.useEffect)(()=>{if(!1===r.current&&null!==t.current){const i=t.current;n.current=mr(function({_worklet_17494444540327_init_data:e,keyboardEventData:t}){const n=function(e,n){t.state.value=e,t.height.value=n};return n.__closure={keyboardEventData:t},n.__workletHash=0xfe93e2701a7,n.__initData=e,n}({_worklet_17494444540327_init_data:Pl,keyboardEventData:i}),e),r.current=!0}return()=>{!function(e){Wn.unsubscribeFromKeyboardEvents(e)}(n.current),r.current=!1}},[]),t.current}const Bl=function({_worklet_17293940276929_init_data:e}){const t=function(e){return Array.isArray(e)?e.some(t):"object"===typeof e&&null!==e&&(void 0!==e.onFrame||Object.values(e).some(t))};return t.__closure={},t.__workletHash=0xfba8f2abec1,t.__initData=e,t}({_worklet_17293940276929_init_data:{code:"(function isAnimated_reactNativeReanimated_utilsJs1(prop){const isAnimated_reactNativeReanimated_utilsJs1=this._recur;if(Array.isArray(prop)){return prop.some(isAnimated_reactNativeReanimated_utilsJs1);}else if(typeof prop==='object'&&prop!==null){if(prop.onFrame!==undefined){return true;}else{return Object.values(prop).some(isAnimated_reactNativeReanimated_utilsJs1);}}return false;})"}}),Hl=function({_worklet_15622241109503_init_data:e}){const t=function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i=0;i<n.length;i++)if(e[n[i]]!==t[n[i]])return!1;return!0};return t.__closure={},t.__workletHash=0xe355621c5ff,t.__initData=e,t}({_worklet_15622241109503_init_data:{code:"(function shallowEqual_reactNativeReanimated_utilsJs2(a,b){const aKeys=Object.keys(a);const bKeys=Object.keys(b);if(aKeys.length!==bKeys.length){return false;}for(let i=0;i<aKeys.length;i++){if(a[aKeys[i]]!==b[aKeys[i]]){return false;}}return true;})"}}),Wl=(function({_worklet_604160691437_init_data:e}){const t=function(e){if("object"!==typeof e)throw new Error(`[Reanimated] \`useAnimatedStyle\` has to return an object, found ${typeof e} instead.`);if(Array.isArray(e))throw new Error("[Reanimated] `useAnimatedStyle` has to return an object and cannot return static styles combined with dynamic ones. Please do merging where a component receives props.")};t.__closure={},t.__workletHash=604160691437,t.__initData=e}({_worklet_604160691437_init_data:{code:"(function validateAnimatedStyles_reactNativeReanimated_utilsJs3(styles){if(typeof styles!=='object'){throw new Error(\"[Reanimated] `useAnimatedStyle` has to return an object, found \"+typeof styles+\" instead.\");}else if(Array.isArray(styles)){throw new Error('[Reanimated] `useAnimatedStyle` has to return an object and cannot return static styles comb
23ined with dynamic ones. Please do merging where a component receives props.');}})"}}),function({_worklet_1066469966865_init_data:e}){const t=function(e,n,r,i){if(Array.isArray(n)&&n.forEach((n,a)=>{t(e,n,r&&r[a],i&&i[a])}),"object"===typeof n&&n.onFrame){const t=n;let a=t.current;void 0!==i&&null!==i&&("object"===typeof i?void 0!==i.value?a=i.value:void 0!==i.onFrame&&(void 0!==r?.current?a=r.current:void 0!==i?.current&&(a=i.current)):a=i),t.callStart=e=>{t.onStart(t,a,e,r)},t.callStart(e),t.callStart=null}else"object"===typeof n&&Object.keys(n).forEach(a=>t(e,n[a],r&&r[a],i&&i[a]))};return t.__closure={},t.__workletHash=0xf84e904411,t.__initData=e,t}({_worklet_1066469966865_init_data:{code:"(function prepareAnimation_reactNativeReanimated_useAnimatedStyleCommonJs1(frameTimestamp,animatedProp,lastAnimation,lastValue){const prepareAnimation_reactNativeReanimated_useAnimatedStyleCommonJs1=this._recur;if(Array.isArray(animatedProp)){animatedProp.forEach(function(prop,index){prepareAnimation_reactNativeReanimated_useAnimatedStyleCommonJs1(frameTimestamp,prop,lastAnimation&&lastAnimation[index],lastValue&&lastValue[index]);});}if(typeof animatedProp==='object'&&animatedProp.onFrame){const animation=animatedProp;let value=animation.current;if(lastValue!==undefined&&lastValue!==null){if(typeof lastValue==='object'){if(lastValue.value!==undefined){value=lastValue.value;}else if(lastValue.onFrame!==undefined){if((lastAnimation===null||lastAnimation===void 0?void 0:lastAnimation.current)!==undefined){value=lastAnimation.current;}else if((lastValue===null||lastValue===void 0?void 0:lastValue.current)!==undefined){value=lastValue.current;}}}else{value=lastValue;}}animation.callStart=function(timestamp){animation.onStart(animation,value,timestamp,lastAnimation);};animation.callStart(frameTimestamp);animation.callStart=null;}else if(typeof animatedProp==='object'){Object.keys(animatedProp).forEach(function(key){return prepareAnimation_reactNativeReanimated_useAnimatedStyleCommonJs1(frameTimestamp,animatedProp[key],lastAnimation&&lastAnimation[key],lastValue&&lastValue[key]);});}})"}})),zl=function({_worklet_12404339632348_init_data:e}){const t=function(e,n,r,i,a,o){if(!a.value)return!0;if(Array.isArray(e)){i[r]=[];let s=!0;return o="boxShadow"===r,e.forEach((e,l)=>{t(e,n,l,i[r],a,o)||(s=!1)}),s}if("object"===typeof e&&e.onFrame){let t=!0;return e.finished||(e.callStart&&(e.callStart(n),e.callStart=null),t=e.onFrame(e,n),e.timestamp=n,t&&(e.finished=!0,e.callback?.(!0))),o&&"object"===typeof e.current?i[r]=Object.assign({},e.current):i[r]=e.current,t}if("object"===typeof e){i[r]={};let s=!0;return Object.keys(e).forEach(l=>{t(e[l],n,l,i[r],a,o)||(s=!1)}),s}return i[r]=e,!0};return t.__closure={},t.__workletHash=0xb481c41e8dc,t.__initData=e,t}({_worklet_12404339632348_init_data:{code:"(function runAnimations_reactNativeReanimated_useAnimatedStyleCommonJs2(animation,timestamp,key,result,animationsActive,forceCopyAnimation){const runAnimations_reactNativeReanimated_useAnimatedStyleCommonJs2=this._recur;if(!animationsActive.value){return true;}if(Array.isArray(animation)){result[key]=[];let allFinished=true;forceCopyAnimation=key==='boxShadow';animation.forEach(function(entry,index){if(!runAnimations_reactNativeReanimated_useAnimatedStyleCommonJs2(entry,timestamp,index,result[key],animationsActive,forceCopyAnimation)){allFinished=false;}});return allFinished;}else if(typeof animation==='object'&&animation.onFrame){let finished=true;if(!animation.finished){if(animation.callStart){animation.callStart(timestamp);animation.callStart=null;}finished=animation.onFrame(animation,timestamp);animation.timestamp=timestamp;if(finished){var _animation$callback;animation.finished=true;(_animation$callback=animation.callback)===null||_animation$callback===void 0||_animation$callback.call(animation,true);}}if(forceCopyAnimation&&typeof animation.current==='object'){result[key]={...animation.current};}else{result[key]=animation.current;}return finished;}else if(typeof animation==='object'){result[key]={};let allFinished=true;Object.keys(animation).forEach(function(k){if(!runAnimations_reactNativeReanimated_useAnimatedStyleCommonJs2(animation[k],timestamp,k,result[key],animationsActive,forceCopyAnimation)){allFinished=false;}});return allFinished;}else{result[key]=animation;return true;}}
23)"}}),Yl=function({_worklet_7314300413481_init_data:e,isAnimated:t,prepareAnimation:r,runAnimations:i,updateProps:a,shallowEqual:o}){const s=function(e,s,l,c,u=!1,d){const p=l.animations??{},f=s()??{},h=l.last,m={};let g,y=!1,v=!1;for(const i in f){const e=f[i];t(e)?(g=n.g.__frameTimestamp||n.g._getAnimationTimestamp(),r(g,e,p[i],h[i]),p[i]=e,y=!0):(v=!0,m[i]=e,delete p[i])}if(y){const t=n=>{const{animations:r,last:o,isAnimationCancelled:s}=l;if(s)return void(l.isAnimationRunning=!1);const d={};let p=!0;for(const e in r){i(r[e],n,e,d,c)?(Array.isArray(d[e])?d[e].forEach(t=>{for(const n in t)o[e]&&"object"===typeof o[e]||(o[e]={}),o[e][n]=t[n]}):o[e]=d[e],delete r[e]):p=!1}d&&a(e,d,u),p?l.isAnimationRunning=!1:requestAnimationFrame(t)};l.animations=p,l.isAnimationRunning||(l.isAnimationCancelled=!1,l.isAnimationRunning=!0,t(g)),v&&a(e,m,u)}else l.isAnimationCancelled=!0,l.animations=[],o(h,f)&&!d||a(e,f,u);l.last=f};return s.__closure={isAnimated:t,prepareAnimation:r,runAnimations:i,updateProps:a,shallowEqual:o},s.__workletHash=7314300413481,s.__initData=e,s}({_worklet_7314300413481_init_data:{code:"(function styleUpdater_reactNativeReanimated_useAnimatedStyleCommonJs3(viewDescriptors,updater,state,animationsActive,isAnimatedProps=false,forceUpdate){const{isAnimated,prepareAnimation,runAnimations,updateProps,shallowEqual}=this.__closure;var _state$animations,_updater;const animations=(_state$animations=state.animations)!==null&&_state$animations!==void 0?_state$animations:{};const newValues=(_updater=updater())!==null&&_updater!==void 0?_updater:{};const oldValues=state.last;const nonAnimatedNewValues={};let hasAnimations=false;let frameTimestamp;let hasNonAnimatedValues=false;for(const key in newValues){const value=newValues[key];if(isAnimated(value)){frameTimestamp=global.__frameTimestamp||global._getAnimationTimestamp();prepareAnimation(frameTimestamp,value,animations[key],oldValues[key]);animations[key]=value;hasAnimations=true;}else{hasNonAnimatedValues=true;nonAnimatedNewValues[key]=value;delete animations[key];}}if(hasAnimations){const frame=function(timestamp){const{animations:animations,last:last,isAnimationCancelled:isAnimationCancelled}=state;if(isAnimationCancelled){state.isAnimationRunning=false;return;}const updates={};let allFinished=true;for(const propName in animations){const finished=runAnimations(animations[propName],timestamp,propName,updates,animationsActive);if(finished){if(Array.isArray(updates[propName])){updates[propName].forEach(function(obj){for(const prop in obj){if(!last[propName]||typeof last[propName]!=='object'){last[propName]={};}last[propName][prop]=obj[prop];}});}else{last[propName]=updates[propName];}delete animations[propName];}else{allFinished=false;}}if(updates){updateProps(viewDescriptors,updates,isAnimatedProps);}if(!allFinished){requestAnimationFrame(frame);}else{state.isAnimationRunning=false;}};state.animations=animations;if(!state.isAnimationRunning){state.isAnimationCancelled=false;state.isAnimationRunning=true;frame(frameTimestamp);}if(hasNonAnimatedValues){updateProps(viewDescriptors,nonAnimatedNewValues,isAnimatedProps);}}else{state.isAnimationCancelled=true;state.animations=[];if(!shallowEqual(oldValues,newValues)||forceUpdate){updateProps(viewDescriptors,newValues,isAnimatedProps);}}state.last=newValues;})"},isAnimated:Bl,prepareAnimation:Wl,runAnimations:zl,updateProps:ol,shallowEqual:Hl});function Ul(e){const[t]=(0,qn.useState)(()=>er("function"===typeof e?e():e));return(0,qn.useEffect)(()=>()=>{ta(t)},[t]),t}const Xl=function({_worklet_3666587193976_init_data:e,isAnimated:t,prepareAnimation:r,runAnimations:i,updatePropsJestWrapper:a,shallowEqual:o}){const s=function(e,s,l,c,u,d,p){const f=l.animations??{},h=s()??{},m=l.last;let g,y=!1;Object.keys(f).forEach(e=>{const n=h[e];t(n)||delete f[e]}),Object.keys(h).forEach(e=>{const i=h[e];t(i)&&(g=n.g.__frameTimestamp||n.g._getAnimationTimestamp(),r(g,i,f[e],m[e]),f[e]=i,y=!0)}),y?(l.animations=f,l.isAnimationRunning||(l.isAnimationCancelled=!1,l.isAnimationRunning=!0,function t(n){const{animations:r,last:o,isAnimationCancelled:s}=l;if(s)return void(l.isAnimationRunning=!1);const p={};let f=!0;
23Object.keys(r).forEach(e=>{i(r[e],n,e,p,c)?(o[e]=p[e],delete r[e]):f=!1}),Object.keys(p).length&&a?.(e,p,u,d),f?l.isAnimationRunning=!1:requestAnimationFrame(t)}(g))):(l.isAnimationCancelled=!0,l.animations=[]),l.last=h,o(m,h)&&!p||a?.(e,h,u,d)};return s.__closure={isAnimated:t,prepareAnimation:r,runAnimations:i,updatePropsJestWrapper:a,shallowEqual:o},s.__workletHash=3666587193976,s.__initData=e,s}({_worklet_3666587193976_init_data:{code:"(function jestStyleUpdater_reactNativeReanimated_useAnimatedStyleJs1(viewDescriptors,updater,state,animationsActive,animatedValues,adapters,forceUpdate){const{isAnimated,prepareAnimation,runAnimations,updatePropsJestWrapper,shallowEqual}=this.__closure;var _state$animations,_updater;const animations=(_state$animations=state.animations)!==null&&_state$animations!==void 0?_state$animations:{};const newValues=(_updater=updater())!==null&&_updater!==void 0?_updater:{};const oldValues=state.last;let hasAnimations=false;let frameTimestamp;Object.keys(animations).forEach(function(key){const value=newValues[key];if(!isAnimated(value)){delete animations[key];}});Object.keys(newValues).forEach(function(key){const value=newValues[key];if(isAnimated(value)){frameTimestamp=global.__frameTimestamp||global._getAnimationTimestamp();prepareAnimation(frameTimestamp,value,animations[key],oldValues[key]);animations[key]=value;hasAnimations=true;}});function frame(timestamp){const{animations:animations,last:last,isAnimationCancelled:isAnimationCancelled}=state;if(isAnimationCancelled){state.isAnimationRunning=false;return;}const updates={};let allFinished=true;Object.keys(animations).forEach(function(propName){const finished=runAnimations(animations[propName],timestamp,propName,updates,animationsActive);if(finished){last[propName]=updates[propName];delete animations[propName];}else{allFinished=false;}});if(Object.keys(updates).length){var _updatePropsJestWrapp;(_updatePropsJestWrapp=updatePropsJestWrapper)===null||_updatePropsJestWrapp===void 0||_updatePropsJestWrapp(viewDescriptors,updates,animatedValues,adapters);}if(!allFinished){requestAnimationFrame(frame);}else{state.isAnimationRunning=false;}}if(hasAnimations){state.animations=animations;if(!state.isAnimationRunning){state.isAnimationCancelled=false;state.isAnimationRunning=true;frame(frameTimestamp);}}else{state.isAnimationCancelled=true;state.animations=[];}state.last=newValues;if(!shallowEqual(oldValues,newValues)||forceUpdate){var _updatePropsJestWrapp2;(_updatePropsJestWrapp2=updatePropsJestWrapper)===null||_updatePropsJestWrapp2===void 0||_updatePropsJestWrapp2(viewDescriptors,newValues,animatedValues,adapters);}})"},isAnimated:Bl,prepareAnimation:Wl,runAnimations:zl,updatePropsJestWrapper:fe?(e,t,n,r)=>{r.forEach(e=>{e(t)}),n.current.value=Object.assign({},n.current.value,t),ol(e,t)}:void 0,shallowEqual:Hl});function Gl(){return"{}"}const ql={code:"(function reactNativeReanimated_useAnimatedStyleJs2(){const{updater,adaptersArray}=this.__closure;const newValues=updater();adaptersArray.forEach(function(adapter){adapter(newValues);});return newValues;})"},Jl={code:"(function reactNativeReanimated_useAnimatedStyleJs3(forceUpdate){const{jestStyleUpdater,shareableViewDescriptors,updater,remoteState,areAnimationsActive,jestAnimatedValues,adaptersArray}=this.__closure;jestStyleUpdater(shareableViewDescriptors,updater,remoteState,areAnimationsActive,jestAnimatedValues,adaptersArray,forceUpdate);})"},$l={code:"(function reactNativeReanimated_useAnimatedStyleJs4(forceUpdate){const{styleUpdater,shareableViewDescriptors,updaterFn,remoteState,areAnimationsActive,isAnimatedProps}=this.__closure;styleUpdater(shareableViewDescriptors,updaterFn,remoteState,areAnimationsActive,isAnimatedProps,forceUpdate);})"};function Kl(e,t,n,r=!1){const i=(0,qn.useRef)(null);let a=Object.values(e.__closure??{});!a.length&&t?.length&&(a=t);const o=n?Array.isArray(n)?n:[n]:[],s=n?(l=o,Object.values(l).reduce((e,t)=>e+t.__workletHash.toString(),"")):null;var l;const c=Ul(!0),u=(0,qn.useRef)({});if(t=t?[...t,e.__workletHash]:[...a,e.__workletHash],s&&t.push(s),!i.current){const t=Ui(e);0,i.current={initial:{value:t,updater:e},remoteState:(0,In.makeShareable)({last:t,animations:{},isAnimationCancelled:!1,isAnimationRunning:!1}),viewDescriptors:cl(),styleUpdaterContainer:{current:void 0}}}const{initial:d,remoteState:p,viewDescriptors:f}=i.current,h=f.shareableViewDescriptors;t.push(h),(0,qn.useEffect)(()=>{let t,s=e;n&&(s=function({_worklet_4594641068396_init_data:e,updater:t,adaptersArray:n}){const r=function(){const e=t();
23return n.forEach(t=>{t(e)}),e};return r.__closure={updater:t,adaptersArray:n},r.__workletHash=4594641068396,r.__initData=e,r}({_worklet_4594641068396_init_data:ql,updater:e,adaptersArray:o})),t=fe?function({_worklet_243345042515_init_data:e,jestStyleUpdater:t,shareableViewDescriptors:n,updater:r,remoteState:i,areAnimationsActive:a,jestAnimatedValues:o,adaptersArray:s}){const l=function(e){t(n,r,i,a,o,s,e)};return l.__closure={jestStyleUpdater:t,shareableViewDescriptors:n,updater:r,remoteState:i,areAnimationsActive:a,jestAnimatedValues:o,adaptersArray:s},l.__workletHash=243345042515,l.__initData=e,l}({_worklet_243345042515_init_data:Jl,jestStyleUpdater:Xl,shareableViewDescriptors:h,updater:e,remoteState:p,areAnimationsActive:c,jestAnimatedValues:u,adaptersArray:o}):function({_worklet_7584999510196_init_data:e,styleUpdater:t,shareableViewDescriptors:n,updaterFn:r,remoteState:i,areAnimationsActive:a,isAnimatedProps:o}){const s=function(e){t(n,r,i,a,o,e)};return s.__closure={styleUpdater:t,shareableViewDescriptors:n,updaterFn:r,remoteState:i,areAnimationsActive:a,isAnimatedProps:o},s.__workletHash=7584999510196,s.__initData=e,s}({_worklet_7584999510196_init_data:$l,styleUpdater:Yl,shareableViewDescriptors:h,updaterFn:s,remoteState:p,areAnimationsActive:c,isAnimatedProps:r}),i.current&&(i.current.styleUpdaterContainer.current=t);const l=or(t,a);return()=>{lr(l)}},t),(0,qn.useEffect)(()=>(c.value=!0,()=>{c.value=!1}),[c]);const m=(0,qn.useRef)(null);if(!m.current){const e=i.current.styleUpdaterContainer;m.current=fe?{viewDescriptors:f,initial:d,jestAnimatedValues:u,toJSON:Gl,styleUpdaterContainer:e}:{viewDescriptors:f,initial:d,styleUpdaterContainer:e}}return m.current}const Zl=function(e,t,n){return Kl(e,t,n,!0)},Ql={code:"(function reactNativeReanimated_useAnimatedReactionCommonJs1(){const{prepare,react,previous}=this.__closure;const input=prepare();react(input,previous.value);previous.value=input;})"};function ec(e,t,n){let r=Object.values(e.__closure??{});!r.length&&n?.length&&(r=n),function(e,t,n,r){const i=Ul(null);n=void 0===n?[...Object.values(e.__closure??{}),...Object.values(t.__closure??{}),e.__workletHash,t.__workletHash]:[...n,e.__workletHash,t.__workletHash],(0,qn.useEffect)(()=>{const n=function({_worklet_1861159208909_init_data:e,prepare:t,react:n,previous:r}){const i=function(){const e=t();n(e,r.value),r.value=e};return i.__closure={prepare:t,react:n,previous:r},i.__workletHash=1861159208909,i.__initData=e,i}({_worklet_1861159208909_init_data:Ql,prepare:e,react:t,previous:i}),a=or(n,r);return()=>{lr(a)}},n)}(e,t,n,r)}function tc(){return function(e){const t=(0,qn.useRef)(new Map).current,n=(0,qn.useRef)(null),r=(0,qn.useRef)(null);if(!r.current){const i=r=>{if(r&&(n.current=e(r),i.getTag=()=>r.getScrollableNode?.()||_r(r),i.current=r,t.size)){const e=i?.getTag?.()??null;t.forEach((n,r)=>{n?.(),t.set(r,r(e))})}return n.current};i.observe=e=>{const n=e(i?.getTag?.()??null);return t.set(e,n),()=>{t.get(e)?.(),t.delete(e)}},i.current=null,r.current=i}return r.current}(e=>e.getScrollableNode?e.getScrollableNode():e.getNativeScrollRef?e.getNativeScrollRef():e)}function nc(e,t=[],n=!1){const r=(0,qn.useRef)(null);if(null===r.current){const n=new wl(e,t);r.current={workletEventHandler:n}}else if(n){const n=r.current.workletEventHandler;n.updateEventHandler(e,t),r.current={workletEventHandler:n}}return r.current}const rc="function"===typeof Object.is?Object.is:(e,t)=>e===t&&(0!==e||1/e===1/t)||Number.isNaN(e)&&Number.isNaN(t);function ic(e,t){return!!rc(e,t)||e.__workletHash===t.__workletHash&&function(e,t){const n=Object.keys(e),r=Object.keys(t);return r.length===n.length&&r.every(n=>n in e&&rc(e[n],t[n]))}(e.__closure,t.__closure)}function ac(e,t){const n=(0,qn.useRef)(null);null===n.current&&(n.current={context:void 0,prevHandlers:void 0,prevDependencies:[]});const r=n.current;let i=!0;var a,o;return!function(e){const t=Object.values(e);return 0===t.length||t.some(In.isWorkletFunction)}(e)?t&&(a=t,o=r.prevDependencies,i=!(a&&o&&a.length===o.length&&a.every((e,t)=>rc(e,o[t])))):i=!function(e,t){if(!e||!t)return!1;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>{const r=e[n],i=t[n];return!(!r||!i)&&ic(r,i)})}(e,r.prevHandlers),(0,qn.useEffect)(()=>{r.prevHandlers=e,r.prevDependencies=t}),{get context(){return void 0===r.context&&(r.context=(0,In.makeShareable)({})),r.context},doDependenciesDiffer:i}}const oc={code:"(function reactNativeReanimated_useAnimatedScrollHandlerJs1(event){const{scrollHandlers,context}=this.__closure;const{onScroll:onScroll,onBeginDrag:onBeginDrag,onEndDrag:onEndDrag,onMomentumBegin:onMomentumBegin,onMomentumEnd:onMomentumEnd}=scrollHandlers;if(onScroll&&event.eventName.endsWith('onScroll')){onScroll(event,context);}else if(onBeginDrag&&event.eventName.endsWith('onScrollBeginDrag')){onBeginDrag(event,context);}else if(onEndDrag&&event.eventName.endsWith('onScrollEndDrag')){onEndDrag(event,context);}else if(onMomentumBegin&&event.eventName.endsWith('onMomentumScrollBegin')){onMomentumBegin(event,context);}else if(onMomentumEnd&&event.eventName.endsWith('onMomentumScrollEnd')){onMomentumEnd(event,context);}})"};function sc(e,t){const n="function"===typeof e?{onScroll:e}:e,{context:r,doDependenciesDiffer:i}=ac(n,t),a=["onScroll"];return void 0!==n.onBeginDrag&&a.push("onScrollBeginDrag"),void 0!==n.onEndDrag&&a.push("onScrollEndDrag"),void 0!==n.onMomentumBegin&&a.push("onMomentumScrollBegin"),void 0!==n.onMomentumEnd&&a.push("onMomentumScrollEnd"),nc(function({_worklet_15539639465072_init_data:e,scrollHandlers:t,context:n}){const r=function(e){const{onScroll:r,onBeginDrag:i,onEndDrag:a,onMomentumBegin:o,onMomentumEnd:s}=t;r&&e.eventName.endsWith("onScroll")?r(e,n):i&&e.eventName.endsWith("onScrollBeginDrag")?i(e,n):a&&e.eventName.endsWith("onScrollEndDrag")?a(e,n):o&&e.eventName.endsWith("onMomentumScrollBegin")?o(e,n):s&&e.eventName.endsWith("onMomentumScrollEnd")&&s(e,n)};return r.__closure={scrollHandlers:t,context:n},r.__workletHash=0xe221ab0b470,r.__initData=e,r}({_worklet_15539639465072_init_data:oc,scrollHandlers:n,context:r}),a,i)}const lc=function({_worklet_9994519512589_init_data:e}){const t=function(e,t,n){const r=Math.cos(e/2),i=Math.sin(e/2),a=Math.cos(t/2),o=Math.sin(t/2),s=Math.cos(n/2),l=Math.sin(n/2);return[i*a*s-r*o*l,r*o*s+i*a*l,r*a*l+i*o*s,r*a*s-i*o*l]};return t.__closure={},t.__workletHash=9994519512589,t.__initData=e,t}({_worklet_9994519512589_init_data:{code:"(function eulerToQuaternion_reactNativeReanimated_useAnimatedSensorJs1(pitch,roll,yaw){const c1=Math.cos(pitch/2);const s1=Math.sin(pitch/2);const c2=Math.cos(roll/2);const s2=Math.sin(roll/2);const c3=Math.cos(yaw/2);const s3=Math.sin(yaw/2);return[s1*c2*c3-c1*s2*s3,c1*s2*c3+s1*c2*s3,c1*c2*s3+s1*s2*c3,c1*c2*c3-s1*s2*s3];})"}}),cc=function({_worklet_8784668760124_init_data:e,InterfaceOrientation:t,eulerToQuaternion:n}){const r=function(e){const{interfaceOrientation:r,pitch:i,roll:a,yaw:o}=e;r===t.ROTATION_90?(e.pitch=a,e.roll=-i,e.yaw=o-Math.PI/2):r===t.ROTATION_270?(e.pitch=-a,e.roll=i,e.yaw=o+Math.PI/2):r===t.ROTATION_180&&(e.pitch*=-1,e.roll*=-1,e.yaw*=-1);const s=n(e.pitch,e.roll,e.yaw);return e.qx=s[0],e.qy=s[1],e.qz=s[2],e.qw=s[3],e};return r.__closure={InterfaceOrientation:t,eulerToQuaternion:n},r.__workletHash=8784668760124,r.__initData=e,r}({_worklet_8784668760124_init_data:{code:"(function adjustRotationToInterfaceOrientation_reactNativeReanimated_useAnimatedSensorJs2(data){const{InterfaceOrientation,eulerToQuaternion}=this.__closure;const{interfaceOrientation:interfaceOrientation,pitch:pitch,roll:roll,yaw:yaw}=data;if(interfaceOrientation===InterfaceOrientation.ROTATION_90){data.pitch=roll;data.roll=-pitch;data.yaw=yaw-Math.PI/2;}else if(interfaceOrientation===InterfaceOrientation.ROTATION_270){data.pitch=-roll;data.roll=pitch;data.yaw=yaw+Math.PI/2;}else if(interfaceOrientation===InterfaceOrientation.ROTATION_180){data.pitch*=-1;data.roll*=-1;data.yaw*=-1;}const q=eulerToQuaternion(data.pitch,data.roll,data.yaw);data.qx=q[0];data.qy=q[1];data.qz=q[2];data.qw=q[3];return data;})"},InterfaceOrientation:Nn,eulerToQuaternion:lc}),uc=function({_worklet_12159342881794_init_data:e,InterfaceOrientation:t}){const n=function(e){const{interfaceOrientation:n,x:r,y:i}=e;return n===t.ROTATION_90?(e.x=-i,e.y=r):n===t.ROTATION_270?(e.x=i,e.y=-r):n===t.ROTATION_180&&(e.x*=-1,e.y*=-1),e};return n.__closure={InterfaceOrientation:t},n.__workletHash=0xb0f11502c02,n.__initData=e,n}({_worklet_12159342881794_init_data:{code:"(function adjustVectorToInterfaceOrientation_reactNativeReanimated_useAnimatedSensorJs3(data){const{InterfaceOrientation}=this.__closure;const{interfaceOrientation:interfaceOrientation,x:x,y:y}=data;if(interfaceOrientation===InterfaceOrientation.ROTATION_90){data.x=-y;data.y=x;}else if(interfaceOrientation===InterfaceOrientation.ROTATION_270){data.x=y;data.y=-x;}else if(interfaceOrientation===InterfaceOrientation.ROTATION_180){data.x*=-1;data.y*=-1;}return data;})"},InterfaceOrientation:Nn}),dc={code:"(function reactNativeReanimated_useAnimatedSensorJs4(data){const{adjustToInterfaceOrientation,sensorType,SensorType,adjustRotationToInterfaceOrientation,adjustVectorToInterfaceOrientation,sensorData}=this.__closure;if(adjustToInterfaceOrientation){if(sensorType===SensorType.ROTATION){data=adjustRotationToInterfaceOrientation(data);}else{data=adjustVectorToInterfaceOrientation(data);}}sensorData.value=data;})"};function pc(e,t){const n=(0,qn.useRef)(t);(n.current?.adjustToInterfaceOrientation!==t?.adjustToInterfaceOrientation||n.current?.interval!==t?.interval||n.current?.iosReferenceFrame!==t?.iosReferenceFrame)&&(n.current=Object.assign({},t));const r=(0,qn.useMemo)(()=>Object.assign({interval:"auto",adjustToInterfaceOrientation:!0,iosReferenceFrame:Dn.Auto},n.current),[n.current]),i=(0,qn.useRef)({sensor:gr(e,r),unregister:()=>{}
23,isAvailable:!1,config:r});return(0,qn.useEffect)(()=>{i.current={sensor:gr(e,r),unregister:()=>{},isAvailable:!1,config:r};const t=i.current.sensor,n=i.current.config.adjustToInterfaceOrientation,a=function(e,t,n){return fr().registerSensor(e,t,(0,In.createSerializable)(n))}(e,r,function({_worklet_15192913303230_init_data:e,adjustToInterfaceOrientation:t,sensorType:n,SensorType:r,adjustRotationToInterfaceOrientation:i,adjustVectorToInterfaceOrientation:a,sensorData:o}){const s=function(e){t&&(e=n===r.ROTATION?i(e):a(e)),o.value=e};return s.__closure={adjustToInterfaceOrientation:t,sensorType:n,SensorType:r,adjustRotationToInterfaceOrientation:i,adjustVectorToInterfaceOrientation:a,sensorData:o},s.__workletHash=0xdd1603356be,s.__initData=e,s}({_worklet_15192913303230_init_data:dc,adjustToInterfaceOrientation:n,sensorType:e,SensorType:On,adjustRotationToInterfaceOrientation:cc,adjustVectorToInterfaceOrientation:uc,sensorData:t}));return-1!==a?(i.current.unregister=()=>{return e=a,fr().unregisterSensor(e);var e},i.current.isAvailable=!0):(i.current.unregister=()=>{},i.current.isAvailable=!1),()=>{i.current.unregister()}},[e,r]),i.current}const fc={code:"(function reactNativeReanimated_useComposedEventHandlerCommonJs1(event){const{workletsMap}=this.__closure;if(workletsMap[event.eventName]){workletsMap[event.eventName].forEach(function(worklet){return worklet(event);});}})"};function hc(e){return function(e,t){const n={},r=new Set,i={};e.filter(e=>null!==e).forEach(e=>{const{workletEventHandler:t}=e;t instanceof wl&&t.eventNames.forEach(e=>{r.add(e),i[e]?i[e].push(t.worklet):i[e]=[t.worklet];const a=e+`${i[e].length}`;n[a]=t.worklet})});const{doDependenciesDiffer:a}=ac(n,t);return nc(function({_worklet_14622658499416_init_data:e,workletsMap:t}){const n=function(e){t[e.eventName]&&t[e.eventName].forEach(t=>t(e))};return n.__closure={workletsMap:t},n.__workletHash=0xd4c9a5d9358,n.__initData=e,n}({_worklet_14622658499416_init_data:fc,workletsMap:i}),Array.from(r),a)}(e,e)}const mc={code:"(function reactNativeReanimated_useDerivedValueCommonJs1(){const{sharedValue,updater}=this.__closure;sharedValue.value=updater();})"};function gc(e,t){let n=Object.values(e.__closure??{});return!n.length&&t?.length&&(n=t),function(e,t,n){const r=(0,qn.useRef)(null);t=void 0===t?[...n,e.__workletHash]:[...t,e.__workletHash],null===r.current&&(r.current=er(Ui(e)));const i=r.current;return(0,qn.useEffect)(()=>{const t=function({_worklet_10603369694118_init_data:e,sharedValue:t,updater:n}){const r=function(){t.value=n()};return r.__closure={sharedValue:t,updater:n},r.__workletHash=0x9a4ca1583a6,r.__initData=e,r}({_worklet_10603369694118_init_data:mc,sharedValue:i,updater:e}),r=or(t,n,[i]);return()=>{lr(r)}},t),i}(e,t,n)}const yc={code:"(function reactNativeReanimated_FrameCallbackRegistryUIJs1(){const frameCallbackRegistry={frameCallbackRegistry:new Map(),activeFrameCallbacks:new Set(),previousFrameTimestamp:null,nextCallId:0,runCallbacks:function(callId){var _this=this;const loop=function(timestamp){if(callId!==_this.nextCallId){return;}if(_this.previousFrameTimestamp===null){_this.previousFrameTimestamp=timestamp;}const delta=timestamp-_this.previousFrameTimestamp;_this.activeFrameCallbacks.forEach(function(callbackId){const callbackDetails=_this.frameCallbackRegistry.get(callbackId);const{startTime:startTime}=callbackDetails;if(startTime===null){callbackDetails.startTime=timestamp;callbackDetails.callback({timestamp:timestamp,timeSincePreviousFrame:null,timeSinceFirstFrame:0});}else{callbackDetails.callback({timestamp:timestamp,timeSincePreviousFrame:delta,timeSinceFirstFrame:timestamp-startTime});}});if(_this.activeFrameCallbacks.size>0){_this.previousFrameTimestamp=timestamp;requestAnimationFrame(loop);}else{_this.previousFrameTimestamp=null;}};if(this.activeFrameCallbacks.size===1&&callId===this.nextCallId){requestAnimationFrame(loop);}},registerFrameCallback:function(callback,callbackId){this.frameCallbackRegistry.set(callbackId,{callback:callback,startTime:null});},unregisterFrameCallback:function(callbackId){this.manageStateFrameCallback(callbackId,false);this.frameCallbackRegistry.delete(callbackId);},manageStateFrameCallback:function(callbackId,state){if(callbackId===-1){return;}if(state){if(!this.activeFrameCallbacks.has(callbackId)){this.activeFrameCallbacks.add(callbackId);this.runCallbacks(this.nextCallId);}}else{const callback=this.frameCallbackRegistry.get(callbackId);callback.startTime=null;this.activeFrameCallbacks.delete(callbackId);if(this.activeFrameCallbacks.size===0){this.nextCallId+=1;}}}};global._frameCallbackRegistry=frameCallbackRegistry;})"},vc=()=>(0,In.scheduleOnUI)(function({_worklet_4631606871820_init_data:e}){const t=function(){const e={frameCallbackRegistry:new Map,activeFrameCallbacks:new Set,previousFrameTimestamp:null,nextCallId:0,runCallbacks(e){const t=n=>{if(e!==this.nextCallId)return;null===this.previousFrameTimestamp&&(this.previousFrameTimestamp=n);const r=n-this.previousFrameTimestamp;
23this.activeFrameCallbacks.forEach(e=>{const t=this.frameCallbackRegistry.get(e),{startTime:i}=t;null===i?(t.startTime=n,t.callback({timestamp:n,timeSincePreviousFrame:null,timeSinceFirstFrame:0})):t.callback({timestamp:n,timeSincePreviousFrame:r,timeSinceFirstFrame:n-i})}),this.activeFrameCallbacks.size>0?(this.previousFrameTimestamp=n,requestAnimationFrame(t)):this.previousFrameTimestamp=null};1===this.activeFrameCallbacks.size&&e===this.nextCallId&&requestAnimationFrame(t)},registerFrameCallback(e,t){this.frameCallbackRegistry.set(t,{callback:e,startTime:null})},unregisterFrameCallback(e){this.manageStateFrameCallback(e,!1),this.frameCallbackRegistry.delete(e)},manageStateFrameCallback(e,t){if(-1!==e)if(t)this.activeFrameCallbacks.has(e)||(this.activeFrameCallbacks.add(e),this.runCallbacks(this.nextCallId));else{this.frameCallbackRegistry.get(e).startTime=null,this.activeFrameCallbacks.delete(e),0===this.activeFrameCallbacks.size&&(this.nextCallId+=1)}}};n.g._frameCallbackRegistry=e};return t.__closure={},t.__workletHash=4631606871820,t.__initData=e,t}({_worklet_4631606871820_init_data:yc})),bc={code:"(function reactNativeReanimated_FrameCallbackRegistryJSJs1(){const{callback,callbackId}=this.__closure;global._frameCallbackRegistry.registerFrameCallback(callback,callbackId);})"},_c={code:"(function reactNativeReanimated_FrameCallbackRegistryJSJs2(){const{callbackId}=this.__closure;global._frameCallbackRegistry.unregisterFrameCallback(callbackId);})"},wc={code:"(function reactNativeReanimated_FrameCallbackRegistryJSJs3(){const{callbackId,state}=this.__closure;global._frameCallbackRegistry.manageStateFrameCallback(callbackId,state);})"};const kc=new class{nextCallbackId=0;constructor(){vc()}registerFrameCallback(e){if(!e)return-1;const t=this.nextCallbackId;return this.nextCallbackId++,(0,In.scheduleOnUI)(function({_worklet_22804948
2301386_init_data:e,callback:t,callbackId:r}){const i=function(){n.g._frameCallbackRegistry.registerFrameCallback(t,r)};return i.__closure={callback:t,callbackId:r},i.__workletHash=2280494801386,i.__initData=e,i}({_worklet_2280494801386_init_data:bc,callback:e,callbackId:t})),t}unregisterFrameCallback(e){(0,In.scheduleOnUI)(function({_worklet_13167874565778_init_data:e,callbackId:t}){const r=function(){n.g._frameCallbackRegistry.unregisterFrameCallback(t)};return r.__closure={callbackId:t},r.__workletHash=0xbf9e27c6692,r.__initData=e,r}({_worklet_13167874565778_init_data:_c,callbackId:e}))}manageStateFrameCallback(e,t){(0,In.scheduleOnUI)(function({_worklet_15334176362551_init_data:e,callbackId:t,state:r}){const i=function(){n.g._frameCallbackRegistry.manageStateFrameCallback(t,r)};return i.__closure={callbackId:t,state:r},i.__workletHash=0xdf244229037,i.__initData=e,i}({_worklet_15334176362551_init_data:wc,callbackId:e,state:t}))}};function Sc(e,t=!0){const n=(0,qn.useRef)({setActive:e=>{kc.manageStateFrameCallback(n.current.callbackId,e),n.current.isActive=e},isActive:t,callbackId:-1});return(0,qn.useEffect)(()=>{n.current.callbackId=kc.registerFrameCallback(e);const t=n.current;return n.current.setActive(n.current.isActive),()=>{kc.unregisterFrameCallback(t.callbackId),t.callbackId=-1}},[e,t]),n.current}const xc=_i();function Cc(){return xc}const Ec={code:"(function reactNativeReanimated_useScrollOffsetJs1(){const{animatedRef,getWebScrollableElement,offset}=this.__closure;var _animatedRef;if((_animatedRef=animatedRef)!==null&&_animatedRef!==void 0&&_animatedRef.current){const element=getWebScrollableElement(animatedRef.current);offset.value=element.scrollLeft===0?element.scrollTop:element.scrollLeft;}})"};function Ac(e,t){const n=Ul(0),r=(0,qn.useRef)(t??n).current,i=(0,qn.useCallback)(function({_worklet_6638235818425_init_data:e,animatedRef:t,getWebScrollableElement:n,offset:r}){const i=function(){if(t?.current){const e=n(t.current);r.value=0===e.scrollLeft?e.scrollTop:e.scrollLeft}};return i.__closure={animatedRef:t,getWebScrollableElement:n,offset:r},i.__workletHash=6638235818425,i.__initData=e,i}({_worklet_6638235818425_init_data:Ec,animatedRef:e,getWebScrollableElement:Tc,offset:r}),[e,r]);return(0,qn.useEffect)(()=>{if(e)return e.observe(t=>
23{if(!e.current||!t)return void u.warn("animatedRef is not initialized in useScrollOffset. Make sure to pass the animated ref to the scrollable component to get scroll offset updates.");const n=Tc(e.current);return n.addEventListener("scroll",i),()=>{n.removeEventListener("scroll",i)}})},[e,i]),r}function Tc(e){return e?.getScrollableNode?.()??e}const Ic={code:"(function reactNativeReanimated_useTimestampJs1({timeSinceFirstFrame:timeSinceFirstFrame}){const{timestamp}=this.__closure;timestamp.value=timeSinceFirstFrame;})"};function Rc(e=!0){const t=Ul(0),n=Sc(function({_worklet_13664254401234_init_data:e,timestamp:t}){const n=function({timeSinceFirstFrame:e}){t.value=e};return n.__closure={timestamp:t},n.__workletHash=0xc6d75079ad2,n.__initData=e,n}({_worklet_13664254401234_init_data:Ic,timestamp:t}),e);return(0,qn.useEffect)(()=>{n.setActive(e)},[e,n]),t}const Oc=["scrollViewOffset","ref"],Dc=El(Ml.default);function Nc(e){let{scrollViewOffset:t,ref:n}=e,r=(0,Ye.default)(e,Oc);const i=null===n?tc():n;return t&&Ac(i,t),"scrollEventThrottle"in r||(r.scrollEventThrottle=1),(0,wr.jsx)(Dc,Object.assign({ref:i},r))}const jc=El(n(6283).default);function Fc(e){}function Mc(e){}var Vc=n(16773);const Pc=function({_worklet_13647928983735_init_data:e}){const t=function(e){return{next:0,buffer:new Float32Array(e),size:e,count:0,push(e){const t=this.buffer[this.next],n=this.count;return this.buffer[this.next]=e,this.next=(this.next+1)%this.size,this.count=Math.min(this.size,this.count+1),n===this.size?t:null},front(){if(this.count>0){const e=this.next-1,t=e<0?this.size-1:e;return this.buffer[t]}return null},back(){return this.count>0?this.buffer[this.next]:null}}};return t.__closure={},t.__workletHash=0xc69a7f580b7,t.__initData=e,t}({_worklet_13647928983735_init_data:{code:"(function createCircularDoublesBuffer_reactNativeReanimated_PerformanceMonitorJs1(size){return{next:0,buffer:new Float32Array(size),size:size,count:0,push:function(value){const oldValue=this.buffer[this.next];const oldCount=this.count;this.buffer[this.next]=value;this.next=(this.next+1)%this.size;this.count=Math.min(this.size,this.count+1);return oldCount===this.size?oldValue:null;},front:function(){const notEmpty=this.count>0;if(notEmpty){const current=this.next-1;const index=current<0?this.size-1:current;return this.buffer[index];}return null;},back:function(){const notEmpty=this.count>0;return notEmpty?this.buffer[this.next]:null;}};})"}}),Lc=El(Vc.default);const Bc=function({_worklet_17521597778104_init_data:e}){const t=function(e){return 1e3/e};return t.__closure={},t.__workletHash=0xfef909c88b8,t.__initData=e,t}({_worklet_17521597778104_init_data:{code:"(function getFps_reactNativeReanimated_PerformanceMonitorJs2(renderTimeInMs){return 1000/renderTimeInMs;})"}}),Hc=function({_worklet_4346621179263_init_data:e,getFps:t}
23){const n=function(e,n){n=Math.round(n);const r=e.push(n)??n;return t((n-r)/e.count)};return n.__closure={getFps:t},n.__workletHash=4346621179263,n.__initData=e,n}({_worklet_4346621179263_init_data:{code:"(function completeBufferRoutine_reactNativeReanimated_PerformanceMonitorJs3(buffer,timestamp){const{getFps}=this.__closure;var _buffer$push;timestamp=Math.round(timestamp);const droppedTimestamp=(_buffer$push=buffer.push(timestamp))!==null&&_buffer$push!==void 0?_buffer$push:timestamp;const measuredRangeDuration=timestamp-droppedTimestamp;return getFps(measuredRangeDuration/buffer.count);})"},getFps:Bc}),Wc={code:"(function reactNativeReanimated_PerformanceMonitorJs4(){const{jsFps}=this.__closure;var _jsFps$value;const text='JS: '+((_jsFps$value=jsFps.value)!==null&&_jsFps$value!==void 0?_jsFps$value:'N/A')+' ';return{text:text,defaultValue:text};})"};function zc({smoothingFrames:e}){const t=Ul(null),n=Ul(0),r=(0,qn.useRef)(Pc(e));(0,qn.useEffect)(()=>{!function(e){let t=0;!function n(){requestAnimationFrame(r=>{t>0&&e(t,r),t=r,requestAnimationFrame(n)})}()}((e,n)=>{n=Math.round(n);const i=Hc(r.current,n);t.value=(2*i).toFixed(0)})},[t,n]);const i=Zl(function({_worklet_14732087011510_init_data:e,jsFps:t}){const n=function(){const e="JS: "+(t.value??"N/A")+" ";return{text:e,defaultValue:e}};return n.__closure={jsFps:t},n.__workletHash=0xd6614d028b6,n.__initData=e,n}({_worklet_14732087011510_init_data:Wc,jsFps:t}));return(0,wr.jsx)(Rl.default,{style:qc.container,children:(0,wr.jsx)(Lc,{style:qc.text,animatedProps:i,editable:!1})})}const Yc={code:"(function reactNativeReanimated_PerformanceMonitorJs5({timestamp:timestamp}){const{circularBuffer,createCircularDoublesBuffer,smoothingFrames,completeBufferRoutine,uiFps}=this.__closure;if(circularBuffer.value===null){circularBuffer.value=createCircularDoublesBuffer(smoothingFrames);}timestamp=Math.round(timestamp);const currentFps=completeBufferRoutine(circularBuffer.value,timestamp);uiFps.value=currentFps.toFixed(0);})"},Uc={code:"(function reactNativeReanimated_PerformanceMonitorJs6(){const{uiFps}=this.__closure;var _uiFps$value;const text='UI: '+((_uiFps$value=uiFps.value)!==null&&_uiFps$value!==void 0?_uiFps$value:'N/A')+' ';return{text:text,defaultValue:text};})"};function Xc({smoothingFrames:e}){const t=Ul(null),n=Ul(null);Sc(function({_worklet_11355713723050_init_data:e,circularBuffer:t,createCircularDoublesBuffer:n,smoothingFrames:r,completeBufferRoutine:i,uiFps:a}){const o=function({timestamp:e}){null===t.value&&(t.value=n(r)),e=Math.round(e);const o=i(t.value,e);a.value=o.toFixed(0)};return o.__closure={circularBuffer:t,createCircularDoublesBuffer:n,smoothingFrames:r,completeBufferRoutine:i,uiFps:a},o.__workletHash=0xa53f5485aaa,o.__initData=e,o}({_worklet_11355713723050_init_data:Yc,circularBuffer:n,createCircularDoublesBuffer:Pc,smoothingFrames:e,completeBufferRoutine:Hc,uiFps:t}));const r=Zl(function({_worklet_10785323763889_init_data:e,uiFps:t}){const n=function(){const e="UI: "+(t.value??"N/A")+" ";return{text:e,defaultValue:e}};return n.__closure={uiFps:t},n.__workletHash=0x9cf276448b1,n.__initData=e,n}({_worklet_10785323763889_init_data:Uc,uiFps:t}));return(0,wr.jsx)(Rl.default,{style:qc.container,children:(0,wr.jsx)(Lc,{style:qc.text,animatedProps:r,editable:!1})})}function Gc({smoothingFrames:e=20}){return(0,wr.jsxs)(Rl.default,{style:qc.monitor,children:[(0,wr.jsx)(zc,{smoothingFrames:e}),(0,wr.jsx)(Xc,{smoothingFrames:e})]})}const qc=Cr.default.create({monitor:{flexDirection:"row",position:"absolute",backgroundColor:"#0006",zIndex:1e3},header:{fontSize:14,color:"#ffff",paddingHorizontal:5},text:{fontSize:13,fontVariant:["tabular-nums"],color:"#ffff",fontFamily:"monospace",paddingHorizontal:3},container:{alignItems:"center",justifyContent:"center",flexDirection:"row",flexWrap:"wrap"}});function Jc({mode:e}){return(0,qn.useEffect)(()=>{},[]),(0,qn.useEffect)(()=>{const t=wi.jsValue;switch(e){case Fn.System:wi.setEnabled(_i());break;case Fn.Always:wi.setEnabled(!0);break;case Fn.Never:wi.setEnabled(!1)}return()=>{wi.setEnabled(t)}},[e]),null}const $c={};function Kc({isActive:e,children:t}
23){return(0,wr.jsx)($c,{style:Zc.contents,isActive:e,children:t})}const Zc=Cr.default.create({contents:{overflow:"visible",display:"contents"}});function Qc(e){const t=s();l(t,e)}function eu(e){class t extends bi{static displayName=`AnimatedComponent(${e.displayName||e.name||"Component"})`;constructor(t){super(e,t)}}const n=e=>(0,wr.jsx)(t,Object.assign({},e,{ref:null},null===e.ref?null:{forwardedRef:e.ref}));return n.displayName=e.displayName||e.name||"Component",n}function tu(e){if("object"!==typeof e)return;return(Array.isArray(e)?e:[e]).map(e=>Qt(e)?e:new ri(e))}const nu={create:e=>{for(const t in e){const n=e[t];n.animationName&&(n.animationName=tu(n.animationName))}return e},keyframes:function(e){return new ri(e)}},ru=function({_worklet_6096086239415_init_data:e}){const t=function(e=0){const t=Math.abs(e);return t>.0031308?(Math.sign(e)||1)*(1.055*Math.pow(t,1/2.4)-.055):12.92*e};return t.__closure={},t.__workletHash=6096086239415,t.__initData=e,t}({_worklet_6096086239415_init_data:{code:"(function reactNativeReanimated_lrgbJs1(c=0){const abs=Math.abs(c);if(abs>0.0031308){return(Math.sign(c)||1)*(1.055*Math.pow(abs,1/2.4)-0.055);}return c*12.92;})"}}),iu=function({_worklet_11196508755848_init_data:e,channelFromLrgb:t}){const n=function({r:e,g:n,b:r,alpha:i}){return{r:t(e),g:t(n),b:t(r),alpha:i}};return n.__closure={channelFromLrgb:t},n.__workletHash=0xa2ee3ed5788,n.__initData=e,n}({_worklet_11196508755848_init_data:{code:"(function reactNativeReanimated_lrgbJs2({r:r,g:g,b:b,alpha:alpha}){const{channelFromLrgb}=this.__closure;return{r:channelFromLrgb(r),g:channelFromLrgb(g),b:channelFromLrgb(b),alpha:alpha};})"},channelFromLrgb:ru}),au=function({_worklet_12673098906558_init_data:e}){const t=function(e=0){const t=Math.abs(e);return t<=.04045?e/12.92:(Math.sign(e)||1)*Math.pow((t+.055)/1.055,2.4)};return t.__closure={},t.__workletHash=0xb86af8efbbe,t.__initData=e,t}({_worklet_12673098906558_init_data:{code:"(function reactNativeReanimated_lrgbJs3(c=0){const abs=Math.abs(c);if(abs<=0.04045){return c/12.92;}return(Math.sign(c)||1)*Math.pow((abs+0.055)/1.055,2.4);})"}}),ou=function({_worklet_3430638335182_init_data:e,channelToLrgb:t}){const n=function({r:e,g:n,b:r,alpha:i}){return{r:t(e),g:t(n),b:t(r),alpha:i}};return n.__closure={channelToLrgb:t},n.__workletHash=3430638335182,n.__initData=e,n}({_worklet_3430638335182_init_data:{code:"(function reactNativeReanimated_lrgbJs4({r:r,g:g,b:b,alpha:alpha}){const{channelToLrgb}=this.__closure;return{r:channelToLrgb(r),g:channelToLrgb(g),b:channelToLrgb(b),alpha:alpha};})"},channelToLrgb:au}),su={convert:{fromRgb:ou,toRgb:iu}},lu=function({_worklet_12499779779217_init_data:e}){const t=function({r:e=0,g:t=0,b:n=0,alpha:r}){const i=Math.cbrt(.41222147079999993*e+.5363325363*t+.0514459929*n),a=Math.cbrt(.2119034981999999*e+.6806995450999999*t+.1073969566*n),o=Math.cbrt(.08830246189999998*e+.2817188376*t+.6299787005000002*n);return{l:.2104542553*i+.793617785*a-.0040720468*o,a:1.9779984951*i-2.428592205*a+.4505937099*o,b:.0259040371*i+.7827717662*a-.808675766*o,alpha:r}};return t.__closure={},t.__workletHash=0xb5e54eefa91,t.__initData=e,t}({_worklet_12499779779217_init_data:{code:"(function convertLrgbToOklab_reactNativeReanimated_oklabJs1({r=0,g=0,b=0,alpha:alpha}){const L=Math.cbrt(0.41222147079999993*r+0.5363325363*g+0.0514459929*b);const M=Math.cbrt(0.2119034981999999*r+0.6806995450999999*g+0.1073969566*b);const S=Math.cbrt(0.08830246189999998*r+0.2817188376*g+0.6299787005000002*b);return{l:0.2104542553*L+0.793617785*M-0.0040720468*S,a:1.9779984951*L-2.428592205*M+0.4505937099*S,b:0.0259040371*L+0.7827717662*M-0.808675766*S,alpha:alpha};})"}}),cu=function({_worklet_2324639233081_init_data:e,lrgb:t,convertLrgbToOklab:n}){const r=function(e){const r=t.convert.fromRgb(e),i=n(r);return e.r===e.b&&e.b===e.g&&(i.a=i.b=0),i};return r.__closure={lrgb:t,convertLrgbToOklab:n},r.__workletHash=2324639233081,r.__initData=e,r}({_worklet_2324639233081_init_data:{code:"(function convertRgbToOklab_reactNativeReanimated_oklabJs2(rgb){const{lrgb,convertLrgbToOklab}=this.__closure;const lrgbColor=lrgb.convert.fromRgb(rgb);const result=convertLrgbToOklab(lrgbColor);if(rgb.r===rgb.b&&rgb.b===rgb.g){result.a=result.b=0;}return result;})"},lrgb:su,convertLrgbToOklab:lu}),uu=function({_worklet_13949602630168_init_data:e}){const t=function({l:e=0,a:t=0,b:n=0,alpha:r}){const i=Math.pow(.9999999984505198*e+.39633779217376786*t+.2158037580607588*n,3),a=Math.pow(1.0000000088817609*e-.10556134232365635*t-.06385417477170591*n,3),o=Math.pow(1.0000000546724108*e-.08948418209496575*t-1.2914855378640917*n,3);return{r:4.076741661347994*i-3.307711590408193*a+.230969928729428*o,g:-1.2684380040921763*i+2.6097574006633715*a-.3413193963102197*o,b:-.004196086541837188*i-.7034186144594493*a+1.7076147009309444*o,alph
23a:r}};return t.__closure={},t.__workletHash=0xcafe51c0a18,t.__initData=e,t}({_worklet_13949602630168_init_data:{code:"(function convertOklabToLrgb_reactNativeReanimated_oklabJs3({l=0,a=0,b=0,alpha:alpha}){const L=Math.pow(l*0.99999999845051981432+0.39633779217376785678*a+0.21580375806075880339*b,3);const M=Math.pow(l*1.0000000088817607767-0.1055613423236563494*a-0.063854174771705903402*b,3);const S=Math.pow(l*1.0000000546724109177-0.089484182094965759684*a-1.2914855378640917399*b,3);return{r:+4.076741661347994*L-3.307711590408193*M+0.230969928729428*S,g:-1.2684380040921763*L+2.6097574006633715*M-0.3413193963102197*S,b:-0.004196086541837188*L-0.7034186144594493*M+1.7076147009309444*S,alpha:alpha};})"}}),du=function({_worklet_7404745677902_init_data:e,convertOklabToLrgb:t,lrgb:n}){const r=function(e){const r=e=>Math.ceil(1e5*e)/1e5,i=t(e),a=n.convert.toRgb(i);return a.r=r(a.r),a.g=r(a.g),a.b=r(a.b),a};return r.__closure={convertOklabToLrgb:t,lrgb:n},r.__workletHash=7404745677902,r.__initData=e,r}({_worklet_7404745677902_init_data:{code:"(function convertOklabToRgb_reactNativeReanimated_oklabJs4(labColor){const{convertOklabToLrgb,lrgb}=this.__closure;const roundChannel=function(channel){return Math.ceil(channel*100_000)/100_000;};const lrgbColor=convertOklabToLrgb(labColor);const rgbColor=lrgb.convert.toRgb(lrgbColor);rgbColor.r=roundChannel(rgbColor.r);rgbColor.g=roundChannel(rgbColor.g);rgbColor.b=roundChannel(rgbColor.b);return rgbColor;})"},convertOklabToLrgb:uu,lrgb:su}),pu={oklab:{convert:{fromRgb:cu,toRgb:du}}};let fu=function(e){return e.IDENTITY="identity",e.CLAMP="clamp",e.EXTEND="extend",e}({});const hu=function({_worklet_6962598524180_init_data:e,Extrapolation:t}){const n=function(e,n,r,i,a,o){switch(e){case t.IDENTITY:return o;case t.CLAMP:return n*r<n*i?i:a;case t.EXTEND:default:return r}};return n.__closure={Extrapolation:t},n.__workletHash=6962598524180,n.__initData=e,n}({_worklet_6962598524180_init_data:{code:"(function getVal_reactNativeReanimated_interpolationJs1(type,coef,val,leftEdgeOutput,rightEdgeOutput,x){const{Extrapolation}=this.__closure;switch(type){case Extrapolation.IDENTITY:return x;case Extrapolation.CLAMP:if(coef*val<coef*leftEdgeOutput){return leftEdgeOutput;}return rightEdgeOutput;case Extrapolation.EXTEND:default:return val;}})"},Extrapolation:fu}),mu=function({_worklet_11628057942740_init_data:e,Extrapolation:t}){const n=function(e){return e===t.EXTEND||e===t.CLAMP||e===t.IDENTITY};return n.__closure={Extrapolation:t},n.__workletHash=0xa935e435ad4,n.__initData=e,n}({_worklet_11628057942740_init_data:{code:"(function isExtrapolate_reactNativeReanimated_interpolationJs2(value){const{Extrapolation}=this.__closure;return value===Extrapolation.EXTEND||value===Extrapolation.CLAMP||value===Extrapolation.IDENTITY;})"},Extrapolation:fu}),gu=function({_worklet_9969687783443_init_data:e,Extrapolation:t,isExtrapolate:n}){const r=function(e){const r={extrapolateLeft:t.EXTEND,extrapolateRight:t.EXTEND};if(!e)return r;if("string"===typeof e){if(!n(e))throw new Error('[Reanimated] Unsupported value for "interpolate" \nSupported values: ["extend", "clamp", "identity", Extrapolation.CLAMP, Extrapolation.EXTEND, Extrapolation.IDENTITY]\n Valid example:\n        interpolate(value, [inputRange], [outputRange], "clamp")');return r.extrapolateLeft=e,r.extrapolateRight=e,r}if(e.extrapolateLeft&&!n(e.extrapolateLeft)||e.extrapolateRight&&!n(e.extrapolateRight))throw new Error('[Reanimated] Unsupported value for "interpolate" \nSupported values: ["extend", "clamp", "identity", Extrapolation.CLAMP, Extrapolation.EXTEND, Extrapolation.IDENTITY]\n Valid example:\n      interpolate(value, [inputRange], [outputRange], {\n        extrapolateLeft: Extrapolation.CLAMP,\n        extrapolateRight: Extrapolation.IDENTITY\n      }})');return Object.assign(r,e),r};return r.__closure={Extrapolation:t,isExtrapolate:n},r.__workletHash=9969687783443,r.__initData=e,r}({_worklet_9969687783443_init_data:{code:'(function validateType_reactNativeReanimated_interpolationJs3(type){const{Extrapolation,isExtrapolate}=this.__closure;const extrapolationConfig={extrapolateLeft:Extrapolation.EXTEND,extrapolateRight:Extrapolation.EXTEND};if(!type){return extrapolationConfig;}if(typeof type===\'string\'){if(!isExtrapolate(type)){throw new Error("[Reanimated] Unsupported value for \\"interpolate\\" \\nSupported values: [\\"extend\\", \\"clamp\\", \\"identity\\", Extrapolation.CLAMP, Extra
23polation.EXTEND, Extrapolation.IDENTITY]\\n Valid example:\\n        interpolate(value, [inputRange], [outputRange], \\"clamp\\")");}extrapolationConfig.extrapolateLeft=type;extrapolationConfig.extrapolateRight=type;return extrapolationConfig;}if(type.extrapolateLeft&&!isExtrapolate(type.extrapolateLeft)||type.extrapolateRight&&!isExtrapolate(type.extrapolateRight)){throw new Error("[Reanimated] Unsupported value for \\"interpolate\\" \\nSupported values: [\\"extend\\", \\"clamp\\", \\"identity\\", Extrapolation.CLAMP, Extrapolation.EXTEND, Extrapolation.IDENTITY]\\n Valid example:\\n      interpolate(value, [inputRange], [outputRange], {\\n        extrapolateLeft: Extrapolation.CLAMP,\\n        extrapolateRight: Extrapolation.IDENTITY\\n      }})");}Object.assign(extrapolationConfig,type);return extrapolationConfig;})'},Extrapolation:fu,isExtrapolate:mu}),yu=function({_worklet_1739711526964_init_data:e,getVal:t}){const n=function(e,n,r){const{leftEdgeInput:i,rightEdgeInput:a,leftEdgeOutput:o,rightEdgeOutput:s}=n;if(a-i===0)return o;const l=o+(e-i)/(a-i)*(s-o),c=s>=o?1:-1;return c*l<c*o?t(r.extrapolateLeft,c,l,o,s,e):c*l>c*s?t(r.extrapolateRight,c,l,o,s,e):l};return n.__closure={getVal:t},n.__workletHash=1739711526964,n.__initData=e,n}({_worklet_1739711526964_init_data:{code:"(function internalInterpolate_reactNativeReanimated_interpolationJs4(x,narrowedInput,extrapolationConfig){const{getVal}=this.__closure;const{leftEdgeInput:leftEdgeInput,rightEdgeInput:rightEdgeInput,leftEdgeOutput:leftEdgeOutput,rightEdgeOutput:rightEdgeOutput}=narrowedInput;
23if(rightEdgeInput-leftEdgeInput===0){return leftEdgeOutput;}const progress=(x-leftEdgeInput)/(rightEdgeInput-leftEdgeInput);const val=leftEdgeOutput+progress*(rightEdgeOutput-leftEdgeOutput);const coef=rightEdgeOutput>=leftEdgeOutput?1:-1;if(coef*val<coef*leftEdgeOutput){return getVal(extrapolationConfig.extrapolateLeft,coef,val,leftEdgeOutput,rightEdgeOutput,x);}else if(coef*val>coef*rightEdgeOutput){return getVal(extrapolationConfig.extrapolateRight,coef,val,leftEdgeOutput,rightEdgeOutput,x);}return val;})"},getVal:hu}),vu=function({_worklet_7265034823827_init_data:e,validateType:t,internalInterpolate:n}){const r=function(e,r,i,a){if(r.length<2||i.length<2)throw new Error("[Reanimated] Interpolation input and output ranges should contain at least two values.");const o=t(a),s=r.length;let l;if(e>r[s-1])l={leftEdgeInput:r[s-2],rightEdgeInput:r[s-1],leftEdgeOutput:i[s-2],rightEdgeOutput:i[s-1]};else{let t=1,n=s-1;for(;t<n;){const i=Math.floor((t+n)/2);e<=r[i]?n=i:t=i+1}const a=t;l={leftEdgeInput:r[a-1],rightEdgeInput:r[a],leftEdgeOutput:i[a-1],rightEdgeOutput:i[a]}}return n(e,l,o)};return r.__closure={validateType:t,internalInterpolate:n},r.__workletHash=7265034823827,r.__initData=e,r}({_worklet_7265034823827_init_data:{code:"(function interpolate_reactNativeReanimated_interpolationJs5(value,inputRange,outputRange,type){const{validateType,internalInterpolate}=this.__closure;if(inputRange.length<2||outputRange.length<2){throw new Error('[Reanimated] Interpolation input and output ranges should contain at least two values.');}const extrapolationConfig=validateType(type);const length=inputRange.length;let narrowedInput;if(value>inputRange[length-1]){narrowedInput={leftEdgeInput:inputRange[length-2],rightEdgeInput:inputRange[length-1],leftEdgeOutput:outputRange[length-2],rightEdgeOutput:outputRange[length-1]};}else{let left=1;let right=length-1;while(left<right){const mid=Math.floor((left+right)/2);if(value<=inputRange[mid]){right=mid;}else{left=mid+1;}}const segmentIndex=left;narrowedInput={leftEdgeInput:inputRange[segmentIndex-1],rightEdgeInput:inputRange[segmentIndex],leftEdgeOutput:outputRange[segmentIndex-1],rightEdgeOutput:outputRange[segmentIndex]};}return internalInterpolate(value,narrowedInput,extrapolationConfig);})"},validateType:gu,internalInterpolate:yu}),bu=function({_worklet_10205454459378_init_data:e}){const t=function(e,t,n){return Math.min(Math.max(e,t),n)};return t.__closure={},t.__workletHash=0x948247ce1f2,t.__initData=e,t}({_worklet_10205454459378_init_data:{code:"(function clamp_reactNativeReanimated_interpolationJs6(value,min,max){return Math.min(Math.max(value,min),max);})"}}),_u=fu,wu=function({_worklet_7826003355794_init_data:e,interpolate:t,Extrapolation:n,hsvToColor:r}){const i=function(e,i,a,o){let s=0;const{useCorrectedHSVInterpolation:l=!0}=o;if(l){const r=[i[0]],o=a.h,l=[o[0]];for(let e=1;e<o.length;++e){const t=o[e]-o[e-1];o[e]>o[e-1]&&t>.5?(r.push(i[e]),r.push(i[e]+1e-5),l.push(o[e]-1),l.push(o[e])):o[e]<o[e-1]&&t<-.5?(r.push(i[e]),r.push(i[e]+1e-5),l.push(o[e]+1),l.push(o[e])):(r.push(i[e]),l.push(o[e]))}s=(t(e,r,l,n.CLAMP)+1)%1}else s=t(e,i,a.h,n.CLAMP);const c=t(e,i,a.s,n.CLAMP),u=t(e,i,a.v,n.CLAMP),d=t(e,i,a.a,n.CLAMP);return r(s,c,u,d)};return i.__closure={interpolate:t,Extrapolation:n,hsvToColor:r},i.__workletHash=7826003355794,i.__initData=e,i}({_worklet_7826003355794_init_data:{code:"(function reactNativeReanimated_interpolateColorJs1(value,inputRange,colors,options){const{interpolate,Extrapolation,hsvToColor}=this.__closure;let h=0;const{useCorrectedHSVInterpolation=true}=options;if(useCorrectedHSVInterpolation){const correctedInputRange=[inputRange[0]];const originalH=colors.h;const correctedH=[originalH[0]];for(let i=1;i<originalH.length;++i){const d=originalH[i]-originalH[i-1];if(originalH[i]>originalH[i-1]&&d>0.5){correctedInputRange.push(inputRange[i]);correctedInputRange.push(inputRange[i]+0.00001);correctedH.push(originalH[i]-1);correctedH.push(originalH[i]);}else if(originalH[i]<originalH[i-1]&&d<-0.5){correctedInputRange.push(inputRange[i]);correctedInputRange.push(inputRange[i]+0.00001);correctedH.push(originalH[i]+1);correctedH.push(originalH[i]);}else{correctedInputRange.push(inputRange[i]);correctedH.push(originalH[i]);}}h=(interpolate(value,correctedInputRange,correctedH,Extrapolation.CLAMP)+1)%1;}
23else{h=interpolate(value,inputRange,colors.h,Extrapolation.CLAMP);}const s=interpolate(value,inputRange,colors.s,Extrapolation.CLAMP);const v=interpolate(value,inputRange,colors.v,Extrapolation.CLAMP);const a=interpolate(value,inputRange,colors.a,Extrapolation.CLAMP);return hsvToColor(h,s,v,a);})"},interpolate:vu,Extrapolation:fu,hsvToColor:j}),ku=function({_worklet_5342864570073_init_data:e}){const t=function(e,t){return e.map(e=>Math.pow(e/255,t))};return t.__closure={},t.__workletHash=5342864570073,t.__initData=e,t}({_worklet_5342864570073_init_data:{code:"(function reactNativeReanimated_interpolateColorJs2(x,gamma){return x.map(function(v){return Math.pow(v/255,gamma);});})"}}),Su=function({_worklet_1348574685241_init_data:e}){const t=function(e,t){return Math.round(255*Math.pow(e,1/t))};return t.__closure={},t.__workletHash=1348574685241,t.__initData=e,t}({_worklet_1348574685241_init_data:{code:"(function reactNativeReanimated_interpolateColorJs3(x,gamma){return Math.round(Math.pow(x,1/gamma)*255);})"}}),xu=function({_worklet_8877034943653_init_data:e,toLinearSpace:t,interpolate:n,Extrapolation:r,rgbaColor:i,toGammaSpace:a}){const o=function(e,o,s,l){const{gamma:c=2.2}=l;let{r:u,g:d,b:p}=s;1!==c&&(u=t(u,c),d=t(d,c),p=t(p,c));const f=n(e,o,u,r.CLAMP),h=n(e,o,d,r.CLAMP),m=n(e,o,p,r.CLAMP),g=n(e,o,s.a,r.CLAMP);return 1===c?i(f,h,m,g):i(a(f,c),a(h,c),a(m,c),g)};return o.__closure={toLinearSpace:t,interpolate:n,Extrapolation:r,rgbaColor:i,toGammaSpace:a},o.__workletHash=8877034943653,o.__initData=e,o}({_worklet_8877034943653_init_data:{code:"(function reactNativeReanimated_interpolateColorJs4(value,inputRange,colors,options){const{toLinearSpace,interpolate,Extrapolation,rgbaColor,toGammaSpace}=this.__closure;const{gamma=2.2}=options;let{r:outputR,g:outputG,b:outputB}=colors;if(gamma!==1){outputR=toLinearSpace(outputR,gamma);outputG=toLinearSpace(outputG,gamma);outputB=toLinearSpace(outputB,gamma);}const r=interpolate(value,inputRange,outputR,Extrapolation.CLAMP);const g=interpolate(value,inputRange,outputG,Extrapolation.CLAMP);const b=interpolate(value,inputRange,outputB,Extrapolation.CLAMP);const a=interpolate(value,inputRange,colors.a,Extrapolation.CLAMP);if(gamma===1){return rgbaColor(r,g,b,a);}return rgbaColor(toGammaSpace(r,gamma),toGammaSpace(g,gamma),toGammaSpace(b,gamma),a);})"},toLinearSpace:ku,interpolate:vu,Extrapolation:fu,rgbaColor:O,toGammaSpace:Su}),Cu=function({_worklet_9063917274253_init_data:e,interpolate:t,Extrapolation:n,culori:r,rgbaColor:i}){const a=function(e,a,o,s){const l=t(e,a,o.l,n.CLAMP),c=t(e,a,o.a,n.CLAMP),u=t(e,a,o.b,n.CLAMP),d=t(e,a,o.alpha,n.CLAMP),{r:p,g:f,b:h,alpha:m}=r.oklab.convert.toRgb({l:l,a:c,b:u,alpha:d});return i(p,f,h,m)};return a.__closure={interpolate:t,Extrapolation:n,culori:r,rgbaColor:i},a.__workletHash=9063917274253,a.__initData=e,a}({_worklet_9063917274253_init_data:{code:"(function reactNativeReanimated_interpolateColorJs5(value,inputRange,colors,_options){const{interpolate,Extrapolation,culori,rgbaColor}=this.__closure;const l=interpolate(value,inputRange,colors.l,Extrapolation.CLAMP);const a=interpolate(value,inputRange,colors.a,Extrapolation.CLAMP);const b=interpolate(value,inputRange,colors.b,Extrapolation.CLAMP);const alpha=interpolate(value,inputRange,colors.alpha,Extrapolation.CLAMP);const{r:_r,g:_g,b:_b,alpha:_alpha}=culori.oklab.convert.toRgb({l:l,a:a,b:b,alpha:alpha});return rgbaColor(_r,_g,_b,_alpha);})"},interpolate:vu,Extrapolation:fu,culori:pu,rgbaColor:O}),Eu=function({_worklet_14991343974237_init_data:e,red:t,green:n,blue:r,opacity:i}){const a=function(e,a){const o=[],s=[],l=[],c=[];for(const u of e){const e=a({r:t(u),g:n(u),b:r(u)});o.push(e.ch1),s.push(e.ch2),l.push(e.ch3),c.push(i(u))}return{ch1:o,ch2:s,ch3:l,alpha:c}};return a.__closure={red:t,green:n,blue:r,opacity:i},a.__workletHash=0xda271bb775d,a.__initData=e,a}({_worklet_14991343974237_init_data:{code:"(function reactNativeReanimated_interpolateColorJs6(processedColors,convFromRgb){const{red,green,blue,opacity}=this.__closure;const ch1=[];const ch2=[];const ch3=[];const alpha=[];for(const processedColor of processedColors){const convertedColor=convFromRgb({r:red(processedColor),g:green(processedColor),b:blue(processedColor)});ch1.push(convertedColor.ch1);ch2.push(convertedColor.ch2);ch3.push(convertedColor.ch3);alpha.push(opacity(processedColor));}return{ch1:ch1,ch2:ch2,ch3:ch3,alpha:alpha};})"},red:T,green:I,blue:R,opacity:A}),Au=function({_worklet_7264962081840_init_data:e,_splitColorsIntoChannels:t}){const n=function(e){const{ch1:n,ch2:r,ch3:i,alpha:a}=t(e,e=>({ch1:e.r,ch2:e.g,ch3:e.b}));return{r:n,g:r,b:i,a:a}};return n.__closure={_splitColorsIntoChannels:t},n.__workletHash=7264962081840,n.__initData=e,n}({_worklet_7264962081840_init_data:{code:"(function reactNativeReanimated_
23interpolateColorJs7(processedColors){const{_splitColorsIntoChannels}=this.__closure;const{ch1:ch1,ch2:ch2,ch3:ch3,alpha:alpha}=_splitColorsIntoChannels(processedColors,function(color){return{ch1:color.r,ch2:color.g,ch3:color.b};});return{r:ch1,g:ch2,b:ch3,a:alpha};})"},_splitColorsIntoChannels:Eu}),Tu=function({_worklet_14625719762344_init_data:e,_splitColorsIntoChannels:t,RGBtoHSV:n}){const r=function(e){const{ch1:r,ch2:i,ch3:a,alpha:o}=t(e,e=>{const t=n(e.r,e.g,e.b);return{ch1:t.h,ch2:t.s,ch3:t.v}});return{h:r,s:i,v:a,a:o}};return r.__closure={_splitColorsIntoChannels:t,RGBtoHSV:n},r.__workletHash=0xd4d50d4bda8,r.__initData=e,r}({_worklet_14625719762344_init_data:{code:"(function reactNativeReanimated_interpolateColorJs8(processedColors){const{_splitColorsIntoChannels,RGBtoHSV}=this.__closure;const{ch1:ch1,ch2:ch2,ch3:ch3,alpha:alpha}=_splitColorsIntoChannels(processedColors,function(color){const hsvColor=RGBtoHSV(color.r,color.g,color.b);return{ch1:hsvColor.h,ch2:hsvColor.s,ch3:hsvColor.v};});return{h:ch1,s:ch2,v:ch3,a:alpha};})"},_splitColorsIntoChannels:Eu,RGBtoHSV:D}),Iu=function({_worklet_4395687061526_init_data:e,_splitColorsIntoChannels:t,culori:n}){const r=function(e){const{ch1:r,ch2:i,ch3:a,alpha:o}=t(e,e=>{const t=n.oklab.convert.fromRgb(e);return{ch1:t.l,ch2:t.a,ch3:t.b}});return{l:r,a:i,b:a,alpha:o}};return r.__closure={_splitColorsIntoChannels:t,culori:n},r.__workletHash=4395687061526,r.__initData=e,r}({_worklet_4395687061526_init_data:{code:"(function reactNativeReanimated_interpolateColorJs9(processedColors){const{_splitColorsIntoChannels,culori}=this.__closure;const{ch1:ch1,ch2:ch2,ch3:ch3,alpha:alpha}=_splitColorsIntoChannels(processedColors,function(color){const labColor=culori.oklab.convert.fromRgb(color);return{ch1:labColor.l,ch2:labColor.a,ch3:labColor.b};});return{l:ch1,a:ch2,b:ch3,alpha:alpha};})"},_splitColorsIntoChannels:Eu,culori:pu}),Ru=function({_worklet_8547844740064_init_data:e,processColor:t,TRANSPARENCY_MASK:n}){const r=function(e,r){const i=[],a=[];let o=!1;for(let s=0;s<e.length;s++){const l=r[s],c=t(l),u="transparent"===l;if(u){if(o){if(s===e.length-1&&!a.length){const t=e.length-1;i.push(e[0],e[t]),a.push(0,0)}}else if(u&&s>0){const t=a[a.length-1];i.push(e[s]),a.push(t&n)}}else o&&(i.push(e[s-1]),a.push(c&n)),i.push(e[s]),a.push(c);o=u}return[i,a]};return r.__closure={processColor:t,TRANSPARENCY_MASK:n},r.__workletHash=8547844740064,r.__initData=e,r}({_worklet_8547844740064_init_data:{code:"(function processColorRanges_reactNativeReanimated_interpolateColorJs10(inputRange,outputRange){const{processColor,TRANSPARENCY_MASK}=this.__closure;const processedInputRange=[];const processedOutputRange=[];let isPrevTransparent=false;for(let i=0;i<inputRange.length;i++){const color=outputRange[i];const processedColor=processColor(color);const isTransparent=color==='transparent';if(!isTransparent){if(isPrevTransparent){processedInputRange.push(inputRange[i-1]);processedOutputRange.push(processedColor&TRANSPARENCY_MASK);}processedInputRange.push(inputRange[i]);processedOutputRange.push(processedColor);}else if(!isPrevTransparent){if(isTransparent&&i>0){const lastProcessedColor=processedOutputRange[processedOutputRange.length-1];processedInputRange.push(inputRange[i]);processedOutputRange.push(lastProcessedColor&TRANSPARENCY_MASK);}}else if(i===inputRange.length-1&&!processedOutputRange.length){const lastindex=inputRange.length-1;processedInputRange.push(inputRange[0],inputRange[lastindex]);processedOutputRange.push(0,0);}isPrevTransparent=isTransparent;}return[processedInputRange,processedOutputRange];})"},processColor:Ee,TRANSPARENCY_MASK:16777215}),Ou=function({_worklet_7600715760629_init_data:e,processColorRanges:t,interpolateColorsHSV:n,getInterpolateHSV:r,interpolateColorsRGB:i,getInterpolateRGB:a,interpolateColorsLAB:o,getInterpolateLAB:s}){const l=function(e,l,c,u="RGB",d={}){const[p,f]=t(l,c);if("HSV"===u)return n(e,p,r(f),d);if("RGB"===u)return i(e,p,a(f),d);if("LAB"===u)return o(e,p,s(f),d);throw new Error(`[Reanimated] Invalid color space provided: ${u}. Supported values are: ['RGB', 'HSV', 'LAB'].`)};return l.__closure={processColorRanges:t,interpolateColorsHSV:n,getInterpolateHSV:r,interpolateColorsRGB:i,getInterpolateRGB:a,interpolateColorsLAB:o,getInterpolateLAB:s},l.__workletHash=7600715760629,l.__initData=e,l}({_worklet_7600715760629_init_data:{code:"(function interpolateColor_reactNativeReanimated_
23interpolateColorJs11(value,inputRange,outputRange,colorSpace='RGB',options={}){const{processColorRanges,interpolateColorsHSV,getInterpolateHSV,interpolateColorsRGB,getInterpolateRGB,interpolateColorsLAB,getInterpolateLAB}=this.__closure;const[processedInputRange,processedOutputRange]=processColorRanges(inputRange,outputRange);if(colorSpace==='HSV'){return interpolateColorsHSV(value,processedInputRange,getInterpolateHSV(processedOutputRange),options);}else if(colorSpace==='RGB'){return interpolateColorsRGB(value,processedInputRange,getInterpolateRGB(processedOutputRange),options);}else if(colorSpace==='LAB'){return interpolateColorsLAB(value,processedInputRange,getInterpolateLAB(processedOutputRange),options);}throw new Error(\"[Reanimated] Invalid color space provided: \"+colorSpace+\". Supported values are: ['RGB', 'HSV', 'LAB'].\");})"},processColorRanges:Ru,interpolateColorsHSV:wu,getInterpolateHSV:Tu,interpolateColorsRGB:xu,getInterpolateRGB:Au,interpolateColorsLAB:Cu,getInterpolateLAB:Iu});function Du(){}function Nu(){}function ju(){}function Fu(){}function Mu(){}const Vu=function({_worklet_276209179190_init_data:e}){const t=function(e,t,n){const[r,i]=Object.entries(e)[0];return{key:r,value:n?.[r]??n?.transform?.[t]?.[r]??i}};return t.__closure={},t.__workletHash=276209179190,t.__initData=e,t}({_worklet_276209179190_init_data:{code:"(function resolveTransformSlot_reactNativeReanimated_utilsJs1(entry,index,values){var _ref,_values$key,_values$transform;const[key,defaultValue]=Object.entries(entry)[0];const value=(_ref=(_values$key=values===null||values===void 0?void 0:values[key])!==null&&_values$key!==void 0?_values$key:values===null||values===void 0||(_values$transform=values.transform)===null||_values$transform===void 0||(_values$transform=_values$transform[index])===null||_values$transform===void 0?void 0:_values$transform[key])!==null&&_ref!==void 0?_ref:defaultValue;return{key:key,value:value};})"}}),Pu=function({_worklet_9529167176013_init_data:e,resolveTransformSlot:t}){const n=function(e,n,r){return t(e,n,r).value};return n.__closure={resolveTransformSlot:t},n.__workletHash=9529167176013,n.__initData=e,n}({_worklet_9529167176013_init_data:{code:"(function resolveTransformValue_reactNativeReanimated_utilsJs2(entry,index,values){const{resolveTransformSlot}=this.__closure;return resolveTransformSlot(entry,index,values).value;})"},resolveTransformSlot:Vu}),Lu=function({_worklet_5155063722807_init_data:e,resolveTransformSlot:t}){const n=function(e,n){return e.map((e,r)=>{const{key:i,value:a}=t(e,r,n);return{[i]:a}})};return n.__closure={resolveTransformSlot:t},n.__workletHash=5155063722807,n.__initData=e,n}({_worklet_5155063722807_init_data:{code:"(function pickTransformValues_reactNativeReanimated_utilsJs3(defaults,values){const{resolveTransformSlot}=this.__closure;return defaults.map(function(entry,index){const{key:key,value:value}=resolveTransformSlot(entry,index,values);return{[key]:value};});})"},resolveTransformSlot:Vu}),Bu=function({_worklet_14839784744263_init_data:e,resolveTransformSlot:t}){const n=function(e,n,[r,i],a,o){return e.map((e,s)=>{const{key:l,value:c}=t(e,s,n);return{[l]:a(o,r(c,i))}})};return n.__closure={resolveTransformSlot:t},n.__workletHash=0xd7f28192547,n.__initData=e,n}({_worklet_14839784744263_init_data:{code:"(function animateTransformToValues_reactNativeReanimated_utilsJs4(defaults,values,[animation,config],delayFunction,delay){const{resolveTransformSlot}=this.__closure;return defaults.map(function(entry,index){const{key:key,value:value}=resolveTransformSlot(entry,index,values);return{[key]:delayFunction(delay,animation(value,config))};});})"},resolveTransformSlot:Vu}),Hu={code:"(function reactNativeReanimated_BounceJs1(){const{delayFunction,delay,withSequence,withTiming,duration,resolveTransformValue,targetValues,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:[{scale:delayFunction(delay,withSequence(withTiming(1.2,{duration:duration*0.55}),withTiming(0.9,{duration:duration*0.15}),withTiming(1.1,{duration:duration*0.15}),withTiming(resolveTransformValue({scale:1},0,targetValues),{duration:duration*0.15})))}]},initialValues:{transform:pickTransformValues([{scale:0}],initialValues)},callback:callback};})"};class Wu extends po{static presetName="BounceIn";static createInstance(){return new Wu}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_14713236803534_init_data:e,delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u}){const d=function(){return{animations:{transform:[{scale:t(n,r(i(1.2,{duration:.55*a}),i(.9,{duration:.15*a}),i(1.1,{duration:.15*a}),i(o({scale:1},0,s),{duration:.15*a}
23)))}]},initialValues:{transform:l([{scale:0}],c)},callback:u}};return d.__closure={delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u},d.__workletHash=0xd61b140cfce,d.__initData=e,d}({_worklet_14713236803534_init_data:Hu,delayFunction:e,delay:t,withSequence:ua,withTiming:io,duration:n,resolveTransformValue:Pu,targetValues:a,pickTransformValues:Lu,initialValues:i,callback:r})}}const zu={code:"(function reactNativeReanimated_BounceJs2(values){const{delayFunction,delay,withSequence,withTiming,duration,resolveTransformValue,targetValues,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:[{translateY:delayFunction(delay,withSequence(withTiming(-20,{duration:duration*0.55}),withTiming(10,{duration:duration*0.15}),withTiming(-10,{duration:duration*0.15}),withTiming(resolveTransformValue({translateY:0},0,targetValues),{duration:duration*0.15})))}]},initialValues:{transform:pickTransformValues([{translateY:values.windowHeight}],initialValues)},callback:callback};})"};class Yu extends po{static presetName="BounceInDown";static createInstance(){return new Yu}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_3146685536576_init_data:e,delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u}){const d=function(e){return{animations:{transform:[{translateY:t(n,r(i(-20,{duration:.55*a}),i(10,{duration:.15*a}),i(-10,{duration:.15*a}),i(o({translateY:0},0,s),{duration:.15*a})))}]},initialValues:{transform:l([{translateY:e.windowHeight}],c)},callback:u}};return d.__closure={delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u},d.__workletHash=3146685536576,d.__initData=e,d}({_worklet_3146685536576_init_data:zu,delayFunction:e,delay:t,withSequence:ua,withTiming:io,duration:n,resolveTransformValue:Pu,targetValues:a,pickTransformValues:Lu,initialValues:i,callback:r})}}const Uu={code:"(function reactNativeReanimated_BounceJs3(values){const{delayFunction,delay,withSequence,withTiming,duration,resolveTransformValue,targetValues,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:[{translateY:delayFunction(delay,withSequence(withTiming(20,{duration:duration*0.55}),withTiming(-10,{duration:duration*0.15}),withTiming(10,{duration:duration*0.15}),withTiming(resolveTransformValue({translateY:0},0,targetValues),{duration:duration*0.15})))}]},initialValues:{transform:pickTransformValues([{translateY:-values.windowHeight}],initialValues)},callback:callback};})"};class Xu extends po{static presetName="BounceInUp";static createInstance(){return new Xu}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_4644297009793_init_data:e,delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u}){const d=function(e){return{animations:{transform:[{translateY:t(n,r(i(20,{duration:.55*a}),i(-10,{duration:.15*a}),i(10,{duration:.15*a}),i(o({translateY:0},0,s),{duration:.15*a})))}]},initialValues:{transform:l([{translateY:-e.windowHeight}],c)},callback:u}};return d.__closure={delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u},d.__workletHash=4644297009793,d.__initData=e,d}({_worklet_4644297009793_init_data:Uu,delayFunction:e,delay:t,withSequence:ua,withTiming:io,duration:n,resolveTransformValue:Pu,targetValues:a,pickTransformValues:Lu,initialValues:i,callback:r})}}const Gu={code:"(function reactNativeReanimated_BounceJs4(values){const{delayFunction,delay,withSequence,withTiming,duration,resolveTransformValue,targetValues,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,withSequence(withTiming(20,{duration:duration*0.55}),withTiming(-10,{duration:duration*0.15}),withTiming(10,{duration:duration*0.15}),withTiming(resolveTransformValue({translateX:0},0,targetValues),{duration:duration*0.15})))}]},initialValues:{transform:pickTransformValues([{translateX:-values.windowWidth}],initialValues)},callback:callback};})"};class qu extends po{static presetName="BounceInLeft";static createInstance(){return new qu}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_13016063671070_init_data:e,delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u}){const d=function(e){return{animations:{transform:[{translateX:t(n,r(i(20,{duration:.55*a}),i(-10,{duration:.15*a}),i(10,{duration:.15*a}),i(o({translateX:0},0,s),{duration:.15*a}
23)))}]},initialValues:{transform:l([{translateX:-e.windowWidth}],c)},callback:u}};return d.__closure={delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u},d.__workletHash=0xbd689d9fb1e,d.__initData=e,d}({_worklet_13016063671070_init_data:Gu,delayFunction:e,delay:t,withSequence:ua,withTiming:io,duration:n,resolveTransformValue:Pu,targetValues:a,pickTransformValues:Lu,initialValues:i,callback:r})}}const Ju={code:"(function reactNativeReanimated_BounceJs5(values){const{delayFunction,delay,withSequence,withTiming,duration,resolveTransformValue,targetValues,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,withSequence(withTiming(-20,{duration:duration*0.55}),withTiming(10,{duration:duration*0.15}),withTiming(-10,{duration:duration*0.15}),withTiming(resolveTransformValue({translateX:0},0,targetValues),{duration:duration*0.15})))}]},initialValues:{transform:pickTransformValues([{translateX:values.windowWidth}],initialValues)},callback:callback};})"};class $u extends po{static presetName="BounceInRight";static createInstance(){return new $u}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_4479732375263_init_data:e,delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u}){const d=function(e){return{animations:{transform:[{translateX:t(n,r(i(-20,{duration:.55*a}),i(10,{duration:.15*a}),i(-10,{duration:.15*a}),i(o({translateX:0},0,s),{duration:.15*a})))}]},initialValues:{transform:l([{translateX:e.windowWidth}],c)},callback:u}};return d.__closure={delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u},d.__workletHash=4479732375263,d.__initData=e,d}({_worklet_4479732375263_init_data:Ju,delayFunction:e,delay:t,withSequence:ua,withTiming:io,duration:n,resolveTransformValue:Pu,targetValues:a,pickTransformValues:Lu,initialValues:i,callback:r})}}const Ku={code:"(function reactNativeReanimated_BounceJs6(){const{delayFunction,delay,withSequence,withTiming,duration,resolveTransformValue,targetValues,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:[{scale:delayFunction(delay,withSequence(withTiming(1.1,{duration:duration*0.15}),withTiming(0.9,{duration:duration*0.15}),withTiming(1.2,{duration:duration*0.15}),withTiming(resolveTransformValue({scale:0},0,targetValues),{duration:duration*0.55})))}]},initialValues:{transform:pickTransformValues([{scale:1}],initialValues)},callback:callback};})"};class Zu extends po{static presetName="BounceOut";static createInstance(){return new Zu}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_4409917179113_init_data:e,delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u}){const d=function(){return{animations:{transform:[{scale:t(n,r(i(1.1,{duration:.15*a}),i(.9,{duration:.15*a}),i(1.2,{duration:.15*a}),i(o({scale:0},0,s),{duration:.55*a})))}]},initialValues:{transform:l([{scale:1}],c)},callback:u}};return d.__closure={delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u},d.__workletHash=4409917179113,d.__initData=e,d}({_worklet_4409917179113_init_data:Ku,delayFunction:e,delay:t,withSequence:ua,withTiming:io,duration:n,resolveTransformValue:Pu,targetValues:a,pickTransformValues:Lu,initialValues:i,callback:r})}}const Qu={code:"(function reactNativeReanimated_BounceJs7(values){const{delayFunction,delay,withSequence,withTiming,duration,resolveTransformValue,targetValues,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:[{translateY:delayFunction(delay,withSequence(withTiming(-10,{duration:duration*0.15}),withTiming(10,{duration:duration*0.15}),withTiming(-20,{duration:duration*0.15}),withTiming(resolveTransformValue({translateY:values.windowHeight},0,targetValues),{duration:duration*0.55})))}]},initialValues:{transform:pickTransformValues([{translateY:0}],initialValues)},callback:callback};})"};class ed extends po{static presetName="BounceOutDown";static createInstance(){return new ed}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_4093931415717_init_data:e,delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u}){const d=function(e){return{animations:{transform:[{translateY:t(n,r(i(-10,{duration:.15*a}),i(10,{duration:.15*a}),i(-20,{duration:.15*a}),i(o({translateY:e.windowHeight},0,s),{duration:.55*a})))}]},initialValues:{transform:l([{translateY:0}],c)},callback:u}};return d.__closure={delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u},d.__workletHash=4093931415717,d.__initData=e,d}({_worklet_4093931415717_init_data:Qu,delayFunction:e,delay:t,withSequence:ua,withTiming:io,duration:n,resolveTransformValue:Pu,targetValues:a,pickTransformValues:Lu,initialValues:i,callback:r})}}const td={code:"(function reactNativeReanimated_BounceJs8(values){const{delayFunction,delay,withSequence,withTiming,duration,resolveTransformValue,targetValues,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:[{translateY:delayFunction(delay,withSequence(withTiming(10,{duration:duration*0.15}),withTiming(-10,{duration:duration*0.15}),withTiming(20,{duration:duration*0.15}),withTiming(resolveTransformValue({translateY:-values.windowHeight},0,targetValues),{duration:duration*0.55})))}]},initialValues:{transform:pickTransformValues([{translateY:0}],initialValues)},callback:callback};})"};class nd extends po{static presetName="BounceOutUp";static createInstance(){return new nd}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_2831874073194_init_data:e,delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u}){const d=function(e){return{animations:{transform:[{translateY:t(n,r(i(10,{duration:.15*a}),i(-10,{duration:.15*a}),i(20,{duration:.15*a}),i(o({translateY:-e.windowHeight},0,s),{duration:.55*a})))}]},initialValues:{transform:l([{translateY:0}],c)},callback:u}};return d.__closure={delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u},d.__workletHash=2831874073194,d.__initData=e,d}({_worklet_2831874073194_init_data:td,delayFunction:e,delay:t,withSequence:ua,withTiming:io,duration:n,resolveTransformValue:Pu,targetValues:a,pickTransformValues:Lu,initialValues:i,callback:r})}}const rd={code:"(function reactNativeReanimated_BounceJs9(values){const{delayFunction,delay,withSequence,withTiming,duration,resolveTransformValue,targetValues,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,withSequence(withTiming(10,{duration:duration*0.15}),withTiming(-10,{duration:duration*0.15}),withTiming(20,{duration:duration*0.15}),withTiming(resolveTransformValue({translateX:-values.windowWidth},0,targetValues),{duration:duration*0.55})))}]},initialValues:{transform:pickTransformValues([{translateX:0}],initialValues)},callback:callback};})"};class id extends po{static presetName="BounceOutLeft";static createInstance(){return new id}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_15155358798835_init_data:e,delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u}){const d=function(e){return{animations:{transform:[{translateX:t(n,r(i(10,{duration:.15*a}),i(-10,{duration:.15*a}),i(20,{duration:.15*a}),i(o({translateX:-e.windowWidth},0,s),{duration:.55*a})))}]},initialValues:{transform:l([{translateX:0}],c)},callback:u}};return d.__closure={delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u},d.__workletHash=0xdc8a1c713f3,d.__initData=e,d}({_worklet_15155358798835_init_data:rd,delayFunction:e,delay:t,withSequence:ua,withTiming:io,duration:n,resolveTransformValue:Pu,targetValues:a,pickTransformValues:Lu,initialValues:i,callback:r})}}const ad={code:"(function reactNativeReanimated_BounceJs10(values){const{delayFunction,delay,withSequence,withTiming,duration,resolveTransformValue,targetValues,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,withSequence(withTiming(-10,{duration:duration*0.15}),withTiming(10,{duration:duration*0.15}),withTiming(-20,{duration:duration*0.15}),withTiming(resolveTransformValue({translateX:values.windowWidth},0,targetValues),{duration:duration*0.55})))}]},initialValues:{transform:pickTransformValues([{translateX:0}],initialValues)},callback:callback};})"};class od extends po{static presetName="BounceOutRight";static createInstance(){return new od}static getDuration(){return 600}getDuration(){return this.durationV??600}build=()=>{const e=this.getDelayFunction(),t=this.getDelay(),n=this.getDuration(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_17238948392875_init_data:e,delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u}){const d=function(e){return{animations:{transform:[{translateX:t(n,r(i(-10,{duration:.15*a}),i(10,{duration:.15*a}),i(-20,{duration:.15*a}),i(o({translateX:e.windowWidth},0,s),{duration:.55*a})))}]},initialValues:{transform:l([{translateX:0}],c)},callback:u}};return d.__closure={delayFunction:t,delay:n,withSequence:r,withTiming:i,duration:a,resolveTransformValue:o,targetValues:s,pickTransformValues:l,initialValues:c,callback:u},d.__workletHash=0xfadc1652fab,d.__initData=e,d}({_worklet_17238948392875_init_data:ad,delayFunction:e,delay:t,withSequence:ua,withTiming:io,duration:n,resolveTransformValue:Pu,targetValues:a,pickTransformValues:Lu,initialValues:i,callback:r})}}const sd={code:"(function reactNativeReanimated_FadeJs1(){const{delayFunction,delay,animation,targetValues,config,initialValues,callback}=this.__closure;
23var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:1,config))},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:0},callback:callback};})"};class ld extends po{static presetName="FadeIn";static createInstance(){return new ld}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.callbackV,i=this.initialValues,a=this.targetValues,o=this.getDelay();return function({_worklet_7493834060178_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s}){const l=function(){return{animations:{opacity:t(n,r(i?.opacity??1,a))},initialValues:{opacity:o?.opacity??0},callback:s}};return l.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s},l.__workletHash=7493834060178,l.__initData=e,l}({_worklet_7493834060178_init_data:sd,delayFunction:e,delay:o,animation:t,targetValues:a,config:n,initialValues:i,callback:r})}}const cd={code:"(function reactNativeReanimated_FadeJs2(){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:1,config)),transform:animateTransformToValues([{translateX:0}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:0,transform:pickTransformValues([{translateX:25}],initialValues)},callback:callback};})"};class ud extends po{static presetName="FadeInRight";static createInstance(){return new ud}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.callbackV,a=this.initialValues,o=this.targetValues,s=this.getDelay();return function({_worklet_12362388030155_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(){return{animations:{opacity:t(n,r(i?.opacity??1,a)),transform:o([{translateX:0}],i,s,t,n)},initialValues:{opacity:l?.opacity??0,transform:c([{translateX:25}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=0xb3e57bf42cb,d.__initData=e,d}({_worklet_12362388030155_init_data:cd,delayFunction:e,delay:s,animation:n,targetValues:o,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:a,pickTransformValues:Lu,callback:i})}}const dd={code:"(function reactNativeReanimated_FadeJs3(){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:1,config)),transform:animateTransformToValues([{translateX:0}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$op
23acit!==void 0?_initialValues$opacit:0,transform:pickTransformValues([{translateX:-25}],initialValues)},callback:callback};})"};class pd extends po{static presetName="FadeInLeft";static createInstance(){return new pd}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.callbackV,a=this.initialValues,o=this.targetValues,s=this.getDelay();return function({_worklet_9622042689959_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(){return{animations:{opacity:t(n,r(i?.opacity??1,a)),transform:o([{translateX:0}],i,s,t,n)},initialValues:{opacity:l?.opacity??0,transform:c([{translateX:-25}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=9622042689959,d.__initData=e,d}({_worklet_9622042689959_init_data:dd,delayFunction:e,delay:s,animation:n,targetValues:o,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:a,pickTransformValues:Lu,callback:i})}}const fd={code:"(function reactNativeReanimated_FadeJs4(){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:1,config)),transform:animateTransformToValues([{translateY:0}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:0,transform:pickTransformValues([{translateY:-25}],initialValues)},callback:callback};})"};class hd extends po{static presetName="FadeInUp";static createInstance(){return new hd}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.callbackV,a=this.initialValues,o=this.targetValues,s=this.getDelay();return function({_worklet_12694751633248_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(){return{animations:{opacity:t(n,r(i?.opacity??1,a)),transform:o([{translateY:0}],i,s,t,n)},initialValues:{opacity:l?.opacity??0,transform:c([{translateY:-25}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=0xb8bba295f60,d.__initData=e,d}({_worklet_12694751633248_init_data:fd,delayFunction:e,delay:s,animation:n,targetValues:o,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:a,pickTransformValues:Lu,callback:i})}}const md={code:"(function reactNativeReanimated_FadeJs5(){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:1,config)),transform:animateTransformToValues([{translateY:0}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:0,transform:pickTransformValues([{translateY:25}],initialValues)},callback:callback};})"};class gd extends po{static presetName="FadeInDown";static createInstance(){return new gd}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.callbackV,a=this.initialValues,o=this.targetValues,s=this.getDelay();return function({_worklet_11437607290764_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(){return{animations:{opacity:t(n,r(i?.opacity??1,a)),transform:o([{translateY:0}],i,s,t,n)},initialValues:{opacity:l?.opacity??0,transform:c([{translateY:25}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=0xa670685078c,d.__initData=e,d}({_worklet_11437607290764_init_data:md,delayFunction:e,delay:s,animation:n,targetValues:o,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:a,pickTransformValues:Lu,callback:i})}}const yd={code:"(function reactNativeReanimated_FadeJs6(){const{delayFunction,delay,animation,targetValues,config,initialValues,callback}=this.__closure;
23var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:0,config))},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:1},callback:callback};})"};class vd extends po{static presetName="FadeOut";static createInstance(){return new vd}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.callbackV,i=this.initialValues,a=this.targetValues,o=this.getDelay();return function({_worklet_16425479434229_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s}){const l=function(){return{animations:{opacity:t(n,r(i?.opacity??0,a))},initialValues:{opacity:o?.opacity??1},callback:s}};return l.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s},l.__workletHash=0xef05addeff5,l.__initData=e,l}({_worklet_16425479434229_init_data:yd,delayFunction:e,delay:o,animation:t,targetValues:a,config:n,initialValues:i,callback:r})}}const bd={code:"(function reactNativeReanimated_FadeJs7(){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:0,config)),transform:animateTransformToValues([{translateX:25}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:1,transform:pickTransformValues([{translateX:0}],initialValues)},callback:callback};})"};class _d extends po{static presetName="FadeOutRight";static createInstance(){return new _d}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.callbackV,a=this.initialValues,o=this.targetValues,s=this.getDelay();return function({_worklet_2290118277998_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(){return{animations:{opacity:t(n,r(i?.opacity??0,a)),transform:o([{translateX:25}],i,s,t,n)},initialValues:{opacity:l?.opacity??1,transform:c([{translateX:0}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=2290118277998,d.__initData=e,d}({_worklet_2290118277998_init_data:bd,delayFunction:e,delay:s,animation:n,targetValues:o,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:a,pickTransformValues:Lu,callback:i})}}const wd={code:"(function reactNativeReanimated_FadeJs8(){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:0,config)),transform:animateTransformToValues([{translateX:-25}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$op
23acit!==void 0?_initialValues$opacit:1,transform:pickTransformValues([{translateX:0}],initialValues)},callback:callback};})"};class kd extends po{static presetName="FadeOutLeft";static createInstance(){return new kd}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.callbackV,a=this.initialValues,o=this.targetValues,s=this.getDelay();return function({_worklet_16294174803884_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(){return{animations:{opacity:t(n,r(i?.opacity??0,a)),transform:o([{translateX:-25}],i,s,t,n)},initialValues:{opacity:l?.opacity??1,transform:c([{translateX:0}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=0xed1c88047ac,d.__initData=e,d}({_worklet_16294174803884_init_data:wd,delayFunction:e,delay:s,animation:n,targetValues:o,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:a,pickTransformValues:Lu,callback:i})}}const Sd={code:"(function reactNativeReanimated_FadeJs9(){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:0,config)),transform:animateTransformToValues([{translateY:-25}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:1,transform:pickTransformValues([{translateY:0}],initialValues)},callback:callback};})"};class xd extends po{static presetName="FadeOutUp";static createInstance(){return new xd}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.callbackV,a=this.initialValues,o=this.targetValues,s=this.getDelay();return function({_worklet_8808060421933_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(){return{animations:{opacity:t(n,r(i?.opacity??0,a)),transform:o([{translateY:-25}],i,s,t,n)},initialValues:{opacity:l?.opacity??1,transform:c([{translateY:0}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=8808060421933,d.__initData=e,d}({_worklet_8808060421933_init_data:Sd,delayFunction:e,delay:s,animation:n,targetValues:o,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:a,pickTransformValues:Lu,callback:i})}}const Cd={code:"(function reactNativeReanimated_FadeJs10(){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:0,config)),transform:animateTransformToValues([{translateY:25}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:1,transform:pickTransformValues([{translateY:0}],initialValues)},callback:callback};})"};class Ed extends po{static presetName="FadeOutDown";static createInstance(){return new Ed}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.callbackV,a=this.initialValues,o=this.targetValues,s=this.getDelay();return function({_worklet_8995125997528_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(){return{animations:{opacity:t(n,r(i?.opacity??0,a)),transform:o([{translateY:25}],i,s,t,n)},initialValues:{opacity:l?.opacity??1,transform:c([{translateY:0}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=8995125997528,d.__initData=e,d}({_worklet_8995125997528_init_data:Cd,delayFunction:e,delay:s,animation:n,targetValues:o,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:a,pickTransformValues:Lu,callback:i})}}const Ad={code:"(function reactNativeReanimated_FlipJs1(values){const{pickTransformValues,initialValues,animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,callback}=this.__closure;return{initialValues:{transform:pickTransformValues([{perspective:500}
23,{rotateX:'90deg'},{translateY:-values.targetHeight}],initialValues)},animations:{transform:animateTransformToValues([{perspective:500},{rotateX:'0deg'},{translateY:0}],targetValues,animationAndConfig,delayFunction,delay)},callback:callback};})"};class Td extends po{static presetName="FlipInXUp";static createInstance(){return new Td}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_7572747878704_init_data:e,pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l}){const c=function(e){return{initialValues:{transform:t([{perspective:500},{rotateX:"90deg"},{translateY:-e.targetHeight}],n)},animations:{transform:r([{perspective:500},{rotateX:"0deg"},{translateY:0}],i,a,o,s)},callback:l}};return c.__closure={pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l},c.__workletHash=7572747878704,c.__initData=e,c}({_worklet_7572747878704_init_data:Ad,pickTransformValues:Lu,initialValues:i,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,callback:r})}}const Id={code:"(function reactNativeReanimated_FlipJs2(values){const{pickTransformValues,initialValues,animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,callback}=this.__closure;return{initialValues:{transform:pickTransformValues([{perspective:500},{rotateY:'-90deg'},{translateX:-values.targetWidth}],initialValues)},animations:{transform:animateTransformToValues([{perspective:500},{rotateY:'0deg'},{translateX:0}],targetValues,animationAndConfig,delayFunction,delay)},callback:callback};})"};class Rd extends po{static presetName="FlipInYLeft";static createInstance(){return new Rd}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_13364515412583_init_data:e,pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l}){const c=function(e){return{initialValues:{transform:t([{perspective:500},{rotateY:"-90deg"},{translateX:-e.targetWidth}],n)},animations:{transform:r([{perspective:500},{rotateY:"0deg"},{translateX:0}],i,a,o,s)},callback:l}};return c.__closure={pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l},c.__workletHash=0xc27ab319a67,c.__initData=e,c}({_worklet_13364515412583_init_data:Id,pickTransformValues:Lu,initialValues:i,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,callback:r})}}const Od={code:"(function reactNativeReanimated_FlipJs3(values){const{pickTransformValues,initialValues,animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,callback}=this.__closure;return{initialValues:{transform:pickTransformValues([{perspective:500},{rotateX:'-90deg'},{translateY:values.targetHeight}],initialValues)},animations:{transform:animateTransformToValues([{perspective:500},{rotateX:'0deg'},{translateY:0}],targetValues,animationAndConfig,delayFunction,delay)},callback:callback};})"};class Dd extends po{static presetName="FlipInXDown";static createInstance(){return new Dd}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_13227654350226_init_data:e,pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l}){const c=function(e){return{initialValues:{transform:t([{perspective:500},{rotateX:"-90deg"},{translateY:e.targetHeight}],n)},animations:{transform:r([{perspective:500},{rotateX:"0deg"},{translateY:0}],i,a,o,s)},callback:l}};return c.__closure={pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l},c.__workletHash=0xc07cda38592,c.__initData=e,c}({_worklet_13227654350226_init_data:Od,pickTransformValues:Lu,initialValues:i,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,callback:r})}}const Nd={code:"(function reactNativeReanimated_FlipJs4(values){const{pickTransformValues,initialValues,animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,callback}=this.__closure;return{initialValues:{transform:pickTransformValues([{perspective:500},{rotateY:'90deg'},{translateX:values.targetWidth}],initialValues)},animations:{transform:animateTransformToValues([{perspective:500},{rotateY:'0deg'},{translateX:0}],targetValues,animationAndConfig,delayFunction,delay)},callback:callback};})"};class jd extends po{static presetName="FlipInYRight";static createInstance(){return new jd}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;
23return function({_worklet_9981279113601_init_data:e,pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l}){const c=function(e){return{initialValues:{transform:t([{perspective:500},{rotateY:"90deg"},{translateX:e.targetWidth}],n)},animations:{transform:r([{perspective:500},{rotateY:"0deg"},{translateX:0}],i,a,o,s)},callback:l}};return c.__closure={pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l},c.__workletHash=9981279113601,c.__initData=e,c}({_worklet_9981279113601_init_data:Nd,pickTransformValues:Lu,initialValues:i,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,callback:r})}}const Fd={code:"(function reactNativeReanimated_FlipJs5(){const{pickTransformValues,initialValues,animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,callback}=this.__closure;return{initialValues:{transform:pickTransformValues([{perspective:500},{rotateX:'90deg'}],initialValues)},animations:{transform:animateTransformToValues([{perspective:500},{rotateX:'0deg'}],targetValues,animationAndConfig,delayFunction,delay)},callback:callback};})"};class Md extends po{static presetName="FlipInEasyX";static createInstance(){return new Md}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_5480385860969_init_data:e,pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l}){const c=function(){return{initialValues:{transform:t([{perspective:500},{rotateX:"90deg"}],n)},animations:{transform:r([{perspective:500},{rotateX:"0deg"}],i,a,o,s)},callback:l}};return c.__closure={pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l},c.__workletHash=5480385860969,c.__initData=e,c}({_worklet_5480385860969_init_data:Fd,pickTransformValues:Lu,initialValues:i,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,callback:r})}}const Vd={code:"(function reactNativeReanimated_FlipJs6(){const{pickTransformValues,initialValues,animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,callback}=this.__closure;return{initialValues:{transform:pickTransformValues([{perspective:500},{rotateY:'90deg'}],initialValues)},animations:{transform:animateTransformToValues([{perspective:500},{rotateY:'0deg'}],targetValues,animationAndConfig,delayFunction,delay)},callback:callback};})"};class Pd extends po{static presetName="FlipInEasyY";static createInstance(){return new Pd}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_8731162707658_init_data:e,pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l}){const c=function(){return{initialValues:{transform:t([{perspective:500},{rotateY:"90deg"}],n)},animations:{transform:r([{perspective:500},{rotateY:"0deg"}],i,a,o,s)},callback:l}};return c.__closure={pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l},c.__workletHash=8731162707658,c.__initData=e,c}({_worklet_8731162707658_init_data:Vd,pickTransformValues:Lu,initialValues:i,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,callback:r})}}const Ld={code:"(function reactNativeReanimated_FlipJs7(values){const{pickTransformValues,initialValues,animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,callback}=this.__closure;return{initialValues:{transform:pickTransformValues([{perspective:500},{rotateX:'0deg'},{translateY:0}],initialValues)},animations:{transform:animateTransformToValues([{perspective:500}
23,{rotateX:'90deg'},{translateY:-values.currentHeight}],targetValues,animationAndConfig,delayFunction,delay)},callback:callback};})"};class Bd extends po{static presetName="FlipOutXUp";static createInstance(){return new Bd}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_17194556190830_init_data:e,pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l}){const c=function(e){return{initialValues:{transform:t([{perspective:500},{rotateX:"0deg"},{translateY:0}],n)},animations:{transform:r([{perspective:500},{rotateX:"90deg"},{translateY:-e.currentHeight}],i,a,o,s)},callback:l}};return c.__closure={pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l},c.__workletHash=0xfa36b69f06e,c.__initData=e,c}({_worklet_17194556190830_init_data:Ld,pickTransformValues:Lu,initialValues:i,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,callback:r})}}const Hd={code:"(function reactNativeReanimated_FlipJs8(values){const{pickTransformValues,initialValues,animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,callback}=this.__closure;return{initialValues:{transform:pickTransformValues([{perspective:500},{rotateY:'0deg'},{translateX:0}],initialValues)},animations:{transform:animateTransformToValues([{perspective:500},{rotateY:'-90deg'},{translateX:-values.currentWidth}],targetValues,animationAndConfig,delayFunction,delay)},callback:callback};})"};class Wd extends po{static presetName="FlipOutYLeft";static createInstance(){return new Wd}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_871018615701_init_data:e,pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l}){const c=function(e){return{initialValues:{transform:t([{perspective:500},{rotateY:"0deg"},{translateX:0}],n)},animations:{transform:r([{perspective:500},{rotateY:"-90deg"},{translateX:-e.currentWidth}],i,a,o,s)},callback:l}};return c.__closure={pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l},c.__workletHash=871018615701,c.__initData=e,c}({_worklet_871018615701_init_data:Hd,pickTransformValues:Lu,initialValues:i,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,callback:r})}}const zd={code:"(function reactNativeReanimated_FlipJs9(values){const{pickTransformValues,initialValues,animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,callback}=this.__closure;return{initialValues:{transform:pickTransformValues([{perspective:500},{rotateX:'0deg'},{translateY:0}],initialValues)},animations:{transform:animateTransformToValues([{perspective:500},{rotateX:'-90deg'},{translateY:values.currentHeight}],targetValues,animationAndConfig,delayFunction,delay)},callback:callback};})"};class Yd extends po{static presetName="FlipOutXDown";static createInstance(){return new Yd}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_7400180651648_init_data:e,pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l}){const c=function(e){return{initialValues:{transform:t([{perspective:500},{rotateX:"0deg"},{translateY:0}],n)},animations:{transform:r([{perspective:500},{rotateX:"-90deg"},{translateY:e.currentHeight}],i,a,o,s)},callback:l}};return c.__closure={pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l},c.__workletHash=7400180651648,c.__initData=e,c}({_worklet_7400180651648_init_data:zd,pickTransformValues:Lu,initialValues:i,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,callback:r})}}const Ud={code:"(function reactNativeReanimated_FlipJs10(values){const{pickTransformValues,initialValues,animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,callback}=this.__closure;return{initialValues:{transform:pickTransformValues([{perspective:500},{rotateY:'0deg'},{translateX:0}],initialValues)},animations:{transform:animateTransformToValues([{perspective:500},{rotateY:'90deg'},{translateX:values.currentWidth}],targetValues,animationAndConfig,delayFunction,delay)},callback:callback};})"};class Xd extends po{static presetName="FlipOutYRight";static createInstance(){return new Xd}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_8410767099980_init_data:e,pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l}){const c=function(e){return{initialValues:{transform:t([{perspective:500},{rotateY:"0deg"},{translateX:0}],n)},animations:{transform:r([{perspective:500}
23,{rotateY:"90deg"},{translateX:e.currentWidth}],i,a,o,s)},callback:l}};return c.__closure={pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l},c.__workletHash=8410767099980,c.__initData=e,c}({_worklet_8410767099980_init_data:Ud,pickTransformValues:Lu,initialValues:i,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,callback:r})}}const Gd={code:"(function reactNativeReanimated_FlipJs11(){const{pickTransformValues,initialValues,animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,callback}=this.__closure;return{initialValues:{transform:pickTransformValues([{perspective:500},{rotateX:'0deg'}],initialValues)},animations:{transform:animateTransformToValues([{perspective:500},{rotateX:'90deg'}],targetValues,animationAndConfig,delayFunction,delay)},callback:callback};})"};class qd extends po{static presetName="FlipOutEasyX";static createInstance(){return new qd}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_12442544158428_init_data:e,pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l}){const c=function(){return{initialValues:{transform:t([{perspective:500},{rotateX:"0deg"}],n)},animations:{transform:r([{perspective:500},{rotateX:"90deg"}],i,a,o,s)},callback:l}};return c.__closure={pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l},c.__workletHash=0xb51016cb6dc,c.__initData=e,c}({_worklet_12442544158428_init_data:Gd,pickTransformValues:Lu,initialValues:i,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,callback:r})}}const Jd={code:"(function reactNativeReanimated_FlipJs12(){const{pickTransformValues,initialValues,animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,callback}=this.__closure;return{initialValues:{transform:pickTransformValues([{perspective:500},{rotateY:'0deg'}],initialValues)},animations:{transform:animateTransformToValues([{perspective:500},{rotateY:'90deg'}],targetValues,animationAndConfig,delayFunction,delay)},callback:callback};})"};class $d extends po{static presetName="FlipOutEasyY";static createInstance(){return new $d}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_8681413480831_init_data:e,pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l}){const c=function(){return{initialValues:{transform:t([{perspective:500},{rotateY:"0deg"}],n)},animations:{transform:r([{perspective:500},{rotateY:"90deg"}],i,a,o,s)},callback:l}};return c.__closure={pickTransformValues:t,initialValues:n,animateTransformToValues:r,targetValues:i,animationAndConfig:a,delayFunction:o,delay:s,callback:l},c.__workletHash=8681413480831,c.__initData=e,c}({_worklet_8681413480831_init_data:Jd,pickTransformValues:Lu,initialValues:i,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,callback:r})}}const Kd={code:"(function reactNativeReanimated_LightspeedJs1(values){const{delayFunction,delay,withTiming,targetValues,duration,animation,targetTranslateX,config,withSequence,targetSkewX,initialValues,pickTransformValues,callback}=this.__closure;var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,withTiming((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:1,{duration:duration})),transform:[{translateX:delayFunction(delay,animation(targetTranslateX,{...config,duration:duration*0.7}))},{skewX:delayFunction(delay,withSequence(withTiming('10deg',{duration:duration*0.7}),withTiming('-5deg',{duration:duration*0.15}
23),withTiming(targetSkewX,{duration:duration*0.15})))}]},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:0,transform:pickTransformValues([{translateX:values.windowWidth},{skewX:'-45deg'}],initialValues)},callback:callback};})"};class Zd extends po{static presetName="LightSpeedInRight";static createInstance(){return new Zd}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.getDelay(),a=this.getDuration(),o=this.callbackV,s=this.initialValues,l=this.targetValues,{value:c}=Vu({translateX:0},0,l),{value:u}=Vu({skewX:"0deg"},1,l);return function({_worklet_4851225644866_init_data:e,delayFunction:t,delay:n,withTiming:r,targetValues:i,duration:a,animation:o,targetTranslateX:s,config:l,withSequence:c,targetSkewX:u,initialValues:d,pickTransformValues:p,callback:f}){const h=function(e){return{animations:{opacity:t(n,r(i?.opacity??1,{duration:a})),transform:[{translateX:t(n,o(s,Object.assign({},l,{duration:.7*a})))},{skewX:t(n,c(r("10deg",{duration:.7*a}),r("-5deg",{duration:.15*a}),r(u,{duration:.15*a})))}]},initialValues:{opacity:d?.opacity??0,transform:p([{translateX:e.windowWidth},{skewX:"-45deg"}],d)},callback:f}};return h.__closure={delayFunction:t,delay:n,withTiming:r,targetValues:i,duration:a,animation:o,targetTranslateX:s,config:l,withSequence:c,targetSkewX:u,initialValues:d,pickTransformValues:p,callback:f},h.__workletHash=4851225644866,h.__initData=e,h}({_worklet_4851225644866_init_data:Kd,delayFunction:e,delay:i,withTiming:io,targetValues:l,duration:a,animation:n,targetTranslateX:c,config:r,withSequence:ua,targetSkewX:u,initialValues:s,pickTransformValues:Lu,callback:o})}}const Qd={code:"(function reactNativeReanimated_LightspeedJs2(values){const{delayFunction,delay,withTiming,targetValues,duration,animation,targetTranslateX,config,withSequence,targetSkewX,initialValues,pickTransformValues,callback}=this.__closure;var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,withTiming((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:1,{duration:duration})),transform:[{translateX:delayFunction(delay,animation(targetTranslateX,{...config,duration:duration*0.7}))},{skewX:delayFunction(delay,withSequence(withTiming('-10deg',{duration:duration*0.7}),withTiming('5deg',{duration:duration*0.15}),withTiming(targetSkewX,{duration:duration*0.15})))}]},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:0,transform:pickTransformValues([{translateX:-values.windowWidth},{skewX:'45deg'}],initialValues)},callback:callback};})"};class ep extends po{static presetName="LightSpeedInLeft";static createInstance(){return new ep}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.getDelay(),a=this.getDuration(),o=this.callbackV,s=this.initialValues,l=this.targetValues,{value:c}=Vu({translateX:0},0,l),{value:u}=Vu({skewX:"0deg"},1,l);return function({_worklet_12982417896769_init_data:e,delayFunction:t,delay:n,withTiming:r,targetValues:i,duration:a,animation:o,targetTranslateX:s,config:l,withSequence:c,targetSkewX:u,initialValues:d,pickTransformValues:p,callback:f}){const h=function(e){return{animations:{opacity:t(n,r(i?.opacity??1,{duration:a})),transform:[{translateX:t(n,o(s,Object.assign({},l,{duration:.7*a})))},{skewX:t(n,c(r("-10deg",{duration:.7*a}),r("5deg",{duration:.15*a}),r(u,{duration:.15*a})))}]},initialValues:{opacity:d?.opacity??0,transform:p([{translateX:-e.windowWidth},{skewX:"45deg"}],d)},callback:f}};return h.__closure={delayFunction:t,delay:n,withTiming:r,targetValues:i,duration:a,animation:o,targetTranslateX:s,config:l,withSequence:c,targetSkewX:u,initialValues:d,pickTransformValues:p,callback:f},h.__workletHash=0xbceb4683541,h.__initData=e,h}({_worklet_12982417896769_init_data:Qd,delayFunction:e,delay:i,withTiming:io,targetValues:l,duration:a,animation:n,targetTranslateX:c,config:r,withSequence:ua,targetSkewX:u,initialValues:s,pickTransformValues:Lu,callback:o})}}const tp={code:"(function reactNativeReanimated_LightspeedJs3(values){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;
23var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:0,config)),transform:animateTransformToValues([{translateX:values.windowWidth},{skewX:'-45deg'}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:1,transform:pickTransformValues([{translateX:0},{skewX:'0deg'}],initialValues)},callback:callback};})"};class np extends po{static presetName="LightSpeedOutRight";static createInstance(){return new np}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.getDelay(),a=this.callbackV,o=this.initialValues,s=this.targetValues;return function({_worklet_12295658775946_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(e){return{animations:{opacity:t(n,r(i?.opacity??0,a)),transform:o([{translateX:e.windowWidth},{skewX:"-45deg"}],i,s,t,n)},initialValues:{opacity:l?.opacity??1,transform:c([{translateX:0},{skewX:"0deg"}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=0xb2ece5fa58a,d.__initData=e,d}({_worklet_12295658775946_init_data:tp,delayFunction:e,delay:i,animation:n,targetValues:s,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:o,pickTransformValues:Lu,callback:a})}}const rp={code:"(function reactNativeReanimated_LightspeedJs4(values){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:0,config)),transform:animateTransformToValues([{translateX:-values.windowWidth},{skewX:'45deg'}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:1,transform:pickTransformValues([{translateX:0},{skewX:'0deg'}],initialValues)},callback:callback};})"};class ip extends po{static presetName="LightSpeedOutLeft";static createInstance(){return new ip}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.getDelay(),a=this.callbackV,o=this.initialValues,s=this.targetValues;return function({_worklet_111690848685_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(e){return{animations:{opacity:t(n,r(i?.opacity??0,a)),transform:o([{translateX:-e.windowWidth},{skewX:"45deg"}],i,s,t,n)},initialValues:{opacity:l?.opacity??1,transform:c([{translateX:0},{skewX:"0deg"}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=111690848685,d.__initData=e,d}({_worklet_111690848685_init_data:rp,delayFunction:e,delay:i,animation:n,targetValues:s,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:o,pickTransformValues:Lu,callback:a})}}const ap={code:"(function reactNativeReanimated_PinwheelJs1(){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;
23var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:1,config)),transform:animateTransformToValues([{scale:1},{rotate:'0rad'}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:0,transform:pickTransformValues([{scale:0},{rotate:'5rad'}],initialValues)},callback:callback};})"};class op extends po{static presetName="PinwheelIn";static createInstance(){return new op}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.getDelay(),a=this.callbackV,o=this.initialValues,s=this.targetValues;return function({_worklet_11993534304057_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(){return{animations:{opacity:t(n,r(i?.opacity??1,a)),transform:o([{scale:1},{rotate:"0rad"}],i,s,t,n)},initialValues:{opacity:l?.opacity??0,transform:c([{scale:0},{rotate:"5rad"}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=0xae8765a0f39,d.__initData=e,d}({_worklet_11993534304057_init_data:ap,delayFunction:e,delay:i,animation:n,targetValues:s,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:o,pickTransformValues:Lu,callback:a})}}const sp={code:"(function reactNativeReanimated_PinwheelJs2(){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:0,config)),transform:animateTransformToValues([{scale:0},{rotate:'5rad'}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:1,transform:pickTransformValues([{scale:1},{rotate:'0rad'}],initialValues)},callback:callback};})"};class lp extends po{static presetName="PinwheelOut";static createInstance(){return new lp}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.getDelay(),a=this.callbackV,o=this.initialValues,s=this.targetValues;return function({_worklet_5914988233562_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(){return{animations:{opacity:t(n,r(i?.opacity??0,a)),transform:o([{scale:0},{rotate:"5rad"}],i,s,t,n)},initialValues:{opacity:l?.opacity??1,transform:c([{scale:1},{rotate:"0rad"}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=5914988233562,d.__initData=e,d}({_worklet_5914988233562_init_data:sp,delayFunction:e,delay:i,animation:n,targetValues:s,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:o,pickTransformValues:Lu,callback:a})}}const cp={code:"(function reactNativeReanimated_RollJs1(values){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{translateX:0},{rotate:'0deg'}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{translateX:-values.windowWidth},{rotate:'-180deg'}],initialValues)},callback:callback};})"};class up extends po{static presetName="RollInLeft";static createInstance(){return new up}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_10698112150791_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(e){return{animations:{transform:t([{translateX:0},{rotate:"0deg"}],n,r,i,a)},initialValues:{transform:o([{translateX:-e.windowWidth},{rotate:"-180deg"}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=0x9bad92cad07,c.__initData=e,c}({_worklet_10698112150791_init_data:cp,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const dp={code:"(function reactNativeReanimated_RollJs2(values){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{translateX:0},{rotate:'0deg'}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{translateX:values.windowWidth},{rotate:'180deg'}],initialValues)},callback:callback};})"};class pp extends po{static presetName="RollInRight";static createInstance(){return new pp}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_7631774262212_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(e){return{animations:{transform:t([{translateX:0},{rotate:"0deg"}],n,r,i,a)},initialValues:{transform:o([{translateX:e.windowWidth},{rotate:"180deg"}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=7631774262212,c.__initData=e,c}({_worklet_7631774262212_init_data:dp,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const fp={code:"(function reactNativeReanimated_RollJs3(values){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{translateX:-values.windowWidth},{rotate:'-180deg'}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{translateX:0},{rotate:'0deg'}],initialValues)},callback:callback};})"};class hp extends po{static presetName="RollOutLeft";static createInstance(){return new hp}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_5515945511077_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(e){return{animations:{transform:t([{translateX:-e.windowWidth},{rotate:"-180deg"}],n,r,i,a)},initialValues:{transform:o([{translateX:0},{rotate:"0deg"}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=5515945511077,c.__initData=e,c}({_worklet_5515945511077_init_data:fp,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const mp={code:"(function reactNativeReanimated_RollJs4(values){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{translateX:values.windowWidth},{rotate:'180deg'}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{translateX:0},{rotate:'0deg'}],initialValues)},callback:callback};})"};class gp extends po{static presetName="RollOutRight";static createInstance(){return new gp}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_8524886443170_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(e){return{animations:{transform:t([{translateX:e.windowWidth},{rotate:"180deg"}],n,r,i,a)},initialValues:{transform:o([{translateX:0},{rotate:"0deg"}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=8524886443170,c.__initData=e,c}({_worklet_8524886443170_init_data:mp,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const yp={code:"(function reactNativeReanimated_RotateJs1(values){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;
23var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:1,config)),transform:animateTransformToValues([{rotate:'0deg'},{translateX:0},{translateY:0}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:0,transform:pickTransformValues([{rotate:'-90deg'},{translateX:values.targetWidth/2-values.targetHeight/2},{translateY:-(values.targetWidth/2-values.targetHeight/2)}],initialValues)},callback:callback};})"};class vp extends po{static presetName="RotateInDownLeft";static createInstance(){return new vp}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.getDelay(),a=this.callbackV,o=this.initialValues,s=this.targetValues;return function({_worklet_6040235579360_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(e){return{animations:{opacity:t(n,r(i?.opacity??1,a)),transform:o([{rotate:"0deg"},{translateX:0},{translateY:0}],i,s,t,n)},initialValues:{opacity:l?.opacity??0,transform:c([{rotate:"-90deg"},{translateX:e.targetWidth/2-e.targetHeight/2},{translateY:-(e.targetWidth/2-e.targetHeight/2)}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=6040235579360,d.__initData=e,d}({_worklet_6040235579360_init_data:yp,delayFunction:e,delay:i,animation:n,targetValues:s,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:o,pickTransformValues:Lu,callback:a})}}const bp={code:"(function reactNativeReanimated_RotateJs2(values){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:1,config)),transform:animateTransformToValues([{rotate:'0deg'},{translateX:0},{translateY:0}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:0,transform:pickTransformValues([{rotate:'90deg'},{translateX:-(values.targetWidth/2-values.targetHeight/2)},{translateY:-(values.targetWidth/2-values.targetHeight/2)}],initialValues)},callback:callback};})"};class _p extends po{static presetName="RotateInDownRight";static createInstance(){return new _p}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.getDelay(),a=this.callbackV,o=this.initialValues,s=this.targetValues;return function({_worklet_1921677348514_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(e){return{animations:{opacity:t(n,r(i?.opacity??1,a)),transform:o([{rotate:"0deg"},{translateX:0},{translateY:0}],i,s,t,n)},initialValues:{opacity:l?.opacity??0,transform:c([{rotate:"90deg"},{translateX:-(e.targetWidth/2-e.targetHeight/2)},{translateY:-(e.targetWidth/2-e.targetHeight/2)}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=1921677348514,d.__initData=e,d}({_worklet_1921677348514_init_data:bp,delayFunction:e,delay:i,animation:n,targetValues:s,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:o,pickTransformValues:Lu,callback:a})}}const wp={code:"(function reactNativeReanimated_RotateJs3(values){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;
23var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:1,config)),transform:animateTransformToValues([{rotate:'0deg'},{translateX:0},{translateY:0}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:0,transform:pickTransformValues([{rotate:'90deg'},{translateX:values.targetWidth/2-values.targetHeight/2},{translateY:values.targetWidth/2-values.targetHeight/2}],initialValues)},callback:callback};})"};class kp extends po{static presetName="RotateInUpLeft";static createInstance(){return new kp}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.getDelay(),a=this.callbackV,o=this.initialValues,s=this.targetValues;return function({_worklet_8758127556035_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(e){return{animations:{opacity:t(n,r(i?.opacity??1,a)),transform:o([{rotate:"0deg"},{translateX:0},{translateY:0}],i,s,t,n)},initialValues:{opacity:l?.opacity??0,transform:c([{rotate:"90deg"},{translateX:e.targetWidth/2-e.targetHeight/2},{translateY:e.targetWidth/2-e.targetHeight/2}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=8758127556035,d.__initData=e,d}({_worklet_8758127556035_init_data:wp,delayFunction:e,delay:i,animation:n,targetValues:s,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:o,pickTransformValues:Lu,callback:a})}}const Sp={code:"(function reactNativeReanimated_RotateJs4(values){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:1,config)),transform:animateTransformToValues([{rotate:'0deg'},{translateX:0},{translateY:0}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:0,transform:pickTransformValues([{rotate:'-90deg'},{translateX:-(values.targetWidth/2-values.targetHeight/2)},{translateY:values.targetWidth/2-values.targetHeight/2}],initialValues)},callback:callback};})"};class xp extends po{static presetName="RotateInUpRight";static createInstance(){return new xp}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.getDelay(),a=this.callbackV,o=this.initialValues,s=this.targetValues;return function({_worklet_11249614098693_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(e){return{animations:{opacity:t(n,r(i?.opacity??1,a)),transform:o([{rotate:"0deg"},{translateX:0},{translateY:0}],i,s,t,n)},initialValues:{opacity:l?.opacity??0,transform:c([{rotate:"-90deg"},{translateX:-(e.targetWidth/2-e.targetHeight/2)},{translateY:e.targetWidth/2-e.targetHeight/2}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=0xa3b41409105,d.__initData=e,d}({_worklet_11249614098693_init_data:Sp,delayFunction:e,delay:i,animation:n,targetValues:s,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:o,pickTransformValues:Lu,callback:a})}}const Cp={code:"(function reactNativeReanimated_RotateJs5(values){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;
23var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:0,config)),transform:animateTransformToValues([{rotate:'90deg'},{translateX:values.currentWidth/2-values.currentHeight/2},{translateY:values.currentWidth/2-values.currentHeight/2}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:1,transform:pickTransformValues([{rotate:'0deg'},{translateX:0},{translateY:0}],initialValues)},callback:callback};})"};class Ep extends po{static presetName="RotateOutDownLeft";static createInstance(){return new Ep}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.getDelay(),a=this.callbackV,o=this.initialValues,s=this.targetValues;return function({_worklet_7121736676005_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(e){return{animations:{opacity:t(n,r(i?.opacity??0,a)),transform:o([{rotate:"90deg"},{translateX:e.currentWidth/2-e.currentHeight/2},{translateY:e.currentWidth/2-e.currentHeight/2}],i,s,t,n)},initialValues:{opacity:l?.opacity??1,transform:c([{rotate:"0deg"},{translateX:0},{translateY:0}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=7121736676005,d.__initData=e,d}({_worklet_7121736676005_init_data:Cp,delayFunction:e,delay:i,animation:n,targetValues:s,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:o,pickTransformValues:Lu,callback:a})}}const Ap={code:"(function reactNativeReanimated_RotateJs6(values){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:0,config)),transform:animateTransformToValues([{rotate:'-90deg'},{translateX:-(values.currentWidth/2-values.currentHeight/2)},{translateY:values.currentWidth/2-values.currentHeight/2}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:1,transform:pickTransformValues([{rotate:'0deg'},{translateX:0},{translateY:0}],initialValues)},callback:callback};})"};class Tp extends po{static presetName="RotateOutDownRight";static createInstance(){return new Tp}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.getDelay(),a=this.callbackV,o=this.initialValues,s=this.targetValues;return function({_worklet_5426779825351_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(e){return{animations:{opacity:t(n,r(i?.opacity??0,a)),transform:o([{rotate:"-90deg"},{translateX:-(e.currentWidth/2-e.currentHeight/2)},{translateY:e.currentWidth/2-e.currentHeight/2}],i,s,t,n)},initialValues:{opacity:l?.opacity??1,transform:c([{rotate:"0deg"},{translateX:0},{translateY:0}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=5426779825351,d.__initData=e,d}({_worklet_5426779825351_init_data:Ap,delayFunction:e,delay:i,animation:n,targetValues:s,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:o,pickTransformValues:Lu,callback:a})}}const Ip={code:"(function reactNativeReanimated_RotateJs7(values){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;
23var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:0,config)),transform:animateTransformToValues([{rotate:'-90deg'},{translateX:values.currentWidth/2-values.currentHeight/2},{translateY:-(values.currentWidth/2-values.currentHeight/2)}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:1,transform:pickTransformValues([{rotate:'0deg'},{translateX:0},{translateY:0}],initialValues)},callback:callback};})"};class Rp extends po{static presetName="RotateOutUpLeft";static createInstance(){return new Rp}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.getDelay(),a=this.callbackV,o=this.initialValues,s=this.targetValues;return function({_worklet_10082471984166_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(e){return{animations:{opacity:t(n,r(i?.opacity??0,a)),transform:o([{rotate:"-90deg"},{translateX:e.currentWidth/2-e.currentHeight/2},{translateY:-(e.currentWidth/2-e.currentHeight/2)}],i,s,t,n)},initialValues:{opacity:l?.opacity??1,transform:c([{rotate:"0deg"},{translateX:0},{translateY:0}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=0x92b82293c26,d.__initData=e,d}({_worklet_10082471984166_init_data:Ip,delayFunction:e,delay:i,animation:n,targetValues:s,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:o,pickTransformValues:Lu,callback:a})}}const Op={code:"(function reactNativeReanimated_RotateJs8(values){const{delayFunction,delay,animation,targetValues,config,animateTransformToValues,animationAndConfig,initialValues,pickTransformValues,callback}=this.__closure;var _targetValues$opacity,_targetValues,_initialValues$opacit,_initialValues;return{animations:{opacity:delayFunction(delay,animation((_targetValues$opacity=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.opacity)!==null&&_targetValues$opacity!==void 0?_targetValues$opacity:0,config)),transform:animateTransformToValues([{rotate:'90deg'},{translateX:-(values.currentWidth/2-values.currentHeight/2)},{translateY:-(values.currentWidth/2-values.currentHeight/2)}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{opacity:(_initialValues$opacit=(_initialValues=initialValues)===null||_initialValues===void 0?void 0:_initialValues.opacity)!==null&&_initialValues$opacit!==void 0?_initialValues$opacit:1,transform:pickTransformValues([{rotate:'0deg'},{translateX:0},{translateY:0}],initialValues)},callback:callback};})"};class Dp extends po{static presetName="RotateOutUpRight";static createInstance(){return new Dp}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),[n,r]=t,i=this.getDelay(),a=this.callbackV,o=this.initialValues,s=this.targetValues;return function({_worklet_12003576110856_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u}){const d=function(e){return{animations:{opacity:t(n,r(i?.opacity??0,a)),transform:o([{rotate:"90deg"},{translateX:-(e.currentWidth/2-e.currentHeight/2)},{translateY:-(e.currentWidth/2-e.currentHeight/2)}],i,s,t,n)},initialValues:{opacity:l?.opacity??1,transform:c([{rotate:"0deg"},{translateX:0},{translateY:0}],l)},callback:u}};return d.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,animateTransformToValues:o,animationAndConfig:s,initialValues:l,pickTransformValues:c,callback:u},d.__workletHash=0xaeacce3df08,d.__initData=e,d}({_worklet_12003576110856_init_data:Op,delayFunction:e,delay:i,animation:n,targetValues:s,config:r,animateTransformToValues:Bu,animationAndConfig:t,initialValues:o,pickTransformValues:Lu,callback:a})}}const Np={code:"(function reactNativeReanimated_SlideJs1(values){const{delayFunction,delay,animation,targetValues,config,initialValues,callback}=this.__closure;var _targetValues$originX,_targetValues;return{animations:{originX:delayFunction(delay,animation((_targetValues$originX=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.originX)!==null&&_targetValues$originX!==void 0?_targetValues$originX:values.targetOriginX,config))},initialValues:{originX:values.targetOriginX+values.windowWidth,...initialValues},callback:callback};})"};class jp extends po{static presetName="SlideInRight";static createInstance(){return new jp}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,a=this.initialValues,o=this.targetValues;return function({_worklet_16398383387849_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s}){const l=function(e){return{animations:{originX:t(n,r(i?.originX??e.targetOriginX,a))},initialValues:Object.assign({originX:e.targetOriginX+e.windowWidth},o),callback:s}};return l.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s},l.__workletHash=0xeea0bd114c9,l.__initData=e,l}({_worklet_16398383387849_init_data:Np,delayFunction:e,delay:r,animation:t,targetValues:o,config:n,initialValues:a,callback:i})}}const Fp={code:"(function reactNativeReanimated_SlideJs2(values){const{delayFunction,delay,animation,targetValues,config,initialValues,callback}=this.__closure;var _targetValues$originX,_targetValues;return{animations:{originX:delayFunction(delay,animation((_targetValues$originX=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.originX)!==null&&_targetValues$originX!==void 0?_targetValues$originX:values.targetOriginX,config))},initialValues:{originX:values.targetOriginX-values.windowWidth,...initialValues},callback:callback};})"};class Mp extends po{static presetName="SlideInLeft";static createInstance(){return new Mp}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,a=this.initialValues,o=this.targetValues;return function({_worklet_2037817482988_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s}){const l=function(e){return{animations:{originX:t(n,r(i?.originX??e.targetOriginX,a))},initialValues:Object.assign({originX:e.targetOriginX-e.windowWidth},o),callback:s}};return l.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s},l.__workletHash=2037817482988,l.__initData=e,l}({_worklet_2037817482988_init_data:Fp,delayFunction:e,delay:r,animation:t,targetValues:o,config:n,initialValues:a,callback:i})}}const Vp={code:"(function reactNativeReanimated_SlideJs3(values){const{delayFunction,delay,animation,targetValues,config,initialValues,callback}=this.__closure;var _targetValues$originX,_targetValues;return{animations:{originX:delayFunction(delay,animation((_targetValues$originX=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.originX)!==null&&_targetValues$originX!==void 0?_targetValues$originX:Math.max(values.currentOriginX+values.windowWidth,values.windowWidth),config))},initialValues:{originX:values.currentOriginX,...initialValues},callback:callback};})"};class Pp extends po{static presetName="SlideOutRight";static createInstance(){return new Pp}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,a=this.initialValues,o=this.targetValues;return function({_worklet_4588487268624_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s}){const l=function(e){return{animations:{originX:t(n,r(i?.originX??Math.max(e.currentOriginX+e.windowWidth,e.windowWidth),a))},initialValues:Object.assign({originX:e.currentOriginX}
23,o),callback:s}};return l.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s},l.__workletHash=4588487268624,l.__initData=e,l}({_worklet_4588487268624_init_data:Vp,delayFunction:e,delay:r,animation:t,targetValues:o,config:n,initialValues:a,callback:i})}}const Lp={code:"(function reactNativeReanimated_SlideJs4(values){const{delayFunction,delay,animation,targetValues,config,initialValues,callback}=this.__closure;var _targetValues$originX,_targetValues;return{animations:{originX:delayFunction(delay,animation((_targetValues$originX=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.originX)!==null&&_targetValues$originX!==void 0?_targetValues$originX:Math.min(values.currentOriginX-values.windowWidth,-values.windowWidth),config))},initialValues:{originX:values.currentOriginX,...initialValues},callback:callback};})"};class Bp extends po{static presetName="SlideOutLeft";static createInstance(){return new Bp}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,a=this.initialValues,o=this.targetValues;return function({_worklet_5899406275938_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s}){const l=function(e){return{animations:{originX:t(n,r(i?.originX??Math.min(e.currentOriginX-e.windowWidth,-e.windowWidth),a))},initialValues:Object.assign({originX:e.currentOriginX},o),callback:s}};return l.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s},l.__workletHash=5899406275938,l.__initData=e,l}({_worklet_5899406275938_init_data:Lp,delayFunction:e,delay:r,animation:t,targetValues:o,config:n,initialValues:a,callback:i})}}const Hp={code:"(function reactNativeReanimated_SlideJs5(values){const{delayFunction,delay,animation,targetValues,config,initialValues,callback}=this.__closure;var _targetValues$originY,_targetValues;return{animations:{originY:delayFunction(delay,animation((_targetValues$originY=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.originY)!==null&&_targetValues$originY!==void 0?_targetValues$originY:values.targetOriginY,config))},initialValues:{originY:-values.windowHeight,...initialValues},callback:callback};})"};class Wp extends po{static presetName="SlideInUp";static createInstance(){return new Wp}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,a=this.initialValues,o=this.targetValues;return function({_worklet_15729903416313_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s}){const l=function(e){return{animations:{originY:t(n,r(i?.originY??e.targetOriginY,a))},initialValues:Object.assign({originY:-e.windowHeight},o),callback:s}};return l.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s},l.__workletHash=0xe4e674e33f9,l.__initData=e,l}({_worklet_15729903416313_init_data:Hp,delayFunction:e,delay:r,animation:t,targetValues:o,config:n,initialValues:a,callback:i})}}const zp={code:"(function reactNativeReanimated_SlideJs6(values){const{delayFunction,delay,animation,targetValues,config,initialValues,callback}=this.__closure;var _targetValues$originY,_targetValues;return{animations:{originY:delayFunction(delay,animation((_targetValues$originY=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.originY)!==null&&_targetValues$originY!==void 0?_targetValues$originY:values.targetOriginY,config))},initialValues:{originY:values.targetOriginY+values.windowHeight,...initialValues},callback:callback};})"};class Yp extends po{static presetName="SlideInDown";static createInstance(){return new Yp}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,a=this.initialValues,o=this.targetValues;return function({_worklet_6916159473046_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s}){const l=function(e){return{animations:{originY:t(n,r(i?.originY??e.targetOriginY,a))},initialValues:Object.assign({originY:e.targetOriginY+e.windowHeight},o),callback:s}};return l.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s},l.__workletHash=6916159473046,l.__initData=e,l}({_worklet_6916159473046_init_data:zp,delayFunction:e,delay:r,animation:t,targetValues:o,config:n,initialValues:a,callback:i})}}const Up={code:"(function reactNativeReanimated_SlideJs7(values){const{delayFunction,delay,animation,targetValues,config,initialValues,callback}=this.__closure;var _targetValues$originY,_targetValues;return{animations:{originY:delayFunction(delay,animation((_targetValues$originY=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.originY)!==null&&_targetValues$originY!==void 0?_targetValues$originY:Math.min(values.currentOriginY-values.windowHeight,-values.windowHeight),config))},initialValues:{originY:values.currentOriginY,...initialValues},callback:callback};})"};class Xp extends po{static presetName="SlideOutUp";static createInstance(){return new Xp}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,a=this.initialValues,o=this.targetValues;return function({_worklet_4310885037664_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s}){const l=function(e){return{animations:{originY:t(n,r(i?.originY??Math.min(e.currentOriginY-e.windowHeight,-e.windowHeight),a))},initialValues:Object.assign({originY:e.currentOriginY},o),callback:s}};return l.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s},l.__workletHash=4310885037664,l.__initData=e,l}({_worklet_4310885037664_init_data:Up,delayFunction:e,delay:r,animation:t,targetValues:o,config:n,initialValues:a,callback:i})}}const Gp={code:"(function reactNativeReanimated_SlideJs8(values){const{delayFunction,delay,animation,targetValues,config,initialValues,callback}=this.__closure;var _targetValues$originY,_targetValues;return{animations:{originY:delayFunction(delay,animation((_targetValues$originY=(_targetValues=targetValues)===null||_targetValues===void 0?void 0:_targetValues.originY)!==null&&_targetValues$originY!==void 0?_targetValues$originY:Math.max(values.currentOriginY+values.windowHeight,values.windowHeight),config))},initialValues:{originY:values.currentOriginY,...initialValues},callback:callback};})"};class qp extends po{static presetName="SlideOutDown";static createInstance(){return new qp}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.getDelay(),i=this.callbackV,a=this.initialValues,o=this.targetValues;return function({_worklet_7659848456602_init_data:e,delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s}){const l=function(e){return{animations:{originY:t(n,r(i?.originY??Math.max(e.currentOriginY+e.windowHeight,e.windowHeight),a))},initialValues:Object.assign({originY:e.currentOriginY},o),callback:s}};return l.__closure={delayFunction:t,delay:n,animation:r,targetValues:i,config:a,initialValues:o,callback:s},l.__workletHash=7659848456602,l.__initData=e,l}({_worklet_7659848456602_init_data:Gp,delayFunction:e,delay:r,animation:t,targetValues:o,config:n,initialValues:a,callback:i})}}const Jp={code:"(function reactNativeReanimated_StretchJs1(){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{scaleX:1}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{scaleX:0}],initialValues)},callback:callback};})"};class $p extends po{static presetName="StretchInX";static createInstance(){return new $p}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_11983243816041_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(){return{animations:{transform:t([{scaleX:1}],n,r,i,a)},initialValues:{transform:o([{scaleX:0}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=0xae610fdac69,c.__initData=e,c}({_worklet_11983243816041_init_data:Jp,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const Kp={code:"(function reactNativeReanimated_StretchJs2(){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{scaleY:1}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{scaleY:0}],initialValues)},callback:callback};})"};class Zp extends po{static presetName="StretchInY";static createInstance(){return new Zp}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_10300552088330_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(){return{animations:{transform:t([{scaleY:1}],n,r,i,a)},initialValues:{transform:o([{scaleY:0}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=0x95e48bf8b0a,c.__initData=e,c}({_worklet_10300552088330_init_data:Kp,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const Qp={code:"(function reactNativeReanimated_StretchJs3(){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{scaleX:0}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{scaleX:1}],initialValues)},callback:callback};})"};class ef extends po{static presetName="StretchOutX";static createInstance(){return new ef}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_14164047169643_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(){return{animations:{transform:t([{scaleX:0}],n,r,i,a)},initialValues:{transform:o([{scaleX:1}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=0xce1d300086b,c.__initData=e,c}({_worklet_14164047169643_init_data:Qp,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const tf={code:"(function reactNativeReanimated_StretchJs4(){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{scaleY:0}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{scaleY:1}],initialValues)},callback:callback};})"};class nf extends po{static presetName="StretchOutY";static createInstance(){return new nf}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_10931559167884_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(){return{animations:{transform:t([{scaleY:0}],n,r,i,a)},initialValues:{transform:o([{scaleY:1}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=0x9f133b3778c,c.__initData=e,c}({_worklet_10931559167884_init_data:tf,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const rf={code:"(function reactNativeReanimated_ZoomJs1(){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{scale:1}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{scale:0}],initialValues)},callback:callback};})"};class af extends po{static presetName="ZoomIn";static createInstance(){return new af}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_10533381287313_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(){return{animations:{transform:t([{scale:1}],n,r,i,a)},initialValues:{transform:o([{scale:0}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=0x9947e732d91,c.__initData=e,c}({_worklet_10533381287313_init_data:rf,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const of={code:"(function reactNativeReanimated_ZoomJs2(){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,rotate,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{scale:1},{rotate:'0rad'}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{scale:0},{rotate:rotate+\"rad\"}],initialValues)},callback:callback};})"};class sf extends po{static presetName="ZoomInRotate";static createInstance(){return new sf}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.rotateV?this.rotateV:"0.3",i=this.callbackV,a=this.initialValues,o=this.targetValues;return function({_worklet_15014709803301_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,rotate:s,initialValues:l,callback:c}){const u=function(){return{animations:{transform:t([{scale:1},{rotate:"0rad"}],n,r,i,a)},initialValues:{transform:o([{scale:0},{rotate:`${s}rad`}],l)},callback:c}};return u.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,rotate:s,initialValues:l,callback:c},u.__workletHash=0xda7e271b925,u.__initData=e,u}({_worklet_15014709803301_init_data:of,animateTransformToValues:Bu,targetValues:o,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,rotate:r,initialValues:a,callback:i})}}const lf={code:"(function reactNativeReanimated_ZoomJs3(values){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{translateX:0},{scale:1}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{translateX:-values.windowWidth},{scale:0}],initialValues)},callback:callback};})"};class cf extends po{static presetName="ZoomInLeft";static createInstance(){return new cf}build=()=>{const e=th
23is.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_12419115218698_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(e){return{animations:{transform:t([{translateX:0},{scale:1}],n,r,i,a)},initialValues:{transform:o([{translateX:-e.windowWidth},{scale:0}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=0xb4b8cf3770a,c.__initData=e,c}({_worklet_12419115218698_init_data:lf,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const uf={code:"(function reactNativeReanimated_ZoomJs4(values){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{translateX:0},{scale:1}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{translateX:values.windowWidth},{scale:0}],initialValues)},callback:callback};})"};class df extends po{static presetName="ZoomInRight";static createInstance(){return new df}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_10263976031904_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(e){return{animations:{transform:t([{translateX:0},{scale:1}],n,r,i,a)},initialValues:{transform:o([{translateX:e.windowWidth},{scale:0}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=0x955c4a536a0,c.__initData=e,c}({_worklet_10263976031904_init_data:uf,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const pf={code:"(function reactNativeReanimated_ZoomJs5(values){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{translateY:0},{scale:1}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{translateY:-values.windowHeight},{scale:0}],initialValues)},callback:callback};})"};class ff extends po{static presetName="ZoomInUp";static createInstance(){return new ff}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_3311633444245_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(e){return{animations:{transform:t([{translateY:0},{scale:1}],n,r,i,a)},initialValues:{transform:o([{translateY:-e.windowHeight},{scale:0}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=3311633444245,c.__initData=e,c}({_worklet_3311633444245_init_data:pf,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const hf={code:"(function reactNativeReanimated_ZoomJs6(values){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{translateY:0},{scale:1}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{translateY:values.windowHeight},{scale:0}],initialValues)},callback:callback};})"};class mf extends po{static presetName="ZoomInDown";static createInstance(){return new mf}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_1594337866907_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(e){return{animations:{transform:t([{translateY:0},{scale:1}],n,r,i,a)},initialValues:{transform:o([{translateY:e.windowHeight},{scale:0}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=1594337866907,c.__initData=e,c}({_worklet_1594337866907_init_data:hf,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const gf={code:"(function reactNativeReanimated_ZoomJs7(values){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{translateY:0},{scale:1}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{translateY:-values.targetHeight},{scale:0}],initialValues)},callback:callback};})"};class yf extends po{static presetName="ZoomInEasyUp";static createInstance(){return new yf}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_8826572917226_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(e){return{animations:{transform:t([{translateY:0},{scale:1}],n,r,i,a)},initialValues:{transform:o([{translateY:-e.targetHeight},{scale:0}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=8826572917226,c.__initData=e,c}({_worklet_8826572917226_init_data:gf,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const vf={code:"(function reactNativeReanimated_ZoomJs8(values){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{translateY:0},{scale:1}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{translateY:values.targetHeight},{scale:0}],initialValues)},callback:callback};})"};class bf extends po{static presetName="ZoomInEasyDown";static createInstance(){return new bf}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_7928595347272_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(e){return{animations:{transform:t([{translateY:0},{scale:1}],n,r,i,a)},initialValues:{transform:o([{translateY:e.targetHeight},{scale:0}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=7928595347272,c.__initData=e,c}({_worklet_7928595347272_init_data:vf,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const _f={code:"(function reactNativeReanimated_ZoomJs9(){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{scale:0}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{scale:1}],initialValues)},callback:callback};})"};class wf extends po{static presetName="ZoomOut";static createInstance(){return new wf}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_1233337323129_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(){return{animations:{transform:t([{scale:0}],n,r,i,a)},initialValues:{transform:o([{scale:1}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=1233337323129,c.__initData=e,c}({_worklet_1233337323129_init_data:_f,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const kf={code:"(function reactNativeReanimated_ZoomJs10(){const{animateTransformToValues,rotate,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{scale:0},{rotate:rotate}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{scale:1},{rotate:'0rad'}],initialValues)},callback:callback};})"};class Sf extends po{static presetName="ZoomOutRotate";static createInstance(){return new Sf}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.rotateV?this.rotateV:"0.3",i=this.callbackV,a=this.initialValues,o=this.targetValues;return function({_worklet_12494837505706_init_data:e,animateTransformToValues:t,rotate:n,targetValues:r,animationAndConfig:i,delayFunction:a,delay:o,pickTransformValues:s,initialValues:l,callback:c}){const u=function(){return{animations:{transform:t([{scale:0},{rotate:n}],r,i,a,o)},initialValues:{transform:s([{scale:1},{rotate:"0rad"}],l)},callback:c}};return u.__closure={animateTransformToValues:t,rotate:n,targetValues:r,animationAndConfig:i,delayFunction:a,delay:o,pickTransformValues:s,initialValues:l,callback:c},u.__workletHash=0xb5d2e59deaa,u.__initData=e,u}({_worklet_12494837505706_init_data:kf,animateTransformToValues:Bu,rotate:r,targetValues:o,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:a,callback:i})}}const xf={code:"(function reactNativeReanimated_ZoomJs11(values){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{translateX:-values.windowWidth},{scale:0}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{translateX:0},{scale:1}],initialValues)},callback:callback};})"};class Cf extends po{static presetName="ZoomOutLeft";static createInstance(){return new Cf}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_388139624281_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(e){return{animations:{transform:t([{translateX:-e.windowWidth},{scale:0}],n,r,i,a)},initialValues:{transform:o([{translateX:0},{scale:1}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=388139624281,c.__initData=e,c}({_worklet_388139624281_init_data:xf,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const Ef={code:"(function reactNativeReanimated_ZoomJs12(values){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{translateX:values.windowWidth},{scale:0}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{translateX:0},{scale:1}],initialValues)},callback:callback};})"};class Af extends po{static presetName="ZoomOutRight";static createInstance(){return new Af}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_13157207106519_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(e){return{animations:{transform:t([{translateX:e.windowWidth},{scale:0}],n,r,i,a)},initialValues:{transform:o([{translateX:0},{scale:1}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=0xbf766a7e3d7,c.__initData=e,c}({_worklet_13157207106519_init_data:Ef,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const Tf={code:"(function reactNativeReanimated_ZoomJs13(values){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{translateY:-values.windowHeight},{scale:0}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{translateY:0},{scale:1}],initialValues)},callback:callback};})"};class If extends po{static presetName="ZoomOutUp";static createInstance(){return new If}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_8807797089698_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(e){return{animations:{transform:t([{translateY:-e.windowHeight},{scale:0}],n,r,i,a)},initialValues:{transform:o([{translateY:0},{scale:1}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=8807797089698,c.__initData=e,c}({_worklet_8807797089698_init_data:Tf,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const Rf={code:"(function reactNativeReanimated_ZoomJs14(values){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{translateY:values.windowHeight},{scale:0}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{translateY:0},{scale:1}],initialValues)},callback:callback};})"};class Of extends po{static presetName="ZoomOutDown";static createInstance(){return new Of}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_16465754288680_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(e){return{animations:{transform:t([{translateY:e.windowHeight},{scale:0}],n,r,i,a)},initial
23Values:{transform:o([{translateY:0},{scale:1}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=0xef9bb6f7228,c.__initData=e,c}({_worklet_16465754288680_init_data:Rf,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const Df={code:"(function reactNativeReanimated_ZoomJs15(values){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{translateY:-values.currentHeight},{scale:0}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{translateY:0},{scale:1}],initialValues)},callback:callback};})"};class Nf extends po{static presetName="ZoomOutEasyUp";static createInstance(){return new Nf}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_7478278701025_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(e){return{animations:{transform:t([{translateY:-e.currentHeight},{scale:0}],n,r,i,a)},initialValues:{transform:o([{translateY:0},{scale:1}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=7478278701025,c.__initData=e,c}({_worklet_7478278701025_init_data:Df,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const jf={code:"(function reactNativeReanimated_ZoomJs16(values){const{animateTransformToValues,targetValues,animationAndConfig,delayFunction,delay,pickTransformValues,initialValues,callback}=this.__closure;return{animations:{transform:animateTransformToValues([{translateY:values.currentHeight},{scale:0}],targetValues,animationAndConfig,delayFunction,delay)},initialValues:{transform:pickTransformValues([{translateY:0},{scale:1}],initialValues)},callback:callback};})"};class Ff extends po{static presetName="ZoomOutEasyDown";static createInstance(){return new Ff}build=()=>{const e=this.getDelayFunction(),t=this.getAnimationAndConfig(),n=this.getDelay(),r=this.callbackV,i=this.initialValues,a=this.targetValues;return function({_worklet_13540819075343_init_data:e,animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l}){const c=function(e){return{animations:{transform:t([{translateY:e.currentHeight},{scale:0}],n,r,i,a)},initialValues:{transform:o([{translateY:0},{scale:1}],s)},callback:l}};return c.__closure={animateTransformToValues:t,targetValues:n,animationAndConfig:r,delayFunction:i,delay:a,pickTransformValues:o,initialValues:s,callback:l},c.__workletHash=0xc50b7b6010f,c.__initData=e,c}({_worklet_13540819075343_init_data:jf,animateTransformToValues:Bu,targetValues:a,animationAndConfig:t,delayFunction:e,delay:n,pickTransformValues:Lu,initialValues:i,callback:r})}}const Mf={code:"(function reactNativeReanimated_CurvedTransitionJs1(values){const{delayFunction,delay,withTiming,duration,easing,callback}=this.__closure;return{initialValues:{originX:values.currentOriginX,originY:values.currentOriginY,width:values.currentWidth,height:values.currentHeight},animations:{originX:delayFunction(delay,withTiming(values.targetOriginX,{duration:duration,easing:easing.easingX})),originY:delayFunction(delay,withTiming(values.targetOriginY,{duration:duration,easing:easing.easingY})),width:delayFunction(delay,withTiming(values.targetWidth,{duration:duration,easing:easing.easingWidth})),height:delayFunction(delay,withTiming(values.targetHeight,{duration:duration,easing:easing.easingHeight}))},callback:callback};})"};class Vf extends co{static presetName="CurvedTransition";easingXV=ro.in(ro.ease);easingYV=ro.out(ro.ease);easingWidthV=ro.in(ro.exp);easingHeightV=ro.out(ro.exp);static createInstance(){return new Vf}static easingX(e){return this.createInstance().easingX(e)}easingX(e){return this.easingXV=e,this}static easingY(e){return this.createInstance().easingY(e)}easingY(e){return this.easingYV=e,this}static easingWidth(e){return this.createInstance().easingWidth(e)}easingWidth(e){return this.easingWidthV=e,this}static easingHeight(e){return this.createInstance().easingHeight(e)}easingHeight(e){return this.easingHeightV=e,this}build=()=>{const e=this.getDelayFunction(),t=this.callbackV,n=this.getDelay(),r=this.durationV??300,i={easingX:this.easingXV,easingY:this.easingYV,easingWidth:this.easingWidthV,easingHeight:this.easingHeightV};return function({_worklet_17238846986350_init_data:e,delayFunction:t,delay:n,withTiming:r,duration:i,easing:a,callback:o}){const s=function(e){return{initialValues:{originX:e.currentOriginX,originY:e.currentOriginY,width:e.currentWidth,height:e.currentHeight},animations:{originX:t(n,r(e.targetOriginX,{duration:i,easing:a.easingX})),originY:t(n,r(e.targetOriginY,{duration:i,easing:a.easingY})),width:t(n,r(e.targetWidth,{duration:i,easing:a.easingWidth})),height:t(n,r(e.targetHeight,{duration:i,easing:a.easingHeight}))},callback:o}};return s.__closure={delayFunction:t,delay:n,withTiming:r,duration:i,easing:a,callback:o},s.__workletHash=0xfadbb59d86e,s.__initData=e,s}({_worklet_17238846986350_init_data:Mf,delayFunction:e,delay:n,withTiming:io,duration:r,easing:i,callback:t})}}const Pf={code:"(function reactNativeReanimated_EntryExitTransitionJs1(values){const{enteringAnimation,exitingAnimation,delayFunction,delay,withSequence,withTiming,exitingDuration,logger,callback}=this.__closure;const enteringValues=enteringAnimation(values);const exitingValues=exitingAnimation(values);const animations={transform:[]};
23for(const prop of Object.keys(exitingValues.animations)){if(prop==='transform'){if(!Array.isArray(exitingValues.animations.transform)){continue;}exitingValues.animations.transform.forEach(function(value,index){for(const transformProp of Object.keys(value)){animations.transform.push({[transformProp]:delayFunction(delay,withSequence(value[transformProp],withTiming(exitingValues.initialValues.transform?exitingValues.initialValues.transform[index][transformProp]:0,{duration:0})))});}});}else{const sequence=enteringValues.animations[prop]!==undefined?[exitingValues.animations[prop],withTiming(enteringValues.initialValues[prop],{duration:0}),enteringValues.animations[prop]]:[exitingValues.animations[prop],withTiming(Object.keys(values).includes(prop)?values[prop]:exitingValues.initialValues[prop],{duration:0})];animations[prop]=delayFunction(delay,withSequence(...sequence));}}for(const prop of Object.keys(enteringValues.animations)){if(prop==='transform'){if(!Array.isArray(enteringValues.animations.transform)){continue;}enteringValues.animations.transform.forEach(function(value,index){for(const transformProp of Object.keys(value)){animations.transform.push({[transformProp]:delayFunction(delay+exitingDuration,withSequence(withTiming(enteringValues.initialValues.transform?enteringValues.initialValues.transform[index][transformProp]:0,{duration:exitingDuration}),value[transformProp]))});}});}else if(animations[prop]!==undefined){continue;}else{animations[prop]=delayFunction(delay,withSequence(withTiming(enteringValues.initialValues[prop],{duration:0}),enteringValues.animations[prop]));}}const mergedTransform=(Array.isArray(exitingValues.initialValues.transform)?exitingValues.initialValues.transform:[]).concat((Array.isArray(enteringValues.animations.transform)?enteringValues.animations.transform:[]).map(function(value){const objectKeys=Object.keys(value);if((objectKeys===null||objectKeys===void 0?void 0:objectKeys.length)<1){logger.error(\"${value} is not a valid Transform object\");return value;}const transformProp=objectKeys[0];const current=value[transformProp].current;if(typeof current==='string'){if(current.includes('deg')){return{[transformProp]:'0deg'};}else{return{[transformProp]:'0'};}}else if(transformProp.includes('translate')){return{[transformProp]:0};}else{return{[transformProp]:1};}}));return{initialValues:{...exitingValues.initialValues,originX:values.currentOriginX,originY:values.currentOriginY,width:values.currentWidth,height:values.currentHeight,transform:mergedTransform},animations:{originX:delayFunction(delay+exitingDuration,withTiming(values.targetOriginX,{duration:exitingDuration})),originY:delayFunction(delay+exitingDuration,withTiming(values.targetOriginY,{duration:exitingDuration})),width:delayFunction(delay+exitingDuration,withTiming(values.targetWidth,{duration:exitingDuration})),height:delayFunction(delay+exitingDuration,withTiming(values.targetHeight,{duration:exitingDuration})),...animations},callback:callback};})"};class Lf extends co{static presetName="EntryExitTransition";enteringV=ld;exitingV=vd;static createInstance(){return new Lf}static entering(e){return this.createInstance().entering(e)}entering(e){return this.enteringV=e,this}static exiting(e){return this.createInstance().exiting(e)}exiting(e){return this.exitingV=e,this}build=()=>{const e=this.getDelayFunction(),t=this.callbackV,n=this.getDelay(),r=this.enteringV.build(),i=this.exitingV.build(),a=this.exitingV.getDuration();return function({_worklet_12893977114858_init_data:e,enteringAnimation:t,exitingAnimation:n,delayFunction:r,delay:i,withSequence:a,withTiming:o,exitingDuration:s,logger:l,callback:c}){const u=function(e){const u=t(e),d=n(e),p={transform:[]};for(const t of Object.keys(d.animations))if("transform"===t){if(!Array.isArray(d.animations.transform))continue;d.animations.transform.forEach((e,t)=>{for(const n of Object.keys(e))p.transform.push({[n]:r(i,a(e[n],o(d.initialValues.transform?d.initialValues.transform[t][n]:0,{duration:0})))})})}else{const n=void 0!==u.animations[t]?[d.animations[t],o(u.initialValues[t],{duration:0}),u.animations[t]]:[d.animations[t],o(Object.keys(e).includes(t)?e[t]:d.initialValues[t],{duration:0})];p[t]=r(i,a(...n))}for(const t of Object.keys(u.animations))if("transform"===t){if(!Array.isArray(u.animations.transform))continue;u.animations.transform.forEach((e,t)=>{for(const n of Object.keys(e))p.transform.push({[n]:r(i+s,a(o(u.initialValues.transform?u.initialValues.transform[t][n]:0,{duration:s}),e[n]))})})}else{if(void 0!==p[t])continue;p[t]=r(i,a(o(u.initialValues[t],{duration:0}),u.animations[t]))}const f=(Array.isArray(d.initialValues.transform)?d.initialValues.transform:[]).concat((Array.isArray(u.animations.transform)?u.animations.transform:[]).map(e=>{const t=Object.keys(e);if(t?.length<1)return l.error("${value} is not a valid Transform object"),e;const n=t[0],r=e[n].current;return"string"===typeof r?r.includes("deg")?{[n]:"0deg"}:{[n]:"0"}:n.includes("translate")?{[n]:0}:{[n]:1}}));return{initialValues:Object.assign({},d.initialValues,{originX:e.currentOriginX,originY:e.currentOriginY,width:e.currentWidth,height:e.currentHeight,transform:f}
23),animations:Object.assign({originX:r(i+s,o(e.targetOriginX,{duration:s})),originY:r(i+s,o(e.targetOriginY,{duration:s})),width:r(i+s,o(e.targetWidth,{duration:s})),height:r(i+s,o(e.targetHeight,{duration:s}))},p),callback:c}};return u.__closure={enteringAnimation:t,exitingAnimation:n,delayFunction:r,delay:i,withSequence:a,withTiming:o,exitingDuration:s,logger:l,callback:c},u.__workletHash=0xbba1cecf8ea,u.__initData=e,u}({_worklet_12893977114858_init_data:Pf,enteringAnimation:r,exitingAnimation:i,delayFunction:e,delay:n,withSequence:ua,withTiming:io,exitingDuration:a,logger:u,callback:t})}}const Bf={code:"(function reactNativeReanimated_FadingTransitionJs1(values){const{delayFunction,delay,withSequence,withTiming,halfDuration,withDelay,callback}=this.__closure;return{initialValues:{opacity:1,originX:values.currentOriginX,originY:values.currentOriginY,width:values.currentWidth,height:values.currentHeight},animations:{opacity:delayFunction(delay,withSequence(withTiming(0,{duration:halfDuration}),withTiming(1,{duration:halfDuration}))),originX:withDelay(delay+halfDuration,withTiming(values.targetOriginX,{duration:0})),originY:withDelay(delay+halfDuration,withTiming(values.targetOriginY,{duration:0})),width:withDelay(delay+halfDuration,withTiming(values.targetWidth,{duration:0})),height:withDelay(delay+halfDuration,withTiming(values.targetHeight,{duration:0}))},callback:callback};})"};class Hf extends co{static presetName="FadingTransition";static createInstance(){return new Hf}build=()=>{const e=this.getDelayFunction(),t=this.callbackV,n=this.getDelay(),r=(this.durationV??500)/2;return function({_worklet_16561391206075_init_data:e,delayFunction:t,delay:n,withSequence:r,withTiming:i,halfDuration:a,withDelay:o,callback:s}){const l=function(e){return{initialValues:{opacity:1,originX:e.currentOriginX,originY:e.currentOriginY,width:e.currentWidth,height:e.currentHeight},animations:{opacity:t(n,r(i(0,{duration:a}),i(1,{duration:a}))),originX:o(n+a,i(e.targetOriginX,{duration:0})),originY:o(n+a,i(e.targetOriginY,{duration:0})),width:o(n+a,i(e.targetWidth,{duration:0})),height:o(n+a,i(e.targetHeight,{duration:0}))},callback:s}};return l.__closure={delayFunction:t,delay:n,withSequence:r,withTiming:i,halfDuration:a,withDelay:o,callback:s},l.__workletHash=0xf0fffd6febb,l.__initData=e,l}({_worklet_16561391206075_init_data:Bf,delayFunction:e,delay:n,withSequence:ua,withTiming:io,halfDuration:r,withDelay:la,callback:t})}}const Wf={code:"(function reactNativeReanimated_JumpingTransitionJs1(values){const{delayFunction,delay,withTiming,config,withSequence,halfDuration,Easing,callback}=this.__closure;const d=Math.max(Math.abs(values.targetOriginX-values.currentOriginX),Math.abs(values.targetOriginY-values.currentOriginY));return{initialValues:{originX:values.currentOriginX,originY:values.currentOriginY,width:values.currentWidth,height:values.currentHeight},animations:{originX:delayFunction(delay,withTiming(values.targetOriginX,config)),originY:delayFunction(delay,withSequence(withTiming(Math.min(values.targetOriginY,values.currentOriginY)-d,{duration:halfDuration,easing:Easing.out(Easing.exp)}),withTiming(values.targetOriginY,{...config,duration:halfDuration,easing:Easing.bounce}))),width:delayFunction(delay,withTiming(values.targetWidth,config)),height:delayFunction(delay,withTiming(values.targetHeight,config))},callback:callback};})"};class zf extends co{static presetName="JumpingTransition";static createInstance(){return new zf}build=()=>{const e=this.getDelayFunction(),t=this.callbackV,n=this.getDelay(),r=this.durationV??300;return function({_worklet_9796414505053_init_data:e,delayFunction:t,delay:n,withTiming:r,config:i,withSequence:a,halfDuration:o,Easing:s,callback:l}){const c=function(e){const c=Math.max(Math.abs(e.targetOriginX-e.currentOriginX),Math.abs(e.targetOriginY-e.currentOriginY));return{initialValues:{originX:e.currentOriginX,originY:e.currentOriginY,width:e.currentWidth,height:e.currentHeight},animations:{originX:t(n,r(e.targetOriginX,i)),originY:t(n,a(r(Math.min(e.targetOriginY,e.currentOriginY)-c,{duration:o,easing:s.out(s.exp)}),r(e.targetOriginY,Object.assign({},i,{duration:o,easing:s.bounce})))),width:t(n,r(e.targetWidth,i)),height:t(n,r(e.targetHeight,i))},callback:l}};return c.__closure={delayFunction:t,delay:n,withTiming:r,config:i,withSequence:a,halfDuration:o,Easing:s,callback:l},c.__workletHash=9796414505053,c.__initData=e,c}({_worklet_9796414505053_init_data:Wf,delayFunction:e,delay:n,withTiming:io,config:{duration:r},withSequence:ua,halfDuration:r/2,Easing:ro,callback:t})}}const Yf={code:"(function reactNativeReanimated_LinearTransitionJs1(values){const{delayFunction,delay,animation,config,callback}=this.__closure;return{initialValues:{originX:values.currentOriginX,originY:values.currentOriginY,width:values.currentWidth,height:values.currentHeight},animations:{originX:delayFunction(delay,animation(values.targetOriginX,config)),originY:delayFunction(delay,animation(values.targetOriginY,config)),width:delayFunction(delay,animation(values.targetWidth,config)),height:delayFunction(delay,animation(values.targetHeight,config))}
23,callback:callback};})"};class Uf extends uo{static presetName="LinearTransition";static createInstance(){return new Uf}build=()=>{const e=this.getDelayFunction(),[t,n]=this.getAnimationAndConfig(),r=this.callbackV,i=this.getDelay();return function({_worklet_5641453033875_init_data:e,delayFunction:t,delay:n,animation:r,config:i,callback:a}){const o=function(e){return{initialValues:{originX:e.currentOriginX,originY:e.currentOriginY,width:e.currentWidth,height:e.currentHeight},animations:{originX:t(n,r(e.targetOriginX,i)),originY:t(n,r(e.targetOriginY,i)),width:t(n,r(e.targetWidth,i)),height:t(n,r(e.targetHeight,i))},callback:a}};return o.__closure={delayFunction:t,delay:n,animation:r,config:i,callback:a},o.__workletHash=5641453033875,o.__initData=e,o}({_worklet_5641453033875_init_data:Yf,delayFunction:e,delay:i,animation:t,config:n,callback:r})}}const Xf=Uf,Gf={code:"(function reactNativeReanimated_SequencedTransitionJs1(values){const{delayFunction,delay,withSequence,withTiming,reverse,config,callback}=this.__closure;return{initialValues:{originX:values.currentOriginX,originY:values.currentOriginY,width:values.currentWidth,height:values.currentHeight},animations:{originX:delayFunction(delay,withSequence(withTiming(reverse?values.currentOriginX:values.targetOriginX,config),withTiming(values.targetOriginX,config))),originY:delayFunction(delay,withSequence(withTiming(reverse?values.targetOriginY:values.currentOriginY,config),withTiming(values.targetOriginY,config))),width:delayFunction(delay,withSequence(withTiming(reverse?values.currentWidth:values.targetWidth,config),withTiming(values.targetWidth,config))),height:delayFunction(delay,withSequence(withTiming(reverse?values.targetHeight:values.currentHeight,config),withTiming(values.targetHeight,config)))},callback:callback};})"};class qf extends co{static presetName="SequencedTransition";reversed=!1;static createInstance(){return new qf}static reverse(){return qf.createInstance().reverse()}reverse(){return this.reversed=!this.reversed,this}build=()=>{const e=this.getDelayFunction(),t=this.callbackV,n=this.getDelay(),r={duration:(this.durationV??500)/2},i=this.reversed;return function({_worklet_8102772644556_init_data:e,delayFunction:t,delay:n,withSequence:r,withTiming:i,reverse:a,config:o,callback:s}){const l=function(e){return{initialValues:{originX:e.currentOriginX,originY:e.currentOriginY,width:e.currentWidth,height:e.currentHeight},animations:{originX:t(n,r(i(a?e.currentOriginX:e.targetOriginX,o),i(e.targetOriginX,o))),originY:t(n,r(i(a?e.targetOriginY:e.currentOriginY,o),i(e.targetOriginY,o))),width:t(n,r(i(a?e.currentWidth:e.targetWidth,o),i(e.targetWidth,o))),height:t(n,r(i(a?e.targetHeight:e.currentHeight,o),i(e.targetHeight,o)))},callback:s}};return l.__closure={delayFunction:t,delay:n,withSequence:r,withTiming:i,reverse:a,config:o,callback:s},l.__workletHash=8102772644556,l.__initData=e,l}({_worklet_8102772644556_init_data:Gf,delayFunction:e,delay:n,withSequence:ua,withTiming:io,reverse:i,config:r,callback:t})}}const Jf="4.6.0";const $f=function(e,t,n=[]){u.warn("dispatchCommand() is not supported on web.")};function Kf(e){const t=e();if(!t)return u.warn(`The view with tag ${t} is not a valid argument for measure(). This may be because the view is not currently rendered, which may not be a bug (e.g. an off-screen FlatList item).`),null;const n=t.getBoundingClientRect();return{width:t.offsetWidth,height:t.offsetHeight,x:t.offsetLeft,y:t.offsetTop,pageX:n.left,pageY:n.top}}const Zf=function({_worklet_868529612482_init_data:e,measure:t}){const n=function(e,n,r){const i=t(e);return null===i?null:{x:n-i.pageX,y:r-i.pageY}};return n.__closure={measure:t},n.__workletHash=868529612482,n.__initData=e,n}({_worklet_868529612482_init_data:{code:"(function getRelativeCoords_reactNativeReanimated_getRelativeCoordsJs1(animatedRef,absoluteX,absoluteY){const{measure}=this.__closure;const parentCoords=measure(animatedRef);if(parentCoords===null){return null;}return{x:absoluteX-parentCoords.pageX,y:absoluteY-parentCoords.pageY};})"},measure:Kf});function Qf(e,t,n,r){const i=e();if(!i)return void u.warn("Called scrollTo() with an uninitialized ref. Make sure to pass the animated ref to the scrollable component before calling scrollTo().");const a=i;a?.scrollTo({x:t,y:n,animated:r})}function eh(e,t){u.warn("setGestureState() is not available on web.")}function th(e,t){const n=e();Ln(t,n)}function nh(){return"It looks like you might be using shared value's .value inside reanimated inline style. If you want a component to update when shared value changes you should use the shared value directly instead of its current state represented by `.value`. See documentation here: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary/#animations-in-inline-styling"}function rh(e,t){return u.warn("`createAnimatedPropAdapter` is no longer necessary in Reanimated 4 and will be removed in next version. Please remove this call from your co
23de and pass the adapter function directly."),e}const ih=function({_worklet_15965711409365_init_data:e}){const t=function(e){return{shadowNodeWrapper:e}};return t.__closure={},t.__workletHash=0xe854e8ea0d5,t.__initData=e,t}({_worklet_15965711409365_init_data:{code:"(function createViewDescriptor_reactNativeReanimated_styleUpdaterJs1(screenId){return{shadowNodeWrapper:screenId};})"}}),ah=function({_worklet_3363572837468_init_data:e,createViewDescriptor:t,updateProps:n}){const r=function(e,r){const{screenDimensions:i,topScreenId:a,screenTransition:o}=e,{topScreenStyle:s}=o,l=s(r,i),c={value:[t(a)]};n(c,l,void 0)};return r.__closure={createViewDescriptor:t,updateProps:n},r.__workletHash=3363572837468,r.__initData=e,r}({_worklet_3363572837468_init_data:{code:"(function applyStyleForTopScreen_reactNativeReanimated_styleUpdaterJs2(screenTransitionConfig,event){const{createViewDescriptor,updateProps}=this.__closure;const{screenDimensions:screenDimensions,topScreenId:topScreenId,screenTransition:screenTransition}=screenTransitionConfig;const{topScreenStyle:computeTopScreenStyle}=screenTransition;const topScreenStyle=computeTopScreenStyle(event,screenDimensions);const topScreenDescriptor={value:[createViewDescriptor(topScreenId)]};updateProps(topScreenDescriptor,topScreenStyle,undefined);})"},createViewDescriptor:ih,updateProps:ol}),oh=function({_worklet_8855677779982_init_data:e,createViewDescriptor:t,updateProps:n}){const r=function(e,r){const{screenDimensions:i,belowTopScreenId:a,screenTransition:o}=e,{belowTopScreenStyle:s}=o,l=s(r,i),c={value:[t(a)]};n(c,l,void 0)};return r.__closure={createViewDescriptor:t,updateProps:n},r.__workletHash=8855677779982,r.__initData=e,r}({_worklet_8855677779982_init_data:{code:"(function applyStyleForBelowTopScreen_reactNativeReanimated_styleUpdaterJs3(screenTransitionConfig,event){const{createViewDescriptor,updateProps}=this.__closure;const{screenDimensions:screenDimensions,belowTopScreenId:belowTopScreenId,screenTransition:screenTransition}=screenTransitionConfig;const{belowTopScreenStyle:computeBelowTopScreenStyle}=screenTransition;const belowTopScreenStyle=computeBelowTopScreenStyle(event,screenDimensions);const belowTopScreenDescriptor={value:[createViewDescriptor(belowTopScreenId)]};updateProps(belowTopScreenDescriptor,belowTopScreenStyle,undefined);})"},createViewDescriptor:ih,updateProps:ol}),sh=function({_worklet_14490571666920_init_data:e,applyStyleForTopScreen:t,applyStyleForBelowTopScreen:n}){const r=function(e,r){t(e,r),n(e,r)};return r.__closure={applyStyleForTopScreen:t,applyStyleForBelowTopScreen:n},r.__workletHash=0xd2dd96075e8,r.__initData=e,r}({_worklet_14490571666920_init_data:{code:"(function applyStyle_reactNativeReanimated_styleUpdaterJs4(screenTransitionConfig,event){const{applyStyleForTopScreen,applyStyleForBelowTopScreen}=this.__closure;applyStyleForTopScreen(screenTransitionConfig,event);
23applyStyleForBelowTopScreen(screenTransitionConfig,event);})"},applyStyleForTopScreen:ah,applyStyleForBelowTopScreen:oh}),lh={code:"(function reactNativeReanimated_RNScreensTurboModuleJs1(){const{logger,defaultReturnValue}=this.__closure;logger.warn('RNScreensTurboModule has not been found. Check that you have installed `[email protected]` or newer in your project and rebuilt your app.');return defaultReturnValue;})"};function ch(e){return function({_worklet_14260678224384_init_data:e,logger:t,defaultReturnValue:n}){const r=function(){return t.warn("RNScreensTurboModule has not been found. Check that you have installed `[email protected]` or newer in your project and rebuilt your app."),n};return r.__closure={logger:t,defaultReturnValue:n},r.__workletHash=0xcf852a8ea00,r.__initData=e,r}({_worklet_14260678224384_init_data:lh,logger:u,defaultReturnValue:e})}const uh=n.g.RNScreensTurboModule||{startTransition:ch({topScreenId:-1,belowTopScreenId:-1,canStartTransition:!1}),updateTransition:ch(),finishTransition:ch()},dh=function({_worklet_878785279277_init_data:e}){const t=function(e,t,n){if(Math.abs(t)<1)return 1;return n*((globalThis._getAnimationTimestamp()-e)/1e3)/t};return t.__closure={},t.__workletHash=878785279277,t.__initData=e,t}({_worklet_878785279277_init_data:{code:"(function computeEasingProgress_reactNativeReanimated_swipeSimulatorJs1(startingTimestamp,distance,velocity){if(Math.abs(distance)<1){return 1;}const elapsedTime=(globalThis._getAnimationTimestamp()-startingTimestamp)/1000;const currentPosition=velocity*elapsedTime;const progress=currentPosition/distance;return progress;})"}}),ph=function({_worklet_7565202028054_init_data:e}){const t=function(e){return 1-Math.pow(1-e,5)};return t.__closure={},t.__workletHash=7565202028054,t.__initData=e,t}({_worklet_7565202028054_init_data:{code:"(function easing_reactNativeReanimated_swipeSimulatorJs2(x){return 1-Math.pow(1-x,5);})"}}),fh=function({_worklet_15744470409609_init_data:e}){const t=function(e,t,n){const r=e.screenDimensions,i=Math.abs(t.translationX/r.width),a=Math.abs(t.translationY/r.height),o=Math.max(i,a);return n?o/2:o};return t.__closure={},t.__workletHash=0xe51cb90e189,t.__initData=e,t}({_worklet_15744470409609_init_data:{code:"(function computeProgress_reactNativeReanimated_swipeSimulatorJs3(screenTransitionConfig,event,isTransitionCanceled){const screenDimensions=screenTransitionConfig.screenDimensions;const progressX=Math.abs(event.translationX/screenDimensions.width);const progressY=Math.abs(event.translationY/screenDimensions.height);const maxProgress=Math.max(progressX,progressY);const progress=isTransitionCanceled?maxProgress/2:maxProgress;return progress;})"}}),hh=function({_worklet_8534457932680_init_data:e,computeProgress:t,RNScreensTurboModule:n}){const r=function(e,r,i,a,o){if(r)i.onFinishAnimation?.();else{const r=i.stackTag,s=t(i,a,o);n.updateTransition(r,s),requestAnimationFrame(e)}};return r.__closure={computeProgress:t,RNScreensTurboModule:n},r.__workletHash=8534457932680,r.__initData=e,r}({_worklet_8534457932680_init_data:{code:"(function maybeScheduleNextFrame_reactNativeReanimated_swipeSimulatorJs4(step,didScreenReachDestination,screenTransitionConfig,event,isTransitionCanceled){const{computeProgress,RNScreensTurboModule}=this.__closure;if(!didScreenReachDestination){const stackTag=screenTransitionConfig.stackTag;const progress=computeProgress(screenTransitionConfig,event,isTransitionCanceled);RNScreensTurboModule.updateTransition(stackTag,progress);requestAnimationFrame(step);}else{var _screenTransitionConf;(_screenTransitionConf=screenTransitionConfig.onFinishAnimation)===null||_screenTransitionConf===void 0||_screenTransitionConf.call(screenTransitionConfig);}})"},computeProgress:fh,RNScreensTurboModule:uh}),mh=function({_worklet_6641560825597_init_data:e,BASE_VELOCITY:t,ADDITIONAL_VELOCITY_FACTOR_X:n,ADDITIONAL_VELOCITY_FACTOR_Y:r,ADDITIONAL_VELOCITY_FACTOR_XY:i,applyStyleForBelowTopScreen:a,computeEasingProgress:o,easing:s,applyStyle:l,maybeScheduleNextFrame:c}){const u=function(e,u,d){const p=u.screenDimensions,f=globalThis._getAnimationTimestamp(),{isTransitionCanceled:h}=u,m={x:e.translationX,y:e.translationY},g=Math.sign(e.translationX),y=Math.sign(e.translationY),v=h?{x:0,y:0}:{x:g*p.width,y:y*p.height}
23,b={x:Math.abs(v.x-m.x),y:Math.abs(v.y-m.y)},_={x:!1,y:!1},w={x:t,y:t};if("x"===d)w.y=0,w.x+=n*b.x/p.width;else if("y"===d)w.x=0,w.y+=r*b.y/p.height;else{const e=Math.sqrt(b.x**2+b.y**2),n=Math.sqrt(p.width**2+p.height**2),r=t+i*e/n;Math.abs(m.x)>Math.abs(m.y)?(w.x=r,w.y=r*Math.abs(m.y/m.x)):(w.x=r*Math.abs(m.x/m.y),w.y=r)}if(h){const t=()=>{const n={x:o(f,b.x,w.x),y:o(f,b.y,w.y)};e.translationX=m.x-g*b.x*s(n.x),e.translationY=m.y-y*b.y*s(n.y),g>0?e.translationX<=0&&(_.x=!0,e.translationX=0):e.translationX>=0&&(_.x=!0,e.translationX=0),y>0?e.translationY<=0&&(_.y=!0,e.translationY=0):e.translationY>=0&&(_.y=!0,e.translationY=0),l(u,e);const r="x"===d?_.x:("y"===d||_.x)&&_.y;r&&(e.translationX=g*p.width,e.translationY=y*p.height,a(u,e)),c(t,r,u,e,h)};return t}{const t=()=>{const n={x:o(f,b.x,w.x),y:o(f,b.y,w.y)};e.translationX=m.x+g*b.x*s(n.x),e.translationY=m.y+y*b.y*s(n.y),g>0?e.translationX>=p.width&&(_.x=!0,e.translationX=p.width):e.translationX<=-p.width&&(_.x=!0,e.translationX=-p.width),y>0?e.translationY>=p.height&&(_.y=!0,e.translationY=p.height):e.translationY<=-p.height&&(_.y=!0,e.translationY=-p.height),l(u,e),c(t,_.x||_.y,u,e,h)};return t}};return u.__closure={BASE_VELOCITY:t,ADDITIONAL_VELOCITY_FACTOR_X:n,ADDITIONAL_VELOCITY_FACTOR_Y:r,ADDITIONAL_VELOCITY_FACTOR_XY:i,applyStyleForBelowTopScreen:a,computeEasingProgress:o,easing:s,applyStyle:l,maybeScheduleNextFrame:c},u.__workletHash=6641560825597,u.__initData=e,u}({_worklet_6641560825597_init_data:{code:"(function getSwipeSimulator_reactNativeReanimated_swipeSimulatorJs5(event,screenTransitionConfig,lockAxis){const{BASE_VELOCITY,ADDITIONAL_VELOCITY_FACTOR_X,ADDITIONAL_VELOCITY_FACTOR_Y,ADDITIONAL_VELOCITY_FACTOR_XY,applyStyleForBelowTopScreen,computeEasingProgress,easing,applyStyle,maybeScheduleNextFrame}=this.__closure;const screenDimensions=screenTransitionConfig.screenDimensions;const startTimestamp=globalThis._getAnimationTimestamp();const{isTransitionCanceled:isTransitionCanceled}=screenTransitionConfig;const startingPosition={x:event.translationX,y:event.translationY};const direction={x:Math.sign(event.translationX),y:Math.sign(event.translationY)};const finalPosition=isTransitionCanceled?{x:0,y:0}:{x:direction.x*screenDimensions.width,y:direction.y*screenDimensions.height};const distance={x:Math.abs(finalPosition.x-startingPosition.x),y:Math.abs(finalPosition.y-startingPosition.y)};const didScreenReachDestination={x:false,y:false};const velocity={x:BASE_VELOCITY,y:BASE_VELOCITY};if(lockAxis==='x'){velocity.y=0;velocity.x+=ADDITIONAL_VELOCITY_FACTOR_X*distance.x/screenDimensions.width;}else if(lockAxis==='y'){velocity.x=0;velocity.y+=ADDITIONAL_VELOCITY_FACTOR_Y*distance.y/screenDimensions.height;}else{const euclideanDistance=Math.sqrt(distance.x**2+distance.y**2);const screenDiagonal=Math.sqrt(screenDimensions.width**2+screenDimensions.height**2);const velocityVectorLength=BASE_VELOCITY+ADDITIONAL_VELOCITY_FACTOR_XY*euclideanDistance/screenDiagonal;if(Math.abs(startingPosition.x)>Math.abs(startingPosition.y)){velocity.x=velocityVectorLength;velocity.y=velocityVectorLength*Math.abs(startingPosition.y/startingPosition.x);}else{velocity.x=velocityVectorLength*Math.abs(startingPosition.x/startingPosition.y);velocity.y=velocityVectorLength;}}if(isTransitionCanceled){function didScreenReachDestinationCheck(){if(lockAxis==='x'){return didScreenReachDestination.x;}else if(lockAxis==='y'){return didScreenReachDestination.y;}else{return didScreenReachDestination.x&&didScreenReachDestination.y;}}function restoreOriginalStyleForBelowTopScreen(){event.translationX=direction.x*screenDimensions.width;event.translationY=direction.y*screenDimensions.height;applyStyleForBelowTopScreen(screenTransitionConfig,event);}const computeFrame=function(){const progress={x:computeEasingProgress(startTimestamp,distance.x,velocity.x),y:computeEasingProgress(startTimestamp,distance.y,velocity.y)};event.translationX=startingPosition.x-direction.x*distance.x*easing(progress.x);event.translationY=startingPosition.y-direction.y*distance.y*easing(progress.y);if(direction.x>0){if(event.translationX<=0){didScreenReachDestination.x=true;event.translationX=0;}}else{if(event.translationX>=0){didScreenReachDestination.x=true;event.translationX=0;}}if(direction.y>0){if(event.translationY<=0){didScreenReachDestination.y=true;event.translationY=0;}}else{if(event.translationY>=0){didScreenReachDestination.y=true;event.translationY=0;}}applyStyle(screenTransitionConfig,event);const finished=didScreenReachDestinationCheck();if(finished){restoreOriginalStyleForBelowTopScreen();}maybeScheduleNextFrame(computeFrame,finished,screenTransitionConfig,event,isTransitionCanceled);};return computeFrame;}else{const computeFrame=function(){const progress={x:computeEasingProgress(startTimestamp,distance.x,velocity.x),y:computeEasingProgress(startTimestamp,distance.y,velocity.y)};event.translationX=startingPosition.x+direction.x*distance.x*easing(progress.x);event.translationY=startingPosition.y+direction.y*distance.y*easing(progress.y);if(direction.x>
230){if(event.translationX>=screenDimensions.width){didScreenReachDestination.x=true;event.translationX=screenDimensions.width;}}else{if(event.translationX<=-screenDimensions.width){didScreenReachDestination.x=true;event.translationX=-screenDimensions.width;}}if(direction.y>0){if(event.translationY>=screenDimensions.height){didScreenReachDestination.y=true;event.translationY=screenDimensions.height;}}else{if(event.translationY<=-screenDimensions.height){didScreenReachDestination.y=true;event.translationY=-screenDimensions.height;}}applyStyle(screenTransitionConfig,event);maybeScheduleNextFrame(computeFrame,didScreenReachDestination.x||didScreenReachDestination.y,screenTransitionConfig,event,isTransitionCanceled);};return computeFrame;}})"},BASE_VELOCITY:400,ADDITIONAL_VELOCITY_FACTOR_X:400,ADDITIONAL_VELOCITY_FACTOR_Y:500,ADDITIONAL_VELOCITY_FACTOR_XY:600,applyStyleForBelowTopScreen:oh,computeEasingProgress:dh,easing:ph,applyStyle:sh,maybeScheduleNextFrame:hh}),gh=function({_worklet_17581564225748_init_data:e,applyStyle:t}){const n=function(e){const{stackTag:n,sharedEvent:r}=e;r.addListener(n,()=>{t(e,r.value)})};return n.__closure={applyStyle:t},n.__workletHash=0xffd86e3e8d4,n.__initData=e,n}({_worklet_17581564225748_init_data:{code:"(function startScreenTransition_reactNativeReanimated_animationManagerJs1(screenTransitionConfig){const{applyStyle}=this.__closure;const{stackTag:stackTag,sharedEvent:sharedEvent}=screenTransitionConfig;sharedEvent.addListener(stackTag,function(){applyStyle(screenTransitionConfig,sharedEvent.value);});})"},applyStyle:sh}),yh=function({_worklet_8744049550762_init_data:e}){const t=function(e){return["swipeRight","swipeLeft","horizontalSwipe"].includes(e)?"x":["swipeUp","swipeDown","verticalSwipe"].includes(e)?"y":void 0};return t.__closure={},t.__workletHash=8744049550762,t.__initData=e,t}({_worklet_8744049550762_init_data:{code:"(function getLockAxis_reactNativeReanimated_animationManagerJs2(goBackGesture){if(['swipeRight','swipeLeft','horizontalSwipe'].includes(goBackGesture)){return'x';}else if(['swipeUp','swipeDown','verticalSwipe'].includes(goBackGesture)){return'y';}return undefined;})"}}),vh=function({_worklet_3579942789433_init_data:e,getLockAxis:t,getSwipeSimulator:n}){const r=function(e){const{stackTag:r,sharedEvent:i,goBackGesture:a}=e;i.removeListener(r);const o=t(a);n(i.value,e,o)()};return r.__closure={getLockAxis:t,getSwipeSimulator:n},r.__workletHash=3579942789433,r.__initData=e,r}({_worklet_3579942789433_init_data:{code:"(function finishScreenTransition_reactNativeReanimated_animationManagerJs3(screenTransitionConfig){const{getLockAxis,getSwipeSimulator}=this.__closure;const{stackTag:stackTag,sharedEvent:sharedEvent,goBackGesture:goBackGesture}=screenTransitionConfig;sharedEvent.removeListener(stackTag);const lockAxis=getLockAxis(goBackGesture);const step=getSwipeSimulator(sharedEvent.value,screenTransitionConfig,lockAxis);step();})"},getLockAxis:yh,getSwipeSimulator:mh}),bh={topScreenStyle:function({_worklet_7488808743922_init_data:e}){const t=function(e){return{transform:[{translateX:e.translationX}]}};return t.__closure={},t.__workletHash=7488808743922,t.__initData=e,t}({_worklet_7488808743922_init_data:{code:"(function reactNativeReanimated_presetsJs1(event){return{transform:[{translateX:event.translationX}]};})"}}),belowTopScreenStyle:function({_worklet_16374708815966_init_data:e}){const t=function(e,t){return{transform:[{translateX:.3*(e.translationX-t.width)}]}};return t.__closure={},t.__workletHash=0xee488b3c85e,t.__initData=e,t}({_worklet_16374708815966_init_data:{code:"(function reactNativeReanimated_presetsJs2(event,screenSize){return{transform:[{translateX:(event.translationX-screenSize.width)*0.3}]};})"}})},_h={topScreenStyle:function({_worklet_2908657557936_init_data:e}){const t=function(e){return{transform:[{translateX:e.translationX}]}};return t.__closure={},t.__workletHash=2908657557936,t.__initData=e,t}({_worklet_2908657557936_init_data:{code:"(function reactNativeReanimated_presetsJs3(event){return{transform:[{translateX:event.translationX}]};})"}}),belowTopScreenStyle:function({_worklet_14623705379230_init_data:e}){const t=function(e,t){return{transform:[{translateX:.3*(e.translationX+t.width)}]}};return t.__closure={},t.__workletHash=0xd4cd8c3b19e,t.__initData=e,t}({_worklet_14623705379230_init_data:{code:"(function reactNativeReanimated_presetsJs4(event,screenSize){return{transform:[{translateX:(event.translationX+screenSize.width)*0.3}]};})"}})},wh={topScreenStyle:function({_worklet_3648966058326_init_data:e}){const t=function(e){return{transform:[{translateY:e.translationY}]}};return t.__closure={},t.__workletHash=3648966058326,t.__initData=e,t}({_worklet_3648966058326_init_data:{code:"(function reactNativeReanimated_presetsJs5(event){return{transform:[{translateY:event.translationY}]};})"}}),belowTopScreenStyle:function({_worklet_16903515968099_init_data:e}){const t=function(e,t){return{transform:[{translateY:.3*(e.translationY-t.height)}]}};return t.__closure={},t.__workletHash=0xf5fa8109263,t.__initData=e,t}({_worklet_16903515968099_init_data:{code:"(function reactNativeReanimated_presetsJs6(event,screenSize){return{transform:[{translateY:(event.translationY-screenSize.height)*0.3}]};})"}})},kh={topScreenStyle:function({_worklet_6623254959892_init_data:e}){const t=function(e){return{transform:[{translateY:e.translationY}]}};return t.__closure={},t.__workletHash=6623254959892,t.__initData=e,t}({_worklet_6623254959892_init_data:{code:"(function reactNativeReanimated_presetsJs7(event){return{transform:[{translateY:event.translationY}]};})"}}),belowTopScreenStyle:function({_worklet_7998667763115_init_data:e}){const t=function(e,t){return{transform:[{translateY:.3*(e.translationY+t.height)}]}};return t.__closure={},t.__workletHash=7998667763115,t.__initData=e,t}({_worklet_7998667763115_init_data:{code:"(function reactNativeReanimated_presetsJs8(event,screenSize){return{transform:[{translateY:(event.translationY+screenSize.height)*0.3}]};})"}})},Sh={topScreenStyle:function({_worklet_14111134607775_init_data:e}){const t=function(e,t){return{transform:[{translateX:e.translationX},{translateY:e.translationY}]}};return t.__closure={},t.__workletHash=0xcd5812a699f,t.__initData=e,t}({_worklet_14111134607775_init_data:{code:"(function reactNativeReanimated_presetsJs9(event,_screenSize){return{transform:[{translateX:event.translationX},{translateY:event.translationY}]};})"}}),belowTopScreenStyle:function({_worklet_4565853599300_init_data:e}){const t=function(e,t){return{}};return t.__closure={},t.__workletHash=4565853599300,t.__initData=e,t}({_worklet_4565853599300_init_data:{code:"(function reactNativeReanimated_presetsJs10(_event,_screenSize){return{};})"}})},xh={topScreenStyle:function({_worklet_5881617494553_init_data:e}){const t=function(e,t){return{transform:[{translateX:e.translationX}]}};return t.__closure={},t.__workletHash=5881617494553,t.__initData=e,t}({_worklet_5881617494553_init_data:{code:"(function reactNativeReanimated_presetsJs11(event,_screenSize){return{transform:[{translateX:event.translationX}]};})"}}),belowTopScreenStyle:function({_worklet_10800643165126_init_data:e}){const t=function(e,t){return{}};return t.__closure={},t.__workletHash=0x9d2b87fcbc6,t.__initData=e,t}({_worklet_10800643165126_init_data:{code:"(function reactNativeReanimated_presetsJs12(_event,_screenSize){return{};})"}})},Ch={topScreenStyle:function({_worklet_11838126776763_init_data:e}){const t=function(e,t){return{transform:[{translateY:e.translationY}]}};return t.__closure={},t.__workletHash=0xac4475761bb,t.__initData=e,t}({_worklet_11838126776763_init_data:{code:"(function reactNativeReanimated_presetsJs13(event,_screenSize){return{transform:[{translateY:event.translationY}]};})"}}),belowTopScreenStyle:function({_worklet_8217246819392_init_data:e}){const t=function(e,t){return{}};return t.__closure={},t.__workletHash=8217246819392,t.__initData=e,t}({_worklet_8217246819392_init_data:{code:"(function reactNativeReanimated_presetsJs14(_event,_screenSize){return{};})"}})},Eh={topScreenStyle:function({_worklet_5996357852494_init_data:e}){const t=function(e,t){return{opacity:1-Math.abs(e.translationX/t.width)}};return t.__closure={},t.__workletHash=5996357852494,t.__initData=e,t}({_worklet_5996357852494_init_data:{code:"(function reactNativeReanimated_presetsJs15(event,screenSize){return{opacity:1-Math.abs(event.translationX/screenSize.width)};})"}}),belowTopScreenStyle:function({_worklet_14452036385218_init_data:e}){const t=function(e,t){return{}};return t.__closure={},t.__workletHash=0xd24e07eb9c2,t.__initData=e,t}({_worklet_14452036385218_init_data:{code:"(function reactNativeReanimated_presetsJs16(_event,_screenSize){return{};})"}})},Ah={SwipeRight:bh,SwipeLeft:_h,SwipeDown:wh,SwipeUp:kh,Horizontal:xh,Vertical:Ch,TwoDimensional:Sh,SwipeRightFade:Eh}
23,Th=In.createSerializable,Ih=In.createWorkletRuntime,Rh=In.executeOnUIRuntimeSync,Oh=In.runOnJS,Dh=In.runOnUI,Nh=In.runOnRuntime,jh=In.isWorkletFunction;Gn("EXPERIMENTAL_CSS_ANIMATIONS_FOR_SVG_COMPONENTS")&&function(){Cn("circle",yn),Cn("ellipse",vn),Cn("image",bn),Cn("path",_n),Cn("rect",wn);for(const e of En)Cn(e,gn)}();const Fh=r},48818(t,n,r){"use strict";r.r(n),r.d(n,{RuntimeKind:()=>o,UIRuntimeId:()=>O,WorkletsModule:()=>te,callMicrotasks:()=>S,createSerializable:()=>m,createShareable:()=>I,createSynchronizable:()=>R,createWorkletRuntime:()=>D,executeOnUIRuntimeSync:()=>U,getDynamicFeatureFlag:()=>E,getRuntimeKind:()=>s,getStaticFeatureFlag:()=>x,getUIRuntimeHolder:()=>B,getUISchedulerHolder:()=>H,isBundleModeEnabled:()=>p,isRNRuntime:()=>l,isSerializableRef:()=>h,isShareable:()=>A,isShareableRef:()=>w,isSynchronizable:()=>T,isUIRuntime:()=>u,isWorkerRuntime:()=>d,isWorkletFunction:()=>ee,isWorkletRuntime:()=>c,makeShareable:()=>y,makeShareableCloneOnUIRecursive:()=>g,makeShareableCloneRecursive:()=>_,registerCustomSerializable:()=>v,runOnJS:()=>X,runOnRuntime:()=>N,runOnRuntimeAsync:()=>P,runOnRuntimeAsyncWithId:()=>L,runOnRuntimeSync:()=>M,runOnRuntimeSyncWithId:()=>V,runOnUI:()=>z,runOnUIAsync:()=>q,runOnUISync:()=>Y,scheduleOnRN:()=>G,scheduleOnRuntime:()=>j,scheduleOnRuntimeWithId:()=>F,scheduleOnUI:()=>W,serializableMappingCache:()=>b,setDynamicFeatureFlag:()=>C,shareableMappingCache:()=>k,toggleSlowAnimationsOnUIRuntime:()=>f});const i="undefined"!==typeof globalThis.jest||!1;function a(e){return setTimeout(()=>e(performance.now()),0)}let o=function(e){return e[e.ReactNative=1]="ReactNative",e[e.UI=2]="UI",e[e.Worker=3]="Worker",e}({});const s=function({_worklet_14277125260491_init_data:e}){const t=function(){return globalThis.__RUNTIME_KIND};return t.__closure={},t.__workletHash=0xcfc26fac4cb,t.__initData=e,t}({_worklet_14277125260491_init_data:{code:"(function getRuntimeKind_reactNativeWorklets_runtimeKindJs1(){return globalThis.__RUNTIME_KIND;})"}}),l=function({_worklet_420060075516_init_data:e}){const t=function(){return 1===globalThis.__RUNTIME_KIND};return t.__closure={},t.__workletHash=420060075516,t.__initData=e,t}({_worklet_420060075516_init_data:{code:"(function isRNRuntime_reactNativeWorklets_runtimeKindJs2(){return globalThis.__RUNTIME_KIND===1;})"}}),c=function({_worklet_12170768904321_init_data:e}){const t=function(){return 1!==globalThis.__RUNTIME_KIND};return t.__closure={},t.__workletHash=0xb11ba5b7081,t.__initData=e,t}({_worklet_12170768904321_init_data:{code:"(function isWorkletRuntime_reactNativeWorklets_runtimeKindJs3(){return globalThis.__RUNTIME_KIND!==1;})"}}),u=function({_worklet_15026024471513_init_data:e}){const t=function(){return 2===globalThis.__RUNTIME_KIND};return t.__closure={},t.__workletHash=0xdaa84d9dbd9,t.__initData=e,t}({_worklet_15026024471513_init_data:{code:"(function isUIRuntime_reactNativeWorklets_runtimeKindJs4(){return globalThis.__RUNTIME_KIND===2;})"}}),d=function({_worklet_15991010507763_init_data:e}){const t=function(){return 3===globalThis.__RUNTIME_KIND};return t.__closure={},t.__workletHash=0xe8b32803bf3,t.__initData=e,t}({_worklet_15991010507763_init_data:{code:"(function isWorkerRuntime_reactNativeWorklets_runtimeKindJs5(){return globalThis.__RUNTIME_KIND===3;})"}});function p(){return!1}function f(){return!1}function h(e){return!0}function m(e){return e}function g(e){return e}function y(e){return e}function v(e){}void 0===globalThis.__RUNTIME_KIND&&(globalThis.__RUNTIME_KIND=o.ReactNative);const b={set(e,t){},get:e=>null},_=m,w=h,k=b,S=function({_worklet_5944063147411_init_data:e}){const t=function(){};return t.__closure={},t.__workletHash=5944063147411,t.__initData=e,t}({_worklet_5944063147411_init_data:{code:"(function callMicrotasks_reactNativeWorklets_deprecatedJs1(){})"}});function x(e){return!1}function C(e,t){}function E(e){return!1}const A=function({_worklet_9086021068718_init_data:e}){const t=function(e){return"object"===typeof e&&null!==e&&!!e.__shareableRef};return t.__closure={},t.__workletHash=9086021068718,t.__initData=e,t}({_worklet_9086021068718_init_data:{code:"(function isShareable_reactNativeWorklets_isShareableJs1(value){return typeof value==='object'&&value!==null&&!!value.__shareableRef;})"}}),T=function({_worklet_7514619008876_init_data:e}){const t=function(e){return"object"===typeof e&&null!==e&&!!e.__synchronizableRef};return t.__closure={},t.__workletHash=7514619008876,t.__initData=e,t}({_worklet_7514619008876_init_data:{code:"(function isSynchronizable_reactNativeWorklets_isSynchronizableJs1(value){return typeof value==='object'&&value!==null&&!!value.__synchronizableRef;})"}});function I(e,t,n){throw new Error("[Worklets] `createShareable` is not supported on web.")}function R(e){throw new Error("[Worklets] `createSynchronizable` is not supported on web.")}const O=o.UI;function D(){throw new Error("[Worklets] `createWorkletRuntime` is not supported on web.")}function N(){throw new Error("[Worklets] `runOnRuntime` is not supported on web.")}function j(){throw new Error("[Worklets] `scheduleOnRuntime` is not supported on web.")}function F(){throw new Error("[Worklets] `scheduleOnRuntimeWithId` is not supported on web.")}function M(){throw new Error("[Worklets] `runOnRuntimeSync` is not supported on web.")}function V(){throw new Error("[Worklets] `runOnRuntimeSyncWithId` is not supported on web.")}function P(){throw new Error("[Worklets] `runOnRuntimeAsync` is not supported on web.")}function L(){throw new Error("[Worklets] `runOnRuntimeAsyncWithId` is not supported on web.")}function B(){throw new Error("[Worklets] `getUIRuntimeHolder` is not supported on web.")}function H(){throw new Error("[Worklets] `getUISchedulerHolder` is not supported on web.")}function W(e,...t){$(e,t)}function z(e){return(...t)=>{W(e,...t)}}function Y(){throw new Error("[Worklets] `runOnUISync` is not supported on web.")}function U(){throw new Error("[Worklets] `executeOnUIRuntimeSync` is not supported on web.")}function X(e){return(...t)=>G(e,...t)}function G(e,...t){queueMicrotask(t.length?()=>e(...t):e)}function q(e,...t){return new Promise((n,r)=>{$(e,t,n,r)})}let J=[];function $(e,t,n,r){const a=[e,t,n,r];J.push(a),1===J.length&&(i?Z():queueMicrotask(Z))}let K=0;function Z(){const t=J;J=[],requestAnimationFrame(()=>{for(K=0;t.length>K;)try{Q(t)}catch(e){const[,,,r]=t[K-1];r&&r(e)}})}function Q(e){for(;e.length>K;){const[t,n,r]=e[K];K++;const i=t(...n);r&&r(i)}}const ee=function({_worklet_8994626635435_init_data:e}){const t=function(e){return"function"===typeof e&&!!e.__workletHash};return t.__closure={}
23,t.__workletHash=8994626635435,t.__initData=e,t}({_worklet_8994626635435_init_data:{code:"(function isWorkletFunction_reactNativeWorklets_workletFunctionJs1(value){return(typeof value==='function'&&!!value.__workletHash);})"}}),te=null;globalThis._WORKLETS_BUNDLE_MODE_ENABLED=!1,globalThis._WORKLET=!1,globalThis.__RUNTIME_KIND=o.ReactNative,globalThis._log=function(){},globalThis._getAnimationTimestamp=()=>performance.now(),i&&(globalThis.requestAnimationFrame=a)},54453(e,t,n){"use strict";n.r(t),n.d(t,{AsyncBuffer:()=>j,AsyncBufferFullError:()=>F,DAY:()=>fe,HOUR:()=>pe,MINUTE:()=>de,SECOND:()=>ue,TID:()=>X,addHoursToDate:()=>me,aggregateErrors:()=>u,allComplete:()=>N,allFulfilled:()=>M,asyncFilter:()=>w,b64UrlToUtf8:()=>Se,backoffMs:()=>re,bailableWait:()=>m,check:()=>r,chunkArray:()=>x,createDeferrable:()=>O,createDeferrables:()=>D,createRetryable:()=>ne,dedupeStrs:()=>E,def:()=>ce,didDocument:()=>Le,errHasMsg:()=>S,flattenUint8Arrays:()=>g,getDid:()=>Ce,getFeedGenEndpoint:()=>Oe,getHandle:()=>Ee,getNotifEndpoint:()=>De,getPdsEndpoint:()=>Re,getServiceEndpoint:()=>Ne,getSigningDidKey:()=>Ie,getSigningKey:()=>Ae,getVerificationMaterial:()=>Te,graphemeLen:()=>ve,handleAllSettledErrors:()=>V,ipldEquals:()=>ee,ipldToJson:()=>Q,isErrnoException:()=>k,isFulfilledResult:()=>B,isRejectedResult:()=>P,isValidDidDoc:()=>xe,jitter:()=>f,jsonToIpld:()=>Z,keyBy:()=>T,lessThanAgoMs:()=>he,mapDefined:()=>I,noUndefinedVals:()=>c,omit:()=>p,parseIntWithFallback:()=>A,parseLanguage:()=>_e,range:()=>C,readFromGenerator:()=>R,retry:()=>te,s32decode:()=>_,s32encode:()=>b,schema:()=>le,streamToBuffer:()=>y,utf8Len:()=>be,utf8ToB64Url:()=>ke,util:()=>i,validateLanguage:()=>we,wait:()=>h});var r={};n.r(r),n.d(r,{assure:()=>s,create:()=>o,is:()=>a,isObject:()=>l});var i={};n.r(i),n.d(i,{aggregateErrors:()=>u,asyncFilter:()=>w,bailableWait:()=>m,chunkArray:()=>x,dedupeStrs:()=>E,errHasMsg:()=>S,flattenUint8Arrays:()=>g,isErrnoException:()=>k,jitter:()=>f,noUndefinedVals:()=>c,omit:()=>p,parseIntWithFallback:()=>A,range:()=>C,s32decode:()=>_,s32encode:()=>b,streamToBuffer:()=>y,wait:()=>h});const a=(e,t)=>t.safeParse(e).success,o=e=>t=>e.safeParse(t).success,s=(e,t)=>e.parse(t),l=e=>"object"===typeof e&&null!==e,c=e=>{for(const t of Object.keys(e))void 0===e[t]&&delete e[t];return e};function u(e,t){return 1===e.length?e[0]instanceof Error?e[0]:new Error(t??d(e[0]),{cause:e[0]}):new AggregateError(e,t??`Multiple errors: ${e.map(d).join("\n")}`)}function d(e){return e instanceof Error?e.message:String(e)}function p(e,t){if(!e)return e;const n={},r=Object.keys(e);for(let i=0;i<r.length;i++){const a=r[i];t.includes(a)||(n[a]=e[a])}return n}const f=e=>Math.round((Math.random()-.5)*e*2),h=e=>new Promise(t=>setTimeout(t,e)),m=e=>{let t;const n=new Promise(n=>{const r=setTimeout(n,e);t=()=>{clearTimeout(r),n()}});return{bail:t,wait:()=>n}},g=e=>{const t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t);let r=0;return e.forEach(e=>{n.set(e,r),r+=e.length}),n},y=async e=>{const t=[];for await(const n of e)t.push(n);return g(t)},v="234567abcdefghijklmnopqrstuvwxyz",b=e=>{let t="";for(;e;){const n=e%32;e=Math.floor(e/32),t=v.charAt(n)+t}return t},_=e=>{let t=0;for(const n of e)t=32*t+v.indexOf(n);return t},w=async(e,t)=>{const n=await Promise.all(e.map(e=>t(e)));return e.filter((e,t)=>n[t])},k=e=>!!e?.code,S=(e,t)=>"object"===typeof e&&null!=e&&e.message===t,x=(e,t)=>e.reduce((e,n,r)=>{const i=Math.floor(r/t);return e[i]||(e[i]=[]),e[i].push(n),e},[]),C=e=>{const t=[];for(let n=0;n<e;n++)t.push(n);return t},E=e=>[...new Set(e)],A=(e,t)=>{const n=parseInt(e||"",10);return isNaN(n)?t:n};function T(e,t){return e.reduce((e,n)=>(e.set(n[t],n),e),new Map)}const I=(e,t)=>{const n=[];for(const r of e){const e=t(r);void 0!==e&&n.push(e)}return n},R=async(e,t,n=Promise.resolve(),r=Number.MAX_SAFE_INTEGER)=>{const i=[];let a,o=!1;const s=async()=>{if(await t(i.at(-1)))return!0;const e=m(20);
23return await e.wait(),a=e.bail,!o&&await s()},l=new Promise(e=>{n.then(()=>{s().then(()=>e())})});try{for(;i.length<r;){const t=await Promise.race([e.next(),l]);if(!t)break;const n=t;if(n.done)break;i.push(n.value)}}finally{o=!0,a&&a()}return i};function O(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});return{resolve:e,reject:t,complete:n}}const D=e=>{const t=[];for(let n=0;n<e;n++)t.push(O());return t},N=async e=>{await Promise.all(e.map(e=>e.complete))};class j{constructor(e){this.maxSize=e,this.buffer=[],this.closed=!1,this.promise=Promise.resolve(),this.resolve=()=>null,this.resetPromise()}get curr(){return this.buffer}get size(){return this.buffer.length}get isClosed(){return this.closed}resetPromise(){this.promise=new Promise(e=>this.resolve=e)}push(e){this.buffer.push(e),this.resolve()}pushMany(e){e.forEach(e=>this.buffer.push(e)),this.resolve()}async*events(){for(;;){if(this.closed&&0===this.buffer.length){if(this.toThrow)throw this.toThrow;return}if(await this.promise,this.toThrow)throw this.toThrow;if(this.maxSize&&this.size>this.maxSize)throw new F(this.maxSize);const[e,...t]=this.buffer;e?(this.buffer=t,yield e):this.resetPromise()}}throw(e){this.toThrow=e,this.closed=!0,this.resolve()}close(){this.closed=!0,this.resolve()}}class F extends Error{constructor(e){super(`ReachedMaxBufferSize: ${e}`)}}function M(e){return Promise.allSettled(e).then(V)}function V(e){if(e.every(B))return e.map(H);throw u(e.filter(P).map(L))}function P(e){return"rejected"===e.status}function L(e){return e.reason}function B(e){return"fulfilled"===e.status}function H(e){return e.value}let W=0,z=0,Y=null;function U(e){return e.replaceAll("-","")}class X{constructor(e){const t=U(e);if(13!==t.length)throw new Error(`Poorly formatted TID: ${t.length} length`);this.str=t}static next(e){const t=Math.max(Date.now(),W);t===W&&z++,W=t;const n=1e3*t+z;null===Y&&(Y=Math.floor(32*Math.random()));const r=X.fromTime(n,Y);return!e||r.newerThan(e)?r:X.fromTime(e.timestamp()+1,Y)}static nextStr(e){return X.next(e?new X(e):void 0).toString()}static fromTime(e,t){const n=`${b(e)}${b(t).padStart(2,"2")}`;return new X(n)}static fromStr(e){return new X(e)}static oldestFirst(e,t){return e.compareTo(t)}static newestFirst(e,t){return t.compareTo(e)}static is(e){return 13===U(e).length}timestamp(){return _(this.str.slice(0,11))}clockid(){return _(this.str.slice(11,13))}formatted(){const e=this.toString();return`${e.slice(0,4)}-${e.slice(4,7)}-${e.slice(7,11)}-${e.slice(11,13)}`}toString(){return this.str}compareTo(e){return this.str>e.str?1:this.str<e.str?-1:0}equals(e){return this.str===e.str}newerThan(e){return this.compareTo(e)>0}olderThan(e){return this.compareTo(e)<0}}var G=n(71602),q=n(44567),J=n(49747);function $(e,t){if(Object.is(e,t))return!0;if(null==e||null==t||"object"!==typeof e||"object"!==typeof t)return!1;if(Array.isArray(e)){if(!Array.isArray(t))return!1;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!$(e[n],t[n]))return!1;return!0}if(Array.isArray(t))return!1;if(ArrayBuffer.isView(e))return!!ArrayBuffer.isView(t)&&(0,J.ui8Equals)(e,t);if(ArrayBuffer.isView(t))return!1;if((0,G.isCid)(e))return!0===(0,G.ifCid)(t)?.equals(e);if((0,G.isCid)(t))return!1;if(!(0,q.isPlainObject)(e)||!(0,q.isPlainObject)(t))throw new TypeError("Invalid LexValue (expected CID, Uint8Array, or LexMap)");const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const i of n){const n=e[i],a=t[i];if(void 0===n){if(void 0===a&&r.includes(i))continue;return!1}if(void 0===a)return!1;if(!$(n,a))return!1}return!0}var K=n(13455);const Z=e=>(0,K.jsonToLex)(e,{strict:!1}),Q=e=>void 0===e||Number.isNaN(e)?e:(0,K.lexToJson)(e),ee=(e,t)=>
23!!$(e,t)&&!Number.isNaN(e);async function te(e,t={}){const{maxRetries:n=3,retryable:r=()=>!0,getWaitMs:i=re}=t;let a,o=0;for(;!a;)try{return await e()}catch(s){const e=i(o);o<n&&null!==e&&r(s)?(o+=1,0!==e&&await h(e)):a=s}throw a}function ne(e){return async(t,n)=>te(t,{...n,retryable:e})}function re(e,t=100,n=1e3){const r=Math.pow(2,e)*t;return function(e){const t=.15*e;return e+(n=-t,r=t,Math.random()*(r-n)+n);var n,r}(Math.min(r,n))}var ie=n(12398),ae=n(84587),oe=n(30145);const se=ie.unknown().transform((e,t)=>{const n=oe.CID.asCID(e);return null==n?(t.addIssue({code:ae.ZodIssueCode.custom,message:"Not a valid CID"}),ie.NEVER):n}),le={cid:se,carHeader:ie.object({version:ie.literal(1),roots:ie.array(se)}),bytes:ie.instanceof(Uint8Array),string:ie.string(),array:ie.array(ie.unknown()),map:ie.record(ie.string(),ie.unknown()),unknown:ie.unknown()},ce={cid:{name:"cid",schema:le.cid},carHeader:{name:"CAR header",schema:le.carHeader},bytes:{name:"bytes",schema:le.bytes},string:{name:"string",schema:le.string},map:{name:"map",schema:le.map},unknown:{name:"unknown",schema:le.unknown}},ue=1e3,de=60*ue,pe=60*de,fe=24*pe,he=(e,t)=>Date.now()<e.getTime()+t,me=(e,t)=>{const n=t?new Date(t):new Date;return n.setHours(n.getHours()+e),n};var ge=n(6),ye=n(70633);const ve=ge.graphemeLen,be=ge.utf8Len,_e=ye.parseLanguageString,we=ye.isValidLanguage,ke=e=>(0,J.toBase64)((new TextEncoder).encode(e),"base64url"),Se=e=>(new TextDecoder).decode((0,J.fromBase64)(e,"base64url")),xe=e=>Le.safeParse(e).success,Ce=e=>{const t=e.id;if("string"!==typeof t)throw new Error("No `id` on document");return t},Ee=e=>{const t=e.alsoKnownAs;if(t)for(let n=0;n<t.length;n++){const e=t[n];if(e.startsWith("at://"))return e.slice(5)}},Ae=e=>Te(e,"atproto"),Te=(e,t)=>{const n=je(e,"verificationMethod",`#${t}`);if(n&&n.publicKeyMultibase)return{type:n.type,publicKeyMultibase:n.publicKeyMultibase}},Ie=e=>{const t=Ae(e);if(t)return`did:key:${t.publicKeyMultibase}`},Re=e=>Ne(e,{id:"#atproto_pds",type:"AtprotoPersonalDataServer"}),Oe=e=>Ne(e,{id:"#bsky_fg",type:"BskyFeedGenerator"}),De=e=>Ne(e,{id:"#bsky_notif",type:"BskyNotificationService"}),Ne=(e,t)=>{const n=je(e,"service",t.id);if(n&&(!t.type||n.type===t.type)&&"string"===typeof n.serviceEndpoint)return Fe(n.serviceEndpoint)};function je(e,t,n){const r=e[t];if(r)for(let i=0;i<r.length;i++){const t=r[i],a=t.id;if("#"===a[0]?a===n:a.length===e.id.length+n.length&&"#"===a[e.id.length]&&a.endsWith(n)&&a.startsWith(e.id))return t}}const Fe=e=>{if((e.startsWith("http://")||e.startsWith("https://"))&&Me(e))return e},Me=URL.canParse??(e=>{try{return new URL(e),!0}catch{return!1}}),Ve=ie.object({id:ie.string(),type:ie.string(),controller:ie.string(),publicKeyJwk:ie.record(ie.string(),ie.unknown()).optional(),publicKeyMultibase:ie.string().optional()}),Pe=ie.object({id:ie.string(),type:ie.string(),serviceEndpoint:ie.union([ie.string(),ie.record(ie.unknown())])}),Le=ie.object({"@context":ie.union([ie.literal("https://www.w3.org/ns/did/v1"),ie.array(ie.string().url())]).optional(),id:ie.string(),alsoKnownAs:ie.array(ie.string()).optional(),verificationMethod:ie.array(Ve).optional(),authentication:ie.array(ie.union([ie.string(),Ve])).optional(),service:ie.array(Pe).optional()})},70633(e,t,n){"use strict";function r(e){if(!e.startsWith("did:"))throw new s('DID requires "did:" prefix');if(e.length>2048)throw new s("DID is too long (2048 chars max)");if(e.endsWith(":")||e.endsWith("%"))throw new s('DID can not end with ":" or "%"');if(!/^[a-zA-Z0-9._:%-]*$/.test(e))throw new s("Disallowed characters in DID (ASCII letters, digits, and a couple other characters only)");const{length:t,1:n}=e.split(":");if(t<3)throw new s("DID requires prefix, method, and method-specific content");if(!/^[a-z]+$/.test(n))throw new s("DID method must be lower-case letters")}n.r(t),n.d(t,{ATP_URI_REGEX:()=>re,AtUri:()=>ae,DISALLOWED_TLDS:()=>c,DisallowedDomainError:()=>_,INVALID_HANDLE:()=>l,InvalidAtUriError:()=>Z,InvalidDatetimeError:()=>pe,InvalidDidError:()=>s,InvalidHandleError:()=>y,InvalidNsidError:()=>L,InvalidRecordKeyError:()=>Y,InvalidTidError:()=>Ve,NSID:()=>I,ReservedHandleError:()=>v,UnsupportedDomainError:()=>b,asAtIdentifierString:()=>x,asAtUriString:()=>G,asAtprotoDate:()=>he,asDatetimeString:()=>ve,assertAtIdentifierString:()=>S,assertAtUriString:()=>q,assertAtprotoDate:()=>fe,assertDatetimeString:()=>ye,currentDatetimeString:()=>ke,ensureValidAtIdentifier:()=>S,ensureValidAtUri:()=>J,ensureValidAtUriRegex:()=>$,ensureValidDatetime:()=>ye,ensureValidDid:()=>r,ensureValidDidRegex:()=>a,ensureValidHandle:()=>u,ensureValidHandleRegex:()=>p,ensureValidNsid:()=>R,ensureValidNsidRegex:()=>V,ensureValidRecordKey:()=>W,ensureValidTid:()=>Fe,ifAtIdentifierString:()=>E,ifAtUriString:()=>X,ifAtprotoDate:()=>ge,ifDatetimeString:()=>we,isAtIdentifierString:()=>C,isAtUriString:()=>U,isAtprotoDate:()=>me,isDatetimeString:()=>be,isDatetimeStringLenient:()=>_e,isDidIdentifier:()=>k,isHandleIdentifier:()=>w,isValidAtIdentifier:()=>C,isValidAtUri:()=>K,isValidDatetime:()=>be,isValidDid:()=>o,isValidHandle:()=>m,isValidLanguage:()=>Ne,isValidNsid:()=>D,isValidRecordKey:()=>z,isValidTid:()=>Me,isValidTld:()=>g,isValidUri:()=>Pe,normalizeAndEnsureValidHandle:()=>h,normalizeDatetime:()=>xe,normalizeDatetimeAlways:()=>Ce,normalizeHandle:()=>f,parseAtUriString:()=>te,parseLanguageString:()=>De,parseNsid:()=>O,toDatetimeString:()=>Se,validateNsid:()=>N,validateNsidRegex:()=>P});const i=/^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$/;function a(e){if(!i.test(e))throw new s("DID didn't validate via regex");if(e.length>2048)throw new s("DID is too long (2048 chars max)")}function o(e){return"string"===typeof e&&e.length<=2048&&i.test(e)}
23class s extends Error{}const l="handle.invalid",c=[".local",".arpa",".invalid",".localhost",".internal",".example",".alt",".onion"];function u(e){if(!/^[a-zA-Z0-9.-]*$/.test(e))throw new y("Disallowed characters in handle (ASCII letters, digits, dashes, periods only)");if(e.length>253)throw new y("Handle is too long (253 chars max)");const t=e.split(".");if(t.length<2)throw new y("Handle domain needs at least two parts");for(let n=0;n<t.length;n++){const e=t[n];if(e.length<1)throw new y("Handle parts can not be empty");if(e.length>63)throw new y("Handle part too long (max 63 chars)");if(e.endsWith("-")||e.startsWith("-"))throw new y("Handle parts can not start or end with hyphens");if(n+1===t.length&&!/^[a-zA-Z]/.test(e))throw new y("Handle final component (TLD) must start with ASCII letter")}}const d=/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$/;function p(e){if(e.length>253)throw new y("Handle is too long (253 chars max)");if(!d.test(e))throw new y("Handle didn't validate via regex")}function f(e){return e.toLowerCase()}function h(e){const t=f(e);return u(t),t}function m(e){return"string"===typeof e&&e.length<=253&&d.test(e)}function g(e){for(const t of c)if(e.endsWith(t))return!1;return!0}class y extends Error{}class v extends Error{}class b extends Error{}class _ extends Error{}function w(e){return!k(e)}function k(e){return e.startsWith("did:")}function S(e){try{if(!e||"string"!==typeof e)throw new TypeError("Identifier must be a non-empty string");e.startsWith("did:")?a(e):p(e)}catch(t){throw new y("Invalid DID or handle",{cause:t})}}function x(e){return S(e),e}function C(e){return!(!e||"string"!==typeof e)&&(e.startsWith("did:")?o(e):m(e))}function E(e){return C(e)?e:void 0}function A(e){return{success:!0,value:e}}function T(e){return{success:!1,message:e}}class I{static parse(e){return new I(e)}static create(e,t){const n=[...e.split(".").reverse(),t].join(".");return new I(n)}static isValid(e){return D(e)}static from(e){return e instanceof I?e:Array.isArray(e)?new I(e.join(".")):new I(String(e))}constructor(e){this.segments=O(e)}get authority(){return this.segments.slice(0,this.segments.length-1).reverse().join(".")}get name(){return this.segments.at(this.segments.length-1)}toString(){return this.segments.join(".")}}function R(e){const t=N(e);if(!t.success)throw new L(t.message)}function O(e){const t=N(e);if(!t.success)throw new L(t.message);return t.value}function D(e){return"string"===typeof e&&P(e).success}function N(e){if(e.length>317)return T("NSID is too long (317 chars max)");if(!/^[a-zA-Z0-9.-]*$/.test(e))return T("Disallowed characters in NSID (ASCII letters, digits, dashes, periods only)");const t=e.split(".");if(t.length<3)return T("NSID needs at least three parts");for(const n of t){if(n.length<1)return T("NSID parts can not be empty");if(n.length>63)return T("NSID part too long (max 63 chars)");if(F(n)||M(n))return T("NSID parts can not start or end with hyphen")}return j(t[0])?T("NSID first part may not start with a digit"):function(e){return!j(e)&&!e.includes("-")}(t[t.length-1])?A(t):T("NSID name part must be only letters and digits (and no leading digit)")}function j(e){const t=e.charCodeAt(0);return t>=48&&t<=57}function F(e){return 45===e.charCodeAt(0)}function M(e){return 45===e.charCodeAt(e.length-1)}function V(e){const t=P(e);if(!t.success)throw new L(t.message)}function P(e){return e.length>317?T("NSID is too long (317 chars max)"):e.length<5||!/^[a-zA-Z](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?:\.[a-zA-Z](?:[a-zA-Z0-9]{0,62})?)$/.test(e)?T("NSID didn't validate via regex"):A(e)}class L extends Error{}const B=new Set([".",".."]),H=/^[a-zA-Z0-9_~.:-]{1,512}$/;function W(e){if(e.length>512||e.length<1)throw new Y("record key must be 1 to 512 characters");if(B.has(e))throw new Y('record key can not be "." or ".."');if(!H.test(e))throw new Y("record key syntax not valid (regex)")}function z(e){return"string"===typeof e&&e.length>=1&&e.length<=512&&H.test(e)&&!B.has(e)}class Y extends Error{}function U(e,t){return te(e,t).success}function X(e,t){return U(e,t)?e:void 0}function G(e,t){return q(e,t),e}function q(e,t){const n=te(e,t);if(!n.success)throw new Z(n.message)}function J(e){q(e,{strict:!1,detailed:!0})}function $(e){q(e,{strict:!1,detailed:!1})}function K(e){return U(e,{strict:!1})}
23class Z extends Error{}const Q=/[^a-zA-Z0-9._~:@!$&'()*+,;=%/\\[\]#?-]/,ee=/^(?<uri>at:\/\/(?<authority>[^/?#\s]+)(?:\/(?<collection>[^/?#\s]+)(?:\/(?<rkey>[^/?#\s]+))?)?(?<trailingSlash>\/)?)(?:\?(?<query>[^#\s]*))?(?:#(?<hash>[^\s]*))?$/;function te(e,t){if("string"!==typeof e)return T("ATURI must be a string");if(e.length>8192)return T("ATURI exceeds maximum length");if(e.match(Q))return T("Disallowed characters in ATURI (ASCII)");const n=e.match(ee),r=n?.groups;if(!r){if(t?.detailed){if(!e.startsWith("at://"))return T('ATURI must start with "at://"');if(e.includes(" "))return T("ATURI can not contain spaces");if(e.includes("//",5))return T("ATURI can not have empty path segments");const t=e.indexOf("/",5);if(-1!==t){const n=e.indexOf("#"),r=-1!==n?n:e.length,i=e.indexOf("/",t+1);if(-1!==i&&i!==r-1)return T("ATURI can not have more than two path segments")}}return T("ATURI does not match expected format")}if(!C(r.authority))return T("ATURI has invalid authority");if(null!=r.collection&&!D(r.collection))return T("ATURI has invalid collection");if(null!=r.hash){const e=function(e,t){if(!ne.test(e))return T("Invalid JSON pointer");const n=function(e){try{return A(decodeURIComponent(e))}catch{return T("Invalid percent-encoding")}}(e);if(!n.success&&!1===t?.strict)return A(e);return n}(r.hash,t);if(!e.success)return T(`ATURI has invalid fragment (${e.message})`);r.hash=e.value}if(!1!==t?.strict){if(null!=r.trailingSlash)return T("ATURI can not have a trailing slash");if(null!=r.query)return T("ATURI query part is not allowed");if(null!=r.rkey&&!z(r.rkey))return T("ATURI has invalid record key")}return A(r)}const ne=/^\/[a-zA-Z0-9._~:@!$&')(*+,;=%[\]/-]*$/;const re=/^(at:\/\/)?((?:did:[a-z0-9:%-]+)|(?:[a-z0-9][a-z0-9.:-]*))(\/[^?#\s]*)?(\?[^#\s]+)?(#[^\s]+)?$/i,ie=/^(\/[^?#\s]*)?(\?[^#\s]+)?(#[^\s]+)?$/i;class ae{constructor(e,t){const n=void 0!==t?"string"===typeof t?Object.assign(oe(t),se(e)):Object.assign({host:t.host},se(e)):oe(e);S(n.host),this.hash=n.hash??"",this.host=n.host,this.pathname=n.pathname??"",this.searchParams=n.searchParams}static make(e,t,n){let r=e;return t&&(r+="/"+t),n&&(r+="/"+n),new ae(r)}get protocol(){return"at:"}get origin(){return`at://${this.host}`}get did(){const{host:e}=this;if(k(e))return e;throw new s(`AtUri "${this}" does not have a DID hostname`)}get hostname(){return this.host}set hostname(e){S(e),this.host=e}get search(){return this.searchParams.toString()}set search(e){this.searchParams=new URLSearchParams(e)}get collection(){return this.pathname.split("/").filter(Boolean)[0]||""}get collectionSafe(){const{collection:e}=this;return R(e),e}set collection(e){R(e),this.unsafelySetCollection(e)}unsafelySetCollection(e){const t=this.pathname.split("/").filter(Boolean);t[0]=e,this.pathname=t.join("/")}get rkey(){return this.pathname.split("/").filter(Boolean)[1]||""}get rkeySafe(){const{rkey:e}=this;return W(e),e}set rkey(e){W(e),this.unsafelySetRkey(e)}unsafelySetRkey(e){const t=this.pathname.split("/").filter(Boolean);t[0]||="undefined",t[1]=e,this.pathname=t.join("/")}get href(){return this.toString()}toString(){let e=this.pathname;for(e&&!e.startsWith("/")&&(e=`/${e}`);e.endsWith("/");)e=e.slice(0,-1);let t="";this.searchParams.size&&(t=`?${this.searchParams.toString()}`);let n=this.hash;return"#"===n?n="":n&&!n.startsWith("#")&&(n=`#${n}`),`at://${this.host}${e}${t}${n}`}}function oe(e){const t=e.match(re);if(!t)throw new Error(`Invalid AT uri: ${e}`);return{host:t[2],hash:t[5],pathname:t[3],searchParams:new URLSearchParams(t[4])}}function se(e){const t=e.match(ie);if(!t)throw new Error(`Invalid path: ${e}`);return{hash:t[3],pathname:t[1],searchParams:new URLSearchParams(t[2])}}var le=n(72481),ce=n.t(le,2);const{isValidISODateString:ue}=(de=ce).default??de;var de;class pe extends Error{}function fe(e){const t=Ie(e);if(!t.success)throw new pe(t.message)}function he(e){return fe(e),e}function me(e){return Ie(e).success}function ge(e){return me(e)?e:void 0}function ye(e){const t=Te(e);if(!t.success)throw new pe(t.message)}function ve(e){return ye(e),e}function be(e){return Te(e).success}function _e(e){if("string"!==typeof e)return!1;try{if(ue(e))return!0}catch{}return be(e)}function we(e){return be(e)?e:void 0}function ke(){return Se(new Date)}function Se(e){return he("string"===typeof e?new Date(e):e).toISOString()}function xe(e){if(/[+-]\d\d:?\d\d/.test(e)||/\dZ\b/.test(e)||/\b[A-Z]{3,4}\b/.test(e)){const t=new Date(e);if(me(t))return t.toISOString()}else{const t=new Date(`${e}Z`);if(me(t))return t.toISOString();const n=new Date(`${e} UTC`);if(me(n))return n.toISOString();const r=new Date(e);if(me(r))return r.toISOString()}throw new pe("datetime did not parse as any timestamp format")}function Ce(e){try{return xe(e)}catch(t){return"1970-01-01T00:00:00.000Z"}}const Ee=e=>({success:!1,message:e}),Ae=/^(?<full_year>[0-9]{4})-(?<date_month>0[1-9]|1[012])-(?<date_mday>[0-2][0-9]|3[01])T(?<time_hour>[0-1][0-9]|2[0-3]):(?<time_minute>[0-5][0-9]):(?<time_second>[0-5][0-9]|60)(?<time_secfrac>\.[0-9]+)?(?<time_offset>Z|(?<time_numoffset>[+-](?:[0-1][0-9]|2[0-3]):[0-5][0-9]))$/;function Te(e){if("string"!==typeof e)return Ee("datetime must be a string");if(e.length>64)return Ee("datetime is too long (64 chars max)");if(e.endsWith("-00:00"))return Ee('datetime can not use "-00:00" for UTC timezone');if(!Ae.test(e))return Ee("datetime is not in a valid format (must match RFC 3339 & ISO 8601 with 'Z' or \xb1hh:mm timezone)");return Ie(new Date(e))}function Ie(e){const t=e.getUTCFullYear();return Number.isNaN(t)?Ee("datetime did not parse as ISO 8601"):t<0?Ee("datetime normalized to a negative time"):t>9999?Ee("datetime year is too far in the future"):{success:!0,value:e}}const Re=/^((?<grandfathered>(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|n
23o-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang))|((?<language>([A-Za-z]{2,3}(-(?<extlang>[A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-(?<script>[A-Za-z]{4}))?(-(?<region>[A-Za-z]{2}|[0-9]{3}))?(-(?<variant>[A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-(?<extension>[0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(?<privateUseA>[xX](-[A-Za-z0-9]{1,8})+))?)|(?<privateUseB>[xX](-[A-Za-z0-9]{1,8})+))$/;function Oe(e){const t=e.match(Re);return t?.groups?function(e,t){if(t.grandfathered||t.privateUseB)return!1;const n=e.split("-");let r=1;if(2===n[0].length||3===n[0].length){let e=0;for(;e<3&&r<n.length&&/^[A-Za-z]{3}$/.test(n[r]);)r++,e++}r<n.length&&/^[A-Za-z]{4}$/.test(n[r])&&r++;r<n.length&&/^([A-Za-z]{2}|[0-9]{3})$/.test(n[r])&&r++;const i=new Set;for(;r<n.length&&/^([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3})$/.test(n[r]);){const e=n[r].toLowerCase();if(i.has(e))return!0;i.add(e),r++}const a=new Set;for(;r<n.length&&/^[0-9A-WYZa-wyz]$/.test(n[r]);){const e=n[r].toLowerCase();if(a.has(e))return!0;for(a.add(e),r++;r<n.length&&/^[A-Za-z0-9]{2,8}$/.test(n[r]);)r++}return!1}(e,t.groups)?null:t:null}function De(e){const t=Oe(e);if(!t?.groups)return null;const{groups:n}=t;return function(e){const t=e.language;if(!t)return!0;const n=t.split("-")[0];return/^[a-z]{2,3}$/.test(n)}(n)?{grandfathered:n.grandfathered,language:n.language,extlang:n.extlang,script:n.script,region:n.region,variant:n.variant,extension:n.extension,privateUse:n.privateUseA||n.privateUseB}:null}function Ne(e){return Re.test(e)}const je=/^[234567abcdefghij][234567abcdefghijklmnopqrstuvwxyz]{12}$/;function Fe(e){if(13!==e.length)throw new Ve("TID must be 13 characters");if(!je.test(e))throw new Ve("TID syntax not valid (regex)")}function Me(e){return"string"===typeof e&&13===e.length&&je.test(e)}class Ve extends Error{}function Pe(e){return"string"===typeof e&&/^\w+:(?:\/\/)?[^\s/][^\s]*$/.test(e)}},72968(e,t,n){"use strict";n.r(t),n.d(t,{UITextView:()=>a});var r=n(6283),i=n(60397);function a({uiTextView:e,onSelectionChange:t,...n}){return(0,i.jsx)(r.default,{...n})}},47731(e,t,n){"use strict";n.r(t),n.d(t,{blockActor:()=>q,blockActorList:()=>Z,muteActor:()=>X,muteActorList:()=>$,unblockActor:()=>J,unblockActorList:()=>Q,unmuteActor:()=>G,unmuteActorList:()=>K});var r=n(70633),i=n(60878),a=n(40733),o=n(47622),s=n(34311),l=n(43511),c=n(98954);const u="app.bsky.graph.muteActor",d=i.params(),p=a.jsonPayload({actor:o.string({format:"at-identifier"}),onlyReposts:s.optional(l.boolean()),onlyQuoteposts:s.optional(l.boolean())}),f=a.payload(),h=c.procedure(u,d,p,f),m="app.bsky.graph.unmuteActor",g=i.params(),y=a.jsonPayload({actor:o.string({format:"at-identifier"})}),v=a.payload(),b=c.procedure(m,g,y,v);var _=n(82925),w=n(59064);const k="app.bsky.graph.block",S=_.record("tid",k,w.object({subject:o.string({format:"did"}),createdAt:o.string({format:"datetime"})})),x="app.bsky.graph.muteActorList",C=i.params(),E=a.jsonPayload({list:o.string({format:"at-uri"})}),A=a.payload(),T=c.procedure(x,C,E,A),I="app.bsky.graph.unmuteActorList",R=i.params(),O=a.jsonPayload({list:o.string({format:"at-uri"})}),D=a.payload(),N=c.procedure(I,R,O,D),j="app.bsky.graph.listblock",F=_.record("tid",j,w.object({subject:o.string({format:"at-uri"}),createdAt:o.string({format:"datetime"})}));var M=n(34795),V=n(34097),P=n(26738),L=n(42658),B=n(70671),H=n(2215);const W="app.bsky.graph.getList",z=i.params({list:o.string({format:"at-uri"}),limit:s.optional(M.withDefault(V.integer({minimum:1,maximum:100}),50)),cursor:s.optional(o.string())}),Y=a.jsonPayload({cursor:s.optional(o.string()),list:P.ref(()=>H.listView),items:L.array(P.ref(()=>H.listItemView))}),U=B.query(W,z,Y),X=async(e,{actor:t,onlyReposts:n,onlyQuoteposts:r})=>{await e.call(h,{actor:t,onlyReposts:n,onlyQuoteposts:r})},G=async(e,{actor:t})=>{await e.call(b,{actor:t})},q=async(e,{did:t})=>e.create(S,{subject:t,createdAt:(0,r.currentDatetimeString)()}),J=async(e,t)=>{const n=new r.AtUri(t);await e.delete(S,{rkey:n.rkeySafe,repo:n.hostname})},$=async(e,{list:t})=>{await e.call(T,{list:t})},K=async(e,{list:t})=>{await e.call(N,{list:t})},Z=async(e,{list:t})=>e.create(F,{subject:t,createdAt:(0,r.currentDatetimeString)()}),Q=async(e,{list:t})=>{const n=await e.call(U,{list:t,limit:1}),i=n.list.viewer?.blocked;if(i){const t=new r.AtUri(i);await e.delete(F,{rkey:t.rkey})}}}
23,27240(e,t,n){"use strict";n.r(t),n.d(t,{addLabeler:()=>pe,addMutedWord:()=>ie,addMutedWords:()=>ae,addPinnedFeed:()=>$,addSavedFeeds:()=>U,dismissNudges:()=>me,getPreferences:()=>H,hidePost:()=>ue,overwriteSavedFeeds:()=>J,queueNudges:()=>he,removeLabeler:()=>fe,removeMutedWord:()=>le,removeMutedWords:()=>ce,removeNuxs:()=>be,removePinnedFeed:()=>K,removeSavedFeeds:()=>X,setActiveProgressGuide:()=>ye,setAdultContentEnabled:()=>W,setContentLabelPref:()=>z,setFeedViewPrefs:()=>Z,setInterestsPref:()=>te,setIsBetaUser:()=>ge,setPersonalDetails:()=>ee,setPostInteractionSettings:()=>we,setThreadViewPrefs:()=>Q,setVerificationPrefs:()=>_e,unhidePost:()=>de,updateLiveEventPreferences:()=>ke,updateMutedWord:()=>se,updatePreferences:()=>B,updateSavedFeeds:()=>G,upsertMutedWords:()=>oe,upsertNux:()=>ve});var r=n(53301),i=n(70633),a=n(60041),o=(n(82925),n(59064),n(47622),n(34311),n(42658),n(26738));n(43948),n(43511),n(63457),n(23695),n(47267),n(59499);const s="app.bsky.feed.generator",l=s;n(2215);const c="app.bsky.graph.list",u=c;var d=n(60878),p=n(40733),f=n(70671);const h="app.bsky.actor.getPreferences",m=d.params(),g=p.jsonPayload({preferences:o.ref(()=>a.preferences)}),y=f.query(h,m,g);var v=n(98954);const b="app.bsky.actor.putPreferences",_=d.params(),w=p.jsonPayload({preferences:o.ref(()=>a.preferences)}),k=p.payload(),S=v.procedure(b,_,w,k);var x=n(90006);function C(e){let t="";for(;e;)t="234567abcdefghijklmnopqrstuvwxyz".charAt(e%32)+t,e=Math.floor(e/32);return t}let E=0,A=0,T=null;function I(){const e=Math.max(Date.now(),E);e===E?A++:A=0,E=e,null===T&&(T=Math.floor(32*Math.random()));return`${C(1e3*e+A)}${C(T).padStart(2,"2")}`.padStart(13,"2")}var R=n(49957),O=n(13965),D=n(65991);const N=new WeakMap;const j=new Map([["nsfw","porn"],["gore","graphic-media"],["suggestive","sexual"]]),F=new Map([["porn",["nsfw"]],["graphic-media",["gore"]],["sexual",["suggestive"]]]);function M(e){return"show"===e?"ignore":e}function V(e){if("following"===e)return"timeline";try{const t=new i.AtUri(e);if(t.collection===l)return"feed";if(t.collection===u)return"list"}catch{}}function P(e){if(!e.id)throw new Error("Saved feed must have an `id` - use a TID");if(["feed","list"].includes(e.type)){const t=new i.AtUri(e.value);if("feed"===e.type&&t.collection!==l)throw new Error(`Saved feed of type 'feed' must be a feed, got ${t.collection}`);if("list"===e.type&&t.collection!==u)throw new Error(`Saved feed of type 'list' must be a list, got ${t.collection}`)}}function L(e){return async(t,n)=>{const r=e(n,t);r&&await t.call(B,r)}}const B=(e,t)=>{const{update:n,service:r=null}="function"===typeof t?{update:t}:t;return function(e,t){const n=(N.get(e)??Promise.resolve()).then(t,t);N.set(e,n);const r=()=>{N.get(e)===n&&N.delete(e)};return n.then(r,r),n}(e,async()=>{const{preferences:t}=await e.call(y,{},{service:r}),i=n(t);return!1===i?t:(await e.call(S,{preferences:i},{service:r}),i)})},H=async(e,t)=>{const n=t?.service??null,{preferences:i}=await e.call(y,{},{service:n});let o;const s=i.some(e=>(0,D.is$typedObject)(e,a.savedFeedsPrefV2.$type)),l=i.find(e=>(0,D.is$typedObject)(e,a.savedFeedsPref.$type));if(!s&&l){const t=new Map;t.set("timeline",{id:I(),type:"timeline",value:"following",pinned:!0});for(const e of l.pinned){const n=V(e);void 0!==n&&"timeline"!==n&&t.set(e,{id:I(),type:n,value:e,pinned:!0})}for(const e of l.saved)if(!t.has(e)){const n=V(e);if(void 0===n||"timeline"===n)continue;t.set(e,{id:I(),type:n,value:e,pinned:!1})}o=Array.from(t.values()),await q(e,o,n)}else s||(o=[{id:I(),type:"timeline",value:"following",pinned:!0}],await q(e,o,n));const c=i.find(e=>(0,D.is$typedObject)(e,a.adultContentPref.$type)),u=i.find(e=>(0,D.is$typedObject)(e,a.personalDetailsPref.$type)),d=i.find(e=>(0,D.is$typedObject)(e,a.declaredAgePref.$type)),p=i.filter(e=>(0,D.is$typedObject)(e,a.contentLabelPref.$type)),f=i.filter(e=>(0,D.is$typedObject)(e,a.feedViewPref.$type)),h=i.find(e=>(0,D.is$typedObject)(e,a.threadViewPref.$type)),m=i.find(e=>(0,D.is$typedObject)(e,a.interestsPref.$type)),g=i.find(e=>(0,D.is$typedObject)(e,a.mutedWordsPref.$type)),v=i.find(e=>(0,D.is$typedObject)(e,a.hiddenPostsPref.$type)),b=i.find(e=>(0,D.is$typedObject)(e,a.labelersPref.$type)),_=i.find(e=>(0,D.is$typedObject)(e,a.bskyAppStatePref.$type)),w=i.find(e=>(0,D.is$typedObject)(e,a.postInteractionSettingsPref.$type)),k=i.find(e=>(0,D.is$typedObject)(e,a.verificationPrefs.$type)),S=i.find(e=>(0,D.is$typedObject)(e,a.liveEventPreferences.$type)),C=i.find(e=>(0,D.is$typedObject)(e,a.savedFeedsPrefV2.$type)),E=o??C?.items??[],A=i.find(e=>(0,D.is$typedObject)(e,a.savedFeedsPref.$type)),T={saved:A?.saved,pinned:A?.pinned},R={...x.DEFAULT_LABEL_SETTINGS};for(const r of p){if(r.labelerDid)continue;const e=M(r.visibility);R[j.get(r.label)??r.label]=e,j.has(r.label)&&(R[r.label]=e)}const O={};for(const r of f){const e=r;O[r.feed]={hideReplies:r.hideReplies??!1,hideRepliesByUnfollowed:r.hideRepliesByUnfollowed??!0,hideRepliesByLikeCount:r.hideRepliesByLikeCount??0,hideReposts:r.hideReposts??!1,hideQuotePosts:r.hideQuotePosts??!1,..."boolean"===typeof e.lab_mergeFeedEnabled&&{lab_mergeFeedEnabled:e.lab_mergeFeedEnabled}}}O.home||(O.home={hideReplies:!1,hideRepliesByUnfollowed:!0,hideRepliesByLikeCount:0,hideReposts:!1,hideQuotePosts:!1});const N=h,F={sort:h?.sort??"hotness",..."boolean"===typeof N?.lab_treeViewEnabled&&{lab_treeViewEnabled:N.lab_treeViewEnabled}},P=[...new Set([...r.Client.appLabelers,...(b?.labelers??[]).map(e=>e.did)])].map(e=>({did:e,labels:{}}));for(const r of p){if(!r.labelerDid)continue;const e=P.find(e=>e.did===r.labelerDid);e&&(e.labels[r.label]=M(r.visibility))}
23const L=(g?.items??[]).map(e=>({...e,actorTarget:e.actorTarget||"all"}));return{feeds:T,savedFeeds:E,feedViewPrefs:O,threadViewPrefs:F,moderationPrefs:{adultContentEnabled:c?.enabled??!1,labels:R,labelers:P,mutedWords:L,hiddenPosts:v?.items??[]},birthDate:u?.birthDate?new Date(u.birthDate):void 0,declaredAge:d,interests:{tags:m?.tags??[]},bskyAppState:{queuedNudges:_?.queuedNudges??[],activeProgressGuide:_?.activeProgressGuide,nuxs:_?.nuxs??[],...void 0!==_?.isBetaUser&&{isBetaUser:_.isBetaUser}},postInteractionSettings:{threadgateAllowRules:w?.threadgateAllowRules,postgateEmbeddingRules:w?.postgateEmbeddingRules},verificationPrefs:k??{hideBadges:!1},liveEventPreferences:{hiddenFeedIds:S?.hiddenFeedIds??[],hideAllFeeds:S?.hideAllFeeds??!1}}},W=L(e=>t=>t.find(e=>(0,D.is$typedObject)(e,a.adultContentPref.$type))?t.map(t=>(0,D.is$typedObject)(t,a.adultContentPref.$type)?{...t,enabled:e}:t):[...t,a.adultContentPref.$build({enabled:e})]),z=L(({key:e,value:t,labelerDid:n})=>(void 0!==n&&(0,i.ensureValidDidRegex)(n),r=>{const i=[...r.filter(t=>!(0,D.is$typedObject)(t,a.contentLabelPref.$type)||!(t.label===e&&t.labelerDid===n)),a.contentLabelPref.$build({label:e,labelerDid:n,visibility:t})];if(!n){const n=F.get(e)??[];for(const e of n){const n=i.filter(t=>!(0,D.is$typedObject)(t,a.contentLabelPref.$type)||!(t.label===e&&void 0===t.labelerDid));i.length=0,i.push(...n),i.push(a.contentLabelPref.$build({label:e,labelerDid:void 0,visibility:t}))}}return i}));async function Y(e,t,n=null){let r=[];return await e.call(B,{update:e=>{const n=e.find(e=>(0,D.is$typedObject)(e,a.savedFeedsPrefV2.$type))??a.savedFeedsPrefV2.$build({items:[]}),i=t(n.items);r=i;const o=[...i].sort((e,t)=>e.pinned===t.pinned?0:e.pinned?-1:1);let s=e.filter(e=>!(0,D.is$typedObject)(e,a.savedFeedsPrefV2.$type)).concat(a.savedFeedsPrefV2.$build({...n,items:o}));const l=e.find(e=>(0,D.is$typedObject)(e,a.savedFeedsPref.$type));if(l){const{saved:e,pinned:t}=l,n=function(e){const t=[],n=[];for(const r of e){const e=r.value;r.pinned?(t.push(e),n.push(e)):n.push(e)}return{pinned:t,saved:n}}(o.filter(e=>["feed","list"].includes(e.type)));s=s.filter(e=>!(0,D.is$typedObject)(e,a.savedFeedsPref.$type)).concat(a.savedFeedsPref.$build({...l,saved:[...new Set([...e,...n.saved])],pinned:[...new Set([...t,...n.pinned])]}))}return s},service:n}),r}const U=async(e,t)=>{const n=t.map(({type:e,value:t,pinned:n})=>({type:e,value:t,pinned:n,id:I()}));return n.forEach(P),await Y(e,e=>[...e,...n]),n},X=async(e,t)=>{await Y(e,e=>e.filter(e=>!t.includes(e.id)))},G=async(e,t)=>{t.forEach(P),await Y(e,e=>e.map(e=>{const n=t.find(t=>e.id===t.id);return n?{...e,pinned:n.pinned}:e}))};async function q(e,t,n=null){t.forEach(P);const r=new Map;for(const i of t)r.has(i.id)&&r.delete(i.id),r.set(i.id,i);await Y(e,()=>Array.from(r.values()),n)}const J=async(e,t)=>q(e,t),$=L(e=>t=>{const n=t.find(e=>(0,D.is$typedObject)(e,a.savedFeedsPref.$type)),r=n?.saved??[],i=n?.pinned??[],o=[...r.filter(t=>t!==e),e],s=[...i.filter(t=>t!==e),e];return n?t.map(e=>(0,D.is$typedObject)(e,a.savedFeedsPref.$type)?{...e,saved:o,pinned:s}:e):[...t,a.savedFeedsPref.$build({saved:o,pinned:s})]}),K=L(e=>t=>{const n=t.find(e=>(0,D.is$typedObject)(e,a.savedFeedsPref.$type));if(!n)return!1;const r=n.pinned.filter(t=>t!==e);return t.map(e=>(0,D.is$typedObject)(e,a.savedFeedsPref.$type)?{...e,pinned:r}:e)}),Z=L(({feed:e,...t})=>n=>{const r=n.filter(e=>(0,D.is$typedObject)(e,a.feedViewPref.$type)).find(t=>t.feed===e),i=r??{feed:e},o=a.feedViewPref.$build({...i,...t});return r?n.map(t=>(0,D.is$typedObject)(t,a.feedViewPref.$type)&&t.feed===e?o:t):[...n,o]}),Q=L(e=>t=>{const n=t.find(e=>(0,D.is$typedObject)(e,a.threadViewPref.$type)),r={...n??{},...e};return n?t.map(e=>(0,D.is$typedObject)(e,a.threadViewPref.$type)?{...e,...r}:e):[...t,a.threadViewPref.$build({...r})]}),ee=L(({birthDate:e})=>{const t=e instanceof Date?(0,i.toDatetimeString)(e):e;return e=>e.find(e=>(0,D.is$typedObject)(e,a.personalDetailsPref.$type))?e.map(e=>(0,D.is$typedObject)(e,a.personalDetailsPref.$type)?{...e,birthDate:t}:e):[...e,a.personalDetailsPref.$build({birthDate:t})]}),te=L(({tags:e})=>t=>t.find(e=>(0,D.is$typedObject)(e,a.interestsPref.$type))?t.map(t=>(0,D.is$typedObject)(t,a.interestsPref.$type)?{...t,tags:e}:t):[...t,a.interestsPref.$build({tags:e})]);function ne(e){return e.map(e=>({...e,id:e.id||I()}))}function re(e,t){const n=e.id,r=n&&n===t.id,i=!n&&e.value===t.value;return!(!r&&!i)}const ie=L(e=>{const t=(0,R.sanitizeMutedWordValue)(e.value);return t?n=>{let r=n.find(e=>(0,D.is$typedObject)(e,a.mutedWordsPref.$type));const i={id:I(),value:t,targets:e.targets||[],actorTarget:e.actorTarget||"all",expiresAt:e.expiresAt||void 0};return r?(r.items.push(i),r.items=ne(r.items)):r=a.mutedWordsPref.$build({items:[i]}),n.filter(e=>
23e.$type!==a.mutedWordsPref.$type).concat(a.mutedWordsPref.$build(r))}:null}),ae=async(e,t)=>{await Promise.all(t.map(t=>e.call(ie,t)))},oe=async(e,t)=>{await e.call(ae,t)},se=L(e=>t=>{const n=t.find(e=>(0,D.is$typedObject)(e,a.mutedWordsPref.$type));return n?(n.items=n.items.map(t=>{if(re(t,e)){const n={...t,...e};return{id:t.id||I(),value:(0,R.sanitizeMutedWordValue)(n.value)||t.value,targets:n.targets||[],actorTarget:n.actorTarget||"all",expiresAt:n.expiresAt||void 0}}return t}),n.items=ne(n.items),t.filter(e=>e.$type!==a.mutedWordsPref.$type).concat(a.mutedWordsPref.$build(n))):t}),le=L(e=>t=>{const n=t.find(e=>(0,D.is$typedObject)(e,a.mutedWordsPref.$type));if(!n)return t;for(let r=0;r<n.items.length;r++){if(re(n.items[r],e)){n.items.splice(r,1);break}}return n.items=ne(n.items),t.filter(e=>e.$type!==a.mutedWordsPref.$type).concat(a.mutedWordsPref.$build(n))}),ce=async(e,t)=>{await Promise.all(t.map(t=>e.call(le,t)))},ue=L(e=>t=>{const n=t.find(e=>(0,D.is$typedObject)(e,a.hiddenPostsPref.$type)),r=n?.items??[];if(r.includes(e))return!1;const i=[...r,e];return n?t.map(e=>(0,D.is$typedObject)(e,a.hiddenPostsPref.$type)?{...e,items:i}:e):[...t,a.hiddenPostsPref.$build({items:i})]}),de=L(e=>t=>{const n=t.find(e=>(0,D.is$typedObject)(e,a.hiddenPostsPref.$type));if(!n)return!1;const r=n.items.filter(t=>t!==e);return t.map(e=>(0,D.is$typedObject)(e,a.hiddenPostsPref.$type)?{...e,items:r}:e)}),pe=L(e=>((0,i.ensureValidDidRegex)(e),t=>{const n=t.find(e=>(0,D.is$typedObject)(e,a.labelersPref.$type)),r=n?.labelers??[];if(r.some(t=>t.did===e))return!1;const i=[...r,{did:e}];return n?t.map(e=>(0,D.is$typedObject)(e,a.labelersPref.$type)?{...e,labelers:i}:e):[...t,a.labelersPref.$build({labelers:i})]})),fe=L(e=>t=>{const n=t.find(e=>(0,D.is$typedObject)(e,a.labelersPref.$type));if(!n)return!1;const r=n.labelers.filter(t=>t.did!==e);return t.map(e=>(0,D.is$typedObject)(e,a.labelersPref.$type)?{...e,labelers:r}:e)}),he=L(e=>t=>{const n=t.find(e=>(0,D.is$typedObject)(e,a.bskyAppStatePref.$type)),r=n?.queuedNudges??[],i=e.filter(e=>!r.includes(e)),o=[...r,...i];return n?t.map(e=>(0,D.is$typedObject)(e,a.bskyAppStatePref.$type)?{...e,queuedNudges:o}:e):[...t,a.bskyAppStatePref.$build({queuedNudges:o})]}),me=L(e=>t=>{const n=t.find(e=>(0,D.is$typedObject)(e,a.bskyAppStatePref.$type));if(!n)return!1;const r=(n.queuedNudges??[]).filter(t=>!e.includes(t));return t.map(e=>(0,D.is$typedObject)(e,a.bskyAppStatePref.$type)?{...e,queuedNudges:r}:e)}),ge=L(e=>t=>t.find(e=>(0,D.is$typedObject)(e,a.bskyAppStatePref.$type))?t.map(t=>(0,D.is$typedObject)(t,a.bskyAppStatePref.$type)?{...t,isBetaUser:e}:t):[...t,a.bskyAppStatePref.$build({isBetaUser:e})]),ye=L(e=>t=>t.find(e=>(0,D.is$typedObject)(e,a.bskyAppStatePref.$type))?t.map(t=>(0,D.is$typedObject)(t,a.bskyAppStatePref.$type)?{...t,activeProgressGuide:e}:t):[...t,a.bskyAppStatePref.$build({activeProgressGuide:e})]),ve=L(e=>((0,O.validateNux)(e),t=>{const n=t.find(e=>(0,D.is$typedObject)(e,a.bskyAppStatePref.$type)),r=n?.nuxs??[],i=r.findIndex(t=>t.id===e.id);let o;return o=i>=0?r.map((t,n)=>n===i?e:t):[...r,e],n?t.map(e=>(0,D.is$typedObject)(e,a.bskyAppStatePref.$type)?{...e,nuxs:o}:e):[...t,a.bskyAppStatePref.$build({nuxs:o})]})),be=L(e=>t=>{const n=t.find(e=>(0,D.is$typedObject)(e,a.bskyAppStatePref.$type));if(!n)return!1;const r=(n.nuxs??[]).filter(t=>!e.includes(t.id));return t.map(e=>(0,D.is$typedObject)(e,a.bskyAppStatePref.$type)?{...e,nuxs:r}:e)}),_e=L(e=>t=>t.find(e=>(0,D.is$typedObject)(e,a.verificationPrefs.$type))?t.map(t=>(0,D.is$typedObject)(t,a.verificationPrefs.$type)?{...t,...e}:t):[...t,a.verificationPrefs.$build({...e})]),we=L(e=>t=>{const n=t.find(e=>(0,D.is$typedObject)(e,a.postInteractionSettingsPref.$type)),r=a.postInteractionSettingsPref.$build({...n,threadgateAllowRules:e.threadgateAllowRules,postgateEmbeddingRules:e.postgateEmbeddingRules});return t.filter(e=>!(0,D.is$typedObject)(e,a.postInteractionSettingsPref.$type)).concat(r)}),ke=L(e=>t=>{const n=t.find(e=>(0,D.is$typedObject)(e,a.liveEventPreferences.$type)),r=new Set(n?.hiddenFeedIds||[]);let i=n?.hideAllFeeds??!1;switch(e.type){case"hideFeed":r.add(e.id);break;case"unhideFeed":r.delete(e.id);break;case"toggleHideAllFeeds":i=!i}const o=a.liveEventPreferences.$build({...n,hiddenFeedIds:[...r],hideAllFeeds:i});return t.filter(e=>!(0,D.is$typedObject)(e,a.liveEventPreferences.$type)).concat(o)})},67321(t,n,r){"use strict";r.r(n),r.d(n,{deleteFollow:()=>N,deleteLike:()=>I,deletePost:()=>A,deleteRepost:()=>O,follow:()=>D,like:()=>T,post:()=>E,repost:()=>R,upsertProfile:()=>j});var i=r(80710),a=r(70633),o=r(45515),s=r(82925),l=r(59064),c=r(26738),u=r(47622),d=r
23(34311),p=r(65263);const f="app.bsky.feed.like",h=s.record("tid",f,l.object({subject:c.ref(()=>p.main),createdAt:u.string({format:"datetime"}),via:d.optional(c.ref(()=>p.main))})),m="app.bsky.feed.repost",g=s.record("tid",m,l.object({subject:c.ref(()=>p.main),createdAt:u.string({format:"datetime"}),via:d.optional(c.ref(()=>p.main))})),y="app.bsky.graph.follow",v=s.record("tid",y,l.object({subject:u.string({format:"did"}),createdAt:u.string({format:"datetime"}),via:d.optional(c.ref(()=>p.main))}));var b=r(43948),_=r(63457),w=r(23695),k=r(59499);const S="app.bsky.actor.profile",x=s.record("literal:self",S,l.object({displayName:d.optional(u.string({maxGraphemes:64,maxLength:640})),description:d.optional(u.string({maxGraphemes:256,maxLength:2560})),pronouns:d.optional(u.string({maxGraphemes:20,maxLength:200})),website:d.optional(u.string({format:"uri"})),avatar:d.optional(b.blob({accept:["image/png","image/jpeg"],maxSize:1e6})),banner:d.optional(b.blob({accept:["image/png","image/jpeg"],maxSize:1e6})),labels:d.optional(_.typedUnion([w.typedRef(()=>k.selfLabels)],!1)),joinedViaStarterPack:d.optional(c.ref(()=>p.main)),pinnedPost:d.optional(c.ref(()=>p.main)),createdAt:d.optional(u.string({format:"datetime"}))})),C=S,E=async(e,{createdAt:t=(0,a.currentDatetimeString)(),...n})=>e.create(o.main,{...n,createdAt:t}),A=async(e,t)=>{const n=new a.AtUri(t);await e.delete(o.main,{rkey:n.rkeySafe,repo:n.hostname})},T=async(e,{uri:t,cid:n,via:r})=>e.create(h,{subject:{uri:t,cid:n},createdAt:(0,a.currentDatetimeString)(),via:r}),I=async(e,t)=>{const n=new a.AtUri(t);await e.delete(h,{rkey:n.rkeySafe,repo:n.hostname})},R=async(e,{uri:t,cid:n,via:r})=>e.create(g,{subject:{uri:t,cid:n},createdAt:(0,a.currentDatetimeString)(),via:r}),O=async(e,t)=>{const n=new a.AtUri(t);await e.delete(g,{rkey:n.rkeySafe,repo:n.hostname})},D=async(e,{did:t,via:n})=>e.create(v,{subject:t,createdAt:(0,a.currentDatetimeString)(),via:n}),N=async(e,t)=>{const n=new a.AtUri(t);await e.delete(v,{rkey:n.rkeySafe,repo:n.hostname})},j=async(t,n)=>{for(let r=0;r<5;r++){const a=await t.get(x).catch(()=>{}),o=a?.value,s=x.matches(o)?o:void 0,l=await n(s);x.check({$type:C,...l});try{return void await t.put(x,{...l},{swapRecord:a?.cid})}catch(e){if(4===r)throw e;if(e instanceof i.XrpcResponseError&&"InvalidSwap"===e.error)continue;throw e}}}},68004(e,t,n){"use strict";n.r(t),n.d(t,{api:()=>r});const r=Object.freeze({app:Object.freeze({did:"did:web:api.bsky.app",service:"did:web:api.bsky.app#bsky_appview",url:"https://api.bsky.app",urlPublic:"https://public.api.bsky.app"}),chat:Object.freeze({did:"did:web:api.bsky.chat",service:"did:web:api.bsky.chat#bsky_chat",url:"https://api.bsky.chat"}),moderation:Object.freeze({did:"did:plc:ar7c4by46qjdydhdevvrndac",service:"did:plc:ar7c4by46qjdydhdevvrndac#atproto_labeler"})})},60041(e,t,n){"use strict";n.r(t),n.d(t,{$nsid:()=>T,adultContentPref:()=>H,bskyAppProgressGuide:()=>ie,bskyAppStatePref:()=>re,contentLabelPref:()=>W,declaredAgePref:()=>G,feedViewPref:()=>q,hiddenPostsPref:()=>ee,interestsPref:()=>$,knownFollowers:()=>V,labelerPrefItem:()=>ne,labelersPref:()=>te,liveEventPreferences:()=>se,mutedWord:()=>Z,mutedWordTarget:()=>K,mutedWordsPref:()=>Q,nux:()=>ae,personalDetailsPref:()=>X,postInteractionSettingsPref:()=>le,preferences:()=>B,profileAssociated:()=>D,profileAssociatedActivitySubscription:()=>F,profileAssociatedChat:()=>N,profileAssociatedGerm:()=>j,profileView:()=>R,profileViewBasic:()=>I,profileViewDetailed:()=>O,savedFeed:()=>z,savedFeedsPref:()=>U,savedFeedsPrefV2:()=>Y,statusView:()=>ce,threadViewPref:()=>J,verificationPrefs:()=>oe,verificationState:()=>P,verificationView:()=>L,viewerState:()=>M});var r=n(10611),i=n(59064),a=n(47622),o=n(34311),s=n(26738),l=n(42658),c=n(56006),u=n(34097),d=n(43511),p=n(63457),f=n(23695),h=n(34795),m=n(59499),g=n(2215),y=n(65263);const v="app.bsky.notification.defs",b=r.typedObject(v,"activitySubscription",i.object({post:d.boolean(),reply:d.boolean()}));n(82925);const _="app.bsky.feed.threadgate",w=r.typedObject(_,"mentionRule",i.object({})),k=r.typedObject(_,"followerRule",i.object({})),S=r.typedObject(_,"followingRule",i.object({})),x=r.typedObject(_,"listRule",i.object({list:a.string({format:"at-uri"})})),C="app.bsky.feed.postgate",E=r.typedObject(C,"disableRule",i.object({}));var A=n(15807);const T="app.bsky.actor.defs",I=r.typedObject(T,"profileViewBasic",i.object({did:a.string({format:"did"}),handle:a.string({format:"handle"}),displayName:o.optional(a.string({maxGraphemes:64,maxLength:640})),pronouns:o.optional(a.string()),avatar:o.optional(a.string({format:"uri"})),associated:o.optional(s.ref(()=>
23D)),viewer:o.optional(s.ref(()=>M)),labels:o.optional(l.array(s.ref(()=>m.label))),createdAt:o.optional(a.string({format:"datetime"})),verification:o.optional(s.ref(()=>P)),status:o.optional(s.ref(()=>ce)),debug:o.optional(c.lexMap())})),R=r.typedObject(T,"profileView",i.object({did:a.string({format:"did"}),handle:a.string({format:"handle"}),displayName:o.optional(a.string({maxGraphemes:64,maxLength:640})),pronouns:o.optional(a.string()),description:o.optional(a.string({maxGraphemes:256,maxLength:2560})),avatar:o.optional(a.string({format:"uri"})),associated:o.optional(s.ref(()=>D)),indexedAt:o.optional(a.string({format:"datetime"})),createdAt:o.optional(a.string({format:"datetime"})),viewer:o.optional(s.ref(()=>M)),labels:o.optional(l.array(s.ref(()=>m.label))),verification:o.optional(s.ref(()=>P)),status:o.optional(s.ref(()=>ce)),debug:o.optional(c.lexMap())})),O=r.typedObject(T,"profileViewDetailed",i.object({did:a.string({format:"did"}),handle:a.string({format:"handle"}),displayName:o.optional(a.string({maxGraphemes:64,maxLength:640})),description:o.optional(a.string({maxGraphemes:256,maxLength:2560})),pronouns:o.optional(a.string()),website:o.optional(a.string({format:"uri"})),avatar:o.optional(a.string({format:"uri"})),banner:o.optional(a.string({format:"uri"})),followersCount:o.optional(u.integer()),followsCount:o.optional(u.integer()),postsCount:o.optional(u.integer()),associated:o.optional(s.ref(()=>D)),joinedViaStarterPack:o.optional(s.ref(()=>g.starterPackViewBasic)),indexedAt:o.optional(a.string({format:"datetime"})),createdAt:o.optional(a.string({format:"datetime"})),viewer:o.optional(s.ref(()=>M)),labels:o.optional(l.array(s.ref(()=>m.label))),pinnedPost:o.optional(s.ref(()=>y.main)),verification:o.optional(s.ref(()=>P)),status:o.optional(s.ref(()=>ce)),debug:o.optional(c.lexMap())})),D=r.typedObject(T,"profileAssociated",i.object({lists:o.optional(u.integer()),feedgens:o.optional(u.integer()),starterPacks:o.optional(u.integer()),labeler:o.optional(d.boolean()),chat:o.optional(s.ref(()=>N)),activitySubscription:o.optional(s.ref(()=>F)),germ:o.optional(s.ref(()=>j))})),N=r.typedObject(T,"profileAssociatedChat",i.object({allowIncoming:a.string(),allowGroupInvites:o.optional(a.string())})),j=r.typedObject(T,"profileAssociatedGerm",i.object({messageMeUrl:a.string({format:"uri"}),showButtonTo:a.string()})),F=r.typedObject(T,"profileAssociatedActivitySubscription",i.object({allowSubscriptions:a.string()})),M=r.typedObject(T,"viewerState",i.object({muted:o.optional(d.boolean()),mutedOnlyReposts:o.optional(d.boolean()),mutedOnlyQuoteposts:o.optional(d.boolean()),mutedByList:o.optional(s.ref(()=>g.listViewBasic)),blockedBy:o.optional(d.boolean()),blocking:o.optional(a.string({format:"at-uri"})),blockingByList:o.optional(s.ref(()=>g.listViewBasic)),following:o.optional(a.string({format:"at-uri"})),followedBy:o.optional(a.string({format:"at-uri"})),knownFollowers:o.optional(s.ref(()=>V)),activitySubscription:o.optional(s.ref(()=>b))})),V=r.typedObject(T,"knownFollowers",i.object({count:u.integer(),followers:l.array(s.ref(()=>I),{minLength:0,maxLength:5})})),P=r.typedObject(T,"verificationState",i.object({verifications:l.array(s.ref(()=>L)),verifiedStatus:a.string(),trustedVerifierStatus:a.string()})),L=r.typedObject(T,"verificationView",i.object({issuer:a.string({format:"did"}),issuerDisplayName:o.optional(a.string()),issuerHandle:o.optional(a.string({format:"handle"})),uri:a.string({format:"at-uri"}),isValid:d.boolean(),createdAt:a.string({format:"datetime"})})),B=l.array(p.typedUnion([f.typedRef(()=>H),f.typedRef(()=>W),f.typedRef(()=>U),f.typedRef(()=>Y),f.typedRef(()=>X),f.typedRef(()=>G),f.typedRef(()=>q),f.typedRef(()=>J),f.typedRef(()=>$),f.typedRef(()=>Q),f.typedRef(()=>ee),f.typedRef(()=>re),f.typedRef(()=>te),f.typedRef(()=>le),f.typedRef(()=>oe),f.typedRef(()=>se)],!1)),H=r.typedObject(T,"adultContentPref",i.object({enabled:h.withDefault(d.boolean(),!1)})),W=r.typedObject(T,"contentLabelPref",i.object({labelerDid:o.optional(a.string({format:"did"})),label:a.string(),visibility:a.string()})),z=r.typedObject(T,"savedFeed",i.object({id:a.string(),type:a.str
23ing(),value:a.string(),pinned:d.boolean()})),Y=r.typedObject(T,"savedFeedsPrefV2",i.object({items:l.array(s.ref(()=>z))})),U=r.typedObject(T,"savedFeedsPref",i.object({pinned:l.array(a.string({format:"at-uri"})),saved:l.array(a.string({format:"at-uri"})),timelineIndex:o.optional(u.integer())})),X=r.typedObject(T,"personalDetailsPref",i.object({birthDate:o.optional(a.string({format:"datetime"}))})),G=r.typedObject(T,"declaredAgePref",i.object({isOverAge13:o.optional(d.boolean()),isOverAge16:o.optional(d.boolean()),isOverAge18:o.optional(d.boolean())})),q=r.typedObject(T,"feedViewPref",i.object({feed:a.string(),hideReplies:o.optional(d.boolean()),hideRepliesByUnfollowed:o.optional(h.withDefault(d.boolean(),!0)),hideRepliesByLikeCount:o.optional(u.integer()),hideReposts:o.optional(d.boolean()),hideQuotePosts:o.optional(d.boolean())})),J=r.typedObject(T,"threadViewPref",i.object({sort:o.optional(a.string())})),$=r.typedObject(T,"interestsPref",i.object({tags:l.array(a.string({maxLength:640,maxGraphemes:64}),{maxLength:100})})),K=a.string({maxLength:640,maxGraphemes:64}),Z=r.typedObject(T,"mutedWord",i.object({id:o.optional(a.string()),value:a.string({maxLength:1e4,maxGraphemes:1e3}),targets:l.array(s.ref(()=>K)),actorTarget:o.optional(h.withDefault(a.string(),"all")),expiresAt:o.optional(a.string({format:"datetime"}))})),Q=r.typedObject(T,"mutedWordsPref",i.object({items:l.array(s.ref(()=>Z))})),ee=r.typedObject(T,"hiddenPostsPref",i.object({items:l.array(a.string({format:"at-uri"}))})),te=r.typedObject(T,"labelersPref",i.object({labelers:l.array(s.ref(()=>ne))})),ne=r.typedObject(T,"labelerPrefItem",i.object({did:a.string({format:"did"})})),re=r.typedObject(T,"bskyAppStatePref",i.object({activeProgressGuide:o.optional(s.ref(()=>ie)),isBetaUser:o.optional(d.boolean()),queuedNudges:o.optional(l.array(a.string({maxLength:100}),{maxLength:1e3})),nuxs:o.optional(l.array(s.ref(()=>ae),{maxLength:100}))})),ie=r.typedObject(T,"bskyAppProgressGuide",i.object({guide:a.str
23ing({maxLength:100})})),ae=r.typedObject(T,"nux",i.object({id:a.string({maxLength:100}),completed:h.withDefault(d.boolean(),!1),data:o.optional(a.string({maxLength:3e3,maxGraphemes:300})),expiresAt:o.optional(a.string({format:"datetime"}))})),oe=r.typedObject(T,"verificationPrefs",i.object({hideBadges:o.optional(h.withDefault(d.boolean(),!1))})),se=r.typedObject(T,"liveEventPreferences",i.object({hiddenFeedIds:o.optional(l.array(a.string())),hideAllFeeds:o.optional(h.withDefault(d.boolean(),!1))})),le=r.typedObject(T,"postInteractionSettingsPref",i.object({threadgateAllowRules:o.optional(l.array(p.typedUnion([f.typedRef(()=>w),f.typedRef(()=>k),f.typedRef(()=>S),f.typedRef(()=>x)],!1),{maxLength:5})),postgateEmbeddingRules:o.optional(l.array(p.typedUnion([f.typedRef(()=>E)],!1),{maxLength:5}))})),ce=r.typedObject(T,"statusView",i.object({uri:o.optional(a.string({format:"at-uri"})),cid:o.optional(a.string({format:"cid"})),status:a.string(),record:c.lexMap(),embed:o.optional(p.typedUnion([f.typedRef(()=>A.view)],!1)),labels:o.optional(l.array(s.ref(()=>m.label))),expiresAt:o.optional(a.string({format:"datetime"})),isActive:o.optional(d.boolean()),isDisabled:o.optional(d.boolean())}))},2722(e,t,n){"use strict";n.r(t),n.d(t,{$nsid:()=>o,aspectRatio:()=>s});var r=n(10611),i=n(59064),a=n(34097);const o="app.bsky.embed.defs",s=r.typedObject(o,"aspectRatio",i.object({width:a.integer({minimum:1}),height:a.integer({minimum:1})}))},15807(e,t,n){"use strict";n.r(t),n.d(t,{$assert:()=>b,$build:()=>v,$cast:()=>w,$check:()=>_,$ifMatches:()=>k,$isTypeOf:()=>y,$matches:()=>S,$nsid:()=>h,$parse:()=>x,$safeParse:()=>C,$safeValidate:()=>A,$type:()=>g,$validate:()=>E,colorRGB:()=>N,external:()=>T,main:()=>m,view:()=>I,viewExternal:()=>R,viewExternalSource:()=>O,viewExternalSourceTheme:()=>D});var r=n(10611),i=n(59064),a=n(26738),o=n(47622),s=n(34311),l=n(43948),c=n(42658),u=n(34097),d=n(65263),p=n(59499),f=n(60041);const h="app.bsky.embed.external",m=r.typedObject(h,"main",i.object({external:a.ref(()=>T)})),g=h,y=m.isTypeOf.bind(m),v=m.build.bind(m),b=m.assert.bind(m),_=m.check.bind(m),w=m.cast.bind(m),k=m.ifMatches.bind(m),S=m.matches.bind(m),x=m.parse.bind(m),C=m.safeParse.bind(m),E=m.validate.bind(m),A=m.safeValidate.bind(m),T=r.typedObject(h,"external",i.object({uri:o.string({format:"uri"}),title:o.string(),description:o.string(),thumb:s.optional(l.blob({accept:["image/*"],maxSize:1e6})),associatedRefs:s.optional(c.array(a.ref(()=>d.main)))})),I=r.typedObject(h,"view",i.object({external:a.ref(()=>R)})),R=r.typedObject(h,"viewExternal",i.object({uri:o.string({format:"uri"}),title:o.string(),description:o.string(),thumb:s.optional(o.string({format:"uri"})),createdAt:s.optional(o.string({format:"datetime"})),updatedAt:s.optional(o.string({format:"datetime"})),readingTime:s.optional(u.integer()),labels:s.optional(c.array(a.ref(()=>p.label))),source:s.optional(a.ref(()=>O)),associatedRefs:s.optional(c.array(a.ref(()=>d.main))),associatedProfiles:s.optional(c.array(a.ref(()=>f.profileViewBasic)))})),O=r.typedObject(h,"viewExternalSource",i.object({uri:o.string({format:"uri"}),icon:s.optional(o.string({format:"uri"})),title:o.string(),description:s.optional(o.string()),theme:s.optional(a.ref(()=>D))})),D=r.typedObject(h,"viewExternalSourceTheme",i.object({backgroundRGB:s.optional(a.ref(()=>N)),foregroundRGB:s.optional(a.ref(()=>N)),accentRGB:s.optional(a.ref(()=>N)),accentForegroundRGB:s.optional(a.ref(()=>N))})),N=r.typedObject(h,"colorRGB",i.object({r:u.integer({minimum:0,maximum:255}),g:u.integer({minimum:0,maximum:255}),b:u.integer({minimum:0,maximum:255})}))},62386(e,t,n){"use strict";n.r(t),n.d(t,{$assert:()=>y,$build:()=>g,$cast:()=>b,$check:()=>v,$ifMatches:()=>_,$isTypeOf:()=>m,$matches:()=>w,$nsid:()=>p,$parse:()=>k,$safeParse:()=>S,$safeValidate:()=>C,$type:()=>h,$validate:()=>x,image:()=>E,main:()=>f,view:()=>A,viewImage:()=>T});var r=n(10611),i=n(59064),a=n(42658),o=n(63457),s=n(23695),l=n(43948),c=n(47622),u=n(26738),d=n(2722);const p="app.bsky.embed.gallery",f=r.typedObject(p,"main",i.object({items:a.array(o.typedUnion([s.typedRef(()=>E)],!1),{maxLength:20})}
23)),h=p,m=f.isTypeOf.bind(f),g=f.build.bind(f),y=f.assert.bind(f),v=f.check.bind(f),b=f.cast.bind(f),_=f.ifMatches.bind(f),w=f.matches.bind(f),k=f.parse.bind(f),S=f.safeParse.bind(f),x=f.validate.bind(f),C=f.safeValidate.bind(f),E=r.typedObject(p,"image",i.object({image:l.blob({accept:["image/*"],maxSize:2e6}),alt:c.string(),aspectRatio:u.ref(()=>d.aspectRatio)})),A=r.typedObject(p,"view",i.object({items:a.array(o.typedUnion([s.typedRef(()=>T)],!1))})),T=r.typedObject(p,"viewImage",i.object({thumbnail:c.string({format:"uri"}),fullsize:c.string({format:"uri"}),alt:c.string(),aspectRatio:u.ref(()=>d.aspectRatio)}))},6740(e,t,n){"use strict";n.r(t),n.d(t,{$assert:()=>g,$build:()=>m,$cast:()=>v,$check:()=>y,$ifMatches:()=>b,$isTypeOf:()=>h,$matches:()=>_,$nsid:()=>d,$parse:()=>w,$safeParse:()=>k,$safeValidate:()=>x,$type:()=>f,$validate:()=>S,image:()=>C,main:()=>p,view:()=>E,viewImage:()=>A});var r=n(10611),i=n(59064),a=n(42658),o=n(26738),s=n(43948),l=n(47622),c=n(34311),u=n(2722);const d="app.bsky.embed.images",p=r.typedObject(d,"main",i.object({images:a.array(o.ref(()=>C),{maxLength:4})})),f=d,h=p.isTypeOf.bind(p),m=p.build.bind(p),g=p.assert.bind(p),y=p.check.bind(p),v=p.cast.bind(p),b=p.ifMatches.bind(p),_=p.matches.bind(p),w=p.parse.bind(p),k=p.safeParse.bind(p),S=p.validate.bind(p),x=p.safeValidate.bind(p),C=r.typedObject(d,"image",i.object({image:s.blob({accept:["image/*"],maxSize:2e6}),alt:l.string(),aspectRatio:c.optional(o.ref(()=>u.aspectRatio))})),E=r.typedObject(d,"view",i.object({images:a.array(o.ref(()=>A),{maxLength:4})})),A=r.typedObject(d,"viewImage",i.object({thumb:l.string({format:"uri"}),fullsize:l.string({format:"uri"}),alt:l.string(),aspectRatio:c.optional(o.ref(()=>u.aspectRatio))}))},5367(e,t,n){"use strict";n.r(t),n.d(t,{$assert:()=>D,$build:()=>O,$cast:()=>j,$check:()=>N,$ifMatches:()=>F,$isTypeOf:()=>R,$matches:()=>M,$nsid:()=>A,$parse:()=>V,$safeParse:()=>P,$safeValidate:()=>B,$type:()=>I,$validate:()=>L,main:()=>T,view:()=>H,viewBlocked:()=>Y,viewDetached:()=>U,viewNotFound:()=>z,viewRecord:()=>W});var r=n(10611),i=n(59064),a=n(26738),o=n(63457),s=n(23695),l=n(47622),c=n(56006),u=n(34311),d=n(42658),p=n(34097),f=n(50528),h=n(65263),m=n(92857),g=n(2215),y=n(60041),v=n(59499);n(55034);const b="app.bsky.labeler.defs",_=r.typedObject(b,"labelerView",i.object({uri:l.string({format:"at-uri"}),cid:l.string({format:"cid"}),creator:a.ref(()=>y.profileView),likeCount:u.optional(p.integer({minimum:0})),viewer:u.optional(a.ref(()=>w)),indexedAt:l.string({format:"datetime"}),labels:u.optional(d.array(a.ref(()=>v.label)))})),w=r.typedObject(b,"labelerViewerState",i.object({like:u.optional(l.string({format:"at-uri"}))}));var k=n(6740),S=n(37453),x=n(62386),C=n(15807),E=n(65609);const A="app.bsky.embed.record",T=r.typedObject(A,"main",i.object({record:a.ref(()=>h.main)})),I=A,R=T.isTypeOf.bind(T),O=T.build.bind(T),D=T.assert.bind(T),N=T.check.bind(T),j=T.cast.bind(T),F=T.ifMatches.bind(T),M=T.matches.bind(T),V=T.parse.bind(T),P=T.safeParse.bind(T),L=T.validate.bind(T),B=T.safeValidate.bind(T),H=r.typedObject(A,"view",i.object({record:o.typedUnion([s.typedRef(()=>W),s.typedRef(()=>z),s.typedRef(()=>Y),s.typedRef(()=>U),s.typedRef(()=>m.generatorView),s.typedRef(()=>g.listView),s.typedRef(()=>_),s.typedRef(()=>g.starterPackViewBasic)],!1)})),W=r.typedObject(A,"viewRecord",i.object({uri:l.string({format:"at-uri"}),cid:l.string({format:"cid"}),author:a.ref(()=>y.profileViewBasic),value:c.lexMap(),labels:u.optional(d.array(a.ref(()=>v.label))),replyCount:u.optional(p.integer()),repostCount:u.optional(p.integer()),likeCount:u.optional(p.integer()),quoteCount:u.optional(p.integer()),embeds:u.optional(d.array(o.typedUnion([s.typedRef(()=>k.view),s.typedRef(()=>S.view),s.typedRef(()=>x.view),s.typedRef(()=>C.view),s.typedRef(()=>H),s.typedRef(()=>E.view)],!1))),indexedAt:l.string({format:"datetime"})})),z=r.typedObject(A,"viewNotFound",i.object({uri:l.string({format:"at-uri"}),notFound:f.literal(!0)})),Y=r.typedObject(A,"viewBlocked",i.object({uri:l.string({format:"at-uri"}),blocked:f.literal(!0),author:a.ref(()=>m.blockedAuthor)})),U=r.typedObject(A,"viewDetached",i.object({uri:l.string({format:"at-uri"}),detached:f.literal(!0)}))},65609(e,t,n){"use strict";n.r(t),n.d(t,{$assert:()=>v,$build:()=>y,$cast:()=>_,$check:()=>b,$ifMatches:()=>w,$isTypeOf:()=>g,$matches:()=>k,$nsid:()=>f,$parse:()=>S,$safeParse:()=>x,$safeValidate:()=>E,$type:()=>m,$validate:()=>C,main:()=>h,view:()=>A});var r=n(10611),i=n(59064),a=n(26738),o=n(63457),s=n(23695),l=n(5367),c=n(6740),u=n(37453),d=n(62386),p=n(15807);const f="app.bsky.embed.recordWithMedia",h=r.typedObject(f,"main",i.object({record:a.ref(()=>l.main),media:o.typedUnion([s.typedRef(()=>c.main),s.typedRef(()=>u.main),s.typedRef(()=>d.main),s.typedRef(()=>p.main)],!1)}
23)),m=f,g=h.isTypeOf.bind(h),y=h.build.bind(h),v=h.assert.bind(h),b=h.check.bind(h),_=h.cast.bind(h),w=h.ifMatches.bind(h),k=h.matches.bind(h),S=h.parse.bind(h),x=h.safeParse.bind(h),C=h.validate.bind(h),E=h.safeValidate.bind(h),A=r.typedObject(f,"view",i.object({record:a.ref(()=>l.view),media:o.typedUnion([s.typedRef(()=>c.view),s.typedRef(()=>u.view),s.typedRef(()=>d.view),s.typedRef(()=>p.view)],!1)}))},37453(e,t,n){"use strict";n.r(t),n.d(t,{$assert:()=>g,$build:()=>m,$cast:()=>v,$check:()=>y,$ifMatches:()=>b,$isTypeOf:()=>h,$matches:()=>_,$nsid:()=>d,$parse:()=>w,$safeParse:()=>k,$safeValidate:()=>x,$type:()=>f,$validate:()=>S,caption:()=>C,main:()=>p,view:()=>E});var r=n(10611),i=n(59064),a=n(43948),o=n(34311),s=n(42658),l=n(26738),c=n(47622),u=n(2722);const d="app.bsky.embed.video",p=r.typedObject(d,"main",i.object({video:a.blob({accept:["video/mp4"],maxSize:1e8}),captions:o.optional(s.array(l.ref(()=>C),{maxLength:20})),alt:o.optional(c.string({maxGraphemes:1e3,maxLength:1e4})),aspectRatio:o.optional(l.ref(()=>u.aspectRatio)),presentation:o.optional(c.string())})),f=d,h=p.isTypeOf.bind(p),m=p.build.bind(p),g=p.assert.bind(p),y=p.check.bind(p),v=p.cast.bind(p),b=p.ifMatches.bind(p),_=p.matches.bind(p),w=p.parse.bind(p),k=p.safeParse.bind(p),S=p.validate.bind(p),x=p.safeValidate.bind(p),C=r.typedObject(d,"caption",i.object({lang:c.string({format:"language"}),file:a.blob({accept:["text/vtt"],maxSize:2e4})})),E=r.typedObject(d,"view",i.object({cid:c.string({format:"cid"}),playlist:c.string({format:"uri"}),thumbnail:o.optional(c.string({format:"uri"})),alt:o.optional(c.string({maxGraphemes:1e3,maxLength:1e4})),aspectRatio:o.optional(l.ref(()=>u.aspectRatio)),presentation:o.optional(c.string())}))},92857(e,t,n){"use strict";n.r(t),n.d(t,{$nsid:()=>E,blockedAuthor:()=>V,blockedPost:()=>M,clickthroughAuthor:()=>q,clickthroughEmbed:()=>$,clickthroughItem:()=>G,clickthroughReposter:()=>J,contentModeUnspecified:()=>K,contentModeVideo:()=>Z,feedViewPost:()=>R,generatorView:()=>P,generatorViewerState:()=>L,interaction:()=>Y,interactionLike:()=>ee,interactionQuote:()=>re,interactionReply:()=>ne,interactionRepost:()=>te,interactionSeen:()=>Q,interactionShare:()=>ie,notFoundPost:()=>F,postView:()=>A,reasonPin:()=>N,reasonRepost:()=>D,replyRef:()=>O,requestLess:()=>U,requestMore:()=>X,skeletonFeedPost:()=>B,skeletonReasonPin:()=>W,skeletonReasonRepost:()=>H,threadContext:()=>I,threadViewPost:()=>j,threadgateView:()=>z,viewerState:()=>T});var r=n(10611),i=n(59064),a=n(47622),o=n(26738),s=n(56006),l=n(34311),c=n(63457),u=n(23695),d=n(34097),p=n(42658),f=n(43511),h=n(50528),m=n(55034),g=n(60041),y=n(6740),v=n(37453),b=n(62386),_=n(15807),w=n(5367),k=n(65609),S=n(59499),x=n(47267),C=n(2215);const E="app.bsky.feed.defs",A=r.typedObject(E,"postView",i.object({uri:a.string({format:"at-uri"}),cid:a.string({format:"cid"}),author:o.ref(()=>g.profileViewBasic),record:s.lexMap(),embed:l.optional(c.typedUnion([u.typedRef(()=>y.view),u.typedRef(()=>v.view),u.typedRef(()=>b.view),u.typedRef(()=>_.view),u.typedRef(()=>w.view),u.typedRef(()=>k.view)],!1)),bookmarkCount:l.optional(d.integer()),replyCount:l.optional(d.integer()),repostCount:l.optional(d.integer()),likeCount:l.optional(d.integer()),quoteCount:l.optional(d.integer()),indexedAt:a.string({format:"datetime"}),viewer:l.optional(o.ref(()=>T)),labels:l.optional(p.array(o.ref(()=>S.label))),threadgate:l.optional(o.ref(()=>z)),debug:l.optional(s.lexMap())})),T=r.typedObject(E,"viewerState",i.object({repost:l.optional(a.string({format:"at-uri"})),like:l.optional(a.string({format:"at-uri"})),bookmarked:l.optional(f.boolean()),threadMuted:l.optional(f.boolean()),replyDisabled:l.optional(f.boolean()),embeddingDisabled:l.optional(f.boolean()),pinned:l.optional(f.boolean())})),I=r.typedObject(E,"threadContext",i.object({rootAuthorLike:l.optional(a.string({format:"at-uri"}))})),R=r.typedObject(E,"feedViewPost",i.object({post:o.ref(()=>A),reply:l.optional(o.ref(()=>O)),reason:l.optional(c.typedUnion([u.typedRef(()=>D),u.typedRef(()=>N)],!1)),feedContext:l.optional(a.string({maxLength:2e3})),reqId:l.optional(a.string({maxLength:100}))}
23)),O=r.typedObject(E,"replyRef",i.object({root:c.typedUnion([u.typedRef(()=>A),u.typedRef(()=>F),u.typedRef(()=>M)],!1),parent:c.typedUnion([u.typedRef(()=>A),u.typedRef(()=>F),u.typedRef(()=>M)],!1),grandparentAuthor:l.optional(o.ref(()=>g.profileViewBasic))})),D=r.typedObject(E,"reasonRepost",i.object({by:o.ref(()=>g.profileViewBasic),uri:l.optional(a.string({format:"at-uri"})),cid:l.optional(a.string({format:"cid"})),indexedAt:a.string({format:"datetime"})})),N=r.typedObject(E,"reasonPin",i.object({})),j=r.typedObject(E,"threadViewPost",i.object({post:o.ref(()=>A),parent:l.optional(c.typedUnion([u.typedRef(()=>j),u.typedRef(()=>F),u.typedRef(()=>M)],!1)),replies:l.optional(p.array(c.typedUnion([u.typedRef(()=>j),u.typedRef(()=>F),u.typedRef(()=>M)],!1))),threadContext:l.optional(o.ref(()=>I))})),F=r.typedObject(E,"notFoundPost",i.object({uri:a.string({format:"at-uri"}),notFound:h.literal(!0)})),M=r.typedObject(E,"blockedPost",i.object({uri:a.string({format:"at-uri"}),blocked:h.literal(!0),author:o.ref(()=>V)})),V=r.typedObject(E,"blockedAuthor",i.object({did:a.string({format:"did"}),viewer:l.optional(o.ref(()=>g.viewerState))})),P=r.typedObject(E,"generatorView",i.object({uri:a.string({format:"at-uri"}),cid:a.string({format:"cid"}),did:a.string({format:"did"}),creator:o.ref(()=>g.profileView),displayName:a.string(),description:l.optional(a.string({maxGraphemes:300,maxLength:3e3})),descriptionFacets:l.optional(p.array(o.ref(()=>x.main))),avatar:l.optional(a.string({format:"uri"})),likeCount:l.optional(d.integer({minimum:0})),acceptsInteractions:l.optional(f.boolean()),labels:l.optional(p.array(o.ref(()=>S.label))),viewer:l.optional(o.ref(()=>L)),contentMode:l.optional(a.string()),indexedAt:a.string({format:"datetime"})})),L=r.typedObject(E,"generatorViewerState",i.object({like:l.optional(a.string({format:"at-uri"}))})),B=r.typedObject(E,"skeletonFeedPost",i.object({post:a.string({format:"at-uri"}),reason:l.optional(c.typedUnion([u.typedRef(()=>H),u.typedRef(()=>W)],!1)),feedContext:l.optional(a.string({maxLength:2e3}))})),H=r.typedObject(E,"skeletonReasonRepost",i.object({repost:a.string({format:"at-uri"})})),W=r.typedObject(E,"skeletonReasonPin",i.object({})),z=r.typedObject(E,"threadgateView",i.object({uri:l.optional(a.string({format:"at-uri"})),cid:l.optional(a.string({format:"cid"})),record:l.optional(s.lexMap()),lists:l.optional(p.array(o.ref(()=>C.listViewBasic)))})),Y=r.typedObject(E,"interaction",i.object({item:l.optional(a.string({format:"at-uri"})),event:l.optional(a.string()),feedContext:l.optional(a.string({maxLength:2e3})),reqId:l.optional(a.string({maxLength:100}))})),U=m.token(E,"requestLess"),X=m.token(E,"requestMore"),G=m.token(E,"clickthroughItem"),q=m.token(E,"clickthroughAuthor"),J=m.token(E,"clickthroughReposter"),$=m.token(E,"clickthroughEmbed"),K=m.token(E,"contentModeUnspecified"),Z=m.token(E,"contentModeVideo"),Q=m.token(E,"interactionSeen"),ee=m.token(E,"interactionLike"),te=m.token(E,"interactionRepost"),ne=m.token(E,"interactionReply"),re=m.token(E,"interactionQuote"),ie=m.token(E,"interactionShare")},45515(e,t,n){"use strict";n.r(t),n.d(t,{$assert:()=>A,$build:()=>E,$cast:()=>I,$check:()=>T,$ifMatches:()=>R,$isTypeOf:()=>C,$matches:()=>O,$nsid:()=>k,$parse:()=>D,$safeParse:()=>N,$safeValidate:()=>F,$type:()=>x,$validate:()=>j,entity:()=>V,main:()=>S,replyRef:()=>M,textSlice:()=>P});var r=n(82925),i=n(59064),a=n(47622),o=n(34311),s=n(42658),l=n(26738),c=n(63457),u=n(23695),d=n(10611),p=n(34097),f=n(47267),h=n(6740),m=n(37453),g=n(62386),y=n(15807),v=n(5367),b=n(65609),_=n(59499),w=n(65263);const k="app.bsky.feed.post",S=r.record("tid",k,i.object({text:a.string({maxLength:3e3,maxGraphemes:300}),entities:o.optional(s.array(l.ref(()=>V))),facets:o.optional(s.array(l.ref(()=>f.main))),reply:o.optional(l.ref(()=>M)),embed:o.optional(c.typedUnion([u.typedRef(()=>h.main),u.typedRef(()=>m.main),u.typedRef(()=>g.main),u.typedRef(()=>y.main),u.typedRef(()=>v.main),u.typedRef(()=>b.main)],!1)),langs:o.optional(s.array(a.string({format:"language"}),{maxLength:3})),labels:o.optional(c.typedUnion([u.typedRef(()=>_.selfLabels)],!1)),tags:o.optional(s.array(a.string({maxLength:640,maxGraphemes:64}),{maxLength:8})),createdAt:a.string({format:"datetime"})}
23)),x=k,C=S.isTypeOf.bind(S),E=S.build.bind(S),A=S.assert.bind(S),T=S.check.bind(S),I=S.cast.bind(S),R=S.ifMatches.bind(S),O=S.matches.bind(S),D=S.parse.bind(S),N=S.safeParse.bind(S),j=S.validate.bind(S),F=S.safeValidate.bind(S),M=d.typedObject(k,"replyRef",i.object({root:l.ref(()=>w.main),parent:l.ref(()=>w.main)})),V=d.typedObject(k,"entity",i.object({index:l.ref(()=>P),type:a.string(),value:a.string()})),P=d.typedObject(k,"textSlice",i.object({start:p.integer({minimum:0}),end:p.integer({minimum:0})}))},2215(e,t,n){"use strict";n.r(t),n.d(t,{$nsid:()=>v,curatelist:()=>E,listItemView:()=>w,listPurpose:()=>x,listView:()=>_,listViewBasic:()=>b,listViewerState:()=>T,modlist:()=>C,notFoundActor:()=>I,referencelist:()=>A,relationship:()=>R,starterPackView:()=>k,starterPackViewBasic:()=>S});var r=n(10611),i=n(59064),a=n(47622),o=n(26738),s=n(34311),l=n(34097),c=n(42658),u=n(50528),d=n(56006),p=n(55034),f=n(43511),h=n(59499),m=n(60041),g=n(47267),y=n(92857);const v="app.bsky.graph.defs",b=r.typedObject(v,"listViewBasic",i.object({uri:a.string({format:"at-uri"}),cid:a.string({format:"cid"}),name:a.string({maxLength:64,minLength:1}),purpose:o.ref(()=>x),avatar:s.optional(a.string({format:"uri"})),listItemCount:s.optional(l.integer({minimum:0})),labels:s.optional(c.array(o.ref(()=>h.label))),viewer:s.optional(o.ref(()=>T)),indexedAt:s.optional(a.string({format:"datetime"}))})),_=r.typedObject(v,"listView",i.object({uri:a.string({format:"at-uri"}),cid:a.string({format:"cid"}),creator:o.ref(()=>m.profileView),name:a.string({maxLength:64,minLength:1}),purpose:o.ref(()=>x),description:s.optional(a.string({maxGraphemes:300,maxLength:3e3})),descriptionFacets:s.optional(c.array(o.ref(()=>g.main))),avatar:s.optional(a.string({format:"uri"})),listItemCount:s.optional(l.integer({minimum:0})),labels:s.optional(c.array(o.ref(()=>h.label))),viewer:s.optional(o.ref(()=>T)),indexedAt:a.string({format:"datetime"})})),w=r.typedObject(v,"listItemView",i.object({uri:a.string({format:"at-uri"}),subject:o.ref(()=>m.profileView),subjectOptedOut:s.optional(u.literal(!0))})),k=r.typedObject(v,"starterPackView",i.object({uri:a.string({format:"at-uri"}),cid:a.string({format:"cid"}),record:d.lexMap(),creator:o.ref(()=>m.profileViewBasic),list:s.optional(o.ref(()=>b)),listItemsSample:s.optional(c.array(o.ref(()=>w),{maxLength:12})),feeds:s.optional(c.array(o.ref(()=>y.generatorView),{maxLength:3})),joinedWeekCount:s.optional(l.integer({minimum:0})),joinedAllTimeCount:s.optional(l.integer({minimum:0})),labels:s.optional(c.array(o.ref(()=>h.label))),indexedAt:a.string({format:"datetime"})})),S=r.typedObject(v,"starterPackViewBasic",i.object({uri:a.string({format:"at-uri"}),cid:a.string({format:"cid"}),record:d.lexMap(),creator:o.ref(()=>m.profileViewBasic),listItemCount:s.optional(l.integer({minimum:0})),joinedWeekCount:s.optional(l.integer({minimum:0})),joinedAllTimeCount:s.optional(l.integer({minimum:0})),labels:s.optional(c.array(o.ref(()=>h.label))),indexedAt:a.string({format:"datetime"})})),x=a.string(),C=p.token(v,"modlist"),E=p.token(v,"curatelist"),A=p.token(v,"referencelist"),T=r.typedObject(v,"listViewerState",i.object({muted:s.optional(f.boolean()),blocked:s.optional(a.string({format:"at-uri"})),referenceListOptOut:s.optional(a.string({format:"at-uri"}))})),I=r.typedObject(v,"notFoundActor",i.object({actor:a.string({format:"at-identifier"}),notFound:u.literal(!0)})),R=r.typedObject(v,"relationship",i.object({did:a.string({format:"did"}),following:s.optional(a.string({format:"at-uri"})),followedBy:s.optional(a.string({format:"at-uri"})),blocking:s.optional(a.string({format:"at-uri"})),blockedBy:s.optional(a.string({format:"at-uri"})),blockingByList:s.optional(a.string({format:"at-uri"})),blockedByList:s.optional(a.string({format:"at-uri"}))}))},47267(e,t,n){"use strict";n.r(t),n.d(t,{$assert:()=>g,$build:()=>m,$cast:()=>v,$check:()=>y,$ifMatches:()=>b,$isTypeOf:()=>h,$matches:()=>_,$nsid:()=>d,$parse:()=>w,$safeParse:()=>k,$safeValidate:()=>x,$type:()=>f,$validate:()=>S,byteSlice:()=>T,link:()=>E,main:()=>p,mention:()=>C,tag:()=>A});var r=n(10611),i=n(59064),a=n(26738),o=n(42658),s=n(63457),l=n(23695),c=n(47622),u=n(34097);const d="app.bsky.richtext.facet",p=r.typedObject(d,"main",i.object({index:a.ref(()=>T),features:o.array(s.typedUnion([l.typedRef(()=>C),l.typedRef(()=>E),l.typedRef(()=>A)],!1))}
23)),f=d,h=p.isTypeOf.bind(p),m=p.build.bind(p),g=p.assert.bind(p),y=p.check.bind(p),v=p.cast.bind(p),b=p.ifMatches.bind(p),_=p.matches.bind(p),w=p.parse.bind(p),k=p.safeParse.bind(p),S=p.validate.bind(p),x=p.safeValidate.bind(p),C=r.typedObject(d,"mention",i.object({did:c.string({format:"did"})})),E=r.typedObject(d,"link",i.object({uri:c.string({format:"uri"})})),A=r.typedObject(d,"tag",i.object({tag:c.string({maxLength:640,maxGraphemes:64})})),T=r.typedObject(d,"byteSlice",i.object({byteStart:u.integer({minimum:0}),byteEnd:u.integer({minimum:0})}))},59499(e,t,n){"use strict";n.r(t),n.d(t,{$nsid:()=>f,label:()=>h,labelValue:()=>b,labelValueDefinition:()=>y,labelValueDefinitionStrings:()=>v,selfLabel:()=>g,selfLabels:()=>m});var r=n(10611),i=n(59064),a=n(34311),o=n(34097),s=n(47622),l=n(43511),c=n(62084),u=n(42658),d=n(26738),p=n(34795);const f="com.atproto.label.defs",h=r.typedObject(f,"label",i.object({ver:a.optional(o.integer()),src:s.string({format:"did"}),uri:s.string({format:"uri"}),cid:a.optional(s.string({format:"cid"})),val:s.string({maxLength:128}),neg:a.optional(l.boolean()),cts:s.string({format:"datetime"}),exp:a.optional(s.string({format:"datetime"})),sig:a.optional(c.bytes())})),m=r.typedObject(f,"selfLabels",i.object({values:u.array(d.ref(()=>g),{maxLength:10})})),g=r.typedObject(f,"selfLabel",i.object({val:s.string({maxLength:128})})),y=r.typedObject(f,"labelValueDefinition",i.object({identifier:s.string({maxLength:100,maxGraphemes:100}),severity:s.string(),blurs:s.string(),defaultSetting:a.optional(p.withDefault(s.string(),"warn")),adultOnly:a.optional(l.boolean()),locales:u.array(d.ref(()=>v))})),v=r.typedObject(f,"labelValueDefinitionStrings",i.object({lang:s.string({format:"language"}),name:s.string({maxGraphemes:64,maxLength:640}),description:s.string({maxGraphemes:1e4,maxLength:1e5})})),b=s.string()},65263(e,t,n){"use strict";n.r(t),n.d(t,{$assert:()=>d,$build:()=>u,$cast:()=>f,$check:()=>p,$ifMatches:()=>h,$isTypeOf:()=>c,$matches:()=>m,$nsid:()=>o,$parse:()=>g,$safeParse:()=>y,$safeValidate:()=>b,$type:()=>l,$validate:()=>v,main:()=>s});var r=n(10611),i=n(59064),a=n(47622);const o="com.atproto.repo.strongRef",s=r.typedObject(o,"main",i.object({uri:a.string({format:"at-uri"}),cid:a.string({format:"cid"})})),l=o,c=s.isTypeOf.bind(s),u=s.build.bind(s),d=s.assert.bind(s),p=s.check.bind(s),f=s.cast.bind(s),h=s.ifMatches.bind(s),m=s.matches.bind(s),g=s.parse.bind(s),y=s.safeParse.bind(s),v=s.validate.bind(s),b=s.safeValidate.bind(s)},90006(e,t,n){"use strict";n.r(t),n.d(t,{DEFAULT_LABEL_SETTINGS:()=>r,LABELS:()=>i});const r={porn:"hide",sexual:"warn",nudity:"ignore","graphic-media":"warn"},i={"!hide":{identifier:"!hide",configurable:!1,defaultSetting:"hide",flags:["no-override","no-self"],severity:"alert",blurs:"content",behaviors:{account:{profileList:"blur",profileView:"blur",avatar:"blur",banner:"blur",displayName:"blur",contentList:"blur",contentView:"blur"},profile:{avatar:"blur",banner:"blur",displayName:"blur"},content:{contentList:"blur",contentView:"blur"}},locales:[]},"!warn":{identifier:"!warn",configurable:!1,defaultSetting:"warn",flags:["no-self"],severity:"none",blurs:"content",behaviors:{account:{profileList:"blur",profileView:"blur",avatar:"blur",banner:"blur",contentList:"blur",contentView:"blur"},profile:{avatar:"blur",banner:"blur",displayName:"blur"},content:{contentList:"blur",contentView:"blur"}},locales:[]},"!no-unauthenticated":{identifier:"!no-unauthenticated",configurable:!1,defaultSetting:"hide",flags:["no-override","unauthed"],severity:"none",blurs:"content",behaviors:{account:{profileList:"blur",profileView:"blur",avatar:"blur",banner:"blur",displayName:"blur",contentList:"blur",contentView:"blur"},profile:{avatar:"blur",banner:"blur",displayName:"blur"},content:{contentList:"blur",contentView:"blur"}},locales:[]},porn:{identifier:"porn",configurable:!0,defaultSetting:"hide",flags:["adult"],severity:"none",blurs:"media",behaviors:{account:{avatar:"blur",banner:"blur"},profile:{avatar:"blur",banner:"blur"},content:{contentMedia:"blur"}},locales:[]},sexual:{identifier:"sexual",configurable:!0,defaultSetting:"warn",flags:["adult"],severity:"none",blurs:"media",behaviors:{account:{avatar:"blur",banner:"blur"},profile:{avatar:"blur",banner:"blur"},content:{contentMedia:"blur"}},locales:[]},nudity:{identifier:"nudity",configurable:!0,defaultSetting:"ignore",flags:[],severity:"none",blurs:"media",behaviors:{account:{avatar:"blur",banner:"blur"},profile:{avatar:"blur",banner:"blur"},content:{contentMedia:"blur"}},locales:[]},"graphic-media":{identifier:"graphic-media",flags:["adult"],configurable:!0,defaultSetting:"warn",severity:"none",blurs:"media",behaviors:{account:{avatar:"blur",banner:"blur"},profile:{avatar:"blur",banner:"blur"},content:{contentMedia:"blur"}},locales:[]},gore:{identifier:"gore",flags:["adult"],configurable:!0,defaultSetting:"warn",severity:"none",blurs:"media",behaviors:{account:{avatar:"blur",banner:"blur"},profile:{avatar:"blur",banner:"blur"},content:{contentMedia:"blur"}},locales:[]}}},9505(e,t,n){"use strict";n.r(t),n.d(t,{DEFAULT_LABEL_SETTINGS:()=>r.DEFAULT_LABEL_SETTINGS,LABELS:()=>r.LABELS,ModerationDecision:()=>p,ModerationUI:()=>u,hasMutedWord:()=>S.hasMutedWord,interpretLabelValueDefinition:()=>T.interpretLabelValueDefinition,interpretLabelValueDefinitions:()=>T.interpretLabelValueDefinitions,matchMuteWords:()=>S.matchMuteWords,moderateFeedGenerator:()=>D,moderateNotification:()=>O,moderatePost:()=>R,moderateProfile:()=>I,moderateStatus:()=>j,moderateUserList:()=>N});var r=n(90006);const i=/^[a-z-]+$/,a={profileList:"blur",profileView:"alert",avatar:"blur",banner:"blur",contentList:"blur",contentView:"blur"},o={profileList:"inform",profileView:"alert",contentList:"blur",contentView:"inform"},s={contentList:"blur",contentView:"blur"},l={contentList:"blur",contentView:"blur"},c={};class u{noOverride=!1;filters=[];blurs=[];alerts=[];informs=[];get filter(){return 0!==this.filters.length}get blur(){return 0!==this.blurs.length}get alert(){return 0!==this.alerts.length}get inform(){return 0!==this.informs.length}}var d;!function(e){e[e.High=0]="High",e[e.Medium=1]="Medium",e[e.Low=2]="Low"}(d||(d={}));class p{did="";isMe=!1;causes=[];constructor(){}static merge(...e){const t=e.filter(e=>null!=e),n=new p;return t[0]&&(n.did=t[0].did,n.isMe=t[0].isMe),n.causes=t.flatMap(e=>e.causes),n}downgrade(){for(const e of this.causes)e.downgraded=!0;return this}get blocked(){return!!this.blockCause}get muted(){return!!this.muteCause}get blockCause(){return this.causes.find(e=>"blocking"===e.type||"blocked-by"===e.type||"block-other"===e.type)}get muteCause(){return this.causes.find(e=>"muted"===e.type)}get labelCauses(){return this.causes.filter(e=>"label"===e.type)}ui(e){const t=new u;for(const n of this.causes)if("blocking"===n.type||"blocked-by"===n.type||"block-other"===n.type){if(this.isMe)continue;"profileList"!==e&&"contentList"!==e||t.filters.push(n),n.downgraded||("blur"===a[e]?(t.noOverride=!0,t.blurs.push(n)):"alert"===a[e]?t.alerts.push(n):"inform"===a[e]&&t.informs.push(n))}else if("muted"===n.type){if(this.isMe)continue;"profileList"!==e&&"contentList"!==e||t.filters.push(n),n.downgraded||("blur"===o[e]?t.blurs.push(n):"alert"===o[e]?t.alerts.push(n):"inform"===o[e]&&t.informs.push(n))}else if("mute-word"===n.type){if(this.isMe)continue;"contentList"===e&&t.filters.push(n),n.downgraded||("blur"===s[e]?t.blurs.push(n):"alert"===s[e]?t.alerts.push(n):"inform"===s[e]&&t.informs.push(n))}else"hidden"===n.type?("profileList"!==e&&"contentList"!==e||t.filters.push(n),n.downgraded||("blur"===l[e]?t.blurs.push(n):"alert"===l[e]?t.alerts.push(n):"inform"===l[e]&&t.informs.push(n))):"label"===n.type&&("profileList"===e&&"account"===n.target?"hide"!==n.setting||this.isMe||t.filters.push(n):"contentList"!==e||"account"!==n.target&&"content"!==n.target||"hide"!==n.setting||this.isMe||t.filters.push(n),n.downgraded||("blur"===n.behavior[e]?(t.blurs.push(n),n.noOverride&&!this.isMe&&(t.noOverride=!0)):"alert"===n.behavior[e]?t.alerts.push(n):"inform"===n.behavior[e]&&t.informs.push(n)));return t.filters.sort(f),t.blurs.sort(f),t}setDid(e){this.did=e}setIsMe(e){this.isMe=e}addHidden(e){e&&this.causes.push({type:"hidden",source:{type:"user"},priority:6})}addMutedWord(e){e?.length&&this.causes.push({type:"mute-word",source:{type:"user"},priority:6,matches:e})}
23addBlocking(e){e&&this.causes.push({type:"blocking",source:{type:"user"},priority:3})}addBlockingByList(e){e&&this.causes.push({type:"blocking",source:{type:"list",list:e},priority:3})}addBlockedBy(e){e&&this.causes.push({type:"blocked-by",source:{type:"user"},priority:4})}addBlockOther(e){e&&this.causes.push({type:"block-other",source:{type:"user"},priority:4})}addLabel(e,t,n){const a=r.LABELS[t.val],o=i.test(t.val)&&n.labelDefs?.[t.src]?.find(e=>e.identifier===t.val)||a;if(!o)return;const s=t.src===this.did,l=s?void 0:n.prefs.labelers.find(e=>e.did===t.src);if(!s&&!l)return;if(s&&o.flags.includes("no-self"))return;let u,p=o.defaultSetting||"ignore";if(o.configurable?o.flags.includes("adult")&&!n.prefs.adultContentEnabled?p="hide":l?.labels[o.identifier]?p=l?.labels[o.identifier]:n.prefs.labels[o.identifier]&&(p=n.prefs.labels[o.identifier]):p=o.defaultSetting||"hide","ignore"===p)return;if(o.flags.includes("unauthed")&&n.userDid)return;const f=function(e){if(!e)return d.Low;if("blur"===e.profileView||"blur"===e.contentView)return d.High;if("blur"===e.contentList||"blur"===e.contentMedia)return d.Medium;return d.Low}(o.behaviors[e]);u=o.flags.includes("no-override")||o.flags.includes("adult")&&!n.prefs.adultContentEnabled?1:"hide"===p?2:f===d.High?5:f===d.Medium?7:8;let h=!1;(o.flags.includes("no-override")||o.flags.includes("adult")&&!n.prefs.adultContentEnabled)&&(h=!0),this.causes.push({type:"label",source:s||!l?{type:"user"}:{type:"labeler",did:l.did},label:t,labelDef:o,target:e,setting:p,behavior:o.behaviors[e]||c,noOverride:h,priority:u})}addMuted(e){e&&this.causes.push({type:"muted",source:{type:"user"},priority:6})}addMutedByList(e){e&&this.causes.push({type:"muted",source:{type:"list",list:e},priority:6})}}function f(e,t){return e.priority-t.priority}function h(e,t){const n=new p;n.setDid(e.did),n.setIsMe(e.did===t.userDid),e.viewer?.muted&&(e.viewer?.mutedByList?n.addMutedByList(e.viewer?.mutedByList):n.addMuted(e.viewer?.muted)),e.viewer?.blocking&&(e.viewer?.blockingByList?n.addBlockingByList(e.viewer?.blockingByList):n.addBlocking(e.viewer?.blocking)),n.addBlockedBy(e.viewer?.blockedBy);for(const r of function(e){if(!e)return[];return e.filter(e=>!e.uri.endsWith("/app.bsky.actor.profile/self")||"!no-unauthenticated"===e.val)}(e.labels))n.addLabel("account",r,t);return n}function m(e,t){const n=new p;n.setDid(e.did),n.setIsMe(e.did===t.userDid);for(const r of function(e){if(!e)return[];return e.filter(e=>e.uri.endsWith("/app.bsky.actor.profile/self"))}(e.labels))n.addLabel("profile",r,t);return n}var g=n(5367),y=n(65609),v=n(45515),b=n(6740),_=n(62386),w=n(15807),k=n(65991),S=n(57687);function x(e,t){return p.merge(function(e,t){const n=new p;if(n.setDid(e.author.did),n.setIsMe(e.author.did===t.userDid),e.labels?.length)for(const r of e.labels)n.addLabel("content",r,t);n.addHidden(function(e,t){if(!t?.length)return!1;if(t.includes(e.uri))return!0;if(e.embed){if((0,k.is$typedObject)(e.embed,g.view.$type)&&(0,k.is$typedObject)(e.embed.record,g.viewRecord.$type)&&t.includes(e.embed.record.uri))return!0;if((0,k.is$typedObject)(e.embed,y.view.$type)&&(0,k.is$typedObject)(e.embed.record.record,g.viewRecord.$type)&&t.includes(e.embed.record.record.uri))return!0}return!1}(e,t.prefs.hiddenPosts)),n.isMe||n.addMutedWord(function(e,t){if(!t?.length)return;
23const n=e.author,r=v.$isTypeOf(e.record)?e.record:void 0;if(r){const e=r,i=(0,S.matchMuteWords)({mutedWords:t,text:e.text,facets:e.facets,outlineTags:e.tags,languages:e.langs,actor:n});if(i)return i;if(e.embed&&(0,k.is$typedObject)(e.embed,b.main.$type))for(const r of e.embed.images){const i=(0,S.matchMuteWords)({mutedWords:t,text:r.alt,languages:e.langs,actor:n});if(i)return i}if(e.embed&&(0,k.is$typedObject)(e.embed,_.main.$type))for(const r of e.embed.items)if((0,k.is$typedObject)(r,_.image.$type)){const i=(0,S.matchMuteWords)({mutedWords:t,text:r.alt,languages:e.langs,actor:n});if(i)return i}}const{embed:i}=e;if(i)if((0,k.is$typedObject)(i,g.view.$type)&&(0,k.is$typedObject)(i.record,g.viewRecord.$type)){if(v.$isTypeOf(i.record.value)){const e=i.record.value,n=i.record.author,r=(0,S.matchMuteWords)({mutedWords:t,text:e.text,facets:e.facets,outlineTags:e.tags,languages:e.langs,actor:n});if(r)return r;if(e.embed&&(0,k.is$typedObject)(e.embed,b.main.$type))for(const i of e.embed.images){const r=(0,S.matchMuteWords)({mutedWords:t,text:i.alt,languages:e.langs,actor:n});if(r)return r}if(e.embed&&(0,k.is$typedObject)(e.embed,_.main.$type))for(const i of e.embed.items)if((0,k.is$typedObject)(i,_.image.$type)){const r=(0,S.matchMuteWords)({mutedWords:t,text:i.alt,languages:e.langs,actor:n});if(r)return r}if(e.embed&&(0,k.is$typedObject)(e.embed,w.main.$type)){const{external:r}=e.embed,i=(0,S.matchMuteWords)({mutedWords:t,text:r.title+" "+r.description,languages:[],actor:n});if(i)return i}if(e.embed&&(0,k.is$typedObject)(e.embed,y.main.$type)){if((0,k.is$typedObject)(e.embed.media,w.main.$type)){const{external:r}=e.embed.media,i=(0,S.matchMuteWords)({mutedWords:t,text:r.title+" "+r.description,languages:[],actor:n});if(i)return i}if((0,k.is$typedObject)(e.embed.media,b.main.$type))for(const r of e.embed.media.images){const e=(0,S.matchMuteWords)({mutedWords:t,text:r.alt,languages:[],actor:n});if(e)return e}if((0,k.is$typedObject)(e.embed.media,_.main.$type))for(const r of e.embed.media.items)if((0,k.is$typedObject)(r,_.image.$type)){const e=(0,S.matchMuteWords)({mutedWords:t,text:r.alt,languages:[],actor:n});if(e)return e}}}}else if((0,k.is$typedObject)(i,w.view.$type)){const{external:e}=i,r=(0,S.matchMuteWords)({mutedWords:t,text:e.title+" "+e.description,languages:[],actor:n});if(r)return r}else if((0,k.is$typedObject)(i,y.view.$type)&&(0,k.is$typedObject)(i.record.record,g.viewRecord.$type)){const e=i.record.record.author;if(v.$isTypeOf(i.record.record.value)){const n=i.record.record.value,r=(0,S.matchMuteWords)({mutedWords:t,text:n.text,facets:n.facets,outlineTags:n.tags,languages:n.langs,actor:e});if(r)return r}if((0,k.is$typedObject)(i.media,b.view.$type))for(const n of i.media.images){const i=(0,S.matchMuteWords)({mutedWords:t,text:n.alt,languages:r?r.langs:[],actor:e});if(i)return i}if((0,k.is$typedObject)(i.media,_.view.$type))for(const n of i.media.items)if((0,k.is$typedObject)(n,_.viewImage.$type)){const i=(0,S.matchMuteWords)({mutedWords:t,text:n.alt,languages:r?r.langs:[],actor:e});if(i)return i}if((0,k.is$typedObject)(i.media,w.view.$type)){const{external:n}=i.media,r=(0,S.matchMuteWords)({mutedWords:t,text:n.title+" "+n.description,languages:[],actor:e});if(r)return r}}}(e,t.prefs.mutedWords));return n}(e,t),function(e,t){if(e)if((0,k.is$typedObject)(e,g.view.$type)){if((0,k.is$typedObject)(e.record,g.viewRecord.$type))return C(e.record,t);if((0,k.is$typedObject)(e.record,g.viewBlocked.$type))return E(e.record,t)}else if((0,k.is$typedObject)(e,y.view.$type)){if((0,k.is$typedObject)(e.record.record,g.viewRecord.$type))return C(e.record.record,t);if((0,k.is$typedObject)(e.record.record,g.viewBlocked.$type))return E(e.record.record,t)}return}(e.embed,t)?.downgrade(),h(e.author,t),m(e.author,t))}function C(e,t){const n=new p;if(n.setDid(e.author.did),n.setIsMe(e.author.did===t.userDid),e.labels?.length)for(const r of e.labels)n.addLabel("content",r,t);return p.merge(n,h(e.author,t),m(e.author,t))}function E(e,t){const n=new p;return n.setDid(e.author.did),n.setIsMe(e.author.did===t.userDid),e.author.viewer?.muted&&(e.author.viewer?.mutedByList?n.addMutedByList(e.author.viewer?.mutedByList):n.addMuted(e.author.viewer?.muted)),e.author.viewer?.blocking&&(e.author.viewer?.blockingByList?n.addBlockingByList(e.author.viewer?.blockingByList):n.addBlocking(e.author.viewer?.blocking)),n.addBlockedBy(e.author.viewer?.blockedBy),n}var A=n(70633);var T=n(81101);function I(e,t){return p.merge(h(e,t),m(e,t))}function R(e,t){return x(e,t)}function O(e,t){return function(e,t){const n=new p;if(n.setDid(e.author.did),n.setIsMe(e.author.did===t.userDid),e.labels?.length)for(const r of e.labels)n.addLabel("content",r,t);return p.merge(n,h(e.author,t),m(e.author,t))}(e,t)}function D(e,t){return function(e,t){const n=new p;if(n.setDid(e.creator.did),n.setIsMe(e.creator.did===t.userDid),e.labels?.length)for(const r of e.labels)n.addLabel("content",r,t);return p.merge(n,h(e.creator,t),m(e.creator,t))}(e,t)}function N(e,t){return function(e,t){const n=new p,r="creator"in e&&(i=e.creator)&&"object"===typeof i&&"did"in i?e.creator:void 0;var i;if(r){if(n.setDid(r.did),n.setIsMe(r.did===t.userDid),e.labels?.length)for(const r of e.labels)n.addLabel("content",r,t);return p.merge(n,h(r,t),m(r,t))}const a=new A.AtUri(e.uri).hostname;if(n.setDid(a),n.setIsMe(a===t.userDid),e.labels?.length)for(const o of e.labels)n.addLabel("content",o,t);return n}(e,t)}function j(e,t){return function(e,t){const n=new p;if(n.setDid(e.did),n.setIsMe(e.did===t.userDid),"status"in e&&e.status?.labels?.length)for(const r of e.status.labels)n.addLabel("content",r,t);return p.merge(n,h(e,t),m(e,t))}(e,t)}},57687(e,t,n){"use strict";n.r(t),n.d(t,{hasMutedWord:()=>u,matchMuteWords:()=>c});var r=n(70633),i=n(47267),a=n(65991);const o=/(?:^\p{P}+|\p{P}+$)/gu,s=/[\s\n\t\r\f\v]+?/g,l=["ja","zh","ko","th","vi"];function c({mutedWords:e,text:t,facets:n,outlineTags:c,languages:u,actor:d}){const p=l.includes(u?.[0]||""),f=[].concat(c||[]).concat((n||[]).flatMap(e=>e.features.filter(e=>(0,a.is$typedObject)(e,i.tag.$type)).map(e=>e.tag))).map(e=>e.toLowerCase()),h=[];e:for(const i of e){const e=i.value.toLowerCase(),n=t.toLowerCase();if(i.expiresAt&&i.expiresAt<(0,r.currentDatetimeString)())continue;if("exclude-following"===i.actorTarget&&Boolean(d?.viewer?.following))continue;if(f.includes(e)){h.push({word:i,predicate:i.value});continue}if(!i.targets.includes("content"))continue;if((1===e.length||p)&&n.includes(e)){h.push({word:i,predicate:i.value});continue}if(e.length>n.length)continue;if(e===n){h.push({word:i,predicate:i.value});continue}if(/(?:\s|\p{P})+?/u.test(e)&&n.includes(e)){h.push({word:i,predicate:i.value});continue}const a=n.split(s);for(const t of a){if(t===e){h.push({word:i,predicate:t});continue e}const n=t.replace(o,"");if(e===n){h.push({word:i,predicate:t});continue e}if(!(e.length>n.length)&&/\p{P}
23+/u.test(n)){if(/[/]+/.test(n))continue e;const r=n.replace(/\p{P}+/gu," ");if(r===e){h.push({word:i,predicate:t});continue e}if(r.replace(/\s/gu,"")===e){h.push({word:i,predicate:t});continue e}const a=n.split(/\p{P}+/u);for(const n of a)if(n===e){h.push({word:i,predicate:t});continue e}}}}return h.length?h:void 0}function u(e){return!!c(e)}},81101(e,t,n){"use strict";n.r(t),n.d(t,{interpretLabelValueDefinition:()=>u,interpretLabelValueDefinitions:()=>d,isQuotedPost:()=>l,isQuotedPostWithMedia:()=>c});var r=n(5367),i=n(65609),a=n(59499),o=n(65991);function s(e){return null!=e&&"object"===typeof e}function l(e){return s(e)&&(0,o.is$typedObject)(e,r.view.$type)}function c(e){return s(e)&&(0,o.is$typedObject)(e,i.view.$type)}function u(e,t){const n={account:{},profile:{},content:{}},r="alert"===e.severity?"alert":"inform"===e.severity?"inform":void 0;"content"===e.blurs?(n.account.profileList=r,n.account.profileView=r,n.account.contentList="blur",n.account.contentView=e.adultOnly?"blur":r,n.profile.profileList=r,n.profile.profileView=r,n.content.contentList="blur",n.content.contentView=e.adultOnly?"blur":r):"media"===e.blurs?(n.account.profileList=r,n.account.profileView=r,n.account.avatar="blur",n.account.banner="blur",n.profile.profileList=r,n.profile.profileView=r,n.profile.avatar="blur",n.profile.banner="blur",n.content.contentMedia="blur"):"none"===e.blurs&&(n.account.profileList=r,n.account.profileView=r,n.account.contentList=r,n.account.contentView=r,n.profile.profileList=r,n.profile.profileView=r,n.content.contentList=r,n.content.contentView=r);let i="warn";"hide"!==e.defaultSetting&&"ignore"!==e.defaultSetting||(i=e.defaultSetting);const a=["no-self"];return e.adultOnly&&a.push("adult"),{...e,definedBy:t,configurable:!0,defaultSetting:i,flags:a,behaviors:n}}function d(e){return(e.policies?.labelValueDefinitions||[]).filter(e=>a.labelValueDefinition.matches(e)).map(t=>u(t,e.creator.did))}},969(e,t,n){"use strict";n.r(t),n.d(t,{RichText:()=>C,RichTextSegment:()=>x});var r={};n.r(r),n.d(r,{$lxm:()=>f,$nsid:()=>c,$output:()=>d,$params:()=>u,default:()=>p,main:()=>p});var i=n(47267),a=n(60878),o=n(47622),s=n(40733),l=n(70671);const c="com.atproto.identity.resolveHandle",u=a.params({handle:o.string({format:"handle"})}),d=s.jsonPayload({did:o.string({format:"did"})}),p=l.query(c,u,d,["HandleNotFound"]),f=c;class h{client;constructor(e){this.client=e}async resolve(e){try{return(await this.client.call(r,{handle:e})).did}catch{return null}}}var m=n(65991),g=n(6),y=n(99011),v=n(765);function b(e){let t;const n=[];{const r=v.MENTION_REGEX;for(;t=r.exec(e.utf16);){if(!_(t[3])&&!t[3].endsWith(".test"))continue;const r=e.utf16.indexOf(t[3],t.index)-1;n.push(i.$build({index:{byteStart:e.utf16IndexToUtf8Index(r),byteEnd:e.utf16IndexToUtf8Index(r+t[3].length+1)},features:[i.mention.$build({did:t[3]})]}))}}{const r=v.URL_REGEX;for(;t=r.exec(e.utf16);){let r=t[2];if(!r.startsWith("http")){const e=t.groups?.domain;if(!e||!_(e))continue;r=`https://${r}`}const a=e.utf16.indexOf(t[2],t.index),o={start:a,end:a+t[2].length};/[.,;:!?]$/.test(r)&&(r=r.slice(0,-1),o.end--),/[)]$/.test(r)&&!r.includes("(")&&(r=r.slice(0,-1),o.end--),n.push({index:{byteStart:e.utf16IndexToUtf8Index(o.start),byteEnd:e.utf16IndexToUtf8Index(o.end)},features:[i.link.$build({uri:r})]})}}{const r=v.TAG_REGEX;for(;t=r.exec(e.utf16);){const r=t[1];let a=t[2];if(!a)continue;if(a=a.trim().replace(v.TRAILING_PUNCTUATION_REGEX,""),0===a.length||a.length>64&&(0,g.graphemeLen)(a)>64)continue;const o=t.index+r.length;n.push({index:{byteStart:e.utf16IndexToUtf8Index(o),byteEnd:e.utf16IndexToUtf8Index(o+1+a.length)},features:[i.tag.$build({tag:a})]})}}{const r=v.CASHTAG_REGEX;for(;t=r.exec(e.utf16);){const r=t[1];let a=t[2];if(!a)continue;a=a.toUpperCase();const o=t.index+r.length;n.push({index:{byteStart:e.utf16IndexToUtf8Index(o),byteEnd:e.utf16IndexToUtf8Index(o+1+a.length)},features:[i.tag.$build({tag:"$"+a})]})}}return n.length>0?n:void 0}function _(e){return!!y.find(t=>{const n=e.lastIndexOf(t);return-1!==n&&("."===e.charAt(n-1)&&n===e.length-t.length)})}var w=n(37450);const k=/[\r\n]([\u00AD\u2060\u200D\u200C\u200B\s]*[\r\n]){2,}/;function S(e,t){return t.cleanNewlines&&(e=function(e,t,n){e=e.clone();let r=e.unicodeText.utf16.match(t);for(;r&&"undefined"!==typeof r.index;){const i=e.unicodeText,a=e.unicodeText.utf16IndexToUtf8Index(r.index),o=a+new w.UnicodeString(r[0]).length;if(e.delete(a,o),e.unicodeText.utf16===i.utf16)break;e.insert(a,n),r=e.unicodeText.utf16.match(t)}return e}(e,k,"\n\n")),e}class x{text;facet;constructor(e,t){this.text=e,this.facet=t}get link(){return this.facet?.features.find(e=>(0,m.is$typedObject)(e,i.link.$type))}isLink(){return!!this.link}get mention(){return this.facet?.features.find(e=>(0,m.is$typedObject)(e,i.mention.$type))}isMention(){return!!this.mention}get tag(){return this.facet?.features.find(e=>(0,m.is$typedObject)(e,i.tag.$type))}isTag(){return!!this.tag}}class C{unicodeText;facets;static async resolve(e,t){const{resolver:n,...r}=t,i=new C({text:e},r);return await i.detectFacets(n),i}constructor(e,t){this.unicodeText=new w.UnicodeString(e.text),this.facets=e.facets,!this.facets?.length&&e.entities?.length&&(this.facets=function(e,t){const n=[];for(const r of t)"link"===r.type?n.push(i.$build({index:{byteStart:e.utf16IndexToUtf8Index(r.index.start),byteEnd:e.utf16IndexToUtf8Index(r.index.end)},features:[i.link.$build({uri:r.value})]})):"mention"===r.type&&n.push(i.$build({index:{byteStart:e.utf16IndexToUtf8Index(r.index.start),byteEnd:e.utf16IndexToUtf8Index(r.index.end)},features:[i.mention.$build({did:r.value})]}));return n}(this.unicodeText,e.entities)),this.facets&&(this.facets=this.facets.filter(A).sort(E)),t?.cleanNewlines&&S(this,{cleanNewlines:!0}).copyInto(this)}get text(){return this.unicodeText.toString()}get length(){return this.unicodeText.length}get graphemeLength(){return this.unicodeText.graphemeLength}clone(){return new C({text:this.unicodeText.utf16,facets:T(this.facets)})}copyInto(e){e.unicodeText=this.unicodeText,e.facets=T(this.facets)}*segments(){const e=this.facets||[];if(!e.length)return void(yield new x(this.unicodeText.utf16));let t=0,n=0;do{const r=e[n];if(t<r.index.byteStart)yield new x(this.unicodeText.slice(t,r.index.byteStart));else if(t>r.index.byteStart){n++;continue}if(r.index.byteStart<r.index.byteEnd){const e=this.unicodeText.slice(r.index.byteStart,r.index.byteEnd);e.trim()?yield new x(e,r):yield new x(e)}t=r.index.byteEnd,n++}while(n<e.length);t<this.unicodeText.length&&(yield new x(this.unicodeText.slice(t,this.unicodeText.length)))}insert(e,t){if(this.unicodeText=new w.UnicodeString(this.unicodeText.slice(0,e)+t+this.unicodeText.slice(e)),!this.facets?.length)return this;const n=t.length;for(const r of this.facets)e<=r.index.byteStart?(r.index.byteStart+=n,r.index.byteEnd+=n):e>=r.index.byteStart&&e<r.index.byteEnd&&(r.index.byteEnd+=n);return this}delete(e,t){if(this.unicodeText=new w.UnicodeString(this.unicodeText.slice(0,e)+this.unicodeText.slice(t)),!this.facets?.length)return this;const n=t-e;for(const r of this.facets)e<=r.index.byteStart&&t>=r.index.byteEnd?(r.index.byteStart=0,r.index.byteEnd=0):e>r.index.byteEnd||(e>r.index.byteStart&&e<=r.index.byteEnd&&t>r.index.byteEnd?r.index.byteEnd=e:e>=r.index.byteStart&&t<=r.index.byteEnd?r.index.byteEnd-=n:e<r.index.byteStart&&t>=r.index.byteStart&&t<=r.index.byteEnd?(r.index.byteStart=e,r.index.byteEnd-=n):t<r.index.byteStart&&(r.index.byteStart-=n,r.index.byteEnd-=n));return this.facets=this.facets.filter(e=>e.index.byteStart<e.index.byteEnd),this}async detectFacets(e){const t="function"===typeof e.resolve?e:new h(e);if(this.facets=b(this.unicodeText),this.facets){const e=[];for(const n of this.facets)for(const r of n.features)(0,m.is$typedObject)(r,i.mention.$type)&&e.push(t.resolve(r.did).catch(()=>null).then(e=>{r.did=e||""}));await Promise.all(e),this.facets.sort(E)}}detectFacetsWithoutResolution(){this.facets=b(this.unicodeText),this.facets&&this.facets.sort(E)}}const E=(e,t)=>e.index.byteStart-t.index.byteStart,A=e=>e.index.byteStart<=e.index.byteEnd;function T(e){return"function"===typeof structuredClone?structuredClone(e):"undefined"===typeof e?e:JSON.parse(JSON.stringify(e))}},37450(e,t,n){"use strict";n.r(t),n.d(t,{UnicodeString:()=>
23o});var r=n(6);const i=new TextEncoder,a=new TextDecoder;class o{utf16;utf8;_graphemeLen;constructor(e){this.utf16=e,this.utf8=i.encode(e)}get length(){return this.utf8.byteLength}get graphemeLength(){return this._graphemeLen||(this._graphemeLen=(0,r.graphemeLen)(this.utf16)),this._graphemeLen}slice(e,t){return a.decode(this.utf8.slice(e,t))}utf16IndexToUtf8Index(e){return i.encode(this.utf16.slice(0,e)).byteLength}toString(){return this.utf16}}},765(e,t,n){"use strict";n.r(t),n.d(t,{CASHTAG_REGEX:()=>s,MENTION_REGEX:()=>r,TAG_REGEX:()=>o,TRAILING_PUNCTUATION_REGEX:()=>a,URL_REGEX:()=>i});const r=/(^|\s|\()(@)([a-zA-Z0-9.-]+)(\b)/g,i=/(^|\s|\()((https?:\/\/[\S]+)|((?<domain>[a-z][a-z0-9]*(\.[a-z0-9]+)+)[\S]*))/gim,a=/\p{P}+$/gu,o=/(^|\s)[#\uff03]((?!\ufe0f)[^\s\u00AD\u2060\u200A\u200B\u200C\u200D\u20e2]*[^\d\s\p{P}\u00AD\u2060\u200A\u200B\u200C\u200D\u20e2]+[^\s\u00AD\u2060\u200A\u200B\u200C\u200D\u20e2]*)?/gu,s=/(^|\s|\()\$([A-Za-z][A-Za-z0-9]{0,4})(?=\s|$|[.,;:!?)"'\u2019])/gu},34666(e,t,n){"use strict";n.r(t),n.d(t,{ageAssuranceRuleIDs:()=>R,computeAgeAssuranceRegionAccess:()=>D,getAgeAssuranceRegionConfig:()=>O});var r={};n.r(r),n.d(r,{$nsid:()=>f,access:()=>h,config:()=>v,configRegion:()=>b,configRegionRuleDefault:()=>_,configRegionRuleIfAccountNewerThan:()=>C,configRegionRuleIfAccountOlderThan:()=>E,configRegionRuleIfAssuredOverAge:()=>S,configRegionRuleIfAssuredUnderAge:()=>x,configRegionRuleIfDeclaredOverAge:()=>w,configRegionRuleIfDeclaredUnderAge:()=>k,event:()=>A,state:()=>g,stateMetadata:()=>y,status:()=>m});var i=n(47622),a=n(10611),o=n(59064),s=n(34311),l=n(26738),c=n(42658),u=n(34097),d=n(63457),p=n(23695);const f="app.bsky.ageassurance.defs",h=i.string(),m=i.string(),g=a.typedObject(f,"state",o.object({lastInitiatedAt:s.optional(i.string({format:"datetime"})),status:l.ref(()=>m),access:l.ref(()=>h)})),y=a.typedObject(f,"stateMetadata",o.object({accountCreatedAt:s.optional(i.string({format:"datetime"}))})),v=a.typedObject(f,"config",o.object({regions:c.array(l.ref(()=>b))})),b=a.typedObject(f,"configRegion",o.object({platforms:s.optional(c.array(i.string())),countryCode:i.string(),regionCode:s.optional(i.string()),minAccessAge:u.integer(),additionalVerificationMethods:s.optional(c.array(i.string())),rules:c.array(d.typedUnion([p.typedRef(()=>_),p.typedRef(()=>w),p.typedRef(()=>k),p.typedRef(()=>S),p.typedRef(()=>x),p.typedRef(()=>C),p.typedRef(()=>E)],!1))})),_=a.typedObject(f,"configRegionRuleDefault",o.object({access:l.ref(()=>h)})),w=a.typedObject(f,"configRegionRuleIfDeclaredOverAge",o.object({age:u.integer(),access:l.ref(()=>h)})),k=a.typedObject(f,"configRegionRuleIfDeclaredUnderAge",o.object({age:u.integer(),access:l.ref(()=>h)})),S=a.typedObject(f,"configRegionRuleIfAssuredOverAge",o.object({age:u.integer(),access:l.ref(()=>h)})),x=a.typedObject(f,"configRegionRuleIfAssuredUnderAge",o.object({age:u.integer(),access:l.ref(()=>h)})),C=a.typedObject(f,"configRegionRuleIfAccountNewerThan",o.object({date:i.string({format:"datetime"}),access:l.ref(()=>h)})),E=a.typedObject(f,"configRegionRuleIfAccountOlderThan",o.object({date:i.string({format:"datetime"}),access:l.ref(()=>h)})),A=a.typedObject(f,"event",o.object({createdAt:i.string({format:"datetime"}),attemptId:i.string(),status:i.string(),access:i.string(),countryCode:i.string(),regionCode:s.optional(i.string()),email:s.optional(i.string()),initIp:s.optional(i.string()),initUa:s.optional(i.string()),completeIp:s.optional(i.string()),completeUa:s.optional(i.string())}));var T=n(65991);const I=r,R={Default:I.configRegionRuleDefault.$type,IfDeclaredOverAge:I.configRegionRuleIfDeclaredOverAge.$type,IfDeclaredUnderAge:I.configRegionRuleIfDeclaredUnderAge.$type,IfAssuredOverAge:I.configRegionRuleIfAssuredOverAge.$type,IfAssuredUnderAge:I.configRegionRuleIfAssuredUnderAge.$type,IfAccountNewerThan:I.configRegionRuleIfAccountNewerThan.$type,IfAccountOlderThan:I.configRegionRuleIfAccountOlderThan.$type};function O(e,t){const{regions:n}=e;return n.find(({countryCode:e,regionCode:n,platforms:r})=>!(t.platform&&r?.length&&!r.includes(t.platform))&&(e===t.countryCode?!n||n===t.regionCode:void 0))}function D(e,t){for(const n of e.rules)if((0,T.is$typedObject)(n,I.configRegionRuleIfAccountNewerThan.$type)){if(t?.accountCreatedAt&&!t?.assuredAge){if(new Date(t.accountCreatedAt)>=new Date(n.date))return{access:n.access,reason:n.$type}}}else if((0,T.is$typedObject)(n,I.configRegionRuleIfAccountOlderThan.$type)){if(t?.accountCreatedAt&&!t?.assuredAge){if(new Date(t.accountCreatedAt)<new Date(n.date))return{access:n.access,reason:n.$type}}}else if((0,T.is$typedObject)(n,I.configRegionRuleIfDeclaredOverAge.$type)){if(void 0!==t?.declaredAge&&t.declaredAge>=n.age)return{access:n.access,reason:n.$type}}else if((0,T.is$typedObject)(n,I.configRegionRuleIfDeclaredUnderAge.$type)){if(void 0!==t?.declaredAge&&t.declaredAge<n.age)return{access:n.access,reason:n.$type}}else if((0,T.is$typedObject)(n,I.configRegionRuleIfAssuredOverAge.$type)){if(t?.assuredAge&&t.assuredAge>=n.age)return{access:n.access,reason:n.$type}}else if((0,T.is$typedObject)(n,I.configRegionRuleIfAssuredUnderAge.$type)){if(t?.assuredAge&&t.assuredAge<n.age)return{access:n.access,reason:n.$type}}else if((0,T.is$typedObject)(n,I.configRegionRuleDefault.$type))return{access:n.access,reason:n.$type}}},49957(e,t,n){"use strict";function r(e){return e.trim().replace(/^#(?!\ufe0f)/,"").replace(/[\r\n\u00AD\u2060\u200D\u200C\u200B]+/,"")}n.r(t),n.d(t,{sanitizeMutedWordValue:()=>r})}
vendor: 4,560 bytes, line 23
23,13965(e,t,n){"use strict";n.r(t),n.d(t,{nuxSchema:()=>s,validateNux:()=>l});var r=n(59064),i=n(47622),a=n(43511),o=n(34311);const s=r.object({id:i.string({maxLength:64}),completed:a.boolean(),data:o.optional(i.string({maxLength:300})),expiresAt:o.optional(i.string({format:"datetime"}))});function l(e){s.check(e);const t=new Set(["id","completed","data","expiresAt"]);for(const n of Object.keys(e))if(!t.has(n))throw new Error(`Unexpected property on nux: ${n}`)}},65991(e,t,n){"use strict";function r(e,t){return e.$type===t}n.r(t),n.d(t,{is$typedObject:()=>r})},63053(e,t,n){"use strict";n.r(t),n.d(t,{arrow:()=>se,autoPlacement:()=>ne,autoUpdate:()=>Q,computePosition:()=>ue,detectOverflow:()=>ee,flip:()=>ie,getOverflowAncestors:()=>M.getOverflowAncestors,hide:()=>oe,inline:()=>le,limitShift:()=>ce,offset:()=>te,platform:()=>K,shift:()=>re,size:()=>ae});const r=["top","right","bottom","left"],i=["start","end"],a=r.reduce((e,t)=>e.concat(t,t+"-"+i[0],t+"-"+i[1]),[]),o=Math.min,s=Math.max,l=Math.round,c=Math.floor,u=e=>({x:e,y:e}),d={left:"right",right:"left",bottom:"top",top:"bottom"};function p(e,t,n){return s(e,o(t,n))}function f(e,t){return"function"===typeof e?e(t):e}function h(e){return e.split("-")[0]}function m(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function y(e){return"y"===e?"height":"width"}function v(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function b(e){return g(v(e))}function _(e,t,n){void 0===n&&(n=!1);const r=m(e),i=b(e),a=y(i);let o="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=A(o)),[o,A(o)]}function w(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const k=["left","right"],S=["right","left"],x=["top","bottom"],C=["bottom","top"];function E(e,t,n,r){const i=m(e);let a=function(e,t,n){switch(e){case"top":case"bottom":return n?t?S:k:t?k:S;case"left":case"right":return t?x:C;default:return[]}}(h(e),"start"===n,r);return i&&(a=a.map(e=>e+"-"+i),t&&(a=a.concat(a.map(w)))),a}function A(e){const t=h(e);return d[t]+e.slice(t.length)}function T(e){return"number"!==typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function I(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function R(e,t,n){let{reference:r,floating:i}=e;const a=v(t),o=b(t),s=y(o),l=h(t),c="y"===a,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,p=r[s]/2-i[s]/2;let f;switch(l){case"top":f={x:u,y:r.y-i.height};break;case"bottom":f={x:u,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-i.width,y:d};break;default:f={x:r.x,y:r.y}}switch(m(t)){case"start":f[o]-=p*(n&&c?-1:1);break;case"end":f[o]+=p*(n&&c?-1:1)}return f}async function O(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:a,rects:o,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=f(t,e),m=T(h),g=s[p?"floating"===d?"reference":"floating":d],y=I(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(g)))||n?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),v="floating"===d?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,b=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),_=await(null==a.isElement?void 0:a.isElement(b))&&await(null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},w=I(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:b,strategy:l}):v);return{top:(y.top-w.top+m.top)/_.y,bottom:(w.bottom-y.bottom+m.bottom)/_.y,left:(y.left-w.left+m.left)/_.x,right:(w.right-y.right+m.right)/_.x}}function D(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function N(e){return r.some(t=>e[t]>=0)}function j(e){const t=o(...e.map(e=>e.left)),n=o(...e.map(e=>e.top));return{x:t,y:n,width:s(...e.map(e=>e.right))-t,height:s(...e.map(e=>e.bottom))-n}}const F=new Set(["left","top"]);var M=n(88730);function V(e){const t=(0,M.getComputedStyle)(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=(0,M.isHTMLElement)(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=l(n)!==a||l(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function P(e){return(0,M.isElement)(e)?e:e.contextElement}function L(e){const t=P(e);
23if(!(0,M.isHTMLElement)(t))return u(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=V(t);let o=(a?l(n.width):n.width)/r,s=(a?l(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}const B=u(0);function H(e){const t=(0,M.getWindow)(e);return(0,M.isWebKit)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:B}function W(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),a=P(e);let o=u(1);t&&(r?(0,M.isElement)(r)&&(o=L(r)):o=L(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==(0,M.getWindow)(e))&&t}(a,n,r)?H(a):u(0);let l=(i.left+s.x)/o.x,c=(i.top+s.y)/o.y,d=i.width/o.x,p=i.height/o.y;if(a){const e=(0,M.getWindow)(a),t=r&&(0,M.isElement)(r)?(0,M.getWindow)(r):r;let n=e,i=(0,M.getFrameElement)(n);for(;i&&r&&t!==n;){const e=L(i),t=i.getBoundingClientRect(),r=(0,M.getComputedStyle)(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,d*=e.x,p*=e.y,l+=a,c+=o,n=(0,M.getWindow)(i),i=(0,M.getFrameElement)(n)}}return I({width:d,height:p,x:l,y:c})}function z(e,t){const n=(0,M.getNodeScroll)(e).scrollLeft;return t?t.left+n:W((0,M.getDocumentElement)(e)).left+n}function Y(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-z(e,n),y:n.top+t.scrollTop}}function U(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=(0,M.getWindow)(e),r=(0,M.getDocumentElement)(e),i=n.visualViewport;let a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;const e=(0,M.isWebKit)();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}const c=z(r);if(c<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=25&&(a-=o)}else c<=25&&(a+=c);return{width:a,height:o,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=(0,M.getDocumentElement)(e),n=(0,M.getNodeScroll)(e),r=e.ownerDocument.body,i=s(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=s(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+z(e);const l=-n.scrollTop;return"rtl"===(0,M.getComputedStyle)(r).direction&&(o+=s(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:l}}((0,M.getDocumentElement)(e));else if((0,M.isElement)(t))r=function(e,t){const n=W(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=(0,M.isHTMLElement)(e)?L(e):u(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,n);else{const n=H(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return I(r)}function X(e,t){const n=(0,M.getParentNode)(e);return!(n===t||!(0,M.isElement)(n)||(0,M.isLastTraversableNode)(n))&&("fixed"===(0,M.getComputedStyle)(n).position||X(n,t))}function G(e,t,n){const r=(0,M.isHTMLElement)(t),i=(0,M.getDocumentElement)(t),a="fixed"===n,o=W(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const l=u(0);function c(){l.x=z(i)}if(r||!r&&!a)if(("body"!==(0,M.getNodeName)(t)||(0,M.isOverflowElement)(i))&&(s=(0,M.getNodeScroll)(t)),r){const e=W(t,!0,a,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&c();a&&!r&&i&&c();const d=!i||r||a?u(0):Y(i,s);return{x:o.left+s.scrollLeft-l.x-d.x,y:o.top+s.scrollTop-l.y-d.y,width:o.width,height:o.height}}function q(e){return"static"===(0,M.getComputedStyle)(e).position}function J(e,t){if(!(0,M.isHTMLElement)(e)||"fixed"===(0,M.getComputedStyle)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,M.getDocumentElement)(e)===n&&(n=n.ownerDocument.body),n}function $(e,t){const n=(0,M.getWindow)(e);if((0,M.isTopLayer)(e))return n;if(!(0,M.isHTMLElement)(e)){let t=(0,M.getParentNode)(e);for(;t&&!(0,M.isLastTraversableNode)(t);){if((0,M.isElement)(t)&&!q(t))return t;t=(0,M.getParentNode)(t)}return n}let r=J(e,t);for(;r&&(0,M.isTableElement)(r)&&q(r);)r=J(r,t);return r&&(0,M.isLastTraversableNode)(r)&&q(r)&&!(0,M.isContainingBlock)(r)?n:r||(0,M.getContainingBlock)(e)||n}const K={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const a="fixed"===i,o=(0,M.getDocumentElement)(r),s=!!t&&(0,M.isTopLayer)(t.floating);if(r===o||s&&a)return n;let l={scrollLeft:0,scrollTop:0},c=u(1);const d=u(0),p=(0,M.isHTMLElement)(r);if((p||!p&&!a)&&(("body"!==(0,M.getNodeName)(r)||(0,M.isOverflowElement)(o))&&(l=(0,M.getNodeScroll)(r)),p)){const e=W(r);c=L(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}const f=!o||p||a?u(0):Y(o,l);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+d.x+f.x,y:n.y*c.y-l.scrollTop*c.y+d.y+f.y}},getDocumentElement:M.getDocumentElement,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const a=[..."clippingAncestors"===n?(0,M.isTopLayer)(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=(0,M.getOverflowAncestors)(e,[],!1).filter(e=>(0,M.isElement)(e)&&"body"!==(0,M.getNodeName)(e)),i=null;const a="fixed"===(0,M.getComputedStyle)(e).position;let o=a?(0,M.getParentNode)(e):e;for(;(0,M.isElement)(o)&&!(0,M.isLastTraversableNode)(o);){const t=(0,M.getComputedStyle)(o),n=(0,M.isContainingBlock)(o);n||"fixed"!==t.position||(i=null),(a?!n&&!i:!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||(0,M.isOverflowElement)(o)&&!n&&X(e,o))?r=r.filter(e=>e!==o):i=t,o=(0,M.getParentNode)(o)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=U(t,a[0],i);let c=l.top,u=l.right,d=l.bottom,p=l.left;for(let f=1;f<a.length;f++){const e=U(t,a[f],i);c=s(e.top,c),u=o(e.right,u),d=o(e.bottom,d),p=s(e.left,p)}return{width:u-p,height:d-c,x:p,y:c}},getOffsetParent:$,getElementRects:async function(e){const t=this.getOffsetParent||$,n=this.getDimensions,r=await n(e.floating);return{reference:G(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=V(e);return{width:t,height:n}},getScale:L,isElement:M.isElement,isRTL:function(e){return"rtl"===(0,M.getComputedStyle)(e).direction}};function Z(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Q(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l="function"===typeof ResizeObserver,layoutShift:u="function"===typeof IntersectionObserver,animationFrame:d=!1}=r,p=P(e),f=i||a?[...p?(0,M.getOverflowAncestors)(p):[],...t?(0,M.getOverflowAncestors)(t):[]]:[];
vendor: 4,813 bytes, line 23
23f.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});const h=p&&u?function(e,t){let n,r=null;const i=(0,M.getDocumentElement)(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function l(u,d){void 0===u&&(u=!1),void 0===d&&(d=1),a();const p=e.getBoundingClientRect(),{left:f,top:h,width:m,height:g}=p;if(u||t(),!m||!g)return;const y={rootMargin:-c(h)+"px "+-c(i.clientWidth-(f+m))+"px "+-c(i.clientHeight-(h+g))+"px "+-c(f)+"px",threshold:s(0,o(1,d))||1};let v=!0;function b(t){const r=t[0].intersectionRatio;if(r!==d){if(!v)return l();r?l(!1,r):n=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||Z(p,e.getBoundingClientRect())||l(),v=!1}try{r=new IntersectionObserver(b,{...y,root:i.ownerDocument})}catch(_){r=new IntersectionObserver(b,y)}r.observe(e)}(!0),a}(p,n):null;let m,g=-1,y=null;l&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&y&&t&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),p&&!d&&y.observe(p),t&&y.observe(t));let v=d?W(e):null;return d&&function t(){const r=W(e);v&&!Z(v,r)&&n();v=r,m=requestAnimationFrame(t)}(),n(),()=>{var e;f.forEach(e=>{i&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(m)}}const ee=O,te=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:a,placement:o,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:i}=e,a=await(null==r.isRTL?void 0:r.isRTL(i.floating)),o=h(n),s=m(n),l="y"===v(n),c=F.has(o)?-1:1,u=a&&l?-1:1,d=f(t,e);let{mainAxis:p,crossAxis:g,alignmentAxis:y}="number"===typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"===typeof y&&(g="end"===s?-1*y:y),l?{x:g*u,y:p*c}:{x:p*c,y:g*u}}(t,e);return o===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:a+l.y,data:{...l,placement:o}}}}},ne=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,i;const{rects:o,middlewareData:s,placement:l,platform:c,elements:u}=t,{crossAxis:d=!1,alignment:p,allowedPlacements:g=a,autoAlignment:y=!0,...v}=f(e,t),b=void 0!==p||g===a?function(e,t,n){return(e?[...n.filter(t=>m(t)===e),...n.filter(t=>m(t)!==e)]:n.filter(e=>h(e)===e)).filter(n=>!e||m(n)===e||!!t&&w(n)!==n)}(p||null,y,g):g,k=await c.detectOverflow(t,v),S=(null==(n=s.autoPlacement)?void 0:n.index)||0,x=b[S];if(null==x)return{};const C=_(x,o,await(null==c.isRTL?void 0:c.isRTL(u.floating)));if(l!==x)return{reset:{placement:b[0]}};const E=[k[h(x)],k[C[0]],k[C[1]]],A=[...(null==(r=s.autoPlacement)?void 0:r.overflows)||[],{placement:x,overflows:E}],T=b[S+1];if(T)return{data:{index:S+1,overflows:A},reset:{placement:T}};const I=A.map(e=>{const t=m(e.placement);return[e.placement,t&&d?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),R=(null==(i=I.filter(e=>e[2].slice(0,m(e[0])?2:3).every(e=>e<=0))[0])?void 0:i[0])||I[0][0];return R!==l?{data:{index:S+1,overflows:A},reset:{placement:R}}:{}}}},re=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=f(e,t),u={x:n,y:r},d=await a.detectOverflow(t,c),m=v(h(i)),y=g(m);let b=u[y],_=u[m];if(o){const e="y"===y?"bottom":"right";b=p(b+d["y"===y?"top":"left"],b,b-d[e])}if(s){const e="y"===m?"bottom":"right";_=p(_+d["y"===m?"top":"left"],_,_-d[e])}const w=l.fn({...t,[y]:b,[m]:_});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[y]:o,[m]:s}}}}}},ie=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:a,rects:o,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...b}=f(e,t);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};const k=h(i),S=v(s),x=h(s)===s,C=await(null==l.isRTL?void 0:l.isRTL(c.floating)),T=p||(x||!y?[A(s)]:function(e){const t=A(e);return[w(e),t,w(t)]}(s)),I="none"!==g;!p&&I&&T.push(...E(s,y,g,C));const R=[s,...T],O=await l.detectOverflow(t,b),D=[];let N=(null==(r=a.flip)?void 0:r.overflows)||[];if(u&&D.push(O[k]),d){const e=_(i,o,C);D.push(O[e[0]],O[e[1]])}if(N=[...N,{placement:i,overflows:D}],!D.every(e=>e<=0)){var j,F;const e=((null==(j=a.flip)?void 0:j.index)||0)+1,t=R[e];if(t){if(!("alignment"===d&&S!==v(t))||N.every(e=>v(e.placement)!==S||e.overflows[0]>0))return{data:{index:e,overflows:N},reset:{placement:t}}}let n=null==(F=N.filter(e=>e.overflows[0]<=0).sort((e,t)=>
vendor: 3,512 bytes, line 23
23e.overflows[1]-t.overflows[1])[0])?void 0:F.placement;if(!n)switch(m){case"bestFit":{var M;const e=null==(M=N.filter(e=>{if(I){const t=v(e.placement);return t===S||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:M[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}},ae=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:a,platform:l,elements:c}=t,{apply:u=()=>{},...d}=f(e,t),p=await l.detectOverflow(t,d),g=h(i),y=m(i),b="y"===v(i),{width:_,height:w}=a.floating;let k,S;"top"===g||"bottom"===g?(k=g,S=y===(await(null==l.isRTL?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(S=g,k="end"===y?"top":"bottom");const x=w-p.top-p.bottom,C=_-p.left-p.right,E=o(w-p[k],x),A=o(_-p[S],C),T=!t.middlewareData.shift;let I=E,R=A;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(R=C),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(I=x),T&&!y){const e=s(p.left,0),t=s(p.right,0),n=s(p.top,0),r=s(p.bottom,0);b?R=_-2*(0!==e||0!==t?e+t:s(p.left,p.right)):I=w-2*(0!==n||0!==r?n+r:s(p.top,p.bottom))}await u({...t,availableWidth:R,availableHeight:I});const O=await l.getDimensions(c.floating);return _!==O.width||w!==O.height?{reset:{rects:!0}}:{}}}},oe=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:i="referenceHidden",...a}=f(e,t);switch(i){case"referenceHidden":{const e=D(await r.detectOverflow(t,{...a,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:N(e)}}}case"escaped":{const e=D(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:N(e)}}}default:return{}}}}},se=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:a,platform:s,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=f(e,t)||{};if(null==u)return{};const h=T(d),g={x:n,y:r},v=b(i),_=y(v),w=await s.getDimensions(u),k="y"===v,S=k?"top":"left",x=k?"bottom":"right",C=k?"clientHeight":"clientWidth",E=a.reference[_]+a.reference[v]-g[v]-a.floating[_],A=g[v]-a.reference[v],I=await(null==s.getOffsetParent?void 0:s.getOffsetParent(u));let R=I?I[C]:0;R&&await(null==s.isElement?void 0:s.isElement(I))||(R=l.floating[C]||a.floating[_]);const O=E/2-A/2,D=R/2-w[_]/2-1,N=o(h[S],D),j=o(h[x],D),F=N,M=R-w[_]-j,V=R/2-w[_]/2+O,P=p(F,V,M),L=!c.arrow&&null!=m(i)&&V!==P&&a.reference[_]/2-(V<F?N:j)-w[_]/2<0,B=L?V<F?V-F:V-M:0;return{[v]:g[v]+B,data:{[v]:P,centerOffset:V-P-B,...L&&{alignmentOffset:B}},reset:L}}}),le=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:r,rects:i,platform:a,strategy:l}=t,{padding:c=2,x:u,y:d}=f(e,t),p=Array.from(await(null==a.getClientRects?void 0:a.getClientRects(r.reference))||[]),m=function(e){const t=e.slice().sort((e,t)=>e.y-t.y),n=[];let r=null;for(let i=0;i<t.length;i++){const e=t[i];!r||e.y-r.y>r.height/2?n.push([e]):n[n.length-1].push(e),r=e}return n.map(e=>I(j(e)))}(p),g=I(j(p)),y=T(c);const b=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===m.length&&m[0].left>m[1].right&&null!=u&&null!=d)return m.find(e=>u>e.left-y.left&&u<e.right+y.right&&d>e.top-y.top&&d<e.bottom+y.bottom)||g;if(m.length>=2){if("y"===v(n)){const e=m[0],t=m[m.length-1],r="top"===h(n),i=e.top,a=t.bottom,o=r?e.left:t.left,s=r?e.right:t.right;return{top:i,bottom:a,left:o,right:s,width:s-o,height:a-i,x:o,y:i}}
vendor: 8,479 bytes, line 23
23const e="left"===h(n),t=s(...m.map(e=>e.right)),r=o(...m.map(e=>e.left)),i=m.filter(n=>e?n.left===r:n.right===t),a=i[0].top,l=i[i.length-1].bottom;return{top:a,bottom:l,left:r,right:t,width:t-r,height:l-a,x:r,y:a}}return g}},floating:r.floating,strategy:l});return i.reference.x!==b.reference.x||i.reference.y!==b.reference.y||i.reference.width!==b.reference.width||i.reference.height!==b.reference.height?{reset:{rects:b}}:{}}}},ce=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=f(e,t),u={x:n,y:r},d=v(i),p=g(d);let m=u[p],y=u[d];const b=f(s,t),_="number"===typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(l){const e="y"===p?"height":"width",t=a.reference[p]-a.floating[e]+_.mainAxis,n=a.reference[p]+a.reference[e]-_.mainAxis;m<t?m=t:m>n&&(m=n)}if(c){var w,k;const e="y"===p?"width":"height",t=F.has(h(i)),n=a.reference[d]-a.floating[e]+(t&&(null==(w=o.offset)?void 0:w[d])||0)+(t?0:_.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:(null==(k=o.offset)?void 0:k[d])||0)-(t?_.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[p]:m,[d]:y}}}},ue=(e,t,n)=>{const r=new Map,i={platform:K,...n},a={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:O},l=await(null==o.isRTL?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=R(c,r,l),p=r,f=0;const h={};for(let m=0;m<a.length;m++){const n=a[m];if(!n)continue;const{name:g,fn:y}=n,{x:v,y:b,data:_,reset:w}=await y({x:u,y:d,initialPlacement:r,placement:p,strategy:i,middlewareData:h,rects:c,platform:s,elements:{reference:e,floating:t}});u=null!=v?v:u,d=null!=b?b:d,h[g]={...h[g],..._},w&&f<50&&(f++,"object"===typeof w&&(w.placement&&(p=w.placement),w.rects&&(c=!0===w.rects?await o.getElementRects({reference:e,floating:t,strategy:i}):w.rects),({x:u,y:d}=R(c,p,l))),m=-1)}return{x:u,y:d,placement:p,strategy:i,middlewareData:h}})(e,t,{...i,platform:a})}},4086(e,t,n){"use strict";n.r(t),n.d(t,{arrow:()=>w,autoPlacement:()=>v,autoUpdate:()=>r.autoUpdate,computePosition:()=>r.computePosition,detectOverflow:()=>r.detectOverflow,flip:()=>g,getOverflowAncestors:()=>i.getOverflowAncestors,hide:()=>b,inline:()=>_,limitShift:()=>m,offset:()=>f,platform:()=>r.platform,shift:()=>h,size:()=>y,useFloating:()=>p});var r=n(63053),i=n(88730),a=n(36665),o=n(33672),s="undefined"!==typeof document?a.useLayoutEffect:function(){};function l(e,t){if(e===t)return!0;if(typeof e!==typeof t)return!1;if("function"===typeof e&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&"object"===typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!l(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!==r--;){const n=i[r];if(("_owner"!==n||!e.$$typeof)&&!l(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function c(e){if("undefined"===typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){const n=c(e);return Math.round(t*n)/n}function d(e){const t=a.useRef(e);return s(()=>{t.current=e}),t}function p(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:p,elements:{reference:f,floating:h}={},transform:m=!0,whileElementsMounted:g,open:y}=e,[v,b]=a.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[_,w]=a.useState(i);l(_,i)||w(i);const[k,S]=a.useState(null),[x,C]=a.useState(null),E=a.useCallback(e=>{e!==R.current&&(R.current=e,S(e))},[]),A=a.useCallback(e=>{e!==O.current&&(O.current=e,C(e))},[]),T=f||k,I=h||x,R=a.useRef(null),O=a.useRef(null),D=a.useRef(v),N=null!=g,j=d(g),F=d(p),M=d(y),V=a.useCallback(()=>{if(!R.current||!O.current)return;const e={placement:t,strategy:n,middleware:_};F.current&&(e.platform=F.current),(0,r.computePosition)(R.current,O.current,e).then(e=>{const t={...e,isPositioned:!1!==M.current};P.current&&!l(D.current,t)&&(D.current=t,o.flushSync(()=>{b(t)}))})},[_,t,n,F,M]);s(()=>{!1===y&&D.current.isPositioned&&(D.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[y]);const P=a.useRef(!1);s(()=>(P.current=!0,()=>{P.current=!1}),[]),s(()=>{if(T&&(R.current=T),I&&(O.current=I),T&&I){if(j.current)return j.current(T,I,V);V()}},[T,I,V,j,N]);const L=a.useMemo(()=>({reference:R,floating:O,setReference:E,setFloating:A}),[E,A]),B=a.useMemo(()=>({reference:T,floating:I}),[T,I]),H=a.useMemo(()=>{const e={position:n,left:0,top:0};if(!B.floating)return e;const t=u(B.floating,v.x),r=u(B.floating,v.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...c(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,B.floating,v.x,v.y]);return a.useMemo(()=>({...v,update:V,refs:L,elements:B,floatingStyles:H}),[v,V,L,B,H])}const f=(e,t)=>{const n=(0,r.offset)(e);return{name:n.name,fn:n.fn,options:[e,t]}},h=(e,t)=>{const n=(0,r.shift)(e);return{name:n.name,fn:n.fn,options:[e,t]}},m=(e,t)=>({fn:(0,r.limitShift)(e).fn,options:[e,t]}),g=(e,t)=>{const n=(0,r.flip)(e);return{name:n.name,fn:n.fn,options:[e,t]}},y=(e,t)=>{const n=(0,r.size)(e);return{name:n.name,fn:n.fn,options:[e,t]}},v=(e,t)=>{const n=(0,r.autoPlacement)(e);return{name:n.name,fn:n.fn,options:[e,t]}},b=(e,t)=>{const n=(0,r.hide)(e);return{name:n.name,fn:n.fn,options:[e,t]}},_=(e,t)=>{const n=(0,r.inline)(e);return{name:n.name,fn:n.fn,options:[e,t]}},w=(e,t)=>{const n=(e=>({name:"arrow",options:e,fn(t){const{element:n,padding:i}="function"===typeof e?e(t):e;return n&&(a=n,{}.hasOwnProperty.call(a,"current"))?null!=n.current?(0,r.arrow)({element:n.current,padding:i}).fn(t):{}:n?(0,r.arrow)({element:n,padding:i}).fn(t):{};var a}}))(e);return{name:n.name,fn:n.fn,options:[e,t]}}},88730(e,t,n){"use strict";function r(){return"undefined"!==typeof window}function i(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function a(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function o(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!r()&&(e instanceof Node||e instanceof a(e).Node)}function l(e){return!!r()&&(e instanceof Element||e instanceof a(e).Element)}function c(e){return!!r()&&(e instanceof HTMLElement||e instanceof a(e).HTMLElement)}function u(e){return!(!r()||"undefined"===typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof a(e).ShadowRoot)}function d(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=k(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function p(e){return/^(table|td|th)$/.test(i(e))}function f(e){try{if(e.matches(":popover-open"))return!0}catch(t){}try{return e.matches(":modal")}catch(t){return!1}}n.r(t),n.d(t,{getComputedStyle:()=>k,getContainingBlock:()=>b,getDocumentElement:()=>o,getFrameElement:()=>A,getNearestOverflowAncestor:()=>C,getNodeName:()=>i,getNodeScroll:()=>S,getOverflowAncestors:()=>E,getParentNode:()=>x,getWindow:()=>a,isContainingBlock:()=>v,isElement:()=>l,isHTMLElement:()=>c,isLastTraversableNode:()=>w,isNode:()=>s,isOverflowElement:()=>d,isShadowRoot:()=>u,isTableElement:()=>p,isTopLayer:()=>f,isWebKit:()=>_});const h=/transform|translate|scale|rotate|perspective|filter/,m=/paint|layout|strict|content/,g=e=>!!e&&"none"!==e;let y;function v(e){const t=l(e)?k(e):e;return g(t.transform)||g(t.translate)||g(t.scale)||g(t.rotate)||g(t.perspective)||!_()&&(g(t.backdropFilter)||g(t.filter))||h.test(t.willChange||"")||m.test(t.contain||"")}function b(e){let t=x(e);for(;c(t)&&!w(t);){if(v(t))return t;if(f(t))return null;t=x(t)}return null}function _(){return null==y&&(y="undefined"!==typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),y}function w(e){return/^(html|body|#document)$/.test(i(e))}function k(e){return a(e).getComputedStyle(e)}function S(e){return l(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function x(e){if("html"===i(e))return e;const t=e.assignedSlot||e.parentNode||u(e)&&e.host||o(e);return u(t)?t.host:t}function C(e){const t=x(e);return w(t)?e.ownerDocument?e.ownerDocument.body:e.body:c(t)&&d(t)?t:C(t)}function E(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=C(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),s=a(i);if(o){const e=A(s);
23return t.concat(s,s.visualViewport||[],d(i)?i:[],e&&n?E(e):[])}return t.concat(i,E(i,[],n))}function A(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},17195(t,n,r){"use strict";r.r(n),r.d(n,{clearAutoRefresh:()=>D,clearCache:()=>g,configureCache:()=>m,helpers:()=>s,onHidden:()=>b,onVisible:()=>_,refreshFeatures:()=>y,setPolyfills:()=>h,startStreaming:()=>N,unsubscribe:()=>v});var i=r(4780);const a={staleTTL:6e4,maxAge:144e5,cacheKey:"gbFeaturesCache",backgroundSync:!0,maxEntries:10,disableIdleStreams:!1,idleStreamInterval:2e4,disableCache:!1},o=(0,i.getPolyfills)(),s={fetchFeaturesCall:({host:e,clientKey:t,headers:n})=>o.fetch(`${e}/api/features/${t}`,{headers:n}),fetchRemoteEvalCall:({host:e,clientKey:t,payload:n,headers:r})=>{const i={method:"POST",headers:{"Content-Type":"application/json",...r},body:JSON.stringify(n)};return o.fetch(`${e}/api/eval/${t}`,i)},eventSourceCall:({host:e,clientKey:t,headers:n})=>n?new o.EventSource(`${e}/sub/${t}`,{headers:n}):new o.EventSource(`${e}/sub/${t}`),startIdleListener:()=>{let e;if(!("undefined"!==typeof window&&"undefined"!==typeof document))return;const t=()=>{"visible"===document.visibilityState?(window.clearTimeout(e),_()):"hidden"===document.visibilityState&&(e=window.setTimeout(b,a.idleStreamInterval))};return document.addEventListener("visibilitychange",t),()=>document.removeEventListener("visibilitychange",t)},stopIdleListener:()=>{}};try{globalThis.localStorage&&(o.localStorage=globalThis.localStorage)}catch(e){}const l=new Map;let c=!1;const u=new Map,d=new Map,p=new Map,f=new Set;function h(e){Object.assign(o,e)}function m(e){Object.assign(a,e),a.backgroundSync||D()}async function g(){u.clear(),d.clear(),D(),c=!1,await w()}async function y({instance:t,timeout:n,skipCache:r,allowStale:l,backgroundSync:d}){return d||(a.backgroundSync=!1),async function({instance:t,allowStale:n,timeout:r,skipCache:l}){const d=k(t),p=S(t),h=new Date,m=new Date(h.getTime()-a.maxAge+a.staleTTL);await async function(){if(c)return;c=!0;try{if(o.localStorage){const e=await o.localStorage.getItem(a.cacheKey);if(!a.disableCache&&e){const t=JSON.parse(e);t&&Array.isArray(t)&&t.forEach(([e,t])=>{u.set(e,{...t,staleAt:new Date(t.staleAt)})}),x()}}}catch(e){}if(!a.disableIdleStreams){const e=s.startIdleListener();e&&(s.stopIdleListener=e)}}();const g=a.disableCache||l?void 0:u.get(p);if(g&&(n||g.staleAt>h)&&g.staleAt>m)return g.sse&&f.add(d),g.staleAt<h?E(t):A(t),{data:g.data,success:!0,source:"cache"};return await(0,i.promiseTimeout)(E(t),r)||{data:null,success:!1,source:"timeout",error:new Error("Timeout")}}({instance:t,allowStale:l,timeout:n,skipCache:r})}function v(e){l.forEach(t=>t.delete(e))}function b(){p.forEach(e=>{e&&(e.state="idle",I(e))})}function _(){p.forEach(e=>{e&&"idle"===e.state&&R(e)})}async function w(){try{if(!o.localStorage)return;await o.localStorage.setItem(a.cacheKey,JSON.stringify(Array.from(u.entries())))}catch(e){}}function k(e){const[t,n]=e.getApiInfo();return`${t}||${n}`}function S(e){const t=k(e);if(!("isRemoteEval"in e)||!e.isRemoteEval())return t;const n=e.getAttributes(),r=e.getCacheKeyAttributes()||Object.keys(e.getAttributes()),i={};r.forEach(e=>{i[e]=n[e]});const a=e.getForcedVariations(),o=e.getUrl();return`${t}||${JSON.stringify({ca:i,fv:a,url:o})}`}function x(){const e=Array.from(u.entries()).map(([e,t])=>({key:e,staleAt:t.staleAt.getTime()})).sort((e,t)=>e.staleAt-t.staleAt),t=Math.min(Math.max(0,u.size-a.maxEntries),u.size);for(let n=0;n<t;n++)u.delete(e[n].key)}function C(e,t,n){const r=n.dateUpdated||"",i=new Date(Date.now()+a.staleTTL),o=a.disableCache?void 0:u.get(t);if(o&&r&&o.version===r)return o.staleAt=i,void w();a.disableCache||(u.set(t,{data:n,version:r,staleAt:i,sse:f.has(e)}),x()),w();const s=l.get(e);s&&s.forEach(e=>async function(e,t){await e.setPayload(t||e.getPayload())}(e,n))}async function E(e){const{apiHost:t,apiRequestHeaders:n}=e.getApiHosts(),r=e.getClientKey(),i="isRemoteEval"in e&&e.isRemoteEval(),a=k(e),o=S(e);let l=d.get(o);if(!l){l=(i?s.fetchRemoteEvalCall({host:t,clientKey:r,payload:{attributes:e.getAttributes(),forcedVariations:e.getForcedVariations(),forcedFeatures:Array.from(e.getForcedFeatures().entries()),url:e.getUrl()},headers:n}):s.fetchFeaturesCall({host:t,clientKey:r,headers:n})).then(e=>{if(!e.ok)throw new Error(`HTTP error: ${e.status}`);return"enabled"===e.headers.get("x-sse-support")&&f.add(a),e.json()}).then(t=>(C(a,o,t),A(e),d.delete(o),{data:t,success:!0,source:"network"})).catch(e=>(d.delete(o),{data:null,source:"error",success:!1,error:e})),d.set(o,l)}return l}function A(t,n=!1){const r=k(t),i=S(t),{streamingHost:s,streamingHostRequestHeaders:c}=t.getApiHosts(),u=t.getClientKey();if(n&&f.add(r),a.backgroundSync&&f.has(r)&&o.EventSource){if(p.has(r))return;const t={src:null,host:s,clientKey:u,headers:c,cb:n=>{try{if("features-updated"===n.type){const e=l.get(r);
23e&&e.forEach(e=>{E(e)})}else if("features"===n.type){const e=JSON.parse(n.data);C(r,i,e)}t.errors=0}catch(e){T(t)}},errors:0,state:"active"};p.set(r,t),R(t)}}function T(e){if("idle"!==e.state&&(e.errors++,e.errors>3||e.src&&2===e.src.readyState)){const t=Math.pow(3,e.errors-3)*(1e3+1e3*Math.random());I(e),setTimeout(()=>{["idle","active"].includes(e.state)||R(e)},Math.min(t,3e5))}}function I(e){e.src&&(e.src.onopen=null,e.src.onerror=null,e.src.close(),e.src=null,"active"===e.state&&(e.state="disabled"))}function R(e){e.src=s.eventSourceCall({host:e.host,clientKey:e.clientKey,headers:e.headers}),e.state="active",e.src.addEventListener("features",e.cb),e.src.addEventListener("features-updated",e.cb),e.src.onerror=()=>T(e),e.src.onopen=()=>{e.errors=0}}function O(e,t){I(e),p.delete(t)}function D(){f.clear(),p.forEach(O),l.clear(),s.stopIdleListener()}function N(e,t){if(t.streaming){if(!e.getClientKey())throw new Error("Must specify clientKey to enable streaming");t.payload&&A(e,!0),function(e){const t=k(e),n=l.get(t)||new Set;n.add(e),l.set(t,n)}(e)}}},4780(t,n,r){"use strict";r.r(n),r.d(n,{chooseVariation:()=>d,decrypt:()=>_,getAutoExperimentChangeType:()=>E,getBucketRanges:()=>g,getEqualWeights:()=>l,getPolyfills:()=>a,getQueryStringOverride:()=>y,getUrlRegExp:()=>p,hash:()=>s,inNamespace:()=>u,inRange:()=>c,isIncluded:()=>v,isURLTargeted:()=>f,loadSDKVersion:()=>S,mergeQueryStrings:()=>x,paddedVersionString:()=>k,promiseTimeout:()=>A,toString:()=>w});const i={fetch:globalThis.fetch?globalThis.fetch.bind(globalThis):void 0,SubtleCrypto:globalThis.crypto?globalThis.crypto.subtle:void 0,EventSource:globalThis.EventSource};function a(){return i}function o(e){let t=2166136261;const n=e.length;for(let r=0;r<n;r++)t^=e.charCodeAt(r),t+=(t<<1)+(t<<4)+(t<<7)+(t<<8)+(t<<24);return t>>>0}function s(e,t,n){return 2===n?o(o(e+t)+"")%1e4/1e4:1===n?o(t+e)%1e3/1e3:null}function l(e){return e<=0?[]:new Array(e).fill(1/e)}function c(e,t){return e>=t[0]&&e<t[1]}function u(e,t){const n=s("__"+t[0],e,1);return null!==n&&(n>=t[1]&&n<t[2])}function d(e,t){for(let n=0;n<t.length;n++)if(c(e,t[n]))return n;return-1}function p(t){try{const e=t.replace(/([^\\])\//g,"$1\\/");return new RegExp(e)}catch(e){return void console.error(e)}}function f(e,t){if(!t.length)return!1;let n=!1,r=!1;for(let i=0;i<t.length;i++){const a=m(e,t[i].type,t[i].pattern);if(!1===t[i].include){if(a)return!1}else n=!0,a&&(r=!0)}return r||!n}function h(t,n){try{const r=new URL(n.replace(/^([^:/?]*)\./i,"https://$1.").replace(/\*/g,"_____"),"https://_____"),i=[[t.host,r.host,!1],[t.pathname,r.pathname,!0]];return r.hash&&i.push([t.hash,r.hash,!1]),r.searchParams.forEach((e,n)=>{i.push([t.searchParams.get(n)||"",e,!1])}),!i.some(t=>!function(t,n,r){try{let e=n.replace(/[*.+?^${}()|[\]\\]/g,"\\$&").replace(/_____/g,".*");return r&&(e="\\/?"+e.replace(/(^\/|\/$)/g,"")+"\\/?"),new RegExp("^"+e+"$","i").test(t)}catch(e){return!1}}(t[0],t[1],t[2]))}catch(e){return!1}}function m(t,n,r){try{const e=new URL(t,"https://_");if("regex"===n){const t=p(r);return!!t&&(t.test(e.href)||t.test(e.href.substring(e.origin.length)))}return"simple"===n&&h(e,r)}catch(e){return!1}}function g(e,t,n){(t=void 0===t?1:t)<0?t=0:t>1&&(t=1);const r=l(e);(n=n||r).length!==e&&(n=r);const i=n.reduce((e,t)=>t+e,0);(i<.99||i>1.01)&&(n=r);let a=0;return n.map(e=>{const n=a;return a+=e,[n,n+t*e]})}function y(e,t,n){if(!t)return null;const r=t.split("?")[1];if(!r)return null;const i=r.replace(/#.*/,"").split("&").map(e=>e.split("=",2)).filter(([t])=>t===e).map(([,e])=>parseInt(e));return i.length>0&&i[0]>=0&&i[0]<n?i[0]:null}function v(t){try{return t()}catch(e){return console.error(e),!1}}const b=e=>Uint8Array.from(atob(e),e=>e.charCodeAt(0));async function _(t,n,r){if(n=n||"",!(r=r||globalThis.crypto&&globalThis.crypto.subtle||i.SubtleCrypto))throw new Error("No SubtleCrypto implementation found");try{const e=await r.importKey("raw",b(n),{name:"AES-CBC",length:128},!0,["encrypt","decrypt"]),[i,a]=t.split("."),o=await r.decrypt({
23name:"AES-CBC",iv:b(i)},e,b(a));return(new TextDecoder).decode(o)}catch(e){throw new Error("Failed to decrypt")}}function w(e){return"string"===typeof e?e:JSON.stringify(e)}function k(e){"number"===typeof e&&(e+=""),e&&"string"===typeof e||(e="0");const t=e.replace(/(^v|\+.*$)/g,"").split(/[-.]/);return 3===t.length&&t.push("~"),t.map(e=>e.match(/^[0-9]+$/)?e.padStart(5," "):e).join("-")}function S(){let t;try{t="1.6.5"}catch(e){t=""}return t}function x(t,n){let r,i;try{r=new URL(t),i=new URL(n)}catch(e){return console.error(`Unable to merge query strings: ${e}`),n}return r.searchParams.forEach((e,t)=>{i.searchParams.has(t)||i.searchParams.set(t,e)}),i.toString()}function C(e){return"object"===typeof e&&null!==e}function E(e){return e.urlPatterns&&e.variations.some(e=>C(e)&&"urlRedirect"in e)?"redirect":e.variations.some(e=>C(e)&&(e.domMutations||"js"in e||"css"in e))?"visual":"unknown"}async function A(e,t){return new Promise(n=>{let r,i=!1;const a=e=>{i||(i=!0,r&&clearTimeout(r),n(e||null))};t&&(r=setTimeout(()=>a(),t)),e.then(e=>a(e)).catch(()=>a())})}},30481(e,t,n){"use strict";n.r(t),n.d(t,{I18n:()=>x,formats:()=>f,i18n:()=>E,setupI18n:()=>C});const r=e=>"string"===typeof e,i=new Map,a="en";function o(e){return[...Array.isArray(e)?e:[e],a]}function s(e,t,n){const i=o(e);let a;if(n||(n="default"),"string"===typeof n)switch(a={day:"numeric",month:"short",year:"numeric"},n){case"full":a.weekday="long";case"long":a.month="long";break;case"short":a.month="numeric"}else a=n;return d(()=>p("date",i,n),()=>new Intl.DateTimeFormat(i,a)).format(r(t)?new Date(t):t)}function l(e,t,n){let r;if(n||(n="default"),"string"===typeof n)switch(r={second:"numeric",minute:"numeric",hour:"numeric"},n){case"full":case"long":r.timeZoneName="short";break;case"short":delete r.second}else r=n;return s(e,t,r)}function c(e,t,n){const r=o(e);return d(()=>
23p("number",r,n),()=>new Intl.NumberFormat(r,n)).format(t)}function u(e,t,n,{offset:r=0,...i}){const a=o(e),s=t?d(()=>p("plural-ordinal",a),()=>new Intl.PluralRules(a,{type:"ordinal"})):d(()=>p("plural-cardinal",a),()=>new Intl.PluralRules(a,{type:"cardinal"}));return i[n]??i[s.select(n-r)]??i.other}function d(e,t){const n=e();let r=i.get(n);return r||(r=t(),i.set(n,r)),r}function p(e,t,n){return`${e}-${t.join("-")}-${JSON.stringify(n)}`}const f={__proto__:null,date:s,defaultLocale:a,number:c,plural:u,time:l},h=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/,m=e=>e.replace(/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g,(e,t,n)=>{if(t){const e=parseInt(t,16);return String.fromCharCode(e)}{const e=parseInt(n,16);return String.fromCharCode(e)}}),g="%__lingui_octothorpe__%",y=(e,t)=>t[e]??t.other;function v(e,t,n){return(i={},a)=>{const o=((e,t,n={})=>{const r=t||e,i=e=>"object"===typeof e?e:n[e],a=(e,t)=>{const a=Object.keys(n).length?i("number"):void 0,o=c(r,e,a);return t.replace(new RegExp(g,"g"),o)};return{plural:(e,t)=>{const{offset:n=0}=t,i=u(r,!1,e,t);return a(e-n,i)},selectordinal:(e,t)=>{const{offset:n=0}=t,i=u(r,!0,e,t);return a(e-n,i)},select:y,number:(e,t)=>c(r,e,i(t)||{style:t}),date:(e,t)=>s(r,e,i(t)||t),time:(e,t)=>l(r,e,i(t)||t)}})(t,n,a),d=(e,t=!1)=>Array.isArray(e)?e.reduce((e,n)=>{if("#"===n&&t)return e+g;if(r(n))return e+n;const[a,s,l]=n;let c,u={};if("plural"===s||"selectordinal"===s||"select"===s?Object.entries(l).forEach(([e,t])=>{u[e]=d(t,"plural"===s||"selectordinal"===s)}):u=l,s){c=(0,o[s])(i[a],u)}else c=i[a];return null==c?e:e+c},""):e,p=d(e);return r(p)&&h.test(p)?m(p):r(p)?p:p?String(p):""}}var b=Object.defineProperty,_=(e,t,n)=>(((e,t,n)=>{t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class w{constructor(){_(this,"_events",{})}on(e,t){var n;return(n=this._events)[e]??(n[e]=[]),this._events[e].push(t),()=>this.removeListener(e,t)}removeListener(e,t){const n=this._getListeners(e);if(!n)return;const r=n.indexOf(t);~r&&n.splice(r,1)}emit(e,...t){const n=this._getListeners(e);n&&n.map(e=>e.apply(this,t))}_getListeners(e){const t=this._events[e];return!!Array.isArray(t)&&t}}var k=Object.defineProperty,S=(e,t,n)=>(((e,t,n)=>{t in e?k(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class x extends w{constructor(e){super(),S(this,"_locale",""),S(this,"_locales"),S(this,"_localeData",{}),S(this,"_messages",{}),S(this,"_missing"),S(this,"_messageCompiler"),S(this,"t",this._.bind(this)),null!=e.missing&&(this._missing=e.missing),null!=e.messages&&this.load(e.messages),null!=e.localeData&&this.loadLocaleData(e.localeData),("string"===typeof e.locale||e.locales)&&this.activate(e.locale??a,e.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){return this._messages[this._locale]??{}}get localeData(){return this._localeData[this._locale]??{}}_loadLocaleData(e,t){const n=this._localeData[e];n?Object.assign(n,t):this._localeData[e]=t}setMessagesCompiler(e){return this._messageCompiler=e,this}loadLocaleData(e,t){"string"===typeof e?this._loadLocaleData(e,t):Object.keys(e).forEach(t=>this._loadLocaleData(t,e[t])),this.emit("change")}_load(e,t){const n=this._messages[e];n?Object.assign(n,t):this._messages[e]=t}load(e,t){"string"==typeof e&&"object"===typeof t?this._load(e,t):Object.entries(e).forEach(([e,t])=>this._load(e,t)),this.emit("change")}loadAndActivate({locale:e,locales:t,messages:n}){this._locale=e,this._locales=t||void 0,this._messages[this._locale]=n,this.emit("change")}activate(e,t){this._locale=e,this._locales=t,this.emit("change")}_(e,t,n){if(!this.locale)throw new Error("Lingui: Attempted to call a translation function without setting a locale.\nMake sure to call `i18n.activate(locale)` before using Lingui functions.\nThis issue may also occur due to a race condition in your initialization logic.");let i=n?.message;e||(e=""),r(e)||(t=e.values||t,i=e.message,e=e.id);const a=this.messages[e],o=void 0===a,s=this._missing;if(s&&o)return"function"===typeof s?s(this._locale,e):s;
23o&&this.emit("missing",{id:e,locale:this._locale});let l=a||i||e;return r(l)&&(this._messageCompiler?l=this._messageCompiler(l):console.warn(`Uncompiled message detected! Message:\n\n> ${l}\n\nThat means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used.\nICU features such as interpolation and plurals will not work properly for that message. \n\nPlease compile your catalog first. \n`)),r(l)&&h.test(l)?m(l):r(l)?l:v(l,this._locale,this._locales)(t,n?.formats)}date(e,t){return s(this._locales||this._locale,e,t)}number(e,t){return c(this._locales||this._locale,e,t)}}function C(e={}){return new x(e)}const E=C()},28254(e,t,n){"use strict";n.r(t),n.d(t,{I18nProvider:()=>g,LinguiContext:()=>f,Trans:()=>y,useLingui:()=>m});var r=n(60397),i=n(36665);const a=/<([a-zA-Z0-9]+)>([\s\S]*?)<\/\1>|<([a-zA-Z0-9]+)\/>/,o={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0};function s(e,t={}){const n=e.split(a);if(1===n.length)return e;const u=c(0,"$lingui$"),d=[],p=n.shift();p&&d.push(p);for(const[a,c,f]of l(n)){let e="undefined"!==typeof a?t[a]:void 0;(!e||o[e.type]&&c)&&(e?console.error(`${e.type} is a void element tag therefore it must have no children`):console.error(`Can't use element at index '${a}' as it is not declared in the original translation`),e=(0,r.jsx)(r.Fragment,{})),Array.isArray(e)&&(e=(0,r.jsx)(r.Fragment,{children:e})),d.push((0,i.cloneElement)(e,{key:u()},c?s(c,t):e.props.children)),f&&d.push(f)}return 1===d.length?d[0]:d}function l(e){if(!e.length)return[];const[t,n,r,i]=e.slice(0,4);return[[t||r,n||"",i]].concat(l(e.slice(4,e.length)))}const c=(e=0,t="")=>()=>`${t}_${e++}`;function u(e){const{render:t,component:n,id:i,message:a,formats:o,lingui:{i18n:l,defaultComponent:c}}=e,{values:u,components:f}=p(e),h=l&&"function"===typeof l._?l._(i,u,{message:a,formats:o}):i,m=h?s(h,f):null;if(null===t||null===n)return m;const g=c||d,y={id:i,message:a,translation:m,children:m};if(t&&n)console.error("You can't use both `component` and `render` prop at the same time. `component` is ignored.");else if(t&&"function"!==typeof t)console.error(`Invalid value supplied to prop \`render\`. It must be a function, provided ${t}`);else if(n&&"function"!==typeof n)return console.error(`Invalid value supplied to prop \`component\`. It must be a React component, provided ${n}`),(0,r.jsx)(g,{...y,children:m});if("function"===typeof t)return t(y);const v=n||g;return(0,r.jsx)(v,{...y,children:m})}const d=({children:e})=>e,p=e=>{if(!e.values)return{values:void 0,components:e.components};const t={...e.values},n={...e.components};return Object.entries(e.values).forEach(([e,i])=>{if("string"===typeof i||"number"===typeof i)return;const a=Object.keys(n).length;n[a]=(0,r.jsx)(r.Fragment,{children:i}),t[e]=`<${a}/>`}),{values:t,components:n}},f=(0,i.createContext)(null),h=e=>(0,i.useContext)(f);function m(){return h()}const g=({i18n:e,defaultComponent:t,children:n})=>{const a=(0,i.useRef)(e.locale),o=(0,i.useCallback)(()=>({i18n:e,defaultComponent:t,_:e.t.bind(e)}),[e,t]),[s,l]=(0,i.useState)(o());return(0,i.useEffect)(()=>{const t=()=>{a.current=e.locale,l(o())},n=e.on("change",t);return a.current!==e.locale&&t(),n},[e,o]),a.current?(0,r.jsx)(f.Provider,{value:s,children:n}):null};function y(e){const t=h();return(0,r.jsx)(u,{...e,lingui:t})}},58270(e,t,n){"use strict";n.r(t),n.d(t,{canUseDOM:()=>r,composeEventHandlers:()=>i,getActiveElement:()=>s,getOwnerDocument:()=>o,getOwnerWindow:()=>a,isFrame:()=>l});var r=!("undefined"===typeof window||!window.document||!window.document.createElement);function i(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function a(e){if(!r)throw new Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window}function o(e){if(!r)throw new Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function s(e,t=!1){const{activeElement:n}=o(e);if(!n?.nodeName)return null;if(l(n)&&n.contentDocument)return s(n.contentDocument.body,t);if(t){const e=n.getAttribute("aria-activedescendant");if(e){const t=o(n).getElementById(e);if(t)return t}}return n}function l(e){return"IFRAME"===e.tagName}},99571(e,t,n){"use strict";n.r(t),n.d(t,{createCollection:()=>l,unstable_createCollection:()=>f});var r=n(36665),i=n(21802),a=n(74682),o=n(92559),s=n(60397);function l(e){const t=e+"CollectionProvider",[n,l]=(0,i.createContextScope)(t),[c,u]=n(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{const{scope:t,children:n}=e,i=r.useRef(null),a=r.useRef(new Map).current;return(0,s.jsx)(c,{scope:t,itemMap:a,collectionRef:i,children:n})};d.displayName=t;const p=e+"CollectionSlot",f=(0,o.createSlot)(p),h=r.forwardRef((e,t)=>
23{const{scope:n,children:r}=e,i=u(p,n),o=(0,a.useComposedRefs)(t,i.collectionRef);return(0,s.jsx)(f,{ref:o,children:r})});h.displayName=p;const m=e+"CollectionItemSlot",g="data-radix-collection-item",y=(0,o.createSlot)(m),v=r.forwardRef((e,t)=>{const{scope:n,children:i,...o}=e,l=r.useRef(null),c=(0,a.useComposedRefs)(t,l),d=u(m,n);return r.useEffect(()=>(d.itemMap.set(l,{ref:l,...o}),()=>{d.itemMap.delete(l)})),(0,s.jsx)(y,{[g]:"",ref:c,children:i})});return v.displayName=m,[{Provider:d,Slot:h,ItemSlot:v},function(t){const n=u(e+"CollectionConsumer",t);return r.useCallback(()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},l]}var c=new WeakMap,u=class e extends Map{#c;constructor(e){super(e),this.#c=[...super.keys()],c.set(this,!0)}set(e,t){return c.get(this)&&(this.has(e)?this.#c[this.#c.indexOf(e)]=e:this.#c.push(e)),super.set(e,t),this}insert(e,t,n){const r=this.has(t),i=this.#c.length,a=p(e);let o=a>=0?a:i+a;const s=o<0||o>=i?-1:o;if(s===this.size||r&&s===this.size-1||-1===s)return this.set(t,n),this;const l=this.size+(r?0:1);a<0&&o++;const c=[...this.#c];let u,d=!1;for(let p=o;p<l;p++)if(o===p){let e=c[p];c[p]===t&&(e=c[p+1]),r&&this.delete(t),u=this.get(e),this.set(t,n)}else{d||c[p-1]!==t||(d=!0);const e=c[d?p:p-1],n=u;u=this.get(e),this.delete(e),this.set(e,n)}return this}with(t,n,r){const i=new e(this);return i.insert(t,n,r),i}before(e){const t=this.#c.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){const r=this.#c.indexOf(e);return-1===r?this:this.insert(r,t,n)}after(e){let t=this.#c.indexOf(e);if(t=-1===t||t===this.size-1?-1:t+1,-1!==t)return this.entryAt(t)}setAfter(e,t,n){const r=this.#c.indexOf(e);return-1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#c=[],super.clear()}delete(e){const t=super.delete(e);return t&&this.#c.splice(this.#c.indexOf(e),1),t}deleteAt(e){const t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){const t=d(this.#c,e);if(void 0!==t)return this.get(t)}entryAt(e){const t=d(this.#c,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#c.indexOf(e)}keyAt(e){return d(this.#c,e)}from(e,t){const n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){const n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(const r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(const r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return-1}filter(t,n){const r=[];let i=0;for(const e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){const r=[];let i=0;for(const e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){const[t,n]=e;let r=0,i=n??this.at(0);for(const a of this)i=0===r&&1===e.length?a:Reflect.apply(t,this,[i,a,r,this]),r++;return i}reduceRight(...e){const[t,n]=e;let r=n??this.at(-1);for(let i=this.size-1;i>=0;i--){const n=this.at(i);r=i===this.size-1&&1===e.length?n:Reflect.apply(t,this,[r,n,i,this])}return r}toSorted(t){const n=[...this.entries()].sort(t);return new e(n)}toReversed(){const t=new e;for(let e=this.size-1;e>=0;e--){const n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){const n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){const r=new e;let i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;e++){const t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(const r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(const r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}};function d(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);const n=function(e,t){const n=e.length,r=p(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}(e,t);return-1===n?void 0:e[n]}function p(e){return e!==e||0===e?0:Math.trunc(e)}function f(e){const t=e+"CollectionProvider",[n,l]=(0,i.createContextScope)(t),[c,d]=n(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new u,setItemMap:()=>{}}),p=({state:e,...t})=>e?(0,s.jsx)(m,{...t,state:e}):(0,s.jsx)(f,{...t});p.displayName=t;const f=e=>{const t=S();return(0,s.jsx)(m,{...e,state:t})};f.displayName=t+"Init";const m=e=>{const{scope:t,children:n,state:i}=e,o=r.useRef(null),[l,u]=r.useState(null),d=(0,a.useComposedRefs)(o,u),[p,f]=i;return r.useEffect(()=>{if(!l)return;const e=function(e){const t=new MutationObserver(t=>{for(const n of t)if("childList"===n.type)return void e()});return t}(()=>{});return e.observe(l,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[l]),(0,s.jsx)(c,{scope:t,itemMap:p,setItemMap:f,collectionRef:d,collectionRefObject:o,collectionElement:l,children:n})};m.displayName=t+"Impl";const g=e+"CollectionSlot",y=(0,o.createSlot)(g),v=r.forwardRef((e,t)=>
23{const{scope:n,children:r}=e,i=d(g,n),o=(0,a.useComposedRefs)(t,i.collectionRef);return(0,s.jsx)(y,{ref:o,children:r})});v.displayName=g;const b=e+"CollectionItemSlot",_="data-radix-collection-item",w=(0,o.createSlot)(b),k=r.forwardRef((e,t)=>{const{scope:n,children:i,...o}=e,l=r.useRef(null),[c,p]=r.useState(null),f=(0,a.useComposedRefs)(t,l,p),m=d(b,n),{setItemMap:g}=m,y=r.useRef(o);(function(e,t){if(e===t)return!0;if("object"!==typeof e||"object"!==typeof t)return!1;if(null==e||null==t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const i of n){if(!Object.prototype.hasOwnProperty.call(t,i))return!1;if(e[i]!==t[i])return!1}return!0})(y.current,o)||(y.current=o);const v=y.current;return r.useEffect(()=>{const e=v;return g(t=>c?t.has(c)?t.set(c,{...e,element:c}).toSorted(h):(t.set(c,{...e,element:c}),t.toSorted(h)):t),()=>{g(e=>c&&e.has(c)?(e.delete(c),new u(e)):e)}},[c,v,g]),(0,s.jsx)(w,{[_]:"",ref:f,children:i})});function S(){return r.useState(new u)}k.displayName=b;return[{Provider:p,Slot:v,ItemSlot:k},{createCollectionScope:l,useCollection:function(t){const{itemMap:n}=d(e+"CollectionConsumer",t);return n},useInitCollection:S}]}function h(e,t){return e[1].element&&t[1].element?function(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}(e[1].element,t[1].element)?-1:1:0}},74682(e,t,n){"use strict";n.r(t),n.d(t,{composeRefs:()=>a,useComposedRefs:()=>o});var r=n(36665);function i(e,t){if("function"===typeof e)return e(t);null!==e&&void 0!==e&&(e.current=t)}function a(...e){return t=>{let n=!1;const r=e.map(e=>{const r=i(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():i(e[t],null)}}}}function o(...e){return r.useCallback(a(...e),e)}},21802(e,t,n){"use strict";n.r(t),n.d(t,{createContext:()=>a,createContextScope:()=>o});var r=n(36665),i=n(60397);function a(e,t){const n=r.createContext(t),a=e=>{const{children:t,...a}=e,o=r.useMemo(()=>a,Object.values(a));return(0,i.jsx)(n.Provider,{value:o,children:t})};return a.displayName=e+"Provider",[a,function(i){const a=r.useContext(n);if(a)return a;if(void 0!==t)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}]}function o(e,t=[]){let n=[];const a=()=>{const t=n.map(e=>r.createContext(e));return function(n){const i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return a.scopeName=e,[function(t,a){const o=r.createContext(a),s=n.length;n=[...n,a];const l=t=>{const{scope:n,children:a,...l}=t,c=n?.[e]?.[s]||o,u=r.useMemo(()=>l,Object.values(l));return(0,i.jsx)(c.Provider,{value:u,children:a})};return l.displayName=t+"Provider",[l,function(n,i){const l=i?.[e]?.[s]||o,c=r.useContext(l);if(c)return c;if(void 0!==a)return a;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},s(a,...t)]}function s(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const i=n.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}},72912(e,t,n){"use strict";n.r(t),n.d(t,{DirectionProvider:()=>o,Provider:()=>l,useDirection:()=>s});var r=n(36665),i=n(60397),a=r.createContext(void 0),o=e=>{const{dir:t,children:n}=e;return(0,i.jsx)(a.Provider,{value:t,children:n})};function s(e){const t=r.useContext(a);return e||t||"ltr"}var l=o},55785(e,t,n){"use strict";n.r(t),n.d(t,{Branch:()=>b,DismissableLayer:()=>h,DismissableLayerBranch:()=>m,Root:()=>v});var r=n(36665),i=n(58270),a=n(35804),o=n(74682),s=n(79302);var l,c=n(60397),u="dismissableLayer.update",d="dismissableLayer.pointerDownOutside",p="dismissableLayer.focusOutside",f=r.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),h=r.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:v,onInteractOutside:b,onDismiss:_,...w}=e,k=r.useContext(f),[S,x]=r.useState(null),C=S?.ownerDocument??globalThis?.document,[,E]=r.useState({}),A=(0,o.useComposedRefs)(t,e=>x(e)),T=Array.from(k.layers),[I]=[...k.layersWithOutsidePointerEventsDisabled].slice(-1),R=T.indexOf(I),O=S?T.indexOf(S):-1,D=k.layersWithOutsidePointerEventsDisabled.size>0,N=O>=R,j=function(e,t=globalThis?.document){const n=(0,s.useCallbackRef)(e),i=r.useRef(!1),a=r.useRef(()=>{});return r.useEffect(()=>{const e=e=>{if(e.target&&!i.current){let r=function(){y(d,n,i,{discrete:!0})};const i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",a.current),a.current=r,t.addEventListener("click",a.current,{once:!0})):r()}else t.removeEventListener("click",a.current);i.current=!1},r=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>i.current=!0}}(e=>{const t=e.target,n=[...k.branches].some(e=>e.contains(t));N&&!n&&(m?.(e),b?.(e),e.defaultPrevented||_?.())},C),F=function(e,t=globalThis?.document){const n=(0,s.useCallbackRef)(e),i=r.useRef(!1);return r.useEffect(()=>{const e=e=>{if(e.target&&!i.current){y(p,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{const t=e.target;[...k.branches].some(e=>e.contains(t))||(v?.(e),b?.(e),e.defaultPrevented||_?.())},C);return function(e,t=globalThis?.document){const n=(0,s.useCallbackRef)(e);r.useEffect(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{O===k.layers.size-1&&(h?.(e),!e.defaultPrevented&&_&&(e.preventDefault(),_()))},C),r.useEffect(()=>{if(S)return n&&(0===k.layersWithOutsidePointerEventsDisabled.size&&(l=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),k.layersWithOutsidePointerEventsDisabled.add(S)),k.layers.add(S),g(),()=>{n&&1===k.layersWithOutsidePointerEventsDisabled.size&&(C.body.style.pointerEvents=l)}},[S,C,n,k]),r.useEffect(()=>()=>{S&&(k.layers.delete(S),k.layersWithOutsidePointerEventsDisabled.delete(S),g())},[S,k]),r.useEffect(()=>{const e=()=>E({});return document.addEventListener(u,e),()=>document.removeEventListener(u,e)}
23,[]),(0,c.jsx)(a.Primitive.div,{...w,ref:A,style:{pointerEvents:D?N?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.composeEventHandlers)(e.onFocusCapture,F.onFocusCapture),onBlurCapture:(0,i.composeEventHandlers)(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:(0,i.composeEventHandlers)(e.onPointerDownCapture,j.onPointerDownCapture)})});h.displayName="DismissableLayer";var m=r.forwardRef((e,t)=>{const n=r.useContext(f),i=r.useRef(null),s=(0,o.useComposedRefs)(t,i);return r.useEffect(()=>{const e=i.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,c.jsx)(a.Primitive.div,{...e,ref:s})});function g(){const e=new CustomEvent(u);document.dispatchEvent(e)}function y(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,a.dispatchDiscreteCustomEvent)(i,o):i.dispatchEvent(o)}m.displayName="DismissableLayerBranch";var v=h,b=m},7548(e,t,n){"use strict";n.r(t),n.d(t,{Arrow:()=>Gt,CheckboxItem:()=>Wt,Content:()=>Pt,DropdownMenu:()=>yt,DropdownMenuArrow:()=>Ot,DropdownMenuCheckboxItem:()=>Et,DropdownMenuContent:()=>kt,DropdownMenuGroup:()=>St,DropdownMenuItem:()=>Ct,DropdownMenuItemIndicator:()=>It,DropdownMenuLabel:()=>xt,DropdownMenuPortal:()=>_t,DropdownMenuRadioGroup:()=>At,DropdownMenuRadioItem:()=>Tt,DropdownMenuSeparator:()=>Rt,DropdownMenuSub:()=>Dt,DropdownMenuSubContent:()=>jt,DropdownMenuSubTrigger:()=>Nt,DropdownMenuTrigger:()=>bt,Group:()=>Lt,Item:()=>Ht,ItemIndicator:()=>Ut,Label:()=>Bt,Portal:()=>Vt,RadioGroup:()=>zt,RadioItem:()=>Yt,Root:()=>Ft,Separator:()=>Xt,Sub:()=>qt,SubContent:()=>$t,SubTrigger:()=>Jt,Trigger:()=>Mt,createDropdownMenuScope:()=>ft});var r=n(36665),i=n(58270),a=n(74682),o=n(21802),s=n(79940),l=n(35804),c=n(99571),u=n(72912),d=n(55785),p=n(88698),f=n(17424),h=n(67062),m=n(6495),g=n(2805),y=n(9282),v=n(79302),b=n(60397),_="rovingFocusGroup.onEntryFocus",w={bubbles:!1,cancelable:!0},k="RovingFocusGroup",[S,x,C]=(0,c.createCollection)(k),[E,A]=(0,o.createContextScope)(k,[C]),[T,I]=E(k),R=r.forwardRef((e,t)=>(0,b.jsx)(S.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,b.jsx)(S.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,b.jsx)(O,{...e,ref:t})})}));R.displayName=k;var O=r.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:o,loop:c=!1,dir:d,currentTabStopId:p,defaultCurrentTabStopId:f,onCurrentTabStopIdChange:h,onEntryFocus:m,preventScrollOnEntryFocus:g=!1,...y}=e,S=r.useRef(null),C=(0,a.useComposedRefs)(t,S),E=(0,u.useDirection)(d),[A,I]=(0,s.useControllableState)({prop:p,defaultProp:f??null,onChange:h,caller:k}),[R,O]=r.useState(!1),D=(0,v.useCallbackRef)(m),N=x(n),j=r.useRef(!1),[M,V]=r.useState(0);return r.useEffect(()=>{const e=S.current;if(e)return e.addEventListener(_,D),()=>e.removeEventListener(_,D)},[D]),(0,b.jsx)(T,{scope:n,orientation:o,dir:E,loop:c,currentTabStopId:A,onItemFocus:r.useCallback(e=>I(e),[I]),onItemShiftTab:r.useCallback(()=>O(!0),[]),onFocusableItemAdd:r.useCallback(()=>V(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>V(e=>e-1),[]),children:(0,b.jsx)(l.Primitive.div,{tabIndex:R||0===M?-1:0,"data-orientation":o,...y,ref:C,style:{outline:"none",...e.style},onMouseDown:(0,i.composeEventHandlers)(e.onMouseDown,()=>{j.current=!0}),onFocus:(0,i.composeEventHandlers)(e.onFocus,e=>{const t=!j.current;if(e.target===e.currentTarget&&t&&!R){const t=new CustomEvent(_,w);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=N().filter(e=>e.focusable);F([e.find(e=>e.active),e.find(e=>e.id===A),...e].filter(Boolean).map(e=>e.ref.current),g)}}j.current=!1}),onBlur:(0,i.composeEventHandlers)(e.onBlur,()=>O(!1))})})}),D="RovingFocusGroupItem",N=r.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:a=!0,active:o=!1,tabStopId:s,children:c,...u}=e,d=(0,h.useId)(),p=s||d,f=I(D,n),m=f.currentTabStopId===p,g=x(n),{onFocusableItemAdd:y,onFocusableItemRemove:v,currentTabStopId:_}=f;return r.useEffect(()=>{if(a)return y(),()=>v()},[a,y,v]),(0,b.jsx)(S.ItemSlot,{scope:n,id:p,focusable:a,active:o,children:(0,b.jsx)(l.Primitive.span,{tabIndex:m?0:-1,"data-orientation":f.orientation,...u,ref:t,onMouseDown:(0,i.composeEventHandlers)(e.onMouseDown,e=>{a?f.onItemFocus(p):e.preventDefault()}),onFocus:(0,i.composeEventHandlers)(e.onFocus,()=>f.onItemFocus(p)),onKeyDown:(0,i.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void f.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)?void 0:j[r]}(e,f.orientation,f.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=g().filter(e=>
23e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){"prev"===t&&i.reverse();const a=i.indexOf(e.currentTarget);i=f.loop?(r=a+1,(n=i).map((e,t)=>n[(r+t)%n.length])):i.slice(a+1)}setTimeout(()=>F(i))}var n,r}),children:"function"===typeof c?c({isCurrentTabStop:m,hasTabStop:null!=_}):c})})});N.displayName=D;var j={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function F(e,t=!1){const n=document.activeElement;for(const r of e){if(r===n)return;if(r.focus({preventScroll:t}),document.activeElement!==n)return}}var M=R,V=N,P=n(92559),L=n(59348),B=n(79578),H=["Enter"," "],W=["ArrowUp","PageDown","End"],z=["ArrowDown","PageUp","Home",...W],Y={ltr:[...H,"ArrowRight"],rtl:[...H,"ArrowLeft"]},U={ltr:["ArrowLeft"],rtl:["ArrowRight"]},X="Menu",[G,q,J]=(0,c.createCollection)(X),[$,K]=(0,o.createContextScope)(X,[J,m.createPopperScope,A]),Z=(0,m.createPopperScope)(),Q=A(),[ee,te]=$(X),[ne,re]=$(X),ie=e=>{const{__scopeMenu:t,open:n=!1,children:i,dir:a,onOpenChange:o,modal:s=!0}=e,l=Z(t),[c,d]=r.useState(null),p=r.useRef(!1),f=(0,v.useCallbackRef)(o),h=(0,u.useDirection)(a);return r.useEffect(()=>{const e=()=>{p.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>p.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,b.jsx)(m.Root,{...l,children:(0,b.jsx)(ee,{scope:t,open:n,onOpenChange:f,content:c,onContentChange:d,children:(0,b.jsx)(ne,{scope:t,onClose:r.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:p,dir:h,modal:s,children:i})})})};ie.displayName=X;var ae=r.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=Z(n);return(0,b.jsx)(m.Anchor,{...i,...r,ref:t})});ae.displayName="MenuAnchor";var oe="MenuPortal",[se,le]=$(oe,{forceMount:void 0}),ce=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=te(oe,t);return(0,b.jsx)(se,{scope:t,forceMount:n,children:(0,b.jsx)(y.Presence,{present:n||a.open,children:(0,b.jsx)(g.Portal,{asChild:!0,container:i,children:r})})})};ce.displayName=oe;var ue="MenuContent",[de,pe]=$(ue),fe=r.forwardRef((e,t)=>{const n=le(ue,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=te(ue,e.__scopeMenu),o=re(ue,e.__scopeMenu);return(0,b.jsx)(G.Provider,{scope:e.__scopeMenu,children:(0,b.jsx)(y.Presence,{present:r||a.open,children:(0,b.jsx)(G.Slot,{scope:e.__scopeMenu,children:o.modal?(0,b.jsx)(he,{...i,ref:t}):(0,b.jsx)(me,{...i,ref:t})})})})}),he=r.forwardRef((e,t)=>{const n=te(ue,e.__scopeMenu),o=r.useRef(null),s=(0,a.useComposedRefs)(t,o);return r.useEffect(()=>{const e=o.current;if(e)return(0,L.hideOthers)(e)},[]),(0,b.jsx)(ye,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,i.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),me=r.forwardRef((e,t)=>{const n=te(ue,e.__scopeMenu);return(0,b.jsx)(ye,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),ge=(0,P.createSlot)("MenuContent.ScrollLock"),ye=r.forwardRef((e,t)=>{const{__scopeMenu:n,loop:o=!1,trapFocus:s,onOpenAutoFocus:l,onCloseAutoFocus:c,disableOutsidePointerEvents:u,onEntryFocus:h,onEscapeKeyDown:g,onPointerDownOutside:y,onFocusOutside:v,onInteractOutside:_,onDismiss:w,disableOutsideScroll:k,...S}=e,x=te(ue,n),C=re(ue,n),E=Z(n),A=Q(n),T=q(n),[I,R]=r.useState(null),O=r.useRef(null),D=(0,a.useComposedRefs)(t,O,x.onContentChange),N=r.useRef(0),j=r.useRef(""),F=r.useRef(0),V=r.useRef(null),P=r.useRef("right"),L=r.useRef(0),H=k?B.default:r.Fragment,Y=k?{as:ge,allowPinchZoom:!0}:void 0,U=e=>{const t=j.current+e,n=T().filter(e=>!e.disabled),r=document.activeElement,i=n.find(e=>e.ref.current===r)?.textValue,a=function(e,t,n){const r=t.length>1&&Array.from(t).every(e=>e===t[0]),i=r?t[0]:t,a=n?e.indexOf(n):-1;let o=(s=e,l=Math.max(a,0),s.map((e,t)=>s[(l+t)%s.length]));var s,l;1===i.length&&(o=o.filter(e=>e!==n));const c=o.find(e=>e.toLowerCase().startsWith(i.toLowerCase()));return c!==n?c:void 0}(n.map(e=>e.textValue),t,i),o=n.find(e=>e.textValue===a)?.ref.current;!function e(t){j.current=t,window.clearTimeout(N.current),""!==t&&(N.current=window.setTimeout(()=>e(""),1e3))}(t),o&&setTimeout(()=>
23o.focus())};r.useEffect(()=>()=>window.clearTimeout(N.current),[]),(0,p.useFocusGuards)();const X=r.useCallback(e=>P.current===V.current?.side&&function(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return function(e,t){const{x:n,y:r}=e;let i=!1;for(let a=0,o=t.length-1;a<t.length;o=a++){const e=t[a],s=t[o],l=e.x,c=e.y,u=s.x,d=s.y;c>r!==d>r&&n<(u-l)*(r-c)/(d-c)+l&&(i=!i)}return i}(n,t)}(e,V.current?.area),[]);return(0,b.jsx)(de,{scope:n,searchRef:j,onItemEnter:r.useCallback(e=>{X(e)&&e.preventDefault()},[X]),onItemLeave:r.useCallback(e=>{X(e)||(O.current?.focus(),R(null))},[X]),onTriggerLeave:r.useCallback(e=>{X(e)&&e.preventDefault()},[X]),pointerGraceTimerRef:F,onPointerGraceIntentChange:r.useCallback(e=>{V.current=e},[]),children:(0,b.jsx)(H,{...Y,children:(0,b.jsx)(f.FocusScope,{asChild:!0,trapped:s,onMountAutoFocus:(0,i.composeEventHandlers)(l,e=>{e.preventDefault(),O.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:(0,b.jsx)(d.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:g,onPointerDownOutside:y,onFocusOutside:v,onInteractOutside:_,onDismiss:w,children:(0,b.jsx)(M,{asChild:!0,...A,dir:C.dir,orientation:"vertical",loop:o,currentTabStopId:I,onCurrentTabStopIdChange:R,onEntryFocus:(0,i.composeEventHandlers)(h,e=>{C.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,b.jsx)(m.Content,{role:"menu","aria-orientation":"vertical","data-state":Ue(x.open),"data-radix-menu-content":"",dir:C.dir,...E,...S,ref:D,style:{outline:"none",...S.style},onKeyDown:(0,i.composeEventHandlers)(S.onKeyDown,e=>{const t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&U(e.key));const i=O.current;if(e.target!==i)return;if(!z.includes(e.key))return;e.preventDefault();const a=T().filter(e=>!e.disabled).map(e=>e.ref.current);W.includes(e.key)&&a.reverse(),function(e){const t=document.activeElement;for(const n of e){if(n===t)return;if(n.focus(),document.activeElement!==t)return}}(a)}),onBlur:(0,i.composeEventHandlers)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(N.current),j.current="")}),onPointerMove:(0,i.composeEventHandlers)(e.onPointerMove,qe(e=>{const t=e.target,n=L.current!==e.clientX;if(e.currentTarget.contains(t)&&n){const t=e.clientX>L.current?"right":"left";P.current=t,L.current=e.clientX}}))})})})})})})});fe.displayName=ue;var ve=r.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,b.jsx)(l.Primitive.div,{role:"group",...r,ref:t})});ve.displayName="MenuGroup";var be=r.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,b.jsx)(l.Primitive.div,{...r,ref:t})});be.displayName="MenuLabel";var _e="MenuItem",we="menu.itemSelect",ke=r.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:o,...s}=e,c=r.useRef(null),u=re(_e,e.__scopeMenu),d=pe(_e,e.__scopeMenu),p=(0,a.useComposedRefs)(t,c),f=r.useRef(!1);return(0,b.jsx)(Se,{...s,ref:p,disabled:n,onClick:(0,i.composeEventHandlers)(e.onClick,()=>{const e=c.current;if(!n&&e){const t=new CustomEvent(we,{bubbles:!0,cancelable:!0});e.addEventListener(we,e=>o?.(e),{once:!0}),(0,l.dispatchDiscreteCustomEvent)(e,t),t.defaultPrevented?f.current=!1:u.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),f.current=!0},onPointerUp:(0,i.composeEventHandlers)(e.onPointerUp,e=>{f.current||e.currentTarget?.click()}),onKeyDown:(0,i.composeEventHandlers)(e.onKeyDown,e=>{const t=""!==d.searchRef.current;n||t&&" "===e.key||H.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});ke.displayName=_e;var Se=r.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:o=!1,textValue:s,...c}=e,u=pe(_e,n),d=Q(n),p=r.useRef(null),f=(0,a.useComposedRefs)(t,p),[h,m]=r.useState(!1),[g,y]=r.useState("");return r.useEffect(()=>{const e=p.current;e&&y((e.textContent??"").trim())},[c.children]),(0,b.jsx)(G.ItemSlot,{scope:n,disabled:o,textValue:s??g,children:(0,b.jsx)(V,{asChild:!0,...d,focusable:!o,children:(0,b.jsx)(l.Primitive.div,{role:"menuitem","data-highlighted":h?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...c,ref:f,onPointerMove:(0,i.composeEventHandlers)(e.onPointerMove,qe(e=>{if(o)u.onItemLeave(e);else if(u.onItemEnter(e),!e.defaultPrevented){e.currentTarget.focu
23s({preventScroll:!0})}})),onPointerLeave:(0,i.composeEventHandlers)(e.onPointerLeave,qe(e=>u.onItemLeave(e))),onFocus:(0,i.composeEventHandlers)(e.onFocus,()=>m(!0)),onBlur:(0,i.composeEventHandlers)(e.onBlur,()=>m(!1))})})})}),xe=r.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...a}=e;return(0,b.jsx)(De,{scope:e.__scopeMenu,checked:n,children:(0,b.jsx)(ke,{role:"menuitemcheckbox","aria-checked":Xe(n)?"mixed":n,...a,ref:t,"data-state":Ge(n),onSelect:(0,i.composeEventHandlers)(a.onSelect,()=>r?.(!!Xe(n)||!n),{checkForDefaultPrevented:!1})})})});xe.displayName="MenuCheckboxItem";var Ce="MenuRadioGroup",[Ee,Ae]=$(Ce,{value:void 0,onValueChange:()=>{}}),Te=r.forwardRef((e,t)=>{const{value:n,onValueChange:r,...i}=e,a=(0,v.useCallbackRef)(r);return(0,b.jsx)(Ee,{scope:e.__scopeMenu,value:n,onValueChange:a,children:(0,b.jsx)(ve,{...i,ref:t})})});Te.displayName=Ce;var Ie="MenuRadioItem",Re=r.forwardRef((e,t)=>{const{value:n,...r}=e,a=Ae(Ie,e.__scopeMenu),o=n===a.value;return(0,b.jsx)(De,{scope:e.__scopeMenu,checked:o,children:(0,b.jsx)(ke,{role:"menuitemradio","aria-checked":o,...r,ref:t,"data-state":Ge(o),onSelect:(0,i.composeEventHandlers)(r.onSelect,()=>a.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});Re.displayName=Ie;var Oe="MenuItemIndicator",[De,Ne]=$(Oe,{checked:!1}),je=r.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...i}=e,a=Ne(Oe,n);return(0,b.jsx)(y.Presence,{present:r||Xe(a.checked)||!0===a.checked,children:(0,b.jsx)(l.Primitive.span,{...i,ref:t,"data-state":Ge(a.checked)})})});je.displayName=Oe;var Fe=r.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,b.jsx)(l.Primitive.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});Fe.displayName="MenuSeparator";var Me=r.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=Z(n);return(0,b.jsx)(m.Arrow,{...i,...r,ref:t})});Me.displayName="MenuArrow";var Ve="MenuSub",[Pe,Le]=$(Ve),Be=e=>{const{__scopeMenu:t,children:n,open:i=!1,onOpenChange:a}=e,o=te(Ve,t),s=Z(t),[l,c]=r.useState(null),[u,d]=r.useState(null),p=(0,v.useCallbackRef)(a);return r.useEffect(()=>(!1===o.open&&p(!1),()=>p(!1)),[o.open,p]),(0,b.jsx)(m.Root,{...s,children:(0,b.jsx)(ee,{scope:t,open:i,onOpenChange:p,content:u,onContentChange:d,children:(0,b.jsx)(Pe,{scope:t,contentId:(0,h.useId)(),triggerId:(0,h.useId)(),trigger:l,onTriggerChange:c,children:n})})})};Be.displayName=Ve;var He="MenuSubTrigger",We=r.forwardRef((e,t)=>{const n=te(He,e.__scopeMenu),o=re(He,e.__scopeMenu),s=Le(He,e.__scopeMenu),l=pe(He,e.__scopeMenu),c=r.useRef(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:d}=l,p={__scopeMenu:e.__scopeMenu},f=r.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return r.useEffect(()=>f,[f]),r.useEffect(()=>{const e=u.current;return()=>{window.clearTimeout(e),d(null)}},[u,d]),(0,b.jsx)(ae,{asChild:!0,...p,children:(0,b.jsx)(Se,{id:s.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":s.contentId,"data-state":Ue(n.open
23),...e,ref:(0,a.composeRefs)(t,s.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,i.composeEventHandlers)(e.onPointerMove,qe(t=>{l.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||c.current||(l.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:(0,i.composeEventHandlers)(e.onPointerLeave,qe(e=>{f();const t=n.content?.getBoundingClientRect();if(t){const r=n.content?.dataset.side,i="right"===r,a=i?-5:5,o=t[i?"left":"right"],s=t[i?"right":"left"];l.onPointerGraceIntentChange({area:[{x:e.clientX+a,y:e.clientY},{x:o,y:t.top},{x:s,y:t.top},{x:s,y:t.bottom},{x:o,y:t.bottom}],side:r}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(e),e.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:(0,i.composeEventHandlers)(e.onKeyDown,t=>{const r=""!==l.searchRef.current;e.disabled||r&&" "===t.key||Y[o.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())})})})});We.displayName=He;var ze="MenuSubContent",Ye=r.forwardRef((e,t)=>{const n=le(ue,e.__scopeMenu),{forceMount:o=n.forceMount,...s}=e,l=te(ue,e.__scopeMenu),c=re(ue,e.__scopeMenu),u=Le(ze,e.__scopeMenu),d=r.useRef(null),p=(0,a.useComposedRefs)(t,d);return(0,b.jsx)(G.Provider,{scope:e.__scopeMenu,children:(0,b.jsx)(y.Presence,{present:o||l.open,children:(0,b.jsx)(G.Slot,{scope:e.__scopeMenu,children:(0,b.jsx)(ye,{id:u.contentId,"aria-labelledby":u.triggerId,...s,ref:p,align:"start",side:"rtl"===c.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{c.isUsingKeyboardRef.current&&d.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,i.composeEventHandlers)(e.onFocusOutside,e=>{e.target!==u.trigger&&l.onOpenChange(!1)}),onEscapeKeyDown:(0,i.composeEventHandlers)(e.onEscapeKeyDown,e=>{c.onClose(),e.preventDefault()}),onKeyDown:(0,i.composeEventHandlers)(e.onKeyDown,e=>{const t=e.currentTarget.contains(e.target),n=U[c.dir].includes(e.key);t&&n&&(l.onOpenChange(!1),u.trigger?.focus(),e.preventDefault())})})})})})});function Ue(e){return e?"open":"closed"}function Xe(e){return"indeterminate"===e}function Ge(e){return Xe(e)?"indeterminate":e?"checked":"unchecked"}function qe(e){return t=>"mouse"===t.pointerType?e(t):void 0}Ye.displayName=ze;var Je=ie,$e=ae,Ke=ce,Ze=fe,Qe=ve,et=be,tt=ke,nt=xe,rt=Te,it=Re,at=je,ot=Fe,st=Me,lt=Be,ct=We,ut=Ye,dt="DropdownMenu",[pt,ft]=(0,o.createContextScope)(dt,[K]),ht=K(),[mt,gt]=pt(dt),yt=e=>{const{__scopeDropdownMenu:t,children:n,dir:i,open:a,defaultOpen:o,onOpenChange:l,modal:c=!0}=e,u=ht(t),d=r.useRef(null),[p,f]=(0,s.useControllableState)({prop:a,defaultProp:o??!1,onChange:l,caller:dt});return(0,b.jsx)(mt,{scope:t,triggerId:(0,h.useId)(),triggerRef:d,contentId:(0,h.useId)(),open:p,onOpenChange:f,onOpenToggle:r.useCallback(()=>f(e=>!e),[f]),modal:c,children:(0,b.jsx)(Je,{...u,open:p,onOpenChange:f,dir:i,modal:c,children:n})})};yt.displayName=dt;var vt="DropdownMenuTrigger",bt=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,s=gt(vt,n),c=ht(n);return(0,b.jsx)($e,{asChild:!0,...c,children:(0,b.jsx)(l.Primitive.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:(0,a.composeRefs)(t,s.triggerRef),onPointerDown:(0,i.composeEventHandlers)(e.onPointerDown,e=>{r||0!==e.button||!1!==e.ctrlKey||(s.onOpenToggle(),s.open||e.preventDefault())}),onKeyDown:(0,i.composeEventHandlers)(e.onKeyDown,e=>{r||(["Enter"," "].includes(e.key)&&s.onOpenToggle(),"ArrowDown"===e.key&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});bt.displayName=vt;var _t=e=>{const{__scopeDropdownMenu:t,...n}=e,r=ht(t);return(0,b.jsx)(Ke,{...r,...n})};_t.displayName="DropdownMenuPortal";var wt="DropdownMenuContent",kt=r.forwardRef((e,t)=>
23{const{__scopeDropdownMenu:n,...a}=e,o=gt(wt,n),s=ht(n),l=r.useRef(!1);return(0,b.jsx)(Ze,{id:o.contentId,"aria-labelledby":o.triggerId,...s,...a,ref:t,onCloseAutoFocus:(0,i.composeEventHandlers)(e.onCloseAutoFocus,e=>{l.current||o.triggerRef.current?.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:(0,i.composeEventHandlers)(e.onInteractOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;o.modal&&!r||(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});kt.displayName=wt;var St=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=ht(n);return(0,b.jsx)(Qe,{...i,...r,ref:t})});St.displayName="DropdownMenuGroup";var xt=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=ht(n);return(0,b.jsx)(et,{...i,...r,ref:t})});xt.displayName="DropdownMenuLabel";var Ct=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=ht(n);return(0,b.jsx)(tt,{...i,...r,ref:t})});Ct.displayName="DropdownMenuItem";var Et=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=ht(n);return(0,b.jsx)(nt,{...i,...r,ref:t})});Et.displayName="DropdownMenuCheckboxItem";var At=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=ht(n);return(0,b.jsx)(rt,{...i,...r,ref:t})});At.displayName="DropdownMenuRadioGroup";var Tt=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=ht(n);return(0,b.jsx)(it,{...i,...r,ref:t})});Tt.displayName="DropdownMenuRadioItem";var It=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=ht(n);return(0,b.jsx)(at,{...i,...r,ref:t})});It.displayName="DropdownMenuItemIndicator";var Rt=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=ht(n);return(0,b.jsx)(ot,{...i,...r,ref:t})});Rt.displayName="DropdownMenuSeparator";var Ot=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=ht(n);return(0,b.jsx)(st,{...i,...r,ref:t})});Ot.displayName="DropdownMenuArrow";var Dt=e=>{const{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:i,defaultOpen:a}=e,o=ht(t),[l,c]=(0,s.useControllableState)({prop:r,defaultProp:a??!1,onChange:i,caller:"DropdownMenuSub"});return(0,b.jsx)(lt,{...o,open:l,onOpenChange:c,children:n})},Nt=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=ht(n);return(0,b.jsx)(ct,{...i,...r,ref:t})});Nt.displayName="DropdownMenuSubTrigger";var jt=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=ht(n);return(0,b.jsx)(ut,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});jt.displayName="DropdownMenuSubContent";var Ft=yt,Mt=bt,Vt=_t,Pt=kt,Lt=St,Bt=xt,Ht=Ct,Wt=Et,zt=At,Yt=Tt,Ut=It,Xt=Rt,Gt=Ot,qt=Dt,Jt=Nt,$t=jt},88698(e,t,n){"use strict";n.r(t),n.d(t,{FocusGuards:()=>a,Root:()=>a,useFocusGuards:()=>o});var r=n(36665),i=0;function a(e){return o(),e.children}function o(){r.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??s()),document.body.insertAdjacentElement("beforeend",e[1]??s()),i++,()=>{1===i&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),i--}},[])}function s(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},17424(e,t,n){"use strict";n.r(t),n.d(t,{FocusScope:()=>d,Root:()=>v});var r=n(36665),i=n(74682),a=n(35804),o=n(79302),s=n(60397),l="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",u={bubbles:!1,cancelable:!0},d=r.forwardRef((e,t)=>
vendor: 4,487 bytes, line 23
23{const{loop:n=!1,trapped:d=!1,onMountAutoFocus:h,onUnmountAutoFocus:y,...v}=e,[b,_]=r.useState(null),w=(0,o.useCallbackRef)(h),k=(0,o.useCallbackRef)(y),S=r.useRef(null),x=(0,i.useComposedRefs)(t,e=>_(e)),C=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(d){let e=function(e){if(C.paused||!b)return;const t=e.target;b.contains(t)?S.current=t:m(S.current,{select:!0})},t=function(e){if(C.paused||!b)return;const t=e.relatedTarget;null!==t&&(b.contains(t)||m(S.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&m(b)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return b&&r.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[d,b,C.paused]),r.useEffect(()=>{if(b){g.add(C);const t=document.activeElement;if(!b.contains(t)){const n=new CustomEvent(l,u);b.addEventListener(l,w),b.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(m(r,{select:t}),document.activeElement!==n)return}((e=p(b),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&m(b))}return()=>{b.removeEventListener(l,w),setTimeout(()=>{const e=new CustomEvent(c,u);b.addEventListener(c,k),b.dispatchEvent(e),e.defaultPrevented||m(t??document.body,{select:!0}),b.removeEventListener(c,k),g.remove(C)},0)}}var e},[b,w,k,C]);const E=r.useCallback(e=>{if(!n&&!d)return;if(C.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){const t=e.currentTarget,[i,a]=function(e){const t=p(e),n=f(t,e),r=f(t.reverse(),e);return[n,r]}(t);i&&a?e.shiftKey||r!==a?e.shiftKey&&r===i&&(e.preventDefault(),n&&m(a,{select:!0})):(e.preventDefault(),n&&m(i,{select:!0})):r===t&&e.preventDefault()}},[n,d,C.paused]);return(0,s.jsx)(a.Primitive.div,{tabIndex:-1,...v,ref:x,onKeyDown:E})});function p(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function f(e,t){for(const n of e)if(!h(n,{upTo:t}))return n}function h(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function m(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}d.displayName="FocusScope";var g=function(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=y(e,t),e.unshift(t)},remove(t){e=y(e,t),e[0]?.resume()}}}();function y(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}var v=d},67062(e,t,n){"use strict";var r;n.r(t),n.d(t,{useId:()=>l});var i=n(36665),a=n(70507),o=(r||(r=n.t(i,2)))[" useId ".trim().toString()]||(()=>{}),s=0;function l(e){const[t,n]=i.useState(o());return(0,a.useLayoutEffect)(()=>{e||n(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},18528(e,t,n){"use strict";n.r(t),n.d(t,{Anchor:()=>X,Arrow:()=>K,Close:()=>$,Content:()=>J,Popover:()=>E,PopoverAnchor:()=>T,PopoverArrow:()=>z,PopoverClose:()=>W,PopoverContent:()=>M,PopoverPortal:()=>j,PopoverTrigger:()=>R,Portal:()=>q,Root:()=>U,Trigger:()=>G,createPopoverScope:()=>k});var r=n(36665),i=n(58270),a=n(74682),o=n(21802),s=n(55785),l=n(88698),c=n(17424),u=n(67062),d=n(6495),p=n(2805),f=n(9282),h=n(35804),m=n(92559),g=n(79940),y=n(59348),v=n(79578),b=n(60397),_="Popover",[w,k]=(0,o.createContextScope)(_,[d.createPopperScope]),S=(0,d.createPopperScope)(),[x,C]=w(_),E=e=>{const{__scopePopover:t,children:n,open:i,defaultOpen:a,onOpenChange:o,modal:s=!1}=e,l=S(t),c=r.useRef(null),[p,f]=r.useState(!1),[h,m]=(0,g.useControllableState)({prop:i,defaultProp:a??!1,onChange:o,caller:_});return(0,b.jsx)(d.Root,{...l,children:(0,b.jsx)(x,{scope:t,contentId:(0,u.useId)(),triggerRef:c,open:h,onOpenChange:m,onOpenToggle:r.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:p,onCustomAnchorAdd:r.useCallback(()=>f(!0),[]),onCustomAnchorRemove:r.useCallback(()=>f(!1),[]),modal:s,children:n})})};E.displayName=_;var A="PopoverAnchor",T=r.forwardRef((e,t)=>
23{const{__scopePopover:n,...i}=e,a=C(A,n),o=S(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:l}=a;return r.useEffect(()=>(s(),()=>l()),[s,l]),(0,b.jsx)(d.Anchor,{...o,...i,ref:t})});T.displayName=A;var I="PopoverTrigger",R=r.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=C(I,n),s=S(n),l=(0,a.useComposedRefs)(t,o.triggerRef),c=(0,b.jsx)(h.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Y(o.open),...r,ref:l,onClick:(0,i.composeEventHandlers)(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?c:(0,b.jsx)(d.Anchor,{asChild:!0,...s,children:c})});R.displayName=I;var O="PopoverPortal",[D,N]=w(O,{forceMount:void 0}),j=e=>{const{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=C(O,t);return(0,b.jsx)(D,{scope:t,forceMount:n,children:(0,b.jsx)(f.Presence,{present:n||a.open,children:(0,b.jsx)(p.Portal,{asChild:!0,container:i,children:r})})})};j.displayName=O;var F="PopoverContent",M=r.forwardRef((e,t)=>{const n=N(F,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=C(F,e.__scopePopover);return(0,b.jsx)(f.Presence,{present:r||a.open,children:a.modal?(0,b.jsx)(P,{...i,ref:t}):(0,b.jsx)(L,{...i,ref:t})})});M.displayName=F;var V=(0,m.createSlot)("PopoverContent.RemoveScroll"),P=r.forwardRef((e,t)=>{const n=C(F,e.__scopePopover),o=r.useRef(null),s=(0,a.useComposedRefs)(t,o),l=r.useRef(!1);return r.useEffect(()=>{const e=o.current;if(e)return(0,y.hideOthers)(e)},[]),(0,b.jsx)(v.default,{as:V,allowPinchZoom:!0,children:(0,b.jsx)(B,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),l.current||n.triggerRef.current?.focus()}),onPointerDownOutside:(0,i.composeEventHandlers)(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;l.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,i.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),L=r.forwardRef((e,t)=>{const n=C(F,e.__scopePopover),i=r.useRef(!1),a=r.useRef(!1);return(0,b.jsx)(B,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||n.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));const r=t.target,o=n.triggerRef.current?.contains(r);o&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),B=r.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:u,onPointerDownOutside:p,onFocusOutside:f,onInteractOutside:h,...m}=e,g=C(F,n),y=S(n);return(0,l.useFocusGuards)(),(0,b.jsx)(c.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,b.jsx)(s.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:h,onEscapeKeyDown:u,onPointerDownOutside:p,onFocusOutside:f,onDismiss:()=>g.onOpenChange(!1),children:(0,b.jsx)(d.Content,{"data-state":Y(g.open),role:"dialog",id:g.contentId,...y,...m,ref:t,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),H="PopoverClose",W=r.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,a=C(H,n);return(0,b.jsx)(h.Primitive.button,{type:"button",...r,ref:t,onClick:(0,i.composeEventHandlers)(e.onClick,()=>a.onOpenChange(!1))})});W.displayName=H;var z=r.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=S(n);return(0,b.jsx)(d.Arrow,{...i,...r,ref:t})});function Y(e){return e?"open":"closed"}z.displayName="PopoverArrow";var U=E,X=T,G=R,q=j,J=M,$=W,K=z},6495(e,t,n){"use strict";n.r(t),n.d(t,{ALIGN_OPTIONS:()=>m,Anchor:()=>F,Arrow:()=>V,Content:()=>M,Popper:()=>w,PopperAnchor:()=>S,PopperArrow:()=>R,PopperContent:()=>A,Root:()=>j,SIDE_OPTIONS:()=>h,createPopperScope:()=>v});var r=n(36665),i=n(4086),a=n(63053),o=n(35804),s=n(60397),l=r.forwardRef((e,t)=>
vendor: 4,984 bytes, line 23
23{const{children:n,width:r=10,height:i=5,...a}=e;return(0,s.jsx)(o.Primitive.svg,{...a,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,s.jsx)("polygon",{points:"0,0 30,0 15,10"})})});l.displayName="Arrow";var c=l,u=n(74682),d=n(21802),p=n(79302),f=n(70507);var h=["top","right","bottom","left"],m=["start","center","end"],g="Popper",[y,v]=(0,d.createContextScope)(g),[b,_]=y(g),w=e=>{const{__scopePopper:t,children:n}=e,[i,a]=r.useState(null);return(0,s.jsx)(b,{scope:t,anchor:i,onAnchorChange:a,children:n})};w.displayName=g;var k="PopperAnchor",S=r.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:i,...a}=e,l=_(k,n),c=r.useRef(null),d=(0,u.useComposedRefs)(t,c),p=r.useRef(null);return r.useEffect(()=>{const e=p.current;p.current=i?.current||c.current,e!==p.current&&l.onAnchorChange(p.current)}),i?null:(0,s.jsx)(o.Primitive.div,{...a,ref:d})});S.displayName=k;var x="PopperContent",[C,E]=y(x),A=r.forwardRef((e,t)=>{const{__scopePopper:n,side:l="bottom",sideOffset:c=0,align:d="center",alignOffset:h=0,arrowPadding:m=0,avoidCollisions:g=!0,collisionBoundary:y=[],collisionPadding:v=0,sticky:b="partial",hideWhenDetached:w=!1,updatePositionStrategy:k="optimized",onPlaced:S,...E}=e,A=_(x,n),[T,I]=r.useState(null),R=(0,u.useComposedRefs)(t,e=>I(e)),[j,F]=r.useState(null),M=function(e){const[t,n]=r.useState(void 0);return(0,f.useLayoutEffect)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver(t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let i,a;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(j),V=M?.width??0,P=M?.height??0,L=l+("center"!==d?"-"+d:""),B="number"===typeof v?v:{top:0,right:0,bottom:0,left:0,...v},H=Array.isArray(y)?y:[y],W=H.length>0,z={padding:B,boundary:H.filter(O),altBoundary:W},{refs:Y,floatingStyles:U,placement:X,isPositioned:G,middlewareData:q}=(0,i.useFloating)({strategy:"fixed",placement:L,whileElementsMounted:(...e)=>(0,a.autoUpdate)(...e,{animationFrame:"always"===k}),elements:{reference:A.anchor},middleware:[(0,i.offset)({mainAxis:c+P,alignmentAxis:h}),g&&(0,i.shift)({mainAxis:!0,crossAxis:!1,limiter:"partial"===b?(0,i.limitShift)():void 0,...z}),g&&(0,i.flip)({...z}),(0,i.size)({...z,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty("--radix-popper-available-width",`${n}px`),o.setProperty("--radix-popper-available-height",`${r}px`),o.setProperty("--radix-popper-anchor-width",`${i}px`),o.setProperty("--radix-popper-anchor-height",`${a}px`)}}),j&&(0,i.arrow)({element:j,padding:m}),D({arrowWidth:V,arrowHeight:P}),w&&(0,i.hide)({strategy:"referenceHidden",...z})]}),[J,$]=N(X),K=(0,p.useCallbackRef)(S);(0,f.useLayoutEffect)(()=>{G&&K?.()},[G,K]);const Z=q.arrow?.x,Q=q.arrow?.y,ee=0!==q.arrow?.centerOffset,[te,ne]=r.useState();return(0,f.useLayoutEffect)(()=>{T&&ne(window.getComputedStyle(T).zIndex)},[T]),(0,s.jsx)("div",{ref:Y.setFloating,"data-radix-popper-content-wrapper":"",style:{...U,transform:G?U.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:te,"--radix-popper-transform-origin":[q.transformOrigin?.x,q.transformOrigin?.y].join(" "),...q.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,s.jsx)(C,{scope:n,placedSide:J,onArrowChange:F,arrowX:Z,arrowY:Q,shouldHideArrow:ee,children:(0,s.jsx)(o.Primitive.div,{"data-side":J,"data-align":$,...E,ref:R,style:{...E.style,animation:G?void 0:"none"}})})})});A.displayName=x;var T="PopperArrow",I={top:"bottom",right:"left",bottom:"top",left:"right"},R=r.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,i=E(T,n),a=I[i.placedSide];return(0,s.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,s.jsx)(c,{...r,ref:t,style:{...r.style,display:"block"}})})});function O(e){return null!==e}R.displayName=T;var D=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:i}=t,a=0!==i.arrow?.centerOffset,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[l,c]=N(n),u={start:"0%",center:"50%",end:"100%"}[c],d=(i.arrow?.x??0)+o/2,p=(i.arrow?.y??0)+s/2;let f="",h="";return"bottom"===l?(f=a?u:`${d}px`,h=-s+"px"):"top"===l?(f=a?u:`${d}px`,h=`${r.floating.height+s}px`):"right"===l?(f=-s+"px",h=a?u:`${p}px`):"left"===l&&(f=`${r.floating.width+s}px`,h=a?u:`${p}px`),{data:{x:f,y:h}}}});function N(e){const[t,n="center"]=e.split("-");return[t,n]}var j=w,F=S,M=A,V=R}
vendor: 4,232 bytes, line 23
23,2805(e,t,n){"use strict";n.r(t),n.d(t,{Portal:()=>l,Root:()=>c});var r=n(36665),i=n(33672),a=n(35804),o=n(70507),s=n(60397),l=r.forwardRef((e,t)=>{const{container:n,...l}=e,[c,u]=r.useState(!1);(0,o.useLayoutEffect)(()=>u(!0),[]);const d=n||c&&globalThis?.document?.body;return d?i.createPortal((0,s.jsx)(a.Primitive.div,{...l,ref:t}),d):null});l.displayName="Portal";var c=l},9282(e,t,n){"use strict";n.r(t),n.d(t,{Presence:()=>o,Root:()=>l});var r=n(36665),i=n(74682),a=n(70507);var o=e=>{const{present:t,children:n}=e,o=function(e){const[t,n]=r.useState(),i=r.useRef(null),o=r.useRef(e),l=r.useRef("none"),c=e?"mounted":"unmounted",[u,d]=function(e,t){return r.useReducer((e,n)=>t[e][n]??e,e)}(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return r.useEffect(()=>{const e=s(i.current);l.current="mounted"===u?e:"none"},[u]),(0,a.useLayoutEffect)(()=>{const t=i.current,n=o.current;if(n!==e){const r=l.current,i=s(t);if(e)d("MOUNT");else if("none"===i||"none"===t?.display)d("UNMOUNT");else{d(n&&r!==i?"ANIMATION_OUT":"UNMOUNT")}o.current=e}},[e,d]),(0,a.useLayoutEffect)(()=>{if(t){let e;const n=t.ownerDocument.defaultView??window,r=r=>{const a=s(i.current).includes(CSS.escape(r.animationName));if(r.target===t&&a&&(d("ANIMATION_END"),!o.current)){const r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)})}},a=e=>{e.target===t&&(l.current=s(i.current))};return t.addEventListener("animationstart",a),t.addEventListener("animationcancel",r),t.addEventListener("animationend",r),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",a),t.removeEventListener("animationcancel",r),t.removeEventListener("animationend",r)}}d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:r.useCallback(e=>{i.current=e?getComputedStyle(e):null,n(e)},[])}}(t),l="function"===typeof n?n({present:o.isPresent}):r.Children.only(n),c=(0,i.useComposedRefs)(o.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;if(n)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n)return e.props.ref;return e.props.ref||e.ref}(l));return"function"===typeof n||o.isPresent?r.cloneElement(l,{ref:c}):null};function s(e){return e?.animationName||"none"}o.displayName="Presence";var l=o},35804(e,t,n){"use strict";n.r(t),n.d(t,{Primitive:()=>s,Root:()=>c,dispatchDiscreteCustomEvent:()=>l});var r=n(36665),i=n(33672),a=n(92559),o=n(60397),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{const n=(0,a.createSlot)(`Primitive.${t}`),i=r.forwardRef((e,r)=>{const{asChild:i,...a}=e,s=i?n:t;return"undefined"!==typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(s,{...a,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function l(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}var c=s},72488(e,t,n){"use strict";n.r(t),n.d(t,{Arrow:()=>Ge,Content:()=>Ve,Group:()=>Le,Icon:()=>Fe,Item:()=>He,ItemIndicator:()=>ze,ItemText:()=>We,Label:()=>Be,Portal:()=>Me,Root:()=>De,ScrollDownButton:()=>Ue,ScrollUpButton:()=>Ye,Select:()=>B,SelectArrow:()=>Ae,SelectContent:()=>q,SelectGroup:()=>ce,SelectIcon:()=>U,SelectItem:()=>me,SelectItemIndicator:()=>be,SelectItemText:()=>ye,SelectLabel:()=>de,SelectPortal:()=>X,SelectScrollDownButton:()=>Se,SelectScrollUpButton:()=>we,SelectSeparator:()=>Ce,SelectTrigger:()=>W,SelectValue:()=>Y,SelectViewport:()=>ae,Separator:()=>Xe,Trigger:()=>Ne,Value:()=>je,Viewport:()=>Pe,createSelectScope:()=>j});var r=n(36665),i=n(33672);function a(e,[t,n]){return Math.min(n,Math.max(t,e))}var o=n(58270),s=n(99571),l=n(74682),c=n(21802),u=n(72912),d=n(55785),p=n(88698),f=n(17424),h=n(67062),m=n(6495),g=n(2805),y=n(35804),v=n(92559),b=n(79302),_=n(79940),w=n(70507);var k=n(60397),S=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),x=r.forwardRef((e,t)=>
23(0,k.jsx)(y.Primitive.span,{...e,ref:t,style:{...S,...e.style}}));x.displayName="VisuallyHidden";var C=n(59348),E=n(79578),A=[" ","Enter","ArrowUp","ArrowDown"],T=[" ","Enter"],I="Select",[R,O,D]=(0,s.createCollection)(I),[N,j]=(0,c.createContextScope)(I,[D,m.createPopperScope]),F=(0,m.createPopperScope)(),[M,V]=N(I),[P,L]=N(I),B=e=>{const{__scopeSelect:t,children:n,open:i,defaultOpen:a,onOpenChange:o,value:s,defaultValue:l,onValueChange:c,dir:d,name:p,autoComplete:f,disabled:g,required:y,form:v}=e,b=F(t),[w,S]=r.useState(null),[x,C]=r.useState(null),[E,A]=r.useState(!1),T=(0,u.useDirection)(d),[O,D]=(0,_.useControllableState)({prop:i,defaultProp:a??!1,onChange:o,caller:I}),[N,j]=(0,_.useControllableState)({prop:s,defaultProp:l,onChange:c,caller:I}),V=r.useRef(null),L=!w||(v||!!w.closest("form")),[B,H]=r.useState(new Set),W=Array.from(B).map(e=>e.props.value).join(";");return(0,k.jsx)(m.Root,{...b,children:(0,k.jsxs)(M,{required:y,scope:t,trigger:w,onTriggerChange:S,valueNode:x,onValueNodeChange:C,valueNodeHasChildren:E,onValueNodeHasChildrenChange:A,contentId:(0,h.useId)(),value:N,onValueChange:j,open:O,onOpenChange:D,dir:T,triggerPointerDownPosRef:V,disabled:g,children:[(0,k.jsx)(R.Provider,{scope:t,children:(0,k.jsx)(P,{scope:e.__scopeSelect,onNativeOptionAdd:r.useCallback(e=>{H(t=>new Set(t).add(e))},[]),onNativeOptionRemove:r.useCallback(e=>{H(t=>{const n=new Set(t);return n.delete(e),n})},[]),children:n})}),L?(0,k.jsxs)(Te,{"aria-hidden":!0,required:y,tabIndex:-1,name:p,autoComplete:f,value:N,onChange:e=>j(e.target.value),disabled:g,form:v,children:[void 0===N?(0,k.jsx)("option",{value:""}):null,Array.from(B)]},W):null]})})};B.displayName=I;var H="SelectTrigger",W=r.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:i=!1,...a}=e,s=F(n),c=V(H,n),u=c.disabled||i,d=(0,l.useComposedRefs)(t,c.onTriggerChange),p=O(n),f=r.useRef("touch"),[h,g,v]=Re(e=>{const t=p().filter(e=>!e.disabled),n=t.find(e=>e.value===c.value),r=Oe(t,e,n);void 0!==r&&c.onValueChange(r.value)}),b=e=>{u||(c.onOpenChange(!0),v()),e&&(c.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,k.jsx)(m.Anchor,{asChild:!0,...s,children:(0,k.jsx)(y.Primitive.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:u,"data-disabled":u?"":void 0,"data-placeholder":Ie(c.value)?"":void 0,...a,ref:d,onClick:(0,o.composeEventHandlers)(a.onClick,e=>{e.currentTarget.focus(),"mouse"!==f.current&&b(e)}),onPointerDown:(0,o.composeEventHandlers)(a.onPointerDown,e=>{f.current=e.pointerType;const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(b(e),e.preventDefault())}),onKeyDown:(0,o.composeEventHandlers)(a.onKeyDown,e=>{const t=""!==h.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||g(e.key),t&&" "===e.key||A.includes(e.key)&&(b(),e.preventDefault())})})})});W.displayName=H;var z="SelectValue",Y=r.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:i,children:a,placeholder:o="",...s}=e,c=V(z,n),{onValueNodeHasChildrenChange:u}=c,d=void 0!==a,p=(0,l.useComposedRefs)(t,c.onValueNodeChange);return(0,w.useLayoutEffect)(()=>{u(d)},[u,d]),(0,k.jsx)(y.Primitive.span,{...s,ref:p,style:{pointerEvents:"none"},children:Ie(c.value)?(0,k.jsx)(k.Fragment,{children:o}):a})});Y.displayName=z;var U=r.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...i}=e;return(0,k.jsx)(y.Primitive.span,{"aria-hidden":!0,...i,ref:t,children:r||"\u25bc"})});U.displayName="SelectIcon";var X=e=>(0,k.jsx)(g.Portal,{asChild:!0,...e});X.displayName="SelectPortal";var G="SelectContent",q=r.forwardRef((e,t)=>{const n=V(G,e.__scopeSelect),[a,o]=r.useState();if((0,w.useLayoutEffect)(()=>{o(new DocumentFragment)},[]),!n.open){const t=a;return t?i.createPortal((0,k.jsx)($,{scope:e.__scopeSelect,children:(0,k.jsx)(R.Slot,{scope:e.__scopeSelect,children:(0,k.jsx)("div",{children:e.children})})}),t):null}return(0,k.jsx)(Q,{...e,ref:t})});q.displayName=G;var J=10,[$,K]=N(G),Z=(0,v.createSlot)("SelectContent.RemoveScroll"),Q=r.forwardRef((e,t)=>
23{const{__scopeSelect:n,position:i="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:s,onPointerDownOutside:c,side:u,sideOffset:h,align:m,alignOffset:g,arrowPadding:y,collisionBoundary:v,collisionPadding:b,sticky:_,hideWhenDetached:w,avoidCollisions:S,...x}=e,A=V(G,n),[T,I]=r.useState(null),[R,D]=r.useState(null),N=(0,l.useComposedRefs)(t,e=>I(e)),[j,F]=r.useState(null),[M,P]=r.useState(null),L=O(n),[B,H]=r.useState(!1),W=r.useRef(!1);r.useEffect(()=>{if(T)return(0,C.hideOthers)(T)},[T]),(0,p.useFocusGuards)();const z=r.useCallback(e=>{const[t,...n]=L().map(e=>e.ref.current),[r]=n.slice(-1),i=document.activeElement;for(const a of e){if(a===i)return;if(a?.scrollIntoView({block:"nearest"}),a===t&&R&&(R.scrollTop=0),a===r&&R&&(R.scrollTop=R.scrollHeight),a?.focus(),document.activeElement!==i)return}},[L,R]),Y=r.useCallback(()=>z([j,T]),[z,j,T]);r.useEffect(()=>{B&&Y()},[B,Y]);const{onOpenChange:U,triggerPointerDownPosRef:X}=A;r.useEffect(()=>{if(T){let e={x:0,y:0};const t=t=>{e={x:Math.abs(Math.round(t.pageX)-(X.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(X.current?.y??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():T.contains(n.target)||U(!1),document.removeEventListener("pointermove",t),X.current=null};return null!==X.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[T,U,X]),r.useEffect(()=>{const e=()=>U(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[U]);const[q,J]=Re(e=>{const t=L().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=Oe(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),K=r.useCallback((e,t,n)=>{const r=!W.current&&!n;(void 0!==A.value&&A.value===t||r)&&(F(e),r&&(W.current=!0))},[A.value]),Q=r.useCallback(()=>T?.focus(),[T]),ne=r.useCallback((e,t,n)=>{const r=!W.current&&!n;(void 0!==A.value&&A.value===t||r)&&P(e)},[A.value]),re="popper"===i?te:ee,ie=re===te?{side:u,sideOffset:h,align:m,alignOffset:g,arrowPadding:y,collisionBoundary:v,collisionPadding:b,sticky:_,hideWhenDetached:w,avoidCollisions:S}:{};return(0,k.jsx)($,{scope:n,content:T,viewport:R,onViewportChange:D,itemRefCallback:K,selectedItem:j,onItemLeave:Q,itemTextRefCallback:ne,focusSelectedItem:Y,selectedItemText:M,position:i,isPositioned:B,searchRef:q,children:(0,k.jsx)(E.default,{as:Z,allowPinchZoom:!0,children:(0,k.jsx)(f.FocusScope,{asChild:!0,trapped:A.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,o.composeEventHandlers)(a,e=>{A.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,k.jsx)(d.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>A.onOpenChange(!1),children:(0,k.jsx)(re,{role:"listbox",id:A.contentId,"data-state":A.open?"open":"closed",dir:A.dir,onContextMenu:e=>e.preventDefault(),...x,...ie,onPlaced:()=>H(!0),ref:N,style:{display:"flex",flexDirection:"column",outline:"none",...x.style},onKeyDown:(0,o.composeEventHandlers)(x.onKeyDown,e=>{const t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||J(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=L().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){const n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>z(t)),e.preventDefault()}})})})})})})});Q.displayName="SelectContentImpl";var ee=r.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:i,...o}=e,s=V(G,n),c=K(G,n),[u,d]=r.useState(null),[p,f]=r.useState(null),h=(0,l.useComposedRefs)(t,e=>f(e)),m=O(n),g=r.useRef(!1),v=r.useRef(!0),{viewport:b,selectedItem:_,selectedItemText:S,focusSelectedItem:x}=c,C=r.useCallback(()=>{if(s.trigger&&s.valueNode&&u&&p&&b&&_&&S){const e=s.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),n=s.valueNode.getBoundingClientRect(),r=S.getBoundingClientRect();if("rtl"!==s.dir){const i=r.left-t.left,o=n.left-i,s=e.left-o,l=e.width+s,c=Math.max(l,t.width),d=window.innerWidth-J,p=a(o,[J,Math.max(J,d-c)]);u.style.minWidth=l+"px",u.style.left=p+"px"}else{const i=t.right-r.right,o=window.innerWidth-n.right-i,s=window.innerWidth-e.right-o,l=e.width+s,c=Math.max(l,t.width),d=window.innerWidth-J,p=a(o,[J,Math.max(J,d-c)]);u.style.minWidth=l+"px",u.style.right=p+"px"}const o=m(),l=window.innerHeight-2*J,c=b.scrollHeight,d=window.getComputedStyle(p),f=parseInt(d.borderTopWidth,10),h=
23parseInt(d.paddingTop,10),y=parseInt(d.borderBottomWidth,10),v=f+h+c+parseInt(d.paddingBottom,10)+y,w=Math.min(5*_.offsetHeight,v),k=window.getComputedStyle(b),x=parseInt(k.paddingTop,10),C=parseInt(k.paddingBottom,10),E=e.top+e.height/2-J,A=l-E,T=_.offsetHeight/2,I=f+h+(_.offsetTop+T),R=v-I;if(I<=E){const e=o.length>0&&_===o[o.length-1].ref.current;u.style.bottom="0px";const t=p.clientHeight-b.offsetTop-b.offsetHeight,n=I+Math.max(A,T+(e?C:0)+t+y);u.style.height=n+"px"}else{const e=o.length>0&&_===o[0].ref.current;u.style.top="0px";const t=Math.max(E,f+b.offsetTop+(e?x:0)+T)+R;u.style.height=t+"px",b.scrollTop=I-E+b.offsetTop}u.style.margin=`${J}px 0`,u.style.minHeight=w+"px",u.style.maxHeight=l+"px",i?.(),requestAnimationFrame(()=>g.current=!0)}},[m,s.trigger,s.valueNode,u,p,b,_,S,s.dir,i]);(0,w.useLayoutEffect)(()=>C(),[C]);const[E,A]=r.useState();(0,w.useLayoutEffect)(()=>{p&&A(window.getComputedStyle(p).zIndex)},[p]);const T=r.useCallback(e=>{e&&!0===v.current&&(C(),x?.(),v.current=!1)},[C,x]);return(0,k.jsx)(ne,{scope:n,contentWrapper:u,shouldExpandOnScrollRef:g,onScrollButtonChange:T,children:(0,k.jsx)("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:E},children:(0,k.jsx)(y.Primitive.div,{...o,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});ee.displayName="SelectItemAlignedPosition";var te=r.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:i=J,...a}=e,o=F(n);return(0,k.jsx)(m.Content,{...o,...a,ref:t,align:r,collisionPadding:i,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});te.displayName="SelectPopperPosition";var[ne,re]=N(G,{}),ie="SelectViewport",ae=r.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:i,...a}=e,s=K(ie,n),c=re(ie,n),u=(0,l.useComposedRefs)(t,s.onViewportChange),d=r.useRef(0);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:i}),(0,k.jsx)(R.Slot,{scope:n,children:(0,k.jsx)(y.Primitive.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:u,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:(0,o.composeEventHandlers)(a.onScroll,e=>{const t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=c;if(r?.current&&n){const e=Math.abs(d.current-t.scrollTop);if(e>0){const r=window.innerHeight-2*J,i=parseFloat(n.style.minHeight),a=parseFloat(n.style.height),o=Math.max(i,a);if(o<r){const i=o+e,a=Math.min(r,i),s=i-a;n.style.height=a+"px","0px"===n.style.bottom&&(t.scrollTop=s>0?s:0,n.style.justifyContent="flex-end")}}}d.current=t.scrollTop})})})]})});ae.displayName=ie;var oe="SelectGroup",[se,le]=N(oe),ce=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=(0,h.useId)();return(0,k.jsx)(se,{scope:n,id:i,children:(0,k.jsx)(y.Primitive.div,{role:"group","aria-labelledby":i,...r,ref:t})})});ce.displayName=oe;var ue="SelectLabel",de=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=le(ue,n);return(0,k.jsx)(y.Primitive.div,{id:i.id,...r,ref:t})});de.displayName=ue;var pe="SelectItem",[fe,he]=N(pe),me=r.forwardRef((e,t)=>{const{__scopeSelect:n,value:i,disabled:a=!1,textValue:s,...c}=e,u=V(pe,n),d=K(pe,n),p=u.value===i,[f,m]=r.useState(s??""),[g,v]=r.useState(!1),b=(0,l.useComposedRefs)(t,e=>d.itemRefCallback?.(e,i,a)),_=(0,h.useId)(),w=r.useRef("touch"),S=()=>{a||(u.onValueChange(i),u.onOpenChange(!1))};if(""===i)throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,k.jsx)(fe,{scope:n,value:i,disabled:a,textId:_,isSelected:p,onItemTextChange:r.useCallback(e=>{m(t=>t||(e?.textContent??"").trim())},[]),children:(0,k.jsx)(R.ItemSlot,{scope:n,value:i,disabled:a,textValue:f,children:(0,k.jsx)(y.Primitive.div,{role:"option","aria-labelledby":_,"data-highlighted":g?"":void 0,"aria-selected":p&&g,"data-state":p?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...c,ref:b,onFocus:(0,o.composeEventHandlers)(c.onFocus,()=>v(!0)),onBlur:(0,o.composeEventHandlers)(c.onBlur,()=>v(!1)),onClick:(0,o.composeEventHandlers)(c.onClick,()=>{"mouse"!==w.current&&S()}),onPointerUp:(0,o.composeEventHandlers)(c.onPointerUp,()=>{"mouse"===w.current&&S()}),onPointerDown:(0,o.composeEventHandlers)(c.onPointerDown,e=>{w.current=e.pointerType}),onPointerMove:(0,o.composeEventHandlers)(c.onPointerMove,e=>{w.current=e.pointerType,a?d.onItemLeave?.():"mouse"===w.current&&e.currentTarget.focu
23s({preventScroll:!0})}),onPointerLeave:(0,o.composeEventHandlers)(c.onPointerLeave,e=>{e.currentTarget===document.activeElement&&d.onItemLeave?.()}),onKeyDown:(0,o.composeEventHandlers)(c.onKeyDown,e=>{""!==d.searchRef?.current&&" "===e.key||(T.includes(e.key)&&S()," "===e.key&&e.preventDefault())})})})})});me.displayName=pe;var ge="SelectItemText",ye=r.forwardRef((e,t)=>{const{__scopeSelect:n,className:a,style:o,...s}=e,c=V(ge,n),u=K(ge,n),d=he(ge,n),p=L(ge,n),[f,h]=r.useState(null),m=(0,l.useComposedRefs)(t,e=>h(e),d.onItemTextChange,e=>u.itemTextRefCallback?.(e,d.value,d.disabled)),g=f?.textContent,v=r.useMemo(()=>(0,k.jsx)("option",{value:d.value,disabled:d.disabled,children:g},d.value),[d.disabled,d.value,g]),{onNativeOptionAdd:b,onNativeOptionRemove:_}=p;return(0,w.useLayoutEffect)(()=>(b(v),()=>_(v)),[b,_,v]),(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(y.Primitive.span,{id:d.textId,...s,ref:m}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?i.createPortal(s.children,c.valueNode):null]})});ye.displayName=ge;var ve="SelectItemIndicator",be=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return he(ve,n).isSelected?(0,k.jsx)(y.Primitive.span,{"aria-hidden":!0,...r,ref:t}):null});be.displayName=ve;var _e="SelectScrollUpButton",we=r.forwardRef((e,t)=>{const n=K(_e,e.__scopeSelect),i=re(_e,e.__scopeSelect),[a,o]=r.useState(!1),s=(0,l.useComposedRefs)(t,i.onScrollButtonChange);return(0,w.useLayoutEffect)(()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollTop>0;o(e)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),a?(0,k.jsx)(xe,{...e,ref:s,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});we.displayName=_e;var ke="SelectScrollDownButton",Se=r.forwardRef((e,t)=>{const n=K(ke,e.__scopeSelect),i=re(ke,e.__scopeSelect),[a,o]=r.useState(!1),s=(0,l.useComposedRefs)(t,i.onScrollButtonChange);return(0,w.useLayoutEffect)(()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollHeight-t.clientHeight,n=Math.ceil(t.scrollTop)<e;o(n)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),a?(0,k.jsx)(xe,{...e,ref:s,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});Se.displayName=ke;var xe=r.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:i,...a}=e,s=K("SelectScrollButton",n),l=r.useRef(null),c=O(n),u=r.useCallback(()=>{null!==l.current&&(window.clearInterval(l.current),l.current=null)},[]);return r.useEffect(()=>()=>u(),[u]),(0,w.useLayoutEffect)(()=>{const e=c().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[c]),(0,k.jsx)(y.Primitive.div,{"aria-hidden":!0,...a,ref:t,style:{flexShrink:0,...a.style},onPointerDown:(0,o.composeEventHandlers)(a.onPointerDown,()=>{null===l.current&&(l.current=window.setInterval(i,50))}),onPointerMove:(0,o.composeEventHandlers)(a.onPointerMove,()=>{s.onItemLeave?.(),null===l.current&&(l.current=window.setInterval(i,50))}),onPointerLeave:(0,o.composeEventHandlers)(a.onPointerLeave,()=>{u()})})}),Ce=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return(0,k.jsx)(y.Primitive.div,{"aria-hidden":!0,...r,ref:t})});Ce.displayName="SelectSeparator";var Ee="SelectArrow",Ae=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=F(n),a=V(Ee,n),o=K(Ee,n);return a.open&&"popper"===o.position?(0,k.jsx)(m.Arrow,{...i,...r,ref:t}):null});Ae.displayName=Ee;var Te=r.forwardRef(({__scopeSelect:e,value:t,...n},i)=>{const a=r.useRef(null),o=(0,l.useComposedRefs)(i,a),s=function(e){const t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(t);return r.useEffect(()=>{const e=a.current;if(!e)return;const n=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(n,"value").set;if(s!==t&&r){const n=new Event("change",{bubbles:!0});r.call(e,t),e.dispatchEvent(n)}},[s,t]),(0,k.jsx)(y.Primitive.select,{...n,style:{...S,...n.style},ref:o,defaultValue:t})});function Ie(e){return""===e||void 0===e}function Re(e){const t=(0,b.useCallbackRef)(e),n=r.useRef(""),i=r.useRef(0),a=r.useCallback(e=>{const r=n.current+e;t(r),function e(t){n.current=t,window.clearTimeout(i.current),""!==t&&(i.current=window.setTimeout(()=>e(""),1e3))}(r)},[t]),o=r.useCallback(()=>{n.current="",window.clearTimeout(i.current)},[]);return r.useEffect(()=>()=>window.clearTimeout(i.current),[]),[n,a,o]}function Oe(e,t,n){const r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let a=(o=e,s=Math.max(i,0),o.map((e,t)=>o[(s+t)%o.length]));var o,s;1===r.length&&(a=a.filter(e=>e!==n));const l=a.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return l!==n?l:void 0}Te.displayName="SelectBubbleInput";var De=B,Ne=W,je=Y,Fe=U,Me=X,Ve=q,Pe=ae,Le=ce,Be=de,He=me,We=ye,ze=be,Ye=we,Ue=Se,Xe=Ce,Ge=Ae},92559(e,t,n){"use strict";n.r(t),n.d(t,{Root:()=>s,Slot:()=>s,Slottable:()=>d,createSlot:()=>
23o,createSlottable:()=>u});var r=n(36665),i=n(74682),a=n(60397);function o(e){const t=l(e),n=r.forwardRef((e,n)=>{const{children:i,...o}=e,s=r.Children.toArray(i),l=s.find(p);if(l){const e=l.props.children,i=s.map(t=>t===l?r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null:t);return(0,a.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,a.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}var s=o("Slot");function l(e){const t=r.forwardRef((e,t)=>{const{children:n,...a}=e;if(r.isValidElement(n)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;if(n)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n)return e.props.ref;return e.props.ref||e.ref}(n),o=function(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{const t=a(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...a}:"className"===r&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}(a,n.props);return n.type!==r.Fragment&&(o.ref=t?(0,i.composeRefs)(t,e):e),r.cloneElement(n,o)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var c=Symbol("radix.slottable");function u(e){const t=({children:e})=>(0,a.jsx)(a.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=c,t}var d=u("Slottable");function p(e){return r.isValidElement(e)&&"function"===typeof e.type&&"__radixId"in e.type&&e.type.__radixId===c}},79302(e,t,n){"use strict";n.r(t),n.d(t,{useCallbackRef:()=>i});var r=n(36665);function i(e){const t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},79940(e,t,n){"use strict";n.r(t),n.d(t,{useControllableState:()=>c,useControllableStateReducer:()=>d});var r=n(36665),i=n.t(r,2),a=n(70507),o=i[" useEffectEvent ".trim().toString()],s=i[" useInsertionEffect ".trim().toString()];var l=i[" useInsertionEffect ".trim().toString()]||a.useLayoutEffect;function c({prop:e,defaultProp:t,onChange:n=()=>{},caller:i}){const[a,o,s]=function({defaultProp:e,onChange:t}){const[n,i]=r.useState(e),a=r.useRef(n),o=r.useRef(t);return l(()=>{o.current=t},[t]),r.useEffect(()=>{a.current!==n&&(o.current?.(n),a.current=n)},[n,a]),[n,i,o]}({defaultProp:t,onChange:n}),c=void 0!==e,u=c?e:a;{const t=r.useRef(void 0!==e);r.useEffect(()=>{const e=t.current;if(e!==c){const t=e?"controlled":"uncontrolled",n=c?"controlled":"uncontrolled";console.warn(`${i} is changing from ${t} to ${n}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=c},[c,i])}const d=r.useCallback(t=>{if(c){const n=function(e){return"function"===typeof e}(t)?t(e):t;n!==e&&s.current?.(n)}else o(t)},[c,e,o,s]);return[u,d]}var u=Symbol("RADIX:SYNC_STATE");function d(e,t,n,i){const{prop:l,defaultProp:c,onChange:d,caller:p}=t,f=void 0!==l,h=function(e){if("function"===typeof o)return o(e);const t=r.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return"function"===typeof s?s(()=>{t.current=e}):(0,a.useLayoutEffect)(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}(d);{const e=r.useRef(void 0!==l);r.useEffect(()=>{const t=e.current;if(t!==f){const e=t?"controlled":"uncontrolled",n=f?"controlled":"uncontrolled";console.warn(`${p} is changing from ${e} to ${n}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}e.current=f},[f,p])}const m=[{...n,state:c}];i&&m.push(i);const[g,y]=r.useReducer((t,n)=>{if(n.type===u)return{...t,state:n.state};const r=e(t,n);return f&&!Object.is(r.state,t.state)&&h(r.state),r},...m),v=g.state,b=r.useRef(v);r.useEffect(()=>{b.current!==v&&(b.current=v,f||h(v))},[h,v,b,f]);const _=r.useMemo(()=>void 0!==l?{...g,state:l}:g,[g,l]);return r.useEffect(()=>{f&&!Object.is(l,g.state)&&y({type:u,state:l})},[l,g.state,f]),[_,y]}},70507(e,t,n){"use strict";n.r(t),n.d(t,{useLayoutEffect:()=>i});var r=n(36665),i=globalThis?.document?r.useLayoutEffect:()=>{}},90164(e,t,n){"use strict";n.r(t),n.d(t,{createAsyncStoragePersister:()=>o});var r=n(54370);function i(){}function a(e,{interval:t=1e3,onError:n=i}={}){if("function"!==typeof e)throw new Error("argument is not function.");let a=0,o=null,s=!1,l=!1;return async(...i)=>{if(o=i,!l){for(l=!0;s;)await new Promise(e=>
23r.timeoutManager.setTimeout(e,t));for(;Date.now()<a;)await new Promise(e=>r.timeoutManager.setTimeout(e,a-Date.now()));l=!1,s=!0;try{await e(...o)}catch(c){try{n(c)}catch{}}a=Date.now()+t,s=!1}}}var o=({storage:e,key:t="REACT_QUERY_OFFLINE_CACHE",throttleTime:n=1e3,serialize:r=JSON.stringify,deserialize:o=JSON.parse,retry:s})=>{if(e){const i=async n=>{try{const i=await r(n);return void await e.setItem(t,i)}catch(i){return i}};return{persistClient:a(async e=>{let t=e,n=await i(t),r=0;for(;n&&t;)r++,t=await(s?.({persistedClient:t,error:n,errorCount:r})),t&&(n=await i(t))},{interval:n}),restoreClient:async()=>{const n=await e.getItem(t);if(n)return await o(n)},removeClient:()=>e.removeItem(t)}}return{persistClient:i,restoreClient:()=>Promise.resolve(void 0),removeClient:i}}},78540(e,t,n){"use strict";n.r(t),n.d(t,{environmentManager:()=>i});var r=n(32871),i=(()=>{let e=()=>r.isServer;return{isServer:()=>e(),setIsServer(t){e=t}}})()},62999(e,t,n){"use strict";n.r(t),n.d(t,{FocusManager:()=>i,focusManager:()=>a});var r=n(46989),i=class extends r.Subscribable{#u;#d;#p;constructor(){super(),this.#p=e=>{if("undefined"!==typeof window&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#d||this.setEventListener(this.#p)}onUnsubscribe(){this.hasListeners()||(this.#d?.(),this.#d=void 0)}setEventListener(e){this.#p=e,this.#d?.(),this.#d=e(e=>{"boolean"===typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#u!==e&&(this.#u=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"===typeof this.#u?this.#u:"hidden"!==globalThis.document?.visibilityState}},a=new i},14400(e,t,n){"use strict";n.r(t),n.d(t,{hasNextPage:()=>s,hasPreviousPage:()=>l,infiniteQueryBehavior:()=>i});var r=n(32871);function i(e){return{onFetch:(t,n)=>{const i=t.options,s=t.fetchOptions?.meta?.fetchMore?.direction,l=t.state.data?.pages||[],c=t.state.data?.pageParams||[];let u={pages:[],pageParams:[]},d=0;const p=async()=>{let n=!1;const p=(0,r.ensureQueryFn)(t.options,t.fetchOptions),f=async(e,i,a)=>{if(n)return Promise.reject(t.signal.reason);if(null==i&&e.pages.length)return Promise.resolve(e);const o=(()=>{const e={client:t.client,queryKey:t.queryKey,pageParam:i,direction:a?"backward":"forward",meta:t.options.meta};var o;return o=e,(0,r.addConsumeAwareSignal)(o,()=>t.signal,()=>n=!0),e})(),s=await p(o),{maxPages:l}=t.options,c=a?r.addToStart:r.addToEnd;return{pages:c(e.pages,s,l),pageParams:c(e.pageParams,i,l)}};if(s&&l.length){const e="backward"===s,t={pages:l,pageParams:c},n=(e?o:a)(i,t);u=await f(t,n,e)}else{const t=e??l.length;do{const e=0===d?c[0]??i.initialPageParam:a(i,u);if(d>0&&null==e)break;u=await f(u,e),d++}while(d<t)}return u};t.options.persister?t.fetchFn=()=>t.options.persister?.(p,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=p}}}function a(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function o(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function s(e,t){return!!t&&null!=a(e,t)}function l(e,t){return!(!t||!e.getPreviousPageParam)&&null!=o(e,t)}},29491(t,n,r){"use strict";r.r(n),r.d(n,{Mutation:()=>s,getDefaultState:()=>l});var i=r(78898),a=r(95003),o=r(39067),s=class extends a.Removable{#f;#h;#m;#g;constructor(e){super(),this.#f=e.client,this.mutationId=e.mutationId,this.#m=e.mutationCache,this.#h=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#h.includes(e)||(this.#h.push(e),this.clearGcTimeout(),this.#m.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#h=this.#h.filter(t=>t!==e),this.scheduleGc(),this.#m.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#h.length||("pending"===this.state.status?this.scheduleGc():this.#m.remove(this))}continue(){return this.#g?.continue()??this.execute(this.state.variables)}async execute(t){const n=()=>{this.#y({type:"continue"})},r={client:this.#f,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#g=(0,o.createRetryer)({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#y({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#y({type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#m.canRun(this)});const i="pending"===this.state.status,a=!this.#g.canStart();try{if(i)n();else{this.#y({type:"pending",variables:t,isPaused:a}),this.#m.config.onMutate&&await this.#m.config.onMutate(t,this,r);const e=await(this.options.onMutate?.(t,r));e!==this.state.context&&this.#y({type:"pending",context:e,variables:t,isPaused:a})}const e=await this.#g.start();return await(this.#m.config.onSuccess?.(e,t,this.state.context,this,r)),await(this.options.onSuccess?.(e,t,this.state.context,r)),await(this.#m.config.onSettled?.(e,null,this.state.variables,this.state.context,this,r)),await(this.options.onSettled?.(e,null,t,this.state.context,r)),this.#y({type:"success",data:e}),e}catch(s){try{await(this.#m.config.onError?.(s,t,this.state.context,this,r))}catch(e){Promise.reject(e)}try{await(this.options.onError?.(s,t,this.state.context,r))}catch(e){Promise.reject(e)}try{await(this.#m.config.onSettled?.(void 0,s,this.state.variables,this.state.context,this,r))}catch(e){Promise.reject(e)}try{await(this.options.onSettled?.(void 0,s,t,this.state.context,r))}catch(e){Promise.reject(e)}throw this.#y({type:"error",error:s}),s}finally{this.#m.runNext(this)}}#y(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};
23case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),i.notifyManager.batch(()=>{this.#h.forEach(t=>{t.onMutationUpdate(e)}),this.#m.notify({mutation:this,type:"updated",action:e})})}};function l(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},78898(e,t,n){"use strict";n.r(t),n.d(t,{createNotifyManager:()=>i,defaultScheduler:()=>r,notifyManager:()=>a});var r=n(54370).systemSetTimeoutZero;function i(){let e=[],t=0,n=e=>{e()},i=e=>{e()},a=r;const o=r=>{t?e.push(r):a(()=>{n(r)})};return{batch:r=>{let o;t++;try{o=r()}finally{t--,t||(()=>{const t=e;e=[],t.length&&a(()=>{i(()=>{t.forEach(e=>{n(e)})})})})()}return o},batchCalls:e=>(...t)=>{o(()=>{e(...t)})},schedule:o,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{i=e},setScheduler:e=>{a=e}}}var a=i()},57076(e,t,n){"use strict";n.r(t),n.d(t,{OnlineManager:()=>i,onlineManager:()=>a});var r=n(46989),i=class extends r.Subscribable{#v=!0;#d;#p;constructor(){super(),this.#p=e=>{if("undefined"!==typeof window&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#d||this.setEventListener(this.#p)}onUnsubscribe(){this.hasListeners()||(this.#d?.(),this.#d=void 0)}setEventListener(e){this.#p=e,this.#d?.(),this.#d=e(this.setOnline.bind(this))}setOnline(e){this.#v!==e&&(this.#v=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#v}},a=new i}
23,18686(e,t,n){"use strict";n.r(t),n.d(t,{Query:()=>l,fetchState:()=>c});var r=n(32871),i=n(78898),a=n(39067),o=n(95003),s=n(14400),l=class extends o.Removable{#b;#_;#w;#k;#f;#g;#S;#x;constructor(e){super(),this.#x=!1,this.#S=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#f=e.client,this.#k=this.#f.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#_=d(this.options),this.state=e.state??this.#_,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#b}get promise(){return this.#g?.promise}setOptions(e){if(this.options={...this.#S,...e},e?._type&&(this.#b=e._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){const e=d(this.options);void 0!==e.data&&(this.setState(u(e.data,e.dataUpdatedAt)),this.#_=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#k.remove(this)}setData(e,t){const n=(0,r.replaceData)(this.state.data,e,this.options);return this.#y({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#y({type:"setState",state:e})}cancel(e){const t=this.#g?.promise;return this.#g?.cancel(e),t?t.then(r.noop).catch(r.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#_}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==(0,r.resolveQueryBoolean)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===r.skipToken||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,r.resolveStaleTime)(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!(0,r.timeUntilStale)(this.state.dataUpdatedAt,e))}onFocus(){const e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#g?.continue()}onOnline(){const e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#g?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#k.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#g&&(this.#x||this.#C()?this.#g.cancel({revert:!0}):this.#g.cancelRetry()),this.scheduleGc()),this.#k.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#C(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#y({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&"rejected"!==this.#g?.status())if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#g)return this.#g.continueRetry(),this.#g.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}const n=new AbortController,i=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#x=!0,n.signal)})},o=()=>{const e=(0,r.ensureQueryFn)(this.options,t),n=(()=>{const e={client:this.#f,queryKey:this.queryKey,meta:this.meta};return i(e),e})();return this.#x=!1,this.options.persister?this.options.persister(e,n,this):e(n)},l=(()=>{const e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#f,state:this.state,fetchFn:o};return i(e),e})(),c="infinite"===this.#b?(0,s.infiniteQueryBehavior)(this.options.pages):this.options.behavior;c?.onFetch(l,this),this.#w=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===l.fetchOptions?.meta||this.#y({type:"fetch",meta:l.fetchOptions?.meta}),this.#g=(0,a.createRetryer)({initialPromise:t?.initialPromise,fn:l.fetchFn,onCancel:e=>{e instanceof a.CancelledError&&e.revert&&this.setState({...this.#w,fetchStatus:"idle"}),n.abort()},onFail:(e,t)=>{this.#y({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#y({type:"pause"})},onContinue:()=>{this.#y({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{const e=await this.#g.start();if(void 0===e)throw new Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#k.config.onSuccess?.(e,this),this.#k.config.onSettled?.(e,this.state.error,this),e}catch(u){if(u instanceof a.CancelledError){if(u.silent)return this.#g.promise;if(u.revert){if(void 0===this.state.data)throw u;return this.state.data}}throw this.#y({type:"error",error:u}),this.#k.config.onError?.(u,this),this.#k.config.onSettled?.(this.state.data,u,this),u}finally{this.scheduleGc()}}#y(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...c(t.data,this.options),fetchMeta:e.meta??null};case"success":const n={...t,...u(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#w=e.manual?n:void 0,n;case"error":const r=e.error;
23return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),i.notifyManager.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#k.notify({query:this,type:"updated",action:e})})}};function c(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,a.canFetch)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function u(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function d(e){const t="function"===typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"===typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}},96009(e,t,n){"use strict";n.r(t),n.d(t,{QueryClient:()=>f});var r=n(32871),i=n(18686),a=n(78898),o=n(46989),s=class extends o.Subscribable{constructor(e={}){super(),this.config=e,this.#E=new Map}#E;build(e,t,n){const a=t.queryKey,o=t.queryHash??(0,r.hashQueryKeyByOptions)(a,t);let s=this.get(o);return s||(s=new i.Query({client:e,queryKey:a,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(s)),s}add(e){this.#E.has(e.queryHash)||(this.#E.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#E.get(e.queryHash);t&&(e.destroy(),t===e&&this.#E.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){a.notifyManager.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#E.get(e)}getAll(){return[...this.#E.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(e=>(0,r.matchQuery)(t,e))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,r.matchQuery)(e,t)):t}notify(e){a.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){a.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){a.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},l=n(29491),c=class extends o.Subscribable{constructor(e={}){super(),this.config=e,this.#A=new Set,this.#T=new Map,this.#I=0}#A;#T;#I;build(e,t,n){const r=new l.Mutation({client:e,mutationCache:this,mutationId:++this.#I,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#A.add(e);const t=u(e);if("string"===typeof t){const n=this.#T.get(t);n?n.push(e):this.#T.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#A.delete(e)){const t=u(e);if("string"===typeof t){const n=this.#T.get(t);if(n)if(n.length>1){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#T.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=u(e);if("string"===typeof t){const n=this.#T.get(t),r=n?.find(e=>"pending"===e.state.status);return!r||r===e}return!0}runNext(e){const t=u(e);if("string"===typeof t){const n=this.#T.get(t)?.find(t=>
23t!==e&&t.state.isPaused);return n?.continue()??Promise.resolve()}return Promise.resolve()}clear(){a.notifyManager.batch(()=>{this.#A.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#A.clear(),this.#T.clear()})}getAll(){return Array.from(this.#A)}find(e){const t={exact:!0,...e};return this.getAll().find(e=>(0,r.matchMutation)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,r.matchMutation)(e,t))}notify(e){a.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(e=>e.state.isPaused);return a.notifyManager.batch(()=>Promise.all(e.map(e=>e.continue().catch(r.noop))))}};function u(e){return e.options.scope?.id}var d=n(62999),p=n(57076),f=class{#R;#m;#S;#O;#D;#N;#j;#F;constructor(e={}){this.#R=e.queryCache||new s,this.#m=e.mutationCache||new c,this.#S=e.defaultOptions||{},this.#O=new Map,this.#D=new Map,this.#N=0}mount(){this.#N++,1===this.#N&&(this.#j=d.focusManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#R.onFocus())}),this.#F=p.onlineManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#R.onOnline())}))}unmount(){this.#N--,0===this.#N&&(this.#j?.(),this.#j=void 0,this.#F?.(),this.#F=void 0)}isFetching(e){return this.#R.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#m.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#R.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#R.build(this,t),i=n.state.data;return void 0===i?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime((0,r.resolveStaleTime)(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return this.#R.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){const i=this.defaultQueryOptions({queryKey:e}),a=this.#R.get(i.queryHash),o=a?.state.data,s=(0,r.functionalUpdate)(t,o);if(void 0!==s)return this.#R.build(this,i).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return a.notifyManager.batch(()=>this.#R.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#R.get(t.queryHash)?.state}removeQueries(e){const t=this.#R;a.notifyManager.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){const n=this.#R;return a.notifyManager.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},i=a.notifyManager.batch(()=>this.#R.findAll(e).map(e=>e.cancel(n)));return Promise.all(i).then(r.noop).catch(r.noop)}invalidateQueries(e,t={}){return a.notifyManager.batch(()=>(this.#R.findAll(e).forEach(e=>{e.invalidate()}),"none"===e?.refetchType?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},i=a.notifyManager.batch(()=>this.#R.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(r.noop)),"paused"===e.state.fetchStatus?Promise.resolve():t}));return Promise.all(i).then(r.noop)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=this.#R.build(this,t);return n.isStaleByTime((0,r.resolveStaleTime)(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(r.noop).catch(r.noop)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(r.noop).catch(r.noop)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return p.onlineManager.isOnline()?this.#m.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#R}getMutationCache(){return this.#m}getDefaultOptions(){return this.#S}setDefaultOptions(e){this.#S=e}setQueryDefaults(e,t){this.#O.set((0,r.hashKey)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#O.values()],n={};return t.forEach(t=>{(0,r.partialMatchKey)(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#D.set((0,r.hashKey)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#D.values()],n={};return t.forEach(t=>{(0,r.partialMatchKey)(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#S.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,r.hashQueryKeyByOptions)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===r.skipToken&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#S.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#R.clear(),this.#m.clear()}}},58412(e,t,n){"use strict";n.r(t),n.d(t,{QueryObserver:()=>d});var r=n(62999),i=n(78540),a=n(78898),o=n(18686),s=n(46989),l=n(15619),c=n(32871),u=n(54370),d=class extends s.Subscribable{constructor(e,t){super(),this.options=t,this.#f=e,this.#M=null,this.#V=(0,l.pendingThenable)(),this.bindMethods(),this.setOptions(t)}#f;#P=void 0;#L=void 0;#B=void 0;#H;#W;#V;#M;#z;#Y;#U;#X;#G;#q;#J=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#P.addObserver(this),p(this.#P,this.options)?this.#$():this.updateResult(),this.#K())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return f(this.#P,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return f(this.#P,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#Z(),this.#Q(),this.#P.removeObserver(this)}setOptions(e){const t=this.options,n=this.#P;if(this.options=this.#f.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!==typeof this.options.enabled&&"function"!==typeof this.options.enabled&&"boolean"!==typeof(0,c.resolveQueryBoolean)(this.options.enabled,this.#P))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#ee(),this.#P.setOptions(this.options),t._defaulted&&!(0,c.shallowEqualObjects)(this.options,t)&&this.#f.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#P,observer:this});const r=this.hasListeners();r&&h(this.#P,n,this.options,t)&&this.#$(),this.updateResult(),!r||this.#P===n&&(0,c.resolveQueryBoolean)(this.options.enabled,this.#P)===(0,c.resolveQueryBoolean)(t.enabled,this.#P)&&(0,c.resolveStaleTime)(this.options.staleTime,this.#P)===(0,c.resolveStaleTime)(t.staleTime,this.#P)||this.#te();const i=this.#ne();!r||this.#P===n&&(0,c.resolveQueryBoolean)(this.options.enabled,this.#P)===(0,c.resolveQueryBoolean)(t.enabled,this.#P)&&i===this.#q||this.#re(i)}getOptimisticResult(e){const t=this.#f.getQueryCache().build(this.#f,e),n=this.createResult(t,e);return function(e,t){if(!(0,c.shallowEqualObjects)(e.getCurrentResult(),t))return!0;return!1}(this,n)&&(this.#B=n,this.#W=this.options,this.#H=this.#P.state),n}getCurrentResult(){return this.#B}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),"promise"===n&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#V.status||this.#V.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,n))})}trackProp(e){this.#J.add(e)}getCurrentQuery(){return this.#P}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#f.defaultQueryOptions(e),n=this.#f.getQueryCache().build(this.#f,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#$({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#B))}#$(e){this.#ee();let t=this.#P.fetch(this.options,e);return e?.throwOnError||(t=t.catch(c.noop)),t}#te(){this.#Z();const e=(0,c.resolveStaleTime)(this.options.staleTime,this.#P);if(i.environmentManager.isServer()||this.#B.isStale||!(0,c.isValidTimeout)(e))return;const t=(0,c.timeUntilStale)(this.#B.dataUpdatedAt,e)+1;this.#X=u.timeoutManager.setTimeout(()=>{this.#B.isStale||this.updateResult()},t)}#ne(){return("function"===typeof this.options.refetchInterval?this.options.refetchInterval(this.#P):this.options.refetchInterval)??!1}#re(e){this.#Q(),this.#q=e,!i.environmentManager.isServer()&&!1!==(0,c.resolveQueryBoolean)(this.options.enabled,this.#P)&&(0,c.isValidTimeout)(this.#q)&&0!==this.#q&&(this.#G=u.timeoutManager.setInterval(()=>
23{(this.options.refetchIntervalInBackground||r.focusManager.isFocused())&&this.#$()},this.#q))}#K(){this.#te(),this.#re(this.#ne())}#Z(){void 0!==this.#X&&(u.timeoutManager.clearTimeout(this.#X),this.#X=void 0)}#Q(){void 0!==this.#G&&(u.timeoutManager.clearInterval(this.#G),this.#G=void 0)}createResult(e,t){const n=this.#P,r=this.options,i=this.#B,a=this.#H,s=this.#W,u=e!==n?e.state:this.#L,{state:d}=e;let f,g={...d},y=!1;if(t._optimisticResults){const i=this.hasListeners(),a=!i&&p(e,t),s=i&&h(e,n,t,r);(a||s)&&(g={...g,...(0,o.fetchState)(d.data,e.options)}),"isRestoring"===t._optimisticResults&&(g.fetchStatus="idle")}let{error:v,errorUpdatedAt:b,status:_}=g;f=g.data;let w=!1;if(void 0!==t.placeholderData&&void 0===f&&"pending"===_){let e;i?.isPlaceholderData&&t.placeholderData===s?.placeholderData?(e=i.data,w=!0):e="function"===typeof t.placeholderData?t.placeholderData(this.#U?.state.data,this.#U):t.placeholderData,void 0!==e&&(_="success",f=(0,c.replaceData)(i?.data,e,t),y=!0)}if(t.select&&void 0!==f&&!w)if(i&&f===a?.data&&t.select===this.#z)f=this.#Y;else try{this.#z=t.select,f=t.select(f),f=(0,c.replaceData)(i?.data,f,t),this.#Y=f,this.#M=null}catch(T){this.#M=T}this.#M&&(v=this.#M,f=this.#Y,b=Date.now(),_="error");const k="fetching"===g.fetchStatus,S="pending"===_,x="error"===_,C=S&&k,E=void 0!==f,A={status:_,fetchStatus:g.fetchStatus,isPending:S,isSuccess:"success"===_,isError:x,isInitialLoading:C,isLoading:C,data:f,dataUpdatedAt:g.dataUpdatedAt,error:v,errorUpdatedAt:b,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:g.dataUpdateCount>u.dataUpdateCount||g.errorUpdateCount>u.errorUpdateCount,isFetching:k,isRefetching:k&&!S,isLoadingError:x&&!E,isPaused:"paused"===g.fetchStatus,isPlaceholderData:y,isRefetchError:x&&E,isStale:m(e,t),refetch:this.refetch,promise:this.#V,isEnabled:!1!==(0,c.resolveQueryBoolean)(t.enabled,e)};if(this.options.experimental_prefetchInRender){const t=void 0!==A.data,r="error"===A.status&&!t,i=e=>{r?e.reject(A.error):t&&e.resolve(A.data)},a=()=>{const e=this.#V=A.promise=(0,l.pendingThenable)();i(e)},o=this.#V;switch(o.status){case"pending":e.queryHash===n.queryHash&&i(o);break;case"fulfilled":(r||A.data!==o.value)&&a();break;case"rejected":r&&A.error===o.reason||a()}}return A}updateResult(){const e=this.#B,t=this.createResult(this.#P,this.options);if(this.#H=this.#P.state,this.#W=this.options,void 0!==this.#H.data&&(this.#U=this.#P),(0,c.shallowEqualObjects)(t,e))return;this.#B=t;this.#ie({listeners:(()=>{if(!e)return!0;const{notifyOnChangeProps:t}=this.options,n="function"===typeof t?t():t;if("all"===n||!n&&!this.#J.size)return!0;const r=new Set(n??this.#J);return this.options.throwOnError&&r.add("error"),Object.keys(this.#B).some(t=>{const n=t;return this.#B[n]!==e[n]&&r.has(n)})})()})}#ee(){const e=this.#f.getQueryCache().build(this.#f,this.options);if(e===this.#P)return;const t=this.#P;this.#P=e,this.#L=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#K()}#ie(e){a.notifyManager.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#B)}),this.#f.getQueryCache().notify({query:this.#P,type:"observerResultsUpdated"})})}};function p(e,t){return function(e,t){return!1!==(0,c.resolveQueryBoolean)(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===(0,c.resolveQueryBoolean)(t.retryOnMount,e))}(e,t)||void 0!==e.state.data&&f(e,t,t.refetchOnMount)}function f(e,t,n){if(!1!==(0,c.resolveQueryBoolean)(t.enabled,e)&&"static"!==(0,c.resolveStaleTime)(t.staleTime,e)){const r="function"===typeof n?n(e):n;return"always"===r||!1!==r&&m(e,t)}return!1}function h(e,t,n,r){return(e!==t||!1===(0,c.resolveQueryBoolean)(r.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&m(e,n)}function m(e,t){return!1!==(0,c.resolveQueryBoolean)(t.enabled,e)&&e.isStaleByTime((0,c.resolveStaleTime)(t.staleTime,e))}},95003(e,t,n){"use strict";n.r(t),n.d(t,{Removable:()=>o});var r=n(54370),i=n(78540),a=n(32871),o=class{#ae;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,a.isValidTimeout)(this.gcTime)&&(this.#ae=r.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(i.environmentManager.isServer()?1/0:3e5))}clearGcTimeout(){void 0!==this.#ae&&(r.timeoutManager.clearTimeout(this.#ae),this.#ae=void 0)}}},39067(e,t,n){"use strict";n.r(t),n.d(t,{CancelledError:()=>u,canFetch:()=>c,createRetryer:()=>p,isCancelledError:()=>d});var r=n(62999),i=n(57076),a=n(15619),o=n(78540),s=n(32871);function l(e){return Math.min(1e3*2**e,3e4)}function c(e){return"online"!==(e??"online")||i.onlineManager.isOnline()}
23var u=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function d(e){return e instanceof u}function p(e){let t,n=!1,d=0;const p=(0,a.pendingThenable)(),f=()=>"pending"!==p.status,h=()=>r.focusManager.isFocused()&&("always"===e.networkMode||i.onlineManager.isOnline())&&e.canRun(),m=()=>c(e.networkMode)&&e.canRun(),g=e=>{f()||(t?.(),p.resolve(e))},y=e=>{f()||(t?.(),p.reject(e))},v=()=>new Promise(n=>{t=e=>{(f()||h())&&n(e)},e.onPause?.()}).then(()=>{t=void 0,f()||e.onContinue?.()}),b=()=>{if(f())return;let t;const r=0===d?e.initialPromise:void 0;try{t=r??e.fn()}catch(i){t=Promise.reject(i)}Promise.resolve(t).then(g).catch(t=>{if(f())return;const r=e.retry??(o.environmentManager.isServer()?0:3),i=e.retryDelay??l,a="function"===typeof i?i(d,t):i,c=!0===r||"number"===typeof r&&d<r||"function"===typeof r&&r(d,t);!n&&c?(d++,e.onFail?.(d,t),(0,s.sleep)(a).then(()=>h()?void 0:v()).then(()=>{n?y(t):b()})):y(t)})};return{promise:p,status:()=>p.status,cancel:t=>{if(!f()){const n=new u(t);y(n),e.onCancel?.(n)}},continue:()=>(t?.(),p),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:m,start:()=>(m()?b():v().then(b),p)}}},46989(e,t,n){"use strict";n.r(t),n.d(t,{Subscribable:()=>r});var r=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},15619(e,t,n){"use strict";n.r(t),n.d(t,{pendingThenable:()=>i,tryResolveSync:()=>a});var r=n(32871);function i(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}function a(e){let t;if(e.then(e=>(t=e,e),r.noop)?.catch(r.noop),void 0!==t)return{data:t}}},54370(e,t,n){"use strict";n.r(t),n.d(t,{TimeoutManager:()=>i,defaultTimeoutProvider:()=>r,systemSetTimeoutZero:()=>o,timeoutManager:()=>a});var r={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},i=class{#oe=r;#se=!1;setTimeoutProvider(e){this.#oe=e}setTimeout(e,t){return this.#oe.setTimeout(e,t)}clearTimeout(e){this.#oe.clearTimeout(e)}setInterval(e,t){return this.#oe.setInterval(e,t)}clearInterval(e){this.#oe.clearInterval(e)}},a=new i;function o(e){setTimeout(e,0)}},32871(e,t,n){"use strict";n.r(t),n.d(t,{addConsumeAwareSignal:()=>R,addToEnd:()=>C,addToStart:()=>E,ensureQueryFn:()=>T,functionalUpdate:()=>o,hashKey:()=>h,hashQueryKeyByOptions:()=>f,isPlainArray:()=>b,isPlainObject:()=>_,isServer:()=>i,isValidTimeout:()=>s,keepPreviousData:()=>x,matchMutation:()=>p,matchQuery:()=>d,noop:()=>a,partialMatchKey:()=>m,replaceData:()=>S,replaceEqualDeep:()=>y,resolveQueryBoolean:()=>u,resolveStaleTime:()=>c,shallowEqualObjects:()=>v,shouldThrowError:()=>I,skipToken:()=>A,sleep:()=>k,timeUntilStale:()=>l});var r=n(54370),i="undefined"===typeof window||"Deno"in globalThis;function a(){}function o(e,t){return"function"===typeof e?e(t):e}function s(e){return"number"===typeof e&&e>=0&&e!==1/0}function l(e,t){return Math.max(e+(t||0)-Date.now(),0)}function c(e,t){return"function"===typeof e?e(t):e}function u(e,t){return"function"===typeof e?e(t):e}function d(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o)if(r){if(t.queryHash!==f(o,t.options))return!1}else if(!m(t.queryKey,o))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return("boolean"!==typeof s||t.isStale()===s)&&((!i||i===t.state.fetchStatus)&&!(a&&!a(t)))}function p(e,t){const{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(h(t.options.mutationKey)!==h(a))return!1}else if(!m(t.options.mutationKey,a))return!1}return(!r||t.state.status===r)&&!(i&&!i(t))}function f(e,t){return(t?.queryKeyHashFn||h)(e)}function h(e){return JSON.stringify(e,(e,t)=>_(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function m(e,t){return e===t||typeof e===typeof t&&(!(!e||!t||"object"!==typeof e||"object"!==typeof t)&&Object.keys(t).every(n=>m(e[n],t[n])))}var g=Object.prototype.hasOwnProperty;function y(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=b(e)&&b(t);if(!r&&(!_(e)||!_(t)))return t;const i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?new Array(o):{};let l=0;for(let c=0;c<o;c++){const o=r?c:a[c],u=e[o],d=t[o];if(u===d){s[o]=u,(r?c<i:g.call(e,o))&&l++;continue}if(null===u||null===d||"object"!==typeof u||"object"!==typeof d){s[o]=d;continue}const p=y(u,d,n+1);s[o]=p,p===u&&l++}return i===o&&l===i?e:s}function v(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function b(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function _(e){if(!w(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!w(n)&&(!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype)}function w(e){return"[object Object]"===Object.prototype.toString.call(e)}function k(e){return new Promise(t=>{r.timeoutManager.setTimeout(t,e)})}function S(e,t,n){return"function"===typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?y(e,t):t}function x(e){return e}function C(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function E(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var A=Symbol();function T(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==A?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}function I(e,t){return"function"===typeof e?e(...t):!!e}function R(e,t,n){let r,i=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(r??=t(),i||(i=!0,r.aborted?n():r.addEventListener("abort",n,{once:!0})),r)}),e}},74756(e,t,n){"use strict";n.r(t),n.d(t,{persistQueryClient:()=>y,persistQueryClientRestore:()=>h,persistQueryClientSave:()=>m,persistQueryClientSubscribe:()=>g});var r=n(15619),i=n(32871);function a(e){return e}function o(e){return{mutationKey:e.options.mutationKey,state:e.state,...e.options.scope&&{scope:e.options.scope},...e.meta&&{meta:e.meta}}}function s(e,t,n){return{dehydratedAt:Date.now(),state:{...e.state,...void 0!==e.state.data&&{data:t(e.state.data)}},queryKey:e.queryKey,queryHash:e.queryHash,..."pending"===e.state.status&&{promise:(()=>
23{const r=e.promise?.then(t).catch(e=>n(e)?Promise.reject(new Error("redacted")):Promise.reject(e));return r?.catch(i.noop),r})()},...e.meta&&{meta:e.meta},...e.queryType&&{queryType:e.queryType}}}function l(e){return e.state.isPaused}function c(e){return"success"===e.state.status}function u(e){return!0}function d(e,t={}){const n=t.shouldDehydrateMutation??e.getDefaultOptions().dehydrate?.shouldDehydrateMutation??l,r=e.getMutationCache().getAll().flatMap(e=>n(e)?[o(e)]:[]),i=t.shouldDehydrateQuery??e.getDefaultOptions().dehydrate?.shouldDehydrateQuery??c,d=t.shouldRedactErrors??e.getDefaultOptions().dehydrate?.shouldRedactErrors??u,p=t.serializeData??e.getDefaultOptions().dehydrate?.serializeData??a;return{mutations:r,queries:e.getQueryCache().getAll().flatMap(e=>i(e)?[s(e,p,d)]:[])}}var p=["added","removed","updated"];function f(e){return p.includes(e)}async function h({queryClient:e,persister:t,maxAge:n=864e5,buster:o="",hydrateOptions:s}){try{const l=await t.restoreClient();if(l){if(!l.timestamp)return t.removeClient();{const c=Date.now()-l.timestamp>n,u=l.buster!==o;if(c||u)return t.removeClient();!function(e,t,n){if("object"!==typeof t||null===t)return;const o=e.getMutationCache(),s=e.getQueryCache(),l=n?.defaultOptions?.deserializeData??e.getDefaultOptions().hydrate?.deserializeData??a,c=t.mutations||[],u=t.queries||[];
23c.forEach(({state:t,...r})=>{o.build(e,{...e.getDefaultOptions().hydrate?.mutations,...n?.defaultOptions?.mutations,...r},t)}),u.forEach(({queryKey:t,state:a,queryHash:o,meta:c,promise:u,dehydratedAt:d,queryType:p})=>{const f=u?(0,r.tryResolveSync)(u):void 0,h=void 0===a.data?f?.data:a.data,m=void 0===h?h:l(h);let g=s.get(o);const y="pending"===g?.state.status,v="fetching"===g?.state.fetchStatus;if(g){const e=f&&void 0!==d&&d>g.state.dataUpdatedAt;if(a.dataUpdatedAt>g.state.dataUpdatedAt||e){const{fetchStatus:e,...t}=a;g.setState({...t,data:m,..."pending"===a.status&&void 0!==m&&{status:"success",...!v&&{fetchStatus:"idle"}}})}}else g=s.build(e,{...e.getDefaultOptions().hydrate?.queries,...n?.defaultOptions?.queries,queryKey:t,queryHash:o,meta:c,_type:p},{...a,data:m,fetchStatus:"idle",status:"pending"===a.status&&void 0!==m?"success":a.status});!u||f||y||v||!(void 0===d||d>g.state.dataUpdatedAt)||g.fetch(void 0,{initialPromise:Promise.resolve(u).then(l)}).catch(i.noop)})}(e,l.clientState,s)}}}catch(l){throw await t.removeClient(),l}}async function m({queryClient:e,persister:t,buster:n="",dehydrateOptions:r}){const i={buster:n,timestamp:Date.now(),clientState:d(e,r)};await t.persistClient(i)}function g(e){const t=e.queryClient.getQueryCache().subscribe(t=>{f(t.type)&&m(e)}),n=e.queryClient.getMutationCache().subscribe(t=>{f(t.type)&&m(e)});return()=>{t(),n()}}function y(e){let t,n=!1;return[()=>{n=!0,t?.()},h(e).then(()=>{n||(t=g(e))})]}},10879(e,t,n){"use strict";n.r(t),n.d(t,{PersistQueryClientProvider:()=>l});var r=n(36665),i=n(74756),a=n(34108),o=n(59974),s=n(60397),l=({children:e,persistOptions:t,onSuccess:n,onError:l,...c})=>{const[u,d]=r.useState(!0),p=r.useRef({persistOptions:t,onSuccess:n,onError:l}),f=r.useRef(!1);return r.useEffect(()=>{p.current={persistOptions:t,onSuccess:n,onError:l}}),r.useEffect(()=>{const e={...p.current.persistOptions,queryClient:c.client};return f.current||(f.current=!0,(0,i.persistQueryClientRestore)(e).then(()=>p.current.onSuccess?.()).catch(()=>p.current.onError?.()).finally(()=>{d(!1)})),u?void 0:(0,i.persistQueryClientSubscribe)(e)},[c.client,u]),(0,s.jsx)(a.QueryClientProvider,{...c,children:(0,s.jsx)(o.IsRestoringProvider,{value:u,children:e})})}},59974(e,t,n){"use strict";n.r(t),n.d(t,{IsRestoringProvider:()=>o,useIsRestoring:()=>a});var r=n(36665),i=r.createContext(!1),a=()=>r.useContext(i),o=i.Provider},34108(e,t,n){"use strict";n.r(t),n.d(t,{QueryClientContext:()=>a,QueryClientProvider:()=>s,useQueryClient:()=>o});var r=n(36665),i=n(60397),a=r.createContext(void 0),o=e=>{const t=r.useContext(a);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},s=({client:e,children:t})=>(r.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,i.jsx)(a.Provider,{value:e,children:t}))},99553(e,t,n){"use strict";n.r(t),n.d(t,{QueryErrorResetBoundary:()=>l,useQueryErrorResetBoundary:()=>s});var r=n(36665),i=n(60397);function a(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var o=r.createContext(a()),s=()=>r.useContext(o),l=({children:e})=>{const[t]=r.useState(()=>a());return(0,i.jsx)(o.Provider,{value:t,children:"function"===typeof e?e(t):e})}},96457(e,t,n){"use strict";n.r(t),n.d(t,{ensurePreventErrorBoundaryRetry:()=>a,getHasError:()=>s,useClearResetErrorBoundary:()=>o});var r=n(36665),i=n(32871),a=(e,t,n)=>{const r=n?.state.error&&"function"===typeof e.throwOnError?(0,i.shouldThrowError)(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},o=e=>{r.useEffect(()=>{e.clearReset()},[e])},s=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(a&&void 0===e.data||(0,i.shouldThrowError)(n,[e.error,r]))},59698(e,t,n){"use strict";function r(e){return e}n.r(t),n.d(t,{queryOptions:()=>r})},19640(e,t,n){"use strict";n.r(t),n.d(t,{defaultThrowOnError:()=>r,ensureSuspenseTimers:()=>i,fetchOptimistic:()=>s,shouldSuspend:()=>o,willFetch:()=>a});var r=(e,t)=>void 0===t.state.data,i=e=>{if(e.suspense){const t=1e3,n=e=>"static"===e?e:Math.max(e??t,t),r=e.staleTime;e.staleTime="function"===typeof r?(...e)=>n(r(...e)):n(r),"number"===typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,t))}},a=(e,t)=>e.isLoading&&e.isFetching&&!t,o=(e,t)=>e?.suspense&&t.isPending,s=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()})},57070(e,t,n){"use strict";n.r(t),n.d(t,{useBaseQuery:()=>p});var r=n(36665),i=n(78540),a=n(78898),o=n(32871),s=n(34108),l=n(99553),c=n(96457),u=n(59974),d=n(19640);function p(e,t,n){const p=(0,u.useIsRestoring)(),f=(0,l.useQueryErrorResetBoundary)(),h=(0,s.useQueryClient)(n),m=h.defaultQueryOptions(e);h.getDefaultOptions().queries?._experimental_beforeQuery?.(m);const g=h.getQueryCache().get(m.queryHash);m._optimisticResults=p?"isRestoring":"optimistic",(0,d.ensureSuspenseTimers)(m),(0,c.ensurePreventErrorBoundaryRetry)(m,f,g),(0,c.useClearResetErrorBoundary)(f);const y=!h.getQueryCache().get(m.queryHash),[v]=r.useState(()=>new t(h,m)),b=v.getOptimisticResult(m),_=!p&&!1!==e.subscribed;if(r.useSyncExternalStore(r.useCallback(e=>{const t=_?v.subscribe(a.notifyManager.batchCalls(e)):o.noop;return v.updateResult(),t},[v,_]),()=>v.getCurrentResult(),()=>v.getCurrentResult()),r.useEffect(()=>{v.setOptions(m)},[m,v]),(0,d.shouldSuspend)(m,b))throw(0,d.fetchOptimistic)(m,v,f);if((0,c.getHasError)({result:b,errorResetBoundary:f,throwOnError:m.throwOnError,query:g,suspense:m.suspense}))throw b.error;if(h.getDefaultOptions().queries?._experimental_afterQuery?.(m,b),m.experimental_prefetchInRender&&!i.environmentManager.isServer()&&(0,d.willFetch)(b,p)){const e=y?(0,d.fetchOptimistic)(m,v,f):g?.promise;e?.catch(o.noop).finally(()=>{v.updateResult()})}return m.notifyOnChangeProps?b:v.trackResult(b)}},75282(e,t,n){"use strict";n.r(t),n.d(t,{useInfiniteQuery:()=>s});var r=n(58412),i=n(14400),a=class extends r.QueryObserver{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}
23fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){const{state:n}=e,r=super.createResult(e,t),{isFetching:a,isRefetching:o,isError:s,isRefetchError:l}=r,c=n.fetchMeta?.fetchMore?.direction,u=s&&"forward"===c,d=a&&"forward"===c,p=s&&"backward"===c,f=a&&"backward"===c;return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,i.hasNextPage)(t,n.data),hasPreviousPage:(0,i.hasPreviousPage)(t,n.data),isFetchNextPageError:u,isFetchingNextPage:d,isFetchPreviousPageError:p,isFetchingPreviousPage:f,isRefetchError:l&&!u&&!p,isRefetching:o&&!d&&!f}}},o=n(57070);function s(e,t){return(0,o.useBaseQuery)(e,a,t)}},2401(e,t,n){"use strict";n.r(t),n.d(t,{useIsFetching:()=>o});var r=n(36665),i=n(78898),a=n(34108);function o(e,t){const n=(0,a.useQueryClient)(t),o=n.getQueryCache();return r.useSyncExternalStore(r.useCallback(e=>o.subscribe(i.notifyManager.batchCalls(e)),[o]),()=>n.isFetching(e),()=>n.isFetching(e))}},23984(t,n,r){"use strict";r.r(n),r.d(n,{useMutation:()=>d});var i=r(36665),a=r(29491),o=r(78898),s=r(46989),l=r(32871),c=class extends s.Subscribable{#f;#B=void 0;#le;#ce;constructor(e,t){super(),this.#f=e,this.setOptions(t),this.bindMethods(),this.#ue()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const t=this.options;this.options=this.#f.defaultMutationOptions(e),(0,l.shallowEqualObjects)(this.options,t)||this.#f.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#le,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,l.hashKey)(t.mutationKey)!==(0,l.hashKey)(this.options.mutationKey)?this.reset():"pending"===this.#le?.state.status&&this.#le.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#le?.removeObserver(this)}onMutationUpdate(e){this.#ue(),this.#ie(e)}getCurrentResult(){return this.#B}reset(){this.#le?.removeObserver(this),this.#le=void 0,this.#ue(),this.#ie()}mutate(e,t){return this.#ce=t,this.#le?.removeObserver(this),this.#le=this.#f.getMutationCache().build(this.#f,this.options),this.#le.addObserver(this),this.#le.execute(e)}#ue(){const e=this.#le?.state??(0,a.getDefaultState)();this.#B={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#ie(t){o.notifyManager.batch(()=>{if(this.#ce&&this.hasListeners()){const n=this.#B.variables,r=this.#B.context,i={client:this.#f,meta:this.options.meta,mutationKey:this.options.mutationKey};if("success"===t?.type){try{this.#ce.onSuccess?.(t.data,n,r,i)}catch(e){Promise.reject(e)}
23try{this.#ce.onSettled?.(t.data,null,n,r,i)}catch(e){Promise.reject(e)}}else if("error"===t?.type){try{this.#ce.onError?.(t.error,n,r,i)}catch(e){Promise.reject(e)}try{this.#ce.onSettled?.(void 0,t.error,n,r,i)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#B)})})}},u=r(34108);function d(e,t){const n=(0,u.useQueryClient)(t),[r]=i.useState(()=>new c(n,e));i.useEffect(()=>{r.setOptions(e)},[r,e]);const a=i.useSyncExternalStore(i.useCallback(e=>r.subscribe(o.notifyManager.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),s=i.useCallback((e,t)=>{r.mutate(e,t).catch(l.noop)},[r]);if(a.error&&(0,l.shouldThrowError)(r.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:s,mutateAsync:a.mutate}}},87471(e,t,n){"use strict";n.r(t),n.d(t,{useQueries:()=>m});var r=n(36665),i=n(78898),a=n(58412),o=n(46989),s=n(32871);function l(e,t){const n=new Set(t);return e.filter(e=>!n.has(e))}var c=class extends o.Subscribable{#f;#de;#E;#pe;#h;#fe;#he;#me;#ge;#ye=[];constructor(e,t,n){super(),this.#f=e,this.#pe=n,this.#E=[],this.#h=[],this.#de=[],this.setQueries(t)}onSubscribe(){1===this.listeners.size&&this.#h.forEach(e=>{e.subscribe(t=>{this.#ve(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#h.forEach(e=>{e.destroy()})}setQueries(e,t){this.#E=e,this.#pe=t,i.notifyManager.batch(()=>{const e=this.#h,t=this.#be(this.#E);t.forEach(e=>e.observer.setOptions(e.defaultedQueryOptions));const n=t.map(e=>e.observer),r=n.map(e=>e.getCurrentResult()),i=e.length!==n.length,a=n.some((t,n)=>t!==e[n]),o=i||a,c=!!o||r.some((e,t)=>{const n=this.#de[t];return!n||!(0,s.shallowEqualObjects)(e,n)});(o||c)&&(o&&(this.#ye=t,this.#h=n),this.#de=r,this.hasListeners()&&(o&&(l(e,n).forEach(e=>{e.destroy()}),l(n,e).forEach(e=>{e.subscribe(t=>{this.#ve(e,t)})})),this.#ie()))})}getCurrentResult(){return this.#de}getQueries(){return this.#h.map(e=>e.getCurrentQuery())}getObservers(){return this.#h}getOptimisticResult(e,t){const n=this.#be(e),r=n.map(e=>e.observer.getOptimisticResult(e.defaultedQueryOptions)),i=n.map(e=>e.defaultedQueryOptions.queryHash);return[r,e=>this.#_e(e??r,t,i),()=>this.#we(r,n)]}#we(e,t){return t.map((n,r)=>{const i=e[r];return n.defaultedQueryOptions.notifyOnChangeProps?i:n.observer.trackResult(i,e=>{t.forEach(t=>{t.observer.trackProp(e)})})})}#_e(e,t,n){if(t){const r=this.#ge,i=void 0!==n&&void 0!==r&&(r.length!==n.length||n.some((e,t)=>e!==r[t]));return this.#fe&&this.#de===this.#me&&!i&&t===this.#he||(this.#he=t,this.#me=this.#de,void 0!==n&&(this.#ge=n),this.#fe=(0,s.replaceEqualDeep)(this.#fe,t(e))),this.#fe}return e}#ke(){return void 0!==this.#pe?.combine&&this.#h.some((e,t)=>e.options.suspense&&void 0===this.#de[t]?.data)}#be(e){const t=new Map;this.#h.forEach(e=>{const n=e.options.queryHash;if(!n)return;const r=t.get(n);r?r.push(e):t.set(n,[e])});const n=[];return e.forEach(e=>{const r=this.#f.defaultQueryOptions(e),i=t.get(r.queryHash)?.shift(),o=i??new a.QueryObserver(this.#f,r);n.push({defaultedQueryOptions:r,observer:o})}),n}#ve(e,t){const n=this.#h.indexOf(e);-1!==n&&(this.#de=function(e,t,n){const r=e.slice(0);return r[t]=n,r}(this.#de,n,t),this.#ie())}#ie(){if(this.hasListeners()){const e=this.#we(this.#de,this.#ye),t=this.#ke(),n=this.#fe,r=t?n:this.#_e(e,this.#pe?.combine);(t||n!==r)&&i.notifyManager.batch(()=>{this.listeners.forEach(e=>{e(this.#de)})})}}},u=n(34108),d=n(59974),p=n(99553),f=n(96457),h=n(19640);function m({queries:e,...t},n){const o=(0,u.useQueryClient)(n),l=(0,d.useIsRestoring)(),m=(0,p.useQueryErrorResetBoundary)(),g=r.useMemo(()=>e.map(e=>{const t=o.defaultQueryOptions(e);return t._optimisticResults=l?"isRestoring":"optimistic",t}),[e,o,l]);g.forEach(e=>{(0,h.ensureSuspenseTimers)(e);const t=o.getQueryCache().get(e.queryHash);(0,f.ensurePreventErrorBoundaryRetry)(e,m,t)}),(0,f.useClearResetErrorBoundary)(m);const[y]=r.useState(()=>new c(o,g,t)),[v,b,_]=y.getOptimisticResult(g,t.combine),w=!l&&!1!==t.subscribed;r.useSyncExternalStore(r.useCallback(e=>w?y.subscribe(i.notifyManager.batchCalls(e)):s.noop,[y,w]),()=>y.getCurrentResult(),()=>y.getCurrentResult()),r.useEffect(()=>{y.setQueries(g,t)},[g,t,y]);const k=v.some((e,t)=>(0,h.shouldSuspend)(g[t],e))?v.flatMap((e,t)=>{const n=g[t];if(n&&(0,h.shouldSuspend)(n,e)){const e=new a.QueryObserver(o,n);return(0,h.fetchOptimistic)(n,e,m)}return[]}):[];if(k.length>0)throw Promise.all(k);const S=v.find((e,t)=>{const n=g[t];return n&&(0,f.getHasError)({result:e,errorResetBoundary:m,throwOnError:n.throwOnError,query:o.getQueryCache().get(n.queryHash),suspense:n.suspense})});if(S?.error)throw S.error;return b(_())}}
23,16841(e,t,n){"use strict";n.r(t),n.d(t,{useQuery:()=>a});var r=n(58412),i=n(57070);function a(e,t){return(0,i.useBaseQuery)(e,r.QueryObserver,t)}},49599(t,n,r){"use strict";r.r(n),r.d(n,{CommandManager:()=>$,Editor:()=>Yt,Extension:()=>Ie,InputRule:()=>ge,Mark:()=>we,Node:()=>$t,NodePos:()=>Wt,NodeView:()=>Kt,PasteRule:()=>Se,Tracker:()=>an,callOrReturn:()=>ae,canInsertNode:()=>Qt,combineTransactionSteps:()=>et,createChainableState:()=>J,createDocument:()=>Ze,createNodeFromContent:()=>Xe,createStyleTag:()=>zt,defaultBlockAt:()=>tt,deleteProps:()=>Ke,elementFromString:()=>Ue,escapeForRegEx:()=>en,extensions:()=>Ht,findChildren:()=>nt,findChildrenInRange:()=>rt,findDuplicates:()=>Ae,findParentNode:()=>at,findParentNodeClosestToPos:()=>it,fromString:()=>se,generateHTML:()=>st,generateJSON:()=>lt,generateText:()=>ut,getAttributes:()=>pt,getAttributesFromExtensions:()=>ee,getChangedRanges:()=>ht,getDebugJSON:()=>mt,getExtensionField:()=>Z,getHTMLFromFragment:()=>fe,getMarkAttributes:()=>Qe,getMarkRange:()=>Me,getMarkType:()=>Ve,getMarksBetween:()=>gt,getNodeAtPosition:()=>yt,getNodeAttributes:()=>dt,getNodeType:()=>te,getRenderedAttributes:()=>re,getSchema:()=>ot,getSchemaByResolvedExtensions:()=>ue,getSchemaTypeByName:()=>de,getSchemaTypeNameByName:()=>$e,getSplittedAttributes:()=>vt,getText:()=>ct,getTextBetween:()=>Re,getTextContentFromNodes:()=>he,getTextSerializersFromSchema:()=>Oe,injectExtensionAttributesToParseRule:()=>le,inputRulesPlugin:()=>ve,isActive:()=>_t,isAtEndOfNode:()=>wt,isAtStartOfNode:()=>kt,isEmptyObject:()=>oe,isExtensionRulesEnabled:()=>pe,isFunction:()=>ie,isList:()=>St,isMacOS:()=>qe,isMarkActive:()=>bt,isNodeActive:()=>Je,isNodeEmpty:()=>xt,isNodeSelection:()=>Ct,isNumber:()=>ke,isPlainObject:()=>be,isRegExp:()=>me,isSafari:()=>ze,isString:()=>tn,isTextSelection:()=>Pe,isiOS:()=>We,markInputRule:()=>Ut,markPasteRule:()=>Zt,mergeAttributes:()=>ne,mergeDeep:()=>_e,minMax:()=>Le,nodeInputRule:()=>Xt,nodePasteRule:()=>nn,objectIncludes:()=>Ne,pasteRulesPlugin:()=>Ee,posToDOMRect:()=>Et,removeDuplicates:()=>ft,resolveFocusPosition:()=>Be,rewriteUnknownContent:()=>Tt,selectionToInsertionEnd:()=>Ge,splitExtensions:()=>Q,textInputRule:()=>qt,textPasteRule:()=>rn,textblockTypeInputRule:()=>Gt,wrappingInputRule:()=>Jt});for(var i=r(99988),a=r(94864),o={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},s={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},l="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),c="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),u=0;u<10;u++)o[48+u]=o[96+u]=String(u);for(u=1;u<=24;u++)o[u+111]="F"+u;for(u=65;u<=90;u++)o[u]=String.fromCharCode(u+32),s[u]=String.fromCharCode(u);for(var d in o)s.hasOwnProperty(d)||(s[d]=o[d]);const p="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),f="undefined"!=typeof navigator&&/Win/.test(navigator.platform);function h(e){let t,n,r,i,a=e.split(/-(?!$)/),o=a[a.length-1];"Space"==o&&(o=" ");for(let s=0;s<a.length-1;s++){let e=a[s];if(/^(cmd|meta|m)$/i.test(e))i=!0;else if(/^a(lt)?$/i.test(e))t=!0;else if(/^(c|ctrl|control)$/i.test(e))n=!0;else if(/^s(hift)?$/i.test(e))r=!0;else{if(!/^mod$/i.test(e))throw new Error("Unrecognized modifier name: "+e);p?i=!0:n=!0}}return t&&(o="Alt-"+o),n&&(o="Ctrl-"+o),i&&(o="Meta-"+o),r&&(o="Shift-"+o),o}function m(e,t,n=!0){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),n&&t.shiftKey&&(e="Shift-"+e),e}function g(e){let t=function(e){let t=Object.create(null);for(let n in e)t[h(n)]=e[n];return t}(e);return function(e,n){let r,i=function(e){var t=!(l&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||c&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?s:o)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}(n),a=t[m(i,n)];if(a&&a(e.state,e.dispatch,e))return!0;
23if(1==i.length&&" "!=i){if(n.shiftKey){let r=t[m(i,n,!1)];if(r&&r(e.state,e.dispatch,e))return!0}if((n.altKey||n.metaKey||n.ctrlKey)&&!(f&&n.ctrlKey&&n.altKey)&&(r=o[n.keyCode])&&r!=i){let i=t[m(r,n)];if(i&&i(e.state,e.dispatch,e))return!0}}return!1}}var y=r(27951),v=r(50119);const b=(e,t)=>!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function _(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}const w=(e,t,n)=>{let r=_(e,n);if(!r)return!1;let a=C(r);if(!a){let n=r.blockRange(),i=n&&(0,v.liftTarget)(n);return null!=i&&(t&&t(e.tr.lift(n,i).scrollIntoView()),!0)}let o=a.nodeBefore;if(V(e,a,t,-1))return!0;if(0==r.parent.content.size&&(S(o,"end")||i.NodeSelection.isSelectable(o)))for(let s=r.depth;;s--){let n=(0,v.replaceStep)(e.doc,r.before(s),r.after(s),y.Slice.empty);if(n&&n.slice.size<n.to-n.from){if(t){let r=e.tr.step(n);r.setSelection(S(o,"end")?i.Selection.findFrom(r.doc.resolve(r.mapping.map(a.pos,-1)),-1):i.NodeSelection.create(r.doc,a.pos-o.nodeSize)),t(r.scrollIntoView())}return!0}if(1==s||r.node(s-1).childCount>1)break}return!(!o.isAtom||a.depth!=r.depth-1)&&(t&&t(e.tr.delete(a.pos-o.nodeSize,a.pos).scrollIntoView()),!0)};function k(e,t,n){let r=t.nodeBefore,a=t.pos-1;for(;!r.isTextblock;a--){if(r.type.spec.isolating)return!1;let e=r.lastChild;if(!e)return!1;r=e}let o=t.nodeAfter,s=t.pos+1;for(;!o.isTextblock;s++){if(o.type.spec.isolating)return!1;let e=o.firstChild;if(!e)return!1;o=e}let l=(0,v.replaceStep)(e.doc,a,s,y.Slice.empty);if(!l||l.from!=a||l instanceof v.ReplaceStep&&l.slice.size>=s-a)return!1;if(n){let t=e.tr.step(l);t.setSelection(i.TextSelection.create(t.doc,a)),n(t.scrollIntoView())}return!0}function S(e,t,n=!1){for(let r=e;r;r="start"==t?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&1!=r.childCount)return!1}return!1}const x=(e,t,n)=>{let{$head:r,empty:a}=e.selection,o=r;if(!a)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):r.parentOffset>0)return!1;o=C(r)}let s=o&&o.nodeBefore;return!(!s||!i.NodeSelection.isSelectable(s))&&(t&&t(e.tr.setSelection(i.NodeSelection.create(e.doc,o.pos-s.nodeSize)).scrollIntoView()),!0)};function C(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function E(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset<n.parent.content.size)?null:n}const A=(e,t,n)=>{let r=E(e,n);if(!r)return!1;let a=I(r);if(!a)return!1;let o=a.nodeAfter;if(V(e,a,t,1))return!0;if(0==r.parent.content.size&&(S(o,"start")||i.NodeSelection.isSelectable(o))){let n=(0,v.replaceStep)(e.doc,r.before(),r.after(),y.Slice.empty);if(n&&n.slice.size<n.to-n.from){if(t){let r=e.tr.step(n);r.setSelection(S(o,"start")?i.Selection.findFrom(r.doc.resolve(r.mapping.map(a.pos)),1):i.NodeSelection.create(r.doc,r.mapping.map(a.pos))),t(r.scrollIntoView())}return!0}}return!(!o.isAtom||a.depth!=r.depth-1)&&(t&&t(e.tr.delete(a.pos,a.pos+o.nodeSize).scrollIntoView()),!0)},T=(e,t,n)=>{let{$head:r,empty:a}=e.selection,o=r;if(!a)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):r.parentOffset<r.parent.content.size)return!1;o=I(r)}let s=o&&o.nodeAfter;return!(!s||!i.NodeSelection.isSelectable(s))&&(t&&t(e.tr.setSelection(i.NodeSelection.create(e.doc,o.pos)).scrollIntoView()),!0)};function I(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){let n=e.node(t);if(e.index(t)+1<n.childCount)return e.doc.resolve(e.after(t+1));if(n.type.spec.isolating)break}return null}const R=(e,t)=>{let{$head:n,$anchor:r}=e.selection;return!(!n.parent.type.spec.code||!n.sameParent(r))&&(t&&t(e.tr.insertText("\n").scrollIntoView()),!0)};function O(e){for(let t=0;t<e.edgeCount;t++){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}const D=(e,t)=>{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let a=n.node(-1),o=n.indexAfter(-1),s=O(a.contentMatchAt(o));if(!s||!a.canReplaceWith(o,o,s))return!1;if(t){let r=n.after(),a=e.tr.replaceWith(r,r,s.createAndFill());a.setSelection(i.Selection.near(a.doc.resolve(r),1)),t(a.scrollIntoView())}return!0},N=(e,t)=>{let n=e.selection,{$from:r,$to:a}=n;if(n instanceof i.AllSelection||r.parent.inlineContent||a.parent.inlineContent)return!1;let o=O(a.parent.contentMatchAt(a.indexAfter()));if(!o||!o.isTextblock)return!1;if(t){let n=(!r.parentOffset&&a.index()<a.parent.childCount?r:a).pos,s=e.tr.insert(n,o.createAndFill());s.setSelection(i.TextSelection.create(s.doc,n+1)),t(s.scrollIntoView())}return!0},j=(e,t)=>{let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let r=n.before();if((0,v.canSplit)(e.doc,r))return t&&t(e.tr.split(r).scrollIntoView()),!0}let r=n.blockRange(),i=r&&(0,v.liftTarget)(r);return null!=i&&(t&&t(e.tr.lift(r,i).scrollIntoView()),!0)};const F=(e,t)=>{let{$from:n,$to:r}=e.selection;if(e.selection instanceof i.NodeSelection&&e.selection.node.isBlock)return!(!n.parentOffset||!(0,v.canSplit)(e.doc,n.pos))&&(t&&t(e.tr.split(n.pos).scrollIntoView()),!0);if(!n.depth)return!1;let a,o,s=[],l=!1,c=!1;for(let i=n.depth;;i--){if(n.node(i).isBlock){l=n.end(i)==n.pos+(n.depth-i),c=n.start(i)==n.pos-(n.depth-i),o=O(n.node(i-1).contentMatchAt(n.indexAfter(i-1)));let e=M&&M(r.parent,l,n);s.unshift(e||(l&&o?{type:o}:null)),a=i;break}if(1==i)return!1;s.unshift(null)}let u=e.tr;(e.selection instanceof i.TextSelection||e.selection instanceof i.AllSelection)&&u.deleteSelection();let d=u.mapping.map(n.pos),p=(0,v.canSplit)(u.doc,d,s.length,s);if(p||(s[0]=o?{type:o}:null,p=(0,v.canSplit)(u.doc,d,s.length,s)),!p)return!1;if(u.split(d,s.length,s),!l&&c&&n.node(a).type!=o){let e=u.mapping.map(n.before(a)),t=u.doc.resolve(e);o&&n.node(a-1).canReplaceWith(t.index(),t.index()+1,o)&&u.setNodeMarkup(u.mapping.map(n.before(a)),o)}return t&&t(u.scrollIntoView()),!0};var M;function V(e,t,n,r){let a,o,s=t.nodeBefore,l=t.nodeAfter,c=s.type.spec.isolating||l.type.spec.isolating;if(!c&&function(e,t,n){let r=t.nodeBefore,i=t.nodeAfter,a=t.index();return!!(r&&i&&r.type.compatibleContent(i.type))&&(!r.content.size&&t.parent.canReplace(a-1,a)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),!0):!(!t.parent.canReplace(a,a+1)||!i.isTextblock&&!(0,v.canJoin)(e.doc,t.pos))&&(n&&n(e.tr.join(t.pos).scrollIntoView()),!0))}
23(e,t,n))return!0;let u=!c&&t.parent.canReplace(t.index(),t.index()+1);if(u&&(a=(o=s.contentMatchAt(s.childCount)).findWrapping(l.type))&&o.matchType(a[0]||l.type).validEnd){if(n){let r=t.pos+l.nodeSize,i=y.Fragment.empty;for(let e=a.length-1;e>=0;e--)i=y.Fragment.from(a[e].create(null,i));i=y.Fragment.from(s.copy(i));let o=e.tr.step(new v.ReplaceAroundStep(t.pos-1,r,t.pos,r,new y.Slice(i,1,0),a.length,!0)),c=o.doc.resolve(r+2*a.length);c.nodeAfter&&c.nodeAfter.type==s.type&&(0,v.canJoin)(o.doc,c.pos)&&o.join(c.pos),n(o.scrollIntoView())}return!0}let d=l.type.spec.isolating||r>0&&c?null:i.Selection.findFrom(t,1),p=d&&d.$from.blockRange(d.$to),f=p&&(0,v.liftTarget)(p);if(null!=f&&f>=t.depth)return n&&n(e.tr.lift(p,f).scrollIntoView()),!0;if(u&&S(l,"start",!0)&&S(s,"end")){let r=s,i=[];for(;i.push(r),!r.isTextblock;)r=r.lastChild;let a=l,o=1;for(;!a.isTextblock;a=a.firstChild)o++;if(r.canReplace(r.childCount,r.childCount,a.content)){if(n){let r=y.Fragment.empty;for(let e=i.length-1;e>=0;e--)r=y.Fragment.from(i[e].copy(r));n(e.tr.step(new v.ReplaceAroundStep(t.pos-i.length,t.pos+l.nodeSize,t.pos+o,t.pos+l.nodeSize-o,new y.Slice(r,i.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function P(e){return function(t,n){let r=t.selection,a=e<0?r.$from:r.$to,o=a.depth;for(;a.node(o).isInline;){if(!o)return!1;o--}return!!a.node(o).isTextblock&&(n&&n(t.tr.setSelection(i.TextSelection.create(t.doc,e<0?a.start(o):a.end(o)))),!0)}}const L=P(-1),B=P(1);function H(e,t=null){return function(n,r){let i=!1;for(let a=0;a<n.selection.ranges.length&&!i;a++){let{$from:{pos:r},$to:{pos:o}}=n.selection.ranges[a];n.doc.nodesBetween(r,o,(r,a)=>{if(i)return!1;if(r.isTextblock&&!r.hasMarkup(e,t))if(r.type==e)i=!0;else{let t=n.doc.resolve(a),r=t.index();i=t.parent.canReplaceWith(r,r+1,e)}})}if(!i)return!1;if(r){let i=n.tr;for(let r=0;r<n.selection.ranges.length;r++){let{$from:{pos:a},$to:{pos:o}}=n.selection.ranges[r];i.setBlockType(a,o,e,t)}r(i.scrollIntoView())}return!0}}function W(...e){return function(t,n,r){for(let i=0;i<e.length;i++)if(e[i](t,n,r))return!0;return!1}}let z=W(b,w,x),Y=W(b,A,T);const U={Enter:W(R,N,j,F),"Mod-Enter":D,Backspace:z,"Mod-Backspace":z,"Shift-Backspace":z,Delete:Y,"Mod-Delete":Y,"Mod-a":(e,t)=>(t&&t(e.tr.setSelection(new i.AllSelection(e.doc))),!0)},X={"Ctrl-h":U.Backspace,"Alt-Backspace":U["Mod-Backspace"],"Ctrl-d":U.Delete,"Ctrl-Alt-Backspace":U["Mod-Delete"],"Alt-Delete":U["Mod-Delete"],"Alt-d":U["Mod-Delete"],"Ctrl-a":L,"Ctrl-e":B};for(let e in U)X[e]=U[e];"undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!("undefined"==typeof os||!os.platform)&&os.platform();function G(e,t=null){return function(n,r){let{$from:i,$to:a}=n.selection,o=i.blockRange(a);if(!o)return!1;let s=r?n.tr:null;return!!function(e,t,n,r=null){let i=!1,a=t,o=t.$from.doc;if(t.depth>=2&&t.$from.node(t.depth-1).type.compatibleContent(n)&&0==t.startIndex){if(0==t.$from.index(t.depth-1))return!1;let e=o.resolve(t.start-2);a=new y.NodeRange(e,e,t.depth),t.endIndex<t.parent.childCount&&(t=new y.NodeRange(t.$from,o.resolve(t.$to.end(t.depth)),t.depth)),i=!0}let s=(0,v.findWrapping)(a,n,r,t);if(!s)return!1;e&&function(e,t,n,r,i){let a=y.Fragment.empty;for(let u=n.length-1;u>=0;u--)a=y.Fragment.from(n[u].type.create(n[u].attrs,a));e.step(new v.ReplaceAroundStep(t.start-(r?2:0),t.end,t.start,t.end,new y.Slice(a,0,0),n.length,!0));let o=0;for(let u=0;u<n.length;u++)n[u].type==i&&(o=u+1);let s=n.length-o,l=t.start+n.length-(r?2:0),c=t.parent;for(let u=t.startIndex,d=t.endIndex,p=!0;u<d;u++,p=!1)!p&&(0,v.canSplit)(e.doc,l,s)&&(e.split(l,s),l+=2*s),l+=c.child(u).nodeSize}(e,t,s,i,n);return!0}(s,o,e,t)&&(r&&r(s.scrollIntoView()),!0)}}function q(e){return function(t,n){let{$from:r,$to:i}=t.selection,a=r.blockRange(i,t=>t.childCount>0&&t.firstChild.type==e);return!!a&&(!n||(r.node(a.depth-1).type==e?function(e,t,n,r){let i=e.tr,a=r.end,o=r.$to.end(r.depth);a<o&&(i.step(new v.ReplaceAroundStep(a-1,o,a,o,new y.Slice(y.Fragment.from(n.create(null,r.parent.copy())),1,0),1,!0)),r=new y.NodeRange(i.doc.resolve(r.$from.pos),i.doc.resolve(o),r.depth));const s=(0,v.liftTarget)(r);if(null==s)return!1;i.lift(r,s);let l=i.doc.resolve(i.mapping.map(a,-1)-1);(0,v.canJoin)(i.doc,l.pos)&&l.nodeBefore.type==l.nodeAfter.type&&i.join(l.pos);return t(i.scrollIntoView()),!0}(t,n,e,a):function(e,t,n){let r=e.tr,i=n.parent;for(let f=n.end,h=n.endIndex-1,m=n.startIndex;h>m;h--)f-=i.child(h).nodeSize,r.delete(f-1,f+1);let a=r.doc.resolve(n.start),o=a.nodeAfter;if(r.mapping.map(n.end)!=n.start+a.nodeAfter.nodeSize)return!1;let s=0==n.startIndex,l=n.endIndex==i.childCount,c=a.node(-1),u=a.index(-1);if(!c.canReplace(u+(s?0:1),u+1,o.content.append(l?y.Fragment.empty:y.Fragment.from(i))))return!1;let d=a.pos,p=d+o.nodeSize;return r.step(new v.ReplaceAroundStep(d-(s?1:0),p+(l?1:0),d+1,p-1,new y.Slice((s?y.Fragment.empty:y.Fragment.from(i.copy(y.Fragment.empty))).append(l?y.Fragment.empty:y.Fragment.from(i.copy(y.Fragment.empty))),s?0:1,l?0:1),s?0:1)),t(r.scrollIntoView()),!0}(t,n,a)))}}function J(e){const{state:t,transaction:n}=e;let{selection:r}=n,{doc:i}=n,{storedMarks:a}=n;return{...t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return a},get selection(){return r},get doc(){return i},get tr(){return r=n.selection,i=n.doc,a=n.storedMarks,n}}}class ${constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:e,editor:t,state:n}=this,{view:r}=t,{tr:i}=n,a=this.buildProps(i);return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,(...e)=>{const n=t(...e)(a);return i.getMeta("preventDispatch")||this.hasCustomState||r.dispatch(i),n}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){const{rawCommands:n,editor:r,state:i}=this,{view:a}=r,o=[],s=!!e,l=e||i.tr,c={...Object.fromEntries(Object.entries(n).map(([e,n])=>[e,(...e)=>{const r=this.buildProps(l,t),i=n(...e)(r);return o.push(i),c}])),run:()=>(s||!t||l.getMeta("preventDispatch")||this.hasCustomState||a.dispatch(l),o.every(e=>!0===e))};return c}createCan(e){const{rawCommands:t,state:n}=this,r=!1,i=e||n.tr,a=this.buildProps(i,r),o=Object.fromEntries(Object.entries(t).map(([e,t])=>[e,(...e)=>t(...e)({...a,dispatch:void 0})]));return{...o,chain:()=>this.createChain(i,r)}}buildProps(e,t=!0){const{rawCommands:n,editor:r,state:i}=this,{view:a}=r,o={tr:e,editor:r,view:a,state:J({state:i,transaction:e}),dispatch:t?()=>{}:void 0,chain:()=>this.createChain(e,t),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(n).map(([e,t])=>[e,(...e)=>t(...e)(o)]))}};return o}}class K{constructor(){this.callbacks={}}on(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),this}emit(e,...t){const n=this.callbacks[e];
23return n&&n.forEach(e=>e.apply(this,t)),this}off(e,t){const n=this.callbacks[e];return n&&(t?this.callbacks[e]=n.filter(e=>e!==t):delete this.callbacks[e]),this}once(e,t){const n=(...r)=>{this.off(e,n),t.apply(this,r)};return this.on(e,n)}removeAllListeners(){this.callbacks={}}}function Z(e,t,n){if(void 0===e.config[t]&&e.parent)return Z(e.parent,t,n);if("function"===typeof e.config[t]){return e.config[t].bind({...n,parent:e.parent?Z(e.parent,t,n):null})}return e.config[t]}function Q(e){return{baseExtensions:e.filter(e=>"extension"===e.type),nodeExtensions:e.filter(e=>"node"===e.type),markExtensions:e.filter(e=>"mark"===e.type)}}function ee(e){const t=[],{nodeExtensions:n,markExtensions:r}=Q(e),i=[...n,...r],a={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return e.forEach(e=>{const n=Z(e,"addGlobalAttributes",{name:e.name,options:e.options,storage:e.storage,extensions:i});if(!n)return;n().forEach(e=>{e.types.forEach(n=>{Object.entries(e.attributes).forEach(([e,r])=>{t.push({type:n,name:e,attribute:{...a,...r}})})})})}
23),i.forEach(e=>{const n={name:e.name,options:e.options,storage:e.storage},r=Z(e,"addAttributes",n);if(!r)return;const i=r();Object.entries(i).forEach(([n,r])=>{const i={...a,...r};"function"===typeof(null===i||void 0===i?void 0:i.default)&&(i.default=i.default()),(null===i||void 0===i?void 0:i.isRequired)&&void 0===(null===i||void 0===i?void 0:i.default)&&delete i.default,t.push({type:e.name,name:n,attribute:i})})}),t}function te(e,t){if("string"===typeof e){if(!t.nodes[e])throw Error(`There is no node type named '${e}'. Maybe you forgot to add the extension?`);return t.nodes[e]}return e}function ne(...e){return e.filter(e=>!!e).reduce((e,t)=>{const n={...e};return Object.entries(t).forEach(([e,t])=>{if(n[e])if("class"===e){const r=t?String(t).split(" "):[],i=n[e]?n[e].split(" "):[],a=r.filter(e=>!i.includes(e));n[e]=[...i,...a].join(" ")}else if("style"===e){const r=t?t.split(";").map(e=>e.trim()).filter(Boolean):[],i=n[e]?n[e].split(";").map(e=>e.trim()).filter(Boolean):[],a=new Map;i.forEach(e=>{const[t,n]=e.split(":").map(e=>e.trim());a.set(t,n)}),r.forEach(e=>{const[t,n]=e.split(":").map(e=>e.trim());a.set(t,n)}),n[e]=Array.from(a.entries()).map(([e,t])=>`${e}: ${t}`).join("; ")}else n[e]=t;else n[e]=t}),n},{})}function re(e,t){return t.filter(t=>t.type===e.type.name).filter(e=>e.attribute.rendered).map(t=>t.attribute.renderHTML?t.attribute.renderHTML(e.attrs)||{}:{[t.name]:e.attrs[t.name]}).reduce((e,t)=>ne(e,t),{})}function ie(e){return"function"===typeof e}function ae(e,t=void 0,...n){return ie(e)?t?e.bind(t)(...n):e(...n):e}function oe(e={}){return 0===Object.keys(e).length&&e.constructor===Object}function se(e){return"string"!==typeof e?e:e.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(e):"true"===e||"false"!==e&&e}function le(e,t){return"style"in e?e:{...e,getAttrs:n=>{const r=e.getAttrs?e.getAttrs(n):e.attrs;if(!1===r)return!1;const i=t.reduce((e,t)=>{const r=t.attribute.parseHTML?t.attribute.parseHTML(n):se(n.getAttribute(t.name));return null===r||void 0===r?e:{...e,[t.name]:r}},{});return{...r,...i}}}}function ce(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>("attrs"!==e||!oe(t))&&(null!==t&&void 0!==t)))}function ue(e,t){var n;const r=ee(e),{nodeExtensions:i,markExtensions:a}=Q(e),o=null===(n=i.find(e=>Z(e,"topNode")))||void 0===n?void 0:n.name,s=Object.fromEntries(i.map(n=>{const i=r.filter(e=>e.type===n.name),a={name:n.name,options:n.options,storage:n.storage,editor:t},o=ce({...e.reduce((e,t)=>{const r=Z(t,"extendNodeSchema",a);return{...e,...r?r(n):{}}},{}),content:ae(Z(n,"content",a)),marks:ae(Z(n,"marks",a)),group:ae(Z(n,"group",a)),inline:ae(Z(n,"inline",a)),atom:ae(Z(n,"atom",a)),selectable:ae(Z(n,"selectable",a)),draggable:ae(Z(n,"draggable",a)),code:ae(Z(n,"code",a)),whitespace:ae(Z(n,"whitespace",a)),linebreakReplacement:ae(Z(n,"linebreakReplacement",a)),defining:ae(Z(n,"defining",a)),isolating:ae(Z(n,"isolating",a)),attrs:Object.fromEntries(i.map(e=>{var t;return[e.name,{default:null===(t=null===e||void 0===e?void 0:e.attribute)||void 0===t?void 0:t.default}]}))}),s=ae(Z(n,"parseHTML",a));s&&(o.parseDOM=s.map(e=>le(e,i)));const l=Z(n,"renderHTML",a);l&&(o.toDOM=e=>l({node:e,HTMLAttributes:re(e,i)}));const c=Z(n,"renderText",a);return c&&(o.toText=c),[n.name,o]})),l=Object.fromEntries(a.map(n=>{const i=r.filter(e=>e.type===n.name),a={name:n.name,options:n.options,storage:n.storage,editor:t},o=ce({...e.reduce((e,t)=>{const r=Z(t,"extendMarkSchema",a);return{...e,...r?r(n):{}}},{}),inclusive:ae(Z(n,"inclusive",a)),excludes:ae(Z(n,"excludes",a)),group:ae(Z(n,"group",a)),spanning:ae(Z(n,"spanning",a)),code:ae(Z(n,"code",a)),attrs:Object.fromEntries(i.map(e=>{var t;return[e.name,{default:null===(t=null===e||void 0===e?void 0:e.attribute)||void 0===t?void 0:t.default}]}))}),s=ae(Z(n,"parseHTML",a));s&&(o.parseDOM=s.map(e=>le(e,i)));const l=Z(n,"renderHTML",a);return l&&(o.toDOM=e=>l({mark:e,HTMLAttributes:re(e,i)})),[n.name,o]}));return new y.Schema({topNode:o,nodes:s,marks:l})}function de(e,t){return t.nodes[e]||t.marks[e]||null}function pe(e,t){return Array.isArray(t)?t.some(t=>("string"===typeof t?t:t.name)===e.name):t}function fe(e,t){const n=y.DOMSerializer.fromSchema(t).serializeFragment(e),r=document.implementation.createHTMLDocument().createElement("div");return r.appendChild(n),r.innerHTML}const he=(e,t=500)=>{let n="";const r=e.parentOffset;return e.parent.nodesBetween(Math.max(0,r-t),r,(e,t,i,a)=>{var o,s;const l=(null===(s=(o=e.type.spec).toText)||void 0===s?void 0:s.call(o,{node:e,pos:t,parent:i,index:a}))||e.textContent||"%leaf%";n+=e.isAtom&&!e.isText?l:l.slice(0,Math.max(0,r-t))}),n};function me(e){return"[object RegExp]"===Object.prototype.toString.call(e)}class ge{constructor(e){this.find=e.find,this.handler=e.handler}}function ye(e){var t;const{editor:n,from:r,to:i,text:a,rules:o,plugin:s}=e,{view:l}=n;if(l.composing)return!1;const c=l.state.doc.resolve(r);if(c.parent.type.spec.code||(null===(t=c.nodeBefore||c.nodeAfter)||void 0===t?void 0:t.marks.find(e=>e.type.spec.code)))return!1;let u=!1;const d=he(c)+a;
23return o.forEach(e=>{if(u)return;const t=((e,t)=>{if(me(t))return t.exec(e);const n=t(e);if(!n)return null;const r=[n.text];return r.index=n.index,r.input=e,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),r.push(n.replaceWith)),r})(d,e.find);if(!t)return;const o=l.state.tr,c=J({state:l.state,transaction:o}),p={from:r-(t[0].length-a.length),to:i},{commands:f,chain:h,can:m}=new $({editor:n,state:c});null!==e.handler({state:c,range:p,match:t,commands:f,chain:h,can:m})&&o.steps.length&&(o.setMeta(s,{transform:o,from:r,to:i,text:a}),l.dispatch(o),u=!0)}),u}function ve(e){const{editor:t,rules:n}=e,r=new i.Plugin({state:{init:()=>null,apply(e,i,a){const o=e.getMeta(r);if(o)return o;const s=e.getMeta("applyInputRules");return!!s&&setTimeout(()=>{let{text:e}=s;"string"===typeof e||(e=fe(y.Fragment.from(e),a.schema));const{from:i}=s,o=i+e.length;ye({editor:t,from:i,to:o,text:e,rules:n,plugin:r})}),e.selectionSet||e.docChanged?null:i}},props:{handleTextInput:(e,i,a,o)=>ye({editor:t,from:i,to:a,text:o,rules:n,plugin:r}),handleDOMEvents:{compositionend:e=>(setTimeout(()=>{const{$cursor:i}=e.state.selection;i&&ye({editor:t,from:i.pos,to:i.pos,text:"",rules:n,plugin:r})}),!1)},handleKeyDown(e,i){if("Enter"!==i.key)return!1;const{$cursor:a}=e.state.selection;return!!a&&ye({editor:t,from:a.pos,to:a.pos,text:"\n",rules:n,plugin:r})}},isInputRules:!0});return r}function be(e){return"Object"===function(e){return Object.prototype.toString.call(e).slice(8,-1)}(e)&&(e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype)}function _e(e,t){const n={...e};return be(e)&&be(t)&&Object.keys(t).forEach(r=>{be(t[r])&&be(e[r])?n[r]=_e(e[r],t[r]):n[r]=t[r]}),n}class we{constructor(e={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=ae(Z(this,"addOptions",{name:this.name}))),this.storage=ae(Z(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new we(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>_e(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new we(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=ae(Z(t,"addOptions",{name:t.name})),t.storage=ae(Z(t,"addStorage",{name:t.name,options:t.options})),t}static handleExit({editor:e,mark:t}){const{tr:n}=e.state,r=e.state.selection.$from;if(r.pos===r.end()){const i=r.marks();if(!!!i.find(e=>(null===e||void 0===e?void 0:e.type.name)===t.name))return!1;const a=i.find(e=>(null===e||void 0===e?void 0:e.type.name)===t.name);return a&&n.removeStoredMark(a),n.insertText(" ",r.pos),e.view.dispatch(n),!0}return!1}}function ke(e){return"number"===typeof e}class Se{constructor(e){this.find=e.find,this.handler=e.handler}}function xe(e){const{editor:t,state:n,from:r,to:i,rule:a,pasteEvent:o,dropEvent:s}=e,{commands:l,chain:c,can:u}=new $({editor:t,state:n}),d=[];n.doc.nodesBetween(r,i,(e,t)=>{if(!e.isTextblock||e.type.spec.code)return;const p=Math.max(r,t),f=Math.min(i,t+e.content.size);((e,t,n)=>{if(me(t))return[...e.matchAll(t)];const r=t(e,n);return r?r.map(t=>{const n=[t.text];return n.index=t.index,n.input=e,n.data=t.data,t.replaceWith&&(t.text.includes(t.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),n.push(t.replaceWith)),n}):[]})(e.textBetween(p-t,f-t,void 0,"\ufffc"),a.find,o).forEach(e=>{if(void 0===e.index)return;const t=p+e.index+1,r=t+e[0].length,i={from:n.tr.mapping.map(t),to:n.tr.mapping.map(r)},f=a.handler({state:n,range:i,match:e,commands:l,chain:c,can:u,pasteEvent:o,dropEvent:s});d.push(f)})});return d.every(e=>null!==e)}let Ce=null;function Ee(e){const{editor:t,rules:n}=e;let r,a=null,o=!1,s=!1,l="undefined"!==typeof ClipboardEvent?new ClipboardEvent("paste"):null;try{r="undefined"!==typeof DragEvent?new DragEvent("drop"):null}catch{r=null}const c=({state:e,from:n,to:i,rule:a,pasteEvt:o})=>{const s=e.tr,c=J({state:e,transaction:s});if(xe({editor:t,state:c,from:Math.max(n-1,0),to:i.b-1,rule:a,pasteEvent:o,dropEvent:r})&&s.steps.length){try{r="undefined"!==typeof DragEvent?new DragEvent("drop"):null}catch{r=null}return l="undefined"!==typeof ClipboardEvent?new ClipboardEvent("paste"):null,s}};return n.map(e=>new i.Plugin({view(e){const n=n=>{var r;a=(null===(r=e.dom.parentElement)||void 0===r?void 0:r.contains(n.target))?e.dom.parentElement:null,a&&(Ce=t)},r=()=>{Ce&&(Ce=null)};return window.addEventListener("dragstart",n),window.addEventListener("dragend",r),{destroy(){window.removeEventListener("dragstart",n),window.removeEventListener("dragend",r)}}},props:{handleDOMEvents:{drop:(e,t)=>{if(s=a===e.dom.parentElement,r=t,!s){const e=Ce;(null===e||void 0===e?void 0:e.isEditable)&&setTimeout(()=>{const t=e.state.selection;t&&e.commands.deleteRange({from:t.from,to:t.to})},10)}return!1},paste:(e,t)=>
23{var n;const r=null===(n=t.clipboardData)||void 0===n?void 0:n.getData("text/html");return l=t,o=!!(null===r||void 0===r?void 0:r.includes("data-pm-slice")),!1}}},appendTransaction:(t,n,r)=>{const i=t[0],a="paste"===i.getMeta("uiEvent")&&!o,u="drop"===i.getMeta("uiEvent")&&!s,d=i.getMeta("applyPasteRules"),p=!!d;if(!a&&!u&&!p)return;if(p){let{text:t}=d;"string"===typeof t||(t=fe(y.Fragment.from(t),r.schema));const{from:n}=d,i=n+t.length,a=(e=>{var t;const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return null===(t=n.clipboardData)||void 0===t||t.setData("text/html",e),n})(t);return c({rule:e,state:r,from:n,to:{b:i},pasteEvt:a})}const f=n.doc.content.findDiffStart(r.doc.content),h=n.doc.content.findDiffEnd(r.doc.content);return ke(f)&&h&&f!==h.b?c({rule:e,state:r,from:f,to:h,pasteEvt:l}):void 0}}))}function Ae(e){const t=e.filter((t,n)=>e.indexOf(t)!==n);return Array.from(new Set(t))}class Te{constructor(e,t){this.splittableMarks=[],this.editor=t,this.extensions=Te.resolve(e),this.schema=ue(this.extensions,t),this.setupExtensions()}static resolve(e){const t=Te.sort(Te.flatten(e)),n=Ae(t.map(e=>e.name));return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map(e=>`'${e}'`).join(", ")}]. This can lead to issues.`),t}static flatten(e){return e.map(e=>{const t=Z(e,"addExtensions",{name:e.name,options:e.options,storage:e.storage});return t?[e,...this.flatten(t())]:e}).flat(10)}static sort(e){return e.sort((e,t)=>{const n=Z(e,"priority")||100,r=Z(t,"priority")||100;return n>r?-1:n<r?1:0})}get commands(){return this.extensions.reduce((e,t)=>{const n=Z(t,"addCommands",{name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:de(t.name,this.schema)});return n?{...e,...n()}:e},{})}get plugins(){const{editor:e}=this,t=Te.sort([...this.extensions].reverse()),n=[],r=[],a=t.map(t=>{const a={name:t.name,options:t.options,storage:t.storage,editor:e,type:de(t.name,this.schema)},o=[],s=Z(t,"addKeyboardShortcuts",a);let l={};if("mark"===t.type&&Z(t,"exitable",a)&&(l.ArrowRight=()=>we.handleExit({editor:e,mark:t})),s){const t=Object.fromEntries(Object.entries(s()).map(([t,n])=>[t,()=>n({editor:e})]));l={...l,...t}}const c=(u=l,new i.Plugin({props:{handleKeyDown:g(u)}}));var u;o.push(c);const d=Z(t,"addInputRules",a);pe(t,e.options.enableInputRules)&&d&&n.push(...d());const p=Z(t,"addPasteRules",a);pe(t,e.options.enablePasteRules)&&p&&r.push(...p());const f=Z(t,"addProseMirrorPlugins",a);if(f){const e=f();o.push(...e)}return o}).flat();return[ve({editor:e,rules:n}),...Ee({editor:e,rules:r}),...a]}get attributes(){return ee(this.extensions)}get nodeViews(){const{editor:e}=this,{nodeExtensions:t}=Q(this.extensions);return Object.fromEntries(t.filter(e=>!!Z(e,"addNodeView")).map(t=>{const n=this.attributes.filter(e=>e.type===t.name),r={name:t.name,options:t.options,storage:t.storage,editor:e,type:te(t.name,this.schema)},i=Z(t,"addNodeView",r);if(!i)return[];return[t.name,(r,a,o,s,l)=>{const c=re(r,n);return i()({node:r,view:a,getPos:o,decorations:s,innerDecorations:l,editor:e,extension:t,HTMLAttributes:c})}]}))}setupExtensions(){this.extensions.forEach(e=>{var t;this.editor.extensionStorage[e.name]=e.storage;const n={name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:de(e.name,this.schema)};if("mark"===e.type){(null===(t=ae(Z(e,"keepOnSplit",n)))||void 0===t||t)&&this.splittableMarks.push(e.name)}const r=Z(e,"onBeforeCreate",n),i=Z(e,"onCreate",n),a=Z(e,"onUpdate",n),o=Z(e,"onSelectionUpdate",n),s=Z(e,"onTransaction",n),l=Z(e,"onFocus",n),c=Z(e,"onBlur",n),u=Z(e,"onDestroy",n);r&&this.editor.on("beforeCreate",r),i&&this.editor.on("create",i),a&&this.editor.on("update",a),o&&this.editor.on("selectionUpdate",o),s&&this.editor.on("transaction",s),l&&this.editor.on("focus",l),c&&this.editor.on("blur",c),u&&this.editor.on("destroy",u)})}}class Ie{constructor(e={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=ae(Z(this,"addOptions",{name:this.name}))),this.storage=ae(Z(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Ie(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>_e(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new Ie({...this.config,...e});return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=ae(Z(t,"addOptions",{name:t.name})),t.storage=ae(Z(t,"addStorage",{name:t.name,options:t.options})),t}}function Re(e,t,n){const{from:r,to:i}
23=t,{blockSeparator:a="\n\n",textSerializers:o={}}=n||{};let s="";return e.nodesBetween(r,i,(e,n,l,c)=>{var u;e.isBlock&&n>r&&(s+=a);const d=null===o||void 0===o?void 0:o[e.type.name];if(d)return l&&(s+=d({node:e,pos:n,parent:l,index:c,range:t})),!1;e.isText&&(s+=null===(u=null===e||void 0===e?void 0:e.text)||void 0===u?void 0:u.slice(Math.max(r,n)-n,i-n))}),s}function Oe(e){return Object.fromEntries(Object.entries(e.nodes).filter(([,e])=>e.spec.toText).map(([e,t])=>[e,t.spec.toText]))}const De=Ie.create({name:"clipboardTextSerializer",addOptions:()=>({blockSeparator:void 0}),addProseMirrorPlugins(){return[new i.Plugin({key:new i.PluginKey("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:e}=this,{state:t,schema:n}=e,{doc:r,selection:i}=t,{ranges:a}=i,o=Math.min(...a.map(e=>e.$from.pos)),s=Math.max(...a.map(e=>e.$to.pos)),l=Oe(n);return Re(r,{from:o,to:s},{...void 0!==this.options.blockSeparator?{blockSeparator:this.options.blockSeparator}:{},textSerializers:l})}}})]}});function Ne(e,t,n={strict:!0}){const r=Object.keys(t);return!r.length||r.every(r=>n.strict?t[r]===e[r]:me(t[r])?t[r].test(e[r]):t[r]===e[r])}function je(e,t,n={}){return e.find(e=>e.type===t&&Ne(Object.fromEntries(Object.keys(n).map(t=>[t,e.attrs[t]])),n))}function Fe(e,t,n={}){return!!je(e,t,n)}function Me(e,t,n){var r;if(!e||!t)return;let i=e.parent.childAfter(e.parentOffset);if(i.node&&i.node.marks.some(e=>e.type===t)||(i=e.parent.childBefore(e.parentOffset)),!i.node||!i.node.marks.some(e=>e.type===t))return;n=n||(null===(r=i.node.marks[0])||void 0===r?void 0:r.attrs);if(!je([...i.node.marks],t,n))return;let a=i.index,o=e.start()+i.offset,s=a+1,l=o+i.node.nodeSize;for(;a>0&&Fe([...e.parent.child(a-1).marks],t,n);)a-=1,o-=e.parent.child(a).nodeSize;for(;s<e.parent.childCount&&Fe([...e.parent.child(s).marks],t,n);)l+=e.parent.child(s).nodeSize,s+=1;return{from:o,to:l}}function Ve(e,t){if("string"===typeof e){if(!t.marks[e])throw Error(`There is no mark type named '${e}'. Maybe you forgot to add the extension?`);return t.marks[e]}return e}function Pe(e){return e instanceof i.TextSelection}function Le(e=0,t=0,n=0){return Math.min(Math.max(e,t),n)}function Be(e,t=null){if(!t)return null;const n=i.Selection.atStart(e),r=i.Selection.atEnd(e);if("start"===t||!0===t)return n;if("end"===t)return r;const a=n.from,o=r.to;return"all"===t?i.TextSelection.create(e,Le(0,a,o),Le(e.content.size,a,o)):i.TextSelection.create(e,Le(t,a,o),Le(t,a,o))}function He(){return"Android"===navigator.platform||/android/i.test(navigator.userAgent)}function We(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}function ze(){return"undefined"!==typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}const Ye=e=>{const t=e.childNodes;for(let n=t.length-1;n>=0;n-=1){const r=t[n];3===r.nodeType&&r.nodeValue&&/^(\n\s\s|\n)$/.test(r.nodeValue)?e.removeChild(r):1===r.nodeType&&Ye(r)}return e};function Ue(e){const t=`<body>${e}</body>`,n=(new window.DOMParser).parseFromString(t,"text/html").body;return Ye(n)}function Xe(e,t,n){if(e instanceof y.Node||e instanceof y.Fragment)return e;n={slice:!0,parseOptions:{},...n};const r="string"===typeof e;if("object"===typeof e&&null!==e)try{if(Array.isArray(e)&&e.length>0)return y.Fragment.fromArray(e.map(e=>t.nodeFromJSON(e)));const r=t.nodeFromJSON(e);return n.errorOnInvalidContent&&r.check(),r}catch(i){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:i});return console.warn("[tiptap warn]: Invalid content.","Passed value:",e,"Error:",i),Xe("",t,n)}if(r){if(n.errorOnInvalidContent){let r=!1,i="";const a=new y.Schema({topNode:t.spec.topNode,marks:t.spec.marks,nodes:t.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:e=>(r=!0,i="string"===typeof e?e:e.outerHTML,null)}]}})});if(n.slice?y.DOMParser.fromSchema(a).parseSlice(Ue(e),n.parseOptions):y.DOMParser.fromSchema(a).parse(Ue(e),n.parseOptions),n.errorOnInvalidContent&&r)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${i}`)})}const r=y.DOMParser.fromSchema(t);return n.slice?r.parseSlice(Ue(e),n.parseOptions).content:r.parse(Ue(e),n.parseOptions)}return Xe("",t,n)}function Ge(e,t,n){const r=e.steps.length-1;if(r<t)return;const a=e.steps[r];if(!(a instanceof v.ReplaceStep||a instanceof v.ReplaceAroundStep))return;const o=e.mapping.maps[r];let s=0;o.forEach((e,t,n,r)=>{0===s&&(s=r)}),e.setSelection(i.Selection.near(e.doc.resolve(s),n))}function qe(){return"undefined"!==typeof navigator&&/Mac/.test(navigator.platform)}function Je(e,t,n={}){const{from:r,to:i,empty:a}=e.selection,o=t?te(t,e.schema):null,s=[];e.doc.nodesBetween(r,i,(e,t)=>{if(e.isText)return;const n=Math.max(r,t),a=Math.min(i,t+e.nodeSize);s.push({node:e,from:n,to:a})});const l=i-r,c=s.filter(e=>
23!o||o.name===e.node.type.name).filter(e=>Ne(e.node.attrs,n,{strict:!1}));if(a)return!!c.length;return c.reduce((e,t)=>e+t.to-t.from,0)>=l}function $e(e,t){return t.nodes[e]?"node":t.marks[e]?"mark":null}function Ke(e,t){const n="string"===typeof t?[t]:t;return Object.keys(e).reduce((t,r)=>(n.includes(r)||(t[r]=e[r]),t),{})}function Ze(e,t,n={},r={}){return Xe(e,t,{slice:!1,parseOptions:n,errorOnInvalidContent:r.errorOnInvalidContent})}function Qe(e,t){const n=Ve(t,e.schema),{from:r,to:i,empty:a}=e.selection,o=[];a?(e.storedMarks&&o.push(...e.storedMarks),o.push(...e.selection.$head.marks())):e.doc.nodesBetween(r,i,e=>{o.push(...e.marks)});const s=o.find(e=>e.type.name===n.name);return s?{...s.attrs}:{}}function et(e,t){const n=new v.Transform(e);return t.forEach(e=>{e.steps.forEach(e=>{n.step(e)})}),n}function tt(e){for(let t=0;t<e.edgeCount;t+=1){const{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}function nt(e,t){const n=[];return e.descendants((e,r)=>{t(e)&&n.push({node:e,pos:r})}),n}function rt(e,t,n){const r=[];return e.nodesBetween(t.from,t.to,(e,t)=>{n(e)&&r.push({node:e,pos:t})}),r}function it(e,t){for(let n=e.depth;n>0;n-=1){const r=e.node(n);if(t(r))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:r}}}function at(e){return t=>it(t.$from,e)}function ot(e,t){return ue(Te.resolve(e),t)}function st(e,t){const n=ot(t);return fe(y.Node.fromJSON(n,e).content,n)}function lt(e,t){const n=ot(t),r=Ue(e);return y.DOMParser.fromSchema(n).parse(r).toJSON()}function ct(e,t){return Re(e,{from:0,to:e.content.size},t)}function ut(e,t,n){const{blockSeparator:r="\n\n",textSerializers:i={}}=n||{},a=ot(t);return ct(y.Node.fromJSON(a,e),{blockSeparator:r,textSerializers:{...Oe(a),...i}})}function dt(e,t){const n=te(t,e.schema),{from:r,to:i}=e.selection,a=[];e.doc.nodesBetween(r,i,e=>{a.push(e)});const o=a.reverse().find(e=>e.type.name===n.name);return o?{...o.attrs}:{}}function pt(e,t){const n=$e("string"===typeof t?t:t.name,e.schema);return"node"===n?dt(e,t):"mark"===n?Qe(e,t):{}}function ft(e,t=JSON.stringify){const n={};return e.filter(e=>{const r=t(e);return!Object.prototype.hasOwnProperty.call(n,r)&&(n[r]=!0)})}function ht(e){const{mapping:t,steps:n}=e,r=[];return t.maps.forEach((e,i)=>{const a=[];if(e.ranges.length)e.forEach((e,t)=>{a.push({from:e,to:t})});else{const{from:e,to:t}=n[i];if(void 0===e||void 0===t)return;a.push({from:e,to:t})}a.forEach(({from:e,to:n})=>{const a=t.slice(i).map(e,-1),o=t.slice(i).map(n),s=t.invert().map(a,-1),l=t.invert().map(o);r.push({oldRange:{from:s,to:l},newRange:{from:a,to:o}})})}),function(e){const t=ft(e);return 1===t.length?t:t.filter((e,n)=>{const r=t.filter((e,t)=>t!==n);return!r.some(t=>e.oldRange.from>=t.oldRange.from&&e.oldRange.to<=t.oldRange.to&&e.newRange.from>=t.newRange.from&&e.newRange.to<=t.newRange.to)})}(r)}function mt(e,t=0){const n=e.type===e.type.schema.topNodeType?0:1,r=t,i=r+e.nodeSize,a=e.marks.map(e=>{const t={type:e.type.name};return Object.keys(e.attrs).length&&(t.attrs={...e.attrs}),t}),o={...e.attrs},s={type:e.type.name,from:r,to:i};return Object.keys(o).length&&(s.attrs=o),a.length&&(s.marks=a),e.content.childCount&&(s.content=[],e.forEach((e,r)=>{var i;null===(i=s.content)||void 0===i||i.push(mt(e,t+r+n))})),e.text&&(s.text=e.text),s}function gt(e,t,n){const r=[];return e===t?n.resolve(e).marks().forEach(t=>{const i=Me(n.resolve(e),t.type);i&&r.push({mark:t,...i})}):n.nodesBetween(e,t,(e,t)=>{e&&void 0!==(null===e||void 0===e?void 0:e.nodeSize)&&r.push(...e.marks.map(n=>({from:t,to:t+e.nodeSize,mark:n})))}),r}const yt=(e,t,n,r=20)=>{const i=e.doc.resolve(n);let a=r,o=null;for(;a>0&&null===o;){const e=i.node(a);(null===e||void 0===e?void 0:e.type.name)===t?o=e:a-=1}return[o,a]};function vt(e,t,n){return Object.fromEntries(Object.entries(n).filter(([n])=>{const r=e.find(e=>e.type===t&&e.name===n);return!!r&&r.attribute.keepOnSplit}))}function bt(e,t,n={}){const{empty:r,ranges:i}=e.selection,a=t?Ve(t,e.schema):null;if(r)return!!(e.storedMarks||e.selection.$from.marks()).filter(e=>!a||a.name===e.type.name).find(e=>Ne(e.attrs,n,{strict:!1}));let o=0;const s=[];if(i.forEach(({$from:t,$to:n})=>{const r=t.pos,i=n.pos;e.doc.nodesBetween(r,i,(e,t)=>{if(!e.isText&&!e.marks.length)return;const n=Math.max(r,t),a=Math.min(i,t+e.nodeSize);o+=a-n,s.push(...e.marks.map(e=>({mark:e,from:n,to:a})))})}),0===o)return!1;const l=s.filter(e=>!a||a.name===e.mark.type.name).filter(e=>Ne(e.mark.attrs,n,{strict:!1})).reduce((e,t)=>
23e+t.to-t.from,0),c=s.filter(e=>!a||e.mark.type!==a&&e.mark.type.excludes(a)).reduce((e,t)=>e+t.to-t.from,0);return(l>0?l+c:l)>=o}function _t(e,t,n={}){if(!t)return Je(e,null,n)||bt(e,null,n);const r=$e(t,e.schema);return"node"===r?Je(e,t,n):"mark"===r&&bt(e,t,n)}const wt=(e,t)=>{const{$from:n,$to:r,$anchor:i}=e.selection;if(t){const n=at(e=>e.type.name===t)(e.selection);if(!n)return!1;const r=e.doc.resolve(n.pos+1);return i.pos+1===r.end()}return!(r.parentOffset<r.parent.nodeSize-2||n.pos!==r.pos)},kt=e=>{const{$from:t,$to:n}=e.selection;return!(t.parentOffset>0||t.pos!==n.pos)};function St(e,t){const{nodeExtensions:n}=Q(t),r=n.find(t=>t.name===e);if(!r)return!1;const i=ae(Z(r,"group",{name:r.name,options:r.options,storage:r.storage}));return"string"===typeof i&&i.split(" ").includes("list")}function xt(e,{checkChildren:t=!0,ignoreWhitespace:n=!1}={}){var r;if(n){if("hardBreak"===e.type.name)return!0;if(e.isText)return/^\s*$/m.test(null!==(r=e.text)&&void 0!==r?r:"")}if(e.isText)return!e.text;if(e.isAtom||e.isLeaf)return!1;if(0===e.content.childCount)return!0;if(t){let r=!0;return e.content.forEach(e=>{!1!==r&&(xt(e,{ignoreWhitespace:n,checkChildren:t})||(r=!1))}),r}return!1}function Ct(e){return e instanceof i.NodeSelection}function Et(e,t,n){const r=e.state.doc.content.size,i=Le(t,0,r),a=Le(n,0,r),o=e.coordsAtPos(i),s=e.coordsAtPos(a,-1),l=Math.min(o.top,s.top),c=Math.max(o.bottom,s.bottom),u=Math.min(o.left,s.left),d=Math.max(o.right,s.right),p={top:l,bottom:c,left:u,right:d,width:d-u,height:c-l,x:u,y:l};return{...p,toJSON:()=>p}}function At({json:e,validMarks:t,validNodes:n,options:r,rewrittenContent:i=[]}){return e.marks&&Array.isArray(e.marks)&&(e.marks=e.marks.filter(e=>{const n="string"===typeof e?e:e.type;return!!t.has(n)||(i.push({original:JSON.parse(JSON.stringify(e)),unsupported:n}),!1)})),e.content&&Array.isArray(e.content)&&(e.content=e.content.map(e=>At({json:e,validMarks:t,validNodes:n,options:r,rewrittenContent:i}).json).filter(e=>null!==e&&void 0!==e)),e.type&&!n.has(e.type)?(i.push({original:JSON.parse(JSON.stringify(e)),unsupported:e.type}),e.content&&Array.isArray(e.content)&&!1!==(null===r||void 0===r?void 0:r.fallbackToParagraph)?(e.type="paragraph",{json:e,rewrittenContent:i}):{json:null,rewrittenContent:i}):{json:e,rewrittenContent:i}}function Tt(e,t,n){return At({json:e,validNodes:new Set(Object.keys(t.nodes)),validMarks:new Set(Object.keys(t.marks)),options:n})}function It(e,t){const n=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();if(n){const r=n.filter(e=>null===t||void 0===t?void 0:t.includes(e.type.name));e.tr.ensureMarks(r)}}const Rt=(e,t)=>{const n=at(e=>e.type===t)(e.selection);if(!n)return!0;const r=e.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(void 0===r)return!0;const i=e.doc.nodeAt(r);return n.node.type!==(null===i||void 0===i?void 0:i.type)||!(0,v.canJoin)(e.doc,n.pos)||(e.join(n.pos),!0)},Ot=(e,t)=>{const n=at(e=>e.type===t)(e.selection);if(!n)return!0;const r=e.doc.resolve(n.start).after(n.depth);if(void 0===r)return!0;const i=e.doc.nodeAt(r);return n.node.type!==(null===i||void 0===i?void 0:i.type)||!(0,v.canJoin)(e.doc,r)||(e.join(r),!0)};var Dt=Object.freeze({__proto__:null,blur:()=>({editor:e,view:t})=>(requestAnimationFrame(()=>{var n;e.isDestroyed||(t.dom.blur(),null===(n=null===window||void 0===window?void 0:window.getSelection())||void 0===n||n.removeAllRanges())}),!0),clearContent:(e=!1)=>({commands:t})=>t.setContent("",e),clearNodes:()=>({state:e,tr:t,dispatch:n})=>{const{selection:r}=t,{ranges:i}=r;return!n||(i.forEach(({$from:n,$to:r})=>{e.doc.nodesBetween(n.pos,r.pos,(e,n)=>{if(e.type.isText)return;const{doc:r,mapping:i}=t,a=r.resolve(i.map(n)),o=r.resolve(i.map(n+e.nodeSize)),s=a.blockRange(o);if(!s)return;const l=(0,v.liftTarget)(s);if(e.type.isTextblock){const{defaultType:e}=a.parent.contentMatchAt(a.index());t.setNodeMarkup(s.start,e)}(l||0===l)&&t.lift(s,l)})}),!0)},command:e=>t=>e(t),createParagraphNear:()=>({state:e,dispatch:t})=>N(e,t),cut:(e,t)=>({editor:n,tr:r})=>{const{state:a}=n,o=a.doc.slice(e.from,e.to);r.deleteRange(e.from,e.to);const s=r.mapping.map(t);return r.insert(s,o.content),r.setSelection(new i.TextSelection(r.doc.resolve(Math.max(s-1,0)))),!0},deleteCurrentNode:()=>({tr:e,dispatch:t})=>{const{selection:n}=e,r=n.$anchor.node();if(r.content.size>0)return!1;const i=e.selection.$anchor;for(let a=i.depth;a>0;a-=1){if(i.node(a).type===r.type){if(t){const t=i.before(a),n=i.after(a);e.delete(t,n).scrollIntoView()}return!0}}return!1},deleteNode:e=>({tr:t,state:n,dispatch:r})=>{const i=te(e,n.schema),a=t.selection.$anchor;for(let e=a.depth;e>0;e-=1){if(a.node(e).type===i){if(r){const n=a.before(e),r=a.after(e);t.delete(n,r).scrollIntoView()}return!0}}return!1},deleteRange:e=>({tr:t,dispatch:n})=>{const{from:r,to:i}=e;return n&&t.delete(r,i),!0},deleteSelection:()=>({state:e,dispatch:t})=>b(e,t),enter:()=>({commands:e})=>e.keyboardShortcut("Enter"),exitCode:()=>({state:e,dispatch:t})=>D(e,t),extendMarkRange:(e,t={})=>({tr:n,state:r,dispatch:a})=>{const o=Ve(e,r.schema),{doc:s,selection:l}=n,{$from:c,from:u,to:d}=l;if(a){const e=Me(c,o,t);if(e&&e.from<=u&&e.to>=d){const t=i.TextSelection.create(s,e.from,e.to);n.setSelection(t)}}return!0},first:e=>t=>{const n="function"===typeof e?e(t):e;for(let e=0;e<n.length;e+=1)if(n[e](t))return!0;return!1},focus:(e=null,t={})=>({editor:n,view:r,tr:i,dispatch:a})=>{t={scrollIntoView:!0,...t};const o=()=>{(We()||He())&&r.dom.focus(),requestAnimationFrame(()=>{n.isDestroyed||(r.focus(),!ze()||We()||He()||r.dom.focus({preventScroll:!0}))})};if(r.hasFocus()&&null===e||!1===e)return!0;
23if(a&&null===e&&!Pe(n.state.selection))return o(),!0;const s=Be(i.doc,e)||n.state.selection,l=n.state.selection.eq(s);return a&&(l||i.setSelection(s),l&&i.storedMarks&&i.setStoredMarks(i.storedMarks),o()),!0},forEach:(e,t)=>n=>e.every((e,r)=>t(e,{...n,index:r})),insertContent:(e,t)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},e,t),insertContentAt:(t,n,r)=>({tr:i,dispatch:a,editor:o})=>{var s;if(a){let a;const l=e=>{o.emit("contentError",{editor:o,error:e,disableCollaboration:()=>{o.storage.collaboration&&(o.storage.collaboration.isDisabled=!0)}})},c={preserveWhitespace:"full",...(r={parseOptions:o.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...r}).parseOptions};if(!r.errorOnInvalidContent&&!o.options.enableContentCheck&&o.options.emitContentError)try{Xe(n,o.schema,{parseOptions:c,errorOnInvalidContent:!0})}catch(e){l(e)}try{a=Xe(n,o.schema,{parseOptions:c,errorOnInvalidContent:null!==(s=r.errorOnInvalidContent)&&void 0!==s?s:o.options.enableContentCheck})}catch(e){return l(e),!1}let{from:u,to:d}="number"===typeof t?{from:t,to:t}:{from:t.from,to:t.to},p=!0,f=!0;if(("type"in a?[a]:a).forEach(e=>{e.check(),p=!!p&&(e.isText&&0===e.marks.length),f=!!f&&e.isBlock}),u===d&&f){const{parent:e}=i.doc.resolve(u);e.isTextblock&&!e.type.spec.code&&!e.childCount&&(u-=1,d+=1)}let h;if(p){if(Array.isArray(n))h=n.map(e=>e.text||"").join("");else if(n instanceof y.Fragment){let e="";n.forEach(t=>{t.text&&(e+=t.text)}),h=e}else h="object"===typeof n&&n&&n.text?n.text:n;i.insertText(h,u,d)}else h=a,i.replaceWith(u,d,h);r.updateSelection&&Ge(i,i.steps.length-1,-1),r.applyInputRules&&i.setMeta("applyInputRules",{from:u,text:h}),r.applyPasteRules&&i.setMeta("applyPasteRules",{from:u,text:h})}return!0},joinBackward:()=>({state:e,dispatch:t})=>w(e,t),joinDown:()=>({state:e,dispatch:t})=>((e,t)=>{let n,r=e.selection;if(r instanceof i.NodeSelection){if(r.node.isTextblock||!(0,v.canJoin)(e.doc,r.to))return!1;n=r.to}else if(n=(0,v.joinPoint)(e.doc,r.to,1),null==n)return!1;return t&&t(e.tr.join(n).scrollIntoView()),!0})(e,t),joinForward:()=>({state:e,dispatch:t})=>A(e,t),joinItemBackward:()=>({state:e,dispatch:t,tr:n})=>{try{const r=(0,v.joinPoint)(e.doc,e.selection.$from.pos,-1);return null!==r&&void 0!==r&&(n.join(r,2),t&&t(n),!0)}catch{return!1}},joinItemForward:()=>({state:e,dispatch:t,tr:n})=>{try{const r=(0,v.joinPoint)(e.doc,e.selection.$from.pos,1);return null!==r&&void 0!==r&&(n.join(r,2),t&&t(n),!0)}catch{return!1}},joinTextblockBackward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let r=_(e,n);if(!r)return!1;let i=C(r);return!!i&&k(e,i,t)})(e,t),joinTextblockForward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let r=E(e,n);if(!r)return!1;let i=I(r);return!!i&&k(e,i,t)})(e,t),joinUp:()=>({state:e,dispatch:t})=>((e,t)=>{let n,r=e.selection,a=r instanceof i.NodeSelection;if(a){if(r.node.isTextblock||!(0,v.canJoin)(e.doc,r.from))return!1;n=r.from}else if(n=(0,v.joinPoint)(e.doc,r.from,-1),null==n)return!1;if(t){let r=e.tr.join(n);a&&r.setSelection(i.NodeSelection.create(r.doc,n-e.doc.resolve(n).nodeBefore.nodeSize)),t(r.scrollIntoView())}return!0})(e,t),keyboardShortcut:e=>({editor:t,view:n,tr:r,dispatch:i})=>{const a=function(e){const t=e.split(/-(?!$)/);let n,r,i,a,o=t[t.length-1];"Space"===o&&(o=" ");for(let s=0;s<t.length-1;s+=1){const e=t[s];if(/^(cmd|meta|m)$/i.test(e))a=!0;else if(/^a(lt)?$/i.test(e))n=!0;else if(/^(c|ctrl|control)$/i.test(e))r=!0;else if(/^s(hift)?$/i.test(e))i=!0;else{if(!/^mod$/i.test(e))throw new Error(`Unrecognized modifier name: ${e}`);
23We()||qe()?a=!0:r=!0}}return n&&(o=`Alt-${o}`),r&&(o=`Ctrl-${o}`),a&&(o=`Meta-${o}`),i&&(o=`Shift-${o}`),o}(e).split(/-(?!$)/),o=a.find(e=>!["Alt","Ctrl","Meta","Shift"].includes(e)),s=new KeyboardEvent("keydown",{key:"Space"===o?" ":o,altKey:a.includes("Alt"),ctrlKey:a.includes("Ctrl"),metaKey:a.includes("Meta"),shiftKey:a.includes("Shift"),bubbles:!0,cancelable:!0}),l=t.captureTransaction(()=>{n.someProp("handleKeyDown",e=>e(n,s))});return null===l||void 0===l||l.steps.forEach(e=>{const t=e.map(r.mapping);t&&i&&r.maybeStep(t)}),!0},lift:(e,t={})=>({state:n,dispatch:r})=>!!Je(n,te(e,n.schema),t)&&((e,t)=>{let{$from:n,$to:r}=e.selection,i=n.blockRange(r),a=i&&(0,v.liftTarget)(i);return null!=a&&(t&&t(e.tr.lift(i,a).scrollIntoView()),!0)})(n,r),liftEmptyBlock:()=>({state:e,dispatch:t})=>j(e,t),liftListItem:e=>({state:t,dispatch:n})=>q(te(e,t.schema))(t,n),newlineInCode:()=>({state:e,dispatch:t})=>R(e,t),resetAttributes:(e,t)=>({tr:n,state:r,dispatch:i})=>{let a=null,o=null;const s=$e("string"===typeof e?e:e.name,r.schema);return!!s&&("node"===s&&(a=te(e,r.schema)),"mark"===s&&(o=Ve(e,r.schema)),i&&n.selection.ranges.forEach(e=>{r.doc.nodesBetween(e.$from.pos,e.$to.pos,(e,r)=>{a&&a===e.type&&n.setNodeMarkup(r,void 0,Ke(e.attrs,t)),o&&e.marks.length&&e.marks.forEach(i=>{o===i.type&&n.addMark(r,r+e.nodeSize,o.create(Ke(i.attrs,t)))})})}),!0)},scrollIntoView:()=>({tr:e,dispatch:t})=>(t&&e.scrollIntoView(),!0),selectAll:()=>({tr:e,dispatch:t})=>{if(t){const t=new i.AllSelection(e.doc);e.setSelection(t)}return!0},selectNodeBackward:()=>({state:e,dispatch:t})=>x(e,t),selectNodeForward:()=>({state:e,dispatch:t})=>T(e,t),selectParentNode:()=>({state:e,dispatch:t})=>((e,t)=>{let n,{$from:r,to:a}=e.selection,o=r.sharedDepth(a);return 0!=o&&(n=r.before(o),t&&t(e.tr.setSelection(i.NodeSelection.create(e.doc,n))),!0)})(e,t),selectTextblockEnd:()=>({state:e,dispatch:t})=>B(e,t),selectTextblockStart:()=>({state:e,dispatch:t})=>L(e,t),setContent:(e,t=!1,n={},r={})=>({editor:i,tr:a,dispatch:o,commands:s})=>{var l,c;const{doc:u}=a;if("full"!==n.preserveWhitespace){const s=Ze(e,i.schema,n,{errorOnInvalidContent:null!==(l=r.errorOnInvalidContent)&&void 0!==l?l:i.options.enableContentCheck});return o&&a.replaceWith(0,u.content.size,s).setMeta("preventUpdate",!t),!0}return o&&a.setMeta("preventUpdate",!t),s.insertContentAt({from:0,to:u.content.size},e,{parseOptions:n,errorOnInvalidContent:null!==(c=r.errorOnInvalidContent)&&void 0!==c?c:i.options.enableContentCheck})},setMark:(e,t={})=>({tr:n,state:r,dispatch:i})=>{const{selection:a}=n,{empty:o,ranges:s}=a,l=Ve(e,r.schema);if(i)if(o){const e=Qe(r,l);n.addStoredMark(l.create({...e,...t}))}else s.forEach(e=>{const i=e.$from.pos,a=e.$to.pos;r.doc.nodesBetween(i,a,(e,r)=>{const o=Math.max(r,i),s=Math.min(r+e.nodeSize,a);e.marks.find(e=>e.type===l)?e.marks.forEach(e=>{l===e.type&&n.addMark(o,s,l.create({...e.attrs,...t}))}):n.addMark(o,s,l.create(t))})});return function(e,t,n){var r;const{selection:i}=t;let a=null;
23if(Pe(i)&&(a=i.$cursor),a){const t=null!==(r=e.storedMarks)&&void 0!==r?r:a.marks();return!!n.isInSet(t)||!t.some(e=>e.type.excludes(n))}const{ranges:o}=i;return o.some(({$from:t,$to:r})=>{let i=0===t.depth&&e.doc.inlineContent&&e.doc.type.allowsMarkType(n);return e.doc.nodesBetween(t.pos,r.pos,(e,t,r)=>{if(i)return!1;if(e.isInline){const t=!r||r.type.allowsMarkType(n),a=!!n.isInSet(e.marks)||!e.marks.some(e=>e.type.excludes(n));i=t&&a}return!i}),i})}(r,n,l)},setMeta:(e,t)=>({tr:n})=>(n.setMeta(e,t),!0),setNode:(e,t={})=>({state:n,dispatch:r,chain:i})=>{const a=te(e,n.schema);let o;return n.selection.$anchor.sameParent(n.selection.$head)&&(o=n.selection.$anchor.parent.attrs),a.isTextblock?i().command(({commands:e})=>!!H(a,{...o,...t})(n)||e.clearNodes()).command(({state:e})=>H(a,{...o,...t})(e,r)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},setNodeSelection:e=>({tr:t,dispatch:n})=>{if(n){const{doc:n}=t,r=Le(e,0,n.content.size),a=i.NodeSelection.create(n,r);t.setSelection(a)}return!0},setTextSelection:e=>({tr:t,dispatch:n})=>{if(n){const{doc:n}=t,{from:r,to:a}="number"===typeof e?{from:e,to:e}:e,o=i.TextSelection.atStart(n).from,s=i.TextSelection.atEnd(n).to,l=Le(r,o,s),c=Le(a,o,s),u=i.TextSelection.create(n,l,c);t.setSelection(u)}return!0},sinkListItem:e=>({state:t,dispatch:n})=>{const r=te(e,t.schema);return(i=r,function(e,t){let{$from:n,$to:r}=e.selection,a=n.blockRange(r,e=>e.childCount>0&&e.firstChild.type==i);if(!a)return!1;let o=a.startIndex;if(0==o)return!1;let s=a.parent,l=s.child(o-1);if(l.type!=i)return!1;if(t){let n=l.lastChild&&l.lastChild.type==s.type,r=y.Fragment.from(n?i.create():null),o=new y.Slice(y.Fragment.from(i.create(null,y.Fragment.from(s.type.create(null,r)))),n?3:1,0),c=a.start,u=a.end;t(e.tr.step(new v.ReplaceAroundStep(c-(n?3:1),u,c,u,o,1,!0)).scrollIntoView())}return!0})(t,n);var i},splitBlock:({keepMarks:e=!0}={})=>({tr:t,state:n,dispatch:r,editor:a})=>{const{selection:o,doc:s}=t,{$from:l,$to:c}=o,u=vt(a.extensionManager.attributes,l.node().type.name,l.node().attrs);if(o instanceof i.NodeSelection&&o.node.isBlock)return!(!l.parentOffset||!(0,v.canSplit)(s,l.pos))&&(r&&(e&&It(n,a.extensionManager.splittableMarks),t.split(l.pos).scrollIntoView()),!0);if(!l.parent.isBlock)return!1;const d=c.parentOffset===c.parent.content.size,p=0===l.depth?void 0:tt(l.node(-1).contentMatchAt(l.indexAfter(-1)));let f=d&&p?[{type:p,attrs:u}]:void 0,h=(0,v.canSplit)(t.doc,t.mapping.map(l.pos),1,f);if(f||h||!(0,v.canSplit)(t.doc,t.mapping.map(l.pos),1,p?[{type:p}]:void 0)||(h=!0,f=p?[{type:p,attrs:u}]:void 0),r){if(h&&(o instanceof i.TextSelection&&t.deleteSelection(),t.split(t.mapping.map(l.pos),1,f),p&&!d&&!l.parentOffset&&l.parent.type!==p)){const e=t.mapping.map(l.before()),n=t.doc.resolve(e);l.node(-1).canReplaceWith(n.index(),n.index()+1,p)&&t.setNodeMarkup(t.mapping.map(l.before()),p)}e&&It(n,a.extensionManager.splittableMarks),t.scrollIntoView()}return h},splitListItem:(e,t={})=>({tr:n,state:r,dispatch:a,editor:o})=>{var s;const l=te(e,r.schema),{$from:c,$to:u}=r.selection,d=r.selection.node;if(d&&d.isBlock||c.depth<2||!c.sameParent(u))return!1;const p=c.node(-1);if(p.type!==l)return!1;const f=o.extensionManager.attributes;if(0===c.parent.content.size&&c.node(-1).childCount===c.indexAfter(-1)){if(2===c.depth||c.node(-3).type!==l||c.index(-2)!==c.node(-2).childCount-1)return!1;if(a){let e=y.Fragment.empty;const r=c.index(-1)?1:c.index(-2)?2:3;for(let t=c.depth-r;t>=c.depth-3;t-=1)e=y.Fragment.from(c.node(t).copy(e));const a=c.indexAfter(-1)<c.node(-2).childCount?1:c.indexAfter(-2)<c.node(-3).childCount?2:3,o={...vt(f,c.node().type.name,c.node().attrs),...t},u=(null===(s=l.contentMatch.defaultType)||void 0===s?void 0:s.createAndFill(o))||void 0;e=e.append(y.Fragment.from(l.createAndFill(null,u)||void 0));const d=c.before(c.depth-(r-1));n.replace(d,c.after(-a),new y.Slice(e,4-r,0));let p=-1;n.doc.nodesBetween(d,n.doc.content.size,(e,t)=>{if(p>-1)return!1;e.isTextblock&&0===e.content.size&&(p=t+1)}),p>-1&&n.setSelection(i.TextSelection.near(n.doc.resolve(p))),n.scrollIntoView()}return!0}const h=u.pos===c.end()?p.contentMatchAt(0).defaultType:null,m={...vt(f,p.type.name,p.attrs),...t},g={...vt(f,c.node().type.name,c.node().attrs),...t};n.delete(c.pos,u.pos);const b=h?[{type:l,attrs:m},{type:h,attrs:g}]:[{type:l,attrs:m}];if(!(0,v.canSplit)(n.doc,c.pos,2))return!1;if(a){const{selection:e,storedMarks:t}=r,{splittableMarks:i}=o.extensionManager,s=t||e.$to.parentOffset&&e.$from.marks();if(n.split(c.pos,2,b).scrollIntoView(),!s||!a)return!0;const l=s.filter(e=>
23i.includes(e.type.name));n.ensureMarks(l)}return!0},toggleList:(e,t,n,r={})=>({editor:i,tr:a,state:o,dispatch:s,chain:l,commands:c,can:u})=>{const{extensions:d,splittableMarks:p}=i.extensionManager,f=te(e,o.schema),h=te(t,o.schema),{selection:m,storedMarks:g}=o,{$from:y,$to:v}=m,b=y.blockRange(v),_=g||m.$to.parentOffset&&m.$from.marks();if(!b)return!1;const w=at(e=>St(e.type.name,d))(m);if(b.depth>=1&&w&&b.depth-w.depth<=1){if(w.node.type===f)return c.liftListItem(h);if(St(w.node.type.name,d)&&f.validContent(w.node.content)&&s)return l().command(()=>(a.setNodeMarkup(w.pos,f),!0)).command(()=>Rt(a,f)).command(()=>Ot(a,f)).run()}return n&&_&&s?l().command(()=>{const e=u().wrapInList(f,r),t=_.filter(e=>p.includes(e.type.name));return a.ensureMarks(t),!!e||c.clearNodes()}).wrapInList(f,r).command(()=>Rt(a,f)).command(()=>Ot(a,f)).run():l().command(()=>!!u().wrapInList(f,r)||c.clearNodes()).wrapInList(f,r).command(()=>Rt(a,f)).command(()=>Ot(a,f)).run()},toggleMark:(e,t={},n={})=>({state:r,commands:i})=>{const{extendEmptyMarkRange:a=!1}=n,o=Ve(e,r.schema);return bt(r,o,t)?i.unsetMark(o,{extendEmptyMarkRange:a}):i.setMark(o,t)},toggleNode:(e,t,n={})=>({state:r,commands:i})=>{const a=te(e,r.schema),o=te(t,r.schema),s=Je(r,a,n);let l;return r.selection.$anchor.sameParent(r.selection.$head)&&(l=r.selection.$anchor.parent.attrs),s?i.setNode(o,l):i.setNode(a,{...l,...n})},toggleWrap:(e,t={})=>({state:n,commands:r})=>{const i=te(e,n.schema);return Je(n,i,t)?r.lift(i):r.wrapIn(i,t)},undoInputRule:()=>({state:e,dispatch:t})=>{const n=e.plugins;for(let r=0;r<n.length;r+=1){const i=n[r];let a;if(i.spec.isInputRules&&(a=i.getState(e))){if(t){const t=e.tr,n=a.transform;for(let e=n.steps.length-1;e>=0;e-=1)t.step(n.steps[e].invert(n.docs[e]));if(a.text){const n=t.doc.resolve(a.from).marks();t.replaceWith(a.from,a.to,e.schema.text(a.text,n))}else t.delete(a.from,a.to)}return!0}}return!1},unsetAllMarks:()=>({tr:e,dispatch:t})=>{const{selection:n}=e,{empty:r,ranges:i}=n;return r||t&&i.forEach(t=>{e.removeMark(t.$from.pos,t.$to.pos)}),!0},unsetMark:(e,t={})=>({tr:n,state:r,dispatch:i})=>{var a;const{extendEmptyMarkRange:o=!1}=t,{selection:s}=n,l=Ve(e,r.schema),{$from:c,empty:u,ranges:d}=s;if(!i)return!0;if(u&&o){let{from:e,to:t}=s;const r=null===(a=c.marks().find(e=>e.type===l))||void 0===a?void 0:a.attrs,i=Me(c,l,r);i&&(e=i.from,t=i.to),n.removeMark(e,t,l)}else d.forEach(e=>{n.removeMark(e.$from.pos,e.$to.pos,l)});return n.removeStoredMark(l),!0},updateAttributes:(e,t={})=>({tr:n,state:r,dispatch:i})=>{let a=null,o=null;const s=$e("string"===typeof e?e:e.name,r.schema);return!!s&&("node"===s&&(a=te(e,r.schema)),"mark"===s&&(o=Ve(e,r.schema)),i&&n.selection.ranges.forEach(e=>{const i=e.$from.pos,s=e.$to.pos;let l,c,u,d;n.selection.empty?r.doc.nodesBetween(i,s,(e,t)=>{a&&a===e.type&&(u=Math.max(t,i),d=Math.min(t+e.nodeSize,s),l=t,c=e)}):r.doc.nodesBetween(i,s,(e,r)=>{r<i&&a&&a===e.type&&(u=Math.max(r,i),d=Math.min(r+e.nodeSize,s),l=r,c=e),r>=i&&r<=s&&(a&&a===e.type&&n.setNodeMarkup(r,void 0,{...e.attrs,...t}),o&&e.marks.length&&e.marks.forEach(a=>{if(o===a.type){const l=Math.max(r,i),c=Math.min(r+e.nodeSize,s);n.addMark(l,c,o.create({...a.attrs,...t}))}}))}),c&&(void 0!==l&&n.setNodeMarkup(l,void 0,{...c.attrs,...t}),o&&c.marks.length&&c.marks.forEach(e=>{o===e.type&&n.addMark(u,d,o.create({...e.attrs,...t}))}))}),!0)},wrapIn:(e,t={})=>({state:n,dispatch:r})=>function(e,t=null){return function(n,r){let{$from:i,$to:a}=n.selection,o=i.blockRange(a),s=o&&(0,v.findWrapping)(o,e,t);return!!s&&(r&&r(n.tr.wrap(o,s).scrollIntoView()),!0)}}(te(e,n.schema),t)(n,r),wrapInList:(e,t={})=>({state:n,dispatch:r})=>G(te(e,n.schema),t)(n,r)});const Nt=Ie.create({name:"commands",addCommands:()=>({...Dt})}),jt=Ie.create({name:"drop",addProseMirrorPlugins(){return[new i.Plugin({key:new i.PluginKey("tiptapDrop"),props:{handleDrop:(e,t,n,r)=>{this.editor.emit("drop",{editor:this.editor,event:t,slice:n,moved:r})}}})]}}),Ft=Ie.create({name:"editable",addProseMirrorPlugins(){return[new i.Plugin({key:new i.PluginKey("editable"),props:{editable:()=>this.editor.options.editable}})]}}),Mt=new i.PluginKey("focusEvents"),Vt=Ie.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:e}=this;
vendor: 4,916 bytes, line 23
23return[new i.Plugin({key:Mt,props:{handleDOMEvents:{focus:(t,n)=>{e.isFocused=!0;const r=e.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return t.dispatch(r),!1},blur:(t,n)=>{e.isFocused=!1;const r=e.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return t.dispatch(r),!1}}}})]}}),Pt=Ie.create({name:"keymap",addKeyboardShortcuts(){const e=()=>this.editor.commands.first(({commands:e})=>[()=>e.undoInputRule(),()=>e.command(({tr:t})=>{const{selection:n,doc:r}=t,{empty:a,$anchor:o}=n,{pos:s,parent:l}=o,c=o.parent.isTextblock&&s>0?t.doc.resolve(s-1):o,u=c.parent.type.spec.isolating,d=o.pos-o.parentOffset,p=u&&1===c.parent.childCount?d===o.pos:i.Selection.atStart(r).from===s;return!(!a||!l.type.isTextblock||l.textContent.length||!p||p&&"paragraph"===o.parent.type.name)&&e.clearNodes()}),()=>e.deleteSelection(),()=>e.joinBackward(),()=>e.selectNodeBackward()]),t=()=>this.editor.commands.first(({commands:e})=>[()=>e.deleteSelection(),()=>e.deleteCurrentNode(),()=>e.joinForward(),()=>e.selectNodeForward()]),n={Enter:()=>this.editor.commands.first(({commands:e})=>[()=>e.newlineInCode(),()=>e.createParagraphNear(),()=>e.liftEmptyBlock(),()=>e.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:e,"Mod-Backspace":e,"Shift-Backspace":e,Delete:t,"Mod-Delete":t,"Mod-a":()=>this.editor.commands.selectAll()},r={...n},a={...n,"Ctrl-h":e,"Alt-Backspace":e,"Ctrl-d":t,"Ctrl-Alt-Backspace":t,"Alt-Delete":t,"Alt-d":t,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return We()||qe()?a:r},addProseMirrorPlugins(){return[new i.Plugin({key:new i.PluginKey("clearDocument"),appendTransaction:(e,t,n)=>{if(e.some(e=>e.getMeta("composition")))return;const r=e.some(e=>e.docChanged)&&!t.doc.eq(n.doc),a=e.some(e=>e.getMeta("preventClearDocument"));if(!r||a)return;const{empty:o,from:s,to:l}=t.selection,c=i.Selection.atStart(t.doc).from,u=i.Selection.atEnd(t.doc).to;if(o||!(s===c&&l===u))return;if(!xt(n.doc))return;const d=n.tr,p=J({state:n,transaction:d}),{commands:f}=new $({editor:this.editor,state:p});return f.clearNodes(),d.steps.length?d:void 0}})]}}),Lt=Ie.create({name:"paste",addProseMirrorPlugins(){return[new i.Plugin({key:new i.PluginKey("tiptapPaste"),props:{handlePaste:(e,t,n)=>{this.editor.emit("paste",{editor:this.editor,event:t,slice:n})}}})]}}),Bt=Ie.create({name:"tabindex",addProseMirrorPlugins(){return[new i.Plugin({key:new i.PluginKey("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}});var Ht=Object.freeze({__proto__:null,ClipboardTextSerializer:De,Commands:Nt,Drop:jt,Editable:Ft,FocusEvents:Vt,Keymap:Pt,Paste:Lt,Tabindex:Bt,focusEventsPluginKey:Mt});class Wt{get name(){return this.node.type.name}constructor(e,t,n=!1,r=null){this.currentNode=null,this.actualDepth=null,this.isBlock=n,this.resolvedPos=e,this.editor=t,this.currentNode=r}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return null!==(e=this.actualDepth)&&void 0!==e?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let t=this.from,n=this.to;if(this.isBlock){if(0===this.content.size)return void console.error(`You can\u2019t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);t=this.from+1,n=this.to-1}this.editor.commands.insertContentAt({from:t,to:n},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(0===this.depth)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),t=this.resolvedPos.doc.resolve(e);return new Wt(t,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new Wt(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new Wt(e,this.editor)}get children(){const e=[];return this.node.content.forEach((t,n)=>{const r=t.isBlock&&!t.isTextblock,i=t.isAtom&&!t.isText,a=this.pos+n+(i?0:1);if(a<0||a>this.resolvedPos.doc.nodeSize-2)return;const o=this.resolvedPos.doc.resolve(a);if(!r&&o.depth<=this.depth)return;const s=new Wt(o,this.editor,r,r?t:null);r&&(s.actualDepth=this.depth+1),e.push(new Wt(o,this.editor,r,r?t:null))}),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,t={}){let n=null,r=this.parent;for(;r&&!n;
23){if(r.node.type.name===e)if(Object.keys(t).length>0){const e=r.node.attrs,n=Object.keys(t);for(let r=0;r<n.length;r+=1){const i=n[r];if(e[i]!==t[i])break}}else n=r;r=r.parent}return n}querySelector(e,t={}){return this.querySelectorAll(e,t,!0)[0]||null}querySelectorAll(e,t={},n=!1){let r=[];if(!this.children||0===this.children.length)return r;const i=Object.keys(t);return this.children.forEach(a=>{if(!(n&&r.length>0)){if(a.node.type.name===e){i.every(e=>t[e]===a.node.attrs[e])&&r.push(a)}n&&r.length>0||(r=r.concat(a.querySelectorAll(e,t,n)))}}),r}setAttribute(e){const{tr:t}=this.editor.state;t.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(t)}}function zt(e,t,n){const r=document.querySelector(`style[data-tiptap-style${n?`-${n}`:""}]`);if(null!==r)return r;const i=document.createElement("style");return t&&i.setAttribute("nonce",t),i.setAttribute("data-tiptap-style"+(n?`-${n}`:""),""),i.innerHTML=e,document.getElementsByTagName("head")[0].appendChild(i),i}class Yt extends K{constructor(e={}){super(),this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,emitContentError:!1,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:e})=>{throw e},onPaste:()=>null,onDrop:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("contentError",this.options.onContentError),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",({event:e,slice:t,moved:n})=>this.options.onDrop(e,t,n)),this.on("paste",({event:e,slice:t})=>this.options.onPaste(e,t)),window.setTimeout(()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)},0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=zt('.ProseMirror {\n  position: relative;\n}\n\n.ProseMirror {\n  word-wrap: break-word;\n  white-space: pre-wrap;\n  white-space: break-spaces;\n  -webkit-font-variant-ligatures: none;\n  font-variant-ligatures: none;\n  font-feature-settings: "liga" 0; /* the above doesn\'t seem to work in Edge */\n}\n\n.ProseMirror [contenteditable="false"] {\n  white-space: normal;\n}\n\n.ProseMirror [contenteditable="false"] [contenteditable="true"] {\n  white-space: pre-wrap;\n}\n\n.ProseMirror pre {\n  white-space: pre-wrap;\n}\n\nimg.ProseMirror-separator {\n  display: inline !important;\n  border: none !important;\n  margin: 0 !important;\n  width: 0 !important;\n  height: 0 !important;\n}\n\n.ProseMirror-gapcursor {\n  display: none;\n  pointer-events: none;\n  position: absolute;\n  margin: 0;\n}
23\n\n.ProseMirror-gapcursor:after {\n  content: "";\n  display: block;\n  position: absolute;\n  top: -2px;\n  width: 20px;\n  border-top: 1px solid black;\n  animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n  to {\n    visibility: hidden;\n  }\n}\n\n.ProseMirror-hideselection *::selection {\n  background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n  background: transparent;\n}\n\n.ProseMirror-hideselection * {\n  caret-color: transparent;\n}\n\n.ProseMirror-focused .ProseMirror-gapcursor {\n  display: block;\n}\n\n.tippy-box[data-animation=fade][data-state=hidden] {\n  opacity: 0\n}',this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},this.view&&this.state&&!this.isDestroyed&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(e,t=!0){this.setOptions({editable:e}),t&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(e,t){const n=ie(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}unregisterPlugin(e){if(this.isDestroyed)return;const t=this.state.plugins;let n=t;if([].concat(e).forEach(e=>{const t="string"===typeof e?`${e}$`:e.key;n=n.filter(e=>!e.key.startsWith(t))}),t.length===n.length)return;const r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}createExtensionManager(){var e,t;const n=[...this.options.enableCoreExtensions?[Ft,De.configure({blockSeparator:null===(t=null===(e=this.options.coreExtensionOptions)||void 0===e?void 0:e.clipboardTextSerializer)||void 0===t?void 0:t.blockSeparator}),Nt,Vt,Pt,Bt,jt,Lt].filter(e=>"object"!==typeof this.options.enableCoreExtensions||!1!==this.options.enableCoreExtensions[e.name]):[],...this.options.extensions].filter(e=>["extension","node","mark"].includes(null===e||void 0===e?void 0:e.type));this.extensionManager=new Te(n,this)}createCommandManager(){this.commandManager=new $({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){var t;let n;try{n=Ze(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(e){if(!(e instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(e.message))throw e;this.emit("contentError",{editor:this,error:e,disableCollaboration:()=>{this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(e=>"collaboration"!==e.name),this.createExtensionManager()}}),n=Ze(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}const r=Be(n,this.options.autofocus);this.view=new a.EditorView(this.options.element,{...this.options.editorProps,attributes:{role:"textbox",...null===(t=this.options.editorProps)||void 0===t?void 0:t.attributes},dispatchTransaction:this.dispatchTransaction.bind(this),state:i.EditorState.create({doc:n,selection:r||void 0})});const o=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(o),this.createNodeViews(),this.prependClass();this.view.dom.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;const t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction)return this.capturedTransaction?void e.steps.forEach(e=>{var t;return null===(t=this.capturedTransaction)||void 0===t?void 0:t.step(e)}):void(this.capturedTransaction=e);const t=this.state.apply(e),n=!this.state.selection.eq(t.selection);this.emit("beforeTransaction",{editor:this,transaction:e,nextState:t}
23),this.view.updateState(t),this.emit("transaction",{editor:this,transaction:e}),n&&this.emit("selectionUpdate",{editor:this,transaction:e});const r=e.getMeta("focus"),i=e.getMeta("blur");r&&this.emit("focus",{editor:this,event:r.event,transaction:e}),i&&this.emit("blur",{editor:this,event:i.event,transaction:e}),e.docChanged&&!e.getMeta("preventUpdate")&&this.emit("update",{editor:this,transaction:e})}getAttributes(e){return pt(this.state,e)}isActive(e,t){const n="string"===typeof e?e:null,r="string"===typeof e?t:e;return _t(this.state,n,r)}getJSON(){return this.state.doc.toJSON()}getHTML(){return fe(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:t="\n\n",textSerializers:n={}}=e||{};return ct(this.state.doc,{blockSeparator:t,textSerializers:{...Oe(this.schema),...n}})}get isEmpty(){return xt(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){if(this.emit("destroy"),this.view){const e=this.view.dom;e&&e.editor&&delete e.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var e;return!(null===(e=this.view)||void 0===e?void 0:e.docView)}$node(e,t){var n;return(null===(n=this.$doc)||void 0===n?void 0:n.querySelector(e,t))||null}$nodes(e,t){var n;return(null===(n=this.$doc)||void 0===n?void 0:n.querySelectorAll(e,t))||null}$pos(e){const t=this.state.doc.resolve(e);return new Wt(t,this)}get $doc(){return this.$pos(0)}}function Ut(e){return new ge({find:e.find,handler:({state:t,range:n,match:r})=>{const i=ae(e.getAttributes,void 0,r);if(!1===i||null===i)return null;const{tr:a}=t,o=r[r.length-1],s=r[0];if(o){const r=s.search(/\S/),l=n.from+s.indexOf(o),c=l+o.length;if(gt(n.from,n.to,t.doc).filter(t=>t.mark.type.excluded.find(n=>n===e.type&&n!==t.mark.type)).filter(e=>e.to>l).length)return null;c<n.to&&a.delete(c,n.to),l>n.from&&a.delete(n.from+r,l);const u=n.from+r+o.length;a.addMark(n.from+r,u,e.type.create(i||{})),a.removeStoredMark(e.type)}}})}function Xt(e){return new ge({find:e.find,handler:({state:t,range:n,match:r})=>{const i=ae(e.getAttributes,void 0,r)||{},{tr:a}=t,o=n.from;let s=n.to;const l=e.type.create(i);if(r[1]){let e=o+r[0].lastIndexOf(r[1]);e>s?e=s:s=e+r[1].length;const t=r[0][r[0].length-1];a.insertText(t,o+r[0].length-1),a.replaceWith(e,s,l)}else if(r[0]){const t=e.type.isInline?o:o-1;a.insert(t,e.type.create(i)).delete(a.mapping.map(o),a.mapping.map(s))}a.scrollIntoView()}})}function Gt(e){return new ge({find:e.find,handler:({state:t,range:n,match:r})=>{const i=t.doc.resolve(n.from),a=ae(e.getAttributes,void 0,r)||{};if(!i.node(-1).canReplaceWith(i.index(-1),i.indexAfter(-1),e.type))return null;t.tr.delete(n.from,n.to).setBlockType(n.from,n.from,e.type,a)}})}function qt(e){return new ge({find:e.find,handler:({state:t,range:n,match:r})=>{let i=e.replace,a=n.from;const o=n.to;if(r[1]){const e=r[0].lastIndexOf(r[1]);i+=r[0].slice(e+r[1].length),a+=e;const t=a-o;t>0&&(i=r[0].slice(e-t,e)+i,a=o)}t.tr.insertText(i,a,o)}})}function Jt(e){return new ge({find:e.find,handler:({state:t,range:n,match:r,chain:i})=>{const a=ae(e.getAttributes,void 0,r)||{},o=t.tr.delete(n.from,n.to),s=o.doc.resolve(n.from).blockRange(),l=s&&(0,v.findWrapping)(s,e.type,a);if(!l)return null;if(o.wrap(s,l),e.keepMarks&&e.editor){const{selection:n,storedMarks:r}=t,{splittableMarks:i}=e.editor.extensionManager,a=r||n.$to.parentOffset&&n.$from.marks();if(a){const e=a.filter(e=>i.includes(e.type.name));o.ensureMarks(e)}}if(e.keepAttributes){const t="bulletList"===e.type.name||"orderedList"===e.type.name?"listItem":"taskList";i().updateAttributes(t,a).run()}const c=o.doc.resolve(n.from-1).nodeBefore;c&&c.type===e.type&&(0,v.canJoin)(o.doc,n.from-1)&&(!e.joinPredicate||e.joinPredicate(r,c))&&o.join(n.from-1)}})}class $t{constructor(e={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=ae(Z(this,"addOptions",{name:this.name}))),this.storage=ae(Z(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new $t(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>_e(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new $t(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=ae(Z(t,"addOptions",{name:t.name})),t.storage=ae(Z(t,"addStorage",{name:t.name,options:t.options})),t}}class Kt{constructor(e,t,n){this.isDragging=!1,this.component=e,this.editor=t.editor,this.options={stopEvent:null,ignoreMutation:null,...n},this.extension=t.extension,this.node=t.node,this.decorations=t.decorations,this.innerDecorations=t.innerDecorations,this.view=t.view,this.HTMLAttributes=t.HTMLAttributes,this.getPos=t.getPos,this.mount()}mount(){}get dom(){return this.editor.view.dom}get contentDOM(){return null}onDragStart(e){var t,n,r,a,o,s,l;const{view:c}=this.editor,u=e.target,d=3===u.nodeType?null===(t=u.parentElement)||void 0===t?void 0:t.closest("[data-drag-handle]"):u.closest("[data-drag-handle]");if(!this.dom||(null===(n=this.contentDOM)||void 0===n?void 0:n.contains(u))||!d)return;let p=0,f=0;if(this.dom!==d){const t=this.dom.getBoundingClientRect(),n=d.getBoundingClientRect(),i=null!==(r=e.offsetX)&&void 0!==r?r:null===(a=e.nativeEvent)||void 0===a?void 0:a.offsetX,l=null!==(o=e.offsetY)&&void 0!==o?o:null===(s=e.nativeEvent)||void 0===s?void 0:s.offsetY;p=n.x-t.x+i,f=n.y-t.y+l}const h=this.dom.cloneNode(!0);null===(l=e.dataTransfer)||void 0===l||l.setDragImage(h,p,f);const m=this.getPos();if("number"!==typeof m)return;const g=i.NodeSelection.create(c.state.doc,m),y=c.state.tr.setSelection(g);c.dispatch(y)}stopEvent(e){var t;if(!this.dom)return!1;if("function"===typeof this.options.stopEvent)return this.options.stopEvent({event:e});const n=e.target;if(!(this.dom.contains(n)&&!(null===(t=this.contentDOM)||void 0===t?void 0:t.contains(n))))return!1;const r=e.type.startsWith("drag"),a="drop"===e.type;if((["INPUT","BUTTON","SELECT","TEXTAREA"].includes(n.tagName)||n.isContentEditable)&&!a&&!r)return!0;const{isEditable:o}=this.editor,{isDragging:s}=this,l=!!this.node.type.spec.draggable,c=i.NodeSelection.isSelectable(this.node),u="copy"===e.type,d="paste"===e.type,p="cut"
23===e.type,f="mousedown"===e.type;if(!l&&c&&r&&e.target===this.dom&&e.preventDefault(),l&&r&&!s&&e.target===this.dom)return e.preventDefault(),!1;if(l&&o&&!s&&f){const e=n.closest("[data-drag-handle]");e&&(this.dom===e||this.dom.contains(e))&&(this.isDragging=!0,document.addEventListener("dragend",()=>{this.isDragging=!1},{once:!0}),document.addEventListener("drop",()=>{this.isDragging=!1},{once:!0}),document.addEventListener("mouseup",()=>{this.isDragging=!1},{once:!0}))}return!(s||a||u||d||p||f&&c)}ignoreMutation(e){if(!this.dom||!this.contentDOM)return!0;if("function"===typeof this.options.ignoreMutation)return this.options.ignoreMutation({mutation:e});if(this.node.isLeaf||this.node.isAtom)return!0;if("selection"===e.type)return!1;if(this.dom.contains(e.target)&&"childList"===e.type&&(We()||He())&&this.editor.isFocused){if([...Array.from(e.addedNodes),...Array.from(e.removedNodes)].every(e=>e.isContentEditable))return!1}return this.contentDOM===e.target&&"attributes"===e.type||!this.contentDOM.contains(e.target)}updateAttributes(e){this.editor.commands.command(({tr:t})=>{const n=this.getPos();return"number"===typeof n&&(t.setNodeMarkup(n,void 0,{...this.node.attrs,...e}),!0)})}deleteNode(){const e=this.getPos();if("number"!==typeof e)return;const t=e+this.node.nodeSize;this.editor.commands.deleteRange({from:e,to:t})}}function Zt(e){return new Se({find:e.find,handler:({state:t,range:n,match:r,pasteEvent:i})=>{const a=ae(e.getAttributes,void 0,r,i);if(!1===a||null===a)return null;const{tr:o}=t,s=r[r.length-1],l=r[0];let c=n.to;if(s){const r=l.search(/\S/),i=n.from+l.indexOf(s),u=i+s.length;if(gt(n.from,n.to,t.doc).filter(t=>t.mark.type.excluded.find(n=>n===e.type&&n!==t.mark.type)).filter(e=>e.to>i).length)return null;u<n.to&&o.delete(u,n.to),i>n.from&&o.delete(n.from+r,i),c=n.from+r+s.length,o.addMark(n.from+r,c,e.type.create(a||{})),o.removeStoredMark(e.type)}}})}function Qt(e,t){const{selection:n}=e,{$from:r}=n;if(n instanceof i.NodeSelection){const e=r.index();return r.parent.canReplaceWith(e,e+1,t)}let a=r.depth;for(;a>=0;){const e=r.index(a);if(r.node(a).contentMatchAt(e).matchType(t))return!0;a-=1}return!1}function en(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function tn(e){return"string"===typeof e}function nn(e){return new Se({find:e.find,handler({match:t,chain:n,range:r,pasteEvent:i}){const a=ae(e.getAttributes,void 0,t,i),o=ae(e.getContent,void 0,a);if(!1===a||null===a)return null;const s={type:e.type.name,attrs:a};o&&(s.content=o),t.input&&n().deleteRange(r).insertContentAt(r.from,s)}})}function rn(e){return new Se({find:e.find,handler:({state:t,range:n,match:r})=>{let i=e.replace,a=n.from;const o=n.to;if(r[1]){const e=r[0].lastIndexOf(r[1]);i+=r[0].slice(e+r[1].length),a+=e;const t=a-o;t>0&&(i=r[0].slice(e-t,e)+i,a=o)}t.tr.insertText(i,a,o)}})}class an{constructor(e){this.transaction=e,this.currentStep=this.transaction.steps.length}map(e){let t=!1;return{position:this.transaction.steps.slice(this.currentStep).reduce((e,n)=>{const r=n.getMap().mapResult(e);return r.deleted&&(t=!0),r.pos},e),deleted:t}}}},81908(e,t,n){"use strict";n.r(t),n.d(t,{Document:()=>r,default:()=>r});const r=n(49599).Node.create({name:"doc",topNode:!0,content:"block+"})},16726(e,t,n){"use strict";n.r(t),n.d(t,{HardBreak:()=>i,default:()=>i});var r=n(49599);const i=r.Node.create({name:"hardBreak",addOptions:()=>({keepMarks:!0,HTMLAttributes:{}}),inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML:()=>[{tag:"br"}],renderHTML({HTMLAttributes:e}){return["br",(0,r.mergeAttributes)(this.options.HTMLAttributes,e)]},renderText:()=>"\n",addCommands(){return{setHardBreak:()=>({commands:e,chain:t,state:n,editor:r})=>e.first([()=>e.exitCode(),()=>e.command(()=>{const{selection:e,storedMarks:i}=n;if(e.$from.parent.type.spec.isolating)return!1;const{keepMarks:a}=this.options,{splittableMarks:o}=r.extensionManager,s=i||e.$to.parentOffset&&e.$from.marks();return t().insertContent({type:this.name}).command(({tr:e,dispatch:t})=>{if(t&&s&&a){const t=s.filter(e=>o.includes(e.type.name));e.ensureMarks(t)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}})},4904(e,t,n){"use strict";n.r(t),n.d(t,{History:()=>E,default:()=>E});var r=n(49599),i=200,a=function(){};a.prototype.append=function(e){return e.length?(e=a.from(e),!this.length&&e||e.length<i&&this.leafAppend(e)||this.length<i&&e.leafPrepend(this)||this.appendInner(e)):this},a.prototype.prepend=function(e){return e.length?a.from(e).append(this):this},a.prototype.appendInner=function(e){return new s(this,e)},a.prototype.slice=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.length),e>=t?a.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},a.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)},a.prototype.forEach=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)},a.prototype.map=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length);var r=[];return this.forEach(function(t,n){return r.push(e(t,n))},t,n),r},a.from=function(e){return e instanceof a?e:e&&e.length?new o(e):a.empty};var o=function(e){function t(t){e.call(this),this.values=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(e,n){return 0==e&&n==this.length?this:new t(this.values.slice(e,n))},t.prototype.getInner=function(e){return this.values[e]},t.prototype.forEachInner=function(e,t,n,r){for(var i=t;i<n;i++)if(!1===e(this.values[i],r+i))return!1},t.prototype.forEachInvertedInner=function(e,t,n,r){for(var i=t-1;i>=n;i--)if(!1===e(this.values[i],r+i))return!1},t.prototype.leafAppend=function(e){if(this.length+e.length<=i)return new t(this.values.concat(e.flatten()))},t.prototype.leafPrepend=function(e){if(this.length+e.length<=i)return new t(e.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(a);a.empty=new o([]);var s=function(e){function t(t,n){e.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return e<this.left.length?this.left.get(e):this.right.get(e-this.left.length)},t.prototype.forEachInner=function(e,t,n,r){var i=this.left.length;return!(t<i&&!1===this.left.forEachInner(e,t,Math.min(n,i),r))&&(!(n>i&&!1===this.right.forEachInner(e,Math.max(t-i,0),Math.min(this.length,n)-i,r+i))&&void 0)},t.prototype.forEachInvertedInner=function(e,t,n,r){var i=this.left.length;return!(t>i&&!1===this.right.forEachInvertedInner(e,t-i,Math.max(n,i)-i,r+i))&&(!(n<i&&!1===this.left.forEachInvertedInner(e,Math.min(t,i),n,r))&&void 0)},t.prototype.sliceInner=function(e,t){if(0==e&&t==this.length)return this;var n=this.left.length;return t<=n?this.left.slice(e,t):e>=n?this.right.slice(e-n,t-n):this.left.slice(e,n).append(this.right.slice(0,t-n))},t.prototype.leafAppend=function(e){var n=this.right.leafAppend(e);if(n)return new t(this.left,n)},t.prototype.leafPrepend=function(e){var n=this.left.leafPrepend(e);if(n)return new t(n,this.right)},t.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(a);const l=a;var c=n(50119),u=n(99988);class d{constructor(e,t){this.items=e,this.eventCount=t}popEvent(e,t){if(0==this.eventCount)return null;let n,r,i=this.items.length;for(;;i--){if(this.items.get(i-1).selection){--i;break}}t&&(n=this.remapping(i,this.items.length),r=n.maps.length);let a,o,s=e.tr,l=[],c=[];
23return this.items.forEach((e,t)=>{if(!e.step)return n||(n=this.remapping(i,t+1),r=n.maps.length),r--,void c.push(e);if(n){c.push(new p(e.map));let t,i=e.step.map(n.slice(r));i&&s.maybeStep(i).doc&&(t=s.mapping.maps[s.mapping.maps.length-1],l.push(new p(t,void 0,void 0,l.length+c.length))),r--,t&&n.appendMap(t,r)}else s.maybeStep(e.step);return e.selection?(a=n?e.selection.map(n.slice(r)):e.selection,o=new d(this.items.slice(0,i).append(c.reverse().concat(l)),this.eventCount-1),!1):void 0},this.items.length,0),{remaining:o,transform:s,selection:a}}addTransform(e,t,n,r){let i=[],a=this.eventCount,o=this.items,s=!r&&o.length?o.get(o.length-1):null;for(let c=0;c<e.steps.length;c++){let n,l=e.steps[c].invert(e.docs[c]),u=new p(e.mapping.maps[c],l,t);(n=s&&s.merge(u))&&(u=n,c?i.pop():o=o.slice(0,o.length-1)),i.push(u),t&&(a++,t=void 0),r||(s=u)}let l=a-n.depth;return l>h&&(o=function(e,t){let n;return e.forEach((e,r)=>{if(e.selection&&0==t--)return n=r,!1}),e.slice(n)}(o,l),a-=l),new d(o.append(i),a)}remapping(e,t){let n=new c.Mapping;return this.items.forEach((t,r)=>{let i=null!=t.mirrorOffset&&r-t.mirrorOffset>=e?n.maps.length-t.mirrorOffset:void 0;n.appendMap(t.map,i)},e,t),n}addMaps(e){return 0==this.eventCount?this:new d(this.items.append(e.map(e=>new p(e))),this.eventCount)}rebased(e,t){if(!this.eventCount)return this;let n=[],r=Math.max(0,this.items.length-t),i=e.mapping,a=e.steps.length,o=this.eventCount;this.items.forEach(e=>{e.selection&&o--},r);let s=t;this.items.forEach(t=>{let r=i.getMirror(--s);if(null==r)return;a=Math.min(a,r);let l=i.maps[r];if(t.step){let a=e.steps[r].invert(e.docs[r]),c=t.selection&&t.selection.map(i.slice(s+1,r));c&&o++,n.push(new p(l,a,c))}else n.push(new p(l))},r);let l=[];for(let d=t;d<a;d++)l.push(new p(i.maps[d]));let c=this.items.slice(0,r).append(l).append(n),u=new d(c,o);return u.emptyItemCount()>500&&(u=u.compress(this.items.length-n.length)),u}emptyItemCount(){let e=0;return this.items.forEach(t=>{t.step||e++}),e}compress(e=this.items.length){let t=this.remapping(0,e),n=t.maps.length,r=[],i=0;return this.items.forEach((a,o)=>{if(o>=e)r.push(a),a.selection&&i++;else if(a.step){let e=a.step.map(t.slice(n)),o=e&&e.getMap();if(n--,o&&t.appendMap(o,n),e){let s=a.selection&&a.selection.map(t.slice(n));s&&i++;let l,c=new p(o.invert(),e,s),u=r.length-1;(l=r.length&&r[u].merge(c))?r[u]=l:r.push(c)}}else a.map&&n--},this.items.length,0),new d(l.from(r.reverse()),i)}}d.empty=new d(l.empty,0);class p{constructor(e,t,n,r){this.map=e,this.step=t,this.selection=n,this.mirrorOffset=r}merge(e){if(this.step&&e.step&&!e.selection){let t=e.step.merge(this.step);if(t)return new p(t.getMap().invert(),t,this.selection)}}}class f{constructor(e,t,n,r,i){this.done=e,this.undone=t,this.prevRanges=n,this.prevTime=r,this.prevComposition=i}}const h=20;function m(e){let t=[];for(let n=e.length-1;n>=0&&0==t.length;n--)e[n].forEach((e,n,r,i)=>t.push(r,i));return t}function g(e,t){if(!e)return null;let n=[];for(let r=0;r<e.length;r+=2){let i=t.map(e[r],1),a=t.map(e[r+1],-1);i<=a&&n.push(i,a)}return n}let y=!1,v=null;function b(e){let t=e.plugins;if(v!=t){y=!1,v=t;for(let e=0;e<t.length;e++)if(t[e].spec.historyPreserveItems){y=!0;break}}return y}const _=new u.PluginKey("history"),w=new u.PluginKey("closeHistory");function k(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new u.Plugin({key:_,state:{init:()=>new f(d.empty,d.empty,null,0,-1),apply:(t,n,r)=>function(e,t,n,r){let i,a=n.getMeta(_);if(a)return a.historyState;n.getMeta(w)&&(e=new f(e.done,e.undone,null,0,-1));let o=n.getMeta("appendedTransaction");if(0==n.steps.length)return e;if(o&&o.getMeta(_))return o.getMeta(_).redo?new f(e.done.addTransform(n,void 0,r,b(t)),e.undone,m(n.mapping.maps),e.prevTime,e.prevComposition):new f(e.done,e.undone.addTransform(n,void 0,r,b(t)),null,e.prevTime,e.prevComposition);if(!1===n.getMeta("addToHistory")||o&&!1===o.getMeta("addToHistory"))return(i=n.getMeta("rebased"))?new f(e.done.rebased(n,i),e.undone.rebased(n,i),g(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new f(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),g(e.prevRanges,n.mapping),e.prevTime,e.prevComposition);{let i=n.getMeta("composition"),a=0==e.prevTime||!o&&e.prevComposition!=i&&(e.prevTime<(n.time||0)-r.newGroupDelay||!function(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;
23return e.mapping.maps[0].forEach((e,r)=>{for(let i=0;i<t.length;i+=2)e<=t[i+1]&&r>=t[i]&&(n=!0)}),n}(n,e.prevRanges)),s=o?g(e.prevRanges,n.mapping):m(n.mapping.maps);return new f(e.done.addTransform(n,a?t.selection.getBookmark():void 0,r,b(t)),d.empty,s,n.time,null==i?e.prevComposition:i)}}(n,r,t,e)},config:e,props:{handleDOMEvents:{beforeinput(e,t){let n=t.inputType,r="historyUndo"==n?x:"historyRedo"==n?C:null;return!(!r||!e.editable)&&(t.preventDefault(),r(e.state,e.dispatch))}}}})}function S(e,t){return(n,r)=>{let i=_.getState(n);if(!i||0==(e?i.undone:i.done).eventCount)return!1;if(r){let a=function(e,t,n){let r=b(t),i=_.get(t).spec.config,a=(n?e.undone:e.done).popEvent(t,r);if(!a)return null;let o=a.selection.resolve(a.transform.doc),s=(n?e.done:e.undone).addTransform(a.transform,t.selection.getBookmark(),i,r),l=new f(n?s:a.remaining,n?a.remaining:s,null,0,-1);return a.transform.setSelection(o).setMeta(_,{redo:n,historyState:l})}(i,n,e);a&&r(t?a.scrollIntoView():a)}return!0}}const x=S(!1,!0),C=S(!0,!0);S(!1,!1),S(!0,!1);const E=r.Extension.create({name:"history",addOptions:()=>({depth:100,newGroupDelay:500}),addCommands:()=>({undo:()=>({state:e,dispatch:t})=>x(e,t),redo:()=>({state:e,dispatch:t})=>C(e,t)}),addProseMirrorPlugins(){return[k(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-\u044f":()=>this.editor.commands.undo(),"Shift-Mod-\u044f":()=>this.editor.commands.redo()}}})},74466(e,t,n){"use strict";n.r(t),n.d(t,{Mention:()=>p,default:()=>p});var r=n(49599),i=n(27951),a=n(99988),o=n(94864);function s(e){var t;const{char:n,allowSpaces:i,allowToIncludeChar:a,allowedPrefixes:o,startOfLine:s,$position:l}=e,c=i&&!a,u=(0,r.escapeForRegEx)(n),d=new RegExp(`\\s${u}$`),p=s?"^":"",f=a?"":u,h=c?new RegExp(`${p}${u}.*?(?=\\s${f}|$)`,"gm"):new RegExp(`${p}(?:^)?${u}[^\\s${f}]*`,"gm"),m=(null===(t=l.nodeBefore)||void 0===t?void 0:t.isText)&&l.nodeBefore.text;if(!m)return null;const g=l.pos-m.length,y=Array.from(m.matchAll(h)).pop();if(!y||void 0===y.input||void 0===y.index)return null;const v=y.input.slice(Math.max(0,y.index-1),y.index),b=new RegExp(`^[${null===o||void 0===o?void 0:o.join("")}\0]?$`).test(v);if(null!==o&&!b)return null;const _=g+y.index;let w=_+y[0].length;return c&&d.test(m.slice(w-1,w+1))&&(y[0]+=" ",w+=1),_<l.pos&&w>=l.pos?{range:{from:_,to:w},query:y[0].slice(n.length),text:y[0]}:null}const l=new a.PluginKey("suggestion");function c({pluginKey:e=l,editor:t,char:n="@",allowSpaces:r=!1,allowToIncludeChar:i=!1,allowedPrefixes:c=[" "],startOfLine:u=!1,decorationTag:d="span",decorationClass:p="suggestion",decorationContent:f="",decorationEmptyClass:h="is-empty",command:m=()=>null,items:g=()=>[],render:y=()=>({}),allow:v=()=>!0,findSuggestionMatch:b=s}){let _;const w=null===y||void 0===y?void 0:y(),k=new a.Plugin({key:e,view(){return{update:async(e,n)=>{var r,i,a,o,s,l,c;const u=null===(r=this.key)||void 0===r?void 0:r.getState(n),d=null===(i=this.key)||void 0===i?void 0:i.getState(e.state),p=u.active&&d.active&&u.range.from!==d.range.from,f=!u.active&&d.active,h=u.active&&!d.active,y=!f&&!h&&u.query!==d.query,v=f||p&&y,b=y||p,k=h||p&&y;if(!v&&!b&&!k)return;const S=k&&!v?u:d,x=e.dom.querySelector(`[data-decoration-id="${S.decorationId}"]`);_={editor:t,range:S.range,query:S.query,text:S.text,items:[],command:e=>m({editor:t,range:S.range,props:e}),decorationNode:x,clientRect:x?()=>{var n;const{decorationId:r}=null===(n=this.key)||void 0===n?void 0:n.getState(t.state),i=e.dom.querySelector(`[data-decoration-id="${r}"]`);return(null===i||void 0===i?void 0:i.getBoundingClientRect())||null}:null},v&&(null===(a=null===w||void 0===w?void 0:w.onBeforeStart)||void 0===a||a.call(w,_)),b&&(null===(o=null===w||void 0===w?void 0:w.onBeforeUpdate)||void 0===o||o.call(w,_)),(b||v)&&(_.items=await g({editor:t,query:S.query})),k&&(null===(s=null===w||void 0===w?void 0:w.onExit)||void 0===s||s.call(w,_)),b&&(null===(l=null===w||void 0===w?void 0:w.onUpdate)||void 0===l||l.call(w,_)),v&&(null===(c=null===w||void 0===w?void 0:w.onStart)||void 0===c||c.call(w,_))},destroy:()=>{var e;_&&(null===(e=null===w||void 0===w?void 0:w.onExit)||void 0===e||e.call(w,_))}}},state:{init:()=>({active:!1,range:{from:0,to:0},query:null,text:null,composing:!1}),apply(e,a,o,s){const{isEditable:l}=t,{composing:d}=t.view,{selection:p}=e,{empty:f,from:h}=p,m={...a};if(m.composing=d,l&&(f||t.view.composing)){!(h<a.range.from||h>a.range.to)||d||a.composing||(m.active=!1);const e=b({char:n,allowSpaces:r,allowToIncludeChar:i,allowedPrefixes:c,startOfLine:u,$position:p.$from}
23),o=`id_${Math.floor(4294967295*Math.random())}`;e&&v({editor:t,state:s,range:e.range,isActive:a.active})?(m.active=!0,m.decorationId=a.decorationId?a.decorationId:o,m.range=e.range,m.query=e.query,m.text=e.text):m.active=!1}else m.active=!1;return m.active||(m.decorationId=null,m.range={from:0,to:0},m.query=null,m.text=null),m}},props:{handleKeyDown(e,t){var n;const{active:r,range:i}=k.getState(e.state);return r&&(null===(n=null===w||void 0===w?void 0:w.onKeyDown)||void 0===n?void 0:n.call(w,{view:e,event:t,range:i}))||!1},decorations(e){const{active:t,range:n,decorationId:r,query:i}=k.getState(e);if(!t)return null;const a=!(null===i||void 0===i?void 0:i.length),s=[p];return a&&s.push(h),o.DecorationSet.create(e.doc,[o.Decoration.inline(n.from,n.to,{nodeName:d,class:s.join(" "),"data-decoration-id":r,"data-decoration-content":f})])}}});return k}function u(e){return(e.options.suggestions.length?e.options.suggestions:[e.options.suggestion]).map(t=>function({editor:e,overrideSuggestionOptions:t,extensionName:n,char:r="@"}){const i=new a.PluginKey;return{editor:e,char:r,pluginKey:i,command:({editor:e,range:t,props:i})=>{var a,o,s;const l=e.view.state.selection.$to.nodeAfter;(null===(a=null===l||void 0===l?void 0:l.text)||void 0===a?void 0:a.startsWith(" "))&&(t.to+=1),e.chain().focus().insertContentAt(t,[{type:n,attrs:{...i,mentionSuggestionChar:r}},{type:"text",text:" "}]).run(),null===(s=null===(o=e.view.dom.ownerDocument.defaultView)||void 0===o?void 0:o.getSelection())||void 0===s||s.collapseToEnd()},allow:({state:e,range:t})=>{const r=e.doc.resolve(t.from),i=e.schema.nodes[n];return!!r.parent.type.contentMatch.matchType(i)},...t}}({editor:e.editor,overrideSuggestionOptions:t,extensionName:e.name,char:t.char}))}function d(e,t){const n=u(e),r=n.find(e=>e.char===t);return r||(n.length?n[0]:null)}const p=r.Node.create({name:"mention",priority:101,addOptions:()=>({HTMLAttributes:{},renderText({node:e,suggestion:t}){var n,r;return`${null!==(n=null===t||void 0===t?void 0:t.char)&&void 0!==n?n:"@"}${null!==(r=e.attrs.label)&&void 0!==r?r:e.attrs.id}`},deleteTriggerWithBackspace:!1,renderHTML({options:e,node:t,suggestion:n}){var i,a;return["span",(0,r.mergeAttributes)(this.HTMLAttributes,e.HTMLAttributes),`${null!==(i=null===n||void 0===n?void 0:n.char)&&void 0!==i?i:"@"}${null!==(a=t.attrs.label)&&void 0!==a?a:t.attrs.id}`]},suggestions:[],suggestion:{}}),group:"inline",inline:!0,selectable:!1,atom:!0,addAttributes:()=>({id:{default:null,parseHTML:e=>e.getAttribute("data-id"),renderHTML:e=>e.id?{"data-id":e.id}:{}},label:{default:null,parseHTML:e=>e.getAttribute("data-label"),renderHTML:e=>e.label?{"data-label":e.label}:{}},mentionSuggestionChar:{default:"@",parseHTML:e=>e.getAttribute("data-mention-suggestion-char"),renderHTML:e=>({"data-mention-suggestion-char":e.mentionSuggestionChar})}}),parseHTML(){return[{tag:`span[data-type="${this.name}"]`}]},renderHTML({node:e,HTMLAttributes:t}){const n=d(this,e.attrs.mentionSuggestionChar);if(void 0!==this.options.renderLabel)return console.warn("renderLabel is deprecated use renderText and renderHTML instead"),["span",(0,r.mergeAttributes)({"data-type":this.name},this.options.HTMLAttributes,t),this.options.renderLabel({options:this.options,node:e,suggestion:n})];const i={...this.options};i.HTMLAttributes=(0,r.mergeAttributes)({"data-type":this.name},this.options.HTMLAttributes,t);const a=this.options.renderHTML({options:i,node:e,suggestion:n});return"string"===typeof a?["span",(0,r.mergeAttributes)({"data-type":this.name},this.options.HTMLAttributes,t),a]:a},renderText({node:e}){const t={options:this.options,node:e,suggestion:d(this,e.attrs.mentionSuggestionChar)};return void 0!==this.options.renderLabel?(console.warn("renderLabel is deprecated use renderText and renderHTML instead"),this.options.renderLabel(t)):this.options.renderText(t)},addKeyboardShortcuts(){return{Backspace:()=>this.editor.commands.command(({tr:e,state:t})=>{let n=!1;const{selection:r}=t,{empty:a,anchor:o}=r;if(!a)return!1;t.doc.nodesBetween(o-1,o,(t,r)=>{if(t.type.name===this.name)return n=!0,e.insertText(this.options.deleteTriggerWithBackspace?"":this.options.suggestion.char||"",r,r+t.nodeSize),!1});let s=new i.Node,l=0;return t.doc.nodesBetween(o-1,o,(e,t)=>
23{if(e.type.name===this.name)return n=!0,s=e,l=t,!1}),n&&e.insertText(this.options.deleteTriggerWithBackspace?"":s.attrs.mentionSuggestionChar,l,l+s.nodeSize),n})}},addProseMirrorPlugins(){return u(this).map(c)}})},38005(e,t,n){"use strict";n.r(t),n.d(t,{Paragraph:()=>i,default:()=>i});var r=n(49599);const i=r.Node.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:e}){return["p",(0,r.mergeAttributes)(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}})},93228(e,t,n){"use strict";n.r(t),n.d(t,{Placeholder:()=>o,default:()=>o});var r=n(49599),i=n(99988),a=n(94864);const o=r.Extension.create({name:"placeholder",addOptions:()=>({emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something \u2026",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}),addProseMirrorPlugins(){return[new i.Plugin({key:new i.PluginKey("placeholder"),props:{decorations:({doc:e,selection:t})=>{const n=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:i}=t,o=[];if(!n)return null;const s=this.editor.isEmpty;return e.descendants((e,t)=>{const n=i>=t&&i<=t+e.nodeSize,l=!e.isLeaf&&(0,r.isNodeEmpty)(e);if((n||!this.options.showOnlyCurrent)&&l){const r=[this.options.emptyNodeClass];s&&r.push(this.options.emptyEditorClass);const i=a.Decoration.node(t,t+e.nodeSize,{class:r.join(" "),"data-placeholder":"function"===typeof this.options.placeholder?this.options.placeholder({editor:this.editor,node:e,pos:t,hasAnchor:n}):this.options.placeholder});o.push(i)}return this.options.includeChildren}),a.DecorationSet.create(e,o)}}})]}})},11846(e,t,n){"use strict";n.r(t),n.d(t,{Text:()=>r,default:()=>r});const r=n(49599).Node.create({name:"text",group:"inline"})},65607(e,t,n){"use strict";n.r(t),n.d(t,{BubbleMenu:()=>P,CommandManager:()=>r.CommandManager,Editor:()=>r.Editor,EditorConsumer:()=>F,EditorContent:()=>w,EditorContext:()=>j,EditorProvider:()=>V,Extension:()=>r.Extension,FloatingMenu:()=>L,InputRule:()=>r.InputRule,Mark:()=>r.Mark,Node:()=>r.Node,NodePos:()=>r.NodePos,NodeView:()=>r.NodeView,NodeViewContent:()=>W,NodeViewWrapper:()=>z,PasteRule:()=>r.PasteRule,PureEditorContent:()=>b,ReactNodeView:()=>G,ReactNodeViewContext:()=>B,ReactNodeViewRenderer:()=>q,ReactRenderer:()=>X,Tracker:()=>r.Tracker,callOrReturn:()=>r.callOrReturn,canInsertNode:()=>r.canInsertNode,combineTransactionSteps:()=>r.combineTransactionSteps,createChainableState:()=>r.createChainableState,createDocument:()=>r.createDocument,createNodeFromContent:()=>r.createNodeFromContent,createStyleTag:()=>r.createStyleTag,defaultBlockAt:()=>r.defaultBlockAt,deleteProps:()=>r.deleteProps,elementFromString:()=>r.elementFromString,escapeForRegEx:()=>r.escapeForRegEx,extensions:()=>r.extensions,findChildren:()=>r.findChildren,findChildrenInRange:()=>r.findChildrenInRange,findDuplicates:()=>r.findDuplicates,findParentNode:()=>r.findParentNode,findParentNodeClosestToPos:()=>r.findParentNodeClosestToPos,fromString:()=>r.fromString,generateHTML:()=>r.generateHTML,generateJSON:()=>r.generateJSON,generateText:()=>r.generateText,getAttributes:()=>r.getAttributes,getAttributesFromExtensions:()=>r.getAttributesFromExtensions,getChangedRanges:()=>r.getChangedRanges,getDebugJSON:()=>r.getDebugJSON,getExtensionField:()=>r.getExtensionField,getHTMLFromFragment:()=>r.getHTMLFromFragment,getMarkAttributes:()=>r.getMarkAttributes,getMarkRange:()=>r.getMarkRange,getMarkType:()=>r.getMarkType,getMarksBetween:()=>r.getMarksBetween,getNodeAtPosition:()=>r.getNodeAtPosition,getNodeAttributes:()=>r.getNodeAttributes,getNodeType:()=>r.getNodeType,getRenderedAttributes:()=>r.getRenderedAttributes,getSchema:()=>r.getSchema,getSchemaByResolvedExtensions:()=>r.getSchemaByResolvedExtensions,getSchemaTypeByName:()=>r.getSchemaTypeByName,getSchemaTypeNameByName:()=>r.getSchemaTypeNameByName,getSplittedAttributes:()=>r.getSplittedAttributes,getText:()=>
23r.getText,getTextBetween:()=>r.getTextBetween,getTextContentFromNodes:()=>r.getTextContentFromNodes,getTextSerializersFromSchema:()=>r.getTextSerializersFromSchema,injectExtensionAttributesToParseRule:()=>r.injectExtensionAttributesToParseRule,inputRulesPlugin:()=>r.inputRulesPlugin,isActive:()=>r.isActive,isAtEndOfNode:()=>r.isAtEndOfNode,isAtStartOfNode:()=>r.isAtStartOfNode,isEmptyObject:()=>r.isEmptyObject,isExtensionRulesEnabled:()=>r.isExtensionRulesEnabled,isFunction:()=>r.isFunction,isList:()=>r.isList,isMacOS:()=>r.isMacOS,isMarkActive:()=>r.isMarkActive,isNodeActive:()=>r.isNodeActive,isNodeEmpty:()=>r.isNodeEmpty,isNodeSelection:()=>r.isNodeSelection,isNumber:()=>r.isNumber,isPlainObject:()=>r.isPlainObject,isRegExp:()=>r.isRegExp,isSafari:()=>r.isSafari,isString:()=>r.isString,isTextSelection:()=>r.isTextSelection,isiOS:()=>r.isiOS,markInputRule:()=>r.markInputRule,markPasteRule:()=>r.markPasteRule,mergeAttributes:()=>r.mergeAttributes,mergeDeep:()=>r.mergeDeep,minMax:()=>r.minMax,nodeInputRule:()=>r.nodeInputRule,nodePasteRule:()=>r.nodePasteRule,objectIncludes:()=>r.objectIncludes,pasteRulesPlugin:()=>r.pasteRulesPlugin,posToDOMRect:()=>r.posToDOMRect,removeDuplicates:()=>r.removeDuplicates,resolveFocusPosition:()=>r.resolveFocusPosition,rewriteUnknownContent:()=>r.rewriteUnknownContent,selectionToInsertionEnd:()=>r.selectionToInsertionEnd,splitExtensions:()=>r.splitExtensions,textInputRule:()=>r.textInputRule,textPasteRule:()=>r.textPasteRule,textblockTypeInputRule:()=>r.textblockTypeInputRule,useCurrentEditor:()=>M,useEditor:()=>N,useEditorState:()=>I,useReactNodeView:()=>H,wrappingInputRule:()=>r.wrappingInputRule});var r=n(49599),i=n(99988),a=n(37644);class o{constructor({editor:e,element:t,view:n,tippyOptions:i={},updateDelay:a=250,shouldShow:o}){this.preventHide=!1,this.shouldShow=({view:e,state:t,from:n,to:i})=>{const{doc:a,selection:o}=t,{empty:s}=o,l=!a.textBetween(n,i).length&&(0,r.isTextSelection)(t.selection),c=this.element.contains(document.activeElement);return!(!e.hasFocus()&&!c||s||l||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:e})=>{var t;this.preventHide?this.preventHide=!1:(null===e||void 0===e?void 0:e.relatedTarget)&&(null===(t=this.element.parentNode)||void 0===t?void 0:t.contains(e.relatedTarget))||(null===e||void 0===e?void 0:e.relatedTarget)!==this.editor.view.dom&&this.hide()},this.tippyBlurHandler=e=>{this.blurHandler({event:e})},this.handleDebouncedUpdate=(e,t)=>{const n=!(null===t||void 0===t?void 0:t.selection.eq(e.state.selection)),r=!(null===t||void 0===t?void 0:t.doc.eq(e.state.doc));(n||r)&&(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout(()=>{this.updateHandler(e,n,r,t)},this.updateDelay))},this.updateHandler=(e,t,n,i)=>{var a,o,s;const{state:l,composing:c}=e,{selection:u}=l;if(c||!t&&!n)return;this.createTooltip();const{ranges:d}=u,p=Math.min(...d.map(e=>e.$from.pos)),f=Math.max(...d.map(e=>e.$to.pos));(null===(a=this.shouldShow)||void 0===a?void 0:a.call(this,{editor:this.editor,element:this.element,view:e,state:l,oldState:i,from:p,to:f}))?(null===(o=this.tippy)||void 0===o||o.setProps({getReferenceClientRect:(null===(s=this.tippyOptions)||void 0===s?void 0:s.getReferenceClientRect)||(()=>{if((0,r.isNodeSelection)(l.selection)){let t=e.nodeDOM(p);if(t){const e=t.dataset.nodeViewWrapper?t:t.querySelector("[data-node-view-wrapper]");if(e&&(t=e.firstChild),t)return t.getBoundingClientRect()}}return(0,r.posToDOMRect)(e,p,f)})}),this.show()):this.hide()},this.editor=e,this.element=t,this.view=n,this.updateDelay=a,o&&(this.shouldShow=o),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=i,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;this.element.tabIndex=0,!this.tippy&&t&&(this.tippy=(0,a.default)(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){const{state:n}=e,r=n.selection.from!==n.selection.to;if(this.updateDelay>0&&r)return void this.handleDebouncedUpdate(e,t);const i=!(null===t||void 0===t?void 0:t.selection.eq(e.state.selection)),a=!(null===t||void 0===t?void 0:t.doc.eq(e.state.doc));this.updateHandler(e,i,a,t)}show(){var e;null===(e=this.tippy)||void 0===e||e.show()}hide(){var e;null===(e=this.tippy)||void 0===e||e.hide()}destroy(){var e,t;(null===(e=this.tippy)||void 0===e?void 0:e.popper.firstChild)&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),null===(t=this.tippy)||void 0===t||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const s=e=>new i.Plugin({key:"string"===typeof e.pluginKey?new i.PluginKey(e.pluginKey):e.pluginKey,view:t=>new o({view:t,...e})});r.Extension.create({name:"bubbleMenu",addOptions:()=>({element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[s({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});var l=n(36665),c=n(33672);
23class u{getTextContent(e){return(0,r.getText)(e,{textSerializers:(0,r.getTextSerializersFromSchema)(this.editor.schema)})}constructor({editor:e,element:t,view:n,tippyOptions:r={},shouldShow:i}){this.preventHide=!1,this.shouldShow=({view:e,state:t})=>{const{selection:n}=t,{$anchor:r,empty:i}=n,a=1===r.depth,o=r.parent.isTextblock&&!r.parent.type.spec.code&&!r.parent.textContent&&0===r.parent.childCount&&!this.getTextContent(r.parent);return!!(e.hasFocus()&&i&&a&&o&&this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:e})=>{var t;this.preventHide?this.preventHide=!1:(null===e||void 0===e?void 0:e.relatedTarget)&&(null===(t=this.element.parentNode)||void 0===t?void 0:t.contains(e.relatedTarget))||(null===e||void 0===e?void 0:e.relatedTarget)!==this.editor.view.dom&&this.hide()},this.tippyBlurHandler=e=>{this.blurHandler({event:e})},this.editor=e,this.element=t,this.view=n,i&&(this.shouldShow=i),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=r,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;this.element.tabIndex=0,!this.tippy&&t&&(this.tippy=(0,a.default)(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"right",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){var n,i,a;const{state:o}=e,{doc:s,selection:l}=o,{from:c,to:u}=l;if(t&&t.doc.eq(s)&&t.selection.eq(l))return;this.createTooltip();(null===(n=this.shouldShow)||void 0===n?void 0:n.call(this,{editor:this.editor,view:e,state:o,oldState:t}))?(null===(i=this.tippy)||void 0===i||i.setProps({getReferenceClientRect:(null===(a=this.tippyOptions)||void 0===a?void 0:a.getReferenceClientRect)||(()=>(0,r.posToDOMRect)(e,c,u))}),this.show()):this.hide()}show(){var e;null===(e=this.tippy)||void 0===e||e.show()}hide(){var e;null===(e=this.tippy)||void 0===e||e.hide()}destroy(){var e,t;(null===(e=this.tippy)||void 0===e?void 0:e.popper.firstChild)&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),null===(t=this.tippy)||void 0===t||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const d=e=>new i.Plugin({key:"string"===typeof e.pluginKey?new i.PluginKey(e.pluginKey):e.pluginKey,view:t=>new u({view:t,...e})});r.Extension.create({name:"floatingMenu",addOptions:()=>({element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[d({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}});function p(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var f,h={exports:{}},m={};h.exports=function(){if(f)return m;f=1;var e=l,t="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},n=e.useState,r=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function o(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!t(e,r)}catch(i){return!0}}var s="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var s=t(),l=n({inst:{value:s,getSnapshot:t}}),c=l[0].inst,u=l[1];return i(function(){c.value=s,c.getSnapshot=t,o(c)&&u({inst:c})},[e,s,t]),r(function(){return o(c)&&u({inst:c}),e(function(){o(c)&&u({inst:c})})},[e]),a(s),s};return m.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:s,m}();var g=h.exports;const y=(...e)=>t=>{e.forEach(e=>{"function"===typeof e?e(t):e&&(e.current=t)})},v=({contentComponent:e})=>{const t=g.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getServerSnapshot);return l.createElement(l.Fragment,null,Object.values(t))};class b extends l.Component{constructor(e){var t;super(e),this.editorContentRef=l.createRef(),this.initialized=!1,this.state={hasContentComponentInitialized:Bo
23olean(null===(t=e.editor)||void 0===t?void 0:t.contentComponent)}}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){const e=this.props.editor;if(e&&!e.isDestroyed&&e.options.element){if(e.contentComponent)return;const t=this.editorContentRef.current;t.append(...e.options.element.childNodes),e.setOptions({element:t}),e.contentComponent=function(){const e=new Set;let t={};return{subscribe:t=>(e.add(t),()=>{e.delete(t)}),getSnapshot:()=>t,getServerSnapshot:()=>t,setRenderer(n,r){t={...t,[n]:c.createPortal(r.reactElement,r.element,n)},e.forEach(e=>e())},removeRenderer(n){const r={...t};delete r[n],t=r,e.forEach(e=>e())}}}(),this.state.hasContentComponentInitialized||(this.unsubscribeToContentComponent=e.contentComponent.subscribe(()=>{this.setState(e=>e.hasContentComponentInitialized?e:{hasContentComponentInitialized:!0}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent()})),e.createNodeViews(),this.initialized=!0}}componentWillUnmount(){const e=this.props.editor;if(!e)return;if(this.initialized=!1,e.isDestroyed||e.view.setProps({nodeViews:{}}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent(),e.contentComponent=null,!e.options.element.firstChild)return;const t=document.createElement("div");t.append(...e.options.element.childNodes),e.setOptions({element:t})}render(){const{editor:e,innerRef:t,...n}=this.props;return l.createElement(l.Fragment,null,l.createElement("div",{ref:y(t,this.editorContentRef),...n}),(null===e||void 0===e?void 0:e.contentComponent)&&l.createElement(v,{contentComponent:e.contentComponent}))}}const _=(0,l.forwardRef)((e,t)=>{const n=l.useMemo(()=>Math.floor(4294967295*Math.random()).toString(),[e.editor]);return l.createElement(b,{key:n,innerRef:t,...e})}),w=l.memo(_);var k,S=p(function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,a;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!==i--;)if(!e(t[i],n[i]))return!1;return!0}if(t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(i of t.entries())if(!n.has(i[0]))return!1;for(i of t.entries())if(!e(i[1],n.get(i[0])))return!1;return!0}if(t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(i of t.entries())if(!n.has(i[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)){if((r=t.length)!=n.length)return!1;for(i=r;0!==i--;)if(t[i]!==n[i])return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!==i--;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;0!==i--;){var o=a[i];if(("_owner"!==o||!t.$$typeof)&&!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}),x={exports:{}},C={};x.exports=function(){if(k)return C;k=1;var e=l,t=g,n="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},r=t.useSyncExternalStore,i=e.useRef,a=e.useEffect,o=e.useMemo,s=e.useDebugValue;return C.useSyncExternalStoreWithSelector=function(e,t,l,c,u){var d=i(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;d=o(function(){function e(e){if(!a){if(a=!0,r=e,e=c(e),void 0!==u&&p.hasValue){var t=p.value;if(u(t,e))return i=t}return i=e}if(t=i,n(r,e))return t;var o=c(e);return void 0!==u&&u(t,o)?t:(r=e,i=o)}var r,i,a=!1,o=void 0===l?null:l;return[function(){return e(t())},null===o?void 0:function(){return e(o())}]},[t,l,c,u]);var f=r(e,d[0],d[1]);return a(function(){p.hasValue=!0,p.value=f},[f]),s(f),f},C}();var E=x.exports;const A="undefined"!==typeof window?l.useLayoutEffect:l.useEffect;class T{constructor(e){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=e,this.lastSnapshot={editor:e,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber||(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber}),this.lastSnapshot}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}watch(e){if(this.editor=e,this.editor){const e=()=>
23{this.transactionNumber+=1,this.subscribers.forEach(e=>e())},t=this.editor;return t.on("transaction",e),()=>{t.off("transaction",e)}}}}function I(e){var t;const[n]=(0,l.useState)(()=>new T(e.editor)),r=E.useSyncExternalStoreWithSelector(n.subscribe,n.getSnapshot,n.getServerSnapshot,e.selector,null!==(t=e.equalityFn)&&void 0!==t?t:S);return A(()=>n.watch(e.editor),[e.editor,n]),(0,l.useDebugValue)(r),r}const R="undefined"===typeof window,O=R||Boolean("undefined"!==typeof window&&window.next);class D{constructor(e){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId="",this.options=e,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(e){this.editor=e,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach(e=>e())}getInitialEditor(){return void 0===this.options.current.immediatelyRender?R||O?null:this.createEditor():(this.options.current.immediatelyRender,this.options.current.immediatelyRender?this.createEditor():null)}createEditor(){const e={...this.options.current,onBeforeCreate:(...e)=>{var t,n;return null===(n=(t=this.options.current).onBeforeCreate)||void 0===n?void 0:n.call(t,...e)},onBlur:(...e)=>{var t,n;return null===(n=(t=this.options.current).onBlur)||void 0===n?void 0:n.call(t,...e)},onCreate:(...e)=>{var t,n;return null===(n=(t=this.options.current).onCreate)||void 0===n?void 0:n.call(t,...e)},onDestroy:(...e)=>{var t,n;return null===(n=(t=this.options.current).onDestroy)||void 0===n?void 0:n.call(t,...e)},onFocus:(...e)=>{var t,n;return null===(n=(t=this.options.current).onFocus)||void 0===n?void 0:n.call(t,...e)},onSelectionUpdate:(...e)=>{var t,n;return null===(n=(t=this.options.current).onSelectionUpdate)||void 0===n?void 0:n.call(t,...e)},onTransaction:(...e)=>{var t,n;return null===(n=(t=this.options.current).onTransaction)||void 0===n?void 0:n.call(t,...e)},onUpdate:(...e)=>{var t,n;return null===(n=(t=this.options.current).onUpdate)||void 0===n?void 0:n.call(t,...e)},onContentError:(...e)=>{var t,n;return null===(n=(t=this.options.current).onContentError)||void 0===n?void 0:n.call(t,...e)},onDrop:(...e)=>{var t,n;return null===(n=(t=this.options.current).onDrop)||void 0===n?void 0:n.call(t,...e)},onPaste:(...e)=>{var t,n;return null===(n=(t=this.options.current).onPaste)||void 0===n?void 0:n.call(t,...e)}};return new r.Editor(e)}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(e){return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)}}static compareOptions(e,t){return Object.keys(e).every(n=>!!["onCreate","onBeforeCreate","onDestroy","onUpdate","onTransaction","onFocus","onBlur","onSelectionUpdate","onContentError","onDrop","onPaste"].includes(n)||("extensions"===n&&e.extensions&&t.extensions?e.extensions.length===t.extensions.length&&e.extensions.every((e,n)=>{var r;return e===(null===(r=t.extensions)||void 0===r?void 0:r[n])}):e[n]===t[n]))}onRender(e){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&0===e.length?D.compareOptions(this.options.current,this.editor.options)||this.editor.setOptions({...this.options.current,editable:this.editor.isEditable}):this.refreshEditorInstance(e),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(e){if(this.editor&&!this.editor.isDestroyed){if(null===this.previousDeps)return void(this.previousDeps=e);if(this.previousDeps.length===e.length&&this.previousDeps.every((t,n)=>t===e[n]))return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=e}scheduleDestroy(){const e=this.instanceId,t=this.editor;this.scheduledDestructionTimeout=setTimeout(()=>{this.isComponentMounted&&this.instanceId===e?t&&t.setOptions(this.options.current):t&&!t.isDestroyed&&(t.destroy(),this.instanceId===e&&this.setEditor(null))}
23,1)}}function N(e={},t=[]){const n=(0,l.useRef)(e);n.current=e;const[r]=(0,l.useState)(()=>new D(n)),i=g.useSyncExternalStore(r.subscribe,r.getEditor,r.getServerSnapshot);return(0,l.useDebugValue)(i),(0,l.useEffect)(r.onRender(t)),I({editor:i,selector:({transactionNumber:t})=>!1===e.shouldRerenderOnTransaction?null:e.immediatelyRender&&0===t?0:t+1}),i}const j=(0,l.createContext)({editor:null}),F=j.Consumer,M=()=>(0,l.useContext)(j);function V({children:e,slotAfter:t,slotBefore:n,editorContainerProps:r={},...i}){const a=N(i);return a?l.createElement(j.Provider,{value:{editor:a}},n,l.createElement(F,null,({editor:e})=>l.createElement(w,{editor:e,...r})),e,t):null}const P=e=>{const[t,n]=(0,l.useState)(null),{editor:r}=M();return(0,l.useEffect)(()=>{var n;if(!t)return;if((null===(n=e.editor)||void 0===n?void 0:n.isDestroyed)||(null===r||void 0===r?void 0:r.isDestroyed))return;const{pluginKey:i="bubbleMenu",editor:a,tippyOptions:o={},updateDelay:l,shouldShow:c=null}=e,u=a||r;if(!u)return void console.warn("BubbleMenu component is not rendered inside of an editor component or does not have editor prop.");const d=s({updateDelay:l,editor:u,element:t,pluginKey:i,shouldShow:c,tippyOptions:o});return u.registerPlugin(d),()=>{u.unregisterPlugin(i)}},[e.editor,r,t]),l.createElement("div",{ref:n,className:e.className,style:{visibility:"hidden"}},e.children)},L=e=>{const[t,n]=(0,l.useState)(null),{editor:r}=M();return(0,l.useEffect)(()=>{var n;if(!t)return;if((null===(n=e.editor)||void 0===n?void 0:n.isDestroyed)||(null===r||void 0===r?void 0:r.isDestroyed))return;const{pluginKey:i="floatingMenu",editor:a,tippyOptions:o={},shouldShow:s=null}=e,l=a||r;if(!l)return void console.warn("FloatingMenu component is not rendered inside of an editor component or does not have editor prop.");const c=d({pluginKey:i,editor:l,element:t,tippyOptions:o,shouldShow:s});return l.registerPlugin(c),()=>{l.unregisterPlugin(i)}},[e.editor,r,t]),l.createElement("div",{ref:n,className:e.className,style:{visibility:"hidden"}},e.children)},B=(0,l.createContext)({onDragStart:void 0}),H=()=>(0,l.useContext)(B),W=e=>{const t=e.as||"div",{nodeViewContentRef:n}=H();return l.createElement(t,{...e,ref:n,"data-node-view-content":"",style:{whiteSpace:"pre-wrap",...e.style}})},z=l.forwardRef((e,t)=>{const{onDragStart:n}=H(),r=e.as||"div";return l.createElement(r,{...e,ref:t,"data-node-view-wrapper":"",onDragStart:n,style:{whiteSpace:"normal",...e.style}})});function Y(e){return!("function"!==typeof e||!e.prototype||!e.prototype.isReactComponent)}function U(e){return!("object"!==typeof e||!e.$$typeof||"Symbol(react.forward_ref)"!==e.$$typeof.toString()&&"react.forward_ref"!==e.$$typeof.description)}class X{constructor(e,{editor:t,props:n={},as:r="div",className:i=""}){this.ref=null,this.id=Math.floor(4294967295*Math.random()).toString(),this.component=e,this.editor=t,this.props=n,this.element=document.createElement(r),this.element.classList.add("react-renderer"),i&&this.element.classList.add(...i.split(" ")),this.editor.isInitialized?(0,c.flushSync)(()=>{this.render()}):queueMicrotask(()=>{this.render()})}render(){var e;const t=this.component,n=this.props,r=this.editor,i=function(){try{if(l.version)return parseInt(l.version.split(".")[0],10)>=19}catch{}return!1}(),a=function(e){if(Y(e))return!0;if(U(e))return!0;if(function(e){return!("object"!==typeof e||!e.$$typeof||"Symbol(react.memo)"!==e.$$typeof.toString()&&"react.memo"!==e.$$typeof.description)}(e)){const t=e.type;if(t)return Y(t)||U(t)}return!1}(t),o={...n};!o.ref||i||a||delete o.ref,o.ref||!i&&!a||(o.ref=e=>{this.ref=e}),this.reactElement=l.createElement(t,{...o}),null===(e=null===r||void 0===r?void 0:r.contentComponent)||void 0===e||e.setRenderer(this.id,this)}updateProps(e={}){this.props={...this.props,...e},this.render()}destroy(){var e;const t=this.editor;null===(e=null===t||void 0===t?void 0:t.contentComponent)||void 0===e||e.removeRenderer(this.id)}updateAttributes(e){Object.keys(e).forEach(t=>{this.element.setAttribute(t,e[t])})}}class G extends r.NodeView{constructor(e,t,n){if(super(e,t,n),!this.node.isLeaf){this.options.contentDOMElementTag?this.contentDOMElement=document.createElement(this.options.contentDOMElementTag):this.contentDOMElement=document.createElement(this.node.isInline?"span":"div"),this.contentDOMElement.dataset.nodeViewContentReact="",this.contentDOMElement.dataset.nodeViewWrapper="",this.contentDOMElement.style.whiteSpace="inherit";const e=this.dom.querySelector("[data-node-view-content]");if(!e)return;e.appendChild(this.contentDOMElement)}}mount(){const e={editor:this.editor,node:this.node,decorations:this.decorations,innerDecorations:this.innerDecorations,view:this.view,selected:!1,extension:this.extension,HTMLAttributes:this.HTMLAttributes,getPos:()=>this.getPos(),updateAttributes:(e={})=>this.updateAttributes(e),deleteNode:()=>this.deleteNode(),ref:(0,l.createRef)()};if(!this.component.displayName){const e=e=>e.charAt(0).toUpperCase()+e.substring(1);this.component.displayName=e(this.extension.name)}const t={onDragStart:this.onDragStart.bind(this),nodeViewContentRef:e=>{e&&this.contentDOMElement&&e.firstChild!==this.contentDOMElement&&(e.hasAttribute("data-node-view-wrapper")&&e.removeAttribute("data-node-view-wrapper"),e.appendChild(this.contentDOMElement))}},n=this.component,r=(0,l.memo)(e=>l.createElement(B.Provider,{value:t},(0,l.createElement)(n,e)));r.displayName="ReactNodeView";let i=this.node.isInline?"span":"div";this.options.as&&(i=this.options.as);const{className:a=""}=this.options;this.handleSelectionUpdate=this.handleSelectionUpdate.bind(this),this.renderer=new X(r,{editor:this.editor,props:e,as:i,className:`node-${this.node.type.n
23ame} ${a}`.trim()}),this.editor.on("selectionUpdate",this.handleSelectionUpdate),this.updateElementAttributes()}get dom(){var e;if(this.renderer.element.firstElementChild&&!(null===(e=this.renderer.element.firstElementChild)||void 0===e?void 0:e.hasAttribute("data-node-view-wrapper")))throw Error("Please use the NodeViewWrapper component for your node view.");return this.renderer.element}get contentDOM(){return this.node.isLeaf?null:this.contentDOMElement}handleSelectionUpdate(){const{from:e,to:t}=this.editor.state.selection,n=this.getPos();if("number"===typeof n)if(e<=n&&t>=n+this.node.nodeSize){if(this.renderer.props.selected)return;this.selectNode()}else{if(!this.renderer.props.selected)return;this.deselectNode()}}update(e,t,n){const r=e=>{this.renderer.updateProps(e),"function"===typeof this.options.attrs&&this.updateElementAttributes()};if(e.type!==this.node.type)return!1;if("function"===typeof this.options.update){const i=this.node,a=this.decorations,o=this.innerDecorations;return this.node=e,this.decorations=t,this.innerDecorations=n,this.options.update({oldNode:i,oldDecorations:a,newNode:e,newDecorations:t,oldInnerDecorations:o,innerDecorations:n,updateProps:()=>r({node:e,decorations:t,innerDecorations:n})})}return e===this.node&&this.decorations===t&&this.innerDecorations===n||(this.node=e,this.decorations=t,this.innerDecorations=n,r({node:e,decorations:t,innerDecorations:n})),!0}selectNode(){this.renderer.updateProps({selected:!0}),this.renderer.element.classList.add("ProseMirror-selectednode")}deselectNode(){this.renderer.updateProps({selected:!1}),this.renderer.element.classList.remove("ProseMirror-selectednode")}destroy(){this.renderer.destroy(),this.editor.off("selectionUpdate",this.handleSelectionUpdate),this.contentDOMElement=null}updateElementAttributes(){if(this.options.attrs){let e={};if("function"===typeof this.options.attrs){const t=this.editor.extensionManager.attributes,n=(0,r.getRenderedAttributes)(this.node,t);e=this.options.attrs({node:this.node,HTMLAttributes:n})}else e=this.options.attrs;this.renderer.updateAttributes(e)}}}function q(e,t){return n=>n.editor.contentComponent?new G(e,n,t):{}}},1712(e,t,n){"use strict";function r(e,t){return function(n,r){let i=s(n,"tag");const a=s(null===r||void 0===r?"*":r,"range"),o=[];let l=-1;for(;++l<a.length;){const n=a[l].toLowerCase();if(!t&&"*"===n)continue;let r=-1;const s=[];for(;++r<i.length;)if(e(i[r].toLowerCase(),n)){if(!t)return i[r];o.push(i[r])}else s.push(i[r]);i=s}return t?o:void 0}}n.r(t),n.d(t,{basicFilter:()=>i,extendedFilter:()=>a,lookup:()=>o});const i=r(function(e,t){return"*"===t||e===t||e.includes(t+"-")},!0),a=r(function(e,t){const n=e.split("-"),r=t.split("-");let i=0,a=0;if("*"!==r[a]&&n[i]!==r[a])return!1;for(i++,a++;a<r.length;)if("*"!==r[a]){if(!n[i])return!1;if(n[i]!==r[a]){if(1===n[i].length)return!1;i++}else i++,a++}else a++;return!0},!0),o=r(function(e,t){let n=t;for(;;){if("*"===n||e===n)return!0;let t=n.lastIndexOf("-");if(t<0)return!1;"-"===n.charAt(t-2)&&(t-=2),n=n.slice(0,t)}},!1);function s(e,t){const n=e&&"string"===typeof e?[e]:e;if(!n||"object"!==typeof n||!("length"in n))throw new Error("Invalid "+t+" `"+n+"`, expected non-empty string");return n}},16628(e,t,n){"use strict";function r(e){const t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function i(e){const t="string"===typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function a(e){return r(e)||i(e)}n.r(t),n.d(t,{parse:()=>c});const o=["art-lojban","cel-gaulish","no-bok","no-nyn","zh-guoyu","zh-hakka","zh-min","zh-min-nan","zh-xiang"],s={"en-gb-oed":"en-GB-oxendict","i-ami":"ami","i-bnn":"bnn","i-default":null,"i-enochian":null,"i-hak":"hak","i-klingon":"tlh","i-lux":"lb","i-mingo":null,"i-navajo":"nv","i-pwn":"pwn","i-tao":"tao","i-tay":"tay","i-tsu":"tsu","sgn-be-fr":"sfb","sgn-be-nl":"vgt","sgn-ch-de":"sgg","art-lojban":"jbo","cel-gaulish":null,"no-bok":"nb","no-nyn":"nn","zh-guoyu":"cmn","zh-hakka":"hak","zh-min":null,"zh-min-nan":"nan","zh-xiang":"hsn"},l={}.hasOwnProperty;function c(e,t={}){const n={language:null,extendedLanguageSubtags:[],script:null,region:null,variants:[],extensions:[],privateuse:[],irregular:null,regular:null},u=String(e),d=u.toLowerCase();let p=0;if(null===e||void 0===e)throw new Error("Expected string, got `"+e+"`");if(l.call(s,d)){const e=s[d];return void 0!==t.normalize&&null!==t.normalize&&!t.normalize||"string"!==typeof e?(n[o.includes(d)?"regular":"irregular"]=u,n):c(e)}for(;
23r(d.charCodeAt(p))&&p<9;)p++;if(p>1&&p<9){if(n.language=u.slice(0,p),p<4){let e=0;for(;45===d.charCodeAt(p)&&r(d.charCodeAt(p+1))&&r(d.charCodeAt(p+2))&&r(d.charCodeAt(p+3))&&!r(d.charCodeAt(p+4));){if(e>2)return f(p,3,"Too many extended language subtags, expected at most 3 subtags");n.extendedLanguageSubtags.push(u.slice(p+1,p+4)),p+=4,e++}}for(45===d.charCodeAt(p)&&r(d.charCodeAt(p+1))&&r(d.charCodeAt(p+2))&&r(d.charCodeAt(p+3))&&r(d.charCodeAt(p+4))&&!r(d.charCodeAt(p+5))&&(n.script=u.slice(p+1,p+5),p+=5),45===d.charCodeAt(p)&&(r(d.charCodeAt(p+1))&&r(d.charCodeAt(p+2))&&!r(d.charCodeAt(p+3))?(n.region=u.slice(p+1,p+3),p+=3):i(d.charCodeAt(p+1))&&i(d.charCodeAt(p+2))&&i(d.charCodeAt(p+3))&&!i(d.charCodeAt(p+4))&&(n.region=u.slice(p+1,p+4),p+=4));45===d.charCodeAt(p);){const e=p+1;let t=e;for(;a(d.charCodeAt(t));){if(t-e>7)return f(t,1,"Too long variant, expected at most 8 characters");t++}if(!(t-e>4||t-e>3&&i(d.charCodeAt(e))))break;n.variants.push(u.slice(e,t)),p=t}for(;45===d.charCodeAt(p)&&120!==d.charCodeAt(p+1)&&a(d.charCodeAt(p+1))&&45===d.charCodeAt(p+2)&&a(d.charCodeAt(p+3));){let e=p+2,t=0;for(;45===d.charCodeAt(e)&&a(d.charCodeAt(e+1))&&a(d.charCodeAt(e+2));){const n=e+1;for(e=n+2,t++;a(d.charCodeAt(e));){if(e-n>7)return f(e,2,"Too long extension, expected at most 8 characters");e++}}if(!t)return f(e,4,"Empty extension, extensions must have at least 2 characters of content");n.extensions.push({singleton:u.charAt(p+1),extensions:u.slice(p+3,e).split("-")}),p=e}}else p=0;if(0===p&&120===d.charCodeAt(p)||45===d.charCodeAt(p)&&120===d.charCodeAt(p+1)){p=p?p+2:1;let e=p;for(;45===d.charCodeAt(e)&&a(d.charCodeAt(e+1));){const t=p+1;for(e=t;a(d.charCodeAt(e));){if(e-t>7)return f(e,5,"Too long private-use area, expected at most 8 characters");e++}n.privateuse.push(u.slice(p+1,e)),p=e}}return p!==u.length?f(p,6,"Found superfluous content after tag"):n;function f(e,r,i){return t.warning&&t.warning(i,r,e),t.forgiving?n:{language:null,extendedLanguageSubtags:[],script:null,region:null,variants:[],extensions:[],privateuse:[],irregular:null,regular:null}}}},68509(e,t,n){"use strict";n.r(t),n.d(t,{getDefaultOptions:()=>i,setDefaultOptions:()=>a});let r={};function i(){return r}function a(e){r=e}},99879(e,t,n){"use strict";function r(e){return t=>{const n=(e?Math[e]:Math.trunc)(t);return 0===n?0:n}}n.r(t),n.d(t,{getRoundingMethod:()=>r})},42087(e,t,n){"use strict";n.r(t),n.d(t,{getTimezoneOffsetInMilliseconds:()=>i});var r=n(93040);function i(e){const t=(0,r.toDate)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}},41280(e,t,n){"use strict";n.r(t),n.d(t,{normalizeDates:()=>i});var r=n(59212);function i(e,...t){const n=r.constructFrom.bind(null,e||t.find(e=>"object"===typeof e));return t.map(n)}},12392(e,t,n){"use strict";n.r(t),n.d(t,{constructFromSymbol:()=>E,daysInWeek:()=>r,daysInYear:()=>i,maxTime:()=>a,millisecondsInDay:()=>l,millisecondsInHour:()=>u,millisecondsInMinute:()=>c,millisecondsInSecond:()=>d,millisecondsInWeek:()=>s,minTime:()=>o,minutesInDay:()=>h,minutesInHour:()=>m,minutesInMonth:()=>f,minutesInYear:()=>p,monthsInQuarter:()=>g,monthsInYear:()=>y,quartersInYear:()=>v,secondsInDay:()=>w,secondsInHour:()=>b,secondsInMinute:()=>_,secondsInMonth:()=>x,secondsInQuarter:()=>C,secondsInWeek:()=>k,secondsInYear:()=>S});const r=7,i=365.2425,a=24*Math.pow(10,8)*60*60*1e3,o=-a,s=6048e5,l=864e5,c=6e4,u=36e5,d=1e3,p=525600,f=43200,h=1440,m=60,g=3,y=12,v=4,b=3600,_=60,w=24*b,k=7*w,S=w*i,x=S/12,C=3*x,E=Symbol.for("constructDateFrom")},59212(e,t,n){"use strict";n.r(t),n.d(t,{constructFrom:()=>i,default:()=>a});var r=n(12392);function i(e,t){return"function"===typeof e?e(t):e&&"object"===typeof e&&r.constructFromSymbol in e?e[r.constructFromSymbol](t):e instanceof Date?new e.constructor(t):new Date(t)}const a=i},43979(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a,differenceInMilliseconds:()=>i});var r=n(93040);function i(e,t){return+(0,r.toDate)(e)-+(0,r.toDate)(t)}const a=i},72580(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>s,differenceInMinutes:()=>o});var r=n(99879),i=n(12392),a=n(43979);function o(e,t,n){const o=(0,a.differenceInMilliseconds)(e,t)/i.millisecondsInMinute;return(0,r.getRoundingMethod)(n?.roundingMethod)(o)}const s=o},40516(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>o,differenceInSeconds:()=>a});var r=n(99879),i=n(43979);function a(e,t,n){const a=(0,i.differenceInMilliseconds)(e,t)/1e3;return(0,r.getRoundingMethod)(n?.roundingMethod)(a)}const o=a}
23,18575(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>J,format:()=>G,formatDate:()=>G,formatters:()=>R,longFormatters:()=>M});var r=n(19994),i=n(68509),a=n(42087),o=n(41280),s=n(12392),l=n(93040);function c(e,t){const n=(0,l.toDate)(e,t?.in);return n.setHours(0,0,0,0),n}function u(e,t,n){const[r,i]=(0,o.normalizeDates)(n?.in,e,t),l=c(r),u=c(i),d=+l-(0,a.getTimezoneOffsetInMilliseconds)(l),p=+u-(0,a.getTimezoneOffsetInMilliseconds)(u);return Math.round((d-p)/s.millisecondsInDay)}function d(e,t){const n=(0,l.toDate)(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function p(e,t){const n=(0,l.toDate)(e,t?.in);return u(n,d(n))+1}var f=n(52576);function h(e,t){return(0,f.startOfWeek)(e,{...t,weekStartsOn:1})}var m=n(59212);function g(e,t){const n=(0,l.toDate)(e,t?.in),r=n.getFullYear(),i=(0,m.constructFrom)(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);const a=h(i),o=(0,m.constructFrom)(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);const s=h(o);return n.getTime()>=a.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function y(e,t){const n=g(e,t),r=(0,m.constructFrom)(t?.in||e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),h(r)}function v(e,t){const n=(0,l.toDate)(e,t?.in),r=+h(n)-+y(n);return Math.round(r/s.millisecondsInWeek)+1}function b(e,t){const n=(0,l.toDate)(e,t?.in),r=n.getFullYear(),a=(0,i.getDefaultOptions)(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,s=(0,m.constructFrom)(t?.in||e,0);s.setFullYear(r+1,0,o),s.setHours(0,0,0,0);const c=(0,f.startOfWeek)(s,t),u=(0,m.constructFrom)(t?.in||e,0);u.setFullYear(r,0,o),u.setHours(0,0,0,0);const d=(0,f.startOfWeek)(u,t);return+n>=+c?r+1:+n>=+d?r:r-1}function _(e,t){const n=(0,i.getDefaultOptions)(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,a=b(e,t),o=(0,m.constructFrom)(t?.in||e,0);o.setFullYear(a,0,r),o.setHours(0,0,0,0);return(0,f.startOfWeek)(o,t)}function w(e,t){const n=(0,l.toDate)(e,t?.in),r=+(0,f.startOfWeek)(n,t)-+_(n,t);return Math.round(r/s.millisecondsInWeek)+1}function k(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const S={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return k("yy"===t?r%100:r,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):k(n+1,2)},d:(e,t)=>k(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>k(e.getHours()%12||12,t.length),H:(e,t)=>k(e.getHours(),t.length),m:(e,t)=>k(e.getMinutes(),t.length),s:(e,t)=>k(e.getSeconds(),t.length),S(e,t){const n=t.length,r=e.getMilliseconds();return k(Math.trunc(r*Math.pow(10,n-3)),t.length)}},x="midnight",C="noon",E="morning",A="afternoon",T="evening",I="night",R={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return S.y(e,t)},Y:function(e,t,n,r){const i=b(e,r),a=i>0?i:1-i;if("YY"===t){return k(a%100,2)}return"Yo"===t?n.ordinalNumber(a,{unit:"year"}):k(a,t.length)},R:function(e,t){return k(g(e),t.length)},u:function(e,t){return k(e.getFullYear(),t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return k(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return k(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return S.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return k(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const i=w(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):k(i,t.length)},I:function(e,t,n){const r=v(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):k(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):S.d(e,t)},D:function(e,t,n){const r=p(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):k(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return k(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return k(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return k(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let i;switch(i=12===r?C:0===r?x:r/12>
23=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let i;switch(i=r>=17?T:r>=12?A:r>=4?E:I,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return S.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):S.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):k(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):k(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):S.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):S.s(e,t)},S:function(e,t){return S.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return D(r);case"XXXX":case"XX":return N(r);default:return N(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return D(r);case"xxxx":case"xx":return N(r);default:return N(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+O(r,":");default:return"GMT"+N(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+O(r,":");default:return"GMT"+N(r,":")}},t:function(e,t,n){return k(Math.trunc(+e/1e3),t.length)},T:function(e,t,n){return k(+e,t.length)}};function O(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),a=r%60;return 0===a?n+String(i):n+String(i)+t+k(a,2)}function D(e,t){if(e%60===0){return(e>0?"-":"+")+k(Math.abs(e)/60,2)}return N(e,t)}function N(e,t=""){const n=e>0?"-":"+",r=Math.abs(e);return n+k(Math.trunc(r/60),2)+t+k(r%60,2)}const j=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},F=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},M={p:F,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return j(e,t);let a;switch(r){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;default:a=t.dateTime({width:"full"})}return a.replace("{{date}}",j(r,t)).replace("{{time}}",F(i,t))}},V=/^D+$/,P=/^Y+$/,L=["D","DD","YY","YYYY"];function B(e){return e instanceof Date||"object"===typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function H(e){return!(!B(e)&&"number"!==typeof e||isNaN(+(0,l.toDate)(e)))}const W=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,z=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Y=/^'([^]*?)'?$/,U=/''/g,X=/[a-zA-Z]/;function G(e,t,n){const a=(0,i.getDefaultOptions)(),o=n?.locale??a.locale??r.enUS,s=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,c=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,u=(0,l.toDate)(e,n?.in);if(!H(u))throw new RangeError("Invalid time value");let d=t.match(z).map(e=>{const t=e[0];if("p"===t||"P"===t){return(0,M[t])(e,o.formatLong)}return e}).join("").match(W).map(e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:q(e)};if(R[t])return{isToken:!0,value:e};if(t.match(X))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});o.localize.preprocessor&&(d=o.localize.preprocessor(u,d));const p={firstWeekContainsDate:s,weekStartsOn:c,locale:o};return d.map(r=>{if(!r.isToken)return r.value;const i=r.value;(!n?.useAdditionalWeekYearTokens&&function(e){return P.test(e)}(i)||!n?.useAdditionalDayOfYearTokens&&function(e){return V.test(e)}(i))&&function(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),L.includes(e))throw new RangeError(r)}(i,t,String(e));return(0,R[i[0]])(u,i,o.localize,p)}).join("")}function q(e){const t=e.match(Y);return t?t[1].replace(U,"'"):e}const J=G},76156(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>y,formatDistance:()=>g});var r=n(19994),i=n(68509),a=n(42087),o=n(41280),s=n(93040);function l(e,t){const n=+(0,s.toDate)(e)-+(0,s.toDate)(t);return n<0?-1:n>0?1:n}var c=n(12392);function u(e,t,n){const[r,i]=(0,o.normalizeDates)(n?.in,e,t);return 12*(r.getFullYear()-i.getFullYear())+(r.getMonth()-i.getMonth())}function d(e,t){const n=(0,s.toDate)(e,t?.in);return n.setHours(23,59,59,999),n}function p(e,t){const n=(0,s.toDate)(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function f(e,t){const n=(0,s.toDate)(e,t?.in);return+d(n,t)===+p(n,t)}function h(e,t,n){const[r,i,a]=(0,o.normalizeDates)(n?.in,e,e,t),s=l(i,a),c=Math.abs(u(i,a));if(c<1)return 0;1===i.getMonth()&&i.getDate()>27&&i.setDate(30),i.setMonth(i.getMonth()-s*c);let d=l(i,a)===-s;f(r)&&1===c&&1===l(r,a)&&(d=!1);const p=s*(c-+d);return 0===p?0:p}var m=n(40516);function g(e,t,n){const s=(0,i.getDefaultOptions)(),u=n?.locale??s.locale??r.enUS,d=l(e,t);if(isNaN(d))throw new RangeError("Invalid time value");const p=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:d}),[f,g]=(0,o.normalizeDates)(n?.in,...d>0?[t,e]:[e,t]),y=(0,m.differenceInSeconds)(g,f),v=((0,a.getTimezoneOffsetInMilliseconds)(g)-(0,a.getTimezoneOffsetInMilliseconds)(f))/1e3,b=Math.round((y-v)/60);let _;if(b<2)return n?.includeSeconds?y<5?u.formatDistance("lessThanXSeconds",5,p):y<10?u.formatDistance("lessThanXSeconds",10,p):y<20?u.formatDistance("lessThanXSeconds",20,p):y<40?u.formatDistance("halfAMinute",0,p):y<60?u.formatDistance("lessThanXMinutes",1,p):u.formatDistance("xMinutes",1,p):0===b?u.formatDistance("lessThanXMinutes",1,p):u.formatDistance("xMinutes",b,p);if(b<45)return u.formatDistance("xMinutes",b,p);if(b<90)return u.formatDistance("aboutXHours",1,p);if(b<c.minutesInDay){const e=Math.round(b/60);return u.formatDistance("aboutXHours",e,p)}if(b<2520)return u.formatDistance("xDays",1,p);if(b<c.minutesInMonth){const e=Math.round(b/c.minutesInDay);return u.formatDistance("xDays",e,p)}if(b<2*c.minutesInMonth)return _=Math.round(b/c.minutesInMonth),u.formatDistance("aboutXMonths",_,p);if(_=h(g,f),_<12){const e=Math.round(b/c.minutesInMonth);return u.formatDistance("xMonths",e,p)}{const e=_%12,t=Math.trunc(_/12);return e<3?u.formatDistance("aboutXYears",t,p):e<9?u.formatDistance("overXYears",t,p):u.formatDistance("almostXYears",t+1,p)}}const y=g},4266(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a,isBefore:()=>i});var r=n(93040);function i(e,t){return+(0,r.toDate)(e)<+(0,r.toDate)(t)}const a=i},32996(e,t,n){"use strict";function r(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}n.r(t),n.d(t,{buildFormatLongFn:()=>r})},3714(e,t,n){"use strict";function r(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,i=n?.width?String(n.width):t;r=e.formattingValues[i]||e.formattingValues[t]}else{const t=e.defaultWidth,i=n?.width?String(n.width):e.defaultWidth;r=e.values[i]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}n.r(t),n.d(t,{buildLocalizeFn:()=>r})},55656(e,t,n){"use strict";function r(e){return(t,n={})=>{const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;const o=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(s,e=>e.test(o)):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(s,e=>e.test(o));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;return{value:c,rest:t.slice(o.length)}}}n.r(t),n.d(t,{buildMatchFn:()=>r})},59624(e,t,n){"use strict";function r(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const i=r[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;return{value:o,rest:t.slice(i.length)}}}n.r(t),n.d(t,{buildMatchPatternFn:()=>r})},19994(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>u,enUS:()=>c});var r=n(41512),i=n(32996);const a={date:(0,i.buildFormatLongFn)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,i.buildFormatLongFn)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,i.buildFormatLongFn)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var o=n(87255),s=n(78135),l=n(33695);const c={code:"en-US",formatDistance:r.formatDistance,formatLong:a,formatRelative:o.formatRelative,localize:s.localize,match:l.match,options:{weekStartsOn:0,firstWeekContainsDate:1}},u=c},41512(e,t,n){"use strict";n.r(t),n.d(t,{formatDistance:()=>i});const r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},i=(e,t,n)=>{let i;const a=r[e];return i="string"===typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i}},87255(e,t,n){"use strict";n.r(t),n.d(t,{formatRelative:()=>i});const r={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},i=(e,t,n,i)=>r[e]},78135(e,t,n){"use strict";n.r(t),n.d(t,{localize:()=>i});var r=n(3714);const i={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,r.buildLocalizeFn)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,r.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.buildLocalizeFn)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,r.buildLocalizeFn)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
23ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,r.buildLocalizeFn)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}},33695(e,t,n){"use strict";n.r(t),n.d(t,{match:()=>i});var r=n(55656);const i={ordinalNumber:(0,n(59624).buildMatchPatternFn)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})}},52576(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>o,startOfWeek:()=>a});var r=n(68509),i=n(93040);function a(e,t){const n=(0,r.getDefaultOptions)(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=(0,i.toDate)(e,t?.in),s=o.getDay(),l=(s<a?7:0)+s-a;return o.setDate(o.getDate()-l),o.setHours(0,0,0,0),o}const o=a},30691(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>s,subDays:()=>o});var r=n(59212),i=n(93040);function a(e,t,n){const a=(0,i.toDate)(e,n?.in);return isNaN(t)?(0,r.constructFrom)(n?.in||e,NaN):t?(a.setDate(a.getDate()+t),a):a}function o(e,t,n){return a(e,-t,n)}const s=o},63677(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>s,subMinutes:()=>o});var r=n(12392),i=n(93040);function a(e,t,n){const a=(0,i.toDate)(e,n?.in);return a.setTime(a.getTime()+t*r.millisecondsInMinute),a}function o(e,t,n){return a(e,-t,n)}const s=o},19054(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>l,subYears:()=>s});var r=n(59212),i=n(93040);function a(e,t,n){const a=(0,i.toDate)(e,n?.in);if(isNaN(t))return(0,r.constructFrom)(n?.in||e,NaN);if(!t)return a;const o=a.getDate(),s=(0,r.constructFrom)(n?.in||e,a.getTime());s.setMonth(a.getMonth()+t+1,0);return o>=s.getDate()?s:(a.setFullYear(s.getFullYear(),s.getMonth(),o),a)}function o(e,t,n){return a(e,12*t,n)}function s(e,t,n){return o(e,-t,n)}const l=s},93040(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a,toDate:()=>i});var r=n(59212);function i(e,t){return(0,r.constructFrom)(t||e,e)}const a=i},43046(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});const r=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uD
23F7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8
23E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;(Object.getOwnPropertyDescriptor(r,"name")||{}).writable||Object.defineProperty(r,"name",{value:"default",configurable:!0})},68655(e,t,n){"use strict";n.r(t),n.d(t,{EventEmitter:()=>r,default:()=>i});var r=n(72985);const i=r},98232(e,t,n){"use strict";function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===d(e)}function i(e){return null==e?"":function(e){if("string"==typeof e)return e;if("bigint"===typeof e)return e.toString();const t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}function a(e){return"string"===typeof e}function o(e){return"number"===typeof e}function s(e){return!0===e||!1===e||function(e){return l(e)&&null!==e}(e)&&"[object Boolean]"==d(e)}function l(e){return"object"===typeof e}function c(e){return void 0!==e&&null!==e}function u(e){return!e.trim().length}function d(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}n.r(t),n.d(t,{default:()=>te});const p=Object.prototype.hasOwnProperty;class f{constructor(e){this._keys=[],this._keyMap={};let t=0;
23e.forEach(e=>{const n=h(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function h(e){let t=null,n=null,i=null,o=1,s=null;if(a(e)||r(e))i=e,t=m(e),n=g(e);else{if(!p.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const r=e.name;if(i=r,p.call(e,"weight")&&(o=e.weight,o<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(r));t=m(r),n=g(r),s=e.getFn}return{path:t,id:n,weight:o,src:i,getFn:s}}function m(e){return r(e)?e:e.split(".")}function g(e){return r(e)?e.join("."):e}const y={useExtendedSearch:!1,useTokenSearch:!1,getFn:function(e,t){const n=[];let l=!1;const u=(e,t,d,p)=>{if(c(e))if(t[d]){const f=e[t[d]];if(!c(f))return;if(d===t.length-1&&(a(f)||o(f)||s(f)||"bigint"===typeof f))n.push(void 0!==p?{v:i(f),i:p}:i(f));else if(r(f)){l=!0;for(let e=0,n=f.length;e<n;e+=1)u(f[e],t,d+1,e)}else t.length&&u(f,t,d+1,p)}else n.push(void 0!==p?{v:e,i:p}:e)};return u(e,a(t)?t.split("."):t,0),l?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},v=Object.freeze({isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...y}),b=/[^ ]+/g;class _{constructor({getFn:e=v.getFn,fieldNormWeight:t=v.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const i=t.match(b).length;if(n.has(i))return n.get(i);const a=1/Math.pow(i,.5*e),o=parseFloat(Math.round(a*r)/r);return n.set(i,o),o},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,a(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){const t=this.size();a(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}removeAll(e){for(let t=e.length-1;t>=0;t-=1)this.records.splice(e[t],1);for(let t=0,n=this.records.length;t<n;t+=1)this.records[t].i=t}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!c(e)||u(e))return;const n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){const n={i:t,$:{}};this.keys.forEach((t,o)=>{const s=t.getFn?t.getFn(e):this.getFn(e,t.path);if(c(s))if(r(s)){const e=[];for(let t=0,n=s.length;t<n;t+=1){const n=s[t];if(c(n))if(a(n)){if(!u(n)){const r={v:n,i:t,n:this.norm.get(n)};e.push(r)}}else if(c(n.v)){const t=a(n.v)?n.v:i(n.v);if(!u(t)){const r={v:t,i:n.i,n:this.norm.get(t)};e.push(r)}}}n.$[o]=e}else if(a(s)&&!u(s)){const e={v:s,n:this.norm.get(s)};n.$[o]=e}}),this.records.push(n)}toJSON(){return{keys:this.keys.map(({getFn:e,...t})=>t),records:this.records}}}function w(e,t,{getFn:n=v.getFn,fieldNormWeight:r=v.fieldNormWeight}={}){const i=new _({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(h)),i.setSources(t),i.create(),i}const k=32;function S(e,t,n,{location:r=v.location,distance:i=v.distance,threshold:a=v.threshold,findAllMatches:o=v.findAllMatches,minMatchCharLength:s=v.minMatchCharLength,includeMatches:l=v.includeMatches,ignoreLocation:c=v.ignoreLocation}={}){if(t.length>k)throw new Error(`Pattern length exceeds max of ${k}.`);const u=t.length,d=e.length,p=Math.max(0,Math.min(r,d));let f=a,h=p;const m=(e,t)=>{const n=e/u;if(c)return n;const r=Math.abs(p-t);return i?n+r/i:r?1:n},g=s>1||l,y=g?Array(d):[];let b;for(;(b=e.indexOf(t,h))>-1;){const e=m(0,b);if(f=Math.min(e,f),h=b+u,g){let e=0;for(;e<u;)y[b+e]=1,e+=1}}h=-1;let _=[],w=1,S=u+d;const x=1<<u-1;for(let v=0;v<u;v+=1){let t=0,r=S;for(;t<r;){m(v,p+r)<=f?t=r:S=r,r=Math.floor((S-t)/2+t)}S=r;let i=Math.max(1,p-r+1);const a=o?d:Math.min(p+r,d)+u,s=Array(a+2);s[a+1]=(1<<v)-1;for(let o=a;o>=i;o-=1){const t=o-1,r=n[e[t]];if(g&&(y[t]=+!!r),s[o]=(s[o+1]<<1|1)&r,v&&(s[o]|=(_[o+1]|_[o])<<1|1|_[o+1]),s[o]&x&&(w=m(v,t),w<=f)){if(f=w,h=t,h<=p)break;i=Math.max(1,2*p-h)}}if(m(v+1,p)>f)break;_=s}const C={isMatch:h>=0,score:Math.max(.001,w)};if(g){const e=function(e=[],t=v.minMatchCharLength){const n=[];let r=-1,i=-1,a=0;for(let o=e.length;a<o;a+=1){const o=e[a];o&&-1===r?r=a:o||-1===r||(i=a-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[a-1]&&a-r>=t&&n.push([r,a-1]),n}(y,s);e.length?l&&(C.indices=e):C.isMatch=!1}return C}function x(e){const t={};for(let n=0,r=e.length;n<r;n+=1){const i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}function C(e){if(e.length<=1)return e;e.sort((e,t)=>
23e[0]-t[0]||e[1]-t[1]);const t=[e[0]];for(let n=1,r=e.length;n<r;n+=1){const r=t[t.length-1],i=e[n];i[0]<=r[1]+1?r[1]=Math.max(r[1],i[1]):t.push(i)}return t}const E={"\u0142":"l","\u0141":"L","\u0111":"d","\u0110":"D","\xf8":"o","\xd8":"O","\u0127":"h","\u0126":"H","\u0167":"t","\u0166":"T","\u0131":"i","\xdf":"ss"},A=new RegExp("["+Object.keys(E).join("")+"]","g"),T=String.prototype.normalize?e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"").replace(A,e=>E[e]):e=>e;class I{constructor(e,{location:t=v.location,threshold:n=v.threshold,distance:r=v.distance,includeMatches:i=v.includeMatches,findAllMatches:a=v.findAllMatches,minMatchCharLength:o=v.minMatchCharLength,isCaseSensitive:s=v.isCaseSensitive,ignoreDiacritics:l=v.ignoreDiacritics,ignoreLocation:c=v.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:l,ignoreLocation:c},e=s?e:e.toLowerCase(),e=l?T(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const u=(e,t)=>{this.chunks.push({pattern:e,alphabet:x(e),startIndex:t})},d=this.pattern.length;if(d>k){let e=0;const t=d%k,n=d-t;for(;e<n;)u(this.pattern.substr(e,k),e),e+=k;if(t){const e=d-k;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=n?T(e):e,this.pattern===e){const t={isMatch:!0,score:0};return r&&(t.indices=[[0,e.length-1]]),t}const{location:i,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:l,ignoreLocation:c}=this.options,u=[];let d=0,p=!1;this.chunks.forEach(({pattern:t,alphabet:n,startIndex:f})=>{const{isMatch:h,score:m,indices:g}=S(e,t,n,{location:i+f,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:l,includeMatches:r,ignoreLocation:c});h&&(p=!0),d+=m,h&&g&&u.push(...g)});const f={isMatch:p,score:p?d/this.chunks.length:1};return p&&r&&(f.indices=C(u)),f}}class R{constructor(e){this.pattern=e}static isMultiMatch(e){return O(e,this.multiRegex)}static isSingleMatch(e){return O(e,this.singleRegex)}search(e){return{isMatch:!1,score:1}}}function O(e,t){const n=e.match(t);
23return n?n[1]:null}class D extends R{constructor(e,{location:t=v.location,threshold:n=v.threshold,distance:r=v.distance,includeMatches:i=v.includeMatches,findAllMatches:a=v.findAllMatches,minMatchCharLength:o=v.minMatchCharLength,isCaseSensitive:s=v.isCaseSensitive,ignoreDiacritics:l=v.ignoreDiacritics,ignoreLocation:c=v.ignoreLocation}={}){super(e),this._bitapSearch=new I(e,{location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class N extends R{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],i=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+i,r.push([t,n-1]);const a=!!r.length;return{isMatch:a,score:a?0:1,indices:r}}}const j=[class extends R{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},N,class extends R{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends R{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends R{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends R{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends R{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},D],F=j.length;const M=new Set([D.type,N.type]);class V{constructor(e,{isCaseSensitive:t=v.isCaseSensitive,ignoreDiacritics:n=v.ignoreDiacritics,includeMatches:r=v.includeMatches,minMatchCharLength:i=v.minMatchCharLength,ignoreLocation:a=v.ignoreLocation,findAllMatches:o=v.findAllMatches,location:s=v.location,threshold:l=v.threshold,distance:c=v.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r,minMatchCharLength:i,findAllMatches:o,ignoreLocation:a,location:s,threshold:l,distance:c},e=t?e:e.toLowerCase(),e=n?T(e):e,this.pattern=e,this.query=function(e,t={}){return e.replace(/\\\|/g,"\0").split("|").map(e=>{const n=function(e){const t=[],n=e.length;let r=0;for(;r<n;){for(;r<n&&" "===e[r];)r++;if(r>=n)break;let i=r;for(;i<n&&" "!==e[i]&&'"'!==e[i];)i++;if(i<n&&'"'===e[i]){for(i++;i<n;){if('"'===e[i]){const t=i+1;if(t>=n||" "===e[t]){i++;break}if("$"===e[t]&&(t+1>=n||" "===e[t+1])){i+=2;break}}i++}t.push(e.substring(r,i)),r=i}else{for(;i<n&&" "!==e[i];)i++;t.push(e.substring(r,i)),r=i}}return t}(e.replace(/\u0000/g,"|").trim()).filter(e=>e&&!!e.trim()),r=[];for(let i=0,a=n.length;i<a;i+=1){const e=n[i];let a=!1,o=-1;for(;!a&&++o<F;){const n=j[o],i=n.isMultiMatch(e);i&&(r.push(new n(i,t)),a=!0)}if(!a)for(o=-1;++o<F;){const n=j[o],i=n.isSingleMatch(e);if(i){r.push(new n(i,t));break}}}return r})}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r,ignoreDiacritics:i}=this.options;e=r?e:e.toLowerCase(),e=i?T(e):e;let a=0;const o=[];let s=0,l=!1;for(let c=0,u=t.length;c<u;c+=1){const r=t[c];o.length=0,a=0,l=!1;for(let t=0,i=r.length;t<i;t+=1){const i=r[t],{isMatch:c,indices:u,score:d}=i.search(e);if(!c){s=0,a=0,o.length=0,l=!1;break}{a+=1,s+=d;const e=i.constructor.type;e.startsWith("inverse")&&(l=!0),n&&(M.has(e)?o.push(...u):o.push(u))}}if(a){const e={isMatch:!0,score:s/a};return l&&(e.hasInverse=!0),n&&(e.indices=C(o)),e}}return{isMatch:!1,score:1}}}const P=[];function L(...e){P.push(...e)}function B(e,t){for(let n=0,r=P.length;n<r;n+=1){const r=P[n];if(r.condition(e,t))return new r(e,t)}return new I(e,t)}const H="$and",W="$or",z="$path",Y="$val",U=e=>!(!e[H]&&!e[W]),X=e=>({[H]:Object.keys(e).map(t=>({[t]:e[t]}))});function G(e,t,{auto:n=!0}={}){const i=e=>{if(a(e)){const r={keyId:null,pattern:e};return n&&(r.searcher=B(e,t)),r}const o=Object.keys(e),s=(e=>!!e[z])(e);if(!s&&o.length>1&&!U(e))return i(X(e));if((e=>!r(e)&&l(e)&&!U(e))(e)){const r=s?e[z]:o[0],i=s?e[Y]:e[r];if(!a(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const l={keyId:g(r),pattern:i};return n&&(l.searcher=B(i,t)),l}const c={children:[],operator:o[0]};return o.forEach(t=>{const n=e[t];
23r(n)&&n.forEach(e=>{c.children.push(i(e))})}),c};return U(e)||(e=X(e)),i(e)}function q(e,{ignoreFieldNorm:t=v.ignoreFieldNorm}){let n=1;return e.forEach(({key:e,norm:r,score:i})=>{const a=e?e.weight:null;n*=Math.pow(0===i&&a?Number.EPSILON:i,(a||1)*(t?1:r))}),n}class J{constructor(e){this.limit=e,this.heap=[]}get size(){return this.heap.length}shouldInsert(e){return this.size<this.limit||e<this.heap[0].score}insert(e){this.size<this.limit?(this.heap.push(e),this._bubbleUp(this.size-1)):e.score<this.heap[0].score&&(this.heap[0]=e,this._sinkDown(0))}extractSorted(e){return this.heap.sort(e)}_bubbleUp(e){const t=this.heap;for(;e>0;){const n=e-1>>1;if(t[e].score<=t[n].score)break;const r=t[e];t[e]=t[n],t[n]=r,e=n}}_sinkDown(e){const t=this.heap,n=t.length;let r=e;do{const i=2*(e=r)+1,a=2*e+2;if(i<n&&t[i].score>t[r].score&&(r=i),a<n&&t[a].score>t[r].score&&(r=a),r!==e){const n=t[e];t[e]=t[r],t[r]=n}}while(r!==e)}}function $(e,t){const n=e.matches;t.matches=[],c(n)&&n.forEach(e=>{if(!c(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e,i={indices:n,value:r};e.key&&(i.key=e.key.src),e.idx>-1&&(i.refIndex=e.idx),t.matches.push(i)})}function K(e,t){t.score=e.score}const Z=/\b\w+\b/g;function Q({isCaseSensitive:e=!1,ignoreDiacritics:t=!1}={}){return{tokenize:n=>(e||(n=n.toLowerCase()),t&&(n=T(n)),n.match(Z)||[])}}function ee(e,t){for(const[n,r]of e.terms){const i=r.filter(e=>e.docIdx!==t),a=r.length-i.length;a>0&&(e.fieldCount-=a,e.df.set(n,(e.df.get(n)||0)-a),0===i.length?(e.terms.delete(n),e.df.delete(n)):e.terms.set(n,i))}}class te{constructor(e,t,n){this.options={...v,...t},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new f(this.options.keys),this._docs=e,this._myIndex=null,this._invertedIndex=null,this.setCollection(e,n),this._lastQuery=null,this._lastSearcher=null}_getSearcher(e){if(this._lastQuery===e)return this._lastSearcher;const t=B(e,this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options);return this._lastQuery=e,this._lastSearcher=t,t}setCollection(e,t){if(this._docs=e,t&&!(t instanceof _))throw new Error("Incorrect 'index' type");if(this._myIndex=t||w(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){const e=Q({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics});this._invertedIndex=function(e,t,n){const r=new Map,i=new Map;let a=0;function o(e,t,o,s){const l=n.tokenize(e);if(!l.length)return;a++;const c=new Map;for(const n of l)c.set(n,(c.get(n)||0)+1);for(const[n,a]of c){const e={docIdx:t,keyIdx:o,subIdx:s,tf:a};let l=r.get(n);l||(l=[],r.set(n,l)),l.push(e),i.set(n,(i.get(n)||0)+1)}}for(const s of e){const{i:e,v:n,$:r}=s;if(void 0===n){if(r)for(let i=0;i<t;i++){const t=r[i];if(t)if(Array.isArray(t))for(const n of t)o(n.v,e,i,n.i??-1);else o(t.v,e,i,-1)}}else o(n,e,-1,-1)}return{terms:r,fieldCount:a,df:i}}(this._myIndex.records,this._myIndex.keys.length,e)}}add(e){if(c(e)&&(this._docs.push(e),this._myIndex.add(e),this._invertedIndex)){const e=this._myIndex.records[this._myIndex.records.length-1],t=Q({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics});!function(e,t,n,r){const{i:i,v:a,$:o}=t;function s(t,n,a){const o=r.tokenize(t);if(!o.length)return;e.fieldCount++;const s=new Map;for(const e of o)s.set(e,(s.get(e)||0)+1);for(const[r,l]of s){const t={docIdx:i,keyIdx:n,subIdx:a,tf:l};let o=e.terms.get(r);o||(o=[],e.terms.set(r,o)),o.push(t),e.df.set(r,(e.df.get(r)||0)+1)}}if(void 0===a){if(o)for(let l=0;l<n;l++){const e=o[l];if(e)if(Array.isArray(e))for(const t of e)s(t.v,l,t.i??-1);else s(e.v,l,-1)}}else s(a,-1,-1)}(this._invertedIndex,e,this._myIndex.keys.length,t)}}remove(e=()=>!1){const t=[],n=[];for(let r=0,i=this._docs.length;r<i;r+=1)e(this._docs[r],r)&&(t.push(this._docs[r]),n.push(r));if(n.length){if(this._invertedIndex)for(const e of n)ee(this._invertedIndex,e);for(let e=n.length-1;e>=0;e-=1)this._docs.splice(n[e],1);this._myIndex.removeAll(n)}return t}removeAt(e){this._invertedIndex&&ee(this._invertedIndex,e);const t=this._docs.splice(e,1)[0];return this._myIndex.removeAt(e),t}getIndex(){return this._myIndex}search(e,t){const{limit:n=-1}=t||{},{includeMatches:r,includeScore:i,shouldSort:s,sortFn:l,ignoreFieldNorm:c}=this.options;if(a(e)&&!e.trim()){let e=this._docs.map((e,t)=>({item:e,refIndex:t}));return o(n)&&n>-1&&(e=e.slice(0,n)),e}let u;if(o(n)&&n>0&&a(e)){const t=new J(n);a(this._docs[0])?this._searchStringList(e,{heap:t,ignoreFieldNorm:c}):this._searchObjectList(e,{heap:t,ignoreFieldNorm:c}),u=t.extractSorted(l)}else u=a(e)?a(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e),function(e,{ignoreFieldNorm:t=v.ignoreFieldNorm}
23){e.forEach(e=>{e.score=q(e.matches,{ignoreFieldNorm:t})})}(u,{ignoreFieldNorm:c}),s&&u.sort(l),o(n)&&n>-1&&(u=u.slice(0,n));return function(e,t,{includeMatches:n=v.includeMatches,includeScore:r=v.includeScore}={}){const i=[];return n&&i.push($),r&&i.push(K),e.map(e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return i.length&&i.forEach(t=>{t(e,r)}),r})}(u,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(e,{heap:t,ignoreFieldNorm:n}={}){const r=this._getSearcher(e),{records:i}=this._myIndex,a=t?null:[];return i.forEach(({v:e,i:i,n:o})=>{if(!c(e))return;const{isMatch:s,score:l,indices:u}=r.searchIn(e);if(s){const r={item:e,idx:i,matches:[{score:l,value:e,norm:o,indices:u}]};t?(r.score=q(r.matches,{ignoreFieldNorm:n}),t.shouldInsert(r.score)&&t.insert(r)):a.push(r)}}),a}_searchLogical(e){const t=G(e,this.options),n=(e,t,r)=>{if(!("children"in e)){const{keyId:n,searcher:i}=e;let a;return null===n?(a=[],this._myIndex.keys.forEach((e,n)=>{a.push(...this._findMatches({key:e,value:t[n],searcher:i}))})):a=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:i}),a&&a.length?[{idx:r,item:t,matches:a}]:[]}const{children:i,operator:a}=e,o=[];for(let s=0,l=i.length;s<l;s+=1){const e=i[s],l=n(e,t,r);if(l.length)o.push(...l);else if(a===H)return[]}return o},r=this._myIndex.records,i=new Map,a=[];return r.forEach(({$:e,i:r})=>{if(c(e)){const o=n(t,e,r);o.length&&(i.has(r)||(i.set(r,{idx:r,item:e,matches:[]}),a.push(i.get(r))),o.forEach(({matches:e})=>{i.get(r).matches.push(...e)}))}}),a}_searchObjectList(e,{heap:t,ignoreFieldNorm:n}={}){const r=this._getSearcher(e),{keys:i,records:a}=this._myIndex,o=t?null:[];return a.forEach(({$:e,i:a})=>{if(!c(e))return;const s=[];let l=!1,u=!1;if(i.forEach((t,n)=>{const i=this._findMatches({key:t,value:e[n],searcher:r});i.length?(s.push(...i),i[0].hasInverse&&(u=!0)):l=!0}),(!u||!l)&&s.length){const r={idx:a,item:e,matches:s};t?(r.score=q(r.matches,{ignoreFieldNorm:n}),t.shouldInsert(r.score)&&t.insert(r)):o.push(r)}}),o}_findMatches({key:e,value:t,searcher:n}){if(!c(t))return[];const i=[];if(r(t))t.forEach(({v:t,i:r,n:a})=>{if(!c(t))return;const{isMatch:o,score:s,indices:l,hasInverse:u}=n.searchIn(t);o&&i.push({score:s,key:e,value:t,idx:r,norm:a,indices:l,hasInverse:u})});else{const{v:r,n:a}=t,{isMatch:o,score:s,indices:l,hasInverse:c}=n.searchIn(r);o&&i.push({score:s,key:e,value:r,norm:a,indices:l,hasInverse:c})}return i}}class ne{static condition(e,t){return t.useTokenSearch}constructor(e,t){this.options=t,this.analyzer=Q({isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics});const n=this.analyzer.tokenize(e),r=t._invertedIndex,{df:i,fieldCount:a}=r;this.termSearchers=[],this.idfWeights=[];for(const o of n){this.termSearchers.push(new I(o,{location:t.location,threshold:t.threshold,distance:t.distance,includeMatches:t.includeMatches,findAllMatches:t.findAllMatches,minMatchCharLength:t.minMatchCharLength,isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,ignoreLocation:!0}));const e=i.get(o)||0,n=Math.log(1+(a-e+.5)/(e+.5));this.idfWeights.push(n)}}searchIn(e){if(!this.termSearchers.length)return{isMatch:!1,score:1};const t=[];let n=0,r=0,i=0;for(let s=0;s<this.termSearchers.length;s++){const a=this.termSearchers[s].searchIn(e),o=this.idfWeights[s];r+=o,a.isMatch&&(i++,n+=o*(1-a.score),a.indices&&t.push(...a.indices))}if(0===i)return{isMatch:!1,score:1};const a=r>0?1-n/r:0,o={isMatch:!0,score:Math.max(.001,a)};return this.options.includeMatches&&t.length&&(o.indices=C(t)),o}}te.version="7.3.0",te.createIndex=w,te.parseIndex=function(e,{getFn:t=v.getFn,fieldNormWeight:n=v.fieldNormWeight}={}){const{keys:r,records:i}=e,a=new _({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(i),a},te.config=v,te.match=function(e,t,n){return B(e,{...v,...n}).searchIn(t)},te.parseQuery=G,L(V),L(ne),te.use=function(...e){e.forEach(e=>L(e))}},15256(e,t,n){"use strict";function r(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function i(e,t){let n;return(i,a)=>(()=>
23{if(n)return n;const i=indexedDB.open(e);return i.onupgradeneeded=()=>i.result.createObjectStore(t),n=r(i),n.then(e=>{e.onclose=()=>n=void 0},()=>{}),n})().then(e=>a(e.transaction(t,i).objectStore(t)))}let a;function o(){return a||(a=i("keyval-store","keyval")),a}function s(e,t=o()){return t("readonly",t=>r(t.get(e)))}function l(e,t,n=o()){return n("readwrite",n=>(n.put(t,e),r(n.transaction)))}function c(e,t=o()){return t("readwrite",t=>(e.forEach(e=>t.put(e[1],e[0])),r(t.transaction)))}function u(e,t=o()){return t("readonly",t=>Promise.all(e.map(e=>r(t.get(e)))))}function d(e,t,n=o()){return n("readwrite",n=>new Promise((i,a)=>{n.get(e).onsuccess=function(){try{n.put(t(this.result),e),i(r(n.transaction))}catch(o){a(o)}}}))}function p(e,t=o()){return t("readwrite",t=>(t.delete(e),r(t.transaction)))}function f(e,t=o()){return t("readwrite",t=>(e.forEach(e=>t.delete(e)),r(t.transaction)))}function h(e=o()){return e("readwrite",e=>(e.clear(),r(e.transaction)))}function m(e,t){return e.openCursor().onsuccess=function(){this.result&&(t(this.result),this.result.continue())},r(e.transaction)}function g(e=o()){return e("readonly",e=>{if(e.getAllKeys)return r(e.getAllKeys());const t=[];return m(e,e=>t.push(e.key)).then(()=>t)})}function y(e=o()){return e("readonly",e=>{if(e.getAll)return r(e.getAll());const t=[];return m(e,e=>t.push(e.value)).then(()=>t)})}function v(e=o()){return e("readonly",t=>{if(t.getAll&&t.getAllKeys)return Promise.all([r(t.getAllKeys()),r(t.getAll())]).then(([e,t])=>e.map((e,n)=>[e,t[n]]));const n=[];return e("readonly",e=>m(e,e=>n.push([e.key,e.value])).then(()=>n))})}n.r(t),n.d(t,{clear:()=>h,createStore:()=>i,del:()=>p,delMany:()=>f,entries:()=>v,get:()=>s,getMany:()=>u,keys:()=>g,promisifyRequest:()=>r,set:()=>l,setMany:()=>c,update:()=>d,values:()=>y})},11704(t,n,r){"use strict";r.r(n),r.d(n,{InvalidTokenError:()=>i,jwtDecode:()=>o});class i extends Error{}function a(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function(e){return decodeURIComponent(atob(e).replace(/(.)/g,(e,t)=>{let n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}(t)}catch(n){return atob(t)}}function o(t,n){if("string"!==typeof t)throw new i("Invalid token specified: must be a string");n||(n={});const r=!0===n.header?0:1,o=t.split(".")[r];if("string"!==typeof o)throw new i(`Invalid token specified: missing part #${r+1}`);let s;try{s=a(o)}catch(e){throw new i(`Invalid token specified: invalid base64 for part #${r+1} (${e.message})`)}try{return JSON.parse(s)}catch(e){throw new i(`Invalid token specified: invalid json for part #${r+1} (${e.message})`)}}i.prototype.name="InvalidTokenError"},38143(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>V});const r=class{constructor(e,t){this.options=e,this.isx=t?.osx??-1,this.isy=t?.osy??-1,this.isz=t?.osz??-1,this.il=this.isx*this.isy*this.isz,this.osx=this.isx,this.osy=this.isy,this.osz=this.isz}forward(e,t){throw new Error("Not implemented")}backward(e){throw new Error("Not implemented")}getAsOptions(e){return this.options}getParamsAndGrads(){return[]}};const i=class extends r{};const a=class extends i{};const o=class extends r{};const s=class extends r{};class l extends Float32Array{}const c=l,u="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$%&()[]{}<>*+-:;=@^_~!",d=Object.fromEntries(u.split("").map((e,t)=>[e,t])),p={encode:(e,t)=>{const n=new Uint8Array(e.buffer);if("f32"===t){let e="",t="",r="",i="";for(let a=0,o=n.length;a<o;a+=4)e+=String.fromCharCode(n[a+0]),t+=String.fromCharCode(n[a+1]),r+=String.fromCharCode(n[a+2]),i+=String.fromCharCode(n[a+3]);return`4${btoa(`${e}${t}${r}${i}`)}`}if("f16"===t){let e="",t="";for(let r=0,i=n.length;r<i;r+=4)e+=String.fromCharCode(n[r+2]),t+=String.fromCharCode(n[r+3]);return`2${btoa(`${e}${t}`)}`}if("f8"===t){const t=Math.max(...Array.from(e).map(Math.abs)),n=Number((126/t).toFixed(1));if(t>127||n<1)throw new Error("Unsupported encoding, max value out of range");let r="";for(let i=0,a=e.length;i<a;i+=1)r+=String.fromCharCode(Math.trunc(e[i]*n+127));return`1${n}|${btoa(r)}`}if("f6"===t){const t=Math.max(...Array.from(e).map(Math.abs)),n=0===t?1:Number((126/t).toFixed(1));if(t>127||n<1)throw new Error("Unsupported encoding, max value out of range");let r="";for(let i=0,a=e.length;i<a;i+=1)r+=u[Math.round(Math.trunc(e[i]*n+127)/3)];return`1-${n}|${r}`}throw new Error("Unsupported precision")},decode:e=>{const t=Number(e[0]),n=e.indexOf("|"),r="-"===e[1],i=n>=0?n+1:1,a=e.slice(i),o=r?a:atob(a),s=o.length/t,l=new c(o.length/t),u=new Uint8Array(l.buffer);if(4===t){const e=o.slice(0*s,1*s),t=o.slice(1*s,2*s),n=o.slice(2*s,3*s),r=o.slice(3*s,4*s);for(let i=0,a=0,o=s;a<o;
23i+=4,a+=1)u[i+0]=e[a].charCodeAt(0),u[i+1]=t[a].charCodeAt(0),u[i+2]=n[a].charCodeAt(0),u[i+3]=r[a].charCodeAt(0)}else if(2===t){const e=o.slice(0*s,1*s),t=o.slice(1*s,2*s);for(let n=0,r=0,i=s;r<i;n+=4,r+=1)u[n+0]=0,u[n+1]=0,u[n+2]=e[r].charCodeAt(0),u[n+3]=t[r].charCodeAt(0)}else if(1!==t||r){if(1!==t||!r)throw new Error("Unsupported precision");{const t=Number(e.slice(2,n));for(let e=0,n=s;e<n;e+=1)l[e]=(3*d[o[e]]-127)/t}}else{const t=Number(e.slice(1,n));for(let e=0,n=s;e<n;e+=1)l[e]=(o[e].charCodeAt(0)-127)/t}return l}},f=(e,t)=>{const n=t-e;return Array.from({length:n},(t,n)=>n+e)};class h{constructor(e,t,n,r,i){if(this.sx=e,this.sy=t,this.sz=n,this.length=e*t*n,(e=>"undefined"===typeof e)(r)){const e=Math.sqrt(1/this.length),t=()=>((e,t)=>{const n=1-Math.random(),r=Math.random();return Math.sqrt(-2*Math.log(n))*Math.cos(2*Math.PI*r)*t+e})(0,e);this.w=new c(this.length).map(t)}else(e=>"number"===typeof e)(r)?(this.w=new c(this.length),0!==r&&this.w.fill(r)):(e=>e instanceof Float32Array)(r)?this.w=r:this.w=new c(r);this.dw=i||new c(this.length)}index(e,t,n){return(this.sx*t+e)*this.sz+n}get(e,t,n){return this.w[this.index(e,t,n)]}set(e,t,n,r){return this.w[this.index(e,t,n)]=r}add(e,t,n,r){return this.w[this.index(e,t,n)]+=r}getGrad(e,t,n){return this.dw[this.index(e,t,n)]}setGrad(e,t,n,r){return this.dw[this.index(e,t,n)]=r}addGrad(e,t,n,r){return this.dw[this.index(e,t,n)]+=r}clone(){const e=new h(this.sx,this.sy,this.sz,this.w);return e.w=e.w.slice(),e}cloneWithZeros(){return new h(this.sx,this.sy,this.sz,0)}}const m=h;const g=class extends i{constructor(e,t){super(e,t),this.sx=e.sx,this.sy=e.sy??this.sx,this.stride=e.stride,this.pad=e.pad,this.osx=Math.floor((this.isx+2*this.pad-this.sx)/this.stride+1),this.osy=Math.floor((this.isy+2*this.pad-this.sy)/this.stride+1),this.osz=e.filters,this.bias=e.bias??0,this.l1decay=e.l1decay??0,this.l2decay=e.l2decay??1,this.biased=-1!==this.bias,this.biases=this.biased?e._biases?new m(1,1,this.osz,p.decode(e._biases)):new m(1,1,this.osz,this.bias):new m(1,1,this.osz,0),this.filters=e._filters?e._filters.map(e=>new m(this.sx,this.sy,this.isz,p.decode(e))):f(0,this.osz).map(()=>new m(this.sx,this.sy,this.isz))}forward(e,t){this.it=e;const n=new m(this.osx,this.osy,this.osz,0);let r=e.sx,i=e.sy,a=this.stride;for(let o=0;o<this.osz;o++){let t=this.filters[o],s=-this.pad,l=-this.pad;for(let c=0;c<this.osy;l+=a,c++){s=-this.pad;for(let u=0;u<this.osx;s+=a,u++){let a=0;for(let n=0;n<t.sy;n++){let o=l+n;for(let l=0;l<t.sx;l++){let c=s+l;if(o>=0&&o<i&&c>=0&&c<r)for(let i=0;i<t.sz;i++)a+=t.w[(t.sx*n+l)*t.sz+i]*e.w[(r*o+c)*e.sz+i]}}a+=this.biases.w[o],n.set(u,c,o,a)}}}return this.ot=n,this.ot}backward(){const e=this.it,t=this.biased;e.dw=new c(e.length);let n=e.sx,r=e.sy,i=this.stride;for(let a=0;a<this.osz;a++){let o=this.filters[a],s=-this.pad,l=-this.pad;for(let c=0;c<this.osy;l+=i,c++){s=-this.pad;for(let u=0;u<this.osx;s+=i,u++){let i=this.ot.getGrad(u,c,a);for(let t=0;t<o.sy;t++){let a=l+t;for(let l=0;l<o.sx;l++){let c=s+l;if(a>=0&&a<r&&c>=0&&c<n)for(let r=0;r<o.sz;r++){let s=(n*a+c)*e.sz+r,u=(o.sx*t+l)*o.sz+r;o.dw[u]+=e.w[s]*i,e.dw[s]+=o.w[u]*i}}}t&&(this.biases.dw[a]+=i)}}}}getAsOptions(e){return{...this.options,_biases:this.biased?p.encode(this.biases.w,e):void 0,_filters:this.filters.map(t=>p.encode(t.w,e))}}getParamsAndGrads(){const e=this.filters.map(e=>({params:e.w,grads:e.dw,l1decay:this.l1decay,l2decay:this.l2decay}));if(!this.biased)return e;const t={params:this.biases.w,grads:this.biases.dw,l1decay:0,l2decay:0};return[...e,t]}};const y=class extends i{constructor(e,t){super(e,t),this.osx=1,this.osy=1,this.osz=e.filters,this.bias=e.bias??0,this.l1decay=e.l1decay??0,this.l2decay=e.l2decay??1,this.biased=-1!==this.bias,this.biases=this.biased?e._biases?new m(1,1,this.osz,p.decode(e._biases)):new m(1,1,this.osz,this.bias):new m(1,1,this.osz,0),this.filters=e._filters?e._filters.map(e=>new m(1,1,this.il,p.decode(e))):f(0,this.osz).map(()=>new m(1,1,this.il))}forward(e,t){this.it=e;const n=new m(1,1,this.osz,0);for(let r=0,i=this.osz;r<i;r++){let t=0,i=this.filters[r].w;for(let n=0;n<this.il;n++)t+=e.w[n]*i[n];t+=this.biases.w[r],n.w[r]=t}return this.ot=n,this.ot}backward(){const e=this.it,t=this.biased;e.dw=new c(e.length);for(let n=0,r=this.osz;n<r;n++){let r=this.filters[n],i=this.ot.dw[n];for(let t=0;t<this.il;t++)e.dw[t]+=r.w[t]*i,r.dw[t]+=e.w[t]*i;t&&(this.biases.dw[n]+=i)}}getAsOptions(e){return{...this.options,_biases:this.biased?p.encode(this.biases.w,e):void 0,_filters:this.filters.map(t=>p.encode(t.w,e))}}getParamsAndGrads(){const e=this.filters.map(e=>({params:e.w,grads:e.dw,l1decay:this.l1decay,l2decay:this.l2decay}));if(!this.biased)return e;const t={params:this.biases.w,grads:this.biases.dw,l1decay:0,l2decay:0};return[...e,t]}};const v=class extends i{constructor(e,t){super(e,t),this.probability=e.probability??.5,this.dropped=new c(this.osx*this.osy*this.osz)}forward(e,t){this.it=e;const n=e.clone();if(t)for(let r=0;r<e.length;r++)Math.random()<this.probability?(n.w[r]=0,this.dropped[r]=1):this.dropped[r]=0;else for(let r=0;r<e.length;r++)n.w[r]*=this.probability;return this.ot=n,this.ot}backward(){const e=this.it,t=this.ot;e.dw=new c(e.length);for(let n=0,r=e.length;n<r;n++)this.dropped[n]||(e.dw[n]=t.dw[n])}};const b=class extends o{constructor(e,t){super(e,t),this.osx=e.sx,this.osy=e.sy,this.osz=e.sz}forward(e,t){return this.it=e,this.ot=e,this.ot}};const _=class extends a{activationForward(e){throw new Error("Unimplemented")}activationBackward(e,t){throw new Error("Unimplemented")}forward(e,t){this.it=e;const n=e.clone();for(let r=0,i=e.length;r<i;r++)n.w[r]=this.activationForward(n.w[r]);return this.ot=n,this.ot}backward(){const e=this.it,t=this.ot;e.dw=new c(e.length);for(let n=0,r=e.length;n<r;n++)e.dw[n]=this.activationBackward(t.w[n],t.dw[n])}};const w=class extends _{activationForward(e){return Math.max(.01*e,e)}activationBackward(e,t){return e<=0?0:t}};const k=class extends i{constructor(e,t){super(e,t),this.sx=e.sx??2,this.osz=Math.floor(this.isz/this.sx),this.switches=new c(this.osx*this.osy*this.osz)}forward(e,t){this.it=e;const n=this.osz,r=new m(this.osx,this.osy,this.osz,0);if(1===this.osx&&1===this.osy)for(let i=0;i<n;i++){let t=i*this.sx,n=e.w[t],a=0;for(let r=1;r<this.sx;r++){let i=e.w[t+r];i>n&&(n=i,a=r)}r.w[i]=n,this.switches[i]=t+a}else{let t=0;for(let i=0;i<e.sx;i++)for(let a=0;a<e.sy;a++)for(let o=0;o<n;o++){let n=o*this.sx,s=e.get(i,a,n),l=0;for(let t=1;t<this.sx;t++){let r=e.get(i,a,n+t);r>s&&(s=r,l=t)}r.set(i,a,o,s),this.switches[t]=n+l,t++}}return this.ot=r,this.ot}backward(){const e=this.it,t=this.ot;if(e.dw=new c(e.length),1===this.osx&&1===this.osy)for(let n=0;n<this.osz;n++){let r=t.dw[n];e.dw[this.switches[n]]=r}else{let n=0;for(let r=0;r<t.sx;r++)for(let i=0;i<t.sy;i++)for(let a=0;a<this.osz;a++){let o=t.getGrad(r,i,a);e.setGrad(r,i,this.switches[n],o),n++}}}};const S=class extends i{constructor(e,t){super(e,t),this.sx=e.sx,this.sy=e.sy??this.sx,this.stride=e.stride??2,this.pad=e.pad??0,this.osx=Math.floor((this.isx+2*this.pad-this.sx)/this.stride+1),this.osy=Math.floor((this.isy+2*this.pad-this.sy)/this.stride+1),this.osz=this.isz,this.switchX=new c(this.osx*this.osy*this.osz),this.switchY=new c(this.osx*this.osy*this.osz)}forward(e,t){this.it=e;const n=new m(this.osx,this.osy,this.osz,0);let r=0;for(let i=0;i<this.osz;i++){let t=-this.pad,a=-this.pad;for(let o=0;o<this.osx;t+=this.stride,o++){a=-this.pad;for(let s=0;s<this.osy;a+=this.stride,s++){let l=-99999,c=-1,u=-1;for(let n=0;n<this.sx;n++)for(let r=0;r<this.sy;r++){let o=a+r,s=t+n;if(o>=0&&o<e.sy&&s>=0&&s<e.sx){let t=e.get(s,o,i);t>l&&(l=t,c=s,u=o)}}this.switchX[r]=c,this.switchY[r]=u,r++,n.set(o,s,i,l)}}}return this.ot=n,this.ot}backward(){const e=this.it;e.dw=new c(e.length);let t=0;for(let n=0;n<this.osz;n++){let r=-this.pad,i=-this.pad;for(let a=0;a<this.osx;r+=this.stride,a++){i=-this.pad;for(let r=0;r<this.osy;i+=this.stride,r++){let i=this.ot.getGrad(a,r,n);e.addGrad(this.switchX[t],this.switchY[t],n,i),t++}}}}};const x=class extends s{constructor(e,t){super(e,t),this.osx=1,this.osy=1,this.osz=this.il}forward(e,t){return this.it=e,this.ot=e,e}backward(e){const t=this.it;t.dw=new c(t.length);let n=0;for(let r=0,i=this.osz;r<i;r++){let i=t.w[r]-e[r];t.dw[r]=i,n+=.5*i*i}return n}};const C=class extends _{activationForward(e){return e<=0?0:e}activationBackward(e,t){return e<=0?0:t}};const E=class extends _{activationForward(e){return 1/(1+Math.exp(-e))}activationBackward(e,t){return e*(1-e)*t}};const A=class extends s{constructor(e,t){super(e,t),this.osx=1,this.osy=1,this.osz=this.il}forward(e,t){this.it=e;const n=new m(1,1,this.osz,0);let r=e.w,i=e.w[0];for(let s=1,l=this.osz;s<l;s++)r[s]>i&&(i=r[s]);let a=new c(this.osz),o=0;for(let s=0,l=this.osz;s<l;s++){let e=Math.exp(r[s]-i);o+=e,a[s]=e}for(let s=0,l=this.osz;s<l;s++)a[s]/=o,n.w[s]=a[s];return this.es=a,this.ot=n,this.ot}backward(e){const t=this.it;t.dw=new c(t.length);for(let n=0,r=this.osz;n<r;n++){const r=-((n===e?1:0)-this.es[n]);t.dw[n]=r}return-Math.log(this.es[e])}};const T={Abstract:r,AbstractActivation:a,AbstractHidden:i,AbstractInput:o,AbstractOutput:s,Input:b,Conv:g,Dense:y,Dropout:v,Pool:S,LeakyRelu:w,Maxout:k,Relu:C,Sigmoid:E,Tanh:class extends _{activationForward(e){return Math.tanh(e)}activationBackward(e,t){return(1-e**2)*t}},Regression:x,Softmax:A};const I=class{constructor(e){if(this.layers=this.resolve(e.layers
23),this.options=e,this.layers.length<2)throw new Error("At least one input layer and one output layer are required");if(!this.layers.slice(0,1).every(e=>e instanceof o))throw new Error("The first layer must be an input layer");if(!this.layers.slice(-1).every(e=>e instanceof s))throw new Error("The last layer must be an output layer");if(!this.layers.slice(1,-1).every(e=>e instanceof i))throw new Error("The layers between the first and the last must be hidden layers")}cost(e,t){return this.forward(e,!1),this.layers[this.layers.length-1].backward(t)}forward(e,t){let n=this.layers[0].forward(e,t);for(let r=1,i=this.layers.length;r<i;r++)n=this.layers[r].forward(n,t);return n}backward(e){const t=this.layers[this.layers.length-1].backward(e);for(let n=this.layers.length-2;n>=1;n--)this.layers[n].backward(e);return t}resolve(e){let t;return e.map(e=>t=((e,t)=>{if(e instanceof r)return e;switch(e.type){case"input":return new T.Input(e,t);case"conv":return new T.Conv(e,t);case"dense":return new T.Dense(e,t);case"dropout":return new T.Dropout(e,t);case"pool":return new T.Pool(e,t);case"leakyrelu":return new T.LeakyRelu(e,t);case"maxout":return new T.Maxout(e,t);case"relu":return new T.Relu(e,t);case"sigmoid":return new T.Sigmoid(e,t);case"tanh":return new T.Tanh(e,t);case"regression":return new T.Regression(e,t);case"softmax":return new T.Softmax(e,t);default:throw new Error("Unknown layer type")}})(e,t))}getAsOptions(e="f32"){return{layers:this.layers.map(t=>t.getAsOptions(e))}}getParamsAndGrads(){return this.layers.flatMap(e=>e.getParamsAndGrads())}},R=["afr","ara","aze","bel","ben","bul","cat","ces","ckb","cmn","dan","deu","ell","eng","est","eus","fin","fra","hau","heb","hin","hrv","hun","hye","ind","isl","ita","jpn","kat","kaz","kor","lit","mar","mkd","nld","nob","pes","pol","por","ron","run","rus","slk","spa","srp","swe","tgl","tur","ukr","vie"],O={unigrams:[" ","\u0627","a","\u0430","\u09be","\u0435","e","o","\u06d5","\u6211","r","n","\u03b1","t","i","u","s","l","k","\u05d9","\u093e","j","m","\u0561","d","\xf0","c","\u3044","\u10d0","\u044b","\ub2e4","p","\u0924","\u043e","h","g","\u06cc","z","v","\u0103","b","\u0442","\xe1","q","\u0438","\xe4","y","\u0131","\u043d","\u0111","w","\u0644","\u0259","\u0456","\u09c7","\u0441","f","\xed","\u0648","\u7684","\xe5","\xfc","\u03b5","x","\xf5","\xe9","\xf6","\xe0","\u0199","\u05d4","\u0939","\u0161","\xf3","\u0565","\xea","\xfe","\xe8","\u306e","\u10d8","\u0440","\uc774","\u0117","\u0947","\u043c","\xeb","\xf8","\u062f","\u0142","\xe3","\xee","\u043b","\u010d","\xf1","\u0443","\xe2","\u015f","\u0432","\xf4","\xef","\u064a","\xe7","\u044f","\u09b0","\u0434","\xf2","\u011b","\u0646","\u4e86","\xe6","\xdf","\u03bf","\u017e","\u014d","\u0153","\u0257","\u05d5","\u0915","\u0107","\u0151","\u0576"],bigrams:["e ","\u0627\u0644","n ","\u0430 ","\u09c7 ","\u0435 ","a "," n","\u06d5 "," \u6211","r ","ch","\u03b1 "," t"," m"," e","\xe4 ","s ","an"," \u05d4","\u0947 ","i "," a","\u0578\u0582","ng","\xf0 ","o ","\u305f ","\u10d8 ","\u043d ","\ub2e4 ","u ","\u093e ","\u0438 ","en","er"," \u0627","ie"," d","\u0103 ","ra","\u043e "," s","es"," \u0441","t ","g "," b"," \u0432"," c"," h"," \u0623","\u0259n","\u044f "," \u0986"," \u043d"," l"," j","\u06cc "," \u4ed6","de","ei","\u03b9 ","th"," k","ar","in"," p","ya","\u05d4 "," \u0915","je","k ","\u0574 ","ka","a\xf0","re","\u306a\u3044","\u10d0 ","\u044b ","\ub294 ","ai","\u0940 ","\u0442\u043e"," i","et","\u062f ","ni","m ","te"," u"," \u043f","to","la"," \u0458"," v","na","ir","\u043d\u0430"," \u0111","di","\u0627 ","\u0259 ","\u0440\u0430","\u09bf "," \u0442","el","ne"," \u0628","\u4e86 ","ge","ic"," \u03c4","he","ma","at","ta","le","da"," \u05d0"," \u0939","ti","sz"," \u0565","ak"," \xfe","on","\u3063\u3066","\u10e1 "," \u0431","\uc740 ","as"," \u0924"," \u0434","ee","eg","\u0647 "," w","qu","st","ur","\u044c ","om","l ","\u0458\u0435","\xe4r","sa"," o","\u0443 ","nh","y ","\u0646 ","m\u0259","\u0456 ","\u09be "," \u043c","ll","se","\u0645 "," \u4f60","or","h ","\u03c2 ","ou","d "," z","si","nt","wa"," \u05dc","\u0902 ","li","gy","\u0561\u0576","me"],trigrams:["ie "," \u0627\u0644","\u0259n ","\u043d\u0435 "," \u0986\u09ae","\u0434\u0430 ","es "," ne"," \u
23062f\u06d5"," \u6211\u4eec","er ","en "," \u03c4\u03bf"," th","ma ","an ","in "," de"," da","\u05d9\u05dd "," \u0939\u0948","je "," a ","\u0578\u0582\u0574"," me","a\xf0 ","to ","\u3063\u305f "," \u10db\u10d4","\u0435\u043d "," \ud1b0\uc740","as ","\u094d\u092f\u093e"," \u0434\u0430","et ","eg ","\u0633\u062a ","nie","de ","te ","ra "," \u043f\u043e","om "," es","\u0458\u0435 ","\xe4r ","ng "," bi","\u0442\u0438 "," ch"," di"," \u0623\u0646"," m\u0259","\u0446\u044c ","\u09be\u09b0 "," \u0442\u043e"," el"," je"," \u0644\u06d5"," \u6211\u4e0d"," ha","ich","\u03b1\u03b9 ","the"," ma"," du","\xe4n ","re ","da "," \u05d0\u05ea","\u0939\u0948 ","ti "," az","\u0582\u0574 ","ang"," a\xf0","la ","\u3066\u3044\u308b","\u10d8\u10e1 ","\u0434\u044b ","\ud1b0\uc740 "," pa","\u0932\u093e ","\u043d\u0430 "," he","jeg"," \u0645\u06cc"," po"," qu"," \xeen"," ku"," \u043d\u0435"," to","os "," \u0458\u0435","ag "," na","ir "," \u043d\u0430","\xf4i ","ek "," \u0645\u0646","m\u0259n"," \u043f\u0430","\u09ae\u09bf ","\u0442\u0430 "," la"," se"," \u0626\u06d5"," \u6211\u60f3"," er","ch ","\u03c4\u03bf ","he ","on "," ez","h\xe4n","is "," ya","\u05d0\u05ea ","\u0948\u0902 ","ije","em ","\u0565\u057d ","ya ","nn ","no ","\u307e\u3059 ","\u10db\u10d4 "," \u049b\u0430","\ub098\ub294 ","ai "," \u0906\u0939"," \u0441\u0435","ik ","det","\u06cc\u062f "," ni","eu ","s\u0103 ","nda","\u0442\u044c "," pr","est","\u0442\u0435 "," ja"," an","bir"," \u0432\u0456","nh ","die","\u0645\u0646 ","dir"," \u044f ","\u0986\u09ae\u09bf","\u0442\u043e ","el "," js","\u0648\u06d5 "," \u6211\u5011"," en","ein","\u03bf\u03c5 "," yo"," on"," ba"," h\xe4","le ","na ","\u05d5\u05ea ","\u0928\u0947 ","am ","gy "," \u0567 ","kan"],quadgrams:["nie "," \u0645\u0646 "," m\u0259n"," \u043d\u0435 "," \u0986\u09ae\u09bf"," \u0434\u0430 "," la "," se "," \u0626\u06d5\u0648","\u6211\u4e0d\u77e5\u9053"," er ","ich "," \u03c4\u03bf "," the"," on ","zen "," h\xe4n"," de "," da "," \u05d0\u05ea "," \u0939\u0948 "," je "," az ","\u0578\u0582\u0574 ","ang "," a\xf0 "," di ","\u3066\u3044\u308b "," \u10db\u10d4 ","\u043c\u0435\u043d "," \ud1b0\uc740 "," a\u0161 "," \u0906\u0939\u0947"," \u0441\u0435 "," ik "," jeg"," \u0631\u0627 "," nie"," que"," s\u0103 ","a ku"," \u043e\u043d "," sa "," est"," \u0458\u0435 "," jag"," ang"," bir","\u043e\u0433\u043e ","t\xf4i ","die "," \u0627\u0644\u0645","m\u0259n "," \u
230433\u044d\u0442","\u0986\u09ae\u09bf "," \u043d\u0430 "," el ","sem "," \u0644\u06d5 "," \u6211\u4e0d\u77e5","jeg "," ich","\u03bd\u03b1\u03b9 ","the "," ma "," ez ","h\xe4n ","est ","a da","\u05d0\u05e0\u05d9 "," \u092e\u0948\u0902","sam "," meg"," \u0565\u057d ","kan "," \xe9g "," il ","\u307e\u3057\u305f "," \u10e2\u10dd\u10db"," \u043c\u0435\u043d"," \ub098\ub294 "," man","\u0906\u0939\u0947 ","\u0430\u0442\u0430 ","een "," det"," \u0627\u0648 "," jes"," eu "," nu "," nda"," \u0447\u0442\u043e","som ","que ","\u0430 \u0458\u0435","jag ","ng m","bir "," \u0432\u0456\u043d"," t\xf4i"," ek "," \u0641\u064a "," tom","\u0433\u044d\u0442\u0430"," \u0986\u09ae\u09be"," \u0441\u0438 "," no ","jsem","\u06d5\u0648\u06d5 "," \u5982\u679c\u4f60","det ","eine","\u03b5\u03af\u03bd\u03b1"," you"," ei ","tzen","aan ","ous "," ya "," \u05d0\u05e0\u05d9","\u092e\u0947\u0902 "," sam","nem "," \u0569\u0578\u0574"," men","inn "," non","\u3063\u3066\u3044\u308b"," \u10d0\u10e0 ","\u043d\u044b\u04a3 "," \uc788\uc5b4 ","yra ","\u094d\u092f\u093e ","\u0442\u043e\u043c "," het","ikke"," \u0628\u0647 "," si\u0119","n\xe3o ","este","ira ","\u0430\u0442\u044c "," som"," es "," \u0458\u0430 "," \xe4r "," ng ","iyor","\u0432\u0456\u043d ","\xf4ng "]};var D=class extends Float32Array{},N=class{constructor(e,t,n,r,i){if(this.sx=e,this.sy=t,this.sz=n,this.length=e*t*n,(e=>"undefined"===typeof e)(r)){const e=Math.sqrt(1/this.length),t=()=>((e,t)=>{const n=1-Math.random(),r=Math.random();return Math.sqrt(-2*Math.log(n))*Math.cos(2*Math.PI*r)*t+e})(0,e);this.w=new D(this.length).map(t)}else(e=>"number"===typeof e)(r)?(this.w=new D(this.length),0!==r&&this.w.fill(r)):(e=>e instanceof Float32Array)(r)?this.w=r:this.w=new D(r);this.dw=i||new D(this.length)}index(e,t,n){return(this.sx*t+e)*this.sz+n}get(e,t,n){return this.w[this.index(e,t,n)]}set(e,t,n,r){return this.w[this.index(e,t,n)]=r}add(e,t,n,r){return this.w[this.index(e,t,n)]+=r}getGrad(e,t,n){return this.dw[this.index(e,t,n)]}setGrad(e,t,n,r){return this.dw[this.index(e,t,n)]=r}addGrad(e,t,n,r){return this.dw[this.index(e,t,n)]+=r}clone(){const e=new N(this.sx,this.sy,this.sz,this.w);return e.w=e.w.slice(),e}cloneWithZeros(){return new N(this.sx,this.sy,this.sz,0)}},j=N,F=(e,t)=>{let n={},r=0;for(let i=0,a=e.length-t;i<=a;i++){const a=e.slice(i,i+t);n[a]||(n[a]={value:a,count:0,frequency:0}),n[a].count+=1,r+=1}for(let i in n)n[i].frequency=n[i].count/r;return n};const M=new I({layers:[{type:"input",sx:1,sy:1,sz:620},{type:"dense",filters:120,bias:.1,_biases:"154.6|yJFeZ6rIc4iLuoN/dWiYnKWRU5uFlluhTpann9h4qXPTs9KcmsCFW4OAhvyN1oahz92dj220g7e9kLegbZB7q3StxISGfX15eNRmllK/eXZm1IhnmFqRkNV1gZJ0lceGhMyZkr1W27aEc8bbTa95d3CehKm9m3uh",_filters:["130.6|npSaspqhn3u5jq65k7ahk6+0vXCdja5YoaN0bVU4caiconGadViXz5utX3ygdL+npYpbnLq0lp5+f5ORlqaQn3+JlZ9xdpCkdmBnj21sWaZrwJGlf5+BglmlnYBtjZqnuXaCpYrTlaV/wJOQuIiPmH9/cHGPdY1hgoifsJC2gYaYhq9liqWVgVyxjnmDp6RneJY2cGqLdbR/tH5+b62StnqxlYKn/ayPmW6FlZKYjZ+Bv4GLiK2JZ6iHipmIfYV1nHOPi3d8bmVvhpO1bpBvi6uIZ6OMe2Ggeo6ljpOFkZGPwIKTioOsgYhqiJJ3mJN3hoaec2CPenVplHBxhbNVhGxrYJGJbpiYRIt9ml90dYWPlomvfZGHi3eaiXyISpthZXmFg5d0i8+Qi4yGjZqUi3+RhIZreIZpf4h8enpud4yKUHhzm3ptiaimi256dHFxiJNqUIdpfJNrlYWIkYOneoqIf4CQg2yQd3Nuh3x9fot0g4dqe3ZueoeSkHqXc3Vgn2iXok5VhVeomYObgIiPhqyHkoSAkomDXWVwc4KCfXtpknh/l293dW58lZKeaY92Z3OQeGqLdpaJcn6LiaSAhH2DoIidhn+Oo4Jmhmh5gXp+doqIdpSUf4iVhKaMfIR/pIuDa35vdmtofnpwjnZ8iGl/dXt5mpKhWZd0d2OLdFhXeF2Ca4CMhJ+AhouDkI2ThIGVjHxtjHV3i2x+d3yEep2LaX58eX6Xj65aiHZ8aJZ4aHN7dINzgYaHnIOXhoGkjI+Bfo6TgWB9c2+Nb313fot0holhfnd4eZR9lnqVd4JtlXJtb3mBhmqAhIc=","141.1|d4d3W7phY2HDupB9q2NxeXBplqagf4hkeriOOrsSWpSRc4HNUvxX36VzcTuUQIy3fHDhlWahtXPPW3/FuZqmQVglhDh9nKpFlWpVnIk3tXZOQaRreshvwVmnaGaIXZusg3R6q4bdrm93Foe024ylTX9/fKOhtHxogY+VdJ5xjHuamJSkllp9aWoCqJKnqpFvqqOgVJxnYJKsfI7OY6GuxpFxxIZja8Oqe3mlmoCwnHdzZXSlsXSSToulnYDMkKC9nHavk5lwllFTKJZt6aVot722oW2cpEN1pod/arJ8fGefkYyZfZKmk5Nxj7OjjpyXmpuidrefh2ige1+OjXs5qlyTRKV8cISNTHaxe1RhaniAdZaGdIN2l8OzkQBxn49/qpedlWx4jaWehHaQd2FpioKeqYVUZKSnkKWDlnxXdZmQnG+RinVuf3WYl2GVe8qifpR8W4OKqZSBsI2EWIuHT7CJgcWahmh3onGRhoOXhH93rIyDd4h6dWhugnKubpFfp4Zyd4ZggZqAfXR1f4NcjYR8coiAyY2FdXmIcU6bg5SOf3i6oYFtkH14b21uhpxyolGXqYuPfnaAhY6cc357gHCIb3pVf35vpYhqYJxxg5+Cl7d1eayIe4OFiIVxdIR/vZWDaFSKc0qYg5J0eXiyi7d8i355Ym9wgKtohG2PiGKGaGd0h4qqcn2FgmiHf21uhICklYVnXoVzb46Ej4aCeqSVlXmFinl1cIdulW6ZcaaMbopReXSGipB3ZYOFb4aVSWeAgZmXgmJrh25tfoWRkod2lYukgYV/cmmKZmSlcJdwpol2gZlnhYOLknc=","141.1|hHinhWGse688qaCgtZq6p6a5gLSkzaZemcR+XnpQqMSnro++pDD2MIutgLnTx1M+nH5DXXcBZKKesniydUW0rIPkiKZtq4iznWJ2optgfJ6ttpOefXmONmpeqoyWmV5JtWGBTEyUZ5mAj3mjzXevlICBca2KcmtljW+yqGyemY1llb
23KBn6mxra39pZmBhahvt6jMbHePnF+Dt6+1oHJxSJm9so2vncWJsY7AY3aebq7ViY6SlpiZop+XurldmnqNbHCbmJ14eGupyJm9mJCghlN2s7Kasm6pro+odqSCdqJvoHaAgYybjJqlqqOzlqCed94+dXKiqHR4jpqEkK/Db6Nuuo+elJ6gQYupgmxzdIN3R3Gjzp+Bi26GmrfhfamuYZx2nm50pTVpd4F2p6qNboOfnIqXdalyoHiIaphXdZyOiXp6nomskq2iV5h5wYGIt3WfUoqvfGd5onN5XnakmG51gZBqio+Oa5SAgIdxrHF7j4qsenxtiMiln6t/lXGjX4Kkf69ZloF7qXhSfHd4dqy1q3aEjXCKk6x4kK1HiW+TX3iJe7h3eWiHeKOuqHmOk31ucp92fqWTh2d7eWeDgHV6mJR8eX/Kb4qcdmGMiIGHbn1xcolcg3abeLGtq3p/iXKKkI53jr5UiHCacHWYjZR7eXaJl6KuqX2UipdwcIKOkWCQjGmAemN7eW14oqKBeYOCdIaNc3yIg3iFcYxmeoqUj358fIKYm8GpepBmdG50iGOsdI+Hbnx9XXl3cn+vrIB7gINrhJOMep+XbodvgXN1jox6fXt1i4yCqH96kGB7W3iUb5GGiJFtfHo=","135.2|YpuClWuJg3VYb5eZapiDhqKuy2iNppltr4RtsqOYiKF/rqCNi0ehTpekWYp+/KvGlohfk4bTboqElIdw87Bui3eH0aWAa5q9VW5thYiymJSLvJaWf5eWXV5oqpp3vWyirnGBjqp/bZyA7ZF1Zo1tt36BfGiXcWprfYfDiHJ9h3VudtSmcaCQi6e7o3CYiYB1koNmlIx9iryWhLKmmZSfWpSnl4eOzaGwsWmgiIaocpyGvIV6n8p0Xayal5OZcZhwjni1g3CNio6JsYWhip6Ri46Of62JoHaho56hh5eQhJV0jYGqh3ywjHSCnIWSo61ynaFTeHeDk46QmoiLfZlwapl/iYyR1J15W6Czppl3XoyGmHaXsLGEenzEeY6HjbVpkXKbnm93nqSIh6Z2ZKqkdXytxndgjJqPjpx3l4RNd52EZIeGc3+Jd3Crmolyi4d4nI19XJxliZ5/j4OCjnmCeHJ4fpSceGiEpZOHoneRjXF5i4KIhoJxf5ltooiEiX2DZnOqkmBjm3i2m4WBhoSVeYiLpnp/kaN6bIlqjX6QeJBxfHuYm4iHhGuBkWqGaaKIcW1xeaCAd36ng4iPgpmDiqB5loaufX2qqnlljX6Qjpp7kXRxeZOBhYSeeWCKkH2Amo17aYNuj2x0fJJ/c3p/gnSAhXSAmm15a4WGe4J0c4VeemeiZYyOg5OBgot5k4SVe4KFi35pfnGHg3x5jIR8e5eAf4CCiIKgcIpyo4JraW9ykX6SeKJ1j4iDi4OQhXp1kZ19fqOYflyNc4uNdXqNiHN7kYFpgYV1gZODnXaRhHNxdnGFeIqHl2mOioU=","139.5|YKKer2fxio3YjZCsvcmdopSzrW6QTJWgg8OOwFu7XKScy6yHbT6oSYLw1orn/Kxo0JJAqDUfbN2q1ZyLuIy2fIWG86aCcHClg52Do7/AXdZZzHrKd2WBOJZb5oVnhnJsq4WAtIqqas6p6qCOTnqxq315gG10M46WaYaD03K+3JekiodSn66Ilq6Vl3Vq676RvqjGpW3YaJBxyqqcYhyOVpfFfZ3YgJGZrH6Un2ujdbKKlYGLldidu6O0ypx5d2c0jYytl5WOcJJcwI7ldY5uh4WQb6+bm1WVn5q8nJqFaa10yKejjINZh5mSl7C5lYd0VLJ6iqigmJNsv2eTlMBNk2dkpYyYi5eML6WogUyedoZuVnPC1sCHiZWgmoxoYKynbXdZkqODsUmRcZR4z323kX2Hh42wd5qOiXp7S2ethqqSp411x3h6o7FiiWhTZmymx4lXP56sYGOImIhzSHi6mj+KgZlvip+ck5a2hXxXo42HhYughniYdpS+sG9xa2Khan+qj3dHmnaZqY10gHVmecCAvYh+f4eJrp6Lj2NefVlhp4GYq7WPdqB5nLjAZJtyXp10hqdteq6Zunhwi3J9hHN8soishYB9dY6hdpuTgpt8XVeNin9nfXagfLx7e4N9dHOHnZOGjzxvflpUjoeNjLGDd5F4obavUnNtXZF3eo+SXFGsj36IimqCeV17n4Cfhn53dYeXboeIVIJ7XWqRhXuUjYR6kXqgqcNim3JngGx3mIZycKqLfXaJcoGUaXuvkZqEf5RyhKeNhYFkdntcaIqMlpGhgXqNdpaCmVN6c2SFcHSXjWZ+l4+IdYU=","128|kXSrb6JzycVZn62vYceeirO8ul2SmqJZw1F/Y1f8dY6aXrR+kb2aPIx/pI9W9pmxg3ihbap2nYR1nHakZ6tjnIGZ1GN4ZINlnGBsY0tgXIFuUId3gkGEi3ZbjoKNWGWVYHSAZYvwmnt0pXSeVYJjb4F9e1+EepZijnnEb5JvloRvjrCicI2PrqqggWx8SnxoYGN/aGyZeXF8ZJF4kqiLUoFjen14vIeHeF2jb461jnFtoYOXlJdun46DkIJVb3tzqXGJb3h4cbRybo6Rko6PjJSUcmyVi0mmj4J4eHp9jn+RiYR/foiSiHCcgXmTiYRrclqqcnZkmnNqgnOLh3TEfpK+eZt5oZ10Rp19zE9+q36MioqIq4h/jXZrca6zopF5cWp0fJZ1iJRyh4KJhJF7eIJtwXmYe5uIbYV4cY6VdWtxh3dzj32HjXaEZY2Vj4B1eJSKU5aDgWFmbnaEiYWKjot7f3yTepN2f5NdlHhyVJJ2YnWGfXmNfXiZeqNwipVzY393ooBZpZSEgH2df4aBg45qeXuBXJ15goiLjpBseW5qmnlcZHV2dY59UJt1mXGGmXpwaYqDcXOdfoNygI5+h5GEkouRe3x8nXifoHyRcYd5b2uRdXSJgIeDhXhzkX98VIp9lImDjIeTenKPkXZpdVV9dYp+bJdvmG+Lk3V1e4eHcl+ghoaAfpF8goWEf4mFfH9shHyRgISHdn97cHuAfGxwV3t7gH1pkoCab4l9fXF1knmPdKB+iXd9hX2Bh4GImYV8f3CQepqOgplyfHlxepB0bHFkfnqFeW97dJReh4V7aXuLfJhrjoCFd4I=","136.9|dZRxp3Kxin89vIaIcXOOmG5wa6mJbImyZqrCaXFKaZ1612yvpXWivo+ucmvqAbe8wpqEeTKddcPAconCgopzamikSqZppKaEtKt/lpppdLFosZiper6Zemyln2WarZyp4Jp/YqH3dKN7Qoyy2Xtzcn1+bqibe22ntHpos3XQkYhhnHtvdJ2IkGuNmJWhqbuZlJa2c3hhb4ieyKenqaJ2q5HAipqsgYWJtt6FcWy4eLm6aY2dmFN0soCUfZKHkp+Fe5J5kcN5d29pj4Scp5CheHCNrsSUfoV5cpyxnY6MZKF4nWqaiZCSf3iAjJaCn4+ZsL1mjHiVl3d4fXGLe7NOh6mAk5Cmo3WtplR8a6OJiI5sgXioeYaIlMiEdpOWPJKhZJitg26LqWVudpt6lJh1cYGXeHyscWZrm3OHr4N9i4WKl3p7cXuSb5qVgpp+io+cpV+jn111l6iOjXpzgHiRfop4gqtpepV5dHCcjIeiinSGhoiVfXxneaZYpHuak3iTmIeWhKieVUyXp4ppiHR8e4u2d3l/lGN7lYNtdIaHhKFoVoh5h5B6eWJ6mliBdIuNb2OLo5WGjo9ue6SQi22GgIR5m4Joen+jZnqkcHBvlHaFoIZ0j4dqhXOTfaC+eXt/mXB6knB2dIl0hqJ1dYp0iot9fHR6lFqBgJqSfYeJhINbm5dcXp+ki2V9eoR9kpd1en+adH6OeHF6kmyEn3h3g46MnH19fXqdYXJ3g4x6dJSNgHmGiFhymIiKanxpfnyJf3V8f4ZsfptqeGyYbYSbd3aMd4iKfn1xeI+FZF+ejnx2jn99gZBzaGuWiIs=","129.8|ZI5xfKx7b4y+ZHFmoHdzhYN3i6OWpnpsc1p2u6r9boaZfXl9o5xjTn6DwHZpiq+DiHDAdU2rp4iOnZRfh5CcYmjkgXWQnZJ1w3Cpalm8poZsqJKEgY2MvJ9vk2CWhHF5fGx8X4qgo4tksY5oUYibgYGCjZ+TgZhugHOQcJhwdZCacKWjkJKQmqW1jpGIXZtzhWmpoJGObn6AdaWKevWSYJN0eJKAeIR/k4eIbm+ilYCOrJByhr2OYZeakI2XkYd8nnancWuNjrRtz5J/d3+AkG6lfoR/lnycmJ6CeHt6b4OZfJ+Rk3eAdo2FmF+gmJSUjX3MeJVsj5WUh3OwgX6PoX2si3t5uXZwiG2heJCWpIhzm5KCiIqSdoxtjKdnmqakr5OLiK53katudJaNd6iUi3yFqoNgf5unmaaEf3queZ1ybouKc3y9g2+Fo4ackpaRgmK6hnWLgIxxfHh3l4p0kICIfo2ThGuYhY5tioOBe5F6k3WKhIiJesCMhIeAe5GLbIaGa9WHf7uagnqMfneLiG6JiIV/hoSHa4t6irOOhXtqpHmVh2uNh4R7sY9wi358jop1dpKFiXCYjoV5epeAeaKEgXuWhX2JoYVmeqeFm5SFeHeSeoqLgHmFh2R+n4J+iomBbGx1i6qVhIFxk
23HiMeXKBh4F6kI5omIaBlo53fJh7mIhtlIaBeYx7e42HfHuLg3yAiIBtcHeHl4qDe2+We3lwdYOFhXuSil+PfoSVlXB2k3qhgmyEiX16fXpsi4JtfIx/f3iVhF99dZuNk4N6eZR6gXlkgISAfId8c5KLgJWReICMeaF6eIqHeng=","144.9|r1mIzk6ec3hHRWxWsEt9f4KGX61wkWq7iXoywUgzp4dix2ZILAqhEmuScOGxWTM6jVgigdilVJFGwFE8PDiqrZ+mAH6Nppq4cbyEfnm/ToqvxI2ngJdXNINRhJGZ5lFG21F/nU4vVpt+u1pMxXOoq32AjrCSWlqtb4mFrV7CaFNmYpVqnq+ai4/skJScTV2iY3iEpmNgoX6Utox4aIJtOXnHgHmyO1Jzo4CFjplSaKydiFpbcneYWIaOfaOYlpxYZpRseXCPZ2Wry3mKWHNqai1le72IgtqCgoGdWJl1mqJlgnpzWmp7a5Z/oGichLucq5sckFZ9bpVie6KHc7DNa2lbwIhtdZGoy2iUd9ltSmOVlmuKeJRZZF6DlJiTlnN8mJqmiFWRkEuakZFxfpmPcnxqcIZaqZeImpyKrYFQjqd5W4xuYom0ZKWiZGeIomJ0hXSvuFpPcqZ4noaOrXB7r3R0fH1nhWWcWoNnxIeghV6Ng4CJhnhkiKxMipuDd32pWX2firqwVWt1jG5SfIypdH6xuHh9cliHcIZ1hL6qh6ZiXY6jYJuScmCEqU6eqWN3c5dmXlxrgZBjV1qJanV6iYR1gZqQfH2tVohmj22BhoKJnWJkkJFgfI6Ld5adoHt+fGmEa554hcymhKWGX4t+fIiDdGqKmVGrq4ZsmaJqcmpam6VZW1tqcneAhp92gKKDeHuIdIVvlXmHhH+KnHxjiKN+doJ5aIWcXYKhYm9gh2hwY269ilptaINxb4GHkHlvsI59e2ZjhV6HfJCNj4OhfmaQm31rgXduiZaCmpOFcWSKWHNnao2lZWdngHU=","126.7|kXXVYoZuw9JRZdHaj8rQ2sHDyYmHs8B1t5Wxo1pZb66PYN6Zk6zIXLNcmZ1xpqmRWo1xaIJThmCZoXVhp4CNmnWemLCFiXCVcXWDi7OkYGRxa3plgYyAY3txXKZ7Y3WHTqB/XJQBhmOMeHJpYX+NnH+AhIl1enN4wHa0ZodtzbhucZeki6+glZdxsYZtyH53jpCul3CIc7twcqGTjYa7Y7Jsvo5meY64VZqqa4IvhWOhpYZxg42Ie5Gmm5iQgm2nnHyWjKOIcmJwsYVil6CNnLCdo1acp6O5qaRijqt9gmOBZ5KvenZsh4iFjoefmKSEZZ5afqKKqo9venWAiGB3gY99ooyhLqORs4esn3qGkX2DaoVdq6B8cpWahpBYq46IlINpom57nItvgl6Eg3yZdX17hYaAhYSfhpSBYJpqfYSIkod2hnxlj3l5kI5/bJePa6JvpIt7h3CZl3mAaIN1bJF5fX+DhHh5momxkIBplHd9hYSng3uOe3mcZ4R8i4ybcn9okl+hhYuRYoONfYFygWWLknt/gYiEhJKHhnWUgWmVe36MlJKIeJF9hpp+coiHiXt2iWGQg4Cdg3t3hYiAhluAaH57fH6CfYR8hpWFj6KBbHp3e4OEfoBlgoOSfn59eoSDeHeFhGuFgmmld35/hZCEeIZ6eJuCeX2Jgo54fXeAc5uKdH5nhYt4f2+Cbnx9en6AgYF5e4aCgZKBa4B/fomEnoN7fH1zlHR4ioh4enJ+bZWFh4p5gnqFinuSdIJ2g36AgId8gXWAhYeMhH9riHR7ioOQgXqGfXh9i32FinR6coJ2lXmJiHWFeYE=","143|UItlqkyfg6jVtl9CtUhyc21tabKg0oWTsEizfrOpXJesc25ytIKaLZSAjH1pCL7Sg3LTbEJtVImNt5q+R4mxWHSbRFONqXrVl5CtYz17poxYt4uOfY+Oq69diambcmijXlN7UM1ZV4xa+JCvsHauzYB/i7GGsGaJtGl5nGKjVHWkmaaLnciMfmTZpZd8V4iIlFncdZa1YqiDgKaZcYV9RqWEmJaSW2ShZLB1Y2tLZoSGmZyfmkCZrKiZja6ql3m7kISpY3aDj5NempWTrHh6e4uMm22PqLNhn4N7ZYJ3a4dimIGQl5CkiZabs4+nn7acW8ZehZNik3aYkGSzmXiyanq/m4iCLGeNxV6QvIWNmIxwjGd9SpuVmZWilvzFzYGzqp1luGCClEJjeHdtnq+7k4KLkIucqqKdjImKVZechI1pqX+NmXfbn6Gbc4eRunSQZke+tGaCoGV4bnR1lnKZnZ+OgYloiKGKXXA4u4pepWSCkXCRfoWYd7uyc6CLea+UYYJ7nPGmX7SRenNufnaUc4KMxIaCcG2JgIZjdtO7hl+bgIKbV4F6iZt4oamJm2x9b49rgT+ViImDh5ljcGB9eGp1iHCthoCmWYm2m4FvnKuHZqBpiYpufHZwdp5124V/gWyKmn5tc72RhF2RaoiDcWh+iYl4kKiUroyHjZZtfHI/rKBiaphXdGN7foZ2eXqTh3yLaISYeGl6l4GGZ49pgZVxXH6Cc3qdnnmpa4eLm2xzZF+uiFx4nXFwYnleinaDhpyEgW9kiKtub319kodkkGuKiHRgg4WKd5CCno2AgY2YYnpwao2Nbm2XbnU=","132.8|jZRwcrF8lHVCV3JxZ2tzhn1+YWt1VoCyfD2OxKhbmK9tqISQey1+uYuOT32wLIttmJSfkj56qpGVYoBVjYNoYot0I6lsbJehS6y8XanBooqgt4l/ga6SdLGminl5iJl1uX98ln7yp3d31IpcbIVpmoGCcGyPc2ipvoZcf5yBboRia3CabqqQalK/knGXi6uetlWJp49akJ6PiZ20m7mfpY2Sl5l2kXeKqbZfj2zOlZ6gmXpijq1zoIqEhLF9c5tcjZBuZZOPi3aen32IoneWY3m0nqiShkl4YoGWl6OTZoyahKmQfnGbl3N/iZBupJtxppZYjIJbi5OTcpafcIZrd5mimYZzu4a1ZWdzeXupq4dqdZKQbNN8a6vGdPymSImjdnChi3GPrMGHcZCKa5uIcXyxXHqelmptno56qneMi7BsnY6Jc4a6ZmmKmYVsbZuCnHKTamOSgo2YwoNzdYqBb3JyfZWTeJKKdWumg3qfjW2MnHSJiIJshbZSl1qBjHqalm2Gk5ZwX2SPm4mJg3VziISeu3l/fIh4ioxlcbF4ep1qfYiHfHqOhWSEpFZfXIqJYJaMjaqJkHF9kISSiamEdouHiHqlen2EmniPgm1wvmR7mJFwjJCHhHaShm6annp/iIp8j4Vtc2hte6Byc4mEcaSBhnOFlldcWoGGcY+JfYNSmnVcY4GqiqN+eX6HjmGKeICCiX2PjWx2lGV6m31/hZRnrIOFgIOlX3ZihoRxmIqDjHB+flx1f4aIo4OCeYSKVJV7eoeUe5Z5dXKZZ3qbd3OOlHSUgYNyhpB/YnqWh32TkHuJcoBgbGZ7iYg=","141.5|hZefcWKdepxmon6MXoOXkJiutLOTe6hji5toVGLkn6yFhGpoQpSR3JSjxZ2WDcPfoZQXstQAZqdWXnusjLJlnIyJZoh3qaW/jmO2jGFTZKGiw6GJf7F6kcijtqViW6DJarSAys/QZpGBCIufcnFipYB8eK6eh5loUaJeiWp0q7Ftj2gbbKeIumptgpen1JNripKDZ2/Cl9CndmRtgZqNvn13op+HU4CwgZKEq5i1b3t0fWaRbpFuUH+Ih6iam6OetXN3jJR0baabsoydMJxxv/SeW3WlnzqOjZaClbKKm4Nwi7+TbYpOWmxPsHGDm6CbpJuvdKyPc29vk5iCinhUsnQqe395lJGDPFjJyEiziXyUVXCRJmdvjKNwcDojWZVkVZqirqdymLuoj3hznV2aeYFeN3denI1ggnmHo4GTdbKLaXd2s4Z1enR
23/s2iYbIOJoMJ8TFyLgEyQhZGNTneUpIB1flZad2Cob3R/joaXoJV0lYdoeHikhZtlgm2Kd5d4o1N3k45VS5iihoungotcd5FojXyAhVB5UUmMe4JohpmVpHicm3VydqWEnmR5ZIN5fsOTea6lnYBSg39piIeAjHN6jmtNe4JrT3hSoZd0iXeHnLCPdmqugIyBd4BhUHt+i216YIuAenphg5l9k3ichnp7d5iFnGZrSo5wjnyOapzEmV1OjoiLioKGhV93iHZsen6RdHpniYZ8fYiKmXuceXuGZHt5jIWJaodZiHOGpJNvpq6CdVGKiG+Knoewa36afmR8f31geVGAgHNwa4iXh414l4tzfnuRh5GHcHyedYOcpnaeoE1mYo2HcoQ=","134.7|eoliy13QX4VNiHl3oG1tfXh+jJKIr3Rcd4yomVwXlK973I1qYVHCRpXEj6H8dtuCuW5lm0XHYbeexHeHu2Och2q3Zax5iZvMYGFegsuWW8SVqpXDfrR/VkdrqbqEwmh2vHiDqYA5ZciWwYGEhHaax4F+eIyZb3RipJNqvWrIkJthhoCLkqaTZZe0q4SYs65rm4WmimupkH+T2LOskKGGVq3En6Cvf5Gcla6llGtYb6mupXN/j2+MkICShp6Thpyyh3CVg62GcEeSs4KFnZ2DjVeNsaKgncGeoYejbqSNaoZrqYe8dYGFjY+LgZ2PlIWJqM1bcpmFooRtuo1+dal6fIl3uImZN5zAunaXZK1aln5tkHKewZ50faOVjLl8gaqbe4WesXhytHaXc4NynaO2cH+Zf4WIb3+DlW+Ao62JdJ6DsYF2mIN6cpmVonmFgoeRnIeErHl5eqySnIl1XHSNfZZ0f5pvh42LhojJcH6ZrXh3lYSygHmNhJphk46MhIeqan2amW6hdHeRhnl0gXZyd4Cxl3Z8jHKFmZBuhI+EgJWQZ3qUicWEdZeCj2WjcZGBemZxjmualaSJiISPdn+Bf193dJiZen2rZoeQcXeCj6CBl3J0do19gXaGeJuwiXuAlHKDinlxhoNTf5qofXaAg5+CdoeEj2OmfY19ip5zempzhZ95boOEeHuFdmd6hJmHeH6QdIKKeXSBi3OAlH6FeZV+p4J9joOaaYuGk35yZG6BY5iYiHd6hYx3e4WDb3h9qIt7gYxsg4x8c4eXdYCRgnR3mIGPf3iLhY2AmnOifnJocXZqnX2cgXOCiXk=","128.7|fXGBo2+ganWgkqeabZiYh5GecpeUZ5ami5bJa2f8aJeam5CikWeSrIqWT6+Kk8a+koecZbhfb5r3YH6XwpRsomuDsKuHlIBuWaKKjb1qa5RkjIiaepR7ZYaaoGVqrZOsjGt+Ya5ec5iLq3WReYJuc4CAh5mDfnqeoG+flnaQjXWFhdiIcoqEeIiWtIl6xtWWqY1wbnKPbpt8i5CudkGln5WRnJGiy6e5mbuJbJGBd5mje4yRo6F1n4O7tIHAiXdzdoqTiaN7dK5kuI+PxIp+haiSk5uHpqyIgKCPhJt3k6F6gJmihISTmXSUmbCWpJeOcahzin2Mq3Z1hWyHipRTaHuanX+ksIuRqo2XlLKDaH2Og3mJsLR/jZuxdrmQaYWsmox2nnuKnnBziJp5j4meg3+ueniWfYi1qZeCa2iriJuHkHt6bXl4j4l1i4JljpKIi3x2oJGTl3yHlXqHlnl7dWCAf6KFe5CTlYC/hYFwmHuHkYaafHh9eJKcjW17e2qakniZiWabim6aioBmfIeWe3uWnn5/koh6mZhyf4eihW+Sg4WhlJB1eX96opqNa45/ZIiJlJF5joebnIRpfnZ+iJh8jHiQfX+DjHuYapWCqYmAbpV8i45ne4eKen2bhn9/joJ6j211fX52gHJsfYeHhJx/enx6hJuGdXqBbY6Hf6FQh5WReIdqgnZ8hIx8hnOIgYJ8gnyNcHZ+i4eCb4KChY+Jpnt7eXqKlXJwj4B3fIqAl21/hpCBhHR/cHyHjHxqd4t/gI+Ge5V5d3SRgoFuhoSLiISUfnx9d4J+jlyKf3d9jnqOc2yRjnyEc30=","131.4|gZNwX6pugHm/k3ttoHZoZ3uCbp2PoXdhk1iPlGzCbZiXcaOWZo97P5SM4JdvFi1QjoxZozbaoYd/nI2PkmickJL8MZ9tmnOCvGOvZmGSb4hlYX5zgap5b7NjjZeJZG1WcK2BrXvYoIV4QJSObnibhX+Bb513eJhkWY94aZRbeYCbh4qHkq2YsEjVhpBwWpNtrmR+jHaRcplyaKSla5OLTYljg5Zoj42QjZaSmmnJjnmhbnWIfnmNnml9eopmi2yeuHVVbqaFeZVoiIl+io9rgJygknKJjz2YkWmDkIKBZnCUibSDhIRweo96hm13hpeQYaKcc6BpfId1k2uEjHOesWd4tYR1vIuoVGd+f2amhoNtmI2CZY2ChqenjbCemHaZWI9klKF0rluWcJKJe5h/joGTkoSYk4xQrGeEXZGkdcJxhoR8iHqdlWCIo2uUpIaDjJanW2iRbI2FholwXoaBvJGEgIV0hI+IiGaEeYNndY94kHSFgX2XeYinjIaBbZejZFWBlqJkZIh4hIVwf3Zjg3qMo4aAh22Fcm2Naa5pgmSQpnmDeXqIe5h7bKNonoFygqVxbrWJjGp3eG+QiGd8eJ6Ef4pnhH+YaoSKfnRqeXODZ4iRdn11fXWOhmWNdYCAiHyFkH6CbMtbgmSkkHeEdHZ+fox6dKBYpH9ulJZxaZCKm2hgY3Gkh2uEe2uGgotyhYGEeIOJkYZziXmDan6UeY9tZoB8n3x9mHCThHJzlGlxmJ2ueV93eoqFaIJ/dIN+nnGAfn5zgot3g3mIbIVlf4x2oHpngXyKdnh9aISXc3yUcnyQon9kb2x+i4Q=","132.7|kHiKjK2Cf5K/XIl5ooKlt4J1YWiYbnduaa6YbawAhHCMrXSCU8J1sXOMLoS6VH6siXa8i5uMpna8OXhSKJSfhGZQXWuIap1pf3CUmItwo4aKip+Jen5nnpqYe118pZKhs2R7oKRhpX55XXhdwIucXICAiGqamWluiomJfJiHeGaZbYmFkHFkrKVeinOflq51W528e5RyhJOknYiGXHWQoX6bdpd0elCGjp5tkoh5kIyReWxkgrSNnm6VmICIcZaMY3eEkKB7jkqJxo9ylGlfiIR4g5aPg45Of62FcXV3iXmWgoGBc3GMjI2Xh6mZlJB0lZZsdm6Zjn2ViYaci4JefFmzfqWxZ11fbFWPmI2IV3SJc5CCdoBybJt9jY2Knn6Fj3OVg191hnOXhXaKWYB2i3qLkISXd3S8dLt8lHeUeWmMmnyKgoCPgGtVYmJ2bnd3jEaYcGFin5Z4foeIaIh0eouHfpeTg5J7h4eOoXuOk215eYyTfIdzgIt0gnSFaoaFlIWKgqF1V36PgndsfIV8iXqQeYZ6qH2Hn4aKh3iseo5+b3l1jH2BiW9/mnKAh2J0f4WJfXiBhIJ0g4WQeXZ5iXGHbmxug35wrIafhJR/lYV3j5RxeXxseIWBhm58iYV+ko2CkH2OiGjFeo90bXluioJ/iXeAf2+HgH9nd4WJhWVGh3ZaaYSFd3WEgXSCgWp6hX+AjYGQZ4qFg5R7jIhre3KRk36DfYCMcZd8W26Njo1+a1ltfVdzhI15YoRrdoGCWneCfWOXgZt7jHh/j3uNjHZ7cImXfoN5g36Hl2R4b4qLjINxXIWKZ2+Ii3g=","145.1|SGmwpL2QxsDqe8fNTPzNopvo6V+WgLSvuauLxkGAUteksLCXma7Tq4eil02IzaHKopkpU3TKsJeFnoR30J1QcWMv3opvZmyqTadTmbXISJNMmHqZgYN0VViMp5ZpqZiy0YaAQKHzsJeWyXN8UXpWr318c2R1YIGjbWe1kqCbpYKzgnKcYYuJc7UnjXBo4pKWvqCLqmB8WZxylafHY13VoYeonnSZp8jbrGa3WIDHmKJ2eoqCvpJnfYmiopN7bmU+1I6QlY+OZZFLbo2lobpppbieabmsoVq+jGSjnLZlgJmfqLqNin5gcWSAf7aDnYJuSaBuja+Zi5VfjFxmmayRimVXVp59xqWdNpGWvX56bHyDopSmnZKOgaC3ZE1ZsIdeV29SnYqHsWhjhJ2MYUiXloB5qnKFWZ+VoZ55Q3hPiK6SiY5yhXQ/pYiJm3+JfZp5iaM+S5WphZWOnW2Eoo+ET1+SfIZ7cHhtoZWlgHZRlX+KnY6Ih3VodGa/kZt0aldnkmiilD1Pl3KGmYZ3dYOdjZZxiY+AooR2e3CRjnxweU9mfISQm5OTcGB5brmCl5x3imCKgox9c3yKk4aPjGl6i5+KmYefiX9lcXR8go+MaHp5WIGBi35oeYGeiHlqd4Z+j3h2enWLi3uReVB+hYqjjbGAcXJ1ird/n3R/lWiIb3N/TVqbeYmPi2d6f5iGjXSRjH5zdXd4XZGJVYd5W3mKhIKRmoR5enZ8qZiann9mZ5Jye49CcJqEkIaIZHWmkYWKXJGEfJR1fHeEg5lraXtYeH+KmYipgHl0c4mCj3yFemtmlHV7iWJ8jX+SiYQ=","139.8|L4l74G/ygqnJiHeKa5aQnoWhqK6vvZ1xf1WIvGrpcras0JmWmMPEPI/ZsYnChZnXzIAzekRFctqWqJGEk8RtZWvym5xzpZbaYHGlasW1cNFznZ/RfJqDVJJr3bF6rG+lq2R8bsSdcs59/YiEXYhux36Ec6mXjJhxonaP0nDHoJ+niH26c5CNg7KIspuM26p1oWTHmnHIc7OPuc20ZFrBUcK5oqnPo4S5p5x+dWuXeLqmwo6ClsBzep+jo7CjlYbAz3upbq+Ndapz6KDJsrFvpLe0vq2kv5OXrLSmdbh2a691stDbi4R6nHWYsKe1x8SZfMWaecFpy5B0rneykahQqGt
23iqZGNeY6FjGG/s5mHbIRvfHirkPaOgarLddhvnbCYW5h/uql40Wl1cJJ4tJHikICkn3t2iJSfrryFc8CzfLhuoIt7oHyyk6mLr3xjYZeInXWLhGlysnCdqnx2inidbbCKgZuceHx+ipXBpYh0zpR6oXK2hXiWfL+ajW2SdJmnZnahhZd/X5S1nXqMfHSPepWU3It8mIx5jrWBjZqOiXSRonqZiKCIepd9k5yheZB2b31wjXmMjJeal5pleIV9hop5nmy2iICIpXd/koyIupKHd6KTe4hmfHaOeqSLyoZ8jox9eYd9jmyUhni9k3qKdrOGe4t9jpqfco17cJxyd4tNgnpjaZxjeX57eYJ5j1qfhXyNiXt7c36HkH6Gc5SgfohzvoV9fn6blI90jHpvjGtwgXCBfmNznm55cn+BhHuHVp+CfImZe3R9e4qgbod1jJN5n3WkfX2JfIuCpmqSdnOGcXiHc36Oa3CSb3k=","136.7|dV+fvZ66mXtmoIWgmpWjynh8baR4bZ6iX6qyklD9WYlqtZl+R6Joz4Sub1mD4zx3np+BdipSmaiUYmGkhY6WR3VJyWaLm5lSpZ+PknKLVqFSOoy2ekxkhJycvWaHyqGCl4t7kXw5lax4QWacQ4aVSX97iaSPnXKbm4KEpY2a54Jnj2qRjHB4lqYrepCW4XGPvpW6gWmiY66RlJyQbUeNtZ+vnpm8WnWEn5JihmdojqGiXGiWl6SKgHyVpY+okJyRXoyYjZiGbbNYWXqujWdzlKWhpK+ApK9glJ6YmHt3Y7CNiKOPZolWnYqNjYOpioqWppFxh7KQhX9llWOwdaBGiGxyeJWGp29biJWvd7mfUGpsgomal6xkkZbEiyVZhH2riJSjfGiInWWMdJqHlmxteYJ2iIaDiHmfooyHqYZ+h6aIfIJxfXWQZplDeG5jgamYlnWnhJCZqW6BdIR0noeFi3t3fpqMg3lql4+Hl4SgiXeFjIOjgnd9dmVUjGpteZSHnpSnaa18i3+Jkohle3WfiJJ4rXh/iY6GlaqIh0CghaOLcoOaqXR8dX16d1Wna4Z7gYGNmIZ8mJSWmJBpinB8eZOBoXdmeX9yoYV0e5mNhpWDm592iodveXOLgoh8mXyAeIaBeYqOi3OrgaB6dYaRhZaBdn12YFifamVyYYiLkptwlHacf4xch2yBeJKFiXx1eIFnh4N5Z4eHcoOEm45/g36Rhn16enlnYY1oi3WKipCLknhyfJyGhXGLYH+BjoNyYnN5goWUgHKBi3JqjYSakXeJkIuRgHqBdWuBplhpdn+FnouPdZaiioOFcYQ=","137.7|aZySfG5tgZlHZqGJtaOVhXusfbadnpu6xIyhwGypcKajo2p8a+5ry4yR1XxqUGmzhIFCquXEcHJR5YRjPX2unXKveU5nrHpC27JpgzO+an1xL4eGfoOLsnahnXCcvZewsmOAt4GXcYJm6Y9pvnewYH98bLKAnZivSZSedHBhlFhkcnhwmomQtYNCb5pzhXeeZYhuo3NrcY95c2R0lmSDs3+ZeWV/km6HuXqYoZrLcp51b3xzfDCWWmqAZJVylW9trJFnhliOd5lvPpSZZGmMmZSAfLiJf22AhWWig4CWopdzgHZSfXZ8aZhfaZeWbXmgW3i9jXCEV5N0j3Zhk5OdkJNcU5xS/V2XQ25Vv6KBeIaZl3aUN3l8dHp3l2VzpWxjSp1ncZOPbVyZj657TF5tcXxEg4hfaIpZdkqKWFh9i32FT4t3aHtjn1tzZnuQtXtvoFSZUXdcjJljdYmPmHZ3i3R1fW1qimJXaYA2eolhaZKKdYGJhndof1u0qZiCippZnmexjJhXcHNto3t6g4ydeYpqkniAfWuKUTmUemt5hWCCi4hwYmyLeWV8Q7B+s1uFgm+Pbbdre3eCVH2TgVKEhbd6lIKueHt5XopsfGV4an2IY5SQj313hIune0t4wnl/fG+FaGqOfcBhhGBnkIx5hGmCeW55XKlzqIV8h2KKa44vkF1xXn2RgWWDhpF6mJicd3+BboRpcI2BcHSEZIN8hI59UIJ9i3tcqIybV3+Mf5xymll9cnNxhIh8XoaEiXtviJp6fF9ohVuAhI10aoVjgY6Oh4Bnf3lxfWiBnoR7gI98kHuOV4+KfWd+iYE=","128.5|cZGCmWqPe29Gd4CQaIOJoIyKhp+QYpCleLFzrmMAZnGZnaVxb2SNWnWdnni3qsCwkZSqm22dbo2ItH11aq1oYIablZNvmHedd6GHmaCsZZVhnICUfXGMeXBxh5eFhniXs4t6o5mabpV1yYl3XoppoH+Dc6B7dHCdkYyEqHGrenZkfIK1bX1/fKeSio9xe4GTpJt9nG56bG94u4CLmLhlYI2rj4WTgH5zlHxwlX+Gc5qGinZ9bdBzqJNxlXVckG98XoyGk3aKcU1jjYqdgnOQf2Vzhpp4immAcKeelIiTfIl0r3eRfHyPjnGZjWV4pHmSZYheiH+Zno9vkmqniqd+b5WigJWqWGyGTnaIi2eIpIV+e3WfoKd5e3J+ctGHbbp3dJJqf2yIiaiLgIR3jZ6QcICScHijhVSJcG6DYIt3hmWPool2l3iulaJpjH97U3iEkVp8WHKkfp2WboOAbnaiWnl1foGbeZeAYI+WXINmn3aIi4iYhnhzeaejlXlyiXqKcY+Qg4ZeeYCvl4iGg394fKOIgXh/kJh5mqxojJBdiGaGY4ZnrXSIeW97d6CgXYOEel92l2+BfJ2Ioo+UipqEem18jnegeoB9rnadj3CKqniDaHBxiW6IgX+ReqaJjXp9jpJ5lZBtjFtFgmaIeoV8iYyBeXx5jKCianeCeIZ2iFubdWNxkouXiJGBf3V7kGiReIB1jnqRjW2Hk2uDaX2Fg16SpIJ6gnuSl6xyhIF/em2JZ4V3dnGFi4yGkoJ5eXuiVJB7foCbfZ+Pco2VcIVrc3OKZ4yQfXp6d4mAinx7gn10cn1viI99dIeOjok=","145|jYZyqJGQna0/bYKbWZlxmpy6i1d4tJq0SJq9XbxEpKFsdZFpSrubznR1snOBQaSLcZWboFxAjnikr2pvc5lejVn8cbOQXI+Eiq+jjXRctHmqboWHh5NxeaCxa4lsfKOSiXCAuqd7knF77nlySYJjkHyBkFiMmJqsf5unu4W5h7pYcIWeaJOQtLG0nmqSsbuijZM6bZxznL2HmKWNiqrMtoaYlqSa5JWfbL2PonRghoyonmRyaM1sZ3ydloWqZZiLypCNjJd2mWWl5HanY496oPGmkIl+m5u3mqKRj5SKeJqInu7EaXeGimuZknmJspNppXmlkKONenCbZ5qNb5OnoX+vhYmMRoGZgE6mt3Cbknl1cIWIeLtueYahb9VBym2Pu2eemKeRq6+hd36GjYHGb3uAmnVpc6S7s7p1on7gibWKS3aPhYdtaa2NunB9foVjc4uOfl1+iGl9jIt7noSjnX9zf2KTdmqOcoqKinibipWNnoabeopth35bhKaCgH97oHSFg2GAXZiqkIOjf3mff62Nw3d6mHp3X2N7jrand5qdsImao3J1i2uFq1qZiXJ/cZuUcUx7pI50fntxgJeCgWOClY2td32ApHRge5p+n455lreUjop7fn2Bf6yYwHt/lYh5amhxhtORd5mPkYyJh2t+jHWHd2Kkm4F1g3eLd2k5qYNTcn9sh52EfpKEin+bdoGAiHlqY3yJj4R5lJSah4eDfHyEZIZtZq+Vb3d2ho5vZWuPf1F6f3KAlIiKioGYkJh5gnKMe1l9dqOZj3qTmZKNm4NjfIR0h3+BoqeRfHuIonlqamyMZG+FdoI=","137|jmmnZ1SMm6Q1bpGBl5Gopp1UvKGRw5ZQkm+wjlGPlI2bdbytPeSVkKR7rzmXsoE+fWL9kjYcXIDCZVxshmGTXWSOoUp4mXJyklmgdT6PWYOVc3pzgnlpoauMfIV8XoRaRox+qW1PXXhhKmZwqoeTc39+ep11iotano9iaGhqjq5fd5TFjWCTmoiQjpBtSLtngXaeimylkYdzdI6ggNqRj5tejHBll6SFaHWJmGtibmtXjltxvpGMeqKJrnZjkGqlh3OseH6DcXmRfopkz4t2mqexm1CLfJqhknFgZF9+aGFpboZrYHm3nYqIc6SSbmuWXXuncpl2goZogY2GjFuQcHu9V4SVRoVsu5aMe3mMk2xtVW1laVBkdYl9ioqjsZC8oZBjdItyhZmZc2NznXpfcX2WtIZ5b5V8hHmFWo2Scnp6kINzkYGRlnmMYnGqxLSefpKArZyLemd+i4l2WHh6jpRzf2+XhIZ4l4BIWINhZox1gHx0gHmcgISmZYGCgIZajJdmdqOoqrhTaHV1fHVfd2NcSHd9gJmEc2yGfJldhGCKpXh6Y0yHdKGCZ6hrloF7vZmEjHuQY3iffHdocn19cmR1ZWhYeH55mYWCb3x/dX2EY5OHcpKLfnVqdoZYcXp+gouDhWaFfZhrhmCKhHGGe2l/d4+De6Ryo4Jzn2qDio2ofZ+YjnZvdXqDe2V2b2Nud32Bh4KHaYR7dYWDaHp4eIN1YH58goN4nGSSfnaMmo2Lf5R2hpqDdHV1coRlbnx7Zmp9fIWNgoh5gY13e4Jme4h0f3lsf3iOgnZ+cIR1eoiUf4yJlH59k4x6cnY=","132.5|YY6OpnOUoYBaoIuZdIKXtpmjoXSMdrF0lKmGbqc2krKAqMmno2GoPZGnhY+5j4K3nnhldkLHdZLBmoyfobxxcZ20fpptdJhYh3akk61voqWOWJmfe72YZJxll2uFn2yTwnh9Z7ahdp1+lImXy4l3YYCEbXOXb212r3SGpHmns2lskKCadpyao4CAm3eWoYt4mJifeJGIjpWSwbXPmFiAUJ+1p5CYh4ONppSTcGmXeqScmZCLrbh4iq2NnqSRepiGeHuIj5x9kWSMfIibso6ZeJucs6iTknKRfqerd6CIaJB6uJifioedlXeLoI
23ae1Ll3pLNXeouRtnuToIigfKtXj5xyspyNbIqmUHabt3iRaolrl3ulpf2GhbW4ebOtWK+VXXegk196tXVvcY14fJtsdYLGjHuFrGd/nYB8m39jepuLnXqKlYCZd5GLkI5leoSRlHORV21wmqaIp3t0eXyVgZZ3f7SXfId2hHuipX2VgnJ7kIaafoZ3hJprnGSejoamZIedjZFeZl+omXtngXSKfZuN0Xx/roF7kqxxfmqDfJRwi36Ml4d7iHWBZ22daZeLbYpvoHJ3g5WQg5SYfHmCgXh7iHiNfH2gpnmQl3d9yX98kntwe5hxhXWYe5CVk3uAsIx6g593flB4fpSBc3qFhaWAh3uDcG6bZ6GPbplzgmNdgmRpX5GTe3l9eXp8j26JfH2hi36FmXWAjXB9jn15fZuIqH+BhYF/caxij4p1jm2Ia3eOdWlzlYt9cHt6e36VdYp6fpKVfoeJd3KSaoCOenh5k4iSfYV8gXCCoVCjjXaMZ4JxepGLc2eRjoA=","150.2|icZ7m1lZfpSysXqar3uSn5OYg1eAM6Rccd1xPLYHZH5sd5JWq36bxGZ0q25oTvHWdaLXp6P5YV6ttLO8XbGmQ4pVUmhuWqGdjF6xsXw4rnJbdZN6fY6ltrmTaZxzfqTAuIR5kLzkYHVq/bWtYIaknICBc1eVkmhhw49Lk2atn5OUmXCCmH9/foZHgmmisYBpjLrDTJVxbZCfqGpolII8qo2ynJyBRGhlmpRkiJGlbJxqbJ2iZ+OQw4N2n45Sap2JM3BoqIpsjFNcOn2yfFyNiZ+IjZ+LkF1QbbKgpH6Qio1pxJeSoY5ui5WYnVqJvm1nqIlwcX6xiGSUhGW1e55XgY2vZ8qgXWBsLFx94V+ytpyLtW2gZsGgm5dNkNV4Rrl8bGmlklpwgb+GipNzXpWAh4KJNonApySKYWx2rYKedFaZ0W6GmHOqaaJLqohrN3mNdkV1PVOjiKefOoSJtnaqWIaIf3eHiKuOQoOKfXijjG53dpShd4Zed5VWk16DfZ+BmZGbhI9KSY6ynY2MhYetdqtyhoaAo4OMnZFVhXlgeqJqe3hK1Vptilh6aFSUMIGAa4KGpE6fkpZUrJ+WkZyFeox3qlS4hX5nqYWxqXWDyop2ootodmKbhYWedpZ6q4KDo4KDoqBihTV8eZ9ndHZrknN3hXZ4eFWfPoCDY4KElzmjhFBLm5aNjZ6Ah595j0Cgg319hYafmWOEll12n4KNeEadlHqEcHuNW7FXgH+SnYKWVHxhb0eKi4mPnIFnkH2jLZ2DgXeTgrWIanl0cXedfGp1RJqTeoJtc3yEpm2LgJOToIdbfX2BXJKRjY4=","141.2|bomKrLaUZX+EWHFyrI6RkF2M0GGS7Gm0dJUxs7aaZZudrUZYvOdysXGUOVeIjGh4j3RTbNFrqowubpRTnVGnbnghZ1OPZGzhNbBPiIyzsIxeqnuagImZtFKOj65psoSHuUN8VltWpYx3/IdfS3Khxn5+iGV2u3amWmuAm5+eoHyIbDJwlId5TrYXjmto8EyZiI+GopZlacJuqox8kEeVpJywbXKma2ugtFFrZZl4la12oZpkYXaQS4OWhp6hcWbCrJKqinWJk5BkpY2cZpWWs2aUbrebq79VqHmhYoaCl6ubh7qmlHJJZ5N7kKKjkaNwV5aMjMaKdJSbamp5ipuysJNQNZeKpoBTxHeYvcFbHouZhJWEWqWRbXOijUhJ3HJZgnBeuH2IlV1pjqOIfkXDgXpViohTiaykfLR2U7VLi7SEdoqMVHhTmpCEo5OKXX1uiW9EtXpVlp6GaXeProx/MqeBe2VmhWN8jZSLqHhew3uIioN/hYdnemywnpiGiJRPmH2gilKvZKFkmXJtf4upjHt9o4J+nmqIa3+PioykfF2UY4GbmoWNjGB6m66KqY2Ge0uJdHOOi4WGaHVwdFuCj5eInWS0g35gWIhJlpiMgZ16YaJ6kH9tf4uQiHxkr4KAkWqGZo2QkIW7el6geYmAh5qBinB3kK2JpoGPi2GDeJw7WKRzYXdvdGV5hp+GjVWdf31/cYRmf5CKjZZ7YJaOg4uLm4OEbnqGn2+nj4uVaIhyjW5MjHVufnlzVnyjlINnP59/fIdghE6TiZNyhXxgpW+QpImXgYVxeI5+lJCLjZBqoHl9Z2KWeWp3eHc=","141.9|oJN9VlJtg3zLiJWgZJRyToWNx62dfpJ4xF2SR8BrloOQdaiLvoqbOrRzrpiCbf3IgW7TZd4eWn6flp6RxJNmroS3xY1ro59sWXmEbGBHtnqVPKJyhoqWcoRdf55qb2OljYV9Ub7sXWZyxZSHpG5qjX6BcKyhZ5t1nG+Jd2JpbrGfgcBsb4aVUjujkJShZYF6im1DWZ1okGmrbnl+f1ZsUIV1eWN139OplIisZJzLaIVjgKGEoA9vsJaDhmqJkZp8n3txd4hxl3aZP5CHxrKFiKGBjI9/kD2Mg2uLd4x+n4hlbVl2noHBenCTgIpohF+Yk3egeYdsrmqhYY9XiX2zWoGpdWSitqePPKdotl51xJCcVG+NeGiahXRYcPzLYpGSj5mZj5x5bYZojnpze5R8kX6olHSoh4xiaVaIlY+OfVh8j26QfIdogXfdc42StnB+nLVQSaO1d1iLaXKPZHGAepSMfWZdd6GJdmdxY4ONSZV6fXxweItohnRwiquNfXtvYop8nzlTsKRwkn6cgYtrc5JqS4R+XH95c3xsarBWiJJqnXhvU1lyimCEQGtvgZOAkn9vka9/aniPh4qCf3Z+fnt2imuig4CkQ3yomWlygoGGk2WUf32dfIyHd3hvbYR+d2h5nXlraIFPgpGNlHuFe1J7jnSDYXBohJKJiXFwhZPJelumpouWf4h7h3h4j2aKhX6PaHublnFxlmWGkXCEe3xuXnuEfoVqdImSloZ1eGqQnJWQcqiRhoF+lXt8b3iTkpCCgZtZeqt2cn2OZ4aOcI5/anNTf4VxgG+HZZqHgniBaoiYmk9lnJqJgno=","138.7|mZtlSlVScZTAcm5rom5NKWeBqKV5VWteo1NMpK1yb26GNmpLcneYLmlly39GtPzgaGR7ns3zWWJvtpZstX6eUGRFxid0nWKfbWJzZFajpWlmbWxSfXSBcn1OXK6EFmGsKmZ7raTUX2ly0ZdzT26dqH96dKFmb49jlIpaRWZbemibeI5bkV1VVpZAcZBjSGJtbWa1mZWUdTxjVXR4bEZJSH1DaWVJBnl4SkCRl5eMa0YvZHx8kC2Ql2N2eW1wkWBrcHSGbGaKj3BpEHpol4hwdGR6bC6QjDpdbFhTZYaFl0NokWtyi3tnd4+BW2uSa06RXHaOcYdqdI6Wh211f1F2X2h3Y2hXUH1eXpt1rCdxtYaUqm9riXyHeYdIjZF0VoZ3ZZFdg5R0c2qTkGZycnKAjX59boeVYn1nSkiDWoeRdl93uYeMmXuEi2eEfmx3g36NWHtdaJ2Ic4V/UomPc3WKdGiHfn5fh5xVcI1eboViao51aHmJgYiVfXKeY35vb4hzXolQhK5tnoZwXnSZgopjdHFNa4V+ZICGj3F2h2xohWJmeHVlbm+JiZp6R5xhU5B0c2puh2p+WmRtk4+Kb3WBeXV3dl6khn2GQ4emim6JfIyEZWOOdm6RfoxreXNQooOBb2mCm3NtikR6g2V4jXZ0eHWCiI56d55nXHBvd4FviV6pV22nmIyXdYJ+hXR6bmCMg39yboGWZHeHUG2GZnqMd2Nub3+EiX9+mHB+k3d4hGmEbo5neaiJj4h0lIJxe3iJWJKBfIxfg6l+c4peeYRodH54Y3aIf4SMdn15ZIF4dnd/aYNsjXlhnJKKhXY=","133.3|hHqIp6PCpYB7WHqGWoF2fJKHjVt4SYGqdLZsr1F4k3VspsSmq4phcImenlq8NGlJlYb8YzMqnZ2ikIVSO3dfRH44UF2GYpJmeaWSm3uuWZ2XUomofmWOl6hunHtwk35Vg4J7UWc0naSCh35diohicX98hFyLhXuihnFvqZWseY2GbWSYa3GDb1NolGqTioyWqaGmmmm4jpKOrnWoi2eXcHSdnYioeJaKfXh9Y2hQkYlraZJneaNsnISDn3GfbZVkkI+AmYiMb3KXPHuPom6QfKqPe3yOg8Foe3qDiZt+Z4iUk5pqi3Z2k2uViJ9+hoZronaBiq2bcpBonI+UdZJzi5LHbKF/P3aGo3OMboqUq4RtYY6JXJiIboizb4d4iHF8uWqZfW+JeKxpcW+JrnRtgHt+XHabj5ObZ596oW6YiIOMxIx1noWJbKJgbZB5T3h8jHtlnXC2gXKNrHF1boiManyBfIOXd5iFb2qBg3uXd3yHk4xqhneQgmdce292iX57eYCFf3yWdJp7eYOYf3R6hoxuioJ+ipF2m32CcX1+eJlvi4Ohmm6LdpaAcV2pcXWHg4x6k2p+c51imn5tgpyAdmuEe3eHgH9BpnaQfJlze4J4loV6jI+UgnR3hqRUeIB/eY94ln6HcUajd5pue4mWiaSAc4SFZ16oZ3aOdn95i3yfY5Fpkn1jhJx5eG6EfliLgIFzjHqSg4J0aYB6lX57gISQhIJ7e4RyZ5hpc4qIknWJc31dg2eKdnWDnHp1d4WFT4KAfW+Ue59yhXZhg3qTg3iMho2XgnqJhW6AooVpiIaNgot9fXqbdYp7coU=","141.5|k39ohoF7gYYxVXx3p4GCVHOfWVl3ioxSmTa8r0q8lIWGp1tki/ujynKIYpaTP1bPmJqtedF8g5ZxV3lSFbKjgXd6RZBuYV55VFeSWKeuUImaMmiHg22KuoCpiZ54tJ+8vod6d6jUfYVwz3pYjYqhgn+BdF9mr4BetoaJgX18YF9eb1r8lGR6P2k9c25fgIJnUlRNn2hSkmpdi2BqpKWMtXqKm3yFtFl4wak+eJjBfqKDhn5hlmGRj3xTVo1ZbmOw
23dXBYZJiIbaGYS3p+r3WYiamGlrOFi4CFaGGXlXSJmKB7an6GeXK6lJOGeo1qpGhpWGORcV1YnJJlYJNugJCgYZy0c7dn3HGbrWZUrM2Li3+Vh3+HTH96aXpwk9Cut2VhaWxbiXNzbql4jKN/fH2IbH6Ig4iNkUaKi412WqOmdD5qrIpwR4R9jnl+ZpSZjZtRlV98pGRrnZqtZ3uMmYBvTspyfV6hhYZ+VHaMeXtlhoJ0c3KghXlpg3WgmHx7j6GEnneOi2Gda413mYeIg4mKfXSFYnd/eZOIfIxqeKOIeWCFfHZHVFqLdGKAap9qklmJeWaSe56XlG98f42Fi36Cf6yBiHyieHxgoYiClFR6sXZ8YqF8c3N8hImPgHCOo3h8bZCGgnl0e6SQeWGvgXpccXiCdXCGXaBmrHmQioGNgahkhpVgb4qKioJ8hZJ8ileIdXx2iYOAnG5/s296aI18dmxmtIJ6eoNqmFSXU4uSf5l7mmtph11zjoOIdX9miYJnNZF5fViZgnx5dISYeXxng31zXWyafndyhml3WpRtipR2i3qTbn5ybWmGhIs=","137.9|d6Bjn7uFd5G+WnV9uah1cI7EcWGGgKC0hoT9yV7Fob55b5lL3U/UxG5+dYwf54m4jI9fak6rr4XYqqpZ+Ziwi39tz7iMYpx0R69ShNbHYIerOJSSfJ6qTE+cj6dujZmrfHyFTKWdrYik3Z5hV3uuin5+i16XcnusxGuaj6CQwISXa4SEnKagbK9odGye57efk4NzomqFnHedYoaFjS6Fsol8zY+Lx7GGfcOhZHCIl4ikc7RqrXWXsI6cpaqHa6KfVJCRgcaSbaiidYGUl5aWlq+XnZScnYazoluIjYSGcZigjJjLqHNvnJeRmKqbq2Fpqq1ejpGEnZVre5pwfIV/a5SCoK5zkKXGfJqbvI1yhphxrZWL2rKgcKp4mbGhlo+LgWuntXaMok9fd5GRdXyqjH6ZhompfXnAp2x4rpC/iX6AtI9zgYZCcI2GoJNmmp1pZ6RXf5ikeHOSa3N1uI+MeoiIfqdriZeeiZTacnagln2IdYHEhXh3hmRYgn6AiIWbnomGoDB7l4uFiYJbg3ani42Pl4Z9e4SKrK1skV19eKGdeoeGh6mKdnSFf1t9ZqiFcHWNf2SRoXaUqY11g1uDeo+JlpqogH2XXoyngJGNorF5o4N9jnJjg3iHin+0joN8d3CHl4lqjYlpe5+jgYt4gpWCeICIY12CfoiOcYuMeneken2ekpFzgGB5fqCKfpaRgXyIcoaUem6Jfod6nXyHhm59ooV8codoZX+CpIxwZph0dJd2gJ2KknaFXXqPlYV+kJSAfqNrg6KUcYWIiXudhHSOd32dgHx5iWmChlmYh2xpknJ1l2eGk4+SeH8=","129.6|oW/ff51hq8hAo7bMoOHn28a812Vpxspby2K0XaIqbL5kY8rDmfyvXc9lg694d891e4q8XMTGl3iXfHGmWISbtH2ybrODZ4SDb16Hb7xen3hrinxzgIyEkYF0XnpxaHd2kHmAT3j4lm+NyGufoIOcin+AgWN/i5Bjq3G1iZKZvsFhkG2skMLGh5uSxnCI399qkWyzao9TcKqFg6Wkk2uqarp7opN04oS6gayLY5KtjYuivISUjZqPhculobCmcoqqqXCscY92i2Jq2293upmUqJaZnoWoo2KqrJ6GjZl7lIKRjaaqeIumiI6Kp9S+rK5umJWndqFvsm+RaG6IcYaWkJWclpufcpOPh2ufn32Gf3yNmIuEi8V8kICjjaygtqWPoW+ToZ93l3ZrioWHfXykb4GCp4WBh6Gke595nY+eeI93k3iGcn5yaY2LdpCCf3aNcHZohHCRj5iToXWIl4aGbJd1gnyNhXyci4aokHuWmo12mXiUeoZpeZhYg3yHjIeTcJJ0mF+Eca1tioZ0fYeGhoKXm3h/jIGGhZWLh5mOepaSonqTY5N0h2Z8l1twpm+LlHx4immAhn2Uh3WPgXeAi4OFf4GheH9wjoZ5f5F/oZJ8lY2MdIhvgImFhJOJkHl+goWEe3uIhXyBepWHinaUeZ18hXZ5hF19mYePhoR5f2JfaYFpe3aYg3h5go2GgHGPen+IgIB6fouDkY97k36Deoh0onyCenuAY3OUaYmIeHmBZGJ4f2iAdoiEa3mRiIOJd5B5gHGKg3uGg4uQgHuUhIpzlXKWgIRyeoN9X3yCjIZ9b4JrZnFsdHp0iIE=","130.5|inxRe5OMVle5nV
235kW1NciWJMWluQmXCaYb+IapxudmCIjXJ7nIp0VIGH336bLZ5qiW6MZjTbkYaf9IqgNn5dbXv8XnuJY5GwxZaWoGlolYtyupCDe3mBlJJvf5ySiW9nbG1+VYQ1kY9t0oOZtoJgrn+BiV+SgXuTc29WZYxvbnubi4B9aZV7i2Ggf2yPepaObKSqbI6MeYmThYltcKBcYZZxcpZvZVJadJpmZ2leiW2IrpCSZI5siIZ8g4SEb4yrUIeKl3R7imxzqopYRWB1eV9vjWtyb5pojKdwbGF0aWCJd1qPjImCgG2EgHWFhn9pjZSDiHGje3SNlnWUgm1DiHOBnIGhcF6Hr2VvSJuBgIFtl4hyZpKLjXZgbrFziY2XgG2NbIeFe3xqdH2Gb66ki39+cniBkVxycW14jpashWGRg3qJdX+wf15kbISDe2mYd0CypmhXdaJ8Ynd0YIVllpqJf4V8eYeBbHBndnqIln+Heo2MfIOSfKl1fHN7eJSSboV1e7+eVYWcandzfXNng1OPl4V+hXZ1i4d2dH2deoiMi4R1k4V4hph+pXZna219cI10iYSFgnaFfYSQdnx6d3WDYneghX6Vi3mEcXt0iJ15hnF9h3yHfHVwgV2KpIF9inh5iH99dIBse4mHgIZsjGV8hYd9lnViZ32CfI94iIddm5pgeIOJeHR7d22DcYSVgoN8fnqFhXp5lnp7hXt6gnOTeXyClX6ceVRmbYKGj3CFgHCmiF93fIZ3cnlodIJcjZOCgm+AeoNtemKNj3qHfXmHbY1sfoKJepKAdWV4fIeLaIN3dpiDbXSBiH0=","130.1|mJ3FTVNczK6ldJqkmbrUzaWailyVhqugl0eqolNrg56adoeoi5V2x454DEB52p+ufXDtlViRWXN3HpdwWaWXU5ABnFOLXoJST6BOYZCiWXJ8doZggU6Qq0mhc1aIZZSkhnB9kYTSXmh/LJl1bYGWVH5/iVuDnGuatILAYGRamGWSeXWNjp6bfqCDomt7sJ+Rk110lmhXhId6b5exfb2Ss39vnIpepmeEkIp3infCa3+Tg4t1mnWMmauarJWlbXaCk4mgZoqHbnR8do97yp58l3icdIKZiDOBd3yBbJaHc3JodYyLkHqoi4uqlr+dl5VndYl4i5JhtItpanuth3LNcHu9TpaTxYqNUJCRrWxZj4p6d2x2qYqLdZ6oiWS2h4qRq2t2kF+ImZuGeIx0ZnNuh3+ImoOTjqPFiYN3b25wh5BvlYhzan6CjV2SXnyIgppzjIl0XYeEmJB6qoF+a3R6WXODgZCDhJWCfY6KhHpwlnGFg3Jzg3dtgHCai5x7foFhmqSAmHxji219iHmRhXptdXONeYB9aISEn66Ai5Ctem+TTYaRV4qJdG2Ah5lbh3N8gFOPlLGEhWiRhZSSeYiCepZ0f5VcgoBxhISgp42NlYB7cI1yiZKOgH2PeGV7aoKBZICEkZqDiH1+enJpcId+c5uBdnZ/e5lWhXZ6g22NjIxibGqPbZKleIiCfnZ4iYVmg392fYORjX+Fe4Z4coBsg45ukYR6jIF1k2uUd3yTZ5mIl3BYeJF5jol6jYCSd3p9Z22BgHiFgpyVgZF3i3pxfneJjm2agHl3e3Z7YZ5lfo5qk32Nc5JahHOPino=","137|sWCyTK5Cta03rdXAmc+rhbnBdFNwb55MuLnKR0zKlYZmTKCzl3DJv39W8qowpiVEWXE4VKZcpFjopWa0kVKVv5X9tYZ2WpNSr1Gtl15HVFKXQIVUfWl8QrulZ3l3X5VmdJiARGvTpFB3L2KltHGUWIB/elWKX5pYqGuiVpVRr4Vel9RrjIOa5VS7fmmSb8dfcZ9fXWpUkHuQU3R4llKCr39bh4RpvKV0j6y0W4q4lXeaX4SasmiIqmSarXtAapZWbm5hlMFubKqUh3KHjYiUhKWXmoCDcEewfmh6cW15hYiXbIBucouRjYiUgpSJfWljqYuRb1+dkWtkUo54bXKagphwl5KZ1ZuwU6lgoGyWeHmIeZB0kFd3mZJHib/KYVTDTmaidJxxik5mhZCKaIVvcIKUg4KfjoFmo253rHblc3WNgXJxX4J9Y3F/XpB67KmNdZmcXKJ7Z3h+bHSCo4p0xnF0f4djhZiTgXGCf3agX5J0YYmNd3Zogm9QfpB3j4GHm3h9iolhqW9eiH1re4KOi4F+Xnh9fnWEf4WMdJFdeJ5yqXhQemdvdGKDbFVuloKNh7iNa5eBimqSfGJ2e2J/fKeFjoBjeYGnXIKddW18hmp5noGYbnVsfoCJhGmXbnp+dnGAlYSDdNGIdaOQlHNniVR6c3OFZFZkk3aPgYGNd5ahqmSnimOCeWp3gZiGgYtzeH54cYOWi4R4dIN2mnqDeXWKY3p6dYBwXHOMg45loZx3mY+Xd6iCanp6ZHh1kIN4m218gIdkgaJ7gHOFfXqcdJByZotofHdxg3F9bG12i2uci4OUkWVsmYNren8=","134.3|kXVo0FO6b2FCpoWBoWBsalxdaZeNX3NbdWGUUl0yiF2WxnhfRH6GPoizjJnMpILAqZpknJ78WaR7gmeqtpScY2pUrn6LkWyki1+Ab4tSYLJ/gne/eHRsZ3pfoKiX0W6br7R8tJkXXMF/KXOeRoSckX59i5dzcGZjkZF5rmK2kHhjkZ6gjmlgX2w6eIpshkppgm+9YG6khn1wvJ54fqaBTZmvkYOtE2R9i3Vtno5GaJB4aV+YnGaNaXCEaXSVi2yTSm+NcI10blSCUIV/hId4f3OQoJltg8V3f5iTnIKDiIRon2CXZYlyhZF/dU6Ib4OMXI5QcXlvfm1suH+LiqY1dHliknRwQ3tgpZ2QPbaVanOKom6dnGNpk4BtjiQ6f4iTjoxggVx0in2Zh4BxiYh+c4GNkYZxemF8koeEWJZfd251gnN4kH6Tko10jXB9eaqcjISVm6Jwkq2RW4eJbnSBf45wgpiIhWtnkXqLloNlgnJ3aHaOeHWOgYCnjHJ/fouYY4+UWaqTmG2XfYh2f4h9dH5xaXd/fZGHjZhxd0OfgmFuYHh7kIxydZeAjKaoWp57enBwj2OKeZ2Mjo+UjYp8gG94dHtcen+HfoRtaY2CdJyDZWNscoKDfIaBeI5/c3p/goiEamx5eFSqgmKQb3lpdYN8dIiCe6OmZn5yd5BykWaieoypj457i32DgnN5fIFqeoB9iINuand8bYGAZn6BeXR+jnp6jYGNnJBmpHV4gGiJYqx9haiAi4uJeIRzdnl3c257gJiGgmVtfmVxl4Jmf213ZHySfHiJfn57mXB/e3J6b4Noq5+imYWKioc=","129.1|r46viK2Sv5xRbbC4pruoua3DpXeJkK2vsqKnX66knrKTja26i3qPtJ2XhoCOm2qWmo5qiFcBpJq4n4JumKmhpIu/vbCKdm1jkap2knZeqJWjcHeTf4GNTWuanmGEfpKVlnKCgI/ao4uFuoRxtYSiaoCBh3ZzYoGotIHfmJmKr5prdsuAlKWvxV7Ql3dppb6bjpOAZJR7lLZzi52umnbHpZCPo5WV9q+hlp2uf3CxlJCoroF0vo6Scq2zraWsdmdnrI6bkI52k5Ces4WglI2Rj56khZiTnFWzn5eRj6GIcpiYiJWVgHmuj4+Cq6Chqbh5W455i4SSqHCYcJWfjpJ2d5eBkZGVqp68RaGgnl2DcYd1VZGYma6AeJWwkIqqlImWnXhgiH6KmoR6eIaKkZ6Qdn+ProhzkqacuLl9WICIipyLWniOhIaDmYyTZ4tzwZ+Pl4ynUJZ+i2FssH11gYiMmXx3f5qOhm2eonKFuXxha4KKg4iOeoZxhI2niIiCjHuEkHKGl3JYmoCZlIR/gnp/iZyYrXp9iYuHbZKJdIicfWBqlImofoh0iWyFnaaMlIeHi4GMfJV4jIemeIBuh4WAiIOGlqGZen+Um4Z4gZx6jJV9ZYGFjZltgnqLhomZjnp9hoaEbnmHcqWvfWB7g4mIh3Z8iniEe6WFgoCLfX+Jdo1mm12Ya4KChoWAfIKDjKKRen+DiIFtg4h1fpV+Y3pzhKCIa32CdIN8nZVwg4ZscZJ0l2eYdpl5hHaHdX+UfoKSro59fouQgmh/hm+PhHxmgY2NkIRmfoV0iHeAdm19hm55jnqUZ5BzknWLdoQ=","147.4|s65vpErgQpokdlBrwHx5PoiWek1ZknTCfjNvSW+UsYdS0V5JeaWYM16+csjqeW5Ys6K3rf0JT7hgWIZ/YGu2jpqnOcWbVYKTWLm6WtNJara7aXKtg4ygxatktotrlm9jkIh9tmlCVrB/8p11RXW0kHyAlk18pIq1hZWcoVype5ZRcUGooKypNqJzh2WJq2mkgUt9YXLHpUaGuWxBrnd+QoetknWikXR6j7FpoqpmYp2fk3Z1VnCdfrNpeKOFZ5CQZJKIXYZ0cXy03GWYZI+bkWF3fISCgb9+lGiJpG2jqoVil6Srh3pvUZ2esWmerHldoVSolYdWqGx1pKaOaYrZoqmemYtqQYJnzWSlnJSsooykWWuFeIx+fFM8ne2Zs4N2r2OZpJKSc2uUk3Jvs3CtaoGHeIqAwXvMd710qZTBjGJlpXZ7oIuYXZqkqIWWXmxam2RYvly6dXC9TIiXYXCPWrNxfVRlim/OZI2rnXWgm4eQj2mSeXiZiKhFe42HjpekX56JcmKwZNNdgotxiJRwdHGGbXV+dmOKe8Rsi9KLeaFwhI59ZXBweKWFtUqTmnONbIFuanaDopN2n2NmlG6KeWhyf261dX97W4hYnJaFyJF6nYOIk2t4hpJ3cKJ7nXp+dWuJb6JrjJXJe5yjho2IapN6eoqMdkuUrYeLjZFsgoupeatUpWlei3yFiWl1gkKUdn9/bIdutm6JwIZ4nIebilxmzXt/e4d3WIOpeoWWkGNxeXZxileLanSPcoNycXiAMpp5gG1phWOSbp+ll3iejnmSYm6ne3uRioCAoKWOiJWGa3mIcViRYpdrcpE=","137.1|ZYSHkGKiiZxql3typ3uGhImMmqeLtZVuqVeyWGDLk6F9q6ahXOKWSa+k/H+dLJzGmHCdkz8zZqCSrnecZKGja3XAeFNvn52Uwm+ha0ZeYZiRZZmcfpR6krhor6qPq3KhoI99mr54Zp9rTICTsHqgkX58c6SYkZlygpF7jWt+iaV1ipGSlJiarWmkmZSaZKp2nGTMaXGSj42Xg6mpgYyEVqCUlKKcc4uno5ydjW2ibpqDbGyJpV+TjpKXk5iOkZrCv3iObpxxbp6Ta4aYtJZ4oraeqZmTuXuLsoSRb5mCaJduf56Gc4WVkZKBo5mgl5KYp72udb9qj3FrkoqcepeUj3WOmY57xXCPZGeio42Uon9uYnGPT4Z0hquJkIiasZ+qd5aeppx8mV6XcpBzg5OHd4CIooiIg6txhGiGoZumeZZxoXd1fYGscnqTdnObtZGgoHuxam6mk2+BkIdybXeDsqR6fod1iImEe3JagIeYipZ8kXSZeXh+hZ1kkpGJeaOUanWeic9sdMKCj3l+gHN9eIZ6knx/gHqKcmuNc5lmhpidrnqUZHZ6eH2BXGWRqHF6oJ9uhriYg4RrkJR2eGyAgZh7iX5seoCPaYWWioZuh5KCmJ6VeoJ8fXWPdnRzj3x8fHqFinOHdKVlgpifk3uYdHN8dXuDcWOCpYZ4k5R0eZ+vm29mk5Z3eHGEenR5j390fYGNd4KJdIl3cXqFkoODfIFwUn16gIB9a4uacHaCnHV8po2ie2eLmHl4YH9veX13i3F9gHN1g5J1goRqcYGTepB7jnVsfnyAgXeEmoOCeIeacoakjoSDdJGTeXc=","128.2|k5Zzl3uUgXCzcn9oqnlwhGh8hKaaqWmBcV96b4S0noqOpHloxn6Onnuhn2KZfmKGqG0ybz+PfqlyjZ5vp36kf23Ie3pxnpmyd39zbWlvgpqlmpmaf56dV2+VmqSLmYWDtYd+V3/8fZpwYpdyZHyko3+DdqKXcY58b3B4nXief3CXeHmSlnp6nY6XgpSZbpd/iWxecH5ol56fmKWKiL6NlouZcnmbh3mLt4KFZ2vQfKuQgKdzgYiRbGWLh3l4kZSHr35/cpl8f56euY6dd4uRh3WjgqyFk2aRhoKia4iEaKV8kpmboHtxgZVtfXl8gI+WjaGCfZdueneBdpl/iaSTjY1jfXKG1IiMhnuKfZ9ucJFuinubfniaeJuVlJFxmYONX5ORiJl8s39qdKl8k3yaiX90mIZocJVxlHmHjpeGfK92ZXt+ZIZ9g5CEnpCOk6WFk46cgoJtfJh7iXV1nnyIhIGHfnmBiHJ8lIeGeYaKiYx7iHiRe35uh4p3m4iChIF1i2mVioaCe3CHnnZ9gHWOfoSUgIV9g3uFY2+Ng5d+houMf32CgIF6fmaDh3N7kYGGh3iEdJqLgoSLaYCBd36CgKp/nn9wg36Td4dydXeAeHKDjYyJfYZ0gHWcfouafoN+g4KEdHGDgrFigoqph36AeHB9gHOEjXJ2m4KKkHyGcJhrl396ZYCUd3t6eJR/j45zg3+Hf4B1eYiDg3yDiYGMfpNwcnx9fYSIdWiRg4tveId0lpaVf3pvhYF4cnqAjX19l3aBf4B2hG6BgpCTcoKKgomBl3lmfX50h4mHZoOShXN7i3qNkoNvhmqGgXs=","153.7|t5ZNnMhpPFH1nn+Jb25dUIuJcr5aUXdZfb28L50drIpMdIdnWzjf3n1ytvVkcSNqaaMNtPt8vHHR2Zyn211xqnZETbRzsIr8Tl+4ncAxmG2xqXh1d+FzPdCfZeJfa6aArc5+x4XgtG2ej5mc8I1u7H95dMB+VlRagJFtq6i8f4y0iLXXcnaIlEVjdJ6TmYVpepvFSIRonZqKl450TomLvZuqtaWWWbaGc56Iq6iFn5p/mXiQzu51dJhpi6hInJacLG6Fl7drgGGub2bLdINVeaagpJ+Wd1ifhWObo4J+qJiktXu9iIWrtXJwjJOWgnGksLYbbVWcUmOKZKZ3ZqQIf1FTyudlRJaqLYt/aUDNUn+fjZmbd3SHiJpoeV1piI+DRKGim1BwlJedlXySi5CUmX7bmXl8j0ZvuJuIuKRqdG6OwmyDnIh+XMqJoV1ulMifcJOUPYqGa2ipgY2UwY/BqMSRgaO1dXCpj2ipioqql1tvgIyueX9fi5U5hUy0XpHAo3WGgHtIiHV2npJOfZCuitaFbY990Kl5hFpmbjhXiatZpXNdpalpgVmGoj6rXKxoas+RdDmslJl4r1x8lJN4hm2GvIKRh3+PtnlhXW90l5WKpYlgcZNwe5KShcqab4Z+zaJ7bXdvb1SQhKipX3N7in94fXWHkUHAXLdhaqWReTvEmE+AlV5+knSEg6SJj3WMin2/nnhue251VXSLpXt4doqRl3d9VIWwTddOpm1ZqZl4UbmDbYCJY3yRbn94lofBgI6EfJ6hd2Vpd1x0cIqjeGN2ZY2he31vi5V5nT67amCfnHZbuWx+hotrfZA=","144.1|eYlWb7l5Vl/Tvnl0aGViXXyFil+aiIfBeqW9LMBNZ7uofXyZV2KBNohzbaKH3JvWdqCqmJQptWiejoPJv4hrY1o/24eOX3VW2rdAkqkutXRcQIR7e4ZwyEFOeHCdimmll6SArpB2s2qXIIi0z3twXn16i2N5n2i1cY/EeqN2lEmdnKKec5yLWao7mm1tq2Skq5u1S5t6bnZyfJi4XJGIRIqKypR4Mr6eh5m8nJCCmoqjYnOmwTJ3cKSReKjUb2iSZpOyj41qlWheJZKCsJlhpHqKl5CVp3uBtV6CoqR5i4eheWyMfpCGf3d4hI69g41sWrODj4qWkWSgeWZ8kYFkaFiGpKNTdoCBUJzEaG13g3aIXpSA1W11nJK+dAB1gq1/p2lgp1CTjnCfh26PbJZqkYONpnd4Z7aqko53UWxLiZGNr2+Njnd4nn+kXFyglJx+jYeBWqSnnl6KqI2Gb4uDh6KKgNR3empxgpKAn3Vdg2uNiIiadYprenG3e5STaY6mV4qGaphhrYGGho1fgIeEi5OQdIR/gYV6k6JniESfeFtlZ4rLa7Vtj2h7arSQfZpvf0hujImOiYiUlImAj2d6hHKLdp5ahoGyZnp6dZuLb8B5X3tpkKaHeYmDiYWUaYV/g318b3JliWGiflt3cY6gicJ5kHN2b7CUkY9kkppwem6jZmWphIxuj2eGg3eJjqluh32JfX5tZWqIa4Z3YoBpiKaNm3WFeHxxpayMmG6TWHV0eZF9c6mKkXuLYYFrd4OYjW2AgZhye2h6cIhwjHxih3KPmISke4V2dmR+pnGAbJVeaHSHjaWHmYySfos=","133.3|wGvgVIdE1Z5dh8vZl8yirdHHrFh7p+dTwbLSooe2bKyEVbqnPLqLybpK2J0atVtSRo57kLMviT6H02CBXY6SlZOfw3uLXmVpzFibmkakikRpRGxQe0BipLWZYYd0dpltY32BpXBRikaB1GuChIuQeYF7iVhthZRZd4mWUYhB5J5zg7CFjK+5vE+SiWhno5Zjfp50loZsbthmRHKGdGyys5los5pku4uEeZJ1k453hmx4vFmGnbKKXKydmKysbGR5jnCZlmCIhJ5qPX2DV2Rrl/2ff3mNi4K5p39okop6j3+FVbRtYYCGq4pyjYalfKhoXVOycnebYo6FW2+QgV1WjG95h7FipKicW6aNmHymfWyIbohgbqZngWTDhU9omnOJk2pgbpN1fLCXh3iGUHuCd39pc4Viq5lplIx6Xny9dKSPVYeCa3l9imZsXm91pIaQca+bYplnhVVnmYiJnoZsxpJ6f2uahWKNb28+r3hlUI12eYp7g4VvfVudbHN1d6J8mXKAm4FolYiLeomOeoecg4FozH6AcKGEYmaAc1WgeGds13qckW+KgGp6gJx5eXR4d7qPd4OLkmWcdXBripB7g5KDh5ylf4BqpoRWgH1+bKt3ZJaOcp+XeYR4gVpxn3x+cpGDZYOBdpGdfGV3j3d+i2x+gHV5ZZp7YnVwboCNeotjnWukbG9giJKBgpWCfJadgIFykoNoh3x2boJ7aX5+eJ+NSIKAaXxslYhbc3GImJd6j22QeaB2bnOIj4Sjj4FzoZJ/fniZg1l+f2RgindnhpJymoldgYF2eW16moBfdIiUlH6Ma3+KkWxucYg=","130.9|gZZuq6Whg3ZFVHV6n3d3dmJ0fJx6gHiiertxr6JRd15wj22Wea2FTXOD/WSUUlunh29NljQ1oZKL5IBQXYuaYnfzpGN+k5R+w
23Z+qnlaun4p5bYiPgG2MbK1pdYSMhm+On2h8mquWnYJlz4lcs3iYgX+Af5mNdJKbgox5tpTHh3dkaYZxj2pzmmFle4uTcnKUX6OYnIxrdnyQno97nFV6XoygZXuhZmRvgniOj2pnkJlzhHdlk1OMaHyNhm1/i5d0kYmKmHqLjW13jX2fbouSgH1/ipRtfpZzhI6NbX+QZZ6Tjnlqe3KJcIyJgoKNlIORoYaUhYCdjJKRXX6Dd5J+jJVYfnKTTGh2roN4eImOZIdqbY+KWIB7an1Qi5RzhGiZcY6ecJeFfViIdHqKoYWOcX1+kYVliol3fImCo4Sch26PaYmIfHyTbrOOZoR8sYGUdl2dpoZLi2x9boNyoYaYmYF4e3duhG9thHNemISZepGFaoyMhIJrfIpcfZh3iIeCbYB6bLedh4KJj3iMhHKWh5Rqj3h9gm2GZYCPd4yRhJxsk4RygWSMh2h/fV6JlX+FfJN0hk5sc42Ob5Bud26Efm2GmXGie3ycZYVtgIh4iYmClXSQjH1yhXN8hLZjsXp9fG6DcXKMdpqmgpeFj4VjjGKBhnd9dl2XinaDf4R0g3Jjl5mJeI5veXWBeJWFgXOYeX94cYJydop4g4OEloJ/gHuSdoSBYn2AZYSGfIJ5mXR+aWuThol2kHV5aoBtjISTdpB7fIBrgWdth3J+ioKTfouLa4tygIJzfnqBdYhxg3eZaYdzbX98g3eQdns=","130.9|iJKPeZKQeIxDh5akYpJ+mI1/gJSSg5edb3S2kY3DZquXlcVnf3OcQZeP1c+YyaFIi4GElpl8joyzvX2Hz2Zmo3b8qZ11k3tuvZmad3WOjItgcISIeIWKZaFjk3uIjmpXdYmCkmpAjZOFk4eEToFneH+Ad5OBYJOXf49sb4lwy5FkhKV5cpmTkaGuoot3hqSQvXaoiYmabHx6ibOQn3FyUqZ6epx/fpF9k6iHioR4jH2WhHmGkq9xmXmhnKCbiXZ/YIl1eZWDhZFiio1uloCSh3yos3mOip+shZ15hXSPgnmIc6SXeoFemXOJeVqdh5CKcYuYiY92g4aHjWqNhndelZmBx4aIj56DsY6Td6abcYSBfIdzxLh9hZWscaxrWKXPdol0eJuIvl2JgYqGgaGFcn6LinmVdHhcuV6EbZu5hr94iYGFdHmIj2p1moh0kIydipKlpo2McpR1eYOAaoVrxYR0fqh9eZBvhY+RgYBwZo6HhnmPgoKUd5ObgnF8iJOwZYeFlKKeiW6LeIBUgoFthF+As3eAeoV6lIR0i3SAg21orIOUlI6FhZd6dJtybZ2FeqFwiJOCmXqch3N+gHGDfo2Fc4qJeH+fhniQZG2KgX6CbWuPiI1vhH96hGWUiXuAfn96jHxxiJlpgnGLj4WEeoR+god5e5lrd3+HdqB0hKFznZmVbnF6gW6Cf3ODeJyBeYF8gH6LbXiEgG6DcHSVgYh4b4B/jnt7lF90n4R1jWuJlJGwhJV7b3uBXYB+eoBjtIJ6f5iEfI+Cd36GeIFydI6FnYJrfoGKdHZ8gVqHhXeMc4OOlI+EiXNvf4A=","136.1|l5hwVmpwa3XAqY6VYp92Zam7faB5lIlXj7uGU1d9h6ZtaFh8iQDZzGl0i6d/vnhIfZUak6QhbIGnqZys2kxnsZTEiMB8nJbDcluWnXtPWniFyYlugLSKRZise51tXJ1xe4qBkHLRcmyEyZmlw3VotX6EfKKOYnZeiXube3RvgHybk8tCb7SXs3rfeZKWjKdoaKNNX2p1iI2TbnhmcIB3uHVwoox41MR3ipmhjYe0dYaWrYqZladyiIyIn6FUjZh4V25/mI51cH2EvXyHQJZ4fomIcIKGcE6vimGEkH+BhoV1gYedk4yXeHRxjXyJmXaWpKNfbzyfem9pboJzdIJ9cnRVk5mBo6WlWZ+Eql6beIeFWnaEnXmNlHFUdMCqUoyJa5KfjItyjY+ChXp5l52ejIKtcXeFkIh3lHOCpn+Rd4KRXXdzhYCBbIa9inZys5J0lpx+Y5dxWGCEeoGEYXyKoXiKgnVgeXujeYOBe4Wch3t0Zo6He3Z2gZxYhoKSeHCFnnF9m2hol2x+j4dxf4NrepGHhoeAkHF1ZoJmhJZWhpx7hXZulYJzdXWBpVh4ZZx6XqWQXqyPk3WPfF17jIJ7enl5hn+gg4C9YnhuhmuHpX6EmoF7dX2EgISHepCZioJ/o2x5epplgZ9ahJ6EgHJojl17dnmBnlp3Ypd3d36PcJCKp2mYfWGNiIV/g256joyRgn+bc3p7lG6CjnSDmYF/eIeQcXp6fIKfYIhynXxkhJZuloGdeph5aH+IjH+Pcn6RopOBfZxnenGMboKYdYOYf3R0co9efHl4fZWCcnCjfGuIlHCYh1ltknxvfYk=","128.2|pZXFeaCUvKibi7LQnb/R7q2htGOZh6hTj5uFTltjlJ6cjrOyi4SNpbGUPo+0gNCTi42kkIyqnIObY5GRa5CasHGFfauAZ4ZlgVltjn5OYJCWjo2Nf5GIZFmSkFqDfI2Qb3OBiohjmZCDg5OKroaZZH6AgGKGd3ddvITgdZV9pL6OhZtkj6GXuJ63rXB+t7Nlko6NYW+ukKF+jaGUhIanmpGCjZt5/KCqcJ23hIJ2kHWspYWFk5GOkqemopKkcHt5l3KljJ9zcm2WypB6kZV/jH+JjWyYmnqNlbx6j6WFhWuOlX2Ti4KdhpCZlLOUlp1rd5BudJKNnGxssJGQiX15fn6VjYS5XJyOX2+mjGV1lomEi4yJnJqJhJCPkJGNdKiQoW15fXJzjo6Cg3KIfaOAhX6EpoaPaKeqkq15cIFqdYCGZnJ3p4N7jXOUdoFohHeLh4qcZ3OXloFrnn+DW4aHg3uFgJiGh4eQl4eYlHlycXl2jYaJdniThJCafY6MfXmEjJCEpnFpeYGXdoWRgYJrhYCiiIJ9jnaFjYKIhXyFd3J5bnebhI5ydpmCjJmMfnd9lnCIhoB2ioiGhIaLhoqAh2+Gb498goCTl4SPhJ+ChYZ6coF7c412gIF/hH2VhIF+jYKEhXqIg4SWe3F4d3WMh3N7doyBg5mIbox/bYCGhGZ6lG5zg4OFh4qAgGmEf5iAgX6NhYOFa4iEhYx6cn92e4SJeHt7k4GDkJh0dX52Z4mFcGiRe3KGfoaFj4CYcISLpX6BfXyMgomBhoeRgHtzhYJxh4FtfXuKg319l3qIfnZtiod4aouEd4aCh4Q=","130.9|rm++b61vkLFQUoqeZaikn56WnGqGgI5leL2Hsa9inY16hYi+nml9OH2CrZeMunYYkIVwYDqgpoejmHZLbE9ohYqrvIyPbJlpyWeYnZiyqIekk5J3e0qHbrBTgFZ3d2U3omiAT2H6pXWajHBYh3VqZIF6jWeUd5dshnB8e5p//a1tbHQzcp6NqISUj3SauZpxg6P6oJFZl4CYgIR4kw97S6aDcqVxY3x5lZiSY2u+lJCdmopkbotzpo2prpqBdJpdhXa0lpGMkHifrIOAfHyQi3Z+kZmWmUZvtZiRhpJ6aYaWh5d6f29XiXOUlK/Rip5xoZOpd5mbp5KZcpadfoFmo5hotHOWqpBoZ52odnSggH5vh5KIs6h9aIR4dHZ3ToC9g3ScgKF4hkVpco6Lb4KQdnxjYnqjlqGCZJd6nmzUeJKPnYuOdIWKcnFiXpJceGm7j3mHa5yFdpZ0oHJ0g4mDvFl4foJgfJSHjIKUs3qYipR5bouihYdnh5djkHd6jYalYpSBf6hylJFrlIKHfXZ8iH2IsXl8aXN5qKSXgGl6e5ZzonuIha+Ki2OFjWVmeXeIgKtvg5R8hnaalG+VgW2Af36FhoGCe36FY3mVeqiGf658mXOQdYN0f3iLhniCj3x/X
23HB6lY+OgV67eplSjXl8iZODi3WHh2NnW3mQY5xyhnp6f3KmiW6mhXF6eYKGjY6Ien54dHyQbox+aZZ7lH2CeYCSgIKGgIJ9anBpeIyCkm2DgV2Qe6aJa4qEgHt+foKIn4CAfXhnfJ+CiXJojXuTgo92hoyPgYRyiH2FZGxoi36VaYyAYHBhlI10jIE=","129.7|n5HJloWSuKueVpCRaqy2l6aQ5mOQsZNcp1lps1m4lJGYoaPWvc2CUK+im0uSbtGYrHHqajjOh6pwVZVRTphsRolTj0V+ZnqgimGAaXC0XZ+WvYOag1WZrYZio4d9nnOBrol9VYv8haR4L5FaeHluk316emF+iZdjhXWLl4GXiJ+KbXOEcqSbg2mxsW92fLBpqWeom2tvjo93jpHBir6TX5mXh5OXgIyusm6VaWjWgaJ2j6Nli3h3lbqktoWecXOH6XO1b4WLcJ+VhYuXyLeRo4ycaaehnV+Om4OecqWCaZyHlaqCl3GdeHWepbydi6htZ5K7dcxqpJNrg42ui6DKm4u4ZIOb2o6JfIakjZt2s4xsn4KeanaTbJ2OdXmil5KSpXFsmaR3lZttcqqBi3SQhnuBhnqVlsSVaYx4YYWcd51yrop2aIWnlIigZo2qe4iklJJsen+ui56Jr3hzm4CGeHmDfXRufJSXenh5h3lpm5J3lHdthHhyhJ6knJx2hoRycIuVj6d8iqp2m3uzgXSLgn+AcoN/cXV5ioqPesR+eWmGhXmZXXuKdmyCjKB3pneEoXJ0nKGTcoJ8kpaJeI+Bfa1/moNegX1ibnmWnZ18fIl2ao+PdYaZgHOcgIRYYIB9Z3V8k4SJe3d7fWl2kHeXdJqCd3eFmJ9yk3WLon10gZKhXnqBipSce4l+eJGAjmZsgX5ydX2PjIt5cox5bXmDeoZzfYR7hYGSmWWaeIiOh3aEkYlkfoCFj4h6mHqHjIB4V2yAfXh0fZl+ho9nd3ppeox0k3eTf31zhY98ZrBjiY2CdIeHiXdvgIiKhHg=","143.8|fLOMT1ZfeHmptJGWm8GOf3B50ViavnZahF9gM71ibqeigUlWhcmU6GttbUee0ndXX29YrIRVW2VTYai8/DiZbGx1mm9iXX+iL2JxaXg5sGFld4hufpeasGW2baJlfZ92imh8s09uXmtp5a2uPnWXooJ/ZVaDkZBfhY5TbGNPjXmOmSyLj2Z5QaM4dmV0oHVrfWgeUpplcolujIFOgIt7yZl7YF5yvY52kVxamnqWZnZXlYmkjWWMWWBxdohXbHKTeW+Gc3ttkmhphZFufZWDilqhgoSCbGV4bU9/bkaOenVpZ4eOlo1sd41WX4VuflJrcHO2dIlrZWeadmpliIefkH1MPoiLqpZoSZ1SonFpS496XGx5ZW+Rl3JojaFxgm5/RmhxdJhykoeTf4Fydl2Ih35ijIhddmlNgmV0aJlmd4d2XW+OdH1UkGydr3aXnJp9k4tSV6BWcIOLQIt8ZXFtOaKEfl9rhWdpjo+CWXdsa492enpxdYZyd2ahjHyGepBQrIaLkz9cmnVHgnVqgXtwdIFeU4GBen6FUGp9jJZod2tofXZbhUVujHR6baKBhqd9gV6Xh6WOgnydXHaKe2aDeYl0bVKqgn98WoJRc1WOjGR2ao6NdYB7g3yId2prjoF9em+CaXt4ip5ue26ajXlsemJ7h3V3e6Nymod5jGKRiJFifGahZnODeXWDfW13iEqSgX+DcIJoiH2KqG16aoKbeIJriHiGjXp+mo+YqnqOdJyEl5ZcdqRtcoV4YIODc3h9QJaBf59lgV6QeZOQXnZsg4F5fX13eoV6doZ8hn+PfZFzoIWPj1N8l2hviX4=","140.1|THFxfIlwXJbLp19iUm51e3NXgqh9j2CabT92nIlTY4WHmrKEmfGCMn+TeYqflFlDc3LDXD7Uhm2LPIauplxUam2jRYFmoWVzb5enXbSbjH1fPG17gK92rZxje6B7j2dMhpR6UGYthYpzI3uhcYVXdH6AaKdpsIGYlWZqZIZgkpiikkT8ZUJ7e6tYjpNjYHmQrVvKkIGCaENrjbaaY7R6R6yDhJZvd5d+foyLYW1lh22XU5CZn5trk3ZkeodPkmPZboiCYsqIhmRkiX5u2qJsjWip1W+Xpn1wjYN9bXRqaGCDfZSci4mWlmqdioKIoG2YVpSSiLJfsYeFmWeThXWZoWilnqCYcoFnV26Ve3CEmHxskoRzl4yNlKJlZ7musrOmZZVam36HlH5oc3iCXpljkX7H0XSNhG6IlH6GWbN7iGxq14SEg3SfjFuGoX+fkbCVgn+LYXawipqvcnV2XYN2a8CLfZOfc4+GqZDGYYVfjn6GoHCwhIONeJ6eg32Ec6WlZJiCd49ngcVXd3RjenZsgnSSTYmBrJF1kq6HiYs/iWKehIVne3aDg456R5yFko56s4FtjIiZk36FoHiTdXl6dHmCa2tXhH6TnHWHgHqGsXSDZZOChnd7enR8gVyHdoZ+npN2jIOKi5FxhWPAf4eOcZSBhX95YpyApIB7kaBui3HGfGpqoHmFd3Z7e2iEfFZlhn+DiXqLiYiHq3eFaZKLg2RptoCCjnt2lY6hiX6UlGiLeqGKd2qMd453XndmcIF4SmmCgYSUepGDg5ebZ4ZoiXyFcXShgoCKeWt7kX2VfIyMbZB4pIiIdpJ2j3Y=","137.7|X6Wdnpp0mqOdVneGT4KimpuWrlttkJSGdWM0va8xpoV7fF+gj2jQMYSFrF94s4SVhWAAnjfilnNzd5ZRzYpTXHm9pF9zW2G3l4ZvdHe7qoSrwWWLfMKUN2pcgYmXgGJ/p3R/k4XNkYd+Fpxcr3ZXlH1+c1lkYJqCrIWCkpGcs5iRaYRJY3yDsamMhmtikZmAZXPEopiFnF5knauJiH9ZSIqbjoqCMY5wkFe0jGefjJKJhIdnm2hoS5p9jZBxbGSPlH6ddKOQk2GkpnSfer+BkmKdmJWbkmaVkpCbXqiJZ4ePtXy0jnFoZ2lVlH2smItnYLuKfpFvlZWakJ2ZfZlWpYUeeVhgZ5Z1QorDb2VoaY5tqImenoePaqtKaitwSrOJXmdfi7V7rFyIboqGb4qOh3yIknNOaaRuc3V1Y5Z1fZh3dImOl4mdhJOqk4Nvh5qafZeVUo9jg5ZtkoFzm4ael3yIfKxtdWF4opCMj3hqlpl+eXqBh4Vwiq2VimuVfnVzXo2RaMFYi3qAj3KLg3eYhqCBeYN8gGR1c5CSjV9bemh1fH+BZpiNimqEepqPcJ9+jHVudGF8aYp2e4yOb32EgIaGk3lQhH2sVnVmgIaJhXZ6aXOWgnV2gnOTgot9d4J9iHJ4ZIOFiWKOeWmKl3+JeIt/iHuJm5WRY5CAeX1wfVKufF6KkYiGdHN/eZCFjZplgX6TdXdpa42KYX92bX+Nfn5wfICCeYaWkKVtmH1ieGZ4Y5WKdIqFjodweH5+jIOak2eBfZhod1uLhIZ8dXdpdpGCfHN7foJ6ipN3pWWlf2d+a39ojJOFi5CIh3M=","132.6|pJiLenB1oXZZVJqaoZ5/i4yKZaWGYph4oFLyvl9wipt7irSmdZtjtKuJwICKhrQ7i4jynmyocom0rIdNYHafeojLhZmRnpour3p1Zqi+YIePQ5WDfliPumSeh16UhZJcnZl7pTzYcoN5opBYg4ibV4B/jqKTcZZ4qIq/gnKAfIJya57Ekai2dlGioJSXhdh4tGJ5pHBchWqWg5G5kOKjpIOBqZh4zI6HlduIlXa0dYi4mnxipFiPsKeVpqCsj5ZqinqPbY+NcIKLhYOEo4CKiWegiZaPlUmjhnuTl5GQdYl3iHeNgHGulo+djZ+IjoWUnWHCd4xjsJNvdoqifImBeZDKhZWPwJDaRZV8PXV8/YV4hXeTrIWAaYWljcW4fpzEtpaeb5Z4h8KNd5J5b6uDeX6lkYWlh6WumIuEnW3xfIRwtY50coKbc3KMYH6PnauDjIOTUovIfZWTt4Z5fXqBcYd4fqSOhJmuem+qZ4WWW5B8mHKVhnlogZdhknR2g46Nk4eImYVanaBykYeKhHx8eYywdHp+c5WGo8x1c5CHhJVqiXugZX6NeGR9nmJzgXyDg1uMjqSPkHqmpnuWiZeBc4d5iKiUfH2Kk4SdZ5t5oo2El3aRfpadhHqTfXOnfXp/cYmElHZ5dZJ1gpV3jXyYdaWBdnaAZWRqdXp/fYWHhH+rimOTnHikiJKBfYR8io+IfHxzhIGTmHZ2oYSFk21+fottqIR7hoB0aIN3fH+YcpGEjH90c5OPcYyIlYGGf32HcIp9fn+Sgp91eHaSlIOSbo9+h3OXgXt0hG2FaYpngpJwh36DhaJrh5FujIU=","132.3|gpaLg2d9em+8X3+FdG2EcIuLppqFfYxvrLNPb67igW15coujbGqfQKJ//JRGPcG2eYZlo7teaHVz15JcV4l4cYqHeF1rk5q9oHFznWlxqHiFl4+Df4aARXVbk6+Kg2iXdZd9rIqAaoB8a5hkyHV2sX58cJqVaJNriox9e25zgoqZb35ee4SHfVKEiImYhYByeKKnfpKQf3KYZmiDb2RGT4aAin6CRIiFim+fl5KMb4FgaHtndE12kpJ1gW+EipaMgHh2lH
23Z6kLCDMISfjYZwgW1seYqHjHlpfH6BhrGEko50gGFsiHOCdXx5iImSdX6PoaaAdnybfH6WeoKHfYJ4dmplfXh/qXOSXH2Ee356oIeMh3KJXH6FbH1gemmPTI5qaY2ehpl1aHaSi4h2domHjX1zUn2UhYdbSUuDnoh7e2SOpH2LgX+ccIOFaWxxcHWcf3R9Y4GNe2eJhYiJoXaDfniIf3RjepJzW2pla4GYoJF7dot6fIZ4gINgfoCBcXiFZoCMeqhid3eCh4OUf4aeeY92cYZ+e2t8hXN9b4VegpiJc3x8f3mBiHZ7X2GBbnJ0hG5smIOCZHJWgYxrg4V+gpl5lHl7g35+XX2UhmxudXaClXqMenOFfIWHeXFrfIOAg259jXp5clRNgZZ+jXiHiYh9iX99hmJ8YYBxe4ltgYy1cmhxlIZpg4iDg5d3hHt+hH2EcXuNiXxzX2yBlH5+fHWRcX6DdH+JaY1ucHZufWyLjYp4eHGLhnGBlYR4jnt7anuCfHBlfY17enJqboSXdoV/bo2AfYV7gYaEoH58dWl6boKKhoGMg5KCcoE=","128.8|nW6DY6Vbj52+dGF9pYKPjpCZeJpoeoxigmOio6eWl5Bjb36kkoh/ZIV2eopdTISmg5GpXznSoXikf4FwUbKgf5GvdqmIlIBGomdscK2joHKZX3hnfIV4bGB2dlGRbHuQhnmATZH8mmyKmnR1poSeToCEiJh6a4pn0m+uZpNmpJ6de2aIk5qegV6ffYuEnrhtcG60mI9ckV2CZm6AbXJtbH5uk5JmlH5xjbGIY2XLkICmkYhwfmCPraiGgJeGiYh1hnODc5yHi46XhG2BnGt1gFtzioeKhzqHnoODmYtsZ32Rf3KShHuLhI+JqIyeo4+NlnqSdHxxwY6UbpKbb3aDdW6sqn94zHi1VnWOgnF7qXpsn45/n5eEcphmj6DHe5aGmo6Pfox1e3FpcJaIX6KAjoB3eIWjlHWjaZ2Bm4Wxdl50oYeJZYWSaWdraYJ1dniGfVaRYHSiiIyBj3Rymod8goWKfpWFhJKke26voIOScIt4eXufhYVrg5pYi2uEdn2qcYaBfYRmeJaEj4qDenKHiXqge4h9dHmHoLaAcYOBgJVsfXmAX6OKh2iBiVtehmp7kWR7hZt2f2eBmZKPi3t7fJ6FjKOMg4B+hoShiZlznpmDkm2MdnVxeXOQh2SlhIOBdICEkoR9dGyogpZ8i3h/eI6AhneEdV1biIGBfJZ8gIOSeWpvkJCdiH96d5KGiZmDhn+DgoOMkYB3g46CknZ8e3Jzm4ODg4JzY2d4ZX54aYB9i1+MeW+Lk4mIdHtriYJ6k4aBfWmHg5l/fnOLjIKReI15ZHSUf4Jzh29+ZmeAf3ttaX6AZ5teeJCQioc=","128.7|jIWguFOrt3xiipePXaSdm5eUrZJ4mo9ll5Z0mlc4ioKDwXuylaxng5GkIFnOlXWilWi5gme0W5t5V4SGYKBeZYMYoFeJkGmKXmdZjHycWqOIpW2uf1mLomJ8kW9vyn6Sq1B9c5IBXLCIooKKlYVjgH5+iZFskm9sd4GbpGaidW15hZGDbISEhW+UlItohHtxeZBxj22IiqJou5ysknKnhIOpeJCcuYCNjlx6en5AbI51l4WEop9vaKObl4WhiWd4oHerinKHcVeJcnx3mpGKiY6FaZV+hbx1jIiNZYuCeohni550goGsjG6ZkrWJi5+JYX96eI2LfYhsooWIf6GUgY6bYaCYYYB7po15jbZdP4R8inCOd5CCg3mebU2OrHNun4dgimt5gYd5foNzjXOFeYGRrXdqiKedjqWBYntafZWHbYR1gIB2ioyRY4yGiHJ/jnhrmIdmk6Vsln1+aXV6dn1+f4WMd3aIinlyn4NnjHN6hoRsgnmGgXSYjJl5h3drgoeUiGSTiIGMfnaHgH16eHmDln2AjYp4gXSEfZOogWp2e3uTgIeGd4uDkZqfmXyEgnN/hnp9hpmIeIuMdIiBhW93bZqJfn9smXl1kIuCaJKCaoVzdpF4gX6EeI5tfH2AhIV5eIeLfn+ng2lsdnh+hIJ9dn+CjpmcjHeIhnV/hXNMZ5CJbot9dIB+f294e4CJfH93hHp7goV4fIiBaYJye4+MdYJ5iYKOk4qGeoeNcoKAcWFpgod0iYd1d4GKcnt2eYd/gH2OfHd+hnRniYBqh3h4j4GGf3iDgYl6kpBphIpyi4FzX3edf3KLiHg=","134.1|k31Wk7GnZGRBdWxsZGhdY2iDep5vi3NxhaycYLDFnIRloH1yWImDU5Wj3YKqCKe/rXR7mXpaqrCd/XB0UphnhmzMb2qRm453xXRKk1pfraOeZIGfgJJ4WE9lnoaZi2yfo2Z/q5jeqKJ96Hp0y3dqjH5/jqCHYJFweo6TpZyodGlid4xgbJiFhWuEhY6Riad3fZZ6bJV1lHeIpYOMh1llYnyYgX6jhoGBr46XmIOwlqOHeml2dj1woIaRfnnBjpF/mHWBj315kJ+bbnOge3aBiWVrbp5+iXV3loKgdoOJhKCakmeLbXuGdG+Be4aSfImToJqLdZOTbnWWcZR7caGHgISTiYWDvWSvnV6JaJRif3eEdJKcc4RueYuYc4+GoXF5npSce5p4fkmPgqCLp5iecX9nhnaVcp2Tb3+Do3yze4SLe3aLaYR0aJqFdHd+gGB6kVeSlWd6gZBofYSFkYuQoodxfZtreJB1X3Nrl4OacZB8gYqOfIluh2tTnJiGg319aXaQkZGUYHiPnXxvfoWEiYiNlXh+g2l3iWh9cn64hpx2gHqneIx0iGyEhVqBknCCdmR1eZRqcoZtc4p3e2WBg5mHn5mren2TZ3akb4duZp+Dl3GNe4hsgYGUiJeOmniAi3B8jmh2c4qPgZ6Cj3uAiHZ7ineFdFp7lYZ7h353eZ5VgZJjZYqLemqDgJCGkK+YeH6FcXqPbXx5a4mDlXZ/epeNW3uGe4F2YWiTaXluZ3V2mW6Rg2N4jnp5YIBsioV/qZd8fm9ofJ1zeHd2kIKYfod+jolufYR3hnOAZXiGfHZnbnuQcZlwb22QfH8=","142.7|lXmziat1m4ZiW7PPd7m5rbKgqG2CodBZqcS6sa1qjK95SIGboLSp3Ll1xqxGHOWNZZyiYc+LpWeTsntUAbB7rIPzb7lncZnQrVu8oWK2pnGP2ZR9eWSKs72zeJhkQ6eZXIp/VKuTo3ly+3dcvIx6xoKDaXOShplfhHNGjJqXo85rb46JfaGdmEa+iHWavNVqdqaApJOYjsybdHRdj5+Bwqp8hKaM93KIVLAwZ5Zhk3B85Y5nh9x8j7p7jLx5d5akaG+FnoKNj4GLr3+sW1+UnsuHh2qDf1uFjrt+oIJ/mX2YuIqRg3Otm4BynIt9pJ55mXjFcWSihJKUioaEg485f5OGiaO1O25+KmV5kyOyhYGTl5CMLpaFaGt9fNt6VrqLYHmZbbJyiMhwjHKKjaaye350SH6Nl0c5kIqBl6fDdWyXbYyHroCddbFoXpF4gmOXWU+cOWWBg1yGbnaHpoeynbR7fUOgfYKjQGhmhn6VfZR3hpB1hYR9gcBicWF9h6CDpXZ+l4FAXZa1gY+Jf4ahhrV8kXt8gpV/bGFobpVTfJhlxnVnmmOMiHmDn2KfZWCHeLaRjkOgkY2Ei4FyjpiCiGaEnG23en1rvX5ziFtxn4J9lZyTc2+TgYmAha2Fln5+ipZ8gYZrb4ZffZSKmHhzjlWAjIiEpmOsUX+NboGNhUeKsExakYBoi4p+gpeFhW+ne4B6koCDmmp1t2J+kXyBd2KUa3+FaoKfar1YW4qPnZeQW12gbFiBd3WMi3pwkYCxh6F+fWKlfnhybl+ZZ3yTcpJ4ZI1PgoF9hJuEuGxwiZGVlIRlYWqHbH56dIo=","145.2|k6SgbUZjnMuNXJSOqrHHvaWip6ZPu9FOqKvotVi1oO9XNZzHdt23xpdblmYsMIGxYpi2qTuiUmy6f5lUNJ+nYGJoZ5psnWCJfVPCm622XWindVpbgYqQusmkYIxkS6emIJl9qMh3VG1/qJ5iz4yklYCCcKNgn29TjI1IZGFnobeKbmTBlZCjl4g9lZJt1cZkoZzgonCYmb94TX3Xh5vIr6pDyJZkp6OvRrVnmmdZZlhvt3plx8aVcrGPltRpk2zKjm6gkoSQcJGlimJpsHd+q/y8oDeuopi5sHZhm
23KKPbF9heLJzinWzlJRtqNmhxo+VaqOAcpeamJJsd5t6flBlcoOTgc19SW53vVegwHO8hopumWlfMqOGa6aalZpos6WLcJRkrGZyk6aPc3JvjVN9hH6fbYl3fWV8lY2Ge5Fmc3WMvIh2g4d4eHpmY3mVn6eMVGV4rWaujHWet4l1h3KBZ7aDelmZhHGKaHl5a4V8p290ooygh3edhqlqbGqOf6CNm3NgcYCsc8yHZ4pwgHR5dGtilIF9p4GGbVl4fIZVhYGcr3eMgnmNdqOHfGlojWN7kqWNmFegj22LoIZwinuBenR3fGWUgH5OrIZteH9vu5uEgrBxcYN8hXVqdXxnj4F9lIuHc154enlggX2TcnChi6t/do+DfGtxmoZ5i4KNc3uMgKVelY1vjXh9dn5zb0eQgX2Gh4NxbHh+iImIg4Buen2Mp4R8f4N6cF2BXXqYo5d7eWhjiFyMkXaKZoN2g3d3QYiBe2aciGl4eol8aYWEfnZugYChg3ySh3Z/aXF/f5KZkn9yaGd3bI+Rd4Y=","130.2|YIhhn3CgY4BljWhsmXlvhHWPhWi2kXlviVytlWeHhZiznnuIoIiWtIidqW6herW6n46ac1f9c5+xr4iNspCUV212hGeQa5WckXBhbomVaaCErqKcfq+SaV2UlYKUlpOph3h7ZYhgcqd/3IWLenuToH99kWqZcoxvqnS9jnWRjpN4iomWjKOdjJ+HkHKSrMV0nWfAi3GVhm6ZmKupjJSMp5mMmJyPfKiaiKyub295d4uceY+En3GJnKaxp5ehcYuElXaybZ2FdH2Fk6R4pZmRmWSdjoibopyFpYSOjJOEbX53k5zMh4SIhIyWp5+2nIdxdbGMd6Jxl4Z0oIGunoyljpOef5h3eYKwsXKliaF7l4Z0qHmKnqOEgbRpiYawpJ+Vq3J8oqJ3o2JtdZV3h426e4CRtIOYeqrPkJd6aXvEd5JxrYR4eYCVmHmhoYyElaqVhmaYpnmpjqaIfHl4cXx9gGl8gL9vhIejg4yginttp4x6h3Sqg3qWgJupkJeFh3mLlJaMgK6hfZ5+gIZ7fnl2e2ychX9+lXeCmJ94iZWVem+Ge3iVdqmEeJuBsaJ7jYuIh16JiH6Ii39vp5uQg2+Bf4J5d5uofn+WX4SceKqDlqp6d4mKenltgHeCfXeTqn19knGBh3lwiZCRfGx2jXqEdpF/eIaBkaB3mYiKj42JhYWFhJpzlZeHhmt8enV8gZiTfX+HdYGEbHqGZo57cYCSenFykX97l36XmGegiol3dIx6f3t9iHWMmIeEbXx4e35pd5V+foZsgJCCcpB3lHpyg4N6cXmXgHuMfYyBf4KchHhulXt1f5CDfI+Oi4Q=","143.7|kYJNo1OTcGFDr3hpY5BXaG6Ug1Zr83xqd1PEjbE3pp9dmz1qQp6c13F8eUyZ62VGkn55rktmXJ2PpW63m1xjZlbGwHOcXI2gkmpIZ02KqYevb32Cf3Ryki+zc5agk5lqu1SB0j3lYHlc/H+orYJnnH6ClFaInpJoqpzZo2fEZ1lglo/SaZqfVrJ2cGaSmZ5yXmQ/e41cn4qOm51qg6uXv4mZpnaV7olrip1xr3GPaqO0x2Ofr0JsY6h8daeSa5q2bne4bXKGjWyno2ySbYV7hlSIfqV1iaCEnVSLekiKcppmhmG4Zo+xjmxzbZSZgGliqoahc2FpbX+XVZ5+co2UXX2SVpBsaHKKzZ57V6BQYnV1f22ElWdollurcIi83GiErWShfJ1zi2qocoJwmJ23b4J+7HReYLa8oKl5s6ezeYR1S36Jb4iHYau3YWt52aVleViovJ9YiXhyZI10qHOQbrtxgJmVdmp3kphXh3ake411eXKWgoRkh2xIfY2Fholhn4x2d46zoYthk31efniSc4aYdXZ9dp50Y6Zyi3u3eKWFdHmPUHF6iFqEqkp5nYl/bzuUXlyDgoG2YW95enGBc3l3lI20dn2wknZkZXSQgJ13o46PeJpZgXqBeLSfzniAeIh4aXJvjtSzeqS0i3V2dVp9hnSKdE6Osn9xemuPfm4xnKulZm6AenOHe5d5gp6aen+BgnprZ3WHlYd6oYx9e6Jsc3+EYIeCWHSjg3R1XKFyZVqIjadwdn54UohiinuLgZx6gI2Ne1l/cJSenXmikox6hW5gfoNviYaBYoB2doBakXdwWah4mGh6eXw=","153.8|oXGchFSKdn8hxZytV6qs6VeCp1CoRYDJsSp1S1cAsKS4hLwssa2M3dFxnKGjgMpfeIsKU/sqWHFZ1XTYwmxZwFx3PHZnV37AYcJPUlVLXXu4wJF/d+qSK0+ndKagjpt/j4l8MkBLWW1t/HDBwYtbyn5+aVOHLna2nWV9kWKLqZNOoj6RYpyAmbY6eGZ1vtSlnErUX21/pqd4iMKGqq2GvJ6QcYGBYlejbIByUaFcaIGNnZCjmJhqnY58g5yMaG+EaZWAX5hzbUW1v5p5gX+meAu6gnzBhaNVXK6CkZF/pH5jgWbIfZZ2kmhOUK+TdpVhYbdOlodXSWtleKeWk38Uh6tEb6KKLIu4a1xxVHN5bYCfX2p5esZ9mZ2+bX5wfdCPOWFkaIePv2xZlVdzd6mHZ4Fvu3GcLnRgmHV0V4xkkZhldnNxmoqKo4l8m6FeaaWahWTBcWlyelNsn22RXHKOfY5ygsyedI9ktI2VdXpeb4CRimyeeXV0i4i7ejesnXFtpIB+wqt3WEdlgIhLfo9xdZmrmnWDnI51i3CVjDR4eF9ZWImDZ49vcHOFhrmdeayVh1mPdGR0Z5J3eXCAiIaBiVt2c3y2doOhmHWSTnGBiFN7XmF2kpddgI14d5KponiCp497inOTjFRieWB7eYyAbH58cXONm7SnVrGgZHGLgF5SknpiYGxkimh4iGNyg7CPdH24knmLXZKKXXx4YGSDh5dkb350coalp8RZnJlbaJiOYZSKemF0aIGHWnaqbXuhm518g6CTe4t/kG6GZ3ldZW6Pj25vd3V8iJF7sSnCmV5rnYJ5k7eXcmRmgIc=","132.2|dmGMrHG2gYNBh5uUbHFyfHWAgWxoi3xbd69Jnl+ahmdzrF5Mb5KBSYKY3ou0buuPtWZQbME2dL9D8GCGXHVsgV67gliAcWOlwmBUmGKhZqqEiGSjfnRvlU9lo6OVmmWEtm5+bW79dZx8lmSGc3tvo31+gG1mgItgUoFwt3vFdWRig4Jed2pgfJxJf3hkblNqS5x6lnN8iWhgq3lbjadXXHOncnWwNk1dplODd5K5erJpl3GDQV14V1ZkVHCSe2uKe3Rzk2GGdJKEUHKnMHeGkF9ZfrJ2coJqeZ+gZYF7l693klh+aIJMaHlsT09xX2l0bnGbdnmVU41xbIJkdaVLj4lUaGx5mm1xqWxyWKFSonKQcHuegWVwgFldeEchaZNUcHNpZ5N0bIx+i5eAr36JcYBGYH5cU3hfVmN7bZB2eGmNYoR2dIFsfa1xf4SERFBtl3aAoHdBeHVyWn6JnXyUiJB0fYF0e29RY4ledH5xe4t1dIt3g3lvgGWGkYN1iIppa3yLfZKabFuioXabf4mPfZB0end/dHJ8eV97iEycfG9teXt3mYSJd2yBcIiFX4CEcmF1eHx7cY50Z4JwcYp+hot/pISIe32LcXtxdnCGU4t8cGOIc3iWfYaLf6x7jXuAenx9bnV6h1qEfnSLiXdyim6CeXiAgYmJYHmEe3J2iJRuc5d1eX+AdIuAg5CAj56GeX50fH5yaH2FdXF7cn2KfHeNbYJ8bYCCh3Rpf4CEamuChYuChnZ3f3V1lH18iYCMlYJ8fXxzfGd2foBzin5zgn91eolwgXp4f4R3a394goJtbX2IhJl2dnh7dHQ=","150|P7aNmGW7lsLbo4BhYX2HZJWckWvW7IqvszSmwVyta8LSv46CcqDIEou5on7RpSRprW9wwCsAaKllmKWaXE5mWXBeVkNqbZ6ulqlnWnDBYqlqKbCigIiNjH1FxN2cqVdbpIN+xGR0aJt/M6+WsHFkpX1+bWmou3OngJuBj299n2qtjmewcJKheqprm3aWcmybhFHbomzIbH6lmLWtbJCILqOgwpGaO36SooCio2OgdJ2JXH6Ppi9xj394e7Jkd4nKlZCJYLWRcI1rILyayJ5qo4OVzJeho4WOtkSYYpWNX5RwiIuAlIZ5mHSBfqS3d4t0YtRtjqVZdZFrrHBzrofDeGSMorBDjIWKUYOfo4BwkZJkU3OOjICMhKifb1q4y4KGXHJytW2QoDygbnp0goVxjoGFrnqHf69pf2R1UaZvh5VmyY92o3qBsnCaYmqlrJKBsI6aWYh1lFaAo41wSnaArLiQgI1wepVeb45ok3pfp3aKfmyjhnWVe2DJiKCEa62cWHufhbNkip5VkXRogWxqeY16lIqBbYN5kXJ9i3NmeV2deo2ASa6OeJd8ML6apWp0nohocKedd4aBenlvbleAe4B6fYxfg4ChU3iclV+FYaB6bph9iox9f2uHe3J+qomBa3R7lIqAh5+Efl69e4eCbZqCd
23oZ6X7aOuYBpmZlqcJKQeWaJaH9qb2CGdlt7jZZmiYKEcnqWdH6GWHR7aJ9sh5RpcIN9hn1srLGyZXN1jGlxlJadeYV1hHRuW4VaZ3yMmGmEf2lle5WCfZ5iaXtok3OMl2uGg36OfGuDspKAcoOEV3yclJ6QjGuAdnE=","128.8|anNrcp5hcXaphm5qb3xqdWBuiJ2Ajm5zfluDpn9iZoyHW4dza5NkspdxsT5dVIh9fZB6fEf6mXaBoXmGq3ZyWWJub1iAl22ajXNpbTymgHZhm3Nvf6FtX2uVb4uVVpWCdYV+g2b8mXVlr3iGcn90mn98e55xZ4pxfn2TapB8b4eLhYCZdouCe3SDbpBrZp14vWmil317aopvcJqSY7KVoXdnhHlneKqhcG6MgG6rjG9zaneJjHZ4kISJi3eHi2tyqHqNcW2He3hkcX17kXpteWidZWmLi1Jrg2dylHx2bmiRkoOOeYF3fHdxe3uAYn2SYpl/eKNsXI1/fmuRgXB/eGaQTnlrbnSTYH6AYV+FmnZyrYyDYW13hJKneHCOsX+JhZBmfph4knSFdXuFcImKiH5xsXmPXaWKiYqFX3qFfKB3cYmDiHmZjXiDkXCEjqKDZnSYZoW6fYtqgYF5kYWHdWeDgJqOeYZ8lnhVeoNqbod7k3Z4hH9+e4Gcc355c2xalGlrhKRsh5dveYZxfHeAhYF5d4KAjYl+b2qIeYt0hGZ7cXuZemeLgH59hplrloV2k1yIcWhzZXR8iH6Ih357eIWDf3yTgX58inqQYpJ2YnGCaouIfoJse3p9hH5sloF8j4V6hWOEd5GAgmh2h3mcd3iCgYJ4iZh1m3pximiHc2GDgm5+gX+Uh3V+e4mDe4iEgoB9gnyFYoV6YYeFanqGfYZyWoF/fnyKk3uPhXdxdpB2aYdyeX+HhYeGZYCEiH+NdIh/fYOGfol1hIJxfIJsf4d8iXRqgIB9eId9bX6NdnN0lHlth5lrhYWEhoU=","134|fGhomF2RPlbJlm9mo2twand1UKmMbHZUdlKHpKykWoWZoTF0lACBmGebCOWW5mhTo3wmXdj8YqReN4CVpUiftoJ/h76OoW2RWFhjZ86ko5xVyniVeoBxWU2SlGeGmoBonWWCTVatY6GWbHGQh3ucen2BjqR0cmdffGyJjGqNhGiijYRak4iBep+fc5FrlIlma2KOmJN2YVtwjYNmantvkoKIf5+QbnllmqNvYJ6jcJOrg4uOg3KPYX19daSGkGmANXGVaYSIkIxZ2IiCYopyeDh9hZOBgX55hmuOeH9snopuhWCUhoR+f5Fzk4yceHmUWJhQckhnjo6UhGJ+jJBkZWpCxWturpV5p6OYRKlqS3uarXCRv3iFiF5gjlJ7TpyXepdeg250gWRrjp90hqKJj39/eIZleX2Bm3uCU2RmdXxvaoqJYHOJmHuScoF0mJuDhnikn59uaaJ8iHSPj3h4iWiMgYBrhmifjpG0fINeoG52c3WjhYN9drOqlHaScW23hYiJa4qam2ZriXlXeo2Dd3KzgoSAaW+GibV0imp4hl6RTnmPW8KLiHp5uKlxdYl3c3SGaoh3oneXh2CQe294gpx5h492hn2qX4VpY4CNmIqGYnhvdIFqfI2KeXe7foJ9anCBaIV2i49pgl1ob3SDcpaCh351naVqcpF/dqKFeI2LmZKplGeWeWp7hox6hKVwh4OVeYJufXmHkISDZYBxd4VzqoKCiHqen1dyjH5zaIxzi22ghquHaIl7bXaNiXtrqXmDfo5vhF+Oe3qbjINifXJ1enGPgIN/cZWAX2SOfHNtfW56b4d1l49viHg=","138.4|l5t9dFFvmYs5s45nrGqMt42Bmatr746fh7B7OVXxj7xeh3Jze4Wic5yCqXJkAHKHkFpFlCHGVYdn8IG3jXykgZPcL5Bso4ngkaBomns3W4GOvYCCfrqUjGCGj8qIlXSAjG+AnI/KXYd+tYmsinWi3n9/cKiChmucd4tDYGJkhJdfmHJwlK+qm1DchZeOkXqUf5yEVWtsj8aOZaubodyCe6VvhZ5ygm57p4aJj2LHaIWTsn2dao+QU32abbhwk5LOool5lZdubbeOlXFzUouZmYCWpo+NiG6gq5ODWZKTXodmZKihgI9zf5JslXZxmqGanbpeiaOYcGZpdYh+cHqXpKFUmqCd4o/Bk1hxja9ZaIVloWuAXZ1/mJ+Cj4Z2sJlzXpeap3OJq4OIb55xZJWkcISDeoRUlmZBoGKGo71Chq+NcG5xVoZ+Z2GQp4mmh3WKgYqPjldNbpZ6fIJsoXJhlK9ygHl0iGOPeGuAf4SbpG+GjouLeHd3gp1ViJyHjaiJfGyGoXOIUoOignFthXCOdGKgtnV9lGWGXVh1cKh9hpyYh4KBoaRudW5/gVRYj4KHhoeAgZ6qnmR0Y4ODbXeGhrZ4f5mXeH+faYRiiGJpepyFmn5yiXuChXGHeFSoiXh9m3SEZoZ4cr5FhZq6c4R+i3B7dXqDmVhWm4mGoYeAdaFnkoRMY4SOb3OAdJZ1faGKdn6MdoVpm3h2onmElYCBgoiNc3h8hYGWYUqKhYZ/cnd9mJmogVJuioFwa4KTjntZuYt6f4Fohl5+fXiSboOYgWqJl4tme3x3gpOAVYWihYJ2enmPl3xuXmaIf3E=","130.7|e6Kyi3WMldFuWJWrhqi6xrmam4qrpqqtc4qohZGmbJaZlaWmfubHi6eSrH+Vf61WpJS9pG14dp/JgZFQg36Dc2ieen+Gh6aprqh4h5GJj5dmk6eMeZSVhHeElJKMjYRlq5F9qFzkeImEPZ1bZ4SEkH5+hoyimpClvouZl3eNxtR+a2iifpWti6N+kIGhv8uciof9ioRmb3SsiKN1j6qCiJ6KrqOIeYqOp6mYmXzAeqCwcH9jdKyCnpaRoZV4gpmydZGZg8J/g5ZomZyRooSMopCSsKWdiliZqZSejXSTgKB9hJ7MiHBji32QloSmjnuIkZ6diqeGj4SJb22wjpBmsI+kiZaMvYaNcGWqcox/pIt8gXuTr4mHaalqgGmSqaKZl4WXkZ6KnWyMfpZ8h4igf35/mX6WboGkfZ6Bj6PCiH6Cq4GDbXmQhYNcnH54UZWTkXiPdm2ShYCIaIZ+hXuIf5F9fauLe5CRl4umgYCLnI2JfYOSgIBzeY97l2uChoyQg5uKd6N4baNxnIFxgn6GfYqQbIB8lIV/oZ6Him14gYyJj4Z4l5qFhG57jHd2eX+BmnCGg5qXgXpzmHmDf4CDeZN8kYZgfn54ln6XbZyFfY6Aj5iNjXRugX6Re4SHhn+AiIaAin2FimalgI2aiYl6g4WBgnp6h3dxgH5+fYaDjpWadXhrj3WSg3SAfYV+kIl0fn1+hX+LbIeGc4WBjIuPhWV9j4F/gX2HdnV/fn5+d3+ElIh1e2qHdYGDZoNxgn+Cdm5+fXmMe5d7g4J9jIKMjo2Ob4GQfIB3d4KJZ2WLgn15foWNiJlsc415gnw=","137.6|eqGOnVaff6HFjHWAXpia3HpmkHBwx5BXeJb1V5D3laZnnsiLeP11sqyhulmWYrllnob4pDCrWZ2u1pqTJXRgilvlY4x/dIRmylpziGBViZ6XT3+afn6HsHKgpoSUoJJzg3N9p2lPXaRs1J2KvIZme36AgHCCmolem4ydhGaJn8GdgljDbJ2orqqHkHmMouJnmY20ZIOokZuLkaGTbK2UpKqMi5+W4oWRntaSl2SAbZOuqISIhYJwpKCSoqKPe4zAinKlh5N0hayXs3SKjmZyn4eOrYySpKl9vJ2OhXCEY49qjISKjoKopnGYhMulkXhzkY6jcq+LjW6Gm4+MeIaUgWnEfKu4nWWZvVmKgbB6woZqnXCBeJSKiYiZcMqc2aiuoXSKe4N3hn2Qc511iKGIjYB4vneWX6GsgYx6lZO6dHOEjnh+coJ9b3ZvZHCKpnyOiU+zrWSjkJt7ioR0inV3kqqJgIKQeJCKgI10aHyOd4R2lIa2eoKahIpikI6HcqB6lJWUmY6mbMV8goFzgnaHd2ulhYZ+lI92i4OLiYZ8fZKbmnmVbn9zfpuCdGJ9oFt2qXaPg4mMmH2Sin90fXZ+fp55iI+mg4CMoneXeZCCiKh5lJWGc4Rzf3OFdmufsoJ+iYl6kHiJi7l1fZKSgnWQhHF8gYaGbmJ0o4Fvg3mKiKR1np1ii351gnWBeYN6g5qVg36Dgn2NaoiFn4l4jYF4e3l/cHqBh4VvaV+aVXWXe5CIkmKUh2CGgHuCX4N0hntfmJODf1+Qe5N8gpaMhHuPiYhzhX1nfH6Lg3GAjHl8dYx7iIeKZZuHbYd/dn4=","133|Z56IfF9wkq+ccIuIm3aTl3N2SF6g
23kYqif1mfmqQAZnSekFGPm9mTlnh+WaumTmWleHd/jY2eZGhtbpptIY+Yd3CzTIVyYpB/hqCqa52Zm3hhYJN7f2uTpJqSb4eNhoiZp2J8gqKGZ3V0tZdzjoaXdYCAdGGPsXCZvYKAfm6Ej46NeXqdjWRyn4Nrh26DfHeTTmfFkI5van2AoY18iJCOkqSdeZt1cz1liqxcf4iDb4mZro95jnSNYGx3Y5pbbYTAcIxybZOFjEhlhJaBiYGGgoORvI6GkHh6gaKJb5CDgnNtj4h8kXydlYyDgI2Io4FshIF5h2NopYmShGuGh4dqf4Z1q5J8XXV/W2BokXGJf4yDenKFbKqQeIpViq1ph4OUY2eIf2eIe5V/hnl1Y5GEhHyJhoRhiF90l4p5eqeKhVR0ioSJi3ifiXp/aoN2lZWJiFW6YWdLp5KJgn6Dc3eFibeCfnmKhGtrcoCFiXt8mXSHb3i9gYVweZ+Wh3uAgaeoiYeJebFma4aUh3qcgoN/eYidm4J/eHiDeol5gnmDeXmTeIRUao+IhW97dpOHf2CBfYuFiHOQm4iHeIySeI2BhXZ6fIKUgoCJk4RtjW1/so54epF1iXuCgYOHeXylwIF+dIeDbXaEgp+Tenyoc4Vkdnl9iHl5cJGOf3qAb6ODiGFKo2tmdIuLd4t+gXZ5hniJgn95hYVxf3uBoHN5dZF3hG92pIJ/fnp8kZ95XYORk4WGalaXemVwiod5j4F4d3yObYt/f2OPgmNzhICWent2inaKZXWNf4J6eXR9k5Fuf4qNeoduWZiGa3CIin8=","133.1|qoKcgnhxnIlNn5avZaiotqqL9KFz1piwlqdWU2epoKBmjr79WUOjPKqQLWJXltZ8gZXdoC74enGncXOmnoBldXxcma+Amo+1RatplKhTan2kuYaBhIl4XEtjloV1lG1th26Atm51eYqJ0oCZsIJop36Cf5+Lf2mkxpTEYnZhdr5mjKySbrGpVHXZvo+Tq4WdxZmOYXGIlayMZq65hG+jT6mHpIJ0+Oi8j3e1omWPeYKc5XGOjZRyotuls5CpjZmjpY7ZjX9zcZWhsXaS0ql+cWqBkoqNn3CPppyIkamIZXt7h2yecInPi2+soraUpaSRp6pNjJyYtW5xmZiScX6YY3++f33ArKGCSJabgXpvoXlnsHqGuL5ujHK7c87UjJ6Cu5OgnGmLjouecZV7Up6dcYC4pXeef62mZrGFqao9ioOLjnR2fYeSZWK+c3NpdHaVfoJdU5W7jZKDsIxumnp7RJl2fo6LeJKWkYCXi4WimWqJnoZ/eHl/hZ9RipyLgml/Y5WYl1RZopOYhoeSgHWSe4Sbk3h9i5N3kah2e7aEg6GIYYenhpZzeYCEl1V8gYyAh1ZwnYl+aHKjkoeJiZyBfpx8jHujen+QmXiUi49+kJmFm3xwj6NzgXKPfFV+knmAjYR5kX16fE6Cgp+VcImdi5B7d32FmVV0e4pzd35xhXZ5X2GSg4WAiZmFd5B5hHCReYCNgX2OfHp7in+FnIZshpuIlnp8iIOcXoyAhnh0YW6GhmN0c5SKgYaJnYWIh3x1fZJ7gIuLe5Z/eoeZe4Kbi3CLjYWAfXh8iZB+oJKDeXNmaIB9Zn2Jj4iChIU=","137.8|Z1iVhlCIprDJgm9tTZV4eZu0pqSKeJRRdJhVqUprgpGDfmB9eGyRm2F+pUKGW4CicmdRWi1fVnJqYXR8gJxQRZhnglaDnZbNZFWdiXqpU3t6tpZ9fodejbWJerFmjoqVaYF/X7UBW4CDNGZ8UXJUsX55gqSWmo1aZ2tRfmRvl4akgF9IY4p4oXV8eZKXmHpne5KKl2echamdd4d5THOWkXJynJd7XnaSYG1ybGZAamdsc359bphncXSEo5R4kpWHt26HiqSMam97mohnT6RemN2gZWSRmaFvj3prYJ1gZGpocc2geX5KaWl5roKArZeXlZmWcMCIipBkj3uSg2yAsFVgZoF/R4p8gXe6yn6FgWxrcW1vU4h5fZltampIcnl8cpSUr5twoY9ucl5ydVStkH9xTnV1ppeKeY+Jl3WZdqKIjolwkYSEd3KAn3CLWoZ7eKVmgHN9emmMgnpxXnV0iXKNflpldIOVdn2Hl4STs4x2h4ZxhXePfY9sbXeAbYxpj2xufIiBZZ6OZ3KodHRtdXxmnoZ/fWp0fH2KfI9thJCXlneLm3aMcJiAkWqNaolwcK2Id3WYkYFmj4h8bYN0e2h5ZHBdh3tmVXVzr59+k4KElKWIcWebc3JoeHVYa4aAdXN3gp+JgGyHgpN6i3SJhYmBcoiAlGqJXHptgnaIcXe4foFulItncoB8eWd2cmVwin99cnuEj4h9eIuFj4eUd3KIeYR5hn6Jbpdxi3WHnn1veJtkgG2Gj3xwlXyUcHd9W2yFe4VjenmDhXlpfYONh4JwioiNgXaJe5SIlIWHcYGYknd9l1ORd5CNfnM=","129.8|zo7SoqKrw7Fchru9bMS3sMG3hJtycMRcu1X8V2RqnrxoyaO2k6aEq766sbrVpo5Frourg5OFnqyxdISMc3tukJSjoYSMmIxNx1+WZ4hWaaqjTYKvfFqQo6aRrGaKs49h15mAfFu4m6qMMIOFeoJwU399jZqHiJJktoShr5Sp55h1gJWJdLq5llGbl4+RvNRroGPDYnVzl5iNw5Oal4ajm6C6ubinknyTuN54foG1jqy1lYN/pmt3qJ6erMuljZJ+gnSSa7d3dnmecnahpXyPmqOxnsOsnGeNoISyjZ6IgqSSn5aSg4CCpHWKo6iykaWRon25dpZorHBwj5Wyc7lcmpOVs514v6etTKOlc4ycwIWAd4ysqpWFgqCrd3SsaZXRlJGafpd4m5B6gKCMiZp8eH+GfHqjo5mOnZCEpXv9eJ9xs3N4fYWjaZJtY4x5m6akqZ6xWZmji52Nsnx+d4iJuJN8gJ6AfJamim+bqYObZZN4gnKVfHtsh5BVpmF9i6OukYSknK9gl5JtoYWBgoCDhZuVl31/ZY56p7mHdGWJg5xoqnmhZZVzeGmEj1iVdoOFg5+Khqifn5KanXCPhoOBfZGEj5lffn+BfnqcgJx8lZ+El46Rc46Vgn+hhIyVdH6AY4N+k46IcXmphZ16j3iNdJp+dnWFaFuIWH2KcJ2IhYapnmWhkXKahX5/fXyGl5lufX54g36TjYZ1eYaEl3yAeYxvgXt7h4J2YZlfgoeIkI6Cj4CReKGLbYeFgX+Oe4WMkW1+gYKGfp56hWBxjoCXfpBzjHSQfnpzhm1+gmptho2Nh4SIiJR/kYxuioQ=","139.5|aqFrq7WRXmfNroOJX49sZYqgrWKMw4qyka+sUrewYbR/h7CPcGyrP5iKy5ZKlJGOj5t3qzWlsIqq3Ju21H5ioob9qM15Y6KDmatolI1TrolgQ5mYfrSBWl9jlZx4nmx9mYmFs42lqY6L75+qhXJjmH6Cd2KZb5yobJCynJ2em4uml56BaLiriYTLoW6crqOdzJhXapp0Z5OacKufbEyCSp6OmY2T/OGqiqK7nWSUmJGqh3+XjXBuuJqZno2nbaGRppGLk6tzlqFjlIWbo5psmoyKoqJ9moOntISRl4yFYZ6akZinjY+QjGyelY2Vo5hqqLWZjLGWmnKcdmxzepC3lWSKro2nmJOvbZKdr5SDiIdnp5CVtLKJjpPBbdi7l6CXhWujpKWLr0uTcJWNdKSskoGjr3eujLCFm3l3pZWiiraMhHeNeHpkcZSqr2uDp25+cIx0cZCpgHaGeYhvvYyNnI6KgZJkdJaOgYKtiXWbepOJnYeNdopyeXtigbOLb4mZYneRoERxio+SkYpmgXOxjJ2Qrod/oHp3hZJ1faOFdpePl4iqnpR3imZ1aWCAlpRygHxvhmuDlXSfhIF2iFZ9gY6HmJeyh4C+X3eYjHyAh5d5mX6Wjo1nfnOLiYeakISAqGx1mJNtgrRZfZuqlYiLin59jHl4aGR/pYlti49vdXl4jHCJZoZviWWCeaaIgpicgoKRanmQjXaAl3p6lICZhaOGe32GbHhvapShk3Nrbmp3c4uieoh6hnmJWoF7mYN9spqBgI1kepiHb4qbbXqVioyLqI1ifIZ1d3OClXugdHZudXd3kGqNjHCIeok=","145.5|07DnYbpcqt0wfOuzTIHgy6+wUUljqqKlcMChRLdZrtBVTTl1eTHnq51XTuBUTrVhQmGKs9giskmPh4yDhTFNnmB9QImCUofRgaFJoMNFsE+3zXtYg4iiVDiXWp2XSoV3PXmAtVEHrVKXF5x+UXJNr4F/hkuCdl2duJVtY6BXqbpfeal2X4ibiKTaoWKOmKmUk6nWWZqIqFaMWJSUp/yKopteqrpcSZmEOradmpYunEvKV3x5d4lkeES5lLuKaJOJWYtlm9FykmOwjGtlho6aqUt/wkabsI2xoJhVWLGfnVWbZZibhX5ZiGSsmmSIb4hco7IwjHulg2qccqeBbU++gqF6w6GmJ6nIX2iaWUNAgY+TYJdaz0uDgJxAaGlbc4umnWGeolmLpHaWikiOZpOWbH12UHF3VnF/yYt3rbViiaSWlHGNl4qCXm
23iGnoOdiJ+RZKGiZHiNeU+Id42LY4p5knlzfn5lc4WfVIu/cXifqGaGhZC1eYSSirBJWbx3jYW2k4tdeJlmfXSWWG5liIZxjojQYXp+j2NzoXZmibZ8daCDO4WCp9ZtjZiDpEmFgHqGlGSNiV+pu3pXinJpboaIh1aJYr5TdX+gX3OIYnuCYpR4noFohm1vhodai3LIb3Z/g3F4hXRrhuJyeZ+vY4eEjpB8ioGLnk+IpnaFo6aHh2i1mGtulXJhcn6EgmiLa7pieH55b3iFY26He3l4nYN7hG2UpHqEdoeWV6WihoBtXYmGbp2Wd3GIcnZxgYSEdIOIr2d8gHpgeYN2cp2GiHadhWCMfo+ZfYKFjJqBnZyIiGpkj3p3mo+Pd5Nqc3E=","128.7|VHV2np6lcpSFdZ2QnYyKoJOScm2inpZwcKfap578ga+io5OVc4WagIGlVJOOzbyrm4bpfk1vm6DqgnR2wpKcemmav6ONbYljqXNvlbWjm5mEhpKegYRzqV+FsFmPpoKTlHh9gZF6mKGIf3V4YIaYZH+AimyNkGxzpoPIkpOMmJCDetfGkZqckaizoXOKkKh2p5e6kY6hhGiSh761d8usg6GYprCYtbmWnLeygm2VjpbFjXV6tryPmJTDs6OMc4OKbXetjayIibeCnpiitpN2m4SitZiIq4K3s6GTiIJ6bZqPkJezdnyZmou7qYGrp4l0cqF1eIuTv4uNnIKkl5SZiXTHrrGnsJWebYqkkJJ3n3hzg42R85p3falwjp+forGzqnN4pGl6pIuDdZSJiKuNfn7C04aVdYrJyaF5bYqFeYmLnoeGin+QmIOQl3qToK6MlniXcIuqk3WEdIB0hoeKfYOBfsCRhYmmmJK2gntxinN6iYe2g4KKgK+ejamBe42sfpSbfItzoZ+qjIFnf3aMhYutgH19pJOFobhtjZCJe3SEe3mFrKeGhot/k5iNgpV8jGuDj5yNqoCnq5F1gH9/fpmEj6F/f36qpYWYfJ+Om7J9eXxyeod2fHaShX2uin99nIeEiHpzjbCGfHCCdHmCh4mBhYJ/f5eCnYB6j5uBg5KGhHOUlZF6gXp9eoCGiZSAf35/hYKHcnKJnoR8d4CBfHSLpn+BgICFkImYmnqQbYN7lH2OepSIj3iBaoFxgYR6in5/fpaRhI5+d5KSjnp3iHZ6cY2SgoKEf3+Gmn6HeolygXuRgaKJiZCNeX4=","125.3|joruoVyq/e1hasHCaNXhzs3Comt4ptNYulbSrKO9Z8xxk6WxZoSnramhY2+Do6qgoI/KmWw6YZ+HT39lXo1rb4RPkG2Jco9+kl6ZaVKsnJ5hjIabgViBo6WRrnR/jZWWnJR+o6DFY5V5OoVudXpsd397hG2LjXRhvIy1pm2frpx3dqx8c8mwuZHIqHWQlLNpqGanmZCUa7GLiaO8hbK3oImfq6Smo5Gqm66QlHmrcqKdm3B2wX50laiws7+fdpB/qnOVbZWJjKFki3q0saKBmMi0faCwpWqsinygj5+JfKdumbR5enibinWeqKmtoKVznY19dZFrn4+RiGurdpjBeIWsepuDnKSOVoayynadr4B8cnKbf4J5eKqpc4Cbh4qupnSamW11qpiPfpB2kYZ5eX+Qj3yVkrSgrJR7noSJd6tziYiKknmgbZihZXmUtZt+kKyUYIOrjmR/p4V+lneUo4V7gHl0eoqQdoVhoHyVd3R2i3Z8g4N1e5Vgj6F4f5p8kYWVp61ljI6HnYWZgX2YeaCCkX19Zn16hYJ7hK+Ye5d1h3mdXW6IiHJ5k2COjnh/hZiJfoaajoiLjIpsiIeAfY57oo5hfX6Cc3uQpJKFjIl9kph2c4ySgn2TeZNufH9+aXl8iYp+g7GcfJd8d3eSdnyBiHp5g2KLinZ5jnuHfYOIkGmKfol2hYmCf416j4ZufXxzeHuHeX+BdoJ9k4BzeJF1YYKBc3iAaZiYeHuKko59h32Ad4qCinWHlIGXiHuWeW9+fXp4eo+IfpBuiHuUgHpzlnJzf4N6eH2Aj6RofYmPj36LfXp7gX+JdYE=","126.9|iZZsoKSaaX9Np292pXF7cYJ5pm5604lwgKZkbHKskZpwrJ2Idly9TH2Oi36MWItGkJ60mIM0n5OZh4KsgUKgfIiGMJx6cJPFanK5k3ttcIqSe4eUgq2Qk7VrlcBxqXNVro58n215nYhvuYuewXWds36AenGMqGdzkYt5n5OV
23aJNnkYt5krKdbJCSp3eRj2x1rZR3dndzjaGPlYaMl3JzWJipq3Skk7OfqpOSkX6JjauEpnqUfXyRqLB8mJmAd5PbeXeVjoh8eJuQm3ujlJ2Qip+HmbCNhaGDiXaZlYaRfauSeo2Mfoifbo6bmoiKoJJ1paphepaSgXp4cI2CdJnCfpSifZeUqJBvo2aaxq6snIR9bY2HZZl7j3eVkf29mYKCknSfrmF8i3WLf5aGin+XdIGqdoeipZSTeJN8osJleYmIoX16ZYCTaZK8hIGRhnN3kotpmWWygnSZfYV9nIWBZ9F4fnBnhJOPZYZvjHubn2l7loZyfXpxhZFbjZyQipV+apCal3yVaq10m4h0goCbhoNyjXl/lmuEeYpohcd1e5yUgXqQh116e2qCglyKjYSGfJNxhImSf4N5fm9uinqDd5GEm1ybeYGXZ4eNnHWAoYN7mJxre5F8g3+LhYZho3p+oW6Dkpxxg4OFfJzFbXqPh4B/e3OCfF2NmI+CjHxygZiNgo9beW9qiIKBgZKEjE2Oen+OcYKPkG+EnnR8l5F1epGKhH59boKJZX6ggoB/mnB/kH+BhF1/b3WGhIF1iX5zVY18gINogpiFc5mYdHyWlGx8i4p0fH52goSBk5mWg4KUcH+NhF6NbntudYU=","135.4|dZtcmVxvX112nouEooprd3mPil99cHmskLCvcq6Ahp5xgpORoYWAzYR7WIhgTIPHjpRri2z9XYDJkY+j1JWfm2dhfbR1YpR2S6dpnLxzqIKEXIyDedOWYGqlgY1wl6Kzmn9+fqyrYIqO6pGZzoWfiX6AdWCQf2OehoSmfWmKhHeBjZyfkYZ+hWd9m2yUuKSWqJ5wdZR0iLORg6OylVm9t5KMpJZ81ru/jaWafX6YboiilYuTnn6QpHqflYuPcJqhjouQkbB+jo+Don18r6GMkqaXi5SYrIJ5nIqHlJqHf4ZthYKqiIqqmZB/ksaAoohro7VKiZKZmnmXfYGGd4dBhJOMjqSsjoypin6Ok5l/aY2BrnGJlaiLkabKi7WTpIeKbGmfoVyHnoN9f5FzYZmWfoK8sIigdY+nlpd3nXZ4hIyOon2LcoJsb3eYo4xvfpOIdnx8iISOkp2SoX2BpXd4Z5iDgLCPhJOQsHHOfniXhWqGlIuzfoh4gnRchXOuhXOQnmWEpVKGd3iXhYppg4GTd3qploB+wZaHj4l/cXOGeJmTcoWQm5V4iG+Bg19vc6OFbnCQiG+Ai3GWkYmOjHaFjJR3iIOxgIGXlIWabo5vo5p5mpNtiZFugYCJdW+qjYGAuomEk2iDdGFueZWCb4aCiph+iXyBbF91ca+JcIaNdHRTfIV7Y4+Lh3OBf5Z5f3+Yf32yhn+KdIR2jYd3k4B9hZ6QpH+Cd4GHZm9on4Z5bZl4cHl6gnx4j4eJaH+UkHp4fJyAf6CIg5R1g2aQcHuSiW+LjoqTfYN6f3l+dlKxiXdxmHpzeXp9hm6Sh4c=","141|a7yjpb6NnoazYYx6uXujrq197neG2Ipq
23j3U4yW5uo2Fzh4XWltJuI5+QnB58aMO4kVybqyaas5Nzdq5bvbqwSpOIhzqFdqKbwWxceUrJbY6sy5WRhMahuk9VinCbhV2Tp296qZnhs4lpE7Zihnyug3+AhHeaoZVvhImpraO2g4SRb5+JnJqdqHaqqXmfaWlzZnmToHZ/n4+YmcCRhPxnPZyefIqcSG2Ff0zBl2GVnJmDf5Vta5CXRa2elmiXdaKm0njAfHSQdoWlfIO1lL2JnWWfiqR/fmODp6SWWYuUY5qerZeqn3WFa5p/q2qtmqt5urDBeKx6l5V3e5u9dpicz4J8O3mIbH5/UniSiWxTgZdnl5mhfnWTc6ddmxiTmLdinHixnah5jKCMboiRi32FiX2AyoZHoaSPXXp6un1TeZB7Wop3kYipaK6osnqqbpKhfH6KWXI/k3Jub4dvtY6pcHeGfrCGilqDs3pslXinsZN5foBZiHtwiY1ShJ2Uf4NIXZqLZ65dcYqMlm2ihXGojLOAa4R7k3eHZYSXfY+ve6iad31/hn6Od2iHjVKRmJV+o09oi1WIc4d7X5p3bpOFgHqIo4VNgIKPeYpioZR8epN6o3uReoOQhnCPh61fZ4J+nYWGXY6QfG6Deqxsi3lzfmeBenqLoFackpJ5plluimFYZGRsapl9bYx/eJyLi4ljgX2Pg4NjmZN/iol+noSWe4Z4ZoN7Y4eaXa2GkXySbmGCXpFudWlvln1xeYN/k4OmfmGCfI96g1ODi3x4jXyejpF3dnxuhXx1h5d/h4yqfo9wdIdrjJ95eGyVeXA=","135|pVqaeKNvjn5GdpKopIirroJ9q4l0lm6bUbhMok/Hg2WDkmeMjk+fsH6DAW11O5uijpeHUZGfoIt9IWV1j2aekGpMYKuLiGWvR5VlnZGiWX+CwWh/g453TVCWi3dom5CZpIuASI7TnYSEPl16anWeiH+CjIlmdm6SnWyZcpNwfKhlfoRLk4RwdoedooRhvIeMjKNHlmlbg65he3dtin56o3eCY26Bp6GbtX2PXIfIj5WSeX96Z46OfHqXilekgmJzi4aGlZaIcKR+w3mAhJeMhW1lcZ53f2SDdaCOkoVzhpGUbHuXcX6DaI+Wh31qfo2FXo5Shn2chYtpbH9kfYy2dZJ9aFnJ34Jmg3CUg6x2SHOIkY6Fg110en92j3laeV1htIJihHCDgollgaGKdniZcYBtb4aBeIihe7N/X5dZhIiPVoZxVYBTiHWfno5/a295iJFOf3l+iJmHZHSCmodvX2V2fWFuiHWLfYCfkX9ojXCBh4txgnZwgHqZj7B+ilZtkI6NfDt9cmOZjoiTe4OJh3GfVXmClF+Ic2t5frSkgWiATYCEo3aKdWl+t5xsfn2KfmeIkJ96dXBscoqFi4l9hrKFi35ien99a4Zuhox7bnqBZ4RxiX13f4ORhmuRW3t/k3GCdXB8fZOjfmSKdoN7jWmBdHWCl5hmkHqOhm2IjJxrbHxwcYeRh4l7gJODhHtxeYB9dIN3dHt/h4R+Z4R/hH+TioN4fX6Nk1mUgYlnYoSJmX1sfHB+g4OKl3eEi4Frc3F9e3prf3KCfZCQiYFpkHaIgZF2gHZyf5R5YKqKiGxnlHyQeV1ye3iGgYU=","145.3|Xq7JbcWBwcXQRJyVua662qafeVqohMFHtCeg0kl8adCwzXuKbF2KMqywAWzH5verimLRuSmfu3tGYqU9eLK0WIlpmJNtY5G4N05gTtDSTo5iypeIf0mKtz1kpYqItmCLrkp9xZE9t5WI3a1ODISwsn+DbFiPoWRMs5GNZqZUkIieX3e2n62iW6/ZsGyBiINfy0y7sWeYbHF9kM7Cb9rGTbiuort5qV+XsoBaqmeanpGwv4FglauYlKSQo9mDa3yElGu4XZKSaXNmxZ6Ks5Vvh2Spsp2gy3iGlqqWX7+OZXSmgJegk2uYl5mkr7GQuaZpfJlnbrdP4J9jtGeyjYmTbGupj42jv52iQoycg5pE041ndJqH1u6NZYWsmdmXavOzdGt9rlxtvqucc5OUUrCoj3qsnI2Ne5GLoXV2bY9BcZdmpo9vhHu7mUCDfmp9X3p9u3t6T4WwkKaPsopxPpVxVXGLe4eLi5mVf5i5WXhwvGJzs2q0iXmSetimooJib5SVYpiwon1Wj4qzjW6ahHRfj3ayz4h9WJaPsttukKNdeW+YVXWZcLSVbZZ6gaeKa4F2eVRuodGWmn60s5udbp+BfZuKe5ekg36Pm46gp4GUs5R2bHZlboOSfnKZijugqoJ8V4aHlqV8kWcoem97Z3ega7WCcXt4naZvZWVreI5wiJGKaF2QmpqabpqEfFqJkISLhX1khIKUlXSGt2V4a4N3dnVkwIV5on2hmpZ7h3KbZWOFnnR5c46OlY9vn4qjZ4RoZ5GCfIWRhZiSfpugbHxqdmtuiWiig3iGdpV/o49jdZZnZHiYeJ2OgY6NkHE=","132.9|eZCRhX6SlplJapSkca2Op6OctamYn5qBhaGibbhxpbKgoqiQg7RydpaZhnGdc7iNlZTyjC43fIuqkYVkl5ZyhXe/katuoXpBtX5djn5wtJWqNIWWgJiRuEB8oGSGmH2Bq3yAjHd+eo94t4lqZ4NzVH9/c6d/kZx8sYS7iX2CtatmdWaldpC0hpOXipJ2oKB9rJKCdZyAmmt/lZeEn56De5ygkJqQ/ciApKWqhmWcepeqiHtveYV3s5KOhZNzk3KJknuIj7R4k3mkfI+Um3aUkmCMoaaJmGaIq4qZl3SPYpN7g4KWf3qAinmbk3uGoneXX3bLfK6Qqnmbh5yLkpWrn5zBiKKzo4SbPnKOj3RvwodoYHuUr5N+dJJ4eMe5iK+KgJZpfpx8koiAb4Z5eKNxcX+CrXaodn6MhYeHXI2Zfn+KknuQhYhwmXt+o4mQfXyHnW2NSXjBgW6AWoBycH17c5l3foyMeZeZiIGseYJlU5V8kIaRfIhthoKpkJiGi5CIc5aZk1VWgaqKkop7hXGDfI6UZXh/nYp8iZd7gJFWiGRqiH13nIZ7j22GU6WThn+IolJ5kZqMooiOlY+CinKDfIN9g5aXeX+PmHqdhYd7h5eEaHeVfXmBg3OQfHiXg3l9k4J5lYR2gJx6hGWSknyJhWp+jXaIYaKIn4mGiYN5h4eji1tsnY18iHp+eHh9jZWPeoGEgX2Oint/sHiDZ3yWe2mBfn+DgYhim6CbfYaQW3eHi3qPdHCPhoKKa4BsenyHnop7fnmHfJyLd5WecINphJGCdYdme4V3imqAmoCTiJNdjIWPf5CHfZSKgYY=","124.1|hYR1dJ5raXhfmX9siWlzf2pwWJd3ZXGJmGHObZ9van1vZIlokbxZn4Z1hKVpSIqNfXS2fb79mXycnYCbSnyJoHaMSnSHko5XjIefbXBpm3xoYoVygIKHoqSTcHCGYY2PcXN8dZPLlXtvxX+TnYaJcH6AhZaIg22GgX2IdI6AdGp0jJKvhIJ9k25+jYqNbJ+FfGyUb4+EbomKdH2NkJuWloBveYlwf2ePdK5ueZKUjHGEg4ORjn+FlXmKiYSTiI59goF9cX97i3hnn3p5jGmLgoGIgm6KjWNsg4t5eH6DlG2Ojnx2gYaYjISQiJiOiI2NmH1zgndviHiNhG6Pd3OCdZC7jJuJaW+XdGl1jWmTjYOPrYqBZomDjoiMgsiPs36ek42WgGWAfYZ3in6Feph+d4CIjoGPhniekI6DmnSggHZzkXqGinqSb3xvcYuKnIV7cV+ld3GBiI1/jH2IiIaHjo16foSMgoyJfnV6ioGTb3CAiHaWfYSKeophe4GGh5SMjXNxlJ54cZR7e31ygYZ7hoKLj3x+hYmBhH5/d5CfgZJ6i4CDbXR4hox9kWJxlGqEgZOFdm6Bh3qQhHmLf3iCgoCEgXudfoB+koCWdo52oI6BkoJyhId7gYh+hICIoH1/goaBi26FeKOMgpV5cX97d3p+hYd5cWV5k4eJhYeFfGdcmHtwb3uQe3h+g4SCfXuNfH+FhoCLeYF4joqCkHd1fYV2fXyDh3t9a3mKaIWMlYt6bGuQfGx6foh8b4F8hICJe499gG6Nf5N1hHmDiYGRfXaDenZ8f4KDeXOAcHyAhouOgoJtcYxwc3WAhoA=","137.9|eIl+kWqRfn1WaoyLaYR/m5mSl6KnhH5rfMKJtGlYn4ekiqV5o1i0xXORkoiXYmlnh3lrbVFZbInQsYVsuGpqjJafUJt7oI2nUHCzoY+wa4qdapeMfrqTWrCph7hpgZp1jYF/XYxzb4V2zIRsj35rr4CCfKWPf2htv2+AlXGUnJppdJiKb5qYsWiikZKFsJd0fqRjlnSCmL6Nk4twknyXs6KQqJKSnIyUgaubam10coqUj4xzhr9xlIGerI9pj4OfbniRmq2OcWqewJmXb4aVgaibl4aOf3uJjZSOdH6Ea4V2k6CthnmOlW+Qo4iLrYKTe6ZEdoiijox1gpaglIt1iZiMmLGrYZ6rYnSAtmiYjodrcXiIgKiCeKJrdf2kkYCPdpJ8o192j6VpdXh0h46d
23dXuvd3eQs2KZjomId42ReHaPk4V5kIaRjZCHrpJyi6CRhZeIZ3FogHGXd3h0eXmUhJJ3fIiAeY2slHuqgYd3kml3f4+hhXp7hoiYgnSRjpKSn4GGpmlra4yOiXmChHR+eZaMlnmCpYd7f5J1epOJhnWch3phsnCIeH2ClpqXZo2KeK6PgHGZmIqJhH1/fJGBfXF6hGqgeH6XhHmDjoJ3v5GEdY5sd4OEgXWAeo6SmnmAp4N7jJZ5eYd1gnahbHhoi2OEen2HdpWZZo6OdZCLgHJ5pG1rbX54epB6eXd6hmOWeXyUgXiOn3V8nn+EdoWBeoORjIN6eoOKj6VnjYtypI17c5KQeWxyfH98k3mRd32NcZB8f4t7eY2LfnibfYN5jW96b5F8gXx9hX5/nXGli3KUl4B7kl+Kd296gH8=","128.5|eotpi3CCcICtWmpZi2d2hWBxcZeImWVmb2qCrZKuj3l/ilZqnp9xkneBeF6AbI2winF7eEn0coRggZBXeoGJUG9baV2MlJe2hmtSc42tj4aOupKIfYeGokiJg6GVk4Whgot8bIhqcot5QYpeaHmIp358i5aQjW5peXmSd3R+cXaUbmqdhYaAf5Zyg4uVfYRwfW+sm4WJi3CZhJuSev2ViomCjYt+RmeHhYSOc296dIiTcY9nf26FZnmOi4GDipScjXWZc5OKhpSQoIV3cZ97oVWVeYORlZ97mn+Eb4t4bH93goKljXJ6coWGk4mThYmNlZ1udZlyi5CHjIyZg32niXt8c5eGioCRtG2aZ6xeiIdysnl9g16NbJdbhDxmx5aCkoyYnG50lIZ1eJZ4cnudi3x1loFoeJGwiZeDlpJ2eH10koiDbIGOe2+QioSwe6aHeHyPqXJyhp6JeXx4knh0dZCFfpB0gm6RioiUhYSQqXB5g3adgoCLgpFsh5uDe4t9i4WIeJ2jeJuGf3d/f3uMemagaIR9hnCCgIyBipGZgpCLX3uBeJuKg4qAqmxwk4J9kU2DfXWZj3Z3h5KFeXyAgZF6fJNlg36Ib4B0hJ2Dg6GCkYJzeXWDf3eDfWWXeIF+g3eBb3WAh52TgJGWcHh7eoqChIGEmGtspoB/poKDfIWUeptyh5OEd3N9fIl8fJJwhH+Ed4BxeoCEg5aBj4B+eXN6kYKChoKRb2Cgg4CLaYh3hJt0h3J8lIN5cH+BhXxic3GAfX5ygWp/fpF0lIGPhHR6dX2SgH+DgJGDgJKFf4lniHtzl5WEdICQg3k=","132.8|iJNwh2eeSIdPm5h4X4x2WoBzV554fWpkhVHcda9fZIhsf2mHapZ5RnOGIPqhhHZggJqnnuFRaIawG36h2Dxi3WSIc9iTmZOBemm6ZsVzqIhfs4qIgISItrtnfmdpbHNlXZaAqYYSa4uTSYmZOXZneICCkp+OoWtoYIyGhG6Tfotrir2YbJt3hHetjY2TdoVwjWKqc5WvaX+QlqhykILDV5iEd6SDjo6nXMSFl6EpcnS1b3CTlJRxoVeugYxwjpiHd3aOaqx8kmhi/Xt7mpmLhoifnV98kq+MmH1ql2uPoWd0h56Qeol4iG+ZiYSTfoGRpot8dXhmoXiVkmpzdHaRlIyh14CQCZNXtJV8dHO1Zn+Za3Nzu3R9j4NscLVznXLKk5Ofpm51mWCRkF91oI+Pc4Ker3aZgoaVxKCDpnifd5hwj3uKonl8aJKNl32crZySdoWCqJyKeHCbb4SPYXiLnnZ2gIlud4edt3/AiYOdkG55bnKdf4aZeatWbZSEhYrBZnpseoKfnpRraYxigY9ueHWee3p/doF3jouBeqyGhJ2UkXlueaF4jaN5v1iQlpmEfLVzbE+Xp5Oml2ByjGiAiVN4c3hqe4CaZHeDa518i5uDmIZveXx4go9ne5uZcXyBcXJ4h2qDe8aWgJx7b3Zlc3uBiY95k1mZqIN9lad0em9fjJylf2djiGWEiGV5c3FweH+BcH2DcoB9qZWEmIOCen1vn3yEfnmXYoKfoHyVmW91aIWgi6R6aniJYoV3dXuFjXR9gJlueolvfoKTkYWWjW96d3WPfoOPeI+Al4iIgJGZc4Fyi1uMlXxvdYg=","137.7|oY21n5qxm59lqaCem4Gggb5//J104qOaerU+U0o0WIFnsrLHp5GlKJGnTHztw3eAsnrsgpWalrmNPIywtHiVaXAkoGGJmpG4e5aNnnBTUbBUnImghH6WqJ1MkppmkltypXuBcY+ulKmHG4qnWoaXkn96h5qJwHKXYoCNrJK1i7GBktGWj32Ol6aivY2WdD6OmaGsYGeGX6mQtKazlp6WQqSXoIuWdM6uij2zdoWLjpdkf46dk/SOVrSjq3aaj5i0novMlHxya1JWVXd3s62Ur+KMmoWHmXiztp2Tbp+Jh4eOlMl+iI2Yko2oq3ephreSp5p7iq2ccmximWCTcpm/mZm1e558V6c0nojMyouLWIeEeoyTmIeLmIeYjTprsY5uwo+gwGaMjah0gH6Mpm+BfoGurIVckrefirWFpqo2hbGTgXFvjnaKbJWmnpGid4GQlL5dmouLnJZ6inuDU4aIiZJ8f3iXh2eDhY9fqoOep3CHjoxke3SKc39UibCAiJV3Wpx7dYCWn7eYhHqOgIJfhHthjoKBqZKHcVt2jaGJhJ6cm4mNsYpzcZF5cVWCj42ErJtrjISefYt+hYGRdaGEg2mDcHlSf311rYZem5ONZqWEl6lxiZKRg4KIhKhNc4CApZCEan94jHmnhZ+YcoWQioF7cYF0i1qInHaMo4FsiW6XXo+Kjn2cep9/gGKDgmBrgX55hoRrbHWFcIWCm5p+hYKRZ3t3i3WGXnmckYiLjWOFapB3hYqEe4p5kH2HboKQeWiCgIuQgWOGeaZig4CXpXmDlpB7gHWFdoeDYqmCiY6Nb4Z0iGtxiYl8jXU=","125.9|eIy8joR317xro9O1YriturikuGFmk5pss2ulVo5ia7ZudKW4asJ2db97lXNoSepkfnfEl2PAgnKbhoGmlHlmdWmbaXd+ZWmVlHBrdI9YjntolWaCgI6Bm2B8fYaMeHtqg4R/nmOagn15XIWdYYNpj32AfWNqhIVzsIqZfoSGj6J8kYyrcZ2cgGykp29riLZ2oHOxZ4iNb5xmeLK2hPzDepuDqah6h46wd5qckHaIhYGjnnWTgHFxiXmaiqGOcG+Cv3qMea90h3hrkHCKqZKAkHaxl32innWAl49/d6KFeXuBlIWfeol4hHKKgIh8ipFvcouYeq11mm+GiXGgdX9snYCvgIuVapisX3qQWGti2n15nIOEk3x7jaOacoaCkqCWmm5wgI16mbOMenyAbZuFe3+JlXeHbJKIfaJ4dIqRepF8n3eCkHmYe4F9knmTWp6TdJCPY4GTgn2KpYV6kIOKaZGAgKGKeouJoXatgnh1e4N6mnqKeIN8eZSBeXd8f4mFe3KDlIpqgI6FgHqbgnuPgY2jb4CBhYl6i5OLeI6CenVse3uTf4x1gXt6jIOCe4R+lF2AfmeWgn6Ljn2FeJeBfn+Aholvf357jniOcpV2eop6dXqFeoyUgH2BgX+Sb399gIh5iWmLeGOaeneHgnuRfJF9gX96h4OIeHp7jIJ+f2aPdmx7gnl7fI6CfIqCf4N3foB4hnuHeIl6hYd7dXqJfod3jnqAeHyJg5V3gnuGcHh/bI58eHuCe4N5lISHg4GIeHSAgH2Keoxthn2GgXp3hYJ7hXqMfYF9eYR5mYiGfohvf4FykZWEgIB7g3o=","135.7|k3tiuqq6a36ynF1irXVpeGRuoKhnpmR0SnR7RGwooJBe65loX8GIVH26smr8a2GCoo2SgUOboqSVjnmhhoOnZ2SXaouMnoS8Y3ezeHhFba2ptHmxfJZsWsNql5Jt1npx0Hp+jI8VoLN14XuWV4eltYB+iaV+a490bIZjq5Ssd5ePimS8l317caiFkpGOipF6pHWjWnV1mqKKz7KWY4KkXqG/aIyofYOmp4Njhmtakqh6i3SMieKTe5CcpHmmkY9+oHufdY9ycVWj6GyAjYNqiZOggK2HoLOAjKKelnR4apCXjM2qdYh+jJaTmoWdlKeXoJGGeLR2g2l2oZqacK6SnGGfgo6Nf3dgol+phr+0S
23HRteJCRbqV2ipG8kq9h3HqNppSZm556r2qNdY6JhX6yioGHrIp6g5i2ms6FpY6lerd6enF4d4eOYol4qmeHc4aJnWaHmmeCj6+Nf4N1ZIZ5dn+Cf3WdiHWKi4+Ko4aZiox8l3qAeHl6iZxOl4WEcXiEb3yic5KTZJ2KiYZnenV4g3V5ooKBoYeGcnmDjKikhZxrpX2gkWZweXuEtVOenH91gpxyf493fJV+iIWQh4F4hHuDdWiqgX9iqYZsd5uDhX6CmoqIeIxfe3eLgohinn9/m4qEd3WEiJK3gpyBiHuJe4d8eXmHllWYq4RtkIV1eXpNgI5dbIiDh3eCd26HhE+Xgn+GhYZ2Y4OIeJGFm4CUe4Z0g3p7i4abXoihfXRsoWt0d3l+hFt0hYmBX39xcoBxVJaAfniWhXJ5gZR+i4GZiYd/oH18fnt8iI9/k4mQcHCbf4F8eXOabnB8iYM=","139.2|iaGvgr62dYVATpiTtIqfk5qJqnNweK10mHN5r7+lbJpjmWLGjniNra63Q665YZHTnp0ymeIotKOJKYtDz52zs4I2mIyLcpmieXSteky0uqZtyYahebOba8+Iu21fbJK6g5OBjtKKsqiME5JUvnmsfn96h3GLgHh1c4xemqOOr7dmacgYmqWAmEJ7i3aXvpJ4jXmpoKDLbeCRon1xqgCbo5OWipGhZ7DFjnZ4iZ2OnIxlh4FdrHSaZKu7jaDqdpyOjXque4eHkoRukHixhpiYkvSSdYKVjWSBl6CRmZqToIShq5mBhXB2dplLsp6odcd3sZ15eox7aY6gr3SDcJUZiqMtjHRqbZtOP5y7qEi7M4+ZYpeaQX2HaKalmAVYXIGFjHinnnt2h2CDjnaQq2qBcnqFdIxsmKVylKh7tHdfe61/VIqPuX18XpuVg5BinH2rnriIUZ2LpWNpj4CNWpCfuIN2fIBnhmaYqWhb1HuqeXt7jn9Zh4eWe45Hg1SmkICAin2Qh5ZXjIWQjotwg4xsjqJcnHl+dGqHZESNbVatfKd0s3rCaX6Mjph7rEykeqGJd9KLg4+JiZl6got3i2uGlXKKjmdOeH15VoZhf6hxZo15oqt6fph3hYmLh6NQXHp7g3GDZ3aKa264fapge3ikfGyDjY16mkubVaSNZoKIeX+Eil2egYp2iWSCiWaJi31pfHyjeoRrboxyYZB9ooN1eqV/R4OFhXqcWrJRnYyBoYl+h3+JdZ2IiXqKbX+gb4egnGF5fqBuhF9uiVJihH2hioR/lnZhgYWJfpSApVKfinmelYSPe12ClYaHeYU=","146.2|aqxPfmGhP0jEU3mKuH5zo4CRg1eFjZO/g9KpzU/eortzq32q8CatxZG0aqu4u42ErKAxaUO/Zbi7yLhPzHWwmnqxt+ZzW5qjabddru3LU7Clv5KheKG0SjmpqYCBkpeJlX1/Qnm1arib/apa44CwqX+BdleZYGCynGmrkWuHmJydZ5+tm56pj4C0hGeb3LGjp7GapGeRm4SYmpyyjn2TsquErKeX3NmNtMKlW2y7b5XHwr9rsqSXa7uZm7Vta6GIUJSxn5GQZ5mjwH6Ceoidh1SOn5OUqFymrYyYn7CJZYtxjGW6snK0pJpwobqlqoBoq7w6k2Wuu5hopJqJdaE1ZJk+vqOozp7MjpyWT5Nub6FvinKbzcSpcIOYm5GgbsibXmiml16Rm4JecqN1rqqkjHu2jYlvc2t+rYF3qYNUiniYj45vd4eLan+WdJdkpbaoqW+kh52eeKmUt3FzSXh6d4aJfqCOjGWsl37FZnmhpWuMkY7LhnWahbpWomyai3a5l4CThGqGpXiZj5BVhXRTdm/BoYWAr5SLgbNqe2JMdp2JZoyQmdKOcZ2Enlt+ap2JgFqRk8eAqYOwon2TjYGEgJ15gJ66g3y2lIhnWnqArqR3nnlqkpBkgnaUfIPTl4WApIOKZ3dteHlBe55/a46YkamAc4aGnF1oZ5+SbqWMdayLoISinn+kind3eGV6iKCghn+iiIZqem1+knh3lntuh5WZvIR2rISgZlJel4xrWJd8pGqZgJ+NgYyQbnuWb3lsqKCDe6CFh1+Jb3WhbXqVdm2UfZOagXiNg5CAVkeYi2tbjnGebI1mmZyDjIg=","138.3|rXSpiEdboK42m62aomumo7OAg2CKj6aMj6qEXbIBmnOXeo2NPza7iZNnPatvNYWScXF9nMfOUVfdM2al0meipKFLQnuVZmiwRYqvk1ZaqmydhHN0fMZtP8KHY6NmjHqOqXt/s6ykUWR5CXCXnXKfhn+AkmFwl1yJ5pNgeVyHqqJdjO4cka2MlzqzlXFoonWGZJaIZZZfledvhWxYhBdjipCdsYJqRYueho2On5eOZItxd12Og3ORn4Oio36qcGbCXICBkL12kFGbe4aDpIp4fNeBp5SXcnR1gZmMY4eElXphkoKWZIl3hI+PsW+Ni6ttUbgpgX2Shm+ZepaOjoNvdX1+knaXZrFjSYqg4nWQWXOOmWqFaYVljLRjkaC1XVmOpW5Zr1CDimObiYFxQn6BbYCkRYedx3CLfY57Ubp9f4+LiXaMh4N+lnKWoHNflHiHecdqUYRQl5dvUomPmnGCoZtzgo1aipqUiGJ5y3pdj2WDYYZgd4hkhHCuhXaTfo2Bg5WLpHJcbnaFh3J7f4yccY9hjXiCgWGFiXduaYe3fF6lfoB8lGx1i1+Glap9VpJ7ccaBjWKZgoFvbH+VdHV+gH91hVpLeICYTIWjn4JqjZB5YZpkgICAfoeJdG5raHmAmW+EmZd3aXW7fFqxZ4NZjU19inKGeKaIWIt0aYCCkk+DlWR6an6Icn6EhI15h21jeH+RcoOXinRxeYN6YJd5f4uOU3uFdoWDnaRimHZso3iOXJWVcntzeIlzkYSPh3mJlmB8gJFfg6l8el1+lXlhoWmDcItcf4Rwh3l9n2+md2ihgoZkmlCGh3N4jHI=","132.7|jmDEYYR3zMKge5CigcO5r8KYfHdwc6iHdFPZnYrmeqZreHCbjYqUu4t4dWlyvctweWbbXDVwhHudRXR2VZl+ZXuMrXmGfoVvhoiIZYicjHl1tYB0fkBwoZCfiFZyd5Z+YXyAUYpmg32LO2t5QYN9cX5+g3mFcZWKpXByV4dUr6ySfHJ+goygpJTnnHuJhvyGg2aflIeKemaIYpaPbNyQq4dZdbdpvHBpgqxhZmmDh2qHjYR9rbmDjp2esZyGf4hTg4SdbpeHiqF3s3dVioBylYumdmiSfIizgINmbnFrZm+AW7aLe4COlIKYl6aak3d7kmqyhoRloomDf3aheGKSdXCvi4WJoYSTqYmWd5Z5pHlqe4NmpWmBfqRqgYeGWp+8n32LdqCFprBrdYCDeYmJin94fIGIdJKOnoB8lHHQg5lwi4OBan6OcllpYIWMoJKOeIaRoYWNcoR8jHVxaoVZqFmGfXOEgI2pb4iNa32NdY+EgnV8g4OSfaNicn1beoCCmZNzfJibkIiEaXmSenRrfVaHbIZ9VYeAmIV8hZx9fY9yoIKBbpOHgJR+q2VbcGt7gpuNiZqTm2mLlol1dZB7eIqDZJ1jhH5pi36MgYyJhIJ+j36OfnyQe3Vvg1eGV4R/UIOCiYF4haVvfpBnjYWBdX2BgYZ8lmVWd1t/goiNiKWWj5WNkYl7d4Z8eniCbJFxg31YgX6LeHqCgIB+jW2Bgm9ufYJ+iX2Sa0qAa3+KhY+FnXl/hYyEgnx1jXp2e4FbkXCCfmyKgZSFeol4iHuPbY5+fnKCfoSJeY+AY4tYfY2Kk3+Sfnh8hYyEe3Y=","138.9|YqOR2WbHgaMxaXpyXoOXimGBf2Sdr3RohUGNwmF0aHGmu19Qef2gRGC1SJ2wyDexu3lmpafbabRcPIZjjHhnf4CNjoiRZHqGTGunYLW+ZLlrRIe3f2CZpJ1wqpt5q3CZr3N+rbKLabd1eZVtOXdmeH+Cj2eCr2dqsI+aum3HrHJcdmutbHJyebNDj210nlVsXVqCqG+qb4h+sJdqpFKqVqOye3itVjiVjJZjm5B0b6uUhnx3nlBvVXSVe46GdGykhnCPYZ6Nb31q2Jahi6ealX6Zn52Gr7OEjYqdbnCdkJJ0tKCagHl7a2+UmYSkpp1wWnpid5BgvJduqHKOlpvCfKFtmIOUSoxdwIyitaWGQ46Nr3KXhod9doRWcaVo52iRinFjo1d1k0SQiYp1lm2cbH6FpnVdsYa8or14UbKHdnNtjZF1lHuCoJySgIOVr6R6gIN6r4xHoo+vVYeHl3efcK5ygW1qdWJ/opmvuXhdmnB4eG/AhniHeYm3hZt2kaqgb5mRcoCnjalxkXZ8iIeTeYKKfXSBd253cr+Kjpu0e1qLY3htaG+OeI55k7GNqYaIgH5xgVaPlo6qdouCdlWHhXd8kG13eHyKWHZcppmPtJ56YoZxe3Bvh4qIeJqLnnuAZmp5Zo6Njbrcely/bXZgcISBdoV5ZbCTuHCCj55yh2poiJ+SbIpzdl6Eg4h8hFd3dX9tbXppk4uHrJ19Y5F8eW90vYF9dnluo4GxjIKLlm51YIqFhpJvjIJ5Y4OAiX2CP3l8foZofFiQh5Sdlnpflm54cnGif3aFe2+CnZ1rhYuNdIFpi2yLg2yJgHw=","133.8|ant3uWidnXHRlXiArGd6qHCCa2mUuIlqeb2aorM9Z2GdqYGHhsSViYaDnJOVDxqvhmpSbT1rao2Z24eXMqSnjpD9VYWPbHWBn2qaoGWhqodmSYOgf4F3SpePhI6PuYSbqFeAa7w8bJJu6H+Qw4CjhHyCjWx9f29sonGWqHG1kZCljpiLlYKKxVaRgXFukoJyYKKGk5dxa6t5nKZ+YDqPi5Sseoylo11tgpqEcmxOcZSan4SRmHuSU5Saf3ykdGylgXd9mJWJkmxlm5CCaHpqhJZ8pp9yktGMn66IZnl
23wbZpyfpmSh4eckpSPnoeOpatyXJFIeX+ghIuWdmyKkZyTiWNmr42bWWubv15+kq+AKXtygXKFVquDiIxqlJOB3mOFlXJjgmV5h0V1c312iJyfkoCHs4ZWp36ZsbF5VqyZd3SOU4WNcnuOm6GGZnRpwnSFeFbJsFtQo35yaHt3oHmAt62JfYKIhWSEfmlrwHpieXN5hYuvh4hsen6wfJ56b5WchoWKfaKnV5KkhHhyenmfe4WZvYeAn26HaX6Jcoe8eGKFjHqHinuKjGl5ia6drGB3gZuDgFRukJB9aJF3cmp4iHJ6gZKrhn+djIhhjIxsj555ZYRzeHlVenZ6epmjwISCl3+EZX+Rc+TCfmO1dHl3i1aCinR5ZKilqnZ3c5mEhG1HtqJTZpJldGt+fJR8e5SYhX16fIFjg4h4jo19ZIpve32SboGFZHpyo4uTXXtwjoB8Y1S6iFRxk3t2WX58i3t6o5qDgWSDhVhwi26RlH1ki3Z4dotgfoRzeG+AmIZ3dm2NdoVqVo2iZ2qQd3w=","132.8|mG6uclSEn6akmZGlZr6rg668fIlobI6bk1Gpj5eShJxii5KsW8NenJOeMLCaonJWoZLeer/AWZyFNnSfQXxopX9McY+PiX8YophBZ6aOlJx+OnmIfG9orkOAoTaFcIRshG2BiUXjXZKfaHaVmIdqI398i4V6lJSVeX/9emh6pouNjmqWdJKsnKaIloaFnbeUeWWWhIqTh0KDg36dYZCblHV9lqZ66J17i5+uh5O3bIG2XnKVjYZ0k5mThpSLhotSj4mGbJ6DjXx+YWyJpIdpo2aAfoCfkkKQpmyLlI92kndml6J1doidknaakcGqg4uDkGHCiH1nlIOKmn6GcoC4nV/Fmq9mn42mQ3aZgV5un3WOjG+XxIdzjYh8dTy7pYx4sIONg5iId42Mhot0e4ldhYB8uniPbMXAkbOBlUq2h4VwjYKGlH9lbGqLaGyOfnt1lYKWU3amipBupIKOYnWKmm6CgaGVeoOhh46onYGRZpKEfnSQgISKgmtckpKEb4GWhoyDkG5ZjJlkiIh+e4lkdomrd4CAkoN9n5GRiXGAgpBth4eJWbd9hZGBdV9xp3FynGKFaaN0oH5xkGyNi397h4Z5hcZzfn91nHiJg5uHbpiAkYiRiYR9eYeOeHGbeH5/fot8hYOHiJy6gZBWjYWJdZWChYiAYl9oo4BuiYyFfoCDel52kG6lh4GAg254ibF3g398hH2AdYiJc5mBkn2Ag3hsh36Cl4FlZoGcbXWPXo13i1t8dHmIboiJdICJcnmLpnp+gnKSf4iNhJxsjoCRhJKGiHGXfoOEfmiAa41wdZBfjX+FXZtld45vh4Y=","131.5|fZfXfWlt4+O1lrqtY73y7dKuuW6Hw9Ct01XqmH6/WMd6Vq3RweO9ptBrWnwsMK6ZcXz9ck+mbHK2X6CYOqFmfohrQZaHcZm4Sqixa7GXfHJStZFwhIGZqq6YeJtta5SRUoR+WbKAbHOCm5iVn4RqtX+BiHCWmGak9XCKd29/p9mUio3UcMPHlmHNvnSZyuCbkWXVjn2VYtuXW629ht3inMJqxK92uXTFYc1ybHFzdHKhzKWQva5zg8+zscySdZy8qo21a7GGe59W44KB05iPp8HCrG+0o5uyrqV6eKqCcXpzhbOxnYbWoXKgzN+vw7p3oadri51ov4l+f1+wfm6ae4zNlrqwcpuzpWWgrH2Qn5Jxn3N3WK6ajK+SdNix2JqusXigu2aHn7hqeYJ1eoSwioCsk3qBrn+ym7t7oJ2Uin5wtIV/hHWocYCLZ46eqa2dYoCHommLnHWgu3l2oHeDd6uGf3OUd4bCjnCpmnuWsm2Io3KZg32Pdrpie4KEhKGVj5V6momebcGHeHmPhHmWe36Ym4WAhYl6i5J+ctKefJmYlYeCY4uJfZV4wF95nGWDmKKJm1+rmnSTmpBweJiDgoh6in6Kgn9nmnl/l5tvw6Z8l6JtjIqAgnd6e3t+ioR/f4p6g3+FdJiQe5iXbYqKcZKAfYZ1lWF7mIGJlo6Ih3hziJtegZFzeId8eZB7eVuCgoCBhnuDkX94oJJ9lINthoNyq4F/fHiaaHGJX4ePmo6EdG94iF+Bi3p7gniKjHp6WoWAfWiSe4R2gX2Qh3qWhXGQfnGYfH+GdZCDgJB9g4uXiIZ0c2x/a3uIdns=","138|pl1qw2S0bHs9T2VorYFpR4iKfVGeeXethUKdr7IAobCmzVl6TZB6zXKZg3XmbRUlnI9fflVbaqFoNl5GgVGoj4ScWKlwVYF7babDW2uxrKKlSY24fZNpsMaqkJFk3aFU1rSClWw3ap5yImFTqHyndYCAdFWFkYincohUwG3HfZhiaEihlmuPc0tnVGZ5b4aacFVnn5RumHx9yl9Me5GbuHzMmX2znp17oZNhi25ZcbJzhmhdoViVY4NVbq1ManOSc5B3ZZiIkkqiipaFZGV9jKyYhL9/dt18lT2gj2iBbatziXduYm98fZNJiYNte2NjbmCsjX9feI6aiJtgjbJbcX1jg4laV4RvvJKGgcWvkm5vZnOZLj9haHNpkIWMhHqEXWRygI2La6KSdIB1k3Zgb317cYhkjnBbg4h2ZIOKiF1pd4iOeIZ2lqpyaXWhu5pznJuGsJGfb4ubfYR1dHiAkbp0fUWJiGWig25sdHdrUoWLinF4hIdmh4WmkVqOhZp+nmqacG6llrxIlIdue3iOeotqQ3d+aY2IT3OCcHw7d2djt4ZyWlaLiWOEcKariXZ/jrqRXXGakKiJhGiJiHd+dWF6el9ad4F4cohOfHZ0jHV3a5+GjnyReXSFeax+XHx9coqEaYF9b6GKd2ubiIaXcmaCiXKHaqe4hJB4kXqPbG7lpqCNqm55hHaCeXp8iGdqe36KhIJslXx4o3t2bIB4gn1kc4OBc4Vwm5t2cneLqJlwYpeQio2RbYWIbIBleXuBcmp/fnN8hVtzgHOTb3ZqfYeLbHBpgIZ0h3d+mWmKe46emIFzk1epjZ1xhYE=","128.6|mYJ9V51JkG+3iHKCmoRlfICElYmJgH9jeoSSmGBYZ26US4ppjYRyioBazF5IqYGiZ5JhejLKmGJg2ImDnZmYZZB9xm6PhG9xpGRQgleVYV9kSHtWfmN9Z093W5mKSIGSaJV+b4L8lVqFnoaFUHWXiX17jIl5c5Fmj3eOXY9yrpGYhW9hi4mMhmB3ZoJwm2Rtf4NujW5hbIJyYnRvcGN0hYJjgIlcaX5lb3aTdmirim58aIqFgkmMbIqJfW+Sgm1ygXWRgX6EcnNmMoh4Wnlzh4B+c2t0gkWNmm9xk3p1Y2mOhISQioFghIl3e3CMdG2GYnGSdJx/dIhvZGuFimyDf3BXeHp2eYWWW6F/d1RukYBqm4p4ln+KgX5lij1dj3R0joRmepFzdXd4cnuEZ4aNjH5kfoF4hpOHeluBX3uWd3yAaYR2eHlqj3d2gH9zkoaNZZmBZJmBeIpyYX10n4aFl2WGf3xshXCAhHV4gYBmcZB2a36LgnpveVKidIpueYd4gI1of3dql4uFe4aXfXOGhYJ8hIR/cICEdYCDdlmPgWaHgniFioqHeG16a59kaod5gmaAhWWAh2+Cf5SMh3h9eoaEgqSQhH+DXIVwhZJ9Zad+aGyNeXSJfHF9gnmHhoF/cnaCdYWBeZB+f2R7kHZ6fGeAeHp3Z5xuaW57cXx/iWOlfG2ij5GTiIF9eJCCfaqHhYJxdIJziIJ5ZYeAaH6LeHd/Wn96dnthmXd2jHp9ZICCbpaFeqSDjYaGiX2UioCKpIeBf4ZsgW2HfXJkkIBqgYl4eIRsf3x2em99aoZze3hmkH5qj4piko2PhIY=","129.9|WI54l3erdYu5dYKQeJF/ho+fpHellpahia6Zrah5dbOkoaeUnpm5UJGn/ZyvXLSUnI54flgfd6GjzZJyh490fW/7hb92eI+3npywlr6oo595s5Sbf5iNi6xupKJvkHeAoaR9bqWOeJmIo45zfYF1u36CeXeRbpicc3p5pXiekaafeYKseJiajZOOpHiJrbCSo5ixlJWYd4yOo6ejfL6lWp6inqGkj6Skla2YdHSSe56gpI16ls55b6CPmqeBeYWMo4uYkp+Jkn13y5mpgJ19o6aloZuSqXa3oZ2YlaR+cZZ8nqypjnyChHqLo4uar5p5eJ+miqGXrI6VlHqIk59ppXt1r5iahIWWVWO2gWyonYlzXXuVhZ2OepeCerFVgLqZdnl+oaeKqa11eYR6l4SvkHqZfX1wgYeDl5x7cJSnhpiMqYeNm3yPk5qIpIKWdpSQnIR7XGubfW2umnt3bnqYg5qKfn+FfHGdfoeyfH90nI2GnYmghIZ9e8GcjoCFd4qobneWdYZjbaSkloiHgnl7fp2RkYh/oH58e452iJpgenVrsYSPp4uHiX5+mpekeYl6e55vjJCYl5d/p4VxiJOAf318j3mShX+HjHthfo+Co498dXuRiIKRgXaQeZyNeoV9mYN9b3d0hHpvfHaVkIORh6GEiH59k5ageYiBj5ZyeHuxhGdkmoh4h4h9fHR8kWOOhH+HgX9xfXmEkXx8dHOWg3eOqIOEenybkap+h4N8lm55f5aGdmWMh3eHf3x6dX6bZYiBfoOAfGV4d4+Ocn52douIiY2UgoJ9fY6BpIKOfoCQeXqLlWaKcJGGeoQ=","125.4|vYiqg4qFhZmLg7yzZKWju5OtnpVtmauGwZnCYHMAlq5ok7mRpOt/pNCCyIqqOtqiioqVebiUiYm9zoyHlZNmpmzEdomFkn6BsoNzjmpgdoiZbXl/e6GOk2+Vb5KPiIyamox9bIaOiYFyp4qEjYVnj36AhJR6hIGHk3nFj4mYppaKf7ugcbCinG11m4yEsL6CrJCma3lmkLmCoJ6airK0mZ2NvZCBm5rFiaKaco97hpCom4+
23Bh4NxmI6joqSvioerl4GSipt3ekaYnnNzi3WFpZqjjYuWtJJ+sKaJi5aAkXuDhHmxjH97hXJ7moiVkKeLkJ+NgqiMk3N2dZOcdIdKkImTcaSiWYSysGyZh5R/rYeLdYaBe5CJgZakdZOKu6qLi4yMloOEkYd0h3+EjpyXhH+IoHiTeY+el5qElJCZgoWIi3h6eISIcItjjouDfJeIh3ebqXWlk51/fHqHbIKDc5+CfrCOeYuYoXWRi4KOe4OBlIabent3g41giW6AhJdzi2l8oIWjcamXhIRygYZugXeXjoKAnIl4gZKKdWqPgpGJh4CimHl3eniEjWF7f4WAimiHgHGRgIiVj3yOhHyAiW2Cd36QgoCLmHmVb6hziZ6Dj4uBf4R9g4iDhJeSjoB/m4d9iW2Hd3uAgY+VgIKOhn19enuEeWOBd4GHeHSGd3KMi6BvhX2UhXZ7hnWBf4uJgoCAiHyGd4Z7jI6CjHyDf4GGfHx9gIJ9aHRtgYaHdoV6a4mGiWyFgIiFaXyPd4GDg4mAfoOPe4tzhGyNhYKNhoB/f4Rzfn17hXd9Z1+RhYN4in1wi5p6eYSAiIE=","129.5|unOinZuvdJ9dpYOBWYGNeYBzaJeCj31pfkq0SVg3lKWN1npInTeTRXmvS8L80nlGp4eoZZ2JmKZYVXupfDBeoHxrcLSJkmmpRWemYaNIXKaXfHafgUuIiJ9ml6hstm1UwqOCU2Zxl6KKXnWdMXRinn2CipVygmRujXRomJKmn5R0kXCObJ6EQ56pio1rfWFznF5+X21+kH5xw3ZkjoSLVZS6gYWZXnCLpa5hZ4WHj6+QjYiVgGFsnnSAiayKimlyYnmNaYpycF2Su4OFfXWRhXR9kaSHlph/i2udhIR9h4yOknlugIprh26VhIOMaYaNYHpVeIxknGxomI5riJ68Q5KYuWuKfJtloZyggamVooGHcoiOoWaDkGGTbdN3hXqvnYxhkVl7iX1qgY6IiY+EeIFrXHmcjY+MjJSFXZ5+eolumnJzfoOAkYh5aY6VnHh4oqNplp2od6CkhHaBZ4eBjId9gFJod5CWbI+WioJlfGZ7hnKQd3d8g4uflZRji5GmaI2ck2yQoJpqkIF5f4NyhnSJcX5/Q4N2kqRoial+g2Vyd3qRZIJzdn2BkaGEe3WHfZ9zeo2bjo+ZkWiNhoGAfXuEfHpvfICJVXeJkIOLhJKDanZreIWNf4GPhIyHbn+ASnJ5kJZziKWWgmanaXqIc4V6dnuEfJ2IiGONi5dyg3u9hYymkW2Lgn97fm2EjXNxfX1kcXuPgnOFl3+AZ4JwfoNujnt4hYN7l3udfoh9kGx/dZKWhKKHaoiFjnyDc4F8hnl/gHVle5OHdpqLi4Nogmp2jHN+fXh+hH5+hp9nh3+LaYB+ll2Ik45sh4M=","129.1|hHJqgad1cnG+YXiCaHpvYnmEfG+Tg4pnjp+olqaQkWmZb4aIiLudrIZ0/ZBXbnWMd5Zya69loHijxIJZdXluc3mSmW2RcHyPpmqhjXeYpHWVUoZ6fnJ2iriQfa16epORjqd7ZZDBnHF6gHljqXhvmX9+jXKAkZNsjXKEhpWMloWbb45+cn+DgGE7gXJ3qYJya5GUk5FzjJd5dG51Zlp8m42AnIGHX3SDg52Mb4ySkYZxb4NnmlNzdYyDjn2YeHOianSOjYaCjI6VTY6VfI5tm7iLiZKEfWyIhXB/k4JwjY+UgYSThXaHgnR9hJSciXh3bIKgdoCNcomTbo9+h4Fhf2prfZBviXaGY46Di3OogXuLho2JYXSBbYBhdmFol2mKkXdxjZFzb3tziHyIfHKejXuCc3p3mYqXdX57ZobFemaFmIeLgIFykZKKZXqFoZuOdYR8aYp0imedbnqEp4aJjZKKf4Zud3OAc3RtjHtujJB4b4ONgYNthG2fcnh8dZqDlI18bpVtiZVuiIeCeoOXiJxpeIR/e355eH16d2OZfGyPpXl8fW+Gh2eCiZ+DdoR3dJ2Gh26Vf3l7g4Ryim55foSFkHWEg31/ZXlsdZB4ip99a5CNeXyOe4SAhY5wlIN/fXZ4dXJ4d3ibe2yMjHl0g3mAiHqDapuNb3t6fYSGi3iThG+Oin9wiXN+gpeFgG6GhH98d3t0f3p3boZ8bYR/e32IgIGDaYFvlJZ4hHqEnIuBc41yeY2CfneKeXt3j4GTXYKAf4Ruem5zfG1tk3luh4l5bYePfIVyg3B+f3pzeoKTi4SAiHR9h4aAdYc=","128.7|hJKBfmqDiJSVbJiNnoOBi3l9ap6cX2eSkUppaKnOkmSfeI9/uMJpboeFf59vO4hyioSGa6FAa454fJVvg3SdkH6fMpJ+m4Bik4uKYpJop4aZXouDgpuYo3l+mXiSfHp0kJd9WGb9bXt6b45xY4Oab4CBgaCFiHmKlnC4iHCDdImHdZCdjouCnmxyj459b3iGZV+XcpR4kHl/d5+Bit+bdIKEfYaOc16DloilaYXKc5OhfZ13c3COc2aMcHhtkHp9j4FvaJ13j6qWkJCddZSQflSclZmEelqHfJKLhoaBiZ5yhnmQl3iEcIyHfmt2iImRbHJ/fXphkHmXco+TjoOAoZGMkYt1vYOYYWBsaXaGu4+DeXKSiX6TephQjIx3lIp/f5FwgHiAeq1pgo92hpJrg36droN3gHqTh5WFanqBfmRtgHiKeYWOkoiQmo2OaJx8jn6UaGZfhGiJfnWCnHmKcpKCfKSJg3OJoHaph4NwdXqAbnKPe4RthYiehoJ/hpKReHiGgo1qa4h+lYSegIORe5iYaYB/ineFfI+MeHuKhmt2cH5lfYJ5iWuBhJ17hYOHhm98c5GChX59fHhvhZWBfpV4nIV9gHyKjodwgJJ2k4GCbm58hH6XgoGMeYSbgYF9hIODdXKOeoOZgm6KeX9bdHt7iXmCcpt1fYCMhYh+gZF1gWtjeHh8gpV8f5J4jH96f35/g4J1kYh8loiCcH2Gf3JsmnuDcoGAlIZ9gomKf3Z8k4uHeWF0eXeDl3qHinyNen5+f3yLgW11h4GPiIRygXmFZHOMf4R1g3V/cpiOhot8d4CRiZhxanV1dYI=","126.1|mJmnYqJmdqCRX52Xl5CWkoaZkZaWoJGQlqZ+nVz9i56ZZXx/f4WYVJFlwLlSl5psa3Q1mb5umnBg2JJZkFyWlnSPlXyGlIPDoY1xlJycYWiOo4pofm+KhnhmeLN/dGxwX36AmWx+mGiWlZdhYnWVvX17hZeHiX+KXYaCWpBXxp6HcItejqGLnJttmYt8yHmGh5jek210iaB+T46NhHiRYahal5pnT3OOfn+djZSPj22UkoBqeYOLXHqgkrGPin2dhoCdj4aFc7SNkY5fV5aBqY+OkWymrIKRu5JocK+IlHmQV5eWinRYgo1yjJSxfpmOeKh9f5+TgIlubIl/hmFjnIFCo417tJiBnIKufZN5goaPhYtnnJaIb4J7i0U0iJ+Jco55qIZ/kXqJioWHaHetgn1waoRjd6B6g3mFc4+Gf6GLlIR3YYJzjFp6hXt/eIabcZ2Bl4Vxe3aIlIaIkIZamYCCfYNphGqGhYqTiYJ3tIGBg4iqg3l9gJKXcIR5fqSdcHh0jpeRf5eKb3qHhIeFhluRr4F8e3WHfX2Hh2F/gnOUin+Tlb6Hd36BjZRcc4x+e4t1e5OdmGKEhnFue36AiZeCb46IgX+OYoNjepSIdLiCc32Ag32OgYd1hFSOlYF/dHOCan6Dhnd1gnOGgIGJh5mBeHyCj5VXYXZ8eZd4eZ+Td42Li3V0e3yBhIuEcpeJgX53doJxcYaEb4mBdYCHf36LiIJ9e4KKkE5vj32GfnF4lo6LhYqBd3R6iIGmh4FcnIV/fYprgmKBgoJrhIFyh3qEkYqQfXp+gYt9ZX18f399d3uSiXt5goh1dXw=","123|joCHZWtfZoZplIqYkX2LgoCJUp1yaJmYcKiol5yCcJV9cot0XHqAjIVvc69phIiDe4+glLqMbnOOkXaXa4KQl257gZuFmGpSoJVolZuXl3BxWWtrfnZ2gmt/eWGAa4OGj3WAp3n8bGiWoX+QbYePW4B8hJxtgHqTX4+RbHBzkohvjI6GhoSIe512iI1sm4aMmpegjoxsc2drc3mKfGV/h319hIVul5h+j46JlZC6dISPZ3GMd6WGhnuFfYuVjG5oZIdyj3uGiIZxW3eOfl94jZRkk4mAglGSkoqFkYiCk390goh8c4RwjYaOhHWEdISRa3eBhXuVdIeOa3VwfHZ6fniTm5FvqHV+WWuIfWmDeHmNh3aCo5F0iXmPhmNufotzkpBpfXOFe26Sh4h4aXh8eH97e4KGZ3+LmI2Ga3h6hIiJhYWFeXtnhHRih3J1a2N1gHF+YG+eh4VyeYeJknqFh3Z6f5WMgH2CZ4qIhYNydXuDhYiFg4RxfHiMgol5fH6Vf3x8fG1neX6Vi4ZlgIWEeoaAlnt/l4CBlHdwiGV9hG91i4GRnqKGiGx9do1ofnd8gHeEgYhxjXJzjnyGh3l/hY95j5mNen13oIGHcYaEaI6Db4J8hXxufoeHenONhXx+j4aAe3l1h4mJg3F5fYSJiJOAh3l7b4xrj3h0eYiCf353d2twiHyShXiCgo19hZSKeX53hoB8anaFdH+EcX6BgXOOhoCAd3txjHuJeneDcIB8gWyAeXGHe4KGaoR9h3yGnId8gHeQgX99eYp4goJxgYKGhYmMf4F1e3J6bnd8eX90fXuBbY1rc4l7gYM=","139.1|UICmr2uxxLS5hbOtaaKysZaanmmke5Rvjq+hr2uxlJiiormultu1tqKyoYGRAV+opXF4dDcub63Yfo1+poVqmXvFTpdqboNjaXK0mYupbqqVRpKmfcF+Urygt4JmmJmWvXmBba/obaaBboaEkH9sbX9/amyHdoZwtHNmyHTCtLukgouOcWeK01aEoXKBra5yk56Qk3GQk7aMqbSsaVKoraW+gJLIvJuksJytdWW6c8GSUoqDrqRwjWailnGJcXt2uXdllNuLdJ6RhZjkx5RwmM+uyMCMjWmlhqa5bJZ3ZcZ1tciMi4GUoXOei555nJNyZ5
23xxdq2XjI10jY94mLuGq26DpJ+uopOwQFl7uGuZV4FnbHe0X6KJgNl9dcWJnmyla3FtlIB6qnRzcpx4p4NxkoGsqHmGjXRuvJJ8Yo2hep+NgoV5lYFkmcCJrnyCr5ibopqLUGNvm2mHiXpxoHu1qIGPfpGPd4d9o2utjnhob4N5kImXhXluhXGlnZKKdoiYl3uvjGdUYXyStnV8fG+jesiIkYaAtX53dliRcJyEeG12sHhzp3CGfGiCYqC1lY14nL+MmH+AjqFydJVsd3F9iZV4wXt7hoCMi3uEgYNohmx7cZiDeYJrfXCje7WVc4Z/qYp6inKMcsiUfWqUf3h5iXOEe3mGZaCznYh6h5GKhXtqnlhaY5R1dnd8epN8nnGBhYCNgXeHfot1g3x6cIGPeoKLgYJ8a4N1m8GPiXtrpY6If42YcF50jXF0bHx6i3qqhHqEf4h/fIltiXmOaX1whYZ8hot9gXt2gW6EqICkfHOcmZCLjVyFaWeLc3s=","140.5|mGjnMURmvKXLlcK8na3n0aiip4ONnrFknL+Ef0v8lJyXQIy8nXSXmrJwSYtVeISNb4B1VZkPTnZlVX+YgHSbgJ8Xh4SNh2mvbGZgnqt8U2+Vu3VYgFd4gGmBfZZqH4WJM5iCRn2zU2ajDnaSUW6Zm4B9jYRujWhtgWiVVV4/zpqiiYRNkLSikGCMtoJm9H1ysKWcdmeik8hsSYyrY3yYkpxFo5RgWIapaH+WXIScZmCeZI6LhouMaZS8sZi5hWaFkXacmaJ8bqqYeomDgp9tsKCMhUWVmjeXo5tqgbhlhWdjd6qFi4RxgIyXr6SceLd/UrJeeauejXtjeY6Hi1mnj2ZegpGjkKGVR46qiCptV3mFWGlrhm6Hi5eSjBFVe3x+m4FasWN5koNngnFxmlKRkX9wX4dzpJ6NmIKBUIRRe7KSgH5vloNlnXGBfICLhoqZfLxOU4OLlUuMlnKCW3CIh2GMgHBiiHGkg3OblH9Zw3B6kY96fXechXW0daNoc4aFiotoi2BafXSTd4KMeIJbcoaYkIl+e2WJiX+CeY6pf1ibY3ycnKp5daKGqa5tg4F4gICGmpycnWp3hYpmgIB4jX10gKFRhX5xWIhmmJx+YaCCXY1udoCLeYJ5cn2FRoZ9c3CBdJKHdpN3flh5b3mWjqJ9cY+ClaljdWd/h36Fg52WZ16NfIp/g319gGp2gI5oiH5nb390l4V4dox/XYN4foqYiHx5hIKMoXyGi32PcYaEoZRpd4mGgHGCkXi1b3uIg2eGfYJhgmeIhnZfi39fi2x2nI6ZfXuMgo59a6FsfX9uk36ak11gf4B+bYM=","130.8|fYl1hWl9i3J0mm5rZ21xe5OHkp+XkItogUiaf2dtjIKNgp96qoF5OIuLg3WG/YuwhWejdDX4a4R6fYmhp8JoX5N5wm2Ul5ZQrmxJX4V8aImJTZiEf4OStEVbgHGUgGKQe4SAYZFybIyLMIeXhIhrXIN8kp6SiYhuiHS9d3B9mFh9iZOecKGZfpuBkY+ShnJwbl5peHKMinGYf5qikc50TYR8p4p4a3VpfnucbGh+cnmNgpOOmHxzW7CLgIawjY6PfXiiZ4aCc3aHUo10maCQl36OhHaFgnmmmHmAaoCCZGpxio2ijYeeiXJ/jXalmZaSiYeldohhlH1wloOTh36Qg5GUk49acZOqc5ynhH1cjIZpoHWB1oeNjJWYdRqRmKltqpGNknt3kaFxcIR4e5RzfoKVx3dbk6Cvh3eEiG6Ee5VtgH94ioR6hHSifI6ei451haGDdpNYjpZxmXZ0YXh8pJJ+friUeGeGjo6KloWFf4V7gXKHf3qVhG57hoeQh5OJYZiCeoR1lX2KeHZ1gXVpeHaOhn2Ac5F4gaRyiVu+hIaCh3qdY594eJuBfXeEfY+Hg2JuhISKiYGdfpWadoqDfIJ7d7pZgX6ekXduloaQg6KCiXCDeJ+SgnaBfHWXX3+Be456aJRuiHaBgoh2hXl9cpCCd4l/cXl9iJOMkYhzgm19cHmabJWLd4Z9d297frRmfn6Oj3ppl3WDdoqBhXl+e59ren58mX9tent8jYiSYnF5eJ+Nfph2lo95bn17dHt4q2V+fpKTemCSdIFul4OFgIp4l3CCgniOgG2FgXqDhZFpa3V3ma58im+Sj3g=","147.7|f5FxpVF4dGrcloKETXdypW1+dLp6X3i+eD+YuFCPh4xqe70pzZdx5Ih5Zq1JhC8+d
23apCXuiQVXOBaqGUrVtTpYRhLbOWtpiNCrW8YLS6U3CCMI+KfqCXQ7K5erxwpqprjaN6OF1qVnl13ZGNQolXnH6EkLySfl+wyGShjmGSm4Snjm7JYpWDX2gyj6Cf2GSenlVtpGhmg/2beYJ6fYXrwJ+PzH+JaV+8d69NWZ5rZ4idrKmNeY1lZXmEg5qvmaSje5aJZKCOaI5/1HeWeniJhLG1i5qmoqNodoiDopd5opRlhJTFo4RwlGRyjIl+jrWjp3knkaZhfZVkaYGoeoY4dIZ0iaJygq6YeIald5Wrd5GcnG2AX7iehHnjar5D7GGGpZ6jlkyPjrtckoxranOhlH+MfnNpt3LMmN6Lp4+EjYtsiYlvbYSIa49nsJFmW8BuaK2IfIR2l3Otp2+SuHSHP6yOfn2ic2GasnbGrYmdhWKLnG+th3Zsf2NRekWJfJWTpmSNql55bZZph458gI6sdJaHroiCipJzareIdGe2h52QcoqoiVmOcmOAs1OFboh+dY6TcVuKk3eliV11kZZ+gop3jleqioFdo3RUaa11xIGKp6dlk5aAfo2FdIWHpYR/jJR1Z3aUdVvBh5+wZIyEcp+CcnKAWFSKV4yIaoOQc3Vnm3l7YWRnkZh5iKR5f0KPh3+NkHdnkIh6l5KHm5F9h6NpuYN8aYJqXqBZiIlqmJZxb5doeHt1ZHiMlXnClnp/M5SEgIGceFZ7jWihkIWgnGaSlHGcf3hzgWiDnG6WhWeOnn1ykHCYiGJoeY0=","137|a6WnrVCld5q/c4B9Vlipe6KYnF1yq8xS2GOmr07KopJ7ua6ngufALseX1KaUOYjUlZyipcENV5hpoaBqOcJbbJF/YnVwZGHHkVifcoivUo+na2SmfoiMkKlUrcmF2WqiuKl6qLZBWJd3b6FxroVduoOAbltlnX9akYlVpWKXlpSceG7taY6tTVtpgmpiiG1lgW/9mmeAmodkm22Kb31aRquzuoS2K2uasJFZlpV4a69uZIZylXJtfspZWJWKbGW/dG96dXKLbKqiEXajxW1xkrt0tb6GnLmMknmglJ+IlbtndIB3knmemG11qnGUjaFnXZ6DcYdwjJFmepqSgaKCa22MlJZUumCHlXCQksmhhIuPY2yVPZOPcn2abWCnsZpad2dgpntzeHGSiZt0ioR+j359b3eBrlhYaXF6YKpudGp5w4pvaoa4h5FvaW+WhoaOm2GGj2qRoW+qgYeJnXN8ebaLfmmddHqAVmtck3hmqYR1g3iGh3dsiJCVlXCFcp2YX4urXquKbap7nYZqhYSkc41shoV/fZN5doJvcIBqeWiOnXeBXnyLdWSGV5iclWh2loNslZGVa4tjjY5oiXx/hpd4mXZ7hH5jkXV8l2VukIl5aJt9cnZ6gIiVdIFmjYGAfpN5eoV0cmp5eGavgXWGfJaCdnKGdZaVnYNzko5rhqO3cYhijItjh3SBhZF3jV56gn6Dhnh2k3B2dnB5aJF0eHN1k4J4bYZ+k46JY3iBlm2GloV3f1+CjXCJYoRhjHp0WIGBfWOQe3h2eXVubnpqfHtvdHCRg3p0h3l8oHx+doCQYYOWgoqdcIaHb4Y=","135.2|n5KEplGbdcKHVmpoXWebcYxuTpKEkHSrmDCRlVPEm4uQqoaEnLaeNY6td72SPUVJtYrChKPQWrNXZI1QGVZjioqLBJFrj2a3YqW5VamYWqSgZ3GhgGqOnLBeqsCAn2lRrqp7dmLhWKh4U45bg4BiqH6BbJFwoGmkqoNelWaVXL2Ja038b3iOXF2sd4poS3CZhU7zkm53kldqlHJ0kd2ASZeQkJSbXnh6raJdeYvAa6GShYlleHtyoYBMa6g2iWa+aZJWX5aEb6Gbc4OVu3SGhGaEuaedk2mFhWuXho6Fh5tmlHRyiXOdkHCRkINvgHGKXIRdj3pUqYdqgpOQg5u/Z420rp51xoGKi2RweKaZwoyGqG6cXHGLZ3ZicOa7rpGOaYpjm2GLb5Z6galxiqF4gXuOdnidmE9qd4SBXMhtikhn5IRwZoXAkYl4XoysgZN5i22QiGO8gaC6jnqEnHWEbM6BgVaYfJKaYXSOaoBknGuJj2ybgHp3h7GjloJ3hKuxYYmRhJuFdcFcmYR+gIKLdH+TW4OAbZF4kaF1d8tCgWKFgIZJToaHdnOBYZ5xm12DrIpveZOoh3pwn3GFgo+CeaZ3lnhtg39zknmPlWV0o3Z/ZYRri2SJgIGSdoGIhIB7Z496kYx/dZGAhGTUaYiMbIuAdXyCdKBwp2+IoaRvf5LThIFepGuThol7f493jFpvgn11hXqPnnV7oG6BaIpwhlRmsIB7g4R8mGCbVoSFmW2EkIeNgF6PbYOEgH5ljnhvVXd/fluPe5h6fouPaoJqeXCLXWqaf3h6hnd5Zp5vhYeUXomDiYR0apdvg4M=","130|Y5R3i6xvfnpRY2R3aHh7mGp9c6WcbIptclaLvKhqbaCigZtleViGe4J+2nRyfq2mgpJfmEP9pHxyu4Bhd59rbIfpf5VvnYCPm266alu8o39th4uCfIqLXLiEeY6FjoiXi5J7o7OMoIRp0ItnW3prmX2Dc6GFY5BviY1tfZeCnIZocHBjcKGGk6KaiZF8maFywmaGoY9zb4mDhp2Vk3Z0eYyEgY55f4iIhqJylGuOkYCJiH11g4Byn5GNmKKaknd8jneDbpGNjntvuJZ8eImPf4KYiYuKnXh6eJaFmJKTanqVjKGRgHdveHOAkHeNqJSWZJSJeKtrmZaUhnOglIh7i5Bqj2mKinKGcW+knomvpoRqp42Kbrl+dJiict9xV62zZ5Nuipx4rmmMdY2LZ56XdHyAZXmchYZ7lGGHXoeoeqZzfY+JdnurnHSFnH9whXWAeXSYdnLCgpqKiIVykop9nnl1fXdud5F9ZI56eoRmeIx3p3WQhIZ7eq+uinWAh4eNf4OKi7J2Z4mdgomChnWOiHt6uXh/bG14fpZ3iJtyg2d4j3qdelyLiXR9fah6coaFbpp8jXh4gXuJmZOUi3KEfI6HgmqkeXqbYHqQkIWHsGiEa4OOe394hHaKhG+Apnh+eHB5jpJ0iI9SgmiBj3mndYCCiXx7haV6bIR/coh8fXKZoHVth5WKiHiDeouFhHWOeX+Gd3qMhHeGi26CZ3eSeoZ0dYSEiH19nXt4h4F2mnWAdISbfW6Mk4mGfIKEhoR4d5J5fYNte4qPeIeQbIRqbYV8mXhmgIZ9fIGDgXWIgXSVd3xxhXuEdIiRioU=","131.7|lIl7eGx4gWVTX52bmJt5bYG4dJ2TQYWsq62AqHGobYCZZY2MYXhyvYpxpaBYMImseoRJm8wzbnuKtXtZXaWXy4zTdbdsmHlCfqdwlYipb3ltSYB5gZV9XGChhWR1aI+neYKCrJjqcHOH1IRgw4GWYH6BcJt8WZOhWY6ohHGGcWdocZhmjH9/qU+RfopzgKOZbZsZnHV7dIB0bFyAhl+KqGJ8enaJ/ZSLfIeempavdHqBhHRpbnOLmG57dHB7jnRGoo5OlIaJd5dugIyUYoCEfZdsY4Z6b1SNbod9jZ6LmZB1gGVvdHScdYt2cI5dkX6QamaRjFyXiI95aHJYioRqgYZ9goaOloPGQ3FbmFp3ln2Tb3WLcohybHh+jLyWXH1YXZJvYpWLc56TjHl2hZJ2dH16boOTdHFpcHCCZFORh2eOX4l6iHtWk5OIdXhscmFhfX13TGx5dFl1moeMo3iJfXB4fH2Fg4mBcWuUc4JqVI+Igop0g3ttemOjdn6Dgml4l1R5nz1TZ1udhoSWgomWeqCDinZ9jXqFdWiDcXRwhWtuj4Z7iXOLfmh7Z5+BemuAa36PcHljd4B9cHpqhYqBjY16lYykfH6IiIKNgm9vjGOFa2+NjH2EgYuCeY+Wd3t+joOBiXZ8cHZagmlvkYl8inGCenp8aJyHZYh4bXKLbH9ujFtpboF4hZWBhJh5gJKUeYCIg36JkYF1j3mEbXKDg4qQe4F9aXtumJdkZ3hwbZBxfm6Ic2Z4gHKGjoGRjXqWmpd6fmyDg4WCf2+VaoFrbpGMeohufX1yenB8dXaGfnNxjXaHcXdzc26DcYY=","137.3|t5tckVdwYG+/nF1mVXhPT3iMr599d1yxaKxVSFcvjH9xc2VbdmRweGtxtHF1YdWyh5BVopn4WopIr5ifjIFca2hGfnCDl5i4jKw/lohHWoCJl4qBgZyGkTxraK14eX2dnpyApHr9Xn2YcJ
23yYdnJgr397gJ+RjJakSImHmWeqcXmZi0NKbIVseKhbeoubr3CdfpmNXG5Mi2SUjG18bYlie22FgZCEV5F/iG+nkYqrbJNxY4GQXGhte292b3eJjZqIjI+AlIlzb2GKTX17Q5Z0oXNzU5OThWZmj2iTkJ6Gh4xoloufj4hPa25rcIWHdWaRppWqjZ+XWmtraYZudJlypGxZbJNqfm+Gk2WmiIhso4iHr3CRiHKJkIdubysxbpZBeJGgnaONfJSQhJR1iW6fjX5YXHR/WqyLV22Bp2+FiIuQmnJ1a4NQapyLpXGMR2tzbo5hjXKRbKSCd4SHq3aMdHCJgXxidXl5aI2ZboOfpI+Jf4p4eHZlgWNVjoaHcoB0fXB6hGeHY4OMjYqeg4WOcoWEdIR/k2l2hF+Di2Jsgp+Kc4SPn6ludWGDeVp0Xo92blV9dGGSioJOioGYjIF/hox4jZSAgn1yVXN3iZCDX5eEnIGOkWqhfoWLeJx0c4R/lG93fXl7iVlpgp9ykImHiZF8dHKCi1l+WohyiHZ9c1+tYYdiloaciIR+g5Z6hJl/hYGHcHl8cn+HYH6CmoKahW6Jdn15dYJ/YWp1kHOGWXV1YZxkgGWKhYyJm4WMjnmHjX+BgYZke3eJeZJdfISaiIaMio6Nfnpxf4l/XYSVd4VhlnBkk3VqdJCJjIg=","133.3|h6pvcp1UdoWWrIOEpJuCaY6kiG14V5KVg7SXRl95ZG2De5VuhcOuwFhw/XZOlWvBaJZnoZ+5llyit52wPr2hanqWnnN0bmZ+lpSgmYxEYWNeVWtuenmXnq6ZdJ9yjZ6ykqx7nq2LkGx1g6OnqIiejX98eGtpio+RYomDbIxoelqKk3vBkml2oaYuenNklZSLUZtyX21caX5mbWN2gqByqnCLjod0f29rjoiBlouXiYRoc4mbiMmRgopzi3hCdGd+bIZ7k4hucINkZ3uMb46Hm9KQapeMcnSeaH+HlW2Qh4GMeo6TkY2ShJB/fIaOtWdzXnmshGedgWpscWmFfoZnj4KAbMB1tmp1UGh6x4GplI2Lk4l9a3uLlolbjoRniopiVnNhgJOEhKyNiJOETXOHhYGHcYeFhWSPZ395Ym6zhVaMrnF1Z3p8iWtteXyKZZVtem52W2plgJCnaYOEoIF1bZaDgXybiHp3X4x9cXtoko+DZ42JeXhmd3WcjGuEfpR9ln2PeYFicX6Th4aNhIKYhYVoZoOAnJGGe3p3iV9temV7roJLlWJyd2J8b5x3bnV/cI2LfISUfHJ0kIiJiYGBfpqDi2SGgH9ipoZ7jW+GtnR8aJOMhXmVg4SMgFtshX6AjJCEe4N0jVl/fGeBkIFfh4B6enN5bZdycoR8fnyKgHqFemdqhIuCiH2BgpOChVSJgH6Dj4J7hnSGe319aX+JgW6Plnp8e3p2l4d5a3yLmJB4holidWh2i4aFg4BvjoF2Q4OBfnCWg36NeIlye3toeouEYYuYfXtzd3Z3k3p7f4aQjnl7inmIcXqKhoo=","138.3|bI+GibaKnZFJcHl6Wmt/f4SHhKmhdXVabk1/t7NZanOmjFyCTa+jxYp+rVWKIXl+c1+XqzUUsXWwbHdtuHVcSIm0RFmEoHx6elleY4+6qnZrVo19gMF/X0mpd5CYipF7ioR7u1lQqnFqKIl0c3JdcX2BhaaFbphf/Jd+jZ6Kop1feFiKaG6edFRthpN7jblodGF9pZd0blWBiYRpibxesIiLmYCJXYNrdqaUoWNnl4KbPmZ3iyNuhX2Kg3SCkXeDgnBvadGNkmtrWJSKqI6AjUmeq4aKfKB+f2eCYHqNY4KagIS4cHtwc2yDmWx6iGaUYY6WcKNkl5WacG+jln2eooGFcn9+YovOdm6DaXdLpH5pWpJ2fFpwe783bX/Cfm2amZVpg6FyiXecbW6NdY+AdH+Fg3N+iXmXk4eFWo/Vd3BxoouNgHyPm4OXsnCUl8GPg4iUeXJ8h2eOXIhxhI2GaIh1f6Zrdoqmi2q1f4Ngcpd1hXaVhYh1eoGrfHqMf3uAm5h/a495dodagXF9f3KKi5apNHSBimN1iah+bpqJhWZqX3Rxd3aNinR8gqaUiZJ/m06Nj3GPioRmhJFybHCCc3OGfJBVfH2VSnSNd45tj3qEbYSSc3Z5gnF7iISxaXx6kXF5iXl5b7KjhGGfkHN5cHyCiXl5bKOTnYx2lIKPkHnJlntrmYpqb3ODd3yIf4RleX2PbniJmHt3hH6FaH+ZeXBqnoCGcnl0nKeQknNocJGJdax4emiGhnRxboZqfYGLaGt5fIhgeYh4fXuOj4VogIx0XXWNfoR6e2+BoYCjfHBsoYd9qouVepCAdHM=","138.2|sk/gb3dE4qY0e9nWl7u4/LywplRiiMV4rq2mXn5GnJFeWMR7f46qrr5G+o85qpBURnVGTo5WfkGS61aAkXmWf5TFnFqJW33LtniYlUNhgUaip3dZeGhsUqSSSbaMcotoc5F9TGtafEByaFOAWYGVu398iFR5YX+BuW6HZX9o56die7d9kbWpzmaQh2mDuZt+gqCtaIJkl96EW7GEi5uToqp2p6tkR02KV5WEXn5egmqXnHR/nqqNZYytra+eaoeHb4CNlZp4gmmgimt3Tn6KipuumHabjZCUjbZmcIJugHN6Zp2vZ39nkIqJlWOhj6Zkj45nfpaYanF8VZm+cmJOlopXhpucWp6eb5Wddm+JcW1+dn9ifJpsf5OKiVJghI2xgmSLd4iBqIZsfWiAUpSfc356h4dppnRtpoZ0maOmgKOObnh/eIeza3dkgo9pmp+oYZ27b4lGgl+CbnR+nn54vIZ0f55+h3CLkXlso3eRf4N+d4eFd39uhodbY3NoipyCkYpvlcR1e3CWdHd/eX2YfIh/rXZ9eoqCfISEeVmrdZJqkH+BpHN1fmaEolx5ZZKHeKCLglaWkHKLeHx0d459gnN+e4Z5enuUg4VngIuCfpB2kXWAe4GAeXxxf3F/iHp/eIKEc5GIfIiieZCYfYFxiWB+e3SJil2KVWyJa4mKjWGRp3ePc3ZmeIJ9fJN/dpN7eX5rgoB0iYV8bXt7j3uBf3+QYHp+ZIOQZJ1gkoduloSKY5uYeZN0cnt8hnydioGCjXp8gImAg2t7iGNwkXmTgXZ6hIxkfX9ziYuAm21zhm6NjYhxnI+OhnFyeHw="]},{type:"relu"},{type:"dense",filters:50,_biases:"119.2|CBIJGQ4TBgwTFw8KDAcBBwoMAQ0cDAgWAgsJFxEbEAodFw4QFggJBwcSDQkWBwIKDgk=",_filters:["111.8|OzYzOxg9JEg7ODlCPUYyOCs1Jw0tNUI6Jy8fPzc8NyY1ITIxEDc+OjwbJDIdLjM5ID40MDI2PTgwMyg3JS8pOi81ADkzNjI/NyYxNzY5Pyk9OTQ8NUQ7Kj06MCAtMzcdFzg6OSxIMzUdQCkpNTA9OzQ7ITo4Mjkv","19.2|S1IxY1RIV1FAMVFcVlEtXD4BM0FgXU5CTFtTTlFJTEMtUElAX0dbS0ljVkFlS1VBP0FaRU9aYTFIXExKX1czP2BBQk9CQlRIMUNkSTpBXWlZO01RYVJiZEI6RVpRSzZgNDYyRlQzOz5TS05PPDtdTUVIZVpOVl4w","112.2|Oj0fQi04KB45MkUAPzw5HzkzLi5BOzQsJDw3QUAlOjAxMTUnSS9HQgpHSjEwMCYzHiwpLSsSQSw2TjgwMB82PSktQSkmKjgnMB8qLyozCkkoNy0fTho8TzMtGkIxNy4/NTIsDDAyNSZBNTU8GDMyOzkoLUE4ORYt","19.6|TyEmUTdPUVdQIFJEJDNDSj5KVFNRKj0tNlRRME9JT1Q2QTlKT0BMH1VZPklTQRo4QVBDOE1BWlFGS1E3SVEAUSVXTkxCQTtNJUVgIU9JU19ATydAVRNSKjlFR0dERkNVSUctP1YvJEVeVUdSUThCWEVSX05PTTk/","111|OmMwUjJJQ29EGkxkR0Q7W1I6SU5HR0sxRkxYQ0BNQl4qTy1KSUBFVD9kZCteNk0uTjpKT0JGU0wsW081XD5BPT9VRDwAMUhAPi9oOmQPZlNlQFFGYVZcTycgWlpOMypJQCskSVNJHjZqTEI6TTZPUC4xbko9TmAt","17|W19cTVxaXDpXRFddXk1CUVpYW1dQXl5NYVtRXVpbVyhOS1JOV1tbTlViXVVeS2FVW09ZTltXVVNXUl09QVxYW1thSklWSFtRTlpSTk9aWURhVFNbXmhBUFdVWFxOWE5cV1kBW19kRVplZENbYlU4UFRYRl5WT1dR","112.8|KhM5JDglOCw7MCEtL0EvOSwrIycyETgsMwYAGhYVGzcvOCI1KTYmKTU4NjAnOTczOBURITQuDDYgSCQtHC4yMzMaPjgwMSwnKzZENTkrACkhJS4jMioWPSQvFzQ8LjIYOjAtNCU8MTEXMDU9NC1AISgoLzchHigy","113.5|KAgmODUsCTExLUMxKUAkLxktSCM8PDgpFTg3ODowNTctQxInMxQ/PCw/FTVELzAgHCQ3LRsyOBkkUjwtUzw2ODY4FTMmMSsoLSBHJQ8ePkYSHS0nQUA1HSArRAA5DycxORssMTpJLzFCJzEnHCMPPDIyRDQyNSYw","112.9|Nz8jVks1QGkMC1
235AAi0uTykiXR41PiIWQk1MTj1DM0sKTjMsOipAFFNgThhKLEonNDZJRz1CWD0xPj4wXBkpIFg2UTEhLUYBNCVlIhwWQ19NKTg5VFBeTycUOEVYHyA7WxcpGU9iIStpUTgcVTNcVjQ0Pjs8QjUL","19.5|S1EvN0lOYD9CO1ouPk89TTszWk0bSzxDVE9JSE1DRyQ/UkhLVTRGVxtMU0pJSk06OUBRVj8/RkRMSEg/Y0hDTFBLVUcBPEc1Rj9VOTc8SFMeSTIfUUFQT0k5TDdDSEhGUUszRVAwQEpCOUJJR0lXSzpDPEVLTUZB","114.5|Kz4sNRIhRywrKkErJzwuMSgoJwYzBiQuQhEQMycaIS8sHg4qETUZSzQ9PxYhJDIsERQpMjQEPTUVRxAsRDMwGTgzLC4nKhwxGxM7IikSM0Y0JwkyNkAWJCcqJzg9MiAAJiYqPA4rLQsiKhEeOhY0Ki4bAjMkIDoe","112.4|NUMuQiA5K0onMyo8Fi42MT0xSC4rQTs5RCwOIRw5Nyw1MysoLDsoNzVCODUNMyI2FScqPSk0DjguLTQ4Kjo3Li87FC81NzI5IScnK0EpGT43Ky08QzonLjc2SiE9IjIaMDk4NxFFOBgHOBI8OB5CRTo1ADQcNykr","112.5|LWJVVFUyOGhIDmI4REwzV0sDN0VlQDwyRFJTRUMxPFwjPjhFUjlQbmBTTyFYI0YiKShNOhtTWUocPkY5aDU+KDhET0cAJEwvLgpLFmIDYWJkOEw8WlNgSRcBVFNZPhY7XyAgVFVEAQ9VXz09TD5KRhoiUVE0T0Mo","112.4|ISU1HTc5QisuL0w9IEQ3NzguOyUpQTUzOTwBQDk6MTwwOjE4FSc7TC0sLhwVNSwyMzQrOiI+OTwkUCkwTS01Lz86Eio0Nik4LzdDLzwvREIdKzI+Q0MkPCUzOxQvNjIeEDEyLxczNDUdMRYyNyUdMTI4PTQoLjkp","112.5|LQQ2OTY1AiU9Ly4yMygsLikvLC8sNyssQS4zKysrKjUwKTQvBS9BIC4lGDAiMTYwMi8wLTQkMTIuESgtLC8uJzIVODMvLCkyNi85LyIxNgA0LzQuEUUUBjEtJSk3MjE2MDAtMzMdKjMaKC4sHjNDNDMvOzAvLzIz","111.5|JEEyJTQ4Mzo4OSsbOTs0O0E7STtFF0A6MhlBKC84LyU6LTczLDktS0ERKTJGMQ07PD02QTslLDY7OhY3NjQ8OT1BJTc5Ozg2OzIlNDE4AENCNzEzQjpNQDc8RzwwLjVGQzs5NTIvOSkqRjYuSDgtQzUzGjQzMDk3","113.3|IQw2Pjw9BDwxLx8QKTguAjA0SDMuPTgsNyk5Ey4ZITsxGTIeFCA5GjAHNR8bNC4yLiYzOjcJFiMnGRQrQzgyNDohOyQzMCguLxUxLkEuLQotLTMuBzEzHDIoNxY0DTA7GzMkECY3JTEBIy81HSg/KyUgPxkxMSEq","112.7|LRQ6MSglQEA7NDk/KUQ2OTIsUCUpODsxPB0TKxMPNDU0QSQ2KzZIGz8yBiM3Nzs1IhM2OjI4BTgcNzQxID80Mx8mPzoyNTk1Ki1BNTwlQDkpLjU5OkUuPx8zNxRDLjI9PSU2PgFINjQKPCUwNiUnQyw3PjkQJzkx","113.2|FTQdIS0TEEYyKzwJKjUxATEmHDQIFjspEBoyHyIyFC0sNDATOitBHgoSPy0sJwgtNi0OEyk1IC0yTREjVD0hLxAsMxwtLBgvLTEXKzwxHigvMyQfODBBPC8qPjYqNS03ODEtCDgdLC9BJy0vBDJFPicRGAkqFDEu","112.1|KmNbVCMyWmpLFF8+akdIVjoQXkprYUA6SkVHWkQzMjcZPys5Tio2b2BkSRdZL1sNMiZGUSRWZEYwTkU+UzBGKT5QUUwRLEJQUChQHlAKQFJINithXHBhXx4BUzVANhk4QCsrO1BEGipaZUFGT0FtZyAtbFZDRl0h","110.6|T187UBJJaGJLMSBNVlE6QlIBX08zPiw9VlJGVUNMOxslVkZGTCU4Z1dGTTtbSUtBUD9LKBNTWik3Tk4pViJGNjkVRTg9K1I0ST5fJyU2TFEtOD8rVltkVUIJPEI1PEI3JzwzVUpaMTpWQ0oPLj1kNQs8NUhOMhU0","113.4|FioyJR8RJAsyMkEmMjgwLDEtQjUwKjguGi06JiwsNjIuNColNgE8QjExLCYyIisoIysxOS0NMhMtGiIvMT0mMkAsLzQwMTYuNyA1MR8sRDczLTIYGkI9NzMsNygmMipAOyI1NCsiKzU/KDQnKzMUOTY3Hw8xLTAu","114|JyIeIi80Ik0QIhoTNTIkORInVh48HjooGx4kNzEoJykpNw0vECE3TzYJGC9KLyYfLS4zLzExOyoZTTUjSzQnNDA0DSUoKSEaLSlJFxcZDB4vGxU2HiEOGx0mQBckASkfKCkYNzlUJg5IKSUiOBsyDykZRDcxMjwk","111.8|LUUlUUc3YVBQFV1fOztJSDktO0xkXU4wQ0tXTENKOVQbUD46SUNSWTlPaCJfN0YKLidMUT1EVjkwSUIzVT5YN11KQEggLFFPPA5nMUwBOWMwPhs/XVBYTyYaSTlbPyk9PTU/VEhiGCZQWjxGSj1PXyk6TFlKTUkt","112.1|LEMyOjoSMjY4MkNDPEY4OS02UzowIT0xRhY+KCQ7Fi02JTQQHjkcSTkBSDQNNRY1NDkkKTM0MSo3SCI0NDE2MTs/MzQtMxY7NzRCMCc5MEgxMzUpMR4hHzU0RkE8KjEgLDEyJStFNDINDzU2LTg6RDIaTygzEhgx","113.5|MD81OzchRjE0KCoAOD4wKDUrODI+PjkoRD8vLis5HS0hUw8xMS8fPi1FRy1YLDorNxguKSoLSSYnUzgrLCwpPisvKDAmKyUvLxRIKT4UOEovMw81MVAkJC0iPS9LLiEEQCAXITJbKRFJIS04PSwcJykKKDwzNiUo","111.4|F0I9AEIfRh85Oy9BMkk+LD4/Uz0yODM2RjIuCzI6OEM6Nj01RCtGJilDUSsxOSo0QDIrQj1CMUIuLBU9UTE7OUMwQzQ+Nz4yOkEKPkY2IEAwKz4hPDdMQi87MSlELjtAMDs+NSVMODk+Qz1BOzo/QT1ALy8wOkE4","19.8|Rz0AV1FFLmhJPFNNJVU4TDs7Z0pNVTxBP0VOQExMSUQ3TUk+Sy5ASg8/O0lSSEMsRklFUUlQSUZKRExAZUMOTFtOVjYGN0sTSjJBMVVEFU5CSUciSF5aSkIvO0NdQUdcT0cyS09cOTtPOkVIVkVMU0JEaEtCP1Q8","112.3|KGEqZDAwO2c7Cl1YRUEzSUwVST1CQksraFFXV0Q5NTgjSycxRzxHTzpXYSJXL0ELSyZUSUE4ZkYnV0kwUk82Nj5LUzUAMUotNw1lLFoqQGE6MChjWlBiWxQaSVhGPyJCXS8tU0NwDhxlXy5ESDJHSyYqaEc3QFck","110.2|SSYaTUZPSllKJVcuRz1DVTdEWlJIHTo7LkpIHlRPSUslTTE+VDdTLElAM0JKRQtBKUhES0gqWEZGSU5AXEgBTT1XTUg6RDpLOzo+L1pCSFgfSTE6VylUUjpASE1QN0RWQkgwM0w5HUI7QEVIR0RbQzxOX0RCQUA1","110.3|QjNITA5APjZONDpKSlInQD8INDwmMktAV0VCSUZLRzoySUFIUD9RW05SQEFNPkc+S0FFNUVIS0NGT0c+XkZRRh8vPUIBOkBCQUk9QUArTFA/QyNLRl5WRTgsUjlNSEE4KEISUkU0QkhVUEI5UUVUSkFGN0NHPj9B","113|MxY1OzgXPEg+LEI6Nz4uJjEvPCUTNC0tEiw3HiwmIBctQiceNRk0MDY5BCUxLDkuLTcxKDYQNRoyKzksRjMzNyQ3RjUvKyo2NyEVNSovNBo4NzYIEytQPTEwQTc7KzMmJR4yKhtKKTIMKDMkDTMBHy8uMRUxJSgy","110.2|U15GTjJPVmhGOD1BVEZDTlEZY0dOTydFTE9QVkhGQQAgVks/VTkwXVc4XEFSTkdGTUlRLBpQViA+RE4reA1SOVomUzM/KVcoSjNcIkQwOT8UPkdDTWdgTUAOKzEnRkJSRDovXVRoL0JhV08YQkdlIBNDX1BKOjQ0","18|Vk5YWVdQVTtXQFRTUEpFPVhUWVdVV11GXVdRUVFZUjA+RkRBWFNYYEZdWlRYR0VRTENUWFZHXkFWR1kzQlZWVFpPQUFPRVhXWFVhVV9VWElVTVRZRWhBTVBRVlhCVUhZWlIBW0ZgO1ZcUT1SW0k8ZFRSTlFJUmZV","112.3|Jzk5NBA8Lkc9NkksGTYyQTI3KhhDIT49JxIvOSotOS85Gi40ADlBUEIVNCguMSg1FTg5Py0oIjkwQhY3QkEpJUo/ETk0Oi46KRdENkEzPS48NidBPy1LQTs2ShsmKTNDPD06PCEzNC0VNxo0Qik8Jjk7BzInLUAn","113.7|L0EsPiElQzspMyIxOUQ0OCQxSRUpFTowQyErNS0fIjovFxErJDQkNEA/OxoWMTcvFRg5OjkBLjEYOBIuRzI0KDI5LzgwKhw0LBVDLDcVNEg8MBM9HUwlNi8xRDo7OCYQIycqORxEMhUYMxwmRB43PCgcHTIvJUQl","110.4|QiE3XD5GZ1oYL1VRE0IjQwsBOB5KTzAtWFZYT0hSSk4uUkI/TkRXHFlOJjNhSUc9SUhQP0hPTDFKUUg9ai8+O0gjQ0Q0MkwaHUVKPg80UmpMPjNIYVhiW0YrJVhgNjVYIiUuL01EP0ZKVUcuMzZiVDpIUkZFTDwm","112.6|Jz4TFxUvMFQgKkIwNy8mLjMpKDFA
23NDUzFzo6MzQ4OyIuQDIdOQFIQxweSzQ0LRMmJDg8PRZCIyA0Nzg0NDklPTwwHTIuNjclNTEqKkAzOi84IzQ7RTBLRjIyNB0kGjI9IjM0RTFIMDRAPDAvHS5HLTU4LiU1ODEs","111.9|GCQ6ADcsPk8/NUk+OycyQjkwQjc6Jzo6QS0IHC8zLCwzQyZAPC83UzZAHzhNPzQvPyodOTo1KjMlLjA5DyI0ND42Mjg4NjwjPT8UNjU4PQkuHzMFRkIdQy81SjscPjg2QCU6RRxKNThEOTg2QjAjNzo9SCsbNTQ7","111.8|PEIvAC8aRR4sMipAPzA5KTs2Kz1CJkM2KDEvEx8tOT4yNjw7KjgyLDxBGTkuMD02JSBBLi48CzQrMzg5TEI8MShBOzY2ODknNzsUODg2GUQiMjAnQUlGMyE1MzM/MjsvOTM4RykeNy5BOC04PjMcRisuODsoOUI4","111|LEYuADUlTSkqOUE2M0g7HD83M0MiPjc+PkM5PjxDMyk7RD0pSCcsSBkkNTdCOwQ9PD86RTk4QzY+Ojs5KR88QC04JTc8PT9ANToEOzo7MSU+Pzw6NTotLj07Pz86Pzw8PzU9FTwuNzlANjY6RT4tNT85Oxw0LUQ9","17.6|U1FUW1hYWF1SOU1ZW0JQW1JUWFdbR0hGSFBTWFRUWB5AS1VWUVhWb1tMVlNTTlhNVVdWUFBWWlhTUk81SVRBV1lUT1VTSk5TSFc2PGVUWEAsWFVYSkRLPk9LVFdYSlJUTlYAUFFZOVVYYFRXWVYuSVNXS1RMU1FG","112.9|JSApHi0uFiYxMzUqOUAfOhwwJSktODAzADUqOzwzNzUsPh0wTAs7QzdJMDQ4MzAjHTA3Oik2PRkkRTMxKDM2PD84GDcuMSkhNis3MA0qPCkjIy8jMTxJJCwyOxAgJC4zKSAwQj5PMjpJMTYjIjA4Pjg7PCw4Ozg2","112.7|EiI7Dy8qP1A+MUcyJzwnPC8qKzA+Ii8xORYAECgbIiwuQyc1PjIiTTgwRS1DOiswNyANLzs6MDoeUhcuTDg4PkFAOTc1NDYiKzolNj0vBgM8GTIgPRxTMiM0Eh81KDImPC4uKyc0NS4qQDU3KypJIDM0PSkfIzo2","111.6|OTE8MS8xQRpIK0k/LDYyHkU9S0Y3LzwyLj9HMz1GRRsnNyosSDBLPDVDRT5INyw5OC5AOTwbLCZFLjcpOE44Q0kuLy87NUE2OTwjNRo+TSEqPDk4HDhBOj47RkIpPTZPUDofTCg0Lkc+Lyw8OyoBQEJCHho3Mz86","113.9|KTIsPDEwCioeLA8RFzUwHhcsFSQoDh4uJwcaNjAUGjYnAxoxNzQPJzA1RCcaLjIpMBgyJi8SIikbIQomNjUoHTAvPxwmJRAxHSg6JDUcEzomJhctGyYCPSooHjY9LCYcBSUeOC4XKS0iEiAjGx83LCQUASYiHiAk","113.8|DjgvGzULEEAcIyQaNTUqGBkpLS0HJyspGh4gNyo1BS0oHCANJCM5UwIcQhwTJQ8rMS8NOTE4OzAeKhgrUhEhIyo5NxYqKgoyMC8tKj8rKCgfJSw3DRIzJCsnLjVHGSoHAS4kRytVKS0jCysyCSoTGSsqRxMvCywh","111.7|OUMgRzQ6RzQkN1oaQTs8Jj06UzdAQjgyQUA1QEMuOz4yOT4iTDcgWCciTi1KLx03JDkqJzYUQT09VDQ5TykuPS43KTMsMTsyPB0xLz06AVI8OzcuRCBVLjYyL0IzNjVCQi82DEA+Nx0/KjE4MzdKJzwkSz88PSow","18.8|T1VFWUJKU05OLT9ULkA5VVBOSUpXUkc1WVNLSk9IUB5CSE9LUkVLOFNNS0ZKQ0BHVFNOUFBXPldOR0ktUk82TD9YTU1KQFJSP1AzLjZES2A3UE5OWD1NLUlMUEpOTkVQSVAAS1c9N1BLR0BRRjdqREVQa0BSUUZD","112.6|MDMtPDspUUIjJDFEQjkuPywpRT42RDkjPEQuOjE8NTYlPSApWCxOSiNPVS9DMTorNCY1MxhCSDwZS0AvVDY9LCJHOxgkLSg2Hi9NGjknT04ANRxBQkJDTyEeUj5KHiQuFTIcSUVSKjFTQCk+LiskTDIxVDs7OxUj"]},{type:"softmax"}]}),V=e=>((e,t,n,r)=>{const i=` ${e.replace(/-+/g," ").replace(/[^\p{L}\p{M}\s]/gu,"").replace(/\s{2,}/g," ").toLowerCase().trim()} `,a=F(i,1),o=F(i,2),s=F(i,3),l=F(i,4),c=[...n.unigrams.map(e=>{var t;return(null==(t=a[e])?void 0:t.frequency)||0}),...n.bigrams.map(e=>{var t;return(null==(t=o[e])?void 0:t.frequency)||0}),...n.trigrams.map(e=>{var t;return(null==(t=s[e])?void 0:t.frequency)||0}),...n.quadgrams.map(e=>{var t;return(null==(t=l[e])?void 0:t.frequency)||0})],u=new j(1,1,c.length,new Float32Array(c)),d=r.forward(u,!1).w;return Array.from(d).map((e,n)=>[t[n],e]).sort((e,t)=>t[1]-e[1])})(e,R,O,M)},78661(e,t,n){"use strict";n.r(t),n.d(t,{Codec:()=>c,baseX:()=>d,from:()=>u,or:()=>l,rfc4648:()=>p});var r=n(43405);const i=function(e,t){if(e.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),r=0;r<n.length;r++)n[r]=255;for(var i=0;i<e.length;i++){var a=e.charAt(i),o=a.charCodeAt(0);if(255!==n[o])throw new TypeError(a+" is ambiguous");n[o]=i}var s=e.length,l=e.charAt(0),c=Math.log(s)/Math.log(256),u=Math.log(256)/Math.log(s);function d(e){if("string"!==typeof e)throw new TypeError("Expected String");if(0===e.length)return new Uint8Array;var t=0;if(" "!==e[t]){for(var r=0,i=0;e[t]===l;)r++,t++;for(var a=(e.length-t)*c+1>>>0,o=new Uint8Array(a);e[t];){var u=n[e.charCodeAt(t)];if(255===u)return;for(var d=0,p=a-1;(0!==u||d<i)&&-1!==p;p--,d++)u+=s*o[p]>>>0,o[p]=u%256>>>0,u=u/256>>>0;if(0!==u)throw new Error("Non-zero carry");i=d,t++}if(" "!==e[t]){for(var f=a-i;f!==a&&0===o[f];)f++;for(var h=new Uint8Array(r+(a-f)),m=r;f!==a;)h[m++]=o[f++];return h}}}return{encode:function(t){if(t instanceof Uint8Array||(ArrayBuffer.isView(t)?t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):Array.isArray(t)&&(t=Uint8Array.from(t))),!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(0===t.length)return"";for(var n=0,r=0,i=0,a=t.length;i!==a&&0===t[i];)i++,n++;for(var o=(a-i)*u+1>>>0,c=new Uint8Array(o);i!==a;){for(var d=t[i],p=0,f=o-1;(0!==d||p<r)&&-1!==f;f--,p++)d+=256*c[f]>>>0,c[f]=d%s>>>0,d=d/s>>>0;if(0!==d)throw new Error("Non-zero carry");r=p,i++}for(var h=o-r;h!==o&&0===c[h];)h++;for(var m=l.repeat(n);h<o;++h)m+=e.charAt(c[h]);return m},decodeUnsafe:d,decode:function(e){var n=d(e);if(n)return n;throw new Error(`Non-${t} character`)}}};class a{name;prefix;baseEncode;constructor(e,t,n){this.name=e,this.prefix=t,this.baseEncode=n}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}}class o{name;prefix;baseDecode;prefixCodePoint;constructor(e,t,n){this.name=e,this.prefix=t;const r=t.codePointAt(0);if(void 0===r)throw new Error("Invalid prefix character");this.prefixCodePoint=r,this.baseDecode=n}decode(e){if("string"===typeof e){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name}
23 decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}throw Error("Can only multibase decode strings")}or(e){return l(this,e)}}class s{decoders;constructor(e){this.decoders=e}or(e){return l(this,e)}decode(e){const t=e[0],n=this.decoders[t];if(null!=n)return n.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}function l(e,t){return new s({...e.decoders??{[e.prefix]:e},...t.decoders??{[t.prefix]:t}})}class c{name;prefix;baseEncode;baseDecode;encoder;decoder;constructor(e,t,n,r){this.name=e,this.prefix=t,this.baseEncode=n,this.baseDecode=r,this.encoder=new a(e,t,n),this.decoder=new o(e,t,r)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}function u({name:e,prefix:t,encode:n,decode:r}){return new c(e,t,n,r)}function d({name:e,prefix:t,alphabet:n}){const{encode:a,decode:o}=i(n,e);return u({prefix:t,name:e,encode:a,decode:e=>(0,r.coerce)(o(e))})}function p({name:e,prefix:t,bitsPerChar:n,alphabet:r}){const i=function(e){const t={};for(let n=0;n<e.length;++n)t[e[n]]=n;return t}(r);return u({prefix:t,name:e,encode:e=>function(e,t,n){const r="="===t[t.length-1],i=(1<<n)-1;let a="",o=0,s=0;for(let l=0;l<e.length;++l)for(s=s<<8|e[l],o+=8;o>n;)o-=n,a+=t[i&s>>o];if(0!==o&&(a+=t[i&s<<n-o]),r)for(;0!==(a.length*n&7);)a+="=";return a}(e,r,n),decode:t=>function(e,t,n,r){let i=e.length;for(;"="===e[i-1];)--i;const a=new Uint8Array(i*n/8|0);let o=0,s=0,l=0;for(let c=0;c<i;++c){const i=t[e[c]];if(void 0===i)throw new SyntaxError(`Non-${r} character`);s=s<<n|i,o+=n,o>=8&&(o-=8,a[l++]=255&s>>o)}if(o>=n||0!==(255&s<<8-o))throw new SyntaxError("Unexpected end of data");return a}(t,i,n,e)})}},90024(e,t,n){"use strict";n.r(t),n.d(t,{base64:()=>i,base64pad:()=>a,base64url:()=>o,base64urlpad:()=>s});var r=n(78661);const i=(0,r.rfc4648)({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),a=(0,r.rfc4648)({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),o=(0,r.rfc4648)({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),s=(0,r.rfc4648)({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6})},43405(e,t,n){"use strict";n.r(t),n.d(t,{coerce:()=>s,empty:()=>r,equals:()=>o,fromHex:()=>a,fromString:()=>c,isBinary:()=>l,toHex:()=>i,toString:()=>u});const r=new Uint8Array(0);function i(e){return e.reduce((e,t)=>e+t.toString(16).padStart(2,"0"),"")}function a(e){const t=e.match(/../g);return null!=t?new Uint8Array(t.map(e=>parseInt(e,16))):r}function o(e,t){if(e===t)return!0;if(e.byteLength!==t.byteLength)return!1;for(let n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0}function s(e){if(e instanceof Uint8Array&&"Uint8Array"===e.constructor.name)return e;if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Unknown type, must be binary type")}function l(e){return e instanceof ArrayBuffer||ArrayBuffer.isView(e)}function c(e){return(new TextEncoder).encode(e)}function u(e){return(new TextDecoder).decode(e)}},30145(e,t,n){"use strict";n.r(t),n.d(t,{CID:()=>m,format:()=>u,fromJSON:()=>p,toJSON:()=>d});var r=n(78661);const i=(0,r.rfc4648)({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),a=((0,r.rfc4648)({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),(0,r.rfc4648)({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),(0,r.rfc4648)({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),(0,r.rfc4648)({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),(0,r.rfc4648)({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),(0,r.rfc4648)({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),(0,r.rfc4648)({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),(0,r.rfc4648)({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),(0,r.baseX)({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"})),o=((0,r.baseX)({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),(0,r.baseX)({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}));(0,r.baseX)({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var s=n(43405),l=n(57119),c=n(81459);function u(e,t){const{bytes:n,version:r}=e;return 0===r?function(e,t,n){const{prefix:r}=n;if(r!==o.prefix)throw Error(`Cannot string encode V0 in ${n.name} encoding`);const i=t.get(r);if(null==i){const i=n.encode(e).slice(1);return t.set(r,i),i}return i}(n,h(e),t??o.encoder):function(e,t,n){const{prefix:r}=n,i=t.get(r);if(null==i){const i=n.encode(e);return t.set(r,i),i}return i}(n,h(e),t??i.encoder)}function d(e){return{"/":u(e)}}function p(e){return m.parse(e["/"])}const f=new WeakMap;function h(e){const t=f.get(e);if(null==t){const t=new Map;return f.set(e,t),t}return t}class m{code;version;multihash;bytes;"/";
23constructor(e,t,n,r){this.code=t,this.version=e,this.multihash=n,this.bytes=r,this["/"]=r}get asCID(){return this}get byteOffset(){return this.bytes.byteOffset}get byteLength(){return this.bytes.byteLength}toV0(){switch(this.version){case 0:return this;case 1:{const{code:e,multihash:t}=this;if(e!==g)throw new Error("Cannot convert a non dag-pb CID to CIDv0");if(t.code!==y)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");return m.createV0(t)}default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}toV1(){switch(this.version){case 0:{const{code:e,digest:t}=this.multihash,n=l.create(e,t);return m.createV1(this.code,n)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 1. This is a bug please report`)}}equals(e){return m.equals(this,e)}static equals(e,t){const n=t;return null!=n&&e.code===n.code&&e.version===n.version&&l.equals(e.multihash,n.multihash)}toString(e){return u(this,e)}toJSON(){return{"/":u(this)}}link(){return this}[Symbol.toStringTag]="CID";[Symbol.for("nodejs.util.inspect.custom")](){return`CID(${this.toString()})`}static asCID(e){if(null==e)return null;const t=e;if(t instanceof m)return t;if(null!=t["/"]&&t["/"]===t.bytes||t.asCID===t){const{version:e,code:n,multihash:r,bytes:i}=t;return new m(e,n,r,i??v(e,n,r.bytes))}if(!0===t[b]){const{version:e,multihash:n,code:r}=t,i=l.decode(n);return m.create(e,r,i)}return null}static create(e,t,n){if("number"!==typeof t)throw new Error("String codecs are no longer supported");if(!(n.bytes instanceof Uint8Array))throw new Error("Invalid digest");switch(e){case 0:if(t!==g)throw new Error(`Version 0 CID must use dag-pb (code: ${g}) block encoding`);return new m(e,t,n,n.bytes);case 1:{const r=v(e,t,n.bytes);return new m(e,t,n,r)}default:throw new Error("Invalid version")}}static createV0(e){return m.create(0,g,e)}static createV1(e,t){return m.create(1,e,t)}static decode(e){const[t,n]=m.decodeFirst(e);if(0!==n.length)throw new Error("Incorrect length");return t}static decodeFirst(e){const t=m.inspectBytes(e),n=t.size-t.multihashSize,r=(0,s.coerce)(e.subarray(n,n+t.multihashSize));if(r.byteLength!==t.multihashSize)throw new Error("Incorrect length");const i=r.subarray(t.multihashSize-t.digestSize),a=new l.Digest(t.multihashCode,t.digestSize,i,r);return[0===t.version?m.createV0(a):m.createV1(t.codec,a),e.subarray(t.size)]}static inspectBytes(e){let t=0;const n=()=>{const[n,r]=c.decode(e.subarray(t));return t+=r,n};let r=n(),i=g;if(18===r?(r=0,t=0):i=n(),0!==r&&1!==r)throw new RangeError(`Invalid CID version ${r}`);const a=t,o=n(),s=n(),l=t+s;return{version:r,codec:i,multihashCode:o,digestSize:s,multihashSize:l-a,size:l}}static parse(e,t){const[n,r]=function(e,t){switch(e[0]){case"Q":{const n=t??o;return[o.prefix,n.decode(`${o.prefix}${e}`)]}case o.prefix:{const n=t??o;return[o.prefix,n.decode(e)]}case i.prefix:{const n=t??i;return[i.prefix,n.decode(e)]}case a.prefix:{const n=t??a;return[a.prefix,n.decode(e)]}default:if(null==t)throw Error("To parse non base32, base36 or base58btc encoded CID multibase decoder must be provided");return[e[0],t.decode(e)]}}(e,t),s=m.decode(r);if(0===s.version&&"Q"!==e[0])throw Error("Version 0 CID string must not include multibase prefix");return h(s).set(n,e),s}}const g=112,y=18;function v(e,t,n){const r=c.encodingLength(e),i=r+c.encodingLength(t),a=new Uint8Array(i+n.byteLength);return c.encodeTo(e,a,0),c.encodeTo(t,a,r),a.set(n,i),a}const b=Symbol.for("@ipld/js-cid/CID")},57119(e,t,n){"use strict";n.r(t),n.d(t,{Digest:()=>l,create:()=>a,decode:()=>o,equals:()=>s,hasCode:()=>c});var r=n(43405),i=n(81459);function a(e,t){const n=t.byteLength,r=i.encodingLength(e),a=r+i.encodingLength(n),o=new Uint8Array(a+n);return i.encodeTo(e,o,0),i.encodeTo(n,o,r),o.set(t,a),new l(e,n,t,o)}function o(e){const t=(0,r.coerce)(e),[n,a]=i.decode(t),[o,s]=i.decode(t.subarray(a)),c=t.subarray(a+s);if(c.byteLength!==o)throw new Error("Incorrect length");return new l(n,o,c,t)}function s(e,t){if(e===t)return!0;{const n=t;return e.code===n.code&&e.size===n.size&&n.bytes instanceof Uint8Array&&(0,r.equals)(e.bytes,n.bytes)}}class l{code;size;digest;bytes;
23constructor(e,t,n,r){this.code=e,this.size=t,this.digest=n,this.bytes=r}}function c(e,t){return e.code===t}},20612(e,t,n){"use strict";n.r(t),n.d(t,{Hasher:()=>a,from:()=>i});var r=n(57119);function i({name:e,code:t,encode:n,minDigestLength:r,maxDigestLength:i}){return new a(e,t,n,r,i)}class a{name;code;encode;minDigestLength;maxDigestLength;constructor(e,t,n,r,i){this.name=e,this.code=t,this.encode=n,this.minDigestLength=r??20,this.maxDigestLength=i}digest(e,t){if(null!=t?.truncate){if(t.truncate<this.minDigestLength)throw new Error(`Invalid truncate option, must be greater than or equal to ${this.minDigestLength}`);if(null!=this.maxDigestLength&&t.truncate>this.maxDigestLength)throw new Error(`Invalid truncate option, must be less than or equal to ${this.maxDigestLength}`)}if(e instanceof Uint8Array){const n=this.encode(e);return n instanceof Uint8Array?o(n,this.code,t?.truncate):n.then(e=>o(e,this.code,t?.truncate))}throw Error("Unknown type, must be binary type")}}function o(e,t,n){if(null!=n&&n!==e.byteLength){if(n>e.byteLength)throw new Error(`Invalid truncate option, must be less than or equal to ${e.byteLength}`);e=e.subarray(0,n)}return r.create(t,e)}},81459(e,t,n){"use strict";n.r(t),n.d(t,{decode:()=>g,encodeTo:()=>y,encodingLength:()=>v});var r=function e(t,n,r){n=n||[];var a=r=r||0;for(;t>=i;)n[r++]=255&t|128,t/=128;for(;-128&t;)n[r++]=255&t|128,t>>>=7;return n[r]=0|t,e.bytes=r-a+1,n},i=Math.pow(2,31);var a=function e(t,n){var r,i=0,a=0,o=n=n||0,s=t.length;do{if(o>=s)throw e.bytes=0,new RangeError("Could not decode varint");r=t[o++],i+=a<28?(127&r)<<a:(127&r)*Math.pow(2,a),a+=7}while(r>=128);return e.bytes=o-n,i};var o=Math.pow(2,7),s=Math.pow(2,14),l=Math.pow(2,21),c=Math.pow(2,28),u=Math.pow(2,35),d=Math.pow(2,42),p=Math.pow(2,49),f=Math.pow(2,56),h=Math.pow(2,63);const m={encode:r,decode:a,encodingLength:function(e){return e<o?1:e<s?2:e<l?3:e<c?4:e<u?5:e<d?6:e<p?7:e<f?8:e<h?9:10}};function g(e,t=0){return[m.decode(e,t),m.decode.bytes]}function y(e,t,n=0){return m.encode(e,t,n),t}function v(e){return m.encodingLength(e)}},21788(e,t,n){"use strict";n.r(t),n.d(t,{customAlphabet:()=>r,nanoid:()=>i});let r=(e,t=21)=>(n=t)=>{let r="",i=0|n;for(;i--;)r+=e[Math.random()*e.length|0];return r},i=(e=21)=>{let t="",n=0|e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t}},27951(e,t,n){"use strict";function r(e){this.content=e}n.r(t),n.d(t,{ContentMatch:()=>j,DOMParser:()=>Z,DOMSerializer:()=>le,Fragment:()=>s,Mark:()=>d,MarkType:()=>J,Node:()=>O,NodeRange:()=>I,NodeType:()=>G,ReplaceError:()=>p,ResolvedPos:()=>C,Schema:()=>
vendor: 7,430 bytes, line 23
23$,Slice:()=>f}),r.prototype={constructor:r,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return-1==t?void 0:this.content[t+1]},update:function(e,t,n){var i=n&&n!=e?this.remove(n):this,a=i.find(e),o=i.content.slice();return-1==a?o.push(n||e,t):(o[a+1]=t,n&&(o[a]=n)),new r(o)},remove:function(e){var t=this.find(e);if(-1==t)return this;var n=this.content.slice();return n.splice(t,2),new r(n)},addToStart:function(e,t){return new r([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new r(n)},addBefore:function(e,t,n){var i=this.remove(t),a=i.content.slice(),o=i.find(e);return a.splice(-1==o?a.length:o,0,t,n),new r(a)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return(e=r.from(e)).size?new r(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=r.from(e)).size?new r(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=r.from(e);for(var n=0;n<e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach(function(t,n){e[t]=n}),e},get size(){return this.content.length>>1}},r.from=function(e){if(e instanceof r)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new r(t)};const i=r;function a(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let i=e.child(r),o=t.child(r);if(i!=o){if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){for(let e=0;i.text[e]==o.text[e];e++)n++;return n}if(i.content.size||o.content.size){let e=a(i.content,o.content,n+1);if(null!=e)return e}n+=i.nodeSize}else n+=i.nodeSize}}function o(e,t,n,r){for(let i=e.childCount,a=t.childCount;;){if(0==i||0==a)return i==a?null:{a:n,b:r};let s=e.child(--i),l=t.child(--a),c=s.nodeSize;if(s!=l){if(!s.sameMarkup(l))return{a:n,b:r};if(s.isText&&s.text!=l.text){let e=0,t=Math.min(s.text.length,l.text.length);for(;e<t&&s.text[s.text.length-e-1]==l.text[l.text.length-e-1];)e++,n--,r--;return{a:n,b:r}}if(s.content.size||l.content.size){let e=o(s.content,l.content,n-1,r-1);if(e)return e}n-=c,r-=c}else n-=c,r-=c}}class s{constructor(e,t){if(this.content=e,this.size=t||0,null==t)for(let n=0;n<e.length;n++)this.size+=e[n].nodeSize}nodesBetween(e,t,n,r=0,i){for(let a=0,o=0;o<t;a++){let s=this.content[a],l=o+s.nodeSize;if(l>e&&!1!==n(s,r+o,i||null,a)&&s.content.size){let i=o+1;s.nodesBetween(Math.max(0,e-i),Math.min(s.content.size,t-i),n,r+i)}o=l}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,n,r){let i="",a=!0;return this.nodesBetween(e,t,(o,s)=>{let l=o.isText?o.text.slice(Math.max(e,s)-s,t-s):o.isLeaf?r?"function"===typeof r?r(o):r:o.type.spec.leafText?o.type.spec.leafText(o):"":"";o.isBlock&&(o.isLeaf&&l||o.isTextblock)&&n&&(a?a=!1:i+=n),i+=l},0),i}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,n=e.firstChild,r=this.content.slice(),i=0;for(t.isText&&t.sameMarkup(n)&&(r[r.length-1]=t.withText(t.text+n.text),i=1);i<e.content.length;i++)r.push(e.content[i]);return new s(r,this.size+e.size)}cut(e,t=this.size){if(0==e&&t==this.size)return this;let n=[],r=0;if(t>e)for(let i=0,a=0;a<t;i++){let o=this.content[i],s=a+o.nodeSize;s>e&&((a<e||s>t)&&(o=o.isText?o.cut(Math.max(0,e-a),Math.min(o.text.length,t-a)):o.cut(Math.max(0,e-a-1),Math.min(o.content.size,t-a-1))),n.push(o),r+=o.nodeSize),a=s}return new s(n,r)}cutByIndex(e,t){return e==t?s.empty:0==e&&t==this.content.length?this:new s(this.content.slice(e,t))}replaceChild(e,t){let n=this.content[e];if(n==t)return this;let r=this.content.slice(),i=this.size+t.nodeSize-n.nodeSize;return r[e]=t,new s(r,i)}addToStart(e){return new s([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new s(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,n=0;t<this.content.length;t++){let r=this.content[t];e(r,n,t),n+=r.nodeSize}}findDiffStart(e,t=0){return a(this,e,t)}findDiffEnd(e,t=this.size,n=e.size){return o(this,e,t,n)}findIndex(e){if(0==e)return c(0,e);if(e==this.size)return c(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let t=0,n=0;;t++){let r=n+this.child(t).nodeSize;if(r>=e)return r==e?c(t+1,r):c(t,n);n=r}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,t){if(!t)return s.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new s(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return s.empty;let t,n=0;for(let r=0;r<e.length;r++){let i=e[r];n+=i.nodeSize,r&&i.isText&&e[r-1].sameMarkup(i)?(t||(t=e.slice(0,r)),t[t.length-1]=i.withText(t[t.length-1].text+i.text)):t&&t.push(i)}return new s(t||e,n)}static from(e){if(!e)return s.empty;if(e instanceof s)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new s([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}s.empty=new s([],0);const l={index:0,offset:0};function c(e,t){return l.index=e,l.offset=t,l}function u(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!u(e[n],t[n]))return!1}else{for(let n in e)if(!(n in t)||!u(e[n],t[n]))return!1;for(let n in t)if(!(n in e))return!1}return!0}class d{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,n=!1;for(let r=0;r<e.length;r++){let i=e[r];if(this.eq(i))return e;if(this.type.excludes(i.type))t||(t=e.slice(0,r));else{if(i.type.excludes(this.type))return e;!n&&i.type.rank>this.type.rank&&(t||(t=e.slice(0,r)),t.push(this),n=!0),t&&t.push(i)}}return t||(t=e.slice()),n||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&u(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");let n=e.marks[t.type];if(!n)throw new RangeError(`There is no mark type ${t.type} in this schema`);let r=n.create(t.attrs);return n.checkAttrs(r.attrs),r}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].eq(t[n]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&0==e.length)return d.none;if(e instanceof d)return[e];let t=e.slice();return t.sort((e,t)=>e.type.rank-t.type.rank),t}}d.none=[];
23class p extends Error{}class f{constructor(e,t,n){this.content=e,this.openStart=t,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let n=m(this.content,e+this.openStart,t);return n&&new f(n,this.openStart,this.openEnd)}removeBetween(e,t){return new f(h(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return f.empty;let n=t.openStart||0,r=t.openEnd||0;if("number"!=typeof n||"number"!=typeof r)throw new RangeError("Invalid input for Slice.fromJSON");return new f(s.fromJSON(e,t.content),n,r)}static maxOpen(e,t=!0){let n=0,r=0;for(let i=e.firstChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.firstChild)n++;for(let i=e.lastChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.lastChild)r++;return new f(e,n,r)}}function h(e,t,n){let{index:r,offset:i}=e.findIndex(t),a=e.maybeChild(r),{index:o,offset:s}=e.findIndex(n);if(i==t||a.isText){if(s!=n&&!e.child(o).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(r!=o)throw new RangeError("Removing non-flat range");return e.replaceChild(r,a.copy(h(a.content,t-i-1,n-i-1)))}function m(e,t,n,r){let{index:i,offset:a}=e.findIndex(t),o=e.maybeChild(i);if(a==t||o.isText)return r&&!r.canReplace(i,i,n)?null:e.cut(0,t).append(n).append(e.cut(t));let s=m(o.content,t-a-1,n,o);return s&&e.replaceChild(i,o.copy(s))}function g(e,t,n){if(n.openStart>e.depth)throw new p("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new p("Inconsistent open depths");return y(e,t,n,0)}function y(e,t,n,r){let i=e.index(r),a=e.node(r);if(i==t.index(r)&&r<e.depth-n.openStart){let o=y(e,t,n,r+1);return a.copy(a.content.replaceChild(i,o))}if(n.content.size){if(n.openStart||n.openEnd||e.depth!=r||t.depth!=r){let{start:i,end:o}=function(e,t){let n=t.depth-e.openStart,r=t.node(n).copy(e.content);for(let i=n-1;i>=0;i--)r=t.node(i).copy(s.from(r));return{start:r.resolveNoCache(e.openStart+n),end:r.resolveNoCache(r.content.size-e.openEnd-n)}}(n,e);return k(a,S(e,i,o,t,r))}{let r=e.parent,i=r.content;return k(r,i.cut(0,e.parentOffset).append(n.content).append(i.cut(t.parentOffset)))}}return k(a,x(e,t,r))}function v(e,t){if(!t.type.compatibleContent(e.type))throw new p("Cannot join "+t.type.name+" onto "+e.type.name)}function b(e,t,n){let r=e.node(n);return v(r,t.node(n)),r}function _(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function w(e,t,n,r){let i=(t||e).node(n),a=0,o=t?t.index(n):i.childCount;e&&(a=e.index(n),e.depth>n?a++:e.textOffset&&(_(e.nodeAfter,r),a++));for(let s=a;s<o;s++)_(i.child(s),r);t&&t.depth==n&&t.textOffset&&_(t.nodeBefore,r)}function k(e,t){return e.type.checkContent(t),e.copy(t)}function S(e,t,n,r,i){let a=e.depth>i&&b(e,t,i+1),o=r.depth>i&&b(n,r,i+1),l=[];return w(null,e,i,l),a&&o&&t.index(i)==n.index(i)?(v(a,o),_(k(a,S(e,t,n,r,i+1)),l)):(a&&_(k(a,x(e,t,i+1)),l),w(t,n,i,l),o&&_(k(o,x(n,r,i+1)),l)),w(r,null,i,l),new s(l)}function x(e,t,n){let r=[];if(w(null,e,n,r),e.depth>n){_(k(b(e,t,n+1),x(e,t,n+1)),r)}return w(t,null,n,r),new s(r)}f.empty=new f(s.empty,0,0);class C{constructor(e,t,n){this.pos=e,this.path=t,this.parentOffset=n,this.depth=t.length/3-1}resolveDepth(e){return null==e?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[3*this.resolveDepth(e)]}index(e){return this.path[3*this.resolveDepth(e)+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)}start(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]}after(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let n=this.pos-this.path[this.path.length-1],r=e.child(t);return n?e.child(t).cut(n):r}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let n=this.path[3*t],r=0==t?0:this.path[3*t-1]+1;for(let i=0;i<e;i++)r+=n.child(i).nodeSize;return r}marks(){let e=this.parent,t=this.index();if(0==e.content.size)return d.none;if(this.textOffset)return e.child(t).marks;let n=e.maybeChild(t-1),r=e.maybeChild(t);if(!n){let e=n;n=r,r=e}let i=n.marks;for(var a=0;a<i.length;a++)!1!==i[a].type.spec.inclusive||r&&i[a].isInSet(r.marks)||(i=i[a--].removeFromSet(i));return i}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let n=t.marks,r=e.parent.maybeChild(e.index());for(var i=0;i<n.length;i++)!1!==n[i].type.spec.inclusive||r&&n[i].isInSet(r.marks)||(n=n[i--].removeFromSet(n));return n}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);n>=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new I(this,e,n);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}static resolve(e,t){if(!(t>=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let n=[],r=0,i=t;for(let a=e;;){let{index:e,offset:t}=a.content.findIndex(i),o=i-t;if(n.push(a,e,r+t),!o)break;if(a=a.child(e),a.isText)break;
vendor: 4,369 bytes, line 23
23i=o-1,r+=t+1}return new C(t,n,i)}static resolveCached(e,t){let n=T.get(e);if(n)for(let i=0;i<n.elts.length;i++){let e=n.elts[i];if(e.pos==t)return e}else T.set(e,n=new E);let r=n.elts[n.i]=C.resolve(e,t);return n.i=(n.i+1)%A,r}}class E{constructor(){this.elts=[],this.i=0}}const A=12,T=new WeakMap;class I{constructor(e,t,n){this.$from=e,this.$to=t,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const R=Object.create(null);class O{constructor(e,t,n,r=d.none){this.type=e,this.attrs=t,this.marks=r,this.content=n||s.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,n,r=0){this.content.nodesBetween(e,t,n,r,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,t,n,r){return this.content.textBetween(e,t,n,r)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,n){return this.type==e&&u(this.attrs,t||e.defaultAttrs||R)&&d.sameSet(this.marks,n||d.none)}copy(e=null){return e==this.content?this:new O(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new O(this.type,this.attrs,this.content,e)}cut(e,t=this.content.size){return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,n=!1){if(e==t)return f.empty;let r=this.resolve(e),i=this.resolve(t),a=n?0:r.sharedDepth(t),o=r.start(a),s=r.node(a).content.cut(r.pos-o,i.pos-o);return new f(s,r.depth-a,i.depth-a)}replace(e,t,n){return g(this.resolve(e),this.resolve(t),n)}nodeAt(e){for(let t=this;;){let{index:n,offset:r}=t.content.findIndex(e);if(t=t.maybeChild(n),!t)return null;if(r==e||t.isText)return t;e-=r+1}}childAfter(e){let{index:t,offset:n}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:n}}childBefore(e){if(0==e)return{node:null,index:0,offset:0};let{index:t,offset:n}=this.content.findIndex(e);if(n<e)return{node:this.content.child(t),index:t,offset:n};let r=this.content.child(t-1);return{node:r,index:t-1,offset:n-r.nodeSize}}resolve(e){return C.resolveCached(this,e)}resolveNoCache(e){return C.resolve(this,e)}rangeHasMark(e,t,n){let r=!1;return t>e&&this.nodesBetween(e,t,e=>(n.isInSet(e.marks)&&(r=!0),!r)),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),N(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,n=s.empty,r=0,i=n.childCount){let a=this.contentMatchAt(e).matchFragment(n,r,i),o=a&&a.matchFragment(this.content,t);if(!o||!o.validEnd)return!1;for(let s=r;s<i;s++)if(!this.type.allowsMarks(n.child(s).marks))return!1;return!0}canReplaceWith(e,t,n,r){if(r&&!this.type.allowsMarks(r))return!1;let i=this.contentMatchAt(e).matchType(n),a=i&&i.matchFragment(this.content,t);return!!a&&a.validEnd}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let e=d.none;for(let t=0;t<this.marks.length;t++){let n=this.marks[t];n.type.checkAttrs(n.attrs),e=n.addToSet(e)}if(!d.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(e=>
23e.type.name)}`);this.content.forEach(e=>e.check())}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(e=>e.toJSON())),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let n;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw new RangeError("Invalid text node in JSON");return e.text(t.text,n)}let r=s.fromJSON(e,t.content),i=e.nodeType(t.type).create(t.attrs,r,n);return i.type.checkAttrs(i.attrs),i}}O.prototype.text=void 0;class D extends O{constructor(e,t,n,r){if(super(e,t,null,r),!n)throw new RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):N(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new D(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new D(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return 0==e&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function N(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class j{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let n=new F(e,t);if(null==n.next)return j.empty;let r=M(n);n.next&&n.err("Unexpected trailing text");let i=function(e){let t=Object.create(null);return n(W(e,0));function n(r){let i=[];r.forEach(t=>{e[t].forEach(({term:t,to:n})=>{if(!t)return;let r;for(let e=0;e<i.length;e++)i[e][0]==t&&(r=i[e][1]);W(e,n).forEach(e=>{r||i.push([t,r=[]]),-1==r.indexOf(e)&&r.push(e)})})});let a=t[r.join(",")]=new j(r.indexOf(e.length-1)>-1);for(let e=0;e<i.length;e++){let r=i[e][1].sort(H);a.next.push({type:i[e][0],next:t[r.join(",")]||n(r)})}return a}}(function(e){let t=[[]];return i(a(e,0),n()),t;function n(){return t.push([])-1}function r(e,n,r){let i={term:r,to:n};return t[e].push(i),i}function i(e,t){e.forEach(e=>e.to=t)}function a(e,t){if("choice"==e.type)return e.exprs.reduce((e,n)=>e.concat(a(n,t)),[]);if("seq"!=e.type){if("star"==e.type){let o=n();return r(t,o),i(a(e.expr,o),o),[r(o)]}if("plus"==e.type){let o=n();return i(a(e.expr,t),o),i(a(e.expr,o),o),[r(o)]}if("opt"==e.type)return[r(t)].concat(a(e.expr,t));if("range"==e.type){let o=t;for(let t=0;t<e.min;t++){let t=n();i(a(e.expr,o),t),o=t}if(-1==e.max)i(a(e.expr,o),o);else for(let t=e.min;t<e.max;t++){let t=n();r(o,t),i(a(e.expr,o),t),o=t}return[r(o)]}if("name"==e.type)return[r(t,void 0,e.value)];throw new Error("Unknown expr type")}for(let r=0;;r++){let o=a(e.exprs[r],t);if(r==e.exprs.length-1)return o;i(o,t=n())}}}(r));return function(e,t){for(let n=0,r=[e];n<r.length;n++){let e=r[n],i=!e.validEnd,a=[];for(let t=0;t<e.next.length;t++){let{type:n,next:o}=e.next[t];a.push(n.name),!i||n.isText||n.hasRequiredAttrs()||(i=!1),-1==r.indexOf(o)&&r.push(o)}i&&t.err("Only non-generatable nodes ("+a.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(i,n),i}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,n=e.childCount){let r=this;for(let i=t;r&&i<n;i++)r=r.matchType(e.child(i).type);return r}get inlineContent(){return 0!=this.next.length&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!t.isText&&!t.hasRequiredAttrs())return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let n=0;n<e.next.length;n++)if(this.next[t].type==e.next[n].type)return!0;return!1}fillBefore(e,t=!1,n=0){let r=[this];return function i(a,o){let l=a.matchFragment(e,n);if(l&&(!t||l.validEnd))return s.from(o.map(e=>e.createAndFill()));for(let e=0;e<a.next.length;e++){let{type:t,next:n}=a.next[e];if(!t.isText&&!t.hasRequiredAttrs()&&-1==r.indexOf(n)){r.push(n);let e=i(n,o.concat(t));if(e)return e}}return null}(this,[])}findWrapping(e){for(let n=0;n<this.wrapCache.length;n+=2)if(this.wrapCache[n]==e)return this.wrapCache[n+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let r=n.shift(),i=r.match;if(i.matchType(e)){let e=[];for(let t=r;t.type;t=t.via)e.push(t.type);return e.reverse()}for(let e=0;e<i.next.length;e++){let{type:a,next:o}=i.next[e];a.isLeaf||a.hasRequiredAttrs()||a.name in t||r.type&&!o.validEnd||(n.push({match:a.contentMatch,type:a,via:r}),t[a.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];return function t(n){e.push(n);for(let r=0;r<n.next.length;r++)-1==e.indexOf(n.next[r].next)&&t(n.next[r].next)}(this),e.map((t,n)=>{let r=n+(t.validEnd?"*":" ")+" ";for(let i=0;i<t.next.length;i++)r+=(i?", ":"")+t.next[i].type.name+"->"+e.indexOf(t.next[i].next);return r}).join("\n")}}j.empty=new j(!0);class F{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?
23=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function M(e){let t=[];do{t.push(V(e))}while(e.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function V(e){let t=[];do{t.push(P(e))}while(e.next&&")"!=e.next&&"|"!=e.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function P(e){let t=function(e){if(e.eat("(")){let t=M(e);return e.eat(")")||e.err("Missing closing paren"),t}if(!/\W/.test(e.next)){let t=function(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let i=[];for(let a in n){let e=n[a];e.isInGroup(t)&&i.push(e)}0==i.length&&e.err("No node type or group '"+t+"' found");return i}(e,e.next).map(t=>(null==e.inline?e.inline=t.isInline:e.inline!=t.isInline&&e.err("Mixing inline and block content"),{type:"name",value:t}));return e.pos++,1==t.length?t[0]:{type:"choice",exprs:t}}e.err("Unexpected token '"+e.next+"'")}(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else{if(!e.eat("{"))break;t=B(e,t)}return t}function L(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function B(e,t){let n=L(e),r=n;return e.eat(",")&&(r="}"!=e.next?L(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function H(e,t){return t-e}function W(e,t){let n=[];return function t(r){let i=e[r];if(1==i.length&&!i[0].term)return t(i[0].to);n.push(r);for(let e=0;e<i.length;e++){let{term:r,to:a}=i[e];r||-1!=n.indexOf(a)||t(a)}}(t),n.sort(H)}function z(e){let t=Object.create(null);for(let n in e){let r=e[n];if(!r.hasDefault)return null;t[n]=r.default}return t}function Y(e,t){let n=Object.create(null);for(let r in e){let i=t&&t[r];if(void 0===i){let t=e[r];if(!t.hasDefault)throw new RangeError("No value supplied for attribute "+r);i=t.default}n[r]=i}return n}function U(e,t,n,r){for(let i in t)if(!(i in e))throw new RangeError(`Unsupported attribute ${i} for ${n} of type ${i}`);for(let i in e){let n=e[i];n.validate&&n.validate(t[i])}}function X(e,t){let n=Object.create(null);if(t)for(let r in t)n[r]=new q(e,r,t[r]);return n}class G{constructor(e,t,n){this.name=e,this.schema=t,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=X(e,n.attrs),this.defaultAttrs=z(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||"text"==e),this.isText="text"==e}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==j.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(e){return this.groups.indexOf(e)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:Y(this.attrs,e)}create(e=null,t,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new O(this,this.computeAttrs(e),s.from(t),d.setFrom(n))}createChecked(e=null,t,n){return t=s.from(t),this.checkContent(t),new O(this,this.computeAttrs(e),t,d.setFrom(n))}createAndFill(e=null,t,n){if(e=this.computeAttrs(e),(t=s.from(t)).size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let r=this.contentMatch.matchFragment(t),i=r&&r.fillBefore(s.empty,!0);return i?new O(this,e,t.append(i),d.setFrom(n)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let n=0;n<e.childCount;n++)if(!this.allowsMarks(e.child(n).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){U(this.attrs,e,"node",this.name)}allowsMarkType(e){return null==this.markSet||this.markSet.indexOf(e)>-1}allowsMarks(e){if(null==this.markSet)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(null==this.markSet)return e;let t;for(let n=0;n<e.length;n++)this.allowsMarkType(e[n].type)?t&&t.push(e[n]):t||(t=e.slice(0,n));return t?t.length?t:d.none:e}static compile(e,t){let n=Object.create(null);e.forEach((e,r)=>n[e]=new G(e,t,r));let r=t.spec.topNode||"doc";if(!n[r])throw new RangeError("Schema is missing its top node type ('"+r+"')");
23if(!n.text)throw new RangeError("Every schema needs a 'text' type");for(let i in n.text.attrs)throw new RangeError("The text node type should not have attributes");return n}}class q{constructor(e,t,n){this.hasDefault=Object.prototype.hasOwnProperty.call(n,"default"),this.default=n.default,this.validate="string"==typeof n.validate?function(e,t,n){let r=n.split("|");return n=>{let i=null===n?"null":typeof n;if(r.indexOf(i)<0)throw new RangeError(`Expected value of type ${r} for attribute ${t} on type ${e}, got ${i}`)}}(e,t,n.validate):n.validate}get isRequired(){return!this.hasDefault}}class J{constructor(e,t,n,r){this.name=e,this.rank=t,this.schema=n,this.spec=r,this.attrs=X(e,r.attrs),this.excluded=null;let i=z(this.attrs);this.instance=i?new d(this,i):null}create(e=null){return!e&&this.instance?this.instance:new d(this,Y(this.attrs,e))}static compile(e,t){let n=Object.create(null),r=0;return e.forEach((e,i)=>n[e]=new J(e,r++,t,i)),n}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}checkAttrs(e){U(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}class ${constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let t=this.spec={};for(let r in e)t[r]=e[r];t.nodes=i.from(e.nodes),t.marks=i.from(e.marks||{}),this.nodes=G.compile(this.spec.nodes,this),this.marks=J.compile(this.spec.marks,this);let n=Object.create(null);for(let r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");let e=this.nodes[r],t=e.spec.content||"",i=e.spec.marks;if(e.contentMatch=n[t]||(n[t]=j.parse(t,this.nodes)),e.inlineContent=e.contentMatch.inlineContent,e.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!e.isInline||!e.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=e}e.markSet="_"==i?null:i?K(this,i.split(" ")):""!=i&&e.inlineContent?null:[]}for(let r in this.marks){let e=this.marks[r],t=e.spec.excludes;e.excluded=null==t?[e]:""==t?[]:K(this,t.split(" "))}this.nodeFromJSON=e=>O.fromJSON(this,e),this.markFromJSON=e=>d.fromJSON(this,e),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,n,r){if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof G))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,n,r)}text(e,t){let n=this.nodes.text;return new D(n,n.defaultAttrs,e,d.setFrom(t))}mark(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function K(e,t){let n=[];for(let r=0;r<t.length;r++){let i=t[r],a=e.marks[i],o=a;if(a)n.push(a);else for(let t in e.marks){let r=e.marks[t];("_"==i||r.spec.group&&r.spec.group.split(" ").indexOf(i)>-1)&&n.push(o=r)}if(!o)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}class Z{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let n=this.matchedStyles=[];t.forEach(e=>{if(function(e){return null!=e.tag}(e))this.tags.push(e);else if(function(e){return null!=e.style}(e)){let t=/[^=]*/.exec(e.style)[0];n.indexOf(t)<0&&n.push(t),this.styles.push(e)}}),this.normalizeLists=!this.tags.some(t=>{if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1;let n=e.nodes[t.node];return n.contentMatch.matchType(n)})}parse(e,t={}){let n=new ie(this,t,!1);return n.addAll(e,d.none,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new ie(this,t,!0);return n.addAll(e,d.none,t.from,t.to),f.maxOpen(n.finish())}matchTag(e,t,n){for(let r=n?this.tags.indexOf(n)+1:0;r<this.tags.length;r++){let n=this.tags[r];if(ae(e,n.tag)&&(void 0===n.namespace||e.namespaceURI==n.namespace)&&(!n.context||t.matchesContext(n.context))){if(n.getAttrs){let t=n.getAttrs(e);if(!1===t)continue;n.attrs=t||void 0}return n}}}matchStyle(e,t,n,r){for(let i=r?this.styles.indexOf(r)+1:0;i<this.styles.length;i++){let r=this.styles[i],a=r.style;if(!(0!=a.indexOf(e)||r.context&&!n.matchesContext(r.context)||a.length>
23e.length&&(61!=a.charCodeAt(e.length)||a.slice(e.length+1)!=t))){if(r.getAttrs){let e=r.getAttrs(t);if(!1===e)continue;r.attrs=e||void 0}return r}}}static schemaRules(e){let t=[];function n(e){let n=null==e.priority?50:e.priority,r=0;for(;r<t.length;r++){let e=t[r];if((null==e.priority?50:e.priority)<n)break}t.splice(r,0,e)}for(let r in e.marks){let t=e.marks[r].spec.parseDOM;t&&t.forEach(e=>{n(e=oe(e)),e.mark||e.ignore||e.clearMark||(e.mark=r)})}for(let r in e.nodes){let t=e.nodes[r].spec.parseDOM;t&&t.forEach(e=>{n(e=oe(e)),e.node||e.ignore||e.mark||(e.node=r)})}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Z(e,Z.schemaRules(e)))}}const Q={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},ee={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},te={ol:!0,ul:!0};function ne(e,t,n){return null!=t?(t?1:0)|("full"===t?2:0):e&&"pre"==e.whitespace?3:-5&n}class re{constructor(e,t,n,r,i,a){this.type=e,this.attrs=t,this.marks=n,this.solid=r,this.options=a,this.content=[],this.activeMarks=d.none,this.match=i||(4&a?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(s.from(e));if(!t){let t,n=this.type.contentMatch;return(t=n.findWrapping(e.type))?(this.match=n,t):null}this.match=this.type.contentMatch.matchFragment(t)}return this.match.findWrapping(e.type)}finish(e){if(!(1&this.options)){let e,t=this.content[this.content.length-1];if(t&&t.isText&&(e=/[ \t\r\n\u000c]+$/.exec(t.text))){let n=t;t.text.length==e[0].length?this.content.pop():this.content[this.content.length-1]=n.withText(n.text.slice(0,n.text.length-e[0].length))}}let t=s.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(s.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Q.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class ie{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0,this.localPreserveWS=!1;let r,i=t.topNode,a=ne(null,t.preserveWhitespace,0)|(n?4:0);r=i?new re(i.type,i.attrs,d.none,!0,t.topMatch||i.type.contentMatch,a):new re(n?null:e.schema.topNodeType,null,d.none,!0,null,a),this.nodes=[r],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){3==e.nodeType?this.addTextNode(e,t):1==e.nodeType&&this.addElement(e,t)}addTextNode(e,t){let n=e.nodeValue,r=this.top,i=2&r.options?"full":this.localPreserveWS||(1&r.options)>0,{schema:a}=this.parser;if("full"===i||r.inlineContext(e)||/[^ \t\r\n\u000c]/.test(n)){if(i)if("full"===i)n=n.replace(/\r\n?/g,"\n");else if(a.linebreakReplacement&&/[\r\n]/.test(n)&&this.top.findWrapping(a.linebreakReplacement.create())){let e=n.split(/\r?\n|\r/);for(let n=0;n<e.length;n++)n&&this.insertNode(a.linebreakReplacement.create(),t,!0),e[n]&&this.insertNode(a.text(e[n]),t,!/\S/.test(e[n]));n=""}else n=n.replace(/\r?\n|\r/g," ");else if(n=n.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let t=r.content[r.content.length-1],i=e.previousSibling;(!t||i&&"BR"==i.nodeName||t.isText&&/[ \t\r\n\u000c]$/.test(t.text))&&(n=n.slice(1))}n&&this.insertNode(a.text(n),t,!/\S/.test(n)),this.findInText(e)}else this.findInside(e)}addElement(e,t,n){let r=this.localPreserveWS,i=this.top;("PRE"==e.tagName||/pre/.test(e.style&&e.style.whiteSpace))&&(this.localPreserveWS=!0);let a,o=e.nodeName.toLowerCase();te.hasOwnProperty(o)&&this.parser.normalizeLists&&function(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let e=1==t.nodeType?t.nodeName.toLowerCase():null;e&&te.hasOwnProperty(e)&&n?(n.appendChild(t),t=n):"li"==e?n=t:e&&(n=null)}}(e);let s=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(a=this.parser.matchTag(e,this,n));e:if(s?s.ignore:ee.hasOwnProperty(o))this.findInside(e),this.ignoreFallback(e,t);else if(!s||s.skip||s.closeParent){s&&s.closeParent?this.open=Math.max(0,this.open-1):s&&s.skip.nodeType&&(e=s.skip);let n,r=this.needsBlock;if(Q.hasOwnProperty(o))i.content.length&&i.content[0].isInline&&this.open&&(this.open--,i=this.top),n=!0,i.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,t);break e}let a=s&&s.skip?t:this.readStyles(e,t);a&&this.addAll(e,a),n&&this.sync(i),this.needsBlock=r}else{let n=this.readStyles(e,t);n&&this.addElementByRule(e,s,n,!1===s.consuming?a:void 0)}this.localPreserveWS=r}leafFallback(e,t){"BR"==e.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode("\n"),t)}ignoreFallback(e,t){"BR"!=e.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"),t,!0)}readStyles(e,t){let n=e.style;if(n&&n.length)for(let r=0;r<this.parser.matchedStyles.length;r++){let e=this.parser.matchedStyles[r],i=n.getPropertyValue(e);if(i)for(let n;;){let r=this.parser.matchStyle(e,i,this,n);if(!r)break;
23if(r.ignore)return null;if(t=r.clearMark?t.filter(e=>!r.clearMark(e)):t.concat(this.parser.schema.marks[r.mark].create(r.attrs)),!1!==r.consuming)break;n=r}}return t}addElementByRule(e,t,n,r){let i,a;if(t.node)if(a=this.parser.schema.nodes[t.node],a.isLeaf)this.insertNode(a.create(t.attrs),n,"BR"==e.nodeName)||this.leafFallback(e,n);else{let e=this.enter(a,t.attrs||null,n,t.preserveWhitespace);e&&(i=!0,n=e)}else{let e=this.parser.schema.marks[t.mark];n=n.concat(e.create(t.attrs))}let o=this.top;if(a&&a.isLeaf)this.findInside(e);else if(r)this.addElement(e,n,r);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(e=>this.insertNode(e,n,!1));else{let r=e;"string"==typeof t.contentElement?r=e.querySelector(t.contentElement):"function"==typeof t.contentElement?r=t.contentElement(e):t.contentElement&&(r=t.contentElement),this.findAround(e,r,!0),this.addAll(r,n),this.findAround(e,r,!1)}i&&this.sync(o)&&this.open--}addAll(e,t,n,r){let i=n||0;for(let a=n?e.childNodes[n]:e.firstChild,o=null==r?null:e.childNodes[r];a!=o;a=a.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(a,t);this.findAtPoint(e,i)}findPlace(e,t,n){let r,i;for(let a=this.open,o=0;a>=0;a--){let t=this.nodes[a],s=t.findWrapping(e);if(s&&(!r||r.length>s.length+o)&&(r=s,i=t,!s.length))break;if(t.solid){if(n)break;o+=2}}if(!r)return null;this.sync(i);for(let a=0;a<r.length;a++)t=this.enterInner(r[a],null,t,!1);return t}insertNode(e,t,n){if(e.isInline&&this.needsBlock&&!this.top.type){let e=this.textblockFromContext();e&&(t=this.enterInner(e,null,t))}let r=this.findPlace(e,t,n);if(r){this.closeExtra();let t=this.top;t.match&&(t.match=t.match.matchType(e.type));let n=d.none;for(let i of r.concat(e.marks))(t.type?t.type.allowsMarkType(i.type):se(i.type,e.type))&&(n=i.addToSet(n));return t.content.push(e.mark(n)),!0}return!1}enter(e,t,n,r){let i=this.findPlace(e.create(t),n,!1);return i&&(i=this.enterInner(e,t,n,!0,r)),i}enterInner(e,t,n,r=!1,i){this.closeExtra();let a=this.top;a.match=a.match&&a.match.matchType(e);let o=ne(e,i,a.options);4&a.options&&0==a.content.length&&(o|=4);let s=d.none;return n=n.filter(t=>!(a.type?a.type.allowsMarkType(t.type):se(t.type,e))||(s=t.addToSet(s),!1)),this.nodes.push(new re(e,t,s,r,null,o)),this.open++,n}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!(!this.isOpen&&!this.options.topOpen))}sync(e){for(let t=this.open;t>=0;t--){if(this.nodes[t]==e)return this.open=t,!0;this.localPreserveWS&&(this.nodes[t].options|=1)}return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let n=this.nodes[t].content;for(let t=n.length-1;t>=0;t--)e+=n[t].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==e&&this.find[n].offset==t&&(this.find[n].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t<this.find.length;t++)null==this.find[t].pos&&1==e.nodeType&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}findAround(e,t,n){if(e!=t&&this.find)for(let r=0;r<this.find.length;r++)if(null==this.find[r].pos&&1==e.nodeType&&e.contains(this.find[r].node)){t.compareDocumentPosition(this.find[r].node)&(n?2:4)&&(this.find[r].pos=this.currentPos)}}findInText(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),n=this.options.context,r=!this.isOpen&&(!n||n.parent.type==this.nodes[0].type),i=-(n?n.depth+1:0)+(r?0:1),a=(e,o)=>{for(;e>=0;e--){let s=t[e];if(""==s){if(e==t.length-1||0==e)continue;for(;o>=i;o--)if(a(e-1,o))return!0;return!1}{let e=o>0||0==o&&r?this.nodes[o].type:n&&o>=i?n.node(o-i).type:null;if(!e||e.name!=s&&!e.isInGroup(s))return!1;o--}}return!0};return a(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;
23if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let t in this.parser.schema.nodes){let e=this.parser.schema.nodes[t];if(e.isTextblock&&e.defaultAttrs)return e}}}function ae(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function oe(e){let t={};for(let n in e)t[n]=e[n];return t}function se(e,t){let n=t.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(e))continue;let a=[],o=e=>{a.push(e);for(let n=0;n<e.edgeCount;n++){let{type:r,next:i}=e.edge(n);if(r==t)return!0;if(a.indexOf(i)<0&&o(i))return!0}};if(o(i.contentMatch))return!0}}class le{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},n){n||(n=ue(t).createDocumentFragment());let r=n,i=[];return e.forEach(e=>{if(i.length||e.marks.length){let n=0,a=0;for(;n<i.length&&a<e.marks.length;){let t=e.marks[a];if(this.marks[t.type.name]){if(!t.eq(i[n][0])||!1===t.type.spec.spanning)break;n++,a++}else a++}for(;n<i.length;)r=i.pop()[1];for(;a<e.marks.length;){let n=e.marks[a++],o=this.serializeMark(n,e.isInline,t);o&&(i.push([n,r]),r.appendChild(o.dom),r=o.contentDOM||o.dom)}}r.appendChild(this.serializeNodeInner(e,t))}),n}serializeNodeInner(e,t){let{dom:n,contentDOM:r}=fe(ue(t),this.nodes[e.type.name](e),null,e.attrs);if(r){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,r)}return n}serializeNode(e,t={}){let n=this.serializeNodeInner(e,t);for(let r=e.marks.length-1;r>=0;r--){let i=this.serializeMark(e.marks[r],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(n),n=i.dom)}return n}serializeMark(e,t,n={}){let r=this.marks[e.type.name];return r&&fe(ue(n),r(e,t),null,e.attrs)}static renderSpec(e,t,n=null,r){return fe(e,t,n,r)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new le(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=ce(e.nodes);return t.text||(t.text=e=>e.text),t}static marksFromSchema(e){return ce(e.marks)}}function ce(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function ue(e){return e.document||window.document}const de=new WeakMap;function pe(e){let t=de.get(e);return void 0===t&&de.set(e,t=function(e){let t=null;function n(e){if(e&&"object"==typeof e)if(Array.isArray(e))if("string"==typeof e[0])t||(t=[]),t.push(e);else for(let t=0;t<e.length;t++)n(e[t]);else for(let t in e)n(e[t])}return n(e),t}(e)),t}function fe(e,t,n,r){if("string"==typeof t)return{dom:e.createTextNode(t)};if(null!=t.nodeType)return{dom:t};if(t.dom&&null!=t.dom.nodeType)return t;let i,a=t[0];if("string"!=typeof a)throw new RangeError("Invalid array passed to renderSpec");if(r&&(i=pe(r))&&i.indexOf(t)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let o,s=a.indexOf(" ");s>0&&(n=a.slice(0,s),a=a.slice(s+1));let l=n?e.createElementNS(n,a):e.createElement(a),c=t[1],u=1;if(c&&"object"==typeof c&&null==c.nodeType&&!Array.isArray(c)){u=2;for(let e in c)if(null!=c[e]){let t=e.indexOf(" ");t>0?l.setAttributeNS(e.slice(0,t),e.slice(t+1),c[e]):"style"==e&&l.style?l.style.cssText=c[e]:l.setAttribute(e,c[e])}}for(let d=u;d<t.length;d++){let i=t[d];if(0===i){if(d<t.length-1||d>u)throw new RangeError("Content hole must be the only child of its parent node");return{dom:l,contentDOM:l}}{let{dom:t,contentDOM:a}=fe(e,i,n,r);if(l.appendChild(t),a){if(o)throw new RangeError("Multiple content holes");o=a}}}return{dom:l,contentDOM:o}}},99988(e,t,n){"use strict";n.r(t),n.d(t,{AllSelection:()=>h,EditorState:()=>S,NodeSelection:()=>p,Plugin:()=>C,PluginKey:()=>T,Selection:()=>o,SelectionRange:()=>s,TextSelection:()=>u,Transaction:()=>v});var r=n(27951),i=n(50119);const a=Object.create(null);class o{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new s(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=r.Slice.empty){let n=t.content.lastChild,i=null;for(let r=0;r<t.openEnd;r++)i=n,n=n.lastChild;let a=e.steps.length,o=this.ranges;for(let s=0;s<o.length;s++){let{$from:l,$to:c}=o[s],u=e.mapping.slice(a);e.replaceRange(u.map(l.pos),u.map(c.pos),s?r.Slice.empty:t),0==s&&y(e,a,(n?n.isInline:i&&i.isTextblock)?-1:1)}}replaceWith(e,t){let n=e.steps.length,r=this.ranges;for(let i=0;i<r.length;i++){let{$from:a,$to:o}=r[i],s=e.mapping.slice(n),l=s.map(a.pos),c=s.map(o.pos);i?e.deleteRange(l,c):(e.replaceRangeWith(l,c,t),y(e,n,t.isInline?-1:1))}}static findFrom(e,t,n=!1){let r=e.parent.inlineContent?new u(e):g(e.node(0),e.parent,e.pos,e.index(),t,n);if(r)return r;for(let i=e.depth-1;i>=0;i--){let r=t<0?g(e.node(0),e.node(i),e.before(i+1),e.index(i),t,n):g(e.node(0),e.node(i),e.after(i+1),e.index(i)+1,t,n);if(r)return r}return null}
23static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new h(e.node(0))}static atStart(e){return g(e,e,0,0,1)||new h(e)}static atEnd(e){return g(e,e,e.content.size,e.childCount,-1)||new h(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let n=a[t.type];if(!n)throw new RangeError(`No selection type ${t.type} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in a)throw new RangeError("Duplicate use of selection JSON ID "+e);return a[e]=t,t.prototype.jsonID=e,t}getBookmark(){return u.between(this.$anchor,this.$head).getBookmark()}}o.prototype.visible=!0;class s{constructor(e,t){this.$from=e,this.$to=t}}let l=!1;function c(e){l||e.parent.inlineContent||(l=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class u extends o{constructor(e,t=e){c(e),c(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let n=e.resolve(t.map(this.head));if(!n.parent.inlineContent)return o.near(n);let r=e.resolve(t.map(this.anchor));return new u(r.parent.inlineContent?r:n,n)}replace(e,t=r.Slice.empty){if(super.replace(e,t),t==r.Slice.empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(e){return e instanceof u&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new d(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if("number"!=typeof t.anchor||"number"!=typeof t.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new u(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,n=t){let r=e.resolve(t);return new this(r,n==t?r:e.resolve(n))}static between(e,t,n){let r=e.pos-t.pos;if(n&&!r||(n=r>=0?1:-1),!t.parent.inlineContent){let e=o.findFrom(t,n,!0)||o.findFrom(t,-n,!0);if(!e)return o.near(t,n);t=e.$head}return e.parent.inlineContent||(0==r||(e=(o.findFrom(e,-n,!0)||o.findFrom(e,n,!0)).$anchor).pos<t.pos!=r<0)&&(e=t),new u(e,t)}}o.jsonID("text",u);class d{constructor(e,t){this.anchor=e,this.head=t}map(e){return new d(e.map(this.anchor),e.map(this.head))}resolve(e){return u.between(e.resolve(this.anchor),e.resolve(this.head))}}class p extends o{constructor(e){let t=e.nodeAfter,n=e.node(0).resolve(e.pos+t.nodeSize);super(e,n),this.node=t}map(e,t){let{deleted:n,pos:r}=t.mapResult(this.anchor),i=e.resolve(r);return n?o.near(i):new p(i)}content(){return new r.Slice(r.Fragment.from(this.node),0,0)}eq(e){return e instanceof p&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new f(this.anchor)}static fromJSON(e,t){if("number"!=typeof t.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON");return new p(e.resolve(t.anchor))}static create(e,t){return new p(e.resolve(t))}static isSelectable(e){return!e.isText&&!1!==e.type.spec.selectable}}p.prototype.visible=!1,o.jsonID("node",p);class f{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:n}=e.mapResult(this.anchor);return t?new d(n,n):new f(n)}resolve(e){let t=e.resolve(this.anchor),n=t.nodeAfter;return n&&p.isSelectable(n)?new p(t):o.near(t)}}class h extends o{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=r.Slice.empty){if(t==r.Slice.empty){e.delete(0,e.doc.content.size);let t=o.atStart(e.doc);t.eq(e.selection)||e.setSelection(t)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new h(e)}map(e){return new h(e)}eq(e){return e instanceof h}getBookmark(){return m}}o.jsonID("all",h);const m={map(){return this},resolve:e=>new h(e)};function g(e,t,n,r,i,a=!1){if(t.inlineContent)return u.create(e,n);for(let o=r-(i>0?0:1);i>0?o<t.childCount:o>=0;o+=i){let r=t.child(o);if(r.isAtom){if(!a&&p.isSelectable(r))return p.create(e,n-(i<0?r.nodeSize:0))}else{let t=g(e,r,n+i,i<0?r.childCount:0,i,a);if(t)return t}n+=r.nodeSize*i}return null}function y(e,t,n){let r=e.steps.length-1;if(r<t)return;let a,s=e.steps[r];(s instanceof i.ReplaceStep||s instanceof i.ReplaceAroundStep)&&(e.mapping.maps[r].forEach((e,t,n,r)=>{null==a&&(a=r)}),e.setSelection(o.near(e.doc.resolve(a),n)))}class v extends i.Transform{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=-3&this.updated|1,this.storedMarks=null,this}get selectionSet(){return(1&this.updated)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=2,this}ensureMarks(e){return r.Mark.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(e,t){super.addStep(e,t),this.updated=-3&this.updated,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let n=this.selection;return t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||r.Mark.none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n){let r=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(r.text(e),!0):this.deleteSelection();{if(null==n&&(n=t),!e)return this.deleteRange(t,n);let i=this.storedMarks;if(!i){let e=this.doc.resolve(t);i=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,r.text(e,i)),this.selection.empty||this.selection.to!=t+e.length||this.setSelection(o.near(this.selection.$to)),this}}setMeta(e,t){return this.meta["string"==typeof e?e:e.key]=t,this}getMeta(e){return this.meta["string"==typeof e?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function b(e,t){return t&&e?e.bind(t):e}
23class _{constructor(e,t,n){this.name=e,this.init=b(t.init,n),this.apply=b(t.apply,n)}}const w=[new _("doc",{init:e=>e.doc||e.schema.topNodeType.createAndFill(),apply:e=>e.doc}),new _("selection",{init:(e,t)=>e.selection||o.atStart(t.doc),apply:e=>e.selection}),new _("storedMarks",{init:e=>e.storedMarks||null,apply:(e,t,n,r)=>r.selection.$cursor?e.storedMarks:null}),new _("scrollToSelection",{init:()=>0,apply:(e,t)=>e.scrolledIntoView?t+1:t})];class k{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=w.slice(),t&&t.forEach(e=>{if(this.pluginsByKey[e.key])throw new RangeError("Adding different instances of a keyed plugin ("+e.key+")");this.plugins.push(e),this.pluginsByKey[e.key]=e,e.spec.state&&this.fields.push(new _(e.key,e.spec.state,e))})}}class S{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let n=0;n<this.config.plugins.length;n++)if(n!=t){let t=this.config.plugins[n];if(t.spec.filterTransaction&&!t.spec.filterTransaction.call(t,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let t=[e],n=this.applyInner(e),r=null;for(;;){let i=!1;for(let a=0;a<this.config.plugins.length;a++){let o=this.config.plugins[a];if(o.spec.appendTransaction){let s=r?r[a].n:0,l=r?r[a].state:this,c=s<t.length&&o.spec.appendTransaction.call(o,s?t.slice(s):t,l,n);
23if(c&&n.filterTransaction(c,a)){if(c.setMeta("appendedTransaction",e),!r){r=[];for(let e=0;e<this.config.plugins.length;e++)r.push(e<a?{state:n,n:t.length}:{state:this,n:0})}t.push(c),n=n.applyInner(c),i=!0}r&&(r[a]={state:n,n:t.length})}}if(!i)return{state:n,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let t=new S(this.config),n=this.config.fields;for(let r=0;r<n.length;r++){let i=n[r];t[i.name]=i.apply(e,this[i.name],this,t)}return t}get tr(){return new v(this)}static create(e){let t=new k(e.doc?e.doc.type.schema:e.schema,e.plugins),n=new S(t);for(let r=0;r<t.fields.length;r++)n[t.fields[r].name]=t.fields[r].init(e,n);return n}reconfigure(e){let t=new k(this.schema,e.plugins),n=t.fields,r=new S(t);for(let i=0;i<n.length;i++){let t=n[i].name;r[t]=this.hasOwnProperty(t)?this[t]:n[i].init(e,r)}return r}toJSON(e){let t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map(e=>e.toJSON())),e&&"object"==typeof e)for(let n in e){if("doc"==n||"selection"==n)throw new RangeError("The JSON fields `doc` and `selection` are reserved");let r=e[n],i=r.spec.state;i&&i.toJSON&&(t[n]=i.toJSON.call(r,this[r.key]))}return t}static fromJSON(e,t,n){if(!t)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let i=new k(e.schema,e.plugins),a=new S(i);return i.fields.forEach(i=>{if("doc"==i.name)a.doc=r.Node.fromJSON(e.schema,t.doc);else if("selection"==i.name)a.selection=o.fromJSON(a.doc,t.selection);else if("storedMarks"==i.name)t.storedMarks&&(a.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(n)for(let r in n){let o=n[r],s=o.spec.state;if(o.key==i.name&&s&&s.fromJSON&&Object.prototype.hasOwnProperty.call(t,r))return void(a[i.name]=s.fromJSON.call(o,e,t[r],a))}a[i.name]=i.init(e,a)}}),a}}function x(e,t,n){for(let r in e){let i=e[r];i instanceof Function?i=i.bind(t):"handleDOMEvents"==r&&(i=x(i,t,{})),n[r]=i}return n}class C{constructor(e){this.spec=e,this.props={},e.props&&x(e.props,this,this.props),this.key=e.key?e.key.key:A("plugin")}getState(e){return e[this.key]}}const E=Object.create(null);function A(e){return e in E?e+"$"+ ++E[e]:(E[e]=0,e+"$")}class T{constructor(e="key"){this.key=A(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}},50119(t,n,r){"use strict";r.r(n),r.d(n,{AddMarkStep:()=>m,AddNodeMarkStep:()=>y,AttrStep:()=>X,DocAttrStep:()=>G,MapResult:()=>l,Mapping:()=>u,RemoveMarkStep:()=>g,RemoveNodeMarkStep:()=>v,ReplaceAroundStep:()=>_,ReplaceStep:()=>b,Step:()=>p,StepMap:()=>c,StepResult:()=>f,Transform:()=>J,TransformError:()=>q,canJoin:()=>R,canSplit:()=>I,dropPoint:()=>j,findWrapping:()=>C,insertPoint:()=>N,joinPoint:()=>D,liftTarget:()=>x,replaceStep:()=>F});var i=r(27951);const a=Math.pow(2,16);function o(e,t){return e+t*a}function s(e){return 65535&e}class l{constructor(e,t,n){this.pos=e,this.delInfo=t,this.recover=n}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class c{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&c.empty)return c.empty}recover(e){let t=0,n=s(e);if(!this.inverted)for(let r=0;r<n;r++)t+=this.ranges[3*r+2]-this.ranges[3*r+1];return this.ranges[3*n]+t+function(e){return(e-(65535&e))/a}(e)}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,n){let r=0,i=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let c=this.ranges[s]-(this.inverted?r:0);if(c>e)break;let u=this.ranges[s+i],d=this.ranges[s+a],p=c+u;if(e<=p){let i=c+r+((u?e==c?-1:e==p?1:t:t)<0?0:d);if(n)return i;let a=e==(t<0?c:p)?null:o(s/3,e-c),f=e==c?2:e==p?1:4;return(t<0?e!=c:e!=p)&&(f|=8),new l(i,f,a)}r+=d-u}return n?e+r:new l(e+r,0,null)}touches(e,t){let n=0,r=s(t),i=this.inverted?2:1,a=this.inverted?1:2;for(let o=0;o<this.ranges.length;o+=3){let t=this.ranges[o]-(this.inverted?n:0);if(t>e)break;let s=this.ranges[o+i];if(e<=t+s&&o==3*r)return!0;n+=this.ranges[o+a]-s}return!1}forEach(e){let t=this.inverted?2:1,n=this.inverted?1:2;
vendor: 5,978 bytes, line 23
23for(let r=0,i=0;r<this.ranges.length;r+=3){let a=this.ranges[r],o=a-(this.inverted?i:0),s=a+(this.inverted?0:i),l=this.ranges[r+t],c=this.ranges[r+n];e(o,o+l,s,s+c),i+=c-l}}invert(){return new c(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return 0==e?c.empty:new c(e<0?[0,-e,0]:[0,0,e])}}c.empty=new c([]);class u{constructor(e,t,n=0,r=(e?e.length:0)){this.mirror=t,this.from=n,this.to=r,this._maps=e||[],this.ownData=!(e||t)}get maps(){return this._maps}slice(e=0,t=this.maps.length){return new u(this._maps,this.mirror,e,t)}appendMap(e,t){this.ownData||(this._maps=this._maps.slice(),this.mirror=this.mirror&&this.mirror.slice(),this.ownData=!0),this.to=this._maps.push(e),null!=t&&this.setMirror(this._maps.length-1,t)}appendMapping(e){for(let t=0,n=this._maps.length;t<e._maps.length;t++){let r=e.getMirror(t);this.appendMap(e._maps[t],null!=r&&r<t?n+r:void 0)}}getMirror(e){if(this.mirror)for(let t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}setMirror(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,n=this._maps.length+e._maps.length;t>=0;t--){let r=e.getMirror(t);this.appendMap(e._maps[t].invert(),null!=r&&r>t?n-r-1:void 0)}}invert(){let e=new u;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let n=this.from;n<this.to;n++)e=this._maps[n].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,n){let r=0;for(let i=this.from;i<this.to;i++){let n=this._maps[i].mapResult(e,t);if(null!=n.recover){let t=this.getMirror(i);if(null!=t&&t>i&&t<this.to){i=t,e=this._maps[t].recover(n.recover);continue}}r|=n.delInfo,e=n.pos}return n?e:new l(e,r,null)}}const d=Object.create(null);class p{getMap(){return c.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let n=d[t.stepType];if(!n)throw new RangeError(`No step type ${t.stepType} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in d)throw new RangeError("Duplicate use of step JSON ID "+e);return d[e]=t,t.prototype.jsonID=e,t}}class f{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new f(e,null)}static fail(e){return new f(null,e)}static fromReplace(t,n,r,a){try{return f.ok(t.replace(n,r,a))}catch(e){if(e instanceof i.ReplaceError)return f.fail(e.message);throw e}}}function h(e,t,n){let r=[];for(let i=0;i<e.childCount;i++){let a=e.child(i);a.content.size&&(a=a.copy(h(a.content,t,a))),a.isInline&&(a=t(a,n,i)),r.push(a)}return i.Fragment.fromArray(r)}class m extends p{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=e.resolve(this.from),r=n.node(n.sharedDepth(this.to)),a=new i.Slice(h(t.content,(e,t)=>e.isAtom&&t.type.allowsMarkType(this.mark.type)?e.mark(this.mark.addToSet(e.marks)):e,r),t.openStart,t.openEnd);return f.fromReplace(e,this.from,this.to,a)}invert(){return new g(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new m(t.pos,n.pos,this.mark)}merge(e){return e instanceof m&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new m(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new m(t.from,t.to,e.markFromJSON(t.mark))}}p.jsonID("addMark",m);class g extends p{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=new i.Slice(h(t.content,e=>e.mark(this.mark.removeFromSet(e.marks)),e),t.openStart,t.openEnd);return f.fromReplace(e,this.from,this.to,n)}invert(){return new m(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new g(t.pos,n.pos,this.mark)}merge(e){return e instanceof g&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new g(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new g(t.from,t.to,e.markFromJSON(t.mark))}}p.jsonID("removeMark",g);class y extends p{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return f.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return f.fromReplace(e,this.pos,this.pos+1,new i.Slice(i.Fragment.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let e=this.mark.addToSet(t.marks);if(e.length==t.marks.length){for(let n=0;n<t.marks.length;n++)if(!t.marks[n].isInSet(e))return new y(this.pos,t.marks[n]);return new y(this.pos,this.mark)}}return new v(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new y(t.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new y(t.pos,e.markFromJSON(t.mark))}}p.jsonID("addNodeMark",y);class v extends p{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return f.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return f.fromReplace(e,this.pos,this.pos+1,new i.Slice(i.Fragment.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);return t&&this.mark.isInSet(t.marks)?new y(this.pos,this.mark):this}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new v(t.pos,this.mark)}
23toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new v(t.pos,e.markFromJSON(t.mark))}}p.jsonID("removeNodeMark",v);class b extends p{constructor(e,t,n,r=!1){super(),this.from=e,this.to=t,this.slice=n,this.structure=r}apply(e){return this.structure&&w(e,this.from,this.to)?f.fail("Structure replace would overwrite content"):f.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new c([this.from,this.to-this.from,this.slice.size])}invert(e){return new b(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let t=e.mapResult(this.to,-1),n=this.from==this.to&&b.MAP_BIAS<0?t:e.mapResult(this.from,1);return n.deletedAcross&&t.deletedAcross?null:new b(n.pos,Math.max(n.pos,t.pos),this.slice,this.structure)}merge(e){if(!(e instanceof b)||e.structure||this.structure)return null;if(this.from+this.slice.size!=e.from||this.slice.openEnd||e.slice.openStart){if(e.to!=this.from||this.slice.openStart||e.slice.openEnd)return null;{let t=this.slice.size+e.slice.size==0?i.Slice.empty:new i.Slice(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new b(e.from,this.to,t,this.structure)}}{let t=this.slice.size+e.slice.size==0?i.Slice.empty:new i.Slice(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new b(this.from,this.to+(e.to-e.from),t,this.structure)}}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new b(t.from,t.to,i.Slice.fromJSON(e,t.slice),!!t.structure)}}b.MAP_BIAS=1,p.jsonID("replace",b);class _ extends p{constructor(e,t,n,r,i,a,o=!1){super(),this.from=e,this.to=t,this.gapFrom=n,this.gapTo=r,this.slice=i,this.insert=a,this.structure=o}apply(e){if(this.structure&&(w(e,this.from,this.gapFrom)||w(e,this.gapTo,this.to)))return f.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return f.fail("Gap is not a flat range");let n=this.slice.insertAt(this.insert,t.content);return n?f.fromReplace(e,this.from,this.to,n):f.fail("Content does not fit in gap")}getMap(){return new c([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let t=this.gapTo-this.gapFrom;return new _(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1),r=this.from==this.gapFrom?t.pos:e.map(this.gapFrom,-1),i=this.to==this.gapTo?n.pos:e.map(this.gapTo,1);return t.deletedAcross&&n.deletedAcross||r<t.pos||i>n.pos?null:new _(t.pos,n.pos,r,i,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to||"number"!=typeof t.gapFrom||"number"!=typeof t.gapTo||"number"!=typeof t.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new _(t.from,t.to,t.gapFrom,t.gapTo,i.Slice.fromJSON(e,t.slice),t.insert,!!t.structure)}}function w(e,t,n){let r=e.resolve(t),i=n-t,a=r.depth;for(;i>0&&a>0&&r.indexAfter(a)==r.node(a).childCount;)a--,i--;if(i>0){let e=r.node(a).maybeChild(r.indexAfter(a));for(;i>0;){if(!e||e.isLeaf)return!0;e=e.firstChild,i--}}return!1}function k(e,t,n,r=n.contentMatch,a=!0){let o=e.doc.nodeAt(t),s=[],l=t+1;for(let c=0;c<o.childCount;c++){let t=o.child(c),u=l+t.nodeSize,d=r.matchType(t.type);if(d){r=d;for(let r=0;r<t.marks.length;r++)n.allowsMarkType(t.marks[r].type)||e.step(new g(l,u,t.marks[r]));if(a&&t.isText&&"pre"!=n.whitespace){let e,r,a=/\r?\n|\r/g;
23for(;e=a.exec(t.text);)r||(r=new i.Slice(i.Fragment.from(n.schema.text(" ",n.allowedMarks(t.marks))),0,0)),s.push(new b(l+e.index,l+e.index+e[0].length,r))}}else s.push(new b(l,u,i.Slice.empty));l=u}if(!r.validEnd){let t=r.fillBefore(i.Fragment.empty,!0);e.replace(l,l,new i.Slice(t,0,0))}for(let i=s.length-1;i>=0;i--)e.step(s[i])}function S(e,t,n){return(0==t||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function x(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let n=e.depth,r=0,i=0;;--n){let a=e.$from.node(n),o=e.$from.index(n)+r,s=e.$to.indexAfter(n)-i;if(n<e.depth&&a.canReplace(o,s,t))return n;if(0==n||a.type.spec.isolating||!S(a,o,s))break;o&&(r=1),s<a.childCount&&(i=1)}return null}function C(e,t,n=null,r=e){let i=function(e,t){let{parent:n,startIndex:r,endIndex:i}=e,a=n.contentMatchAt(r).findWrapping(t);if(!a)return null;let o=a.length?a[0]:t;return n.canReplaceWith(r,i,o)?a:null}(e,t),a=i&&function(e,t){let{parent:n,startIndex:r,endIndex:i}=e,a=n.child(r),o=t.contentMatch.findWrapping(a.type);if(!o)return null;let s=(o.length?o[o.length-1]:t).contentMatch;for(let l=r;s&&l<i;l++)s=s.matchType(n.child(l).type);return s&&s.validEnd?o:null}(r,t);return a?i.map(E).concat({type:t,attrs:n}).concat(a.map(E)):null}function E(e){return{type:e,attrs:null}}function A(e,t,n,r){t.forEach((i,a)=>{if(i.isText){let o,s=/\r?\n|\r/g;for(;o=s.exec(i.text);){let i=e.mapping.slice(r).map(n+1+a+o.index);e.replaceWith(i,i+1,t.type.schema.linebreakReplacement.create())}}})}function T(e,t,n,r){t.forEach((i,a)=>{if(i.type==i.type.schema.linebreakReplacement){let i=e.mapping.slice(r).map(n+1+a);e.replaceWith(i,i+1,t.type.schema.text("\n"))}})}function I(e,t,n=1,r){let i=e.resolve(t),a=i.depth-n,o=r&&r[r.length-1]||i.parent;if(a<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!o.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let c=i.depth-1,u=n-2;c>a;c--,u--){let e=i.node(c),t=i.index(c);if(e.type.spec.isolating)return!1;let n=e.content.cutByIndex(t,e.childCount),a=r&&r[u+1];a&&(n=n.replaceChild(0,a.type.create(a.attrs)));let o=r&&r[u]||e;if(!e.canReplace(t+1,e.childCount)||!o.type.validContent(n))return!1}let s=i.indexAfter(a),l=r&&r[0];return i.node(a).canReplaceWith(s,s,l?l.type:i.node(a+1).type)}function R(e,t){let n=e.resolve(t),r=n.index();return O(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function O(e,t){return!(!e||!t||e.isLeaf||!function(e,t){t.content.size||e.type.compatibleContent(t.type);let n=e.contentMatchAt(e.childCount),{linebreakReplacement:r}=e.type.schema;for(let i=0;i<t.childCount;i++){let a=t.child(i),o=a.type==r?e.type.schema.nodes.text:a.type;if(n=n.matchType(o),!n)return!1;if(!e.type.allowsMarks(a.marks))return!1}return n.validEnd}(e,t))}function D(e,t,n=-1){let r=e.resolve(t);for(let i=r.depth;;i--){let e,a,o=r.index(i);if(i==r.depth?(e=r.nodeBefore,a=r.nodeAfter):n>0?(e=r.node(i+1),o++,a=r.node(i).maybeChild(o)):(e=r.node(i).maybeChild(o-1),a=r.node(i+1)),e&&!e.isTextblock&&O(e,a)&&r.node(i).canReplace(o,o+1))return t;if(0==i)break;t=n<0?r.before(i):r.after(i)}}function N(e,t,n){let r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(0==r.parentOffset)for(let i=r.depth-1;i>=0;i--){let e=r.index(i);if(r.node(i).canReplaceWith(e,e,n))return r.before(i+1);if(e>0)return null}if(r.parentOffset==r.parent.content.size)for(let i=r.depth-1;i>=0;i--){let e=r.indexAfter(i);if(r.node(i).canReplaceWith(e,e,n))return r.after(i+1);if(e<r.node(i).childCount)return null}return null}function j(e,t,n){let r=e.resolve(t);if(!n.content.size)return t;let i=n.content;for(let a=0;a<n.openStart;a++)i=i.firstChild.content;for(let a=1;a<=(0==n.openStart&&n.size?2:1);a++)for(let e=r.depth;e>=0;e--){let t=e==r.depth?0:r.pos<=(r.start(e+1)+r.end(e+1))/2?-1:1,n=r.index(e)+(t>0?1:0),o=r.node(e),s=!1;if(1==a)s=o.canReplace(n,n,i);else{let e=o.contentMatchAt(n).findWrapping(i.firstChild.type);s=e&&o.canReplaceWith(n,n,e[0])}if(s)return 0==t?r.pos:t<0?r.before(e+1):r.after(e+1)}return null}
vendor: 7,678 bytes, line 23
23function F(e,t,n=t,r=i.Slice.empty){if(t==n&&!r.size)return null;let a=e.resolve(t),o=e.resolve(n);return M(a,o,r)?new b(t,n,r):new V(a,o,r).fit()}function M(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}p.jsonID("replaceAround",_);class V{constructor(e,t,n){this.$from=e,this.$to=t,this.unplaced=n,this.frontier=[],this.placed=i.Fragment.empty;for(let r=0;r<=e.depth;r++){let t=e.node(r);this.frontier.push({type:t.type,match:t.contentMatchAt(e.indexAfter(r))})}for(let r=e.depth;r>0;r--)this.placed=i.Fragment.from(e.node(r).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,n=this.$from,r=this.close(e<0?this.$to:n.doc.resolve(e));if(!r)return null;let a=this.placed,o=n.depth,s=r.depth;for(;o&&s&&1==a.childCount;)a=a.firstChild.content,o--,s--;let l=new i.Slice(a,o,s);return e>-1?new _(n.pos,e,this.$to.pos,this.$to.end(),l,t):l.size||n.pos!=this.$to.pos?new b(n.pos,r.pos,l):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,n=0,r=this.unplaced.openEnd;n<e;n++){let i=t.firstChild;if(t.childCount>1&&(r=0),i.type.spec.isolating&&r<=n){e=n;break}t=i.content}for(let t=1;t<=2;t++)for(let n=1==t?e:this.unplaced.openStart;n>=0;n--){let e,r=null;n?(r=B(this.unplaced.content,n-1).firstChild,e=r.content):e=this.unplaced.content;let a=e.firstChild;for(let o=this.depth;o>=0;o--){let e,{type:s,match:l}=this.frontier[o],c=null;if(1==t&&(a?l.matchType(a.type)||(c=l.fillBefore(i.Fragment.from(a),!1)):r&&s.compatibleContent(r.type)))return{sliceDepth:n,frontierDepth:o,parent:r,inject:c};if(2==t&&a&&(e=l.findWrapping(a.type)))return{sliceDepth:n,frontierDepth:o,parent:r,wrap:e};if(r&&l.matchType(r.type))break}}}openMore(){let{content:e,openStart:t,openEnd:n}=this.unplaced,r=B(e,t);return!(!r.childCount||r.firstChild.isLeaf)&&(this.unplaced=new i.Slice(e,t+1,Math.max(n,r.size+t>=e.size-n?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:n}=this.unplaced,r=B(e,t);if(r.childCount<=1&&t>0){let a=e.size-t<=t+r.size;this.unplaced=new i.Slice(P(e,t-1,1),t-1,a?t-1:n)}else this.unplaced=new i.Slice(P(e,t,1),t,n)}placeNodes({sliceDepth:e,frontierDepth:t,parent:n,inject:r,wrap:a}){for(;this.depth>t;)this.closeFrontierNode();if(a)for(let i=0;i<a.length;i++)this.openFrontierNode(a[i]);let o=this.unplaced,s=n?n.content:o.content,l=o.openStart-e,c=0,u=[],{match:d,type:p}=this.frontier[t];if(r){for(let e=0;e<r.childCount;e++)u.push(r.child(e));d=d.matchFragment(r)}let f=s.size+e-(o.content.size-o.openEnd);for(;c<s.childCount;){let e=s.child(c),t=d.matchType(e.type);if(!t)break;c++,(c>1||0==l||e.content.size)&&(d=t,u.push(H(e.mark(p.allowedMarks(e.marks)),1==c?l:0,c==s.childCount?f:-1)))}let h=c==s.childCount;h||(f=-1),this.placed=L(this.placed,t,i.Fragment.from(u)),this.frontier[t].match=d,h&&f<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let i=0,m=s;i<f;i++){let e=m.lastChild;this.frontier.push({type:e.type,match:e.contentMatchAt(e.childCount)}),m=e.content}this.unplaced=h?0==e?i.Slice.empty:new i.Slice(P(o.content,e-1,1),e-1,f<0?o.openEnd:e-1):new i.Slice(P(o.content,e,c),o.openStart,o.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e,t=this.frontier[this.depth];if(!t.type.isTextblock||!W(this.$to,this.$to.depth,t.type,t.match,!1)||this.$to.depth==this.depth&&(e=this.findCloseLevel(this.$to))&&e.depth==this.depth)return-1;let{depth:n}=this.$to,r=this.$to.after(n);for(;n>1&&r==this.$to.end(--n);)++r;return r}findCloseLevel(e){e:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:n,type:r}=this.frontier[t],i=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),a=W(e,t,r,n,i);if(a){for(let n=t-1;n>=0;n--){let{match:t,type:r}=this.frontier[n],i=W(e,n,r,t,!0);if(!i||i.childCount)continue e}return{depth:t,fit:a,move:i?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=L(this.placed,t.depth,t.fit)),e=t.move;for(let n=t.depth+1;n<=e.depth;n++){let t=e.node(n),r=t.type.contentMatch.fillBefore(t.content,!0,e.index(n));this.openFrontierNode(t.type,t.attrs,r)}return e}openFrontierNode(e,t=null,n){let r=this.frontier[this.depth];r.match=r.match.matchType(e),this.placed=L(this.placed,this.depth,i.Fragment.from(e.create(t,n))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(i.Fragment.empty,!0);e.childCount&&(this.placed=L(this.placed,this.frontier.length,e))}}function P(e,t,n){return 0==t?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(P(e.firstChild.content,t-1,n)))}function L(e,t,n){return 0==t?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(L(e.lastChild.content,t-1,n)))}function B(e,t){for(let n=0;n<t;n++)e=e.firstChild.content;return e}function H(e,t,n){if(t<=0)return e;let r=e.content;return t>1&&(r=r.replaceChild(0,H(r.firstChild,t-1,1==r.childCount?n-1:0))),t>0&&(r=e.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(e.type.contentMatch.matchFragment(r).fillBefore(i.Fragment.empty,!0)))),e.copy(r)}function W(e,t,n,r,i){let a=e.node(t),o=i?e.indexAfter(t):e.index(t);if(o==a.childCount&&!n.compatibleContent(a.type))return null;let s=r.fillBefore(a.content,!0,o);return s&&!function(e,t,n){for(let r=n;r<t.childCount;r++)if(!e.allowsMarks(t.child(r).marks))return!0;return!1}(n,a.content,o)?s:null}function z(e){return e.spec.defining||e.spec.definingForContent}function Y(e,t,n,r,a){if(t<n){let i=e.firstChild;e=e.replaceChild(0,i.copy(Y(i.content,t+1,n,r,i)))}if(t>r){let t=a.contentMatchAt(0),n=t.fillBefore(e).append(e);e=n.append(t.matchFragment(n).fillBefore(i.Fragment.empty,!0))}return e}function U(e,t){let n=[];for(let r=Math.min(e.depth,t.depth);r>=0;r--){let i=e.start(r);if(i<e.pos-(e.depth-r)||t.end(r)>t.pos+(t.depth-r)||e.node(r).type.spec.isolating||t.node(r).type.spec.isolating)break;(i==t.start(r)||r==e.depth&&r==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&r&&t.start(r-1)==i-1)&&n.push(r)}return n}class X extends p{constructor(e,t,n){super(),this.pos=e,this.attr=t,this.value=n}apply(e){let t=e.nodeAt(this.pos);if(!t)return f.fail("No node at attribute step's position");let n=Object.create(null);for(let i in t.attrs)n[i]=t.attrs[i];n[this.attr]=this.value;let r=t.type.create(n,null,t.marks);return f.fromReplace(e,this.pos,this.pos+1,new i.Slice(i.Fragment.from(r),0,t.isLeaf?0:1))}getMap(){return c.empty}invert(e){return new X(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new X(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if("number"!=typeof t.pos||"string"!=typeof t.attr)throw new RangeError("Invalid input for AttrStep.fromJSON");return new X(t.pos,t.attr,t.value)}}p.jsonID("attr",X);class G extends p{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let r in e.attrs)t[r]=e.attrs[r];t[this.attr]=this.value;let n=e.type.create(t,e.content,e.marks);return f.ok(n)}getMap(){return c.empty}invert(e){return new G(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if("string"!=typeof t.attr)throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new G(t.attr,t.value)}}p.jsonID("docAttr",G);
23let q=class extends Error{};q=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n},q.prototype=Object.create(Error.prototype),q.prototype.constructor=q,q.prototype.name="TransformError";class J{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new u}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new q(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}changedRange(){let e=1e9,t=-1e9;for(let n=0;n<this.mapping.maps.length;n++){let r=this.mapping.maps[n];n&&(e=r.map(e,1),t=r.map(t,-1)),r.forEach((n,r,i,a)=>{e=Math.min(e,i),t=Math.max(t,a)})}return 1e9==e?null:{from:e,to:t}}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,n=i.Slice.empty){let r=F(this.doc,e,t,n);return r&&this.step(r),this}replaceWith(e,t,n){return this.replace(e,t,new i.Slice(i.Fragment.from(n),0,0))}delete(e,t){return this.replace(e,t,i.Slice.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,n){return function(e,t,n,r){if(!r.size)return e.deleteRange(t,n);let a=e.doc.resolve(t),o=e.doc.resolve(n);if(M(a,o,r))return e.step(new b(t,n,r));let s=U(a,o);0==s[s.length-1]&&s.pop();let l=-(a.depth+1);s.unshift(l);for(let i=a.depth,f=a.pos-1;i>0;i--,f--){let e=a.node(i).type.spec;if(e.defining||e.definingAsContext||e.isolating)break;s.indexOf(i)>-1?l=i:a.before(i)==f&&s.splice(1,0,-i)}let c=s.indexOf(l),u=[],d=r.openStart;for(let i=r.content,f=0;;f++){let e=i.firstChild;if(u.push(e),f==r.openStart)break;i=e.content}for(let i=d-1;i>=0;i--){let e=u[i],t=z(e.type);if(t&&!e.sameMarkup(a.node(Math.abs(l)-1)))d=i;else if(t||!e.type.isTextblock)break}for(let f=r.openStart;f>=0;f--){let t=(f+d+1)%(r.openStart+1),l=u[t];if(l)for(let u=0;u<s.length;u++){let d=s[(u+c)%s.length],p=!0;d<0&&(p=!1,d=-d);let f=a.node(d-1),h=a.index(d-1);if(f.canReplaceWith(h,h,l.type,l.marks))return e.replace(a.before(d),p?o.after(d):n,new i.Slice(Y(r.content,0,r.openStart,t),t,r.openEnd))}}let p=e.steps.length;for(let i=s.length-1;i>=0&&(e.replace(t,n,r),!(e.steps.length>p));i--){let e=s[i];e<0||(t=a.before(e),n=o.after(e))}}(this,e,t,n),this}replaceRangeWith(e,t,n){return function(e,t,n,r){if(!r.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let i=N(e.doc,t,r.type);null!=i&&(t=n=i)}e.replaceRange(t,n,new i.Slice(i.Fragment.from(r),0,0))}(this,e,t,n),this}deleteRange(e,t){return function(e,t,n){let r=e.doc.resolve(t),i=e.doc.resolve(n);if(r.parent.isTextblock&&i.parent.isTextblock&&r.start()!=i.start()&&0==r.parentOffset&&0==i.parentOffset){let a=r.sharedDepth(n),o=!1;for(let e=r.depth;e>a;e--)r.node(e).type.spec.isolating&&(o=!0);for(let e=i.depth;e>a;e--)i.node(e).type.spec.isolating&&(o=!0);if(!o){for(let e=r.depth;e>0&&t==r.start(e);e--)t=r.before(e);for(let e=i.depth;e>0&&n==i.start(e);e--)n=i.before(e);r=e.doc.resolve(t),i=e.doc.resolve(n)}}let a=U(r,i);for(let o=0;o<a.length;o++){let t=a[o],n=o==a.length-1;if(n&&0==t||r.node(t).type.contentMatch.validEnd)return e.delete(r.start(t),i.end(t));if(t>0&&(n||r.node(t-1).canReplace(r.index(t-1),i.indexAfter(t-1))))return e.delete(r.before(t),i.after(t))}for(let o=1;o<=r.depth&&o<=i.depth;o++)if(t-r.start(o)==r.depth-o&&n>r.end(o)&&i.end(o)-n!=i.depth-o&&r.start(o-1)==i.start(o-1)&&r.node(o-1).canReplace(r.index(o-1),i.index(o-1)))return e.delete(r.before(o),n);e.delete(t,n)}(this,e,t),this}lift(e,t){return function(e,t,n){let{$from:r,$to:a,depth:o}=t,s=r.before(o+1),l=a.after(o+1),c=s,u=l,d=i.Fragment.empty,p=0;for(let m=o,g=!1;m>n;m--)g||r.index(m)>0?(g=!0,d=i.Fragment.from(r.node(m).copy(d)),p++):c--;let f=i.Fragment.empty,h=0;for(let m=o,g=!1;m>n;m--)g||a.after(m+1)<a.end(m)?(g=!0,f=i.Fragment.from(a.node(m).copy(f)),h++):u++;e.step(new _(c,u,s,l,new i.Slice(d.append(f),p,h),d.size-p,!0))}(this,e,t),this}join(e,t=1){return function(e,t,n){let r=null,{linebreakReplacement:a}=e.doc.type.schema,o=e.doc.resolve(t-n),s=o.node().type;if(a&&s.inlineContent){let e="pre"==s.whitespace,t=!!s.contentMatch.matchType(a);e&&!t?r=!1:!e&&t&&(r=!0)}let l=e.steps.length;if(!1===r){let r=e.doc.resolve(t+n);T(e,r.node(),r.before(),l)}s.inlineContent&&k(e,t+n-1,s,o.node().contentMatchAt(o.index()),null==r);let c=e.mapping.slice(l),u=c.map(t-n);if(e.step(new b(u,c.map(t+n,-1),i.Slice.empty,!0)),!0===r){let t=e.doc.resolve(u);A(e,t.node(),t.before(),e.steps.length)}}(this,e,t),this}wrap(e,t){return function(e,t,n){let r=i.Fragment.empty;for(let s=n.length-1;s>=0;s--){if(r.size){let e=n[s].type.contentMatch.matchFragment(r);if(!e||!e.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=i.Fragment.from(n[s].type.create(n[s].attrs,r))}let a=t.start,o=t.end;e.step(new _(a,o,a,o,new i.Slice(r,0,0),n.length,!0))}(this,e,t),this}setBlockType(e,t=e,n,r=null){return function(e,t,n,r,a){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=e.steps.length;e.doc.nodesBetween(t,n,(t,n)=>{let s="function"==typeof a?a(t):a;if(t.isTextblock&&!t.hasMarkup(r,s)&&function(e,t,n){let r=e.resolve(t),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}(e.doc,e.mapping.slice(o).map(n),r)){let a=null;if(r.schema.linebreakReplacement){let e="pre"==r.whitespace,t=!!r.contentMatch.matchType(r.schema.linebreakReplacement);e&&!t?a=!1:!e&&t&&(a=!0)}!1===a&&T(e,t,n,o),k(e,e.mapping.slice(o).map(n,1),r,void 0,null===a);let l=e.mapping.slice(o),c=l.map(n,1),u=l.map(n+t.nodeSize,1);return e.step(new _(c,u,c+1,u-1,new i.Slice(i.Fragment.from(r.create(s,null,t.marks)),0,0),1,!0)),!0===a&&A(e,t,n,o),!1}})}(this,e,t,n,r),this}setNodeMarkup(e,t,n=null,r){return function(e,t,n,r,a){let o=e.doc.nodeAt(t);if(!o)throw new RangeError("No node at given position");n||(n=o.type);let s=n.create(r,null,a||o.marks);if(o.isLeaf)return e.replaceWith(t,t+o.nodeSize,s);if(!n.validContent(o.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new _(t,t+o.nodeSize,t+1,t+o.nodeSize-1,new i.Slice(i.Fragment.from(s),0,0),1,!0))}(this,e,t,n,r),this}
23setNodeAttribute(e,t,n){return this.step(new X(e,t,n)),this}setDocAttribute(e,t){return this.step(new G(e,t)),this}addNodeMark(e,t){return this.step(new y(e,t)),this}removeNodeMark(e,t){let n=this.doc.nodeAt(e);if(!n)throw new RangeError("No node at position "+e);if(t instanceof i.Mark)t.isInSet(n.marks)&&this.step(new v(e,t));else{let r,i=n.marks,a=[];for(;r=t.isInSet(i);)a.push(new v(e,r)),i=r.removeFromSet(i);for(let e=a.length-1;e>=0;e--)this.step(a[e])}return this}split(e,t=1,n){return function(e,t,n=1,r){let a=e.doc.resolve(t),o=i.Fragment.empty,s=i.Fragment.empty;for(let l=a.depth,c=a.depth-n,u=n-1;l>c;l--,u--){o=i.Fragment.from(a.node(l).copy(o));let e=r&&r[u];s=i.Fragment.from(e?e.type.create(e.attrs,s):a.node(l).copy(s))}e.step(new b(t,t,new i.Slice(o.append(s),n,n),!0))}(this,e,t,n),this}addMark(e,t,n){return function(e,t,n,r){let i,a,o=[],s=[];e.doc.nodesBetween(t,n,(e,l,c)=>{if(!e.isInline)return;let u=e.marks;if(!r.isInSet(u)&&c.type.allowsMarkType(r.type)){let c=Math.max(l,t),d=Math.min(l+e.nodeSize,n),p=r.addToSet(u);for(let e=0;e<u.length;e++)u[e].isInSet(p)||(i&&i.to==c&&i.mark.eq(u[e])?i.to=d:o.push(i=new g(c,d,u[e])));a&&a.to==c?a.to=d:s.push(a=new m(c,d,r))}}),o.forEach(t=>e.step(t)),s.forEach(t=>e.step(t))}(this,e,t,n),this}removeMark(e,t,n){return function(e,t,n,r){let a=[],o=0;e.doc.nodesBetween(t,n,(e,s)=>{if(!e.isInline)return;o++;let l=null;if(r instanceof i.MarkType){let t,n=e.marks;for(;t=r.isInSet(n);)(l||(l=[])).push(t),n=t.removeFromSet(n)}else r?r.isInSet(e.marks)&&(l=[r]):l=e.marks;if(l&&l.length){let r=Math.min(s+e.nodeSize,n);for(let e=0;e<l.length;e++){let n,i=l[e];for(let e=0;e<a.length;e++){let t=a[e];t.step==o-1&&i.eq(a[e].style)&&(n=t)}n?(n.to=r,n.step=o):a.push({style:i,from:Math.max(s,t),to:r,step:o})}}}),a.forEach(t=>e.step(new g(t.from,t.to,t.style)))}(this,e,t,n),this}clearIncompatible(e,t,n){return k(this,e,t,n),this}}},94864(t,n,r){"use strict";r.r(n),r.d(n,{Decoration:()=>zt,DecorationSet:()=>Xt,EditorView:()=>_n,__endComposition:()=>bn,__parseFromClipboard:()=>vn});var i=r(99988),a=r(27951),o=r(50119);const s=function(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t},l=function(e){let t=e.assignedSlot||e.parentNode;return t&&11==t.nodeType?t.host:t};let c=null;const u=function(e,t,n){let r=c||(c=document.createRange());return r.setEnd(e,null==n?e.nodeValue.length:n),r.setStart(e,t||0),r},d=function(e,t,n,r){return n&&(f(e,t,n,r,-1)||f(e,t,n,r,1))},p=/^(img|br|input|textarea|hr)$/i;function f(e,t,n,r,i){for(var a;;){if(e==n&&t==r)return!0;if(t==(i<0?0:h(e))){let n=e.parentNode;if(!n||1!=n.nodeType||m(e)||p.test(e.nodeName)||"false"==e.contentEditable)return!1;t=s(e)+(i<0?0:1),e=n}else{if(1!=e.nodeType)return!1;{let n=e.childNodes[t+(i<0?-1:0)];if(1==n.nodeType&&"false"==n.contentEditable){if(!(null===(a=n.pmViewDesc)||void 0===a?void 0:a.ignoreForSelection))return!1;t+=i}else e=n,t=i<0?h(e):0}}}}function h(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function m(e){let t;for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}const g=function(e){return e.focusNode&&d(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function y(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}const v="undefined"!=typeof navigator?navigator:null,b="undefined"!=typeof document?document:null,_=v&&v.userAgent||"",w=/Edge\/(\d+)/.exec(_),k=/MSIE \d/.exec(_),S=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(_),x=!!(k||S||w),C=k?document.documentMode:S?+S[1]:w?+w[1]:0,E=!x&&/gecko\/(\d+)/i.test(_);E&&(/Firefox\/(\d+)/.exec(_)||[0,0])[1];const A=!x&&/Chrome\/(\d+)/.exec(_),T=!!A,I=A?+A[1]:0,R=!x&&!!v&&/Apple Computer/.test(v.vendor),O=R&&(/Mobile\/\w+/.test(_)||!!v&&v.maxTouchPoints>2),D=O||!!v&&/Mac/.test(v.platform),N=!!v&&/Win/.test(v.platform),j=/Android \d/.test(_),F=!!b&&"webkitFontSmoothing"in b.documentElement.style,M=F?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function V(e){let t=e.defaultView&&e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function P(e,t){return"number"==typeof e?e:e[t]}
23function L(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function B(e,t,n){let r=e.someProp("scrollThreshold")||0,i=e.someProp("scrollMargin")||5,a=e.dom.ownerDocument;for(let o=n||e.dom;o;){if(1!=o.nodeType){o=l(o);continue}let e=o,n=e==a.body,s=n?V(a):L(e),c=0,u=0;if(t.top<s.top+P(r,"top")?u=-(s.top-t.top+P(i,"top")):t.bottom>s.bottom-P(r,"bottom")&&(u=t.bottom-t.top>s.bottom-s.top?t.top+P(i,"top")-s.top:t.bottom-s.bottom+P(i,"bottom")),t.left<s.left+P(r,"left")?c=-(s.left-t.left+P(i,"left")):t.right>s.right-P(r,"right")&&(c=t.right-s.right+P(i,"right")),c||u)if(n)a.defaultView.scrollBy(c,u);else{let n=e.scrollLeft,r=e.scrollTop;u&&(e.scrollTop+=u),c&&(e.scrollLeft+=c);let i=e.scrollLeft-n,a=e.scrollTop-r;t={left:t.left-i,top:t.top-a,right:t.right-i,bottom:t.bottom-a}}let d=n?"fixed":getComputedStyle(o).position;if(/^(fixed|sticky)$/.test(d))break;o="absolute"==d?o.offsetParent:l(o)}}function H(e){let t=[],n=e.ownerDocument;for(let r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=l(r));return t}function W(e,t){for(let n=0;n<e.length;n++){let{dom:r,top:i,left:a}=e[n];r.scrollTop!=i+t&&(r.scrollTop=i+t),r.scrollLeft!=a&&(r.scrollLeft=a)}}let z=null;function Y(e,t){let n,r,i,a,o=2e8,s=0,l=t.top,c=t.top;for(let d=e.firstChild,p=0;d;d=d.nextSibling,p++){let e;if(1==d.nodeType)e=d.getClientRects();else{if(3!=d.nodeType)continue;e=u(d).getClientRects()}for(let u=0;u<e.length;u++){let f=e[u];if(f.top<=l&&f.bottom>=c){l=Math.max(f.bottom,l),c=Math.min(f.top,c);let e=f.left>t.left?f.left-t.left:f.right<t.left?t.left-f.right:0;if(e<o){n=d,o=e,r=e&&3==n.nodeType?{left:f.right<t.left?f.right:f.left,top:t.top}:t,1==d.nodeType&&e&&(s=p+(t.left>=(f.left+f.right)/2?1:0));continue}}else f.top>t.top&&!i&&f.left<=t.left&&f.right>=t.left&&(i=d,a={left:Math.max(f.left,Math.min(f.right,t.left)),top:f.top});!n&&(t.left>=f.right&&t.top>=f.top||t.left>=f.left&&t.top>=f.bottom)&&(s=p+1)}}return!n&&i&&(n=i,r=a,o=0),n&&3==n.nodeType?function(e,t){let n,r=e.nodeValue.length,i=document.createRange();for(let a=0;a<r;a++){i.setEnd(e,a+1),i.setStart(e,a);let r=J(i,1);if(r.top!=r.bottom&&U(t,r)){n={node:e,offset:a+(t.left>=(r.left+r.right)/2?1:0)};break}}return i.detach(),n||{node:e,offset:0}}(n,r):!n||o&&1==n.nodeType?{node:e,offset:s}:Y(n,r)}function U(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function X(e,t,n){let r=e.childNodes.length;if(r&&n.top<n.bottom)for(let i=Math.max(0,Math.min(r-1,Math.floor(r*(t.top-n.top)/(n.bottom-n.top))-2)),a=i;;){let n=e.childNodes[a];if(1==n.nodeType){let e=n.getClientRects();for(let r=0;r<e.length;r++){let i=e[r];if(U(t,i))return X(n,t,i)}}if((a=(a+1)%r)==i)break}return e}function G(e,t){let n,r=e.dom.ownerDocument,i=0,a=function(e,t,n){if(e.caretPositionFromPoint)try{let r=e.caretPositionFromPoint(t,n);if(r)return{node:r.offsetNode,offset:Math.min(h(r.offsetNode),r.offset)}}catch(r){}if(e.caretRangeFromPoint){let r=e.caretRangeFromPoint(t,n);if(r)return{node:r.startContainer,offset:Math.min(h(r.startContainer),r.startOffset)}}}(r,t.left,t.top);a&&({node:n,offset:i}=a);let o,s=(e.root.elementFromPoint?e.root:r).elementFromPoint(t.left,t.top);if(!s||!e.dom.contains(1!=s.nodeType?s.parentNode:s)){let n=e.dom.getBoundingClientRect();if(!U(t,n))return null;if(s=X(e.dom,t,n),!s)return null}if(R)for(let u=s;n&&u;u=l(u))u.draggable&&(n=void 0);if(s=function(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}(s,t),n){if(E&&1==n.nodeType&&(i=Math.min(i,n.childNodes.length),i<n.childNodes.length)){let e,r=n.childNodes[i];"IMG"==r.nodeName&&(e=r.getBoundingClientRect()).right<=t.left&&e.bottom>t.top&&i++}let r;F&&i&&1==n.nodeType&&1==(r=n.childNodes[i-1]).nodeType&&"false"==r.contentEditable&&r.getBoundingClientRect().top>=t.top&&i--,n==e.dom&&i==n.childNodes.length-1&&1==n.lastChild.nodeType&&t.top>n.lastChild.getBoundingClientRect().bottom?o=e.state.doc.content.size:0!=i&&1==n.nodeType&&"BR"==n.childNodes[i-1].nodeName||(o=function(e,t,n,r){let i=-1;for(let a=t,o=!1;a!=e.dom;){let t,n=e.docView.nearestDesc(a,!0);if(!n)return null;if(1==n.dom.nodeType&&(n.node.isBlock&&n.parent||!n.contentDOM)&&((t=n.dom.getBoundingClientRect()).width||t.height)&&(n.node.isBlock&&n.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(n.dom.nodeName)&&(!o&&t.left>r.left||t.top>
23r.top?i=n.posBefore:(!o&&t.right<r.left||t.bottom<r.top)&&(i=n.posAfter),o=!0),!n.contentDOM&&i<0&&!n.node.isText))return(n.node.isBlock?r.top<(t.top+t.bottom)/2:r.left<(t.left+t.right)/2)?n.posBefore:n.posAfter;a=n.dom.parentNode}return i>-1?i:e.docView.posFromDOM(t,n,-1)}(e,n,i,t))}null==o&&(o=function(e,t,n){let{node:r,offset:i}=Y(t,n),a=-1;if(1==r.nodeType&&!r.firstChild){let e=r.getBoundingClientRect();a=e.left!=e.right&&n.left>(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(r,i,a)}(e,s,t));let c=e.docView.nearestDesc(s,!0);return{pos:o,inside:c?c.posAtStart-c.border:-1}}function q(e){return e.top<e.bottom||e.left<e.right}function J(e,t){let n=e.getClientRects();if(n.length){let e=n[t<0?0:n.length-1];if(q(e))return e}return Array.prototype.find.call(n,q)||e.getBoundingClientRect()}const $=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function K(e,t,n){let{node:r,offset:i,atom:a}=e.docView.domFromPos(t,n<0?-1:1),o=F||E;if(3==r.nodeType){if(!o||!$.test(r.nodeValue)&&(n<0?i:i!=r.nodeValue.length)){let e=i,t=i,a=n<0?1:-1;return n<0&&!i?(t++,a=-1):n>=0&&i==r.nodeValue.length?(e--,a=1):n<0?e--:t++,Z(J(u(r,e,t),a),a<0)}{let e=J(u(r,i,i),n);if(E&&i&&/\s/.test(r.nodeValue[i-1])&&i<r.nodeValue.length){let t=J(u(r,i-1,i-1),-1);if(t.top==e.top){let n=J(u(r,i,i+1),-1);if(n.top!=e.top)return Z(n,n.left<t.left)}}return e}}if(!e.state.doc.resolve(t-(a||0)).parent.inlineContent){if(null==a&&i&&(n<0||i==h(r))){let e=r.childNodes[i-1];if(1==e.nodeType)return Q(e.getBoundingClientRect(),!1)}if(null==a&&i<h(r)){let e=r.childNodes[i];if(1==e.nodeType)return Q(e.getBoundingClientRect(),!0)}return Q(r.getBoundingClientRect(),n>=0)}if(null==a&&i&&(n<0||i==h(r))){let e=r.childNodes[i-1],t=3==e.nodeType?u(e,h(e)-(o?0:1)):1!=e.nodeType||"BR"==e.nodeName&&e.nextSibling?null:e;if(t)return Z(J(t,1),!1)}if(null==a&&i<h(r)){let e=r.childNodes[i];for(;e.pmViewDesc&&e.pmViewDesc.ignoreForCoords;)e=e.nextSibling;let t=e?3==e.nodeType?u(e,0,o?0:1):1==e.nodeType?e:null:null;if(t)return Z(J(t,-1),!0)}return Z(J(3==r.nodeType?u(r):r,-n),n>=0)}function Z(e,t){if(0==e.width)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function Q(e,t){if(0==e.height)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function ee(e,t,n){let r=e.state,i=e.root.activeElement;r!=t&&e.updateState(t),i!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),i!=e.dom&&i&&i.focus()}}const te=/[\u0590-\u08ac]/;let ne=null,re=null,ie=!1;function ae(e,t,n){return ne==t&&re==n?ie:(ne=t,re=n,ie="up"==n||"down"==n?function(e,t,n){let r=t.selection,i="up"==n?r.$from:r.$to;return ee(e,t,()=>{let{node:t}=e.docView.domFromPos(i.pos,"up"==n?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.contentDOM||n.dom;break}t=n.dom.parentNode}let r=K(e,i.pos,1);for(let e=t.firstChild;e;e=e.nextSibling){let t;if(1==e.nodeType)t=e.getClientRects();else{if(3!=e.nodeType)continue;t=u(e,0,e.nodeValue.length).getClientRects()}for(let e=0;e<t.length;e++){let i=t[e];if(i.bottom>i.top+1&&("up"==n?r.top-i.top>2*(i.bottom-r.top):i.bottom-r.bottom>2*(r.bottom-i.top)))return!1}}return!0})}(e,t,n):function(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,a=!i,o=i==r.parent.content.size,s=e.domSelection();return s?te.test(r.parent.textContent)&&s.modify?ee(e,t,()=>{let{focusNode:t,focusOffset:i,anchorNode:a,anchorOffset:o}=e.domSelectionRange(),l=s.caretBidiLevel;s.modify("move",n,"character");let c=r.depth?e.docView.domAfterPos(r.before()):e.dom,{focusNode:u,focusOffset:d}=e.domSelectionRange(),p=u&&!c.contains(1==u.nodeType?u:u.parentNode)||t==u&&i==d;try{s.collapse(a,o),t&&(t!=a||i!=o)&&s.extend&&s.extend(t,i)}catch(f){}return null!=l&&(s.caretBidiLevel=l),p}):"left"==n||"backward"==n?a:o:r.pos==r.start()||r.pos==r.end()}(e,t,n))}class oe{constructor(e,t,n,r){this.parent=e,this.children=t,this.dom=n,this.contentDOM=r,this.dirty=0,n.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,n){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;t<this.children.length;t++)e+=this.children[t].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let t=0,n=this.posAtStart;;t++){let r=this.children[t];if(r==e)return n;n+=r.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,t,n){if(this.contentDOM&&this.contentDOM.contains(1==e.nodeType?e:e.parentNode)){if(n<0){let n,r;if(e==this.contentDOM)n=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.previousSibling}for(;n&&(!(r=n.pmViewDesc)||r.parent!=this);)n=n.previousSibling;return n?this.posBeforeChild(r)+r.size:this.posAtStart}{let n,r;if(e==this.contentDOM)n=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.nextSibling}for(;n&&(!(r=n.pmViewDesc)||r.parent!=this);)n=n.nextSibling;return n?this.posBeforeChild(r):this.posAtEnd}}let r;if(e==this.dom&&this.contentDOM)r=t>s(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!1;break}if(t.previousSibling)break}if(null==r&&t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!0;break}if(t.nextSibling)break}}return(null==r?n>0:r)?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let n=!0,r=e;r;r=r.parentNode){let i,a=this.getDesc(r);
23if(a&&(!t||a.node)){if(!n||!(i=a.nodeDOM)||(1==i.nodeType?i.contains(1==e.nodeType?e:e.parentNode):i==e))return a;n=!1}}}getDesc(e){let t=e.pmViewDesc;for(let n=t;n;n=n.parent)if(n==this)return t}posFromDOM(e,t,n){for(let r=e;r;r=r.parentNode){let i=this.getDesc(r);if(i)return i.localPosFromDOM(e,t,n)}return-1}descAt(e){for(let t=0,n=0;t<this.children.length;t++){let r=this.children[t],i=n+r.size;if(n==e&&i!=n){for(;!r.border&&r.children.length;)for(let e=0;e<r.children.length;e++){let t=r.children[e];if(t.size){r=t;break}}return r}if(e<i)return r.descAt(e-n-r.border);n=i}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let n=0,r=0;for(let i=0;n<this.children.length;n++){let t=this.children[n],a=i+t.size;if(a>e||t instanceof fe){r=e-i;break}i=a}if(r)return this.children[n].domFromPos(r-this.children[n].border,t);for(let i;n&&!(i=this.children[n-1]).size&&i instanceof se&&i.side>=0;n--);if(t<=0){let e,r=!0;for(;e=n?this.children[n-1]:null,e&&e.dom.parentNode!=this.contentDOM;n--,r=!1);return e&&t&&r&&!e.border&&!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?s(e.dom)+1:0}}{let e,r=!0;for(;e=n<this.children.length?this.children[n]:null,e&&e.dom.parentNode!=this.contentDOM;n++,r=!1);return e&&r&&!e.border&&!e.domAtom?e.domFromPos(0,t):{node:this.contentDOM,offset:e?s(e.dom):this.contentDOM.childNodes.length}}}parseRange(e,t,n=0){if(0==this.children.length)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let r=-1,i=-1;for(let a=n,o=0;;o++){let n=this.children[o],l=a+n.size;if(-1==r&&e<=l){let i=a+n.border;if(e>=i&&t<=l-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,i);e=a;for(let t=o;t>0;t--){let n=this.children[t-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){r=s(n.dom)+1;break}e-=n.size}-1==r&&(r=0)}if(r>-1&&(l>t||o==this.children.length-1)){t=l;for(let e=o+1;e<this.children.length;e++){let n=this.children[e];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(-1)){i=s(n.dom);break}t+=n.size}-1==i&&(i=this.contentDOM.childNodes.length);break}a=l}return{node:this.contentDOM,from:e,to:t,fromOffset:r,toOffset:i}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let t=this.children[e<0?0:this.children.length-1];return 0==t.size||t.emptyChildAt(e)}domAfterPos(e){let{node:t,offset:n}=this.domFromPos(e,0);if(1!=t.nodeType||n==t.childNodes.length)throw new RangeError("No node after pos "+e);return t.childNodes[n]}setSelection(e,t,n,r=!1){let i=Math.min(e,t),a=Math.max(e,t);for(let s=0,d=0;s<this.children.length;s++){let o=this.children[s],l=d+o.size;if(i>d&&a<l)return o.setSelection(e-d-o.border,t-d-o.border,n,r);d=l}let o=this.domFromPos(e,e?-1:1),l=t==e?o:this.domFromPos(t,t?-1:1),c=n.root.getSelection(),u=n.domSelectionRange(),p=!1;if((E||R)&&e==t){let{node:e,offset:t}=o;if(3==e.nodeType){if(p=!(!t||"\n"!=e.nodeValue[t-1]),p&&t==e.nodeValue.length)for(let n,r=e;r;r=r.parentNode){if(n=r.nextSibling){"BR"==n.nodeName&&(o=l={node:n.parentNode,offset:s(n)+1});break}let e=r.pmViewDesc;if(e&&e.node&&e.node.isBlock)break}}else{let n=e.childNodes[t-1];p=n&&("BR"==n.nodeName||"false"==n.contentEditable)}}if(E&&u.focusNode&&u.focusNode!=l.node&&1==u.focusNode.nodeType){let e=u.focusNode.childNodes[u.focusOffset];e&&"false"==e.contentEditable&&(r=!0)}if(!(r||p&&R)&&d(o.node,o.offset,u.anchorNode,u.anchorOffset)&&d(l.node,l.offset,u.focusNode,u.focusOffset))return;let f=!1;if((c.extend||e==t)&&(!p||!E)){c.collapse(o.node,o.offset);try{e!=t&&c.extend(l.node,l.offset),f=!0}catch(h){}}if(!f){if(e>t){let e=o;o=l,l=e}let n=document.createRange();n.setEnd(l.node,l.offset),n.setStart(o.node,o.offset),c.removeAllRanges(),c.addRange(n)}}ignoreMutation(e){return!this.contentDOM&&"selection"!=e.type}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let n=0,r=0;r<this.children.length;r++){let i=this.children[r],a=n+i.size;if(n==a?e<=a&&t>=n:e<a&&t>n){let r=n+i.border,o=a-i.border;if(e>=r&&t<=o)return this.dirty=e==n||t==a?2:1,void(e!=r||t!=o||!i.contentLost&&i.dom.parentNode==this.contentDOM?i.markDirty(e-r,t-r):i.dirty=3);i.dirty=i.dom!=i.contentDOM||i.dom.parentNode!=this.contentDOM||i.children.length?3:2}n=a}this.dirty=2}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=1==e?2:1;t.dirty<n&&(t.dirty=n)}}get domAtom(){return!1}get ignoreForCoords(){return!1}get ignoreForSelection(){return!1}isText(e){return!1}}class se extends oe{constructor(e,t,n,r){let i,a=t.type.toDOM;if("function"==typeof a&&(a=a(n,()=>i?i.parent?i.parent.posBeforeChild(i):void 0:r)),!t.type.spec.raw){if(1!=a.nodeType){let e=document.createElement("span");e.appendChild(a),a=e}a.contentEditable="false",a.classList.add("ProseMirror-widget")}super(e,[],a,null),this.widget=t,this.widget=t,i=this}matchesWidget(e){return 0==this.dirty&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return!!t&&t(e)}ignoreMutation(e){return"selection"!=e.type||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}}class le extends oe{constructor(e,t,n,r){super(e,[],t,null),this.textDOM=n,this.text=r}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return"characterData"===e.type&&e.target.nodeValue==e.oldValue}}class ce extends oe{constructor(e,t,n,r,i){super(e,[],n,r),this.mark=t,this.spec=i}
23static create(e,t,n,r){let i=r.nodeViews[t.type.name],o=i&&i(t,r,n);return o&&o.dom||(o=a.DOMSerializer.renderSpec(document,t.type.spec.toDOM(t,n),null,t.attrs)),new ce(e,t,o.dom,o.contentDOM||o.dom,o)}parseRule(){return 3&this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return 3!=this.dirty&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),0!=this.dirty){let e=this.parent;for(;!e.node;)e=e.parent;e.dirty<this.dirty&&(e.dirty=this.dirty),this.dirty=0}}slice(e,t,n){let r=ce.create(this.parent,this.mark,!0,n),i=this.children,a=this.size;t<a&&(i=Ee(i,t,a,n)),e>0&&(i=Ee(i,0,e,n));for(let o=0;o<i.length;o++)i[o].parent=r;return r.children=i,r}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}}class ue extends oe{constructor(e,t,n,r,i,a,o,s,l){super(e,[],i,a),this.node=t,this.outerDeco=n,this.innerDeco=r,this.nodeDOM=o}static create(e,t,n,r,i,o){let s,l=i.nodeViews[t.type.name],c=l&&l(t,i,(
23)=>s?s.parent?s.parent.posBeforeChild(s):void 0:o,n,r),u=c&&c.dom,d=c&&c.contentDOM;if(t.isText)if(u){if(3!=u.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else u=document.createTextNode(t.text);else if(!u){let e=a.DOMSerializer.renderSpec(document,t.type.spec.toDOM(t),null,t.attrs);({dom:u,contentDOM:d}=e)}d||t.isText||"BR"==u.nodeName||(u.hasAttribute("contenteditable")||(u.contentEditable="false"),t.type.spec.draggable&&(u.draggable=!0));let p=u;return u=we(u,n,t),c?s=new he(e,t,n,r,u,d||null,p,c,i,o+1):t.isText?new pe(e,t,n,r,u,p,i):new ue(e,t,n,r,u,d||null,p,i,o+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(e.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let t=this.children.length-1;t>=0;t--){let n=this.children[t];if(this.dom.contains(n.dom.parentNode)){e.contentElement=n.dom.parentNode;break}}e.contentElement||(e.getContent=()=>a.Fragment.empty)}else e.contentElement=this.contentDOM;else e.getContent=()=>this.node.content;return e}matchesNode(e,t,n){return 0==this.dirty&&e.eq(this.node)&&ke(t,this.outerDeco)&&n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let n=this.node.inlineContent,r=t,i=e.composing?this.localCompositionInfo(e,t):null,o=i&&i.pos>-1?i:null,s=i&&i.pos<0,l=new xe(this,o&&o.node,e);!function(e,t,n,r){let i=t.locals(e),a=0;if(0==i.length){for(let n=0;n<e.childCount;n++){let o=e.child(n);r(o,i,t.forChild(a,o),n),a+=o.nodeSize}return}let o=0,s=[],l=null;for(let c=0;;){let u,d,p,f;for(;o<i.length&&i[o].to==a;){let e=i[o++];e.widget&&(u?(d||(d=[u])).push(e):u=e)}if(u)if(d){d.sort(Ce);for(let e=0;e<d.length;e++)n(d[e],c,!!l)}else n(u,c,!!l);if(l)f=-1,p=l,l=null;else{if(!(c<e.childCount))break;f=c,p=e.child(c++)}for(let e=0;e<s.length;e++)s[e].to<=a&&s.splice(e--,1);for(;o<i.length&&i[o].from<=a&&i[o].to>a;)s.push(i[o++]);let h=a+p.nodeSize;if(p.isText){let e=h;o<i.length&&i[o].from<e&&(e=i[o].from);for(let t=0;t<s.length;t++)s[t].to<e&&(e=s[t].to);e<h&&(l=p.cut(e-a),p=p.cut(0,e-a),h=e,f=-1)}else for(;o<i.length&&i[o].to<h;)o++;r(p,p.isInline&&!p.isLeaf?s.filter(e=>!e.inline):s.slice(),t.forChild(a,p),f),a=h}}(this.node,this.innerDeco,(t,i,o)=>{t.spec.marks?l.syncToMarks(t.spec.marks,n,e,i):t.type.side>=0&&!o&&l.syncToMarks(i==this.node.childCount?a.Mark.none:this.node.child(i).marks,n,e,i),l.placeWidget(t,e,r)},(t,a,o,c)=>{let u;l.syncToMarks(t.marks,n,e,c),l.findNodeMatch(t,a,o,c)||s&&e.state.selection.from>r&&e.state.selection.to<r+t.nodeSize&&(u=l.findIndexWithChild(i.node))>-1&&l.updateNodeAt(t,a,o,u,e)||l.updateNextNode(t,a,o,e,c,r)||l.addNode(t,a,o,e,r),r+=t.nodeSize}),l.syncToMarks([],n,e,0),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||2==this.dirty)&&(o&&this.protectLocalComposition(e,o),me(this.contentDOM,this.children,e),O&&function(e){if("UL"==e.nodeName||"OL"==e.nodeName){let t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}(this.dom))}localCompositionInfo(e,t){let{from:n,to:r}=e.state.selection;if(!(e.state.selection instanceof i.TextSelection)||n<t||r>t+this.node.content.size)return null;let a=e.input.compositionNode;if(!a||!this.dom.contains(a.parentNode))return null;if(this.node.inlineContent){let e=a.nodeValue,i=function(e,t,n,r){for(let i=0,a=0;i<e.childCount&&a<=r;){let o=e.child(i++),s=a;if(a+=o.nodeSize,!o.isText)continue;let l=o.text;for(;i<e.childCount;){let t=e.child(i++);if(a+=t.nodeSize,!t.isText)break;l+=t.text}if(a>=n){if(a>=r&&l.slice(r-t.length-s,r-s)==t)return r-t.length;let e=s<r?l.lastIndexOf(t,r-s-1):-1;if(e>=0&&e+t.length+s>=n)return s+e;if(n==r&&l.length>=r+t.length-s&&l.slice(r-s,r-s+t.length)==t)return r}}return-1}(this.node.content,e,n-t,r-t);return i<0?null:{node:a,pos:i,text:e}}return{node:a,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:n,text:r}){if(this.getDesc(t))return;let i=t;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let a=new le(this,i,t,r);e.input.compositionNodes.push(a),this.children=Ee(this.children,n,n+r.length,e,a)}update(e,t,n,r){return!(3==this.dirty||!e.sameMarkup(this.node))&&(this.updateInner(e,t,n,r),!0)}updateInner(e,t,n,r){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=0}updateOuterDeco(e){if(ke(e,this.outerDeco))return;let t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=be(this.dom,this.nodeDOM,ve(this.outerDeco,this.node,t),ve(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){1==this.nodeDOM.nodeType&&(this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||(this.nodeDOM.draggable=!0))}deselectNode(){1==this.nodeDOM.nodeType&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||this.nodeDOM.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function de(e,t,n,r,i){we(r,t,e);let a=new ue(void 0,e,t,n,r,r,r,i,0);return a.contentDOM&&a.updateChildren(i,0),a}class pe extends ue{constructor(e,t,n,r,i,a,o){super(e,t,n,r,i,null,a,o,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,n,r){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!e.sameMarkup(this.node))&&(this.updateOuterDeco(t),0==this.dirty&&e.text==this.node.text||e.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=e.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=e,this.dirty=0,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return"characterData"!=e.type&&"selection"!=e.type}slice(e,t,n){let r=this.node.cut(e,t),i=document.createTextNode(r.text);return new pe(this.parent,r,this.outerDeco,this.innerDeco,i,i,n)}markDirty(e,t){super.markDirty(e,t),this.dom==this.nodeDOM||0!=e&&t!=this.nodeDOM.nodeValue.length||(this.dirty=3)}get domAtom(){return!1}isText(e){return this.node.text==e}}class fe extends oe{parseRule(){return{ignore:!0}}matchesHack(e){return 0==this.dirty&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class he extends ue{constructor(e,t,n,r,i,a,o,s,l,c){super(e,t,n,r,i,a,o,l,c),this.spec=s}update(e,t,n,r){if(3==this.dirty)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let i=this.spec.update(e,t,n);return i&&this.updateInner(e,t,n,r),i}return!(!this.contentDOM&&!e.isLeaf)&&super.update(e,t,n,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,r){this.spec.setSelection?this.spec.setSelection(e,t,n.root):super.setSelection(e,t,n,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function me(e,t,n){let r=e.firstChild,i=!1;for(let a=0;a<t.length;a++){let o=t[a],s=o.dom;if(s.parentNode==e){for(;s!=r;)r=Se(r),i=!0;r=r.nextSibling}else i=!0,e.insertBefore(s,r);if(o instanceof ce){let t=r?r.previousSibling:e.lastChild;me(o.contentDOM,o.children,n),r=t?t.nextSibling:e.firstChild}}for(;r;)r=Se(r),i=!0;i&&n.trackWrites==e&&(n.trackWrites=null)}const ge=function(e){e&&(this.nodeName=e)};ge.prototype=Object.create(null);const ye=[new ge];function ve(e,t,n){if(0==e.length)return ye;let r=n?ye[0]:new ge,i=[r];for(let a=0;a<e.length;a++){let o=e[a].type.attrs;if(o){o.nodeName&&i.push(r=new ge(o.nodeName));for(let e in o){let a=o[e];
23null!=a&&(n&&1==i.length&&i.push(r=new ge(t.isInline?"span":"div")),"class"==e?r.class=(r.class?r.class+" ":"")+a:"style"==e?r.style=(r.style?r.style+";":"")+a:"nodeName"!=e&&(r[e]=a))}}}return i}function be(e,t,n,r){if(n==ye&&r==ye)return t;let i=t;for(let a=0;a<r.length;a++){let t=r[a],o=n[a];if(a){let n;o&&o.nodeName==t.nodeName&&i!=e&&(n=i.parentNode)&&n.nodeName.toLowerCase()==t.nodeName||(n=document.createElement(t.nodeName),n.pmIsDeco=!0,n.appendChild(i),o=ye[0]),i=n}_e(i,o||ye[0],t)}return i}function _e(e,t,n){for(let r in t)"class"==r||"style"==r||"nodeName"==r||r in n||e.removeAttribute(r);for(let r in n)"class"!=r&&"style"!=r&&"nodeName"!=r&&n[r]!=t[r]&&e.setAttribute(r,n[r]);if(t.class!=n.class){let r=t.class?t.class.split(" ").filter(Boolean):[],i=n.class?n.class.split(" ").filter(Boolean):[];for(let t=0;t<r.length;t++)-1==i.indexOf(r[t])&&e.classList.remove(r[t]);for(let t=0;t<i.length;t++)-1==r.indexOf(i[t])&&e.classList.add(i[t]);0==e.classList.length&&e.removeAttribute("class")}if(t.style!=n.style){if(t.style){let n,r=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g;for(;n=r.exec(t.style);)e.style.removeProperty(n[1])}n.style&&(e.style.cssText+=n.style)}}function we(e,t,n){return be(e,e,ye,ve(t,n,1!=e.nodeType))}function ke(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function Se(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class xe{constructor(e,t,n){this.lock=t,this.view=n,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=function(e,t){let n=t,r=n.children.length,i=e.childCount,a=new Map,o=[];e:for(;i>0;){let s;for(;;)if(r){let e=n.children[r-1];if(!(e instanceof ce)){s=e,r--;break}n=e,r=e.children.length}else{if(n==t)break e;r=n.parent.children.indexOf(n),n=n.parent}let l=s.node;if(l){if(l!=e.child(i-1))break;--i,a.set(s,i),o.push(s)}}return{index:i,matched:a,matches:o.reverse()}}(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let n=e;n<t;n++)this.top.children[n].destroy();this.top.children.splice(e,t-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,t,n,r){let i=0,a=this.stack.length>>1,o=Math.min(a,e.length);for(;i<o&&(i==a-1?this.top:this.stack[i+1<<1]).matchesMark(e[i])&&!1!==e[i].type.spec.spanning;)i++;for(;i<a;)this.destroyRest(),this.top.dirty=0,this.index=this.stack.pop(),this.top=this.stack.pop(),a--;for(;a<e.length;){this.stack.push(this.top,this.index+1);let i=-1,o=this.top.children.length;r<this.preMatch.index&&(o=Math.min(this.index+3,o));for(let t=this.index;t<o;t++){let n=this.top.children[t];if(n.matchesMark(e[a])&&!this.isLocked(n.dom)){i=t;break}}if(i>-1)i>this.index&&(this.changed=!0,this.destroyBetween(this.index,i)),this.top=this.top.children[this.index];else{let r=ce.create(this.top,e[a],t,n);this.top.children.splice(this.index,0,r),this.top=r,this.changed=!0}this.index=0,a++}}findNodeMatch(e,t,n,r){let i,a=-1;if(r>=this.preMatch.index&&(i=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&i.matchesNode(e,t,n))a=this.top.children.indexOf(i,this.index);else for(let o=this.index,s=Math.min(this.top.children.length,o+5);o<s;o++){let r=this.top.children[o];if(r.matchesNode(e,t,n)&&!this.preMatch.matched.has(r)){a=o;break}}return!(a<0)&&(this.destroyBetween(this.index,a),this.index++,!0)}updateNodeAt(e,t,n,r,i){let a=this.top.children[r];return 3==a.dirty&&a.dom==a.contentDOM&&(a.dirty=2),!!a.update(e,t,n,i)&&(this.destroyBetween(this.index,r),this.index++,!0)}findIndexWithChild(e){for(;;){let t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){let t=e.pmViewDesc;if(t)for(let e=this.index;e<this.top.children.length;e++)if(this.top.children[e]==t)return e;return-1}e=t}}updateNextNode(e,t,n,r,i,a){for(let o=this.index;o<this.top.children.length;o++){let s=this.top.children[o];if(s instanceof ue){let l=this.preMatch.matched.get(s);if(null!=l&&l!=i)return!1;let c,u=s.dom,d=this.isLocked(u)&&!(e.isText&&s.node&&s.node.isText&&s.nodeDOM.nodeValue==e.text&&3!=s.dirty&&ke(t,s.outerDeco));if(!d&&s.update(e,t,n,r))return this.destroyBetween(this.index,o),s.dom!=u&&(this.changed=!0),this.index++,!0;if(!d&&(c=this.recreateWrapper(s,e,t,n,r,a)))return this.destroyBetween(this.index,o),this.top.children[this.index]=c,c.contentDOM&&(c.dirty=2,c.updateChildren(r,a+1),c.dirty=0),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,n,r,i,a){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content)||!ke(n,e.outerDeco)||!r.eq(e.innerDeco))return null;let o=ue.create(this.top,t,n,r,i,a);if(o.contentDOM){o.children=e.children,e.children=[];for(let e of o.children)e.parent=o}return e.destroy(),o}addNode(e,t,n,r,i){let a=ue.create(this.top,e,t,n,r,i);a.contentDOM&&a.updateChildren(r,i+1),this.top.children.splice(this.index++,0,a),this.changed=!0}placeWidget(e,t,n){let r=this.index<this.top.children.length?this.top.children[this.index]:null;if(!r||!r.matchesWidget(e)||e!=r.widget&&r.widget.type.toDOM.parentNode){let r=new se(this.top,e,t,n);this.top.children.splice(this.index++,0,r),this.changed=!0}else this.index++}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof ce;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof pe)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((R||T)&&e&&"false"==e.dom.contentEditable&&this.addHackNode("IMG",t),this.addHackNode("BR",this.top))}addHackNode(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{let n=document.createElement(e);"IMG"==e&&(n.className="ProseMirror-separator",n.alt=""),"BR"==e&&(n.className="ProseMirror-trailingBreak");let r=new fe(this.top,[],n,null);t!=this.top?t.children.push(r):t.children.splice(this.index++,0,r),this.changed=!0}}
23isLocked(e){return this.lock&&(e==this.lock||1==e.nodeType&&e.contains(this.lock.parentNode))}}function Ce(e,t){return e.type.side-t.type.side}function Ee(e,t,n,r,i){let a=[];for(let o=0,s=0;o<e.length;o++){let l=e[o],c=s,u=s+=l.size;c>=n||u<=t?a.push(l):(c<t&&a.push(l.slice(0,t-c,r)),i&&(a.push(i),i=void 0),u>n&&a.push(l.slice(n-c,l.size,r)))}return a}function Ae(e,t=null){let n=e.domSelectionRange(),r=e.state.doc;if(!n.focusNode)return null;let a=e.docView.nearestDesc(n.focusNode),o=a&&0==a.size,l=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(l<0)return null;let c,u,d=r.resolve(l);if(g(n)){for(c=l;a&&!a.node;)a=a.parent;let e=a.node;if(a&&e.isAtom&&i.NodeSelection.isSelectable(e)&&a.parent&&(!e.isInline||!function(e,t,n){for(let r=0==t,i=t==h(e);r||i;){if(e==n)return!0;let t=s(e);if(!(e=e.parentNode))return!1;r=r&&0==t,i=i&&t==h(e)}}(n.focusNode,n.focusOffset,a.dom))){let e=a.posBefore;u=new i.NodeSelection(l==e?d:r.resolve(e))}}else{if(n instanceof e.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let t=l,i=l;for(let r=0;r<n.rangeCount;r++){let a=n.getRangeAt(r);t=Math.min(t,e.docView.posFromDOM(a.startContainer,a.startOffset,1)),i=Math.max(i,e.docView.posFromDOM(a.endContainer,a.endOffset,-1))}if(t<0)return null;[c,l]=i==e.state.selection.anchor?[i,t]:[t,i],d=r.resolve(l)}else c=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(c<0)return null}let p=r.resolve(c);if(!u){u=Me(e,p,d,"pointer"==t||e.state.selection.head<d.pos&&!o?1:-1)}return u}function Te(e){return e.editable?e.hasFocus():Pe(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function Ie(e,t=!1){let n=e.state.selection;if(je(e,n),Te(e)){if(!t&&e.input.mouseDown&&e.input.mouseDown.allowDefault&&T){let t=e.domSelectionRange(),n=e.domObserver.currentSelection;if(t.anchorNode&&n.anchorNode&&d(t.anchorNode,t.anchorOffset,n.anchorNode,n.anchorOffset))return e.input.mouseDown.delayedSelectionSync=!0,void e.domObserver.setCurSelection()}if(e.domObserver.disconnectSelection(),e.cursorWrapper)!function(e){let t=e.domSelection();if(!t)return;let n=e.cursorWrapper.dom,r="IMG"==n.nodeName;r?t.collapse(n.parentNode,s(n)+1):t.collapse(n,0);!r&&!e.state.selection.visible&&x&&C<=11&&(n.disabled=!0,n.disabled=!1)}(e);else{let r,a,{anchor:o,head:s}=n;!Re||n instanceof i.TextSelection||(n.$from.parent.inlineContent||(r=Oe(e,n.from)),n.empty||n.$from.parent.inlineContent||(a=Oe(e,n.to))),e.docView.setSelection(o,s,e,t),Re&&(r&&Ne(r),a&&Ne(a)),n.visible?e.dom.classList.remove("ProseMirror-hideselection"):(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&function(e){let t=e.dom.ownerDocument;t.removeEventListener("selectionchange",e.input.hideSelectionGuard);let n=e.domSelectionRange(),r=n.anchorNode,i=n.anchorOffset;t.addEventListener("selectionchange",e.input.hideSelectionGuard=()=>{n.anchorNode==r&&n.anchorOffset==i||(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout(()=>{Te(e)&&!e.state.selection.visible||e.dom.classList.remove("ProseMirror-hideselection")},20))})}(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}const Re=R||T&&I<63;function Oe(e,t){let{node:n,offset:r}=e.docView.domFromPos(t,0),i=r<n.childNodes.length?n.childNodes[r]:null,a=r?n.childNodes[r-1]:null;if(R&&i&&"false"==i.contentEditable)return De(i);if((!i||"false"==i.contentEditable)&&(!a||"false"==a.contentEditable)){if(i)return De(i);if(a)return De(a)}}function De(e){return e.contentEditable="true",R&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function Ne(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function je(e,t){if(t instanceof i.NodeSelection){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(Fe(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else Fe(e)}function Fe(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function Me(e,t,n,r){return e.someProp("createSelectionBetween",r=>r(e,t,n))||i.TextSelection.between(t,n,r)}function Ve(e){return!(e.editable&&!e.hasFocus())&&Pe(e)}function Pe(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(3==t.focusNode.nodeType?t.focu
23sNode.parentNode:t.focusNode))}catch(n){return!1}}function Le(e,t){let{$anchor:n,$head:r}=e.selection,a=t>0?n.max(r):n.min(r),o=a.parent.inlineContent?a.depth?e.doc.resolve(t>0?a.after():a.before()):null:a;return o&&i.Selection.findFrom(o,t)}function Be(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function He(e,t,n){let r=e.state.selection;if(!(r instanceof i.TextSelection)){if(r instanceof i.NodeSelection&&r.node.isInline)return Be(e,new i.TextSelection(t>0?r.$to:r.$from));{let n=Le(e.state,t);return!!n&&Be(e,n)}}if(n.indexOf("s")>-1){let{$head:n}=r,a=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter;if(!a||a.isText||!a.isLeaf)return!1;let o=e.state.doc.resolve(n.pos+a.nodeSize*(t<0?-1:1));return Be(e,new i.TextSelection(r.$anchor,o))}if(!r.empty)return!1;if(e.endOfTextblock(t>0?"forward":"backward")){let n=Le(e.state,t);return!!(n&&n instanceof i.NodeSelection)&&Be(e,n)}if(!(D&&n.indexOf("m")>-1)){let n,a=r.$head,o=a.textOffset?null:t<0?a.nodeBefore:a.nodeAfter;if(!o||o.isText)return!1;let s=t<0?a.pos-o.nodeSize:a.pos;return!!(o.isAtom||(n=e.docView.descAt(s))&&!n.contentDOM)&&(i.NodeSelection.isSelectable(o)?Be(e,new i.NodeSelection(t<0?e.state.doc.resolve(a.pos-o.nodeSize):a)):!!F&&Be(e,new i.TextSelection(e.state.doc.resolve(t<0?s:s+o.nodeSize))))}}function We(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function ze(e,t){let n=e.pmViewDesc;return n&&0==n.size&&(t<0||e.nextSibling||"BR"!=e.nodeName)}function Ye(e,t){return t<0?function(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,a,o=!1;E&&1==n.nodeType&&r<We(n)&&ze(n.childNodes[r],-1)&&(o=!0);for(;;)if(r>0){if(1!=n.nodeType)break;{let e=n.childNodes[r-1];if(ze(e,-1))i=n,a=--r;else{if(3!=e.nodeType)break;n=e,r=n.nodeValue.length}}}else{if(Ue(n))break;{let t=n.previousSibling;for(;t&&ze(t,-1);)i=n.parentNode,a=s(t),t=t.previousSibling;if(t)n=t,r=We(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}}o?Xe(e,n,r):i&&Xe(e,i,a)}(e):function(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,a,o=We(n);for(;;)if(r<o){if(1!=n.nodeType)break;if(!ze(n.childNodes[r],1))break;i=n,a=++r}else{if(Ue(n))break;{let t=n.nextSibling;for(;t&&ze(t,1);)i=t.parentNode,a=s(t)+1,t=t.nextSibling;if(t)n=t,r=0,o=We(n);else{if(n=n.parentNode,n==e.dom)break;r=o=0}}}i&&Xe(e,i,a)}(e)}function Ue(e){let t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function Xe(e,t,n){if(3!=t.nodeType){let e,r;(r=function(e,t){for(;e&&t==e.childNodes.length&&!m(e);)t=s(e)+1,e=e.parentNode;for(;e&&t<e.childNodes.length;){let n=e.childNodes[t];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;e=n,t=0}}(t,n))?(t=r,n=0):(e=function(e,t){for(;e&&!t&&!m(e);)t=s(e),e=e.parentNode;for(;e&&t;){let n=e.childNodes[t-1];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;t=(e=n).childNodes.length}}(t,n))&&(t=e,n=e.nodeValue.length)}let r=e.domSelection();if(!r)return;if(g(r)){let e=document.createRange();e.setEnd(t,n),e.setStart(t,n),r.removeAllRanges(),r.addRange(e)}else r.extend&&r.extend(t,n);e.domObserver.setCurSelection();let{state:i}=e;setTimeout(()=>{e.state==i&&Ie(e)},50)}function Ge(e,t){let n=e.state.doc.resolve(t);if(!T&&!N&&n.parent.inlineContent){let r=e.coordsAtPos(t);if(t>n.start()){let n=e.coordsAtPos(t-1),i=(n.top+n.bottom)/2;if(i>r.top&&i<r.bottom&&Math.abs(n.left-r.left)>1)return n.left<r.left?"ltr":"rtl"}if(t<n.end()){let n=e.coordsAtPos(t+1),i=(n.top+n.bottom)/2;if(i>r.top&&i<r.bottom&&Math.abs(n.left-r.left)>1)return n.left>r.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(e.dom).direction?"rtl":"ltr"}function qe(e,t,n){let r=e.state.selection;if(r instanceof i.TextSelection&&!r.empty||n.indexOf("s")>-1)return!1;if(D&&n.indexOf("m")>-1)return!1;let{$from:a,$to:o}=r;if(!a.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let n=Le(e.state,t);if(n&&n instanceof i.NodeSelection)return Be(e,n)}if(!a.parent.inlineContent){let n=t<0?a:o,s=r instanceof i.AllSelection?i.Selection.near(n,t):i.Selection.findFrom(n,t);return!!s&&Be(e,s)}return!1}function Je(e,t){if(!(e.state.selection instanceof i.TextSelection))return!0;let{$head:n,$anchor:r,empty:a}=e.state.selection;if(!n.sameParent(r))return!0;
23if(!a)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let o=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(o&&!o.isText){let r=e.state.tr;return t<0?r.delete(n.pos-o.nodeSize,n.pos):r.delete(n.pos,n.pos+o.nodeSize),e.dispatch(r),!0}return!1}function $e(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function Ke(e,t){let n=t.keyCode,r=function(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}(t);if(8==n||D&&72==n&&"c"==r)return Je(e,-1)||Ye(e,-1);if(46==n&&!t.shiftKey||D&&68==n&&"c"==r)return Je(e,1)||Ye(e,1);if(13==n||27==n)return!0;if(37==n||D&&66==n&&"c"==r){let t=37==n?"ltr"==Ge(e,e.state.selection.from)?-1:1:-1;return He(e,t,r)||Ye(e,t)}if(39==n||D&&70==n&&"c"==r){let t=39==n?"ltr"==Ge(e,e.state.selection.from)?1:-1:1;return He(e,t,r)||Ye(e,t)}return 38==n||D&&80==n&&"c"==r?qe(e,-1,r)||Ye(e,-1):40==n||D&&78==n&&"c"==r?function(e){if(!R||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&&1==t.nodeType&&0==n&&t.firstChild&&"false"==t.firstChild.contentEditable){let n=t.firstChild;$e(e,n,"true"),setTimeout(()=>$e(e,n,"false"),20)}return!1}(e)||qe(e,1,r)||Ye(e,1):r==(D?"m":"c")&&(66==n||73==n||89==n||90==n)}function Ze(e,t){e.someProp("transformCopied",n=>{t=n(t,e)});let n=[],{content:r,openStart:i,openEnd:o}=t;for(;i>1&&o>1&&1==r.childCount&&1==r.firstChild.childCount;){i--,o--;let e=r.firstChild;n.push(e.type.name,e.attrs!=e.type.defaultAttrs?e.attrs:null),r=e.content}let s=e.someProp("clipboardSerializer")||a.DOMSerializer.fromSchema(e.state.schema),l=lt(),c=l.createElement("div");c.appendChild(s.serializeFragment(r,{document:l}));let u,d=c.firstChild,p=0;for(;d&&1==d.nodeType&&(u=ot[d.nodeName.toLowerCase()]);){for(let e=u.length-1;e>=0;e--){let t=l.createElement(u[e]);for(;c.firstChild;)t.appendChild(c.firstChild);c.appendChild(t),p++}d=c.firstChild}return d&&1==d.nodeType&&d.setAttribute("data-pm-slice",`${i} ${o}${p?` -${p}`:""} ${JSON.stringify(n)}`),{dom:c,text:e.someProp("clipboardTextSerializer",n=>n(t,e))||t.content.textBetween(0,t.content.size,"\n\n"),slice:t}}function Qe(t,n,r,i,o){let s,l,c=o.parent.type.spec.code;if(!r&&!n)return null;let u=!!n&&(i||c||!r);if(u){if(t.someProp("transformPastedText",e=>{n=e(n,c||i,t)}),c)return l=new a.Slice(a.Fragment.from(t.state.schema.text(n.replace(/\r\n?/g,"\n"))),0,0),t.someProp("transformPasted",e=>{l=e(l,t,!0)}),l;let e=t.someProp("clipboardTextParser",e=>e(n,o,i,t));if(e)l=e;else{let e=o.marks(),{schema:r}=t.state,i=a.DOMSerializer.fromSchema(r);s=document.createElement("div"),n.split(/(?:\r\n?|\n)+/).forEach(t=>{let n=s.appendChild(document.createElement("p"));t&&n.appendChild(i.serializeNode(r.text(t,e)))})}}else t.someProp("transformPastedHTML",e=>{r=e(r,t)}),s=function(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n,r=lt().createElement("div"),i=/<([a-z][^>\s]+)/i.exec(e);(n=i&&ot[i[1].toLowerCase()])&&(e=n.map(e=>"<"+e+">").join("")+e+n.map(e=>"</"+e+">").reverse().join(""));if(r.innerHTML=function(e){let t=window.trustedTypes;if(!t)return e;ct||(ct=t.defaultPolicy||t.createPolicy("ProseMirrorClipboard",{createHTML:e=>e}));return ct.createHTML(e)}(e),n)for(let a=0;a<n.length;a++)r=r.querySelector(n[a])||r;return r}(r),F&&function(e){let t=e.querySelectorAll(T?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<t.length;n++){let r=t[n];1==r.childNodes.length&&"\xa0"==r.textContent&&r.parentNode&&r.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),r)}}(s);let d=s&&s.querySelector("[data-pm-slice]"),p=d&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(d.getAttribute("data-pm-slice")||"");if(p&&p[3])for(let e=+p[3];e>0;e--){let e=s.firstChild;for(;e&&1!=e.nodeType;)e=e.nextSibling;if(!e)break;s=e}if(!l){let e=t.someProp("clipboardParser")||t.someProp("domParser")||a.DOMParser.fromSchema(t.state.schema);l=e.parseSlice(s,{preserveWhitespace:!(!u&&!p),context:o,ruleFromNode:e=>"BR"!=e.nodeName||e.nextSibling||!e.parentNode||et.test(e.parentNode.nodeName)?null:{ignore:!0}})}if(p)l=function(t,n){if(!t.size)return t;let r,i=t.content.firstChild.type.schema;try{r=JSON.parse(n)}catch(e){return t}let{content:o,openStart:s,openEnd:l}=t;for(let e=r.length-2;e>=0;
23e-=2){let t=i.nodes[r[e]];if(!t||t.hasRequiredAttrs())break;o=a.Fragment.from(t.create(r[e+1],o)),s++,l++}return new a.Slice(o,s,l)}(at(l,+p[1],+p[2]),p[4]);else if(l=a.Slice.maxOpen(function(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let r,i=t.node(n).contentMatchAt(t.index(n)),o=[];if(e.forEach(e=>{if(!o)return;let t,n=i.findWrapping(e.type);if(!n)return o=null;if(t=o.length&&r.length&&nt(n,r,e,o[o.length-1],0))o[o.length-1]=t;else{o.length&&(o[o.length-1]=rt(o[o.length-1],r.length));let t=tt(e,n);o.push(t),i=i.matchType(t.type),r=n}}),o)return a.Fragment.from(o)}return e}(l.content,o),!0),l.openStart||l.openEnd){let e=0,t=0;for(let n=l.content.firstChild;e<l.openStart&&!n.type.spec.isolating;e++,n=n.firstChild);for(let n=l.content.lastChild;t<l.openEnd&&!n.type.spec.isolating;t++,n=n.lastChild);l=at(l,e,t)}return t.someProp("transformPasted",e=>{l=e(l,t,u)}),l}const et=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function tt(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,a.Fragment.from(e));return e}function nt(e,t,n,r,i){if(i<e.length&&i<t.length&&e[i]==t[i]){let o=nt(e,t,n,r.lastChild,i+1);if(o)return r.copy(r.content.replaceChild(r.childCount-1,o));if(r.contentMatchAt(r.childCount).matchType(i==e.length-1?n.type:e[i+1]))return r.copy(r.content.append(a.Fragment.from(tt(n,e,i+1))))}}function rt(e,t){if(0==t)return e;let n=e.content.replaceChild(e.childCount-1,rt(e.lastChild,t-1)),r=e.contentMatchAt(e.childCount).fillBefore(a.Fragment.empty,!0);return e.copy(n.append(r))}function it(e,t,n,r,i,o){let s=t<0?e.firstChild:e.lastChild,l=s.content;return e.childCount>1&&(o=0),i<r-1&&(l=it(l,t,n,r,i+1,o)),i>=n&&(l=t<0?s.contentMatchAt(0).fillBefore(l,o<=i).append(l):l.append(s.contentMatchAt(s.childCount).fillBefore(a.Fragment.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,s.copy(l))}function at(e,t,n){return t<e.openStart&&(e=new a.Slice(it(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new a.Slice(it(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}const ot={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let st=null;function lt(){return st||(st=document.implementation.createHTMLDocument("title"))}let ct=null;const ut={},dt={},pt={touchstart:!0,touchmove:!0};class ft{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:"",button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.badSafariComposition=!1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function ht(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function mt(e){e.someProp("handleDOMEvents",t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>gt(e,t))})}function gt(e,t){return e.someProp("handleDOMEvents",n=>{let r=n[t.type];return!!r&&(r(e,t)||t.defaultPrevented)})}function yt(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function vt(e){return{left:e.clientX,top:e.clientY}}function bt(e,t,n,r,i){if(-1==r)return!1;let a=e.state.doc.resolve(r);for(let o=a.depth+1;o>0;o--)if(e.someProp(t,t=>o>a.depth?t(e,n,a.nodeAfter,a.before(o),i,!0):t(e,n,a.node(o),a.before(o),i,!1)))return!0;return!1}function _t(e,t,n){if(e.focused||e.focus(),e.state.selection.eq(t))return;let r=e.state.tr.setSelection(t);"pointer"==n&&r.setMeta("pointer",!0),e.dispatch(r)}function wt(e,t,n,r,a){return bt(e,"handleClickOn",t,n,r)||e.someProp("handleClick",n=>n(e,t,r))||(a?function(e,t){if(-1==t)return!1;let n,r,a=e.state.selection;a instanceof i.NodeSelection&&(n=a.node);let o=e.state.doc.resolve(t);for(let s=o.depth+1;s>0;s--){let e=s>o.depth?o.nodeAfter:o.node(s);if(i.NodeSelection.isSelectable(e)){r=n&&a.$from.depth>0&&s>=a.$from.depth&&o.before(a.$from.depth+1)==a.$from.pos?o.before(a.$from.depth):o.before(s);break}}return null!=r&&(_t(e,i.NodeSelection.create(e.state.doc,r),"pointer"),
23!0)}(e,n):function(e,t){if(-1==t)return!1;let n=e.state.doc.resolve(t),r=n.nodeAfter;return!!(r&&r.isAtom&&i.NodeSelection.isSelectable(r))&&(_t(e,new i.NodeSelection(n),"pointer"),!0)}(e,n))}function kt(e,t,n,r){return bt(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",n=>n(e,t,r))}function St(e,t,n,r){return bt(e,"handleTripleClickOn",t,n,r)||e.someProp("handleTripleClick",n=>n(e,t,r))||function(e,t,n){if(0!=n.button)return!1;let r=e.state.doc;if(-1==t)return!!r.inlineContent&&(_t(e,i.TextSelection.create(r,0,r.content.size),"pointer"),!0);let a=r.resolve(t);for(let o=a.depth+1;o>0;o--){let t=o>a.depth?a.nodeAfter:a.node(o),n=a.before(o);if(t.inlineContent)_t(e,i.TextSelection.create(r,n+1,n+1+t.content.size),"pointer");else{if(!i.NodeSelection.isSelectable(t))continue;_t(e,i.NodeSelection.create(r,n),"pointer")}return!0}}(e,n,r)}function xt(e){return Dt(e)}dt.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=16==n.keyCode||n.shiftKey,!At(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!j||!T||13!=n.keyCode))if(229!=n.keyCode&&e.domObserver.forceFlush(),!O||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)e.someProp("handleKeyDown",t=>t(e,n))||Ke(e,n)?n.preventDefault():ht(e,"key");else{let t=Date.now();e.input.lastIOSEnter=t,e.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{e.input.lastIOSEnter==t&&(e.someProp("handleKeyDown",t=>t(e,y(13,"Enter"))),e.input.lastIOSEnter=0)},200)}},dt.keyup=(e,t)=>{16==t.keyCode&&(e.input.shiftKey=!1)},dt.keypress=(e,t)=>{let n=t;if(At(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||D&&n.metaKey)return;if(e.someProp("handleKeyPress",t=>t(e,n)))return void n.preventDefault();let r=e.state.selection;if(!(r instanceof i.TextSelection)||!r.$from.sameParent(r.$to)){let t=String.fromCharCode(n.charCode),i=()=>e.state.tr.insertText(t).scrollIntoView();/[\r\n]/.test(t)||e.someProp("handleTextInput",n=>n(e,r.$from.pos,r.$to.pos,t,i))||e.dispatch(i()),n.preventDefault()}};const Ct=D?"metaKey":"ctrlKey";ut.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let r=xt(e),i=Date.now(),a="singleClick";i-e.input.lastClick.time<500&&function(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}(n,e.input.lastClick)&&!n[Ct]&&e.input.lastClick.button==n.button&&("singleClick"==e.input.lastClick.type?a="doubleClick":"doubleClick"==e.input.lastClick.type&&(a="tripleClick")),e.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:a,button:n.button};let o=e.posAtCoords(vt(n));o&&("singleClick"==a?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new Et(e,o,n,!!r)):("doubleClick"==a?kt:St)(e,o.pos,o.inside,n)?n.preventDefault():ht(e,"pointer"))};class Et{constructor(e,t,n,r){let a,o;if(this.view=e,this.pos=t,this.event=n,this.flushed=r,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!n[Ct],this.allowDefault=n.shiftKey,t.inside>-1)a=e.state.doc.nodeAt(t.inside),o=t.inside;else{let n=e.state.doc.resolve(t.pos);a=n.parent,o=n.depth?n.before():0}const s=r?null:n.target,l=s?e.docView.nearestDesc(s,!0):null;this.target=l&&1==l.nodeDOM.nodeType?l.nodeDOM:null;let{selection:c}=e.state;0==n.button&&(a.type.spec.draggable&&!1!==a.type.spec.selectable||c instanceof i.NodeSelection&&c.from<=o&&c.to>o)&&(this.mightDrag={node:a,pos:o,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!E||this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),ht(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>Ie(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(vt(e))),this.updateAllowDefault(e),this.allowDefault||!t?ht(this.view,"pointer"):wt(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():0==e.button&&(this.flushed||R&&this.mightDrag&&!this.mightDrag.node.isAtom||T&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(_t(this.view,i.Selection.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):ht(this.view,"pointer")}move(e){this.updateAllowDefault(e),ht(this.view,"pointer"),0==e.buttons&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}function At(e,t){return!!e.composing||!!(R&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500)&&(e.input.compositionEndedAt=-2e8,!0)}ut.touchstart=e=>{e.input.lastTouch=Date.now(),xt(e),ht(e,"pointer")},ut.touchmove=e=>{e.input.lastTouch=Date.now(),ht(e,"pointer")},ut.contextmenu=e=>xt(e);const Tt=j?5e3:-1;function It(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout(()=>Dt(e),t))}function Rt(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=function(){let e=document.createEvent("Event");
23return e.initEvent("event",!0,!0),e.timeStamp}());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function Ot(e){let t=e.domSelectionRange();if(!t.focusNode)return null;let n=function(e,t){for(;;){if(3==e.nodeType&&t)return e;if(1==e.nodeType&&t>0){if("false"==e.contentEditable)return null;t=h(e=e.childNodes[t-1])}else{if(!e.parentNode||m(e))return null;t=s(e),e=e.parentNode}}}(t.focusNode,t.focusOffset),r=function(e,t){for(;;){if(3==e.nodeType&&t<e.nodeValue.length)return e;if(1==e.nodeType&&t<e.childNodes.length){if("false"==e.contentEditable)return null;e=e.childNodes[t],t=0}else{if(!e.parentNode||m(e))return null;t=s(e)+1,e=e.parentNode}}}(t.focusNode,t.focusOffset);if(n&&r&&n!=r){let t=r.pmViewDesc,i=e.domObserver.lastChangedTextNode;if(n==i||r==i)return i;if(!t||!t.isText(r.nodeValue))return r;if(e.input.compositionNode==r){let e=n.pmViewDesc;if(e&&e.isText(n.nodeValue))return r}}return n||r}function Dt(e,t=!1){if(!(j&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),Rt(e),t||e.docView&&e.docView.dirty){let n=Ae(e),r=e.state.selection;return n&&!n.eq(r)?e.dispatch(e.state.tr.setSelection(n)):!e.markCursor&&!t||r.$from.node(r.$from.sharedDepth(r.to)).inlineContent?e.updateState(e.state):e.dispatch(e.state.tr.deleteSelection()),!0}return!1}}dt.compositionstart=dt.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$to;if(t.selection instanceof i.TextSelection&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(e=>!1===e.type.spec.inclusive)||T&&N&&function(e){let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(!t||1!=t.nodeType||n>=t.childNodes.length)return!1;let r=t.childNodes[n];return 1==r.nodeType&&"false"==r.contentEditable}(e)))e.markCursor=e.state.storedMarks||n.marks(),Dt(e,!0),e.markCursor=null;else if(Dt(e,!t.selection.empty),E&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let t=e.domSelectionRange();for(let n=t.focusNode,r=t.focusOffset;n&&1==n.nodeType&&0!=r;){let t=r<0?n.lastChild:n.childNodes[r-1];if(!t)break;if(3==t.nodeType){let n=e.domSelection();n&&n.collapse(t,t.nodeValue.length);break}n=t,r=-1}}e.input.composing=!0}It(e,Tt)},dt.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.badSafariComposition?e.domObserver.forceFlush():e.input.compositionPendingChanges&&Promise.resolve().then(()=>e.domObserver.flush()),e.input.compositionID++,It(e,20))};const Nt=x&&C<15||O&&M<604;function jt(e,t,n,r,i){let o=Qe(e,t,n,r,e.state.selection.$from);if(e.someProp("handlePaste",t=>t(e,i,o||a.Slice.empty)))return!0;if(!o)return!1;let s=function(e){return 0==e.openStart&&0==e.openEnd&&1==e.content.childCount?e.content.firstChild:null}(o),l=s?e.state.tr.replaceSelectionWith(s,r):e.state.tr.replaceSelection(o);return e.dispatch(l.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function Ft(e){let t=e.getData("text/plain")||e.getData("Text");if(t)return t;let n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}ut.copy=dt.cut=(e,t)=>{let n=t,r=e.state.selection,i="cut"==n.type;if(r.empty)return;let a=Nt?null:n.clipboardData,o=r.content(),{dom:s,text:l}=Ze(e,o);a?(n.preventDefault(),a.clearData(),a.setData("text/html",s.innerHTML),a.setData("text/plain",l)):function(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()},50)}(e,s),i&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},dt.paste=(e,t)=>{let n=t;if(e.composing&&!j)return;let r=Nt?null:n.clipboardData,i=e.input.shiftKey&&45!=e.input.lastKeyCode;r&&jt(e,Ft(r),r.getData("text/html"),i,n)?n.preventDefault():function(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=e.input.shiftKey&&45!=e.input.lastKeyCode;setTimeout(()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?jt(e,r.value,null,i,t):jt(e,r.textContent,r.innerHTML,i,t)},50)}(e,n)};class Mt{constructor(e,t,n){this.slice=e,this.move=t,this.node=n}}const Vt=D?"altKey":"ctrlKey";function Pt(e,t){let n;return e.someProp("dragCopies",e=>{n=n||e(t)}),null!=n?!n:!t[Vt]}ut.dragstart=(e,t)=>{let n=t,r=e.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let a,o=e.state.selection,s=o.empty?null:e.posAtCoords(vt(n));if(s&&s.pos>=o.from&&s.pos<=(o instanceof i.NodeSelection?o.to-1:o.to));else if(r&&r.mightDrag)a=i.NodeSelection.create(e.state.doc,r.mightDrag.pos);else if(n.target&&1==n.target.nodeType){let t=e.docView.nearestDesc(n.target,!0);t&&t.node.type.spec.draggable&&t!=e.docView&&(a=i.NodeSelection.create(e.state.doc,t.posBefore))}
23let l=(a||e.state.selection).content(),{dom:c,text:u,slice:d}=Ze(e,l);(!n.dataTransfer.files.length||!T||I>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(Nt?"Text":"text/html",c.innerHTML),n.dataTransfer.effectAllowed="copyMove",Nt||n.dataTransfer.setData("text/plain",u),e.dragging=new Mt(d,Pt(e,n),a)},ut.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)},dt.dragover=dt.dragenter=(e,t)=>t.preventDefault(),dt.drop=(e,t)=>{try{!function(e,t,n){if(!t.dataTransfer)return;let r=e.posAtCoords(vt(t));if(!r)return;let s=e.state.doc.resolve(r.pos),l=n&&n.slice;l?e.someProp("transformPasted",t=>{l=t(l,e,!1)}):l=Qe(e,Ft(t.dataTransfer),Nt?null:t.dataTransfer.getData("text/html"),!1,s);let c=!(!n||!Pt(e,t));if(e.someProp("handleDrop",n=>n(e,t,l||a.Slice.empty,c)))return void t.preventDefault();if(!l)return;t.preventDefault();let u=l?(0,o.dropPoint)(e.state.doc,s.pos,l):s.pos;null==u&&(u=s.pos);let d=e.state.tr;if(c){let{node:e}=n;e?e.replace(d):d.deleteSelection()}let p=d.mapping.map(u),f=0==l.openStart&&0==l.openEnd&&1==l.content.childCount,h=d.doc;f?d.replaceRangeWith(p,p,l.content.firstChild):d.replaceRange(p,p,l);if(d.doc.eq(h))return;let m=d.doc.resolve(p);if(f&&i.NodeSelection.isSelectable(l.content.firstChild)&&m.nodeAfter&&m.nodeAfter.sameMarkup(l.content.firstChild))d.setSelection(new i.NodeSelection(m));else{let t=d.mapping.map(u);d.mapping.maps[d.mapping.maps.length-1].forEach((e,n,r,i)=>t=i),d.setSelection(Me(e,m,d.doc.resolve(t)))}e.focus(),e.dispatch(d.setMeta("uiEvent","drop"))}(e,t,e.dragging)}finally{e.dragging=null}},ut.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout(()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&Ie(e)},20))},ut.blur=(e,t)=>{let n=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)},ut.beforeinput=(e,t)=>{if(T&&j&&"deleteContentBackward"==t.inputType){e.domObserver.flushSoon();let{domChangeCount:t}=e.input;setTimeout(()=>{if(e.input.domChangeCount!=t)return;if(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",t=>t(e,y(8,"Backspace"))))return;let{$cursor:n}=e.state.selection;n&&n.pos>0&&e.dispatch(e.state.tr.delete(n.pos-1,n.pos).scrollIntoView())},50)}};for(let e in dt)ut[e]=dt[e];function Lt(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}class Bt{constructor(e,t){this.toDOM=e,this.spec=t||Ut,this.side=this.spec.side||0}map(e,t,n,r){let{pos:i,deleted:a}=e.mapResult(t.from+r,this.side<0?-1:1);return a?null:new zt(i-n,i-n,this)}valid(){return!0}eq(e){return this==e||e instanceof Bt&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Lt(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Ht{constructor(e,t){this.attrs=e,this.spec=t||Ut}map(e,t,n,r){let i=e.map(t.from+r,this.spec.inclusiveStart?-1:1)-n,a=e.map(t.to+r,this.spec.inclusiveEnd?1:-1)-n;return i>=a?null:new zt(i,a,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof Ht&&Lt(this.attrs,e.attrs)&&Lt(this.spec,e.spec)}static is(e){return e.type instanceof Ht}destroy(){}}class Wt{constructor(e,t){this.attrs=e,this.spec=t||Ut}map(e,t,n,r){let i=e.mapResult(t.from+r,1);if(i.deleted)return null;let a=e.mapResult(t.to+r,-1);return a.deleted||a.pos<=i.pos?null:new zt(i.pos-n,a.pos-n,this)}valid(e,t){let n,{index:r,offset:i}=e.content.findIndex(t.from);return i==t.from&&!(n=e.child(r)).isText&&i+n.nodeSize==t.to}eq(e){return this==e||e instanceof Wt&&Lt(this.attrs,e.attrs)&&Lt(this.spec,e.spec)}destroy(){}}class zt{constructor(e,t,n){this.from=e,this.to=t,this.type=n}copy(e,t){return new zt(e,t,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,n){return this.type.map(e,this,t,n)}static widget(e,t,n){return new zt(e,e,new Bt(t,n))}static inline(e,t,n,r){return new zt(e,t,new Ht(n,r))}
vendor: 10,383 bytes, line 23
23static node(e,t,n,r){return new zt(e,t,new Wt(n,r))}get spec(){return this.type.spec}get inline(){return this.type instanceof Ht}get widget(){return this.type instanceof Bt}}const Yt=[],Ut={};class Xt{constructor(e,t){this.local=e.length?e:Yt,this.children=t.length?t:Yt}static create(e,t){return t.length?Zt(t,e,0,Ut):Gt}find(e,t,n){let r=[];return this.findInner(null==e?0:e,null==t?1e9:t,r,0,n),r}findInner(e,t,n,r,i){for(let a=0;a<this.local.length;a++){let o=this.local[a];o.from<=t&&o.to>=e&&(!i||i(o.spec))&&n.push(o.copy(o.from+r,o.to+r))}for(let a=0;a<this.children.length;a+=3)if(this.children[a]<t&&this.children[a+1]>e){let o=this.children[a]+1;this.children[a+2].findInner(e-o,t-o,n,r+o,i)}}map(e,t,n){return this==Gt||0==e.maps.length?this:this.mapInner(e,t,0,0,n||Ut)}mapInner(e,t,n,r,i){let a;for(let o=0;o<this.local.length;o++){let s=this.local[o].map(e,n,r);s&&s.type.valid(t,s)?(a||(a=[])).push(s):i.onRemove&&i.onRemove(this.local[o].spec)}return this.children.length?function(e,t,n,r,i,a,o){let s=e.slice();for(let c=0,u=a;c<n.maps.length;c++){let e=0;n.maps[c].forEach((t,n,r,i)=>{let a=i-r-(n-t);for(let o=0;o<s.length;o+=3){let r=s[o+1];if(r<0||t>r+u-e)continue;let i=s[o]+u-e;n>=i?s[o+1]=t<=i?-2:-1:t>=u&&a&&(s[o]+=a,s[o+1]+=a)}e+=a}),u=n.maps[c].map(u,-1)}let l=!1;for(let c=0;c<s.length;c+=3)if(s[c+1]<0){if(-2==s[c+1]){l=!0,s[c+1]=-1;continue}let t=n.map(e[c]+a),u=t-i;if(u<0||u>=r.content.size){l=!0;continue}let d=n.map(e[c+1]+a,-1)-i,{index:p,offset:f}=r.content.findIndex(u),h=r.maybeChild(p);if(h&&f==u&&f+h.nodeSize==d){let r=s[c+2].mapInner(n,h,t+1,e[c]+a+1,o);r!=Gt?(s[c]=u,s[c+1]=d,s[c+2]=r):(s[c+1]=-2,l=!0)}else l=!0}if(l){let l=function(e,t,n,r,i,a,o){function s(e,t){for(let a=0;a<e.local.length;a++){let s=e.local[a].map(r,i,t);s?n.push(s):o.onRemove&&o.onRemove(e.local[a].spec)}for(let n=0;n<e.children.length;n+=3)s(e.children[n+2],e.children[n]+t+1)}for(let l=0;l<e.length;l+=3)-1==e[l+1]&&s(e[l+2],t[l]+a+1);return n}(s,e,t,n,i,a,o),c=Zt(l,r,0,o);t=c.local;for(let e=0;e<s.length;e+=3)s[e+1]<0&&(s.splice(e,3),e-=3);for(let e=0,t=0;e<c.children.length;e+=3){let n=c.children[e];for(;t<s.length&&s[t]<n;)t+=3;s.splice(t,0,c.children[e],c.children[e+1],c.children[e+2])}}return new Xt(t.sort(Qt),s)}(this.children,a||[],e,t,n,r,i):a?new Xt(a.sort(Qt),Yt):Gt}add(e,t){return t.length?this==Gt?Xt.create(e,t):this.addInner(e,t,0):this}addInner(e,t,n){let r,i=0;e.forEach((e,a)=>{let o,s=a+n;if(o=$t(t,e,s)){for(r||(r=this.children.slice());i<r.length&&r[i]<a;)i+=3;r[i]==a?r[i+2]=r[i+2].addInner(e,o,s+1):r.splice(i,0,a,a+e.nodeSize,Zt(o,e,s+1,Ut)),i+=3}});let a=Jt(i?Kt(t):t,-n);for(let o=0;o<a.length;o++)a[o].type.valid(e,a[o])||a.splice(o--,1);return new Xt(a.length?this.local.concat(a).sort(Qt):this.local,r||this.children)}remove(e){return 0==e.length||this==Gt?this:this.removeInner(e,0)}removeInner(e,t){let n=this.children,r=this.local;for(let i=0;i<n.length;i+=3){let r,a=n[i]+t,o=n[i+1]+t;for(let t,n=0;n<e.length;n++)(t=e[n])&&t.from>a&&t.to<o&&(e[n]=null,(r||(r=[])).push(t));if(!r)continue;n==this.children&&(n=this.children.slice());let s=n[i+2].removeInner(r,a+1);s!=Gt?n[i+2]=s:(n.splice(i,3),i-=3)}if(r.length)for(let i,a=0;a<e.length;a++)if(i=e[a])for(let e=0;e<r.length;e++)r[e].eq(i,t)&&(r==this.local&&(r=this.local.slice()),r.splice(e--,1));return n==this.children&&r==this.local?this:r.length||n.length?new Xt(r,n):Gt}forChild(e,t){if(this==Gt)return this;if(t.isLeaf)return Xt.empty;let n,r;for(let o=0;o<this.children.length;o+=3)if(this.children[o]>=e){this.children[o]==e&&(n=this.children[o+2]);break}let i=e+1,a=i+t.content.size;for(let o=0;o<this.local.length;o++){let e=this.local[o];if(e.from<a&&e.to>i&&e.type instanceof Ht){let t=Math.max(i,e.from)-i,n=Math.min(a,e.to)-i;t<n&&(r||(r=[])).push(e.copy(t,n))}}if(r){let e=new Xt(r.sort(Qt),Yt);return n?new qt([e,n]):e}return n||Gt}eq(e){if(this==e)return!0;if(!(e instanceof Xt)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let t=0;t<this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(let t=0;t<this.children.length;t+=3)if(this.children[t]!=e.children[t]||this.children[t+1]!=e.children[t+1]||!this.children[t+2].eq(e.children[t+2]))return!1;return!0}locals(e){return en(this.localsInner(e))}localsInner(e){if(this==Gt)return Yt;if(e.inlineContent||!this.local.some(Ht.is))return this.local;let t=[];for(let n=0;n<this.local.length;n++)this.local[n].type instanceof Ht||t.push(this.local[n]);return t}forEachSet(e){e(this)}}Xt.empty=new Xt([],[]),Xt.removeOverlap=en;const Gt=Xt.empty;class qt{constructor(e){this.members=e}map(e,t){const n=this.members.map(n=>n.map(e,t,Ut));return qt.from(n)}forChild(e,t){if(t.isLeaf)return Xt.empty;let n=[];for(let r=0;r<this.members.length;r++){let i=this.members[r].forChild(e,t);i!=Gt&&(i instanceof qt?n=n.concat(i.members):n.push(i))}return qt.from(n)}eq(e){if(!(e instanceof qt)||e.members.length!=this.members.length)return!1;for(let t=0;t<this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0}locals(e){let t,n=!0;for(let r=0;r<this.members.length;r++){let i=this.members[r].localsInner(e);if(i.length)if(t){n&&(t=t.slice(),n=!1);for(let e=0;e<i.length;e++)t.push(i[e])}else t=i}return t?en(n?t:t.sort(Qt)):Yt}static from(e){switch(e.length){case 0:return Gt;case 1:return e[0];default:return new qt(e.every(e=>e instanceof Xt)?e:e.reduce((e,t)=>e.concat(t instanceof Xt?t:t.members),[]))}}forEachSet(e){for(let t=0;t<this.members.length;t++)this.members[t].forEachSet(e)}}function Jt(e,t){if(!t||!e.length)return e;let n=[];for(let r=0;r<e.length;r++){let i=e[r];n.push(new zt(i.from+t,i.to+t,i.type))}return n}function $t(e,t,n){if(t.isLeaf)return null;let r=n+t.nodeSize,i=null;for(let a,o=0;o<e.length;o++)(a=e[o])&&a.from>n&&a.to<r&&((i||(i=[])).push(a),e[o]=null);return i}function Kt(e){let t=[];for(let n=0;n<e.length;n++)null!=e[n]&&t.push(e[n]);return t}function Zt(e,t,n,r){let i=[],a=!1;t.forEach((t,o)=>{let s=$t(e,t,o+n);if(s){a=!0;let e=Zt(s,t,n+o+1,r);e!=Gt&&i.push(o,o+t.nodeSize,e)}});let o=Jt(a?Kt(e):e,-n).sort(Qt);for(let s=0;s<o.length;s++)o[s].type.valid(t,o[s])||(r.onRemove&&r.onRemove(o[s].spec),o.splice(s--,1));return o.length||i.length?new Xt(o,i):Gt}function Qt(e,t){return e.from-t.from||e.to-t.to}function en(e){let t=e;for(let n=0;n<t.length-1;n++){let r=t[n];if(r.from!=r.to)for(let i=n+1;i<t.length;i++){let a=t[i];if(a.from!=r.from){a.from<r.to&&(t==e&&(t=e.slice()),t[n]=r.copy(r.from,a.from),tn(t,i,r.copy(a.from,r.to)));break}a.to!=r.to&&(t==e&&(t=e.slice()),t[i]=a.copy(a.from,r.to),tn(t,i+1,a.copy(r.to,a.to)))}}return t}function tn(e,t,n){for(;t<e.length&&Qt(n,e[t])>0;)t++;e.splice(t,0,n)}function nn(e){let t=[];return e.someProp("decorations",n=>{let r=n(e.state);r&&r!=Gt&&t.push(r)}),e.cursorWrapper&&t.push(Xt.create(e.state.doc,[e.cursorWrapper.deco])),qt.from(t)}const rn={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},an=x&&C<=11;class on{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class sn{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new on,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(t=>{for(let e=0;e<t.length;e++)this.queue.push(t[e]);x&&C<=11&&t.some(e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():R&&e.composing&&t.some(e=>"childList"==e.type&&"TR"==e.target.nodeName)?(e.input.badSafariComposition=!0,this.flushSoon()):this.flush()}),an&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,rn)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;t<e.length;t++)this.queue.push(e[t]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(Ve(this.view)){if(this.suppressingSelectionUpdates)return Ie(this.view);if(x&&C<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&d(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t,n=new Set;for(let i=e.focusNode;i;i=l(i))n.add(i);for(let i=e.anchorNode;i;i=l(i))if(n.has(i)){t=i;break}let r=t&&this.view.docView.nearestDesc(t);return r&&r.ignoreMutation({type:"selection",target:3==t.nodeType?t.parentNode:t})?(this.setCurSelection(),!0):void 0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let n=e.domSelectionRange(),r=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&Ve(e)&&!this.ignoreSelectionChange(n),a=-1,o=-1,s=!1,l=[];
23if(e.editable)for(let i=0;i<t.length;i++){let e=this.registerMutation(t[i],l);e&&(a=a<0?e.from:Math.min(e.from,a),o=o<0?e.to:Math.max(e.to,o),e.typeOver&&(s=!0))}if(!l.some(e=>"BR"==e.nodeName)||8!=e.input.lastKeyCode&&46!=e.input.lastKeyCode){if(E&&l.length){let t=l.filter(e=>"BR"==e.nodeName);if(2==t.length){let[e,n]=t;e.parentNode&&e.parentNode.parentNode==n.parentNode?n.remove():e.remove()}else{let{focusNode:n}=this.currentSelection;for(let r of t){let t=r.parentNode;!t||"LI"!=t.nodeName||n&&dn(e,n)==t||r.remove()}}}}else for(let i of l)if("BR"==i.nodeName&&i.parentNode){let e=i.nextSibling;for(;e&&1==e.nodeType;){if("false"==e.contentEditable){i.parentNode.removeChild(i);break}e=e.firstChild}}let c=null;a<0&&r&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&g(n)&&(c=Ae(e))&&c.eq(i.Selection.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Ie(e),this.currentSelection.set(n),e.scrollToSelection()):(a>-1||r)&&(a>-1&&(e.docView.markDirty(a,o),function(e){if(ln.has(e))return;if(ln.set(e,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace)){if(e.requiresGeckoHackNode=E,cn)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),cn=!0}}(e)),e.input.badSafariComposition&&(e.input.badSafariComposition=!1,function(e,t){var n;let{focusNode:r,focusOffset:i}=e.domSelectionRange();for(let a of t)if("TR"==(null===(n=a.parentNode)||void 0===n?void 0:n.nodeName)){let t=a.nextSibling;for(;t&&"TD"!=t.nodeName&&"TH"!=t.nodeName;)t=t.nextSibling;if(t){let n=t;for(;;){let e=n.firstChild;if(!e||1!=e.nodeType||"false"==e.contentEditable||/^(BR|IMG)$/.test(e.nodeName))break;n=e}n.insertBefore(a,n.firstChild),r==a&&e.domSelection().collapse(a,i)}else a.parentNode.removeChild(a)}}(e,l)),this.handleDOMChange(a,o,s,l),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||Ie(e),this.currentSelection.set(n))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let n=this.view.docView.nearestDesc(e.target);if("attributes"==e.type&&(n==this.view.docView||"contenteditable"==e.attributeName||"style"==e.attributeName&&!e.oldValue&&!e.target.getAttribute("style")))return null;if(!n||n.ignoreMutation(e))return null;if("childList"==e.type){for(let n=0;n<e.addedNodes.length;n++){let r=e.addedNodes[n];t.push(r),3==r.nodeType&&(this.lastChangedTextNode=r)}if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(e.target))return{from:n.posBefore,to:n.posAfter};let r=e.previousSibling,i=e.nextSibling;if(x&&C<=11&&e.addedNodes.length)for(let t=0;t<e.addedNodes.length;t++){let{previousSibling:n,nextSibling:a}=e.addedNodes[t];(!n||Array.prototype.indexOf.call(e.addedNodes,n)<0)&&(r=n),(!a||Array.prototype.indexOf.call(e.addedNodes,a)<0)&&(i=a)}let a=r&&r.parentNode==e.target?s(r)+1:0,o=n.localPosFromDOM(e.target,a,-1),l=i&&i.parentNode==e.target?s(i):e.target.childNodes.length;return{from:o,to:n.localPosFromDOM(e.target,l,1)}}return"attributes"==e.type?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:(this.lastChangedTextNode=e.target,{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}}let ln=new WeakMap,cn=!1;function un(e,t){let n=t.startContainer,r=t.startOffset,i=t.endContainer,a=t.endOffset,o=e.domAtPos(e.state.selection.anchor);return d(o.node,o.offset,i,a)&&([n,r,i,a]=[i,a,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:a}}function dn(e,t){for(let n=t.parentNode;n&&n!=e.dom;n=n.parentNode){let t=e.docView.nearestDesc(n,!0);if(t&&t.node.isBlock)return n}return null}function pn(e){let t=e.pmViewDesc;if(t)return t.parseRule();if("BR"==e.nodeName&&e.parentNode){if(R&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let e=document.createElement("div");return e.appendChild(document.createElement("li")),{skip:e}}if(e.parentNode.lastChild==e||R&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}const fn=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function hn(e,t,n,r,o){let s=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let t=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,n=Ae(e,t);
23if(n&&!e.state.selection.eq(n)){if(T&&j&&13===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp("handleKeyDown",t=>t(e,y(13,"Enter"))))return;let r=e.state.tr.setSelection(n);"pointer"==t?r.setMeta("pointer",!0):"key"==t&&r.scrollIntoView(),s&&r.setMeta("composition",s),e.dispatch(r)}return}let l=e.state.doc.resolve(t),c=l.sharedDepth(n);t=l.before(c+1),n=e.state.doc.resolve(n).after(c+1);let u,d,p=e.state.selection,f=function(e,t,n){let r,{node:i,fromOffset:o,toOffset:s,from:l,to:c}=e.docView.parseRange(t,n),u=e.domSelectionRange(),d=u.anchorNode;if(d&&e.dom.contains(1==d.nodeType?d:d.parentNode)&&(r=[{node:d,offset:u.anchorOffset}],g(u)||r.push({node:u.focusNode,offset:u.focusOffset})),T&&8===e.input.lastKeyCode)for(let a=s;a>o;a--){let e=i.childNodes[a-1],t=e.pmViewDesc;if("BR"==e.nodeName&&!t){s=a;break}if(!t||t.size)break}let p=e.state.doc,f=e.someProp("domParser")||a.DOMParser.fromSchema(e.state.schema),h=p.resolve(l),m=null,y=f.parse(i,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:o,to:s,preserveWhitespace:"pre"!=h.parent.type.whitespace||"full",findPositions:r,ruleFromNode:pn,context:h});if(r&&null!=r[0].pos){let e=r[0].pos,t=r[1]&&r[1].pos;null==t&&(t=e),m={anchor:e+l,head:t+l}}return{doc:y,sel:m,from:l,to:c}}(e,t,n),h=e.state.doc,m=h.slice(f.from,f.to);8===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime?(u=e.state.selection.to,d="end"):(u=e.state.selection.from,d="start"),e.input.lastKeyCode=null;let v=function(e,t,n,r,i){let a=e.findDiffStart(t,n);if(null==a)return null;let{a:o,b:s}=e.findDiffEnd(t,n+e.size,n+t.size);if("end"==i){r-=o+Math.max(0,a-Math.min(o,s))-a}if(o<a&&e.size<t.size){let e=r<=a&&r>=o?a-r:0;a-=e,a&&a<t.size&&yn(t.textBetween(a-1,a+1))&&(a+=e?1:-1),s=a+(s-o),o=a}else if(s<a){let t=r<=a&&r>=s?a-r:0;a-=t,a&&a<e.size&&yn(e.textBetween(a-1,a+1))&&(a+=t?1:-1),o=a+(o-s),s=a}return{start:a,endA:o,endB:s}}(m.content,f.doc.content,f.from,u,d);if(v&&e.input.domChangeCount++,(O&&e.input.lastIOSEnter>Date.now()-225||j)&&o.some(e=>1==e.nodeType&&!fn.test(e.nodeName))&&(!v||v.endA>=v.endB)&&e.someProp("handleKeyDown",t=>t(e,y(13,"Enter"))))return void(e.input.lastIOSEnter=0);if(!v){if(!(r&&p instanceof i.TextSelection&&!p.empty&&p.$head.sameParent(p.$anchor))||e.composing||f.sel&&f.sel.anchor!=f.sel.head){if(f.sel){let t=mn(e,e.state.doc,f.sel);if(t&&!t.eq(e.state.selection)){let n=e.state.tr.setSelection(t);s&&n.setMeta("composition",s),e.dispatch(n)}}return}v={start:p.from,endA:p.to,endB:p.to}}e.state.selection.from<e.state.selection.to&&v.start==v.endB&&e.state.selection instanceof i.TextSelection&&(v.start>e.state.selection.from&&v.start<=e.state.selection.from+2&&e.state.selection.from>=f.from?v.start=e.state.selection.from:v.endA<e.state.selection.to&&v.endA>=e.state.selection.to-2&&e.state.selection.to<=f.to&&(v.endB+=e.state.selection.to-v.endA,v.endA=e.state.selection.to)),x&&C<=11&&v.endB==v.start+1&&v.endA==v.start&&v.start>f.from&&" \xa0"==f.doc.textBetween(v.start-f.from-1,v.start-f.from+1)&&(v.start--,v.endA--,v.endB--);let b=f.doc.resolveNoCache(v.start-f.from),_=f.doc.resolveNoCache(v.endB-f.from),w=h.resolve(v.start),k=b.sameParent(_)&&b.parent.inlineContent&&w.end()>=v.endA;if((O&&e.input.lastIOSEnter>Date.now()-225&&(!k||o.some(e=>"DIV"==e.nodeName||"P"==e.nodeName))||!k&&b.pos<f.doc.content.size&&(!b.sameParent(_)||!b.parent.inlineContent)&&b.pos<_.pos&&!/\S/.test(f.doc.textBetween(b.pos,_.pos,"","")))&&e.someProp("handleKeyDown",t=>t(e,y(13,"Enter"))))return void(e.input.lastIOSEnter=0);if(e.state.selection.anchor>v.start&&function(e,t,n,r,i){if(n-t<=i.pos-r.pos||gn(r,!0,!1)<i.pos)return!1;let a=e.resolve(t);if(!r.parent.isTextblock){let e=a.nodeAfter;return null!=e&&n==t+e.nodeSize}if(a.parentOffset<a.parent.content.size||!a.parent.isTextblock)return!1;let o=e.resolve(gn(a,!0,!0));return!(!o.parent.isTextblock||o.pos>n||gn(o,!0,!1)<n)&&r.parent.content.cut(r.parentOffset).eq(o.parent.content)}(h,v.start,v.endA,b,_)&&e.someProp("handleKeyDown",t=>t(e,y(8,"Backspace"))))return void(j&&T&&e.domObserver.suppressSelectionUpdates());
23T&&v.endB==v.start&&(e.input.lastChromeDelete=Date.now()),j&&!k&&b.start()!=_.start()&&0==_.parentOffset&&b.depth==_.depth&&f.sel&&f.sel.anchor==f.sel.head&&f.sel.head==v.endA&&(v.endB-=2,_=f.doc.resolveNoCache(v.endB-f.from),setTimeout(()=>{e.someProp("handleKeyDown",function(t){return t(e,y(13,"Enter"))})},20));let S,E=v.start,A=v.endA,I=t=>{let n=t||e.state.tr.replace(E,A,f.doc.slice(v.start-f.from,v.endB-f.from));if(f.sel){let t=mn(e,n.doc,f.sel);t&&!(T&&e.composing&&t.empty&&(v.start!=v.endB||e.input.lastChromeDelete<Date.now()-100)&&(t.head==E||t.head==n.mapping.map(A)-1)||x&&t.empty&&t.head==E)&&n.setSelection(t)}return s&&n.setMeta("composition",s),n.scrollIntoView()};if(k)if(b.pos==_.pos){x&&C<=11&&0==b.parentOffset&&(e.domObserver.suppressSelectionUpdates(),setTimeout(()=>Ie(e),20));let t=I(e.state.tr.delete(E,A)),n=h.resolve(v.start).marksAcross(h.resolve(v.endA));n&&t.ensureMarks(n),e.dispatch(t)}else if(v.endA==v.endB&&(S=function(e,t){let n,r,i,o=e.firstChild.marks,s=t.firstChild.marks,l=o,c=s;for(let a=0;a<s.length;a++)l=s[a].removeFromSet(l);for(let a=0;a<o.length;a++)c=o[a].removeFromSet(c);if(1==l.length&&0==c.length)r=l[0],n="add",i=e=>e.mark(r.addToSet(e.marks));else{if(0!=l.length||1!=c.length)return null;r=c[0],n="remove",i=e=>e.mark(r.removeFromSet(e.marks))}let u=[];for(let a=0;a<t.childCount;a++)u.push(i(t.child(a)));if(a.Fragment.from(u).eq(e))return{mark:r,type:n}}(b.parent.content.cut(b.parentOffset,_.parentOffset),w.parent.content.cut(w.parentOffset,v.endA-w.start())))){let t=I(e.state.tr);"add"==S.type?t.addMark(E,A,S.mark):t.removeMark(E,A,S.mark),e.dispatch(t)}else if(b.parent.child(b.index()).isText&&b.index()==_.index()-(_.textOffset?0:1)){let t=b.parent.textBetween(b.parentOffset,_.parentOffset),n=()=>I(e.state.tr.insertText(t,E,A));e.someProp("handleTextInput",r=>r(e,E,A,t,n))||e.dispatch(n())}else e.dispatch(I());else e.dispatch(I())}function mn(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:Me(e,t.resolve(n.anchor),t.resolve(n.head))}function gn(e,t,n){let r=e.depth,i=t?e.end():e.pos;for(;r>0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,i++,t=!1;if(n){let t=e.node(r).maybeChild(e.indexAfter(r));for(;t&&!t.isLeaf;)t=t.firstChild,i++}return i}function yn(e){if(2!=e.length)return!1;let t=e.charCodeAt(0),n=e.charCodeAt(1);return t>=56320&&t<=57343&&n>=55296&&n<=56319}const vn=Qe,bn=Dt;class _n{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new ft,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(Cn),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):"function"==typeof e?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Sn(this),kn(this),this.nodeViews=xn(this),this.docView=de(this.state.doc,wn(this),nn(this),this.dom,this),this.domObserver=new sn(this,(e,t,n,r)=>hn(this,e,t,n,r)),this.domObserver.start(),function(e){for(let t in ut){let n=ut[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{!yt(e,t)||gt(e,t)||!e.editable&&t.type in dt||n(e,t)},pt[t]?{passive:!0}:void 0)}R&&e.dom.addEventListener("input",()=>null),mt(e)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&mt(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(Cn),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let n in this._props)t[n]=this._props[n];t.state=this.state;for(let n in e)t[n]=e[n];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var n;let r=this.state,i=!1,a=!1;e.storedMarks&&this.composing&&(Rt(this),a=!0),this.state=e;let o=r.plugins!=e.plugins||this._props.plugins!=t.plugins;if(o||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=xn(this);(function(e,t){let n=0,r=0;for(let i in e){if(e[i]!=t[i])return!0;n++}for(let i in t)r++;return n!=r})(e,this.nodeViews)&&(this.nodeViews=e,i=!0)}(o||t.handleDOMEvents!=this._props.handleDOMEvents)&&mt(this),this.editable=Sn(this),kn(this);let s=nn(this),l=wn(this),c=r.plugins==e.plugins||r.doc.eq(e.doc)?e.scrollToSelection>r.scrollToSelection?"to selection":"preserve":"reset",u=i||!this.docView.matchesNode(e.doc,l,s);!u&&e.selection.eq(r.selection)||(a=!0);let p="preserve"==c&&a&&null==this.dom.style.overflowAnchor&&function(e){let t,n,r=e.dom.getBoundingClientRect(),i=Math.max(0,r.top);for(let a=(r.left+r.right)/2,o=i+1;o<Math.min(innerHeight,r.bottom);o+=5){let r=e.root.elementFromPoint(a,o);if(!r||r==e.dom||!e.dom.contains(r))continue;let s=r.getBoundingClientRect();if(s.top>=i-20){t=r,n=s.top;break}}return{refDOM:t,refTop:n,stack:H(e.dom)}}(this);if(a){this.domObserver.stop();let t=u&&(x||T)&&!this.composing&&!r.selection.empty&&!e.selection.empty&&function(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}(r.selection,e.selection);if(u){let n=T?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=Ot(this)),!i&&this.docView.update(e.doc,l,s,this)||(this.docView.updateOuterDeco(l),this.docView.destroy(),this.docView=de(e.doc,l,s,this.dom,this)),!n||this.trackWrites&&this.dom.contains(this.trackWrites)||(t=!0)}t||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&function(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return d(t.node,t.offset,n.anchorNode,n.anchorOffset)}(this))?Ie(this,t):(je(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(r),(null===(n=this.dragging)||void 0===n?void 0:n.node)&&!r.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,r),"reset"==c?this.dom.scrollTop=0:"to selection"==c?this.scrollToSelection():p&&function({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;W(n,0==r?0:r-t)}
23(p)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(e&&this.dom.contains(1==e.nodeType?e:e.parentNode))if(this.someProp("handleScrollToSelection",e=>e(this)));else if(this.state.selection instanceof i.NodeSelection){let t=this.docView.domAfterPos(this.state.selection.from);1==t.nodeType&&B(this,t.getBoundingClientRect(),e)}else B(this,this.coordsAtPos(this.state.selection.head,1),e);else;}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(e&&e.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(let t=0;t<this.pluginViews.length;t++){let n=this.pluginViews[t];n.update&&n.update(this,e)}else{this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let e=0;e<this.directPlugins.length;e++){let t=this.directPlugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}for(let e=0;e<this.state.plugins.length;e++){let t=this.state.plugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}}}updateDraggedNode(e,t){let n=e.node,r=-1;if(n.from<this.state.doc.content.size&&this.state.doc.nodeAt(n.from)==n.node)r=n.from;else{let e=n.from+(this.state.doc.content.size-t.doc.content.size);(e>0&&e<this.state.doc.content.size&&this.state.doc.nodeAt(e))==n.node&&(r=e)}this.dragging=new Mt(e.slice,e.move,r<0?void 0:i.NodeSelection.create(this.state.doc,r))}someProp(e,t){let n,r=this._props&&this._props[e];if(null!=r&&(n=t?t(r):r))return n;for(let a=0;a<this.directPlugins.length;a++){let r=this.directPlugins[a].props[e];if(null!=r&&(n=t?t(r):r))return n}let i=this.state.plugins;if(i)for(let a=0;a<i.length;a++){let r=i[a].props[e];if(null!=r&&(n=t?t(r):r))return n}}hasFocus(){if(x){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if("false"==e.contentEditable)return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&function(e){if(e.setActive)return e.setActive();if(z)return e.focus(z);let t=H(e);e.focus(null==z?{get preventScroll(){return z={preventScroll:!0},!0}}:void 0),z||(z=!1,W(t,0))}(this.dom),Ie(this),this.domObserver.start()}get root(){let e=this._root;if(null==e)for(let t=this.dom.parentNode;t;t=t.parentNode)if(9==t.nodeType||11==t.nodeType&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=()=>t.ownerDocument.getSelection()),this._root=t;return e||document}updateRoot(){this._root=null}posAtCoords(e){return G(this,e)}coordsAtPos(e,t=1){return K(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let r=this.docView.posFromDOM(e,t,n);if(null==r)throw new RangeError("DOM position not inside the editor");return r}endOfTextblock(e,t){return ae(this,t||this.state,e)}pasteHTML(e,t){return jt(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return jt(this,e,null,!0,t||new ClipboardEvent("paste"))}serializeForClipboard(e){return Ze(this,e)}destroy(){this.docView&&(!function(e){e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],nn(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,c=null)}get isDestroyed(){return null==this.docView}dispatchEvent(e){return function(e,t){gt(e,t)||!ut[t.type]||!e.editable&&t.type in dt||ut[t.type](e,t)}(this,e)}domSelectionRange(){let e=this.domSelection();return e?R&&11===this.root.nodeType&&function(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom&&function(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return un(e,n)}let n;function r(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.dom.addEventListener("beforeinput",r,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",r,!0),n?un(e,n):null}
23(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}function wn(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",n=>{if("function"==typeof n&&(n=n(e.state)),n)for(let e in n)"class"==e?t.class+=" "+n[e]:"style"==e?t.style=(t.style?t.style+";":"")+n[e]:t[e]||"contenteditable"==e||"nodeName"==e||(t[e]=String(n[e]))}),t.translate||(t.translate="no"),[zt.node(0,e.state.doc.content.size,t)]}function kn(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:zt.widget(e.state.selection.from,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function Sn(e){return!e.someProp("editable",t=>!1===t(e.state))}function xn(e){let t=Object.create(null);function n(e){for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function Cn(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}_n.prototype.dispatch=function(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}},39919(e,t,n){"use strict";n.r(t),n.d(t,{HotkeysProvider:()=>S,isHotkeyPressed:()=>f,useHotkeys:()=>E,useHotkeysContext:()=>k,useRecordHotkeys:()=>A});var r=n(36665),i=n(60397);const a=["shift","alt","meta","mod","ctrl","control"],o={esc:"escape",return:"enter",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function s(e){return(o[e.trim()]||e.trim()).toLowerCase().replace(/key|digit|numpad/,"")}function l(e){return a.includes(e)}function c(e,t=","){return e.toLowerCase().split(t)}function u(e,t="+",n=">",r=!1,i,o){let l=[],c=!1;(e=e.trim()).includes(n)?(c=!0,l=e.toLocaleLowerCase().split(n).map(e=>s(e))):l=e.toLocaleLowerCase().split(t).map(e=>s(e));return{...{alt:l.includes("alt"),ctrl:l.includes("ctrl")||l.includes("control"),shift:l.includes("shift"),meta:l.includes("meta"),mod:l.includes("mod"),useKey:r},keys:l.filter(e=>!a.includes(e)),description:i,isSequence:c,hotkey:e,metadata:o}}typeof document<"u"&&(document.addEventListener("keydown",e=>{void 0!==e.code&&h([s(e.code)])}),document.addEventListener("keyup",e=>{void 0!==e.code&&m([s(e.code)])})),typeof window<"u"&&(window.addEventListener("blur",()=>{d.clear()}),window.addEventListener("contextmenu",()=>{setTimeout(()=>{d.clear()},0)}));const d=new Set;function p(e){return Array.isArray(e)}function f(e,t=","){return(p(e)?e:e.split(t)).every(e=>d.has(e.trim().toLowerCase()))}function h(e){const t=Array.isArray(e)?e:[e];d.has("meta")&&d.forEach(e=>{l(e)||d.delete(e.toLowerCase())}),t.forEach(e=>{d.add(e.toLowerCase())})}function m(e){const t=Array.isArray(e)?e:[e];"meta"===e?d.clear():t.forEach(e=>{d.delete(e.toLowerCase())})}const g=["input","textarea","select","searchbox","slider","spinbutton","menuitem","menuitemcheckbox","menuitemradio","option","radio","textbox"];function y(e,t=!1){const{target:n,composed:r}=e;let i,a;return function(e){return!!e.tagName&&!e.tagName.startsWith("-")&&e.tagName.includes("-")}(n)&&r?(i=e.composedPath()[0]&&e.composedPath()[0].tagName,a=e.composedPath()[0]&&e.composedPath()[0].role):(i=n&&n.tagName,a=n&&n.role),p(t)?!!(i&&t&&t.some(e=>e.toLowerCase()===i.toLowerCase()||e===a)):!!(i&&t&&t)}const v=(0,r.createContext)(void 0);function b({addHotkey:e,removeHotkey:t,children:n}){return(0,i.jsx)(v.Provider,{value:{addHotkey:e,removeHotkey:t},children:n})}function _(e,t){return e&&t&&"object"==typeof e&&"object"==typeof t?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).reduce((n,r)=>n&&_(e[r],t[r]),!0):e===t}const w=(0,r.createContext)({hotkeys:[],activeScopes:[],toggleScope:()=>{},enableScope:()=>{},disableScope:()=>{}}),k=()=>(0,r.useContext)(w),S=({initiallyActiveScopes:e=["*"],children:t})=>{const[n,a]=(0,r.useState)(e),[o,s]=(0,r.useState)([]),l=(0,r.useCallback)(e=>{a(t=>t.includes("*")?[e]:Array.from(new Set([...t,e])))},[]),c=(0,r.useCallback)(e=>{a(t=>t.filter(t=>t!==e))},[]),u=(0,r.useCallback)(e=>{a(t=>t.includes(e)?t.filter(t=>t!==e):t.includes("*")?[e]:Array.from(new Set([...t,e])))},[]),d=(0,r.useCallback)(e=>{s(t=>[...t,e])},[]),p=(0,r.useCallback)(e=>{s(t=>t.filter(t=>!_(t,e)))},[]);return(0,i.jsx)(w.Provider,{value:{activeScopes:n,hotkeys:o,enableScope:l,disableScope:c,toggleScope:u},children:(0,i.jsx)(b,{addHotkey:d,removeHotkey:p,children:t})})};const x=e=>{e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()},C=typeof window<"u"?r.useLayoutEffect:r.useEffect;function E(e,t,n,i){const a=(0,r.useRef)(null),o=(0,r.useRef)(!1),d=Array.isArray(n)?Array.isArray(i)?void 0:i:n,b=p(e)?e.join(d?.delimiter):e,w=Array.isArray(n)?n:Array.isArray(i)?i:void 0,S=(0,r.useCallback)(t,w??[]),E=(0,r.useRef)(S);E.current=w?S:t;const A=function(e){const t=(0,r.useRef)(void 0);return _(t.current,e)||(t.current=e),t.current}(d),{activeScopes:T}=k(),I=(0,r.useContext)(v);return C(()=>
23{if(!1===A?.enabled||!function(e,t){return(0!==e.length||!t)&&(!t||e.some(e=>t.includes(e))||e.includes("*"))}(T,A?.scopes))return;let e,t=[];const n=(n,r=!1)=>{if(!function(e){return y(e,g)}(n)||y(n,A?.enableOnFormTags)){if(null!==a.current){const e=a.current.getRootNode();if((e instanceof Document||e instanceof ShadowRoot)&&e.activeElement!==a.current&&!a.current.contains(e.activeElement))return void x(n)}n.target?.isContentEditable&&!A?.enableOnContentEditable||c(b,A?.delimiter).forEach(i=>{if(i.includes(A?.splitKey??"+")&&i.includes(A?.sequenceSplitKey??">"))return void console.warn(`Hotkey ${i} contains both ${A?.splitKey??"+"} and ${A?.sequenceSplitKey??">"} which is not supported.`);const a=u(i,A?.splitKey,A?.sequenceSplitKey,A?.useKey,A?.description,A?.metadata);if(a.isSequence){e=setTimeout(()=>{t=[]},A?.sequenceTimeoutMs??1e3);const r=a.useKey?n.key:s(n.code);if(l(r.toLowerCase()))return;t.push(r);const i=a.keys?.[t.length-1];if(r!==i)return t=[],void(e&&clearTimeout(e));t.length===a.keys?.length&&(E.current(n,a),e&&clearTimeout(e),t=[])}else if(((e,t,n=!1)=>{const{alt:r,meta:i,mod:a,shift:o,ctrl:l,keys:c,useKey:u}=t,{code:d,key:p,ctrlKey:h,metaKey:m,shiftKey:g,altKey:y}=e,v=s(d);if(u&&1===c?.length&&c.includes(p.toLowerCase()))return!0;if(!c?.includes(v)&&!["ctrl","control","unknown","meta","alt","shift","os"].includes(v))return!1;if(!n){if(r!==y&&"alt"!==v||o!==g&&"shift"!==v)return!1;if(a){if(!m&&!h)return!1}else if(i!==m&&"meta"!==v&&"os"!==v||l!==h&&"ctrl"!==v&&"control"!==v)return!1}return!(!c||1!==c.length||!c.includes(v))||(c&&c.length>0?!!c.includes(v)&&f(c):!c||0===c.length)})(n,a,A?.ignoreModifiers)||a.keys?.includes("*")){if(A?.ignoreEventWhen?.(n)||r&&o.current)return;if(function(e,t,n){("function"==typeof n&&n(e,t)||!0===n)&&e.preventDefault()}(n,a,A?.preventDefault),!function(e,t,n){return"function"==typeof n?n(e,t):!0===n||void 0===n}(n,a,A?.enabled))return void x(n);E.current(n,a),r||(o.current=!0)}})}},r=e=>{void 0!==e.code&&(h(s(e.code)),(void 0===A?.keydown&&!0!==A?.keyup||A?.keydown)&&n(e))},i=e=>{void 0!==e.code&&(m(s(e.code)),o.current=!1,A?.keyup&&n(e,!0))},p=a.current||d?.document||document;return p.addEventListener("keyup",i,d?.eventListenerOptions),p.addEventListener("keydown",r,d?.eventListenerOptions),I&&c(b,A?.delimiter).forEach(e=>{I.addHotkey(u(e,A?.splitKey,A?.sequenceSplitKey,A?.useKey,A?.description,A?.metadata))}),()=>{p.removeEventListener("keyup",i,d?.eventListenerOptions),p.removeEventListener("keydown",r,d?.eventListenerOptions),I&&c(b,A?.delimiter).forEach(e=>{I.removeHotkey(u(e,A?.splitKey,A?.sequenceSplitKey,A?.useKey,A?.description,A?.metadata))}),t=[],e&&clearTimeout(e)}},[b,A,T]),a}function A(e=!1){const[t,n]=(0,r.useState)(new Set),[i,a]=(0,r.useState)(!1),o=(0,r.useCallback)(t=>{void 0!==t.code&&(t.preventDefault(),t.stopPropagation(),n(n=>{const r=new Set(n);return r.add(s(e?t.key:t.code)),r}))},[e]),l=(0,r.useCallback)(()=>{typeof document<"u"&&(document.removeEventListener("keydown",o),a(!1))},[o]),c=(0,r.useCallback)(()=>{n(new Set),typeof document<"u"&&(l(),document.addEventListener("keydown",o),a(!0))},[o,l]),u=(0,r.useCallback)(()=>{n(new Set)},[]);return[t,{start:c,stop:l,resetKeys:u,isRecording:i}]}},50238(e,t,n){"use strict";n.r(t),n.d(t,{Component:()=>b,ReactCrop:()=>b,areCropsEqual:()=>c,centerCrop:()=>d,clamp:()=>s,cls:()=>l,containCrop:()=>h,convertToPercentCrop:()=>p,convertToPixelCrop:()=>f,default:()=>b,defaultCrop:()=>o,makeAspectCrop:()=>u,nudgeCrop:()=>m});var r=n(36665),i=Object.defineProperty,a=(e,t,n)=>((e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n);const o={x:0,y:0,width:0,height:0,unit:"px"},s=(e,t,n)=>Math.min(Math.max(e,t),n),l=(...e)=>e.filter(e=>e&&"string"==typeof e).join(" "),c=(e,t)=>e===t||e.width===t.width&&e.height===t.height&&e.x===t.x&&e.y===t.y&&e.unit===t.unit;function u(e,t,n,r){const i=f(e,n,r);return e.width&&(i.height=i.width/t),e.height&&(i.width=i.height*t),i.y+i.height>r&&(i.height=r-i.y,i.width=i.height*t),i.x+i.width>n&&(i.width=n-i.x,i.height=i.width/t),"%"===e.unit?p(i,n,r):i}function d(e,t,n){const r=f(e,t,n);return r.x=(t-r.width)/2,r.y=(n-r.height)/2,"%"===e.unit?p(r,t,n):r}function p(e,t,n){return"%"===e.unit?{...o,...e,unit:"%"}:{unit:"%",x:e.x?e.x/t*100:0,y:e.y?e.y/n*100:0,width:e.width?e.width/t*100:0,height:e.height?e.height/n*100:0}}function f(e,t,n){return e.unit?"px"===e.unit?{...o,...e,unit:"px"}:{unit:"px",x:e.x?e.x*t/100:0,y:e.y?e.y*n/100:0,width:e.width?e.width*t/100:0,height:e.height?e.height*n/100:0}:{...o,...e,unit:"px"}}function h(e,t,n,r,i,a=0,o=0,s=r,l=i){const c={...e};let u=Math.min(a,r),d=Math.min(o,i),p=Math.min(s,r),f=Math.min(l,i);t&&(t>1?(u=o?o*t:u,d=u/t,p=s*t):(d=a?a/t:d,u=d*t,f=l/t)),c.y<0&&(c.height=Math.max(c.height+c.y,d),c.y=0),c.x<0&&(c.width=Math.max(c.width+c.x,u),c.x=0);const h=r-(c.x+c.width);h<0&&(c.x=Math.min(c.x,r-u),c.width+=h);const m=i-(c.y+c.height);if(m<0&&(c.y=Math.min(c.y,i-d),c.height+=m),c.width<u&&(("sw"===n||"nw"==n)&&(c.x-=u-c.width),c.width=u),c.height<d&&(("nw"===n||"ne"==n)&&(c.y-=d-c.height),c.height=d),c.width>p&&(("sw"===n||"nw"==n)&&(c.x-=p-c.width),c.width=p),c.height>f&&(("nw"===n||"ne"==n)&&(c.y-=f-c.height),c.height=f),t){const e=c.width/c.height;if(e<t){const e=Math.max(c.width/t,d);("nw"===n||"ne"==n)&&(c.y-=e-c.height),c.height=e}else if(e>t){const e=Math.max(c.height*t,u);("sw"===n||"nw"==n)&&(c.x-=e-c.width),c.width=e}}return c}function m(e,t,n,r){const i={...e};return"ArrowLeft"===t?"nw"===r?(i.x-=n,i.y-=n,i.width+=n,i.height+=n):"w"===r?(i.x-=n,i.width+=n):"sw"===r?(i.x-=n,i.width+=n,i.height+=n):"ne"===r?(i.y+=n,i.width-=n,i.height-=n):"e"===r?i.width-=n:"se"===r&&(i.width-=n,i.height-=n):"ArrowRight"===t&&("nw"===r?(i.x+=n,i.y+=n,i.width-=n,i.height-=n):"w"===r?(i.x+=n,i.width-=n):"sw"===r?(i.x+=n,i.width-=n,i.height-=n):"ne"===r?(i.y-=n,i.width+=n,i.height+=n):"e"===r?i.width+=n:"se"===r&&(i.width+=n,i.height+=n)),"ArrowUp"===t?"nw"===r?(i.x-=n,i.y-=n,i.width+=n,i.height+=n):"n"===r?(i.y-=n,i.height+=n):"ne"===r?(i.y-=n,i.width+=n,i.height+=n):"sw"===r?(i.x+=n,i.width-=n,i.height-=n):"s"===r?i.height-=n:"se"===r&&(i.width-=n,i.height-=n):"ArrowDown"===t&&("nw"===r?(i.x+=n,i.y+=n,i.width-=n,i.height-=n):"n"===r?(i.y+=n,i.height-=n):"ne"===r?(i.y+=n,i.width-=n,i.height-=n):"sw"===r?(i.x-=n,i.width+=n,i.height+=n):"s"===r?i.height+=n:"se"===r&&(i.width+=n,i.height+=n)),i}const g={capture:!0,passive:!1};let y=0;const v=class e extends r.PureComponent{constructor(){super(...arguments),a(this,"docMoveBound",!1),a(this,"mouseDownOnCrop",!1),a(this,"dragStarted",!1),a(this,"evData",{startClientX:0,startClientY:0,startCropX:0,startCropY:0,clientX:0,clientY:0,isResize:!0}),a(this,"componentRef",(0,r.createRef)()),a(this,"mediaRef",(0,r.createRef)()),a(this,"resizeObserver"),a(this,"initChangeCalled",!1),a(this,"instanceId","rc-"+y++),a(this,"state",{cropIsActive:!1,newCropIsBeingDrawn:!1}),a(this,"onCropPointerDown",e=>{const{crop:t,disabled:n}=this.props,r=this.getBox();if(!t)return;const i=f(t,r.width,r.height);if(n)return;e.cancelable&&e.preventDefault(),this.bindDocMove(),this.componentRef.current.focus({preventScroll:!0});const a=e.target.dataset.ord,o=!!a;let s=e.clientX,l=e.clientY,c=i.x,u=i.y;if(a){const t=e.clientX-r.x,n=e.clientY-r.y;let o=0,d=0;"ne"===a||"e"==a?(o=t-(i.x+i.width),d=n-i.y,c=i.x,u=i.y+i.height):"se"===a||"s"===a?(o=t-(i.x+i.width),d=n-(i.y+i.height),c=i.x,u=i.y):"sw"===a||"w"==a?(o=t-i.x,d=n-(i.y+i.height),c=i.x+i.width,u=i.y):("nw"===a||"n"==a)&&(o=t-i.x,d=n-i.y,c=i.x+i.width,u=i.y+i.height),s=c+r.x+o,l=u+r.y+d}this.evData={startClientX:s,startClientY:l,startCropX:c,startCropY:u,clientX:e.clientX,clientY:e.clientY,isResize:o,ord:a},this.mouseDownOnCrop=!0,this.setState({cropIsActive:!0})}),a(this,"onComponentPointerDown",e=>{const{crop:t,disabled:n,locked:r,keepSelection:i,onChange:a}=this.props,o=this.getBox();if(n||r||i&&t)return;e.cancelable&&e.preventDefault(),this.bindDocMove(),this.componentRef.current.focus({preventScroll:!0});const s=e.clientX-o.x,l=e.clientY-o.y,c={unit:"px",x:s,y:l,width:0,height:0};this.evData={startClientX:e.clientX,startClientY:e.clientY,startCropX:s,startCropY:l,clientX:e.clientX,clientY:e.clientY,isResize:!0},this.mouseDownOnCrop=!0,a(f(c,o.width,o.height),p(c,o.width,o.height)),this.setState({cropIsActive:!0,newCropIsBeingDrawn:!0})}),a(this,"onDocPointerMove",e=>{const{crop:t,disabled:n,onChange:r,onDragStart:i}=this.props,a=this.getBox();if(n||!t||!this.mouseDownOnCrop)return;e.cancelable&&e.preventDefault(),this.dragStarted||(this.dragStarted=!0,i&&i(e));const{evData:o}=this;let s;o.clientX=e.clientX,o.clientY=e.clientY,s=o.isResize?this.resizeCrop():this.dragCrop(),c(t,s)||r(f(s,a.width,a.height),p(s,a.width,a.height))}),a(this,"onComponentKeyDown",t=>{const{crop:n,disabled:r,onChange:i,onComplete:a}=this.props;if(r)return;const o=t.key;let l=!1;if(!n)return;const c=this.getBox(),u=this.makePixelCrop(c),d=(navigator.platform.match("Mac")?t.metaKey:t.ctrlKey)?e.nudgeStepLarge:t.shiftKey?e.nudgeStepMedium:e.nudgeStep;if("ArrowLeft"===o?(u.x-=d,l=!0):"ArrowRight"===o?(u.x+=d,l=!0):"ArrowUp"===o?(u.y-=d,l=!0):"ArrowDown"===o&&(u.y+=d,l=!0),l){t.cancelable&&t.preventDefault(),u.x=s(u.x,0,c.width-u.width),u.y=s(u.y,0,c.height-u.height);const e=f(u,c.width,c.height),n=p(u,c.width,c.height);i(e,n),a&&a(e,n)}}),a(this,"onHandlerKeyDown",(t,n)=>{const{aspect:r=0,crop:i,disabled:a,minWidth:o=0,minHeight:s=0,maxWidth:l,maxHeight:u,onChange:d,onComplete:g}=this.props,y=this.getBox();if(a||!i)return;if("ArrowUp"!==t.key&&"ArrowDown"!==t.key&&"ArrowLeft"!==t.key&&"ArrowRight"!==t.key)return;t.stopPropagation(),t.preventDefault();const v=(navigator.platform.match("Mac")?t.metaKey:t.ctrlKey)?e.nudgeStepLarge:t.shiftKey?e.nudgeStepMedium:e.nudgeStep,b=h(m(f(i,y.width,y.height),t.key,v,n),r,n,y.width,y.height,o,s,l,u);if(!c(i,b)){const e=p(b,y.width,y.height);d(b,e),g&&g(b,e)}}),a(this,"onDocPointerDone",e=>{const{crop:t,disabled:n,onComplete:r,onDragEnd:i}=this.props,a=this.getBox();this.unbindDocMove(),!n&&t&&this.mouseDownOnCrop&&(this.mouseDownOnCrop=!1,this.dragStarted=!1,i&&i(e),r&&r(f(t,a.width,a.height),p(t,a.width,a.height)),this.setState({cropIsActive:!1,newCropIsBeingDrawn:!1}))}),a(this,"onDragFocus",()=>{var e;null==(e=this.componentRef.current)||e.scrollTo(0,0)})}get document(){return document}getBox(){const e=this.mediaRef.current;if(!e)return{x:0,y:0,width:0,height:0};const{x:t,y:n,width:r,height:i}=e.getBoundingClientRect();return{x:t,y:n,width:r,height:i}}componentDidUpdate(e){const{crop:t,onComplete:n}=this.props;if(n&&!e.crop&&t){const{width:e,height:r}=this.getBox();e&&r&&n(f(t,e,r),p(t,e,r))}}componentWillUnmount(){this.resizeObserver&&this.resizeObserver.disconnect(),this.unbindDocMove()}bindDocMove(){this.docMoveBound||(this.document.addEventListener("pointermove",this.onDocPointerMove,g),this.document.addEventListener("pointerup",this.onDocPointerDone,g),this.document.addEventListener("pointercancel",this.onDocPointerDone,g),this.docMoveBound=!0)}
23unbindDocMove(){this.docMoveBound&&(this.document.removeEventListener("pointermove",this.onDocPointerMove,g),this.document.removeEventListener("pointerup",this.onDocPointerDone,g),this.document.removeEventListener("pointercancel",this.onDocPointerDone,g),this.docMoveBound=!1)}getCropStyle(){const{crop:e}=this.props;if(e)return{top:`${e.y}${e.unit}`,left:`${e.x}${e.unit}`,width:`${e.width}${e.unit}`,height:`${e.height}${e.unit}`}}dragCrop(){const{evData:e}=this,t=this.getBox(),n=this.makePixelCrop(t),r=e.clientX-e.startClientX,i=e.clientY-e.startClientY;return n.x=s(e.startCropX+r,0,t.width-n.width),n.y=s(e.startCropY+i,0,t.height-n.height),n}getPointRegion(e,t,n,r){const{evData:i}=this,a=i.clientX-e.x,o=i.clientY-e.y;let s,l;return s=r&&t?"nw"===t||"n"===t||"ne"===t:o<i.startCropY,l=n&&t?"nw"===t||"w"===t||"sw"===t:a<i.startCropX,l?s?"nw":"sw":s?"ne":"se"}resolveMinDimensions(e,t,n=0,r=0){const i=Math.min(n,e.width),a=Math.min(r,e.height);return t&&(i||a)?t>1?i?[i,i/t]:[a*t,a]:a?[a*t,a]:[i,i/t]:[i,a]}resizeCrop(){const{evData:t}=this,{aspect:n=0,maxWidth:r,maxHeight:i}=this.props,a=this.getBox(),[o,l]=this.resolveMinDimensions(a,n,this.props.minWidth,this.props.minHeight);let c=this.makePixelCrop(a);const u=this.getPointRegion(a,t.ord,o,l),d=t.ord||u;let p=t.clientX-t.startClientX,f=t.clientY-t.startClientY;(o&&"nw"===d||"w"===d||"sw"===d)&&(p=Math.min(p,-o)),(l&&"nw"===d||"n"===d||"ne"===d)&&(f=Math.min(f,-l));const m={unit:"px",x:0,y:0,width:0,height:0};"ne"===u?(m.x=t.startCropX,m.width=p,n?(m.height=m.width/n,m.y=t.startCropY-m.height):(m.height=Math.abs(f),m.y=t.startCropY-m.height)):"se"===u?(m.x=t.startCropX,m.y=t.startCropY,m.width=p,m.height=n?m.width/n:f):"sw"===u?(m.x=t.startCropX+p,m.y=t.startCropY,m.width=Math.abs(p),m.height=n?m.width/n:f):"nw"===u&&(m.x=t.startCropX+p,m.width=Math.abs(p),n?(m.height=m.width/n,m.y=t.startCropY-m.height):(m.height=Math.abs(f),m.y=t.startCropY+f));const g=h(m,n,u,a.width,a.height,o,l,r,i);return n||e.xyOrds.indexOf(d)>-1?c=g:e.xOrds.indexOf(d)>-1?(c.x=g.x,c.width=g.width):e.yOrds.indexOf(d)>-1&&(c.y=g.y,c.height=g.height),c.x=s(c.x,0,a.width-c.width),c.y=s(c.y,0,a.height-c.height),c}renderCropSelection(){const{ariaLabels:t=e.defaultProps.ariaLabels,disabled:n,locked:i,renderSelectionAddon:a,ruleOfThirds:o,crop:s}=this.props,l=this.getCropStyle();if(s)return r.createElement("div",{style:l,className:"ReactCrop__crop-selection",onPointerDown:this.onCropPointerDown,"aria-label":t.cropArea,tabIndex:0,onKeyDown:this.onComponentKeyDown,role:"group"},!n&&!i&&r.createElement("div",{className:"ReactCrop__drag-elements",onFocus:this.onDragFocus},r.createElement("div",{className:"ReactCrop__drag-bar ord-n","data-ord":"n"}),r.createElement("div",{className:"ReactCrop__drag-bar ord-e","data-ord":"e"}),r.createElement("div",{className:"ReactCrop__drag-bar ord-s","data-ord":"s"}),r.createElement("div",{className:"ReactCrop__drag-bar ord-w","data-ord":"w"}),r.createElement("div",{className:"ReactCrop__drag-handle ord-nw","data-ord":"nw",tabIndex:0,"aria-label":t.nwDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"nw"),role:"button"}),r.createElement("div",{className:"ReactCrop__drag-handle ord-n","data-ord":"n",tabIndex:0,"aria-label":t.nDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"n"),role:"button"}),r.createElement("div",{className:"ReactCrop__drag-handle ord-ne","data-ord":"ne",tabIndex:0,"aria-label":t.neDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"ne"),role:"button"}),r.createElement("div",{className:"ReactCrop__drag-handle ord-e","data-ord":"e",tabIndex:0,"aria-label":t.eDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"e"),role:"button"}),r.createElement("div",{className:"ReactCrop__drag-handle ord-se","data-ord":"se",tabIndex:0,"aria-label":t.seDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"se"),role:"button"}),r.createElement("div",{className:"ReactCrop__drag-handle ord-s","data-ord":"s",tabIndex:0,"aria-label":t.sDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"s"),role:"button"}),r.createElement("div",{className:"ReactCrop__drag-handle ord-sw","data-ord":"sw",tabIndex:0,"aria-label":t.swDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"sw"),role:"button"}),r.createElement("div",{className:"ReactCrop__drag-handle ord-w","data-ord":"w",tabIndex:0,"aria-label":t.wDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"w"),role:"button"})),a&&r.createElement("div",{className:"ReactCrop__selection-addon",onPointerDown:e=>e.stopPropagation()},a(this.state)),o&&r.createElement(r.Fragment,null,r.createElement("div",{className:"ReactCrop__rule-of-thirds-hz"}),r.createElement("div",{className:"ReactCrop__rule-of-thirds-vt"})))}makePixelCrop(e){return f({...o,...this.props.crop||{}},e.width,e.height)}render(){const{aspect:e,children:t,circularCrop:n,className:i,crop:a,disabled:o,locked:s,style:c,ruleOfThirds:u}=this.props,{cropIsActive:d,newCropIsBeingDrawn:p}=this.state,f=a?this.renderCropSelection():null,h=l("ReactCrop",i,d&&"ReactCrop--active",o&&"ReactCrop--disabled",s&&"ReactCrop--locked",p&&"ReactCrop--new-crop",a&&e&&"ReactCrop--fixed-aspect",a&&n&&"ReactCrop--circular-crop",a&&u&&"ReactCrop--rule-of-thirds",!this.dragStarted&&a&&!a.width&&!a.height&&"ReactCrop--invisible-crop",n&&"ReactCrop--no-animate");return r.createElement("div",{ref:this.componentRef,className:h,style:c},r.createElement("div",{ref:this.mediaRef,className:"ReactCrop__child-wrapper",onPointerDown:this.onComponentPointerDown},t),a?r.createElement("svg",{className:"ReactCrop__crop-mask",width:"100%",height:"100%"},r.createElement("defs",null,r.createElement("mask",{id:`hole-${this.instanceId}`},r.createElement("rect",{width:"100%",height:"100%",fill:"white"}),n?r.createElement("ellipse",{cx:`${a.x+a.width/2}${a.unit}`,cy:`${a.y+a.height/2}${a.unit}`,rx:`${a.width/2}${a.unit}`,ry:`${a.height/2}${a.unit}`,fill:"black"}):r.createElement("rect",{x:`${a.x}${a.unit}`,y:`${a.y}${a.unit}`,width:`${a.width}${a.unit}`,height:`${a.height}${a.unit}`,fill:"black"}))),r.createElement("rect",{fill:"black",fillOpacity:.5,width:"100%",height:"100%",mask:`url(#hole-${this.instanceId})`})):void 0,f)}};a(v,"xOrds",["e","w"]),a(v,"yOrds",["n","s"]),a(v,"xyOrds",["nw","ne","se","sw"]),a(v,"nudgeStep",1),a(v,"nudgeStepMedium",10),a(v,"nudgeStepLarge",100),a(v,"defaultProps",{ariaLabels:{cropArea:"Use the arrow keys to move the crop selection area",nwDragHandle:"Use the arrow keys to move the north west drag handle to change the crop selection area",nDragHandle:"Use the up and down arrow keys to move the north drag handle to change the crop selection area",neDragHandle:"Use the arrow keys to move the north east drag handle to change the crop selection area",eDragHandle:"Use the up and down arrow keys to move the east drag handle to change the crop selection area",seDragHandle:"Use the arrow keys to move the south east drag handle to change the crop selection area",sDragHandle:"Use the up and down arrow keys to move the south drag handle to change the crop selection area",swDragHandle:"Use the arrow keys to move the south west drag handle to change the crop selection area",wDragHandle:"Use the up and down arrow keys to move the west drag handle to change the crop selection area"}});let b=v},79476(t,n,r){"use strict";r.r(n),r.d(n,{Toaster:()=>E,toast:()=>y,useSonner:()=>C});var i=r(36665),a=r(33672);const o=Array(12).fill(0),s=({visible:e,className:t})=>i.createElement("div",{className:["sonner-loading-wrapper",t].filter(
23Boolean).join(" "),"data-visible":e},i.createElement("div",{className:"sonner-spinner"},o.map((e,t)=>i.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),l=i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},i.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),c=i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},i.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),u=i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},i.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),d=i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},i.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),p=i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},i.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),i.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}));let f=1;const h=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;const{message:n,...r}=e,i="number"===typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:f++,a=this.toasts.find(e=>e.id===i),o=void 0===e.dismissible||e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),a?this.toasts=this.toasts.map(t=>t.id===i?(this.publish({...t,...e,id:i,title:n}),{...t,...e,id:i,dismissible:o,title:n}):t):this.addToast({title:n,...r,dismissible:o,id:i}),i},this.dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
23this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;void 0!==t.loading&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!==typeof t.description?t.description:void 0}));const r=Promise.resolve(e instanceof Function?e():e);let a,o=void 0!==n;const s=r.then(async e=>{a=["resolve",e];if(i.isValidElement(e))o=!1,this.create({id:n,type:"default",message:e});else if(m(e)&&!e.ok){o=!1;const r="function"===typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,a="function"===typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description,s="object"===typeof r&&!i.isValidElement(r)?r:{message:r};this.create({id:n,type:"error",description:a,...s})}else if(e instanceof Error){o=!1;const r="function"===typeof t.error?await t.error(e):t.error,a="function"===typeof t.description?await t.description(e):t.description,s="object"===typeof r&&!i.isValidElement(r)?r:{message:r};this.create({id:n,type:"error",description:a,...s})}else if(void 0!==t.success){o=!1;const r="function"===typeof t.success?await t.success(e):t.success,a="function"===typeof t.description?await t.description(e):t.description,s="object"===typeof r&&!i.isValidElement(r)?r:{message:r};this.create({id:n,type:"success",description:a,...s})}}).catch(async e=>{if(a=["reject",e],void 0!==t.error){o=!1;const r="function"===typeof t.error?await t.error(e):t.error,a="function"===typeof t.description?await t.description(e):t.description,s="object"===typeof r&&!i.isValidElement(r)?r:{message:r};this.create({id:n,type:"error",description:a,...s})}}).finally(()=>{o&&(this.dismiss(n),n=void 0),null==t.finally||t.finally.call(t)}),l=()=>new Promise((e,t)=>s.then(()=>"reject"===a[0]?t(a[1]):e(a[1])).catch(t));return"string"!==typeof n&&"number"!==typeof n?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{const n=(null==t?void 0:t.id)||f++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},m=e=>e&&"object"===typeof e&&"ok"in e&&"boolean"===typeof e.ok&&"status"in e&&"number"===typeof e.status,g=(e,t)=>{const n=(null==t?void 0:t.id)||f++;return h.addToast({title:e,...t,id:n}),n},y=Object.assign(g,{success:h.success,info:h.info,warning:h.warning,error:h.error,custom:h.custom,message:h.message,promise:h.promise,dismiss:h.dismiss,loading:h.loading},{getHistory:()=>h.toasts,getToasts:()=>h.getActiveToasts()});function v(e){return void 0!==e.label}!function(e){if(!e||"undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;
23left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}
23[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);
23--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");const b=3,_=14;function w(...e){return e.filter(Boolean).join(" ")}const k=e=>{var t,n,r,a,o,f,h,m,g;const{invert:y,toast:b,unstyled:_,interacting:k,setHeights:S,visibleToasts:x,heights:C,index:E,toasts:A,expanded:T,removeToast:I,defaultRichColors:R,closeButton:O,style:D,cancelButtonStyle:N,actionButtonStyle:j,className:F="",descriptionClassName:M="",duration:V,position:P,gap:L,expandByDefault:B,classNames:H,icons:W,closeButtonAriaLabel:z="Close toast"}=e,[Y,U]=i.useState(null),[X,G]=i.useState(null),[q,J]=i.useState(!1),[$,K]=i.useState(!1),[Z,Q]=i.useState(!1),[ee,te]=i.useState(!1),[ne,re]=i.useState(!1),[ie,ae]=i.useState(0),[oe,se]=i.useState(0),le=i.useRef(b.duration||V||4e3),ce=i.useRef(null),ue=i.useRef(null),de=0===E,pe=E+1<=x,fe=b.type,he=!1!==b.dismissible,me=b.className||"",ge=b.descriptionClassName||"",ye=i.useMemo(()=>C.findIndex(e=>e.toastId===b.id)||0,[C,b.id]),ve=i.useMemo(()=>{var e;return null!=(e=b.closeButton)?e:O},[b.closeButton,O]),be=i.useMemo(()=>b.duration||V||4e3,[b.duration,V]),_e=i.useRef(0),we=i.useRef(0),ke=i.useRef(0),Se=i.useRef(null),[xe,Ce]=P.split("-"),Ee=i.useMemo(()=>
23C.reduce((e,t,n)=>n>=ye?e:e+t.height,0),[C,ye]),Ae=(()=>{const[e,t]=i.useState(document.hidden);return i.useEffect(()=>{const e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)},[]),e})(),Te=b.invert||y,Ie="loading"===fe;we.current=i.useMemo(()=>ye*L+Ee,[ye,Ee]),i.useEffect(()=>{le.current=be},[be]),i.useEffect(()=>{J(!0)},[]),i.useEffect(()=>{const e=ue.current;if(e){const t=e.getBoundingClientRect().height;return se(t),S(e=>[{toastId:b.id,height:t,position:b.position},...e]),()=>S(e=>e.filter(e=>e.toastId!==b.id))}},[S,b.id]),i.useLayoutEffect(()=>{if(!q)return;const e=ue.current,t=e.style.height;e.style.height="auto";const n=e.getBoundingClientRect().height;e.style.height=t,se(n),S(e=>e.find(e=>e.toastId===b.id)?e.map(e=>e.toastId===b.id?{...e,height:n}:e):[{toastId:b.id,height:n,position:b.position},...e])},[q,b.title,b.description,S,b.id,b.jsx,b.action,b.cancel]);const Re=i.useCallback(()=>{K(!0),ae(we.current),S(e=>e.filter(e=>e.toastId!==b.id)),setTimeout(()=>{I(b)},200)},[b,I,S,we]);i.useEffect(()=>{if(b.promise&&"loading"===fe||b.duration===1/0||"loading"===b.type)return;let e;return T||k||Ae?(()=>{if(ke.current<_e.current){const e=(new Date).getTime()-_e.current;le.current=le.current-e}ke.current=(new Date).getTime()})():le.current!==1/0&&(_e.current=(new Date).getTime(),e=setTimeout(()=>{null==b.onAutoClose||b.onAutoClose.call(b,b),Re()},le.current)),()=>clearTimeout(e)},[T,k,b,fe,Ae,Re]),i.useEffect(()=>{b.delete&&(Re(),null==b.onDismiss||b.onDismiss.call(b,b))},[Re,b.delete]);const Oe=b.icon||(null==W?void 0:W[fe])||(e=>{switch(e){case"success":return l;case"info":return u;case"warning":return c;case"error":return d;default:return null}})(fe);var De,Ne;return i.createElement("li",{tabIndex:0,ref:ue,className:w(F,me,null==H?void 0:H.toast,null==b||null==(t=b.classNames)?void 0:t.toast,null==H?void 0:H.default,null==H?void 0:H[fe],null==b||null==(n=b.classNames)?void 0:n[fe]),"data-sonner-toast":"","data-rich-colors":null!=(De=b.richColors)?De:R,"data-styled":!Boolean(b.jsx||b.unstyled||_),"data-mounted":q,"data-promise":Boolean(b.promise),"data-swiped":ne,"data-removed":$,"data-visible":pe,"data-y-position":xe,"data-x-position":Ce,"data-index":E,"data-front":de,"data-swiping":Z,"data-dismissible":he,"data-type":fe,"data-invert":Te,"data-swipe-out":ee,"data-swipe-direction":X,"data-expanded":Boolean(T||B&&q),"data-testid":b.testId,style:{"--index":E,"--toasts-before":E,"--z-index":A.length-E,"--offset":`${$?ie:we.current}px`,"--initial-height":B?"auto":`${oe}px`,...D,...b.style},onDragEnd:()=>{Q(!1),U(null),Se.current=null},onPointerDown:e=>{2!==e.button&&!Ie&&he&&(ce.current=new Date,ae(we.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(Q(!0),Se.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,n;if(ee||!he)return;Se.current=null;const r=Number((null==(e=ue.current)?void 0:e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),i=Number((null==(t=ue.current)?void 0:t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),a=(new Date).getTime()-(null==(n=ce.current)?void 0:n.getTime()),o="x"===Y?r:i,s=Math.abs(o)/a;if(Math.abs(o)>=45||s>.11)return ae(we.current),null==b.onDismiss||b.onDismiss.call(b,b),G("x"===Y?r>0?"right":"left":i>0?"down":"up"),Re(),void te(!0);var l,c;null==(l=ue.current)||l.style.setProperty("--swipe-amount-x","0px"),null==(c=ue.current)||c.style.setProperty("--swipe-amount-y","0px"),re(!1),Q(!1),U(null)},onPointerMove:t=>{var n,r,i;if(!Se.current||!he)return;if((null==(n=window.getSelection())?void 0:n.toString().length)>0)return;const a=t.clientY-Se.current.y,o=t.clientX-Se.current.x;var s;const l=null!=(s=e.swipeDirections)?s:function(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}(P);!Y&&(Math.abs(o)>1||Math.abs(a)>1)&&U(Math.abs(o)>Math.abs(a)?"x":"y");let c={x:0,y:0};const u=e=>1/(1.5+Math.abs(e)/20);if("y"===Y){if(l.includes("top")||l.includes("bottom"))if(l.includes("top")&&a<0||l.includes("bottom")&&a>0)c.y=a;else{const e=a*u(a);c.y=Math.abs(e)<Math.abs(a)?e:a}}else if("x"===Y&&(l.includes("left")||l.includes("right")))if(l.includes("left")&&o<0||l.includes("right")&&o>0)c.x=o;else{const e=o*u(o);c.x=Math.abs(e)<Math.abs(o)?e:o}(Math.abs(c.x)>0||Math.abs(c.y)>0)&&re(!0),null==(r=ue.current)||r.style.setProperty("--swipe-amount-x",`${c.x}
23px`),null==(i=ue.current)||i.style.setProperty("--swipe-amount-y",`${c.y}px`)}},ve&&!b.jsx&&"loading"!==fe?i.createElement("button",{"aria-label":z,"data-disabled":Ie,"data-close-button":!0,onClick:Ie||!he?()=>{}:()=>{Re(),null==b.onDismiss||b.onDismiss.call(b,b)},className:w(null==H?void 0:H.closeButton,null==b||null==(r=b.classNames)?void 0:r.closeButton)},null!=(Ne=null==W?void 0:W.close)?Ne:p):null,(fe||b.icon||b.promise)&&null!==b.icon&&(null!==(null==W?void 0:W[fe])||b.icon)?i.createElement("div",{"data-icon":"",className:w(null==H?void 0:H.icon,null==b||null==(a=b.classNames)?void 0:a.icon)},b.promise||"loading"===b.type&&!b.icon?b.icon||function(){var e,t;return(null==W?void 0:W.loading)?i.createElement("div",{className:w(null==H?void 0:H.loader,null==b||null==(t=b.classNames)?void 0:t.loader,"sonner-loader"),"data-visible":"loading"===fe},W.loading):i.createElement(s,{className:w(null==H?void 0:H.loader,null==b||null==(e=b.classNames)?void 0:e.loader),visible:"loading"===fe})}():null,"loading"!==b.type?Oe:null):null,i.createElement("div",{"data-content":"",className:w(null==H?void 0:H.content,null==b||null==(o=b.classNames)?void 0:o.content)},i.createElement("div",{"data-title":"",className:w(null==H?void 0:H.title,null==b||null==(f=b.classNames)?void 0:f.title)},b.jsx?b.jsx:"function"===typeof b.title?b.title():b.title),b.description?i.createElement("div",{"data-description":"",className:w(M,ge,null==H?void 0:H.description,null==b||null==(h=b.classNames)?void 0:h.description)},"function"===typeof b.description?b.description():b.description):null),i.isValidElement(b.cancel)?b.cancel:b.cancel&&v(b.cancel)?i.createElement("button",{"data-button":!0,"data-cancel":!0,style:b.cancelButtonStyle||N,onClick:e=>{v(b.cancel)&&he&&(null==b.cancel.onClick||b.cancel.onClick.call(b.cancel,e),Re())},className:w(null==H?void 0:H.cancelButton,null==b||null==(m=b.classNames)?void 0:m.cancelButton)},b.cancel.label):null,i.isValidElement(b.action)?b.action:b.action&&v(b.action)?i.createElement("button",{"data-button":!0,"data-action":!0,style:b.actionButtonStyle||j,onClick:e=>{v(b.action)&&(null==b.action.onClick||b.action.onClick.call(b.action,e),e.defaultPrevented||Re())},className:w(null==H?void 0:H.actionButton,null==b||null==(g=b.classNames)?void 0:g.actionButton)},b.action.label):null)};function S(){if("undefined"===typeof window)return"ltr";if("undefined"===typeof document)return"ltr";const e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}function x(e,t){const n={};return[e,t].forEach((e,t)=>{const r=1===t,i=r?"--mobile-offset":"--offset",a=r?"16px":"24px";function o(e){["top","right","bottom","left"].forEach(t=>{n[`${i}-${t}`]="number"===typeof e?`${e}px`:e})}"number"===typeof e||"string"===typeof e?o(e):"object"===typeof e?["top","right","bottom","left"].forEach(t=>{void 0===e[t]?n[`${i}-${t}`]=a:n[`${i}-${t}`]="number"===typeof e[t]?`${e[t]}px`:e[t]}):o(a)}),n}function C(){const[e,t]=i.useState([]);return i.useEffect(()=>h.subscribe(e=>{e.dismiss?setTimeout(()=>{a.flushSync(()=>{t(t=>t.filter(t=>t.id!==e.id))})}):setTimeout(()=>{a.flushSync(()=>{t(t=>{const n=t.findIndex(t=>t.id===e.id);return-1!==n?[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]:[e,...t]})})})}),[]),{toasts:e}}const E=i.forwardRef(function(t,n){const{id:r,invert:o,position:s="bottom-right",hotkey:l=["altKey","KeyT"],expand:c,closeButton:u,className:d,offset:p,mobileOffset:f,theme:m="light",richColors:g,duration:y,style:v,visibleToasts:w=b,toastOptions:C,dir:E=S(),gap:A=_,icons:T,containerAriaLabel:I="Notifications"}=t,[R,O]=i.useState([]),D=i.useMemo(()=>r?R.filter(e=>e.toasterId===r):R.filter(e=>!e.toasterId),[R,r]),N=i.useMemo(()=>Array.from(new Set([s].concat(D.filter(e=>e.position).map(e=>e.position)))),[D,s]),[j,F]=i.useState([]),[M,V]=i.useState(!1),[P,L]=i.useState(!1),[B,H]=i.useState("system"!==m?m:"undefined"!==typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),W=i.useRef(null),z=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),Y=i.useRef(null),U=i.useRef(!1),X=i.useCallback(e=>{O(t=>{var n;return(null==(n=t.find(t=>
23t.id===e.id))?void 0:n.delete)||h.dismiss(e.id),t.filter(({id:t})=>t!==e.id)})},[]);return i.useEffect(()=>h.subscribe(e=>{e.dismiss?requestAnimationFrame(()=>{O(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t))}):setTimeout(()=>{a.flushSync(()=>{O(t=>{const n=t.findIndex(t=>t.id===e.id);return-1!==n?[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]:[e,...t]})})})}),[R]),i.useEffect(()=>{if("system"!==m)return void H(m);if("system"===m&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?H("dark"):H("light")),"undefined"===typeof window)return;const t=window.matchMedia("(prefers-color-scheme: dark)");try{t.addEventListener("change",({matches:e})=>{H(e?"dark":"light")})}catch(n){t.addListener(({matches:t})=>{try{H(t?"dark":"light")}catch(e){console.error(e)}})}},[m]),i.useEffect(()=>{R.length<=1&&V(!1)},[R]),i.useEffect(()=>{const e=e=>{var t;var n;l.every(t=>e[t]||e.code===t)&&(V(!0),null==(n=W.current)||n.focus());"Escape"!==e.code||document.activeElement!==W.current&&!(null==(t=W.current)?void 0:t.contains(document.activeElement))||V(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[l]),i.useEffect(()=>{if(W.current)return()=>{Y.current&&(Y.current.focus({preventScroll:!0}),Y.current=null,U.current=!1)}},[W.current]),i.createElement("section",{ref:n,"aria-label":`${I} ${z}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},N.map((e,n)=>{var r;const[a,s]=e.split("-");return D.length?i.createElement("ol",{key:e,dir:"auto"===E?S():E,tabIndex:-1,ref:W,className:d,"data-sonner-toaster":!0,"data-sonner-theme":B,"data-y-position":a,"data-x-position":s,style:{"--front-toast-height":`${(null==(r=j[0])?void 0:r.height)||0}px`,"--width":"356px","--gap":`${A}px`,...v,...x(p,f)},onBlur:e=>{U.current&&!e.currentTarget.contains(e.relatedTarget)&&(U.current=!1,Y.current&&(Y.current.focus({preventScroll:!0}),Y.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||U.current||(U.current=!0,Y.current=e.relatedTarget)},onMouseEnter:()=>V(!0),onMouseMove:()=>V(!0),onMouseLeave:()=>{P||V(!1)},onDragEnd:()=>V(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||L(!0)},onPointerUp:()=>L(!1)},D.filter(t=>!t.position&&0===n||t.position===e).map((n,r)=>{var a,s;return i.createElement(k,{key:n.id,icons:T,index:r,toast:n,defaultRichColors:g,duration:null!=(a=null==C?void 0:C.duration)?a:y,className:null==C?void 0:C.className,descriptionClassName:null==C?void 0:C.descriptionClassName,invert:o,visibleToasts:w,closeButton:null!=(s=null==C?void 0:C.closeButton)?s:u,interacting:P,position:e,style:null==C?void 0:C.style,unstyled:null==C?void 0:C.unstyled,classNames:null==C?void 0:C.classNames,cancelButtonStyle:null==C?void 0:C.cancelButtonStyle,actionButtonStyle:null==C?void 0:C.actionButtonStyle,closeButtonAriaLabel:null==C?void 0:C.closeButtonAriaLabel,removeToast:X,toasts:D.filter(e=>e.position==n.position),heights:j.filter(e=>e.position==n.position),setHeights:F,expandByDefault:c,gap:A,expanded:M,swipeDirections:t.swipeDirections})})):null}))})},93438(e,t,n){"use strict";function r(e,t=""){let n=[],r=e.split(",").map(e=>e?parseInt(e,36):0),i=0;for(let a=0;a<r.length;a++)a%2?n.push([i,i+r[a],t?parseInt(t[a>>1],36):0]):i=r[a];return n}function i(e,t,n=0,r=t.length-1){for(;n<=r;){let i=n+r>>>1,a=t[i];if(e<a[0])r=i-1;else{if(!(e>a[1]))return i;n=i+1}}return-1}n.r(t),n.d(t,{GraphemeCategory:()=>a,countGrapheme:()=>c,countGraphemes:()=>c,graphemeSegments:()=>l,splitGraphemes:()=>u});const a={Any:0,CR:1,Control:2,Extend:3,Extended_Pictographic:4,L:5,LF:6,LV:7,LVT:8,Prepend:9,Regional_Indicator:10,SpacingMark:11,T:12,V:13,ZWJ:14},o=r(",9,a,,b,1,d,,e,h,3j,w,4p,,4t,,4u,,lc,33,w3,6,13l,18,14v,,14x,1,150,1,153,,16o,5,174,a,17g,,18r,k,19s,,1cm,6,1ct,,1cv,5,1d3,1,1d6,3,1e7,,1e9,,1f4,q,1ie,a,1kb,8,1kt,,1li,3,1ln,8,1lx,2,1m1,4,1nd,2,1ow,1,1p3,8,1qi,n,1r6,,1r7,v,1s3,,1tm,,1tn,,1to,,1tq,2,1tt,7,1u1,3,1u5,,1u6,1,1u9,6,1uq,1,1vl,,1vm,1,1x8,,1xa,,1xb,1,1xd,3,1xj,1,1xn,1,1xp,,1xz,,1ya,1,1z2,,1z5,1,1z7,,20s,,20u,2,20x,1,213,1,217,2,21d,,228,1,22d,,22p,1,22r,,24c,,24e,2,24h,4,24n,1,24p,,24r,1,24t,,25e,1,262,5,269,,26a,1,27w,,27y,1,280,,281,3,287,1,28b,1,28d,,28l,2,28y,1,29u,,2bi,,2bj,,2bk,,2bl,1,2bq,2,2bu,2,2bx,,2c7,,2dc,,2dd,2,2dg,,2f0,,2f2,2,2f5,3,2fa,2,2fe,3,2fp,1,2g2,1,2gx,,2gy,1,2ik,,2im,,2in,1,2ip,,2iq,,2ir,1,2iu,2,2iy,3,2j9,1,2jm,1,2k3,,2kg,1,2ki,1,2m3,1,2m6,,2m7,1,2m9,3,2me,2,2mi,2,2ml,,2mm,,2mv,,2n6,1,2o1,,2o2,1,2q2,,2q7,,2q8,1,2qa,2,2qe,,2qg,6,2qn,,2r6,1,2sx,,2sz,,2t0,6,2tj,7,2wh,,2wj,,2wk,8,2x4,6,2zc,1,305,,307,,309,,30e,1,31t,d,327,,328,4,32e,1,32l,a,32x,z,346,,371,3,375,,376,5,37d,1,37f,1,37h,1,386,1,388,1,38e,2,38x,3,39e,,39g,,39h,1,39p,,3a5,,3cw,2n,3fk,1z,3hk,2f,3tp,2,4k2,3,4ky,2,4lu,1,4mq,1,4ok,1,4om,,4on,6,4ou,7,4p2,,4p3,1,4p5,a,4pp,,4qz,2,4r2,,4r3,,4ud,1,4vd,,4yo,2,4yr,3,4yv,1,4yx,2,4z4,1,4z6,,4z7,5,4zd,2,55j,1,55l,1,55n,,579,,57a,,57b,,57c,6,57k,,57m,,57p,7,57x,5,583,9,58f,,59s,u,5c0,3,5c4,,5dg,9,5dq,3,5du,2,5ez,8,5fk,1,5fm,,5gh,,5gi,3,5gm,1,5go,5,5ie,,5if,,5ig,1,5ii,2,5il,,5im,,5in,4,5k4,7,5kc,7,5kk,1,5km,1,5ow,2,5p0,c,5pd,,5pe,6,5pp,,5pw,,5pz,,5q0,1,5vk,1r,6bv,,6bw,,6bx,,6by,1,6co,6,6d8,,6dl,,6e8,f,6hc,w,6jm,,6k9,,6ms,5,6nd,1,6xm,1,6y0,,70o,,72n,,73d,a,73s,2,79e,,7fu,1,7g6,,7gg,,7i3,3,7i8,5,7if,b,7is,35,7m8,39,7pk,a,7pw,,7py,,7q5,,7q9,,7qg,,7qr,1,7r8,,7rb,,7rg,,7ri,,7rn,2,7rr,,7s3,4,7th,2,7tt,,7u8,,7un,,850,1,8hx,2,8ij,1,8k0,,8k5,,8vj,2,8zj,,928,v,wvj,3,wvo,9,wwu,1,wz4,1,x6q,,x6u,,x6z,,x7n,1,x7p,1,x7r,,x7w,,xa8,1,xbo,f,xc4,1,xcw,h,xdr,,xeu,7,xfr,a,xg2,,xg3,,xgg,s,xhc,2,xhf,,xir,,xis,1,xiu,3,xiy,1,xj0,1,xj2,1,xj4,,xk5,,xm1,5,xm7,1,xm9,1,xmb,1,xmd,1,xmr,,xn0,,xn1,,xoc,,xps,,xpu,2,xpz,1,xq6,1,xq9,,xrf,,xrg,1,xri,1,xrp,,xrq,,xyb,1,xyd,,xye,1,xyg,,xyh,1,xyk,,xyl,,1e68,f,1e74,f,1edb,,1ehq,1,1ek0,b,1eyl,,1f4w,,1f92,4,1gjl,2,1gjp,1,1gjw,3,1gl4,2,1glb,,1gpx,1,1h5w,3,1h7t,4,1hgr,1,1hj0,3,1hl2,a,1hmq,3,1hq8,,1hq9,,1hqa,,1hrs,e,1htc,,1htf,1,1htr,2,1htu,,1hv4,2,1hv7,3,1hvb,1,1hvd,1,1hvh,,1hvm,,1hvx,,1hxc,2,1hyf,4,1hyk,,1hyl,7,
231hz9,1,1i0j,,1i0w,1,1i0y,,1i2b,2,1i2e,8,1i2n,,1i2o,,1i2q,1,1i2x,3,1i32,,1i33,,1i5o,2,1i5r,2,1i5u,1,1i5w,3,1i66,,1i69,,1ian,,1iao,2,1iar,7,1ibk,1,1ibm,1,1id7,1,1ida,,1idb,,1idc,,1idd,3,1idj,1,1idn,1,1idp,,1idz,,1iea,1,1iee,6,1ieo,4,1igo,,1igp,1,1igr,5,1igy,,1ih1,,1ih3,2,1ih6,,1ih8,1,1iha,2,1ihd,,1ihe,,1iht,1,1ik5,2,1ik8,7,1ikg,1,1iki,2,1ikl,,1ikm,,1ila,,1ink,,1inl,1,1inn,5,1int,,1inu,,1inv,1,1inx,,1iny,,1inz,1,1io1,,1io2,1,1iun,,1iuo,1,1iuq,3,1iuw,3,1iv0,1,1iv2,,1iv3,1,1ivw,1,1iy8,2,1iyb,7,1iyj,1,1iyl,,1iym,,1iyn,1,1j1n,,1j1o,,1j1p,,1j1q,1,1j1s,7,1j4t,,1j4u,,1j4v,,1j4y,3,1j52,,1j53,4,1jcc,2,1jcf,8,1jco,,1jcp,1,1jjk,,1jjl,4,1jjr,1,1jjv,3,1jjz,,1jk0,,1jk1,,1jk2,,1jk3,,1jo1,2,1jo4,3,1joa,1,1joc,3,1jog,,1jok,,1jpd,9,1jqr,5,1jqx,,1jqy,,1jqz,3,1jrb,,1jrl,5,1jrr,1,1jrt,2,1jt0,5,1jt6,c,1jtj,,1jtk,1,1k4v,,1k4w,6,1k54,5,1k5a,,1k5b,,1k7m,l,1k89,,1k8a,6,1k8h,,1k8i,1,1k8k,,1k8l,1,1kc1,5,1kca,,1kcc,1,1kcf,6,1kcm,,1kcn,,1kei,4,1keo,1,1ker,1,1ket,,1keu,,1kev,,1koj,1,1kol,1,1kow,1,1koy,,1koz,,1kqc,1,1kqe,4,1kqm,1,1kqo,2,1kre,,1ovk,f,1ow0,,1ow7,e,1xr2,b,1xre,2,1xrh,2,1zow,4,1zqo,6,206b,,206f,3,20jz,,20k1,1i,20lr,3,20o4,,20og,1,2ftp,1,2fts,3,2jgg,19,2jhs,m,2jxh,4,2jxp,5,2jxv,7,2jy3,7,2jyd,6,2jze,3,2k3m,2,2lmo,1i,2lob,1d,2lpx,,2lqc,,2lqz,4,2lr5,e,2mtc,6,2mtk,g,2mu3,6,2mub,1,2mue,4,2mxb,,2n1s,6,2nce,,2ne4,3,2nsc,3,2nzi,1,2ok0,6,2on8,6,2pz4,73,2q6l,2,2q7j,,2q98,5,2q9q,1,2qa6,,2qa9,9,2qb1,1k,2qcm,p,2qdd,e,2qe2,,2qen,,2qeq,8,2qf0,3,2qfd,c1,2qrf,4,2qrk,8t,2r0m,7d,2r9c,3j,2rg4,b,2rit,16,2rkc,3,2rm0,7,2rmi,5,2rns,7,2rou,29,2rrg,1a,2rss,9,2rt3,c8,2scg,sd,jny8,v,jnz4,2n,jo1s,3j,jo5c,6n,joc0,2rz","262122424333333393233393339333333333393393b3b3b3b3b333b33b3bb33333b3b3333333b3b33bb3333b33b3bb33333b3bbb333b333b33333b3b3b3b3333b3b33b3bb39333b33b33b3b3b333b333333b3b333333b33b3b3333b3335dc333333b3b3b33323333b3bb3b33b3b3b3333b3333b3b333bb3b33b3b3b3b3b333b333b3323e2244234444444444444444444444444444444444444444443333333333b3b3bb33333b353b3b3b3b333b3b333b333333b3bb3b3b3bb333232333333333333333b3b3333bb3b393933b3b33bb3b393b3b3b3333b33b33b3bbb33b333b3333bb3933b3b3b333b3b3b3b3b33b3b3b33b3b3b33b3b33b33b3b3b33bb39b9b3b33b3b33b9333b393b3b33b33b3b3b3333393b3b3b33b39bb3b332333b333dd3b33332333323333333333333333333333344444444a44444434444444444444423232"),s=r("1sl,10,1ug,7,1vc,7,1w5,j,1wq,6,1wy,,1x2,3,1y4,1,1y7,,1yo,1,239,j,23u,6,242,1,245,4,261,,26t,j,27e,6,27m,1,27p,4,28s,1,28v,,29d,,2dx,j,2ei,f,2fs,2,2l1,11");function*l(e){let t=e.codePointAt(0);if(null==t)return;let n=t<=65535?1:2,r=e.length,i=y(t),a=0,o=0,s=!1,l=!1,c=!1,u=0,d=i,p=t;for(;n<r;){t=e.codePointAt(n),a=y(t);let r=!0;1===i?r=6!==a:2===i||6===i||1===a||2===a||6===a?r=!0:3===a||14===a||11===a||9===i?r=!1:14===i&&4===a?r=!s:10===i&&10===a?r=o++%2===1:5===i?r=!(5===a||13===a||7===a||8===a):(7!==i&&13!==i||13!==a&&12!==a)&&(8!==i&&12!==i||12!==a)?0===a&&l&&c&&v(t)&&(r=!1):r=!1,r?(yield{segment:e.slice(u,n),index:u,input:e,_hd:p,_catBegin:d,_catEnd:i},s=!1,o=0,u=n,d=a,p=t):14!==a||3!==i&&4!==i?t>=2325&&(l||0!==i||(l=v(p)),c=!(!l||3!==a)&&(c||2381===t||2509===t||2637===t||2765===t||2893===t||3149===t||3405===t)):s=!0,n+=t<=65535?1:2,i=a}u<r&&(yield{segment:e.slice(u),index:u,input:e,_hd:p,_catBegin:d,_catEnd:i})}function c(e){let t=0;for(let n of l(e))t+=1;return t}function*u(e){for(let t of l(e))yield t.segment}const d=new Uint8Array(6080),p=128,f=12287,h=new Uint8Array(1536),m=40960,g=(()=>{let e=0;for(;;){let[t,n,r]=o[e];if(t>44031)break;if(e++,!(n<p||t>f&&n<m))for(let e=t;e<=n;e++){let t,n=0;e<=f?(t=d,n=e-p>>1):(t=h,n=e-m>>1),t[n]=1&e?15&t[n]|r<<4:240&t[n]|r}}return e})();function y(e){if(e<p)return e>=32?0:10===e?6:13===e?1:2;if(e<=f){let t=d[e-p>>1];return 1&e?t>>4:15&t}if(e<m)return e<12336?e>=12330?3:0:e<12443?12336===e||12349===e?4:e>=12441?3:0:12951===e||12953===e?4:0;if(e<=44031){let t=h[e-m>>1];return 1&e?t>>4:15&t}if(e<=55203)return(e-44032)%28===0?7:8;if(e<=55295)return e<=55238?e>=55216?13:0:e>=55243?12:0;if(e<65024)return 64286===e?3:0;let t=i(e,o,g);return t<0?0:o[t][2]}function v(e){return i(e,s)>=0}},76022(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});const r=n(93427)},84587(e,t,n){"use strict";n.r(t),n.d(t,{ZodError:()=>o,ZodIssueCode:()=>i,quotelessJson:()=>a});var r=n(24588);
23const i=r.util.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),a=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class o extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){const t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(const i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(r);else if("invalid_return_type"===i.code)r(i.returnTypeError);else if("invalid_arguments"===i.code)r(i.argumentsError);else if(0===i.path.length)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){const n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}static assert(e){if(!(e instanceof o))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,r.util.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){const t={},n=[];for(const r of this.issues)if(r.path.length>0){const n=r.path[0];t[n]=t[n]||[],t[n].push(e(r))}else n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}o.create=e=>new o(e)},24588(e,t,n){"use strict";var r,i;n.r(t),n.d(t,{ZodParsedType:()=>a,getParsedType:()=>o,objectUtil:()=>i,util:()=>r}),function(e){e.assertEqual=e=>{},e.assertIs=function(e){},e.assertNever=function(e){throw new Error},e.arrayToEnum=e=>{const t={};for(const n of e)t[n]=n;return t},e.getValidEnumValues=t=>{const n=e.objectKeys(t).filter(e=>"number"!==typeof t[t[e]]),r={};for(const e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys="function"===typeof Object.keys?e=>Object.keys(e):e=>{const t=[];for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(const n of e)if(t(n))return n},e.isInteger="function"===typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"===typeof e&&Number.isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map(e=>"string"===typeof e?`'${e}'`:e).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"===typeof t?t.toString():t}(r||(r={})),function(e){e.mergeShapes=(e,t)=>({...e,...t})}(i||(i={}));const a=r.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),o=e=>{switch(typeof e){case"undefined":return a.undefined;case"string":return a.string;case"number":return Number.isNaN(e)?a.nan:a.number;case"boolean":return a.boolean;case"function":return a.function;case"bigint":return a.bigint;case"symbol":return a.symbol;case"object":return Array.isArray(e)?a.array:null===e?a.null:e.then&&"function"===typeof e.then&&e.catch&&"function"===typeof e.catch?a.promise:"undefined"!==typeof Map&&e instanceof Map?a.map:"undefined"!==typeof Set&&e instanceof Set?a.set:"undefined"!==typeof Date&&e instanceof Date?a.date:a.object;default:return a.unknown}}},12398(e,t,n){"use strict";n.r(t),n.d(t,{BRAND:()=>Re,NEVER:()=>St,Schema:()=>k,ZodAny:()=>te,ZodArray:()=>ae,ZodBigInt:()=>J,ZodBoolean:()=>$,ZodBranded:()=>Oe,ZodCatch:()=>Te,ZodDate:()=>K,ZodDefault:()=>Ae,ZodDiscriminatedUnion:()=>ue,ZodEffects:()=>xe,ZodEnum:()=>we,ZodFirstPartyTypeKind:()=>Ve,ZodFunction:()=>ye,ZodIntersection:()=>pe,ZodLazy:()=>ve,ZodLiteral:()=>be,ZodMap:()=>me,ZodNaN:()=>Ie,ZodNativeEnum:()=>ke,ZodNever:()=>re,ZodNull:()=>ee,ZodNullable:()=>Ee,ZodNumber:()=>q,ZodObject:()=>se,ZodOptional:()=>Ce,ZodPipeline:()=>De,ZodPromise:()=>Se,ZodReadonly:()=>Ne,ZodRecord:()=>he,ZodSchema:()=>k,ZodSet:()=>ge,ZodString:()=>X,ZodSymbol:()=>Z,ZodTransformer:()=>xe,ZodTuple:()=>fe,ZodType:()=>k,ZodUndefined:()=>Q,ZodUnion:()=>le,ZodUnknown:()=>ne,ZodVoid:()=>ie,any:()=>qe,array:()=>Ze,bigint:()=>We,boolean:()=>ze,coerce:()=>kt,custom:()=>Fe,date:()=>Ye,datetimeRegex:()=>W,discriminatedUnion:()=>nt,effect:()=>ht,enum:()=>dt,function:()=>lt,instanceof:()=>Pe,intersection:()=>rt,late:()=>Me,lazy:()=>ct,literal:()=>ut,map:()=>ot,nan:()=>He,nativeEnum:()=>pt,never:()=>$e,null:()=>Ge,nullable:()=>gt,number:()=>Be,object:()=>Qe,oboolean:()=>wt,onumber:()=>_t,optional:()=>mt,ostring:()=>bt,pipeline:()=>vt,preprocess:()=>yt,promise:()=>ft,record:()=>at,set:()=>st,strictObject:()=>et,string:()=>
23Le,symbol:()=>Ue,transformer:()=>ht,tuple:()=>it,undefined:()=>Xe,union:()=>tt,unknown:()=>Je,void:()=>Ke});var r=n(84587),i=n(24588);const a=(e,t)=>{let n;switch(e.code){case r.ZodIssueCode.invalid_type:n=e.received===i.ZodParsedType.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case r.ZodIssueCode.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,i.util.jsonStringifyReplacer)}`;break;case r.ZodIssueCode.unrecognized_keys:n=`Unrecognized key(s) in object: ${i.util.joinValues(e.keys,", ")}`;break;case r.ZodIssueCode.invalid_union:n="Invalid input";break;case r.ZodIssueCode.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${i.util.joinValues(e.options)}`;break;case r.ZodIssueCode.invalid_enum_value:n=`Invalid enum value. Expected ${i.util.joinValues(e.options)}, received '${e.received}'`;break;case r.ZodIssueCode.invalid_arguments:n="Invalid function arguments";break;case r.ZodIssueCode.invalid_return_type:n="Invalid function return type";break;case r.ZodIssueCode.invalid_date:n="Invalid date";break;case r.ZodIssueCode.invalid_string:"object"===typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"===typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:i.util.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case r.ZodIssueCode.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type||"bigint"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case r.ZodIssueCode.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case r.ZodIssueCode.custom:n="Invalid input";break;case r.ZodIssueCode.invalid_intersection_types:n="Intersection results could not be merged";break;case r.ZodIssueCode.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case r.ZodIssueCode.not_finite:n="Number must be finite";break;default:n=t.defaultError,i.util.assertNever(e)}return{message:n}};let o=a;function s(){return o}var l;!function(e){e.errToObj=e=>"string"===typeof e?{message:e}:e||{},e.toString=e=>"string"===typeof e?e:e?.message}(l||(l={}));const c=e=>{const{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],o={...i,path:a};if(void 0!==i.message)return{...i,path:a,message:i.message};let s="";const l=r.filter(e=>!!e).slice().reverse();for(const c of l)s=c(o,{data:t,defaultError:s}).message;return{...i,path:a,message:s}};function u(e,t){const n=s(),r=c({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===a?void 0:a].filter(e=>!!e)});e.common.issues.push(r)}class d{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){const n=[];for(const r of t){if("aborted"===r.status)return p;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){const n=[];for(const r of t){const e=await r.key,t=await r.value;n.push({key:e,value:t})}return d.mergeObjectSync(e,n)}static mergeObjectSync(e,t){const n={};for(const r of t){const{key:t,value:i}=r;if("aborted"===t.status)return p;if("aborted"===i.status)return p;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"===t.value||"undefined"===typeof i.value&&!r.alwaysSet||(n[t.value]=i.value)}return{status:e.value,value:n}}}const p=Object.freeze({status:"aborted"}),f=e=>({status:"dirty",value:e}),h=e=>
23({status:"valid",value:e}),m=e=>"aborted"===e.status,g=e=>"dirty"===e.status,y=e=>"valid"===e.status,v=e=>"undefined"!==typeof Promise&&e instanceof Promise;class b{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const _=(e,t)=>{if(y(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new r.ZodError(e.common.issues);return this._error=t,this._error}}};function w(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');if(t)return{errorMap:t,description:i};return{errorMap:(t,i)=>{const{message:a}=e;return"invalid_enum_value"===t.code?{message:a??i.defaultError}:"undefined"===typeof i.data?{message:a??r??i.defaultError}:"invalid_type"!==t.code?{message:i.defaultError}:{message:a??n??i.defaultError}},description:i}}class k{get description(){return this._def.description}_getType(e){return(0,i.getParsedType)(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:(0,i.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new d,ctx:{common:e.parent.common,data:e.data,parsedType:(0,i.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(v(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){const n={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,i.getParsedType)(e)},r=this._parseSync({data:e,path:n.path,parent:n});return _(n,r)}"~validate"(e){const t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,i.getParsedType)(e)};if(!this["~standard"].async)try{const n=this._parseSync({data:e,path:[],parent:t});return y(n)?{value:n.value}:{issues:t.common.issues}}catch(n){n?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>y(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){const n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){const n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,i.getParsedType)(e)},r=this._parse({data:e,path:n.path,parent:n}),a=await(v(r)?r:Promise.resolve(r));return _(n,a)}refine(e,t){const n=e=>"string"===typeof t||"undefined"===typeof t?{message:t}:"function"===typeof t?t(e):t;return this._refinement((t,i)=>{const a=e(t),o=()=>i.addIssue({code:r.ZodIssueCode.custom,...n(t)});return"undefined"!==typeof Promise&&a instanceof Promise?a.then(e=>!!e||(o(),!1)):!!a||(o(),!1)})}refinement(e,t){return this._refinement((n,r)=>!!e(n)||(r.addIssue("function"===typeof t?t(n,r):t),!1))}_refinement(e){return new xe({schema:this,typeName:Ve.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return Ce.create(this,this._def)}nullable(){return Ee.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ae.create(this)}promise(){return Se.create(this,this._def)}or(e){return le.create([this,e],this._def)}and(e){return pe.create(this,e,this._def)}transform(e){return new xe({...w(this._def),schema:this,typeName:Ve.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t="function"===typeof e?e:()=>e;return new Ae({...w(this._def),innerType:this,defaultValue:t,typeName:Ve.ZodDefault})}brand(){return new Oe({typeName:Ve.ZodBranded,type:this,...w(this._def)})}catch(e){const t="function"===typeof e?e:()=>e;return new Te({...w(this._def),innerType:this,catchValue:t,typeName:Ve.ZodCatch})}describe(e){return new(0,this.constructor)({...this._def,description:e})}pipe(e){return De.create(this,e)}readonly(){return Ne.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const S=/^c[^\s-]{8,}
23$/i,x=/^[0-9a-z]+$/,C=/^[0-9A-HJKMNP-TV-Z]{26}$/i,E=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,A=/^[a-z0-9_-]{21}$/i,T=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,I=/^[-+]?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)?)??$/,R=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;let O;const D=/^(?:(?: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])$/,N=/^(?:(?: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])$/,j=/^(([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]))$/,F=/^(([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])$/,M=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,V=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,P="((\\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])))",L=new RegExp(`^${P}$`);function B(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`);return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${e.precision?"+":"?"}`}function H(e){return new RegExp(`^${B(e)}$`)}function W(e){let t=`${P}T${B(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function z(e,t){return!("v4"!==t&&t||!D.test(e))||!("v6"!==t&&t||!j.test(e))}function Y(e,t){if(!T.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),i=JSON.parse(atob(r));return"object"===typeof i&&null!==i&&((!("typ"in i)||"JWT"===i?.typ)&&(!!i.alg&&(!t||i.alg===t)))}catch{return!1}}function U(e,t){return!("v4"!==t&&t||!N.test(e))||!("v6"!==t&&t||!F.test(e))}class X extends k{_parse(e){this._def.coerce&&(e.data=String(e.data));if(this._getType(e)!==i.ZodParsedType.string){const t=this._getOrReturnCtx(e);return u(t,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.string,received:t.parsedType}),p}const t=new d;let n;for(const a of this._def.checks)if("min"===a.kind)e.data.length<a.value&&(n=this._getOrReturnCtx(e,n),u(n,{code:r.ZodIssueCode.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),t.dirty());else if("max"===a.kind)e.data.length>a.value&&(n=this._getOrReturnCtx(e,n),u(n,{code:r.ZodIssueCode.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),t.dirty());else if("length"===a.kind){const i=e.data.length>a.value,o=e.data.length<a.value;(i||o)&&(n=this._getOrReturnCtx(e,n),i?u(n,{code:r.ZodIssueCode.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):o&&u(n,{code:r.ZodIssueCode.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),t.dirty())}else if("email"===a.kind)R.test(e.data)||(n=this._getOrReturnCtx(e,n),u(n,{validation:"email",code:r.ZodIssueCode.invalid_string,message:a.message}),t.dirty());else if("emoji"===a.kind)O||(O=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),O.test(e.data)||(n=this._getOrReturnCtx(e,n),u(n,{validation:"emoji",code:r.ZodIssueCode.invalid_string,message:a.message}),t.dirty());else if("uuid"===a.kind)E.test(e.data)||(n=this._getOrReturnCtx(e,n),u(n,{validation:"uuid",code:r.ZodIssueCode.invalid_string,message:a.message}),t.dirty());else if("nanoid"===a.kind)A.test(e.data)||(n=this._getOrReturnCtx(e,n),u(n,{validation:"nanoid",code:r.ZodIssueCode.invalid_string,message:a.message}),t.dirty());else if("cuid"===a.kind)S.test(e.data)||(n=this._getOrReturnCtx(e,n),u(n,{validation:"cuid",code:r.ZodIssueCode.invalid_string,message:a.message}),t.dirty());else if("cuid2"===a.kind)x.test(e.data)||(n=this._getOrReturnCtx(e,n),u(n,{validation:"cuid2",code:r.ZodIssueCode.invalid_string,message:a.message}),t.dirty());else if("ulid"===a.kind)C.test(e.data)||(n=this._getOrReturnCtx(e,n),u(n,{validation:"ulid",code:r.ZodIssueCode.invalid_string,message:a.message}),t.dirty());else if("url"===a.kind)try{new URL(e.data)}catch{n=this._getOrReturnCtx(e,n),u(n,{validation:"url",code:r.ZodIssueCode.invalid_string,message:a.message}),t.dirty()}else if("regex"===a.kind){a.regex.lastIndex=0;a.regex.test(e.data)||(n=this._getOrReturnCtx(e,n),u(n,{validation:"regex",code:r.ZodIssueCode.invalid_string,message:a.message}),t.dirty())}else if("trim"===a.kind)e.data=e.data.trim();else if("includes"===a.kind)e.data.includes(a.value,a.position)||(n=this._getOrReturnCtx(e,n),u(n,{code:r.ZodIssueCode.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),t.dirty());else if("toLowerCase"===a.kind)e.data=e.data.toLowerCase();else if("toUpperCase"===a.kind)e.data=e.data.toUpperCase();else if("startsWith"===a.kind)e.data.startsWith(a.value)||(n=this._getOrReturnCtx(e,n),u(n,{code:r.ZodIssueCode.invalid_string,validation:{startsWith:a.value},message:a.message}),t.dirty());else if("endsWith"===a.kind)e.data.endsWith(a.value)||(n=this._getOrReturnCtx(e,n),u(n,{code:r.ZodIssueCode.invalid_string,validation:{endsWith:a.value},message:a.message}),t.dirty());else if("datetime"===a.kind){W(a).test(e.data)||(n=this._getOrReturnCtx(e,n),u(n,{code:r.ZodIssueCode.invalid_string,validation:"datetime",message:a.message}),t.dirty())}else if("date"===a.kind){L.test(e.data)||(n=this._getOrReturnCtx(e,n),u(n,{code:r.ZodIssueCode.invalid_string,validation:"date",message:a.message}),t.dirty())}else if("time"===a.kind){H(a).test(e.data)||(n=this._getOrReturnCtx(e,n),u(n,{code:r.ZodIssueCode.invalid_string,validation:"time",message:a.message}),t.dirty())}else"duration"===a.kind?I.test(e.data)||(n=this._getOrReturnCtx(e,n),u(n,{validation:"duration",code:r.ZodIssueCode.invalid_string,message:a.message}),t.dirty()):"ip"===a.kind?z(e.data,a.version)||(n=this._getOrReturnCtx(e,n),u(n,{validation:"ip",code:r.ZodIssueCode.invalid_string,message:a.message}),t.dirty()):"jwt"===a.kind?Y(e.data,a.alg)||(n=this._getOrReturnCtx(e,n),u(n,{validation:"jwt",code:r.ZodIssueCode.invalid_string,message:a.message}),t.dirty()):"cidr"===a.kind?U(e.data,a.version)||(n=this._getOrReturnCtx(e,n),u(n,{validation:"cidr",code:r.ZodIssueCode.invalid_string,message:a.message}),t.dirty()):"base64"===a.kind?M.test(e.data)||(n=this._getOrReturnCtx(e,n),u(n,{validation:"base64",code:r.ZodIssueCode.invalid_string,message:a.message}),t.dirty()):"base64url"===a.kind?V.test(e.data)||(n=this._getOrReturnCtx(e,n),u(n,{validation:"base64url",code:r.ZodIssueCode.invalid_string,message:a.message}),t.dirty()):i.util.assertNever(a);return{status:t.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:r.ZodIssueCode.invalid_string,...l.errToObj(n)})}_addCheck(e){return new X({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...l.errToObj(e)})}url(e){return this._addCheck({kind:"url",...l.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...l.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...l.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...l.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...l.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...l.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...l.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...l.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...l.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...l.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...l.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...l.errToObj(e)})}datetime(e){return"string"===typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:"undefined"===typeof e?.precision?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...l.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"===typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:"undefined"===typeof e?.precision?null:e?.precision,...l.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...l.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...l.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...l.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...l.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...l.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...l.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...l.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...l.errToObj(t)})}nonempty(e){return this.min(1,l.errToObj(e))}trim(){return new X({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new X({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new X({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}
vendor: 6,180 bytes, line 23
23get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}function G(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r;return Number.parseInt(e.toFixed(i).replace(".",""))%Number.parseInt(t.toFixed(i).replace(".",""))/10**i}X.create=e=>new X({checks:[],typeName:Ve.ZodString,coerce:e?.coerce??!1,...w(e)});class q extends k{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){this._def.coerce&&(e.data=Number(e.data));if(this._getType(e)!==i.ZodParsedType.number){const t=this._getOrReturnCtx(e);return u(t,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.number,received:t.parsedType}),p}let t;const n=new d;for(const a of this._def.checks)if("int"===a.kind)i.util.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),u(t,{code:r.ZodIssueCode.invalid_type,expected:"integer",received:"float",message:a.message}),n.dirty());else if("min"===a.kind){(a.inclusive?e.data<a.value:e.data<=a.value)&&(t=this._getOrReturnCtx(e,t),u(t,{code:r.ZodIssueCode.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),n.dirty())}else if("max"===a.kind){(a.inclusive?e.data>a.value:e.data>=a.value)&&(t=this._getOrReturnCtx(e,t),u(t,{code:r.ZodIssueCode.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),n.dirty())}else"multipleOf"===a.kind?0!==G(e.data,a.value)&&(t=this._getOrReturnCtx(e,t),u(t,{code:r.ZodIssueCode.not_multiple_of,multipleOf:a.value,message:a.message}),n.dirty()):"finite"===a.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),u(t,{code:r.ZodIssueCode.not_finite,message:a.message}),n.dirty()):i.util.assertNever(a);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,l.toString(t))}gt(e,t){return this.setLimit("min",e,!1,l.toString(t))}lte(e,t){return this.setLimit("max",e,!0,l.toString(t))}lt(e,t){return this.setLimit("max",e,!1,l.toString(t))}setLimit(e,t,n,r){return new q({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:l.toString(r)}]})}_addCheck(e){return new q({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:l.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:l.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:l.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:l.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:l.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:l.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:l.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:l.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:l.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&i.util.isInteger(e.value))}get isFinite(){let e=null,t=null;for(const n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}}q.create=e=>new q({checks:[],typeName:Ve.ZodNumber,coerce:e?.coerce||!1,...w(e)});class J extends k{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==i.ZodParsedType.bigint)return this._getInvalidInput(e);let t;const n=new d;for(const a of this._def.checks)if("min"===a.kind){(a.inclusive?e.data<a.value:e.data<=a.value)&&(t=this._getOrReturnCtx(e,t),u(t,{code:r.ZodIssueCode.too_small,type:"bigint",minimum:a.value,inclusive:a.inclusive,message:a.message}),n.dirty())}else if("max"===a.kind){(a.inclusive?e.data>a.value:e.data>=a.value)&&(t=this._getOrReturnCtx(e,t),u(t,{code:r.ZodIssueCode.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),n.dirty())}else"multipleOf"===a.kind?e.data%a.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),u(t,{code:r.ZodIssueCode.not_multiple_of,multipleOf:a.value,message:a.message}),n.dirty()):i.util.assertNever(a);return{status:n.value,value:e.data}}_getInvalidInput(e){const t=this._getOrReturnCtx(e);return u(t,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.bigint,received:t.parsedType}),p}gte(e,t){return this.setLimit("min",e,!0,l.toString(t))}gt(e,t){return this.setLimit("min",e,!1,l.toString(t))}lte(e,t){return this.setLimit("max",e,!0,l.toString(t))}lt(e,t){return this.setLimit("max",e,!1,l.toString(t))}
23setLimit(e,t,n,r){return new J({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:l.toString(r)}]})}_addCheck(e){return new J({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:l.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:l.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:l.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:l.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:l.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}J.create=e=>new J({checks:[],typeName:Ve.ZodBigInt,coerce:e?.coerce??!1,...w(e)});class $ extends k{_parse(e){this._def.coerce&&(e.data=Boolean(e.data));if(this._getType(e)!==i.ZodParsedType.boolean){const t=this._getOrReturnCtx(e);return u(t,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.boolean,received:t.parsedType}),p}return h(e.data)}}$.create=e=>new $({typeName:Ve.ZodBoolean,coerce:e?.coerce||!1,...w(e)});class K extends k{_parse(e){this._def.coerce&&(e.data=new Date(e.data));if(this._getType(e)!==i.ZodParsedType.date){const t=this._getOrReturnCtx(e);return u(t,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.date,received:t.parsedType}),p}if(Number.isNaN(e.data.getTime())){return u(this._getOrReturnCtx(e),{code:r.ZodIssueCode.invalid_date}),p}const t=new d;let n;for(const a of this._def.checks)"min"===a.kind?e.data.getTime()<a.value&&(n=this._getOrReturnCtx(e,n),u(n,{code:r.ZodIssueCode.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:"date"}),t.dirty()):"max"===a.kind?e.data.getTime()>a.value&&(n=this._getOrReturnCtx(e,n),u(n,{code:r.ZodIssueCode.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),t.dirty()):i.util.assertNever(a);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(e){return new K({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:l.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:l.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}K.create=e=>new K({checks:[],coerce:e?.coerce||!1,typeName:Ve.ZodDate,...w(e)});class Z extends k{_parse(e){if(this._getType(e)!==i.ZodParsedType.symbol){const t=this._getOrReturnCtx(e);return u(t,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.symbol,received:t.parsedType}),p}return h(e.data)}}Z.create=e=>new Z({typeName:Ve.ZodSymbol,...w(e)});class Q extends k{_parse(e){if(this._getType(e)!==i.ZodParsedType.undefined){const t=this._getOrReturnCtx(e);return u(t,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.undefined,received:t.parsedType}),p}return h(e.data)}}Q.create=e=>new Q({typeName:Ve.ZodUndefined,...w(e)});class ee extends k{_parse(e){if(this._getType(e)!==i.ZodParsedType.null){const t=this._getOrReturnCtx(e);return u(t,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.null,received:t.parsedType}),p}return h(e.data)}}ee.create=e=>new ee({typeName:Ve.ZodNull,...w(e)});class te extends k{constructor(){super(...arguments),this._any=!0}_parse(e){return h(e.data)}}te.create=e=>new te({typeName:Ve.ZodAny,...w(e)});class ne extends k{constructor(){super(...arguments),this._unknown=!0}_parse(e){return h(e.data)}}ne.create=e=>new ne({typeName:Ve.ZodUnknown,...w(e)});class re extends k{_parse(e){const t=this._getOrReturnCtx(e);return u(t,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.never,received:t.parsedType}),p}}re.create=e=>new re({typeName:Ve.ZodNever,...w(e)});class ie extends k{_parse(e){if(this._getType(e)!==i.ZodParsedType.undefined){const t=this._getOrReturnCtx(e);return u(t,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.void,received:t.parsedType}),p}return h(e.data)}}ie.create=e=>new ie({typeName:Ve.ZodVoid,...w(e)});class ae extends k{_parse(e){const{ctx:t,status:n}=this._processInputParams(e),a=this._def;if(t.parsedType!==i.ZodParsedType.array)return u(t,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.array,received:t.parsedType}),p;if(null!==a.exactLength){const e=t.data.length>a.exactLength.value,i=t.data.length<a.exactLength.value;(e||i)&&(u(t,{code:e?r.ZodIssueCode.too_big:r.ZodIssueCode.too_small,minimum:i?a.exactLength.value:void 0,maximum:e?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),n.dirty())}if(null!==a.minLength&&t.data.length<a.minLength.value&&(u(t,{code:r.ZodIssueCode.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),n.dirty()),null!==a.maxLength&&t.data.length>a.maxLength.value&&(u(t,{code:r.ZodIssueCode.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>a.type._parseAsync(new b(t,e,t.path,n)))).then(e=>d.mergeArray(n,e));const o=[...t.data].map((e,n)=>a.type._parseSync(new b(t,e,t.path,n)));return d.mergeArray(n,o)}
vendor: 4,104 bytes, line 23
23get element(){return this._def.type}min(e,t){return new ae({...this._def,minLength:{value:e,message:l.toString(t)}})}max(e,t){return new ae({...this._def,maxLength:{value:e,message:l.toString(t)}})}length(e,t){return new ae({...this._def,exactLength:{value:e,message:l.toString(t)}})}nonempty(e){return this.min(1,e)}}function oe(e){if(e instanceof se){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Ce.create(oe(r))}return new se({...e._def,shape:()=>t})}return e instanceof ae?new ae({...e._def,type:oe(e.element)}):e instanceof Ce?Ce.create(oe(e.unwrap())):e instanceof Ee?Ee.create(oe(e.unwrap())):e instanceof fe?fe.create(e.items.map(e=>oe(e))):e}ae.create=(e,t)=>new ae({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Ve.ZodArray,...w(t)});class se extends k{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;const e=this._def.shape(),t=i.util.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==i.ZodParsedType.object){const t=this._getOrReturnCtx(e);return u(t,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.object,received:t.parsedType}),p}const{status:t,ctx:n}=this._processInputParams(e),{shape:a,keys:o}=this._getCached(),s=[];if(!(this._def.catchall instanceof re&&"strip"===this._def.unknownKeys))for(const r in n.data)o.includes(r)||s.push(r);const l=[];for(const r of o){const e=a[r],t=n.data[r];l.push({key:{status:"valid",value:r},value:e._parse(new b(n,t,n.path,r)),alwaysSet:r in n.data})}if(this._def.catchall instanceof re){const e=this._def.unknownKeys;if("passthrough"===e)for(const t of s)l.push({key:{status:"valid",value:t},value:{status:"valid",value:n.data[t]}});else if("strict"===e)s.length>0&&(u(n,{code:r.ZodIssueCode.unrecognized_keys,keys:s}),t.dirty());else if("strip"!==e)throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const e=this._def.catchall;for(const t of s){const r=n.data[t];l.push({key:{status:"valid",value:t},value:e._parse(new b(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{const e=[];for(const t of l){const n=await t.key,r=await t.value;e.push({key:n,value:r,alwaysSet:t.alwaysSet})}return e}).then(e=>d.mergeObjectSync(t,e)):d.mergeObjectSync(t,l)}get shape(){return this._def.shape()}strict(e){return l.errToObj,new se({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{const r=this._def.errorMap?.(t,n).message??n.defaultError;return"unrecognized_keys"===t.code?{message:l.errToObj(e).message??r}:{message:r}}}:{}})}strip(){return new se({...this._def,unknownKeys:"strip"})}passthrough(){return new se({...this._def,unknownKeys:"passthrough"})}extend(e){return new se({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new se({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:Ve.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new se({...this._def,catchall:e})}pick(e){const t={};for(const n of i.util.objectKeys(e))e[n]&&this.shape[n]&&(t[n]=this.shape[n]);return new se({...this._def,shape:()=>t})}omit(e){const t={};for(const n of i.util.objectKeys(this.shape))e[n]||(t[n]=this.shape[n]);return new se({...this._def,shape:()=>t})}deepPartial(){return oe(this)}partial(e){const t={};for(const n of i.util.objectKeys(this.shape)){const r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}return new se({...this._def,shape:()=>t})}required(e){const t={};for(const n of i.util.objectKeys(this.shape))if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof Ce;)e=e._def.innerType;t[n]=e}return new se({...this._def,shape:()=>t})}keyof(){return _e(i.util.objectKeys(this.shape))}}se.create=(e,t)=>new se({shape:()=>e,unknownKeys:"strip",catchall:re.create(),typeName:Ve.ZodObject,...w(t)}),se.strictCreate=(e,t)=>new se({shape:()=>e,unknownKeys:"strict",catchall:re.create(),typeName:Ve.ZodObject,...w(t)}),se.lazycreate=(e,t)=>
23new se({shape:e,unknownKeys:"strip",catchall:re.create(),typeName:Ve.ZodObject,...w(t)});class le extends k{_parse(e){const{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map(async e=>{const n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(function(e){for(const t of e)if("valid"===t.result.status)return t.result;for(const r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;const n=e.map(e=>new r.ZodError(e.ctx.common.issues));return u(t,{code:r.ZodIssueCode.invalid_union,unionErrors:n}),p});{let e;const i=[];for(const r of n){const n={...t,common:{...t.common,issues:[]},parent:null},a=r._parseSync({data:t.data,path:t.path,parent:n});if("valid"===a.status)return a;"dirty"!==a.status||e||(e={result:a,ctx:n}),n.common.issues.length&&i.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;const a=i.map(e=>new r.ZodError(e));return u(t,{code:r.ZodIssueCode.invalid_union,unionErrors:a}),p}}get options(){return this._def.options}}le.create=(e,t)=>new le({options:e,typeName:Ve.ZodUnion,...w(t)});const ce=e=>e instanceof ve?ce(e.schema):e instanceof xe?ce(e.innerType()):e instanceof be?[e.value]:e instanceof we?e.options:e instanceof ke?i.util.objectValues(e.enum):e instanceof Ae?ce(e._def.innerType):e instanceof Q?[void 0]:e instanceof ee?[null]:e instanceof Ce?[void 0,...ce(e.unwrap())]:e instanceof Ee?[null,...ce(e.unwrap())]:e instanceof Oe||e instanceof Ne?ce(e.unwrap()):e instanceof Te?ce(e._def.innerType):[];class ue extends k{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==i.ZodParsedType.object)return u(t,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.object,received:t.parsedType}),p;const n=this.discriminator,a=t.data[n],o=this.optionsMap.get(a);return o?t.common.async?o._parseAsync({data:t.data,path:t.path,parent:t}):o._parseSync({data:t.data,path:t.path,parent:t}):(u(t,{code:r.ZodIssueCode.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),p)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){const r=new Map;for(const i of t){const t=ce(i.shape[e]);if(!t.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const n of t){if(r.has(n))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(n)}`);r.set(n,i)}}return new ue({typeName:Ve.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...w(n)})}}function de(e,t){const n=(0,i.getParsedType)(e),r=(0,i.getParsedType)(t);if(e===t)return{valid:!0,data:e};if(n===i.ZodParsedType.object&&r===i.ZodParsedType.object){const n=i.util.objectKeys(t),r=i.util.objectKeys(e).filter(e=>-1!==n.indexOf(e)),a={...e,...t};for(const i of r){const n=de(e[i],t[i]);if(!n.valid)return{valid:!1};a[i]=n.data}return{valid:!0,data:a}}if(n===i.ZodParsedType.array&&r===i.ZodParsedType.array){if(e.length!==t.length)return{valid:!1};const n=[];for(let r=0;r<e.length;r++){const i=de(e[r],t[r]);if(!i.valid)return{valid:!1};n.push(i.data)}return{valid:!0,data:n}}return n===i.ZodParsedType.date&&r===i.ZodParsedType.date&&+e===+t?{valid:!0,data:e}:{valid:!1}}class pe extends k{_parse(e){const{status:t,ctx:n}=this._processInputParams(e),i=(e,i)=>{if(m(e)||m(i))return p;const a=de(e.value,i.value);return a.valid?((g(e)||g(i))&&t.dirty(),{status:t.value,value:a.data}):(u(n,{code:r.ZodIssueCode.invalid_intersection_types}),p)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>i(e,t)):i(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}pe.create=(e,t,n)=>new pe({left:e,right:t,typeName:Ve.ZodIntersection,...w(n)});class fe extends k{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.ZodParsedType.array)return u(n,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.array,received:n.parsedType}),p;if(n.data.length<this._def.items.length)return u(n,{code:r.ZodIssueCode.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),p;!this._def.rest&&n.data.length>this._def.items.length&&(u(n,{code:r.ZodIssueCode.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const a=[...n.data].map((e,t)=>{const r=this._def.items[t]||this._def.rest;return r?r._parse(new b(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(a).then(e=>d.mergeArray(t,e)):d.mergeArray(t,a)}get items(){return this._def.items}rest(e){return new fe({...this._def,rest:e})}}fe.create=(e,t)=>
23{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new fe({items:e,typeName:Ve.ZodTuple,rest:null,...w(t)})};class he extends k{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.ZodParsedType.object)return u(n,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.object,received:n.parsedType}),p;const a=[],o=this._def.keyType,s=this._def.valueType;for(const r in n.data)a.push({key:o._parse(new b(n,r,n.path,r)),value:s._parse(new b(n,n.data[r],n.path,r)),alwaysSet:r in n.data});return n.common.async?d.mergeObjectAsync(t,a):d.mergeObjectSync(t,a)}get element(){return this._def.valueType}static create(e,t,n){return new he(t instanceof k?{keyType:e,valueType:t,typeName:Ve.ZodRecord,...w(n)}:{keyType:X.create(),valueType:e,typeName:Ve.ZodRecord,...w(t)})}}class me extends k{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.ZodParsedType.map)return u(n,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.map,received:n.parsedType}),p;const a=this._def.keyType,o=this._def.valueType,s=[...n.data.entries()].map(([e,t],r)=>({key:a._parse(new b(n,e,n.path,[r,"key"])),value:o._parse(new b(n,t,n.path,[r,"value"]))}));if(n.common.async){const e=new Map;return Promise.resolve().then(async()=>{for(const n of s){const r=await n.key,i=await n.value;if("aborted"===r.status||"aborted"===i.status)return p;"dirty"!==r.status&&"dirty"!==i.status||t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}})}{const e=new Map;for(const n of s){const r=n.key,i=n.value;if("aborted"===r.status||"aborted"===i.status)return p;"dirty"!==r.status&&"dirty"!==i.status||t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}}me.create=(e,t,n)=>new me({valueType:t,keyType:e,typeName:Ve.ZodMap,...w(n)});class ge extends k{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.ZodParsedType.set)return u(n,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.set,received:n.parsedType}),p;const a=this._def;null!==a.minSize&&n.data.size<a.minSize.value&&(u(n,{code:r.ZodIssueCode.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),t.dirty()),null!==a.maxSize&&n.data.size>a.maxSize.value&&(u(n,{code:r.ZodIssueCode.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),t.dirty());const o=this._def.valueType;function s(e){const n=new Set;for(const r of e){if("aborted"===r.status)return p;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}const l=[...n.data.values()].map((e,t)=>o._parse(new b(n,e,n.path,t)));return n.common.async?Promise.all(l).then(e=>s(e)):s(l)}min(e,t){return new ge({...this._def,minSize:{value:e,message:l.toString(t)}})}max(e,t){return new ge({...this._def,maxSize:{value:e,message:l.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}ge.create=(e,t)=>new ge({valueType:e,minSize:null,maxSize:null,typeName:Ve.ZodSet,...w(t)});class ye extends k{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==i.ZodParsedType.function)return u(t,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.function,received:t.parsedType}),p;function n(e,n){return c({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,s(),a].filter(e=>!!e),issueData:{code:r.ZodIssueCode.invalid_arguments,argumentsError:n}})}function o(e,n){return c({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,s(),a].filter(e=>!!e),issueData:{code:r.ZodIssueCode.invalid_return_type,returnTypeError:n}})}const l={errorMap:t.common.contextualErrorMap},d=t.data;if(this._def.returns instanceof Se){const e=this;return h(async function(...t){const i=new r.ZodError([]),a=await e._def.args.parseAsync(t,l).catch(e=>{throw i.addIssue(n(t,e)),i}),s=await Reflect.apply(d,this,a);
23return await e._def.returns._def.type.parseAsync(s,l).catch(e=>{throw i.addIssue(o(s,e)),i})})}{const e=this;return h(function(...t){const i=e._def.args.safeParse(t,l);if(!i.success)throw new r.ZodError([n(t,i.error)]);const a=Reflect.apply(d,this,i.data),s=e._def.returns.safeParse(a,l);if(!s.success)throw new r.ZodError([o(a,s.error)]);return s.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ye({...this._def,args:fe.create(e).rest(ne.create())})}returns(e){return new ye({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new ye({args:e||fe.create([]).rest(ne.create()),returns:t||ne.create(),typeName:Ve.ZodFunction,...w(n)})}}class ve extends k{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}ve.create=(e,t)=>new ve({getter:e,typeName:Ve.ZodLazy,...w(t)});class be extends k{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return u(t,{received:t.data,code:r.ZodIssueCode.invalid_literal,expected:this._def.value}),p}return{status:"valid",value:e.data}}get value(){return this._def.value}}function _e(e,t){return new we({values:e,typeName:Ve.ZodEnum,...w(t)})}be.create=(e,t)=>new be({value:e,typeName:Ve.ZodLiteral,...w(t)});class we extends k{_parse(e){if("string"!==typeof e.data){const t=this._getOrReturnCtx(e),n=this._def.values;return u(t,{expected:i.util.joinValues(n),received:t.parsedType,code:r.ZodIssueCode.invalid_type}),p}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){const t=this._getOrReturnCtx(e),n=this._def.values;return u(t,{received:t.data,code:r.ZodIssueCode.invalid_enum_value,options:n}),p}return h(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return we.create(e,{...this._def,...t})}exclude(e,t=this._def){return we.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}we.create=_e;class ke extends k{_parse(e){const t=i.util.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==i.ZodParsedType.string&&n.parsedType!==i.ZodParsedType.number){const e=i.util.objectValues(t);return u(n,{expected:i.util.joinValues(e),received:n.parsedType,code:r.ZodIssueCode.invalid_type}),p}if(this._cache||(this._cache=new Set(i.util.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){const e=i.util.objectValues(t);return u(n,{received:n.data,code:r.ZodIssueCode.invalid_enum_value,options:e}),p}return h(e.data)}get enum(){return this._def.values}}ke.create=(e,t)=>new ke({values:e,typeName:Ve.ZodNativeEnum,...w(t)});class Se extends k{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==i.ZodParsedType.promise&&!1===t.common.async)return u(t,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.promise,received:t.parsedType}),p;const n=t.parsedType===i.ZodParsedType.promise?t.data:Promise.resolve(t.data);return h(n.then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}Se.create=(e,t)=>new Se({type:e,typeName:Ve.ZodPromise,...w(t)});class xe extends k{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ve.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,a={addIssue:e=>{u(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(a.addIssue=a.addIssue.bind(a),"preprocess"===r.type){const e=r.transform(n.data,a);if(n.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return p;const r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===r.status?p:"dirty"===r.status||"dirty"===t.value?f(r.value):r});{if("aborted"===t.value)return p;const r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===r.status?p:"dirty"===r.status||"dirty"===t.value?f(r.value):r}}if("refinement"===r.type){const e=e=>{const t=r.refinement(e,a);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===n.common.async){const r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?p:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?p:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))))}if("transform"===r.type){if(!1===n.common.async){const e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!y(e))return p;const i=r.transform(e.value,a);if(i instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:i}}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>y(e)?Promise.resolve(r.transform(e.value,a)).then(e=>({status:t.value,value:e})):p)}i.util.assertNever(r)}}
23xe.create=(e,t,n)=>new xe({schema:e,typeName:Ve.ZodEffects,effect:t,...w(n)}),xe.createWithPreprocess=(e,t,n)=>new xe({schema:t,effect:{type:"preprocess",transform:e},typeName:Ve.ZodEffects,...w(n)});class Ce extends k{_parse(e){return this._getType(e)===i.ZodParsedType.undefined?h(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Ce.create=(e,t)=>new Ce({innerType:e,typeName:Ve.ZodOptional,...w(t)});class Ee extends k{_parse(e){return this._getType(e)===i.ZodParsedType.null?h(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Ee.create=(e,t)=>new Ee({innerType:e,typeName:Ve.ZodNullable,...w(t)});class Ae extends k{_parse(e){const{ctx:t}=this._processInputParams(e);let n=t.data;return t.parsedType===i.ZodParsedType.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}Ae.create=(e,t)=>new Ae({innerType:e,typeName:Ve.ZodDefault,defaultValue:"function"===typeof t.default?t.default:()=>t.default,...w(t)});class Te extends k{_parse(e){const{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},i=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return v(i)?i.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new r.ZodError(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===i.status?i.value:this._def.catchValue({get error(){return new r.ZodError(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}Te.create=(e,t)=>new Te({innerType:e,typeName:Ve.ZodCatch,catchValue:"function"===typeof t.catch?t.catch:()=>t.catch,...w(t)});class Ie extends k{_parse(e){if(this._getType(e)!==i.ZodParsedType.nan){const t=this._getOrReturnCtx(e);return u(t,{code:r.ZodIssueCode.invalid_type,expected:i.ZodParsedType.nan,received:t.parsedType}),p}return{status:"valid",value:e.data}}}Ie.create=e=>new Ie({typeName:Ve.ZodNaN,...w(e)});const Re=Symbol("zod_brand");class Oe extends k{_parse(e){const{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class De extends k{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.common.async){return(async()=>{const e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?p:"dirty"===e.status?(t.dirty(),f(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})()}{const e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?p:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new De({in:e,out:t,typeName:Ve.ZodPipeline})}}class Ne extends k{_parse(e){const t=this._def.innerType._parse(e),n=e=>(y(e)&&(e.value=Object.freeze(e.value)),e);return v(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}}function je(e,t){const n="function"===typeof e?e(t):"string"===typeof e?{message:e}:e;return"string"===typeof n?{message:n}:n}function Fe(e,t={},n){return e?te.create().superRefine((r,i)=>{const a=e(r);if(a instanceof Promise)return a.then(e=>{if(!e){const e=je(t,r),a=e.fatal??n??!0;i.addIssue({code:"custom",...e,fatal:a})}});if(!a){const e=je(t,r),a=e.fatal??n??!0;i.addIssue({code:"custom",...e,fatal:a})}}):te.create()}Ne.create=(e,t)=>new Ne({innerType:e,typeName:Ve.ZodReadonly,...w(t)});const Me={object:se.lazycreate};var Ve;!function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(Ve||(Ve={}));const Pe=(e,t={message:`Input not instance of ${e.name}`})=>Fe(t=>t instanceof e,t),Le=X.create,Be=q.create,He=Ie.create,We=J.create,ze=$.create,Ye=K.create,Ue=Z.create,Xe=Q.create,Ge=ee.create,qe=te.create,Je=ne.create,$e=re.create,Ke=ie.create,Ze=ae.create,Qe=se.create,et=se.strictCreate,tt=le.create,nt=ue.create,rt=pe.create,it=fe.create,at=he.create,ot=me.create,st=ge.create,lt=ye.create,ct=ve.create,ut=be.create,dt=we.create,pt=ke.create,ft=Se.create,ht=xe.create,mt=Ce.create,gt=Ee.create,yt=xe.createWithPreprocess,vt=De.create,bt=()=>Le().optional(),_t=()=>Be().optional(),wt=()=>ze().optional(),kt={string:e=>X.create({...e,coerce:!0}),number:e=>q.create({...e,coerce:!0}),boolean:e=>$.create({...e,coerce:!0}),bigint:e=>J.create({...e,coerce:!0}),date:e=>K.create({...e,coerce:!0})},St=p},12069(e){"use strict";e.exports=JSON.parse('["ac","com.ac","edu.ac","gov.ac","net.ac","mil.ac","org.ac","ad","nom.ad","ae","co.ae","net.ae","org.ae","sch.ae","ac.ae","gov.ae","mil.ae","aero","accident-investigation.aero","accident-prevention.aero","aerobatic.aero","aeroclub.aero","aerodrome.aero","agents.aero","aircraft.aero","airline.aero","airport.aero","air-surveillance.aero","airtraffic.aero","air-traffic-control.aero","ambulance.aero","amusement.aero","association.aero","author.aero","ballooning.aero","broker.aero","caa.aero","cargo.aero","catering.aero","certification.aero","championship.aero","charter.aero","civilaviation.aero","club.aero","conference.aero","consultant.aero","consulting.aero","control.aero","council.aero","crew.aero","design.aero","dgca.aero","educator.aero","emergency.aero","engine.aero","engineer.aero","entertainment.aero","equipment.aero","exchange.aero","express.aero","federation.aero","flight.aero","fuel.aero","gliding.aero","government.aero","groundhandling.aero","group.aero","hanggliding.aero","homebuilt.aero","insurance.aero","journal.aero","journalist.aero","leasing.aero","logistics.aero","magazine.aero","maintenance.aero","media.aero","microlight.aero","modelling.aero","navigation.aero","parachuting.aero","paragliding.aero","passenger-association.aero","pilot.aero","press.aero","production.aero","recreation.aero","repbody.aero","res.aero","research.aero","rotorcraft.aero","safety.aero","scientist.aero","services.aero","show.aero","skydiving.aero","software.aero","student.aero","trader.aero","trading.aero","trainer.aero","union.aero","workinggroup.aero","works.aero","af","gov.af","com.af","org.af","net.af","edu.af","ag","com.ag","org.ag","net.ag","co.ag","nom.ag","ai","off.ai","com.ai","
23net.ai","org.ai","al","com.al","edu.al","gov.al","mil.al","net.al","org.al","am","co.am","com.am","commune.am","net.am","org.am","ao","ed.ao","gv.ao","og.ao","co.ao","pb.ao","it.ao","aq","ar","bet.ar","com.ar","coop.ar","edu.ar","gob.ar","gov.ar","int.ar","mil.ar","musica.ar","mutual.ar","net.ar","org.ar","senasa.ar","tur.ar","arpa","e164.arpa","in-addr.arpa","ip6.arpa","iris.arpa","uri.arpa","urn.arpa","as","gov.as","asia","at","ac.at","co.at","gv.at","or.at","sth.ac.at","au","com.au","net.au","org.au","edu.au","gov.au","asn.au","id.au","info.au","conf.au","oz.au","act.au","nsw.au","nt.au","qld.au","sa.au","tas.au","vic.au","wa.au","act.edu.au","catholic.edu.au","nsw.edu.au","nt.edu.au","qld.edu.au","sa.edu.au","tas.edu.au","vic.edu.au","wa.edu.au","qld.gov.au","sa.gov.au","tas.gov.au","vic.gov.au","wa.gov.au","schools.nsw.edu.au","aw","com.aw","ax","az","com.az","net.az","int.az","gov.az","org.az","edu.az","info.az","pp.az","mil.az","name.az","pro.az","biz.az","ba","com.ba","edu.ba","gov.ba","mil.ba","net.ba","org.ba","bb","biz.bb","co.bb","com.bb","edu.bb","gov.bb","info.bb","net.bb","org.bb","store.bb","tv.bb","*.bd","be","ac.be","bf","gov.bf","bg","a.bg","b.bg","c.bg","d.bg","e.bg","f.bg","g.bg","h.bg","i.bg","j.bg","k.bg","l.bg","m.bg","n.bg","o.bg","p.bg","q.bg","r.bg","s.bg","t.bg","u.bg","v.bg","w.bg","x.bg","y.bg","z.bg","0.bg","1.bg","2.bg","3.bg","4.bg","5.bg","6.bg","7.bg","8.bg","9.bg","bh","com.bh","edu.bh","net.bh","org.bh","gov.bh","bi","co.bi","com.bi","edu.bi","or.bi","org.bi","biz","bj","asso.bj","barreau.bj","gouv.bj","bm","com.bm","edu.bm","gov.bm","net.bm","org.bm","bn","com.bn","edu.bn","gov.bn","net.bn","org.bn","bo","com.bo","edu.bo","gob.bo","int.bo","org.bo","net.bo","mil.bo","tv.bo","web.bo","academia.bo","agro.bo","arte.bo","blog.bo","bolivia.bo","ciencia.bo","cooperativa.bo","democracia.bo","deporte.bo","ecologia.bo","economia.bo","empresa.bo","indigena.bo","industria.bo","info.bo","medicina.bo","movimiento.bo","musica.bo","natural.bo","nombre.bo","noticias.bo","patria.bo","politica.bo","profesional.bo","plurinacional.bo","pueblo.bo","revista.bo","salud.bo","tecnologia.bo","tksat.bo","transporte.bo","wiki.bo","br","9guacu.br","abc.br","adm.br","adv.br","agr.br","aju.br","am.br","anani.br","aparecida.br","app.br","arq.br","art.br","ato.br","b.br","barueri.br","belem.br","bhz.br","bib.br","bio.br","blog.br","bmd.br","boavista.br","bsb.br","campinagrande.br","campinas.br","caxias.br","cim.br","cng.br","cnt.br","com.br","contagem.br","coop.br","coz.br","cri.br","cuiaba.br","curitiba.br","def.br","des.br","det.br","dev.br","ecn.br","eco.br","edu.br","emp.br","enf.br","eng.br","esp.br","etc.br","eti.br","far.br","feira.br","flog.br","floripa.br","fm.br","fnd.br","fortal.br","fot.br","foz.br","fst.br","g12.br","geo.br","ggf.br","goiania.br","gov.br","ac.gov.br","al.gov.br","am.gov.br","ap.gov.br","ba.gov.br","ce.gov.br","df.gov.br","es.gov.br","go.gov.br","ma.gov.br","mg.gov.br","ms.gov.br","mt.gov.br","pa.gov.br","pb.gov.br","pe.gov.br","pi.gov.br","pr.gov.br","rj.gov.br","rn.gov.br","ro.gov.br","rr.gov.br","rs.gov.br","sc.gov.br","se.gov.br","sp.gov.br","to.gov.br","gru.br","imb.br","ind.br","inf.br","jab.br","jampa.br","jdf.br","joinville.br","jor.br","jus.br","leg.br","lel.br","log.br","londrina.br","macapa.br","maceio.br","manaus.br","maringa.br","mat.br","med.br","mil.br","morena.br","mp.br","mus.br","natal.br","net.br","niteroi.br","*.nom.br","not.br","ntr.br","odo.br","ong.br","org.br","osasco.br","palmas.br","poa.br","ppg.br","pro.br","psc.br","psi.br","pvh.br","qsl.br","radio.br","rec.br","recife.br","rep.br","ribeirao.br","rio.br","riobranco.br","riopreto.br","salvador.br","sampa.br","santamaria.br","santoandre.br","saobernardo.br","saogonca.br","seg.br","sjc.br","slg.br","slz.br","sorocaba.br","srv.br","taxi.br","tc.br","tec.br","teo.br","the.br","tmp.br","trd.br","tur.br","tv.br","udi.br","vet.br","vix.br","vlog.br","wiki.br","zlg.br","bs","com.bs","net.bs","org.bs","edu.bs","gov.bs","bt","com.bt","edu.bt","gov.bt","net.bt","org.bt","bv","bw","co.bw","org.bw","by","gov.by","mil.by","com.by","of.by","bz","com.bz","net.bz","org.bz","edu.bz","gov.bz","ca","ab.ca","bc.ca","mb.ca","nb.ca","nf.ca","nl.ca","ns.ca","nt.ca","nu.ca","on.ca","pe.ca","qc.ca","sk.ca","yk.ca","gc.ca","cat","cc","cd","gov.cd","cf","cg","ch","ci","org.ci","or.ci","com.ci","co.ci","edu.ci","ed.ci","ac.ci","net.ci","go.ci","asso.ci","a\xe9roport.ci","int.ci","presse.ci","md.ci","gouv.ci","*.ck","!www.ck","cl","co.cl","gob.cl","gov.cl","mil.cl","cm","co.cm","com.cm","gov.cm","net.cm","cn","ac.cn","com.cn","edu.cn","gov.cn","net.cn","org.cn","mil.cn","\u516c\u53f8.cn","\u7f51\u7edc.cn","\u7db2\u7d61.cn","ah.cn","bj.cn","cq.cn","fj.cn","gd.cn","gs.cn","gz.cn","gx.cn","ha.cn","hb.cn","he.cn","hi.cn","hl.cn","hn.cn","jl.cn","js.cn","jx.cn","ln.cn","nm.cn","nx.cn","qh.cn","sc.cn","sd.cn","sh.cn","sn.cn","
23sx.cn","tj.cn","xj.cn","xz.cn","yn.cn","zj.cn","hk.cn","mo.cn","tw.cn","co","arts.co","com.co","edu.co","firm.co","gov.co","info.co","int.co","mil.co","net.co","nom.co","org.co","rec.co","web.co","com","coop","cr","ac.cr","co.cr","ed.cr","fi.cr","go.cr","or.cr","sa.cr","cu","com.cu","edu.cu","org.cu","net.cu","gov.cu","inf.cu","cv","com.cv","edu.cv","int.cv","nome.cv","org.cv","cw","com.cw","edu.cw","net.cw","org.cw","cx","gov.cx","cy","ac.cy","biz.cy","com.cy","ekloges.cy","gov.cy","ltd.cy","mil.cy","net.cy","org.cy","press.cy","pro.cy","tm.cy","cz","de","dj","dk","dm","com.dm","net.dm","org.dm","edu.dm","gov.dm","do","art.do","com.do","edu.do","gob.do","gov.do","mil.do","net.do","org.do","sld.do","web.do","dz","art.dz","asso.dz","com.dz","edu.dz","gov.dz","org.dz","net.dz","pol.dz","soc.dz","tm.dz","ec","com.ec","info.ec","net.ec","fin.ec","k12.ec","med.ec","pro.ec","org.ec","edu.ec","gov.ec","gob.ec","mil.ec","edu","ee","edu.ee","gov.ee","riik.ee","lib.ee","med.ee","com.ee","pri.ee","aip.ee","org.ee","fie.ee","eg","com.eg","edu.eg","eun.eg","gov.eg","mil.eg","name.eg","net.eg","org.eg","sci.eg","*.er","es","com.es","nom.es","org.es","gob.es","edu.es","et","com.et","gov.et","org.et","edu.et","biz.et","name.et","info.et","net.et","eu","fi","aland.fi","fj","ac.fj","biz.fj","com.fj","gov.fj","info.fj","mil.fj","name.fj","net.fj","org.fj","pro.fj","*.fk","com.fm","edu.fm","net.fm","org.fm","fm","fo","fr","asso.fr","com.fr","gouv.fr","nom.fr","prd.fr","tm.fr","aeroport.fr","avocat.fr","avoues.fr","cci.fr","chambagri.fr","chirurgiens-dentistes.fr","experts-comptables.fr","geometre-expert.fr","greta.fr","huissier-justice.fr","medecin.fr","notaires.fr","pharmacien.fr","port.fr","veterinaire.fr","ga","gb","edu.gd","gov.gd","gd","ge","com.ge","edu.ge","gov.ge","org.ge","mil.ge","net.ge","pvt.ge","gf","gg","co.gg","net.gg","org.gg","gh","com.gh","edu.gh","gov.gh","org.gh","mil.gh","gi","com.gi","ltd.gi","gov.gi","mod.gi","edu.gi","org.gi","gl","co.gl","com.gl","edu.gl","net.gl","org.gl","gm","gn","ac.gn","com.gn","edu.gn","gov.gn","org.gn","net.gn","gov","gp","com.gp","net.gp","mobi.gp","edu.gp","org.gp","asso.gp","gq","gr","com.gr","edu.gr","net.gr","org.gr","gov.gr","gs","gt","com.gt","edu.gt","gob.gt","ind.gt","mil.gt","net.gt","org.gt","gu","com.gu","edu.gu","gov.gu","guam.gu","info.gu","net.gu","org.gu","web.gu","gw","gy","co.gy","com.gy","edu.gy","gov.gy","net.gy","org.gy","hk","com.hk","edu.hk","gov.hk","idv.hk","net.hk","org.hk","\u516c\u53f8.hk","\u6559\u80b2.hk","\u654e\u80b2.hk","\u653f\u5e9c.hk","\u500b\u4eba.hk","\u4e2a\ufffd\ufffd.hk","\u7b87\u4eba.hk","\u7db2\u7edc.hk","\u7f51\u7edc.hk","\u7ec4\u7e54.hk","\u7db2\u7d61.hk","\u7f51\u7d61.hk","\u7ec4\u7ec7.hk","\u7d44\u7e54.hk","\u7d44\u7ec7.hk","hm","hn","com.hn","edu.hn","org.hn","net.hn","mil.hn","gob.hn","hr","iz.hr","from.hr","name.hr","com.hr","ht","com.ht","shop.ht","firm.ht","info.ht","adult.ht","net.ht","pro.ht","org.ht","med.ht","art.ht","coop.ht","pol.ht","asso.ht","edu.ht","rel.ht","gouv.ht","perso.ht","hu","co.hu","info.hu","org.hu","priv.hu","sport.hu","tm.hu","2000.hu","agrar.hu","bolt.hu","casino.hu","city.hu","erotica.hu","erotika.hu","film.hu","forum.hu","games.hu","hotel.hu","ingatlan.hu","jogasz.hu","konyvelo.hu","lakas.hu","media.hu","news.hu","reklam.hu","sex.hu","shop.hu","suli.hu","szex.hu","tozsde.hu","utazas.hu","video.hu","id","ac.id","biz.id","co.id","desa.id","go.id","mil.id","my.id","net.id","or.id","ponpes.id","sch.id","web.id","ie","gov.ie","il","ac.il","co.il","gov.il","idf.il","k12.il","muni.il","net.il","org.il","im","ac.im","co.im","com.im","ltd.co.im","net.im","org.im","plc.co.im","tt.im","tv.im","in","co.in","firm.in","net.in","org.in","gen.in","ind.in","nic.in","ac.in","edu.in","res.in","gov.in","mil.in","info","int","eu.int","io","com.io","iq","gov.iq","edu.iq","mil.iq","com.iq","org.iq","net.iq","ir","ac.ir","co.ir","gov.ir","id.ir","net.ir","org.ir","sch.ir","\u0627\u06cc\u0631\u0627\u0646.ir","\u0627\u064a\u0631\u0627\u0646.ir","is","net.is","com.is","edu.is","gov.is","org.is","int.is","it","gov.it","edu.it","abr.it","abruzzo.it","aosta-valley.it","aostavalley.it","bas.it","basilicata.it","cal.it","calabria.it","cam.it","campania.it","emilia-romagna.it","emiliaromagna.it","emr.it","friuli-v-giulia.it","friuli-ve-giulia.it","friuli-vegiulia.it","friuli-venezia-giulia.it","friuli-veneziagiulia.it","friuli-vgiulia.it","friuliv-giulia.it","friulive-giulia.it","friulivegiulia.it","friulivenez
23ia-giulia.it","friuliveneziagiulia.it","friulivgiulia.it","fvg.it","laz.it","lazio.it","lig.it","liguria.it","lom.it","lombardia.it","lombardy.it","lucania.it","mar.it","marche.it","mol.it","molise.it","piedmont.it","piemonte.it","pmn.it","pug.it","puglia.it","sar.it","sardegna.it","sardinia.it","sic.it","sicilia.it","sicily.it","taa.it","tos.it","toscana.it","trentin-sud-tirol.it","trentin-s\xfcd-tirol.it","trentin-sudtirol.it","trentin-s\xfcdtirol.it","trentin-sued-tirol.it","trentin-suedtirol.it","trentino-a-adige.it","trentino-aadige.it","trentino-alto-adige.it","trentino-altoadige.it","trentino-s-tirol.it","trentino-stirol.it","trentino-sud-tirol.it","trentino-s\xfcd-tirol.it","trentino-sudtirol.it","trentino-s\xfcdtirol.it","trentino-sued-tirol.it","trentino-suedtirol.it","trentino.it","trentinoa-adige.it","trentinoaadige.it","trentinoalto-adige.it","trentinoaltoadige.it","trentinos-tirol.it","trentinostirol.it","trentinosud-tirol.it","trentinos\xfcd-tirol.it","trentinosudtirol.it","trentinos\xfcdtirol.it","trentinosued-tirol.it","trentinosuedtirol.it","trentinsud-tirol.it","trentins\xfcd-tirol.it","trentinsudtirol.it","trentins\xfcdtirol.it","trentinsued-tirol.it","trentinsuedtirol.it","tuscany.it","umb.it","umbria.it","val-d-aosta.it","val-daosta.it","vald-aosta.it","valdaosta.it","valle-aosta.it","valle-d-aosta.it","valle-daosta.it","valleaosta.it","valled-aosta.it","valledaosta.it","vallee-aoste.it","vall\xe9e-aoste.it","vallee-d-aoste.it","vall\xe9e-d-aoste.it","valleeaoste.it","vall\xe9eaoste.it","valleedaoste.it","vall\xe9edaoste.it","vao.it","vda.it","ven.it","veneto.it","ag.it","agrigento.it","al.it","alessandria.it","alto-adige.it","altoadige.it","an.it","ancona.it","andria-barletta-trani.it","andria-trani-barletta.it","andriabarlettatrani.it","andriatranibarletta.it","ao.it","aosta.it","aoste.it","ap.it","aq.it","aquila.it","ar.it","arezzo.it","ascoli-piceno.it","ascolipiceno.it","asti.it","at.it","av.it","avellino.it","ba.it","balsan-sudtirol.it","balsan-s\xfcdtirol.it","balsan-suedtirol.it","balsan.it","bari.it","barletta-trani-andria.it","barlettatraniandria.it","belluno.it","benevento.it","bergamo.it","bg.it","bi.it","biella.it","bl.it","bn.it","bo.it","bologna.it","bolzano-altoadige.it","bolzano.it","bozen-sudtirol.it","bozen-s\xfcdtirol.it","bozen-suedtirol.it","bozen.it","br.it","brescia.it","brindisi.it","bs.it","bt.it","bulsan-sudtirol.it","bulsan-s\xfcdtirol.it","bulsan-suedtirol.it","bulsan.it","bz.it","ca.it","cagliari.it","caltanissetta.it","campidano-medio.it","campidanomedio.it","campobasso.it","carbonia-iglesias.it","carboniaiglesias.it","carrara-massa.it","carraramassa.it","caserta.it","catania.it","catanzaro.it","cb.it","ce.it","cesen
23a-forli.it","cesena-forl\xec.it","cesenaforli.it","cesenaforl\xec.it","ch.it","chieti.it","ci.it","cl.it","cn.it","co.it","como.it","cosenza.it","cr.it","cremona.it","crotone.it","cs.it","ct.it","cuneo.it","cz.it","dell-ogliastra.it","dellogliastra.it","en.it","enna.it","fc.it","fe.it","fermo.it","ferrara.it","fg.it","fi.it","firenze.it","florence.it","fm.it","foggia.it","forli-cesena.it","forl\xec-cesena.it","forlicesena.it","forl\xeccesena.it","fr.it","frosinone.it","ge.it","genoa.it","genova.it","go.it","gorizia.it","gr.it","grosseto.it","iglesias-carbonia.it","iglesiascarbonia.it","im.it","imperia.it","is.it","isernia.it","kr.it","la-spezia.it","laquila.it","laspezia.it","latina.it","lc.it","le.it","lecce.it","lecco.it","li.it","livorno.it","lo.it","lodi.it","lt.it","lu.it","lucca.it","macerata.it","mantova.it","massa-carrara.it","massacarrara.it","matera.it","mb.it","mc.it","me.it","medio-campidano.it","mediocampidano.it","messina.it","mi.it","milan.it","milano.it","mn.it","mo.it","modena.it","monza-brianza.it","monza-e-della-brianza.it","monza.it","monzabrianza.it","monzaebrianza.it","monzaedellabrianza.it","ms.it","mt.it","na.it","naples.it","napoli.it","no.it","novara.it","nu.it","nuoro.it","og.it","ogliastra.it","olbia-tempio.it","olbiatempio.it","or.it","oristano.it","ot.it","pa.it","padova.it","padua.it","palermo.it","parma.it","pavi
23a.it","pc.it","pd.it","pe.it","perugia.it","pesaro-urbino.it","pesarourbino.it","pescara.it","pg.it","pi.it","piacenza.it","pisa.it","pistoia.it","pn.it","po.it","pordenone.it","potenza.it","pr.it","prato.it","pt.it","pu.it","pv.it","pz.it","ra.it","ragusa.it","ravenna.it","rc.it","re.it","reggio-calabria.it","reggio-emilia.it","reggiocalabria.it","reggioemilia.it","rg.it","ri.it","rieti.it","rimini.it","rm.it","rn.it","ro.it","roma.it","rome.it","rovigo.it","sa.it","salerno.it","sassari.it","savona.it","si.it","siena.it","siracusa.it","so.it","sondrio.it","sp.it","sr.it","ss.it","suedtirol.it","s\xfcdtirol.it","sv.it","ta.it","taranto.it","te.it","tempio-olbia.it","tempioolbia.it","teramo.it","terni.it","tn.it","to.it","torino.it","tp.it","tr.it","trani-andria-barletta.it","trani-barletta-andria.it","traniandriabarletta.it","tranibarlettaandria.it","trapani.it","trento.it","treviso.it","trieste.it","ts.it","turin.it","tv.it","ud.it","udine.it","urbino-pesaro.it","urbinopesaro.it","va.it","varese.it","vb.it","vc.it","ve.it","venezia.it","venice.it","verbania.it","vercelli.it","verona.it","vi.it","vibo-valentia.it","vibovalentia.it","vicenza.it","viterbo.it","vr.it","vs.it","vt.it","vv.it","je","co.je","net.je","org.je","*.jm","jo","com.jo","org.jo","net.jo","edu.jo","sch.jo","gov.jo","mil.jo","name.jo","jobs","jp","ac.jp","ad.jp","co.jp","ed.jp","go.jp","gr.jp","lg.jp","ne.jp","or.jp","aichi.jp","akita.jp","aomori.jp","chiba.jp","ehime.jp","fukui.jp","fukuoka.jp","fukushima.jp","gifu.jp","gunma.jp","hiroshima.jp","hokkaido.jp","hyogo.jp","ibaraki.jp","ishikawa.jp","iwate.jp","kagawa.jp","kagoshima.jp","kanagawa.jp","kochi.jp","kumamoto.jp","kyoto.jp","mie.jp","miyagi.jp","miyazaki.jp","nagano.jp","nagasaki.jp","nara.jp","niigata.jp","oita.jp","okayama.jp","okinawa.jp","osaka.jp","saga.jp","saitama.jp","shiga.jp","shimane.jp","shizuoka.jp","tochigi.jp","tokushima.jp","tokyo.jp","tottori.jp","toyama.jp","wakayama.jp","yamagata.jp","yamaguchi.jp","y
23amanashi.jp","\u6803\u6728.jp","\u611b\u77e5.jp","\u611b\u5a9b.jp","\u5175\u5eab.jp","\u718a\u672c.jp","\u8328\u57ce.jp","\u5317\u6d77\u9053.jp","\u5343\u8449.jp","\u548c\u6b4c\u5c71.jp","\u9577\u5d0e.jp","\u9577\u91ce.jp","\u65b0\u6f5f.jp","\u9752\u68ee.jp","\u9759\u5ca1.jp","\u6771\u4eac.jp","\u77f3\u5ddd.jp","\u57fc\u7389.jp","\u4e09\u91cd.jp","\u4eac\u90fd.jp","\u4f50\u8cc0.jp","\u5927\u5206.jp","\u5927\u962a.jp","\u5948\u826f.jp","\u5bae\u57ce.jp","\u5bae\u5d0e.jp","\u5bcc\u5c71.jp","\u5c71\u53e3.jp","\u5c71\u5f62.jp","\u5c71\u68a8.jp","\u5ca9\u624b.jp","\u5c90\u961c.jp","\u5ca1\u5c71.jp","\u5cf6\u6839.jp","\u5e83\u5cf6.jp","\u5fb3\u5cf6.jp","\u6c96\u7e04.jp","\u6ecb\u8cc0.jp","\u795e\u5948\u5ddd.jp","\u798f\u4e95.jp","\u798f\u5ca1.jp","\u798f\u5cf6.jp","\u79cb\u7530.jp","\u7fa4\u99ac.jp","\u9999\u5ddd.jp","\u9ad8\u77e5.jp","\u9ce5\u53d6.jp","\u9e7f\u5150\u5cf6.jp","*.kawasaki.jp","*.kitakyushu.jp","*.kobe.jp","*.nagoya.jp","*.sapporo.jp","*.sendai.jp","*.yokohama.jp","!city.kawasaki.jp","!city.kitakyushu.jp","!city.kobe.jp","!city.nagoya.jp","!city.sapporo.jp","!city.sendai
vendor: 33,984 bytes, line 23
23.jp","!city.yokohama.jp","aisai.aichi.jp","ama.aichi.jp","anjo.aichi.jp","asuke.aichi.jp","chiryu.aichi.jp","chita.aichi.jp","fuso.aichi.jp","gamagori.aichi.jp","handa.aichi.jp","hazu.aichi.jp","hekinan.aichi.jp","higashiura.aichi.jp","ichinomiya.aichi.jp","inazawa.aichi.jp","inuyama.aichi.jp","isshiki.aichi.jp","iwakura.aichi.jp","kanie.aichi.jp","kariya.aichi.jp","kasugai.aichi.jp","kira.aichi.jp","kiyosu.aichi.jp","komaki.aichi.jp","konan.aichi.jp","kota.aichi.jp","mihama.aichi.jp","miyoshi.aichi.jp","nishio.aichi.jp","nisshin.aichi.jp","obu.aichi.jp","oguchi.aichi.jp","oharu.aichi.jp","okazaki.aichi.jp","owariasahi.aichi.jp","seto.aichi.jp","shikatsu.aichi.jp","shinshiro.aichi.jp","shitara.aichi.jp","tahara.aichi.jp","takahama.aichi.jp","tobishima.aichi.jp","toei.aichi.jp","togo.aichi.jp","tokai.aichi.jp","tokoname.aichi.jp","toyoake.aichi.jp","toyohashi.aichi.jp","toyokawa.aichi.jp","toyone.aichi.jp","toyota.aichi.jp","tsushima.aichi.jp","yatomi.aichi.jp","akita.akita.jp","daisen.akita.jp","fujisato.akita.jp","gojome.akita.jp","hachirogata.akita.jp","happou.akita.jp","higashinaruse.akita.jp","honjo.akita.jp","honjyo.akita.jp","ikawa.akita.jp","kamikoani.akita.jp","kamioka.akita.jp","katagami.akita.jp","kazuno.akita.jp","kitaakita.akita.jp","kosaka.akita.jp","kyowa.akita.jp","misato.akita.jp","mitane.akita.jp","moriyoshi.akita.jp","nikaho.akita.jp","noshiro.akita.jp","odate.akita.jp","oga.akita.jp","ogata.akita.jp","semboku.akita.jp","yokote.akita.jp","yurihonjo.akita.jp","aomori.aomori.jp","gonohe.aomori.jp","hachinohe.aomori.jp","hashikami.aomori.jp","hiranai.aomori.jp","hirosaki.aomori.jp","itayanagi.aomori.jp","kuroishi.aomori.jp","misawa.aomori.jp","mutsu.aomori.jp","nakadomari.aomori.jp","noheji.aomori.jp","oirase.aomori.jp","owani.aomori.jp","rokunohe.aomori.jp","sannohe.aomori.jp","shichinohe.aomori.jp","shingo.aomori.jp","takko.aomori.jp","towada.aomori.jp","tsugaru.aomori.jp","tsuruta.aomori.jp","abiko.chiba.jp","asahi.chiba.jp","chonan.chiba.jp","chosei.chiba.jp","choshi.chiba.jp","chuo.chiba.jp","funabashi.chiba.jp","futtsu.chiba.jp","hanamigawa.chiba.jp","ichihara.chiba.jp","ichikawa.chiba.jp","ichinomiya.chiba.jp","inzai.chiba.jp","isumi.chiba.jp","kamagaya.chiba.jp","kamogawa.chiba.jp","kashiwa.chiba.jp","katori.chiba.jp","katsuura.chiba.jp","kimitsu.chiba.jp","kisarazu.chiba.jp","kozaki.chiba.jp","kujukuri.chiba.jp","kyonan.chiba.jp","matsudo.chiba.jp","midori.chiba.jp","mihama.chiba.jp","minamiboso.chiba.jp","mobara.chiba.jp","mutsuzawa.chiba.jp","nagara.chiba.jp","nagareyama.chiba.jp","narashino.chiba.jp","narita.chiba.jp","noda.chiba.jp","oamishirasato.chiba.jp","omigawa.chiba.jp","onjuku.chiba.jp","otaki.chiba.jp","sakae.chiba.jp","sakura.chiba.jp","shimofusa.chiba.jp","shirako.chiba.jp","shiroi.chiba.jp","shisui.chiba.jp","sodegaura.chiba.jp","sosa.chiba.jp","tako.chiba.jp","tateyama.chiba.jp","togane.chiba.jp","tohnosho.chiba.jp","tomisato.chiba.jp","urayasu.chiba.jp","yachimata.chiba.jp","yachiyo.chiba.jp","yokaichiba.chiba.jp","yokoshibahikari.chiba.jp","yotsukaido.chiba.jp","ainan.ehime.jp","honai.ehime.jp","ikata.ehime.jp","imabari.ehime.jp","iyo.ehime.jp","kamijima.ehime.jp","kihoku.ehime.jp","kumakogen.ehime.jp","masaki.ehime.jp","matsuno.ehime.jp","matsuyama.ehime.jp","namikata.ehime.jp","niihama.ehime.jp","ozu.ehime.jp","saijo.ehime.jp","seiyo.ehime.jp","shikokuchuo.ehime.jp","tobe.ehime.jp","toon.ehime.jp","uchiko.ehime.jp","uwajima.ehime.jp","yawatahama.ehime.jp","echizen.fukui.jp","eiheiji.fukui.jp","fukui.fukui.jp","ikeda.fukui.jp","katsuyama.fukui.jp","mihama.fukui.jp","minamiechizen.fukui.jp","obama.fukui.jp","ohi.fukui.jp","ono.fukui.jp","sabae.fukui.jp","sakai.fukui.jp","takahama.fukui.jp","tsuruga.fukui.jp","wakasa.fukui.jp","ashiya.fukuoka.jp","buzen.fukuoka.jp","chikugo.fukuoka.jp","chikuho.fukuoka.jp","chikujo.fukuoka.jp","chikushino.fukuoka.jp","chikuzen.fukuoka.jp","chuo.fukuoka.jp","dazaifu.fukuoka.jp","fukuchi.fukuoka.jp","hakata.fukuoka.jp","higashi.fukuoka.jp","hirokawa.fukuoka.jp","hisayama.fukuoka.jp","iizuka.fukuoka.jp","inatsuki.fukuoka.jp","kaho.fukuoka.jp","kasuga.fukuoka.jp","kasuya.fukuoka.jp","kawara.fukuoka.jp","keisen.fukuoka.jp","koga.fukuoka.jp","kurate.fukuoka.jp","kurogi.fukuoka.jp","kurume.fukuoka.jp","minami.fukuoka.jp","miyako.fukuoka.jp","miyama.fukuoka.jp","miyawaka.fukuoka.jp","mizumaki.fukuoka.jp","munakata.fukuoka.jp","nakagawa.fukuoka.jp","nakama.fukuoka.jp","nishi.fukuoka.jp","nogata.fukuoka.jp","ogori.fukuoka.jp","okagaki.fukuoka.jp","okawa.fukuoka.jp","oki.fukuoka.jp","omuta.fukuoka.jp","onga.fukuoka.jp","onojo.fukuoka.jp","oto.fukuoka.jp","saigawa.fukuoka.jp","sasaguri.fukuoka.jp","shingu.fukuoka.jp","shinyoshitomi.fukuoka.jp","shonai.fukuoka.jp","soeda.fukuoka.jp","sue.fukuoka.jp","tachiarai.fukuoka.jp","tagawa.fukuoka.jp","takata.fukuoka.jp","toho.fukuoka.jp","toyotsu.fukuoka.jp","tsuiki.fukuoka.jp","ukiha.fukuoka.jp","umi.fukuoka.jp","usui.fukuoka.jp","yamada.fukuoka.jp","yame.fukuoka.jp","yanagawa.fukuoka.jp","yukuhashi.fukuoka.jp","aizubange.fukushima.jp","aizumisato.fukushima.jp","aizuwakamatsu.fukushima.jp","asakawa.fukushima.jp","bandai.fukushima.jp","date.fukushima.jp","fukushima.fukushima.jp","furudono.fukushima.jp","futaba.fukushima.jp","hanawa.fukushima.jp","higashi.fukushima.jp","hirata.fukushima.jp","hirono.fukushima.jp","iitate.fukushima.jp","inawashiro.fukushima.jp","ishikawa.fukushima.jp","iwaki.fukushima.jp","izumizaki.fukushima.jp","kagamiishi.fukushima.jp","kaneyama.fukushima.jp","kawamata.fukushima.jp","kitakata.fukushima.jp","kitashiobara.fukushima.jp","koori.fukushima.jp","koriyama.fukushima.jp","kunimi.fukushima.jp","miharu.fukushima.jp","mishima.fukushima.jp","namie.fukushima.jp","nango.fukushima.jp","nishiaizu.fukushima.jp","nishigo.fukushima.jp","okuma.fukushima.jp","omotego.fukushima.jp","ono.fukushima.jp","otama.fukushima.jp","samegawa.fukushima.jp","shimogo.fukushima.jp","shirakawa.fukushima.jp","showa.fukushima.jp","soma.fukushima.jp","sukagawa.fukushima.jp","taishin.fukushima.jp","tamakawa.fukushima.jp","tanagura.fukushima.jp","tenei.fukushima.jp","yabuki.fukushima.jp","yamato.fukushima.jp","yamatsuri.fukushima.jp","yanaizu.fukushima.jp","yugawa.fukushima.jp","anpachi.gifu.jp","ena.gifu.jp","gifu.gifu.jp","ginan.gifu.jp","godo.gifu.jp","gujo.gifu.jp","hashima.gifu.jp","hichiso.gifu.jp","hida.gifu.jp","higashishirakawa.gifu.jp","ibigawa.gifu.jp","ikeda.gifu.jp","kakamigahara.gifu.jp","kani.gifu.jp","kasahara.gifu.jp","kasamatsu.gifu.jp","kawaue.gifu.jp","kitagata.gifu.jp","mino.gifu.jp","minokamo.gifu.jp","mitake.gifu.jp","mizunami.gifu.jp","motosu.gifu.jp","nakatsugawa.gifu.jp","ogaki.gifu.jp","sakahogi.gifu.jp","seki.gifu.jp","sekigahara.gifu.jp","shirakawa.gifu.jp","tajimi.gifu.jp","takayama.gifu.jp","tarui.gifu.jp","toki.gifu.jp","tomika.gifu.jp","wanouchi.gifu.jp","yamagata.gifu.jp","yaotsu.gifu.jp","yoro.gifu.jp","annaka.gunma.jp","chiyoda.gunma.jp","fujioka.gunma.jp","higashiagatsuma.gunma.jp","isesaki.gunma.jp","itakura.gunma.jp","kanna.gunma.jp","kanra.gunma.jp","katashina.gunma.jp","kawaba.gunma.jp","kiryu.gunma.jp","kusatsu.gunma.jp","maebashi.gunma.jp","meiwa.gunma.jp","midori.gunma.jp","minakami.gunma.jp","naganohara.gunma.jp","nakanojo.gunma.jp","nanmoku.gunma.jp","numata.gunma.jp","oizumi.gunma.jp","ora.gunma.jp","ota.gunma.jp","shibukawa.gunma.jp","shimonita.gunma.jp","shinto.gunma.jp","showa.gunma.jp","takasaki.gunma.jp","takayama.gunma.jp","tamamura.gunma.jp","tatebayashi.gunma.jp","tomioka.gunma.jp","tsukiyono.gunma.jp","tsumagoi.gunma.jp","ueno.gunma.jp","yoshioka.gunma.jp","asaminami.hiroshima.jp","daiwa.hiroshima.jp","etajima.hiroshima.jp","fuchu.hiroshima.jp","fukuyama.hiroshima.jp","hatsukaichi.hiroshima.jp","higashihiroshima.hiroshima.jp","hongo.hiroshima.jp","jinsekikogen.hiroshima.jp","kaita.hiroshima.jp","kui.hiroshima.jp","kumano.hiroshima.jp","kure.hiroshima.jp","mihara.hiroshima.jp","miyoshi.hiroshima.jp","naka.hiroshima.jp","onomichi.hiroshima.jp","osakikamijima.hiroshima.jp","otake.hiroshima.jp","saka.hiroshima.jp","sera.hiroshima.jp","seranishi.hiroshima.jp","shinichi.hiroshima.jp","shobara.hiroshima.jp","takehara.hiroshima.jp","abashiri.hokkaido.jp","abira.hokkaido.jp","aibetsu.hokkaido.jp","akabira.hokkaido.jp","akkeshi.hokkaido.jp","asahikawa.hokkaido.jp","ashibetsu.hokkaido.jp","ashoro.hokkaido.jp","assabu.hokkaido.jp","atsuma.hokkaido.jp","bibai.hokkaido.jp","biei.hokkaido.jp","bifuka.hokkaido.jp","bihoro.hokkaido.jp","biratori.hokkaido.jp","chippubetsu.hokkaido.jp","chitose.hokkaido.jp","date.hokkaido.jp","ebetsu.hokkaido.jp","embetsu.hokkaido.jp","eniwa.hokkaido.jp","erimo.hokkaido.jp","esan.hokkaido.jp","esashi.hokkaido.jp","fukagawa.hokkaido.jp","fukushima.hokkaido.jp","furano.hokkaido.jp","furubira.hokkaido.jp","haboro.hokkaido.jp","hakodate.hokkaido.jp","hamatonbetsu.hokkaido.jp","hidaka.hokkaido.jp","higashikagura.hokkaido.jp","higashikawa.hokkaido.jp","hiroo.hokkaido.jp","hokuryu.hokkaido.jp","hokuto.hokkaido.jp","honbetsu.hokkaido.jp","horokanai.hokkaido.jp","horonobe.hokkaido.jp","ikeda.hokkaido.jp","imakane.hokkaido.jp","ishikari.hokkaido.jp","iwamizawa.hokkaido.jp","iwanai.hokkaido.jp","kamifurano.hokkaido.jp","kamikawa.hokkaido.jp","kamishihoro.hokkaido.jp","kamisunagawa.hokkaido.jp","kamoenai.hokkaido.jp","kayabe.hokkaido.jp","kembuchi.hokkaido.jp","kikonai.hokkaido.jp","kimobetsu.hokkaido.jp","kitahiroshima.hokkaido.jp","kitami.hokkaido.jp","kiyosato.hokkaido.jp","koshimizu.hokkaido.jp","kunneppu.hokkaido.jp","kuriyama.hokkaido.jp","kuromatsunai.hokkaido.jp","kushiro.hokkaido.jp","kutchan.hokkaido.jp","kyowa.hokkaido.jp","mashike.hokkaido.jp","matsumae.hokkaido.jp","mikasa.hokkaido.jp","minamifurano.hokkaido.jp","mombetsu.hokkaido.jp","moseushi.hokkaido.jp","mukawa.hokkaido.jp","muroran.hokkaido.jp","naie.hokkaido.jp","nakagawa.hokkaido.jp","nakasatsunai.hokkaido.jp","nakatombetsu.hokkaido.jp","nanae.hokkaido.jp","nanporo.hokkaido.jp","nayoro.hokkaido.jp","nemuro.hokkaido.jp","niikappu.hokkaido.jp","niki.hokkaido.jp","nishiokoppe.hokkaido.jp","noboribetsu.hokkaido.jp","numata.hokkaido.jp","obihiro.hokkaido.jp","obira.hokkaido.jp","oketo.hokkaido.jp","okoppe.hokkaido.jp","otaru.hokkaido.jp","otobe.hokkaido.jp","otofuke.hokkaido.jp","otoineppu.hokkaido.jp","oumu.hokkaido.jp","ozora.hokkaido.jp","pippu.hokkaido.jp","rankoshi.hokkaido.jp","rebun.hokkaido.jp","rikubetsu.hokkaido.jp","rishiri.hokkaido.jp","rishirifuji.hokkaido.jp","saroma.hokkaido.jp","sarufutsu.hokkaido.jp","shakotan.hokkaido.jp","shari.hokkaido.jp","shibecha.hokkaido.jp","shibetsu.hokkaido.jp","shikabe.hokkaido.jp","shikaoi.hokkaido.jp","shimamaki.hokkaido.jp","shimizu.hokkaido.jp","shimokawa.hokkaido.jp","shinshinotsu.hokkaido.jp","shintoku.hokkaido.jp","shiranuka.hokkaido.jp","shiraoi.hokkaido.jp","shiriuchi.hokkaido.jp","sobetsu.hokkaido.jp","sunagawa.hokkaido.jp","taiki.hokkaido.jp","takasu.hokkaido.jp","takikawa.hokkaido.jp","takinoue.hokkaido.jp","teshikaga.hokkaido.jp","tobetsu.hokkaido.jp","tohma.hokkaido.jp","tomakomai.hokkaido.jp","tomari.hokkaido.jp","toya.hokkaido.jp","toyako.hokkaido.jp","toyotomi.hokkaido.jp","toyoura.hokkaido.jp","tsubetsu.hokkaido.jp","tsukigata.hokkaido.jp","urakawa.hokkaido.jp","urausu.hokkaido.jp","uryu.hokkaido.jp","utashinai.hokkaido.jp","wakkanai.hokkaido.jp","wassamu.hokkaido.jp","yakumo.hokkaido.jp","yoichi.hokkaido.jp","aioi.hyogo.jp","akashi.hyogo.jp","ako.hyogo.jp","amagasaki.hyogo.jp","aogaki.hyogo.jp","asago.hyogo.jp","ashiya.hyogo.jp","awaji.hyogo.jp","fukusaki.hyogo.jp","goshiki.hyogo.jp","harima.hyogo.jp","himeji.hyogo.jp","ichikawa.hyogo.jp","inagawa.hyogo.jp","itami.hyogo.jp","kakogawa.hyogo.jp","kamigori.hyogo.jp","kamikawa.hyogo.jp","kasai.hyogo.jp","kasuga.hyogo.jp","kawanishi.hyogo.jp","miki.hyogo.jp","minamiawaji.hyogo.jp","nishinomiya.hyogo.jp","nishiwaki.hyogo.jp","ono.hyogo.jp","sanda.hyogo.jp","sannan.hyogo.jp","sasayama.hyogo.jp","sayo.hyogo.jp","shingu.hyogo.jp","shinonsen.hyogo.jp","shiso.hyogo.jp","sumoto.hyogo.jp","taishi.hyogo.jp","taka.hyogo.jp","takarazuka.hyogo.jp","takasago.hyogo.jp","takino.hyogo.jp","tamba.hyogo.jp","tatsuno.hyogo.jp","toyooka.hyogo.jp","yabu.hyogo.jp","yashiro.hyogo.jp","yoka.hyogo.jp","yokawa.hyogo.jp","ami.ibaraki.jp","asahi.ibaraki.jp","bando.ibaraki.jp","chikusei.ibaraki.jp","daigo.ibaraki.jp","fujishiro.ibaraki.jp","hitachi.ibaraki.jp","hitachinaka.ibaraki.jp","hitachiomiya.ibaraki.jp","hitachiota.ibaraki.jp","ibaraki.ibaraki.jp","ina.ibaraki.jp","inashiki.ibaraki.jp","itako.ibaraki.jp","iwama.ibaraki.jp","joso.ibaraki.jp","kamisu.ibaraki.jp","kasama.ibaraki.jp","kashima.ibaraki.jp","kasumigaura.ibaraki.jp","koga.ibaraki.jp","miho.ibaraki.jp","mito.ibaraki.jp","moriya.ibaraki.jp","naka.ibaraki.jp","namegata.ibaraki.jp","oarai.ibaraki.jp","ogawa.ibaraki.jp","omitama.ibaraki.jp","ryugasaki.ibaraki.jp","sakai.ibaraki.jp","sakuragawa.ibaraki.jp","shimodate.ibaraki.jp","shimotsuma.ibaraki.jp","shirosato.ibaraki.jp","sowa.ibaraki.jp","suifu.ibaraki.jp","takahagi.ibaraki.jp","tamatsukuri.ibaraki.jp","tokai.ibaraki.jp","tomobe.ibaraki.jp","tone.ibaraki.jp","toride.ibaraki.jp","tsuchiura.ibaraki.jp","tsukuba.ibaraki.jp","uchihara.ibaraki.jp","ushiku.ibaraki.jp","yachiyo.ibaraki.jp","yamagata.ibaraki.jp","yawara.ibaraki.jp","yuki.ibaraki.jp","anamizu.ishikawa.jp","hakui.ishikawa.jp","hakusan.ishikawa.jp","kaga.ishikawa.jp","kahoku.ishikawa.jp","kanazawa.ishikawa.jp","kawakita.ishikawa.jp","komatsu.ishikawa.jp","nakanoto.ishikawa.jp","nanao.ishikawa.jp","nomi.ishikawa.jp","nonoichi.ishikawa.jp","noto.ishikawa.jp","shika.ishikawa.jp","suzu.ishikawa.jp","tsubata.ishikawa.jp","tsurugi.ishikawa.jp","uchinada.ishikawa.jp","wajima.ishikawa.jp","fudai.iwate.jp","fujisawa.iwate.jp","hanamaki.iwate.jp","hiraizumi.iwate.jp","hirono.iwate.jp","ichinohe.iwate.jp","ichinoseki.iwate.jp","iwaizumi.iwate.jp","iwate.iwate.jp","joboji.iwate.jp","kamaishi.iwate.jp","kanegasaki.iwate.jp","karumai.iwate.jp","kawai.iwate.jp","kitakami.iwate.jp","kuji.iwate.jp","kunohe.iwate.jp","kuzumaki.iwate.jp","miyako.iwate.jp","mizusawa.iwate.jp","morioka.iwate.jp","ninohe.iwate.jp","noda.iwate.jp","ofunato.iwate.jp","oshu.iwate.jp","otsuchi.iwate.jp","rikuzentakata.iwate.jp","shiwa.iwate.jp","shizukuishi.iwate.jp","sumita.iwate.jp","tanohata.iwate.jp","tono.iwate.jp","yahaba.iwate.jp","yamada.iwate.jp","ayagawa.kagawa.jp","higashikagawa.kagawa.jp","kanonji.kagawa.jp","kotohira.kagawa.jp","manno.kagawa.jp","marugame.kagawa.jp","mitoyo.kagawa.jp","naoshima.kagawa.jp","sanuki.kagawa.jp","tadotsu.kagawa.jp","takamatsu.kagawa.jp","tonosho.kagawa.jp","uchinomi.kagawa.jp","utazu.kagawa.jp","zentsuji.kagawa.jp","akune.kagoshima.jp","amami.kagoshima.jp","hioki.kagoshima.jp","isa.kagoshima.jp","isen.kagoshima.jp","izumi.kagoshima.jp","kagoshima.kagoshima.jp","kanoya.kagoshima.jp","kawanabe.kagoshima.jp","kinko.kagoshima.jp","kouyama.kagoshima.jp","makurazaki.kagoshima.jp","matsumoto.kagoshima.jp","minamitane.kagoshima.jp","nakatane.kagoshima.jp","nishinoomote.kagoshima.jp","satsumasendai.kagoshima.jp","soo.kagoshima.jp","tarumizu.kagoshima.jp","yusui.kagoshima.jp","aikawa.kanagawa.jp","atsugi.kanagawa.jp","ayase.kanagawa.jp","chigasaki.kanagawa.jp","ebina.kanagawa.jp","fujisawa.kanagawa.jp","hadano.kanagawa.jp","hakone.kanagawa.jp","hiratsuka.kanagawa.jp","isehara.kanagawa.jp","kaisei.kanagawa.jp","kamakura.kanagawa.jp","kiyokawa.kanagawa.jp","matsuda.kanagawa.jp","minamiashigara.kanagawa.jp","miura.kanagawa.jp","nakai.kanagawa.jp","ninomiya.kanagawa.jp","odawara.kanagawa.jp","oi.kanagawa.jp","oiso.kanagawa.jp","sagamihara.kanagawa.jp","samukawa.kanagawa.jp","tsukui.kanagawa.jp","yamakita.kanagawa.jp","yamato.kanagawa.jp","yokosuka.kanagawa.jp","yugawara.kanagawa.jp","zama.kanagawa.jp","zushi.kanagawa.jp","aki.kochi.jp","geisei.kochi.jp","hidaka.kochi.jp","higashitsuno.kochi.jp","ino.kochi.jp","kagami.kochi.jp","kami.kochi.jp","kitagawa.kochi.jp","kochi.kochi.jp","mihara.kochi.jp","motoyama.kochi.jp","muroto.kochi.jp","nahari.kochi.jp","nakamura.kochi.jp","nankoku.kochi.jp","nishitosa.kochi.jp","niyodogawa.kochi.jp","ochi.kochi.jp","okawa.kochi.jp","otoyo.kochi.jp","otsuki.kochi.jp","sakawa.kochi.jp","sukumo.kochi.jp","susaki.kochi.jp","tosa.kochi.jp","tosashimizu.kochi.jp","toyo.kochi.jp","tsuno.kochi.jp","umaji.kochi.jp","yasuda.kochi.jp","yusuhara.kochi.jp","amakusa.kumamoto.jp","arao.kumamoto.jp","aso.kumamoto.jp","choyo.kumamoto.jp","gyokuto.kumamoto.jp","kamiamakusa.kumamoto.jp","kikuchi.kumamoto.jp","kumamoto.kumamoto.jp","mashiki.kumamoto.jp","mifune.kumamoto.jp","minamata.kumamoto.jp","minamioguni.kumamoto.jp","nagasu.kumamoto.jp","nishihara.kumamoto.jp","oguni.kumamoto.jp","ozu.kumamoto.jp","sumoto.kumamoto.jp","takamori.kumamoto.jp","uki.kumamoto.jp","uto.kumamoto.jp","yamaga.kumamoto.jp","yamato.kumamoto.jp","yatsushiro.kumamoto.jp","ayabe.kyoto.jp","fukuchiyama.kyoto.jp","higashiyama.kyoto.jp","ide.kyoto.jp","ine.kyoto.jp","joyo.kyoto.jp","kameoka.kyoto.jp","kamo.kyoto.jp","kita.kyoto.jp","kizu.kyoto.jp","kumiyama.kyoto.jp","kyotamba.kyoto.jp","kyotanabe.kyoto.jp","kyotango.kyoto.jp","maizuru.kyoto.jp","minami.kyoto.jp","minamiyamashiro.kyoto.jp","miyazu.kyoto.jp","muko.kyoto.jp","nagaokakyo.kyoto.jp","nakagyo.kyoto.jp","nantan.kyoto.jp","oyamazaki.kyoto.jp","sakyo.kyoto.jp","seika.kyoto.jp","tanabe.kyoto.jp","uji.kyoto.jp","ujitawara.kyoto.jp","wazuka.kyoto.jp","yamashina.kyoto.jp","yawata.kyoto.jp","asahi.mie.jp","inabe.mie.jp","ise.mie.jp","kameyama.mie.jp","kawagoe.mie.jp","kiho.mie.jp","kisosaki.mie.jp","kiwa.mie.jp","komono.mie.jp","kumano.mie.jp","kuwana.mie.jp","matsusaka.mie.jp","meiwa.mie.jp","mihama.mie.jp","minamiise.mie.jp","misugi.mie.jp","miyama.mie.jp","nabari.mie.jp","shima.mie.jp","suzuka.mie.jp","tado.mie.jp","taiki.mie.jp","taki.mie.jp","tamaki.mie.jp","toba.mie.jp","tsu.mie.jp","udono.mie.jp","ureshino.mie.jp","watarai.mie.jp","yokkaichi.mie.jp","furukawa.miyagi.jp","higashimatsushima.miyagi.jp","ishinomaki.miyagi.jp","iwanuma.miyagi.jp","kakuda.miyagi.jp","kami.miyagi.jp","kawasaki.miyagi.jp","marumori.miyagi.jp","matsushima.miyagi.jp","minamisanriku.miyagi.jp","misato.miyagi.jp","murata.miyagi.jp","natori.miyagi.jp","ogawara.miyagi.jp","ohira.miyagi.jp","onagawa.miyagi.jp","osaki.miyagi.jp","rifu.miyagi.jp","semine.miyagi.jp","shibata.miyagi.jp","shichikashuku.miyagi.jp","shikama.miyagi.jp","shiogama.miyagi.jp","shiroishi.miyagi.jp","tagajo.miyagi.jp","taiwa.miyagi.jp","tome.miyagi.jp","tomiya.miyagi.jp","wakuya.miyagi.jp","watari.miyagi.jp","yamamoto.miyagi.jp","zao.miyagi.jp","aya.miyazaki.jp","ebino.miyazaki.jp","gokase.miyazaki.jp","hyuga.miyazaki.jp","kadogawa.miyazaki.jp","kawaminami.miyazaki.jp","kijo.miyazaki.jp","kitagawa.miyazaki.jp","kitakata.miyazaki.jp","kitaura.miyazaki.jp","kobayashi.miyazaki.jp","kunitomi.miyazaki.jp","kushima.miyazaki.jp","mimata.miyazaki.jp","miyakonojo.miyazaki.jp","miyazaki.miyazaki.jp","morotsuka.miyazaki.jp","nichinan.miyazaki.jp","nishimera.miyazaki.jp","nobeoka.miyazaki.jp","saito.miyazaki.jp","shiiba.miyazaki.jp","shintomi.miyazaki.jp","takaharu.miyazaki.jp","takanabe.miyazaki.jp","takazaki.miyazaki.jp","tsuno.miyazaki.jp","achi.nagano.jp","agematsu.nagano.jp","anan.nagano.jp","aoki.nagano.jp","asahi.nagano.jp","azumino.nagano.jp","chikuhoku.nagano.jp","chikuma.nagano.jp","chino.nagano.jp","fujimi.nagano.jp","hakuba.nagano.jp","hara.nagano.jp","hiraya.nagano.jp","iida.nagano.jp","iijima.nagano.jp","iiyama.nagano.jp","iizuna.nagano.jp","ikeda.nagano.jp","ikusaka.nagano.jp","ina.nagano.jp","karuizawa.nagano.jp","kawakami.nagano.jp","kiso.nagano.jp","kisofukushima.nagano.jp","kitaaiki.nagano.jp","komagane.nagano.jp","komoro.nagano.jp","matsukawa.nagano.jp","matsumoto.nagano.jp","miasa.nagano.jp","minamiaiki.nagano.jp","minamimaki.nagano.jp","minamiminowa.nagano.jp","minowa.nagano.jp","miyada.nagano.jp","miyota.nagano.jp","mochizuki.nagano.jp","nagano.nagano.jp","nagawa.nagano.jp","nagiso.nagano.jp","nakagawa.nagano.jp","nakano.nagano.jp","nozawaonsen.nagano.jp","obuse.nagano.jp","ogawa.nagano.jp","okaya.nagano.jp","omachi.nagano.jp","omi.nagano.jp","ookuwa.nagano.jp","ooshika.nagano.jp","otaki.nagano.jp","otari.nagano.jp","sakae.nagano.jp","sakaki.nagano.jp","saku.nagano.jp","sakuho.nagano.jp","shimosuwa.nagano.jp","shinanomachi.nagano.jp","shiojiri.nagano.jp","suwa.nagano.jp","suzaka.nagano.jp","takagi.nagano.jp","takamori.nagano.jp","takayama.nagano.jp","tateshina.nagano.jp","tatsuno.nagano.jp","togakushi.nagano.jp","togura.nagano.jp","tomi.nagano.jp","ueda.nagano.jp","wada.nagano.jp","yamagata.nagano.jp","yamanouchi.nagano.jp","yasaka.nagano.jp","yasuoka.nagano.jp","chijiwa.nagasaki.jp","futsu.nagasaki.jp","goto.nagasaki.jp","hasami.nagasaki.jp","hirado.nagasaki.jp","iki.nagasaki.jp","isahaya.nagasaki.jp","kawatana.nagasaki.jp","kuchinotsu.nagasaki.jp","matsuura.nagasaki.jp","nagasaki.nagasaki.jp","obama.nagasaki.jp","omura.nagasaki.jp","oseto.nagasaki.jp","saikai.nagasaki.jp","sasebo.nagasaki.jp","seihi.nagasaki.jp","shimabara.nagasaki.jp","shinkamigoto.nagasaki.jp","togitsu.nagasaki.jp","tsushima.nagasaki.jp","unzen.nagasaki.jp","ando.nara.jp","gose.nara.jp","heguri.nara.jp","higashiyoshino.nara.jp","ikaruga.nara.jp","ikoma.nara.jp","kamikitayama.nara.jp","kanmaki.nara.jp","kashiba.nara.jp","kashihara.nara.jp","katsuragi.nara.jp","kawai.nara.jp","kawakami.nara.jp","kawanishi.nara.jp","koryo.nara.jp","kurotaki.nara.jp","mitsue.nara.jp","miyake.nara.jp","nara.nara.jp","nosegawa.nara.jp","oji.nara.jp","ouda.nara.jp","oyodo.nara.jp","sakurai.nara.jp","sango.nara.jp","shimoichi.nara.jp","shimokitayama.nara.jp","shinjo.nara.jp","soni.nara.jp","takatori.nara.jp","tawaramoto.nara.jp","tenkawa.nara.jp","tenri.nara.jp","uda.nara.jp","yamatokoriyama.nara.jp","yamatotakada.nara.jp","yamazoe.nara.jp","yoshino.nara.jp","aga.niigata.jp","agano.niigata.jp","gosen.niigata.jp","itoigawa.niigata.jp","izumozaki.niigata.jp","joetsu.niigata.jp","kamo.niigata.jp","kariwa.niigata.jp","kashiwazaki.niigata.jp","minamiuonuma.niigata.jp","mitsuke.niigata.jp","muika.niigata.jp","murakami.niigata.jp","myoko.niigata.jp","nagaoka.niigata.jp","niigata.niigata.jp","ojiya.niigata.jp","omi.niigata.jp","sado.niigata.jp","sanjo.niigata.jp","seiro.niigata.jp","seirou.niigata.jp","sekikawa.niigata.jp","shibata.niigata.jp","tagami.niigata.jp","tainai.niigata.jp","tochio.niigata.jp","tokamachi.niigata.jp","tsubame.niigata.jp","tsunan.niigata.jp","uonuma.niigata.jp","yahiko.niigata.jp","yoita.niigata.jp","yuzawa.niigata.jp","beppu.oita.jp","bungoono.oita.jp","bungotakada.oita.jp","hasama.oita.jp","hiji.oita.jp","himeshima.oita.jp","hita.oita.jp","kamitsue.oita.jp","kokonoe.oita.jp","kuju.oita.jp","kunisaki.oita.jp","kusu.oita.jp","oita.oita.jp","saiki.oita.jp","taketa.oita.jp","tsukumi.oita.jp","usa.oita.jp","usuki.oita.jp","yufu.oita.jp","akaiwa.okayama.jp","asakuchi.okayama.jp","bizen.okayama.jp","hayashima.okayama.jp","ibara.okayama.jp","kagamino.okayama.jp","kasaoka.okayama.jp","kibichuo.okayama.jp","kumenan.okayama.jp","kurashiki.okayama.jp","maniwa.okayama.jp","misaki.okayama.jp","nagi.okayama.jp","niimi.okayama.jp","nishiawakura.okayama.jp","okayama.okayama.jp","satosho.okayama.jp","setouchi.okayama.jp","shinjo.okayama.jp","shoo.okayama.jp","soja.okayama.jp","takahashi.okayama.jp","tamano.okayama.jp","tsuyama.okayama.jp","wake.okayama.jp","yakage.okayama.jp","aguni.okinawa.jp","ginowan.okinawa.jp","ginoza.okinawa.jp","gushikami.okinawa.jp","haebaru.okinawa.jp","higashi.okinawa.jp","hirara.okinawa.jp","iheya.okinawa.jp","ishigaki.okinawa.jp","ishikawa.okinawa.jp","itoman.okinawa.jp","izena.okinawa.jp","kadena.okinawa.jp","kin.okinawa.jp","kitadaito.okinawa.jp","kitanakagusuku.okinawa.jp","kumejima.okinawa.jp","kunigami.okinawa.jp","minamidaito.okinawa.jp","motobu.okinawa.jp","nago.okinawa.jp","naha.okinawa.jp","nakagusuku.okinawa.jp","nakijin.okinawa.jp","nanjo.okinawa.jp","nishihara.okinawa.jp","ogimi.okinawa.jp","okinawa.okinawa.jp","onna.okinawa.jp","shimoji.okinawa.jp","taketomi.okinawa.jp","tarama.okinawa.jp","tokashiki.okinawa.jp","tomigusuku.okinawa.jp","tonaki.okinawa.jp","urasoe.okinawa.jp","uruma.okinawa.jp","yaese.okinawa.jp","yomitan.okinawa.jp","yonabaru.okinawa.jp","yonaguni.okinawa.jp","zamami.okinawa.jp","abeno.osaka.jp","chihayaakasaka.osaka.jp","chuo.osaka.jp","daito.osaka.jp","fujiidera.osaka.jp","habikino.osaka.jp","hannan.osaka.jp","higashiosaka.osaka.jp","higashisumiyoshi.osaka.jp","higashiyodogawa.osaka.jp","hirakata.osaka.jp","ibaraki.osaka.jp","ikeda.osaka.jp","izumi.osaka.jp","izumiotsu.osaka.jp","izumisano.osaka.jp","kadoma.osaka.jp","kaizuka.osaka.jp","kanan.osaka.jp","kashiwara.osaka.jp","katano.osaka.jp","kawachinagano.osaka.jp","kishiwada.osaka.jp","kita.osaka.jp","kumatori.osaka.jp","matsubara.osaka.jp","minato.osaka.jp","minoh.osaka.jp","misaki.osaka.jp","moriguchi.osaka.jp","neyagawa.osaka.jp","nishi.osaka.jp","nose.osaka.jp","osakasayama.osaka.jp","sakai.osaka.jp","sayama.osaka.jp","sennan.osaka.jp","settsu.osaka.jp","shijonawate.osaka.jp","shimamoto.osaka.jp","suita.osaka.jp","tadaoka.osaka.jp","taishi.osaka.jp","tajiri.osaka.jp","takaishi.osaka.jp","takatsuki.osaka.jp","tondabayashi.osaka.jp","toyonaka.osaka.jp","toyono.osaka.jp","yao.osaka.jp","ariake.saga.jp","arita.saga.jp","fukudomi.saga.jp","genkai.saga.jp","hamatama.saga.jp","hizen.saga.jp","imari.saga.jp","kamimine.saga.jp","kanzaki.saga.jp","karatsu.saga.jp","kashima.saga.jp","kitagata.saga.jp","kitahata.saga.jp","kiyama.saga.jp","kouhoku.saga.jp","kyuragi.saga.jp","nishiarita.saga.jp","ogi.saga.jp","omachi.saga.jp","ouchi.saga.jp","saga.saga.jp","shiroishi.saga.jp","taku.saga.jp","tara.saga.jp","tosu.saga.jp","yoshinogari.saga.jp","arakawa.saitama.jp","asaka.saitama.jp","chichibu.saitama.jp","fujimi.saitama.jp","fujimino.saitama.jp","fukaya.saitama.jp","hanno.saitama.jp","hanyu.saitama.jp","hasuda.saitama.jp","hatogaya.saitama.jp","hatoyama.saitama.jp","hidaka.saitama.jp","higashichichibu.saitama.jp","higashimatsuyama.saitama.jp","honjo.saitama.jp","ina.saitama.jp","iruma.saitama.jp","iwatsuki.saitama.jp","kamiizumi.saitama.jp","kamikawa.saitama.jp","kamisato.saitama.jp","kasukabe.saitama.jp","kawagoe.saitama.jp","kawaguchi.saitama.jp","kawajima.saitama.jp","kazo.saitama.jp","kitamoto.saitama.jp","koshigaya.saitama.jp","kounosu.saitama.jp","kuki.saitama.jp","kumagaya.saitama.jp","matsubushi.saitama.jp","minano.saitama.jp","misato.saitama.jp","miyashiro.saitama.jp","miyoshi.saitama.jp","moroyama.saitama.jp","nagatoro.saitama.jp","namegawa.saitama.jp","niiza.saitama.jp","ogano.saitama.jp","ogawa.saitama.jp","ogose.saitama.jp","okegawa.saitama.jp","omiya.saitama.jp","otaki.saitama.jp","ranzan.saitama.jp","ryokami.saitama.jp","saitama.saitama.jp","sakado.saitama.jp","satte.saitama.jp","sayama.saitama.jp","shiki.saitama.jp","shiraoka.saitama.jp","soka.saitama.jp","sugito.saitama.jp","toda.saitama.jp","tokigawa.saitama.jp","tokorozawa.saitama.jp","tsurugashima.saitama.jp","urawa.saitama.jp","warabi.saitama.jp","yashio.saitama.jp","yokoze.saitama.jp","yono.saitama.jp","yorii.saitama.jp","yoshida.saitama.jp","yoshikawa.saitama.jp","yoshimi.saitama.jp","aisho.shiga.jp","gamo.shiga.jp","higashiomi.shiga.jp","hikone.shiga.jp","koka.shiga.jp","konan.shiga.jp","kosei.shiga.jp","koto.shiga.jp","kusatsu.shiga.jp","maibara.shiga.jp","moriyama.shiga.jp","nagahama.shiga.jp","nishiazai.shiga.jp","notogawa.shiga.jp","omihachiman.shiga.jp","otsu.shiga.jp","ritto.shiga.jp","ryuoh.shiga.jp","takashima.shiga.jp","takatsuki.shiga.jp","torahime.shiga.jp","toyosato.shiga.jp","yasu.shiga.jp","akagi.shimane.jp","ama.shimane.jp","gotsu.shimane.jp","hamada.shimane.jp","higashiizumo.shimane.jp","hikawa.shimane.jp","hikimi.shimane.jp","izumo.shimane.jp","kakinoki.shimane.jp","masuda.shimane.jp","matsue.shimane.jp","misato.shimane.jp","nishinoshima.shimane.jp","ohda.shimane.jp","okinoshima.shimane.jp","okuizumo.shimane.jp","shimane.shimane.jp","tamayu.shimane.jp","tsuwano.shimane.jp","unnan.shimane.jp","yakumo.shimane.jp","yasugi.shimane.jp","yatsuka.shimane.jp","arai.shizuoka.jp","atami.shizuoka.jp","fuji.shizuoka.jp","fujieda.shizuoka.jp","fujikawa.shizuoka.jp","fujinomiya.shizuoka.jp","fukuroi.shizuoka.jp","gotemba.shizuoka.jp","haibara.shizuoka.jp","hamamatsu.shizuoka.jp","higashiizu.shizuoka.jp","ito.shizuoka.jp","iwata.shizuoka.jp","izu.shizuoka.jp","izunokuni.shizuoka.jp","kakegawa.shizuoka.jp","kannami.shizuoka.jp","kawanehon.shizuoka.jp","kawazu.shizuoka.jp","kikugawa.shizuoka.jp","kosai.shizuoka.jp","makinohara.shizuoka.jp","matsuzaki.shizuoka.jp","minamiizu.shizuoka.jp","mishima.shizuoka.jp","morimachi.shizuoka.jp","nishiizu.shizuoka.jp","numazu.shizuoka.jp","omaezaki.shizuoka.jp","shimada.shizuoka.jp","shimizu.shizuoka.jp","shimoda.shizuoka.jp","shizuoka.shizuoka.jp","susono.shizuoka.jp","yaizu.shizuoka.jp","yoshida.shizuoka.jp","ashikaga.tochigi.jp","bato.tochigi.jp","haga.tochigi.jp","ichikai.tochigi.jp","iwafune.tochigi.jp","kaminokawa.tochigi.jp","kanuma.tochigi.jp","karasuyama.tochigi.jp","kuroiso.tochigi.jp","mashiko.tochigi.jp","mibu.tochigi.jp","moka.tochigi.jp","motegi.tochigi.jp","nasu.tochigi.jp","nasushiobara.tochigi.jp","nikko.tochigi.jp","nishikata.tochigi.jp","nogi.tochigi.jp","ohira.tochigi.jp","ohtawara.tochigi.jp","oyama.tochigi.jp","sakura.tochigi.jp","sano.tochigi.jp","shimotsuke.tochigi.jp","shioya.tochigi.jp","takanezawa.tochigi.jp","tochigi.tochigi.jp","tsuga.tochigi.jp","ujiie.tochigi.jp","utsunomiya.tochigi.jp","yaita.tochigi.jp","aizumi.tokushima.jp","anan.tokushima.jp","ichiba.tokushima.jp","itano.tokushima.jp","kainan.tokushima.jp","komatsushima.tokushima.jp","matsushige.tokushima.jp","mima.tokushima.jp","minami.tokushima.jp","miyoshi.tokushima.jp","mugi.tokushima.jp","nakagawa.tokushima.jp","naruto.tokushima.jp","sanagochi.tokushima.jp","shishikui.tokushima.jp","tokushima.tokushima.jp","wajiki.tokushima.jp","adachi.tokyo.jp","akiruno.tokyo.jp","akishima.tokyo.jp","aogashima.tokyo.jp","arakawa.tokyo.jp","bunkyo.tokyo.jp","chiyoda.tokyo.jp","chofu.tokyo.jp","chuo.tokyo.jp","edogawa.tokyo.jp","fuchu.tokyo.jp","fussa.tokyo.jp","hachijo.tokyo.jp","hachioji.tokyo.jp","hamura.tokyo.jp","higashikurume.tokyo.jp","higashimurayama.tokyo.jp","higashiyamato.tokyo.jp","hino.tokyo.jp","hinode.tokyo.jp","hinohara.tokyo.jp","inagi.tokyo.jp","itabashi.tokyo.jp","katsushika.tokyo.jp","kita.tokyo.jp","kiyose.tokyo.jp","kodaira.tokyo.jp","koganei.tokyo.jp","kokubunji.tokyo.jp","komae.tokyo.jp","koto.tokyo.jp","kouzushima.tokyo.jp","kunitachi.tokyo.jp","machida.tokyo.jp","meguro.tokyo.jp","minato.tokyo.jp","mitaka.tokyo.jp","mizuho.tokyo.jp","musashimurayama.tokyo.jp","musashino.tokyo.jp","nakano.tokyo.jp","nerima.tokyo.jp","ogasawara.tokyo.jp","okutama.tokyo.jp","ome.tokyo.jp","oshima.tokyo.jp","ota.tokyo.jp","setagaya.tokyo.jp","shibuya.tokyo.jp","shinagawa.tokyo.jp","shinjuku.tokyo.jp","suginami.tokyo.jp","sumida.tokyo.jp","tachikawa.tokyo.jp","taito.tokyo.jp","tama.tokyo.jp","toshima.tokyo.jp","chizu.tottori.jp","hino.tottori.jp","kawahara.tottori.jp","koge.tottori.jp","kotoura.tottori.jp","misasa.tottori.jp","nanbu.tottori.jp","nichinan.tottori.jp","sakaiminato.tottori.jp","tottori.tottori.jp","wakasa.tottori.jp","yazu.tottori.jp","yonago.tottori.jp","asahi.toyama.jp","fuchu.toyama.jp","fukumitsu.toyama.jp","funahashi.toyama.jp","himi.toyama.jp","imizu.toyama.jp","inami.toyama.jp","johana.toyama.jp","kamiichi.toyama.jp","kurobe.toyama.jp","nakaniikawa.toyama.jp","namerikawa.toyama.jp","nanto.toyama.jp","nyuzen.toyama.jp","oyabe.toyama.jp","taira.toyama.jp","takaoka.toyama.jp","tateyama.toyama.jp","toga.toyama.jp","tonami.toyama.jp","toyama.toyama.jp","unazuki.toyama.jp","uozu.toyama.jp","yamada.toyama.jp","arida.wakayama.jp","aridagawa.wakayama.jp","gobo.wakayama.jp","hashimoto.wakayama.jp","hidaka.wakayama.jp","hirogawa.wakayama.jp","inami.wakayama.jp","iwade.wakayama.jp","kainan.wakayama.jp","kamitonda.wakayama.jp","katsuragi.wakayama.jp","kimino.wakayama.jp","kinokawa.wakayama.jp","kitayama.wakayama.jp","koya.wakayama.jp","koza.wakayama.jp","kozagawa.wakayama.jp","kudoyama.wakayama.jp","kushimoto.wakayama.jp","mihama.wakayama.jp","misato.wakayama.jp","nachikatsuura.wakayama.jp","shingu.wakayama.jp","shirahama.wakayama.jp","taiji.wakayama.jp","tanabe.wakayama.jp","wakayama.wakayama.jp","yuasa.wakayama.jp","yura.wakayama.jp","asahi.yamagata.jp","funagata.yamagata.jp","higashine.yamagata.jp","iide.yamagata.jp","kahoku.yamagata.jp","kaminoyama.yamagata.jp","kaneyama.yamagata.jp","kawanishi.yamagata.jp","mamurogawa.yamagata.jp","mikawa.yamagata.jp","murayama.yamagata.jp","nagai.yamagata.jp","nakayama.yamagata.jp","nanyo.yamagata.jp","nishikawa.yamagata.jp","obanazawa.yamagata.jp","oe.yamagata.jp","oguni.yamagata.jp","ohkura.yamagata.jp","oishida.yamagata.jp","sagae.yamagata.jp","sakata.yamagata.jp","sakegawa.yamagata.jp","shinjo.yamagata.jp","shirataka.yamagata.jp","shonai.yamagata.jp","takahata.yamagata.jp","tendo.yamagata.jp","tozawa.yamagata.jp","tsuruoka.yamagata.jp","yamagata.yamagata.jp","yamanobe.yamagata.jp","yonezawa.yamagata.jp","yuza.yamagata.jp","abu.yamaguchi.jp","hagi.yamaguchi.jp","hikari.yamaguchi.jp","hofu.yamaguchi.jp","iwakuni.yamaguchi.jp","kudamatsu.yamaguchi.jp","mitou.yamaguchi.jp","nagato.yamaguchi.jp","oshima.yamaguchi.jp","shimonoseki.yamaguchi.jp","shunan.yamaguchi.jp","tabuse.yamaguchi.jp","tokuyama.yamaguchi.jp","toyota.yamaguchi.jp","ube.yamaguchi.jp","yuu.yamaguchi.jp","chuo.yamanashi.jp","doshi.yamanashi.jp","fuefuki.yamanashi.jp","fujikawa.yamanashi.jp","fujikawaguchiko.yamanashi.jp","fujiyoshida.yamanashi.jp","hayakawa.yamanashi.jp","hokuto.yamanashi.jp","ichikawamisato.yamanashi.jp","kai.yamanashi.jp","kofu.yamanashi.jp","koshu.yamanashi.jp","kosuge.yamanashi.jp","minami-alps.yamanashi.jp","minobu.yamanashi.jp","nakamichi.yamanashi.jp","nanbu.yamanashi.jp","narusawa.yamanashi.jp","nirasaki.yamanashi.jp","nishikatsura.yamanashi.jp","oshino.yamanashi.jp","otsuki.yamanashi.jp","showa.yamanashi.jp","tabayama.yamanashi.jp","tsuru.yamanashi.jp","uenohara.yamanashi.jp","yamanakako.yamanashi.jp","yamanashi.yamanashi.jp","ke","ac.ke","co.ke","go.ke","info.ke","me.ke","mobi.ke","ne.ke","or.ke","sc.ke","kg","
23org.kg","net.kg","com.kg","edu.kg","gov.kg","mil.kg","*.kh","ki","edu.ki","biz.ki","net.ki","org.ki","gov.ki","info.ki","com.ki","km","org.km","nom.km","gov.km","prd.km","tm.km","edu.km","mil.km","ass.km","com.km","coop.km","asso.km","presse.km","medecin.km","notaires.km","pharmaciens.km","veterinaire.km","gouv.km","kn","net.kn","org.kn","edu.kn","gov.kn","kp","com.kp","edu.kp","gov.kp","org.kp","rep.kp","tra.kp","kr","ac.kr","co.kr","es.kr","go.kr","hs.kr","kg.kr","mil.kr","ms.kr","ne.kr","or.kr","pe.kr","re.kr","sc.kr","busan.kr","chungbuk.kr","chungnam.kr","daegu.kr","daejeon.kr","gangwon.kr","gwangju.kr","gyeongbuk.kr","gyeonggi.kr","gyeongnam.kr","incheon.kr","jeju.kr","jeonbuk.kr","jeonnam.kr","seoul.kr","ulsan.kr","kw","com.kw","edu.kw","emb.kw","gov.kw","ind.kw","net.kw","org.kw","ky","com.ky","edu.ky","net.ky","org.ky","kz","org.kz","edu.kz","net.kz","gov.kz","mil.kz","com.kz","la","int.la","net.la","info.la","edu.la","gov.la","per.la","com.la","org.la","lb","com.lb","edu.lb","gov.lb","net.lb","org.lb","lc","com.lc","net.lc","co.lc","org.lc","edu.lc","gov.lc","li","lk","gov.lk","sch.lk","net.lk","int.lk","com.lk","org.lk","edu.lk","ngo.lk","soc.lk","web.lk","ltd.lk","assn.lk","grp.lk","hotel.lk","ac.lk","lr","com.lr","edu.lr","gov.lr","org.lr","net.lr","ls","ac.ls","biz.ls","co.ls","edu.ls","gov.ls","info.ls","net.ls","org.ls","sc.ls","lt","gov.lt","lu","lv","com.lv","edu.lv","gov.lv","org.lv","mil.lv","id.lv","net.lv","asn.lv","conf.lv","ly","com.ly","net.ly","gov.ly","plc.ly","edu.ly","sch.ly","med.ly","org.ly","id.ly","ma","co.ma","net.ma","gov.ma","org.ma","ac.ma","press.ma","mc","tm.mc","asso.mc","md","me","co.me","net.me","org.me","edu.me","ac.me","gov.me","its.me","priv.me","mg","org.mg","nom.mg","gov.mg","prd.mg","tm.mg","edu.mg","mil.mg","com.mg","co.mg","mh","mil","mk","com.mk","org.mk","net.mk","edu.mk","gov.mk","inf.mk","name.mk","ml","com.ml","edu.ml","gouv.ml","gov.ml","net.ml","org.ml","presse.ml","*.mm","mn","gov.mn","edu.mn","org.mn","mo","com.mo","net.mo","org.mo","edu.mo","gov.mo","mobi","mp","mq","mr","gov.mr","ms","com.ms","edu.ms","gov.ms","net.ms","org.ms","mt","com.mt","edu.mt","net.mt","org.mt","mu","com.mu","net.mu","org.mu","gov.mu","ac.mu","co.mu","or.mu","museum","academy.museum","agriculture.museum","air.museum","airguard.museum","alabama.museum","alaska.museum","amber.museum","ambulance.museum","american.museum","americana.museum","americanantiques.museum","americanart.museum","amsterdam.museum","and.museum","annefrank.museum","anthro.museum","anthropology.museum","antiques.museum","aquarium.museum","arboretum.museum","archaeological.museum","archaeology.museum","architecture.museum","art.museum","artanddesign.museum","artcenter.museum","artdeco.museum","arteducation.museum","artgallery.museum","arts.museum","artsandcrafts.museum","asmatart.museum","assassination.museum","assisi.museum","association.museum","astronomy.museum","atlanta.museum","austin.museum","australia.museum","automotive.museum","aviation.museum","axis.museum","badajoz.museum","baghdad.museum","bahn.museum","bale.museum","baltimore.museum","barcelona.museum","baseball.museum","basel.museum","baths.museum","bauern.museum","beauxarts.museum","beeldengeluid.museum","bellevue.museum","bergbau.museum","berkeley.museum","berlin.museum","bern.museum","bible.museum","bilbao.museum","bill.museum","birdart.museum","birthplace.museum","bonn.museum","boston.museum","botanical.museum","botanicalgarden.museum","botanicgarden.museum","botany.museum","brandywinevalley.museum","brasil.museum","bristol.museum","british.museum","britishcolumbia.museum","broadcast.museum","brunel.museum","brussel.museum","brussels.museum","bruxelles.museum","building.museum","burghof.museum","bus.museum","bushey.museum","cadaques.museum","california.museum","cambridge.museum","can.museum","canada.museum","capebreton.museum","carrier.museum","cartoonart.museum","casadelamoneda.museum","castle.museum","castres.museum","celtic.museum","center.museum","chattanooga.museum","cheltenham.museum","chesapeakebay.museum","chicago.museum","children.museum","childrens.museum","childrensgarden.museum","chiropractic.museum","chocolate.museum","christiansburg.museum","cincinnati.museum","cinema.museum","circus.museum","civilisation.museum","civilization.museum","civilwar.museum","clinton.museum","clock.museum","coal.museum","coastaldefence.museum","cody.museum","coldwar.museum","collection.museum","colonialwilliamsburg.museum","coloradoplateau.museum","columbia.museum","columbus.museum","communication.museum","communications.museum","community.museum","computer.museum","computerhistory.museum","comunica\xe7\xf5es.museum","contemporary.museum","contemporaryart.museum","convent.museum","copenhagen.museum","corporation.museum","correios-e-telecomunica\xe7\xf5es.museum","corvette.museum","costume.museum","countryestate.museum","county.museum","crafts.museum","cranbrook.museum","creation.museum","cultural.museum","culturalcenter.museum","culture.museum","cyber.museum","cymru.museum","dali.museum","dallas.museum","database.museum","ddr.museum","decorativearts.museum","delaware.museum","delmenhorst.museum","denmark.museum","depot.museum","design.museum","detroit.museum","dinosaur.museum","discovery.museum","dolls.museum","donostia.museum","durham.museum","eastafrica.museum","eastcoast.museum","education.museum","educational.museum","egyptian.museum","eisenbahn.museum","elburg.museum","elvendrell.museum","embroidery.museum","encyclopedic.museum","england.museum","entomology.museum","environment.museum","environmentalconservation.museum","epilepsy.museum","essex.museum","estate.museum","ethnology.museum","exeter.museum","exhibition.museum","family.museum","farm.museum","farmequipment.museum","farmers.museum","farmstead.museum","field.museum","figueres.museum","filatelia.museum","film.museum","fineart.museum","finearts.museum","finland.museum","flanders.museum","florida.museum","force.museum","fortmissoula.museum","fortworth.museum","foundation.museum","francaise.museum","frankfurt.museum","franziskaner.museum","freemasonry.museum","freiburg.museum","fribourg.museum","frog.museum","fundacio.museum","furniture.museum","gallery.museum","garden.museum","gateway.museum","geelvinck.museum","gemological.museum","geology.museum","georgia.museum","giessen.museum","glas.museum","glass.museum","gorge.museum","grandrapids.museum","graz.museum","guer
23nsey.museum","halloffame.museum","hamburg.museum","handson.museum","harvestcelebration.museum","hawaii.museum","health.museum","heimatunduhren.museum","hellas.museum","helsinki.museum","hembygdsforbund.museum","heritage.museum","histoire.museum","historical.museum","historicalsociety.museum","historichouses.museum","historisch.museum","historisches.museum","history.museum","historyofscience.museum","horology.museum","house.museum","humanities.museum","illustration.museum","imageandsound.museum","indian.museum","indiana.museum","indianapolis.museum","indianmarket.museum","intelligence.museum","interactive.museum","iraq.museum","iron.museum","isleofman.museum","jamison.museum","jefferson.museum","jerusalem.museum","jewelry.museum","jewish.museum","jewishart.museum","jfk.museum","journalism.museum","judaica.museum","judygarland.museum","juedisches.museum","juif.museum","karate.museum","karikatur.museum","kids.museum","koebenhavn.museum","koeln.museum","kunst.museum","kunstsammlung.museum","kunstunddesign.museum","labor.museum","labour.museum","lajolla.museum","lancashire.museum","landes.museum","lans.museum","l\xe4ns.museum","larsson.museum","lewismiller.museum","lincoln.museum","linz.museum","living.museum","livinghistory.museum","localhistory.museum","london.museum","losangeles.museum","louvre.museum","loyalist.museum","lucerne.museum","luxembourg.museum","luzern.museum","mad.museum","madrid.museum","mallorca.museum","manchester.museum","mansion.museum","mansions.museum","manx.museum","marburg.museum","maritime.museum","maritimo.museum","maryland.museum","marylhurst.museum","media.museum","medical.museum","medizinhistorisches.museum","meeres.museum","memorial.museum","mesaverde.museum","michigan.museum","midatlantic.museum","military.museum","mill.museum","miners.museum","mining.museum","minnesota.museum","missile.museum","missoula.museum","modern.museum","moma.museum","money.museum","monmouth.museum","monticello.museum","montreal.museum","moscow.museum","motorcycle.museum","muenchen.museum","muenster.museum","mulhouse.museum","muncie.museum","museet.museum","museumcenter.museum","museumvereniging.museum","music.museum","national.museum","nationalfirearms.museum","nationalheritage.museum","nativeamerican.museum","naturalhistory.museum","naturalhistorymuseum.museum","naturalsciences.museum","nature.museum","naturhistorisches.museum","natuurwetenschappen.museum","naumburg.museum","naval.museum","nebraska.museum","neues.museum","newhampshire.museum","newjersey.museum","newmexico.museum","newport.museum","newspaper.museum","newyork.museum","niepce.museum","norfolk.museum","north.museum","nrw.museum","nyc.museum","nyny.museum","oceanographic.museum","oceanographique.museum","omaha.museum","online.museum","ontario.museum","openair.museum","oregon.museum","oregontrail.museum","otago.museum","oxford.museum","pacific.museum","paderborn.museum","palace.museum","paleo.museum","palmsprings.museum","panama.museum","paris.museum","pasadena.museum","pharmacy.museum","philadelphia.museum","philadelphiaarea.museum","philately.museum","phoenix.museum","photography.museum","pilots.museum","pittsburgh.museum","planetarium.museum","plantation.museum","plants.museum","plaza.museum","portal.museum","portland.museum","portlligat.museum","posts-and-telecommunications.museum","preservation.museum","presidio.museum","press.museum","project.museum","public.museum","pubol.museum","quebec.museum","railroad.museum","railway.museum","research.museum","resistance.museum","riodejaneiro.museum","rochester.museum","rockart.museum","roma.museum","russia.museum","saintlouis.museum","salem.museum","salvadordali.museum","salzburg.museum","sandiego.museum","sanfrancisco.museum","santabarbara.museum","santacruz.museum","santafe.museum","saskatchewan.museum","satx.museum","savannahga.museum","schlesisches.museum","schoenbrunn.museum","schokoladen.museum","school.museum","schweiz.museum","science.museum","scienceandhistory.museum","scienceandindustry.museum","sciencecenter.museum","sciencecenters.museum","science-fiction.museum","sciencehistory.museum","sciences.museum","sciencesnaturelles.museum","scotland.museum","seaport.museum","settlement.museum","settlers.museum","shell.museum","sherbrooke.museum","sibenik.museum","silk.museum","ski.museum","skole.museum","society.museum","sologne.museum","soundandvision.museum","southcarolina.museum","southwest.museum","space.museum","spy.museum","square.museum","stadt.museum","stalbans.museum","starnberg.museum","state.museum","stateofdelaware.museum","station.museum","steam.museum","steiermark.museum","stjohn.museum","stockholm.museum","stpetersburg.museum","stuttgart.museum","suisse.museum","surgeonshall.museum","surrey.museum","svizzera.museum","sweden.museum","sydney.museum","tank.museum","tcm.museum","technology.museum","telekommunikation.museum","television.museum","texas.museum","textile.museum","theater.museum","t
23ime.museum","timekeeping.museum","topology.museum","torino.museum","touch.museum","town.museum","transport.museum","tree.museum","trolley.museum","trust.museum","trustee.museum","uhren.museum","ulm.museum","undersea.museum","university.museum","usa.museum","usantiques.museum","usarts.museum","uscountryestate.museum","usculture.museum","usdecorativearts.museum","usgarden.museum","ushistory.museum","ushuaia.museum","uslivinghistory.museum","utah.museum","uvic.museum","valley.museum","vantaa.museum","versailles.museum","viking.museum","village.museum","virginia.museum","virtual.museum","virtuel.museum","vlaanderen.museum","volkenkunde.museum","wales.museum","wallonie.museum","war.museum","washingtondc.museum","watchandclock.museum","watch-and-clock.museum","western.museum","westfalen.museum","whaling.museum","wildlife.museum","williamsburg.museum","windmill.museum","workshop.museum","york.museum","yorkshire.museum","yosemite.museum","youth.museum","zoological.museum","zoology.museum","\u05d9\u05e8\u05d5\u05e9\u05dc\u05d9\u05dd.museum","\u0438\u043a\u043e\u043c.museum","mv","aero.mv","biz.mv","com.mv","coop.mv","edu.mv","gov.mv","info.mv","int.mv","mil.mv","museum.mv","name.mv","net.mv","org.mv","pro.mv","mw","ac.mw","biz.mw","co.mw","com.mw","coop.mw","edu.mw","gov.mw","int.mw","museum.mw","net.mw","org.mw","mx","com.mx","org.mx","gob.mx","edu.mx","net.mx","my","biz.my","com.my","edu.my","gov.my","mil.my","name.my","net.my","org.my","mz","ac.mz","adv.mz","co.mz","edu.mz","gov.mz","mil.mz","net.mz","org.mz","na","info.na","pro.na","name.na","school.na","or.na","dr.na","us.na","mx.na","ca.na","in.na","cc.na","tv.na","ws.na","mobi.na","co.na","com.na","org.na","name","nc","asso.nc","nom.nc","ne","net","nf","com.nf","net.nf","per.nf","rec.nf","web.nf","arts.nf","firm.nf","info.nf","other.nf","store.nf","ng","com.ng","edu.ng","gov.ng","i.ng","mil.ng","mobi.ng","name.ng","net.ng","org.ng","sch.ng","ni","ac.ni","biz.ni","co.ni","com.ni","edu.ni","gob.ni","in.ni","info.ni","int.ni","mil.ni","net.ni","nom.ni","org.ni","web.ni","nl","no","fhs.no","vgs.no","fylkesbibl.no","folkebibl.no","museum.no","idrett.no","priv.no","mil.no","stat.no","dep.no","kommune.no","herad.no","aa.no","ah.no","bu.no","fm.no","hl.no","hm.no","jan-mayen.no","mr.no","nl.no","nt.no","of.no","ol.no","oslo.no","rl.no","sf.no","st.no","svalbard.no","tm.no","tr.no","va.no","vf.no","gs.aa.no","gs.ah.no","gs.bu.no","gs.fm.no","gs.hl.no","gs.hm.no","gs.jan-mayen.no","gs.mr.no","gs.nl.no","gs.nt.no","gs.of.no","gs.ol.no","gs.oslo.no","gs.rl.no","gs.sf.no","gs.st.no","gs.svalbard.no","gs.tm.no","gs.tr.no","gs.va.no","gs.vf.no","akrehamn.no","\xe5krehamn.no","algard.no","\xe5lg\xe5rd.no","arna.no","brumunddal.no","bryne.no","bronnoysund.no","br\xf8nn\xf8ysund.no","drobak.no","dr\xf8bak.no","egersund.no","fetsund.no","floro.no","flor\xf8.no","fredrikstad.no","hokksund.no","honefoss.no","h\xf8nefoss.no","jessheim.no","jorpeland.no","j\xf8rpeland.no","kirkenes.no","kopervik.no","krokstadelva.no","langevag.no","langev\xe5g.no","leirvik.no","mjondalen.no","mj\xf8ndalen.no","mo-i-rana.no","mosjoen.no","mosj\xf8en.no","nesoddtangen.no","orkanger.no","osoyro.no","os\xf8yro.no","raholt.no","r\xe5holt.no","sandnessjoen.no","sandnessj\xf8en.no","skedsmokorset.no","slattum.no","spjelkavik.no","stathelle.no","stavern.no","stjordalshalsen.no","stj\xf8rdalshalsen.no","tananger.no","tranby.no","vossevangen.no","afjord.no","\xe5fjord.no","agdenes.no","al.no","\xe5l.no","alesund.no","\xe5lesund.no","alstahaug.no","alta.no","\xe1lt\xe1.no","alaheadju.no","\xe1laheadju.no","alvdal.no","amli.no","\xe5mli.no","amot.no","\xe5mot.no","andebu.no","andoy.no","and\xf8y.no","andasuolo.no","ardal.no","\xe5rdal.no","aremark.no","arendal.no","\xe5s.no","aseral.no","\xe5seral.no","asker.no","askim.no","askvoll.no","askoy.no","ask\xf8y.no","asnes.no","\xe5snes.no","audnedaln.no","aukra.no","aure.no","aurland.no","aurskog-holand.no","aurskog-h\xf8land.no","austevoll.no","austrheim.no","averoy.no","aver\xf8y.no","balestrand.no","ballangen.no","balat.no","b\xe1l\xe1t.no","balsfjord.no","bahccavuotna.no","b\xe1hccavuotna.no","bamble.no","bardu.no","beardu.no","beiarn.no","bajddar.no","b\xe1jddar.no","baidar.no","b\xe1id\xe1r.no","berg.no","bergen.no","berlevag.no","berlev\xe5g.no","bearalvahki.no","bearalv\xe1hki.no","bindal.no","birkenes.no","bjarkoy.no","bjark\xf8y.no","bjerkreim.no","bjugn.no","bodo.no","bod\xf8.no","badaddja.no","b\xe5d\xe5ddj\xe5.no","budejju.n
23o","bokn.no","bremanger.no","bronnoy.no","br\xf8nn\xf8y.no","bygland.no","bykle.no","barum.no","b\xe6rum.no","bo.telemark.no","b\xf8.telemark.no","bo.nordland.no","b\xf8.nordland.no","bievat.no","biev\xe1t.no","bomlo.no","b\xf8mlo.no","batsfjord.no","b\xe5tsfjord.no","bahcavuotna.no","b\xe1hcavuotna.no","dovre.no","drammen.no","drangedal.no","dyroy.no","dyr\xf8y.no","donna.no","d\xf8nna.no","eid.no","eidfjord.no","eidsberg.no","eidskog.no","eidsvoll.no","eigersund.no","elverum.no","enebakk.no","engerdal.no","etne.no","etnedal.no","evenes.no","evenassi.no","even\xe1\u0161\u0161i.no","evje-og-hornnes.no","farsund.no","fauske.no","fuossko.no","fuoisku.no","fedje.no","fet.no","finnoy.no","finn\xf8y.no","fitjar.no","fjaler.no","fjell.no","flakstad.no","flatanger.no","flekkefjord.no","flesberg.no","flora.no","fla.no","fl\xe5.no","folldal.no","forsand.no","fosnes.no","frei.no","frogn.no","froland.no","frosta.no","frana.no","fr\xe6na.no","froya.no","fr\xf8ya.no","fusa.no","fyresdal.no","forde.no","f\xf8rde.no","gamvik.no","gangaviika.no","g\xe1\u014bgaviika.no","gaular.no","gausdal.no","gildeskal.no","gildesk\xe5l.no","giske.no","gjemnes.no","gjerdrum.no","gjerstad.no","gjesdal.no","gjovik.no","gj\xf8vik.no","gloppen.no","gol.no","gran.no","grane.no","granvin.no","gratangen.no","grimstad.no","grong.no","kraanghke.no","kr\xe5anghke.no","grue.no","gulen.no","hadsel.no","halden.no","halsa.no","hamar.no","hamaroy.no","habmer.n
23o","h\xe1bmer.no","hapmir.no","h\xe1pmir.no","hammerfest.no","hammarfeasta.no","h\xe1mm\xe1rfeasta.no","haram.no","hareid.no","harstad.no","hasvik.no","aknoluokta.no","\xe1k\u014boluokta.no","hattfjelldal.no","aarborte.no","haugesund.no","hemne.no","hemnes.no","hemsedal.no","heroy.more-og-romsdal.no","her\xf8y.m\xf8re-og-romsdal.no","heroy.nordland.no","her\xf8y.nordland.no","hitra.no","hjartdal.no","hjelmeland.no","hobol.no","hob\xf8l.no","hof.no","hol.no","hole.no","holmestrand.no","holtalen.no","holt\xe5len.no","hornindal.no","horten.no","hurdal.no","hurum.no","hvaler.no","hyllestad.no","hagebostad.no","h\xe6gebostad.no","hoyanger.no","h\xf8yanger.no","hoylandet.no","h\xf8ylandet.no","ha.no","h\xe5.no","ibestad.no","inderoy.no","inder\xf8y.no","iveland.no","jevnaker.no","jondal.no","jolster.no","j\xf8lster.no","karasjok.no","karasjohka.no","k\xe1r\xe1\u0161johka.no","karlsoy.no","galsa.no","g\xe1ls\xe1.no","karmoy.no","karm\xf8y.no","kautokeino.no","guovdageaidnu.no","klepp.no","klabu.no","kl\xe6bu.no","kongsberg.no","kongsvinger.no","kragero.no","krager\xf8.no","kristiansand.no","kristiansund.no","krodsherad.no","kr\xf8dsherad.no","kvalsund.no","rahkkeravju.no","r\xe1hkker\xe1vju.no","kvam.no","kvinesdal.no","kvinnherad.no","kviteseid.no","kvitsoy.no","kvits\xf8y.no","kvafjord.no","kv\xe6fjord.no","giehtavuoatna.no","kvanangen.no","kv\xe6nangen.no","navuotna.no","n\xe1vuotna.no","kafjord.no","k\xe5fjord.no","gaivuotna.no","g\xe1ivuotna.no","larvik.no","lavangen.no","lavagis.no","loabat.no","loab\xe1t.no","lebesby.no","davvesiida.no","leikanger.no","leirfjord.no","leka.no","leksvik.no","lenvik.no","leangaviika.no","lea\u014bgaviika.no","lesja.no","levanger.no","lier.no","lierne.no","lillehammer.no","lillesand.no","lindesnes.no","lindas.no","lind\xe5s.no","lom.no","loppa.no","lahppi.no","l\xe1hppi.no","lund.no","lunner.no","luroy.no","lur\xf8y.no","luster.no","lyngdal.no","lyngen.no","ivgu.no","lardal.no","lerdal.no","l\xe6rdal.no","lodingen.no","l\xf8dingen.no","lorenskog.no","l\xf8renskog.no","loten.no","l\xf8ten.no","malvik.no","masoy.no","m\xe5s\xf8y.no","muosat.no","muos\xe1t.no","mandal.no","marker.no","marnardal.no","masfjorden.no","meland.no","meldal.no","melhus.no","meloy.no","mel\xf8y.no","meraker.no","mer\xe5ker.no","moareke.no","mo\xe5reke.no","midsund.no","midtre-gauldal.no","modalen.no","modum.no","molde.no","moskenes.no","moss.no","mosvik.no","malselv.no","m\xe5lselv.no","malatvuopmi.no","m\xe1latvuopmi.no","namdalseid.no","aejrie.no","namsos.no","namsskogan.no","naamesjevuemie.no","n\xe5\xe5mesjevuemie.no","laakesvuemie.no","nannestad.no","narvik.no","narviika.no","naustdal.no","nedre-eiker.no","nes.akershus.no","nes.buskerud.no","nesna.no","nesodden.no","nesseby.no","unjarga.no","unj\xe1rga.no","nesset.no","nissedal.no","nittedal.no","nord-aurdal.no","nord-fron.no","nord-odal.no","norddal.no","nordkapp.no","davvenjarga.no","davvenj\xe1rga.no","nordre-land.no","nordreisa.no","raisa.no","r\xe1isa.no","nore-og-uvdal.no","notodden.no","naroy.no","n\xe6r\xf8y.no","notteroy.no","n\xf8tter\xf8y.no","odda.no","oksnes.no","\xf8ksnes.no","oppdal.no","oppegard.no","oppeg\xe5rd.no","orkdal.no","orland.no","\xf8rland.no","orskog.no","\xf8rskog.no","orsta.no","\xf8rsta.no","os.hedmark.no","os.hordaland.no","osen.no","osteroy.no","oster\xf8y.no","ostre-toten.no","\xf8stre-toten.no","overhalla.no","ovre-eiker.no","\xf8vre-eiker.no","oyer.no","\xf8yer.no","oygarden.no","\xf8ygarden.no","oystre-slidre.no","\xf8ystre-slidre.no","porsanger.no","porsangu.no","pors\xe1\u014bgu.no","porsgrunn.no","radoy.no","rad\xf8y.no","rakkestad.no","rana.no","ruovat.no","randaberg.no","rauma.no","rendalen.no","rennebu.no","rennesoy.no","rennes\xf8y.no","rindal.no","ringebu.no","ringerike.no","ringsaker.no","rissa.no","risor.no","ris\xf8r.no","roan.no","rollag.no","rygge.no","ralingen.no","r\xe6lingen.no","rodoy.no","r\xf8d\xf8y.no","romskog.no","r\xf8mskog.no","roros.no","r\xf8ros.no","rost.no","r\xf8st.no","royken.no","r\xf8yken.no","royrvik.no","r\xf8yrvik.no","rade.no","r\xe5de.no","salangen.no","siellak.no","saltdal.no","salat.no","s\xe1l\xe1t.no","s\xe1lat.no","samnanger.no","sande.more-og-romsdal.no","sande.m\xf8re-og-romsdal.no","sande.vestfold.no","sandefjord.no","sandnes.no","sandoy.no","sand\xf8y.no","sarpsborg.no","sauda.no","sauherad.no","sel.no","selbu.no","selje.no","seljord.no","sigdal.no","siljan.no","sirdal.no","skaun.no","skedsmo.no","ski.no","skien.no","skiptvet.no","skjervoy.no","skjerv\xf8y.no","skierva.no","skierv\xe1.no","skjak.no","skj\xe5k.no","skodje.no","skanland.no","sk\xe5nland.no","skanit.no","sk\xe1nit.no","smola.no","sm\xf8la.no","snillfjord.no","snasa.no","sn\xe5sa.no","snoasa.no","snaase.no","sn\xe5ase.no","sogndal.no","sokndal.no","sola.no","solund.no","songdalen.no","sortland.no","spydeberg.n
23o","stange.no","stavanger.no","steigen.no","steinkjer.no","stjordal.no","stj\xf8rdal.no","stokke.no","stor-elvdal.no","stord.no","stordal.no","storfjord.no","omasvuotna.no","strand.no","stranda.no","stryn.no","sula.no","suldal.no","sund.no","sunndal.no","surnadal.no","sveio.no","svelvik.no","sykkylven.no","sogne.no","s\xf8gne.no","somna.no","s\xf8mna.no","sondre-land.no","s\xf8ndre-land.no","sor-aurdal.no","s\xf8r-aurdal.no","sor-fron.no","s\xf8r-fron.no","sor-odal.no","s\xf8r-odal.no","sor-varanger.no","s\xf8r-varanger.no","matta-varjjat.no","m\xe1tta-v\xe1rjjat.no","sorfold.no","s\xf8rfold.no","sorreisa.no","s\xf8rreisa.no","sorum.no","s\xf8rum.no","tana.no","deatnu.no","time.no","tingvoll.no","tinn.no","tjeldsund.no","dielddanuorri.no","tjome.no","tj\xf8me.no","tokke.no","tolga.no","torsken.no","tranoy.no","tran\xf8y.no","tromso.no","troms\xf8.no","tromsa.no","romsa.no","trondheim.no","troandin.no","trysil.no","trana.no","tr\xe6na.no","trogstad.no","tr\xf8gstad.no","tvedestrand.no","tydal.no","tynset.no","tysfjord.no","divtasvuodna.no","divttasvuotna.no","tysnes.no","tysvar.no","tysv\xe6r.no","tonsberg.no","t\xf8nsberg.no","ullensaker.no","ullensvang.no","ulvik.no","utsira.no","vadso.no","vads\xf8.no","cahcesuolo.no","\u010d\xe1hcesuolo.no","vaksdal.no","valle.no","vang.no","vanylven.no","vardo.no","vard\xf8.no","varggat.no","v\xe1rgg\xe1t.no","vefsn.no","vaapste.no","vega.no","vegarshei.no","veg\xe5rshei.no","vennesla.no","verdal.no","verran.no","vestby.no","vestnes.no","vestre-slidre.no","vestre-toten.no","vestvagoy.no","vestv\xe5g\xf8y.no","vevelstad.no","vik.no","vikna.no","vindafjord.no","volda.no","voss.no","varoy.no","v\xe6r\xf8y.no","vagan.no","v\xe5gan.no","voagat.no","vagsoy.no","v\xe5gs\xf8y.no","vaga.no","v\xe5g\xe5.no","valer.ostfold.no","v\xe5ler.\xf8stfold.no","valer.hedmark.no","v\xe5ler.hedmark.no","*.np","nr","biz.nr","info.nr","gov.nr","edu.nr","org.nr","net.nr","com.nr","nu","nz","ac.nz","co.nz","cri.nz","geek.nz","gen.nz","govt.nz","health.nz","iwi.nz","kiwi.nz","maori.nz","mil.nz","m\u0101ori.nz","net.nz","org.nz","parliament.nz","school.nz","om","co.om","com.om","edu.om","gov.om","med.om","museum.om","net.om","org.om","pro.om","onion","org","pa","ac.pa","gob.pa","com.pa","org.pa","sld.pa","edu.pa","net.pa","ing.pa","abo.pa","med.pa","nom.pa","pe","edu.pe","gob.pe","nom.pe","mil.pe","org.pe","com.pe","net.pe","pf","com.pf","org.pf","edu.pf","*.pg","ph","com.ph","net.ph","org.ph","gov.ph","edu.ph","ngo.ph","mil.ph","i.ph","pk","com.pk","net.pk","edu.pk","org.pk","fam.pk","biz.pk","web.pk","gov.pk","gob.pk","gok.pk","gon.pk","gop.pk","gos.pk","info.pk","pl","com.pl","net.pl","org.pl","aid.pl","agro.pl","atm.pl","auto.pl","biz.pl","edu.pl","gmina.pl","gsm.pl","info.pl","mail.pl","miasta.pl","media.pl","mil.pl","nieruchomosci.pl","nom.pl","pc.pl","powiat.pl","priv.pl","realestate.pl","rel.pl","sex.pl","shop.pl","sklep.pl","sos.pl","szkola.pl","targi.pl","tm.pl","tourism.pl","travel.pl","turystyka.pl","gov.pl","ap.gov.pl","ic.gov.pl","is.gov.pl","us.gov.pl","kmpsp.gov.pl","kppsp.gov.pl","kwpsp.gov.pl","psp.gov.pl","wskr.gov.pl","kwp.gov.pl","mw.gov.pl","ug.gov.pl","um.gov.pl","umig.gov.pl","ugim.gov.pl","upow.gov.pl","uw.gov.pl","starostwo.gov.pl","pa.gov.pl","po.gov.pl","psse.gov.pl","pup.gov.pl","rzgw.gov.pl","sa.gov.pl","so.gov.pl","sr.gov.pl","wsa.gov.pl","sko.gov.pl","uzs.gov.pl","wiih.gov.pl","winb.gov.pl","pinb.gov.pl","wios.gov.pl","witd.gov.pl","wzmiuw.gov.pl","piw.gov.pl","wiw.gov.pl","griw.gov.pl","wif.gov.pl","oum.gov.pl","sdn.gov.pl","zp.gov.pl","uppo.gov.pl","mup.gov.pl","wuoz.gov.pl","konsulat.gov.pl","oirm.gov.pl","augustow.pl","babia-gora.pl","bedzin.pl","beskidy.pl","bialowieza.pl","bialystok.pl","bielawa.pl","bieszczady.pl","boleslawiec.pl","bydgoszcz.pl","bytom.pl","cieszyn.pl","czeladz.pl","czest.pl","dlugoleka.pl","elblag.pl","elk.pl","glogow.pl","gniezno.pl","gorlice.pl","grajewo.pl","ilawa.pl","jaworzno.pl","jelenia-gora.pl","jgora.pl","kalisz.pl","kazimierz-dolny.pl","karpacz.pl","kartuzy.pl","kaszuby.pl","katowice.pl","kepno.pl","ketrzyn.pl","klodzko.pl","kobierzyce.pl","kolobrzeg.pl","konin.pl","konskowola.pl","kutno.pl","lapy.pl","lebork.pl","legnica.pl","lezajsk.pl","limanowa.pl","lomza.pl","lowicz.pl","lubin.pl","lukow.pl","malbork.pl","malopolska.pl","mazowsze.pl","mazury.pl","mielec.pl","mielno.pl","mragowo.pl","naklo.pl","nowaruda.pl","nysa.pl","olawa.pl","olecko.pl","olkusz.pl","olsztyn.pl","opoczno.pl","opole.pl","ostroda.pl","ostroleka.pl","ostrowiec.pl","ostrowwlkp.pl","pila.pl","pisz.pl","podhale.pl","podlasie.pl","polkowice.pl","pomorze.pl","pomorskie.pl","prochowice.pl","pruszkow.pl","przeworsk.pl","pulawy.pl","radom.pl","rawa-maz.pl","rybnik.pl","rzeszow.pl","sanok.pl","sejny.pl","slask.pl","slupsk.pl","sosnowiec.pl","stalowa-wola.pl","skoczow.pl","starachowice.pl","stargard.pl","suwalki.pl","swidnica.pl","swiebodzin.pl","swinoujscie.pl","szczecin.pl","szczytno.pl","tarnobrzeg.pl","tgory.pl","turek.pl","tychy.pl","ustka.pl","walbrzych.pl","warmia.pl","warszawa.pl","waw.pl","wegrow.pl","wielun.pl","wlocl.pl","wloclawek.pl","wo
23dzislaw.pl","wolomin.pl","wroclaw.pl","zachpomor.pl","zagan.pl","zarow.pl","zgora.pl","zgorzelec.pl","pm","pn","gov.pn","co.pn","org.pn","edu.pn","net.pn","post","pr","com.pr","net.pr","org.pr","gov.pr","edu.pr","isla.pr","pro.pr","biz.pr","info.pr","name.pr","est.pr","prof.pr","ac.pr","pro","aaa.pro","aca.pro","acct.pro","avocat.pro","bar.pro","cpa.pro","eng.pro","jur.pro","law.pro","med.pro","recht.pro","ps","edu.ps","gov.ps","sec.ps","plo.ps","com.ps","org.ps","net.ps","pt","net.pt","gov.pt","org.pt","edu.pt","int.pt","publ.pt","com.pt","nome.pt","pw","co.pw","ne.pw","or.pw","ed.pw","go.pw","belau.pw","py","com.py","coop.py","edu.py","gov.py","mil.py","net.py","org.py","qa","com.qa","edu.qa","gov.qa","mil.qa","name.qa","net.qa","org.qa","sch.qa","re","asso.re","com.re","nom.re","ro","arts.ro","com.ro","firm.ro","info.ro","nom.ro","nt.ro","org.ro","rec.ro","store.ro","tm.ro","www.ro","rs","ac.rs","co.rs","edu.rs","gov.rs","in.rs","org.rs","ru","rw","ac.rw","co.rw","coop.rw","gov.rw","mil.rw","net.rw","org.rw","sa","com.sa","net.sa","org.sa","gov.sa","med.sa","pub.sa","edu.sa","sch.sa","sb","com.sb","edu.sb","gov.sb","net.sb","org.sb","sc","com.sc","gov.sc","net.sc","org.sc","edu.sc","sd","com.sd","net.sd","org.sd","edu.sd","med.sd","tv.sd","gov.sd","info.sd","se","a.se","ac.se","b.se","bd.se","brand.se","c.se","d.se","e.se","f.se","fh.se","fhsk.se","fhv.se","g.se","h.se","i.se","k.se","komforb.se","kommunalforbund.se","komvux.se","l.se","lanbib.se","m.se","n.se","naturbruksgymn.se","o.se","org.se","p.se","parti.se","pp.se","press.se","r.se","s.se","t.se","tm.se","u.se","w.se","x.se","y.se","z.se","sg","com.sg","net.sg","org.sg","gov.sg","edu.sg","per.sg","sh","com.sh","net.sh","gov.sh","org.sh","mil.sh","si","sj","sk","sl","com.sl","net.sl","edu.sl","gov.sl","org.sl","sm","sn","art.sn","com.sn","edu.sn","gouv.sn","org.sn","perso.sn","univ.sn","so","com.so","edu.so","gov.so","me.so","net.so","org.so","sr","ss","biz.ss","com.ss","edu.ss","gov.ss","me.ss","net.ss","org.ss","sch.ss","st","co.st","com.st","consulado.st","edu.st","embaixada.st","mil.st","net.st","org.st","principe.st","saotome.st","store.st","su","sv","com.sv","edu.sv","gob.sv","org.sv","red.sv","sx","gov.sx","sy","edu.sy","gov.sy","net.sy","mil.sy","com.sy","org.sy","sz","co.sz","ac.sz","org.sz","tc","td","tel","tf","tg","th","ac.th","co.th","go.th","in.th","mi.th","net.th","or.th","tj","ac.tj","biz.tj","co.tj","com.tj","edu.tj","go.tj","gov.tj","int.tj","mil.tj","name.tj","net.tj","nic.tj","org.tj","test.tj","web.t
23j","tk","tl","gov.tl","tm","com.tm","co.tm","org.tm","net.tm","nom.tm","gov.tm","mil.tm","edu.tm","tn","com.tn","ens.tn","fin.tn","gov.tn","ind.tn","info.tn","intl.tn","mincom.tn","nat.tn","net.tn","org.tn","perso.tn","tourism.tn","to","com.to","gov.to","net.to","org.to","edu.to","mil.to","tr","av.tr","bbs.tr","bel.tr","biz.tr","com.tr","dr.tr","edu.tr","gen.tr","gov.tr","info.tr","mil.tr","k12.tr","kep.tr","name.tr","net.tr","org.tr","pol.tr","tel.tr","tsk.tr","tv.tr","web.tr","nc.tr","gov.nc.tr","tt","co.tt","com.tt","org.tt","net.tt","biz.tt","info.tt","pro.tt","int.tt","coop.tt","jobs.tt","mobi.tt","travel.tt","museum.tt","aero.tt","name.tt","gov.tt","edu.tt","tv","tw","edu.tw","gov.tw","mil.tw","com.tw","net.tw","org.tw","idv.tw","game.tw","ebiz.tw","club.tw","\u7db2\u8def.tw","\u7d44\u7e54.tw","\u5546\u696d.tw","tz","ac.tz","co.tz","go.tz","hotel.tz","info.tz","me.tz","mil.tz","mobi.tz","ne.tz","or.tz","sc.tz","tv.tz","ua","com.ua","edu.ua","gov.ua","in.ua","net.ua","org.ua","cherkassy.ua","cherkasy.ua","chernigov.ua","chernihiv.ua","chernivtsi.ua","chernovtsy.ua","ck.ua","cn.ua","cr.ua","crimea.ua","cv.ua","dn.ua","dnepropetrovsk.ua","dnipropetrovsk.ua","donetsk.ua","dp.ua","if.ua","ivano-frankivsk.ua","kh.ua","kharkiv.ua","kharkov.ua","kherson.ua","khmelnitskiy.ua","khmelnytskyi.ua","kiev.ua","kirovograd.ua","km.ua","kr.ua","krym.ua","ks.ua","kv.ua","kyiv.ua","lg.ua","lt.ua","lugansk.ua","lutsk.ua","lv.ua","lviv.ua","mk.ua","mykolaiv.ua","nikolaev.ua","od.ua","odesa.ua","odessa.ua","pl.ua","poltava.ua","rivne.ua","rovno.ua","rv.ua","sb.ua","sebastopol.ua","sevastopol.ua","sm.ua","sumy.ua","te.ua","ternopil.ua","uz.ua","uzhgorod.ua","vinnica.ua","vinnytsia.ua","vn.ua","volyn.ua","yalta.ua","zaporizhzhe.ua","zaporizhzhia.ua","zhitomir.ua","zhytomyr.ua","zp.ua","zt.ua","ug","co.ug","or.ug","ac.ug","sc.ug","go.ug","ne.ug","com.ug","org.ug","uk","ac.uk","co.uk","gov.uk","ltd.uk","me.uk","net.uk","nhs.uk","org.uk","plc.uk","police.uk","*.sch.uk","us","dni.us","fed.us","isa.us","kids.us","nsn.us","ak.us","al.us","ar.us","as.us","az.us","ca.us","co.us","ct.us","dc.us","de.us","fl.us","ga.us","gu.us","hi.us","ia.us","id.us","il.us","in.us","ks.us","ky.us","la.us","ma.us","md.us","me.us","mi.us","mn.us","mo.us","ms.us","mt.us","nc.us","nd.us","ne.us","nh.us","nj.us","nm.us","nv.us","ny.us","oh.us","ok.us","or.us","pa.us","pr.us","ri.us","sc.us","sd.us","tn.us","tx.us","ut.us","vi.us","vt.us","va.us","wa.us","wi.us","wv.us","wy.us","k12.ak.us","k12.al.us","k12.ar.us","k12.as.us","k12.az.us","k12.ca.us","k12.co.us","k12.ct.us","k12.dc.us","k12.de.us","k12.fl.us","k12.ga.us","k12.gu.us","k12.ia.us","k12.id.us","k12.il.us","k12.in.us","k12.ks.us","k12.ky.us","k12.la.us","k12.ma.us","k12.md.us","k12.me.us","k12.mi.us","k12.mn.us","k12.mo.us","k12.ms.us","k12.mt.us","k12.nc.us","k12.ne.us","k12.nh.us","k12.nj.us","k12.nm.us","k12.nv.us","k12.ny.us","k12.oh.us","k12.ok.us","k12.or.us","k12.pa.us","k12.pr.us","k12.sc.us","k12.tn.us","k12.tx.us","k12.ut.us","k12.vi.us","k12.vt.us","k12.va.us","k12.wa.us","k12.wi.us","k12.wy.us","cc.ak.us","cc.al.us","cc.ar.us","cc.as.us","cc.az.us","cc.ca.us","cc.co.us","cc.ct.us","cc.dc.us","cc.de.us","cc.fl.us","cc.ga.us","cc.gu.us","cc.hi.us","cc.ia.us","cc.id.us","cc.il.us","cc.in.us","cc.ks.us","cc.ky.us","cc.la.us","cc.ma.us","cc.md.us","cc.me.us","cc.mi.us","cc.mn.us","cc.mo.us","cc.ms.us","cc.mt.us","cc.nc.us","cc.nd.us","cc.ne.us","cc.nh.us","cc.nj.us","cc.nm.us","cc.nv.us","cc.ny.us","cc.oh.us","cc.ok.us","cc.or.us","cc.pa.us","cc.pr.us","cc.ri.us","cc.sc.us","cc.sd.us","cc.tn.us","cc.tx.us","cc.ut.us","cc.vi.us","cc.vt.us","cc.va.us","cc.wa.us","cc.wi.us","cc.wv.us","cc.wy.us","lib.ak.us","lib.al.us","lib.ar.us","lib.as.us","lib.az.us","lib.ca.us","lib.co.us","lib.ct.us","lib.dc.us","lib.fl.us","lib.ga.us","lib.gu.us","lib.hi.us","lib.ia.us","lib.id.us","lib.il.us","lib.in.us","lib.ks.us","lib.ky.us","lib.la.us","lib.ma.us","lib.md.us","lib.me.us","lib.mi.us","lib.mn.us","lib.mo.us","lib.ms.us","lib.mt.us","lib.nc.us","lib.nd.us","lib.ne.us","lib.nh.us","lib.nj.us","lib.nm.us","lib.nv.us","lib.ny.us","lib.oh.us","lib.ok.us","lib.or.us","lib.pa.us","lib.pr.us","lib.ri.us","lib.sc.us","lib.sd.us","lib.tn.us","lib.tx.us","lib.ut.us","lib.vi.us","lib.vt.us","lib.va.us","lib.wa.us","lib.wi.us","lib.wy.us","pvt.k12.ma.us","chtr.k12.ma.us","paroch.k12.ma.us","ann-arbor.mi.us","cog.mi.us","dst.mi.us","eaton.mi.us","gen.mi.us","mus.mi.us","tec.mi.us","washtenaw.mi.us","uy","com.uy","edu.uy","gub.uy","mil.uy","net.uy","org.uy","uz","co.uz","com.uz","net.uz","org.uz","va","vc","com.vc","net.vc","org.vc","gov.vc","mil.vc","edu.vc","ve","arts.ve","bib.ve","co.ve","com.ve","e12.ve","edu.ve","firm.ve","gob.ve","gov.ve","info.ve","int.ve","mil.ve","net.ve","nom.ve","org.ve","rar.ve","rec.ve","store.ve","tec.ve","web.ve","vg","vi","co.vi","com.vi","k12.vi","net.vi","org.vi","vn","com.vn","net.vn","org.vn","edu.vn","gov.vn","int.vn","ac.vn","biz.vn","info.vn","name.vn","pro.vn","health.vn","vu","com.vu","edu.vu","net.vu","org.vu","wf","ws","com.ws","net.ws","org.ws","gov.ws","edu.ws","yt","\u0627\u0645\u0627\u0631\u0627\u062a","\u0570\u0561\u0575","\u09ac\u09be\u0982\u09b2\u09be","\u0431\u0433","\u0627\u0644\u0628\u062d\u0631\u064a\u0646","\u0431\u0435\u043b","\u4e2d\u56fd","\u4e2d\u570b","\u0627\u0644\u062c\u0632\u0627\u0626\u0631","\u0645\u0635\u0631","\u0435\u044e","\u03b5\u03c5","\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627","\u10d2\u10d4","\u03b5\u03bb","\u9999\u6e2f","\u516c\u53f8.\u9999\u6e2f","\u6559\u80b2.\u9999\u6e2f","\u653f\u5e9c.\u9999\u6e2f","\u500b\u4eba.\u9999\u6e2f","\u7db2\u7d61.\u9999\u6e2f","\u7d44\u7e54.\u9999\u6e2f","\u0cad\u0cbe\u0cb0\u0ca4","\u0b2d\u0b3e\u0b30\u0b24","\u09ad\u09be\u09f0\u09a4","\u092d\u093e\u0930\u0924\u092e\u094d","\u092d\u093e\u0930\u094b\u0924","\u0680\u0627\u0631\u062a","\u0d2d\u0d3e\u0d30\u0d24\u0d02","\u092d\u093e\u0930\u0924","\u0628\u0627\u0631\u062a","\u0628\u06be\u0627\u0631\u062a","\u0c2d\u0c3e\u0c30\u0c24\u0c4d","\u0aa
23d\u0abe\u0ab0\u0aa4","\u0a2d\u0a3e\u0a30\u0a24","\u09ad\u09be\u09b0\u09a4","\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe","\u0627\u06cc\u0631\u0627\u0646","\u0627\u064a\u0631\u0627\u0646","\u0639\u0631\u0627\u0642","\u0627\u0644\u0627\u0631\u062f\u0646","\ud55c\uad6d","\u049b\u0430\u0437","\u0ea5\u0eb2\u0ea7","\u0dbd\u0d82\u0d9a\u0dcf","\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8","\u0627\u0644\u0645\u063a\u0631\u0628","\u043c\u043a\u0434","\u043c\u043e\u043d","\u6fb3\u9580","\u6fb3\u95e8","\u0645\u0644\u064a\u0633\u064a\u0627","\u0639\u0645\u0627\u0646","\u067e\u0627\u06a9\u0633\u062a\u0627\u0646","\u067e\u0627\u0643\u0633\u062a\u0627\u0646","\u0641\u0644\u0633\u0637\u064a\u0646","\u0441\u0440\u0431","\u043f\u0440.\u0441\u0440\u0431","\u043e\u0440\u0433.\u0441\u0440\u0431","\u043e\u0431\u0440.\u0441\u0440\u0431","\u043e\u0434.\u0441\u0440\u0431","\u0443\u043f\u0440.\u0441\u0440\u0431","\u0430\u043a.\u0441\u0440\u0431","\u0440\u0444","\u0642\u0637\u0631","\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629","\u0627\u0644\u0633\u0639\u0648\u062f\u06cc\u0629","\u0627\u0644\u0633\u0639\u0648\u062f\u06cc\u06c3","\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0647","\u0633\u0648\u062f\u0627\u0646","\u65b0\u52a0\u5761","\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd","\u0633\u0648\u0631\u064a\u0629","\u0633\u0648\u0631\u064a\u0627","\u0e44\u0e17\u0e22","\u0e28\u0e36\u0e01\u0e29\u0e32.\u0e44\u0e17\u0e22","\u0e18\u0e38\u0e23\u0e01\u0e34\u0e08.\u0e44\u0e17\u0e22","\u0e23\u0e31\u0e10\u0e1a\u0e32\u0e25.\u0e44\u0e17\u0e22","\u0e17\u0e2b\u0e32\u0e23.\u0e44\u0e17\u0e22","\u0e40\u0e19\u0e47\u0e15.\u0e44\u0e17\u0e22","\u0e2d\u0e07\u0e04\u0e4c\u0e01\u0e23.\u0e44\u0e17\u0e22","\u062a\u0648\u0646\u0633","\u53f0\u7063","\u53f0\u6e7e","\u81fa\u7063","\u0443\u043a\u0440","\u0627\u0644\u064a\u0645\u0646","xxx","ye","com.ye","edu.ye","gov.ye","net.ye","mil.ye","org.ye","ac.za","agric.za","alt.za","co.za","edu.za","gov.za","grondar.za","law.za","mil.za","net.za","ngo.za","nic.za","nis.za","nom.za","org.za","school.za","tm.za","web.za","zm","ac.zm","biz.zm","co.zm","com.zm","edu.zm","gov.zm","info.zm","mil.zm","net.zm","org.zm","sch.zm","zw","ac.zw","co.zw","gov.zw","mil.zw","org.zw","aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","academy","accenture","accountant","accountants","aco","actor","adac","ads","adult","aeg","aetna","afl","africa","agakhan","agency","aig","airbus","airforce","airtel","akdn","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","aol","apartments","app","apple","aquarelle","arab","aramco","archi","army","art","arte","asda","associates","athleta","attorney","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aws","axa","azure","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bbc","bbt","bbva","bcg","bcn","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bharti","bible","bid","bike","bing","bingo","bio","black","blackfriday","blockbuster","blog","bloomberg","blue","bms","bmw","bnpparibas","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","bradesco","bridgestone","broadway","broker","brother","brussels","bugatti","build","builders","business","buy","buzz","bzh","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","catering","catholic","cba","cbn","cbre","cbs","center","ceo","cern","cfa","cfd","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","coach","codes","coffee","college","cologne","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","corsica","country","coupon","coupons","courses","cpa","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cuisinella","cymru","cyou","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dis
23h","diy","dnp","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","earth","eat","eco","edeka","education","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","ericsson","erni","esq","estate","etisalat","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","flickr","flights","flir","florist","flowers","fly","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gbiz","gdn","gea","gent","genting","george","ggee","gift","gifts","gives","giving","glass","gle","global","globo","gmail","gmbh","gmo","gmx","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","grainger","graphics","gratis","green","gripe","grocery","group","guardian","gucci","guge","guide","guitars","guru","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hkt","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hsbc","hughes","hyatt","hyundai","ibm","icbc","ice","icu","ieee","ifm","ikano","imamat","imdb","immo","immobilien","inc","industries","infiniti","ing","ink","institute","insurance","insure","international","intuit","investments","ipiranga","irish","ismaili","ist","istanbul","itau","itv","jaguar","java","jcb","jeep","jetzt","jewelry","jio","jll","jmp","jnj","joburg","jot","joy","jpmorgan","jprs","juegos","juniper","kaufen","kddi","kerryhotels","kerrylogistics","kerryproperties","kfh","kia","kids","kim","kinder","kindle","kitchen","kiwi","koeln","komatsu","kosher","kpmg","kpn","krd","kred","kuokgroup","kyoto","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","ltd","ltda","lundbeck","luxe","luxury","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mckinsey","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","miami","microsoft","mini","mint","mit","mitsubishi","mlb","mls","mma","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","msd","mtn","mtr","music","mutual","nab","nagoya","natura","navy","nba","nec","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nfl","ngo","nhk","nico","nike","nikon","ninja","nissan","nissay","nokia","northwesternmutual","norton","now","nowruz","nowtv","nra","nrw","ntt","nyc","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","omega","one","ong","onl","online","ooo","open","oracle","orange","organic","origins","osaka","otsuka","ott","ovh","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pet","pfizer","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","place","play","playstation","plumbing","plus","pnc","pohl","poker","politie","porn","pramerica","praxi","press","prime","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","pub","pwc","qpon","quebec","quest","racing","radio","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","rocher","rocks","rodeo","rogers","room","rsvp","rugby","ruhr","run","rwe","ryukyu","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","
23save","saxo","sbi","sbs","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","silk","sina","singles","site","ski","skin","sky","skype","sling","smart","smile","sncf","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","srl","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","sucks","supplies","supply","support","surf","surgery","suzuki","swatch","swiss","sydney","systems","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tci","tdk","team","tech","technology","temasek","tennis","teva","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tjmaxx","tjx","tkmaxx","tmall","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tube","tui","tunes","tushu","tvs","ubank","ubs","unicom","university","uno","uol","ups","vacations","vana","vanguard","vegas","ventures","verisign","versicherung","vet","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vodka","volkswagen","volvo","vote","voting","voto","voyage","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wedding","weibo","weir","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","\u0915\u0949\u092e","\u30bb\u30fc\u30eb","\u4f5b\u5c71","\u6148\u5584","\u96c6\u56e2","\u5728\u7ebf","\u70b9\u770b","\u0e04\u0e2d\u0e21","\u516b\u5366","\u0645\u0648\u0642\u0639","\u516c\u76ca","\u516c\u53f8","\u9999\u683c\u91cc\u62c9","\u7f51\u7ad9","\u79fb\u52a8","\u6211\u7231\u4f60","\u043c\u043e\u0441\u043a\u0432\u0430","\u043a\u0430\u0442\u043e\u043b\u0438\u043a","\u043e\u043d\u043b\u0430\u0439\u043d","\u0441\u0430\u0439\u0442","\u8054\u901a","\u05e7\u05d5\u05dd","\u65f6\u5c1a","\u5fae\u535a","\u6de1\u9a6c\u9521","\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3","\u043e\u0440\u0433","\u0928\u0947\u091f","\u30b9\u30c8\u30a2","\u30a2\u30de\u30be\u30f3","\uc0bc\uc131","\u5546\u6807","\u5546\u5e97","\u5546\u57ce","\u0434\u0435\u0442\u0438","\u30dd\u30a4\u30f3\u30c8","\u65b0\u95fb","\u5bb6\u96fb","\u0643\u0648\u0645","\u4e2d\u6587\u7f51","\u4e2d\u4fe1","\u5a31\u4e50","\u8c37\u6b4c","\u96fb\u8a0a\u76c8\u79d1","\u8d2d\u7269","\u30af\u30e9\u30a6\u30c9","\u901a\u8ca9","\u7f51\u5e97","\u0938\u0902\u0917\u0920\u0928","\u9910\u5385","\u7f51\u7edc","\u043a\u043e\u043c","\u4e9a\u9a6c\u900a","\u8bfa\u57fa\u4e9a","\u98df\u54c1","\u98de\u5229\u6d66","\u624b\u673a","\u0627\u0631\u0627\u0645\u0643\u0648","\u0627\u0644\u0639\u0644\u064a\u0627\u0646","\u0627\u062a\u0635\u0627\u0644\u0627\u062a","\u0628\u0627\u0632\u0627\u0631","\u0627\u0628\u0648\u0638\u0628\u064a","\u0643\u0627\u062b\u0648\u0644\u064a\u0643","\u0647\u0645\u0631\u0627\u0647","\ub2f7\ucef4","\u653f\u5e9c","\u0634\u0628\u0643\u0629","\u0628\u064a\u062a\u0643","\u0639\u0631\u0628","\u673a\u6784","\u7ec4\u7ec7\u673a\u6784","\u5065\u5eb7","\u62db\u8058","\u0440\u0443\u0441","\u5927\u62ff","\u307f\u3093\u306a","\u30b0\u30fc\u30b0\u30eb","\u4e16\u754c","\u66f8\u7c4d","\u7f51\u5740","\ub2f7\ub137","\u30b3\u30e0","\u5929\u4e3b\u6559","\u6e38\u620f","verm\xf6gensberater","verm\xf6gensberatung","\u4f01\u4e1a","\u4fe1\u606f","\u5609\u91cc\u5927\u9152\u5e97","\u5609\u91cc","\u5e7f\u4e1c","\u653f\u52a1","xyz","yachts","yahoo","yamaxun","yandex","yodobashi","yoga","yokohama","you","youtube","yun","zappos","zara","zero","zip","zone","zuerich","cc.ua","inf.ua","ltd.ua","611.to","graphox.us","*.devcdnaccesso.c
23om","adobeaemcloud.com","*.dev.adobeaemcloud.com","hlx.live","adobeaemcloud.net","hlx.page","hlx3.page","beep.pl","airkitapps.com","airkitapps-au.com","airkitapps.eu","aivencloud.com","barsy.ca","*.compute.estate","*.alces.network","kasserver.com","altervista.org","alwaysdata.net","cloudfront.net","*.compute.amazonaws.com","*.compute-1.amazonaws.com","*.compute.amazonaws.com.cn","us-east-1.amazonaws.com","cn-north-1.eb.amazonaws.com.cn","cn-northwest-1.eb.amazonaws.com.cn","elasticbeanstalk.com","ap-northeast-1.elasticbeanstalk.com","ap-northeast-2.elasticbeanstalk.com","ap-northeast-3.elasticbeanstalk.com","ap-south-1.elasticbeanstalk.com","ap-southeast-1.elasticbeanstalk.com","ap-southeast-2.elasticbeanstalk.com","ca-central-1.elasticbeanstalk.com","eu-central-1.elasticbeanstalk.com","eu-west-1.elasticbeanstalk.com","eu-west-2.elasticbeanstalk.com","eu-west-3.elasticbeanstalk.com","sa-east-1.elasticbeanstalk.com","us-east-1.elasticbeanstalk.com","us-east-2.elasticbeanstalk.com","us-gov-west-1.elasticbeanstalk.com","us-west-1.elasticbeanstalk.com","us-west-2.elasticbeanstalk.com","*.elb.amazonaws.com","*.elb.amazonaws.com.cn","awsglobalaccelerator.com","s3.amazonaws.com","s3-ap-northeast-1.amazonaws.com","s3-ap-northeast-2.amazonaws.com","s3-ap-south-1.amazonaws.com","s3-ap-southeast-1.amazonaws.com","s3-ap-southeast-2.amazonaws.com","s3-ca-central-1.amazonaws.com","s3-eu-central-1.amazonaws.com","s3-eu-west-1.amazonaws.com","s3-eu-west-2.amazonaws.com","s3-eu-west-3.amazonaws.com","s3-external-1.amazonaws.com","s3-fips-us-gov-west-1.amazonaws.com","s3-sa-east-1.amazonaws.com","s3-us-gov-west-1.amazonaws.com","s3-us-east-2.amazonaws.com","s3-us-west-1.amazonaws.com","s3-us-west-2.amazonaws.com","s3.ap-northeast-2.amazonaws.com","s3.ap-south-1.amazonaws.com","s3.cn-north-1.amazonaws.com.cn","s3.ca-central-1.amazonaws.com","s3.eu-central-1.amazonaws.com","s3.eu-west-2.amazonaws.com","s3.eu-west-3.amazonaws.com","s3.us-east-2.amazonaws.com","s3.dualstack.ap-northeast-1.amazonaws.com","s3.dualstack.ap-northeast-2.amazonaws.com","s3.dualstack.ap-south-1.amazonaws.com","s3.dualstack.ap-southeast-1.amazonaws.com","s3.dualstack.ap-southeast-2.amazonaws.com","s3.dualstack.ca-central-1.amazonaws.com","s3.dualstack.eu-central-1.amazonaws.com","s3.dualstack.eu-west-1.amazonaws.com","s3.dualstack.eu-west-2.amazonaws.com","s3.dualstack.eu-west-3.amazonaws.com","s3.dualstack.sa-east-1.amazonaws.com","s3.dualstack.us-east-1.amazonaws.com","s3.dualstack.us-east-2.amazonaws.com","s3-website-us-east-1.amazonaws.com","s3-website-us-west-1.amazonaws.com","s3-website-us-west-2.amazonaws.com","s3-website-ap-northeast-1.amazonaws.com","s3-website-ap-southeast-1.amazonaws.com","s3-website-ap-southeast-2.amazonaws.com","s3-website-eu-west-1.amazonaws.com","s3-website-sa-east-1.amazonaws.com","s3-website.ap-northeast-2.amazonaws.com","s3-website.ap-south-1.amazonaws.com","s3-website.ca-central-1.amazonaws.com","s3-website.eu-central-1.amazonaws.com","s3-website.eu-west-2.amazonaws.com","s3-website.eu-west-3.amazonaws.com","s3-website.us-east-2.amazonaws.com","t3l3p0rt.net","tele.amune.org","apigee.io","siiites.com","appspacehosted.com","appspaceusercontent.com","appudo.net","on-aptible.com","user.aseinet.ne.jp","gv.vc","d.gv.vc","user.party.eus","pimienta.org","poivron.org","potager.org","sweetpepper.org","myasustor.com","cdn.prod.atlassian-dev.net","translated.page","myfritz.net","onavstack.net","*.awdev.ca","*.advisor.ws","ecommerce-shop.pl","b-data.io","backplaneapp.io","balena-devices.com","rs.ba","*.banzai.cloud","app.banzaicloud.io","*.backyards.banzaicloud.io","base.ec","official.ec","buyshop.jp","fashionstore.jp","handcrafted.jp","kawaiishop.jp","supersale.jp","theshop.jp","shopselect.net","base.shop","*.beget.app","betainabox.com","bnr.la","bitbucket.io","blackbaudcdn.net","of.je","bluebite.io","boomla.net","boutir.com","boxfuse.io","square7.ch","bplaced.com","bplaced.de","square7.de","bplaced.net","square7.net","shop.brendly.rs","browsersafetymark.io","uk0.bigv.io","dh.bytemark.co.uk","vm.bytemark.co.uk","cafjs.com","mycd.eu","drr.ac","uwu.ai","carrd.co","crd.co","ju.mp","ae.org","br.com","cn.com","com.de","com.se","de.com","eu.com","gb.net","hu.net","jp.net","jpn.com","mex.com","ru.com","sa.com","se.net","uk.com","uk.net","us.com","za.bz","za.com","ar.com","hu.com","kr.com","no.com","qc.com","uy.com","africa.com","gr.com","in.net","web.in","us.org","co.com","aus.basketball","nz.basketball","radio.am","radio.fm","c.la","certmgr.org","cx.ua","discourse.group","discourse.team","cleverapps.io","clerk.app","clerkstage.app","*.lcl.dev","*.lclstage.dev","*.stg.dev","*.stgstage.dev","clickrising.net","c66.me","cloud66.ws","cloud66.zone","jdev
23cloud.com","wpdevcloud.com","cloudaccess.host","freesite.host","cloudaccess.net","cloudcontrolled.com","cloudcontrolapp.com","*.cloudera.site","pages.dev","trycloudflare.com","workers.dev","wnext.app","co.ca","*.otap.co","co.cz","c.cdn77.org","cdn77-ssl.net","r.cdn77.net","rsc.cdn77.org","ssl.origin.cdn77-secure.org","cloudns.asia","cloudns.biz","cloudns.club","cloudns.cc","cloudns.eu","cloudns.in","cloudns.info","cloudns.org","cloudns.pro","cloudns.pw","cloudns.us","cnpy.gdn","codeberg.page","co.nl","co.no","webhosting.be","hosting-cluster.nl","ac.ru","edu.ru","gov.ru","int.ru","mil.ru","test.ru","dyn.cosidns.de","dynamisches-dns.de","dnsupdater.de","internet-dns.de","l-o-g-i-n.de","dynamic-dns.info","feste-ip.net","knx-server.net","static-access.net","realm.cz","*.cryptonomic.net","cupcake.is","curv.dev","*.customer-oci.com","*.oci.customer-oci.com","*.ocp.customer-oci.com","*.ocs.customer-oci.com","cyon.link","cyon.site","fnwk.site","folionetwork.site","platform0.app","daplie.me","localhost.daplie.me","dattolocal.com","dattorelay.com","dattoweb.com","mydatto.com","dattolocal.net","mydatto.net","biz.dk","co.dk","firm.dk","reg.dk","store.dk","dyndns.dappnode.io","*.dapps.earth","*.bzz.dapps.earth","builtwithdark.com","demo.datadetect.com","instance.datadetect.com","edgestack.me","ddns5.com","debian.net","deno.dev","deno-staging.dev","dedyn.io","deta.app","deta.dev","*.rss.my.id","*.diher.solutions","discordsays.com","discordsez.com","jozi.biz","dnshome.de","online.th","shop.th","drayddns.com","shoparena.pl","dreamhosters.com","mydrobo.com","drud.io","drud.us","duckdns.org","bip.sh","bitbridge.net","dy.fi","tunk.org","dyndns-at-home.com","dyndns-at-work.com","dyndns-blog.com","dyndns-free.com","dyndns-home.com","dyndns-ip.com","dyndns-mail.com","dyndns-office.com","dyndns-pics.com","dyndns-remote.com","dyndns-server.com","dyndns-web.com","dyndns-wiki.com","dyndns-work.com","dyndns.biz","dyndns.info","dyndns.org","dyndns.tv","at-band-camp.net","ath.cx","barrel-of-knowledge.info","barrell-of-knowledge.info","better-than.tv","blogdns.com","blogdns.net","blogdns.org","blogsite.org","boldlygoingnowhere.org","broke-it.net","buyshouses.net","cechire.com","dnsalias.com","dnsalias.net","dnsalias.org","dnsdojo.com","dnsdojo.net","dnsdojo.org","does-it.net","doesntexist.com","doesntexist.org","dontexist.com","dontexist.net","dontexist.org","doomdns.com","doomdns.org","dvrdns.org","dyn-o-saur.com","dynalias.com","dynalias.net","dynalias.org","dynathome.net","dyndns.ws","endofinternet.net","endofinternet.org","endoftheinternet.org","est-a-la-maison.com","est-a-la-masion.com","est-le-patron.com","est-mon-blogueur.com","for-better.biz","for-more.biz","for-our.info","for-some.biz","for-the.biz","forgot.her.name","forgot.his.name","from-ak.com","from-al.com","from-ar.com","from-az.net","from-ca.com","from-co.net","from-ct.com","from-dc.com","from-de.com","from-fl.com","from-ga.com","from-hi.com","from-ia.com","from-id.com","from-il.com","from-in.com","from-ks.com","from-ky.com","from-la.net","from-ma.com","from-md.com","from-me.org","from-mi.com","from-mn.com","from-mo.com","from-ms.com","from-mt.com","from-nc.com","from-nd.com","from-ne.com","from-nh.com","from-nj.com","from-nm.com","from-nv.com","from-ny.net","from-oh.com","from-ok.com","from-or.com","from-pa.com","from-pr.com","from-ri.com","from-sc.com","from-sd.com","from-tn.com","from-tx.com","from-ut.com","from-va.com","from-vt.com","from-wa.com","from-wi.com","from-wv.com","from-wy.com","ftpaccess.cc","fuettertdasnetz.de","game-host.org","game-server.cc","getmyip.com","gets-it.net","go.dyndns.org","gotdns.com","gotdns.org","groks-the.info","groks-this.info","ham-radio-op.net","here-for-more.info","hobby-site.com","hobby-site.org","home.dyndns.org","homedns.org","homeftp.net","homeftp.org","homeip.net","homelinux.com","homelinux.net","homelinux.org","homeunix.com","homeunix.net","homeunix.org","iamallama.com","in-the-band.net","is-a-anarchist.com","is-a-blogger.com","is-a-bookkeeper.com","is-a-bruinsfan.org","is-a-bulls-fan.com","is-a-candidate.org","is-a-caterer.com","is-a-celticsfan.org","is-a-chef.com","is-a-chef.net","is-a-chef.org","is-a-conservative.com","is-a-cpa.com","is-a-cubicle-slave.com","is-a-democrat.com","is-a-designer.com","is-a-doctor.com","is-a-financialadvisor.com","is-a-geek.com","is-a-geek.net","is-a-geek.org","is-a-green.com","is-a-guru.com","is-a-hard-worker.com","is-a-hunter.com","is-a-knight.org","is-a-landscaper.com","is-a-lawyer.com","is-a-liberal.com","is-a-libertarian.com","is-a-linux-user.org","is-a-llama.com","is-a-musician.com","is-a-nascarfan.com","is-a-nurse.com","is-a-painter.com","is-a-patsfan.org","is-a-personaltrainer.com","is-a-photographer.com","is-a-player.com","is-a-republican.com","is-a-rockstar.com","is-a-socialist.com","is-a-soxfan.org","is-a-student.com","is-a-teacher.com","is-a-techie.com","is-a-therapist.com","is-an-accountant.com","is-an-actor.com","is-an-actress.com","is-an-anarchist.com","is-an-artist.com","is-an-engineer.com","is-an-entertainer.com","is-by.us","is-certified.com","is-found.org","is-gone.com","is-into-anime.com","is-into-cars.com","is-into-cartoons.com","is-into-games.com","is-leet.com","is-lost.org","is-not-certified.com","is-saved.org","is-slick.com","is-uberleet.com","is-very-bad.org","is-very-evil.org","is-very-good.org","is-very-nice.org","is-very-sweet.org","is-with-theband.com","isa-geek.com","isa-geek.net","isa-geek.org","isa-hockeynut.com","issmarterthanyou.com","isteingeek.de","istmein.de","kicks-ass.net","kicks-ass.org","knowsitall.info","land-4-sale.us","lebtimnetz.de","leitungsen.de","likes-pie.com","likescandy.com","merseine.nu","mine.nu","misconfused.org","mypets.ws","myphotos.cc","neat-url.com","office-on-the.net","on-the-web.tv","podzone.net","podzone.org","readmyblog.org","saves-the-whales.com","scrapper-site.net","scrapping.cc","selfip.biz","selfip.com","selfip.info","selfip.net","selfip.org","sells-for-less.com","sells-for-u.com","sells-it.net","sellsyourhome.org","servebbs.com","servebbs.net","servebbs.org","serveftp.net","serveftp.org","servegame.org","shacknet.nu","simple-url.com","space-to-rent.com","stuff-4-sale.org","stuff-4-sale.us","teaches-yoga.com","thruhere.net","traeumtgerade.de","webhop.biz","webhop.info","webhop.net","webhop.org","worse-than.tv","writesthisblog.com","ddnss.de","dyn.ddnss.de","dyndns.ddnss.de","dyndns1.de","dyn-ip24.de","home-webserver.de","dyn.home-webserver.de","myhome-server.de","ddnss.org","definima.net","definima.io","ondigitalocean.app","*.digitaloceanspaces.com","bci.dnstrace.pro","ddnsfree.com","ddnsgeek.com","giize.com","gleeze.com","kozow.com","loseyourip.c
23om","ooguy.com","theworkpc.com","casacam.net","dynu.net","accesscam.org","camdvr.org","freeddns.org","mywire.org","webredirect.org","myddns.rocks","blogsite.xyz","dynv6.net","e4.cz","eero.online","eero-stage.online","elementor.cloud","elementor.cool","en-root.fr","mytuleap.com","tuleap-partners.com","encr.app","encoreapi.com","onred.one","staging.onred.one","eu.encoway.cloud","eu.org","al.eu.org","asso.eu.org","at.eu.org","au.eu.org","be.eu.org","bg.eu.org","ca.eu.org","cd.eu.org","ch.eu.org","cn.eu.org","cy.eu.org","cz.eu.org","de.eu.org","dk.eu.org","edu.eu.org","ee.eu.org","es.eu.org","fi.eu.org","fr.eu.org","gr.eu.org","hr.eu.org","hu.eu.org","ie.eu.org","il.eu.org","in.eu.org","int.eu.org","is.eu.org","it.eu.org","jp.eu.org","kr.eu.org","lt.eu.org","lu.eu.org","lv.eu.org","mc.eu.org","me.eu.org","mk.eu.org","mt.eu.org","my.eu.org","net.eu.org","ng.eu.org","nl.eu.org","no.eu.org","nz.eu.org","paris.eu.org","pl.eu.org","pt.eu.org","q-a.eu.org","ro.eu.org","ru.eu.org","se.eu.org","si.eu.org","sk.eu.org","tr.eu.org","uk.eu.org","us.eu.org","eurodir.ru","eu-1.evennode.com","eu-2.evennode.com","eu-3.evennode.com","eu-4.evennode.com","us-1.evennode.com","us-2.evennode.com","us-3.evennode.com","us-4.evennode.com","twmail.cc","twmail.net","twmail.org","mymailer.com.tw","url.tw","onfabrica.com","apps.fbsbx.com","ru.net","adygeya.ru","bashkiria.ru","bir.ru","cbg.ru","com.ru","dagestan.ru","grozny.ru","kalmykia.ru","kustanai.ru","marine.ru","mordovia.ru","msk.ru","mytis.ru","nalchik.ru","nov.ru","pyatigorsk.ru","spb.ru","vladikavkaz.ru","vladimir.ru","abkhazia.su","adygeya.su","aktyubinsk.su","arkhangelsk.su","armenia.su","ashgabad.su","azerbaijan.su","balashov.su","bashkiria.su","bryansk.su","bukhara.su","chimkent.su","dagestan.su","east-kazakhstan.su","exnet.su","georgia.su","grozny.su","ivanovo.su","jambyl.su","kalmykia.su","kaluga.su","karacol.su","karaganda.su","karelia.su","khakassia.su","krasnodar.su","kurgan.su","kustanai.su","lenug.su","mangyshlak.su","mordovia.su","msk.su","murmansk.su","nalchik.su","navoi.su","north-kazakhstan.su","nov.su","obninsk.su","penza.su","pokrovsk.su","sochi.su","spb.su","tashkent.su","termez.su","togliatti.su","troitsk.su","tselinograd.su","tula.su","tuva.su","vladikavkaz.su","vladimir.su","vologda.su","channelsdvr.net","u.channelsdvr.net","edgecompute.app","fastly-terrarium.com","fastlylb.net","map.fastlylb.net","freetls.fastly.net","map.fastly.net","a.prod.fastly.net","global.prod.fastly.net","a.ssl.fastly.net","b.ssl.fastly.net","global.ssl.fastly.net","fastvps-server.com","fastvps.host","myfast.host","fastvps.site","myfast.space","fedorainfracloud.org","fedorapeople.org","cloud.fedoraproject.org","app.os.fedoraproject.org","app.os.stg.fedoraproject.org","conn.uk","copro.uk","hosp.uk","mydobiss.com","fh-muenster.io","filegear.me","filegear-au.me","filegear-de.me","filegear-gb.me","filegear-ie.me","filegear-jp.me","filegear-sg.me","firebaseapp.com","fireweb.app","flap.id","onflashdrive.app","fldrv.com","fly.dev","edgeapp.net","shw.io","flynnhosting.net","forgeblocks.com","id.forgerock.io","framer.app","framercanvas.com","*.frusky.de","ravpage.co.il","0e.vc","freebox-os.com","freeboxos.com","fbx-os.fr","fbxos.fr","freebox-os.fr","freeboxos.fr","freedesktop.org","freemyip.com","wien.funkfeuer.at","*.futurecms.at","*.ex.futurecms.at","*.in.futurecms.at","futurehosting.at","futuremailing.at","*.ex.ortsinfo.at","*.kunden.ortsinfo.at","*.statics.cloud","independent-commission.uk","independent-inquest.uk","independent-inquiry.uk","independent-panel.uk","independent-review.uk","public-inquiry.uk","royal-commission.uk","campaign.gov.uk","service.gov.uk","api.gov.uk","gehirn.ne.jp","usercontent.jp","gentapps.com","gentlentapis.com","lab.ms","cdn-edges.net","ghost.io","gsj.bz","githubusercontent.com","githubpreview.dev","github.io","gitlab.io","gitapp.si","gitpage.si","glitch.me","nog.community","co.ro","shop.ro","lolipop.io","angry.jp","babyblue.jp","babymilk.jp","backdrop.jp","bambina.jp","bitter.jp","blush.jp","boo.jp","boy.jp","boyfriend.jp","but.jp","candypop.jp","capoo.jp","catfood.jp","cheap.jp","chicappa.jp","chillout.jp","chips.jp","chowder.jp","chu.jp","ciao.jp","cocotte.jp","coolblog.jp","cranky.jp","cutegirl.jp","daa.jp","deca.jp","deci.jp","digick.jp","egoism.jp","fakefur.jp","fem.jp","flier.jp","floppy.jp","fool.jp","frenchkiss.jp","girlfriend.jp","girly.jp","gloomy.jp","gonna.jp","greater.jp","hacca.jp","heavy.jp","her.jp","hiho.jp","hippy.jp","holy.jp","hungry.jp","icurus.jp","itigo.jp","jellybean.jp","kikirara.jp","kill.jp","kilo.jp","kuron.jp","littlestar.jp","lolipopmc.jp","lolitapunk.jp","lomo.jp","lovepop.jp","lovesick.jp","main.jp","mods.jp","mond.jp","mongolian.jp","moo.jp","namaste.jp","nikita.jp","nobushi.jp","noor.jp","oops.jp","parallel.jp","parasite.jp","pecori.jp","peewee.jp","penne.jp","pepper.jp","perma.jp","pigboat.jp","pinoko.jp","punyu.jp","pupu.jp","pussycat.jp","pya.jp","raindrop.jp","readymade.jp","sadist.jp","schoolbus.jp","secret.jp","staba.jp","stripper.jp","sub.jp","sunnyday.jp","thick.jp","tonkotsu.jp","under.jp","upper.jp","velvet.jp","verse.jp","versus.jp","vivi
23an.jp","watson.jp","weblike.jp","whitesnow.jp","zombie.jp","heteml.net","cloudapps.digital","london.cloudapps.digital","pymnt.uk","homeoffice.gov.uk","ro.im","goip.de","run.app","a.run.app","web.app","*.0emm.com","appspot.com","*.r.appspot.com","codespot.com","googleapis.com","googlecode.com","pagespeedmobilizer.com","publishproxy.com","withgoogle.com","withyoutube.com","*.gateway.dev","cloud.goog","translate.goog","*.usercontent.goog","cloudfunctions.net","blogspot.ae","blogspot.al","blogspot.am","blogspot.ba","blogspot.be","blogspot.bg","blogspot.bj","blogspot.ca","blogspot.cf","blogspot.ch","blogspot.cl","blogspot.co.at","blogspot.co.id","blogspot.co.il","blogspot.co.ke","blogspot.co.nz","blogspot.co.uk","blogspot.co.za","blogspot.com","blogspot.com.ar","blogspot.com.au","blogspot.com.br","blogspot.com.by","blogspot.com.co","blogspot.com.cy","blogspot.com.ee","blogspot.com.eg","blogspot.com.es","blogspot.com.mt","blogspot.com.ng","blogspot.com.tr","blogspot.com.uy","blogspot.cv","blogspot.cz","blogspot.de","blogspot.dk","blogspot.fi","blogspot.fr","blogspot.gr","blogspot.hk","blogspot.hr","blogspot.hu","blogspot.ie","blogspot.in","blogspot.is","blogspot.it","blogspot.jp","blogspot.kr","blogspot.li","blogspot.lt","blogspot.lu","blogspot.md","blogspot.mk","blogspot.mr","blogspot.mx","blogspot.my","blogspot.nl","blogspot.no","blogspot.pe","blogspot.pt","blogspot.qa","blogspot.re","blogspot.ro","blogspot.rs","blogspot.ru","blogspot.se","blogspot.sg","blogspot.si","blogspot.sk","blogspot.sn","blogspot.td","blogspot.tw","blogspot.ug","blogspot.vn","goupile.fr","gov.nl","awsmppl.com","g\xfcnstigbestellen.de","g\xfcnstigliefern.de","fin.ci","free.hr","caa.li","ua.rs","conf.se","hs.zone","hs.run","hashbang.sh","hasura.app","hasura-app.io","pages.it.hs-heilbronn.de","hepforge.org","herokuapp.com","herokussl.com","ravendb.cloud","myravendb.com","ravendb.community","ravendb.me","development.run","ravendb.run","homesklep.pl","secaas.hk","hoplix.shop","orx.biz","biz.gl","col.ng","firm.ng","gen.ng","ltd.ng","ngo.ng","edu.scot","sch.so","hostyhosting.io","h\xe4kkinen.fi","*.moonscale.io","moonscale.net","iki.fi","ibxos.it","iliadboxos.it","impertrixcdn.com","impertrix.com","smushcdn.com","wphostedmail.com","wpmucdn.com","tempurl.host","wpmudev.host","dyn-berlin.de","in-berlin.de","in-brb.de","in-butter.de","in-dsl.de","in-dsl.net","in-dsl.org","in-vpn.de","in-vpn.net","in-vpn.org","biz.at","info.at","info.cx","ac.leg.br","al.leg.br","am.leg.br","ap.leg.br","ba.leg.br","ce.leg.br","df.leg.br","es.leg.br","go.leg.br","ma.leg.br","mg.leg.br","ms.leg.br","mt.leg.br","pa.leg.br","pb.leg.br","pe.leg.br","pi.leg.br","pr.leg.br","rj.leg.br","rn.leg.br","ro.leg.br","rr.leg.br","rs.leg.br","sc.leg.br","se.leg.br","sp.leg.br","to.leg.br","pixolino.com","na4u.ru","iopsys.se","ipifony.net","iservschule.de","mein-iserv.de","schulplattform.de","schulserver.de","test-iserv.de","iserv.dev","iobb.net","mel.cloudlets.com.au","cloud.interhostsolutions.be","users.scale.virtualcloud.com.br","mycloud.by","alp1.ae.flow.ch","appengine.flow.ch","es-1.axarnet.cloud","diadem.cloud","vip.jelastic.cloud","jele.cloud","it1.eur.aruba.jenv-aruba.cloud","it1.jenv-aruba.cloud","keliweb.cloud","cs.keliweb.cloud","oxa.cloud","tn.oxa.cloud","uk.oxa.cloud","primetel.cloud","uk.primetel.cloud","ca.reclaim.cloud","uk.reclaim.cloud","us.reclaim.cloud","ch.trendhosting.cloud","de.trendhosting.cloud","jele.club","amscompute.com","clicketcloud.com","dopaas.com","hidora.com","paas.hosted-by-previder.com","rag-cloud.hosteur.com","rag-cloud-ch.hosteur.com","jcloud.ik-server.com","jcloud-ver-jpc.ik-server.com","demo.jelastic.com","kilatiron.com","paas.massivegrid.com","jed.wafaicloud.com","lon.wafaicloud.com","ryd.wafaicloud.com","j.scaleforce.com.cy","jelastic.dogado.eu","fi.cloudplatform.fi","demo.datacenter.fi","paas.datacenter.fi","jele.host","mircloud.host","paas.beebyte.io","sekd1.beebyteapp.io","jele.io","cloud-fr1.unispace.io","jc.neen.it","cloud.jelastic.open.tim.it","jcloud.kz","upaas.kazteleport.kz","cloudjiffy.net","fra1-de.cloudjiffy.net","west1-us.cloudjiffy.net","jls-sto1.elastx.net","jls-sto2.elastx.net","jls-sto3.elastx.net","faststacks.net","fr
23-1.paas.massivegrid.net","lon-1.paas.massivegrid.net","lon-2.paas.massivegrid.net","ny-1.paas.massivegrid.net","ny-2.paas.massivegrid.net","sg-1.paas.massivegrid.net","jelastic.saveincloud.net","nordeste-idc.saveincloud.net","j.scaleforce.net","jelastic.tsukaeru.net","sdscloud.pl","unicloud.pl","mircloud.ru","jelastic.regruhosting.ru","enscaled.sg","jele.site","jelastic.team","orangecloud.tn","j.layershift.co.uk","phx.enscaled.us","mircloud.us","myjino.ru","*.hosting.myjino.ru","*.landing.myjino.ru","*.spectrum.myjino.ru","*.vps.myjino.ru","jotelulu.cloud","*.triton.zone","*.cns.joyent.com","js.org","kaas.gg","khplay.nl","ktistory.com","kapsi.fi","keymachine.de","kinghost.net","uni5.net","knightpoint.systems","koobin.events","oya.to","kuleuven.cloud","ezproxy.kuleuven.be","co.krd","edu.krd","krellian.net","webthings.io","git-repos.de","lcube-server.de","svn-repos.de","leadpages.co","lpages.co","lpusercontent.com","lelux.site","co.business","co.education","co.events","co.financial","co.network","co.place","co.technology","app.lmpm.com","linkyard.cloud","linkyard-cloud.ch","members.linode.com","*.nodebalancer.linode.com","*.linodeobjects.com","ip.linodeusercontent.com","we.bs","*.user.localcert.dev","localzone.xyz","loginline.app","loginline.dev","loginline.io","loginline.services","loginline.site","servers.run","lohmus.me","krasnik.pl","leczna.pl","lubartow.pl","lublin.pl","poniatowa.pl","swidnik.pl","glug.org.uk","lug.org.uk","lugs.org.uk","barsy.bg","barsy.co.uk","barsyonline.co.uk","barsycenter.com","barsyonline.com","barsy.club","barsy.de","barsy.eu","barsy.in","barsy.info","barsy.io","barsy.me","barsy.menu","barsy.mobi","barsy.net","barsy.online","barsy.org","barsy.pro","barsy.pub","barsy.ro","barsy.shop","barsy.site","barsy.support","barsy.uk","*.magentosite.cloud","mayfirst.info","mayfirst.org","hb.cldmail.ru","cn.vu","mazeplay.com","mcpe.me","mcdir.me","mcdir.ru","mcpre.ru","vps.mcdir.ru","mediatech.by","mediatech.dev","hra.health","miniserver.com","memset.net","messerli.app","*.cloud.metacentrum.cz","custom.metacentrum.cz","flt.cloud.muni.cz","usr.cloud.muni.cz","meteorapp.com","eu.meteorapp.com","co.pl","*.azurecontainer.io","azurewebsites.net","azure-mobile.net","cloudapp.net","azurestaticapps.net","1.azurestaticapps.net","centralus.azurestaticapps.net","eastasia.azurestaticapps.net","eastus2.azurestaticapps.net","westeurope.azurestaticapps.net","westus2.azurestaticapps.net","csx.cc","mintere.site","forte.id","mozilla-iot.org","bmoattachments.org","net.ru","org.ru","pp.ru","hostedpi.com","customer.mythic-beasts.com","caracal.mythic-beasts.com","fentiger.mythic-beasts.com","lynx.mythic-beasts.com","ocelot.mythic-beasts.com","oncilla.mythic-beasts.com","onza.mythic-beasts.com","sphinx.mythic-beasts.com","vs.mythic-beasts.com","x.mythic-beasts.com","yali.mythic-beasts.com","cust.retrosnub.co.uk","ui.nabu.casa","pony.club","of.fashion","in.london","of.london","from.marketing","with.marketing","for.men","repair.men","and.mom","for.mom","for.one","under.one","for.sale","that.win","from.work","to.work","cloud.nospamproxy.com","netlify.app","4u.com","ngrok.io","nh-serv.co.uk","nfshost.com","*.developer.app","noop.app","*.northflank.app","*.build.run","*.code.run","*.database.run","*.migration.run","noticeable.news","dnsking.ch","mypi.co","n4t.co","001www.com","ddnslive.com","myiphost.com","forumz.info","16-b.it","32-b.it","64-b.it","soundcast.me","tcp4.me","dnsup.net","hicam.net","now-dns.net","ownip.net","vpndns.net","dynserv.org","now-dns.org","x443.pw","now-dns.top","ntdll.top","freeddns.us","crafting.xyz","zapto.xyz","nsupdate.info","nerdpol.ovh","blogsyte.com","brasilia.me","cable-modem.org","ciscofreak.com","collegefan.org","couchpotatofries.org","damnserver.com","ddns.me","ditchyourip.com","dnsfor.me","dnsiskinky.com","dvrcam.info","dynns.com","eating-organic.net","fantasyleague.cc","geekgalaxy.com","golffan.us","health-carereform.com","homesecuritymac.com","homesecuritypc.com","hopto.me","ilovecollege.info","loginto.me","mlbfan.org","mmafan.biz","myactivedirectory.com","mydissent.net","myeffect.net","mymediapc.net","mypsx.net","mysecuritycamera.com","mysecuritycamera.net","mysecuritycamera.org","net-freaks.com","nflfan.org","nhlfan.net","no-ip.c
23a","no-ip.co.uk","no-ip.net","noip.us","onthewifi.com","pgafan.net","point2this.com","pointto.us","privatizehealthinsurance.net","quicksytes.com","read-books.org","securitytactics.com","serveexchange.com","servehumour.com","servep2p.com","servesarcasm.com","stufftoread.com","ufcfan.org","unusualperson.com","workisboring.com","3utilities.com","bounceme.net","ddns.net","ddnsking.com","gotdns.ch","hopto.org","myftp.biz","myftp.org","myvnc.com","no-ip.biz","no-ip.info","no-ip.org","noip.me","redirectme.net","servebeer.com","serveblog.net","servecounterstrike.com","serveftp.com","servegame.com","servehalflife.com","servehttp.com","serveirc.com","serveminecraft.net","servemp3.com","servepics.com","servequake.com","sytes.net","webhop.me","zapto.org","stage.nodeart.io","pcloud.host","nyc.mn","static.observableusercontent.com","cya.gg","omg.lol","cloudycluster.net","omniwe.site","service.one","nid.io","opensocial.site","opencraft.hosting","orsites.com","operaunite.com","tech.orange","authgear-staging.com","authgearapps.com","skygearapp.com","outsystemscloud.com","*.webpaas.ovh.net","*.hosting.ovh.net","ownprovider.com","own.pm","*.owo.codes","ox.rs","oy.lc","pgfog.com","pagefrontapp.com","pagexl.com","*.paywhirl.com","bar0.net","bar1.net","bar2.net","rdv.to","art.pl","gliwice.pl","krakow.pl","poznan.pl","wroc.pl","zakopane.pl","pantheonsite.io","gotpantheon.com","mypep.link","perspecta.cloud","lk3.ru","on-web.fr","bc.platform.sh","ent.platform.sh","eu.platform.sh","us.platform.sh","*.platformsh.site","*.tst.site","platter-app.com","platter-app.dev","platterp.us","pdns.page","plesk.page","pleskns.com","dyn53.io","onporter.run","co.bn","postman-echo.com","pstmn.io","mock.pstmn.io","httpbin.org","prequalifyme.today","xen.prgmr.com","priv.at","prvcy.page","*.dweb.link","protonet.io","chirurgiens-dentistes-en-france.fr","byen.site","pubtls.org","pythonanywhere.com","eu.pythonanywhere.com","qoto.io","qualifioapp.com","qbuser.com","cloudsite.builders","instances.spawn.cc","instantcloud.cn","ras.ru","qa2.com","qcx.io","*.sys.qcx.io","dev-myqnapcloud.com","alpha-myqnapcloud.com","myqnapcloud.com","*.quipelements.com","vapor.cloud","vaporcloud.io","rackmaze.com","rackmaze.net","g.vbrplsbx.io","*.on-k3s.io","*.on-rancher.cloud","*.on-rio.io","readthedocs.io","rhcloud.com","app.render.com","onrender.com","repl.co","id.repl.co","repl.run","resindevice.io","devices.resinstaging.io","hzc.io","wellbeingzone.eu","wellbeingzone.co.uk","adimo.co.uk","itcouldbewor.se","git-pages.rit.edu","rocky.page","\u0431\u0438\u0437.\u0440\u0443\u0441","\u043a\u043e\u043c.\u0440\u0443\u0441","\u043a\u0440\u044b\u043c.\u0440\u0443\u0441","\u043c\u0438\u0440.\u0440\u0443\u0441","\u043c\u0441\u043a.\u0440\u0443\u0441","\u043e\u0440\u0433.\u0440\u0443\u0441","\u0441\u0430\u043c\u0430\u0440\u0430.\u0440\u0443\u0441","\u0441\u043e\u0447\u0438.\u0440\u0443\u0441","\u0441\u043f\u0431.\u0440\u0443\u0441","\u044f.\u0440\u0443\u0441","*.builder.code.com","*.dev-builder.code.com","*.stg-builder.code.com","sandcats.io","logoip.de","logoip.com","fr-par-1.baremetal.scw.cloud","fr-par-2.baremetal.scw.cloud","nl-ams-1.baremetal.scw.cloud","fnc.fr-par.scw.cloud","functions.fnc.fr-par.scw.cloud","k8s.fr-par.scw.cloud","nodes.k8s.fr-par.scw.cloud","s3.fr-par.scw.cloud","s3-website.fr-par.scw.cloud","whm.fr-par.scw.cloud","priv.instances.scw.cloud","pub.instances.scw.cloud","k8s.scw.cloud","k8s.nl-ams.scw.cloud","nodes.k8s.nl-ams.scw.cloud","s3.nl-ams.scw.cloud","s3-website.nl-ams.scw.cloud","whm.nl-ams.scw.cloud","k8s.pl-waw.scw.cloud","nodes.k8s.pl-waw.scw.cloud","s3.pl-waw.scw.cloud","s3-website.pl-waw.scw.cloud","scalebook.scw.cloud","smartlabeling.scw.cloud","dedibox.fr","schokokeks.net","gov.scot","service.gov.scot","scrysec.com","firewall-gateway.com","firewall-gateway.de","my-gateway.de","my-router.de","spdns.de","spdns.eu","firewall-gateway.net","my-firewall.org","myfirewall.org","spdns.org","seidat.net","sellfy.store","senseering.net","minisite.ms","magnet.page","biz.ua","co.ua","pp.ua","shiftcrypto.dev","shiftcrypto.io","shiftedit.io","myshopblocks.com","myshopify.com","shopitsite.com","shopware.store","mo-siemens.io","1kapp.com","appchizi.com","applinzi.com","sinaapp.com","vipsinaapp.com","siteleaf.net","bounty-full.com","alpha.bounty-full.com","beta.bounty-full.com","small-web.org","vp4.me","try-snowplow.com","srht.site","stackhero-network.com","musician.io","novecore.site","static.land","dev.static.land","sites.static.land","storebase.store","vps-host.net","atl.jelastic.vps-host.net","njs.jelastic.vps-host.net","ric.jelastic.vps-host.net","playstation-cloud.com","apps.lair.io","*.stolos.io","spacekit.io","customer.speedpartner.de","myspreadshop.at","myspreadshop.com.au","myspreadshop.be","myspreadshop.ca","myspreadshop.ch","myspreadshop.com","myspreadshop.de","myspreadshop.dk","myspreadshop.es","myspreadshop.fi","myspreadshop.fr","myspreadshop.ie","myspreadshop.it","myspreadshop.net","myspreadshop.nl","myspreadshop.no","myspreadshop.pl","myspreadshop.se","myspreadshop.co.uk","api.stdlib.com","storj.farm","utwente.io","soc.srcf.net","user.srcf.net","temp-dns.com","supabase.co","supabase.in","supabase.net","su.paba.se","*.s5y.io","*.sensiosite.cloud","syncloud.it","dscloud.biz","direct.quickconnect.cn","dsmynas.com","fam
23ilyds.com","diskstation.me","dscloud.me","i234.me","myds.me","synology.me","dscloud.mobi","dsmynas.net","familyds.net","dsmynas.org","familyds.org","vpnplus.to","direct.quickconnect.to","tabitorder.co.il","taifun-dns.de","beta.tailscale.net","ts.net","gda.pl","gdansk.pl","gdynia.pl","med.pl","sopot.pl","site.tb-hosting.com","edugit.io","s3.teckids.org","telebit.app","telebit.io","*.telebit.xyz","gwiddle.co.uk","*.firenet.ch","*.svc.firenet.ch","reservd.com","thingdustdata.com","cust.dev.thingdust.io","cust.disrec.thingdust.io","cust.prod.thingdust.io","cust.testing.thingdust.io","reservd.dev.thingdust.io","reservd.disrec.thingdust.io","reservd.testing.thingdust.io","tickets.io","arvo.network","azimuth.network","tlon.network","torproject.net","pages.torproject.net","bloxcms.com","townnews-staging.com","tbits.me","12hp.at","2ix.at","4lima.at","lima-city.at","12hp.ch","2ix.ch","4lima.ch","lima-city.ch","trafficplex.cloud","de.cool","12hp.de","2ix.de","4lima.de","lima-city.de","1337.pictures","clan.rip","lima-city.rocks","webspace.rocks","lima.zone","*.transurl.be","*.transurl.eu","*.transurl.nl","site.transip.me","tuxfamily.org","dd-dns.de","diskstation.eu","diskstation.org","dray-dns.de","draydns.de","dyn-vpn.de","dynvpn.de","mein-vigor.de","my-vigor.de","my-wan.de","syno-ds.de","synology-diskstation.de","synology-ds.de","typedream.app","pro.typeform.com","uber.space","*.uberspace.de","hk.com","hk.org","ltd.hk","inc.hk","name.pm","sch.tf","biz.wf","sch.wf","org.yt","virtualuser.de","virtual-user.de","upli.io","urown.cloud","dnsupdate.info","lib.de.us","2038.io","vercel.app","vercel.dev","now.sh","router.management","v-info.info","voorloper.cloud","neko.am","nyaa.am","be.ax","cat.ax","es.ax","eu.ax","gg.ax","mc.ax","us.ax","xy.ax","nl.ci","xx.gl","app.gp","blog.gt","de.gt","to.gt","be.gy","cc.hn","blog.kg","io.kg","jp.kg","tv.kg","uk.kg","us.kg","de.ls","at.md","de.md","jp.md","to.md","indie.porn","vxl.sh","ch.tc","me.tc","we.tc","nyan.to","at.vg","blog.vu","dev.vu","me.vu","v.ua","*.vultrobjects.com","wafflecell.com","*.webhare.dev","reserve-online.net","reserve-online.com","bookonline.app","hotelwithflight.com","wedeploy.io","wedeploy.me","wedeploy.sh","remotewd.com","pages.wiardweb.com","wmflabs.org","toolforge.org","wmcloud.org","panel.gg","daemon.panel.gg","messwithdns.com","woltlab-demo.com","myforum.community","community-pro.de","diskussionsbereich.de","community-pro.net","meinforum.net","affinitylottery.org.uk","raffleentry.org.uk","weeklylottery.org.uk","wpenginepowered.com","js.wpenginepowered.com","wixsite.com","editorx.io","half.host","xnbay.com","u2.xnbay.com","u2-local.xnbay.com","cistron.nl","demon.nl","xs4all.space","yandexcloud.net","storage.yandexcloud.net","website.yandexcloud.net","official.academy","yolasite.com","ybo.faith","yombo.me","homelink.one","ybo.party","ybo.review","ybo.science","ybo.trade","ynh.fr","nohost.me","noho.st","za.net","za.org","bss.design","basicserver.io","virtualserver.io","enterprisecloud.nu"]')},99011(e){"use strict";e.exports=JSON.parse('["aaa","aarp","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dis
23h","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","link","live","living","lk","llc","llp","loan","loans","locker","locus","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mv","mw","mx","my","mz","na","nab","nagoya","name","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","
23save","saxo","sb","sbi","sbs","sc","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shell","shia","shiksha","shoes","shop","shopping","shouji","show","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","verm\xf6gensberater","verm\xf6gensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volvo","vote","voting","voto","voyage","vu","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","\u03b5\u03bb","\u03b5\u03c5","\u0431\u0433","\u0431\u0435\u043b","\u0434\u0435\u0442\u0438","\u0435\u044e","\u043a\u0430\u0442\u043e\u043b\u0438\u043a","\u043a\u043e\u043c","\u043c\u043a\u0434","\u043c\u043e\u043d","\u043c\u043e\u0441\u043a\u0432\u0430","\u043e\u043d\u043b\u0430\u0439\u043d","\u043e\u0440\u0433","\u0440\u0443\u0441","\u0440\u0444","\u0441\u0430\u0439\u0442","\u0441\u0440\u0431","\u0443\u043a\u0440","\u049b\u0430\u0437","\u0570\u0561\u0575","\u05d9\u05e9\u05e8\u05d0\u05dc","\u05e7\u05d5\u05dd","\u0627\u0628\u0648\u0638\u0628\u064a","\u0627\u0631\u0627\u0645\u0643\u0648","\u0627\u0644\u0627\u0631\u062f\u0646","\u0627\u0644\u0628\u062d\u0631\u064a\u0646","\u0627\u0644\u062c\u0632\u0627\u0626\u0631","\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629","\u0627\u0644\u0639\u0644\u064a\u0627\u0646","\u0627\u0644\u0645\u063a\u0631\u0628","\u0627\u0645\u0627\u0631\u0627\u062a","\u0627\u06cc\u0631\u0627\u0646","\u0628\u0627\u0631\u062a","\u0628\u0627\u0632\u0627\u0631","\u0628\u064a\u062a\u0643","\u0628\u06be\u0627\u0631\u062a","\u062a\u0648\u0646\u0633","\u0633\u0648\u062f\u0627\u0646","\u0633\u0648\u0631\u064a\u0629","\u0634\u0628\u0643\u0629","\u0639\u0631\u0627\u0642","\u0639\u0631\u0628","\u0639\u0645\u0627\u0646","\u0641\u0644\u0633\u0637\u064a\u0646","\u0642\u0637\u0631","\u0643\u0627\u062b\u0648\u0644\u064a\u0643","\u0643\u0648\u0645","\u0645\u0635\u0631","\u0645\u0644\u064a\u0633\u064a\u0627","\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627","\u0645\u0648\u0642\u0639","\u0647\u0645\u0631\u0627\u0647","\u067e\u0627\u06a9\u0633\u062a\u0627\u0646","\u0680\u0627\u0631\u062a","\u0915\u0949\u092e","\u0928\u0947\u091f","\u092d\u093e\u0930\u0924","\u092d\u093e\u0930\u0924\u092e\u094d","\u092d\u093e\u0930\u094b\u0924","\u0938\u0902\u0917\u0920\u0928","\u09ac\u09be\u0982\u09b2\u09be","\u09ad\u09be\u09b0\u09a4","\u09ad\u09be\u09f0\u09a4","\u0a2d\u0a3e\u0a30\u0a24","\u0aad\u0abe\u0ab0\u0aa4","\u0b2d\u0b3e\u0b30\u0b24","\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe","\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8","\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd","\u0c2d\u0c3e\u0c30\u0c24\u0c4d","\u0cad\u0cbe\u0cb0\u0ca4","\u0d2d\u0d3e\u0d30\u0d24\u0d02","\u0dbd\u0d82\u0d9a\u0dcf","\u0e04\u0e2d\u0e21","\u0e44\u0e17\u0e22","\u0ea5\u0eb2\u0ea7","\u10d2\u10d4","\u307f\u3093\u306a","\u30a2\u30de\u30be\u30f3","\u30af\u30e9\u30a6\u30c9","\u30b0\u30fc\u30b0\u30eb","\u30b3\u30e0","\u30b9\u30c8\u30a2","\u30bb\u30fc\u30eb","\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3","\u30dd\u30a4\u30f3\u30c8","\u4e16\u754c","\u4e2d\u4fe1","\u4e2d\u56fd","\u4e2d\u570b","\u4e2d\u6587\u7f51","\u4e9a\u9a6c\u900a","\u4f01\u4e1a","\u4f5b\u5c71","\u4fe1\u606f","\u5065\u5eb7","\u516b\u5366","\u516c\u53f8","\u516c\u76ca","\u53f0\u6e7e","\u53f0\u7063","\u5546\u57ce","\u5546\u5e97","\u5546\u6807","\u5609\u91cc","\u5609\u91cc\u5927\u9152\u5e97","\u5728\u7ebf","\u5927\u62ff","\u5929\u4e3b\u6559","\u5a31\u4e50","\u5bb6\u96fb","\u5e7f\u4e1c","\u5fae\u535a","\u6148\u5584","\u6211\u7231\u4f60","\u624b\u673a","\u62db\u8058","\u653f\u52a1","\u653f\u5e9c","\u
2365b0\u52a0\u5761","\u65b0\u95fb","\u65f6\u5c1a","\u66f8\u7c4d","\u673a\u6784","\u6de1\u9a6c\u9521","\u6e38\u620f","\u6fb3\u9580","\u70b9\u770b","\u79fb\u52a8","\u7ec4\u7ec7\u673a\u6784","\u7f51\u5740","\u7f51\u5e97","\u7f51\u7ad9","\u7f51\u7edc","\u8054\u901a","\u8c37\u6b4c","\u8d2d\u7269","\u901a\u8ca9","\u96c6\u56e2","\u96fb\u8a0a\u76c8\u79d1","\u98de\u5229\u6d66","\u98df\u54c1","\u9910\u5385","\u9999\u683c\u91cc\u62c9","\u9999\u6e2f","\ub2f7\ub137","\ub2f7\ucef4","\uc0bc\uc131","\ud55c\uad6d"]')}}]);
24//# sourceMappingURL=3035.acfb0c22.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.