PageSourceSearch

https://www.relbase.cl/_next/static/chunks/5540-582ec19a181d0556.js

js relbase.cl collected 2026-10-07 23:16:03 UTC 13,026 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5540],{77939:function(e,r,a){a.d(r,{P:function(){return l}});var t=a(57437);function n(e){let{isSelected:r,disableAnimation:a,...n}=e;return(0,t.jsx)("svg",{"aria-hidden":"true",role:"presentation",viewBox:"0 0 17 18",...n,children:(0,t.jsx)("polyline",{fill:"none",points:"1 9 7 14 15 4",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:r?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,style:!a&&r?{transition:"stroke-dashoffset 250ms linear 0.2s"}:{}})})}function i(e){let{isSelected:r,disableAnimation:a,...n}=e;return(0,t.jsx)("svg",{stroke:"currentColor",strokeWidth:3,viewBox:"0 0 24 24",...n,children:(0,t.jsx)("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function l(e){let{isIndeterminate:r,...a}=e;return(0,t.jsx)(r?i:n,{...a})}},62882:function(e,r,a){a.d(r,{J:function(){return n},z:function(){return t}});var[t,n]=(0,a(40280).k)({name:"CheckboxGroupContext",strict:!1})},35540:function(e,r,a){a.d(r,{K:function(){return s}});var t=a(77939),n=a(99431),i=a(29763),l=a(2265),o=a(57437),d=(0,i.Gp)((e,r)=>{let{Component:a,children:i,icon:d=(0,o.jsx)(t.P,{}),getBaseProps:s,getWrapperProps:u,getInputProps:c,getIconProps:f,getLabelProps:b}=(0,n.O)({...e,ref:r}),p="function"==typeof d?d(f()):(0,l.cloneElement)(d,f());return(0,o.jsxs)(a,{...s(),children:[(0,o.jsx)("input",{...c()}),(0,o.jsx)("span",{...u(),children:p}),i&&(0,o.jsx)("span",{...b(),children:i})]})});d.displayName="NextUI.Checkbox";var s=d},99431:function(e,r,a){a.d(r,{O:function(){return B}});var t=a(62882),n=a(2646),i=a(2265),l=a(45614),o=a(23709),d=a(99403),s=a(11323),u=a(73709),c=a(62319),f=a(5376),b=a(97765),p=a(27962),m=a(81945),v=a(46763),h=a(37932),g=a(91296),x=a(67808),y=a(19345);function w(e,r,a){let t=(0,h.Q3)({...e,value:r.isSelected}),{isInvalid:n,validationErrors:l,validationDetails:o}=t.displayValidation,{labelProps:d,inputProps:s,isSelected:u,isPressed:c,isDisabled:b,isReadOnly:p}=(0,y.O)({...e,isInvalid:n},r,a);(0,g.Q)(e,t,a);let{isIndeterminate:m,isRequired:v,validationBehavior:w="aria"}=e;(0,i.useEffect)(()=>{a.current&&(a.current.indeterminate=!!m)});let{pressProps:R}=(0,x.r)({isDisabled:b||p,onPress(){let{[h.tL]:r}=e,{commitValidation:a}=r||t;a()}});return{labelProps:(0,f.d)(d,R),inputProps:{...s,checked:u,"aria-required":v&&"aria"===w||void 0,required:v&&"native"===w},isSelected:u,isPressed:c,isDisabled:b,isReadOnly:p,isInvalid:n,validationErrors:l,validationDetails:o}}var R=a(83283),k=a(16562),C=a(41681),S=a(20427),I=a(82065),P=a(88491);function B(){var e,r,a,g,x,y,B,V;let D=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},O=(0,n.w)(),j=(0,t.J)(),{validationBehavior:N}=(0,I.jn)(P.q)||{},q=!!j,{as:E,ref:G,value:W="",children:z,icon:M,name:T,isRequired:A,isReadOnly:L=!1,autoFocus:_=!1,isSelected:F,size:Q=null!=(e=null==j?void 0:j.size)?e:"md",color:U=null!=(r=null==j?void 0:j.color)?r:"primary",radius:Z=null==j?void 0:j.radius,lineThrough:J=null!=(a=null==j?void 0:j.lineThrough)&&a,isDisabled:K=null!=(g=null==j?void 0:j.isDisabled)&&g,disableAnimation:X=null!=(y=null!=(x=null==j?void 0:j.disableAnimation)?x:null==O?void 0:O.disableAnimation)&&y,validationState:H,isInvalid:Y=H?"invalid"===H:null!=(B=null==j?void 0:j.isInvalid)&&B,isIndeterminate:$=!1,validationBehavior:ee=q?j.validationBehavior:null!=(V=null!=N?N:null==O?void 0:O.validationBehavior)?V:"native",defaultSelected:er,classNames:ea,className:et,onValueChange:en,validate:ei,...el}=D;j&&b.Ts&&(F&&(0,p.Z)("The Checkbox.Group is being used, `isSelected` will be ignored. Use the `value` of the Checkbox.Group instead.","Checkbox"),er&&(0,p.Z)("The Checkbox.Group is being used, `defaultSelected` will be ignored. Use the `defaultValue` of the Checkbox.Group instead.","Checkbox"));let eo=(0,i.useRef)(null),ed=(0,i.useRef)(null),es=D.onChange;q&&(es=(0,c.t)(()=>{j.groupState.resetValidation()},es));let eu=(0,i.useId)(),ec=(0,i.useMemo)(()=>({name:T,value:W,children:z,autoFocus:_,defaultSelected:er,isIndeterminate:$,isRequired:A,isInvalid:Y,isSelected:F,isDisabled:K,isReadOnly:L,"aria-label":(0,m.x)(el["aria-label"],z),"aria-labelledby":el["aria-labelledby"]||eu,onChange:en}),[T,W,z,_,er,$,A,Y,F,K,L,el["aria-label"],el["aria-labelledby"],eu,en]),ef=function(e={}){let{isReadOnly:r}=e,[a,t]=(0,l.z)(e.isSelected,e.defaultSelected||!1,e.onChange);return{isSelected:a,setSelected:function(e){r||t(e)},toggle:function(){r||t(!a)}}}(ec),eb={isInvalid:Y,isRequired:A,validate:ei,validationState:H,validationBehavior:ee},{inputProps:ep,isSelected:em,isDisabled:ev,isReadOnly:eh,isPressed:eg,isInvalid:ex}=q?function(e,r,a){var t,n;let l=(0,k.l)({isReadOnly:e.isReadOnly||r.isReadOnly,isSelected:r.isSelected(e.value),onChange(a){a?r.addValue(e.value):r.removeValue(e.value),e.onChange&&e.onChange(a)}}),{name:o,descriptionId:d,errorMessageId:s,validationBehavior:u}=(0,R.k).get(r);u=null!==(t=e.validationBehavior)&&void 0!==t?t:u;let{realtimeValidation:c}=(0,h.Q3)({...e,value:l.isSelected,name:void 0,validationBehavior:"aria"}),f=(0,i.useRef)(h.PS),b=()=>{r.setInvalid(e.value,c.isInvalid?c:f.current)};(0,i.useEffect)(b);let p=r.realtimeValidation.isInvalid?r.realtimeValidation:c,m="native"===u?r.displayValidation:p,v=w({...e,isReadOnly:e.isReadOnly||r.isReadOnly,isDisabled:e.isDisabled||r.isDisabled,name:e.name||o,isRequired:null!==(n=e.isRequired)&&void 0!==n?n:r.isRequired,validationBehavior:u,[h.tL]:{realtimeValidation:p,displayValidation:m,resetValidation:r.resetValidation,commitValidation:r.commitValidation,updateV
1alidation(e){f.current=e,b()}}},l,a);return{...v,inputProps:{...v.inputProps,"aria-describedby":[e["aria-describedby"],r.isInvalid?s:null,d].filter(Boolean).join(" ")||void 0}}}({...ec,...eb},j.groupState,ed):w({...ec,...eb},ef,ed),ey="invalid"===H||Y||ex,ew=!(ev||eh)&&eg,{hoverProps:eR,isHovered:ek}=(0,s.X)({isDisabled:ep.disabled}),{focusProps:eC,isFocused:eS,isFocusVisible:eI}=(0,u.F)({autoFocus:ep.autoFocus}),eP=(0,i.useMemo)(()=>(0,o.M)({color:U,size:Q,radius:Z,isInvalid:ey,lineThrough:J,isDisabled:ev,disableAnimation:X}),[U,Q,Z,ey,J,ev,X]);(0,C.G)(()=>{if(!ed.current)return;let e=!!ed.current.checked;ef.setSelected(e)},[ed.current]);let eB=(0,d.W)(es),eV=(0,i.useCallback)(e=>{if(eh||ev){e.preventDefault();return}null==eB||eB(e)},[eh,ev,eB]),eD=(0,v.W)(null==ea?void 0:ea.base,et),eO=(0,i.useCallback)(()=>({ref:eo,className:eP.base({class:eD}),"data-disabled":(0,b.PB)(ev),"data-selected":(0,b.PB)(em||$),"data-invalid":(0,b.PB)(ey),"data-hover":(0,b.PB)(ek),"data-focus":(0,b.PB)(eS),"data-pressed":(0,b.PB)(ew),"data-readonly":(0,b.PB)(ep.readOnly),"data-focus-visible":(0,b.PB)(eI),"data-indeterminate":(0,b.PB)($),...(0,f.d)(eR,el)}),[eP,eD,ev,em,$,ey,ek,eS,ew,ep.readOnly,eI,eR,el]),ej=(0,i.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"aria-hidden":!0,className:(0,v.W)(eP.wrapper({class:(0,v.W)(null==ea?void 0:ea.wrapper,null==e?void 0:e.className)}))}},[eP,null==ea?void 0:ea.wrapper]),eN=(0,i.useCallback)(()=>({ref:(0,S.l)(ed,G),...(0,f.d)(ep,eC),className:eP.hiddenInput({class:null==ea?void 0:ea.hiddenInput}),onChange:(0,c.t)(ep.onChange,eV)}),[ep,eC,eV,null==ea?void 0:ea.hiddenInput]),eq=(0,i.useCallback)(()=>({id:eu,className:eP.label({class:null==ea?void 0:ea.label})}),[eP,null==ea?void 0:ea.label,ev,em,ey]),eE=(0,i.useCallback)(()=>({isSelected:em,isIndeterminate:$,disableAnimation:X,className:eP.icon({class:null==ea?void 0:ea.icon})}),[eP,null==ea?void 0:ea.icon,em,$,X]);return{Component:E||"label",icon:M,children:z,isSelected:em,isDisabled:ev,isInvalid:ey,isFocused:eS,isHovered:ek,isFocusVisible:eI,getBaseProps:eO,getWrapperProps:ej,getInputProps:eN,getLabelProps:eq,getIconProps:eE}}},23709:function(e,r,a){a.d(r,{M:function(){return i},u:function(){return l}});var t=a(43640),n=a(21770),i=(0,t.tv)({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2 select-none",wrapper:["relative","inline-flex","items-center","justify-center","flex-shrink-0","overflow-hidden","before:content-['']","before:absolute","before:inset-0","before:border-solid","before:border-2","before:box-border","before:border-default","after:content-['']","after:absolute","after:inset-0","after:scale-50","after:opacity-0","after:origin-center","group-data-[selected=true]:after:scale-100","group-data-[selected=true]:after:opacity-100","group-data-[hover=true]:before:bg-default-100",...n.ID],hiddenInput:n.PZ,icon:"z-10 w-4 h-3 opacity-0 group-data-[selected=true]:opacity-100 pointer-events-none",label:"relative text-foreground select-none"},variants:{color:{default:{wrapper:"after:bg-default after:text-default-foreground text-default-foreground"},primary:{wrapper:"after:bg-primary after:text-primary-foreground text-primary-foreground"},secondary:{wrapper:"after:bg-secondary after:text-secondary-foreground text-secondary-foreground"},success:{wrapper:"after:bg-success after:text-success-foreground text-success-foreground"},warning:{wrapper:"after:bg-warning after:text-warning-foreground text-warning-foreground"},danger:{wrapper:"after:bg-danger after:text-danger-foreground text-danger-foreground"}},size:{sm:{wrapper:["w-4 h-4 me-2","rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"],label:"text-small",icon:"w-3 h-2"},md:{wrapper:["w-5 h-5 me-2","rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"],label:"text-medium",icon:"w-4 h-3"},lg:{wrapper:["w-6 h-6 me-2","rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"],label:"text-large",icon:"w-5 h-4"}},radius:{none:{wrapper:"rounded-none before:rounded-none after:rounded-none"},sm:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"]},md:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"]},lg:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"]}
1,full:{wrapper:"rounded-full before:rounded-full after:rounded-full"}},lineThrough:{true:{label:["inline-flex","items-center","justify-center","before:content-['']","before:absolute","before:bg-foreground","before:w-0","before:h-0.5","group-data-[selected=true]:opacity-60","group-data-[selected=true]:before:w-full"]}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isInvalid:{true:{wrapper:"before:border-danger",label:"text-danger"}},disableAnimation:{true:{wrapper:"transition-none",icon:"transition-none",label:"transition-none"},false:{wrapper:["before:transition-colors","group-data-[pressed=true]:scale-95","transition-transform","after:transition-transform-opacity","after:!ease-linear","after:!duration-200","motion-reduce:transition-none"],icon:"transition-opacity motion-reduce:transition-none",label:"transition-colors-opacity before:transition-width motion-reduce:transition-none"}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,lineThrough:!1}}),l=(0,t.tv)({slots:{base:"relative flex flex-col gap-2",label:"relative text-medium text-foreground-500",wrapper:"flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",description:"text-small text-foreground-400",errorMessage:"text-small text-danger"},variants:{isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isInvalid:{true:{description:"text-danger"}},disableAnimation:{true:{},false:{description:"transition-colors !duration-150 motion-reduce:transition-none"}}},defaultVariants:{isInvalid:!1,isRequired:!1}})},99403:function(e,r,a){a.d(r,{W:function(){return i}});var t=a(2265),n=a(41681);function i(e,r=[]){let a=(0,t.useRef)(e);return(0,n.G)(()=>{a.current=e}),(0,t.useCallback)((...e)=>{var r;return null==(r=a.current)?void 0:r.call(a,...e)},r)}},83283:function(e,r,a){a.d(r,{k:function(){return t}});let t=new WeakMap},16562:function(e,r,a){a.d(r,{l:function(){return n}});var t=a(2265);function n(e={}){var r;let{isReadOnly:a}=e,[n,i]=function(e,r,a){let[n,i]=(0,t.useState)(e||r),l=(0,t.useRef)(void 0!==e),o=void 0!==e;(0,t.useEffect)(()=>{l.current,l.current=o},[o]);let d=o?e:n,s=(0,t.useCallback)((e,...r)=>{let t=(e,...r)=>{a&&!Object.is(d,e)&&a(e,...r),o||(d=e)};"function"==typeof e?i((a,...n)=>{let i=e(o?d:a,...n);return(t(i,...r),o)?a:i}):(o||i(e),t(e,...r))},[o,d,a]);return[d,s]}(e.isSelected,e.defaultSelected||!1,e.onChange),[l]=(0,t.useState)(n);return{isSelected:n,defaultSelected:null!==(r=e.defaultSelected)&&void 0!==r?r:l,setSelected:function(e){a||i(e)},toggle:function(){a||i(!n)}}}}}]);

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.