⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.74
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
psa
/
admin
/
cp
/
public
/
javascript
/
app
/
View File Name :
convert-customers-to-resellers.js.map
{"version":3,"file":"javascript/app/convert-customers-to-resellers.js?ece845ed754f5440f6e8","mappings":"wKAIA,MAAMA,UAAoCC,EAAAA,yBAAyBC,UAC/DC,kBAAAA,CAAmBC,GACfC,MAAMF,mBAAmB,CACrBG,OAAQC,EAAAA,OAAOC,WAAW,8CACvBJ,GAEX,CAEAK,sBAAAA,CAAuBC,GACnBC,KAAKC,iBAELD,KAAKE,UAAYH,EAEb,YAAcC,KAAKE,UAAUC,QAC7BC,SAASC,eAAeL,KAAKM,gBAAgBC,UAAY,GACzDH,SAASC,eAAeL,KAAKQ,iBAAiBD,UAEtC,kDAAcP,KAAKS,yCAK3BC,GAAGV,KAAKE,UAAUS,WAAWC,MAAK,EAAGC,YACjCb,KAAKc,YAAYD,EAAM,KAG3Bb,KAAKe,iBAAiBf,KAAKE,UAAUc,QAE7C,CAEAF,WAAAA,CAAYG,GACRjB,KAAKkB,WAAc,QAAUlB,KAAKkB,WAAc,OAAS,MACzD,MAAMC,EACF,cAAcnB,KAAKkB,uBACLE,EAAAA,EAAAA,YAAWH,EAASI,qBACvBrB,KAAKsB,oBAAoBL,gBAIxCM,EAAAA,EAAAA,QAAOnB,SAASC,eAAeL,KAAKS,sBAAuBU,EAC/D,CAEAG,mBAAAA,CAAoBL,GAChB,IAAIO,EAAmB,6CAA6CP,EAASQ,6BAA6BR,EAASQ,cAAcR,EAASQ,OAM1I,OALAf,GAAGV,KAAKE,UAAUwB,OAAOd,MAAK,EAAGC,MAAOc,MACpCH,GAAoB,kBAAkBG,EAAKF,QAAOL,EAAAA,EAAAA,YAAWO,EAAKN,gBAAgB,IAEtFG,GAAoB,YAEbA,CACX,CAEAI,oBAAAA,CAAqBC,GAIjB,OAHAzB,SAAS0B,iBAAiB,cAAcC,SAAQ,EAAGC,QAAOnB,YACtDgB,EAAOI,IAAI,aAAaD,KAAUnB,EAAM,IAErCgB,CACX,EAGJ,S","sources":["webpack:///./app/convert-customers-to-resellers.js"],"sourcesContent":["// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport { ConfirmationPopupManager, Locale, escapeHtml, render } from 'jsw';\n\nclass ConvertCustomersToResellers extends ConfirmationPopupManager.PopupForm {\n _initConfiguration(config) {\n super._initConfiguration({\n locale: Locale.getSection('admin.components.confirmations.customer'),\n ...config,\n });\n }\n\n _onSuccessPreparePopup(response) {\n this._clearMessages();\n\n this._response = response;\n\n if ('success' === this._response.status) {\n document.getElementById(this._formBoxAreaId).innerHTML = '';\n document.getElementById(this._formListAreaId).innerHTML = (\n '
' +\n `
` +\n '
' +\n '
'\n );\n\n $H(this._response.customers).each(({ value }) => {\n this.addCustomer(value);\n });\n } else {\n this._addErrorMessage(this._response.message);\n }\n }\n\n addCustomer(customer) {\n this._itemClass = ('odd' === this._itemClass) ? 'even' : 'odd';\n const itemHtml = (\n `
` +\n `
${escapeHtml(customer.name)}
` +\n `
${this.getPlanSelectorHtml(customer)}
` +\n '
'\n );\n\n render(document.getElementById(this._formListItemsAreaId), itemHtml);\n }\n\n getPlanSelectorHtml(customer) {\n let planSelectorHtml = `
`;\n $H(this._response.plans).each(({ value: plan }) => {\n planSelectorHtml += `
${escapeHtml(plan.name)}
`;\n });\n planSelectorHtml += '
';\n\n return planSelectorHtml;\n }\n\n _getAdditionalParams(params) {\n document.querySelectorAll('.customers').forEach(({ title, value }) => {\n params.set(`customers[${title}]`, value);\n });\n return params;\n }\n}\n\nexport default ConvertCustomersToResellers;\n"],"names":["ConvertCustomersToResellers","ConfirmationPopupManager","PopupForm","_initConfiguration","config","super","locale","Locale","getSection","_onSuccessPreparePopup","response","this","_clearMessages","_response","status","document","getElementById","_formBoxAreaId","innerHTML","_formListAreaId","_formListItemsAreaId","$H","customers","each","value","addCustomer","_addErrorMessage","message","customer","_itemClass","itemHtml","escapeHtml","name","getPlanSelectorHtml","render","planSelectorHtml","id","plans","plan","_getAdditionalParams","params","querySelectorAll","forEach","title","set"],"sourceRoot":""}