PageSourceSearch

https://hawk.gamesradar.com/js/w/es6/master-6d42e8e5/ecomlinks.js

js gamesradar.com collected 2026-09-24 08:26:34 UTC 369,841 bytes, 3 lines download raw bytes

1/*! For license information please see ecomlinks.js.LICENSE.txt */
2(()=>{var e,t,n={8161(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,m=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function $(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case d:case a:case s:case o:case p:return e;default:switch(e=e&&e.$$typeof){case c:case m:case h:case g:case u:return e;default:return t}}case i:return t}}}function k(e){return $(e)===d}t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===o||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===u||e.$$typeof===c||e.$$typeof===m||e.$$typeof===y||e.$$typeof===b||e.$$typeof===_||e.$$typeof===v)}},3101(e,t,n){"use strict";e.exports=n(8161)},6716(e,t,n){"use strict";var r={};n.r(r),n.d(r,{base64:()=>Zn,base64url:()=>Mn,bigint:()=>Bn,boolean:()=>er,browserEmail:()=>Dn,cidrv4:()=>Ln,cidrv6:()=>Cn,cuid:()=>gn,cuid2:()=>hn,date:()=>Gn,datetime:()=>Kn,domain:()=>Jn,duration:()=>$n,e164:()=>Qn,email:()=>On,emoji:()=>An,extendedDuration:()=>kn,guid:()=>wn,hex:()=>ar,hostname:()=>Fn,html5Email:()=>Un,idnEmail:()=>En,integer:()=>Xn,ipv4:()=>Tn,ipv6:()=>jn,ksuid:()=>bn,lowercase:()=>rr,mac:()=>Rn,md5_base64:()=>cr,md5_base64url:()=>lr,md5_hex:()=>ur,nanoid:()=>_n,null:()=>tr,number:()=>Yn,rfc5322Email:()=>Pn,sha1_base64:()=>mr,sha1_base64url:()=>pr,sha1_hex:()=>dr,sha256_base64:()=>gr,sha256_base64url:()=>hr,sha256_hex:()=>fr,sha384_base64:()=>yr,sha384_base64url:()=>br,sha384_hex:()=>vr,sha512_base64:()=>$r,sha512_base64url:()=>kr,sha512_hex:()=>_r,string:()=>Hn,time:()=>Vn,ulid:()=>vn,undefined:()=>nr,unicodeEmail:()=>Nn,uppercase:()=>ir,uuid:()=>In,uuid4:()=>Sn,uuid6:()=>xn,uuid7:()=>zn,xid:()=>yn});var i={};n.r(i),n.d(i,{endsWith:()=>Os,gt:()=>ls,gte:()=>ds,includes:()=>xs,length:()=>ks,lowercase:()=>Is,lt:()=>us,lte:()=>cs,maxLength:()=>_s,maxSize:()=>vs,mime:()=>Ps,minLength:()=>$s,minSize:()=>ys,multipleOf:()=>hs,negative:()=>ps,nonnegative:()=>gs,nonpositive:()=>fs,normalize:()=>Es,overwrite:()=>Ns,positive:()=>ms,property:()=>Us,regex:()=>ws,size:()=>bs,slugify:()=>js,startsWith:()=>zs,toLowerCase:()=>As,toUpperCase:()=>Ts,trim:()=>Ds,uppercase:()=>Ss});var a={};n.r(a),n.d(a,{ZodISODate:()=>Nu,ZodISODateTime:()=>Uu,ZodISODuration:()=>Tu,ZodISOTime:()=>Du,date:()=>Eu,datetime:()=>Pu,duration:()=>ju,time:()=>Au});var o={};n.r(o),n.d(o,{ZodAny:()=>yl,ZodArray:()=>Ol,ZodBase64:()=>Lc,ZodBase64URL:()=>Zc,ZodBigInt:()=>sl,ZodBigIntFormat:()=>cl,ZodBoolean:()=>al,ZodCIDRv4:()=>Ac,ZodCIDRv6:()=>jc,ZodCUID:()=>yc,ZodCUID2:()=>_c,ZodCatch:()=>wd,ZodCodec:()=>Ud,ZodCustom:()=>Md,ZodCustomStringFormat:()=>Gc,ZodDate:()=>xl,ZodDefault:()=>gd,ZodDiscriminatedUnion:()=>Cl,ZodE164:()=>Fc,ZodEmail:()=>nc,ZodEmoji:()=>fc,ZodEnum:()=>Yl,ZodExactOptional:()=>ld,ZodFile:()=>id,ZodFunction:()=>Cd,ZodGUID:()=>ic,ZodIPv4:()=>Oc,ZodIPv6:()=>Ec,ZodIntersection:()=>Ml,ZodJWT:()=>Qc,ZodKSUID:()=>xc,ZodLazy:()=>Td,ZodLiteral:()=>nd,ZodMAC:()=>Pc,ZodMap:()=>Kl,ZodNaN:()=>Sd,ZodNanoID:()=>hc,ZodNever:()=>kl,ZodNonOptional:()=>bd,ZodNull:()=>hl,ZodNullable:()=>md,ZodNumber:()=>Bc,ZodNumberFormat:()=>Yc,ZodObject:()=>Nl,ZodOptional:()=>ud,ZodPipe:()=>zd,ZodPrefault:()=>vd,ZodPromise:()=>Rd,ZodReadonly:()=>Nd,ZodRecord:()=>Wl,ZodSet:()=>Bl,ZodString:()=>Yu,ZodStringFormat:()=>tc,ZodSuccess:()=>$d,ZodSymbol:()=>
2ml,ZodTemplateLiteral:()=>Dd,ZodTransform:()=>od,ZodTuple:()=>Jl,ZodType:()=>Bu,ZodULID:()=>kc,ZodURL:()=>dc,ZodUUID:()=>oc,ZodUndefined:()=>fl,ZodUnion:()=>Tl,ZodUnknown:()=>_l,ZodVoid:()=>Il,ZodXID:()=>Ic,ZodXor:()=>Rl,_ZodString:()=>Xu,_default:()=>hd,_function:()=>Zd,any:()=>bl,array:()=>Ul,base64:()=>Cc,base64url:()=>Mc,bigint:()=>ul,boolean:()=>ol,catch:()=>Id,check:()=>Fd,cidrv4:()=>Tc,cidrv6:()=>Rc,codec:()=>Pd,cuid:()=>bc,cuid2:()=>$c,custom:()=>Jd,date:()=>zl,describe:()=>Gd,discriminatedUnion:()=>Zl,e164:()=>Jc,email:()=>rc,emoji:()=>gc,enum:()=>ed,exactOptional:()=>dd,file:()=>ad,float32:()=>tl,float64:()=>nl,function:()=>Zd,guid:()=>ac,hash:()=>Hc,hex:()=>Kc,hostname:()=>Vc,httpUrl:()=>pc,instanceof:()=>Vd,int:()=>el,int32:()=>rl,int64:()=>ll,intersection:()=>Fl,ipv4:()=>Uc,ipv6:()=>Dc,json:()=>Hd,jwt:()=>Wc,keyof:()=>Pl,ksuid:()=>zc,lazy:()=>jd,literal:()=>rd,looseObject:()=>Al,looseRecord:()=>Vl,mac:()=>Nc,map:()=>Hl,meta:()=>qd,nan:()=>xd,nanoid:()=>vc,nativeEnum:()=>td,never:()=>wl,nonoptional:()=>_d,null:()=>vl,nullable:()=>pd,nullish:()=>fd,number:()=>Xc,object:()=>El,optional:()=>cd,partialRecord:()=>ql,pipe:()=>Od,prefault:()=>yd,preprocess:()=>Bd,promise:()=>Ld,readonly:()=>Ed,record:()=>Gl,refine:()=>Qd,set:()=>Xl,strictObject:()=>Dl,string:()=>
2ec,stringFormat:()=>qc,stringbool:()=>Kd,success:()=>kd,superRefine:()=>Wd,symbol:()=>pl,templateLiteral:()=>Ad,transform:()=>sd,tuple:()=>Ql,uint32:()=>il,uint64:()=>dl,ulid:()=>wc,undefined:()=>gl,union:()=>jl,unknown:()=>$l,url:()=>mc,uuid:()=>sc,uuidv4:()=>uc,uuidv6:()=>cc,uuidv7:()=>lc,void:()=>Sl,xid:()=>Sc,xor:()=>Ll});const s=()=>"undefined"==typeof window,u=e=>{if(!e)return"";const t=Object.entries(e).flatMap(([e,t])=>((e,t)=>{if(null==t||""===t)return[];const n=encodeURIComponent(e);return Array.isArray(t)?t.map(e=>`${n}[]=${encodeURIComponent(e)}`):[`${n}=${encodeURIComponent(t)}`]})(e,t));return t.length>0?`?${t.join("&")}`:""},c=(e,t)=>`${e}${u(t)}`,l=s()?{"User-Agent":`FIE widgets server/master-6d42e8e5 (Node.js ${process.version})`}:void 0,d=async(e,t,n)=>{const r=s()?parseInt("2500",10):NaN;try{const i=await fetch(c(e,t),{signal:isNaN(r)?void 0:AbortSignal.timeout(r),headers:{...n,...l}});if(!i.ok)return{ok:!1,status:i.status,detail:"Unknown error while fetching data"};const a=await i.json();return{ok:!0,status:i.status,headers:i.headers,data:a}}catch(e){return e instanceof DOMException&&"AbortError"===e.name?{ok:!1,status:0,detail:"Fetch aborted by user action"}:e instanceof DOMException&&"TimeoutError"===e.name?{ok:!1,status:408,detail:"Request timed out"}:e instanceof Error&&"TypeError"===e.name?{ok:!1,status:500,detail:`Error while fetching data. ${e} Cause: ${e.cause}`}:{ok:!1,status:500,detail:"Unknown error while fetching data"}}};async function m(e,t,n="json"){try{const r=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json",...l},body:JSON.stringify(t)});if(!r.ok)return{ok:!1,status:r.status,detail:"Unknown error while fetching data"};const i="text"===n?await r.text():await r.json();return{ok:!0,status:r.status,headers:r.headers,data:i}}catch(e){return{ok:!1,status:500,detail:"Unknown error while fetching data"}}}const p=()=>{const e=s()?n.g:window;return e.hawk||(e.hawk={}),e.hawk};let f,g,h,v,y;!function(e){e.HAWKLINKS="hawklinks",e.SKIMLINKS="skimlinks",e.NONE="none"}(f||(f={})),function(e){e.TERMS_AND_CONDITIONS="terms and conditions",e.DETAILS_SECTION_TOGGLE="details section toggle",e.SEE_ALL_LINK="see all link",e.RETAILER_IMAGE="retailer image",e.CTA="cta",e.GO_TO_MERCHANT_PAGE_LINK="go to merchant page link",e.REVEALED_CODE="revealed code",e.COPY_BUTTON="copy button",e.SEARCH_BUTTON="search button",e.CHIP="chip",e.ROUNDEL="roundel",e.SIGN_UP_BUTTON="sign up button",e.PRODUCT_IMAGE="product image",e.MODEL_NAME="model name",e.PRICE="price",e.AMAZON_PRIME_IMAGE="amazon prime image",e.READ_MORE="read more",e.SHOW_MORE="show more",e.SHOW_LESS="show less",e.CLOSE_ICON="close icon",e.BACKDROP="backdrop",e.ESCAPE_KEY="escape key",e.COLLECTION_CARD="collection card",e.VIEW_DETAILS_LINK="view details link",e.COUPONS_BUTTON="coupons button",e.COUPON="coupon",e.FAVOURITE_ICON="favourite icon",e.UNSPECIFIED="unspecified"}(g||(g={})),function(e){e.GO_TO_RETAILER_PAGE="go to retailer page",e.GO_TO_EXTERNAL_PAGE="go to external page",e.GO_TO_INTERNAL_PAGE="go to internal page",e.MOVE_ON_PAGE="move on page",e.OPENED="opened",e.CLOSED="closed",e.CLOSE_POPUP="close popup",e.VIEW_DETAILS="view details",e.CLOSE_PRODUCT_INFO_POPUP="close product info popup",e.OPEN_COUPONS_POPUP="open coupons popup",e.CLOSE_COUPONS_POPUP="close coupons popup",e.SEE_ALL_DISCOUNT_CODES="see all discount codes",e.REVEAL_CODE="reveal code",e.GO_TO_MERCHANT_PAGE="go to merchant page",e.COPY_CODE="copy code",e.SIGN_UP="sign up",e.AFFILIATE_LINK_CLICKED="affiliate link clicked",e.SEARCH_PRODUCTS="search products",e.FAVOURITE="favourite",e.UNFAVOURITE="unfavourite"}(h||(h={})),function(e){e.WIDGETS_LOADED="future.ecomtech.hawk.widgets.v1.WidgetsLoadedEvent",e.WIDGET_VISIBLE="future.ecomtech.hawk.widgets.v1.WidgetVisibleEvent",e.WIDGET_INTERACTED="future.ecomtech.hawk.widgets.v1.WidgetInteractedEvent",e.ITEM_VIEWED="future.ecomtech.hawk.widgets.v1.ItemViewedEvent"}(v||(v={})),function(e){e.HAWK_EVENT="hawkEvent",e.WIDGETS_LOADED="widgetsLoaded",e.WIDGET_VISIBLE="widgetVisible",e.WIDGET_INTERACTED="widgetInteracted",e.ITEM_VIEWED="itemViewed"}(y||(y={}));const b=e=>{const{hawkEvent:t}=e,{analytics:n,site:r}=p();(e=>{const t=p();Object.assign(t,e),s()||localStorage.setItem("hawk",JSON.stringify(t))})({analytics:{freyr:[...n?.freyr??[],t]}}),t.name===y.HAWK_EVENT?(e=>{window.freyr=window.freyr??{cmd:[]},window.freyr.cmd.push(()=>window.freyr.pushAndUpdate(e.name,e.data))})(t):(async(e,t)=>{const n=t&&["responsive","progressive"].includes(t.platform)?`/.events-handler/${e.fullyQualifiedMessageName}`:`https://eventsproxy.gargantuan.futureplc.com/${e.fullyQualifiedMessageName}`,r=(e.fullyQualifiedMessageName,n);await m(r,e.data)})(t,r)};var _=n(4353),$=n.n(_),k=n(8134),w=n.n(k);const I=()=>
2{if(s())return"mobile";let e;if(window.navigator.maxTouchPoints>0)e=!0;else{const t=matchMedia("(pointer:coarse)");if("(pointer:coarse)"===t.media)e=t.matches;else if("orientation"in window)e=!0;else{const t=navigator.userAgent;e=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(t)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(t)}}return e?"mobile":"desktop"},S=e=>{if(s())return{};const t=new URLSearchParams(window.location.search),n={};return t.forEach((t,r)=>{((e,t)=>!t||t.includes(e))(r,e)&&(n[r]=t)}),n};var x=n(6540);function z(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}function O(){return O=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},O.apply(null,arguments)}function U(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P(e,t){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},P(e,t)}var N=n(3101),E=n(4146),D=n.n(E);function A(e,t){if(!e){var n=new Error("loadable: "+t);throw n.framesToPop=1,n.name="Invariant Violation",n}}var T=x.createContext();var j={initialChunks:{}},R="PENDING",L="REJECTED";var C=function(e){return e};function Z(e){var t=e.defaultResolveComponent,n=void 0===t?C:t,r=e.render,i=e.onLoad;function a(e,t){void 0===t&&(t={});var a=function(e){return"function"==typeof e?{requireAsync:e,resolve:function(){},chunkName:function(){}}:e}(e),o={};function s(e){return t.cacheKey?t.cacheKey(e):a.resolve?a.resolve(e):"static"}function u(e,r,i){var a=t.resolveComponent?t.resolveComponent(e,r):n(e);if(t.resolveComponent&&!(0,N.isValidElementType)(a))throw new Error("resolveComponent returned something that is not a React component!");return D()(i,a,{preload:!0}),a}var c,l,d=function(e){var t=s(e),n=o[t];return n&&n.status!==L||((n=a.requireAsync(e)).status=R,o[t]=n,n.then(function(){n.status="RESOLVED"},function(t){console.error("loadable-components: failed to asynchronously load component",{fileName:a.resolve(e),chunkName:a.chunkName(e),error:t?t.message:t}),n.status=L})),n},m=function(e){var n,c;function l(n){var r;return(r=e.call(this,n)||this).state={result:null,error:null,loading:!0,cacheKey:s(n)},A(!n.__chunkExtractor||a.requireSync,"SSR requires `@loadable/babel-plugin`, please install it"),n.__chunkExtractor?(!1===t.ssr||(a.requireAsync(n).catch(function(){return null}),r.loadSync(),n.__chunkExtractor.addChunk(a.chunkName(n))),U(r)):(!1!==t.ssr&&(a.isReady&&a.isReady(n)||a.chunkName&&j.initialChunks[a.chunkName(n)])&&r.loadSync(),r)}c=e,(n=l).prototype=Object.create(c.prototype),n.prototype.constructor=n,P(n,c),l.getDerivedStateFromProps=function(e,t){var n=s(e);return O({},t,{cacheKey:n,loading:t.loading||t.cacheKey!==n})};var m=l.prototype;return m.componentDidMount=function(){this.mounted=!0;var e=this.getCache();e&&e.status===L&&this.setCache(),this.state.loading&&this.loadAsync()},m.componentDidUpdate=function(e,t){t.cacheKey!==this.state.cacheKey&&this.loadAsync()},m.componentWillUnmount=function(){this.mounted=!1},m.safeSetState=function(e,t){this.mounted&&this.setState(e,t)},m.getCacheKey=function(){return s(this.props)},m.getCache=function(){return o[this.getCacheKey()]},m.setCache=function(e){void 0===e&&(e=void 0),o[this.getCacheKey()]=e},m.triggerOnLoad=function(){var e=this;i&&setTimeout(function(){i(e.state.result,e.props)})},m.loadSync=function(){if(this.state.loading)try{var e=u(a.requireSync(this.props),this.props,f);this.state.result=e,this.state.loading=!1}catch(e){console.error("loadable-components: failed to synchronously load component, which expected to be available",{fileName:a.resolve(this.props),chunkName:a.chunkName(this.props),error:e?e.message:e}),this.state.error=e}},m.loadAsync=function(){var e=this,t=this.resolveAsync();return t.then(function(t){var n=u(t,e.props,f);e.safeSetState({result:n,loading:!1},function(){return e.triggerOnLoad()})}).catch(function(t){return e.safeSetState({error:t,loading:!1})}),t},m.resolveAsync=function(){var e=this.props,t=(e.__chunkExtractor,e.forwardedRef,z(e,["__chunkExtractor","forwardedRef"]));return d(t)},m.render=function(){var e=this.props,n=e.forwardedRef,i=e.fallback,a=(e.__chunkExtractor,z(e,["forwardedRef","fallback","__chunkExtractor"])),o=this.state,s=o.error,u=o.loading,c=o.result;if(t.suspense&&(this.getCache()||this.loadAsync()).status===R)throw this.loadAsync();if(s)throw s;var l=i||t.fallback||null;return u?l:r({fallback:l,result:c,options:t,props:O({},a,{ref:n})})},l}(x.Component),p=(l=function(e){return x.createElement(T.Consumer,null,function(t){return x.createElement(c,Object.assign({__chunkExtractor:t},e))})}
2,(c=m).displayName&&(l.displayName=c.displayName+"WithChunkExtractor"),l),f=x.forwardRef(function(e,t){return x.createElement(p,Object.assign({forwardedRef:t},e))});return f.displayName="Loadable",f.preload=function(e){f.load(e)},f.load=function(e){return d(e)},f}return{loadable:a,lazy:function(e,t){return a(e,O({},t,{suspense:!0}))}}}var M=Z({defaultResolveComponent:function(e){return e.__esModule?e.default:e.default||e},render:function(e){var t=e.result,n=e.props;return x.createElement(t,n)}}),F=M.loadable,J=M.lazy,Q=Z({onLoad:function(e,t){e&&t.forwardedRef&&("function"==typeof t.forwardedRef?t.forwardedRef(e):t.forwardedRef.current=e)},render:function(e){var t=e.result,n=e.props;return n.children?n.children(t):null}}),W=Q.loadable,G=Q.lazy;var q=F;q.lib=W,J.lib=G;const V=q,K=V.lib({resolved:{},chunkName:()=>"getHashHexClientside",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(796).then(n.bind(n,9945)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>9945}),H=V.lib({resolved:{},chunkName:()=>"getHashHexServerside",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(5312).then(n.bind(n,5869)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>5869}),B=async e=>{const t=JSON.stringify(e),n=(new TextEncoder).encode(t),r=await(await(async()=>{if(s()){const{getHashHexServerside:e}=await H.load();return e}const{getHashHexClientside:e}=await K.load();return e})())(n),i=`${r.length%2?"0":""}${r}`;return BigInt(`0x${i}`).toString(10).substring(0,19)};$().extend(w());const X=async e=>{const{customTrackingId:t}=S();if(t)return Promise.resolve(t);const n=e.merchantName?.startsWith("Amazon");return B(n?{articleType:e.articleType,articleCategory:e.articleCategory,utm_medium:S(["utm_medium"]).utm_medium,site:e.site,area:e.area,battle:e.battle,weekNumber:$()().week(),deviceCategory:I()}:{randomNumber:Math.random()})},Y=({url:e,site:t,social:n,customTrackingId:r,area:i,trackingArea:a,articleUrl:o,articleName:s,keepUrlPlaceholders:u=!1})=>{if(o&&(e=e.replaceAll("hawk-article-url",encodeURIComponent(o))),s&&(e=e.replaceAll("hawk-article-name",encodeURIComponent(s))),u)return e;const c=e.includes("go.redirectingat.com")?"_":"-",l=(a||i||"zz").toLowerCase(),d=`${t.analyticsName}${n??""}${c}${l}`;return e.replaceAll("hawk-prefix",d).replaceAll("hawk-custom-tracking",`${d}${c}${r}`)};let ee;!function(e){e.GA="_ga",e.KIOSQ="kiosq_user",e.FTR_COUNTRY_CODE="FTR_Country_Code",e.REVIEW_TAB="hawk-review-widget-tab"}(ee||(ee={}));const te=e=>{if(s())return;const t=`; ${document.cookie}`.split(`; ${e}=`);return 2===t.length?t.pop()?.split(";").shift()??"":void 0};var ne=n(4193),re=n.n(ne);const ie=e=>new(re())(e).hostname().replace(/^www\./,""),ae="#article-body a, #gallery-body a, .article-body a",oe=".article__body a, #article-body a, .article-body a",se=".p-body-
2pageContent a",ue={id:"advnture",logo:"svg/advnture.svg",label:"Advnture",analyticsName:"advnture",hostname:"advnture.com",platform:"responsive",selector:ae},ce={id:"androidcentral",logo:"svg/androidcentral.svg",label:"Android Central",analyticsName:"ac",hostname:"androidcentral.com",platform:"responsive",selector:`${ae}, article a`},le={id:"avnetwork",logo:"svg/avnetwork.svg",label:"AV Network",analyticsName:"avnetwork",hostname:"avnetwork.com",platform:"responsive",selector:ae},de={id:"bikeperfect",logo:"svg/bikeperfect.svg",label:"Bike Perfect",analyticsName:"bikeperfect",hostname:"bikeperfect.com",platform:"responsive",selector:ae},me={id:"cinemablend",logo:"svg/cinemablend.svg",label:"Cinemablend",analyticsName:"cinemablend",hostname:"cinemablend.com",platform:"responsive",selector:`${ae}, article a`},pe={id:"coachmag",logo:"svg/coach.svg",label:"Coach",analyticsName:"coachmag",hostname:"coachweb.com",platform:"responsive",selector:`${ae}, .content a`},fe={id:"countrylife",logo:"svg/countrylife.svg",label:"Country Life",analyticsName:"countrylife",hostname:"countrylife.co.uk",platform:"progressive",selector:oe},ge={id:"creativebloq",logo:"svg/creativebloq.svg",label:"Creative Bloq",analyticsName:"cbq",hostname:"creativebloq.com",platform:"responsive",selector:ae},he={id:"cyclingnews",logo:"svg/cyclingnews.svg",label:"Cyclingnews",analyticsName:"cyclingnews",hostname:"cyclingnews.com",platform:"responsive",selector:ae},ve={id:"cyclingweekly",logo:"svg/cyclingweekly.svg",label:"Cycling Weekly",analyticsName:"cyclingweekly",hostname:"cyclingweekly.com",platform:"progressive",selector:`${oe}, .articleBody a`}
2,ye={id:"decanter",logo:"decanter.png",label:"Decanter",analyticsName:"decanter",hostname:"decanter.com",platform:"progressive",selector:oe},be={id:"digitalcameraworld",logo:"svg/digitalcameraworld.svg",label:"Digital Camera World",analyticsName:"dcw",hostname:"digitalcameraworld.com",platform:"responsive",selector:ae},_e={id:"discover",analyticsName:"discover",selector:oe,logo:"",label:"Discover",platform:""},$e={id:"fitandwell",logo:"svg/fitandwell.svg",label:"Fit&Well",analyticsName:"fitandwell",hostname:"fitandwell.com",platform:"progressive",selector:oe},ke={id:"5gradar",logo:"svg/5gradar.svg",label:"5G Radar",analyticsName:"5gradar",hostname:"5gradar.com",platform:"responsive",selector:ae},we={id:"fourfourtwo",logo:"svg/fourfourtwo.svg",label:"Four Four Two",analyticsName:"fourfourtwo",hostname:"fourfourtwo.com",platform:"responsive",selector:ae},Ie={id:"gamesradar",logo:"svg/gamesradar.svg",label:"GamesRadar",analyticsName:"grd",hostname:"gamesradar.com",platform:"responsive",selector:ae},Se={id:"gardeningetc",logo:"svg/gardeningetc.svg",label:"Gardeningetc",analyticsName:"gardeningetc",hostname:"gardeningetc.com",platform:"progressive",selector:oe},xe={id:"gardeningknowhow",logo:"svg/gardeningknowhow.svg",label:"Gardening Know How",analyticsName:"gardeningknowhow",hostname:"gardeningknowhow.com",platform:"progressive",selector:oe},ze={id:"getprice",logo:"svg/getprice.svg",label:"GetPrice AU",analyticsName:"getprice",hostname:"getprice.com.au",platform:"responsive",selector:`${ae}, main a`},Oe={id:"gnomesingardens",logo:"gnomesingardens.png",label:"GnomesInGardens",analyticsName:"gnomesingardens",hostname:"gnomesingardens.com",platform:"progressive",selector:oe},Ue={id:"golfmonthly",logo:"svg/golfmonthly.svg",label:"Golf Monthly",analyticsName:"golfmonthly",hostname:"golfmonthly.com",platform:"progressive",selector:`${oe}, #content a`},Pe={id:"goodto",logo:"svg/goodto.svg",label:"Good to Know",analyticsName:"goodtoknow",hostname:"goodto.com",platform:"progressive",selector:`${oe}, article a`},Ne={id:"guitarplayer",logo:"svg/guitarplayer.svg",label:"Guitar Player",analyticsName:"guitarplayer",hostname:"guitarplayer.com",platform:"responsive",selector:ae},Ee={id:"guitarworld",logo:"svg/guitarworld.svg",label:"Guitar World",analyticsName:"guitarworld",hostname:"guitarworld.com",platform:"responsive",selector:ae},De={id:"homebuilding",logo:"svg/homebuilding.svg",label:"Home Building",analyticsName:"homebuilding",hostname:"homebuilding.co.uk",platform:"responsive",selector:`article a, ${ae}`},Ae={id:"homesandgardens",logo:"svg/homesandgardens.svg",label:"Homes & Gardens",analyticsName:"homesandgardens",hostname:"homesandgardens.com",platform:"progressive",selector:oe},Te={id:"horseandhound",logo:"svg/horseandhound.svg",label:"Horse & Hound",analyticsName:"horseandhound",hostname:"horseandhound.co.uk",platform:"progressive",selector:oe},je={id:"idealhome",logo:"svg/idealhome.svg",label:"Ideal Home",analyticsName:"idealhome",hostname:"idealhome.co.uk",platform:"progressive",selector:oe},Re={id:"imore",logo:"svg/imore.svg",label:"IMore",analyticsName:"imore",hostname:"imore.com",platform:"responsive",selector:`${ae}, article a`},Le={id:"itpro",logo:"svg/itpro.svg",label:"ITpro",analyticsName:"itpro",hostname:"itpro.com",platform:"progressive",selector:oe},Ce={id:"kiplinger",logo:"svg/kiplinger.svg",label:"Kiplinger",analyticsName:"Kiplinger",hostname:"kiplinger.com",platform:"progressive",selector:`${oe}, .polaris__app a`},Ze={id:"laptopmag",logo:"svg/laptopmag.svg",label:"Laptop Mag",analyticsName:"laptopmag",hostname:"laptopmag.com",platform:"responsive",selector:ae},Me={id:"livescience",logo:"svg/livescience.svg",label:"Live Science",analyticsName:"livescience",hostname:"livescience.com",platform:"progressive",selector:oe},Fe={id:"livingetc",logo:"svg/livingetc.svg",label:"Livingetc",analyticsName:"livingetc",hostname:"livingetc.com",platform:"progressive",selector:oe},Je={id:"loudersound",logo:"svg/loudersound.svg",label:"Louder Sound",analyticsName:"loudersound",hostname:"loudersound.com",platform:"responsive",selector:ae},Qe={id:"marieclaireuk",logo:"svg/marieclaire.svg",label:"Marie Claire",analyticsName:"marieclaireuk",hostname:"marieclaire.co.uk",platform:"progressive",selector:`${oe}, article a, #ise-root a`},We={id:"marieclaireus",logo:"svg/marieclaire.svg",label:"Marie Claire",analyticsName:"marieclaireus",hostname:"marieclaire.com",platform:"progressive",selector:`${oe}, .site-content a, #widgetArea12 a.visit-site-test`},Ge={id:"moneyweek",logo:"svg/moneyweek.svg",label:"MoneyWeek",analyticsName:"moneyweek",hostname:"moneyweek.com",platform:"progressive",selector:`${oe}, .polaris__app a`},qe={id:"musicradar",logo:"svg/musicradar.svg",label:"MusicRadar",analyticsName:"mrd",hostname:"musicradar.com",platform:"responsive",selector:ae},Ve={id:"musicweek",logo:"svg/musicweek.svg",label:"Music Week",analyticsName:"musicweek",hostname:"musicweek.com",platform:"progressive",selector:oe},Ke={id:"myimperfectlife",logo:"svg/myimperfectlife.svg",label:"My Imperfect Life",analyticsName:"myimperfectlife",hostname:"myimperfectlife.com",platform:"progressive",selector:oe},He={id:"myvouchercodes",logo:"svg/myvouchercodes.svg",label:"MyVoucherCodes",analyticsName:"myvouchercodes",hostname:"myvouchercodes.co.uk",hostnameStage:"mvc-staging.tgvg.io",platform:"progressive",selector:oe},Be={id:"nexttv",logo:"svg/nexttv.svg",label:"NextTV",analyticsName:"nexttv",hostname:"nexttv.com",platform:"responsive",selector:ae}
2,Xe={id:"pcgamer",logo:"svg/pcgamer.svg",label:"PC Gamer",analyticsName:"pcg",hostname:"pcgamer.com",platform:"responsive",selector:ae},Ye={id:"petsradar",logo:"svg/petsradar.svg",label:"Pets Radar",analyticsName:"petsradar",hostname:"petsradar.com",platform:"responsive",selector:ae},et={id:"realhomes",logo:"svg/realhomes.svg",label:"Real Homes",analyticsName:"realhomes",hostname:"realhomes.com",platform:"progressive",selector:oe},tt={id:"sheerluxe",logo:"svg/sheerluxe.svg",favicon:"svg/sheerluxe-favicon.svg",label:"SheerLuxe",analyticsName:"sheerluxe",hostname:"sheerluxe.com",platform:"progressive",selector:oe},nt={id:"shortlist",logo:"svg/shortlist.svg",label:"Shortlist",analyticsName:"shortlist",hostname:"shortlist.com",platform:"progressive",selector:`${oe}, #content a`},rt={id:"space",logo:"svg/space.svg",label:"Space",analyticsName:"space",hostname:"space.com",platform:"responsive",selector:ae},it={id:"t3",logo:"svg/t3.svg",favicon:"svg/t3-favicon.svg",label:"T3",analyticsName:"t3",hostname:"t3.com",platform:"progressive",selector:oe},at={id:"techlearning",logo:"svg/techlearning.svg",label:"Tech Learning",analyticsName:"techlearning",hostname:"techlearning.com",platform:"responsive",selector:ae},ot={id:"techradar",logo:"svg/techradar.svg",favicon:"svg/techradar-favicon.svg",label:"TechRadar",analyticsName:"trd",hostname:"techradar.com",platform:"responsive",selector:ae},st={...ot,id:"techradarpro",logo:"svg/techradar-pro.svg",label:"TechRadar Pro",analyticsName:"trdpro"},ut=[...[ke,ue,ce,le,de,me,ge,he,pe,be,we,ze,{id:"getpricenz",logo:"svg/getprice.svg",label:"GetPrice NZ",analyticsName:"getpricenz",hostname:"getprice.com.nz",platform:"responsive",selector:"main a"},{id:"pricepandaid",logo:"",label:"PricePanda ID",analyticsName:"pricepandaid",hostname:"pricepanda.co.id",platform:"responsive",selector:"main a"},{id:"pricepandamy",logo:"",label:"PricePanda MY",analyticsName:"pricepandamy",hostname:"pricepanda.com.my",platform:"responsive",selector:"main a"},{id:"pricepandaph",logo:"",label:"PricePanda PH",analyticsName:"pricepandaph",hostname:"pricepanda.com.ph",platform:"responsive",selector:"main a"},{id:"pricepandasg",logo:"",label:"PricePanda SG",analyticsName:"pricepandasg",hostname:"pricepanda.com.sg",platform:"responsive",selector:"main a"},{id:"pricepandath",logo:"",label:"PricePanda TH",analyticsName:"pricepandath",hostname:"pricepanda.co.th",platform:"responsive",selector:"main a"},Ie,Ne,Ee,De,Re,Ze,Me,Je,qe,Be,Xe,Ye,rt,at,{id:"theradar",logo:"svg/theradar.svg",label:"The Radar",analyticsName:"theradar",hostname:"theradar.com",platform:"responsive",selector:ae},{id:"tomsguide",logo:"svg/tomsguide.svg",label:"Tom's Guide",analyticsName:"tomsguide",hostname:"tomsguide.com",platform:"responsive",selector:`${ae}, ${se}, #widgetArea12 a.visit-site-test`},{id:"tomshardware",logo:"svg/tomshardware.svg",label:"Tom's Hardware",analyticsName:"tomshardware",hostname:"tomshardware.com",platform:"responsive",selector:`${ae}, ${se}`},{id:"toptenreviews",logo:"svg/toptenreviews.svg",label:"Top Ten Reviews",analyticsName:"toptenreviews",hostname:"toptenreviews.com",platform:"responsive",selector:ae},ot,st,{id:"tvtechnology",logo:"svg/tvtech.svg",label:"TV Technology",analyticsName:"tvtechnology",hostname:"tvtechnology.com",platform:"responsive",selector:ae},{id:"whathifi",logo:"svg/whathifi.svg",label:"What Hi-Fi?",analyticsName:"whathifi",hostname:"whathifi.com",platform:"responsive",selector:ae},{id:"whattowatch",logo:"svg/whattowatch.svg",label:"What to watch",analyticsName:"whattowatch",hostname:"whattowatch.com",platform:"responsive",selector:ae},{id:"windowscentral",logo:"svg/windowscentral.svg",label:"Windows Central",analyticsName:"wp",hostname:"windowscentral.com",platform:"responsive",selector:`${ae}, article a`}],...[{id:"theblend",logo:"svg/theblend.svg",label:"The Blend",analyticsName:"theblend",hostname:"theblendjournal.com",platform:"progressive",selector:oe},ve,$e,Se,xe,Oe,Ue,Pe,Ae,je,Le,Ce,Fe,Qe,We,Ke,He,Ge,et,tt,nt,{id:"theweek",logo:"svg/theweek.svg",label:"The Week.com",analyticsName:"theweek",hostname:"theweek.com",platform:"progressive",selector:oe},it,{id:"womanandhome",logo:"svg/womanandhome.svg",label:"Woman and Home",analyticsName:"womanandhome",hostname:"womanandhome.com",platform:"progressive",selector:oe},{id:"wallpaper",logo:"svg/wallpaper.svg",label:"Wallpaper",analyticsName:"wallpaper",hostname:"wallpaper.com",platform:"progressive",selector:`${oe}, .bodyLayer a`},{id:"whowhatwear",logo:"svg/whowhatwear.svg",label:"Whowhatwear",analyticsName:"whowhatwear",hostname:"whowhatwear.com",platform:"progressive",selector:`${oe}, #mainarticle a`},fe,ye,Te,Ve],...[{id:"mbr",logo:"mbr.png",label:"Mountain Bike Rider",analyticsName:"mbr",hostname:"mbr.co.uk",platform:"ti",selector:"#content a"},{id:"mby",logo:"mby.png",label:"Motor Boat & Yachting",analyticsName:"mby",hostname:"mby.com",platform:"ti",selector:"#content a"},{id:"pbo",logo:"pbo.png",label:"Practical Boat Owner",analyticsName:"pbo",hostname:"pbo.co.uk",platform:"ti",selector:"#content a"},{id:"rugbyworld",logo:"rugbyworld.png",label:"Rugby World",analyticsName:"rugbyworld",hostname:"rugbyworld.com",platform:"ti",selector:"#content a"},{id:"yachtingmonthly",logo:"yachtingmonthly.png",label:"Yachting Monthly",analyticsName:"yachtingmonthly",hostname:"yachtingmonthly.com",platform:"ti",selector:"#content a"},{id:"yachtingworld",logo:"svg/yachtingworld.svg",label:"Yachting World",analyticsName:"yachtingworld",hostname:"yachtingworld.com",platform:"ti",selector:"#content a"},{id:"ybw",logo:"ybw.jpg",label:"Yachting & Boating World",analyticsName:"ybw",hostname:"ybw.com",platform:"ti",selector:"#content a"}],...[{id:"practicalcaravan",logo:"svg/practicalcaravan.svg",label:"PracticalCaravan",analyticsName:"practicalcaravan",hostname:"practicalcaravan.com",platform:"practical",selector:"article a"},{id:"practicalmotorhome",logo:"svg/practicalmotorhome.svg",label:"PracticalMotorhome",analyticsName:"practicalmotorhome",hostname:"practicalmotorhome.com",platform:"practical",selector:"article a"}],...[{id:"thefield",analyticsName:"thefield",selector:"#content a",logo:"",label:"The Field",platform:""},_e,{id:"woman",analyticsName:"woman",selector:"",logo:"",label:"Woman",platform:""},{id:"womansown",analyticsName:"womansown",selector:"",logo:"",label:"Woman's Own",platform:""},{id:"whatculture",analyticsName:"whatculture",selector:"a",logo:"",label:"WhatCulture",platform:""}
2,{id:"lamb",analyticsName:"lamb",selector:"",logo:"",label:"Look After My Bills",platform:""},{id:"thereset",analyticsName:"thereset",selector:"",logo:"",label:"The Re|set",platform:""},{id:"rooms",analyticsName:"rooms",selector:"",logo:"",label:"Rooms",platform:""},{id:"countryhandi",analyticsName:"countryhandi",selector:"",logo:"",label:"CountryHomesandInteriors",platform:""},{id:"getcomputeractive",analyticsName:"getcomputeractive",selector:"",logo:"",label:"Computer Active",platform:""},{id:"gocompare",analyticsName:"gocompare",selector:"",logo:"",label:"Go.Compare",platform:""},{id:"itproportal",analyticsName:"itproportal",selector:"",logo:"",label:"IT Pro Portal",platform:""},{id:"pcpro",analyticsName:"pcpro",selector:"",logo:"",label:"PC Pro",platform:""},{id:"shootinguk",analyticsName:"shootinguk",selector:"",logo:"",label:"ShootingUK",platform:""},{id:"cucina",analyticsName:"cucina",selector:"",logo:"",label:"Cucina",platform:""},{id:"themoneyedit",analyticsName:"themoneyedit",selector:"",logo:"",label:"The Money Edit",platform:""},{id:"theprivacylab",analyticsName:"theprivacylab",selector:"",logo:"",label:"The Privacy Lab",platform:""},{id:"thrifter",analyticsName:"thrifter",selector:"",logo:"",label:"Thrifter",platform:""},{id:"truly",analyticsName:"truly",selector:"",logo:"",label:"Truly",platform:""}]].sort((e,t)=>e.label<t.label?-1:1),ct={id:"hawk",logo:"",label:"",analyticsName:"hawk",platform:"",selector:"a"},lt=({requestedSite:e,href:t,keywords:n})=>{s()||void 0===window.hawk_force_url||(t=window.hawk_force_url);const r=(({requestedSite:e,href:t})=>{if(e)return[t=>e.toLowerCase()===t.id];if(t){const e=new(re())(t),n=e.hostname(),r=e.path();return[e=>r.includes(`/${e.id}/`),e=>new RegExp(`preview.vanilla.tools/[^/]+/${e.id}`).test(t),e=>void 0!==e.path&&void 0!==e.hostname&&n.includes(e.hostname)&&r.startsWith(e.path),e=>void 0!==e.hostname&&n.includes(e.hostname),e=>void 0!==e.hostnameStage&&ie(t)===e.hostnameStage]}return[]})({requestedSite:e,href:t}),i=r.reduce((e,t)=>e||ut.find(e=>t(e)),void 0)??ct;return i===ot&&n?.includes("TRBC")?st:i},dt=()=>!s()&&window.hawk_search_api_endpoint?window.hawk_search_api_endpoint:"https://search-api.fie.futurecdn.net";Object.freeze({status:"aborted"});function mt(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,"_zod",{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);const i=o.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){const t=a[e];t in n||(n[t]=i[t].bind(n))}}const i=n?.Parent??Object;class a extends i{}function o(e){var t;const i=n?.Parent?new a:this;r(i,e),(t=i._zod).deferred??(t.deferred=[]);for(const e of i._zod.deferred)e();return i}return Object.defineProperty(a,"name",{value:e}),Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>!!(n?.Parent&&t instanceof n.Parent)||t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}Symbol("zod_brand");class pt extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class ft extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}const gt={};function ht(e){return e&&Object.assign(gt,e),gt}function vt(e){const t=Object.values(e).filter(e=>"number"==typeof e);return Object.entries(e).filter(([e,n])=>-1===t.indexOf(+e)).map(([e,t])=>t)}function yt(e,t="|"){return e.map(e=>Lt(e)).join(t)}function bt(e,t){return"bigint"==typeof t?t.toString():t}function _t(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function $t(e){return null==e}function kt(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}const wt=Symbol("evaluating");function It(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==wt)return void 0===r&&(r=wt,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function St(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function xt(...e){const t={};for(const n of e){const e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function zt(e){return JSON.stringify(e)}const Ot="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Ut(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}const Pt=_t(()=>{if("undefined"!=typeof navigator&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(e){return!1}});function Nt(e){if(!1===Ut(e))return!1;const t=e.constructor;if(void 0===t)return!0;
vendor: 10,825 bytes, line 2
2if("function"!=typeof t)return!0;const n=t.prototype;return!1!==Ut(n)&&!1!==Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")}function Et(e){return Nt(e)?{...e}:Array.isArray(e)?[...e]:e}const Dt=new Set(["string","number","symbol"]),At=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Tt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function jt(e,t,n){const r=new e._zod.constr(t??e._zod.def);return t&&!n?.parent||(r._zod.parent=e),r}function Rt(e){const t=e;if(!t)return{};if("string"==typeof t)return{error:()=>t};if(void 0!==t?.message){if(void 0!==t?.error)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,"string"==typeof t.error?{...t,error:()=>t.error}:t}function Lt(e){return"bigint"==typeof e?e.toString()+"n":"string"==typeof e?`"${e}"`:`${e}`}const Ct={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Zt={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Mt(e,t=0){if(!0===e.aborted)return!0;for(let n=t;n<e.issues.length;n++)if(!0!==e.issues[n]?.continue)return!0;return!1}function Ft(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function Jt(e){return"string"==typeof e?e:e?.message}function Qt(e,t,n){const r={...e,path:e.path??[]};if(!e.message){const i=Jt(e.inst?._zod.def?.error?.(e))??Jt(t?.error?.(e))??Jt(n.customError?.(e))??Jt(n.localeError?.(e))??"Invalid input";r.message=i}return delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function Wt(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function Gt(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}function qt(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(null===e)return"null";if(Array.isArray(e))return"array";const t=e;if(t&&Object.getPrototypeOf(t)!==Object.prototype&&"constructor"in t&&t.constructor)return t.constructor.name}}return t}function Vt(...e){const[t,n,r]=e;return"string"==typeof t?{message:t,code:"custom",input:n,inst:r}:{...t}}const Kt=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,bt,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Ht=mt("$ZodError",Kt),Bt=mt("$ZodError",Kt,{Parent:Error});const Xt=e=>(t,n,r,i)=>{const a=r?Object.assign(r,{async:!1}):{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new pt;if(o.issues.length){const t=new(i?.Err??e)(o.issues.map(e=>Qt(e,a,ht())));throw Ot(t,i?.callee),t}return o.value},Yt=Xt(Bt),en=e=>async(t,n,r,i)=>{const a=r?Object.assign(r,{async:!0}):{async:!0};let o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){const t=new(i?.Err??e)(o.issues.map(e=>Qt(e,a,ht())));throw Ot(t,i?.callee),t}return o.value},tn=en(Bt),nn=e=>(t,n,r)=>{const i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new pt;return a.issues.length?{success:!1,error:new(e??Ht)(a.issues.map(e=>Qt(e,i,ht())))}:{success:!0,data:a.value}},rn=nn(Bt),an=e=>async(t,n,r)=>{const i=r?Object.assign(r,{async:!0}):{async:!0};let a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>Qt(e,i,ht())))}:{success:!0,data:a.value}},on=an(Bt),sn=e=>(t,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return Xt(e)(t,n,i)},un=e=>(t,n,r)=>Xt(e)(t,n,r),cn=e=>async(t,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return en(e)(t,n,i)},ln=e=>async(t,n,r)=>en(e)(t,n,r),dn=e=>(t,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return nn(e)(t,n,i)},mn=e=>(t,n,r)=>nn(e)(t,n,r),pn=e=>async(t,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return an(e)(t,n,i)},fn=e=>async(t,n,r)=>an(e)(t,n,r),gn=/^[cC][^\s-]{8,}$/,hn=/^[0-9a-z]+$/,vn=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,yn=/^[0-9a-vA-V]{20}$/,bn=/^[A-Za-z0-9]{27}$/,_n=/^[a-zA-Z0-9_-]{21}$/,$n=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,kn=/^[-+]?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)?)??$/,wn=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,In=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,Sn=In(4),xn=In(6),zn=In(7),On=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Un=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Pn=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,Nn=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,En=Nn,Dn=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function An(){return new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")}const Tn=/^(?:(?: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])$/,jn=/^(([0-9a-fA-F]{1,4}:){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}|:))$/,Rn=e=>{const t=Tt(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},Ln=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Cn=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Zn=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Mn=/^[A-Za-z0-9_-]*$/,Fn=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,Jn=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,Qn=/^\+[1-9]\d{6,14}$/,Wn="(?:(?:\\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])))",Gn=new RegExp(`^${Wn}$`);function qn(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return"number"==typeof e.precision?-1===e.precision?`${t}`:0===e.precision?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Vn(e){return new RegExp(`^${qn(e)}$`)}function Kn(e){const t=qn({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const r=`${t}(?:${n.join("|")})`;return new RegExp(`^${Wn}T(?:${r})$`)}const Hn=e=>new RegExp(`^${e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*"}$`),Bn=/^-?\d+n?$/,Xn=/^-?\d+$/,Yn=/^-?\d+(?:\.\d+)?$/,er=/^(?:true|false)$/i,tr=/^null$/i,nr=/^undefined$/i,rr=/^[^A-Z]*$/,ir=/^[^a-z]*$/,ar=/^[0-9a-fA-F]*$/;function or(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function sr(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}const ur=/^[0-9a-fA-F]{32}$/,cr=or(22,"=="),lr=sr(22),dr=/^[0-9a-fA-F]{40}$/,mr=or(27,"="),pr=sr(27),fr=/^[0-9a-fA-F]{64}$/,gr=or(43,"="),hr=sr(43),vr=/^[0-9a-fA-F]{96}$/,yr=or(64,""),br=sr(64),_r=/^[0-9a-fA-F]{128}$/,$r=or(86,"=="),kr=sr(86),wr=mt("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Ir={number:"number",bigint:"bigint",object:"date"},Sr=mt("$ZodCheckLessThan",(e,t)=>{wr.init(e,t);const n=Ir[typeof t.value];e._zod.onattach.push(e=>{const n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:"too_big",maximum:"object"==typeof t.value?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),xr=mt("$ZodCheckGreaterThan",(e,t)=>{wr.init(e,t);const n=Ir[typeof t.value];e._zod.onattach.push(e=>{const n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:"too_small",minimum:"object"==typeof t.value?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),zr=mt("$ZodCheckMultipleOf",(e,t)=>{wr.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");("bigint"==typeof n.value?n.value%t.value===BigInt(0):0===function(e,t){const n=(e.toString().split(".")[1]||"").length,r=t.toString();let i=(r.split(".")[1]||"").length;if(0===i&&/\d?e-\d?/.test(r)){const e=r.match(/\d?e-(\d?)/);e?.[1]&&(i=Number.parseInt(e[1]))}const a=n>i?n:i;return Number.parseInt(e.toFixed(a).replace(".",""))%Number.parseInt(t.toFixed(a).replace(".",""))/10**a}(n.value,t.value))||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),Or=mt("$ZodCheckNumberFormat",(e,t)=>{wr.init(e,t),t.format=t.format||"float64";const n=t.format?.includes("int"),r=n?"int":"number",[i,a]=Ct[t.format];e._zod.onattach.push(e=>{const r=e._zod.bag;r.format=t.format,r.minimum=i,r.maximum=a,n&&(r.pattern=Xn)}),e._zod.check=o=>{const s=o.value;if(n){if(!Number.isInteger(s))return void o.issues.push({expected:r,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});if(!Number.isSafeInteger(s))return void(s>
20?o.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort}))}s<i&&o.issues.push({origin:"number",input:s,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:"number",input:s,code:"too_big",maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),Ur=mt("$ZodCheckBigIntFormat",(e,t)=>{wr.init(e,t);const[n,r]=Zt[t.format];e._zod.onattach.push(e=>{const i=e._zod.bag;i.format=t.format,i.minimum=n,i.maximum=r}),e._zod.check=i=>{const a=i.value;a<n&&i.issues.push({origin:"bigint",input:a,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),a>r&&i.issues.push({origin:"bigint",input:a,code:"too_big",maximum:r,inclusive:!0,inst:e,continue:!t.abort})}}),Pr=mt("$ZodCheckMaxSize",(e,t)=>{var n;wr.init(e,t),(n=e._zod.def).when??(n.when=e=>{const t=e.value;return!$t(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{const n=e._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{const r=n.value;r.size<=t.maximum||n.issues.push({origin:Wt(r),code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Nr=mt("$ZodCheckMinSize",(e,t)=>{var n;wr.init(e,t),(n=e._zod.def).when??(n.when=e=>{const t=e.value;return!$t(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{const n=e._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{const r=n.value;r.size>=t.minimum||n.issues.push({origin:Wt(r),code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Er=mt("$ZodCheckSizeEquals",(e,t)=>{var n;wr.init(e,t),(n=e._zod.def).when??(n.when=e=>{const t=e.value;return!$t(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{const n=e._zod.bag;n.minimum=t.size,n.maximum=t.size,n.size=t.size}),e._zod.check=n=>{const r=n.value,i=r.size;if(i===t.size)return;const a=i>t.size;n.issues.push({origin:Wt(r),...a?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Dr=mt("$ZodCheckMaxLength",(e,t)=>{var n;wr.init(e,t),(n=e._zod.def).when??(n.when=e=>{const t=e.value;return!$t(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{const n=e._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{const r=n.value;if(r.length<=t.maximum)return;const i=Gt(r);n.issues.push({origin:i,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Ar=mt("$ZodCheckMinLength",(e,t)=>{var n;wr.init(e,t),(n=e._zod.def).when??(n.when=e=>{const t=e.value;return!$t(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{const n=e._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{const r=n.value;if(r.length>=t.minimum)return;const i=Gt(r);n.issues.push({origin:i,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Tr=mt("$ZodCheckLengthEquals",(e,t)=>{var n;wr.init(e,t),(n=e._zod.def).when??(n.when=e=>{const t=e.value;return!$t(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{const n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{const r=n.value,i=r.length;if(i===t.length)return;const a=Gt(r),o=i>t.length;n.issues.push({origin:a,...o?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),jr=mt("$ZodCheckStringFormat",(e,t)=>{var n,r;wr.init(e,t),e._zod.onattach.push(e=>{const n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??(n.patterns=new Set),n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:"string",code:"invalid_format",format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),Rr=mt("$ZodCheckRegex",(e,t)=>{jr.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Lr=mt("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=rr),jr.init(e,t)}),Cr=mt("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=ir),jr.init(e,t)}),Zr=mt("$ZodCheckIncludes",(e,t)=>{wr.init(e,t);const n=Tt(t.includes),r=new RegExp("number"==typeof t.position?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{const t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=n=>
2{n.value.includes(t.includes,t.position)||n.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),Mr=mt("$ZodCheckStartsWith",(e,t)=>{wr.init(e,t);const n=new RegExp(`^${Tt(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(e=>{const t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),Fr=mt("$ZodCheckEndsWith",(e,t)=>{wr.init(e,t);const n=new RegExp(`.*${Tt(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(e=>{const t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}});function Jr(e,t,n){e.issues.length&&t.issues.push(...Ft(n,e.issues))}const Qr=mt("$ZodCheckProperty",(e,t)=>{wr.init(e,t),e._zod.check=e=>{const n=t.schema._zod.run({value:e.value[t.property],issues:[]},{});if(n instanceof Promise)return n.then(n=>Jr(n,e,t.property));Jr(n,e,t.property)}}),Wr=mt("$ZodCheckMimeType",(e,t)=>{wr.init(e,t);const n=new Set(t.mime);e._zod.onattach.push(e=>{e._zod.bag.mime=t.mime}),e._zod.check=r=>{n.has(r.value.type)||r.issues.push({code:"invalid_value",values:t.mime,input:r.value.type,inst:e,continue:!t.abort})}}),Gr=mt("$ZodCheckOverwrite",(e,t)=>{wr.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}});class qr{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if("function"==typeof e)return e(this,{execution:"sync"}),void e(this,{execution:"async"});const t=e.split("\n").filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>" ".repeat(2*this.indent)+e);for(const e of r)this.content.push(e)}compile(){const e=Function,t=this?.args;return new e(...t,[...(this?.content??[""]).map(e=>`  ${e}`)].join("\n"))}}const Vr={major:4,minor:3,patch:6},Kr=mt("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Vr;const r=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&r.unshift(e);for(const t of r)for(const n of t._zod.onattach)n(e);if(0===r.length)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const t=(e,t,n)=>{let r,i=Mt(e);for(const a of t){if(a._zod.def.when){if(!a._zod.def.when(e))continue}else if(i)continue;const t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&!1===n?.async)throw new pt;if(r||o instanceof Promise)r=(r??Promise.resolve()).then(async()=>{await o;e.issues.length!==t&&(i||(i=Mt(e,t)))});else{if(e.issues.length===t)continue;i||(i=Mt(e,t))}}return r?r.then(()=>e):e},n=(n,i,a)=>{if(Mt(n))return n.aborted=!0,n;const o=t(i,r,a);if(o instanceof Promise){if(!1===a.async)throw new pt;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>
2{if(a.skipChecks)return e._zod.parse(i,a);if("backward"===a.direction){const t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}const o=e._zod.parse(i,a);if(o instanceof Promise){if(!1===a.async)throw new pt;return o.then(e=>t(e,r,a))}return t(o,r,a)}}It(e,"~standard",()=>({validate:t=>{try{const n=rn(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch(n){return on(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:"zod",version:1}))}),Hr=mt("$ZodString",(e,t)=>{Kr.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Hn(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch(r){}return"string"==typeof n.value||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),Br=mt("$ZodStringFormat",(e,t)=>{jr.init(e,t),Hr.init(e,t)}),Xr=mt("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=wn),Br.init(e,t)}),Yr=mt("$ZodUUID",(e,t)=>{if(t.version){const e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(void 0===e)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=In(e))}else t.pattern??(t.pattern=In());Br.init(e,t)}),ei=mt("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=On),Br.init(e,t)}),ti=mt("$ZodURL",(e,t)=>{Br.init(e,t),e._zod.check=n=>{try{const r=n.value.trim(),i=new URL(r);return t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),void(t.normalize?n.value=i.href:n.value=r)}catch(r){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),ni=mt("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=An()),Br.init(e,t)}),ri=mt("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=_n),Br.init(e,t)}),ii=mt("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=gn),Br.init(e,t)}),ai=mt("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=hn),Br.init(e,t)}),oi=mt("$ZodULID",(e,t)=>{t.pattern??(t.pattern=vn),Br.init(e,t)}),si=mt("$ZodXID",(e,t)=>{t.pattern??(t.pattern=yn),Br.init(e,t)}),ui=mt("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=bn),Br.init(e,t)}),ci=mt("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=Kn(t)),Br.init(e,t)}),li=mt("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=Gn),Br.init(e,t)}),di=mt("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Vn(t)),Br.init(e,t)}),mi=mt("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=$n),Br.init(e,t)}),pi=mt("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=Tn),Br.init(e,t),e._zod.bag.format="ipv4"}),fi=mt("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=jn),Br.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),gi=mt("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=Rn(t.delimiter)),Br.init(e,t),e._zod.bag.format="mac"}),hi=mt("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=Ln),Br.init(e,t)}),vi=mt("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=Cn),Br.init(e,t),e._zod.check=n=>{const r=n.value.split("/");try{if(2!==r.length)throw new Error;const[e,t]=r;if(!t)throw new Error;const n=Number(t);if(`${n}`!==t)throw new Error;if(n<0||n>128)throw new Error;new URL(`http://[${e}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function yi(e){if(""===e)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}const bi=mt("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=Zn),Br.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{yi(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});const _i=mt("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=Mn),Br.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{(function(e){if(!Mn.test(e))return!1;const t=e.replace(/[-_]/g,e=>"-"===e?"+":"/");return yi(t.padEnd(4*Math.ceil(t.length/4),"="))})(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),$i=mt("$ZodE164",(e,t)=>{t.pattern??(t.pattern=Qn),Br.init(e,t)});const ki=mt("$ZodJWT",(e,t)=>{Br.init(e,t),e._zod.check=n=>{(function(e,t=null){try{const n=e.split(".");if(3!==n.length)return!1;const[r]=n;if(!r)return!1;const i=JSON.parse(atob(r));
2return!("typ"in i&&"JWT"!==i?.typ||!i.alg||t&&(!("alg"in i)||i.alg!==t))}catch{return!1}})(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),wi=mt("$ZodCustomStringFormat",(e,t)=>{Br.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:"invalid_format",format:t.format,input:n.value,inst:e,continue:!t.abort})}}),Ii=mt("$ZodNumber",(e,t)=>{Kr.init(e,t),e._zod.pattern=e._zod.bag.pattern??Yn,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch(e){}const i=n.value;if("number"==typeof i&&!Number.isNaN(i)&&Number.isFinite(i))return n;const a="number"==typeof i?Number.isNaN(i)?"NaN":Number.isFinite(i)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:i,inst:e,...a?{received:a}:{}}),n}}),Si=mt("$ZodNumberFormat",(e,t)=>{Or.init(e,t),Ii.init(e,t)}),xi=mt("$ZodBoolean",(e,t)=>{Kr.init(e,t),e._zod.pattern=er,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Boolean(n.value)}catch(e){}const i=n.value;return"boolean"==typeof i||n.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:e}),n}}),zi=mt("$ZodBigInt",(e,t)=>{Kr.init(e,t),e._zod.pattern=Bn,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=BigInt(n.value)}catch(e){}return"bigint"==typeof n.value||n.issues.push({expected:"bigint",code:"invalid_type",input:n.value,inst:e}),n}}),Oi=mt("$ZodBigIntFormat",(e,t)=>{Ur.init(e,t),zi.init(e,t)}),Ui=mt("$ZodSymbol",(e,t)=>{Kr.init(e,t),e._zod.parse=(t,n)=>{const r=t.value;return"symbol"==typeof r||t.issues.push({expected:"symbol",code:"invalid_type",input:r,inst:e}),t}}),Pi=mt("$ZodUndefined",(e,t)=>{Kr.init(e,t),e._zod.pattern=nr,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(t,n)=>{const r=t.value;return void 0===r||t.issues.push({expected:"undefined",code:"invalid_type",input:r,inst:e}),t}}),Ni=mt("$ZodNull",(e,t)=>{Kr.init(e,t),e._zod.pattern=tr,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{const r=t.value;return null===r||t.issues.push({expected:"null",code:"invalid_type",input:r,inst:e}),t}}),Ei=mt("$ZodAny",(e,t)=>{Kr.init(e,t),e._zod.parse=e=>e}),Di=mt("$ZodUnknown",(e,t)=>{Kr.init(e,t),e._zod.parse=e=>e}),Ai=mt("$ZodNever",(e,t)=>{Kr.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)}),Ti=mt("$ZodVoid",(e,t)=>{Kr.init(e,t),e._zod.parse=(t,n)=>{const r=t.value;return void 0===r||t.issues.push({expected:"void",code:"invalid_type",input:r,inst:e}),t}}),ji=mt("$ZodDate",(e,t)=>{Kr.init(e,t),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=new Date(n.value)}catch(e){}const i=n.value,a=i instanceof Date;return a&&!Number.isNaN(i.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:i,...a?{received:"Invalid Date"}:{},inst:e}),n}});function Ri(e,t,n){e.issues.length&&t.issues.push(...Ft(n,e.issues)),t.value[n]=e.value}const Li=mt("$ZodArray",(e,t)=>{Kr.init(e,t),e._zod.parse=(n,r)=>{const i=n.value;if(!Array.isArray(i))return n.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),n;n.value=Array(i.length);const a=[];for(let e=0;e<i.length;e++){const o=i[e],s=t.element._zod.run({value:o,issues:[]},r);s instanceof Promise?a.push(s.then(t=>Ri(t,n,e))):Ri(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}});function Ci(e,t,n,r,i){if(e.issues.length){if(i&&!(n in r))return;t.issues.push(...Ft(n,e.issues))}void 0===e.value?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function Zi(e){const t=Object.keys(e.shape);for(const n of t)if(!e.shape?.[n]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${n}": expected a Zod schema`);const n=(r=e.shape,Object.keys(r).filter(e=>"optional"===r[e]._zod.optin&&"optional"===r[e]._zod.optout));var r;return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function Mi(e,t,n,r,i,a){const o=[],s=i.keySet,u=i.catchall._zod,c=u.def.type,l="optional"===u.optout;for(const i in t){if(s.has(i))continue;if("never"===c){o.push(i);continue}const a=u.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>Ci(e,n,i,t,l))):Ci(a,n,i,t,l)}return o.length&&n.issues.push({code:"unrecognized_keys",keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>n):n}const Fi=mt("$ZodObject",(e,t)=>{Kr.init(e,t);const n=Object.getOwnPropertyDescriptor(t,"shape");if(!n?.get){const e=t.shape;Object.defineProperty(t,"shape",{get:()=>{const n={...e};return Object.defineProperty(t,"shape",{value:n}),n}})}const r=_t(()=>Zi(t));It(e._zod,"propValues",()=>{const e=t.shape,n={};for(const t in e){const r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(const e of r.values)n[t].add(e)}}return n});const i=Ut,a=t.catchall;let o;e._zod.parse=(t,n)=>{o??(o=r.value);const s=t.value;if(!i(s))return t.issues.push({expected:"object",code:"invalid_type",input:s,inst:e}),t;t.value={};const u=[],c=o.shape;for(const e of o.keys){const r=c[e],i="optional"===r._zod.optout,a=r._zod.run({value:s[e],issues:[]},n);a instanceof Promise?u.push(a.then(n=>Ci(n,t,e,s,i))):Ci(a,t,e,s,i)}return a?Mi(u,s,t,n,r.value,e):u.length?Promise.all(u).then(()=>t):t}}),Ji=mt("$ZodObjectJIT",(e,t)=>{Fi.init(e,t);const n=e._zod.parse,r=_t(()=>Zi(t));let i;const a=Ut,o=!gt.jitless,s=o&&Pt.value,u=t.catchall;let c;e._zod.parse=(l,d)=>{c??(c=r.value);const m=l.value;
2return a(m)?o&&s&&!1===d?.async&&!0!==d.jitless?(i||(i=(e=>{const t=new qr(["shape","payload","ctx"]),n=r.value,i=e=>{const t=zt(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write("const input = payload.value;");const a=Object.create(null);let o=0;for(const e of n.keys)a[e]="key_"+o++;t.write("const newResult = {};");for(const r of n.keys){const n=a[r],o=zt(r),s=e[r],u="optional"===s?._zod?.optout;t.write(`const ${n} = ${i(r)};`),u?t.write(`\n        if (${n}.issues.length) {\n          if (${o} in input) {\n            payload.issues = payload.issues.concat(${n}.issues.map(iss => ({\n              ...iss,\n              path: iss.path ? [${o}, ...iss.path] : [${o}]\n            })));\n          }\n        }\n        \n        if (${n}.value === undefined) {\n          if (${o} in input) {\n            newResult[${o}] = undefined;\n          }\n        } else {\n          newResult[${o}] = ${n}.value;\n        }\n        \n      `):t.write(`\n        if (${n}.issues.length) {\n          payload.issues = payload.issues.concat(${n}.issues.map(iss => ({\n            ...iss,\n            path: iss.path ? [${o}, ...iss.path] : [${o}]\n          })));\n        }\n        \n        if (${n}.value === undefined) {\n          if (${o} in input) {\n            newResult[${o}] = undefined;\n          }\n        } else {\n          newResult[${o}] = ${n}.value;\n        }\n        \n      `)}t.write("payload.value = newResult;"),t.write("return payload;");const s=t.compile();return(t,n)=>s(e,t,n)})(t.shape)),l=i(l,d),u?Mi([],m,l,d,c,e):l):n(l,d):(l.issues.push({expected:"object",code:"invalid_type",input:m,inst:e}),l)}});function Qi(e,t,n,r){for(const n of e)if(0===n.issues.length)return t.value=n.value,t;const i=e.filter(e=>!Mt(e));return 1===i.length?(t.value=i[0].value,i[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>Qt(e,r,ht())))}),t)}const Wi=mt("$ZodUnion",(e,t)=>{Kr.init(e,t),It(e._zod,"optin",()=>t.options.some(e=>"optional"===e._zod.optin)?"optional":void 0),It(e._zod,"optout",()=>t.options.some(e=>"optional"===e._zod.optout)?"optional":void 0),It(e._zod,"values",()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),It(e._zod,"pattern",()=>{if(t.options.every(e=>e._zod.pattern)){const e=t.options.map(e=>e._zod.pattern);return new RegExp(`^(${e.map(e=>kt(e.source)).join("|")})$`)}});const n=1===t.options.length,r=t.options[0]._zod.run;e._zod.parse=(i,a)=>{if(n)return r(i,a);let o=!1;const s=[];for(const e of t.options){const t=e._zod.run({value:i.value,issues:[]},a);if(t instanceof Promise)s.push(t),o=!0;else{if(0===t.issues.length)return t;s.push(t)}}return o?Promise.all(s).then(t=>Qi(t,i,e,a)):Qi(s,i,e,a)}});function Gi(e,t,n,r){const i=e.filter(e=>0===e.issues.length);return 1===i.length?(t.value=i[0].value,t):(0===i.length?t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>Qt(e,r,ht())))}):t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:[],inclusive:!1}),t)}const qi=mt("$ZodXor",(e,t)=>{Wi.init(e,t),t.inclusive=!1;const n=1===t.options.length,r=t.options[0]._zod.run;e._zod.parse=(i,a)=>{if(n)return r(i,a);let o=!1;const s=[];for(const e of t.options){const t=e._zod.run({value:i.value,issues:[]},a);t instanceof Promise?(s.push(t),o=!0):s.push(t)}return o?Promise.all(s).then(t=>Gi(t,i,e,a)):Gi(s,i,e,a)}}),Vi=mt("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,Wi.init(e,t);const n=e._zod.parse;It(e._zod,"propValues",()=>{const e={};for(const n of t.options){const r=n._zod.propValues;if(!r||0===Object.keys(r).length)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);for(const[t,n]of Object.entries(r)){e[t]||(e[t]=new Set);for(const r of n)e[t].add(r)}}return e});const r=_t(()=>{const e=t.options,n=new Map;for(const r of e){const e=r._zod.propValues?.[t.discriminator];if(!e||0===e.size)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);for(const t of e){if(n.has(t))throw new Error(`Duplicate discriminator value "${String(t)}"`);n.set(t,r)}}return n});e._zod.parse=(i,a)=>{const o=i.value;if(!Ut(o))return i.issues.push({code:"invalid_type",expected:"object",input:o,inst:e}),i;const s=r.value.get(o?.[t.discriminator]);return s?s._zod.run(i,a):t.unionFallback?n(i,a):(i.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:o,path:[t.discriminator],inst:e}),i)}}),Ki=mt("$ZodIntersection",(e,t)=>{Kr.init(e,t),e._zod.parse=(e,n)=>{const r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]
2).then(([t,n])=>Bi(e,t,n)):Bi(e,i,a)}});function Hi(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e===+t)return{valid:!0,data:e};if(Nt(e)&&Nt(t)){const n=Object.keys(t),r=Object.keys(e).filter(e=>-1!==n.indexOf(e)),i={...e,...t};for(const n of r){const r=Hi(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let r=0;r<e.length;r++){const i=Hi(e[r],t[r]);if(!i.valid)return{valid:!1,mergeErrorPath:[r,...i.mergeErrorPath]};n.push(i.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Bi(e,t,n){const r=new Map;let i;for(const n of t.issues)if("unrecognized_keys"===n.code){i??(i=n);for(const e of n.keys)r.has(e)||r.set(e,{}),r.get(e).l=!0}else e.issues.push(n);for(const t of n.issues)if("unrecognized_keys"===t.code)for(const e of t.keys)r.has(e)||r.set(e,{}),r.get(e).r=!0;else e.issues.push(t);const a=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&i&&e.issues.push({...i,keys:a}),Mt(e))return e;const o=Hi(t.value,n.value);if(!o.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}const Xi=mt("$ZodTuple",(e,t)=>{Kr.init(e,t);const n=t.items;e._zod.parse=(r,i)=>{const a=r.value;if(!Array.isArray(a))return r.issues.push({input:a,inst:e,expected:"tuple",code:"invalid_type"}),r;r.value=[];const o=[],s=[...n].reverse().findIndex(e=>"optional"!==e._zod.optin),u=-1===s?0:n.length-s;if(!t.rest){const t=a.length>n.length,i=a.length<u-1;if(t||i)return r.issues.push({...t?{code:"too_big",maximum:n.length,inclusive:!0}:{code:"too_small",minimum:n.length},input:a,inst:e,origin:"array"}),r}let c=-1;for(const e of n){if(c++,c>=a.length&&c>=u)continue;const t=e._zod.run({value:a[c],issues:[]},i);t instanceof Promise?o.push(t.then(e=>Yi(e,r,c))):Yi(t,r,c)}if(t.rest){const e=a.slice(n.length);for(const n of e){c++;const e=t.rest._zod.run({value:n,issues:[]},i);e instanceof Promise?o.push(e.then(e=>Yi(e,r,c))):Yi(e,r,c)}}return o.length?Promise.all(o).then(()=>r):r}});function Yi(e,t,n){e.issues.length&&t.issues.push(...Ft(n,e.issues)),t.value[n]=e.value}const ea=mt("$ZodRecord",(e,t)=>{Kr.init(e,t),e._zod.parse=(n,r)=>{const i=n.value;if(!Nt(i))return n.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),n;const a=[],o=t.keyType._zod.values;if(o){n.value={};const s=new Set;for(const e of o)if("string"==typeof e||"number"==typeof e||"symbol"==typeof e){s.add("number"==typeof e?e.toString():e);const o=t.valueType._zod.run({value:i[e],issues:[]},r);o instanceof Promise?a.push(o.then(t=>{t.issues.length&&n.issues.push(...Ft(e,t.issues)),n.value[e]=t.value})):(o.issues.length&&n.issues.push(...Ft(e,o.issues)),n.value[e]=o.value)}let u;for(const e in i)s.has(e)||(u=u??[],u.push(e));u&&u.length>0&&n.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:u})}else{n.value={};for(const o of Reflect.ownKeys(i)){if("__proto__"===o)continue;let s=t.keyType._zod.run({value:o,issues:[]},r);if(s instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if("string"==typeof o&&Yn.test(o)&&s.issues.length){const e=t.keyType._zod.run({value:Number(o),issues:[]},r);if(e instanceof Promise)throw new Error("Async schemas not supported in object keys currently");0===e.issues.length&&(s=e)}if(s.issues.length){"loose"===t.mode?n.value[o]=i[o]:n.issues.push({code:"invalid_key",origin:"record",issues:s.issues.map(e=>Qt(e,r,ht())),input:o,path:[o],inst:e});continue}const u=t.valueType._zod.run({value:i[o],issues:[]},r);u instanceof Promise?a.push(u.then(e=>{e.issues.length&&n.issues.push(...Ft(o,e.issues)),n.value[s.value]=e.value})):(u.issues.length&&n.issues.push(...Ft(o,u.issues)),n.value[s.value]=u.value)}}return a.length?Promise.all(a).then(()=>n):n}}),ta=mt("$ZodMap",(e,t)=>{Kr.init(e,t),e._zod.parse=(n,r)=>{const i=n.value;if(!(i instanceof Map))return n.issues.push({expected:"map",code:"invalid_type",input:i,inst:e}),n;const a=[];
2n.value=new Map;for(const[o,s]of i){const u=t.keyType._zod.run({value:o,issues:[]},r),c=t.valueType._zod.run({value:s,issues:[]},r);u instanceof Promise||c instanceof Promise?a.push(Promise.all([u,c]).then(([t,a])=>{na(t,a,n,o,i,e,r)})):na(u,c,n,o,i,e,r)}return a.length?Promise.all(a).then(()=>n):n}});function na(e,t,n,r,i,a,o){e.issues.length&&(Dt.has(typeof r)?n.issues.push(...Ft(r,e.issues)):n.issues.push({code:"invalid_key",origin:"map",input:i,inst:a,issues:e.issues.map(e=>Qt(e,o,ht()))})),t.issues.length&&(Dt.has(typeof r)?n.issues.push(...Ft(r,t.issues)):n.issues.push({origin:"map",code:"invalid_element",input:i,inst:a,key:r,issues:t.issues.map(e=>Qt(e,o,ht()))})),n.value.set(e.value,t.value)}const ra=mt("$ZodSet",(e,t)=>{Kr.init(e,t),e._zod.parse=(n,r)=>{const i=n.value;if(!(i instanceof Set))return n.issues.push({input:i,inst:e,expected:"set",code:"invalid_type"}),n;const a=[];n.value=new Set;for(const e of i){const i=t.valueType._zod.run({value:e,issues:[]},r);i instanceof Promise?a.push(i.then(e=>ia(e,n))):ia(i,n)}return a.length?Promise.all(a).then(()=>n):n}});function ia(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}const aa=mt("$ZodEnum",(e,t)=>{Kr.init(e,t);const n=vt(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=new RegExp(`^(${n.filter(e=>Dt.has(typeof e)).map(e=>"string"==typeof e?Tt(e):e.toString()).join("|")})$`),e._zod.parse=(t,i)=>{const a=t.value;return r.has(a)||t.issues.push({code:"invalid_value",values:n,input:a,inst:e}),t}}),oa=mt("$ZodLiteral",(e,t)=>{if(Kr.init(e,t),0===t.values.length)throw new Error("Cannot create literal schema with no valid values");const n=new Set(t.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map(e=>"string"==typeof e?Tt(e):e?Tt(e.toString()):String(e)).join("|")})$`),e._zod.parse=(r,i)=>{const a=r.value;return n.has(a)||r.issues.push({code:"invalid_value",values:t.values,input:a,inst:e}),r}}),sa=mt("$ZodFile",(e,t)=>{Kr.init(e,t),e._zod.parse=(t,n)=>{const r=t.value;return r instanceof File||t.issues.push({expected:"file",code:"invalid_type",input:r,inst:e}),t}}),ua=mt("$ZodTransform",(e,t)=>{Kr.init(e,t),e._zod.parse=(n,r)=>{if("backward"===r.direction)throw new ft(e.constructor.name);const i=t.transform(n.value,n);if(r.async){return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n))}if(i instanceof Promise)throw new pt;return n.value=i,n}});function ca(e,t){return e.issues.length&&void 0===t?{issues:[],value:void 0}:e}const la=mt("$ZodOptional",(e,t)=>{Kr.init(e,t),e._zod.optin="optional",e._zod.optout="optional",It(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),It(e._zod,"pattern",()=>{const e=t.innerType._zod.pattern;return e?new RegExp(`^(${kt(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if("optional"===t.innerType._zod.optin){const r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>ca(t,e.value)):ca(r,e.value)}return void 0===e.value?e:t.innerType._zod.run(e,n)}}),da=mt("$ZodExactOptional",(e,t)=>{la.init(e,t),It(e._zod,"values",()=>t.innerType._zod.values),It(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),ma=mt("$ZodNullable",(e,t)=>{Kr.init(e,t),It(e._zod,"optin",()=>t.innerType._zod.optin),It(e._zod,"optout",()=>t.innerType._zod.optout),It(e._zod,"pattern",()=>{const e=t.innerType._zod.pattern;return e?new RegExp(`^(${kt(e.source)}|null)$`):void 0}),It(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>null===e.value?e:t.innerType._zod.run(e,n)}),pa=mt("$ZodDefault",(e,t)=>{Kr.init(e,t),e._zod.optin="optional",It(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if("backward"===n.direction)return t.innerType._zod.run(e,n);if(void 0===e.value)return e.value=t.defaultValue,e;const r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>fa(e,t)):fa(r,t)}});function fa(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}const ga=mt("$ZodPrefault",(e,t)=>{Kr.init(e,t),e._zod.optin="optional",It(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>("backward"===n.direction||void 0===e.value&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),ha=mt("$ZodNonOptional",(e,t)=>{Kr.init(e,t),It(e._zod,"values",()=>{const e=t.innerType._zod.values;return e?new Set([...e].filter(e=>void 0!==e)):void 0}),e._zod.parse=(n,r)=>{const i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>va(t,e)):va(i,e)}});function va(e,t){return e.issues.length||void 0!==e.value||e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const ya=mt("$ZodSuccess",(e,t)=>{Kr.init(e,t),e._zod.parse=(e,n)=>{if("backward"===n.direction)throw new ft("ZodSuccess");const r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>(e.value=0===t.issues.length,e)):(e.value=0===r.issues.length,e)}}),ba=mt("$ZodCatch",(e,t)=>{Kr.init(e,t),It(e._zod,"optin",()=>t.innerType._zod.optin),It(e._zod,"optout",()=>t.innerType._zod.optout),It(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if("backward"===n.direction)return t.innerType._zod.run(e,n);const r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Qt(e,n,ht()))},input:e.value}),e.issues=[]),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Qt(e,n,ht()))},input:e.value}),e.issues=[]),e)}}),_a=mt("$ZodNaN",(e,t)=>{Kr.init(e,t),e._zod.parse=(t,n)=>("number"==typeof t.value&&Number.isNaN(t.value)||t.issues.push({input:t.value,inst:e,expected:"nan",code:"invalid_type"}),t)}),$a=mt("$ZodPipe",(e,t)=>{Kr.init(e,t),It(e._zod,"values",()=>t.in._zod.values),It(e._zod,"optin",()=>t.in._zod.optin),It(e._zod,"optout",()=>t.out._zod.optout),It(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if("backward"===n.direction){const r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>ka(e,t.in,n)):ka(r,t.in,n)}const r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>ka(e,t.out,n)):ka(r,t.out,n)}});function ka(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}const wa=mt("$ZodCodec",(e,t)=>{Kr.init(e,t),It(e._zod,"values",()=>t.in._zod.values),It(e._zod,"optin",()=>t.in._zod.optin),It(e._zod,"optout",()=>t.out._zod.optout),It(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if("forward"===(n.direction||"forward")){const r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>Ia(e,t,n)):Ia(r,t,n)}{const r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>Ia(e,t,n)):Ia(r,t,n)}}});
2function Ia(e,t,n){if(e.issues.length)return e.aborted=!0,e;if("forward"===(n.direction||"forward")){const r=t.transform(e.value,e);return r instanceof Promise?r.then(r=>Sa(e,r,t.out,n)):Sa(e,r,t.out,n)}{const r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(r=>Sa(e,r,t.in,n)):Sa(e,r,t.in,n)}}function Sa(e,t,n,r){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},r)}const xa=mt("$ZodReadonly",(e,t)=>{Kr.init(e,t),It(e._zod,"propValues",()=>t.innerType._zod.propValues),It(e._zod,"values",()=>t.innerType._zod.values),It(e._zod,"optin",()=>t.innerType?._zod?.optin),It(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if("backward"===n.direction)return t.innerType._zod.run(e,n);const r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(za):za(r)}});function za(e){return e.value=Object.freeze(e.value),e}const Oa=mt("$ZodTemplateLiteral",(e,t)=>{Kr.init(e,t);const n=[];for(const e of t.parts)if("object"==typeof e&&null!==e){if(!e._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...e._zod.traits].shift()}`);const t=e._zod.pattern instanceof RegExp?e._zod.pattern.source:e._zod.pattern;if(!t)throw new Error(`Invalid template literal part: ${e._zod.traits}`);const r=t.startsWith("^")?1:0,i=t.endsWith("$")?t.length-1:t.length;n.push(t.slice(r,i))}else{if(null!==e&&!At.has(typeof e))throw new Error(`Invalid template literal part: ${e}`);n.push(Tt(`${e}`))}e._zod.pattern=new RegExp(`^${n.join("")}$`),e._zod.parse=(n,r)=>"string"!=typeof n.value?(n.issues.push({input:n.value,inst:e,expected:"string",code:"invalid_type"}),n):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(n.value)||n.issues.push({input:n.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),n)}),Ua=mt("$ZodFunction",(e,t)=>(Kr.init(e,t),e._def=t,e._zod.def=t,e.implement=t=>{if("function"!=typeof t)throw new Error("implement() must be called with a function");return function(...n){const r=e._def.input?Yt(e._def.input,n):n,i=Reflect.apply(t,this,r);return e._def.output?Yt(e._def.output,i):i}},e.implementAsync=t=>{if("function"!=typeof t)throw new Error("implementAsync() must be called with a function");return async function(...n){const r=e._def.input?await tn(e._def.input,n):n,i=await Reflect.apply(t,this,r);return e._def.output?await tn(e._def.output,i):i}},e._zod.parse=(t,n)=>{if("function"!=typeof t.value)return t.issues.push({code:"invalid_type",expected:"function",input:t.value,inst:e}),t;const r=e._def.output&&"promise"===e._def.output._zod.def.type;return t.value=r?e.implementAsync(t.value):e.implement(t.value),t},e.input=(...t)=>{const n=e.constructor;return Array.isArray(t[0])?new n({type:"function",input:new Xi({type:"tuple",items:t[0],rest:t[1]}),output:e._def.output}):new n({type:"function",input:t[0],output:e._def.output})},e.output=t=>new(0,e.constructor)({type:"function",input:e._def.input,output:t}),e)),Pa=mt("$ZodPromise",(e,t)=>{Kr.init(e,t),e._zod.parse=(e,n)=>Promise.resolve(e.value).then(e=>t.innerType._zod.run({value:e,issues:[]},n))}),Na=mt("$ZodLazy",(e,t)=>{Kr.init(e,t),It(e._zod,"innerType",()=>t.getter()),It(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),It(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),It(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),It(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),Ea=mt("$ZodCustom",(e,t)=>{wr.init(e,t),Kr.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{const r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>Da(t,n,r,e));Da(i,n,r,e)}});function Da(e,t,n,r){if(!e){const e={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(Vt(e))}}n.dn(function(){return{localeError:Aa()}});const Aa=()=>{const e={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function t(t){return e[t]??null}const n={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"},r={nan:"NaN"};return e=>
vendor: 21,635 bytes, line 2
2{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`مدخلات غير مقبولة: يفترض إدخال instanceof ${e.expected}، ولكن تم إدخال ${i}`:`مدخلات غير مقبولة: يفترض إدخال ${t}، ولكن تم إدخال ${i}`}case"invalid_value":return 1===e.values.length?`مدخلات غير مقبولة: يفترض إدخال ${Lt(e.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?` أكبر من اللازم: يفترض أن تكون ${e.origin??"القيمة"} ${n} ${e.maximum.toString()} ${r.unit??"عنصر"}`:`أكبر من اللازم: يفترض أن تكون ${e.origin??"القيمة"} ${n} ${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${n} ${e.minimum.toString()} ${r.unit}`:`أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${n} ${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`نَص غير مقبول: يجب أن يبدأ بـ "${e.prefix}"`:"ends_with"===t.format?`نَص غير مقبول: يجب أن ينتهي بـ "${t.suffix}"`:"includes"===t.format?`نَص غير مقبول: يجب أن يتضمَّن "${t.includes}"`:"regex"===t.format?`نَص غير مقبول: يجب أن يطابق النمط ${t.pattern}`:`${n[t.format]??e.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${e.divisor}`;case"unrecognized_keys":return`معرف${e.keys.length>1?"ات":""} غريب${e.keys.length>1?"ة":""}: ${yt(e.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${e.origin}`;case"invalid_union":default:return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${e.origin}`}}};n.dn(function(){return{localeError:Ta()}});const Ta=()=>{const e={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function t(t){return e[t]??null}const n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},r={nan:"NaN"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Yanlış dəyər: gözlənilən instanceof ${e.expected}, daxil olan ${i}`:`Yanlış dəyər: gözlənilən ${t}, daxil olan ${i}`}case"invalid_value":return 1===e.values.length?`Yanlış dəyər: gözlənilən ${Lt(e.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Çox böyük: gözlənilən ${e.origin??"dəyər"} ${n}${e.maximum.toString()} ${r.unit??"element"}`:`Çox böyük: gözlənilən ${e.origin??"dəyər"} ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Çox kiçik: gözlənilən ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`Çox kiçik: gözlənilən ${e.origin} ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Yanlış mətn: "${t.prefix}" ilə başlamalıdır`:"ends_with"===t.format?`Yanlış mətn: "${t.suffix}" ilə bitməlidir`:"includes"===t.format?`Yanlış mətn: "${t.includes}" daxil olmalıdır`:"regex"===t.format?`Yanlış mətn: ${t.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${n[t.format]??e.format}`}case"not_multiple_of":return`Yanlış ədəd: ${e.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${e.keys.length>1?"lar":""}: ${yt(e.keys,", ")}`;case"invalid_key":return`${e.origin} daxilində yanlış açar`;case"invalid_union":default:return"Yanlış dəyər";case"invalid_element":return`${e.origin} daxilində yanlış dəyər`}}};function ja(e,t,n,r){const i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?r:1===a?t:a>=2&&a<=4?n:r}n.dn(function(){return{localeError:Ra()}});const Ra=()=>{const e={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function t(t){return e[t]??null}const n={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"},r={nan:"NaN",number:"лік",array:"масіў"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Няправільны ўвод: чакаўся instanceof ${e.expected}, атрымана ${i}`:`Няправільны ўвод: чакаўся ${t}, атрымана ${i}`}case"invalid_value":return 1===e.values.length?`Няправільны ўвод: чакалася ${Lt(e.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);if(r){const t=ja(Number(e.maximum),r.unit.one,r.unit.few,r.unit.many);return`Занадта вялікі: чакалася, што ${e.origin??"значэнне"} павінна ${r.verb} ${n}${e.maximum.toString()} ${t}`}return`Занадта вялікі: чакалася, што ${e.origin??"значэнне"} павінна быць ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);if(r){const t=ja(Number(e.minimum),r.unit.one,r.unit.few,r.unit.many);return`Занадта малы: чакалася, што ${e.origin} павінна ${r.verb} ${n}${e.minimum.toString()} ${t}`}return`Занадта малы: чакалася, што ${e.origin} павінна быць ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Няправільны радок: павінен пачынацца з "${t.prefix}"`:"ends_with"===t.format?`Няправільны радок: павінен заканчвацца на "${t.suffix}"`:"includes"===t.format?`Няправільны радок: павінен змяшчаць "${t.includes}"`:"regex"===t.format?`Няправільны радок: павінен адпавядаць шаблону ${t.pattern}`:`Няправільны ${n[t.format]??e.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${e.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${e.keys.length>1?"ключы":"ключ"}: ${yt(e.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${e.origin}`;case"invalid_union":default:return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${e.origin}`}}};n.dn(function(){return{localeError:La()}});const La=()=>{const e={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function t(t){return e[t]??null}const n={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",jwt:"JWT",template_literal:"вход"},r={nan:"NaN",number:"число",array:"масив"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Невалиден вход: очакван instanceof ${e.expected}, получен ${i}`:`Невалиден вход: очакван ${t}, получен ${i}`}case"invalid_value":return 1===e.values.length?`Невалиден вход: очакван ${Lt(e.values[0])}`:`Невалидна опция: очаквано едно от ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Твърде голямо: очаква се ${e.origin??"стойност"} да съдържа ${n}${e.maximum.toString()} ${r.unit??"елемента"}`:`Твърде голямо: очаква се ${e.origin??"стойност"} да бъде ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Твърде малко: очаква се ${e.origin} да съдържа ${n}${e.minimum.toString()} ${r.unit}`:`Твърде малко: очаква се ${e.origin} да бъде ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;if("starts_with"===t.format)return`Невалиден низ: трябва да започва с "${t.prefix}"`;if("ends_with"===t.format)return`Невалиден низ: трябва да завършва с "${t.suffix}"`;if("includes"===t.format)return`Невалиден низ: трябва да включва "${t.includes}"`;if("regex"===t.format)return`Невалиден низ: трябва да съвпада с ${t.pattern}`;let r="Невалиден";return"emoji"===t.format&&(r="Невалидно"),"datetime"===t.format&&(r="Невалидно"),"date"===t.format&&(r="Невалидна"),"time"===t.format&&(r="Невалидно"),"duration"===t.format&&(r="Невалидна"),`${r} ${n[t.format]??e.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${e.divisor}`;case"unrecognized_keys":return`Неразпознат${e.keys.length>1?"и":""} ключ${e.keys.length>1?"ове":""}: ${yt(e.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${e.origin}`;case"invalid_union":default:return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${e.origin}`}}};n.dn(function(){return{localeError:Ca()}});const Ca=()=>{const e={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function t(t){return e[t]??null}const n={regex:"entrada",email:"adreça electrònica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adreça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},r={nan:"NaN"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Tipus invàlid: s'esperava instanceof ${e.expected}, s'ha rebut ${i}`:`Tipus invàlid: s'esperava ${t}, s'ha rebut ${i}`}case"invalid_value":return 1===e.values.length?`Valor invàlid: s'esperava ${Lt(e.values[0])}`:`Opció invàlida: s'esperava una de ${yt(e.values," o ")}`;case"too_big":{const n=e.inclusive?"com a màxim":"menys de",r=t(e.origin);return r?`Massa gran: s'esperava que ${e.origin??"el valor"} contingués ${n} ${e.maximum.toString()} ${r.unit??"elements"}`:`Massa gran: s'esperava que ${e.origin??"el valor"} fos ${n} ${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?"com a mínim":"més de",r=t(e.origin);return r?`Massa petit: s'esperava que ${e.origin} contingués ${n} ${e.minimum.toString()} ${r.unit}`:`Massa petit: s'esperava que ${e.origin} fos ${n} ${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Format invàlid: ha de començar amb "${t.prefix}"`:"ends_with"===t.format?`Format invàlid: ha d'acabar amb "${t.suffix}"`:"includes"===t.format?`Format invàlid: ha d'incloure "${t.includes}"`:"regex"===t.format?`Format invàlid: ha de coincidir amb el patró ${t.pattern}`:`Format invàlid per a ${n[t.format]??e.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${e.divisor}`;case"unrecognized_keys":return`Clau${e.keys.length>1?"s":""} no reconeguda${e.keys.length>1?"s":""}: ${yt(e.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${e.origin}`;case"invalid_union":default:return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${e.origin}`}}};n.dn(function(){return{localeError:Za()}});const Za=()=>{const e={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function t(t){return e[t]??null}const n={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"},r={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Neplatný vstup: očekáváno instanceof ${e.expected}, obdrženo ${i}`:`Neplatný vstup: očekáváno ${t}, obdrženo ${i}`}case"invalid_value":return 1===e.values.length?`Neplatný vstup: očekáváno ${Lt(e.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Hodnota je příliš velká: ${e.origin??"hodnota"} musí mít ${n}${e.maximum.toString()} ${r.unit??"prvků"}`:`Hodnota je příliš velká: ${e.origin??"hodnota"} musí být ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Hodnota je příliš malá: ${e.origin??"hodnota"} musí mít ${n}${e.minimum.toString()} ${r.unit??"prvků"}`:`Hodnota je příliš malá: ${e.origin??"hodnota"} musí být ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Neplatný řetězec: musí začínat na "${t.prefix}"`:"ends_with"===t.format?`Neplatný řetězec: musí končit na "${t.suffix}"`:"includes"===t.format?`Neplatný řetězec: musí obsahovat "${t.includes}"`:"regex"===t.format?`Neplatný řetězec: musí odpovídat vzoru ${t.pattern}`:`Neplatný formát ${n[t.format]??e.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${e.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${yt(e.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${e.origin}`;case"invalid_union":default:return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${e.origin}`}}};n.dn(function(){return{localeError:Ma()}});const Ma=()=>{const e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function t(t){return e[t]??null}const n={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslæt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},r={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ugyldigt input: forventede instanceof ${e.expected}, fik ${i}`:`Ugyldigt input: forventede ${t}, fik ${i}`}case"invalid_value":return 1===e.values.length?`Ugyldig værdi: forventede ${Lt(e.values[0])}`:`Ugyldigt valg: forventede en af følgende ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",i=t(e.origin),a=r[e.origin]??e.origin;return i?`For stor: forventede ${a??"value"} ${i.verb} ${n} ${e.maximum.toString()} ${i.unit??"elementer"}`:`For stor: forventede ${a??"value"} havde ${n} ${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",i=t(e.origin),a=r[e.origin]??e.origin;return i?`For lille: forventede ${a} ${i.verb} ${n} ${e.minimum.toString()} ${i.unit}`:`For lille: forventede ${a} havde ${n} ${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Ugyldig streng: skal starte med "${t.prefix}"`:"ends_with"===t.format?`Ugyldig streng: skal ende med "${t.suffix}"`:"includes"===t.format?`Ugyldig streng: skal indeholde "${t.includes}"`:"regex"===t.format?`Ugyldig streng: skal matche mønsteret ${t.pattern}`:`Ugyldig ${n[t.format]??e.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${e.divisor}`;case"unrecognized_keys":return`${e.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${yt(e.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${e.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${e.origin}`;default:return"Ugyldigt input"}}};n.dn(function(){return{localeError:Fa()}});const Fa=()=>{const e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function t(t){return e[t]??null}const n={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},r={nan:"NaN",number:"Zahl",array:"Array"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ungültige Eingabe: erwartet instanceof ${e.expected}, erhalten ${i}`:`Ungültige Eingabe: erwartet ${t}, erhalten ${i}`}case"invalid_value":return 1===e.values.length?`Ungültige Eingabe: erwartet ${Lt(e.values[0])}`:`Ungültige Option: erwartet eine von ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Zu groß: erwartet, dass ${e.origin??"Wert"} ${n}${e.maximum.toString()} ${r.unit??"Elemente"} hat`:`Zu groß: erwartet, dass ${e.origin??"Wert"} ${n}${e.maximum.toString()} ist`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ${r.unit} hat`:`Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ist`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Ungültiger String: muss mit "${t.prefix}" beginnen`:"ends_with"===t.format?`Ungültiger String: muss mit "${t.suffix}" enden`:"includes"===t.format?`Ungültiger String: muss "${t.includes}" enthalten`:"regex"===t.format?`Ungültiger String: muss dem Muster ${t.pattern} entsprechen`:`Ungültig: ${n[t.format]??e.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${e.divisor} sein`;case"unrecognized_keys":return`${e.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${yt(e.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${e.origin}`;case"invalid_union":default:return"Ungültige Eingabe";
2case"invalid_element":return`Ungültiger Wert in ${e.origin}`}}};n.dn(Qa);const Ja=()=>{const e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(t){return e[t]??null}const n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},r={nan:"NaN"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input);return`Invalid input: expected ${t}, received ${r[n]??n}`}case"invalid_value":return 1===e.values.length?`Invalid input: expected ${Lt(e.values[0])}`:`Invalid option: expected one of ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Too big: expected ${e.origin??"value"} to have ${n}${e.maximum.toString()} ${r.unit??"elements"}`:`Too big: expected ${e.origin??"value"} to be ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Too small: expected ${e.origin} to have ${n}${e.minimum.toString()} ${r.unit}`:`Too small: expected ${e.origin} to be ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Invalid string: must start with "${t.prefix}"`:"ends_with"===t.format?`Invalid string: must end with "${t.suffix}"`:"includes"===t.format?`Invalid string: must include "${t.includes}"`:"regex"===t.format?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${e.divisor}`;case"unrecognized_keys":return`Unrecognized key${e.keys.length>1?"s":""}: ${yt(e.keys,", ")}`;case"invalid_key":return`Invalid key in ${e.origin}`;case"invalid_union":default:return"Invalid input";case"invalid_element":return`Invalid value in ${e.origin}`}}};function Qa(){return{localeError:Ja()}}n.dn(function(){return{localeError:Wa()}});const Wa=()=>{const e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function t(t){return e[t]??null}const n={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},r={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Nevalida enigo: atendiĝis instanceof ${e.expected}, riceviĝis ${i}`:`Nevalida enigo: atendiĝis ${t}, riceviĝis ${i}`}case"invalid_value":return 1===e.values.length?`Nevalida enigo: atendiĝis ${Lt(e.values[0])}`:`Nevalida opcio: atendiĝis unu el ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Tro granda: atendiĝis ke ${e.origin??"valoro"} havu ${n}${e.maximum.toString()} ${r.unit??"elementojn"}`:`Tro granda: atendiĝis ke ${e.origin??"valoro"} havu ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Tro malgranda: atendiĝis ke ${e.origin} havu ${n}${e.minimum.toString()} ${r.unit}`:`Tro malgranda: atendiĝis ke ${e.origin} estu ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Nevalida karaktraro: devas komenciĝi per "${t.prefix}"`:"ends_with"===t.format?`Nevalida karaktraro: devas finiĝi per "${t.suffix}"`:"includes"===t.format?`Nevalida karaktraro: devas inkluzivi "${t.includes}"`:"regex"===t.format?`Nevalida karaktraro: devas kongrui kun la modelo ${t.pattern}`:`Nevalida ${n[t.format]??e.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${e.divisor}`;case"unrecognized_keys":return`Nekonata${e.keys.length>1?"j":""} ŝlosilo${e.keys.length>1?"j":""}: ${yt(e.keys,", ")}`;
2case"invalid_key":return`Nevalida ŝlosilo en ${e.origin}`;case"invalid_union":default:return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${e.origin}`}}};n.dn(function(){return{localeError:Ga()}});const Ga=()=>{const e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(t){return e[t]??null}const n={regex:"entrada",email:"dirección de correo electrónico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duración ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},r={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol
vendor: 4,704 bytes, line 2
2:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Entrada inválida: se esperaba instanceof ${e.expected}, recibido ${i}`:`Entrada inválida: se esperaba ${t}, recibido ${i}`}case"invalid_value":return 1===e.values.length?`Entrada inválida: se esperaba ${Lt(e.values[0])}`:`Opción inválida: se esperaba una de ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",i=t(e.origin),a=r[e.origin]??e.origin;return i?`Demasiado grande: se esperaba que ${a??"valor"} tuviera ${n}${e.maximum.toString()} ${i.unit??"elementos"}`:`Demasiado grande: se esperaba que ${a??"valor"} fuera ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",i=t(e.origin),a=r[e.origin]??e.origin;return i?`Demasiado pequeño: se esperaba que ${a} tuviera ${n}${e.minimum.toString()} ${i.unit}`:`Demasiado pequeño: se esperaba que ${a} fuera ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Cadena inválida: debe comenzar con "${t.prefix}"`:"ends_with"===t.format?`Cadena inválida: debe terminar en "${t.suffix}"`:"includes"===t.format?`Cadena inválida: debe incluir "${t.includes}"`:"regex"===t.format?`Cadena inválida: debe coincidir con el patrón ${t.pattern}`:`Inválido ${n[t.format]??e.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${e.divisor}`;case"unrecognized_keys":return`Llave${e.keys.length>1?"s":""} desconocida${e.keys.length>1?"s":""}: ${yt(e.keys,", ")}`;case"invalid_key":return`Llave inválida en ${r[e.origin]??e.origin}`;case"invalid_union":default:return"Entrada inválida";case"invalid_element":return`Valor inválido en ${r[e.origin]??e.origin}`}}};n.dn(function(){return{localeError:qa()}});const qa=()=>{const e={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function t(t){return e[t]??null}const n={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"},r={nan:"NaN",number:"عدد",array:"آرایه"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ورودی نامعتبر: می‌بایست instanceof ${e.expected} می‌بود، ${i} دریافت شد`:`ورودی نامعتبر: می‌بایست ${t} می‌بود، ${i} دریافت شد`}case"invalid_value":return 1===e.values.length?`ورودی نامعتبر: می‌بایست ${Lt(e.values[0])} می‌بود`:`گزینه نامعتبر: می‌بایست یکی از ${yt(e.values,"|")} می‌بود`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`خیلی بزرگ: ${e.origin??"مقدار"} باید ${n}${e.maximum.toString()} ${r.unit??"عنصر"} باشد`:`خیلی بزرگ: ${e.origin??"مقدار"} باید ${n}${e.maximum.toString()} باشد`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`خیلی کوچک: ${e.origin} باید ${n}${e.minimum.toString()} ${r.unit} باشد`:`خیلی کوچک: ${e.origin} باید ${n}${e.minimum.toString()} باشد`}case"invalid_format":{const t=e;return"starts_with"===t.format?`رشته نامعتبر: باید با "${t.prefix}" شروع شود`:"ends_with"===t.format?`رشته نامعتبر: باید با "${t.suffix}" تمام شود`:"includes"===t.format?`رشته نامعتبر: باید شامل "${t.includes}" باشد`:"regex"===t.format?`رشته نامعتبر: باید با الگوی ${t.pattern} مطابقت داشته باشد`:`${n[t.format]??e.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${e.divisor} باشد`;case"unrecognized_keys":return`کلید${e.keys.length>1?"های":""} ناشناس: ${yt(e.keys,", ")}`;
2case"invalid_key":return`کلید ناشناس در ${e.origin}`;case"invalid_union":default:return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${e.origin}`}}};n.dn(function(){return{localeError:Va()}});const Va=()=>{const e={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}};function t(t){return e[t]??null}const n={regex:"säännöllinen lauseke",email:"sähköpostiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-päivämäärä",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},r={nan:"NaN"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Virheellinen tyyppi: odotettiin instanceof ${e.expected}, oli ${i}`:`Virheellinen tyyppi: odotettiin ${t}, oli ${i}`}case"invalid_value":return 1===e.values.length?`Virheellinen syöte: täytyy olla ${Lt(e.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Liian suuri: ${r.subject} täytyy olla ${n}${e.maximum.toString()} ${r.unit}`.trim():`Liian suuri: arvon täytyy olla ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Liian pieni: ${r.subject} täytyy olla ${n}${e.minimum.toString()} ${r.unit}`.trim():`Liian pieni: arvon täytyy olla ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Virheellinen syöte: täytyy alkaa "${t.prefix}"`:"ends_with"===t.format?`Virheellinen syöte: täytyy loppua "${t.suffix}"`:"includes"===t.format?`Virheellinen syöte: täytyy sisältää "${t.includes}"`:"regex"===t.format?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${t.pattern}`:`Virheellinen ${n[t.format]??e.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${e.divisor} monikerta`;case"unrecognized_keys":return`${e.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${yt(e.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}};n.dn(function(){return{localeError:Ka()}});const Ka=()=>{const e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function t(t){return e[t]??null}const n={regex:"entrée",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},r={nan:"NaN",number:"nombre",array:"tableau"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Entrée invalide : instanceof ${e.expected} attendu, ${i} reçu`:`Entrée invalide : ${t} attendu, ${i} reçu`}case"invalid_value":return 1===e.values.length?`Entrée invalide : ${Lt(e.values[0])}
2 attendu`:`Option invalide : une valeur parmi ${yt(e.values,"|")} attendue`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Trop grand : ${e.origin??"valeur"} doit ${r.verb} ${n}${e.maximum.toString()} ${r.unit??"élément(s)"}`:`Trop grand : ${e.origin??"valeur"} doit être ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Trop petit : ${e.origin} doit ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Trop petit : ${e.origin} doit être ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Chaîne invalide : doit commencer par "${t.prefix}"`:"ends_with"===t.format?`Chaîne invalide : doit se terminer par "${t.suffix}"`:"includes"===t.format?`Chaîne invalide : doit inclure "${t.includes}"`:"regex"===t.format?`Chaîne invalide : doit correspondre au modèle ${t.pattern}`:`${n[t.format]??e.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${e.divisor}`;case"unrecognized_keys":return`Clé${e.keys.length>1?"s":""} non reconnue${e.keys.length>1?"s":""} : ${yt(e.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${e.origin}`;case"invalid_union":default:return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${e.origin}`}}};n.dn(function(){return{localeError:Ha()}});const Ha=()=>{const e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function t(t){return e[t]??null}const n={regex:"entrée",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},r={nan:"NaN"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Entrée invalide : attendu instanceof ${e.expected}, reçu ${i}`:`Entrée invalide : attendu ${t}, reçu ${i}`}case"invalid_value":return 1===e.values.length?`Entrée invalide : attendu ${Lt(e.values[0])}
2`:`Option invalide : attendu l'une des valeurs suivantes ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"≤":"<",r=t(e.origin);return r?`Trop grand : attendu que ${e.origin??"la valeur"} ait ${n}${e.maximum.toString()} ${r.unit}`:`Trop grand : attendu que ${e.origin??"la valeur"} soit ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?"≥":">",r=t(e.origin);return r?`Trop petit : attendu que ${e.origin} ait ${n}${e.minimum.toString()} ${r.unit}`:`Trop petit : attendu que ${e.origin} soit ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Chaîne invalide : doit commencer par "${t.prefix}"`:"ends_with"===t.format?`Chaîne invalide : doit se terminer par "${t.suffix}"`:"includes"===t.format?`Chaîne invalide : doit inclure "${t.includes}"`:"regex"===t.format?`Chaîne invalide : doit correspondre au motif ${t.pattern}`:`${n[t.format]??e.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${e.divisor}`;case"unrecognized_keys":return`Clé${e.keys.length>1?"s":""} non reconnue${e.keys.length>1?"s":""} : ${yt(e.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${e.origin}`;case"invalid_union":default:return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${e.origin}`}}};n.dn(function(){return{localeError:Ba()}});const Ba=()=>{const e={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},t={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},n=t=>t?e[t]:void 0,r=t=>{const r=n(t);return r?r.label:t??e.unknown.label},i=e=>`ה${r(e)}`,a=e=>{const t=n(e);return"f"===(t?.gender??"m")?"צריכה להיות":"צריך להיות"},o=e=>e?t[e]??null:null,s={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},u={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const n=t.expected,i=u[n??""]??r(n),a=qt(t.input),o=u[a]??e[a]?.label??a;return/^[A-Z]/.test(t.expected)?`קלט לא תקין: צריך להיות instanceof ${t.expected}, התקבל ${o}
2`:`קלט לא תקין: צריך להיות ${i}, התקבל ${o}`}case"invalid_value":{if(1===t.values.length)return`ערך לא תקין: הערך חייב להיות ${Lt(t.values[0])}`;const e=t.values.map(e=>Lt(e));if(2===t.values.length)return`ערך לא תקין: האפשרויות המתאימות הן ${e[0]} או ${e[1]}`;const n=e[e.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${e.slice(0,-1).join(", ")} או ${n}`}case"too_big":{const e=o(t.origin),n=i(t.origin??"value");if("string"===t.origin)return`${e?.longLabel??"ארוך"} מדי: ${n} צריכה להכיל ${t.maximum.toString()} ${e?.unit??""} ${t.inclusive?"או פחות":"לכל היותר"}`.trim();if("number"===t.origin){return`גדול מדי: ${n} צריך להיות ${t.inclusive?`קטן או שווה ל-${t.maximum}`:`קטן מ-${t.maximum}`}`}if("array"===t.origin||"set"===t.origin){return`גדול מדי: ${n} ${"set"===t.origin?"צריכה":"צריך"} להכיל ${t.inclusive?`${t.maximum} ${e?.unit??""} או פחות`:`פחות מ-${t.maximum} ${e?.unit??""}`}`.trim()}const r=t.inclusive?"<=":"<",s=a(t.origin??"value");return e?.unit?`${e.longLabel} מדי: ${n} ${s} ${r}${t.maximum.toString()} ${e.unit}`:`${e?.longLabel??"גדול"} מדי: ${n} ${s} ${r}${t.maximum.toString()}`}case"too_small":{const e=o(t.origin),n=i(t.origin??"value");if("string"===t.origin)return`${e?.shortLabel??"קצר"} מדי: ${n} צריכה להכיל ${t.minimum.toString()} ${e?.unit??""} ${t.inclusive?"או יותר":"לפחות"}`.trim();if("number"===t.origin){return`קטן מדי: ${n} צריך להיות ${t.inclusive?`גדול או שווה ל-${t.minimum}`:`גדול מ-${t.minimum}`}`}if("array"===t.origin||"set"===t.origin){const r="set"===t.origin?"צריכה":"צריך";if(1===t.minimum&&t.inclusive){return`קטן מדי: ${n} ${r} להכיל ${t.origin,"לפחות פריט אחד"}`}return`קטן מדי: ${n} ${r} להכיל ${t.inclusive?`${t.minimum} ${e?.unit??""} או יותר`:`יותר מ-${t.minimum} ${e?.unit??""}`}`.trim()}const r=t.inclusive?">=":">",s=a(t.origin??"value");return e?.unit?`${e.shortLabel} מדי: ${n} ${s} ${r}${t.minimum.toString()} ${e.unit}`:`${e?.shortLabel??"קטן"} מדי: ${n} ${s} ${r}${t.minimum.toString()}`}case"invalid_format":{const e=t;if("starts_with"===e.format)return`המחרוזת חייבת להתחיל ב "${e.prefix}"`;if("ends_with"===e.format)return`המחרוזת חייבת להסתיים ב "${e.suffix}"`;if("includes"===e.format)return`המחרוזת חייבת לכלול "${e.includes}"`;if("regex"===e.format)return`המחרוזת חייבת להתאים לתבנית ${e.pattern}`;const n=s[e.format];return`${n?.label??e.format} לא ${"f"===(n?.gender??"m")?"תקינה":"תקין"}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${t.divisor}`;case"unrecognized_keys":return`מפתח${t.keys.length>1?"ות":""} לא מזוה${t.keys.length>1?"ים":"ה"}: ${yt(t.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":default:return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${i(t.origin??"array")}`}}};n.dn(function(){return{localeError:Xa()}});const Xa=()=>{const e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function t(t){return e[t]??null}const n={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"},r={nan:"NaN",number:"szám",array:"tömb"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Érvénytelen bemenet: a várt érték instanceof ${e.expected}, a kapott érték ${i}`:`Érvénytelen bemenet: a várt érték ${t}, a kapott érték ${i}`}
vendor: 8,318 bytes, line 2
2case"invalid_value":return 1===e.values.length?`Érvénytelen bemenet: a várt érték ${Lt(e.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Túl nagy: ${e.origin??"érték"} mérete túl nagy ${n}${e.maximum.toString()} ${r.unit??"elem"}`:`Túl nagy: a bemeneti érték ${e.origin??"érték"} túl nagy: ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Túl kicsi: a bemeneti érték ${e.origin} mérete túl kicsi ${n}${e.minimum.toString()} ${r.unit}`:`Túl kicsi: a bemeneti érték ${e.origin} túl kicsi ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Érvénytelen string: "${t.prefix}" értékkel kell kezdődnie`:"ends_with"===t.format?`Érvénytelen string: "${t.suffix}" értékkel kell végződnie`:"includes"===t.format?`Érvénytelen string: "${t.includes}" értéket kell tartalmaznia`:"regex"===t.format?`Érvénytelen string: ${t.pattern} mintának kell megfelelnie`:`Érvénytelen ${n[t.format]??e.format}`}case"not_multiple_of":return`Érvénytelen szám: ${e.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${e.keys.length>1?"s":""}: ${yt(e.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${e.origin}`;case"invalid_union":default:return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${e.origin}`}}};function Ya(e,t,n){return 1===Math.abs(e)?t:n}function eo(e){if(!e)return"";const t=e[e.length-1];return e+(["ա","ե","ը","ի","ո","ու","օ"].includes(t)?"ն":"ը")}n.dn(function(){return{localeError:to()}});const to=()=>{const e={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function t(t){return e[t]??null}const n={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",jwt:"JWT",template_literal:"մուտք"},r={nan:"NaN",number:"թիվ",array:"զանգված"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Սխալ մուտքագրում․ սպասվում էր instanceof ${e.expected}, ստացվել է ${i}`:`Սխալ մուտքագրում․ սպասվում էր ${t}, ստացվել է ${i}`}case"invalid_value":return 1===e.values.length?`Սխալ մուտքագրում․ սպասվում էր ${Lt(e.values[1])}`:`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);if(r){const t=Ya(Number(e.maximum),r.unit.one,r.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${eo(e.origin??"արժեք")} կունենա ${n}${e.maximum.toString()} ${t}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${eo(e.origin??"արժեք")} լինի ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);if(r){const t=Ya(Number(e.minimum),r.unit.one,r.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${eo(e.origin)} կունենա ${n}${e.minimum.toString()} ${t}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${eo(e.origin)} լինի ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Սխալ տող․ պետք է սկսվի "${t.prefix}"-ով`:"ends_with"===t.format?`Սխալ տող․ պետք է ավարտվի "${t.suffix}"-ով`:"includes"===t.format?`Սխալ տող․ պետք է պարունակի "${t.includes}"`:"regex"===t.format?`Սխալ տող․ պետք է համապատասխանի ${t.pattern} ձևաչափին`:`Սխալ ${n[t.format]??e.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${e.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${e.keys.length>1?"ներ":""}. ${yt(e.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${eo(e.origin)}-ում`;case"invalid_union":default:return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${eo(e.origin)}-ում`}}};n.dn(function(){return{localeError:no()}});const no=()=>{const e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function t(t){return e[t]??null}const n={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},r={nan:"NaN"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Input tidak valid: diharapkan instanceof ${e.expected}, diterima ${i}`:`Input tidak valid: diharapkan ${t}, diterima ${i}`}case"invalid_value":return 1===e.values.length?`Input tidak valid: diharapkan ${Lt(e.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Terlalu besar: diharapkan ${e.origin??"value"} memiliki ${n}${e.maximum.toString()} ${r.unit??"elemen"}`:`Terlalu besar: diharapkan ${e.origin??"value"} menjadi ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Terlalu kecil: diharapkan ${e.origin} memiliki ${n}${e.minimum.toString()} ${r.unit}`:`Terlalu kecil: diharapkan ${e.origin} menjadi ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`String tidak valid: harus dimulai dengan "${t.prefix}"`:"ends_with"===t.format?`String tidak valid: harus berakhir dengan "${t.suffix}"`:"includes"===t.format?`String tidak valid: harus menyertakan "${t.includes}"`:"regex"===t.format?`String tidak valid: harus sesuai pola ${t.pattern}`:`${n[t.format]??e.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${e.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${e.keys.length>1?"s":""}: ${yt(e.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${e.origin}`;case"invalid_union":default:return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${e.origin}`}}};n.dn(function(){return{localeError:ro()}});const ro=()=>{const e={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function t(t){return e[t]??null}const n={regex:"gildi",email:"netfang",url:"vefslóð",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og tími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 tölugildi",jwt:"JWT",template_literal:"gildi"},r={nan:"NaN",number:"númer",array:"fylki"};return e=>
2{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Rangt gildi: Þú slóst inn ${i} þar sem á að vera instanceof ${e.expected}`:`Rangt gildi: Þú slóst inn ${i} þar sem á að vera ${t}`}case"invalid_value":return 1===e.values.length?`Rangt gildi: gert ráð fyrir ${Lt(e.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Of stórt: gert er ráð fyrir að ${e.origin??"gildi"} hafi ${n}${e.maximum.toString()} ${r.unit??"hluti"}`:`Of stórt: gert er ráð fyrir að ${e.origin??"gildi"} sé ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Of lítið: gert er ráð fyrir að ${e.origin} hafi ${n}${e.minimum.toString()} ${r.unit}`:`Of lítið: gert er ráð fyrir að ${e.origin} sé ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Ógildur strengur: verður að byrja á "${t.prefix}"`:"ends_with"===t.format?`Ógildur strengur: verður að enda á "${t.suffix}"`:"includes"===t.format?`Ógildur strengur: verður að innihalda "${t.includes}"`:"regex"===t.format?`Ógildur strengur: verður að fylgja mynstri ${t.pattern}`:`Rangt ${n[t.format]??e.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${e.divisor}`;case"unrecognized_keys":return`Óþekkt ${e.keys.length>1?"ir lyklar":"ur lykill"}: ${yt(e.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${e.origin}`;case"invalid_union":default:return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${e.origin}`}}};n.dn(function(){return{localeError:io()}});const io=()=>{const e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function t(t){return e[t]??null}const n={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},r={nan:"NaN",number:"numero",array:"vettore"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Input non valido: atteso instanceof ${e.expected}, ricevuto ${i}`:`Input non valido: atteso ${t}, ricevuto ${i}`}case"invalid_value":return 1===e.values.length?`Input non valido: atteso ${Lt(e.values[0])}`:`Opzione non valida: atteso uno tra ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Troppo grande: ${e.origin??"valore"} deve avere ${n}${e.maximum.toString()} ${r.unit??"elementi"}`:`Troppo grande: ${e.origin??"valore"} deve essere ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Troppo piccolo: ${e.origin} deve avere ${n}${e.minimum.toString()} ${r.unit}`:`Troppo piccolo: ${e.origin} deve essere ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Stringa non valida: deve iniziare con "${t.prefix}"`:"ends_with"===t.format?`Stringa non valida: deve terminare con "${t.suffix}"`:"includes"===t.format?`Stringa non valida: deve includere "${t.includes}"`:"regex"===t.format?`Stringa non valida: deve corrispondere al pattern ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${e.divisor}`;case"unrecognized_keys":return`Chiav${e.keys.length>1?"i":"e"} non riconosciut${e.keys.length>1?"e":"a"}: ${yt(e.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${e.origin}`;case"invalid_union":default:return"Input non valido";
vendor: 8,750 bytes, line 2
2case"invalid_element":return`Valore non valido in ${e.origin}`}}};n.dn(function(){return{localeError:ao()}});const ao=()=>{const e={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function t(t){return e[t]??null}const n={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"},r={nan:"NaN",number:"数値",array:"配列"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`無効な入力: instanceof ${e.expected}が期待されましたが、${i}が入力されました`:`無効な入力: ${t}が期待されましたが、${i}が入力されました`}case"invalid_value":return 1===e.values.length?`無効な入力: ${Lt(e.values[0])}が期待されました`:`無効な選択: ${yt(e.values,"、")}のいずれかである必要があります`;case"too_big":{const n=e.inclusive?"以下である":"より小さい",r=t(e.origin);return r?`大きすぎる値: ${e.origin??"値"}は${e.maximum.toString()}${r.unit??"要素"}${n}必要があります`:`大きすぎる値: ${e.origin??"値"}は${e.maximum.toString()}${n}必要があります`}case"too_small":{const n=e.inclusive?"以上である":"より大きい",r=t(e.origin);return r?`小さすぎる値: ${e.origin}は${e.minimum.toString()}${r.unit}${n}必要があります`:`小さすぎる値: ${e.origin}は${e.minimum.toString()}${n}必要があります`}case"invalid_format":{const t=e;return"starts_with"===t.format?`無効な文字列: "${t.prefix}"で始まる必要があります`:"ends_with"===t.format?`無効な文字列: "${t.suffix}"で終わる必要があります`:"includes"===t.format?`無効な文字列: "${t.includes}"を含む必要があります`:"regex"===t.format?`無効な文字列: パターン${t.pattern}に一致する必要があります`:`無効な${n[t.format]??e.format}`}case"not_multiple_of":return`無効な数値: ${e.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${e.keys.length>1?"群":""}: ${yt(e.keys,"、")}`;case"invalid_key":return`${e.origin}内の無効なキー`;case"invalid_union":default:return"無効な入力";case"invalid_element":return`${e.origin}内の無効な値`}}};n.dn(function(){return{localeError:oo()}});const oo=()=>{const e={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function t(t){return e[t]??null}const n={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული სტრინგი",base64url:"base64url-კოდირებული სტრინგი",json_string:"JSON სტრინგი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"},r={nan:"NaN",number:"რიცხვი",string:"სტრინგი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`არასწორი შეყვანა: მოსალოდნელი instanceof ${e.expected}, მიღებული ${i}`:`არასწორი შეყვანა: მოსალოდნელი ${t}, მიღებული ${i}`}case"invalid_value":return 1===e.values.length?`არასწორი შეყვანა: მოსალოდნელი ${Lt(e.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${yt(e.values,"|")}-დან`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`ზედმეტად დიდი: მოსალოდნელი ${e.origin??"მნიშვნელობა"} ${r.verb} ${n}${e.maximum.toString()} ${r.unit}`:`ზედმეტად დიდი: მოსალოდნელი ${e.origin??"მნიშვნელობა"} იყოს ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`ზედმეტად პატარა: მოსალოდნელი ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`ზედმეტად პატარა: მოსალოდნელი ${e.origin} იყოს ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`არასწორი სტრინგი: უნდა იწყებოდეს "${t.prefix}"-ით`:"ends_with"===t.format?`არასწორი სტრინგი: უნდა მთავრდებოდეს "${t.suffix}"-ით`:"includes"===t.format?`არასწორი სტრინგი: უნდა შეიცავდეს "${t.includes}"-ს`:"regex"===t.format?`არასწორი სტრინგი: უნდა შეესაბამებოდეს შაბლონს ${t.pattern}`:`არასწორი ${n[t.format]??e.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${e.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${e.keys.length>1?"ები":"ი"}: ${yt(e.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${e.origin}-ში`;case"invalid_union":default:return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${e.origin}-ში`}}};n.dn(uo);const so=()=>{const e={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function t(t){return e[t]??null}const n={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},r={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${e.expected} ប៉ុន្តែទទួលបាន ${i}`:`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${t} ប៉ុន្តែទទួលបាន ${i}`}
2case"invalid_value":return 1===e.values.length?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${Lt(e.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`ធំពេក៖ ត្រូវការ ${e.origin??"តម្លៃ"} ${n} ${e.maximum.toString()} ${r.unit??"ធាតុ"}`:`ធំពេក៖ ត្រូវការ ${e.origin??"តម្លៃ"} ${n} ${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`តូចពេក៖ ត្រូវការ ${e.origin} ${n} ${e.minimum.toString()} ${r.unit}`:`តូចពេក៖ ត្រូវការ ${e.origin} ${n} ${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${t.prefix}"`:"ends_with"===t.format?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${t.suffix}"`:"includes"===t.format?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${t.includes}"`:"regex"===t.format?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${t.pattern}`:`មិនត្រឹមត្រូវ៖ ${n[t.format]??e.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${e.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${yt(e.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`;case"invalid_union":default:return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`}}};function uo(){return{localeError:so()}}n.dn(function(){return uo()}),n.dn(function(){return{localeError:co()}});const co=()=>{const e={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function t(t){return e[t]??null}const n={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"},r={nan:"NaN"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`잘못된 입력: 예상 타입은 instanceof ${e.expected}, 받은 타입은 ${i}입니다`:`잘못된 입력: 예상 타입은 ${t}, 받은 타입은 ${i}입니다`}case"invalid_value":return 1===e.values.length?`잘못된 입력: 값은 ${Lt(e.values[0])} 이어야 합니다`:`잘못된 옵션: ${yt(e.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{const n=e.inclusive?"이하":"미만",r="미만"===n?"이어야 합니다":"여야 합니다",i=t(e.origin),a=i?.unit??"요소";return i?`${e.origin??"값"}이 너무 큽니다: ${e.maximum.toString()}${a} ${n}${r}`:`${e.origin??"값"}이 너무 큽니다: ${e.maximum.toString()} ${n}${r}`}case"too_small":{const n=e.inclusive?"이상":"초과",r="이상"===n?"이어야 합니다":"여야 합니다",i=t(e.origin),a=i?.unit??"요소";return i?`${e.origin??"값"}이 너무 작습니다: ${e.minimum.toString()}${a} ${n}${r}`:`${e.origin??"값"}이 너무 작습니다: ${e.minimum.toString()} ${n}${r}`}
vendor: 4,578 bytes, line 2
2case"invalid_format":{const t=e;return"starts_with"===t.format?`잘못된 문자열: "${t.prefix}"(으)로 시작해야 합니다`:"ends_with"===t.format?`잘못된 문자열: "${t.suffix}"(으)로 끝나야 합니다`:"includes"===t.format?`잘못된 문자열: "${t.includes}"을(를) 포함해야 합니다`:"regex"===t.format?`잘못된 문자열: 정규식 ${t.pattern} 패턴과 일치해야 합니다`:`잘못된 ${n[t.format]??e.format}`}case"not_multiple_of":return`잘못된 숫자: ${e.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${yt(e.keys,", ")}`;case"invalid_key":return`잘못된 키: ${e.origin}`;case"invalid_union":default:return"잘못된 입력";case"invalid_element":return`잘못된 값: ${e.origin}`}}};n.dn(function(){return{localeError:po()}});const lo=e=>e.charAt(0).toUpperCase()+e.slice(1);function mo(e){const t=Math.abs(e),n=t%10,r=t%100;return r>=11&&r<=19||0===n?"many":1===n?"one":"few"}const po=()=>{const e={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function t(t,n,r,i){const a=e[t]??null;return null===a?a:{unit:a.unit[n],verb:a.verb[i][r?"inclusive":"notInclusive"]}}const n={regex:"įvestis",email:"el. pašto adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},r={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Gautas tipas ${i}, o tikėtasi - instanceof ${e.expected}`:`Gautas tipas ${i}, o tikėtasi - ${t}`}case"invalid_value":return 1===e.values.length?`Privalo būti ${Lt(e.values[0])}`:`Privalo būti vienas iš ${yt(e.values,"|")} pasirinkimų`;case"too_big":{const n=r[e.origin]??e.origin,i=t(e.origin,mo(Number(e.maximum)),e.inclusive??!1,"smaller");if(i?.verb)return`${lo(n??e.origin??"reikšmė")} ${i.verb} ${e.maximum.toString()} ${i.unit??"elementų"}`;const a=e.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${lo(n??e.origin??"reikšmė")} turi būti ${a} ${e.maximum.toString()} ${i?.unit}`}case"too_small":{const n=r[e.origin]??e.origin,i=t(e.origin,mo(Number(e.minimum)),e.inclusive??!1,"bigger");if(i?.verb)return`${lo(n??e.origin??"reikšmė")} ${i.verb} ${e.minimum.toString()} ${i.unit??"elementų"}`;const a=e.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${lo(n??e.origin??"reikšmė")} turi būti ${a} ${e.minimum.toString()} ${i?.unit}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Eilutė privalo prasidėti "${t.prefix}"`:"ends_with"===t.format?`Eilutė privalo pasibaigti "${t.suffix}"`:"includes"===t.format?`Eilutė privalo įtraukti "${t.includes}"`:"regex"===t.format?`Eilutė privalo atitikti ${t.pattern}`:`Neteisingas ${n[t.format]??e.format}`}case"not_multiple_of":return`Skaičius privalo būti ${e.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${e.keys.length>1?"i":"as"} rakt${e.keys.length>1?"ai":"as"}: ${yt(e.keys,", ")}`;
2case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":default:return"Klaidinga įvestis";case"invalid_element":{const t=r[e.origin]??e.origin;return`${lo(t??e.origin??"reikšmė")} turi klaidingą įvestį`}}}};n.dn(function(){return{localeError:fo()}});const fo=()=>{const e={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function t(t){return e[t]??null}const n={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"},r={nan:"NaN",number:"број",array:"низа"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Грешен внес: се очекува instanceof ${e.expected}, примено ${i}`:`Грешен внес: се очекува ${t}, примено ${i}`}case"invalid_value":return 1===e.values.length?`Invalid input: expected ${Lt(e.values[0])}`:`Грешана опција: се очекува една ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Премногу голем: се очекува ${e.origin??"вредноста"} да има ${n}${e.maximum.toString()} ${r.unit??"елементи"}`:`Премногу голем: се очекува ${e.origin??"вредноста"} да биде ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Премногу мал: се очекува ${e.origin} да има ${n}${e.minimum.toString()} ${r.unit}`:`Премногу мал: се очекува ${e.origin} да биде ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Неважечка низа: мора да започнува со "${t.prefix}"`:"ends_with"===t.format?`Неважечка низа: мора да завршува со "${t.suffix}"`:"includes"===t.format?`Неважечка низа: мора да вклучува "${t.includes}"`:"regex"===t.format?`Неважечка низа: мора да одгоара на патернот ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${e.divisor}`;case"unrecognized_keys":return`${e.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${yt(e.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${e.origin}`;case"invalid_union":default:return"Грешен внес";case"invalid_element":return`Грешна вредност во ${e.origin}`}}};n.dn(function(){return{localeError:go()}});const go=()=>{const e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function t(t){return e[t]??null}const n={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},r={nan:"NaN",number:"nombor"};return e=>
vendor: 4,961 bytes, line 2
2{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Input tidak sah: dijangka instanceof ${e.expected}, diterima ${i}`:`Input tidak sah: dijangka ${t}, diterima ${i}`}case"invalid_value":return 1===e.values.length?`Input tidak sah: dijangka ${Lt(e.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Terlalu besar: dijangka ${e.origin??"nilai"} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??"elemen"}`:`Terlalu besar: dijangka ${e.origin??"nilai"} adalah ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Terlalu kecil: dijangka ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Terlalu kecil: dijangka ${e.origin} adalah ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`String tidak sah: mesti bermula dengan "${t.prefix}"`:"ends_with"===t.format?`String tidak sah: mesti berakhir dengan "${t.suffix}"`:"includes"===t.format?`String tidak sah: mesti mengandungi "${t.includes}"`:"regex"===t.format?`String tidak sah: mesti sepadan dengan corak ${t.pattern}`:`${n[t.format]??e.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${e.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${yt(e.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${e.origin}`;case"invalid_union":default:return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${e.origin}`}}};n.dn(function(){return{localeError:ho()}});const ho=()=>{const e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function t(t){return e[t]??null}const n={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},r={nan:"NaN",number:"getal"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ongeldige invoer: verwacht instanceof ${e.expected}, ontving ${i}`:`Ongeldige invoer: verwacht ${t}, ontving ${i}`}case"invalid_value":return 1===e.values.length?`Ongeldige invoer: verwacht ${Lt(e.values[0])}`:`Ongeldige optie: verwacht één van ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin),i="date"===e.origin?"laat":"string"===e.origin?"lang":"groot";return r?`Te ${i}: verwacht dat ${e.origin??"waarde"} ${n}${e.maximum.toString()} ${r.unit??"elementen"} ${r.verb}`:`Te ${i}: verwacht dat ${e.origin??"waarde"} ${n}${e.maximum.toString()} is`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin),i="date"===e.origin?"vroeg":"string"===e.origin?"kort":"klein";return r?`Te ${i}: verwacht dat ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ${r.verb}`:`Te ${i}: verwacht dat ${e.origin} ${n}${e.minimum.toString()} is`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Ongeldige tekst: moet met "${t.prefix}" beginnen`:"ends_with"===t.format?`Ongeldige tekst: moet op "${t.suffix}" eindigen`:"includes"===t.format?`Ongeldige tekst: moet "${t.includes}" bevatten`:"regex"===t.format?`Ongeldige tekst: moet overeenkomen met patroon ${t.pattern}`:`Ongeldig: ${n[t.format]??e.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${e.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${e.keys.length>1?"s":""}: ${yt(e.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${e.origin}`;case"invalid_union":default:return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${e.origin}`}}};n.dn(function(){return{localeError:vo()}});const vo=()=>{const e={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function t(t){return e[t]??null}const n={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},r={nan:"NaN",number:"tall",array:"liste"};return e=>
2{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ugyldig input: forventet instanceof ${e.expected}, fikk ${i}`:`Ugyldig input: forventet ${t}, fikk ${i}`}case"invalid_value":return 1===e.values.length?`Ugyldig verdi: forventet ${Lt(e.values[0])}`:`Ugyldig valg: forventet en av ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`For stor(t): forventet ${e.origin??"value"} til å ha ${n}${e.maximum.toString()} ${r.unit??"elementer"}`:`For stor(t): forventet ${e.origin??"value"} til å ha ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`For lite(n): forventet ${e.origin} til å ha ${n}${e.minimum.toString()} ${r.unit}`:`For lite(n): forventet ${e.origin} til å ha ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Ugyldig streng: må starte med "${t.prefix}"`:"ends_with"===t.format?`Ugyldig streng: må ende med "${t.suffix}"`:"includes"===t.format?`Ugyldig streng: må inneholde "${t.includes}"`:"regex"===t.format?`Ugyldig streng: må matche mønsteret ${t.pattern}`:`Ugyldig ${n[t.format]??e.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${e.divisor}`;case"unrecognized_keys":return`${e.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${yt(e.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${e.origin}`;case"invalid_union":default:return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${e.origin}`}}};n.dn(function(){return{localeError:yo()}});const yo=()=>{const e={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function t(t){return e[t]??null}const n={regex:"giren",email:"epostagâh",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO hengâmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},r={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Fâsit giren: umulan instanceof ${e.expected}, alınan ${i}`:`Fâsit giren: umulan ${t}, alınan ${i}`}case"invalid_value":return 1===e.values.length?`Fâsit giren: umulan ${Lt(e.values[0])}`:`Fâsit tercih: mûteberler ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Fazla büyük: ${e.origin??"value"}, ${n}${e.maximum.toString()} ${r.unit??"elements"} sahip olmalıydı.`:`Fazla büyük: ${e.origin??"value"}, ${n}${e.maximum.toString()} olmalıydı.`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Fazla küçük: ${e.origin}, ${n}${e.minimum.toString()} ${r.unit} sahip olmalıydı.`:`Fazla küçük: ${e.origin}, ${n}${e.minimum.toString()} olmalıydı.`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Fâsit metin: "${t.prefix}" ile başlamalı.`:"ends_with"===t.format?`Fâsit metin: "${t.suffix}" ile bitmeli.`:"includes"===t.format?`Fâsit metin: "${t.includes}" ihtivâ etmeli.`:"regex"===t.format?`Fâsit metin: ${t.pattern} nakşına uymalı.`:`Fâsit ${n[t.format]??e.format}`}case"not_multiple_of":return`Fâsit sayı: ${e.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${e.keys.length>1?"s":""}: ${yt(e.keys,", ")}`;case"invalid_key":return`${e.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${e.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};n.dn(function(){return{localeError:bo()}});const bo=()=>{const e={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function t(t){return e[t]??null}const n={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",t
2ime:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"},r={nan:"NaN",number:"عدد",array:"ارې"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ناسم ورودي: باید instanceof ${e.expected} وای, مګر ${i} ترلاسه شو`:`ناسم ورودي: باید ${t} وای, مګر ${i} ترلاسه شو`}case"invalid_value":return 1===e.values.length?`ناسم ورودي: باید ${Lt(e.values[0])} وای`:`ناسم انتخاب: باید یو له ${yt(e.values,"|")} څخه وای`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`ډیر لوی: ${e.origin??"ارزښت"} باید ${n}${e.maximum.toString()} ${r.unit??"عنصرونه"} ولري`:`ډیر لوی: ${e.origin??"ارزښت"} باید ${n}${e.maximum.toString()} وي`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`ډیر کوچنی: ${e.origin} باید ${n}${e.minimum.toString()} ${r.unit} ولري`:`ډیر کوچنی: ${e.origin} باید ${n}${e.minimum.toString()} وي`}case"invalid_format":{const t=e;return"starts_with"===t.format?`ناسم متن: باید د "${t.prefix}" سره پیل شي`:"ends_with"===t.format?`ناسم متن: باید د "${t.suffix}" سره پای ته ورسيږي`:"includes"===t.format?`ناسم متن: باید "${t.includes}" ولري`:"regex"===t.format?`ناسم متن: باید د ${t.pattern} سره مطابقت ولري`:`${n[t.format]??e.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${e.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${e.keys.length>1?"کلیډونه":"کلیډ"}: ${yt(e.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${e.origin} کې`;case"invalid_union":default:return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${e.origin} کې`}}};n.dn(function(){return{localeError:_o()}});const _o=()=>{const e={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function t(t){return e[t]??null}const n={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"},r={nan:"NaN",number:"liczba",array:"tablica"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${e.expected}, otrzymano ${i}`:`Nieprawidłowe dane wejściowe: oczekiwano ${t}, otrzymano ${i}`}case"invalid_value":return 1===e.values.length?`Nieprawidłowe dane wejściowe: oczekiwano ${Lt(e.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Za duża wartość: oczekiwano, że ${e.origin??"wartość"} będzie mieć ${n}${e.maximum.toString()} ${r.unit??"elementów"}`:`Zbyt duż(y/a/e): oczekiwano, że ${e.origin??"wartość"} będzie wynosić ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Za mała wartość: oczekiwano, że ${e.origin??"wartość"} będzie mieć ${n}${e.minimum.toString()} ${r.unit??"elementów"}`:`Zbyt mał(y/a/e): oczekiwano, że ${e.origin??"wartość"} będzie wynosić ${n}${e.minimum.toString()}`}
vendor: 8,727 bytes, line 2
2case"invalid_format":{const t=e;return"starts_with"===t.format?`Nieprawidłowy ciąg znaków: musi zaczynać się od "${t.prefix}"`:"ends_with"===t.format?`Nieprawidłowy ciąg znaków: musi kończyć się na "${t.suffix}"`:"includes"===t.format?`Nieprawidłowy ciąg znaków: musi zawierać "${t.includes}"`:"regex"===t.format?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${t.pattern}`:`Nieprawidłow(y/a/e) ${n[t.format]??e.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${e.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${e.keys.length>1?"s":""}: ${yt(e.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${e.origin}`;case"invalid_union":default:return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${e.origin}`}}};n.dn(function(){return{localeError:$o()}});const $o=()=>{const e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(t){return e[t]??null}const n={regex:"padrão",email:"endereço de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"duração ISO",ipv4:"endereço IPv4",ipv6:"endereço IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},r={nan:"NaN",number:"número",null:"nulo"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Tipo inválido: esperado instanceof ${e.expected}, recebido ${i}`:`Tipo inválido: esperado ${t}, recebido ${i}`}case"invalid_value":return 1===e.values.length?`Entrada inválida: esperado ${Lt(e.values[0])}`:`Opção inválida: esperada uma das ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Muito grande: esperado que ${e.origin??"valor"} tivesse ${n}${e.maximum.toString()} ${r.unit??"elementos"}`:`Muito grande: esperado que ${e.origin??"valor"} fosse ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Muito pequeno: esperado que ${e.origin} tivesse ${n}${e.minimum.toString()} ${r.unit}`:`Muito pequeno: esperado que ${e.origin} fosse ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Texto inválido: deve começar com "${t.prefix}"`:"ends_with"===t.format?`Texto inválido: deve terminar com "${t.suffix}"`:"includes"===t.format?`Texto inválido: deve incluir "${t.includes}"`:"regex"===t.format?`Texto inválido: deve corresponder ao padrão ${t.pattern}`:`${n[t.format]??e.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${e.divisor}`;case"unrecognized_keys":return`Chave${e.keys.length>1?"s":""} desconhecida${e.keys.length>1?"s":""}: ${yt(e.keys,", ")}`;case"invalid_key":return`Chave inválida em ${e.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${e.origin}`;default:return"Campo inválido"}}};function ko(e,t,n,r){const i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?r:1===a?t:a>=2&&a<=4?n:r}n.dn(function(){return{localeError:wo()}});const wo=()=>{const e={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function t(t){return e[t]??null}const n={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"},r={nan:"NaN",number:"число",array:"массив"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Неверный ввод: ожидалось instanceof ${e.expected}, получено ${i}`:`Неверный ввод: ожидалось ${t}, получено ${i}`}case"invalid_value":return 1===e.values.length?`Неверный ввод: ожидалось ${Lt(e.values[0])}`:`Неверный вариант: ожидалось одно из ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);if(r){const t=ko(Number(e.maximum),r.unit.one,r.unit.few,r.unit.many);return`Слишком большое значение: ожидалось, что ${e.origin??"значение"} будет иметь ${n}${e.maximum.toString()} ${t}`}return`Слишком большое значение: ожидалось, что ${e.origin??"значение"} будет ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);if(r){const t=ko(Number(e.minimum),r.unit.one,r.unit.few,r.unit.many);return`Слишком маленькое значение: ожидалось, что ${e.origin} будет иметь ${n}${e.minimum.toString()} ${t}`}return`Слишком маленькое значение: ожидалось, что ${e.origin} будет ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Неверная строка: должна начинаться с "${t.prefix}"`:"ends_with"===t.format?`Неверная строка: должна заканчиваться на "${t.suffix}"`:"includes"===t.format?`Неверная строка: должна содержать "${t.includes}"`:"regex"===t.format?`Неверная строка: должна соответствовать шаблону ${t.pattern}`:`Неверный ${n[t.format]??e.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${e.divisor}`;case"unrecognized_keys":return`Нераспознанн${e.keys.length>1?"ые":"ый"} ключ${e.keys.length>1?"и":""}: ${yt(e.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${e.origin}`;case"invalid_union":default:return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${e.origin}`}}};n.dn(function(){return{localeError:Io()}});const Io=()=>{const e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function t(t){return e[t]??null}const n={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",jwt:"JWT",template_literal:"vnos"},r={nan:"NaN",number:"število",array:"tabela"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Neveljaven vnos: pričakovano instanceof ${e.expected}, prejeto ${i}`:`Neveljaven vnos: pričakovano ${t}, prejeto ${i}`}case"invalid_value":return 1===e.values.length?`Neveljaven vnos: pričakovano ${Lt(e.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Preveliko: pričakovano, da bo ${e.origin??"vrednost"} imelo ${n}${e.maximum.toString()} ${r.unit??"elementov"}`:`Preveliko: pričakovano, da bo ${e.origin??"vrednost"} ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Premajhno: pričakovano, da bo ${e.origin} imelo ${n}${e.minimum.toString()} ${r.unit}`:`Premajhno: pričakovano, da bo ${e.origin} ${n}${e.minimum.toString()}`}
2case"invalid_format":{const t=e;return"starts_with"===t.format?`Neveljaven niz: mora se začeti z "${t.prefix}"`:"ends_with"===t.format?`Neveljaven niz: mora se končati z "${t.suffix}"`:"includes"===t.format?`Neveljaven niz: mora vsebovati "${t.includes}"`:"regex"===t.format?`Neveljaven niz: mora ustrezati vzorcu ${t.pattern}`:`Neveljaven ${n[t.format]??e.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${e.divisor}`;case"unrecognized_keys":return`Neprepoznan${e.keys.length>1?"i ključi":" ključ"}: ${yt(e.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${e.origin}`;case"invalid_union":default:return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${e.origin}`}}};n.dn(function(){return{localeError:So()}});const So=()=>{const e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function t(t){return e[t]??null}const n={regex:"reguljärt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad sträng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},r={nan:"NaN",number:"antal",array:"lista"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ogiltig inmatning: förväntat instanceof ${e.expected}, fick ${i}`:`Ogiltig inmatning: förväntat ${t}, fick ${i}`}case"invalid_value":return 1===e.values.length?`Ogiltig inmatning: förväntat ${Lt(e.values[0])}`:`Ogiltigt val: förväntade en av ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`För stor(t): förväntade ${e.origin??"värdet"} att ha ${n}${e.maximum.toString()} ${r.unit??"element"}`:`För stor(t): förväntat ${e.origin??"värdet"} att ha ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`För lite(t): förväntade ${e.origin??"värdet"} att ha ${n}${e.minimum.toString()} ${r.unit}`:`För lite(t): förväntade ${e.origin??"värdet"} att ha ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Ogiltig sträng: måste börja med "${t.prefix}"`:"ends_with"===t.format?`Ogiltig sträng: måste sluta med "${t.suffix}"`:"includes"===t.format?`Ogiltig sträng: måste innehålla "${t.includes}"`:"regex"===t.format?`Ogiltig sträng: måste matcha mönstret "${t.pattern}"`:`Ogiltig(t) ${n[t.format]??e.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${e.divisor}`;case"unrecognized_keys":return`${e.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${yt(e.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${e.origin??"värdet"}`;case"invalid_union":default:return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${e.origin??"värdet"}`}}};n.dn(function(){return{localeError:xo()}});const xo=()=>{const e={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function t(t){return e[t]??null}const n={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்ப
2ு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"},r={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${e.expected}, பெறப்பட்டது ${i}`:`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${t}, பெறப்பட்டது ${i}`}case"invalid_value":return 1===e.values.length?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${Lt(e.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${yt(e.values,"|")} இல் ஒன்று`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin??"மதிப்பு"} ${n}${e.maximum.toString()} ${r.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin??"மதிப்பு"} ${n}${e.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${n}${e.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{const t=e;return"starts_with"===t.format?`தவறான சரம்: "${t.prefix}" இல் தொடங்க வேண்டும்`:"ends_with"===t.format?`தவறான சரம்: "${t.suffix}" இல் முடிவடைய வேண்டும்`:"includes"===t.format?`தவறான சரம்: "${t.includes}" ஐ உள்ளடக்க வேண்டும்`:"regex"===t.format?`தவறான சரம்: ${t.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${n[t.format]??e.format}`}case"not_multiple_of":return`தவறான எண்: ${e.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${e.keys.length>1?"கள்":""}: ${yt(e.keys,", ")}`;case"invalid_key":return`${e.origin} இல் தவறான விசை`;case"invalid_union":default:return"தவறான உள்ளீடு";case"invalid_element":return`${e.origin} இல் தவறான மதிப்பு`}}};n.dn(function(){return{localeError:zo()}});const zo=()=>{const e={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function t(t){return e[t]??null}const n={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},r={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return e=>
vendor: 4,479 bytes, line 2
2{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${e.expected} แต่ได้รับ ${i}`:`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${t} แต่ได้รับ ${i}`}case"invalid_value":return 1===e.values.length?`ค่าไม่ถูกต้อง: ควรเป็น ${Lt(e.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"ไม่เกิน":"น้อยกว่า",r=t(e.origin);return r?`เกินกำหนด: ${e.origin??"ค่า"} ควรมี${n} ${e.maximum.toString()} ${r.unit??"รายการ"}`:`เกินกำหนด: ${e.origin??"ค่า"} ควรมี${n} ${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?"อย่างน้อย":"มากกว่า",r=t(e.origin);return r?`น้อยกว่ากำหนด: ${e.origin} ควรมี${n} ${e.minimum.toString()} ${r.unit}`:`น้อยกว่ากำหนด: ${e.origin} ควรมี${n} ${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${t.prefix}"`:"ends_with"===t.format?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${t.suffix}"`:"includes"===t.format?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${t.includes}" อยู่ในข้อความ`:"regex"===t.format?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${t.pattern}`:`รูปแบบไม่ถูกต้อง: ${n[t.format]??e.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${e.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${yt(e.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${e.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${e.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};n.dn(function(){return{localeError:Oo()}});const Oo=()=>{const e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function t(t){return e[t]??null}const n={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO süre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"},r={nan:"NaN"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Geçersiz değer: beklenen instanceof ${e.expected}, alınan ${i}`:`Geçersiz değer: beklenen ${t}, alınan ${i}`}case"invalid_value":return 1===e.values.length?`Geçersiz değer: beklenen ${Lt(e.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Çok büyük: beklenen ${e.origin??"değer"} ${n}${e.maximum.toString()} ${r.unit??"öğe"}`:`Çok büyük: beklenen ${e.origin??"değer"} ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Çok küçük: beklenen ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`Çok küçük: beklenen ${e.origin} ${n}${e.minimum.toString()}`}
2case"invalid_format":{const t=e;return"starts_with"===t.format?`Geçersiz metin: "${t.prefix}" ile başlamalı`:"ends_with"===t.format?`Geçersiz metin: "${t.suffix}" ile bitmeli`:"includes"===t.format?`Geçersiz metin: "${t.includes}" içermeli`:"regex"===t.format?`Geçersiz metin: ${t.pattern} desenine uymalı`:`Geçersiz ${n[t.format]??e.format}`}case"not_multiple_of":return`Geçersiz sayı: ${e.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${e.keys.length>1?"lar":""}: ${yt(e.keys,", ")}`;case"invalid_key":return`${e.origin} içinde geçersiz anahtar`;case"invalid_union":default:return"Geçersiz değer";case"invalid_element":return`${e.origin} içinde geçersiz değer`}}};n.dn(Po);const Uo=()=>{const e={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function t(t){return e[t]??null}const n={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"},r={nan:"NaN",number:"число",array:"масив"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Неправильні вхідні дані: очікується instanceof ${e.expected}, отримано ${i}`:`Неправильні вхідні дані: очікується ${t}, отримано ${i}`}case"invalid_value":return 1===e.values.length?`Неправильні вхідні дані: очікується ${Lt(e.values[0])}`:`Неправильна опція: очікується одне з ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Занадто велике: очікується, що ${e.origin??"значення"} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??"елементів"}`:`Занадто велике: очікується, що ${e.origin??"значення"} буде ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Занадто мале: очікується, що ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Занадто мале: очікується, що ${e.origin} буде ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Неправильний рядок: повинен починатися з "${t.prefix}"`:"ends_with"===t.format?`Неправильний рядок: повинен закінчуватися на "${t.suffix}"`:"includes"===t.format?`Неправильний рядок: повинен містити "${t.includes}"`:"regex"===t.format?`Неправильний рядок: повинен відповідати шаблону ${t.pattern}`:`Неправильний ${n[t.format]??e.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${e.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${e.keys.length>1?"і":""}: ${yt(e.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${e.origin}`;case"invalid_union":default:return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${e.origin}`}}};function Po(){return{localeError:Uo()}}n.dn(function(){return Po()}),n.dn(function(){return{localeError:No()}});const No=()=>{const e={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function t(t){return e[t]??null}const n={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},r={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return e=>
2{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`غلط ان پٹ: instanceof ${e.expected} متوقع تھا، ${i} موصول ہوا`:`غلط ان پٹ: ${t} متوقع تھا، ${i} موصول ہوا`}case"invalid_value":return 1===e.values.length?`غلط ان پٹ: ${Lt(e.values[0])} متوقع تھا`:`غلط آپشن: ${yt(e.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`بہت بڑا: ${e.origin??"ویلیو"} کے ${n}${e.maximum.toString()} ${r.unit??"عناصر"} ہونے متوقع تھے`:`بہت بڑا: ${e.origin??"ویلیو"} کا ${n}${e.maximum.toString()} ہونا متوقع تھا`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`بہت چھوٹا: ${e.origin} کے ${n}${e.minimum.toString()} ${r.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${e.origin} کا ${n}${e.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{const t=e;return"starts_with"===t.format?`غلط سٹرنگ: "${t.prefix}" سے شروع ہونا چاہیے`:"ends_with"===t.format?`غلط سٹرنگ: "${t.suffix}" پر ختم ہونا چاہیے`:"includes"===t.format?`غلط سٹرنگ: "${t.includes}" شامل ہونا چاہیے`:"regex"===t.format?`غلط سٹرنگ: پیٹرن ${t.pattern} سے میچ ہونا چاہیے`:`غلط ${n[t.format]??e.format}`}case"not_multiple_of":return`غلط نمبر: ${e.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${e.keys.length>1?"ز":""}: ${yt(e.keys,"، ")}`;case"invalid_key":return`${e.origin} میں غلط کی`;case"invalid_union":default:return"غلط ان پٹ";case"invalid_element":return`${e.origin} میں غلط ویلیو`}}};n.dn(function(){return{localeError:Eo()}});const Eo=()=>{const e={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"}};function t(t){return e[t]??null}const n={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},r={nan:"NaN",number:"raqam",array:"massiv"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Noto‘g‘ri kirish: kutilgan instanceof ${e.expected}, qabul qilingan ${i}`:`Noto‘g‘ri kirish: kutilgan ${t}, qabul qilingan ${i}`}case"invalid_value":return 1===e.values.length?`Noto‘g‘ri kirish: kutilgan ${Lt(e.values[0])}`:`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Juda katta: kutilgan ${e.origin??"qiymat"} ${n}${e.maximum.toString()} ${r.unit} ${r.verb}`:`Juda katta: kutilgan ${e.origin??"qiymat"} ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Juda kichik: kutilgan ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ${r.verb}`:`Juda kichik: kutilgan ${e.origin} ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Noto‘g‘ri satr: "${t.prefix}" bilan boshlanishi kerak`:"ends_with"===t.format?`Noto‘g‘ri satr: "${t.suffix}" bilan tugashi kerak`:"includes"===t.format?`Noto‘g‘ri satr: "${t.includes}" ni o‘z ichiga olishi kerak`:"regex"===t.format?`Noto‘g‘ri satr: ${t.pattern} shabloniga mos kelishi kerak`:`Noto‘g‘ri ${n[t.format]??e.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${e.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${e.keys.length>1?"lar":""}: ${yt(e.keys,", ")}`;
vendor: 8,809 bytes, line 2
2case"invalid_key":return`${e.origin} dagi kalit noto‘g‘ri`;case"invalid_union":default:return"Noto‘g‘ri kirish";case"invalid_element":return`${e.origin} da noto‘g‘ri qiymat`}}};n.dn(function(){return{localeError:Do()}});const Do=()=>{const e={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function t(t){return e[t]??null}const n={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"},r={nan:"NaN",number:"số",array:"mảng"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Đầu vào không hợp lệ: mong đợi instanceof ${e.expected}, nhận được ${i}`:`Đầu vào không hợp lệ: mong đợi ${t}, nhận được ${i}`}case"invalid_value":return 1===e.values.length?`Đầu vào không hợp lệ: mong đợi ${Lt(e.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Quá lớn: mong đợi ${e.origin??"giá trị"} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??"phần tử"}`:`Quá lớn: mong đợi ${e.origin??"giá trị"} ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Quá nhỏ: mong đợi ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Quá nhỏ: mong đợi ${e.origin} ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Chuỗi không hợp lệ: phải bắt đầu bằng "${t.prefix}"`:"ends_with"===t.format?`Chuỗi không hợp lệ: phải kết thúc bằng "${t.suffix}"`:"includes"===t.format?`Chuỗi không hợp lệ: phải bao gồm "${t.includes}"`:"regex"===t.format?`Chuỗi không hợp lệ: phải khớp với mẫu ${t.pattern}`:`${n[t.format]??e.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${e.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${yt(e.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${e.origin}`;case"invalid_union":default:return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${e.origin}`}}};n.dn(function(){return{localeError:Ao()}});const Ao=()=>{const e={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function t(t){return e[t]??null}const n={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"},r={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`无效输入:期望 instanceof ${e.expected},实际接收 ${i}`:`无效输入:期望 ${t},实际接收 ${i}`}case"invalid_value":return 1===e.values.length?`无效输入:期望 ${Lt(e.values[0])}`:`无效选项:期望以下之一 ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`数值过大:期望 ${e.origin??"值"} ${n}${e.maximum.toString()} ${r.unit??"个元素"}`:`数值过大:期望 ${e.origin??"值"} ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`数值过小:期望 ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`数值过小:期望 ${e.origin} ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`无效字符串:必须以 "${t.prefix}" 开头`:"ends_with"===t.format?`无效字符串:必须以 "${t.suffix}" 结尾`:"includes"===t.format?`无效字符串:必须包含 "${t.includes}"`:"regex"===t.format?`无效字符串:必须满足正则表达式 ${t.pattern}`:`无效${n[t.format]??e.format}`}case"not_multiple_of":return`无效数字:必须是 ${e.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${yt(e.keys,", ")}`;case"invalid_key":return`${e.origin} 中的键(key)无效`;case"invalid_union":default:return"无效输入";case"invalid_element":return`${e.origin} 中包含无效值(value)`}}};n.dn(function(){return{localeError:To()}});const To=()=>{const e={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function t(t){return e[t]??null}const n={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"},r={nan:"NaN"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`無效的輸入值:預期為 instanceof ${e.expected},但收到 ${i}`:`無效的輸入值:預期為 ${t},但收到 ${i}`}case"invalid_value":return 1===e.values.length?`無效的輸入值:預期為 ${Lt(e.values[0])}`:`無效的選項:預期為以下其中之一 ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`數值過大:預期 ${e.origin??"值"} 應為 ${n}${e.maximum.toString()} ${r.unit??"個元素"}`:`數值過大:預期 ${e.origin??"值"} 應為 ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`數值過小:預期 ${e.origin} 應為 ${n}${e.minimum.toString()} ${r.unit}`:`數值過小:預期 ${e.origin} 應為 ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`無效的字串:必須以 "${t.prefix}" 開頭`:"ends_with"===t.format?`無效的字串:必須以 "${t.suffix}" 結尾`:"includes"===t.format?`無效的字串:必須包含 "${t.includes}"`:"regex"===t.format?`無效的字串:必須符合格式 ${t.pattern}`:`無效的 ${n[t.format]??e.format}`}case"not_multiple_of":return`無效的數字:必須為 ${e.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${e.keys.length>1?"們":""}:${yt(e.keys,"、")}`;case"invalid_key":return`${e.origin} 中有無效的鍵值`;case"invalid_union":default:return"無效的輸入值";case"invalid_element":return`${e.origin} 中有無效的值`}}};n.dn(function(){return{localeError:jo()}});const jo=()=>{const e={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function t(t){return e[t]??null}const n={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},r={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return e=>{switch(e.code){case"invalid_type":{const t=r[e.expected]??e.expected,n=qt(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${e.expected}, àmọ̀ a rí ${i}`:`Ìbáwọlé aṣìṣe: a ní láti fi ${t}, àmọ̀ a rí ${i}`}
vendor: 5,541 bytes, line 2
2case"invalid_value":return 1===e.values.length?`Ìbáwọlé aṣìṣe: a ní láti fi ${Lt(e.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${yt(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Tó pọ̀ jù: a ní láti jẹ́ pé ${e.origin??"iye"} ${r.verb} ${n}${e.maximum} ${r.unit}`:`Tó pọ̀ jù: a ní láti jẹ́ ${n}${e.maximum}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Kéré ju: a ní láti jẹ́ pé ${e.origin} ${r.verb} ${n}${e.minimum} ${r.unit}`:`Kéré ju: a ní láti jẹ́ ${n}${e.minimum}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${t.prefix}"`:"ends_with"===t.format?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${t.suffix}"`:"includes"===t.format?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${t.includes}"`:"regex"===t.format?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${t.pattern}`:`Aṣìṣe: ${n[t.format]??e.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${e.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${yt(e.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${e.origin}`;case"invalid_union":default:return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${e.origin}`}}};var Ro;Symbol("ZodOutput"),Symbol("ZodInput");class Lo{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){const n=t[0];return this._map.set(e,n),n&&"object"==typeof n&&"id"in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){const t=this._map.get(e);return t&&"object"==typeof t&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){const t=e._zod.parent;if(t){const n={...this.get(t)??{}};delete n.id;const r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}}(Ro=globalThis).__zod_globalRegistry??(Ro.__zod_globalRegistry=new Lo);const Co=globalThis.__zod_globalRegistry;function Zo(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...Rt(t)})}function Mo(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...Rt(t)})}function Fo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...Rt(t)})}function Jo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Rt(t)})}function Qo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Rt(t)})}function Wo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Rt(t)})}function Go(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Rt(t)})}function qo(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...Rt(t)})}function Vo(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...Rt(t)})}function Ko(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...Rt(t)})}function Ho(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...Rt(t)})}function Bo(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...Rt(t)})}function Xo(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...Rt(t)})}function Yo(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...Rt(t)})}function es(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...Rt(t)})}function ts(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...Rt(t)})}function ns(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Rt(t)})}function rs(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Rt(t)})}function is(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...Rt(t)})}function as(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...Rt(t)})}function os(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...Rt(t)})}function ss(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...Rt(t)})}function us(e,t){return new Sr({check:"less_than",...Rt(t),value:e,inclusive:!1})}function cs(e,t){return new Sr({check:"less_than",...Rt(t),value:e,inclusive:!0})}function ls(e,t){return new xr({check:"greater_than",...Rt(t),value:e,inclusive:!1})}function ds(e,t){return new xr({check:"greater_than",...Rt(t),value:e,inclusive:!0})}function ms(e){return ls(0,e)}function ps(e){return us(0,e)}function fs(e){return cs(0,e)}function gs(e){return ds(0,e)}function hs(e,t){return new zr({check:"multiple_of",...Rt(t),value:e})}function vs(e,t){return new Pr({check:"max_size",...Rt(t),maximum:e})}function ys(e,t){return new Nr({check:"min_size",...Rt(t),minimum:e})}function bs(e,t){return new Er({check:"size_equals",...Rt(t),size:e})}function _s(e,t){return new Dr({check:"max_length",...Rt(t),maximum:e})}function $s(e,t){return new Ar({check:"min_length",...Rt(t),minimum:e})}function ks(e,t){return new Tr({check:"length_equals",...Rt(t),length:e})}function ws(e,t){return new Rr({check:"string_format",format:"regex",...Rt(t),pattern:e})}function Is(e){return new Lr({check:"string_format",format:"lowercase",...Rt(e)})}
vendor: 5,186 bytes, line 2
2function Ss(e){return new Cr({check:"string_format",format:"uppercase",...Rt(e)})}function xs(e,t){return new Zr({check:"string_format",format:"includes",...Rt(t),includes:e})}function zs(e,t){return new Mr({check:"string_format",format:"starts_with",...Rt(t),prefix:e})}function Os(e,t){return new Fr({check:"string_format",format:"ends_with",...Rt(t),suffix:e})}function Us(e,t,n){return new Qr({check:"property",property:e,schema:t,...Rt(n)})}function Ps(e,t){return new Wr({check:"mime_type",mime:e,...Rt(t)})}function Ns(e){return new Gr({check:"overwrite",tx:e})}function Es(e){return Ns(t=>t.normalize(e))}function Ds(){return Ns(e=>e.trim())}function As(){return Ns(e=>e.toLowerCase())}function Ts(){return Ns(e=>e.toUpperCase())}function js(){return Ns(e=>function(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}(e))}function Rs(e){const t=function(e,t){const n=new wr({check:"custom",...Rt(t)});return n._zod.check=e,n}(n=>(n.addIssue=e=>{if("string"==typeof e)n.issues.push(Vt(e,n.value,t._zod.def));else{const r=e;r.fatal&&(r.continue=!1),r.code??(r.code="custom"),r.input??(r.input=n.value),r.inst??(r.inst=t),r.continue??(r.continue=!t._zod.def.abort),n.issues.push(Vt(r))}},e(n.value,n)));return t}function Ls(e,t,n,r={}){const i=Rt(r),a={...Rt(r),check:"string_format",type:"string",format:t,fn:"function"==typeof n?n:e=>n.test(e),...i};n instanceof RegExp&&(a.pattern=n);return new e(a)}function Cs(e){let t=e?.target??"draft-2020-12";return"draft-4"===t&&(t="draft-04"),"draft-7"===t&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??Co,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function Zs(e,t,n={path:[],schemaPath:[]}){var r;const i=e._zod.def,a=t.seen.get(e);if(a){a.count++;return n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema}const o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);const s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{const r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{const n=o.schema,a=t.processors[i.type];if(!a)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}const a=e._zod.parent;a&&(o.ref||(o.ref=a),Zs(a,t,r),t.seen.get(a).isParent=!0)}const u=t.metadataRegistry.get(e);u&&Object.assign(o.schema,u),"input"===t.io&&Js(e)&&(delete o.schema.examples,delete o.schema.default),"input"===t.io&&o.schema._prefault&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault;return t.seen.get(e).schema}function Ms(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=new Map;for(const t of e.seen.entries()){const n=e.metadataRegistry.get(t[0])?.id;if(n){const e=r.get(n);if(e&&e!==t[0])throw new Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}const i=t=>{if(t[1].schema.$ref)return;const r=t[1],{ref:i,defId:a}=(t=>{const r="draft-2020-12"===e.target?"$defs":"definitions";if(e.external){const n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};const a=t[1].defId??t[1].schema.id??"schema"+e.counter++;return t[1].defId=a,{defId:a,ref:`${i("__shared")}#/${r}/${a}`}}if(t[1]===n)return{ref:"#"};const i=`#/${r}/`,a=t[1].schema.id??"__schema"+e.counter++;return{defId:a,ref:i+a}})(t);r.def={...r.schema},a&&(r.defId=a);const o=r.schema;for(const e in o)delete o[e];o.$ref=i};if("throw"===e.cycles)for(const t of e.seen.entries()){const e=t[1];if(e.cycle)throw new Error(`Cycle detected: #/${e.cycle?.join("/")}/<root>\n\nSet the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const n of e.seen.entries()){const r=n[1];if(t===n[0]){i(n);continue}if(e.external){const r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){i(n);continue}}const a=e.metadataRegistry.get(n[0])?.id;a?i(n):(r.cycle||r.count>1&&"ref"===e.reused)&&i(n)}}function Fs(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=t=>{const n=e.seen.get(t);if(null===n.ref)return;const i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);const n=e.seen.get(o),s=n.schema;!s.$ref||"draft-07"!==e.target&&"draft-04"!==e.target&&"openapi-3.0"!==e.target?Object.assign(i,s):(i.allOf=i.allOf??[],i.allOf.push(s)),Object.assign(i,a);if(t._zod.parent===o)for(const e in i)"$ref"!==e&&"allOf"!==e&&(e in a||delete i[e]);if(s.$ref&&n.def)for(const e in i)"$ref"!==e&&"allOf"!==e&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}const s=t._zod.parent;if(s&&s!==o){r(s);const t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(const e in i)"$ref"!==e&&"allOf"!==e&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(const t of[...e.seen.entries()].reverse())r(t[0]);const i={};
vendor: 4,536 bytes, line 2
2if("draft-2020-12"===e.target?i.$schema="https://json-schema.org/draft/2020-12/schema":"draft-07"===e.target?i.$schema="http://json-schema.org/draft-07/schema#":"draft-04"===e.target?i.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const n=e.external.registry.get(t)?.id;if(!n)throw new Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);const a=e.external?.defs??{};for(const t of e.seen.entries()){const e=t[1];e.def&&e.defId&&(a[e.defId]=e.def)}e.external||Object.keys(a).length>0&&("draft-2020-12"===e.target?i.$defs=a:i.definitions=a);try{const n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t["~standard"],jsonSchema:{input:Qs(t,"input",e.processors),output:Qs(t,"output",e.processors)}},enumerable:!1,writable:!1}),n}catch(e){throw new Error("Error converting schema to JSON.")}}function Js(e,t){const n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);const r=e._zod.def;if("transform"===r.type)return!0;if("array"===r.type)return Js(r.element,n);if("set"===r.type)return Js(r.valueType,n);if("lazy"===r.type)return Js(r.getter(),n);if("promise"===r.type||"optional"===r.type||"nonoptional"===r.type||"nullable"===r.type||"readonly"===r.type||"default"===r.type||"prefault"===r.type)return Js(r.innerType,n);if("intersection"===r.type)return Js(r.left,n)||Js(r.right,n);if("record"===r.type||"map"===r.type)return Js(r.keyType,n)||Js(r.valueType,n);if("pipe"===r.type)return Js(r.in,n)||Js(r.out,n);if("object"===r.type){for(const e in r.shape)if(Js(r.shape[e],n))return!0;return!1}if("union"===r.type){for(const e of r.options)if(Js(e,n))return!0;return!1}if("tuple"===r.type){for(const e of r.items)if(Js(e,n))return!0;return!(!r.rest||!Js(r.rest,n))}return!1}const Qs=(e,t,n={})=>r=>{const{libraryOptions:i,target:a}=r??{},o=Cs({...i??{},target:a,io:t,processors:n});return Zs(e,o),Ms(o,e),Fs(o,e)},Ws={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Gs=(e,t,n,r)=>{const i=n;i.type="string";const{minimum:a,maximum:o,format:s,patterns:u,contentEncoding:c}=e._zod.bag;if("number"==typeof a&&(i.minLength=a),"number"==typeof o&&(i.maxLength=o),s&&(i.format=Ws[s]??s,""===i.format&&delete i.format,"time"===s&&delete i.format),c&&(i.contentEncoding=c),u&&u.size>0){const e=[...u];1===e.length?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({..."draft-07"===t.target||"draft-04"===t.target||"openapi-3.0"===t.target?{type:"string"}:{},pattern:e.source}))])}},qs=(e,t,n,r)=>{const i=n,{minimum:a,maximum:o,format:s,multipleOf:u,exclusiveMaximum:c,exclusiveMinimum:l}=e._zod.bag;"string"==typeof s&&s.includes("int")?i.type="integer":i.type="number","number"==typeof l&&("draft-04"===t.target||"openapi-3.0"===t.target?(i.minimum=l,i.exclusiveMinimum=!0):i.exclusiveMinimum=l),"number"==typeof a&&(i.minimum=a,"number"==typeof l&&"draft-04"!==t.target&&(l>=a?delete i.minimum:delete i.exclusiveMinimum)),"number"==typeof c&&("draft-04"===t.target||"openapi-3.0"===t.target?(i.maximum=c,i.exclusiveMaximum=!0):i.exclusiveMaximum=c),"number"==typeof o&&(i.maximum=o,"number"==typeof c&&"draft-04"!==t.target&&(c<=o?delete i.maximum:delete i.exclusiveMaximum)),"number"==typeof u&&(i.multipleOf=u)},Vs=(e,t,n,r)=>{n.type="boolean"},Ks=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw new Error("BigInt cannot be represented in JSON Schema")},Hs=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw new Error("Symbols cannot be represented in JSON Schema")},Bs=(e,t,n,r)=>{"openapi-3.0"===t.target?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},Xs=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw new Error("Undefined cannot be represented in JSON Schema")},Ys=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw new Error("Void cannot be represented in JSON Schema")},eu=(e,t,n,r)=>{n.not={}},tu=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw new Error("Date cannot be represented in JSON Schema")},nu=(e,t,n,r)=>{const i=vt(e._zod.def.entries);i.every(e=>"number"==typeof e)&&(n.type="number"),i.every(e=>"string"==typeof e)&&(n.type="string"),n.enum=i},ru=(e,t,n,r)=>{const i=e._zod.def,a=[];for(const e of i.values)if(void 0===e){if("throw"===t.unrepresentable)throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if("bigint"==typeof e){if("throw"===t.unrepresentable)throw new Error("BigInt literals cannot be represented in JSON Schema");a.push(Number(e))}else a.push(e);if(0===a.length);else if(1===a.length){const e=a[0];
vendor: 4,361 bytes, line 2
2n.type=null===e?"null":typeof e,"draft-04"===t.target||"openapi-3.0"===t.target?n.enum=[e]:n.const=e}else a.every(e=>"number"==typeof e)&&(n.type="number"),a.every(e=>"string"==typeof e)&&(n.type="string"),a.every(e=>"boolean"==typeof e)&&(n.type="boolean"),a.every(e=>null===e)&&(n.type="null"),n.enum=a},iu=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw new Error("NaN cannot be represented in JSON Schema")},au=(e,t,n,r)=>{const i=n,a=e._zod.pattern;if(!a)throw new Error("Pattern not found in template literal");i.type="string",i.pattern=a.source},ou=(e,t,n,r)=>{const i=n,a={type:"string",format:"binary",contentEncoding:"binary"},{minimum:o,maximum:s,mime:u}=e._zod.bag;void 0!==o&&(a.minLength=o),void 0!==s&&(a.maxLength=s),u?1===u.length?(a.contentMediaType=u[0],Object.assign(i,a)):(Object.assign(i,a),i.anyOf=u.map(e=>({contentMediaType:e}))):Object.assign(i,a)},su=(e,t,n,r)=>{n.type="boolean"},uu=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw new Error("Custom types cannot be represented in JSON Schema")},cu=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw new Error("Function types cannot be represented in JSON Schema")},lu=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw new Error("Transforms cannot be represented in JSON Schema")},du=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw new Error("Map cannot be represented in JSON Schema")},mu=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw new Error("Set cannot be represented in JSON Schema")},pu=(e,t,n,r)=>{const i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;"number"==typeof o&&(i.minItems=o),"number"==typeof s&&(i.maxItems=s),i.type="array",i.items=Zs(a.element,t,{...r,path:[...r.path,"items"]})},fu=(e,t,n,r)=>{const i=n,a=e._zod.def;i.type="object",i.properties={};const o=a.shape;for(const e in o)i.properties[e]=Zs(o[e],t,{...r,path:[...r.path,"properties",e]});const s=new Set(Object.keys(o)),u=new Set([...s].filter(e=>{const n=a.shape[e]._zod;return"input"===t.io?void 0===n.optin:void 0===n.optout}));u.size>0&&(i.required=Array.from(u)),"never"===a.catchall?._zod.def.type?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=Zs(a.catchall,t,{...r,path:[...r.path,"additionalProperties"]})):"output"===t.io&&(i.additionalProperties=!1)},gu=(e,t,n,r)=>{const i=e._zod.def,a=!1===i.inclusive,o=i.options.map((e,n)=>Zs(e,t,{...r,path:[...r.path,a?"oneOf":"anyOf",n]}));a?n.oneOf=o:n.anyOf=o},hu=(e,t,n,r)=>{const i=e._zod.def,a=Zs(i.left,t,{...r,path:[...r.path,"allOf",0]}),o=Zs(i.right,t,{...r,path:[...r.path,"allOf",1]}),s=e=>"allOf"in e&&1===Object.keys(e).length,u=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]];n.allOf=u},vu=(e,t,n,r)=>{const i=n,a=e._zod.def;i.type="array";const o="draft-2020-12"===t.target?"prefixItems":"items",s="draft-2020-12"===t.target||"openapi-3.0"===t.target?"items":"additionalItems",u=a.items.map((e,n)=>Zs(e,t,{...r,path:[...r.path,o,n]})),c=a.rest?Zs(a.rest,t,{...r,path:[...r.path,s,..."openapi-3.0"===t.target?[a.items.length]:[]]}):null;"draft-2020-12"===t.target?(i.prefixItems=u,c&&(i.items=c)):"openapi-3.0"===t.target?(i.items={anyOf:u},c&&i.items.anyOf.push(c),i.minItems=u.length,c||(i.maxItems=u.length)):(i.items=u,c&&(i.additionalItems=c));const{minimum:l,maximum:d}=e._zod.bag;"number"==typeof l&&(i.minItems=l),"number"==typeof d&&(i.maxItems=d)},yu=(e,t,n,r)=>{const i=n,a=e._zod.def;i.type="object";const o=a.keyType,s=o._zod.bag,u=s?.patterns;if("loose"===a.mode&&u&&u.size>0){const e=Zs(a.valueType,t,{...r,path:[...r.path,"patternProperties","*"]});i.patternProperties={};for(const t of u)i.patternProperties[t.source]=e}else"draft-07"!==t.target&&"draft-2020-12"!==t.target||(i.propertyNames=Zs(a.keyType,t,{...r,path:[...r.path,"propertyNames"]})),i.additionalProperties=Zs(a.valueType,t,{...r,path:[...r.path,"additionalProperties"]});const c=o._zod.values;if(c){const e=[...c].filter(e=>"string"==typeof e||"number"==typeof e);e.length>0&&(i.required=e)}},bu=(e,t,n,r)=>{const i=e._zod.def,a=Zs(i.innerType,t,r),o=t.seen.get(e);"openapi-3.0"===t.target?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:"null"}]},_u=(e,t,n,r)=>{const i=e._zod.def;Zs(i.innerType,t,r);t.seen.get(e).ref=i.innerType},$u=(e,t,n,r)=>{const i=e._zod.def;Zs(i.innerType,t,r);t.seen.get(e).ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},ku=(e,t,n,r)=>{const i=e._zod.def;Zs(i.innerType,t,r);
2t.seen.get(e).ref=i.innerType,"input"===t.io&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},wu=(e,t,n,r)=>{const i=e._zod.def;Zs(i.innerType,t,r);let a;t.seen.get(e).ref=i.innerType;try{a=i.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=a},Iu=(e,t,n,r)=>{const i=e._zod.def,a="input"===t.io?"transform"===i.in._zod.def.type?i.out:i.in:i.out;Zs(a,t,r);t.seen.get(e).ref=a},Su=(e,t,n,r)=>{const i=e._zod.def;Zs(i.innerType,t,r);t.seen.get(e).ref=i.innerType,n.readOnly=!0},xu=(e,t,n,r)=>{const i=e._zod.def;Zs(i.innerType,t,r);t.seen.get(e).ref=i.innerType},zu=(e,t,n,r)=>{const i=e._zod.def;Zs(i.innerType,t,r);t.seen.get(e).ref=i.innerType},Ou=(e,t,n,r)=>{const i=e._zod.innerType;Zs(i,t,r);t.seen.get(e).ref=i};const Uu=mt("ZodISODateTime",(e,t)=>{ci.init(e,t),tc.init(e,t)});function Pu(e){return function(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Rt(t)})}(Uu,e)}const Nu=mt("ZodISODate",(e,t)=>{li.init(e,t),tc.init(e,t)});function Eu(e){return function(e,t){return new e({type:"string",format:"date",check:"string_format",...Rt(t)})}(Nu,e)}const Du=mt("ZodISOTime",(e,t)=>{di.init(e,t),tc.init(e,t)});function Au(e){return function(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...Rt(t)})}(Du,e)}const Tu=mt("ZodISODuration",(e,t)=>{mi.init(e,t),tc.init(e,t)});function ju(e){return function(e,t){return new e({type:"string",format:"duration",check:"string_format",...Rt(t)})}(Tu,e)}const Ru=(e,t)=>{Ht.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>function(e,t=e=>e.message){const n={_errors:[]},r=e=>{for(const i of e.issues)if("invalid_union"===i.code&&i.errors.length)i.errors.map(e=>r({issues:e}));else if("invalid_key"===i.code)r({issues:i.issues});else if("invalid_element"===i.code)r({issues:i.issues});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(e),n}(e,t)},flatten:{value:t=>function(e,t=e=>e.message){const n={},r=[];for(const i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,bt,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,bt,2)}},isEmpty:{get:()=>0===e.issues.length}})},Lu=(mt("ZodError",Ru),mt("ZodError",Ru,{Parent:Error})),Cu=Xt(Lu),Zu=en(Lu),Mu=nn(Lu),Fu=an(Lu),Ju=sn(Lu),Qu=un(Lu),Wu=cn(Lu),Gu=ln(Lu),qu=dn(Lu),Vu=mn(Lu),Ku=pn(Lu),Hu=fn(Lu),Bu=mt("ZodType",(e,t)=>(Kr.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:Qs(e,"input"),output:Qs(e,"output")}}),e.toJSONSchema=((e,t={})=>n=>{const r=Cs({...n,processors:t});return Zs(e,r),Ms(r,e),Fs(r,e)})(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone(xt(t,{checks:[...t.checks??[],...n.map(e=>"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e)]}),{parent:!0}),e.with=e.check,e.clone=(t,n)=>jt(e,t,n),e.brand=()=>e,e.register=(t,n)=>(t.add(e,n),e),e.parse=(t,n)=>Cu(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>Mu(e,t,n),e.parseAsync=async(t,n)=>Zu(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>Fu(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>Ju(e,t,n),e.decode=(t,n)=>Qu(e,t,n),e.encodeAsync=async(t,n)=>Wu(e,t,n),e.decodeAsync=async(t,n)=>Gu(e,t,n),e.safeEncode=(t,n)=>qu(e,t,n),e.safeDecode=(t,n)=>Vu(e,t,n),e.safeEncodeAsync=async(t,n)=>Ku(e,t,n),e.safeDecodeAsync=async(t,n)=>Hu(e,t,n),e.refine=(t,n)=>e.check(Qd(t,n)),e.superRefine=t=>e.check(Wd(t)),e.overwrite=t=>e.check(Ns(t)),e.optional=()=>cd(e),e.exactOptional=()=>dd(e),e.nullable=()=>pd(e),e.nullish=()=>cd(pd(e)),e.nonoptional=t=>_d(e,t),e.array=()=>Ul(e),e.or=t=>jl([e,t]),e.and=t=>Fl(e,t),e.transform=t=>Od(e,sd(t)),e.default=t=>hd(e,t),e.prefault=t=>yd(e,t),e.catch=t=>Id(e,t),e.pipe=t=>Od(e,t),e.readonly=()=>Ed(e),e.describe=t=>{const n=e.clone();return Co.add(n,{description:t}),n},Object.defineProperty(e,"description",{get:()=>Co.get(e)?.description,configurable:!0}),e.meta=(...t)=>{if(0===t.length)return Co.get(e);const n=e.clone();return Co.add(n,t[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>
2e.safeParse(null).success,e.apply=t=>t(e),e)),Xu=mt("_ZodString",(e,t)=>{Hr.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Gs(e,t,n);const n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...t)=>e.check(ws(...t)),e.includes=(...t)=>e.check(xs(...t)),e.startsWith=(...t)=>e.check(zs(...t)),e.endsWith=(...t)=>e.check(Os(...t)),e.min=(...t)=>e.check($s(...t)),e.max=(...t)=>e.check(_s(...t)),e.length=(...t)=>e.check(ks(...t)),e.nonempty=(...t)=>e.check($s(1,...t)),e.lowercase=t=>e.check(Is(t)),e.uppercase=t=>e.check(Ss(t)),e.trim=()=>e.check(Ds()),e.normalize=(...t)=>e.check(Es(...t)),e.toLowerCase=()=>e.check(As()),e.toUpperCase=()=>e.check(Ts()),e.slugify=()=>e.check(js())}),Yu=mt("ZodString",(e,t)=>{Hr.init(e,t),Xu.init(e,t),e.email=t=>e.check(Zo(nc,t)),e.url=t=>e.check(Go(dc,t)),e.jwt=t=>e.check(ss(Qc,t)),e.emoji=t=>e.check(qo(fc,t)),e.guid=t=>e.check(Mo(ic,t)),e.uuid=t=>e.check(Fo(oc,t)),e.uuidv4=t=>e.check(Jo(oc,t)),e.uuidv6=t=>e.check(Qo(oc,t)),e.uuidv7=t=>e.check(Wo(oc,t)),e.nanoid=t=>e.check(Vo(hc,t)),e.guid=t=>e.check(Mo(ic,t)),e.cuid=t=>e.check(Ko(yc,t)),e.cuid2=t=>e.check(Ho(_c,t)),e.ulid=t=>e.check(Bo(kc,t)),e.base64=t=>e.check(is(Lc,t)),e.base64url=t=>e.check(as(Zc,t)),e.xid=t=>e.check(Xo(Ic,t)),e.ksuid=t=>e.check(Yo(xc,t)),e.ipv4=t=>e.check(es(Oc,t)),e.ipv6=t=>e.check(ts(Ec,t)),e.cidrv4=t=>e.check(ns(Ac,t)),e.cidrv6=t=>e.check(rs(jc,t)),e.e164=t=>e.check(os(Fc,t)),e.datetime=t=>e.check(Pu(t)),e.date=t=>e.check(Eu(t)),e.time=t=>e.check(Au(t)),e.duration=t=>e.check(ju(t))});function ec(e){return function(e,t){return new e({type:"string",...Rt(t)})}(Yu,e)}const tc=mt("ZodStringFormat",(e,t)=>{Br.init(e,t),Xu.init(e,t)}),nc=mt("ZodEmail",(e,t)=>{ei.init(e,t),tc.init(e,t)});function rc(e){return Zo(nc,e)}const ic=mt("ZodGUID",(e,t)=>{Xr.init(e,t),tc.init(e,t)});function ac(e){return Mo(ic,e)}const oc=mt("ZodUUID",(e,t)=>{Yr.init(e,t),tc.init(e,t)});function sc(e){return Fo(oc,e)}function uc(e){return Jo(oc,e)}function cc(e){return Qo(oc,e)}function lc(e){return Wo(oc,e)}const dc=mt("ZodURL",(e,t)=>{ti.init(e,t),tc.init(e,t)});function mc(e){return Go(dc,e)}function pc(e){return Go(dc,{protocol:/^https?$/,hostname:Jn,...Rt(e)})}const fc=mt("ZodEmoji",(e,t)=>{ni.init(e,t),tc.init(e,t)});function gc(e){return qo(fc,e)}const hc=mt("ZodNanoID",(e,t)=>{ri.init(e,t),tc.init(e,t)});function vc(e){return Vo(hc,e)}const yc=mt("ZodCUID",(e,t)=>{ii.init(e,t),tc.init(e,t)});function bc(e){return Ko(yc,e)}const _c=mt("ZodCUID2",(e,t)=>{ai.init(e,t),tc.init(e,t)});function $c(e){return Ho(_c,e)}const kc=mt("ZodULID",(e,t)=>{oi.init(e,t),tc.init(e,t)});function wc(e){return Bo(kc,e)}const Ic=mt("ZodXID",(e,t)=>{si.init(e,t),tc.init(e,t)});function Sc(e){return Xo(Ic,e)}const xc=mt("ZodKSUID",(e,t)=>{ui.init(e,t),tc.init(e,t)});function zc(e){return Yo(xc,e)}const Oc=mt("ZodIPv4",(e,t)=>{pi.init(e,t),tc.init(e,t)});function Uc(e){return es(Oc,e)}const Pc=mt("ZodMAC",(e,t)=>{gi.init(e,t),tc.init(e,t)});function Nc(e){return function(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...Rt(t)})}(Pc,e)}const Ec=mt("ZodIPv6",(e,t)=>{fi.init(e,t),tc.init(e,t)});function Dc(e){return ts(Ec,e)}const Ac=mt("ZodCIDRv4",(e,t)=>{hi.init(e,t),tc.init(e,t)});function Tc(e){return ns(Ac,e)}const jc=mt("ZodCIDRv6",(e,t)=>{vi.init(e,t),tc.init(e,t)});function Rc(e){return rs(jc,e)}const Lc=mt("ZodBase64",(e,t)=>{bi.init(e,t),tc.init(e,t)});function Cc(e){return is(Lc,e)}const Zc=mt("ZodBase64URL",(e,t)=>{_i.init(e,t),tc.init(e,t)});function Mc(e){return as(Zc,e)}const Fc=mt("ZodE164",(e,t)=>{$i.init(e,t),tc.init(e,t)});function Jc(e){return os(Fc,e)}const Qc=mt("ZodJWT",(e,t)=>{ki.init(e,t),tc.init(e,t)});function Wc(e){return ss(Qc,e)}const Gc=mt("ZodCustomStringFormat",(e,t)=>{wi.init(e,t),tc.init(e,t)});function qc(e,t,n={}){return Ls(Gc,e,t,n)}function Vc(e){return Ls(Gc,"hostname",Fn,e)}function Kc(e){return Ls(Gc,"hex",ar,e)}function Hc(e,t){const n=`${e}_${t?.enc??"hex"}`,i=r[n];if(!i)throw new Error(`Unrecognized hash format: ${n}`);return Ls(Gc,n,i,t)}const Bc=mt("ZodNumber",(e,t)=>{Ii.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>qs(e,t,n),e.gt=(t,n)=>e.check(ls(t,n)),e.gte=(t,n)=>e.check(ds(t,n)),e.min=(t,n)=>e.check(ds(t,n)),e.lt=(t,n)=>e.check(us(t,n)),e.lte=(t,n)=>e.check(cs(t,n)),e.max=(t,n)=>e.check(cs(t,n)),e.int=t=>e.check(el(t)),e.safe=t=>e.check(el(t)),e.positive=t=>e.check(ls(0,t)),e.nonnegative=t=>e.check(ds(0,t)),e.negative=t=>e.check(us(0,t)),e.nonpositive=t=>e.check(cs(0,t)),e.multipleOf=(t,n)=>e.check(hs(t,n)),e.step=(t,n)=>e.check(hs(t,n)),e.finite=()=>e;const n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function Xc(e){return function(e,t){return new e({type:"number",checks:[],...Rt(t)})}(Bc,e)}const Yc=mt("ZodNumberFormat",(e,t)=>{Si.init(e,t),Bc.init(e,t)});function el(e){return function(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...Rt(t)})}(Yc,e)}function tl(e){return function(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...Rt(t)})}(Yc,e)}function nl(e){return function(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...Rt(t)})}(Yc,e)}function rl(e){return function(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...Rt(t)})}(Yc,e)}function il(e){return function(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...Rt(t)})}(Yc,e)}const al=mt("ZodBoolean",(e,t)=>{xi.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>Vs(0,0,t)});function ol(e){return function(e,t){return new e({type:"boolean",...Rt(t)})}(al,e)}const sl=mt("ZodBigInt",(e,t)=>{zi.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>Ks(0,e),e.gte=(t,n)=>e.check(ds(t,n)),e.min=(t,n)=>e.check(ds(t,n)),e.gt=(t,n)=>e.check(ls(t,n)),e.gte=(t,n)=>e.check(ds(t,n)),e.min=(t,n)=>e.check(ds(t,n)),e.lt=(t,n)=>e.check(us(t,n)),e.lte=(t,n)=>e.check(cs(t,n)),e.max=(t,n)=>e.check(cs(t,n)),e.positive=t=>e.check(ls(BigInt(0),t)),e.negative=t=>e.check(us(BigInt(0),t)),e.nonpositive=t=>e.check(cs(BigInt(0),t)),e.nonnegative=t=>e.check(ds(BigInt(0),t)),e.multipleOf=(t,n)=>e.check(hs(t,n));const n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});function ul(e){return function(e,t){return new e({type:"bigint",...Rt(t)})}(sl,e)}const cl=mt("ZodBigIntFormat",(e,t)=>{Oi.init(e,t),sl.init(e,t)});function ll(e){return function(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...Rt(t)})}(cl,e)}function dl(e){return function(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...Rt(t)})}(cl,e)}const ml=mt("ZodSymbol",(e,t)=>{Ui.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>Hs(0,e)});function pl(e){return function(e,t){return new e({type:"symbol",...Rt(t)})}(ml,e)}const fl=mt("ZodUndefined",(e,t)=>{Pi.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>Xs(0,e)});function gl(e){return function(e,t){return new e({type:"undefined",...Rt(t)})}(fl,e)}const hl=mt("ZodNull",(e,t)=>{Ni.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>Bs(0,e,t)});function vl(e){return function(e,t){return new e({type:"null",...Rt(t)})}(hl,e)}const yl=mt("ZodAny",(e,t)=>{Ei.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>{}});function bl(){return function(e){return new e({type:"any"})}(yl)}const _l=mt("ZodUnknown",(e,t)=>{Di.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>{}});function $l(){return function(e){return new e({type:"unknown"})}(_l)}const kl=mt("ZodNever",(e,t)=>{Ai.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>eu(0,0,t)}
vendor: 7,250 bytes, line 2
2);function wl(e){return function(e,t){return new e({type:"never",...Rt(t)})}(kl,e)}const Il=mt("ZodVoid",(e,t)=>{Ti.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>Ys(0,e)});function Sl(e){return function(e,t){return new e({type:"void",...Rt(t)})}(Il,e)}const xl=mt("ZodDate",(e,t)=>{ji.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>tu(0,e),e.min=(t,n)=>e.check(ds(t,n)),e.max=(t,n)=>e.check(cs(t,n));const n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function zl(e){return function(e,t){return new e({type:"date",...Rt(t)})}(xl,e)}const Ol=mt("ZodArray",(e,t)=>{Li.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>pu(e,t,n,r),e.element=t.element,e.min=(t,n)=>e.check($s(t,n)),e.nonempty=t=>e.check($s(1,t)),e.max=(t,n)=>e.check(_s(t,n)),e.length=(t,n)=>e.check(ks(t,n)),e.unwrap=()=>e.element});function Ul(e,t){return function(e,t,n){return new e({type:"array",element:t,...Rt(n)})}(Ol,e,t)}function Pl(e){const t=e._zod.def.shape;return ed(Object.keys(t))}const Nl=mt("ZodObject",(e,t)=>{Ji.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>fu(e,t,n,r),It(e,"shape",()=>t.shape),e.keyof=()=>ed(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:$l()}),e.loose=()=>e.clone({...e._zod.def,catchall:$l()}),e.strict=()=>e.clone({...e._zod.def,catchall:wl()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>function(e,t){if(!Nt(t))throw new Error("Invalid input to extend: expected a plain object");const n=e._zod.def.checks;if(n&&n.length>0){const n=e._zod.def.shape;for(const e in t)if(void 0!==Object.getOwnPropertyDescriptor(n,e))throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const r=xt(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t};return St(this,"shape",n),n}});return jt(e,r)}(e,t),e.safeExtend=t=>function(e,t){if(!Nt(t))throw new Error("Invalid input to safeExtend: expected a plain object");const n=xt(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t};return St(this,"shape",n),n}});return jt(e,n)}(e,t),e.merge=t=>function(e,t){const n=xt(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t._zod.def.shape};return St(this,"shape",n),n},get catchall(){return t._zod.def.catchall},checks:[]});return jt(e,n)}(e,t),e.pick=t=>function(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");return jt(e,xt(e._zod.def,{get shape(){const e={};for(const r in t){if(!(r in n.shape))throw new Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=n.shape[r])}return St(this,"shape",e),e},checks:[]}))}(e,t),e.omit=t=>function(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const i=xt(e._zod.def,{get shape(){const r={...e._zod.def.shape};for(const e in t){if(!(e in n.shape))throw new Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return St(this,"shape",r),r},checks:[]});return jt(e,i)}(e,t),e.partial=(...t)=>function(e,t,n){const r=t._zod.def.checks;if(r&&r.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const i=xt(t._zod.def,{get shape(){const r=t._zod.def.shape,i={...r};if(n)for(const t in n){if(!(t in r))throw new Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=e?new e({type:"optional",innerType:r[t]}):r[t])}else for(const t in r)i[t]=e?new e({type:"optional",innerType:r[t]}):r[t];return St(this,"shape",i),i},checks:[]});return jt(t,i)}(ud,e,t[0]),e.required=(...t)=>function(e,t,n){const r=xt(t._zod.def,{get shape(){const r=t._zod.def.shape,i={...r};if(n)for(const t in n){if(!(t in i))throw new Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=new e({type:"nonoptional",innerType:r[t]}))}else for(const t in r)i[t]=new e({type:"nonoptional",innerType:r[t]});return St(this,"shape",i),i}});return jt(t,r)}(bd,e,t[0])});function El(e,t){const n={type:"object",shape:e??{},...Rt(t)};return new Nl(n)}function Dl(e,t){return new Nl({type:"object",shape:e,catchall:wl(),...Rt(t)})}function Al(e,t){return new Nl({type:"object",shape:e,catchall:$l(),...Rt(t)})}const Tl=mt("ZodUnion",(e,t)=>{Wi.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>gu(e,t,n,r),e.options=t.options});function jl(e,t){return new Tl({type:"union",options:e,...Rt(t)})}const Rl=mt("ZodXor",(e,t)=>{Tl.init(e,t),qi.init(e,t),e._zod.processJSONSchema=(t,n,r)=>gu(e,t,n,r),e.options=t.options});function Ll(e,t){return new Rl({type:"union",options:e,inclusive:!1,...Rt(t)})}const Cl=mt("ZodDiscriminatedUnion",(e,t)=>{Tl.init(e,t),Vi.init(e,t)});function Zl(e,t,n){return new Cl({type:"union",options:t,discriminator:e,...Rt(n)})}const Ml=mt("ZodIntersection",(e,t)=>{Ki.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>hu(e,t,n,r)});function Fl(e,t){return new Ml({type:"intersection",left:e,right:t})}const Jl=mt("ZodTuple",(e,t)=>{Xi.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>vu(e,t,n,r),e.rest=t=>e.clone({...e._zod.def,rest:t})});function Ql(e,t,n){const r=t instanceof Kr;return new Jl({type:"tuple",items:e,rest:r?t:null,...Rt(r?n:t)})}const Wl=mt("ZodRecord",(e,t)=>{ea.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>yu(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function Gl(e,t,n){return new Wl({type:"record",keyType:e,valueType:t,...Rt(n)})}function ql(e,t,n){const r=jt(e);return r._zod.values=void 0,new Wl({type:"record",keyType:r,valueType:t,...Rt(n)})}function Vl(e,t,n){return new Wl({type:"record",keyType:e,valueType:t,mode:"loose",...Rt(n)})}const Kl=mt("ZodMap",(e,t)=>{ta.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>du(0,e),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...t)=>e.check(ys(...t)),e.nonempty=t=>e.check(ys(1,t)),e.max=(...t)=>e.check(vs(...t)),e.size=(...t)=>e.check(bs(...t))});function Hl(e,t,n){return new Kl({type:"map",keyType:e,valueType:t,...Rt(n)})}const Bl=mt("ZodSet",(e,t)=>{ra.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>mu(0,e),e.min=(...t)=>e.check(ys(...t)),e.nonempty=t=>e.check(ys(1,t)),e.max=(...t)=>e.check(vs(...t)),e.size=(...t)=>e.check(bs(...t))});function Xl(e,t){return new Bl({type:"set",valueType:e,...Rt(t)})}const Yl=mt("ZodEnum",(e,t)=>{aa.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>nu(e,0,n),e.enum=t.entries,e.options=Object.values(t.entries);const n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{const i={};for(const r of e){if(!n.has(r))throw new Error(`Key ${r} not found in enum`);i[r]=t.entries[r]}return new Yl({...t,checks:[],...Rt(r),entries:i})},e.exclude=(e,r)=>{const i={...t.entries};for(const t of e){if(!n.has(t))throw new Error(`Key ${t} not found in enum`);delete i[t]}return new Yl({...t,checks:[],...Rt(r),entries:i})}});function ed(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e;return new Yl({type:"enum",entries:n,...Rt(t)})}function td(e,t){return new Yl({type:"enum",entries:e,...Rt(t)})}const nd=mt("ZodLiteral",(e,t)=>{oa.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ru(e,t,n),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if
2(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function rd(e,t){return new nd({type:"literal",values:Array.isArray(e)?e:[e],...Rt(t)})}const id=mt("ZodFile",(e,t)=>{sa.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ou(e,0,n),e.min=(t,n)=>e.check(ys(t,n)),e.max=(t,n)=>e.check(vs(t,n)),e.mime=(t,n)=>e.check(Ps(Array.isArray(t)?t:[t],n))});function ad(e){return function(e,t){return new e({type:"file",...Rt(t)})}(id,e)}const od=mt("ZodTransform",(e,t)=>{ua.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>lu(0,e),e._zod.parse=(n,r)=>{if("backward"===r.direction)throw new ft(e.constructor.name);n.addIssue=r=>{if("string"==typeof r)n.issues.push(Vt(r,n.value,t));else{const t=r;t.fatal&&(t.continue=!1),t.code??(t.code="custom"),t.input??(t.input=n.value),t.inst??(t.inst=e),n.issues.push(Vt(t))}};const i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function sd(e){return new od({type:"transform",transform:e})}const ud=mt("ZodOptional",(e,t)=>{la.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>zu(e,t,0,r),e.unwrap=()=>e._zod.def.innerType});function cd(e){return new ud({type:"optional",innerType:e})}const ld=mt("ZodExactOptional",(e,t)=>{da.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>zu(e,t,0,r),e.unwrap=()=>e._zod.def.innerType});function dd(e){return new ld({type:"optional",innerType:e})}const md=mt("ZodNullable",(e,t)=>{ma.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>bu(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function pd(e){return new md({type:"nullable",innerType:e})}function fd(e){return cd(pd(e))}const gd=mt("ZodDefault",(e,t)=>{pa.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>$u(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function hd(e,t){return new gd({type:"default",innerType:e,get defaultValue(){return"function"==typeof t?t():Et(t)}})}const vd=mt("ZodPrefault",(e,t)=>{ga.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ku(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function yd(e,t){return new vd({type:"prefault",innerType:e,get defaultValue(){return"function"==typeof t?t():Et(t)}})}const bd=mt("ZodNonOptional",(e,t)=>{ha.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_u(e,t,0,r),e.unwrap=()=>e._zod.def.innerType});function _d(e,t){return new bd({type:"nonoptional",innerType:e,...Rt(t)})}const $d=mt("ZodSuccess",(e,t)=>{ya.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>su(0,0,t),e.unwrap=()=>e._zod.def.innerType});function kd(e){return new $d({type:"success",innerType:e})}const wd=mt("ZodCatch",(e,t)=>{ba.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>wu(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Id(e,t){return new wd({type:"catch",innerType:e,catchValue:"function"==typeof t?t:()=>t})}const Sd=mt("ZodNaN",(e,t)=>{_a.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>iu(0,e)});function xd(e){return function(e,t){return new e({type:"nan",...Rt(t)})}(Sd,e)}const zd=mt("ZodPipe",(e,t)=>{$a.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Iu(e,t,0,r),e.in=t.in,e.out=t.out});function Od(e,t){return new zd({type:"pipe",in:e,out:t})}const Ud=mt("ZodCodec",(e,t)=>{zd.init(e,t),wa.init(e,t)});function Pd(e,t,n){return new Ud({type:"pipe",in:e,out:t,transform:n.decode,reverseTransform:n.encode})}const Nd=mt("ZodReadonly",(e,t)=>{xa.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Su(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Ed(e){return new Nd({type:"readonly",innerType:e})}const Dd=mt("ZodTemplateLiteral",(e,t)=>{Oa.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>au(e,0,n)});function Ad(e,t){return new Dd({type:"template_literal",parts:e,...Rt(t)})}const Td=mt("ZodLazy",(e,t)=>{Na.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ou(e,t,0,r),e.unwrap=()=>e._zod.def.getter()});
2function jd(e){return new Td({type:"lazy",getter:e})}const Rd=mt("ZodPromise",(e,t)=>{Pa.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xu(e,t,0,r),e.unwrap=()=>e._zod.def.innerType});function Ld(e){return new Rd({type:"promise",innerType:e})}const Cd=mt("ZodFunction",(e,t)=>{Ua.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>cu(0,e)});function Zd(e){return new Cd({type:"function",input:Array.isArray(e?.input)?Ql(e?.input):e?.input??Ul($l()),output:e?.output??$l()})}const Md=mt("ZodCustom",(e,t)=>{Ea.init(e,t),Bu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>uu(0,e)});function Fd(e){const t=new wr({check:"custom"});return t._zod.check=e,t}function Jd(e,t){return function(e,t,n){const r=Rt(n);return r.abort??(r.abort=!0),new e({type:"custom",check:"custom",fn:t,...r})}(Md,e??(()=>!0),t)}function Qd(e,t={}){return function(e,t,n){return new e({type:"custom",check:"custom",fn:t,...Rt(n)})}(Md,e,t)}function Wd(e){return Rs(e)}const Gd=function(e){const t=new wr({check:"describe"});return t._zod.onattach=[t=>{const n=Co.get(t)??{};Co.add(t,{...n,description:e})}],t._zod.check=()=>{},t},qd=function(e){const t=new wr({check:"meta"});return t._zod.onattach=[t=>{const n=Co.get(t)??{};Co.add(t,{...n,...e})}],t._zod.check=()=>{},t};function Vd(e,t={}){const n=new Md({type:"custom",check:"custom",fn:t=>t instanceof e,abort:!0,...Rt(t)});return n._zod.bag.Class=e,n._zod.check=t=>{t.value instanceof e||t.issues.push({code:"invalid_type",expected:e.name,input:t.value,inst:n,path:[...n._zod.def.path??[]]})},n}const Kd=(...e)=>function(e,t){const n=Rt(t);let r=n.truthy??["true","1","yes","on","y","enabled"],i=n.falsy??["false","0","no","off","n","disabled"];"sensitive"!==n.case&&(r=r.map(e=>"string"==typeof e?e.toLowerCase():e),i=i.map(e=>"string"==typeof e?e.toLowerCase():e));const a=new Set(r),o=new Set(i),s=e.Codec??wa,u=e.Boolean??xi,c=new s({type:"pipe",in:new(e.String??Hr)({type:"string",error:n.error}),out:new u({type:"boolean",error:n.error}),transform:(e,t)=>{let r=e;return"sensitive"!==n.case&&(r=r.toLowerCase()),!!a.has(r)||!o.has(r)&&(t.issues.push({code:"invalid_value",expected:"stringbool",values:[...a,...o],input:t.value,inst:c,continue:!1}),{})},reverseTransform:(e,t)=>!0===e?r[0]||"true":i[0]||"false",error:n.error});return c}({Codec:Ud,Boolean:al,String:Yu},...e);function Hd(e){const t=jd(()=>jl([ec(e),Xc(),ol(),vl(),Ul(t),Gl(ec(),t)]));return t}function Bd(e,t){return Od(sd(e),t)}var Xd;Xd||(Xd={});new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);ht(Qa());const Yd=El({originalUrl:ec(),affiliateUrl:ec()}),em=El({links:Ul(Yd)});let tm;!function(e){e.asin="data-aps-asin",e.tag="data-aps-asc-tag",e.ascsubtag="data-aps-asc-subtag"}(tm||(tm={}));const nm={[tm.asin]:null,[tm.tag]:null,[tm.ascsubtag]:null},rm=e=>{try{return!!new URL(e)}catch{return!1}},im=e=>{const t=/amazon\.com(\/|$)/;try{const n=new URL(e),{searchParams:r,hostname:i}=n;if(i.match(t))return(e=>{const t={...nm},n=(e=>{const t=e.pathname.split("/");let n=-1;for(let e=0;e<t.length;e++){const r=t[e];if(e===n)return t[e];"dp"===r.toLowerCase()&&(n=e+1)}return""})(e);n&&(t[tm.asin]=n);const r=Object.keys(tm);return e.searchParams.forEach((e,n)=>{r.includes(n)&&(t[tm[n]]=e)}),t})(n);for(const e of r.values())if(rm(e)){const t=im(e);if(t)return t}}catch(e){}return null},am=()=>!!window.apstag?.queue,om=(e,t)=>{const n=t?.getAttribute(tm.asin);return n&&e&&window.futureNCA?(window.futureNCA.bids[n]={isRequestMade:!0,href:e},e):t?.getAttribute("href")||""},sm=()=>{window.apstag.nativeContent?.().registerHook("nativeContent.updateClickUrl",om),window.apstag.nativeContent?.().enable()},um=()=>{const{apstag:e}=window;e.queue.push(sm),(()=>{if(window.futureNCA)for(const[e,t]of Object.entries(window.futureNCA.bids))window.futureNCA.bids[e]={...t,isRequestMade:!0}})()},cm={isListenerAdded:!1,bids:{}},lm=()=>{window.futureNCA=window.futureNCA||cm},dm=()=>{am()&&(lm(),"complete"!==document.readyState?window.futureNCA&&!window.futureNCA?.isListenerAdded&&(window.addEventListener("load",um),window.futureNCA.isListenerAdded=!0):um())},mm=e=>e?window.futureNCA?.bids[e]:null,pm=e=>{lm(),window.futureNCA&&!window.futureNCA.bids[e]&&(window.futureNCA.bids[e]={isRequestMade:!1,href:""})};let fm;!function(e){e.HAWK_PROCESS_ARTICLE="processArticle",e.HAWK_URL_CHANGE="HAWK_URL_CHANGE"}(fm||(fm={}));const gm=()=>{const{trackingArea:e}=S();return e??te(ee.FTR_COUNTRY_CODE)};function hm(e){return hm="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},hm(e)}function vm(e){var t=function(e,t){if("object"!=hm(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=hm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==hm(t)?t:t+""}function ym(e,t,n){return(t=vm(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class bm{getResetUrl(e){const t=new(re())(e);return t.hostname().match("amzn..+")?(t.hostname(t.hostname().replace("amzn","amazon")),t.toString()):null}}class _m{constructor(){ym(this,"trackedLinkPattern",void 0),ym(this,"resetParams",void 0),this.trackedLinkPattern="awin1.com",this.resetParams=["p","ued"]}getResetUrl(e){if(-1!==e.indexOf(this.trackedLinkPattern)){const t=new(re())(e),n=t.query(!0),r=this.resetParams.find(e=>n[e]);if(r){let e;const i=n[r];if(e=Array.isArray(i)?i.shift():i,Number.isNaN(parseFloat(e||""))){return e+t.hash()}}}return null}}class $m{constructor(){ym(this,"allTrackedLinkPatterns",void 0),ym(this,"resetParam",void 0),this.allTrackedLinkPatterns=["anrdoezrs.net","kqzyfj.com","tkqlhce.com","dpbolvw.net","jdoqocy.com"],this.resetParam="url"}getResetUrl(e){for(const t of this.allTrackedLinkPatterns)if(-1!==e.indexOf(t)){const t=new(re())(e),n=t.query(!0);if(n[this.resetParam])return n[this.resetParam];const r=e.match(/type\/dlg(\/sid\/.+?)?\/(.+)$/);if(r&&r[2])return decodeURIComponent(r[2]);if(t.path().match(/\/click-\d+-\d+/))return t.removeQuery("sid"),t.addQuery("sid","hawk-custom-tracking"),t.toString()}return null}}class km{getResetUrl(e){const t=[...e.matchAll(/(?<equals>=)(\w+-\w{2}-\d{4,}|\w+-\w{2}-custom-tracking|\w+-\d{4,}|\w+-custom-tracking)/g)],n=[...ut,ct].map(e=>
2e.analyticsName),r=t.find(e=>n.some(t=>e[0].includes(t)));return r?e.replace(r[0],`${r.groups?.equals}hawk-custom-tracking`):null}}class wm{getResetUrl(e){if(-1!==e.indexOf("rover.ebay.com")){const t=new(re())(e).query(!0);if(t.mpre)return t.mpre}return null}}class Im{constructor(){ym(this,"trackedLinkPattern",void 0),this.trackedLinkPattern="xvtelink.com"}getResetUrl(e){if(-1!==e.indexOf(this.trackedLinkPattern)){const t=new(re())(e);return t.hostname(t.hostname().replace("xvtelink.com","expressvpn.com")),t.toString()}return null}}class Sm{constructor(){ym(this,"trackedLinkPattern",void 0),ym(this,"resetParam",void 0),this.trackedLinkPattern="target.georiot.com",this.resetParam="GR_URL"}getResetUrl(e){if(e.includes(this.trackedLinkPattern)){const t=new(re())(e).query(!0);if(t[this.resetParam])return t[this.resetParam]}return null}}class xm{constructor(e){ym(this,"trackedLinkPattern",void 0),ym(this,"resetParam",void 0),this.trackedLinkPattern=e||"click.linksynergy.com",this.resetParam="murl"}getResetUrl(e){if(-1!==e.indexOf(this.trackedLinkPattern)){const t=new(re())(e),n=t.query(!0);if(n[this.resetParam])return n[this.resetParam];if(t.path().match(/\/fs-bin\/click/))return t.removeQuery("subid"),t.addQuery("subid","hawk-custom-tracking"),t.toString()}return null}}class zm{constructor(){ym(this,"trackedLinkPattern",void 0),ym(this,"resetParam",void 0),this.trackedLinkPattern="link.monetizer101.com",this.resetParam="sourceUrl"}getResetUrl(e){if(-1!==e.indexOf(this.trackedLinkPattern)){const t=new(re())(e).query(!0)[this.resetParam];return Array.isArray(t)?null!==t[0]?t[0]:e:t||e}return null}}class Om{constructor(e){ym(this,"trackedLinkPattern",void 0),ym(this,"resetParam",void 0),this.trackedLinkPattern=e||"partner-ads.com",this.resetParam="htmlurl"}getResetUrl(e){if(e.includes(this.trackedLinkPattern)){const t=new(re())(e).query().split("&").filter(e=>0===e.indexOf(this.resetParam)).shift();if(t){const e=t.split("=").pop();return e||null}return null}return null}}class Um{constructor(){ym(this,"trackedLinkPattern",void 0),ym(this,"resetParam",void 0),this.trackedLinkPattern="prf.hn",this.resetParam="destination"}getResetUrl(e){if(e.indexOf(this.trackedLinkPattern)>=0){let t;t=e.match(/destination:(https?%3A%2)/)?e.match(/destination:([&\w%.-]+)/):e.match(/destination:(.*$)/);return t&&decodeURIComponent(t[1])||`${e}/pubref:hawk-custom-tracking`}return null}}class Pm{getResetUrl(e){const t=new(re())(e);if("go.redirectingat.com"===t.hostname()){return t.query(!0).url??null}return null}}class Nm{constructor({network:e,trueNetwork:t,id:n,name:r,hostname:i,accountId:a,trackingId:o,targetDomain:s,externalReference:u,path:c,trackingPath:l,trackingPixelUrl:d,parameters:m,fallbackMerchant:p,site:f,tsid:g,trackedLinkPattern:h}){ym(this,"network",void 0),ym(this,"trueNetwork",void 0),ym(this,"id",void 0),ym(this,"name",void 0),ym(this,"hostname",void 0),ym(this,"accountId",void 0),ym(this,"trackingId",void 0),ym(this,"targetDomain",void 0),ym(this,"externalReference",void 0),ym(this,"path",void 0),ym(this,"trackingPath",void 0),ym(this,"trackingPixelUrl",void 0),ym(this,"parameters",void 0),ym(this,"site",void 0),ym(this,"tsid",void 0),ym(this,"trackedLinkPattern",void 0),ym(this,"url",void 0),ym(this,"fallbackMerchant",void 0),this.network=e,this.trueNetwork=t,this.id=n,this.name=r,this.hostname=i,this.accountId=a,this.trackingId=o,this.targetDomain=s,this.externalReference=u,this.path=c,this.trackingPath=l,this.trackingPixelUrl=d,this.parameters=m,this.fallbackMerchant=p,this.site=f,this.tsid=g,this.trackedLinkPattern=h,this.url=this.path?`${this.hostname}${this.path}`:this.hostname}isMatch(e){const t=ie(e).toLowerCase(),n=new(re())(e).path();return(!this.trackedLinkPattern||!t.includes(this.trackedLinkPattern.toLowerCase()))&&(!(t!==this.hostname&&!t.endsWith(`.${this.hostname}`))&&(!this.path||n.startsWith(this.path)))}getMerchantDomain(){return new(re())({hostname:this.hostname}).domain()}}const Em=({uri:e,parameters:t,url:n})=>{t&&(t=((e,t,n)=>Object.fromEntries(Object.entries(e).map(([e,r])=>
2[e,r===t?n:r])))(t,"hawk-url-replace",n),e.setQuery(t))};class Dm extends Nm{isValidHttpUrl(e){let t;try{t=new URL(e)}catch(e){return!1}return"http:"===t.protocol||"https:"===t.protocol}rewrite(e){const t=new(re())(e);if(Em({uri:t,parameters:this.parameters,url:e}),this.targetDomain){if(this.isValidHttpUrl(this.targetDomain))return e;t.hostname(this.targetDomain)}if(this.trackingPath){const e=this.trackingPath.split("#"),n=e[0],r=e[1];n&&t.path(n),r&&t.fragment(r)}const n=t.toString();if("bluehost.com"===this.hostname&&t.hasQuery("page")){const e=t.query(!0).page;if("string"==typeof e)return n.replace(re().encodeQuery(e),e)}return n}}const Am={AW:class extends Nm{constructor(e){super({...e,accountId:e.accountId??103504,trackedLinkPattern:"awin1.com"})}rewrite(e){const t=new(re())(e),n=t.fragment();if(t.fragment(""),this.accountId&&this.externalReference){const e=new(re())(`https://www.${this.trackedLinkPattern}/awclick.php`);return e.addQuery("awinmid",this.externalReference),e.addQuery("awinaffid",this.accountId),e.addQuery("clickref","hawk-custom-tracking"),e.addQuery("p",t.toString()),e.fragment(n),e.toString()}return e}},Adnet:class extends Nm{rewrite(e){const t=new(re())({protocol:"https",hostname:this.targetDomain});return Em({uri:t,parameters:this.parameters,url:e}),this.fallbackMerchant?t.setQuery("fallback_url",this.fallbackMerchant.rewrite(e)).toString():t.toString()}},Amazon:class extends Nm{constructor(e){super({...e,name:e.externalReference?`Amazon ${e.externalReference.toUpperCase()}`:"Amazon",trackedLinkPattern:"target.georiot.com"})}rewrite(e){const t=new(re())(e);t.setQuery("tag",this.trackingId),this.accountId&&t.addQuery("linkCode",this.accountId);const n=this.trackingId?.lastIndexOf("-")??-1,r=-1!==n?this.trackingId?.slice(n):"";t.setQuery("ascsubtag",`hawk-custom-tracking${r}`);let i=t.toString();return i=i.replace("://www.","://"),this.tsid&&this.targetDomain&&!this.isStandardUrl(e)&&(i=new(re())({protocol:"https",hostname:this.targetDomain,path:"/Proxy.ashx",query:{tsid:this.tsid,GR_URL:i}}).toString()),i}isMatch(e){const t=super.isMatch(e),n=ie(e).toLowerCase();return t&&(n===this.hostname||this.isStandardUrl(e))}isStandardUrl(e){return["gaming.amazon.com"].includes(ie(e))}},BolCom:class extends Nm{rewrite(e){if(!this.accountId)return e;const t=new(re())("https://partnerprogramma.bol.com/click/click"),n={p:1,t:"url",f:"TXL",s:this.accountId,subid:"hawk-custom-tracking",url:e};return Object.keys(n).forEach(e=>{t.addQuery(e,n[e])}),t.toString()}},CJ:class extends Nm{constructor(e){super({...e,trackedLinkPattern:"anrdoezrs.net"})}rewrite(e){return this.trackedLinkPattern&&this.accountId?this.trackingId?`https://www.${this.trackedLinkPattern}/click-${this.accountId}-${this.trackingId}?sid=hawk-custom-tracking&url=${e}`:`https://www.${this.trackedLinkPattern}/links/${this.accountId}/type/dlg/sid/hawk-custom-tracking/${e}`:e}},Cableguys:class extends Dm{rewrite(e){const t=e;return`${super.rewrite(`https://${this.trackedLinkPattern}/go.cgi`)}&target=${t}`}},Ebay:class extends Nm{constructor(e){super({...e,trackingId:e.trackingId??"711-53200-19255-0",accountId:e.accountId??5337827784})}rewrite(e){if(e.match(/[/.]ebay(?:\.\w{2,3}){1,2}[/$]/)){const t=new(re())(e);return t.setQuery("mkevt","1"),t.setQuery("mkcid","1"),t.setQuery("mkrid",String(this.trackingId)),t.setQuery("campid",String(this.accountId)),t.setQuery("customid","hawk-custom-tracking"),String(t)}return e}},FlipKart:class extends Nm{rewrite(e){if(-1===e.search("affid")){const t=new(re())(e);return t.removeQuery("affid"),t.addQuery("affid","ecommerce19"),t.removeQuery("affExtParam1"),t.addQuery("affExtParam1","hawk-custom-tracking"),t.toString()}return e}},Generic:Dm,HasOffers:class extends Nm{constructor(e){super({...e,accountId:e.accountId??1,trackedLinkPattern:e.targetDomain??"fan.go2jump.org"})}rewrite(e){const t=new(re())(`https://${this.trackedLinkPattern}/aff_c`);if(t.addQuery("offer_id",this.externalReference),t.addQuery("aff_id",this.accountId),this.parameters?.url_id&&t.addQuery("url_id",this.parameters.url_id),t.addQuery("source",this.site?.id),t.addQuery("aff_click_id","hawk-custom-tracking"),this.parameters?.utm_info){const n=new(re())(e);n.addQuery(String(this.parameters.utm_info)),t.addQuery("url",re().decode(n.toString())),t.addQuery("aff_sub2","hawk-article-url")}else t.addQuery("aff_sub2","hawk-article-url"),t.addQuery("url",e);return t.toString()}},ImpactRad:class extends Nm{constructor(e){super({...e,trackedLinkPattern:e.targetDomain})}rewrite(e){if(this.accountId&&this.trackingId&&this.trackedLinkPattern){const t=new(re())(`https://${this.trackedLinkPattern}/c/${this.accountId}/${this.trackingId}/${this.externalReference}`);return Em({uri:t,parameters:this.parameters,url:e}),t.addQuery("subId1","hawk-custom-tracking"),t.addQuery("sharedId","hawk-prefix"),t.addQuery("u",e),t.toString()}return e}},ImpactRadWalmart:class extends Nm{rewrite(e){if(this.tsid){const t=new(re())("https://buy.geni.us/Proxy.ashx");return t.addQuery("tsid",String(this.tsid)),t.addQuery("track","hawk-custom-tracking"),t.addQuery("GR_URL",e),t.toString()}return e}},InvolveAsia:class extends Nm{rewrite(e){const t=new(re())("https://invol.co/aff_m");t.addQuery("offer_id",this.externalReference),t.addQuery("aff_id",2073),t.addQuery("aff_sub","hawk-custom-tracking"),t.addQuery("source","deeplink");const n=new(re())(e);return t.addQuery("url",re().decode(n.toString())),t.toString()}},LS:class extends Nm{constructor(e){super({...e,trackedLinkPattern:"click.linksynergy.com"})}rewrite(e){if(!this.trackingId||!this.trackedLinkPattern||!this.externalReference)return e;const t=new(re())(`https://${this.trackedLinkPattern}/deeplink`);return t.addQuery("id",this.trackingId),t.addQuery("mid",this.externalReference),t.addQuery("u1","hawk-custom-tracking"),t.addQuery("murl",e),t.toString()}},Nord:class extends Nm{constructor(e){super({...e,trackedLinkPattern:"go.nordvpn.net"})}rewrite(e){const t=3013,n="affiliate",r=new(re())(e);r.addQuery("utm_source","aff3013"),r.addQuery("aff_id",t),r.addQuery("utm_medium","affiliate"),r.addQuery("utm_term",n),r.addQuery("utm_c
2ontent","hawk-custom-tracking"),r.addQuery("utm_campaign","off18"),r.addQuery("aff_source",n);const i=new(re())(`https://${this.trackedLinkPattern}/aff_c`);return i.addQuery("offer_id",18),i.addQuery("aff_id",t),i.addQuery("url",r.toString()),i.toString()}},OptimiseMedia:class extends Nm{constructor(e){super({...e,trackedLinkPattern:e.targetDomain})}rewrite(e){if(!this.trackedLinkPattern||!this.trackingId)return e;const t=new(re())(`https://${this.trackedLinkPattern}/`);t.addQuery("AID",this.accountId||1036697),t.addQuery("PID",this.trackingId),t.addQuery("UID","hawk-custom-tracking");const n=new(re())(e);return t.addQuery("r",re().decode(n.toString())),t.toString()}},PHG:class extends Nm{constructor(e){super({...e,trackedLinkPattern:e.targetDomain??"www.prf.hn"})}rewrite(e){return this.trackingId?`https://${this.trackedLinkPattern}/click/camref:${this.trackingId}/pubref:hawk-custom-tracking/destination:${encodeURIComponent(e)}`:e}},PaidOnResults:class extends Nm{rewrite(e){if(!this.externalReference)return e;const t=e.split(/[?&]/)[0],n=new URL(t);return`https://www.paidonresults.net/c/${this.accountId}/1/${this.externalReference}/hawk-custom-tracking${n.pathname}`}},PartnerAds:class extends Nm{constructor(e){super({...e,trackedLinkPattern:e.targetDomain??"www.partner-ads.com"}),ym(this,"account",void 0),this.parameters?.country_code&&(this.account=String(this.parameters.country_code))}rewrite(e){if(!this.account)return e;return new(re())(`https://${this.trackedLinkPattern}/${this.account}/klikbanner.php`).setQuery("partnerid","28286").setQuery("bannerid",String(this.trackingId)).setQuery("uid","hawk-custom-tracking").setQuery("htmlurl",e).href()}},Privado:class extends Dm{rewrite(e){if(!this.parameters)return e;if(/a_aid/.test(e)&&/chan/.test(e))return e;const t=super.rewrite(e);return e.endsWith("/")?t.replace("/?","/#"):t.replace("?","/#")}},ScalaHosting:class extends Nm{rewrite(e){const t=new(re())(e);return t.fragment("5f50ee0e05dfe&data1=hawk-custom-tracking"),t.toString()}}},Tm=({merchants:e,site:t,tsid:n})=>e.filter(e=>e.url).flatMap(e=>{const r=Am[e.network];return r?[new r({network:e.network,trueNetwork:e.true_network??"",id:e.id??0,name:e.merchant_name??e.url??"",hostname:e.url??"",accountId:e.account_id,trackingId:e.tracking_id,targetDomain:e.target_domain,externalReference:e.external_reference,path:e.path,trackingPath:e.tracking_path,trackingPixelUrl:e.tracking_pixel_url,parameters:e.parameters,fallbackMerchant:e.fallback_rule&&Tm({merchants:[e.fallback_rule],site:t,tsid:n})[0],site:t,tsid:n})]:[]});
2class jm{}class Rm extends jm{constructor(e,t,n){super(),ym(this,"georiotTSID",void 0),ym(this,"merchantDomains",void 0),ym(this,"merchantEntities",void 0),ym(this,"site",void 0),ym(this,"resets",void 0),ym(this,"processLink",async({url:e})=>{const t=this.resets.reduce((t,n)=>t??n.getResetUrl(e),null)||e;var n;this.merchantEntities??=(n={merchants:this.merchantDomains,site:this.site,tsid:this.georiotTSID},Object.groupBy(Tm(n),e=>e.getMerchantDomain()));const r=new(re())(t).domain().toLocaleLowerCase(),i=this.merchantEntities[r]?.find(e=>e.isMatch(t));return i?{url:i.rewrite(t),merchant:i,rewritten:!0,processor:f.HAWKLINKS}:{url:e,merchant:null,rewritten:!1,processor:f.HAWKLINKS}}),this.georiotTSID=e,this.merchantDomains=t,this.site=n,this.resets=[new km,new $m,new _m,new bm,new Sm,new Im,new xm,new xm("linksynergy.walmart.com"),new Pm,new Om,new zm,new Um,new wm]}}class Lm extends jm{constructor(e,t,n,r=!1){super(),ym(this,"skimlinksId",void 0),ym(this,"rewriteAllDomains",void 0),ym(this,"site",void 0),ym(this,"domains",void 0),ym(this,"rewritableMerchantDomains",void 0),ym(this,"reset",new Pm),ym(this,"trackedLinkPattern","go.redirectingat.com"),ym(this,"getUniqueDomainsFromLinks",e=>Array.from(new Set(e.map(e=>new(re())(this.getResetUrl(e)).domain())))),ym(this,"getResetUrl",e=>this.reset.getResetUrl(e)??e),ym(this,"getRewrittenLink",(e,t)=>new(re())({protocol:"https",hostname:this.trackedLinkPattern,query:{id:this.skimlinksId,xcust:"hawk-custom-tracking",xs:1,url:e,sref:t}}).toString()),ym(this,"isRewritable",async({linkUrl:e})=>{const t=new(re())(e).hostname(),n=["myfavouritemagazines","shoppingpartners2.futurenet.com","go2jump.org","getprice.com.au","whistleout","istockphoto.7eer.net","istockphoto.com","trk.aclktrkr.com","gettyimages.com","prf.hn","tsohost.com","adfarm.mediaplex.com","altfarm.mediaplex.com","dior.com"].some(e=>t.includes(e)),r=new(re())(e).domain();return!n&&(this.rewriteAllDomains||(await this.getRewritableMerchantDomains()).includes(r))}),ym(this,"getRewritableMerchantDomains",async()=>{try{this.rewritableMerchantDomains??=await(async({skimlinksId:e,domains:t})=>{const n=await d("https://r.skimresources.com/api/",{persistence:1,data:JSON.stringify({pubcode:e,domains:t})});if(!n.ok)throw new Error("Failed to fetch rewritable skimlinks merchant domains");return n.data.merchant_domains})({skimlinksId:this.skimlinksId,domains:this.domains})}catch(e){this.rewritableMerchantDomains=[]}return this.rewritableMerchantDomains}),ym(this,"processLink",async({url:e,articleUrl:t})=>{const n=this.getResetUrl(e);return await this.isRewritable({linkUrl:n})?{url:this.getRewrittenLink(n,t),merchant:null,rewritten:!0,processor:f.SKIMLINKS}:{url:e,merchant:null,rewritten:!1,processor:f.SKIMLINKS}}),this.skimlinksId=e,this.rewriteAllDomains=r,this.site=n,this.domains=this.getUniqueDomainsFromLinks(t)}}const Cm=["hawk-placeholder","hawk-nest","hawk-base","hawk-root","ecom-root"],Zm=Cm.map(e=>`.${e}`).join(","),Mm=(Cm.at(-1),e=>Math.floor(Math.random()*e));n.dn(Mm);const Fm=()=>{const{metrics:e}=S(["metrics"]);return(e=>{if("disabled"===e)return!1;const t=parseInt(e||"",10);return!isNaN(t)&&t>0||Mm(100)<1})(e)},Jm=e=>{Fm()&&(({siteId:e,platform:t,type:n})=>{m("https://search-api.fie.future.net.uk/send_metrics",{site:e,platform:t,type:n,load_time:parseInt(performance.now().toFixed(0),10),es6:1})})(e)},Qm={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let Wm;const Gm=new Uint8Array(16);function qm(){if(!Wm&&(Wm="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Wm))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Wm(Gm)}const Vm=[];for(let e=0;e<256;++e)Vm.push((e+256).toString(16).slice(1));function Km(e,t=0){return Vm[e[t+0]]+Vm[e[t+1]]+Vm[e[t+2]]+Vm[e[t+3]]+"-"+Vm[e[t+4]]+Vm[e[t+5]]+"-"+Vm[e[t+6]]+Vm[e[t+7]]+"-"+Vm[e[t+8]]+Vm[e[t+9]]+"-"+Vm[e[t+10]]+Vm[e[t+11]]+Vm[e[t+12]]+Vm[e[t+13]]+Vm[e[t+14]]+Vm[e[t+15]]}const Hm=function(e,t,n){if(Qm.randomUUID&&!t&&!e)return Qm.randomUUID();const r=(e=e||{}).random||(e.rng||qm)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return Km(r)};class Bm{constructor(){ym(this,"fieWidgetsVersion",void 0),ym(this,"hawkEvent",void 0),this.fieWidgetsVersion="master-6d42e8e5"}}class Xm{getEventCategory(e){return this.getEvent(e).category}getEvent(e){return e.event}getEventFlag(e){return this.getEvent(e).flag}getEventProductType(e){return this.getEvent(e).productType}
2getEventComponentName(e){const t=this.getEvent(e);return t.component&&t.component.name}getEventComponentCategory(e){const t=this.getEvent(e);return t.component&&t.component.category}getEventType(e){return this.getEvent(e).type}getEventLabel(e){return this.getEvent(e).label}getProducts(e){return e.products||[]}getMatchIds(e){return this.getProducts(e).map(e=>e.matchId)}getMerchantNames(e){return this.getProducts(e).map(e=>e.merchant?.name)}getMerchantIds(e){return this.getProducts(e).map(e=>e.merchant?.id)}getMerchantUrls(e){return this.getProducts(e).map(e=>e.merchant?.url)}getMerchantAffiliateNetwork(e){return this.getProducts(e).map(e=>e.merchant?.network)}getModelIds(e){return this.getProducts(e).map(e=>e.model&&e.model.id)}getModelBrands(e){return this.getProducts(e).map(e=>e.model&&e.model.brand?e.model.brand:null)}getModelNames(e){return this.getProducts(e).map(e=>e.model&&e.model.name)}getModelParentNames(e){return this.getProducts(e).map(e=>e.model&&e.model.parent?e.model.parent:null)}getIndex(e){return this.getEvent(e).index}getTotalDeals(e){return this.getEvent(e).totalDeals}getCurrencyIso(e){return this.getProducts(e).map(e=>e.currencyIso)}getRetailPrices(e){return this.getProducts(e).map(e=>e.price)}getWasPrices(e){return this.getProducts(e).map(e=>e.wasPrice)}getContractProviders(e){return this.getProducts(e).map(e=>e.contractProvider)}getProductNames(e){return this.getProducts(e).map(e=>e.name)}getVoucherCode(e){const t=this.getProducts(e);return t.length>0?t.map(e=>e.voucherCode??null)[0]:null}getCustomTrackingIds(e){return this.getProducts(e).map(e=>e.customTrackingId)}getLabels(e){return this.getProducts(e).map(e=>e.labels)}getPreorder(e){return this.getProducts(e).map(e=>e.preorder)}getUrls(e){return this.getProducts(e).map(e=>e.url)}getOriginalUrls(e){return this.getProducts(e).map(e=>e.rawUrl)}getElementIds(e){return this.getEvent(e).elementIds||[]}getStartTime(e){return this.getProducts(e).map(e=>e.startTime)}getEndTime(e){return this.getProducts(e).map(e=>e.endTime)}getOfferScope(e){return this.getProducts(e).map(e=>e.offerScope)}getClickType(e){return this.getEvent(e).clickType}getProductTypes(e){return this.getProducts(e).map(e=>e.type)}getReviews(e){return e.reviews||[]}getReviewCodes(e){return this.getReviews(e).map(e=>e.code)}getReviewCounts(e){return this.getReviews(e).map(e=>e.count)}getReviewScores(e){return this.getReviews(e).map(e=>e.score)}getBlockLayout(e){return this.getEvent(e).blockLayout}getAreaClicked(e){return this.getEvent(e).areaClicked}getTimestamp(){return Date.now()}getGlobalIds(e){return this.getProducts(e).map(e=>e.globalId)}getInStocks(e){return this.getProducts(e).map(e=>e.inStock)}getContractMinutes(e){return this.getProducts(e).map(e=>e.contractMinutes)}getContractTexts(e){return this.getProducts(e).map(e=>e.contractTexts)}getContractData(e){return this.getProducts(e).map(e=>e.contractData)}getContractLengths(e){return this.getProducts(e).map(e=>e.contractLength)}getContractMonthlyPrices(e){return this.getProducts(e).map(e=>e.contractMonthlyPrice)}getContractCurrencies(e){return this.getProducts(e).map(e=>e.contractCurrency)}getOfferExclusive(e){return this.getProducts(e).map(e=>e.offerExclusive)}getVoucherAudience(e){const t=this.getProducts(e);return t.length>0?t.map(e=>e.voucherAudience??null)[0]:null}getVoucherPercentageSaving(e){const t=this.getProducts(e);return t.length>0?t.map(e=>e.voucherPercentageSaving??null)[0]:null}getVoucherMoneySaving(e){const t=this.getProducts(e);return t.length>0?t.map(e=>e.voucherMoneySaving??null)[0]:null}getVoucherType(e){const t=this.getProducts(e);return t.length>0?t.map(e=>e.voucherType??null)[0]:null}}const Ym=e=>{const t=new Xm;return{category:t.getEventCategory(e),affiliate:{action:{type:t.getClickType(e),id:t.getElementIds(e).join("|"),event:t.getEventType(e),timestamp:t.getTimestamp()},component:{flag:t.getEventFlag(e),product:t.getEventProductType(e),category:t.getEventComponentName(e),type:t.getEventComponentCategory(e),label:t.getEventLabel(e),index:t.getIndex(e),linkCount:t.getTotalDeals(e),blockLayout:t.getBlockLayout(e),areaClicked:t.getAreaClicked(e)}},products:t.getProducts(e).map((n,r)=>({product:{primary:{id:t.getMatchIds(e)[r],name:t.getProductNames(e)[r],type:t.getProductTypes(e)[r],price:t.getRetailPrices(e)[r],previousPrice:t.getWasPrices(e)[r],currency:t.getCurrencyIso(e)[r],preorder:t.getPreorder(e)[r],labels:t.getLabels(e)[r],link:t.getUrls(e)[r],originalLink:t.getOriginalUrls(e)[r],contractProvider:t.getContractProviders(e)[r],contractMinutes:t.getContractMinutes(e)[r],contractTexts:t.getContractTexts(e)[r],contractData:t.getContractData(e)[r],contractLength:t.getContractLengths(e)[r],contractMonthlyPrice:t.getContractMonthlyPrices(e)[r],contractCurrency:t.getContractCurrencies(e)[r],revenueId:t.getCustomTrackingIds(e)[r],startTime:t.getStartTime(e)[r],endTime:t.getEndTime(e)[r],voucherCode:t.getVoucherCode(e),voucherAudience:t.getVoucherAudience(e),voucherPercentageSaving:t.getVoucherPercentageSaving(e),voucherMoneySaving:t.getVoucherMoneySaving(e),voucherType:t.getVoucherType(e),offerExclusive:t.getOfferExclusive(e)[r],offerScope:t.getOfferScope(e)[r],globalId:t.getGlobalIds(e)[r],inStock:t.getInStocks(e)[r]}},merchant:{id:t.getMerchantIds(e)[r],name:t.getMerchantNames(e)[r],url:t.getMerchantUrls(e)[r],network:t.getMerchantAff
2iliateNetwork(e)[r]},model:{id:t.getModelIds(e)[r],brand:t.getModelBrands(e)[r],name:t.getModelNames(e)[r],parent:t.getModelParentNames(e)[r]}})),reviews:t.getReviews(e).map(n=>{const r={...e,reviews:t.getReviews(e).filter(e=>e.code===n.code)};return{code:t.getReviewCodes(r)[0],count:t.getReviewCounts(r)[0],score:t.getReviewScores(r)[0]}})}};class ep extends Bm{constructor({analyticsData:e}){super(),ym(this,"hawkEvent",void 0),this.hawkEvent={name:y.HAWK_EVENT,data:Ym(e)}}}class tp extends Bm{constructor({area:e,action:t,widget:n}){super(),ym(this,"hawkEvent",void 0),this.hawkEvent={name:y.WIDGET_INTERACTED,fullyQualifiedMessageName:v.WIDGET_INTERACTED,data:{fieWidgetsVersion:this.fieWidgetsVersion,interactedAt:(new Date).toISOString(),area:e,action:t,widget:n}}}}let np,rp,ip,ap,op;!function(e){e.BROADBAND="broadband",e.BUNDLE="bundle",e.COLLECTION="collection",e.COMPARISON="comparison",e.DEAL="deal",e.EAGLE="eagle",e.EDITORS_PICK="editorspick",e.INBODY="inbody",e.LINK="link",e.MAGAZINE_SUBSCRIPTIONS="magazinesubscriptions",e.MERCHANT_LINK="merchantlink",e.MERCHANT_OVERVIEW="merchantoverview",e.MOST_POPULAR_OFFERS="mostpopularoffers",e.MULTI_MODEL_REVIEW="multimodelreview",e.PARTNER="partner",e.PEACOCK="peacock",e.POCKET="pocket",e.PPC="ppc",e.PRICE="price",e.PRODUCT_BLOCK="productblock",e.PRODUCT_FINDER_SEARCH="productfindersearch",e.PRODUCT_NAME="productname",e.PROMOTION="promotion",e.REVIEW="review",e.REWARD_NOTIFICATIONS="rewardnotifications",e.REWARD_SUMMARY="rewardsummary",e.SCROLLABLE_TILE="scrollabletile",e.SEASONAL="seasonal",e.SIMPLE="simple",e.SPECS="specs",e.STICKY="sticky",e.STREAMING="streaming",e.TABLETOP="tabletop",e.TABS="tabs",e.TILE="tile",e.USER_REVIEWS="userreviews",e.USER_REWARDS="userrewards",e.ANF_BUTTON="anfbutton",e.ANF_COLLECTION="anfcollection",e.ANF_DEAL="anfdeal",e.ANF_FEATURED_PRODUCT_BLOCK="anffeaturedproductblock",e.ANF_MULTIMODEL="anfmultimodel",e.ANF_REVIEW="anfreview",e.ANF_TABLETOP="anftabletop",e.HAWKLINK="hawklink"}(np||(np={})),function(e){e[e.multimedia=3500]="multimedia",e[e.broadband=3e3]="broadband",e[e.subscription=2500]="subscription",e[e.contracts=2e3]="contracts",e[e.deals=1e3]="deals",e[e.accessories=500]="accessories",e[e.unique_code=431]="unique_code",e[e.vouchers=430]="vouchers",e[e.rewards=429]="rewards",e[e.newsletter=425]="newsletter",e[e.offer_deals=420]="offer_deals",e[e.offers=400]="offers",e[e.fallback=300]="fallback",e[e.similar=200]="similar",e[e.none=0]="none"}(rp||(rp={})),function(e){e.unique_code="unique_code",e.voucher="voucher",e.reward="reward",e.newsletter="newsletter",e.deal="deal"}(ip||(ip={})),function(e){e.multimedia="multimedia",e.broadband="broadband",e.subscription="subscription",e.contract="contract",e.deal="deal",e.accessory="accessory",e.offer="offer",e.fallback="fallback",e.similar="similar",e.none="none"}(ap||(ap={})),function(e){e.UNKNOWN="unknown",e.CHECK_RETAILER="Check Retailer",e.INTERNAL="internal",e.EXTERNAL="external",e.TOGGLE_FILTERS="Toggle Filters",e.READ_MORE="Read More",e.READ_LESS="Read Less",e.RETAILER="retailer",e.CC="CC",e.ROW_TOGGLE="Row Toggle",e.TAB_CHANGED="Tab Changed",e.AMAZON_STAR_RATING="Amazon Star Rating",e.WALMART_STAR_RATING="Walmart Star Rating",e.PHONE_NUMBER="Phone Number",e.REVIEW="Review",e.SCROLL_TO_PREVIOUS_PAGE="Scroll to previous page",e.SCROLL_TO_NEXT_PAGE="Scroll to next page",e.SEASONAL_EVENT_RETAILER="Seasonal Event Retailer",e.AMAZON_PRIME="Amazon Prime",e.SWITCHER="Switcher",e.AVAILABLE_FROM="Available From",e.DEALS_PAGE="Deals Page",e.FILTER="Filter",e.INPUT_FIELD="input field",e.COPY_CODE="copy code",e.GO_TO_RETAILER="go to retailer",e.CLEAR_FILTERS="Clear filters",e.MODEL_SUGGESTION="Model suggestion",e.BACK_TO_PARENT_MODEL_NAVIGATION="Back to parent model navigation",e.PAGINATION="Pagination",e.USER_INPUT_SUBMITTED="User input submitted",e.RADIO_BUTTON_GROUP="Radio button group",e.CHECKBOX_GROUP="Checkbox group",e.CHECKBOX="Checkbox",e.SORT="Sort",e.RESET_DEALS="Reset deals",e.LOAD_MORE="Load more",e.APPEARED="appeared",e.SKIPPED="skipped",e.MISSING="missing",e.PRESERVED="preserved"}(op||(op={}));let sp;!function(e){e.CLICK_FROM="Click from",e.HAWK_APPEARED="Hawk appeared",e.VIEWED="viewed",e.ITEM_VIEWED="item viewed"}(sp||(sp={}));const up=(e,t)=>{const n=e.closest(`[${t}]`);return n?.getAttribute(t)??null},cp=e=>null===e?null:Number(e),lp=({isInternalLink:e,isWithinTheSamePage:t,hasCustomTrackingId:n})=>
2t?h.MOVE_ON_PAGE:e?h.GO_TO_INTERNAL_PAGE:n?h.GO_TO_RETAILER_PAGE:h.GO_TO_EXTERNAL_PAGE,dp=({el:e,index:t,totalLinks:n,articleUrl:r})=>{e.setAttribute("data-hawk-tracked","hawklinks");let i=!1,a=!1;try{const t=new URL(e.href),n=new URL(r);i=(({linkUrl:e,articleUrl:t})=>{if(!t)return!1;try{const n=new URL(e,t);return new(re())(n.toString()).domain()===new(re())(t).domain()}catch{return!1}})({linkUrl:e.href,articleUrl:r}),a=i&&t.pathname===n.pathname}catch{}i||(e.setAttribute("target","_blank"),e.setAttribute("referrerpolicy","no-referrer-when-downgrade"),e.getAttribute("data-hl-processed")!==f.NONE&&e.setAttribute("rel","sponsored noopener"));const o=()=>{const r=e.getAttribute("data-hl-processed")??f.NONE,o=e.getAttribute("data-custom-tracking-id"),s=!!o,u=(({isInternalLink:e,hasCustomTrackingId:t})=>e?op.INTERNAL:t?op.RETAILER:op.EXTERNAL)({isInternalLink:i,hasCustomTrackingId:s}),c=(e.getAttribute("data-label")??e.textContent)?.trim()||e.querySelector("img")?.alt,l=e.getAttribute("data-model-name")??up(e,"data-hawkify-model-name"),d=up(e,"data-hawkify-offer-name")??l??c,m=cp(up(e,"data-hawkify-offer-start-date")),p=cp(up(e,"data-hawkify-offer-end-date")),h={event:{category:"Affiliates",flag:"",productType:"",component:{name:up(e,"data-hawkify-category")??e.dataset.action??"HawkLink",category:up(e,"data-hawkify-widget-type")??"hawklinks"},type:sp.CLICK_FROM,clickType:u,label:c??"",index:t,totalDeals:n,blockLayout:null,elementIds:[void 0!==window.hawklinks?.hawklinkId?String(window.hawklinks.hawklinkId):Hm()],paywallStatus:!1,areaClicked:up(e,"data-hawkify-clicked-area")??""},products:[{matchId:cp(up(e,"data-hawkify-offer-id")),merchant:{id:cp(up(e,"data-hawkify-merchant-id")??e.getAttribute("data-merchant-id"))??void 0,name:up(e,"data-hawkify-merchant-name")??e.getAttribute("data-merchant-name")??void 0,url:e.getAttribute("data-merchant-url")??void 0,network:e.getAttribute("data-merchant-network")??void 0},model:{id:cp(e.getAttribute("data-model-id")??up(e,"data-hawkify-model-id")),name:l,brand:e.getAttribute("data-model-brand")??up(e,"data-hawkify-model-brand"),parent:e.getAttribute("data-model-parent")??up(e,"data-hawkify-model-parent")},currencyIso:up(e,"data-hawkify-offer-currency")??"",price:cp(up(e,"data-hawkify-offer-price"))??0,formattedPrice:up(e,"data-hawkify-offer-price")??"",wasPrice:cp(up(e,"data-hawkify-offer-was-price")),name:d??"",labels:[],preorder:!1,url:e.getAttribute("href")??"",rawUrl:e.getAttribute("data-url"),customTrackingId:o,startTime:m,endTime:p,type:ap.none,offerScope:null,globalId:null,inStock:null,offerExclusive:null,contractProvider:null,contractMinutes:null,contractTexts:null,contractData:null,contractLength:null,contractMonthlyPrice:null,contractCurrency:null,voucherCode:null,voucherAudience:null,voucherPercentageSaving:null,voucherMoneySaving:null,voucherType:null}],reviews:[]};b(new ep({analyticsData:h})),b(new tp({area:up(e,"data-hawkify-clicked-area")??g.UNSPECIFIED,action:lp({isInternalLink:i,isWithinTheSamePage:a,hasCustomTrackingId:s}),widget:{type:np.HAWKLINK,result:r,products:[{id:up(e,"data-hawkify-offer-id")??void 0,originalLink:e.getAttribute("data-url")??void 0,link:e.getAttribute("href")??void 0,name:d,currency:up(e,"data-hawkify-offer-currency")??void 0,previousPrice:up(e,"data-hawkify-offer-was-price")??void 0,price:up(e,"data-hawkify-offer-price")??void 0,revenueId:o??void 0,startTime:m?new Date(1e3*m).toISOString():void 0,endTime:p?new Date(1e3*p).toISOString():void 0,type:ap.none,merchant:{id:up(e,"data-hawkify-merchant-id")??e.getAttribute("data-merchant-id")??void 0,name:up(e,"data-hawkify-merchant-name")??e.getAttribute("data-merchant-name")??void 0,url:e.getAttribute("data-merchant-url")??void 0,network:e.getAttribute("data-merchant-network")??void 0},model:{id:e.getAttribute("data-model-id")??up(e,"data-hawkify-model-id")??void 0,name:l??void 0,brand:e.getAttribute("data-model-brand")??up(e,"data-hawkify-model-brand")??void 0,parentModelName:e.getAttribute("data-model-parent")??up(e,"data-hawkify-model-parent")??void 0},labels:[],promos:[]}]}}))},s=e=>{void 0!==e.button&&1!==e.button&&o()};
2e.addEventListener("click",s),e.addEventListener("contextmenu",s),e.addEventListener("mousedown",e=>{void 0!==e.button&&1===e.button&&o()}),(e=>{const t=e.getAttribute("data-tracking-pixel-url");t&&new IntersectionObserver((n,r)=>{n.forEach(n=>{n.isIntersecting&&((new Image).src=t,r.unobserve(e))})}).observe(e)})(e)};let mp;const pp=async()=>{const e=await new Promise(e=>{let t=0;const n=setInterval(()=>{window.dfp_config?.keywords?.length?(clearInterval(n),e(window.dfp_config.keywords.split(","))):t>5&&(clearInterval(n),e([])),t++},200)}),t=lt({href:document.location.href,keywords:e});let n=(()=>{const{area:e}=S(["area"]),t=te(ee.FTR_COUNTRY_CODE),n="(null)"!==t?t:void 0,r=document.querySelector("html")?.getAttribute("data-locale");return e??(n||r)??void 0})();const r=(()=>{const{article_id:e}=S();return e||(!s()&&window.dfp_config?.article_id?window.dfp_config.article_id:!s()&&window.ipcTags?.contentId?window.ipcTags.contentId:void 0)})(),i=document.title,a=document.location.href,o=(({payloadArticleType:e,keywords:t=[],urlPath:n=""}={})=>{const r=e??(s()?void 0:window.ffte?.properties?.articleType);if((e=>(e=e||[]).find(e=>e.search(/buying/gi)>=0&&e.search(/guide/gi)>=0))(t)||"buying-guide"===r)return"buying_guide";if((e=>(e=e||[]).find(e=>"deals"===e.toLowerCase()))(t))return"deals";if(/\/deals\/compare.*$/.exec(n))return"deals_compare";switch(r){case"review":case"award":case"voucher":case"category":return r;case"best":case"best-pick":case"news":case"feature":return"news";default:return"hub"}})({keywords:e,urlPath:window.location.pathname});window.hawklinks={...window.hawklinks,version:"master-6d42e8e5",site:t,articleName:i,articleUrl:a},document.addEventListener(fm.HAWK_PROCESS_ARTICLE,async e=>{const s=((e,t=document)=>Array.from(t.querySelectorAll(e)).filter(e=>!e.closest(Zm)).filter(e=>e.href).filter(e=>!e.hasAttribute("data-hawk-tracked")))(t.selector,e.detail?.element),u=s.filter(e=>!e.href.startsWith("#")).filter(e=>!e.hasAttribute("data-no-affiliate-tracking")).filter(e=>!e.hasAttribute("data-hl-processed")).filter(e=>!e.hasAttribute("data-placeholder-url")).filter(e=>!e.href.includes("hawk-custom-tracking"));const c=u[0]?.getAttribute("data-social")??void 0,l=async()=>{try{const{merchants:e,tsid:i,skimlinksId:a,area:o}=await(e=>async({area:t,site:n,articleId:r,context:i,social:a})=>{const o=await e(`${dt()}/merchant-domains.php`,{area:t,site:n.id,article_id:r,context:i,social:a});if(!o.ok)throw new Error("Couldn't fetch merchants data");return{merchants:o.data.merchants,tsid:o.data.config.tsid,skimlinksId:o.data.config.skimlinks_id??void 0,area:o.data.area}})(d)({area:n,site:t,articleId:r,social:c});return n=o,[new Rm(i,e,t),...a?[new Lm(a,s.map(e=>e.href),t,!1)]:[]]}catch(e){return[]}};for(const e of u){mp??=await l();const t=await(async()=>{const t=e.href;for(const e of mp){const n=await e.processLink({url:t,articleUrl:a});if(n.rewritten)return n}return{url:t,rewritten:!1,merchant:null,processor:f.NONE}})();e.setAttribute("data-url",e.href),e.href=t.url,e.setAttribute("data-hl-processed",t.processor),t.rewritten&&e.setAttribute("data-google-interstitial","false"),t.merchant&&(e.setAttribute("data-merchant-name",t.merchant.name),e.setAttribute("data-merchant-id",String(t.merchant.id)),e.setAttribute("data-merchant-url",t.merchant.url),e.setAttribute("data-merchant-network",t.merchant.trueNetwork),t.merchant.trackingPixelUrl&&e.setAttribute("data-tracking-pixel-url",t.merchant.trackingPixelUrl))}const p=s.filter(e=>"true"===e.dataset.useArs),g=await(async({links:e,site:t,territory:n})=>{if(!e.length)return e;const r=await m(`${dt()}/affiliate-redirect.php`,{links:e,site:t.id,area:n});if(!r.ok)return e;const i=em.safeParse(r.data);return i.success?i.data.links.map(e=>e.affiliateUrl):e})({links:p.map(e=>e.href),territory:n,site:t});p.forEach((e,t)=>{e.href=g[t]});for(const[e,r]of s.entries()){const u=r.getAttribute("data-placeholder-url");if(u&&(r.href=u),r.href.includes("hawk-custom-tracking")){const e=await X({site:t,area:n,articleType:o,articleCategory:r.getAttribute("data-article-category")??void 0,merchantName:r.getAttribute("data-merchant-name")});r.href=Y({url:r.href,site:t,customTrackingId:e,area:n,trackingArea:gm(),articleUrl:a,articleName:i,social:r.getAttribute("data-social")??void 0}),r.setAttribute("data-custom-tracking-id",e)}dp({el:r,index:e,totalLinks:s.length,articleUrl:a});const c=im(r.href),l=c?.[tm.asin]?mm(c[tm.asin]):null;if(l?.isRequestMade)l.href&&(r.href=l.href);else if(c?.[tm.asin]&&c[tm.tag]&&c[tm.ascsubtag]){for(const e of Object.keys(c))null===c[e]?r.removeAttribute(e):r.setAttribute(e,String(c[e]));pm(c[tm.asin])}}window.hawklinks={...window.hawklinks,complete:!0}}),document.dispatchEvent(new CustomEvent(fm.HAWK_PROCESS_ARTICLE)),Jm({siteId:t.id,type:"hawklinks"})};n.p=`${!s()&&window.hawk_assets_endpoint?window.hawk_assets_endpoint:"https://search-api.fie.futurecdn.net"}/`,(async()=>{const e={script:"HAWKLINKS"};performance.mark("Hawklinks rewriting started",{detail:e}),await pp(),performance.mark("Hawklinks rewriting completed",{detail:e}),performance.measure("Hawklinks rewriting span",{start:"Hawklinks rewriting started",end:"Hawklinks rewriting completed",detail
vendor: 5,068 bytes, line 2
2:e})})().then(()=>{am()&&dm(),((e,t,n,r=100,i=5e3)=>{let a;const o=window.setTimeout(()=>{window.clearInterval(a),window.clearTimeout(o),n&&n()},i);a=window.setInterval(()=>{e()&&(window.clearTimeout(o),window.clearInterval(a),t())},r)})(am,dm)})},4353(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",a="minute",o="hour",s="day",u="week",c="month",l="quarter",d="year",m="date",p="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,c),a=n-i<0,o=t.clone().add(r+(a?-1:1),c);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:u,d:s,D:m,h:o,m:a,s:i,ms:r,Q:l}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",_={};_[b]=h;var $="$isDayjsObject",k=function(e){return e instanceof x||!(!e||!e[$])},w=function e(t,n,r){var i;if(!t)return b;if("string"==typeof t){var a=t.toLowerCase();_[a]&&(i=a),n&&(_[a]=n,i=a);var o=t.split("-");if(!i&&o.length>1)return e(o[0])}else{var s=t.name;_[s]=t,i=s}return!r&&i&&(b=i),i||!r&&b},I=function(e,t){if(k(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new x(n)},S=y;S.l=w,S.i=k,S.w=function(e,t){return I(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var x=function(){function h(e){this.$L=w(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[$]=!0}var v=h.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(f);if(r){var i=r[2]-1||0,a=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return S},v.isValid=function(){return!(this.$d.toString()===p)},v.isSame=function(e,t){var n=I(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return I(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<I(e)},v.$g=function(e,t,n){return S.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,r=!!S.u(t)||t,l=S.p(e),p=function(e,t){var i=S.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},f=function(e,t){return S.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},g=this.$W,h=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(l){case d:return r?p(1,0):p(31,11);case c:return r?p(1,h):p(0,h+1);case u:var b=this.$locale().weekStart||0,_=(g<b?g+7:g)-b;return p(r?v-_:v+(6-_),h);case s:case m:return f(y+"Hours",0);case o:return f(y+"Minutes",1);case a:return f(y+"Seconds",2);case i:return f(y+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,u=S.p(e),l="set"+(this.$u?"UTC":""),p=(n={},n[s]=l+"Date",n[m]=l+"Date",n[c]=l+"Month",n[d]=l+"FullYear",n[o]=l+"Hours",n[a]=l+"Minutes",n[i]=l+"Seconds",n[r]=l+"Milliseconds",n)[u],f=u===s?this.$D+(t-this.$W):t;if(u===c||u===d){var g=this.clone().set(m,1);g.$d[p](f),g.init(),this.$d=g.set(m,Math.min(this.$D,g.daysInMonth())).$d}else p&&this.$d[p](f);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[S.p(e)]()},v.add=function(r,l){var m,p=this;r=Number(r);var f=S.p(l),g=function(e){var t=I(p);return S.w(t.date(t.date()+Math.round(e*r)),p)};if(f===c)return this.set(c,this.$M+r);if(f===d)return this.set(d,this.$y+r);if(f===s)return g(1);if(f===u)return g(7);var h=(m={},m[a]=t,m[o]=n,m[i]=e,m)[f]||1,v=this.$d.getTime()+r*h;return S.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=S.z(this),a=this.$H,o=this.$m,s=this.$M,u=n.weekdays,c=n.months,l=n.meridiem,d=function(e,n,i,a){return e&&(e[
2n]||e(t,r))||i[n].slice(0,a)},m=function(e){return S.s(a%12||12,e,"0")},f=l||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(g,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return S.s(t.$y,4,"0");case"M":return s+1;case"MM":return S.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,c,3);case"MMMM":return d(c,s);case"D":return t.$D;case"DD":return S.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,u,2);case"ddd":return d(n.weekdaysShort,t.$W,u,3);case"dddd":return u[t.$W];case"H":return String(a);case"HH":return S.s(a,2,"0");case"h":return m(1);case"hh":return m(2);case"a":return f(a,o,!0);case"A":return f(a,o,!1);case"m":return String(o);case"mm":return S.s(o,2,"0");case"s":return String(t.$s);case"ss":return S.s(t.$s,2,"0");case"SSS":return S.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,m,p){var f,g=this,h=S.p(m),v=I(r),y=(v.utcOffset()-this.utcOffset())*t,b=this-v,_=function(){return S.m(g,v)};switch(h){case d:f=_()/12;break;case c:f=_();break;case l:f=_()/3;break;case u:f=(b-y)/6048e5;break;case s:f=(b-y)/864e5;break;case o:f=b/n;break;case a:f=b/t;break;case i:f=b/e;break;default:f=b}return p?f:S.a(f)},v.daysInMonth=function(){return this.endOf(c).$D},v.$locale=function(){return _[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=w(e,t,!0);return r&&(n.$L=r),n},v.clone=function(){return S.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},h}(),z=x.prototype;return I.prototype=z,[["$ms",r],["$s",i],["$m",a],["$H",o],["$W",s],["$M",c],["$y",d],["$D",m]].forEach(function(e){z[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),I.extend=function(e,t){return e.$i||(e(t,x,I),e.$i=!0),I},I.locale=w,I.isDayjs=k,I.unix=function(e){return I(1e3*e)},I.en=_[b],I.Ls=_,I.p={},I}()},8134(e){e.exports=function(){"use strict";var e="week",t="year";return function(n,r,i){var a=r.prototype;a.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var a=i(this).startOf(t).add(1,t).date(r),o=i(this).endOf(e);if(a.isBefore(o))return 1}var s=i(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),u=this.diff(s,e,!0);return u<0?i(this).startOf("week").week():Math.ceil(u)},a.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}()},4146(e,t,n){"use strict";var r=n(3404),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?o:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=o;var c=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(f){var i=p(n);i&&i!==f&&e(t,i,r)}var o=l(n);d&&(o=o.concat(d(n)));for(var s=u(t),g=u(n),h=0;h<o.length;++h){var v=o[h];if(!(a[v]||r&&r[v]||g&&g[v]||s&&s[v])){var y=m(n,v);try{c(t,v,y)}catch(e){}}}}return t}},3072(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,m=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function $(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case d:case a:case s:case o:case p:return e;default:switch(e=e&&e.$$typeof){case c:case m:case h:case g:case u:return e;default:return t}}case i:return t}}}function k(e){return $(e)===d}t.AsyncMode=l,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=u,t.Element=r,t.ForwardRef=m,t.Fragment=a,t.Lazy=h,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=o,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||$(e)===l},t.isConcurrentMode=k,t.isContextConsumer=function(e){return $(e)===c},t.isContextProvider=function(e){return $(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return $(e)===m},t.isFragment=function(e){return $(e)===a},t.isLazy=function(e){return $(e)===h},t.isMemo=function(e){return $(e)===g},t.isPortal=function(e){return $(e)===i},t.isProfiler=function(e){return $(e)===s},t.isStrictMode=function(e){return $(e)===o},t.isSuspense=function(e){return $(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===o||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===u||e.$$typeof===c||e.$$typeof===m||e.$$typeof===y||e.$$typeof===b||e.$$typeof===_||e.$$typeof===v)},t.typeOf=$},3404(e,t,n){"use strict";e.exports=n(3072)},5287(e,t){"use strict";var n=Symbol.for("react.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.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,h={};function v(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||f}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||f}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var _=b.prototype=new y;_.constructor=b,g(_,v.prototype),_.isPureReactComponent=!0;var $=Array.isArray,k=Object.prototype.hasOwnProperty,w={current:null},I={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var i,a={},o=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)k.call(t,i)&&!I.hasOwnProperty(i)&&(a[i]=t[i]);var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){for(var c=Array(u),l=0;l<u;l++)c[l]=arguments[l+2];a.children=c}if(e&&e.defaultProps)for(i in u=e.defaultProps)void 0===a[i]&&(a[i]=u[i]);return{$$typeof:n,type:e,key:o,ref:s,props:a,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var z=/\/+/g;function O(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 U(e,t,i,a,o){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var u=!1;if(null===e)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0}}if(u)return o=o(u=e),e=""===a?"."+O(u,0):a,$(o)?(i="",null!=e&&(i=e.replace(z,"$&/")+"/"),U(o,t,i,"",function(e){return e})):null!=o&&(x(o)&&(o=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,i+(!o.key||u&&u.key===o.key?"":(""+o.key).replace(z,"$&/")+"/")+e)),t.push(o)),1;if(u=0,a=""===a?".":a+":",$(e))for(var c=0;c<e.length;c++){var l=a+O(s=e[c],c);u+=U(s,t,i,l,o)}else if(l=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof l)for(e=l.call(e),c=0;!(s=e.next()).done;)u+=U(s=s.value,t,i,l=a+O(s,c++),o);else if("object"===s)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 P(e,t,n){if(null==e)return e;var r=[],i=0;return U(e,r,"","",function(e){return t.call(n,e,i++)}),r}function N(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 E={current:null},D={transition:null},A={ReactCurrentDispatcher:E,ReactCurrentBatchConfig:D,ReactCurrentOwner:w};t.Children={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!x(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=i,t.Profiler=o,t.PureComponent=b,t.StrictMode=a,t.Suspense=l,t.__SECRET_INT
2ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=g({},e.props),a=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)k.call(t,c)&&!I.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){u=Array(c);for(var l=0;l<c;l++)u[l]=arguments[l+2];i.children=u}return{$$typeof:n,type:e.type,key:a,ref:o,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=x,t.lazy=function(e){return{$$typeof:m,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=D.transition;D.transition={};try{e()}finally{D.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return E.current.useCallback(e,t)},t.useContext=function(e){return E.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return E.current.useDeferredValue(e)},t.useEffect=function(e,t){return E.current.useEffect(e,t)},t.useId=function(){return E.current.useId()},t.useImperativeHandle=function(e,t,n){return E.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return E.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return E.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return E.current.useMemo(e,t)},t.useReducer=function(e,t,n){return E.current.useReducer(e,t,n)},t.useRef=function(e){return E.current.useRef(e)},t.useState=function(e){return E.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return E.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return E.current.useTransition()},t.version="18.2.0"},6540(e,t,n){"use strict";e.exports=n(5287)},1430(e,t,n){var r,i;!function(a,o){"use strict";e.exports?e.exports=o():void 0===(i="function"==typeof(r=o)?r.call(t,n,t,e):r)||(e.exports=i)}(0,function(e){"use strict";var t=e&&e.IPv6;return{best:function(e){var t,n,r=e.toLowerCase().split(":"),i=r.length,a=8;for(""===r[0]&&""===r[1]&&""===r[2]?(r.shift(),r.shift()):""===r[0]&&""===r[1]?r.shift():""===r[i-1]&&""===r[i-2]&&r.pop(),-1!==r[(i=r.length)-1].indexOf(".")&&(a=7),t=0;t<i&&""!==r[t];t++);if(t<a)for(r.splice(t,1,"0000");r.length<a;)r.splice(t,0,"0000");for(var o=0;o<a;o++){n=r[o].split("");for(var s=0;s<3&&("0"===n[0]&&n.length>1);s++)n.splice(0,1);r[o]=n.join("")}var u=-1,c=0,l=0,d=-1,m=!1;for(o=0;o<a;o++)m?"0"===r[o]?l+=1:(m=!1,l>c&&(u=d,c=l)):"0"===r[o]&&(m=!0,d=o,l=1);l>c&&(u=d,c=l),c>1&&r.splice(u,c,""),i=r.length;var p="";for(""===r[0]&&(p=":"),o=0;o<i&&(p+=r[o],o!==i-1);o++)p+=":";return""===r[i-1]&&(p+=":"),p},noConflict:function(){return e.IPv6===this&&(e.IPv6=t),this}}})},4704(e,t,n){var r,i;!function(a,o){"use strict";e.exports?e.exports=o():void 0===(i="function"==typeof(r=o)?r.call(t,n,t,e):r)||(e.exports=i)}(0,function(e){"use strict";var t=e&&e.SecondLevelDomains,n={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" c
2om edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk d
2p edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;var r=e.lastIndexOf(".",t-1);if(r<=0||r>=t-1)return!1;var i=n.list[e.slice(t+1)];return!!i&&i.indexOf(" "+e.slice(r+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;if(e.lastIndexOf(".",t-1)>=0)return!1;var r=n.list[e.slice(t+1)];return!!r&&r.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var r=e.lastIndexOf(".",t-1);if(r<=0||r>=t-1)return null;var i=n.list[e.slice(t+1)];return i?i.indexOf(" "+e.slice(r+1,t)+" ")<0?null:e.slice(r+1):null},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return n})},4193(e,t,n){var r,i,a;!function(o,s){"use strict";e.exports?e.exports=s(n(9340),n(1430),n(4704)):(i=[n(9340),n(1430),n(4704)],void 0===(a="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=a))}(0,function(e,t,n,r){"use strict";var i=r&&r.URI;function a(e,t){var n=arguments.length>=1;if(!(this instanceof a))return n?arguments.length>=2?new a(e,t):new a(e):new a;if(void 0===e){if(n)throw new TypeError("undefined is not a valid argument for URI");e="undefined"!=typeof location?location.href+"":""}if(null===e&&n)throw new TypeError("null is not a valid argument for URI");return this.href(e),void 0!==t?this.absoluteTo(t):this}a.version="1.19.11";var o=a.prototype,s=Object.prototype.hasOwnProperty;function u(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function c(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function l(e){return"Array"===c(e)}function d(e,t){var n,r,i={};if("RegExp"===c(t))i=null;else if(l(t))for(n=0,r=t.length;n<r;n++)i[t[n]]=!0;else i[t]=!0;for(n=0,r=e.length;n<r;n++){(i&&void 0!==i[e[n]]||!i&&t.test(e[n]))&&(e.splice(n,1),r--,n--)}return e}function m(e,t){var n,r;if(l(t)){for(n=0,r=t.length;n<r;n++)if(!m(e,t[n]))return!1;return!0}var i=c(t);for(n=0,r=e.length;n<r;n++)if("RegExp"===i){if("string"==typeof e[n]&&e[n].match(t))return!0}else if(e[n]===t)return!0;return!1}function p(e,t){if(!l(e)||!l(t))return!1;if(e.length!==t.length)return!1;e.sort(),t.sort();for(var n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0}function f(e){return e.replace(/^\/+|\/+$/g,"")}function g(e){return escape(e)}function h(e){return encodeURIComponent(e).replace(/[!'()*]/g,g).replace(/\*/g,"%2A")}a._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:a.preventInvalidHostname,duplicateQueryParameters:a.duplicateQueryParameters,escapeQuerySpace:a.escapeQuerySpace}},a.preventInvalidHostname=!1,a.duplicateQueryParameters=!1,a.escapeQuerySpace=!0,a.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,a.idn_expression=/[^a-z0-9\._-]/i,a.punycode_expression=/(xn--)/i,a.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,a.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,a.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/gi,a.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},a.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,a.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,a.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},a.hostProtocols=["http","https"],a.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,a.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},a.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return a.domAttributes[t]}},a.encode=h,a.decode=decodeURIComponent,a.iso8859=function(){a.encode=escape,a.decode=unescape},a.unicode=function(){a.encode=h,a.decode=decodeURIComponent},a.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},a.encodeQuery=function(e,t){var n=a.encode(e+"");return void 0===t&&(t=a.escapeQuerySpace),t?n.replace(/%20/g,"+"):n},a.decodeQuery=function(e,t){e+="",void 0===t&&(t=a.escapeQuerySpace);try{return a.decode(t?e.replace(/\+/g,"%20"):e)}catch(t){return e}};var v,y={encode:"encode",decode:"decode"},b=function(e,t){return function(n){try{return a[t](n+"").replace(a.characters[e][t].expression,function(n){return a.characters[e][t].map[n]})}catch(e){return n}}};for(v in y)a[v+"PathSegment"]=b("pathname",y[v]),a[v+"UrnPathSegment"]=b("urnpath",y[v]);var _=function(e,t,n){return function(r){var i;i=n?function(e){return a[t](a[n](e))}:a[t];for(var o=(r+"").split(e),s=0,u=o.length;s<u;s++)o[s]=i(o[s]);return o.join(e)}};function $(e){return function(t,n){return void 0===t?this._parts[e]||"":(this._parts[e]=t||null,this.build(!n),this)}}function k(e,t){return function(n,r){return void 0===n?this._parts[e]||"":(null!==n&&(n+="").charAt(0)===t&&(n=n.substring(1)),this._parts[e]=n,this.build(!r),this)}}a.decodePath=_("/","decodePathSegment"),a.decodeUrnPath=_(":","decode
2UrnPathSegment"),a.recodePath=_("/","encodePathSegment","decode"),a.recodeUrnPath=_(":","encodeUrnPathSegment","decode"),a.encodeReserved=b("reserved","encode"),a.parse=function(e,t){var n;return t||(t={preventInvalidHostname:a.preventInvalidHostname}),(n=(e=(e=e.replace(a.leading_whitespace_expression,"")).replace(a.ascii_tab_whitespace,"")).indexOf("#"))>-1&&(t.fragment=e.substring(n+1)||null,e=e.substring(0,n)),(n=e.indexOf("?"))>-1&&(t.query=e.substring(n+1)||null,e=e.substring(0,n)),"//"===(e=(e=e.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://")).replace(/^[/\\]{2,}/i,"//")).substring(0,2)?(t.protocol=null,e=e.substring(2),e=a.parseAuthority(e,t)):(n=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,n)||null,t.protocol&&!t.protocol.match(a.protocol_expression)?t.protocol=void 0:"//"===e.substring(n+1,n+3).replace(/\\/g,"/")?(e=e.substring(n+3),e=a.parseAuthority(e,t)):(e=e.substring(n+1),t.urn=!0)),t.path=e,t},a.parseHost=function(e,t){e||(e="");var n,r,i=(e=e.replace(/\\/g,"/")).indexOf("/");if(-1===i&&(i=e.length),"["===e.charAt(0))n=e.indexOf("]"),t.hostname=e.substring(1,n)||null,t.port=e.substring(n+2,i)||null,"/"===t.port&&(t.port=null);else{var o=e.indexOf(":"),s=e.indexOf("/"),u=e.indexOf(":",o+1);-1!==u&&(-1===s||u<s)?(t.hostname=e.substring(0,i)||null,t.port=null):(r=e.substring(0,i).split(":"),t.hostname=r[0]||null,t.port=r[1]||null)}return t.hostname&&"/"!==e.substring(i).charAt(0)&&(i++,e="/"+e),t.preventInvalidHostname&&a.ensureValidHostname(t.hostname,t.protocol),t.port&&a.ensureValidPort(t.port),e.substring(i)||"/"},a.parseAuthority=function(e,t){return e=a.parseUserinfo(e,t),a.parseHost(e,t)},a.parseUserinfo=function(e,t){var n=e;-1!==e.indexOf("\\")&&(e=e.replace(/\\/g,"/"));var r,i=e.indexOf("/"),o=e.lastIndexOf("@",i>-1?i:e.length-1);return o>-1&&(-1===i||o<i)?(r=e.substring(0,o).split(":"),t.username=r[0]?a.decode(r[0]):null,r.shift(),t.password=r[0]?a.decode(r.join(":")):null,e=n.substring(o+1)):(t.username=null,t.password=null),e},a.parseQuery=function(e,t){if(!e)return{};if(!(e=e.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"")))return{};for(var n,r,i,o={},u=e.split("&"),c=u.length,l=0;l<c;l++)n=u[l].split("="),r=a.decodeQuery(n.shift(),t),i=n.length?a.decodeQuery(n.join("="),t):null,"__proto__"!==r&&(s.call(o,r)?("string"!=typeof o[r]&&null!==o[r]||(o[r]=[o[r]]),o[r].push(i)):o[r]=i);return o},a.build=function(e){var t="",n=!1;return e.protocol&&(t+=e.protocol+":"),e.urn||!t&&!e.hostname||(t+="//",n=!0),t+=a.buildAuthority(e)||"","string"==typeof e.path&&("/"!==e.path.charAt(0)&&n&&(t+="/"),t+=e.path),"string"==typeof e.query&&e.query&&(t+="?"+e.query),"string"==typeof e.fragment&&e.fragment&&(t+="#"+e.fragment),t},a.buildHost=function(e){var t="";return e.hostname?(a.ip6_expression.test(e.hostname)?t+="["+e.hostname+"]":t+=e.hostname,e.port&&(t+=":"+e.port),t):""},a.buildAuthority=function(e){return a.buildUserinfo(e)+a.buildHost(e)},a.buildUserinfo=function(e){var t="";return e.username&&(t+=a.encode(e.username)),e.password&&(t+=":"+a.encode(e.password)),t&&(t+="@"),t},a.buildQuery=function(e,t,n){var r,i,o,u,c="";for(i in e)if("__proto__"!==i&&s.call(e,i))if(l(e[i]))for(r={},o=0,u=e[i].length;o<u;o++)void 0!==e[i][o]&&void 0===r[e[i][o]+""]&&(c+="&"+a.buildQueryParameter(i,e[i][o],n),!0!==t&&(r[e[i][o]+""]=!0));else void 0!==e[i]&&(c+="&"+a.buildQueryParameter(i,e[i],n));return c.substring(1)},a.buildQueryParameter=function(e,t,n){return a.encodeQuery(e,n)+(null!==t?"="+a.encodeQuery(t,n):"")},a.addQuery=function(e,t,n){if("object"==typeof t)for(var r in t)s.call(t,r)&&a.addQuery(e,r,t[r]);else{if("string"!=typeof t)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");if(void 0===e[t])return void(e[t]=n);"string"==typeof e[t]&&(e[t]=[e[t]]),l(n)||(n=[n]),e[t]=(e[t]||[]).concat(n)}},a.setQuery=function(e,t,n){if("object"==typeof t)for(var r in t)s.call(t,r)&&a.setQuery(e,r,t[r]);else{if("string"!=typeof t)throw new TypeError("URI.setQuery() accepts an object, string as the name parameter");e[t]=void 0===n?null:n}},a.removeQuery=function(e,t,n){var r,i,o;if(l(t))for(r=0,i=t.length;r<i;r++)e[t[r]]=void 0;else if("RegExp"===c(t))for(o in e)t.test(o)&&(e[o]=void 0);else if("object"==typeof t)for(o in t)s.call(t,o)&&a.removeQuery(e,o,t[o]);else{if("string"!=typeof t)throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter");void 0!==n?"RegExp"===c(n)?!l(e[t])&&n.test(e[t])?e[t]=void 0:e[t]=d(e[t],n):e[t]!==String(n)||l(n)&&1!==n.length?l(e[t])&&(e[t]=d(e[t],n)):e[t]=void 0:e[t]=void 0}},a.hasQuery=function(e,t,n,r){switch(c(t)){case"String":break;case"RegExp":for(var i in e)if(s.call(e,i)&&t.test(i)&&(void 0===n||a.hasQuery(e,i,n)))return!0;return!1;case"Object":for(var o in t)if(s.call(t,o)&&!a.hasQuery(e,o,t[o]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(c(n)){case"Undefined":return t in e;case"Boolean":return n===Boolean(l(e[t])?e[t].length:e[t]);
2case"Function":return!!n(e[t],t,e);case"Array":return!!l(e[t])&&(r?m:p)(e[t],n);case"RegExp":return l(e[t])?!!r&&m(e[t],n):Boolean(e[t]&&e[t].match(n));case"Number":n=String(n);case"String":return l(e[t])?!!r&&m(e[t],n):e[t]===n;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},a.joinPaths=function(){for(var e=[],t=[],n=0,r=0;r<arguments.length;r++){var i=new a(arguments[r]);e.push(i);for(var o=i.segment(),s=0;s<o.length;s++)"string"==typeof o[s]&&t.push(o[s]),o[s]&&n++}if(!t.length||!n)return new a("");var u=new a("").segment(t);return""!==e[0].path()&&"/"!==e[0].path().slice(0,1)||u.path("/"+u.path()),u.normalize()},a.commonPath=function(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n++)if(e.charAt(n)!==t.charAt(n)){n--;break}return n<1?e.charAt(0)===t.charAt(0)&&"/"===e.charAt(0)?"/":"":("/"===e.charAt(n)&&"/"===t.charAt(n)||(n=e.substring(0,n).lastIndexOf("/")),e.substring(0,n+1))},a.withinString=function(e,t,n){n||(n={});var r=n.start||a.findUri.start,i=n.end||a.findUri.end,o=n.trim||a.findUri.trim,s=n.parens||a.findUri.parens,u=/[a-z0-9-]=["']?$/i;for(r.lastIndex=0;;){var c=r.exec(e);if(!c)break;var l=c.index;if(n.ignoreHtml){var d=e.slice(Math.max(l-3,0),l);if(d&&u.test(d))continue}for(var m=l+e.slice(l).search(i),p=e.slice(l,m),f=-1;;){var g=s.exec(p);if(!g)break;var h=g.index+g[0].length;f=Math.max(f,h)}if(!((p=f>-1?p.slice(0,f)+p.slice(f).replace(o,""):p.replace(o,"")).length<=c[0].length||n.ignore&&n.ignore.test(p))){var v=t
2(p,l,m=l+p.length,e);void 0!==v?(v=String(v),e=e.slice(0,l)+v+e.slice(m),r.lastIndex=l+v.length):r.lastIndex=m}}return r.lastIndex=0,e},a.ensureValidHostname=function(t,n){var r=!!t,i=!1;if(!!n&&(i=m(a.hostProtocols,n)),i&&!r)throw new TypeError("Hostname cannot be empty, if protocol is "+n);if(t&&t.match(a.invalid_hostname_characters)){if(!e)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(t).match(a.invalid_hostname_characters))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_]')}},a.ensureValidPort=function(e){if(e){var t=Number(e);if(!(/^[0-9]+$/.test(t)&&t>0&&t<65536))throw new TypeError('Port "'+e+'" is not a valid port')}},a.noConflict=function(e){if(e){var t={URI:this.noConflict()};return r.URITemplate&&"function"==typeof r.URITemplate.noConflict&&(t.URITemplate=r.URITemplate.noConflict()),r.IPv6&&"function"==typeof r.IPv6.noConflict&&(t.IPv6=r.IPv6.noConflict()),r.SecondLevelDomains&&"function"==typeof r.SecondLevelDomains.noConflict&&(t.SecondLevelDomains=r.SecondLevelDomains.noConflict()),t}return r.URI===this&&(r.URI=i),this},o.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=a.build(this._parts),this._deferred_build=!1),this},o.clone=function(){return new a(this)},o.valueOf=o.toString=function(){return this.build(!1)._string},o.protocol=$("protocol"),o.username=$("username"),o.password=$("password"),o.hostname=$("hostname"),o.port=$("port"),o.query=k("query","?"),o.fragment=k("fragment","#"),o.search=function(e,t){var n=this.query(e,t);return"string"==typeof n&&n.length?"?"+n:n},o.hash=function(e,t){var n=this.fragment(e,t);return"string"==typeof n&&n.length?"#"+n:n},o.pathname=function(e,t){if(void 0===e||!0===e){var n=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?a.decodeUrnPath:a.decodePath)(n):n}return this._parts.urn?this._parts.path=e?a.recodeUrnPath(e):"":this._parts.path=e?a.recodePath(e):"/",this.build(!t),this},o.path=o.pathname,o.href=function(e,t){var n;if(void 0===e)return this.toString();this._string="",this._parts=a._parts();var r=e instanceof a,i="object"==typeof e&&(e.hostname||e.path||e.pathname);e.nodeName&&(e=e[a.getDomAttribute(e)]||"",i=!1);if(!r&&i&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=a.parse(String(e),this._parts);else{if(!r&&!i)throw new TypeError("invalid input");var o=r?e._parts:e;for(n in o)"query"!==n&&s.call(this._parts,n)&&(this._parts[n]=o[n]);o.query&&this.query(o.query,!1)}return this.build(!t),this},o.is=function(e){var t=!1,r=!1,i=!1,o=!1,s=!1,u=!1,c=!1,l=!this._parts.urn;switch(this._parts.hostname&&(l=!1,r=a.ip4_expression.test(this._parts.hostname),i=a.ip6_expression.test(this._parts.hostname),s=(o=!(t=r||i))&&n&&n.has(this._parts.hostname),u=o&&a.idn_expression.test(this._parts.hostname),c=o&&a.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return l;case"absolute":return!l;case"domain":case"name":return o;case"sld":return s;case"ip":return t;case"ip4":case"ipv4":case"inet4":return r;case"ip6":case"ipv6":case"inet6":return i;case"idn":return u;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return c}return null};var w=o.protocol,I=o.port,S=o.hostname;o.protocol=function(e,t){if(e&&!(e=e.replace(/:(\/\/)?$/,"")).match(a.protocol_expression))throw new TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return w.call(this,e,t)},o.scheme=o.protocol,o.port=function(e,t){return this._parts.urn?void 0===e?"":this:(void 0!==e&&(0===e&&(e=null),e&&(":"===(e+="").charAt(0)&&(e=e.substring(1)),a.ensureValidPort(e))),I.call(this,e,t))},o.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var n={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==a.parseHost(e,n))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=n.hostname,this._parts.preventInvalidHostname&&a.ensureValidHostname(e,this._parts.protocol)}return S.call(this,e,t)},o.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var n=this.protocol();return this.authority()?(n?n+"://":"")+this.authority():""}var r=a(e);return this.protocol(r.protocol()).authority(r.authority()).build(!t),this},o.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?a.buildHost(this._parts):"";if("/"!==a.parseHost(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},o.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?a.buildAuthority(this._parts):"";if("/"!==a.parseAuthority(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},o.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var n=a.buildUserinfo(this._parts);return n?n.substring(0,n.length-1):n}return"@"!==e[e.length-1]&&(e+="@"),a.parseUserinfo(e,this._parts),this.build(!t),this},o.resource=function(e,t){var n;return void 0===e?this.path()+this.search()+this.hash():(n=a.parse(e),this._parts.path=n.path,this._parts.query=n.query,this._parts.fragment=n.fragment,this.build(!t),this)},o.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,n)||""}var r=this._parts.hostname.length-this.domain().length,i=this._parts.hostname.substring(0,r),o=new RegExp("^"+u(i));if(e&&"."!==e.charAt(e.length-1)&&(e+="."),-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");return e&&a.ensureValidHostname(e,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(o,e),this.build(!t),this},o.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.match(/\./g);if(n&&n.length<2)return this._parts.hostname;var r=this._parts.hostname.length-this.tld(t).length-1;return r=this._parts.hostname.lastIndexOf(".",r-1)+1,this._parts.hostname.substring(r)||""}if(!e)throw new TypeError("cannot set domain empty");if(-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(a.ensureValidHostname(e,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var i=new RegExp(u(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(i,e)}return this.build(!t),this},o.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.lastIndexOf("."),i=this._parts.hostname.substring(r+1);return!0!==t&&n&&n.list[i.toLowerCase()]&&n.get(this._parts.hostname)||i}var a;if(!e)throw new TypeError("cannot set TLD empty");if(e.match(/[^a-zA-Z0-9-]/)){if(!n||!n.is(e))throw new TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]');a=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(a,e)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");a=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(a,e)}return this.build(!t),this},o.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var n=this._parts.path.length-this.filename().length-1,r=this._parts.path.substring(0,n)||(this._parts.hostname?"/":"");return e?a.decodePath(r):r}var i=this._parts.path.length-this.filename().length,o=this._parts.path.substring(0,i),s=new RegExp("^"+u(o));return this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=a.recodePath(e),this._parts.path=this._parts.path.replace(s,e),this.build(!t),this},o.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!=typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var n=this._parts.path.lastIndexOf("/"),r=this._parts.path.substring(n+1);return e?a.decodePathSegment(r):r}var i=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(i=!0);var o=new RegExp(u(this.filename())+"$");return e=a.recodePath(e),this._parts.path=this._parts.path.replace(o,e),i?this.normalizePath(t):this.build(!t),this},o.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var n,r,i=this.filename(),o=i.lastIndexOf(".");return-1===o?"":(n=i.substring(o+1),r=/^[a-z0-9%]+$/i.test(n)?n:"",e?a.decodePathSegment(r):r)}"."===e.charAt(0)&&(e=e.substring(1));var s,c=this.suffix();if(c)s=e?new RegExp(u(c)+"$"):new RegExp(u("."+c)+"$");else{if(!e)return this;this._parts.path+="."+a.recodePath(e)}return s&&(e=a.recodePath(e),this._parts.path=this._parts.path.replace(s,e)),this.build(!t),this},o.segment=function(e,t,n){var r=this._parts.urn?":":"/",i=this.path(),a="/"===i.substring(0,1),o=i.split(r);if(void 0!==e&&"number"!=typeof e&&(n=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw new Error('Bad segment "'+e+'", must be 0-based integer');if(a&&o.shift(),e<0&&(e=Math.max(o.length+e,0)),void 0===t)return void 0===e?o:o[e];if(null===e||void 0===o[e])if(l(t)){o=[];for(var s=0,u=t.length;s<u;s++)(t[s].length||o.length&&o[o.length-1].length)&&(o.length&&!o[o.length-1].length&&o.pop(),o.push(f(t[s])))}else(t||"string"==typeof t)&&(t=f(t),""===o[o.length-1]?o[o.length-1]=t:o.push(t));else t?o[e]=f(t):o.splice(e,1);return a&&o.unshift(""),this.path(o.join(r),n)},o.segmentCoded=function(e,t,n){var r,i,o;if("number"!=typeof e&&(n=t,t=e,e=void 0),void 0===t){if(l(r=this.segment(e,t,n)))for(i=0,o=r.length;i<o;i++)r[i]=a.decode(r[i]);else r=void 0!==r?a.decode(r):void 0;return r}if(l(t))for(i=0,o=t.length;i<o;i++)t[i]=a.encode(t[i]);else t="string"==typeof t||t instanceof String?a.encode(t):t;return this.segment(e,t,n)};var x=o.query;return o.query=function(e,t){if(!0===e)return a.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"==typeof e){var n=a.parseQuery(this._parts.query,this._parts.escapeQuerySpace),r=e.call(this,n);return this._parts.query=a.buildQuery(r||n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this}return void 0!==e&&"string"!=typeof e?(this._parts.query=a.buildQuery(e,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this):x.call(this,e,t)},o.setQuery=function(e,t,n){var r=a.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"==typeof e||e instanceof String)r[e]=void 0!==t?t:null;else{if("object"!=typeof e)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");for(var i in e)s.call(e,i)&&(r[i]=e[i])}return this._parts.query=a.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},o.addQuery=function(e,t,n){var r=a.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return a.addQuery(r,e,void 0===t?null:t),this._parts.query=a.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},o.removeQuery=function(e,t,n){var r=a.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return a.removeQuery(r,e,t),this._parts.query=a.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},o.hasQuery=function(e,t,n){var r=a.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return a.hasQuery(r,e,t,n)},o.setSearch=o.setQuery,o.addSearch=o.addQuery,o.removeSearch=o.removeQuery,o.hasSearch=o.hasQuery,o.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},o.normalizeProtocol=function(e){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!e)),this},o.normalizeHostname=function(n){return this._parts.hostname&&(this.is("IDN")&&e?this._parts.hostname=e.toASCII(this._parts.hostname):this.is("IPv6")&&t&&(this._parts.hostname=t.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!n)),this},o.normalizePort=function(e){return"string"==typeof this._parts.protocol&&this._parts.port===a.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!e)),this},o.normalizePath=function(e){var t,n=this._parts.path;if(!n)return this;if(this._parts.urn)return this._parts.path=a.recodeUrnPath(this._parts.path),this.build(!e),this;if("/"===this._parts.path)return this;var r,i,o="";for("/"!==(n=a.recodePath(n)).charAt(0)&&(t=!0,n="/"+n),"/.."!==n.slice(-3)&&"/."!==n.slice(-2)||(n+="/"),n=n.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),t&&(o=n.substring(1).match(/^(\.\.\/)+/)||"")&&(o=o[0]);-1!==(r=n.search(/\/\.\.(\/|$)/));)0!==r?(-1===(i=n.substring(0,r).lastIndexOf("/"))&&(i=r),n=n.substring(0,i)+n.substring(r+3)):n=n.substring(3);return t&&this.is("relative")&&(n=o+n.substring(1)),this._parts.path=n,this.build(!e),this},o.normalizePathname=o.normalizePath,o.normalizeQuery=function(e){return"string"==typeof this._parts.query&&(this._parts.query.length?this.query(a.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!e)),this},o.normalizeFragment=function(e){return this._parts.fragment||(this._parts.fragment=null,this.build(!e)),this},o.normalizeSearch=o.normalizeQuery,o.normalizeHash=o.normalizeFragment,o.iso8859=function(){var e=a.encode,t=a.decode;a.encode=escape,a.decode=decodeURIComponent;try{this.normalize()}finally{a.encode=e,a.decode=t}return this},o.unicode=function(){var e=a.encode,t=a.decode;a.encode=h,a.decode=unescape;try{this.normalize()}finally{a.encode=e,a.decode=t}return this},o.readable=function(){var t=this.clone();t.username("").password("").normalize();var n="";if(t._parts.protocol&&(n+=t._parts.protocol+"://"),t._parts.hostname&&(t.is("punycode")&&e?(n+=e.toUnicode(t._parts.hostname),t._parts.port&&(n+=":"+t._parts.port)):n+=t.host()),t._parts.hostname&&t._parts.path&&"/"!==t._parts.path.
2charAt(0)&&(n+="/"),n+=t.path(!0),t._parts.query){for(var r="",i=0,o=t._parts.query.split("&"),s=o.length;i<s;i++){var u=(o[i]||"").split("=");r+="&"+a.decodeQuery(u[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==u[1]&&(r+="="+a.decodeQuery(u[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}n+="?"+r.substring(1)}return n+=a.decodeQuery(t.hash(),!0)},o.absoluteTo=function(e){var t,n,r,i=this.clone(),o=["protocol","username","password","hostname","port"];if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e instanceof a||(e=new a(e)),i._parts.protocol)return i;if(i._parts.protocol=e._parts.protocol,this._parts.hostname)return i;for(n=0;r=o[n];n++)i._parts[r]=e._parts[r];return i._parts.path?(".."===i._parts.path.substring(-2)&&(i._parts.path+="/"),"/"!==i.path().charAt(0)&&(t=(t=e.directory())||(0===e.path().indexOf("/")?"/":""),i._parts.path=(t?t+"/":"")+i._parts.path,i.normalizePath())):(i._parts.path=e._parts.path,i._parts.query||(i._parts.query=e._parts.query)),i.build(),i},o.relativeTo=function(e){var t,n,r,i,o,s=this.clone().normalize();if(s._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e=new a(e).normalize(),t=s._parts,n=e._parts,i=s.path(),o=e.path(),"/"!==i.charAt(0))throw new Error("URI is already relative");if("/"!==o.charAt(0))throw new Error("Cannot calculate a URI relative to another relative URI");if(t.protocol===n.protocol&&(t.protocol=null),t.username!==n.username||t.password!==n.password)return s.build();if(null!==t.protocol||null!==t.username||null!==t.password)return s.build();if(t.hostname!==n.hostname||t.port!==n.port)return s.build();if(t.hostname=null,t.port=null,i===o)return t.path="",s.build();if(!(r=a.commonPath(i,o)))return s.build();var u=n.path.substring(r.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return t.path=u+t.path.substring(r.length)||"./",s.build()},o.equals=function(e){var t,n,r,i,o,u=this.clone(),c=new a(e),d={};if(u.normalize(),c.normalize(),u.toString()===c.toString())return!0;if(r=u.query(),i=c.query(),u.query(""),c.query(""),u.toString()!==c.toString())return!1;if(r.length!==i.length)return!1;for(o in t=a.parseQuery(r,this._parts.escapeQuerySpace),n=a.parseQuery(i,this._parts.escapeQuerySpace),t)if(s.call(t,o)){if(l(t[o])){if(!p(t[o],n[o]))return!1}else if(t[o]!==n[o])return!1;d[o]=!0}for(o in n)if(s.call(n,o)&&!d[o])return!1;return!0},o.preventInvalidHostname=function(e){return this._parts.preventInvalidHostname=!!e,this},o.duplicateQueryParameters=function(e){return this._parts.duplicateQueryParameters=!!e,this},o.escapeQuerySpace=function(e){return this._parts.escapeQuerySpace=!!e,this},a})},9340(e,t,n){var r;e=n.nmd(e),function(){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof n.g&&n.g;i.global!==i&&i.window!==i&&i.self;var a,o=2147483647,s=36,u=/^xn--/,c=/[^\x20-\x7E]/,l=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,p=String.fromCharCode;function f(e){throw new RangeError(d[e])}function g(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function h(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+g((e=e.replace(l,".")).split("."),t).join(".")}function v(e){for(var t,n,r=[],i=0,a=e.length;i<a;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<a?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function y(e){return g(e,function(e){var t="";return e>65535&&(t+=p((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=p(e)}).join("")}function b(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:s}function _(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function $(e,t,n){var r=0;for(e=n?m(e/700):e>>1,e+=m(e/t);e>455;r+=s)e=m(e/35);return m(r+36*e/(e+38))}function k(e){var t,n,r,i,a,u,c,l,d,p,g=[],h=e.length,v=0,_=128,k=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&f("not-basic"),g.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<h;){for(a=v,u=1,c=s;i>=h&&f("invalid-input"),((l=b(e.charCodeAt(i++)))>=s||l>m((o-v)/u))&&f("overflow"),v+=l*u,!(l<(d=c<=k?1:c>=k+26?26:c-k));c+=s)u>m(o/(p=s-d))&&f("overflow"),u*=p;k=$(v-a,t=g.length+1,0==a),m(v/t)>o-_&&f("overflow"),_+=m(v/t),v%=t,g.splice(v++,0,_)}return y(g)}function w(e){var t,n,r,i,a,u,c,l,d,g,h,y,b,k,w,I=[];for(y=(e=v(e)).length,t=128,n=0,a=72,u=0;u<y;++u)(h=e[u])<128&&I.push(p(h));for(r=i=I.length,i&&I.push("-");r<y;){for(c=o,u=0;u<y;++u)(h=e[u])>=t&&h<c&&(c=h);for(c-t>m((o-n)/(b=r+1))&&f("overflow"),n+=(c-t)*b,t=c,u=0;u<y;++u)if((h=e[u])<t&&++n>o&&f("overflow"),h==t){for(l=n,d=s;!(l<(g=d<=a?1:d>=a+26?26:d-a));d+=s)w=l-g,k=s-g,I.push(p(_(g+w%k,0))),l=m(w/k);I.push(p(_(l,0))),a=$(n,b,r==i),n=0,++r}++n,++t}return I.join("")}a={version:"1.3.2",ucs2:{decode:v,encode:y},decode:k,encode:w,toASCII:function(e){return h(e,function(e){return c.test(e)?"xn--"+w(e):e})},toUnicode:function(e){return h(e,function(e){return u.test(e)?k(e.slice(4).toLowerCase()):e})}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(a.exports,a,a.exports,i),a.loaded=!0,a.exports}i.m=n,i.n=e=>
2{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce((t,n)=>(i.f[n](e,t),t),[])),i.u=e=>"js/w/es6/master-6d42e8e5/"+{796:"getHashHexClientside",5312:"getHashHexServerside"}[e]+".js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="fie_widgets:",i.l=(n,r,a,o)=>{if(e[n])e[n].push(r);else{var s,u;if(void 0!==a)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var d=c[l];if(d.getAttribute("src")==n||d.getAttribute("data-webpack")==t+a){s=d;break}}s||(u=!0,(s=document.createElement("script")).charset="utf-8",i.nc&&s.setAttribute("nonce",i.nc),s.setAttribute("data-webpack",t+a),s.src=n),e[n]=[r];var m=(t,r)=>{s.onerror=s.onload=null,clearTimeout(p);var i=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach(e=>e(r)),t)return t(r)},p=setTimeout(m.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=m.bind(null,s.onerror),s.onload=m.bind(null,s.onload),u&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.dn=e=>{(Object.getOwnPropertyDescriptor(e,"name")||{}).writable||Object.defineProperty(e,"name",{value:"default",configurable:!0})},i.p="/",(()=>{var e={9394:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var a=new Promise((n,i)=>r=e[t]=[n,i]);n.push(r[2]=a);var o=i.p+i.u(t),s=new Error;i.l(o,n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",s.name="ChunkLoadError",s.type=a,s.request=o,r[1](s)}},"chunk-"+t,t)}};var t=(t,n)=>{var r,a,[o,s,u]=n,c=0;if(o.some(t=>0!==e[t])){for(r in s)i.o(s,r)&&(i.m[r]=s[r]);if(u)u(i)}for(t&&t(n);c<o.length;c++)a=o[c],i.o(e,a)&&e[a]&&e[a][0](),e[a]=0},n=self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();i(6716)})();
3//# sourceMappingURL=ecomlinks.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.