PageSourceSearch

https://www.siniat.pl/etex/js/assets/js/8440.0a3f3dde5f62665fa5f2.mjs

js siniat.pl collected 2026-10-07 23:26:10 UTC 28,342 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebpack=self.webpackChunkwebpack||[]).push([[8440],{28440:function(t,e,s){s.r(e),s.d(e,{EntityWizard:function(){return B}});var i,a,n=s(2272),r=s(26070),l=s(8136),u=s(33922),h=s(79234),o=s(93973),c=s.n(o);class d{static getInstance(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return d.instance||(d.instance=new d(t)),d.instance}constructor(t){this.selectionStepSubmissionUrl=t.selectionStepSubmissionUrl,this.firstStepSubmissionUrl=t.firstStepSubmissionUrl,this.facetValueSelectedUrl=t.facetValueSelectedUrl,this.currentStepLabel=t.currentStepLabel,this.showResultsLabel=t.showResultsLabel,this.nextButtonLabel=t.nextButtonLabel,this.backButtonLabel=t.backButtonLabel}}class p{}p.LoadStepData="EntityWizardLoadStepData",function(t){t[t.Tiled=0]="Tiled",t[t.Boundary=1]="Boundary"}(i||(i={})),function(t){t[t.Minimum=0]="Minimum",t[t.Maximum=1]="Maximum",t[t.Range=2]="Range"}(a||(a={}));var m=s(66721);class S{static getInstance(){return S.instance||(S.instance=new S),S.instance}constructor(){this.currentCategory="",this.currentQuery=""}}class y extends m.m{constructor(t,e){super(),this.hasValue=!1,this.isMandatory=!0,this.isFirstStep=!1,this.disableButtonCallBack=e,this.submitCallBack=t}renderPreStepHtml(){const t=`getDataStep${this.stepIndex}`;return window[t]=this.getData(),`\n                <div x-data="${t}" x-html="renderStep()"\n                     x-show="shouldBeShown">\n                \x3c!-- in typescript - in step itself --\x3e\n                    \x3c!-- html for step --\x3e\n                \x3c!----\x3e\n                </div>\n            `}modifyStepLabel(){const t=d.getInstance();return t.currentStepLabel?t.currentStepLabel.replace("{count}",this.stepIndex.toString()):""}hideStep(){this.alpineInstance.shouldBeShown=!1}showStep(){this.alpineInstance.shouldBeShown=!0;let t=S.getInstance();this.currentQuery=t.currentQuery}deleteStep(){this.isFirstStep||this.element.remove()}}class f extends y{constructor(t,e,s,i,a,n){super(s,i),this.executeQuery=(t,e)=>{var s=`${t}-${e}`;const i=d.getInstance(),a=S.getInstance();var n=new(c())(i.facetValueSelectedUrl);n._parts.query=`currentQuery=${a.currentQuery}&category=${a.currentCategory}&attribute=${this.alpineInstance.facet.key}&value=${s}`;var r=new h.o(n.toString(),null,!1);this.ajaxWrapper.doFetch(r).then((t=>{t.clone().json().then((t=>{a.currentQuery=t.currentQuery,this.currentQuery=`${t.currentQuery}`,this.valueSelectionCallBack(t.totalItemCount)}))}))},this.adjustStepValues=t=>{var e=t.map((t=>parseFloat(t.key)));this.facet.minimum=Math.min(...e),this.facet.maximum=Math.max(...e),this.alpineInstance.currentMessage=this.modifyCurrentMessage()},this.inputValueChanged=(t,e)=>{(t||0===t)&&t<this.facet.minimum&&(t=this.facet.minimum,this.adjustFromInput(this.facet.minimum.toString())),(e||0===e)&&e>this.facet.maximum&&(e=this.facet.maximum,this.adjustToInput(this.facet.maximum.toString())),!t&&0!==t||!e&&0!==e||this.executeQuery(t,e)},this.stepIndex=t,this.facet=e.facet,this.title=e.title,this.subTitle=e.subTitle,this.shouldBeShown=n,this.toLabel=e.toLabel,this.fromLabel=e.fromLabel,this.baseMessage=e.message,this.currentMessage=this.modifyCurrentMessage(),this.facetValues=e.facet.values.map((t=>({value:parseFloat(t.value),active:!0,selected:!1}))),this.unitOfMeasure=e.unitOfMeasure,this.custom=e.custom+'<svg class="c-svg c-svg--arrow" width="25" height="25" role="img" focusable="false"><use xlink:href="/etex/images/svg/svg-symbols.svg#icon_arrow_down_v2"></use></svg>',this.instructions=e.instructions,this.valueSelectionCallBack=a}adjustFromInput(t){var e=this.element.querySelector("#customFrom");e&&(e.value=t)}adjustToInput(t){var e=this.element.querySelector("#customTo");e&&(e.value=t)}modifyCurrentMessage(){let t=this.baseMessage;if(t){return t.replace("{min}",this.facet.minimum.toString()).replace("{max}",this.facet.maximum.toString())}return""}getStepData(){var t=d.getInstance();return{queryParts:`attribute=${this.alpineInstance.facet.key}`,submitUrl:t.selectionStepSubmissionUrl}}handleValueSelection(t){var e=this.element.querySelector("#customFrom"),s=this.element.querySelector("#customTo"),i=e?parseFloat(e.value):this.facet.minimum,a=s?parseFloat(s.value):this.facet.maximum;!i&&0!==i||!a&&0!==a||this.inputValueChanged(i,a)}renderStep(){return this.renderContents()}}var g=s(70392),b=s.n(g);class v extends y{constructor(t,e){super(t,e),this.isFirstStep=!0,this.stepIndex=1,this.shouldBeShown=!0,this.selectedCategory="",this.isMandatory=!0}initData(t,e){this.categories=t.firstStep.categories,this.breadcrumb=t.breadCrumb,this.trackingName=t.trackingName,this.ajaxWrapper=e;const s=this.categories.find((t=>t.preSelect));s&&s.id&&(this.shouldBeShown=!1,this.selectedCategory=s.id)}onInit(){this.disableButtonCallBack(this.alpineInstance.isMandatory||!this.hasValue),this.alpineInstance.currentStepLabel=this.modifyStepLabel()}getStepData(){var t=d.getInstance();return{queryParts:`categoryId=${this.selectedCategory}`,submitUrl:t.firstStepSubmissionUrl}}handleValueSelection(t){this.hasValue=!0,this.selectedCategory=t,this.disableButtonCallBack(!this.hasValue),b().publish(p.LoadStepData)}getDataImplement(){return{stepIndex:this.stepIndex,title:this.title,subTitle:this.subTitle,instructions:this.instructions,categories:this.categories,isMandatory:this.isMandatory,shouldBeShown:this.shouldBeShown,facet:this.facet,getStepData:()=>this.getStepData(),renderStep:()=>this.renderStep(),renderPreStepHtml:()=>this.renderPreStepHtml(),currentStepLabel:this.modifyStepLabel(),handleValueSelection:t=>{this.handleValueSelection(t)},hideStep:()=>{this.hideStep()},showStep:()=>{this.showStep()},adjustStepValues:t=>{}}}renderStep(){return'\n        <div class="o-grid-template o-grid-template--stretch o-grid-gap js-spinner">\n            <template x-for="category in categories" :key="category.id">\n                <div class="c-sys-wiz-wrapper" data-webid="systemCategory">\n                    <input type="radio" x-bind:id="`systemCategory-${category.id}`" name="systemCategory" class="c-system-tile-input" x-bind:checked="category.preSelect">\n                    <label class="c-system-tile" x-bind:for="`systemCategory-${category.id}`" x-on:click="handleValueSelection(category.id)">\n                        <div class="c-system-tile__inner o-card">\n                            <div class="c-system-tile__icon">\n                                <img x-bind:src="category.iconUrl" x-bind:alt="category.name" width="64" height="64" alt="" loading="lazy">\n                            </div>\n                            <h3 class="c-system-tile__title" x-text="category.name"></h3>\n                            <div class="c-system-tile__desc-wrapper">\n                                <div class="c-system-tile__desc" x-html="category.description" />\n                            </div>\n                        </div>\n                    </label>\n                </div>\n            </template>\n        </div>'}}class x extends f{constructor(t,e,s,i,a,n){super(t,e,s,i,a,n),this.renderContents=()=>'\n            <div class="c-sys-wiz__custom">\n                <div class="c-sys-wiz__fields">
1\n                    <template x-if="showFromInput">\n                        <div>\n                            <label for="customFrom" x-text="fromLabel"></label>\n                            <input id="customFrom" type="number" min="this.facet.minimum" max="this.facet.maximum"\n                                x-on:change="handleValueSelection()" class="c-sys-wiz__custom-input" placeholder="..." value="">\n                        </div>\n                    </template>\n                    <template x-if="showToInput">\n                        <div>\n                            <label for="customTo" x-text="toLabel"></label>\n                            <input id="customTo" type="number" min="this.facet.minimum" max="this.facet.maximum"\n                                x-on:change="handleValueSelection()" class="c-sys-wiz__custom-input" placeholder="..." value="">\n                        </div>\n                    </template>\n                    <span x-text="unitOfMeasure"></span>\n                </div>\n            </div>\n            <div class="c-sys-wiz__message" x-text="currentMessage"></div>',this.rangeType=e.rangeType}onInit(){this.alpineInstance.showFromInput=this.rangeType===a.Range||this.rangeType===a.Minimum,this.alpineInstance.showToInput=this.rangeType===a.Range||this.rangeType===a.Maximum}getDataImplement(){return{title:this.title,toLabel:this.toLabel,custom:this.custom,subTitle:this.subTitle,fromLabel:this.fromLabel,instructions:this.instructions,currentMessage:this.currentMessage,currentStepLabel:this.modifyStepLabel(),facet:this.facet,stepIndex:this.stepIndex,isMandatory:this.isMandatory,showFromInput:!1,showToInput:!1,facetValues:this.facetValues,shouldBeShown:this.shouldBeShown,unitOfMeasure:this.unitOfMeasure,renderPreStepHtml:()=>this.renderPreStepHtml(),handleValueSelection:()=>{this.handleValueSelection()},inputValueChanged:()=>{this.handleValueSelection()},hideStep:()=>{this.hideStep()},showStep:()=>{this.showStep()},adjustStepValues:t=>{this.adjustStepValues(t)},getStepData:()=>this.getStepData(),renderStep:()=>this.renderStep()}}}class w extends f{constructor(t,e,s,i,a,n){var r;super(t,e,s,i,a,n),r=this,this.deactivateTiles=()=>{this.alpineInstance.facetValues.forEach((t=>{t.value!==this.selectedMinimum&&t.value!==this.selectedMaximum&&(t.active=!1)}))},this.activateTiles=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;r.alpineInstance.facetValues.forEach((e=>{e.value!==t&&(e.selected=!1),e.active=!0}))},this.renderContents=()=>'\n           <div class="o-grid-template o-grid-template--stretch o-grid-gap c-sys-wiz__grid-small">\n                    <template x-for="value in facetValues">\n                        <div class="c-sys-wiz-wrapper" x-bind:class="{ \'is-disabled\' : ! value.active }" data-webid="systemCategory">\n                            <input type="checkbox" x-bind:id="`${facet.key}-${value.value}`" x-bind:name="facet.key" class="c-system-tile-input"\n                                x-on:click="handleValueSelection(value.value)" x-model="value.selected">\n                            <label class="c-system-tile c-system-tile--amount" x-bind:for="`${facet.key}-${value.value}`">\n                                <div class="c-system-tile__inner o-card">\n                                    <h3 class="c-system-tile__title" x-text="value.value"></h3>\n                                    <div class="c-system-tile__desc-wrapper">\n                                        <div class="c-system-tile__desc" x-text="unitOfMeasure"></div>\n                                    </div>\n                                </div>\n                            </label>\n                        </div>\n                    </template>\n            </div>\n            <details class="c-sys-wiz__details">\n                <summary class="c-sys-wiz__summary" x-html="custom"></summary>\n                        <div class="c-sys-wiz__custom">\n                            <div class="c-sys-wiz__fields">\n                            <label for="customFrom" x-text="fromLabel"></label>\n                            <input id="customFrom" type="number" min="this.facet.minimum" max="this.facet.maximum"\n                                x-on:change="inputValueChanged()" class="c-sys-wiz__custom-input" placeholder="..." value="">\n                            <label for="customTo" x-text="toLabel"></label>\n\n                            <input id="customTo" type="number" min="this.facet.minimum" max="this.facet.maximum"\n                                x-on:change="inputValueChanged()" class="c-sys-wiz__custom-input" placeholder="..." value="">
1\n                            <span x-text="unitOfMeasure"></span>\n                            </div>\n                        </div>\n                    <div class="c-sys-wiz__message" x-text="currentMessage"></div>\n                </div>\n            </details>'}onInit(){this.selectedValue=null,this.selectedMinimum=null,this.selectedMaximum=null}handleValueSelection(t){var e=parseFloat(t);return this.selectedMinimum===e?(this.selectedValue=this.selectedMaximum,this.selectedMinimum=null,this.selectedMaximum=null,void this.activateTiles(this.selectedValue)):this.selectedMaximum===e?(this.selectedValue=this.selectedMinimum,this.selectedMinimum=null,this.selectedMaximum=null,void this.activateTiles(this.selectedValue)):(null!==this.selectedMaximum&&null!==this.selectedMinimum&&(this.activateTiles(),this.selectedValue=null,this.selectedMaximum=null,this.selectedMinimum=null),null!==this.selectedValue?(this.selectedValue===e&&(this.selectedValue=null),this.selectedValue>e?(this.selectedMaximum=this.selectedValue,this.selectedMinimum=e):this.selectedValue<e&&(this.selectedMinimum=this.selectedValue,this.selectedMaximum=e)):this.selectedValue=e,void(null!==this.selectedMinimum&&null!==this.selectedMaximum&&(this.executeQuery(this.selectedMinimum,this.selectedMaximum),this.deactivateTiles())))}getDataImplement(){return{title:this.title,toLabel:this.toLabel,custom:this.custom,subTitle:this.subTitle,fromLabel:this.fromLabel,instructions:this.instructions,currentMessage:this.currentMessage,currentStepLabel:this.modifyStepLabel(),facet:this.facet,stepIndex:this.stepIndex,isMandatory:this.isMandatory,facetValues:this.facetValues,showFromInput:!0,showToInput:!0,shouldBeShown:this.shouldBeShown,unitOfMeasure:this.unitOfMeasure,renderPreStepHtml:()=>this.renderPreStepHtml(),handleValueSelection:t=>{this.handleValueSelection(t)},inputValueChanged:()=>{super.handleValueSelection()},hideStep:()=>{this.hideStep()},showStep:()=>{this.showStep()},adjustStepValues:t=>{this.adjustStepValues(t)},getStepData:()=>this.getStepData(),renderStep:()=>this.renderStep()}}}class M extends y{constructor(t,e,s,i,a,n){super(s,i),this.adjustStepValues=t=>{var e=[];this.facetValues.forEach((s=>{var i=t.find((t=>t.key.toLowerCase()===s.key.toLowerCase()));i&&(s.count=i.count,e.push(s))})),this.alpineInstance.facetValues=e},this.facet=e.facet,this.facetValues=e.facet.values,this.isMandatory=e.isMandatory,this.stepIndex=t,this.title=e.title,this.subTitle=e.subTitle,this.shouldBeShown=n,this.valueSelectionCallBack=a,this.isMultiSelect=e.isMultiSelect,this.facetBehaviour=e.facetBehaviour}onInit(){this.alpineInstance.shouldBeShown=this.shouldBeShown,this.alpineInstance.isMultiSelect=this.isMultiSelect,this.alpineInstance.inputBoxType=this.isMultiSelect?"checkbox":"radio"}getStepData(){var t=d.getInstance();return{queryParts:`attribute=${this.alpineInstance.facet.key}&values=${this.alpineInstance.selectedFacetValues.map((t=>t.key))}`,submitUrl:t.selectionStepSubmissionUrl}}renderStep(){return'\n            <div class="o-grid-template o-grid-template--stretch o-grid-gap js-spinner" >\n                <template x-for="value in facetValues">\n                    \x3c!--\n                    # is-disabled is a class to add to all other tiles when 1 is selected\n                    # when you select a tile the is-active has to be set for the number tiles not for the icon tile\n                    --\x3e\n                    <div class="c-sys-wiz-wrapper" data-webid="systemCategory">\n                        <input x-bind:type="inputBoxType" x-bind:id="`facetValue-${ value.key }`" name="systemCategory" x-model=\'value.selected\' class="c-system-tile-input">\n                        <label class="c-system-tile" x-bind:for="`facetValue-${ value.key }`" x-on:click="handleValueSelection(value.key)">\n                            <div class="c-system-tile__inner o-card">\n                                <div class="c-system-tile__icon">\n                                    <img x-bind:src="value.iconUrl" x-bind:alt="value.name" width="64" height="64" alt="" loading="lazy">\n                                </div>\n                                <h3 class="c-system-tile__title" x-text="value.name"></h3>\n                                <div class="c-system-tile__desc-wrapper">\n                                    <div class="c-system-tile__desc" x-html="value.description"/>\n                                </div>\n                            </div>\n                        </label>\n                    </div>\n                </template>\n            </div>'}handleValueSelection(t){var e=this.facetValues.find((e=>e.key===t)),s=this.alpineInstance.selectedFacetValues;this.isMultiSelect?s.find((e=>e.key===t))?0===(s=s.filter((e=>e.key!==t))).length&&(this.hasValue=!1):(s.push(e),this.hasValue=!0):(s.forEach((t=>t.selected=!1)),(s=[]).push(e),this.hasValue=!0);const i=d.getInstance(),a=S.getInstance();var n=new(c())(i.facetValueSelectedUrl);n._parts.query=`currentQuery=${a.currentQuery}&category=${a.currentCategory}&attribute=${this.alpineInstance.facet.key}&value=${t}&facetBehaviour=${this.facetBehaviour}`;var r=new h.o(n.toString(),null,!1);this.ajaxWrapper.doFetch(r).then((t=>{t.clone().json().then((t=>{a.currentQuery=t.currentQuery,this.currentQuery=`${t.currentQuery}`,this.valueSelectionCallBack(t.totalItemCount)}))}
1)),this.alpineInstance.selectedFacetValues=s}getDataImplement(){return{facet:this.facet,facetValues:this.facetValues,selectedFacetValues:[],title:this.title,subTitle:this.subTitle,instructions:this.instructions,currentStepLabel:this.modifyStepLabel(),shouldBeShown:!0,stepIndex:this.stepIndex,isMandatory:this.isMandatory,isMultiSelect:this.isMultiSelect,inputBoxType:"checkbox",getStepData:()=>this.getStepData(),renderStep:()=>this.renderStep(),renderPreStepHtml:()=>this.renderPreStepHtml(),handleValueSelection:t=>{this.handleValueSelection(t)},hideStep:()=>{this.hideStep()},showStep:()=>{this.showStep()},adjustStepValues:t=>{this.adjustStepValues(t)}}}}var C=s(33876);class V extends r.y{constructor(t,e){var s;super(t,e),s=this,this.initSteps=t=>{t.clone().json().then((t=>{var e=t;this.listerBaseUrl=e.listerBaseUrl+"?",this.stateHandler.currentQuery=e.currentQuery,e.currentCategory&&(this.stateHandler.currentCategory=e.currentCategory),this.initNextStep(e),this.modifyNextButton(0===e.nextStep.facet.values.length||1==e.allSteps.length)}))},this.updateResultsLabel=t=>{let e="";this.constants.showResultsLabel&&(e=this.constants.showResultsLabel.replace("{count}",t.toString())),this.modifyActionButton(-1!==t,e)},this.handleResponse=t=>{t.clone().json().then((t=>{var e=t;this.stateHandler.currentQuery=e.currentQuery;var s=this.allSteps[this.currentStep-1];if(!(e.facetValues&&e.facetValues.length>0))return void this.skipStep(e.totalItemCount);s.adjustStepValues(e.facetValues),s.showStep();let i=this.allSteps.length;this.temporaryQuery="",this.modifyNextButton(this.currentStep===i)}))},this.handleValueSelection=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;-1!==t&&s.updateResultsLabel(t),s.modifyActionButton(-1!==t),s.updateResultsUrl()},this.firstStep=new v(this.initSteps,this.disableNextButton),this.allSteps=[],this.currentStep=1,this.alertDialogCurrentStep=this.currentStep,this.resultsUrl="",this.breadCrumbs=[],this.trackingNames=[]}initAlpine(t,e,s){super.initAlpine(t,e),this.stateHandler=S.getInstance(),this.constants=d.getInstance(s.constants),this.firstStep.initData(s,e),this.renderStep(this.firstStep),this.allSteps.push(this.firstStep),this.firstStepData=s.firstStep,this.breadCrumbs.push(s.breadCrumb),this.trackingNames.push(s.trackingName),this.modifyNextButtonLabel(this.constants.nextButtonLabel),this.modifyBackButtonLabel(this.constants.backButtonLabel),b().subscribe(p.LoadStepData,(()=>{this.loadStepData()})),setTimeout((()=>{const t=this.firstStep.categories.some((t=>t.preSelect));t&&this.submitStep(!0),t||(this.modifyModalHeaderData(this.firstStepData),this.modifyModalBreadCrumbs(this.breadCrumbs))}),0)}updateResultsUrl(){let t=this.listerBaseUrl;this.temporaryQuery?t+=this.temporaryQuery:t+=this.stateHandler.currentQuery,this.resultsUrl=t}updateCurrentStepLabel(){let t="";this.constants.currentStepLabel&&(t=this.constants.currentStepLabel.replace("{count}",this.currentStep.toString())),this.modifyCurrentStepLabel(t)}initNextStep(t){const e=t.totalStepCount+1;this.updateResultsLabel(t.totalItemCount),this.stateHandler.currentQuery=t.currentQuery,this.stateHandler.currentCategory=t.currentCategory,this.updateProgressModal(t,e),this.modifyModalHeaderData(t.nextStep);let s=this.currentStep;t.allSteps.forEach((t=>{const e=this.determineStepType(t,s);this.renderStep(e),this.allSteps.push(e),s++}))}renderStep(t){this.stepContainer.insertAdjacentHTML("beforeend",t.renderPreStepHtml())}determineStepType(t,e){let s=e===this.currentStep;if(t.facetType){if("AlpineMultiSelectFacetViewModel"===t.facetType||"AlpineSingleSelectFacetViewModel"===t.facetType)return new M(e,t,this.initSteps,this.disableNextButton,this.handleValueSelection,s);if("AlpineRangeFacetViewModel"===t.facetType){if(t.visualizationType===i.Tiled)return new w(e,t,this.initSteps,this.disableNextButton,this.handleValueSelection,s);if(t.visualizationType===i.Boundary)return new x(e,t,this.initSteps,this.disableNextButton,this.handleValueSelection,s)}}}submitStep(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.disableNextButton(!0);let e=this.allSteps[this.currentStep-1],s=e.getStepData();this.alertDialogCurrentStep=this.currentStep;let i=this.allSteps[this.currentStep];var a="";i&&(a=`&nextStepAttribute=${i.facet.key}`,this.modifyModalHeaderData(i));var n=new(c())(s.submitUrl),r=`currentQuery=${this.stateHandler.currentQuery}&category=${this.stateHandler.currentCategory}&${s.queryParts}${a}`;n._parts.query=r;var o=new h.o(n.toString(),null,!0);this.ajaxWrapper.doFetch(o).then((s=>
1{e.hideStep(),this.updateResultsUrl(),1===this.currentStep?this.initSteps(s):this.handleResponse(s),t||l.ZP.onWizardStep(this.currentStep,this.trackingNames[this.currentStep-1],u.Z.getInstance().getLanguage()),this.currentStep++,this.modifyModalCurrentStep(this.currentStep),this.updateCurrentStepLabel(),this.modifyModalProgressBar(),this.disableNextButton(!1)}))}loadStepData(){this.currentStep=1;const t=this.allSteps[this.currentStep-1].getStepData(),e=this.allSteps[this.currentStep],s=e?`&nextStepAttribute=${e.facet.key}`:"",i=new(c())(t.submitUrl),a=`currentQuery=${this.stateHandler.currentQuery}&category=${this.stateHandler.currentCategory}&${t.queryParts}${s}`;i._parts.query=a;const n=new h.o(i.toString(),null,!0);this.ajaxWrapper.doFetch(n).then((t=>{this.updateResultsUrl(),t.clone().json().then((t=>{const e=t;this.updateProgressModal(e,e.totalStepCount+1)}))}))}updateProgressModal(t,e){this.breadCrumbs=[this.firstStep.breadcrumb],this.breadCrumbs.push(...t.breadCrumbs),this.trackingNames=[this.firstStep.trackingName],this.trackingNames.push(...t.trackingNames),this.modifyModalBreadCrumbs(this.breadCrumbs),this.modifyModalTotalSteps(e),this.temporaryQuery="",this.modifyModalProgressBar(),this.updateResultsUrl()}goToNextStep(){}skipStep(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;var e=this.allSteps[this.currentStep];if(e){this.currentStep++,this.modifyModalCurrentStep(this.currentStep);var s=e.getStepData(),i=new(c())(s.submitUrl),a=`currentQuery=${this.stateHandler.currentQuery}&category=${this.stateHandler.currentCategory}`;i._parts.query=a;var n=new h.o(i.toString(),null,!0);this.ajaxWrapper.doFetch(n).then((t=>{t.clone().json().then((e=>{this.updateResultsUrl(),this.handleResponse(t)}))}))}else{if(t>0)return window.location.href=this.resultsUrl,!1;if(this.loadStep(this.alertDialogCurrentStep-1),this.dialog)this.dialog.reInit();else{var r=document.querySelector("#EntityModalAlert");this.dialog=new C.Vq(r)}this.dialog.show()}}loadStep(t){this.allSteps[this.currentStep-1].hideStep(),this.currentStep=t+1,this.modifyModalCurrentStep(this.currentStep);var e=this.allSteps[t];e.showStep();var s=this.currentStep>1?e:this.firstStepData;this.modifyModalHeaderData(s);var i=e.currentQuery;if(this.stateHandler.currentQuery=i,this.modifyNextButton(t===this.allSteps.length-1),this.modifyModalProgressBar(),this.modifyActionButton(0!==t),0===t)return this.stateHandler.currentQuery="",void this.deleteCategorySteps();var a=e.getStepData(),n=new(c())(a.submitUrl),r=`currentQuery=${i}&category=${this.stateHandler.currentCategory}`;n._parts.query=r;var l=new h.o(n.toString(),null,!0);this.ajaxWrapper.doFetch(l).then((t=>{t.clone().json().then((t=>{var e=t;this.stateHandler.currentQuery=e.currentQuery,this.updateResultsUrl(),this.updateResultsLabel(e.totalItemCount)}))}))}submitAction(){l.ZP.onWizardStep(this.currentStep,this.trackingNames[this.currentStep-1],u.Z.getInstance().getLanguage()),location.href=this.resultsUrl}deleteCategorySteps(){for(this.allSteps.forEach((t=>{t.deleteStep()}));this.allSteps.length>1;)this.allSteps.pop()}reset(){}}class B extends n.V{constructor(t,e){super(),this.modalName=t,this.modal=e}onInit(){this.stepHandler.initAlpine(this.getXref("StepContainer"),this.ajaxWrapper,this.parm)}getDataImplement(){return this.stepHandler=new V(this.modalName,this.modal),{stepHandler:this.stepHandler}}}},26070:function(t,e,s){s.d(e,{y:function(){return r}});var i=s(70392),a=s.n(i),n=s(87644);class r{constructor(t,e){this.disableNextButton=t=>{this.modal.stepHandler.disableNextButton(t)},this.buildEventName=t=>`${this.modalName}:${t}`,this.modalName=t,this.modal=e}initAlpine(t,e,s){this.ajaxWrapper=e,this.stepContainer=t,a().subscribe(this.buildEventName(n._.LoadStep),((t,e)=>{this.loadStep(e)})),a().subscribe(this.buildEventName(n._.SubmitStep),(()=>{this.submitStep(),this.modal.stepHandler.submitStep})),a().subscribe(this.buildEventName(n._.ActionButtonClicked),(()=>{this.submitAction()})),a().subscribe(this.buildEventName(n._.Reset),(()=>{this.reset()}))}modifyModalHeaderData(t){this.modal.stepHandler.modifyHeaderData(t)}modifyModalProgressBar(){this.modal.stepHandler.modifyProgressBar()}modifyModalCurrentStep(t){this.modal.stepHandler.modifyCurrentStep(t)}modifyCurrentStepLabel(t){this.modal.stepHandler.modifyCurrentStepLabel(t)}
1modifyModalTotalSteps(t){this.modal.stepHandler.modifyTotalSteps(t)}modifyModalBreadCrumbs(t){this.modal.stepHandler.modifyBreadCrumbs(t)}modifyNextButton(t){this.modal.stepHandler.modifyNextButton(t)}modifyNextButtonLabel(t){this.modal.stepHandler.modifyNextButtonLabel(t)}modifyNextButtonType(t){this.modal.stepHandler.modifyNextButtonType(t)}modifyBackButtonLabel(t){this.modal.stepHandler.modifyBackButtonLabel(t)}modifyActionButton(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.modal.stepHandler.modifyActionButton(t,e,s)}modifyHideStepLabelsMobile(t){this.modal.stepHandler.modifyHideStepLabelsMobile(t)}showSpinner(){this.modal.showSpinner()}hideSpinner(){this.modal.hideSpinner()}}},87644:function(t,e,s){s.d(e,{_:function(){return i}});class i{}i.LoadStep="ProgressModalLoadStep",i.SubmitStep="ProgressModalSubmitStep",i.ActionButtonClicked="ProgressModalActionButtonClicked",i.Reset="ProgressModalReset"},66721:function(t,e,s){s.d(e,{m:function(){return n}});var i=s(79234),a=s(68442);class n{constructor(){this.importAndCompInitter=a.Z.getInstance()}getData(){const t=this,e={init(){t.alpineInstance=this,t.element=this.$root,t.refs=this.$refs,t.dispatch=this.$dispatch,t.watch=this.$watch,t.nextTick=this.$nextTick,t.ajaxWrapper=new i.F(this.$root,!0),t.initParm(),t.onInit()}},s=this.getDataImplement();return Object.assign(e,s)}getXref(t){return this.refs[t]}dispatchEvent(t,e){this.dispatch(t,e)}watchProp(t,e){this.watch(t,e)}onNextTick(t){this.nextTick(t)}initParm(){}reInitCompsOnDomChangeFor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.element,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=new MutationObserver((i=>{this.importAndCompInitter.initAllPossibleCompsForContainer(t),e&&s.disconnect()}));s.observe(t,{childList:!0,subtree:!0})}}},2272:function(t,e,s){s.d(e,{V:function(){return a}});var i=s(66721);class a extends i.m{constructor(){super()}initParm(){this.parm=this.getClientData()}getClientData(){var t=this.element.attributes[a.CLIENT_DATA_ATTRIBUTE],e=null;if(t)try{e=JSON.parse(t.value)}catch(s){e=t}return e}}a.CLIENT_DATA_ATTRIBUTE="data-component-parm"}}]);

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.