PageSourceSearch

https://www.klebuposten.no/_nuxt/pox.video.2c718ac99bdf1a817ea6.js

js klebuposten.no collected 2026-10-08 05:55:02 UTC 3,870 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[325],{1291:function(t,e,r){"use strict";r.r(e);var o=r(27),n={name:"TeaserVideo",components:{ImgComponent:o.a.ImgComponent,Duration:o.a.Duration,LabelComponent:o.a.LabelComponent},props:{content:{type:Object,required:!0},duration:{type:Number,required:!1},isLive:{type:Boolean,required:!1}},data(){var t,e;return{lowPowerMode:!1,reducedMotion:null!=(t=null==this||null==(e=this.$viewport)||null==(e=e.media)?void 0:e.reducedMotion)&&t}},computed:{poster:function(){return this.content.poster},sources:function(){return this.content.previewSources},isTallVideo:function(){var t;return!(null==(t=this.content.videoAsset.metadata)||!t.aspectRatio)&&Number(this.content.videoAsset.metadata.aspectRatio)<1},canShowTall:function(){var t=this.content.presentationProperties||{},e=t.forceWide,r=t.forceTall;return!e&&(!!r||this.isTallVideo)}},mounted(){var t;if(!this.lowPowerMode&&!this.reducedMotion){var e={once:!1,onlyTriggerIfisIntersecting:!1,rootMargin:.5*this.$viewport.innerHeight+"px 0px",threshold:0};null==(t=this.$intersectionObserver)||t.call(this,this.$el,(t=>t.isIntersecting?this.playTeaserVideo():this.pauseTeaserVideo()),e)}},methods:{playTeaserVideo(){this.$refs.video&&!this.$refs.video.playing&&this.$refs.video.play().catch((()=>this.lowPowerMode=!0))},pauseTeaserVideo(){this.$refs.video&&this.$refs.video.pause()}}},l=r(17),component=Object(l.a)(n,(function(){var t=this,e=t._self._c;return e("figure",{staticClass:"media teaser-video",class:{tall:t.canShowTall}},[t.lowPowerMode||t.reducedMotion?e("ImgComponent",{class:{tall:t.isTallVideo},attrs:{url:t.poster,useRatio:!1}}):e("video",{ref:"video",class:{tall:t.isTallVideo},attrs:{playsinline:"",muted:"",loop:"",preload:"metadata",disableremoteplayback:"",controlslist:"nodownload nofullscreen noremoteplayback",disablepictureinpicture:"",poster:t.poster},domProps:{muted:!0}},t._l(t.sources,(function(source,t){return e("source",{key:t,attrs:{src:source,type:"video/mp4"}})})),0),t._v(" "),t.isTallVideo?e("ImgComponent",{staticClass:"blurred-background",attrs:{url:t.poster,useRatio:!1}}):t._e(),t._v(" "),t.isLive?e("figcaption",{staticClass:"labels"},[e("LabelComponent",{staticClass:"signal",attrs:{html:"direkte"}})],1):t.duration?e("Duration",{attrs:{duration:t.duration}}):t._e()],1)}),[],!1,null,null,null);e.default=component.exports},1292:function(t,e,r){"use strict";r.r(e);r(967);var o={props:{duration:{type:Number,required:!1,default:0}},computed:{durationString(){var t=this.duration;if(t&&t>0){var e=Math.floor(t/1e3),r=Math.floor(e/3600),o=Math.floor(e%3600/60),n=e%60,l="";return r>0&&(l+=String(r).padStart(2,"0")+":"),l+=String(o).padStart(2,"0")+":"+String(n).padStart(2,"0")}return""}}},n=r(17),component=Object(n.a)(o,(function(){var t=this,e=t._self._c;return e("figcaption",{staticClass:"duration"},[e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",height:"1em",viewBox:"0 0 384 512"}},[e("path",{attrs:{d:"M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"}})]),t._v("\n  "+t._s(t.durationString)+"\n")])}),[],!1,null,null,null);e.default=component.exports},967:function(t,e,r){"use strict";var o=r(7),n=r(968).start;o({target:"String",proto:!0,forced:r(969)},{padStart:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}})},968:function(t,e,r){"use strict";var o=r(15),n=r(108),l=r(35),d=r(532),c=r(49),h=o(d),v=o("".slice),f=Math.ceil,m=function(t){return function(e,r,o){var d=l(c(e)),m=n(r),w=d.length;if(m<=w)return d;var M,S,y=void 0===o?" ":l(o);return""===y?d:((S=h(y,f((M=m-w)/y.length))).length>M&&(S=v(S,0,M)),t?d+S:S+d)}};t.exports={start:m(!1),end:m(!0)}},969:function(t,e,r){"use strict";var o=r(87);t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(o)}}]);

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.