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IAAIzB,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,YAAY,CAACF,EAAG,cAAc,CAACG,YAAY,oBAAoB,EACxJ,EACIG,EAAkB,G,iCCStB,GACAE,KAAA,gBACAiB,SAAA,KACAC,EAAAA,EAAAA,IAAAC,EAAAA,KAEAP,QAAA,CACAY,iBACA,MAAAC,EAAAf,aAAAC,QAAA,gBACA,GAAAc,EAAA,CACA,MAAAC,EAAA,IAAAC,EAAAA,EACAD,EAAAE,UACAF,EAAAJ,WACA,KAAAF,YAAAS,UAAAH,EAEA,CACA,GAEAI,cACA,KAAAN,gBACA,GC9B6P,I,UCQzPV,GAAY,OACd,EACAzB,EACAS,GACA,EACA,KACA,WACA,MAIF,EAAegB,EAAiB,O","sources":["webpack://fluxbeam/./src/layouts/AuthenticatedLayout.vue","webpack://fluxbeam/./src/components/common/Disclaimer.vue","webpack://fluxbeam/src/components/common/Disclaimer.vue","webpack://fluxbeam/./src/components/common/Disclaimer.vue?26fb","webpack://fluxbeam/./src/components/common/Disclaimer.vue?1494","webpack://fluxbeam/src/layouts/AuthenticatedLayout.vue","webpack://fluxbeam/./src/layouts/AuthenticatedLayout.vue?9101","webpack://fluxbeam/./src/layouts/AuthenticatedLayout.vue?a15c","webpack://fluxbeam/./src/layouts/BotLayout.vue","webpack://fluxbeam/src/layouts/BotLayout.vue","webpack://fluxbeam/./src/layouts/BotLayout.vue?ce6b","webpack://fluxbeam/./src/layouts/BotLayout.vue?6829","webpack://fluxbeam/./src/layouts/DefaultLayout.vue","webpack://fluxbeam/src/layouts/DefaultLayout.vue","webpack://fluxbeam/./src/layouts/DefaultLayout.vue?a866","webpack://fluxbeam/./src/layouts/DefaultLayout.vue?3952"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"default\"}},[_c('div',{staticClass:\"authenticated\"},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view',{key:_vm.address,staticClass:\"container view\"})],1),_c('Disclaimer')],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.show),expression:\"show\"}],staticClass:\"disclaimer\"},[_c('div',{staticClass:\"container-fluid\"},[_c('div',{staticClass:\"col-12 col-md-8 col-lg-6 mx-auto\"},[_c('div',{staticClass:\"card animate__animated animate__fadeIn\"},[_vm._m(0),_vm._m(1),_c('div',{staticClass:\"card-footer\"},[_c('button',{staticClass:\"btn btn-solid-primary w-100\",on:{\"click\":_vm.accept}},[_vm._v(\" Accept \")])])])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"card-header text-center\"},[_c('h1',[_vm._v(\"Disclaimer\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"card-body\"},[_c('p',[_vm._v(\" Fluxbeam.xyz hosts a non-custodial web dApp that allows access to several smart contracts deployed on the Solana Blockchain; it is not a regulated financial or payment service of any kind and in any jurisdiction. Any term including but not limited to \\\"swap\\\", \\\"exchange\\\", \\\"asset\\\", \\\"liquidity\\\", \\\"pool\\\", \\\"fee\\\" found in this website or in the dApp are used only as a basic reference, without any effective or legal meaning of the same terms in a regulated and/or traditional financial environment. The Fluxbeam smart contracts do not support usage or work at all with security tokens of any kind. Fluxbeam does not allow, process or facilitate in any way user-to-user transfer of any token or other assets or values, nor third party payments of any kind. As explained and confirmed in greater detail in the Terms of Use accessible from this website, remember that using Fluxbeam involves various risks, including, but not limited to, malicious computer attacks, failure of the software, and losses due to the fluctuation of the price of the tokens; any such risks might lead to losses that can be total and final. The informational material available on this website and/or on the dApp/user interface is not solicitation, advice or recommendation to buy, trade or sell any digital assets. \")])])\n}]\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"disclaimer\" v-show=\"show\">\n    <div class=\"container-fluid\">\n      <div class=\"col-12 col-md-8 col-lg-6 mx-auto\">\n        <div class=\"card animate__animated animate__fadeIn\">\n          <div class=\"card-header text-center\">\n            <h1>Disclaimer</h1>\n          </div>\n          <div class=\"card-body\">\n            <p>\n              Fluxbeam.xyz hosts a non-custodial web dApp that allows access to\n              several smart contracts deployed on the Solana Blockchain; it is\n              not a regulated financial or payment service of any kind and in\n              any jurisdiction. Any term including but not limited to \"swap\",\n              \"exchange\", \"asset\", \"liquidity\", \"pool\", \"fee\" found in this\n              website or in the dApp are used only as a basic reference, without\n              any effective or legal meaning of the same terms in a regulated\n              and/or traditional financial environment. The Fluxbeam smart\n              contracts do not support usage or work at all with security tokens\n              of any kind. Fluxbeam does not allow, process or facilitate in any\n              way user-to-user transfer of any token or other assets or values,\n              nor third party payments of any kind. As explained and confirmed\n              in greater detail in the Terms of Use accessible from this\n              website, remember that using Fluxbeam involves various risks,\n              including, but not limited to, malicious computer attacks, failure\n              of the software, and losses due to the fluctuation of the price of\n              the tokens; any such risks might lead to losses that can be total\n              and final. The informational material available on this website\n              and/or on the dApp/user interface is not solicitation, advice or\n              recommendation to buy, trade or sell any digital assets.\n            </p>\n          </div>\n          <div class=\"card-footer\">\n            <button class=\"btn btn-solid-primary w-100\" @click=\"accept\">\n              Accept\n            </button>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</template>\n\n<script>\nexport default {\n  name: \"Disclaimer\",\n  data() {\n    return {\n      show: localStorage.getItem(\"fluxbeam:disclaimer:accept\") === null,\n    };\n  },\n  methods: {\n    accept: function () {\n      localStorage.setItem(\"fluxbeam:disclaimer:accept\", \"1\");\n      this.show = !this.show;\n    },\n  },\n};\n</script>\n\n<style scoped>\n.disclaimer {\n  position: fixed;\n  width: 100%;\n  height: 100%;\n  z-index: 99;\n  background: rgba(0, 0, 0, 0.6);\n  top: 0;\n  left: 0;\n}\n\n.container-fluid {\n  margin-top: 15vh;\n}\n\n.card-body {\n  max-height: 60vh;\n  overflow-y: scroll;\n}\n</style>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Disclaimer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Disclaimer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Disclaimer.vue?vue&type=template&id=7d0cb9c5&scoped=true&\"\nimport script from \"./Disclaimer.vue?vue&type=script&lang=js&\"\nexport * from \"./Disclaimer.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Disclaimer.vue?vue&type=style&index=0&id=7d0cb9c5&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"7d0cb9c5\",\n  null\n  \n)\n\nexport default component.exports","<template>\n\t<div id=\"default\">\n\t\t<div class=\"authenticated\">\n\t\t\t<transition name=\"fade\" mode=\"out-in\">\n\t\t\t\t<router-view :key=\"address\" class=\"container view\"></router-view>\n\t\t\t</transition>\n\n\t\t\t<Disclaimer></Disclaimer>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport Disclaimer from \"@/components/common/Disclaimer.vue\";\nimport FluxBotWalletAdapter from \"@/api/fluxbot/wallet_adapter\";\nimport {mapStores} from \"pinia\";\nimport {useWalletStore} from \"@/pinia\";\n\nexport default {\n\tname: \"AuthenticatedLayout\",\n\tcomponents: { Disclaimer },\n\tdata() {\n\t\treturn {};\n\t},\n\tcomputed: {\n\t\t...mapStores(useWalletStore),\n\t\taddress: function () {\n\t\t\treturn this.walletStore?.address?.toString() || \"\";\n\t\t},\n\t\tconnected: function () {\n\t\t\treturn this.walletStore?.wallet?.connected;\n\t\t},\n\t},\n\tmethods: {\n\t\tgetFluxBotAuth() {\n\t\t\tconst fluxAuth = localStorage.getItem(\"fluxbot:auth\");\n\t\t\tif (fluxAuth) {\n\t\t\t\tconst adapter = new FluxBotWalletAdapter()\n\t\t\t\tadapter.connect()\n\t\t\t\tif (adapter.connected) {\n\t\t\t\t\tthis.walletStore.setWallet(adapter)\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t},\n\tbeforeMount() {\n\t\tthis.getFluxBotAuth()\n\n\t\tif (!this.walletStore?.wallet?.connected) {\n\t\t\tthis.$router.push(`/auth/login?redirect=${this.$route.path}`)\n\t\t}\n\t},\n};\n</script>\n\n<style scoped></style>\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AuthenticatedLayout.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AuthenticatedLayout.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AuthenticatedLayout.vue?vue&type=template&id=77d2e0be&scoped=true&\"\nimport script from \"./AuthenticatedLayout.vue?vue&type=script&lang=js&\"\nexport * from \"./AuthenticatedLayout.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"77d2e0be\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"default\"}},[_c('router-view',{staticClass:\"container view\"}),_c('footer',{staticClass:\"text-center mt-5 small\"},[_c('router-link',{staticClass:\"mx-2 grey\",attrs:{\"to\":\"/terms-conditions\"}},[_vm._v(\"Terms & Conditions\")]),_c('router-link',{staticClass:\"mx-2 grey\",attrs:{\"to\":\"/privacy-policy\"}},[_vm._v(\"Privacy Policy\")])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div id=\"default\">\n\t\t<router-view class=\"container view\"></router-view>\n\n\n\t\t<footer class=\"text-center mt-5 small\">\n\t\t\t<router-link class=\"mx-2 grey\" to=\"/terms-conditions\">Terms & Conditions</router-link>\n\t\t\t<router-link class=\"mx-2 grey\" to=\"/privacy-policy\">Privacy Policy</router-link>\n\t\t</footer>\n\t</div>\n</template>\n\n<script>\nexport default {\n\tname: \"DefaultLayout\",\n}\n</script>\n\n<style scoped>\n.view {\n\tmin-height: 75vh;\n}\n</style>","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BotLayout.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BotLayout.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BotLayout.vue?vue&type=template&id=45647f1a&scoped=true&\"\nimport script from \"./BotLayout.vue?vue&type=script&lang=js&\"\nexport * from \"./BotLayout.vue?vue&type=script&lang=js&\"\nimport style0 from \"./BotLayout.vue?vue&type=style&index=0&id=45647f1a&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"45647f1a\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"default\"}},[_c('router-view',{staticClass:\"container view\"})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div id=\"default\">\n\t\t<router-view class=\"container view\"></router-view>\n\t</div>\n</template>\n\n<script>\nimport FluxBotWalletAdapter from \"@/api/fluxbot/wallet_adapter\";\nimport {mapStores} from \"pinia\";\nimport {useWalletStore} from \"@/pinia\";\n\nexport default {\n\tname: \"DefaultLayout\",\n\tcomputed: {\n\t\t...mapStores(useWalletStore),\n\t},\n\tmethods: {\n\t\tgetFluxBotAuth() {\n\t\t\tconst fluxAuth = localStorage.getItem(\"fluxbot:auth\");\n\t\t\tif (fluxAuth) {\n\t\t\t\tconst adapter = new FluxBotWalletAdapter()\n\t\t\t\tadapter.connect()\n\t\t\t\tif (adapter.connected) {\n\t\t\t\t\tthis.walletStore.setWallet(adapter)\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t},\n\tbeforeMount() {\n\t\tthis.getFluxBotAuth() //Only attempt, no issues if we dont detect\n\t},\n}\n</script>\n\n<style scoped>\n.view {\n\tmin-height: 75vh;\n}\n</style>","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DefaultLayout.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DefaultLayout.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DefaultLayout.vue?vue&type=template&id=efa2a9ea&scoped=true&\"\nimport script from \"./DefaultLayout.vue?vue&type=script&lang=js&\"\nexport * from \"./DefaultLayout.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DefaultLayout.vue?vue&type=style&index=0&id=efa2a9ea&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"efa2a9ea\",\n  null\n  \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","attrs","staticClass","key","address","staticRenderFns","directives","name","rawName","value","show","expression","_m","on","accept","_v","data","localStorage","getItem","methods","setItem","component","components","Disclaimer","computed","mapStores","useWalletStore","walletStore","toString","connected","wallet","getFluxBotAuth","fluxAuth","adapter","FluxBotWalletAdapter","connect","setWallet","beforeMount","$router","push","$route","path"],"sourceRoot":""}