{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?738f","webpack:///./src/App.vue?9712","webpack:///./src/TextInput.vue?c54e","webpack:///./src/TextInput.vue","webpack:///./src/TextInput.vue?0044","webpack:///./src/api.ts","webpack:///./src/stores/trial.ts","webpack:///./src/App.vue","webpack:///./src/App.vue?dfb6","webpack:///./src/main.ts"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_hoisted_1","class","_hoisted_2","action","method","autocomplete","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","style","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","type","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","href","target","_hoisted_52","_hoisted_53","_hoisted_54","_hoisted_55","_hoisted_56","_hoisted_57","_hoisted_58","_hoisted_59","_hoisted_60","_hoisted_61","_hoisted_62","_hoisted_63","_hoisted_64","_hoisted_65","_hoisted_67","_hoisted_68","_hoisted_69","_hoisted_70","render","_ctx","_cache","$props","$setup","$data","$options","_component_text_input","pageNr","id","onIsValidValue","checkValidValue","validateValue","legend","placeholder","maxlength","modelValue","organisation","firstName","$event","lastName","errorMessage","email","userNameExists","password","phone","isSubmit","onClick","completeFirstPage","title","organisationName","cocNumber","address","postalCode","city","numberOfEmployees","errors","indexOf","onChange","validateNumberOfEmployees","remark","termsChecked","for","completeSecondPage","startDemo","containsError","onInput","updateProperty","passwordMinLengthError","passwordDigitsError","passwordUpperCaseError","emits","props","String","Boolean","default","isError","Number","required","setup","emit","isValidValue","hasValue","event","test","totalDigits","replace","totalUpperCase","console","log","valid","err","validateBySubmitButton","validate","__exports__","serviceUrl","client","a","baseURL","interceptors","request","use","config","response","error","Promise","reject","useTrialStore","state","trialOrganisationResult","activeUserNameResult","sexe","actions","createTrialVersion","api","post","then","catch","checkActiveUserName","userName","components","TextInput","store","input","document","getElementById","focus","addEventListener","field","parentNode","nextSibling","nextRow","nextField","getElementsByTagName","top","location","activationUrl","index","success","alert","message","add","watch","pinia","app","App","mount","component"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,E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AAI3C,IAAI0C,IAERC,GAAIE,MAAM,QACVF,GAAIG,UAAU,oBAAqB","file":"js/app.81454615.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader-v16/dist/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./App.vue?vue&type=style&index=0&id=70015c31&lang=scss\"","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, vModelSelect as _vModelSelect, normalizeClass as _normalizeClass, withDirectives as _withDirectives, vModelCheckbox as _vModelCheckbox, createStaticVNode as _createStaticVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = {\n action: \".\",\n method: \"post\",\n autocomplete: \"new-password\"\n}\nconst _hoisted_3 = {\n key: 0,\n class: \"page1\"\n}\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"title\" }, [\n /*#__PURE__*/_createTextVNode(\"PROBEER DE DEMO\"),\n /*#__PURE__*/_createElementVNode(\"br\"),\n /*#__PURE__*/_createTextVNode(\"14 DAGEN GRATIS!\")\n], -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"box-info\" }, \" We richten uw demoversie met een paar eenvoudige stappen in zodat u direct van start kunt gaan. \", -1)\nconst _hoisted_6 = { class: \"rows\" }\nconst _hoisted_7 = /*#__PURE__*/_createStaticVNode(\"
   
\", 1)\nconst _hoisted_8 = {\n class: \"row\",\n style: {\"margin-top\":\"5px\"}\n}\nconst _hoisted_9 = { class: \"row\" }\nconst _hoisted_10 = { class: \"row\" }\nconst _hoisted_11 = {\n key: 0,\n class: \"error-message\"\n}\nconst _hoisted_12 = { class: \"row\" }\nconst _hoisted_13 = { class: \"row\" }\nconst _hoisted_14 = { class: \"footer\" }\nconst _hoisted_15 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"footer-title\" }, \"Na het aanmaken van uw account kunt u direct aan de slag met onze DEMO- versie!\", -1)\nconst _hoisted_16 = {\n key: 0,\n type: \"button\"\n}\nconst _hoisted_17 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"fas fa-spinner fa-spin\" }, null, -1)\nconst _hoisted_18 = [\n _hoisted_17\n]\nconst _hoisted_19 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"page\" }, [\n /*#__PURE__*/_createTextVNode(\"Stap \"),\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"1\"),\n /*#__PURE__*/_createTextVNode(\" van 2\")\n], -1)\nconst _hoisted_20 = {\n key: 1,\n class: \"page2\"\n}\nconst _hoisted_21 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"fal fa-arrow-circle-left fa-lg\" }, null, -1)\nconst _hoisted_22 = [\n _hoisted_21\n]\nconst _hoisted_23 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"title\" }, \"WELKOM\", -1)\nconst _hoisted_24 = { class: \"name\" }\nconst _hoisted_25 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"box-info\" }, \"Vul hieronder uw bedrijfsgegevens in zodat we u nog beter van dienst kunnen zijn.\", -1)\nconst _hoisted_26 = { class: \"rows\" }\nconst _hoisted_27 = { class: \"row\" }\nconst _hoisted_28 = { class: \"row\" }\nconst _hoisted_29 = { class: \"row\" }\nconst _hoisted_30 = { class: \"row\" }\nconst _hoisted_31 = { class: \"row\" }\nconst _hoisted_32 = { class: \"row\" }\nconst _hoisted_33 = {\n key: 0,\n class: \"select\"\n}\nconst _hoisted_34 = /*#__PURE__*/_createElementVNode(\"legend\", null, \"Aantal medewerkers\", -1)\nconst _hoisted_35 = [\n _hoisted_34\n]\nconst _hoisted_36 = { class: \"input\" }\nconst _hoisted_37 = { key: 0 }\nconst _hoisted_38 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"fas fa-exclamation-circle\" }, null, -1)\nconst _hoisted_39 = [\n _hoisted_38\n]\nconst _hoisted_40 = /*#__PURE__*/_createStaticVNode(\"\", 7)\nconst _hoisted_47 = [\n _hoisted_40\n]\nconst _hoisted_48 = { class: \"row\" }\nconst _hoisted_49 = { class: \"row\" }\nconst _hoisted_50 = /*#__PURE__*/_createTextVNode(\"Ik ga akkoord met de \")\nconst _hoisted_51 = /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"algemenevoorwaarden.pdf\",\n target: \"_blank\"\n}, \"algemene voorwaarden\", -1)\nconst _hoisted_52 = /*#__PURE__*/_createTextVNode(\" en \")\nconst _hoisted_53 = /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"verwerkersovereenkomst.pdf\",\n target: \"_blank\"\n}, \"verwerkersovereenkomst\", -1)\nconst _hoisted_54 = /*#__PURE__*/_createTextVNode(\".\")\nconst _hoisted_55 = [\n _hoisted_50,\n _hoisted_51,\n _hoisted_52,\n _hoisted_53,\n _hoisted_54\n]\nconst _hoisted_56 = { class: \"footer\" }\nconst _hoisted_57 = {\n key: 0,\n class: \"error-message\"\n}\nconst _hoisted_58 = {\n key: 1,\n type: \"button\"\n}\nconst _hoisted_59 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"fas fa-spinner fa-spin\" }, null, -1)\nconst _hoisted_60 = [\n _hoisted_59\n]\nconst _hoisted_61 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"page\" }, [\n /*#__PURE__*/_createTextVNode(\"Stap \"),\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"2\"),\n /*#__PURE__*/_createTextVNode(\" van 2\")\n], -1)\nconst _hoisted_62 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"fal fa-arrow-circle-left fa-lg\" }, null, -1)\nconst _hoisted_63 = [\n _hoisted_62\n]\nconst _hoisted_64 = {\n key: 2,\n class: \"page3\"\n}\nconst _hoisted_65 = /*#__PURE__*/_createStaticVNode(\"

VOORDAT U BEGINT!

\", 2)\nconst _hoisted_67 = { class: \"footer\" }\nconst _hoisted_68 = {\n key: 0,\n type: \"button\"\n}\nconst _hoisted_69 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"fas fa-spinner fa-spin\" }, null, -1)\nconst _hoisted_70 = [\n _hoisted_69\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_text_input = _resolveComponent(\"text-input\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"form\", _hoisted_2, [\n (_ctx.pageNr == 1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _hoisted_4,\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_text_input, {\n id: 'firstName',\n onIsValidValue: _ctx.checkValidValue,\n validateValue: _ctx.validateValue,\n legend: 'Voornaam',\n placeholder: 'Voornaam *',\n maxlength: 100,\n modelValue: _ctx.organisation.firstName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.organisation.firstName) = $event))\n }, null, 8, [\"onIsValidValue\", \"validateValue\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_text_input, {\n id: 'lastName',\n onIsValidValue: _ctx.checkValidValue,\n validateValue: _ctx.validateValue,\n legend: 'Achternaam',\n placeholder: 'Achternaam *',\n modelValue: _ctx.organisation.lastName,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.organisation.lastName) = $event)),\n maxlength: 100\n }, null, 8, [\"onIsValidValue\", \"validateValue\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_text_input, {\n id: 'email',\n onIsValidValue: _ctx.checkValidValue,\n validateValue: _ctx.validateValue,\n legend: 'Email',\n placeholder: 'Email (gebruikersnaam) *',\n errorMessage: 'Vul a.u.b. een geldig emailadres in',\n modelValue: _ctx.organisation.email,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.organisation.email) = $event)),\n maxlength: 100,\n type: 'email'\n }, null, 8, [\"onIsValidValue\", \"validateValue\", \"placeholder\", \"errorMessage\", \"modelValue\"]),\n (_ctx.userNameExists)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, \"Het gekozen emailadres is al in gebruik.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_text_input, {\n id: 'password',\n onIsValidValue: _ctx.checkValidValue,\n validateValue: _ctx.validateValue,\n type: 'password',\n legend: 'Wachtwoord',\n placeholder: 'Wachtwoord',\n modelValue: _ctx.organisation.password,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.organisation.password) = $event)),\n maxlength: 100\n }, null, 8, [\"onIsValidValue\", \"validateValue\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_component_text_input, {\n id: 'phone',\n onIsValidValue: _ctx.checkValidValue,\n validateValue: _ctx.validateValue,\n legend: 'Telefoon',\n placeholder: 'Telefoon *',\n modelValue: _ctx.organisation.phone,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.organisation.phone) = $event)),\n maxlength: 30\n }, null, 8, [\"onIsValidValue\", \"validateValue\", \"modelValue\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _hoisted_15,\n (_ctx.isSubmit)\n ? (_openBlock(), _createElementBlock(\"button\", _hoisted_16, _hoisted_18))\n : (_openBlock(), _createElementBlock(\"button\", {\n key: 1,\n type: \"button\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.completeFirstPage()))\n }, \"Volgende\")),\n _hoisted_19\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.pageNr == 2)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _createElementVNode(\"div\", {\n title: \"terug naar de vorige pagina\",\n class: \"button-back\",\n onClick: _cache[6] || (_cache[6] = ($event: any) => (_ctx.pageNr = 1))\n }, _hoisted_22),\n _hoisted_23,\n _createElementVNode(\"div\", _hoisted_24, _toDisplayString(_ctx.organisation.firstName) + \" \" + _toDisplayString(_ctx.organisation.lastName), 1),\n _hoisted_25,\n _createElementVNode(\"div\", _hoisted_26, [\n _createElementVNode(\"div\", _hoisted_27, [\n _createVNode(_component_text_input, {\n id: 'organisationName',\n onIsValidValue: _ctx.checkValidValue,\n validateValue: _ctx.validateValue,\n legend: 'Bedrijfsnaam',\n placeholder: 'Bedrijfsnaam',\n modelValue: _ctx.organisation.organisationName,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.organisation.organisationName) = $event)),\n maxlength: 100\n }, null, 8, [\"onIsValidValue\", \"validateValue\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_28, [\n _createVNode(_component_text_input, {\n id: 'cocNumber',\n onIsValidValue: _ctx.checkValidValue,\n validateValue: _ctx.validateValue,\n legend: 'Kvk',\n placeholder: 'Kvk',\n modelValue: _ctx.organisation.cocNumber,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((_ctx.organisation.cocNumber) = $event)),\n maxlength: 50\n }, null, 8, [\"onIsValidValue\", \"validateValue\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_29, [\n _createVNode(_component_text_input, {\n id: 'address',\n onIsValidValue: _ctx.checkValidValue,\n validateValue: _ctx.validateValue,\n legend: 'Adres',\n placeholder: 'Adres',\n modelValue: _ctx.organisation.address,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((_ctx.organisation.address) = $event)),\n maxlength: 100\n }, null, 8, [\"onIsValidValue\", \"validateValue\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_30, [\n _createVNode(_component_text_input, {\n id: 'postalCode',\n onIsValidValue: _ctx.checkValidValue,\n validateValue: _ctx.validateValue,\n legend: 'Postcode',\n placeholder: 'Postcode',\n modelValue: _ctx.organisation.postalCode,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((_ctx.organisation.postalCode) = $event)),\n maxlength: 25\n }, null, 8, [\"onIsValidValue\", \"validateValue\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_31, [\n _createVNode(_component_text_input, {\n id: 'city',\n onIsValidValue: _ctx.checkValidValue,\n validateValue: _ctx.validateValue,\n legend: 'Plaats',\n placeholder: 'Plaats',\n modelValue: _ctx.organisation.city,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((_ctx.organisation.city) = $event)),\n maxlength: 100\n }, null, 8, [\"onIsValidValue\", \"validateValue\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_32, [\n (_ctx.organisation.numberOfEmployees != '0')\n ? (_openBlock(), _createElementBlock(\"fieldset\", _hoisted_33, _hoisted_35))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_36, [\n (_ctx.errors.indexOf('numberOfEmployees') >= 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_37, _hoisted_39))\n : _createCommentVNode(\"\", true),\n _withDirectives(_createElementVNode(\"select\", {\n id: \"numberOfEmployees\",\n onChange: _cache[12] || (_cache[12] = ($event: any) => (_ctx.validateNumberOfEmployees())),\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((_ctx.organisation.numberOfEmployees) = $event)),\n class: _normalizeClass(_ctx.errors.indexOf('numberOfEmployees') >= 0 ? 'error' : '')\n }, _hoisted_47, 34), [\n [_vModelSelect, _ctx.organisation.numberOfEmployees]\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_48, [\n _createVNode(_component_text_input, {\n id: 'remark',\n legend: 'Opmerking',\n placeholder: 'Opmerking',\n modelValue: _ctx.organisation.remark,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => ((_ctx.organisation.remark) = $event)),\n maxlength: 250\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_49, [\n _createElementVNode(\"table\", null, [\n _createElementVNode(\"tr\", null, [\n _createElementVNode(\"td\", null, [\n _withDirectives(_createElementVNode(\"input\", {\n type: \"checkbox\",\n id: \"ok\",\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = ($event: any) => ((_ctx.termsChecked) = $event))\n }, null, 512), [\n [_vModelCheckbox, _ctx.termsChecked]\n ])\n ]),\n _createElementVNode(\"td\", null, [\n _createElementVNode(\"label\", {\n for: \"ok\",\n class: _normalizeClass(_ctx.validateValue && !_ctx.termsChecked ? 'terms error' : 'terms')\n }, _hoisted_55, 2)\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_56, [\n (_ctx.errorMessage.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_57, _toDisplayString(_ctx.errorMessage), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.isSubmit)\n ? (_openBlock(), _createElementBlock(\"button\", _hoisted_58, _hoisted_60))\n : (_openBlock(), _createElementBlock(\"button\", {\n key: 2,\n type: \"button\",\n onClick: _cache[16] || (_cache[16] = ($event: any) => (_ctx.completeSecondPage()))\n }, \"Account aanmaken\")),\n _hoisted_61,\n _createElementVNode(\"div\", {\n title: \"terug naar de vorige pagina\",\n class: \"button-back bottom\",\n onClick: _cache[17] || (_cache[17] = ($event: any) => (_ctx.pageNr = 1))\n }, _hoisted_63)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.pageNr == 3)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_64, [\n _hoisted_65,\n _createElementVNode(\"div\", _hoisted_67, [\n (_ctx.isSubmit)\n ? (_openBlock(), _createElementBlock(\"button\", _hoisted_68, _hoisted_70))\n : (_openBlock(), _createElementBlock(\"button\", {\n key: 1,\n type: \"button\",\n onClick: _cache[18] || (_cache[18] = ($event: any) => (_ctx.startDemo()))\n }, \"Start uw demo\"))\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"fas fa-exclamation-circle\" }, null, -1)\nconst _hoisted_4 = [\n _hoisted_3\n]\nconst _hoisted_5 = [\"type\", \"id\", \"value\", \"placeholder\", \"maxlength\"]\nconst _hoisted_6 = {\n key: 0,\n class: \"error-message\"\n}\nconst _hoisted_7 = {\n key: 0,\n class: \"error-message\"\n}\nconst _hoisted_8 = {\n key: 1,\n class: \"error-message\"\n}\nconst _hoisted_9 = {\n key: 2,\n class: \"error-message\"\n}\nconst _hoisted_10 = {\n key: 0,\n class: \"error-message\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_ctx.modelValue.length > 0)\n ? (_openBlock(), _createElementBlock(\"fieldset\", _hoisted_1, [\n _createElementVNode(\"legend\", null, _toDisplayString(_ctx.legend), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: _normalizeClass(_ctx.containsError() ? 'input error' : 'input')\n }, [\n (_ctx.containsError())\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, _hoisted_4))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"input\", {\n type: _ctx.type,\n autocomplete: \"new-password\",\n id: _ctx.id,\n value: _ctx.modelValue,\n placeholder: _ctx.placeholder,\n maxlength: _ctx.maxlength,\n onInput: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.updateProperty && _ctx.updateProperty(...args)))\n }, null, 40, _hoisted_5)\n ], 2),\n (_ctx.type == 'email')\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n (_ctx.containsError())\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, \"Voer een geldig emailadres in\"))\n : _createCommentVNode(\"\", true)\n ], 64))\n : _createCommentVNode(\"\", true),\n (_ctx.type == 'password')\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 2 }, [\n (_ctx.passwordMinLengthError)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, \"- vul minimaal 6 karakters in\"))\n : _createCommentVNode(\"\", true),\n (_ctx.passwordDigitsError)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, \"- vul minimaal 1 cijfer in\"))\n : _createCommentVNode(\"\", true),\n (_ctx.passwordUpperCaseError)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, \"- vul minimaal 1 hoofdletter in\"))\n : _createCommentVNode(\"\", true)\n ], 64))\n : _createCommentVNode(\"\", true),\n (_ctx.type != 'email' && _ctx.type != 'password')\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 3 }, [\n (_ctx.containsError())\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, _toDisplayString(_ctx.legend + ' is verplicht'), 1))\n : _createCommentVNode(\"\", true)\n ], 64))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\r\nimport { ref, defineComponent, watchEffect } from 'vue'\r\nimport { IValidData } from './models'\r\nexport default defineComponent({\r\n emits: ['update:modelValue', 'isValidValue'],\r\n props: {\r\n id: {\r\n type: String\r\n },\r\n validateValue: {\r\n type: Boolean,\r\n default: false\r\n },\r\n isError: {\r\n type: Boolean,\r\n default: false\r\n },\r\n legend: {\r\n type: String\r\n },\r\n placeholder: {\r\n type: String\r\n },\r\n maxlength: {\r\n type: Number\r\n },\r\n modelValue: {\r\n type: String,\r\n required: true\r\n },\r\n type: {\r\n type: String,\r\n default: 'text'\r\n },\r\n errorMessage: {\r\n type: String,\r\n default: ''\r\n }\r\n },\r\n setup (props, { emit }) {\r\n const isValidValue = ref(true)\r\n const passwordMinLengthError = ref(false)\r\n const passwordDigitsError = ref(false)\r\n const passwordUpperCaseError = ref(false)\r\n\r\n const hasValue = () => {\r\n return props.modelValue && props.modelValue.length > 0\r\n }\r\n\r\n const updateProperty = (event: KeyboardEvent) => {\r\n const value = (event.target as HTMLInputElement)?.value\r\n validateValue(value)\r\n emit('update:modelValue', value)\r\n }\r\n\r\n const validateValue = (value: string) => {\r\n isValidValue.value = value.length !== 0\r\n if (props.type === 'email') {\r\n if (!(/^\\w+([.-]?\\w+)*@\\w+([.-]?\\w+)*(\\.\\w{2,3})+$/.test(value))) {\r\n isValidValue.value = false\r\n } else {\r\n isValidValue.value = true\r\n }\r\n }\r\n\r\n if (props.type === 'password') {\r\n // reset errors\r\n isValidValue.value = true\r\n passwordMinLengthError.value = false\r\n passwordDigitsError.value = false\r\n passwordUpperCaseError.value = false\r\n\r\n // minlength check\r\n if (value.length < 6) {\r\n passwordMinLengthError.value = true\r\n isValidValue.value = false\r\n }\r\n\r\n // minimaal 1 cijfer\r\n const totalDigits = value.replace(/[^0-9]/g, '').length\r\n if (totalDigits === 0) {\r\n passwordDigitsError.value = true\r\n isValidValue.value = false\r\n }\r\n\r\n // minimaal 1 hoofdletter\r\n const totalUpperCase = value.replace(/[^A-Z]/g, '').length\r\n console.log(totalUpperCase)\r\n if (totalUpperCase === 0) {\r\n passwordUpperCaseError.value = true\r\n isValidValue.value = false\r\n }\r\n }\r\n\r\n emit('isValidValue', { id: props.id, valid: isValidValue.value } as IValidData)\r\n }\r\n\r\n const containsError = () => {\r\n const err = !isValidValue.value || (props.isError && props.modelValue.length === 0)\r\n return err\r\n }\r\n\r\n const validateBySubmitButton = (validate: boolean) => {\r\n if (validate) {\r\n validateValue(props.modelValue)\r\n }\r\n }\r\n\r\n watchEffect(() => validateBySubmitButton(props.validateValue))\r\n\r\n return {\r\n updateProperty,\r\n hasValue,\r\n isValidValue,\r\n containsError,\r\n passwordMinLengthError,\r\n passwordDigitsError,\r\n passwordUpperCaseError\r\n }\r\n }\r\n})\r\n","import { render } from \"./TextInput.vue?vue&type=template&id=62e1f792&ts=true\"\nimport script from \"./TextInput.vue?vue&type=script&lang=ts\"\nexport * from \"./TextInput.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"C:\\\\projecten\\\\2Jours\\\\trial.2jours.nl\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import axios from 'axios'\r\n\r\nexport const serviceUrl = process.env.VUE_APP_SERVICE_API\r\nexport const client = axios.create({\r\n baseURL: serviceUrl\r\n})\r\n\r\nclient.interceptors.request.use(function (config) {\r\n // const accessToken = authStore.passport()?.accessToken || ''\r\n // config.headers.Authorization = `Bearer ${accessToken}`\r\n return config\r\n})\r\n\r\nclient.interceptors.response.use(\r\n (response) => {\r\n return response\r\n },\r\n (error) => {\r\n /*\r\n const originalRequest = error.config\r\n\r\n if (error.response.status === 401) {\r\n const accessToken = authStore.passport()?.accessToken || ''\r\n const refreshToken = authStore.passport()?.refreshToken || ''\r\n\r\n if (accessToken == null || (accessToken.length == 0 && !originalRequest.generateToken)) {\r\n originalRequest.generateToken = true\r\n\r\n // request an access-token based on the TJ.API accessToken\r\n return axios.post(calcUrl + '/WebService/CalcService.asmx/GenerateToken').then((res) => {\r\n // accessToken + refreshTokens are success, now store them\r\n if (res.status === 200) {\r\n const data = JSON.parse(utils.stripHtmlTags(res.data))\r\n\r\n // store the passport in the store\r\n authStore.setPassport(data as IPassport)\r\n\r\n // put the access token in the headers\r\n error.config.headers.Authorization = 'Bearer ' + data.accessToken\r\n\r\n // execute the orginal request\r\n return axios(originalRequest)\r\n }\r\n })\r\n }\r\n\r\n if (typeof accessToken === 'string' && accessToken.length > 0 && !originalRequest.refreshToken) {\r\n // prevent looping\r\n originalRequest.refreshToken = true\r\n\r\n if (typeof refreshToken === 'string' && refreshToken.length > 0) {\r\n return axios\r\n .post(serviceUrl + '/v1/auth/token/refresh', {\r\n refreshToken: refreshToken\r\n })\r\n .then((res) => {\r\n if (res.status === 200) {\r\n // store the passport in the store\r\n authStore.setPassport(res.data as IPassport)\r\n\r\n // put the access token in the headers\r\n error.config.headers.Authorization = 'Bearer ' + res.data.accessToken\r\n\r\n console.log('accessToken is refreshed by refresh token')\r\n // execute the orginal request\r\n return axios(originalRequest)\r\n }\r\n })\r\n }\r\n }\r\n }\r\n */\r\n return Promise.reject(error)\r\n }\r\n)\r\n\r\nexport default client\r\n","// https://github.com/carlomigueldy/vue-3-pinia-grocery-app\r\nimport { defineStore } from 'pinia'\r\nimport { ICheckExistingUserName, ITrialOrganisation, ITrialOrganisationResult } from '@/models'\r\n\r\nimport api from '@/api'\r\n\r\nexport type RootState = {\r\n trialOrganisationResult: ITrialOrganisationResult\r\n activeUserNameResult: ICheckExistingUserName\r\n organisation: ITrialOrganisation\r\n}\r\n\r\nexport const useTrialStore = defineStore({\r\n id: 'trialStore',\r\n state: () => (\r\n {\r\n trialOrganisationResult: {},\r\n activeUserNameResult: {},\r\n organisation: {\r\n address: '',\r\n city: '',\r\n cocNumber: '',\r\n email: '',\r\n firstName: '',\r\n lastName: '',\r\n numberOfEmployees: '0',\r\n organisationName: '',\r\n password: '',\r\n phone: '',\r\n postalCode: '',\r\n remark: '',\r\n sexe: 0\r\n }\r\n } as RootState\r\n ),\r\n actions: {\r\n async createTrialVersion () {\r\n await api.post('/v1/trial', this.organisation)\r\n .then((response) => {\r\n this.trialOrganisationResult = response.data as ITrialOrganisationResult\r\n })\r\n .catch((error) => {\r\n throw error\r\n })\r\n },\r\n\r\n async checkActiveUserName (userName: string) {\r\n await api.post('/v1/trial/checkexistingusername', { userName: userName })\r\n .then((response) => {\r\n this.activeUserNameResult = response.data as ICheckExistingUserName\r\n })\r\n .catch((error) => {\r\n throw error\r\n })\r\n }\r\n }\r\n})\r\n","\r\nimport { defineComponent, reactive, ref, onMounted, nextTick } from 'vue'\r\nimport { IValidData, ITrialOrganisation } from './models'\r\nimport TextInput from '@/TextInput.vue'\r\nimport { useTrialStore } from './stores/trial'\r\n\r\nexport default defineComponent({\r\n name: 'App',\r\n\r\n components: {\r\n TextInput\r\n },\r\n\r\n setup () {\r\n const pageNr = ref(1)\r\n const errors = ref>([])\r\n const termsChecked = ref(false)\r\n const isSubmit = ref(false)\r\n const userNameExists = ref(false)\r\n const validateValue = ref(false)\r\n const errorMessage = ref('')\r\n const store = useTrialStore()\r\n const organisation : ITrialOrganisation = reactive(store.organisation)\r\n\r\n onMounted(async () => {\r\n const input = document.getElementById('firstName') as HTMLInputElement\r\n if (input != null) {\r\n input.focus()\r\n }\r\n\r\n document.addEventListener('keyup', (event: KeyboardEvent) => {\r\n if (event.target) {\r\n const field = event.target as HTMLInputElement\r\n if (field != null && field.type !== 'button' && event.key === 'Enter') {\r\n if (field.parentNode != null &&\r\n field.parentNode.parentNode != null &&\r\n field.parentNode.parentNode.nextSibling != null\r\n ) {\r\n const nextRow = field.parentNode.parentNode.nextSibling as HTMLTableRowElement\r\n if (nextRow != null) {\r\n const nextField = nextRow.getElementsByTagName('input')[0] as HTMLInputElement\r\n if (nextField != null) {\r\n nextField.focus()\r\n }\r\n }\r\n }\r\n }\r\n }\r\n })\r\n })\r\n\r\n const startDemo = () => {\r\n isSubmit.value = true\r\n if (window && window.top) {\r\n window.top.location.href = store.trialOrganisationResult.activationUrl\r\n }\r\n }\r\n\r\n const checkValidValue = (data: IValidData) => {\r\n const index = errors.value.indexOf(data.id)\r\n if (data.valid) {\r\n if (index > -1) {\r\n errors.value.splice(index, 1)\r\n }\r\n } else {\r\n if (index === -1) {\r\n errors.value.push(data.id)\r\n }\r\n }\r\n }\r\n\r\n const completeFirstPage = async () => {\r\n validateValue.value = true\r\n\r\n // nextTick ivm wachten op validatie van de invoervelden\r\n nextTick(async () => {\r\n if (errors.value.length === 0) {\r\n isSubmit.value = true\r\n await store.checkActiveUserName(organisation.email)\r\n .then(() => {\r\n if (store.activeUserNameResult.success) {\r\n // toon de volgende pagina\r\n pageNr.value = 2\r\n\r\n // nextTick omdat de `virtuele` DOM eerst moet worden bijgewerkt\r\n nextTick(() => {\r\n const input = document.getElementById('organisationName') as HTMLInputElement\r\n if (input != null) {\r\n input.focus()\r\n }\r\n })\r\n } else {\r\n // toon de melding dat de gebruikersnaam al in gebruik is.\r\n userNameExists.value = true\r\n }\r\n\r\n // reset error message voor volgende pagina\r\n errorMessage.value = ''\r\n\r\n // pagina 1 is gesubmit, reset dit voor de volgende pagina\r\n isSubmit.value = false\r\n\r\n // niet direct validaties uitvoeren voor de volgende pagina\r\n validateValue.value = false\r\n })\r\n .catch(() => {\r\n alert('er is iets misgegaan ...')\r\n isSubmit.value = false\r\n })\r\n }\r\n })\r\n }\r\n\r\n const completeSecondPage = async () => {\r\n validateValue.value = true\r\n errorMessage.value = ''\r\n\r\n // nextTick ivm wachten op validatie van de invoervelden\r\n nextTick(async () => {\r\n validateNumberOfEmployees()\r\n if (errors.value.length === 0) {\r\n // akkoord met algemene voorwaarden?\r\n if (!termsChecked.value) {\r\n return\r\n }\r\n\r\n isSubmit.value = true\r\n await store.createTrialVersion()\r\n .then(() => {\r\n const result = store.trialOrganisationResult\r\n\r\n if (result.success) {\r\n // toon de volgende pagina\r\n pageNr.value = 3\r\n } else {\r\n if (result.userNameExists) {\r\n pageNr.value = 1\r\n }\r\n errorMessage.value = result.message\r\n }\r\n\r\n // pagina 2 is gesubmit, reset dit voor de volgende pagina\r\n isSubmit.value = false\r\n\r\n // niet direct validaties uitvoeren voor de volgende pagina\r\n validateValue.value = false\r\n })\r\n .catch(() => {\r\n alert('er is iets misgegaan ...')\r\n isSubmit.value = false\r\n })\r\n }\r\n })\r\n }\r\n\r\n const validateNumberOfEmployees = () => {\r\n checkValidValue({\r\n id: 'numberOfEmployees',\r\n valid: organisation.numberOfEmployees.length > 0 && organisation.numberOfEmployees !== '0'\r\n })\r\n }\r\n\r\n return {\r\n organisation,\r\n completeFirstPage,\r\n completeSecondPage,\r\n pageNr,\r\n errors,\r\n termsChecked,\r\n startDemo,\r\n isSubmit,\r\n validateValue,\r\n userNameExists,\r\n checkValidValue,\r\n validateNumberOfEmployees,\r\n errorMessage\r\n }\r\n }\r\n})\r\n\r\n","import { render } from \"./App.vue?vue&type=template&id=70015c31&ts=true\"\nimport script from \"./App.vue?vue&type=script&lang=ts\"\nexport * from \"./App.vue?vue&type=script&lang=ts\"\n\nimport \"./App.vue?vue&type=style&index=0&id=70015c31&lang=scss\"\n\nimport exportComponent from \"C:\\\\projecten\\\\2Jours\\\\trial.2jours.nl\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createApp } from 'vue'\r\nimport App from './App.vue'\r\nimport { createPinia } from 'pinia'\r\n\r\n// https://dev.to/sabbirsobhani/font-awesome-with-vuejs-3-59ee\r\nimport { library, dom } from '@fortawesome/fontawesome-svg-core'\r\nimport { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'\r\nimport { fas } from '@fortawesome/pro-solid-svg-icons'\r\nimport { far } from '@fortawesome/pro-regular-svg-icons'\r\nimport { fal } from '@fortawesome/pro-light-svg-icons'\r\n\r\nlibrary.add(fas)\r\nlibrary.add(far)\r\nlibrary.add(fal)\r\n\r\ndom.watch()\r\n\r\nconst pinia = createPinia()\r\nconst app = createApp(App)\r\napp.use(pinia)\r\n\r\napp.mount('#app')\r\napp.component('font-awesome-icon', FontAwesomeIcon)\r\n"],"sourceRoot":""}