PageSourceSearch

https://www.lydogbilde.no/wp-content/plugins/login-with-vipps/js/vipps-checkout-button.js?ver=1782387992

js lydogbilde.no collected 2026-10-02 10:05:02 UTC 47,271 bytes, 67 lines download raw bytes

1"use strict";(()=>{var jo=Object.create,de=Object.freeze,z=Object.defineProperty;var Fo=Object.getOwnPropertyDescriptor;var fe=(s,t)=>(t=Symbol[s])?t:Symbol.for("Symbol."+s),F=s=>{throw TypeError(s)};var ve=(s,t,e)=>t in s?z(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var pe=(s,t)=>z(s,"name",{value:t,configurable:!0});var nt=(s,t)=>{for(var e in t)z(s,e,{get:t[e],enumerable:!0})};var at=s=>{var t;return[,,,jo((t=s==null?void 0:s[fe("metadata")])!=null?t:null)]},ue=["class","method","getter","setter","accessor","field","value","get","set"],q=s=>s!==void 0&&typeof s!="function"?F("Function expected"):s,Io=(s,t,e,o,r)=>({kind:ue[s],name:t,metadata:o,addInitializer:i=>e._?F("Already initialized"):r.push(q(i||null))}),Do=(s,t)=>ve(t,fe("metadata"),s[3]),v=(s,t,e,o)=>{for(var r=0,i=s[t>>1],n=i&&i.length;r<n;r++)t&1?i[r].call(e):o=i[r].call(e,o);return o},$=(s,t,e,o,r,i)=>{var n,d,c,h,f,p=t&7,x=!!(t&8),y=!!(t&16),L=p>3?s.length+1:p?x?1:2:0,le=ue[p+5],ce=p>3&&(s[L-1]=[]),No=s[L]||(s[L]=[]),S=p&&(!y&&!x&&(r=r.prototype),p<5&&(p>3||!y)&&Fo(p<4?r:{get[e](){return me(this,i)},set[e](_){return he(this,i,_)}},e));p?y&&p<4&&pe(i,(p>2?"set ":p>1?"get ":"")+e):pe(r,e);for(var yt=o.length-1;yt>=0;yt--)h=Io(p,e,c={},s[3],No),p&&(h.static=x,h.private=y,f=h.access={has:y?_=>Vo(r,_):_=>e in _},p^3&&(f.get=y?_=>(p^1?me:qo)(_,r,p^4?i:S.get):_=>_[e]),p>2&&(f.set=y?(_,$t)=>he(_,r,$t,p^4?i:S.set):(_,$t)=>_[e]=$t)),d=(0,o[yt])(p?p<4?y?i:S[le]:p>4?void 0:{get:S.get,set:S.set}:r,h),c._=1,p^4||d===void 0?q(d)&&(p>4?ce.unshift(d):p?y?i=d:S[le]=d:r=d):typeof d!="object"||d===null?F("Object expected"):(q(n=d.get)&&(S.get=n),q(n=d.set)&&(S.set=n),q(n=d.init)&&ce.unshift(n));return p||Do(s,r),S&&z(r,e,S),y?p^4?i:S:r},B=(s,t,e)=>ve(s,typeof t!="symbol"?t+"":t,e),xt=(s,t,e)=>t.has(s)||F("Cannot "+e),Vo=(s,t)=>Object(t)!==t?F('Cannot use the "in" operator on this value'):s.has(t),me=(s,t,e)=>(xt(s,t,"read from private field"),e?e.call(s):t.get(s)),w=(s,t,e)=>t.has(s)?F("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),he=(s,t,e,o)=>(xt(s,t,"write to private field"),o?o.call(s,e):t.set(s,e),e),qo=(s,t,e)=>(xt(s,t,"access private method"),e);var a=(s,t)=>de(z(s,"raw",{value:de(t||s.slice())}));var lt=globalThis,ct=lt.ShadowRoot&&(lt.ShadyCSS===void 0||lt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_t=Symbol(),ge=new WeakMap,W=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==_t)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(ct&&t===void 0){let o=e!==void 0&&e.length===1;o&&(t=ge.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ge.set(e,t))}return t}toString(){return this.cssText}},be=s=>new W(typeof s=="string"?s:s+"",void 0,_t),M=(s,...t)=>{let e=s.length===1?s[0]:t.reduce((o,r,i)=>o+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+s[i+1],s[0]);return new W(e,s,_t)},ye=(s,t)=>{if(ct)s.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let o=document.createElement("style"),r=lt.litNonce;r!==void 0&&o.setAttribute("nonce",r),o.textContent=e.cssText,s.appendChild(o)}},wt=ct?s=>s:s=>s instanceof CSSStyleSheet?(t=>{let e="";for(let o of t.cssRules)e+=o.cssText;return be(e)})(s):s;var{is:zo,defineProperty:Bo,getOwnPropertyDescriptor:Wo,getOwnPropertyNames:Zo,getOwnPropertySymbols:Ko,getPrototypeOf:Jo}=Object,k=globalThis,$e=k.trustedTypes,Xo=$e?$e.emptyScript:"",At=k.reactiveElementPolyfillSupport,Z=(s,t)=>s,K={toAttribute(s,t){switch(t){case Boolean:s=s?Xo:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch{e=null}}return e}},dt=(s,t)=>!zo(s,t),xe={attribute:!0,type:String,converter:K,reflect:!1,useDefault:!1,hasChanged:dt},_e,we;(_e=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(we=k.litPropertyMetadata)!=null||(k.litPropertyMetadata=new WeakMap);var E=class extends HTMLElement{static addInitializer(t){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=xe){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let o=Symbol(),r=this.getPropertyDescriptor(t,o,e);r!==void 0&&Bo(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){var n;let{get:r,set:i}=(n=Wo(this.prototype,t))!=null?n:{get(){return this[e]},set(d){this[e]=d}};return{get:r,set(d){let c=r==null?void 0:r.call(this);i==null||i.call(this,d),this.requestUpdate(t,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return(e=this.elementProperties.get(t))!=null?e:xe}static _$Ei(){if(this.hasOwnProperty(Z("elementProperties")))return;let t=Jo(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Z("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Z("properties"))){let e=this.properties,o=[...Zo(e),...Ko(e)];for(let r of o)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[o,r]of e)this.elementProperties.set(o,r)}this._$Eh=new Map;for(let[e,o]of this.elementProperties){let r=this._$Eu(e,o);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];
vendor: 5,024 bytes, line 1
1if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let r of o)e.unshift(wt(r))}else t!==void 0&&e.push(wt(t));return e}static _$Eu(t,e){let o=e.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e,o;((e=this._$EO)!=null?e:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((o=t.hostConnected)==null||o.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var e;let t=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return ye(t,this.constructor.elementStyles),t}connectedCallback(){var t,e;(t=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(o=>{var r;return(r=o.hostConnected)==null?void 0:r.call(o)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var o;return(o=e.hostDisconnected)==null?void 0:o.call(e)})}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$ET(t,e){var i;let o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(r!==void 0&&o.reflect===!0){let n=(((i=o.converter)==null?void 0:i.toAttribute)!==void 0?o.converter:K).toAttribute(e,o.type);this._$Em=t,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,e){var i,n,d;let o=this.constructor,r=o._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let c=o.getPropertyOptions(r),h=typeof c.converter=="function"?{fromAttribute:c.converter}:((i=c.converter)==null?void 0:i.fromAttribute)!==void 0?c.converter:K;this._$Em=r;let f=h.fromAttribute(e,c.type);this[r]=(d=f!=null?f:(n=this._$Ej)==null?void 0:n.get(r))!=null?d:f,this._$Em=null}}requestUpdate(t,e,o,r=!1,i){var n,d;if(t!==void 0){let c=this.constructor;if(r===!1&&(i=this[t]),o!=null||(o=c.getPropertyOptions(t)),!(((n=o.hasChanged)!=null?n:dt)(i,e)||o.useDefault&&o.reflect&&i===((d=this._$Ej)==null?void 0:d.get(t))&&!this.hasAttribute(c._$Eu(t,o))))return;this.C(t,e,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:o,reflect:r,wrapped:i},n){var d,c,h;o&&!((d=this._$Ej)!=null?d:this._$Ej=new Map).has(t)&&(this._$Ej.set(t,(c=n!=null?n:e)!=null?c:this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&((h=this._$Eq)!=null?h:this._$Eq=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var o,r;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((o=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[n,d]of this._$Ep)this[n]=d;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,d]of i){let{wrapped:c}=d,h=this[n];c!==!0||this._$AL.has(n)||h===void 0||this.C(n,void 0,d,h)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(r=this._$EO)==null||r.forEach(i=>{var n;return(n=i.hostUpdate)==null?void 0:n.call(i)}),this.update(e)):this._$EM()}catch(i){throw t=!1,this._$EM(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(o=>{var r;return(r=o.hostUpdated)==null?void 0:r.call(o)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}},Ae;E.elementStyles=[],E.shadowRootOptions={mode:"open"},E[Z("elementProperties")]=new Map,E[Z("finalized")]=new Map,At==null||At({ReactiveElement:E}),((Ae=k.reactiveElementVersions)!=null?Ae:k.reactiveElementVersions=[]).push("2.1.2");var X=globalThis,Se=s=>s,pt=X.trustedTypes,Ee=pt?pt.createPolicy("lit-html",{createHTML:s=>s}):void 0,Re="$lit$",P="lit$".concat(Math.random().toFixed(9).slice(2),"$"),Ue="?"+P,Go="<".concat(Ue,">"),O=document,G=()=>O.createComment(""),Q=s=>s===null||typeof s!="object"&&typeof s!="function",Mt=Array.isArray,Qo=s=>Mt(s)||typeof(s==null?void 0:s[Symbol.iterator])=="function",St="[ 	\n\f\r]",J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ce=/-->/g,Le=/>/g,R=RegExp(">|".concat(St,"(?:([^\\s\"'>=/]+)(").concat(St,"*=").concat(St,"*(?:[^ 	\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),ke=/'/g,Pe=/"/g,Oe=/^(?:script|style|textarea|title)$/i,Rt=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}
vendor: 4,679 bytes, line 1
1),l=Rt(1),_r=Rt(2),wr=Rt(3),H=Symbol.for("lit-noChange"),g=Symbol.for("lit-nothing"),Te=new WeakMap,U=O.createTreeWalker(O,129);function He(s,t){if(!Mt(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ee!==void 0?Ee.createHTML(t):t}var Yo=(s,t)=>{let e=s.length-1,o=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=J;for(let d=0;d<e;d++){let c=s[d],h,f,p=-1,x=0;for(;x<c.length&&(n.lastIndex=x,f=n.exec(c),f!==null);)x=n.lastIndex,n===J?f[1]==="!--"?n=Ce:f[1]!==void 0?n=Le:f[2]!==void 0?(Oe.test(f[2])&&(r=RegExp("</"+f[2],"g")),n=R):f[3]!==void 0&&(n=R):n===R?f[0]===">"?(n=r!=null?r:J,p=-1):f[1]===void 0?p=-2:(p=n.lastIndex-f[2].length,h=f[1],n=f[3]===void 0?R:f[3]==='"'?Pe:ke):n===Pe||n===ke?n=R:n===Ce||n===Le?n=J:(n=R,r=void 0);let y=n===R&&s[d+1].startsWith("/>")?" ":"";i+=n===J?c+Go:p>=0?(o.push(h),c.slice(0,p)+Re+c.slice(p)+P+y):c+P+(p===-2?d:y)}return[He(s,i+(s[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Y=class s{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,n=0,d=t.length-1,c=this.parts,[h,f]=Yo(t,e);if(this.el=s.createElement(h,o),U.currentNode=this.el.content,e===2||e===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(r=U.nextNode())!==null&&c.length<d;){if(r.nodeType===1){if(r.hasAttributes())for(let p of r.getAttributeNames())if(p.endsWith(Re)){let x=f[n++],y=r.getAttribute(p).split(P),L=/([.?@])?(.*)/.exec(x);c.push({type:1,index:i,name:L[2],strings:y,ctor:L[1]==="."?Lt:L[1]==="?"?kt:L[1]==="@"?Pt:D}),r.removeAttribute(p)}else p.startsWith(P)&&(c.push({type:6,index:i}),r.removeAttribute(p));if(Oe.test(r.tagName)){let p=r.textContent.split(P),x=p.length-1;if(x>0){r.textContent=pt?pt.emptyScript:"";for(let y=0;y<x;y++)r.append(p[y],G()),U.nextNode(),c.push({type:2,index:++i});r.append(p[x],G())}}}else if(r.nodeType===8)if(r.data===Ue)c.push({type:2,index:i});else{let p=-1;for(;(p=r.data.indexOf(P,p+1))!==-1;)c.push({type:7,index:i}),p+=P.length-1}i++}}static createElement(t,e){let o=O.createElement("template");return o.innerHTML=t,o}};function I(s,t,e=s,o){var n,d,c;if(t===H)return t;let r=o!==void 0?(n=e._$Co)==null?void 0:n[o]:e._$Cl,i=Q(t)?void 0:t._$litDirective$;return(r==null?void 0:r.constructor)!==i&&((d=r==null?void 0:r._$AO)==null||d.call(r,!1),i===void 0?r=void 0:(r=new i(s),r._$AT(s,e,o)),o!==void 0?((c=e._$Co)!=null?c:e._$Co=[])[o]=r:e._$Cl=r),r!==void 0&&(t=I(s,r._$AS(s,t.values),r,o)),t}var Ct=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var h;let{el:{content:e},parts:o}=this._$AD,r=((h=t==null?void 0:t.creationScope)!=null?h:O).importNode(e,!0);U.currentNode=r;let i=U.nextNode(),n=0,d=0,c=o[0];for(;c!==void 0;){if(n===c.index){let f;c.type===2?f=new tt(i,i.nextSibling,this,t):c.type===1?f=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(f=new Tt(i,this,t)),this._$AV.push(f),c=o[++d]}n!==(c==null?void 0:c.index)&&(i=U.nextNode(),n++)}return U.currentNode=O,r}p(t){let e=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},tt=class s{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this._$Cv}constructor(t,e,o,r){var i;this.type=2,this._$AH=g,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=(i=r==null?void 0:r.isConnected)!=null?i:!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=I(this,t,e),Q(t)?t===g||t==null||t===""?(this._$AH!==g&&this._$AR(),this._$AH=g):t!==this._$AH&&t!==H&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Qo(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==g&&Q(this._$AH)?this._$AA.nextSibling.data=t:this.T(O.createTextNode(t)),this._$AH=t}$(t){var i;let{values:e,_$litType$:o}=t,r=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Y.createElement(He(o.h,o.h[0]),this.options)),o);if(((i=this._$AH)==null?void 0:i._$AD)===r)this._$AH.p(e);else{let n=new Ct(r,this),d=n.u(this.options);n.p(e),this.T(d),this._$AH=n}}_$AC(t){let e=Te.get(t.strings);return e===void 0&&Te.set(t.strings,e=new Y(t)),e}k(t){Mt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,o,r=0;for(let i of t)r===e.length?e.push(o=new s(this.O(G()),this.O(G()),this,this.options)):o=e[r],o._$AI(i),r++;r<e.length&&(this._$AR(o&&o._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var o;
1for((o=this._$AP)==null?void 0:o.call(this,!1,!0,e);t!==this._$AB;){let r=Se(t).nextSibling;Se(t).remove(),t=r}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}},D=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=g,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=g}_$AI(t,e=this,o,r){let i=this.strings,n=!1;if(i===void 0)t=I(this,t,e,0),n=!Q(t)||t!==this._$AH&&t!==H,n&&(this._$AH=t);else{let d=t,c,h;for(t=i[0],c=0;c<i.length-1;c++)h=I(this,d[o+c],e,c),h===H&&(h=this._$AH[c]),n||(n=!Q(h)||h!==this._$AH[c]),h===g?t=g:t!==g&&(t+=(h!=null?h:"")+i[c+1]),this._$AH[c]=h}n&&!r&&this.j(t)}j(t){t===g?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}},Lt=class extends D{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===g?void 0:t}},kt=class extends D{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==g)}},Pt=class extends D{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){var n;if((t=(n=I(this,t,e,0))!=null?n:g)===H)return;let o=this._$AH,r=t===g&&o!==g||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==g&&(o===g||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,o;typeof this._$AH=="function"?this._$AH.call((o=(e=this.options)==null?void 0:e.host)!=null?o:this.element,t):this._$AH.handleEvent(t)}},Tt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){I(this,t)}};var Et=X.litHtmlPolyfillSupport,Me;Et==null||Et(Y,tt),((Me=X.litHtmlVersions)!=null?Me:X.litHtmlVersions=[]).push("3.3.2");var Ne=(s,t,e)=>{var i,n;let o=(i=e==null?void 0:e.renderBefore)!=null?i:t,r=o._$litPart$;if(r===void 0){let d=(n=e==null?void 0:e.renderBefore)!=null?n:null;o._$litPart$=r=new tt(t.insertBefore(G(),d),d,void 0,e!=null?e:{})}return r._$AI(s),r};var N=globalThis,T=class extends E{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,o;let t=super.createRenderRoot();return(o=(e=this.renderOptions).renderBefore)!=null||(e.renderBefore=t.firstChild),t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ne(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return H}},je;T._$litElement$=!0,T.finalized=!0,(je=N.litElementHydrateSupport)==null||je.call(N,{LitElement:T});var Ut=N.litElementPolyfillSupport;Ut==null||Ut({LitElement:T});var Fe;((Fe=N.litElementVersions)!=null?Fe:N.litElementVersions=[]).push("4.2.2");var mt=s=>(t,e)=>{e!==void 0?e.addInitializer(()=>{customElements.define(s,t)}):customElements.define(s,t)};var tr={attribute:!0,type:String,converter:K,reflect:!1,hasChanged:dt},er=(s=tr,t,e)=>{let{kind:o,metadata:r}=e,i=globalThis.litPropertyMetadata.get(r);if(i===void 0&&globalThis.litPropertyMetadata.set(r,i=new Map),o==="setter"&&((s=Object.create(s)).wrapped=!0),i.set(e.name,s),o==="accessor"){let{name:n}=e;return{set(d){let c=t.get.call(this);t.set.call(this,d),this.requestUpdate(n,c,s,!0,d)},init(d){return d!==void 0&&this.C(n,void 0,s,d),d}}}if(o==="setter"){let{name:n}=e;return function(d){let c=this[n];t.call(this,d),this.requestUpdate(n,c,s,!0,d)}}throw Error("Unsupported decorator location: "+o)};function A(s){return(t,e)=>typeof e=="object"?er(s,t,e):((o,r,i)=>{let n=r.hasOwnProperty(i);return r.constructor.createProperty(i,o),n?Object.getOwnPropertyDescriptor(r,i):void 0})(s,t,e)}function ht(s){return A({...s,state:!0,attribute:!1})}var et="lit-localize-status";var Ie=s=>
vendor: 4,263 bytes, line 1
1typeof s!="string"&&"strTag"in s,vt=(s,t,e)=>{let o=s[0];for(let r=1;r<s.length;r++)o+=t[e?e[r-1]:r-1],o+=s[r];return o};var st=(s=>Ie(s)?vt(s.strings,s.values):s);var u=st,De=!1;function Ot(s){if(De)throw new Error("lit-localize can only be configured once");u=s,De=!0}var Ht=class{constructor(t){this.__litLocalizeEventHandler=e=>{e.detail.status==="ready"&&this.host.requestUpdate()},this.host=t}hostConnected(){window.addEventListener(et,this.__litLocalizeEventHandler)}hostDisconnected(){window.removeEventListener(et,this.__litLocalizeEventHandler)}},sr=s=>s.addController(new Ht(s)),Ve=sr;var qe=()=>(s,t)=>(s.addInitializer(Ve),s);var ot=class{constructor(){this.settled=!1,this.promise=new Promise((t,e)=>{this._resolve=t,this._reject=e})}resolve(t){this.settled=!0,this._resolve(t)}reject(t){this.settled=!0,this._reject(t)}};var C=[];for(let s=0;s<256;s++)C[s]=(s>>4&15).toString(16)+(s&15).toString(16);function ze(s){let t=0,e=8997,o=0,r=33826,i=0,n=40164,d=0,c=52210;for(let h=0;h<s.length;h++)e^=s.charCodeAt(h),t=e*435,o=r*435,i=n*435,d=c*435,i+=e<<8,d+=r<<8,o+=t>>>16,e=t&65535,i+=o>>>16,r=o&65535,c=d+(i>>>16)&65535,n=i&65535;return C[c>>8]+C[c&255]+C[n>>8]+C[n&255]+C[r>>8]+C[r&255]+C[e>>8]+C[e&255]}var or="�",rr="h",ir="s";function Be(s,t){return(t?rr:ir)+ze(typeof s=="string"?s:s.join(or))}var We=new WeakMap,Ze=new Map;function Ke(s,t,e){var o;if(s){let r=(o=e==null?void 0:e.id)!=null?o:nr(t),i=s[r];if(i){if(typeof i=="string")return i;if("strTag"in i)return vt(i.strings,t.values,i.values);{let n=We.get(i);return n===void 0&&(n=i.values,We.set(i,n)),{...i,values:n.map(d=>t.values[d])}}}}return st(t)}function nr(s){let t=typeof s=="string"?s:s.strings,e=Ze.get(t);return e===void 0&&(e=Be(t,typeof s!="string"&&!("strTag"in s)),Ze.set(t,e)),e}function Nt(s){window.dispatchEvent(new CustomEvent(et,{detail:s}))}var gt="",rt,Je,bt,jt,Xe,j=new ot;j.resolve();var ut=0,Ge=s=>(Ot(((t,e)=>Ke(Xe,t,e))),gt=Je=s.sourceLocale,bt=new Set(s.targetLocales),bt.add(s.sourceLocale),jt=s.loadLocale,{getLocale:ar,setLocale:lr}),ar=()=>gt,lr=s=>{if(s===(rt!=null?rt:gt))return j.promise;if(!bt||!jt)throw new Error("Internal error");if(!bt.has(s))throw new Error("Invalid locale code");ut++;let t=ut;return rt=s,j.settled&&(j=new ot),Nt({status:"loading",loadingLocale:s}),(s===Je?Promise.resolve({templates:void 0}):jt(s)).then(o=>{ut===t&&(gt=s,rt=void 0,Xe=o.templates,Nt({status:"ready",readyLocale:s}),j.resolve())},o=>{ut===t&&(Nt({status:"error",errorLocale:s,errorMessage:o.toString()}),j.reject(o))}),j.promise};var Qe=["dk","en","fi","sv"],Ye=["dk","en","fi","no","sv"];var Ft={};nt(Ft,{templates:()=>cr});var ts,es,ss,os,rs,is,ns,as,ls,cs,ds,ps,cr={h0b45fb4dd22412db:l(ts||(ts=a(["Continue as ",""])),0),h35f5881498b838de:l(es||(es=a(["<span>Buy now with </span>",""])),0),h3cd66d895363ecf8:l(ss||(ss=a([""," <span>Continue as ","</span>"])),0,1),h5b8dfcf8b674f52a:l(os||(os=a(["<span>Donate with </span>",""])),0),h7ddf1f684b62d846:l(rs||(rs=a(["Confirm"]))),h845f0251306f0133:l(is||(is=a(["<span>Confirm with </span>",""])),0),h8a809d54ecbeeb11:l(ns||(ns=a(["<span>Register with </span>",""])),0),h915a470a464b727a:l(as||(as=a(["<span>Pay with </span>",""])),0),ha5401929e733e3f5:l(ls||(ls=a(["Donate"]))),hc028d0ea5b6ec27a:l(cs||(cs=a(["<span>Log in with </span>",""])),0),hc1e276dd54f4ca70:l(ds||(ds=a(["Continue"]))),hf0e9543eeebb73a9:l(ps||(ps=a(["<span>Continue with </span>",""])),0),s1792f48147e210a5:"Buy now",s21aa0c8945fd66cf:"MobilePay",s485ead2f3d011f25:"Log in",s88573d262f479e00:"Register",scacb8dc5183f0b51:"Pay"};var It={};nt(It,{templates:()=>dr});var ms,hs,fs,vs,us,gs,bs,ys,$s,xs,_s,ws,dr={h0b45fb4dd22412db:l(ms||(ms=a(["Jatka nimell\xE4 ",""])),0),h35f5881498b838de:l(hs||(hs=a(["<span>Osta nyt </span>",""])),0),h3cd66d895363ecf8:l(fs||(fs=a([""," <span>Jatka nimell\xE4 ","</span>"])),0,1),h5b8dfcf8b674f52a:l(vs||(vs=a(["<span>Lahjoita </span>",""])),0),h7ddf1f684b62d846:l(us||(us=a(["Vahvista"]))),h845f0251306f0133:l(gs||(gs=a(["<span>Vahvista </span>",""])),0),h8a809d54ecbeeb11:l(bs||(bs=a(["<span>Rekister\xF6idy </span>",""])),0),h915a470a464b727a:l(ys||(ys=a(["<span>Maksa </span>",""])),0),ha5401929e733e3f5:l($s||($s=a(["Lahjoita"]))),hc028d0ea5b6ec27a:l(xs||(xs=a(["<span>Kirjaudu sis\xE4\xE4n </span>
1",""])),0),hc1e276dd54f4ca70:l(_s||(_s=a(["Jatka"]))),hf0e9543eeebb73a9:l(ws||(ws=a(["<span>Jatka </span>",""])),0),s1792f48147e210a5:"Osta nyt",s21aa0c8945fd66cf:"MobilePaylla",s485ead2f3d011f25:"Kirjaudu sis\xE4\xE4n",s88573d262f479e00:"Rekister\xF6idy",scacb8dc5183f0b51:"Maksa"};var Dt={};nt(Dt,{templates:()=>pr});var As,Ss,Es,Cs,Ls,ks,Ps,Ts,Ms,Rs,Us,Os,pr={h0b45fb4dd22412db:l(As||(As=a(["Forts\xE6t som ",""])),0),h35f5881498b838de:l(Ss||(Ss=a(["<span>K\xF8b nu med </span>",""])),0),h3cd66d895363ecf8:l(Es||(Es=a([""," <span>Forts\xE6t som ","</span>"])),0,1),h5b8dfcf8b674f52a:l(Cs||(Cs=a(["<span>Doner med </span>",""])),0),h7ddf1f684b62d846:l(Ls||(Ls=a(["Bekr\xE6ft"]))),h845f0251306f0133:l(ks||(ks=a(["<span>Bekr\xE6ft med </span>",""])),0),h8a809d54ecbeeb11:l(Ps||(Ps=a(["<span>Registrer med </span>",""])),0),h915a470a464b727a:l(Ts||(Ts=a(["<span>Betal med </span>",""])),0),ha5401929e733e3f5:l(Ms||(Ms=a(["Doner"]))),hc028d0ea5b6ec27a:l(Rs||(Rs=a(["<span>Log ind med </span>",""])),0),hc1e276dd54f4ca70:l(Us||(Us=a(["Forts\xE6t"]))),hf0e9543eeebb73a9:l(Os||(Os=a(["<span>Forts\xE6t med </span>",""])),0),s1792f48147e210a5:"K\xF8b nu",s21aa0c8945fd66cf:"MobilePay",s485ead2f3d011f25:"Log ind",s88573d262f479e00:"Registrer",scacb8dc5183f0b51:"Betal"};var Vt={};nt(Vt,{templates:()=>mr});var Hs,Ns,js,Fs,Is,Ds,Vs,qs,zs,Bs,Ws,Zs,mr={h0b45fb4dd22412db:l(Hs||(Hs=a(["Forts\xE4tt som ",""])),0),h35f5881498b838de:l(Ns||(Ns=a(["<span>K\xF6p nu med </span>",""])),0),h3cd66d895363ecf8:l(js||(js=a([""," <span>Forts\xE4tt som ","</span>"])),0,1),h5b8dfcf8b674f52a:l(Fs||(Fs=a(["<span>Bidra med </span>",""])),0),h7ddf1f684b62d846:l(Is||(Is=a(["Bekr\xE4fta"]))),h845f0251306f0133:l(Ds||(Ds=a(["<span>Bekr\xE4fta med </span>",""])),0),h8a809d54ecbeeb11:l(Vs||(Vs=a(["<span>Registrera med </span>",""])),0),h915a470a464b727a:l(qs||(qs=a(["<span>Betala med </span>",""])),0),ha5401929e733e3f5:l(zs||(zs=a(["Bidra"]))),hc028d0ea5b6ec27a:l(Bs||(Bs=a(["<span>Logga in med </span>",""])),0),hc1e276dd54f4ca70:l(Ws||(Ws=a(["Forts\xE4tt"]))),hf0e9543eeebb73a9:l(Zs||(Zs=a(["<span>Forts\xE4tt med </span>",""])),0),s1792f48147e210a5:"K\xF6p nu",s21aa0c8945fd66cf:"MobilePay",s485ead2f3d011f25:"Logga in",s88573d262f479e00:"Registrera",scacb8dc5183f0b51:"Betala"};var hr={en:Ft,dk:Dt,fi:It,sv:Vt},{setLocale:Ks}=Ge({sourceLocale:"no",targetLocales:Qe,loadLocale:s=>Promise.resolve(hr[s])}),Js=s=>Ye.includes(s);var Xs,zt=()=>l(Xs||(Xs=a(['<svg\n    aria-label="Vipps"\n    class="vipps-logo"\n    role="img"\n    width="64"\n    height="18"\n    fill="none"\n    xmlns="http://www.w3.org/2000/svg"\n  >\n    <path\n      fill-rule="evenodd"\n      clip-rule="evenodd"\n      d="M64 5.38c-.72-2.75-2.47-3.84-4.86-3.84-1.93 0-4.36 1.1-4.36 3.72 0 1.7 1.18 3.03 3.09 3.37l1.81.32c1.23.23 1.58.7 1.58 1.32 0 .7-.76 1.1-1.89 1.1-1.48 0-2.4-.52-2.55-2l-2.61.41c.4 2.85 2.96 4.02 5.26 4.02 2.18 0 4.5-1.25 4.5-3.78 0-1.71-1.04-2.96-3-3.33l-1.99-.36c-1.11-.2-1.48-.75-1.48-1.27 0-.67.72-1.1 1.7-1.1 1.26 0 2.15.43 2.19 1.82l2.61-.4ZM5.92 9.7l2.72-7.86h3.19L7.1 13.5H4.73L0 1.84h3.19L5.92 9.7Zm16.69-4.52c0 .93-.74 1.57-1.6 1.57-.87 0-1.61-.64-1.61-1.57S20.14 3.6 21 3.6c.87 0 1.6.65 1.6 1.58Zm.5 4.12c-1.08 1.37-2.2 2.32-4.2 2.32-2.04 0-3.63-1.21-4.86-2.99-.5-.73-1.25-.89-1.81-.5-.51.36-.64 1.13-.16 1.8 1.7 2.56 4.07 4.05 6.83 4.05 2.53 0 4.5-1.2 6.04-3.23.58-.75.56-1.51 0-1.94-.51-.4-1.27-.26-1.85.49Zm7.09-1.66c0 2.38 1.4 3.64 2.96 3.64 1.48 0 3-1.17 3-3.64 0-2.42-1.52-3.6-2.98-3.6-1.58 0-2.98 1.12-2.98 3.6Zm0-4.18v-1.6h-2.9v15.68h2.9v-5.58a4.33 4.33 0 0 0 3.64 1.84c2.65 0 5.25-2.06 5.25-6.3 0-4.06-2.7-5.96-5-5.96-1.83 0-3.09.83-3.89 1.92Zm13.93 4.18c0 2.38 1.4 3.64 2.96 3.64 1.48 0 3-1.17 3-3.64 0-2.42-1.52-3.6-2.98-3.6-1.58 0-2.98 1.12-2.98 3.6Zm0-4.18v-1.6h-2.9v15.68h2.9v-5.58a4.33 4.33 0 0 0 3.64 1.84c2.65 0 5.24-2.06 5.24-6.3 0-4.06-2.7-5.96-5-5.96-1.83 0-3.08.83-3.88 1.92Z"\n      fill="currentColor"\n    />\n  </svg> '])));var Gs,Qs=s=>l(Gs||(Gs=a(['<span class="mobilepay-logo">',"</span>"])),s("MobilePay"));var Ys,Bt=l(Ys||(Ys=a(['<svg\n  width="16"\n  height="14"\n  viewBox="0 0 16 14"\n  fill="none"\n  xmlns="http://www.w3.org/2000/svg"\n>\n  <path\n    fill-rule="evenodd"\n    clip-rule="evenodd"\n    d="M10.8534 4.59892C11.8702 4.59892 12.7416 3.83825 12.7416 2.74489H12.7419C12.7419 1.65128 11.8702 0.890869 10.8534 0.890869C9.8368 0.890869 8.96564 1.65128 8.96564 2.74489C8.96564 3.83825 9.8368 4.59892 10.8534 4.59892ZM13.3225 7.59445C12.0635 9.21049 10.7323 10.3278 8.38428 10.3279C5.98851 10.3279 4.12419 8.90154 2.6719 6.80984C2.09078 5.9539 1.19517 5.76386 0.541469 6.21552C-0.0635844 6.64349 -0.208475 7.54682 0.347935 8.33143C2.35689 11.3504 5.1405 13.1091 8.38402 13.1091C11.3617 13.1091 13.6856 11.6831 15.5008 9.30582C16.1784 8.42645 16.
11542 7.52313 15.5008 7.02383C14.8955 6.54796 13.9999 6.71508 13.3225 7.59445Z"\n    fill="currentColor"\n  />\n</svg>'])));var to,eo=l(to||(to=a(['\n  <svg width="15" height="16" viewBox="0 0 15 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n    <path\n      id="Logo"\n      fill-rule="evenodd"\n      clip-rule="evenodd"\n      d="M7.72036 1.44983L8.35393 2.98698C8.35393 2.98698 8.11306 3.08681 7.95378 3.15064C7.7945 3.21447 7.49814 3.35908 7.49814 3.35908L6.85775 1.80537C6.75897 1.56571 6.48579 1.45101 6.24758 1.54919L1.87412 3.3518C1.63592 3.44998 1.5229 3.72386 1.62168 3.96352L5.83868 14.1947C5.93746 14.4344 6.21064 14.5491 6.44884 14.4509L10.8223 12.6483C11.0605 12.5501 11.1735 12.2762 11.0747 12.0366L10.3945 10.3862C10.3945 10.3862 10.7176 10.3827 10.8922 10.3873C11.0576 10.3915 11.4145 10.4126 11.4145 10.4126L11.9374 11.681C12.2337 12.4 11.8946 13.2216 11.18 13.5162L6.80656 15.3188C6.09195 15.6133 5.27241 15.2692 4.97607 14.5503L0.759068 4.31906C0.462724 3.60008 0.801796 2.77845 1.51641 2.48391L5.88986 0.681302C6.60447 0.386762 7.42401 0.730841 7.72036 1.44983ZM5.17174 5.70043L6.78035 9.52946V5.85984C6.78035 5.85984 8.05165 5.17907 9.47208 4.98728C10.8925 4.79549 12.7012 5.04912 12.7012 5.04912L11.8263 2.95879C11.8263 2.95879 9.92507 2.83601 8.20402 3.57138C6.48298 4.30674 5.17174 5.70043 5.17174 5.70043ZM7.28939 10.4171C7.28939 10.4171 9.24445 9.82126 10.5974 9.8179C12.8343 9.81236 14.3482 10.7059 14.3482 10.7059V6.37386C14.3482 6.37386 12.8266 5.58593 10.9096 5.53265C8.99267 5.47938 7.28939 6.31345 7.28939 6.31345V10.4171Z"\n      fill="currentColor"\n    />\n  </svg>\n'])));var so,Wt=l(so||(so=a(['<svg\n  aria-busy="true"\n  role="status"\n  xmlns="http://www.w3.org/2000/svg"\n  viewBox="0 0 50 20"\n  class="loading-container"\n  fill="var(--vm-btn-text)"\n>\n  <circle cx="6" cy="5" r="5" class="loading-dot"></circle>\n  <circle cx="25" cy="5" r="5" class="loading-dot delay-200"></circle>\n  <circle cx="44" cy="5" r="5" class="loading-dot delay-400"></circle>\n</svg>'])));var oo,Zt=M(oo||(oo=a(["\n  .loading-container {\n    animation: 250ms ease 200ms forwards fade-in;\n    left: calc(50% - 1rem);\n    opacity: 0;\n    position: absolute;\n    width: 1.875rem;\n  }\n\n  .loading-dot {\n    animation: 450ms ease-in-out infinite alternate backwards;\n    animation-name: bounce, fade-in;\n  }\n\n  @media (prefers-reduced-motion) {\n    .loading-dot {\n      animation-duration: 1000ms;\n      transform: translate3D(0, 0.32rem, 0);\n      animation-name: fade-in;\n    }\n  }\n\n  .delay-200 {\n    animation-delay: 200ms;\n  }\n\n  .delay-400 {\n    animation-delay: 400ms;\n  }\n\n  @keyframes fade-in {\n    from {\n      opacity: 0.2;\n    }\n\n    to {\n      opacity: 1;\n    }\n  }\n\n  @keyframes bounce {\n    from {\n      transform: translate3D(0, 0.625rem, 0);\n    }\n\n    to {\n      transform: translate3D(0, 0, 0);\n    }\n  }\n"])));var ro,io=M(ro||(ro=a(["\n  @font-face {\n    font-family: 'Vipps';\n    font-style: normal;\n    font-weight: 400;\n    src:\n      local('Vipps Text-Web'),\n      local('Vipps Text-Web'),\n      url('https://designsystem.vippsmobilepay.com/fonts/v1/VippsText-Regular-Web.woff2') format('woff2'),\n      url('https://designsystem.vippsmobilepay.com/fonts/v1/VippsText-Regular-Web.woff') format('woff');\n  }\n\n  @font-face {\n    font-family: 'Vipps';\n    font-style: normal;\n    font-weight: 500;\n    src:\n      local('Vipps Text-Web Medium'),\n      local('Vipps Text-Web Medium'),\n      url('https://designsystem.vippsmobilepay.com/fonts/v1/VippsText-Medium-Web.woff2') format('woff2'),\n      url('https://designsystem.vippsmobilepay.com/fonts/v1/VippsText-Medium-Web.woff') format('woff');\n  }\n\n  @font-face {\n    font-family: 'Vipps';\n    font-style: normal;\n    font-weight: 700;\n    src:\n      local('Vipps Text-Web Bold'),\n      local('Vipps Text-Web Bold'),\n      url('https://designsystem.vippsmobilepay.com/fonts/v1/VippsText-Bold-Web.woff2') format('woff2'),\n      url('https://designsystem.vippsmobilepay.com/fonts/v1/VippsText-Bold-Web.woff') format('woff');\n  }\n\n  @font-face {\n    font-family: 'Paytype';\n    font-style: normal;\n    font-weight: 500;\n    src:\n      url('https://designsystem.vippsmobilepay.com/fonts/v1/Paytype-Rg.woff2') format('woff2'),\n      url('https://designsystem.vippsmobilepay.com/fonts/v1/Paytype-Rg.woff') format('woff');\n  }\n\n  @font-face {\n    font-family: 'Paytype';\n    font-style: normal;\n    font-weight: 700;\n    src:\n      url('https://designsystem.vippsmobilepay.com/fonts/v1/Paytype-Bd.woff2') format('woff2'),\n      url('https://designsystem.vippsmobilepay.com/fonts/v1/Paytype-Bd.woff') format('woff');\n  }\n"])));var it=s=>s/16,no,ao=M(no||(no=a(["\n  :host([brand='vipps'][variant='primary']) button,\n  :host([variant='orange']) button {\n    --vm-btn-text: var(--vm-vipps-text);\n    --vm-btn-text-disabled: var(--vm-vipps-text-disabled);\n    --vm-btn-bg: var(--vm-vipps-bg);\n    --vm-btn-bg-hover: var(--vm-vipps-bg-hover);\n    --vm-btn-bg-active: var(--vm-vipps-bg-active);\n    --vm-btn-bg-focus: var(--vm-vipps-bg-focus);\n    --vm-btn-bg-loading: var(--vm-vipps-bg-loading);\n    --vm-btn-bg-disabled: var(--vm-vipps-bg-disabled);\n  }\n\n  :host([brand='mobilepay']) button {\n    --vm-btn-text: var(--vm-mp-text);\n    --vm-btn-text-disabled: var(--vm-mp-text-disabled);\n    --vm-btn-bg: var(--vm-mp-bg);\n    --vm-btn-bg-hover: var(--vm-mp-bg-hover);\n    --vm-btn-bg-active: var(--vm-mp-bg-active);\n    --vm-btn-bg-focus: var(--vm-mp-bg-focus);\n    --vm-btn-bg-loading: var(--vm-mp-bg-loading);\n    --vm-btn-bg-disabled: var(--vm-mp-bg-disabled);\n  }\n\n  :host([variant='purple']) button,\n  :host([variant='dark']) button {\n    --vm-btn-text: var(--vm-dark-text);\n    --vm-btn-text-disabled: var(--vm-dark-text-disabled);\n    --vm-btn-bg: var(--vm-dark-bg);\n    --vm-btn-bg-hover: var(--vm-dark-bg-hover);\n    --vm-btn-bg-active: var(--vm-dark-bg-active);\n    --vm-btn-bg-focus: var(--vm-dark-bg-focus);\n    --vm-btn-bg-loading: var(--vm-dark-bg-loading);\n    --vm-btn-bg-disabled: var(--vm-dark-bg-disabled);\n  }\n\n  :host([variant='light']) button,\n  :host([variant='stroked']) button {\n    --vm-btn-text: var(--vm-light-text);\n    --vm-btn-text-disabled: var(--vm-light-text-disabled);\n    --vm-btn-bg: var(--vm-light-bg);\n    --vm-btn-bg-hover: var(--vm-light-bg-hover);\n    --vm-btn-bg-active: var(--vm-light-bg-active);\n    --vm-btn-bg-focus: var(--vm-light-bg-focus);\n    --vm-btn-bg-loading: var(--vm-light-bg-loading);\n    --vm-btn-bg-disabled: var(--vm-light-bg-disabled);\n  }\n\n  button {\n    --vm-colors-orange: #ff5b24;\n    --vm-colors-orange-light: #ff985f;\n    --vm-colors-orange-dark: #db460f;\n    --vm-colors-mpblue: #5a78ff;\n    --vm-colors-mpblue-light: #7b93ff;\n    --vm-colors-mpblue-dark: #4961cd;\n    --vm-colors-black: #000000;\n    --vm-colors-gray-80: #433f58;\n    --vm-colors-gray-90: #2c283e;\n    --vm-colors-gray-30: #c9c6d7;\n    --vm-colors-gray-10: #efeef3;\n    --vm-colors-gray-5: #f6f6f9;\n    --vm-colors-white: #ffffff;\n    --vm-colors-blue-outline: #432fff99;\n\n    --vm-vipps-text: var(--vm-colors-white);\n    --vm-vipps-text-disabled: var(--vm-colors-white);\n    --vm-vipps-bg: var(--vm-colors-orange);\n    --vm-vipps-bg-hover: var(--vm-colors-orange-light);\n    --vm-vipps-bg-active: var(--vm-colors-orange-dark);\n    --vm-vipps-bg-focus: var(--vm-colors-orange);\n    --vm-vipps-bg-loading: var(--vm-colors-orange-dark);\n    --vm-vipps-bg-disabled: var(--vm-colors-gray-30);\n\n    --vm-mp-text: var(--vm-colors-white);\n    --vm-mp-text-disabled: var(--vm-colors-white);\n    --vm-mp-bg: var(--vm-colors-mpblue);\n    --vm-mp-bg-hover: var(--vm-colors-mpblue-light);\n    --vm-mp-bg-active: var(--vm-colors-mpblue-dark);\n    --vm-mp-bg-focus: var(--vm-colors-mpblue);\n    --vm-mp-bg-loading: var(--vm-colors-mpblue-dark);\n    --vm-mp-bg-disabled: var(--vm-colors-gray-30);\n\n    --vm-dark-text: var(--vm-colors-white);\n    --vm-dark-text-disabled: var(--vm-colors-white);\n    --vm-dark-bg: var(--vm-colors-black);\n    --vm-dark-bg-hover: var(--vm-colors-gray-80);\n    --vm-dark-bg-active: var(--vm-colors-gray-90);\n    --vm-dark-bg-focus: var(--vm-colors-black);\n    --vm-dark-bg-loading: var(--vm-colors-black);\n    --vm-dark-bg-disabled: var(--vm-colors-gray-30);\n\n    --vm-light-text: var(--vm-colors-black);\n    --vm-light-text-disabled: var(--vm-colors-white);\n    --vm-light-bg: var(--vm-colors-white);\n    --vm-light-bg-hover: var(--vm-colors-gray-5);\n    --vm-light-bg-active: var(--vm-colors-gray-10);\n    --vm-light-bg-focus: var(--vm-colors-white);\n    --vm-light-bg-loading: var(--vm-colors-white);\n    --vm-light-bg-disabled: var(--vm-colors-gray-30);\n\n    --vm-text-md: ","rem;\n    --vm-font-medium: 500;\n    --vm-font-semibold: 700;\n    --vm-font-vipps: Vipps, 'SF Pro Text', Arial, sans-serif;\n    --vm-font-mp: 'Paytype', 'SF Pro Text', Arial, sans-serif;\n    --vm-rounded-sm: ","rem;\n    --vm-rounded-full: 99999px;\n    --vm-padding-y: 0;\n    --vm-padding-x: ","rem;\n    --vm-text-kerning: -0.2px;\n\n    --vm-btn-radius: var(--vm-rounded-sm);\n    --vm-btn-weight: var(--vm-font-semibold);\n    --vm-btn-font: var(--vm-font-vipps);\n    --vm-btn-gap: ","rem;\n    --vm-btn-height: ","rem;\n\n    --vm-btn-text: var(--vm-vipps-text);\n    --vm-btn-text-disabled: var(--vm-vipps-text-disabled);\n    --vm-btn-bg: var(--vm-vipps-bg);\n    --vm-btn-bg-hover: var(--vm-vipps-bg-hover);\n    --vm-btn-bg-active: var(--vm-vipps-bg-active);\n    --vm-btn-bg-focus: var(--vm-vipps-bg-focus);\n    --vm-btn-bg-loading: var(--vm-vipps-bg-loading);\n    --vm-btn-bg-disabled: var(--vm-vipps-bg-disabled);\n    --vm-btn-outline-opacity: 60%;\n    --vm-btn-outline: color-mix(in srgb, var(--vm-colors-blue-outline) var(--vm-btn-outline-opacity), white);\n\n    display: inline-flex;\n    justify-content: center;
1\n    align-items: center;\n\n    position: relative;\n    height: var(--vm-btn-height);\n    padding: var(--vm-padding-y) var(--vm-padding-x);\n\n    background: var(--vm-btn-bg);\n    color: var(--vm-btn-text);\n\n    border: none;\n    border-radius: var(--vm-btn-radius);\n\n    font-family: var(--vm-btn-font);\n    font-size: var(--vm-text-md);\n    line-height: var(--vm-text-md);\n    font-style: normal;\n    font-weight: var(--vm-btn-weight);\n    text-decoration: none;\n    letter-spacing: var(--vm-text-kerning);\n    text-wrap: nowrap;\n\n    cursor: pointer;\n    transition: ease 0.2s;\n    transition-property: color, background;\n  }\n\n  :host([rounded='true']) button,\n  :host([rounded='']) button {\n    border-radius: var(--vm-rounded-full);\n  }\n\n  button:hover {\n    background: var(--vm-btn-bg-hover);\n  }\n\n  button:active {\n    background: var(--vm-btn-bg-active);\n  }\n\n  button:focus-visible {\n    background: var(--vm-btn-bg-focus);\n    outline: 4px solid var(--vm-colors-blue-outline);\n    outline-offset: 1px;\n  }\n\n  :host([stretched='true']) button,\n  :host([stretched='']) button {\n    width: 100%;\n  }\n\n  button[aria-busy='true'] {\n    background: var(--vm-btn-bg-loading);\n    color: transparent;\n    cursor: progress;\n  }\n\n  button[disabled] {\n    background: var(--vm-btn-bg-disabled) !important;\n    cursor: not-allowed;\n  }\n\n  button[disabled]:not([aria-busy='true']) {\n    color: var(--vm-btn-text-disabled) !important;\n  }\n\n  button > * {\n    margin-right: var(--vm-btn-gap);\n  }\n\n  button > *:last-child {\n    margin-right: 0;\n  }\n  .vipps-logo {\n    margin-top: 0.35rem;\n  }\n\n  .mobilepay-logo {\n    font-family: var(--vm-font-mp);\n    font-weight: var(--vm-font-semibold);\n    margin-top: 2px;\n  }\n"])),it(18.5),it(5),it(24),it(6),it(44));var fr=["orange","purple","stroked"],_o,wo,Ao,So,Eo,Co,Lo,ko,Po,To,Mo,Ro,Uo,Oo,m,Kt,Jt,Xt,Gt,Qt,Yt,te,ee,se,oe,re,ie,lo,co,po,mo,ho,fo,vo,uo,go,bo,yo,$o,xo;Oo=[mt("vipps-mobilepay-button"),qe()];var b=class extends(Uo=T,Ro=[ht()],Mo=[ht()],To=[ht()],Po=[A({type:String})],ko=[A({converter:e=>e==="true"||e===""})],Lo=[A({type:String})],Co=[A({converter:e=>e==="true"||e===""})],Eo=[A({type:String})],So=[A({type:String})],Ao=[A({type:String})],wo=[A({type:String})],_o=[A({converter:e=>e==="true"||e===""})],Uo){constructor(){super();B(this,"internals");B(this,"isSupportElementInternals",!1);w(this,Kt,v(m,8,this,zt)),v(m,11,this);w(this,Jt,v(m,12,this,Bt)),v(m,15,this);w(this,Xt,v(m,16,this,"")),v(m,19,this);w(this,Gt,v(m,20,this,"no")),v(m,23,this);w(this,Qt,v(m,24,this,!1)),v(m,27,this);w(this,Yt,v(m,28,this,"button")),v(m,31,this);w(this,te,v(m,32,this,!1)),v(m,35,this);w(this,ee,v(m,36,this,"vipps")),v(m,39,this);w(this,se,v(m,40,this,"buy")),v(m,43,this);w(this,oe,v(m,44,this,"")),v(m,47,this);w(this,re,v(m,48,this,"primary")),v(m,51,this);w(this,ie,v(m,52,this,!1)),v(m,55,this);if(this.attachInternals&&(this.internals=this.attachInternals(),this.isSupportElementInternals=!0),!document.head.querySelector("style[data-vipps-checkout-button-fonts]")){let e=document.createElement("style");e.setAttribute("data-vipps-checkout-button-fonts",""),e.innerHTML=io.cssText,document.head.appendChild(e)}this.rejectVippsForFinland(),this.updateLogo(),this.textMessage=this.getTextContent()}rejectVippsForFinland(){this.language.toLowerCase()==="fi"&&this.brand.toLowerCase()==="vipps"&&(console.info("[Vipps MobilePay Button]\nLanguage ".concat(this.language," is not supported when using brand Vipps.")),this.language="en")}updateLogo(){this.brandLogo=this.brand.toLowerCase()==="mobilepay"?Qs:zt,this.miniBrandLogo=this.brand.toLowerCase()==="mobilepay"?eo:Bt}getTextContent(){switch(this.verb.toLowerCase()){case"pay":return this.branded?u(l(lo||(lo=a(["<span>Betal med </span>",""])),this.brandLogo(u))):u("Betal");case"login":return this.branded?u(l(co||(co=a(["<span>Logg inn med </span>",""])),this.brandLogo(u))):u("Logg inn");case"register":return this.branded?u(l(po||(po=a(["<span>Registrer med </span>",""])),this.brandLogo(u))):u("Registrer");case"continue":return this.vmpContinueAsFirstName?this.branded?u(l(mo||(mo=a([""," <span>Fortsett som ","</span>"])),this.miniBrandLogo,this.vmpContinueAsFirstName)):u(l(ho||(ho=a(["Fortsett som ",""])),this.vmpContinueAsFirstName)):this.branded?u(l(fo||(fo=a(["<span>Fortsett med </span>",""])),this.brandLogo(u))):u(l(vo||(vo=a(["Fortsett"]))));case"confirm":return this.branded?u(l(uo||(uo=a(["<span>Bekreft med </span>",""])),this.brandLogo(u))):u(l(go||(go=a(["Bekreft"]))));case"donate":return this.branded?u(l(bo||(bo=a(["<span>Bidra med </span>",""])),this.brandLogo(u))):u(l(yo||(yo=a(["Bidra"]))));default:return this.branded?u(l($o||($o=a(["<span>Kj\xF8p n\xE5 med </span>",""])),this.brandLogo(u))):u("Kj\xF8p n\xE5")}}getForm(){var e;return this.isSupportElementInternals?(e=this.internals)==null?void 0:e.form:this.closest("form")}willUpdate(e){this.rejectVippsForFinland(),e.has("brand")&&this.updateLogo(),this.textMessage=this.getTextContent(),fr.includes(this.variant)&&
1console.warn('[Vipps MobilePay Button]\nVariant "'.concat(this.variant,'" is marked as deprecated and will be removed in the future.\nSee https://developer.vippsmobilepay.com/docs/knowledge-base/design-guidelines/buttons/ for more information.')),e.has("language")&&Js(this.language)&&Ks(this.language)}click(){let e=this.getForm();if(this.type!=="submit"||!e)return;if(e.requestSubmit){e.requestSubmit();return}let o=document.createElement("input");o.type="submit",o.style.display="none",e.appendChild(o),o.click(),e.removeChild(o)}connectedCallback(){super.connectedCallback();let e=this.getForm();this.type!=="submit"||!e||(this.addEventListener("click",()=>{this.click()}),e.addEventListener("keypress",o=>{o.code==="Enter"&&this.click()}))}render(){return l(xo||(xo=a([' <button type="','" ?disabled=',' aria-busy="','">\n      '," ","\n    </button>"])),this.type,this.disabled,this.loading,this.loading?Wt:g,this.textMessage)}};m=at(Uo),Kt=new WeakMap,Jt=new WeakMap,Xt=new WeakMap,Gt=new WeakMap,Qt=new WeakMap,Yt=new WeakMap,te=new WeakMap,ee=new WeakMap,se=new WeakMap,oe=new WeakMap,re=new WeakMap,ie=new WeakMap,$(m,4,"brandLogo",Ro,b,Kt),$(m,4,"miniBrandLogo",Mo,b,Jt),$(m,4,"textMessage",To,b,Xt),$(m,4,"language",Po,b,Gt),$(m,4,"branded",ko,b,Qt),$(m,4,"type",Lo,b,Yt),$(m,4,"disabled",Co,b,te),$(m,4,"brand",Eo,b,ee),$(m,4,"verb",So,b,se),$(m,4,"vmpContinueAsFirstName",Ao,b,oe),$(m,4,"variant",wo,b,re),$(m,4,"loading",_o,b,ie),b=$(m,0,"VippsMobilepayButton",Oo,b),B(b,"styles",[ao,Zt]),B(b,"formAssociated",!0),v(m,1,b);var ne=b;var Ho,ae,ur;Ho=[mt("vipps-checkout-button")];var V=class extends(ur=ne){};ae=at(ur),V=$(ae,0,"VippsCheckoutButton",Ho,V),v(ae,1,V);var vr=V;})();
2/*! Bundled license information:
3
4@lit/reactive-element/css-tag.js:
5  (**
6   * @license
7   * Copyright 2019 Google LLC
8   * SPDX-License-Identifier: BSD-3-Clause
9   *)
10
11@lit/reactive-element/reactive-element.js:
12lit-html/lit-html.js:
13lit-element/lit-element.js:
14@lit/reactive-element/decorators/custom-element.js:
15@lit/reactive-element/decorators/property.js:
16@lit/reactive-element/decorators/state.js:
17@lit/reactive-element/decorators/event-options.js:
18@lit/reactive-element/decorators/base.js:
19@lit/reactive-element/decorators/query.js:
20@lit/reactive-element/decorators/query-all.js:
21@lit/reactive-element/decorators/query-async.js:
22@lit/reactive-element/decorators/query-assigned-nodes.js:
23  (**
24   * @license
25   * Copyright 2017 Google LLC
26   * SPDX-License-Identifier: BSD-3-Clause
27   *)
28
29lit-html/is-server.js:
30  (**
31   * @license
32   * Copyright 2022 Google LLC
33   * SPDX-License-Identifier: BSD-3-Clause
34   *)
35
36@lit/reactive-element/decorators/query-assigned-elements.js:
37@lit/localize/internal/locale-status-event.js:
38@lit/localize/internal/str-tag.js:
39@lit/localize/internal/types.js:
40@lit/localize/internal/default-msg.js:
41@lit/localize/internal/localized-controller.js:
42@lit/localize/internal/localized-decorator.js:
43@lit/localize/internal/runtime-msg.js:
44@lit/localize/init/runtime.js:
45@lit/localize/init/transform.js:
46  (**
47   * @license
48   * Copyright 2021 Google LLC
49   * SPDX-License-Identifier: BSD-3-Clause
50   *)
51
52@lit/localize/internal/deferred.js:
53@lit/localize/internal/id-generation.js:
54@lit/localize/lit-localize.js:
55  (**
56   * @license
57   * Copyright 2020 Google LLC
58   * SPDX-License-Identifier: BSD-3-Clause
59   *)
60
61@lit/localize/internal/fnv1a64.js:
62  (**
63   * @license
64   * Copyright 2014 Travis Webb
65   * SPDX-License-Identifier: MIT
66   *)
67*/

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.