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,EAChB,CAEAd,SAASK,iBAAiB,uBAAuB,KAC/CmD,GAAS,IAOXxD,SAASK,iBAAiB,4BAA4B,KACpDmD,GAAS,GAEb,C,wBClJA,IAAIN,EAAM,CACT,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,wBAAyB,CACxB,MACA,KAED,qBAAsB,CACrB,MACA,KAED,qBAAsB,CACrB,MACA,KAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,KACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,KAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,KACA,MAED,kBAAmB,CAClB,MACA,MAED,qBAAsB,CACrB,MACA,KAED,qBAAsB,CACrB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,KAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,KACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,KACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,KAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,IACA,KAED,kBAAmB,CAClB,KACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,KACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,KACA,MAED,iBAAkB,CACjB,KACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,oBAAqB,CACpB,MACA,MAED,oBAAqB,CACpB,MACA,KAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,oBAAqB,CACpB,MACA,MAED,oBAAqB,CACpB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,KACA,MA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EACjBC,EAAKjZ,iBAAiB,SAAS,SAAS2E,GACtCuU,SAASC,gBAAgBpV,KAAKC,MAAMiV,EAAKzV,QAAQyH,UACjDtG,EAAEyU,gBACJ,G,8DCFF7Z,OAAO8G,KAAO9G,OAAO8G,MAAQ,CAAC,EAC9B9G,OAAO8G,KAAKiB,WAAaA,EAAAA,EAEzB/H,OAAO8G,KAAKgT,oBAAsB,SAAUzE,GAC1C,MAAM0E,EAAmB3Z,SAASQ,cAAc,uBAC5CmZ,IACFA,EAAiBnZ,cAAc,UAAUoZ,MAAMC,QAAU,OACzDF,EAAiBnZ,cAAc,+BAA+BsZ,WAAYC,EAAAA,EAAAA,UAAS9E,GACnF0E,EAAiBnZ,cAAc,wBAAwBoZ,MAAMC,QAAU,QAE3E,EAEAja,OAAO8G,KAAKsT,mBAAqB,SAAU/E,GACzC,MAAM0E,EAAmB3Z,SAASQ,cAAc,uBAC5CmZ,IACFA,EAAiBnZ,cAAc,UAAUoZ,MAAMC,QAAU,OACzDF,EAAiBnZ,cAAc,8BAA8BsZ,WAAYC,EAAAA,EAAAA,UAAS9E,GAClF0E,EAAiBnZ,cAAc,uBAAuBoZ,MAAMC,QAAU,QAE1E,C","sources":["webpack://agra/./app/javascript/error-logger-init.js","webpack://agra/./app/javascript/tooltips.js","webpack://agra/./app/javascript/common.js","webpack://agra/./app/javascript/utils/component-loader.js","webpack://agra/./app/javascript/locales/ lazy ^\\.\\/.*\\/.*\\.js$ namespace object","webpack://agra/./app/javascript/utils/dom-ready.js","webpack://agra/./app/javascript/helpers/class-from-color-index.js","webpack://agra/./app/javascript/agra-configuration.js","webpack://agra/./app/javascript/vue-init.js","webpack://agra/./app/javascript/analytics/track.js","webpack://agra/./app/javascript/i18n/translations.js","webpack://agra/./app/javascript/signup/translations.js","webpack://agra/./app/javascript/signup/vue-init.js","webpack://agra/./app/javascript/signup/component-loader.js","webpack://agra/./app/javascript/packs/signup.js","webpack://agra/./app/javascript/popovers.js","webpack://agra/./node_modules/whatwg-fetch/fetch.js","webpack://agra/./app/javascript/error-logger.js","webpack://agra/./app/javascript/public-path.js","webpack://agra/./app/javascript/i18n/i18n-plugin.js","webpack://agra/./app/javascript/signup/calendly.js","webpack://agra/./app/javascript/agra.js"],"sourcesContent":["import ErrorLogger from '@/error-logger'\nwindow.errorLogger = new ErrorLogger()\n","import { Tooltip } from 'bootstrap'\n\nexport function setUpTooltips() {\n document.querySelectorAll('[data-bs-toggle=\"tooltip\"]').forEach((el) => {\n new Tooltip(el)\n })\n}\n","import { setUpTooltips } from 'tooltips'\nimport { setUpPopovers } from 'popovers'\n\ndocument.addEventListener('turbolinks:load', () => {\n // Activate bootstrap tooltips\n setUpTooltips()\n\n // Activate bootstrap popovers\n setUpPopovers()\n\n // replace the authenticity token in forms, with the header csrf-token in the meta tag.\n // this allows us to cache form blocks without getting errors when the session changes.\n const csrfToken = document.querySelector('meta[name=\"csrf-token\"]').getAttribute('content')\n document.querySelectorAll('input[name=\"authenticity_token\"]').forEach((input) => {\n input.value = csrfToken\n })\n})\n","import jQuery from 'jquery'\n\nexport default function addComponentLoader(componentMapping, scriptMapping, storeGetterImport) {\n baseAddComponentLoader(componentMapping, scriptMapping, storeGetterImport, false, null)\n}\n\nexport function addSharedStoreComponentLoader(componentList, scriptMapping, storeGetterImport, storeDataComponentName) {\n baseAddComponentLoader(componentList, scriptMapping, storeGetterImport, true, storeDataComponentName)\n}\n\nexport function importWithRetry(importer, retriesLeft = 3) {\n if (retriesLeft === 0) {\n throw new Error('Failed to load component after 3 retries')\n }\n\n return new Promise((resolve, reject) => {\n importer()\n .then(resolve)\n .catch((error) => {\n console.warn(error, 'Failed to load component, retrying...')\n setTimeout(async () => {\n try {\n // Recursively call the function again, decreasing the retry count\n const result = await importWithRetry(importer, retriesLeft - 1)\n resolve(result) // Resolve the promise with the result from the recursive call\n } catch (err) {\n reject(err) // Reject the promise if the recursive call fails\n }\n }, 500)\n })\n })\n}\n\nasync function sharedStoreHandler(componentMapping, storeGetterImport, storeDataComponentName) {\n // Find all component loaders on the page\n const vueComponentDivs = document.getElementsByClassName('vue-component-loader')\n\n // Filter to just the ones in our componentMapping\n const relevantVueComponentDivs = Array.from(vueComponentDivs).filter(\n (div) => div.dataset.componentName in componentMapping\n )\n\n if (relevantVueComponentDivs.length === 0) {\n // None of the components we're looking for are on the page, so just exit.\n return\n }\n\n // Initialize the store! If storeDataComponentName is specified, that component's data\n // will be used to initialize the store.\n let vuexStore\n const { default: storeOrStoreGetter } = await storeGetterImport()\n if (typeof storeOrStoreGetter === 'function') {\n vuexStore = storeOrStoreGetter(storeDataComponentName)\n } else {\n vuexStore = storeOrStoreGetter\n }\n\n // Initialize each of the components in our mapping that are on the page,\n // hooking them all into the same vuex store.\n for (let div of relevantVueComponentDivs) {\n const componentData = div.dataset\n const componentName = componentData.componentName\n const props = JSON.parse(componentData.props)\n createVueComponent(div, componentMapping[componentName], props, vuexStore)\n }\n}\n\nasync function unorderedHandler(componentMapping, storeGetterImport) {\n const vueComponentDivs = document.getElementsByClassName('vue-component-loader')\n\n for (let div of vueComponentDivs) {\n const componentData = jQuery(div).data()\n const componentName = componentData.componentName\n\n if (componentName in componentMapping) {\n const props = componentData.props ? componentData.props : componentData\n\n // Here, we expect that each component, if it has a store,\n // has a store that is independent from the other components being loaded.\n let vuexStore\n if (storeGetterImport) {\n const { default: storeOrStoreGetter } = await storeGetterImport()\n if (typeof storeOrStoreGetter === 'function') {\n vuexStore = storeOrStoreGetter(componentName)\n } else {\n vuexStore = storeOrStoreGetter\n }\n }\n createVueComponent(div, componentMapping[componentName], props, vuexStore)\n }\n }\n}\n\nfunction createVueComponent(div, definition, props, store) {\n const el = jQuery(div).children('.vue-component').first()[0]\n\n if (!el) {\n // This .vue-component-loader div has no .vue-component child.\n // This probably means it has already been processed, and there's nothing we need to do.\n return\n }\n\n // Transform existing list of classes ['class-a', 'class-b'] from the element into the format:\n // {\n // class-a: true,\n // class-b: true\n // }\n const classes = Object.fromEntries(Array.from(el.classList).map((val) => [val, true]))\n\n window.createRootVueComponent(el, definition, {...props, class: classes}, store)\n}\n\nfunction scriptHandler(scriptMapping) {\n const scriptDivs = document.getElementsByClassName('script-loader')\n\n for (let div of scriptDivs) {\n const scriptData = jQuery(div).data()\n const scriptName = scriptData.scriptName\n if (scriptName in scriptMapping) {\n scriptMapping[scriptName]()\n }\n }\n}\n\nfunction baseAddComponentLoader(componentCollection, scriptMapping, storeGetterImport, sharedStore = false, storeDataComponentName) {\n function handler() {\n if (sharedStore) {\n sharedStoreHandler(componentCollection, storeGetterImport, storeDataComponentName)\n }\n else {\n unorderedHandler(componentCollection, storeGetterImport)\n }\n scriptHandler(scriptMapping)\n }\n\n document.addEventListener('translations:loaded', () => {\n handler()\n })\n\n // The above event will not be fired again for our \"remote\" forms,\n // but we still need the vue component to be re-placed on the page.\n // Therefore, we fire this event for remote forms on update\n // if reloading vue components is needed.\n document.addEventListener('agra:need-vue-components', () => {\n handler()\n })\n}\n","var map = {\n\t\"./friendship/ar.js\": [\n\t\t21918,\n\t\t1918\n\t],\n\t\"./friendship/cs.js\": [\n\t\t84611,\n\t\t4611\n\t],\n\t\"./friendship/da.js\": [\n\t\t51510,\n\t\t1510\n\t],\n\t\"./friendship/de-AT.js\": [\n\t\t96354,\n\t\t3973\n\t],\n\t\"./friendship/de-CH.js\": [\n\t\t45172,\n\t\t5172\n\t],\n\t\"./friendship/de.js\": [\n\t\t67466,\n\t\t7466\n\t],\n\t\"./friendship/el.js\": [\n\t\t55972,\n\t\t5972\n\t],\n\t\"./friendship/en-GB.js\": [\n\t\t59630,\n\t\t9630\n\t],\n\t\"./friendship/en-US.js\": [\n\t\t80531,\n\t\t531\n\t],\n\t\"./friendship/en.js\": [\n\t\t70894,\n\t\t894\n\t],\n\t\"./friendship/es.js\": [\n\t\t90969,\n\t\t969\n\t],\n\t\"./friendship/fr.js\": [\n\t\t68689,\n\t\t8689\n\t],\n\t\"./friendship/he.js\": [\n\t\t25950,\n\t\t5950\n\t],\n\t\"./friendship/hi.js\": [\n\t\t57290,\n\t\t7290\n\t],\n\t\"./friendship/hu.js\": [\n\t\t72782,\n\t\t2782\n\t],\n\t\"./friendship/id.js\": [\n\t\t52752,\n\t\t2752\n\t],\n\t\"./friendship/it.js\": [\n\t\t79744,\n\t\t9744\n\t],\n\t\"./friendship/ja.js\": [\n\t\t65748,\n\t\t5748\n\t],\n\t\"./friendship/ko.js\": [\n\t\t36039,\n\t\t6039\n\t],\n\t\"./friendship/nl.js\": [\n\t\t3547,\n\t\t3547\n\t],\n\t\"./friendship/no.js\": [\n\t\t34750,\n\t\t4750\n\t],\n\t\"./friendship/pl.js\": [\n\t\t13149,\n\t\t3149\n\t],\n\t\"./friendship/pt.js\": [\n\t\t32645,\n\t\t2645\n\t],\n\t\"./friendship/ro.js\": [\n\t\t55890,\n\t\t5890\n\t],\n\t\"./friendship/sr.js\": [\n\t\t88492,\n\t\t8492\n\t],\n\t\"./friendship/sv.js\": [\n\t\t94688,\n\t\t4688\n\t],\n\t\"./friendship/sw.js\": [\n\t\t93463,\n\t\t3463\n\t],\n\t\"./friendship/tr.js\": [\n\t\t60179,\n\t\t179\n\t],\n\t\"./phoenix/ar.js\": [\n\t\t94787,\n\t\t4787\n\t],\n\t\"./phoenix/cs.js\": [\n\t\t4322,\n\t\t4322\n\t],\n\t\"./phoenix/da.js\": [\n\t\t12491,\n\t\t2491\n\t],\n\t\"./phoenix/de-AT.js\": [\n\t\t20109,\n\t\t109\n\t],\n\t\"./phoenix/de-CH.js\": [\n\t\t92371,\n\t\t2371\n\t],\n\t\"./phoenix/de.js\": [\n\t\t59599,\n\t\t9599\n\t],\n\t\"./phoenix/el.js\": [\n\t\t61069,\n\t\t1069\n\t],\n\t\"./phoenix/en-GB.js\": [\n\t\t31773,\n\t\t4154\n\t],\n\t\"./phoenix/en-US.js\": [\n\t\t44392,\n\t\t4392\n\t],\n\t\"./phoenix/en.js\": [\n\t\t17931,\n\t\t7931\n\t],\n\t\"./phoenix/es.js\": [\n\t\t70432,\n\t\t432\n\t],\n\t\"./phoenix/fr.js\": [\n\t\t32668,\n\t\t2668\n\t],\n\t\"./phoenix/he.js\": [\n\t\t55963,\n\t\t5963\n\t],\n\t\"./phoenix/hi.js\": [\n\t\t61079,\n\t\t1079\n\t],\n\t\"./phoenix/hu.js\": [\n\t\t24747,\n\t\t4747\n\t],\n\t\"./phoenix/id.js\": [\n\t\t38289,\n\t\t8289\n\t],\n\t\"./phoenix/it.js\": [\n\t\t65281,\n\t\t5281\n\t],\n\t\"./phoenix/ja.js\": [\n\t\t4969,\n\t\t4969\n\t],\n\t\"./phoenix/ko.js\": [\n\t\t38270,\n\t\t8270\n\t],\n\t\"./phoenix/nl.js\": [\n\t\t12538,\n\t\t2538\n\t],\n\t\"./phoenix/no.js\": [\n\t\t39559,\n\t\t9559\n\t],\n\t\"./phoenix/pl.js\": [\n\t\t29140,\n\t\t9140\n\t],\n\t\"./phoenix/pt.js\": [\n\t\t98684,\n\t\t8684\n\t],\n\t\"./phoenix/ro.js\": [\n\t\t94099,\n\t\t4099\n\t],\n\t\"./phoenix/sr.js\": [\n\t\t31809,\n\t\t1809\n\t],\n\t\"./phoenix/sv.js\": [\n\t\t32413,\n\t\t2413\n\t],\n\t\"./phoenix/sw.js\": [\n\t\t6142,\n\t\t6142\n\t],\n\t\"./phoenix/tr.js\": [\n\t\t25902,\n\t\t5902\n\t],\n\t\"./pizzazz/ar.js\": [\n\t\t69776,\n\t\t9776\n\t],\n\t\"./pizzazz/cs.js\": [\n\t\t19297,\n\t\t9297\n\t],\n\t\"./pizzazz/da.js\": [\n\t\t15588,\n\t\t5588\n\t],\n\t\"./pizzazz/de-AT.js\": [\n\t\t52708,\n\t\t2708\n\t],\n\t\"./pizzazz/de-CH.js\": [\n\t\t93122,\n\t\t3122\n\t],\n\t\"./pizzazz/de.js\": [\n\t\t99320,\n\t\t9320\n\t],\n\t\"./pizzazz/el.js\": [\n\t\t84842,\n\t\t4842\n\t],\n\t\"./pizzazz/en-GB.js\": [\n\t\t64908,\n\t\t4908\n\t],\n\t\"./pizzazz/en-US.js\": [\n\t\t70733,\n\t\t733\n\t],\n\t\"./pizzazz/en.js\": [\n\t\t86624,\n\t\t6624\n\t],\n\t\"./pizzazz/es.js\": [\n\t\t91595,\n\t\t1595\n\t],\n\t\"./pizzazz/fr.js\": [\n\t\t29055,\n\t\t9055\n\t],\n\t\"./pizzazz/he.js\": [\n\t\t25764,\n\t\t5764\n\t],\n\t\"./pizzazz/hi.js\": [\n\t\t56944,\n\t\t6944\n\t],\n\t\"./pizzazz/hu.js\": [\n\t\t63124,\n\t\t3124\n\t],\n\t\"./pizzazz/id.js\": [\n\t\t70078,\n\t\t7697\n\t],\n\t\"./pizzazz/it.js\": [\n\t\t558,\n\t\t558\n\t],\n\t\"./pizzazz/ja.js\": [\n\t\t1350,\n\t\t1350\n\t],\n\t\"./pizzazz/ko.js\": [\n\t\t12093,\n\t\t2093\n\t],\n\t\"./pizzazz/nl.js\": [\n\t\t45501,\n\t\t5501\n\t],\n\t\"./pizzazz/no.js\": [\n\t\t33652,\n\t\t3652\n\t],\n\t\"./pizzazz/pl.js\": [\n\t\t52251,\n\t\t2251\n\t],\n\t\"./pizzazz/pt.js\": [\n\t\t53379,\n\t\t3379\n\t],\n\t\"./pizzazz/ro.js\": [\n\t\t7824,\n\t\t7824\n\t],\n\t\"./pizzazz/sr.js\": [\n\t\t26498,\n\t\t6498\n\t],\n\t\"./pizzazz/sv.js\": [\n\t\t62830,\n\t\t2830\n\t],\n\t\"./pizzazz/sw.js\": [\n\t\t12141,\n\t\t2141\n\t],\n\t\"./pizzazz/tr.js\": [\n\t\t8621,\n\t\t8621\n\t],\n\t\"./signup/ar.js\": [\n\t\t4388,\n\t\t4388\n\t],\n\t\"./signup/cs.js\": [\n\t\t76005,\n\t\t6005\n\t],\n\t\"./signup/da.js\": [\n\t\t62928,\n\t\t2928\n\t],\n\t\"./signup/de-AT.js\": [\n\t\t53312,\n\t\t3312\n\t],\n\t\"./signup/de-CH.js\": [\n\t\t30918,\n\t\t918\n\t],\n\t\"./signup/de.js\": [\n\t\t38652,\n\t\t8652\n\t],\n\t\"./signup/el.js\": [\n\t\t76062,\n\t\t6062\n\t],\n\t\"./signup/en-GB.js\": [\n\t\t37800,\n\t\t7800\n\t],\n\t\"./signup/en-US.js\": [\n\t\t72537,\n\t\t2537\n\t],\n\t\"./signup/en.js\": [\n\t\t31604,\n\t\t1604\n\t],\n\t\"./signup/es.js\": [\n\t\t57415,\n\t\t7415\n\t],\n\t\"./signup/fr.js\": [\n\t\t18667,\n\t\t8667\n\t],\n\t\"./signup/he.js\": [\n\t\t2208,\n\t\t2208\n\t],\n\t\"./signup/hi.js\": [\n\t\t73556,\n\t\t3556\n\t],\n\t\"./signup/hu.js\": [\n\t\t55984,\n\t\t3603\n\t],\n\t\"./signup/id.js\": [\n\t\t29658,\n\t\t9658\n\t],\n\t\"./signup/it.js\": [\n\t\t60074,\n\t\t74\n\t],\n\t\"./signup/ja.js\": [\n\t\t30410,\n\t\t410\n\t],\n\t\"./signup/ko.js\": [\n\t\t14457,\n\t\t4457\n\t],\n\t\"./signup/nl.js\": [\n\t\t17713,\n\t\t7713\n\t],\n\t\"./signup/no.js\": [\n\t\t43032,\n\t\t3032\n\t],\n\t\"./signup/pl.js\": [\n\t\t88471,\n\t\t8471\n\t],\n\t\"./signup/pt.js\": [\n\t\t82895,\n\t\t2895\n\t],\n\t\"./signup/ro.js\": [\n\t\t15596,\n\t\t5596\n\t],\n\t\"./signup/sr.js\": [\n\t\t57302,\n\t\t7302\n\t],\n\t\"./signup/sv.js\": [\n\t\t73258,\n\t\t3258\n\t],\n\t\"./signup/sw.js\": [\n\t\t69689,\n\t\t9689\n\t],\n\t\"./signup/tr.js\": [\n\t\t23209,\n\t\t3209\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 16859;\nmodule.exports = webpackAsyncContext;","// If the document is ready already, fire the callback immediately, otherwise wait for DOMContentLoaded\nexport function domReady(callback) {\n if (\n document.readyState === 'complete' ||\n (document.readyState !== 'loading' && !document.documentElement.doScroll)\n ) {\n callback()\n } else {\n document.addEventListener('DOMContentLoaded', callback)\n }\n}\n\n","const TYPE_TO_COLOR_INDEX_MAP = {\n event: 0,\n group: 1\n}\n\nexport default {\n install(app) {\n app.config.globalProperties.classFromColorIndex = function(colorIndex, primaryClass, secondaryClass) {\n if (colorIndex === 0) {\n return { [primaryClass]: true}\n }\n return { [secondaryClass]: true }\n }\n\n app.config.globalProperties.colorIndexForType = function(typeName) {\n return TYPE_TO_COLOR_INDEX_MAP[typeName]\n }\n }\n}\n\n","export default {\n install(app) {\n app.config.globalProperties.agraConfiguration = window.Agra.Configuration\n }\n}\n\n","import ClassFromColorIndex from './helpers/class-from-color-index'\nimport AgraConfiguration from './agra-configuration'\nimport { ErrorLoggerVueInit } from '@/error-logger'\n\nconst applyCommonPluginsToVueApp = function(app) {\n app.use(ErrorLoggerVueInit)\n app.use(ClassFromColorIndex)\n app.use(AgraConfiguration)\n}\n\nexport { applyCommonPluginsToVueApp }\n","import isEmpty from 'lodash/isEmpty'\n\nexport function trackShareOpen(socialKind, entityType, entitySlug) {\n const trackingEventName = `Opened ${socialKind} Share for ${entityType}`\n let trackingParams = {\n category: 'recommendation',\n action: socialKind,\n name: `${entityType} ${entitySlug}`\n }\n\n if (entitySlug) {\n trackingParams[entityType.toLowerCase()] = entitySlug\n }\n\n trackEvent(trackingEventName, trackingParams)\n}\n\nfunction trackEventWithGoogleAnalytics(event, parameters, identity, windowGlobal) {\n if (windowGlobal.gtag !== undefined) {\n // this is using nifty object spread syntax to map things onto new field names\n // const { key:renamedKey, ...restOfTheKeys } = anObject\n const { action: eventName, ...params } = parameters\n const eventNameWithFallback = eventName || event\n windowGlobal.gtag('event', eventNameWithFallback, paramsForGoogleAnalytics(params))\n }\n}\n\nfunction trackEventWithGtm(event, parameters, identity, windowGlobal) {\n if (windowGlobal.dataLayer !== undefined) {\n const dataLayerEvent = Object.assign(parameters, {event: event})\n if (identity['email'] && windowGlobal.sendEnhancedConversionData) {\n window.memberEmailAddress = identity['email']\n dataLayerEvent.enhanced_conversion_data = {\n email: 'memberEmailAddress'\n }\n }\n windowGlobal.dataLayer.push(dataLayerEvent)\n }\n}\n\nfunction trackEventWithMatomo(event, parameters, identity, windowGlobal) {\n if (windowGlobal._paq !== undefined) {\n windowGlobal._paq.push(['trackEvent', parameters['category'], parameters['action'], parameters['name'], parameters['value']])\n }\n}\n\nfunction trackEventWithSegment(event, parameters, identity, windowGlobal) {\n if (windowGlobal.analytics !== undefined) {\n let segmentContext = identity['anonymousId'] ? {anonymousId: identity['anonymousId']} : {}\n\n if (windowGlobal.optimizely && windowGlobal.optimizely.get) {\n segmentContext['Optimizely'] = {userId: windowGlobal.optimizely.get('visitor').visitorId }\n }\n\n if (!isEmpty(identity)) {\n windowGlobal.analytics.identify(`csl-${ identity['id'] }`, {email: identity['email']}, segmentContext )\n }\n windowGlobal.analytics.track(event, parameters, segmentContext)\n }\n}\n\nconst TRACKING_METHODS_BY_SLUG = {\n google_analytics: trackEventWithGoogleAnalytics,\n google_tag_manager: trackEventWithGtm,\n matomo: trackEventWithMatomo,\n segment: trackEventWithSegment\n}\n\n// we pass the global `window` in separately to assist us in stubbing easily with jest\nexport function trackEvent(event, parameters = {}, identity = {}, windowGlobal = window ) {\n for (let tracker of windowGlobal.Agra.Configuration.sendTrackingEventsTo) {\n TRACKING_METHODS_BY_SLUG[tracker](event, parameters, identity, windowGlobal)\n }\n\n return true\n}\n\nfunction paramsForGoogleAnalytics(params) {\n const { category: event_category, name: event_label, ...restParams } = params\n return {\n event_category,\n event_label,\n ...restParams\n }\n}\n","import I18n from 'i18n-js'\nimport { domReady } from '@/utils/dom-ready'\nimport { importWithRetry } from '@/utils/component-loader'\n\nclass I18nTranslations {\n constructor({translationContext}) {\n this.translationContext = translationContext\n\n if (this.translationsLoaded === undefined) {\n this.translationsLoaded = false\n this.translationsLoading = false\n }\n document.addEventListener('turbolinks:load', this.loadTranslations)\n\n // for pages not using turbolinks, we get document:ready event\n domReady(this.loadTranslations)\n }\n\n isRtl = () => {\n const htmlElement = document.getElementsByTagName('html')[0]\n if (htmlElement && htmlElement.attributes['dir']) {\n return htmlElement.attributes['dir'].value === 'rtl'\n }\n\n return false\n }\n\n loadTranslations = () => {\n // Do not attempt to reload translations if they were already initialized\n if (this.translationsLoaded) {\n // Trigger the event to forward turbolinks:load for other scripts\n document.dispatchEvent(new Event('translations:loaded'))\n return\n }\n\n if (this.translationsLoading) {\n // only allow one attempt at loading translations to be in progress at once.\n return\n }\n\n this.translationsLoading = true\n\n const currentLocale = htmlLang()\n if (!currentLocale) {\n throw 'Couldn\\'t find current locale'\n }\n\n importWithRetry(() => import(/* webpackMode: \"lazy\" */ `../locales/${this.translationContext}/${currentLocale}.js`))\n .then(({default: translations}) => {\n I18n.locale = currentLocale\n I18n.fallbacks = 'default_locale'\n I18n.translations[currentLocale] = translations\n }).then(() => {\n this.translationsLoaded = true\n this.translationsLoading = false\n document.dispatchEvent(new Event('translations:loaded'))\n })\n }\n\n locale() {\n this.translationsLoadedGuard()\n return I18n.locale\n }\n\n translate(scope, options) {\n this.translationsLoadedGuard()\n return I18n.translate(scope, options)\n }\n\n t(scope, options) {\n return this.translate(scope, options)\n }\n\n localize(scope, value, options) {\n this.translationsLoadedGuard()\n return I18n.localize(scope, value, options)\n }\n\n l(scope, value, options) {\n return this.localize(scope, value, options)\n }\n\n pluralize(count, scope, options) {\n this.translationsLoadedGuard()\n return I18n.pluralize(count, scope, options)\n }\n\n p(count, scope, options) {\n this.pluralize(count, scope, options)\n }\n\n toNumber(number, options) {\n this.translationsLoadedGuard()\n return I18n.toNumber(number, options)\n }\n\n strftime(time, string) {\n this.translationsLoadedGuard()\n return I18n.strftime(time, string)\n }\n\n translationsLoadedGuard() {\n if (!this.translationsLoaded) {\n throw 'Translations not loaded yet. Need to wait until translations:loaded before calling this function'\n }\n }\n}\n\nexport const htmlLang = () => document.getElementsByTagName('html')[0].attributes['lang'].value\n\nexport default I18nTranslations\n","import I18nTranslations from '../i18n/translations'\n\nexport default new I18nTranslations({translationContext: 'signup'})\n","import { applyCommonPluginsToVueApp } from '@/vue-init'\nimport { createApp } from 'vue'\nimport i18n from './translations'\nimport I18nPlugin from '@/i18n/i18n-plugin'\n\nwindow.createRootVueComponent = function(el, component, props, store=null) {\n const app = createApp(component, props)\n applyCommonPluginsToVueApp(app)\n app.use(I18nPlugin, {i18n})\n if (store) {\n app.use(store)\n }\n app.mount(el)\n}\n","import addComponentLoader, { importWithRetry } from '@/utils/component-loader'\nimport { defineAsyncComponent } from 'vue'\n\nconst componentMapping = {\n ajaxErrorToast: defineAsyncComponent(() => importWithRetry(() => import(/* webpackMode: \"lazy\" */ /* webpackChunkName: \"ajax-error-toast\" */ '@/components/ajax-error-toast')))\n}\n\nconst scriptMapping = {\n recaptcha: () => importWithRetry(() => import(/* webpackMode: \"lazy\" */ '../recaptcha'))\n}\n\naddComponentLoader(componentMapping, scriptMapping)\n","import '../public-path'\n\nimport jQuery from 'jquery'\nwindow.jQuery = window.$ = jQuery\n\nimport 'core-js/stable'\nimport 'regenerator-runtime/runtime'\n\nimport 'whatwg-fetch'\nimport '../signup/vue-init'\nimport '../agra.js'\n\nimport '../common.js'\nimport '../error-logger-init'\n\nimport '../signup/component-loader.js'\nimport '../signup/calendly.js'\n\nimport Rails from '@rails/ujs'\n\nRails.start()\n","import { Popover } from 'bootstrap'\n\nconst popoverTemplate = '

