1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5489],{58120:function(e,s,t){t.r(s);var a=t(50029),r=t(87794),n=t.n(r),l=t(11163),i=t(67294),c=t(42283),p=t(42924),d=t(44875),o=t(95067),x=t(85893);s.default=function(e){var s,t=e.block.attrs,r=t.label,u=t.submit,m=t.text,f=(0,i.useState)(),h=f[0],g=f[1],b=(0,d.bp)().setPathData,j=(0,c.cI)({mode:"all"}),w=j.formState.isValid,v=(0,l.useRouter)(),N=(s=(0,a.Z)(n().mark(function e(s){var t,a;return n().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=s.password,h&&g(!1),e.next=4,(0,p.Fl)({path:v.asPath,password:t});case 4:200===(a=e.sent).status?b(a):g(!0);case 6:case"end":return e.stop()}},e)})),function(e){return s.apply(this,arguments)}),k=["relative group-container z-10 px-4 mx-auto lg:px-20 xl:px-0 xl:container"].concat(["py-15","md:py-20","lg:py-25"]);return(0,x.jsx)("div",{className:k.join(" "),children:(0,x.jsx)("div",{className:"grid w-full grid-cols-12 gap-0 smd:gap-8 xl:gap-12",children:(0,x.jsx)("div",{className:"col-span-12 md:col-span-8",children:(0,x.jsxs)("form",{autoComplete:"off",onSubmit:j.handleSubmit(N),children:[(0,x.jsx)("p",{children:m}),(0,x.jsxs)("div",{className:"flex justify-between",children:[(0,x.jsx)("input",{ref:j.register,className:"flex-1 input",type:"password",name:"password",placeholder:r,required:!0}),(0,x.jsx)(o.hx,{size:"text-base-sm",padding:"grow-0 ml-5 px-3 py-2 md:px-4",disabled:!w,children:u})]}),h&&(0,x.jsx)("p",{className:"mt-4 text-sm text-center text-orange-700",children:"Fel l\xf6senord, v\xe4nligen f\xf6rs\xf6k igen."})]})})})})}}}]);
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.