PageSourceSearch

https://www.siniat.pl/etex/js/assets/js/5696.27f7903a7a384e89a57d.mjs

js siniat.pl collected 2026-10-07 23:25:21 UTC 3,033 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebpack=self.webpackChunkwebpack||[]).push([[5696],{75696:function(t,e,n){n.r(e),n.d(e,{default:function(){return c}});var i=n(79234),s=n(2272),a=n(21887);class c extends s.V{constructor(){super(...arguments),this.LOGIN_BUTTON=".js-login-btn"}onInit(){this.initEvents(),this.initAlpineVariables()}initEvents(){this.element.querySelector(this.LOGIN_BUTTON).addEventListener("click",(t=>{this.alpineInstance.selected=!0;var e=this.parm.switchAccountUrl,n={salesforceId:this.alpineInstance.selectedAccount.id,sapCustomerId:this.alpineInstance.selectedAccount.sapCustomerId,company:this.alpineInstance.selectedAccount.company,city:this.alpineInstance.selectedAccount.city},s=new i.o(e,n,!0);this.ajaxWrapper.doFetch(s).then((()=>{if(this.alpineInstance.loggedInCompany=this.alpineInstance.selectedAccount.company,this.alpineInstance.loggedInCity=this.alpineInstance.selectedAccount.city,this.parm.redirect){let t=window.location.href;t+=t.indexOf("?")>-1?"&redirect=true":"?redirect=true",window.location.href=t}else window.location.reload()}))})),document.addEventListener(a.z.dialogClose,(()=>{this.alpineInstance.search="",this.alpineInstance.selected=!1}))}initAlpineVariables(){this.alpineInstance.search="",this.alpineInstance.listVisible=!1,this.alpineInstance.selected=!1,this.alpineInstance.loggedInCompany=this.parm.loggedInCompany,this.alpineInstance.loggedInCity=this.parm.loggedInCity,this.alpineInstance.accounts=this.parm.accounts,this.alpineInstance.loggedInCompany&&this.alpineInstance.loggedInCity&&(this.alpineInstance.selectedAccount={isPrimary:!1,company:this.alpineInstance.loggedInCompany,city:this.alpineInstance.loggedInCity})}getDataImplement(){return{search:"",listVisible:!1,selected:!1,loggedInCompany:"",loggedInCity:"",accounts:null,selectedAccount:null}}}},66721:function(t,e,n){n.d(e,{m:function(){return a}});var i=n(79234),s=n(68442);class a{constructor(){this.importAndCompInitter=s.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()}},n=this.getDataImplement();return Object.assign(e,n)}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],n=new MutationObserver((i=>{this.importAndCompInitter.initAllPossibleCompsForContainer(t),e&&n.disconnect()}));n.observe(t,{childList:!0,subtree:!0})}}},2272:function(t,e,n){n.d(e,{V:function(){return s}});var i=n(66721);class s extends i.m{constructor(){super()}initParm(){this.parm=this.getClientData()}getClientData(){var t=this.element.attributes[s.CLIENT_DATA_ATTRIBUTE],e=null;if(t)try{e=JSON.parse(t.value)}catch(n){e=t}return e}}s.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.