1(self.webpackChunkhjart_lungfonden=self.webpackChunkhjart_lungfonden||[]).push([[242],{2413:function(n,e,t){"use strict";var r=t(30200);n.exports=r.Promise},9803:function(n,e,t){"use strict";var r=t(73938),u=t(65335),i=t(39836);n.exports=function(n,e){if(r(n),u(e)&&e.constructor===n)return e;var t=i.f(n);return(0,t.resolve)(e),t.promise}},31800:function(n){var e=/\s/;n.exports=function(n){for(var t=n.length;t--&&e.test(n.charAt(t)););return t}},39836:function(n,e,t){"use strict";var r=t(24601),u=TypeError,i=function(n){var e,t;this.promise=new n((function(n,r){if(void 0!==e||void 0!==t)throw u("Bad Promise constructor");e=n,t=r})),this.resolve=r(e),this.reject=r(t)};n.exports.f=function(n){return new i(n)}},54128:function(n,e,t){var r=t(31800),u=/^\s+/;n.exports=function(n){return n?n.slice(0,r(n)+1).replace(u,""):n}},54208:function(n,e,t){"use strict";t.d(e,{z:function(){return f}});var r=t(79071),u=t(75128),i=t.n(u),o=t(96540),a=t(26507),c=t(80398),f=function(){var n=(0,o.useState)(c._Z),e=n[0],t=n[1],u=(0,o.useState)(),f=u[0],s=u[1],l=(0,o.useState)(!1),d=l[0],m=l[1],p=function(){var n=(0,r.A)(i().mark((function n(e){var r,u,o,f,l,d,p,g,v;return i().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t(c.qF),m(!0),n.prev=2,n.next=5,(0,a.tw)(e);case 5:r=n.sent,(u=r.data)&&(o=u.otherData,f=u.amount,l=u.showAmount,d=u.senderName,p=u.senderPhone,g=u.template,v={title:null==o?void 0:o.greetingTitle,message:null==o?void 0:o.greetingMessage,amount:f,showAmount:l,senderName:d,senderPhone:p,template:null==g?void 0:g.templateID},s(v),t(c.L8),m(!1)),u||(t(c.k),m(!1)),n.next=15;break;case 11:n.prev=11,n.t0=n.catch(2),t(c.k),m(!1);case 15:case"end":return n.stop()}}),n,null,[[2,11]])})));return function(e){return n.apply(this,arguments)}}();return{getGreeetingCardData:p,orderData:f,progress:e,loading:d}}},75171:function(n,e,t){"use strict";t.d(e,{L:function(){return u}});var r=t(96540),u=function(){var n=(0,r.useState)(!1),e=n[0],t=n[1],u=(0,r.useState)(!1),i=u[0],o=u[1];return(0,r.useEffect)((function(){var n=void 0===window.navigator?"":navigator.userAgent,e=Boolean(n.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile|WPDesktop/i));t(e),o(!0)}),[]),{isMobile:e,deviceDetected:i}}},78659:function(n,e,t){var r=t(87133),u=t(99374);n.exports=function(n,e,t){return void 0===t&&(t=e,e=void 0),void 0!==t&&(t=(t=u(t))==t?t:0),void 0!==e&&(e=(e=u(e))==e?e:0),r(u(n),e,t)}},81678:function(n,e,t){"use strict";t.r(e),t.d(e,{Head:function(){return N}});var r,u,i,o=t(5944),a=t(96540),c=t(58076),f=t(48504),s=t(30592),l=t(54208),d=t(33330),m=t(80398),p=t(82562),g=t(33922),v=t(41334),h=t(79746),y=t(78496),w=t(39822),C=t(69514),N=function(n){var e=n.location;return a.createElement(f.k,{title:"",titleSuffix:"",description:"",keywords:"",noIndex:!0,currentPath:null==e?void 0:e.pathname})};e.default=function(n){var e=n.data,t=n.params,r=e.contentfulDigitalGreetingCard,u=r.asset,i=r.backgroundColor,o=r.animation,c=null==t?void 0:t["*"],f=(0,a.useState)(!1),s=f[0],v=f[1],h=(0,l.z)(),N=h.getGreeetingCardData,x=h.orderData,T=h.progress,E=(0,d.c)().i18n;return(0,a.useEffect)((function(){var n;c&&N(((n={})[p.Hn]=c,n))}),[c]),a.createElement(b,null,x?s?a.createElement(C.A,{type:g.ev,asset:u,backgroundColor:null==i?void 0:i.value,title:x.title,message:x.message,amount:x.showAmount?x.amount:void 0,senderName:x.senderName,senderPhone:x.senderPhone,orderId:c}):a.createElement(a.Fragment,null,a.createElement(P,null,a.createElement(A,null)),a.createElement(k,null),a.createElement(w.A,{asset:u,backgroundColor:null==i?void 0:i.value,title:x.title,message:x.message,start:!0,amount:x.showAmount?x.amount:void 0,animation:o,onComplete:function(){return v(!0)},type:g.ev})):a.createElement(y.k,{size:"l",color:"white"}),T===m.k&&a.createElement(D,{severity:g.ff},E("errorMessages.general")))};var b=c.default.div.withConfig({displayName:"digital-greeting-card-template__Container",componentId:"sc-135jwka-0"})(["position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background-color:",";",";"],(function(n){return n.theme.cream}),v.$_.L(r||(r=(0,o.A)(["\n scrollbar-width: none;\n overflow: scroll;\n "])))),k=c.default.div.withConfig({displayName:"digital-greeting-card-template__Circle",componentId:"sc-135jwka-1"})(["position:absolute;background-color:",";width:",";height:",";border-radius:50%;"],(function(n){return n.theme.yellowLight}),(0,v.D0)(291),(0,v.D0)(291)),P=c.default.div.withConfig({displayName:"digital-greeting-card-template__Header",componentId:"sc-135jwka-2"})(["position:absolute;display:flex;justify-content:center;align-items:center;top:0;height:",";width:100%;border-bottom:"," solid rgba(51,51,51,0.15);max-width:calc(100% - ",");",";"],(0,v.D0)(79),(0,v.D0)(1),(0,v.D0)(32),v.$_.L(u||(u=(0,o.A)(["\n height: ",";\n max-width: ",";\n "])),(0,v.D0)(91),(0,v.D0)(1024))),A=(0,c.default)(h.W).withConfig({displayName:"digital-greeting-card-template__StyledLogo",componentId:"sc-135jwka-3"})(["height:",";
1",""],(0,v.D0)(28),v.$_.L(i||(i=(0,o.A)(["\n height: ",";\n "])),(0,v.D0)(36))),D=(0,c.default)(s.F).withConfig({displayName:"digital-greeting-card-template__StyledAlert",componentId:"sc-135jwka-4"})(["position:absolute;bottom:0;margin:",";"],(function(n){return n.theme.spacingM}))},82562:function(n,e,t){"use strict";t.d(e,{$$:function(){return H},$_:function(){return Cn},AN:function(){return qn},AW:function(){return b},B2:function(){return On},BD:function(){return r},Bc:function(){return Rn},Bs:function(){return on},CA:function(){return V},Ch:function(){return ve},D6:function(){return y},DQ:function(){return ae},Er:function(){return En},F5:function(){return w},Ge:function(){return le},Gy:function(){return ue},H:function(){return Vn},HK:function(){return pn},HM:function(){return q},Hd:function(){return rn},Hn:function(){return G},Hu:function(){return Ne},IA:function(){return An},Id:function(){return ge},Io:function(){return fe},JH:function(){return yn},JU:function(){return en},Ke:function(){return P},Kq:function(){return f},L7:function(){return bn},LA:function(){return ne},MK:function(){return E},Mx:function(){return B},Mz:function(){return k},NA:function(){return T},Nh:function(){return g},OH:function(){return Gn},Oh:function(){return Y},PH:function(){return Pn},Pl:function(){return zn},Pt:function(){return D},Pv:function(){return O},Q4:function(){return M},Q8:function(){return Q},RD:function(){return me},Sx:function(){return Jn},Tm:function(){return p},Tt:function(){return X},Uh:function(){return d},Un:function(){return ce},V0:function(){return S},V9:function(){return Qn},Vh:function(){return he},Vz:function(){return F},W5:function(){return s},WU:function(){return N},Wo:function(){return an},XF:function(){return Yn},XW:function(){return ke},XX:function(){return v},Xh:function(){return W},Y_:function(){return R},ZL:function(){return In},ZW:function(){return nn},ZX:function(){return x},Zg:function(){return de},_X:function(){return U},_Y:function(){return sn},b3:function(){return I},b4:function(){return Dn},bG:function(){return oe},bx:function(){return Ce},cM:function(){return _n},ce:function(){return Bn},d:function(){return Xn},dA:function(){return ee},ev:function(){return A},f1:function(){return tn},f6:function(){return u},fF:function(){return te},fz:function(){return J},gA:function(){return Mn},gX:function(){return j},gg:function(){return C},hE:function(){return o},hU:function(){return jn},hW:function(){return cn},ho:function(){return a},hv:function(){return re},il:function(){return xn},iz:function(){return Kn},jP:function(){return Ln},jx:function(){return ye},k_:function(){return _},l1:function(){return $},lV:function(){return l},l_:function(){return c},mQ:function(){return un},nU:function(){return we},nc:function(){return pe},nr:function(){return ln},o5:function(){return Zn},o6:function(){return m},p4:function(){return Wn},pC:function(){return z},pc:function(){return fn},ph:function(){return i},po:function(){return Tn},pw:function(){return L},qG:function(){return $n},qN:function(){return Hn},qV:function(){return ie},rd:function(){return Un},rw:function(){return dn},sk:function(){return wn},tB:function(){return gn},tO:function(){return h},v9:function(){return hn},vE:function(){return K},wM:function(){return kn},wX:function(){return mn},x2:function(){return Nn},y1:function(){return vn},yG:function(){return se},yI:function(){return be},yK:function(){return Z},yl:function(){return Sn},zv:function(){return Fn}});var r="address",u="addressCity",i="addressStreet",o="addressZipCode",a="amount",c="additionalAmount",f="company",s="companyAndPrivate",l="customAmount",d="deceasedFirstName",m="deceasedLastName",p="email",g="billingEmail",v="newsletterEmail",h="firstName",y="giftCardRecieverFirstName",w="giftCardRecieverLastName",C="giftCardRecieverParlourName",N="giftCardRecieverStreet",b="giftCardRecieverZipCode",k="giftCardRecieverCity",P="giftFieldOfInterest",A="greeting",D="lastName",x="personalNumber",T="phoneNumber",E="ssnOrgNumber",I="subscribeToNewsletter",_="newsletter",S="currentEmail",L="campaignCode",F="predefined",M="custom",R="clearingNumber",j="accountNumber",H="briteToken",O="relative",G="orderReference",Z="formType",B="trackingCode",W="giftCardTextOverflowing",X="clinic",$="hospital",z="municipality",U="phonenr",V="pageTypeSearch",q="ssn",K="manual",Q="auto",Y="lookUpGuid",J="lookUpValues",nn="templateId",en="templateEnvironment",tn="selectedDeceasedPerson",rn="selectedReceiverType",un="selectedTab",on="selectedInputTypeDeceasedPerson",an="selectedInputTypeFuneralParlor",cn="selectedInputTypeMyContactDetails",fn="selectedInputAccountDetails",sn="selectedContactType",ln="selectedFuneralParlor",dn="selectedOrderChannel",mn="selectedAmountDisplay",pn="selectedDeliveryTime",gn="showAmount",vn="hideAmount",hn="deliveryTimeInstant",yn="deliveryTimeScheduled",wn="paymentType",Cn="swish",Nn="card",bn="bank",kn="invoice",Pn="digitalInvoice",An="digitalSignage",Dn="field1",xn="field2",Tn="field3",En="base64Preview",In="greetingTitle",_n="greetingMessage",Sn="greetingSender",Ln="funeralParlor",Fn="funeralParlorName",Mn="funeralParlorAddress",Rn="funeralParlorZi
1p",jn="funeralParlorCity",Hn="funeralChurch",On="funeralDate",Gn="relativeFirstName",Zn="relativeLastName",Bn="relativeAddress",Wn="relativeZip",Xn="relativeCity",$n="person",zn="personFirstName",Un="personLastName",Vn="personAddress",qn="personZip",Kn="personCity",Qn="personEmail",Yn="personPhoneNumber",Jn="companyName",ne="companyOrgNumber",ee="companyFirstName",te="companyLastName",re="companyAddress",ue="companyZip",ie="companyCity",oe="companyEmail",ae="companyPhone",ce="dgReceiverFirstName",fe="dgReceiverLastName",se="dgReceiverPhone",le="dgDate",de="dgDateTime",me="companyGift",pe="privateGift",ge="numberOfRowsExceeded",ve="cardThankYouText",he="cardThankYouTextAmount",ye="packageId",we="selectedCompanyPackage",Ce="matchingCompanyPackage",Ne="selectedCard",be="selectedCardCategory",ke="showAmountSelector"},83396:function(n,e,t){"use strict";var r=t(51605),u=t(6926),i=t(2413),o=t(92074),a=t(56492),c=t(78420),f=t(23444),s=t(9803),l=t(7485),d=i&&i.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&o((function(){d.finally.call({then:function(){}},(function(){}))}))},{finally:function(n){var e=f(this,a("Promise")),t=c(n);return this.then(t?function(t){return s(e,n()).then((function(){return t}))}:n,t?function(t){return s(e,n()).then((function(){throw t}))}:n)}}),!u&&c(i)){var m=a("Promise").prototype.finally;d.finally!==m&&l(d,"finally",m,{unsafe:!0})}},87133:function(n){n.exports=function(n,e,t){return n==n&&(void 0!==t&&(n=n<=t?n:t),void 0!==e&&(n=n>=e?n:e)),n}},99374:function(n,e,t){var r=t(54128),u=t(23805),i=t(44394),o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,f=parseInt;n.exports=function(n){if("number"==typeof n)return n;if(i(n))return NaN;if(u(n)){var e="function"==typeof n.valueOf?n.valueOf():n;n=u(e)?e+"":e}if("string"!=typeof n)return 0===n?n:+n;n=r(n);var t=a.test(n);return t||c.test(n)?f(n.slice(2),t?2:8):o.test(n)?NaN:+n}}}]);
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.