1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/MobileRoleField-B8dok354.js","assets/client-BQX2osqb.js","assets/utils-DCADjnpI.js","assets/use-mobile-clamped-overflow-DxZmwSB8.js","assets/MobileRoleField-BvF6o5ir.css","assets/index-HFBrfByQ.js","assets/index-D6hT1P0P.js","assets/index-DewL7osD.css","assets/index-eUezWgRC.css","assets/index-DxyN8KRR.js","assets/index-CbN9oXBc.css","assets/index-CHKrHrbf.js","assets/index--moHgoOv.js","assets/index-BVbhjsjC.js","assets/index-BbbXYbUC.css","assets/index-DooIXCYo.css","assets/index-FBrIgf89.js","assets/ArrowRight-DJCMH4nK.js","assets/index-COTpp7ap.css","assets/year-range-buckets-pA9n0jPL.js","assets/index-C9wmjoo7.css","assets/index-D71BlYyC.js","assets/index-ByNp931x.js","assets/index-CGmTUoX3.css","assets/index-CkTb93yc.css","assets/index-DrluDxDt.js","assets/index-O5ysc1v6.css","assets/index-AnBgFaYQ.js","assets/index-d3fXKxDj.css","assets/ChairBodyExpandable-DCz8RiBa.js","assets/ChairBodyExpandable-WPfQ4WkO.css","assets/index-DuzTwEZj.js","assets/placeholder-BLVmB_kq.js","assets/index-CzVxcjHX.js","assets/index-DR5I049S.css","assets/index-BvwvSkG1.css","assets/MobileItemAccordion-CBDsplxF.js","assets/MobileItemAccordion-B76xGY31.css","assets/index-RPLYmgFL.js","assets/index-CBJWx0eG.css","assets/index-9C06EWlB.js","assets/index-DD1KYGy0.js","assets/index-DjUZRjTA.js","assets/content-block-utils-BAY45mZm.js","assets/index-Calxvewr.css","assets/AdvocacyCta-BQhjI4iT.js","assets/deco-bg-circle-D7_V_LZ_.js","assets/AdvocacyCta-xPxj0F1C.css","assets/index-SRvMv1J2.js","assets/index-DYWxdpyZ.js","assets/index-DBkuGjSp.css","assets/index-2bxztQad.js","assets/index-FJqjkRuE.css","assets/use-is-mobile-C7J29mMY.js","assets/index-BI_Gq2Or.css","assets/MobileCategoryDropdown-CIwGCONZ.js","assets/MobileCategoryDropdown-DpDWik_d.css","assets/index-D-0GI6qh.css","assets/index-CfW6Vu-q.js","assets/copy-text-to-clipboard-3p04Dzpz.js","assets/index-DHI683Ct.js","assets/Step2Form-yefpJkRN.js","assets/formatStep1Summary-BBPj9E86.js","assets/Step2BasicForm-Dai_OsLk.js","assets/step2FormShared-DgG67o9U.js","assets/formSchema-wyoNUesy.js","assets/step2FormShared-DOy636RS.css","assets/Step2ReceiptForm-D7rDI0J_.js","assets/AddressSelector-DwbmXlka.js","assets/index-U6YKfUG1.js","assets/AddressSelector-C1Hz5PAi.css","assets/composeTaiwanGiftAddress-CwDooPf_.js","assets/DonationIdentitySwitchTabs-BhqqD4KT.js","assets/DonationIdentitySwitchTabs-CPpi6M-t.css","assets/DonationRadioOption-BG5lbvq_.js","assets/ArrowTopRight-BFqHlxpw.js","assets/DonationRadioOption-G9dSkvg4.css","assets/index-B9FET0hg.js","assets/index-Hkz0U2sj.css","assets/csrf-token-D9sWIpWE.js","assets/DonationAmountOption-B3PpPdk8.js","assets/DonationAmountOption-DRvy3MM2.css","assets/DonationTextOption-zcsO1rHM.js","assets/DonationTextOption-C5o_jiBG.css","assets/PaymentFormFlowSteps-Dv0jA72U.js","assets/PaymentFormFlowSteps-B3sORDv0.css","assets/Steo3Confirm-DP_BPjBV.js","assets/CreditCard-Bvjgx_sJ.js","assets/Steo3Confirm-CZ-hjVt6.css","assets/Step4Payment-Bqc67TJJ.js","assets/Step4Payment-BNGZPfvW.css","assets/DropdownInput-D2b8svoF.js","assets/DropdownInput-BB1yM-gl.css","assets/DonationProjectExpandableBodySection-BVNf6oyy.js","assets/NewsContentBlocks-DpgYkail.js","assets/NewsContentBlockNodes-g0_AjQJs.js","assets/NewsContentBlockNodes-X8qHdBHW.css","assets/DonationProjectBodyCta-CJxyTNEc.js","assets/index-C7A9JPqJ.js","assets/index-CJ_x4-L6.css","assets/DonationProjectBodyCta-BiDfK42Q.css","assets/DonationProjectExpandableBodySection-Fy_gUwof.css","assets/index.module-i8jOxd87.js","assets/index-DYb_IG2R.css","assets/index-DlFIivLN.js","assets/index-BC3Zz_88.js","assets/index-C99SvIpJ.js","assets/index-DNUCpclr.js","assets/index-B4HDRzxY.css","assets/index-CSXwUpMR.css","assets/index-Bbz7IHzm.css","assets/index-V6xyHUiN.js","assets/index-1oV7OSvR.css","assets/index-DuAPlfKN.css","assets/usePreviewContent-f87a1hmo.js","assets/index-BGHCpejt.js","assets/index-tzx9dkm_.js","assets/index-D_q9aUyi.js","assets/index-ozvLewXJ.css","assets/index-NlVfDps4.css","assets/index-YybDyZ_z.css","assets/index-Dse9HlqR.js","assets/index-CLN4LgYN.js","assets/index-C_EIt04d.css","assets/get
1-recaptcha-v3-token-BoU2ejZj.js","assets/index-6VtbEAVu.js","assets/index-C-PhwH6u.css","assets/ConsultationRecaptchaNotice-BnzUcbaY.js","assets/ConsultationRecaptchaNotice-x3H5T51c.css","assets/index-DJWuI5m1.css","assets/index-CQ2b140R.js","assets/index-BXd6_Tms.css","assets/index-rcI_5FJD.js","assets/index-F-97bHzD.css","assets/index-tdn487Nk.js","assets/index-DjdtFs_0.css","assets/CorporatePartnerCard-BVQzIjk1.js","assets/CorporatePartnerCard-eDGGRqWy.css","assets/CorporateSectionRow-B_NbtNrO.js","assets/CorporateSectionRow-CUBxVDOP.css","assets/CorporateSupportSections-D6qyEL-e.js","assets/CorporateSupportSections-BVHTDy1R.css","assets/DonationCorporateCta-BqUecq8R.js","assets/DonationCorporateCta-BbmEDove.css","assets/DonationCorporatePartners-rniyztv9.js","assets/DonationCorporatePartners-C_c0wot6.css","assets/index-B1OEr6s_.js","assets/index-B7RF8Iej.css","assets/index-E5IyHYr1.js","assets/index-CC8lH0Hl.css","assets/index-xOLSqXoy.js","assets/index-CeaZotLN.js","assets/index-CvL2F7Yg.css","assets/index-CheXrU5B.css","assets/DonationQueryForm-CLTt-CPT.js","assets/DonationQueryRecaptchaNotice-DWZSBU_a.js","assets/DonationQueryForm-DvNHCHHD.css","assets/QueryResultPage-D3GqW7Hf.js","assets/QueryResultPage-ClBybjpp.css","assets/index-BxMAsucE.js","assets/index-Bybqe5fZ.js","assets/index-DYX
1MasTf.css","assets/index-NY6K90_R.js","assets/index-B5vJP3g0.css","assets/index-CzqtgtWz.js","assets/index-C1cnxeaG.css","assets/HeroSlider-Dz4cS9lf.js","assets/HeroSlider-BM9AzX8T.css","assets/HomeEntrance-IlXiKXNr.js","assets/HomeEntrance-C8JBNTrX.css","assets/NewsSection-BveevJJy.js","assets/NewsSection-0LRJrNYH.css","assets/PinnedProjectSection-mOkJll8L.js","assets/PinnedProjectSection-CRKKwvC9.css","assets/ServiceStatSection-DbdsF45C.js","assets/ServiceStatSection-B7Xl89zK.css","assets/StorySection-DbzxccbE.js","assets/StorySection-D8_wbftO.css","assets/index-BbWpJT2v.js","assets/index-BiQUxeMU.css","assets/index-Ct7AuaEb.js","assets/index-BTWBURuk.css","assets/index-DV3baIyJ.js","assets/index-DLzPidMV.js","assets/chevron-down-CnYka8tQ.js","assets/createLucideIcon-CirO9JEN.js","assets/index-BQOY9rPj.css","assets/index-D05vwDUY.css","assets/ThankyouView-CEvBRki_.js","assets/ThankyouView-Bc1Jxu1V.css","assets/index-BfH7rZF5.js","assets/index-WcgEtKRx.css","assets/index-Bz_qpEyl.js","assets/index-CktKxNtQ.css","assets/index-vwI-yUFb.js","assets/index-BoRlqRtt.css","assets/index-CsCH0E2N.js","assets/index-EDSPiVxn.css","assets/index-97kedPna.js","assets/index-C82fAt4D.css","assets/index-D7SJ70wC.js","assets/index-B4N6OxUm.css","assets/SearchCard-CP1f7lmj.js","assets/SearchCard-DVk3uE6n.css","assets/SearchSidebar-zyrcZhPf.js","assets/SearchSidebar-2BNrg77J.css","assets/index-C4nLkIrI.js","assets/index-T-AtKLEu.css","assets/ServiceProjectCard-CpW1HHqA.js","assets/ServiceProjectCard-7Rgwx8RA.css","assets/index-D5_JeJ7C.js","assets/index-C6pyInOW.css","assets/index-3qmxGJna.js","assets/index-Ty1PI6_Q.css","assets/index-BWtRKRcH.js","assets/index-DW3OA7Gp.css"])))=>i.map(i=>d[i]); 2import{f as Eh,r as E,g as _h,b as Fs,a as oo,h as Ah,i as Ou,k as ku,m as xh,R as Qt,j as y,c as Lh}from"./client-BQX2osqb.js";import{c as We,a as Th}from"./utils-DCADjnpI.js";const Ch="modulepreload",Oh=function(e){return"/build/"+e},Ms={},N=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){let l=function(c){return Promise.all(c.map(u=>Promise.resolve(u).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=o?.nonce||o?.getAttribute("nonce");i=l(r.map(c=>{if(c=Oh(c),c in Ms)return;Ms[c]=!0;const u=c.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${f}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":Ch,u||(d.as="script"),d.crossOrigin="",d.href=c,s&&d.setAttribute("nonce",s),document.head.appendChild(d),u)return new Promise((h,p)=>{d.addEventListener("load",h),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${c}`)))})}))}function a(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return i.then(o=>{for(const s of o||[])s.status==="rejected"&&a(s.reason);return t().catch(a)})};async function kh(e,t){for(const r of Array.isArray(e)?e:[e]){const n=t[r];if(!(typeof n>"u"))return typeof n=="function"?n():n}throw new Error(`Page not found: ${e}`)}function Ih(e,t){if(!!!e)throw new Error(t)}const Iu={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","directives","locations"],SchemaExtension:["directives","operationTypes"],DirectiveExtension:["name","directives"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},Dh=new Set(Object.keys(Iu));function js(e){const t=e?.kind;return typeof t=="string"&&Dh.has(t)}var nr;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(nr||(nr={}));var le;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="Str
2ingValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.DIRECTIVE_EXTENSION="DirectiveExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"})(le||(le={}));function qs(e){return e===9||e===32}function Rh(e,t){const r=e.replace(/"""/g,'\\"""'),n=r.split(/\r\n|[\n\r]/g),i=n.length===1,a=n.length>1&&n.slice(1).every(h=>
vendor: 4,979 bytes, lines 2-15
2h.length===0||qs(h.charCodeAt(0))),o=r.endsWith('\\"""'),s=e.endsWith('"')&&!o,l=e.endsWith("\\"),c=s||l,u=!i||e.length>70||c||a||o;let f="";const d=i&&qs(e.charCodeAt(0));return(u&&!d||a)&&(f+=` 3`),f+=r,(u||c)&&(f+=` 4`),'"""'+f+'"""'}const Nh=10,Du=2;function Fh(e){return hi(e,[])}function hi(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return Mh(e,t);default:return String(e)}}function Mh(e,t){if(e===null)return"null";if(t.includes(e))return"[Circular]";const r=[...t,e];if(jh(e)){const n=e.toJSON();if(n!==e)return typeof n=="string"?n:hi(n,r)}else if(Array.isArray(e))return $h(e,r);return qh(e,r)}function jh(e){return typeof e.toJSON=="function"}function qh(e,t){const r=Object.entries(e);return r.length===0?"{}":t.length>Du?"["+Bh(e)+"]":"{ "+r.map(([i,a])=>i+": "+hi(a,t)).join(", ")+" }"}function $h(e,t){if(e.length===0)return"[]";if(t.length>Du)return"[Array]";const r=Math.min(Nh,e.length),n=e.length-r,i=[];for(let a=0;a<r;++a)i.push(hi(e[a],t));return n===1?i.push("... 1 more item"):n>1&&i.push(`... ${n} more items`),"["+i.join(", ")+"]"}function Bh(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){const r=e.constructor.name;if(typeof r=="string"&&r!=="")return r}return t}function Vh(e){return`"${e.replace(Hh,Uh)}"`}const Hh=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function Uh(e){return Wh[e.charCodeAt(0)]}const Wh=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],jo=Object.freeze({});function _t(e,t,r=Iu){const n=new Map;for(const b of Object.values(le))n.set(b,zh(t,b));let i,a=Array.isArray(e),o=[e],s=-1,l=[],c=e,u,f;const d=[],h=[];do{s++;const b=s===o.length,v=b&&l.length!==0;if(b){if(u=h.length===0?void 0:d[d.length-1],c=f,f=h.pop(),v)if(a){c=c.slice();let L=0;for(const[A,O]of l){const T=A-L;O===null?(c.splice(T,1),L++):c[T]=O}}else{c={...c};for(const[L,A]of l)c[L]=A}s=i.index,o=i.keys,l=i.edits,a=i.inArray,i=i.prev}else if(f){if(u=a?s:o[s],c=f[u],c==null)continue;d.push(u)}let S;if(!Array.isArray(c)){var p,m;js(c)||Ih(!1,`Invalid AST Node: ${Fh(c)}.`);const L=b?(p=n.get(c.kind))===null||p===void 0?void 0:p.leave:(m=n.get(c.kind))===null||m===void 0?void 0:m.enter;if(S=L?.call(t,c,u,f,d,h),S===jo)break;if(S===!1){if(!b){d.pop();continue}}else if(S!==void 0&&(l.push([u,S]),!b))if(js(S))c=S;else{d.pop();continue}}if(S===void 0&&v&&l.push([u,c]),b)d.pop();else{var g;i={inArray:a,index:s,keys:o,edits:l,prev:i},a=Array.isArray(c),o=a?c:(g=r[c.kind])!==null&&g!==void 0?g:[],s=-1,l=[],f&&h.push(f),f=c}}while(i!==void 0);return l.length!==0?l[l.length-1][1]:e}function zh(e,t){const r=e[t];return typeof r=="object"?r:typeof r=="function"?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}function Gh(e){return _t(e,Kh)}const Qh=80,Kh={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>$(e.definitions,` 5 6`)},OperationDefinition:{leave(e){const t=Bi(e.variableDefinitions)?Z(`( 7`,$(e.variableDefinitions,` 8`),` 9)`):Z("(",$(e.variableDefinitions,", "),")"),r=Z("",e.description,` 10`)+$([e.operation,$([e.name,t]),$(e.directives," ")]," ");return(r==="query"?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n,description:i})=>Z("",i,` 11`)+e+": "+t+Z(" = ",r)+Z(" ",$(n," "))},SelectionSet:{leave:({selections:e})=>lt(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){const a=Z("",e,": ")+t;let o=a+Z("(",$(r,", "),")");return o.length>Qh&&(o=a+Z(`( 12`,jn($(r,` 13`)),` 14)`)),$([o,$(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+Z(" ",$(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>$(["...",Z("on ",e),$(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i,description:a})=>Z("",a,` 15`)+`fragment ${e}${Z("(",$(r,", "),")")} on ${t} ${Z("",$(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
15,StringValue:{leave:({value:e,block:t})=>t?Rh(e):Vh(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+$(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+$(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+Z("(",$(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>Z("",e,` 16`)+$(["schema",$(t," "),lt(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>Z("",e,` 17`)+$(["scalar",t,$(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>Z("",e,` 18`)+$(["type",t,Z("implements ",$(r," & ")),$(n," "),lt(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>Z("",e,` 19`)+t+(Bi(r)?Z(`( 20`,jn($(r,` 21`)),` 22)`):Z("(",$(r,", "),")"))+": "+n+Z(" ",$(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>Z("",e,` 23`)+$([t+": "+r,Z("= ",n),$(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>Z("",e,` 24`)+$(["interface",t,Z("implements ",$(r," & ")),$(n," "),lt(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>Z("",e,` 25`)+$(["union",t,$(r," "),Z("= ",$(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>Z("",e,` 26`)+$(["enum",t,$(r," "),lt(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>Z("",e,` 27`)+$([t,$(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>Z("",e,` 28`)+$(["input",t,$(r," "),lt(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,directives:n,repeatable:i,locations:a})=>Z("",e,` 29`)+"directive @"+t+(Bi(r)?Z(`( 30`,jn($(r,` 31`)),` 32)`):Z("(",$(r,", "),")"))+Z(" ",$(n," "))+(i?" repeatable":"")+" on "+$(a," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>$(["extend schema",$(e," "),lt(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>$(["extend scalar",e,$(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>$(["extend type",e,Z("implements ",$(t," & ")),$(r," "),lt(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>$(["extend interface",e,Z("implements ",$(t," & ")),$(r," "),lt(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>$(["extend union",e,$(t," "),Z("= ",$(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>$(["extend enum",e,$(t," "),lt(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>$(["extend input",e,$(t," "),lt(r)]," ")},DirectiveExtension:{leave:({name:e,directives:t})=>$(["extend directive @"+e,$(t," ")]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>$([e,Z(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:r})=>$([e,Z(".",t),Z("(",r,":)")])},DirectiveCoordinate:{leave:({name:e})=>$(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>$(["@",e,Z("(",t,":)")])}};function $(e,t=""){var r;return(r=e?.filter(n=>n).join(t))!==null&&r!==void 0?r:""}function lt(e){return Z(`{ 33`,jn($(e,` 34`)),` 35}`)}function Z(e,t,r=""){return t!=null&&t!==""?e+t+r:""}function jn(e){return Z(" ",e.replace(/\n/g,` 36 `))}function Bi(e){var t;return(t=e?.some(r=>r.includes(` 37`)))!==null&&t!==void 0?t:!1}var so=function(e,t){return so=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},so(e,t)};function Lt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");so(e,t);function r(){this.constructor=e}
vendor: 4,606 bytes, lines 37-39
37e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function Yh(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(u){try{c(n.next(u))}catch(f){o(f)}}function l(u){try{c(n.throw(u))}catch(f){o(f)}}function c(u){u.done?a(u.value):i(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})}function Ru(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(c){return function(u){return l([c,u])}}function l(c){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(r=0)),r;)try{if(n=1,i&&(a=c[0]&2?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(u){c=[6,u],i=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function Tr(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function sn(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a}function ln(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}function _r(e){return this instanceof _r?(this.v=e,this):new _r(e)}function Jh(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",o),i[Symbol.asyncIterator]=function(){return this},i;function o(h){return function(p){return Promise.resolve(p).then(h,f)}}function s(h,p){n[h]&&(i[h]=function(m){return new Promise(function(g,b){a.push([h,m,g,b])>1||l(h,m)})},p&&(i[h]=p(i[h])))}function l(h,p){try{c(n[h](p))}catch(m){d(a[0][3],m)}}function c(h){h.value instanceof _r?Promise.resolve(h.value.v).then(u,f):d(a[0][2],h)}function u(h){l("next",h)}function f(h){l("throw",h)}function d(h,p){h(p),a.shift(),a.length&&l(a[0][0],a[0][1])}}function Xh(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Tr=="function"?Tr(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(a){r[a]=e[a]&&function(o){return new Promise(function(s,l){o=e[a](o),i(s,l,o.done,o.value)})}}function i(a,o,s,l){Promise.resolve(l).then(function(c){a({value:c,done:s})},o)}}function Ie(e){return typeof e=="function"}function qo(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Vi=qo(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription: 38`+r.map(function(n,i){return i+1+") "+n.toString()}).join(` 39 `):"",this.name="UnsubscriptionError",this.errors=r}});function Jn(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Sn=(function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,a;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Tr(o),l=s.next();!l.done;l=s.next()){var c=l.value;c.remove(this)}}catch(m){t={error:m}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else o.remove(this);var u=this.initialTeardown;
vendor: 6,801 bytes, line 39
39if(Ie(u))try{u()}catch(m){a=m instanceof Vi?m.errors:[m]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var d=Tr(f),h=d.next();!h.done;h=d.next()){var p=h.value;try{$s(p)}catch(m){a=a??[],m instanceof Vi?a=ln(ln([],sn(a)),sn(m.errors)):a.push(m)}}}catch(m){n={error:m}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}}if(a)throw new Vi(a)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)$s(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Jn(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Jn(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=(function(){var t=new e;return t.closed=!0,t})(),e})(),Nu=Sn.EMPTY;function Fu(e){return e instanceof Sn||e&&"closed"in e&&Ie(e.remove)&&Ie(e.add)&&Ie(e.unsubscribe)}function $s(e){Ie(e)?e():e.unsubscribe()}var Zh={Promise:void 0},ep={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,ln([e,t],sn(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Mu(e){ep.setTimeout(function(){throw e})}function Bs(){}function qn(e){e()}var $o=(function(e){Lt(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Fu(r)&&r.add(n)):n.destination=np,n}return t.create=function(r,n,i){return new cn(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t})(Sn),tp=(function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){Dn(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Dn(n)}else Dn(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Dn(r)}},e})(),cn=(function(e){Lt(t,e);function t(r,n,i){var a=e.call(this)||this,o;return Ie(r)||!r?o={next:r??void 0,error:n??void 0,complete:i??void 0}:o=r,a.destination=new tp(o),a}return t})($o);function Dn(e){Mu(e)}function rp(e){throw e}var np={closed:!0,next:Bs,error:rp,complete:Bs},Bo=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})();function pi(e){return e}function ip(e){return e.length===0?pi:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var xe=(function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,a=op(t)?t:new cn(t,r,n);return qn(function(){var o=i,s=o.operator,l=o.source;a.add(s?s.call(a,l):l?i._subscribe(a):i._trySubscribe(a))}),a},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Vs(r),new r(function(i,a){var o=new cn({next:function(s){try{t(s)}catch(l){a(l),o.unsubscribe()}},error:a,complete:i});n.subscribe(o)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Bo]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ip(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Vs(t),new t(function(n,i){var a;r.subscribe(function(o){return a=o},function(o){return i(o)},function(){return n(a)})})},e.create=function(t){return new e(t)},e})();function Vs(e){var t;return(t=e??Zh.Promise)!==null&&t!==void 0?t:Promise}function ap(e){return e&&Ie(e.next)&&Ie(e.error)&&Ie(e.complete)}function op(e){return e&&e instanceof $o||ap(e)&&Fu(e)}function sp(e){return Ie(e?.lift)}function yt(e){return function(t){if(sp(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Rt(e,t,r,n,i){return new lp(e,t,r,n,i)}var lp=(function(e){Lt(t,e);function t(r,n,i,a,o,s){var l=e.call(this,r)||this;return l.onFinalize=o,l.shouldUnsubscribe=s,l._next=n?function(c){try{n(c)}catch(u){r.error(u)}}:e.prototype._next,l._error=a?function(c){try{a(c)}catch(u){r.error(u)}finally{this.unsubscribe()}}:e.prototype._error,l._complete=i?function(){try{i()}catch(c){r.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,l}return t.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&((r=this.onFinalize)===null||r===void 0||r.call(this))}},t})($o),cp=qo(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),jr=(function(e){Lt(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new Hs(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new cp},t.prototype.next=function(r){var n=this;qn(function(){var i,a;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var o=Tr(n.currentObservers),s=o.next();!s.done;s=o.next()){var l=s.value;l.next(r)}}catch(c){i={error:c}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;qn(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;qn(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}
39,enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,a=i.hasError,o=i.isStopped,s=i.observers;return a||o?Nu:(this.currentObservers=null,s.push(r),new Sn(function(){n.currentObservers=null,Jn(s,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,a=n.thrownError,o=n.isStopped;i?r.error(a):o&&r.complete()},t.prototype.asObservable=function(){var r=new xe;return r.source=this,r},t.create=function(r,n){return new Hs(r,n)},t})(xe),Hs=(function(e){Lt(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:Nu},t})(jr),up=(function(e){Lt(t,e);function t(r){var n=e.call(this)||this;return n._value=r,n}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(r){var n=e.prototype._subscribe.call(this,r);return!n.closed&&r.next(this._value),n},t.prototype.getValue=function(){var r=this,n=r.hasError,i=r.thrownError,a=r._value;if(n)throw i;return this._throwIfClosed(),a},t.prototype.next=function(r){e.prototype.next.call(this,this._value=r)},t})(jr),Vo={now:function(){return(Vo.delegate||Date).now()},delegate:void 0},ju=(function(e){Lt(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Vo);var a=e.call(this)||this;return a._bufferSize=r,a._windowTime=n,a._timestampProvider=i,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=n===1/0,a._bufferSize=Math.max(1,r),a._windowTime=Math.max(1,n),a}return t.prototype.next=function(r){var n=this,i=n.isStopped,a=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,l=n._windowTime;i||(a.push(r),!o&&a.push(s.now()+l)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,a=i._infiniteTimeWindow,o=i._buffer,s=o.slice(),l=0;l<s.length&&!r.closed;l+=a?1:2)r.next(s[l]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,a=r._buffer,o=r._infiniteTimeWindow,s=(o?1:2)*n;if(n<1/0&&s<a.length&&a.splice(0,a.length-s),!o){for(var l=i.now(),c=0,u=1;u<a.length&&a[u]<=l;u+=2)c=u;c&&a.splice(0,c+1)}},t})(jr),fp=(function(e){Lt(t,e);function t(r,n){return e.call(this)||this}return t.prototype.schedule=function(r,n){return this},t})(Sn),Us={setInterval:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setInterval.apply(void 0,ln([e,t],sn(r)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},dp=(function(e){Lt(t,e);function t(r,n){var i=e.call(this,r,n)||this;
vendor: 4,714 bytes, line 39
39return i.scheduler=r,i.work=n,i.pending=!1,i}return t.prototype.schedule=function(r,n){var i;if(n===void 0&&(n=0),this.closed)return this;this.state=r;var a=this.id,o=this.scheduler;return a!=null&&(this.id=this.recycleAsyncId(o,a,n)),this.pending=!0,this.delay=n,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,n),this},t.prototype.requestAsyncId=function(r,n,i){return i===void 0&&(i=0),Us.setInterval(r.flush.bind(r,this),i)},t.prototype.recycleAsyncId=function(r,n,i){if(i===void 0&&(i=0),i!=null&&this.delay===i&&this.pending===!1)return n;n!=null&&Us.clearInterval(n)},t.prototype.execute=function(r,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(r,n);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(r,n){var i=!1,a;try{this.work(r)}catch(o){i=!0,a=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),a},t.prototype.unsubscribe=function(){if(!this.closed){var r=this,n=r.id,i=r.scheduler,a=i.actions;this.work=this.state=this.scheduler=null,this.pending=!1,Jn(a,this),n!=null&&(this.id=this.recycleAsyncId(i,n,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t})(fp),Ws=(function(){function e(t,r){r===void 0&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(t,r,n){return r===void 0&&(r=0),new this.schedulerActionCtor(this,t).schedule(n,r)},e.now=Vo.now,e})(),hp=(function(e){Lt(t,e);function t(r,n){n===void 0&&(n=Ws.now);var i=e.call(this,r,n)||this;return i.actions=[],i._active=!1,i}return t.prototype.flush=function(r){var n=this.actions;if(this._active){n.push(r);return}var i;this._active=!0;do if(i=r.execute(r.state,r.delay))break;while(r=n.shift());if(this._active=!1,i){for(;r=n.shift();)r.unsubscribe();throw i}},t})(Ws),pp=new hp(dp),mp=pp,un=new xe(function(e){return e.complete()});function gp(e){return e&&Ie(e.schedule)}function yp(e){return e[e.length-1]}function qu(e){return gp(yp(e))?e.pop():void 0}var $u=(function(e){return e&&typeof e.length=="number"&&typeof e!="function"});function Bu(e){return Ie(e?.then)}function Vu(e){return Ie(e[Bo])}function Hu(e){return Symbol.asyncIterator&&Ie(e?.[Symbol.asyncIterator])}function Uu(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function bp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Wu=bp();function zu(e){return Ie(e?.[Wu])}function Gu(e){return Jh(this,arguments,function(){var r,n,i,a;return Ru(this,function(o){switch(o.label){case 0:r=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,_r(r.read())];case 3:return n=o.sent(),i=n.value,a=n.done,a?[4,_r(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,_r(i)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function Qu(e){return Ie(e?.getReader)}function Zt(e){if(e instanceof xe)return e;if(e!=null){if(Vu(e))return vp(e);if($u(e))return wp(e);if(Bu(e))return Pp(e);if(Hu(e))return Ku(e);if(zu(e))return Sp(e);if(Qu(e))return Ep(e)}throw Uu(e)}function vp(e){return new xe(function(t){var r=e[Bo]();if(Ie(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function wp(e){return new xe(function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function Pp(e){return new xe(function(t){e.then(function(r){t.closed||(t.next(r),t.complete())},function(r){return t.error(r)}).then(null,Mu)})}function Sp(e){return new xe(function(t){var r,n;try{for(var i=Tr(e),a=i.next();!a.done;a=i.next()){var o=a.value;if(t.next(o),t.closed)return}}catch(s){r={error:s}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}t.complete()})}function Ku(e){return new xe(function(t){_p(e,t).catch(function(r){return t.error(r)})})}function Ep(e){return Ku(Gu(e))}function _p(e,t){var r,n,i,a;return Yh(this,void 0,void 0,function(){var o,s;return Ru(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),r=Xh(e),l.label=1;case 1:return[4,r.next()];case 2:if(n=l.sent(),!!n.done)return[3,4];if(o=n.value,t.next(o),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=l.sent(),i={error:s},[3,11];case 6:return l.trys.push([6,,9,10]),n&&!n.done&&(a=r.return)?[4,a.call(r)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];
39case 10:return[7];case 11:return t.complete(),[2]}})})}function ir(e,t,r,n,i){n===void 0&&(n=0),i===void 0&&(i=!1);var a=t.schedule(function(){r(),i?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(a),!i)return a}function Yu(e,t){return t===void 0&&(t=0),yt(function(r,n){r.subscribe(Rt(n,function(i){return ir(n,e,function(){return n.next(i)},t)},function(){return ir(n,e,function(){return n.complete()},t)},function(i){return ir(n,e,function(){return n.error(i)},t)}))})}function Ju(e,t){return t===void 0&&(t=0),yt(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}function Ap(e,t){return Zt(e).pipe(Ju(t),Yu(t))}function xp(e,t){return Zt(e).pipe(Ju(t),Yu(t))}function Lp(e,t){return new xe(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}function Tp(e,t){return new xe(function(r){var n;return ir(r,t,function(){n=e[Wu](),ir(r,t,function(){var i,a,o;try{i=n.next(),a=i.value,o=i.done}catch(s){r.error(s);return}o?r.complete():r.next(a)},0,!0)}),function(){return Ie(n?.return)&&n.return()}})}function Xu(e,t){if(!e)throw new Error("Iterable cannot be null");return new xe(function(r){ir(r,t,function(){var n=e[Symbol.asyncIterator]();ir(r,t,function(){n.next().then(function(i){i.done?r.complete():r.next(i.value)})},0,!0)})})}function Cp(e,t){return Xu(Gu(e),t)}function Op(e,t){if(e!=null){if(Vu(e))return Ap(e,t);if($u(e))return Lp(e,t);if(Bu(e))return xp(e,t);if(Hu(e))return Xu(e,t);if(zu(e))return Tp(e,t);if(Qu(e))return Cp(e,t)}throw Uu(e)}function rr(e,t){return t?Op(e,t):Zt(e)}function tr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=qu(e);return rr(e,r)}function Zu(e,t){var r=Ie(e)?e:function(){return e},n=function(i){return i.error(r())};return new xe(n)}var zs;(function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"})(zs||(zs={}));var Hi=(function(){function e(t,r,n){this.kind=t,this.value=r,this.error=n,this.hasValue=t==="N"}return e.prototype.observe=function(t){return kp(this,t)},e.prototype.do=function(t,r,n){var i=this,a=i.kind,o=i.value,s=i.error;return a==="N"?t?.(o):a==="E"?r?.(s):n?.()},e.prototype.accept=function(t,r,n){var i;return Ie((i=t)===null||i===void 0?void 0:i.next)?this.observe(t):this.do(t,r,n)},e.prototype.toObservable=function(){var t=this,r=t.kind,n=t.value,i=t.error,a=r==="N"?tr(n):r==="E"?Zu(function(){return i}):r==="C"?un:0;if(!a)throw new TypeError("Unexpected notification kind "+r);return a},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e})();function kp(e,t){var r,n,i,a=e,o=a.kind,s=a.value,l=a.error;if(typeof o!="string")throw new TypeError('Invalid notification, missing "kind"');o==="N"?(r=t.next)===null||r===void 0||r.call(t,s):o==="E"?(n=t.error)===null||n===void 0||n.call(t,l):(i=t.complete)===null||i===void 0||i.call(t)}var Ip=qo(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function Dp(e,t){var r=typeof t=="object";return new Promise(function(n,i){var a=!1,o;e.subscribe({next:function(s){o=s,a=!0},error:i,complete:function(){a?n(o):r?n(t.defaultValue):i(new Ip)}})})}function Rp(e){return e instanceof Date&&!isNaN(e)}function zt(e,t){return yt(function(r,n){var i=0;r.subscribe(Rt(n,function(a){n.next(e.call(t,a,i++))}))})}function Np(e,t,r,n,i,a,o,s){var l=[],c=0,u=0,f=!1,d=function(){f&&!l.length&&!c&&t.complete()},h=function(m){return c<n?p(m):l.push(m)},p=function(m){c++;var g=!1;Zt(r(m,u++)).subscribe(Rt(t,function(b){t.next(b)},function(){g=!0},void 0,function(){if(g)try{c--;for(var b=function(){var v=l.shift();o||p(v)};l.length&&c<n;)b();d()}catch(v){t.error(v)}}))};return e.subscribe(Rt(t,h,function(){f=!0,d()})),function(){}}function br(e,t,r){return r===void 0&&(r=1/0),Ie(t)?br(function(n,i){return zt(function(a,o){return t(n,a,i,o)})(Zt(e(n,i)))},r):(typeof t=="number"&&(r=t),yt(function(n,i){return Np(n,i,e,r)}))}function Fp(e){return br(pi,e)}function Mp(){return Fp(1)}function Ui(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Mp()(rr(e,qu(e)))}function jp(e,t,r){return r===void 0&&(r=mp),new xe(function(n){var i=Rp(e)?+e-r.now():e;i<0&&(i=0);var a=0;return r.schedule(function(){n.closed||(n.next(a++),n.complete())},i)})}function ef(e,t){return yt(function(r,n){var i=0;r.subscribe(Rt(n,function(a){return e.call(t,a,i++)&&n.next(a)}))})}function $n(e){return yt(function(t,r){var n=null,i=!1,a;n=t.subscribe(Rt(r,void 0,void 0,function(o){a=Zt(e(o,$n(e)(t))),n?(n.unsubscribe(),n=null,a.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,a.subscribe(r))})}function qp(e,t){return t===void 0&&(t=pi),e=e??$p,yt(function(r,n){var i,a=!0;r.subscribe(Rt(n,function(o){var s=t(o);(a||!e(i,s))&&(a=!1,i=s,n.next(o))}
39))})}function $p(e,t){return e===t}function Bp(e){return yt(function(t,r){try{t.subscribe(r)}finally{r.add(e)}})}function Vp(){return yt(function(e,t){e.subscribe(Rt(t,function(r){t.next(Hi.createNext(r))},function(){t.next(Hi.createComplete()),t.complete()},function(r){t.next(Hi.createError(r)),t.complete()}))})}function fn(e){e===void 0&&(e={});var t=e.connector,r=t===void 0?function(){return new jr}:t,n=e.resetOnError,i=n===void 0?!0:n,a=e.resetOnComplete,o=a===void 0?!0:a,s=e.resetOnRefCountZero,l=s===void 0?!0:s;return function(c){var u,f,d,h=0,p=!1,m=!1,g=function(){f?.unsubscribe(),f=void 0},b=function(){g(),u=d=void 0,p=m=!1},v=function(){var S=u;b(),S?.unsubscribe()};return yt(function(S,L){h++,!m&&!p&&g();var A=d=d??r();L.add(function(){h--,h===0&&!m&&!p&&(f=Wi(v,l))}),A.subscribe(L),!u&&h>0&&(u=new cn({next:function(O){return A.next(O)},error:function(O){m=!0,g(),f=Wi(b,i,O),A.error(O)},complete:function(){p=!0,g(),f=Wi(b,o),A.complete()}}),Zt(S).subscribe(u))})(c)}}function Wi(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];if(t===!0){e();return}if(t!==!1){var i=new cn({next:function(){i.unsubscribe(),e()}});return Zt(t.apply(void 0,ln([],sn(r)))).subscribe(i)}}function Ho(e,t,r){var n,i,a,o,s=!1;return e&&typeof e=="object"?(n=e.bufferSize,o=n===void 0?1/0:n,i=e.windowTime,t=i===void 0?1/0:i,a=e.refCount,s=a===void 0?!1:a,r=e.scheduler):o=e??1/0,fn({connector:function(){return new ju(o,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}function dn(e,t,r){var n=Ie(e)||t||r?{next:e,error:t,complete:r}:e;return n?yt(function(i,a){var o;(o=n.subscribe)===null||o===void 0||o.call(n);var s=!0;i.subscribe(Rt(a,function(l){var c;(c=n.next)===null||c===void 0||c.call(n,l),a.next(l)},function(){var l;s=!1,(l=n.complete)===null||l===void 0||l.call(n),a.complete()},function(l){var c;s=!1,(c=n.error)===null||c===void 0||c.call(n,l),a.error(l)},function(){var l,c;s&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):pi}const tf=!1;function Ht(e){try{return e()}catch{}}const lo=Ht(()=>globalThis)||Ht(()=>window)||Ht(()=>self)||Ht(()=>global)||Ht(function(){return Ht.constructor("return this")()}),Uo="4.2.5",Gs=new Map;function rf(e){const t=Gs.get(e)||1;return Gs.set(e,t+1),`${e}:${t}:${Math.random().toString(36).slice(2)}`}function Hp(e,t=0){const r=rf("stringifyForDisplay");return JSON.stringify(e,(n,i)=>i===void 0?r:i,t).split(JSON.stringify(r)).join("<undefined>")}const Qs="Invariant Violation";class Wo extends Error{constructor(t=Qs){super(t),this.name=Qs,Object.setPrototypeOf(this,Wo.prototype)}}const nf=["debug","log","warn","error","silent"];let Up=nf.indexOf("silent");function re(e,...t){if(!e)throw it(...t)}function mi(e){return function(t,...r){if(nf.indexOf(e)>=Up){const n=console[e]||console.log;if(typeof t=="number"){const i=t;t=af(i),t||(t=of(i,r),r=[])}n(t,...r)}}}re.debug=mi("debug");re.log=mi("log");re.warn=mi("warn");re.error=mi("error");function it(e,...t){return new Wo(af(e,t)||of(e,t))}const Ks=Symbol.for("ApolloErrorMessageHandler_"+Uo);function co(e){if(typeof e=="string")return e;try{return Hp(e,2).slice(0,1e3)}catch{return"<non-serializable>"}}function af(e,t=[]){if(e)return lo[Ks]&&lo[Ks](e,t.map(co))}function of(e,t=[]){if(e)return typeof e=="string"?t.reduce((r,n)=>r.replace(/%[sdfo]/,co(n)),e):`An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({version:Uo,message:e,args:t.map(co)}))}`}function Cr(e,t,r,n){if(r.kind===le.INT||r.kind===le.FLOAT)e[t.value]=Number(r.value);else if(r.kind===le.BOOLEAN||r.kind===le.STRING)e[t.value]=r.value;else if(r.kind===le.OBJECT){const i={};r.fields.map(a=>Cr(i,a.name,a.value,n)),e[t.value]=i}else if(r.kind===le.VARIABLE){const i=(n||{})[r.name.value];e[t.value]=i}else if(r.kind===le.LIST)e[t.value]=r.values.map(i=>{const a={};return Cr(a,t,i,n),a[t.value]});else if(r.kind===le.ENUM)e[t.value]=r.value;else if(r.kind===le.NULL)e[t.value]=null;else throw it(19,t.value,r.kind)}function zo(e,t){if(e.arguments&&e.arguments.length){const r={};
39return e.arguments.forEach(({name:n,value:i})=>Cr(r,n,i,t)),r}return null}const Wp=Symbol.for("apollo.cacheSize"),Nt={...lo[Wp]};function Or(e,t){return e.definitions.find(r=>r.kind==="OperationDefinition"&&!!r.name)?.name.value??t}const zp=()=>Object.create(null),{forEach:Gp,slice:Ys}=Array.prototype,{hasOwnProperty:Qp}=Object.prototype;class Tt{constructor(t=!0,r=zp){this.weakness=t,this.makeData=r}lookup(){return this.lookupArray(arguments)}lookupArray(t){let r=this;return Gp.call(t,n=>r=r.getChildTrie(n)),Qp.call(r,"data")?r.data:r.data=this.makeData(Ys.call(t))}peek(){return this.peekArray(arguments)}peekArray(t){let r=this;for(let n=0,i=t.length;r&&n<i;++n){const a=r.mapFor(t[n],!1);r=a&&a.get(t[n])}return r&&r.data}remove(){return this.removeArray(arguments)}removeArray(t){let r;if(t.length){const n=t[0],i=this.mapFor(n,!1),a=i&&i.get(n);a&&(r=a.removeArray(Ys.call(t,1)),!a.data&&!a.weak&&!(a.strong&&a.strong.size)&&i.delete(n))}else r=this.data,delete this.data;return r}getChildTrie(t){const r=this.mapFor(t,!0);let n=r.get(t);return n||r.set(t,n=new Tt(this.weakness,this.makeData)),n}mapFor(t,r){return this.weakness&&Kp(t)?this.weak||(r?this.weak=new WeakMap:void 0):this.strong||(r?this.strong=new Map:void 0)}}function Kp(e){switch(typeof e){case"object":if(e===null)break;case"function":return!0}return!1}function Yp(){}class uo{constructor(t=1/0,r=Yp){this.max=t,this.dispose=r,this.map=new Map,this.newest=null,this.oldest=null}has(t){return this.map.has(t)}get(t){const r=this.getNode(t);return r&&r.value}get size(){return this.map.size}getNode(t){const r=this.map.get(t);if(r&&r!==this.newest){const{older:n,newer:i}=r;i&&(i.older=n),n&&(n.newer=i),r.older=this.newest,r.older.newer=r,r.newer=null,this.newest=r,r===this.oldest&&(this.oldest=i)}return r}set(t,r){let n=this.getNode(t);return n?n.value=r:(n={key:t,value:r,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(t,n),n.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(t){const r=this.map.get(t);return r?(r===this.newest&&(this.newest=r.older),r===this.oldest&&(this.oldest=r.newer),r.newer&&(r.newer.older=r.older),r.older&&(r.older.newer=r.newer),this.map.delete(t),this.dispose(r.value,t),!0):!1}}function fo(){}const Jp=fo,Xp=typeof WeakRef<"u"?WeakRef:function(e){return{deref:()=>e}},Zp=typeof WeakMap<"u"?WeakMap:Map,em=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:fo,unregister:fo}},tm=10024;class Xn{constructor(t=1/0,r=Jp){this.max=t,this.dispose=r,this.map=new Zp,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const n=this.unfinalizedNodes.values();for(let i=0;i<tm;i++){const a=n.next().value;if(!a)break;this.unfinalizedNodes.delete(a);const o=a.key;delete a.key,a.keyRef=new Xp(o),this.registry.register(o,a,a)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new em(this.deleteNode.bind(this))}has(t){return this.map.has(t)}get(t){const r=this.getNode(t);return r&&r.value}getNode(t){const r=this.map.get(t);if(r&&r!==this.newest){const{older:n,newer:i}=r;i&&(i.older=n),n&&(n.newer=i),r.older=this.newest,r.older.newer=r,r.newer=null,this.newest=r,r===this.oldest&&(this.oldest=i)}return r}set(t,r){let n=this.getNode(t);return n?n.value=r:(n={key:t,value:r,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.scheduleFinalization(n),this.map.set(t,n),this.size++,n.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(t){t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.size--;const r=t.key||t.keyRef&&t.keyRef.deref();this.dispose(t.value,r),t.keyRef?this.registry.unregister(t):this.unfinalizedNodes.delete(t),r&&this.map.delete(r)}delete(t){const r=this.map.get(t);return r?(this.deleteNode(r),!0):!1}scheduleFinalization(t){this.unfinalizedNodes.add(t),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}const zi=new WeakSet;function sf(e){e.size<=(e.max||-1)||zi.has(e)||(zi.add(e),setTimeout(()=>{e.clean(),zi.delete(e)},100))}const Go=function(e,t){const r=new Xn(e,t);return r.set=function(n,i){const a=Xn.prototype.set.call(this,n,i);return sf(this),a},r},rm=function(e,t){const r=new uo(e,t);return r.set=function(n,i){const a=uo.prototype.set.call(this,n,i);return sf(this),a},r};function lf(e,{max:t,makeCacheKey:r=n=>n}){const n=new Tt(!0),i=new Go(t);return(...a)=>{const o=n.lookupArray(r(a)),s=i.get(o);if(s){if(s.error)throw s.error;return s.result}const l=i.set(o,{});try{return l.result=e(...a)}catch(c){throw l.error=c,c}}}const Gt=lf((e,t)=>
39{re(e&&e.kind==="Document",1);const r=e.definitions.filter(n=>n.kind==="OperationDefinition");t&&re(r.length==1&&r[0].operation===t,4,t,t,r[0].operation),_t(e,{Field(n,i,a,o){if(n.alias&&(n.alias.value==="__typename"||n.alias.value.startsWith("__ac_"))&&n.alias.value!==n.name.value){let s=e,l=[];for(const c of o)s=s[c],s.kind===le.FIELD&&l.push(s.alias?.value||s.name.value);throw l.splice(-1,1,n.name.value),it(5,n.alias.value,l.join("."),r[0].operation,Or(e,"(anonymous)"))}}})},{max:Nt.checkDocument||2e3});function nm(e){return e.length===0?un:new xe(t=>{const{length:r}=e,n=new Array(r),i=new Map;e.forEach((l,c)=>{i.has(l)||i.set(l,new Set),i.get(l).add(c)});let a=i.size,o=i.size,s;i.forEach((l,c)=>{let u=!1;const f=c.subscribe({next:d=>{l.forEach(h=>n[h]=d),u||(u=!0,o--),o||(s||=new Set(e.filter(h=>h.dirty)),s.delete(c),s.size||(t.next(n.slice()),s=void 0))},complete:()=>{a--,a||t.complete()},error:t.error.bind(t)});t.add(f)})})}function Je(...e){const t={};return e.forEach(r=>{r&&Reflect.ownKeys(r).forEach(n=>{const i=r[n];i!==void 0&&(t[n]=i)})}),t}function En(e=[]){const t={};return e.forEach(r=>{t[r.name.value]=r}),t}function ze(e){return e!==null&&typeof e=="object"}const{hasOwnProperty:im}=Object.prototype,am=function(e,t,r){return this.merge(e[r],t[r])},Js=e=>isNaN(+e)?{}:[];class kr{options;reconciler;constructor(t={}){this.options=t,this.reconciler=t.reconciler||am}merge(t,r,n={}){const i=n.atPath;if(i?.length){const[a,...o]=i;t===void 0&&(t=Js(a));let s=t[a];s===void 0&&o.length&&(s=Js(o[0]));const l=this.merge(s,r,{...n,atPath:o});return s!==l&&(t=this.shallowCopyForMerge(t),t[a]=l),t}return Array.isArray(t)&&Array.isArray(r)&&this.options.arrayMerge==="truncate"&&t.length>
39r.length&&(t=t.slice(0,r.length),this.pastCopies.add(t)),ze(r)&&ze(t)?(Object.keys(r).forEach(a=>{if(im.call(t,a)){const o=t[a];if(r[a]!==o){const s=this.reconciler(t,r,a);s!==o&&(t=this.shallowCopyForMerge(t),t[a]=s)}}else t=this.shallowCopyForMerge(t),t[a]=r[a]}),t):r}isObject=ze;pastCopies=new Set;shallowCopyForMerge(t){return ze(t)&&(this.pastCopies.has(t)||(Array.isArray(t)?t=t.slice(0):t={__proto__:Object.getPrototypeOf(t),...t},this.pastCopies.add(t))),t}}function Qo(e){const t={},r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(n=>{n.defaultValue&&Cr(t,n.variable.name,n.defaultValue)}),t}function gi(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":{const r=e.name.value;if(typeof t=="function")return t(r);const n=t&&t[r];return re(n,9,r),n||null}default:return null}}function om(e,t){let r=t;const n=[];return e.definitions.forEach(a=>{if(a.kind==="OperationDefinition")throw it(10,a.operation,a.name?` named '${a.name.value}'`:"");a.kind==="FragmentDefinition"&&n.push(a)}),typeof r>"u"&&(re(n.length===1,11,n.length),r=n[0].name.value),{...e,definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}},...e.definitions]}}function sm(e){re(e.kind==="Document",6),re(e.definitions.length<=1,7);const t=e.definitions[0];return re(t.kind==="FragmentDefinition",8),t}function _n(e){return e.definitions.filter(t=>t.kind==="FragmentDefinition")}function cf(e){Gt(e);let t;for(let r of e.definitions){if(r.kind==="OperationDefinition")return r;r.kind==="FragmentDefinition"&&!t&&(t=r)}if(t)return t;throw it(12)}function Ft(e){return Gt(e),e.definitions.filter(t=>t.kind==="OperationDefinition")[0]}function lm(e){const t=Ft(e);return re(t&&t.operation==="query",13),t}const It=Object.assign(function(t){return JSON.stringify(t,cm)},{reset(){Yr=new rm(Nt.canonicalStringify||1e3)}});let Yr;It.reset();function cm(e,t){if(t&&typeof t=="object"){const r=Object.getPrototypeOf(t);if(r===Object.prototype||r===null){const n=Object.keys(t);if(n.every(um))return t;const i=JSON.stringify(n);let a=Yr.get(i);if(!a){n.sort();const s=JSON.stringify(n);a=Yr.get(s)||n,Yr.set(i,a),Yr.set(s,a)}const o=Object.create(r);return a.forEach(s=>{o[s]=t[s]}),o}}return t}function um(e,t,r){return t===0||r[t-1]<=e}const fm=["connection","include","skip","client","rest","export","nonreactive","stream"];let Ur=It;const uf=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){const i=r.connection.filter?r.connection.filter:[];i.sort();const a={};i.forEach(s=>{a[s]=t[s]});const o=Ur(a);if(o!=="{}")return`${r.connection.key}(${o})`}return r.connection.key}let n=e;if(t){const i=Ur(t);i!=="{}"&&(n+=`(${i})`)}return r&&Object.keys(r).forEach(i=>{fm.indexOf(i)===-1&&(r[i]&&Object.keys(r[i]).length?n+=`@${i}(${Ur(r[i])})`:n+=`@${i}`)}),n},{setStringify(e){const t=Ur;return Ur=e,t}});function vr(e){return!!e.errors?.length}function wr(e,t,r){const n=new Set(e),i=n.size;return _t(t,{Directive(a){if(n.delete(a.name.value)&&(!r||!n.size))return jo}}),r?!n.size:n.size<i}function dm(e){let t=!1;return _t(e,{Directive:{enter(r){if(r.name.value==="client"&&r.arguments&&(t=r.arguments.some(n=>n.name.value==="always"&&n.value.kind==="BooleanValue"&&n.value.value===!0),t))return jo}}}),t}const Ne=Array.isArray;function hm(e){return ze(e)&&e.kind==="Document"&&Array.isArray(e.definitions)}function An(e){return e.kind==="Field"}function Ko(e){return Array.isArray(e)&&e.length>0}function Ar(e){return{__ref:String(e)}}function pm(e){let t=e[0]||{};const r=e.length;if(r>1){const n=new kr;
39for(let i=1;i<r;++i)t=n.merge(t,e[i])}return t}function Bn(e,t){return Je(e,t,t.variables&&{variables:Je({...e&&e.variables,...t.variables})})}function Xs(e){return e.catch(()=>{}),e}function mm(e,t){Gt(t);const r=Zs(""),n=Zs(""),i=g=>{for(let b=0,v;b<g.length&&(v=g[b]);++b)if(!Ne(v)){if(v.kind===le.OPERATION_DEFINITION)return r(v.name&&v.name.value);if(v.kind===le.FRAGMENT_DEFINITION)return n(v.name.value)}return re.error(14),null};let a=0;for(let g=t.definitions.length-1;g>=0;--g)t.definitions[g].kind===le.OPERATION_DEFINITION&&++a;const o=gm(e),s=g=>Ko(g)&&g.map(o).some(b=>b&&b.remove),l=new Map;let c=!1;const u={enter(g){if(s(g.directives))return c=!0,null}},f=_t(t,{Field:u,InlineFragment:u,VariableDefinition:{enter(){return!1}},Variable:{enter(g,b,v,S,L){const A=i(L);A&&A.variables.add(g.name.value)}},FragmentSpread:{enter(g,b,v,S,L){if(s(g.directives))return c=!0,null;const A=i(L);A&&A.fragmentSpreads.add(g.name.value)}},FragmentDefinition:{enter(g,b,v,S){l.set(JSON.stringify(S),g)},leave(g,b,v,S){const L=l.get(JSON.stringify(S));if(g===L)return g;if(a>0&&g.selectionSet.selections.every(A=>A.kind===le.FIELD&&A.name.value==="__typename"))return n(g.name.value).removed=!0,c=!0,null}},Directive:{leave(g){if(o(g))return c=!0,null}}});if(!c)return t;const d=g=>(g.transitiveVars||(g.transitiveVars=new Set(g.variables),g.removed||g.fragmentSpreads.forEach(b=>{d(n(b)).transitiveVars.forEach(v=>{g.transitiveVars.add(v)})})),g),h=new Set;f.definitions.forEach(g=>{g.kind===le.OPERATION_DEFINITION?d(r(g.name&&g.name.value)).fragmentSpreads.forEach(b=>{h.add(b)}):g.kind===le.FRAGMENT_DEFINITION&&a===0&&!n(g.name.value).removed&&h.add(g.name.value)}),h.forEach(g=>{d(n(g)).fragmentSpreads.forEach(b=>{h.add(b)})});const p=g=>!!(!h.has(g)||n(g).removed),m={enter(g){if(p(g.name.value))return null}};return ym(_t(f,{FragmentSpread:m,FragmentDefinition:m,OperationDefinition:{leave(g){if(g.variableDefinitions){const b=d(r(g.name&&g.name.value)).transitiveVars;if(b.size<g.variableDefinitions.length)return{...g,variableDefinitions:g.variableDefinitions.filter(v=>b.has(v.variable.name.value))}}}}}))}function Zs(e){const t=new Map;return function(n=e){let i=t.get(n);return i||t.set(n,i={variables:new Set,fragmentSpreads:new Set}),i}}function gm(e){const t=new Map,r=new Map;return e.forEach(n=>{n&&(n.name?t.set(n.name,n):n.test&&r.set(n.test,n))}),n=>{let i=t.get(n.name.value);return!i&&r.size&&r.forEach((a,o)=>{o(n)&&(i=a)}),i}}function ff(e,t){return!e||e.selectionSet.selections.every(r=>r.kind===le.FRAGMENT_SPREAD&&ff(t[r.name.value],t))}function ym(e){return ff(Ft(e)||sm(e),En(_n(e)))?null:e}function bm(e){return _t(e,{FragmentSpread(t){if(!t.directives?.some(({name:r})=>r.value==="unmask"))return null}})}function qr(e){return e.alias?e.alias.value:e.name.value}function yi({directives:e},t){return!e||!e.length?!0:wm(e).every(({directive:r,ifArgument:n})=>{let i=!1;return n.value.kind==="Variable"?(i=t&&t[n.value.name.value],re(i!==void 0,15,r.name.value)):i=n.value.value,r.name.value==="skip"?!i:i})}function vm({name:{value:e}}){return e==="skip"||e==="include"}function wm(e){const t=[];return e&&e.length&&e.forEach(r=>{if(!vm(r))return;const n=r.arguments,i=r.name.value;re(n&&n.length===1,16,i);const a=n[0];re(a.name&&a.name.value==="if",17,i);const o=a.value;re(o&&(o.kind==="Variable"||o.kind==="BooleanValue"),18,i),t.push({directive:r,ifArgument:a})}),t}function Pm(e,t){let r=null;e.directives&&(r={},e.directives.forEach(i=>{r[i.name.value]={},i.arguments&&i.arguments.forEach(({name:a,value:o})=>Cr(r[i.name.value],a,o,t))}));let n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(({name:i,value:a})=>Cr(n,i,a,t))),uf(e.name.value,n,r)}function Jr(e){const t={data:e.data};return e.error&&(t.error=e.error),t}function ho(e,t=()=>{}){return r=>new xe(n=>{let i=t();return r.subscribe({next(a){let o;try{o=e(a,i)}catch(s){n.error(s)}o!==void 0&&n.next(o)},error(a){n.error(a)},complete(){n.complete()}})})}const{toString:el,hasOwnProperty:Sm}=Object.prototype,tl=Function.prototype.toString,po=new Map;function _e(e,t){try{return mo(e,t)}finally{po.clear()}}function mo(e,t){if(e===t)return!0;const r=el.call(e),n=el.call(t);if(r!==n)return!1;switch(r){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(nl(e,t))return!0;const i=rl(e),a=rl(t),o=i.length;if(o!==a.length)return!1;for(let s=0;s<o;++s)if(!Sm.call(t,i[s]))return!1;for(let s=0;s<o;++s){const l=i[s];if(!mo(e[l],t[l]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!==e)return t!==t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(nl(e,t))return!0;const i=e.entries(),a=r==="[object Map]";for(;;){const o=i.next();if(o.done)break;const[s,l]=o.value;if(!t.has(s)||a&&!mo(l,t.get(s)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let i=e.byteLength;if(i===t.byteLength)for(;i--&&e[i]===t[i];);return i===-1}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const i=tl.call(e);return i!==tl.call(t)?!1:!Am(i,_m)}}return!1}function rl(e){return Object.keys(e).filter(Em,e)}function Em(e){return this[e]!==void 0}const _m="{ [native code] }";function Am(e,t){const r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}function nl(e,t){let r=po.get(e);if(r){if(r.has(t))return!0}else po.set(e,r=new Set);return r.add(t),!1}function df(e,{data:t,...r},{data:n,...i},a){return _e(r,i)&&Vn(cf(e).selectionSet,t,n,{fragmentMap:En(_n(e)),variables:a})}function Vn(e,t,r,n){if(t===r)return!0;const i=new Set;return e.selections.every(a=>{if(i.has(a)||(i.add(a),!yi(a,n.variables))||il(a))return!0;
39if(An(a)){const o=qr(a),s=t&&t[o],l=r&&r[o],c=a.selectionSet;if(!c)return _e(s,l);const u=Array.isArray(s),f=Array.isArray(l);if(u!==f)return!1;if(u&&f){const d=s.length;if(l.length!==d)return!1;for(let h=0;h<d;++h)if(!Vn(c,s[h],l[h],n))return!1;return!0}return Vn(c,s,l,n)}else{const o=gi(a,n.fragmentMap);if(o)return il(o)?!0:Vn(o.selectionSet,t,r,n)}})}function il(e){return!!e.directives&&e.directives.some(xm)}function xm(e){return e.name.value==="nonreactive"}function Lm(e,t){let r,n;function i(a){return a!==r&&(r=a,n=t(r)),n}return Object.assign(e.pipe(zt(i),Ho({bufferSize:1,refCount:!0})),{getCurrentResult:()=>i(e.getCurrentResult())})}const Tm=lf(function(t,r,n){return Lm(t,n)},{max:1,makeCacheKey:e=>e.slice(0,2)}),hf=Symbol.for("apollo.result.extensions"),Kt=Symbol.for("apollo.result.streamInfo"),Cm=Symbol.for("apollo.observableQuery.variablesUnknown");let je=null;const al={};let Om=1;const km=()=>class{constructor(){this.id=["slot",Om++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let t=je;t;t=t.parent)if(this.id in t.slots){const r=t.slots[this.id];if(r===al)break;return t!==je&&(je.slots[this.id]=r),!0}return je&&(je.slots[this.id]=al),!1}getValue(){if(this.hasValue())return je.slots[this.id]}withValue(t,r,n,i){const a={__proto__:null,[this.id]:t},o=je;je={parent:o,slots:a};try{return r.apply(i,n)}finally{je=o}}static bind(t){const r=je;return function(){const n=je;try{return je=r,t.apply(this,arguments)}finally{je=n}}}static noContext(t,r,n){if(je){const i=je;try{return je=null,t.apply(n,r)}finally{je=i}}else return t.apply(n,r)}};function ol(e){try{return e()}catch{}}const Gi="@wry/context:Slot",Im=ol(()=>globalThis)||ol(()=>global)||Object.create(null),sl=Im,bi=sl[Gi]||Array[Gi]||(function(e){try{Object.defineProperty(sl,Gi,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}})(km()),{bind:g1,noContext:y1}=bi,vi=new bi,{hasOwnProperty:Dm}=Object.prototype,Yo=Array.from||function(e){const t=[];return e.forEach(r=>t.push(r)),t};function Jo(e){const{unsubscribe:t}=e;typeof t=="function"&&(e.unsubscribe=void 0,t())}const hn=[],Rm=100;function Ir(e,t){if(!e)throw new Error(t||"assertion failure")}function pf(e,t){const r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function mf(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function gf(e){return e.slice(0)}class wi{constructor(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++wi.count}peek(){if(this.value.length===1&&!Yt(this))return ll(this),this.value[0]}recompute(t){return Ir(!this.recomputing,"already recomputing"),ll(this),Yt(this)?Nm(this,t):mf(this.value)}setDirty(){this.dirty||(this.dirty=!0,yf(this),Jo(this))}dispose(){this.setDirty(),Sf(this),Xo(this,(t,r)=>{t.setDirty(),Ef(t,this)})}forget(){this.dispose()}dependOn(t){t.add(this),this.deps||(this.deps=hn.pop()||new Set),this.deps.add(t)}forgetDeps(){this.deps&&(Yo(this.deps).forEach(t=>t.delete(this)),this.deps.clear(),hn.push(this.deps),this.deps=null)}}wi.count=0;function ll(e){const t=vi.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),Yt(e)?vf(t,e):wf(t,e),t}function Nm(e,t){return Sf(e),vi.withValue(e,Fm,[e,t]),jm(e,t)&&Mm(e),mf(e.value)}function Fm(e,t){e.recomputing=!0;const{normalizeResult:r}=e;let n;r&&e.value.length===1&&(n=gf(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),r&&n&&!pf(n,e.value))try{e.value[0]=r(e.value[0],n[0])}catch{}}catch(i){e.value[1]=i}e.recomputing=!1}function Yt(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function Mm(e){e.dirty=!1,!Yt(e)&&bf(e)}function yf(e){Xo(e,vf)}function bf(e){Xo(e,wf)}function Xo(e,t){const r=e.parents.size;if(r){const n=Yo(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function vf(e,t){Ir(e.childValues.has(t)),Ir(Yt(t));const r=!Yt(e);if(!e.dirtyChildren)e.dirtyChildren=hn.pop()||new Set;else if(e.dirtyChildren.has(t))return;e.dirtyChildren.add(t),r&&yf(e)}function wf(e,t){Ir(e.childValues.has(t)),Ir(!Yt(t));const r=e.childValues.get(t);r.length===0?e.childValues.set(t,gf(t.value)):pf(r,t.value)||e.setDirty(),Pf(e,t),!Yt(e)&&bf(e)}function Pf(e,t){const r=e.dirtyChildren;r&&(r.delete(t),r.size===0&&(hn.length<Rm&&hn.push(r),e.dirtyChildren=null))}function Sf(e){e.childValues.size>
390&&e.childValues.forEach((t,r)=>{Ef(e,r)}),e.forgetDeps(),Ir(e.dirtyChildren===null)}function Ef(e,t){t.parents.delete(e),e.childValues.delete(t),Pf(e,t)}function jm(e,t){if(typeof e.subscribe=="function")try{Jo(e),e.unsubscribe=e.subscribe.apply(null,t)}catch{return e.setDirty(),!1}return!0}const qm={setDirty:!0,dispose:!0,forget:!0};function _f(e){const t=new Map;function r(n){const i=vi.getValue();if(i){let a=t.get(n);a||t.set(n,a=new Set),i.dependOn(a)}}return r.dirty=function(i,a){const o=t.get(i);if(o){const s=a&&Dm.call(qm,a)?a:"setDirty";Yo(o).forEach(l=>l[s]()),t.delete(i),Jo(o)}},r}let cl;function Af(...e){return(cl||(cl=new Tt(typeof WeakMap=="function"))).lookupArray(e)}const Qi=new Set;function pn(e,{max:t=Math.pow(2,16),keyArgs:r,makeCacheKey:n=Af,normalizeResult:i,subscribe:a,cache:o=uo}=Object.create(null)){const s=typeof o=="function"?new o(t,d=>d.dispose()):o,l=function(){const d=n.apply(null,r?r.apply(null,arguments):arguments);if(d===void 0)return e.apply(null,arguments);let h=s.get(d);h||(s.set(d,h=new wi(e)),h.normalizeResult=i,h.subscribe=a,h.forget=()=>s.delete(d));const p=h.recompute(Array.prototype.slice.call(arguments));return s.set(d,h),Qi.add(s),vi.hasValue()||(Qi.forEach(m=>m.clean()),Qi.clear()),p};Object.defineProperty(l,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:a,cache:s});function c(d){const h=d&&s.get(d);h&&h.setDirty()}l.dirtyKey=c,l.dirty=function(){c(n.apply(null,arguments))};function u(d){const h=d&&s.get(d);if(h)return h.peek()}l.peekKey=u,l.peek=function(){return u(n.apply(null,arguments))};function f(d){return d?s.delete(d):!1}return l.forgetKey=f,l.forget=function(){return f(n.apply(null,arguments))},l.makeCacheKey=n,l.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(l)}function $m(...e){return Af.bind(null,...e)}class Bm{isIncrementalResult(t){return!1}prepareRequest(t){return re(!wr(["defer","stream"],t.query),67),t}extractErrors(){}startRequest=void 0}function Vm(e,{client:t}){const r={query:e.query,variables:e.variables||{},extensions:e.extensions||{},operationName:Or(e.query),operationType:Ft(e.query).operation};let n={...e.context};const i=o=>{typeof o=="function"?n={...n,...o(a())}:n={...n,...o}},a=()=>Object.freeze({...n});return Object.defineProperty(r,"setContext",{enumerable:!1,value:i}),Object.defineProperty(r,"getContext",{enumerable:!1,value:a}),Object.defineProperty(r,"client",{enumerable:!1,value:t}),r}function Hm(e,t){const r={...e},n=new Set(Object.keys(e));return _t(t,{Variable(i,a,o){o&&o.kind!=="VariableDefinition"&&n.delete(i.name.value)}}),n.forEach(i=>{delete r[i]}),r}class Ye{static empty(){return new Ye(()=>un)}static from(t){if(t.length===0)return Ye.empty();const[r,...n]=t;return r.concat(...n)}static split(t,r,n=new Ye((i,a)=>a(i))){const i=new Ye((a,o)=>t(a)?r.request(a,o):n.request(a,o));return Object.assign(i,{left:r,right:n})}static execute(t,r,n){return t.request(Vm(r,n),()=>un)}static concat(...t){return Ye.from(t)}constructor(t){t&&(this.request=t)}split(t,r,n){return this.concat(Ye.split(t,r,n))}concat(...t){return t.length===0?this:t.reduce(this.combine.bind(this),this)}combine(t,r){const n=new Ye((i,a)=>t.request(i,o=>r.request(o,a)));return Object.assign(n,{left:t,right:r})}request(t,r){throw it(65)}left;right}const go=Ye.execute;function Um(e){return e}class Ot{transform;cached;resultCache=new WeakSet;getCacheKey(t){return[t]}static identity(){return new Ot(Um,{cache:!1})}static split(t,r,n=Ot.identity()){return Object.assign(new Ot(i=>(t(i)?r:n).transformDocument(i),{cache:!1}),{left:r,right:n})}constructor(t,r={}){this.transform=t,r.getCacheKey&&(this.getCacheKey=r.getCacheKey),this.cached=r.cache!==!1,this.resetCache()}resetCache(){if(this.cached){const t=new Tt;this.performWork=pn(Ot.prototype.performWork.bind(this),{makeCacheKey:r=>{const n=this.getCacheKey(r);if(n)return re(Array.isArray(n),20),t.lookupArray(n)},max:Nt["documentTransform.cache"],cache:Xn})}}performWork(t){return Gt(t),this.transform(t)}transformDocument(t){if(this.resultCache.has(t))return t;const r=this.performWork(t);return this.resultCache.add(r),r}concat(t){return Object.assign(new Ot(r=>t.transformDocument(this.transformDocument(r)),{cache:!1}),{left:this,right:t})}left;
39right}let Ki;const xr=Object.assign(e=>{let t=Ki.get(e);return t||(t=Gh(e),Ki.set(e,t)),t},{reset(){Ki=new Go(Nt.print||2e3)}});xr.reset();function Pe(e){return!!(e&&typeof e=="object"&&typeof e.__ref=="string")}const ul={kind:le.FIELD,name:{kind:le.NAME,value:"__typename"}},xf=Object.assign(function(e){return _t(e,{SelectionSet:{enter(t,r,n){if(n&&n.kind===le.OPERATION_DEFINITION)return;const{selections:i}=t;if(!i||i.some(s=>s.kind===le.FIELD&&(s.name.value==="__typename"||s.name.value.lastIndexOf("__",0)===0)))return;const o=n;if(!(o.kind===le.FIELD&&o.directives&&o.directives.some(s=>s.name.value==="export")))return{...t,selections:[...i,ul]}}}})},{added(e){return e===ul}});function Lf(e,t){return Ft(e)?.operation===t}function Wm(e){return Lf(e,"mutation")}function zm(e){return Lf(e,"subscription")}function Tf(e){return e===7||e===8}function Hn(e){return!Tf(e)}class Gm{assumeImmutableResults=!1;lookupFragment(t){return null}batch(t){const r=typeof t.optimistic=="string"?t.optimistic:t.optimistic===!1?null:void 0;let n;return this.performTransaction(()=>n=t.update(this),r),n}recordOptimisticTransaction(t,r){this.performTransaction(t,r)}transformDocument(t){return t}transformForLink(t){return t}identify(t){}gc(){return[]}modify(t){return!1}readQuery(t,r=!!t.optimistic){return this.read({...t,rootId:t.id||"ROOT_QUERY",optimistic:r})}fragmentWatches=new Tt(!0);watchFragment(t){const{fragment:r,fragmentName:n,from:i}=t,a=this.getFragmentDoc(r,n),s=(Array.isArray(i)?i:[i]).map(h=>h==null?h:this.toCacheId(h));if(!Array.isArray(i)){const h=this.watchSingleFragment(s[0],a,t);return i===null?h:Tm(h,Symbol.for("apollo.transform.individualResult"),p=>({...p,data:p.data??{}}))}let l;function c(h){const p=h.reduce((m,g,b)=>(m.data.push(g.data),m.complete&&=g.complete,m.dataState=m.complete?"complete":"partial",g.missing&&(m.missing||={},m.missing[b]=g.missing),m),{data:[],dataState:"complete",complete:!0});return _e(l,p)||(l=p),l}if(s.length===0)return Km;let u=!1;const f=s.map(h=>this.watchSingleFragment(h,a,t)),d=nm(f).pipe(zt(c),dn({subscribe:()=>u=!0,unsubscribe:()=>u=!1}),Ho({bufferSize:1,refCount:!0}));return Object.assign(d,{getCurrentResult:()=>{if(u&&l)return l;const h=f.map(p=>p.getCurrentResult());return c(h)}})}onAfterBroadcast=t=>t();watchSingleFragment(t,r,n){if(t===null)return Qm;const{optimistic:i=!0,variables:a}=n,o=[r,It({id:t,optimistic:i,variables:a})],s=this.fragmentWatches.lookupArray(o);if(!s.observable){let u=function(d){const h=d.result;return(!c||!df(r,{data:c.data},{data:h},n.variables))&&(c={data:h,dataState:d.complete?"complete":"partial",complete:d.complete},d.missing&&(c.missing=d.missing.missing)),c},l=!1,c;const f=new xe(d=>{l=!0;const h=this.watch({variables:a,returnPartialData:!0,id:t,query:r,optimistic:i,immediate:!0,callback:p=>{f.dirty=!0,this.onAfterBroadcast(()=>{d.next(u(p)),f.dirty=!1})}});return()=>{l=!1,h(),this.fragmentWatches.removeArray(o)}}).pipe(qp(),fn({connector:()=>new ju(1),resetOnRefCountZero:()=>jp(0)}));s.observable=Object.assign(f,{dirty:!1,getCurrentResult:()=>l&&c?c:u(this.diff({id:t,query:r,returnPartialData:!0,optimistic:i,variables:a}))})}return s.observable}getFragmentDoc=pn(om,{max:Nt["cache.fragmentQueryDocuments"]||1e3,cache:Xn,makeCacheKey:$m(this)});readFragment(t,r=!!t.optimistic){const n=t.from!==void 0?this.toCacheId(t.from):t.id;return this.read({...t,query:this.getFragmentDoc(t.fragment,t.fragmentName),rootId:n,optimistic:r})}writeQuery({id:t,data:r,...n}){return this.write(Object.assign(n,{dataId:t||"ROOT_QUERY",result:r}))}writeFragment({data:t,fragment:r,fragmentName:n,...i}){const a=i.from!==void 0?this.toCacheId(i.from):i.id;return this.write(Object.assign(i,{query:this.getFragmentDoc(r,n),dataId:a,result:t}))}updateQuery(t,r){return this.batch({update(n){const i=n.readQuery(t),a=r(i);return a==null?i:(n.writeQuery({...t,data:a}),a)}})}updateFragment(t,r){return this.batch({update(n){const i=n.readFragment(t),a=r(i);return a==null?i:(n.writeFragment({...t,data:a}),a)}})}toCacheId(t){return typeof t=="string"?t:this.identify(t)}}const fl=Object.freeze({data:null,dataState:"complete",complete:!0}),Qm=Object.assign(new xe(e=>{e.next(fl)}),{dirty:!1,getCurrentResult:()=>fl}),dl=Object.freeze({data:[],dataState:"complete",complete:!0}),Km=Object.assign(new xe(e=>{e.next(dl)}),{getCurrentResult:()=>dl});
39class Zo extends Error{message;path;query;variables;constructor(t,r,n,i){if(super(t),this.message=t,this.path=r,this.query=n,this.variables=i,this.name="MissingFieldError",Array.isArray(this.path)){this.missing=this.message;for(let a=this.path.length-1;a>=0;--a)this.missing={[this.path[a]]:this.missing}}else this.missing=this.path;this.__proto__=Zo.prototype}missing}const{hasOwnProperty:Fe}=Object.prototype;function Cf({__typename:e,id:t,_id:r},n){if(typeof e=="string"&&(n&&(n.keyObject=t!=null?{id:t}:r!=null?{_id:r}:void 0),t==null&&r!=null&&(t=r),t!=null))return`${e}:${typeof t=="number"||typeof t=="string"?t:JSON.stringify(t)}`}const Ym={dataIdFromObject:Cf,resultCaching:!0};function Jm(e){return Je(Ym,e)}const Of=/^[_a-z][_0-9a-z]*/i;function Dr(e){const t=e.match(Of);return t?t[0]:e}function yo(e,t,r){return ze(t)?Ne(t)?t.every(n=>yo(e,n,r)):e.selections.every(n=>{if(An(n)&&yi(n,r)){const i=qr(n);return Fe.call(t,i)&&(!n.selectionSet||yo(n.selectionSet,t[i],r))}return!0}):!1}function Pr(e){return ze(e)&&!Pe(e)&&!Ne(e)}function Xm(){return new kr}function kf(e,t){const r=En(_n(e));return{fragmentMap:r,lookupFragment(n){let i=r[n];return!i&&t&&(i=t.lookup(n)),i||null}}}const Un={},Yi=()=>Un,hl={};class Pi{policies;group;data={};constructor(t,r){this.policies=t,this.group=r}toObject(){return{...this.data}}has(t){return this.lookup(t,!0)!==void 0}get(t,r){if(this.group.depend(t,r),Fe.call(this.data,t)){const n=this.data[t];if(n&&Fe.call(n,r))return n[r]}if(r==="__typename"&&Fe.call(this.policies.rootTypenamesById,t))return this.policies.rootTypenamesById[t];if(this instanceof Pt)return this.parent.get(t,r)}lookup(t,r){if(r&&this.group.depend(t,"__exists"),Fe.call(this.data,t))return this.data[t];if(this instanceof Pt)return this.parent.lookup(t,r);if(this.policies.rootTypenamesById[t])return{}}merge(t,r){let n;Pe(t)&&(t=t.__ref),Pe(r)&&(r=r.__ref);const i=typeof t=="string"?this.lookup(n=t):t,a=typeof r=="string"?this.lookup(n=r):r;if(!a)return;re(typeof n=="string",104);const o=new kr({reconciler:tg}).merge(i,a);if(this.data[n]=o,o!==i&&(delete this.refs[n],this.group.caching)){const s={};i||(s.__exists=1),Object.keys(a).forEach(l=>{if(!i||i[l]!==o[l]){s[l]=1;const c=Dr(l);c!==l&&!this.policies.hasKeyArgs(o.__typename,c)&&(s[c]=1),o[l]===void 0&&!(this instanceof Pt)&&delete o[l]}}),s.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[n]===o.__typename&&delete s.__typename,Object.keys(s).forEach(l=>this.group.dirty(n,l))}}modify(t,r,n){const i=this.lookup(t);if(i){const a={};let o=!1,s=!0;const l={DELETE:Un,INVALIDATE:hl,isReference:Pe,toReference:this.toReference,canRead:this.canRead,readField:(c,u)=>this.policies.readField(typeof c=="string"?{fieldName:c,from:u||Ar(t)}:c,{store:this})};
39if(Object.keys(i).forEach(c=>{const u=Dr(c);let f=i[c];if(f===void 0)return;const d=typeof r=="function"?r:r[c]||(n?void 0:r[u]);if(d){let h=d===Yi?Un:d(f,{...l,fieldName:u,storeFieldName:c,storage:this.getStorage(t,c)});h===hl?this.group.dirty(t,c):(h===Un&&(h=void 0),h!==f&&(a[c]=h,o=!0,f=h))}f!==void 0&&(s=!1)}),o)return this.merge(t,a),s&&(this instanceof Pt?this.data[t]=void 0:delete this.data[t],this.group.dirty(t,"__exists")),!0}return!1}delete(t,r,n){const i=this.lookup(t);if(i){const a=this.getFieldValue(i,"__typename"),o=r&&n?this.policies.getStoreFieldName({typename:a,fieldName:r,args:n}):r;return this.modify(t,o?{[o]:Yi}:Yi,!!n)}return!1}evict(t,r){let n=!1;return t.id&&(Fe.call(this.data,t.id)&&(n=this.delete(t.id,t.fieldName,t.args)),this instanceof Pt&&this!==r&&(n=this.parent.evict(t,r)||n),(t.fieldName||n)&&this.group.dirty(t.id,t.fieldName||"__exists")),n}clear(){this.replace(null)}extract(){const t=this.toObject(),r=[];return this.getRootIdSet().forEach(n=>{Fe.call(this.policies.rootTypenamesById,n)||r.push(n)}),r.length&&(t.__META={extraRootIds:r.sort()}),t}replace(t){if(Object.keys(this.data).forEach(r=>{t&&Fe.call(t,r)||this.delete(r)}),t){const{__META:r,...n}=t;Object.keys(n).forEach(i=>{this.merge(i,n[i])}),r&&r.extraRootIds.forEach(this.retain,this)}}rootIds={};retain(t){return this.rootIds[t]=(this.rootIds[t]||0)+1}release(t){if(this.rootIds[t]>0){const r=--this.rootIds[t];return r||delete this.rootIds[t],r}return 0}getRootIdSet(t=new Set){return Object.keys(this.rootIds).forEach(t.add,t),this instanceof Pt?this.parent.getRootIdSet(t):Object.keys(this.policies.rootTypenamesById).forEach(t.add,t),t}gc(){const t=this.getRootIdSet(),r=this.toObject();t.forEach(i=>{Fe.call(r,i)&&(Object.keys(this.findChildRefIds(i)).forEach(t.add,t),delete r[i])});const n=Object.keys(r);if(n.length){let i=this;for(;i instanceof Pt;)i=i.parent;n.forEach(a=>i.delete(a))}return n}refs={};findChildRefIds(t){if(!Fe.call(this.refs,t)){const r=this.refs[t]={},n=this.data[t];if(!n)return r;const i=new Set([n]);i.forEach(a=>{Pe(a)&&(r[a.__ref]=!0),ze(a)&&Object.keys(a).forEach(o=>{const s=a[o];ze(s)&&i.add(s)})})}return this.refs[t]}makeCacheKey(){return this.group.keyMaker.lookupArray(arguments)}getFieldValue=(t,r)=>Pe(t)?this.get(t.__ref,r):t&&t[r];canRead=t=>Pe(t)?this.has(t.__ref):typeof t=="object";toReference=(t,r)=>{if(typeof t=="string")return Ar(t);if(Pe(t))return t;const[n]=this.policies.identify(t);if(n){const i=Ar(n);return r&&this.merge(n,t),i}};get supportsResultCaching(){return this.group.caching}}class If{caching;parent;d=null;keyMaker;constructor(t,r=null){this.caching=t,this.parent=r,this.resetCaching()}resetCaching(){this.d=this.caching?_f():null,this.keyMaker=new Tt}depend(t,r){if(this.d){this.d(Ji(t,r));const n=Dr(r);n!==r&&this.d(Ji(t,n)),this.parent&&this.parent.depend(t,r)}}dirty(t,r){this.d&&this.d.dirty(Ji(t,r),r==="__exists"?"forget":"setDirty")}}function Ji(e,t){return t+"#"+e}function pl(e,t){en(e)&&e.group.depend(t,"__exists")}class Zm extends Pi{constructor({policies:t,resultCaching:r=!0,seed:n}){super(t,new If(r)),n&&this.replace(n)}stump=new eg(this);addLayer(t,r){return this.stump.addLayer(t,r)}removeLayer(){return this}storageTrie=new Tt;getStorage(){return this.storageTrie.lookupArray(arguments)}}Pi.Root=Zm;class Pt extends Pi{id;parent;replay;group;constructor(t,r,n,i){super(r.policies,i),this.id=t,this.parent=r,this.replay=n,this.group=i,n(this)}addLayer(t,r){return new Pt(t,this,r,this.group)}removeLayer(t){const r=this.parent.removeLayer(t);return t===this.id?(this.group.caching&&Object.keys(this.data).forEach(n=>{const i=this.data[n],a=r.lookup(n);
39a?i?i!==a&&Object.keys(i).forEach(o=>{_e(i[o],a[o])||this.group.dirty(n,o)}):(this.group.dirty(n,"__exists"),Object.keys(a).forEach(o=>{this.group.dirty(n,o)})):this.delete(n)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)}toObject(){return{...this.parent.toObject(),...this.data}}findChildRefIds(t){const r=this.parent.findChildRefIds(t);return Fe.call(this.data,t)?{...r,...super.findChildRefIds(t)}:r}getStorage(...t){let r=this.parent;for(;r.parent;)r=r.parent;return r.getStorage(...t)}}class eg extends Pt{constructor(t){super("EntityStore.Stump",t,()=>{},new If(t.group.caching,t.group))}removeLayer(){return this}merge(t,r){return this.parent.merge(t,r)}}function tg(e,t,r){const n=e[r],i=t[r];return _e(n,i)?n:i}function en(e){return!!(e&&e.supportsResultCaching)}const Df=new bi;function rg(e){const t=e.directives?.find(({name:n})=>n.value==="unmask");if(!t)return"mask";const r=t.arguments?.find(({name:n})=>n.value==="mode");return r&&"value"in r.value&&r.value.value==="migrate"?"migrate":"unmask"}function Rf(e,t,r){return Df.withValue(!0,()=>Xr(e,t,r,!1))}function ng(e,t){if(t.has(e))return t.get(e);const r=Array.isArray(e)?[]:{};return t.set(e,r),r}function Xr(e,t,r,n,i){const{knownChanged:a}=r,o=ng(e,r.mutableTargets);if(Array.isArray(e)){for(const[s,l]of Array.from(e.entries())){if(l===null){o[s]=null;continue}const c=Xr(l,t,r,n);a.has(c)&&a.add(o),o[s]=c}return a.has(o)?o:e}for(const s of t.selections){let l;if(n&&a.add(o),s.kind===le.FIELD){const c=qr(s),u=s.selectionSet;if(l=o[c]||e[c],l===void 0)continue;if(u&&l!==null){const f=Xr(e[c],u,r,n);a.has(f)&&(l=f)}o[c]=l}if(s.kind===le.INLINE_FRAGMENT&&(!s.typeCondition||r.cache.fragmentMatches(s,e.__typename))&&(l=Xr(e,s.selectionSet,r,n)),s.kind===le.FRAGMENT_SPREAD){const c=s.name.value,u=r.fragmentMap[c]||(r.fragmentMap[c]=r.cache.lookupFragment(c));re(u,39,c);const f=rg(s);f!=="mask"&&(l=Xr(e,u.selectionSet,r,f==="migrate"))}a.has(l)&&a.add(o)}return"__typename"in e&&!("__typename"in o)&&(o.__typename=e.__typename),Object.keys(o).length!==Object.keys(e).length&&a.add(o),a.has(o)?o:e}function ig(e,t,r,n){const i=t.definitions.filter(o=>o.kind===le.FRAGMENT_DEFINITION);typeof n>"u"&&(re(i.length===1,41,i.length),n=i[0].name.value);const a=i.find(o=>o.name.value===n);return re(!!a,42,n),e==null||_e(e,{})?e:Rf(e,a.selectionSet,{operationName:a.name.value,fragmentMap:En(_n(t)),cache:r,mutableTargets:new WeakMap,knownChanged:new WeakSet})}function ag(e,t,r){const n=Ft(t);return re(n,43),e==null?e:Rf(e,n.selectionSet,{operationType:n.operation,operationName:n.name?.value,fragmentMap:En(_n(t)),cache:r,mutableTargets:new WeakMap,knownChanged:new WeakSet})}const ml={};function es(e){const t=JSON.stringify(e);return ml[t]||(ml[t]={})}function gl(e){const t=es(e);return t.keyFieldsFn||(t.keyFieldsFn=(r,n)=>{const i=(o,s)=>n.readField(s,o),a=n.keyObject=ts(e,o=>{let s=Lr(n.storeObject,o,i);return s===void 0&&r!==n.storeObject&&Fe.call(r,o[0])&&(s=Lr(r,o,Ff)),re(s!==void 0,107,o.join("."),r),s});return`${n.typename}:${JSON.stringify(a)}`})}function yl(e){const t=es(e);return t.keyArgsFn||(t.keyArgsFn=(r,{field:n,variables:i,fieldName:a})=>{const o=ts(e,l=>{const c=l[0],u=c.charAt(0);if(u==="@"){if(n&&Ko(n.directives)){const f=c.slice(1),d=n.directives.find(p=>p.name.value===f),h=d&&zo(d,i);return h&&Lr(h,l.slice(1))}return}if(u==="$"){const f=c.slice(1);if(i&&Fe.call(i,f)){const d=l.slice(0);return d[0]=f,Lr(i,d)}return}if(r)return Lr(r,l)}),s=JSON.stringify(o);return(r||s!=="{}")&&(a+=":"+s),a})}function ts(e,t){const r=new kr;return Nf(e).reduce((n,i)=>{let a=t(i);if(a!==void 0){for(let o=i.length-1;o>=0;--o)a={[i[o]]:a};n=r.merge(n,a)}return n},{})}function Nf(e){const t=es(e);if(!t.paths){const r=t.paths=[],n=[];e.forEach((i,a)=>{Ne(i)?(Nf(i).forEach(o=>r.push(n.concat(o))),n.length=0):(n.push(i),Ne(e[a+1])||(r.push(n.slice(0)),n.length=0))})}return t.paths}function Ff(e,t){return e[t]}function Lr(e,t,r){return r=r||Ff,Mf(t.reduce(function n(i,a){return Ne(i)?i.map(o=>n(o,a)):i&&r(i,a)},e))}function Mf(e){return ze(e)?Ne(e)?e.map(Mf):ts(Object.keys(e).sort(),t=>Lr(e,t)):e}const jf=new bi,bl=new WeakMap;function tn(e){let t=bl.get(e);return t||bl.set(e,t={vars:new Set,dep:_f()}),t}
39function vl(e){tn(e).vars.forEach(t=>t.forgetCache(e))}function og(e){tn(e).vars.forEach(t=>t.attachCache(e))}function sg(e){const t=new Set,r=new Set,n=function(a){if(arguments.length>0){if(e!==a){e=a,t.forEach(s=>{tn(s).dep.dirty(n),lg(s)});const o=Array.from(r);r.clear(),o.forEach(s=>s(e))}}else{const o=jf.getValue();o&&(i(o),tn(o).dep(n))}return e};n.onNextChange=a=>(r.add(a),()=>{r.delete(a)});const i=n.attachCache=a=>(t.add(a),tn(a).vars.add(n),n);return n.forgetCache=a=>t.delete(a),n}function lg(e){e.broadcastWatches&&e.broadcastWatches()}function bo(e){return e.args!==void 0?e.args:e.field?zo(e.field,e.variables):null}const cg=()=>{},wl=(e,t)=>t.fieldName,Pl=(e,t,{mergeObjects:r})=>r(e,t),Sl=(e,t)=>t,ug=(e,t,{streamFieldInfo:r,existingData:n})=>{if(!e&&!n)return t;const i=[],a=e??n,o=r?.isLastChunk?t.length:Math.max(a.length,t.length);for(let s=0;s<o;s++)i[s]=t[s]===void 0?a[s]:t[s];return i};class fg{config;typePolicies={};toBeAdded={};supertypeMap=new Map;fuzzySubtypes=new Map;cache;rootIdsByTypename={};rootTypenamesById={};usingPossibleTypes=!1;constructor(t){this.config=t,this.config={dataIdFromObject:Cf,...t},this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),t.possibleTypes&&this.addPossibleTypes(t.possibleTypes),t.typePolicies&&this.addTypePolicies(t.typePolicies)}identify(t,r){const n=this,i=r&&(r.typename||r.storeObject?.__typename)||t.__typename;if(i===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];const a=r&&r.storeObject||t,o={...r,typename:i,storeObject:a,readField:r&&r.readField||((...u)=>{const f=rs(u,a);return n.readField(f,{store:n.cache.data,variables:f.variables})})};let s;const l=i&&this.getTypePolicy(i);let c=l&&l.keyFn||this.config.dataIdFromObject;return Df.withValue(!0,()=>{for(;c;){const u=c({...t,...a},o);if(Ne(u))c=gl(u);else{s=u;break}}}),s=s?String(s):void 0,o.keyObject?[s,o.keyObject]:[s]}addTypePolicies(t){Object.keys(t).forEach(r=>{const{queryType:n,mutationType:i,subscriptionType:a,...o}=t[r];n&&this.setRootTypename("Query",r),i&&this.setRootTypename("Mutation",r),a&&this.setRootTypename("Subscription",r),Fe.call(this.toBeAdded,r)?this.toBeAdded[r].push(o):this.toBeAdded[r]=[o]})}updateTypePolicy(t,r,n){const i=this.getTypePolicy(t),{keyFields:a,fields:o}=r;function s(l,c){l.merge=typeof c=="function"?c:c===!0?Pl:c===!1?Sl:l.merge}s(i,r.merge),i.keyFn=a===!1?cg:Ne(a)?gl(a):typeof a=="function"?a:i.keyFn,o&&Object.keys(o).forEach(l=>{let c=n[l];(!c||c?.typename!==t)&&(c=n[l]={typename:t});const u=o[l];if(typeof u=="function")c.read=u;else{const{keyArgs:f,read:d,merge:h}=u;c.keyFn=f===!1?wl:Ne(f)?yl(f):typeof f=="function"?f:c.keyFn,typeof d=="function"&&(c.read=d),s(c,h)}c.read&&c.merge&&(c.keyFn=c.keyFn||wl)})}setRootTypename(t,r=t){const n="ROOT_"+t.toUpperCase(),i=this.rootTypenamesById[n];r!==i&&(re(!i||i===t,108,t),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[r]=n,this.rootTypenamesById[n]=r)}addPossibleTypes(t){this.usingPossibleTypes=!0,Object.keys(t).forEach(r=>{this.getSupertypeSet(r,!0),t[r].forEach(n=>{this.getSupertypeSet(n,!0).add(r);const i=n.match(Of);(!i||i[0]!==n)&&this.fuzzySubtypes.set(n,new RegExp(n))})})}getTypePolicy(t){if(!Fe.call(this.typePolicies,t)){const n=this.typePolicies[t]={};n.fields={};let i=this.supertypeMap.get(t);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(t,!0),this.fuzzySubtypes.forEach((a,o)=>{if(a.test(t)){const s=this.supertypeMap.get(o);s&&s.forEach(l=>i.add(l))}})),i&&i.size&&i.forEach(a=>{const{fields:o,...s}=this.getTypePolicy(a);Object.assign(n,s),Object.assign(n.fields,o)})}const r=this.toBeAdded[t];return r&&r.length&&r.splice(0).forEach(n=>{this.updateTypePolicy(t,n,this.typePolicies[t].fields)}),this.typePolicies[t]}getFieldPolicy(t,r){if(t)return this.getTypePolicy(t).fields[r]}getSupertypeSet(t,r){let n=this.supertypeMap.get(t);return!n&&r&&this.supertypeMap.set(t,n=new Set),n}fragmentMatches(t,r,n,i){if(!t.typeCondition)return!0;if(!r)return!1;const a=t.typeCondition.name.value;if(r===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a)){const o=this.getSupertypeSet(r,!0),s=[o],l=u=>{const f=this.getSupertypeSet(u,!1);f&&f.size&&s.indexOf(f)<0&&s.push(f)};let c=!!(n&&this.fuzzySubtypes.size);for(let u=0;u<s.length;++u){const f=s[u];if(f.has(a))return o.has(a)||o.add(a),!0;f.forEach(l),c&&u===s.length-1&&yo(t.selectionSet,n,i)&&(c=!1,this.fuzzySubtypes.forEac
39h((d,h)=>{const p=r.match(d);p&&p[0]===r&&l(h)}))}}return!1}hasKeyArgs(t,r){const n=this.getFieldPolicy(t,r);return!!(n&&n.keyFn)}getStoreFieldName(t){const{typename:r,fieldName:n}=t,i=this.getFieldPolicy(r,n);let a,o=i&&i.keyFn;if(o&&r){const s={typename:r,fieldName:n,field:t.field||null,variables:t.variables},l=bo(t);for(;o;){const c=o(l,s);if(Ne(c))o=yl(c);else{a=c||n;break}}}return a===void 0&&(a=t.field?Pm(t.field,t.variables):uf(n,bo(t))),a===!1?n:n===Dr(a)?a:n+":"+a}readField(t,r){const n=t.from;if(!n||!(t.field||t.fieldName))return;if(t.typename===void 0){const u=r.store.getFieldValue(n,"__typename");u&&(t.typename=u)}const a=this.getStoreFieldName(t),o=Dr(a),s=r.store.getFieldValue(n,a),l=this.getFieldPolicy(t.typename,o),c=l&&l.read;if(c){const u=qf(this,n,t,r,r.store.getStorage(Pe(n)?n.__ref:n,a));return jf.withValue(this.cache,c,[s,u])}return s}getReadFunction(t,r){const n=this.getFieldPolicy(t,r);return n&&n.read}getMergeFunction(t,r,n){let i=this.getFieldPolicy(t,r),a=i&&i.merge;return!a&&n&&(i=this.getTypePolicy(n),a=i&&i.merge),a}runMergeFunction(t,r,{field:n,typename:i,merge:a,path:o},s,l){const c=t;if(a===Pl)return $f(s.store)(t,r);if(a===Sl)return r;s.overwrite&&(t=void 0);const u=s.extensions?.[Kt]?.deref()?.peekArray(o);if(u){const{current:d,previous:h}=u;if(h&&_e(h.incoming,r)&&_e(h.streamFieldInfo,d))return h.result}const f=a(t,r,dg(this,void 0,{typename:i,fieldName:n.name.value,field:n,variables:s.variables,path:o},s,l||{},c));return u&&(u.previous={incoming:r,streamFieldInfo:u.current,result:f}),f}}function qf(e,t,r,n,i){const a=e.getStoreFieldName(r),o=Dr(a),s=r.variables||n.variables,{toReference:l,canRead:c}=n.store;return{args:bo(r),field:r.field||null,fieldName:o,storeFieldName:a,variables:s,isReference:Pe,toReference:l,storage:i,cache:e.cache,canRead:c,readField(...u){return e.readField(rs(u,t,s),n)},mergeObjects:$f(n.store)}}function dg(e,t,r,n,i,a){const o={...qf(e,t,r,n,i),extensions:n.extensions,existingData:a},s=n.extensions;if(s&&Kt in s){const{[Kt]:l,...c}=s,u=l?.deref()?.peekArray(r.path);u&&(o.streamFieldInfo=u.current),o.extensions=Object.keys(c).length===0?void 0:c}return o}function rs(e,t,r){const{0:n,1:i,length:a}=e;let o;return typeof n=="string"?o={fieldName:n,from:a>1?i:t}:(o={...n},Fe.call(o,"from")||(o.from=t)),o.variables===void 0&&(o.variables=r),o}function $f(e){return function(r,n){if(Ne(r)||Ne(n))throw it(111);if(ze(r)&&ze(n)){const i=e.getFieldValue(r,"__typename"),a=e.getFieldValue(n,"__typename");if(i&&a&&i!==a)return n;if(Pe(r)&&Pr(n))return e.merge(r.__ref,n),r;if(Pr(r)&&Pe(n))return e.merge(r,n.__ref),n;if(Pr(r)&&Pr(n))return{...r,...n}}return n}}function El(e){return[e.selectionSet,e.objectOrReference,e.context]}class hg{executeSelectionSet;executeSubSelectedArray;config;knownResults=new WeakMap;constructor(t){this.config=t,this.executeSelectionSet=pn(r=>{const n=El(r),i=this.executeSelectionSet.peek(...n);return i||(pl(r.context.store,r.enclosingRef.__ref),this.execSelectionSetImpl(r))},{max:Nt["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:El,makeCacheKey(r,n,i){if(en(i.store))return i.store.makeCacheKey(r,Pe(n)?n.__ref:n,i.varString)}}),this.executeSubSelectedArray=pn(r=>(pl(r.context.store,r.enclosingRef.__ref),this.execSubSelectedArrayImpl(r)),{max:Nt["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey({field:r,array:n,context:i}){if(en(i.store))return i.store.makeCacheKey(r,n,i.varString)}})}diffQueryAgainstStore({store:t,query:r,rootId:n="ROOT_QUERY",variables:i,returnPartialData:a=!0}){const o=this.config.cache.policies;i={...Qo(lm(r)),...i};const s=Ar(n),l=this.executeSelectionSet({selectionSet:cf(r).selectionSet,objectOrReference:s,enclosingRef:s,context:{store:t,query:r,policies:o,variables:i,varString:It(i),...kf(r,this.config.fragments)}});let c;l.missing&&(c=new Zo(pg(l.missing),l.missing,r,i));const u=!c,{result:f}=l;return{result:u?f:a?Object.keys(f).length===0?null:f:null,complete:u,missing:c}}isFresh(t,r,n,i){if(en(i.store)&&this.knownResults.get(t)===n){const a=this.executeSelectionSet.peek(n,r,i);if(a&&t===a.result)return!0}return!1}execSelectionSetImpl({selectionSet:t,objectOrReference:r,enclosingRef:n,context:i}){if(Pe(r)&&!i.policies.rootTypenamesById[r.__ref]&&!i.store.has(r.__ref))return{result:{},missing:`Dangling reference to missing ${r.__ref} object`};const{variables:a,policies:o,store:s}=i,l=s.getFieldValue(r,"__typename"),c=[];let u;const f=new kr;typeof l=="string"&&!o.rootIdsByTypename[l]&&c.push({__typename:l});function d(b,v){return b.missing&&(u=f.merge(u,{[v]:b.missing})),b.result}const h=new Set(t.selections);h.forEach(b=>{if(yi(b,a))if(An(b)){let v=o.readField({fieldName:b.name.value,field:b,variables:i.variables,from:r},i);const S=qr(b);v===void 0?xf.added(b)||(u=f.merge(u,{[S]:`Can't find field '${b.name.value}' on ${Pe(r)?r.__ref+" object":"object "+JSON.stringify(r,null,2)}`})):Ne(v)?v.length>0&&(v=d(this.executeSubSelectedArray({field:b,array:v,enclosingRef:n,context:i}),S)):b.selectionSet&&v!=null&&(v=d(this.executeSelectionSet({selectionSet:b.selectionSet,objectOrReference:v,enclosingRef:Pe(v)?v:n,context:i}),S)),v!==void 0&&c.push({[S]:v})}else{const v=gi(b,i.lookupFragment);if(!v&&b.kind===le.FRAGMENT_SPREAD)throw it(112,b.name.value);v&&o.fragmentMatches(v,l)&&v.selectionSet.selections.forEach(h.add,h)}});const m={result:pm(c),missing:u},g=m;return g.result&&this.knownResults.set(g.result,t),g}execSubSelectedArrayImpl({field:t,array:r,enclosingRef:n,context:i}){let a,o=new kr;function s(l,c){return l.missing&&(a=o.merge(a,{[c]:l.missing})),l.result}return t.selectionSet&&(r=r.filter(l=>l===void 0||i.store.canRead(l))),r=r.map((l,c)=>l===null?null:Ne(l)?s(this.executeSubSelectedArray({field:t,array:l,enclosingRef:n,context:i}),c):t.selectionSet?s(this.executeSelectionSet({selectionSet:t.selectionSet,objectOrReference:l,enclosingRef:Pe(l)?l:n,context:i}),c):l),{result:r,missing:a}}}function pg(e){try{JSON.stringify(e,(t,r)=>{if(typeof r=="string")throw r;return r})}catch(t){return t}}function Xi(e,t,r){const n=`${t}${r}`;let i=e.flavors.get(n);return i||e.flavors.set(n,i=e.clientOnly===t&&e.deferred===r?e:{...e,clientOnly:t,deferred:r}),i}class mg{cache;reader;fragments;constructor(t,r,n){this.cache=t,this.reader=r,this.fragments=n}writeToStore(t,{query:r,result:n,dataId:i,variables:a,overwrite:o,extensions:s}){const l=Ft(r),c=Xm();a={...Qo(l),...a};const u={store:t,written:{}
39,merge(d,h){return c.merge(d,h)},variables:a,varString:It(a),...kf(r,this.fragments),overwrite:!!o,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map,extensions:s},f=this.processSelectionSet({result:n||{},dataId:i,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:u,path:[]});if(!Pe(f))throw it(114,n);return u.incomingById.forEach(({storeObject:d,mergeTree:h,fieldNodeSet:p},m)=>{const g=Ar(m);if(h&&h.map.size){const b=this.applyMerges(h,g,d,u);if(Pe(b))return;d=b}t.merge(m,d)}),t.retain(f.__ref),f}processSelectionSet({dataId:t,result:r,selectionSet:n,context:i,mergeTree:a,path:o}){const{policies:s}=this.cache;let l={};const c=t&&s.rootTypenamesById[t]||wo(r,n,i.fragmentMap)||t&&i.store.get(t,"__typename");typeof c=="string"&&(l.__typename=c);const u=(...d)=>{const h=rs(d,l,i.variables);if(Pe(h.from)){const p=i.incomingById.get(h.from.__ref);if(p){const m=s.readField({...h,from:p.storeObject},i);if(m!==void 0)return m}}return s.readField(h,i)},f=new Set;this.flattenFields(n,r,i,c).forEach((d,h)=>{const p=qr(h),m=r[p],g=[...o,h.name.value];if(f.add(h),m!==void 0){const b=s.getStoreFieldName({typename:c,fieldName:h.name.value,field:h,variables:d.variables}),v=_l(a,b);let S=this.processFieldValue(m,h,h.selectionSet?Xi(d,!1,!1):d,v,g),L;h.selectionSet&&(Pe(S)||Pr(S))&&(L=u("__typename",S));const A=s.getMergeFunction(c,h.name.value,L);A?v.info={field:h,typename:c,merge:A,path:g}:wr(["stream"],h)&&Array.isArray(S)&&d.extensions?.[Kt]?v.info={field:h,typename:c,merge:ug,path:g}:Al(a,b),l=d.merge(l,{[b]:S})}});try{const[d,h]=s.identify(r,{typename:c,selectionSet:n,fragmentMap:i.fragmentMap,storeObject:l,readField:u});t=t||d,h&&(l=i.merge(l,h))}catch(d){if(!t)throw d}if(typeof t=="string"){const d=Ar(t),h=i.written[t]||(i.written[t]=[]);if(h.indexOf(n)>=0||(h.push(n),this.reader&&this.reader.isFresh(r,d,n,i)))return d;const p=i.incomingById.get(t);return p?(p.storeObject=i.merge(p.storeObject,l),p.mergeTree=vo(p.mergeTree,a),f.forEach(m=>p.fieldNodeSet.add(m))):i.incomingById.set(t,{storeObject:l,mergeTree:Zn(a)?void 0:a,fieldNodeSet:f}),d}return l}processFieldValue(t,r,n,i,a){return!r.selectionSet||t===null?t:Ne(t)?t.map((o,s)=>{const l=this.processFieldValue(o,r,n,_l(i,s),[...a,s]);return Al(i,s),l}):this.processSelectionSet({result:t,selectionSet:r.selectionSet,context:n,mergeTree:i,path:a})}flattenFields(t,r,n,i=wo(r,t,n.fragmentMap)){const a=new Map,{policies:o}=this.cache,s=new Tt(!1);return(function l(c,u){const f=s.lookup(c,u.clientOnly,u.deferred);f.visited||(f.visited=!0,c.selections.forEach(d=>{if(!yi(d,n.variables))return;let{clientOnly:h,deferred:p}=u;if(!(h&&p)&&Ko(d.directives)&&d.directives.forEach(m=>{const g=m.name.value;if(g==="client"&&(h=!0),g==="defer"){const b=zo(m,n.variables);(!b||b.if!==!1)&&(p=!0)}}),An(d)){const m=a.get(d);m&&(h=h&&m.clientOnly,p=p&&m.deferred),a.set(d,Xi(n,h,p))}else{const m=gi(d,n.lookupFragment);if(!m&&d.kind===le.FRAGMENT_SPREAD)throw it(116,d.name.value);m&&o.fragmentMatches(m,i,r,n.variables)&&l(m.selectionSet,Xi(n,h,p))}}))})(t,n),a}applyMerges(t,r,n,i,a){if(t.map.size&&!Pe(n)){const o=!Ne(n)&&(Pe(r)||Pr(r))?r:void 0,s=n;o&&!a&&(a=[Pe(o)?o.__ref:o]);let l;const c=(u,f)=>Ne(u)?typeof f=="number"?u[f]:void 0:i.store.getFieldValue(u,String(f));t.map.forEach((u,f)=>{const d=c(o,f),h=c(s,f);if(h===void 0)return;a&&a.push(f);const p=this.applyMerges(u,d,h,i,a);p!==h&&(l=l||new Map,l.set(f,p)),a&&re(a.pop()===f)}),l&&(n=Ne(s)?s.slice(0):{...s},l.forEach((u,f)=>{n[f]=u}))}return t.info?this.cache.policies.runMergeFunction(r,n,t.info,i,a&&i.store.getStorage(...a)):n}}const Bf=[];function _l({map:e},t){return e.has(t)||e.set(t,Bf.pop()||{map:new Map}),e.get(t)}function vo(e,t){if(e===t||!t||Zn(t))return e;if(!e||Zn(e))return t;const r=e.info&&t.info?{...e.info,...t.info}:e.info||t.info,n=e.map.size&&t.map.size,i=n?new Map:e.map.size?e.map:t.map,a={info:r,map:i};if(n){const o=new Set(t.map.keys());e.map.forEach((s,l)=>{a.map.set(l,vo(s,t.map.get(l))),o.delete(l)}),o.forEach(s=>{a.map.set(s,vo(t.map.get(s),e.map.get(s)))})}return a}function Zn(e){return!e||!(e.info||e.map.size)}function Al({map:e},t){const r=e.get(t);r&&Zn(r)&&(Bf.push(r),e.delete(t))}function wo(e,t,r){let n;for(const i of t.selections)if(An(i)){if(i.name.value==="__typename")return e[qr(i)]}else n?n.push(i):n=[i];if(typeof e.__typename=="string")return e.__typename;if(n)for(const i of n){const a=wo(e,gi(i,r).selectionSet,r);
39if(typeof a=="string")return a}}class gg extends Gm{data;optimisticData;config;watches=new Set;storeReader;storeWriter;addTypenameTransform=new Ot(xf);maybeBroadcastWatch;assumeImmutableResults=!0;policies;makeVar=sg;constructor(t={}){super(),this.config=Jm(t),this.policies=new fg({cache:this,dataIdFromObject:this.config.dataIdFromObject,possibleTypes:this.config.possibleTypes,typePolicies:this.config.typePolicies}),this.init()}init(){const t=this.data=new Pi.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=t.stump,this.resetResultCache()}resetResultCache(){const{fragments:t}=this.config;this.addTypenameTransform.resetCache(),t?.resetCaches(),this.storeWriter=new mg(this,this.storeReader=new hg({cache:this,fragments:t}),t),this.maybeBroadcastWatch=pn((r,n)=>this.broadcastWatch(r,n),{max:Nt["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:r=>{const n=r.optimistic?this.optimisticData:this.data;if(en(n)){const{optimistic:i,id:a,variables:o}=r;return n.makeCacheKey(r.query,r.callback,It({optimistic:i,id:a,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(r=>r.resetCaching())}restore(t){return this.init(),t&&this.data.replace(t),this}extract(t=!1){return(t?this.optimisticData:this.data).extract()}read(t){const{returnPartialData:r=!1}=t;return this.storeReader.diffQueryAgainstStore({...t,store:t.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r}).result}write(t){try{return++this.txCount,this.storeWriter.writeToStore(this.data,t)}finally{!--this.txCount&&t.broadcast!==!1&&this.broadcastWatches()}}modify(t){if(Fe.call(t,"id")&&!t.id)return!1;const r=t.optimistic?this.optimisticData:this.data;try{return++this.txCount,r.modify(t.id||"ROOT_QUERY",t.fields,!1)}finally{!--this.txCount&&t.broadcast!==!1&&this.broadcastWatches()}}diff(t){return this.storeReader.diffQueryAgainstStore({...t,store:t.optimistic?this.optimisticData:this.data,rootId:t.id||"ROOT_QUERY",config:this.config})}watch(t){return this.watches.size||og(this),this.watches.add(t),t.immediate&&this.maybeBroadcastWatch(t),()=>{this.watches.delete(t)&&!this.watches.size&&vl(this),this.maybeBroadcastWatch.forget(t)}}gc(t){It.reset(),xr.reset();const r=this.optimisticData.gc();return t&&!this.txCount&&t.resetResultCache&&this.resetResultCache(),r}retain(t,r){return(r?this.optimisticData:this.data).retain(t)}release(t,r){return(r?this.optimisticData:this.data).release(t)}identify(t){if(Pe(t))return t.__ref;try{return this.policies.identify(t)[0]}catch{}}evict(t){if(!t.id){if(Fe.call(t,"id"))return!1;t={...t,id:"ROOT_QUERY"}}try{return++this.txCount,this.optimisticData.evict(t,this.data)}finally{!--this.txCount&&t.broadcast!==!1&&this.broadcastWatches()}}reset(t){return this.init(),It.reset(),t&&t.discardWatches?(this.watches.forEach(r=>this.maybeBroadcastWatch.forget(r)),this.watches.clear(),vl(this)):this.broadcastWatches(),Promise.resolve()}removeOptimistic(t){const r=this.optimisticData.removeLayer(t);r!==this.optimisticData&&(this.optimisticData=r,this.broadcastWatches())}txCount=0;batch(t){const{update:r,optimistic:n=!0,removeOptimistic:i,onWatchUpdated:a}=t;let o;const s=c=>{const{data:u,optimisticData:f}=this;++this.txCount,c&&(this.data=this.optimisticData=c);try{return o=r(this)}finally{--this.txCount,this.data=u,this.optimisticData=f}},l=new Set;return a&&!this.txCount&&this.broadcastWatches({...t,onWatchUpdated(c){return l.add(c),!1}}),typeof n=="string"?this.optimisticData=this.optimisticData.addLayer(n,s):n===!1?s(this.data):s(),typeof i=="string"&&(this.optimisticData=this.optimisticData.removeLayer(i)),a&&l.size?(this.broadcastWatches({...t,onWatchUpdated(c,u){const f=a.call(this,c,u);return f!==!1&&l.delete(c),f}}),l.size&&l.forEach(c=>this.maybeBroadcastWatch.dirty(c))):this.broadcastWatches(t),o}performTransaction(t,r){return this.batch({update:t,optimistic:r||r!==null})}transformDocument(t){return this.addTypenameTransform.transformDocument(this.addFragmentsToDocument(t))}fragmentMatches(t,r){return this.policies.fragmentMatches(t,r)}lookupFragment(t){return this.config.fragments?.lookup(t)||null}resolvesClientField(t,r){return!!this.policies.getReadFunction(t,r)}broadcastWatches(t){if(!this.txCount){const r=this.onAfterBroadcast,n=new Set;this.onAfterBroadcast=i=>{n.add(i)};
39try{this.watches.forEach(i=>this.maybeBroadcastWatch(i,t)),n.forEach(i=>i())}finally{this.onAfterBroadcast=r}}}addFragmentsToDocument(t){const{fragments:r}=this.config;return r?r.transform(t):t}broadcastWatch(t,r){const{lastDiff:n}=t,i=this.diff(t);r&&(t.optimistic&&typeof r.optimistic=="string"&&(i.fromOptimisticTransaction=!0),r.onWatchUpdated&&r.onWatchUpdated.call(this,t,i,n)===!1)||(!n||!_e(n.result,i.result))&&t.callback(t.lastDiff=i,n)}}function xn(e,t){return typeof e=="object"&&e!==null&&e[Symbol.for("apollo.error")]===t}function Ln(e){Object.defineProperty(e,Symbol.for("apollo.error"),{value:e.name,enumerable:!1,writable:!1,configurable:!1})}function xl(e){return e.map(t=>t.message||"Error message not found.").join(` 40`)}class mn extends Error{static is(t){return xn(t,"CombinedProtocolErrors")}static formatMessage=xl;errors;constructor(t){super(mn.formatMessage(t,{defaultFormatMessage:xl})),this.name="CombinedProtocolErrors",this.errors=t,Ln(this),Object.setPrototypeOf(this,mn.prototype)}}function yg(e){return e!==null&&typeof e=="object"&&typeof e.message=="string"&&typeof e.name=="string"&&(typeof e.stack=="string"||typeof e.stack>"u")}
40class ns extends Error{static is(t){return xn(t,"UnconventionalError")}constructor(t){super("An error of unexpected shape occurred.",{cause:t}),this.name="UnconventionalError",Ln(this),Object.setPrototypeOf(this,ns.prototype)}}function Ll(e){return e.filter(t=>t).map(t=>t.message||"Error message not found.").join(` 41`)}class Ut extends Error{static is(t){return xn(t,"CombinedGraphQLErrors")}static formatMessage=Ll;errors;data;extensions;constructor(t,r=t.errors||[]){super(Ut.formatMessage(r,{result:t,defaultFormatMessage:Ll})),this.errors=r,this.data=t.data,this.extensions=t.extensions,this.name="CombinedGraphQLErrors",Ln(this),Object.setPrototypeOf(this,Ut.prototype)}}const bg=new WeakSet;function vg(e){bg.add(e)}class Si extends Error{static is(t){return xn(t,"ServerError")}response;statusCode;bodyText;constructor(t,r){super(t),this.name="ServerError",this.response=r.response,this.statusCode=r.response.status,this.bodyText=r.bodyText,Ln(this),Object.setPrototypeOf(this,Si.prototype)}}class Ei extends Error{static is(t){return xn(t,"ServerParseError")}response;statusCode;bodyText;constructor(t,r){super(t instanceof Error?t.message:"Could not parse server response",{cause:t}),this.name="ServerParseError",this.response=r.response,this.statusCode=r.response.status,this.bodyText=r.bodyText,Ln(this),Object.setPrototypeOf(this,Ei.prototype)}}const ei=Symbol();function wg(e){return"extensions"in e?mn.is(e.extensions[ei]):!1}function Pg(e){return yg(e)?e:typeof e=="string"?new Error(e,{cause:e}):new ns(e)}var J;(function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error",e[e.streaming=9]="streaming"})(J||(J={}));const{assign:Tl}=Object,pr={loading:!0,networkStatus:J.loading,data:void 0,dataState:"empty",partial:!0},Zi={loading:!1,networkStatus:J.ready,data:void 0,dataState:"empty",partial:!0};class ea{options;queryName;variablesUnknown=!1;_lastWrite;get query(){return this.lastQuery}get variables(){return this.options.variables}unsubscribeFromCache;input;subject;isTornDown;queryManager;subscriptions=new Set;waitForNetworkResult;lastQuery;linkSubscription;pollingInfo;get networkStatus(){return this.subject.getValue().result.networkStatus}get cache(){return this.queryManager.cache}constructor({queryManager:t,options:r,transformedQuery:n=t.transform(r.query)}){this.queryManager=t,this.waitForNetworkResult=r.fetchPolicy==="network-only",this.isTornDown=!1,this.subscribeToMore=this.subscribeToMore.bind(this),this.maskResult=this.maskResult.bind(this);const{watchQuery:{fetchPolicy:i="cache-first"}={}}=t.defaultOptions,{fetchPolicy:a=i,initialFetchPolicy:o=a==="standby"?i:a}=r;r[Cm]&&(re(a==="standby",82),this.variablesUnknown=!0),this.lastQuery=n,this.options={...r,initialFetchPolicy:o,fetchPolicy:a,variables:this.getVariablesWithDefaults(r.variables)},this.initializeObservablesQueue(),this["@@observable"]=()=>this,Symbol.observable&&(this[Symbol.observable]=()=>this);const s=Ft(this.query);this.queryName=s&&s.name&&s.name.value}initializeObservablesQueue(){this.subject=new up({query:this.query,variables:this.variables,result:pr,meta:{}});const t=this.subject.pipe(dn({subscribe:()=>{this.subject.observed||(this.reobserve(),setTimeout(()=>this.updatePolling()))},unsubscribe:()=>{this.subject.observed||this.tearDownQuery()}}),ho(({query:r,variables:n,result:i,meta:a},o)=>{const{shouldEmit:s}=a;if(i===pr&&(o.previous=void 0,o.previousVariables=void 0),this.options.fetchPolicy==="standby"||s===2)return;if(s===1)return u();const{previous:l,previousVariables:c}=o;if(l){const f=this.queryManager.getDocumentInfo(r),d=this.queryManager.dataMasking,h=d?f.nonReactiveQuery:r;if((d||f.hasNonreactiveDirective?df(h,l,i,n):_e(l,i))&&_e(c,n))return}if(s===3&&(!this.options.notifyOnNetworkStatusChange||_e(l,i)))return;return u();function u(){return o.previous=i,o.previousVariables=n,i}},()=>({})));this.pipe=t.pipe.bind(t),this.subscribe=t.subscribe.bind(t),this.input=new jr,this.input.complete=()=>{},this.input.pipe(this.operator).subscribe(this.subject)}subscribe;pipe;[Symbol.observable];"@@observable";getCacheDiff({optimistic:t=!0}={}){return this.cache.diff({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:t})}getInitialResult(t){let r=t||this.options.fetchPolicy;this.queryManager.prioritizeCacheValues&&(r==="network-only"||r==="cache-and-network")&&(r="cache-first");const n=()=>{const i=this.getCacheDiff(),a=this.options.returnPartialData||i.complete?i.result??void 0:void 0;return this.maskResult({data:a,dataState:i.complete?"complete":a===void 0?"empty":"partial",loading:!i.complete,networkStatus:i.complete?J.ready:J.loading,partial:!i.complete})};switch(r){case"cache-only":return{...n(),loading:!1,networkStatus:J.ready};case"cache-first":return n();case"cache-and-network":return{...n(),loading:!0,networkStatus:J.loading};case"standby":return Zi;default:return pr}}resubscribeCache(){const{variables:t,fetchPolicy:r}=this.options,n=this.query,i=r==="standby"||r==="no-cache"||this.waitForNetworkResult,a=!Wr({query:n,variables:t},this.unsubscribeFromCache)&&!this.waitForNetworkResult;if((i||a)&&this.unsubscribeFromCache?.(),i||!a)return;const o={query:n,variables:t,optimistic:!0,watcher:this,callback:l=>{const c=this.queryManager.getDocumentInfo(n);
41if((c.hasClientExports||c.hasForcedResolvers)&&(o.lastDiff=void 0),o.lastOwnDiff===l)return;const{result:u}=this.subject.getValue();!l.complete&&(u.error||u===pr||u===Zi)||_e(u.data,l.result)||this.scheduleNotify()}},s=this.cache.watch(o);this.unsubscribeFromCache=Object.assign(()=>{this.unsubscribeFromCache=void 0,s()},{query:n,variables:t})}stableLastResult;getCurrentResult(){const{result:t}=this.subject.getValue();let r=t.networkStatus===J.error||this.hasObservers()||this.options.fetchPolicy==="no-cache"?t:this.getInitialResult();return r===pr&&(r=this.getInitialResult()),_e(this.stableLastResult,r)||(this.stableLastResult=r),this.stableLastResult}refetch(t){const{fetchPolicy:r}=this.options,n={pollInterval:0};return r==="no-cache"?n.fetchPolicy="no-cache":n.fetchPolicy="network-only",t&&!_e(this.variables,t)&&(n.variables=this.options.variables=this.getVariablesWithDefaults({...this.variables,...t})),this._lastWrite=void 0,this._reobserve(n,{newNetworkStatus:J.refetch})}fetchMore({query:t,variables:r,context:n,errorPolicy:i,updateQuery:a}){re(this.options.fetchPolicy!=="cache-only",84,Or(this.query,"(anonymous)"));const o={...Je(this.options,{errorPolicy:"none"},{query:t,context:n,errorPolicy:i}),variables:t?r:{...this.variables,...r},fetchPolicy:"no-cache",notifyOnNetworkStatusChange:this.options.notifyOnNetworkStatusChange};o.query=this.transformDocument(o.query),this.lastQuery=t?this.transformDocument(this.options.query):o.query;let s=!1;const l=this.options.fetchPolicy!=="no-cache";l||re(a,85);const{finalize:c,pushNotification:u}=this.pushOperation(J.fetchMore);u({source:"newNetworkStatus",kind:"N",value:{}},{shouldEmit:3});const{promise:f,operator:d}=Cl(),{observable:h}=this.queryManager.fetchObservableWithInfo(o,{networkStatus:J.fetchMore,exposeExtensions:!0}),p=h.pipe(d,ef(m=>m.kind==="N"&&m.source==="network")).subscribe({next:m=>{s=!1;const g=m.value,b=g[hf];if(Tf(m.value.networkStatus)&&c(),l){const v=this.getCacheDiff();this.cache.batch({update:S=>{a?S.updateQuery({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:!1,extensions:b},L=>a(L,{fetchMoreResult:g.data,variables:o.variables})):S.writeQuery({query:o.query,variables:o.variables,data:g.data,extensions:b})},onWatchUpdated:(S,L)=>{if(S.watcher===this&&!_e(L.result,v.result)){s=!0;const A=this.getCurrentResult();Hn(g.networkStatus)&&u({kind:"N",source:"network",value:{...A,networkStatus:g.networkStatus===J.error?J.ready:g.networkStatus,loading:!1,data:L.result,dataState:g.dataState==="streaming"?"streaming":"complete"}})}}})}else{const v=this.getCurrentResult(),S=a(v.data,{fetchMoreResult:g.data,variables:o.variables});u({kind:"N",value:{...v,networkStatus:J.ready,loading:!1,data:S,dataState:v.dataState==="streaming"?"streaming":"complete"},source:"network"})}}});return Xs(f.then(m=>Jr(this.maskResult(m))).finally(()=>{if(p.unsubscribe(),c(),l&&!s){const m=this.getCurrentResult();m.dataState==="streaming"?u({kind:"N",source:"network",value:{...m,dataState:"complete",networkStatus:J.ready}}):u({kind:"N",source:"newNetworkStatus",value:{}},{shouldEmit:1})}}))}subscribeToMore(t){const r=this.queryManager.startGraphQLSubscription({query:t.document,variables:t.variables,context:t.context}).subscribe({next:n=>{const{updateQuery:i,onError:a}=t,{error:o}=n;if(o){a?a(o):re.error(86,o);return}i&&this.updateQuery((s,l)=>i(s,{subscriptionData:n,...l}))}});return this.subscriptions.add(r),()=>{this.subscriptions.delete(r)&&r.unsubscribe()}}applyOptions(t){const r=Je(this.options,t||{});Tl(this.options,r),this.updatePolling()}async setVariables(t){return t=this.getVariablesWithDefaults(t),_e(this.variables,t)?Jr(this.getCurrentResult()):(this.options.variables=t,this.hasObservers()?this._reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:t},{newNetworkStatus:J.setVariables}):Jr(this.getCurrentResult()))}updateQuery(t){const{queryManager:r}=this,{result:n,complete:i}=this.getCacheDiff({optimistic:!1}),a=t(n,{variables:this.variables,complete:!!i,previousData:n});a&&(this.cache.writeQuery({query:this.options.query,data:a,variables:this.variables}),r.broadcastQueries())}startPolling(t){this.options.pollInterval=t,this.updatePolling()}stopPolling(){this.options.pollInterval=0,this.updatePolling()}applyNextFetchPolicy(t,r){if(r.nextFetchPolicy){const{fetchPolicy:n="cache-first",initialFetchPolicy:i=n}=r;n==="standby"||(typeof r.nextFetchPolicy=="function"?r.fetchPolicy=r.nextFetchPolicy.call(r,n,{reason:t,options:r,observable:this,initialFetchPolicy:i}):t==="variables-changed"?r.fetchPolicy=i:r.fetchPolicy=r.nextFetchPolicy)}return r.fetchPolicy}fetch(t,r,n,i){const a=this.options.fetchPolicy;t.context??={};let o=!1;const s=()=>{o=!0},l=g=>new xe(b=>{try{return g.subscribe({next(v){o=!0,b.next(v)},error:v=>b.error(v),complete:()=>b.complete()})}finally{o||(h.override=r,this.input.next({kind:"N",source:"newNetworkStatus",value:{resetError:!0},query:f,variables:d,meta:{shouldEmit:3,fetchPolicy:a}}))}});let{observable:c,fromLink:u}=this.queryManager.fetchObservableWithInfo(t,{networkStatus:r,query:n,onCacheHit:s,fetchQueryOperator:l,observableQuery:this});const{query:f,variables:d}=this,h={abort:()=>{m.unsubscribe()},query:f,variables:d};this.activeOperations.add(h);let p=r==J.refetch||r==J.setVariables;c=c.pipe(i,fn());const m=c.pipe(dn({next:g=>{g.source==="newNetworkStatus"||g.kind==="N"&&g.value.loading?h.override=r:delete h.override},finalize:()=>this.activeOperations.delete(h)})).subscribe({next:g=>{const b={};p&&g.kind==="N"&&"loading"in g.value&&!g.value.loading&&(p=!1,b.shouldEmit=1),this.input.next({...g,query:f,variables:d,meta:b})}});return{fromLink:u,subscription:m,observable:c}}didWarnCacheOnlyPolling=!1;updatePolling(){if(this.queryManager.ssrMode)return;const{pollingInfo:t,options:{fetchPolicy:r,pollInterval:n}}=this,i=()=>{const{options:l}=this;return!l.pollInterval||!this.hasObservers()||l.fetchPolicy==="cache-only"||l.fetchPolicy==="standby"};if(i()){this.cancelPolling();return}if(t?.interval===n)return;const a=t||(this.pollingInfo={});a.interval=n;const o=()=>
41{if(i())return this.cancelPolling();this.pollingInfo&&(!Hn(this.networkStatus)&&!this.options.skipPollAttempt?.()?this._reobserve({fetchPolicy:this.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},{newNetworkStatus:J.poll}).then(s,s):s())},s=()=>{const l=this.pollingInfo;l&&(clearTimeout(l.timeout),l.timeout=setTimeout(o,l.interval))};s()}cancelPolling(){this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),delete this.pollingInfo)}reobserve(t){return this._reobserve(t)}_reobserve(t,r){this.isTornDown=!1;let{newNetworkStatus:n}=r||{};this.queryManager.obsQueries.add(this);const i=n===J.refetch||n===J.poll,a=this.variables,o=this.options.fetchPolicy,s=Je(this.options,t||{});this.variablesUnknown&&=s.fetchPolicy==="standby";const l=i?s:Tl(this.options,s),c=this.transformDocument(l.query);this.lastQuery=c,t&&"variables"in t&&(l.variables=this.getVariablesWithDefaults(t.variables)),i||(this.updatePolling(),t&&t.variables&&!_e(t.variables,a)&&l.fetchPolicy!=="standby"&&(l.fetchPolicy===o||typeof l.nextFetchPolicy=="function")&&(this.applyNextFetchPolicy("variables-changed",l),n===void 0&&(n=J.setVariables)));const u=this.networkStatus;n||(n=J.loading,u!==J.loading&&t?.variables&&!_e(t.variables,a)&&(n=J.setVariables),l.fetchPolicy==="standby"&&(n=J.ready)),l.fetchPolicy==="standby"&&this.cancelPolling(),this.resubscribeCache();const{promise:f,operator:d}=Cl(l.fetchPolicy==="standby"?{data:void 0}:void 0),{subscription:h,observable:p,fromLink:m}=this.fetch(l,n,c,d);!i&&(m||!this.linkSubscription)&&(this.linkSubscription&&this.linkSubscription.unsubscribe(),this.linkSubscription=h);const g=Object.assign(Xs(f.then(b=>Jr(this.maskResult(b))).finally(()=>{!this.hasObservers()&&this.activeOperations.size===0&&this.tearDownQuery()})),{retain:()=>{const b=p.subscribe({}),v=()=>b.unsubscribe();return f.then(v,v),g}});return g}hasObservers(){return this.subject.observed}stop(){this.subject.complete(),this.initializeObservablesQueue(),this.tearDownQuery()}tearDownQuery(){this.isTornDown||(this.resetNotifications(),this.unsubscribeFromCache?.(),this.linkSubscription&&(this.linkSubscription.unsubscribe(),delete this.linkSubscription),this.stopPolling(),this.subscriptions.forEach(t=>t.unsubscribe()),this.subscriptions.clear(),this.queryManager.obsQueries.delete(this),this.isTornDown=!0,this.abortActiveOperations(),this._lastWrite=void 0)}transformDocument(t){return this.queryManager.transform(t)}maskResult(t){const r=this.queryManager.maskOperation({document:this.query,data:t.data,fetchPolicy:this.options.fetchPolicy,cause:this});return r===t.data?t:{...t,data:r}}dirty=!1;notifyTimeout;resetNotifications(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0),this.dirty=!1}scheduleNotify(){this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(()=>this.notify(!0),0)))}notify(t=!1){if(!t){const n=this.queryManager.getDocumentInfo(this.query);if(n.hasClientExports||n.hasForcedResolvers)return}const{dirty:r}=this;if(this.resetNotifications(),r&&(this.options.fetchPolicy==="cache-only"||this.options.fetchPolicy==="cache-and-network"||!this.activeOperations.size)){const n=this.getCacheDiff();_e(n.result,this.getCacheDiff({optimistic:!1}).result)?this.reobserveCacheFirst():this.input.next({kind:"N",value:{data:n.result,dataState:n.complete?"complete":n.result?"partial":"empty",networkStatus:J.ready,loading:!1,error:void 0,partial:!n.complete},source:"cache",query:this.query,variables:this.variables,meta:{}})}}activeOperations=new Set;pushOperation(t){let r=!1;const{query:n,variables:i}=this,a=()=>{this.activeOperations.delete(o)},o={override:t,abort:()=>{r=!0,a()},query:n,variables:i};return this.activeOperations.add(o),{finalize:a,pushNotification:(s,l)=>{r||this.input.next({...s,query:n,variables:i,meta:{...l}})}}}calculateNetworkStatus(t){return t===J.streaming?t:Array.from(this.activeOperations.values()).reverse().find(n=>Wr(n,this)&&n.override!==void 0)?.override??t}abortActiveOperations(){this.activeOperations.forEach(t=>t.abort())}reset(){const t=this.options.fetchPolicy==="cache-only";this.setResult(t?Zi:pr,{shouldEmit:t?1:2}),this.abortActiveOperations()}setResult(t,r){this.input.next({source:"setResult",kind:"N",value:t,query:this.query,variables:this.variables,meta:{...r}})}operator=ho(t=>{const{query:r,variables:n,meta:i}=t;if(t.source==="setResult")return{query:r,variables:n,result:t.value,meta:i};if(t.kind==="C"||!Wr(t,this))return;let a;const o=this.subject.getValue();if(t.source==="cache"){if(a=t.value,a.networkStatus===J.ready&&a.partial&&(!this.options.returnPartialData||o.result.networkStatus===J.error)&&this.options.fetchPolicy!=="cache-only")return}else if(t.source==="network")this.waitForNetworkResult&&(this.waitForNetworkResult=!1,this.resubscribeCache()),a=t.kind==="E"?{...Wr(o,t)?o.result:{data:void 0,dataState:"empty",partial:!0},error:t.error,networkStatus:J.error,loading:!1}:t.value,t.kind==="E"&&a.dataState==="streaming"&&(a.dataState="complete"),a.error&&(i.shouldEmit=1);else if(t.source==="newNetworkStatus"){const s=Wr(o,t)?o.result:this.getInitialResult(i.fetchPolicy),{resetError:l}=t.value,c=l?void 0:s.error,u=c?J.error:J.ready;a={...s,error:c,networkStatus:u}}return re(a),a.error||delete a.error,a.networkStatus=this.calculateNetworkStatus(a.networkStatus),a.loading=Hn(a.networkStatus),a=this.maskResult(a),o.result.data!==void 0&&a.data!==o.result.data&&_e(a.data,o.result.data)&&(a.data=o.result.data),{query:r,variables:n,result:a,meta:i}});reobserveCacheFirst(){const{fetchPolicy:t,nextFetchPolicy:r}=this.options;t==="cache-and-network"||t==="network-only"?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy(n,i){return this.nextFetchPolicy=r,typeof this.nextFetchPolicy=="function"?this.nextFetchPolicy(n,i):t}}
41):this.reobserve()}getVariablesWithDefaults(t){return this.queryManager.getVariables(this.query,t)}}function Wr(e,t){return!!(e&&t&&e.query===t.query&&_e(e.variables,t.variables))}function Cl(e){let t=e,r,n;const i=new Promise((o,s)=>{r=o,n=s}),a=dn({next(o){if(o.kind==="E")return n(o.error);o.kind==="N"&&o.source!=="newNetworkStatus"&&!o.value.loading&&(t=o.value)},finalize:()=>{if(t)r(t);else{const o="The operation was aborted.",s="AbortError";n(typeof DOMException<"u"?new DOMException(o,s):Object.assign(new Error(o),{name:s}))}}});return{promise:i,operator:a}}const Ol={},Sr=new WeakMap;function ta(e,t){const r=e[t];typeof r=="function"&&(e[t]=function(){return Sr.set(e,(Sr.get(e)+1)%1e15),r.apply(this,arguments)})}const kl=new WeakMap;class ra{lastRequestId=1;cache;queryManager;id;observableQuery;incremental;constructor(t,r){const n=this.cache=t.cache,i=(kl.get(t)||0)+1;kl.set(t,i),this.id=i+"",this.observableQuery=r,this.queryManager=t,Sr.has(n)||(Sr.set(n,0),ta(n,"evict"),ta(n,"modify"),ta(n,"reset"))}_lastWrite;get lastWrite(){return(this.observableQuery||this)._lastWrite}set lastWrite(t){(this.observableQuery||this)._lastWrite=t}resetLastWrite(){this.lastWrite=void 0}shouldWrite(t,r){const{lastWrite:n}=this;return!(n&&n.dmCount===Sr.get(this.cache)&&_e(r,n.variables)&&_e(t.data,n.result.data)&&t.extensions?.[Kt]===n.result.extensions?.[Kt])}get hasNext(){return this.incremental?this.incremental.hasNext:!1}maybeHandleIncrementalResult(t,r,n){const{incrementalHandler:i}=this.queryManager;return i.isIncrementalResult(r)?(this.incremental||=i.startRequest({query:n}),this.incremental.handle(t,r)):r}markQueryResult(t,{document:r,variables:n,errorPolicy:i,cacheWriteBehavior:a}){const o={query:r,variables:n,returnPartialData:!0,optimistic:!0};this.observableQuery?.resetNotifications();const s=a===0,l=s?void 0:this.cache.diff(o);let c=this.maybeHandleIncrementalResult(l?.result,t,r);return s||(na(c,i)?this.cache.batch({onWatchUpdated:(u,f)=>{u.watcher===this.observableQuery&&(u.lastOwnDiff=f)},update:u=>{if(this.shouldWrite(c,n))u.writeQuery({query:r,data:c.data,variables:n,overwrite:a===1,extensions:c.extensions}),this.lastWrite={result:c,variables:n,dmCount:Sr.get(this.cache)};else if(l&&l.complete){c={...c,data:l.result};return}const f=u.diff(o);f.complete&&(c={...c,data:f.result})}}):this.lastWrite=void 0),c}markMutationResult(t,r,n=this.cache){const i=[],a=r.cacheWriteBehavior===0;let o=this.maybeHandleIncrementalResult(a?void 0:n.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(r.document).asQuery,variables:r.variables,optimistic:!1,returnPartialData:!0}).result,t,r.document);if(r.errorPolicy==="ignore"&&(o={...o,errors:[]}),vr(o)&&r.errorPolicy==="none")return Promise.resolve(o);const s=()=>({...o,dataState:this.hasNext?"streaming":"complete"});if(!a&&na(o,r.errorPolicy)){i.push({result:o.data,dataId:"ROOT_MUTATION",query:r.document,variables:r.variables,extensions:o.extensions});const{updateQueries:c}=r;c&&this.queryManager.getObservableQueries("all").forEach(u=>{const f=u&&u.queryName;if(!f||!Object.hasOwnProperty.call(c,f))return;const d=c[f],{query:h,variables:p}=u,{result:m,complete:g}=u.getCacheDiff({optimistic:!1});if(g&&m){const b=d(m,{mutationResult:s(),queryName:h&&Or(h)||void 0,queryVariables:p});b&&i.push({result:b,dataId:"ROOT_QUERY",query:h,variables:p})}})}let l=r.refetchQueries;if(typeof l=="function"&&(l=l(s())),i.length>0||(l||"").length>0||r.update||r.onQueryUpdated||r.removeOptimistic){const c=[];if(this.queryManager.refetchQueries({updateCache:u=>{a||i.forEach(d=>u.write(d));const{update:f}=r;if(f){if(!a){const d=u.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(r.document).asQuery,variables:r.variables,optimistic:!1,returnPartialData:!0});d.complete&&(o={...o,data:d.result})}this.hasNext||f(u,o,{context:r.context,variables:r.variables})}!a&&!r.keepRootFields&&!this.hasNext&&u.modify({id:"ROOT_MUTATION",fields(d,{fieldName:h,DELETE:p}){return h==="__typename"?d:p}})},include:l,optimistic:!1,removeOptimistic:r.removeOptimistic,onQueryUpdated:r.onQueryUpdated||null}
41).forEach(u=>c.push(u)),r.awaitRefetchQueries||r.onQueryUpdated)return Promise.all(c).then(()=>o)}return Promise.resolve(o)}markMutationOptimistic(t,r){const n=typeof t=="function"?t(r.variables,{IGNORE:Ol}):t;return n===Ol?!1:(this.cache.recordOptimisticTransaction(i=>{try{this.markMutationResult({data:n},r,i)}catch(a){re.error(a)}},this.id),!0)}markSubscriptionResult(t,{document:r,variables:n,errorPolicy:i,cacheWriteBehavior:a}){a!==0&&(na(t,i)&&this.cache.write({query:r,result:t.data,dataId:"ROOT_SUBSCRIPTION",variables:n,extensions:t.extensions}),this.queryManager.broadcastQueries())}}function na(e,t="none"){const r=t==="ignore"||t==="all";let n=!vr(e);return!n&&r&&e.data&&(n=!0),n}class Sg{defaultOptions;client;clientOptions;assumeImmutableResults;documentTransform;ssrMode;defaultContext;dataMasking;incrementalHandler;localState;queryDeduplication;prioritizeCacheValues=!1;onBroadcast;mutationStore;obsQueries=new Set;fetchCancelFns=new Map;constructor(t){const r=new Ot(i=>this.cache.transformDocument(i),{cache:!1});this.client=t.client,this.defaultOptions=t.defaultOptions,this.queryDeduplication=t.queryDeduplication,this.clientOptions=t.clientOptions,this.ssrMode=t.ssrMode,this.assumeImmutableResults=t.assumeImmutableResults,this.dataMasking=t.dataMasking,this.localState=t.localState,this.incrementalHandler=t.incrementalHandler;const n=t.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,this.defaultContext=t.defaultContext||{},(this.onBroadcast=t.onBroadcast)&&(this.mutationStore={})}get link(){return this.client.link}get cache(){return this.client.cache}stop(){this.obsQueries.forEach(t=>t.stop()),this.cancelPendingFetches(it(89))}cancelPendingFetches(t){this.fetchCancelFns.forEach(r=>r(t)),this.fetchCancelFns.clear()}async mutate({mutation:t,variables:r,optimisticResponse:n,updateQueries:i,refetchQueries:a=[],awaitRefetchQueries:o=!1,update:s,onQueryUpdated:l,fetchPolicy:c,errorPolicy:u,keepRootFields:f,context:d}){const h=new ra(this);t=this.cache.transformForLink(this.transform(t));const{hasClientExports:p}=this.getDocumentInfo(t);r=this.getVariables(t,r),p&&(r=await this.localState.getExportedVariables({client:this.client,document:t,variables:r,context:d}));const m=this.mutationStore&&(this.mutationStore[h.id]={mutation:t,variables:r,loading:!0,error:null}),g=n&&h.markMutationOptimistic(n,{document:t,variables:r,cacheWriteBehavior:c==="no-cache"?0:2,errorPolicy:u,context:d,updateQueries:i,update:s,keepRootFields:f});return this.broadcastQueries(),new Promise((b,v)=>{const S={};return this.getObservableFromLink(t,{...d,optimisticResponse:g?n:void 0},r,c,{},!1).observable.pipe(Il(),br(L=>{const A={...L};return rr(h.markMutationResult(A,{document:t,variables:r,cacheWriteBehavior:c==="no-cache"?0:2,errorPolicy:u,context:d,update:s,updateQueries:i,awaitRefetchQueries:o,refetchQueries:a,removeOptimistic:g?h.id:void 0,onQueryUpdated:l,keepRootFields:f}))})).pipe(zt(L=>{if(vr(L)&&u==="none")throw new Ut(ia(L));return m&&(m.loading=!1,m.error=null),L})).subscribe({next:L=>{if(this.broadcastQueries(),!h.hasNext){const A={data:this.maskOperation({document:t,data:L.data,fetchPolicy:c,cause:S})};vr(L)&&(A.error=new Ut(L)),Object.keys(L.extensions||{}).length&&(A.extensions=L.extensions),b(A)}},error:L=>{if(m&&(m.loading=!1,m.error=L),g&&this.cache.removeOptimistic(h.id),this.broadcastQueries(),u==="ignore")return b({data:void 0});if(u==="all")return b({data:void 0,error:L});v(L)}})})}fetchQuery(t,r){return Gt(t.query,nr.QUERY),(async()=>Dp(this.fetchObservableWithInfo(t,{networkStatus:r}).observable.pipe(ho(n=>{switch(n.kind){case"E":throw n.error;case"N":if(n.source!=="newNetworkStatus")return Jr(n.value)}})),{defaultValue:{data:void 0}}))()}transform(t){return this.documentTransform.transformDocument(t)}transformCache=new Go(Nt["queryManager.getDocumentInfo"]||2e3);getDocumentInfo(t){const{transformCache:r}=this;if(!r.has(t)){const i=Ft(t),a={hasClientExports:wr(["client","export"],t,!0),hasForcedResolvers:dm(t),hasNonreactiveDirective:wr(["nonreactive"],t),hasIncrementalDirective:wr(["defer"],t),nonReactiveQuery:Eg(t),clientQuery:wr(["client"],t)?t:null,serverQuery:mm([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],t),operationType:i?.operation,defaultVars:Qo(i),asQuery:{...t,definitions:t.definitions.map(o=>o.kind==="OperationDefinition"&&o.operation!=="query"?{...o,operation:"query"}:o)}};r.set(t,a)}const n=r.get(t);if(n.violation)throw n.violation;return n}getVariables(t,r){const n=this.getDocumentInfo(t).defaultVars,i=Object.entries(r??{}).map(([a,o])=>[a,o===void 0?n[a]:o]);return{...n,...Object.fromEntries(i)}}watchQuery(t){Gt(t.query,nr.QUERY);const r=this.transform(t.query);return t={...t,variables:this.getVariables(r,t.variables)},typeof t.notifyOnNetworkStatusChange>"u"&&(t.notifyOnNetworkStatusChange=!0),new ea({queryManager:this,options:t,transformedQuery:r})}query(t){const r=this.transform(t.query);return this.fetchQuery({...t,query:r}).then(n=>({...n,data:this.maskOperation({document:r,data:n?.data,fetchPolicy:t.fetchPolicy})}))}requestIdCounter=1;generateRequestId(){return this.requestIdCounter++}clearStore(t={discardWatches:!0}){return this.cancelPendingFetches(it(91)),this.obsQueries.forEac
41h(r=>{r.reset()}),this.mutationStore&&(this.mutationStore={}),this.cache.reset(t)}getObservableQueries(t="active"){const r=new Set,n=new Map,i=new Map,a=new Set;return Array.isArray(t)&&t.forEach(o=>{if(typeof o=="string")n.set(o,o),i.set(o,!1);else if(hm(o)){const s=xr(this.transform(o));n.set(s,Or(o)),i.set(s,!1)}else ze(o)&&o.query&&a.add(o)}),this.obsQueries.forEach(o=>{const s=xr(this.transform(o.options.query));if(t==="all"){r.add(o);return}const{queryName:l,options:{fetchPolicy:c}}=o;t==="active"&&c==="standby"||(t==="active"||l&&i.has(l)||s&&i.has(s))&&(r.add(o),l&&i.set(l,!0),s&&i.set(s,!0))}),a.size&&a.forEach(o=>{const s=new ea({queryManager:this,options:{...Bn(this.defaultOptions.watchQuery,o),fetchPolicy:"network-only"}});r.add(s)}),r}refetchObservableQueries(t=!1){const r=[];return this.getObservableQueries(t?"all":"active").forEach(n=>{const{fetchPolicy:i}=n.options;(t||i!=="standby")&&i!=="cache-only"&&r.push(n.refetch())}),this.broadcastQueries(),Promise.all(r)}startGraphQLSubscription(t){let{query:r,variables:n}=t;const{fetchPolicy:i="cache-first",errorPolicy:a="none",context:o={},extensions:s={}}=t;Gt(r,nr.SUBSCRIPTION),r=this.transform(r),n=this.getVariables(r,n);let l;const c=(this.getDocumentInfo(r).hasClientExports?rr(this.localState.getExportedVariables({client:this.client,document:r,variables:n,context:o})):tr(n)).pipe(br(u=>{const{observable:f,restart:d}=this.getObservableFromLink(r,o,u,i,s),h=new ra(this);return l=d,f.pipe(zt(p=>{h.markSubscriptionResult(p,{document:r,variables:u,errorPolicy:a,cacheWriteBehavior:i==="no-cache"?0:2});const m={data:p.data??void 0};return vr(p)?m.error=new Ut(p):wg(p)&&(m.error=p.extensions[ei],delete p.extensions[ei]),p.extensions&&Object.keys(p.extensions).length&&(m.extensions=p.extensions),m.error&&a==="none"&&(m.data=void 0),a==="ignore"&&delete m.error,m}),$n(p=>tr(a==="ignore"?{data:void 0}:{data:void 0,error:p})),ef(p=>!!(p.data||p.error)))}));return Object.assign(c,{restart:()=>l?.()})}broadcastQueries(){this.onBroadcast&&this.onBroadcast(),this.obsQueries.forEach(t=>t.notify())}inFlightLinkObservables=new Tt(!1);getObservableFromLink(t,r,n,i,a,o=r?.queryDeduplication??this.queryDeduplication){let s={};const{serverQuery:l,clientQuery:c,operationType:u,hasIncrementalDirective:f}=this.getDocumentInfo(t),d=Or(t),h={client:this.client};if(l){const{inFlightLinkObservables:p,link:m}=this;try{let b=function(v){return new xe(S=>{function L(){return v.subscribe({next:S.next.bind(S),complete:S.complete.bind(S),error:S.error.bind(S)})}let A=L();return s.restart||=()=>{A.unsubscribe(),A=L()},()=>{A.unsubscribe(),s.restart=void 0}})};const g=this.incrementalHandler.prepareRequest({query:l,variables:n,context:{...this.defaultContext,...r,queryDeduplication:o},extensions:a});if(r=g.context,o){const v=xr(l),S=It(n);s=p.lookup(v,S),s.observable||(s.observable=go(m,g,h).pipe(b,Bp(()=>{p.peek(v,S)===s&&p.remove(v,S)}),u===nr.SUBSCRIPTION?fn():Ho({refCount:!0})))}else s.observable=go(m,g,h).pipe(b)}catch(g){s.observable=Zu(()=>g)}}else s.observable=tr({data:{}});if(c){const{operation:p}=Ft(t);re(!f,96,p[0].toUpperCase()+p.slice(1),d??"(anonymous)"),s.observable=s.observable.pipe(br(m=>rr(this.localState.execute({client:this.client,document:c,remoteResult:m,context:r,variables:n,fetchPolicy:i}))))}return{restart:()=>s.restart?.(),observable:s.observable.pipe($n(p=>{throw p=Pg(p),vg(p),p}))}}getResultsFromLink(t,{queryInfo:r,cacheWriteBehavior:n,observableQuery:i,exposeExtensions:a}){const o=r.lastRequestId=this.generateRequestId(),{errorPolicy:s}=t,l=this.cache.transformForLink(t.query);return this.getObservableFromLink(l,t.context,t.variables,t.fetchPolicy).observable.pipe(zt(c=>{const u=r.markQueryResult(c,{...t,document:l,cacheWriteBehavior:n}),f=vr(u);if(f&&s==="none")throw r.resetLastWrite(),i?.resetNotifications(),new Ut(ia(u));const d={data:u.data,...r.hasNext?{loading:!0,networkStatus:J.streaming,dataState:"streaming",partial:!0}:{dataState:u.data?"complete":"empty",loading:!1,networkStatus:J.ready,partial:!u.data}};return a&&"extensions"in u&&(d[hf]=u.extensions),f&&(s==="none"&&(d.data=void 0,d.dataState="empty"),s!=="ignore"&&(d.error=new Ut(ia(u)),d.dataState!=="streaming"&&(d.networkStatus=J.error))),d}),$n(c=>{if(o>=r.lastRequestId&&s==="none")throw r.resetLastWrite(),i?.resetNotifications(),c;const u={data:void 0,dataState:"empty",loading:!1,networkStatus:J.ready,partial:!0};return s!=="ignore"&&(u.error=c,u.networkStatus=J.error),tr(u)}))}fetchObservableWithInfo(t,{networkStatus:r=J.loading,query:n=t.query,fetchQueryOperator:i=l=>l,onCacheHit:a=()=>{},observableQuery:o,exposeExtensions:s}){const l=this.getVariables(n,t.variables);let{fetchPolicy:c="cache-first",errorPolicy:u="none",returnPartialData:f=!1,notifyOnNetworkStatusChange:d=!0,context:h={}}=t;this.prioritizeCacheValues&&(c==="network-only"||c==="cache-and-network")&&(c="cache-first");const p=Object.assign({},t,{query:n,variables:l,fetchPolicy:c,errorPolicy:u,returnPartialData:f,notifyOnNetworkStatusChange:d,context:h}),m=new ra(this,o),g=A=>{p.variables=A;const O=c==="no-cache"?0:r===J.refetch&&p.refetchWritePolicy!=="merge"?1:2,T=this.fetchQueryByPolicy(p,{queryInfo:m,cacheWriteBehavior:O,onCacheHit:a,observableQuery:o,exposeExtensions:s});return T.observable=T.observable.pipe(i),p.fetchPolicy!=="standby"&&o?.applyNextFetchPolicy("after-fetch",t),T},b=()=>{this.fetchCancelFns.delete(m.id)};this.fetchCancelFns.set(m.id,A=>{v.next({kind:"E",error:A,source:"network"})});const v=new jr;let S,L;
41if(this.getDocumentInfo(p.query).hasClientExports)S=rr(this.localState.getExportedVariables({client:this.client,document:p.query,variables:p.variables,context:p.context})).pipe(br(A=>g(A).observable)),L=!0;else{const A=g(p.variables);L=A.fromLink,S=A.observable}return{observable:new xe(A=>{A.add(b),S.subscribe(A),v.subscribe(A)}).pipe(fn()),fromLink:L}}refetchQueries({updateCache:t,include:r,optimistic:n=!1,removeOptimistic:i=n?rf("refetchQueries"):void 0,onQueryUpdated:a}){const o=new Map;r&&this.getObservableQueries(r).forEach(l=>{if(l.options.fetchPolicy==="cache-only"||l.variablesUnknown)return;const c=l.getCurrentResult();o.set(l,{oq:l,lastDiff:{result:c?.data,complete:!c?.partial}})});const s=new Map;if(t){const l=new Set;this.cache.batch({update:t,optimistic:n&&i||!1,removeOptimistic:i,onWatchUpdated(c,u,f){const d=c.watcher;if(d instanceof ea&&!l.has(d)){if(l.add(d),a){o.delete(d);let h=a(d,u,f);return h===!0&&(h=d.refetch().retain()),h!==!1&&s.set(d,h),h}a!==null&&d.options.fetchPolicy!=="cache-only"&&o.set(d,{oq:d,lastDiff:f,diff:u})}}})}return o.size&&o.forEach(({oq:l,lastDiff:c,diff:u})=>{let f;a&&(u||(u=l.getCacheDiff()),f=a(l,u,c)),(!a||f===!0)&&(f=l.refetch().retain()),f!==!1&&s.set(l,f)}),i&&this.cache.removeOptimistic(i),s}noCacheWarningsByCause=new WeakSet;maskOperation(t){const{document:r,data:n}=t;return this.dataMasking?ag(n,r,this.cache):n}maskFragment(t){const{data:r,fragment:n,fragmentName:i}=t;return this.dataMasking?ig(r,n,this.cache,i):r}fetchQueryByPolicy({query:t,variables:r,fetchPolicy:n,errorPolicy:i,returnPartialData:a,context:o},{cacheWriteBehavior:s,onCacheHit:l,queryInfo:c,observableQuery:u,exposeExtensions:f}){const d=()=>this.cache.diff({query:t,variables:r,returnPartialData:!0,optimistic:!0}),h=(m,g)=>{const b=m.result,v=L=>(!m.complete&&!a&&(L=void 0),{data:L,dataState:m.complete?"complete":L?"partial":"empty",loading:Hn(g),networkStatus:g,partial:!m.complete}),S=L=>tr({kind:"N",value:v(L),source:"cache"});return(m.complete||a)&&this.getDocumentInfo(t).hasForcedResolvers?(l(),rr(this.localState.execute({client:this.client,document:t,remoteResult:b?{data:b}:void 0,context:o,variables:r,onlyRunForcedResolvers:!0,returnPartialData:!0,fetchPolicy:n}).then(L=>({kind:"N",value:v(L.data||void 0),source:"cache"})))):i==="none"&&g===J.refetch&&m.missing?S(void 0):S(b||void 0)},p=()=>this.getResultsFromLink({query:t,variables:r,context:o,fetchPolicy:n,errorPolicy:i},{cacheWriteBehavior:s,queryInfo:c,observableQuery:u,exposeExtensions:f}).pipe(Il(),Vp(),zt(m=>({...m,source:"network"})));switch(n){default:case"cache-first":{const m=d();return m.complete?{fromLink:!1,observable:h(m,J.ready)}:a?{fromLink:!0,observable:Ui(h(m,J.loading),p())}:{fromLink:!0,observable:p()}}case"cache-and-network":{const m=d();return m.complete||a?{fromLink:!0,observable:Ui(h(m,J.loading),p())}:{fromLink:!0,observable:p()}}case"cache-only":return{fromLink:!1,observable:Ui(h(d(),J.ready))};case"network-only":return{fromLink:!0,observable:p()};case"no-cache":return{fromLink:!0,observable:p()};case"standby":return{fromLink:!1,observable:un}}}}function Il(){let e=!1;return dn({next(){e=!0},complete(){re(e,100)}})}function Eg(e){return _t(e,{FragmentSpread:t=>{if(!t.directives?.some(r=>r.name.value==="unmask"))return{...t,directives:[...t.directives||[],{kind:le.DIRECTIVE,name:{kind:le.NAME,value:"nonreactive"}}
41]}}})}function ia(e){if(e.extensions?.[Kt]==null)return e;const{extensions:{[Kt]:t,...r},...n}=e;return Object.keys(r).length>0&&(n.extensions=r),n}class _g{link;cache;disableNetworkFetches;set prioritizeCacheValues(t){this.queryManager.prioritizeCacheValues=t}get prioritizeCacheValues(){return this.queryManager.prioritizeCacheValues}version;queryDeduplication;defaultOptions;devtoolsConfig;refetchEventManager;queryManager;devToolsHookCb;resetStoreCallbacks=[];clearStoreCallbacks=[];constructor(t){const{cache:r,documentTransform:n,ssrMode:i=!1,ssrForceFetchDelay:a=0,queryDeduplication:o=!0,defaultOptions:s,defaultContext:l,assumeImmutableResults:c=r.assumeImmutableResults,localState:u,devtools:f,dataMasking:d,link:h,incrementalHandler:p=new Bm,experiments:m=[],refetchEventManager:g}=t;this.link=h,this.cache=r,this.queryDeduplication=o,this.defaultOptions=s||{},this.devtoolsConfig={...f,enabled:f?.enabled??tf},this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.refetchObservableQueries=this.refetchObservableQueries.bind(this),this.version=Uo,this.queryManager=new Sg({client:this,defaultOptions:this.defaultOptions,defaultContext:l,documentTransform:n,queryDeduplication:o,ssrMode:i,dataMasking:!!d,clientOptions:t,incrementalHandler:p,assumeImmutableResults:c,onBroadcast:this.devtoolsConfig.enabled?()=>{this.devToolsHookCb&&this.devToolsHookCb()}:void 0,localState:u}),this.prioritizeCacheValues=i||a>0,a&&setTimeout(()=>{this.prioritizeCacheValues=!1},a),this.devtoolsConfig.enabled&&this.connectToDevTools(),m.forEach(b=>b.call(this,t)),this.refetchEventManager=g,this.refetchEventManager?.connect(this)}connectToDevTools(){if(typeof window>"u")return;const t=window,r=Symbol.for("apollo.devtools");(t[r]=t[r]||[]).push(this),t.__APOLLO_CLIENT__=this}get documentTransform(){return this.queryManager.documentTransform}get localState(){return this.queryManager.localState}set localState(t){this.queryManager.localState=t}stop(){this.queryManager.stop(),this.refetchEventManager?.disconnect(this)}watchQuery(t){const{refetchOn:r}=t;if(this.defaultOptions.watchQuery){const n=this.defaultOptions.watchQuery.refetchOn;let i;r&&typeof r=="object"&&(typeof n=="object"?i={...n,...r}:n!=null&&(i=a=>{const o=r[a.source]??n;return typeof o=="function"?o(a):o})),t=Bn(this.defaultOptions.watchQuery,t),i&&(t.refetchOn=i)}return this.queryManager.watchQuery(t)}query=t=>(this.defaultOptions.query&&(t=Bn(this.defaultOptions.query,t)),this.queryManager.query(t));mutate=t=>{const r=Bn(Je({fetchPolicy:"network-only",errorPolicy:"none"},this.defaultOptions.mutate),t);return Gt(r.mutation,nr.MUTATION),this.queryManager.mutate(r)};subscribe(t){const r={},n=this.queryManager.startGraphQLSubscription(t),i=n.pipe(zt(a=>({...a,data:this.queryManager.maskOperation({document:t.query,data:a.data,fetchPolicy:t.fetchPolicy,cause:r})})));return Object.assign(i,{restart:n.restart})}readQuery(t,r=!!t.optimistic){return this.cache.readQuery({...t,query:this.transform(t.query)},r)}watchFragment(t){const r=this.queryManager.dataMasking;return this.cache.watchFragment({...t,fragment:this.transform(t.fragment,r)})}readFragment(t,r=!!t.optimistic){return this.cache.readFragment({...t,fragment:this.transform(t.fragment)},r)}writeQuery(t){const r=this.cache.writeQuery(t);return t.broadcast!==!1&&this.queryManager.broadcastQueries(),r}writeFragment(t){const r=this.cache.writeFragment(t);return t.broadcast!==!1&&this.queryManager.broadcastQueries(),r}__actionHookForDevTools(t){this.devToolsHookCb=t}__requestRaw(t){return go(this.link,t,{client:this})}resetStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!1})).then(()=>Promise.all(this.resetStoreCallbacks.map(t=>t()))).then(()=>this.refetchObservableQueries())}clearStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!0})).then(()=>Promise.all(this.clearStoreCallbacks.map(t=>t())))}onResetStore(t){return this.resetStoreCallbacks.push(t),()=>{this.resetStoreCallbacks=this.resetStoreCallbacks.filter(r=>r!==t)}}onClearStore(t){return this.clearStoreCallbacks.push(t),()=>{this.clearStoreCallbacks=this.clearStoreCallbacks.filter(r=>r!==t)}}reFetchObservableQueries;refetchObservableQueries(t){return this.queryManager.refetchObservableQueries(t)}refetchQueries(t){const r=this.queryManager.refetchQueries(t),n=[],i=[];r.forEach((o,s)=>{n.push(s),i.push(o)});const a=Promise.all(i);return a.queries=n,a.results=i,a.catch(o=>{}),a}getObservableQueries(t="active"){return this.queryManager.getObservableQueries(t)}extract(t){return this.cache.extract(t)}restore(t){return this.cache.restore(t)}setLink(t){this.link=t}get defaultContext(){return this.queryManager.defaultContext}maskedFragmentTransform=new Ot(bm);transform(t,r=!1){const n=this.queryManager.transform(t);return r?this.maskedFragmentTransform.transformDocument(n):n}}const{hasOwnProperty:Dl}=Object.prototype;function Ag(e){return ze(e)&&"payload"in e}async function*xg(e){const t=new TextDecoder("utf-8"),n=e.headers?.get("content-type")?.match(/;\s*boundary=(?:'([^']+)'|"([^"]+)"|([^"'].+?))\s*(?:;|$)/i),i=`\r 42--`+(n?n[1]??n[2]??n[3]??"-":"-");let a="";re(e.body&&typeof e.body.getReader=="function",62);const s=e.body.getReader();let l=!1,c=!1,u;const f=()=>c&&a[0]=="-"&&a[1]=="-";try{for(;!l;){({value:u,done:l}=await s.read());const d=typeof u=="string"?u:t.decode(u),h=a.length-i.length+1;a+=d;let p=a.indexOf(i,h);for(;p>-1&&!f();){c=!0;let m;[m,a]=[a.slice(0,p),a.slice(p+i.length)];const g=m.indexOf(`\r 43\r 44`),v=Tg(m.slice(0,g))["content-type"];if(v&&v.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");const S=m.slice(g);S&&(yield S),p=a.indexOf(i)}if(f())return}throw new Error("premature end of multipart body")}finally{s.cancel()}}async function Lg(e,t){for await(const r of xg(e)){const n=Vf(e,r);if(Object.keys(n).length!=0)if(Ag(n)){if(Object.keys(n).length===1&&n.payload===null)return;let i={...n.payload};
44"errors"in n&&(i.extensions={...i.extensions,[ei]:new mn(n.errors??[])}),t(i)}else t(n)}}function Tg(e){const t={};return e.split(` 45`).forEach(r=>{const n=r.indexOf(":");if(n>-1){const i=r.slice(0,n).trim().toLowerCase(),a=r.slice(n+1).trim();t[i]=a}}),t}function Vf(e,t){if(e.status>=300)throw new Si(`Response not successful: Received status code ${e.status}`,{response:e,bodyText:t});try{return JSON.parse(t)}catch(r){throw new Ei(r,{response:e,bodyText:t})}}function Cg(e,t){try{return JSON.parse(t)}catch(r){throw new Ei(r,{response:e,bodyText:t})}}function Og(e,t){return e.headers.get("content-type")?.includes("application/graphql-response+json")?Cg(e,t):Vf(e,t)}function kg(e){return t=>t.text().then(r=>{const n=Og(t,r);if(!Array.isArray(n)&&!Dl.call(n,"data")&&!Dl.call(n,"errors"))throw new Si(`Server response was malformed for query '${Array.isArray(e)?e.map(i=>i.operationName):e.operationName}'.`,{response:t,bodyText:r});return n})}const Ig={includeQuery:!0,includeExtensions:!0,preserveHeaderCase:!1},Dg={accept:"application/graphql-response+json,application/json;q=0.9","content-type":"application/json"},Rg={method:"POST"},Ng={http:Ig,headers:Dg,options:Rg},Fg=(e,t)=>t(e);function Mg(e,t,...r){let n={},i={};r.forEach(u=>{n={...n,...u.options,headers:{...n.headers,...u.headers}},u.credentials&&(n.credentials=u.credentials),n.headers.accept=(u.http?.accept||[]).concat(n.headers.accept).join(","),i={...i,...u.http}}),n.headers=jg(n.headers,i.preserveHeaderCase);const{operationName:a,extensions:o,variables:s,query:l}=e,c={operationName:a,variables:s};return i.includeExtensions&&Object.keys(o||{}).length&&(c.extensions=o),i.includeQuery&&(c.query=t(l,xr)),{options:n,body:c}}function jg(e,t){if(!t){const i={};
45return Object.keys(Object(e)).forEach(a=>{i[a.toLowerCase()]=e[a]}),i}const r={};Object.keys(Object(e)).forEach(i=>{r[i.toLowerCase()]={originalName:i,value:e[i]}});const n={};return Object.keys(r).forEach(i=>{n[r[i].originalName]=r[i].value}),n}const qg=(e,t)=>{const n=e.getContext().uri;return n||(typeof t=="function"?t(e):t||"/graphql")};function $g(e,t){const r=[],n=(c,u)=>{r.push(`${c}=${encodeURIComponent(u)}`)};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){let c;try{c=JSON.stringify(t.variables)}catch(u){return{parseError:u}}n("variables",c)}if(t.extensions){let c;try{c=JSON.stringify(t.extensions)}catch(u){return{parseError:u}}n("extensions",c)}let i="",a=e;const o=e.indexOf("#");o!==-1&&(i=e.substr(o),a=e.substr(0,o));const s=a.indexOf("?")===-1?"?":"&";return{newURI:a+s+r.join("&")+i}}const Bg=Ht(()=>fetch);function Vg(){}class Hg extends Ye{constructor(t={}){let{uri:r="/graphql",fetch:n,print:i=Fg,includeExtensions:a,preserveHeaderCase:o,useGETForQueries:s,includeUnusedVariables:l=!1,...c}=t;const u={http:Je({includeExtensions:a,preserveHeaderCase:o}),options:c.fetchOptions,credentials:c.credentials,headers:c.headers};super(f=>{let d=qg(f,r);const h=f.getContext(),p={...h.http};zm(f.query)&&(p.accept=["multipart/mixed;boundary=graphql;subscriptionSpec=1.0",...p.accept||[]]);const m={http:p,options:h.fetchOptions,credentials:h.credentials,headers:h.headers},{options:g,body:b}=Mg(f,i,Ng,u,m);b.variables&&!l&&(b.variables=Hm(b.variables,f.query));let v=new AbortController,S=()=>{v=void 0};if(g.signal){const L=g.signal,A=()=>{v?.abort(L.reason)};L.addEventListener("abort",A,{once:!0}),S=()=>{v?.signal.removeEventListener("abort",S),v=void 0,L.removeEventListener("abort",A),S=Vg},v.signal.addEventListener("abort",S,{once:!0})}return g.signal=v.signal,s&&!Wm(f.query)&&(g.method="GET"),new xe(L=>{if(g.method==="GET"){const{newURI:T,parseError:D}=$g(d,b);if(D)throw D;d=T}else g.body=JSON.stringify(b);const A=n||Ht(()=>fetch)||Bg,O=L.next.bind(L);return A(d,g).then(T=>{f.setContext({response:T});const D=T.headers?.get("content-type");return D!==null&&/^multipart\/mixed/i.test(D)?Lg(T,O):kg(f)(T).then(O)}).then(()=>{S(),L.complete()}).catch(T=>{S(),L.error(T)}),()=>{v&&v.abort()}})})}}class Ug extends Ye{constructor(t={}){super((r,n)=>{const i=r.client,a=i.queryManager.clientOptions,o=r.getContext();{const{name:s,version:l,transport:c="headers"}=Je({},a.clientAwareness,t.clientAwareness,o.clientAwareness);c==="headers"&&r.setContext(({headers:u})=>({headers:Je({"apollographql-client-name":s,"apollographql-client-version":l},u)}))}{const{transport:s="extensions"}=Je({},a.enhancedClientAwareness,t.enhancedClientAwareness);s==="extensions"&&(r.extensions=Je({clientLibrary:{name:"@apollo/client",version:i.version}},r.extensions)),s==="headers"&&r.setContext(({headers:l})=>({headers:Je({"apollographql-library-name":"@apollo/client","apollographql-library-version":i.version},l)}))}return n(r)})}}class Wg extends Ye{constructor(t={}){const{left:r,right:n,request:i}=Ye.from([new Ug(t),new Hg(t)]);super(i),Object.assign(this,{left:r,right:n})}}const Rl=Symbol.for("__APOLLO_CONTEXT__");function zg(){re("createContext"in Eh,37);let e=E.createContext[Rl];return e||(Object.defineProperty(E.createContext,Rl,{value:e=E.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}const Gg=({client:e,children:t})=>{const r=zg(),n=E.useContext(r),i=E.useMemo(()=>({...n,client:e||n.client}),[n,e]);return re(i.client,38),E.createElement(r.Provider,{value:i},t)};var Hf=typeof global=="object"&&global&&global.Object===Object&&global,Qg=typeof self=="object"&&self&&self.Object===Object&&self,bt=Hf||Qg||Function("return this")(),At=bt.Symbol,Uf=Object.prototype,Kg=Uf.hasOwnProperty,Yg=Uf.toString,zr=At?At.toStringTag:void 0;function Jg(e){var t=Kg.call(e,zr),r=e[zr];try{e[zr]=void 0;var n=!0}catch{}var i=Yg.call(e);return n&&(t?e[zr]=r:delete e[zr]),i}var Xg=Object.prototype,Zg=Xg.toString;function ey(e){return Zg.call(e)}
vendor: 5,504 bytes, line 45
45var ty="[object Null]",ry="[object Undefined]",Nl=At?At.toStringTag:void 0;function sr(e){return e==null?e===void 0?ry:ty:Nl&&Nl in Object(e)?Jg(e):ey(e)}function xt(e){return e!=null&&typeof e=="object"}var ny="[object Symbol]";function _i(e){return typeof e=="symbol"||xt(e)&&sr(e)==ny}function iy(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var mt=Array.isArray,Fl=At?At.prototype:void 0,Ml=Fl?Fl.toString:void 0;function Wf(e){if(typeof e=="string")return e;if(mt(e))return iy(e,Wf)+"";if(_i(e))return Ml?Ml.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var ay=/\s/;function oy(e){for(var t=e.length;t--&&ay.test(e.charAt(t)););return t}var sy=/^\s+/;function ly(e){return e&&e.slice(0,oy(e)+1).replace(sy,"")}function Xe(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var jl=NaN,cy=/^[-+]0x[0-9a-f]+$/i,uy=/^0b[01]+$/i,fy=/^0o[0-7]+$/i,dy=parseInt;function ql(e){if(typeof e=="number")return e;if(_i(e))return jl;if(Xe(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Xe(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ly(e);var r=uy.test(e);return r||fy.test(e)?dy(e.slice(2),r?2:8):cy.test(e)?jl:+e}function zf(e){return e}var hy="[object AsyncFunction]",py="[object Function]",my="[object GeneratorFunction]",gy="[object Proxy]";function is(e){if(!Xe(e))return!1;var t=sr(e);return t==py||t==my||t==hy||t==gy}var aa=bt["__core-js_shared__"],$l=(function(){var e=/[^.]+$/.exec(aa&&aa.keys&&aa.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function yy(e){return!!$l&&$l in e}var by=Function.prototype,vy=by.toString;function lr(e){if(e!=null){try{return vy.call(e)}catch{}try{return e+""}catch{}}return""}var wy=/[\\^$.*+?()[\]{}|]/g,Py=/^\[object .+?Constructor\]$/,Sy=Function.prototype,Ey=Object.prototype,_y=Sy.toString,Ay=Ey.hasOwnProperty,xy=RegExp("^"+_y.call(Ay).replace(wy,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ly(e){if(!Xe(e)||yy(e))return!1;var t=is(e)?xy:Py;return t.test(lr(e))}function Ty(e,t){return e?.[t]}function cr(e,t){var r=Ty(e,t);return Ly(r)?r:void 0}var Po=cr(bt,"WeakMap"),Bl=Object.create,Cy=(function(){function e(){}return function(t){if(!Xe(t))return{};if(Bl)return Bl(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();function Oy(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function ky(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Iy=800,Dy=16,Ry=Date.now;function Ny(e){var t=0,r=0;return function(){var n=Ry(),i=Dy-(n-r);if(r=n,i>0){if(++t>=Iy)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Fy(e){return function(){return e}}var ti=(function(){try{var e=cr(Object,"defineProperty");return e({},"",{}),e}catch{}})(),My=ti?function(e,t){return ti(e,"toString",{configurable:!0,enumerable:!1,value:Fy(t),writable:!0})}:zf,jy=Ny(My);function qy(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var $y=9007199254740991,By=/^(?:0|[1-9]\d*)$/;function Ai(e,t){var r=typeof e;return t=t??$y,!!t&&(r=="number"||r!="symbol"&&By.test(e))&&e>-1&&e%1==0&&e<t}function as(e,t,r){t=="__proto__"&&ti?ti(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function Tn(e,t){return e===t||e!==e&&t!==t}var Vy=Object.prototype,Hy=Vy.hasOwnProperty;function os(e,t,r){var n=e[t];(!(Hy.call(e,t)&&Tn(n,r))||r===void 0&&!(t in e))&&as(e,t,r)}function Uy(e,t,r,n){var i=!r;r||(r={});for(var a=-1,o=t.length;++a<o;){var s=t[a],l=void 0;l===void 0&&(l=e[s]),i?as(r,s,l):os(r,s,l)}return r}var Vl=Math.max;function Wy(e,t,r){return t=Vl(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,a=Vl(n.length-t,0),o=Array(a);++i<a;)o[i]=n[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=n[i];return s[t]=r(o),Oy(e,this,s)}}function zy(e,t){return jy(Wy(e,t,zf),e+"")}var Gy=9007199254740991;function ss(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Gy}function xi(e){return e!=null&&ss(e.length)&&!is(e)}function Qy(e,t,r){if(!Xe(r))return!1;var n=typeof t;return(n=="number"?xi(r)&&Ai(t,r.length):n=="string"&&t in r)?Tn(r[t],e):!1}function Ky(e){return zy(function(t,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,o=i>2?r[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,o&&Qy(r[0],r[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++n<i;){var s=r[n];s&&e(t,s,n,a)}return t})}var Yy=Object.prototype;function ls(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Yy;return e===r}function Jy(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Xy="[object Arguments]";function Hl(e){return xt(e)&&sr(e)==Xy}var Gf=Object.prototype,Zy=Gf.hasOwnProperty,eb=Gf.propertyIsEnumerable,ri=Hl((function(){return arguments})())?Hl:function(e){return xt(e)&&Zy.call(e,"callee")&&!eb.call(e,"callee")};function tb(){return!1}var Qf=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ul=Qf&&typeof module=="object"&&module&&!module.nodeType&&module,rb=Ul&&Ul.exports===Qf,Wl=rb?bt.Buffer:void 0,nb=Wl?Wl.isBuffer:void 0,gn=nb||tb,ib="[object Arguments]",ab="[object Array]",ob="[object Boolean]",sb="[object Date]",lb="[object Error]",cb="[object Function]",ub="[object Map]",fb="[object Number]",db="[object Object]",hb="[object RegExp]",pb="[object Set]",mb="[object String]",gb="[object WeakMap]",yb="[object ArrayBuffer]",bb="[object DataView]",vb="[object Float32Array]",wb="[object Float64Array
45]",Pb="[object Int8Array]",Sb="[object Int16Array]",Eb="[object Int32Array]",_b="[object Uint8Array]",Ab="[object Uint8ClampedArray]",xb="[object Uint16Array]",Lb="[object Uint32Array]",we={};we[vb]=we[wb]=we[Pb]=we[Sb]=we[Eb]=we[_b]=we[Ab]=we[xb]=we[Lb]=!0;we[ib]=we[ab]=we[yb]=we[ob]=we[bb]=we[sb]=we[lb]=we[cb]=we[ub]=we[fb]=we[db]=we[hb]=we[pb]=we[mb]=we[gb]=!1;function Tb(e){return xt(e)&&ss(e.length)&&!!we[sr(e)]}function cs(e){return function(t){return e(t)}}var Kf=typeof exports=="object"&&exports&&!exports.nodeType&&exports,rn=Kf&&typeof module=="object"&&module&&!module.nodeType&&module,Cb=rn&&rn.exports===Kf,oa=Cb&&Hf.process,Rr=(function(){try{var e=rn&&rn.require&&rn.require("util").types;return e||oa&&oa.binding&&oa.binding("util")}catch{}})(),zl=Rr&&Rr.isTypedArray,us=zl?cs(zl):Tb,Ob=Object.prototype,kb=Ob.hasOwnProperty;function Yf(e,t){var r=mt(e),n=!r&&ri(e),i=!r&&!n&&gn(e),a=!r&&!n&&!i&&us(e),o=r||n||i||a,s=o?Jy(e.length,String):[],l=s.length;for(var c in e)(t||kb.call(e,c))&&!(o&&(c=="length"||i&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Ai(c,l)))&&s.push(c);return s}function Jf(e,t){return function(r){return e(t(r))}}var Ib=Jf(Object.keys,Object),Db=Object.prototype,Rb=Db.hasOwnProperty;function Nb(e){if(!ls(e))return Ib(e);var t=[];for(var r in Object(e))Rb.call(e,r)&&r!="constructor"&&t.push(r);return t}function Fb(e){return xi(e)?Yf(e):Nb(e)}function Mb(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var jb=Object.prototype,qb=jb.hasOwnProperty;function $b(e){if(!Xe(e))return Mb(e);var t=ls(e),r=[];for(var n in e)n=="constructor"&&(t||!qb.call(e,n))||r.push(n);return r}function Xf(e){return xi(e)?Yf(e,!0):$b(e)}var Bb=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Vb=/^\w*$/;function Hb(e,t){if(mt(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||_i(e)?!0:Vb.test(e)||!Bb.test(e)||t!=null&&e in Object(t)}var yn=cr(Object,"create");function Ub(){this.__data__=yn?yn(null):{},this.size=0}function Wb(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var zb="__lodash_hash_undefined__",Gb=Object.prototype,Qb=Gb.hasOwnProperty;function Kb(e){var t=this.__data__;if(yn){var r=t[e];return r===zb?void 0:r}return Qb.call(t,e)?t[e]:void 0}var Yb=Object.prototype,Jb=Yb.hasOwnProperty;function Xb(e){var t=this.__data__;return yn?t[e]!==void 0:Jb.call(t,e)}var Zb="__lodash_hash_undefined__";function ev(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=yn&&t===void 0?Zb:t,this}function or(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}or.prototype.clear=Ub;or.prototype.delete=Wb;or.prototype.get=Kb;or.prototype.has=Xb;or.prototype.set=ev;function tv(){this.__data__=[],this.size=0}function Li(e,t){for(var r=e.length;r--;)if(Tn(e[r][0],t))return r;return-1}var rv=Array.prototype,nv=rv.splice;function iv(e){var t=this.__data__,r=Li(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():nv.call(t,r,1),--this.size,!0}function av(e){var t=this.__data__,r=Li(t,e);return r<0?void 0:t[r][1]}function ov(e){return Li(this.__data__,e)>-1}function sv(e,t){var r=this.__data__,n=Li(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Mt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Mt.prototype.clear=tv;Mt.prototype.delete=iv;Mt.prototype.get=av;Mt.prototype.has=ov;Mt.prototype.set=sv;var bn=cr(bt,"Map");function lv(){this.size=0,this.__data__={hash:new or,map:new(bn||Mt),string:new or}}function cv(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ti(e,t){var r=e.__data__;return cv(t)?r[typeof t=="string"?"string":"hash"]:r.map}function uv(e){var t=Ti(this,e).delete(e);return this.size-=t?1:0,t}function fv(e){return Ti(this,e).get(e)}function dv(e){return Ti(this,e).has(e)}function hv(e,t){var r=Ti(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function jt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}jt.prototype.clear=lv;jt.prototype.delete=uv;jt.prototype.get=fv;jt.prototype.has=dv;jt.prototype.set=hv;var pv="Expected a function";function fs(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(pv);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(fs.Cache||jt),r}fs.Cache=jt;var mv=500;
vendor: 5,209 bytes, line 45
45function gv(e){var t=fs(e,function(n){return r.size===mv&&r.clear(),n}),r=t.cache;return t}var yv=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bv=/\\(\\)?/g,vv=gv(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(yv,function(r,n,i,a){t.push(i?a.replace(bv,"$1"):n||r)}),t});function Zf(e){return e==null?"":Wf(e)}function ds(e,t){return mt(e)?e:Hb(e,t)?[e]:vv(Zf(e))}function hs(e){if(typeof e=="string"||_i(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function wv(e,t){t=ds(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[hs(t[r++])];return r&&r==n?e:void 0}function gt(e,t,r){var n=e==null?void 0:wv(e,t);return n===void 0?r:n}function Pv(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var ed=Jf(Object.getPrototypeOf,Object),Sv="[object Object]",Ev=Function.prototype,_v=Object.prototype,td=Ev.toString,Av=_v.hasOwnProperty,xv=td.call(Object);function Lv(e){if(!xt(e)||sr(e)!=Sv)return!1;var t=ed(e);if(t===null)return!0;var r=Av.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&td.call(r)==xv}function Tv(e){return function(t){return e?.[t]}}function Cv(){this.__data__=new Mt,this.size=0}function Ov(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function kv(e){return this.__data__.get(e)}function Iv(e){return this.__data__.has(e)}var Dv=200;function Rv(e,t){var r=this.__data__;if(r instanceof Mt){var n=r.__data__;if(!bn||n.length<Dv-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new jt(n)}return r.set(e,t),this.size=r.size,this}function Et(e){var t=this.__data__=new Mt(e);this.size=t.size}Et.prototype.clear=Cv;Et.prototype.delete=Ov;Et.prototype.get=kv;Et.prototype.has=Iv;Et.prototype.set=Rv;var rd=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Gl=rd&&typeof module=="object"&&module&&!module.nodeType&&module,Nv=Gl&&Gl.exports===rd,Ql=Nv?bt.Buffer:void 0,Kl=Ql?Ql.allocUnsafe:void 0;function nd(e,t){if(t)return e.slice();var r=e.length,n=Kl?Kl(r):new e.constructor(r);return e.copy(n),n}function Fv(e,t){for(var r=-1,n=e==null?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}function Mv(){return[]}var jv=Object.prototype,qv=jv.propertyIsEnumerable,Yl=Object.getOwnPropertySymbols,$v=Yl?function(e){return e==null?[]:(e=Object(e),Fv(Yl(e),function(t){return qv.call(e,t)}))}:Mv;function Bv(e,t,r){var n=t(e);return mt(e)?n:Pv(n,r(e))}function So(e){return Bv(e,Fb,$v)}var Eo=cr(bt,"DataView"),_o=cr(bt,"Promise"),Ao=cr(bt,"Set"),Jl="[object Map]",Vv="[object Object]",Xl="[object Promise]",Zl="[object Set]",ec="[object WeakMap]",tc="[object DataView]",Hv=lr(Eo),Uv=lr(bn),Wv=lr(_o),zv=lr(Ao),Gv=lr(Po),ht=sr;(Eo&&ht(new Eo(new ArrayBuffer(1)))!=tc||bn&&ht(new bn)!=Jl||_o&&ht(_o.resolve())!=Xl||Ao&&ht(new Ao)!=Zl||Po&&ht(new Po)!=ec)&&(ht=function(e){var t=sr(e),r=t==Vv?e.constructor:void 0,n=r?lr(r):"";if(n)switch(n){case Hv:return tc;case Uv:return Jl;case Wv:return Xl;case zv:return Zl;case Gv:return ec}return t});var Qv=Object.prototype,Kv=Qv.hasOwnProperty;function Yv(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&Kv.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var ni=bt.Uint8Array;function ps(e){var t=new e.constructor(e.byteLength);return new ni(t).set(new ni(e)),t}function Jv(e,t){var r=ps(e.buffer);return new e.constructor(r,e.byteOffset,e.byteLength)}var Xv=/\w*$/;function Zv(e){var t=new e.constructor(e.source,Xv.exec(e));return t.lastIndex=e.lastIndex,t}var rc=At?At.prototype:void 0,nc=rc?rc.valueOf:void 0;function ew(e){return nc?Object(nc.call(e)):{}}function id(e,t){var r=t?ps(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var tw="[object Boolean]",rw="[object Date]",nw="[object Map]",iw="[object Number]",aw="[object RegExp]",ow="[object Set]",sw="[object String]",lw="[object Symbol]",cw="[object ArrayBuffer]",uw="[object DataView]",fw="[object Float32Array]",dw="[object Float64Array]",hw="[object Int8Array]",pw="[object Int16Array]",mw="[object Int32Array]",gw="[object Uint8Array]",yw="[object Uint8ClampedArray]",bw="[object Uint16Array]",vw="[object Uint32Array]";function ww(e,t,r){var n=e.constructor;switch(t){case cw:return ps(e);case tw:case rw:return new n(+e);case uw:return Jv(e);case fw:case dw:case hw:case pw:case mw:case gw:case yw:case bw:case vw:return id(e,r);case nw:return new n;case iw:case sw:return new n(e);case aw:return Zv(e);case ow:return new n;case lw:return ew(e)}}function ad(e){return typeof e.constructor=="function"&&!ls(e)?Cy(ed(e)):{}}var Pw="[object Map]";function Sw(e){return xt(e)&&ht(e)==Pw}var ic=Rr&&Rr.isMap,Ew=ic?cs(ic):Sw,_w="[object Set]";function Aw(e){return xt(e)&&ht(e)==_w}var ac=Rr&&Rr.isSet,xw=ac?cs(ac):Aw,Lw=1,od="[object Arguments]",Tw="[object Array]",Cw="[object Boolean]",Ow="[object Date]",kw="[object Error]",sd="[object Function]",Iw="[object GeneratorFunction]",Dw="[object Map]",Rw="[object Number]",ld="[object Object]",Nw="[object RegExp]",Fw="[object Set]",Mw="[object String]",jw="[object Symbol]",qw="[object WeakMap]",$w="[object ArrayBuffer]",Bw="[object DataView]",Vw="[object Float32Array]",Hw="[object Float64Array
45]",Uw="[object Int8Array]",Ww="[object Int16Array]",zw="[object Int32Array]",Gw="[object Uint8Array]",Qw="[object Uint8ClampedArray]",Kw="[object Uint16Array]",Yw="[object Uint32Array]",ye={};ye[od]=ye[Tw]=ye[$w]=ye[Bw]=ye[Cw]=ye[Ow]=ye[Vw]=ye[Hw]=ye[Uw]=ye[Ww]=ye[zw]=ye[Dw]=ye[Rw]=ye[ld]=ye[Nw]=ye[Fw]=ye[Mw]=ye[jw]=ye[Gw]=ye[Qw]=ye[Kw]=ye[Yw]=!0;ye[kw]=ye[sd]=ye[qw]=!1;function Wn(e,t,r,n,i,a){var o,s=t&Lw;if(o!==void 0)return o;if(!Xe(e))return e;var l=mt(e);if(l)o=Yv(e);else{var c=ht(e),u=c==sd||c==Iw;if(gn(e))return nd(e,s);if(c==ld||c==od||u&&!i)o=u?{}:ad(e);else{if(!ye[c])return i?e:{};o=ww(e,c,s)}}a||(a=new Et);var f=a.get(e);if(f)return f;a.set(e,o),xw(e)?e.forEach(function(p){o.add(Wn(p,t,r,p,e,a))}):Ew(e)&&e.forEach(function(p,m){o.set(m,Wn(p,t,r,m,e,a))});var d=So,h=l?void 0:d(e);return qy(h||e,function(p,m){h&&(m=p,p=e[m]),os(o,m,Wn(p,t,r,m,e,a))}),o}var Jw=1,Xw=4;function dt(e){return Wn(e,Jw|Xw)}var Zw="__lodash_hash_undefined__";function eP(e){return this.__data__.set(e,Zw),this}function tP(e){return this.__data__.has(e)}function ii(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new jt;++t<r;)this.add(e[t])}ii.prototype.add=ii.prototype.push=eP;ii.prototype.has=tP;function rP(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function nP(e,t){return e.has(t)}var iP=1,aP=2;function cd(e,t,r,n,i,a){var o=r&iP,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var c=a.get(e),u=a.get(t);if(c&&u)return c==t&&u==e;var f=-1,d=!0,h=r&aP?new ii:void 0;for(a.set(e,t),a.set(t,e);++f<s;){var p=e[f],m=t[f];if(n)var g=o?n(m,p,f,t,e,a):n(p,m,f,e,t,a);if(g!==void 0){if(g)continue;d=!1;break}if(h){if(!rP(t,function(b,v){if(!nP(h,v)&&(p===b||i(p,b,r,n,a)))return h.push(v)})){d=!1;break}}else if(!(p===m||i(p,m,r,n,a))){d=!1;break}}return a.delete(e),a.delete(t),d}function oP(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}function sP(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var lP=1,cP=2,uP="[object Boolean]",fP="[object Date]",dP="[object Error]",hP="[object Map]",pP="[object Number]",mP="[object RegExp]",gP="[object Set]",yP="[object String]",bP="[object Symbol]",vP="[object ArrayBuffer]",wP="[object DataView]",oc=At?At.prototype:void 0,sa=oc?oc.valueOf:void 0;function PP(e,t,r,n,i,a,o){switch(r){case wP:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case vP:return!(e.byteLength!=t.byteLength||!a(new ni(e),new ni(t)));case uP:case fP:case pP:return Tn(+e,+t);case dP:return e.name==t.name&&e.message==t.message;case mP:case yP:return e==t+"";case hP:var s=oP;case gP:var l=n&lP;if(s||(s=sP),e.size!=t.size&&!l)return!1;var c=o.get(e);if(c)return c==t;n|=cP,o.set(e,t);var u=cd(s(e),s(t),n,i,a,o);return o.delete(e),u;case bP:if(sa)return sa.call(e)==sa.call(t)}return!1}var SP=1,EP=Object.prototype,_P=EP.hasOwnProperty;function AP(e,t,r,n,i,a){var o=r&SP,s=So(e),l=s.length,c=So(t),u=c.length;if(l!=u&&!o)return!1;for(var f=l;f--;){var d=s[f];if(!(o?d in t:_P.call(t,d)))return!1}var h=a.get(e),p=a.get(t);if(h&&p)return h==t&&p==e;var m=!0;a.set(e,t),a.set(t,e);for(var g=o;++f<l;){d=s[f];var b=e[d],v=t[d];if(n)var S=o?n(v,b,d,t,e,a):n(b,v,d,e,t,a);if(!(S===void 0?b===v||i(b,v,r,n,a):S)){m=!1;break}g||(g=d=="constructor")}if(m&&!g){var L=e.constructor,A=t.constructor;L!=A&&"constructor"in e&&"constructor"in t&&!(typeof L=="function"&&L instanceof L&&typeof A=="function"&&A instanceof A)&&(m=!1)}return a.delete(e),a.delete(t),m}var xP=1,sc="[object Arguments]",lc="[object Array]",Rn="[object Object]",LP=Object.prototype,cc=LP.hasOwnProperty;function TP(e,t,r,n,i,a){var o=mt(e),s=mt(t),l=o?lc:ht(e),c=s?lc:ht(t);l=l==sc?Rn:l,c=c==sc?Rn:c;var u=l==Rn,f=c==Rn,d=l==c;if(d&&gn(e)){if(!gn(t))return!1;o=!0,u=!1}if(d&&!u)return a||(a=new Et),o||us(e)?cd(e,t,r,n,i,a):PP(e,t,l,r,n,i,a);if(!(r&xP)){var h=u&&cc.call(e,"__wrapped__"),p=f&&cc.call(t,"__wrapped__");
45if(h||p){var m=h?e.value():e,g=p?t.value():t;return a||(a=new Et),i(m,g,r,n,a)}}return d?(a||(a=new Et),AP(e,t,r,n,i,a)):!1}function ud(e,t,r,n,i){return e===t?!0:e==null||t==null||!xt(e)&&!xt(t)?e!==e&&t!==t:TP(e,t,r,n,ud,i)}function CP(e,t,r){t=ds(t,e);for(var n=-1,i=t.length,a=!1;++n<i;){var o=hs(t[n]);if(!(a=e!=null&&r(e,o)))break;e=e[o]}return a||++n!=i?a:(i=e==null?0:e.length,!!i&&ss(i)&&Ai(o,i)&&(mt(e)||ri(e)))}function OP(e){return function(t,r,n){for(var i=-1,a=Object(t),o=n(t),s=o.length;s--;){var l=o[++i];if(r(a[l],l,a)===!1)break}return t}}var kP=OP(),la=function(){return bt.Date.now()},IP="Expected a function",DP=Math.max,RP=Math.min;function NP(e,t,r){var n,i,a,o,s,l,c=0,u=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError(IP);t=ql(t)||0,Xe(r)&&(u=!0,f="maxWait"in r,a=f?DP(ql(r.maxWait)||0,t):a,d="trailing"in r?!0:d);function h(O){var T=n,D=i;return n=i=void 0,c=O,o=e.apply(D,T),o}function p(O){return c=O,s=setTimeout(b,t),u?h(O):o}function m(O){var T=O-l,D=O-c,P=t-T;return f?RP(P,a-D):P}function g(O){var T=O-l,D=O-c;return l===void 0||T>=t||T<0||f&&D>=a}function b(){var O=la();if(g(O))return v(O);s=setTimeout(b,m(O))}function v(O){return s=void 0,d&&n?h(O):(n=i=void 0,o)}function S(){s!==void 0&&clearTimeout(s),c=0,n=l=i=s=void 0}function L(){return s===void 0?o:v(la())}function A(){var O=la(),T=g(O);if(n=arguments,i=this,l=O,T){if(s===void 0)return p(l);if(f)return clearTimeout(s),s=setTimeout(b,t),h(l)}return s===void 0&&(s=setTimeout(b,t)),o}return A.cancel=S,A.flush=L,A}function xo(e,t,r){(r!==void 0&&!Tn(e[t],r)||r===void 0&&!(t in e))&&as(e,t,r)}function FP(e){return xt(e)&&xi(e)}function Lo(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function MP(e){return Uy(e,Xf(e))}function jP(e,t,r,n,i,a,o){var s=Lo(e,r),l=Lo(t,r),c=o.get(l);if(c){xo(e,r,c);return}var u=a?a(s,l,r+"",e,t,o):void 0,f=u===void 0;if(f){var d=mt(l),h=!d&&gn(l),p=!d&&!h&&us(l);u=l,d||h||p?mt(s)?u=s:FP(s)?u=ky(s):h?(f=!1,u=nd(l,!0)):p?(f=!1,u=id(l,!0)):u=[]:Lv(l)||ri(l)?(u=s,ri(s)?u=MP(s):(!Xe(s)||is(s))&&(u=ad(l))):f=!1}f&&(o.set(l,u),i(u,l,n,a,o),o.delete(l)),xo(e,r,u)}function fd(e,t,r,n,i){e!==t&&kP(t,function(a,o){if(i||(i=new Et),Xe(a))jP(e,t,o,r,fd,n,i);else{var s=n?n(Lo(e,o),a,o+"",e,t,i):void 0;s===void 0&&(s=a),xo(e,o,s)}},Xf)}var qP={"&":"&","<":"<",">":">",'"':""","'":"'"},$P=Tv(qP),dd=/[&<>"']/g,BP=RegExp(dd.source);function uc(e){return e=Zf(e),e&&BP.test(e)?e.replace(dd,$P):e}var VP=Object.prototype,HP=VP.hasOwnProperty;function UP(e,t){return e!=null&&HP.call(e,t)}
45function hd(e,t){return e!=null&&CP(e,t,UP)}function ar(e,t){return ud(e,t)}var To=Ky(function(e,t,r){fd(e,t,r)});function WP(e,t,r,n){if(!Xe(e))return e;t=ds(t,e);for(var i=-1,a=t.length,o=a-1,s=e;s!=null&&++i<a;){var l=hs(t[i]),c=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(i!=o){var u=s[l];c=void 0,c===void 0&&(c=Xe(u)?u:Ai(t[i+1])?[]:{})}os(s,l,c),s=s[l]}return e}function pt(e,t,r){return e==null?e:WP(e,t,r)}var ca,fc;function $r(){return fc||(fc=1,ca=TypeError),ca}const zP={},GP=Object.freeze(Object.defineProperty({__proto__:null,default:zP},Symbol.toStringTag,{value:"Module"})),QP=_h(GP);var ua,dc;function Ci(){if(dc)return ua;dc=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=e&&t&&typeof t.get=="function"?t.get:null,n=e&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,a=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=i&&a&&typeof a.get=="function"?a.get:null,s=i&&Set.prototype.forEach,l=typeof WeakMap=="function"&&WeakMap.prototype,c=l?WeakMap.prototype.has:null,u=typeof WeakSet=="function"&&WeakSet.prototype,f=u?WeakSet.prototype.has:null,d=typeof WeakRef=="function"&&WeakRef.prototype,h=d?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,b=String.prototype.match,v=String.prototype.slice,S=String.prototype.replace,L=String.prototype.toUpperCase,A=String.prototype.toLowerCase,O=RegExp.prototype.test,T=Array.prototype.concat,D=Array.prototype.join,P=Array.prototype.slice,C=Math.floor,w=typeof BigInt=="function"?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,I=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,R=typeof Symbol=="function"&&typeof Symbol.iterator=="object",z=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===R||!0)?Symbol.toStringTag:null,W=Object.prototype.propertyIsEnumerable,K=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(_){return _.__proto__}:null);function j(_,x){if(_===1/0||_===-1/0||_!==_||_&&_>-1e3&&_<1e3||O.call(/e/,x))return x;var ce=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof _=="number"){var ge=_<0?-C(-_):C(_);if(ge!==_){var ve=String(ge),te=v.call(x,ve.length+1);return S.call(ve,ce,"$&_")+"."+S.call(S.call(te,/([0-9]{3})/g,"$&_"),/_$/,"")}}return S.call(x,ce,"$&_")}var F=QP,U=F.custom,M=Ce(U)?U:null,ie={__proto__:null,double:'"',single:"'"},ue={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};ua=function _(x,ce,ge,ve){var te=ce||{};if(de(te,"quoteStyle")&&!de(ie,te.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(de(te,"maxStringLength")&&(typeof te.maxStringLength=="number"?te.maxStringLength<0&&te.maxStringLength!==1/0:te.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var qt=de(te,"customInspect")?te.customInspect:!0;if(typeof qt!="boolean"&&qt!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(de(te,"indent")&&te.indent!==null&&te.indent!==" "&&!(parseInt(te.indent,10)===te.indent&&te.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(de(te,"numericSeparator")&&typeof te.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var er=te.numericSeparator;if(typeof x>"u")return"undefined";if(x===null)return"null";if(typeof x=="boolean")return x?"true":"false";if(typeof x=="string")return ee(x,te);if(typeof x=="number"){if(x===0)return 1/0/x>0?"0":"-0";var Ke=String(x);return er?j(x,Ke):Ke}if(typeof x=="bigint"){var $t=String(x)+"n";return er?j(x,$t):$t}var Ri=typeof te.depth>"u"?5:te.depth;if(typeof ge>"u"&&(ge=0),ge>=Ri&&Ri>0&&typeof x=="object")return me(x)?"[Array]":"[Object]";var dr=wh(te,ge);if(typeof ve>"u")ve=[];else if(Qe(ve,x)>=0)return"[Circular]";function st(hr,In,Sh){if(In&&(ve=P.call(ve),ve.push(In)),Sh){var Ns={depth:te.depth};return de(te,"quoteStyle")&&(Ns.quoteStyle=te.quoteStyle),_(hr,Ns,ge+1,ve)}return _(hr,te,ge+1,ve)}if(typeof x=="function"&&!ne(x)){var Ts=at(x),Cs=On(x,st);return"[Function"+(Ts?": "+Ts:" (anonymous)")+"]"+(Cs.length>
vendor: 20,881 bytes, lines 45-48
450?" { "+D.call(Cs,", ")+" }":"")}if(Ce(x)){var Os=R?S.call(String(x),/^(Symbol\(.*\))_[^)]*$/,"$1"):I.call(x);return typeof x=="object"&&!R?He(Os):Os}if(G(x)){for(var Hr="<"+A.call(String(x.nodeName)),Ni=x.attributes||[],kn=0;kn<Ni.length;kn++)Hr+=" "+Ni[kn].name+"="+Le(pe(Ni[kn].value),"double",te);return Hr+=">",x.childNodes&&x.childNodes.length&&(Hr+="..."),Hr+="</"+A.call(String(x.nodeName))+">",Hr}if(me(x)){if(x.length===0)return"[]";var Fi=On(x,st);return dr&&!Cn(Fi)?"["+Di(Fi,dr)+"]":"[ "+D.call(Fi,", ")+" ]"}if(X(x)){var Mi=On(x,st);return!("cause"in Error.prototype)&&"cause"in x&&!W.call(x,"cause")?"{ ["+String(x)+"] "+D.call(T.call("[cause]: "+st(x.cause),Mi),", ")+" }":Mi.length===0?"["+String(x)+"]":"{ ["+String(x)+"] "+D.call(Mi,", ")+" }"}if(typeof x=="object"&&qt){if(M&&typeof x[M]=="function"&&F)return F(x,{depth:Ri-ge});if(qt!=="symbol"&&typeof x.inspect=="function")return x.inspect()}if(qe(x)){var ks=[];return n&&n.call(x,function(hr,In){ks.push(st(In,x,!0)+" => "+st(hr,x))}),fr("Map",r.call(x),ks,dr)}if(q(x)){var Is=[];return s&&s.call(x,function(hr){Is.push(st(hr,x))}),fr("Set",o.call(x),Is,dr)}if(ot(x))return Se("WeakMap");if(Q(x))return Se("WeakSet");if(vt(x))return Se("WeakRef");if(H(x))return He(st(Number(x)));if(Oe(x))return He(st(w.call(x)));if(ae(x))return He(p.call(x));if(V(x))return He(st(String(x)));if(typeof window<"u"&&x===window)return"{ [object Window] }";if(typeof globalThis<"u"&&x===globalThis||typeof Fs<"u"&&x===Fs)return"{ [object globalThis] }";if(!De(x)&&!ne(x)){var ji=On(x,st),Ds=K?K(x)===Object.prototype:x instanceof Object||x.constructor===Object,qi=x instanceof Object?"":"null prototype",Rs=!Ds&&z&&Object(x)===x&&z in x?v.call(ke(x),8,-1):qi?"Object":"",Ph=Ds||typeof x.constructor!="function"?"":x.constructor.name?x.constructor.name+" ":"",$i=Ph+(Rs||qi?"["+D.call(T.call([],Rs||[],qi||[]),": ")+"] ":"");return ji.length===0?$i+"{}":dr?$i+"{"+Di(ji,dr)+"}":$i+"{ "+D.call(ji,", ")+" }"}return String(x)};function Le(_,x,ce){var ge=ce.quoteStyle||x,ve=ie[ge];return ve+_+ve}function pe(_){return S.call(String(_),/"/g,""")}function Te(_){return!z||!(typeof _=="object"&&(z in _||typeof _[z]<"u"))}function me(_){return ke(_)==="[object Array]"&&Te(_)}function De(_){return ke(_)==="[object Date]"&&Te(_)}function ne(_){return ke(_)==="[object RegExp]"&&Te(_)}function X(_){return ke(_)==="[object Error]"&&Te(_)}function V(_){return ke(_)==="[object String]"&&Te(_)}function H(_){return ke(_)==="[object Number]"&&Te(_)}function ae(_){return ke(_)==="[object Boolean]"&&Te(_)}function Ce(_){if(R)return _&&typeof _=="object"&&_ instanceof Symbol;if(typeof _=="symbol")return!0;if(!_||typeof _!="object"||!I)return!1;try{return I.call(_),!0}catch{}return!1}function Oe(_){if(!_||typeof _!="object"||!w)return!1;try{return w.call(_),!0}catch{}return!1}var be=Object.prototype.hasOwnProperty||function(_){return _ in this};function de(_,x){return be.call(_,x)}function ke(_){return m.call(_)}function at(_){if(_.name)return _.name;var x=b.call(g.call(_),/^function\s*([\w$]+)/);return x?x[1]:null}function Qe(_,x){if(_.indexOf)return _.indexOf(x);for(var ce=0,ge=_.length;ce<ge;ce++)if(_[ce]===x)return ce;return-1}function qe(_){if(!r||!_||typeof _!="object")return!1;try{r.call(_);try{o.call(_)}catch{return!0}return _ instanceof Map}catch{}return!1}function ot(_){if(!c||!_||typeof _!="object")return!1;try{c.call(_,c);try{f.call(_,f)}catch{return!0}return _ instanceof WeakMap}catch{}return!1}function vt(_){if(!h||!_||typeof _!="object")return!1;try{return h.call(_),!0}catch{}return!1}function q(_){if(!o||!_||typeof _!="object")return!1;try{o.call(_);try{r.call(_)}catch{return!0}return _ instanceof Set}catch{}return!1}function Q(_){if(!f||!_||typeof _!="object")return!1;try{f.call(_,f);try{c.call(_,c)}catch{return!0}return _ instanceof WeakSet}catch{}return!1}function G(_){return!_||typeof _!="object"?!1:typeof HTMLElement<"u"&&_ instanceof HTMLElement?!0:typeof _.nodeName=="string"&&typeof _.getAttribute=="function"}function ee(_,x){if(_.length>x.maxStringLength){var ce=_.length-x.maxStringLength,ge="... "+ce+" more character"+(ce>1?"s":"");return ee(v.call(_,0,x.maxStringLength),x)+ge}var ve=ue[x.quoteStyle||"single"];ve.lastIndex=0;var te=S.call(S.call(_,ve,"\\$1"),/[\x00-\x1f]/g,$e);return Le(te,"single",x)}function $e(_){var x=_.charCodeAt(0),ce={8:"b",9:"t",10:"n",12:"f",13:"r"}[x];return ce?"\\"+ce:"\\x"+(x<16?"0":"")+L.call(x.toString(16))}function He(_){return"Object("+_+")"}function Se(_){return _+" { ? }"}function fr(_,x,ce,ge){var ve=ge?Di(ce,ge):D.call(ce,", ");return _+" ("+x+") {"+ve+"}"}function Cn(_){for(var x=0;x<_.length;x++)if(Qe(_[x],` 46`)>=0)return!1;return!0}function wh(_,x){var ce;if(_.indent===" ")ce=" ";else if(typeof _.indent=="number"&&_.indent>0)ce=D.call(Array(_.indent+1)," ");else return null;return{base:ce,prev:D.call(Array(x+1),ce)}}function Di(_,x){if(_.length===0)return"";var ce=` 47`+x.prev+x.base;return ce+D.call(_,","+ce)+` 48`+x.prev}function On(_,x){var ce=me(_),ge=[];if(ce){ge.length=_.length;for(var ve=0;ve<_.length;ve++)ge[ve]=de(_,ve)?x(_[ve],_):""}var te=typeof k=="function"?k(_):[],qt;if(R){qt={};for(var er=0;er<te.length;er++)qt["$"+te[er]]=te[er]}for(var Ke in _)de(_,Ke)&&(ce&&String(Number(Ke))===Ke&&Ke<_.length||R&&qt["$"+Ke]instanceof Symbol||(O.call(/[^\w$]/,Ke)?ge.push(x(Ke,_)+": "+x(_[Ke],_)):ge.push(Ke+": "+x(_[Ke],_))));if(typeof k=="function")for(var $t=0;$t<te.length;$t++)W.call(_,te[$t])&&ge.push("["+x(te[$t])+"]: "+x(_[te[$t]],_));return ge}return ua}var fa,hc;function KP(){if(hc)return fa;hc=1;var e=Ci(),t=$r(),r=function(s,l,c){for(var u=s,f;(f=u.next)!=null;u=f)if(f.key===l)return u.next=f.next,c||(f.next=s.next,s.next=f),f},n=function(s,l){if(s){var c=r(s,l);return c&&c.value}},i=function(s,l,c){var u=r(s,l);u?u.value=c:s.next={key:l,next:s.next,value:c}},a=function(s,l){return s?!!r(s,l):!1},o=function(s,l){if(s)return r(s,l,!0)};return fa=function(){var l,c={assert:function(u){if(!c.has(u))throw new t("Side channel does not contain "+e(u))},delete:function(u){var f=o(l,u);return f&&l&&!l.next&&(l=void 0),!!f},get:function(u){return n(l,u)},has:function(u){return a(l,u)},set:function(u,f){l||(l={next:void 0}),i(l,u,f)}};return c},fa}var da,pc;function pd(){return pc||(pc=1,da=Object),da}var ha,mc;function YP(){return mc||(mc=1,ha=Error),ha}var pa,gc;function JP(){return gc||(gc=1,pa=EvalError),pa}var ma,yc;function XP(){return yc||(yc=1,ma=RangeError),ma}var ga,bc;function ZP(){return bc||(bc=1,ga=ReferenceError),ga}var ya,vc;function eS(){return vc||(vc=1,ya=SyntaxError),ya}var ba,wc;function tS(){return wc||(wc=1,ba=URIError),ba}var va,Pc;function rS(){return Pc||(Pc=1,va=Math.abs),va}var wa,Sc;function nS(){return Sc||(Sc=1,wa=Math.floor),wa}var Pa,Ec;function iS(){return Ec||(Ec=1,Pa=Math.max),Pa}var Sa,_c;function aS(){return _c||(_c=1,Sa=Math.min),Sa}var Ea,Ac;function oS(){return Ac||(Ac=1,Ea=Math.pow),Ea}var _a,xc;function sS(){return xc||(xc=1,_a=Math.round),_a}var Aa,Lc;function lS(){return Lc||(Lc=1,Aa=Number.isNaN||function(t){return t!==t}),Aa}var xa,Tc;function cS(){if(Tc)return xa;Tc=1;var e=lS();return xa=function(r){return e(r)||r===0?r:r<0?-1:1},xa}var La,Cc;function uS(){return Cc||(Cc=1,La=Object.getOwnPropertyDescriptor),La}var Ta,Oc;function md(){if(Oc)return Ta;Oc=1;var e=uS();if(e)try{e([],"length")}catch{e=null}return Ta=e,Ta}var Ca,kc;function gd(){if(kc)return Ca;kc=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return Ca=e,Ca}var Oa,Ic;function fS(){return Ic||(Ic=1,Oa=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var a in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==i||s.enumerable!==!0)return!1}return!0}),Oa}var ka,Dc;function dS(){if(Dc)return ka;Dc=1;var e=typeof Symbol<"u"&&Symbol,t=fS();return ka=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},ka}var Ia,Rc;function yd(){return Rc||(Rc=1,Ia=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Ia}var Da,Nc;function bd(){if(Nc)return Da;Nc=1;var e=pd();return Da=e.getPrototypeOf||null,Da}var Ra,Fc;function hS(){if(Fc)return Ra;Fc=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(l,c){for(var u=[],f=0;f<l.length;f+=1)u[f]=l[f];for(var d=0;d<c.length;d+=1)u[d+l.length]=c[d];return u},a=function(l,c){for(var u=[],f=c,d=0;f<l.length;f+=1,d+=1)u[d]=l[f];return u},o=function(s,l){for(var c="",u=0;u<s.length;u+=1)c+=s[u],u+1<s.length&&(c+=l);return c};return Ra=function(l){var c=this;if(typeof c!="function"||t.apply(c)!==n)throw new TypeError(e+c);for(var u=a(arguments,1),f,d=function(){if(this instanceof f){var b=c.apply(this,i(u,arguments));return Object(b)===b?b:this}return c.apply(l,i(u,arguments))},h=r(0,c.length-u.length),p=[],m=0;m<h;m++)p[m]="$"+m;if(f=Function("binder","return function ("+o(p,",")+"){ return binder.apply(this,arguments); }")(d),c.prototype){var g=function(){};g.prototype=c.prototype,f.prototype=new g,g.prototype=null}return f},Ra}var Na,Mc;function Oi(){if(Mc)return Na;Mc=1;var e=hS();return Na=Function.prototype.bind||e,Na}var Fa,jc;function ms(){return jc||(jc=1,Fa=Function.prototype.call),Fa}var Ma,qc;function vd(){return qc||(qc=1,Ma=Function.prototype.apply),Ma}var ja,$c;function pS(){return $c||($c=1,ja=typeof Reflect<"u"&&Reflect&&Reflect.apply),ja}var qa,Bc;function mS(){if(Bc)return qa;Bc=1;var e=Oi(),t=vd(),r=ms(),n=pS();return qa=n||e.call(r,t),qa}var $a,Vc;function wd(){if(Vc)return $a;Vc=1;var e=Oi(),t=$r(),r=ms(),n=mS();return $a=function(a){if(a.length<1||typeof a[0]!="function")throw new t("a function is required");return n(e,r,a)},$a}var Ba,Hc;function gS(){if(Hc)return Ba;Hc=1;var e=wd(),t=md(),r;try{r=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var n=!!r&&t&&t(Object.prototype,"__proto__"),i=Object,a=i.getPrototypeOf;return Ba=n&&typeof n.get=="function"?e([n.get]):typeof a=="function"?function(s){return a(s==null?s:i(s))}:!1,Ba}var Va,Uc;function yS(){if(Uc)return Va;Uc=1;var e=yd(),t=bd(),r=gS();return Va=e?function(i){return e(i)}:t?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return t(i)}:r?function(i){return r(i)}:null,Va}var Ha,Wc;function bS(){if(Wc)return Ha;Wc=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=Oi();return Ha=r.call(e,t),Ha}var Ua,zc;function gs(){if(zc)return Ua;zc=1;var e,t=pd(),r=YP(),n=JP(),i=XP(),a=ZP(),o=eS(),s=$r(),l=tS(),c=rS(),u=nS(),f=iS(),d=aS(),h=oS(),p=sS(),m=cS(),g=Function,b=function(ne){try{return g('"use strict"; return ('+ne+").constructor;")()}catch{}},v=md(),S=gd(),L=function(){throw new s},A=v?(function(){try{return arguments.callee,L}catch{try{return v(arguments,"callee").get}catch{return L}}})():L,O=dS()(),T=yS(),D=bd(),P=yd(),C=vd(),w=ms(),k={},I=typeof Uint8Array>"u"||!T?e:T(Uint8Array),R={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":O&&T?T([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":k,"%AsyncGenerator%":k,"%AsyncGeneratorFunction%":k,"%AsyncIteratorPrototype%":k,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":k,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":O&&T?T(T([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!O||!T?e:T(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":v,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":i,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!O||!T?e:T(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":O&&T?T(""[Symbol.iterator]()):e,"%Symbol%":O?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":A,"%TypedArray%":I,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":l,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":w,"%Function.prototype.apply%":C,"%Object.defineProperty%":S,"%Object.getPrototypeOf%":D,"%Math.abs%":c,"%Math.floor%":u,"%Math.max%":f,"%Math.min%":d,"%Math.pow%":h,"%Math.round%":p,"%Math.sign%":m,"%Reflect.getPrototypeOf%":P};if(T)try{null.error}catch(ne){var z=T(T(ne));R["%Error.prototype%"]=z}var W=function ne(X){var V;if(X==="%AsyncFunction%")V=b("async function () {}");else if(X==="%GeneratorFunction%")V=b("function* () {}");else if(X==="%AsyncGeneratorFunction%")V=b("async function* () {}");else if(X==="%AsyncGenerator%"){var H=ne("%AsyncGeneratorFunction%");H&&(V=H.prototype)}else if(X==="%AsyncIteratorPrototype%"){var ae=ne("%AsyncGenerator%");ae&&T&&(V=T(ae.prototype))}return R[X]=V,V},K={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},j=Oi(),F=bS(),U=j.call(w,Array.prototype.concat),M=j.call(C,Array.prototype.splice),ie=j.call(w,String.prototype.replace),ue=j.call(w,String.prototype.slice),Le=j.call(w,RegExp.prototype.exec),pe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Te=/\\(\\)?/g,me=function(X){var V=ue(X,0,1),H=ue(X,-1);if(V==="%"&&H!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(H==="%"&&V!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var ae=[];return ie(X,pe,function(Ce,Oe,be,de){ae[ae.length]=be?ie(de,Te,"$1"):Oe||Ce}),ae},De=function(X,V){var H=X,ae;if(F(K,H)&&(ae=K[H],H="%"+ae[0]+"%"),F(R,H)){var Ce=R[H];if(Ce===k&&(Ce=W(H)),typeof Ce>"u"&&!V)throw new s("intrinsic "+X+" exists, but is not available. Please file an issue!");return{alias:ae,name:H,value:Ce}}throw new o("intrinsic "+X+" does not exist!")};return Ua=function(X,V){if(typeof X!="string"||X.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof V!="boolean")throw new s('"allowMissing" argument must be a boolean');if(Le(/^%?[^%]*%?$/,X)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var H=me(X),ae=H.length>0?H[0]:"",Ce=De("%"+ae+"%",V),Oe=Ce.name,be=Ce.value,de=!1,ke=Ce.alias;ke&&(ae=ke[0],M(H,U([0,1],ke)));for(var at=1,Qe=!0;at<H.length;at+=1){var qe=H[at],ot=ue(qe,0,1),vt=ue(qe,-1);if((ot==='"'||ot==="'"||ot==="`"||vt==='"'||vt==="'"||vt==="`")&&ot!==vt)throw new o("property names with quotes must have matching quotes");if((qe==="constructor"||!Qe)&&(de=!0),ae+="."+qe,Oe="%"+ae+"%",F(R,Oe))be=R[Oe];else if(be!=null){if(!(qe in be)){if(!V)throw new s("base intrinsic for "+X+" exists, but the property is not available.");return}if(v&&at+1>=H.length){var q=v(be,qe);Qe=!!q,Qe&&"get"in q&&!("originalValue"in q.get)?be=q.get:be=be[qe]}else Qe=F(be,qe),be=be[qe];Qe&&!de&&(R[Oe]=be)}}return be},Ua}var Wa,Gc;function Pd(){if(Gc)return Wa;Gc=1;var e=gs(),t=wd(),r=t([e("%String.prototype.indexOf%")]);return Wa=function(i,a){var o=e(i,!!a);return typeof o=="function"&&r(i,".prototype.")>-1?t([o]):o},Wa}var za,Qc;function Sd(){if(Qc)return za;Qc=1;var e=gs(),t=Pd(),r=Ci(),n=$r(),i=e("%Map%",!0),a=t("Map.prototype.get",!0),o=t("Map.prototype.set",!0),s=t("Map.prototype.has",!0),l=t("Map.prototype.delete",!0),c=t("Map.prototype.size",!0);return za=!!i&&function(){var f,d={assert:function(h){if(!d.has(h))throw new n("Side channel does not contain "+r(h))},delete:function(h){if(f){var p=l(f,h);return c(f)===0&&(f=void 0),p}return!1},get:function(h){if(f)return a(f,h)},has:function(h){return f?s(f,h):!1},set:function(h,p){f||(f=new i),o(f,h,p)}};return d},za}var Ga,Kc;function vS(){if(Kc)return Ga;Kc=1;var e=gs(),t=Pd(),r=Ci(),n=Sd(),i=$r(),a=e("%WeakMap%",!0),o=t("WeakMap.prototype.get",!0),s=t("WeakMap.prototype.set",!0),l=t("WeakMap.prototype.has",!0),c=t("WeakMap.prototype.delete",!0);return Ga=a?function(){var f,d,h={assert:function(p){if(!h.has(p))throw new i("Side channel does not contain "+r(p))},delete:function(p){if(a&&p&&(typeof p=="object"||typeof p=="function")){if(f)return c(f,p)}else if(n&&d)return d.delete(p);return!1},get:function(p){return a&&p&&(typeof p=="object"||typeof p=="function")&&f?o(f,p):d&&d.get(p)},has:function(p){return a&&p&&(typeof p=="object"||typeof p=="function")&&f?l(f,p):!!d&&d.has(p)},set:function(p,m){a&&p&&(typeof p=="object"||typeof p=="function")?(f||(f=ne
48w a),s(f,p,m)):n&&(d||(d=n()),d.set(p,m))}};return h}:n,Ga}var Qa,Yc;function Ed(){if(Yc)return Qa;Yc=1;var e=$r(),t=Ci(),r=KP(),n=Sd(),i=vS(),a=i||n||r;return Qa=function(){var s,l={assert:function(c){if(!l.has(c)){var u=c&&Object(c)===c?"the given object key":t(c);throw new e("Side channel does not contain "+u)}},delete:function(c){return!!s&&s.delete(c)},get:function(c){return s&&s.get(c)},has:function(c){return!!s&&s.has(c)},set:function(c,u){s||(s=a()),s.set(c,u)}};return l},Qa}var Ka,Jc;function ys(){if(Jc)return Ka;Jc=1;var e=String.prototype.replace,t=/%20/g,r={RFC1738:"RFC1738",RFC3986:"RFC3986"};return Ka={default:r.RFC3986,formatters:{RFC1738:function(n){return e.call(n,t,"+")},RFC3986:function(n){return String(n)}},RFC1738:r.RFC1738,RFC3986:r.RFC3986},Ka}var Ya,Xc;function _d(){if(Xc)return Ya;Xc=1;var e=ys(),t=Ed(),r=gd(),n=Object.prototype.hasOwnProperty,i=Array.isArray,a=t(),o=function(P,C){return a.set(P,C),P},s=function(P){return a.has(P)},l=function(P){return a.get(P)},c=function(P,C){a.set(P,C)},u=(function(){for(var D=[],P=0;P<256;++P)D[D.length]="%"+((P<16?"0":"")+P.toString(16)).toUpperCase();return D})(),f=function(P){for(;P.length>1;){var C=P.pop(),w=C.obj[C.prop];if(i(w)){for(var k=[],I=0;I<w.length;++I)typeof w[I]<"u"&&(k[k.length]=w[I]);C.obj[C.prop]=k}}},d=function(P,C){for(var w=C&&C.plainObjects?{__proto__:null}:{},k=0;k<P.length;++k)typeof P[k]<"u"&&(w[k]=P[k]);return w},h=function(P,C,w){C==="__proto__"&&r?r(P,C,{configurable:!0,enumerable:!0,value:w,writable:!0}):P[C]=w},p=function D(P,C,w){if(!C)return P;if(typeof C!="object"&&typeof C!="function"){if(i(P)){var k=P.length;if(w&&typeof w.arrayLimit=="number"&&k>=w.arrayLimit){if(w.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+w.arrayLimit+" element"+(w.arrayLimit===1?"":"s")+" allowed in an array.");return o(d(P.concat(C),w),k)}P[k]=C}else if(P&&typeof P=="object")if(s(P)){var I=l(P)+1;P[I]=C,c(P,I)}else{if(w&&w.strictMerge)return[P,C];(w&&(w.plainObjects||w.allowPrototypes)||!n.call(Object.prototype,C))&&(P[C]=!0)}else return[P,C];return P}if(!P||typeof P!="object"){if(s(C)){for(var R=Object.keys(C),z=w&&w.plainObjects?{__proto__:null,0:P}:{0:P},W=0;W<R.length;W++){var K=parseInt(R[W],10);z[K+1]=C[R[W]]}return o(z,l(C)+1)}var j=[P].concat(C);if(w&&typeof w.arrayLimit=="number"&&j.length>w.arrayLimit){if(w.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+w.arrayLimit+" element"+(w.arrayLimit===1?"":"s")+" allowed in an array.");return o(d(j,w),j.length-1)}return j}var F=P;
48if(i(P)&&!i(C)&&(F=d(P,w)),i(P)&&i(C)){if(C.forEach(function(U,M){if(n.call(P,M)){var ie=P[M];ie&&typeof ie=="object"&&U&&typeof U=="object"?P[M]=D(ie,U,w):P[P.length]=U}else P[M]=U}),w&&typeof w.arrayLimit=="number"&&P.length>w.arrayLimit){if(w.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+w.arrayLimit+" element"+(w.arrayLimit===1?"":"s")+" allowed in an array.");return o(d(P,w),P.length-1)}return P}return Object.keys(C).reduce(function(U,M){var ie=C[M];if(n.call(U,M)?h(U,M,D(U[M],ie,w)):h(U,M,ie),s(C)&&!s(U)&&o(U,l(C)),s(U)){var ue=parseInt(M,10);String(ue)===M&&ue>=0&&ue>l(U)&&c(U,ue)}return U},F)},m=function(P,C){return Object.keys(C).reduce(function(w,k){return h(w,k,C[k]),w},P)},g=function(D,P,C){var w=D.replace(/\+/g," ");if(C==="iso-8859-1")return w.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(w)}catch{return w}},b=1024,v=function(P,C,w,k,I){if(P.length===0)return P;var R=P;if(typeof P=="symbol"?R=Symbol.prototype.toString.call(P):typeof P!="string"&&(R=String(P)),w==="iso-8859-1")return escape(R).replace(/%u[0-9a-f]{4}/gi,function(ie){return"%26%23"+parseInt(ie.slice(2),16)+"%3B"});for(var z="",W=0;W<R.length;W+=b){var K=R.length>=b?R.slice(W,W+b):R;if(W+b<R.length){var j=K.charCodeAt(K.length-1);j>=55296&&j<=56319&&(K=K.slice(0,-1),W-=1)}for(var F=[],U=0;U<K.length;++U){var M=K.charCodeAt(U);if(M===45||M===46||M===95||M===126||M>=48&&M<=57||M>=65&&M<=90||M>=97&&M<=122||I===e.RFC1738&&(M===40||M===41)){F[F.length]=K.charAt(U);continue}if(M<128){F[F.length]=u[M];continue}if(M<2048){F[F.length]=u[192|M>>6]+u[128|M&63];continue}if(M<55296||M>=57344){F[F.length]=u[224|M>>12]+u[128|M>>6&63]+u[128|M&63];continue}U+=1,M=65536+((M&1023)<<10|K.charCodeAt(U)&1023),F[F.length]=u[240|M>>18]+u[128|M>>12&63]+u[128|M>>6&63]+u[128|M&63]}z+=F.join("")}return z},S=function(P){for(var C=[{obj:{o:P},prop:"o"}],w=t(),k=0;k<C.length;++k)for(var I=C[k],R=I.obj[I.prop],z=Object.keys(R),W=0;W<z.length;++W){var K=z[W],j=R[K];typeof j=="object"&&j!==null&&!w.has(j)&&(C[C.length]={obj:R,prop:K},w.set(j,!0))}return f(C),P},L=function(P){return Object.prototype.toString.call(P)==="[object RegExp]"},A=function(P){return!P||typeof P!="object"?!1:!!(P.constructor&&P.constructor.isBuffer&&P.constructor.isBuffer(P))},O=function(P,C,w,k,I){if(s(P)){if(I)throw new RangeError("Array limit exceeded. Only "+w+" element"+(w===1?"":"s")+" allowed in an array.");var R=l(P)+1;return P[R]=C,c(P,R),P}var z=[].concat(P,C);if(z.length>w){if(I)throw new RangeError("Array limit exceeded. Only "+w+" element"+(w===1?"":"s")+" allowed in an array.");return o(d(z,{plainObjects:k}),z.length-1)}return z},T=function(P,C){if(i(P)){for(var w=[],k=0;k<P.length;k+=1)w[w.length]=C(P[k]);return w}return C(P)};return Ya={arrayToObject:d,assign:m,combine:O,compact:S,decode:g,encode:v,isBuffer:A,isOverflow:s,isRegExp:L,markOverflow:o,maybeMap:T,merge:p},Ya}var Ja,Zc;function wS(){if(Zc)return Ja;Zc=1;var e=Ed(),t=_d(),r=ys(),n=Object.prototype.hasOwnProperty,i={brackets:function(g){return g+"[]"},comma:"comma",indices:function(g,b){return g+"["+b+"]"},repeat:function(g){return g}},a=Array.isArray,o=Array.prototype.push,s=function(m,g){o.apply(m,a(g)?g:[g])},l=Date.prototype.toISOString,c=r.default,u={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:t.encode,encodeValuesOnly:!1,filter:void 0,format:c,formatter:r.formatters[c],indices:!1,serializeDate:function(g){return l.call(g)},skipNulls:!1,strictNullHandling:!1},f=function(g){return typeof g=="string"||typeof g=="number"||typeof g=="boolean"||typeof g=="symbol"||typeof g=="bigint"},d={},h=function m(g,b,v,S,L,A,O,T,D,P,C,w,k,I,R,z,W,K){for(var j=g,F=K,U=0,M=!1;(F=F.get(d))!==void 0&&!M;){var ie=F.get(g);if(U+=1,typeof ie<"u"){if(ie===U)throw new RangeError("Cyclic object value");M=!0}typeof F.get(d)>"u"&&(U=0)}if(typeof P=="function"?j=P(b,j):j instanceof Date?j=k(j):v==="comma"&&a(j)&&(j=t.maybeMap(j,function(Oe){return Oe instanceof Date?k(Oe):Oe})),j===null){if(A)return R(D&&!z?D(b,u.encoder,W,"key",I):b);j=""}if(f(j)||t.isBuffer(j)){if(D){var ue=z?b:D(b,u.encoder,W,"key",I);return[R(ue)+"="+R(D(j,u.encoder,W,"value",I))]}return[R(b)+"="+R(String(j))]}var Le=[];if(typeof j>"u")return Le;var pe;if(v==="comma"&&a(j))z&&D&&(j=t.maybeMap(j,function(Oe){return Oe==null?Oe:D(Oe)})),pe=[{value:j.length>0?j.join(",")||null:void 0}];else if(a(P))pe=P;else{var Te=Object.keys(j);pe=C?Te.sort(C):Te}var me=T?String(b).replace(/\./g,"%2E"):String(b),De=S&&a(j)&&j.length===1?me+"[]":me;if(L&&a(j)&&j.length===0)return De+"[]";for(var ne=0;ne<pe.length;++ne){var X=pe[ne],V=typeof X=="object"&&X&&typeof X.value<"u"?X.value:j[X];if(!(O&&V===null)){var H=w&&T?String(X).replace(/\./g,"%2E"):String(X),ae=a(j)?typeof v=="function"?v(De,H):De:De+(w?"."+H:"["+H+"]");K.set(g,U);var Ce=e();Ce.set(d,K),s(Le,m(V,ae,v,S,L,A,O,T,v==="comma"&&z&&a(j)?null:D,P,C,w,k,I,R,z,W,Ce))}}return Le},p=function(g){if(!g)return u;if(typeof g.allowEmptyArrays<"u"&&typeof g.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
vendor: 6,569 bytes, line 48
48if(typeof g.encodeDotInKeys<"u"&&typeof g.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(g.encoder!==null&&typeof g.encoder<"u"&&typeof g.encoder!="function")throw new TypeError("Encoder has to be a function.");var b=g.charset||u.charset;if(typeof g.charset<"u"&&g.charset!=="utf-8"&&g.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var v=r.default;if(typeof g.format<"u"){if(!n.call(r.formatters,g.format))throw new TypeError("Unknown format option provided.");v=g.format}var S=r.formatters[v],L=u.filter;(typeof g.filter=="function"||a(g.filter))&&(L=g.filter);var A;if(g.arrayFormat in i?A=g.arrayFormat:"indices"in g?A=g.indices?"indices":"repeat":A=u.arrayFormat,"commaRoundTrip"in g&&typeof g.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var O=typeof g.allowDots>"u"?g.encodeDotInKeys===!0?!0:u.allowDots:!!g.allowDots;return{addQueryPrefix:typeof g.addQueryPrefix=="boolean"?g.addQueryPrefix:u.addQueryPrefix,allowDots:O,allowEmptyArrays:typeof g.allowEmptyArrays=="boolean"?!!g.allowEmptyArrays:u.allowEmptyArrays,arrayFormat:A,charset:b,charsetSentinel:typeof g.charsetSentinel=="boolean"?g.charsetSentinel:u.charsetSentinel,commaRoundTrip:!!g.commaRoundTrip,delimiter:typeof g.delimiter>"u"?u.delimiter:g.delimiter,encode:typeof g.encode=="boolean"?g.encode:u.encode,encodeDotInKeys:typeof g.encodeDotInKeys=="boolean"?g.encodeDotInKeys:u.encodeDotInKeys,encoder:typeof g.encoder=="function"?g.encoder:u.encoder,encodeValuesOnly:typeof g.encodeValuesOnly=="boolean"?g.encodeValuesOnly:u.encodeValuesOnly,filter:L,format:v,formatter:S,serializeDate:typeof g.serializeDate=="function"?g.serializeDate:u.serializeDate,skipNulls:typeof g.skipNulls=="boolean"?g.skipNulls:u.skipNulls,sort:typeof g.sort=="function"?g.sort:null,strictNullHandling:typeof g.strictNullHandling=="boolean"?g.strictNullHandling:u.strictNullHandling}};return Ja=function(m,g){var b=m,v=p(g),S,L;typeof v.filter=="function"?(L=v.filter,b=L("",b)):a(v.filter)&&(L=v.filter,S=L);var A=[];if(typeof b!="object"||b===null)return"";var O=i[v.arrayFormat],T=O==="comma"&&v.commaRoundTrip;S||(S=Object.keys(b)),v.sort&&S.sort(v.sort);for(var D=e(),P=0;P<S.length;++P){var C=S[P];if(!(typeof C>"u"||C===null)){var w=b[C];v.skipNulls&&w===null||s(A,h(w,C,O,T,v.allowEmptyArrays,v.strictNullHandling,v.skipNulls,v.encodeDotInKeys,v.encode?v.encoder:null,v.filter,v.sort,v.allowDots,v.serializeDate,v.format,v.formatter,v.encodeValuesOnly,v.charset,D))}}var k=A.join(v.delimiter),I=v.addQueryPrefix===!0?"?":"";return v.charsetSentinel&&(v.charset==="iso-8859-1"?I+="utf8=%26%2310003%3B"+v.delimiter:I+="utf8=%E2%9C%93"+v.delimiter),k.length>0?I+k:""},Ja}var Xa,eu;function PS(){if(eu)return Xa;eu=1;var e=_d(),t=Object.prototype.hasOwnProperty,r=Array.isArray,n={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},i=function(h){return h.replace(/&#(\d+);/g,function(p,m){return String.fromCharCode(parseInt(m,10))})},a=function(h,p,m,g){if(h&&typeof h=="string"&&p.comma&&h.indexOf(",")>-1){if(g&&p.throwOnLimitExceeded)for(var b=0,v=h.indexOf(",");v>-1;){if(b+=1,b>=p.arrayLimit)throw new RangeError("Array limit exceeded. Only "+p.arrayLimit+" element"+(p.arrayLimit===1?"":"s")+" allowed in an array.");v=h.indexOf(",",v+1)}return h.split(",")}if(p.throwOnLimitExceeded&&m>=p.arrayLimit)throw new RangeError("Array limit exceeded. Only "+p.arrayLimit+" element"+(p.arrayLimit===1?"":"s")+" allowed in an array.");return h},o="utf8=%26%2310003%3B",s="utf8=%E2%9C%93",l=function(p,m){var g={__proto__:null},b=m.ignoreQueryPrefix?p.replace(/^\?/,""):p;b=b.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var v=m.parameterLimit===1/0?void 0:m.parameterLimit,S=b.split(m.delimiter,m.throwOnLimitExceeded&&typeof v<"u"?v+1:v);if(m.throwOnLimitExceeded&&typeof v<"u"&&S.length>v)throw new RangeError("Parameter limit exceeded. Only "+v+" parameter"+(v===1?"":"s")+" allowed.");var L=-1,A,O=m.charset;if(m.charsetSentinel)for(A=0;A<S.length;++A)S[A].indexOf("utf8=")===0&&(S[A]===s?O="utf-8":S[A]===o&&(O="iso-8859-1"),L=A,A=S.length);for(A=0;A<S.length;++A)if(A!==L){var T=S[A],D=T.indexOf("]="),P=D===-1?T.indexOf("="):D+1,C,w;if(P===-1?(C=m.decoder(T,n.decoder,O,"key"),w=m.strictNullHandling?null:""):(C=m.decoder(T.slice(0,P),n.decoder,O,"key"),C!==null&&(w=e.maybeMap(a(T.slice(P+1),m,r(g[C])?g[C].length:0,T.indexOf("[]=")===-1),function(I){return m.decoder(I,n.decoder,O,"value")}))),w&&m.interpretNumericEntities&&O==="iso-8859-1"&&(w=i(String(w))),T.indexOf("[]=")>-1&&(w=r(w)?[w]:w),m.comma&&r(w)&&w.length>m.arrayLimit&&(w=e.combine([],w,m.arrayLimit,m.plainObjects,m.throwOnLimitExceeded)),C!==null){var k=t.call(g,C);k&&(m.duplicates==="combine"||T.indexOf("[]=")>-1)?g[C]=e.combine(g[C],w,m.arrayLimit,m.plainObjects,m.throwOnLimitExceeded):(!k||m.duplicates==="last")&&(g[C]=w)}}return g},c=function(h,p,m,g){var b=0;if(h.length>0&&h[h.length-1]==="[]"){var v=h.slice(0,-1).join("");b=Array.isArray(p)&&p[v]?p[v].length:0}for(var S=g?p:a(p,m,b),L=h.length-1;L>=0;--L){var A,O=h[L];if(O==="[]"&&m.parseArrays)e.isOverflow(S)?A=S:A=m.allowEmptyArrays&&(S===""||m.strictNullHandling&&S===null)?[]:e.combine([],S,m.arrayLimit,m.plainObjects,m.throwOnLimitExceeded);else{A=m.plainObjects?{__proto__:null}:{};var T=O.charAt(0)==="["&&O.charAt(O.length-1)==="]"?O.slice(1,-1):O,D=m.decodeDotInKeys?T.replace(/%2E/g,"."):T,P=parseInt(D,10),C=!isNaN(P)&&O!==D&&String(P)===D&&P>=0&&m.parseArrays;if(!m.parseArrays&&D==="")A={0:S};else if(C&&P<m.arrayLimit)A=[],A[P]=S;else{if(C&&m.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+m.arrayLimit+" element"+(m.arrayLimit===1?"":"s")+" allowed in an array.");C?(A[P]=S,e.markOverflow(A,P)):D!=="__proto__"&&(A[D]=S)}}S=A}return S},u=function(p,m){var g=m.allowDots?p.replace(/\.([^.[]+)/g,"[$1]"):p;if(m.depth<=0)return!m.plainObjects&&t.call(Object.prototype,g)&&!m.allowPrototypes?void 0:[g];var b=[],v=g.indexOf("["),S=v>=0?g.slice(0,v):g;if(S){if(!m.plainObjects&&t.call(Object.prototype,S)&&!m.allowPrototypes)return;b[b.length]=S}for(var L=g.length,A=v,O=0;A>=0&&O<m.depth;){for(var T=1,D=A+1,P=-1;D<L&&P<0;
48){var C=g.charCodeAt(D);C===91?T+=1:C===93&&(T-=1,T===0&&(P=D)),D+=1}if(P<0)return b[b.length]="["+g.slice(A)+"]",b;var w=g.slice(A,P+1),k=w.slice(1,-1);if(!m.plainObjects&&t.call(Object.prototype,k)&&!m.allowPrototypes)return;b[b.length]=w,O+=1,A=g.indexOf("[",P+1)}if(A>=0){if(m.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+m.depth+" and strictDepth is true");b[b.length]="["+g.slice(A)+"]"}return b},f=function(p,m,g,b){if(p){var v=u(p,g);if(v)return c(v,m,g,b)}},d=function(p){if(!p)return n;if(typeof p.allowEmptyArrays<"u"&&typeof p.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof p.decodeDotInKeys<"u"&&typeof p.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(p.decoder!==null&&typeof p.decoder<"u"&&typeof p.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof p.charset<"u"&&p.charset!=="utf-8"&&p.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof p.throwOnLimitExceeded<"u"&&typeof p.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var m=typeof p.charset>"u"?n.charset:p.charset,g=typeof p.duplicates>"u"?n.duplicates:p.duplicates;if(g!=="combine"&&g!=="first"&&g!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var b=typeof p.allowDots>"u"?p.decodeDotInKeys===!0?!0:n.allowDots:!!p.allowDots;return{allowDots:b,allowEmptyArrays:typeof p.allowEmptyArrays=="boolean"?!!p.allowEmptyArrays:n.allowEmptyArrays,allowPrototypes:typeof p.allowPrototypes=="boolean"?p.allowPrototypes:n.allowPrototypes,allowSparse:typeof p.allowSparse=="boolean"?p.allowSparse:n.allowSparse,arrayLimit:typeof p.arrayLimit=="number"?p.arrayLimit:n.arrayLimit,charset:m,charsetSentinel:typeof p.charsetSentinel=="boolean"?p.charsetSentinel:n.charsetSentinel,comma:typeof p.comma=="boolean"?p.comma:n.comma,decodeDotInKeys:typeof p.decodeDotInKeys=="boolean"?p.decodeDotInKeys:n.decodeDotInKeys,decoder:typeof p.decoder=="function"?p.decoder:n.decoder,delimiter:typeof p.delimiter=="string"||e.isRegExp(p.delimiter)?p.delimiter:n.delimiter,depth:typeof p.depth=="number"||p.depth===!1?+p.depth:n.depth,duplicates:g,ignoreQueryPrefix:p.ignoreQueryPrefix===!0,interpretNumericEntities:typeof p.interpretNumericEntities=="boolean"?p.interpretNumericEntities:n.interpretNumericEntities,parameterLimit:typeof p.parameterLimit=="number"?p.parameterLimit:n.parameterLimit,parseArrays:p.parseArrays!==!1,plainObjects:typeof p.plainObjects=="boolean"?p.plainObjects:n.plainObjects,strictDepth:typeof p.strictDepth=="boolean"?!!p.strictDepth:n.strictDepth,strictMerge:typeof p.strictMerge=="boolean"?!!p.strictMerge:n.strictMerge,strictNullHandling:typeof p.strictNullHandling=="boolean"?p.strictNullHandling:n.strictNullHandling,throwOnLimitExceeded:typeof p.throwOnLimitExceeded=="boolean"?p.throwOnLimitExceeded:!1}};return Xa=function(h,p){var m=d(p);if(h===""||h===null||typeof h>"u")return m.plainObjects?{__proto__:null}:{};for(var g=typeof h=="string"?l(h,m):h,b=m.plainObjects?{__proto__:null}:{},v=Object.keys(g),S=0;S<v.length;++S){var L=v[S],A=f(L,g[L],m,typeof h=="string");b=e.merge(b,A,m)}return m.allowSparse===!0?b:e.compact(b)},Xa}var Za,tu;function SS(){if(tu)return Za;tu=1;var e=wS(),t=PS(),r=ys();return Za={formats:r,parse:t,stringify:e},Za}var ru=SS(),ES=class{constructor(e){this.config={},this.defaults=e}extend(e){return e&&(this.defaults={...this.defaults,...e}),this}replace(e){this.config=e}get(e){return hd(this.config,e)?gt(this.config,e):gt(this.defaults,e)}set(e,t){typeof e=="string"?pt(this.config,e,t):Object.entries(e).forEach(([r,n])=>{pt(this.config,r,n)})}},Jt=new ES({form:{recentlySuccessfulDuration:2e3,forceIndicesArrayFormatInFormData:!0,withAllErrors:!1},future:{preserveEqualProps:!1,useDataInertiaHeadAttribute:!1,useDialogForErrorModal:!1,useScriptElementForInitialPage:!1},prefetch:{cacheFor:3e4,hoverDelay:75}});function vn(e,t){let r;return function(...n){clearTimeout(r),r=setTimeout(()=>e.apply(this,n),t)}}function Ze(e,t){return document.dispatchEvent(new CustomEvent(`inertia:${e}`,t))}var nu=e=>Ze("before",{cancelable:!0,detail:{visit:e}}),_S=e=>Ze("error",{detail:{errors:e}}),AS=e=>Ze("exception",{cancelable:!0,detail:{exception:e}}),xS=e=>Ze("finish",{detail:{visit:e}}),LS=e=>Ze("invalid",{cancelable:!0,detail:{response:e}}),TS=e=>Ze("beforeUpdate",{detail:{page:e}}),nn=e=>Ze("navigate",{detail:{page:e}}),CS=e=>Ze("progress",{detail:{progress:e}}),OS=e=>Ze("start",{detail:{visit:e}}),kS=e=>Ze("success",{detail:{page:e}}),IS=(e,t)=>Ze("prefetched",{detail:{fetchedAt:Date.now(),response:e.data,visit:t}}),DS=e=>Ze("prefetching",{detail:{visit:e}}),ai=e=>Ze("flash",{detail:{flash:e}}),Be=class{static set(e,t){typeof window<"u"&&window.sessionStorage.setItem(e,JSON.stringify(t))}static get(e){if(typeof window<"u")return JSON.parse(window.sessionStorage.getItem(e)||"null")}static merge(e,t){const r=this.get(e);r===null?this.set(e,t):this.set(e,{...r,...t})}static remove(e){typeof window<"u"&&window.sessionStorage.removeItem(e)}static removeNested(e,t){const r=this.get(e);r!==null&&(delete r[t],this.set(e,r))}static exists(e){try{return this.get(e)!==null}catch{return!1}}static clear(){typeof window<"u"&&window.sessionStorage.clear()}};Be.locationVisitKey="inertiaLocationVisit";var RS=async e=>{if(typeof window>"u")throw new Error("Unable to encrypt history");const t=Ad(),r=await xd(),n=await $S(r);if(!n)throw new Error("Unable to encrypt history");return await FS(t,n,e)},Nr={key:"historyKey",iv:"historyIv"},NS=async e=>{const t=Ad(),r=await xd();if(!r)throw new Error("Unable to decrypt history");return await MS(t,r,e)}
48,FS=async(e,t,r)=>{if(typeof window>"u")throw new Error("Unable to encrypt history");if(typeof window.crypto.subtle>"u")return console.warn("Encryption is not supported in this environment. SSL is required."),Promise.resolve(r);const n=new TextEncoder,i=JSON.stringify(r),a=new Uint8Array(i.length*3),o=n.encodeInto(i,a);return window.crypto.subtle.encrypt({name:"AES-GCM",iv:e},t,a.subarray(0,o.written))},MS=async(e,t,r)=>{if(typeof window.crypto.subtle>"u")return console.warn("Decryption is not supported in this environment. SSL is required."),Promise.resolve(r);const n=await window.crypto.subtle.decrypt({name:"AES-GCM",iv:e},t,r);return JSON.parse(new TextDecoder().decode(n))},Ad=()=>{const e=Be.get(Nr.iv);if(e)return new Uint8Array(e);const t=window.crypto.getRandomValues(new Uint8Array(12));return Be.set(Nr.iv,Array.from(t)),t},jS=async()=>typeof window.crypto.subtle>"u"?(console.warn("Encryption is not supported in this environment. SSL is required."),Promise.resolve(null)):window.crypto.subtle.generateKey({name:"AES-GCM",length:256},!0,["encrypt","decrypt"]),qS=async e=>{if(typeof window.crypto.subtle>"u")return console.warn("Encryption is not supported in this environment. SSL is required."),Promise.resolve();const t=await window.crypto.subtle.exportKey("raw",e);Be.set(Nr.key,Array.from(new Uint8Array(t)))},$S=async e=>{if(e)return e;const t=await jS();return t?(await qS(t),t):null},xd=async()=>{const e=Be.get(Nr.key);return e?await window.crypto.subtle.importKey("raw",new Uint8Array(e),{name:"AES-GCM",length:256},!0,["encrypt","decrypt"]):null},iu=e=>{const t={};for(const r of Object.keys(e))e[r]!==void 0&&(t[r]=e[r]);return t},Ld=(e,t,r)=>{if(e===t)return!0;for(const n in e)if(!r.includes(n)&&e[n]!==t[n]&&!BS(e[n],t[n]))return!1;for(const n in t)if(!r.includes(n)&&!(n in e))return!1;return!0},BS=(e,t)=>{switch(typeof e){case"object":return Ld(e,t,[]);case"function":return e.toString()===t.toString();default:return e===t}},VS={ms:1,s:1e3,m:1e3*60,h:1e3*60*60,d:1e3*60*60*24},au=e=>{if(typeof e=="number")return e;for(const[t,r]of Object.entries(VS))if(e.endsWith(t))return parseFloat(e)*r;return parseInt(e)},HS=class{constructor(){this.cached=[],this.inFlightRequests=[],this.removalTimers=[],this.currentUseId=null}add(e,t,{cacheFor:r,cacheTags:n}){if(this.findInFlight(e))return Promise.resolve();const a=this.findCached(e);if(!e.fresh&&a&&a.staleTimestamp>Date.now())return Promise.resolve();const[o,s]=this.extractStaleValues(r),l=new Promise((c,u)=>{t({...e,onCancel:()=>{this.remove(e),e.onCancel(),u()},onError:f=>{this.remove(e),e.onError(f),u()},onPrefetching(f){e.onPrefetching(f)},onPrefetched(f,d){e.onPrefetched(f,d)},onPrefetchResponse(f){c(f)},onPrefetchError(f){wt.removeFromInFlight(e),u(f)}})}).then(c=>{this.remove(e);const u=c.getPageResponse();B.mergeOncePropsIntoResponse(u),this.cached.push({params:{...e},staleTimestamp:Date.now()+o,expiresAt:Date.now()+s,response:l,singleUse:s===0,timestamp:Date.now(),inFlight:!1,tags:Array.isArray(n)?n:[n]});const f=this.getShortestOncePropTtl(u);return this.scheduleForRemoval(e,f?Math.min(s,f):s),this.removeFromInFlight(e),c.handlePrefetch(),c});return this.inFlightRequests.push({params:{...e},response:l,staleTimestamp:null,inFlight:!0}),l}removeAll(){this.cached=[],this.removalTimers.forEach(e=>{clearTimeout(e.timer)}),this.removalTimers=[]}removeByTags(e){this.cached=this.cached.filter(t=>!t.tags.some(r=>e.includes(r)))}remove(e){this.cached=this.cached.filter(t=>!this.paramsAreEqual(t.params,e)),this.clearTimer(e)}removeFromInFlight(e){this.inFlightRequests=this.inFlightRequests.filter(t=>!this.paramsAreEqual(t.params,e))}extractStaleValues(e){const[t,r]=this.cacheForToStaleAndExpires(e);return[au(t),au(r)]}cacheForToStaleAndExpires(e){if(!Array.isArray(e))return[e,e];switch(e.length){case 0:return[0,0];case 1:return[e[0],e[0]];default:return[e[0],e[1]]}}clearTimer(e){const t=this.removalTimers.find(r=>this.paramsAreEqual(r.params,e));t&&(clearTimeout(t.timer),this.removalTimers=this.removalTimers.filter(r=>r!==t))}scheduleForRemoval(e,t){if(!(typeof window>"u")&&(this.clearTimer(e),t>0)){const r=window.setTimeout(()=>this.remove(e),t);this.removalTimers.push({params:e,timer:r})}}
48get(e){return this.findCached(e)||this.findInFlight(e)}use(e,t){const r=`${t.url.pathname}-${Date.now()}-${Math.random().toString(36).substring(7)}`;return this.currentUseId=r,e.response.then(n=>{if(this.currentUseId===r)return n.mergeParams({...t,onPrefetched:()=>{}}),this.removeSingleUseItems(t),n.handle()})}removeSingleUseItems(e){this.cached=this.cached.filter(t=>this.paramsAreEqual(t.params,e)?!t.singleUse:!0)}findCached(e){return this.cached.find(t=>this.paramsAreEqual(t.params,e))||null}findInFlight(e){return this.inFlightRequests.find(t=>this.paramsAreEqual(t.params,e))||null}withoutPurposePrefetchHeader(e){const t=dt(e);return t.headers.Purpose==="prefetch"&&delete t.headers.Purpose,t}paramsAreEqual(e,t){return Ld(this.withoutPurposePrefetchHeader(e),this.withoutPurposePrefetchHeader(t),["showProgress","replace","prefetch","preserveScroll","preserveState","onBefore","onBeforeUpdate","onStart","onProgress","onFinish","onCancel","onSuccess","onError","onFlash","onPrefetched","onCancelToken","onPrefetching","async","viewTransition"])}updateCachedOncePropsFromCurrentPage(){this.cached.forEach(e=>{e.response.then(t=>{const r=t.getPageResponse();B.mergeOncePropsIntoResponse(r,{force:!0});for(const[o,s]of Object.entries(r.deferredProps??{})){const l=s.filter(c=>r.props[c]===void 0);l.length>0?r.deferredProps[o]=l:delete r.deferredProps[o]}const n=this.getShortestOncePropTtl(r);if(n===null)return;const i=e.expiresAt-Date.now(),a=Math.min(i,n);a>0?this.scheduleForRemoval(e.params,a):this.remove(e.params)})})}getShortestOncePropTtl(e){const t=Object.values(e.onceProps??{}).map(r=>r.expiresAt).filter(r=>!!r);return t.length===0?null:Math.min(...t)-Date.now()}},wt=new HS,eo=e=>{if(e.offsetParent===null)return!1;const t=e.getBoundingClientRect(),r=t.top<window.innerHeight&&t.bottom>=0,n=t.left<window.innerWidth&&t.right>=0;return r&&n},US=e=>{const t=o=>{const s=window.getComputedStyle(o);return["scroll","overlay"].includes(s.overflowY)?!0:s.overflowY!=="auto"?!1:["visible","clip"].includes(s.overflowX)?!0:n(s.maxHeight,o.style.height)||i(o,"height")},r=o=>{const s=window.getComputedStyle(o);return["scroll","overlay"].includes(s.overflowX)?!0:s.overflowX!=="auto"?!1:["visible","clip"].includes(s.overflowY)?!0:n(s.maxWidth,o.style.width)||i(o,"width")},n=(o,s)=>!!(o&&o!=="none"&&o!=="0px"||s&&s!=="auto"&&s!=="0"),i=(o,s)=>{const l=o.parentElement;if(!l)return!1;const c=window.getComputedStyle(l);if(["flex","inline-flex"].includes(c.display)){const u=["column","column-reverse"].includes(c.flexDirection);return s==="height"?u:!u}return["grid","inline-grid"].includes(c.display)};let a=e?.parentElement;for(;a;){const o=t(a)||r(a);if(window.getComputedStyle(a).display!=="contents"&&o)return a;a=a.parentElement}return null},Td=(e,t)=>{if(!t)return e.filter(a=>eo(a));const r=e.indexOf(t),n=[],i=[];for(let a=r;a>=0;a--){const o=e[a];if(eo(o))n.push(o);else break}for(let a=r+1;a<e.length;a++){const o=e[a];if(eo(o))i.push(o);else break}return[...n.reverse(),...i]},an=(e,t=1)=>{window.requestAnimationFrame(()=>{t>1?an(e,t-1):e()})},WS=(e,t=!1)=>{if(typeof window>"u")return null;if(!t){const n=document.getElementById(e);if(n?.dataset.page)return JSON.parse(n.dataset.page)}const r=document.querySelector(`script[data-page="${e}"][type="application/json"]`);return r?.textContent?JSON.parse(r.textContent):null},Zr=typeof window>"u",zS=!Zr&&/Firefox/i.test(window.navigator.userAgent),Ue=class{static save(){se.saveScrollPositions(this.getScrollRegions())}static getScrollRegions(){return Array.from(this.regions()).map(e=>({top:e.scrollTop,left:e.scrollLeft}))}static regions(){return document.querySelectorAll("[scroll-region]")}static scrollToTop(){if(zS&&getComputedStyle(document.documentElement).scrollBehavior==="smooth")return an(()=>window.scrollTo(0,0),2);window.scrollTo(0,0)}static reset(){!Zr&&window.location.hash||this.scrollToTop(),this.regions().forEach(t=>{typeof t.scrollTo=="function"?t.scrollTo(0,0):(t.scrollTop=0,t.scrollLeft=0)}),this.save(),this.scrollToAnchor()}static scrollToAnchor(){const e=Zr?null:window.location.hash;e&&setTimeout(()=>{const t=document.getElementById(e.slice(1));t?t.scrollIntoView():this.scrollToTop()})}static restore(e){Zr||window.requestAnimationFrame(()=>{this.restoreDocument(),this.restoreScrollRegions(e)})}
48static restoreScrollRegions(e){Zr||this.regions().forEach((t,r)=>{const n=e[r];n&&(typeof t.scrollTo=="function"?t.scrollTo(n.left,n.top):(t.scrollTop=n.top,t.scrollLeft=n.left))})}static restoreDocument(){const e=se.getDocumentScrollPosition();window.scrollTo(e.left,e.top)}static onScroll(e){const t=e.target;typeof t.hasAttribute=="function"&&t.hasAttribute("scroll-region")&&this.save()}static onWindowScroll(){se.saveDocumentScrollPosition({top:window.scrollY,left:window.scrollX})}},bs=e=>typeof File<"u"&&e instanceof File||e instanceof Blob||typeof FileList<"u"&&e instanceof FileList&&e.length>0;function Co(e){return bs(e)||e instanceof FormData&&Array.from(e.values()).some(t=>Co(t))||typeof e=="object"&&e!==null&&Object.values(e).some(t=>Co(t))}var Oo=e=>e instanceof FormData;function Cd(e,t=new FormData,r=null,n="brackets"){e=e||{};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&kd(t,Od(r,i,"indices"),e[i],n);return t}function Od(e,t,r){return e?r==="brackets"?`${e}[]`:`${e}[${t}]`:t}function kd(e,t,r,n){if(Array.isArray(r))return Array.from(r.keys()).forEach(i=>kd(e,Od(t,i.toString(),n),r[i],n));if(r instanceof Date)return e.append(t,r.toISOString());if(r instanceof File)return e.append(t,r,r.name);if(r instanceof Blob)return e.append(t,r);if(typeof r=="boolean")return e.append(t,r?"1":"0");if(typeof r=="string")return e.append(t,r);if(typeof r=="number")return e.append(t,`${r}`);if(r==null)return e.append(t,"");Cd(r,e,t,n)}function rt(e){return new URL(e.toString(),typeof window>"u"?void 0:window.location.toString())}var GS=(e,t,r,n,i)=>{let a=typeof e=="string"?rt(e):e;if((Co(t)||n)&&!Oo(t)&&(Jt.get("form.forceIndicesArrayFormatInFormData")&&(i="indices"),t=Cd(t,new FormData,null,i)),Oo(t))return[a,t];const[o,s]=vs(r,a,t,i);return[rt(o),s]};function vs(e,t,r,n="brackets"){const i=e==="get"&&!Oo(r)&&Object.keys(r).length>0,a=Id(t.toString()),o=a||t.toString().startsWith("/")||t.toString()==="",s=!o&&!t.toString().startsWith("#")&&!t.toString().startsWith("?"),l=/^[.]{1,2}([/]|$)/.test(t.toString()),c=t.toString().includes("?")||i,u=t.toString().includes("#"),f=new URL(t.toString(),typeof window>"u"?"http://localhost":window.location.toString());if(i){const d=/\[\d+\]/.test(decodeURIComponent(f.search)),h={ignoreQueryPrefix:!0,allowSparse:!0};f.search=ru.stringify({...ru.parse(f.search,h),...r},{encodeValuesOnly:!0,arrayFormat:d?"indices":n})}return[[a?`${f.protocol}//${f.host}`:"",o?f.pathname:"",s?f.pathname.substring(l?0:1):"",c?f.search:"",u?f.hash:""].join(""),i?{}:r]}function oi(e){return e=new URL(e.href),e.hash="",e}var ou=(e,t)=>{e.hash&&!t.hash&&oi(e).href===t.href&&(t.hash=e.hash)},si=(e,t)=>oi(e).href===oi(t).href,QS=(e,t)=>e.origin===t.origin&&e.pathname===t.pathname;function Dt(e){return e!==null&&typeof e=="object"&&e!==void 0&&"url"in e&&"method"in e}function Id(e){return/^([a-z][a-z0-9+.-]*:)?\/\/[^/]/i.test(e)}function KS(e,t){const r=typeof e=="string"?rt(e):e;return t?`${r.protocol}//${r.host}${r.pathname}${r.search}${r.hash}`:`${r.pathname}${r.search}${r.hash}`}var YS=class{constructor(){this.componentId={},this.listeners=[],this.isFirstPageLoad=!0,this.cleared=!1,this.pendingDeferredProps=null,this.historyQuotaExceeded=!1}init({initialPage:e,swapComponent:t,resolveComponent:r,onFlash:n}){return this.page={...e,flash:e.flash??{}},this.swapComponent=t,this.resolveComponent=r,this.onFlashCallback=n,St.on("historyQuotaExceeded",()=>{this.historyQuotaExceeded=!0}),this}set(e,{replace:t=!1,preserveScroll:r=!1,preserveState:n=!1,viewTransition:i=!1}={}){Object.keys(e.deferredProps||{}).length&&(this.pendingDeferredProps={deferredProps:e.deferredProps,component:e.component,url:e.url},e.initialDeferredProps===void 0&&(e.initialDeferredProps=e.deferredProps)),this.componentId={};const a=this.componentId;return e.clearHistory&&se.clear(),this.resolve(e.component).then(o=>{if(a!==this.componentId)return;e.rememberedState??(e.rememberedState={});const s=typeof window>"u",l=s?new URL(e.url):window.location,c=!s&&r?Ue.getScrollRegions():[];t=t||si(rt(e.url),l);const u={...e,flash:{}};return new Promise(f=>t?se.replaceState(u,f):se.pushState(u,f)).then(()=>{const f=!this.isTheSame(e);
48if(!f&&Object.keys(e.props.errors||{}).length>0&&(i=!1),this.page=e,this.cleared=!1,this.hasOnceProps()&&wt.updateCachedOncePropsFromCurrentPage(),f&&this.fireEventsFor("newComponent"),this.isFirstPageLoad&&this.fireEventsFor("firstLoad"),this.isFirstPageLoad=!1,this.historyQuotaExceeded){this.historyQuotaExceeded=!1;return}return this.swap({component:o,page:e,preserveState:n,viewTransition:i}).then(()=>{r?window.requestAnimationFrame(()=>Ue.restoreScrollRegions(c)):Ue.reset(),this.pendingDeferredProps&&this.pendingDeferredProps.component===e.component&&this.pendingDeferredProps.url===e.url&&St.fireInternalEvent("loadDeferredProps",this.pendingDeferredProps.deferredProps),this.pendingDeferredProps=null,t||nn(e)})})})}setQuietly(e,{preserveState:t=!1}={}){return this.resolve(e.component).then(r=>(this.page=e,this.cleared=!1,se.setCurrent(e),this.swap({component:r,page:e,preserveState:t,viewTransition:!1})))}clear(){this.cleared=!0}isCleared(){return this.cleared}get(){return this.page}getWithoutFlashData(){return{...this.page,flash:{}}}hasOnceProps(){return Object.keys(this.page.onceProps??{}).length>0}merge(e){this.page={...this.page,...e}}setFlash(e){this.page={...this.page,flash:e},this.onFlashCallback?.(e)}setUrlHash(e){this.page.url.includes(e)||(this.page.url+=e)}remember(e){this.page.rememberedState=e}swap({component:e,page:t,preserveState:r,viewTransition:n}){const i=()=>this.swapComponent({component:e,page:t,preserveState:r});if(!n||!document?.startViewTransition||document.visibilityState==="hidden")return i();const a=typeof n=="boolean"?()=>null:n;return new Promise(o=>{const s=document.startViewTransition(()=>i().then(o));s.ready.catch(()=>{}),a(s)})}resolve(e){return Promise.resolve(this.resolveComponent(e))}isTheSame(e){return this.page.component===e.component}on(e,t){return this.listeners.push({event:e,callback:t}),()=>{this.listeners=this.listeners.filter(r=>r.event!==e&&r.callback!==t)}}fireEventsFor(e){this.listeners.filter(t=>t.event===e).forEach(t=>t.callback())}mergeOncePropsIntoResponse(e,{force:t=!1}={}){Object.entries(e.onceProps??{}).forEach(([r,n])=>{const i=this.page.onceProps?.[r];i!==void 0&&(t||e.props[n.prop]===void 0)&&(e.props[n.prop]=this.page.props[i.prop],e.onceProps[r].expiresAt=i.expiresAt)})}},B=new YS,ki=class{constructor(){this.items=[],this.processingPromise=null}add(e){return this.items.push(e),this.process()}process(){return this.processingPromise??(this.processingPromise=this.processNext().finally(()=>{this.processingPromise=null})),this.processingPromise}processNext(){const e=this.items.shift();return e?Promise.resolve(e()).then(()=>this.processNext()):Promise.resolve()}},yr=typeof window>"u",Gr=new ki,su=!yr&&/CriOS/.test(window.navigator.userAgent),JS=class{constructor(){this.rememberedState="rememberedState",this.scrollRegions="scrollRegions",this.preserveUrl=!1,this.current={},this.initialState=null}remember(e,t){this.replaceState({...B.getWithoutFlashData(),rememberedState:{...B.get()?.rememberedState??{},[t]:e}})}restore(e){if(!yr)return this.current[this.rememberedState]?.[e]!==void 0?this.current[this.rememberedState]?.[e]:this.initialState?.[this.rememberedState]?.[e]}pushState(e,t=null){if(!yr){if(this.preserveUrl){t&&t();return}this.current=e,Gr.add(()=>this.getPageData(e).then(r=>{const n=()=>this.doPushState({page:r},e.url).then(()=>t?.());return su?new Promise(i=>{setTimeout(()=>n().then(i))}):n()}))}}clonePageProps(e){try{return structuredClone(e.props),e}catch{return{...e,props:dt(e.props)}}}getPageData(e){const t=this.clonePageProps(e);return new Promise(r=>e.encryptHistory?RS(t).then(r):r(t))}processQueue(){return Gr.process()}decrypt(e=null){if(yr)return Promise.resolve(e??B.get());const t=e??window.history.state?.page;return this.decryptPageData(t).then(r=>{if(!r)throw new Error("Unable to decrypt history");return this.initialState===null?this.initialState=r??void 0:this.current=r??{},r})}decryptPageData(e){return e instanceof ArrayBuffer?NS(e):Promise.resolve(e)}saveScrollPositions(e){Gr.add(()=>Promise.resolve().then(()=>{if(window.history.state?.page&&!ar(this.getScrollRegions(),e))return this.doReplaceState({page:window.history.state.page,scrollRegions:e})}))}saveDocumentScrollPosition(e){Gr.add(()=>Promise.resolve().then(()=>
48{if(window.history.state?.page&&!ar(this.getDocumentScrollPosition(),e))return this.doReplaceState({page:window.history.state.page,documentScrollPosition:e})}))}getScrollRegions(){return window.history.state?.scrollRegions||[]}getDocumentScrollPosition(){return window.history.state?.documentScrollPosition||{top:0,left:0}}replaceState(e,t=null){if(ar(this.current,e)){t&&t();return}const{flash:r,...n}=e;if(B.merge(n),!yr){if(this.preserveUrl){t&&t();return}this.current=e,Gr.add(()=>this.getPageData(e).then(i=>{const a=()=>this.doReplaceState({page:i},e.url).then(()=>t?.());return su?new Promise(o=>{setTimeout(()=>a().then(o))}):a()}))}}isHistoryThrottleError(e){return e instanceof Error&&e.name==="SecurityError"&&(e.message.includes("history.pushState")||e.message.includes("history.replaceState"))}isQuotaExceededError(e){return e instanceof Error&&e.name==="QuotaExceededError"}withThrottleProtection(e){return Promise.resolve().then(()=>{try{return e()}catch(t){if(!this.isHistoryThrottleError(t))throw t;console.error(t.message)}})}doReplaceState(e,t){return this.withThrottleProtection(()=>{window.history.replaceState({...e,scrollRegions:e.scrollRegions??window.history.state?.scrollRegions,documentScrollPosition:e.documentScrollPosition??window.history.state?.documentScrollPosition},"",t)})}doPushState(e,t){return this.withThrottleProtection(()=>{try{window.history.pushState(e,"",t)}catch(r){if(!this.isQuotaExceededError(r))throw r;St.fireInternalEvent("historyQuotaExceeded",t)}})}getState(e,t){return this.current?.[e]??t}deleteState(e){this.current[e]!==void 0&&(delete this.current[e],this.replaceState(this.current))}clearInitialState(e){this.initialState&&this.initialState[e]!==void 0&&delete this.initialState[e]}browserHasHistoryEntry(){return!yr&&!!window.history.state?.page}clear(){Be.remove(Nr.key),Be.remove(Nr.iv)}setCurrent(e){this.current=e}isValidState(e){return!!e.page}getAllState(){return this.current}};typeof window<"u"&&window.history.scrollRestoration&&(window.history.scrollRestoration="manual");var se=new JS,XS=class{constructor(){this.internalListeners=[]}init(){typeof window<"u"&&(window.addEventListener("popstate",this.handlePopstateEvent.bind(this)),window.addEventListener("pageshow",this.handlePageshowEvent.bind(this)),window.addEventListener("scroll",vn(Ue.onWindowScroll.bind(Ue),100),!0)),typeof document<"u"&&document.addEventListener("scroll",vn(Ue.onScroll.bind(Ue),100),!0)}onGlobalEvent(e,t){const r=(n=>{const i=t(n);n.cancelable&&!n.defaultPrevented&&i===!1&&n.preventDefault()});return this.registerListener(`inertia:${e}`,r)}on(e,t){return this.internalListeners.push({event:e,listener:t}),()=>{this.internalListeners=this.internalListeners.filter(r=>r.listener!==t)}}onMissingHistoryItem(){B.clear(),this.fireInternalEvent("missingHistoryItem")}fireInternalEvent(e,...t){this.internalListeners.filter(r=>r.event===e).forEach(r=>r.listener(...t))}registerListener(e,t){return document.addEventListener(e,t),()=>document.removeEventListener(e,t)}handlePageshowEvent(e){e.persisted&&se.decrypt().catch(()=>this.onMissingHistoryItem())}handlePopstateEvent(e){const t=e.state||null;if(t===null){const r=rt(B.get().url);r.hash=window.location.hash,se.replaceState({...B.getWithoutFlashData(),url:r.href}),Ue.reset();return}if(!se.isValidState(t))return this.onMissingHistoryItem();se.decrypt(t.page).then(r=>{if(B.get().version!==r.version){this.onMissingHistoryItem();return}Ae.cancelAll({prefetch:!1}),B.setQuietly(r,{preserveState:!1}).then(()=>{Ue.restore(se.getScrollRegions()),nn(B.get());const n={},i=B.get().props;for(const[a,o]of Object.entries(r.initialDeferredProps??r.deferredProps??{})){const s=o.filter(l=>i[l]===void 0);s.length>0&&(n[a]=s)}Object.keys(n).length>0&&this.fireInternalEvent("loadDeferredProps",n)})}).catch(()=>{this.onMissingHistoryItem()})}},St=new XS,ZS=class{constructor(){this.type=this.resolveType()}resolveType(){return typeof window>"u"?"navigate":window.performance&&window.performance.getEntriesByType&&window.performance.getEntriesByType("navigation").length>0?window.performance.getEntriesByType("navigation")[0].type:"navigate"}get(){return this.type}isBackForward(){return this.type==="back_forward"}isReload(){return this.type==="reload"}},to=new ZS,e0=class{static handle(){this.clearRememberedStateOnReload(),[this.handleBackForward,this.handleLocation,this.handleDefault].find(t=>t.bind(this)())}static clearRememberedStateOnReload(){to.isReload()&&(se.deleteState(se.rememberedState),se.clearInitialState(se.rememberedState))}static handleBackForward(){if(!to.isBackForward()||!se.browserHasHistoryEntry())return!1;const e=se.getScrollRegions();return se.decrypt().then(t=>{B.set(t,{preserveScroll:!0,preserveState:!0}).then(()=>{Ue.restore(e),nn(B.get())})}).catch(()=>{St.onMissingHistoryItem()}),!0}static handleLocation(){if(!Be.exists(Be.locationVisitKey))return!1;const e=Be.get(Be.locationVisitKey)||{};return Be.remove(Be.locationVisitKey),typeof window<"u"&&B.setUrlHash(window.location.hash),se.decrypt(B.get()).then(()=>{const t=se.getState(se.rememberedState,{}),r=se.getScrollRegions();B.remember(t),B.set(B.get(),{preserveScroll:e.preserveScroll,preserveState:!0}).then(()=>{e.preserveScroll&&Ue.restore(r),nn(B.get())})}).catch(()=>{St.onMissingHistoryItem()}),!0}static handleDefault(){typeof window<"u"&&B.setUrlHash(window.location.hash),B.set(B.get(),{preserveScroll:!0,preserveState:!0}).then(()=>{to.isReload()?Ue.restore(se.getScrollRegions()):Ue.scrollToAnchor();const e=B.get();nn(e);const t=e.flash;Object.keys(t).length>0&&queueMicrotask(()=>ai(t))})}},t0=class{constructor(e,t,r){this.intervalId=null,this.timeoutId=null,this.throttle=!1,this.keepAlive=!1,this.cbCount=0,this.inFlight=!1,this.currentCancel=null,this.stopped=!0,this.instanceId=0,this.keepAlive=r.keepAlive??!1,this.mode=r.mode??"overlap",this.cb=t,this.interval=e,(r.autoStart??!0)&&this.start()}stop(){this.stopped=!0,this.instanceId++,this.inFlight=!1,this.currentCancel=null,this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null),this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}
48start(){if(!(typeof window>"u")){if(this.stop(),this.stopped=!1,this.mode==="rest"){this.scheduleNext();return}this.intervalId=window.setInterval(()=>this.tick(),this.interval)}}isInBackground(e){this.throttle=this.keepAlive?!1:e,this.throttle&&(this.cbCount=0)}scheduleNext(){this.stopped||(this.timeoutId=window.setTimeout(()=>{this.timeoutId=null,this.tick()},this.interval))}tick(){!this.throttle||this.cbCount%10===0?this.fire():this.mode==="rest"&&this.scheduleNext(),this.throttle&&this.cbCount++}fire(){this.inFlight&&this.mode==="cancel"&&this.currentCancel?.();const e=this.instanceId;this.cb({onStart:t=>{e===this.instanceId&&(this.inFlight=!0,this.currentCancel=t)},onFinish:()=>{e===this.instanceId&&(this.inFlight=!1,this.currentCancel=null,this.mode==="rest"&&this.scheduleNext())}})}},r0=class{constructor(){this.polls=[],this.setupVisibilityListener()}get count(){return this.polls.length}add(e,t,r){const n=new t0(e,t,r);return this.polls.push(n),{stop:()=>n.stop(),start:()=>n.start(),destroy:()=>{n.stop(),this.polls=this.polls.filter(i=>i!==n)}}}clear(){this.polls.forEach(e=>e.stop()),this.polls=[]}setupVisibilityListener(){typeof document>"u"||document.addEventListener("visibilitychange",()=>{this.polls.forEach(e=>e.isInBackground(document.hidden))},!1)}},lu=new r0,ko=class zn{constructor(t){if(this.callbacks=[],!t.prefetch)this.params=t;else{const r={onBefore:this.wrapCallback(t,"onBefore"),onBeforeUpdate:this.wrapCallback(t,"onBeforeUpdate"),onStart:this.wrapCallback(t,"onStart"),onProgress:this.wrapCallback(t,"onProgress"),onFinish:this.wrapCallback(t,"onFinish"),onCancel:this.wrapCallback(t,"onCancel"),onSuccess:this.wrapCallback(t,"onSuccess"),onError:this.wrapCallback(t,"onError"),onFlash:this.wrapCallback(t,"onFlash"),onCancelToken:this.wrapCallback(t,"onCancelToken"),onPrefetched:this.wrapCallback(t,"onPrefetched"),onPrefetching:this.wrapCallback(t,"onPrefetching")};this.params={...t,...r,onPrefetchResponse:t.onPrefetchResponse||(()=>{}),onPrefetchError:t.onPrefetchError||(()=>{})}}}static create(t){return new zn(t)}data(){return this.params.method==="get"?null:this.params.data}queryParams(){return this.params.method==="get"?this.params.data:{}}isPartial(){return this.params.only.length>0||this.params.except.length>0||this.params.reset.length>0}isPrefetch(){return this.params.prefetch===!0}isDeferredPropsRequest(){return this.params.deferredProps===!0}onCancelToken(t){this.params.onCancelToken({cancel:t})}markAsFinished(){this.params.completed=!0,this.params.cancelled=!1,this.params.interrupted=!1}markAsCancelled({cancelled:t=!0,interrupted:r=!1}){this.params.onCancel(),this.params.completed=!1,this.params.cancelled=t,this.params.interrupted=r}wasCancelledAtAll(){return this.params.cancelled||this.params.interrupted}onFinish(){this.params.onFinish(this.params)}onStart(){this.params.onStart(this.params)}onPrefetching(){this.params.onPrefetching(this.params)}onPrefetchResponse(t){this.params.onPrefetchResponse&&this.params.onPrefetchResponse(t)}onPrefetchError(t){this.params.onPrefetchError&&this.params.onPrefetchError(t)}all(){return this.params}headers(){const t={...this.params.headers};this.isPartial()&&(t["X-Inertia-Partial-Component"]=B.get().component);const r=this.params.only.concat(this.params.reset);return r.length>0&&(t["X-Inertia-Partial-Data"]=r.join(",")),this.params.except.length>0&&(t["X-Inertia-Partial-Except"]=this.params.except.join(",")),this.params.reset.length>0&&(t["X-Inertia-Reset"]=this.params.reset.join(",")),this.params.errorBag&&this.params.errorBag.length>0&&(t["X-Inertia-Error-Bag"]=this.params.errorBag),t}setPreserveOptions(t){this.params.preserveScroll=zn.resolvePreserveOption(this.params.preserveScroll,t),this.params.preserveState=zn.resolvePreserveOption(this.params.preserveState,t)}runCallbacks(){this.callbacks.forEach(({name:t,args:r})=>{this.params[t](...r)})}merge(t){this.params={...this.params,...t}}wrapCallback(t,r){return(...n)=>{this.recordCallback(r,n),t[r](...n)}}recordCallback(t,r){this.callbacks.push({name:t,args:r})}static resolvePreserveOption(t,r){return typeof t=="function"?t(r):t==="errors"?Object.keys(r.props.errors||{}).length>0:t}},Dd={modal:null,listener:null,previousBodyOverflow:null,createIframeAndPage(e){typeof e=="object"&&(e=`All Inertia requests must receive a valid Inertia response, however a plain JSON response was received.<hr>${JSON.stringify(e)}`);const t=document.createElement("html");t.innerHTML=e,t.querySelectorAll("a").forEach(n=>n.setAttribute("target","_top"));const r=document.createElement("iframe");return r.style.backgroundColor="white",r.style.borderRadius="5px",r.style.width="100%",r.style.height="100%",r.setAttribute("sandbox","allow-scripts"),{iframe:r,page:t}},show(e){const{iframe:t,page:r}=this.createIframeAndPage(e);this.modal=document.createElement("div"),this.modal.style.position="fixed",this.modal.style.width="100vw",this.modal.style.height="100vh",this.modal.style.padding="50px",this.modal.style.boxSizing="border-box",this.modal.style.backgroundColor="rgba(0, 0, 0, .6)",this.modal.style.zIndex=2e5,this.modal.addEventListener("click",()=>this.hide()),this.modal.appendChild(t),document.body.prepend(this.modal),this.previousBodyOverflow=document.body.style.overflow,document.body.style.overflow="hidden",t.srcdoc=r.outerHTML,this.listener=this.hideOnEscape.bind(this),document.addEventListener("keydown",this.listener)},hide(){this.modal.outerHTML="",this.modal=null,document.body.style.overflow=this.previousBodyOverflow??"",this.previousBodyOverflow=null,document.removeEventListener("keydown",this.listener)},hideOnEscape(e){e.keyCode===27&&this.hide()}},n0={show(e){const{iframe:t,page:r}=Dd.createIframeAndPage(e);t.style.boxSizing="border-box",t.style.display="block";const n=document.createElement("dialog");n.id="inertia-error-dialog",Object.assign(n.style,{width:"calc(100vw - 100px)",height:"calc(100vh - 100px)",padding:"0",margin:"auto",border:"none",backgroundColor:"transparent"});const i=document.createElement("style");i.textContent=` 49 dialog#inertia-error-dialog::backdrop { 50 background-color: rgba(0, 0, 0, 0.6); 51 } 52 53 dialog#inertia-error-dialog:focus { 54 outline: none; 55 } 56 `,document.head.appendChild(i),n.addEventListener("click",a=>{a.target===n&&n.close()}),n.addEventListener("close",()=>{i.remove(),n.remove()}),n.appendChild(t),document.body.prepend(n),n.showModal(),n.focus(),t.srcdoc=r.outerHTML}}
56,i0=new ki,cu=class Rd{constructor(t,r,n){this.requestParams=t,this.response=r,this.originatingPage=n,this.wasPrefetched=!1}static create(t,r,n){return new Rd(t,r,n)}async handlePrefetch(){si(this.requestParams.all().url,window.location)&&this.handle()}async handle(){return i0.add(()=>this.process())}async process(){if(this.requestParams.all().prefetch)return this.wasPrefetched=!0,this.requestParams.all().prefetch=!1,this.requestParams.all().onPrefetched(this.response,this.requestParams.all()),IS(this.response,this.requestParams.all()),Promise.resolve();if(this.requestParams.runCallbacks(),!this.isInertiaResponse())return this.handleNonInertiaResponse();await se.processQueue(),se.preserveUrl=this.requestParams.all().preserveUrl,await this.setPage();const t=B.get().props.errors||{};if(Object.keys(t).length>0){const n=this.getScopedErrors(t);return _S(n),this.requestParams.all().onError(n)}Ae.flushByCacheTags(this.requestParams.all().invalidateCacheTags||[]),this.wasPrefetched||Ae.flush(B.get().url);const{flash:r}=B.get();Object.keys(r).length>0&&!this.requestParams.isDeferredPropsRequest()&&(ai(r),this.requestParams.all().onFlash(r)),kS(B.get()),await this.requestParams.all().onSuccess(B.get()),se.preserveUrl=!1}mergeParams(t){this.requestParams.merge(t)}getPageResponse(){const t=this.getDataFromResponse(this.response.data);return typeof t=="object"?this.response.data={...t,flash:t.flash??{}}:this.response.data=t}async handleNonInertiaResponse(){if(this.isLocationVisit()){const r=rt(this.getHeader("x-inertia-location"));return ou(this.requestParams.all().url,r),this.locationVisit(r)}const t={...this.response,data:this.getDataFromResponse(this.response.data)};if(LS(t))return Jt.get("future.useDialogForErrorModal")?n0.show(t.data):Dd.show(t.data)}isInertiaResponse(){return this.hasHeader("x-inertia")}hasStatus(t){return this.response.status===t}getHeader(t){return this.response.headers[t]}hasHeader(t){return this.getHeader(t)!==void 0}isLocationVisit(){return this.hasStatus(409)&&this.hasHeader("x-inertia-location")}locationVisit(t){try{if(Be.set(Be.locationVisitKey,{preserveScroll:this.requestParams.all().preserveScroll===!0}),typeof window>"u")return;si(window.location,t)?window.location.reload():window.location.href=t.href}catch{return!1}}async setPage(){const t=this.getPageResponse();return this.shouldSetPage(t)?(this.mergeProps(t),B.mergeOncePropsIntoResponse(t),this.preserveEqualProps(t),await this.setRememberedState(t),this.requestParams.setPreserveOptions(t),t.url=se.preserveUrl?B.get().url:this.pageUrl(t),this.requestParams.all().onBeforeUpdate(t),TS(t),B.set(t,{replace:this.requestParams.all().replace,preserveScroll:this.requestParams.all().preserveScroll,preserveState:this.requestParams.all().preserveState,viewTransition:this.requestParams.all().viewTransition})):Promise.resolve()}getDataFromResponse(t){if(typeof t!="string")return t;try{return JSON.parse(t)}catch{return t}}shouldSetPage(t){if(!this.requestParams.all().async||this.originatingPage.component!==t.component)return!0;if(this.originatingPage.component!==B.get().component)return!1;const r=rt(this.originatingPage.url),n=rt(B.get().url);return r.origin===n.origin&&r.pathname===n.pathname}pageUrl(t){const r=rt(t.url);return ou(this.requestParams.all().url,r),r.pathname+r.search+r.hash}preserveEqualProps(t){if(t.component!==B.get().component||Jt.get("future.preserveEqualProps")!==!0)return;const r=B.get().props;Object.entries(t.props).forEach(([n,i])=>{ar(i,r[n])&&(t.props[n]=r[n])})}mergeProps(t){if(!this.requestParams.isPartial()||t.component!==B.get().component)return;const r=t.mergeProps||[],n=t.prependProps||[],i=t.deepMergeProps||[],a=t.matchPropsOn||[],o=(l,c)=>{const u=gt(B.get().props,l),f=gt(t.props,l);if(Array.isArray(f)){const d=this.mergeOrMatchItems(u||[],f,l,a,c);pt(t.props,l,d)}else if(typeof f=="object"&&f!==null){const d={...u||{},...f};pt(t.props,l,d)}};if(r.forEach(l=>o(l,!0)),n.forEach(l=>
56o(l,!1)),i.forEach(l=>{const c=B.get().props[l],u=t.props[l],f=(d,h,p)=>Array.isArray(h)?this.mergeOrMatchItems(d,h,p,a):typeof h=="object"&&h!==null?Object.keys(h).reduce((m,g)=>(m[g]=f(d?d[g]:void 0,h[g],`${p}.${g}`),m),{...d}):h;t.props[l]=f(c,u,l)}),t.props={...B.get().props,...t.props},this.requestParams.isDeferredPropsRequest()){const l=B.get().props.errors;l&&Object.keys(l).length>0&&(t.props.errors=l)}B.get().scrollProps&&(t.scrollProps={...B.get().scrollProps||{},...t.scrollProps||{}}),B.hasOnceProps()&&(t.onceProps={...B.get().onceProps||{},...t.onceProps||{}}),this.requestParams.isDeferredPropsRequest()&&(t.flash={...B.get().flash});const s=B.get().initialDeferredProps;s&&Object.keys(s).length>0&&(t.initialDeferredProps=s)}mergeOrMatchItems(t,r,n,i,a=!0){const o=Array.isArray(t)?t:[],s=i.find(u=>u.split(".").slice(0,-1).join(".")===n);if(!s)return a?[...o,...r]:[...r,...o];const l=s.split(".").pop()||"",c=new Map;return r.forEach(u=>{this.hasUniqueProperty(u,l)&&c.set(u[l],u)}),a?this.appendWithMatching(o,r,c,l):this.prependWithMatching(o,r,c,l)}appendWithMatching(t,r,n,i){const a=t.map(s=>this.hasUniqueProperty(s,i)&&n.has(s[i])?n.get(s[i]):s),o=r.filter(s=>this.hasUniqueProperty(s,i)?!t.some(l=>this.hasUniqueProperty(l,i)&&l[i]===s[i]):!0);return[...a,...o]}prependWithMatching(t,r,n,i){const a=t.filter(o=>this.hasUniqueProperty(o,i)?!n.has(o[i]):!0);return[...r,...a]}hasUniqueProperty(t,r){return t&&typeof t=="object"&&r in t}async setRememberedState(t){const r=await se.getState(se.rememberedState,{});this.requestParams.all().preserveState&&r&&t.component===B.get().component&&(t.rememberedState=r)}getScopedErrors(t){return this.requestParams.all().errorBag?t[this.requestParams.all().errorBag||""]||{}:t}},uu=class Nd{constructor(t,r){this.page=r,this.requestHasFinished=!1,this.requestParams=ko.create(t),this.cancelToken=new AbortController}static create(t,r){return new Nd(t,r)}isPrefetch(){return this.requestParams.isPrefetch()}async send(){this.requestParams.onCancelToken(()=>this.cancel({cancelled:!0})),OS(this.requestParams.all()),this.requestParams.onStart(),this.requestParams.all().prefetch&&(this.requestParams.onPrefetching(),DS(this.requestParams.all()));const t=this.requestParams.all().prefetch;return oo({method:this.requestParams.all().method,url:oi(this.requestParams.all().url).href,data:this.requestParams.data(),params:this.requestParams.queryParams(),signal:this.cancelToken.signal,headers:this.getHeaders(),onUploadProgress:this.onProgress.bind(this),responseType:"text"}).then(r=>(this.response=cu.create(this.requestParams,r,this.page),this.response.handle())).catch(r=>r?.response?(this.response=cu.create(this.requestParams,r.response,this.page),this.response.handle()):Promise.reject(r)).catch(r=>{if(!oo.isCancel(r)&&AS(r))return t&&this.requestParams.onPrefetchError(r),Promise.reject(r)}).finally(()=>{this.finish(),t&&this.response&&this.requestParams.onPrefetchResponse(this.response)})}finish(){this.requestParams.wasCancelledAtAll()||(this.requestParams.markAsFinished(),this.fireFinishEvents())}fireFinishEvents(){this.requestHasFinished||(this.requestHasFinished=!0,xS(this.requestParams.all()),this.requestParams.onFinish())}cancel({cancelled:t=!1,interrupted:r=!1}){this.requestHasFinished||(this.cancelToken.abort(),this.requestParams.markAsCancelled({cancelled:t,interrupted:r}),this.fireFinishEvents())}onProgress(t){this.requestParams.data()instanceof FormData&&(t.percentage=t.progress?Math.round(t.progress*100):0,CS(t),this.requestParams.all().onProgress(t))}getHeaders(){const t={...this.requestParams.headers(),Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0},r=B.get();r.version&&(t["X-Inertia-Version"]=r.version);const n=Object.entries(r.onceProps||{}).filter(([,i])=>r.props[i.prop]===void 0?!1:!i.expiresAt||i.expiresAt>Date.now()).map(([i])=>i);return n.length>0&&(t["X-Inertia-Except-Once-Props"]=n.join(",")),t}},fu=class{constructor({maxConcurrent:e,interruptible:t}){this.requests=[],this.maxConcurrent=e,this.interruptible=t}send(e){this.requests.push(e),e.send().finally(()=>{this.requests=this.requests.filter(t=>t!==e)})}interruptInFlight(){this.cancel({interrupted:!0},!1)}cancelInFlight({prefetch:e=!0}={}){this.requests.filter(t=>
56e||!t.isPrefetch()).forEach(t=>t.cancel({cancelled:!0}))}cancel({cancelled:e=!1,interrupted:t=!1}={},r=!1){if(!r&&!this.shouldCancel())return;this.requests.shift()?.cancel({cancelled:e,interrupted:t})}shouldCancel(){return this.interruptible&&this.requests.length>=this.maxConcurrent}},a0=class{constructor(){this.syncRequestStream=new fu({maxConcurrent:1,interruptible:!0}),this.asyncRequestStream=new fu({maxConcurrent:1/0,interruptible:!1}),this.clientVisitQueue=new ki}init({initialPage:e,resolveComponent:t,swapComponent:r,onFlash:n}){B.init({initialPage:e,resolveComponent:t,swapComponent:r,onFlash:n}),e0.handle(),St.init(),St.on("missingHistoryItem",()=>{typeof window<"u"&&this.visit(window.location.href,{preserveState:!0,preserveScroll:!0,replace:!0})}),St.on("loadDeferredProps",i=>{this.loadDeferredProps(i)}),St.on("historyQuotaExceeded",i=>{window.location.href=i})}get(e,t={},r={}){return this.visit(e,{...r,method:"get",data:t})}post(e,t={},r={}){return this.visit(e,{preserveState:!0,...r,method:"post",data:t})}put(e,t={},r={}){return this.visit(e,{preserveState:!0,...r,method:"put",data:t})}patch(e,t={},r={}){return this.visit(e,{preserveState:!0,...r,method:"patch",data:t})}delete(e,t={}){return this.visit(e,{preserveState:!0,...t,method:"delete"})}reload(e={}){return this.doReload(e)}doReload(e={}){if(!(typeof window>"u"))return this.visit(window.location.href,{...e,preserveScroll:!0,preserveState:!0,async:!0,headers:{...e.headers||{},"Cache-Control":"no-cache"}})}remember(e,t="default"){se.remember(e,t)}restore(e="default"){return se.restore(e)}on(e,t){return typeof window>"u"?()=>{}:St.onGlobalEvent(e,t)}cancel(){this.syncRequestStream.cancelInFlight()}get activePolls(){return lu.count}cancelAll({async:e=!0,prefetch:t=!0,sync:r=!0}={}){e&&this.asyncRequestStream.cancelInFlight({prefetch:t}),r&&this.syncRequestStream.cancelInFlight()}poll(e,t={},r={}){return lu.add(e,({onStart:n,onFinish:i})=>{const a=typeof t=="function"?t():t;this.reload({...a,onCancelToken:o=>{n(o.cancel),a.onCancelToken?.(o)},onFinish:o=>{i(),a.onFinish?.(o)}})},{autoStart:r.autoStart??!0,keepAlive:r.keepAlive??!1,mode:r.mode})}visit(e,t={}){const r=this.getPendingVisit(e,{...t,showProgress:t.showProgress??!t.async}),n=this.getVisitEvents(t);if(n.onBefore(r)===!1||!nu(r))return;const i=rt(B.get().url);(r.only.length>0||r.except.length>0||r.reset.length>0?QS(r.url,i):si(r.url,i))||this.asyncRequestStream.cancelInFlight({prefetch:!1}),r.async||this.syncRequestStream.interruptInFlight(),!B.isCleared()&&!r.preserveUrl&&Ue.save();const s={...r,...n},l=wt.get(s);l?(Ge.reveal(l.inFlight),wt.use(l,s)):(Ge.reveal(!0),(r.async?this.asyncRequestStream:this.syncRequestStream).send(uu.create(s,B.get())))}getCached(e,t={}){return wt.findCached(this.getPrefetchParams(e,t))}flush(e,t={}){wt.remove(this.getPrefetchParams(e,t))}flushAll(){wt.removeAll()}flushByCacheTags(e){wt.removeByTags(Array.isArray(e)?e:[e])}getPrefetching(e,t={}){return wt.findInFlight(this.getPrefetchParams(e,t))}prefetch(e,t={},r={}){if((t.method??(Dt(e)?e.method:"get"))!=="get")throw new Error("Prefetch requests must use the GET method");const i=this.getPendingVisit(e,{...t,async:!0,showProgress:!1,prefetch:!0,viewTransition:!1}),a=i.url.origin+i.url.pathname+i.url.search,o=window.location.origin+window.location.pathname+window.location.search;if(a===o)return;const s=this.getVisitEvents(t);if(s.onBefore(i)===!1||!nu(i))return;Ge.hide(),this.asyncRequestStream.interruptInFlight();const l={...i,...s};new Promise(u=>{const f=()=>{B.get()?u():setTimeout(f,50)};f()}).then(()=>{wt.add(l,u=>{this.asyncRequestStream.send(uu.create(u,B.get()))},{cacheFor:Jt.get("prefetch.cacheFor"),cacheTags:[],...r})})}clearHistory(){se.clear()}decryptHistory(){return se.decrypt()}resolveComponent(e){return B.resolve(e)}replace(e){this.clientVisit(e,{replace:!0})}replaceProp(e,t,r){this.replace({preserveScroll:!0,preserveState:!0,props(n){const i=typeof t=="function"?t(gt(n,e),n):t;return pt(dt(n),e,i)},...r||{}})}appendToProp(e,t,r){this.replaceProp(e,(n,i)=>{const a=typeof t=="function"?t(n,i):t;return Array.isArray(n)||(n=n!==void 0?[n]:[]),[...n,a]},r)}prependToProp(e,t,r){this.replaceProp(e,(n,i)=>{const a=typeof t=="function"?t(n,i):t;return Array.isArray(n)||(n=n!==void 0?[n]:[]),[a,...n]},r)}push(e){this.clientVisit(e)}flash(e,t){const r=B.get().flash;let n;if(typeof e=="function")n=e(r);else if(typeof e=="string")n={...r,[e]:t};else if(e&&Object.keys(e).length)n={...r,...e};else return;
56B.setFlash(n),Object.keys(n).length&&ai(n)}clientVisit(e,{replace:t=!1}={}){this.clientVisitQueue.add(()=>this.performClientVisit(e,{replace:t}))}performClientVisit(e,{replace:t=!1}={}){const r=B.get(),n=typeof e.props=="function"?Object.fromEntries(Object.values(r.onceProps??{}).map(m=>[m.prop,r.props[m.prop]])):{},i=typeof e.props=="function"?e.props(r.props,n):e.props??r.props,a=typeof e.flash=="function"?e.flash(r.flash):e.flash,{viewTransition:o,onError:s,onFinish:l,onFlash:c,onSuccess:u,...f}=e,d={...r,...f,flash:a??{},props:i},h=ko.resolvePreserveOption(e.preserveScroll??!1,d),p=ko.resolvePreserveOption(e.preserveState??!1,d);return B.set(d,{replace:t,preserveScroll:h,preserveState:p,viewTransition:o}).then(()=>{const m=B.get().flash;Object.keys(m).length>0&&(ai(m),c?.(m));const g=B.get().props.errors||{};if(Object.keys(g).length===0){u?.(B.get());return}const b=e.errorBag?g[e.errorBag||""]||{}:g;s?.(b)}).finally(()=>l?.(e))}getPrefetchParams(e,t){return{...this.getPendingVisit(e,{...t,async:!0,showProgress:!1,prefetch:!0,viewTransition:!1}),...this.getVisitEvents(t)}}getPendingVisit(e,t,r={}){if(Dt(e)){const c=e;e=c.url,t.method=t.method??c.method}const n=Jt.get("visitOptions"),i=n?n(e.toString(),dt(t))||{}:{},a={method:"get",data:{},replace:!1,preserveScroll:!1,preserveState:!1,only:[],except:[],headers:{},errorBag:"",forceFormData:!1,queryStringArrayFormat:"brackets",async:!1,showProgress:!0,fresh:!1,reset:[],preserveUrl:!1,prefetch:!1,invalidateCacheTags:[],viewTransition:!1,...iu(t),...iu(i)},[o,s]=GS(e,a.data,a.method,a.forceFormData,a.queryStringArrayFormat),l={cancelled:!1,completed:!1,interrupted:!1,...a,...r,url:o,data:s};return l.prefetch&&(l.headers.Purpose="prefetch"),l}getVisitEvents(e){return{onCancelToken:e.onCancelToken||(()=>{}),onBefore:e.onBefore||(()=>{}),onBeforeUpdate:e.onBeforeUpdate||(()=>{}),onStart:e.onStart||(()=>{}),onProgress:e.onProgress||(()=>{}),onFinish:e.onFinish||(()=>{}),onCancel:e.onCancel||(()=>{}),onSuccess:e.onSuccess||(()=>{}),onError:e.onError||(()=>{}),onFlash:e.onFlash||(()=>{}),onPrefetched:e.onPrefetched||(()=>{}),onPrefetching:e.onPrefetching||(()=>{})}}loadDeferredProps(e){e&&Object.entries(e).forEach(([t,r])=>{this.doReload({only:r,deferredProps:!0})})}},Gn=class{static createWayfinderCallback(...e){return()=>e.length===1?Dt(e[0])?e[0]:e[0]():{method:typeof e[0]=="function"?e[0]():e[0],url:typeof e[1]=="function"?e[1]():e[1]}}static parseUseFormArguments(...e){return e.length===0?{rememberKey:null,data:{},precognitionEndpoint:null}:e.length===1?{rememberKey:null,data:e[0],precognitionEndpoint:null}:e.length===2?typeof e[0]=="string"?{rememberKey:e[0],data:e[1],precognitionEndpoint:null}:{rememberKey:null,data:e[1],precognitionEndpoint:this.createWayfinderCallback(e[0])}:{rememberKey:null,data:e[2],precognitionEndpoint:this.createWayfinderCallback(e[0],e[1])}}static parseSubmitArguments(e,t){return e.length===3||e.length===2&&typeof e[0]=="string"?{method:e[0],url:e[1],options:e[2]??{}}:Dt(e[0])?{...e[0],options:e[1]??{}}:{...t(),options:e[0]??{}}}static mergeHeadersForValidation(e,t,r){const n=i=>(i.headers={...r??{},...i.headers??{}},i);return e&&typeof e=="object"&&!("target"in e)?e=n(e):t&&typeof t=="object"?t=n(t):typeof e=="string"?t=n(t??{}):e=n(e??{}),[e,t]}};function o0(e){if(!e.includes("."))return e;const t=r=>r.startsWith("[")&&r.endsWith("]")?r:r.split(".").reduce((n,i,a)=>a===0?i:`${n}[${i}]`);return e.replace(/\\\./g,"__ESCAPED_DOT__").split(/(\[[^\]]*\])/).filter(Boolean).map(t).join("").replace(/__ESCAPED_DOT__/g,".")}function s0(e){const t=[],r=/([^\[\]]+)|\[(\d*)\]/g;let n;for(;(n=r.exec(e))!==null;)n[1]!==void 0?t.push(n[1]):n[2]!==void 0&&t.push(n[2]===""?"":Number(n[2]));return t}function l0(e,t,r){let n=e;for(let i=0;i<t.length-1;i++)t[i]in n||(n[t[i]]={}),n=n[t[i]];n[t[t.length-1]]=r}function c0(e){const t=Object.keys(e),r=t.filter(n=>/^\d+$/.test(n)).map(Number).sort((n,i)=>n-i);return t.length===r.length&&r.length>0&&r[0]===0&&r.every((n,i)=>n===i)}function Qn(e){if(Array.isArray(e))return e.map(Qn);if(typeof e!="object"||e===null||bs(e))return e;if(c0(e)){const r=[];for(let n=0;n<Object.keys(e).length;n++)r[n]=Qn(e[n]);return r}const t={};for(const r in e)t[r]=Qn(e[r]);return t}function du(e){const t={};for(const[r,n]of e.entries()){if(n instanceof File&&n.size===0&&n.name==="")continue;const i=s0(o0(r));if(i[i.length-1]===""){const a=i.slice(0,-1),o=gt(t,a);if(Array.isArray(o))o.push(n);else if(o&&typeof o=="object"&&!bs(o)){const s=Object.keys(o).filter(l=>/^\d+$/.test(l)).map(Number).sort((l,c)=>l-c);pt(t,a,s.length>0?[...s.map(l=>o[l]),n]:[n])}else pt(t,a,[n]);continue}l0(t,i.map(String),n)}return Qn(t)}var ro={preferredAttribute(){return Jt.get("future.useDataInertiaHeadAttribute")?"data-inertia":"inertia"},buildDOMElement(e){const t=document.createElement("template");t.innerHTML=e;const r=t.content.firstChild;if(!e.startsWith("<script "))return r;const n=document.createElement("script");
56return n.innerHTML=r.innerHTML,r.getAttributeNames().forEach(i=>{n.setAttribute(i,r.getAttribute(i)||"")}),n},isInertiaManagedElement(e){return e.nodeType===Node.ELEMENT_NODE&&e.getAttribute(this.preferredAttribute())!==null},findMatchingElementIndex(e,t){const r=this.preferredAttribute(),n=e.getAttribute(r);return n!==null?t.findIndex(i=>i.getAttribute(r)===n):-1},update:vn(function(e){const t=e.map(n=>this.buildDOMElement(n));Array.from(document.head.childNodes).filter(n=>this.isInertiaManagedElement(n)).forEach(n=>{const i=this.findMatchingElementIndex(n,t);if(i===-1){n?.parentNode?.removeChild(n);return}const a=t.splice(i,1)[0];a&&!n.isEqualNode(a)&&n?.parentNode?.replaceChild(a,n)}),t.forEach(n=>document.head.appendChild(n))},1)};function u0(e,t,r){const n={};let i=0;function a(){const f=i+=1;return n[f]=[],f.toString()}function o(f){f===null||Object.keys(n).indexOf(f)===-1||(delete n[f],u())}function s(f){Object.keys(n).indexOf(f)===-1&&(n[f]=[])}function l(f,d=[]){f!==null&&Object.keys(n).indexOf(f)>-1&&(n[f]=d),u()}function c(){const f=t(""),d=ro.preferredAttribute(),h={...f?{title:`<title ${d}="">${f}</title>`}:{}},p=Object.values(n).reduce((m,g)=>m.concat(g),[]).reduce((m,g)=>{if(g.indexOf("<")===-1)return m;if(g.indexOf("<title ")===0){const v=g.match(/(<title [^>]+>)(.*?)(<\/title>)/s);return m.title=v?`${v[1]}${t(v[2])}${v[3]}`:g,m}const b=g.match(d==="inertia"?/ inertia="[^"]+"/:/ data-inertia="[^"]+"/);return b?m[b[0]]=g:m[Object.keys(m).length]=g,m},h);return Object.values(p)}function u(){e?r(c()):ro.update(c())}return u(),{forceUpdate:u,createProvider:function(){const f=a();return{preferredAttribute:ro.preferredAttribute,reconnect:()=>s(f),update:d=>l(f,d),disconnect:()=>o(f)}}}}var f0="X-Inertia-Infinite-Scroll-Merge-Intent",d0=e=>{const t=()=>{const b=B.get().scrollProps?.[e.getPropName()];if(b)return b;throw new Error(`The page object does not contain a scroll prop named "${e.getPropName()}".`)},r={component:null,loading:!1,previousPage:null,nextPage:null,lastLoadedPage:null,requestCount:0},n=()=>{const b=t();r.component=B.get().component,r.loading=!1,r.previousPage=b.previousPage,r.nextPage=b.nextPage,r.lastLoadedPage=b.currentPage,r.requestCount=0},i=()=>`inertia:infinite-scroll-data:${e.getPropName()}`;if(typeof window<"u"){n();const b=Ae.restore(i());b&&typeof b=="object"&&b.lastLoadedPage===t().currentPage&&(r.previousPage=b.previousPage,r.nextPage=b.nextPage,r.lastLoadedPage=b.lastLoadedPage,r.requestCount=b.requestCount||0)}const a=Ae.on("success",b=>{r.component===b.detail.page.component&&t().reset&&(n(),e.onReset?.())}),o=b=>b==="next"?"nextPage":"previousPage",s=b=>{const v=o(b);return r[v]},l=b=>{const v=t(),S=o(b);r.lastLoadedPage=v.currentPage,r[S]=v[S],r.requestCount+=1,Ae.remember({previousPage:r.previousPage,nextPage:r.nextPage,lastLoadedPage:r.lastLoadedPage,requestCount:r.requestCount},i())},c=()=>t().pageName,u=()=>r.requestCount,f=(b,v={})=>{const S=s(b);r.loading||S===null||(r.loading=!0,Ae.reload({...v,data:{[c()]:S},only:[e.getPropName()],preserveUrl:!0,headers:{[f0]:b==="previous"?"prepend":"append",...v.headers},onBefore:L=>{b==="next"?e.onBeforeNextRequest():e.onBeforePreviousRequest(),v.onBefore?.(L)},onBeforeUpdate:L=>{e.onBeforeUpdate(),v.onBeforeUpdate?.(L)},onSuccess:L=>{l(b),v.onSuccess?.(L)},onFinish:L=>{r.loading=!1;const A=L.completed,O=A?r.lastLoadedPage:null;b==="next"?e.onCompleteNextRequest(O,{page:O,completed:A}):e.onCompletePreviousRequest(O,{page:O,completed:A}),v.onFinish?.(L)}}))};return{getLastLoadedPage:()=>r.lastLoadedPage,getPageName:c,getRequestCount:u,hasPrevious:()=>!!r.previousPage,hasNext:()=>!!r.nextPage,fetchNext:b=>f("next",b),fetchPrevious:b=>f("previous",b),removeEventListener:a}},h0=()=>{const e=[];return{new:(n,i={})=>{const a=new IntersectionObserver(o=>{for(const s of o)s.isIntersecting&&n(s)},i);return e.push(a),a},flushAll:()=>{e.forEach(n=>n.disconnect()),e.length=0}}},Kn="infiniteScrollPage",no="infiniteScrollIgnore",Fd=e=>e.dataset[Kn],p0=e=>{const t=h0();let r,n,i,a,o=!1;const s=()=>{a=new MutationObserver(T=>{T.forEach(D=>
56{D.addedNodes.forEach(P=>{P.nodeType===Node.ELEMENT_NODE&&d.add(P)})}),L()}),a.observe(e.getItemsElement(),{childList:!0}),r=t.new(T=>e.onItemIntersected(T.target));const O={root:e.getScrollableParent(),rootMargin:`${Math.max(1,e.getTriggerMargin())}px`};n=t.new(e.onPreviousTriggered,O),i=t.new(e.onNextTriggered,O)},l=()=>{o&&c();const O=e.getStartElement(),T=e.getEndElement();O&&e.shouldFetchPrevious()&&n.observe(O),T&&e.shouldFetchNext()&&i.observe(T),o=!0},c=()=>{o&&(n.disconnect(),i.disconnect(),o=!1)},u=()=>{o&&l()},f=()=>{c(),t.flushAll(),a?.disconnect()},d=new Set,h=O=>!(Kn in O.dataset)&&!(no in O.dataset),p=()=>{Array.from(d).forEach(O=>{h(O)&&(O.dataset[no]="true"),r.observe(O)}),d.clear()},m=O=>Array.from(O.querySelectorAll(":scope > *:not([data-infinite-scroll-page]):not([data-infinite-scroll-ignore])"));let g=!1;const b=O=>{!g&&(g=!0,A())||(m(e.getItemsElement()).forEach(T=>{h(T)&&(T.dataset[Kn]=O?.toString()||"1"),r.observe(T)}),S())},v=()=>`inertia:infinite-scroll-elements:${e.getPropName()}`,S=()=>{const O={},T=e.getItemsElement().childNodes;for(let D=0;D<T.length;D++){const P=T[D];if(P.nodeType!==Node.ELEMENT_NODE)continue;const C=Fd(P);typeof C>"u"||(C in O?O[C].to=D:O[C]={from:D,to:D})}Ae.remember(O,v())},L=vn(S,250),A=()=>{const O=Ae.restore(v());if(!O||typeof O!="object")return!1;const T=e.getItemsElement().childNodes;for(let D=0;D<T.length;D++){const P=T[D];if(P.nodeType!==Node.ELEMENT_NODE)continue;const C=P;let w;for(const[k,I]of Object.entries(O))if(D>=I.from&&D<=I.to){w=k;break}if(w)C.dataset[Kn]=w;else if(h(C))C.dataset[no]="true";else continue;r.observe(C)}return!0};return{setupObservers:s,enableTriggers:l,disableTriggers:c,refreshTriggers:u,flushAll:f,processManuallyAddedElements:p,processServerLoadedElements:b}},m0=new ki,mr,Bt,Nn=null,g0=e=>{let t=!0;const r=i=>{m0.add(()=>new Promise(a=>{if(!t)return mr=Bt=null,a();if(!mr||!Bt){const l=B.get().url;mr=rt(l),Bt=rt(l),Nn=Id(l)}const o=e.getPageName(),s=Bt.searchParams;i==="1"?s.delete(o):s.set(o,i),setTimeout(()=>a())})).finally(()=>{t&&mr&&Bt&&mr.href!==Bt.href&&Nn!==null&&Ae.replace({url:KS(Bt,Nn),preserveScroll:!0,preserveState:!0}),mr=Bt=Nn=null})};return{onItemIntersected:vn(i=>{const a=e.getItemsElement();if(!t||e.shouldPreserveUrl()||!i||!a)return;const o=new Map,s=[...a.children];Td(s,i).forEach(u=>{const f=Fd(u)??"1";o.has(f)?o.set(f,o.get(f)+1):o.set(f,1)});const c=Array.from(o.entries()).sort((u,f)=>f[1]-u[1])[0]?.[0];c!==void 0&&r(c)},250),cancel:()=>t=!1}},y0=e=>({createCallbacks:()=>{let r,n=null,i=0;return{captureScrollPosition:()=>{const s=e.getScrollableParent(),l=e.getItemsElement();r=s?.scrollTop||window.scrollY;const c=Td([...l.children]);if(c.length>0){n=c[0];const u=s?.getBoundingClientRect()||{top:0},f=s?u.top:0;i=n.getBoundingClientRect().top-f}},restoreScrollPosition:()=>{if(!n)return;let s=0,l=!1;const c=()=>{if(s++,l||s>10)return!1;const u=e.getScrollableParent(),f=u?.getBoundingClientRect()||{top:0},d=u?f.top:0,m=n.getBoundingClientRect().top-d-i;if(m===0){window.requestAnimationFrame(c);return}u?u.scrollTo({top:r+m}):window.scrollTo(0,window.scrollY+m),l=!0};window.requestAnimationFrame(c)}}}});function b0(e){const t=g0({...e,getPageName:()=>i.getPageName()}),r=y0(e),n=p0({...e,onItemIntersected:t.onItemIntersected,onPreviousTriggered:()=>i.fetchPrevious(),onNextTriggered:()=>i.fetchNext()}),i=d0({...e,onBeforeUpdate:n.processManuallyAddedElements,onCompletePreviousRequest:(c,u)=>{e.onCompletePreviousRequest(u),u.completed&&an(()=>n.processServerLoadedElements(u.page),2)},onCompleteNextRequest:(c,u)=>{e.onCompleteNextRequest(u),u.completed&&an(()=>n.processServerLoadedElements(u.page),2)},onReset:e.onDataReset}),a=c=>{const{captureScrollPosition:u,restoreScrollPosition:f}=r.createCallbacks(),d=c.onBeforeUpdate||(()=>{}),h=c.onSuccess||(()=>{});return c.onBeforeUpdate=p=>{d(p),u()},c.onSuccess=p=>{h(p),f()},c},o=i.fetchNext;i.fetchNext=(c={})=>{e.inReverseMode()&&(c=a(c)),o(c)};const s=i.fetchPrevious;i.fetchPrevious=(c={})=>{e.inReverseMode()||(c=a(c)),s(c)};const l=Ae.on("success",()=>an(n.refreshTriggers,2));return{dataManager:i,elementManager:n,flush:()=>
56{l(),i.removeEventListener(),n.flushAll(),t.cancel()}}}function Md(e){return e.target instanceof HTMLElement&&e.target.isContentEditable||e.defaultPrevented}function Fn(e){const t=e.currentTarget.tagName.toLowerCase()==="a",r=t?e.currentTarget.target:"";return!(Md(e)||t&&e.altKey||t&&e.ctrlKey||t&&e.metaKey||t&&e.shiftKey||t&&r!==""&&r!=="_self"||t&&"button"in e&&e.button!==0)}function hu(e){const t=e.currentTarget.tagName.toLowerCase()==="button";return!Md(e)&&(e.key==="Enter"||t&&e.key===" ")}var Re="nprogress",nt,Me={minimum:.08,easing:"linear",positionUsing:"translate3d",speed:200,trickle:!0,trickleSpeed:200,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",color:"#29d",includeCSS:!0,template:['<div class="bar" role="bar">','<div class="peg"></div>',"</div>",'<div class="spinner" role="spinner">','<div class="spinner-icon"></div>',"</div>"].join("")},Xt=null,v0=e=>{Object.assign(Me,e),Me.includeCSS&&A0(Me.color),nt=document.createElement("div"),nt.id=Re,nt.innerHTML=Me.template},Ii=e=>{const t=jd();e=Hd(e,Me.minimum,1),Xt=e===1?null:e;const r=P0(!t),n=r.querySelector(Me.barSelector),i=Me.speed,a=Me.easing;r.offsetWidth,_0(o=>{const s=Me.positionUsing==="translate3d"?{transition:`all ${i}ms ${a}`,transform:`translate3d(${Yn(e)}%,0,0)`}:Me.positionUsing==="translate"?{transition:`all ${i}ms ${a}`,transform:`translate(${Yn(e)}%,0)`}:{marginLeft:`${Yn(e)}%`};for(const l in s)n.style[l]=s[l];if(e!==1)return setTimeout(o,i);r.style.transition="none",r.style.opacity="1",r.offsetWidth,setTimeout(()=>{r.style.transition=`all ${i}ms linear`,r.style.opacity="0",setTimeout(()=>{Vd(),r.style.transition="",r.style.opacity="",o()},i)},i)})},jd=()=>typeof Xt=="number",qd=()=>{Xt||Ii(0);const e=function(){setTimeout(function(){Xt&&($d(),e())},Me.trickleSpeed)};Me.trickle&&e()},w0=e=>{!e&&!Xt||($d(.3+.5*Math.random()),Ii(1))},$d=e=>{const t=Xt;if(t===null)return qd();if(!(t>1))return e=typeof e=="number"?e:(()=>{const r={.1:[0,.2],.04:[.2,.5],.02:[.5,.8],.005:[.8,.99]};for(const n in r)if(t>=r[n][0]&&t<r[n][1])return parseFloat(n);return 0})(),Ii(Hd(t+e,0,.994))},P0=e=>{if(S0())return document.getElementById(Re);document.documentElement.classList.add(`${Re}-busy`);const t=nt.querySelector(Me.barSelector),r=e?"-100":Yn(Xt||0),n=Bd();return t.style.transition="all 0 linear",t.style.transform=`translate3d(${r}%,0,0)`,Me.showSpinner||nt.querySelector(Me.spinnerSelector)?.remove(),n!==document.body&&n.classList.add(`${Re}-custom-parent`),n.appendChild(nt),nt},Bd=()=>E0(Me.parent)?Me.parent:document.querySelector(Me.parent),Vd=()=>{document.documentElement.classList.remove(`${Re}-busy`),Bd().classList.remove(`${Re}-custom-parent`),nt?.remove()},S0=()=>document.getElementById(Re)!==null,E0=e=>typeof HTMLElement=="object"?e instanceof HTMLElement:e&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string";function Hd(e,t,r){return e<t?t:e>r?r:e}var Yn=e=>(-1+e)*100,_0=(()=>{const e=[],t=()=>{const r=e.shift();r&&r(t)};return r=>{e.push(r),e.length===1&&t()}})(),A0=e=>{const t=document.createElement("style");t.textContent=` 57 #${Re} { 58 pointer-events: none; 59 } 60 61 #${Re} .bar { 62 background: ${e}; 63 64 position: fixed; 65 z-index: 1031; 66 top: 0; 67 left: 0; 68 69 width: 100%; 70 height: 2px; 71 } 72 73 #${Re} .peg { 74 display: block; 75 position: absolute; 76 right: 0px; 77 width: 100px; 78 height: 100%; 79 box-shadow: 0 0 10px ${e}, 0 0 5px ${e}; 80 opacity: 1.0; 81 82 transform: rotate(3deg) translate(0px, -4px); 83 } 84 85 #${Re} .spinner { 86 display: block; 87 position: fixed; 88 z-index: 1031; 89 top: 15px; 90 right: 15px; 91 } 92 93 #${Re} .spinner-icon { 94 width: 18px; 95 height: 18px; 96 box-sizing: border-box; 97 98 border: solid 2px transparent; 99 border-top-color: ${e}; 100 border-left-color: ${e}; 101 border-radius: 50%; 102 103 animation: ${Re}-spinner 400ms linear infinite; 104 } 105 106 .${Re}-custom-parent { 107 overflow: hidden; 108 position: relative; 109 } 110 111 .${Re}-custom-parent #${Re} .spinner, 112 .${Re}-custom-parent #${Re} .bar { 113 position: absolute; 114 } 115
116 @keyframes ${Re}-spinner { 117 0% { transform: rotate(0deg); } 118 100% { transform: rotate(360deg); } 119 } 120 `,document.head.appendChild(t)},x0=()=>{nt&&(nt.style.display="")},L0=()=>{nt&&(nt.style.display="none")},ft={configure:v0,isStarted:jd,done:w0,set:Ii,remove:Vd,start:qd,status:Xt,show:x0,hide:L0},T0=class{constructor(){this.hideCount=0}start(){ft.start()}reveal(e=!1){this.hideCount=Math.max(0,this.hideCount-1),(e||this.hideCount===0)&&ft.show()}hide(){this.hideCount++,ft.hide()}set(e){ft.set(Math.max(0,Math.min(1,e)))}finish(){ft.done()}reset(){ft.set(0)}remove(){ft.done(),ft.remove()}isStarted(){return ft.isStarted()}getStatus(){return ft.status}},Ge=new T0;Ge.reveal;Ge.hide;function C0(e){document.addEventListener("inertia:start",t=>O0(t,e)),document.addEventListener("inertia:progress",k0)}function O0(e,t){e.detail.visit.showProgress||Ge.hide();const r=setTimeout(()=>Ge.start(),t);document.addEventListener("inertia:finish",n=>I0(n,r),{once:!0})}function k0(e){Ge.isStarted()&&e.detail.progress?.percentage&&Ge.set(Math.max(Ge.getStatus(),e.detail.progress.percentage/100*.9))}function I0(e,t){clearTimeout(t),Ge.isStarted()&&(e.detail.visit.completed?Ge.finish():e.detail.visit.interrupted?Ge.reset():e.detail.visit.cancelled&&Ge.remove())}function D0({delay:e=250,color:t="#29d",includeCSS:r=!0,showSpinner:n=!1}={}){C0(e),ft.configure({showSpinner:n,includeCSS:r,color:t})}var Ud=Symbol("FormComponentReset");function Io(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement}function R0(e,t){const r=e.value,n=e.checked;switch(e.type.toLowerCase()){case"checkbox":e.checked=t.includes(e.value);break;case"radio":e.checked=t[0]===e.value;break;case"file":e.value="";break;case"button":case"submit":case"reset":case"image":break;default:e.value=t[0]!==null&&t[0]!==void 0?String(t[0]):""}return e.value!==r||e.checked!==n}function N0(e,t){const r=e.value,n=Array.from(e.selectedOptions).map(o=>o.value);if(e.multiple){const o=t.map(s=>String(s));Array.from(e.options).forEach(s=>{s.selected=o.includes(s.value)})}else e.value=t[0]!==void 0?String(t[0]):"";const i=Array.from(e.selectedOptions).map(o=>o.value);return e.multiple?JSON.stringify(n.sort())!==JSON.stringify(i.sort()):e.value!==r}function io(e,t){if(e.disabled){if(e instanceof HTMLInputElement){const r=e.value,n=e.checked;switch(e.type.toLowerCase()){case"checkbox":case"radio":return e.checked=e.defaultChecked,e.checked!==n;case"file":return e.value="",r!=="";case"button":case"submit":case"reset":case"image":return!1;default:return e.value=e.defaultValue,e.value!==r}}else if(e instanceof HTMLSelectElement){const r=Array.from(e.selectedOptions).map(i=>i.value);Array.from(e.options).forEach(i=>{i.selected=i.defaultSelected});const n=Array.from(e.selectedOptions).map(i=>i.value);return JSON.stringify(r.sort())!==JSON.stringify(n.sort())}else if(e instanceof HTMLTextAreaElement){const r=e.value;return e.value=e.defaultValue,e.value!==r}return!1}if(e instanceof HTMLInputElement)return R0(e,t);if(e instanceof HTMLSelectElement)return N0(e,t);if(e instanceof HTMLTextAreaElement){const r=e.value;return e.value=t[0]!==void 0?String(t[0]):"",e.value!==r}return!1}function F0(e,t){let r=!1;return e instanceof RadioNodeList||e instanceof HTMLCollection?Array.from(e).forEach((n,i)=>{if(n instanceof Element&&Io(n))if(n instanceof HTMLInputElement&&["checkbox","radio"].includes(n.type.toLowerCase()))io(n,t)&&(r=!0);else{const a=t[i]!==void 0?[t[i]]:[t[0]??null].filter(Boolean);io(n,a)&&(r=!0)}}):Io(e)&&(r=io(e,t)),r}function M0(e,t,r){if(!e)return;const n=!r||r.length===0;if(n){const a=new FormData(e),o=Array.from(e.elements).map(s=>
120Io(s)?s.name:"").filter(Boolean);r=[...new Set([...t.keys(),...a.keys(),...o])]}let i=!1;r.forEach(a=>{const o=e.elements.namedItem(a);o&&F0(o,t.getAll(a))&&(i=!0)}),i&&n&&e.dispatchEvent(new CustomEvent("reset",{bubbles:!0,cancelable:!0,detail:{[Ud]:!0}}))}var Ae=new a0;var j0=Ah();let wn=oo.create(),Wd=(e,t)=>`${e.method}:${e.baseURL??t.defaults.baseURL??""}${e.url}`,zd=e=>e.status===204&&e.headers["precognition-success"]==="true";const li={},Wt={get:(e,t={},r={})=>Kr(Qr("get",e,t,r)),post:(e,t={},r={})=>Kr(Qr("post",e,t,r)),patch:(e,t={},r={})=>Kr(Qr("patch",e,t,r)),put:(e,t={},r={})=>Kr(Qr("put",e,t,r)),delete:(e,t={},r={})=>Kr(Qr("delete",e,t,r)),use(e){return wn=e,Wt},axios(){return wn},fingerprintRequestsUsing(e){return Wd=e===null?()=>null:e,Wt},determineSuccessUsing(e){return zd=e,Wt}},Qr=(e,t,r,n)=>({url:t,method:e,...n,...["get","delete"].includes(e)?{params:To({},r,n?.params)}:{data:To({},r,n?.data)}}),Kr=(e={})=>{const t=[q0,B0,V0].reduce((r,n)=>n(r),e);return(t.onBefore??(()=>!0))()===!1?Promise.resolve(null):((t.onStart??(()=>null))(),wn.request(t).then(async r=>{t.precognitive&&pu(r);const n=r.status;let i=r;return t.precognitive&&t.onPrecognitionSuccess&&zd(i)&&(i=await Promise.resolve(t.onPrecognitionSuccess(i)??i)),t.onSuccess&&$0(n)&&(i=await Promise.resolve(t.onSuccess(i)??i)),(mu(t,n)??(o=>o))(i)??i},r=>H0(r)?Promise.reject(r):(t.precognitive&&pu(r.response),(mu(t,r.response.status)??((i,a)=>Promise.reject(a)))(r.response,r))).finally(t.onFinish??(()=>null)))},q0=e=>{const t=e.only??e.validate;return{...e,timeout:e.timeout??wn.defaults.timeout??3e4,precognitive:e.precognitive!==!1,fingerprint:typeof e.fingerprint>"u"?Wd(e,wn):e.fingerprint,headers:{...e.headers,"Content-Type":U0(e),...e.precognitive!==!1?{Precognition:!0}:{},...t?{"Precognition-Validate-Only":Array.from(t).join()}:{}}}},$0=e=>e>=200&&e<300,B0=e=>(typeof e.fingerprint!="string"||(li[e.fingerprint]?.abort(),delete li[e.fingerprint]),e),V0=e=>typeof e.fingerprint!="string"||e.signal||e.cancelToken||!e.precognitive?e:(li[e.fingerprint]=new AbortController,{...e,signal:li[e.fingerprint].signal}),pu=e=>{if(e.headers?.precognition!=="true")throw Error("Did not receive a Precognition response. Ensure you have the Precognition middleware in place for the route.")},H0=e=>!Ou(e)||typeof e.response?.status!="number"||ku(e),mu=(e,t)=>({401:e.onUnauthorized,403:e.onForbidden,404:e.onNotFound,409:e.onConflict,422:e.onValidationError,423:e.onLocked})[t],U0=e=>e.headers?.["Content-Type"]??e.headers?.["Content-type"]??e.headers?.["content-type"]??(Gd(e.data)?"multipart/form-data":"application/json"),Gd=e=>ws(e)||typeof e=="object"&&e!==null&&Object.values(e).some(t=>Gd(t)),ws=e=>typeof File<"u"&&e instanceof File||e instanceof Blob||typeof FileList<"u"&&e instanceof FileList&&e.length>0,W0=(e,t)=>{if(!e.includes("*"))return[e];const r=e.split(".");let n=[""];for(const i of r)if(i==="*"){const a=[];for(const o of n){const s=o?gt(t,o):t;if(Array.isArray(s))for(let l=0;l<s.length;l++)a.push(o?`${o}.${l}`:String(l));else if(s!==null&&typeof s=="object")for(const l of Object.keys(s))a.push(o?`${o}.${l}`:l)}n=a}else n=n.map(a=>a?`${a}.${i}`:i);return n},z0=(e,t)=>t.includes("*")?new RegExp("^"+t.replace(/\./g,"\\.").replace(/\*/g,"[^.]+")+"$").test(e):e===t,gu=(e,t)=>Object.fromEntries(Object.entries(e).filter(([r])=>!t.some(n=>z0(r,n)))),G0=(e,t={})=>{const r={errorsChanged:[],touchedChanged:[],validatingChanged:[],validatedChanged:[]};let n=!1,i=!1;const a=w=>w!==i?(i=w,r.validatingChanged):[];let o=[];const s=w=>{const k=[...new Set(w)];return o.length!==k.length||!k.every(I=>o.includes(I))?(o=k,r.validatedChanged):[]},l=()=>o.filter(w=>typeof f[w]>"u");let c=[];const u=w=>{const k=[...new Set(w)];return c.length!==k.length||!k.every(I=>c.includes(I))?(c=k,r.touchedChanged):[]};let f={};const d=w=>{const k=K0(w);return ar(f,k)?[]:(f=k,r.errorsChanged)},h=w=>{const k={...f};return delete k[on(w)],d(k)},p=()=>Object.keys(f).length>0;let m=1500;const g=w=>{m=w,O.cancel(),O=A()};let b=t,v=null,S=[],L=null;const A=()=>NP(w=>{e({get:(k,I={},R={})=>Wt.get(k,P(I),T(R,w,I)),post:(k,I={},R={})=>Wt.post(k,P(I),T(R,w,I)),patch:(k,I={},R={})=>Wt.patch(k,P(I),T(R,w,I)),put:(k,I={},R={})=>Wt.put(k,P(I),T(R,w,I)),delete:(k,I={},R={})=>Wt.delete(k,P(I),T(R,w,I))}).catch(k=>ku(k)||Ou(k)&&k.response?.status===422?null:Promise.reject(k))},m,{leading:!0,trailing:!0});let O=A();const T=(w,k,I={})=>{const R={...w,...k},z=Array.from(R.only??R.validate??c);return{...k,...xh(w,k),only:z,timeout:R.timeout??5e3,onValidationError:(W,K)=>([...s([...o,...z]),...d(To(gu({...f}
120,z),W.data.errors))].forEach(j=>j()),R.onValidationError?R.onValidationError(W,K):Promise.reject(K)),onSuccess:W=>(s([...o,...z]).forEach(K=>K()),R.onSuccess?R.onSuccess(W):W),onPrecognitionSuccess:W=>([...s([...o,...z]),...d(gu({...f},z))].forEach(K=>K()),R.onPrecognitionSuccess?R.onPrecognitionSuccess(W):W),onBefore:()=>{const W=c.some(F=>F.includes("*")),K=W?[...new Set(c.flatMap(F=>W0(F,I)))]:c;return R.onBeforeValidation&&R.onBeforeValidation({data:I,touched:K},{data:b,touched:S})===!1||(R.onBefore||(()=>!0))()===!1?!1:(W&&u(K).forEach(F=>F()),L=c,v=I,!0)},onStart:()=>{a(!0).forEach(W=>W()),(R.onStart??(()=>null))()},onFinish:()=>{a(!1).forEach(W=>W()),S=L,b=v,L=v=null,(R.onFinish??(()=>null))()}}},D=(w,k,I)=>{if(typeof w>"u"){const R=Array.from(I?.only??I?.validate??[]);u([...c,...R]).forEach(z=>z()),O(I??{});return}if(ws(k)&&!n){console.warn('Precognition file validation is not active. Call the "validateFiles" function on your form to enable it.');return}w=on(w),(w.includes("*")||gt(b,w)!==k)&&(u([w,...c]).forEach(R=>R()),O(I??{}))},P=w=>n===!1?Do(w):w,C={touched:()=>c,validate(w,k,I){return typeof w=="object"&&!("target"in w)&&(I=w,w=k=void 0),D(w,k,I),C},touch(w){const k=Array.isArray(w)?w:[on(w)];return u([...c,...k]).forEach(I=>I()),C},validating:()=>i,valid:l,errors:()=>f,hasErrors:p,setErrors(w){return d(w).forEach(k=>k()),C}
120,forgetError(w){return h(w).forEach(k=>k()),C},defaults(w){return t=w,b=w,C},reset(...w){if(w.length===0)u([]).forEach(k=>k());else{const k=[...c];w.forEach(I=>{k.includes(I)&&k.splice(k.indexOf(I),1),pt(b,I,gt(t,I))}),u(k).forEach(I=>I())}return C},setTimeout(w){return g(w),C},on(w,k){return r[w].push(k),C},validateFiles(){return n=!0,C},withoutFileValidation(){return n=!1,C}};return C},Q0=e=>Object.keys(e).reduce((t,r)=>({...t,[r]:Array.isArray(e[r])?e[r][0]:e[r]}),{}),K0=e=>Object.keys(e).reduce((t,r)=>({...t,[r]:typeof e[r]=="string"?[e[r]]:e[r]}),{}),on=e=>typeof e!="string"?e.target.name:e,Do=e=>{const t={...e};return Object.keys(t).forEach(r=>{const n=t[r];if(n!==null){if(ws(n)){delete t[r];return}if(Array.isArray(n)){t[r]=Object.values(Do({...n}));return}if(typeof n=="object"){t[r]=Do(t[r]);return}}}),t};var Qd=E.createContext(null);Qd.displayName="InertiaHeadContext";var Ro=Qd,Kd=E.createContext(null);Kd.displayName="InertiaPageContext";var ci=Kd,No=!0,yu=!1,bu=async()=>{No=!1};function Fo({children:e,initialPage:t,initialComponent:r,resolveComponent:n,titleCallback:i,onHeadUpdate:a}){const[o,s]=E.useState({component:r||null,page:{...t,flash:t.flash??{}},key:null}),l=E.useMemo(()=>u0(typeof window>"u",i||(u=>u),a||(()=>{})),[]);if(yu||(Ae.init({initialPage:t,resolveComponent:n,swapComponent:async u=>bu(u),onFlash:u=>{s(f=>({...f,page:{...f.page,flash:u}}))}}),yu=!0),E.useEffect(()=>{bu=async({component:u,page:f,preserveState:d})=>{if(No){No=!1;return}j0.flushSync(()=>s(h=>({component:u,page:f,key:d?h.key:Date.now()})))},Ae.on("navigate",()=>l.forceUpdate())},[]),!o.component)return E.createElement(Ro.Provider,{value:l},E.createElement(ci.Provider,{value:o.page},null));const c=e||(({Component:u,props:f,key:d})=>{const h=E.createElement(u,{key:d,...f});return typeof u.layout=="function"?u.layout(h):Array.isArray(u.layout)?u.layout.concat(h).reverse().reduce((p,m)=>E.createElement(m,{children:p,...f})):h});return E.createElement(Ro.Provider,{value:l},E.createElement(ci.Provider,{value:o.page},c({Component:o.component,key:o.key,props:o.page.props})))}Fo.displayName="Inertia";async function Y0({id:e="app",resolve:t,setup:r,title:n,progress:i={},page:a,render:o,defaults:s={}}){Fr.replace(s);const l=typeof window>"u",c=Fr.get("future.useScriptElementForInitialPage"),u=a||WS(e,c),f=p=>Promise.resolve(t(p)).then(m=>m.default||m);let d=[];const h=await Promise.all([f(u.component),Ae.decryptHistory().catch(()=>{})]).then(([p])=>{const m={initialPage:u,initialComponent:p,resolveComponent:f,titleCallback:n};return r(l?{el:null,App:Fo,props:{...m,onHeadUpdate:v=>d=v}}:{el:document.getElementById(e),App:Fo,props:m})});if(!l&&i&&D0(i),l&&o){const m=await o(c?E.createElement(E.Fragment,null,E.createElement("script",{"data-page":e,type:"application/json",dangerouslySetInnerHTML:{__html:JSON.stringify(u).replace(/\//g,"\\/")}}),E.createElement("div",{id:e},h)):E.createElement("div",{id:e,"data-page":JSON.stringify(u)},h));return{head:d,body:m}}}var Yd=typeof Qt.use=="function";function ur(){const e=Yd?Qt.use(ci):Qt.useContext(ci);if(!e)throw new Error("usePage must be used within the Inertia component");return e}function vu(e,t,r){const[n,i]=E.useState(()=>{const a=Ae.restore(t);return a!==void 0?a:e});return E.useEffect(()=>{const a=r?.current;if(a&&a.length>0&&typeof n=="object"&&n!==null){const o={...n};a.forEach(s=>delete o[s]),Ae.remember(o,t)}else Ae.remember(n,t)},[n,t]),[n,i]}function J0(...e){const t=E.useRef(!1),r=Gn.parseUseFormArguments(...e),{rememberKey:n,data:i}=r,a=E.useRef(r.precognitionEndpoint),[o,s]=E.useState(dt(typeof i=="function"?i():i)),l=E.useRef(null),c=E.useRef(void 0),u=E.useRef([]),[f,d]=n?vu(o,`${n}:data`,u):E.useState(o),[h,p]=n?vu({},`${n}:errors`):E.useState({}),[m,g]=E.useState(!1),[b,v]=E.useState(!1),[S,L]=E.useState(null),[A,O]=E.useState(!1),[T,D]=E.useState(!1),P=E.useRef(q=>q),C=E.useMemo(()=>!ar(f,o),[f,o]),w=E.useRef(null),[k,I]=E.useState(!1),[R,z]=E.useState([]),[W,K]=E.useState([]),j=E.useRef(null);E.useEffect(()=>(t.current=!0,()=>{t.current=!1}),[]);const F=E.useRef(!1),U=E.useRef(f);E.useEffect(()=>{U.current=f});const M=E.useCallback(q=>{U.current=q,d(q)},[d]),ie=E.useCallback((...q)=>
120{const{method:Q,url:G,options:ee}=Gn.parseSubmitArguments(q,a.current);F.current=!1;const $e={...ee,onCancelToken:Se=>{if(l.current=Se,ee.onCancelToken)return ee.onCancelToken(Se)},onBefore:Se=>{if(O(!1),D(!1),clearTimeout(c.current),ee.onBefore)return ee.onBefore(Se)},onStart:Se=>{if(v(!0),ee.onStart)return ee.onStart(Se)},onProgress:Se=>{if(L(Se||null),ee.onProgress)return ee.onProgress(Se)},onSuccess:async Se=>{t.current&&(v(!1),L(null),p({}),g(!1),O(!0),D(!0),c.current=setTimeout(()=>{t.current&&D(!1)},Fr.get("form.recentlySuccessfulDuration")));const fr=ee.onSuccess?await ee.onSuccess(Se):null;return t.current&&!F.current&&d(Cn=>(s(dt(Cn)),Cn)),fr},onError:Se=>{if(t.current&&(v(!1),L(null),p(Se),g(Object.keys(Se).length>0),w.current?.setErrors(Se)),ee.onError)return ee.onError(Se)},onCancel:()=>{if(t.current&&(v(!1),L(null)),ee.onCancel)return ee.onCancel()},onFinish:Se=>{if(t.current&&(v(!1),L(null)),l.current=null,ee.onFinish)return ee.onFinish(Se)}},He=P.current(U.current);Q==="delete"?Ae.delete(G,{...$e,data:He}):Ae[Q](G,He,$e)},[p,P]),ue=E.useCallback((q,Q)=>{M(typeof q=="string"?pt(dt(U.current),q,Q):typeof q=="function"?q(U.current):q)},[M]),Le=E.useCallback((q,Q)=>{F.current=!0;let G={};typeof q>"u"?(G={...U.current},s(U.current)):s(ee=>(G=typeof q=="string"?pt(dt(ee),q,Q):Object.assign(dt(ee),q),G)),w.current?.defaults(G)},[s]),pe=E.useCallback((...q)=>{if(q.length===0)M(o);else{const Q=q.filter(G=>hd(o,G)).reduce((G,ee)=>pt(G,ee,gt(o,ee)),{...U.current});M(Q)}w.current?.reset(...q)},[M,o]),Te=E.useCallback((q,Q)=>{p(G=>{const ee={...G,...typeof q=="string"?{[q]:Q}:q};return g(Object.keys(ee).length>0),w.current?.setErrors(ee),ee})},[p,g]),me=E.useCallback((...q)=>{p(Q=>{const G=Object.keys(Q).reduce((ee,$e)=>({...ee,...q.length>0&&!q.includes($e)?{[$e]:Q[$e]}:{}}),{});return g(Object.keys(G).length>0),w.current&&(q.length===0?w.current.setErrors({}):q.forEach(w.current.forgetError)),G})},[p,g]),De=E.useCallback((...q)=>{pe(...q),me(...q)},[pe,me]),ne=q=>(Q,G={})=>{ie(q,Q,G)},X=E.useCallback(ne("get"),[ie]),V=E.useCallback(ne("post"),[ie]),H=E.useCallback(ne("put"),[ie]),ae=E.useCallback(ne("patch"),[ie]),Ce=E.useCallback(ne("delete"),[ie]),Oe=E.useCallback(()=>{l.current&&l.current.cancel()},[]),be=E.useCallback(q=>{P.current=q},[]),de={data:f,setData:ue,isDirty:C,errors:h,hasErrors:m,processing:b,progress:S,wasSuccessful:A,recentlySuccessful:T,transform:be,setDefaults:Le,reset:pe,setError:Te,clearErrors:me,resetAndClearErrors:De,submit:ie,get:X,post:V,put:H,patch:ae,delete:Ce,cancel:Oe,dontRemember:(...q)=>(u.current=q,de)},ke=(q,Q)=>(Q(q),q),at=E.useCallback(q=>W.includes(q),[W]),Qe=E.useCallback(q=>q in h,[h]),qe=E.useCallback(q=>typeof q=="string"?R.includes(q):R.length>0,[R]),ot=(q,Q)=>
120{if(typeof q=="object"&&!("target"in q)&&(Q=q,q=void 0),q===void 0)w.current.validate(Q);else{const G=on(q),ee=U.current,$e=P.current(ee);w.current.validate(G,gt($e,G),Q)}return de},vt=(...q)=>{if(a.current=Gn.createWayfinderCallback(...q),!w.current){const G=G0(ee=>{const{method:$e,url:He}=a.current(),Se=U.current,fr=P.current(Se);return ee[$e](He,fr)},dt(o));w.current=G,G.on("validatingChanged",()=>{I(G.validating())}).on("validatedChanged",()=>{K(G.valid())}).on("touchedChanged",()=>{z(G.touched())}).on("errorsChanged",()=>{const ee=j.current??Fr.get("form.withAllErrors")?G.errors():Q0(G.errors());p(ee),g(Object.keys(ee).length>0),K(G.valid())})}const Q=Object.assign(de,{validating:k,validator:()=>w.current,valid:at,invalid:Qe,touched:qe,withoutFileValidation:()=>ke(Q,()=>w.current?.withoutFileValidation()),touch:(G,...ee)=>(Array.isArray(G)?w.current?.touch(G):typeof G=="string"?w.current?.touch([G,...ee]):w.current?.touch(G),Q),withAllErrors:()=>ke(Q,()=>j.current=!0),setValidationTimeout:G=>ke(Q,()=>w.current?.setTimeout(G)),validateFiles:()=>ke(Q,()=>w.current?.validateFiles()),validate:ot,setErrors:G=>ke(Q,()=>de.setError(G)),forgetError:G=>ke(Q,()=>de.clearErrors(on(G)))});return Q};return de.withPrecognition=vt,a.current?de.withPrecognition(a.current):de}var X0=e=>{typeof Qt.startTransition=="function"?Qt.startTransition(e):setTimeout(e,0)},Ct=()=>{},Z0=E.createContext(void 0),eE=E.forwardRef(({action:e="",method:t="get",headers:r={},queryStringArrayFormat:n="brackets",errorBag:i=null,showProgress:a=!0,transform:o=k=>k,options:s={},onStart:l=Ct,onProgress:c=Ct,onFinish:u=Ct,onBefore:f=Ct,onCancel:d=Ct,onSuccess:h=Ct,onError:p=Ct,onCancelToken:m=Ct,onSubmitComplete:g=Ct,disableWhileProcessing:b=!1,resetOnError:v=!1,resetOnSuccess:S=!1,setDefaultsOnSuccess:L=!1,invalidateCacheTags:A=[],validateFiles:O=!1,validationTimeout:T=1500,withAllErrors:D=null,children:P,...C},w)=>{const k=()=>{const[V,H]=M();return o(H)},I=J0({}).withPrecognition(()=>z,()=>M()[0]).setValidationTimeout(T);O&&I.validateFiles(),(D??Jt.get("form.withAllErrors"))&&I.withAllErrors(),I.transform(k);const R=E.useRef(void 0),z=E.useMemo(()=>Dt(e)?e.method:t.toLowerCase(),[e,t]),[W,K]=E.useState(!1),j=E.useRef(new FormData),F=V=>new FormData(R.current,V),U=V=>du(F(V)),M=V=>vs(z,Dt(e)?e.url:e,U(V),n),ie=V=>{V.type==="reset"&&V.detail?.[Ud]&&V.preventDefault(),X0(()=>K(V.type==="reset"?!1:!ar(U(),du(j.current))))},ue=(...V)=>(I.clearErrors(...V),I);E.useEffect(()=>{j.current=F(),I.setDefaults(U());const V=["input","change","reset"];return V.forEach(H=>R.current.addEventListener(H,ie)),()=>
120{V.forEach(H=>R.current?.removeEventListener(H,ie))}},[]),E.useEffect(()=>{I.setValidationTimeout(T)},[T]),E.useEffect(()=>{O?I.validateFiles():I.withoutFileValidation()},[O]);const Le=(...V)=>{R.current&&M0(R.current,j.current,V),I.reset(...V)},pe=(...V)=>{ue(...V),Le(...V)},Te=V=>{V&&(V===!0?Le():V.length>0&&Le(...V))},me=V=>{const[H,ae]=M(V);if(V?.getAttribute("formtarget")==="_blank"&&z==="get"){window.open(H,"_blank");return}const Oe={headers:r,queryStringArrayFormat:n,errorBag:i,showProgress:a,invalidateCacheTags:A,onCancelToken:m,onBefore:f,onStart:l,onProgress:c,onFinish:u,onCancel:d,onSuccess:(...be)=>{h(...be),g({reset:Le,defaults:De}),Te(S),L===!0&&De()},onError(...be){p(...be),Te(v)},...s};I.transform(()=>o(ae)),I.submit(z,H,Oe),I.transform(k)},De=()=>{j.current=F(),K(!1)},ne={errors:I.errors,hasErrors:I.hasErrors,processing:I.processing,progress:I.progress,wasSuccessful:I.wasSuccessful,recentlySuccessful:I.recentlySuccessful,isDirty:W,clearErrors:ue,resetAndClearErrors:pe,setError:I.setError,reset:Le,submit:me,defaults:De,getData:U,getFormData:F,validator:()=>I.validator(),validating:I.validating,valid:I.valid,invalid:I.invalid,validate:(V,H)=>I.validate(...Gn.mergeHeadersForValidation(V,H,r)),touch:I.touch,touched:I.touched};E.useImperativeHandle(w,()=>ne,[I,W,me]);const X=E.createElement("form",{...C,ref:R,action:Dt(e)?e.url:e,method:z,onSubmit:V=>{V.preventDefault(),me(V.nativeEvent.submitter)},inert:b&&I.processing&&(Yd?!0:"true")},typeof P=="function"?P(ne):P);return E.createElement(Z0.Provider,{value:ne},X)});eE.displayName="InertiaForm";var tE=function({children:e,title:t}){const r=E.useContext(Ro),n=E.useMemo(()=>r.createProvider(),[r]),i=typeof window>"u";E.useEffect(()=>(n.reconnect(),n.update(f(e)),()=>{n.disconnect()}),[n,e,t]);function a(d){return typeof d.type=="string"&&["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"].indexOf(d.type)>-1}function o(d){const h=Object.keys(d.props).reduce((p,m)=>{if(["head-key","children","dangerouslySetInnerHTML"].includes(m))return p;const g=String(d.props[m]);return g===""?p+` ${m}`:p+` ${m}="${uc(g)}"`},"");return`<${String(d.type)}${h}>`}function s(d){const{children:h}=d.props;return typeof h=="string"?h:Array.isArray(h)?h.reduce((p,m)=>p+l(m),""):""}function l(d){let h=o(d);return d.props.children&&(h+=s(d)),d.props.dangerouslySetInnerHTML&&(h+=d.props.dangerouslySetInnerHTML.__html),a(d)||(h+=`</${String(d.type)}>`),h}function c(d){return Qt.cloneElement(d,{[n.preferredAttribute()]:d.props["head-key"]!==void 0?d.props["head-key"]:""})}function u(d){return l(c(d))}function f(d){const h=Qt.Children.toArray(d).filter(p=>p).map(p=>u(p));return t&&!h.find(p=>p.startsWith("<title"))&&h.push(`<title ${n.preferredAttribute()}>${uc(t)}</title>`),h}return i&&n.update(f(e)),null},b1=tE,ao=(e,t)=>e?e&&typeof e=="object"&&"current"in e?e.current:typeof e=="string"?document.querySelector(e):t:t,Mn=(e,t,r=null)=>e?typeof e=="function"?e(t):e:r,rE=E.forwardRef(({data:e,buffer:t=0,as:r="div",manual:n=!1,manualAfter:i=0,preserveUrl:a=!1,reverse:o=!1,autoScroll:s,children:l,startElement:c,endElement:u,itemsElement:f,previous:d,next:h,loading:p,onlyNext:m=!1,onlyPrevious:g=!1,...b},v)=>{const[S,L]=E.useState(null),A=E.useCallback(Q=>L(Q),[]),[O,T]=E.useState(null),D=E.useCallback(Q=>T(Q),[]),[P,C]=E.useState(null),w=E.useCallback(Q=>C(Q),[]),k=ur().scrollProps?.[e],[I,R]=E.useState(!1),[z,W]=E.useState(!1),[K,j]=E.useState(0),[F,U]=E.useState(!!k?.previousPage),[M,ie]=E.useState(!!k?.nextPage),[ue,Le]=E.useState(null),[pe,Te]=E.useState(null),[me,De]=E.useState(null);E.useEffect(()=>{const Q=c?ao(c,S):S;Le(Q)},[c,S]),E.useEffect(()=>{const Q=u?ao(u,O):O;Te(Q)},[u,O]),E.useEffect(()=>{const Q=f?ao(f,P):P;De(Q)},[f,P]);const ne=E.useMemo(()=>US(me),[me]),X=E.useRef({buffer:t,onlyNext:m,onlyPrevious:g,reverse:o,preserveUrl:a});X.current={buffer:t,onlyNext:m,onlyPrevious:g,reverse:o,preserveUrl:a};const[V,H]=E.useState(null),ae=E.useMemo(()=>V?.dataManager,[V]),Ce=E.useMemo(()=>V?.elementManager,[V]),Oe=E.useCallback(()=>{ne?ne.scrollTo({top:ne.scrollHeight,behavior:"instant"}):window.scrollTo({top:document.body.scrollHeight,behavior:"instant"})},[ne]);E.useEffect(()=>{if(!me)return;function Q(){j(G.dataManager.getRequestCount()),U(G.dataManager.hasPrevious()),ie(G.dataManager.hasNext())}const G=b0({getPropName:()=>e,inReverseMode:()=>X.current.reverse,shouldFetchNext:()=>!X.current.onlyPrevious,shouldFetchPrevious:()=>!X.current.onlyNext,shouldPreserveUrl:()=>X.current.preserveUrl,getTriggerMargin:()=>X.current.buffer,getStartElement:()=>ue,getEndElement:()=>pe,getItemsElement:()=>me,getScrollableParent:()=>ne,onBeforePreviousRequest:()=>R(!0),onBeforeNextRequest:()=>W(!0),onCompletePreviousRequest:({completed:He})=>{R(!1),He&&Q()},onCompleteNextRequest:({completed:He})=>{W(!1),He&&Q()},onDataReset:Q});H(G);const{dataManager:ee,elementManager:$e}=G;return Q(),$e.setupObservers(),$e.processServerLoadedElements(ee.getLastLoadedPage()),de&&$e.enableTriggers(),()=>{G.flush(),H(null)}},[e,me,ue,pe,ne]);const be=E.useMemo(()=>n||i>0&&K>=i,[n,i,K]),de=E.useMemo(()=>!be,[be]);E.useEffect(()=>{de?Ce?.enableTriggers():Ce?.disableTriggers()},[de,m,g,ue,pe]),E.useEffect(()=>{(s!==void 0?s:o)&&Oe()},[ne]),E.useImperativeHandle(v,()=>({fetchNext:ae?.fetchNext||(()=>{}),fetchPrevious:ae?.fetchPrevious||(()=>{}),hasPrevious:ae?.hasPrevious||(()=>!1),hasNext:ae?.hasNext||(()=>!1)}),[ae]);const ke=de&&!m,at=de&&!g,Qe={loadingPrevious:I,loadingNext:z,hasPrevious:F,hasNext:M},qe={loading:I,fetch:ae?.fetchPrevious??(()=>{}),autoMode:ke,manualMode:!ke,hasMore:F,...Qe},ot={loading:z,fetch:ae?.fetchNext??(()=>{}),autoMode:at,manualMode:!at,hasMore:M,...Qe},vt={loading:I||z,loadingPrevious:I,loadingNext:z},q=[];return c||q.push(E.createElement("div",{ref:A},Mn(d,qe,I?Mn(p,qe):null))),q.push(E.createElement(r,{...b,ref:w},typeof l=="function"?l(vt):l)),u||q.push(E.createElement("div",{ref:D},Mn(h,ot,z?Mn(p,ot):null))),E.createElement(Qt.Fragment,{},...o?[...q].reverse():q)});rE.displayName="InertiaInfiniteScroll";var ct=()=>{},Jd=E.forwardRef(({children:e,as:t="a",data:r={},href:n="",method:i="get",preserveScroll:a=!1,preserveState:o=null,preserveUrl:s=!1,replace:l=!1,only:c=[],except:u=[],headers:f={},queryStringArrayFormat:d="brackets",async:h=!1,onClick:p=ct,onCancelToken:m=ct,onBefore:g=ct,onStart:b=ct,onProgress:v=ct,onFinish:S=ct,onCancel:L=ct,onSuccess:A=ct,onError:O=ct,onPrefetching:T=ct,onPrefetched:D=ct,prefetch:P=!1,cacheFor:C=0,cacheTags:w=[],viewTransition:k=!1,...I},R)=>{const[z,W]=E.useState(0),K=E.useRef(void 0),j=E.useMemo(()=>Dt(n)?n.method:i.toLowerCase(),[n,i]),F=E.useMemo(()=>typeof t!="string"||t.toLowerCase()!=="a"?t:j!=="get"?"button":t.toLowerCase(),[t,j]),U=E.useMemo(()=>vs(j,Dt(n)?n.url:n,r,d),[n,j,r,d]),M=E.useMemo(()=>U[0],[U]),ie=E.useMemo(()=>U[1],[U]),ue=E.useMemo(()=>({data:ie,method:j,preserveScroll:a,preserveState:o??j!=="get",preserveUrl:s,replace:l,only:c,except:u,headers:f,async:h}
120),[ie,j,a,o,s,l,c,u,f,h]),Le=E.useMemo(()=>({...ue,viewTransition:k,onCancelToken:m,onBefore:g,onStart(H){W(ae=>ae+1),b(H)},onProgress:v,onFinish(H){W(ae=>ae-1),S(H)},onCancel:L,onSuccess:A,onError:O}),[ue,k,m,g,b,v,S,L,A,O]),pe=E.useMemo(()=>P===!0?["hover"]:P===!1?[]:Array.isArray(P)?P:[P],Array.isArray(P)?P:[P]),Te=E.useMemo(()=>C!==0?C:pe.length===1&&pe[0]==="click"?0:Fr.get("prefetch.cacheFor"),[C,pe]),me=E.useMemo(()=>()=>{Ae.prefetch(M,{...ue,onPrefetching:T,onPrefetched:D},{cacheFor:Te,cacheTags:w})},[M,ue,T,D,Te,w]);E.useEffect(()=>()=>{clearTimeout(K.current)},[]),E.useEffect(()=>{pe.includes("mount")&&setTimeout(()=>me())},pe);const De={onClick:H=>{p(H),Fn(H)&&(H.preventDefault(),Ae.visit(M,Le))}},ne={onMouseEnter:()=>{K.current=window.setTimeout(()=>{me()},Fr.get("prefetch.hoverDelay"))},onMouseLeave:()=>{clearTimeout(K.current)},onClick:De.onClick},X={onMouseDown:H=>{Fn(H)&&(H.preventDefault(),me())},onKeyDown:H=>{hu(H)&&(H.preventDefault(),me())},onMouseUp:H=>{Fn(H)&&(H.preventDefault(),Ae.visit(M,Le))},onKeyUp:H=>{hu(H)&&(H.preventDefault(),Ae.visit(M,Le))},onClick:H=>{p(H),Fn(H)&&H.preventDefault()}},V=E.useMemo(()=>F==="button"?{type:"button"}:F==="a"||typeof F!="string"?{href:M}:{},[F,M]);return E.createElement(F,{...I,...V,ref:R,...pe.includes("hover")?ne:pe.includes("click")?X:De,"data-loading":z>0?"":void 0},e)});Jd.displayName="InertiaLink";var wu=Jd,ui=Ae,Fr=Jt.extend();const nE={searchInput:{placeholder:"Enter keywords"}},iE={meta:{title:"Online Consultation"},leftColumn:{asideAriaLabel:"Contact information",eyebrow:"Contact us",title:"Online Consultation",addressLine:"Address: 5F., No. 32, Sec. 3, Chengde Rd., Datong Dist., Taipei City 103, Taiwan (R.O.C.)",phoneLine:"Phone: +886-2-2555-8595",faxLine:"Fax: +886-2-2553-6833",emailLine:"E-mail: [email protected]"},form:{purposeLabel:"Consultation purpose",purposeOptions:[{key:"corporate_engagement",label:"Corporate Partners"},{key:"institutional_visit",label:"Organizational Visit"},{key:"speaking_invitation",label:"Book a Talk"},{key:"research_interview",label:"Research Interview"},{key:"other",label:"Other inquiries"}],purposeGuidanceAriaLabel:"Consultation purpose guidance",orgNameLabel:"Organization name",orgNamePlaceholder:"Enter organization name",contactNameLabel:"Contact person",contactNamePlaceholder:"Enter contact name",phoneLabel:"Phone",phonePlaceholder:"Enter phone number",emailLabel:"Email",emailPlaceholder:"Enter email",contentLabel:"Message",contentPlaceholder:"Enter your message",submitLabel:"Submit",recaptchaNotice:{lead:"This site is protected by reCAPTCHA and the Google ",privacyLabel:"Privacy Policy",middle:" and ",termsLabel:"Terms of Service",end:" apply."},submitError:"Something went wrong. Please try again later.",successView:{title:"We've received your information",bodyLine1:"Our team will c
120ontact you as soon as possible.",bodyLine2:"Please check your email. Thank you.",backButton:"Back to consultation",regionAriaLabel:"Form submitted successfully"},validation:{purposeRequired:"Please select a consultation purpose",orgNameRequired:"Please enter the organization name",contactNameRequired:"Please enter the contact name",phoneRequired:"Please enter a phone number",emailRequired:"Please enter your email",emailInvalid:"Please enter a valid email address",contentRequired:"Please enter your message"}}},aE={messageLine1:"We use cookies to improve your browsing experience, analyze site traffic, and provide personalized content.",messageLine2:'By clicking "Accept", you agree to our use of cookies.',reject:"Reject",accept:"Accept"},oE={meta:{title:"Our History"},hero:{sectionAriaLabel:"Our History page header",eyebrow:"About TWRF",title:"Our History",descriptionLine1:"Key milestones and honors in the history of Taipei Womenâs Rescue Foundation."},tabs:{listAriaLabel:"Switch between milestones and honors"},milestones:{sectionTitle:"Milestones",sectionAriaLabel:"Milestone list",yearFilterAriaLabel:"Switch milestone year range",yearFilterScrollHintAriaLabel:"Scroll right for more year ranges",yearRangeLabelTemplate:"{start}â{end}",yearRangeTabAriaLabelTemplate:"Show milestones from {start} through {end}",empty:"No milestone entries yet.",itemImageAltTemplate:"Image for {title}",cardTitleMonthPartTemplate:"{month}",yearLabelTemplate:"{year}"},awards:{sectionTitle:"Honors",sectionAriaLabel:"Honors and awards",yearFilterAriaLabel:"Switch honors year range",yearFilterScrollHintAriaLabel:"Scroll right for more year ranges",yearRangeLabelTemplate:"{start}â{end}",yearRangeTabAriaLabelTemplate:"Show honors from {start} through {end}",pagination:{navAriaLabel:"Honors list pagination",prev:"Previous page",next:"Next page",pageAriaLabel:"Page {page}"},empty:"No award entries yet.",cardImageAltTemplate:"Award image for {title}"}},sE={meta:{title:"People and Offices"},hero:{sectionAriaLabel:"People and Offices hero section",eyebrow:"about us",title:"People and Offices",fallbackTitle:"People and Offices",fallbackDescription:"Our cross-disciplinary teams collaborate to support survivors, advance advocacy, and strengthen social education through a sustainable protection network."},organizationChart:{sectionAriaLabel:"TWRF organization chart",imageAlt:"TWRF organization chart"},memberList:{sectionAriaLabel:"Board member list",empty:"No board member data is available at the moment.",fallbackRoleType:"Uncategorized",showMore:"Show more",showLess:"Show less"}},lE={meta:{title:"About Us"},hero:{sectionAriaLabel:"About us page hero",eyebrow:"About us",title:"About Us",descriptionLine1:"Join TWRF in our work to protect victims of violence and create life-changing opportunities for them.",descriptionLine2:"Empower them to rebuild their lives, so that every wounded soul can bloom once again in love and hope."},mission:{label:"Our origins, mission, and vision",heading:"Driving Reform, Healing Trauma",content:"Taipei Women's Rescue Foundation (TWRF) is a non-profit, non-governmental organization established to provide counseling, shelter, legal and medical assistance to victims of gender-specific violence, and children who witness domestic violence. In addition to our ongoing public advocacy efforts, TWRF cooperates with legislators and other organizations to create new laws to aid in these goals."},timeline:{items:[{imageAria:"Placeholder for imagery about TWRF history and services",heading:"",body:"Foundation was originally created to help eradicate child prostitution, a serious problem in the 80's. After our inception, we have expanded our work on victim empowerment to include these major issues in order to keep pace with Taiwan's changing needs: Digital Sexual Violence, Domestic Violence, Children Witness Violence, Sexual Assault, Sexual Slavery in the Japanese Military (AMA Museum) and Human Trafficking."}]},chair:{portraitAria:"Portrait of the chairperson",name:"En-Chia Tsai",role:"Chairperson",sectionLabel:"Message from the Chairperson",quoteLine1:"Protecting Dignity: Where Courage Comes to Bloom",quoteLine2:"",expand:{showMore:"Show more",showLess:"Show less"},body:`Founded in 1987âan era when women's rights were largely disregardedâthe Taipei Women's Rescue Foundation (TWRF) began by rescuing young girls from sex trafficking and pushing for critical legal reforms. Later, we accompanied the "Comfort Women" Grandmas to demand historical justice. This founding mission remains rooted in our absolute commitment to human dignity. 121 122Nearly forty years later, Taiwanese society has changed, and violence has mutated into new forms, such as digital sexual violence and psychological exploitation. Yet, TWRF's conviction remains unshakable: trauma should never be borne alone, and shame does not belong to the survivors who choose to move forward. We exist to stand shoulder to shoulder with every brave soul yearning for rebirth. 123 124"Victim-centered" care and Empowerment are at the heart of TWRF. Through professional social work, we don't just rescue; we accompany individuals as they reclaim their inner strength, transforming from "victims" into "survivors" and masters of their own lives. Every helpline call and letter over the decades has shaped our history, ensuring that anyone who turns to us experiences an acceptance that is both deeply professional and profoundly warm. 125 126As new forms of cybercrime emerge, our services continue to expand. We strive to build a safety net that catches everyone. By collaborating with public sectors and leveraging frontline experience, we develop innovative recovery programs to guide Taiwan toward a fairer, safer tomorrow. 127 128Looking ahead, we aim to drive not only policy changes, but a fundamental shift in societal attitudes: making "Zero Tolerance for Violence" a universal value. 129 130This journey is never easy. Whether you support us through donations, volunteering, or spreading awareness, you are an indispensable "co-creator of value" in this vital work. We sincerely invite you to join us. Together, let us use a more strategic love to guard this hard-won bravery, and transform every tear into a force that changes the world.`}},cE={categoryDropdownLabel:"Advocacy topics",categoryDropdownAriaLabel:"Select an advocacy topic",bodyCta:{fallbackTitle:"Support us",sectionAriaLabel:"Advocacy page donation appeal and related links"}},uE={meta:{title:"SDGs in practice"},hero:{sectionAriaLabel:"SDGs practice page header",eyebrow:"SDGs",title:"SDGs",descriptionLine1:"Through advocacy, we drive social reform, provide services, and empower vulnerable women and children to achieve self-reliance and autonomy, while advancing their fundamental human rights.",descriptionLine2:"Moving forward, we will c
130ontinue to deepen and expand our commitment to the United Nations Sustainable Development Goals (SDGs) and broaden our impact across other priority areas."},intro:{sectionAriaLabel:"SDGs introduction and image carousel",body:"Among the UN's 17 Sustainable Development Goals (SDGs), Taipei Women's Rescue Foundation actively contributes to SDG 1 (No Poverty), SDG 4 (Quality Education), SDG 5 (Gender Equality), SDG 8 (Decent Work and Economic Growth), SDG 10 (Reduced Inequalities), and SDG 16 (Peace, Justice and Strong Institutions).",sliderSlideAltTemplate:"SDGs introduction carousel slide {n}",sliderDotAriaLabelTemplate:"Go to slide {n}"},list:{sectionAriaLabel:"SDGs practice items",empty:"No SDG practice items are available yet."},item:{standardPrefix:"Indicator",imageAlt:"Image: {title}",accordionExpandLabel:"Expand {title}",accordionCollapseLabel:"Collapse {title}"}},fE={meta:{title:"Annual report"},hero:{sectionAriaLabel:"Annual report page header",eyebrow:"Annual report",title:"Annual report",description:"Each year, the Taipei Women's Rescue Foundation publishes an annual report on our services, finances, and advocacyâreview our work and plans with us."},grid:{sectionAriaLabel:"Annual reports list",empty:"No annual reports are available yet."},card:{tagLabel:"Annual report",readLabel:"Read now",previewTitle:"PDF preview",closePreviewLabel:"Close preview",openInNewTabLabel:"Open in new tab",coverAlt:"Cover: {title}",linkAriaLabel:"Open report: {title}",unavailableLabel:"File unavailable"},pagination:{navAriaLabel:"Annual reports pagination",prev:"Previous page",next:"Next page",pageAriaLabel:"Go to page {page}"}},dE={meta:{title:"Downloads"},hero:{sectionAriaLabel:"Download page hero",eyebrow:"Download",title:"Downloads",descriptionLine1:"Join TWRF in our work to protect victims of violence and create life-changing opportunities for them.",descriptionLine2:"Empower them to rebuild their lives, so that every wounded soul can bloom once again in love and hope.",imageAlt:"Download page hero image â replace with final asset"},category:{sectionAriaLabel:"Download category filters",all:"All",empty:"No download categories are available yet."},list:{sectionAriaLabel:"Download file list",empty:"No downloadable files are available yet.",fallbackTitle:"Untitled file",fallbackCategory:"Uncategorized",downloadAriaLabel:"Download file: {title}"},pagination:{navAriaLabel:"Download pagination",prev:"Previous page",next:"Next page",pageAriaLabel:"Go to page {page}"}},hE={notFound:{title:"Page Not Found",description:`The page you are looking for may have been removed, renamed, or its URL has changed. 131Please return to the homepage or use the menu to find what you need.`},forbidden:{title:"Access Denied",description:"You do not have permission to view this page."},serverError:{title:"Server Error",description:"Sorry, something went wrong on our end. Please try again later."},serviceUnavailable:{title:"Service Unavailable",description:"The site is under maintenance. Please try again later."},fallback:{title:"Something Went Wrong",description:"Sorry, this page is temporarily unavailable. Please try again later."},backHome:"Back to Home"},Xd="/build/assets/shopee-default-Vbec6HKM.png",Zd="/build/assets/shopee-hover-dgJu0FBe.png",eh="/build/assets/linepay-default-DlgdheyQ.png",th="/build/assets/linepay-hover-CpTX5VOL.png",rh="/build/assets/jkopay-default-CYzmujG7.png",nh="/build/assets/jkopay-hover-DNP0dPFX.png",ih="/build/assets/pi-default-B6EBUv--.png",ah="/build/assets/pi-hover-CA_qQ3IK.png",pE={titleLine1:"Your support makes it possible for us to provide comprehensive professional services for survivors of violence.",titleLine2:"",bodyLine1:"Together, we ensure that no one has to heal alone, and we work toward building a safer and more compassionate society.",bodyLine2:"",channels:{website:{label:"Donate on site",href:"/donation/general",hoverColor:"var(--color-brand-main)"},shopee:{label:"Shopee Charity",href:"https://shopee.tw/twrf.tw?fbclid=IwY2xjawN-NoNleHRuA2FlbQIxMABicmlkETEydTR2YWZlZmhyQVhiQ0s5c3J0YwZhcHBfaWQQMjIyMDM5MTc4ODIwMDg5MgABHhgGW_MTyVe-8PMyPSfronse_IFzrUx5HwG3hn8LSQND_r2wX1bTi-Ghs688_aem_hxz5-QgANSwZHZ1SE_6TsQ",logo:Xd,hoverLogo:Zd,hoverColor:"#EE4E2E"},linePay:{label:"",href:"https://web-tw-pay.line.me/cms/donation/sellers/poatwrf00969916",ariaLabel:"Donate with LINE Pay",logo:eh,hoverLogo:th,hoverColor:"#00C34D"},jkopay:{label:"",href:"https://mkt.jkopay.com/desktop?url=https%3A%2F%2Fservice.jkopay.com%2Fr%2Faweb%3Furl%3Dhttps%253A%252F%252Fdonation-app.jkos.com%252Fpublic-welfare%252Fcharity-group%252Fdetail%253Fid%253D113",ariaLabel:"Donate with JKOPAY",logo:rh,hoverLogo:nh,hoverColor:"#C9191D"},pi:{label:"",href:"https://www.piapp.com.tw/app/download?type=partner_qrcode&qrcode_url=https%3A%2F%2Fwww.piapp.com.tw%2Fpayqrcode%2Fseller%2F1925026927",ariaLabel:"Donate with Pi Wallet",logo:ih,hoverLogo:ah,hoverColor:"#1CA7FC"}}},mE={metaTitle:"Corporate Partners",hero:{sectionAriaLabel:"Corporate support page main section",eyebrow:"Our Partners",title:"Corporate Partners",subtitle:"The Taipei Women's Rescue Foundation welcomes corporate partners committed to building a better tomorrow."},intro:{sectionAriaLabel:"Corporate support introduction",fallbackTitle:"",fallbackDescription:`Behind every courageous step away from violence is the support of a caring community. With the partnership of corporate supporters, this journey of healing can become more sustainable, far-reaching, and impactful. 132 133Depending on the scale and nature of the collaboration, TWRF offers a range of partnership opportunities, including exposure across its social media and digital platforms, brand visibility through advertising placements, customized talks and workshops, guided tours at Ama Museum, as well as co-hosted donation or partnership events. 134 135We welcome flexible partnership planning tailored to your organization's CSR and s
135ocial impact goals, and would be delighted to discuss customized collaboration opportunities with you.`,imagePlaceholderLabel:"Corporate support hero image",imagePlaceholderNote:"Image pending (replace src manually)"},sections:{sectionAriaLabel:"Corporate support detail sections",fallbackTitle:"Section Title {index}",fallbackDescription:"Content pending",empty:"No corporate support content has been published yet."},partners:{sectionAriaLabel:"Corporate partners section",title:"Partners",fallbackName:"Corporate partner",empty:"No corporate partner data available yet.",imagePlaceholderLabel:"{name} logo image",imagePlaceholderNote:"Logo pending (replace src manually)",partnerLinkAriaLabel:"Open {name} official website"},pagination:{navAriaLabel:"Corporate partners pagination",prev:"Previous page",next:"Next page",pageAriaLabel:"Page {page}"},cta:{sectionAriaLabel:"Corporate support call to action",title:"Partner with TWRF",description:"Stand with survivors and help light the way forward.",buttonLabel:"Fill Form",buttonAriaLabel:"Go to corporate partnership form"}},gE={defaultTitle:"General Donation",relatedProjectsHeading:"Support other TWRF donation projects",emptyStateDescription:"No general donation content is published yet. Please add content in the admin panel.",bodyCta:{fallbackTitle:"Support us",sectionAriaLabel:"General donation call to action and related links"}},yE={body:{showMore:"Show more",showLess:"Show less"},bodyCta:{fallbackTitle:"Support us",sectionAriaLabel:"Donation call to action and related links"},thankYou:{regionAriaLabel:"Donation Completed",title:"Donation Completed",subtitle:"Thank you for your generous support!",shareCard:{title:"Share this project",bodyLine1:`Join TWRF in our work to protect victims of violence and create life-changing opportunities for them. 136 137Empower them to rebuild their lives, so that every wounded soul can bloom once again in love and hope.`},shareRowAriaLabel:"Share this donation project",shareFacebookAria:"Share this donation project on Facebook",shareLineAria:"Share this donation project on LINE",copyLinkAria:"Copy donation project link",backToProjectList:"Back to projects"},paymentForm:{previousStep:"Previous step",nextStep:"Next step",stepIndicatorCaption:"Step {current} of {total}",stepIndicatorNavAria:"Donation flow steps",stepFlowLabels:{amount:"Donation amount",donor:"Donor details and receipt",confirm:"Review information",payment:"Payment"},step4:{title:"Payment",description:"Once you confirm the information, click âComplete donationâ to be securely redirected to the NewebPay payment page, where you can follow the instructions to complete your payment. Use âPrevious stepâ if you need to revise any information.",completeDonation:"Complete donation",submitting:"Redirecting you to the payment pageâ¦",submitError:"We could not process your request right now. Please try again later or contact support."},step3:{totalAmountTitle:"Total amount",receiptNeedLabel:"Receipt",emptyValue:"â",privacyNotAgreed:"Personal data consent not agreed",donationLookupLabel:"Donation lookup",donationLookupNeed:"Yes, enable online lookup",donationLookupNoNeed:"No"},step1:{mode:{title:"Choose donation type",monthly:"Monthly donation",oneTime:"One-time donation"},amount:{title:"Choose amount or custom amount",currency:"NTD$",modeLabel:"Monthly donation",customPlaceholder:"$ Enter custom donation amount"},installment:{title:"Monthly installment period",option12:"12 periods",option24:"24 periods",option36:"36 periods",optionUnlimited:"Unlimited",debitDayNote:"Monthly charges are billed on the same calendar day you complete card authorization. If that day is the 29thâ31st, billing is fixed on the 28th to meet payment-gateway rules."},payment:{title:"Payment method",creditCard:"Credit card donation",cvsCode:"CVS code",cvsBarcode:"CVS barcode",linePay:"LINE Pay",jkoPay:"JKOPay",applePay:"Apple Pay"}},step2:{summaryChip:"{mode} {amount}",phaseHintBasic:"2-1 Donor details",phaseHintReceipt:"2-2 Receipt and other information",basic:{title:"Donor information",email:"Email",emailPlaceholderNoReceipt:"Enter email",emailPlaceholderWithReceipt:"Enter email",lastName:"Last name",lastNamePlaceholder:"Enter last name",firstName:"First name",firstNamePlaceholder:"Enter first name",mobile:"Mobile phone",mobilePlaceholder:"Enter mobile number",telephone:"Landline",telephonePlaceholder:"Enter landline number",privacyLabel:"Personal data consent",privacyCheckbox:"I have read and agree to the personal data collection statement",privacyBody:"Thank y
137ou for your donation. Taipei Womenâs Rescue Foundation will use your personal data (such as name, phone, and email) only for donation services, fundraising acknowledgements, and organizational activities, in compliance with applicable privacy laws. You may contact us during business hours to request access, correction, or deletion of your data."},receipt:{title:"Receipt preferences",receiptTitle:"Receipt title",receiptTitlePlaceholder:"Enter receipt title",receiptEmail:"Email",receiptEmailPlaceholder:"Enter email",taxId:"Unified business number",taxIdPlaceholder:"Enter numbers only",idNumber:"National ID number",idNumberPlaceholder:"e.g. A123456789 or ARC number",identityIndividual:"Individual donation",identityOrganization:"Organization donation",identitySwitchAria:"Choose donor type (individual or organization)",syncSameAsDonorName:"Same as donor name",donationLookupTitle:"Enable online donation lookup",donationLookupHint:"If you choose âYesâ, you must enter your national ID (individual) or unified business number (organization) to enable lookup.",donationLookupNeed:"Yes",donationLookupNoNeed:"No",types:{noReceipt:"No receipt (no tax deduction / do not mail)",uploadToTaxBureau:"Yes â upload to tax office only (do not mail)",singleElectronicReceipt:"Yes â single electronic receipt",yearlyElectronicReceipt:"Yes â annual electronic receipt",yearlyPaperReceipt:"Yes â annual paper receipt",singlePaperReceiptForCompany:"Yes â single paper receipt (company)"},fieldHints:{noReceiptIdNumber:"Required if you want to enable online donation record lookup.",uploadIdentityScope:"Uploading to the tax office is limited to individual donations.",uploadIdOrTaxCert:`If you choose an electronic receipt, your national ID is the password to open the file. 138Uploading to the tax office requires a national ID or ARC number.`,electronicIdNumber:"If you choose an electronic receipt, your national ID is the password to open the file.",yearlyPaperIdOrTaxCert:`If you choose an electronic receipt, your national ID is the password to open the file. 139Uploading to the tax office requires a national ID or ARC number. 140Required if you want to enable online donation record lookup.`}},common:{nameDisclosureTitle:"Publish your name",nameDisclosureHintBeforeLink:"Pursuant to ",nameDisclosureLawLink:"the Charitable Foundation Act",nameDisclosureHintAfterLink:", Article 25: unless donors object in writing, charities must publish donor names and donation amounts. If you do not want to be listed, choose âDisagree (anonymous)â above.",nameDisclosureAgree:"Agree",nameDisclosureAnonymous:"Disagree (anonymous)",giftTitle:"Gift item",giftNeed:"Yes",giftNoNeed:"No",giftAddress:"Mailing address (required for paper receipts or thank-you gifts)",addressCounty:"City",addressCountyPlaceholder:"Select city",addressDistrict:"District",addressDistrictPlaceholder:"Select district",addressDetail:"Street address",addressDetailPlaceholder:"Enter address",note:"Notes",notePlaceholder:"Anything else we should know (optional)"},validation:{required:"This field is required",invalidEmail:"Please enter a valid email",invalidMobile:"Please enter a valid mobile number (10 digits starting with 09)",privacyRequired:"Please agree to the personal data statement",digitsOnly:"Digits only",invalidIdNumber:"Enter 8â24 characters: letters, digits, or hyphens only (national ID / ARC).",donorDataMissingForSync:"Donor name is incomplete. Finish step 2-1 before using this option."}}}},bE={metaTitle:"Donation Records Inquiry",left:{eyebrow:"Donation history",title:"Donation Records Inquiry",retryQueryHeading:"Search again"},right:{form:{recaptchaNotice:{lead:"This site is protected by reCAPTCHA and the Google ",privacyLabel:"Privacy Policy",middle:" and ",termsLabel:"Terms of Service",end:" apply."}}}},vE={metaTitle:"Donation Methods",hero:{sectionAriaLabel:"Donation methods page heading",eyebrow:"How to donate",title:"Donation Methods",subtitle:"Every dollar you give can generate ten times the social return through TWRF social impact efforts."},intro:{title:"Join TWRF in our work to protect victims of violence and create life-changing opportunities for them.",description:"Empower them to rebuild their lives, so that every wounded soul can bloom once again in love and hope.",imagePlaceholderL
140abel:"Donation methods hero visual",imagePlaceholderNote:"Image pending (replace src manually)"},accordion:{sectionAriaLabel:"Donation method accordion list",expandLabel:"Expand {title}",collapseLabel:"Collapse {title}",fallbackTitle:"Untitled donation method",emptyContent:"No details are available yet."},note:{line1:"<strong>Security Notice</strong>",line2:"Our organization will never initiate contact with donors to request changes to donation methods, repeated charges, ATM or online banking transactions, mobile app installation, or personal information verification.",line3:"If you receive such a e-mail, phone call or have any questions, please feel free to contact us for verification. Thank you."},cta:{title:"Your support makes it possible for us to provide comprehensive professional services for survivors of violence.",body:"Together, we ensure that no one has to heal alone, and we work toward building a safer and more compassionate society."}},wE={metaTitle:"Fundraising Campaigns",hero:{sectionAriaLabel:"Fundraising campaigns hero section",eyebrow:"Fundraising Campaign",title:"Fundraising Campaigns",description:`Join us in protecting vulnerable women and children and creating opportunities that transform lives. 141Together we can restore strength, so every wounded soul can bloom again with hope.`,imagePlaceholderAriaLabel:"Fundraising campaigns hero image placeholder for final asset"},list:{sectionAriaLabel:"Fundraising campaigns list",emptyState:"There are no fundraising campaigns at the moment.",cardLinkAriaLabel:"View fundraising campaign: {title}",cardCoverAlt:"Fundraising campaign cover: {title}"},pagination:{navAriaLabel:"Fundraising campaigns pagination",prev:"Previous page",next:"Next page",pageAriaLabel:"Go to page {page}"}},PE={metaTitle:"Donation Records",hero:{sectionAriaLabel:"Donation records page",eyebrow:"/ Donation Record",title:"Donation / In-Kind Records"},list:{sectionAriaLabel:"Donation and in-kind record list",emptyState:"No donation records are available at the moment.",fallbackTitle:"Donation / In-Kind Record",fallbackDate:"â",itemActionAriaLabel:"Open donation record: {title}",previewTitle:"PDF preview",closePreviewLabel:"Close preview",openInNewTabLabel:"Open in new tab"},pagination:{navAriaLabel:"Donation records pagination",prev:"Previous page",next:"Next page",pageAriaLabel:"Go to page {page}"}},SE={metaTitle:"Payment Result",success:{title:"Donation Completed",subtitle:"Thank you for your generous support!"},failure:{title:"Transaction incomplete",subtitle:"We could not confirm the payment result. Please try again, and contact our team if the issue persists."},share:{title:"Share this project",text:`Join TWRF in our work to protect victims of violence and create life-changing opportunities for them. 142 143Empower them to rebuild their lives, so that every wounded soul can bloom once again in love and hope.`},thankYou:{regionAriaLabel:"Donation complete and share",shareRowAriaLabel:"Share on social or copy link",shareFacebookAria:"Share on Facebook",shareLineAria:"Share on LINE",copyLinkAria:"Copy fundraising project link"},navigation:{ariaLabel:"Payment result page navigation",backToDonation:"Back to donation",backToHome:"Back to home"},errors:{bypassMissingRedirect:"Your payment was recorded, but we could not open the result page. Please contact support or check your donation history later."}},EE={title:"Hi",localeTest:"Current locale: English (en)",sectionBanner:"Home banners",sectionServiceStats:"Service impact statistics",sectionPinnedProjects:"Featured fundraising projects",sectionNews:"Latest news",entrance:{introAriaLabel:"Site welcome message",line1:"Weaving a safety net to protect women and children",line2:"Helping them reclaim dignity in life"},hero:{openBannerSlideLink:"Open link for this home banner slide",openBannerSlideLinkNamed:"Open home banner link: {title}",goToSlide:"Go to slide {n}",floatDonateLine1:"",floatDonateLine2:"Donate",floatNewsletterLine1:"",floatNewsletterLine2:"Subscribe",quickExit:"Quick exit"},sectionStory:"Stories section",story:{heading:"Our stories",subheading:"Stories",readMore:"Read more"},news:{subheading:"Latest News",heading:"In focus",filterAll:"All",f
143ilterScrollHintAria:"Scroll right for more categories",filterAriaLabel:"News categories",emptyList:"No stories to show yet.",viewMore:"More stories and updates",openNewsAria:"Read news: {title}",coverAlt:"News cover: {title}",carouselDotAria:"Go to news item {n}"},pinned:{heading:"Fundraising campaigns",subheading:"Fundraising campaign",currentRaised:"Raised so far",targetAmount:"Funding goal",viewAll:"View more projects",openProjectAria:"View fundraising project: {title}",coverAlt:"Fundraising project cover: {title}",viewAllHref:"#",carouselDotAria:"Go to page {n}"}},_E={backToList:"Back",backToListAria:"Back to news listing",backToPreviousPage:"Back to previous page",articleAriaLabel:"Article",bodySectionAriaLabel:"Article body",coverAlt:"Cover image: {title}",videoEmbedAria:"Embedded video: {title}",shareRowAriaLabel:"Share this article",shareFacebookAria:"Share on Facebook",shareLineAria:"Share on LINE",copyLinkAria:"Copy article link",copyLinkSuccess:"Link copied",copyLinkFailed:"Could not copy the link. Please copy the address from the address bar.",relatedArticles:{sectionAriaLabel:"Related articles section",subheading:"Related Article",heading:"More related articles",defaultCategory:"News Release",openArticleAria:"Read related article: {title}",coverAlt:"Related article cover: {title}"}},AE={hero:{sectionAriaLabel:"News page hero",eyebrow:"News",title:"News",description:"Stay up to date with the latest updates, events, and announcements from Taipei Womenâs Rescue Foundation.",imageAlt:"News hero image â replace with final asset"},list:{sectionAriaLabel:"News list and categories"},sort:{label:"Sort",panelHeader:"Sort",ariaLabel:"Sort",optionNewestFirst:"Newest first",optionOldestFirst:"Oldest first"},search:{formAriaLabel:"Search news",placeholder:"Search title or excerptâ¦",submit:"Search"},emptyState:"There are no published news items yet.",pagination:{navAriaLabel:"News list pagination",prev:"Previous",next:"Next",pageInfo:"Page {current} of {last} · {total} total",pageAriaLabel:"Page {page}"}},xE={snsLinks:{youtube:"https://www.youtube.com/@twrf-org",facebook:"https://www.facebook.com/twrf.org/",instagram:"https://www.instagram.com/twrf.tw"},navbar:{ariaLabel:"Main navigation",logoAlt:"Taipei Womenâs Rescue Foundation Logo",menuItems:[{label:"About us",hasDropdown:!0},{label:"Our service",hasDropdown:!0},{label:"Initiatives",hasDropdown:!0},{label:"News",hasDropdown:!0},{label:"Published by TWRF",hasDropdown:!0}],languageSwitch:"ç¹ä¸",languageSwitchAriaLabel:"Switch to Traditional Chinese",searchAriaLabel:"Search",searchRegionAriaLabel:"Site search",searchPlaceholder:"Enter keywords",mobileMenuSearchPlaceholder:"Enter keywords",searchSubmitAriaLabel:"Submit search",searchClose:"Close",mobileNavDialogAriaLabel:"Site menu",mobileMenuOpenAriaLabel:"Open menu",mobileMenuCloseAriaLabel:"Close menu",mobileMenuBack:"Back",mobileMenuBackAriaLabel:"Back to main menu",onlineConsultation:"Contact",donate:"Donate",donateMenuAriaLabel:"Donation menu",donateMenuItems:[{label:"General Donation",internalPath:["donation","general"]},{label:"Fundraising Campaigns",internalPath:["donation"]},{label:"Donation Methods",internalPath:["donation","methods"]},{label:"Corporate Partners",internalPath:["donation","corporate"]},{label:"Donation / In-Kind Records",internalPath:["donation","records"]},{label:"Donation Records Inquiry",internalPath:["donation","query"]}],submenuGroups:[{title:"About us",items:[{label:"About Us",internalPath:["about"]},{label:"People and Offices",internalPath:["about","organization"]},{label:"Our History",internalPath:["about","our-history"]},{label:"SDGs",internalPath:["about","sdgs"]},{label:"Annual report",internalPath:["about","annual-reports"]}]},{title:"Our service",items:[{label:"Services Overview",internalPath:["service"]},{label:"Intimate Partner Violence"},{label:"Human Trafficking"},{label:"Children Witnessing Domestic Violence"},{label:"Digital Sexual Violence",isExternal:!0},{label:"Former Taiwanese Comfort Women",isExternal:!0},{label:"Career Transition Support for Sex Workers",isExternal:!0},{label:"Adult Survivors with Childhood Exposure"}]},{title:"Initiatives",items:["Friendly Bystander","Gender Public Education","
143Legislative Advocacy"]},{title:"News",items:[{label:"News",internalPath:["news"]}]},{title:"Published by TWRF",items:[{label:"Videos & Media",internalPath:["video"]},{label:"Publications",internalPath:["publication-list"]},{label:"TWRF Podcast",internalPath:["podcast"]},{label:"Downloads",internalPath:["download"]},{label:"Publications",internalPath:["publications"]}]}]},footer:{logoAlt:"Taipei Womenâs Rescue Foundation Logo",backToTopAriaLabel:"Back to top",backToTopLabel:"TOP",contactInfo:["5F., No. 32, Sec. 3, Chengde Rd., Datong Dist., Taipei City 103, Taiwan (R.O.C.)","Phone: +886-2-2555-8595","Fax: +886-2-2553-6833","Email: [email protected]"],socialAriaLabels:{youtube:"YouTube",facebook:"Facebook",instagram:"Instagram"},menuGroups:[{title:"About TWRF",items:[{label:"About Us",internalPath:["about"]},{label:"People and Offices",internalPath:["about","organization"]},{label:"Our History",internalPath:["about","our-history"]},{label:"SDGs",internalPath:["about","sdgs"]},{label:"Annual report",internalPath:["about","annual-reports"]}]},{title:"Services",items:[{label:"Services Overview",internalPath:["service"]},{label:"Intimate Partner Violence"},{label:"Human Trafficking"},{label:"Children Witnessing Domestic Violence"},{label:"Adult Survivors with Childhood Exposure"},{label:"Digital Sexual Violence",isExternal:!0},{label:"Former Taiwanese Comfort Women",isExternal:!0},{label:"Career Transition Support for Sex Workers",isExternal:!0}]},{title:"Advocacy",items:["Friendly Bystander","Gender Public Education","Legislative Advocacy"]},{title:"Donate",items:[{label:"Fundraising Campaigns",internalPath:["donation"]},{label:"Donation Methods",internalPath:["donation","methods"]},{label:"Corporate Partners",internalPath:["donation","corporate"]},{label:"Donation / In-Kind Records",internalPath:["donation","records"]},{label:"Donation Records Inquiry",internalPath:["donation","query"]},{label:"General Donation",internalPath:["donation","general"]}]},{title:"Media",items:[{label:"Videos & Media",internalPath:["video"]},{label:"Publications",internalPath:["publication-list"]},{label:"TWRF Podcast",internalPath:["podcast"]},{label:"Downloads",internalPath:["download"]},{label:"Publications",internalPath:["publications"]}]}],singleLinkGroups:[{title:"Online Consultation",item:"Online Consultation",internalPath:["consultation"]},{title:"News",item:"News",internalPath:["news"]}],copyright:`Copyright 2026 The Taipei Women's Rescue Foundation. 144All Rights Reserved`,privacyPolicy:"Privacy Policy"}},LE={meta:{title:"Privacy Policy"},page:{sectionAriaLabel:"Privacy policy content"}},TE={metaTitle:"TWRF Podcast",hero:{sectionAriaLabel:"TWRF Podcast page hero",eyebrow:"Podcast",title:"TWRF Podcast",description:"Listen to stories and insights on gender justice, victim support, and advocacy.",imageAlt:"Podcast hero image â replace with final asset"},featured:{sectionAriaLabel:"Apple Podcast embed player section",embedLabel:"Apple Podcasts",embedTitle:"Apple Podcast Embed Player",embedDescription:"The final Apple Podcast embed player will be placed in this section."},list:{sectionAriaLabel:"Podcast episodes list",emptyState:"There are no podcast episodes available yet.",fallbackTitle:"Untitled episode",fallbackPublishedAt:"Date unavailable",fallbackDuration:"Duration unavailable",imageAlt:"Podcast cover art: {title}",playAriaLabel:"Open Apple Podcast episode: {title}",linkAriaLabel:"Open Apple Podcast page in new tab: {title}",pinnedMarkerAriaLabel:"Pinned episode: {title}"},pagination:{navAriaLabel:"Podcast pagination",prev:"Previous page",next:"Next page",pageAriaLabel:"Go to page {page}"}},CE={meta:{title:"Publications"},hero:{sectionAriaLabel:"Publications page hero",eyebrow:"Electronic Publication",title:"Publications",descriptionLine1:"Join TWRF in our work to protect victims of violence and create life-changing opportunities for them.",descriptionLine2:"Empower them to rebuild their lives, so that every wounded soul can bloom once again in love and hope."},category:{sectionAriaLabel:"Filter by publication type",all:"All",empty:"No publication types are available to filter yet."}
144,toolbar:{sectionAriaLabel:"Search and sort"},sort:{label:"Sort",panelHeader:"Sort",ariaLabel:"Sort",optionNewestFirst:"Newest â oldest",optionOldestFirst:"Oldest â newest"},search:{formAriaLabel:"Search publications",placeholder:"Enter keywords"},grid:{sectionAriaLabel:"Publication list",fallbackType:"Uncategorized",fallbackTitle:"Untitled publication",empty:"No publications match your filters."},card:{readLabel:"Open to read",previewTitle:"PDF preview",closePreviewLabel:"Close preview",openInNewTabLabel:"Open in new tab",coverAlt:"{title} cover",unavailableLabel:"File not available"},pagination:{navAriaLabel:"Publication list pagination",prev:"Previous page",next:"Next page",pageAriaLabel:"Go to page {page}"}},OE={meta:{title:"Publications"},list:{sectionAriaLabel:"Publications list and categories",filterAll:"All",filterAriaLabel:"Filter publications by category",scrollHintAria:"Scroll sideways to see more categories",openItemAria:"Open publication: {title}",coverAlt:"Publication cover: {title}",emptyList:"No publications in this category."},sort:{label:"Sort",panelHeader:"Sort",ariaLabel:"Sort",optionNewestFirst:"Newest first",optionOldestFirst:"Oldest first"},search:{formAriaLabel:"Search publications",placeholder:"Search title or excerptâ¦",submit:"Search"},emptyState:"No published publications yet.",pagination:{navAriaLabel:"Publications pagination",prev:"Previous page",next:"Next page",pageInfo:"Page {current} / {last} · {total} items",pageAriaLabel:"Page {page}"}},kE={backToList:"Back",backToListAria:"Back to publications listing",backToPreviousPage:"Back to previous page",articleAriaLabel:"Publication article",bodySectionAriaLabel:"Publication body",coverAlt:"Cover image: {title}",videoEmbedAria:"Embedded video: {title}",shareRowAriaLabel:"Share this publication",shareFacebookAria:"Share on Facebook",shareLineAria:"Share on LINE",copyLinkAria:"Copy publication link",copyLinkSuccess:"Link copied",copyLinkFailed:"Could not copy the link. Please copy the address from the address bar.",relatedArticles:{sectionAriaLabel:"Related publications section",subheading:"Related Publication",heading:"More related publications",defaultCategory:"Publication",openArticleAria:"Read related publication: {title}",coverAlt:"Related publication cover: {title}"}},IE={sectionAriaLabel:"Related content section",project:{headingTemplate:"Support donation projects related to {title}",description:`Join TWRF in safeguarding vulnerable women and children, creating life-changing opportunities for them, 145Empower them to rebuild their lives, so that every wounded soul can bloom in love and hope.`,openProjectAria:"View related donation project: {title}",coverAlt:"Related donation project cover: {title}",sliderDotAria:"Go to related project {n}"},news:{subheading:"Related Article",heading:"More related articles",openNewsAria:"Read related article: {title}",coverAlt:"Related article cover: {title}",defaultCategory:"News"}},DE={metaTitle:"Site Search",mainAriaLabel:"Site search page",sectionAriaLabel:"Search page content",left:{eyebrow:"Search",title:"Search",searchInputAriaLabel:"Search keyword",searchPlaceholder:"Keyword",clearKeywordAriaLabel:"Clear keyword",submitAriaLabel:"Submit search",filtersAriaLabel:"Search category filters",filtersScrollHintAriaLabel:"Scroll right to see more categories"},filters:{all:"All",announcement:"Announcements",opinion:"Perspectives",event:"Events",story:"Stories",media:"Media Coverage"},rightColumnAriaLabel:"Search result list area",resultListAriaLabel:"Search results list",resultSummaryKeywordFallback:"Keyword",resultSummary:"{keyword}, {result} search results found",emptyState:"No search results match your filters.",pagination:{navAriaLabel:"Search result pagination",prev:"Previous page",next:"Next page",pageAriaLabel:"Page {page}"},cards:{first:{tag:"Announcements",date:"2026.2.27",title:"Taiwanâs first digital body-boundary picture book fundraising project",description:"Join us to protect vulnerable women and children by creating chances that help their lives change.",imageAlt:"Search result thumbnail",ariaLabel:"View announcement details"},second:{tag:"Perspectives",date:"2026.2.20",title:"Witnessing recovery: from support to independence",description:"Based on frontline service experience, we summarize support strategies and ke
145y turning points.",imageAlt:"Search result thumbnail",ariaLabel:"View perspective details"},third:{tag:"Media Coverage",date:"2026.2.10",title:"Media feature: building a safer support network together",description:"We collaborate across sectors to expand advocacy and services for people who need help.",imageAlt:"Search result thumbnail",ariaLabel:"View media coverage details"}}},RE={hero:{sectionAriaLabel:"Services overview hero",eyebrow:"Our Services",title:"Services Overview",description:"We provide victim-centered, multi-disciplinary support. Below is an overview of core programs and entry pointsâexplore each area to learn more.",imageAlt:"Services overview hero imageâreplace with final asset"},grid:{sectionAriaLabel:"Service programs list"},detail:{categoryDropdownLabel:"Our services",categoryDropdownAriaLabel:"Select a service category",caseStory:{showMore:"Show more",showLess:"Show less"}}},NE={meta:{title:"Videos & Media"},hero:{sectionAriaLabel:"Videos & Media page hero",eyebrow:"Video",title:"Videos & Media",descriptionLine1:"Join TWRF in our work to protect victims of violence and create life-changing opportunities for them.",descriptionLine2:"Empower them to rebuild their lives, so that every wounded soul can bloom once again in love and hope.",imageAlt:"Video page hero image â replace with final asset"},list:{sectionAriaLabel:"Video list",empty:"No video content available yet.",thumbnailAlt:"{title} thumbnail",openVideoAria:"Open video: {title}"},sort:{label:"Sort",panelHeader:"Sort",ariaLabel:"Video sort menu",optionNewestFirst:"Newest to oldest",optionOldestFirst:"Oldest to newest"},search:{formAriaLabel:"Search videos",placeholder:"Type to search"},pagination:{navAriaLabel:"Video pagination",prev:"Previous page",next:"Next page",pageAriaLabel:"Page {page}"}},FE={home:EE,components:nE,pageLayout:xE,privacyPolicyPage:LE,consultationPage:iE,cookieConsent:aE,errorPage:hE,aboutOurHistoryPage:oE,aboutOrganizationPage:sE,aboutPage:lE,aboutSdgsPage:uE,advocacyPage:cE,annualReportPage:fE,downloadPage:dE,servicePage:RE,publicationPage:OE,publicationDetailPage:kE,relationSection:IE,searchPage:DE,publicationListPage:CE,videoPage:NE,newsPage:AE,newsDetailPage:_E,podcastPage:TE,donationCTABlock:pE,donationCorporatePage:mE,donationGeneralPage:gE,donationProjectDetailPage:yE,donationQueryPage:bE,donationMethodsPage:vE,donationProjectsPage:wE,donationRecordsPage:PE,paymentResultPage:SE},ME={searchInput:{placeholder:"è«è¼¸å
¥å
§å®¹"}},jE={meta:{title:"è¯çµ¡æå"},leftColumn:{asideAriaLabel:"諮詢è¯çµ¡è³è¨",eyebrow:"Contact us",title:"è¯çµ¡æå",addressLine:"å°åï¼103å°åå¸å¤§ååæ¿å¾·è·¯ä¸æ®µ32è5æ¨",phoneLine:"é»è©±ï¼(02)2555-8595",faxLine:"å³çï¼(02)2553-6833",emailLine:"é»åä¿¡ç®±ï¼[email protected]"},form:{purposeLabel:"洽詢ç®ç",purposeOptions:[{key:"corporate_engagement",label:"伿¥åè"},{key:"institutional_visit",label:"æ©æ§å訪"},{key:"speaking_invitation",label:"å°è¬éç´"},{key:"research_interview",label:"ç ç©¶æ¡è¨ª"},{key:"other",label:"å
¶ä»æ´½è©¢"}],purposeGuidanceAriaLabel:"洽詢ç®ç說æ",orgNameLabel:"æ©æ§å稱",orgNamePlaceholder:"è«è¼¸å
¥æ©æ§å稱",contactNameLabel:"è¯çµ¡äºº",contactNamePlaceholder:"è«è¼¸å
¥è¯çµ¡äººå§å",phoneLabel:"è¯çµ¡é»è©±",phonePlaceholder:"è«è¼¸å
¥è¯çµ¡é»è©±",emailLabel:"Email",emailPlaceholder:"è«è¼¸å
¥ Email",contentLabel:"洽詢å
§å®¹",contentPlaceholder:"è«è¼¸å
¥æ´½è©¢å
§å®¹",submitLabel:"確èªéåº",recaptchaNotice:{lead:"æ¬ç¶²ç«å reCAPTCHA ä¿è·ï¼é©ç¨ Google ",privacyLabel:"é±ç§æ¬æ¿ç",middle:" è ",termsLabel:"æåæ¢æ¬¾",end:"ã"},submitError:"éåºå¤±æï¼è«ç¨å¾å試ã",successView:{title:"å·²æ¶å°æ¨å¡«å¯«çè³è¨",bodyLine1:"å¾çºå°ç±å°äººåéèæ¨è¯ç¹«ï¼",bodyLine2:"è«çææ¨çé»åä¿¡ç®±ï¼è¬è¬ã",backButton:"è¿å洽詢",regionAriaLabel:"表å®å·²æåéåº"},validation:{purposeRequired:"è«é¸ææ´½è©¢ç®ç",orgNameRequired:"è«å¡«å¯«æ©æ§å稱",contactNameRequired:"è«å¡«å¯«è¯çµ¡äººå§å",phoneRequired:"è«å¡«å¯«è¯çµ¡é»è©±",emailRequired:"è«å¡«å¯« Email",emailInvalid:"è«å¡«å¯«æ£ç¢ºç Email æ ¼å¼",contentRequired:"è«å¡«å¯«æ´½è©¢å
§å®¹"}}},qE={messageLine1:"æåä½¿ç¨ Cookie 便¹åæ¨çç覽é«é©ãåæç¶²ç«æµéï¼ä¸¦æä¾å人åå
§å®¹ã",messageLine2:"é»æãæ¥åãå³è¡¨ç¤ºæ¨åææåä½¿ç¨ Cookieã",reject:"æçµ",accept:"æ¥å"},$E={meta:{title:"大äºç´"},hero:{sectionAriaLabel:"大äºç´é é¦",eyebrow:"鿼婦æ´",title:"大äºç´",descriptionLine1:"åé¡§å©¦å¥³ææ´åºéæçéè¦å¤§äºç´èç²çè¨éã"},tabs:{listAriaLabel:"åæå¤§äºç´æå©¦æ´æ¦®èå
§å®¹"},milestones:{sectionTitle:"大äºç´",sectionAriaLabel:"大äºç´å表",yearFilterAriaLabel:"ä¾å¹´ä»½åéåæå¤§äºç´",yearFilterScrollHintAriaLabel:"å峿²åæ¥çæ´å¤å¹´ä»½åé",yearRangeLabelTemplate:"{start}â{end}",yearRangeTabAriaLabelTemplate:"ç¯©é¸ {start} å¹´è³ {end} å¹´åéç大äºç´",empty:"ç®åå°ç¡å¤§äºç´è³æã",itemImageAltTemplate:"{title} éå",cardTitleMonthPartTemplate:"{month}æ",yearLabelTemplate:"{year} å¹´"},awards:{sectionTitle:"å©¦æ´æ¦®è",sectionAriaLabel:"å©¦æ´æ¦®èçé
",yearFilterAriaLabel:"ä¾å¹´ä»½åéåæå©¦æ´æ¦®è",yearFilterScrollHintAriaLabel:"å峿²åæ¥çæ´å¤å¹´ä»½åé",yearRangeLabelTemplate:"{start}â{end}",yearRangeTabAriaLabelTemplate:"ç¯©é¸ {start} å¹´è³ {end} å¹´åéçå©¦æ´æ¦®è",pagination:{navAriaLabel:"å©¦æ´æ¦®èå表åé ",prev:"ä¸ä¸é ",next:"ä¸ä¸é ",pageAriaLabel:"第 {page} é "},empty:"ç®åå°ç¡çé
è³æã",cardImageAltTemplate:"{title}
145 åç"}},BE={meta:{title:"çµç¹æ¶æ§"},hero:{sectionAriaLabel:"çµç¹æ¶æ§é é¦",eyebrow:"about us",title:"çµç¹æ¶æ§",fallbackTitle:"çµç¹æ¶æ§",fallbackDescription:"æåä»¥è·¨å°æ¥åéåä½ï¼æ¨ååæ´å©¦å¹¼æ¯æãå¡è°è社ææè²ï¼æçºæ´å¤§ä¿è·ç¶²çµ¡ã"},organizationChart:{sectionAriaLabel:"婦æ´åºéæçµç¹å",imageAlt:"婦æ´åºéæçµç¹å"},memberList:{sectionAriaLabel:"çµç¹æå¡å表",empty:"ç®åå°ç¡çµç¹æå¡è³æã",fallbackRoleType:"æªåé¡",showMore:"顯示æ´å¤",showLess:"顯示è¼å°"}},VE={meta:{title:"èªè婦æ´"},hero:{sectionAriaLabel:"èªè婦æ´é é¦",eyebrow:"About us",title:"èªè婦æ´",descriptionLine1:"èå©¦æ´æä¸åå®è·å¼±å¢å©¦å¹¼ï¼çºä»ååµé æ¹è®çå½çæ©æ",descriptionLine2:"賦äºä»åéççåéï¼è®æ¯ä¸ååå·çééé½è½å¤ 卿è叿ä¸ç¶»æ¾ã"},mission:{label:"ç·£èµ·å®æ¨è顿¯",heading:"ææ´åµå· æ¨åæ¹é©",content:"åºéæç宿¨æ¯åºæ¼å°çå½å¹å¼çå°éè追æ±ç¤¾ææ£ç¾©ï¼å°æ³¨æ¼éå¿åå°æ§å¥æ´åå£è¿«å被忽è¦çå¼±å¢å©¦å¹¼ï¼ä»¥å¡è°æ¨åç¤¾ææ¹é©ï¼ä»¥æåå æ¬å¼±å¢å©¦å¹¼ï¼è®å ¶å¾ä»¥èªç«åèªä¸»ï¼æå婦幼人æ¬ã"},timeline:{items:[{imageAria:"æ©æãå°ç£å©¦å¥³ææ´åææç«å¤§æãå¡è°ææ´ç¸éæ·å²ç §ç",heading:"ä¸ã çµåå¡è°èææ´æåçå é© ",body:`1987å¹´éï¼ç±æ¼ç¼ç¾å¤§éå°å¥³éç¶æ¯è²©è³£ï¼è¢«æ¨å ¥ç«åå¾å¨¼ï¼çºäºææ´åé·æåå©éäºä¸å¹¸å°å¥³ï¼å¨ä¸ç¾¤ç±å¿çå¾å¸«ãå¸è å社æå·¥ä½è çæ¨åä¸ï¼å ±åæç«äºãå©¦å¥³ææ´åæãï¼æçºå°ç£å¨ææ´äººå£è²©è³£å°å¥³åçµæ¢å©¦å¥³è²·è³£æ¹é¢çå é© ï¼ä»¥ææ´ä¸å¹¸å©¦å¥³ï¼æä¾æ³å¾è«®è©¢åæåï¼è¼å°çæ´»èæè²ï¼é建èªä¿¡èªç«ä¹äººæ ¼ï¼åå©éè¿å®¶åºå社æçºç®çãå©¦æ´æä¹æ¯å°ç£å©¦å¥³éåå²ä¸ï¼çµåå¡å°å å°ã女æ§å æ¼è¢«å忬çè坦鿿´æåè¡åçééµéç¨ç¢ã 146 147å©¦æ´æèª 1987 å¹´æç«ä»¥ä¾ï¼å§çµç«å¨ç¤¾ææåç·ï¼éå°ç¶ææ³å¾å°æªå®åã社æè¦çºç¦å¿çè°é¡é²è¡å¡è°èææ´ï¼ 148ææ´éå¦çéè·¯å éï¼1980 年代å°ç£ç¤¾æäººå£è²©éå´éï¼å©¦æ´æç¼èµ·å¤§è¦æ¨¡ãææ´éå¦ãè¡åï¼æ¯å°ç£ææ©é注女æ§äººå£è²©éçæ°éçµç¹ã 149ãæ§æ´å鲿²»ãçç«æ³æ¨æï¼å¾æ©å¹´çãå å°æ§äº¤æé²å¶æ³å å°æ§äº¤æé²å¶æ¢ä¾/æ¹æ´åçºå å°æ§ååé²å¶æ¢ä¾ããå®¶åºæ´å鲿²»æ³ã人å£è²©éé²å¶æ³ãæ§å¥å¹³ç䏿³ï¼å°è¿å¹´è·è¹¤é¨·æ¾é²æ²»æ³ã侵害å人æ§ç§å¯å½±åé²å¶æ¢ä¾ï¼æ¤æ¢ä¾æªééï¼çç«æ³æ¨åï¼å°æ¸ä½æ§æ´åçç¸éäºæ³ä¿®æ³å¡è°ï¼å©¦æ´æå§çµæ®æ¼æ³å¾ç«æ³ãä¿®è¨çæ¨åè ï¼å¡«è£å¶åº¦ç©ºç½ã`},{imageAria:"å©¦æ´æå®£è¬èæ¨èªçãå°ç£ç¬¬ä¸ãç¸éæ´»åç §ç",heading:"äºã å°ç£ã第ä¸ã",body:`ç¼èµ·å ¨å°ç¬¬ä¸å ´éå°ãæ °å®å©¦ãæ£ç¾©çå¡è°éåï¼1992 å¹´èµ·ï¼å©¦æ´æçå éå§å°äºæ°ææå°ç£ãæ °å®å©¦ãå害è é²è¡èª¿æ¥èææ´ï¼å°æ¤è°é¡æ¨ååéèå°ãåæææå ©é¨è¨éç-ãé¿å¬¤çç§å¯ãããèè¦ä¹æãã 150 1511997å¹´è¨ç«å ¨å°ç£ç¬¬ä¸æ¯å©æ´æ±å©å°ç·ï¼æä¾æ³å¾è¨´è¨ãå¿çè¼å°ãé«çèæ³é¢éªåãåºè·è½ä»çå¤é æåï¼åå©å©¦å¥³è«é¢å©å§»æ´åã 152 153å ¨å°ç¬¬ä¸å®¶æ¨åãç®ç¹å®¶æ´å å°ãå°æ¥æåçæ©æ§ï¼å¨ç¤¾æå éæ³¨èº«é«åèè æï¼å©¦æ´æçå æ¼2003å¹´æåºãçè¦æ´åçå©å乿¯å害è ãï¼éå§æå ¥ç®ç¹å®¶æ´å å°èº«å¿ç¼å±çè°é¡ï¼ä¸¦çµåç¸éè³æºæä¾æåèåå©ã 154 155å ¨å°ç¬¬ä¸åè¨ç«ãæ¸ä½æ§æ´åãåå®³è æ±å©å°ç·åå¿åæ±å©ç¶²ç«ï¼éå°å·æãæ£å¸æ§ç§å¯å½±åçæ°å½¢æ æ´åï¼å©¦æ´æé å å ¨åï¼æ¼2015å¹´çå æä¾å°æ¥ç諮詢èå¿çè¼å°æåã2020å¹´ç¼è¡¨æ¸ä½æ§æ´å被害人æå模å¼ã 156 157å ¨å°ç¬¬ä¸åæä¾ã童年ç®ç¹å®¶æ´ä¹æå¹´å害è ãé²è¡æåçæ°éå®ä½ï¼æ ¹æ2021å¹´é²è¡çã110年童年ç®ç¹å®¶æ´ç¶é©ä¹å½±é¿èéæ±èª¿æ¥åå·ãï¼å©¦æ´ææ¯ç®åå¯ä¸éå°ãå·²æå¹´ãçç®ç¹å®¶æ´ååè ï¼æä¾é·æåæ¡æåãåé«çæ°éçµç¹ã2025å¹´ç¼è¡¨æå模å¼ã 158 159å ¨å°ç¬¬ä¸åæä¾è¢«èªé¨å°æ±åäºäººå£è²©é被害人æåç社工æåçµç¹ï¼2022éå°è¢«èªé¨å°æ¬å寨ãç·¬ç¸ãéä¸è§é²è¡åååå人å£è²©é被害人é²è¡è¿å徿åã親åæåãå¡è°ã網絡人å¡å°æ¥æåè¨ç·´ãåæèå°ç£åéåè©é¨åæåä½é²è¡ææ´èæåã 160 161å ¨å°ç¬¬ä¸åå®ç¾©ãæ¸ä½æ§æ´åãããæ¸ä½èº«é«çéãããæ¸ä½èº«é«é±ç§æ¬ãã 162 163å ¨å°ç¬¬ä¸åå¼å ¥æè§è ä»å ¥æ¦å¿µï¼ç¼å±åå路人ç²ï¼ç¼å±ç¤¾åãæ ¡åææ¡ï¼ãèå¬å¹ç¬äººãæ§å¥æ´å鲿²»æ¡éï¼é²è¡æ§å¥æ´å鲿²»å®£å³ã 164 165å ¨å°ææç¬¬ä¸åå®¶æ´è¢«å®³äººç´éçãæç黿µ·ãï¼ç¼å±ãç®ç¹å®¶æ´æ ¡åææ¡ãã`},{imageAria:"å©¦æ´æ¨èªèå¿èè¨è æçãå ¨å°å¯ä¸ã館åèæåç´å¯¦ç §ç",heading:"ä¸ã å ¨å°ãå¯ä¸ã",body:`å ¨å°å¯ä¸å¸¸è¨ç¶çãæ °å®å©¦ãåç©é¤¨ï¼å©¦æ´ææ¼2016å¹´åµç«ä¸¦ç¶çãé¿å¬¤å®¶-åå¹³è女æ§äººæ¬é¤¨ãï¼éæ¯å ¨å°å¯ä¸ä»¥ãæ °å®å©¦ãæ·å²çºåºåºï¼çµåç¶ä»£æ§å¥èäººæ¬æè²ç常è¨åç©é¤¨ï¼è½åå·ççºæè²è½éã 166å ¨å°å¯ä¸éå°ã童年ç®ç¹å®¶æ´ä¹æå¹´å害è ãé²è¡æåçå®ä½ã 167å ¨å°å¯ä¸è¨ç½®æ§äº¤ææåè è½æ¥è«®è©¢æ¨è³æºç¶²ã 168å ¨å°å¯ä¸è¾¦çå婿§äº¤ææåè è½æ¥ç¶²çµ¡äººå¡æè²è¨ç·´ã 169 170å©¦æ´æçæå模å¼ç¶å¸¸ä½çºç¶²çµ¡äººå¡æè²è¨ç·´ï¼ä¾å¦å¨ãç®ç¹å®¶æ´å 尿忍¡å¼ãæ¸ä½æ§æ´å被害人æåãæµ·å¤è¢«èªé¨è¿åç人å£è²©é被害人ãçèçä¸ï¼ç¼å±åºçµåç¤¾å·¥ãæ³å¾ãå¿ççæ´å弿åï¼å¨ç¸éè°é¡å°æªè¢«å ¬ç¾å»£æ³çè§£åï¼ä¾¿å·²ç¼å±å»ºç«æççæµç¨ã 171 172å©¦å¥³ææ´åºéæä¸å æ¯æ¥ä½å害è ï¼æ´æ¯å¨ç¤¾æå°æªå¯è¦ºéæ±æï¼ä¾¿å·²çå éææåçèéã`}]},chair:{portraitAria:"ç¾ä»»è£äºé·ç §ç",name:"è¡æ©å ",role:"ç¾ä»»è£äºé·",sectionLabel:"è£äºé·ç話",quoteLine1:"å®è·å°å´
172ï¼è®æ¯ä¸ä»½åæ¢é½è½éè±çµæ",quoteLine2:"",expand:{showMore:"顯示æ´å¤",showLess:"顯示è¼å°"},body:`1987 å¹´ï¼å¨é£å社æä»è¼è¦å©¦å¥³äººæ¬ç年代ï¼å©¦å¥³ææ´åºéæèªçï¼å¾ææ´è¢«æ¨å ¥ç«åçå°å¥³ãéå人å£è²©ééå§ï¼å¨è¡é æçãæ¨åæ³æ¢å¯¦æ½ãå¾ä¾ï¼æåéªèãæ °å®å©¦ãé¿å¬¤ååæ·å²ç´¢æ±é²ä¾çæ£ç¾©ï¼é份å衷延伸èæåå°çå½å°å´ççµå°å æã 173 174è¿ååå¹´çè·¯éèµ°éï¼å°ç£ç¤¾æè®äºï¼æ´åçæ¨£è²ä¹è®äºï¼ç§æå¸¶ä¾ç便å©ï¼è®æäºæ°åæ çæ¸ä½æ§æ´åèå¿çååãä½å©¦æ´æç信念å§çµå¦ä¸: æåç¸ä¿¡åµå·ä¸è©²ç±å害è ç¨èªèè² ï¼ç¾æ¥æ´ä¸å±¬æ¼è½èº«ååçååè ã æååå¨çç®çï¼å°±æ¯è¦å¨é£äºè¢«é»æç± 罩çæå»ï¼èæ¯ä¸ä»½æ¸´æéçç忢䏦è©ä½æ°ãã以被害人çºä¸å¿ãæ¯å©¦æ´æçæ ¸å¿çå¿µï¼æåä¸åªæ¯å®åçææ´ï¼æ´æ¯ã賦æ¬ï¼Empowermentï¼ããæåéé社工çå°æ¥ä»å ¥ï¼éªä¼´è¢«å®³äººæ¾ååéï¼è®ä»åå¾ãå害è ãè½è®çºãååè ãï¼é²èæçºææ¡èªå·±çå½ç主人ã 175 176éå»çæ¯ä¸å°æ±å©ä¿¡ä»¶ãæ¯ä¸é諮詢é»è©±ï¼é½ç´¯ç©ææåå 實çæåæ äºãæåå ææåçå質ï¼ç¢ºä¿æ¯ä¸ä½ä¾å°å©¦æ´æç人ï¼é½è½æåå°å°æ¥ä¸å ·æº«åº¦çæ¥ç´ã 177 178å©¦æ´ææç«è³ä»ï¼æäºæ²å幾乿¶å¤±ï¼æäºè¢«å®³äººä»æ·±é·æ´åå°å¢ï¼æäºæ°åæ çæ§æ´åç¯ç½ªå·²ç¶åºç¾ï¼æåçæåç¯åèå°è±¡æå¢ç¡æ¸ï¼ææçºå°ç£ç¤¾æå»ºç«ä¸éç¡å¯è½æ¥ä½æ¯å人çç¶²ï¼é¤äºç©æ¥µæ¨åä¿®æ³ãèå ¬é¨éåä½ä¹å¤ï¼ä¹ç±å¯¦åç¶é©åºç¼ï¼éç¼è¨±å¤å ¨æ°ç嵿°å¾©åæ¹æ¡ï¼æ¨åå°ç£èµ°å䏿¢æå¤©æ´å¹³çã人人æ´å®å ¨çéè·¯ã 179 180æªä¾çèåä¸ï¼æåææçºçè¦ä¸¦åæéæ±ï¼æå¾ 帶åçä¸åªæ¯æ¿ççæ¹è®ï¼æ´æ¯ä¸ç¨®ç¤¾æé¢¨æ°£çç¿»è½ï¼è®åæ´ä¸åæ¯å害è çç¾æ¥ï¼è®ãæ´åé¶å®¹å¿ãæçºå ¨æ°çæ®åè§å¿µã 181 182éæ¢è·¯å¾ä¸å®¹æï¼ä¸è«æ¨æ¯ééææ¬¾æ¯æãæçºå¿å·¥ï¼ææ¯å°æ£ç¢ºçè§å¿µå³é給身éçäººï¼æ¨é½æ¯éå ´ç¤¾æå·¥ç¨ä¸ä¸å¯æç¼ºçãå¹å¼å ±åµè ããèª æ¯éè«æ´å¤ç¤¾æåéèæååè¡ï¼ç¨æ´æçç¥çæï¼å®è·æ¯ä¸ä»½å¾ä¾ä¸æç忢ï¼è®æ¯ä¸æ»´ç¼æ·ï¼é½è½è½åçºæ¹è®ä¸ççåéã`}},HE={categoryDropdownLabel:"å¡è°ä¸»é¡",categoryDropdownAriaLabel:"鏿å¡è°ä¸»é¡",bodyCta:{fallbackTitle:"æ¯ææå",sectionAriaLabel:"å¡è°é é¢ææ¬¾å¼ç±²èç¸éé£çµ"}},UE={meta:{title:"SDGs 實è¸"},hero:{sectionAriaLabel:"SDGs 實è¸é é¦",eyebrow:"SDGs",title:"SDGs 實è¸",descriptionLine1:"ééå¡è°æ¨åç¤¾ææ¹é©ï¼æåä¸¦å æ¬å¼±å¢å©¦å¹¼ï¼å¯¦ç¾èªç«èèªä¸»ï¼æå婦幼çåºæ¬äººæ¬ã",descriptionLine2:"æªä¾ï¼æåå°æçºæ·±å並æ´å±å¨å ¶ä»SDGsé ç®ä¸çæå ¥èè²¢ç»ã"},intro:{sectionAriaLabel:"SDGs 實è¸ä»ç´¹èåç輪æ",body:"è¯ååç17é æ°¸çºç¼å±ç®æ¨ï¼UN Sustainable Development Goals, SDGsï¼ä¸ï¼å©¦æ´æç©æ¥µå¯¦è¸äºãçµçµè²§çª®ãï¼SDG 1ï¼ããåªè³ªæè²ãï¼SDG 4ï¼ããæ§å¥å¹³æ¬ãï¼SDG 5ï¼ããåé©çå·¥ä½èç¶æ¿æé·ãï¼SDG 8ï¼ããæ¸å°ä¸å¹³çãï¼SDG 10ï¼åãåå¹³ãæ£ç¾©èå¥å ¨å¶åº¦ãï¼SDG 16ï¼ã",sliderSlideAltTemplate:"SDGs 實è¸ä»ç´¹è¼ªæç¬¬ {n} å¼µ",sliderDotAriaLabelTemplate:"åå¾ç¬¬ {n} å¼µ"},list:{sectionAriaLabel:"SDGs 實è¸é ç®å表",empty:"ç®åå°ç¡å¯¦è¸é ç®è³æã"},item:{standardPrefix:"ç´°é æ¨æº",imageAlt:"{title} éå",accordionExpandLabel:"å±éã{title}ãå §å®¹",accordionCollapseLabel:"æ¶åã{title}ãå §å®¹"}},WE={meta:{title:"å¹´åº¦å ±å"},hero:{sectionAriaLabel:"å¹´åº¦å ±åé é¦",eyebrow:"Annual reports",title:"å¹´åº¦å ±å",description:"å©¦å¥³ææ´åºéææ¯å¹´ç·¨è£½å¹´åº¦å ±åï¼å®æ´åç¾æ¬æçæåææã財åè³è¨èå¡è°æ·ç¨ï¼éè«æ¨èæåä¸åå顧䏦屿æªä¾ã"},grid:{sectionAriaLabel:"å¹´åº¦å ±åå表",empty:"ç®åæ²æå¹´åº¦å ±åã"},card:{tagLabel:"å¹´åº¦å ±å",readLabel:"éå§é±è®",previewTitle:"PDF é 覽",closePreviewLabel:"ééé 覽",o
182penInNewTabLabel:"卿°åé éå",coverAlt:"{title} å°é¢",linkAriaLabel:"éåå ±åï¼{title}"},pagination:{navAriaLabel:"å¹´åº¦å ±ååé ",prev:"ä¸ä¸é ",next:"ä¸ä¸é ",pageAriaLabel:"åå¾ç¬¬ {page} é "}},zE={meta:{title:"æªæ¡ä¸è¼å"},hero:{sectionAriaLabel:"æªæ¡ä¸è¼åé é¦",eyebrow:"Download",title:"æªæ¡ä¸è¼å",description:"èå©¦æ´æä¸åå®è·å¼±å¢å©¦å¹¼ï¼çºä»ååµé æ¹è®çå½çæ©æï¼è³¦äºä»åéççåéï¼è®æ¯ä¸ååå·çééé½è½å¤ 卿è叿ä¸ç¶»æ¾ã",imageAlt:"æªæ¡ä¸è¼åé é¦åçï¼è«æ¿æçºæ£å¼ç´ æ"},category:{sectionAriaLabel:"æªæ¡åé¡ç¯©é¸",all:"å ¨é¨",empty:"ç®åæ²æå¯ä¾ç¯©é¸çåé¡ã"},list:{sectionAriaLabel:"ä¸è¼æªæ¡å表",empty:"ç®åæ²æå¯ä¸è¼çæªæ¡ã",fallbackTitle:"æªå½åæªæ¡",fallbackCategory:"æªåé¡",downloadAriaLabel:"ä¸è¼æªæ¡ï¼{title}"},pagination:{navAriaLabel:"æªæ¡å表åé ",prev:"ä¸ä¸é ",next:"ä¸ä¸é ",pageAriaLabel:"åå¾ç¬¬ {page} é "}},GE={notFound:{title:"æ¾ä¸å°é é¢",description:`æ¨ææ¥è©¢çé é¢å¯è½å·²ç§»é¤ãæ´åï¼æç¶²åå·²è®æ´ã 183è«åå°é¦é ï¼æä½¿ç¨é¸å®å°æ¾æ¨éè¦çå §å®¹ã`},forbidden:{title:"æ²æå忬é",description:"æ¨æ²æç覽æ¤é é¢çæ¬éã"},serverError:{title:"伺æå¨ç¼çé¯èª¤",description:"徿±æï¼ç³»çµ±æ«æç¼çåé¡ï¼è«ç¨å¾å試ã"},serviceUnavailable:{title:"æåæ«æç¡æ³ä½¿ç¨",description:"系統ç¶è·ä¸ï¼è«ç¨å¾å試ã"},fallback:{title:"ç¼çé¯èª¤",description:"徿±æï¼é 颿«æç¡æ³é¡¯ç¤ºï¼è«ç¨å¾å試ã"},backHome:"åé¦é "},QE={title:"æ¨çæ¯æï¼æ¯åæ´å©¦å¹¼çå 實å¾ç¾",body:"æ¨çææ¬¾ï¼è½è®æåæä¾è¢«å®³è æ´å®åçå°æ¥æåï¼å¥è®å害è å¨é»æä¸ç¨èªçå·ï¼æææé ä¸åæ´å®å ¨ç社æã",channels:{website:{label:"å®ç¶²ææ¬¾",href:"/donation/general",hoverColor:"var(--color-brand-main)"},shopee:{label:"è¦ç®å ¬ç",href:"https://shopee.tw/twrf.tw?fbclid=IwY2xjawN-NoNleHRuA2FlbQIxMABicmlkETEydTR2YWZlZmhyQVhiQ0s5c3J0YwZhcHBfaWQQMjIyMDM5MTc4ODIwMDg5MgABHhgGW_MTyVe-8PMyPSfronse_IFzrUx5HwG3hn8LSQND_r2wX1bTi-Ghs688_aem_hxz5-QgANSwZHZ1SE_6TsQ",logo:Xd,hoverLogo:Zd,hoverColor:"#EE4E2E"},linePay:{label:"",href:"https://web-tw-pay.line.me/cms/donation/sellers/poatwrf00969916",ariaLabel:"LINE Pay ææ¬¾",logo:eh,hoverLogo:th,hoverColor:"#00C34D"},jkopay:{label:"",href:"https://mkt.jkopay.com/desktop?url=https%3A%2F%2Fservice.jkopay.com%2Fr%2Faweb%3Furl%3Dhttps%253A%252F%252Fdonation-app.jkos.com%252Fpublic-welfare%252Fcharity-group%252Fdetail%253Fid%253D113",ariaLabel:"è¡å£æ¯ä» ææ¬¾",logo:rh,hoverLogo:nh,hoverColor:"#C9191D"},pi:{label:"",href:"https://www.piapp.com.tw/app/download?type=partner_qrcode&qrcode_url=https%3A%2F%2Fwww.piapp.com.tw%2Fpayqrcode%2Fseller%2F1925026927",ariaLabel:"Pi é¢å ææ¬¾",logo:ih,hoverLogo:ah,hoverColor:"#1CA7FC"}}},KE={metaTitle:"伿¥æ¯æ",hero:{sectionAriaLabel:"伿¥æ¯æé é¢ä¸»åå¡",eyebrow:"Our Partners",title:"伿¥æ¯æ",subtitle:"èª éå大伿¥å¤¥ä¼´èå©¦æ´æä¸¦è©èè¡ï¼çºåæ´è¢«å®³äººæä¾æ´å 實çå®è·ã"},intro:{sectionAriaLabel:"伿¥æ¯æä»ç´¹åå¡",fallbackTitle:"",fallbackDescription:`ææ´åµå·ï¼æ¨åæ¹é© 184èå©¦æ´æä¸åå®è·å¼±å¢å©¦å¹¼ï¼çºä»ååµé æ¹è®çå½çæ©æï¼ 185賦äºä»åéççåéï¼è®æ¯ä¸ååå·çééé½è½å¤ 卿è叿ä¸ç¶»æ¾ã 186 187æ¯ä¸ä»½é 颿´åç忢èå¾ï¼é½éè¦ç¤¾æè³æºçæ¯æã 188å©¦æ´æé·æè´åæ¼æ§èæ§å¥æ´ååµå·ä¿®å¾©å·¥ä½ã 189ç¶èï¼éæ¢å¾©åä¹è·¯ï¼å çºæå¿ä¼æ¥çå å ¥ï¼å°æè®æåç©©å®æçºä¸æ´æåéï¼ 190å©¦æ´æå°ä¾æ´»åè¦æ¨¡ååæ æä¾åé åé¥ï¼ 191æ¬æèªåªé«é²åºã廣åçä½é²åºã客製åå°é¡è¬åº§ããé¿å¬¤å®¶âåå¹³è女æ§äººæ¬é¤¨ãå°è¦½æ´»åï¼ä¸¦é å辦çåè´åå¼ 192 193æ¨å¯ä¾æä»¥ä¸å»ºè°åè¡é·éæ±å½æ§è¦åï¼äº¦æ¡è¿ä¾è¨è¨è«å®¢è£½ååä½å §å®¹ã`,imagePlaceholderLabel:"伿¥æ¯æä¸»è¦è¦ºåç",imagePlaceholderNote:"åçå¾ è£ï¼è«èªè¡ç½®æ srcï¼"},sections:{sectionAriaLabel:"伿¥æ¯æèªªæåå¡",fallbackTitle:"å塿¨é¡ {index}
193",fallbackDescription:"å §å®¹å¾ è£",empty:"ç®åå°ç¡ä¼æ¥æ¯æèªªæå §å®¹ã"},partners:{sectionAriaLabel:"伿¥å¤¥ä¼´åå¡",title:"æå¿å¤¥ä¼´",fallbackName:"伿¥å¤¥ä¼´",empty:"ç®åå°ç¡ä¼æ¥å¤¥ä¼´è³æã",imagePlaceholderLabel:"{name} LOGO åç",imagePlaceholderNote:"LOGO å¾ è£ï¼è«èªè¡ç½®æ srcï¼",partnerLinkAriaLabel:"åå¾ {name} 宿¹ç¶²ç«"},pagination:{navAriaLabel:"伿¥å¤¥ä¼´åé å°è¦½",prev:"ä¸ä¸é ",next:"ä¸ä¸é ",pageAriaLabel:"第 {page} é "},cta:{sectionAriaLabel:"伿¥æ¯æåä½è¡ååå¡",title:"å©¦æ´æéè«æ¨èæååä½",description:"ä¸åå®è·åæ´è¢«å®³è ï¼æçºç §äº®å¸æççå¡",buttonLabel:"填寫åä½è¡¨å®",buttonAriaLabel:"åå¾å¡«å¯«ä¼æ¥æ¯æåä½è¡¨å®"}},YE={defaultTitle:"ä¸è¬ææ¬¾",relatedProjectsHeading:"æ¯æå©¦æ´æå ¶ä»ææ¬¾å°æ¡",emptyStateDescription:"ç®åå°ç¡ä¸è¬ææ¬¾ä¸ç¨¿è³æï¼è«è³å¾å°æ°å¢ã",bodyCta:{fallbackTitle:"æ¯ææå",sectionAriaLabel:"ä¸è¬ææ¬¾å¼ç±²èç¸éé£çµ"}},JE={body:{showMore:"顯示æ´å¤",showLess:"æ¶å"},bodyCta:{fallbackTitle:"æ¯ææå",sectionAriaLabel:"ææ¬¾å¼ç±²èç¸éé£çµ"},thankYou:{regionAriaLabel:"ææ¬¾å®æ",title:"ææ¬¾å®æ",subtitle:"æè¬æ¨çæ¯æï¼",shareCard:{title:"åäº«ææ¬¾å°æ¡",bodyLine1:"æ¨çææ¬¾ï¼è½è®æåæä¾çµ¦è¢«å®³è æ´å®åçå°æ¥æåï¼å¥è®å害è å¨é»æä¸ç¨èªçå·ï¼æææé ä¸åæ´å®å ¨ç社æã"},shareRowAriaLabel:"åäº«æ¤ææ¬¾å°æ¡",shareFacebookAria:"æ¼ Facebook åäº«ææ¬¾å°æ¡",shareLineAria:"æ¼ LINE åäº«ææ¬¾å°æ¡",copyLinkAria:"è¤è£½ææ¬¾å°æ¡é£çµ",backToProjectList:"è¿åå°æ¡å表"},paymentForm:{previousStep:"ä¸ä¸æ¥",nextStep:"ä¸ä¸æ¥",stepIndicatorCaption:"æ¥é© {current} / {total}",stepIndicatorNavAria:"ææ¬¾æµç¨æ¥é©",stepFlowLabels:{amount:"å¡«å¯«ææ¬¾éé¡",donor:"å¡«å¯«ææ¬¾äººè³æåæ¶æ",confirm:"確èªå¡«å¯«è³è¨",payment:"éæµè³æ"},step4:{title:"鿵仿¬¾",description:"確èªå®è³è¨å¾ï¼é»é¸ãå®æææ¬¾ã峿å®å ¨å°åèæ°éæµä»æ¬¾é é¢ï¼è«æ¼æ°é é¢ä¾æç¤ºå®æä»æ¬¾ï¼è¥éä¿®æ¹è³æï¼è«å é»é¸ãä¸ä¸æ¥ãè¿åã",completeDonation:"å®æææ¬¾",submitting:"æ£å¨çºæ¨å°å仿¬¾é â¦",submitError:"ç³»çµ±æ«æç¡æ³èçï¼è«ç¨å¾å試æè¯ç¹«å®¢æã"},step3:{totalAmountTitle:"總éé¡",receiptNeedLabel:"æ¯å¦éè¦æ¶æ",emptyValue:"â",privacyNotAgreed:"å°æªåæåè³èéèå©ç¨è²æ",donationLookupLabel:"ææ¬¾æ¥è©¢",donationLookupNeed:"éè¦ééç·ä¸æ¥è©¢",donationLookupNoNeed:"ä¸éè¦"},step1:{mode:{title:"é»é¸ææ¬¾æ¹å¼",monthly:"å®æææ¬¾",oneTime:"宿¬¡ææ¬¾"},amount:{title:"é»é¸é顿èªè¨éé¡",currency:"NTD$",modeLabel:"å®æææ¬¾",customPlaceholder:"$ èªè¡è¼¸å ¥ææ¬¾éé¡"},installment:{title:"æ¯æå®æå®é¡ï¼ææ¸",option12:"12 æ",option24:"24 æ",option36:"36 æ",optionUnlimited:"ä¸é",debitDayNote:"æ¯ææ£æ¬¾æ¥ä»¥æ¨æ¼éæµé å®æææ¬ç¶æ¥çºæºï¼è¥ç¶æ¥çº 29 è³ 31 æ¥ï¼åºå®çºæ¯æ 28 æ¥æ£æ¬¾ï¼ä»¥ç¬¦åéæµè¦åï¼ã"},payment:{title:"鏿仿¬¾æ¹å¼",creditCard:"ä¿¡ç¨å¡ææ¬¾",cvsCode:"è¶ å代碼",cvsBarcode:"è¶ åæ¢ç¢¼",linePay:"linepay",jkoPay:"è¡å£æ¯ä»",applePay:"apple pay"}},step2:{summaryChip:"{mode} {amount}",phaseHintBasic:"2-1 ææ¬¾è åºæ¬è³æ",phaseHintReceipt:"2-2 æ¶æéæ±èå ¶ä»è³è¨",basic:{title:"ææ¬¾è åºæ¬è³æ",email:"Email",emailPlaceholderNoReceipt:"è«è¼¸å ¥ Email",emailPlaceholderWithReceipt:"è«è¼¸å ¥ Email",lastName:"å§",lastNamePlaceholder:"è«è¼¸å ¥å§",firstName:"åå",firstNamePlaceholder:"è«è¼¸å ¥åå",mobile:"è¡åé»è©±",mobilePlaceholder:"è«è¼¸å ¥è¡åé»è©±",telephone:"è¯çµ¡å¸è©±",telephonePlaceholder:"è«è¼¸å ¥è¯çµ¡å¸è©±",privacyLabel:"åè³åæè²æ",privacyCheckbox:"æå·²è©³é±åè³èéèå©ç¨è²æä¸¦åæ",privacyBody:"æè¬æ¨çæå¿ææ¬¾ï¼è²¡åæ³äººå°åå¸å©¦å¥³ææ´åºéæåæ¨åå¾ä¹åäººè³æï¼å å«å人å§åãé»è©±åé»åéµä»¶å°åçï¼å°å éä½¿ç¨æ¼æ¬æææ¬¾æåè管çã忬¾å¾µä¿¡ãæåæ´»åç使ç¨ï¼æ¬æéµå®åäººè³æä¿è·æ³èå ¬çå¸åæ¢ä¾ä¹è¦å®ï¼å¦¥åä¿è·æ¨çå人è³è¨ï¼æ¼æ¤åæä¸ï¼æ¨åæå©¦å¥³ææ´åºéæå¾æ¼æ³å¾è¨±å¯ä¹ç¯åå §èçåå©ç¨ç¸éè³æä»¥æä¾è³è¨ææåï¼èæ¨å¯ä¾æ³å¾å°±æ¨æä¾çåäººè³æåæ¬æè«æ±æ¥è©¢ãé±è¦½ãæä¾è¤æ¬ãè£å ææ´æ£ã忢ååªé¤ãè«æ¨æ¼ä¸çæé以é»è©±æ Email èæ¬æè¯ç¹«ã"},receipt:{title:"æ¶æéæ±è¡¨å®",receiptTitle:"æ¶ææ¬é ",receiptTitlePlaceholder:"è«è¼¸å ¥æ¶ææ¬é ",receiptEmail:"Email",receiptEmailPlaceholder:"è«è¼¸å ¥ Email",taxId:"çµ±ä¸ç·¨è",taxIdPlaceholder:"è«è¼¸å ¥çµ±ä¸ç·¨è",idNumber:"身åèåè",idNumberPlaceholder:"è«è¼¸å ¥èº«åèåè",identityIndividual:"å人åç¾©ææ¬¾",identityOrganization:"çµç¹åç¾©ææ¬¾",identitySwitchAria:"é¸æææ¬¾å義ï¼å人æçµç¹ï¼",syncSameAsDonorName:"åææ¬¾äººå稱",donationLookupTitle:"æ¯å¦éè¦ææ¬¾æ¥è©¢åè½",donationLookupHint:"è¥é¸æãéè¦ãï¼é 填寫身åèåèï¼åäººï¼æçµ±ä¸ç·¨èï¼çµç¹ï¼ï¼ä»¥ä¾ééç·ä¸ææ¬¾è³ææ¥è©¢ã",donationLookupNeed:"éè¦",donationLookupNoNeed:"ä¸éè¦",types:{noReceipt:"ä¸éè¦ï¼ç¡æµç¨ éæ±ï¼ä¸ç¨å¯çµ¦ææ¶æï¼",uploadToTaxBureau:"éè¦ï¼è«å¹«æä¸å³åç¨ å±ï¼ä¸ç¨å¯çµ¦æï¼",singleElectronicReceipt:"éè¦ï¼è«å¯çµ¦æå®æ¬¡é»åæ¶æï¼",yearlyElectronicReceipt:"éè¦ï¼è«å¯çµ¦æå¹´åº¦é»åæ¶æï¼",yearlyPaperReceipt:"éè¦ï¼è«å¯çµ¦æå¹´åº¦ç´æ¬æ¶æï¼",singlePaperReceiptForCompany:"éè¦ï¼è«å¯çµ¦æå®æ¬¡ç´æ¬æ¶æï¼å ¬å¸è¡èé©ç¨ï¼"},fieldHints:{noReceiptIdNumber:"è¥æ¨è¦ééç·ä¸ææ¬¾è³ææ¥è©¢åè½ï¼æ¤çºå¿ å¡«",uploadIdentityScope:"ä¸å³è³æè³åç¨ å±å éåäººææ¬¾",uploadIdOrTaxCert:`å¦é¸æé»åæ¶æé¸é ï¼èº«ä»½èåèçºé»åæä»¶éåå¯ç¢¼ 194ä¸å³è³æè³åç¨ å±éè¦èº«ä»½èåèæå¤åäººå± çèè`,electronicIdNumber:"å¦é¸æé»åæ¶æé¸é ï¼èº«ä»½èåèçºé»åæä»¶éåå¯ç¢¼",yearlyPaperIdOrTaxCert:`å¦é¸æé»åæ¶æé¸é ï¼èº«ä»½èåèçºé»åæä»¶éåå¯ç¢¼ 195ä¸å³è³æè³åç¨ å±éè¦èº«ä»½èåèæå¤åäººå± çèè 196è¥æ¨è¦ééç·ä¸ææ¬¾è³ææ¥è©¢åè½ï¼æ¤çºå¿ å¡«`}},common:{nameDisclosureTitle:"æ¯å¦åæå ¬éæ¨çå§åè³è¨",nameDisclosureHintBeforeLink:"便",nameDisclosureLawLink:"ãè²¡åæ³äººæ³ã",nameDisclosureHintAfterLink:"第25æ¢è¦å®ï¼é¤æè´è äºå 以æ¸é¢è¡¨ç¤ºåå°å¤ï¼å ¬çåé«é 主åå ¬éæè´è ä¹å§ååææ¬¾éé¡ã妿¨ä¸åæå ¬é徵信ï¼è«æ¼ä¸æ¹é¸åãä¸åæï¼å¿åï¼ãé¸é ",nameDisclosureAgree:"åæ",nameDisclosureAnonymous:"ä¸åæï¼å¿åï¼",giftTitle:"æ¯å¦éè¦åé¥å",giftNeed:"éè¦",giftNoNeed:"ä¸éè¦",giftAddress:"æ¶ä»¶å°åï¼ç´æ¬æ¶æææè¬ç¦®å¿ å¡«ï¼",addressCounty:"縣å¸",addressCountyPlaceholder:"è«é¸æç¸£å¸",addressDistrict:"åå",addressDistrictPlaceholder:"è«é¸æåå",addressDetail:"詳細å°å",addressDetailPlaceholder:"è«è¼¸å ¥å°å",note:"å註",notePlaceholder:"è¥æå ¶ä»æ³å訴æåç話ï¼è«å¡«å¯«æ¼æ¤ï¼é¸å¡«ï¼"},validation:{required:"æ¤æ¬ä½çºå¿ å¡«",invalidEmail:"è«è¼¸å ¥ææç Email æ ¼å¼",invali
196dMobile:"è«è¼¸å ¥ææçè¡åé»è©±ï¼09 éé å ± 10 碼ï¼",privacyRequired:"è«å¾é¸åæåè³èéèå©ç¨è²æ",digitsOnly:"å å¯è¼¸å ¥æ¸å",invalidIdNumber:"è«è¼¸å ¥ 8â24 ååå ï¼èº«åèåèæå± çèèï¼éè±æåæ¯ãæ¸åãé£åèï¼",donorDataMissingForSync:"ææ¬¾äººå§åæªå¡«ï¼è«å å¨ 2-1 宿å¾åä½¿ç¨æ¤é¸é "}}}},XE={metaTitle:"ææ¬¾æ¹å¼ä¸è¦½è¡¨",hero:{sectionAriaLabel:"ææ¬¾æ¹å¼é é¢ä¸»æ¨é¡å",eyebrow:"How to donate",title:"ææ¬¾æ¹å¼ä¸è¦½è¡¨",subtitle:"æ¨çæ¯1å ï¼å©¦æ´æå°åµé åå社æåé¥ï¼ç¤¾ææè³å ±é ¬çï¼SROIï¼åæ"},intro:{title:"ææ´åµå·ï¼æ¨åæ¹é©",description:`èå©¦æ´æä¸åå®è·å¼±å¢å©¦å¹¼ï¼çºä»ååµé æ¹è®çå½çæ©æï¼ 197賦äºä»åéççåéï¼è®æ¯ä¸ååå·çééé½è½å¤ 卿è叿ä¸ç¶»æ¾ã`,imagePlaceholderLabel:"ææ¬¾æ¹å¼ä¸»è¦è¦ºåç",imagePlaceholderNote:"åçå¾ è£ï¼è«èªè¡ç½®æ srcï¼"},accordion:{sectionAriaLabel:"ææ¬¾æ¹å¼æé¢¨ç´å表",expandLabel:"å±éã{title}ãå §å®¹",collapseLabel:"æ¶åã{title}ãå §å®¹",fallbackTitle:"æªå½åææ¬¾æ¹å¼",emptyContent:"ç®åå°ç¡è©³ç´°èªªæã"},note:{line1:"注æï¼æ¬æä¸æä¸»åè¯çµ¡ææ¬¾äººè¦æ±è®æ´ææ¬¾æ¹å¼ãéè¤æ£æ¬¾ãæä½ ATMãç¶²éæä¸è¼ APPãæ ¸å°è³æçã",line2:"è¥ææ¥å°é»è©±ææä»»ä½çåï¼è«æ¼å¹³æ¥ä¸çæéä¾é»æ´½è©¢ï¼è¬è¬ã",line3:""},cta:{title:"æ¨çæ¯æï¼æ¯åæ´å©¦å¹¼çå 實å¾ç¾",body:"æ¨çææ¬¾ï¼è½è®æåæä¾è¢«å®³è æ´å®åçå°æ¥æåï¼å¥è®å害è å¨é»æä¸ç¨èªçå·ï¼æææé ä¸åæ´å®å ¨ç社æã"}},ZE={metaTitle:"å¸åå°æ¡",hero:{sectionAriaLabel:"å¸åå°æ¡ä¸»è¦è¦ºå",eyebrow:"Fundraising Campaign",title:"å¸åå°æ¡",description:`èæåä¸åå®è·éäºèå¼±ç婦女èå ç«¥ï¼çºä»ååµé æ¹è®çå½çæ©æï¼ 198賦äºä»åéççåéï¼è®æ¯ä¸ååå·çééé½è½å¤ 卿èå¸æéæ°ç¶»æ¾ã`,imagePlaceholderAriaLabel:"å¸åå°æ¡ä¸»è¦è¦ºåçå ä½ï¼å¾ æ¿æçºæ£å¼ç´ æ"},list:{sectionAriaLabel:"å¸åå°æ¡å表",emptyState:"ç®åå°ç¡å¸åå°æ¡ã",cardLinkAriaLabel:"æ¥çå¸åå°æ¡ï¼{title}",cardCoverAlt:"å¸åå°æ¡ã{title}ãå°é¢"},pagination:{navAriaLabel:"å¸åå°æ¡åé ",prev:"ä¸ä¸é ",next:"ä¸ä¸é ",pageAriaLabel:"åå¾ç¬¬ {page} é "}},e_={metaTitle:"åäººææ¬¾ç´éæ¥è©¢",left:{eyebrow:"Donation history",title:"åäººææ¬¾ç´éæ¥è©¢",retryQueryHeading:"éæ°æ¥è©¢",description:`ææ¬¾å¾å éè¡ä½æ¥å ¥å¸³åå·¥ä½äººå¡çéæéèçï¼æ¬¡æ25æ¥åæè½ç»éè³æ¬ç³»çµ±ã 199ç»éå¾è¥æ¥å¾æè³æè®æ´ï¼ç³»çµ±ç¡æ³èªåè®æ´å ¶å §å®¹ï¼è«ä»¥ã<a href="/donation/records">å¾µä¿¡è³æ</a>ãçºä¸»ã 200 201æ¬åè½åªéæ¥è©¢å ©å¹´å §çææ¬¾ç´éã 202å¦éæ´å¤æ¥è©¢éæ±ï¼è«ä¾é» <a href="tel:0225558595">(02)2555-8595</a> æä¾ä¿¡ <a href="mailto:[email protected]">[email protected]</a>`,links:{records:"å¾µä¿¡è³æ",phone:"(02)2555-8595",email:"[email protected]"}},right:{form:{receiptTitle:{label:"æ¶ææ¬é ",placeholder:"è«è¼¸å ¥å§å",requiredError:"è«è¼¸å ¥æ¶ææ¬é "},mobile:{label:"ææ¬¾äººææ©",placeholder:"è«è¼¸å ¥ææ©",requiredError:"è«è¼¸å ¥ææ©è碼",formatError:"è«è¼¸å ¥æ£ç¢ºçææ©èç¢¼æ ¼å¼"},idNumber:{label:"身åèåèï¼çµ±ç·¨",placeholder:"è«è¼¸å ¥èº«åèåèæçµ±ç·¨",requiredError:"è«è¼¸å ¥èº«åèåèæçµ±ç·¨",formatError:"è«è¼¸å ¥æ£ç¢ºç身åèåèæçµ±ç·¨æ ¼å¼"},submit:"æ¥è©¢",recaptchaNotice:{lead:"æ¬ç¶²ç«å reCAPTCHA ä¿è·ï¼é©ç¨ Google ",privacyLabel:"é±ç§æ¬æ¿ç",middle:" è ",termsLabel:"æåæ¢æ¬¾",end:"ã"},results:{title:"æ¥è©¢çµæ",yourQuery:"æ¨çæ¥è©¢æ¢ä»¶",empty:"æ¥ç¡ææ¬¾ç´éã",back:"éæ°æ¥è©¢",unknownName:"訪客",missingValue:"â",amountPrefix:"NT$",summary:{foundPrefix:"ï¼å ±æ¾å°",foundSuffix:"é æ¥è©¢çµæ"},columns:{receiptTitle:"æ¶ææ¬é ",donationDate:"ææ¬¾æ¥æ",amount:"ææ¬¾éé¡"},pagination:{ariaLabel:"ææ¬¾æ¥è©¢çµæåé ",previous:"ä¸ä¸é ",next:"ä¸ä¸é ",goToPage:"åå¾ç¬¬ {page} é "}}}}},t_={metaTitle:"ææ¬¾ / æç©å¾µä¿¡",hero:{sectionAriaLabel:"ææ¬¾èæç©å¾µä¿¡é é¢",eyebrow:"/ Donation Record",title:"ææ¬¾ / æç©å¾µä¿¡"},list:{sectionAriaLabel:"ææ¬¾èæç©å¾µä¿¡ååå表",emptyState:"ç®åå°ç¡å¾µä¿¡ååè³æã",fallbackTitle:"ææ¬¾ / æç©å¾µä¿¡åå",fallbackDate:"â",itemActionAriaLabel:"éå徵信ååï¼{title}
202",previewTitle:"PDF é 覽",closePreviewLabel:"ééé 覽",openInNewTabLabel:"卿°åé éå"},pagination:{navAriaLabel:"ææ¬¾èæç©å¾µä¿¡åé ",prev:"ä¸ä¸é ",next:"ä¸ä¸é ",pageAriaLabel:"åå¾ç¬¬ {page} é "}},r_={metaTitle:"仿¬¾çµæ",success:{title:"ææ¬¾å®æ",subtitle:"æè¬æ¨çæ¯æï¼"},failure:{title:"äº¤ææªå®æ",subtitle:"ç³»çµ±ç¡æ³ç¢ºèªæ¬æ¬¡ä»æ¬¾çµæï¼è«ç¢ºèªå¾åè©¦ä¸æ¬¡ï¼è¥æçºç¡æ³å®æï¼è«è¯ç¹«å®¢æåå©ã"},share:{title:"åäº«ææ¬¾å°æ¡",text:"æ¨çææ¬¾ï¼è½è®æåæä¾çµ¦è¢«å®³è
æ´å®åçå°æ¥æåï¼å¥è®å害è
å¨é»æä¸ç¨èªçå·ï¼æææé ä¸åæ´å®å
¨ç社æã"},thankYou:{regionAriaLabel:"ææ¬¾å®æèå享",shareRowAriaLabel:"å享è³ç¤¾ç¾¤æè¤è£½é£çµ",shareFacebookAria:"åäº«å° Facebook",shareLineAria:"åäº«å° LINE",copyLinkAria:"è¤è£½ææ¬¾å°æ¡é£çµ"},navigation:{ariaLabel:"ææ¬¾çµæé å°è¦½",backToDonation:"è¿åææ¬¾",backToHome:"åå°é¦é "},errors:{bypassMissingRedirect:"仿¬¾å·²å®æï¼ä½ç¡æ³éåçµæé ï¼è«è¯ç¹«å®¢ææç¨å¾è³ææ¬¾æ¥è©¢ç¢ºèªã"}},n_={title:"Hi",localeTest:"ç®åèªç³»ï¼ç¹é«ä¸æï¼zh-Hantï¼",sectionBanner:"é¦é 輪æ",sectionServiceStats:"æåæææ¸æ",sectionPinnedProjects:"é¦é éé¸å°æ¡",sectionNews:"é¦é ææ°æ¶æ¯",entrance:{introAriaLabel:"é²ç«å¼è¨",line1:"ç·¨ç¹å®è·å©¦å¹¼ä¹å®å
¨ç¶²",line2:"幫å©ä»åéæ¾çå½çå°å´"},hero:{openBannerSlideLink:"å徿¤é¦é 輪æè¨å®ä¹é£çµ",openBannerSlideLinkNamed:"åå¾é¦é 輪æé£çµï¼{title}",goToSlide:"åå¾ç¬¬ {n} å¼µ",floatDonateLine1:"æè¦",floatDonateLine2:"ææ¬¾",floatNewsletterLine1:"è¨é±",floatNewsletterLine2:"é»åå ±",quickExit:"å¿«éé¢é"},sectionStory:"å©¦æ´æ
äºåå¡",story:{heading:"å©¦æ´æ
äº",subheading:"Stories",readMore:"çè§£æ´å¤"},news:{subheading:"Latest News",heading:"å©¦æ´æ¶æ¯",filterAll:"å
¨é¨",filterScrollHintAria:"å峿²åæ¥çæ´å¤åé¡",filterAriaLabel:"æ¶æ¯åé¡",emptyList:"ç®åæ²ææ¶æ¯",viewMore:"æ¥çæ´å¤ç¸éè¨æ¯",openNewsAria:"é±è®æ¶æ¯ï¼{title}",coverAlt:"æ¶æ¯ã{title}ãå°é¢",carouselDotAria:"åå¾ç¬¬ {n} åæ¶æ¯"},pinned:{heading:"忬¾å°æ¡",subheading:"Fundraising campaign",currentRaised:"ç®ååå¾",targetAmount:"é è¨åå¾",viewAll:"æ¥çæ´å¤å°æ¡",openProjectAria:"æ¥ç忬¾å°æ¡ï¼{title}",coverAlt:"忬¾å°æ¡ã{title}ãå°é¢",viewAllHref:"#",carouselDotAria:"åå¾ç¬¬ {n} é "}},i_={backToList:"è¿å",backToListAria:"åå°å©¦æ´æ¶æ¯å表é ",backToPreviousPage:"è¿åä¸ä¸é ",articleAriaLabel:"æ¶æ¯å
§æ",bodySectionAriaLabel:"æ¶æ¯å
§å®¹åå¡",coverAlt:"æ¶æ¯ã{title}ãå°é¢",videoEmbedAria:"å½±çåµå
¥ï¼{title}",shareRowAriaLabel:"åäº«æ¤æç« ",shareFacebookAria:"æ¼ Facebook å享",shareLineAria:"æ¼ LINE å享",copyLinkAria:"è¤è£½æç« é£çµ",copyLinkSuccess:"é£çµå·²è¤è£½",copyLinkFailed:"ç¡æ³è¤è£½é£çµï¼è«æ¹ä»¥æåæ¹å¼è¤è£½ç¶²å",relatedArticles:{sectionAriaLabel:"ç¸éæç« åå¡",subheading:"Related Article",heading:"æ´å¤ç¸éæç« ",defaultCategory:"æ¶æ¯ç¼å¸",openArticleAria:"é±è®ç¸éæç« ï¼{title}",coverAlt:"ç¸éæç« ã{title}ãå°é¢"}},a_={hero:{sectionAriaLabel:"å©¦æ´æ¶æ¯ä¸»è¦è¦º",eyebrow:"News",title:"å©¦æ´æ¶æ¯",description:"ææ¡å©¦å¥³ææ´åºéæçææ°åæ
ãæ´»åèå
¬åï¼èæåä¸èµ·é注æ§å¹³èååè
æ¯æè°é¡ã",imageAlt:"å©¦æ´æ¶æ¯ä¸»è¦è¦ºåï¼å¾
æ¿æå¯¦éåæª"},list:{sectionAriaLabel:"æ¶æ¯å表èåé¡"},sort:{label:"æåº",panelHeader:"æåº",ariaLabel:"æåº",optionNewestFirst:"ææ° â æè",optionOldestFirst:"æè â ææ°"},search:{formAriaLabel:"æå°æ¶æ¯",placeholder:"æå°æ¨é¡ææè¦â¦",submit:"æå°"},emptyState:"ç®åå°ç¡å·²ç¼å¸çæ¶æ¯ã",pagination:{navAriaLabel:"æ¶æ¯å表åé ",prev:"ä¸ä¸é ",next:"ä¸ä¸é ",pageInfo:"第 {current} / {last} é · å
± {total} ç",pageAriaLabel:"第 {page} é "}},o_={snsLinks:{youtube:"https://www.youtube.com/@twrf-org",facebook:"https://www.facebook.com/twrf.org/",instagram:"https://www.instagram.com/twrf.tw"},navbar:{ariaLabel:"主å°è¦½",logoAlt:"å©¦å¥³ææ´åºéæ Logo",menuItems:[{label:"鿼婦æ´",hasDropdown:!0},{label:"å©¦æ´æå",hasDropdown:!0},{label:"婦æ´å¡è°",hasDropdown:!0},{label:"å©¦æ´æ¶æ¯",hasDropdown:!0},{label:"婦æ´åºå",hasDropdown:!0}],languageSwitch:"EN",languageSwitchAriaLabel:"åæçºè±æä»é¢",searchAriaLabel:"æå°",searchRegionAriaLabel:"ç«å
§æå°",searchPlaceholder:"è«è¼¸å
¥å
§å®¹",mobileMenuSearchPlaceholder:"è«è¼¸å
¥ééµå",searchSubmitAriaLabel:"éåºæå°",searchClose:"éé",mobileNavDialogAriaLabel:"å
¨ç«é¸å®",mobileMenuOpenAri
202aLabel:"éåé¸å®",mobileMenuCloseAriaLabel:"ééé¸å®",mobileMenuBack:"è¿å",mobileMenuBackAriaLabel:"è¿å主é¸å®",onlineConsultation:"è¯çµ¡æå",donate:"ææ¬¾æ¯æ",donateMenuAriaLabel:"ææ¬¾é¸å®",donateMenuItems:[{label:"ä¸è¬ææ¬¾",internalPath:["donation","general"]},{label:"å¸åå°æ¡",internalPath:["donation"]},{label:"ææ¬¾æ¹å¼",internalPath:["donation","methods"]},{label:"伿¥åä½",internalPath:["donation","corporate"]},{label:"ææ¬¾/æç©å¾µä¿¡",internalPath:["donation","records"]},{label:"ææ¬¾è³ææ¥è©¢",internalPath:["donation","query"]}],submenuGroups:[{title:"鿼婦æ´",items:[{label:"èªè婦æ´",internalPath:["about"]},{label:"çµç¹æ¶æ§",internalPath:["about","organization"]},{label:"大äºç´",internalPath:["about","our-history"]},{label:"SDGs 實è¸",internalPath:["about","sdgs"]},{label:"å¹´åº¦å ±å",internalPath:["about","annual-reports"]}]},{title:"å©¦æ´æå",items:[{label:"å©¦æ´æå總覽",internalPath:["service"]},{label:"親å¯éä¿æ´å"},{label:"人å£è²©é"},{label:"ç®ç¹å®¶æ´å
å°"},{label:"æ¸ä½æ§æ´å",isExternal:!0},{label:"åå°ç±æ
°å®å©¦",isExternal:!0},{label:"æ§äº¤ææåè
è½æ¥åå©",isExternal:!0},{label:"童年ç®ç¹ä¹æå¹´å害è
"}]},{title:"婦æ´å¡è°",items:["åå路人ç²","æ§å¥å
¬ç¾æè²","ç«æ³å¡è°"]},{title:"å©¦æ´æ¶æ¯",items:[{label:"å
¨é¨æ¶æ¯",internalPath:["news"]}]},{title:"婦æ´åºå",items:[{label:"婦æ´å½±é³",internalPath:["video"]},{label:"婦æ´åç©",internalPath:["publication-list"]},{label:"å©¦æ´ Podcast",internalPath:["podcast"]},{label:"æªæ¡ä¸è¼å",internalPath:["download"]},{label:"åºçç©ä»ç´¹",internalPath:["publications"]}]}]},footer:{logoAlt:"å©¦å¥³ææ´åºéæ Logo",backToTopAriaLabel:"åå°é é¢é 端",backToTopLabel:"TOP",contactInfo:["103 å°åå¸å¤§ååæ¿å¾·è·¯ä¸æ®µ 32 è 5 æ¨","é»è©±ï¼02-2555-8595","å³çï¼02-2553-6833","é»åä¿¡ç®±ï¼[email protected]"],socialAriaLabels:{youtube:"YouTube",facebook:"Facebook",instagram:"Instagram"},menuGroups:[{title:"鿼婦æ´",items:[{label:"èªè婦æ´",internalPath:["about"]},{label:"çµç¹æ¶æ§",internalPath:["about","organization"]},{label:"大äºç´",internalPath:["about","our-history"]},{label:"SDGs 實è¸",internalPath:["about","sdgs"]},{label:"å¹´åº¦å ±å",internalPath:["about","annual-reports"]}]},{title:"å©¦æ´æå",items:[{label:"å©¦æ´æå總覽",internalPath:["service"]},{label:"親å¯éä¿æ´å"},{label:"人å£è²©é"},{label:"ç®ç¹å®¶æ´å
å°"},{label:"童年ç®ç¹ä¹æå¹´å害è
"},{label:"æ¸ä½æ§æ´å",isExternal:!0},{label:"åå°ç±æ
°å®å©¦",isExternal:!0},{label:"æ§äº¤ææåè
è½æ¥åå©",isExternal:!0}]},{title:"婦æ´å¡è°",items:["åå路人ç²","æ§å¥å
¬ç¾æè²","ç«æ³å¡è°"]},{title:"ææ¬¾æ¯æ",items:[{label:"å¸åå°æ¡",internalPath:["donation"]},{label:"ææ¬¾æ¹å¼",internalPath:["donation","methods"]},{label:"伿¥åä½",internalPath:["donation","corporate"]},{label:"ææ¬¾/æç©å¾µä¿¡",internalPath:["donation","records"]},{label:"ææ¬¾è³ææ¥è©¢",internalPath:["donation","query"]},{label:"ä¸è¬ææ¬¾",internalPath:["donation","general"]}]},{title:"婦æ´åºå",items:[{label:"婦æ´å½±é³",internalPath:["video"]},{label:"婦æ´åç©",internalPath:["publication-list"]},{label:"å©¦æ´ Podcast",internalPath:["podcast"]},{label:"æªæ¡ä¸è¼å",internalPath:["download"]},{label:"åºçç©ä»ç´¹",internalPath:["publications"]}]}],singleLinkGroups:[{title:"è¯çµ¡æå",item:"è¯çµ¡æå",internalPath:["consultation"]},{title:"å©¦æ´æ¶æ¯",item:"å©¦æ´æ¶æ¯",internalPath:["news"]}],copyright:"© TWRF All Rights Reserved.",privacyPolicy:"é±ç§æ¬æ¿ç"}},s_={meta:{title:"é±ç§æ¬æ¿ç"},page:{sectionAriaLabel:"é±ç§æ¬æ¿çæ£æ"}},l_={metaTitle:"Podcastã婦æ´ä½ çå¿ã",hero:{sectionAriaLabel:"Podcastã婦æ´ä½ çå¿ã主è¦è¦º",eyebrow:"Podcast",title:"Podcastã婦æ´ä½ çå¿ã",description:"ééè²é³è½è¦æ´å¤æ§å¥ã人æ¬è°é¡èå¡è°ç¾å ´ã",imageAlt:"å©¦æ´ Podcast 主è¦è¦ºåï¼å¾
æ¿æå¯¦éåæª"}
202,featured:{sectionAriaLabel:"Apple Podcast å
§åµææ¾å¨åå¡",embedLabel:"Apple Podcasts",embedTitle:"Apple Podcast Embed Player",embedDescription:"æ£å¼ç Apple Podcast å
§åµææ¾å¨å°æ¾ç½®æ¼æ¤åå¡ã"},list:{sectionAriaLabel:"Podcast ç¯ç®å表",emptyState:"ç®åå°ç¡å¯ææ¾ç Podcast ç¯ç®ã",fallbackTitle:"æªå½åç¯ç®",fallbackPublishedAt:"æ¥ææªå®",fallbackDuration:"æé·æªå®",imageAlt:"Podcast ç¯ç®å°é¢ï¼{title}",playAriaLabel:"åå¾ Apple Podcast æ¶è½ï¼{title}",linkAriaLabel:"å¦é Apple Podcast é é¢ï¼{title}",pinnedMarkerAriaLabel:"ç½®é ç¯ç®ï¼{title}"},pagination:{navAriaLabel:"Podcast åé ",prev:"ä¸ä¸é ",next:"ä¸ä¸é ",pageAriaLabel:"åå¾ç¬¬ {page} é "}},c_={meta:{title:"婦æ´åç©"},hero:{sectionAriaLabel:"婦æ´åç©é é¦",eyebrow:"Electronic Publication",title:"婦æ´åç©",description:"èå©¦æ´æä¸åå®è·å¼±å¢å©¦å¹¼ï¼çºä»ååµé æ¹è®çå½çæ©æï¼è³¦äºä»åéççåéï¼è®æ¯ä¸ååå·çééé½è½å¤ 卿è叿ä¸ç¶»æ¾ã"},category:{sectionAriaLabel:"åç©é¡å篩é¸",all:"å
¨é¨",empty:"ç®åæ²æå¯ä¾ç¯©é¸çé¡åã"},toolbar:{sectionAriaLabel:"æå°èæåº"},sort:{label:"æåº",panelHeader:"æåº",ariaLabel:"æåº",optionNewestFirst:"ææ° â æè",optionOldestFirst:"æè â ææ°"},search:{formAriaLabel:"æå°åç©",placeholder:"è«è¼¸å
¥å
§å®¹"},grid:{sectionAriaLabel:"åç©å表",fallbackType:"æªåé¡",fallbackTitle:"æªå½ååç©",empty:"ç®åæ²æç¬¦åæ¢ä»¶çåç©ã"},card:{readLabel:"éåé±è®",previewTitle:"PDF é 覽",closePreviewLabel:"ééé 覽",openInNewTabLabel:"卿°åé éå",coverAlt:"{title} å°é¢",unavailableLabel:"æªæ¡å°æªæä¾"},pagination:{navAriaLabel:"åç©å表åé ",prev:"ä¸ä¸é ",next:"ä¸ä¸é ",pageAriaLabel:"åå¾ç¬¬ {page} é "}},u_={meta:{title:"åºçåä»ç´¹"}
202,list:{sectionAriaLabel:"åºçåå表èåé¡",filterAll:"å ¨é¨",filterAriaLabel:"åºçååé¡ç¯©é¸",scrollHintAria:"å¯å·¦å³æ»åæ¥çæ´å¤åé¡",openItemAria:"éååºçåï¼{title}",coverAlt:"åºçåã{title}ãå°é¢",emptyList:"æ¤åé¡ä¸å°ç¡åºçåã"},sort:{label:"æåº",panelHeader:"æåº",ariaLabel:"æåº",optionNewestFirst:"ææ° â æè",optionOldestFirst:"æè â ææ°"},search:{formAriaLabel:"æå°åºçå",placeholder:"æå°æ¨é¡ææè¦â¦",submit:"æå°"},emptyState:"ç®åå°ç¡å·²ç¼å¸çåºçåã",pagination:{navAriaLabel:"åºçåå表åé ",prev:"ä¸ä¸é ",next:"ä¸ä¸é ",pageInfo:"第 {current} / {last} é · å ± {total} ç",pageAriaLabel:"第 {page} é "}},f_={backToList:"è¿å",backToListAria:"åå°åºçåå表é ",backToPreviousPage:"è¿åä¸ä¸é ",articleAriaLabel:"åºçåå §æ",bodySectionAriaLabel:"åºçåå §å®¹åå¡",coverAlt:"åºçåã{title}ãå°é¢",videoEmbedAria:"å½±çåµå ¥ï¼{title}",shareRowAriaLabel:"å享æ¤åºçå",shareFacebookAria:"æ¼ Facebook å享",shareLineAria:"æ¼ LINE å享",copyLinkAria:"è¤è£½åºçåé£çµ",copyLinkSuccess:"é£çµå·²è¤è£½",copyLinkFailed:"ç¡æ³è¤è£½é£çµï¼è«æ¹ä»¥æåæ¹å¼è¤è£½ç¶²å",relatedArticles:{sectionAriaLabel:"ç¸éåºçååå¡",subheading:"Related Publication",heading:"æ´å¤ç¸éåºçå",defaultCategory:"åºçå",openArticleAria:"é±è®ç¸éåºçåï¼{title}",coverAlt:"ç¸éåºçåã{title}ãå°é¢"}},d_={sectionAriaLabel:"ç¸éå §å®¹åå¡",project:{headingTemplate:"æ¯æ{title}ç¸éææ¬¾å°æ¡",description:`èå©¦æ´æä¸åå®è·å¼±å¢å©¦å¹¼ï¼çºä»ååµé æ¹è®çå½çæ©æï¼ 203賦äºä»åéççåéï¼è®æ¯ä¸ååå·çééé½è½å¤ 卿è叿ä¸ç¶»æ¾ã`,openProjectAria:"æ¥çç¸éææ¬¾å°æ¡ï¼{title}",coverAlt:"ç¸éææ¬¾å°æ¡ã{title}ãå°é¢",sliderDotAria:"åå¾ç¬¬ {n} åç¸éå°æ¡"},news:{subheading:"Related Article",heading:"æ´å¤ç¸éæç« ",openNewsAria:"é±è®ç¸éæç« ï¼{title}",coverAlt:"ç¸éæç« ã{title}ãå°é¢",defaultCategory:"æ°èç¼ä½"}},h_={metaTitle:"ç«å §æå°",mainAriaLabel:"ç«å §æå°é é¢",sectionAriaLabel:"æå°é é¢å §å®¹",left:{eyebrow:"Search",title:"æå°",searchInputAriaLabel:"ç«å §æå°ééµå",searchPlaceholder:"ééµå",clearKeywordAriaLabel:"æ¸ é¤ééµå",submitAriaLabel:"éåºæå°",filtersAriaLabel:"æå°åé¡ç¯©é¸",filtersScrollHintAriaLabel:"å峿²å以æ¥çæ´å¤åé¡"},filters:{all:"å ¨é¨",announcement:"婦æ´å ¬å",opinion:"婦æ´è§é»",event:"å©¦æ´æ´»å",story:"å©¦æ´æ äº",media:"åªé«å ±å°"},rightColumnAriaLabel:"æå°çµæå表å",resultListAriaLabel:"æå°çµææ¸ å®",resultSummaryKeywordFallback:"ééµå",resultSummary:"{keyword}ï¼å ±æ¾å° {result} é æå°çµæ",emptyState:"æ¾ä¸å°ç¬¦åæ¢ä»¶çæå°çµæ",pagination:{navAriaLabel:"æå°çµæåé ",prev:"ä¸ä¸é ",next:"ä¸ä¸é ",pageAriaLabel:"第 {page} é "},cards:{first:{tag:"婦æ´å ¬å",date:"2026.2.27",title:"å ¨åç¬¬ä¸æ¬æè²æ¸ä½èº«é«çç·ç¹ªæ¬ãç´ ç·å¥è¹ãåè³èªæ",description:"èæåä¸åå®è·éäºèå¼±ç婦女èå ç«¥ï¼çºä»ååµé æ¹è®çå½çæ©æï¼è³¦äºä»åéççåéã",imageAlt:"æå°çµæç¸®å",ariaLabel:"æ¥ç婦æ´å ¬åå §å®¹"},second:{tag:"婦æ´è§é»",date:"2026.2.20",title:"çè¦åæ´å©¦å¥³ç復忷ç¨ï¼å¾éªä¼´å°èªç«",description:"éé第ä¸ç·æåç¶é©ï¼æåæ´çæ¯æçç¥èééµè½æï¼è®æ¯ä¸æ¬¡éªä¼´é½æ´æåéã",imageAlt:"æå°çµæç¸®å",ariaLabel:"æ¥ç婦æ´è§é»å §å®¹"},third:{tag:"åªé«å ±å°",date:"2026.2.10",title:"åªé«å°è¨ªï¼æææé æ´å®å ¨çå©¦å¹¼æ¯æç¶²çµ¡",description:"èè·¨é åå¤¥ä¼´å ±åæ¨åå¡è°èæåï¼è®æ¯ä½éè¦åå©ç人é½è½è¢«çè¦ã被æ¥ä½ã",imageAlt:"æå°çµæç¸®å",ariaLabel:"æ¥çåªé«å ±å°å §å®¹"}}},p_={hero:{sectionAriaLabel:"å©¦æ´æå總覽主è¦è¦º",eyebrow:"Our Services",title:"å©¦æ´æå總覽",description:"æå以被害è çºä¸å¿ï¼æä¾å¤å°æ¥æ´åæ¯æã以ä¸çºä¸»è¦æåç¸½è¦½èæ±å©å ¥å£ï¼å¯ä¾éæ±é²ä¸æ¥äºè§£åæ¹æ¡ã",imageAlt:"å©¦æ´æå總覽主è¦è¦ºåï¼å¾ æ¿æå¯¦éåæª"},grid:{sectionAriaLabel:"æåé ç®å表"},detail:{categoryDropdownLabel:"å©¦æ´æå",categoryDropdownAriaLabel:"鏿æååé¡",caseStory:{showMore:"顯示æ´å¤",showLess:"顯示è¼å°"}}},m_={meta:{title:"婦æ´å½±é³"},hero:{sectionAriaLabel:"婦æ´å½±é³ä¸»è¦è¦º",eyebrow:"Video",title:"婦æ´å½±é³",description:`èå©¦æ´æä¸åå®è·å¼±å¢å©¦å¹¼ï¼çºä»ååµé æ¹è®çå½çæ©æï¼ 204賦äºä»åéççåéï¼è®æ¯ä¸ååå·çééé½è½å¤ 卿è叿ä¸ç¶»æ¾ã`,imageAlt:"婦æ´å½±é³ä¸»è¦è¦ºåï¼å¾ æ¿æå¯¦éåæª"},list:{sectionAriaLabel:"婦æ´å½±é³å表",empty:"ç®åå°ç¡å½±é³å §å®¹",thumbnailAlt:"{title} å°é¢å",openVideoAria:"éåå½±çï¼{title}"},sort:{label:"æåº",panelHeader:"æåº",ariaLabel:"影鳿åºé¸å®",optionNewestFirst:"ææ° â æè",optionOldestFirst:"æè â ææ°"},search:{formAriaLabel:"æå°å½±é³",placeholder:"è«è¼¸å ¥å §å®¹"},pagination:{navAriaLabel:"å½±é³åé ",prev:"ä¸ä¸é ",next:"ä¸ä¸é ",pageAriaLabel:"第 {page} é "}},g_={home:n_,components:ME,pageLayout:o_,privacyPolicyPage:s_,consultationPage:jE,cookieConsent:qE,errorPage:GE,aboutOurHistoryPage:$E,aboutOrganizationPage:BE,aboutPage:VE,aboutSdgsPage:UE,advocacyPage:HE,annualReportPage:WE,downloadPage:zE,servicePage:p_,publicationPage:u_,publicationDetailPage:f_,relationSection:d_,searchPage:h_,publicationListPage:c_,videoPage:m_,newsPage:a_,newsDetailPage:i_,podcastPage:l_,donationCTABlock:QE,donationCorporatePage:KE,donationGeneralPage:YE,donationProjectDetailPage:JE,donationMethodsPage:XE,donationProjectsPage:ZE,donationQueryPage:e_,donationRecordsPage:t_,paymentResultPage:r_},Mr={"zh-Hant":g_,en:FE},oh="zh-Hant";function y_(e){return e.toLowerCase().startsWith("en")?"en":"zh-Hant"}function b_(e){return e==="en"?"en":"zh-Hant"}
204function Pn(e){const t=e.split("/").filter(Boolean),r=t[0];return r==="en"?{locale:"en",remainder:t.slice(1)}:r==="zh-Hant"||r?.toLowerCase()==="zh-hant"?{locale:"zh-Hant",remainder:t.slice(1)}:{locale:"zh-Hant",remainder:t}}function v_(e){const r=e.split("/").filter(Boolean)[0];return r==="en"?{locale:"en",zhHantUsesExplicitPrefix:!1}:r==="zh-Hant"||r?.toLowerCase()==="zh-hant"?{locale:"zh-Hant",zhHantUsesExplicitPrefix:!0}:{locale:"zh-Hant",zhHantUsesExplicitPrefix:!1}}function Ve(e,t,r){const{locale:n,zhHantUsesExplicitPrefix:i}=v_(e);let a;if(t.length===0)n==="en"?a="/en":a=i?"/zh-Hant":"/";else{const s=t.join("/");n==="en"?a=`/en/${s}`:i?a=`/zh-Hant/${s}`:a=`/${s}`}if(!r||Object.keys(r).length===0)return a;const o=new URLSearchParams(r).toString();return o?`${a}?${o}`:a}function w_(e,t){const{remainder:r}=Pn(t);return e==="zh-Hant"?r.length===0?"/":`/${r.join("/")}`:`/en${r.length?`/${r.join("/")}`:""}`}function sh(e){const t=e.split("#")[0]??e,r=t.indexOf("?");if(r===-1){const o=t.startsWith("/")||t.startsWith("http")?t:`/${t}`;if(o.startsWith("http"))try{return{pathname:new URL(o).pathname||"/",suffix:""}}catch{return{pathname:"/",suffix:""}}return{pathname:o||"/",suffix:""}}const n=t.slice(0,r),i=t.slice(r);return{pathname:(n.startsWith("http")?(()=>{try{return new URL(n).pathname||"/"}catch{return"/"}})():n.startsWith("/")?n:`/${n}`)||"/",suffix:i}}function lh(e){const{pathname:t,suffix:r}=sh(e),{locale:n}=Pn(t);return`${w_(n==="en"?"zh-Hant":"en",t)}${r}`}function Br(e){return sh(e).pathname}function ch(e){if(e!==void 0)return Pn(e).locale;if(typeof window<"u")return Pn(window.location.pathname).locale;if(typeof document<"u"){const t=document.documentElement.lang;if(t)return y_(t)}return oh}function Pu(e,t){if(!t)return;const r=t.split(".").reduce((n,i)=>{if(!(!n||typeof n!="object"))return n[i]},e);if(typeof r=="string")return r}function P_(e,t){const r=t??ch(),n=Pu(Mr[r],e);if(typeof n=="string")return n;const i=Pu(Mr[oh],e);return typeof i=="string"?i:e}function S_(e,t){const r=e.trim();if(r.startsWith("#"))return{pathname:t,suffix:r};if(r.startsWith("?"))return{pathname:t,suffix:r};if(/^https?:\/\//i.test(r))try{const s=new URL(r);return{pathname:s.pathname||"/",suffix:`${s.search}${s.hash}`}}catch{return{pathname:"/",suffix:""}}const n=r.split("#")[0]??r,i=r.split("#").slice(1),a=i.length?`#${i.join("#")}`:"",o=n.indexOf("?");return o===-1?{pathname:(n.startsWith("/")?n:`/${n}`)||"/",suffix:a}:{pathname:n.slice(0,o)||"/",suffix:`${n.slice(o)}${a}`}}function E_(e){const t=e.trim();if(!t||/^(mailto:|tel:|javascript:)/i.test(t)||t.startsWith("//"))return!0;if(/^https?:\/\//i.test(t)){if(typeof window>"u")return!1;try{return new URL(t).origin!==window.location.origin}catch{return!0}}return!1}const fe=E.forwardRef(({href:e,openNewTab:t=!1,rewriteLocale:r=!0,className:n,children:i,...a},o)=>{const{url:s}=ur(),l=Br(s),c=t?{target:"_blank",rel:"noopener noreferrer"}:{};if(E_(e))return y.jsx("a",{ref:o,href:e,className:We(n),...a,...c,children:i});if(!r)return t?y.jsx("a",{ref:o,href:e,className:We(n),...a,...c,children:i}):y.jsx(wu,{ref:o,href:e,className:We(n),...a,...c,children:i});const{pathname:u,suffix:f}=S_(e,l),{remainder:d}=Pn(u),h=`${Ve(l,d)}${f}`;return t?y.jsx("a",{ref:o,href:h,className:We(n),...a,...c,children:i}):y.jsx(wu,{ref:o,href:h,className:We(n),...a,...c,children:i})});fe.displayName="LinkWrapper";const __="_root_17wft_2",A_="_inner_17wft_29",x_="_label_17wft_36",L_="_icon_17wft_40",T_="_theme-primary_17wft_55",C_="_theme-secondary_17wft_85",O_="_theme-light_17wft_113",k_="_theme-outlined_17wft_142",I_="_theme-ghost_17wft_178",kt={root:__,inner:A_,label:x_,icon:L_,themePrimary:T_,themeSecondary:C_,themeLight:O_,themeOutlined:k_,themeGhost:I_},D_={primary:kt.themePrimary,secondary:kt.themeSecondary,light:kt.themeLight,outlined:kt.themeOutlined,ghost:kt.themeGhost},fi=E.forwardRef(({theme:e,label:t,icon:r,iconPosition:n="trailing",href:i,openNewTab:a=!1,className:o,disabled:s=!1,...l},c)=>{const u=We(kt.root,D_[e],o),f=r?y.jsx("span",{className:kt.icon,children:r}):null,d=y.jsx("span",{className:kt.label,children:t}),h=y.jsx("span",{className:kt.inner,children:n==="leading"?y.jsxs(y.Fragment,{children:[f,d]}):y.jsxs(y.Fragment,{children:[d,f]})});if(i){const m=l;return y.jsx(fe,{ref:c,className:u,href:i,openNewTab:a,"aria-disabled":s||void 0,tabIndex:s?-1:void 0,...m,onClick:g=>{if(s){g.preventDefault();return}m.onClick?.(g)},children:h})}const p=l;return y.jsx("button",{ref:c,type:p.type??"button",className:u,disabled:s,...p,children:h})});fi.displayName="Button";function Vr(){const e=ur();return E.useMemo(()=>
204ch(Br(e.url)),[e.url])}function uh(){const e=Vr();return E.useCallback(t=>P_(t,e),[e])}const Ps="gdpr_consent_v2",fh=365;function dh(e){if(typeof document>"u")return null;const r=`; ${document.cookie}`.split(`; ${e}=`);if(r.length===2){const n=r.pop()?.split(";").shift();return n?decodeURIComponent(n):null}return null}function R_(e,t,r={}){if(typeof document>"u")return;const{expires:n=fh,domain:i,path:a="/",sameSite:o="Lax",secure:s=window.location.protocol==="https:"}=r,l=new Date;l.setTime(l.getTime()+n*24*60*60*1e3);const c=i;let u=`${e}=${encodeURIComponent(t)}`;n&&(u+=`; expires=${l.toUTCString()}`),c&&(u+=`; domain=${c}`),u+=`; path=${a}`,u+=`; SameSite=${o}`,s&&(u+="; Secure"),document.cookie=u}function N_(){return dh(Ps)!==null}function F_(){const e=dh(Ps);if(!e)return null;try{return JSON.parse(e)}catch{return null}}function M_(e){const t=JSON.stringify(e);R_(Ps,t,{expires:fh,path:"/",sameSite:"Lax",secure:window.location.protocol==="https:"})}function j_(e){return{analytics:e,marketing:e,ad_user_data:e,ad_personalization:e,version:"2.0",timestamp:new Date().toISOString()}}function q_(e){return{ad_storage:e.marketing?"granted":"denied",analytics_storage:e.analytics?"granted":"denied",functionality_storage:"granted",personalization_storage:e.marketing?"granted":"denied",security_storage:"granted",ad_user_data:e.ad_user_data?"granted":"denied",ad_personalization:e.ad_personalization?"granted":"denied"}}function hh(e){const t=q_(e);typeof window<"u"&&(window.gtag?window.gtag("consent","update",t):window.dataLayer&&window.dataLayer.push({event:"consent_update",...t}))}function Su(e){const t=j_(e);M_(t),hh(t)}const $_="_root_1uqt2_1",B_="_inner_1uqt2_13",V_="_content_1uqt2_21",H_="_message_1uqt2_34",U_="_messageText_1uqt2_39",W_="_actions_1uqt2_44",z_="_actionButton_1uqt2_56",Vt={root:$_,inner:B_,content:V_,message:H_,messageText:U_,actions:W_,actionButton:z_},G_=()=>{const e=uh(),[t,r]=E.useState(!1);E.useEffect(()=>{if(!N_())r(!0);else{const a=F_();a&&hh(a)}},[]);const n=()=>{Su(!0),r(!1)},i=()=>{Su(!1),r(!1)};return t?y.jsx("div",{className:Vt.root,children:y.jsx("div",{className:Vt.inner,children:y.jsxs("div",{className:Vt.content,children:[y.jsx("div",{className:Vt.message,children:y.jsxs("p",{className:Vt.messageText,children:[e("cookieConsent.messageLine1")," ",e("cookieConsent.messageLine2")]})}),y.jsxs("div",{className:Vt.actions,children:[y.jsx(fi,{theme:"outlined",label:e("cookieConsent.reject"),onClick:i,className:Vt.actionButton}),y.jsx(fi,{theme:"primary",label:e("cookieConsent.accept"),onClick:n,className:Vt.actionButton})]})]})})}):null},Q_=e=>y.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:y.jsx("g",{transform:"translate(6.5 4.914)",children:y.jsx("path",{d:"M9.5 21.672V0.5C8.96994 0.500113 8.4616 0.710643 8.08667 1.08533L0.5 8.672M18.5 8.672L10.9133 1.08533C10.5382 0.711131 10.0299 0.501093 9.5 0.501334",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})})}),K_=e=>y.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:y.jsx("path",{d:"M16.6666 10H3.43408M8.54158 15.625L3.79992 10.8833C3.56604 10.6489 3.43477 10.3312 3.43492 10C3.43499 9.66871 3.56657 9.351 3.80075 9.11667L8.54242 4.375",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),ph=e=>y.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:y.jsx("g",{transform:"translate(5.833 11.081)",children:y.jsx("path",{d:"M0.5 0.5L8.75333 8.75333C9.12833 9.12787 9.63667 9.33824 10.1667 9.33824C10.6967 9.33824 11.205 9.12787 11.58 8.75333L19.8333 0.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})})}),Mo=e=>y.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:y.jsx("path",{d:"M8.125 3.9585L13.2833 9.11683C13.5174 9.3512 13.6489 9.66891 13.6489 10.0002C13.6489 10.3314 13.5174 10.6491 13.2833 10.8835L8.125 16.0418",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})}),Ss=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",...e,children:y.jsx("path",{d:"M20.7376 20.7374C21.6118 19.8
204632 22.3052 18.8254 22.7783 17.6833C23.2514 16.5411 23.4949 15.317 23.4949 14.0807C23.4949 12.8444 23.2514 11.6203 22.7783 10.4781C22.3052 9.33598 21.6118 8.2982 20.7376 7.42403C19.8634 6.54986 18.8257 5.85644 17.6835 5.38334C16.5413 4.91025 15.3172 4.66675 14.0809 4.66675C12.8447 4.66675 11.6205 4.91025 10.4784 5.38334C9.33623 5.85644 8.29844 6.54986 7.42427 7.42403C5.65882 9.18949 4.66699 11.584 4.66699 14.0807C4.66699 16.5774 5.65882 18.9719 7.42427 20.7374C9.18973 22.5028 11.5842 23.4946 14.0809 23.4946C16.5777 23.4946 18.9721 22.5028 20.7376 20.7374ZM20.7376 20.7374L26.6669 26.6667",stroke:"#2A2A28","stroke-linecap":"round","stroke-linejoin":"round"})}),Y_=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",...e,children:y.jsx("path",{d:"M3.66699 6.33331H28.3337M3.66699 16H28.3337M3.66699 25.6666H28.3337",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})}),J_=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",...e,children:y.jsx("path",{d:"M6.66699 25.3334L16.0003 16M16.0003 16L25.3337 6.66669M16.0003 16L6.66699 6.66669M16.0003 16L25.3337 25.3334",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})}),X_=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",...e,children:y.jsx("path",{d:"M5.4495 8.63597C6.0147 8.07075 6.6857 7.62239 7.42419 7.31649C8.16267 7.01059 8.95417 6.85315 9.7535 6.85315C10.5528 6.85315 11.3443 7.01059 12.0828 7.31649C12.8213 7.62239 13.4923 8.07075 14.0575 8.63597L16.0002 10.5786L17.9428 8.63597C19.0845 7.49448 20.6329 6.85326 22.2473 6.85339C23.8617 6.85351 25.41 7.49497 26.5515 8.63664C27.693 9.7783 28.3342 11.3267 28.3341 12.9411C28.334 14.5555 27.6925 16.1038 26.5508 17.2453L24.6082 19.1866L24.6255 19.204L16.0175 27.8133L16.0002 27.796L15.9828 27.8133L7.37484 19.204L7.39217 19.1866L5.4495 17.2453C4.88408 16.6801 4.43555 16.009 4.12954 15.2704C3.82352 14.5318 3.66602 13.7401 3.66602 12.9406C3.66602 12.1411 3.82352 11.3495 4.12954 10.6109C4.43555 9.87228 4.88408 9.2012 5.4495 8.63597Z",stroke:"currentColor","stroke-linejoin":"round"})}),Es=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:y.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17.3333 0H6.66667C2.98477 0 0 2.98477 0 6.66667V17.3333C0 21.0152 2.98477 24 6.66667 24H17.3333C21.0152 24 24 21.0152 24 17.3333V6.66667C24 2.98477 21.0152 0 17.3333 0ZM21.6667 17.3333C21.6593 19.7235 19.7235 21.6593 17.3333 21.6667H6.66667C4.27647 21.6593 2.34065 19.7235 2.33333 17.3333V6.66667C2.34065 4.27647 4.27647 2.34065 6.66667 2.33333H17.3333C19.7235 2.34065 21.6593 4.27647 21.6667 6.66667V17.3333ZM18.3333 7C19.0697 7 19.6667 6.40304 19.6667 5.66667C19.6667 4.93029 19.0697 4.33333 18.3333 4.33333C17.5969 4.33333 17 4.93029 17 5.66667C17 6.40304 17.5969 7 18.3333 7ZM12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18C15.3137 18 18 15.3137 18 12C18.0036 10.4076 17.3725 8.87943 16.2465 7.75344C15.1205 6.62745 13.5924 5.99645 12 6ZM8.33333 12C8.33333 14.0251 9.97493 15.6667 12 15.6667C14.0251 15.6667 15.6667 14.0251 15.6667 12C15.6667 9.97493 14.0251 8.33333 12 8.33333C9.97493 8.33333 8.33333 9.97493 8.33333 12Z",fill:"currentColor"})}),_s=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",...e,children:[y.jsx("path",{d:"M4.54693 25.2856C3.28219 24.9658 2.29718 24.0246 1.93264 22.8624C1.33301 20.7215 1.33301 16.2562 1.33301 16.2562C1.33301 16.2562 1.33301 11.7923 1.93264 9.66945C2.29718 8.48918 3.28219 7.56747 4.54693 7.24773C6.81899 6.66663 15.9891 6.66663 15.9891 6.66663C15.9891 6.66663 25.1815 6.66663 27.4535 7.24773C28.7391 7.56747 29.7033 8.48918 30.047 9.67085C30.6689 11.7937 30.6689 16.2576 30.6689 16.2576C30.6689 16.2576 30.6689 20.7215 30.047 22.8638C29.7048 24.0246 28.7391 24.9658 27.4535 25.2869C25.1815 25.868 15.9891 25.868 15.9891 25.868C15.9891 25.868 6.8175 25.868 4.54693 25.2869V25.2856ZM13.0757 20.3809L20.682 16.2562L13.0757 12.1523V20.3809Z",fill:"currentColor"}),y.jsx("path",{d:"M13.0762 20.3808L20.6824 16.2561L13.0762 12.1522V20.3808Z",fill:"white"})]}),As=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",...e,children:y.jsx("path",{d:"M29.3337 16C29.3337 8.63996 23.3603 2.66663 16.0003 2.66663C8.64032 2.66663 2.66699 8.63996 2.66699 16C2.66699 22.4533 7.25366 27.8266 13.3337 29.0666V20H10.667V16H13.3337V12.6666C13.3337 10.0933 15.427 7.99996 18.0003 7.99996H21.3337V12H18.667C17.9337 12 17.3337 12.6 17.3337 13.3333V16H21.3337V20H17.3337V29.2666C24.067 28.6 29.3337 22.92 29.3337 16Z",fill:"currentColor"})}),xs=e=>y.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:y.jsx("path",{d:"M4.83333 0.5
204H3.16667C2.45942 0.5 1.78115 0.780951 1.28105 1.28105C0.780951 1.78115 0.5 2.45942 0.5 3.16667V8.83333C0.5 9.54058 0.780951 10.2189 1.28105 10.719C1.78115 11.219 2.45942 11.5 3.16667 11.5H8.83333C9.54058 11.5 10.2189 11.219 10.719 10.719C11.219 10.2189 11.5 9.54058 11.5 8.83333V7.16667M7.16667 0.5H10.8333C11.0173 0.5 11.184 0.574667 11.3047 0.695333M11.3047 0.695333C11.4297 0.820329 11.5 0.98987 11.5 1.16667V4.83333M11.3047 0.695333L10.8333 1.16667L6.5 5.5",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})}),Z_="_root_ia2p9_2",eA="_socialStack_ia2p9_26",tA="_socialBtn_ia2p9_15",rA="_socialIcon_ia2p9_64",nA="_floatStack_ia2p9_69",iA="_floatBtn_ia2p9_15",aA="_floatDonate_ia2p9_130",oA="_floatNewsletter_ia2p9_134",sA="_floatTwoLineDesktop_ia2p9_145",lA="_floatLine_ia2p9_152",cA="_floatTwoLineMobileVertical_ia2p9_160",uA="_floatExit_ia2p9_184",Ee={root:Z_,socialStack:eA,socialBtn:tA,socialIcon:rA,floatStack:nA,floatBtn:iA,floatDonate:aA,floatNewsletter:oA,floatTwoLineDesktop:sA,floatLine:lA,floatTwoLineMobileVertical:cA,floatExit:uA},fA="https://www.cwa.gov.tw/V8/C/W/County/index.html",dA="https://docs.google.com/forms/d/e/1FAIpQLSdUFDqkopiISqFi2bV2E1lJCn1WQVbcddVYrfXmTBTOuRcaSQ/viewform",hA=({generalDonationHref:e="#",newsletterHref:t=dA,quickExitHref:r=fA})=>{const n=uh(),i=Vr(),{footer:a,snsLinks:o}=Mr[i].pageLayout,s=n("home.hero.floatDonateLine1").trim(),l=n("home.hero.floatDonateLine2"),c=`${s}${l}`,u=n("home.hero.floatNewsletterLine1").trim(),f=n("home.hero.floatNewsletterLine2"),d=`${u}${f}`;return y.jsxs("div",{className:Ee.root,children:[y.jsxs("div",{className:Ee.socialStack,children:[y.jsx(fe,{href:o.youtube,className:Ee.socialBtn,"aria-label":a.socialAriaLabels.youtube,openNewTab:!0,children:y.jsx(_s,{className:Ee.socialIcon})}),y.jsx(fe,{href:o.facebook,className:Ee.socialBtn,"aria-label":a.socialAriaLabels.facebook,openNewTab:!0,children:y.jsx(As,{className:Ee.socialIcon})}),y.jsx(fe,{href:o.instagram,className:Ee.socialBtn,"aria-label":a.socialAriaLabels.instagram,openNewTab:!0,children:y.jsx(Es,{className:Ee.socialIcon})})]}),y.jsxs("div",{className:Ee.floatStack,children:[y.jsxs(fe,{className:`${Ee.floatBtn} ${Ee.floatDonate}`,href:e,children:[y.jsx("span",{className:Ee.floatTwoLineMobileVertical,children:c}),y.jsxs("span",{className:Ee.floatTwoLineDesktop,children:[s?y.jsx("span",{className:Ee.floatLine,children:s}):null,l?y.jsx("span",{className:Ee.floatLine,children:l}):null]})]}),y.jsxs(fe,{className:`${Ee.floatBtn} ${Ee.floatNewsletter}`,href:t,openNewTab:!0,children:[y.jsx("span",{className:Ee.floatTwoLineMobileVertical,children:d}),y.jsxs("span",{className:Ee.floatTwoLineDesktop,children:[u?y.jsx("span",{className:Ee.floatLine,children:u}):null,f?y.jsx("span",{className:Ee.floatLine,children:f}):null]})]}),y.jsx(fe,{className:`${Ee.floatBtn} ${Ee.floatExit}`,href:r,children:y.jsx("span",{className:Ee.floatLine,children:n("home.hero.quickExit")})})]})]})},pA="_headerRoot_1bp8y_2",mA="_headerRootEntranceHidden_1bp8y_14",gA="_headerRootEntranceReveal_1bp8y_19",yA="_navbar_1bp8y_29",bA="_container_1bp8y_46",vA="_leftGroup_1bp8y_60",wA="_logoLink_1bp8y_74",PA="_logo_1bp8y_74",SA="_menuList_1bp8y_95",EA="_menuItem_1bp8y_107",_A="_menuIcon_1bp8y_121",AA="_rightActions_1bp8y_126",xA="_desktopOnlyAction_1bp8y_139",LA="_mobileNavbarWrap_1bp8y_144",TA="_pillButton_1bp8y_137",CA="_iconButton_1bp8y_175",OA="_actionIcon_1bp8y_182",kA="_donateIcon_1bp8y_187",IA="_donateMenuRoot_1bp8y_137",DA="_donateMenu_1bp8y_137",RA="_donateMenuTitle_1bp8y_230",NA="_donateMenuList_1bp8y_237",FA="_donateMenuItem_1bp8y_243",he={headerRoot:pA,headerRootEntranceHidden:mA,headerRootEntranceReveal:gA,navbar:yA,container:bA,leftGroup:vA,logoLink:wA,logo:PA,menuList:SA,menuItem:EA,menuIcon:_A,rightActions:AA,desktopOnlyAction:xA,mobileNavbarWrap:LA,pillButton:TA,iconButton:CA,actionIcon:OA,donateIcon:kA,donateMenuRoot:IA,donateMenu:DA,donateMenuTitle:RA,donateMenuList:NA,donateMenuItem:FA},Ls="/build/assets/logo-BaYkEv-T.png",MA="_root_yteiv_2",jA="_trigger_yteiv_8",qA="_triggerActive_yteiv_22",$A="_chevron_yteiv_26",BA="_panel_yteiv_31",VA="_inner_yteiv_66",HA="_title_yteiv_74",UA="_columns_yteiv_81",WA="_link_yteiv_88",zA="_linkOpenIcon_yteiv_112",et={root:MA,trigger:jA,triggerActive:qA,chevron:$A,panel:BA,inner:VA,title:HA,columns:UA,link:WA,linkOpenIcon:zA};function GA(e,t){return e.find(r=>r.title===t)}function QA(e){return typeof e=="string"?{label:e,isExternal:!1}:{label:e.label,isExternal:e.isExternal??!1,externalLink:e.externalLink,internalPath:e.internalPath,internalSearch:e.internalSearch}}function KA(e,t){return!e||!t?.trim()?!1:t.trimStart().toLowerCase().startsWith("http")}function YA({label:e,group:t,isOpen:r,onOpen:n,onClose:i,currentPathname:a}){const o=`navbar-submenu-${e.replace(/\s+/g,"-")}`;function s(l){const c=l.relatedTarget;c&&l.currentTarget.contains(c)||i()}return y.jsxs("div",{className:et.root,onMouseEnter:n,onMouseLeave:i,onFocusCapture:n,onBlurCapture:s,children:[y.jsxs("button",{type:"button",className:`${et.trigger} ${r?et.triggerActive:""}`,"aria-expanded":r,"aria-haspopup":"true","aria-controls":o,children:[y.jsx("span",{children:e}),y.jsx(ph,{className:et.chevron})]}),r?y.jsx("div",{id:o,className:et.panel,role:"region","aria-label":t.title,children:y.jsxs("div",{className:et.inner,children:[y.jsx("p",{className:et.title,children:t.title}
204),y.jsx("div",{className:et.columns,children:t.items.map(l=>{const{label:c,isExternal:u,externalLink:f,internalPath:d,internalSearch:h}=QA(l),p=d?.length&&!u?Ve(a,[...d],h):null,m=h?.category?`${c}-${h.category}`:c;if(p)return y.jsx(fe,{href:p,className:et.link,onClick:i,children:y.jsx("span",{children:c})},m);if(u&&f){const g=KA(u,f);return y.jsxs(fe,{href:f,className:et.link,onClick:i,openNewTab:!0,children:[y.jsx("span",{children:c}),g?y.jsx(xs,{className:et.linkOpenIcon,"aria-hidden":!0}):null]},c)}return y.jsx("button",{type:"button",className:et.link,children:y.jsx("span",{children:c})},c)})})]})}):null]})}const JA=new Set(["婦æ´å¡è°","Advocacy","Initiatives"]),XA=new Set(["å©¦æ´æ¶æ¯","News"]),ZA=new Set(["å©¦æ´æå","Services"]);function mh(e){return JA.has(e)}function ex(e){return XA.has(e)}function tx(e){return ZA.has(e)}function gh({menuItems:e,submenuGroups:t,serviceCategoryItems:r,advocacyPages:n,newsCategoryItems:i}){return e.map(a=>{if(a.internalPath?.length)return{kind:"internalLink",key:a.label,label:a.label,internalPath:a.internalPath};const o=a.hasDropdown?GA(t,a.label):void 0,s=!!o?.items.some(m=>typeof m!="string"&&m.internalPath?.length&&m.internalPath[0]==="service"),l=s?o?.items.find(m=>typeof m!="string"&&m.internalPath?.length&&m.internalPath[0]==="service"):void 0,c=s&&o?{...o,items:[...l?[l]:[],...r.map(m=>({label:m.title,isExternal:m.isExternal,externalLink:m.link??void 0,internalPath:["service",m.slug]}))]}:o,f=!!o?.items.some(m=>typeof m=="string")&&!!(o?.title&&mh(o.title))&&c?{...c,items:n.length>0?n.map(m=>({label:m.title,internalPath:["advocacy",m.slug]})):c.items}:c,d=!!(o?.title&&ex(o.title))&&!!o?.items.some(m=>typeof m!="string"&&m.internalPath?.length===1&&m.internalPath[0]==="news"),h=d?o?.items.find(m=>typeof m!="string"&&m.internalPath?.length===1&&m.internalPath[0]==="news"&&!m.internalSearch):void 0,p=d&&f?{...f,items:[...h?[h]:[],...i.map(m=>({label:m.title,internalPath:["news"],internalSearch:{category:m.slug}}))]}:f;return!a.hasDropdown||!p?{kind:"inactive",key:a.label,label:a.label,hasDropdown:!!a.hasDropdown}:{kind:"submenu",key:a.label,label:a.label,group:p}})}const rx="_root_7r5et_2",nx="_icon_7r5et_34",ix="_theme-primary_7r5et_55",ax="_theme-secondary_7r5et_82",ox="_theme-outlined_7r5et_109",sx="_theme-ghost_7r5et_144",Er={root:rx,icon:nx,themePrimary:ix,themeSecondary:ax,themeOutlined:ox,themeGhost:sx},lx={primary:Er.themePrimary,secondary:Er.themeSecondary,outlined:Er.themeOutlined,ghost:Er.themeGhost},yh=E.forwardRef(({theme:e,href:t,openNewTab:r=!1,rewriteLocale:n=!0,download:i,children:a,className:o,disabled:s=!1,...l},c)=>{const u=We(Er.root,lx[e],o),f=y.jsx("span",{className:Er.icon,children:a??y.jsx(Mo,{"aria-hidden":!0})});if(t&&i){const h=l,p=r?{target:"_blank",rel:"noopener noreferrer"}:{};return y.jsx("a",{ref:c,className:u,href:t,download:i===!0?"":i,"aria-disabled":s||void 0,tabIndex:s?-1:void 0,...p,...h,onClick:m=>{if(s){m.preventDefault();return}h.onClick?.(m)},children:f})}if(t){const h=l;return y.jsx(fe,{ref:c,className:u,href:t,openNewTab:r,rewriteLocale:n,"aria-disabled":s||void 0,tabIndex:s?-1:void 0,...h,onClick:p=>{if(s){p.preventDefault();return}h.onClick?.(p)},children:f})}const d=l;return y.jsx("button",{ref:c,type:d.type??"button",className:u,disabled:s,...d,children:f})});yh.displayName="IconButton";const cx="_menuTrigger_xo930_3",ux={menuTrigger:cx},fx=({menuButtonAriaLabel:e,onMenuButtonClick:t,isMenuOpen:r,menuPanelId:n})=>y.jsx(yh,{theme:"primary",type:"button",className:ux.menuTrigger,"aria-label":e,"aria-expanded":n?!!r:void 0,"aria-controls":n||void 0,onClick:t,children:y.jsx(Y_,{"aria-hidden":!0})}),dx="_root_wgt4r_2",hx="_rootOpen_wgt4r_9",px="_clip_wgt4r_13",mx="_content_wgt4r_18",gx="_row_wgt4r_38",yx="_field_wgt4r_47",bx="_input_wgt4r_60",vx="_submit_wgt4r_84",wx="_submitIcon_wgt4r_97",Px="_closeButton_wgt4r_103",Sx="_closeIcon_wgt4r_119",ut={root:dx,rootOpen:hx,clip:px,content:mx,row:gx,field:yx,input:bx,submit:vx,submitIcon:wx,closeButton:Px,closeIcon:Sx},Ex=({id:e,isOpen:t,copy:r,inputRef:n,onSubmit:i,onClose:a})=>y.jsx("div",{id:e,className:`${ut.root} ${t?ut.rootOpen:""}`,role:"search","aria-label":r.searchRegionAriaLabel,"aria-hidden":!t,children:y.jsx("div",{className:ut.clip,inert:!t,children:y.jsx("div",{className:ut.content,children:y.jsxs("form",{className:ut.row,onSubmit:i,children:[y.jsxs("div",{className:ut.field,children:[y.jsx("input",{ref:n,className:ut.input,type:"search",name:"q",placeholder:r.searchPlaceholder,autoComplete:"off","aria-label":r.searchPlaceholder}),y.jsx("button",{type:"submit",className:ut.submit,"aria-label":r.searchSubmitAriaLabel,children:y.jsx(Ss,{className:ut.submitIcon})})]}),y.jsxs("button",{type:"button",className:ut.closeButton,onClick:a,children:[y.jsx(J_,{className:ut.closeIcon,"aria-hidden":!0}),y.jsx("span",{children:r.searchClose})]})]})})})}),_x="_root_47lgx_3",Ax="_rootInDrawer_47lgx_13",xx="_mainColumn_47lgx_21",Lx="_slideViewport_47lgx_30",Tx="_track_47lgx_37",Cx="_trackSubOpen_47lgx_45",Ox="_layer_47lgx_54",kx="_firstLayerScroll_47lgx_66",Ix="_menuList_47lgx_75",Dx="_menuItem_47lgx_84",Rx="_menuRow_47lgx_88",Nx="_menuRowLabel_47lgx_124",Fx="_menuRowChevron_47lgx_129",Mx="_menuRowChevronMuted_47lgx_136",jx="_bottomDock_47lgx_143",qx="_searchForm_47lgx_153",$x="_searchField_47lgx_158",Bx="_searchInput_47lgx_170",Vx="_searchSubmit_47lgx_185",Hx="_searchSubmitIcon_47lgx_204",Ux="_bottomDockRow_47lgx_209",Wx="_langLink_47lgx_217",zx="_socialList_47lgx_234",Gx="_socialButton_47lgx_240",Qx="_socialIcon_47lgx_256",Kx="_submenuInner_47lgx_262",Yx="_submenuHeader_47lgx_272",Jx="_backButton_47lgx_277",Xx="_backIcon_47lgx_291",Zx="_submenuTitle_47lgx_297",eL="_submenuList_47lgx_306",tL="_submenuLink_47lgx_317",rL="_submenuLinkIcon_47lgx_338",Y={root:_x,rootInDrawer:Ax,mainColumn:xx,slideViewport:Lx,track:Tx,trackSubOpen:Cx,layer:Ox,firstLayerScroll:kx,menuList:Ix,menuItem:Dx,menuRow:Rx,menuRowLabel:Nx,menuRowChevron:Fx,menuRowChevronMuted:Mx,bottomDock:jx,searchForm:qx,searchField:$x,searchInput:Bx,searchSubmit:Vx,searchSubmitIcon:Hx,bottomDockRow:Ux,langLink:Wx,socialList:zx,socialButton:Gx,socialIcon:Qx,submenuInner:Kx,submenuHeader:Yx,backButton:Jx,backIcon:Xx,submenuTitle:Z
204x,submenuList:eL,submenuLink:tL,submenuLinkIcon:rL};function nL(e){return typeof e=="string"?{label:e,isExternal:!1}:{label:e.label,isExternal:e.isExternal??!1,externalLink:e.externalLink,internalPath:e.internalPath,internalSearch:e.internalSearch}}function iL(e,t){return!e||!t?.trim()?!1:t.trimStart().toLowerCase().startsWith("http")}function aL(e,t,r){return e.items.map(n=>{const{label:i,isExternal:a,externalLink:o,internalPath:s,internalSearch:l}=nL(n),c=s?.length&&!a?Ve(t,[...s],l):null,u=l?.category?`${i}-${l.category}`:i;if(c)return y.jsx(fe,{href:c,className:Y.submenuLink,onClick:r,children:y.jsx("span",{children:i})},u);if(a&&o){const f=iL(a,o);return y.jsxs(fe,{href:o,className:Y.submenuLink,onClick:r,openNewTab:!0,children:[y.jsx("span",{children:i}),f?y.jsx(xs,{className:Y.submenuLinkIcon,"aria-hidden":!0}):null]},i)}return y.jsx("button",{type:"button",className:Y.submenuLink,disabled:!0,children:y.jsx("span",{children:i})},i)})}const oL=({className:e,embeddedInDrawer:t,onNavigate:r})=>{const{props:n,url:i}=ur(),a=Br(i),o=Vr(),{navbar:s,footer:l,snsLinks:c}=Mr[o].pageLayout,u=lh(i),f=u.startsWith("/")?u:`/${u}`,d=n.navbar?.serviceCategory??[],h=n.navbar?.advocacyPages??[],p=n.navbar?.newsCategory??[],[m,g]=E.useState(null),b=E.useMemo(()=>[...gh({menuItems:s.menuItems,submenuGroups:s.submenuGroups,serviceCategoryItems:d,advocacyPages:h,newsCategoryItems:p}),{kind:"submenu",key:"navbarDonate",label:s.donate,group:{title:s.donate,items:s.donateMenuItems}},{kind:"internalLink",key:"navbarConsultation",label:s.onlineConsultation,internalPath:["consultation"]}],[h,s.donate,s.donateMenuItems,s.menuItems,s.onlineConsultation,s.submenuGroups,p,d]),v=m?b.find(T=>T.key===m&&T.kind==="submenu"):void 0,S=v?.kind==="submenu"?v.group:void 0,L=!!S;E.useEffect(()=>{if(!m)return;function T(D){D.key==="Escape"&&g(null)}return window.addEventListener("keydown",T),()=>window.removeEventListener("keydown",T)},[m]);function A(){r?.()}function O(T){T.preventDefault();const P=new FormData(T.currentTarget).get("q"),C=typeof P=="string"?P.trim():"",w=Ve(a,["search"]);C?ui.get(w,{q:C}):ui.get(w),A()}return y.jsxs("div",{className:We(Y.root,t&&Y.rootInDrawer,e),children:[y.jsx("div",{className:Y.mainColumn,children:y.jsx("div",{className:Y.slideViewport,children:y.jsxs("div",{className:We(Y.track,L&&Y.trackSubOpen),children:[y.jsx("div",{className:Y.layer,"aria-hidden":L,children:y.jsx("div",{className:Y.firstLayerScroll,children:y.jsx("ul",{className:Y.menuList,children:b.map(T=>T.kind==="internalLink"?y.jsx("li",{className:Y.menuItem,children:y.jsx(fe,{href:Ve(a,[...T.internalPath]),className:Y.menuRow,onClick:A,children:y.jsx("span",{className:Y.menuRowLabel,children:T.label})})},T.key):T.kind==="submenu"?y.jsx("li",{className:Y.menuItem,children:y.jsxs("button",{type:"button",className:Y.menuRow,"aria-expanded":m===T.key&&L,"aria-controls":"navbar-mobile-submenu",onClick:()=>g(T.key),children:[y.jsx("span",{className:Y.menuRowLabel,children:T.label}),y.jsx(Mo,{className:Y.menuRowChevron,"aria-hidden":!0})]})},T.key):y.jsx("li",{className:Y.menuItem,children:y.jsxs("button",{type:"button",className:Y.menuRow,disabled:!0,"aria-disabled":"true",children:[y.jsx("span",{className:Y.menuRowLabel,children:T.label}),T.hasDropdown?y.jsx(Mo,{className:Y.menuRowChevronMuted,"aria-hidden":!0}):null]})},T.key))})})}),y.jsx("div",{id:"navbar-mobile-submenu",className:Y.layer,role:"region","aria-label":S?S.title:void 0,"aria-hidden":!S,children:S?y.jsxs("div",{className:Y.submenuInner,children:[y.jsx("div",{className:Y.submenuHeader,children:y.jsxs("button",{type:"button",className:Y.backButton,"aria-label":s.mobileMenuBackAriaLabel,onClick:()=>g(null),children:[y.jsx(K_,{className:Y.backIcon,"aria-hidden":!0}),y.jsx("span",{children:s.mobileMenuBack})]})}),y.jsx("p",{className:Y.submenuTitle,children:S.title}),y.jsx("div",{className:Y.submenuList,children:aL(S,a,A)})]}):null})]})})}),y.jsxs("div",{className:Y.bottomDock,children:[y.jsx("form",{className:Y.searchForm,role:"search","aria-label":s.searchRegionAriaLabel,onSubmit:O,children:y.jsxs("div",{className:Y.searchField,children:[y.jsx("input",{className:Y.searchInput,type:"search",name:"q",placeholder:s.mobileMenuSearchPlaceholder,autoComplete:"off","aria-label":s.mobileMenuSearchPlaceholder}),y.jsx("button",{type:"submit",className:Y.searchSubmit,"aria-label":s.searchSubmitAriaLabel,children:y.jsx(Ss,{className:Y.searchSubmitIcon,"aria-hidden":!0})})]})}),y.jsxs("div",{className:Y.bottomDockRow,children:[y.jsx(fe,{href:f,rewriteLocale:!1,className:Y.langLink,"aria-label":s.languageSwitchAriaLabel,onClick:A,children:s.languageSwitch}),y.jsxs("div",{className:Y.socialList,children:[y.jsx(fe,{href:c.youtube,className:Y.socialButton,"aria-label":l.socialAriaLabels.youtube,openNewTab:!0,onClick:A,children:y.jsx(_s,{className:Y.socialIcon,"aria-hidden":!0})}),y.jsx(fe,{href:c.facebook,className:Y.socialButton,"aria-label":l.socialAriaLabels.facebook,openNewTab:!0,onClick:A,children:y.jsx(As,{className:Y.socialIcon,"aria-hidden":!0})}),y.jsx(fe,{href:c.instagram,className:Y.socialButton,"aria-label":l.socialAriaLabels.instagram,openNewTab:!0,onClick:A,children:y.jsx(Es,{className:Y.socialIcon,"aria-hidden":!0})})]})]})]})]})},sL="_mobileMenuLayer_a455h_3",lL="_mobileMenuBackdrop_a455h_11",cL="_mobileMenuPanel_a455h_23",uL="_mobileMenuPanelHeader_a455h_40",fL="_mobileMenuLogo_a455h_50",dL="_mobileMenuCloseButton_a455h_56",gr={mobileMenuLayer:sL,mobileMenuBackdrop:lL,mobileMenuPanel:cL,mobileMenuPanelHeader:uL,mobileMenuLogo:fL,mobileMenuCloseButton:dL};function hL({panelId:e,logoAlt:t,closeAriaLabel:r,dialogAriaLabel:n,closeRef:i,onClose:a}){return y.jsxs("div",{className:gr.mobileMenuLayer,children:[y.jsx("button",{type:"button",className:gr.mobileMenuBackdrop,"aria-label":r,onClick:a}),y.jsxs("div",{id:e,className:gr.mobileMenuPanel,role:"dialog","aria-modal":"true","aria-label":n,children:[y.jsxs("div",{className:gr.mobileMenuPanelHeader,children:[y.jsx("img",{src:Ls,alt:t,className:gr.mobileMenuLogo}),y.jsx("button",{ref:i,type:"button",className:gr.mobileMenuCloseButton,"aria-label":r,onClick:a,children:y.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[y.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"#94A960"}),y.jsx("path",{d:"M11.75 20H28.25",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round"})]})})]}),y.jsx(oL,{embeddedInDrawer:!0,onNavigate:a})]})]})}function pL(e,t){E.useEffect(()=>{if(!e)return;function r(n){n.key==="Escape"&&t()}return window.addEventListener("keydown",r),()=>window.removeEventListener("keydown",r)},[e,t])}function mL(e){E.useEffect(()=>{if(!e)return;const t=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}},[e])}function Eu(e,t,r=!1){E.useEffect(()=>{if(!e)return;const n=t.current;if(n){if(r){const i=window.requestAnimationFrame(()=>n.focus());return()=>window.cancelAnimationFrame(i)}n.focus()}},[e,t,r])}const gL="_root_i2y8l_2",yL="_layout_i2y8l_19",bL="_image_i2y8l_28",vL="_copy_i2y8l_42",wL="_titleBlock_i2y8l_63",PL="_eyebrowRow_i2y8l_70",SL="_eyebrowMark_i2y8l_78",EL="_eyebrow_i2y8l_70",_L="_titleStack_i2y8l_96",AL="_title_i2y8l_63",xL="_titleUnderlineImage_i2y8l_113",LL="_description_i2y8l_123",tt={root:gL,layout:yL,image:bL,copy:vL,titleBlock:wL,eyebrowRow:PL,eyebrowMark:SL,eyebrow:EL,titleStack:_L,title:AL,titleUnderlineImage:
204xL,description:LL},TL="/build/assets/hero-CFbDc2Lb.png",CL="/build/assets/title-underline-BsuZ3b1l.png",OL="[data-page-hero]",v1=({titleId:e,eyebrow:t,title:r,description:n,titleAs:i="h1",className:a})=>{const o=i;return y.jsxs("section",{"data-page-hero":!0,className:Th(tt.root,a),"aria-labelledby":e,children:[y.jsx("div",{className:tt.layout,children:y.jsxs("div",{className:tt.copy,children:[y.jsxs("div",{className:tt.titleBlock,children:[t?y.jsxs("div",{className:tt.eyebrowRow,children:[y.jsx("span",{className:tt.eyebrowMark,"aria-hidden":!0}),y.jsx("p",{className:tt.eyebrow,children:t})]}):null,y.jsxs("div",{className:tt.titleStack,children:[y.jsx(o,{id:e,className:tt.title,children:r}),y.jsx("img",{className:tt.titleUnderlineImage,src:CL,alt:"","aria-hidden":!0})]})]}),y.jsx("div",{className:tt.description,children:n})]})}),y.jsx("img",{className:tt.image,src:TL,alt:"","aria-hidden":!0})]})};function kL({isHomePage:e,pageUrl:t,headerRef:r}){const[n,i]=E.useState(!0),[a,o]=E.useState(!1),[s,l]=E.useState(!1);return E.useEffect(()=>{if(!e)return;function c(){i(window.scrollY<window.innerHeight)}return c(),window.addEventListener("scroll",c,{passive:!0}),window.addEventListener("resize",c,{passive:!0}),()=>{window.removeEventListener("scroll",c),window.removeEventListener("resize",c)}},[e]),E.useLayoutEffect(()=>{if(e){o(!1),l(!1);return}const c=new ResizeObserver(()=>d());let u=null,f=0;function d(){cancelAnimationFrame(f),f=requestAnimationFrame(h)}function h(){const p=document.querySelector(OL),m=r.current?.offsetHeight??0;if(l(window.scrollY>0),!p){o(!1),u&&(c.unobserve(u),u=null);return}if(u!==p&&(u&&c.unobserve(u),c.observe(p),u=p),m<=0){d();return}const g=p.getBoundingClientRect(),b=g.top<m&&g.bottom>0;o(b)}return d(),window.addEventListener("scroll",d,{passive:!0}),window.addEventListener("resize",d,{passive:!0}),()=>{cancelAnimationFrame(f),c.disconnect(),window.removeEventListener("scroll",d),window.removeEventListener("resize",d)}},[e,t,r]),{withinHeroViewport:n,withinPageHeroNavbarOverlap:a,nonHomeScrolledFromTop:s}}const bh="twrf.home_entrance.last_played_date",di="twrf-home-entrance-scroll-lock",_u="twrf-home-entrance-started",Au="twrf-home-entrance-navbar-reveal",xu="twrf-home-entrance-finished";function vh(){const e=new Date,t=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return`${t}-${r}-${n}`}function w1(){if(typeof window>"u")return!1;if(new URLSearchParams(window.location.search).get("debug")==="true")return!0;try{return localStorage.getItem(bh)!==vh()}catch{return!0}}function P1(){try{localStorage.setItem(bh,vh())}catch{}}function S1(){document.documentElement.classList.add(di),document.body.classList.add(di)}function E1(){document.documentElement.classList.remove(di),document.body.classList.remove(di)}function _1(){return typeof window>"u"?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches}function IL(e){const[t,r]=E.useState("none"),n=E.useRef(!1),i=E.useRef(!1);E.useLayoutEffect(()=>{if(!e){r("none"),n.current=!1,i.current=!1;return}function o(){i.current||(i.current=!0,window.dispatchEvent(new CustomEvent(xu)))}function s(c){const u=c;n.current=!!u.detail?.reduceMotion,i.current=!1,r("hidden")}function l(){if(n.current){r("none"),o();return}r("revealing")}return window.addEventListener(_u,s),window.addEventListener(Au,l),()=>{window.removeEventListener(_u,s),window.removeEventListener(Au,l)}},[e]);function a(o){o.target===o.currentTarget&&(!e||t!=="revealing"||o.propertyName==="transform"&&(r("none"),!i.current&&(i.current=!0,window.dispatchEvent(new CustomEvent(xu)))))}return{entranceNav:t,handleHeaderTransitionEnd:a}}const Lu="navbar-site-search",Tu="navbar-mobile-menu-panel";function DL(){const{component:e,props:t,url:r}=ur(),n=e==="HomePage",i=Br(r),a=Vr(),{navbar:o}=Mr[a].pageLayout,s=t.navbar?.serviceCategory??[],l=t.navbar?.advocacyPages??[],c=t.navbar?.newsCategory??[],u=lh(r),f=u.startsWith("/")?u:`/${u}`,[d,h]=E.useState(!1),[p,m]=E.useState(!1),[g,b]=E.useState(null),[v,S]=E.useState(!1),L=E.useRef(null),A=E.useRef(null),O=E.useRef(null),T=o.donateMenuItems??[],D=E.useMemo(()=>gh({menuItems:o.menuItems,submenuGroups:o.submenuGroups,serviceCategoryItems:s,advocacyPages:l,newsCategoryItems:c}),[o.menuItems,o.submenuGroups,s,l,c]),P=E.useCallback(()=>{h(!1),b(null),S(!1),m(!1)},[]),C=E.useRef(void 0);E.useEffect(()=>{if(C.current===void 0){C.current=r;return}C.current!==r&&(C.current=r,P())},[r,P]),pL(d||!!g||v||p,P),mL(p),Eu(p,O,!0),Eu(d,A),kL({isHomePage:n,pageUrl:r,headerRef:L});const{entranceNav:k,handleHeaderTransitionEnd:I}=IL(n),R=!1;function z(){S(!1),h(F=>!F)}function W(){h(!1),S(!1),m(F=>!F)}function K(F){const U=F.relatedTarget;U&&F.currentTarget.contains(U)||S(!1)}function j(F){F.preventDefault();const M=new FormData(F.currentTarget).get("q"),ie=typeof M=="str
204ing"?M.trim():"",ue=Ve(i,["search"]);if(h(!1),!ie){ui.get(ue);return}ui.get(ue,{q:ie})}return y.jsxs(y.Fragment,{children:[y.jsxs("header",{ref:L,className:We(he.headerRoot,R,k==="hidden"&&he.headerRootEntranceHidden,k==="revealing"&&he.headerRootEntranceReveal),onTransitionEnd:I,children:[y.jsx("nav",{className:he.navbar,"aria-label":o.ariaLabel,children:y.jsxs("div",{className:he.container,children:[y.jsxs("div",{className:he.leftGroup,children:[y.jsx(fe,{href:Ve(i,[]),className:he.logoLink,children:y.jsx("img",{className:he.logo,alt:o.logoAlt,src:Ls})}),y.jsx("div",{className:he.menuList,children:D.map(F=>F.kind==="internalLink"?y.jsx(fe,{href:Ve(i,[...F.internalPath]),className:he.menuItem,children:y.jsx("span",{children:F.label})},F.key):F.kind==="inactive"?y.jsxs("button",{type:"button",className:he.menuItem,children:[y.jsx("span",{children:F.label}),F.hasDropdown?y.jsx(ph,{className:he.menuIcon}):null]},F.key):y.jsx(E.Fragment,{children:y.jsx(YA,{label:F.label,group:F.group,isOpen:g===F.label,onOpen:()=>b(F.label),onClose:()=>b(null),currentPathname:i})},F.key))})]}),y.jsxs("div",{className:he.rightActions,children:[y.jsx(fe,{href:f,rewriteLocale:!1,className:We(he.pillButton,he.desktopOnlyAction),"aria-label":o.languageSwitchAriaLabel,children:o.languageSwitch}),y.jsx("button",{type:"button",className:We(he.pillButton,he.iconButton,he.desktopOnlyAction),"aria-label":o.searchAriaLabel,"aria-expanded":d,"aria-controls":Lu,onClick:z,children:y.jsx(Ss,{className:he.actionIcon})}),y.jsx(fe,{href:Ve(i,["consultation"]),className:We(he.pillButton,he.desktopOnlyAction),children:o.onlineConsultation}),y.jsxs("div",{className:We(he.donateMenuRoot,he.desktopOnlyAction),onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),onFocusCapture:()=>S(!0),onBlurCapture:K,children:[y.jsx(fi,{theme:"primary",label:o.donate,icon:y.jsx(X_,{className:he.donateIcon}),iconPosition:"leading","aria-haspopup":"true","aria-expanded":v,"aria-controls":"navbar-donate-menu"}),v?y.jsxs("div",{id:"navbar-donate-menu",className:he.donateMenu,role:"region","aria-label":o.donateMenuAriaLabel,children:[y.jsx("p",{className:he.donateMenuTitle,children:o.donate}),y.jsx("div",{className:he.donateMenuList,children:T.map(F=>y.jsx(fe,{href:Ve(i,[...F.internalPath]),className:he.donateMenuItem,onClick:()=>S(!1),children:y.jsx("span",{children:F.label})},`${F.label}-${F.internalPath.join("/")}`))})]}):null]}),y.jsx("div",{className:he.mobileNavbarWrap,children:y.jsx(fx,{menuButtonAriaLabel:p?o.mobileMenuCloseAriaLabel:o.mobileMenuOpenAriaLabel,isMenuOpen:p,menuPanelId:Tu,onMenuButtonClick:W})})]})]})}),y.jsx(Ex,{id:Lu,isOpen:d,copy:{searchRegionAriaLabel:o.searchRegionAriaLabel,searchPlaceholder:o.searchPlaceholder,searchSubmitAriaLabel:o.searchSubmitAriaLabel,searchClose:o.searchClose},inputRef:A,onSubmit:j,onClose:()=>h(!1)})]}),p?y.jsx(hL,{panelId:Tu,logoAlt:o.logoAlt,closeAriaLabel:o.mobileMenuCloseAriaLabel,dialogAriaLabel:o.mobileNavDialogAriaLabel,closeRef:O,onClose:()=>m(!1)}):null]})}const RL="_footer_jw2sn_1",NL="_mainContainer_jw2sn_8",FL="_topRow_jw2sn_28",ML="_logoWrapper_jw2sn_40",jL="_logoLink_jw2sn_52",qL="_logo_jw2sn_40",$L="_topButton_jw2sn_65",BL="_topButtonIcon_jw2sn_90",VL="_contentContainer_jw2sn_101",HL="_infoContainer_jw2sn_114",UL="_contactInfo_jw2sn_129",WL="_socialList_jw2sn_146",zL="_socialButton_jw2sn_152",GL="_socialIcon_jw2sn_176",QL="_navigationGrid_jw2sn_181",KL="_menuGroup_jw2sn_196",YL="_linkButton_jw2sn_221",JL="_linkLabel_jw2sn_243",XL="_linkOpenIcon_jw2sn_248",ZL="_privacyLink_jw2sn_278",e1="_singleGroups_jw2sn_288",t1="_divider_jw2sn_294",r1="_bottomRow_jw2sn_307",oe={footer:RL,mainContainer:NL,topRow:FL,logoWrapper:ML,logoLink:jL,logo:qL,topButton:$L,topButtonIcon:BL,contentContainer:VL,infoContainer:HL,contactInfo:UL,socialList:WL,socialButton:zL,socialIcon:GL,navigationGrid:QL,menuGroup:KL,linkButton:YL,linkLabel:JL,linkOpenIcon:XL,privacyLink:ZL,singleGroups:e1,divider:t1,bottomRow:r1};function n1(e=1,t=0){const r=window.pageYOffset,n=new Date().getTime(),i=()=>{const o=(new Date().getTime()-n)*.001,s=1-Math.min(1,o/e),l=t-r;window.scrollTo?.(0,t-a1(s)*l),o<=e&&requestAnimationFrame(i)};i()}function i1(e=1){n1(e)}function a1(e){return(e/=.5)<1?.5*Math.pow(e,4):-.5*((e-=2)*Math.pow(e,3)-2)}function Cu(e){return typeof e=="string"?{label:e}:{label:e.label,isExternal:e.isExternal,externalLink:e.externalLink,internalPath:e.internalPath}}function o1(){const{url:e,props:t}=ur(),r=Br(e),n=Vr(),{footer:i,snsLinks:a}=Mr[n].pageLayout,o=t.navbar?.advocacyPages??[],s=t.navbar?.serviceCategory??[],l=i.menuGroups.map(d=>{if(mh(d.title)&&o.length>0)return{...d,items:o.map(h=>({label:h.title,internalPath:["advocacy",h.slug]}))};if(tx(d.title)){const h=d.items.find(m=>{if(typeof m=="string")return!1;const g=m.internalPath;return!!(g?.length&&g[0]==="service")}
204),p=h?Cu(h):void 0;return{...d,items:[...p?[p]:[],...s.map(m=>({label:m.title,isExternal:m.isExternal,externalLink:m.link??void 0,internalPath:["service",m.slug]}))]}}return{...d,items:d.items.map(h=>Cu(h))}}),c=Ve(r,[]),u=Ve(r,["privacy"]);function f(d){const h=d.isExternal&&d.externalLink?.trim()?d.externalLink.trim():null,p=d.internalPath?.length&&!d.isExternal?Ve(r,[...d.internalPath]):null,m=h??p,g=!!(d.isExternal&&h&&h.trimStart().toLowerCase().startsWith("http"));return m?y.jsxs(fe,{href:m,className:oe.linkButton,openNewTab:g,children:[y.jsx("span",{className:oe.linkLabel,children:d.label}),g?y.jsx(xs,{className:oe.linkOpenIcon,"aria-hidden":!0}):null]}):y.jsx("button",{type:"button",className:oe.linkButton,children:y.jsx("span",{className:oe.linkLabel,children:d.label})})}return y.jsx("footer",{className:oe.footer,children:y.jsxs("div",{className:oe.mainContainer,children:[y.jsxs("div",{className:oe.topRow,children:[y.jsx("div",{className:oe.logoWrapper,children:y.jsx(fe,{href:c,className:oe.logoLink,children:y.jsx("img",{className:oe.logo,alt:i.logoAlt,src:Ls})})}),y.jsxs("button",{type:"button",className:oe.topButton,"aria-label":i.backToTopAriaLabel,onClick:()=>i1(),children:[y.jsx(Q_,{className:oe.topButtonIcon}),y.jsx("span",{children:i.backToTopLabel})]})]}),y.jsxs("div",{className:oe.contentContainer,children:[y.jsxs("div",{className:oe.infoContainer,children:[y.jsx("div",{className:oe.contactInfo,children:i.contactInfo.map(d=>y.jsx("p",{children:d},d))}),y.jsxs("div",{className:oe.socialList,children:[y.jsx(fe,{href:a.youtube,className:oe.socialButton,"aria-label":i.socialAriaLabels.youtube,openNewTab:!0,children:y.jsx(_s,{className:oe.socialIcon})}),y.jsx(fe,{href:a.facebook,className:oe.socialButton,"aria-label":i.socialAriaLabels.facebook,openNewTab:!0,children:y.jsx(As,{className:oe.socialIcon})}),y.jsx(fe,{href:a.instagram,className:oe.socialButton,"aria-label":i.socialAriaLabels.instagram,openNewTab:!0,children:y.jsx(Es,{className:oe.socialIcon})})]})]}),y.jsxs("div",{className:oe.navigationGrid,children:[l.map(d=>y.jsxs("section",{className:oe.menuGroup,children:[y.jsx("h3",{children:d.title}),y.jsx("ul",{children:d.items.map(h=>y.jsx("li",{children:f(h)},h.label))})]},d.title)),y.jsx("div",{className:oe.singleGroups,children:i.singleLinkGroups.map(d=>{const h=d.internalPath?.length?Ve(r,[...d.internalPath]):null;return y.jsxs("section",{className:oe.menuGroup,children:[y.jsx("h3",{children:d.title}),y.jsx("ul",{children:y.jsx("li",{children:h?y.jsx(fe,{href:h,className:oe.linkButton,children:y.jsx("span",{className:oe.linkLabel,children:d.item})}):y.jsx("button",{type:"button",className:oe.linkButton,children:y.jsx("span",{className:oe.linkLabel,children:d.item})})})})]},d.title)})})]})]}),y.jsx("div",{className:oe.divider}),y.jsxs("div",{className:oe.bottomRow,children:[y.jsx("p",{children:i.copyright}),y.jsx(fe,{href:u,className:oe.privacyLink,children:y.jsx("span",{className:oe.linkLabel,children:i.privacyPolicy})})]})]})})}const s1="_main_zjt4h_1",l1={main:s1};function c1(){const e=Vr();return E.useEffect(()=>{document.documentElement.lang=b_(e)},[e]),null}function u1({children:e}){const{url:t}=ur(),r=Br(t),n=Ve(r,["donation","general"]);return y.jsxs("div",{children:[y.jsx(c1,{}),y.jsx(DL,{}),y.jsx("main",{className:l1.main,children:e}),y.jsx(hA,{generalDonationHref:n}),y.jsx(o1,{}),y.jsx(G_,{})]})}const f1=document.querySelector('meta[name="application-name"]')?.getAttribute("content")?.trim()||"è²¡åæ³äººå°åå¸å©¦å¥³ææ´ç¤¾æç¦å©äºæ¥åºéæ Taipei Women's Rescue Foundation",d1=new _g({link:new Wg({uri:"/graphql",headers:{"X-CSRF-TOKEN":document.querySelector("meta[name=csrf-token]")?.getAttribute("content"),"accept-language":document.documentElement.lang}}),cache:new gg});Y0({title:e=>`${e?`${e} :: `:""}${f1}`,resolve:async e=>{const t=await kh([`./pages/${e}/index.tsx`,`./pages/${e}.tsx`,`./pages/${e}/index.jsx`,`./pages/${e}.jsx`],Object.assign({
204"./pages/AboutOrganizationPage/MobileRoleField.tsx":()=>N(()=>import("./MobileRoleField-B8dok354.js"),__vite__mapDeps([0,1,2,3,4])),
204"./pages/AboutOrganizationPage/index.tsx":()=>N(()=>import("./index-HFBrfByQ.js"),__vite__mapDeps([5,1,2,6,7,0,3,4,8])),
204"./pages/AboutOurHistoryPage/AwardsSection/AwardCard/index.tsx":()=>N(()=>import("./index-DxyN8KRR.js"),__vite__mapDeps([9,1,2,10])),
204"./pages/AboutOurHistoryPage/AwardsSection/index.tsx":()=>N(()=>import("./index-CHKrHrbf.js"),__vite__mapDeps([11,1,12,13,2,14,15,16,17,18,19,9,10,20])),
204"./pages/AboutOurHistoryPage/HistoryYearRangeSection/index.tsx":()=>N(()=>import("./index--moHgoOv.js").then(r=>r.i),__vite__mapDeps([12,1,13,2,14,15])),
204"./pages/AboutOurHistoryPage/MilestoneCard/index.tsx":()=>N(()=>import("./index-D71BlYyC.js"),__vite__mapDeps([21,1,2,22,23,24])),
204"./pages/AboutOurHistoryPage/MilestoneSection/index.tsx":()=>N(()=>import("./index-DrluDxDt.js"),__vite__mapDeps([25,1,12,13,2,14,15,19,21,22,23,24,26])),
204"./pages/AboutOurHistoryPage/index.tsx":()=>N(()=>import("./index-AnBgFaYQ.js"),__vite__mapDeps([27,1,2,11,12,13,14,15,16,17,18,19,9,10,20,25,21,22,23,24,26,28])),
204"./pages/AboutPage/ChairBodyExpandable.tsx":()=>N(()=>import("./ChairBodyExpandable-DCz8RiBa.js"),__vite__mapDeps([29,1,2,3,30])),
204"./pages/AboutPage/index.tsx":()=>N(()=>import("./index-DuzTwEZj.js"),__vite__mapDeps([31,1,32,33,2,34,29,3,30,35])),
204"./pages/AboutSdgsPage/MobileItemAccordion.tsx":()=>N(()=>import("./MobileItemAccordion-CBDsplxF.js"),__vite__mapDeps([36,1,2,22,23,37])),
204"./pages/AboutSdgsPage/index.tsx":()=>N(()=>import("./index-RPLYmgFL.js"),__vite__mapDeps([38,1,2,22,23,6,7,36,37,39])),
204"./pages/AdminPreview/index.tsx":()=>N(()=>import("./index-9C06EWlB.js"),__vite__mapDeps([40,1,41,42,43,22,2,23,3,44,45,46,47,48,49,50,51,17,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113])),
204"./pages/AdminPreview/usePreviewContent.tsx":()=>N(()=>import("./usePreviewContent-f87a1hmo.js"),__vite__mapDeps([114,1])),
204"./pages/AdvocacyPage/AdvocacyCta.tsx":()=>N(()=>import("./AdvocacyCta-BQhjI4iT.js"),__vite__mapDeps([45,1,46,2,47])),
204"./pages/AdvocacyPage/index.tsx":()=>N(()=>import("./index-DD1KYGy0.js"),__vite__mapDeps([41,1,42,43,22,2,23,3,44,45,46,47,48,49,50,51,17,52,53,54,55,56,57])),
204"./pages/AnnualReportPage/index.tsx":()=>N(()=>import("./index-BGHCpejt.js"),__vite__mapDeps([115,1,116,117,118,2,119,16,17,18,120])),
204"./pages/ConsultationPage/ConsultationForm/index.tsx":()=>N(()=>import("./index-Dse9HlqR.js"),__vite__mapDeps([121,1,122,2,123,17,124,79,125,22,23,126,127,128,129])),
204"./pages/ConsultationPage/ConsultationFormSuccessView/index.tsx":()=>N(()=>import("./index-CQ2b140R.js"),__vite__mapDeps([130,1,2,131])),
204"./pages/ConsultationPage/ConsultationLeftColumn/index.tsx":()=>N(()=>import("./index-rcI_5FJD.js"),__vite__mapDeps([132,1,2,133])),
204"./pages/ConsultationPage/ConsultationPurposeGuidance/index.tsx":()=>N(()=>import("./index-6VtbEAVu.js"),__vite__mapDeps([125,1,22,2,23,126])),
204"./pages/ConsultationPage/ConsultationRecaptchaNotice.tsx":()=>N(()=>import("./ConsultationRecaptchaNotice-BnzUcbaY.js"),__vite__mapDeps([127,1,2,128])),
204"./pages/ConsultationPage/index.tsx":()=>N(()=>import("./index-tdn487Nk.js"),__vite__mapDeps([134,1,121,122,2,123,17,124,79,125,22,23,126,127,128,129,130,131,132,133,135])),
204"./pages/DonationCorporatePage/components/CorporatePartnerCard.tsx":()=>N(()=>import("./CorporatePartnerCard-BVQzIjk1.js"),__vite__mapDeps([136,1,2,137])),
204"./pages/DonationCorporatePage/components/CorporateSectionRow.tsx":()=>N(()=>import("./CorporateSectionRow-B_NbtNrO.js"),__vite__mapDeps([138,1,139])),
204"./pages/DonationCorporatePage/components/CorporateSupportSections.tsx":()=>N(()=>import("./CorporateSupportSections-D6qyEL-e.js"),__vite__mapDeps([140,1,22,2,23,138,139,141])),
204"./pages/DonationCorporatePage/components/DonationCorporateCta.tsx":()=>N(()=>import("./DonationCorporateCta-BqUecq8R.js"),__vite__mapDeps([142,1,2,143])),
204"./pages/DonationCorporatePage/components/DonationCorporatePartners.tsx":()=>N(()=>import("./DonationCorporatePartners-rniyztv9.js"),__vite__mapDeps([144,1,16,17,2,18,136,137,138,139,145])),
204"./pages/DonationCorporatePage/index.tsx":()=>N(()=>import("./index-B1OEr6s_.js"),__vite__mapDeps([146,1,33,2,34,140,22,23,138,139,141,142,143,144,16,17,18,136,137,145,147])),
204"./pages/DonationGeneralPage/index.tsx":()=>N(()=>import("./index-CfW6Vu-q.js"),__vite__mapDeps([58,1,48,49,2,50,51,17,52,53,54,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,3,94,95,22,23,43,96,97,98,46,99,100,101,102,103])),
204"./pages/DonationMethodsPage/index.tsx":()=>N(()=>import("./index-E5IyHYr1.js"),__vite__mapDeps([148,1,98,2,46,87,99,33,34,22,23,149])),
204"./pages/DonationProjectDetailPage/DonationProjectBodyCta.tsx":()=>N(()=>import("./DonationProjectBodyCta-CJxyTNEc.js"),__vite__mapDeps([97,1,98,2,46,87,99,100])),
204"./pages/DonationProjectDetailPage/DonationProjectExpandableBodySection.tsx":()=>N(()=>import("./DonationProjectExpandableBodySection-BVNf6oyy.js"),__vite__mapDeps([93,1,2,3,94,95,22,23,77,78,43,96,97,98,46,87,99,100,101])),
204"./pages/DonationProjectDetailPage/PaymentForm/AddressSelector.tsx":()=>N(()=>import("./AddressSelector-DwbmXlka.js"),__vite__mapDeps([68,1,69,2,70])),
204"./pages/DonationProjectDetailPage/PaymentForm/DonationAmountOption.tsx":()=>N(()=>import("./DonationAmountOption-B3PpPdk8.js"),__vite__mapDeps([80,1,2,81])),
204"./pages/DonationProjectDetailPage/PaymentForm/DonationIdentitySwitchTabs.tsx":()=>N(()=>import("./DonationIdentitySwitchTabs-BhqqD4KT.js"),__vite__mapDeps([72,1,2,65,73])),
204"./pages/DonationProjectDetailPage/PaymentForm/DonationRadioOption.tsx":()=>N(()=>import("./DonationRadioOption-BG5lbvq_.js"),__vite__mapDeps([74,1,75,2,76])),
204"./pages/DonationProjectDetailPage/PaymentForm/DonationTextOption.tsx":()=>N(()=>import("./DonationTextOption-zcsO1rHM.js"),__vite__mapDeps([82,1,2,83])),
204"./pages/DonationProjectDetailPage/PaymentForm/DropdownInput.tsx":()=>N(()=>import("./DropdownInput-D2b8svoF.js"),__vite__mapDeps([91,1,2,92])),
204"./pages/DonationProjectDetailPage/PaymentForm/PaymentFormFlowSteps.tsx":()=>N(()=>import("./PaymentFormFlowSteps-Dv0jA72U.js"),__vite__mapDeps([84,1,2,85])),
204"./pages/DonationProjectDetailPage/PaymentForm/Steo3Confirm.tsx":()=>N(()=>import("./Steo3Confirm-DP_BPjBV.js"),__vite__mapDeps([86,1,87,65,64,2,66,71,69,62,77,78,88])),
204"./pages/DonationProjectDetailPage/PaymentForm/Step2BasicForm.tsx":()=>N(()=>import("./Step2BasicForm-Dai_OsLk.js"),__vite__mapDeps([63,1,2,64,65,66])),
204"./pages/DonationProjectDetailPage/PaymentForm/Step2Form.tsx":()=>N(()=>import("./Step2Form-yefpJkRN.js"),__vite__mapDeps([61,1,62,63,2,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78])),
204"./pages/DonationProjectDetailPage/PaymentForm/Step2ReceiptForm.tsx":()=>N(()=>import("./Step2ReceiptForm-D7rDI0J_.js"),__vite__mapDeps([67,1,2,68,69,70,71,72,65,73,74,75,76,64,66,77,78])),
204"./pages/DonationProjectDetailPage/PaymentForm/Step2ReceiptFormFields.tsx":()=>N(()=>import("./step2FormShared-DgG67o9U.js").then(r=>r.S),__vite__mapDeps([64,65,1,2,66])),
204"./pages/DonationProjectDetailPage/PaymentForm/Step4Payment.tsx":()=>N(()=>import("./Step4Payment-Bqc67TJJ.js").then(r=>r.a),__vite__mapDeps([89,1,90])),
204"./pages/DonationProjectDetailPage/PaymentForm/index.tsx":()=>N(()=>import("./index-DHI683Ct.js"),__vite__mapDeps([60,1,61,62,63,2,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,17,91,92])),
204"./pages/DonationProjectDetailPage/index.tsx":()=>N(()=>import("./index-DlFIivLN.js"),__vite__mapDeps([104,1,48,49,2,50,51,17,52,53,54,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,3,94,95,22,23,43,96,97,98,46,99,100,101,102,103])),
204"./pages/DonationProjectsPage/index.tsx":()=>N(()=>import("./index-xOLSqXoy.js"),__vite__mapDeps([150,1,151,17,152,16,2,18,153])),
204"./pages/DonationQueryPage/DonationQueryForm.tsx":()=>N(()=>import("./DonationQueryForm-CLTt-CPT.js").then(r=>r.a),__vite__mapDeps([154,1,122,2,123,17,155,128,156])),
204"./pages/DonationQueryPage/DonationQueryRecaptchaNotice.tsx":()=>N(()=>import("./DonationQueryRecaptchaNotice-DWZSBU_a.js"),__vite__mapDeps([155,1,2,128])),
204"./pages/DonationQueryPage/QueryResultPage.tsx":()=>N(()=>import("./QueryResultPage-D3GqW7Hf.js").then(r=>r.a),__vite__mapDeps([157,1,122,2,123,16,17,18,22,23,6,7,107,108,154,155,128,156,124,158])),
204"./pages/DonationQueryPage/index.tsx":()=>N(()=>import("./index-BxMAsucE.js"),__vite__mapDeps([159,1,122,2,123,6,7,107,108,22,23,154,17,155,128,156,157,16,18,124,158])),
204"./pages/DonationRecordsPage/index.tsx":()=>N(()=>import("./index-Bybqe5fZ.js"),__vite__mapDeps([160,1,117,118,75,2,16,17,18,161])),
204"./pages/DownloadPage/index.tsx":()=>N(()=>import("./index-NY6K90_R.js"),__vite__mapDeps([162,1,2,16,17,18,13,14,163])),
204"./pages/ErrorPage/index.tsx":()=>N(()=>import("./index-CzqtgtWz.js"),__vite__mapDeps([164,1,2,165])),
204"./pages/HomePage/HeroSlider.tsx":()=>N(()=>import("./HeroSlider-Dz4cS9lf.js"),__vite__mapDeps([166,1,53,2,167])),
204"./pages/HomePage/HomeEntrance.tsx":()=>N(()=>import("./HomeEntrance-IlXiKXNr.js"),__vite__mapDeps([168,1,2,169])),
204"./pages/HomePage/NewsSection.tsx":()=>N(()=>import("./NewsSection-BveevJJy.js"),__vite__mapDeps([170,1,17,13,2,14,49,50,51,52,53,107,108,171])),
204"./pages/HomePage/PinnedProjectSection.tsx":()=>N(()=>import("./PinnedProjectSection-mOkJll8L.js"),__vite__mapDeps([172,1,151,17,152,49,2,50,107,108,53,173])),
204"./pages/HomePage/SectionSlashTitle/index.tsx":()=>N(()=>import("./index-DNUCpclr.js"),__vite__mapDeps([107,1,2,108])),
204"./pages/HomePage/ServiceStatSection.tsx":()=>N(()=>import("./ServiceStatSection-DbdsF45C.js"),__vite__mapDeps([174,1,2,175])),
204"./pages/HomePage/StorySection.tsx":()=>N(()=>import("./StorySection-DbzxccbE.js"),__vite__mapDeps([176,1,75,107,2,108,32,177])),
204"./pages/HomePage/index.tsx":()=>N(()=>import("./index-BbWpJT2v.js"),__vite__mapDeps([178,1,2,166,53,167,168,169,176,75,107,108,32,177,174,175,172,151,17,152,49,50,173,170,13,14,51,52,171,179])),
204"./pages/NewsDetailPage/NewsContentBlockNodes.tsx":()=>N(()=>import("./NewsContentBlockNodes-g0_AjQJs.js").then(r=>r.N),__vite__mapDeps([95,1,22,2,23,77,78,43,96])),
204"./pages/NewsDetailPage/NewsContentBlocks.tsx":()=>N(()=>import("./NewsContentBlocks-DpgYkail.js"),__vite__mapDeps([94,1,95,22,2,23,77,78,43,96])),
204"./pages/NewsDetailPage/RelatedArticles/index.tsx":()=>N(()=>import("./index-C99SvIpJ.js"),__vite__mapDeps([106,1,51,17,52,107,2,108,109])),
204"./pages/NewsDetailPage/index.tsx":()=>N(()=>import("./index-BC3Zz_88.js"),__vite__mapDeps([105,1,59,94,95,22,2,23,77,78,43,96,106,51,17,52,107,108,109,110])),
204"./pages/NewsPage/NewsListingSection/index.tsx":()=>N(()=>import("./index-Ct7AuaEb.js"),__vite__mapDeps([180,1,13,2,14,51,17,52,16,18,181])),
204"./pages/NewsPage/index.tsx":()=>N(()=>import("./index-DV3baIyJ.js"),__vite__mapDeps([182,1,183,2,184,185,186,180,13,14,51,17,52,16,18,181,187])),
204"./pages/PaymentResult/ThankyouView.tsx":()=>N(()=>import("./ThankyouView-CEvBRki_.js"),__vite__mapDeps([188,1,98,2,46,87,99,59,189])),
204"./pages/PaymentResult/index.tsx":()=>N(()=>import("./index-BfH7rZF5.js"),__vite__mapDeps([190,1,48,49,2,50,51,17,52,53,54,188,98,46,87,99,59,189,191])),
204"./pages/PodcastPage/index.tsx":()=>N(()=>import("./index-Bz_qpEyl.js"),__vite__mapDeps([192,1,2,16,17,18,193])),
204"./pages/PrivacyPolicyPage/index.tsx":()=>N(()=>import("./index-vwI-yUFb.js"),__vite__mapDeps([194,1,22,2,23,195])),
204"./pages/PublicationDetailPage/index.tsx":()=>N(()=>import("./index-CsCH0E2N.js"),__vite__mapDeps([196,1,59,94,95,22,2,23,77,78,43,96,106,51,17,52,107,108,109,197])),
204"./pages/PublicationListPage/index.tsx":()=>N(()=>import("./index-97kedPna.js"),__vite__mapDeps([198,1,183,2,184,185,186,16,17,18,116,117,118,119,13,14,199])),
204"./pages/PublicationPage/index.tsx":()=>N(()=>import("./index-D7SJ70wC.js"),__vite__mapDeps([200,1,183,2,184,185,186,180,13,14,51,17,52,16,18,181,201])),
204"./pages/SearchPage/SearchCard.tsx":()=>N(()=>import("./SearchCard-CP1f7lmj.js"),__vite__mapDeps([202,1,2,203])),
204"./pages/SearchPage/SearchSidebar.tsx":()=>N(()=>import("./SearchSidebar-zyrcZhPf.js"),__vite__mapDeps([204,1,13,2,14,6,7,107,108,205])),
204"./pages/SearchPage/index.tsx":()=>N(()=>import("./index-C4nLkIrI.js"),__vite__mapDeps([206,1,16,17,2,18,202,203,204,13,14,6,7,107,108,205,207])),
204"./pages/ServiceDetailPage/MobileCategoryDropdown.tsx":()=>N(()=>import("./MobileCategoryDropdown-CIwGCONZ.js"),__vite__mapDeps([55,1,2,56])),
204"./pages/ServiceDetailPage/index.tsx":()=>N(()=>import("./index-V6xyHUiN.js"),__vite__mapDeps([111,1,48,49,2,50,51,17,52,53,54,42,43,22,23,3,44,55,56,112])),
204"./pages/ServicePage/ServiceProjectCard.tsx":()=>N(()=>import("./ServiceProjectCard-CpW1HHqA.js"),__vite__mapDeps([208,1,17,32,2,209])),
204"./pages/ServicePage/index.tsx":()=>N(()=>import("./index-D5_JeJ7C.js"),__vite__mapDeps([210,1,208,17,32,2,209,98,46,87,99,211])),
204"./pages/VideoPage/VideoCard/index.tsx":()=>N(()=>import("./index-3qmxGJna.js"),__vite__mapDeps([212,1,75,2,213])),
204"./pages/VideoPage/index.tsx":()=>N(()=>import("./index-BWtRKRcH.js"),__vite__mapDeps([214,1,183,2,184,185,186,16,17,18,212,75,213,215]))
204}));return t.default.layout??=r=>y.jsx(u1,{children:r}),t},setup({el:e,App:t,props:r}){Lh.createRoot(e).render(y.jsx(Gg,{client:d1,children:y.jsx(t,{...r})}))},progress:{color:"#4B5563"}});export{K_ as A,fi as B,ph as C,b1 as H,yh as I,fe as L,xs as O,v1 as P,As as S,ur as a,Vr as b,Br as c,Ve as d,X_ as e,Mo as f,dh as g,J_ as h,Ss as i,Mr as j,j0 as k,_1 as l,S1 as m,_u as n,xu as o,E1 as p,Au as q,ui as r,w1 as s,P1 as t,uh as u,ch as v,Er as w,eh as x};
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.