PageSourceSearch

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

js tax-free.no collected 2026-10-06 15:04:30 UTC 4,300 bytes, 1 lines download raw bytes

1import{a as I}from"./chunk-4Z5MUJO3.js";import{A as T,E,Eb as g,Ec as w,F as f,Gb as _,Hb as C,J as $,Jb as h,Jc as v,Kb as M,Kc as q,Od as O,Pb as c,Pc as D,Qb as x,Rb as s,Tc as F,Uc as P,Ue as N,V as o,Wb as u,Xa as d,Zb as a,ca as z,cb as l,fa as W,fc as S,ga as p,gc as k,jc as B,nd as L,o as y,ob as H,u as i,ua as R,v as b}from"./chunk-PMSJWPYZ.js";import{h as A}from"./chunk-NIF3MU5U.js";var Q=A(I());var U=["container"],V=["sample"],j=()=>[];function G(t,r){if(t&1&&s(0,"div",5),t&2){let e=a(4);u("innerHTML",e.rollingText(),d)}}function J(t,r){if(t&1&&(s(0,"div",5),c(1,"div",6),h(2,G,1,1,"div",5,C),x()),t&2){let e=a(),n=a(2);u("innerHTML",n.rollingText(),d),l(2),M(w(1,j).constructor(e))}}function K(t,r){t&1&&h(0,J,4,2,null,null,C),t&2&&M(w(0,j).constructor(r-1))}function X(t,r){if(t&1&&(c(0,"div",3,0),v(2,"async"),c(3,"div",4),s(4,"div",5,1),g(6,K,2,1),v(7,"async"),x()()),t&2){let e,n=a();B("ready",q(2,4,n.isReady$)),l(4),u("innerHTML",n.rollingText(),d),l(2),_((e=q(7,6,n.sampleCount$))?6:-1,e)}}var ae=(()=>{class t{windowRef=R(N);marquee=F("");container=P("container");container$=O(this.container);sample=P("sample");sample$=O(this.sample);windowSize$=y(this.windowRef.isBrowser()).pipe(p(e=>e?T(this.windowRef.nativeWindow,"resize").pipe(W(null)):E),i(()=>({width:this.windowRef.nativeWindow.innerWidth,height:this.windowRef.nativeWindow.innerHeight})),$(0),o((e,n)=>(0,Q.isEqual)(e,n)),z({bufferSize:1,refCount:!0}));containerWidth$=this.windowSize$.pipe(p(()=>this.container$),f(e=>!!e),i(e=>e.nativeElement.offsetWidth),o());sampleWidth$=this.windowSize$.pipe(p(()=>this.sample$),f(e=>!!e),i(e=>e.nativeElement.offsetWidth),o());sampleCount$=b({container:this.containerWidth$,sample:this.sampleWidth$}).pipe(i(({container:e,sample:n})=>Math.ceil(e/n)),o());isReady$=this.sampleCount$.pipe(i(e=>e>0),o());rollingText=D(()=>this.marquee().split(",").join(" \u2014 ").concat(" \u2014 "));static \u0275fac=function(n){return new(n||t)};static \u0275cmp=H({type:t,selectors:[["trn-marquee"]],viewQuery:function(n,m){n&1&&S(m.container,U,5)(m.sample,V,5),n&2&&k(2)},inputs:{marquee:[1,"marquee"]},decls:1,vars:1,consts:[["container",""],["sample",""],[1,"marquee",3,"ready"],[1,"marquee"],[1,"wrapper"],[1,"item",3,"innerHTML"],[1,"mirror"]],template:function(n,m){n&1&&g(0,X,8,8,"div",2),n&2&&_(m.rollingText()?0:-1)},dependencies:[L],styles:['.marquee[_ngcontent-%COMP%]{overflow:hidden;position:relative;width:calc(100% - 32px);margin:0 auto;-webkit-user-select:none;user-select:none;visibility:hidden}.marquee.ready[_ngcontent-%COMP%]{visibility:visible}@media all and (min-width:992px){.marquee[_ngcontent-%COMP%]{width:calc(100% - 64px)}}.marquee[_ngcontent-%COMP%]:before, .marquee[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;bottom:0;width:43px;z-index:1}.marquee[_ngcontent-%COMP%]:before{left:0;background:linear-gradient(270deg,#fff0,#fff)}.marquee[_ngcontent-%COMP%]:after{right:0;background:linear-gradient(270deg,#fff,#fff0)}.marquee[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%], .marquee[_ngcontent-%COMP%]   .mirror[_ngcontent-%COMP%]{padding:8px 0;display:inline-flex;width:fit-content;flex:auto}@media all and (min-width:992px){.marquee[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%], .marquee[_ngcontent-%COMP%]   .mirror[_ngcontent-%COMP%]{padding:16px 0}}.marquee[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{transform:translate(-15%);min-width:100%;position:relative;animation:_ngcontent-%COMP%_scroll 5s linear 0s}.marquee[_ngcontent-%COMP%]   .mirror[_ngcontent-%COMP%]{position:absolute;top:0;left:100%}.marquee[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{font-size:16px;line-height:22px;letter-spacing:normal;padding-top:1px;padding-bottom:1px}@media all and (min-width:576px){.marquee[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{font-size:16px;line-height:28px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}}@media all and (min-width:992px){.marquee[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{font-size:18px;line-height:32px;letter-spacing:normal;padding-top:0;padding-bottom:0}}.marquee[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{float:left;flex-shrink:0;white-space:nowrap}@keyframes _ngcontent-%COMP%_scroll{0%{transform:translate(0)}to{transform:translate(-15%)}}']})}return t})();export{ae 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.