PageSourceSearch

https://www.stjernen.no/assets/index-B-kVIXC8.js

js stjernen.no collected 2026-09-25 08:41:58 UTC 2,513 bytes, 1 lines download raw bytes

1import{j as n,z as o,D as l,ag as g,aa as d,C as r,I as u,B as h}from"./index-D-81gIvX.js";const y={props:{height:{type:[Number,String],default:100},width:{type:[Number,String],default:100},color:{type:String,default:"rgba(0, 0, 0, 0.12)"},animation:{type:String,default:"wave"}},setup(e){const i=n(()=>`width: ${e.width}px; height: ${e.height}px; background-color: ${e.color}`),t=n(()=>`animation--${e.animation}`);return{style:i,bindClass:t}}};function _(e,i,t,a,c,s){return r(),l("div",{class:d(["circle-loader",a.bindClass]),style:g(a.style)},null,6)}const b=o(y,[["render",_],["__scopeId","data-v-d783e4eb"]]),S={props:{height:{type:[Number,String],default:100},width:{type:[Number,String],default:200},color:{type:String,default:"rgba(0, 0, 0, 0.12)"},animation:{type:String,default:"wave"},type:{type:String,default:"rect"},rounded:{type:Boolean,default:!1},radius:{type:[Number,String],default:0}},setup(e){const i=n(()=>({width:Number.isInteger(e.width)?`${e.width}px`:e.width,height:`${e.height}px`,"background-color":`${e.color}`,"border-radius":e.rounded?`${e.radius}px`:0})),t=n(()=>`animation--${e.animation} shape--${e.type} shape--${e.rounded?"round":"flat"}`);return{style:i,bindClass:t}}};function w(e,i,t,a,c,s){return r(),l("div",{class:d(["loader",a.bindClass]),style:g(a.style)},null,6)}const v=o(S,[["render",w],["__scopeId","data-v-6053bb59"]]),C={components:{CircleLoader:b,SquareLoader:v},props:{type:{type:String,default:"rect"},size:{type:[Number,String],default:void 0},animation:{type:String,default:"wave"},height:{type:[Number,String],default:void 0},width:{type:[Number,String],default:void 0},color:{type:String,default:"rgba(0, 0, 0, 0.12)"},rounded:{type:Boolean,default:!1},radius:{type:[Number,String],default:8},insideClass:{type:String,default:""}},setup(e){const i=n(()=>e.size?e.size:e.width),t=n(()=>e.size?e.size:e.height);return{loaderWidth:i,loaderHeight:t}}},x={class:"loader"};function N(e,i,t,a,c,s){const f=h("circle-loader"),m=h("square-loader");return r(),l("div",x,[t.type==="circle"?(r(),u(f,{key:0,width:a.loaderWidth,height:a.loaderHeight,animation:t.animation,color:t.color,class:d([t.insideClass])},null,8,["width","height","animation","color","class"])):(r(),u(m,{key:1,width:a.loaderWidth,height:a.loaderHeight,animation:t.animation,type:t.type,color:t.color,rounded:t.rounded,radius:t.radius,class:d([t.insideClass])},null,8,["width","height","animation","type","color","rounded","radius","class"]))])}const k=o(C,[["render",N]]);export{k as default};

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.