{"version":3,"file":"env/setEnvVars.js","mappings":"uBAMMA,E,+LAAoB,IAAIC,MAAM,IAAE,GAAEC,KAAI,SAACC,GAAM,aAAKC,KAAK,IAE9CC,OAAOC,WAAa,CACjCC,YAAa,wBAAwBC,MAAMR,QACvCS,EACA,wBACJC,eAAgB,2BAA2BF,MAAMR,QAC7CS,EACA,2BACJE,wBAAyB,oCAAoCH,MAC3DR,QAEES,EACA,oCACJG,qBAAsB,iCAAiCJ,MACrDR,QAEES,EACA,iCACJI,eAAgB,2BAA2BL,MAAMR,QAC7CS,EACA,2BACJK,uBAAwB,mCAAmCN,MACzDR,QAEES,EACA,mCACJM,mBAAoB,+BAA+BP,MAAMR,QACrDS,EACA,+BACJO,iBAAkB,6BAA6BR,MAAMR,QACjDS,EACA,6BACJQ,iBAAkB,6BAA6BT,MAAMR,QACjDS,EACA,6BACJS,aAAc,yBAAyBV,MAAMR,QACzCS,EACA,yBACJU,oBAAqB,gCAAgCX,MAAMR,QACvDS,EACA,gCACJW,UAAW,sBAAsBZ,MAAMR,QACnCS,EACA,sBACJY,mBAAoB,+BAA+Bb,MAAMR,QACrDS,EACA,+BACJa,SAAU,qBAAqBd,MAAMR,QACjCS,EACA,qBACJc,UAAW,sBAAsBf,MAAMR,QACnCS,EACA,sB","sources":["webpack://@cube3/tooling/./webpack/src/setEnvVars.ts"],"sourcesContent":["declare global {\n interface Window {\n __env_vars: { [key: string]: any };\n }\n}\n// We want this to remain obfuscated in the build output to prevent caddy from crashing\nconst TEMPLATE_BRACKETS = [...Array(2)].map((i) => '{').join('');\n\nexport default window.__env_vars = {\n MATOMO_HOST: '{{env \"MATOMO_HOST\"}}'.match(TEMPLATE_BRACKETS)\n ? undefined\n : '{{env \"MATOMO_HOST\"}}',\n MATOMO_SITE_ID: '{{env \"MATOMO_SITE_ID\"}}'.match(TEMPLATE_BRACKETS)\n ? undefined\n : '{{env \"MATOMO_SITE_ID\"}}',\n COOKIE_CONSENT_VERSIONS: '{{env \"COOKIE_CONSENT_VERSIONS\"}}'.match(\n TEMPLATE_BRACKETS\n )\n ? undefined\n : '{{env \"COOKIE_CONSENT_VERSIONS\"}}',\n COOKIE_STATEMENT_URL: '{{env \"COOKIE_STATEMENT_URL\"}}'.match(\n TEMPLATE_BRACKETS\n )\n ? undefined\n : '{{env \"COOKIE_STATEMENT_URL\"}}',\n CONTACT_US_URL: '{{env \"CONTACT_US_URL\"}}'.match(TEMPLATE_BRACKETS)\n ? undefined\n : '{{env \"CONTACT_US_URL\"}}',\n TERMS_OF_AGREEMENT_URL: '{{env \"TERMS_OF_AGREEMENT_URL\"}}'.match(\n TEMPLATE_BRACKETS\n )\n ? undefined\n : '{{env \"TERMS_OF_AGREEMENT_URL\"}}',\n PRIVACY_POLICY_URL: '{{env \"PRIVACY_POLICY_URL\"}}'.match(TEMPLATE_BRACKETS)\n ? undefined\n : '{{env \"PRIVACY_POLICY_URL\"}}',\n UPLOAD_LINK_HOST: '{{env \"UPLOAD_LINK_HOST\"}}'.match(TEMPLATE_BRACKETS)\n ? undefined\n : '{{env \"UPLOAD_LINK_HOST\"}}',\n REVIEW_LINK_HOST: '{{env \"REVIEW_LINK_HOST\"}}'.match(TEMPLATE_BRACKETS)\n ? undefined\n : '{{env \"REVIEW_LINK_HOST\"}}',\n IOCLIENT_URL: '{{env \"IOCLIENT_URL\"}}'.match(TEMPLATE_BRACKETS)\n ? undefined\n : '{{env \"IOCLIENT_URL\"}}',\n REDIRECT_FAKE_UUIDS: '{{env \"REDIRECT_FAKE_UUIDS\"}}'.match(TEMPLATE_BRACKETS)\n ? undefined\n : '{{env \"REDIRECT_FAKE_UUIDS\"}}',\n OAUTH_URL: '{{env \"OAUTH_URL\"}}'.match(TEMPLATE_BRACKETS)\n ? undefined\n : '{{env \"OAUTH_URL\"}}',\n LEGACY_PATH_PREFIX: '{{env \"LEGACY_PATH_PREFIX\"}}'.match(TEMPLATE_BRACKETS)\n ? undefined\n : '{{env \"LEGACY_PATH_PREFIX\"}}',\n DOCS_URL: '{{env \"DOCS_URL\"}}'.match(TEMPLATE_BRACKETS)\n ? undefined\n : '{{env \"DOCS_URL\"}}',\n DOCS_AUTH: '{{env \"DOCS_AUTH\"}}'.match(TEMPLATE_BRACKETS)\n ? undefined\n : '{{env \"DOCS_AUTH\"}}'\n};\n"],"names":["TEMPLATE_BRACKETS","Array","map","i","join","window","__env_vars","MATOMO_HOST","match","undefined","MATOMO_SITE_ID","COOKIE_CONSENT_VERSIONS","COOKIE_STATEMENT_URL","CONTACT_US_URL","TERMS_OF_AGREEMENT_URL","PRIVACY_POLICY_URL","UPLOAD_LINK_HOST","REVIEW_LINK_HOST","IOCLIENT_URL","REDIRECT_FAKE_UUIDS","OAUTH_URL","LEGACY_PATH_PREFIX","DOCS_URL","DOCS_AUTH"],"sourceRoot":""}