'\nconst inputQuery = 'input[rel=popover], textarea[rel=popover], input[data-bs-toggle=popover], textarea[data-bs-toggle=popover]'\nconst linkButtonQuery = 'a[rel=popover], a[data-bs-toggle=popover], button[data-bs-toggle=popover]'\n\nexport function setUpPopovers() {\n document.querySelectorAll(inputQuery).forEach((el) => {\n new Popover(el, {\n trigger: 'focus',\n html: true,\n template: popoverTemplate,\n placement: el.dataset.bsPlacement || 'right'\n })\n })\n\n document.querySelectorAll(linkButtonQuery).forEach((el) => {\n new Popover(el, {\n trigger: el.dataset.bsTrigger || 'click',\n html: true,\n template: popoverTemplate,\n placement: el.dataset.bsPlacement || 'right'\n })\n })\n}\n","/* eslint-disable no-prototype-builtins */\nvar g =\n (typeof globalThis !== 'undefined' && globalThis) ||\n (typeof self !== 'undefined' && self) ||\n // eslint-disable-next-line no-undef\n (typeof global !== 'undefined' && global) ||\n {}\n\nvar support = {\n searchParams: 'URLSearchParams' in g,\n iterable: 'Symbol' in g && 'iterator' in Symbol,\n blob:\n 'FileReader' in g &&\n 'Blob' in g &&\n (function() {\n try {\n new Blob()\n return true\n } catch (e) {\n return false\n }\n })(),\n formData: 'FormData' in g,\n arrayBuffer: 'ArrayBuffer' in g\n}\n\nfunction isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj)\n}\n\nif (support.arrayBuffer) {\n var viewClasses = [\n '[object Int8Array]',\n '[object Uint8Array]',\n '[object Uint8ClampedArray]',\n '[object Int16Array]',\n '[object Uint16Array]',\n '[object Int32Array]',\n '[object Uint32Array]',\n '[object Float32Array]',\n '[object Float64Array]'\n ]\n\n var isArrayBufferView =\n ArrayBuffer.isView ||\n function(obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n }\n}\n\nfunction normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name)\n }\n if (/[^a-z0-9\\-#$%&'*+.^_`|~!]/i.test(name) || name === '') {\n throw new TypeError('Invalid character in header field name: \"' + name + '\"')\n }\n return name.toLowerCase()\n}\n\nfunction normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value)\n }\n return value\n}\n\n// Build a destructive iterator for the value list\nfunction iteratorFor(items) {\n var iterator = {\n next: function() {\n var value = items.shift()\n return {done: value === undefined, value: value}\n }\n }\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function() {\n return iterator\n }\n }\n\n return iterator\n}\n\nexport function Headers(headers) {\n this.map = {}\n\n if (headers instanceof Headers) {\n headers.forEach(function(value, name) {\n this.append(name, value)\n }, this)\n } else if (Array.isArray(headers)) {\n headers.forEach(function(header) {\n if (header.length != 2) {\n throw new TypeError('Headers constructor: expected name/value pair to be length 2, found' + header.length)\n }\n this.append(header[0], header[1])\n }, this)\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function(name) {\n this.append(name, headers[name])\n }, this)\n }\n}\n\nHeaders.prototype.append = function(name, value) {\n name = normalizeName(name)\n value = normalizeValue(value)\n var oldValue = this.map[name]\n this.map[name] = oldValue ? oldValue + ', ' + value : value\n}\n\nHeaders.prototype['delete'] = function(name) {\n delete this.map[normalizeName(name)]\n}\n\nHeaders.prototype.get = function(name) {\n name = normalizeName(name)\n return this.has(name) ? this.map[name] : null\n}\n\nHeaders.prototype.has = function(name) {\n return this.map.hasOwnProperty(normalizeName(name))\n}\n\nHeaders.prototype.set = function(name, value) {\n this.map[normalizeName(name)] = normalizeValue(value)\n}\n\nHeaders.prototype.forEach = function(callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this)\n }\n }\n}\n\nHeaders.prototype.keys = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push(name)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.values = function() {\n var items = []\n this.forEach(function(value) {\n items.push(value)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.entries = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push([name, value])\n })\n return iteratorFor(items)\n}\n\nif (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries\n}\n\nfunction consumed(body) {\n if (body._noBody) return\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'))\n }\n body.bodyUsed = true\n}\n\nfunction fileReaderReady(reader) {\n return new Promise(function(resolve, reject) {\n reader.onload = function() {\n resolve(reader.result)\n }\n reader.onerror = function() {\n reject(reader.error)\n }\n })\n}\n\nfunction readBlobAsArrayBuffer(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsArrayBuffer(blob)\n return promise\n}\n\nfunction readBlobAsText(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n var match = /charset=([A-Za-z0-9_-]+)/.exec(blob.type)\n var encoding = match ? match[1] : 'utf-8'\n reader.readAsText(blob, encoding)\n return promise\n}\n\nfunction readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf)\n var chars = new Array(view.length)\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i])\n }\n return chars.join('')\n}\n\nfunction bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0)\n } else {\n var view = new Uint8Array(buf.byteLength)\n view.set(new Uint8Array(buf))\n return view.buffer\n }\n}\n\nfunction Body() {\n this.bodyUsed = false\n\n this._initBody = function(body) {\n /*\n fetch-mock wraps the Response object in an ES6 Proxy to\n provide useful test harness features such as flush. However, on\n ES5 browsers without fetch or Proxy support pollyfills must be used;\n the proxy-pollyfill is unable to proxy an attribute unless it exists\n on the object before the Proxy is created. This change ensures\n Response.bodyUsed exists on the instance, while maintaining the\n semantic of setting Request.bodyUsed in the constructor before\n _initBody is called.\n */\n // eslint-disable-next-line no-self-assign\n this.bodyUsed = this.bodyUsed\n this._bodyInit = body\n if (!body) {\n this._noBody = true;\n this._bodyText = ''\n } else if (typeof body === 'string') {\n this._bodyText = body\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString()\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer)\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer])\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body)\n } else {\n this._bodyText = body = Object.prototype.toString.call(body)\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8')\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type)\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8')\n }\n }\n }\n\n if (support.blob) {\n this.blob = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob')\n } else {\n return Promise.resolve(new Blob([this._bodyText]))\n }\n }\n }\n\n this.arrayBuffer = function() {\n if (this._bodyArrayBuffer) {\n var isConsumed = consumed(this)\n if (isConsumed) {\n return isConsumed\n } else if (ArrayBuffer.isView(this._bodyArrayBuffer)) {\n return Promise.resolve(\n this._bodyArrayBuffer.buffer.slice(\n this._bodyArrayBuffer.byteOffset,\n this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength\n )\n )\n } else {\n return Promise.resolve(this._bodyArrayBuffer)\n }\n } else if (support.blob) {\n return this.blob().then(readBlobAsArrayBuffer)\n } else {\n throw new Error('could not read as ArrayBuffer')\n }\n }\n\n this.text = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text')\n } else {\n return Promise.resolve(this._bodyText)\n }\n }\n\n if (support.formData) {\n this.formData = function() {\n return this.text().then(decode)\n }\n }\n\n this.json = function() {\n return this.text().then(JSON.parse)\n }\n\n return this\n}\n\n// HTTP methods whose capitalization should be normalized\nvar methods = ['CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', 'TRACE']\n\nfunction normalizeMethod(method) {\n var upcased = method.toUpperCase()\n return methods.indexOf(upcased) > -1 ? upcased : method\n}\n\nexport function Request(input, options) {\n if (!(this instanceof Request)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n }\n\n options = options || {}\n var body = options.body\n\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read')\n }\n this.url = input.url\n this.credentials = input.credentials\n if (!options.headers) {\n this.headers = new Headers(input.headers)\n }\n this.method = input.method\n this.mode = input.mode\n this.signal = input.signal\n if (!body && input._bodyInit != null) {\n body = input._bodyInit\n input.bodyUsed = true\n }\n } else {\n this.url = String(input)\n }\n\n this.credentials = options.credentials || this.credentials || 'same-origin'\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers)\n }\n this.method = normalizeMethod(options.method || this.method || 'GET')\n this.mode = options.mode || this.mode || null\n this.signal = options.signal || this.signal || (function () {\n if ('AbortController' in g) {\n var ctrl = new AbortController();\n return ctrl.signal;\n }\n }());\n this.referrer = null\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests')\n }\n this._initBody(body)\n\n if (this.method === 'GET' || this.method === 'HEAD') {\n if (options.cache === 'no-store' || options.cache === 'no-cache') {\n // Search for a '_' parameter in the query string\n var reParamSearch = /([?&])_=[^&]*/\n if (reParamSearch.test(this.url)) {\n // If it already exists then set the value with the current time\n this.url = this.url.replace(reParamSearch, '$1_=' + new Date().getTime())\n } else {\n // Otherwise add a new '_' parameter to the end with the current time\n var reQueryString = /\\?/\n this.url += (reQueryString.test(this.url) ? '&' : '?') + '_=' + new Date().getTime()\n }\n }\n }\n}\n\nRequest.prototype.clone = function() {\n return new Request(this, {body: this._bodyInit})\n}\n\nfunction decode(body) {\n var form = new FormData()\n body\n .trim()\n .split('&')\n .forEach(function(bytes) {\n if (bytes) {\n var split = bytes.split('=')\n var name = split.shift().replace(/\\+/g, ' ')\n var value = split.join('=').replace(/\\+/g, ' ')\n form.append(decodeURIComponent(name), decodeURIComponent(value))\n }\n })\n return form\n}\n\nfunction parseHeaders(rawHeaders) {\n var headers = new Headers()\n // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ')\n // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill\n // https://github.com/github/fetch/issues/748\n // https://github.com/zloirock/core-js/issues/751\n preProcessedHeaders\n .split('\\r')\n .map(function(header) {\n return header.indexOf('\\n') === 0 ? header.substr(1, header.length) : header\n })\n .forEach(function(line) {\n var parts = line.split(':')\n var key = parts.shift().trim()\n if (key) {\n var value = parts.join(':').trim()\n try {\n headers.append(key, value)\n } catch (error) {\n console.warn('Response ' + error.message)\n }\n }\n })\n return headers\n}\n\nBody.call(Request.prototype)\n\nexport function Response(bodyInit, options) {\n if (!(this instanceof Response)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n }\n if (!options) {\n options = {}\n }\n\n this.type = 'default'\n this.status = options.status === undefined ? 200 : options.status\n if (this.status < 200 || this.status > 599) {\n throw new RangeError(\"Failed to construct 'Response': The status provided (0) is outside the range [200, 599].\")\n }\n this.ok = this.status >= 200 && this.status < 300\n this.statusText = options.statusText === undefined ? '' : '' + options.statusText\n this.headers = new Headers(options.headers)\n this.url = options.url || ''\n this._initBody(bodyInit)\n}\n\nBody.call(Response.prototype)\n\nResponse.prototype.clone = function() {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n })\n}\n\nResponse.error = function() {\n var response = new Response(null, {status: 200, statusText: ''})\n response.ok = false\n response.status = 0\n response.type = 'error'\n return response\n}\n\nvar redirectStatuses = [301, 302, 303, 307, 308]\n\nResponse.redirect = function(url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code')\n }\n\n return new Response(null, {status: status, headers: {location: url}})\n}\n\nexport var DOMException = g.DOMException\ntry {\n new DOMException()\n} catch (err) {\n DOMException = function(message, name) {\n this.message = message\n this.name = name\n var error = Error(message)\n this.stack = error.stack\n }\n DOMException.prototype = Object.create(Error.prototype)\n DOMException.prototype.constructor = DOMException\n}\n\nexport function fetch(input, init) {\n return new Promise(function(resolve, reject) {\n var request = new Request(input, init)\n\n if (request.signal && request.signal.aborted) {\n return reject(new DOMException('Aborted', 'AbortError'))\n }\n\n var xhr = new XMLHttpRequest()\n\n function abortXhr() {\n xhr.abort()\n }\n\n xhr.onload = function() {\n var options = {\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n }\n // This check if specifically for when a user fetches a file locally from the file system\n // Only if the status is out of a normal range\n if (request.url.indexOf('file://') === 0 && (xhr.status < 200 || xhr.status > 599)) {\n options.status = 200;\n } else {\n options.status = xhr.status;\n }\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')\n var body = 'response' in xhr ? xhr.response : xhr.responseText\n setTimeout(function() {\n resolve(new Response(body, options))\n }, 0)\n }\n\n xhr.onerror = function() {\n setTimeout(function() {\n reject(new TypeError('Network request failed'))\n }, 0)\n }\n\n xhr.ontimeout = function() {\n setTimeout(function() {\n reject(new TypeError('Network request timed out'))\n }, 0)\n }\n\n xhr.onabort = function() {\n setTimeout(function() {\n reject(new DOMException('Aborted', 'AbortError'))\n }, 0)\n }\n\n function fixUrl(url) {\n try {\n return url === '' && g.location.href ? g.location.href : url\n } catch (e) {\n return url\n }\n }\n\n xhr.open(request.method, fixUrl(request.url), true)\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false\n }\n\n if ('responseType' in xhr) {\n if (support.blob) {\n xhr.responseType = 'blob'\n } else if (\n support.arrayBuffer\n ) {\n xhr.responseType = 'arraybuffer'\n }\n }\n\n if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers || (g.Headers && init.headers instanceof g.Headers))) {\n var names = [];\n Object.getOwnPropertyNames(init.headers).forEach(function(name) {\n names.push(normalizeName(name))\n xhr.setRequestHeader(name, normalizeValue(init.headers[name]))\n })\n request.headers.forEach(function(value, name) {\n if (names.indexOf(name) === -1) {\n xhr.setRequestHeader(name, value)\n }\n })\n } else {\n request.headers.forEach(function(value, name) {\n xhr.setRequestHeader(name, value)\n })\n }\n\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr)\n\n xhr.onreadystatechange = function() {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr)\n }\n }\n }\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit)\n })\n}\n\nfetch.polyfill = true\n\nif (!g.fetch) {\n g.fetch = fetch\n g.Headers = Headers\n g.Request = Request\n g.Response = Response\n}\n","import { importWithRetry } from '@/utils/component-loader'\n\nexport default class ErrorLogger {\n rollbarLogger = null\n appsignalLogger = null\n\n constructor() {\n const errorReportingConfig = window.Agra.Configuration.errorReporting\n if (errorReportingConfig.rollbar.enabled) {\n importWithRetry(() => import(/* webpackMode: \"lazy\"*/ 'rollbar'))\n .then(module => {\n this.rollbarLogger = new module.default(this.rollbarOptions(errorReportingConfig.rollbar))\n })\n } else if (errorReportingConfig.appsignal.enabled) {\n importWithRetry(() => import(/* webpackMode: \"lazy\"*/ '@appsignal/javascript'))\n .then(module => {\n this.appsignalLogger = new module.default({\n key: errorReportingConfig.appsignal.frontendKey\n })\n })\n }\n }\n\n rollbarOptions(config) {\n return {\n accessToken: config.publicAccessToken,\n autoInstrument: {\n contentSecurityPolicy: true,\n errorOnContentSecurityPolicy: false\n },\n captureUncaught: true,\n captureUnhandledRejections: true,\n captureIp: false,\n enabled: true,\n environment: config.environment,\n ignoredMessages: ['ResizeObserver loop completed with undelivered notifications'],\n payload: {\n client: {\n javascript: {\n source_map_enabled: true,\n guess_uncaught_frames: true\n }\n }\n },\n scrubTelemetryInputs: true\n }\n }\n\n error(message, exception) {\n if (!exception) {\n exception = new Error(message)\n }\n\n if (this.rollbarLogger) {\n this.rollbarLogger.error(message, exception)\n } else if (this.appsignalLogger) {\n this.appsignalLogger.sendError(exception)\n } else {\n // stub implementation for case when neither rollbar or appsignal are loaded. Just logs to the console.\n console.log(`[ERROR] ${message} - ${JSON.stringify(exception)}`)\n }\n }\n}\n\nexport const ErrorLoggerVueInit = {\n install(app) {\n const errorLogger = new ErrorLogger()\n app.config.globalProperties.$errorLogger = errorLogger\n }\n}\n","// eslint-disable-next-line no-undef\n__webpack_public_path__ = window.__webpack_public_path__\n","const I18nPlugin = {\n install(app, options) {\n const i18n = options.i18n\n\n app.config.globalProperties.i18n = i18n\n app.config.globalProperties.i18n.formattedCount = (i18nKey, count) => {\n return i18n.t(i18nKey, { count, formatted_count: i18n.toNumber(count, {precision: 0})})\n }\n app.config.globalProperties.translationsLoaded = true\n app.provide('i18n', i18n)\n }\n}\n\nexport default I18nPlugin\n","const calendlyLinks = document.getElementsByClassName('calendly-link')\nfor (const link of calendlyLinks) {\n link.addEventListener('click', function(e) {\n Calendly.initPopupWidget(JSON.parse(link.dataset.options))\n e.preventDefault()\n })\n}\n","import { trackEvent } from '@/analytics/track'\nimport { unescape } from 'lodash'\n\nwindow.Agra = window.Agra || {}\nwindow.Agra.trackEvent = trackEvent\n\nwindow.Agra.alertMessageSuccess = function (message) {\n const clientSideAlerts = document.querySelector('.client-side-alerts')\n if (clientSideAlerts) {\n clientSideAlerts.querySelector('.alert').style.display = 'none'\n clientSideAlerts.querySelector('.alert.alert-success > span').innerText = unescape(message)\n clientSideAlerts.querySelector('.alert.alert-success').style.display = 'block'\n }\n}\n\nwindow.Agra.alertMessageDanger = function (message) {\n const clientSideAlerts = document.querySelector('.client-side-alerts')\n if (clientSideAlerts) {\n clientSideAlerts.querySelector('.alert').style.display = 'none'\n clientSideAlerts.querySelector('.alert.alert-danger > span').innerText = unescape(message)\n clientSideAlerts.querySelector('.alert.alert-danger').style.display = 'block'\n }\n}\n"],"names":["window","errorLogger","ErrorLogger","setUpTooltips","document","querySelectorAll","forEach","el","Tooltip","addEventListener","setUpPopovers","csrfToken","querySelector","getAttribute","input","value","addComponentLoader","componentMapping","scriptMapping","storeGetterImport","baseAddComponentLoader","addSharedStoreComponentLoader","componentList","storeDataComponentName","importWithRetry","importer","retriesLeft","Error","Promise","resolve","reject","then","catch","error","console","warn","setTimeout","async","result","err","createVueComponent","div","definition","props","store","jQuery","children","first","classes","Object","fromEntries","Array","from","classList","map","val","createRootVueComponent","class","componentCollection","sharedStore","handler","vueComponentDivs","getElementsByClassName","relevantVueComponentDivs","filter","dataset","componentName","length","vuexStore","default","storeOrStoreGetter","componentData","JSON","parse","sharedStoreHandler","data","unorderedHandler","scriptDivs","scriptName","scriptHandler","webpackAsyncContext","req","__webpack_require__","o","e","code","ids","id","keys","module","exports","domReady","callback","readyState","documentElement","doScroll","TYPE_TO_COLOR_INDEX_MAP","event","group","install","app","config","globalProperties","classFromColorIndex","colorIndex","primaryClass","secondaryClass","colorIndexForType","typeName","agraConfiguration","Agra","Configuration","applyCommonPluginsToVueApp","use","ErrorLoggerVueInit","ClassFromColorIndex","AgraConfiguration","trackShareOpen","socialKind","entityType","entitySlug","trackingEventName","trackingParams","category","action","name","toLowerCase","trackEvent","TRACKING_METHODS_BY_SLUG","google_analytics","parameters","identity","windowGlobal","undefined","gtag","eventName","params","eventNameWithFallback","event_category","event_label","restParams","paramsForGoogleAnalytics","google_tag_manager","dataLayer","dataLayerEvent","assign","sendEnhancedConversionData","memberEmailAddress","enhanced_conversion_data","email","push","matomo","_paq","segment","analytics","segmentContext","anonymousId","optimizely","get","userId","visitorId","isEmpty","identify","track","tracker","sendTrackingEventsTo","htmlLang","getElementsByTagName","attributes","constructor","translationContext","this","translationsLoaded","translationsLoading","loadTranslations","isRtl","htmlElement","dispatchEvent","Event","currentLocale","translations","I18n","locale","translationsLoadedGuard","translate","scope","options","t","localize","l","pluralize","count","p","toNumber","number","strftime","time","string","I18nTranslations","component","createApp","I18nPlugin","i18n","mount","ajaxErrorToast","defineAsyncComponent","recaptcha","$","Rails","start","popoverTemplate","inputQuery","linkButtonQuery","Popover","trigger","html","template","placement","bsPlacement","bsTrigger","g","globalThis","self","support","Symbol","Blob","viewClasses","isArrayBufferView","ArrayBuffer","isView","obj","indexOf","prototype","toString","call","normalizeName","String","test","TypeError","normalizeValue","iteratorFor","items","iterator","next","shift","done","Headers","headers","append","isArray","header","getOwnPropertyNames","consumed","body","_noBody","bodyUsed","fileReaderReady","reader","onload","onerror","readBlobAsArrayBuffer","blob","FileReader","promise","readAsArrayBuffer","bufferClone","buf","slice","view","Uint8Array","byteLength","set","buffer","Body","_initBody","_bodyInit","_bodyText","isPrototypeOf","_bodyBlob","FormData","_bodyFormData","URLSearchParams","DataView","_bodyArrayBuffer","type","rejected","arrayBuffer","isConsumed","byteOffset","text","match","encoding","exec","readAsText","chars","i","fromCharCode","join","readArrayBufferAsText","formData","decode","json","oldValue","has","hasOwnProperty","thisArg","values","entries","methods","Request","method","upcased","url","credentials","mode","signal","toUpperCase","AbortController","referrer","cache","reParamSearch","replace","Date","getTime","form","trim","split","bytes","decodeURIComponent","Response","bodyInit","status","RangeError","ok","statusText","clone","response","redirectStatuses","redirect","location","DOMException","message","stack","create","fetch","init","request","aborted","xhr","XMLHttpRequest","abortXhr","abort","rawHeaders","getAllResponseHeaders","substr","line","parts","key","responseURL","responseText","ontimeout","onabort","open","href","fixUrl","withCredentials","responseType","names","setRequestHeader","onreadystatechange","removeEventListener","send","polyfill","rollbarLogger","appsignalLogger","errorReportingConfig","errorReporting","rollbar","enabled","rollbarOptions","appsignal","frontendKey","accessToken","publicAccessToken","autoInstrument","contentSecurityPolicy","errorOnContentSecurityPolicy","captureUncaught","captureUnhandledRejections","captureIp","environment","ignoredMessages","payload","client","javascript","source_map_enabled","guess_uncaught_frames","scrubTelemetryInputs","exception","sendError","log","stringify","$errorLogger","__webpack_public_path__","formattedCount","i18nKey","formatted_count","precision","provide","calendlyLinks","link","Calendly","initPopupWidget","preventDefault","alertMessageSuccess","clientSideAlerts","style","display","innerText","unescape","alertMessageDanger"],"sourceRoot":""}