PageSourceSearch

https://minasidor.k2a.se/835.c4a5c7f240ed739a.js

js k2a.se collected 2026-09-24 20:00:13 UTC 39,326 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktaiga=self.webpackChunktaiga||[]).push([[835],{2835:(Lt,F,r)=>{r.r(F),r.d(F,{WebshopModule:()=>Ut});var g=r(2881),M=r(5207),t=r(1360),f=r(2043),N=r(6354),B=r(5850);let I=(()=>{class n{constructor(e){this.request=e}getWebshop(e){return this.request.get("v2/webshop",{contractId:e})}getWebshopById(e,i){return this.getWebshop(e).pipe((0,N.T)(o=>{const s={items:[JSON.parse(JSON.stringify(o.items.find(c=>c.id===i)))],count:1};if(s.items[0]?.spaces?.length>0&&s.items[0].pricing?.length>0)for(let c of s.items[0].spaces)if(!1===c.pricing?.hasPrice&&!c.pricing?.priceOneTime&&!c.pricing?.priceRecurring){c.pricing.priceOneTime=0,c.pricing.priceRecurring=0;for(let l of s.items[0].pricing)l.priceOneTime&&(c.pricing.priceOneTime+=l.priceOneTime),l.priceRecurring&&(c.pricing.priceRecurring+=l.priceRecurring)}return s}))}getWebshopItemAttachmentsItem(e){return this.request.get(`v2/webshop/attachments/${e}`,null,{responseType:"blob"})}putWebshopItem(e,i,o,s){return this.request.putOnce(`v2/webshop/${e}`,{nodeId:i,classIds:o,specification:s})}static{this.\u0275fac=function(i){return new(i||n)(t.KVO(B.B))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var h=r(2155),b=r(8018),P=r(3013),T=r(980),R=r(983),w=r(1985),C=r(9213),E=r(8834),p=r(5596),y=r(1517),x=r(6112);function Y(n,a){if(1&n&&t.nrm(0,"img",14),2&n){const e=t.XpG(2);t.Y8G("alt",e.webshopItem.attachments[0].displayName)("src",e.imgSrc,t.B4B)}}function X(n,a){1&n&&(t.j41(0,"div",15)(1,"mat-icon",16),t.nI1(2,"translate"),t.EFF(3,"hide_image"),t.k0s()()),2&n&&(t.R7$(),t.BMQ("aria-label",t.bMT(2,1,"NOIMAGE")))}function A(n,a){1&n&&(t.j41(0,"div",17),t.nrm(1,"taiga-spinner",18),t.k0s()),2&n&&(t.R7$(),t.Y8G("diameter",36))}function D(n,a){if(1&n){const e=t.RV6();t.j41(0,"mat-card",1),t.bIt("mouseenter",function(o){t.eBV(e);const s=t.XpG();return t.Njj(s.addClass(o))})("mouseleave",function(o){t.eBV(e);const s=t.XpG();return t.Njj(s.removeClass(o))}),t.j41(1,"mat-card-content")(2,"div",2)(3,"div",3),t.DNE(4,Y,1,2,"img",4)(5,X,4,3,"div",5)(6,A,2,1,"div",6),t.k0s()(),t.j41(7,"div")(8,"div",7)(9,"div",8)(10,"div",9)(11,"div")(12,"h2",9),t.EFF(13),t.k0s()()()(),t.j41(14,"div",10),t.nrm(15,"taiga-markdown",11),t.k0s()()()(),t.j41(16,"mat-card-actions",12)(17,"button",13),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.goToOrder(null==o.webshopItem?null:o.webshopItem.id))}),t.EFF(18),t.nI1(19,"translate"),t.k0s()()()}if(2&n){const e=t.XpG();t.FS9("id",null==e.webshopItem?null:e.webshopItem.id),t.R7$(),t.AVh("is-mobile",e.mediaQueryService.isMobile())("is-desktop",!e.mediaQueryService.isMobile()),t.R7$(),t.AVh("image-container-mobile",e.mediaQueryService.isMobile())("image-container",!e.mediaQueryService.isMobile()),t.R7$(2),t.Y8G("ngIf",e.imgSrc&&!e.loadingImg),t.R7$(),t.Y8G("ngIf",!e.imgSrc&&!e.loadingImg),t.R7$(),t.Y8G("ngIf",e.loadingImg),t.R7$(),t.AVh("info-container-mobile",e.mediaQueryService.isMobile())("info-container",!e.mediaQueryService.isMobile()),t.R7$(2),t.AVh("header-desktop",!e.mediaQueryService.isMobile()),t.R7$(4),t.JRh(null==e.webshopItem?null:e.webshopItem.displayName),t.R7$(2),t.Y8G("markdown",null==e.webshopItem?null:e.webshopItem.description),t.R7$(3),t.JRh(t.bMT(19,21,"SELECT"))}}let U=(()=>{class n{constructor(e,i,o){this.router=e,this.mediaQueryService=i,this.webshopService=o}ngOnInit(){if(this.webshopItem.attachments?.length>0){const e=this.webshopItem.attachments.find(i=>i.contentType.includes("image"));e&&(this.loadingImg=!0,this.getWebshopItemAttachmentsItem(e.id))}}goToOrder(e){this.router.navigateByUrl(`mypages/contract/${this.contractId}/webshop/${e}`)}addClass(e){e.currentTarget.classList.add("mat-elevation-z2")}removeClass(e){e.currentTarget.classList.remove("mat-elevation-z2")}getWebshopItemAttachmentsItem(e){this.webshopService.getWebshopItemAttachmentsItem(e).subscribe(i=>{this.blobToBase64(i).pipe((0,T.j)(()=>{this.loadingImg=!1})).subscribe(o=>{this.imgSrc=o})})}blobToBase64(e){if("function"!=typeof FileReader)return R.w;const i=new FileReader,o=new w.c(s=>{i.onloadend=()=>{s.next(i.result),s.complete()}});return i.readAsDataURL(e),o}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(h.Ix),t.rXU(f.M),t.rXU(I))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["taiga-webshop-list-item"]],inputs:{webshopItem:"webshopItem",contractId:"contractId"},standalone:!1,decls:1,vars:1,consts:[[3,"id","mouseenter","mouseleave",4,"ngIf"],[3,"mouseenter","mouseleave","id"],[2,"padding","10px"],[1,"image-content"],["class","image",3,"alt","src",4,"ngIf"],["class","no-image",4,"ngIf"],["class","loading-image",4,"ngIf"],[1,"info-content"],[1,"header"],[1,""],[1,"text","truncate"],[3,"markdown"],["align","end"],["mat-raised-button","","color","primary","data-mom-test","MyPages_Webshop_SelectItem",3,"click"],[1,"image",3,"alt","src"],[1,"n
1o-image"],["color","primary"],[1,"loading-image"],[3,"diameter"]],template:function(i,o){1&i&&t.DNE(0,D,20,23,"mat-card",0),2&i&&t.Y8G("ngIf",o.webshopItem.id)},dependencies:[g.bT,C.An,E.$z,p.RN,p.YY,p.m2,y.t,x.N,b.D9],styles:["mat-card-content[_ngcontent-%COMP%]{display:flex}.is-mobile[_ngcontent-%COMP%]{flex-direction:column}.is-desktop[_ngcontent-%COMP%]{flex-direction:row}.image-container[_ngcontent-%COMP%]{width:37%}.info-container[_ngcontent-%COMP%]{width:63%}.image[_ngcontent-%COMP%]{width:100%;height:206px;object-fit:cover;display:flex;border-radius:2px}.object-card[_ngcontent-%COMP%]{cursor:pointer}.info-content[_ngcontent-%COMP%]{margin:5px 15px 10px}.mat-h2[_ngcontent-%COMP%]{margin-bottom:0;color:var(--palette-primary-500)}.text[_ngcontent-%COMP%]{margin-top:15px}.address[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap-reverse}.details[_ngcontent-%COMP%]{display:flex;justify-content:space-evenly;text-align:center;flex-wrap:wrap}.details[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{font-size:1.125rem}.details[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:.75rem}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical}.icon[_ngcontent-%COMP%]{display:flex;justify-content:center}.broken-image-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;min-width:120px;min-height:120px;font-size:6.25rem;border:solid;border-radius:50%;margin-bottom:8px}.divider[_ngcontent-%COMP%]{margin-top:15px;margin-bottom:15px}.application-open-to-container[_ngcontent-%COMP%]{margin-bottom:5px}.pill-badge[_ngcontent-%COMP%]{font-weight:400;align-self:center;font-size:.75rem;margin-left:auto}.no-border-bottom-radius[_nghost-%COMP%]   mat-card[_ngcontent-%COMP%], .no-border-bottom-radius   [_nghost-%COMP%]   mat-card[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0}.no-border-top-radius[_nghost-%COMP%]   mat-card[_ngcontent-%COMP%], .no-border-top-radius   [_nghost-%COMP%]   mat-card[_ngcontent-%COMP%]{border-top-left-radius:0;border-top-right-radius:0}.location[_ngcontent-%COMP%]{margin-bottom:16px}.no-image[_ngcontent-%COMP%], .loading-image[_ngcontent-%COMP%]{height:206px;display:flex;justify-content:center;align-items:center;background-color:rgb(var(--palette-background-background));border-radius:2px}.no-image[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:2.5rem;width:40px;height:40px}mat-card[_ngcontent-%COMP%]{margin:10px 0}"]})}}return n})();function L(n,a){if(1&n&&t.nrm(0,"taiga-webshop-list-item",1),2&n){const e=a.$implicit,i=t.XpG();t.Y8G("webshopItem",e)("contractId",i.contractId)}}let V=(()=>{class n{constructor(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["taiga-webshop-list"]],inputs:{webshop:"webshop",contractId:"contractId"},standalone:!1,decls:1,vars:1,consts:[[3,"webshopItem","contractId",4,"ngFor","ngForOf"],[3,"webshopItem","contractId"]],template:function(i,o){1&i&&t.DNE(0,L,1,2,"taiga-webshop-list-item",0),2&i&&t.Y8G("ngForOf",null==o.webshop?null:o.webshop.items)},dependencies:[g.Sq,U],styles:["mat-card-content[_ngcontent-%COMP%]{display:flex}.is-mobile[_ngcontent-%COMP%]{flex-direction:column}.is-desktop[_ngcontent-%COMP%]{flex-direction:row}.image-container[_ngcontent-%COMP%]{width:37%}.info-container[_ngcontent-%COMP%]{width:63%}.image[_ngcontent-%COMP%]{width:100%;height:206px;object-fit:cover;display:flex;border-radius:2px}.object-card[_ngcontent-%COMP%]{cursor:pointer}.info-content[_ngcontent-%COMP%]{margin:5px 15px 10px}.mat-h2[_ngcontent-%COMP%]{margin-bottom:0;color:var(--palette-primary-500)}.text[_ngcontent-%COMP%]{margin-top:15px}.address[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap-reverse}.details[_ngcontent-%COMP%]{display:flex;justify-content:space-evenly;text-align:center;flex-wrap:wrap}.details[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{font-size:1.125rem}.details[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:.75rem}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical}.icon[_ngcontent-%COMP%]{display:flex;justify-content:center}.broken-image-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;min-width:120px;min-height:120px;font-size:6.25rem;border:solid;border-radius:50%;margin-bottom:8px}.divider[_ngcontent-%COMP%]{margin-top:15px;margin-bottom:15px}.application-open-to-container[_ngcontent-%COMP%]{margin-bottom:5px}.pill-badge[_ngcontent-%COMP%]{font-weight:400;align-self:center;font-size:.75rem;margin-left:auto}.no-border-bottom-radius[_nghost-%COMP%]   mat-card[_ngcontent-%COMP%], .no-border-bottom-radius   [_nghost-%COMP%]   mat-card[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0}.no-border-top-radius[_nghost-%COMP%]   mat-card[_ngcontent-%COMP%], .no-border-top-radius   [_nghost-%COMP%]   mat-card[_ngcontent-%COMP%]{border-top-left-radius:0;border-top-right-radius:0}.location[_ngcontent-%COMP%]{margin-bottom:16px}.no-image[_ngcontent-%COMP%]{height:206px;display:flex;justify-content:center;align-items:center}.no-image[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:2.5rem;width:40px;height:40px}mat-card[_ngcontent-%COMP%]{margin:10px 0}"]})}}return n})();function z(n,a){if(1&n&&t.nrm(0,"taiga-webshop-list",2),2&n){const e=t.XpG();t.Y8G("webshop",e.webshop)("contractId",e.contractId)}}let H=(()=>{class n{constructor(e,i,o,s,c){this.mediaQueryService=e,this.webshopService=i,this.route=o,this.router=s,this.translate=c,this.subTitle=this.translate.instant("WEBSHOPSELECTITEMHELP"),this.contractId=this.route.
1snapshot.params.id,this.webshopService.getWebshop(this.contractId).subscribe(l=>{l&&l.items?.length>0?this.webshop=l:this.subTitle=this.translate.instant("NOWEBSHOPITEMS")})}click(e){this.router.navigateByUrl(`mypages/contract/${e}/webshop`)}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(f.M),t.rXU(I),t.rXU(h.nX),t.rXU(h.Ix),t.rXU(b.c$))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["taiga-webshop"]],standalone:!1,decls:4,vars:9,consts:[[3,"text","subText"],[3,"webshop","contractId",4,"ngIf"],[3,"webshop","contractId"]],template:function(i,o){1&i&&(t.j41(0,"div"),t.nrm(1,"taiga-medium-header",0),t.nI1(2,"translate"),t.DNE(3,z,1,2,"taiga-webshop-list",1),t.k0s()),2&i&&(t.AVh("is-mobile",o.mediaQueryService.isMobile())("is-desktop",!o.mediaQueryService.isMobile()),t.R7$(),t.Y8G("text",t.bMT(2,7,"WEBSHOP"))("subText",o.subTitle),t.R7$(2),t.Y8G("ngIf",o.webshop))},dependencies:[g.bT,P.o,V,b.D9],styles:[".is-desktop[_ngcontent-%COMP%]{padding:30px}.is-mobile[_ngcontent-%COMP%]{padding:20px}"]})}}return n})();var S=r(7468),W=r(56),Q=r(1580),J=r(100),u=r(2928),K=r(7403),$=r(6471),k=r(9417),Z=r(3881),q=r(7655),j=r(9437),tt=r(1997),et=r(2765),nt=r(1301);function it(n,a){if(1&n&&t.nrm(0,"img",24),2&n){const e=t.XpG(2);t.Y8G("alt",e.webshopItem.attachments[0].displayName)("src",e.imgSrc,t.B4B)}}function ot(n,a){1&n&&(t.j41(0,"div",25)(1,"mat-icon",26),t.nI1(2,"translate"),t.EFF(3,"hide_image"),t.k0s()()),2&n&&(t.R7$(),t.BMQ("aria-label",t.bMT(2,1,"NOIMAGE")))}function at(n,a){1&n&&(t.j41(0,"div",27),t.nrm(1,"taiga-spinner",28),t.k0s()),2&n&&(t.R7$(),t.Y8G("diameter",36))}function st(n,a){1&n&&(t.qex(0),t.EFF(1,", "),t.bVm())}function rt(n,a){if(1&n&&(t.j41(0,"div"),t.EFF(1),t.DNE(2,st,2,0,"ng-container",31),t.k0s()),2&n){const e=a.$implicit,i=a.index,o=t.XpG(3);t.R7$(),t.SpI(" ",e.displayName,""),t.R7$(),t.Y8G("ngIf",o.spaces.length>1&&i!==o.spaces.length-1)}}function ct(n,a){if(1&n&&(t.j41(0,"div",29)(1,"mat-label",15),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.DNE(4,rt,3,2,"div",30),t.k0s()),2&n){const e=t.XpG(2);t.R7$(2),t.SpI("",t.bMT(3,2,"ORDERFOR"),":"),t.R7$(2),t.Y8G("ngForOf",e.spaces)}}function mt(n,a){if(1&n&&(t.j41(0,"div",32)(1,"mat-label",15),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div"),t.EFF(5),t.k0s()()),2&n){const e=t.XpG(2);t.R7$(2),t.JRh(t.bMT(3,2,"WEBSHOPFREETEXTFIELD")),t.R7$(3),t.JRh(e.freeText)}}function lt(n,a){if(1&n){const e=t.RV6();t.j41(0,"mat-card",2),t.bIt("mouseenter",function(o){t.eBV(e);const s=t.XpG();return t.Njj(s.addClass(o))})("mouseleave",function(o){t.eBV(e);const s=t.XpG();return t.Njj(s.removeClass(o))}),t.j41(1,"mat-card-content")(2,"div",3)(3,"div",4)(4,"div",5),t.DNE(5,it,1,2,"img",6)(6,ot,4,3,"div",7)(7,at,2,1,"div",8),t.k0s()(),t.j41(8,"div")(9,"div",9)(10,"div",10)(11,"div",11)(12,"div")(13,"h2",11),t.EFF(14),t.k0s()()()(),t.DNE(15,ct,5,4,"div",12)(16,mt,6,4,"div",13),t.j41(17,"div",14)(18,"div")(19,"mat-label",15),t.EFF(20),t.nI1(21,"translate"),t.k0s(),t.j41(22,"div",16),t.EFF(23),t.nI1(24,"translate"),t.k0s()(),t.j41(25,"div")(26,"mat-label",15),t.EFF(27),t.nI1(28,"translate"),t.k0s(),t.j41(29,"div",16),t.EFF(30),t.nI1(31,"translate"),t.k0s()(),t.j41(32,"div")(33,"mat-label",15),t.nrm(34,"taiga-markdown",17),t.nI1(35,"translate"),t.k0s(),t.j41(36,"div",18),t.EFF(37),t.nI1(38,"translate"),t.k0s()()()()()(),t.j41(39,"div",19),t.nrm(40,"mat-divider"),t.k0s(),t.j41(41,"div",20)(42,"div"),t.nrm(43,"taiga-markdown",17),t.nI1(44,"translate"),t.k0s(),t.j41(45,"mat-checkbox",21,0),t.nrm(47,"taiga-markdown",17),t.nI1(48,"translate"),t.k0s()()(),t.j41(49,"mat-card-actions",22)(50,"taiga-loading-button",23),t.nI1(51,"translate"),t.bIt("clicked",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.putWebshopItem())}),t.k0s()()()}if(2&n){const e=t.sdS(46),i=t.XpG();t.FS9("id",null==i.webshopItem?null:i.webshopItem.id),t.R7$(2),t.AVh("is-mobile",i.mediaQueryService.isMobile())("is-desktop",!i.mediaQueryService.isMobile()),t.R7$(),t.AVh("image-container-mobile",i.mediaQueryService.isMobile())("image-container",!i.mediaQueryService.isMobile()),t.R7$(2),t.Y8G("ngIf",i.imgSrc&&!i.loadingImg),t.R7$(),t.Y8G("ngIf",!i.imgSrc&&!i.loadingImg),t.R7$(),t.Y8G("ngIf",i.loadingImg),t.R7$(),t.AVh("info-container-mobile",i.mediaQueryService.isMobile())("info-container",!i.mediaQueryService.isMobile()),t.R7$(2),t.AVh("header-desktop",!i.mediaQueryService.isMobile()),t.R7$(4),t.JRh(null==i.webshopItem?null:i.webshopItem.displayName),t.R7$(),t.Y8G("ngIf",(null==i.spaces?null:i.spaces.length)>0),t.R7$(),t.Y8G("ngIf",i.freeText),t.R7$(4),t.SpI("",t.bMT(21,36,"ONEOFFCOST"),":"),t.R7$(3),t.Lme(" ",i.priceOnetTime," ",t.bMT(24,38,"KR")," "),t.R7$(4),t.SpI("",t.bMT(28,40,"TOTALINCREASEDRENT"),":"),t.R7$(3),t.Lme(" ",i.priceRecurring," ",t.bMT(31,42,"SEKPERMONTH")," "),t.R7$(4),t.Mz_("markdown","",t.bMT(35,44,"PRELIMINARYTOTALRENT"),":"),t.R7$(3),t.Lme(" ",i.priceRecurring+i.contractPrice," ",t.bMT(38,46,"SEKPERMONTH")," "),t.R7$(6),t.Y8G("markdown",t.bMT(44,48,"WEBSHOPTERMS")),t.R7$(4),t.Y8G("markdown",t.bMT(48,50,"WEBSHOPACCEPTTERMS")),t.R7$(3),t.Y8G("disabled",!(null!=e&&e.checked)||i.disableButton)("spin",i.disableButton)("text",t.bMT(51,52,"CONFIRMORDER"))}}let pt=(()=>{class n{constructor(e,i,o){this.mediaQueryService=e,this.webshopService=i,this.router=o}ngOnInit(){if(this.webshopItem.attachments?.length>0){const e=this.webshopItem.attachments.find(i=>i.contentType.includes("image"));
1e&&(this.loadingImg=!0,this.getWebshopItemAttachmentsItem(e.id))}this.spaces=this.webshopItem.spaces?.filter(e=>e.selected)}addClass(e){e.currentTarget.classList.add("mat-elevation-z2")}removeClass(e){e.currentTarget.classList.remove("mat-elevation-z2")}getWebshopItemAttachmentsItem(e){this.webshopService.getWebshopItemAttachmentsItem(e).subscribe(i=>{this.blobToBase64(i).pipe((0,T.j)(()=>{this.loadingImg=!1})).subscribe(o=>{this.imgSrc=o})})}blobToBase64(e){if("function"!=typeof FileReader)return R.w;const i=new FileReader,o=new w.c(s=>{i.onloadend=()=>{s.next(i.result),s.complete()}});return i.readAsDataURL(e),o}putWebshopItem(){let e=[];if(this.spaces)for(let i of this.spaces)e.push(i.id);this.disableButton=!0,this.webshopService.putWebshopItem(this.webshopItem.id,this.contractsItem.primaryObject.id,e,this.freeText).pipe((0,j.W)(i=>{throw this.disableButton=!1,i})).subscribe(()=>{this.router.navigateByUrl(`mypages/contract/${this.contractId}/webshop/${this.webshopItem.id}/ordercomplete`)})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(f.M),t.rXU(I),t.rXU(h.Ix))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["taiga-webshop-checkout"]],inputs:{webshopItem:"webshopItem",contractId:"contractId",priceOnetTime:"priceOnetTime",priceRecurring:"priceRecurring",freeText:"freeText",contractPrice:"contractPrice",contractsItem:"contractsItem"},standalone:!1,decls:1,vars:1,consts:[["consentCheckboxChecked",""],[3,"id","mouseenter","mouseleave",4,"ngIf"],[3,"mouseenter","mouseleave","id"],[1,"flex"],[2,"padding","10px"],[1,"image-content"],["class","image",3,"alt","src",4,"ngIf"],["class","no-image",4,"ngIf"],["class","loading-image",4,"ngIf"],[1,"info-content"],[1,"header"],[1,""],["class","spaces",4,"ngIf"],["class","free-text",4,"ngIf"],[1,"price-container"],[1,"mat-body-strong"],[1,"amount"],[3,"markdown"],[1,"amount",2,"margin-top","-12px"],[1,"divider"],[1,"consent"],["data-mom-test","MyPages_Webshop_Checkout_ConsentCheckbox",1,"consent-checkbox"],["align","end"],["color","primary","mat-raised-button","","matStepperNext","","data-mom-test","MyPages_Webshop_Checkout_ConfirmOrder",1,"step-button",3,"clicked","disabled","spin","text"],[1,"image",3,"alt","src"],[1,"no-image"],["color","primary"],[1,"loading-image"],[3,"diameter"],[1,"spaces"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"free-text"]],template:function(i,o){1&i&&t.DNE(0,lt,52,54,"mat-card",1),2&i&&t.Y8G("ngIf",o.webshopItem.id)},dependencies:[g.Sq,g.bT,tt.q,C.An,p.RN,p.YY,p.m2,u.M,et.So,nt.A,y.t,x.N,b.D9],styles:[".flex[_ngcontent-%COMP%]{display:flex}.is-mobile[_ngcontent-%COMP%]{flex-direction:column}.is-desktop[_ngcontent-%COMP%]{flex-direction:row}.image-container[_ngcontent-%COMP%]{width:37%}.info-container[_ngcontent-%COMP%]{width:63%}.image[_ngcontent-%COMP%]{width:100%;height:206px;object-fit:cover;display:flex;border-radius:2px}.object-card[_ngcontent-%COMP%]{cursor:pointer}.info-content[_ngcontent-%COMP%], .consent[_ngcontent-%COMP%]{margin:5px 15px 10px}.mat-h2[_ngcontent-%COMP%]{margin-bottom:0;color:var(--palette-primary-500)}.text[_ngcontent-%COMP%]{margin-top:15px}.address[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap-reverse}.details[_ngcontent-%COMP%]{display:flex;justify-content:space-evenly;text-align:center;flex-wrap:wrap}.details[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{font-size:1.125rem}.details[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:.75rem}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical}.icon[_ngcontent-%COMP%]{display:flex;justify-content:center}.broken-image-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;min-width:120px;min-height:120px;font-size:6.25rem;border:solid;border-radius:50%;margin-bottom:8px}.divider[_ngcontent-%COMP%]{margin:15px}.application-open-to-container[_ngcontent-%COMP%]{margin-bottom:5px}.pill-badge[_ngcontent-%COMP%]{font-weight:400;align-self:center;font-size:.75rem;margin-left:auto}.no-border-bottom-radius[_nghost-%COMP%]   mat-card[_ngcontent-%COMP%], .no-border-bottom-radius   [_nghost-%COMP%]   mat-card[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0}.no-border-top-radius[_nghost-%COMP%]   mat-card[_ngcontent-%COMP%], .no-border-top-radius   [_nghost-%COMP%]   mat-card[_ngcontent-%COMP%]{border-top-left-radius:0;border-top-right-radius:0}.location[_ngcontent-%COMP%]{margin-bottom:16px}.no-image[_ngcontent-%COMP%], .loading-image[_ngcontent-%COMP%]{height:206px;display:flex;justify-content:center;align-items:center;background-color:rgb(var(--palette-background-background));border-radius:2px}.no-image[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:2.5rem;width:40px;height:40px}mat-card[_ngcontent-%COMP%]{margin:10px 0}.price-container[_ngcontent-%COMP%]{margin-top:16px;margin-bottom:16px}.price-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{margin-bottom:16px}
1.amount[_ngcontent-%COMP%]{font-size:1rem}.spaces[_ngcontent-%COMP%], .free-text[_ngcontent-%COMP%]{margin-bottom:16px}.consent-checkbox[_ngcontent-%COMP%]{margin-top:8px;margin-bottom:8px}"]})}}return n})();const dt=n=>({invalidChars:n});function gt(n,a){if(1&n&&t.nrm(0,"taiga-medium-header",11),2&n){const e=t.XpG(2);t.Y8G("text",null==e.webshop.items[0]?null:e.webshop.items[0].displayName)("subText",null==e.contractsItem||null==e.contractsItem.primaryObject?null:e.contractsItem.primaryObject.location.address.address)}}function ht(n,a){1&n&&(t.nrm(0,"taiga-medium-header",11),t.nI1(1,"translate"),t.nI1(2,"translate")),2&n&&t.Y8G("text",t.bMT(1,2,"WEBSHOPCHECKOUT"))("subText",t.bMT(2,4,"WEBSHOPCHECKOUTHELP"))}function _t(n,a){if(1&n&&t.nrm(0,"taiga-image-carousel",32),2&n){const e=t.XpG(3);t.Y8G("images",e.images)}}function bt(n,a){1&n&&(t.j41(0,"div",33),t.nrm(1,"taiga-spinner",34),t.k0s()),2&n&&(t.R7$(),t.Y8G("diameter",36))}function ut(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.JRh(e.displayName)}}function ft(n,a){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"PDFDOCUMENT")))}function It(n,a){if(1&n){const e=t.RV6();t.j41(0,"div",38)(1,"button",39),t.nI1(2,"translate"),t.bIt("click",function(){t.eBV(e);const o=t.XpG().$implicit,s=t.XpG(4);return t.Njj(s.downloadFile(o))}),t.j41(3,"mat-icon"),t.EFF(4,"picture_as_pdf"),t.k0s(),t.DNE(5,ut,2,1,"span",40)(6,ft,3,3,"span",40),t.k0s()()}if(2&n){const e=t.XpG().$implicit;
1t.R7$(),t.BMQ("aria-label",t.bMT(2,3,"PDFDOCUMENT")),t.R7$(4),t.Y8G("ngIf",e.displayName),t.R7$(),t.Y8G("ngIf",!e.displayName)}}function Ct(n,a){if(1&n&&(t.qex(0),t.DNE(1,It,7,5,"div",37),t.bVm()),2&n){const e=a.$implicit;t.R7$(),t.Y8G("ngIf","application/pdf"===e.contentType)}}function xt(n,a){if(1&n&&(t.j41(0,"div",35),t.DNE(1,Ct,2,1,"ng-container",36),t.k0s()),2&n){const e=t.XpG(3);t.R7$(),t.Y8G("ngForOf",e.files)}}function vt(n,a){if(1&n&&(t.j41(0,"div",41)(1,"mat-label",23),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.nrm(4,"taiga-markdown",18),t.k0s()),2&n){const e=t.XpG(3);t.R7$(2),t.JRh(t.bMT(3,2,"WEBSHOPORDERPROCESSDESCRIPTION")),t.R7$(2),t.Y8G("markdown",e.webshop.items[0].helptext)}}function Ot(n,a){if(1&n&&(t.j41(0,"div",42)(1,"a",43),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"mat-icon"),t.EFF(5,"open_in_new"),t.k0s()()()),2&n){const e=t.XpG(3);t.R7$(),t.Y8G("href",e.externalUrl,t.B4B),t.R7$(),t.SpI(" ",t.bMT(3,2,"WEBSHOPMOREINFOLINK")," ")}}function Mt(n,a){if(1&n){const e=t.RV6();t.j41(0,"mat-chip-option",48),t.bIt("selectionChange",function(o){const s=t.eBV(e).$implicit;return t.XpG(4).calculateSpacesPrice(o),t.Njj(s.selected=o.selected)}),t.EFF(1),t.k0s()}if(2&n){const e=a.$implicit,i=t.XpG(4);t.Y8G("value",e)("selected",e.selected)("selectable",!e.selected||i.isEnoughSelected()),t.R7$(),t.SpI(" ",e.displayName," ")}}function Pt(n,a){if(1&n&&(t.j41(0,"mat-hint",49),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(4);t.AVh("space-error",e.showSpaceError),t.R7$(),t.JRh(t.bMT(2,3,"ATLEASTONEISREQUIRED"))}}function Tt(n,a){if(1&n&&(t.j41(0,"div",44)(1,"mat-label",23),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"mat-chip-listbox",45),t.nI1(5,"translate"),t.DNE(6,Mt,2,4,"mat-chip-option",46),t.k0s(),t.DNE(7,Pt,3,5,"mat-hint",47),t.k0s()),2&n){const e=t.XpG(3);t.R7$(2),t.SpI("",t.bMT(3,5,"ORDERFOR"),":"),t.R7$(2),t.Y8G("selectable",!0),t.BMQ("aria-label",t.bMT(5,7,"ORDERFOR")),t.R7$(2),t.Y8G("ngForOf",e.webshop.items[0].spaces),t.R7$(),t.Y8G("ngIf",(null==e.webshop.items[0]||null==e.webshop.items[0].spaces?null:e.webshop.items[0].spaces.length)>1)}}function Rt(n,a){1&n&&t.eu8(0)}function wt(n,a){if(1&n&&t.EFF(0),2&n){const e=t.XpG(3);t.JRh(e.totalSpacesPriceOneTime)}}function Et(n,a){if(1&n&&t.EFF(0),2&n){const e=t.XpG(3);t.JRh(e.totalBasePriceOneTime)}}function yt(n,a){1&n&&t.eu8(0)}function St(n,a){if(1&n&&t.EFF(0),2&n){const e=t.XpG(3);t.JRh(e.totalSpacesPriceRecurring)}}function kt(n,a){if(1&n&&t.EFF(0),2&n){const e=t.XpG(3);t.JRh(e.totalBasePriceRecurring)}}function Ft(n,a){1&n&&t.eu8(0)}function Wt(n,a){if(1&n&&t.EFF(0),2&n){const e=t.XpG(3);t.JRh(e.currentContractPrice+e.totalSpacesPriceRecurring)}}function $t(n,a){if(1&n&&t.EFF(0),2&n){const e=t.XpG(3);t.JRh(e.currentContractPrice+e.totalBasePriceRecurring)}}function jt(n,a){if(1&n){const e=t.RV6();t.j41(0,"mat-card",12)(1,"div",13)(2,"div",14),t.DNE(3,_t,1,1,"taiga-image-carousel",15)(4,bt,2,1,"div",16),t.k0s()(),t.j41(5,"mat-card-content"),t.DNE(6,xt,2,1,"div",17),t.nrm(7,"taiga-markdown",18),t.DNE(8,vt,5,4,"div",19)(9,Ot,6,4,"div",20)(10,Tt,8,9,"div",21),t.j41(11,"div",22)(12,"div")(13,"mat-label",23),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.j41(16,"div",24),t.DNE(17,Rt,1,0,"ng-container",25)(18,wt,1,1,"ng-template",null,0,t.C5r)(20,Et,1,1,"ng-template",null,1,t.C5r),t.EFF(22),t.nI1(23,"translate"),t.k0s()(),t.j41(24,"div")(25,"mat-label",23),t.EFF(26),t.nI1(27,"translate"),t.k0s(),t.j41(28,"div",24),t.DNE(29,yt,1,0,"ng-container",25)(30,St,1,1,"ng-template",null,2,t.C5r)(32,kt,1,1,"ng-template",null,3,t.C5r),t.EFF(34),t.nI1(35,"translate"),t.k0s()(),t.j41(36,"div")(37,"mat-label",23),t.nrm(38,"taiga-markdown",18),t.nI1(39,"translate"),t.k0s(),t.j41(40,"div",26),t.DNE(41,Ft,1,0,"ng-container",25)(42,Wt,1,1,"ng-template",null,4,t.C5r)(44,$t,1,1,"ng-template",null,5,t.C5r),t.EFF(46),t.nI1(47,"translate"),t.k0s()()(),t.j41(48,"div",27)(49,"mat-form-field",28)(50,"mat-label"),t.EFF(51),t.nI1(52,"translate"),t.k0s(),t.j41(53,"textarea",29,6),t.mxI("ngModelChange",function(o){t.eBV(e);const s=t.XpG(2);return t.DH7(s.freeText,o)||(s.freeText=o),t.Njj(o)}),t.k0s(),t.j41(55,"mat-error"),t.EFF(56),t.nI1(57,"translate"),t.k0s()()()(),t.j41(58,"mat-card-actions",30)(59,"button",31),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.showCheckOut())}),t.EFF(60),t.nI1(61,"translate"),t.k0s()()()}if(2&n){const e=t.sdS(19),i=t.sdS(21),o=t.sdS(31),s=t.sdS(33),c=t.sdS(43),l=t.sdS(45),d=t.sdS(54),m=t.XpG(2);t.R7$(3),t.Y8G("ngIf",!m.loadingImages),t.R7$(),t.Y8G("ngIf",m.loadingImages),t.R7$(2),t.Y8G("ngIf",(null==m.files?null:m.files.length)>0),t.R7$(),t.Y8G("markdown",m.webshop.items[0].description),t.R7$(),t.Y8G("ngIf",m.webshop.items[0].helptext),t.R7$(),t.Y8G("ngIf",m.externalUrl),t.R7$(),t.Y8G("ngIf",(null==m.webshop.items[0]||null==m.webshop.items[0].spaces?null:m.webshop.items[0].spaces.length)>0),t.R7$(4),t.SpI("",t.bMT(15,27,"ONEOFFCOST"),":"),t.R7$(3),t.Y8G("ngIf",m.useSpacesPrices)("ngIfThen",e)("ngIfElse",i),t.R7$(5),t.SpI(" ",t.bMT(23,29,"KR")," "),t.R7$(4),t.SpI("",t.bMT(27,31,"TOTALINCREASEDRENT"),":"),t.R7$(3),t.Y8G("ngIf",m.useSpacesPrices)("ngIfThen",o)("ngIfElse",s),t.R7$(5),t.SpI(" ",t.bMT(35,33,"SEKPERMONTH")," "),t.R7$(4),t.Mz_("markdown","",t.bMT(39,35,"PRELIMINARYTOTALRENT"),":"),t.R7$(3),t.Y8G("ngIf",m.useSpacesPrices)("ngIfThen",c)("ngIfElse",l),t.R7$(5),t.SpI(" ",t.bMT(47,37,"SEKPERMONTH")," "),t.R7$(5),t.JRh(t.bMT(52,39,"WEBSHOPFREETEXTFIELD")),t.R7$(2),t.R50("ngModel",m.freeText),t.R7$(3),t.JRh(t.i5U(57,41,"INVA
1LIDCHARACTERS",t.eq3(46,dt,null==d.errors||null==d.errors.allowedCharacters?null:d.errors.allowedCharacters.invalidChars))),t.R7$(4),t.JRh(t.bMT(61,44,"TOORDER"))}}function Gt(n,a){if(1&n&&t.nrm(0,"taiga-webshop-checkout",50),2&n){const e=t.XpG(2);t.Y8G("webshopItem",e.webshop.items[0])("contractId",e.contractId)("priceOnetTime",e.useSpacesPrices?e.totalSpacesPriceOneTime:e.totalBasePriceOneTime)("priceRecurring",e.useSpacesPrices?e.totalSpacesPriceRecurring:e.totalBasePriceRecurring)("freeText",e.freeText)("contractPrice",e.currentContractPrice)("contractsItem",e.contractsItem)}}function Nt(n,a){if(1&n&&(t.j41(0,"div"),t.DNE(1,gt,1,2,"taiga-medium-header",8)(2,ht,3,6,"taiga-medium-header",8)(3,jt,62,48,"mat-card",9)(4,Gt,1,7,"taiga-webshop-checkout",10),t.k0s()),2&n){const e=t.XpG();t.AVh("is-mobile",e.mediaQueryService.isMobile())("is-desktop",!e.mediaQueryService.isMobile()),t.R7$(),t.Y8G("ngIf",!e.checkout),t.R7$(),t.Y8G("ngIf",e.checkout),t.R7$(),t.Y8G("ngIf",!e.checkout&&e.webshop.items[0]),t.R7$(),t.Y8G("ngIf",e.checkout&&e.webshop)}}let G=(()=>{class n{constructor(e,i,o,s,c,l,d){this.mediaQueryService=e,this.webshopService=i,this.route=o,this.contractService=s,this.router=c,this.fileService=l,this.changeDetectorRef=d,this.images=[],this.totalBasePriceOneTime=0,this.totalBasePriceRecurring=0,this.totalSpacesPriceOneTime=0,this.totalSpacesPriceRecurring=0,this.files=[],this.loadingImages=!0,this.showSpaceError=!1,this.contractId=this.route.snapshot.params.id,this.webshopId=this.route.snapshot.params.webshopId,this.route.queryParams.subscribe(m=>{m.checkout&&!this.webshop?this.router.navigate([],{queryParams:{},replaceUrl:!0}):m.checkout||(this.checkout=!1)}),(0,S.p)([this.webshopService.getWebshopById(this.contractId,this.webshopId),this.contractService.getContract(this.contractId)]).subscribe(m=>{if(m[0]&&m[0].items?.length>0){if(this.webshop=m[0],this.externalUrl=!this.webshop.items[0]?.externalUrl||this.webshop.items[0]?.externalUrl?.includes("http")?this.webshop.items[0].externalUrl:`https://${this.webshop.items[0].externalUrl}`,this.createBase64Images(),this.files=this.webshop.items[0]?.attachments?.filter(_=>!_.contentType.includes("image")),this.webshop.items[0]?.spaces?.length>0){this.useSpacesPrices=!0;const _=1===this.webshop.items[0].spaces.length;this.webshop.items[0].spaces.forEach(O=>{O.selected=_,_&&O.pricing&&(this.totalSpacesPriceOneTime+=O.pricing.priceOneTime??0,this.totalSpacesPriceRecurring+=O.pricing.priceRecurring??0)})}else if(this.webshop.items[0].pricing?.length>0)for(let _ of this.webshop.items[0].pricing)this.totalBasePriceOneTime+=_.priceOneTime??0,this.totalBasePriceRecurring+=_.priceRecurring??0;m[1]&&(this.currentContractPrice=+m[1].pricing.price?.toFixed(),this.contractsItem=m[1])}})}createBase64Images(){if(this.webshop.items[0]?.attachments){let e=[],i=[];for(const o of this.webshop.items[0].attachments)o.id&&o.contentType.includes("image")&&(e.push(this.webshopService.getWebshopItemAttachmentsItem(o.id)),i.push(o.displayName));e.length>0?(0,S.p)(e).pipe((0,T.j)(()=>{this.loadingImages=!1})).subscribe(o=>{let s=[];for(const c of o)s.push(this.blobToBase64(c));s.length>0&&(0,S.p)(s).subscribe(c=>{let l=[];for(let d=0;d<c.length;d++)l.push({src:c[d],alt:i[d]});this.images=l})}):this.loadingImages=!1}else this.loadingImages=!1}blobToBase64(e){if("function"!=typeof FileReader)return R.w;const i=new FileReader,o=new w.c(s=>{i.onloadend=()=>{s.next(i.result),s.complete()}});return i.readAsDataURL(e),o}calculateSpacesPrice(e){let i=e.source?.value;e.selected&&(this.showSpaceError=!1),i.pricing&&e.selected!==e.source.value.selected&&(e.selected?(this.totalSpacesPriceOneTime+=i.pricing.priceOneTime??0,this.totalSpacesPriceRecurring+=i.pricing.priceRecurring??0):(this.totalSpacesPriceOneTime-=i.pricing.priceOneTime??0,this.totalSpacesPriceRecurring-=i.pricing.priceRecurring??0)),this.changeDetectorRef.detectChanges()}showCheckOut(){const e=this.webshop?.items[0]?.spaces;e?.length>1&&!e.find(i=>i.selected)?this.showSpaceError=!0:(this.showSpaceError=!1,this.checkout=!0,this.router.navigateByUrl(`mypages/contract/${this.contractId}/webshop/${this.webshopId}?checkout=1`))}downloadFile(e){this.webshopService.getWebshopItemAttachmentsItem(e.id).subscribe(i=>{const s=e.contentType?.split("/").pop();this.fileService.saveBlobWithFilename(i,`${e.displayName??"Bilaga"}.${s}`)})}isEnoughSelected(){return this.webshop.items[0]?.spaces?.filter(e=>e.selected)?.length>1}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(f.M),t.rXU(I),t.rXU(h.nX),t.rXU(W.y),t.rXU(h.Ix),t.rXU(Q.E),t.rXU(t.gRc))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["taiga-webshop-item"]],standalone:!1,decls:1,vars:1,consts:[["_totalSpacesPriceOneTime",""],["_totalBasePriceOneTime",""],["_totalSpacesPriceRecurring",""],["_totalBasePriceRecurring",""],["currentContractPriceAndtotalSpacesPriceRecurring",""],["currentContractPriceAndtotalBasePriceRecurring",""],["freeTextModel","ngModel"],[3,"is-mobile","is-desktop",4,"ngIf"],[3,"text","subText",4,"ngIf"],["class","webshop-card",4,"ngIf"],[3,"webshopItem","contractId","priceOnetTime","priceRecurring","freeText","contractPrice","contractsItem",4,"ngIf"],[3,"text","subText"],[1,"webshop-card"],[1,"image-container"],[1,"swiper"],[3,"images",4,"ngIf"],["class","spinner",4,"ngIf"],["class","files-container",4,"ngIf"],[3,"markdown"],["class","help-text-container",4,"ngIf"],["class","link-container",4,"ngIf"],["class","chip-list",4,"ngIf"],[1,"price-container"],[1,"mat-body-strong"],[1,"amount"],[4,"ngIf","ngIfThe
1n","ngIfElse"],[1,"amount",2,"margin-top","-12px"],[1,"free-text-field"],["appearance","outline"],["cdkTextareaAutosize","","rows","4","matInput","","taigaAllowedCharacters","","data-mom-test","MyPages_Webshop_Checkout_Message",3,"ngModelChange","ngModel"],["align","end"],["mat-raised-button","","color","primary","data-mom-test","MyPages_Webshop_Checkout_SendOrder",1,"order-button",3,"click"],[3,"images"],[1,"spinner"],[3,"diameter"],[1,"files-container"],[4,"ngFor","ngForOf"],["class","download-file-button-container",4,"ngIf"],[1,"download-file-button-container"],["mat-button","","color","primary",3,"click"],[4,"ngIf"],[1,"help-text-container"],[1,"link-container"],["target","_blank",1,"link",3,"href"],[1,"chip-list"],["multiple","",3,"selectable"],["data-mom-test","MyPages_Webshop_Checkout_Spaces",3,"value","selected","selectable","selectionChange",4,"ngFor","ngForOf"],["class","hint",3,"space-error",4,"ngIf"],["data-mom-test","MyPages_Webshop_Checkout_Spaces",3,"selectionChange","value","selected","selectable"],[1,"hint"],[3,"webshopItem","contractId","priceOnetTime","priceRecurring","freeText","contractPrice","contractsItem"]],template:function(i,o){1&i&&t.DNE(0,Nt,5,8,"div",7),2&i&&t.Y8G("ngIf",o.webshop)},dependencies:[g.Sq,g.bT,C.An,E.$z,p.RN,p.YY,p.m2,J.fg,u.j,u.M,u.c,u.b,K.xb,$.uI,$.gq,k.me,k.BC,k.vS,Z.S,P.o,q.H,y.t,x.N,pt,b.D9],styles:[".is-desktop[_ngcontent-%COMP%]{padding:30px}.is-mobile[_ngcontent-%COMP%]{padding:20px}mat-card[_ngcontent-%COMP%]{margin-top:16px}.example-header-image[_ngcontent-%COMP%]{background-image:url(https://material.angular.io/assets/img/examples/shiba1.jpg);background-size:cover}mat-card-content[_ngcontent-%COMP%]{padding:0 16px!important;margin-top:16px}.free-text-field[_ngcontent-%COMP%]     .mat-mdc-form-field-infix{padding-left:16px}.free-text-field[_ngcontent-%COMP%], .help-text-container[_ngcontent-%COMP%], .link-container[_ngcontent-%COMP%]{margin-top:16px}mat-chip-listbox[_ngcontent-%COMP%]{margin-top:8px;margin-bottom:8px}.chip-list[_ngcontent-%COMP%]{margin-top:16px}mat-form-field[_ngcontent-%COMP%]{width:100%}.is-mobile[_ngcontent-%COMP%]   .swiper[_ngcontent-%COMP%]{height:206px}.is-mobile[_ngcontent-%COMP%]   .order-button[_ngcontent-%COMP%]{margin-top:8px}.is-desktop[_ngcontent-%COMP%]   .swiper[_ngcontent-%COMP%]{height:613px}.link[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--palette-accent-500)}.link[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-left:8px}.price-container[_ngcontent-%COMP%]{margin-top:16px;margin-bottom:16px}.price-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{margin-bottom:16px}.amount[_ngcontent-%COMP%]{font-size:1rem}.swiper[_ngcontent-%COMP%]{padding:16px}.files-container[_ngcontent-%COMP%]{margin-bottom:16px;margin-left:-9px}.spinner[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:100%}.hint[_ngcontent-%COMP%]{font-size:.75rem}.space-error[_ngcontent-%COMP%]{color:var(--palette-warn-500);font-size:.75rem;margin-top:4px;font-weight:500}"]})}}return n})();var v=r(1336);function Bt(n,a){if(1&n&&(t.j41(0,"div"),t.nrm(1,"taiga-medium-header",1),t.nI1(2,"translate"),t.j41(3,"mat-card")(4,"mat-card-content")(5,"div",2)(6,"mat-icon",3),t.EFF(7,"check_circle"),t.k0s()(),t.j41(8,"div")(9,"mat-label",4),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.j41(12,"div"),t.nrm(13,"taiga-markdown",5),t.nI1(14,"translate"),t.k0s()()(),t.j41(15,"mat-card-actions",6)(16,"button",7),t.EFF(17),t.nI1(18,"translate"),t.k0s()()()()),2&n){const e=t.XpG();t.AVh("is-mobile",e.mediaQueryService.isMobile())("is-desktop",!e.mediaQueryService.isMobile()),t.R7$(),t.Y8G("text",t.bMT(2,8,"ORDERCOMPLETE")),t.R7$(9),t.SpI("",t.bMT(11,10,"THISHAPPENNOW"),":"),t.R7$(3),t.Y8G("markdown",t.bMT(14,12,"WEBSHOPORDERCOMPLETEHELP")),t.R7$(4),t.JRh(t.bMT(18,14,"TRACKORDER"))}}const Xt=[{path:"",component:H,canActivate:[v.q],title:"WEBSHOP"},{path:":webshopId",component:G,canActivate:[v.q],title:"WEBSHOP"},{path:":webshopId/checkout",component:G,canActivate:[v.q],title:"WEBSHOP"},{path:":webshopId/ordercomplete",component:(()=>{class n{constructor(e,i,o,s){this.mediaQueryService=e,this.contractService=i,this.route=o,this.router=s,this.contractService.getContract(this.route.
1snapshot.params.id).pipe((0,j.W)(l=>{throw this.router.navigateByUrl("/"),l})).subscribe(l=>{l?this.show=!0:this.router.navigateByUrl("/")})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(f.M),t.rXU(W.y),t.rXU(h.nX),t.rXU(h.Ix))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["taiga-webshop-order-complete"]],standalone:!1,decls:1,vars:1,consts:[[3,"is-mobile","is-desktop",4,"ngIf"],[3,"text"],[1,"icon-container"],["color","primary"],[1,"mat-body-strong"],[3,"markdown"],["align","end"],["mat-raised-button","","routerLink","/errands","color","primary","data-mom-test","MyPages_Webshop_FollowOrder"]],template:function(i,o){1&i&&t.DNE(0,Bt,19,16,"div",0),2&i&&t.Y8G("ngIf",o.show)},dependencies:[g.bT,M.Wk,C.An,E.$z,p.RN,p.YY,p.m2,u.M,P.o,x.N,b.D9],styles:[".is-desktop[_ngcontent-%COMP%]{padding:30px}.is-mobile[_ngcontent-%COMP%]{padding:20px}.icon-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:200px}.icon-container[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:6.25rem;min-height:100px;min-width:100px}mat-card[_ngcontent-%COMP%]{margin-top:16px}"]})}}return n})(),canActivate:[v.q],title:"WEBSHOP"}];let At=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=t.G2t({imports:[M.iI.forChild(Xt),M.iI]})}}return n})();var Dt=r(5974);let Ut=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=t.G2t({imports:[g.MD,At,Dt.G]})}}return 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.