PageSourceSearch

https://www.arubavolunteers.org/assets/create-whitelabel-CjR9Zi-k.js

js arubavolunteers.org collected 2026-10-04 02:17:33 UTC 2,442 bytes, 2 lines download raw bytes

1import{e as W,c as k,g as I,y as q,z as C,kO as T,p as E,j as a,b2 as F,a6 as N}from"./index-ZWP6Dbbj.js";import{r as R}from"./vendor-DKtCm5W2.js";import{W as A}from"./WhitelabelForm-TkfkkF88.js";import{ez as O}from"./app-BUG-_G7c.js";import"./dayjs-timezone-iana-plugin-CmU3ItL3.js";import"./sdgs-D-0m7pdW.js";import"./index-C6S2q7fO.js";import"./AddressFieldsInput-CycA1P1f.js";import"./OrganizationSearch-BhiZ5B9f.js";import"./PostcodeGroupsPicker-abOEW2zA.js";import"./postcode-groups-DFi0pRxl.js";import"./usePostcodeGroupName-DAkTIuCs.js";import"./SDGPicker-UqeYW0mf.js";import"./WYSIWYG-CP-HUFMa.js";import"./WhitelabelInternationalizedInput-9DlbPBXO.js";import"./SectionSticky-iP0E36UD.js";import"./useControlledInput-xNPievvq.js";import"./get-BV2RnxWb.js";import"./WhitelabelForm.t10s-Wv0ryTAP.js";import"./Grid-BK7EoydZ.js";try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="cb675385-8b4a-4ce4-b264-f256c92e7007",e._sentryDebugIdIdentifier="sentry-dbid-cb675385-8b4a-4ce4-b264-f256c92e7007")}catch{}const se=()=>{const e=W(),t=k(),l=I(),s=q(),r=C(),n=R.useCallback(async o=>{const{meta_title:p,logo_link_url:d,meta_description:c,logo:m,icon:u,email_logo:g,contact_email:b,supported_languages:_,default_locale:h,footer_logo:f,footer_logo_url:y,inject_html:w,enabled_postcode_groups:z,setting_overrides:v,map_center:x,map_zoom:i,domain:S}=o,j={meta_title:p,logo_link_url:d,meta_description:c,logo:m,icon:u,contact_email:b,supported_languages:_,default_locale:h,email_logo:g,footer_logo:f,footer_logo_url:y,inject_html:w,enabled_postcode_groups:z,map_center:x,map_zoom:i&&Number(i),organization_id:o.organization.id,p2p_organization_id:o.p2p_organization?.id,domain:S,setting_overrides:v};try{await e(T(j)),s()(void 0),t("/admin/data/whitelabels")}catch(D){r()(D)}},[e,t,s,r]);return E("Create Whitelabel"),a.jsxs("div",{children:[F(l.whitelabel)&&a.jsx(N,{status:"warning",alertClassName:O.alert,children:"You are creating a whitelabel on another whitelabel. The organization picker will only show organizations that are visible on this whitelabel."}),a.jsx(A,{onSubmit:n,initialValues:{default_locale:"nl",supported_languages:["nl"],redirects:{},enabled_postcode_groups:[],setting_overrides:{}}})]})};export{se as default};
2//# sourceMappingURL=create-whitelabel-CjR9Zi-k.js.map

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.