PageSourceSearch

https://www.amarcon.com/cp/javascript/views/admin/setup/index.js?f450313ad8c74699a159

js amarcon.com collected 2026-10-06 04:56:27 UTC 7,518 bytes, 2 lines download raw bytes

1(globalThis.webpackChunkPlesk||=[]).push([["views/admin/setup/index"],{1628(e,n,i){"use strict";i.r(n),i.d(n,{default:()=>m,withInitLayout:()=>p});var t=i(341),a=i(782),s=i.n(a),o=i(342),c=i(95),l=i(801),r=i(805);const d=c.Locale.getTranslate("components.shortcuts"),u=({banner:e,children:n})=>((0,t.useLayoutEffect)(()=>{(0,c.getComponent)("asyncProgressBarWrapper")?.hide()},[]),(0,t.jsxs)("div",{className:"init-page",children:[(0,t.jsx)(r.default,{layoutType:"simplified"}),(0,t.jsx)(o.Layout,{type:"simplified",className:"init-page__inner",header:(0,t.jsxs)("div",{className:"init-page-header",children:[(0,t.jsx)("div",{className:"init-page-header__brand",children:(0,t.jsx)(l.default,{})}),(0,t.jsx)("div",{className:"init-page-header__actions",children:(0,t.jsxs)("a",{className:"init-page-header__action",href:"/logout.php","data-type":"link-logout",children:[(0,t.jsx)("span",{className:"icon",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{fill:"currentColor",d:"M13,16H6v3.573c0,0.078-0.045,0.148-0.115,0.181s-0.153,0.022-0.213-0.027l-4.75-3.958 c-0.228-0.19-0.36-0.471-0.36-0.768c0-0.297,0.132-0.578,0.36-0.768l4.75-3.958c0.06-0.05,0.143-0.06,0.213-0.028 C5.955,10.279,6,10.349,6,10.427V14h7c0.552,0,1,0.448,1,1C14,15.552,13.552,16,13,16z M32,2v21.13c0,0.538-0.288,1.035-0.756,1.302 l-11,6.286c-0.231,0.132-0.487,0.198-0.744,0.198c-0.26,0-0.52-0.068-0.753-0.203C18.285,30.444,18,29.95,18,29.415V26h-4 c-1.105,0-2-0.895-2-2v-3.5c0-0.276,0.224-0.5,0.5-0.5h1c0.276,0,0.5,0.224,0.5,0.5V24h4V8.87c0-0.538,0.288-1.035,0.756-1.302 L28.5,2H14v7.5c0,0.276-0.224,0.5-0.5,0.5h-1C12.224,10,12,9.776,12,9.5V2c0-1.105,0.895-2,2-2h16C31.105,0,32,0.895,32,2z  M30,3.446L20,9.161V24v2v2.554l10-5.714V3.446z"})})}),(0,t.jsx)(d,{content:"logOut"})]})})]}),contentAddon:e?(0,t.jsx)("div",{className:"init-page__banner",children:(0,t.jsx)("img",{className:"init-page__banner-image",src:e,alt:""})}):null,children:(0,t.jsx)("div",{id:"main",className:"init-page__content",children:n})})]}));u.propTypes={children:s().any,banner:s().any};const p=(e,{banner:n})=>{const i=i=>(0,t.jsx)(u,{banner:n,children:(0,t.jsx)(e,{...i})});return i.displayName=`withInitLayout(${e.displayName||e.name||"Component"})`,i.WrappedComponent=e,i},m=u},1706(e,n,i){"use strict";i.r(n),i.d(n,{default:()=>j});var t=i(772),a=i(782),s=i.n(a),o=i(785),c=i(342),l=i(95),r=i(798),d=i(1628),u=i(720),p=i(1707),m=i.n(p),f=i(341);const h=l.Locale.getTranslate("components.forms.setup"),x=({action:e,values:n})=>{const i=(0,t.useNavigate)(),{data:{config:a}={}}=(0,o.useQuery)(m());return(0,f.jsxs)(r.default,{action:e,onLongTask:({status:e,errors:n})=>{if(e===u.STATUS_ERROR)throw new Error(n.join("\n"));i("/admin/setup/progress")},values:n,hideRequiredLegend:!0,submitButton:{id:"btn-send",children:(0,f.jsx)(h,{content:"sendButton"})},applyButton:!1,cancelButton:!1,children:[(0,f.jsx)("p",{children:(0,f.jsx)(h,{content:"hint"})}),(0,f.jsxs)(c.Section,{title:(0,f.jsx)(h,{content:"contactInfoSection"}),children:[(0,f.jsx)("p",{children:(0,f.jsx)(h,{content:"contactInfoSectionHint"})}),(0,f.jsx)(c.FormFieldText,{name:"contactInfo[contactName]",label:(0,f.jsx)(h,{content:"contactName"}),required:!0,size:"fill"}),(0,f.jsx)(c.FormFieldText,{name:"contactInfo[email]",label:(0,f.jsx)(h,{content:"email"}),required:!0,size:"fill"})]}),(0,f.jsxs)(c.Section,{title:(0,f.jsx)(h,{content:"passwordSection"}),children:[(0,f.jsx)("p",{children:(0,f.jsx)(h,{content:"passwordSectionHint"})}),(0,f.jsx)(c.FormFieldPassword,{name:"password[password]",label:(0,f.jsx)(h,{content:"password"}),required:!0})]}),a?.setup?.forceAdminPasswordReset?.enabled&&(0,f.jsx)(c.Section,{children:(0,f.jsx)(c.FormFieldCheckbox,{name:"password[resetOnFirstLogin]",label:(0,f.jsx)(h,{content:"resetPasswordOnFirstLogin"}),checkedValue:"true",uncheckedValue:"false"})}),n.license?(0,f.jsxs)(c.Section,{title:(0,f.jsx)(h,{content:"licenseSection"}),children:[(0,f.jsx)("p",{children:(0,f.jsx)(h,{content:"licenseSectionHint"})}),(0,f.jsx)(c.FormFieldRadioButtons,{name:"license[licenseType]",label:(0,f.jsx)(h,{content:"licenseType"}),options:[{value:"paid",label:(0,f.jsx)(h,{content:"licenseTypePaid"}),indentFields:[(0,f.jsx)(c.FormFieldText,{name:"license[activationCode]",label:null,description:(0,f.jsx)(h,{content:"activationCodeHint",params:{onlineStoreLink:(0,f.jsx)("a",{href:a?.product?.buyUrl,target:"_blank",rel:"noopener noreferrer",children:(0,f.jsx)(h,{content:"onlineStoreLink"})})}}),size:"fill"},"activationCode")]},{value:"trial",label:(0,f.jsx)(h,{content:"licenseTypeTrial"}),description:(0,f.jsx)(h,{content:"trialLicenseAgreement",params:{privacyPolicyLink:(0,f.jsx)("a",{href:a?.product?.privacyPolicyUrl,target:"_blank",rel:"noopener noreferrer",children:(0,f.jsx)(h,{content:"privacyPolicyLink"})})}})}]})]}):null,(0,f.jsx)(c.Section,{children:(0,f.jsx)(c.FormFieldCheckbox,{name:"eula[eulaAgreement]",label:(0,f.jsx)(h,{content:"eulaAgreementLabel",params:{link:(0,f.jsx)("a",{href:"/admin/index/eula",target:"_blank",rel:"noopener noreferrer",children:(0,f.jsx)(h,{content:"eula"})})}}),required:!0,checkedValue:"true",uncheckedValue:"false"})})]})};x.propTypes={action:s().string.isRequired,values:s().object.isRequired};const j=(0,d.withInitLayout)(x,{banner:i(1708)})},1708(e){e.exports=Jsw.skinUrl+"/images/postinstall-configuration.png?02b7ce7cf1b176ddb077e975e916239c"},1707(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SetupPage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"config"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"product"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"buyUrl"}},{kind:"Field",name:{kind:"Name",value:"privacyPolicyUrl"}}]}},{kind:"Field",name:{kind:"Name",value:"setup"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"forceAdminPasswordReset"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enabled"}}]}}]}}]}}]}}],loc:{start:0,end:217}};n.loc.source={body:"query SetupPage {\n    config {\n        product {\n            buyUrl\n            privacyPolicyUrl\n        }\n        setup {\n            forceAdminPasswordReset {\n                enabled\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
1else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(e){i(e,n)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(e){i(e,n)}),e.definitions&&e.definitions.forEach(function(e){i(e,n)})}var t={};function a(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}n.definitions.forEach(function(e){if(e.name){var n=new Set;i(e,n),t[e.name.value]=n}}),e.exports=n,e.exports.SetupPage=function(e,n){var i={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var s=t[n]||new Set,o=new Set,c=new Set;for(s.forEach(function(e){c.add(e)});c.size>0;){var l=c;c=new Set,l.forEach(function(e){o.has(e)||(o.add(e),(t[e]||new Set).forEach(function(e){c.add(e)}))})}return o.forEach(function(n){var t=a(e,n);t&&i.definitions.push(t)}),i}(n,"SetupPage")}}]);
2//# sourceMappingURL=index.js.map?f450313ad8c74699a159

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.