PageSourceSearch

https://www.vive.dk/_nuxt/fc1e7a7.js

js vive.dk collected 2026-09-24 09:20:51 UTC 3,872 bytes, 2 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[52],{387:function(t,e,r){"use strict";function n(){return n=Object.assign||function(t){for(var e,r=1;r<arguments.length;r++)for(var n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},n.apply(this,arguments)}var a=["attrs","props","domProps"],o=["class","style","directives"],i=["on","nativeOn"],c=function(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}};t.exports=function(t){return t.reduce((function(t,e){for(var r in e)if(t[r])if(-1!==a.indexOf(r))t[r]=n({},t[r],e[r]);else if(-1!==o.indexOf(r)){var s=t[r]instanceof Array?t[r]:[t[r]],l=e[r]instanceof Array?e[r]:[e[r]];t[r]=s.concat(l)}else if(-1!==i.indexOf(r))for(var u in e[r])if(t[r][u]){var f=t[r][u]instanceof Array?t[r][u]:[t[r][u]],p=e[r][u]instanceof Array?e[r][u]:[e[r][u]];t[r][u]=f.concat(p)}else t[r][u]=e[r][u];else if("hook"==r)for(var d in e[r])t[r][d]=t[r][d]?c(t[r][d],e[r][d]):e[r][d];else t[r]=e[r];else t[r]=e[r];return t}),{})}},547:function(t,e,r){},614:function(t,e,r){"use strict";r(547)},680:function(t,e,r){"use strict";r.r(e);r(17),r(15),r(19),r(12),r(20);var n=r(387),a=r.n(n),o=r(10),i=r(4);r(44),r(5),r(18),r(21),r(140),r(67),r(34),r(27),r(65),r(24),r(14);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){Object(i.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var l={name:"BaseImg",functional:!0,props:{alt:{type:String,default:""},credits:{type:String,default:""},creditsId:{type:String,default:""},loadColor:{type:String,default:"#F1F1F1"},fit:{type:String,default:"cover",validator:function(t){return["cover","contain"].includes(t)}},wrapperClassNames:{type:[String,Object,Array],default:""}},render:function(t,e){var r=e.props,n=e.data,i=n.staticClass,c=void 0===i?"":i,l=n.class,u=void 0===l?null:l,f=n.staticStyle,p=void 0===f?"":f,d=n.style,v=void 0===d?null:d,g=n.attrs,y=void 0===g?{}:g,b=n.on,O=void 0===b?{}:b,h=n.nativeOn,w=void 0===h?{}:h,m=s(s({},r),y),j=m.width,P=m.loadColor,x=m.src,k=r.fit||y.fit,S=null;if(x&&"cover"===k)try{var A=new URL(x,"https://example.com").searchParams.get("rxy");if(A){var B=A.split(",").map((function(t){return 100*parseFloat(t)})),C=Object(o.a)(B,2),D=C[0],F=C[1];S="".concat(D,"% ").concat(F,"%")}}catch(t){}var I=null;if(P){var _=s(s({},r),y),E=_.height,N=_.ratio;N?E=Math.round(j/N):N="".concat(j," / ").concat(E);var z='<svg xmlns="http://www.w3.org/2000/svg" width="'.concat(j,'" height="').concat(E,'" viewBox="0 0 ').concat(j," ").concat(E,'"><rect width="100%" height="100%" fill="').concat(P,'" /></svg>'),J='url("data:image/svg+xml,'.concat(encodeURIComponent(z),'")');I="contain"===k?{"--background-image":J,"--background-size":k,"--background-position":"50% 50%"}:{"--background-color":P,"--background-size":"100% 100%"}}var R=y.imgAttrs||y["img-attrs"]||{},U=s(s({},R),{},{style:[R.style,S?{objectPosition:S}:null].filter(Boolean)}),L={class:["c-base-img",c,u].filter(Boolean),style:[I,p,v].filter(Boolean),attrs:s(s({},y),{},{alt:r.alt||"",fit:k,"img-attrs":U}),on:O,nativeOn:w},M=t("NuxtPictureExt",a()([{},L]));return r.credits?t("span",{class:["c-base-img__wrapper",r.wrapperClassNames].filter(Boolean)},[M,t("span",{attrs:{id:r.creditsId||null},class:"c-base-img__credits"},[r.credits])]):M}},u=(r(614),r(43)),f=Object(u.a)(l,undefined,undefined,!1,null,null,null);e.default=f.exports}}]);
2//# sourceMappingURL=fc1e7a7.js.map

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.