\n = 800\">\n
\n \n \n\n \n \n\n \n \n\n \n \n \n \n\n \n \n
\n\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n\n\n\n","import { h, computed, getCurrentInstance } from 'vue'\n\nimport useDark, { useDarkProps } from '../../composables/private/use-dark.js'\n\nimport { createComponent } from '../../utils/private/create.js'\nimport { hSlot } from '../../utils/private/render.js'\n\nexport const skeletonTypes = [\n 'text', 'rect', 'circle',\n 'QBtn', 'QBadge', 'QChip', 'QToolbar',\n 'QCheckbox', 'QRadio', 'QToggle',\n 'QSlider', 'QRange', 'QInput',\n 'QAvatar'\n]\n\nexport const skeletonAnimations = [\n 'wave', 'pulse', 'pulse-x', 'pulse-y', 'fade', 'blink', 'none'\n]\n\nexport default createComponent({\n name: 'QSkeleton',\n\n props: {\n ...useDarkProps,\n\n tag: {\n type: String,\n default: 'div'\n },\n\n type: {\n type: String,\n validator: v => skeletonTypes.includes(v),\n default: 'rect'\n },\n\n animation: {\n type: String,\n validator: v => skeletonAnimations.includes(v),\n default: 'wave'\n },\n animationSpeed: {\n type: [ String, Number ],\n default: 1500\n },\n\n square: Boolean,\n bordered: Boolean,\n\n size: String,\n width: String,\n height: String\n },\n\n setup (props, { slots }) {\n const vm = getCurrentInstance()\n const isDark = useDark(props, vm.proxy.$q)\n\n const style = computed(() => {\n const size = props.size !== void 0\n ? [ props.size, props.size ]\n : [ props.width, props.height ]\n\n return {\n '--q-skeleton-speed': `${ props.animationSpeed }ms`,\n width: size[ 0 ],\n height: size[ 1 ]\n }\n })\n\n const classes = computed(() =>\n `q-skeleton q-skeleton--${ isDark.value === true ? 'dark' : 'light' } q-skeleton--type-${ props.type }`\n + (props.animation !== 'none' ? ` q-skeleton--anim q-skeleton--anim-${ props.animation }` : '')\n + (props.square === true ? ' q-skeleton--square' : '')\n + (props.bordered === true ? ' q-skeleton--bordered' : '')\n )\n\n return () => h(props.tag, {\n class: classes.value,\n style: style.value\n }, hSlot(slots.default))\n }\n})\n","import { h } from 'vue'\n\nimport { createComponent } from '../../utils/private/create.js'\n\nconst space = h('div', { class: 'q-space' })\n\nexport default createComponent({\n name: 'QSpace',\n\n setup () {\n return () => space\n }\n})\n","/**\n * inputs to use on sign up step one by company type\n * @param {*} type\n */\nexport const signUpStepOneConfig = (type, isSNRequired) => {\n const conf =\n type === \"pf\"\n ? [\n \"complete_name\",\n \"document_cpf\",\n isSNRequired == \"0\" ? \"instagram\" : \"instagram_req\",\n \"celular\",\n ]\n : [\n \"document_pj\",\n \"document_cpf_contact\",\n \"fantasy_name\",\n \"name_default_contact\",\n \"celular_pj\",\n isSNRequired == \"0\" ? \"instagram\" : \"instagram_req\",\n ];\n\n return conf;\n};\n\nexport const verifyCaseIsEmbededSignup = () => {\n const urlParams = new URLSearchParams(window.location.search);\n const embededSignup = urlParams.get(\"embeded_signup\");\n\n if (embededSignup !== null) {\n localStorage.setItem(\"embeded_signup\", embededSignup);\n return true;\n } else {\n removeEmbededSignupParam();\n }\n return false;\n};\n\nexport const removeEmbededSignupParam = () => {\n localStorage.removeItem(\"embeded_signup\");\n};\n\nexport const getEmbededSignupParam = () => {\n return localStorage.getItem(\"embeded_signup\") ? true : false;\n};\n\nconst customData = {\n maccosmetics: {\n logo: \"https://flipnet-assets.s3.sa-east-1.amazonaws.com/admin/public/10930/assets/sou_mac_afiliados.png\",\n subtitle:\n \"Bem-vindo ao programa Sou MAC Afiliados. Preencha este formulário para solicitar sua inscrição no programa.\",\n },\n};\n\nexport const obtainCustomLogo = (companySlug) => {\n return customData[companySlug].logo;\n};\n\nexport const existsCustomData = (companySlug) => {\n return customData[companySlug] ? true : false;\n}\n\nexport const obtainCustomSubtitle = (companySlug) => {\n return customData[companySlug].subtitle;\n};\n","export { default } from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./FormActions.vue?vue&type=script&setup=true&lang=js\"; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./FormActions.vue?vue&type=script&setup=true&lang=js\"","import script from \"./FormActions.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./FormActions.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__\nimport QCardActions from 'quasar/src/components/card/QCardActions.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport QSpace from 'quasar/src/components/space/QSpace.js';\nimport qInstall from \"../../../../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QCardActions,QBtn,QSpace});\n"],"sourceRoot":""}