1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3787],{1836:(e,t,l)=>{l.d(t,{K:()=>o});var r=l(95155);let o=e=>{let{width:t=24,height:l=24,color:o="white"}=e;return(0,r.jsx)("svg",{width:t,height:l,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.4548 2.74345C19.5964 3.13273 19.3955 3.56305 19.0063 3.70461L18 4.07054V9.20919L21.9871 10.5382C22.3801 10.6692 22.5925 11.094 22.4615 11.4869C22.3305 11.8799 21.9057 12.0923 21.5128 11.9613L21 11.7903V20.2498H21.75C22.1642 20.2498 22.5 20.5855 22.5 20.9998C22.5 21.414 22.1642 21.7498 21.75 21.7498H2.24996C1.83575 21.7498 1.49996 21.414 1.49996 20.9998C1.49996 20.5855 1.83575 20.2498 2.24996 20.2498H2.99996V9.52508L2.50627 9.70461C2.11699 9.84616 1.68667 9.64534 1.54511 9.25607C1.40356 8.86679 1.60438 8.43647 1.99365 8.29492L2.99996 7.92899V2.99976C2.99996 2.58555 3.33575 2.24976 3.74996 2.24976H6.74996C7.16417 2.24976 7.49996 2.58555 7.49996 2.99976V6.29262L18.4937 2.29492C18.8829 2.15336 19.3132 2.35418 19.4548 2.74345ZM5.99996 6.83808V3.74976H4.49996V7.38353L5.99996 6.83808ZM4.49996 8.97963V20.2498H7.49996V16.1248C7.49996 15.0892 8.33943 14.2498 9.37496 14.2498H11.625C12.6605 14.2498 13.5 15.0892 13.5 16.1248V20.2498H16.5V9.76726C16.4997 9.7557 16.4997 9.7441 16.5 9.73247V4.61599L4.49996 8.97963ZM18 10.7903V20.2498H19.5V11.2903L18 10.7903ZM8.99996 20.2498H12V16.1248C12 15.9177 11.8321 15.7498 11.625 15.7498H9.37496C9.16785 15.7498 8.99996 15.9177 8.99996 16.1248V20.2498Z",fill:o})})}},3548:(e,t,l)=>{l.d(t,{A:()=>w});var r=l(95155),o=l(39688),s=l(45025),n=l(52596),a=l(12115),c=l(74365),d=l(96950),i=l(75196),u=l(12626),h=l(57459),p=l(71415),x=l(13316);let v=(0,a.forwardRef)((e,t)=>{var l;let{label:u,options:v,placeholder:w,form:f,formProperty:g,required:C,labelClassname:b,className:j,selectClassname:k,onChange:y,disabled:L,error:N,iconLeading:V,multipleChoice:E=!1,selectAllText:A,position:H="bottom-right",info:B,toolTipInfo:P,showSecondaryText:M}=e,S=(0,a.useId)(),[Z,_]=(0,a.useState)(""),R=null==f?void 0:f.watch(g),q=v.length>10,I=Array.isArray(R)?R:R?[R]:[],z=e=>{var t;return f&&g?{...f.register(g,{onChange:async t=>{await f.clearErrors(),null==y||y(t),E?e||f.setValue(g,""):(f.setValue(g,t.target.value,{shouldValidate:!0}),Q())},required:C,value:null!=(t=f.getValues(g))?t:""})}:{}};(0,a.useEffect)(()=>{let e=e=>{var t;!document.getElementById(S).checked||(null==(t=e.target)?void 0:t.closest("#".concat(CSS.escape(S),"-container")))||Q()};return document.addEventListener("click",e),Array.from(document.getElementsByClassName("modal-window")).forEach(t=>t.addEventListener("click",e)),()=>{document.removeEventListener("click",e),Array.from(document.getElementsByClassName("modal-window")).forEach(t=>t.removeEventListener("click",e))}},[]),(0,a.useEffect)(()=>{"boolean"==typeof(null==f?void 0:f.watch(g))&&f.setValue(g,void 0)},[null==f?void 0:f.watch(g)]);let Q=()=>{_(""),document.getElementById(S).checked=!1},T=null!=(l=null==v?void 0:v.map(e=>"string"==typeof e?{text:e,value:e}:e).sort((e,t)=>e.text.localeCompare(t.text)))?l:[],D=Z?T.filter(e=>e.text.trim().toLocaleLowerCase().includes(Z)):T,K=T.filter(e=>I.includes(e.value)&&!D.includes(e));w&&A&&T.unshift({text:A,value:""});let F=T.filter(e=>I.some(t=>t==e.value)).map(e=>e.text).join(", ");return(0,r.jsxs)("div",{className:(0,o.QP)("w-full space-y-1 relative group flex flex-col gap-1 text-neutro-800",j),id:"".concat(S,"-container"),children:[(0,r.jsxs)("label",{"data-testid":"select",onKeyUp:e=>{if(["ArrowDown"].includes(e.key)){document.getElementById(S).checked=!0;let t=document.querySelector("#".concat(S,'-container input[type="text"]'));t&&t.focus(),e.preventDefault()}},onClick:()=>{let e=document.querySelector("#".concat(S,'-container input[type="text"]'));e&&e.focus()},children:[!!u&&(0,r.jsxs)("div",{className:"space-x-2 mb-2",children:[(0,r.jsx)("span",{className:(0,o.QP)("whitespace-nowrap text-neutro-600 text-sm",b,N?"text-erro-500":""),children:C?(0,r.jsxs)("span",{children:[u,(0,r.jsx)("span",{className:"text-erro-500",children:" *"})]}):(0,r.jsx)("span",{children:u})}),(0,r.jsx)(p.A,{text:P})]}),(0,r.jsx)("input",{type:"checkbox",className:"scale-0 dropdown-control absolute",id:S,name:g,disabled:!0===L||0===v.length,ref:t}),(0,r.jsxs)("div",{className:(0,o.QP)("cursor-pointer box-border transition-all border-1 border-neutro-600 gap-2 rounded-md text-neutro-800 text-sm h-12 items-center px-3 w-full flex flex-row justify-between bg-neutro-0","group-has-[.dropdown-control:focus]:ring-1 group-has-[.dropdown-control:focus]:ring-destaque-400 group-has-[.dropdown-control:focus]:border-destaque-400 group-has-[.dropdown-control:disabled]:border-neutro-300",k,N?"border-erro-500":""),children:[V,(0,r.jsx)("div",{className:"inset-0 flex-1 relative h-full",children:I.length>0?(0,r.jsx)("span",{className:"absolute leading-[44px] inset-0 text-left overflow-ellipsis whitespace-nowrap overflow-hidden group-has-[.dropdown-control:disabled]:text-neutro-300",children:F}):(0,r.jsx)("span",{className:"absolute leading-[44px] inset-0 text-left overflow-ellipsis whitespace-nowrap overflow-hidden group-has-[.dropdown-control:disabled]:text-neutro-300 text-sm text-neutro-400",children:w})}),R&&(0,r.jsx)("div",{className:"hover:bg-neutro-100 rounded-full p-1",onClick:e=>{e.preventDefault(),e.stopPropagation(),null==f||f.setValue(g,void 0),null==y||y({target:{value:void 0}})},children:(0,r.jsx)(x.w,{color:"#000",size:16})}),(0,r.jsx)(s.y,{size:20,className:"text-neutro-600 group-has-[.dropdown-control:checked]:rotate-180 transition-all group-has-[.dropdown-control:disabled]:text-neutro-300 "})]})]}),(0,r.jsx)("div",{className:(0,n.A)("backdrop-brightness-50 inset-0 fixed min-w-full w-fit z-40 lg:absolute","lg:inset-auto lg:z-10 lg:backdrop-brightness-0","hidden group-has-[.dropdown-control:checked]:block"),onClick:()=>Q(),children:(0,r.jsx)(c.A,{title:u,close:()=>Q,position:H,children:(0,r.jsxs)("div",{className:(0,n.A)("flex flex-col gap-2",q&&""),children:[q&&(0,r.jsx)("div",{children:(0,r.jsx)(d.k,{value:Z,placeholder:"Buscar",icon:(0,r.jsx)(i.W,{size:20}),onChange:e=>_(e.target.value.trimStart().toLocaleLowerCase())})}),(0,r.jsxs)("div",{className:"flex flex-col gap-2 max-h-[360px] overflow-y-auto",children:[K.map((e,t)=>(0,r.jsx)(m,{item:e,multipleChoice:E,formProperty:g,hookFormProperties:z,iconLeading:V,showSecondaryText:M},"".concat(e.value,"_").concat(e.text,"_").concat(t))),D.map((e,t)=>(0,r.jsx)(m,{item:e,multipleChoice:E,formProperty:g,hookFormProperties:z,iconLeading:V,showSecondaryText:M},"".concat(e.value,"_").concat(e.text,"_").concat(t)))]})]})})}),(0,r.jsx)(h.A,{error:N,info:B})]})}),m=e=>{let{item:t,hookFormProperties:l,iconLeading:o,multipleChoice:s,formProperty:a,hidden:c,showSecondaryText:d}=e;return(0,r.jsxs)("label",{className:(0,n.A)("selectItem group/checked",c&&"hidden"),children:[null!==t.value&&(0,r.jsx)("input",{type:s?"checkbox":"radio",name:a,className:(0,n.A)("peer scale-0 absolute"),value:t.value,...l(t.value)}),(0,r.jsxs)("div",{className:(0,n.A)("peer-focus:ring-2 whitespace-nowrap ring-inset peer-focus:ring-neutro-300 hover:bg-neutro-100 peer-checked:bg-destaque-100 px-4 w-full rounded-md flex flex-row gap-2 justify-start items-start cursor-pointer",d?"h-12 py-0.5":"h-10 py-2"),children:[o,!o&&s&&null!==t.value&&(0,r.jsx)(u.l,{}),(0,r.jsxs)("span",{className:"flex-1 text-start",children:[t.text,t.secondaryText&&(0,r.jsx)("div",{className:"text-xs",children:t.secondaryText})]})]})]})},w=v},12626:(e,t,l)=>{l.d(t,{A:()=>a,l:()=>n});var r=l(95155),o=l(52596),s=l(39688);let n=e=>{let{disabled:t}=e;return(0,r.jsx)("div",{onKeyUp:e=>{["Space","Enter"].includes(e.code)&&e.target.click()},tabIndex:0,className:(0,s.QP)((0,o.A)("bg-neutro-0 h-6 w-6 rounded-md border-1 border-neutro-400 relative flex-shrink-0 group-has-[input
1:checked]/checked:bg-destaque-400 group-has-[input:checked]/checked:border-0",t?"border-neutro-200":"")),children:(0,r.jsx)("div",{className:"absolute left-[8px] top-[4px] w-[9px] h-[12px] border-neutro-0 border-t-0 border-l-0 border-r-2 border-b-2 rotate-45"})})},a=e=>{let{label:t,name:l,value:o,defaultChecked:a,readOnly:c,onChange:d,className:i}=e;return(0,r.jsxs)("label",{className:(0,s.QP)("flex flex-row-reverse justify-end gap-2 cursor-pointer group/checked",i),children:[(0,r.jsx)("input",{id:"checkbox_".concat(l),onChange:d,type:"checkbox",name:l,value:o,defaultChecked:a,checked:void 0!==c?!!a:void 0,className:"invisible w-0"}),t,(0,r.jsx)(n,{})]})}},13316:(e,t,l)=>{l.d(t,{w:()=>o});var r=l(95155);let o=e=>{let{color:t="white",size:l=24}=e;return(0,r.jsx)("svg",{width:l,height:l,fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.39886 5.39872C5.73081 5.06677 6.269 5.06677 6.60094 5.39872L11.9999 10.7977L17.3989 5.39872C17.7308 5.06677 18.269 5.06677 18.6009 5.39872C18.9329 5.73066 18.9329 6.26885 18.6009 6.6008L13.202 11.9998L18.6009 17.3987C18.9329 17.7307 18.9329 18.2689 18.6009 18.6008C18.269 18.9327 17.7308 18.9327 17.3989 18.6008L11.9999 13.2018L6.60094 18.6008C6.269 18.9327 5.73081 18.9327 5.39886 18.6008C5.06692 18.2689 5.06692 17.7307 5.39886 17.3987L10.7978 11.9998L5.39886 6.6008C5.06692 6.26885 5.06692 5.73066 5.39886 5.39872Z",fill:t})})}},45025:(e,t,l)=>{l.d(t,{y:()=>o});var r=l(95155);let o=e=>{let{color:t="currentColor",size:l=24,className:o}=e;return(0,r.jsx)("svg",{width:l,height:l,fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:o,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.2636 9.86361C6.61508 9.51214 7.18492 9.51214 7.5364 9.86361L12 14.3272L16.4636 9.86361C16.8151 9.51214 17.3849 9.51214 17.7364 9.86361C18.0879 10.2151 18.0879 10.7849 17.7364 11.1364L12.6364 16.2364C12.4676 16.4052 12.2387 16.5 12 16.5C11.7613 16.5 11.5324 16.4052 11.3636 16.2364L6.2636 11.1364C5.91213 10.7849 5.91213 10.2151 6.2636 9.86361Z",fill:t})})}},75196:(e,t,l)=>{l.d(t,{W:()=>o});var r=l(95155);let o=e=>{let{color:t="currentColor",size:l=24}=e;return(0,r.jsx)("svg",{width:l,height:l,fill:"none",viewBox:"0 0 24 25",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M17.1527 15.5943H16.0686L15.6844 15.2238C17.0292 13.6595 17.8388 11.6286 17.8388 9.41938C17.8388 4.49314 13.8456 0.5 8.91938 0.5C3.99314 0.5 0 4.49314 0 9.41938C0 14.3456 3.99314 18.3388 8.91938 18.3388C11.1286 18.3388 13.1595 17.5292 14.7238 16.1844L15.0943 16.5686V17.6527L21.9554 24.5L24 22.4554L17.1527 15.5943ZM8.91938 15.5943C5.50257 15.5943 2.74443 12.8362 2.74443 9.41938C2.74443 6.00257 5.50257 3.24443 8.91938 3.24443C12.3362 3.24443 15.0943 6.00257 15.0943 9.41938C15.0943 12.8362 12.3362 15.5943 8.91938 15.5943Z",fill:t})})}}}]);
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.