PageSourceSearch

https://participa.minmineria.gob.cl/assets/Link.BPZp71oa.chunk.js

js minmineria.gob.cl collected 2026-10-02 06:47:17 UTC 5,855 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`829619`}}catch{}})();import{o as e}from"./chunk.DWOaK67G.chunk.js";import{t}from"./react.CYZk_CtU.chunk.js";import{b as n}from"./cl-intl.C4y3pUTH.chunk.js";import{t as r}from"./jsx-runtime.Bznl9TfO.chunk.js";import{r as i}from"./history.BTnQtFIA.chunk.js";import{At as a}from"./component-library.CtG4SDMh.chunk.js";import{a as o}from"./Svg.BMI3pl-C.chunk.js";import{f as s,l as c,n as l,p as u,t as d}from"./useRouterState.ZDiFo8RS.chunk.js";import{a as ee,c as f,n as te}from"./ClientOnly.B2VOfhyH.chunk.js";var ne=`Error preloading route! ☝️`,p=r(),re=e(a(),1),m=e(t(),1),h=typeof window<`u`?m.useLayoutEffect:m.useEffect;function ie(e){let t=m.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function ae(e,t,n={},r={}){m.useEffect(()=>{if(!e.current||r.disabled||typeof IntersectionObserver!=`function`)return;let i=new IntersectionObserver(([e])=>{t(e)},n);return i.observe(e.current),()=>{i.disconnect()}},[t,n,r.disabled,e])}function oe(e){let t=m.useRef(null);return m.useImperativeHandle(e,()=>t.current,[]),t}function g(e,t){let n=l(),r=oe(t),{activeProps:i,inactiveProps:a,activeOptions:o,to:p,preload:h,preloadDelay:ie,hashScrollIntoView:g,replace:b,startTransition:x,resetScroll:S,viewTransition:C,children:w,target:T,disabled:E,style:D,className:O,onClick:k,onFocus:A,onMouseEnter:j,onMouseLeave:M,onTouchStart:N,ignoreBlocker:he,params:ge,search:_e,hash:ve,state:ye,mask:be,reloadDocument:xe,unsafeRelative:Se,from:Ce,_fromLocation:we,...P}=e,F=te(),Te=d({select:e=>e.location.search,structuralSharing:!0}),I=e.from,L=m.useMemo(()=>({...e,from:I}),[n,Te,I,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),R=m.useMemo(()=>n.buildLocation({...L}),[n,L]),z=R.maskedLocation?R.maskedLocation.publicHref:R.publicHref,B=R.maskedLocation?R.maskedLocation.external:R.external,V=m.useMemo(()=>fe(z,B,n.history,E),[E,B,z,n.history]),H=m.useMemo(()=>{if(V?.external)return u(V.href)?void 0:V.href;if(!pe(p)&&!(typeof p!=`string`||p.indexOf(`:`)===-1))try{return new URL(p),u(p)?void 0:p}catch{}},[p,V]),U=d({select:e=>{if(H)return!1;if(o?.exact){if(!ee(e.location.pathname,R.pathname,n.basepath))return!1}else{let t=f(e.location.pathname,n.basepath),r=f(R.pathname,n.basepath);if(!(t.startsWith(r)&&(t.length===r.length||t[r.length]===`/`)))return!1}return(o?.includeSearch??!0)&&!c(e.location.search,R.search,{partial:!o?.exact,ignoreUndefined:!o?.explicitUndefined})?!1:o?.includeHash?F&&e.location.hash===R.hash:!0}}),W=U?s(i,{})??se:_,G=U?_:s(a,{})??_,K=[O,W.className,G.className].filter(Boolean).join(` `),q=(D||W.style||G.style)&&{...D,...W.style,...G.style},[Ee,J]=m.useState(!1),Y=m.useRef(!1),X=e.reloadDocument||H?!1:h??n.options.defaultPreload,Z=ie??n.options.defaultPreloadDelay??0,Q=m.useCallback(()=>{n.preloadRoute({...L}).catch(e=>{console.warn(e),console.warn(ne)})},[n,L]);ae(r,m.useCallback(e=>{e?.isIntersecting&&Q()},[Q]),de,{disabled:!!E||X!==`viewport`}),m.useEffect(()=>{Y.current||!E&&X===`render`&&(Q(),Y.current=!0)},[E,Q,X]);let De=e=>{let t=e.currentTarget.getAttribute(`target`),r=T===void 0?t:T;if(!E&&!me(e)&&!e.defaultPrevented&&(!r||r===`_self`)&&e.button===0){e.preventDefault(),(0,re.flushSync)(()=>{J(!0)});let t=n.subscribe(`onResolved`,()=>{t(),J(!1)});n.navigate({...L,replace:b,resetScroll:S,hashScrollIntoView:g,startTransition:x,viewTransition:C,ignoreBlocker:he})}};if(H)return{...P,ref:r,href:H,...w&&{children:w},...T&&{target:T},...E&&{disabled:E},...D&&{style:D},...O&&{className:O},...k&&{onClick:k},...A&&{onFocus:A},...j&&{onMouseEnter:j},...M&&{onMouseLeave:M},...N&&{onTouchStart:N}};let $=e=>{E||X&&Q()},Oe=$,ke=e=>{if(!(E||!X))if(!Z)Q();else{let t=e.target;if(v.has(t))return;let n=setTimeout(()=>{v.delete(t),Q()},Z);v.set(t,n)}},Ae=e=>{if(E||!X||!Z)return;let t=e.target,n=v.get(t);n&&(clearTimeout(n),v.delete(t))};return{...P,...W,...G,href:V?.href,ref:r,onClick:y([k,De]),onFocus:y([A,$]),onMouseEnter:y([j,ke]),onMouseLeave:y([M,Ae]),onTouchStart:y([N,Oe]),disabled:!!E,target:T,...q&&{style:q},...K&&{className:K},...E&&ce,...U&&le,...F&&Ee&&ue}}var _={},se={className:`active`},ce={role:`link`,"aria-disabled":!0},le={"data-status":`active`,"aria-current":`page`},ue={"data-transitioning":`transitioning`},v=new WeakMap,de={rootMargin:`100px`},y=e=>t=>{for(let n of e)if(n){if(t.defaultPrevented)return;n(t)}};function fe(e,t,n,r){if(!r)return t?{href:e,external:!0}:{href:n.createHref(e)||`/`,external:!1}}function pe(e){if(typeof e!=`string`)return!1;let t=e.charCodeAt(0);return t===47?e.charCodeAt(1)!==47:t===46}function b(e){return m.forwardRef(function(t,n){return(0,p.jsx)(x,{...t,_asChild:e,ref:n})})}var x=m.forwardRef((e,t)=>
1{let{_asChild:n,...r}=e,{type:i,...a}=g(r,t),o=typeof r.children==`function`?r.children({isActive:a[`data-status`]===`active`}):r.children;if(!n){let{disabled:e,...t}=a;return m.createElement(`a`,t,o)}return m.createElement(n,a,o)});function me(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function S(e){return o(e)}var C=m.forwardRef(({scrollToTop:e,onlyActiveOnIndex:t,onClick:n,...r},a)=>(0,p.jsx)(`a`,{ref:a,...r,onClick:t=>{n?.(t),e&&i(`link`)}}));C.displayName=`ClRouterLinkInner`;var w=b(C),T=m.forwardRef((e,t)=>{let r=n(),{to:i,params:a,onlyActiveOnIndex:o,activeOptions:s,...c}=e,l=typeof i==`string`&&i.startsWith(`/`)&&!i.startsWith(`/$locale`)?i===`/`?`/$locale`:`/$locale${i}`:i,u=typeof a==`function`?e=>({locale:r,...a(e)}):a&&a!==!0?{locale:r,...a}:{locale:r},d=o?{exact:!0,...s}:s;return(0,p.jsx)(w,{...c,ref:t,to:l,params:u,activeOptions:d})});T.displayName=`ClRouterLink`;var E=T;export{h as a,x as i,E as n,ie as o,S as r,T as t};
2//# sourceMappingURL=Link.BPZp71oa.chunk.js.map

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.