PageSourceSearch

https://www.tax-free.no/chunk-KRGBYN6V.js

js tax-free.no collected 2026-10-06 15:04:41 UTC 3,424 bytes, 1 lines download raw bytes

1import{a as D}from"./chunk-4Z5MUJO3.js";import{$b as v,Aa as g,Ba as u,Cb as i,Pb as n,Pc as r,Qb as m,Rb as h,Tc as a,_b as k,cb as o,ob as l}from"./chunk-PMSJWPYZ.js";import{h as b}from"./chunk-NIF3MU5U.js";var d=b(D());var P=["*"],y=(()=>{class c{viewBox=a(220);strokeWidth=a(8);strokeColor=a("rgba(0, 0, 0, 0.1)");strokeColorProgress=a("#E3000F");sectionsPercent=a([20,30,50]);maskId=a("circle_mask");progressPercent=a(null,{transform:s=>(0,d.isNumber)(s)?(0,d.clamp)(s,0,1):null});radius=r(()=>(this.viewBox()-this.strokeWidth())/2);centerX=r(()=>this.viewBox()/2);centerY=r(()=>this.viewBox()/2);halfStrokeWidth=r(()=>this.strokeWidth()/2);circumference=r(()=>this.radius()*2*Math.PI);radiusMaskInner=r(()=>this.radius()-this.strokeWidth()-this.strokeWidth()-1);radiusRadialTrack=r(()=>this.radius()+this.strokeWidth());strokeDasharray=r(()=>this.sectionsPercent().map(s=>[`0 ${this.halfStrokeWidth()}`,`${s/100*this.circumference()-this.strokeWidth()}`,`${this.halfStrokeWidth()}`]).flat().join(" "));strokeDashoffset=r(()=>this.circumference()*.25);transformProgress=r(()=>`translate(${this.radius()+this.halfStrokeWidth()}, ${this.radius()})`);drawProgress=r(()=>{if(isNaN(this.progressPercent()))return"";let s=(0,d.clamp)(this.progressPercent()*360,0,359.99999),t=this.radius()+this.strokeWidth()+1,e=s*Math.PI/180,p=Math.sin(e)*t,f=Math.cos(e)*-t,M=s>180?1:0;return`M 0 0 v -${t} A ${t} ${t} 1 ${M} 1 ${p} ${f} z`});static \u0275fac=function(t){return new(t||c)};static \u0275cmp=l({type:c,selectors:[["trn-donut-chart"]],inputs:{viewBox:[1,"viewBox"],strokeWidth:[1,"strokeWidth"],strokeColor:[1,"strokeColor"],strokeColorProgress:[1,"strokeColorProgress"],sectionsPercent:[1,"sectionsPercent"],maskId:[1,"maskId"],progressPercent:[1,"progressPercent"]},ngContentSelectors:P,decls:12,vars:28,consts:[[1,"donut-chart"],["shape-rendering","geometricPrecision",1,"progress-radial"],["x","0","y","0","maskUnits","userSpaceOnUse"],["stroke-width","0","opacity","1"],["stroke","white","fill","transparent"],["stroke-width","0","opacity","1",1,"progress-radial-mask-inner"],["opacity","1",1,"progress-radial-track"],[1,"progress-radial-bar"],[1,"donut-chart-content"]],template:function(t,e){t&1&&(k(),n(0,"div",0),g(),n(1,"svg",1)(2,"defs")(3,"mask",2),h(4,"circle",3)(5,"circle",4)(6,"circle",5),m()(),n(7,"g"),h(8,"circle",6)(9,"path",7),m()(),u(),n(10,"div",8),v(11),m()()),t&2&&(o(),i("viewBox","0 0 "+e.viewBox()+" "+e.viewBox()),o(2),i("id",e.maskId())("width",e.viewBox())("height",e.viewBox()),o(),i("stroke",e.strokeColor())("r",e.radiusRadialTrack())("cx",e.centerX())("cy",e.centerY()),o(),i("id",e.maskId()+"_bar")("r",e.radius())("cx",e.centerX())("cy",e.centerY())("stroke-width",e.strokeWidth())("stroke-dasharray",e.strokeDasharray())("stroke-dashoffset",e.strokeDashoffset()),o(),i("r",e.radiusMaskInner())("cx",e.centerX())("cy",e.centerY())("fill",e.strokeColor()),o(),i("mask","url(#"+e.maskId()+")"),o(),i("r",e.radiusRadialTrack())("cx",e.centerX())("cy",e.centerY())("stroke-width",e.strokeWidth())("fill",e.strokeColor()),o(),i("transform",e.transformProgress())("d",e.drawProgress())("fill",e.strokeColorProgress()))},styles:[".donut-chart[_ngcontent-%COMP%]{position:relative}.donut-chart[_ngcontent-%COMP%]   .donut-chart-content[_ngcontent-%COMP%]{position:absolute;display:flex;inset:28px 20px;text-align:center;justify-content:center;align-items:center}"]})}return c})();export{y as a};

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.