1"use strict";(self.webpackChunkhbApp=self.webpackChunkhbApp||[]).push([[8523],{8523(p,a,t){t.r(a),t.d(a,{ContentOriginModalComponent:()=>g});var c=t(47266),m=t(38528),l=t(82444),d=t(11973),n=t(35547);let g=(()=>{class i{constructor(){this.CmsApiEnvironment=l.pBe,this.contentOriginService=(0,c.WQX)(m.x)}get cmsApiEnvironment(){return this.contentOriginService.cmsApiEnvironment}set cmsApiEnvironment(s){this.contentOriginService.cmsApiEnvironment=s,this.contentOriginService.reloadPageWithPurgedParams()}get previewIsActive(){return this.contentOriginService.previewIsActive}activatePreview(){this.contentOriginService.activatePreview(),this.contentOriginService.reloadPageWithPurgedParams()}deactivatePreview(){this.contentOriginService.deactivatePreview(),this.contentOriginService.reloadPageWithPurgedParams()}static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["app-content-origin-modal"]],decls:12,vars:5,consts:[["size","small","appearance","secondary",3,"click","disabled"]],template:function(o,e){1&o&&(n.j41(0,"section")(1,"hmg-button",0),n.bIt("click",function(){return e.activatePreview()}),n.EFF(2," Preview "),n.k0s(),n.j41(3,"hmg-button",0),n.bIt("click",function(){return e.deactivatePreview()}),n.EFF(4," Published "),n.k0s()(),n.j41(5,"section")(6,"hmg-button",0),n.bIt("click",function(){return e.cmsApiEnvironment=e.CmsApiEnvironment.development}),n.EFF(7,"Development "),n.k0s(),n.j41(8,"hmg-button",0),n.bIt("click",function(){return e.cmsApiEnvironment=e.CmsApiEnvironment.staging}),n.EFF(9,"Staging "),n.k0s(),n.j41(10,"hmg-button",0),n.bIt("click",function(){return e.cmsApiEnvironment=e.CmsApiEnvironment.production}),n.EFF(11,"Production "),n.k0s()()),2&o&&(n.R7$(),n.Y8G("disabled",e.previewIsActive),n.R7$(2),n.Y8G("disabled",!e.previewIsActive),n.R7$(3),n.Y8G("disabled",e.cmsApiEnvironment===e.CmsApiEnvironment.development),n.R7$(2),n.Y8G("disabled",e.cmsApiEnvironment===e.CmsApiEnvironment.staging),n.R7$(2),n.Y8G("disabled",e.cmsApiEnvironment===e.CmsApiEnvironment.production))},dependencies:[d.Qpp],styles:["[_nghost-%COMP%]{padding:var(--%NS%hmg-des-dimensions-padding-l);display:flex;justify-content:space-between;gap:var(--%NS%hmg-des-dimensions-gap-s);flex-direction:column}[_nghost-%COMP%] section[_ngcontent-%COMP%]{display:flex;gap:var(--%NS%hmg-des-dimensions-gap-2xs);flex-wrap:wrap}[_nghost-%COMP%] hmg-button[_ngcontent-%COMP%]{--%NS%hmg-des-button-secondary-color-fill-disabled: var(--%NS%hmg-des-components-button-primary-brand-color-fill-default);--%NS%hmg-des-button-secondary-color-foreground-disabled: var(--%NS%hmg-des-components-button-primary-brand-color-foreground-default)}"],changeDetection:1})}}return i})()}}]);
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.