PageSourceSearch

https://nexana.ai/build/assets/modal-context-Iwi5Gpl_.js

js nexana.ai collected 2026-10-05 12:18:07 UTC 20,262 bytes, 1 lines download raw bytes

1import{r as x,j as e,v as P,B as $,t as w,q as G,az as Q,aA as X,R as Y,m as F,aB as J}from"./app-B_db3pWJ.js";import{D as Z,b as q,c as ee,h as ne,d as se,e as ie}from"./dialog-CiTTCoFW.js";import{T as te,D as re,b as ae,S as oe,c as le,f as ce,g as de,h as pe,d as me}from"./scroll-area-U3q6_Cnb.js";import{u as ge}from"./use-location-BBlxf7C2.js";import{C as he}from"./contact-form-Cjz8_oME.js";import{T as U}from"./text-input-Do3Cgxk9.js";import{u as C}from"./useTranslation-BbFBgSOC.js";import{C as ue}from"./check-DvkMkkmW.js";import{P as xe}from"./pencil-MRBr0C9F.js";import{C as V}from"./currency-flags-BJISw7pd.js";import{S as je}from"./select-dropdown-Cnj03TLU.js";import{T as _}from"./Trans-BdJlnZz-.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"cfd7a87b"};var t=new n.Error().stack;t&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="e42d4c04-a6ed-411a-8055-5102ab276785",n._sentryDebugIdIdentifier="sentry-dbid-e42d4c04-a6ed-411a-8055-5102ab276785")}catch{}})();function fe(n){const t=o=>typeof window<"u"&&typeof window.matchMedia<"u"?window.matchMedia(o).matches:!1,[s,m]=x.useState(()=>t(n));return x.useEffect(()=>{if(typeof window>"u"||typeof window.matchMedia>"u")return;const o=window.matchMedia(n),p=r=>{m(r.matches)};return o.addEventListener?o.addEventListener("change",p):o.addListener(p),m(o.matches),()=>{o.removeEventListener?o.removeEventListener("change",p):o.removeListener(p)}},[n]),s}const be=({size:n=80})=>e.jsxs("svg",{width:n,height:n,viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("circle",{cx:"40",cy:"40",r:"39.5",stroke:"#17B26A"}),e.jsx("path",{d:"M28.334 40.0003L36.6673 48.3337L53.334 31.667",stroke:"#17B26A",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})]}),ye=()=>{const{closeModal:n}=R(),{t}=C(),{data:s,setData:m,post:o,errors:p}=P({title:""}),r=c=>{c.preventDefault(),o(route("organisations.add"),{onSuccess:()=>{w.success(t("organisations.add_organisation_dialog.success")),n()},onError:()=>{w.error(t("organisations.add_organisation_dialog.error"))}})};return e.jsx("div",{className:"mt-4 flex h-full w-full min-w-80 flex-col justify-center",children:e.jsxs("form",{onSubmit:r,children:[e.jsx(U,{label:t("organisations.add_organisation_dialog.label"),placeholder:t("organisations.add_organisation_dialog.placeholder"),id:"title",name:"title",value:s.title,onChange:c=>m("title",c.target.value),className:"col-span-1 md:col-span-2",errors:p}),e.jsx($,{type:"submit",variant:"mint",className:"mt-4 w-full",children:t("organisations.add_organisation_dialog.add")})]})})},_e=({formState:n})=>{var l,a;const{closeModal:t}=R(),{t:s}=C(),{data:m,setData:o,put:p,errors:r}=P({title:((a=(l=n==null?void 0:n.organisation)==null?void 0:l.organisation)==null?void 0:a.title)||""}),c=g=>{var h,u;g.preventDefault(),p(route("organisations.update",(u=(h=n==null?void 0:n.organisation)==null?void 0:h.organisation)==null?void 0:u.id),{onSuccess:()=>{w.success(s("organisations.edit_organisation_dialog.success")),t()},onError:()=>{w.error(s("organisations.edit_organisation_dialog.error"))}})};return e.jsx("div",{className:"mt-4 flex h-full w-full min-w-80 flex-col justify-center",children:e.jsxs("form",{onSubmit:c,children:[e.jsx(U,{label:s("organisations.edit_organisation_dialog.label"),placeholder:s("organisations.edit_organisation_dialog.placeholder"),id:"title",name:"title",value:m.title,onChange:g=>o("title",g.target.value),className:"col-span-1 md:col-span-2",errors:r}),e.jsxs("div",{className:"mt-4 flex gap-2",children:[e.jsx($,{type:"button",variant:"outline",className:"w-full",onClick:()=>t(),children:s("buttons.cancel")}),e.jsx($,{type:"submit",variant:"mint",className:"w-full",children:s("organisations.edit_organisation_dialog.save")})]})]})})},ve=()=>{const{t:n}=C(),{organisations:t,organisation:s}=G().props,{openModal:m,closeModal:o}=R(),p=a=>{F.put(route("organisations.set.active"),{organisation_id:a.organisation_id},{onSuccess:()=>{w.success(n("organisations.organisations_dialog.success")),o()},onError:()=>{w.error(n("organisations.organisations_dialog.error"))}})},r=()=>{m({modalName:"add_organisation",modalOpenedDirectly:!0})},c=(a,g)=>{a.stopPropagation(),m({modalName:"edit_organisation",modalOpenedDirectly:!0,formState:{organisation:g}})},l=(a,g)=>{a.stopPropagation(),window.confirm(n("organisations.delete_organisation_dialog.confirm"))&&F.delete(route("organisations.delete",g.organisation.id),{onSuccess:()=>{w.success(n("organisations.delete_organisation_dialog.success"))},onError:()=>{w.error(n("organisations.delete_organisation_dialog.error"))}})};return e.jsxs("div",{className:"mt-4 flex h-full w-full flex-col justify-center",children:[e.jsx("div",{className:"scrollbar-subtle overflow-y-auto md:min-w-[450px]",style:{height:"300px"},children:t.map(a=>{var g,h;return e.jsxs("div",{className:"flex-x-1 dark:border-green-7 dark:bg-green-5 text-gray-8 dark:text-white-1 hover:dark:bg-green-9 border-gray-1 bg-gray-5 mb-2 flex w-full cursor-pointer items-center justify-between rounded-xl border-1 px-4 py-2 font-light hover:bg-gray-200",children:[e.jsxs("button",{onClick:()=>p(a),className:"flex flex-1 items-center justify-between",children:[e.jsx("span",{className:"text-sm font-semibold",children:`${((g=a.organisation)==null?void 0:g.title)==="my_organisation_placeholder"?n("organisations.placeholder"):(h=a.organisation)==null?void 0:h.title}`}),s.id===a.id?e.jsx(ue,{color:"green",size:20}):null]}),e.jsx("div",{className:"ml-2 flex gap-1",children:Q(a.role_id,X.ORGANISATION_OWNER)&&e.jsxs(Y.Fragment,{children:[e.jsx("button",{onClick:u=>c(u,a),className:"text-gray-8 cursor-pointer p-1.5",title:n("organisations.edit_organisation_dialog.title"),children:e.jsx(xe,{size:16})}),e.jsx("button",{onClick:u=>l(u,a),className:"text-gray-8 cursor-pointer p-1.5",title:n("organisations.delete_organisation_dialog.title"),children:e.jsx(te,{size:16})})]})})]},a.id)})}),e.jsxs($,{variant:"mint",className:"mx-auto mt-4 w-fit",onClick:()=>r(),children:[n("organisations.add_organisation_dialog.add")," +"]})]})},Ne=({licenses:n,selectedCurrency:t})=>{const{t:s}=C(),m=x.useMemo(()=>
1{if(!t||!n.length)return[];const o=p=>{if(!p)return Array(3).fill("--");const r=parseFloat(p);return isNaN(r)?Array(3).fill("--"):[0,.05,.1].map(l=>`${(r*(1-l)).toFixed(2).replace(".",",")} ${t}`)};return["mini","basic","pro"].map(p=>{var h,u;const r=n.find(j=>j.package_identifier===p);if(!r)return null;const c=r.prices.find(j=>j.duration_type==="monthly"),l=r.prices.find(j=>j.duration_type==="annual"),a=(h=c==null?void 0:c.prices_by_currency)==null?void 0:h[t],g=(u=l==null?void 0:l.annual_prices_by_currency)==null?void 0:u[t];return{name:s(`homepage.pricing.packages.${p}.title`),plans:[{type:s(`homepage.pricing.packages.${p}.monthly`),prices:o(a)},{type:s(`homepage.pricing.packages.${p}.yearly`),prices:o(g)}]}}).filter(Boolean)},[n,t,s]);return e.jsx("div",{className:"p-4",children:e.jsx("div",{className:"scrollbar-subtle overflow-y-auto",style:{minHeight:300,maxHeight:600},children:e.jsxs("table",{className:"border-gray-9 dark:border-green-4 min-w-full table-auto overflow-scroll border text-sm",children:[e.jsx("thead",{className:"bg-gray-7 dark:bg-green-9 text-left font-bold",children:e.jsxs("tr",{children:[e.jsx("th",{className:"border-gray-9 dark:border-green-4 border p-2"}),e.jsx("th",{className:"border-gray-9 dark:border-green-4 border p-2",children:s("homepage.pricing.table.type")}),e.jsx("th",{className:"border-gray-9 dark:border-green-4 border p-1",children:s("homepage.pricing.table.base_price")}),e.jsxs("th",{className:"border-gray-9 dark:border-green-4 border p-2",children:[s("homepage.pricing.table.price_11_100"),e.jsx("br",{}),e.jsxs("span",{className:"text-xs font-normal",children:["(",s("homepage.pricing.table.discount_5"),")"]})]}),e.jsxs("th",{className:"border-gray-9 dark:border-green-4 border p-2",children:[s("homepage.pricing.table.price_101_plus"),e.jsx("br",{}),e.jsxs("span",{className:"text-xs font-normal",children:["(",s("homepage.pricing.table.discount_10"),")"]})]})]})}),e.jsx("tbody",{className:"text-green-10",children:m.map((o,p)=>o.plans.map((r,c)=>e.jsxs("tr",{className:c%2===1?"bg-gray-1 dark:bg-green-2":"bg-[#FFFCF5]",children:[c===0&&e.jsx("td",{className:"border-gray-9 dark:border-green-4 align-center border p-2 font-semibold",rowSpan:o.plans.length,children:o.name}),e.jsx("td",{className:"border-gray-9 dark:border-green-4 text-green-10 border p-2 text-sm whitespace-nowrap",children:r.type}),r.prices.map((l,a)=>e.jsx("td",{className:"border-gray-9 dark:border-green-4 border p-2 text-right",children:l},a))]},`${p}-${c}`)))})]})})})},we=()=>{var g,h,u,j,D,M,S,T,O,I;const{t:n,i18n:t}=C(),[s,m]=x.useState(null),o=Object.keys(n("pricing.general_terms.items",{returnObjects:!0})),{props:{licensesData:p=[],currencies:r=[]}}=G(),c=r.filter(i=>i.code!=="GBP").map(i=>({id:i.code,name:n(`currencies.${i.code}`,i.code),code:i.code}));x.useEffect(()=>{!s&&c.length>0&&m(c[0].id)},[r,s]);const l=x.useMemo(()=>{if(!s)return{};const i={};return["mini","basic","pro"].forEach(f=>{var E,L,A;const y=p.find(N=>N.package_identifier===f);if(!y)return;const v=y.prices.find(N=>N.duration_type==="monthly"),b=y.prices.find(N=>N.duration_type==="annual");i[f]={prices:{monthly:((E=v==null?void 0:v.prices_by_currency)==null?void 0:E[s])??"--",annualPerMonth:((L=b==null?void 0:b.prices_by_currency)==null?void 0:L[s])??"--",annualTotal:((A=b==null?void 0:b.annual_prices_by_currency)==null?void 0:A[s])??"--"}}}),i},[p,s]),a=i=>Object.values(n(`pricing.plans.${i}.features`,{returnObjects:!0}));return e.jsx("div",{className:"flex h-full w-full justify-center",children:e.jsx("div",{className:"scrollbar-subtle overflow-y-auto",style:{width:"750px",height:"550px"},children:e.jsxs("div",{className:"space-y-4",children:[e.jsx("div",{className:"mx-auto mt-6 mb-6 flex w-fit items-start justify-center gap-4",children:e.jsx(je,{label:n("homepage.pricing.selectCurrency"),options:c.map(i=>({label:i.name,value:i.id,icon:e.jsx(V,{code:i.id,withSymbol:!1})})),value:s?{label:((g=c.find(i=>i.id===s))==null?void 0:g.name)||s,value:s,icon:e.jsx(V,{code:s,withSymbol:!1})}:null,onChange:i=>m(i.value),placeholder:n("homepage.pricing.selectCurrency"),renderOptionIcon:i=>i.icon,renderSelectedIcon:i=>i.icon})}),e.jsx("p",{children:e.jsx(_,{i18nKey:"pricing.valid_from",components:{bold:e.jsx("strong",{})}})}),e.jsx("h2",{className:"text-xl font-bold",children:n("pricing.general_terms.title")}),e.jsx("ul",{className:"list-disc space-y-2 pl-6",children:o.map(i=>e.jsx("li",{children:e.jsx(_,{i18nKey:`pricing.general_terms.items.${i}`,values:{currencySymbol:s},components:{termsLink:e.jsx("a",{href:`/${t.language}/terms-and-conditions`,target:"_blank",rel:"noopener noreferrer",className:"text-black underline dark:text-white",children:n("pricing.general_terms.terms_link")}),subscriptionLink:e.jsx("a",{href:`/${t.language}/subscription-terms`,target:"_blank",rel:"noopener noreferrer",className:"text-black underline dark:text-white",children:n("pricing.general_terms.subscription_link")})}})},i))}),e.jsx("h2",{className:"text-xl font-bold",children:n("pricing.plans.title")}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("h3",{className:"text-lg font-bold",children:n("pricing.plans.mini.title")}),e.jsxs("p",{children:[e.jsx("strong",{children:n("pricing.price.monthly")})," ",(h=l.mini)==null?void 0:h.prices.monthly," ",s," /"," ",n("pricing.monthWithoutVat")]}),e.jsxs("p",{children:[e.jsx("strong",{children:n("pricing.price.yearly")})," ",(u=l.mini)==null?void 0:u.prices.annualPerMonth," ",s," /"," ",n("pricing.monthWithoutVat")," – ",(j=l.mini)==null?void 0:j.prices.annualTotal," ",s," / ",n("pricing.yearSavings")]}),e.jsx("p",{className:"font-semibold",children:n("pricing.features.title")}),e.jsx("ul",{className:"list-disc space-y-1 pl-6",children:a("mini").map((i,d)=>e.jsx("li",{children:e.jsx(_,{i18nKey:i,components:{bold:e.jsx("strong",{})}})},d))})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("h3",{className:"text-lg font-bold",children:n("pricing.plans.basic.title")}),e.jsxs("p",{children:[e.jsx("strong",{children:n("pricing.price.monthly")})," ",(D=l.basic)==null?void 0:D.prices.monthly," ",s," /"," ",n("pricing.monthWithoutVat")]}),e.jsxs("p",{children:[e.jsx("strong",{children:n("pricing.price.yearly")})," ",(M=l.basic)==null?void 0:M.prices.annualPerMonth," ",s," /"," ",n("pricing.monthWithoutVat")," – ",(S=l.basic)==null?void 0:S.prices.annualTotal," ",s," / ",n("pricing.yearSavings")]}),e.jsx("p",{className:"font-semibold",children:n("pricing.features.title")}),e.jsx("ul",{className:"list-disc space-y-1 pl-6",children:a("basic").map((i,d)=>e.jsx("li",{children:e.jsx(_,{i18nKey:i,components:{bold:e.jsx("strong",{})}})},d))})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("h3",{className:"text-lg font-bold",children:n("pricing.plans.pro.title")}),e.jsxs("p",{children:[e.jsx("strong",{children:n("pricing.price.monthly")})," ",(T=l.pro)==null?void 0:T.prices.monthly," ",s," /"," ",n("pricing.monthWithoutVat")]}),e.jsxs("p",{children:[e.jsx("strong",{children:n("pricing.price.yearly")})," ",(O=l.pro)==null?void 0:O.prices.annualPerMonth," ",s," /"," ",n("pricing.monthWithoutVat")," – ",(I=l.pro)==null?void 0:I.prices.annualTotal," ",s," / ",n("pricing.yearSavings")]}),e.jsx("p",{className:"font-semibold",children:n("pricing.features.title")}),e.jsx("ul",{className:"list-disc space-y-1 pl-6",children:a("pro").map((i,d)=>e.jsx("li",{children:e.jsx(_,{i18nKey:i,components:{bold:e.jsx("strong",{})}})},d))}),e.jsx(Ne,{licenses:p,selectedCurrency:s})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("h2",{className:"text-xl font-bold",children:n("pricing.trial.title")}),e.jsx("p",{children:n("pricing.trial.description")}),e.jsx("p",{children:n("pricing.trial.includes")}),e.jsx("p",{children:n("pricing.trial.limits")}),e.jsx("p",{children:n("pricing.trial.limits2")})]}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-xl font-bold",children:n("pricing.user_mgmt.title")}),e.jsxs("ul",{className:"list-disc space-y-2 pl-6",children:[e.jsx("li",{children:e.jsx(_,{i18nKey:"pricing.user_mgmt.roles",components:{bold:e.jsx("strong",{})}})}),e.jsx("li",{children:e.jsx(_,{i18nKey:"pricing.user_mgmt.licenses",components:{bold:e.jsx("strong",{})}})}),e.jsx("li",{children:e.jsx(_,{i18nKey:"pricing.user_mgmt.storage",components:{bold:e.jsx("strong",{})}})})]}),e.jsx("h3",{className:"mt-4 font-semibold",children:n("pricing.bulk_discounts.title")}),e.jsx("ul",{className:"list-disc space-y-1 pl-6",children:Object.values(n("pricing.bulk_discounts.items",{returnObjects:!0})).map((i,d)=>e.jsx("li",{children:i},d))}),e.jsx("h3",{className:"mt-4 font-semibold",children:n("pricing.upgrade.title")}),e.jsx("ul",{className:"list-disc space-y-1 pl-6",children:Object.values(n("pricing.upgrade.items",{returnObjects:!0})).map((i,d)=>e.jsx("li",{children:i},d))}),e.jsx("h3",{className:"mt-4 font-semibold",children:n("pricing.more_info.title")}),e.jsx("ul",{className:"list-disc space-y-1 pl-6",children:Object.values(n("pricing.more_info.items",{returnObjects:!0})).map((i,d)=>e.jsx("li",{children:e.jsx(_,{i18nKey:i,components:{bold:e.jsx("strong",{})}})},d))}),e.jsx("h3",{className:"mt-4 font-semibold",children:n("pricing.provider.title")}),e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("p",{children:n("pricing.provider.company")}),e.jsx("p",{children:n("pricing.provider.address")}),e.jsx("p",{children:n("pricing.provider.city")}),e.jsx("p",{children:n("pricing.provider.ico")}),e.jsx("p",{children:n("pricing.provider.dic")}),e.jsx("p",{children:n("pricing.provider.vat")})]}),e.jsx("h3",{className:"mt-4 font-semibold",children:n("pricing.provider.contact")}),e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("p",{children:n("pricing.provider.email")}),e.jsx("p",{children:n("pricing.provider.phone")})]})]})]})})})},ke=["pricing"],De=new Set(["contact","add_organisation","edit_organisation"]),B=n=>ke.includes(n),z=x.createContext(void 0),W={"/contact":"contact"},Me={pricing:{component:we,title:"pricing.title",description:"",hasInternalScroll:!0},contact:{component:he,title:"homepage.contact_dialog.title",description:""},contact_success:{component:()=>e.jsx(e.Fragment,{}),title:"homepage.contact_dialog.success",description:"",icon:()=>e.jsx(be,{})},for_whom_details:{component:({formState:n,t})=>e.jsx("div",{children:t(n==null?void 0:n.detailedDescription)}),title:({formState:n,t})=>n!=null&&n.title?t(n.title):"",description:""},organisation_selection:{component:ve,title:"organisations.organisations_dialog.title",description:(n,t)=>t("organisations.organisations_dialog.description"),hasInternalScroll:!0},add_organisation:{component:ye,title:"organisations.add_organisation_dialog.title",description:""},edit_organisation:{component:_e,title:"organisations.edit_organisation_dialog.title",description:""}},Oe=n=>{var t;return(t=Object.entries(W).find(([s,m])=>m===n))==null?void 0:t[0]},Ce=n=>{const t=n.replace(J,""),s=Object.keys(W).find(m=>t.endsWith(m));return s?W[s]:null},He=({children:n,pageProps:t})=>{const{t:s,i18n:m}=C(),o=ge(),p=fe("(min-width: 1024px)"),[r,c]=x.useState(null),[l,a]=x.useState([]),[g,h]=x.useState(void 0),[u,j]=x.useState(!1);x.useEffect(()=>{const i=(o==null?void 0:o.pathname)||"",d=Ce(i);return d&&(r&&r!==d&&B(r)&&a(f=>[...f,{modalName:r,formState:g}]),c(d)),()=>{c(null),a([]),h(void 0)}},[o==null?void 0:o.pathname]);const D=i=>{const{modalName:d,formState:f,modalOpenedDirectly:y}=i;r&&r!==d&&B(r)&&a(v=>[...v,{modalName:r,formState:g}]),c(d),h(f),j(y||!1)},M=()=>{r==="2fa_enabled"&&F.post(route("two-factor-auth.cancel",{locale:m.language})),u||F.replace({url:"/",preserveScroll:!0,preserveState:!0}),c(null),a([]),h(void 0),j(!1)},S=()=>
1{if(l.length>0){const i=l[l.length-1];if(a(d=>d.slice(0,-1)),u)D({modalName:i.modalName,formState:i.formState,modalOpenedDirectly:!0});else{c(i.modalName),h(i.formState);const d=Oe(i.modalName);d&&F.replace({url:d,preserveScroll:!0,preserveState:!0})}}},T=i=>r===i,O=()=>{l.length>0?S():M()},I=()=>{if(!r)return null;const i=Me[r];if(!i)return null;const{component:d,title:f,description:y,icon:v}=i,b=typeof y=="function"?y(t==null?void 0:t.auth,s):y,E=typeof f=="function"?f({formState:g,t:s}):s(f),L=v?v(r):null,A=i.hasInternalScroll||!1,N={onViewChange:M,resetEmail:t==null?void 0:t.reset_email,t:s,i18n:m,...t,formState:g,onFormStateChange:k=>h(k),modalOpenedDirectly:u,openModal:k=>D(k)},K=De.has(r);if(p)return e.jsx(Z,{open:!!r,onOpenChange:O,children:e.jsx(q,{className:"p-8 sm:max-w-[800px]",onPointerDownOutside:K?k=>k.preventDefault():void 0,onInteractOutside:K?k=>k.preventDefault():void 0,children:e.jsxs("div",{className:"scrollbar-subtle max-h-[90vh] overflow-y-auto",children:[e.jsxs(ee,{children:[L&&e.jsx(ne,{className:"text-center",children:L}),e.jsx(se,{className:"text-center",children:E}),b&&e.jsx(ie,{className:"mb-4 text-center",children:b})]}),e.jsx(d,{...N})]})})});const H=e.jsxs(e.Fragment,{children:[e.jsxs(le,{className:"mt-4 text-left",children:[e.jsx(ce,{children:E}),e.jsx(de,{children:b}),e.jsx(pe,{asChild:!0,className:"absolute top-4 right-4",children:e.jsx("button",{onClick:O,className:"bg-bodily-2 flex h-8 w-8 items-center justify-center rounded",children:e.jsx("svg",{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M10 1L1 10M1 1L10 10",stroke:"#7E7365",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})})]}),e.jsx(d,{...N}),e.jsx(me,{className:"pt-2"})]});return e.jsx(re,{open:!!r,onOpenChange:O,repositionInputs:!1,preventScrollRestoration:!1,disablePreventScroll:!0,noBodyStyles:!0,children:e.jsx(ae,{className:"max-h-[calc(100dvh-2rem)] px-4",children:A?H:e.jsx(oe,{className:"overflow-y-auto",children:H})})})};return e.jsxs(z.Provider,{value:{openModal:D,closeModal:M,isModalOpen:T,activeModal:r,goBack:S,canGoBack:l.length>0&&r?B(r):!1},children:[n,I()]})},R=()=>{const n=x.useContext(z);if(n===void 0)throw new Error("useModal must be used within a ModalProvider");return n};export{He as M,R as a,fe as u};

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.