1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[97870],{12580:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/actes-et-statuts/[siren]",function(){return r(4872)}])},30340:function(e,t,r){"use strict";r.d(t,{U:function(){return f}});var s=r(48282),n=r(18529),i=r(53072),a=r(30362),c=r(43329),l=r(91391),o=r(59934),u=r(91490),d=r(49483),m=r(64606),p=r(17613),h=r(50401),x=r(90227);function f(e){let{translationKey:t,children:r,isFetching:f,isLoading:b=!1,isDirigeant:y=!1,shouldDisplayNoResultTitle:j=!1,withoutFilters:v=!1,searchPlaceholder:w,searchQuery:N,isError:g,submitPath:_="/resultats",withTranslation:k=!1,withSecondaryLine:S=!1}=e,Z=(0,x.useRouter)(),{filters:F}=(0,h.yE)(),D=e=>{let t=null==e?void 0:e.split("&")[0],r=(0,u.uc)(_,t,F,k);(0,u.cy)(r)||Z.push(r)};return(0,n.useEffect)(()=>{F&&N&&D(N)},[F]),(0,s.jsxs)("div",{className:"bg-neutral-0 px-0",children:[(0,s.jsx)(i.A,{onlyCompany:!y,onlyDirigeant:y,translationKey:t,withoutFilters:v,searchPlaceholder:w,customSubmitPath:_,withTranslation:k}),(0,s.jsx)(o.A,{className:"px-0 sm:px-4",children:(0,s.jsx)("div",{className:"z-10 rounded bg-neutral-0 px-4 sm:px-0",children:(0,s.jsxs)(d.Z,{component:m.Z,square:!0,elevation:0,className:"relative min-h-[220px] rounded",children:[b&&(0,s.jsxs)("div",{className:"absolute inset-0 z-10 flex items-center justify-center",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-neutral-200 opacity-50"}),(0,s.jsx)(p.Z,{color:"primary",size:100})]}),(0,s.jsx)("div",{children:(0,s.jsx)(c.Z,{searchQuery:N,isFetching:f,shouldDisplayNoResultTitle:j,isError:g,translationKey:t})}),(0,s.jsxs)("div",{className:"min-h-[60vh]",children:[g&&(0,s.jsx)(a.Z,{}),f?(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)(l.Z,{rows:10,withSecondaryLine:S})}):!g&&(0,s.jsx)(s.Fragment,{children:r})]})]})})})]})}},21008:function(e,t,r){"use strict";r.d(t,{F:function(){return a}});var s=r(90227);let n=e=>window.btoa(JSON.stringify(e)),i=e=>JSON.parse(window.atob(e));function a(){let e=(0,s.useRouter)();return{redirectToPayment:t=>{let{preorderType:r,siren:s,preorderData:i,director:a,kbisNotAvailable:c,isAutoRedirect:l}=t,o={preorderType:r,siren:s,director:a,preorderData:n(i),kbisNotAvailable:c,isAutoRedirect:l};return e.push({pathname:"/payment",query:o})},encodePreorderData:n,decodePreorderData:i,redirectToRegisterFreeFlow:t=>{let{preorderType:r,siren:s,preorderData:i}=t;return e.push({pathname:"/register",query:{preorderType:r,siren:s,preorderData:n(i),isFreeUser:!0}})}}}},64589:function(e,t,r){"use strict";var s=r(29495),n=r(48282);t.Z=(0,s.Z)((0,n.jsx)("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3zm-1-4-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59 7 11l5 5z"}),"FileDownloadOutlined")},4872:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return N}});var s=r(48282),n=r(99020),i=r.n(n),a=r(49186);r(18529);var c=r(35984),l=r(67518),o=r(49875),u=r(30340),d=r(21252),m=r(77516),p=r(21008),h=r(57285),x=(0,r(29495).Z)((0,s.jsx)("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5C19.17 14.87 15.79 17 12 17s-7.17-2.13-8.82-5.5C4.83 8.13 8.21 6 12 6m0-2C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4m0 5c1.38 0 2.5 1.12 2.5 2.5S13.38 14 12 14s-2.5-1.12-2.5-2.5S10.62 9 12 9m0-2c-2.48 0-4.5 2.02-4.5 4.5S9.52 16 12 16s4.5-2.02 4.5-4.5S14.48 7 12 7"}),"VisibilityOutlined"),f=r(26640),b=r(45014),y=r.n(b),j=r(90227),v=r(76924);let w=(0,h.D_)(function(){let e="result-acts",t=(0,j.useRouter)(),{siren:r}=t.query,{t:n}=(0,v.Z)(),{isSubscribed:i,isPremium:a,freeDocumentsLeft:b}=(0,h.Xe)(),{redirectToPayment:w}=(0,p.F)(),{data:N,isError:g,isFetching:_,error:k}=(0,f.a)(["/companies/".concat(r,"/acts-and-articles-of-incorporation")],()=>r?(0,l.bK)(r):null),{mutate:S,isLoading:Z}=(0,c.$w)(e=>(0,c.yo)(e),{onOrdered:e=>t.push("/commandes/".concat(e.id))}),F=async()=>{if(Z||!r)return null;let e=await (0,l.ux)(r.toString());if(a&&b>0);else if(!e.can_receive_kbis)return w({preorderType:"sirene"===e.document_type?"sirene-situation":(e.document_type,"rne-extract"),siren:""+r,preorderData:{siren:r},kbisNotAvailable:!0,isAutoRedirect:!0});else if(!i)return w({preorderType:"kbis",siren:""+r,preorderData:{siren:r},isAutoRedirect:!0});return S(""+r)};return(0,s.jsx)(u.U,{translationKey:e,isError:g,isFetching:_,error:k,shouldGoBack:!_&&!(N&&N.length>0),currentStep:3,totalStep:4,submitPath:"/actes-et-statuts/resultats",children:(0,s.jsxs)("div",{children:[N&&N.length>0?(0,s.jsx)(o.ActList,{siren:r,data:N}):(0,s.jsx)(d.Z,{hideDetails:!0,hideSearchBar:!0,title:n("common:no-result.documents")}),(0,s.jsxs)("div",{className:"rounded-xl border border-neutral-150 p-6",children:[(0,s.jsx)("p",{className:"text-xl font-medium",children:n("".concat(e,":kbis-banner.title"))}),(0,s.jsx)("p",{className:"mt-2",children:n("".concat(e,":kbis-banner.description"))}),(0,s.jsxs)("div",{className:"mt-4 flex flex-col gap-2 md:flex-row",children:[(0,s.jsxs)("button",{onClick:F,className:"flex w-full items-center justify-center gap-2 rounded-lg bg-success-700 px-3 py-2 text-center font-medium text-white transition hover:opacity-80 md:w-auto",children:[(0,s.jsx)(m.UW,{width:20,className:"text-white"}),n("".concat(e,":kbis-banner.kbis-cta"))]}),(0,s.jsxs)(y(),{href:"/entreprises/".concat(r,"/profil"),className:"flex w-full items-center justify-center gap-2 rounded-lg border border-neutral-300 bg-neutral-50 px-3 py-2 text-center font-medium text-primary-900 transition hover:opacity-80 md:w-auto",children:[(0,s.jsx)(x,{className:"text-primary-900"}),n("".concat(e,":kbis-banner.profile-cta"))]})]})]})]})})});var N=(0,a.Z)(w,{...i(),isLoader:!0,skipInitialProps:!1,loadLocaleFrom:i()&&i().loadLocaleFrom||((e,t)=>r(30242)("./".concat(e,"/").concat(t)).then(e=>e.default))})}},function(e){e.O(0,[59146,10044,49759,25425,44134,76599,14526,2879,52923,2479,40055,53592,47534,53072,29519,49875,92888,49774,40179],function(){return e(e.s=12580)}),_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.