PageSourceSearch

https://oma.mustankorkea.fi/e-services/mustankorkea/assets/index-zHSqeyfJ.js

js mustankorkea.fi collected 2026-10-02 12:02:30 UTC 4,295 bytes, 5 lines download raw bytes

1import{pl as k,L as O,m as C,a as U,fm as u,fn as m,x as D,i as I,a9 as L,S as j}from"./index-CqPNX-8v.js";import{g as P,w as R}from"./dom-t78iYdIf.js";import{b as E}from"./observers-EL31smf7.js";/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3v3.1.0 */const $=new Set,g={trace:0,debug:1,info:2,warn:4,error:8,off:10};function S(t){return g[t]>=g[k]}function l(t,...i){S(t)&&console[t].call(this,"%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...i)}let f;const F={debug:t=>l("debug",t),info:t=>l("info",t),warn:t=>l("warn",t),error:t=>l("error",t),trace:t=>l("trace",t),deprecated:M};function M(t,{component:i,name:s,suggested:e,removalVersion:n}){const a=`${t}:${t==="component"?"":i}${s}`;if($.has(a))return;$.add(a);const r=Array.isArray(e);r&&!f&&(f=new Intl.ListFormat("en",{style:"long",type:"disjunction"}));const o=`[${s}] ${t} is deprecated and will be removed in ${n==="future"?"a future version":`v${n}`}.${e?` Use ${r?f.format(e.map(c=>`"${c}"`)):`"${e}"`} instead.`:""}`;l("warn",o)}/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
5v3.1.0 */const N={flipRtl:"flip-rtl"},v={},b={},x={s:16,m:24,l:32};function w({icon:t,scale:i}){const s=x[i],e=T(t),n=e.charAt(e.length-1)==="F";return`${n?e.substring(0,e.length-1):e}${s}${n?"F":""}`}async function V(t){const i=w(t),s=y(i);if(s)return s;b[i]||(b[i]=fetch(L(`./assets/icon/${i}.json`)).then(n=>n.json()).catch(()=>(F.error(`${t.icon} (${t.scale}) icon failed to load`),"")));const e=await b[i];return v[i]=e,e}function A(t){return y(w(t))}function y(t){return v[t]}function T(t){const i=!isNaN(Number(t.charAt(0))),s=t.split("-");if(s.length>0){const e=/[a-z]/i;t=s.map((n,a)=>n.replace(e,function(r,o){return a===0&&o===0?r:r.toUpperCase()})).join("")}return i?`i${t}`:t}const _=I`:host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}`,d=class d extends O{constructor(){super(...arguments),this.visible=!1,this.flipRtl=!1,this.icon=null,this.preload=!1,this.scale="m"}connectedCallback(){if(super.connectedCallback(),this.preload){this.visible=!0,this.loadIconPathData();return}this.visible||this.waitUntilVisible(()=>{this.visible=!0,this.loadIconPathData()})}willUpdate(i){(i.has("icon")&&(this.hasUpdated||this.icon!==null)||i.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&this.loadIconPathData()}disconnectedCallback(){var i;super.disconnectedCallback(),(i=this.intersectionObserver)==null||i.disconnect(),this.intersectionObserver=null}async loadIconPathData(){const{icon:i,scale:s,visible:e}=this;if(!C()||!i||!e)return;const n={icon:i,scale:s},a=A(n)||await V(n);i===this.icon&&(this.pathData=a)}waitUntilVisible(i){if(this.intersectionObserver=E("intersection",s=>{s.forEach(e=>{e.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,i())})},{rootMargin:"50px"}),!this.intersectionObserver){i();return}this.intersectionObserver.observe(this.el)}render(){const{el:i,flipRtl:s,pathData:e,scale:n,textLabel:a}=this,r=P(i),o=x[n],c=!!a,z=[].concat(e||"");return this.el.ariaHidden=R(!c),this.el.ariaLabel=c?a:null,this.el.role=c?"img":null,D`<svg aria-hidden=true class=${U({[N.flipRtl]:r==="rtl"&&s,svg:!0})} fill=currentColor height=100% viewBox=${`0 0 ${o} ${o}`} width=100% xmlns=http://www.w3.org/2000/svg>${z.map(h=>typeof h=="string"?m`<path d=${h??u} />`:m`<path d=${h.d??u} opacity=${("opacity"in h?h.opacity:1)??u} />`)}</svg>`}};d.properties={pathData:16,visible:16,flipRtl:7,icon:3,preload:7,scale:3,textLabel:1},d.styles=_;let p=d;j("calcite-icon",p);const q=Object.freeze(Object.defineProperty({__proto__:null,Icon:p},Symbol.toStringTag,{value:"Module"}));
5export{q as i,F as m};

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.