PageSourceSearch

https://www.exploremaricopacountyparks.org/_next/static/chunks/pag…/management/[mid]-a45fb76a0d215970.js

js exploremaricopacountyparks.org collected 2026-10-10 01:00:36 UTC 19,831 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6737,9310],{7127:(e,i,a)=>{"use strict";a.d(i,{c:()=>r});var l=a(78488),n=a(48339);function r(e){let{isActive:i}=e;return i?(0,l.jsx)(n.vw.Positive,{label:"Available"}):(0,l.jsx)(n.vw.Neutral,{label:"Unavailable"})}},11853:(e,i,a)=>{"use strict";a.d(i,{V:()=>n});var l=a(78488);function n(e){let{slots:i}=e;return(0,l.jsx)(l.Fragment,{children:i.map((e,i)=>(0,l.jsx)("div",{children:e},i))})}a(81204)},19163:(e,i,a)=>{"use strict";var l=a(61576);i.A=void 0;var n=l(a(23691)),r=a(78488);i.A=(0,n.default)((0,r.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"AddOutlined")},24808:(e,i,a)=>{"use strict";a.r(i),a.d(i,{Page:()=>O,default:()=>T});var l=a(78488),n=a(58723),r=a(45738),t=a(17563),s=a(81204),o=a(33237),m=a(65754),d=a(72788),c=a(63378),u=a(49191),_=a(84975),p=a(1599),h=a(24846),f=a(50801),b=a(3935),v=a(41885),y=a(56223),g=a(25281),x=a(11853);function j(){return(0,l.jsx)(x.V,{slots:[(0,l.jsx)(g.Z,{},0)]})}var w=a(69082);let P=[w.d5,w.rO];function N(){return(0,l.jsx)(x.V,{slots:P.map((e,i)=>(0,l.jsx)(e,{},i))})}var S=a(88821);function k(){return(0,l.jsx)(x.V,{slots:[(0,l.jsx)(S.Xf,{},0)]})}var A=a(48339),C=a(19163),I=a(25216),Y=a(10427),z=a(46498),D=a(7127),M=a(47187);function U(e){let{membership:i,membershipTiers:a,pagination:n,loading:s,totalRows:o}=e,m=(0,t.useRouter)(),d=(0,u.Z5)(),c=[{title:"Membership type",cellContent:e=>{let{row:i}=e;return(0,l.jsx)(A.EY.BodySmallSemiBold,{children:i.name})}},{title:"Visibility",className:"w-[30%]",cellContent:e=>{var a;let{row:n}=e;return(0,l.jsx)(M.o,{isPublic:"boolean"==typeof n.override_is_public?n.override_is_public:null!=(a=null==i?void 0:i.is_public)&&a})}},{title:"Availability",className:"w-[30%]",cellContent:e=>{var a;let{row:n}=e;return(0,l.jsx)(D.c,{isActive:"boolean"==typeof n.is_archived?!n.is_archived:null!=(a=null==i?void 0:i.is_active)&&a})}}];return(0,l.jsx)("div",{children:(0,l.jsx)(z.Ay,{columns:c,rows:null!=a?a:[],onRowClick:function(e){m.push((0,f.PL)(d.slug,(0,f.f2)(r.Jvh.membershipTiersShow,{mid:null==i?void 0:i.id,tid:e.id})))},pagination:n,loading:s,totalRows:o})})}function q(){let e=(0,u.Z5)(),i=(0,t.useRouter)(),{mid:a}=i.query,{data:n,loading:s}=(0,d.eAu)({skip:!a,fetchPolicy:"cache-first",variables:{id:a}}),o=(0,I.A)({rowsPerPageOptions:[10,50]}),{data:m,loading:c}=(0,d.zIQ)({skip:!a,fetchPolicy:"cache-and-network",variables:{where:{organization_id:{_eq:e.organizationID},membership_id:{_eq:a}},limit:o.rowsPerPage,offset:o.offset,order_by:[{name:d.V47.Asc}]}});return(0,l.jsx)("div",{className:"h-full",children:(0,l.jsx)(Y.A,{fullScreen:!1,isLoading:s||c||!n||!m,children:()=>{var t,s,d,u,_,p,h;return(0,l.jsx)("div",{className:"h-full",children:(null==m||null==(t=m.membership_tiers)?void 0:t.length)&&(null==m||null==(s=m.membership_tiers)?void 0:s.length)>0?(0,l.jsxs)("div",{className:"space-y-6",children:[(0,l.jsx)("div",{className:"flex justify-end",children:(0,l.jsxs)(A.$n.Primary,{size:"sm",onClick:()=>{i.push((0,f.PL)(e.slug,(0,f.f2)(r.Jvh.membershipTiersCreate,{mid:a})))},children:[(0,l.jsx)(C.A,{className:"mr-2",fontSize:"small"}),"New membership type"]})}),(0,l.jsx)(U,{membership:null!=(_=null==n?void 0:n.memberships_by_pk)?_:null,membershipTiers:null!=(p=null==m?void 0:m.membership_tiers)?p:[],pagination:o,loading:c,totalRows:null!=(h=null==m||null==(u=m.membership_tiers_aggregate)||null==(d=u.aggregate)?void 0:d.count)?h:0})]}):(0,l.jsx)("div",{className:"flex justify-around",children:(0,l.jsx)(A.Bq,{summary:"No membership types found",details:"Create a new membership type to get started.",action:(0,l.jsxs)(A.$n.Primary,{onClick:()=>{i.push((0,f.PL)(e.slug,(0,f.f2)(r.Jvh.membershipTiersCreate,{mid:a})))},children:[(0,l.jsx)(C.A,{className:"mr-2",fontSize:"small"}),"New membership type"]})})})})}})})}let E=m.Ik({...y.YH.shape,...y.LV.shape,...y.f$.shape});function L(e){var i,a,l,n,r,t,s,o,m,d,c,u,_,p,h,f,b,v,y,g,x,j,w,P,N,S;let k=(null==(i=e.membership_to_images_junction_array)?void 0:i.length)>0?e.membership_to_images_junction_array[0].media_junction_to_media_info:null;return{name:null!=(t=e.name)?t:"",is_active:null!=(s=e.is_active)&&s,is_public:null!=(o=e.is_public)&&o,description:null!=(m=e.description)?m:"",important_info:null!=(d=e.important_info)?d:"",primary_contact_name:null!=(c=e.primary_contact_name)?c:"",primary_contact_email:null!=(u=e.primary_contact_email)?u:"",primary_contact_phone:null!=(_=e.primary_contact_phone)?_:"",primary_contact_role:null!=(p=e.primary_contact_role)?p:"",max_registrations:null!=(h=e.max_registrations)?h:0,general_ledger_entry_id:null!=(f=null==(a=e.general_ledger_entry)?void 0:a.id)?f:null,associated_membership_form_ids:null!=(b=null==(l=e.associated_membership_forms)?void 0:l.map(e=>{var i,a;return null!=(a=null==e||null==(i=e.associated_form_definition)?void 0:i.id)?a:""}))?b:[],associated_required_membership_form_ids:null!=(v=null==(n=e.associated_membership_forms)?void 0:n.filter(e=>e.is_required).map(e=>{var i,a;return null!=(a=null==e||null==(i=e.associated_form_definition)?void 0:i.id)?a:""}))?v:[],associated_facility_amenity_ids:null!=(y=null==(r=e.associated_membership_facility_amenities)?void 0:r.map(e=>
1e.facility_amenity_id))?y:[],media_info:k?[{id:null!=(g=k.id)?g:null,src:null!=(x=k.storage_url)?x:null,originalFileName:null!=(j=k.original_file_name)?j:null,name:null!=(w=k.name)?w:null,tempSignedUrl:null!=(P=k.storage_url)?P:null,contentType:null!=(N=k.content_type)?N:null,alt:null!=(S=k.alt)?S:null}]:[]}}let R=[{key:"membership-types",label:"Membership types",render:()=>(0,l.jsx)(q,{}),fullWidth:!0},{key:"membership-details",label:"Membership details",render:()=>(0,l.jsx)(N,{})},{key:"accounting",label:"Accounting",render:()=>(0,l.jsx)(j,{})},{key:"forms",label:"Forms",render:()=>(0,l.jsx)(k,{})}];function F(){var e;let{mid:i}=(0,t.useRouter)().query,{data:a,loading:n,refetch:m}=(0,d.eAu)({skip:!i,fetchPolicy:"cache-first",variables:{id:i},onCompleted:e=>{(null==e?void 0:e.memberships_by_pk)&&j.reset(L(e.memberships_by_pk))}}),y=(0,u.Z5)(),{createOrgRoute:g}=(0,_.x)(),x=null==a?void 0:a.memberships_by_pk,j=(0,o.mN)({shouldUnregister:!1,resolver:(0,b.uG)(E),defaultValues:L(null!=x?x:{id:i,name:"",description:"",is_active:!1,is_public:!1,max_registrations:0,organization_id:y.organizationID,important_info:"",primary_contact_name:"",primary_contact_email:"",primary_contact_phone:"",primary_contact_role:"",has_membership_card:!1,associated_membership_forms:[],membership_to_images_junction_array:[],general_ledger_entry:null,associated_membership_facility_amenities:[]})}),{reset:w,register:P}=j;(0,s.useEffect)(()=>{P("associated_membership_form_ids"),P("associated_required_membership_form_ids"),P("media_info")},[P]);let N=(0,c.qN)(),S=(0,c.xN)(),[k]=(0,d.gQf)({...p.D,onError:e=>{h.A.error(e),N("Could not update membership")}}),A=async e=>{try{var l,n,r,t,s;let{media_info:o}=e,d=new Set(e.associated_required_membership_form_ids),c={id:i,name:e.name,description:e.description,general_ledger_entry_id:e.general_ledger_entry_id,is_active:e.is_active,is_public:e.is_public,important_info:e.important_info,primary_contact_name:e.primary_contact_name,primary_contact_email:e.primary_contact_email,primary_contact_phone:e.primary_contact_phone,primary_contact_role:e.primary_contact_role,max_registrations:e.max_registrations,media_info_id:(null==o?void 0:o.length)&&(null==o?void 0:o.length)>0?null==(l=o[0])?void 0:l.id:null,membership_forms:null==(n=e.associated_membership_form_ids)?void 0:n.map(e=>{var l,n,r,t,s;let o=null==a||null==(n=a.memberships_by_pk)||null==(l=n.associated_membership_forms)?void 0:l.find(i=>{var a;return(null==(a=i.associated_form_definition)?void 0:a.id)===e});return{id:null!=(r=null==o?void 0:o.id)?r:"",membership_id:i,form_definition_id:e,name:null!=(t=null==o?void 0:o.name)?t:"",description:null!=(s=null==o?void 0:o.description)?s:"",is_required:d.has(e)}}),facility_amenity_ids:null!=(r=e.associated_facility_amenity_ids)?r:[]},u=await k({variables:{input:c}});if(!u.data||u.errors)h.A.error(u.errors),N("Failed to update membership");else{let e=null==(s=await m())||null==(t=s.data)?void 0:t.memberships_by_pk;e&&w(L(e)),S("Membership updated")}}catch(e){h.A.error(e),N("Failed to update membership")}},C=g((0,f.f2)(r.Jvh.membershipsManagement,{mid:i}));return(0,l.jsx)(o.Op,{...j,children:(0,l.jsx)(v.n,{onSubmit:j.handleSubmit(A),breadcrumbRoutes:[{label:"Memberships",href:C},{label:null!=(e=null==x?void 0:x.name)?e:"",href:"".concat(C,"/").concat(i)}],tabs:R,isLoading:n})})}function O(){return(0,l.jsx)(F,{})}O.PageLayout=n.T;let T=O},25281:(e,i,a)=>{"use strict";a.d(i,{A:()=>d,Z:()=>m});var l=a(78488),n=a(42804),r=a(48339),t=a(28100),s=a(9679),o=a(74961);let m=()=>(0,l.jsxs)(o.y,{children:[(0,l.jsx)(t.O,{name:"general_ledger_entry_id",label:"General ledger entry ID",useTrailmixSelect:!0}),(0,l.jsxs)(r.EY.BodySmall,{children:["Don't see the GL code you need? Visit"," ",(0,l.jsx)(s.L,{className:"text-brand-primary transition hover:underline",target:"_blank",rel:"noopener noreferrer",href:n.O9.accountingGeneralLedger,children:"your accounting page"})," ","to create a new one."]})]}),d=()=>(0,l.jsx)("div",{className:"flex flex-col gap-10",children:(0,l.jsx)(m,{})})},35873:(e,i,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[org]/manager/memberships/management/[mid]",function(){return a(24808)}])},41885:(e,i,a)=>{"use strict";a.d(i,{A:()=>_,n:()=>p});var l=a(78488),n=a(48339),r=a(81204),t=a(33237),s=a(98214),o=a(45439);function m(e){let{isLoading:i}=e,{reset:a}=(0,t.xW)();return(0,l.jsx)("div",{className:"flex w-full justify-end bg-secondary px-6 py-4",children:(0,l.jsxs)("div",{className:"flex items-center gap-4",children:[(0,l.jsx)(n.$n.Secondary,{onClick:()=>a(),children:"Discard"}),(0,l.jsx)(n.nO.Primary,{type:"submit",loading:i,form:_,children:"Save changes"})]})})}var d=a(88355),c=a(15831),u=a(29624);let _="admin-management-layout-form";function p(e){let{isLoading:i,children:a,onSubmit:p,breadcrumbRoutes:h,tabs:f,onTabChange:b}=e,v=(0,t.xW)(),{getSearchParams:y,addSearchParams:g}=(0,s.ok)(),x=y(),j=null==f?void 0:f.findIndex(e=>e.key===x.tab),[w,P]=(0,r.useState)(j&&j>-1?j:0),{reset:N}=v,S=null==f?void 0:f[w],{tab:k}=x;return(0,r.useEffect)(()=>
1{if(k){var e;let i=null!=(e=null==f?void 0:f.findIndex(e=>e.key===k))?e:0;i>-1&&w!==i&&P(i)}},[k,f,w]),(0,l.jsxs)("section",{className:"relative h-full",children:[(0,l.jsxs)("div",{className:"flex min-h-full flex-col space-y-4 p-6 pb-10 md:space-y-6",children:[h&&(0,l.jsx)(c.A,{routes:h,loading:i}),!a&&f&&f.length>0&&(0,l.jsx)(n.tU,{visibleScrollbar:!1,variant:"scrollable",classes:{scroller:"overflow-x-auto"},scrollButtons:!1,value:w,onChange:(e,i)=>{function a(e){P(e),null==b||b(e),g({params:{...(null==f?void 0:f[e])?{tab:null==f?void 0:f[e].key}:{}}})}v.formState.isDirty?window.confirm("Changes you made may not be saved.")&&(N(),a(i)):a(i)},className:"border-b-1 border-[#d9d9d9]",children:f.map((e,i)=>{let{label:a}=e;return(0,l.jsx)(n.oz,{label:a,value:i},i)})}),(0,l.jsx)("div",{className:"flex-grow",children:(0,l.jsx)("form",{id:_,className:"space-y-6",onSubmit:e=>{let{target:i}=e;i instanceof HTMLFormElement&&i.id!==_||(e.preventDefault(),e.stopPropagation(),(null==S?void 0:S.onBeforeSubmit)&&!S.onBeforeSubmit()||((null==S?void 0:S.onSubmit)?v.handleSubmit(S.onSubmit)():v.handleSubmit(p)()))},children:a?a({tabIndex:w}):f&&f.length>0?(0,l.jsx)(l.Fragment,{children:f.map((e,i)=>{let{render:a,fullWidth:n}=e,r=(0,l.jsx)(l.Fragment,{children:a()});return(0,l.jsx)(u.A,{className:"h-full",index:w,value:i,children:n?(0,l.jsx)(l.Fragment,{children:r}):(0,l.jsx)(d.P,{children:r})},i)})}):void 0})})]}),v&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.zo,{warnOnUnmount:!0}),(0,l.jsx)("div",{className:"sticky bottom-0 left-0 right-0 z-10 overflow-hidden",children:(0,l.jsx)("div",{className:(0,n.cn)("transition-all duration-300",{"translate-y-[0%]":v.formState.isDirty,"translate-y-[100%]":!v.formState.isDirty}),children:(0,l.jsx)(m,{isLoading:null!=i&&i})})})]})]})}},47187:(e,i,a)=>{"use strict";a.d(i,{o:()=>r});var l=a(78488),n=a(48339);function r(e){let{isPublic:i}=e;return i?(0,l.jsx)(n.vw.Positive,{label:"Published"}):(0,l.jsx)(n.vw.Neutral,{label:"Unpublished"})}},56223:(e,i,a)=>{"use strict";a.d(i,{LV:()=>s,YH:()=>t,f$:()=>o});var l=a(65754),n=a(65382);let r=l.Ik({id:l.Yj().uuid().nullable(),src:l.Yj().url().nullable(),originalFileName:l.Yj().nullable(),tempSignedUrl:l.Yj().url().nullable(),contentType:l.Yj().nullable(),alt:l.Yj().nullable(),name:l.Yj().nullable()}),t=l.Ik({name:l.Yj().min(1),is_public:l.zM().default(!1),is_active:l.zM().default(!1),description:l.Yj(),important_info:l.Yj(),primary_contact_name:l.Yj(),primary_contact_email:l.Yj().email({message:"Invalid email address"}).or(l.eu("")),primary_contact_phone:l.Yj().regex(n.bv,{message:"Invalid phone number"}).or(l.eu("")),primary_contact_role:l.Yj(),max_registrations:l.au.number().int().min(0).nullable(),associated_facility_amenity_ids:l.YO(l.Yj().uuid()),media_info:l.YO(r).nullable()}),s=l.Ik({general_ledger_entry_id:l.Yj().uuid().nullable()}),o=l.Ik({associated_membership_form_ids:l.YO(l.Yj().uuid()).nullish(),associated_required_membership_form_ids:l.YO(l.Yj().uuid()).nullish()})},69082:(e,i,a)=>{"use strict";a.d(i,{Ay:()=>_,d5:()=>c,rO:()=>u});var l=a(78488),n=a(18363),r=a.n(n),t=a(81204),s=a(33237),o=a(72788),m=a(49191),d=a(74961);function c(){var e,i,a,n,c;let u=(0,m.Z5)(),{data:_}=(0,o.$sH)({variables:{where:{organization_id:{_eq:u.organizationID}}}}),{data:p}=(0,o.iMx)({variables:{where:{organization_id:{_eq:u.organizationID}}}}),h=(0,t.useMemo)(()=>r()(null==p?void 0:p.facility_amenities,"facility_id"),[p]),f=(0,t.useMemo)(()=>{var e,i;return(null!=(i=null==_||null==(e=_.facilities)?void 0:e.map(e=>{var i;return{label:e.title,value:e.id,children:null==(i=h[e.id])?void 0:i.map(e=>({label:e.name,value:e.id}))}}))?i:[]).toSorted((e,i)=>e.label.localeCompare(i.label))},[_,h]),[b]=(0,o.ae)({fetchPolicy:"network-only"}),{watch:v,setValue:y}=(0,s.xW)(),g=v("name"),x=null!=(e=v("media_info"))?e:[],j=x.length>0?x[0]:void 0;return(0,l.jsxs)(d.y,{children:[(0,l.jsx)(d.mB,{name:"name",label:"Membership name",inputProps:{autoComplete:"off"},required:!0}),(0,l.jsx)(d.mB,{name:"description",label:"Membership description",multiline:!0,inputProps:{autoComplete:"off"},rows:4}),(0,l.jsx)(d.mB,{name:"important_info",label:"Membership info",multiline:!0,inputProps:{autoComplete:"off"},rows:4}),(0,l.jsx)(d.w,{existingImageMediaInfo:j?{...j,name:null!=(i=j.name)?i:"",contentType:null!=(a=j.contentType)?a:"",id:null!=(n=j.id)?n:""}:void 0,label:"Membership image",name:"media_info",publicUrlData:{slug:null!=(c=u.slug)?c:"",directoryPath:"memberships"},onUpload:async e=>{var i,a,l;let n=e[0],r=await b({variables:{alt:"Image for membership ".concat(g),content_type:n.contentType,description:n.name,organization_id:u.organizationID,name:n.name,index:0,storage_url:n.src}});(null==(i=r.data)?void 0:i.media_info)&&y("media_info",[{id:r.data.media_info.id,src:r.data.media_info.storage_url,originalFileName:null!=(a=r.data.media_info.original_file_name)?a:null,name:r.data.media_info.name,tempSignedUrl:r.data.media_info.storage_url,contentType:r.data.media_info.content_type,alt:null!=(l=r.data.media_info.alt)?l:null}],{shouldDirty:!0,shouldValidate:!0})},onDelete:()=>{y("media_info",null,{shouldDirty:!0,shouldValidate:!0})},disableSignedUrl:!0,isImageUpload:!0}),(0,l.jsx)(d.zt,{name:"associated_facility_amenity_ids",label:"Facility amenities",options:null!=f?f:[],searchPlaceholder:"Search by facility amenity",searchable:!0,showSelectAll:!0,allSelectedText:"All amenities selected"}),(0,l.jsx)(d.Y$,{name:"max_registrations",label:"Maximum number of registrations",inputProps:{autoComplete:"off"},inputMode:"numeric",type:"number"}),(0,l.jsx)(d.dI,{name:"is_public",label:"Visible to the public"}),(0,l.jsx)(d.dI,{name:"is_active",label:"Active"})]})}function u(){return(0,l.jsxs)(d.y,{children:[(0,l.jsx)(d.mB,{name:"primary_contact_name",label:"Primary contact name",inputProps:{autoComplete:"name"}}),(0,l.jsx)(d.mB,{name:"primary_contact_email",label:"Primary contact email",inputProps:{autoComplete:"email"}}),(0,l.jsx)(d.mB,{name:"primary_contact_phone",label:"Primary contact phone",inputProps:{autoComplete:"tel"}}),(0,l.jsx)(d.mB,{name:"primary_contact_role",label:"Primary contact role",inputProps:{autoComplete:"off"}})]})}let _=function(){return(0,l.jsxs)("div",{className:"flex flex-col gap-10",children:[(0,l.jsx)(c,{}),(0,l.jsx)(u,{})]})}},88355:(e,i,a)=>{"use strict";a.d(i,{P:()=>n});var l=a(78488);function n(e){let{children:i}=e;return(0,l.jsx)("div",{className:"md:max-w-[720px]",children:i})}},88821:(e,i,a)=>{"use strict";a.d(i,{Ay:()=>p,Xf:()=>_});var l=a(78488),n=a(72788),r=a(49191),t=a(68582),s=a(13281),o=a(46334),m=a(38548),d=a(45439),c=a(74961);function u(e){var i;let{showDisclaimerForms:a,showFileForms:o,showSchemaForms:m,selectedChip:d,customFormIdsName:c="associated_membership_form_ids",customRequiredFormIdsName:u="associated_required_membership_form_ids"}=e,_={customFormIdsName:c,customRequiredFormIdsName:u},p=(0,r.Z5)(),h=a&&o&&m,{data:f,loading:b}=(0,n.Mnm)({variables:{where:{organization_id:{_eq:p.organizationID}}},fetchPolicy:"network-only"}),v=null!=(i=null==f?void 0:f.form_definitions)?i:[],y=v.filter(e=>e.type===n.NRE.Disclaimer),g=v.filter(e=>e.type===n.NRE.File),x=v.filter(e=>e.type===n.NRE.SchemaForm),j=h&&!v.length||!h&&(a&&!y.length||o&&!g.length||m&&!x.length);return(0,l.jsxs)("div",{className:"flex flex-col gap-10",children:[!b&&j&&(0,l.jsx)(s.A,{selectedChip:d}),(0,l.jsxs)("div",{className:"space-y-6",children:[a&&(0,l.jsx)(t.Uo,{..._,formDefinitions:y}),o&&(0,l.jsx)(t.Uo,{..._,formDefinitions:g}),m&&(0,l.jsx)(t.Uo,{..._,formDefinitions:x})]})]})}function _(){let{customFormIdsName:e,customRequiredFormIdsName:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{setSelectedChip:a,selectedChip:n,...r}=(0,m.B)();return(0,l.jsx)(c.y,{children:(0,l.jsxs)(o.A,{selectedChip:n,setSelectedChip:a,children:[(0,l.jsx)(u,{...r,selectedChip:n,customFormIdsName:e,customRequiredFormIdsName:i}),(0,l.jsx)(d.zo,{})]})})}let p=function(){return(0,l.jsx)("div",{className:"flex flex-col gap-10",children:(0,l.jsx)(_,{})})}},98214:(e,i,a)=>{"use strict";a.d(i,{Mz:()=>r,ok:()=>t});var l=a(17563);function n(e){return e.replace(/\/\?/,"?").replace(/\/$/,"")}function r(e){let{url:i=window.location.href,params:a,preserveExisting:l=!0}=e,r=new URL(i);
1return l||[...r.searchParams.keys()].forEach(e=>{r.searchParams.delete(e)}),Object.entries(a).forEach(e=>{let[i,a]=e;r.searchParams.set(i,a)}),n(r.toString())}function t(){let e=(0,l.useRouter)();return{getSearchParams(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href;return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href;return Object.fromEntries(new URLSearchParams(new URL(e).search).entries())}(e)},addSearchParams(i){e.replace(r(i),void 0,{shallow:!0})},removeSearchParams(i){let a=new URL(function(e){let{url:i=window.location.href,params:a}=e,l=new URL(i);return a.forEach(e=>{l.searchParams.delete(e)}),n(l.toString())}(i));e.replace({pathname:a.pathname,query:Object.fromEntries(a.searchParams.entries())},void 0,{shallow:!0})},clearAllSearchParams(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href,a=new URL(function(e){let i=new URL(e);return[...i.searchParams.keys()].forEach(e=>{i.searchParams.delete(e)}),n(i.toString())}(i));e.replace({pathname:a.pathname,query:Object.fromEntries(a.searchParams.entries())},void 0,{shallow:!0})}}}}},e=>{e.O(0,[7643,5214,9869,3661,5799,2599,4105,320,3630,2463,4098,6055,6482,6943,9436,789,8668,7763,4543,1724,4488,2224,8385,3862,2242,3804,3310,8723,636,6593,8792],()=>e(e.s=35873)),_N_E=e.O()}]);

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.